"L3850">385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129511305113151132511335113451135511365113751138511395114051141511425114351144511455114651147511485114951150511515115251153511545115551156511575115851159511605116151162511635116451165511665116751168511695117051171511725117351174511755117651177511785117951180511815118251183511845118551186511875118851189511905119151192511935119451195511965119751198511995120051201512025120351204512055120651207512085120951210512115121251213512145121551216512175121851219512205122151222512235122451225512265122751228512295123051231512325123351234512355123651237512385123951240512415124251243512445124551246512475124851249512505125151252512535125451255512565125751258512595126051261512625126351264512655126651267512685126951270512715127251273512745127551276512775127851279512805128151282512835128451285512865128751288512895129051291512925129351294512955129651297512985129951300513015130251303513045130551306513075130851309513105131151312513135131451315513165131751318513195132051321513225132351324513255132651327513285132951330513315133251333513345133551336513375133851339513405134151342513435134451345513465134751348513495135051351513525135351354513555135651357513585135951360513615136251363513645136551366513675136851369513705137151372513735137451375513765137751378513795138051381513825138351384513855138651387513885138951390513915139251393513945139551396513975139851399514005140151402514035140451405514065140751408514095141051411514125141351414514155141651417514185141951420514215142251423514245142551426514275142851429514305143151432514335143451435514365143751438514395144051441514425144351444514455144651447514485144951450514515145251453514545145551456514575145851459514605146151462514635146451465514665146751468514695147051471514725147351474514755147651477514785147951480514815148251483514845148551486514875148851489514905149151492514935149451495514965149751498514995150051501515025150351504515055150651507515085150951510515115151251513515145151551516515175151851519515205152151522515235152451525515265152751528515295153051531515325153351534515355153651537515385153951540515415154251543515445154551546515475154851549515505155151552515535155451555515565155751558515595156051561515625156351564515655156651567515685156951570515715157251573515745157551576515775157851579515805158151582515835158451585515865158751588515895159051591515925159351594515955159651597515985159951600516015160251603516045160551606516075160851609516105161151612516135161451615516165161751618516195162051621516225162351624516255162651627516285162951630516315163251633516345163551636516375163851639516405164151642516435164451645516465164751648516495165051651516525165351654516555165651657516585165951660516615166251663516645166551666516675166851669516705167151672516735167451675516765167751678516795168051681516825168351684516855168651687516885168951690516915169251693516945169551696516975169851699517005170151702517035170451705517065170751708517095171051711517125171351714517155171651717517185171951720517215172251723517245172551726517275172851729517305173151732517335173451735517365173751738517395174051741517425174351744517455174651747517485174951750517515175251753517545175551756517575175851759517605176151762517635176451765517665176751768517695177051771517725177351774517755177651777517785177951780517815178251783517845178551786517875178851789517905179151792517935179451795517965179751798517995180051801518025180351804518055180651807518085180951810518115181251813518145181551816518175181851819518205182151822518235182451825518265182751828518295183051831518325183351834518355183651837518385183951840518415184251843518445184551846518475184851849518505185151852518535185451855518565185751858518595186051861518625186351864518655186651867518685186951870518715187251873518745187551876518775187851879518805188151882518835188451885518865188751888518895189051891518925189351894518955189651897518985189951900519015190251903519045190551906519075190851909519105191151912519135191451915519165191751918519195192051921519225192351924519255192651927519285192951930519315193251933519345193551936519375193851939519405194151942519435194451945519465194751948519495195051951519525195351954519555195651957519585195951960519615196251963519645196551966519675196851969519705197151972519735197451975519765197751978519795198051981519825198351984519855198651987519885198951990519915199251993519945199551996519975199851999520005200152002520035200452005520065200752008520095201052011520125201352014520155201652017520185201952020520215202252023520245202552026520275202852029520305203152032520335203452035520365203752038520395204052041520425204352044520455204652047520485204952050520515205252053520545205552056520575205852059520605206152062520635206452065520665206752068520695207052071520725207352074520755207652077520785207952080520815208252083520845208552086520875208852089520905209152092520935209452095520965209752098520995210052101521025210352104521055210652107521085210952110521115211252113521145211552116521175211852119521205212152122521235212452125521265212752128521295213052131521325213352134521355213652137521385213952140521415214252143521445214552146521475214852149521505215152152521535215452155521565215752158521595216052161521625216352164521655216652167521685216952170521715217252173521745217552176521775217852179521805218152182521835218452185521865218752188521895219052191521925219352194521955219652197521985219952200522015220252203522045220552206522075220852209522105221152212522135221452215522165221752218522195222052221522225222352224522255222652227522285222952230522315223252233522345223552236522375223852239522405224152242522435224452245522465224752248522495225052251522525225352254522555225652257522585225952260522615226252263522645226552266522675226852269522705227152272522735227452275522765227752278522795228052281522825228352284522855228652287522885228952290522915229252293522945229552296522975229852299523005230152302523035230452305523065230752308523095231052311523125231352314523155231652317523185231952320523215232252323523245232552326523275232852329523305233152332523335233452335523365233752338523395234052341523425234352344523455234652347523485234952350523515235252353523545235552356523575235852359523605236152362523635236452365523665236752368523695237052371523725237352374523755237652377523785237952380523815238252383523845238552386523875238852389523905239152392523935239452395523965239752398523995240052401524025240352404524055240652407524085240952410524115241252413524145241552416524175241852419524205242152422524235242452425524265242752428524295243052431524325243352434524355243652437524385243952440524415244252443524445244552446524475244852449524505245152452524535245452455524565245752458524595246052461524625246352464524655246652467524685246952470524715247252473524745247552476524775247852479524805248152482524835248452485524865248752488524895249052491524925249352494524955249652497524985249952500525015250252503525045250552506525075250852509525105251152512525135251452515525165251752518525195252052521525225252352524525255252652527525285252952530525315253252533525345253552536525375253852539525405254152542525435254452545525465254752548525495255052551525525255352554525555255652557525585255952560525615256252563525645256552566525675256852569525705257152572525735257452575525765257752578525795258052581525825258352584525855258652587525885258952590525915259252593525945259552596525975259852599526005260152602526035260452605526065260752608526095261052611526125261352614526155261652617526185261952620526215262252623526245262552626526275262852629526305263152632526335263452635526365263752638526395264052641526425264352644526455264652647526485264952650526515265252653526545265552656526575265852659526605266152662526635266452665526665266752668526695267052671526725267352674526755267652677526785267952680526815268252683526845268552686526875268852689526905269152692526935269452695526965269752698526995270052701527025270352704527055270652707527085270952710527115271252713527145271552716527175271852719527205272152722527235272452725527265272752728527295273052731527325273352734527355273652737527385273952740527415274252743527445274552746527475274852749527505275152752527535275452755527565275752758527595276052761527625276352764527655276652767527685276952770527715277252773527745277552776527775277852779527805278152782527835278452785527865278752788527895279052791527925279352794527955279652797527985279952800528015280252803528045280552806528075280852809528105281152812528135281452815528165281752818528195282052821528225282352824528255282652827528285282952830528315283252833528345283552836528375283852839528405284152842528435284452845528465284752848528495285052851528525285352854528555285652857528585285952860528615286252863528645286552866528675286852869528705287152872528735287452875528765287752878528795288052881528825288352884528855288652887528885288952890528915289252893528945289552896528975289852899529005290152902529035290452905529065290752908529095291052911529125291352914529155291652917529185291952920529215292252923529245292552926529275292852929529305293152932529335293452935529365293752938529395294052941529425294352944529455294652947529485294952950529515295252953529545295552956529575295852959529605296152962529635296452965529665296752968529695297052971529725297352974529755297652977529785297952980529815298252983529845298552986529875298852989529905299152992529935299452995529965299752998529995300053001530025300353004530055300653007530085300953010530115301253013530145301553016530175301853019530205302153022530235302453025530265302753028530295303053031530325303353034530355303653037530385303953040530415304253043530445304553046530475304853049530505305153052530535305453055530565305753058530595306053061530625306353064530655306653067530685306953070530715307253073530745307553076530775307853079530805308153082530835308453085530865308753088530895309053091530925309353094530955309653097530985309953100531015310253103531045310553106531075310853109531105311153112531135311453115531165311753118531195312053121531225312353124531255312653127531285312953130531315313253133531345313553136531375313853139531405314153142531435314453145531465314753148531495315053151531525315353154531555315653157531585315953160531615316253163531645316553166531675316853169531705317153172531735317453175531765317753178531795318053181531825318353184531855318653187531885318953190531915319253193531945319553196531975319853199532005320153202532035320453205532065320753208532095321053211532125321353214532155321653217532185321953220532215322253223532245322553226532275322853229532305323153232532335323453235532365323753238532395324053241532425324353244532455324653247532485324953250532515325253253532545325553256532575325853259532605326153262532635326453265532665326753268532695327053271532725327353274532755327653277532785327953280532815328253283532845328553286532875328853289532905329153292532935329453295532965329753298532995330053301533025330353304533055330653307533085330953310533115331253313533145331553316533175331853319533205332153322533235332453325533265332753328533295333053331533325333353334533355333653337533385333953340533415334253343533445334553346533475334853349533505335153352533535335453355533565335753358533595336053361533625336353364533655336653367533685336953370533715337253373533745337553376533775337853379533805338153382533835338453385533865338753388533895339053391533925339353394533955339653397533985339953400534015340253403534045340553406534075340853409534105341153412534135341453415534165341753418534195342053421534225342353424534255342653427534285342953430534315343253433534345343553436534375343853439534405344153442534435344453445534465344753448534495345053451534525345353454534555345653457534585345953460534615346253463534645346553466534675346853469534705347153472534735347453475534765347753478534795348053481534825348353484534855348653487534885348953490534915349253493534945349553496534975349853499535005350153502535035350453505535065350753508535095351053511535125351353514535155351653517535185351953520535215352253523535245352553526535275352853529535305353153532535335353453535535365353753538535395354053541535425354353544535455354653547535485354953550535515355253553535545355553556535575355853559535605356153562535635356453565535665356753568535695357053571535725357353574535755357653577535785357953580535815358253583535845358553586535875358853589535905359153592535935359453595535965359753598535995360053601536025360353604536055360653607536085360953610536115361253613536145361553616536175361853619536205362153622536235362453625536265362753628536295363053631536325363353634536355363653637536385363953640536415364253643536445364553646536475364853649536505365153652536535365453655536565365753658536595366053661536625366353664536655366653667536685366953670536715367253673536745367553676536775367853679536805368153682536835368453685536865368753688536895369053691536925369353694536955369653697536985369953700537015370253703537045370553706537075370853709537105371153712537135371453715537165371753718537195372053721537225372353724537255372653727537285372953730537315373253733537345373553736537375373853739537405374153742537435374453745537465374753748537495375053751537525375353754537555375653757537585375953760537615376253763537645376553766537675376853769537705377153772537735377453775537765377753778537795378053781537825378353784537855378653787537885378953790537915379253793537945379553796537975379853799538005380153802538035380453805538065380753808538095381053811538125381353814538155381653817538185381953820538215382253823538245382553826538275382853829538305383153832538335383453835538365383753838538395384053841538425384353844538455384653847538485384953850538515385253853538545385553856538575385853859538605386153862538635386453865538665386753868538695387053871538725387353874538755387653877538785387953880538815388253883538845388553886538875388853889538905389153892538935389453895538965389753898538995390053901539025390353904539055390653907539085390953910539115391253913539145391553916539175391853919539205392153922539235392453925539265392753928539295393053931539325393353934539355393653937539385393953940539415394253943539445394553946539475394853949539505395153952539535395453955539565395753958539595396053961539625396353964539655396653967539685396953970539715397253973539745397553976539775397853979539805398153982539835398453985539865398753988539895399053991539925399353994539955399653997539985399954000540015400254003540045400554006540075400854009540105401154012540135401454015540165401754018540195402054021540225402354024540255402654027540285402954030540315403254033540345403554036540375403854039540405404154042540435404454045540465404754048540495405054051540525405354054540555405654057540585405954060540615406254063540645406554066540675406854069540705407154072540735407454075540765407754078540795408054081540825408354084540855408654087540885408954090540915409254093540945409554096540975409854099541005410154102541035410454105541065410754108541095411054111541125411354114541155411654117541185411954120541215412254123541245412554126541275412854129541305413154132541335413454135541365413754138541395414054141541425414354144541455414654147541485414954150541515415254153541545415554156541575415854159541605416154162541635416454165541665416754168541695417054171541725417354174541755417654177541785417954180541815418254183541845418554186541875418854189541905419154192541935419454195541965419754198541995420054201542025420354204542055420654207542085420954210542115421254213542145421554216542175421854219542205422154222542235422454225542265422754228542295423054231542325423354234542355423654237542385423954240542415424254243542445424554246542475424854249542505425154252542535425454255542565425754258542595426054261542625426354264542655426654267542685426954270542715427254273542745427554276542775427854279542805428154282542835428454285542865428754288542895429054291542925429354294542955429654297542985429954300543015430254303543045430554306543075430854309543105431154312543135431454315543165431754318543195432054321543225432354324543255432654327543285432954330543315433254333543345433554336543375433854339543405434154342543435434454345543465434754348543495435054351543525435354354543555435654357543585435954360543615436254363543645436554366543675436854369543705437154372543735437454375543765437754378543795438054381543825438354384543855438654387543885438954390543915439254393543945439554396543975439854399544005440154402544035440454405544065440754408544095441054411544125441354414544155441654417544185441954420544215442254423544245442554426544275442854429544305443154432544335443454435544365443754438544395444054441544425444354444544455444654447544485444954450544515445254453544545445554456544575445854459544605446154462544635446454465544665446754468544695447054471544725447354474544755447654477544785447954480544815448254483544845448554486544875448854489544905449154492544935449454495544965449754498544995450054501545025450354504545055450654507545085450954510545115451254513545145451554516545175451854519545205452154522545235452454525545265452754528545295453054531545325453354534545355453654537545385453954540545415454254543545445454554546545475454854549545505455154552545535455454555545565455754558545595456054561545625456354564545655456654567545685456954570545715457254573545745457554576545775457854579545805458154582545835458454585545865458754588545895459054591545925459354594545955459654597545985459954600546015460254603546045460554606546075460854609546105461154612546135461454615546165461754618546195462054621546225462354624546255462654627546285462954630546315463254633546345463554636546375463854639546405464154642546435464454645546465464754648546495465054651546525465354654546555465654657546585465954660546615466254663546645466554666546675466854669546705467154672546735467454675546765467754678546795468054681546825468354684546855468654687546885468954690546915469254693546945469554696546975469854699547005470154702547035470454705547065470754708547095471054711547125471354714547155471654717547185471954720547215472254723547245472554726547275472854729547305473154732547335473454735547365473754738547395474054741547425474354744547455474654747547485474954750547515475254753547545475554756547575475854759547605476154762547635476454765547665476754768547695477054771547725477354774547755477654777547785477954780547815478254783547845478554786547875478854789547905479154792547935479454795547965479754798547995480054801548025480354804548055480654807548085480954810548115481254813548145481554816548175481854819548205482154822548235482454825548265482754828548295483054831548325483354834548355483654837548385483954840548415484254843548445484554846548475484854849548505485154852548535485454855548565485754858548595486054861548625486354864548655486654867548685486954870548715487254873548745487554876548775487854879548805488154882548835488454885548865488754888548895489054891548925489354894548955489654897548985489954900549015490254903549045490554906549075490854909549105491154912549135491454915549165491754918549195492054921549225492354924549255492654927549285492954930549315493254933549345493554936549375493854939549405494154942549435494454945549465494754948549495495054951549525495354954549555495654957549585495954960549615496254963549645496554966549675496854969549705497154972549735497454975549765497754978549795498054981549825498354984549855498654987549885498954990549915499254993549945499554996549975499854999550005500155002550035500455005550065500755008550095501055011550125501355014550155501655017550185501955020550215502255023550245502555026550275502855029550305503155032550335503455035550365503755038550395504055041550425504355044550455504655047550485504955050550515505255053550545505555056550575505855059550605506155062550635506455065550665506755068550695507055071550725507355074550755507655077550785507955080550815508255083550845508555086550875508855089550905509155092550935509455095550965509755098550995510055101551025510355104551055510655107551085510955110551115511255113551145511555116551175511855119551205512155122551235512455125551265512755128551295513055131551325513355134551355513655137551385513955140551415514255143551445514555146551475514855149551505515155152551535515455155551565515755158551595516055161551625516355164551655516655167551685516955170551715517255173551745517555176551775517855179551805518155182551835518455185551865518755188551895519055191551925519355194551955519655197551985519955200552015520255203552045520555206552075520855209552105521155212552135521455215552165521755218552195522055221552225522355224552255522655227552285522955230552315523255233552345523555236552375523855239552405524155242552435524455245552465524755248552495525055251552525525355254552555525655257552585525955260552615526255263552645526555266552675526855269552705527155272552735527455275552765527755278552795528055281552825528355284552855528655287552885528955290552915529255293552945529555296552975529855299553005530155302553035530455305553065530755308553095531055311553125531355314553155531655317553185531955320553215532255323553245532555326553275532855329553305533155332553335533455335553365533755338553395534055341553425534355344553455534655347553485534955350553515535255353553545535555356553575535855359553605536155362553635536455365553665536755368553695537055371553725537355374553755537655377553785537955380553815538255383553845538555386553875538855389553905539155392553935539455395553965539755398553995540055401554025540355404554055540655407554085540955410554115541255413554145541555416554175541855419554205542155422554235542455425554265542755428554295543055431554325543355434554355543655437554385543955440554415544255443554445544555446554475544855449554505545155452554535545455455554565545755458554595546055461554625546355464554655546655467554685546955470554715547255473554745547555476554775547855479554805548155482554835548455485554865548755488554895549055491554925549355494554955549655497554985549955500555015550255503555045550555506555075550855509555105551155512555135551455515555165551755518555195552055521555225552355524555255552655527555285552955530555315553255533555345553555536555375553855539555405554155542555435554455545555465554755548555495555055551555525555355554555555555655557555585555955560555615556255563555645556555566555675556855569555705557155572555735557455575555765557755578555795558055581555825558355584555855558655587555885558955590555915559255593555945559555596555975559855599556005560155602556035560455605556065560755608556095561055611556125561355614556155561655617556185561955620556215562255623556245562555626556275562855629556305563155632556335563455635556365563755638556395564055641556425564355644556455564655647556485564955650556515565255653556545565555656556575565855659556605566155662556635566455665556665566755668556695567055671556725567355674556755567655677556785567955680556815568255683556845568555686556875568855689556905569155692556935569455695556965569755698556995570055701557025570355704557055570655707557085570955710557115571255713557145571555716557175571855719557205572155722557235572455725557265572755728557295573055731557325573355734557355573655737557385573955740557415574255743557445574555746557475574855749557505575155752557535575455755557565575755758557595576055761557625576355764557655576655767557685576955770557715577255773557745577555776557775577855779557805578155782557835578455785557865578755788557895579055791557925579355794557955579655797557985579955800558015580255803558045580555806558075580855809558105581155812558135581455815558165581755818558195582055821558225582355824558255582655827558285582955830558315583255833558345583555836558375583855839558405584155842558435584455845558465584755848558495585055851558525585355854558555585655857558585585955860558615586255863558645586555866558675586855869558705587155872558735587455875558765587755878558795588055881558825588355884558855588655887558885588955890558915589255893558945589555896558975589855899559005590155902559035590455905559065590755908559095591055911559125591355914559155591655917559185591955920559215592255923559245592555926559275592855929559305593155932559335593455935559365593755938559395594055941559425594355944559455594655947559485594955950559515595255953559545595555956559575595855959559605596155962559635596455965559665596755968559695597055971559725597355974559755597655977559785597955980559815598255983559845598555986559875598855989559905599155992559935599455995559965599755998559995600056001560025600356004560055600656007560085600956010560115601256013560145601556016560175601856019560205602156022560235602456025560265602756028560295603056031560325603356034560355603656037560385603956040560415604256043560445604556046560475604856049560505605156052560535605456055560565605756058560595606056061560625606356064560655606656067560685606956070560715607256073560745607556076560775607856079560805608156082560835608456085560865608756088560895609056091560925609356094560955609656097560985609956100561015610256103561045610556106561075610856109561105611156112561135611456115561165611756118561195612056121561225612356124561255612656127561285612956130561315613256133561345613556136561375613856139561405614156142561435614456145561465614756148561495615056151561525615356154561555615656157561585615956160561615616256163561645616556166561675616856169561705617156172561735617456175561765617756178561795618056181561825618356184561855618656187561885618956190561915619256193561945619556196561975619856199562005620156202562035620456205562065620756208562095621056211562125621356214562155621656217562185621956220562215622256223562245622556226562275622856229562305623156232562335623456235562365623756238562395624056241562425624356244562455624656247562485624956250562515625256253562545625556256562575625856259562605626156262562635626456265562665626756268562695627056271562725627356274562755627656277562785627956280562815628256283562845628556286562875628856289562905629156292562935629456295562965629756298562995630056301563025630356304563055630656307563085630956310563115631256313563145631556316563175631856319563205632156322563235632456325563265632756328563295633056331563325633356334563355633656337563385633956340563415634256343563445634556346563475634856349563505635156352563535635456355563565635756358563595636056361563625636356364563655636656367563685636956370563715637256373563745637556376563775637856379563805638156382563835638456385563865638756388563895639056391563925639356394563955639656397563985639956400564015640256403564045640556406564075640856409564105641156412564135641456415564165641756418564195642056421564225642356424564255642656427564285642956430564315643256433564345643556436564375643856439564405644156442564435644456445564465644756448564495645056451564525645356454564555645656457564585645956460564615646256463564645646556466564675646856469564705647156472564735647456475564765647756478564795648056481564825648356484564855648656487564885648956490564915649256493564945649556496564975649856499565005650156502565035650456505565065650756508565095651056511565125651356514565155651656517565185651956520565215652256523565245652556526565275652856529565305653156532565335653456535565365653756538565395654056541565425654356544565455654656547565485654956550565515655256553565545655556556565575655856559565605656156562565635656456565565665656756568565695657056571565725657356574565755657656577565785657956580565815658256583565845658556586565875658856589565905659156592565935659456595565965659756598565995660056601566025660356604566055660656607566085660956610566115661256613566145661556616566175661856619566205662156622566235662456625566265662756628566295663056631566325663356634566355663656637566385663956640566415664256643566445664556646566475664856649566505665156652566535665456655566565665756658566595666056661566625666356664566655666656667566685666956670566715667256673566745667556676566775667856679566805668156682566835668456685566865668756688566895669056691566925669356694566955669656697566985669956700567015670256703567045670556706567075670856709567105671156712567135671456715567165671756718567195672056721567225672356724567255672656727567285672956730567315673256733567345673556736567375673856739567405674156742567435674456745567465674756748567495675056751567525675356754567555675656757567585675956760567615676256763567645676556766567675676856769567705677156772567735677456775567765677756778567795678056781567825678356784567855678656787567885678956790567915679256793567945679556796567975679856799568005680156802568035680456805568065680756808568095681056811568125681356814568155681656817568185681956820568215682256823568245682556826568275682856829568305683156832568335683456835568365683756838568395684056841568425684356844568455684656847568485684956850568515685256853568545685556856568575685856859568605686156862568635686456865568665686756868568695687056871568725687356874568755687656877568785687956880568815688256883568845688556886568875688856889568905689156892568935689456895568965689756898568995690056901569025690356904569055690656907569085690956910569115691256913569145691556916569175691856919569205692156922569235692456925569265692756928569295693056931569325693356934569355693656937569385693956940569415694256943569445694556946569475694856949569505695156952569535695456955569565695756958569595696056961569625696356964569655696656967569685696956970569715697256973569745697556976569775697856979569805698156982569835698456985569865698756988569895699056991569925699356994569955699656997569985699957000570015700257003570045700557006570075700857009570105701157012570135701457015570165701757018570195702057021570225702357024570255702657027570285702957030570315703257033570345703557036570375703857039570405704157042570435704457045570465704757048570495705057051570525705357054570555705657057570585705957060570615706257063570645706557066570675706857069570705707157072570735707457075570765707757078570795708057081570825708357084570855708657087570885708957090570915709257093570945709557096570975709857099571005710157102571035710457105571065710757108571095711057111571125711357114571155711657117571185711957120571215712257123571245712557126571275712857129571305713157132571335713457135571365713757138571395714057141571425714357144571455714657147571485714957150571515715257153571545715557156571575715857159571605716157162571635716457165571665716757168571695717057171571725717357174571755717657177571785717957180571815718257183571845718557186571875718857189571905719157192571935719457195571965719757198571995720057201572025720357204572055720657207572085720957210572115721257213572145721557216572175721857219572205722157222572235722457225572265722757228572295723057231572325723357234572355723657237572385723957240572415724257243572445724557246572475724857249572505725157252572535725457255572565725757258572595726057261572625726357264572655726657267572685726957270572715727257273572745727557276572775727857279572805728157282572835728457285572865728757288572895729057291572925729357294572955729657297572985729957300573015730257303573045730557306573075730857309573105731157312573135731457315573165731757318573195732057321573225732357324573255732657327573285732957330573315733257333573345733557336573375733857339573405734157342573435734457345573465734757348573495735057351573525735357354573555735657357573585735957360573615736257363573645736557366573675736857369573705737157372573735737457375573765737757378573795738057381573825738357384573855738657387573885738957390573915739257393573945739557396573975739857399574005740157402574035740457405574065740757408574095741057411574125741357414574155741657417574185741957420574215742257423574245742557426574275742857429574305743157432574335743457435574365743757438574395744057441574425744357444574455744657447574485744957450574515745257453574545745557456574575745857459574605746157462574635746457465574665746757468574695747057471574725747357474574755747657477574785747957480574815748257483574845748557486574875748857489574905749157492574935749457495574965749757498574995750057501575025750357504575055750657507575085750957510575115751257513575145751557516575175751857519575205752157522575235752457525575265752757528575295753057531575325753357534575355753657537575385753957540575415754257543575445754557546575475754857549575505755157552575535755457555575565755757558575595756057561575625756357564575655756657567575685756957570575715757257573575745757557576575775757857579575805758157582575835758457585575865758757588575895759057591575925759357594575955759657597575985759957600576015760257603576045760557606576075760857609576105761157612576135761457615576165761757618576195762057621576225762357624576255762657627576285762957630576315763257633576345763557636576375763857639576405764157642576435764457645576465764757648576495765057651576525765357654576555765657657576585765957660576615766257663576645766557666576675766857669576705767157672576735767457675576765767757678576795768057681576825768357684576855768657687576885768957690576915769257693576945769557696576975769857699577005770157702577035770457705577065770757708577095771057711577125771357714577155771657717577185771957720577215772257723577245772557726577275772857729577305773157732577335773457735577365773757738577395774057741577425774357744577455774657747577485774957750577515775257753577545775557756577575775857759577605776157762577635776457765577665776757768577695777057771577725777357774577755777657777577785777957780577815778257783577845778557786577875778857789577905779157792577935779457795577965779757798577995780057801578025780357804578055780657807578085780957810578115781257813578145781557816578175781857819578205782157822578235782457825578265782757828578295783057831578325783357834578355783657837578385783957840578415784257843578445784557846578475784857849578505785157852578535785457855578565785757858578595786057861578625786357864578655786657867578685786957870578715787257873578745787557876578775787857879578805788157882578835788457885578865788757888578895789057891578925789357894578955789657897578985789957900579015790257903579045790557906579075790857909579105791157912579135791457915579165791757918579195792057921579225792357924579255792657927579285792957930579315793257933579345793557936579375793857939579405794157942579435794457945579465794757948579495795057951579525795357954579555795657957579585795957960579615796257963579645796557966579675796857969579705797157972579735797457975579765797757978579795798057981579825798357984579855798657987579885798957990579915799257993579945799557996579975799857999580005800158002580035800458005580065800758008580095801058011580125801358014580155801658017580185801958020580215802258023580245802558026580275802858029580305803158032580335803458035580365803758038580395804058041580425804358044580455804658047580485804958050580515805258053580545805558056580575805858059580605806158062580635806458065580665806758068580695807058071580725807358074580755807658077580785807958080580815808258083580845808558086580875808858089580905809158092580935809458095580965809758098580995810058101581025810358104581055810658107581085810958110581115811258113581145811558116581175811858119581205812158122581235812458125581265812758128581295813058131581325813358134581355813658137581385813958140581415814258143581445814558146581475814858149581505815158152581535815458155581565815758158581595816058161581625816358164581655816658167581685816958170581715817258173581745817558176581775817858179581805818158182581835818458185581865818758188581895819058191581925819358194581955819658197581985819958200582015820258203582045820558206582075820858209582105821158212582135821458215582165821758218582195822058221582225822358224582255822658227582285822958230582315823258233582345823558236582375823858239582405824158242582435824458245582465824758248582495825058251582525825358254582555825658257582585825958260582615826258263582645826558266582675826858269582705827158272582735827458275582765827758278582795828058281582825828358284582855828658287582885828958290582915829258293582945829558296582975829858299583005830158302583035830458305583065830758308583095831058311583125831358314583155831658317583185831958320583215832258323583245832558326583275832858329583305833158332583335833458335583365833758338583395834058341583425834358344583455834658347583485834958350583515835258353583545835558356583575835858359583605836158362583635836458365583665836758368583695837058371583725837358374583755837658377583785837958380583815838258383583845838558386583875838858389583905839158392583935839458395583965839758398583995840058401584025840358404584055840658407584085840958410584115841258413584145841558416584175841858419584205842158422584235842458425584265842758428584295843058431584325843358434584355843658437584385843958440584415844258443584445844558446584475844858449584505845158452584535845458455584565845758458584595846058461584625846358464584655846658467584685846958470584715847258473584745847558476584775847858479584805848158482584835848458485584865848758488584895849058491584925849358494584955849658497584985849958500585015850258503585045850558506585075850858509585105851158512585135851458515585165851758518585195852058521585225852358524585255852658527585285852958530585315853258533585345853558536585375853858539585405854158542585435854458545585465854758548585495855058551585525855358554585555855658557585585855958560585615856258563585645856558566585675856858569585705857158572585735857458575585765857758578585795858058581585825858358584585855858658587585885858958590585915859258593585945859558596585975859858599586005860158602586035860458605586065860758608586095861058611586125861358614586155861658617586185861958620586215862258623586245862558626586275862858629586305863158632586335863458635586365863758638586395864058641586425864358644586455864658647586485864958650586515865258653586545865558656586575865858659586605866158662586635866458665586665866758668586695867058671586725867358674586755867658677586785867958680586815868258683586845868558686586875868858689586905869158692586935869458695586965869758698586995870058701587025870358704587055870658707587085870958710587115871258713587145871558716587175871858719587205872158722587235872458725587265872758728587295873058731587325873358734587355873658737587385873958740587415874258743587445874558746587475874858749587505875158752587535875458755587565875758758587595876058761587625876358764587655876658767587685876958770587715877258773587745877558776587775877858779587805878158782587835878458785587865878758788587895879058791587925879358794587955879658797587985879958800588015880258803588045880558806588075880858809588105881158812588135881458815588165881758818588195882058821588225882358824588255882658827588285882958830588315883258833588345883558836588375883858839588405884158842588435884458845588465884758848588495885058851588525885358854588555885658857588585885958860588615886258863588645886558866588675886858869588705887158872588735887458875588765887758878588795888058881588825888358884588855888658887588885888958890588915889258893588945889558896588975889858899589005890158902589035890458905589065890758908589095891058911589125891358914589155891658917589185891958920589215892258923589245892558926589275892858929589305893158932589335893458935589365893758938589395894058941589425894358944589455894658947589485894958950589515895258953589545895558956589575895858959589605896158962589635896458965589665896758968589695897058971589725897358974589755897658977589785897958980589815898258983589845898558986589875898858989589905899158992589935899458995589965899758998589995900059001590025900359004590055900659007590085900959010590115901259013590145901559016590175901859019590205902159022590235902459025590265902759028590295903059031590325903359034590355903659037590385903959040590415904259043590445904559046590475904859049590505905159052590535905459055590565905759058590595906059061590625906359064590655906659067590685906959070590715907259073590745907559076590775907859079590805908159082590835908459085590865908759088590895909059091590925909359094590955909659097590985909959100591015910259103591045910559106591075910859109591105911159112591135911459115591165911759118591195912059121591225912359124591255912659127591285912959130591315913259133591345913559136591375913859139591405914159142591435914459145591465914759148591495915059151591525915359154591555915659157591585915959160591615916259163591645916559166591675916859169591705917159172591735917459175591765917759178591795918059181591825918359184591855918659187591885918959190591915919259193591945919559196591975919859199592005920159202592035920459205592065920759208592095921059211592125921359214592155921659217592185921959220592215922259223592245922559226592275922859229592305923159232592335923459235592365923759238592395924059241592425924359244592455924659247592485924959250592515925259253592545925559256592575925859259592605926159262592635926459265592665926759268592695927059271592725927359274592755927659277592785927959280592815928259283592845928559286592875928859289592905929159292592935929459295592965929759298592995930059301593025930359304593055930659307593085930959310593115931259313593145931559316593175931859319593205932159322593235932459325593265932759328593295933059331593325933359334593355933659337593385933959340593415934259343593445934559346593475934859349593505935159352593535935459355593565935759358593595936059361593625936359364593655936659367593685936959370593715937259373593745937559376593775937859379593805938159382593835938459385593865938759388593895939059391593925939359394593955939659397593985939959400594015940259403594045940559406594075940859409594105941159412594135941459415594165941759418594195942059421594225942359424594255942659427594285942959430594315943259433594345943559436594375943859439594405944159442594435944459445594465944759448594495945059451594525945359454594555945659457594585945959460594615946259463594645946559466594675946859469594705947159472594735947459475594765947759478594795948059481594825948359484594855948659487594885948959490594915949259493594945949559496594975949859499595005950159502595035950459505595065950759508595095951059511595125951359514595155951659517595185951959520595215952259523595245952559526595275952859529595305953159532595335953459535595365953759538595395954059541595425954359544595455954659547595485954959550595515955259553595545955559556595575955859559595605956159562595635956459565595665956759568595695957059571595725957359574595755957659577595785957959580595815958259583595845958559586595875958859589595905959159592595935959459595595965959759598595995960059601596025960359604596055960659607596085960959610596115961259613596145961559616596175961859619596205962159622596235962459625596265962759628596295963059631596325963359634596355963659637596385963959640596415964259643596445964559646596475964859649596505965159652596535965459655596565965759658596595966059661596625966359664596655966659667596685966959670596715967259673596745967559676596775967859679596805968159682596835968459685596865968759688596895969059691596925969359694596955969659697596985969959700597015970259703597045970559706597075970859709597105971159712597135971459715597165971759718597195972059721597225972359724597255972659727597285972959730597315973259733597345973559736597375973859739597405974159742597435974459745597465974759748597495975059751597525975359754597555975659757597585975959760597615976259763597645976559766597675976859769597705977159772597735977459775597765977759778597795978059781597825978359784597855978659787597885978959790597915979259793597945979559796597975979859799598005980159802598035980459805598065980759808598095981059811598125981359814598155981659817598185981959820598215982259823598245982559826598275982859829598305983159832598335983459835598365983759838598395984059841598425984359844598455984659847598485984959850598515985259853598545985559856598575985859859598605986159862598635986459865598665986759868598695987059871598725987359874598755987659877598785987959880598815988259883598845988559886598875988859889598905989159892598935989459895598965989759898598995990059901599025990359904599055990659907599085990959910599115991259913599145991559916599175991859919599205992159922599235992459925599265992759928599295993059931599325993359934599355993659937599385993959940599415994259943599445994559946599475994859949599505995159952599535995459955599565995759958599595996059961599625996359964599655996659967599685996959970599715997259973599745997559976599775997859979599805998159982599835998459985599865998759988599895999059991599925999359994599955999659997599985999960000600016000260003600046000560006600076000860009600106001160012600136001460015600166001760018600196002060021600226002360024600256002660027600286002960030600316003260033600346003560036600376003860039600406004160042600436004460045600466004760048600496005060051600526005360054600556005660057600586005960060600616006260063600646006560066600676006860069600706007160072600736007460075600766007760078600796008060081600826008360084600856008660087600886008960090600916009260093600946009560096600976009860099601006010160102601036010460105601066010760108601096011060111601126011360114601156011660117601186011960120601216012260123601246012560126601276012860129601306013160132601336013460135601366013760138601396014060141601426014360144601456014660147601486014960150601516015260153601546015560156601576015860159601606016160162601636016460165601666016760168601696017060171601726017360174601756017660177601786017960180601816018260183601846018560186601876018860189601906019160192601936019460195601966019760198601996020060201602026020360204602056020660207602086020960210602116021260213602146021560216602176021860219602206022160222602236022460225602266022760228602296023060231602326023360234602356023660237602386023960240602416024260243602446024560246602476024860249602506025160252602536025460255602566025760258602596026060261602626026360264602656026660267602686026960270602716027260273602746027560276602776027860279602806028160282602836028460285602866028760288602896029060291602926029360294602956029660297602986029960300603016030260303603046030560306603076030860309603106031160312603136031460315603166031760318603196032060321603226032360324603256032660327603286032960330603316033260333603346033560336603376033860339603406034160342603436034460345603466034760348603496035060351603526035360354603556035660357603586035960360603616036260363603646036560366603676036860369603706037160372603736037460375603766037760378603796038060381603826038360384603856038660387603886038960390603916039260393603946039560396603976039860399604006040160402604036040460405604066040760408604096041060411604126041360414604156041660417604186041960420604216042260423604246042560426604276042860429604306043160432604336043460435604366043760438604396044060441604426044360444604456044660447604486044960450604516045260453604546045560456604576045860459604606046160462604636046460465604666046760468604696047060471604726047360474604756047660477604786047960480604816048260483604846048560486604876048860489604906049160492604936049460495604966049760498604996050060501605026050360504605056050660507605086050960510605116051260513605146051560516605176051860519605206052160522605236052460525605266052760528605296053060531605326053360534605356053660537605386053960540605416054260543605446054560546605476054860549605506055160552605536055460555605566055760558605596056060561605626056360564605656056660567605686056960570605716057260573605746057560576605776057860579605806058160582605836058460585605866058760588605896059060591605926059360594605956059660597605986059960600606016060260603606046060560606606076060860609606106061160612606136061460615606166061760618606196062060621606226062360624606256062660627606286062960630606316063260633606346063560636606376063860639606406064160642606436064460645606466064760648606496065060651606526065360654606556065660657606586065960660606616066260663606646066560666606676066860669606706067160672606736067460675606766067760678606796068060681606826068360684606856068660687606886068960690606916069260693606946069560696606976069860699607006070160702607036070460705607066070760708607096071060711607126071360714607156071660717607186071960720607216072260723607246072560726607276072860729607306073160732607336073460735607366073760738607396074060741607426074360744607456074660747607486074960750607516075260753607546075560756607576075860759607606076160762607636076460765607666076760768607696077060771607726077360774607756077660777607786077960780607816078260783607846078560786607876078860789607906079160792607936079460795607966079760798607996080060801608026080360804608056080660807608086080960810608116081260813608146081560816608176081860819608206082160822608236082460825608266082760828608296083060831608326083360834608356083660837608386083960840608416084260843608446084560846608476084860849608506085160852608536085460855608566085760858608596086060861608626086360864608656086660867608686086960870608716087260873608746087560876608776087860879608806088160882608836088460885608866088760888608896089060891608926089360894608956089660897608986089960900609016090260903609046090560906609076090860909609106091160912609136091460915609166091760918609196092060921609226092360924609256092660927609286092960930609316093260933609346093560936609376093860939609406094160942609436094460945609466094760948609496095060951609526095360954609556095660957609586095960960609616096260963609646096560966609676096860969609706097160972609736097460975609766097760978609796098060981609826098360984609856098660987609886098960990609916099260993609946099560996609976099860999610006100161002610036100461005610066100761008610096101061011610126101361014610156101661017610186101961020610216102261023610246102561026610276102861029610306103161032610336103461035610366103761038610396104061041610426104361044610456104661047610486104961050610516105261053610546105561056610576105861059610606106161062610636106461065610666106761068610696107061071610726107361074610756107661077610786107961080610816108261083610846108561086610876108861089610906109161092610936109461095610966109761098610996110061101611026110361104611056110661107611086110961110611116111261113611146111561116611176111861119611206112161122611236112461125611266112761128611296113061131611326113361134611356113661137611386113961140611416114261143611446114561146611476114861149611506115161152611536115461155611566115761158611596116061161611626116361164611656116661167611686116961170611716117261173611746117561176611776117861179611806118161182611836118461185611866118761188611896119061191611926119361194611956119661197611986119961200612016120261203612046120561206612076120861209612106121161212612136121461215612166121761218612196122061221612226122361224612256122661227612286122961230612316123261233612346123561236612376123861239612406124161242612436124461245612466124761248612496125061251612526125361254612556125661257612586125961260612616126261263612646126561266612676126861269612706127161272612736127461275612766127761278612796128061281612826128361284612856128661287612886128961290612916129261293612946129561296612976129861299613006130161302613036130461305613066130761308613096131061311613126131361314613156131661317613186131961320613216132261323613246132561326613276132861329613306133161332613336133461335613366133761338613396134061341613426134361344613456134661347613486134961350613516135261353613546135561356613576135861359613606136161362613636136461365613666136761368613696137061371613726137361374613756137661377613786137961380613816138261383613846138561386613876138861389613906139161392613936139461395613966139761398613996140061401614026140361404614056140661407614086140961410614116141261413614146141561416614176141861419614206142161422614236142461425614266142761428614296143061431614326143361434614356143661437614386143961440614416144261443614446144561446614476144861449614506145161452614536145461455614566145761458614596146061461614626146361464614656146661467614686146961470614716147261473614746147561476614776147861479614806148161482614836148461485614866148761488614896149061491614926149361494614956149661497614986149961500615016150261503615046150561506615076150861509615106151161512615136151461515615166151761518615196152061521615226152361524615256152661527615286152961530615316153261533615346153561536615376153861539615406154161542615436154461545615466154761548615496155061551615526155361554615556155661557615586155961560615616156261563615646156561566615676156861569615706157161572615736157461575615766157761578615796158061581615826158361584615856158661587615886158961590615916159261593615946159561596615976159861599616006160161602616036160461605616066160761608616096161061611616126161361614616156161661617616186161961620616216162261623616246162561626616276162861629616306163161632616336163461635616366163761638616396164061641616426164361644616456164661647616486164961650616516165261653616546165561656616576165861659616606166161662616636166461665616666166761668616696167061671616726167361674616756167661677616786167961680616816168261683616846168561686616876168861689616906169161692616936169461695616966169761698616996170061701617026170361704617056170661707617086170961710617116171261713617146171561716617176171861719617206172161722617236172461725617266172761728617296173061731617326173361734617356173661737617386173961740617416174261743617446174561746617476174861749617506175161752617536175461755617566175761758617596176061761617626176361764617656176661767617686176961770617716177261773617746177561776617776177861779617806178161782617836178461785617866178761788617896179061791617926179361794617956179661797617986179961800618016180261803618046180561806618076180861809618106181161812618136181461815618166181761818618196182061821618226182361824618256182661827618286182961830618316183261833618346183561836618376183861839618406184161842618436184461845618466184761848618496185061851618526185361854618556185661857618586185961860618616186261863618646186561866618676186861869618706187161872618736187461875618766187761878618796188061881618826188361884618856188661887618886188961890618916189261893618946189561896618976189861899619006190161902619036190461905619066190761908619096191061911619126191361914619156191661917619186191961920619216192261923619246192561926619276192861929619306193161932619336193461935619366193761938619396194061941619426194361944619456194661947619486194961950619516195261953619546195561956619576195861959619606196161962619636196461965619666196761968619696197061971619726197361974619756197661977619786197961980619816198261983619846198561986619876198861989619906199161992619936199461995619966199761998619996200062001620026200362004620056200662007620086200962010620116201262013620146201562016620176201862019620206202162022620236202462025620266202762028620296203062031620326203362034620356203662037620386203962040620416204262043620446204562046620476204862049620506205162052620536205462055620566205762058620596206062061620626206362064620656206662067620686206962070620716207262073620746207562076620776207862079620806208162082620836208462085620866208762088620896209062091620926209362094620956209662097620986209962100621016210262103621046210562106621076210862109621106211162112621136211462115621166211762118621196212062121621226212362124621256212662127621286212962130621316213262133621346213562136621376213862139621406214162142621436214462145621466214762148621496215062151621526215362154621556215662157621586215962160621616216262163621646216562166621676216862169621706217162172621736217462175621766217762178621796218062181621826218362184621856218662187621886218962190621916219262193621946219562196621976219862199622006220162202622036220462205622066220762208622096221062211622126221362214622156221662217622186221962220622216222262223622246222562226622276222862229622306223162232622336223462235622366223762238622396224062241622426224362244622456224662247622486224962250622516225262253622546225562256622576225862259622606226162262622636226462265622666226762268622696227062271622726227362274622756227662277622786227962280622816228262283622846228562286622876228862289622906229162292622936229462295622966229762298622996230062301623026230362304623056230662307623086230962310623116231262313623146231562316623176231862319623206232162322623236232462325623266232762328623296233062331623326233362334623356233662337623386233962340623416234262343623446234562346623476234862349623506235162352623536235462355623566235762358623596236062361623626236362364623656236662367623686236962370623716237262373623746237562376623776237862379623806238162382623836238462385623866238762388623896239062391623926239362394623956239662397623986239962400624016240262403624046240562406624076240862409624106241162412624136241462415624166241762418624196242062421624226242362424624256242662427624286242962430624316243262433624346243562436624376243862439624406244162442624436244462445624466244762448624496245062451624526245362454624556245662457624586245962460624616246262463624646246562466624676246862469624706247162472624736247462475624766247762478624796248062481624826248362484624856248662487624886248962490624916249262493624946249562496624976249862499625006250162502625036250462505625066250762508625096251062511625126251362514625156251662517625186251962520625216252262523625246252562526625276252862529625306253162532625336253462535625366253762538625396254062541625426254362544625456254662547625486254962550625516255262553625546255562556625576255862559625606256162562625636256462565625666256762568625696257062571625726257362574625756257662577625786257962580625816258262583625846258562586625876258862589625906259162592625936259462595625966259762598625996260062601626026260362604626056260662607626086260962610626116261262613626146261562616626176261862619626206262162622626236262462625626266262762628626296263062631626326263362634626356263662637626386263962640626416264262643626446264562646626476264862649626506265162652626536265462655626566265762658626596266062661626626266362664626656266662667626686266962670626716267262673626746267562676626776267862679626806268162682626836268462685626866268762688626896269062691626926269362694626956269662697626986269962700627016270262703627046270562706627076270862709627106271162712627136271462715627166271762718627196272062721627226272362724627256272662727627286272962730627316273262733627346273562736627376273862739627406274162742627436274462745627466274762748627496275062751627526275362754627556275662757627586275962760627616276262763627646276562766627676276862769627706277162772627736277462775627766277762778627796278062781627826278362784627856278662787627886278962790627916279262793627946279562796627976279862799628006280162802628036280462805628066280762808628096281062811628126281362814628156281662817628186281962820628216282262823628246282562826628276282862829628306283162832628336283462835628366283762838628396284062841628426284362844628456284662847628486284962850628516285262853628546285562856628576285862859628606286162862628636286462865628666286762868628696287062871628726287362874628756287662877628786287962880628816288262883628846288562886628876288862889628906289162892628936289462895628966289762898628996290062901629026290362904629056290662907629086290962910629116291262913629146291562916629176291862919629206292162922629236292462925629266292762928629296293062931629326293362934629356293662937629386293962940629416294262943629446294562946629476294862949629506295162952629536295462955629566295762958629596296062961629626296362964629656296662967629686296962970629716297262973629746297562976629776297862979629806298162982629836298462985629866298762988629896299062991629926299362994629956299662997629986299963000630016300263003630046300563006630076300863009630106301163012630136301463015630166301763018630196302063021630226302363024630256302663027630286302963030630316303263033630346303563036630376303863039630406304163042630436304463045630466304763048630496305063051630526305363054630556305663057630586305963060630616306263063630646306563066630676306863069630706307163072630736307463075630766307763078630796308063081630826308363084630856308663087630886308963090630916309263093630946309563096630976309863099631006310163102631036310463105631066310763108631096311063111631126311363114631156311663117631186311963120631216312263123631246312563126631276312863129631306313163132631336313463135631366313763138631396314063141631426314363144631456314663147631486314963150631516315263153631546315563156631576315863159631606316163162631636316463165631666316763168631696317063171631726317363174631756317663177631786317963180631816318263183631846318563186631876318863189631906319163192631936319463195631966319763198631996320063201632026320363204632056320663207632086320963210632116321263213632146321563216632176321863219632206322163222632236322463225632266322763228632296323063231632326323363234632356323663237632386323963240632416324263243632446324563246632476324863249632506325163252632536325463255632566325763258632596326063261632626326363264632656326663267632686326963270632716327263273632746327563276632776327863279632806328163282632836328463285632866328763288632896329063291632926329363294632956329663297632986329963300633016330263303633046330563306633076330863309633106331163312633136331463315633166331763318633196332063321633226332363324633256332663327633286332963330633316333263333633346333563336633376333863339633406334163342633436334463345633466334763348633496335063351633526335363354633556335663357633586335963360633616336263363633646336563366633676336863369633706337163372633736337463375633766337763378633796338063381633826338363384633856338663387633886338963390633916339263393633946339563396633976339863399634006340163402634036340463405634066340763408634096341063411634126341363414634156341663417634186341963420634216342263423634246342563426634276342863429634306343163432634336343463435634366343763438634396344063441634426344363444634456344663447634486344963450634516345263453634546345563456634576345863459634606346163462634636346463465634666346763468634696347063471634726347363474634756347663477634786347963480634816348263483634846348563486634876348863489634906349163492634936349463495634966349763498634996350063501635026350363504635056350663507635086350963510635116351263513635146351563516635176351863519635206352163522635236352463525635266352763528635296353063531635326353363534635356353663537635386353963540635416354263543635446354563546635476354863549635506355163552635536355463555635566355763558635596356063561635626356363564635656356663567635686356963570635716357263573635746357563576635776357863579635806358163582635836358463585635866358763588635896359063591635926359363594635956359663597635986359963600636016360263603636046360563606636076360863609636106361163612636136361463615636166361763618636196362063621636226362363624636256362663627636286362963630636316363263633636346363563636636376363863639636406364163642636436364463645636466364763648636496365063651636526365363654636556365663657636586365963660636616366263663636646366563666636676366863669636706367163672636736367463675636766367763678636796368063681636826368363684636856368663687636886368963690636916369263693636946369563696636976369863699637006370163702637036370463705637066370763708637096371063711637126371363714637156371663717637186371963720637216372263723637246372563726637276372863729637306373163732637336373463735637366373763738637396374063741637426374363744637456374663747637486374963750637516375263753637546375563756637576375863759637606376163762637636376463765637666376763768637696377063771637726377363774637756377663777637786377963780637816378263783637846378563786637876378863789637906379163792637936379463795637966379763798637996380063801638026380363804638056380663807638086380963810638116381263813638146381563816638176381863819638206382163822638236382463825638266382763828638296383063831638326383363834638356383663837638386383963840638416384263843638446384563846638476384863849638506385163852638536385463855638566385763858638596386063861638626386363864638656386663867638686386963870638716387263873638746387563876638776387863879638806388163882638836388463885638866388763888638896389063891638926389363894638956389663897638986389963900639016390263903639046390563906639076390863909639106391163912639136391463915639166391763918639196392063921639226392363924639256392663927639286392963930639316393263933639346393563936639376393863939639406394163942639436394463945639466394763948639496395063951639526395363954639556395663957639586395963960639616396263963639646396563966639676396863969639706397163972639736397463975639766397763978639796398063981639826398363984639856398663987639886398963990639916399263993639946399563996639976399863999640006400164002640036400464005640066400764008640096401064011640126401364014640156401664017640186401964020640216402264023640246402564026640276402864029640306403164032640336403464035640366403764038640396404064041640426404364044640456404664047640486404964050640516405264053640546405564056640576405864059640606406164062640636406464065640666406764068640696407064071640726407364074640756407664077640786407964080640816408264083640846408564086640876408864089640906409164092640936409464095640966409764098640996410064101641026410364104641056410664107641086410964110641116411264113641146411564116641176411864119641206412164122641236412464125641266412764128641296413064131641326413364134641356413664137641386413964140641416414264143641446414564146641476414864149641506415164152641536415464155641566415764158641596416064161641626416364164641656416664167641686416964170641716417264173641746417564176641776417864179641806418164182641836418464185641866418764188641896419064191641926419364194641956419664197641986419964200642016420264203642046420564206642076420864209642106421164212642136421464215642166421764218642196422064221642226422364224642256422664227642286422964230642316423264233642346423564236642376423864239642406424164242642436424464245642466424764248642496425064251642526425364254642556425664257642586425964260642616426264263642646426564266642676426864269642706427164272642736427464275642766427764278642796428064281642826428364284642856428664287642886428964290642916429264293642946429564296642976429864299643006430164302643036430464305643066430764308643096431064311643126431364314643156431664317643186431964320643216432264323643246432564326643276432864329643306433164332643336433464335643366433764338643396434064341643426434364344643456434664347643486434964350643516435264353643546435564356643576435864359643606436164362643636436464365643666436764368643696437064371643726437364374643756437664377643786437964380643816438264383643846438564386643876438864389643906439164392643936439464395643966439764398643996440064401644026440364404644056440664407644086440964410644116441264413644146441564416644176441864419644206442164422644236442464425644266442764428644296443064431644326443364434644356443664437644386443964440644416444264443644446444564446644476444864449644506445164452644536445464455644566445764458644596446064461644626446364464644656446664467644686446964470644716447264473644746447564476644776447864479644806448164482644836448464485644866448764488644896449064491644926449364494644956449664497644986449964500645016450264503645046450564506645076450864509645106451164512645136451464515645166451764518645196452064521645226452364524645256452664527645286452964530645316453264533645346453564536645376453864539645406454164542645436454464545645466454764548645496455064551645526455364554645556455664557645586455964560645616456264563645646456564566645676456864569645706457164572645736457464575645766457764578645796458064581645826458364584645856458664587645886458964590645916459264593645946459564596645976459864599646006460164602646036460464605646066460764608646096461064611646126461364614646156461664617646186461964620646216462264623646246462564626646276462864629646306463164632646336463464635646366463764638646396464064641646426464364644646456464664647646486464964650646516465264653646546465564656646576465864659646606466164662646636466464665646666466764668646696467064671646726467364674646756467664677646786467964680646816468264683646846468564686646876468864689646906469164692646936469464695646966469764698646996470064701647026470364704647056470664707647086470964710647116471264713647146471564716647176471864719647206472164722647236472464725647266472764728647296473064731647326473364734647356473664737647386473964740647416474264743647446474564746647476474864749647506475164752647536475464755647566475764758647596476064761647626476364764647656476664767647686476964770647716477264773647746477564776647776477864779647806478164782647836478464785647866478764788647896479064791647926479364794647956479664797647986479964800648016480264803648046480564806648076480864809648106481164812648136481464815648166481764818648196482064821648226482364824648256482664827648286482964830648316483264833648346483564836648376483864839648406484164842648436484464845648466484764848648496485064851648526485364854648556485664857648586485964860648616486264863648646486564866648676486864869648706487164872648736487464875648766487764878648796488064881648826488364884648856488664887648886488964890648916489264893648946489564896648976489864899649006490164902649036490464905649066490764908649096491064911649126491364914649156491664917649186491964920649216492264923649246492564926649276492864929649306493164932649336493464935649366493764938649396494064941649426494364944649456494664947649486494964950649516495264953649546495564956649576495864959649606496164962649636496464965649666496764968649696497064971649726497364974649756497664977649786497964980649816498264983649846498564986649876498864989649906499164992649936499464995649966499764998649996500065001650026500365004650056500665007650086500965010650116501265013650146501565016650176501865019650206502165022650236502465025650266502765028650296503065031650326503365034650356503665037650386503965040650416504265043650446504565046650476504865049650506505165052650536505465055650566505765058650596506065061650626506365064650656506665067650686506965070650716507265073650746507565076650776507865079650806508165082650836508465085650866508765088650896509065091650926509365094650956509665097650986509965100651016510265103651046510565106651076510865109651106511165112651136511465115651166511765118651196512065121651226512365124651256512665127651286512965130651316513265133651346513565136651376513865139651406514165142651436514465145651466514765148651496515065151651526515365154651556515665157651586515965160651616516265163651646516565166651676516865169651706517165172651736517465175651766517765178651796518065181651826518365184651856518665187651886518965190651916519265193651946519565196651976519865199652006520165202652036520465205652066520765208652096521065211652126521365214652156521665217652186521965220652216522265223652246522565226652276522865229652306523165232652336523465235652366523765238652396524065241652426524365244652456524665247652486524965250652516525265253652546525565256652576525865259652606526165262652636526465265652666526765268652696527065271652726527365274652756527665277652786527965280652816528265283652846528565286652876528865289652906529165292652936529465295652966529765298652996530065301653026530365304653056530665307653086530965310653116531265313653146531565316653176531865319653206532165322653236532465325653266532765328653296533065331653326533365334653356533665337653386533965340653416534265343653446534565346653476534865349653506535165352653536535465355653566535765358653596536065361653626536365364653656536665367653686536965370653716537265373653746537565376653776537865379653806538165382653836538465385653866538765388653896539065391653926539365394653956539665397653986539965400654016540265403654046540565406654076540865409654106541165412654136541465415654166541765418654196542065421654226542365424654256542665427654286542965430654316543265433654346543565436654376543865439654406544165442654436544465445654466544765448654496545065451654526545365454654556545665457654586545965460654616546265463654646546565466654676546865469654706547165472654736547465475654766547765478654796548065481654826548365484654856548665487654886548965490654916549265493654946549565496654976549865499655006550165502655036550465505655066550765508655096551065511655126551365514655156551665517655186551965520655216552265523655246552565526655276552865529655306553165532655336553465535655366553765538655396554065541655426554365544655456554665547655486554965550655516555265553655546555565556655576555865559655606556165562655636556465565655666556765568655696557065571655726557365574655756557665577655786557965580655816558265583655846558565586655876558865589655906559165592655936559465595655966559765598655996560065601656026560365604656056560665607656086560965610656116561265613656146561565616656176561865619656206562165622656236562465625656266562765628656296563065631656326563365634656356563665637656386563965640656416564265643656446564565646656476564865649656506565165652656536565465655656566565765658656596566065661656626566365664656656566665667656686566965670656716567265673656746567565676656776567865679656806568165682656836568465685656866568765688656896569065691656926569365694656956569665697656986569965700657016570265703657046570565706657076570865709657106571165712657136571465715657166571765718657196572065721657226572365724657256572665727657286572965730657316573265733657346573565736657376573865739657406574165742657436574465745657466574765748657496575065751657526575365754657556575665757657586575965760657616576265763657646576565766657676576865769657706577165772657736577465775657766577765778657796578065781657826578365784657856578665787657886578965790657916579265793657946579565796657976579865799658006580165802658036580465805658066580765808658096581065811658126581365814658156581665817658186581965820658216582265823658246582565826658276582865829658306583165832658336583465835658366583765838658396584065841658426584365844658456584665847658486584965850658516585265853658546585565856658576585865859658606586165862658636586465865658666586765868658696587065871658726587365874658756587665877658786587965880658816588265883658846588565886658876588865889658906589165892658936589465895658966589765898658996590065901659026590365904659056590665907659086590965910659116591265913659146591565916659176591865919659206592165922659236592465925659266592765928659296593065931659326593365934659356593665937659386593965940659416594265943659446594565946659476594865949659506595165952659536595465955659566595765958659596596065961659626596365964659656596665967659686596965970659716597265973659746597565976659776597865979659806598165982659836598465985659866598765988659896599065991659926599365994659956599665997659986599966000660016600266003660046600566006660076600866009660106601166012660136601466015660166601766018660196602066021660226602366024660256602666027660286602966030660316603266033660346603566036660376603866039660406604166042660436604466045660466604766048660496605066051660526605366054660556605666057660586605966060660616606266063660646606566066660676606866069660706607166072660736607466075660766607766078660796608066081660826608366084660856608666087660886608966090660916609266093660946609566096660976609866099661006610166102661036610466105661066610766108661096611066111661126611366114661156611666117661186611966120661216612266123661246612566126661276612866129661306613166132661336613466135661366613766138661396614066141661426614366144661456614666147661486614966150661516615266153661546615566156661576615866159661606616166162661636616466165661666616766168661696617066171661726617366174661756617666177661786617966180661816618266183661846618566186661876618866189661906619166192661936619466195661966619766198661996620066201662026620366204662056620666207662086620966210662116621266213662146621566216662176621866219662206622166222662236622466225662266622766228662296623066231662326623366234662356623666237662386623966240662416624266243662446624566246662476624866249662506625166252662536625466255662566625766258662596626066261662626626366264662656626666267662686626966270662716627266273662746627566276662776627866279662806628166282662836628466285662866628766288662896629066291662926629366294662956629666297662986629966300663016630266303663046630566306663076630866309663106631166312663136631466315663166631766318663196632066321663226632366324663256632666327663286632966330663316633266333663346633566336663376633866339663406634166342663436634466345663466634766348663496635066351663526635366354663556635666357663586635966360663616636266363663646636566366663676636866369663706637166372663736637466375663766637766378663796638066381663826638366384663856638666387663886638966390663916639266393663946639566396663976639866399664006640166402664036640466405664066640766408664096641066411664126641366414664156641666417664186641966420664216642266423664246642566426664276642866429664306643166432664336643466435664366643766438664396644066441664426644366444664456644666447664486644966450664516645266453664546645566456664576645866459664606646166462664636646466465664666646766468664696647066471664726647366474664756647666477664786647966480664816648266483664846648566486664876648866489664906649166492664936649466495664966649766498664996650066501665026650366504665056650666507665086650966510665116651266513665146651566516665176651866519665206652166522665236652466525665266652766528665296653066531665326653366534665356653666537665386653966540665416654266543665446654566546665476654866549665506655166552665536655466555665566655766558665596656066561665626656366564665656656666567665686656966570665716657266573665746657566576665776657866579665806658166582665836658466585665866658766588665896659066591665926659366594665956659666597665986659966600666016660266603666046660566606666076660866609666106661166612666136661466615666166661766618666196662066621666226662366624666256662666627666286662966630666316663266633666346663566636666376663866639666406664166642666436664466645666466664766648666496665066651666526665366654666556665666657666586665966660666616666266663666646666566666666676666866669666706667166672666736667466675666766667766678666796668066681666826668366684666856668666687666886668966690666916669266693666946669566696666976669866699667006670166702667036670466705667066670766708667096671066711667126671366714667156671666717667186671966720667216672266723667246672566726667276672866729667306673166732667336673466735667366673766738667396674066741667426674366744667456674666747667486674966750667516675266753667546675566756667576675866759667606676166762667636676466765667666676766768667696677066771667726677366774667756677666777667786677966780667816678266783667846678566786667876678866789667906679166792667936679466795667966679766798667996680066801668026680366804668056680666807668086680966810668116681266813668146681566816668176681866819668206682166822668236682466825668266682766828668296683066831668326683366834668356683666837668386683966840668416684266843668446684566846668476684866849668506685166852668536685466855668566685766858668596686066861668626686366864668656686666867668686686966870668716687266873668746687566876668776687866879668806688166882668836688466885668866688766888668896689066891668926689366894668956689666897668986689966900669016690266903669046690566906669076690866909669106691166912669136691466915669166691766918669196692066921669226692366924669256692666927669286692966930669316693266933669346693566936669376693866939669406694166942669436694466945669466694766948669496695066951669526695366954669556695666957669586695966960669616696266963669646696566966669676696866969669706697166972669736697466975669766697766978669796698066981669826698366984669856698666987669886698966990669916699266993669946699566996669976699866999670006700167002670036700467005670066700767008670096701067011670126701367014670156701667017670186701967020670216702267023670246702567026670276702867029670306703167032670336703467035670366703767038670396704067041670426704367044670456704667047670486704967050670516705267053670546705567056670576705867059670606706167062670636706467065670666706767068670696707067071670726707367074670756707667077670786707967080670816708267083670846708567086670876708867089670906709167092670936709467095670966709767098670996710067101671026710367104671056710667107671086710967110671116711267113671146711567116671176711867119671206712167122671236712467125671266712767128671296713067131671326713367134671356713667137671386713967140671416714267143671446714567146671476714867149671506715167152671536715467155671566715767158671596716067161671626716367164671656716667167671686716967170671716717267173671746717567176671776717867179671806718167182671836718467185671866718767188671896719067191671926719367194671956719667197671986719967200672016720267203672046720567206672076720867209672106721167212672136721467215672166721767218672196722067221672226722367224672256722667227672286722967230672316723267233672346723567236672376723867239672406724167242672436724467245672466724767248672496725067251672526725367254672556725667257672586725967260672616726267263672646726567266672676726867269672706727167272672736727467275672766727767278672796728067281672826728367284672856728667287672886728967290672916729267293672946729567296672976729867299673006730167302673036730467305673066730767308673096731067311673126731367314673156731667317673186731967320673216732267323673246732567326673276732867329673306733167332673336733467335673366733767338673396734067341673426734367344673456734667347673486734967350673516735267353673546735567356673576735867359673606736167362673636736467365673666736767368673696737067371673726737367374673756737667377673786737967380673816738267383673846738567386673876738867389673906739167392673936739467395673966739767398673996740067401674026740367404674056740667407674086740967410674116741267413674146741567416674176741867419674206742167422674236742467425674266742767428674296743067431674326743367434674356743667437674386743967440674416744267443674446744567446674476744867449674506745167452674536745467455674566745767458674596746067461674626746367464674656746667467674686746967470674716747267473674746747567476674776747867479674806748167482674836748467485674866748767488674896749067491674926749367494674956749667497674986749967500675016750267503675046750567506675076750867509675106751167512675136751467515675166751767518675196752067521675226752367524675256752667527675286752967530675316753267533675346753567536675376753867539675406754167542675436754467545675466754767548675496755067551675526755367554675556755667557675586755967560675616756267563675646756567566675676756867569675706757167572675736757467575675766757767578675796758067581675826758367584675856758667587675886758967590675916759267593675946759567596675976759867599676006760167602676036760467605676066760767608676096761067611676126761367614676156761667617676186761967620676216762267623676246762567626676276762867629676306763167632676336763467635676366763767638676396764067641676426764367644676456764667647676486764967650676516765267653676546765567656676576765867659676606766167662676636766467665676666766767668676696767067671676726767367674676756767667677676786767967680676816768267683676846768567686676876768867689676906769167692676936769467695676966769767698676996770067701677026770367704677056770667707677086770967710677116771267713677146771567716677176771867719677206772167722677236772467725677266772767728677296773067731677326773367734677356773667737677386773967740677416774267743677446774567746677476774867749677506775167752677536775467755677566775767758677596776067761677626776367764677656776667767677686776967770677716777267773677746777567776677776777867779677806778167782677836778467785677866778767788677896779067791677926779367794677956779667797677986779967800678016780267803678046780567806678076780867809678106781167812678136781467815678166781767818678196782067821678226782367824678256782667827678286782967830678316783267833678346783567836678376783867839678406784167842678436784467845678466784767848678496785067851678526785367854678556785667857678586785967860678616786267863678646786567866678676786867869678706787167872678736787467875678766787767878678796788067881678826788367884678856788667887678886788967890678916789267893678946789567896678976789867899679006790167902679036790467905679066790767908679096791067911679126791367914679156791667917679186791967920679216792267923679246792567926679276792867929679306793167932679336793467935679366793767938679396794067941679426794367944679456794667947679486794967950679516795267953679546795567956679576795867959679606796167962679636796467965679666796767968679696797067971679726797367974679756797667977679786797967980679816798267983679846798567986679876798867989679906799167992679936799467995679966799767998679996800068001680026800368004680056800668007680086800968010680116801268013680146801568016680176801868019680206802168022680236802468025680266802768028680296803068031680326803368034680356803668037680386803968040680416804268043680446804568046680476804868049680506805168052680536805468055680566805768058680596806068061680626806368064680656806668067680686806968070680716807268073680746807568076680776807868079680806808168082680836808468085680866808768088680896809068091680926809368094680956809668097680986809968100681016810268103681046810568106681076810868109681106811168112681136811468115681166811768118681196812068121681226812368124681256812668127681286812968130681316813268133681346813568136681376813868139681406814168142681436814468145681466814768148681496815068151681526815368154681556815668157681586815968160681616816268163681646816568166681676816868169681706817168172681736817468175681766817768178681796818068181681826818368184681856818668187681886818968190681916819268193681946819568196681976819868199682006820168202682036820468205682066820768208682096821068211682126821368214682156821668217682186821968220682216822268223682246822568226682276822868229682306823168232682336823468235682366823768238682396824068241682426824368244682456824668247682486824968250682516825268253682546825568256682576825868259682606826168262682636826468265682666826768268682696827068271682726827368274682756827668277682786827968280682816828268283682846828568286682876828868289682906829168292682936829468295682966829768298682996830068301683026830368304683056830668307683086830968310683116831268313683146831568316683176831868319683206832168322683236832468325683266832768328683296833068331683326833368334683356833668337683386833968340683416834268343683446834568346683476834868349683506835168352683536835468355683566835768358683596836068361683626836368364683656836668367683686836968370683716837268373683746837568376683776837868379683806838168382683836838468385683866838768388683896839068391683926839368394683956839668397683986839968400684016840268403684046840568406684076840868409684106841168412684136841468415684166841768418684196842068421684226842368424684256842668427684286842968430684316843268433684346843568436684376843868439684406844168442684436844468445684466844768448684496845068451684526845368454684556845668457684586845968460684616846268463684646846568466684676846868469684706847168472684736847468475684766847768478684796848068481684826848368484684856848668487684886848968490684916849268493684946849568496684976849868499685006850168502685036850468505685066850768508685096851068511685126851368514685156851668517685186851968520685216852268523685246852568526685276852868529685306853168532685336853468535685366853768538685396854068541685426854368544685456854668547685486854968550685516855268553685546855568556685576855868559685606856168562685636856468565685666856768568685696857068571685726857368574685756857668577685786857968580685816858268583685846858568586685876858868589685906859168592685936859468595685966859768598685996860068601686026860368604686056860668607686086860968610686116861268613686146861568616686176861868619686206862168622686236862468625686266862768628686296863068631686326863368634686356863668637686386863968640686416864268643686446864568646686476864868649686506865168652686536865468655686566865768658686596866068661686626866368664686656866668667686686866968670686716867268673686746867568676686776867868679686806868168682686836868468685686866868768688686896869068691686926869368694686956869668697686986869968700687016870268703687046870568706687076870868709687106871168712687136871468715687166871768718687196872068721687226872368724687256872668727687286872968730687316873268733687346873568736687376873868739687406874168742687436874468745687466874768748687496875068751687526875368754687556875668757687586875968760687616876268763687646876568766687676876868769687706877168772687736877468775687766877768778687796878068781687826878368784687856878668787687886878968790687916879268793687946879568796687976879868799688006880168802688036880468805688066880768808688096881068811688126881368814688156881668817688186881968820688216882268823688246882568826688276882868829688306883168832688336883468835688366883768838688396884068841688426884368844688456884668847688486884968850688516885268853688546885568856688576885868859688606886168862688636886468865688666886768868688696887068871688726887368874688756887668877688786887968880688816888268883688846888568886688876888868889688906889168892688936889468895688966889768898688996890068901689026890368904689056890668907689086890968910689116891268913689146891568916689176891868919689206892168922689236892468925689266892768928689296893068931689326893368934689356893668937689386893968940689416894268943689446894568946689476894868949689506895168952689536895468955689566895768958689596896068961689626896368964689656896668967689686896968970689716897268973689746897568976689776897868979689806898168982689836898468985689866898768988689896899068991689926899368994689956899668997689986899969000690016900269003690046900569006690076900869009690106901169012690136901469015690166901769018690196902069021690226902369024690256902669027690286902969030690316903269033690346903569036690376903869039690406904169042690436904469045690466904769048690496905069051690526905369054690556905669057690586905969060690616906269063690646906569066690676906869069690706907169072690736907469075690766907769078690796908069081690826908369084690856908669087690886908969090690916909269093690946909569096690976909869099691006910169102691036910469105691066910769108691096911069111691126911369114691156911669117691186911969120691216912269123691246912569126691276912869129691306913169132691336913469135691366913769138691396914069141691426914369144691456914669147691486914969150691516915269153691546915569156691576915869159691606916169162691636916469165691666916769168691696917069171691726917369174691756917669177691786917969180691816918269183691846918569186691876918869189691906919169192691936919469195691966919769198691996920069201692026920369204692056920669207692086920969210692116921269213692146921569216692176921869219692206922169222692236922469225692266922769228692296923069231692326923369234692356923669237692386923969240692416924269243692446924569246692476924869249692506925169252692536925469255692566925769258692596926069261692626926369264692656926669267692686926969270692716927269273692746927569276692776927869279692806928169282692836928469285692866928769288692896929069291692926929369294692956929669297692986929969300693016930269303693046930569306693076930869309693106931169312693136931469315693166931769318693196932069321693226932369324693256932669327693286932969330693316933269333693346933569336693376933869339693406934169342693436934469345693466934769348693496935069351693526935369354693556935669357693586935969360693616936269363693646936569366693676936869369693706937169372693736937469375693766937769378693796938069381693826938369384693856938669387693886938969390693916939269393693946939569396693976939869399694006940169402694036940469405694066940769408694096941069411694126941369414694156941669417694186941969420694216942269423694246942569426694276942869429694306943169432694336943469435694366943769438694396944069441694426944369444694456944669447694486944969450694516945269453694546945569456694576945869459694606946169462694636946469465694666946769468694696947069471694726947369474694756947669477694786947969480694816948269483694846948569486694876948869489694906949169492694936949469495694966949769498694996950069501695026950369504695056950669507695086950969510695116951269513695146951569516695176951869519695206952169522695236952469525695266952769528695296953069531695326953369534695356953669537695386953969540695416954269543695446954569546695476954869549695506955169552695536955469555695566955769558695596956069561695626956369564695656956669567695686956969570695716957269573695746957569576695776957869579695806958169582695836958469585695866958769588695896959069591695926959369594695956959669597695986959969600696016960269603696046960569606696076960869609696106961169612696136961469615696166961769618696196962069621696226962369624696256962669627696286962969630696316963269633696346963569636696376963869639696406964169642696436964469645696466964769648696496965069651696526965369654696556965669657696586965969660696616966269663696646966569666696676966869669696706967169672696736967469675696766967769678696796968069681696826968369684696856968669687696886968969690696916969269693696946969569696696976969869699697006970169702697036970469705697066970769708697096971069711697126971369714697156971669717697186971969720697216972269723697246972569726697276972869729697306973169732697336973469735697366973769738697396974069741697426974369744697456974669747697486974969750697516975269753697546975569756697576975869759697606976169762697636976469765697666976769768697696977069771697726977369774697756977669777697786977969780697816978269783697846978569786697876978869789697906979169792697936979469795697966979769798697996980069801698026980369804698056980669807698086980969810698116981269813698146981569816698176981869819698206982169822698236982469825698266982769828698296983069831698326983369834698356983669837698386983969840698416984269843698446984569846698476984869849698506985169852698536985469855698566985769858698596986069861698626986369864698656986669867698686986969870698716987269873698746987569876698776987869879698806988169882698836988469885698866988769888698896989069891698926989369894698956989669897698986989969900699016990269903699046990569906699076990869909699106991169912699136991469915699166991769918699196992069921699226992369924699256992669927699286992969930699316993269933699346993569936699376993869939699406994169942699436994469945699466994769948699496995069951699526995369954699556995669957699586995969960699616996269963699646996569966699676996869969699706997169972699736997469975699766997769978699796998069981699826998369984699856998669987699886998969990699916999269993699946999569996699976999869999700007000170002700037000470005700067000770008700097001070011700127001370014700157001670017700187001970020700217002270023700247002570026700277002870029700307003170032700337003470035700367003770038700397004070041700427004370044700457004670047700487004970050700517005270053700547005570056700577005870059700607006170062700637006470065700667006770068700697007070071700727007370074700757007670077700787007970080700817008270083700847008570086700877008870089700907009170092700937009470095700967009770098700997010070101701027010370104701057010670107701087010970110701117011270113701147011570116701177011870119701207012170122701237012470125701267012770128701297013070131701327013370134701357013670137701387013970140701417014270143701447014570146701477014870149701507015170152701537015470155701567015770158701597016070161701627016370164701657016670167701687016970170701717017270173701747017570176701777017870179701807018170182701837018470185701867018770188701897019070191701927019370194701957019670197701987019970200702017020270203702047020570206702077020870209702107021170212702137021470215702167021770218702197022070221702227022370224702257022670227702287022970230702317023270233702347023570236702377023870239702407024170242702437024470245702467024770248702497025070251702527025370254702557025670257702587025970260702617026270263702647026570266702677026870269702707027170272702737027470275702767027770278702797028070281702827028370284702857028670287702887028970290702917029270293702947029570296702977029870299703007030170302703037030470305703067030770308703097031070311703127031370314703157031670317703187031970320703217032270323703247032570326703277032870329703307033170332703337033470335703367033770338703397034070341703427034370344703457034670347703487034970350703517035270353703547035570356703577035870359703607036170362703637036470365703667036770368703697037070371703727037370374703757037670377703787037970380703817038270383703847038570386703877038870389703907039170392703937039470395703967039770398703997040070401704027040370404704057040670407704087040970410704117041270413704147041570416704177041870419704207042170422704237042470425704267042770428704297043070431704327043370434704357043670437704387043970440704417044270443704447044570446704477044870449704507045170452704537045470455704567045770458704597046070461704627046370464704657046670467704687046970470704717047270473704747047570476704777047870479704807048170482704837048470485704867048770488704897049070491704927049370494704957049670497704987049970500705017050270503705047050570506705077050870509705107051170512705137051470515705167051770518705197052070521705227052370524705257052670527705287052970530705317053270533705347053570536705377053870539705407054170542705437054470545705467054770548705497055070551705527055370554705557055670557705587055970560705617056270563705647056570566705677056870569705707057170572705737057470575705767057770578705797058070581705827058370584705857058670587705887058970590705917059270593705947059570596705977059870599706007060170602706037060470605706067060770608706097061070611706127061370614706157061670617706187061970620706217062270623706247062570626706277062870629706307063170632706337063470635706367063770638706397064070641706427064370644706457064670647706487064970650706517065270653706547065570656706577065870659706607066170662706637066470665706667066770668706697067070671706727067370674706757067670677706787067970680706817068270683706847068570686706877068870689706907069170692706937069470695706967069770698706997070070701707027070370704707057070670707707087070970710707117071270713707147071570716707177071870719707207072170722707237072470725707267072770728707297073070731707327073370734707357073670737707387073970740707417074270743707447074570746707477074870749707507075170752707537075470755707567075770758707597076070761707627076370764707657076670767707687076970770707717077270773707747077570776707777077870779707807078170782707837078470785707867078770788707897079070791707927079370794707957079670797707987079970800708017080270803708047080570806708077080870809708107081170812708137081470815708167081770818708197082070821708227082370824708257082670827708287082970830708317083270833708347083570836708377083870839708407084170842708437084470845708467084770848708497085070851708527085370854708557085670857708587085970860708617086270863708647086570866708677086870869708707087170872708737087470875708767087770878708797088070881708827088370884708857088670887708887088970890708917089270893708947089570896708977089870899709007090170902709037090470905709067090770908709097091070911709127091370914709157091670917709187091970920709217092270923709247092570926709277092870929709307093170932709337093470935709367093770938709397094070941709427094370944709457094670947709487094970950709517095270953709547095570956709577095870959709607096170962709637096470965709667096770968709697097070971709727097370974709757097670977709787097970980709817098270983709847098570986709877098870989709907099170992709937099470995709967099770998709997100071001710027100371004710057100671007710087100971010710117101271013710147101571016710177101871019710207102171022710237102471025710267102771028710297103071031710327103371034710357103671037710387103971040710417104271043710447104571046710477104871049710507105171052710537105471055710567105771058710597106071061710627106371064710657106671067710687106971070710717107271073710747107571076710777107871079710807108171082710837108471085710867108771088710897109071091710927109371094710957109671097710987109971100711017110271103711047110571106711077110871109711107111171112711137111471115711167111771118711197112071121711227112371124711257112671127711287112971130711317113271133711347113571136711377113871139711407114171142711437114471145711467114771148711497115071151711527115371154711557115671157711587115971160711617116271163711647116571166711677116871169711707117171172711737117471175711767117771178711797118071181711827118371184711857118671187711887118971190711917119271193711947119571196711977119871199712007120171202712037120471205712067120771208712097121071211712127121371214712157121671217712187121971220712217122271223712247122571226712277122871229712307123171232712337123471235712367123771238712397124071241712427124371244712457124671247712487124971250712517125271253712547125571256712577125871259712607126171262712637126471265712667126771268712697127071271712727127371274712757127671277712787127971280712817128271283712847128571286712877128871289712907129171292712937129471295712967129771298712997130071301713027130371304713057130671307713087130971310713117131271313713147131571316713177131871319713207132171322713237132471325713267132771328713297133071331713327133371334713357133671337713387133971340713417134271343713447134571346713477134871349713507135171352713537135471355713567135771358713597136071361713627136371364713657136671367713687136971370713717137271373713747137571376713777137871379713807138171382713837138471385713867138771388713897139071391713927139371394713957139671397713987139971400714017140271403714047140571406714077140871409714107141171412714137141471415714167141771418714197142071421714227142371424714257142671427714287142971430714317143271433714347143571436714377143871439714407144171442714437144471445714467144771448714497145071451714527145371454714557145671457714587145971460714617146271463714647146571466714677146871469714707147171472714737147471475714767147771478714797148071481714827148371484714857148671487714887148971490714917149271493714947149571496714977149871499715007150171502715037150471505715067150771508715097151071511715127151371514715157151671517715187151971520715217152271523715247152571526715277152871529715307153171532715337153471535715367153771538715397154071541715427154371544715457154671547715487154971550715517155271553715547155571556715577155871559715607156171562715637156471565715667156771568715697157071571715727157371574715757157671577715787157971580715817158271583715847158571586715877158871589715907159171592715937159471595715967159771598715997160071601716027160371604716057160671607716087160971610716117161271613716147161571616716177161871619716207162171622716237162471625716267162771628716297163071631716327163371634716357163671637716387163971640716417164271643716447164571646716477164871649716507165171652716537165471655716567165771658716597166071661716627166371664716657166671667716687166971670716717167271673716747167571676716777167871679716807168171682716837168471685716867168771688716897169071691716927169371694716957169671697716987169971700717017170271703717047170571706717077170871709717107171171712717137171471715717167171771718717197172071721717227172371724717257172671727717287172971730717317173271733717347173571736717377173871739717407174171742717437174471745717467174771748717497175071751717527175371754717557175671757717587175971760717617176271763717647176571766717677176871769717707177171772717737177471775717767177771778717797178071781717827178371784717857178671787717887178971790717917179271793717947179571796717977179871799718007180171802718037180471805718067180771808718097181071811718127181371814718157181671817718187181971820718217182271823718247182571826718277182871829718307183171832718337183471835718367183771838718397184071841718427184371844718457184671847718487184971850718517185271853718547185571856718577185871859718607186171862718637186471865718667186771868718697187071871718727187371874718757187671877718787187971880718817188271883718847188571886718877188871889718907189171892718937189471895718967189771898718997190071901719027190371904719057190671907719087190971910719117191271913719147191571916719177191871919719207192171922719237192471925719267192771928719297193071931719327193371934719357193671937719387193971940719417194271943719447194571946719477194871949719507195171952719537195471955719567195771958719597196071961719627196371964719657196671967719687196971970719717197271973719747197571976719777197871979719807198171982719837198471985719867198771988719897199071991719927199371994719957199671997719987199972000720017200272003720047200572006720077200872009720107201172012720137201472015720167201772018720197202072021720227202372024720257202672027720287202972030720317203272033720347203572036720377203872039720407204172042720437204472045720467204772048720497205072051720527205372054720557205672057720587205972060720617206272063720647206572066720677206872069720707207172072720737207472075720767207772078720797208072081720827208372084720857208672087720887208972090720917209272093720947209572096720977209872099721007210172102721037210472105721067210772108721097211072111721127211372114721157211672117721187211972120721217212272123721247212572126721277212872129721307213172132721337213472135721367213772138721397214072141721427214372144721457214672147721487214972150721517215272153721547215572156721577215872159721607216172162721637216472165721667216772168721697217072171721727217372174721757217672177721787217972180721817218272183721847218572186721877218872189721907219172192721937219472195721967219772198721997220072201722027220372204722057220672207722087220972210722117221272213722147221572216722177221872219722207222172222722237222472225722267222772228722297223072231722327223372234722357223672237722387223972240722417224272243722447224572246722477224872249722507225172252722537225472255722567225772258722597226072261722627226372264722657226672267722687226972270722717227272273722747227572276722777227872279722807228172282722837228472285722867228772288722897229072291722927229372294722957229672297722987229972300723017230272303723047230572306723077230872309723107231172312723137231472315723167231772318723197232072321723227232372324723257232672327723287232972330723317233272333723347233572336723377233872339723407234172342723437234472345723467234772348723497235072351723527235372354723557235672357723587235972360723617236272363723647236572366723677236872369723707237172372723737237472375723767237772378723797238072381723827238372384723857238672387723887238972390723917239272393723947239572396723977239872399724007240172402724037240472405724067240772408724097241072411724127241372414724157241672417724187241972420724217242272423724247242572426724277242872429724307243172432724337243472435724367243772438724397244072441724427244372444724457244672447724487244972450724517245272453724547245572456724577245872459724607246172462724637246472465724667246772468724697247072471724727247372474724757247672477724787247972480724817248272483724847248572486724877248872489724907249172492724937249472495724967249772498724997250072501725027250372504725057250672507725087250972510725117251272513725147251572516725177251872519725207252172522725237252472525725267252772528725297253072531725327253372534725357253672537725387253972540725417254272543725447254572546725477254872549725507255172552725537255472555725567255772558725597256072561725627256372564725657256672567725687256972570725717257272573725747257572576725777257872579725807258172582725837258472585725867258772588725897259072591725927259372594725957259672597725987259972600726017260272603726047260572606726077260872609726107261172612726137261472615726167261772618726197262072621726227262372624726257262672627726287262972630726317263272633726347263572636726377263872639726407264172642726437264472645726467264772648726497265072651726527265372654726557265672657726587265972660726617266272663726647266572666726677266872669726707267172672726737267472675726767267772678726797268072681726827268372684726857268672687726887268972690726917269272693726947269572696726977269872699727007270172702727037270472705727067270772708727097271072711727127271372714727157271672717727187271972720727217272272723727247272572726727277272872729727307273172732727337273472735727367273772738727397274072741727427274372744727457274672747727487274972750727517275272753727547275572756727577275872759727607276172762727637276472765727667276772768727697277072771727727277372774727757277672777727787277972780727817278272783727847278572786727877278872789727907279172792727937279472795727967279772798727997280072801728027280372804728057280672807728087280972810728117281272813728147281572816728177281872819728207282172822728237282472825728267282772828728297283072831728327283372834728357283672837728387283972840728417284272843728447284572846728477284872849728507285172852728537285472855728567285772858728597286072861728627286372864728657286672867728687286972870728717287272873728747287572876728777287872879728807288172882728837288472885728867288772888728897289072891728927289372894728957289672897728987289972900729017290272903729047290572906729077290872909729107291172912729137291472915729167291772918729197292072921729227292372924729257292672927729287292972930729317293272933729347293572936729377293872939729407294172942729437294472945729467294772948729497295072951729527295372954729557295672957729587295972960729617296272963729647296572966729677296872969729707297172972729737297472975729767297772978729797298072981729827298372984729857298672987729887298972990729917299272993729947299572996729977299872999730007300173002730037300473005730067300773008730097301073011730127301373014730157301673017730187301973020730217302273023730247302573026730277302873029730307303173032730337303473035730367303773038730397304073041730427304373044730457304673047730487304973050730517305273053730547305573056730577305873059730607306173062730637306473065730667306773068730697307073071730727307373074730757307673077730787307973080730817308273083730847308573086730877308873089730907309173092730937309473095730967309773098730997310073101731027310373104731057310673107731087310973110731117311273113731147311573116731177311873119731207312173122731237312473125731267312773128731297313073131731327313373134731357313673137731387313973140731417314273143731447314573146731477314873149731507315173152731537315473155731567315773158731597316073161731627316373164731657316673167731687316973170731717317273173731747317573176731777317873179731807318173182731837318473185731867318773188731897319073191731927319373194731957319673197731987319973200732017320273203732047320573206732077320873209732107321173212732137321473215732167321773218732197322073221732227322373224732257322673227732287322973230732317323273233732347323573236732377323873239732407324173242732437324473245732467324773248732497325073251732527325373254732557325673257732587325973260732617326273263732647326573266732677326873269732707327173272732737327473275732767327773278732797328073281732827328373284732857328673287732887328973290732917329273293732947329573296732977329873299733007330173302733037330473305733067330773308733097331073311733127331373314733157331673317733187331973320733217332273323733247332573326733277332873329733307333173332733337333473335733367333773338733397334073341733427334373344733457334673347733487334973350733517335273353733547335573356733577335873359733607336173362733637336473365733667336773368733697337073371733727337373374733757337673377733787337973380733817338273383733847338573386733877338873389733907339173392733937339473395733967339773398733997340073401734027340373404734057340673407734087340973410734117341273413734147341573416734177341873419734207342173422734237342473425734267342773428734297343073431734327343373434734357343673437734387343973440734417344273443734447344573446734477344873449734507345173452734537345473455734567345773458734597346073461734627346373464734657346673467734687346973470734717347273473734747347573476734777347873479734807348173482734837348473485734867348773488734897349073491734927349373494734957349673497734987349973500735017350273503735047350573506735077350873509735107351173512735137351473515735167351773518735197352073521735227352373524735257352673527735287352973530735317353273533735347353573536735377353873539735407354173542735437354473545735467354773548735497355073551735527355373554735557355673557735587355973560735617356273563735647356573566735677356873569735707357173572735737357473575735767357773578735797358073581735827358373584735857358673587735887358973590735917359273593735947359573596735977359873599736007360173602736037360473605736067360773608736097361073611736127361373614736157361673617736187361973620736217362273623736247362573626736277362873629736307363173632736337363473635736367363773638736397364073641736427364373644736457364673647736487364973650736517365273653736547365573656736577365873659736607366173662736637366473665736667366773668736697367073671736727367373674736757367673677736787367973680736817368273683736847368573686736877368873689736907369173692736937369473695736967369773698736997370073701737027370373704737057370673707737087370973710737117371273713737147371573716737177371873719737207372173722737237372473725737267372773728737297373073731737327373373734737357373673737737387373973740737417374273743737447374573746737477374873749737507375173752737537375473755737567375773758737597376073761737627376373764737657376673767737687376973770737717377273773737747377573776737777377873779737807378173782737837378473785737867378773788737897379073791737927379373794737957379673797737987379973800738017380273803738047380573806738077380873809738107381173812738137381473815738167381773818738197382073821738227382373824738257382673827738287382973830738317383273833738347383573836738377383873839738407384173842738437384473845738467384773848738497385073851738527385373854738557385673857738587385973860738617386273863738647386573866738677386873869738707387173872738737387473875738767387773878738797388073881738827388373884738857388673887738887388973890738917389273893738947389573896738977389873899739007390173902739037390473905739067390773908739097391073911739127391373914739157391673917739187391973920739217392273923739247392573926739277392873929739307393173932739337393473935739367393773938739397394073941739427394373944739457394673947739487394973950739517395273953739547395573956739577395873959739607396173962739637396473965739667396773968739697397073971739727397373974739757397673977739787397973980739817398273983739847398573986739877398873989739907399173992739937399473995739967399773998739997400074001740027400374004740057400674007740087400974010740117401274013740147401574016740177401874019740207402174022740237402474025740267402774028740297403074031740327403374034740357403674037740387403974040740417404274043740447404574046740477404874049740507405174052740537405474055740567405774058740597406074061740627406374064740657406674067740687406974070740717407274073740747407574076740777407874079740807408174082740837408474085740867408774088740897409074091740927409374094740957409674097740987409974100741017410274103741047410574106741077410874109741107411174112741137411474115741167411774118741197412074121741227412374124741257412674127741287412974130741317413274133741347413574136741377413874139741407414174142741437414474145741467414774148741497415074151741527415374154741557415674157741587415974160741617416274163741647416574166741677416874169741707417174172741737417474175741767417774178741797418074181741827418374184741857418674187741887418974190741917419274193741947419574196741977419874199742007420174202742037420474205742067420774208742097421074211742127421374214742157421674217742187421974220742217422274223742247422574226742277422874229742307423174232742337423474235742367423774238742397424074241742427424374244742457424674247742487424974250742517425274253742547425574256742577425874259742607426174262742637426474265742667426774268742697427074271742727427374274742757427674277742787427974280742817428274283742847428574286742877428874289742907429174292742937429474295742967429774298742997430074301743027430374304743057430674307743087430974310743117431274313743147431574316743177431874319743207432174322743237432474325743267432774328743297433074331743327433374334743357433674337743387433974340743417434274343743447434574346743477434874349743507435174352743537435474355743567435774358743597436074361743627436374364743657436674367743687436974370743717437274373743747437574376743777437874379743807438174382743837438474385743867438774388743897439074391743927439374394743957439674397743987439974400744017440274403744047440574406744077440874409744107441174412744137441474415744167441774418744197442074421744227442374424744257442674427744287442974430744317443274433744347443574436744377443874439744407444174442744437444474445744467444774448744497445074451744527445374454744557445674457744587445974460744617446274463744647446574466744677446874469744707447174472744737447474475744767447774478744797448074481744827448374484744857448674487744887448974490744917449274493744947449574496744977449874499745007450174502745037450474505745067450774508745097451074511745127451374514745157451674517745187451974520745217452274523745247452574526745277452874529745307453174532745337453474535745367453774538745397454074541745427454374544745457454674547745487454974550745517455274553745547455574556745577455874559745607456174562745637456474565745667456774568745697457074571745727457374574745757457674577745787457974580745817458274583745847458574586745877458874589745907459174592745937459474595745967459774598745997460074601746027460374604746057460674607746087460974610746117461274613746147461574616746177461874619746207462174622746237462474625746267462774628746297463074631746327463374634746357463674637746387463974640746417464274643746447464574646746477464874649746507465174652746537465474655746567465774658746597466074661746627466374664746657466674667746687466974670746717467274673746747467574676746777467874679746807468174682746837468474685746867468774688746897469074691746927469374694746957469674697746987469974700747017470274703747047470574706747077470874709747107471174712747137471474715747167471774718747197472074721747227472374724747257472674727747287472974730747317473274733747347473574736747377473874739747407474174742747437474474745747467474774748747497475074751747527475374754747557475674757747587475974760747617476274763747647476574766747677476874769747707477174772747737477474775747767477774778747797478074781747827478374784747857478674787747887478974790747917479274793747947479574796747977479874799748007480174802748037480474805748067480774808748097481074811748127481374814748157481674817748187481974820748217482274823748247482574826748277482874829748307483174832748337483474835748367483774838748397484074841748427484374844748457484674847748487484974850748517485274853748547485574856748577485874859748607486174862748637486474865748667486774868748697487074871748727487374874748757487674877748787487974880748817488274883748847488574886748877488874889748907489174892748937489474895748967489774898748997490074901749027490374904749057490674907749087490974910749117491274913749147491574916749177491874919749207492174922749237492474925749267492774928749297493074931749327493374934749357493674937749387493974940749417494274943749447494574946749477494874949749507495174952749537495474955749567495774958749597496074961749627496374964749657496674967749687496974970749717497274973749747497574976749777497874979749807498174982749837498474985749867498774988749897499074991749927499374994749957499674997749987499975000750017500275003750047500575006750077500875009750107501175012750137501475015750167501775018750197502075021750227502375024750257502675027750287502975030750317503275033750347503575036750377503875039750407504175042750437504475045750467504775048750497505075051750527505375054750557505675057750587505975060750617506275063750647506575066750677506875069750707507175072750737507475075750767507775078750797508075081750827508375084750857508675087750887508975090750917509275093750947509575096750977509875099751007510175102751037510475105751067510775108751097511075111751127511375114751157511675117751187511975120751217512275123751247512575126751277512875129751307513175132751337513475135751367513775138751397514075141751427514375144751457514675147751487514975150751517515275153751547515575156751577515875159751607516175162751637516475165751667516775168751697517075171751727517375174751757517675177751787517975180751817518275183751847518575186751877518875189751907519175192751937519475195751967519775198751997520075201752027520375204752057520675207752087520975210752117521275213752147521575216752177521875219752207522175222752237522475225752267522775228752297523075231752327523375234752357523675237752387523975240752417524275243752447524575246752477524875249752507525175252752537525475255752567525775258752597526075261752627526375264752657526675267752687526975270752717527275273752747527575276752777527875279752807528175282752837528475285752867528775288752897529075291752927529375294752957529675297752987529975300753017530275303753047530575306753077530875309753107531175312753137531475315753167531775318753197532075321753227532375324753257532675327753287532975330753317533275333753347533575336753377533875339753407534175342753437534475345753467534775348753497535075351753527535375354753557535675357753587535975360753617536275363753647536575366753677536875369753707537175372753737537475375753767537775378753797538075381753827538375384753857538675387753887538975390753917539275393753947539575396753977539875399754007540175402754037540475405754067540775408754097541075411754127541375414754157541675417754187541975420754217542275423754247542575426754277542875429754307543175432754337543475435754367543775438754397544075441754427544375444754457544675447754487544975450754517545275453754547545575456754577545875459754607546175462754637546475465754667546775468754697547075471754727547375474754757547675477754787547975480754817548275483754847548575486754877548875489754907549175492754937549475495754967549775498754997550075501755027550375504755057550675507755087550975510755117551275513755147551575516755177551875519755207552175522755237552475525755267552775528755297553075531755327553375534755357553675537755387553975540755417554275543755447554575546755477554875549755507555175552755537555475555755567555775558755597556075561755627556375564755657556675567755687556975570755717557275573755747557575576755777557875579755807558175582755837558475585755867558775588755897559075591755927559375594755957559675597755987559975600756017560275603756047560575606756077560875609756107561175612756137561475615756167561775618756197562075621756227562375624756257562675627756287562975630756317563275633756347563575636756377563875639756407564175642756437564475645756467564775648756497565075651756527565375654756557565675657756587565975660756617566275663756647566575666756677566875669756707567175672756737567475675756767567775678756797568075681756827568375684756857568675687756887568975690756917569275693756947569575696756977569875699757007570175702757037570475705757067570775708757097571075711757127571375714757157571675717757187571975720757217572275723757247572575726757277572875729757307573175732757337573475735757367573775738757397574075741757427574375744757457574675747757487574975750757517575275753757547575575756757577575875759757607576175762757637576475765757667576775768757697577075771757727577375774757757577675777757787577975780757817578275783757847578575786757877578875789757907579175792757937579475795757967579775798757997580075801758027580375804758057580675807758087580975810758117581275813758147581575816758177581875819758207582175822758237582475825758267582775828758297583075831758327583375834758357583675837758387583975840758417584275843758447584575846758477584875849758507585175852758537585475855758567585775858758597586075861758627586375864758657586675867758687586975870758717587275873758747587575876758777587875879758807588175882758837588475885758867588775888758897589075891758927589375894758957589675897758987589975900759017590275903759047590575906759077590875909759107591175912759137591475915759167591775918759197592075921759227592375924759257592675927759287592975930759317593275933759347593575936759377593875939759407594175942759437594475945759467594775948759497595075951759527595375954759557595675957759587595975960759617596275963759647596575966759677596875969759707597175972759737597475975759767597775978759797598075981759827598375984759857598675987759887598975990759917599275993759947599575996759977599875999760007600176002760037600476005760067600776008760097601076011760127601376014760157601676017760187601976020760217602276023760247602576026760277602876029760307603176032760337603476035760367603776038760397604076041760427604376044760457604676047760487604976050760517605276053760547605576056760577605876059760607606176062760637606476065760667606776068760697607076071760727607376074760757607676077760787607976080760817608276083760847608576086760877608876089760907609176092760937609476095760967609776098760997610076101761027610376104761057610676107761087610976110761117611276113761147611576116761177611876119761207612176122761237612476125761267612776128761297613076131761327613376134761357613676137761387613976140761417614276143761447614576146761477614876149761507615176152761537615476155761567615776158761597616076161761627616376164761657616676167761687616976170761717617276173761747617576176761777617876179761807618176182761837618476185761867618776188761897619076191761927619376194761957619676197761987619976200762017620276203762047620576206762077620876209762107621176212762137621476215762167621776218762197622076221762227622376224762257622676227762287622976230762317623276233762347623576236762377623876239762407624176242762437624476245762467624776248762497625076251762527625376254762557625676257762587625976260762617626276263762647626576266762677626876269762707627176272762737627476275762767627776278762797628076281762827628376284762857628676287762887628976290762917629276293762947629576296762977629876299763007630176302763037630476305763067630776308763097631076311763127631376314763157631676317763187631976320763217632276323763247632576326763277632876329763307633176332763337633476335763367633776338763397634076341763427634376344763457634676347763487634976350763517635276353763547635576356763577635876359763607636176362763637636476365763667636776368763697637076371763727637376374763757637676377763787637976380763817638276383763847638576386763877638876389763907639176392763937639476395763967639776398763997640076401764027640376404764057640676407764087640976410764117641276413764147641576416764177641876419764207642176422764237642476425764267642776428764297643076431764327643376434764357643676437764387643976440764417644276443764447644576446764477644876449764507645176452764537645476455764567645776458764597646076461764627646376464764657646676467764687646976470764717647276473764747647576476764777647876479764807648176482764837648476485764867648776488764897649076491764927649376494764957649676497764987649976500765017650276503765047650576506765077650876509765107651176512765137651476515765167651776518765197652076521765227652376524765257652676527765287652976530765317653276533765347653576536765377653876539765407654176542765437654476545765467654776548765497655076551765527655376554765557655676557765587655976560765617656276563765647656576566765677656876569765707657176572765737657476575765767657776578765797658076581765827658376584765857658676587765887658976590765917659276593765947659576596765977659876599766007660176602766037660476605766067660776608766097661076611766127661376614766157661676617766187661976620766217662276623766247662576626766277662876629766307663176632766337663476635766367663776638766397664076641766427664376644766457664676647766487664976650766517665276653766547665576656766577665876659766607666176662766637666476665766667666776668766697667076671766727667376674766757667676677766787667976680766817668276683766847668576686766877668876689766907669176692766937669476695766967669776698766997670076701767027670376704767057670676707767087670976710767117671276713767147671576716767177671876719767207672176722767237672476725767267672776728767297673076731767327673376734767357673676737767387673976740767417674276743767447674576746767477674876749767507675176752767537675476755767567675776758767597676076761767627676376764767657676676767767687676976770767717677276773767747677576776767777677876779767807678176782767837678476785767867678776788767897679076791767927679376794767957679676797767987679976800768017680276803768047680576806768077680876809768107681176812768137681476815768167681776818768197682076821768227682376824768257682676827768287682976830768317683276833768347683576836768377683876839768407684176842768437684476845768467684776848768497685076851768527685376854768557685676857768587685976860768617686276863768647686576866768677686876869768707687176872768737687476875768767687776878768797688076881768827688376884768857688676887768887688976890768917689276893768947689576896768977689876899769007690176902769037690476905769067690776908769097691076911769127691376914769157691676917769187691976920769217692276923769247692576926769277692876929769307693176932769337693476935769367693776938769397694076941769427694376944769457694676947769487694976950769517695276953769547695576956769577695876959769607696176962769637696476965769667696776968769697697076971769727697376974769757697676977769787697976980769817698276983769847698576986769877698876989769907699176992769937699476995769967699776998769997700077001770027700377004770057700677007770087700977010770117701277013770147701577016770177701877019770207702177022770237702477025770267702777028770297703077031770327703377034770357703677037770387703977040770417704277043770447704577046770477704877049770507705177052770537705477055770567705777058770597706077061770627706377064770657706677067770687706977070770717707277073770747707577076770777707877079770807708177082770837708477085770867708777088770897709077091770927709377094770957709677097770987709977100771017710277103771047710577106771077710877109771107711177112771137711477115771167711777118771197712077121771227712377124771257712677127771287712977130771317713277133771347713577136771377713877139771407714177142771437714477145771467714777148771497715077151771527715377154771557715677157771587715977160771617716277163771647716577166771677716877169771707717177172771737717477175771767717777178771797718077181771827718377184771857718677187771887718977190771917719277193771947719577196771977719877199772007720177202772037720477205772067720777208772097721077211772127721377214772157721677217772187721977220772217722277223772247722577226772277722877229772307723177232772337723477235772367723777238772397724077241772427724377244772457724677247772487724977250772517725277253772547725577256772577725877259772607726177262772637726477265772667726777268772697727077271772727727377274772757727677277772787727977280772817728277283772847728577286772877728877289772907729177292772937729477295772967729777298772997730077301773027730377304773057730677307773087730977310773117731277313773147731577316773177731877319773207732177322773237732477325773267732777328773297733077331773327733377334773357733677337773387733977340773417734277343773447734577346773477734877349773507735177352773537735477355773567735777358773597736077361773627736377364773657736677367773687736977370773717737277373773747737577376773777737877379773807738177382773837738477385773867738777388773897739077391773927739377394773957739677397773987739977400774017740277403774047740577406774077740877409774107741177412774137741477415774167741777418774197742077421774227742377424774257742677427774287742977430774317743277433774347743577436774377743877439774407744177442774437744477445774467744777448774497745077451774527745377454774557745677457774587745977460774617746277463774647746577466774677746877469774707747177472774737747477475774767747777478774797748077481774827748377484774857748677487774887748977490774917749277493774947749577496774977749877499775007750177502775037750477505775067750777508775097751077511775127751377514775157751677517775187751977520775217752277523775247752577526775277752877529775307753177532775337753477535775367753777538775397754077541775427754377544775457754677547775487754977550775517755277553775547755577556775577755877559775607756177562775637756477565775667756777568775697757077571775727757377574775757757677577775787757977580775817758277583775847758577586775877758877589775907759177592775937759477595775967759777598775997760077601776027760377604776057760677607776087760977610776117761277613776147761577616776177761877619776207762177622776237762477625776267762777628776297763077631776327763377634776357763677637776387763977640776417764277643776447764577646776477764877649776507765177652776537765477655776567765777658776597766077661776627766377664776657766677667776687766977670776717767277673776747767577676776777767877679776807768177682776837768477685776867768777688776897769077691776927769377694776957769677697776987769977700777017770277703777047770577706777077770877709777107771177712777137771477715777167771777718777197772077721777227772377724777257772677727777287772977730777317773277733777347773577736777377773877739777407774177742777437774477745777467774777748777497775077751777527775377754777557775677757777587775977760777617776277763777647776577766777677776877769777707777177772777737777477775777767777777778777797778077781777827778377784777857778677787777887778977790777917779277793777947779577796777977779877799778007780177802778037780477805778067780777808778097781077811778127781377814778157781677817778187781977820778217782277823778247782577826778277782877829778307783177832778337783477835778367783777838778397784077841778427784377844778457784677847778487784977850778517785277853778547785577856778577785877859778607786177862778637786477865778667786777868778697787077871778727787377874778757787677877778787787977880778817788277883778847788577886778877788877889778907789177892778937789477895778967789777898778997790077901779027790377904779057790677907779087790977910779117791277913779147791577916779177791877919779207792177922779237792477925779267792777928779297793077931779327793377934779357793677937779387793977940779417794277943779447794577946779477794877949779507795177952779537795477955779567795777958779597796077961779627796377964779657796677967779687796977970779717797277973779747797577976779777797877979779807798177982779837798477985779867798777988779897799077991779927799377994779957799677997779987799978000780017800278003780047800578006780077800878009780107801178012780137801478015780167801778018780197802078021780227802378024780257802678027780287802978030780317803278033780347803578036780377803878039780407804178042780437804478045780467804778048780497805078051780527805378054780557805678057780587805978060780617806278063780647806578066780677806878069780707807178072780737807478075780767807778078780797808078081780827808378084780857808678087780887808978090780917809278093780947809578096780977809878099781007810178102781037810478105781067810778108781097811078111781127811378114781157811678117781187811978120781217812278123781247812578126781277812878129781307813178132781337813478135781367813778138781397814078141781427814378144781457814678147781487814978150781517815278153781547815578156781577815878159781607816178162781637816478165781667816778168781697817078171781727817378174781757817678177781787817978180781817818278183781847818578186781877818878189781907819178192781937819478195781967819778198781997820078201782027820378204782057820678207782087820978210782117821278213782147821578216782177821878219782207822178222782237822478225782267822778228782297823078231782327823378234782357823678237782387823978240782417824278243782447824578246782477824878249782507825178252782537825478255782567825778258782597826078261782627826378264782657826678267782687826978270782717827278273782747827578276782777827878279782807828178282782837828478285782867828778288782897829078291782927829378294782957829678297782987829978300783017830278303783047830578306783077830878309783107831178312783137831478315783167831778318783197832078321783227832378324783257832678327783287832978330783317833278333783347833578336783377833878339783407834178342783437834478345783467834778348783497835078351783527835378354783557835678357783587835978360783617836278363783647836578366783677836878369783707837178372783737837478375783767837778378783797838078381783827838378384783857838678387783887838978390783917839278393783947839578396783977839878399784007840178402784037840478405784067840778408784097841078411784127841378414784157841678417784187841978420784217842278423784247842578426784277842878429784307843178432784337843478435784367843778438784397844078441784427844378444784457844678447784487844978450784517845278453784547845578456784577845878459784607846178462784637846478465784667846778468784697847078471784727847378474784757847678477784787847978480784817848278483784847848578486784877848878489784907849178492784937849478495784967849778498784997850078501785027850378504785057850678507785087850978510785117851278513785147851578516785177851878519785207852178522785237852478525785267852778528785297853078531785327853378534785357853678537785387853978540785417854278543785447854578546785477854878549785507855178552785537855478555785567855778558785597856078561785627856378564785657856678567785687856978570785717857278573785747857578576785777857878579785807858178582785837858478585785867858778588785897859078591785927859378594785957859678597785987859978600786017860278603786047860578606786077860878609786107861178612786137861478615786167861778618786197862078621786227862378624786257862678627786287862978630786317863278633786347863578636786377863878639786407864178642786437864478645786467864778648786497865078651786527865378654786557865678657786587865978660786617866278663786647866578666786677866878669786707867178672786737867478675786767867778678786797868078681786827868378684786857868678687786887868978690786917869278693786947869578696786977869878699787007870178702787037870478705787067870778708787097871078711787127871378714787157871678717787187871978720787217872278723787247872578726787277872878729787307873178732787337873478735787367873778738787397874078741787427874378744787457874678747787487874978750787517875278753787547875578756787577875878759787607876178762787637876478765787667876778768787697877078771787727877378774787757877678777787787877978780787817878278783787847878578786787877878878789787907879178792787937879478795787967879778798787997880078801788027880378804788057880678807788087880978810788117881278813788147881578816788177881878819788207882178822788237882478825788267882778828788297883078831788327883378834788357883678837788387883978840788417884278843788447884578846788477884878849788507885178852788537885478855788567885778858788597886078861788627886378864788657886678867788687886978870788717887278873788747887578876788777887878879788807888178882788837888478885788867888778888788897889078891788927889378894788957889678897788987889978900789017890278903789047890578906789077890878909789107891178912789137891478915789167891778918789197892078921789227892378924789257892678927789287892978930789317893278933789347893578936789377893878939789407894178942789437894478945789467894778948789497895078951789527895378954789557895678957789587895978960789617896278963789647896578966789677896878969789707897178972789737897478975789767897778978789797898078981789827898378984789857898678987789887898978990789917899278993789947899578996789977899878999790007900179002790037900479005790067900779008790097901079011790127901379014790157901679017790187901979020790217902279023790247902579026790277902879029790307903179032790337903479035790367903779038790397904079041790427904379044790457904679047790487904979050790517905279053790547905579056790577905879059790607906179062790637906479065790667906779068790697907079071790727907379074790757907679077790787907979080790817908279083790847908579086790877908879089790907909179092790937909479095790967909779098790997910079101791027910379104791057910679107791087910979110791117911279113791147911579116791177911879119791207912179122791237912479125791267912779128791297913079131791327913379134791357913679137791387913979140791417914279143791447914579146791477914879149791507915179152791537915479155791567915779158791597916079161791627916379164791657916679167791687916979170791717917279173791747917579176791777917879179791807918179182791837918479185791867918779188791897919079191791927919379194791957919679197791987919979200792017920279203792047920579206792077920879209792107921179212792137921479215792167921779218792197922079221792227922379224792257922679227792287922979230792317923279233792347923579236792377923879239792407924179242792437924479245792467924779248792497925079251792527925379254792557925679257792587925979260792617926279263792647926579266792677926879269792707927179272792737927479275792767927779278792797928079281792827928379284792857928679287792887928979290792917929279293792947929579296792977929879299793007930179302793037930479305793067930779308793097931079311793127931379314793157931679317793187931979320793217932279323793247932579326793277932879329793307933179332793337933479335793367933779338793397934079341793427934379344793457934679347793487934979350793517935279353793547935579356793577935879359793607936179362793637936479365793667936779368793697937079371793727937379374793757937679377793787937979380793817938279383793847938579386793877938879389793907939179392793937939479395793967939779398793997940079401794027940379404794057940679407794087940979410794117941279413794147941579416794177941879419794207942179422794237942479425794267942779428794297943079431794327943379434794357943679437794387943979440794417944279443794447944579446794477944879449794507945179452794537945479455794567945779458794597946079461794627946379464794657946679467794687946979470794717947279473794747947579476794777947879479794807948179482794837948479485794867948779488794897949079491794927949379494794957949679497794987949979500795017950279503795047950579506795077950879509795107951179512795137951479515795167951779518795197952079521795227952379524795257952679527795287952979530795317953279533795347953579536795377953879539795407954179542795437954479545795467954779548795497955079551795527955379554795557955679557795587955979560795617956279563795647956579566795677956879569795707957179572795737957479575795767957779578795797958079581795827958379584795857958679587795887958979590795917959279593795947959579596795977959879599796007960179602796037960479605796067960779608796097961079611796127961379614796157961679617796187961979620796217962279623796247962579626796277962879629796307963179632796337963479635796367963779638796397964079641796427964379644796457964679647796487964979650796517965279653796547965579656796577965879659796607966179662796637966479665796667966779668796697967079671796727967379674796757967679677796787967979680796817968279683796847968579686796877968879689796907969179692796937969479695796967969779698796997970079701797027970379704797057970679707797087970979710797117971279713797147971579716797177971879719797207972179722797237972479725797267972779728797297973079731797327973379734797357973679737797387973979740797417974279743797447974579746797477974879749797507975179752797537975479755797567975779758797597976079761797627976379764797657976679767797687976979770797717977279773797747977579776797777977879779797807978179782797837978479785797867978779788797897979079791797927979379794797957979679797797987979979800798017980279803798047980579806798077980879809798107981179812798137981479815798167981779818798197982079821798227982379824798257982679827798287982979830798317983279833798347983579836798377983879839798407984179842798437984479845798467984779848798497985079851798527985379854798557985679857798587985979860798617986279863798647986579866798677986879869798707987179872798737987479875798767987779878798797988079881798827988379884798857988679887798887988979890798917989279893798947989579896798977989879899799007990179902799037990479905799067990779908799097991079911799127991379914799157991679917799187991979920799217992279923799247992579926799277992879929799307993179932799337993479935799367993779938799397994079941799427994379944799457994679947799487994979950799517995279953799547995579956799577995879959799607996179962799637996479965799667996779968799697997079971799727997379974799757997679977799787997979980799817998279983799847998579986799877998879989799907999179992799937999479995799967999779998799998000080001800028000380004800058000680007800088000980010800118001280013800148001580016800178001880019800208002180022800238002480025800268002780028800298003080031800328003380034800358003680037800388003980040800418004280043800448004580046800478004880049800508005180052800538005480055800568005780058800598006080061800628006380064800658006680067800688006980070800718007280073800748007580076800778007880079800808008180082800838008480085800868008780088800898009080091800928009380094800958009680097800988009980100801018010280103801048010580106801078010880109801108011180112801138011480115801168011780118801198012080121801228012380124801258012680127801288012980130801318013280133801348013580136801378013880139801408014180142801438014480145801468014780148801498015080151801528015380154801558015680157801588015980160801618016280163801648016580166801678016880169801708017180172801738017480175801768017780178801798018080181801828018380184801858018680187801888018980190801918019280193801948019580196801978019880199802008020180202802038020480205802068020780208802098021080211802128021380214802158021680217802188021980220802218022280223802248022580226802278022880229802308023180232802338023480235802368023780238802398024080241802428024380244802458024680247802488024980250802518025280253802548025580256802578025880259802608026180262802638026480265802668026780268802698027080271802728027380274802758027680277802788027980280802818028280283802848028580286802878028880289802908029180292802938029480295802968029780298802998030080301803028030380304803058030680307803088030980310803118031280313803148031580316803178031880319803208032180322803238032480325803268032780328803298033080331803328033380334803358033680337803388033980340803418034280343803448034580346803478034880349803508035180352803538035480355803568035780358803598036080361803628036380364803658036680367803688036980370803718037280373803748037580376803778037880379803808038180382803838038480385803868038780388803898039080391803928039380394803958039680397803988039980400804018040280403804048040580406804078040880409804108041180412804138041480415804168041780418804198042080421804228042380424804258042680427804288042980430804318043280433804348043580436804378043880439804408044180442804438044480445804468044780448804498045080451804528045380454804558045680457804588045980460804618046280463804648046580466804678046880469804708047180472804738047480475804768047780478804798048080481804828048380484804858048680487804888048980490804918049280493804948049580496804978049880499805008050180502805038050480505805068050780508805098051080511805128051380514805158051680517805188051980520805218052280523805248052580526805278052880529805308053180532805338053480535805368053780538805398054080541805428054380544805458054680547805488054980550805518055280553805548055580556805578055880559805608056180562805638056480565805668056780568805698057080571805728057380574805758057680577805788057980580805818058280583805848058580586805878058880589805908059180592805938059480595805968059780598805998060080601806028060380604806058060680607806088060980610806118061280613806148061580616806178061880619806208062180622806238062480625806268062780628806298063080631806328063380634806358063680637806388063980640806418064280643806448064580646806478064880649806508065180652806538065480655806568065780658806598066080661806628066380664806658066680667806688066980670806718067280673806748067580676806778067880679806808068180682806838068480685806868068780688806898069080691806928069380694806958069680697806988069980700807018070280703807048070580706807078070880709807108071180712807138071480715807168071780718807198072080721807228072380724807258072680727807288072980730807318073280733807348073580736807378073880739807408074180742807438074480745807468074780748807498075080751807528075380754807558075680757807588075980760807618076280763807648076580766807678076880769807708077180772807738077480775807768077780778807798078080781807828078380784807858078680787807888078980790807918079280793807948079580796807978079880799808008080180802808038080480805808068080780808808098081080811808128081380814808158081680817808188081980820808218082280823808248082580826808278082880829808308083180832808338083480835808368083780838808398084080841808428084380844808458084680847808488084980850808518085280853808548085580856808578085880859808608086180862808638086480865808668086780868808698087080871808728087380874808758087680877808788087980880808818088280883808848088580886808878088880889808908089180892808938089480895808968089780898808998090080901809028090380904809058090680907809088090980910809118091280913809148091580916809178091880919809208092180922809238092480925809268092780928809298093080931809328093380934809358093680937809388093980940809418094280943809448094580946809478094880949809508095180952809538095480955809568095780958809598096080961809628096380964809658096680967809688096980970809718097280973809748097580976809778097880979809808098180982809838098480985809868098780988809898099080991809928099380994809958099680997809988099981000810018100281003810048100581006810078100881009810108101181012810138101481015810168101781018810198102081021810228102381024810258102681027810288102981030810318103281033810348103581036810378103881039810408104181042810438104481045810468104781048810498105081051810528105381054810558105681057810588105981060810618106281063810648106581066810678106881069810708107181072810738107481075810768107781078810798108081081810828108381084810858108681087810888108981090810918109281093810948109581096810978109881099811008110181102811038110481105811068110781108811098111081111811128111381114811158111681117811188111981120811218112281123811248112581126811278112881129811308113181132811338113481135811368113781138811398114081141811428114381144811458114681147811488114981150811518115281153811548115581156811578115881159811608116181162811638116481165811668116781168811698117081171811728117381174811758117681177811788117981180811818118281183811848118581186811878118881189811908119181192811938119481195811968119781198811998120081201812028120381204812058120681207812088120981210812118121281213812148121581216812178121881219812208122181222812238122481225812268122781228812298123081231812328123381234812358123681237812388123981240812418124281243812448124581246812478124881249812508125181252812538125481255812568125781258812598126081261812628126381264812658126681267812688126981270812718127281273812748127581276812778127881279812808128181282812838128481285812868128781288812898129081291812928129381294812958129681297812988129981300813018130281303813048130581306813078130881309813108131181312813138131481315813168131781318813198132081321813228132381324813258132681327813288132981330813318133281333813348133581336813378133881339813408134181342813438134481345813468134781348813498135081351813528135381354813558135681357813588135981360813618136281363813648136581366813678136881369813708137181372813738137481375813768137781378813798138081381813828138381384813858138681387813888138981390813918139281393813948139581396813978139881399814008140181402814038140481405814068140781408814098141081411814128141381414814158141681417814188141981420814218142281423814248142581426814278142881429814308143181432814338143481435814368143781438814398144081441814428144381444814458144681447814488144981450814518145281453814548145581456814578145881459814608146181462814638146481465814668146781468814698147081471814728147381474814758147681477814788147981480814818148281483814848148581486814878148881489814908149181492814938149481495814968149781498814998150081501815028150381504815058150681507815088150981510815118151281513815148151581516815178151881519815208152181522815238152481525815268152781528815298153081531815328153381534815358153681537815388153981540815418154281543815448154581546815478154881549815508155181552815538155481555815568155781558815598156081561815628156381564815658156681567815688156981570815718157281573815748157581576815778157881579815808158181582815838158481585815868158781588815898159081591815928159381594815958159681597815988159981600816018160281603816048160581606816078160881609816108161181612816138161481615816168161781618816198162081621816228162381624816258162681627816288162981630816318163281633816348163581636816378163881639816408164181642816438164481645816468164781648816498165081651816528165381654816558165681657816588165981660816618166281663816648166581666816678166881669816708167181672816738167481675816768167781678816798168081681816828168381684816858168681687816888168981690816918169281693816948169581696816978169881699817008170181702817038170481705817068170781708817098171081711817128171381714817158171681717817188171981720817218172281723817248172581726817278172881729817308173181732817338173481735817368173781738817398174081741817428174381744817458174681747817488174981750817518175281753817548175581756817578175881759817608176181762817638176481765817668176781768817698177081771817728177381774817758177681777817788177981780817818178281783817848178581786817878178881789817908179181792817938179481795817968179781798817998180081801818028180381804818058180681807818088180981810818118181281813818148181581816818178181881819818208182181822818238182481825818268182781828818298183081831818328183381834818358183681837818388183981840818418184281843818448184581846818478184881849818508185181852818538185481855818568185781858818598186081861818628186381864818658186681867818688186981870818718187281873818748187581876818778187881879818808188181882818838188481885818868188781888818898189081891818928189381894818958189681897818988189981900819018190281903819048190581906819078190881909819108191181912819138191481915819168191781918819198192081921819228192381924819258192681927819288192981930819318193281933819348193581936819378193881939819408194181942819438194481945819468194781948819498195081951819528195381954819558195681957819588195981960819618196281963819648196581966819678196881969819708197181972819738197481975819768197781978819798198081981819828198381984819858198681987819888198981990819918199281993819948199581996819978199881999820008200182002820038200482005820068200782008820098201082011820128201382014820158201682017820188201982020820218202282023820248202582026820278202882029820308203182032820338203482035820368203782038820398204082041820428204382044820458204682047820488204982050820518205282053820548205582056820578205882059820608206182062820638206482065820668206782068820698207082071820728207382074820758207682077820788207982080820818208282083820848208582086820878208882089820908209182092820938209482095820968209782098820998210082101821028210382104821058210682107821088210982110821118211282113821148211582116821178211882119821208212182122821238212482125821268212782128821298213082131821328213382134821358213682137821388213982140821418214282143821448214582146821478214882149821508215182152821538215482155821568215782158821598216082161821628216382164821658216682167821688216982170821718217282173821748217582176821778217882179821808218182182821838218482185821868218782188821898219082191821928219382194821958219682197821988219982200822018220282203822048220582206822078220882209822108221182212822138221482215822168221782218822198222082221822228222382224822258222682227822288222982230822318223282233822348223582236822378223882239822408224182242822438224482245822468224782248822498225082251822528225382254822558225682257822588225982260822618226282263822648226582266822678226882269822708227182272822738227482275822768227782278822798228082281822828228382284822858228682287822888228982290822918229282293822948229582296822978229882299823008230182302823038230482305823068230782308823098231082311823128231382314823158231682317823188231982320823218232282323823248232582326823278232882329823308233182332823338233482335823368233782338823398234082341823428234382344823458234682347823488234982350823518235282353823548235582356823578235882359823608236182362823638236482365823668236782368823698237082371823728237382374823758237682377823788237982380823818238282383823848238582386823878238882389823908239182392823938239482395823968239782398823998240082401824028240382404824058240682407824088240982410824118241282413824148241582416824178241882419824208242182422824238242482425824268242782428824298243082431824328243382434824358243682437824388243982440824418244282443824448244582446824478244882449824508245182452824538245482455824568245782458824598246082461824628246382464824658246682467824688246982470824718247282473824748247582476824778247882479824808248182482824838248482485824868248782488824898249082491824928249382494824958249682497824988249982500825018250282503825048250582506825078250882509825108251182512825138251482515825168251782518825198252082521825228252382524825258252682527825288252982530825318253282533825348253582536825378253882539825408254182542825438254482545825468254782548825498255082551825528255382554825558255682557825588255982560825618256282563825648256582566825678256882569825708257182572825738257482575825768257782578825798258082581825828258382584825858258682587825888258982590825918259282593825948259582596825978259882599826008260182602826038260482605826068260782608826098261082611826128261382614826158261682617826188261982620826218262282623826248262582626826278262882629826308263182632826338263482635826368263782638826398264082641826428264382644826458264682647826488264982650826518265282653826548265582656826578265882659826608266182662826638266482665826668266782668826698267082671826728267382674826758267682677826788267982680826818268282683826848268582686826878268882689826908269182692826938269482695826968269782698826998270082701827028270382704827058270682707827088270982710827118271282713827148271582716827178271882719827208272182722827238272482725827268272782728827298273082731827328273382734827358273682737827388273982740827418274282743827448274582746827478274882749827508275182752827538275482755827568275782758827598276082761827628276382764827658276682767827688276982770827718277282773827748277582776827778277882779827808278182782827838278482785827868278782788827898279082791827928279382794827958279682797827988279982800828018280282803828048280582806828078280882809828108281182812828138281482815828168281782818828198282082821828228282382824828258282682827828288282982830828318283282833828348283582836828378283882839828408284182842828438284482845828468284782848828498285082851828528285382854828558285682857828588285982860828618286282863828648286582866828678286882869828708287182872828738287482875828768287782878828798288082881828828288382884828858288682887828888288982890828918289282893828948289582896828978289882899829008290182902829038290482905829068290782908829098291082911829128291382914829158291682917829188291982920829218292282923829248292582926829278292882929829308293182932829338293482935829368293782938829398294082941829428294382944829458294682947829488294982950829518295282953829548295582956829578295882959829608296182962829638296482965829668296782968829698297082971829728297382974829758297682977829788297982980829818298282983829848298582986829878298882989829908299182992829938299482995829968299782998829998300083001830028300383004830058300683007830088300983010830118301283013830148301583016830178301883019830208302183022830238302483025830268302783028830298303083031830328303383034830358303683037830388303983040830418304283043830448304583046830478304883049830508305183052830538305483055830568305783058830598306083061830628306383064830658306683067830688306983070830718307283073830748307583076830778307883079830808308183082830838308483085830868308783088830898309083091830928309383094830958309683097830988309983100831018310283103831048310583106831078310883109831108311183112831138311483115831168311783118831198312083121831228312383124831258312683127831288312983130831318313283133831348313583136831378313883139831408314183142831438314483145831468314783148831498315083151831528315383154831558315683157831588315983160831618316283163831648316583166831678316883169831708317183172831738317483175831768317783178831798318083181831828318383184831858318683187831888318983190831918319283193831948319583196831978319883199832008320183202832038320483205832068320783208832098321083211832128321383214832158321683217832188321983220832218322283223832248322583226832278322883229832308323183232832338323483235832368323783238832398324083241832428324383244832458324683247832488324983250832518325283253832548325583256832578325883259832608326183262832638326483265832668326783268832698327083271832728327383274832758327683277832788327983280832818328283283832848328583286832878328883289832908329183292832938329483295832968329783298832998330083301833028330383304833058330683307833088330983310833118331283313833148331583316833178331883319833208332183322833238332483325833268332783328833298333083331833328333383334833358333683337833388333983340833418334283343833448334583346833478334883349833508335183352833538335483355833568335783358833598336083361833628336383364833658336683367833688336983370833718337283373833748337583376833778337883379833808338183382833838338483385833868338783388833898339083391833928339383394833958339683397833988339983400834018340283403834048340583406834078340883409834108341183412834138341483415834168341783418834198342083421834228342383424834258342683427834288342983430834318343283433834348343583436834378343883439834408344183442834438344483445834468344783448834498345083451834528345383454834558345683457834588345983460834618346283463834648346583466834678346883469834708347183472834738347483475834768347783478834798348083481834828348383484834858348683487834888348983490834918349283493834948349583496834978349883499835008350183502835038350483505835068350783508835098351083511835128351383514835158351683517835188351983520835218352283523835248352583526835278352883529835308353183532835338353483535835368353783538835398354083541835428354383544835458354683547835488354983550835518355283553835548355583556835578355883559835608356183562835638356483565835668356783568835698357083571835728357383574835758357683577835788357983580835818358283583835848358583586835878358883589835908359183592835938359483595835968359783598835998360083601836028360383604836058360683607836088360983610836118361283613836148361583616836178361883619836208362183622836238362483625836268362783628836298363083631836328363383634836358363683637836388363983640836418364283643836448364583646836478364883649836508365183652836538365483655836568365783658836598366083661836628366383664836658366683667836688366983670836718367283673836748367583676836778367883679836808368183682836838368483685836868368783688836898369083691836928369383694836958369683697836988369983700837018370283703837048370583706837078370883709837108371183712837138371483715837168371783718837198372083721837228372383724837258372683727837288372983730837318373283733837348373583736837378373883739837408374183742837438374483745837468374783748837498375083751837528375383754837558375683757837588375983760837618376283763837648376583766837678376883769837708377183772837738377483775837768377783778837798378083781837828378383784837858378683787837888378983790837918379283793837948379583796837978379883799838008380183802838038380483805838068380783808838098381083811838128381383814838158381683817838188381983820838218382283823838248382583826838278382883829838308383183832838338383483835838368383783838838398384083841838428384383844838458384683847838488384983850838518385283853838548385583856838578385883859838608386183862838638386483865838668386783868838698387083871838728387383874838758387683877838788387983880838818388283883838848388583886838878388883889838908389183892838938389483895838968389783898838998390083901839028390383904839058390683907839088390983910839118391283913839148391583916839178391883919839208392183922839238392483925839268392783928839298393083931839328393383934839358393683937839388393983940839418394283943839448394583946839478394883949839508395183952839538395483955839568395783958839598396083961839628396383964839658396683967839688396983970839718397283973839748397583976839778397883979839808398183982839838398483985839868398783988839898399083991839928399383994839958399683997839988399984000840018400284003840048400584006840078400884009840108401184012840138401484015840168401784018840198402084021840228402384024840258402684027840288402984030840318403284033840348403584036840378403884039840408404184042840438404484045840468404784048840498405084051840528405384054840558405684057840588405984060840618406284063840648406584066840678406884069840708407184072840738407484075840768407784078840798408084081840828408384084840858408684087840888408984090840918409284093840948409584096840978409884099841008410184102841038410484105841068410784108841098411084111841128411384114841158411684117841188411984120841218412284123841248412584126841278412884129841308413184132841338413484135841368413784138841398414084141841428414384144841458414684147841488414984150841518415284153841548415584156841578415884159841608416184162841638416484165841668416784168841698417084171841728417384174841758417684177841788417984180841818418284183841848418584186841878418884189841908419184192841938419484195841968419784198841998420084201842028420384204842058420684207842088420984210842118421284213842148421584216842178421884219842208422184222842238422484225842268422784228842298423084231842328423384234842358423684237842388423984240842418424284243842448424584246842478424884249842508425184252842538425484255842568425784258842598426084261842628426384264842658426684267842688426984270842718427284273842748427584276842778427884279842808428184282842838428484285842868428784288842898429084291842928429384294842958429684297842988429984300843018430284303843048430584306843078430884309843108431184312843138431484315843168431784318843198432084321843228432384324843258432684327843288432984330843318433284333843348433584336843378433884339843408434184342843438434484345843468434784348843498435084351843528435384354843558435684357843588435984360843618436284363843648436584366843678436884369843708437184372843738437484375843768437784378843798438084381843828438384384843858438684387843888438984390843918439284393843948439584396843978439884399844008440184402844038440484405844068440784408844098441084411844128441384414844158441684417844188441984420844218442284423844248442584426844278442884429844308443184432844338443484435844368443784438844398444084441844428444384444844458444684447844488444984450844518445284453844548445584456844578445884459844608446184462844638446484465844668446784468844698447084471844728447384474844758447684477844788447984480844818448284483844848448584486844878448884489844908449184492844938449484495844968449784498844998450084501845028450384504845058450684507845088450984510845118451284513845148451584516845178451884519845208452184522845238452484525845268452784528845298453084531845328453384534845358453684537845388453984540845418454284543845448454584546845478454884549845508455184552845538455484555845568455784558845598456084561845628456384564845658456684567845688456984570845718457284573845748457584576845778457884579845808458184582845838458484585845868458784588845898459084591845928459384594845958459684597845988459984600846018460284603846048460584606846078460884609846108461184612846138461484615846168461784618846198462084621846228462384624846258462684627846288462984630846318463284633846348463584636846378463884639846408464184642846438464484645846468464784648846498465084651846528465384654846558465684657846588465984660846618466284663846648466584666846678466884669846708467184672846738467484675846768467784678846798468084681846828468384684846858468684687846888468984690846918469284693846948469584696846978469884699847008470184702847038470484705847068470784708847098471084711847128471384714847158471684717847188471984720847218472284723847248472584726847278472884729847308473184732847338473484735847368473784738847398474084741847428474384744847458474684747847488474984750847518475284753847548475584756847578475884759847608476184762847638476484765847668476784768847698477084771847728477384774847758477684777847788477984780847818478284783847848478584786847878478884789847908479184792847938479484795847968479784798847998480084801848028480384804848058480684807848088480984810848118481284813848148481584816848178481884819848208482184822848238482484825848268482784828848298483084831848328483384834848358483684837848388483984840848418484284843848448484584846848478484884849848508485184852848538485484855848568485784858848598486084861848628486384864848658486684867848688486984870848718487284873848748487584876848778487884879848808488184882848838488484885848868488784888848898489084891848928489384894848958489684897848988489984900849018490284903849048490584906849078490884909849108491184912849138491484915849168491784918849198492084921849228492384924849258492684927849288492984930849318493284933849348493584936849378493884939849408494184942849438494484945849468494784948849498495084951849528495384954849558495684957849588495984960849618496284963849648496584966849678496884969849708497184972849738497484975849768497784978849798498084981849828498384984849858498684987849888498984990849918499284993849948499584996849978499884999850008500185002850038500485005850068500785008850098501085011850128501385014850158501685017850188501985020850218502285023850248502585026850278502885029850308503185032850338503485035850368503785038850398504085041850428504385044850458504685047850488504985050850518505285053850548505585056850578505885059850608506185062850638506485065850668506785068850698507085071850728507385074850758507685077850788507985080850818508285083850848508585086850878508885089850908509185092850938509485095850968509785098850998510085101851028510385104851058510685107851088510985110851118511285113851148511585116851178511885119851208512185122851238512485125851268512785128851298513085131851328513385134851358513685137851388513985140851418514285143851448514585146851478514885149851508515185152851538515485155851568515785158851598516085161851628516385164851658516685167851688516985170851718517285173851748517585176851778517885179851808518185182851838518485185851868518785188851898519085191851928519385194851958519685197851988519985200852018520285203852048520585206852078520885209852108521185212852138521485215852168521785218852198522085221852228522385224852258522685227852288522985230852318523285233852348523585236852378523885239852408524185242852438524485245852468524785248852498525085251852528525385254852558525685257852588525985260852618526285263852648526585266852678526885269852708527185272852738527485275852768527785278852798528085281852828528385284852858528685287852888528985290852918529285293852948529585296852978529885299853008530185302853038530485305853068530785308853098531085311853128531385314853158531685317853188531985320853218532285323853248532585326853278532885329853308533185332853338533485335853368533785338853398534085341853428534385344853458534685347853488534985350853518535285353853548535585356853578535885359853608536185362853638536485365853668536785368853698537085371853728537385374853758537685377853788537985380853818538285383853848538585386853878538885389853908539185392853938539485395853968539785398853998540085401854028540385404854058540685407854088540985410854118541285413854148541585416854178541885419854208542185422854238542485425854268542785428854298543085431854328543385434854358543685437854388543985440854418544285443854448544585446854478544885449854508545185452854538545485455854568545785458854598546085461854628546385464854658546685467854688546985470854718547285473854748547585476854778547885479854808548185482854838548485485854868548785488854898549085491854928549385494854958549685497854988549985500855018550285503855048550585506855078550885509855108551185512855138551485515855168551785518855198552085521855228552385524855258552685527855288552985530855318553285533855348553585536855378553885539855408554185542855438554485545855468554785548855498555085551855528555385554855558555685557855588555985560855618556285563855648556585566855678556885569855708557185572855738557485575855768557785578855798558085581855828558385584855858558685587855888558985590855918559285593855948559585596855978559885599856008560185602856038560485605856068560785608856098561085611856128561385614856158561685617856188561985620856218562285623856248562585626856278562885629856308563185632856338563485635856368563785638856398564085641856428564385644856458564685647856488564985650856518565285653856548565585656856578565885659856608566185662856638566485665856668566785668856698567085671856728567385674856758567685677856788567985680856818568285683856848568585686856878568885689856908569185692856938569485695856968569785698856998570085701857028570385704857058570685707857088570985710857118571285713857148571585716857178571885719857208572185722857238572485725857268572785728857298573085731857328573385734857358573685737857388573985740857418574285743857448574585746857478574885749857508575185752857538575485755857568575785758857598576085761857628576385764857658576685767857688576985770857718577285773857748577585776857778577885779857808578185782857838578485785857868578785788857898579085791857928579385794857958579685797857988579985800858018580285803858048580585806858078580885809858108581185812858138581485815858168581785818858198582085821858228582385824858258582685827858288582985830858318583285833858348583585836858378583885839858408584185842858438584485845858468584785848858498585085851858528585385854858558585685857858588585985860858618586285863858648586585866858678586885869858708587185872858738587485875858768587785878858798588085881858828588385884858858588685887858888588985890858918589285893858948589585896858978589885899859008590185902859038590485905859068590785908859098591085911859128591385914859158591685917859188591985920859218592285923859248592585926859278592885929859308593185932859338593485935859368593785938859398594085941859428594385944859458594685947859488594985950859518595285953859548595585956859578595885959859608596185962859638596485965859668596785968859698597085971859728597385974859758597685977859788597985980859818598285983859848598585986859878598885989859908599185992859938599485995859968599785998859998600086001860028600386004860058600686007860088600986010860118601286013860148601586016860178601886019860208602186022860238602486025860268602786028860298603086031860328603386034860358603686037860388603986040860418604286043860448604586046860478604886049860508605186052860538605486055860568605786058860598606086061860628606386064860658606686067860688606986070860718607286073860748607586076860778607886079860808608186082860838608486085860868608786088860898609086091860928609386094860958609686097860988609986100861018610286103861048610586106861078610886109861108611186112861138611486115861168611786118861198612086121861228612386124861258612686127861288612986130861318613286133861348613586136861378613886139861408614186142861438614486145861468614786148861498615086151861528615386154861558615686157861588615986160861618616286163861648616586166861678616886169861708617186172861738617486175861768617786178861798618086181861828618386184861858618686187861888618986190861918619286193861948619586196861978619886199862008620186202862038620486205862068620786208862098621086211862128621386214862158621686217862188621986220862218622286223862248622586226862278622886229862308623186232862338623486235862368623786238862398624086241862428624386244862458624686247862488624986250862518625286253862548625586256862578625886259862608626186262862638626486265862668626786268862698627086271862728627386274862758627686277862788627986280862818628286283862848628586286862878628886289862908629186292862938629486295862968629786298862998630086301863028630386304863058630686307863088630986310863118631286313863148631586316863178631886319863208632186322863238632486325863268632786328863298633086331863328633386334863358633686337863388633986340863418634286343863448634586346863478634886349863508635186352863538635486355863568635786358863598636086361863628636386364863658636686367863688636986370863718637286373863748637586376863778637886379863808638186382863838638486385863868638786388863898639086391863928639386394863958639686397863988639986400864018640286403864048640586406864078640886409864108641186412864138641486415864168641786418864198642086421864228642386424864258642686427864288642986430864318643286433864348643586436864378643886439864408644186442864438644486445864468644786448864498645086451864528645386454864558645686457864588645986460864618646286463864648646586466864678646886469864708647186472864738647486475864768647786478864798648086481864828648386484864858648686487864888648986490864918649286493864948649586496864978649886499865008650186502865038650486505865068650786508865098651086511865128651386514865158651686517865188651986520865218652286523865248652586526865278652886529865308653186532865338653486535865368653786538865398654086541865428654386544865458654686547865488654986550865518655286553865548655586556865578655886559865608656186562865638656486565865668656786568865698657086571865728657386574865758657686577865788657986580865818658286583865848658586586865878658886589865908659186592865938659486595865968659786598865998660086601866028660386604866058660686607866088660986610866118661286613866148661586616866178661886619866208662186622866238662486625866268662786628866298663086631866328663386634866358663686637866388663986640866418664286643866448664586646866478664886649866508665186652866538665486655866568665786658866598666086661866628666386664866658666686667866688666986670866718667286673866748667586676866778667886679866808668186682866838668486685866868668786688866898669086691866928669386694866958669686697866988669986700867018670286703867048670586706867078670886709867108671186712867138671486715867168671786718867198672086721867228672386724867258672686727867288672986730867318673286733867348673586736867378673886739867408674186742867438674486745867468674786748867498675086751867528675386754867558675686757867588675986760867618676286763867648676586766867678676886769867708677186772867738677486775867768677786778867798678086781867828678386784867858678686787867888678986790867918679286793867948679586796867978679886799868008680186802868038680486805868068680786808868098681086811868128681386814868158681686817868188681986820868218682286823868248682586826868278682886829868308683186832868338683486835868368683786838868398684086841868428684386844868458684686847868488684986850868518685286853868548685586856868578685886859868608686186862868638686486865868668686786868868698687086871868728687386874868758687686877868788687986880868818688286883868848688586886868878688886889868908689186892868938689486895868968689786898868998690086901869028690386904869058690686907869088690986910869118691286913869148691586916869178691886919869208692186922869238692486925869268692786928869298693086931869328693386934869358693686937869388693986940869418694286943869448694586946869478694886949869508695186952869538695486955869568695786958869598696086961869628696386964869658696686967869688696986970869718697286973869748697586976869778697886979869808698186982869838698486985869868698786988869898699086991869928699386994869958699686997869988699987000870018700287003870048700587006870078700887009870108701187012870138701487015870168701787018870198702087021870228702387024870258702687027870288702987030870318703287033870348703587036870378703887039870408704187042870438704487045870468704787048870498705087051870528705387054870558705687057870588705987060870618706287063870648706587066870678706887069870708707187072870738707487075870768707787078870798708087081870828708387084870858708687087870888708987090870918709287093870948709587096870978709887099871008710187102871038710487105871068710787108871098711087111871128711387114871158711687117871188711987120871218712287123871248712587126871278712887129871308713187132871338713487135871368713787138871398714087141871428714387144871458714687147871488714987150871518715287153871548715587156871578715887159871608716187162871638716487165871668716787168871698717087171871728717387174871758717687177871788717987180871818718287183871848718587186871878718887189871908719187192871938719487195871968719787198871998720087201872028720387204872058720687207872088720987210872118721287213872148721587216872178721887219872208722187222872238722487225872268722787228872298723087231872328723387234872358723687237872388723987240872418724287243872448724587246872478724887249872508725187252872538725487255872568725787258872598726087261872628726387264872658726687267872688726987270872718727287273872748727587276872778727887279872808728187282872838728487285872868728787288872898729087291872928729387294872958729687297872988729987300873018730287303873048730587306873078730887309873108731187312873138731487315873168731787318873198732087321873228732387324873258732687327873288732987330873318733287333873348733587336873378733887339873408734187342873438734487345873468734787348873498735087351873528735387354873558735687357873588735987360873618736287363873648736587366873678736887369873708737187372873738737487375873768737787378873798738087381873828738387384873858738687387873888738987390873918739287393873948739587396873978739887399874008740187402874038740487405874068740787408874098741087411874128741387414874158741687417874188741987420874218742287423874248742587426874278742887429874308743187432874338743487435874368743787438874398744087441874428744387444874458744687447874488744987450874518745287453874548745587456874578745887459874608746187462874638746487465874668746787468874698747087471874728747387474874758747687477874788747987480874818748287483874848748587486874878748887489874908749187492874938749487495874968749787498874998750087501875028750387504875058750687507875088750987510875118751287513875148751587516875178751887519875208752187522875238752487525875268752787528875298753087531875328753387534875358753687537875388753987540875418754287543875448754587546875478754887549875508755187552875538755487555875568755787558875598756087561875628756387564875658756687567875688756987570875718757287573875748757587576875778757887579875808758187582875838758487585875868758787588875898759087591875928759387594875958759687597875988759987600876018760287603876048760587606876078760887609876108761187612876138761487615876168761787618876198762087621876228762387624876258762687627876288762987630876318763287633876348763587636876378763887639876408764187642876438764487645876468764787648876498765087651876528765387654876558765687657876588765987660876618766287663876648766587666876678766887669876708767187672876738767487675876768767787678876798768087681876828768387684876858768687687876888768987690876918769287693876948769587696876978769887699877008770187702877038770487705877068770787708877098771087711877128771387714877158771687717877188771987720877218772287723877248772587726877278772887729877308773187732877338773487735877368773787738877398774087741877428774387744877458774687747877488774987750877518775287753877548775587756877578775887759877608776187762877638776487765877668776787768877698777087771877728777387774877758777687777877788777987780877818778287783877848778587786877878778887789877908779187792877938779487795877968779787798877998780087801878028780387804878058780687807878088780987810878118781287813878148781587816878178781887819878208782187822878238782487825878268782787828878298783087831878328783387834878358783687837878388783987840878418784287843878448784587846878478784887849878508785187852878538785487855878568785787858878598786087861878628786387864878658786687867878688786987870878718787287873878748787587876878778787887879878808788187882878838788487885878868788787888878898789087891878928789387894878958789687897878988789987900879018790287903879048790587906879078790887909879108791187912879138791487915879168791787918879198792087921879228792387924879258792687927879288792987930879318793287933879348793587936879378793887939879408794187942879438794487945879468794787948879498795087951879528795387954879558795687957879588795987960879618796287963879648796587966879678796887969879708797187972879738797487975879768797787978879798798087981879828798387984879858798687987879888798987990879918799287993879948799587996879978799887999880008800188002880038800488005880068800788008880098801088011880128801388014880158801688017880188801988020880218802288023880248802588026880278802888029880308803188032880338803488035880368803788038880398804088041880428804388044880458804688047880488804988050880518805288053880548805588056880578805888059880608806188062880638806488065880668806788068880698807088071880728807388074880758807688077880788807988080880818808288083880848808588086880878808888089880908809188092880938809488095880968809788098880998810088101881028810388104881058810688107881088810988110881118811288113881148811588116881178811888119881208812188122881238812488125881268812788128881298813088131881328813388134881358813688137881388813988140881418814288143881448814588146881478814888149881508815188152881538815488155881568815788158881598816088161881628816388164881658816688167881688816988170881718817288173881748817588176881778817888179881808818188182881838818488185881868818788188881898819088191881928819388194881958819688197881988819988200882018820288203882048820588206882078820888209882108821188212882138821488215882168821788218882198822088221882228822388224882258822688227882288822988230882318823288233882348823588236882378823888239882408824188242882438824488245882468824788248882498825088251882528825388254882558825688257882588825988260882618826288263882648826588266882678826888269882708827188272882738827488275882768827788278882798828088281882828828388284882858828688287882888828988290882918829288293882948829588296882978829888299883008830188302883038830488305883068830788308883098831088311883128831388314883158831688317883188831988320883218832288323883248832588326883278832888329883308833188332883338833488335883368833788338883398834088341883428834388344883458834688347883488834988350883518835288353883548835588356883578835888359883608836188362883638836488365883668836788368883698837088371883728837388374883758837688377883788837988380883818838288383883848838588386883878838888389883908839188392883938839488395883968839788398883998840088401884028840388404884058840688407884088840988410884118841288413884148841588416884178841888419884208842188422884238842488425884268842788428884298843088431884328843388434884358843688437884388843988440884418844288443884448844588446884478844888449884508845188452884538845488455884568845788458884598846088461884628846388464884658846688467884688846988470884718847288473884748847588476884778847888479884808848188482884838848488485884868848788488884898849088491884928849388494884958849688497884988849988500885018850288503885048850588506885078850888509885108851188512885138851488515885168851788518885198852088521885228852388524885258852688527885288852988530885318853288533885348853588536885378853888539885408854188542885438854488545885468854788548885498855088551885528855388554885558855688557885588855988560885618856288563885648856588566885678856888569885708857188572885738857488575885768857788578885798858088581885828858388584885858858688587885888858988590885918859288593885948859588596885978859888599886008860188602886038860488605886068860788608886098861088611886128861388614886158861688617886188861988620886218862288623886248862588626886278862888629886308863188632886338863488635886368863788638886398864088641886428864388644886458864688647886488864988650886518865288653886548865588656886578865888659886608866188662886638866488665886668866788668886698867088671886728867388674886758867688677886788867988680886818868288683886848868588686886878868888689886908869188692886938869488695886968869788698886998870088701887028870388704887058870688707887088870988710887118871288713887148871588716887178871888719887208872188722887238872488725887268872788728887298873088731887328873388734887358873688737887388873988740887418874288743887448874588746887478874888749887508875188752887538875488755887568875788758887598876088761887628876388764887658876688767887688876988770887718877288773887748877588776887778877888779887808878188782887838878488785887868878788788887898879088791887928879388794887958879688797887988879988800888018880288803888048880588806888078880888809888108881188812888138881488815888168881788818888198882088821888228882388824888258882688827888288882988830888318883288833888348883588836888378883888839888408884188842888438884488845888468884788848888498885088851888528885388854888558885688857888588885988860888618886288863888648886588866888678886888869888708887188872888738887488875888768887788878888798888088881888828888388884888858888688887888888888988890888918889288893888948889588896888978889888899889008890188902889038890488905889068890788908889098891088911889128891388914889158891688917889188891988920889218892288923889248892588926889278892888929889308893188932889338893488935889368893788938889398894088941889428894388944889458894688947889488894988950889518895288953889548895588956889578895888959889608896188962889638896488965889668896788968889698897088971889728897388974889758897688977889788897988980889818898288983889848898588986889878898888989889908899188992889938899488995889968899788998889998900089001890028900389004890058900689007890088900989010890118901289013890148901589016890178901889019890208902189022890238902489025890268902789028890298903089031890328903389034890358903689037890388903989040890418904289043890448904589046890478904889049890508905189052890538905489055890568905789058890598906089061890628906389064890658906689067890688906989070890718907289073890748907589076890778907889079890808908189082890838908489085890868908789088890898909089091890928909389094890958909689097890988909989100891018910289103891048910589106891078910889109891108911189112891138911489115891168911789118891198912089121891228912389124891258912689127891288912989130891318913289133891348913589136891378913889139891408914189142891438914489145891468914789148891498915089151891528915389154891558915689157891588915989160891618916289163891648916589166891678916889169891708917189172891738917489175891768917789178891798918089181891828918389184891858918689187891888918989190891918919289193891948919589196891978919889199892008920189202892038920489205892068920789208892098921089211892128921389214892158921689217892188921989220892218922289223892248922589226892278922889229892308923189232892338923489235892368923789238892398924089241892428924389244892458924689247892488924989250892518925289253892548925589256892578925889259892608926189262892638926489265892668926789268892698927089271892728927389274892758927689277892788927989280892818928289283892848928589286892878928889289892908929189292892938929489295892968929789298892998930089301893028930389304893058930689307893088930989310893118931289313893148931589316893178931889319893208932189322893238932489325893268932789328893298933089331893328933389334893358933689337893388933989340893418934289343893448934589346893478934889349893508935189352893538935489355893568935789358893598936089361893628936389364893658936689367893688936989370893718937289373893748937589376893778937889379893808938189382893838938489385893868938789388893898939089391893928939389394893958939689397893988939989400894018940289403894048940589406894078940889409894108941189412894138941489415894168941789418894198942089421894228942389424894258942689427894288942989430894318943289433894348943589436894378943889439894408944189442894438944489445894468944789448894498945089451894528945389454894558945689457894588945989460894618946289463894648946589466894678946889469894708947189472894738947489475894768947789478894798948089481894828948389484894858948689487894888948989490894918949289493894948949589496894978949889499895008950189502895038950489505895068950789508895098951089511895128951389514895158951689517895188951989520895218952289523895248952589526895278952889529895308953189532895338953489535895368953789538895398954089541895428954389544895458954689547895488954989550895518955289553895548955589556895578955889559895608956189562895638956489565895668956789568895698957089571895728957389574895758957689577895788957989580895818958289583895848958589586895878958889589895908959189592895938959489595895968959789598895998960089601896028960389604896058960689607896088960989610896118961289613896148961589616896178961889619896208962189622896238962489625896268962789628896298963089631896328963389634896358963689637896388963989640896418964289643896448964589646896478964889649896508965189652896538965489655896568965789658896598966089661896628966389664896658966689667896688966989670896718967289673896748967589676896778967889679896808968189682896838968489685896868968789688896898969089691896928969389694896958969689697896988969989700897018970289703897048970589706897078970889709897108971189712897138971489715897168971789718897198972089721897228972389724897258972689727897288972989730897318973289733897348973589736897378973889739897408974189742897438974489745897468974789748897498975089751897528975389754897558975689757897588975989760897618976289763897648976589766897678976889769897708977189772897738977489775897768977789778897798978089781897828978389784897858978689787897888978989790897918979289793897948979589796897978979889799898008980189802898038980489805898068980789808898098981089811898128981389814898158981689817898188981989820898218982289823898248982589826898278982889829898308983189832898338983489835898368983789838898398984089841898428984389844898458984689847898488984989850898518985289853898548985589856898578985889859898608986189862898638986489865898668986789868898698987089871898728987389874898758987689877898788987989880898818988289883898848988589886898878988889889898908989189892898938989489895898968989789898898998990089901899028990389904899058990689907899088990989910899118991289913899148991589916899178991889919899208992189922899238992489925899268992789928899298993089931899328993389934899358993689937899388993989940899418994289943899448994589946899478994889949899508995189952899538995489955899568995789958899598996089961899628996389964899658996689967899688996989970899718997289973899748997589976899778997889979899808998189982899838998489985899868998789988899898999089991899928999389994899958999689997899988999990000900019000290003900049000590006900079000890009900109001190012900139001490015900169001790018900199002090021900229002390024900259002690027900289002990030900319003290033900349003590036900379003890039900409004190042900439004490045900469004790048900499005090051900529005390054900559005690057900589005990060900619006290063900649006590066900679006890069900709007190072900739007490075900769007790078900799008090081900829008390084900859008690087900889008990090900919009290093900949009590096900979009890099901009010190102901039010490105901069010790108901099011090111901129011390114901159011690117901189011990120901219012290123901249012590126901279012890129901309013190132901339013490135901369013790138901399014090141901429014390144901459014690147901489014990150901519015290153901549015590156901579015890159901609016190162901639016490165901669016790168901699017090171901729017390174901759017690177901789017990180901819018290183901849018590186901879018890189901909019190192901939019490195901969019790198901999020090201902029020390204902059020690207902089020990210902119021290213902149021590216902179021890219902209022190222902239022490225902269022790228902299023090231902329023390234902359023690237902389023990240902419024290243902449024590246902479024890249902509025190252902539025490255902569025790258902599026090261902629026390264902659026690267902689026990270902719027290273902749027590276902779027890279902809028190282902839028490285902869028790288902899029090291902929029390294902959029690297902989029990300903019030290303903049030590306903079030890309903109031190312903139031490315903169031790318903199032090321903229032390324903259032690327903289032990330903319033290333903349033590336903379033890339903409034190342903439034490345903469034790348903499035090351903529035390354903559035690357903589035990360903619036290363903649036590366903679036890369903709037190372903739037490375903769037790378903799038090381903829038390384903859038690387903889038990390903919039290393903949039590396903979039890399904009040190402904039040490405904069040790408904099041090411904129041390414904159041690417904189041990420904219042290423904249042590426904279042890429904309043190432904339043490435904369043790438904399044090441904429044390444904459044690447904489044990450904519045290453904549045590456904579045890459904609046190462904639046490465904669046790468904699047090471904729047390474904759047690477904789047990480904819048290483904849048590486904879048890489904909049190492904939049490495904969049790498904999050090501905029050390504905059050690507905089050990510905119051290513905149051590516905179051890519905209052190522905239052490525905269052790528905299053090531905329053390534905359053690537905389053990540905419054290543905449054590546905479054890549905509055190552905539055490555905569055790558905599056090561905629056390564905659056690567905689056990570905719057290573905749057590576905779057890579905809058190582905839058490585905869058790588905899059090591905929059390594905959059690597905989059990600906019060290603906049060590606906079060890609906109061190612906139061490615906169061790618906199062090621906229062390624906259062690627906289062990630906319063290633906349063590636906379063890639906409064190642906439064490645906469064790648906499065090651906529065390654906559065690657906589065990660906619066290663906649066590666906679066890669906709067190672906739067490675906769067790678906799068090681906829068390684906859068690687906889068990690906919069290693906949069590696906979069890699907009070190702907039070490705907069070790708907099071090711907129071390714907159071690717907189071990720907219072290723907249072590726907279072890729907309073190732907339073490735907369073790738907399074090741907429074390744907459074690747907489074990750907519075290753907549075590756907579075890759907609076190762907639076490765907669076790768907699077090771907729077390774907759077690777907789077990780907819078290783907849078590786907879078890789907909079190792907939079490795907969079790798907999080090801908029080390804908059080690807908089080990810908119081290813908149081590816908179081890819908209082190822908239082490825908269082790828908299083090831908329083390834908359083690837908389083990840908419084290843908449084590846908479084890849908509085190852908539085490855908569085790858908599086090861908629086390864908659086690867908689086990870908719087290873908749087590876908779087890879908809088190882908839088490885908869088790888908899089090891908929089390894908959089690897908989089990900909019090290903909049090590906909079090890909909109091190912909139091490915909169091790918909199092090921909229092390924909259092690927909289092990930909319093290933909349093590936909379093890939909409094190942909439094490945909469094790948909499095090951909529095390954909559095690957909589095990960909619096290963909649096590966909679096890969909709097190972909739097490975909769097790978909799098090981909829098390984909859098690987909889098990990909919099290993909949099590996909979099890999910009100191002910039100491005910069100791008910099101091011910129101391014910159101691017910189101991020910219102291023910249102591026910279102891029910309103191032910339103491035910369103791038910399104091041910429104391044910459104691047910489104991050910519105291053910549105591056910579105891059910609106191062910639106491065910669106791068910699107091071910729107391074910759107691077910789107991080910819108291083910849108591086910879108891089910909109191092910939109491095910969109791098910999110091101911029110391104911059110691107911089110991110911119111291113911149111591116911179111891119911209112191122911239112491125911269112791128911299113091131911329113391134911359113691137911389113991140911419114291143911449114591146911479114891149911509115191152911539115491155911569115791158911599116091161911629116391164911659116691167911689116991170911719117291173911749117591176911779117891179911809118191182911839118491185911869118791188911899119091191911929119391194911959119691197911989119991200912019120291203912049120591206912079120891209912109121191212912139121491215912169121791218912199122091221912229122391224912259122691227912289122991230912319123291233912349123591236912379123891239912409124191242912439124491245912469124791248912499125091251912529125391254912559125691257912589125991260912619126291263912649126591266912679126891269912709127191272912739127491275912769127791278912799128091281912829128391284912859128691287912889128991290912919129291293912949129591296912979129891299913009130191302913039130491305913069130791308913099131091311913129131391314913159131691317913189131991320913219132291323913249132591326913279132891329913309133191332913339133491335913369133791338913399134091341913429134391344913459134691347913489134991350913519135291353913549135591356913579135891359913609136191362913639136491365913669136791368913699137091371913729137391374913759137691377913789137991380913819138291383913849138591386913879138891389913909139191392913939139491395913969139791398913999140091401914029140391404914059140691407914089140991410914119141291413914149141591416914179141891419914209142191422914239142491425914269142791428914299143091431914329143391434914359143691437914389143991440914419144291443914449144591446914479144891449914509145191452914539145491455914569145791458914599146091461914629146391464914659146691467914689146991470914719147291473914749147591476914779147891479914809148191482914839148491485914869148791488914899149091491914929149391494914959149691497914989149991500915019150291503915049150591506915079150891509915109151191512915139151491515915169151791518915199152091521915229152391524915259152691527915289152991530915319153291533915349153591536915379153891539915409154191542915439154491545915469154791548915499155091551915529155391554915559155691557915589155991560915619156291563915649156591566915679156891569915709157191572915739157491575915769157791578915799158091581915829158391584915859158691587915889158991590915919159291593915949159591596915979159891599916009160191602916039160491605916069160791608916099161091611916129161391614916159161691617916189161991620916219162291623916249162591626916279162891629916309163191632916339163491635916369163791638916399164091641916429164391644916459164691647916489164991650916519165291653916549165591656916579165891659916609166191662916639166491665916669166791668916699167091671916729167391674916759167691677916789167991680916819168291683916849168591686916879168891689916909169191692916939169491695916969169791698916999170091701917029170391704917059170691707917089170991710917119171291713917149171591716917179171891719917209172191722917239172491725917269172791728917299173091731917329173391734917359173691737917389173991740917419174291743917449174591746917479174891749917509175191752917539175491755917569175791758917599176091761917629176391764917659176691767917689176991770917719177291773917749177591776917779177891779917809178191782917839178491785917869178791788917899179091791917929179391794917959179691797917989179991800918019180291803918049180591806918079180891809918109181191812918139181491815918169181791818918199182091821918229182391824918259182691827918289182991830918319183291833918349183591836918379183891839918409184191842918439184491845918469184791848918499185091851918529185391854918559185691857918589185991860918619186291863918649186591866918679186891869918709187191872918739187491875918769187791878918799188091881918829188391884918859188691887918889188991890918919189291893918949189591896918979189891899919009190191902919039190491905919069190791908919099191091911919129191391914919159191691917919189191991920919219192291923919249192591926919279192891929919309193191932919339193491935919369193791938919399194091941919429194391944919459194691947919489194991950919519195291953919549195591956919579195891959919609196191962919639196491965919669196791968919699197091971919729197391974919759197691977919789197991980919819198291983919849198591986919879198891989919909199191992919939199491995919969199791998919999200092001920029200392004920059200692007920089200992010920119201292013920149201592016920179201892019920209202192022920239202492025920269202792028920299203092031920329203392034920359203692037920389203992040920419204292043920449204592046920479204892049920509205192052920539205492055920569205792058920599206092061920629206392064920659206692067920689206992070920719207292073920749207592076920779207892079920809208192082920839208492085920869208792088920899209092091920929209392094920959209692097920989209992100921019210292103921049210592106921079210892109921109211192112921139211492115921169211792118921199212092121921229212392124921259212692127921289212992130921319213292133921349213592136921379213892139921409214192142921439214492145921469214792148921499215092151921529215392154921559215692157921589215992160921619216292163921649216592166921679216892169921709217192172921739217492175921769217792178921799218092181921829218392184921859218692187921889218992190921919219292193921949219592196921979219892199922009220192202922039220492205922069220792208922099221092211922129221392214922159221692217922189221992220922219222292223922249222592226922279222892229922309223192232922339223492235922369223792238922399224092241922429224392244922459224692247922489224992250922519225292253922549225592256922579225892259922609226192262922639226492265922669226792268922699227092271922729227392274922759227692277922789227992280922819228292283922849228592286922879228892289922909229192292922939229492295922969229792298922999230092301923029230392304923059230692307923089230992310923119231292313923149231592316923179231892319923209232192322923239232492325923269232792328923299233092331923329233392334923359233692337923389233992340923419234292343923449234592346923479234892349923509235192352923539235492355923569235792358923599236092361923629236392364923659236692367923689236992370923719237292373923749237592376923779237892379923809238192382923839238492385923869238792388923899239092391923929239392394923959239692397923989239992400924019240292403924049240592406924079240892409924109241192412924139241492415924169241792418924199242092421924229242392424924259242692427924289242992430924319243292433924349243592436924379243892439924409244192442924439244492445924469244792448924499245092451924529245392454924559245692457924589245992460924619246292463924649246592466924679246892469924709247192472924739247492475924769247792478924799248092481924829248392484924859248692487924889248992490924919249292493924949249592496924979249892499925009250192502925039250492505925069250792508925099251092511925129251392514925159251692517925189251992520925219252292523925249252592526925279252892529925309253192532925339253492535925369253792538925399254092541925429254392544925459254692547925489254992550925519255292553925549255592556925579255892559925609256192562925639256492565925669256792568925699257092571925729257392574925759257692577925789257992580925819258292583925849258592586925879258892589925909259192592925939259492595925969259792598925999260092601926029260392604926059260692607926089260992610926119261292613926149261592616926179261892619926209262192622926239262492625926269262792628926299263092631926329263392634926359263692637926389263992640926419264292643926449264592646926479264892649926509265192652926539265492655926569265792658926599266092661926629266392664926659266692667926689266992670926719267292673926749267592676926779267892679926809268192682926839268492685926869268792688926899269092691926929269392694926959269692697926989269992700927019270292703927049270592706927079270892709927109271192712927139271492715927169271792718927199272092721927229272392724927259272692727927289272992730927319273292733927349273592736927379273892739927409274192742927439274492745927469274792748927499275092751927529275392754927559275692757927589275992760927619276292763927649276592766927679276892769927709277192772927739277492775927769277792778927799278092781927829278392784927859278692787927889278992790927919279292793927949279592796927979279892799928009280192802928039280492805928069280792808928099281092811928129281392814928159281692817928189281992820928219282292823928249282592826928279282892829928309283192832928339283492835928369283792838928399284092841928429284392844928459284692847928489284992850928519285292853928549285592856928579285892859928609286192862928639286492865928669286792868928699287092871928729287392874928759287692877928789287992880928819288292883928849288592886928879288892889928909289192892928939289492895928969289792898928999290092901929029290392904929059290692907929089290992910929119291292913929149291592916929179291892919929209292192922929239292492925929269292792928929299293092931929329293392934929359293692937929389293992940929419294292943929449294592946929479294892949929509295192952929539295492955929569295792958929599296092961929629296392964929659296692967929689296992970929719297292973929749297592976929779297892979929809298192982929839298492985929869298792988929899299092991929929299392994929959299692997929989299993000930019300293003930049300593006930079300893009930109301193012930139301493015930169301793018930199302093021930229302393024930259302693027930289302993030930319303293033930349303593036930379303893039930409304193042930439304493045930469304793048930499305093051930529305393054930559305693057930589305993060930619306293063930649306593066930679306893069930709307193072930739307493075930769307793078930799308093081930829308393084930859308693087930889308993090930919309293093930949309593096930979309893099931009310193102931039310493105931069310793108931099311093111931129311393114931159311693117931189311993120931219312293123931249312593126931279312893129931309313193132931339313493135931369313793138931399314093141931429314393144931459314693147931489314993150931519315293153931549315593156931579315893159931609316193162931639316493165931669316793168931699317093171931729317393174931759317693177931789317993180931819318293183931849318593186931879318893189931909319193192931939319493195931969319793198931999320093201932029320393204932059320693207932089320993210932119321293213932149321593216932179321893219932209322193222932239322493225932269322793228932299323093231932329323393234932359323693237932389323993240932419324293243932449324593246932479324893249932509325193252932539325493255932569325793258932599326093261932629326393264932659326693267932689326993270932719327293273932749327593276932779327893279932809328193282932839328493285932869328793288932899329093291932929329393294932959329693297932989329993300933019330293303933049330593306933079330893309933109331193312933139331493315933169331793318933199332093321933229332393324933259332693327933289332993330933319333293333933349333593336933379333893339933409334193342933439334493345933469334793348933499335093351933529335393354933559335693357933589335993360933619336293363933649336593366933679336893369933709337193372933739337493375933769337793378933799338093381933829338393384933859338693387933889338993390933919339293393933949339593396933979339893399934009340193402934039340493405934069340793408934099341093411934129341393414934159341693417934189341993420934219342293423934249342593426934279342893429934309343193432934339343493435934369343793438934399344093441934429344393444934459344693447934489344993450934519345293453934549345593456934579345893459934609346193462934639346493465934669346793468934699347093471934729347393474934759347693477934789347993480934819348293483934849348593486934879348893489934909349193492934939349493495934969349793498934999350093501935029350393504935059350693507935089350993510935119351293513935149351593516935179351893519935209352193522935239352493525935269352793528935299353093531935329353393534935359353693537935389353993540935419354293543935449354593546935479354893549935509355193552935539355493555935569355793558935599356093561935629356393564935659356693567935689356993570935719357293573935749357593576935779357893579935809358193582935839358493585935869358793588935899359093591935929359393594935959359693597935989359993600936019360293603936049360593606936079360893609936109361193612936139361493615936169361793618936199362093621936229362393624936259362693627936289362993630936319363293633936349363593636936379363893639936409364193642936439364493645936469364793648936499365093651936529365393654936559365693657936589365993660936619366293663936649366593666936679366893669936709367193672936739367493675936769367793678936799368093681936829368393684936859368693687936889368993690936919369293693936949369593696936979369893699937009370193702937039370493705937069370793708937099371093711937129371393714937159371693717937189371993720937219372293723937249372593726937279372893729937309373193732937339373493735937369373793738937399374093741937429374393744937459374693747937489374993750937519375293753937549375593756937579375893759937609376193762937639376493765937669376793768937699377093771937729377393774937759377693777937789377993780937819378293783937849378593786937879378893789937909379193792937939379493795937969379793798937999380093801938029380393804938059380693807938089380993810938119381293813938149381593816938179381893819938209382193822938239382493825938269382793828938299383093831938329383393834938359383693837938389383993840938419384293843938449384593846938479384893849938509385193852938539385493855938569385793858938599386093861938629386393864938659386693867938689386993870938719387293873938749387593876938779387893879938809388193882938839388493885938869388793888938899389093891938929389393894938959389693897938989389993900939019390293903939049390593906939079390893909939109391193912939139391493915939169391793918939199392093921939229392393924939259392693927939289392993930939319393293933939349393593936939379393893939939409394193942939439394493945939469394793948939499395093951939529395393954939559395693957939589395993960939619396293963939649396593966939679396893969939709397193972939739397493975939769397793978939799398093981939829398393984939859398693987939889398993990939919399293993939949399593996939979399893999940009400194002940039400494005940069400794008940099401094011940129401394014940159401694017940189401994020940219402294023940249402594026940279402894029940309403194032940339403494035940369403794038940399404094041940429404394044940459404694047940489404994050940519405294053940549405594056940579405894059940609406194062940639406494065940669406794068940699407094071940729407394074940759407694077940789407994080940819408294083940849408594086940879408894089940909409194092940939409494095940969409794098940999410094101941029410394104941059410694107941089410994110941119411294113941149411594116941179411894119941209412194122941239412494125941269412794128941299413094131941329413394134941359413694137941389413994140941419414294143941449414594146941479414894149941509415194152941539415494155941569415794158941599416094161941629416394164941659416694167941689416994170941719417294173941749417594176941779417894179941809418194182941839418494185941869418794188941899419094191941929419394194941959419694197941989419994200942019420294203942049420594206942079420894209942109421194212942139421494215942169421794218942199422094221942229422394224942259422694227942289422994230942319423294233942349423594236942379423894239942409424194242942439424494245942469424794248942499425094251942529425394254942559425694257942589425994260942619426294263942649426594266942679426894269942709427194272942739427494275942769427794278942799428094281942829428394284942859428694287942889428994290942919429294293942949429594296942979429894299943009430194302943039430494305943069430794308943099431094311943129431394314943159431694317943189431994320943219432294323943249432594326943279432894329943309433194332943339433494335943369433794338943399434094341943429434394344943459434694347943489434994350943519435294353943549435594356943579435894359943609436194362943639436494365943669436794368943699437094371943729437394374943759437694377943789437994380943819438294383943849438594386943879438894389943909439194392943939439494395943969439794398943999440094401944029440394404944059440694407944089440994410944119441294413944149441594416944179441894419944209442194422944239442494425944269442794428944299443094431944329443394434944359443694437944389443994440944419444294443944449444594446944479444894449944509445194452944539445494455944569445794458944599446094461944629446394464944659446694467944689446994470944719447294473944749447594476944779447894479944809448194482944839448494485944869448794488944899449094491944929449394494944959449694497944989449994500945019450294503945049450594506945079450894509945109451194512945139451494515945169451794518945199452094521945229452394524945259452694527945289452994530945319453294533945349453594536945379453894539945409454194542945439454494545945469454794548945499455094551945529455394554945559455694557945589455994560945619456294563945649456594566945679456894569945709457194572945739457494575945769457794578945799458094581945829458394584945859458694587945889458994590945919459294593945949459594596945979459894599946009460194602946039460494605946069460794608946099461094611946129461394614946159461694617946189461994620946219462294623946249462594626946279462894629946309463194632946339463494635946369463794638946399464094641946429464394644946459464694647946489464994650946519465294653946549465594656946579465894659946609466194662946639466494665946669466794668946699467094671946729467394674946759467694677946789467994680946819468294683946849468594686946879468894689946909469194692946939469494695946969469794698946999470094701947029470394704947059470694707947089470994710947119471294713947149471594716947179471894719947209472194722947239472494725947269472794728947299473094731947329473394734947359473694737947389473994740947419474294743947449474594746947479474894749947509475194752947539475494755947569475794758947599476094761947629476394764947659476694767947689476994770947719477294773947749477594776947779477894779947809478194782947839478494785947869478794788947899479094791947929479394794947959479694797947989479994800948019480294803948049480594806948079480894809948109481194812948139481494815948169481794818948199482094821948229482394824948259482694827948289482994830948319483294833948349483594836948379483894839948409484194842948439484494845948469484794848948499485094851948529485394854948559485694857948589485994860948619486294863948649486594866948679486894869948709487194872948739487494875948769487794878948799488094881948829488394884948859488694887948889488994890948919489294893948949489594896948979489894899949009490194902949039490494905949069490794908949099491094911949129491394914949159491694917949189491994920949219492294923949249492594926949279492894929949309493194932949339493494935949369493794938949399494094941949429494394944949459494694947949489494994950949519495294953949549495594956949579495894959949609496194962949639496494965949669496794968949699497094971949729497394974949759497694977949789497994980949819498294983949849498594986949879498894989949909499194992949939499494995949969499794998949999500095001950029500395004950059500695007950089500995010950119501295013950149501595016950179501895019950209502195022950239502495025950269502795028950299503095031950329503395034950359503695037950389503995040950419504295043950449504595046950479504895049950509505195052950539505495055950569505795058950599506095061950629506395064950659506695067950689506995070950719507295073950749507595076950779507895079950809508195082950839508495085950869508795088950899509095091950929509395094950959509695097950989509995100951019510295103951049510595106951079510895109951109511195112951139511495115951169511795118951199512095121951229512395124951259512695127951289512995130951319513295133951349513595136951379513895139951409514195142951439514495145951469514795148951499515095151951529515395154951559515695157951589515995160951619516295163951649516595166951679516895169951709517195172951739517495175951769517795178951799518095181951829518395184951859518695187951889518995190951919519295193951949519595196951979519895199952009520195202952039520495205952069520795208952099521095211952129521395214952159521695217952189521995220952219522295223952249522595226952279522895229952309523195232952339523495235952369523795238952399524095241952429524395244952459524695247952489524995250952519525295253952549525595256952579525895259952609526195262952639526495265952669526795268952699527095271952729527395274952759527695277952789527995280952819528295283952849528595286952879528895289952909529195292952939529495295952969529795298952999530095301953029530395304953059530695307953089530995310953119531295313953149531595316953179531895319953209532195322953239532495325953269532795328953299533095331953329533395334953359533695337953389533995340953419534295343953449534595346953479534895349953509535195352953539535495355953569535795358953599536095361953629536395364953659536695367953689536995370953719537295373953749537595376953779537895379953809538195382953839538495385953869538795388953899539095391953929539395394953959539695397953989539995400954019540295403954049540595406954079540895409954109541195412954139541495415954169541795418954199542095421954229542395424954259542695427954289542995430954319543295433954349543595436954379543895439954409544195442954439544495445954469544795448954499545095451954529545395454954559545695457954589545995460954619546295463954649546595466954679546895469954709547195472954739547495475954769547795478954799548095481954829548395484954859548695487954889548995490954919549295493954949549595496954979549895499955009550195502955039550495505955069550795508955099551095511955129551395514955159551695517955189551995520955219552295523955249552595526955279552895529955309553195532955339553495535955369553795538955399554095541955429554395544955459554695547955489554995550955519555295553955549555595556955579555895559955609556195562955639556495565955669556795568955699557095571955729557395574955759557695577955789557995580955819558295583955849558595586955879558895589955909559195592955939559495595955969559795598955999560095601956029560395604956059560695607956089560995610956119561295613956149561595616956179561895619956209562195622956239562495625956269562795628956299563095631956329563395634956359563695637956389563995640956419564295643956449564595646956479564895649956509565195652956539565495655956569565795658956599566095661956629566395664956659566695667956689566995670956719567295673956749567595676956779567895679956809568195682956839568495685956869568795688956899569095691956929569395694956959569695697956989569995700957019570295703957049570595706957079570895709957109571195712957139571495715957169571795718957199572095721957229572395724957259572695727957289572995730957319573295733957349573595736957379573895739957409574195742957439574495745957469574795748957499575095751957529575395754957559575695757957589575995760957619576295763957649576595766957679576895769957709577195772957739577495775957769577795778957799578095781957829578395784957859578695787957889578995790957919579295793957949579595796957979579895799958009580195802958039580495805958069580795808958099581095811958129581395814958159581695817958189581995820958219582295823958249582595826958279582895829958309583195832958339583495835958369583795838958399584095841958429584395844958459584695847958489584995850958519585295853958549585595856958579585895859958609586195862958639586495865958669586795868958699587095871958729587395874958759587695877958789587995880958819588295883958849588595886958879588895889958909589195892958939589495895958969589795898958999590095901959029590395904959059590695907959089590995910959119591295913959149591595916959179591895919959209592195922959239592495925959269592795928959299593095931959329593395934959359593695937959389593995940959419594295943959449594595946959479594895949959509595195952959539595495955959569595795958959599596095961959629596395964959659596695967959689596995970959719597295973959749597595976959779597895979959809598195982959839598495985959869598795988959899599095991959929599395994959959599695997959989599996000960019600296003960049600596006960079600896009960109601196012960139601496015960169601796018960199602096021960229602396024960259602696027960289602996030960319603296033960349603596036960379603896039960409604196042960439604496045960469604796048960499605096051960529605396054960559605696057960589605996060960619606296063960649606596066960679606896069960709607196072960739607496075960769607796078960799608096081960829608396084960859608696087960889608996090960919609296093960949609596096960979609896099961009610196102961039610496105961069610796108961099611096111961129611396114961159611696117961189611996120961219612296123961249612596126961279612896129961309613196132961339613496135961369613796138961399614096141961429614396144961459614696147961489614996150961519615296153961549615596156961579615896159961609616196162961639616496165961669616796168961699617096171961729617396174961759617696177961789617996180961819618296183961849618596186961879618896189961909619196192961939619496195961969619796198961999620096201962029620396204962059620696207962089620996210962119621296213962149621596216962179621896219962209622196222962239622496225962269622796228962299623096231962329623396234962359623696237962389623996240962419624296243962449624596246962479624896249962509625196252962539625496255962569625796258962599626096261962629626396264962659626696267962689626996270962719627296273962749627596276962779627896279962809628196282962839628496285962869628796288962899629096291962929629396294962959629696297962989629996300963019630296303963049630596306963079630896309963109631196312963139631496315963169631796318963199632096321963229632396324963259632696327963289632996330963319633296333963349633596336963379633896339963409634196342963439634496345963469634796348963499635096351963529635396354963559635696357963589635996360963619636296363963649636596366963679636896369963709637196372963739637496375963769637796378963799638096381963829638396384963859638696387963889638996390963919639296393963949639596396963979639896399964009640196402964039640496405964069640796408964099641096411964129641396414964159641696417964189641996420964219642296423964249642596426964279642896429964309643196432964339643496435964369643796438964399644096441964429644396444964459644696447964489644996450964519645296453964549645596456964579645896459964609646196462964639646496465964669646796468964699647096471964729647396474964759647696477964789647996480964819648296483964849648596486964879648896489964909649196492964939649496495964969649796498964999650096501965029650396504965059650696507965089650996510965119651296513965149651596516965179651896519965209652196522965239652496525965269652796528965299653096531965329653396534965359653696537965389653996540965419654296543965449654596546965479654896549965509655196552965539655496555965569655796558965599656096561965629656396564965659656696567965689656996570965719657296573965749657596576965779657896579965809658196582965839658496585965869658796588965899659096591965929659396594965959659696597965989659996600966019660296603966049660596606966079660896609966109661196612966139661496615966169661796618966199662096621966229662396624966259662696627966289662996630966319663296633966349663596636966379663896639966409664196642966439664496645966469664796648966499665096651966529665396654966559665696657966589665996660966619666296663966649666596666966679666896669966709667196672966739667496675966769667796678966799668096681966829668396684966859668696687966889668996690966919669296693966949669596696966979669896699967009670196702967039670496705967069670796708967099671096711967129671396714967159671696717967189671996720967219672296723967249672596726967279672896729967309673196732967339673496735967369673796738967399674096741967429674396744967459674696747967489674996750967519675296753967549675596756967579675896759967609676196762967639676496765967669676796768967699677096771967729677396774967759677696777967789677996780967819678296783967849678596786967879678896789967909679196792967939679496795967969679796798967999680096801968029680396804968059680696807968089680996810968119681296813968149681596816968179681896819968209682196822968239682496825968269682796828968299683096831968329683396834968359683696837968389683996840968419684296843968449684596846968479684896849968509685196852968539685496855968569685796858968599686096861968629686396864968659686696867968689686996870968719687296873968749687596876968779687896879968809688196882968839688496885968869688796888968899689096891968929689396894968959689696897968989689996900969019690296903969049690596906969079690896909969109691196912969139691496915969169691796918969199692096921969229692396924969259692696927969289692996930969319693296933969349693596936969379693896939969409694196942969439694496945969469694796948969499695096951969529695396954969559695696957969589695996960969619696296963969649696596966969679696896969969709697196972969739697496975969769697796978969799698096981969829698396984969859698696987969889698996990969919699296993969949699596996969979699896999970009700197002970039700497005970069700797008970099701097011970129701397014970159701697017970189701997020970219702297023970249702597026970279702897029970309703197032970339703497035970369703797038970399704097041970429704397044970459704697047970489704997050970519705297053970549705597056970579705897059970609706197062970639706497065970669706797068970699707097071970729707397074970759707697077970789707997080970819708297083970849708597086970879708897089970909709197092970939709497095970969709797098970999710097101971029710397104971059710697107971089710997110971119711297113971149711597116971179711897119971209712197122971239712497125971269712797128971299713097131971329713397134971359713697137971389713997140971419714297143971449714597146971479714897149971509715197152971539715497155971569715797158971599716097161971629716397164971659716697167971689716997170971719717297173971749717597176971779717897179971809718197182971839718497185971869718797188971899719097191971929719397194971959719697197971989719997200972019720297203972049720597206972079720897209972109721197212972139721497215972169721797218972199722097221972229722397224972259722697227972289722997230972319723297233972349723597236972379723897239972409724197242972439724497245972469724797248972499725097251972529725397254972559725697257972589725997260972619726297263972649726597266972679726897269972709727197272972739727497275972769727797278972799728097281972829728397284972859728697287972889728997290972919729297293972949729597296972979729897299973009730197302973039730497305973069730797308973099731097311973129731397314973159731697317973189731997320973219732297323973249732597326973279732897329973309733197332973339733497335973369733797338973399734097341973429734397344973459734697347973489734997350973519735297353973549735597356973579735897359973609736197362973639736497365973669736797368973699737097371973729737397374973759737697377973789737997380973819738297383973849738597386973879738897389973909739197392973939739497395973969739797398973999740097401974029740397404974059740697407974089740997410974119741297413974149741597416974179741897419974209742197422974239742497425974269742797428974299743097431974329743397434974359743697437974389743997440974419744297443974449744597446974479744897449974509745197452974539745497455974569745797458974599746097461974629746397464974659746697467974689746997470974719747297473974749747597476974779747897479974809748197482974839748497485974869748797488974899749097491974929749397494974959749697497974989749997500975019750297503975049750597506975079750897509975109751197512975139751497515975169751797518975199752097521975229752397524975259752697527975289752997530975319753297533975349753597536975379753897539975409754197542975439754497545975469754797548975499755097551975529755397554975559755697557975589755997560975619756297563975649756597566975679756897569975709757197572975739757497575975769757797578975799758097581975829758397584975859758697587975889758997590975919759297593975949759597596975979759897599976009760197602976039760497605976069760797608976099761097611976129761397614976159761697617976189761997620976219762297623976249762597626976279762897629976309763197632976339763497635976369763797638976399764097641976429764397644976459764697647976489764997650976519765297653976549765597656976579765897659976609766197662976639766497665976669766797668976699767097671976729767397674976759767697677976789767997680976819768297683976849768597686976879768897689976909769197692976939769497695976969769797698976999770097701977029770397704977059770697707977089770997710977119771297713977149771597716977179771897719977209772197722977239772497725977269772797728977299773097731977329773397734977359773697737977389773997740977419774297743977449774597746977479774897749977509775197752977539775497755977569775797758977599776097761977629776397764977659776697767977689776997770977719777297773977749777597776977779777897779977809778197782977839778497785977869778797788977899779097791977929779397794977959779697797977989779997800978019780297803978049780597806978079780897809978109781197812978139781497815978169781797818978199782097821978229782397824978259782697827978289782997830978319783297833978349783597836978379783897839978409784197842978439784497845978469784797848978499785097851978529785397854978559785697857978589785997860978619786297863978649786597866978679786897869978709787197872978739787497875978769787797878978799788097881978829788397884978859788697887978889788997890978919789297893978949789597896978979789897899979009790197902979039790497905979069790797908979099791097911979129791397914979159791697917979189791997920979219792297923979249792597926979279792897929979309793197932979339793497935979369793797938979399794097941979429794397944979459794697947979489794997950979519795297953979549795597956979579795897959979609796197962979639796497965979669796797968979699797097971979729797397974979759797697977979789797997980979819798297983979849798597986979879798897989979909799197992979939799497995979969799797998979999800098001980029800398004980059800698007980089800998010980119801298013980149801598016980179801898019980209802198022980239802498025980269802798028980299803098031980329803398034980359803698037980389803998040980419804298043980449804598046980479804898049980509805198052980539805498055980569805798058980599806098061980629806398064980659806698067980689806998070980719807298073980749807598076980779807898079980809808198082980839808498085980869808798088980899809098091980929809398094980959809698097980989809998100981019810298103981049810598106981079810898109981109811198112981139811498115981169811798118981199812098121981229812398124981259812698127981289812998130981319813298133981349813598136981379813898139981409814198142981439814498145981469814798148981499815098151981529815398154981559815698157981589815998160981619816298163981649816598166981679816898169981709817198172981739817498175981769817798178981799818098181981829818398184981859818698187981889818998190981919819298193981949819598196981979819898199982009820198202982039820498205982069820798208982099821098211982129821398214982159821698217982189821998220982219822298223982249822598226982279822898229982309823198232982339823498235982369823798238982399824098241982429824398244982459824698247982489824998250982519825298253982549825598256982579825898259982609826198262982639826498265982669826798268982699827098271982729827398274982759827698277982789827998280982819828298283982849828598286982879828898289982909829198292982939829498295982969829798298982999830098301983029830398304983059830698307983089830998310983119831298313983149831598316983179831898319983209832198322983239832498325983269832798328983299833098331983329833398334983359833698337983389833998340983419834298343983449834598346983479834898349983509835198352983539835498355983569835798358983599836098361983629836398364983659836698367983689836998370983719837298373983749837598376983779837898379983809838198382983839838498385983869838798388983899839098391983929839398394983959839698397983989839998400984019840298403984049840598406984079840898409984109841198412984139841498415984169841798418984199842098421984229842398424984259842698427984289842998430984319843298433984349843598436984379843898439984409844198442984439844498445984469844798448984499845098451984529845398454984559845698457984589845998460984619846298463984649846598466984679846898469984709847198472984739847498475984769847798478984799848098481984829848398484984859848698487984889848998490984919849298493984949849598496984979849898499985009850198502985039850498505985069850798508985099851098511985129851398514985159851698517985189851998520985219852298523985249852598526985279852898529985309853198532985339853498535985369853798538985399854098541985429854398544985459854698547985489854998550985519855298553985549855598556985579855898559985609856198562985639856498565985669856798568985699857098571985729857398574985759857698577985789857998580985819858298583985849858598586985879858898589985909859198592985939859498595985969859798598985999860098601986029860398604986059860698607986089860998610986119861298613986149861598616986179861898619986209862198622986239862498625986269862798628986299863098631986329863398634986359863698637986389863998640986419864298643986449864598646986479864898649986509865198652986539865498655986569865798658986599866098661986629866398664986659866698667986689866998670986719867298673986749867598676986779867898679986809868198682986839868498685986869868798688986899869098691986929869398694986959869698697986989869998700987019870298703987049870598706987079870898709987109871198712987139871498715987169871798718987199872098721987229872398724987259872698727987289872998730987319873298733987349873598736987379873898739987409874198742987439874498745987469874798748987499875098751987529875398754987559875698757987589875998760987619876298763987649876598766987679876898769987709877198772987739877498775987769877798778987799878098781987829878398784987859878698787987889878998790987919879298793987949879598796987979879898799988009880198802988039880498805988069880798808988099881098811988129881398814988159881698817988189881998820988219882298823988249882598826988279882898829988309883198832988339883498835988369883798838988399884098841988429884398844988459884698847988489884998850988519885298853988549885598856988579885898859988609886198862988639886498865988669886798868988699887098871988729887398874988759887698877988789887998880988819888298883988849888598886988879888898889988909889198892988939889498895988969889798898988999890098901989029890398904989059890698907989089890998910989119891298913989149891598916989179891898919989209892198922989239892498925989269892798928989299893098931989329893398934989359893698937989389893998940989419894298943989449894598946989479894898949989509895198952989539895498955989569895798958989599896098961989629896398964989659896698967989689896998970989719897298973989749897598976989779897898979989809898198982989839898498985989869898798988989899899098991989929899398994989959899698997989989899999000990019900299003990049900599006990079900899009990109901199012990139901499015990169901799018990199902099021990229902399024990259902699027990289902999030990319903299033990349903599036990379903899039990409904199042990439904499045990469904799048990499905099051990529905399054990559905699057990589905999060990619906299063990649906599066990679906899069990709907199072990739907499075990769907799078990799908099081990829908399084990859908699087990889908999090990919909299093990949909599096990979909899099991009910199102991039910499105991069910799108991099911099111991129911399114991159911699117991189911999120991219912299123991249912599126991279912899129991309913199132991339913499135991369913799138991399914099141991429914399144991459914699147991489914999150991519915299153991549915599156991579915899159991609916199162991639916499165991669916799168991699917099171991729917399174991759917699177991789917999180991819918299183991849918599186991879918899189991909919199192991939919499195991969919799198991999920099201992029920399204992059920699207992089920999210992119921299213992149921599216992179921899219992209922199222992239922499225992269922799228992299923099231992329923399234992359923699237992389923999240992419924299243992449924599246992479924899249992509925199252992539925499255992569925799258992599926099261992629926399264992659926699267992689926999270992719927299273992749927599276992779927899279992809928199282992839928499285992869928799288992899929099291992929929399294992959929699297992989929999300993019930299303993049930599306993079930899309993109931199312993139931499315993169931799318993199932099321993229932399324993259932699327993289932999330993319933299333993349933599336993379933899339993409934199342993439934499345993469934799348993499935099351993529935399354993559935699357993589935999360993619936299363993649936599366993679936899369993709937199372993739937499375993769937799378993799938099381993829938399384993859938699387993889938999390993919939299393993949939599396993979939899399994009940199402994039940499405994069940799408994099941099411994129941399414994159941699417994189941999420994219942299423994249942599426994279942899429994309943199432994339943499435994369943799438994399944099441994429944399444994459944699447994489944999450994519945299453994549945599456994579945899459994609946199462994639946499465994669946799468994699947099471994729947399474994759947699477994789947999480994819948299483994849948599486994879948899489994909949199492994939949499495994969949799498994999950099501995029950399504995059950699507995089950999510995119951299513995149951599516995179951899519995209952199522995239952499525995269952799528995299953099531995329953399534995359953699537995389953999540995419954299543995449954599546995479954899549995509955199552995539955499555995569955799558995599956099561995629956399564995659956699567995689956999570995719957299573995749957599576995779957899579995809958199582995839958499585995869958799588995899959099591995929959399594995959959699597995989959999600996019960299603996049960599606996079960899609996109961199612996139961499615996169961799618996199962099621996229962399624996259962699627996289962999630996319963299633996349963599636996379963899639996409964199642996439964499645996469964799648996499965099651996529965399654996559965699657996589965999660996619966299663996649966599666996679966899669996709967199672996739967499675996769967799678996799968099681996829968399684996859968699687996889968999690996919969299693996949969599696996979969899699997009970199702997039970499705997069970799708997099971099711997129971399714997159971699717997189971999720997219972299723997249972599726997279972899729997309973199732997339973499735997369973799738997399974099741997429974399744997459974699747997489974999750997519975299753997549975599756997579975899759997609976199762997639976499765997669976799768997699977099771997729977399774997759977699777997789977999780997819978299783997849978599786997879978899789997909979199792997939979499795997969979799798997999980099801998029980399804998059980699807998089980999810998119981299813998149981599816998179981899819998209982199822998239982499825998269982799828998299983099831998329983399834998359983699837998389983999840998419984299843998449984599846998479984899849998509985199852998539985499855998569985799858998599986099861998629986399864998659986699867998689986999870998719987299873998749987599876998779987899879998809988199882998839988499885998869988799888998899989099891998929989399894998959989699897998989989999900999019990299903999049990599906999079990899909999109991199912999139991499915999169991799918999199992099921999229992399924999259992699927999289992999930999319993299933999349993599936999379993899939999409994199942999439994499945999469994799948999499995099951999529995399954999559995699957999589995999960999619996299963999649996599966999679996899969999709997199972999739997499975999769997799978999799998099981999829998399984999859998699987999889998999990999919999299993999949999599996999979999899999100000100001100002100003100004100005100006100007100008100009100010100011100012100013100014100015100016100017100018100019100020100021100022100023100024100025100026100027100028100029100030100031100032100033100034100035100036100037100038100039100040100041100042100043100044100045100046100047100048100049100050100051100052100053100054100055100056100057100058100059100060100061100062100063100064100065100066100067100068100069100070100071100072100073100074100075100076100077100078100079100080100081100082100083100084100085100086100087100088100089100090100091100092100093100094100095100096100097100098100099100100100101100102100103100104100105100106100107100108100109100110100111100112100113100114100115100116100117100118100119100120100121100122100123100124100125100126100127100128100129100130100131100132100133100134100135100136100137100138100139100140100141100142100143100144100145100146100147100148100149100150100151100152100153100154100155100156100157100158100159100160100161100162100163100164100165100166100167100168100169100170100171100172100173100174100175100176100177100178100179100180100181100182100183100184100185100186100187100188100189100190100191100192100193100194100195100196100197100198100199100200100201100202100203100204100205100206100207100208100209100210100211100212100213100214100215100216100217100218100219100220100221100222100223100224100225100226100227100228100229100230100231100232100233100234100235100236100237100238100239100240100241100242100243100244100245100246100247100248100249100250100251100252100253100254100255100256100257100258100259100260100261100262100263100264100265100266100267100268100269100270100271100272100273100274100275100276100277100278100279100280100281100282100283100284100285100286100287100288100289100290100291100292100293100294100295100296100297100298100299100300100301100302100303100304100305100306100307100308100309100310100311100312100313100314100315100316100317100318100319100320100321100322100323100324100325100326100327100328100329100330100331100332100333100334100335100336100337100338100339100340100341100342100343100344100345100346100347100348100349100350100351100352100353100354100355100356100357100358100359100360100361100362100363100364100365100366100367100368100369100370100371100372100373100374100375100376100377100378100379100380100381100382100383100384100385100386100387100388100389100390100391100392100393100394100395100396100397100398100399100400100401100402100403100404100405100406100407100408100409100410100411100412100413100414100415100416100417100418100419100420100421100422100423100424100425100426100427100428100429100430100431100432100433100434100435100436100437100438100439100440100441100442100443100444100445100446100447100448100449100450100451100452100453100454100455100456100457100458100459100460100461100462100463100464100465100466100467100468100469100470100471100472100473100474100475100476100477100478100479100480100481100482100483100484100485100486100487100488100489100490100491100492100493100494100495100496100497100498100499100500100501100502100503100504100505100506100507100508100509100510100511100512100513100514100515100516100517100518100519100520100521100522100523100524100525100526100527100528100529100530100531100532100533100534100535100536100537100538100539100540100541100542100543100544100545100546100547100548100549100550100551100552100553100554100555100556100557100558100559100560100561100562100563100564100565100566100567100568100569100570100571100572100573100574100575100576100577100578100579100580100581100582100583100584100585100586100587100588100589100590100591100592100593100594100595100596100597100598100599100600100601100602100603100604100605100606100607100608100609100610100611100612100613100614100615100616100617100618100619100620100621100622100623100624100625100626100627100628100629100630100631100632100633100634100635100636100637100638100639100640100641100642100643100644100645100646100647100648100649100650100651100652100653100654100655100656100657100658100659100660100661100662100663100664100665100666100667100668100669100670100671100672100673100674100675100676100677100678100679100680100681100682100683100684100685100686100687100688100689100690100691100692100693100694100695100696100697100698100699100700100701100702100703100704100705100706100707100708100709100710100711100712100713100714100715100716100717100718100719100720100721100722100723100724100725100726100727100728100729100730100731100732100733100734100735100736100737100738100739100740100741100742100743100744100745100746100747100748100749100750100751100752100753100754100755100756100757100758100759100760100761100762100763100764100765100766100767100768100769100770100771100772100773100774100775100776100777100778100779100780100781100782100783100784100785100786100787100788100789100790100791100792100793100794100795100796100797100798100799100800100801100802100803100804100805100806100807100808100809100810100811100812100813100814100815100816100817100818100819100820100821100822100823100824100825100826100827100828100829100830100831100832100833100834100835100836100837100838100839100840100841100842100843100844100845100846100847100848100849100850100851100852100853100854100855100856100857100858100859100860100861100862100863100864100865100866100867100868100869100870100871100872100873100874100875100876100877100878100879100880100881100882100883100884100885100886100887100888100889100890100891100892100893100894100895100896100897100898100899100900100901100902100903100904100905100906100907100908100909100910100911100912100913100914100915100916100917100918100919100920100921100922100923100924100925100926100927100928100929100930100931100932100933100934100935100936100937100938100939100940100941100942100943100944100945100946100947100948100949100950100951100952100953100954100955100956100957100958100959100960100961100962100963100964100965100966100967100968100969100970100971100972100973100974100975100976100977100978100979100980100981100982100983100984100985100986100987100988100989100990100991100992100993100994100995100996100997100998100999101000101001101002101003101004101005101006101007101008101009101010101011101012101013101014101015101016101017101018101019101020101021101022101023101024101025101026101027101028101029101030101031101032101033101034101035101036101037101038101039101040101041101042101043101044101045101046101047101048101049101050101051101052101053101054101055101056101057101058101059101060101061101062101063101064101065101066101067101068101069101070101071101072101073101074101075101076101077101078101079101080101081101082101083101084101085101086101087101088101089101090101091101092101093101094101095101096101097101098101099101100101101101102101103101104101105101106101107101108101109101110101111101112101113101114101115101116101117101118101119101120101121101122101123101124101125101126101127101128101129101130101131101132101133101134101135101136101137101138101139101140101141101142101143101144101145101146101147101148101149101150101151101152101153101154101155101156101157101158101159101160101161101162101163101164101165101166101167101168101169101170101171101172101173101174101175101176101177101178101179101180101181101182101183101184101185101186101187101188101189101190101191101192101193101194101195101196101197101198101199101200101201101202101203101204101205101206101207101208101209101210101211101212101213101214101215101216101217101218101219101220101221101222101223101224101225101226101227101228101229101230101231101232101233101234101235101236101237101238101239101240101241101242101243101244101245101246101247101248101249101250101251101252101253101254101255101256101257101258101259101260101261101262101263101264101265101266101267101268101269101270101271101272101273101274101275101276101277101278101279101280101281101282101283101284101285101286101287101288101289101290101291101292101293101294101295101296101297101298101299101300101301101302101303101304101305101306101307101308101309101310101311101312101313101314101315101316101317101318101319101320101321101322101323101324101325101326101327101328101329101330101331101332101333101334101335101336101337101338101339101340101341101342101343101344101345101346101347101348101349101350101351101352101353101354101355101356101357101358101359101360101361101362101363101364101365101366101367101368101369101370101371101372101373101374101375101376101377101378101379101380101381101382101383101384101385101386101387101388101389101390101391101392101393101394101395101396101397101398101399101400101401101402101403101404101405101406101407101408101409101410101411101412101413101414101415101416101417101418101419101420101421101422101423101424101425101426101427101428101429101430101431101432101433101434101435101436101437101438101439101440101441101442101443101444101445101446101447101448101449101450101451101452101453101454101455101456101457101458101459101460101461101462101463101464101465101466101467101468101469101470101471101472101473101474101475101476101477101478101479101480101481101482101483101484101485101486101487101488101489101490101491101492101493101494101495101496101497101498101499101500101501101502101503101504101505101506101507101508101509101510101511101512101513101514101515101516101517101518101519101520101521101522101523101524101525101526101527101528101529101530101531101532101533101534101535101536101537101538101539101540101541101542101543101544101545101546101547101548101549101550101551101552101553101554101555101556101557101558101559101560101561101562101563101564101565101566101567101568101569101570101571101572101573101574101575101576101577101578101579101580101581101582101583101584101585101586101587101588101589101590101591101592101593101594101595101596101597101598101599101600101601101602101603101604101605101606101607101608101609101610101611101612101613101614101615101616101617101618101619101620101621101622101623101624101625101626101627101628101629101630101631101632101633101634101635101636101637101638101639101640101641101642101643101644101645101646101647101648101649101650101651101652101653101654101655101656101657101658101659101660101661101662101663101664101665101666101667101668101669101670101671101672101673101674101675101676101677101678101679101680101681101682101683101684101685101686101687101688101689101690101691101692101693101694101695101696101697101698101699101700101701101702101703101704101705101706101707101708101709101710101711101712101713101714101715101716101717101718101719101720101721101722101723101724101725101726101727101728101729101730101731101732101733101734101735101736101737101738101739101740101741101742101743101744101745101746101747101748101749101750101751101752101753101754101755101756101757101758101759101760101761101762101763101764101765101766101767101768101769101770101771101772101773101774101775101776101777101778101779101780101781101782101783101784101785101786101787101788101789101790101791101792101793101794101795101796101797101798101799101800101801101802101803101804101805101806101807101808101809101810101811101812101813101814101815101816101817101818101819101820101821101822101823101824101825101826101827101828101829101830101831101832101833101834101835101836101837101838101839101840101841101842101843101844101845101846101847101848101849101850101851101852101853101854101855101856101857101858101859101860101861101862101863101864101865101866101867101868101869101870101871101872101873101874101875101876101877101878101879101880101881101882101883101884101885101886101887101888101889101890101891101892101893101894101895101896101897101898101899101900101901101902101903101904101905101906101907101908101909101910101911101912101913101914101915101916101917101918101919101920101921101922101923101924101925101926101927101928101929101930101931101932101933101934101935101936101937101938101939101940101941101942101943101944101945101946101947101948101949101950101951101952101953101954101955101956101957101958101959101960101961101962101963101964101965101966101967101968101969101970101971101972101973101974101975101976101977101978101979101980101981101982101983101984101985101986101987101988101989101990101991101992101993101994101995101996101997101998101999102000102001102002102003102004102005102006102007102008102009102010102011102012102013102014102015102016102017102018102019102020102021102022102023102024102025102026102027102028102029102030102031102032102033102034102035102036102037102038102039102040102041102042102043102044102045102046102047102048102049102050102051102052102053102054102055102056102057102058102059102060102061102062102063102064102065102066102067102068102069102070102071102072102073102074102075102076102077102078102079102080102081102082102083102084102085102086102087102088102089102090102091102092102093102094102095102096102097102098102099102100102101102102102103102104102105102106102107102108102109102110102111102112102113102114102115102116102117102118102119102120102121102122102123102124102125102126102127102128102129102130102131102132102133102134102135102136102137102138102139102140102141102142102143102144102145102146102147102148102149102150102151102152102153102154102155102156102157102158102159102160102161102162102163102164102165102166102167102168102169102170102171102172102173102174102175102176102177102178102179102180102181102182102183102184102185102186102187102188102189102190102191102192102193102194102195102196102197102198102199102200102201102202102203102204102205102206102207102208102209102210102211102212102213102214102215102216102217102218102219102220102221102222102223102224102225102226102227102228102229102230102231102232102233102234102235102236102237102238102239102240102241102242102243102244102245102246102247102248102249102250102251102252102253102254102255102256102257102258102259102260102261102262102263102264102265102266102267102268102269102270102271102272102273102274102275102276102277102278102279102280102281102282102283102284102285102286102287102288102289102290102291102292102293102294102295102296102297102298102299102300102301102302102303102304102305102306102307102308102309102310102311102312102313102314102315102316102317102318102319102320102321102322102323102324102325102326102327102328102329102330102331102332102333102334102335102336102337102338102339102340102341102342102343102344102345102346102347102348102349102350102351102352102353102354102355102356102357102358102359102360102361102362102363102364102365102366102367102368102369102370102371102372102373102374102375102376102377102378102379102380102381102382102383102384102385102386102387102388102389102390102391102392102393102394102395102396102397102398102399102400102401102402102403102404102405102406102407102408102409102410102411102412102413102414102415102416102417102418102419102420102421102422102423102424102425102426102427102428102429102430102431102432102433102434102435102436102437102438102439102440102441102442102443102444102445102446102447102448102449102450102451102452102453102454102455102456102457102458102459102460102461102462102463102464102465102466102467102468102469102470102471102472102473102474102475102476102477102478102479102480102481102482102483102484102485102486102487102488102489102490102491102492102493102494102495102496102497102498102499102500102501102502102503102504102505102506102507102508102509102510102511102512102513102514102515102516102517102518102519102520102521102522102523102524102525102526102527102528102529102530102531102532102533102534102535102536102537102538102539102540102541102542102543102544102545102546102547102548102549102550102551102552102553102554102555102556102557102558102559102560102561102562102563102564102565102566102567102568102569102570102571102572102573102574102575102576102577102578102579102580102581102582102583102584102585102586102587102588102589102590102591102592102593102594102595102596102597102598102599102600102601102602102603102604102605102606102607102608102609102610102611102612102613102614102615102616102617102618102619102620102621102622102623102624102625102626102627102628102629102630102631102632102633102634102635102636102637102638102639102640102641102642102643102644102645102646102647102648102649102650102651102652102653102654102655102656102657102658102659102660102661102662102663102664102665102666102667102668102669102670102671102672102673102674102675102676102677102678102679102680102681102682102683102684102685102686102687102688102689102690102691102692102693102694102695102696102697102698102699102700102701102702102703102704102705102706102707102708102709102710102711102712102713102714102715102716102717102718102719102720102721102722102723102724102725102726102727102728102729102730102731102732102733102734102735102736102737102738102739102740102741102742102743102744102745102746102747102748102749102750102751102752102753102754102755102756102757102758102759102760102761102762102763102764102765102766102767102768102769102770102771102772102773102774102775102776102777102778102779102780102781102782102783102784102785102786102787102788102789102790102791102792102793102794102795102796102797102798102799102800102801102802102803102804102805102806102807102808102809102810102811102812102813102814102815102816102817102818102819102820102821102822102823102824102825102826102827102828102829102830102831102832102833102834102835102836102837102838102839102840102841102842102843102844102845102846102847102848102849102850102851102852102853102854102855102856102857102858102859102860102861102862102863102864102865102866102867102868102869102870102871102872102873102874102875102876102877102878102879102880102881102882102883102884102885102886102887102888102889102890102891102892102893102894102895102896102897102898102899102900102901102902102903102904102905102906102907102908102909102910102911102912102913102914102915102916102917102918102919102920102921102922102923102924102925102926102927102928102929102930102931102932102933102934102935102936102937102938102939102940102941102942102943102944102945102946102947102948102949102950102951102952102953102954102955102956102957102958102959102960102961102962102963102964102965102966102967102968102969102970102971102972102973102974102975102976102977102978102979102980102981102982102983102984102985102986102987102988102989102990102991102992102993102994102995102996102997102998102999103000103001103002103003103004103005103006103007103008103009103010103011103012103013103014103015103016103017103018103019103020103021103022103023103024103025103026103027103028103029103030103031103032103033103034103035103036103037103038103039103040103041103042103043103044103045103046103047103048103049103050103051103052103053103054103055103056103057103058103059103060103061103062103063103064103065103066103067103068103069103070103071103072103073103074103075103076103077103078103079103080103081103082103083103084103085103086103087103088103089103090103091103092103093103094103095103096103097103098103099103100103101103102103103103104103105103106103107103108103109103110103111103112103113103114103115103116103117103118103119103120103121103122103123103124103125103126103127103128103129103130103131103132103133103134103135103136103137103138103139103140103141103142103143103144103145103146103147103148103149103150103151103152103153103154103155103156103157103158103159103160103161103162103163103164103165103166103167103168103169103170103171103172103173103174103175103176103177103178103179103180103181103182103183103184103185103186103187103188103189103190103191103192103193103194103195103196103197103198103199103200103201103202103203103204103205103206103207103208103209103210103211103212103213103214103215103216103217103218103219103220103221103222103223103224103225103226103227103228103229103230103231103232103233103234103235103236103237103238103239103240103241103242103243103244103245103246103247103248103249103250103251103252103253103254103255103256103257103258103259103260103261103262103263103264103265103266103267103268103269103270103271103272103273103274103275103276103277103278103279103280103281103282103283103284103285103286103287103288103289103290103291103292103293103294103295103296103297103298103299103300103301103302103303103304103305103306103307103308103309103310103311103312103313103314103315103316103317103318103319103320103321103322103323103324103325103326103327103328103329103330103331103332103333103334103335103336103337103338103339103340103341103342103343103344103345103346103347103348103349103350103351103352103353103354103355103356103357103358103359103360103361103362103363103364103365103366103367103368103369103370103371103372103373103374103375103376103377103378103379103380103381103382103383103384103385103386103387103388103389103390103391103392103393103394103395103396103397103398103399103400103401103402103403103404103405103406103407103408103409103410103411103412103413103414103415103416103417103418103419103420103421103422103423103424103425103426103427103428103429103430103431103432103433103434103435103436103437103438103439103440103441103442103443103444103445103446103447103448103449103450103451103452103453103454103455103456103457103458103459103460103461103462103463103464103465103466103467103468103469103470103471103472103473103474103475103476103477103478103479103480103481103482103483103484103485103486103487103488103489103490103491103492103493103494103495103496103497103498103499103500103501103502103503103504103505103506103507103508103509103510103511103512103513103514103515103516103517103518103519103520103521103522103523103524103525103526103527103528103529103530103531103532103533103534103535103536103537103538103539103540103541103542103543103544103545103546103547103548103549103550103551103552103553103554103555103556103557103558103559103560103561103562103563103564103565103566103567103568103569103570103571103572103573103574103575103576103577103578103579103580103581103582103583103584103585103586103587103588103589103590103591103592103593103594103595103596103597103598103599103600103601103602103603103604103605103606103607103608103609103610103611103612103613103614103615103616103617103618103619103620103621103622103623103624103625103626103627103628103629103630103631103632103633103634103635103636103637103638103639103640103641103642103643103644103645103646103647103648103649103650103651103652103653103654103655103656103657103658103659103660103661103662103663103664103665103666103667103668103669103670103671103672103673103674103675103676103677103678103679103680103681103682103683103684103685103686103687103688103689103690103691103692103693103694103695103696103697103698103699103700103701103702103703103704103705103706103707103708103709103710103711103712103713103714103715103716103717103718103719103720103721103722103723103724103725103726103727103728103729103730103731103732103733103734103735103736103737103738103739103740103741103742103743103744103745103746103747103748103749103750103751103752103753103754103755103756103757103758103759103760103761103762103763103764103765103766103767103768103769103770103771103772103773103774103775103776103777103778103779103780103781103782103783103784103785103786103787103788103789103790103791103792103793103794103795103796103797103798103799103800103801103802103803103804103805103806103807103808103809103810103811103812103813103814103815103816103817103818103819103820103821103822103823103824103825103826103827103828103829103830103831103832103833103834103835103836103837103838103839103840103841103842103843103844103845103846103847103848103849103850103851103852103853103854103855103856103857103858103859103860103861103862103863103864103865103866103867103868103869103870103871103872103873103874103875103876103877103878103879103880103881103882103883103884103885103886103887103888103889103890103891103892103893103894103895103896103897103898103899103900103901103902103903103904103905103906103907103908103909103910103911103912103913103914103915103916103917103918103919103920103921103922103923103924103925103926103927103928103929103930103931103932103933103934103935103936103937103938103939103940103941103942103943103944103945103946103947103948103949103950103951103952103953103954103955103956103957103958103959103960103961103962103963103964103965103966103967103968103969103970103971103972103973103974103975103976103977103978103979103980103981103982103983103984103985103986103987103988103989103990103991103992103993103994103995103996103997103998103999104000104001104002104003104004104005104006104007104008104009104010104011104012104013104014104015104016104017104018104019104020104021104022104023104024104025104026104027104028104029104030104031104032104033104034104035104036104037104038104039104040104041104042104043104044104045104046104047104048104049104050104051104052104053104054104055104056104057104058104059104060104061104062104063104064104065104066104067104068104069104070104071104072104073104074104075104076104077104078104079104080104081104082104083104084104085104086104087104088104089104090104091104092104093104094104095104096104097104098104099104100104101104102104103104104104105104106104107104108104109104110104111104112104113104114104115104116104117104118104119104120104121104122104123104124104125104126104127104128104129104130104131104132104133104134104135104136104137104138104139104140104141104142104143104144104145104146104147104148104149104150104151104152104153104154104155104156104157104158104159104160104161104162104163104164104165104166104167104168104169104170104171104172104173104174104175104176104177104178104179104180104181104182104183104184104185104186104187104188104189104190104191104192104193104194104195104196104197104198104199104200104201104202104203104204104205104206104207104208104209104210104211104212104213104214104215104216104217104218104219104220104221104222104223104224104225104226104227104228104229104230104231104232104233104234104235104236104237104238104239104240104241104242104243104244104245104246104247104248104249104250104251104252104253104254104255104256104257104258104259104260104261104262104263104264104265104266104267104268104269104270104271104272104273104274104275104276104277104278104279104280104281104282104283104284104285104286104287104288104289104290104291104292104293104294104295104296104297104298104299104300104301104302104303104304104305104306104307104308104309104310104311104312104313104314104315104316104317104318104319104320104321104322104323104324104325104326104327104328104329104330104331104332104333104334104335104336104337104338104339104340104341104342104343104344104345104346104347104348104349104350104351104352104353104354104355104356104357104358104359104360104361104362104363104364104365104366104367104368104369104370104371104372104373104374104375104376104377104378104379104380104381104382104383104384104385104386104387104388104389104390104391104392104393104394104395104396104397104398104399104400104401104402104403104404104405104406104407104408104409104410104411104412104413104414104415104416104417104418104419104420104421104422104423104424104425104426104427104428104429104430104431104432104433104434104435104436104437104438104439104440104441104442104443104444104445104446104447104448104449104450104451104452104453104454104455104456104457104458104459104460104461104462104463104464104465104466104467104468104469104470104471104472104473104474104475104476104477104478104479104480104481104482104483104484104485104486104487104488104489104490104491104492104493104494104495104496104497104498104499104500104501104502104503104504104505104506104507104508104509104510104511104512104513104514104515104516104517104518104519104520104521104522104523104524104525104526104527104528104529104530104531104532104533104534104535104536104537104538104539104540104541104542104543104544104545104546104547104548104549104550104551104552104553104554104555104556104557104558104559104560104561104562104563104564104565104566104567104568104569104570104571104572104573104574104575104576104577104578104579104580104581104582104583104584104585104586104587104588104589104590104591104592104593104594104595104596104597104598104599104600104601104602104603104604104605104606104607104608104609104610104611104612104613104614104615104616104617104618104619104620104621104622104623104624104625104626104627104628104629104630104631104632104633104634104635104636104637104638104639104640104641104642104643104644104645104646104647104648104649104650104651104652104653104654104655104656104657104658104659104660104661104662104663104664104665104666104667104668104669104670104671104672104673104674104675104676104677104678104679104680104681104682104683104684104685104686104687104688104689104690104691104692104693104694104695104696104697104698104699104700104701104702104703104704104705104706104707104708104709104710104711104712104713104714104715104716104717104718104719104720104721104722104723104724104725104726104727104728104729104730104731104732104733104734104735104736104737104738104739104740104741104742104743104744104745104746104747104748104749104750104751104752104753104754104755104756104757104758104759104760104761104762104763104764104765104766104767104768104769104770104771104772104773104774104775104776104777104778104779104780104781104782104783104784104785104786104787104788104789104790104791104792104793104794104795104796104797104798104799104800104801104802104803104804104805104806104807104808104809104810104811104812104813104814104815104816104817104818104819104820104821104822104823104824104825104826104827104828104829104830104831104832104833104834104835104836104837104838104839104840104841104842104843104844104845104846104847104848104849104850104851104852104853104854104855104856104857104858104859104860104861104862104863104864104865104866104867104868104869104870104871104872104873104874104875104876104877104878104879104880104881104882104883104884104885104886104887104888104889104890104891104892104893104894104895104896104897104898104899104900104901104902104903104904104905104906104907104908104909104910104911104912104913104914104915104916104917104918104919104920104921104922104923104924104925104926104927104928104929104930104931104932104933104934104935104936104937104938104939104940104941104942104943104944104945104946104947104948104949104950104951104952104953104954104955104956104957104958104959104960104961104962104963104964104965104966104967104968104969104970104971104972104973104974104975104976104977104978104979104980104981104982104983104984104985104986104987104988104989104990104991104992104993104994104995104996104997104998104999105000105001105002105003105004105005105006105007105008105009105010105011105012105013105014105015105016105017105018105019105020105021105022105023105024105025105026105027105028105029105030105031105032105033105034105035105036105037105038105039105040105041105042105043105044105045105046105047105048105049105050105051105052105053105054105055105056105057105058105059105060105061105062105063105064105065105066105067105068105069105070105071105072105073105074105075105076105077105078105079105080105081105082105083105084105085105086105087105088105089105090105091105092105093105094105095105096105097105098105099105100105101105102105103105104105105105106105107105108105109105110105111105112105113105114105115105116105117105118105119105120105121105122105123105124105125105126105127105128105129105130105131105132105133105134105135105136105137105138105139105140105141105142105143105144105145105146105147105148105149105150105151105152105153105154105155105156105157105158105159105160105161105162105163105164105165105166105167105168105169105170105171105172105173105174105175105176105177105178105179105180105181105182105183105184105185105186105187105188105189105190105191105192105193105194105195105196105197105198105199105200105201105202105203105204105205105206105207105208105209105210105211105212105213105214105215105216105217105218105219105220105221105222105223105224105225105226105227105228105229105230105231105232105233105234105235105236105237105238105239105240105241105242105243105244105245105246105247105248105249105250105251105252105253105254105255105256105257105258105259105260105261105262105263105264105265105266105267105268105269105270105271105272105273105274105275105276105277105278105279105280105281105282105283105284105285105286105287105288105289105290105291105292105293105294105295105296105297105298105299105300105301105302105303105304105305105306105307105308105309105310105311105312105313105314105315105316105317105318105319105320105321105322105323105324105325105326105327105328105329105330105331105332105333105334105335105336105337105338105339105340105341105342105343105344105345105346105347105348105349105350105351105352105353105354105355105356105357105358105359105360105361105362105363105364105365105366105367105368105369105370105371105372105373105374105375105376105377105378105379105380105381105382105383105384105385105386105387105388105389105390105391105392105393105394105395105396105397105398105399105400105401105402105403105404105405105406105407105408105409105410105411105412105413105414105415105416105417105418105419105420105421105422105423105424105425105426105427105428105429105430105431105432105433105434105435105436105437105438105439105440105441105442105443105444105445105446105447105448105449105450105451105452105453105454105455105456105457105458105459105460105461105462105463105464105465105466105467105468105469105470105471105472105473105474105475105476105477105478105479105480105481105482105483105484105485105486105487105488105489105490105491105492105493105494105495105496105497105498105499105500105501105502105503105504105505105506105507105508105509105510105511105512105513105514105515105516105517105518105519105520105521105522105523105524105525105526105527105528105529105530105531105532105533105534105535105536105537105538105539105540105541105542105543105544105545105546105547105548105549105550105551105552105553105554105555105556105557105558105559105560105561105562105563105564105565105566105567105568105569105570105571105572105573105574105575105576105577105578105579105580105581105582105583105584105585105586105587105588105589105590105591105592105593105594105595105596105597105598105599105600105601105602105603105604105605105606105607105608105609105610105611105612105613105614105615105616105617105618105619105620105621105622105623105624105625105626105627105628105629105630105631105632105633105634105635105636105637105638105639105640105641105642105643105644105645105646105647105648105649105650105651105652105653105654105655105656105657105658105659105660105661105662105663105664105665105666105667105668105669105670105671105672105673105674105675105676105677105678105679105680105681105682105683105684105685105686105687105688105689105690105691105692105693105694105695105696105697105698105699105700105701105702105703105704105705105706105707105708105709105710105711105712105713105714105715105716105717105718105719105720105721105722105723105724105725105726105727105728105729105730105731105732105733105734105735105736105737105738105739105740105741105742105743105744105745105746105747105748105749105750105751105752105753105754105755105756105757105758105759105760105761105762105763105764105765105766105767105768105769105770105771105772105773105774105775105776105777105778105779105780105781105782105783105784105785105786105787105788105789105790105791105792105793105794105795105796105797105798105799105800105801105802105803105804105805105806105807105808105809105810105811105812105813105814105815105816105817105818105819105820105821105822105823105824105825105826105827105828105829105830105831105832105833105834105835105836105837105838105839105840105841105842105843105844105845105846105847105848105849105850105851105852105853105854105855105856105857105858105859105860105861105862105863105864105865105866105867105868105869105870105871105872105873105874105875105876105877105878105879105880105881105882105883105884105885105886105887105888105889105890105891105892105893105894105895105896105897105898105899105900105901105902105903105904105905105906105907105908105909105910105911105912105913105914105915105916105917105918105919105920105921105922105923105924105925105926105927105928105929105930105931105932105933105934105935105936105937105938105939105940105941105942105943105944105945105946105947105948105949105950105951105952105953105954105955105956105957105958105959105960105961105962105963105964105965105966105967105968105969105970105971105972105973105974105975105976105977105978105979105980105981105982105983105984105985105986105987105988105989105990105991105992105993105994105995105996105997105998105999106000106001106002106003106004106005106006106007106008106009106010106011106012106013106014106015106016106017106018106019106020106021106022106023106024106025106026106027106028106029106030106031106032106033106034106035106036106037106038106039106040106041106042106043106044106045106046106047106048106049106050106051106052106053106054106055106056106057106058106059106060106061106062106063106064106065106066106067106068106069106070106071106072106073106074106075106076106077106078106079106080106081106082106083106084106085106086106087106088106089106090106091106092106093106094106095106096106097106098106099106100106101106102106103106104106105106106106107106108106109106110106111106112106113106114106115106116106117106118106119106120106121106122106123106124106125106126106127106128106129106130106131106132106133106134106135106136106137106138106139106140106141106142106143106144106145106146106147106148106149106150106151106152106153106154106155106156106157106158106159106160106161106162106163106164106165106166106167106168106169106170106171106172106173106174106175106176106177106178106179106180106181106182106183106184106185106186106187106188106189106190106191106192106193106194106195106196106197106198106199106200106201106202106203106204106205106206106207106208106209106210106211106212106213106214106215106216106217106218106219106220106221106222106223106224106225106226106227106228106229106230106231106232106233106234106235106236106237106238106239106240106241106242106243106244106245106246106247106248106249106250106251106252106253106254106255106256106257106258106259106260106261106262106263106264106265106266106267106268106269106270106271106272106273106274106275106276106277106278106279106280106281106282106283106284106285106286106287106288106289106290106291106292106293106294106295106296106297106298106299106300106301106302106303106304106305106306106307106308106309106310106311106312106313106314106315106316106317106318106319106320106321106322106323106324106325106326106327106328106329106330106331106332106333106334106335106336106337106338106339106340106341106342106343106344106345106346106347106348106349106350106351106352106353106354106355106356106357106358106359106360106361106362106363106364106365106366106367106368106369106370106371106372106373106374106375106376106377106378106379106380106381106382106383106384106385106386106387106388106389106390106391106392106393106394106395106396106397106398106399106400106401106402106403106404106405106406106407106408106409106410106411106412106413106414106415106416106417106418106419106420106421106422106423106424106425106426106427106428106429106430106431106432106433106434106435106436106437106438106439106440106441106442106443106444106445106446106447106448106449106450106451106452106453106454106455106456106457106458106459106460106461106462106463106464106465106466106467106468106469106470106471106472106473106474106475106476106477106478106479106480106481106482106483106484106485106486106487106488106489106490106491106492106493106494106495106496106497106498106499106500106501106502106503106504106505106506106507106508106509106510106511106512106513106514106515106516106517106518106519106520106521106522106523106524106525106526106527106528106529106530106531106532106533106534106535106536106537106538106539106540106541106542106543106544106545106546106547106548106549106550106551106552106553106554106555106556106557106558106559106560106561106562106563106564106565106566106567106568106569106570106571106572106573106574106575106576106577106578106579106580106581106582106583106584106585106586106587106588106589106590106591106592106593106594106595106596106597106598106599106600106601106602106603106604106605106606106607106608106609106610106611106612106613106614106615106616106617106618106619106620106621106622106623106624106625106626106627106628106629106630106631106632106633106634106635106636106637106638106639106640106641106642106643106644106645106646106647106648106649106650106651106652106653106654106655106656106657106658106659106660106661106662106663106664106665106666106667106668106669106670106671106672106673106674106675106676106677106678106679106680106681106682106683106684106685106686106687106688106689106690106691106692106693106694106695106696106697106698106699106700106701106702106703106704106705106706106707106708106709106710106711106712106713106714106715106716106717106718106719106720106721106722106723106724106725106726106727106728106729106730106731106732106733106734106735106736106737106738106739106740106741106742106743106744106745106746106747106748106749106750106751106752106753106754106755106756106757106758106759106760106761106762106763106764106765106766106767106768106769106770106771106772106773106774106775106776106777106778106779106780106781106782106783106784106785106786106787106788106789106790106791106792106793106794106795106796106797106798106799106800106801106802106803106804106805106806106807106808106809106810106811106812106813106814106815106816106817106818106819106820106821106822106823106824106825106826106827106828106829106830106831106832106833106834106835106836106837106838106839106840106841106842106843106844106845106846106847106848106849106850106851106852106853106854106855106856106857106858106859106860106861106862106863106864106865106866106867106868106869106870106871106872106873106874106875106876106877106878106879106880106881106882106883106884106885106886106887106888106889106890106891106892106893106894106895106896106897106898106899106900106901106902106903106904106905106906106907106908106909106910106911106912106913106914106915106916106917106918106919106920106921106922106923106924106925106926106927106928106929106930106931106932106933106934106935106936106937106938106939106940106941106942106943106944106945106946106947106948106949106950106951106952106953106954106955106956106957106958106959106960106961106962106963106964106965106966106967106968106969106970106971106972106973106974106975106976106977106978106979106980106981106982106983106984106985106986106987106988106989106990106991106992106993106994106995106996106997106998106999107000107001107002107003107004107005107006107007107008107009107010107011107012107013107014107015107016107017107018107019107020107021107022107023107024107025107026107027107028107029107030107031107032107033107034107035107036107037107038107039107040107041107042107043107044107045107046107047107048107049107050107051107052107053107054107055107056107057107058107059107060107061107062107063107064107065107066107067107068107069107070107071107072107073107074107075107076107077107078107079107080107081107082107083107084107085107086107087107088107089107090107091107092107093107094107095107096107097107098107099107100107101107102107103107104107105107106107107107108107109107110107111107112107113107114107115107116107117107118107119107120107121107122107123107124107125107126107127107128107129107130107131107132107133107134107135107136107137107138107139107140107141107142107143107144107145107146107147107148107149107150107151107152107153107154107155107156107157107158107159107160107161107162107163107164107165107166107167107168107169107170107171107172107173107174107175107176107177107178107179107180107181107182107183107184107185107186107187107188107189107190107191107192107193107194107195107196107197107198107199107200107201107202107203107204107205107206107207107208107209107210107211107212107213107214107215107216107217107218107219107220107221107222107223107224107225107226107227107228107229107230107231107232107233107234107235107236107237107238107239107240107241107242107243107244107245107246107247107248107249107250107251107252107253107254107255107256107257107258107259107260107261107262107263107264107265107266107267107268107269107270107271107272107273107274107275107276107277107278107279107280107281107282107283107284107285107286107287107288107289107290107291107292107293107294107295107296107297107298107299107300107301107302107303107304107305107306107307107308107309107310107311107312107313107314107315107316107317107318107319107320107321107322107323107324107325107326107327107328107329107330107331107332107333107334107335107336107337107338107339107340107341107342107343107344107345107346107347107348107349107350107351107352107353107354107355107356107357107358107359107360107361107362107363107364107365107366107367107368107369107370107371107372107373107374107375107376107377107378107379107380107381107382107383107384107385107386107387107388107389107390107391107392107393107394107395107396107397107398107399107400107401107402107403107404107405107406107407107408107409107410107411107412107413107414107415107416107417107418107419107420107421107422107423107424107425107426107427107428107429107430107431107432107433107434107435107436107437107438107439107440107441107442107443107444107445107446107447107448107449107450107451107452107453107454107455107456107457107458107459107460107461107462107463107464107465107466107467107468107469107470107471107472107473107474107475107476107477107478107479107480107481107482107483107484107485107486107487107488107489107490107491107492107493107494107495107496107497107498107499107500107501107502107503107504107505107506107507107508107509107510107511107512107513107514107515107516107517107518107519107520107521107522107523107524107525107526107527107528107529107530107531107532107533107534107535107536107537107538107539107540107541107542107543107544107545107546107547107548107549107550107551107552107553107554107555107556107557107558107559107560107561107562107563107564107565107566107567107568107569107570107571107572107573107574107575107576107577107578107579107580107581107582107583107584107585107586107587107588107589107590107591107592107593107594107595107596107597107598107599107600107601107602107603107604107605107606107607107608107609107610107611107612107613107614107615107616107617107618107619107620107621107622107623107624107625107626107627107628107629107630107631107632107633107634107635107636107637107638107639107640107641107642107643107644107645107646107647107648107649107650107651107652107653107654107655107656107657107658107659107660107661107662107663107664107665107666107667107668107669107670107671107672107673107674107675107676107677107678107679107680107681107682107683107684107685107686107687107688107689107690107691107692107693107694107695107696107697107698107699107700107701107702107703107704107705107706107707107708107709107710107711107712107713107714107715107716107717107718107719107720107721107722107723107724107725107726107727107728107729107730107731107732107733107734107735107736107737107738107739107740107741107742107743107744107745107746107747107748107749107750107751107752107753107754107755107756107757107758107759107760107761107762107763107764107765107766107767107768107769107770107771107772107773107774107775107776107777107778107779107780107781107782107783107784107785107786107787107788107789107790107791107792107793107794107795107796107797107798107799107800107801107802107803107804107805107806107807107808107809107810107811107812107813107814107815107816107817107818107819107820107821107822107823107824107825107826107827107828107829107830107831107832107833107834107835107836107837107838107839107840107841107842107843107844107845107846107847107848107849107850107851107852107853107854107855107856107857107858107859107860107861107862107863107864107865107866107867107868107869107870107871107872107873107874107875107876107877107878107879107880107881107882107883107884107885107886107887107888107889107890107891107892107893107894107895107896107897107898107899107900107901107902107903107904107905107906107907107908107909107910107911107912107913107914107915107916107917107918107919107920107921107922107923107924107925107926107927107928107929107930107931107932107933107934107935107936107937107938107939107940107941107942107943107944107945107946107947107948107949107950107951107952107953107954107955107956107957107958107959107960107961107962107963107964107965107966107967107968107969107970107971107972107973107974107975107976107977107978107979107980107981107982107983107984107985107986107987107988107989107990107991107992107993107994107995107996107997107998107999108000108001108002108003108004108005108006108007108008108009108010108011108012108013108014108015108016108017108018108019108020108021108022108023108024108025108026108027108028108029108030108031108032108033108034108035108036108037108038108039108040108041108042108043108044108045108046108047108048108049108050108051108052108053108054108055108056108057108058108059108060108061108062108063108064108065108066108067108068108069108070108071108072108073108074108075108076108077108078108079108080108081108082108083108084108085108086108087108088108089108090108091108092108093108094108095108096108097108098108099108100108101108102108103108104108105108106108107108108108109108110108111108112108113108114108115108116108117108118108119108120108121108122108123108124108125108126108127108128108129108130108131108132108133108134108135108136108137108138108139108140108141108142108143108144108145108146108147108148108149108150108151108152108153108154108155108156108157108158108159108160108161108162108163108164108165108166108167108168108169108170108171108172108173108174108175108176108177108178108179108180108181108182108183108184108185108186108187108188108189108190108191108192108193108194108195108196108197108198108199108200108201108202108203108204108205108206108207108208108209108210108211108212108213108214108215108216108217108218108219108220108221108222108223108224108225108226108227108228108229108230108231108232108233108234108235108236108237108238108239108240108241108242108243108244108245108246108247108248108249108250108251108252108253108254108255108256108257108258108259108260108261108262108263108264108265108266108267108268108269108270108271108272108273108274108275108276108277108278108279108280108281108282108283108284108285108286108287108288108289108290108291108292108293108294108295108296108297108298108299108300108301108302108303108304108305108306108307108308108309108310108311108312108313108314108315108316108317108318108319108320108321108322108323108324108325108326108327108328108329108330108331108332108333108334108335108336108337108338108339108340108341108342108343108344108345108346108347108348108349108350108351108352108353108354108355108356108357108358108359108360108361108362108363108364108365108366108367108368108369108370108371108372108373108374108375108376108377108378108379108380108381108382108383108384108385108386108387108388108389108390108391108392108393108394108395108396108397108398108399108400108401108402108403108404108405108406108407108408108409108410108411108412108413108414108415108416108417108418108419108420108421108422108423108424108425108426108427108428108429108430108431108432108433108434108435108436108437108438108439108440108441108442108443108444108445108446108447108448108449108450108451108452108453108454108455108456108457108458108459108460108461108462108463108464108465108466108467108468108469108470108471108472108473108474108475108476108477108478108479108480108481108482108483108484108485108486108487108488108489108490108491108492108493108494108495108496108497108498108499108500108501108502108503108504108505108506108507108508108509108510108511108512108513108514108515108516108517108518108519108520108521108522108523108524108525108526108527108528108529108530108531108532108533108534108535108536108537108538108539108540108541108542108543108544108545108546108547108548108549108550108551108552108553108554108555108556108557108558108559108560108561108562108563108564108565108566108567108568108569108570108571108572108573108574108575108576108577108578108579108580108581108582108583108584108585108586108587108588108589108590108591108592108593108594108595108596108597108598108599108600108601108602108603108604108605108606108607108608108609108610108611108612108613108614108615108616108617108618108619108620108621108622108623108624108625108626108627108628108629108630108631108632108633108634108635108636108637108638108639108640108641108642108643108644108645108646108647108648108649108650108651108652108653108654108655108656108657108658108659108660108661108662108663108664108665108666108667108668108669108670108671108672108673108674108675108676108677108678108679108680108681108682108683108684108685108686108687108688108689108690108691108692108693108694108695108696108697108698108699108700108701108702108703108704108705108706108707108708108709108710108711108712108713108714108715108716108717108718108719108720108721108722108723108724108725108726108727108728108729108730108731108732108733108734108735108736108737108738108739108740108741108742108743108744108745108746108747108748108749108750108751108752108753108754108755108756108757108758108759108760108761108762108763108764108765108766108767108768108769108770108771108772108773108774108775108776108777108778108779108780108781108782108783108784108785108786108787108788108789108790108791108792108793108794108795108796108797108798108799108800108801108802108803108804108805108806108807108808108809108810108811108812108813108814108815108816108817108818108819108820108821108822108823108824108825108826108827108828108829108830108831108832108833108834108835108836108837108838108839108840108841108842108843108844108845108846108847108848108849108850108851108852108853108854108855108856108857108858108859108860108861108862108863108864108865108866108867108868108869108870108871108872108873108874108875108876108877108878108879108880108881108882108883108884108885108886108887108888108889108890108891108892108893108894108895108896108897108898108899108900108901108902108903108904108905108906108907108908108909108910108911108912108913108914108915108916108917108918108919108920108921108922108923108924108925108926108927108928108929108930108931108932108933108934108935108936108937108938108939108940108941108942108943108944108945108946108947108948108949108950108951108952108953108954108955108956108957108958108959108960108961108962108963108964108965108966108967108968108969108970108971108972108973108974108975108976108977108978108979108980108981108982108983108984108985108986108987108988108989108990108991108992108993108994108995108996108997108998108999109000109001109002109003109004109005109006109007109008109009109010109011109012109013109014109015109016109017109018109019109020109021109022109023109024109025109026109027109028109029109030109031109032109033109034109035109036109037109038109039109040109041109042109043109044109045109046109047109048109049109050109051109052109053109054109055109056109057109058109059109060109061109062109063109064109065109066109067109068109069109070109071109072109073109074109075109076109077109078109079109080109081109082109083109084109085109086109087109088109089109090109091109092109093109094109095109096109097109098109099109100109101109102109103109104109105109106109107109108109109109110109111109112109113109114109115109116109117109118109119109120109121109122109123109124109125109126109127109128109129109130109131109132109133109134109135109136109137109138109139109140109141109142109143109144109145109146109147109148109149109150109151109152109153109154109155109156109157109158109159109160109161109162109163109164109165109166109167109168109169109170109171109172109173109174109175109176109177109178109179109180109181109182109183109184109185109186109187109188109189109190109191109192109193109194109195109196109197109198109199109200109201109202109203109204109205109206109207109208109209109210109211109212109213109214109215109216109217109218109219109220109221109222109223109224109225109226109227109228109229109230109231109232109233109234109235109236109237109238109239109240109241109242109243109244109245109246109247109248109249109250109251109252109253109254109255109256109257109258109259109260109261109262109263109264109265109266109267109268109269109270109271109272109273109274109275109276109277109278109279109280109281109282109283109284109285109286109287109288109289109290109291109292109293109294109295109296109297109298109299109300109301109302109303109304109305109306109307109308109309109310109311109312109313109314109315109316109317109318109319109320109321109322109323109324109325109326109327109328109329109330109331109332109333109334109335109336109337109338109339109340109341109342109343109344109345109346109347109348109349109350109351109352109353109354109355109356109357109358109359109360109361109362109363109364109365109366109367109368109369109370109371109372109373109374109375109376109377109378109379109380109381109382109383109384109385109386109387109388109389109390109391109392109393109394109395109396109397109398109399109400109401109402109403109404109405109406109407109408109409109410109411109412109413109414109415109416109417109418109419109420109421109422109423109424109425109426109427109428109429109430109431109432109433109434109435109436109437109438109439109440109441109442109443109444109445109446109447109448109449109450109451109452109453109454109455109456109457109458109459109460109461109462109463109464109465109466109467109468109469109470109471109472109473109474109475109476109477109478109479109480109481109482109483109484109485109486109487109488109489109490109491109492109493109494109495109496109497109498109499109500109501109502109503109504109505109506109507109508109509109510109511109512109513109514109515109516109517109518109519109520109521109522109523109524109525109526109527109528109529109530109531109532109533109534109535109536109537109538109539109540109541109542109543109544109545109546109547109548109549109550109551109552109553109554109555109556109557109558109559109560109561109562109563109564109565109566109567109568109569109570109571109572109573109574109575109576109577109578109579109580109581109582109583109584109585109586109587109588109589109590109591109592109593109594109595109596109597109598109599109600109601109602109603109604109605109606109607109608109609109610109611109612109613109614109615109616109617109618109619109620109621109622109623109624109625109626109627109628109629109630109631109632109633109634109635109636109637109638109639109640109641109642109643109644109645109646109647109648109649109650109651109652109653109654109655109656109657109658109659109660109661109662109663109664109665109666109667109668109669109670109671109672109673109674109675109676109677109678109679109680109681109682109683109684109685109686109687109688109689109690109691109692109693109694109695109696109697109698109699109700109701109702109703109704109705109706109707109708109709109710109711109712109713109714109715109716109717109718109719109720109721109722109723109724109725109726109727109728109729109730109731109732109733109734109735109736109737109738109739109740109741109742109743109744109745109746109747109748109749109750109751109752109753109754109755109756109757109758109759109760109761109762109763109764109765109766109767109768109769109770109771109772109773109774109775109776109777109778109779109780109781109782109783109784109785109786109787109788109789109790109791109792109793109794109795109796109797109798109799109800109801109802109803109804109805109806109807109808109809109810109811109812109813109814109815109816109817109818109819109820109821109822109823109824109825109826109827109828109829109830109831109832109833109834109835109836109837109838109839109840109841109842109843109844109845109846109847109848109849109850109851109852109853109854109855109856109857109858109859109860109861109862109863109864109865109866109867109868109869109870109871109872109873109874109875109876109877109878109879109880109881109882109883109884109885109886109887109888109889109890109891109892109893109894109895109896109897109898109899109900109901109902109903109904109905109906109907109908109909109910109911109912109913109914109915109916109917109918109919109920109921109922109923109924109925109926109927109928109929109930109931109932109933109934109935109936109937109938109939109940109941109942109943109944109945109946109947109948109949109950109951109952109953109954109955109956109957109958109959109960109961109962109963109964109965109966109967109968109969109970109971109972109973109974109975109976109977109978109979109980109981109982109983109984109985109986109987109988109989109990109991109992109993109994109995109996109997109998109999110000110001110002110003110004110005110006110007110008110009110010110011110012110013110014110015110016110017110018110019110020110021110022110023110024110025110026110027110028110029110030110031110032110033110034110035110036110037110038110039110040110041110042110043110044110045110046110047110048110049110050110051110052110053110054110055110056110057110058110059110060110061110062110063110064110065110066110067110068110069110070110071110072110073110074110075110076110077110078110079110080110081110082110083110084110085110086110087110088110089110090110091110092110093110094110095110096110097110098110099110100110101110102110103110104110105110106110107110108110109110110110111110112110113110114110115110116110117110118110119110120110121110122110123110124110125110126110127110128110129110130110131110132110133110134110135110136110137110138110139110140110141110142110143110144110145110146110147110148110149110150110151110152110153110154110155110156110157110158110159110160110161110162110163110164110165110166110167110168110169110170110171110172110173110174110175110176110177110178110179110180110181110182110183110184110185110186110187110188110189110190110191110192110193110194110195110196110197110198110199110200110201110202110203110204110205110206110207110208110209110210110211110212110213110214110215110216110217110218110219110220110221110222110223110224110225110226110227110228110229110230110231110232110233110234110235110236110237110238110239110240110241110242110243110244110245110246110247110248110249110250110251110252110253110254110255110256110257110258110259110260110261110262110263110264110265110266110267110268110269110270110271110272110273110274110275110276110277110278110279110280110281110282110283110284110285110286110287110288110289110290110291110292110293110294110295110296110297110298110299110300110301110302110303110304110305110306110307110308110309110310110311110312110313110314110315110316110317110318110319110320110321110322110323110324110325110326110327110328110329110330110331110332110333110334110335110336110337110338110339110340110341110342110343110344110345110346110347110348110349110350110351110352110353110354110355110356110357110358110359110360110361110362110363110364110365110366110367110368110369110370110371110372110373110374110375110376110377110378110379110380110381110382110383110384110385110386110387110388110389110390110391110392110393110394110395110396110397110398110399110400110401110402110403110404110405110406110407110408110409110410110411110412110413110414110415110416110417110418110419110420110421110422110423110424110425110426110427110428110429110430110431110432110433110434110435110436110437110438110439110440110441110442110443110444110445110446110447110448110449110450110451110452110453110454110455110456110457110458110459110460110461110462110463110464110465110466110467110468110469110470110471110472110473110474110475110476110477110478110479110480110481110482110483110484110485110486110487110488110489110490110491110492110493110494110495110496110497110498110499110500110501110502110503110504110505110506110507110508110509110510110511110512110513110514110515110516110517110518110519110520110521110522110523110524110525110526110527110528110529110530110531110532110533110534110535110536110537110538110539110540110541110542110543110544110545110546110547110548110549110550110551110552110553110554110555110556110557110558110559110560110561110562110563110564110565110566110567110568110569110570110571110572110573110574110575110576110577110578110579110580110581110582110583110584110585110586110587110588110589110590110591110592110593110594110595110596110597110598110599110600110601110602110603110604110605110606110607110608110609110610110611110612110613110614110615110616110617110618110619110620110621110622110623110624110625110626110627110628110629110630110631110632110633110634110635110636110637110638110639110640110641110642110643110644110645110646110647110648110649110650110651110652110653110654110655110656110657110658110659110660110661110662110663110664110665110666110667110668110669110670110671110672110673110674110675110676110677110678110679110680110681110682110683110684110685110686110687110688110689110690110691110692110693110694110695110696110697110698110699110700110701110702110703110704110705110706110707110708110709110710110711110712110713110714110715110716110717110718110719110720110721110722110723110724110725110726110727110728110729110730110731110732110733110734110735110736110737110738110739110740110741110742110743110744110745110746110747110748110749110750110751110752110753110754110755110756110757110758110759110760110761110762110763110764110765110766110767110768110769110770110771110772110773110774110775110776110777110778110779110780110781110782110783110784110785110786110787110788110789110790110791110792110793110794110795110796110797110798110799110800110801110802110803110804110805110806110807110808110809110810110811110812110813110814110815110816110817110818110819110820110821110822110823110824110825110826110827110828110829110830110831110832110833110834110835110836110837110838110839110840110841110842110843110844110845110846110847110848110849110850110851110852110853110854110855110856110857110858110859110860110861110862110863110864110865110866110867110868110869110870110871110872110873110874110875110876110877110878110879110880110881110882110883110884110885110886110887110888110889110890110891110892110893110894110895110896110897110898110899110900110901110902110903110904110905110906110907110908110909110910110911110912110913110914110915110916110917110918110919110920110921110922110923110924110925110926110927110928110929110930110931110932110933110934110935110936110937110938110939110940110941110942110943110944110945110946110947110948110949110950110951110952110953110954110955110956110957110958110959110960110961110962110963110964110965110966110967110968110969110970110971110972110973110974110975110976110977110978110979110980110981110982110983110984110985110986110987110988110989110990110991110992110993110994110995110996110997110998110999111000111001111002111003111004111005111006111007111008111009111010111011111012111013111014111015111016111017111018111019111020111021111022111023111024111025111026111027111028111029111030111031111032111033111034111035111036111037111038111039111040111041111042111043111044111045111046111047111048111049111050111051111052111053111054111055111056111057111058111059111060111061111062111063111064111065111066111067111068111069111070111071111072111073111074111075111076111077111078111079111080111081111082111083111084111085111086111087111088111089111090111091111092111093111094111095111096111097111098111099111100111101111102111103111104111105111106111107111108111109111110111111111112111113111114111115111116111117111118111119111120111121111122111123111124111125111126111127111128111129111130111131111132111133111134111135111136111137111138111139111140111141111142111143111144111145111146111147111148111149111150111151111152111153111154111155111156111157111158111159111160111161111162111163111164111165111166111167111168111169111170111171111172111173111174111175111176111177111178111179111180111181111182111183111184111185111186111187111188111189111190111191111192111193111194111195111196111197111198111199111200111201111202111203111204111205111206111207111208111209111210111211111212111213111214111215111216111217111218111219111220111221111222111223111224111225111226111227111228111229111230111231111232111233111234111235111236111237111238111239111240111241111242111243111244111245111246111247111248111249111250111251111252111253111254111255111256111257111258111259111260111261111262111263111264111265111266111267111268111269111270111271111272111273111274111275111276111277111278111279111280111281111282111283111284111285111286111287111288111289111290111291111292111293111294111295111296111297111298111299111300111301111302111303111304111305111306111307111308111309111310111311111312111313111314111315111316111317111318111319111320111321111322111323111324111325111326111327111328111329111330111331111332111333111334111335111336111337111338111339111340111341111342111343111344111345111346111347111348111349111350111351111352111353111354111355111356111357111358111359111360111361111362111363111364111365111366111367111368111369111370111371111372111373111374111375111376111377111378111379111380111381111382111383111384111385111386111387111388111389111390111391111392111393111394111395111396111397111398111399111400111401111402111403111404111405111406111407111408111409111410111411111412111413111414111415111416111417111418111419111420111421111422111423111424111425111426111427111428111429111430111431111432111433111434111435111436111437111438111439111440111441111442111443111444111445111446111447111448111449111450111451111452111453111454111455111456111457111458111459111460111461111462111463111464111465111466111467111468111469111470111471111472111473111474111475111476111477111478111479111480111481111482111483111484111485111486111487111488111489111490111491111492111493111494111495111496111497111498111499111500111501111502111503111504111505111506111507111508111509111510111511111512111513111514111515111516111517111518111519111520111521111522111523111524111525111526111527111528111529111530111531111532111533111534111535111536111537111538111539111540111541111542111543111544111545111546111547111548111549111550111551111552111553111554111555111556111557111558111559111560111561111562111563111564111565111566111567111568111569111570111571111572111573111574111575111576111577111578111579111580111581111582111583111584111585111586111587111588111589111590111591111592111593111594111595111596111597111598111599111600111601111602111603111604111605111606111607111608111609111610111611111612111613111614111615111616111617111618111619111620111621111622111623111624111625111626111627111628111629111630111631111632111633111634111635111636111637111638111639111640111641111642111643111644111645111646111647111648111649111650111651111652111653111654111655111656111657111658111659111660111661111662111663111664111665111666111667111668111669111670111671111672111673111674111675111676111677111678111679111680111681111682111683111684111685111686111687111688111689111690111691111692111693111694111695111696111697111698111699111700111701111702111703111704111705111706111707111708111709111710111711111712111713111714111715111716111717111718111719111720111721111722111723111724111725111726111727111728111729111730111731111732111733111734111735111736111737111738111739111740111741111742111743111744111745111746111747111748111749111750111751111752111753111754111755111756111757111758111759111760111761111762111763111764111765111766111767111768111769111770111771111772111773111774111775111776111777111778111779111780111781111782111783111784111785111786111787111788111789111790111791111792111793111794111795111796111797111798111799111800111801111802111803111804111805111806111807111808111809111810111811111812111813111814111815111816111817111818111819111820111821111822111823111824111825111826111827111828111829111830111831111832111833111834111835111836111837111838111839111840111841111842111843111844111845111846111847111848111849111850111851111852111853111854111855111856111857111858111859111860111861111862111863111864111865111866111867111868111869111870111871111872111873111874111875111876111877111878111879111880111881111882111883111884111885111886111887111888111889111890111891111892111893111894111895111896111897111898111899111900111901111902111903111904111905111906111907111908111909111910111911111912111913111914111915111916111917111918111919111920111921111922111923111924111925111926111927111928111929111930111931111932111933111934111935111936111937111938111939111940111941111942111943111944111945111946111947111948111949111950111951111952111953111954111955111956111957111958111959111960111961111962111963111964111965111966111967111968111969111970111971111972111973111974111975111976111977111978111979111980111981111982111983111984111985111986111987111988111989111990111991111992111993111994111995111996111997111998111999112000112001112002112003112004112005112006112007112008112009112010112011112012112013112014112015112016112017112018112019112020112021112022112023112024112025112026112027112028112029112030112031112032112033112034112035112036112037112038112039112040112041112042112043112044112045112046112047112048112049112050112051112052112053112054112055112056112057112058112059112060112061112062112063112064112065112066112067112068112069112070112071112072112073112074112075112076112077112078112079112080112081112082112083112084112085112086112087112088112089112090112091112092112093112094112095112096112097112098112099112100112101112102112103112104112105112106112107112108112109112110112111112112112113112114112115112116112117112118112119112120112121112122112123112124112125112126112127112128112129112130112131112132112133112134112135112136112137112138112139112140112141112142112143112144112145112146112147112148112149112150112151112152112153112154112155112156112157112158112159112160112161112162112163112164112165112166112167112168112169112170112171112172112173112174112175112176112177112178112179112180112181112182112183112184112185112186112187112188112189112190112191112192112193112194112195112196112197112198112199112200112201112202112203112204112205112206112207112208112209112210112211112212112213112214112215112216112217112218112219112220112221112222112223112224112225112226112227112228112229112230112231112232112233112234112235112236112237112238112239112240112241112242112243112244112245112246112247112248112249112250112251112252112253112254112255112256112257112258112259112260112261112262112263112264112265112266112267112268112269112270112271112272112273112274112275112276112277112278112279112280112281112282112283112284112285112286112287112288112289112290112291112292112293112294112295112296112297112298112299112300112301112302112303112304112305112306112307112308112309112310112311112312112313112314112315112316112317112318112319112320112321112322112323112324112325112326112327112328112329112330112331112332112333112334112335112336112337112338112339112340112341112342112343112344112345112346112347112348112349112350112351112352112353112354112355112356112357112358112359112360112361112362112363112364112365112366112367112368112369112370112371112372112373112374112375112376112377112378112379112380112381112382112383112384112385112386112387112388112389112390112391112392112393112394112395112396112397112398112399112400112401112402112403112404112405112406112407112408112409112410112411112412112413112414112415112416112417112418112419112420112421112422112423112424112425112426112427112428112429112430112431112432112433112434112435112436112437112438112439112440112441112442112443112444112445112446112447112448112449112450112451112452112453112454112455112456112457112458112459112460112461112462112463112464112465112466112467112468112469112470112471112472112473112474112475112476112477112478112479112480112481112482112483112484112485112486112487112488112489112490112491112492112493112494112495112496112497112498112499112500112501112502112503112504112505112506112507112508112509112510112511112512112513112514112515112516112517112518112519112520112521112522112523112524112525112526112527112528112529112530112531112532112533112534112535112536112537112538112539112540112541112542112543112544112545112546112547112548112549112550112551112552112553112554112555112556112557112558112559112560112561112562112563112564112565112566112567112568112569112570112571112572112573112574112575112576112577112578112579112580112581112582112583112584112585112586112587112588112589112590112591112592112593112594112595112596112597112598112599112600112601112602112603112604112605112606112607112608112609112610112611112612112613112614112615112616112617112618112619112620112621112622112623112624112625112626112627112628112629112630112631112632112633112634112635112636112637112638112639112640112641112642112643112644112645112646112647112648112649112650112651112652112653112654112655112656112657112658112659112660112661112662112663112664112665112666112667112668112669112670112671112672112673112674112675112676112677112678112679112680112681112682112683112684112685112686112687112688112689112690112691112692112693112694112695112696112697112698112699112700112701112702112703112704112705112706112707112708112709112710112711112712112713112714112715112716112717112718112719112720112721112722112723112724112725112726112727112728112729112730112731112732112733112734112735112736112737112738112739112740112741112742112743112744112745112746112747112748112749112750112751112752112753112754112755112756112757112758112759112760112761112762112763112764112765112766112767112768112769112770112771112772112773112774112775112776112777112778112779112780112781112782112783112784112785112786112787112788112789112790112791112792112793112794112795112796112797112798112799112800112801112802112803112804112805112806112807112808112809112810112811112812112813112814112815112816112817112818112819112820112821112822112823112824112825112826112827112828112829112830112831112832112833112834112835112836112837112838112839112840112841112842112843112844112845112846112847112848112849112850112851112852112853112854112855112856112857112858112859112860112861112862112863112864112865112866112867112868112869112870112871112872112873112874112875112876112877112878112879112880112881112882112883112884112885112886112887112888112889112890112891112892112893112894112895112896112897112898112899112900112901112902112903112904112905112906112907112908112909112910112911112912112913112914112915112916112917112918112919112920112921112922112923112924112925112926112927112928112929112930112931112932112933112934112935112936112937112938112939112940112941112942112943112944112945112946112947112948112949112950112951112952112953112954112955112956112957112958112959112960112961112962112963112964112965112966112967112968112969112970112971112972112973112974112975112976112977112978112979112980112981112982112983112984112985112986112987112988112989112990112991112992112993112994112995112996112997112998112999113000113001113002113003113004113005113006113007113008113009113010113011113012113013113014113015113016113017113018113019113020113021113022113023113024113025113026113027113028113029113030113031113032113033113034113035113036113037113038113039113040113041113042113043113044113045113046113047113048113049113050113051113052113053113054113055113056113057113058113059113060113061113062113063113064113065113066113067113068113069113070113071113072113073113074113075113076113077113078113079113080113081113082113083113084113085113086113087113088113089113090113091113092113093113094113095113096113097113098113099113100113101113102113103113104113105113106113107113108113109113110113111113112113113113114113115113116113117113118113119113120113121113122113123113124113125113126113127113128113129113130113131113132113133113134113135113136113137113138113139113140113141113142113143113144113145113146113147113148113149113150113151113152113153113154113155113156113157113158113159113160113161113162113163113164113165113166113167113168113169113170113171113172113173113174113175113176113177113178113179113180113181113182113183113184113185113186113187113188113189113190113191113192113193113194113195113196113197113198113199113200113201113202113203113204113205113206113207113208113209113210113211113212113213113214113215113216113217113218113219113220113221113222113223113224113225113226113227113228113229113230113231113232113233113234113235113236113237113238113239113240113241113242113243113244113245113246113247113248113249113250113251113252113253113254113255113256113257113258113259113260113261113262113263113264113265113266113267113268113269113270113271113272113273113274113275113276113277113278113279113280113281113282113283113284113285113286113287113288113289113290113291113292113293113294113295113296113297113298113299113300113301113302113303113304113305113306113307113308113309113310113311113312113313113314113315113316113317113318113319113320113321113322113323113324113325113326113327113328113329113330113331113332113333113334113335113336113337113338113339113340113341113342113343113344113345113346113347113348113349113350113351113352113353113354113355113356113357113358113359113360113361113362113363113364113365113366113367113368113369113370113371113372113373113374113375113376113377113378113379113380113381113382113383113384113385113386113387113388113389113390113391113392113393113394113395113396113397113398113399113400113401113402113403113404113405113406113407113408113409113410113411113412113413113414113415113416113417113418113419113420113421113422113423113424113425113426113427113428113429113430113431113432113433113434113435113436113437113438113439113440113441113442113443113444113445113446113447113448113449113450113451113452113453113454113455113456113457113458113459113460113461113462113463113464113465113466113467113468113469113470113471113472113473113474113475113476113477113478113479113480113481113482113483113484113485113486113487113488113489113490113491113492113493113494113495113496113497113498113499113500113501113502113503113504113505113506113507113508113509113510113511113512113513113514113515113516113517113518113519113520113521113522113523113524113525113526113527113528113529113530113531113532113533113534113535113536113537113538113539113540113541113542113543113544113545113546113547113548113549113550113551113552113553113554113555113556113557113558113559113560113561113562113563113564113565113566113567113568113569113570113571113572113573113574113575113576113577113578113579113580113581113582113583113584113585113586113587113588113589113590113591113592113593113594113595113596113597113598113599113600113601113602113603113604113605113606113607113608113609113610113611113612113613113614113615113616113617113618113619113620113621113622113623113624113625113626113627113628113629113630113631113632113633113634113635113636113637113638113639113640113641113642113643113644113645113646113647113648113649113650113651113652113653113654113655113656113657113658113659113660113661113662113663113664113665113666113667113668113669113670113671113672113673113674113675113676113677113678113679113680113681113682113683113684113685113686113687113688113689113690113691113692113693113694113695113696113697113698113699113700113701113702113703113704113705113706113707113708113709113710113711113712113713113714113715113716113717113718113719113720113721113722113723113724113725113726113727113728113729113730113731113732113733113734113735113736113737113738113739113740113741113742113743113744113745113746113747113748113749113750113751113752113753113754113755113756113757113758113759113760113761113762113763113764113765113766113767113768113769113770113771113772113773113774113775113776113777113778113779113780113781113782113783113784113785113786113787113788113789113790113791113792113793113794113795113796113797113798113799113800113801113802113803113804113805113806113807113808113809113810113811113812113813113814113815113816113817113818113819113820113821113822113823113824113825113826113827113828113829113830113831113832113833113834113835113836113837113838113839113840113841113842113843113844113845113846113847113848113849113850113851113852113853113854113855113856113857113858113859113860113861113862113863113864113865113866113867113868113869113870113871113872113873113874113875113876113877113878113879113880113881113882113883113884113885113886113887113888113889113890113891113892113893113894113895113896113897113898113899113900113901113902113903113904113905113906113907113908113909113910113911113912113913113914113915113916113917113918113919113920113921113922113923113924113925113926113927113928113929113930113931113932113933113934113935113936113937113938113939113940113941113942113943113944113945113946113947113948113949113950113951113952113953113954113955113956113957113958113959113960113961113962113963113964113965113966113967113968113969113970113971113972113973113974113975113976113977113978113979113980113981113982113983113984113985113986113987113988113989113990113991113992113993113994113995113996113997113998113999114000114001114002114003114004114005114006114007114008114009114010114011114012114013114014114015114016114017114018114019114020114021114022114023114024114025114026114027114028114029114030114031114032114033114034114035114036114037114038114039114040114041114042114043114044114045114046114047114048114049114050114051114052114053114054114055114056114057114058114059114060114061114062114063114064114065114066114067114068114069114070114071114072114073114074114075114076114077114078114079114080114081114082114083114084114085114086114087114088114089114090114091114092114093114094114095114096114097114098114099114100114101114102114103114104114105114106114107114108114109114110114111114112114113114114114115114116114117114118114119114120114121114122114123114124114125114126114127114128114129114130114131114132114133114134114135114136114137114138114139114140114141114142114143114144114145114146114147114148114149114150114151114152114153114154114155114156114157114158114159114160114161114162114163114164114165114166114167114168114169114170114171114172114173114174114175114176114177114178114179114180114181114182114183114184114185114186114187114188114189114190114191114192114193114194114195114196114197114198114199114200114201114202114203114204114205114206114207114208114209114210114211114212114213114214114215114216114217114218114219114220114221114222114223114224114225114226114227114228114229114230114231114232114233114234114235114236114237114238114239114240114241114242114243114244114245114246114247114248114249114250114251114252114253114254114255114256114257114258114259114260114261114262114263114264114265114266114267114268114269114270114271114272114273114274114275114276114277114278114279114280114281114282114283114284114285114286114287114288114289114290114291114292114293114294114295114296114297114298114299114300114301114302114303114304114305114306114307114308114309114310114311114312114313114314114315114316114317114318114319114320114321114322114323114324114325114326114327114328114329114330114331114332114333114334114335114336114337114338114339114340114341114342114343114344114345114346114347114348114349114350114351114352114353114354114355114356114357114358114359114360114361114362114363114364114365114366114367114368114369114370114371114372114373114374114375114376114377114378114379114380114381114382114383114384114385114386114387114388114389114390114391114392114393114394114395114396114397114398114399114400114401114402114403114404114405114406114407114408114409114410114411114412114413114414114415114416114417114418114419114420114421114422114423114424114425114426114427114428114429114430114431114432114433114434114435114436114437114438114439114440114441114442114443114444114445114446114447114448114449114450114451114452114453114454114455114456114457114458114459114460114461114462114463114464114465114466114467114468114469114470114471114472114473114474114475114476114477114478114479114480114481114482114483114484114485114486114487114488114489114490114491114492114493114494114495114496114497114498114499114500114501114502114503114504114505114506114507114508114509114510114511114512114513114514114515114516114517114518114519114520114521114522114523114524114525114526114527114528114529114530114531114532114533114534114535114536114537114538114539114540114541114542114543114544114545114546114547114548114549114550114551114552114553114554114555114556114557114558114559114560114561114562114563114564114565114566114567114568114569114570114571114572114573114574114575114576114577114578114579114580114581114582114583114584114585114586114587114588114589114590114591114592114593114594114595114596114597114598114599114600114601114602114603114604114605114606114607114608114609114610114611114612114613114614114615114616114617114618114619114620114621114622114623114624114625114626114627114628114629114630114631114632114633114634114635114636114637114638114639114640114641114642114643114644114645114646114647114648114649114650114651114652114653114654114655114656114657114658114659114660114661114662114663114664114665114666114667114668114669114670114671114672114673114674114675114676114677114678114679114680114681114682114683114684114685114686114687114688114689114690114691114692114693114694114695114696114697114698114699114700114701114702114703114704114705114706114707114708114709114710114711114712114713114714114715114716114717114718114719114720114721114722114723114724114725114726114727114728114729114730114731114732114733114734114735114736114737114738114739114740114741114742114743114744114745114746114747114748114749114750114751114752114753114754114755114756114757114758114759114760114761114762114763114764114765114766114767114768114769114770114771114772114773114774114775114776114777114778114779114780114781114782114783114784114785114786114787114788114789114790114791114792114793114794114795114796114797114798114799114800114801114802114803114804114805114806114807114808114809114810114811114812114813114814114815114816114817114818114819114820114821114822114823114824114825114826114827114828114829114830114831114832114833114834114835114836114837114838114839114840114841114842114843114844114845114846114847114848114849114850114851114852114853114854114855114856114857114858114859114860114861114862114863114864114865114866114867114868114869114870114871114872114873114874114875114876114877114878114879114880114881114882114883114884114885114886114887114888114889114890114891114892114893114894114895114896114897114898114899114900114901114902114903114904114905114906114907114908114909114910114911114912114913114914114915114916114917114918114919114920114921114922114923114924114925114926114927114928114929114930114931114932114933114934114935114936114937114938114939114940114941114942114943114944114945114946114947114948114949114950114951114952114953114954114955114956114957114958114959114960114961114962114963114964114965114966114967114968114969114970114971114972114973114974114975114976114977114978114979114980114981114982114983114984114985114986114987114988114989114990114991114992114993114994114995114996114997114998114999115000115001115002115003115004115005115006115007115008115009115010115011115012115013115014115015115016115017115018115019115020115021115022115023115024115025115026115027115028115029115030115031115032115033115034115035115036115037115038115039115040115041115042115043115044115045115046115047115048115049115050115051115052115053115054115055115056115057115058115059115060115061115062115063115064115065115066115067115068115069115070115071115072115073115074115075115076115077115078115079115080115081115082115083115084115085115086115087115088115089115090115091115092115093115094115095115096115097115098115099115100115101115102115103115104115105115106115107115108115109115110115111115112115113115114115115115116115117115118115119115120115121115122115123115124115125115126115127115128115129115130115131115132115133115134115135115136115137115138115139115140115141115142115143115144115145115146115147115148115149115150115151115152115153115154115155115156115157115158115159115160115161115162115163115164115165115166115167115168115169115170115171115172115173115174115175115176115177115178115179115180115181115182115183115184115185115186115187115188115189115190115191115192115193115194115195115196115197115198115199115200115201115202115203115204115205115206115207115208115209115210115211115212115213115214115215115216115217115218115219115220115221115222115223115224115225115226115227115228115229115230115231115232115233115234115235115236115237115238115239115240115241115242115243115244115245115246115247115248115249115250115251115252115253115254115255115256115257115258115259115260115261115262115263115264115265115266115267115268115269115270115271115272115273115274115275115276115277115278115279115280115281115282115283115284115285115286115287115288115289115290115291115292115293115294115295115296115297115298115299115300115301115302115303115304115305115306115307115308115309115310115311115312115313115314115315115316115317115318115319115320115321115322115323115324115325115326115327115328115329115330115331115332115333115334115335115336115337115338115339115340115341115342115343115344115345115346115347115348115349115350115351115352115353115354115355115356115357115358115359115360115361115362115363115364115365115366115367115368115369115370115371115372115373115374115375115376115377115378115379115380115381115382115383115384115385115386115387115388115389115390115391115392115393115394115395115396115397115398115399115400115401115402115403115404115405115406115407115408115409115410115411115412115413115414115415115416115417115418115419115420115421115422115423115424115425115426115427115428115429115430115431115432115433115434115435115436115437115438115439115440115441115442115443115444115445115446115447115448115449115450115451115452115453115454115455115456115457115458115459115460115461115462115463115464115465115466115467115468115469115470115471115472115473115474115475115476115477115478115479115480115481115482115483115484115485115486115487115488115489115490115491115492115493115494115495115496115497115498115499115500115501115502115503115504115505115506115507115508115509115510115511115512115513115514115515115516115517115518115519115520115521115522115523115524115525115526115527115528115529115530115531115532115533115534115535115536115537115538115539115540115541115542115543115544115545115546115547115548115549115550115551115552115553115554115555115556115557115558115559115560115561115562115563115564115565115566115567115568115569115570115571115572115573115574115575115576115577115578115579115580115581115582115583115584115585115586115587115588115589115590115591115592115593115594115595115596115597115598115599115600115601115602115603115604115605115606115607115608115609115610115611115612115613115614115615115616115617115618115619115620115621115622115623115624115625115626115627115628115629115630115631115632115633115634115635115636115637115638115639115640115641115642115643115644115645115646115647115648115649115650115651115652115653115654115655115656115657115658115659115660115661115662115663115664115665115666115667115668115669115670115671115672115673115674115675115676115677115678115679115680115681115682115683115684115685115686115687115688115689115690115691115692115693115694115695115696115697115698115699115700115701115702115703115704115705115706115707115708115709115710115711115712115713115714115715115716115717115718115719115720115721115722115723115724115725115726115727115728115729115730115731115732115733115734115735115736115737115738115739115740115741115742115743115744115745115746115747115748115749115750115751115752115753115754115755115756115757115758115759115760115761115762115763115764115765115766115767115768115769115770115771115772115773115774115775115776115777115778115779115780115781115782115783115784115785115786115787115788115789115790115791115792115793115794115795115796115797115798115799115800115801115802115803115804115805115806115807115808115809115810115811115812115813115814115815115816115817115818115819115820115821115822115823115824115825115826115827115828115829115830115831115832115833115834115835115836115837115838115839115840115841115842115843115844115845115846115847115848115849115850115851115852115853115854115855115856115857115858115859115860115861115862115863115864115865115866115867115868115869115870115871115872115873115874115875115876115877115878115879115880115881115882115883115884115885115886115887115888115889115890115891115892115893115894115895115896115897115898115899115900115901115902115903115904115905115906115907115908115909115910115911115912115913115914115915115916115917115918115919115920115921115922115923115924115925115926115927115928115929115930115931115932115933115934115935115936115937115938115939115940115941115942115943115944115945115946115947115948115949115950115951115952115953115954115955115956115957115958115959115960115961115962115963115964115965115966115967115968115969115970115971115972115973115974115975115976115977115978115979115980115981115982115983115984115985115986115987115988115989115990115991115992115993115994115995115996115997115998115999116000116001116002116003116004116005116006116007116008116009116010116011116012116013116014116015116016116017116018116019116020116021116022116023116024116025116026116027116028116029116030116031116032116033116034116035116036116037116038116039116040116041116042116043116044116045116046116047116048116049116050116051116052116053116054116055116056116057116058116059116060116061116062116063116064116065116066116067116068116069116070116071116072116073116074116075116076116077116078116079116080116081116082116083116084116085116086116087116088116089116090116091116092116093116094116095116096116097116098116099116100116101116102116103116104116105116106116107116108116109116110116111116112116113116114116115116116116117116118116119116120116121116122116123116124116125116126116127116128116129116130116131116132116133116134116135116136116137116138116139116140116141116142116143116144116145116146116147116148116149116150116151116152116153116154116155116156116157116158116159116160116161116162116163116164116165116166116167116168116169116170116171116172116173116174116175116176116177116178116179116180116181116182116183116184116185116186116187116188116189116190116191116192116193116194116195116196116197116198116199116200116201116202116203116204116205116206116207116208116209116210116211116212116213116214116215116216116217116218116219116220116221116222116223116224116225116226116227116228116229116230116231116232116233116234116235116236116237116238116239116240116241116242116243116244116245116246116247116248116249116250116251116252116253116254116255116256116257116258116259116260116261116262116263116264116265116266116267116268116269116270116271116272116273116274116275116276116277116278116279116280116281116282116283116284116285116286116287116288116289116290116291116292116293116294116295116296116297116298116299116300116301116302116303116304116305116306116307116308116309116310116311116312116313116314116315116316116317116318116319116320116321116322116323116324116325116326116327116328116329116330116331116332116333116334116335116336116337116338116339116340116341116342116343116344116345116346116347116348116349116350116351116352116353116354116355116356116357116358116359116360116361116362116363116364116365116366116367116368116369116370116371116372116373116374116375116376116377116378116379116380116381116382116383116384116385116386116387116388116389116390116391116392116393116394116395116396116397116398116399116400116401116402116403116404116405116406116407116408116409116410116411116412116413116414116415116416116417116418116419116420116421116422116423116424116425116426116427116428116429116430116431116432116433116434116435116436116437116438116439116440116441116442116443116444116445116446116447116448116449116450116451116452116453116454116455116456116457116458116459116460116461116462116463116464116465116466116467116468116469116470116471116472116473116474116475116476116477116478116479116480116481116482116483116484116485116486116487116488116489116490116491116492116493116494116495116496116497116498116499116500116501116502116503116504116505116506116507116508116509116510116511116512116513116514116515116516116517116518116519116520116521116522116523116524116525116526116527116528116529116530116531116532116533116534116535116536116537116538116539116540116541116542116543116544116545116546116547116548116549116550116551116552116553116554116555116556116557116558116559116560116561116562116563116564116565116566116567116568116569116570116571116572116573116574116575116576116577116578116579116580116581116582116583116584116585116586116587116588116589116590116591116592116593116594116595116596116597116598116599116600116601116602116603116604116605116606116607116608116609116610116611116612116613116614116615116616116617116618116619116620116621116622116623116624116625116626116627116628116629116630116631116632116633116634116635116636116637116638116639116640116641116642116643116644116645116646116647116648116649116650116651116652116653116654116655116656116657116658116659116660116661116662116663116664116665116666116667116668116669116670116671116672116673116674116675116676116677116678116679116680116681116682116683116684116685116686116687116688116689116690116691116692116693116694116695116696116697116698116699116700116701116702116703116704116705116706116707116708116709116710116711116712116713116714116715116716116717116718116719116720116721116722116723116724116725116726116727116728116729116730116731116732116733116734116735116736116737116738116739116740116741116742116743116744116745116746116747116748116749116750116751116752116753116754116755116756116757116758116759116760116761116762116763116764116765116766116767116768116769116770116771116772116773116774116775116776116777116778116779116780116781116782116783116784116785116786116787116788116789116790116791116792116793116794116795116796116797116798116799116800116801116802116803116804116805116806116807116808116809116810116811116812116813116814116815116816116817116818116819116820116821116822116823116824116825116826116827116828116829116830116831116832116833116834116835116836116837116838116839116840116841116842116843116844116845116846116847116848116849116850116851116852116853116854116855116856116857116858116859116860116861116862116863116864116865116866116867116868116869116870116871116872116873116874116875116876116877116878116879116880116881116882116883116884116885116886116887116888116889116890116891116892116893116894116895116896116897116898116899116900116901116902116903116904116905116906116907116908116909116910116911116912116913116914116915116916116917116918116919116920116921116922116923116924116925116926116927116928116929116930116931116932116933116934116935116936116937116938116939116940116941116942116943116944116945116946116947116948116949116950116951116952116953116954116955116956116957116958116959116960116961116962116963116964116965116966116967116968116969116970116971116972116973116974116975116976116977116978116979116980116981116982116983116984116985116986116987116988116989116990116991116992116993116994116995116996116997116998116999117000117001117002117003117004117005117006117007117008117009117010117011117012117013117014117015117016117017117018117019117020117021117022117023117024117025117026117027117028117029117030117031117032117033117034117035117036117037117038117039117040117041117042117043117044117045117046117047117048117049117050117051117052117053117054117055117056117057117058117059117060117061117062117063117064117065117066117067117068117069117070117071117072117073117074117075117076117077117078117079117080117081117082117083117084117085117086117087117088117089117090117091117092117093117094117095117096117097117098117099117100117101117102117103117104117105117106117107117108117109117110117111117112117113117114117115117116117117117118117119117120117121117122117123117124117125117126117127117128117129117130117131117132117133117134117135117136117137117138117139117140117141117142117143117144117145117146117147117148117149117150117151117152117153117154117155117156117157117158117159117160117161117162117163117164117165117166117167117168117169117170117171117172117173117174117175117176117177117178117179117180117181117182117183117184117185117186117187117188117189117190117191117192117193117194117195117196117197117198117199117200117201117202117203117204117205117206117207117208117209117210117211117212117213117214117215117216117217117218117219117220117221117222117223117224117225117226117227117228117229117230117231117232117233117234117235117236117237117238117239117240117241117242117243117244117245117246117247117248117249117250117251117252117253117254117255117256117257117258117259117260117261117262117263117264117265117266117267117268117269117270117271117272117273117274117275117276117277117278117279117280117281117282117283117284117285117286117287117288117289117290117291117292117293117294117295117296117297117298117299117300117301117302117303117304117305117306117307117308117309117310117311117312117313117314117315117316117317117318117319117320117321117322117323117324117325117326117327117328117329117330117331117332117333117334117335117336117337117338117339117340117341117342117343117344117345117346117347117348117349117350117351117352117353117354117355117356117357117358117359117360117361117362117363117364117365117366117367117368117369117370117371117372117373117374117375117376117377117378117379117380117381117382117383117384117385117386117387117388117389117390117391117392117393117394117395117396117397117398117399117400117401117402117403117404117405117406117407117408117409117410117411117412117413117414117415117416117417117418117419117420117421117422117423117424117425117426117427117428117429117430117431117432117433117434117435117436117437117438117439117440117441117442117443117444117445117446117447117448117449117450117451117452117453117454117455117456117457117458117459117460117461117462117463117464117465117466117467117468117469117470117471117472117473117474117475117476117477117478117479117480117481117482117483117484117485117486117487117488117489117490117491117492117493117494117495117496117497117498117499117500117501117502117503117504117505117506117507117508117509117510117511117512117513117514117515117516117517117518117519117520117521117522117523117524117525117526117527117528117529117530117531117532117533117534117535117536117537117538117539117540117541117542117543117544117545117546117547117548117549117550117551117552117553117554117555117556117557117558117559117560117561117562117563117564117565117566117567117568117569117570117571117572117573117574117575117576117577117578117579117580117581117582117583117584117585117586117587117588117589117590117591117592117593117594117595117596117597117598117599117600117601117602117603117604117605117606117607117608117609117610117611117612117613117614117615117616117617117618117619117620117621117622117623117624117625117626117627117628117629117630117631117632117633117634117635117636117637117638117639117640117641117642117643117644117645117646117647117648117649117650117651117652117653117654117655117656117657117658117659117660117661117662117663117664117665117666117667117668117669117670117671117672117673117674117675117676117677117678117679117680117681117682117683117684117685117686117687117688117689117690117691117692117693117694117695117696117697117698117699117700117701117702117703117704117705117706117707117708117709117710117711117712117713117714117715117716117717117718117719117720117721117722117723117724117725117726117727117728117729117730117731117732117733117734117735117736117737117738117739117740117741117742117743117744117745117746117747117748117749117750117751117752117753117754117755117756117757117758117759117760117761117762117763117764117765117766117767117768117769117770117771117772117773117774117775117776117777117778117779117780117781117782117783117784117785117786117787117788117789117790117791117792117793117794117795117796117797117798117799117800117801117802117803117804117805117806117807117808117809117810117811117812117813117814117815117816117817117818117819117820117821117822117823117824117825117826117827117828117829117830117831117832117833117834117835117836117837117838117839117840117841117842117843117844117845117846117847117848117849117850117851117852117853117854117855117856117857117858117859117860117861117862117863117864117865117866117867117868117869117870117871117872117873117874117875117876117877117878117879117880117881117882117883117884117885117886117887117888117889117890117891117892117893117894117895117896117897117898117899117900117901117902117903117904117905117906117907117908117909117910117911117912117913117914117915117916117917117918117919117920117921117922117923117924117925117926117927117928117929117930117931117932117933117934117935117936117937117938117939117940117941117942117943117944117945117946117947117948117949117950117951117952117953117954117955117956117957117958117959117960117961117962117963117964117965117966117967117968117969117970117971117972117973117974117975117976117977117978117979117980117981117982117983117984117985117986117987117988117989117990117991117992117993117994117995117996117997117998117999118000118001118002118003118004118005118006118007118008118009118010118011118012118013118014118015118016118017118018118019118020118021118022118023118024118025118026118027118028118029118030118031118032118033118034118035118036118037118038118039118040118041118042118043118044118045118046118047118048118049118050118051118052118053118054118055118056118057118058118059118060118061118062118063118064118065118066118067118068118069118070118071118072118073118074118075118076118077118078118079118080118081118082118083118084118085118086118087118088118089118090118091118092118093118094118095118096118097118098118099118100118101118102118103118104118105118106118107118108118109118110118111118112118113118114118115118116118117118118118119118120118121118122118123118124118125118126118127118128118129118130118131118132118133118134118135118136118137118138118139118140118141118142118143118144118145118146118147118148118149118150118151118152118153118154118155118156118157118158118159118160118161118162118163118164118165118166118167118168118169118170118171118172118173118174118175118176118177118178118179118180118181118182118183118184118185118186118187118188118189118190118191118192118193118194118195118196118197118198118199118200118201118202118203118204118205118206118207118208118209118210118211118212118213118214118215118216118217118218118219118220118221118222118223118224118225118226118227118228118229118230118231118232118233118234118235118236118237118238118239118240118241118242118243118244118245118246118247118248118249118250118251118252118253118254118255118256118257118258118259118260118261118262118263118264118265118266118267118268118269118270118271118272118273118274118275118276118277118278118279118280118281118282118283118284118285118286118287118288118289118290118291118292118293118294118295118296118297118298118299118300118301118302118303118304118305118306118307118308118309118310118311118312118313118314118315118316118317118318118319118320118321118322118323118324118325118326118327118328118329118330118331118332118333118334118335118336118337118338118339118340118341118342118343118344118345118346118347118348118349118350118351118352118353118354118355118356118357118358118359118360118361118362118363118364118365118366118367118368118369118370118371118372118373118374118375118376118377118378118379118380118381118382118383118384118385118386118387118388118389118390118391118392118393118394118395118396118397118398118399118400118401118402118403118404118405118406118407118408118409118410118411118412118413118414118415118416118417118418118419118420118421118422118423118424118425118426118427118428118429118430118431118432118433118434118435118436118437118438118439118440118441118442118443118444118445118446118447118448118449118450118451118452118453118454118455118456118457118458118459118460118461118462118463118464118465118466118467118468118469118470118471118472118473118474118475118476118477118478118479118480118481118482118483118484118485118486118487118488118489118490118491118492118493118494118495118496118497118498118499118500118501118502118503118504118505118506118507118508118509118510118511118512118513118514118515118516118517118518118519118520118521118522118523118524118525118526118527118528118529118530118531118532118533118534118535118536118537118538118539118540118541118542118543118544118545118546118547118548118549118550118551118552118553118554118555118556118557118558118559118560118561118562118563118564118565118566118567118568118569118570118571118572118573118574118575118576118577118578118579118580118581118582118583118584118585118586118587118588118589118590118591118592118593118594118595118596118597118598118599118600118601118602118603118604118605118606118607118608118609118610118611118612118613118614118615118616118617118618118619118620118621118622118623118624118625118626118627118628118629118630118631118632118633118634118635118636118637118638118639118640118641118642118643118644118645118646118647118648118649118650118651118652118653118654118655118656118657118658118659118660118661118662118663118664118665118666118667118668118669118670118671118672118673118674118675118676118677118678118679118680118681118682118683118684118685118686118687118688118689118690118691118692118693118694118695118696118697118698118699118700118701118702118703118704118705118706118707118708118709118710118711118712118713118714118715118716118717118718118719118720118721118722118723118724118725118726118727118728118729118730118731118732118733118734118735118736118737118738118739118740118741118742118743118744118745118746118747118748118749118750118751118752118753118754118755118756118757118758118759118760118761118762118763118764118765118766118767118768118769118770118771118772118773118774118775118776118777118778118779118780118781118782118783118784118785118786118787118788118789118790118791118792118793118794118795118796118797118798118799118800118801118802118803118804118805118806118807118808118809118810118811118812118813118814118815118816118817118818118819118820118821118822118823118824118825118826118827118828118829118830118831118832118833118834118835118836118837118838118839118840118841118842118843118844118845118846118847118848118849118850118851118852118853118854118855118856118857118858118859118860118861118862118863118864118865118866118867118868118869118870118871118872118873118874118875118876118877118878118879118880118881118882118883118884118885118886118887118888118889118890118891118892118893118894118895118896118897118898118899118900118901118902118903118904118905118906118907118908118909118910118911118912118913118914118915118916118917118918118919118920118921118922118923118924118925118926118927118928118929118930118931118932118933118934118935118936118937118938118939118940118941118942118943118944118945118946118947118948118949118950118951118952118953118954118955118956118957118958118959118960118961118962118963118964118965118966118967118968118969118970118971118972118973118974118975118976118977118978118979118980118981118982118983118984118985118986118987118988118989118990118991118992118993118994118995118996118997118998118999119000119001119002119003119004119005119006119007119008119009119010119011119012119013119014119015119016119017119018119019119020119021119022119023119024119025119026119027119028119029119030119031119032119033119034119035119036119037119038119039119040119041119042119043119044119045119046119047119048119049119050119051119052119053119054119055119056119057119058119059119060119061119062119063119064119065119066119067119068119069119070119071119072119073119074119075119076119077119078119079119080119081119082119083119084119085119086119087119088119089119090119091119092119093119094119095119096119097119098119099119100119101119102119103119104119105119106119107119108119109119110119111119112119113119114119115119116119117119118119119119120119121119122119123119124119125119126119127119128119129119130119131119132119133119134119135119136119137119138119139119140119141119142119143119144119145119146119147119148119149119150119151119152119153119154119155119156119157119158119159119160119161119162119163119164119165119166119167119168119169119170119171119172119173119174119175119176119177119178119179119180119181119182119183119184119185119186119187119188119189119190119191119192119193119194119195119196119197119198119199119200119201119202119203119204119205119206119207119208119209119210119211119212119213119214119215119216119217119218119219119220119221119222119223119224119225119226119227119228119229119230119231119232119233119234119235119236119237119238119239119240119241119242119243119244119245119246119247119248119249119250119251119252119253119254119255119256119257119258119259119260119261119262119263119264119265119266119267119268119269119270119271119272119273119274119275119276119277119278119279119280119281119282119283119284119285119286119287119288119289119290119291119292119293119294119295119296119297119298119299119300119301119302119303119304119305119306119307119308119309119310119311119312119313119314119315119316119317119318119319119320119321119322119323119324119325119326119327119328119329119330119331119332119333119334119335119336119337119338119339119340119341119342119343119344119345119346119347119348119349119350119351119352119353119354119355119356119357119358119359119360119361119362119363119364119365119366119367119368119369119370119371119372119373119374119375119376119377119378119379119380119381119382119383119384119385119386119387119388119389119390119391119392119393119394119395119396119397119398119399119400119401119402119403119404119405119406119407119408119409119410119411119412119413119414119415119416119417119418119419119420119421119422119423119424119425119426119427119428119429119430119431119432119433119434119435119436119437119438119439119440119441119442119443119444119445119446119447119448119449119450119451119452119453119454119455119456119457119458119459119460119461119462119463119464119465119466119467119468119469119470119471119472119473119474119475119476119477119478119479119480119481119482119483119484119485119486119487119488119489119490119491119492119493119494119495119496119497119498119499119500119501119502119503119504119505119506119507119508119509119510119511119512119513119514119515119516119517119518119519119520119521119522119523119524119525119526119527119528119529119530119531119532119533119534119535119536119537119538119539119540119541119542119543119544119545119546119547119548119549119550119551119552119553119554119555119556119557119558119559119560119561119562119563119564119565119566119567119568119569119570119571119572119573119574119575119576119577119578119579119580119581119582119583119584119585119586119587119588119589119590119591119592119593119594119595119596119597119598119599119600119601119602119603119604119605119606119607119608119609119610119611119612119613119614119615119616119617119618119619119620119621119622119623119624119625119626119627119628119629119630119631119632119633119634119635119636119637119638119639119640119641119642119643119644119645119646119647119648119649119650119651119652119653119654119655119656119657119658119659119660119661119662119663119664119665119666119667119668119669119670119671119672119673119674119675119676119677119678119679119680119681119682119683119684119685119686119687119688119689119690119691119692119693119694119695119696119697119698119699119700119701119702119703119704119705119706119707119708119709119710119711119712119713119714119715119716119717119718119719119720119721119722119723119724119725119726119727119728119729119730119731119732119733119734119735119736119737119738119739119740119741119742119743119744119745119746119747119748119749119750119751119752119753119754119755119756119757119758119759119760119761119762119763119764119765119766119767119768119769119770119771119772119773119774119775119776119777119778119779119780119781119782119783119784119785119786119787119788119789119790119791119792119793119794119795119796119797119798119799119800119801119802119803119804119805119806119807119808119809119810119811119812119813119814119815119816119817119818119819119820119821119822119823119824119825119826119827119828119829119830119831119832119833119834119835119836119837119838119839119840119841119842119843119844119845119846119847119848119849119850119851119852119853119854119855119856119857119858119859119860119861119862119863119864119865119866119867119868119869119870119871119872119873119874119875119876119877119878119879119880119881119882119883119884119885119886119887119888119889119890119891119892119893119894119895119896119897119898119899119900119901119902119903119904119905119906119907119908119909119910119911119912119913119914119915119916119917119918119919119920119921119922119923119924119925119926119927119928119929119930119931119932119933119934119935119936119937119938119939119940119941119942119943119944119945119946119947119948119949119950119951119952119953119954119955119956119957119958119959119960119961119962119963119964119965119966119967119968119969119970119971119972119973119974119975119976119977119978119979119980119981119982119983119984119985119986119987119988119989119990119991119992119993119994119995119996119997119998119999120000120001120002120003120004120005120006120007120008120009120010120011120012120013120014120015120016120017120018120019120020120021120022120023120024120025120026120027120028120029120030120031120032120033120034120035120036120037120038120039120040120041120042120043120044120045120046120047120048120049120050120051120052120053120054120055120056120057120058120059120060120061120062120063120064120065120066120067120068120069120070120071120072120073120074120075120076120077120078120079120080120081120082120083120084120085120086120087120088120089120090120091120092120093120094120095120096120097120098120099120100120101120102120103120104120105120106120107120108120109120110120111120112120113120114120115120116120117120118120119120120120121120122120123120124120125120126120127120128120129120130120131120132120133120134120135120136120137120138120139120140120141120142120143120144120145120146120147120148120149120150120151120152120153120154120155120156120157120158120159120160120161120162120163120164120165120166120167120168120169120170120171120172120173120174120175120176120177120178120179120180120181120182120183120184120185120186120187120188120189120190120191120192120193120194120195120196120197120198120199120200120201120202120203120204120205120206120207120208120209120210120211120212120213120214120215120216120217120218120219120220120221120222120223120224120225120226120227120228120229120230120231120232120233120234120235120236120237120238120239120240120241120242120243120244120245120246120247120248120249120250120251120252120253120254120255120256120257120258120259120260120261120262120263120264120265120266120267120268120269120270120271120272120273120274120275120276120277120278120279120280120281120282120283120284120285120286120287120288120289120290120291120292120293120294120295120296120297120298120299120300120301120302120303120304120305120306120307120308120309120310120311120312120313120314120315120316120317120318120319120320120321120322120323120324120325120326120327120328120329120330120331120332120333120334120335120336120337120338120339120340120341120342120343120344120345120346120347120348120349120350120351120352120353120354120355120356120357120358120359120360120361120362120363120364120365120366120367120368120369120370120371120372120373120374120375120376120377120378120379120380120381120382120383120384120385120386120387120388120389120390120391120392120393120394120395120396120397120398120399120400120401120402120403120404120405120406120407120408120409120410120411120412120413120414120415120416120417120418120419120420120421120422120423120424120425120426120427120428120429120430120431120432120433120434120435120436120437120438120439120440120441120442120443120444120445120446120447120448120449120450120451120452120453120454120455120456120457120458120459120460120461120462120463120464120465120466120467120468120469120470120471120472120473120474120475120476120477120478120479120480120481120482120483120484120485120486120487120488120489120490120491120492120493120494120495120496120497120498120499120500120501120502120503120504120505120506120507120508120509120510120511120512120513120514120515120516120517120518120519120520120521120522120523120524120525120526120527120528120529120530120531120532120533120534120535120536120537120538120539120540120541120542120543120544120545120546120547120548120549120550120551120552120553120554120555120556120557120558120559120560120561120562120563120564120565120566120567120568120569120570120571120572120573120574120575120576120577120578120579120580120581120582120583120584120585120586120587120588120589120590120591120592120593120594120595120596120597120598120599120600120601120602120603120604120605120606120607120608120609120610120611120612120613120614120615120616120617120618120619120620120621120622120623120624120625120626120627120628120629120630120631120632120633120634120635120636120637120638120639120640120641120642120643120644120645120646120647120648120649120650120651120652120653120654120655120656120657120658120659120660120661120662120663120664120665120666120667120668120669120670120671120672120673120674120675120676120677120678120679120680120681120682120683120684120685120686120687120688120689120690120691120692120693120694120695120696120697120698120699120700120701120702120703120704120705120706120707120708120709120710120711120712120713120714120715120716120717120718120719120720120721120722120723120724120725120726120727120728120729120730120731120732120733120734120735120736120737120738120739120740120741120742120743120744120745120746120747120748120749120750120751120752120753120754120755120756120757120758120759120760120761120762120763120764120765120766120767120768120769120770120771120772120773120774120775120776120777120778120779120780120781120782120783120784120785120786120787120788120789120790120791120792120793120794120795120796120797120798120799120800120801120802120803120804120805120806120807120808120809120810120811120812120813120814120815120816120817120818120819120820120821120822120823120824120825120826120827120828120829120830120831120832120833120834120835120836120837120838120839120840120841120842120843120844120845120846120847120848120849120850120851120852120853120854120855120856120857120858120859120860120861120862120863120864120865120866120867120868120869120870120871120872120873120874120875120876120877120878120879120880120881120882120883120884120885120886120887120888120889120890120891120892120893120894120895120896120897120898120899120900120901120902120903120904120905120906120907120908120909120910120911120912120913120914120915120916120917120918120919120920120921120922120923120924120925120926120927120928120929120930120931120932120933120934120935120936120937120938120939120940120941120942120943120944120945120946120947120948120949120950120951120952120953120954120955120956120957120958120959120960120961120962120963120964120965120966120967120968120969120970120971120972120973120974120975120976120977120978120979120980120981120982120983120984120985120986120987120988120989120990120991120992120993120994120995120996120997120998120999121000121001121002121003121004121005121006121007121008121009121010121011121012121013121014121015121016121017121018121019121020121021121022121023121024121025121026121027121028121029121030121031121032121033121034121035121036121037121038121039121040121041121042121043121044121045121046121047121048121049121050121051121052121053121054121055121056121057121058121059121060121061121062121063121064121065121066121067121068121069121070121071121072121073121074121075121076121077121078121079121080121081121082121083121084121085121086121087121088121089121090121091121092121093121094121095121096121097121098121099121100121101121102121103121104121105121106121107121108121109121110121111121112121113121114121115121116121117121118121119121120121121121122121123121124121125121126121127121128121129121130121131121132121133121134121135121136121137121138121139121140121141121142121143121144121145121146121147121148121149121150121151121152121153121154121155121156121157121158121159121160121161121162121163121164121165121166121167121168121169121170121171121172121173121174121175121176121177121178121179121180121181121182121183121184121185121186121187121188121189121190121191121192121193121194121195121196121197121198121199121200121201121202121203121204121205121206121207121208121209121210121211121212121213121214121215121216121217121218121219121220121221121222121223121224121225121226121227121228121229121230121231121232121233121234121235121236121237121238121239121240121241121242121243121244121245121246121247121248121249121250121251121252121253121254121255121256121257121258121259121260121261121262121263121264121265121266121267121268121269121270121271121272121273121274121275121276121277121278121279121280121281121282121283121284121285121286121287121288121289121290121291121292121293121294121295121296121297121298121299121300121301121302121303121304121305121306121307121308121309121310121311121312121313121314121315121316121317121318121319121320121321121322121323121324121325121326121327121328121329121330121331121332121333121334121335121336121337121338121339121340121341121342121343121344121345121346121347121348121349121350121351121352121353121354121355121356121357121358121359121360121361121362121363121364121365121366121367121368121369121370121371121372121373121374121375121376121377121378121379121380121381121382121383121384121385121386121387121388121389121390121391121392121393121394121395121396121397121398121399121400121401121402121403121404121405121406121407121408121409121410121411121412121413121414121415121416121417121418121419121420121421121422121423121424121425121426121427121428121429121430121431121432121433121434121435121436121437121438121439121440121441121442121443121444121445121446121447121448121449121450121451121452121453121454121455121456121457121458121459121460121461121462121463121464121465121466121467121468121469121470121471121472121473121474121475121476121477121478121479121480121481121482121483121484121485121486121487121488121489121490121491121492121493121494121495121496121497121498121499121500121501121502121503121504121505121506121507121508121509121510121511121512121513121514121515121516121517121518121519121520121521121522121523121524121525121526121527121528121529121530121531121532121533121534121535121536121537121538121539121540121541121542121543121544121545121546121547121548121549121550121551121552121553121554121555121556121557121558121559121560121561121562121563121564121565121566121567121568121569121570121571121572121573121574121575121576121577121578121579121580121581121582121583121584121585121586121587121588121589121590121591121592121593121594121595121596121597121598121599121600121601121602121603121604121605121606121607121608121609121610121611121612121613121614121615121616121617121618121619121620121621121622121623121624121625121626121627121628121629121630121631121632121633121634121635121636121637121638121639121640121641121642121643121644121645121646121647121648121649121650121651121652121653121654121655121656121657121658121659121660121661121662121663121664121665121666121667121668121669121670121671121672121673121674121675121676121677121678121679121680121681121682121683121684121685121686121687121688121689121690121691121692121693121694121695121696121697121698121699121700121701121702121703121704121705121706121707121708121709121710121711121712121713121714121715121716121717121718121719121720121721121722121723121724121725121726121727121728121729121730121731121732121733121734121735121736121737121738121739121740121741121742121743121744121745121746121747121748121749121750121751121752121753121754121755121756121757121758121759121760121761121762121763121764121765121766121767121768121769121770121771121772121773121774121775121776121777121778121779121780121781121782121783121784121785121786121787121788121789121790121791121792121793121794121795121796121797121798121799121800121801121802121803121804121805121806121807121808121809121810121811121812121813121814121815121816121817121818121819121820121821121822121823121824121825121826121827121828121829121830121831121832121833121834121835121836121837121838121839121840121841121842121843121844121845121846121847121848121849121850121851121852121853121854121855121856121857121858121859121860121861121862121863121864121865121866121867121868121869121870121871121872121873121874121875121876121877121878121879121880121881121882121883121884121885121886121887121888121889121890121891121892121893121894121895121896121897121898121899121900121901121902121903121904121905121906121907121908121909121910121911121912121913121914121915121916121917121918121919121920121921121922121923121924121925121926121927121928121929121930121931121932121933121934121935121936121937121938121939121940121941121942121943121944121945121946121947121948121949121950121951121952121953121954121955121956121957121958121959121960121961121962121963121964121965121966121967121968121969121970121971121972121973121974121975121976121977121978121979121980121981121982121983121984121985121986121987121988121989121990121991121992121993121994121995121996121997121998121999122000122001122002122003122004122005122006122007122008122009122010122011122012122013122014122015122016122017122018122019122020122021122022122023122024122025122026122027122028122029122030122031122032122033122034122035122036122037122038122039122040122041122042122043122044122045122046122047122048122049122050122051122052122053122054122055122056122057122058122059122060122061122062122063122064122065122066122067122068122069122070122071122072122073122074122075122076122077122078122079122080122081122082122083122084122085122086122087122088122089122090122091122092122093122094122095122096122097122098122099122100122101122102122103122104122105122106122107122108122109122110122111122112122113122114122115122116122117122118122119122120122121122122122123122124122125122126122127122128122129122130122131122132122133122134122135122136122137122138122139122140122141122142122143122144122145122146122147122148122149122150122151122152122153122154122155122156122157122158122159122160122161122162122163122164122165122166122167122168122169122170122171122172122173122174122175122176122177122178122179122180122181122182122183122184122185122186122187122188122189122190122191122192122193122194122195122196122197122198122199122200122201122202122203122204122205122206122207122208122209122210122211122212122213122214122215122216122217122218122219122220122221122222122223122224122225122226122227122228122229122230122231122232122233122234122235122236122237122238122239122240122241122242122243122244122245122246122247122248122249122250122251122252122253122254122255122256122257122258122259122260122261122262122263122264122265122266122267122268122269122270122271122272122273122274122275122276122277122278122279122280122281122282122283122284122285122286122287122288122289122290122291122292122293122294122295122296122297122298122299122300122301122302122303122304122305122306122307122308122309122310122311122312122313122314122315122316122317122318122319122320122321122322122323122324122325122326122327122328122329122330122331122332122333122334122335122336122337122338122339122340122341122342122343122344122345122346122347122348122349122350122351122352122353122354122355122356122357122358122359122360122361122362122363122364122365122366122367122368122369122370122371122372122373122374122375122376122377122378122379122380122381122382122383122384122385122386122387122388122389122390122391122392122393122394122395122396122397122398122399122400122401122402122403122404122405122406122407122408122409122410122411122412122413122414122415122416122417122418122419122420122421122422122423122424122425122426122427122428122429122430122431122432122433122434122435122436122437122438122439122440122441122442122443122444122445122446122447122448122449122450122451122452122453122454122455122456122457122458122459122460122461122462122463122464122465122466122467122468122469122470122471122472122473122474122475122476122477122478122479122480122481122482122483122484122485122486122487122488122489122490122491122492122493122494122495122496122497122498122499122500122501122502122503122504122505122506122507122508122509122510122511122512122513122514122515122516122517122518122519122520122521122522122523122524122525122526122527122528122529122530122531122532122533122534122535122536122537122538122539122540122541122542122543122544122545122546122547122548122549122550122551122552122553122554122555122556122557122558122559122560122561122562122563122564122565122566122567122568122569122570122571122572122573122574122575122576122577122578122579122580122581122582122583122584122585122586122587122588122589122590122591122592122593122594122595122596122597122598122599122600122601122602122603122604122605122606122607122608122609122610122611122612122613122614122615122616122617122618122619122620122621122622122623122624122625122626122627122628122629122630122631122632122633122634122635122636122637122638122639122640122641122642122643122644122645122646122647122648122649122650122651122652122653122654122655122656122657122658122659122660122661122662122663122664122665122666122667122668122669122670122671122672122673122674122675122676122677122678122679122680122681122682122683122684122685122686122687122688122689122690122691122692122693122694122695122696122697122698122699122700122701122702122703122704122705122706122707122708122709122710122711122712122713122714122715122716122717122718122719122720122721122722122723122724122725122726122727122728122729122730122731122732122733122734122735122736122737122738122739122740122741122742122743122744122745122746122747122748122749122750122751122752122753122754122755122756122757122758122759122760122761122762122763122764122765122766122767122768122769122770122771122772122773122774122775122776122777122778122779122780122781122782122783122784122785122786122787122788122789122790122791122792122793122794122795122796122797122798122799122800122801122802122803122804122805122806122807122808122809122810122811122812122813122814122815122816122817122818122819122820122821122822122823122824122825122826122827122828122829122830122831122832122833122834122835122836122837122838122839122840122841122842122843122844122845122846122847122848122849122850122851122852122853122854122855122856122857122858122859122860122861122862122863122864122865122866122867122868122869122870122871122872122873122874122875122876122877122878122879122880122881122882122883122884122885122886122887122888122889122890122891122892122893122894122895122896122897122898122899122900122901122902122903122904122905122906122907122908122909122910122911122912122913122914122915122916122917122918122919122920122921122922122923122924122925122926122927122928122929122930122931122932122933122934122935122936122937122938122939122940122941122942122943122944122945122946122947122948122949122950122951122952122953122954122955122956122957122958122959122960122961122962122963122964122965122966122967122968122969122970122971122972122973122974122975122976122977122978122979122980122981122982122983122984122985122986122987122988122989122990122991122992122993122994122995122996122997122998122999123000123001123002123003123004123005123006123007123008123009123010123011123012123013123014123015123016123017123018123019123020123021123022123023123024123025123026123027123028123029123030123031123032123033123034123035123036123037123038123039123040123041123042123043123044123045123046123047123048123049123050123051123052123053123054123055123056123057123058123059123060123061123062123063123064123065123066123067123068123069123070123071123072123073123074123075123076123077123078123079123080123081123082123083123084123085123086123087123088123089123090123091123092123093123094123095123096123097123098123099123100123101123102123103123104123105123106123107123108123109123110123111123112123113123114123115123116123117123118123119123120123121123122123123123124123125123126123127123128123129123130123131123132123133123134123135123136123137123138123139123140123141123142123143123144123145123146123147123148123149123150123151123152123153123154123155123156123157123158123159123160123161123162123163123164123165123166123167123168123169123170123171123172123173123174123175123176123177123178123179123180123181123182123183123184123185123186123187123188123189123190123191123192123193123194123195123196123197123198123199123200123201123202123203123204123205123206123207123208123209123210123211123212123213123214123215123216123217123218123219123220123221123222123223123224123225123226123227123228123229123230123231123232123233123234123235123236123237123238123239123240123241123242123243123244123245123246123247123248123249123250123251123252123253123254123255123256123257123258123259123260123261123262123263123264123265123266123267123268123269123270123271123272123273123274123275123276123277123278123279123280123281123282123283123284123285123286123287123288123289123290123291123292123293123294123295123296123297123298123299123300123301123302123303123304123305123306123307123308123309123310123311123312123313123314123315123316123317123318123319123320123321123322123323123324123325123326123327123328123329123330123331123332123333123334123335123336123337123338123339123340123341123342123343123344123345123346123347123348123349123350123351123352123353123354123355123356123357123358123359123360123361123362123363123364123365123366123367123368123369123370123371123372123373123374123375123376123377123378123379123380123381123382123383123384123385123386123387123388123389123390123391123392123393123394123395123396123397123398123399123400123401123402123403123404123405123406123407123408123409123410123411123412123413123414123415123416123417123418123419123420123421123422123423123424123425123426123427123428123429123430123431123432123433123434123435123436123437123438123439123440123441123442123443123444123445123446123447123448123449123450123451123452123453123454123455123456123457123458123459123460123461123462123463123464123465123466123467123468123469123470123471123472123473123474123475123476123477123478123479123480123481123482123483123484123485123486123487123488123489123490123491123492123493123494123495123496123497123498123499123500123501123502123503123504123505123506123507123508123509123510123511123512123513123514123515123516123517123518123519123520123521123522123523123524123525123526123527123528123529123530123531123532123533123534123535123536123537123538123539123540123541123542123543123544123545123546123547123548123549123550123551123552123553123554123555123556123557123558123559123560123561123562123563123564123565123566123567123568123569123570123571123572123573123574123575123576123577123578123579123580123581123582123583123584123585123586123587123588123589123590123591123592123593123594123595123596123597123598123599123600123601123602123603123604123605123606123607123608123609123610123611123612123613123614123615123616123617123618123619123620123621123622123623123624123625123626123627123628123629123630123631123632123633123634123635123636123637123638123639123640123641123642123643123644123645123646123647123648123649123650123651123652123653123654123655123656123657123658123659123660123661123662123663123664123665123666123667123668123669123670123671123672123673123674123675123676123677123678123679123680123681123682123683123684123685123686123687123688123689123690123691123692123693123694123695123696123697123698123699123700123701123702123703123704123705123706123707123708123709123710123711123712123713123714123715123716123717123718123719123720123721123722123723123724123725123726123727123728123729123730123731123732123733123734123735123736123737123738123739123740123741123742123743123744123745123746123747123748123749123750123751123752123753123754123755123756123757123758123759123760123761123762123763123764123765123766123767123768123769123770123771123772123773123774123775123776123777123778123779123780123781123782123783123784123785123786123787123788123789123790123791123792123793123794123795123796123797123798123799123800123801123802123803123804123805123806123807123808123809123810123811123812123813123814123815123816123817123818123819123820123821123822123823123824123825123826123827123828123829123830123831123832123833123834123835123836123837123838123839123840123841123842123843123844123845123846123847123848123849123850123851123852123853123854123855123856123857123858123859123860123861123862123863123864123865123866123867123868123869123870123871123872123873123874123875123876123877123878123879123880123881123882123883123884123885123886123887123888123889123890123891123892123893123894123895123896123897123898123899123900123901123902123903123904123905123906123907123908123909123910123911123912123913123914123915123916123917123918123919123920123921123922123923123924123925123926123927123928123929123930123931123932123933123934123935123936123937123938123939123940123941123942123943123944123945123946123947123948123949123950123951123952123953123954123955123956123957123958123959123960123961123962123963123964123965123966123967123968123969123970123971123972123973123974123975123976123977123978123979123980123981123982123983123984123985123986123987123988123989123990123991123992123993123994123995123996123997123998123999124000124001124002124003124004124005124006124007124008124009124010124011124012124013124014124015124016124017124018124019124020124021124022124023124024124025124026124027124028124029124030124031124032124033124034124035124036124037124038124039124040124041124042124043124044124045124046124047124048124049124050124051124052124053124054124055124056124057124058124059124060124061124062124063124064124065124066124067124068124069124070124071124072124073124074124075124076124077124078124079124080124081124082124083124084124085124086124087124088124089124090124091124092124093124094124095124096124097124098124099124100124101124102124103124104124105124106124107124108124109124110124111124112124113124114124115124116124117124118124119124120124121124122124123124124124125124126124127124128124129124130124131124132124133124134124135124136124137124138124139124140124141124142124143124144124145124146124147124148124149124150124151124152124153124154124155124156124157124158124159124160124161124162124163124164124165124166124167124168124169124170124171124172124173124174124175124176124177124178124179124180124181124182124183124184124185124186124187124188124189124190124191124192124193124194124195124196124197124198124199124200124201124202124203124204124205124206124207124208124209124210124211124212124213124214124215124216124217124218124219124220124221124222124223124224124225124226124227124228124229124230124231124232124233124234124235124236124237124238124239124240124241124242124243124244124245124246124247124248124249124250124251124252124253124254124255124256124257124258124259124260124261124262124263124264124265124266124267124268124269124270124271124272124273124274124275124276124277124278124279124280124281124282124283124284124285124286124287124288124289124290124291124292124293124294124295124296124297124298124299124300124301124302124303124304124305124306124307124308124309124310124311124312124313124314124315124316124317124318124319124320124321124322124323124324124325124326124327124328124329124330124331124332124333124334124335124336124337124338124339124340124341124342124343124344124345124346124347124348124349124350124351124352124353124354124355124356124357124358124359124360124361124362124363124364124365124366124367124368124369124370124371124372124373124374124375124376124377124378124379124380124381124382124383124384124385124386124387124388124389124390124391124392124393124394124395124396124397124398124399124400124401124402124403124404124405124406124407124408124409124410124411124412124413124414124415124416124417124418124419124420124421124422124423124424124425124426124427124428124429124430124431124432124433124434124435124436124437124438124439124440124441124442124443124444124445124446124447124448124449124450124451124452124453124454124455124456124457124458124459124460124461124462124463124464124465124466124467124468124469124470124471124472124473124474124475124476124477124478124479124480124481124482124483124484124485124486124487124488124489124490124491124492124493124494124495124496124497124498124499124500124501124502124503124504124505124506124507124508124509124510124511124512124513124514124515124516124517124518124519124520124521124522124523124524124525124526124527124528124529124530124531124532124533124534124535124536124537124538124539124540124541124542124543124544124545124546124547124548124549124550124551124552124553124554124555124556124557124558124559124560124561124562124563124564124565124566124567124568124569124570124571124572124573124574124575124576124577124578124579124580124581124582124583124584124585124586124587124588124589124590124591124592124593124594124595124596124597124598124599124600124601124602124603124604124605124606124607124608124609124610124611124612124613124614124615124616124617124618124619124620124621124622124623124624124625124626124627124628124629124630124631124632124633124634124635124636124637124638124639124640124641124642124643124644124645124646124647124648124649124650124651124652124653124654124655124656124657124658124659124660124661124662124663124664124665124666124667124668124669124670124671124672124673124674124675124676124677124678124679124680124681124682124683124684124685124686124687124688124689124690124691124692124693124694124695124696124697124698124699124700124701124702124703124704124705124706124707124708124709124710124711124712124713124714124715124716124717124718124719124720124721124722124723124724124725124726124727124728124729124730124731124732124733124734124735124736124737124738124739124740124741124742124743124744124745124746124747124748124749124750124751124752124753124754124755124756124757124758124759124760124761124762124763124764124765124766124767124768124769124770124771124772124773124774124775124776124777124778124779124780124781124782124783124784124785124786124787124788124789124790124791124792124793124794124795124796124797124798124799124800124801124802124803124804124805124806124807124808124809124810124811124812124813124814124815124816124817124818124819124820124821124822124823124824124825124826124827124828124829124830124831124832124833124834124835124836124837124838124839124840124841124842124843124844124845124846124847124848124849124850124851124852124853124854124855124856124857124858124859124860124861124862124863124864124865124866124867124868124869124870124871124872124873124874124875124876124877124878124879124880124881124882124883124884124885124886124887124888124889124890124891124892124893124894124895124896124897124898124899124900124901124902124903124904124905124906124907124908124909124910124911124912124913124914124915124916124917124918124919124920124921124922124923124924124925124926124927124928124929124930124931124932124933124934124935124936124937124938124939124940124941124942124943124944124945124946124947124948124949124950124951124952124953124954124955124956124957124958124959124960124961124962124963124964124965124966124967124968124969124970124971124972124973124974124975124976124977124978124979124980124981124982124983124984124985124986124987124988124989124990124991124992124993124994124995124996124997124998124999125000125001125002125003125004125005125006125007125008125009125010125011125012125013125014125015125016125017125018125019125020125021125022125023125024125025125026125027125028125029125030125031125032125033125034125035125036125037125038125039125040125041125042125043125044125045125046125047125048125049125050125051125052125053125054125055125056125057125058125059125060125061125062125063125064125065125066125067125068125069125070125071125072125073125074125075125076125077125078125079125080125081125082125083125084125085125086125087125088125089125090125091125092125093125094125095125096125097125098125099125100125101125102125103125104125105125106125107125108125109125110125111125112125113125114125115125116125117125118125119125120125121125122125123125124125125125126125127125128125129125130125131125132125133125134125135125136125137125138125139125140125141125142125143125144125145125146125147125148125149125150125151125152125153125154125155125156125157125158125159125160125161125162125163125164125165125166125167125168125169125170125171125172125173125174125175125176125177125178125179125180125181125182125183125184125185125186125187125188125189125190125191125192125193125194125195125196125197125198125199125200125201125202125203125204125205125206125207125208125209125210125211125212125213125214125215125216125217125218125219125220125221125222125223125224125225125226125227125228125229125230125231125232125233125234125235125236125237125238125239125240125241125242125243125244125245125246125247125248125249125250125251125252125253125254125255125256125257125258125259125260125261125262125263125264125265125266125267125268125269125270125271125272125273125274125275125276125277125278125279125280125281125282125283125284125285125286125287125288125289125290125291125292125293125294125295125296125297125298125299125300125301125302125303125304125305125306125307125308125309125310125311125312125313125314125315125316125317125318125319125320125321125322125323125324125325125326125327125328125329125330125331125332125333125334125335125336125337125338125339125340125341125342125343125344125345125346125347125348125349125350125351125352125353125354125355125356125357125358125359125360125361125362125363125364125365125366125367125368125369125370125371125372125373125374125375125376125377125378125379125380125381125382125383125384125385125386125387125388125389125390125391125392125393125394125395125396125397125398125399125400125401125402125403125404125405125406125407125408125409125410125411125412125413125414125415125416125417125418125419125420125421125422125423125424125425125426125427125428125429125430125431125432125433125434125435125436125437125438125439125440125441125442125443125444125445125446125447125448125449125450125451125452125453125454125455125456125457125458125459125460125461125462125463125464125465125466125467125468125469125470125471125472125473125474125475125476125477125478125479125480125481125482125483125484125485125486125487125488125489125490125491125492125493125494125495125496125497125498125499125500125501125502125503125504125505125506125507125508125509125510125511125512125513125514125515125516125517125518125519125520125521125522125523125524125525125526125527125528125529125530125531125532125533125534125535125536125537125538125539125540125541125542125543125544125545125546125547125548125549125550125551125552125553125554125555125556125557125558125559125560125561125562125563125564125565125566125567125568125569125570125571125572125573125574125575125576125577125578125579125580125581125582125583125584125585125586125587125588125589125590125591125592125593125594125595125596125597125598125599125600125601125602125603125604125605125606125607125608125609125610125611125612125613125614125615125616125617125618125619125620125621125622125623125624125625125626125627125628125629125630125631125632125633125634125635125636125637125638125639125640125641125642125643125644125645125646125647125648125649125650125651125652125653125654125655125656125657125658125659125660125661125662125663125664125665125666125667125668125669125670125671125672125673125674125675125676125677125678125679125680125681125682125683125684125685125686125687125688125689125690125691125692125693125694125695125696125697125698125699125700125701125702125703125704125705125706125707125708125709125710125711125712125713125714125715125716125717125718125719125720125721125722125723125724125725125726125727125728125729125730125731125732125733125734125735125736125737125738125739125740125741125742125743125744125745125746125747125748125749125750125751125752125753125754125755125756125757125758125759125760125761125762125763125764125765125766125767125768125769125770125771125772125773125774125775125776125777125778125779125780125781125782125783125784125785125786125787125788125789125790125791125792125793125794125795125796125797125798125799125800125801125802125803125804125805125806125807125808125809125810125811125812125813125814125815125816125817125818125819125820125821125822125823125824125825125826125827125828125829125830125831125832125833125834125835125836125837125838125839125840125841125842125843125844125845125846125847125848125849125850125851125852125853125854125855125856125857125858125859125860125861125862125863125864125865125866125867125868125869125870125871125872125873125874125875125876125877125878125879125880125881125882125883125884125885125886125887125888125889125890125891125892125893125894125895125896125897125898125899125900125901125902125903125904125905125906125907125908125909125910125911125912125913125914125915125916125917125918125919125920125921125922125923125924125925125926125927125928125929125930125931125932125933125934125935125936125937125938125939125940125941125942125943125944125945125946125947125948125949125950125951125952125953125954125955125956125957125958125959125960125961125962125963125964125965125966125967125968125969125970125971125972125973125974125975125976125977125978125979125980125981125982125983125984125985125986125987125988125989125990125991125992125993125994125995125996125997125998125999126000126001126002126003126004126005126006126007126008126009126010126011126012126013126014126015126016126017126018126019126020126021126022126023126024126025126026126027126028126029126030126031126032126033126034126035126036126037126038126039126040126041126042126043126044126045126046126047126048126049126050126051126052126053126054126055126056126057126058126059126060126061126062126063126064126065126066126067126068126069126070126071126072126073126074126075126076126077126078126079126080126081126082126083126084126085126086126087126088126089126090126091126092126093126094126095126096126097126098126099126100126101126102126103126104126105126106126107126108126109126110126111126112126113126114126115126116126117126118126119126120126121126122126123126124126125126126126127126128126129126130126131126132126133126134126135126136126137126138126139126140126141126142126143126144126145126146126147126148126149126150126151126152126153126154126155126156126157126158126159126160126161126162126163126164126165126166126167126168126169126170126171126172126173126174126175126176126177126178126179126180126181126182126183126184126185126186126187126188126189126190126191126192126193126194126195126196126197126198126199126200126201126202126203126204126205126206126207126208126209126210126211126212126213126214126215126216126217126218126219126220126221126222126223126224126225126226126227126228126229126230126231126232126233126234126235126236126237126238126239126240126241126242126243126244126245126246126247126248126249126250126251126252126253126254126255126256126257126258126259126260126261126262126263126264126265126266126267126268126269126270126271126272126273126274126275126276126277126278126279126280126281126282126283126284126285126286126287126288126289126290126291126292126293126294126295126296126297126298126299126300126301126302126303126304126305126306126307126308126309126310126311126312126313126314126315126316126317126318126319126320126321126322126323126324126325126326126327126328126329126330126331126332126333126334126335126336126337126338126339126340126341126342126343126344126345126346126347126348126349126350126351126352126353126354126355126356126357126358126359126360126361126362126363126364126365126366126367126368126369126370126371126372126373126374126375126376126377126378126379126380126381126382126383126384126385126386126387126388126389126390126391126392126393126394126395126396126397126398126399126400126401126402126403126404126405126406126407126408126409126410126411126412126413126414126415126416126417126418126419126420126421126422126423126424126425126426126427126428126429126430126431126432126433126434126435126436126437126438126439126440126441126442126443126444126445126446126447126448126449126450126451126452126453126454126455126456126457126458126459126460126461126462126463126464126465126466126467126468126469126470126471126472126473126474126475126476126477126478126479126480126481126482126483126484126485126486126487126488126489126490126491126492126493126494126495126496126497126498126499126500126501126502126503126504126505126506126507126508126509126510126511126512126513126514126515126516126517126518126519126520126521126522126523126524126525126526126527126528126529126530126531126532126533126534126535126536126537126538126539126540126541126542126543126544126545126546126547126548126549126550126551126552126553126554126555126556126557126558126559126560126561126562126563126564126565126566126567126568126569126570126571126572126573126574126575126576126577126578126579126580126581126582126583126584126585126586126587126588126589126590126591126592126593126594126595126596126597126598126599126600126601126602126603126604126605126606126607126608126609126610126611126612126613126614126615126616126617126618126619126620126621126622126623126624126625126626126627126628126629126630126631126632126633126634126635126636126637126638126639126640126641126642126643126644126645126646126647126648126649126650126651126652126653126654126655126656126657126658126659126660126661126662126663126664126665126666126667126668126669126670126671126672126673126674126675126676126677126678126679126680126681126682126683126684126685126686126687126688126689126690126691126692126693126694126695126696126697126698126699126700126701126702126703126704126705126706126707126708126709126710126711126712126713126714126715126716126717126718126719126720126721126722126723126724126725126726126727126728126729126730126731126732126733126734126735126736126737126738126739126740126741126742126743126744126745126746126747126748126749126750126751126752126753126754126755126756126757126758126759126760126761126762126763126764126765126766126767126768126769126770126771126772126773126774126775126776126777126778126779126780126781126782126783126784126785126786126787126788126789126790126791126792126793126794126795126796126797126798126799126800126801126802126803126804126805126806126807126808126809126810126811126812126813126814126815126816126817126818126819126820126821126822126823126824126825126826126827126828126829126830126831126832126833126834126835126836126837126838126839126840126841126842126843126844126845126846126847126848126849126850126851126852126853126854126855126856126857126858126859126860126861126862126863126864126865126866126867126868126869126870126871126872126873126874126875126876126877126878126879126880126881126882126883126884126885126886126887126888126889126890126891126892126893126894126895126896126897126898126899126900126901126902126903126904126905126906126907126908126909126910126911126912126913126914126915126916126917126918126919126920126921126922126923126924126925126926126927126928126929126930126931126932126933126934126935126936126937126938126939126940126941126942126943126944126945126946126947126948126949126950126951126952126953126954126955126956126957126958126959126960126961126962126963126964126965126966126967126968126969126970126971126972126973126974126975126976126977126978126979126980126981126982126983126984126985126986126987126988126989126990126991126992126993126994126995126996126997126998126999127000127001127002127003127004127005127006127007127008127009127010127011127012127013127014127015127016127017127018127019127020127021127022127023127024127025127026127027127028127029127030127031127032127033127034127035127036127037127038127039127040127041127042127043127044127045127046127047127048127049127050127051127052127053127054127055127056127057127058127059127060127061127062127063127064127065127066127067127068127069127070127071127072127073127074127075127076127077127078127079127080127081127082127083127084127085127086127087127088127089127090127091127092127093127094127095127096127097127098127099127100127101127102127103127104127105127106127107127108127109127110127111127112127113127114127115127116127117127118127119127120127121127122127123127124127125127126127127127128127129127130127131127132127133127134127135127136127137127138127139127140127141127142127143127144127145127146127147127148127149127150127151127152127153127154127155127156127157127158127159127160127161127162127163127164127165127166127167127168127169127170127171127172127173127174127175127176127177127178127179127180127181127182127183127184127185127186127187127188127189127190127191127192127193127194127195127196127197127198127199127200127201127202127203127204127205127206127207127208127209127210127211127212127213127214127215127216127217127218127219127220127221127222127223127224127225127226127227127228127229127230127231127232127233127234127235127236127237127238127239127240127241127242127243127244127245127246127247127248127249127250127251127252127253127254127255127256127257127258127259127260127261127262127263127264127265127266127267127268127269127270127271127272127273127274127275127276127277127278127279127280127281127282127283127284127285127286127287127288127289127290127291127292127293127294127295127296127297127298127299127300127301127302127303127304127305127306127307127308127309127310127311127312127313127314127315127316127317127318127319127320127321127322127323127324127325127326127327127328127329127330127331127332127333127334127335127336127337127338127339127340127341127342127343127344127345127346127347127348127349127350127351127352127353127354127355127356127357127358127359127360127361127362127363127364127365127366127367127368127369127370127371127372127373127374127375127376127377127378127379127380127381127382127383127384127385127386127387127388127389127390127391127392127393127394127395127396127397127398127399127400127401127402127403127404127405127406127407127408127409127410127411127412127413127414127415127416127417127418127419127420127421127422127423127424127425127426127427127428127429127430127431127432127433127434127435127436127437127438127439127440127441127442127443127444127445127446127447127448127449127450127451127452127453127454127455127456127457127458127459127460127461127462127463127464127465127466127467127468127469127470127471127472127473127474127475127476127477127478127479127480127481127482127483127484127485127486127487127488127489127490127491127492127493127494127495127496127497127498127499127500127501127502127503127504127505127506127507127508127509127510127511127512127513127514127515127516127517127518127519127520127521127522127523127524127525127526127527127528127529127530127531127532127533127534127535127536127537127538127539127540127541127542127543127544127545127546127547127548127549127550127551127552127553127554127555127556127557127558127559127560127561127562127563127564127565127566127567127568127569127570127571127572127573127574127575127576127577127578127579127580127581127582127583127584127585127586127587127588127589127590127591127592127593127594127595127596127597127598127599127600127601127602127603127604127605127606127607127608127609127610127611127612127613127614127615127616127617127618127619127620127621127622127623127624127625127626127627127628127629127630127631127632127633127634127635127636127637127638127639127640127641127642127643127644127645127646127647127648127649127650127651127652127653127654127655127656127657127658127659127660127661127662127663127664127665127666127667127668127669127670127671127672127673127674127675127676127677127678127679127680127681127682127683127684127685127686127687127688127689127690127691127692127693127694127695127696127697127698127699127700127701127702127703127704127705127706127707127708127709127710127711127712127713127714127715127716127717127718127719127720127721127722127723127724127725127726127727127728127729127730127731127732127733127734127735127736127737127738127739127740127741127742127743127744127745127746127747127748127749127750127751127752127753127754127755127756127757127758127759127760127761127762127763127764127765127766127767127768127769127770127771127772127773127774127775127776127777127778127779127780127781127782127783127784127785127786127787127788127789127790127791127792127793127794127795127796127797127798127799127800127801127802127803127804127805127806127807127808127809127810127811127812127813127814127815127816127817127818127819127820127821127822127823127824127825127826127827127828127829127830127831127832127833127834127835127836127837127838127839127840127841127842127843127844127845127846127847127848127849127850127851127852127853127854127855127856127857127858127859127860127861127862127863127864127865127866127867127868127869127870127871127872127873127874127875127876127877127878127879127880127881127882127883127884127885127886127887127888127889127890127891127892127893127894127895127896127897127898127899127900127901127902127903127904127905127906127907127908127909127910127911127912127913127914127915127916127917127918127919127920127921127922127923127924127925127926127927127928127929127930127931127932127933127934127935127936127937127938127939127940127941127942127943127944127945127946127947127948127949127950127951127952127953127954127955127956127957127958127959127960127961127962127963127964127965127966127967127968127969127970127971127972127973127974127975127976127977127978127979127980127981127982127983127984127985127986127987127988127989127990127991127992127993127994127995127996127997127998127999128000128001128002128003128004128005128006128007128008128009128010128011128012128013128014128015128016128017128018128019128020128021128022128023128024128025128026128027128028128029128030128031128032128033128034128035128036128037128038128039128040128041128042128043128044128045128046128047128048128049128050128051128052128053128054128055128056128057128058128059128060128061128062128063128064128065128066128067128068128069128070128071128072128073128074128075128076128077128078128079128080128081128082128083128084128085128086128087128088128089128090128091128092128093128094128095128096128097128098128099128100128101128102128103128104128105128106128107128108128109128110128111128112128113128114128115128116128117128118128119128120128121128122128123128124128125128126128127128128128129128130128131128132128133128134128135128136128137128138128139128140128141128142128143128144128145128146128147128148128149128150128151128152128153128154128155128156128157128158128159128160128161128162128163128164128165128166128167128168128169128170128171128172128173128174128175128176128177128178128179128180128181128182128183128184128185128186128187128188128189128190128191128192128193128194128195128196128197128198128199128200128201128202128203128204128205128206128207128208128209128210128211128212128213128214128215128216128217128218128219128220128221128222128223128224128225128226128227128228128229128230128231128232128233128234128235128236128237128238128239128240128241128242128243128244128245128246128247128248128249128250128251128252128253128254128255128256128257128258128259128260128261128262128263128264128265128266128267128268128269128270128271128272128273128274128275128276128277128278128279128280128281128282128283128284128285128286128287128288128289128290128291128292128293128294128295128296128297128298128299128300128301128302128303128304128305128306128307128308128309128310128311128312128313128314128315128316128317128318128319128320128321128322128323128324128325128326128327128328128329128330128331128332128333128334128335128336128337128338128339128340128341128342128343128344128345128346128347128348128349128350128351128352128353128354128355128356128357128358128359128360128361128362128363128364128365128366128367128368128369128370128371128372128373128374128375128376128377128378128379128380128381128382128383128384128385128386128387128388128389128390128391128392128393128394128395128396128397128398128399128400128401128402128403128404128405128406128407128408128409128410128411128412128413128414128415128416128417128418128419128420128421128422128423128424128425128426128427128428128429128430128431128432128433128434128435128436128437128438128439128440128441128442128443128444128445128446128447128448128449128450128451128452128453128454128455128456128457128458128459128460128461128462128463128464128465128466128467128468128469128470128471128472128473128474128475128476128477128478128479128480128481128482128483128484128485128486128487128488128489128490128491128492128493128494128495128496128497128498128499128500128501128502128503128504128505128506128507128508128509128510128511128512128513128514128515128516128517128518128519128520128521128522128523128524128525128526128527128528128529128530128531128532128533128534128535128536128537128538128539128540128541128542128543128544128545128546128547128548128549128550128551128552128553128554128555128556128557128558128559128560128561128562128563128564128565128566128567128568128569128570128571128572128573128574128575128576128577128578128579128580128581128582128583128584128585128586128587128588128589128590128591128592128593128594128595128596128597128598128599128600128601128602128603128604128605128606128607128608128609128610128611128612128613128614128615128616128617128618128619128620128621128622128623128624128625128626128627128628128629128630128631128632128633128634128635128636128637128638128639128640128641128642128643128644128645128646128647128648128649128650128651128652128653128654128655128656128657128658128659128660128661128662128663128664128665128666128667128668128669128670128671128672128673128674128675128676128677128678128679128680128681128682128683128684128685128686128687128688128689128690128691128692128693128694128695128696128697128698128699128700128701128702128703128704128705128706128707128708128709128710128711128712128713128714128715128716128717128718128719128720128721128722128723128724128725128726128727128728128729128730128731128732128733128734128735128736128737128738128739128740128741128742128743128744128745128746128747128748128749128750128751128752128753128754128755128756128757128758128759128760128761128762128763128764128765128766128767128768128769128770128771128772128773128774128775128776128777128778128779128780128781128782128783128784128785128786128787128788128789128790128791128792128793128794128795128796128797128798128799128800128801128802128803128804128805128806128807128808128809128810128811128812128813128814128815128816128817128818128819128820128821128822128823128824128825128826128827128828128829128830128831128832128833128834128835128836128837128838128839128840128841128842128843128844128845128846128847128848128849128850128851128852128853128854128855128856128857128858128859128860128861128862128863128864128865128866128867128868128869128870128871128872128873128874128875128876128877128878128879128880128881128882128883128884128885128886128887128888128889128890128891128892128893128894128895128896128897128898128899128900128901128902128903128904128905128906128907128908128909128910128911128912128913128914128915128916128917128918128919128920128921128922128923128924128925128926128927128928128929128930128931128932128933128934128935128936128937128938128939128940128941128942128943128944128945128946128947128948128949128950128951128952128953128954128955128956128957128958128959128960128961128962128963128964128965128966128967128968128969128970128971128972128973128974128975128976128977128978128979128980128981128982128983128984128985128986128987128988128989128990128991128992128993128994128995128996128997128998128999129000129001129002129003129004129005129006129007129008129009129010129011129012129013129014129015129016129017129018129019129020129021129022129023129024129025129026129027129028129029129030129031129032129033129034129035129036129037129038129039129040129041129042129043129044129045129046129047129048129049129050129051129052129053129054129055129056129057129058129059129060129061129062129063129064129065129066129067129068129069129070129071129072129073129074129075129076129077129078129079129080129081129082129083129084129085129086129087129088129089129090129091129092129093129094129095129096129097129098129099129100129101129102129103129104129105129106129107129108129109129110129111129112129113129114129115129116129117129118129119129120129121129122129123129124129125129126129127129128129129129130129131129132129133129134129135129136129137129138129139129140129141129142129143129144129145129146129147129148129149129150129151129152129153129154129155129156129157129158129159129160129161129162129163129164129165129166129167129168129169129170129171129172129173129174129175129176129177129178129179129180129181129182129183129184129185129186129187129188129189129190129191129192129193129194129195129196129197129198129199129200129201129202129203129204129205129206129207129208129209129210129211129212129213129214129215129216129217129218129219129220129221129222129223129224129225129226129227129228129229129230129231129232129233129234129235129236129237129238129239129240129241129242129243129244129245129246129247129248129249129250129251129252129253129254129255129256129257129258129259129260129261129262129263129264129265129266129267129268129269129270129271129272129273129274129275129276129277129278129279129280129281129282129283129284129285129286129287129288129289129290129291129292129293129294129295129296129297129298129299129300129301129302129303129304129305129306129307129308129309129310129311129312129313129314129315129316129317129318129319129320129321129322129323129324129325129326129327129328129329129330129331129332129333129334129335129336129337129338129339129340129341129342129343129344129345129346129347129348129349129350129351129352129353129354129355129356129357129358129359129360129361129362129363129364129365129366129367129368129369129370129371129372129373129374129375129376129377129378129379129380129381129382129383129384129385129386129387129388129389129390129391129392129393129394129395129396129397129398129399129400129401129402129403129404129405129406129407129408129409129410129411129412129413129414129415129416129417129418129419129420129421129422129423129424129425129426129427129428129429129430129431129432129433129434129435129436129437129438129439129440129441129442129443129444129445129446129447129448129449129450129451129452129453129454129455129456129457129458129459129460129461129462129463129464129465129466129467129468129469129470129471129472129473129474129475129476129477129478129479129480129481129482129483129484129485129486129487129488129489129490129491129492129493129494129495129496129497129498129499129500129501129502129503129504129505129506129507129508129509129510129511129512129513129514129515129516129517129518129519129520129521129522129523129524129525129526129527129528129529129530129531129532129533129534129535129536129537129538129539129540129541129542129543129544129545129546129547129548129549129550129551129552129553129554129555129556129557129558129559129560129561129562129563129564129565129566129567129568129569129570129571129572129573129574129575129576129577129578129579129580129581129582129583129584129585129586129587129588129589129590129591129592129593129594129595129596129597129598129599129600129601129602129603129604129605129606129607129608129609129610129611129612129613129614129615129616129617129618129619129620129621129622129623129624129625129626129627129628129629129630129631129632129633129634129635129636129637129638129639129640129641129642129643129644129645129646129647129648129649129650129651129652129653129654129655129656129657129658129659129660129661129662129663129664129665129666129667129668129669129670129671129672129673129674129675129676129677129678129679129680129681129682129683129684129685129686129687129688129689129690129691129692129693129694129695129696129697129698129699129700129701129702129703129704129705129706129707129708129709129710129711129712129713129714129715129716129717129718129719129720129721129722129723129724129725129726129727129728129729129730129731129732129733129734129735129736129737129738129739129740129741129742129743129744129745129746129747129748129749129750129751129752129753129754129755129756129757129758129759129760129761129762129763129764129765129766129767129768129769129770129771129772129773129774129775129776129777129778129779129780129781129782129783129784129785129786129787129788129789129790129791129792129793129794129795129796129797129798129799129800129801129802129803129804129805129806129807129808129809129810129811129812129813129814129815129816129817129818129819129820129821129822129823129824129825129826129827129828129829129830129831129832129833129834129835129836129837129838129839129840129841129842129843129844129845129846129847129848129849129850129851129852129853129854129855129856129857129858129859129860129861129862129863129864129865129866129867129868129869129870129871129872129873129874129875129876129877129878129879129880129881129882129883129884129885129886129887129888129889129890129891129892129893129894129895129896129897129898129899129900129901129902129903129904129905129906129907129908129909129910129911129912129913129914129915129916129917129918129919129920129921129922129923129924129925129926129927129928129929129930129931129932129933129934129935129936129937129938129939129940129941129942129943129944129945129946129947129948129949129950129951129952129953129954129955129956129957129958129959129960129961129962129963129964129965129966129967129968129969129970129971129972129973129974129975129976129977129978129979129980129981129982129983129984129985129986129987129988129989129990129991129992129993129994129995129996129997129998129999130000130001130002130003130004130005130006130007130008130009130010130011130012130013130014130015130016130017130018130019130020130021130022130023130024130025130026130027130028130029130030130031130032130033130034130035130036130037130038130039130040130041130042130043130044130045130046130047130048130049130050130051130052130053130054130055130056130057130058130059130060130061130062130063130064130065130066130067130068130069130070130071130072130073130074130075130076130077130078130079130080130081130082130083130084130085130086130087130088130089130090130091130092130093130094130095130096130097130098130099130100130101130102130103130104130105130106130107130108130109130110130111130112130113130114130115130116130117130118130119130120130121130122130123130124130125130126130127130128130129130130130131130132130133130134130135130136130137130138130139130140130141130142130143130144130145130146130147130148130149130150130151130152130153130154130155130156130157130158130159130160130161130162130163130164130165130166130167130168130169130170130171130172130173130174130175130176130177130178130179130180130181130182130183130184130185130186130187130188130189130190130191130192130193130194130195130196130197130198130199130200130201130202130203130204130205130206130207130208130209130210130211130212130213130214130215130216130217130218130219130220130221130222130223130224130225130226130227130228130229130230130231130232130233130234130235130236130237130238130239130240130241130242130243130244130245130246130247130248130249130250130251130252130253130254130255130256130257130258130259130260130261130262130263130264130265130266130267130268130269130270130271130272130273130274130275130276130277130278130279130280130281130282130283130284130285130286130287130288130289130290130291130292130293130294130295130296130297130298130299130300130301130302130303130304130305130306130307130308130309130310130311130312130313130314130315130316130317130318130319130320130321130322130323130324130325130326130327130328130329130330130331130332130333130334130335130336130337130338130339130340130341130342130343130344130345130346130347130348130349130350130351130352130353130354130355130356130357130358130359130360130361130362130363130364130365130366130367130368130369130370130371130372130373130374130375130376130377130378130379130380130381130382130383130384130385130386130387130388130389130390130391130392130393130394130395130396130397130398130399130400130401130402130403130404130405130406130407130408130409130410130411130412130413130414130415130416130417130418130419130420130421130422130423130424130425130426130427130428130429130430130431130432130433130434130435130436130437130438130439130440130441130442130443130444130445130446130447130448130449130450130451130452130453130454130455130456130457130458130459130460130461130462130463130464130465130466130467130468130469130470130471130472130473130474130475130476130477130478130479130480130481130482130483130484130485130486130487130488130489130490130491130492130493130494130495130496130497130498130499130500130501130502130503130504130505130506130507130508130509130510130511130512130513130514130515130516130517130518130519130520130521130522130523130524130525130526130527130528130529130530130531130532130533130534130535130536130537130538130539130540130541130542130543130544130545130546130547130548130549130550130551130552130553130554130555130556130557130558130559130560130561130562130563130564130565130566130567130568130569130570130571130572130573130574130575130576130577130578130579130580130581130582130583130584130585130586130587130588130589130590130591130592130593130594130595130596130597130598130599130600130601130602130603130604130605130606130607130608130609130610130611130612130613130614130615130616130617130618130619130620130621130622130623130624130625130626130627130628130629130630130631130632130633130634130635130636130637130638130639130640130641130642130643130644130645130646130647130648130649130650130651130652130653130654130655130656130657130658130659130660130661130662130663130664130665130666130667130668130669130670130671130672130673130674130675130676130677130678130679130680130681130682130683130684130685130686130687130688130689130690130691130692130693130694130695130696130697130698130699130700130701130702130703130704130705130706130707130708130709130710130711130712130713130714130715130716130717130718130719130720130721130722130723130724130725130726130727130728130729130730130731130732130733130734130735130736130737130738130739130740130741130742130743130744130745130746130747130748130749130750130751130752130753130754130755130756130757130758130759130760130761130762130763130764130765130766130767130768130769130770130771130772130773130774130775130776130777130778130779130780130781130782130783130784130785130786130787130788130789130790130791130792130793130794130795130796130797130798130799130800130801130802130803130804130805130806130807130808130809130810130811130812130813130814130815130816130817130818130819130820130821130822130823130824130825130826130827130828130829130830130831130832130833130834130835130836130837130838130839130840130841130842130843130844130845130846130847130848130849130850130851130852130853130854130855130856130857130858130859130860130861130862130863130864130865130866130867130868130869130870130871130872130873130874130875130876130877130878130879130880130881130882130883130884130885130886130887130888130889130890130891130892130893130894130895130896130897130898130899130900130901130902130903130904130905130906130907130908130909130910130911130912130913130914130915130916130917130918130919130920130921130922130923130924130925130926130927130928130929130930130931130932130933130934130935130936130937130938130939130940130941130942130943130944130945130946130947130948130949130950130951130952130953130954130955130956130957130958130959130960130961130962130963130964130965130966130967130968130969130970130971130972130973130974130975130976130977130978130979130980130981130982130983130984130985130986130987130988130989130990130991130992130993130994130995130996130997130998130999131000131001131002131003131004131005131006131007131008131009131010131011131012131013131014131015131016131017131018131019131020131021131022131023131024131025131026131027131028131029131030131031131032131033131034131035131036131037131038131039131040131041131042131043131044131045131046131047131048131049131050131051131052131053131054131055131056131057131058131059131060131061131062131063131064131065131066131067131068131069131070131071131072131073131074131075131076131077131078131079131080131081131082131083131084131085131086131087131088131089131090131091131092131093131094131095131096131097131098131099131100131101131102131103131104131105131106131107131108131109131110131111131112131113131114131115131116131117131118131119131120131121131122131123131124131125131126131127131128131129131130131131131132131133131134131135131136131137131138131139131140131141131142131143131144131145131146131147131148131149131150131151131152131153131154131155131156131157131158131159131160131161131162131163131164131165131166131167131168131169131170131171131172131173131174131175131176131177131178131179131180131181131182131183131184131185131186131187131188131189131190131191131192131193131194131195131196131197131198131199131200131201131202131203131204131205131206131207131208131209131210131211131212131213131214131215131216131217131218131219131220131221131222131223131224131225131226131227131228131229131230131231131232131233131234131235131236131237131238131239131240131241131242131243131244131245131246131247131248131249131250131251131252131253131254131255131256131257131258131259131260131261131262131263131264131265131266131267131268131269131270131271131272131273131274131275131276131277131278131279131280131281131282131283131284131285131286131287131288131289131290131291131292131293131294131295131296131297131298131299131300131301131302131303131304131305131306131307131308131309131310131311131312131313131314131315131316131317131318131319131320131321131322131323131324131325131326131327131328131329131330131331131332131333131334131335131336131337131338131339131340131341131342131343131344131345131346131347131348131349131350131351131352131353131354131355131356131357131358131359131360131361131362131363131364131365131366131367131368131369131370131371131372131373131374131375131376131377131378131379131380131381131382131383131384131385131386131387131388131389131390131391131392131393131394131395131396131397131398131399131400131401131402131403131404131405131406131407131408131409131410131411131412131413131414131415131416131417131418131419131420131421131422131423131424131425131426131427131428131429131430131431131432131433131434131435131436131437131438131439131440131441131442131443131444131445131446131447131448131449131450131451131452131453131454131455131456131457131458131459131460131461131462131463131464131465131466131467131468131469131470131471131472131473131474131475131476131477131478131479131480131481131482131483131484131485131486131487131488131489131490131491131492131493131494131495131496131497131498131499131500131501131502131503131504131505131506131507131508131509131510131511131512131513131514131515131516131517131518131519131520131521131522131523131524131525131526131527131528131529131530131531131532131533131534131535131536131537131538131539131540131541131542131543131544131545131546131547131548131549131550131551131552131553131554131555131556131557131558131559131560131561131562131563131564131565131566131567131568131569131570131571131572131573131574131575131576131577131578131579131580131581131582131583131584131585131586131587131588131589131590131591131592131593131594131595131596131597131598131599131600131601131602131603131604131605131606131607131608131609131610131611131612131613131614131615131616131617131618131619131620131621131622131623131624131625131626131627131628131629131630131631131632131633131634131635131636131637131638131639131640131641131642131643131644131645131646131647131648131649131650131651131652131653131654131655131656131657131658131659131660131661131662131663131664131665131666131667131668131669131670131671131672131673131674131675131676131677131678131679131680131681131682131683131684131685131686131687131688131689131690131691131692131693131694131695131696131697131698131699131700131701131702131703131704131705131706131707131708131709131710131711131712131713131714131715131716131717131718131719131720131721131722131723131724131725131726131727131728131729131730131731131732131733131734131735131736131737131738131739131740131741131742131743131744131745131746131747131748131749131750131751131752131753131754131755131756131757131758131759131760131761131762131763131764131765131766131767131768131769131770131771131772131773131774131775131776131777131778131779131780131781131782131783131784131785131786131787131788131789131790131791131792131793131794131795131796131797131798131799131800131801131802131803131804131805131806131807131808131809131810131811131812131813131814131815131816131817131818131819131820131821131822131823131824131825131826131827131828131829131830131831131832131833131834131835131836131837131838131839131840131841131842131843131844131845131846131847131848131849131850131851131852131853131854131855131856131857131858131859131860131861131862131863131864131865131866131867131868131869131870131871131872131873131874131875131876131877131878131879131880131881131882131883131884131885131886131887131888131889131890131891131892131893131894131895131896131897131898131899131900131901131902131903131904131905131906131907131908131909131910131911131912131913131914131915131916131917131918131919131920131921131922131923131924131925131926131927131928131929131930131931131932131933131934131935131936131937131938131939131940131941131942131943131944131945131946131947131948131949131950131951131952131953131954131955131956131957131958131959131960131961131962131963131964131965131966131967131968131969131970131971131972131973131974131975131976131977131978131979131980131981131982131983131984131985131986131987131988131989131990131991131992131993131994131995131996131997131998131999132000132001132002132003132004132005132006132007132008132009132010132011132012132013132014132015132016132017132018132019132020132021132022132023132024132025132026132027132028132029132030132031132032132033132034132035132036132037132038132039132040132041132042132043132044132045132046132047132048132049132050132051132052132053132054132055132056132057132058132059132060132061132062132063132064132065132066132067132068132069132070132071132072132073132074132075132076132077132078132079132080132081132082132083132084132085132086132087132088132089132090132091132092132093132094132095132096132097132098132099132100132101132102132103132104132105132106132107132108132109132110132111132112132113132114132115132116132117132118132119132120132121132122132123132124132125132126132127132128132129132130132131132132132133132134132135132136132137132138132139132140132141132142132143132144132145132146132147132148132149132150132151132152132153132154132155132156132157132158132159132160132161132162132163132164132165132166132167132168132169132170132171132172132173132174132175132176132177132178132179132180132181132182132183132184132185132186132187132188132189132190132191132192132193132194132195132196132197132198132199132200132201132202132203132204132205132206132207132208132209132210132211132212132213132214132215132216132217132218132219132220132221132222132223132224132225132226132227132228132229132230132231132232132233132234132235132236132237132238132239132240132241132242132243132244132245132246132247132248132249132250132251132252132253132254132255132256132257132258132259132260132261132262132263132264132265132266132267132268132269132270132271132272132273132274132275132276132277132278132279132280132281132282132283132284132285132286132287132288132289132290132291132292132293132294132295132296132297132298132299132300132301132302132303132304132305132306132307132308132309132310132311132312132313132314132315132316132317132318132319132320132321132322132323132324132325132326132327132328132329132330132331132332132333132334132335132336132337132338132339132340132341132342132343132344132345132346132347132348132349132350132351132352132353132354132355132356132357132358132359132360132361132362132363132364132365132366132367132368132369132370132371132372132373132374132375132376132377132378132379132380132381132382132383132384132385132386132387132388132389132390132391132392132393132394132395132396132397132398132399132400132401132402132403132404132405132406132407132408132409132410132411132412132413132414132415132416132417132418132419132420132421132422132423132424132425132426132427132428132429132430132431132432132433132434132435132436132437132438132439132440132441132442132443132444132445132446132447132448132449132450132451132452132453132454132455132456132457132458132459132460132461132462132463132464132465132466132467132468132469132470132471132472132473132474132475132476132477132478132479132480132481132482132483132484132485132486132487132488132489132490132491132492132493132494132495132496132497132498132499132500132501132502132503132504132505132506132507132508132509132510132511132512132513132514132515132516132517132518132519132520132521132522132523132524132525132526132527132528132529132530132531132532132533132534132535132536132537132538132539132540132541132542132543132544132545132546132547132548132549132550132551132552132553132554132555132556132557132558132559132560132561132562132563132564132565132566132567132568132569132570132571132572132573132574132575132576132577132578132579132580132581132582132583132584132585132586132587132588132589132590132591132592132593132594132595132596132597132598132599132600132601132602132603132604132605132606132607132608132609132610132611132612132613132614132615132616132617132618132619132620132621132622132623132624132625132626132627132628132629132630132631132632132633132634132635132636132637132638132639132640132641132642132643132644132645132646132647132648132649132650132651132652132653132654132655132656132657132658132659132660132661132662132663132664132665132666132667132668132669132670132671132672132673132674132675132676132677132678132679132680132681132682132683132684132685132686132687132688132689132690132691132692132693132694132695132696132697132698132699132700132701132702132703132704132705132706132707132708132709132710132711132712132713132714132715132716132717132718132719132720132721132722132723132724132725132726132727132728132729132730132731132732132733132734132735132736132737132738132739132740132741132742132743132744132745132746132747132748132749132750132751132752132753132754132755132756132757132758132759132760132761132762132763132764132765132766132767132768132769132770132771132772132773132774132775132776132777132778132779132780132781132782132783132784132785132786132787132788132789132790132791132792132793132794132795132796132797132798132799132800132801132802132803132804132805132806132807132808132809132810132811132812132813132814132815132816132817132818132819132820132821132822132823132824132825132826132827132828132829132830132831132832132833132834132835132836132837132838132839132840132841132842132843132844132845132846132847132848132849132850132851132852132853132854132855132856132857132858132859132860132861132862132863132864132865132866132867132868132869132870132871132872132873132874132875132876132877132878132879132880132881132882132883132884132885132886132887132888132889132890132891132892132893132894132895132896132897132898132899132900132901132902132903132904132905132906132907132908132909132910132911132912132913132914132915132916132917132918132919132920132921132922132923132924132925132926132927132928132929132930132931132932132933132934132935132936132937132938132939132940132941132942132943132944132945132946132947132948132949132950132951132952132953132954132955132956132957132958132959132960132961132962132963132964132965132966132967132968132969132970132971132972132973132974132975132976132977132978132979132980132981132982132983132984132985132986132987132988132989132990132991132992132993132994132995132996132997132998132999133000133001133002133003133004133005133006133007133008133009133010133011133012133013133014133015133016133017133018133019133020133021133022133023133024133025133026133027133028133029133030133031133032133033133034133035133036133037133038133039133040133041133042133043133044133045133046133047133048133049133050133051133052133053133054133055133056133057133058133059133060133061133062133063133064133065133066133067133068133069133070133071133072133073133074133075133076133077133078133079133080133081133082133083133084133085133086133087133088133089133090133091133092133093133094133095133096133097133098133099133100133101133102133103133104133105133106133107133108133109133110133111133112133113133114133115133116133117133118133119133120133121133122133123133124133125133126133127133128133129133130133131133132133133133134133135133136133137133138133139133140133141133142133143133144133145133146133147133148133149133150133151133152133153133154133155133156133157133158133159133160133161133162133163133164133165133166133167133168133169133170133171133172133173133174133175133176133177133178133179133180133181133182133183133184133185133186133187133188133189133190133191133192133193133194133195133196133197133198133199133200133201133202133203133204133205133206133207133208133209133210133211133212133213133214133215133216133217133218133219133220133221133222133223133224133225133226133227133228133229133230133231133232133233133234133235133236133237133238133239133240133241133242133243133244133245133246133247133248133249133250133251133252133253133254133255133256133257133258133259133260133261133262133263133264133265133266133267133268133269133270133271133272133273133274133275133276133277133278133279133280133281133282133283133284133285133286133287133288133289133290133291133292133293133294133295133296133297133298133299133300133301133302133303133304133305133306133307133308133309133310133311133312133313133314133315133316133317133318133319133320133321133322133323133324133325133326133327133328133329133330133331133332133333133334133335133336133337133338133339133340133341133342133343133344133345133346133347133348133349133350133351133352133353133354133355133356133357133358133359133360133361133362133363133364133365133366133367133368133369133370133371133372133373133374133375133376133377133378133379133380133381133382133383133384133385133386133387133388133389133390133391133392133393133394133395133396133397133398133399133400133401133402133403133404133405133406133407133408133409133410133411133412133413133414133415133416133417133418133419133420133421133422133423133424133425133426133427133428133429133430133431133432133433133434133435133436133437133438133439133440133441133442133443133444133445133446133447133448133449133450133451133452133453133454133455133456133457133458133459133460133461133462133463133464133465133466133467133468133469133470133471133472133473133474133475133476133477133478133479133480133481133482133483133484133485133486133487133488133489133490133491133492133493133494133495133496133497133498133499133500133501133502133503133504133505133506133507133508133509133510133511133512133513133514133515133516133517133518133519133520133521133522133523133524133525133526133527133528133529133530133531133532133533133534133535133536133537133538133539133540133541133542133543133544133545133546133547133548133549133550133551133552133553133554133555133556133557133558133559133560133561133562133563133564133565133566133567133568133569133570133571133572133573133574133575133576133577133578133579133580133581133582133583133584133585133586133587133588133589133590133591133592133593133594133595133596133597133598133599133600133601133602133603133604133605133606133607133608133609133610133611133612133613133614133615133616133617133618133619133620133621133622133623133624133625133626133627133628133629133630133631133632133633133634133635133636133637133638133639133640133641133642133643133644133645133646133647133648133649133650133651133652133653133654133655133656133657133658133659133660133661133662133663133664133665133666133667133668133669133670133671133672133673133674133675133676133677133678133679133680133681133682133683133684133685133686133687133688133689133690133691133692133693133694133695133696133697133698133699133700133701133702133703133704133705133706133707133708133709133710133711133712133713133714133715133716133717133718133719133720133721133722133723133724133725133726133727133728133729133730133731133732133733133734133735133736133737133738133739133740133741133742133743133744133745133746133747133748133749133750133751133752133753133754133755133756133757133758133759133760133761133762133763133764133765133766133767133768133769133770133771133772133773133774133775133776133777133778133779133780133781133782133783133784133785133786133787133788133789133790133791133792133793133794133795133796133797133798133799133800133801133802133803133804133805133806133807133808133809133810133811133812133813133814133815133816133817133818133819133820133821133822133823133824133825133826133827133828133829133830133831133832133833133834133835133836133837133838133839133840133841133842133843133844133845133846133847133848133849133850133851133852133853133854133855133856133857133858133859133860133861133862133863133864133865133866133867133868133869133870133871133872133873133874133875133876133877133878133879133880133881133882133883133884133885133886133887133888133889133890133891133892133893133894133895133896133897133898133899133900133901133902133903133904133905133906133907133908133909133910133911133912133913133914133915133916133917133918133919133920133921133922133923133924133925133926133927133928133929133930133931133932133933133934133935133936133937133938133939133940133941133942133943133944133945133946133947133948133949133950133951133952133953133954133955133956133957133958133959133960133961133962133963133964133965133966133967133968133969133970133971133972133973133974133975133976133977133978133979133980133981133982133983133984133985133986133987133988133989133990133991133992133993133994133995133996133997133998133999134000134001134002134003134004134005134006134007134008134009134010134011134012134013134014134015134016134017134018134019134020134021134022134023134024134025134026134027134028134029134030134031134032134033134034134035134036134037134038134039134040134041134042134043134044134045134046134047134048134049134050134051134052134053134054134055134056134057134058134059134060134061134062134063134064134065134066134067134068134069134070134071134072134073134074134075134076134077134078134079134080134081134082134083134084134085134086134087134088134089134090134091134092134093134094134095134096134097134098134099134100134101134102134103134104134105134106134107134108134109134110134111134112134113134114134115134116134117134118134119134120134121134122134123134124134125134126134127134128134129134130134131134132134133134134134135134136134137134138134139134140134141134142134143134144134145134146134147134148134149134150134151134152134153134154134155134156134157134158134159134160134161134162134163134164134165134166134167134168134169134170134171134172134173134174134175134176134177134178134179134180134181134182134183134184134185134186134187134188134189134190134191134192134193134194134195134196134197134198134199134200134201134202134203134204134205134206134207134208134209134210134211134212134213134214134215134216134217134218134219134220134221134222134223134224134225134226134227134228134229134230134231134232134233134234134235134236134237134238134239134240134241134242134243134244134245134246134247134248134249134250134251134252134253134254134255134256134257134258134259134260134261134262134263134264134265134266134267134268134269134270134271134272134273134274134275134276134277134278134279134280134281134282134283134284134285134286134287134288134289134290134291134292134293134294134295134296134297134298134299134300134301134302134303134304134305134306134307134308134309134310134311134312134313134314134315134316134317134318134319134320134321134322134323134324134325134326134327134328134329134330134331134332134333134334134335134336134337134338134339134340134341134342134343134344134345134346134347134348134349134350134351134352134353134354134355134356134357134358134359134360134361134362134363134364134365134366134367134368134369134370134371134372134373134374134375134376134377134378134379134380134381134382134383134384134385134386134387134388134389134390134391134392134393134394134395134396134397134398134399134400134401134402134403134404134405134406134407134408134409134410134411134412134413134414134415134416134417134418134419134420134421134422134423134424134425134426134427134428134429134430134431134432134433134434134435134436134437134438134439134440134441134442134443134444134445134446134447134448134449134450134451134452134453134454134455134456134457134458134459134460134461134462134463134464134465134466134467134468134469134470134471134472134473134474134475134476134477134478134479134480134481134482134483134484134485134486134487134488134489134490134491134492134493134494134495134496134497134498134499134500134501134502134503134504134505134506134507134508134509134510134511134512134513134514134515134516134517134518134519134520134521134522134523134524134525134526134527134528134529134530134531134532134533134534134535134536134537134538134539134540134541134542134543134544134545134546134547134548134549134550134551134552134553134554134555134556134557134558134559134560134561134562134563134564134565134566134567134568134569134570134571134572134573134574134575134576134577134578134579134580134581134582134583134584134585134586134587134588134589134590134591134592134593134594134595134596134597134598134599134600134601134602134603134604134605134606134607134608134609134610134611134612134613134614134615134616134617134618134619134620134621134622134623134624134625134626134627134628134629134630134631134632134633134634134635134636134637134638134639134640134641134642134643134644134645134646134647134648134649134650134651134652134653134654134655134656134657134658134659134660134661134662134663134664134665134666134667134668134669134670134671134672134673134674134675134676134677134678134679134680134681134682134683134684134685134686134687134688134689134690134691134692134693134694134695134696134697134698134699134700134701134702134703134704134705134706134707134708134709134710134711134712134713134714134715134716134717134718134719134720134721134722134723134724134725134726134727134728134729134730134731134732134733134734134735134736134737134738134739134740134741134742134743134744134745134746134747134748134749134750134751134752134753134754134755134756134757134758134759134760134761134762134763134764134765134766134767134768134769134770134771134772134773134774134775134776134777134778134779134780134781134782134783134784134785134786134787134788134789134790134791134792134793134794134795134796134797134798134799134800134801134802134803134804134805134806134807134808134809134810134811134812134813134814134815134816134817134818134819134820134821134822134823134824134825134826134827134828134829134830134831134832134833134834134835134836134837134838134839134840134841134842134843134844134845134846134847134848134849134850134851134852134853134854134855134856134857134858134859134860134861134862134863134864134865134866134867134868134869134870134871134872134873134874134875134876134877134878134879134880134881134882134883134884134885134886134887134888134889134890134891134892134893134894134895134896134897134898134899134900134901134902134903134904134905134906134907134908134909134910134911134912134913134914134915134916134917134918134919134920134921134922134923134924134925134926134927134928134929134930134931134932134933134934134935134936134937134938134939134940134941134942134943134944134945134946134947134948134949134950134951134952134953134954134955134956134957134958134959134960134961134962134963134964134965134966134967134968134969134970134971134972134973134974134975134976134977134978134979134980134981134982134983134984134985134986134987134988134989134990134991134992134993134994134995134996134997134998134999135000135001135002135003135004135005135006135007135008135009135010135011135012135013135014135015135016135017135018135019135020135021135022135023135024135025135026135027135028135029135030135031135032135033135034135035135036135037135038135039135040135041135042135043135044135045135046135047135048135049135050135051135052135053135054135055135056135057135058135059135060135061135062135063135064135065135066135067135068135069135070135071135072135073135074135075135076135077135078135079135080135081135082135083135084135085135086135087135088135089135090135091135092135093135094135095135096135097135098135099135100135101135102135103135104135105135106135107135108135109135110135111135112135113135114135115135116135117135118135119135120135121135122135123135124135125135126135127135128135129135130135131135132135133135134135135135136135137135138135139135140135141135142135143135144135145135146135147135148135149135150135151135152135153135154135155135156135157135158135159135160135161135162135163135164135165135166135167135168135169135170135171135172135173135174135175135176135177135178135179135180135181135182135183135184135185135186135187135188135189135190135191135192135193135194135195135196135197135198135199135200135201135202135203135204135205135206135207135208135209135210135211135212135213135214135215135216135217135218135219135220135221135222135223135224135225135226135227135228135229135230135231135232135233135234135235135236135237135238135239135240135241135242135243135244135245135246135247135248135249135250135251135252135253135254135255135256135257135258135259135260135261135262135263135264135265135266135267135268135269135270135271135272135273135274135275135276135277135278135279135280135281135282135283135284135285135286135287135288135289135290135291135292135293135294135295135296135297135298135299135300135301135302135303135304135305135306135307135308135309135310135311135312135313135314135315135316135317135318135319135320135321135322135323135324135325135326135327135328135329135330135331135332135333135334135335135336135337135338135339135340135341135342135343135344135345135346135347135348135349135350135351135352135353135354135355135356135357135358135359135360135361135362135363135364135365135366135367135368135369135370135371135372135373135374135375135376135377135378135379135380135381135382135383135384135385135386135387135388135389135390135391135392135393135394135395135396135397135398135399135400135401135402135403135404135405135406135407135408135409135410135411135412135413135414135415135416135417135418135419135420135421135422135423135424135425135426135427135428135429135430135431135432135433135434135435135436135437135438135439135440135441135442135443135444135445135446135447135448135449135450135451135452135453135454135455135456135457135458135459135460135461135462135463135464135465135466135467135468135469135470135471135472135473135474135475135476135477135478135479135480135481135482135483135484135485135486135487135488135489135490135491135492135493135494135495135496135497135498135499135500135501135502135503135504135505135506135507135508135509135510135511135512135513135514135515135516135517135518135519135520135521135522135523135524135525135526135527135528135529135530135531135532135533135534135535135536135537135538135539135540135541135542135543135544135545135546135547135548135549135550135551135552135553135554135555135556135557135558135559135560135561135562135563135564135565135566135567135568135569135570135571135572135573135574135575135576135577135578135579135580135581135582135583135584135585135586135587135588135589135590135591135592135593135594135595135596135597135598135599135600135601135602135603135604135605135606135607135608135609135610135611135612135613135614135615135616135617135618135619135620135621135622135623135624135625135626135627135628135629135630135631135632135633135634135635135636135637135638135639135640135641135642135643135644135645135646135647135648135649135650135651135652135653135654135655135656135657135658135659135660135661135662135663135664135665135666135667135668135669135670135671135672135673135674135675135676135677135678135679135680135681135682135683135684135685135686135687135688135689135690135691135692135693135694135695135696135697135698135699135700135701135702135703135704135705135706135707135708135709135710135711135712135713135714135715135716135717135718135719135720135721135722135723135724135725135726135727135728135729135730135731135732135733135734135735135736135737135738135739135740135741135742135743135744135745135746135747135748135749135750135751135752135753135754135755135756135757135758135759135760135761135762135763135764135765135766135767135768135769135770135771135772135773135774135775135776135777135778135779135780135781135782135783135784135785135786135787135788135789135790135791135792135793135794135795135796135797135798135799135800135801135802135803135804135805135806135807135808135809135810135811135812135813135814135815135816135817135818135819135820135821135822135823135824135825135826135827135828135829135830135831135832135833135834135835135836135837135838135839135840135841135842135843135844135845135846135847135848135849135850135851135852135853135854135855135856135857135858135859135860135861135862135863135864135865135866135867135868135869135870135871135872135873135874135875135876135877135878135879135880135881135882135883135884135885135886135887135888135889135890135891135892135893135894135895135896135897135898135899135900135901135902135903135904135905135906135907135908135909135910135911135912135913135914135915135916135917135918135919135920135921135922135923135924135925135926135927135928135929135930135931135932135933135934135935135936135937135938135939135940135941135942135943135944135945135946135947135948135949135950135951135952135953135954135955135956135957135958135959135960135961135962135963135964135965135966135967135968135969135970135971135972135973135974135975135976135977135978135979135980135981135982135983135984135985135986135987135988135989135990135991135992135993135994135995135996135997135998135999136000136001136002136003136004136005136006136007136008136009136010136011136012136013136014136015136016136017136018136019136020136021136022136023136024136025136026136027136028136029136030136031136032136033136034136035136036136037136038136039136040136041136042136043136044136045136046136047136048136049136050136051136052136053136054136055136056136057136058136059136060136061136062136063136064136065136066136067136068136069136070136071136072136073136074136075136076136077136078136079136080136081136082136083136084136085136086136087136088136089136090136091136092136093136094136095136096136097136098136099136100136101136102136103136104136105136106136107136108136109136110136111136112136113136114136115136116136117136118136119136120136121136122136123136124136125136126136127136128136129136130136131136132136133136134136135136136136137136138136139136140136141136142136143136144136145136146136147136148136149136150136151136152136153136154136155136156136157136158136159136160136161136162136163136164136165136166136167136168136169136170136171136172136173136174136175136176136177136178136179136180136181136182136183136184136185136186136187136188136189136190136191136192136193136194136195136196136197136198136199136200136201136202136203136204136205136206136207136208136209136210136211136212136213136214136215136216136217136218136219136220136221136222136223136224136225136226136227136228136229136230136231136232136233136234136235136236136237136238136239136240136241136242136243136244136245136246136247136248136249136250136251136252136253136254136255136256136257136258136259136260136261136262136263136264136265136266136267136268136269136270136271136272136273136274136275136276136277136278136279136280136281136282136283136284136285136286136287136288136289136290136291136292136293136294136295136296136297136298136299136300136301136302136303136304136305136306136307136308136309136310136311136312136313136314136315136316136317136318136319136320136321136322136323136324136325136326136327136328136329136330136331136332136333136334136335136336136337136338136339136340136341136342136343136344136345136346136347136348136349136350136351136352136353136354136355136356136357136358136359136360136361136362136363136364136365136366136367136368136369136370136371136372136373136374136375136376136377136378136379136380136381136382136383136384136385136386136387136388136389136390136391136392136393136394136395136396136397136398136399136400136401136402136403136404136405136406136407136408136409136410136411136412136413136414136415136416136417136418136419136420136421136422136423136424136425136426136427136428136429136430136431136432136433136434136435136436136437136438136439136440136441136442136443136444136445136446136447136448136449136450136451136452136453136454136455136456136457136458136459136460136461136462136463136464136465136466136467136468136469136470136471136472136473136474136475136476136477136478136479136480136481136482136483136484136485136486136487136488136489136490136491136492136493136494136495136496136497136498136499136500136501136502136503136504136505136506136507136508136509136510136511136512136513136514136515136516136517136518136519136520136521136522136523136524136525136526136527136528136529136530136531136532136533136534136535136536136537136538136539136540136541136542136543136544136545136546136547136548136549136550136551136552136553136554136555136556136557136558136559136560136561136562136563136564136565136566136567136568136569136570136571136572136573136574136575136576136577136578136579136580136581136582136583136584136585136586136587136588136589136590136591136592136593136594136595136596136597136598136599136600136601136602136603136604136605136606136607136608136609136610136611136612136613136614136615136616136617136618136619136620136621136622136623136624136625136626136627136628136629136630136631136632136633136634136635136636136637136638136639136640136641136642136643136644136645136646136647136648136649136650136651136652136653136654136655136656136657136658136659136660136661136662136663136664136665136666136667136668136669136670136671136672136673136674136675136676136677136678136679136680136681136682136683136684136685136686136687136688136689136690136691136692136693136694136695136696136697136698136699136700136701136702136703136704136705136706136707136708136709136710136711136712136713136714136715136716136717136718136719136720136721136722136723136724136725136726136727136728136729136730136731136732136733136734136735136736136737136738136739136740136741136742136743136744136745136746136747136748136749136750136751136752136753136754136755136756136757136758136759136760136761136762136763136764136765136766136767136768136769136770136771136772136773136774136775136776136777136778136779136780136781136782136783136784136785136786136787136788136789136790136791136792136793136794136795136796136797136798136799136800136801136802136803136804136805136806136807136808136809136810136811136812136813136814136815136816136817136818136819136820136821136822136823136824136825136826136827136828136829136830136831136832136833136834136835136836136837136838136839136840136841136842136843136844136845136846136847136848136849136850136851136852136853136854136855136856136857136858136859136860136861136862136863136864136865136866136867136868136869136870136871136872136873136874136875136876136877136878136879136880136881136882136883136884136885136886136887136888136889136890136891136892136893136894136895136896136897136898136899136900136901136902136903136904136905136906136907136908136909136910136911136912136913136914136915136916136917136918136919136920136921136922136923136924136925136926136927136928136929136930136931136932136933136934136935136936136937136938136939136940136941136942136943136944136945136946136947136948136949136950136951136952136953136954136955136956136957136958136959136960136961136962136963136964136965136966136967136968136969136970136971136972136973136974136975136976136977136978136979136980136981136982136983136984136985136986136987136988136989136990136991136992136993136994136995136996136997136998136999137000137001137002137003137004137005137006137007137008137009137010137011137012137013137014137015137016137017137018137019137020137021137022137023137024137025137026137027137028137029137030137031137032137033137034137035137036137037137038137039137040137041137042137043137044137045137046137047137048137049137050137051137052137053137054137055137056137057137058137059137060137061137062137063137064137065137066137067137068137069137070137071137072137073137074137075137076137077137078137079137080137081137082137083137084137085137086137087137088137089137090137091137092137093137094137095137096137097137098137099137100137101137102137103137104137105137106137107137108137109137110137111137112137113137114137115137116137117137118137119137120137121137122137123137124137125137126137127137128137129137130137131137132137133137134137135137136137137137138137139137140137141137142137143137144137145137146137147137148137149137150137151137152137153137154137155137156137157137158137159137160137161137162137163137164137165137166137167137168137169137170137171137172137173137174137175137176137177137178137179137180137181137182137183137184137185137186137187137188137189137190137191137192137193137194137195137196137197137198137199137200137201137202137203137204137205137206137207137208137209137210137211137212137213137214137215137216137217137218137219137220137221137222137223137224137225137226137227137228137229137230137231137232137233137234137235137236137237137238137239137240137241137242137243137244137245137246137247137248137249137250137251137252137253137254137255137256137257137258137259137260137261137262137263137264137265137266137267137268137269137270137271137272137273137274137275137276137277137278137279137280137281137282137283137284137285137286137287137288137289137290137291137292137293137294137295137296137297137298137299137300137301137302137303137304137305137306137307137308137309137310137311137312137313137314137315137316137317137318137319137320137321137322137323137324137325137326137327137328137329137330137331137332137333137334137335137336137337137338137339137340137341137342137343137344137345137346137347137348137349137350137351137352137353137354137355137356137357137358137359137360137361137362137363137364137365137366137367137368137369137370137371137372137373137374137375137376137377137378137379137380137381137382137383137384137385137386137387137388137389137390137391137392137393137394137395137396137397137398137399137400137401137402137403137404137405137406137407137408137409137410137411137412137413137414137415137416137417137418137419137420137421137422137423137424137425137426137427137428137429137430137431137432137433137434137435137436137437137438137439137440137441137442137443137444137445137446137447137448137449137450137451137452137453137454137455137456137457137458137459137460137461137462137463137464137465137466137467137468137469137470137471137472137473137474137475137476137477137478137479137480137481137482137483137484137485137486137487137488137489137490137491137492137493137494137495137496137497137498137499137500137501137502137503137504137505137506137507137508137509137510137511137512137513137514137515137516137517137518137519137520137521137522137523137524137525137526137527137528137529137530137531137532137533137534137535137536137537137538137539137540137541137542137543137544137545137546137547137548137549137550137551137552137553137554137555137556137557137558137559137560137561137562137563137564137565137566137567137568137569137570137571137572137573137574137575137576137577137578137579137580137581137582137583137584137585137586137587137588137589137590137591137592137593137594137595137596137597137598137599137600137601137602137603137604137605137606137607137608137609137610137611137612137613137614137615137616137617137618137619137620137621137622137623137624137625137626137627137628137629137630137631137632137633137634137635137636137637137638137639137640137641137642137643137644137645137646137647137648137649137650137651137652137653137654137655137656137657137658137659137660137661137662137663137664137665137666137667137668137669137670137671137672137673137674137675137676137677137678137679137680137681137682137683137684137685137686137687137688137689137690137691137692137693137694137695137696137697137698137699137700137701137702137703137704137705137706137707137708137709137710137711137712137713137714137715137716137717137718137719137720137721137722137723137724137725137726137727137728137729137730137731137732137733137734137735137736137737137738137739137740137741137742137743137744137745137746137747137748137749137750137751137752137753137754137755137756137757137758137759137760137761137762137763137764137765137766137767137768137769137770137771137772137773137774137775137776137777137778137779137780137781137782137783137784137785137786137787137788137789137790137791137792137793137794137795137796137797137798137799137800137801137802137803137804137805137806137807137808137809137810137811137812137813137814137815137816137817137818137819137820137821137822137823137824137825137826137827137828137829137830137831137832137833137834137835137836137837137838137839137840137841137842137843137844137845137846137847137848137849137850137851137852137853137854137855137856137857137858137859137860137861137862137863137864137865137866137867137868137869137870137871137872137873137874137875137876137877137878137879137880137881137882137883137884137885137886137887137888137889137890137891137892137893137894137895137896137897137898137899137900137901137902137903137904137905137906137907137908137909137910137911137912137913137914137915137916137917137918137919137920137921137922137923137924137925137926137927137928137929137930137931137932137933137934137935137936137937137938137939137940137941137942137943137944137945137946137947137948137949137950137951137952137953137954137955137956137957137958137959137960137961137962137963137964137965137966137967137968137969137970137971137972137973137974137975137976137977137978137979137980137981137982137983137984137985137986137987137988137989137990137991137992137993137994137995137996137997137998137999138000138001138002138003138004138005138006138007138008138009138010138011138012138013138014138015138016138017138018138019138020138021138022138023138024138025138026138027138028138029138030138031138032138033138034138035138036138037138038138039138040138041138042138043138044138045138046138047138048138049138050138051138052138053138054138055138056138057138058138059138060138061138062138063138064138065138066138067138068138069138070138071138072138073138074138075138076138077138078138079138080138081138082138083138084138085138086138087138088138089138090138091138092138093138094138095138096138097138098138099138100138101138102138103138104138105138106138107138108138109138110138111138112138113138114138115138116138117138118138119138120138121138122138123138124138125138126138127138128138129138130138131138132138133138134138135138136138137138138138139138140138141138142138143138144138145138146138147138148138149138150138151138152138153138154138155138156138157138158138159138160138161138162138163138164138165138166138167138168138169138170138171138172138173138174138175138176138177138178138179138180138181138182138183138184138185138186138187138188138189138190138191138192138193138194138195138196138197138198138199138200138201138202138203138204138205138206138207138208138209138210138211138212138213138214138215138216138217138218138219138220138221138222138223138224138225138226138227138228138229138230138231138232138233138234138235138236138237138238138239138240138241138242138243138244138245138246138247138248138249138250138251138252138253138254138255138256138257138258138259138260138261138262138263138264138265138266138267138268138269138270138271138272138273138274138275138276138277138278138279138280138281138282138283138284138285138286138287138288138289138290138291138292138293138294138295138296138297138298138299138300138301138302138303138304138305138306138307138308138309138310138311138312138313138314138315138316138317138318138319138320138321138322138323138324138325138326138327138328138329138330138331138332138333138334138335138336138337138338138339138340138341138342138343138344138345138346138347138348138349138350138351138352138353138354138355138356138357138358138359138360138361138362138363138364138365138366138367138368138369138370138371138372138373138374138375138376138377138378138379138380138381138382138383138384138385138386138387138388138389138390138391138392138393138394138395138396138397138398138399138400138401138402138403138404138405138406138407138408138409138410138411138412138413138414138415138416138417138418138419138420138421138422138423138424138425138426138427138428138429138430138431138432138433138434138435138436138437138438138439138440138441138442138443138444138445138446138447138448138449138450138451138452138453138454138455138456138457138458138459138460138461138462138463138464138465138466138467138468138469138470138471138472138473138474138475138476138477138478138479138480138481138482138483138484138485138486138487138488138489138490138491138492138493138494138495138496138497138498138499138500138501138502138503138504138505138506138507138508138509138510138511138512138513138514138515138516138517138518138519138520138521138522138523138524138525138526138527138528138529138530138531138532138533138534138535138536138537138538138539138540138541138542138543138544138545138546138547138548138549138550138551138552138553138554138555138556138557138558138559138560138561138562138563
  1. "use strict";
  2. (self["webpackChunkapp"] = self["webpackChunkapp"] || []).push([["vendor"],{
  3. /***/ 3819:
  4. /*!***************************************************************!*\
  5. !*** ./node_modules/@ionic/angular/fesm2015/ionic-angular.js ***!
  6. \***************************************************************/
  7. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  8. __webpack_require__.r(__webpack_exports__);
  9. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  10. /* harmony export */ "ActionSheetController": () => (/* binding */ ActionSheetController),
  11. /* harmony export */ "AlertController": () => (/* binding */ AlertController),
  12. /* harmony export */ "AngularDelegate": () => (/* binding */ AngularDelegate),
  13. /* harmony export */ "AnimationController": () => (/* binding */ AnimationController),
  14. /* harmony export */ "BooleanValueAccessor": () => (/* binding */ BooleanValueAccessorDirective),
  15. /* harmony export */ "Config": () => (/* binding */ Config),
  16. /* harmony export */ "DomController": () => (/* binding */ DomController),
  17. /* harmony export */ "GestureController": () => (/* binding */ GestureController),
  18. /* harmony export */ "IonAccordion": () => (/* binding */ IonAccordion),
  19. /* harmony export */ "IonAccordionGroup": () => (/* binding */ IonAccordionGroup),
  20. /* harmony export */ "IonApp": () => (/* binding */ IonApp),
  21. /* harmony export */ "IonAvatar": () => (/* binding */ IonAvatar),
  22. /* harmony export */ "IonBackButton": () => (/* binding */ IonBackButton),
  23. /* harmony export */ "IonBackButtonDelegate": () => (/* binding */ IonBackButtonDelegateDirective),
  24. /* harmony export */ "IonBackdrop": () => (/* binding */ IonBackdrop),
  25. /* harmony export */ "IonBadge": () => (/* binding */ IonBadge),
  26. /* harmony export */ "IonBreadcrumb": () => (/* binding */ IonBreadcrumb),
  27. /* harmony export */ "IonBreadcrumbs": () => (/* binding */ IonBreadcrumbs),
  28. /* harmony export */ "IonButton": () => (/* binding */ IonButton),
  29. /* harmony export */ "IonButtons": () => (/* binding */ IonButtons),
  30. /* harmony export */ "IonCard": () => (/* binding */ IonCard),
  31. /* harmony export */ "IonCardContent": () => (/* binding */ IonCardContent),
  32. /* harmony export */ "IonCardHeader": () => (/* binding */ IonCardHeader),
  33. /* harmony export */ "IonCardSubtitle": () => (/* binding */ IonCardSubtitle),
  34. /* harmony export */ "IonCardTitle": () => (/* binding */ IonCardTitle),
  35. /* harmony export */ "IonCheckbox": () => (/* binding */ IonCheckbox),
  36. /* harmony export */ "IonChip": () => (/* binding */ IonChip),
  37. /* harmony export */ "IonCol": () => (/* binding */ IonCol),
  38. /* harmony export */ "IonContent": () => (/* binding */ IonContent),
  39. /* harmony export */ "IonDatetime": () => (/* binding */ IonDatetime),
  40. /* harmony export */ "IonDatetimeButton": () => (/* binding */ IonDatetimeButton),
  41. /* harmony export */ "IonFab": () => (/* binding */ IonFab),
  42. /* harmony export */ "IonFabButton": () => (/* binding */ IonFabButton),
  43. /* harmony export */ "IonFabList": () => (/* binding */ IonFabList),
  44. /* harmony export */ "IonFooter": () => (/* binding */ IonFooter),
  45. /* harmony export */ "IonGrid": () => (/* binding */ IonGrid),
  46. /* harmony export */ "IonHeader": () => (/* binding */ IonHeader),
  47. /* harmony export */ "IonIcon": () => (/* binding */ IonIcon),
  48. /* harmony export */ "IonImg": () => (/* binding */ IonImg),
  49. /* harmony export */ "IonInfiniteScroll": () => (/* binding */ IonInfiniteScroll),
  50. /* harmony export */ "IonInfiniteScrollContent": () => (/* binding */ IonInfiniteScrollContent),
  51. /* harmony export */ "IonInput": () => (/* binding */ IonInput),
  52. /* harmony export */ "IonItem": () => (/* binding */ IonItem),
  53. /* harmony export */ "IonItemDivider": () => (/* binding */ IonItemDivider),
  54. /* harmony export */ "IonItemGroup": () => (/* binding */ IonItemGroup),
  55. /* harmony export */ "IonItemOption": () => (/* binding */ IonItemOption),
  56. /* harmony export */ "IonItemOptions": () => (/* binding */ IonItemOptions),
  57. /* harmony export */ "IonItemSliding": () => (/* binding */ IonItemSliding),
  58. /* harmony export */ "IonLabel": () => (/* binding */ IonLabel),
  59. /* harmony export */ "IonList": () => (/* binding */ IonList),
  60. /* harmony export */ "IonListHeader": () => (/* binding */ IonListHeader),
  61. /* harmony export */ "IonMenu": () => (/* binding */ IonMenu),
  62. /* harmony export */ "IonMenuButton": () => (/* binding */ IonMenuButton),
  63. /* harmony export */ "IonMenuToggle": () => (/* binding */ IonMenuToggle),
  64. /* harmony export */ "IonModal": () => (/* binding */ IonModal),
  65. /* harmony export */ "IonNav": () => (/* binding */ IonNav),
  66. /* harmony export */ "IonNavLink": () => (/* binding */ IonNavLink),
  67. /* harmony export */ "IonNote": () => (/* binding */ IonNote),
  68. /* harmony export */ "IonPopover": () => (/* binding */ IonPopover),
  69. /* harmony export */ "IonProgressBar": () => (/* binding */ IonProgressBar),
  70. /* harmony export */ "IonRadio": () => (/* binding */ IonRadio),
  71. /* harmony export */ "IonRadioGroup": () => (/* binding */ IonRadioGroup),
  72. /* harmony export */ "IonRange": () => (/* binding */ IonRange),
  73. /* harmony export */ "IonRefresher": () => (/* binding */ IonRefresher),
  74. /* harmony export */ "IonRefresherContent": () => (/* binding */ IonRefresherContent),
  75. /* harmony export */ "IonReorder": () => (/* binding */ IonReorder),
  76. /* harmony export */ "IonReorderGroup": () => (/* binding */ IonReorderGroup),
  77. /* harmony export */ "IonRippleEffect": () => (/* binding */ IonRippleEffect),
  78. /* harmony export */ "IonRouterOutlet": () => (/* binding */ IonRouterOutlet),
  79. /* harmony export */ "IonRow": () => (/* binding */ IonRow),
  80. /* harmony export */ "IonSearchbar": () => (/* binding */ IonSearchbar),
  81. /* harmony export */ "IonSegment": () => (/* binding */ IonSegment),
  82. /* harmony export */ "IonSegmentButton": () => (/* binding */ IonSegmentButton),
  83. /* harmony export */ "IonSelect": () => (/* binding */ IonSelect),
  84. /* harmony export */ "IonSelectOption": () => (/* binding */ IonSelectOption),
  85. /* harmony export */ "IonSkeletonText": () => (/* binding */ IonSkeletonText),
  86. /* harmony export */ "IonSlide": () => (/* binding */ IonSlide),
  87. /* harmony export */ "IonSlides": () => (/* binding */ IonSlides),
  88. /* harmony export */ "IonSpinner": () => (/* binding */ IonSpinner),
  89. /* harmony export */ "IonSplitPane": () => (/* binding */ IonSplitPane),
  90. /* harmony export */ "IonTabBar": () => (/* binding */ IonTabBar),
  91. /* harmony export */ "IonTabButton": () => (/* binding */ IonTabButton),
  92. /* harmony export */ "IonTabs": () => (/* binding */ IonTabs),
  93. /* harmony export */ "IonText": () => (/* binding */ IonText),
  94. /* harmony export */ "IonTextarea": () => (/* binding */ IonTextarea),
  95. /* harmony export */ "IonThumbnail": () => (/* binding */ IonThumbnail),
  96. /* harmony export */ "IonTitle": () => (/* binding */ IonTitle),
  97. /* harmony export */ "IonToggle": () => (/* binding */ IonToggle),
  98. /* harmony export */ "IonToolbar": () => (/* binding */ IonToolbar),
  99. /* harmony export */ "IonVirtualScroll": () => (/* binding */ IonVirtualScroll),
  100. /* harmony export */ "IonicModule": () => (/* binding */ IonicModule),
  101. /* harmony export */ "IonicRouteStrategy": () => (/* binding */ IonicRouteStrategy),
  102. /* harmony export */ "IonicSafeString": () => (/* reexport safe */ _ionic_core__WEBPACK_IMPORTED_MODULE_0__.IonicSafeString),
  103. /* harmony export */ "IonicSlides": () => (/* reexport safe */ _ionic_core__WEBPACK_IMPORTED_MODULE_0__.IonicSlides),
  104. /* harmony export */ "IonicSwiper": () => (/* reexport safe */ _ionic_core__WEBPACK_IMPORTED_MODULE_0__.IonicSwiper),
  105. /* harmony export */ "LoadingController": () => (/* binding */ LoadingController),
  106. /* harmony export */ "MenuController": () => (/* binding */ MenuController),
  107. /* harmony export */ "ModalController": () => (/* binding */ ModalController),
  108. /* harmony export */ "NavController": () => (/* binding */ NavController),
  109. /* harmony export */ "NavDelegate": () => (/* binding */ NavDelegate),
  110. /* harmony export */ "NavParams": () => (/* binding */ NavParams),
  111. /* harmony export */ "NumericValueAccessor": () => (/* binding */ NumericValueAccessorDirective),
  112. /* harmony export */ "PickerController": () => (/* binding */ PickerController),
  113. /* harmony export */ "Platform": () => (/* binding */ Platform),
  114. /* harmony export */ "PopoverController": () => (/* binding */ PopoverController),
  115. /* harmony export */ "RadioValueAccessor": () => (/* binding */ RadioValueAccessorDirective),
  116. /* harmony export */ "RouterLinkDelegate": () => (/* binding */ RouterLinkDelegateDirective),
  117. /* harmony export */ "RouterLinkWithHrefDelegate": () => (/* binding */ RouterLinkWithHrefDelegateDirective),
  118. /* harmony export */ "SelectValueAccessor": () => (/* binding */ SelectValueAccessorDirective),
  119. /* harmony export */ "TextValueAccessor": () => (/* binding */ TextValueAccessorDirective),
  120. /* harmony export */ "ToastController": () => (/* binding */ ToastController),
  121. /* harmony export */ "VirtualFooter": () => (/* binding */ VirtualFooter),
  122. /* harmony export */ "VirtualHeader": () => (/* binding */ VirtualHeader),
  123. /* harmony export */ "VirtualItem": () => (/* binding */ VirtualItem),
  124. /* harmony export */ "createAnimation": () => (/* reexport safe */ _ionic_core__WEBPACK_IMPORTED_MODULE_0__.createAnimation),
  125. /* harmony export */ "createGesture": () => (/* reexport safe */ _ionic_core__WEBPACK_IMPORTED_MODULE_0__.createGesture),
  126. /* harmony export */ "getPlatforms": () => (/* reexport safe */ _ionic_core__WEBPACK_IMPORTED_MODULE_0__.getPlatforms),
  127. /* harmony export */ "getTimeGivenProgression": () => (/* reexport safe */ _ionic_core__WEBPACK_IMPORTED_MODULE_0__.getTimeGivenProgression),
  128. /* harmony export */ "iosTransitionAnimation": () => (/* reexport safe */ _ionic_core__WEBPACK_IMPORTED_MODULE_0__.iosTransitionAnimation),
  129. /* harmony export */ "isPlatform": () => (/* reexport safe */ _ionic_core__WEBPACK_IMPORTED_MODULE_0__.isPlatform),
  130. /* harmony export */ "mdTransitionAnimation": () => (/* reexport safe */ _ionic_core__WEBPACK_IMPORTED_MODULE_0__.mdTransitionAnimation)
  131. /* harmony export */ });
  132. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 3184);
  133. /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/forms */ 587);
  134. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! tslib */ 4929);
  135. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs */ 6312);
  136. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rxjs */ 2218);
  137. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! rxjs */ 4505);
  138. /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/router */ 2816);
  139. /* harmony import */ var _ionic_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ionic/core */ 6710);
  140. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! rxjs/operators */ 9151);
  141. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! rxjs/operators */ 9095);
  142. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! rxjs/operators */ 3298);
  143. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common */ 6362);
  144. /* harmony import */ var _ionic_core_loader__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @ionic/core/loader */ 3714);
  145. const _c0 = ["*"];
  146. const _c1 = ["outlet"];
  147. const _c2 = [[["", "slot", "top"]], "*"];
  148. const _c3 = ["[slot=top]", "*"];
  149. function IonModal_div_0_Template(rf, ctx) {
  150. if (rf & 1) {
  151. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 1);
  152. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementContainer"](1, 2);
  153. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]();
  154. }
  155. if (rf & 2) {
  156. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"]();
  157. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1);
  158. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngTemplateOutlet", ctx_r0.template);
  159. }
  160. }
  161. function IonPopover_ng_container_0_Template(rf, ctx) {
  162. if (rf & 1) {
  163. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementContainer"](0, 1);
  164. }
  165. if (rf & 2) {
  166. const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"]();
  167. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngTemplateOutlet", ctx_r0.template);
  168. }
  169. }
  170. const raf = h => {
  171. if (typeof __zone_symbol__requestAnimationFrame === 'function') {
  172. return __zone_symbol__requestAnimationFrame(h);
  173. }
  174. if (typeof requestAnimationFrame === 'function') {
  175. return requestAnimationFrame(h);
  176. }
  177. return setTimeout(h);
  178. };
  179. const isComponentFactoryResolver = item => {
  180. return !!item.resolveComponentFactory;
  181. };
  182. class ValueAccessor {
  183. constructor(injector, el) {
  184. this.injector = injector;
  185. this.el = el;
  186. this.onChange = () => {
  187. /**/
  188. };
  189. this.onTouched = () => {
  190. /**/
  191. };
  192. }
  193. writeValue(value) {
  194. /**
  195. * TODO for Ionic 6:
  196. * Change `value == null ? '' : value;`
  197. * to `value`. This was a fix for IE9, but IE9
  198. * is no longer supported; however, this change
  199. * is potentially a breaking change
  200. */
  201. this.el.nativeElement.value = this.lastValue = value == null ? '' : value;
  202. setIonicClasses(this.el);
  203. }
  204. handleChangeEvent(el, value) {
  205. if (el === this.el.nativeElement) {
  206. if (value !== this.lastValue) {
  207. this.lastValue = value;
  208. this.onChange(value);
  209. }
  210. setIonicClasses(this.el);
  211. }
  212. }
  213. _handleBlurEvent(el) {
  214. if (el === this.el.nativeElement) {
  215. this.onTouched();
  216. setIonicClasses(this.el);
  217. }
  218. }
  219. registerOnChange(fn) {
  220. this.onChange = fn;
  221. }
  222. registerOnTouched(fn) {
  223. this.onTouched = fn;
  224. }
  225. setDisabledState(isDisabled) {
  226. this.el.nativeElement.disabled = isDisabled;
  227. }
  228. ngOnDestroy() {
  229. if (this.statusChanges) {
  230. this.statusChanges.unsubscribe();
  231. }
  232. }
  233. ngAfterViewInit() {
  234. let ngControl;
  235. try {
  236. ngControl = this.injector.get(_angular_forms__WEBPACK_IMPORTED_MODULE_3__.NgControl);
  237. } catch (_a) {
  238. /* No FormControl or ngModel binding */
  239. }
  240. if (!ngControl) {
  241. return;
  242. } // Listen for changes in validity, disabled, or pending states
  243. if (ngControl.statusChanges) {
  244. this.statusChanges = ngControl.statusChanges.subscribe(() => setIonicClasses(this.el));
  245. }
  246. /**
  247. * TODO Remove this in favor of https://github.com/angular/angular/issues/10887
  248. * whenever it is implemented. Currently, Ionic's form status classes
  249. * do not react to changes when developers manually call
  250. * Angular form control methods such as markAsTouched.
  251. * This results in Ionic's form status classes being out
  252. * of sync with the ng form status classes.
  253. * This patches the methods to manually sync
  254. * the classes until this feature is implemented in Angular.
  255. */
  256. const formControl = ngControl.control;
  257. if (formControl) {
  258. const methodsToPatch = ['markAsTouched', 'markAllAsTouched', 'markAsUntouched', 'markAsDirty', 'markAsPristine'];
  259. methodsToPatch.forEach(method => {
  260. if (typeof formControl[method] !== 'undefined') {
  261. const oldFn = formControl[method].bind(formControl);
  262. formControl[method] = (...params) => {
  263. oldFn(...params);
  264. setIonicClasses(this.el);
  265. };
  266. }
  267. });
  268. }
  269. }
  270. }
  271. /** @nocollapse */
  272. ValueAccessor.ɵfac = function ValueAccessor_Factory(t) {
  273. return new (t || ValueAccessor)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.Injector), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef));
  274. };
  275. /** @nocollapse */
  276. ValueAccessor.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineDirective"]({
  277. type: ValueAccessor,
  278. hostBindings: function ValueAccessor_HostBindings(rf, ctx) {
  279. if (rf & 1) {
  280. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("ionBlur", function ValueAccessor_ionBlur_HostBindingHandler($event) {
  281. return ctx._handleBlurEvent($event.target);
  282. });
  283. }
  284. }
  285. });
  286. (function () {
  287. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](ValueAccessor, [{
  288. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Directive
  289. }], function () {
  290. return [{
  291. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injector
  292. }, {
  293. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  294. }];
  295. }, {
  296. _handleBlurEvent: [{
  297. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.HostListener,
  298. args: ['ionBlur', ['$event.target']]
  299. }]
  300. });
  301. })();
  302. const setIonicClasses = element => {
  303. raf(() => {
  304. const input = element.nativeElement;
  305. const hasValue = input.value != null && input.value.toString().length > 0;
  306. const classes = getClasses(input);
  307. setClasses(input, classes);
  308. const item = input.closest('ion-item');
  309. if (item) {
  310. if (hasValue) {
  311. setClasses(item, [...classes, 'item-has-value']);
  312. } else {
  313. setClasses(item, classes);
  314. }
  315. }
  316. });
  317. };
  318. const getClasses = element => {
  319. const classList = element.classList;
  320. const classes = [];
  321. for (let i = 0; i < classList.length; i++) {
  322. const item = classList.item(i);
  323. if (item !== null && startsWith(item, 'ng-')) {
  324. classes.push(`ion-${item.substring(3)}`);
  325. }
  326. }
  327. return classes;
  328. };
  329. const setClasses = (element, classes) => {
  330. const classList = element.classList;
  331. classList.remove('ion-valid', 'ion-invalid', 'ion-touched', 'ion-untouched', 'ion-dirty', 'ion-pristine');
  332. classList.add(...classes);
  333. };
  334. const startsWith = (input, search) => {
  335. return input.substring(0, search.length) === search;
  336. };
  337. class BooleanValueAccessorDirective extends ValueAccessor {
  338. constructor(injector, el) {
  339. super(injector, el);
  340. }
  341. writeValue(value) {
  342. this.el.nativeElement.checked = this.lastValue = value == null ? false : value;
  343. setIonicClasses(this.el);
  344. }
  345. _handleIonChange(el) {
  346. this.handleChangeEvent(el, el.checked);
  347. }
  348. }
  349. /** @nocollapse */
  350. BooleanValueAccessorDirective.ɵfac = function BooleanValueAccessorDirective_Factory(t) {
  351. return new (t || BooleanValueAccessorDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.Injector), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef));
  352. };
  353. /** @nocollapse */
  354. BooleanValueAccessorDirective.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineDirective"]({
  355. type: BooleanValueAccessorDirective,
  356. selectors: [["ion-checkbox"], ["ion-toggle"]],
  357. hostBindings: function BooleanValueAccessorDirective_HostBindings(rf, ctx) {
  358. if (rf & 1) {
  359. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("ionChange", function BooleanValueAccessorDirective_ionChange_HostBindingHandler($event) {
  360. return ctx._handleIonChange($event.target);
  361. });
  362. }
  363. },
  364. features: [_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵProvidersFeature"]([{
  365. provide: _angular_forms__WEBPACK_IMPORTED_MODULE_3__.NG_VALUE_ACCESSOR,
  366. useExisting: BooleanValueAccessorDirective,
  367. multi: true
  368. }]), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵInheritDefinitionFeature"]]
  369. });
  370. (function () {
  371. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](BooleanValueAccessorDirective, [{
  372. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Directive,
  373. args: [{
  374. selector: 'ion-checkbox,ion-toggle',
  375. providers: [{
  376. provide: _angular_forms__WEBPACK_IMPORTED_MODULE_3__.NG_VALUE_ACCESSOR,
  377. useExisting: BooleanValueAccessorDirective,
  378. multi: true
  379. }]
  380. }]
  381. }], function () {
  382. return [{
  383. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injector
  384. }, {
  385. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  386. }];
  387. }, {
  388. _handleIonChange: [{
  389. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.HostListener,
  390. args: ['ionChange', ['$event.target']]
  391. }]
  392. });
  393. })();
  394. class NumericValueAccessorDirective extends ValueAccessor {
  395. constructor(injector, el) {
  396. super(injector, el);
  397. }
  398. _handleIonChange(el) {
  399. this.handleChangeEvent(el, el.value);
  400. }
  401. registerOnChange(fn) {
  402. super.registerOnChange(value => {
  403. fn(value === '' ? null : parseFloat(value));
  404. });
  405. }
  406. }
  407. /** @nocollapse */
  408. NumericValueAccessorDirective.ɵfac = function NumericValueAccessorDirective_Factory(t) {
  409. return new (t || NumericValueAccessorDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.Injector), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef));
  410. };
  411. /** @nocollapse */
  412. NumericValueAccessorDirective.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineDirective"]({
  413. type: NumericValueAccessorDirective,
  414. selectors: [["ion-input", "type", "number"]],
  415. hostBindings: function NumericValueAccessorDirective_HostBindings(rf, ctx) {
  416. if (rf & 1) {
  417. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("ionChange", function NumericValueAccessorDirective_ionChange_HostBindingHandler($event) {
  418. return ctx._handleIonChange($event.target);
  419. });
  420. }
  421. },
  422. features: [_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵProvidersFeature"]([{
  423. provide: _angular_forms__WEBPACK_IMPORTED_MODULE_3__.NG_VALUE_ACCESSOR,
  424. useExisting: NumericValueAccessorDirective,
  425. multi: true
  426. }]), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵInheritDefinitionFeature"]]
  427. });
  428. (function () {
  429. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](NumericValueAccessorDirective, [{
  430. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Directive,
  431. args: [{
  432. selector: 'ion-input[type=number]',
  433. providers: [{
  434. provide: _angular_forms__WEBPACK_IMPORTED_MODULE_3__.NG_VALUE_ACCESSOR,
  435. useExisting: NumericValueAccessorDirective,
  436. multi: true
  437. }]
  438. }]
  439. }], function () {
  440. return [{
  441. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injector
  442. }, {
  443. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  444. }];
  445. }, {
  446. _handleIonChange: [{
  447. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.HostListener,
  448. args: ['ionChange', ['$event.target']]
  449. }]
  450. });
  451. })();
  452. class RadioValueAccessorDirective extends ValueAccessor {
  453. constructor(injector, el) {
  454. super(injector, el);
  455. }
  456. _handleIonSelect(el) {
  457. this.handleChangeEvent(el, el.checked);
  458. }
  459. }
  460. /** @nocollapse */
  461. RadioValueAccessorDirective.ɵfac = function RadioValueAccessorDirective_Factory(t) {
  462. return new (t || RadioValueAccessorDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.Injector), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef));
  463. };
  464. /** @nocollapse */
  465. RadioValueAccessorDirective.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineDirective"]({
  466. type: RadioValueAccessorDirective,
  467. selectors: [["ion-radio"]],
  468. hostBindings: function RadioValueAccessorDirective_HostBindings(rf, ctx) {
  469. if (rf & 1) {
  470. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("ionSelect", function RadioValueAccessorDirective_ionSelect_HostBindingHandler($event) {
  471. return ctx._handleIonSelect($event.target);
  472. });
  473. }
  474. },
  475. features: [_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵProvidersFeature"]([{
  476. provide: _angular_forms__WEBPACK_IMPORTED_MODULE_3__.NG_VALUE_ACCESSOR,
  477. useExisting: RadioValueAccessorDirective,
  478. multi: true
  479. }]), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵInheritDefinitionFeature"]]
  480. });
  481. (function () {
  482. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](RadioValueAccessorDirective, [{
  483. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Directive,
  484. args: [{
  485. /* tslint:disable-next-line:directive-selector */
  486. selector: 'ion-radio',
  487. providers: [{
  488. provide: _angular_forms__WEBPACK_IMPORTED_MODULE_3__.NG_VALUE_ACCESSOR,
  489. useExisting: RadioValueAccessorDirective,
  490. multi: true
  491. }]
  492. }]
  493. }], function () {
  494. return [{
  495. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injector
  496. }, {
  497. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  498. }];
  499. }, {
  500. _handleIonSelect: [{
  501. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.HostListener,
  502. args: ['ionSelect', ['$event.target']]
  503. }]
  504. });
  505. })();
  506. class SelectValueAccessorDirective extends ValueAccessor {
  507. constructor(injector, el) {
  508. super(injector, el);
  509. }
  510. _handleChangeEvent(el) {
  511. this.handleChangeEvent(el, el.value);
  512. }
  513. }
  514. /** @nocollapse */
  515. SelectValueAccessorDirective.ɵfac = function SelectValueAccessorDirective_Factory(t) {
  516. return new (t || SelectValueAccessorDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.Injector), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef));
  517. };
  518. /** @nocollapse */
  519. SelectValueAccessorDirective.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineDirective"]({
  520. type: SelectValueAccessorDirective,
  521. selectors: [["ion-range"], ["ion-select"], ["ion-radio-group"], ["ion-segment"], ["ion-datetime"]],
  522. hostBindings: function SelectValueAccessorDirective_HostBindings(rf, ctx) {
  523. if (rf & 1) {
  524. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("ionChange", function SelectValueAccessorDirective_ionChange_HostBindingHandler($event) {
  525. return ctx._handleChangeEvent($event.target);
  526. });
  527. }
  528. },
  529. features: [_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵProvidersFeature"]([{
  530. provide: _angular_forms__WEBPACK_IMPORTED_MODULE_3__.NG_VALUE_ACCESSOR,
  531. useExisting: SelectValueAccessorDirective,
  532. multi: true
  533. }]), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵInheritDefinitionFeature"]]
  534. });
  535. (function () {
  536. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](SelectValueAccessorDirective, [{
  537. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Directive,
  538. args: [{
  539. /* tslint:disable-next-line:directive-selector */
  540. selector: 'ion-range, ion-select, ion-radio-group, ion-segment, ion-datetime',
  541. providers: [{
  542. provide: _angular_forms__WEBPACK_IMPORTED_MODULE_3__.NG_VALUE_ACCESSOR,
  543. useExisting: SelectValueAccessorDirective,
  544. multi: true
  545. }]
  546. }]
  547. }], function () {
  548. return [{
  549. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injector
  550. }, {
  551. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  552. }];
  553. }, {
  554. _handleChangeEvent: [{
  555. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.HostListener,
  556. args: ['ionChange', ['$event.target']]
  557. }]
  558. });
  559. })();
  560. class TextValueAccessorDirective extends ValueAccessor {
  561. constructor(injector, el) {
  562. super(injector, el);
  563. }
  564. _handleInputEvent(el) {
  565. this.handleChangeEvent(el, el.value);
  566. }
  567. }
  568. /** @nocollapse */
  569. TextValueAccessorDirective.ɵfac = function TextValueAccessorDirective_Factory(t) {
  570. return new (t || TextValueAccessorDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.Injector), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef));
  571. };
  572. /** @nocollapse */
  573. TextValueAccessorDirective.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineDirective"]({
  574. type: TextValueAccessorDirective,
  575. selectors: [["ion-input", 3, "type", "number"], ["ion-textarea"], ["ion-searchbar"]],
  576. hostBindings: function TextValueAccessorDirective_HostBindings(rf, ctx) {
  577. if (rf & 1) {
  578. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("ionChange", function TextValueAccessorDirective_ionChange_HostBindingHandler($event) {
  579. return ctx._handleInputEvent($event.target);
  580. });
  581. }
  582. },
  583. features: [_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵProvidersFeature"]([{
  584. provide: _angular_forms__WEBPACK_IMPORTED_MODULE_3__.NG_VALUE_ACCESSOR,
  585. useExisting: TextValueAccessorDirective,
  586. multi: true
  587. }]), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵInheritDefinitionFeature"]]
  588. });
  589. (function () {
  590. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](TextValueAccessorDirective, [{
  591. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Directive,
  592. args: [{
  593. /* tslint:disable-next-line:directive-selector */
  594. selector: 'ion-input:not([type=number]),ion-textarea,ion-searchbar',
  595. providers: [{
  596. provide: _angular_forms__WEBPACK_IMPORTED_MODULE_3__.NG_VALUE_ACCESSOR,
  597. useExisting: TextValueAccessorDirective,
  598. multi: true
  599. }]
  600. }]
  601. }], function () {
  602. return [{
  603. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injector
  604. }, {
  605. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  606. }];
  607. }, {
  608. _handleInputEvent: [{
  609. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.HostListener,
  610. args: ['ionChange', ['$event.target']]
  611. }]
  612. });
  613. })();
  614. /* eslint-disable */
  615. const proxyInputs = (Cmp, inputs) => {
  616. const Prototype = Cmp.prototype;
  617. inputs.forEach(item => {
  618. Object.defineProperty(Prototype, item, {
  619. get() {
  620. return this.el[item];
  621. },
  622. set(val) {
  623. this.z.runOutsideAngular(() => this.el[item] = val);
  624. }
  625. });
  626. });
  627. };
  628. const proxyMethods = (Cmp, methods) => {
  629. const Prototype = Cmp.prototype;
  630. methods.forEach(methodName => {
  631. Prototype[methodName] = function () {
  632. const args = arguments;
  633. return this.z.runOutsideAngular(() => this.el[methodName].apply(this.el, args));
  634. };
  635. });
  636. };
  637. const proxyOutputs = (instance, el, events) => {
  638. events.forEach(eventName => instance[eventName] = (0,rxjs__WEBPACK_IMPORTED_MODULE_4__.fromEvent)(el, eventName));
  639. };
  640. const defineCustomElement = (tagName, customElement) => {
  641. if (customElement !== undefined && typeof customElements !== 'undefined' && !customElements.get(tagName)) {
  642. customElements.define(tagName, customElement);
  643. }
  644. }; // tslint:disable-next-line: only-arrow-functions
  645. function ProxyCmp(opts) {
  646. const decorator = function (cls) {
  647. const {
  648. defineCustomElementFn,
  649. inputs,
  650. methods
  651. } = opts;
  652. if (defineCustomElementFn !== undefined) {
  653. defineCustomElementFn();
  654. }
  655. if (inputs) {
  656. proxyInputs(cls, inputs);
  657. }
  658. if (methods) {
  659. proxyMethods(cls, methods);
  660. }
  661. return cls;
  662. };
  663. return decorator;
  664. }
  665. let IonAccordion = class IonAccordion {
  666. constructor(c, r, z) {
  667. this.z = z;
  668. c.detach();
  669. this.el = r.nativeElement;
  670. }
  671. };
  672. /** @nocollapse */
  673. IonAccordion.ɵfac = function IonAccordion_Factory(t) {
  674. return new (t || IonAccordion)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  675. };
  676. /** @nocollapse */
  677. IonAccordion.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  678. type: IonAccordion,
  679. selectors: [["ion-accordion"]],
  680. inputs: {
  681. disabled: "disabled",
  682. mode: "mode",
  683. readonly: "readonly",
  684. toggleIcon: "toggleIcon",
  685. toggleIconSlot: "toggleIconSlot",
  686. value: "value"
  687. },
  688. ngContentSelectors: _c0,
  689. decls: 1,
  690. vars: 0,
  691. template: function IonAccordion_Template(rf, ctx) {
  692. if (rf & 1) {
  693. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  694. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  695. }
  696. },
  697. encapsulation: 2,
  698. changeDetection: 0
  699. });
  700. IonAccordion = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  701. defineCustomElementFn: undefined,
  702. inputs: ['disabled', 'mode', 'readonly', 'toggleIcon', 'toggleIconSlot', 'value']
  703. })], IonAccordion);
  704. (function () {
  705. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonAccordion, [{
  706. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  707. args: [{
  708. selector: 'ion-accordion',
  709. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  710. template: '<ng-content></ng-content>',
  711. inputs: ['disabled', 'mode', 'readonly', 'toggleIcon', 'toggleIconSlot', 'value']
  712. }]
  713. }], function () {
  714. return [{
  715. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  716. }, {
  717. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  718. }, {
  719. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  720. }];
  721. }, null);
  722. })();
  723. let IonAccordionGroup = class IonAccordionGroup {
  724. constructor(c, r, z) {
  725. this.z = z;
  726. c.detach();
  727. this.el = r.nativeElement;
  728. proxyOutputs(this, this.el, ['ionChange']);
  729. }
  730. };
  731. /** @nocollapse */
  732. IonAccordionGroup.ɵfac = function IonAccordionGroup_Factory(t) {
  733. return new (t || IonAccordionGroup)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  734. };
  735. /** @nocollapse */
  736. IonAccordionGroup.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  737. type: IonAccordionGroup,
  738. selectors: [["ion-accordion-group"]],
  739. inputs: {
  740. animated: "animated",
  741. disabled: "disabled",
  742. expand: "expand",
  743. mode: "mode",
  744. multiple: "multiple",
  745. readonly: "readonly",
  746. value: "value"
  747. },
  748. ngContentSelectors: _c0,
  749. decls: 1,
  750. vars: 0,
  751. template: function IonAccordionGroup_Template(rf, ctx) {
  752. if (rf & 1) {
  753. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  754. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  755. }
  756. },
  757. encapsulation: 2,
  758. changeDetection: 0
  759. });
  760. IonAccordionGroup = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  761. defineCustomElementFn: undefined,
  762. inputs: ['animated', 'disabled', 'expand', 'mode', 'multiple', 'readonly', 'value']
  763. })], IonAccordionGroup);
  764. (function () {
  765. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonAccordionGroup, [{
  766. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  767. args: [{
  768. selector: 'ion-accordion-group',
  769. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  770. template: '<ng-content></ng-content>',
  771. inputs: ['animated', 'disabled', 'expand', 'mode', 'multiple', 'readonly', 'value']
  772. }]
  773. }], function () {
  774. return [{
  775. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  776. }, {
  777. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  778. }, {
  779. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  780. }];
  781. }, null);
  782. })();
  783. let IonApp = class IonApp {
  784. constructor(c, r, z) {
  785. this.z = z;
  786. c.detach();
  787. this.el = r.nativeElement;
  788. }
  789. };
  790. /** @nocollapse */
  791. IonApp.ɵfac = function IonApp_Factory(t) {
  792. return new (t || IonApp)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  793. };
  794. /** @nocollapse */
  795. IonApp.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  796. type: IonApp,
  797. selectors: [["ion-app"]],
  798. ngContentSelectors: _c0,
  799. decls: 1,
  800. vars: 0,
  801. template: function IonApp_Template(rf, ctx) {
  802. if (rf & 1) {
  803. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  804. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  805. }
  806. },
  807. encapsulation: 2,
  808. changeDetection: 0
  809. });
  810. IonApp = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  811. defineCustomElementFn: undefined
  812. })], IonApp);
  813. (function () {
  814. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonApp, [{
  815. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  816. args: [{
  817. selector: 'ion-app',
  818. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  819. template: '<ng-content></ng-content>'
  820. }]
  821. }], function () {
  822. return [{
  823. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  824. }, {
  825. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  826. }, {
  827. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  828. }];
  829. }, null);
  830. })();
  831. let IonAvatar = class IonAvatar {
  832. constructor(c, r, z) {
  833. this.z = z;
  834. c.detach();
  835. this.el = r.nativeElement;
  836. }
  837. };
  838. /** @nocollapse */
  839. IonAvatar.ɵfac = function IonAvatar_Factory(t) {
  840. return new (t || IonAvatar)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  841. };
  842. /** @nocollapse */
  843. IonAvatar.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  844. type: IonAvatar,
  845. selectors: [["ion-avatar"]],
  846. ngContentSelectors: _c0,
  847. decls: 1,
  848. vars: 0,
  849. template: function IonAvatar_Template(rf, ctx) {
  850. if (rf & 1) {
  851. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  852. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  853. }
  854. },
  855. encapsulation: 2,
  856. changeDetection: 0
  857. });
  858. IonAvatar = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  859. defineCustomElementFn: undefined
  860. })], IonAvatar);
  861. (function () {
  862. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonAvatar, [{
  863. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  864. args: [{
  865. selector: 'ion-avatar',
  866. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  867. template: '<ng-content></ng-content>'
  868. }]
  869. }], function () {
  870. return [{
  871. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  872. }, {
  873. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  874. }, {
  875. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  876. }];
  877. }, null);
  878. })();
  879. let IonBackButton = class IonBackButton {
  880. constructor(c, r, z) {
  881. this.z = z;
  882. c.detach();
  883. this.el = r.nativeElement;
  884. }
  885. };
  886. /** @nocollapse */
  887. IonBackButton.ɵfac = function IonBackButton_Factory(t) {
  888. return new (t || IonBackButton)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  889. };
  890. /** @nocollapse */
  891. IonBackButton.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  892. type: IonBackButton,
  893. selectors: [["ion-back-button"]],
  894. inputs: {
  895. color: "color",
  896. defaultHref: "defaultHref",
  897. disabled: "disabled",
  898. icon: "icon",
  899. mode: "mode",
  900. routerAnimation: "routerAnimation",
  901. text: "text",
  902. type: "type"
  903. },
  904. ngContentSelectors: _c0,
  905. decls: 1,
  906. vars: 0,
  907. template: function IonBackButton_Template(rf, ctx) {
  908. if (rf & 1) {
  909. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  910. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  911. }
  912. },
  913. encapsulation: 2,
  914. changeDetection: 0
  915. });
  916. IonBackButton = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  917. defineCustomElementFn: undefined,
  918. inputs: ['color', 'defaultHref', 'disabled', 'icon', 'mode', 'routerAnimation', 'text', 'type']
  919. })], IonBackButton);
  920. (function () {
  921. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonBackButton, [{
  922. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  923. args: [{
  924. selector: 'ion-back-button',
  925. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  926. template: '<ng-content></ng-content>',
  927. inputs: ['color', 'defaultHref', 'disabled', 'icon', 'mode', 'routerAnimation', 'text', 'type']
  928. }]
  929. }], function () {
  930. return [{
  931. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  932. }, {
  933. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  934. }, {
  935. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  936. }];
  937. }, null);
  938. })();
  939. let IonBackdrop = class IonBackdrop {
  940. constructor(c, r, z) {
  941. this.z = z;
  942. c.detach();
  943. this.el = r.nativeElement;
  944. proxyOutputs(this, this.el, ['ionBackdropTap']);
  945. }
  946. };
  947. /** @nocollapse */
  948. IonBackdrop.ɵfac = function IonBackdrop_Factory(t) {
  949. return new (t || IonBackdrop)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  950. };
  951. /** @nocollapse */
  952. IonBackdrop.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  953. type: IonBackdrop,
  954. selectors: [["ion-backdrop"]],
  955. inputs: {
  956. stopPropagation: "stopPropagation",
  957. tappable: "tappable",
  958. visible: "visible"
  959. },
  960. ngContentSelectors: _c0,
  961. decls: 1,
  962. vars: 0,
  963. template: function IonBackdrop_Template(rf, ctx) {
  964. if (rf & 1) {
  965. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  966. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  967. }
  968. },
  969. encapsulation: 2,
  970. changeDetection: 0
  971. });
  972. IonBackdrop = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  973. defineCustomElementFn: undefined,
  974. inputs: ['stopPropagation', 'tappable', 'visible']
  975. })], IonBackdrop);
  976. (function () {
  977. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonBackdrop, [{
  978. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  979. args: [{
  980. selector: 'ion-backdrop',
  981. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  982. template: '<ng-content></ng-content>',
  983. inputs: ['stopPropagation', 'tappable', 'visible']
  984. }]
  985. }], function () {
  986. return [{
  987. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  988. }, {
  989. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  990. }, {
  991. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  992. }];
  993. }, null);
  994. })();
  995. let IonBadge = class IonBadge {
  996. constructor(c, r, z) {
  997. this.z = z;
  998. c.detach();
  999. this.el = r.nativeElement;
  1000. }
  1001. };
  1002. /** @nocollapse */
  1003. IonBadge.ɵfac = function IonBadge_Factory(t) {
  1004. return new (t || IonBadge)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  1005. };
  1006. /** @nocollapse */
  1007. IonBadge.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  1008. type: IonBadge,
  1009. selectors: [["ion-badge"]],
  1010. inputs: {
  1011. color: "color",
  1012. mode: "mode"
  1013. },
  1014. ngContentSelectors: _c0,
  1015. decls: 1,
  1016. vars: 0,
  1017. template: function IonBadge_Template(rf, ctx) {
  1018. if (rf & 1) {
  1019. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  1020. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  1021. }
  1022. },
  1023. encapsulation: 2,
  1024. changeDetection: 0
  1025. });
  1026. IonBadge = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  1027. defineCustomElementFn: undefined,
  1028. inputs: ['color', 'mode']
  1029. })], IonBadge);
  1030. (function () {
  1031. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonBadge, [{
  1032. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  1033. args: [{
  1034. selector: 'ion-badge',
  1035. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  1036. template: '<ng-content></ng-content>',
  1037. inputs: ['color', 'mode']
  1038. }]
  1039. }], function () {
  1040. return [{
  1041. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  1042. }, {
  1043. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  1044. }, {
  1045. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  1046. }];
  1047. }, null);
  1048. })();
  1049. let IonBreadcrumb = class IonBreadcrumb {
  1050. constructor(c, r, z) {
  1051. this.z = z;
  1052. c.detach();
  1053. this.el = r.nativeElement;
  1054. proxyOutputs(this, this.el, ['ionFocus', 'ionBlur']);
  1055. }
  1056. };
  1057. /** @nocollapse */
  1058. IonBreadcrumb.ɵfac = function IonBreadcrumb_Factory(t) {
  1059. return new (t || IonBreadcrumb)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  1060. };
  1061. /** @nocollapse */
  1062. IonBreadcrumb.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  1063. type: IonBreadcrumb,
  1064. selectors: [["ion-breadcrumb"]],
  1065. inputs: {
  1066. active: "active",
  1067. color: "color",
  1068. disabled: "disabled",
  1069. download: "download",
  1070. href: "href",
  1071. mode: "mode",
  1072. rel: "rel",
  1073. routerAnimation: "routerAnimation",
  1074. routerDirection: "routerDirection",
  1075. separator: "separator",
  1076. target: "target"
  1077. },
  1078. ngContentSelectors: _c0,
  1079. decls: 1,
  1080. vars: 0,
  1081. template: function IonBreadcrumb_Template(rf, ctx) {
  1082. if (rf & 1) {
  1083. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  1084. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  1085. }
  1086. },
  1087. encapsulation: 2,
  1088. changeDetection: 0
  1089. });
  1090. IonBreadcrumb = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  1091. defineCustomElementFn: undefined,
  1092. inputs: ['active', 'color', 'disabled', 'download', 'href', 'mode', 'rel', 'routerAnimation', 'routerDirection', 'separator', 'target']
  1093. })], IonBreadcrumb);
  1094. (function () {
  1095. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonBreadcrumb, [{
  1096. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  1097. args: [{
  1098. selector: 'ion-breadcrumb',
  1099. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  1100. template: '<ng-content></ng-content>',
  1101. inputs: ['active', 'color', 'disabled', 'download', 'href', 'mode', 'rel', 'routerAnimation', 'routerDirection', 'separator', 'target']
  1102. }]
  1103. }], function () {
  1104. return [{
  1105. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  1106. }, {
  1107. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  1108. }, {
  1109. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  1110. }];
  1111. }, null);
  1112. })();
  1113. let IonBreadcrumbs = class IonBreadcrumbs {
  1114. constructor(c, r, z) {
  1115. this.z = z;
  1116. c.detach();
  1117. this.el = r.nativeElement;
  1118. proxyOutputs(this, this.el, ['ionCollapsedClick']);
  1119. }
  1120. };
  1121. /** @nocollapse */
  1122. IonBreadcrumbs.ɵfac = function IonBreadcrumbs_Factory(t) {
  1123. return new (t || IonBreadcrumbs)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  1124. };
  1125. /** @nocollapse */
  1126. IonBreadcrumbs.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  1127. type: IonBreadcrumbs,
  1128. selectors: [["ion-breadcrumbs"]],
  1129. inputs: {
  1130. color: "color",
  1131. itemsAfterCollapse: "itemsAfterCollapse",
  1132. itemsBeforeCollapse: "itemsBeforeCollapse",
  1133. maxItems: "maxItems",
  1134. mode: "mode"
  1135. },
  1136. ngContentSelectors: _c0,
  1137. decls: 1,
  1138. vars: 0,
  1139. template: function IonBreadcrumbs_Template(rf, ctx) {
  1140. if (rf & 1) {
  1141. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  1142. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  1143. }
  1144. },
  1145. encapsulation: 2,
  1146. changeDetection: 0
  1147. });
  1148. IonBreadcrumbs = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  1149. defineCustomElementFn: undefined,
  1150. inputs: ['color', 'itemsAfterCollapse', 'itemsBeforeCollapse', 'maxItems', 'mode']
  1151. })], IonBreadcrumbs);
  1152. (function () {
  1153. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonBreadcrumbs, [{
  1154. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  1155. args: [{
  1156. selector: 'ion-breadcrumbs',
  1157. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  1158. template: '<ng-content></ng-content>',
  1159. inputs: ['color', 'itemsAfterCollapse', 'itemsBeforeCollapse', 'maxItems', 'mode']
  1160. }]
  1161. }], function () {
  1162. return [{
  1163. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  1164. }, {
  1165. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  1166. }, {
  1167. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  1168. }];
  1169. }, null);
  1170. })();
  1171. let IonButton = class IonButton {
  1172. constructor(c, r, z) {
  1173. this.z = z;
  1174. c.detach();
  1175. this.el = r.nativeElement;
  1176. proxyOutputs(this, this.el, ['ionFocus', 'ionBlur']);
  1177. }
  1178. };
  1179. /** @nocollapse */
  1180. IonButton.ɵfac = function IonButton_Factory(t) {
  1181. return new (t || IonButton)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  1182. };
  1183. /** @nocollapse */
  1184. IonButton.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  1185. type: IonButton,
  1186. selectors: [["ion-button"]],
  1187. inputs: {
  1188. buttonType: "buttonType",
  1189. color: "color",
  1190. disabled: "disabled",
  1191. download: "download",
  1192. expand: "expand",
  1193. fill: "fill",
  1194. form: "form",
  1195. href: "href",
  1196. mode: "mode",
  1197. rel: "rel",
  1198. routerAnimation: "routerAnimation",
  1199. routerDirection: "routerDirection",
  1200. shape: "shape",
  1201. size: "size",
  1202. strong: "strong",
  1203. target: "target",
  1204. type: "type"
  1205. },
  1206. ngContentSelectors: _c0,
  1207. decls: 1,
  1208. vars: 0,
  1209. template: function IonButton_Template(rf, ctx) {
  1210. if (rf & 1) {
  1211. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  1212. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  1213. }
  1214. },
  1215. encapsulation: 2,
  1216. changeDetection: 0
  1217. });
  1218. IonButton = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  1219. defineCustomElementFn: undefined,
  1220. inputs: ['buttonType', 'color', 'disabled', 'download', 'expand', 'fill', 'form', 'href', 'mode', 'rel', 'routerAnimation', 'routerDirection', 'shape', 'size', 'strong', 'target', 'type']
  1221. })], IonButton);
  1222. (function () {
  1223. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonButton, [{
  1224. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  1225. args: [{
  1226. selector: 'ion-button',
  1227. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  1228. template: '<ng-content></ng-content>',
  1229. inputs: ['buttonType', 'color', 'disabled', 'download', 'expand', 'fill', 'form', 'href', 'mode', 'rel', 'routerAnimation', 'routerDirection', 'shape', 'size', 'strong', 'target', 'type']
  1230. }]
  1231. }], function () {
  1232. return [{
  1233. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  1234. }, {
  1235. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  1236. }, {
  1237. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  1238. }];
  1239. }, null);
  1240. })();
  1241. let IonButtons = class IonButtons {
  1242. constructor(c, r, z) {
  1243. this.z = z;
  1244. c.detach();
  1245. this.el = r.nativeElement;
  1246. }
  1247. };
  1248. /** @nocollapse */
  1249. IonButtons.ɵfac = function IonButtons_Factory(t) {
  1250. return new (t || IonButtons)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  1251. };
  1252. /** @nocollapse */
  1253. IonButtons.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  1254. type: IonButtons,
  1255. selectors: [["ion-buttons"]],
  1256. inputs: {
  1257. collapse: "collapse"
  1258. },
  1259. ngContentSelectors: _c0,
  1260. decls: 1,
  1261. vars: 0,
  1262. template: function IonButtons_Template(rf, ctx) {
  1263. if (rf & 1) {
  1264. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  1265. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  1266. }
  1267. },
  1268. encapsulation: 2,
  1269. changeDetection: 0
  1270. });
  1271. IonButtons = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  1272. defineCustomElementFn: undefined,
  1273. inputs: ['collapse']
  1274. })], IonButtons);
  1275. (function () {
  1276. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonButtons, [{
  1277. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  1278. args: [{
  1279. selector: 'ion-buttons',
  1280. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  1281. template: '<ng-content></ng-content>',
  1282. inputs: ['collapse']
  1283. }]
  1284. }], function () {
  1285. return [{
  1286. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  1287. }, {
  1288. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  1289. }, {
  1290. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  1291. }];
  1292. }, null);
  1293. })();
  1294. let IonCard = class IonCard {
  1295. constructor(c, r, z) {
  1296. this.z = z;
  1297. c.detach();
  1298. this.el = r.nativeElement;
  1299. }
  1300. };
  1301. /** @nocollapse */
  1302. IonCard.ɵfac = function IonCard_Factory(t) {
  1303. return new (t || IonCard)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  1304. };
  1305. /** @nocollapse */
  1306. IonCard.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  1307. type: IonCard,
  1308. selectors: [["ion-card"]],
  1309. inputs: {
  1310. button: "button",
  1311. color: "color",
  1312. disabled: "disabled",
  1313. download: "download",
  1314. href: "href",
  1315. mode: "mode",
  1316. rel: "rel",
  1317. routerAnimation: "routerAnimation",
  1318. routerDirection: "routerDirection",
  1319. target: "target",
  1320. type: "type"
  1321. },
  1322. ngContentSelectors: _c0,
  1323. decls: 1,
  1324. vars: 0,
  1325. template: function IonCard_Template(rf, ctx) {
  1326. if (rf & 1) {
  1327. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  1328. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  1329. }
  1330. },
  1331. encapsulation: 2,
  1332. changeDetection: 0
  1333. });
  1334. IonCard = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  1335. defineCustomElementFn: undefined,
  1336. inputs: ['button', 'color', 'disabled', 'download', 'href', 'mode', 'rel', 'routerAnimation', 'routerDirection', 'target', 'type']
  1337. })], IonCard);
  1338. (function () {
  1339. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonCard, [{
  1340. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  1341. args: [{
  1342. selector: 'ion-card',
  1343. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  1344. template: '<ng-content></ng-content>',
  1345. inputs: ['button', 'color', 'disabled', 'download', 'href', 'mode', 'rel', 'routerAnimation', 'routerDirection', 'target', 'type']
  1346. }]
  1347. }], function () {
  1348. return [{
  1349. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  1350. }, {
  1351. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  1352. }, {
  1353. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  1354. }];
  1355. }, null);
  1356. })();
  1357. let IonCardContent = class IonCardContent {
  1358. constructor(c, r, z) {
  1359. this.z = z;
  1360. c.detach();
  1361. this.el = r.nativeElement;
  1362. }
  1363. };
  1364. /** @nocollapse */
  1365. IonCardContent.ɵfac = function IonCardContent_Factory(t) {
  1366. return new (t || IonCardContent)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  1367. };
  1368. /** @nocollapse */
  1369. IonCardContent.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  1370. type: IonCardContent,
  1371. selectors: [["ion-card-content"]],
  1372. inputs: {
  1373. mode: "mode"
  1374. },
  1375. ngContentSelectors: _c0,
  1376. decls: 1,
  1377. vars: 0,
  1378. template: function IonCardContent_Template(rf, ctx) {
  1379. if (rf & 1) {
  1380. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  1381. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  1382. }
  1383. },
  1384. encapsulation: 2,
  1385. changeDetection: 0
  1386. });
  1387. IonCardContent = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  1388. defineCustomElementFn: undefined,
  1389. inputs: ['mode']
  1390. })], IonCardContent);
  1391. (function () {
  1392. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonCardContent, [{
  1393. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  1394. args: [{
  1395. selector: 'ion-card-content',
  1396. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  1397. template: '<ng-content></ng-content>',
  1398. inputs: ['mode']
  1399. }]
  1400. }], function () {
  1401. return [{
  1402. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  1403. }, {
  1404. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  1405. }, {
  1406. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  1407. }];
  1408. }, null);
  1409. })();
  1410. let IonCardHeader = class IonCardHeader {
  1411. constructor(c, r, z) {
  1412. this.z = z;
  1413. c.detach();
  1414. this.el = r.nativeElement;
  1415. }
  1416. };
  1417. /** @nocollapse */
  1418. IonCardHeader.ɵfac = function IonCardHeader_Factory(t) {
  1419. return new (t || IonCardHeader)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  1420. };
  1421. /** @nocollapse */
  1422. IonCardHeader.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  1423. type: IonCardHeader,
  1424. selectors: [["ion-card-header"]],
  1425. inputs: {
  1426. color: "color",
  1427. mode: "mode",
  1428. translucent: "translucent"
  1429. },
  1430. ngContentSelectors: _c0,
  1431. decls: 1,
  1432. vars: 0,
  1433. template: function IonCardHeader_Template(rf, ctx) {
  1434. if (rf & 1) {
  1435. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  1436. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  1437. }
  1438. },
  1439. encapsulation: 2,
  1440. changeDetection: 0
  1441. });
  1442. IonCardHeader = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  1443. defineCustomElementFn: undefined,
  1444. inputs: ['color', 'mode', 'translucent']
  1445. })], IonCardHeader);
  1446. (function () {
  1447. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonCardHeader, [{
  1448. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  1449. args: [{
  1450. selector: 'ion-card-header',
  1451. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  1452. template: '<ng-content></ng-content>',
  1453. inputs: ['color', 'mode', 'translucent']
  1454. }]
  1455. }], function () {
  1456. return [{
  1457. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  1458. }, {
  1459. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  1460. }, {
  1461. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  1462. }];
  1463. }, null);
  1464. })();
  1465. let IonCardSubtitle = class IonCardSubtitle {
  1466. constructor(c, r, z) {
  1467. this.z = z;
  1468. c.detach();
  1469. this.el = r.nativeElement;
  1470. }
  1471. };
  1472. /** @nocollapse */
  1473. IonCardSubtitle.ɵfac = function IonCardSubtitle_Factory(t) {
  1474. return new (t || IonCardSubtitle)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  1475. };
  1476. /** @nocollapse */
  1477. IonCardSubtitle.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  1478. type: IonCardSubtitle,
  1479. selectors: [["ion-card-subtitle"]],
  1480. inputs: {
  1481. color: "color",
  1482. mode: "mode"
  1483. },
  1484. ngContentSelectors: _c0,
  1485. decls: 1,
  1486. vars: 0,
  1487. template: function IonCardSubtitle_Template(rf, ctx) {
  1488. if (rf & 1) {
  1489. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  1490. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  1491. }
  1492. },
  1493. encapsulation: 2,
  1494. changeDetection: 0
  1495. });
  1496. IonCardSubtitle = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  1497. defineCustomElementFn: undefined,
  1498. inputs: ['color', 'mode']
  1499. })], IonCardSubtitle);
  1500. (function () {
  1501. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonCardSubtitle, [{
  1502. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  1503. args: [{
  1504. selector: 'ion-card-subtitle',
  1505. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  1506. template: '<ng-content></ng-content>',
  1507. inputs: ['color', 'mode']
  1508. }]
  1509. }], function () {
  1510. return [{
  1511. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  1512. }, {
  1513. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  1514. }, {
  1515. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  1516. }];
  1517. }, null);
  1518. })();
  1519. let IonCardTitle = class IonCardTitle {
  1520. constructor(c, r, z) {
  1521. this.z = z;
  1522. c.detach();
  1523. this.el = r.nativeElement;
  1524. }
  1525. };
  1526. /** @nocollapse */
  1527. IonCardTitle.ɵfac = function IonCardTitle_Factory(t) {
  1528. return new (t || IonCardTitle)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  1529. };
  1530. /** @nocollapse */
  1531. IonCardTitle.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  1532. type: IonCardTitle,
  1533. selectors: [["ion-card-title"]],
  1534. inputs: {
  1535. color: "color",
  1536. mode: "mode"
  1537. },
  1538. ngContentSelectors: _c0,
  1539. decls: 1,
  1540. vars: 0,
  1541. template: function IonCardTitle_Template(rf, ctx) {
  1542. if (rf & 1) {
  1543. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  1544. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  1545. }
  1546. },
  1547. encapsulation: 2,
  1548. changeDetection: 0
  1549. });
  1550. IonCardTitle = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  1551. defineCustomElementFn: undefined,
  1552. inputs: ['color', 'mode']
  1553. })], IonCardTitle);
  1554. (function () {
  1555. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonCardTitle, [{
  1556. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  1557. args: [{
  1558. selector: 'ion-card-title',
  1559. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  1560. template: '<ng-content></ng-content>',
  1561. inputs: ['color', 'mode']
  1562. }]
  1563. }], function () {
  1564. return [{
  1565. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  1566. }, {
  1567. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  1568. }, {
  1569. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  1570. }];
  1571. }, null);
  1572. })();
  1573. let IonCheckbox = class IonCheckbox {
  1574. constructor(c, r, z) {
  1575. this.z = z;
  1576. c.detach();
  1577. this.el = r.nativeElement;
  1578. proxyOutputs(this, this.el, ['ionChange', 'ionFocus', 'ionBlur']);
  1579. }
  1580. };
  1581. /** @nocollapse */
  1582. IonCheckbox.ɵfac = function IonCheckbox_Factory(t) {
  1583. return new (t || IonCheckbox)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  1584. };
  1585. /** @nocollapse */
  1586. IonCheckbox.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  1587. type: IonCheckbox,
  1588. selectors: [["ion-checkbox"]],
  1589. inputs: {
  1590. checked: "checked",
  1591. color: "color",
  1592. disabled: "disabled",
  1593. indeterminate: "indeterminate",
  1594. mode: "mode",
  1595. name: "name",
  1596. value: "value"
  1597. },
  1598. ngContentSelectors: _c0,
  1599. decls: 1,
  1600. vars: 0,
  1601. template: function IonCheckbox_Template(rf, ctx) {
  1602. if (rf & 1) {
  1603. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  1604. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  1605. }
  1606. },
  1607. encapsulation: 2,
  1608. changeDetection: 0
  1609. });
  1610. IonCheckbox = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  1611. defineCustomElementFn: undefined,
  1612. inputs: ['checked', 'color', 'disabled', 'indeterminate', 'mode', 'name', 'value']
  1613. })], IonCheckbox);
  1614. (function () {
  1615. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonCheckbox, [{
  1616. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  1617. args: [{
  1618. selector: 'ion-checkbox',
  1619. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  1620. template: '<ng-content></ng-content>',
  1621. inputs: ['checked', 'color', 'disabled', 'indeterminate', 'mode', 'name', 'value']
  1622. }]
  1623. }], function () {
  1624. return [{
  1625. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  1626. }, {
  1627. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  1628. }, {
  1629. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  1630. }];
  1631. }, null);
  1632. })();
  1633. let IonChip = class IonChip {
  1634. constructor(c, r, z) {
  1635. this.z = z;
  1636. c.detach();
  1637. this.el = r.nativeElement;
  1638. }
  1639. };
  1640. /** @nocollapse */
  1641. IonChip.ɵfac = function IonChip_Factory(t) {
  1642. return new (t || IonChip)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  1643. };
  1644. /** @nocollapse */
  1645. IonChip.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  1646. type: IonChip,
  1647. selectors: [["ion-chip"]],
  1648. inputs: {
  1649. color: "color",
  1650. disabled: "disabled",
  1651. mode: "mode",
  1652. outline: "outline"
  1653. },
  1654. ngContentSelectors: _c0,
  1655. decls: 1,
  1656. vars: 0,
  1657. template: function IonChip_Template(rf, ctx) {
  1658. if (rf & 1) {
  1659. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  1660. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  1661. }
  1662. },
  1663. encapsulation: 2,
  1664. changeDetection: 0
  1665. });
  1666. IonChip = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  1667. defineCustomElementFn: undefined,
  1668. inputs: ['color', 'disabled', 'mode', 'outline']
  1669. })], IonChip);
  1670. (function () {
  1671. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonChip, [{
  1672. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  1673. args: [{
  1674. selector: 'ion-chip',
  1675. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  1676. template: '<ng-content></ng-content>',
  1677. inputs: ['color', 'disabled', 'mode', 'outline']
  1678. }]
  1679. }], function () {
  1680. return [{
  1681. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  1682. }, {
  1683. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  1684. }, {
  1685. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  1686. }];
  1687. }, null);
  1688. })();
  1689. let IonCol = class IonCol {
  1690. constructor(c, r, z) {
  1691. this.z = z;
  1692. c.detach();
  1693. this.el = r.nativeElement;
  1694. }
  1695. };
  1696. /** @nocollapse */
  1697. IonCol.ɵfac = function IonCol_Factory(t) {
  1698. return new (t || IonCol)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  1699. };
  1700. /** @nocollapse */
  1701. IonCol.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  1702. type: IonCol,
  1703. selectors: [["ion-col"]],
  1704. inputs: {
  1705. offset: "offset",
  1706. offsetLg: "offsetLg",
  1707. offsetMd: "offsetMd",
  1708. offsetSm: "offsetSm",
  1709. offsetXl: "offsetXl",
  1710. offsetXs: "offsetXs",
  1711. pull: "pull",
  1712. pullLg: "pullLg",
  1713. pullMd: "pullMd",
  1714. pullSm: "pullSm",
  1715. pullXl: "pullXl",
  1716. pullXs: "pullXs",
  1717. push: "push",
  1718. pushLg: "pushLg",
  1719. pushMd: "pushMd",
  1720. pushSm: "pushSm",
  1721. pushXl: "pushXl",
  1722. pushXs: "pushXs",
  1723. size: "size",
  1724. sizeLg: "sizeLg",
  1725. sizeMd: "sizeMd",
  1726. sizeSm: "sizeSm",
  1727. sizeXl: "sizeXl",
  1728. sizeXs: "sizeXs"
  1729. },
  1730. ngContentSelectors: _c0,
  1731. decls: 1,
  1732. vars: 0,
  1733. template: function IonCol_Template(rf, ctx) {
  1734. if (rf & 1) {
  1735. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  1736. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  1737. }
  1738. },
  1739. encapsulation: 2,
  1740. changeDetection: 0
  1741. });
  1742. IonCol = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  1743. defineCustomElementFn: undefined,
  1744. inputs: ['offset', 'offsetLg', 'offsetMd', 'offsetSm', 'offsetXl', 'offsetXs', 'pull', 'pullLg', 'pullMd', 'pullSm', 'pullXl', 'pullXs', 'push', 'pushLg', 'pushMd', 'pushSm', 'pushXl', 'pushXs', 'size', 'sizeLg', 'sizeMd', 'sizeSm', 'sizeXl', 'sizeXs']
  1745. })], IonCol);
  1746. (function () {
  1747. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonCol, [{
  1748. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  1749. args: [{
  1750. selector: 'ion-col',
  1751. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  1752. template: '<ng-content></ng-content>',
  1753. inputs: ['offset', 'offsetLg', 'offsetMd', 'offsetSm', 'offsetXl', 'offsetXs', 'pull', 'pullLg', 'pullMd', 'pullSm', 'pullXl', 'pullXs', 'push', 'pushLg', 'pushMd', 'pushSm', 'pushXl', 'pushXs', 'size', 'sizeLg', 'sizeMd', 'sizeSm', 'sizeXl', 'sizeXs']
  1754. }]
  1755. }], function () {
  1756. return [{
  1757. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  1758. }, {
  1759. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  1760. }, {
  1761. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  1762. }];
  1763. }, null);
  1764. })();
  1765. let IonContent = class IonContent {
  1766. constructor(c, r, z) {
  1767. this.z = z;
  1768. c.detach();
  1769. this.el = r.nativeElement;
  1770. proxyOutputs(this, this.el, ['ionScrollStart', 'ionScroll', 'ionScrollEnd']);
  1771. }
  1772. };
  1773. /** @nocollapse */
  1774. IonContent.ɵfac = function IonContent_Factory(t) {
  1775. return new (t || IonContent)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  1776. };
  1777. /** @nocollapse */
  1778. IonContent.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  1779. type: IonContent,
  1780. selectors: [["ion-content"]],
  1781. inputs: {
  1782. color: "color",
  1783. forceOverscroll: "forceOverscroll",
  1784. fullscreen: "fullscreen",
  1785. scrollEvents: "scrollEvents",
  1786. scrollX: "scrollX",
  1787. scrollY: "scrollY"
  1788. },
  1789. ngContentSelectors: _c0,
  1790. decls: 1,
  1791. vars: 0,
  1792. template: function IonContent_Template(rf, ctx) {
  1793. if (rf & 1) {
  1794. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  1795. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  1796. }
  1797. },
  1798. encapsulation: 2,
  1799. changeDetection: 0
  1800. });
  1801. IonContent = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  1802. defineCustomElementFn: undefined,
  1803. inputs: ['color', 'forceOverscroll', 'fullscreen', 'scrollEvents', 'scrollX', 'scrollY'],
  1804. methods: ['getScrollElement', 'scrollToTop', 'scrollToBottom', 'scrollByPoint', 'scrollToPoint']
  1805. })], IonContent);
  1806. (function () {
  1807. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonContent, [{
  1808. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  1809. args: [{
  1810. selector: 'ion-content',
  1811. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  1812. template: '<ng-content></ng-content>',
  1813. inputs: ['color', 'forceOverscroll', 'fullscreen', 'scrollEvents', 'scrollX', 'scrollY']
  1814. }]
  1815. }], function () {
  1816. return [{
  1817. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  1818. }, {
  1819. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  1820. }, {
  1821. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  1822. }];
  1823. }, null);
  1824. })();
  1825. let IonDatetime = class IonDatetime {
  1826. constructor(c, r, z) {
  1827. this.z = z;
  1828. c.detach();
  1829. this.el = r.nativeElement;
  1830. proxyOutputs(this, this.el, ['ionCancel', 'ionChange', 'ionFocus', 'ionBlur']);
  1831. }
  1832. };
  1833. /** @nocollapse */
  1834. IonDatetime.ɵfac = function IonDatetime_Factory(t) {
  1835. return new (t || IonDatetime)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  1836. };
  1837. /** @nocollapse */
  1838. IonDatetime.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  1839. type: IonDatetime,
  1840. selectors: [["ion-datetime"]],
  1841. inputs: {
  1842. cancelText: "cancelText",
  1843. clearText: "clearText",
  1844. color: "color",
  1845. dayValues: "dayValues",
  1846. disabled: "disabled",
  1847. doneText: "doneText",
  1848. firstDayOfWeek: "firstDayOfWeek",
  1849. hourCycle: "hourCycle",
  1850. hourValues: "hourValues",
  1851. isDateEnabled: "isDateEnabled",
  1852. locale: "locale",
  1853. max: "max",
  1854. min: "min",
  1855. minuteValues: "minuteValues",
  1856. mode: "mode",
  1857. monthValues: "monthValues",
  1858. multiple: "multiple",
  1859. name: "name",
  1860. preferWheel: "preferWheel",
  1861. presentation: "presentation",
  1862. readonly: "readonly",
  1863. showClearButton: "showClearButton",
  1864. showDefaultButtons: "showDefaultButtons",
  1865. showDefaultTimeLabel: "showDefaultTimeLabel",
  1866. showDefaultTitle: "showDefaultTitle",
  1867. size: "size",
  1868. titleSelectedDatesFormatter: "titleSelectedDatesFormatter",
  1869. value: "value",
  1870. yearValues: "yearValues"
  1871. },
  1872. ngContentSelectors: _c0,
  1873. decls: 1,
  1874. vars: 0,
  1875. template: function IonDatetime_Template(rf, ctx) {
  1876. if (rf & 1) {
  1877. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  1878. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  1879. }
  1880. },
  1881. encapsulation: 2,
  1882. changeDetection: 0
  1883. });
  1884. IonDatetime = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  1885. defineCustomElementFn: undefined,
  1886. inputs: ['cancelText', 'clearText', 'color', 'dayValues', 'disabled', 'doneText', 'firstDayOfWeek', 'hourCycle', 'hourValues', 'isDateEnabled', 'locale', 'max', 'min', 'minuteValues', 'mode', 'monthValues', 'multiple', 'name', 'preferWheel', 'presentation', 'readonly', 'showClearButton', 'showDefaultButtons', 'showDefaultTimeLabel', 'showDefaultTitle', 'size', 'titleSelectedDatesFormatter', 'value', 'yearValues'],
  1887. methods: ['confirm', 'reset', 'cancel']
  1888. })], IonDatetime);
  1889. (function () {
  1890. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonDatetime, [{
  1891. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  1892. args: [{
  1893. selector: 'ion-datetime',
  1894. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  1895. template: '<ng-content></ng-content>',
  1896. inputs: ['cancelText', 'clearText', 'color', 'dayValues', 'disabled', 'doneText', 'firstDayOfWeek', 'hourCycle', 'hourValues', 'isDateEnabled', 'locale', 'max', 'min', 'minuteValues', 'mode', 'monthValues', 'multiple', 'name', 'preferWheel', 'presentation', 'readonly', 'showClearButton', 'showDefaultButtons', 'showDefaultTimeLabel', 'showDefaultTitle', 'size', 'titleSelectedDatesFormatter', 'value', 'yearValues']
  1897. }]
  1898. }], function () {
  1899. return [{
  1900. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  1901. }, {
  1902. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  1903. }, {
  1904. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  1905. }];
  1906. }, null);
  1907. })();
  1908. let IonDatetimeButton = class IonDatetimeButton {
  1909. constructor(c, r, z) {
  1910. this.z = z;
  1911. c.detach();
  1912. this.el = r.nativeElement;
  1913. }
  1914. };
  1915. /** @nocollapse */
  1916. IonDatetimeButton.ɵfac = function IonDatetimeButton_Factory(t) {
  1917. return new (t || IonDatetimeButton)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  1918. };
  1919. /** @nocollapse */
  1920. IonDatetimeButton.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  1921. type: IonDatetimeButton,
  1922. selectors: [["ion-datetime-button"]],
  1923. inputs: {
  1924. color: "color",
  1925. datetime: "datetime",
  1926. disabled: "disabled",
  1927. mode: "mode"
  1928. },
  1929. ngContentSelectors: _c0,
  1930. decls: 1,
  1931. vars: 0,
  1932. template: function IonDatetimeButton_Template(rf, ctx) {
  1933. if (rf & 1) {
  1934. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  1935. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  1936. }
  1937. },
  1938. encapsulation: 2,
  1939. changeDetection: 0
  1940. });
  1941. IonDatetimeButton = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  1942. defineCustomElementFn: undefined,
  1943. inputs: ['color', 'datetime', 'disabled', 'mode']
  1944. })], IonDatetimeButton);
  1945. (function () {
  1946. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonDatetimeButton, [{
  1947. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  1948. args: [{
  1949. selector: 'ion-datetime-button',
  1950. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  1951. template: '<ng-content></ng-content>',
  1952. inputs: ['color', 'datetime', 'disabled', 'mode']
  1953. }]
  1954. }], function () {
  1955. return [{
  1956. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  1957. }, {
  1958. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  1959. }, {
  1960. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  1961. }];
  1962. }, null);
  1963. })();
  1964. let IonFab = class IonFab {
  1965. constructor(c, r, z) {
  1966. this.z = z;
  1967. c.detach();
  1968. this.el = r.nativeElement;
  1969. }
  1970. };
  1971. /** @nocollapse */
  1972. IonFab.ɵfac = function IonFab_Factory(t) {
  1973. return new (t || IonFab)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  1974. };
  1975. /** @nocollapse */
  1976. IonFab.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  1977. type: IonFab,
  1978. selectors: [["ion-fab"]],
  1979. inputs: {
  1980. activated: "activated",
  1981. edge: "edge",
  1982. horizontal: "horizontal",
  1983. vertical: "vertical"
  1984. },
  1985. ngContentSelectors: _c0,
  1986. decls: 1,
  1987. vars: 0,
  1988. template: function IonFab_Template(rf, ctx) {
  1989. if (rf & 1) {
  1990. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  1991. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  1992. }
  1993. },
  1994. encapsulation: 2,
  1995. changeDetection: 0
  1996. });
  1997. IonFab = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  1998. defineCustomElementFn: undefined,
  1999. inputs: ['activated', 'edge', 'horizontal', 'vertical'],
  2000. methods: ['close']
  2001. })], IonFab);
  2002. (function () {
  2003. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonFab, [{
  2004. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  2005. args: [{
  2006. selector: 'ion-fab',
  2007. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  2008. template: '<ng-content></ng-content>',
  2009. inputs: ['activated', 'edge', 'horizontal', 'vertical']
  2010. }]
  2011. }], function () {
  2012. return [{
  2013. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  2014. }, {
  2015. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  2016. }, {
  2017. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  2018. }];
  2019. }, null);
  2020. })();
  2021. let IonFabButton = class IonFabButton {
  2022. constructor(c, r, z) {
  2023. this.z = z;
  2024. c.detach();
  2025. this.el = r.nativeElement;
  2026. proxyOutputs(this, this.el, ['ionFocus', 'ionBlur']);
  2027. }
  2028. };
  2029. /** @nocollapse */
  2030. IonFabButton.ɵfac = function IonFabButton_Factory(t) {
  2031. return new (t || IonFabButton)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  2032. };
  2033. /** @nocollapse */
  2034. IonFabButton.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  2035. type: IonFabButton,
  2036. selectors: [["ion-fab-button"]],
  2037. inputs: {
  2038. activated: "activated",
  2039. closeIcon: "closeIcon",
  2040. color: "color",
  2041. disabled: "disabled",
  2042. download: "download",
  2043. href: "href",
  2044. mode: "mode",
  2045. rel: "rel",
  2046. routerAnimation: "routerAnimation",
  2047. routerDirection: "routerDirection",
  2048. show: "show",
  2049. size: "size",
  2050. target: "target",
  2051. translucent: "translucent",
  2052. type: "type"
  2053. },
  2054. ngContentSelectors: _c0,
  2055. decls: 1,
  2056. vars: 0,
  2057. template: function IonFabButton_Template(rf, ctx) {
  2058. if (rf & 1) {
  2059. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  2060. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  2061. }
  2062. },
  2063. encapsulation: 2,
  2064. changeDetection: 0
  2065. });
  2066. IonFabButton = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  2067. defineCustomElementFn: undefined,
  2068. inputs: ['activated', 'closeIcon', 'color', 'disabled', 'download', 'href', 'mode', 'rel', 'routerAnimation', 'routerDirection', 'show', 'size', 'target', 'translucent', 'type']
  2069. })], IonFabButton);
  2070. (function () {
  2071. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonFabButton, [{
  2072. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  2073. args: [{
  2074. selector: 'ion-fab-button',
  2075. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  2076. template: '<ng-content></ng-content>',
  2077. inputs: ['activated', 'closeIcon', 'color', 'disabled', 'download', 'href', 'mode', 'rel', 'routerAnimation', 'routerDirection', 'show', 'size', 'target', 'translucent', 'type']
  2078. }]
  2079. }], function () {
  2080. return [{
  2081. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  2082. }, {
  2083. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  2084. }, {
  2085. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  2086. }];
  2087. }, null);
  2088. })();
  2089. let IonFabList = class IonFabList {
  2090. constructor(c, r, z) {
  2091. this.z = z;
  2092. c.detach();
  2093. this.el = r.nativeElement;
  2094. }
  2095. };
  2096. /** @nocollapse */
  2097. IonFabList.ɵfac = function IonFabList_Factory(t) {
  2098. return new (t || IonFabList)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  2099. };
  2100. /** @nocollapse */
  2101. IonFabList.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  2102. type: IonFabList,
  2103. selectors: [["ion-fab-list"]],
  2104. inputs: {
  2105. activated: "activated",
  2106. side: "side"
  2107. },
  2108. ngContentSelectors: _c0,
  2109. decls: 1,
  2110. vars: 0,
  2111. template: function IonFabList_Template(rf, ctx) {
  2112. if (rf & 1) {
  2113. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  2114. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  2115. }
  2116. },
  2117. encapsulation: 2,
  2118. changeDetection: 0
  2119. });
  2120. IonFabList = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  2121. defineCustomElementFn: undefined,
  2122. inputs: ['activated', 'side']
  2123. })], IonFabList);
  2124. (function () {
  2125. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonFabList, [{
  2126. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  2127. args: [{
  2128. selector: 'ion-fab-list',
  2129. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  2130. template: '<ng-content></ng-content>',
  2131. inputs: ['activated', 'side']
  2132. }]
  2133. }], function () {
  2134. return [{
  2135. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  2136. }, {
  2137. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  2138. }, {
  2139. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  2140. }];
  2141. }, null);
  2142. })();
  2143. let IonFooter = class IonFooter {
  2144. constructor(c, r, z) {
  2145. this.z = z;
  2146. c.detach();
  2147. this.el = r.nativeElement;
  2148. }
  2149. };
  2150. /** @nocollapse */
  2151. IonFooter.ɵfac = function IonFooter_Factory(t) {
  2152. return new (t || IonFooter)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  2153. };
  2154. /** @nocollapse */
  2155. IonFooter.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  2156. type: IonFooter,
  2157. selectors: [["ion-footer"]],
  2158. inputs: {
  2159. collapse: "collapse",
  2160. mode: "mode",
  2161. translucent: "translucent"
  2162. },
  2163. ngContentSelectors: _c0,
  2164. decls: 1,
  2165. vars: 0,
  2166. template: function IonFooter_Template(rf, ctx) {
  2167. if (rf & 1) {
  2168. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  2169. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  2170. }
  2171. },
  2172. encapsulation: 2,
  2173. changeDetection: 0
  2174. });
  2175. IonFooter = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  2176. defineCustomElementFn: undefined,
  2177. inputs: ['collapse', 'mode', 'translucent']
  2178. })], IonFooter);
  2179. (function () {
  2180. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonFooter, [{
  2181. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  2182. args: [{
  2183. selector: 'ion-footer',
  2184. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  2185. template: '<ng-content></ng-content>',
  2186. inputs: ['collapse', 'mode', 'translucent']
  2187. }]
  2188. }], function () {
  2189. return [{
  2190. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  2191. }, {
  2192. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  2193. }, {
  2194. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  2195. }];
  2196. }, null);
  2197. })();
  2198. let IonGrid = class IonGrid {
  2199. constructor(c, r, z) {
  2200. this.z = z;
  2201. c.detach();
  2202. this.el = r.nativeElement;
  2203. }
  2204. };
  2205. /** @nocollapse */
  2206. IonGrid.ɵfac = function IonGrid_Factory(t) {
  2207. return new (t || IonGrid)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  2208. };
  2209. /** @nocollapse */
  2210. IonGrid.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  2211. type: IonGrid,
  2212. selectors: [["ion-grid"]],
  2213. inputs: {
  2214. fixed: "fixed"
  2215. },
  2216. ngContentSelectors: _c0,
  2217. decls: 1,
  2218. vars: 0,
  2219. template: function IonGrid_Template(rf, ctx) {
  2220. if (rf & 1) {
  2221. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  2222. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  2223. }
  2224. },
  2225. encapsulation: 2,
  2226. changeDetection: 0
  2227. });
  2228. IonGrid = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  2229. defineCustomElementFn: undefined,
  2230. inputs: ['fixed']
  2231. })], IonGrid);
  2232. (function () {
  2233. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonGrid, [{
  2234. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  2235. args: [{
  2236. selector: 'ion-grid',
  2237. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  2238. template: '<ng-content></ng-content>',
  2239. inputs: ['fixed']
  2240. }]
  2241. }], function () {
  2242. return [{
  2243. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  2244. }, {
  2245. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  2246. }, {
  2247. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  2248. }];
  2249. }, null);
  2250. })();
  2251. let IonHeader = class IonHeader {
  2252. constructor(c, r, z) {
  2253. this.z = z;
  2254. c.detach();
  2255. this.el = r.nativeElement;
  2256. }
  2257. };
  2258. /** @nocollapse */
  2259. IonHeader.ɵfac = function IonHeader_Factory(t) {
  2260. return new (t || IonHeader)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  2261. };
  2262. /** @nocollapse */
  2263. IonHeader.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  2264. type: IonHeader,
  2265. selectors: [["ion-header"]],
  2266. inputs: {
  2267. collapse: "collapse",
  2268. mode: "mode",
  2269. translucent: "translucent"
  2270. },
  2271. ngContentSelectors: _c0,
  2272. decls: 1,
  2273. vars: 0,
  2274. template: function IonHeader_Template(rf, ctx) {
  2275. if (rf & 1) {
  2276. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  2277. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  2278. }
  2279. },
  2280. encapsulation: 2,
  2281. changeDetection: 0
  2282. });
  2283. IonHeader = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  2284. defineCustomElementFn: undefined,
  2285. inputs: ['collapse', 'mode', 'translucent']
  2286. })], IonHeader);
  2287. (function () {
  2288. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonHeader, [{
  2289. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  2290. args: [{
  2291. selector: 'ion-header',
  2292. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  2293. template: '<ng-content></ng-content>',
  2294. inputs: ['collapse', 'mode', 'translucent']
  2295. }]
  2296. }], function () {
  2297. return [{
  2298. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  2299. }, {
  2300. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  2301. }, {
  2302. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  2303. }];
  2304. }, null);
  2305. })();
  2306. let IonIcon = class IonIcon {
  2307. constructor(c, r, z) {
  2308. this.z = z;
  2309. c.detach();
  2310. this.el = r.nativeElement;
  2311. }
  2312. };
  2313. /** @nocollapse */
  2314. IonIcon.ɵfac = function IonIcon_Factory(t) {
  2315. return new (t || IonIcon)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  2316. };
  2317. /** @nocollapse */
  2318. IonIcon.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  2319. type: IonIcon,
  2320. selectors: [["ion-icon"]],
  2321. inputs: {
  2322. color: "color",
  2323. flipRtl: "flipRtl",
  2324. icon: "icon",
  2325. ios: "ios",
  2326. lazy: "lazy",
  2327. md: "md",
  2328. mode: "mode",
  2329. name: "name",
  2330. sanitize: "sanitize",
  2331. size: "size",
  2332. src: "src"
  2333. },
  2334. ngContentSelectors: _c0,
  2335. decls: 1,
  2336. vars: 0,
  2337. template: function IonIcon_Template(rf, ctx) {
  2338. if (rf & 1) {
  2339. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  2340. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  2341. }
  2342. },
  2343. encapsulation: 2,
  2344. changeDetection: 0
  2345. });
  2346. IonIcon = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  2347. defineCustomElementFn: undefined,
  2348. inputs: ['color', 'flipRtl', 'icon', 'ios', 'lazy', 'md', 'mode', 'name', 'sanitize', 'size', 'src']
  2349. })], IonIcon);
  2350. (function () {
  2351. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonIcon, [{
  2352. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  2353. args: [{
  2354. selector: 'ion-icon',
  2355. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  2356. template: '<ng-content></ng-content>',
  2357. inputs: ['color', 'flipRtl', 'icon', 'ios', 'lazy', 'md', 'mode', 'name', 'sanitize', 'size', 'src']
  2358. }]
  2359. }], function () {
  2360. return [{
  2361. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  2362. }, {
  2363. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  2364. }, {
  2365. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  2366. }];
  2367. }, null);
  2368. })();
  2369. let IonImg = class IonImg {
  2370. constructor(c, r, z) {
  2371. this.z = z;
  2372. c.detach();
  2373. this.el = r.nativeElement;
  2374. proxyOutputs(this, this.el, ['ionImgWillLoad', 'ionImgDidLoad', 'ionError']);
  2375. }
  2376. };
  2377. /** @nocollapse */
  2378. IonImg.ɵfac = function IonImg_Factory(t) {
  2379. return new (t || IonImg)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  2380. };
  2381. /** @nocollapse */
  2382. IonImg.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  2383. type: IonImg,
  2384. selectors: [["ion-img"]],
  2385. inputs: {
  2386. alt: "alt",
  2387. src: "src"
  2388. },
  2389. ngContentSelectors: _c0,
  2390. decls: 1,
  2391. vars: 0,
  2392. template: function IonImg_Template(rf, ctx) {
  2393. if (rf & 1) {
  2394. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  2395. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  2396. }
  2397. },
  2398. encapsulation: 2,
  2399. changeDetection: 0
  2400. });
  2401. IonImg = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  2402. defineCustomElementFn: undefined,
  2403. inputs: ['alt', 'src']
  2404. })], IonImg);
  2405. (function () {
  2406. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonImg, [{
  2407. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  2408. args: [{
  2409. selector: 'ion-img',
  2410. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  2411. template: '<ng-content></ng-content>',
  2412. inputs: ['alt', 'src']
  2413. }]
  2414. }], function () {
  2415. return [{
  2416. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  2417. }, {
  2418. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  2419. }, {
  2420. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  2421. }];
  2422. }, null);
  2423. })();
  2424. let IonInfiniteScroll = class IonInfiniteScroll {
  2425. constructor(c, r, z) {
  2426. this.z = z;
  2427. c.detach();
  2428. this.el = r.nativeElement;
  2429. proxyOutputs(this, this.el, ['ionInfinite']);
  2430. }
  2431. };
  2432. /** @nocollapse */
  2433. IonInfiniteScroll.ɵfac = function IonInfiniteScroll_Factory(t) {
  2434. return new (t || IonInfiniteScroll)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  2435. };
  2436. /** @nocollapse */
  2437. IonInfiniteScroll.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  2438. type: IonInfiniteScroll,
  2439. selectors: [["ion-infinite-scroll"]],
  2440. inputs: {
  2441. disabled: "disabled",
  2442. position: "position",
  2443. threshold: "threshold"
  2444. },
  2445. ngContentSelectors: _c0,
  2446. decls: 1,
  2447. vars: 0,
  2448. template: function IonInfiniteScroll_Template(rf, ctx) {
  2449. if (rf & 1) {
  2450. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  2451. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  2452. }
  2453. },
  2454. encapsulation: 2,
  2455. changeDetection: 0
  2456. });
  2457. IonInfiniteScroll = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  2458. defineCustomElementFn: undefined,
  2459. inputs: ['disabled', 'position', 'threshold'],
  2460. methods: ['complete']
  2461. })], IonInfiniteScroll);
  2462. (function () {
  2463. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonInfiniteScroll, [{
  2464. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  2465. args: [{
  2466. selector: 'ion-infinite-scroll',
  2467. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  2468. template: '<ng-content></ng-content>',
  2469. inputs: ['disabled', 'position', 'threshold']
  2470. }]
  2471. }], function () {
  2472. return [{
  2473. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  2474. }, {
  2475. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  2476. }, {
  2477. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  2478. }];
  2479. }, null);
  2480. })();
  2481. let IonInfiniteScrollContent = class IonInfiniteScrollContent {
  2482. constructor(c, r, z) {
  2483. this.z = z;
  2484. c.detach();
  2485. this.el = r.nativeElement;
  2486. }
  2487. };
  2488. /** @nocollapse */
  2489. IonInfiniteScrollContent.ɵfac = function IonInfiniteScrollContent_Factory(t) {
  2490. return new (t || IonInfiniteScrollContent)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  2491. };
  2492. /** @nocollapse */
  2493. IonInfiniteScrollContent.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  2494. type: IonInfiniteScrollContent,
  2495. selectors: [["ion-infinite-scroll-content"]],
  2496. inputs: {
  2497. loadingSpinner: "loadingSpinner",
  2498. loadingText: "loadingText"
  2499. },
  2500. ngContentSelectors: _c0,
  2501. decls: 1,
  2502. vars: 0,
  2503. template: function IonInfiniteScrollContent_Template(rf, ctx) {
  2504. if (rf & 1) {
  2505. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  2506. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  2507. }
  2508. },
  2509. encapsulation: 2,
  2510. changeDetection: 0
  2511. });
  2512. IonInfiniteScrollContent = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  2513. defineCustomElementFn: undefined,
  2514. inputs: ['loadingSpinner', 'loadingText']
  2515. })], IonInfiniteScrollContent);
  2516. (function () {
  2517. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonInfiniteScrollContent, [{
  2518. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  2519. args: [{
  2520. selector: 'ion-infinite-scroll-content',
  2521. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  2522. template: '<ng-content></ng-content>',
  2523. inputs: ['loadingSpinner', 'loadingText']
  2524. }]
  2525. }], function () {
  2526. return [{
  2527. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  2528. }, {
  2529. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  2530. }, {
  2531. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  2532. }];
  2533. }, null);
  2534. })();
  2535. let IonInput = class IonInput {
  2536. constructor(c, r, z) {
  2537. this.z = z;
  2538. c.detach();
  2539. this.el = r.nativeElement;
  2540. proxyOutputs(this, this.el, ['ionInput', 'ionChange', 'ionBlur', 'ionFocus']);
  2541. }
  2542. };
  2543. /** @nocollapse */
  2544. IonInput.ɵfac = function IonInput_Factory(t) {
  2545. return new (t || IonInput)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  2546. };
  2547. /** @nocollapse */
  2548. IonInput.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  2549. type: IonInput,
  2550. selectors: [["ion-input"]],
  2551. inputs: {
  2552. accept: "accept",
  2553. autocapitalize: "autocapitalize",
  2554. autocomplete: "autocomplete",
  2555. autocorrect: "autocorrect",
  2556. autofocus: "autofocus",
  2557. clearInput: "clearInput",
  2558. clearOnEdit: "clearOnEdit",
  2559. color: "color",
  2560. debounce: "debounce",
  2561. disabled: "disabled",
  2562. enterkeyhint: "enterkeyhint",
  2563. inputmode: "inputmode",
  2564. max: "max",
  2565. maxlength: "maxlength",
  2566. min: "min",
  2567. minlength: "minlength",
  2568. mode: "mode",
  2569. multiple: "multiple",
  2570. name: "name",
  2571. pattern: "pattern",
  2572. placeholder: "placeholder",
  2573. readonly: "readonly",
  2574. required: "required",
  2575. size: "size",
  2576. spellcheck: "spellcheck",
  2577. step: "step",
  2578. type: "type",
  2579. value: "value"
  2580. },
  2581. ngContentSelectors: _c0,
  2582. decls: 1,
  2583. vars: 0,
  2584. template: function IonInput_Template(rf, ctx) {
  2585. if (rf & 1) {
  2586. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  2587. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  2588. }
  2589. },
  2590. encapsulation: 2,
  2591. changeDetection: 0
  2592. });
  2593. IonInput = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  2594. defineCustomElementFn: undefined,
  2595. inputs: ['accept', 'autocapitalize', 'autocomplete', 'autocorrect', 'autofocus', 'clearInput', 'clearOnEdit', 'color', 'debounce', 'disabled', 'enterkeyhint', 'inputmode', 'max', 'maxlength', 'min', 'minlength', 'mode', 'multiple', 'name', 'pattern', 'placeholder', 'readonly', 'required', 'size', 'spellcheck', 'step', 'type', 'value'],
  2596. methods: ['setFocus', 'getInputElement']
  2597. })], IonInput);
  2598. (function () {
  2599. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonInput, [{
  2600. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  2601. args: [{
  2602. selector: 'ion-input',
  2603. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  2604. template: '<ng-content></ng-content>',
  2605. inputs: ['accept', 'autocapitalize', 'autocomplete', 'autocorrect', 'autofocus', 'clearInput', 'clearOnEdit', 'color', 'debounce', 'disabled', 'enterkeyhint', 'inputmode', 'max', 'maxlength', 'min', 'minlength', 'mode', 'multiple', 'name', 'pattern', 'placeholder', 'readonly', 'required', 'size', 'spellcheck', 'step', 'type', 'value']
  2606. }]
  2607. }], function () {
  2608. return [{
  2609. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  2610. }, {
  2611. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  2612. }, {
  2613. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  2614. }];
  2615. }, null);
  2616. })();
  2617. let IonItem = class IonItem {
  2618. constructor(c, r, z) {
  2619. this.z = z;
  2620. c.detach();
  2621. this.el = r.nativeElement;
  2622. }
  2623. };
  2624. /** @nocollapse */
  2625. IonItem.ɵfac = function IonItem_Factory(t) {
  2626. return new (t || IonItem)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  2627. };
  2628. /** @nocollapse */
  2629. IonItem.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  2630. type: IonItem,
  2631. selectors: [["ion-item"]],
  2632. inputs: {
  2633. button: "button",
  2634. color: "color",
  2635. counter: "counter",
  2636. counterFormatter: "counterFormatter",
  2637. detail: "detail",
  2638. detailIcon: "detailIcon",
  2639. disabled: "disabled",
  2640. download: "download",
  2641. fill: "fill",
  2642. href: "href",
  2643. lines: "lines",
  2644. mode: "mode",
  2645. rel: "rel",
  2646. routerAnimation: "routerAnimation",
  2647. routerDirection: "routerDirection",
  2648. shape: "shape",
  2649. target: "target",
  2650. type: "type"
  2651. },
  2652. ngContentSelectors: _c0,
  2653. decls: 1,
  2654. vars: 0,
  2655. template: function IonItem_Template(rf, ctx) {
  2656. if (rf & 1) {
  2657. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  2658. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  2659. }
  2660. },
  2661. encapsulation: 2,
  2662. changeDetection: 0
  2663. });
  2664. IonItem = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  2665. defineCustomElementFn: undefined,
  2666. inputs: ['button', 'color', 'counter', 'counterFormatter', 'detail', 'detailIcon', 'disabled', 'download', 'fill', 'href', 'lines', 'mode', 'rel', 'routerAnimation', 'routerDirection', 'shape', 'target', 'type']
  2667. })], IonItem);
  2668. (function () {
  2669. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonItem, [{
  2670. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  2671. args: [{
  2672. selector: 'ion-item',
  2673. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  2674. template: '<ng-content></ng-content>',
  2675. inputs: ['button', 'color', 'counter', 'counterFormatter', 'detail', 'detailIcon', 'disabled', 'download', 'fill', 'href', 'lines', 'mode', 'rel', 'routerAnimation', 'routerDirection', 'shape', 'target', 'type']
  2676. }]
  2677. }], function () {
  2678. return [{
  2679. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  2680. }, {
  2681. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  2682. }, {
  2683. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  2684. }];
  2685. }, null);
  2686. })();
  2687. let IonItemDivider = class IonItemDivider {
  2688. constructor(c, r, z) {
  2689. this.z = z;
  2690. c.detach();
  2691. this.el = r.nativeElement;
  2692. }
  2693. };
  2694. /** @nocollapse */
  2695. IonItemDivider.ɵfac = function IonItemDivider_Factory(t) {
  2696. return new (t || IonItemDivider)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  2697. };
  2698. /** @nocollapse */
  2699. IonItemDivider.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  2700. type: IonItemDivider,
  2701. selectors: [["ion-item-divider"]],
  2702. inputs: {
  2703. color: "color",
  2704. mode: "mode",
  2705. sticky: "sticky"
  2706. },
  2707. ngContentSelectors: _c0,
  2708. decls: 1,
  2709. vars: 0,
  2710. template: function IonItemDivider_Template(rf, ctx) {
  2711. if (rf & 1) {
  2712. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  2713. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  2714. }
  2715. },
  2716. encapsulation: 2,
  2717. changeDetection: 0
  2718. });
  2719. IonItemDivider = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  2720. defineCustomElementFn: undefined,
  2721. inputs: ['color', 'mode', 'sticky']
  2722. })], IonItemDivider);
  2723. (function () {
  2724. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonItemDivider, [{
  2725. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  2726. args: [{
  2727. selector: 'ion-item-divider',
  2728. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  2729. template: '<ng-content></ng-content>',
  2730. inputs: ['color', 'mode', 'sticky']
  2731. }]
  2732. }], function () {
  2733. return [{
  2734. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  2735. }, {
  2736. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  2737. }, {
  2738. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  2739. }];
  2740. }, null);
  2741. })();
  2742. let IonItemGroup = class IonItemGroup {
  2743. constructor(c, r, z) {
  2744. this.z = z;
  2745. c.detach();
  2746. this.el = r.nativeElement;
  2747. }
  2748. };
  2749. /** @nocollapse */
  2750. IonItemGroup.ɵfac = function IonItemGroup_Factory(t) {
  2751. return new (t || IonItemGroup)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  2752. };
  2753. /** @nocollapse */
  2754. IonItemGroup.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  2755. type: IonItemGroup,
  2756. selectors: [["ion-item-group"]],
  2757. ngContentSelectors: _c0,
  2758. decls: 1,
  2759. vars: 0,
  2760. template: function IonItemGroup_Template(rf, ctx) {
  2761. if (rf & 1) {
  2762. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  2763. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  2764. }
  2765. },
  2766. encapsulation: 2,
  2767. changeDetection: 0
  2768. });
  2769. IonItemGroup = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  2770. defineCustomElementFn: undefined
  2771. })], IonItemGroup);
  2772. (function () {
  2773. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonItemGroup, [{
  2774. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  2775. args: [{
  2776. selector: 'ion-item-group',
  2777. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  2778. template: '<ng-content></ng-content>'
  2779. }]
  2780. }], function () {
  2781. return [{
  2782. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  2783. }, {
  2784. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  2785. }, {
  2786. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  2787. }];
  2788. }, null);
  2789. })();
  2790. let IonItemOption = class IonItemOption {
  2791. constructor(c, r, z) {
  2792. this.z = z;
  2793. c.detach();
  2794. this.el = r.nativeElement;
  2795. }
  2796. };
  2797. /** @nocollapse */
  2798. IonItemOption.ɵfac = function IonItemOption_Factory(t) {
  2799. return new (t || IonItemOption)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  2800. };
  2801. /** @nocollapse */
  2802. IonItemOption.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  2803. type: IonItemOption,
  2804. selectors: [["ion-item-option"]],
  2805. inputs: {
  2806. color: "color",
  2807. disabled: "disabled",
  2808. download: "download",
  2809. expandable: "expandable",
  2810. href: "href",
  2811. mode: "mode",
  2812. rel: "rel",
  2813. target: "target",
  2814. type: "type"
  2815. },
  2816. ngContentSelectors: _c0,
  2817. decls: 1,
  2818. vars: 0,
  2819. template: function IonItemOption_Template(rf, ctx) {
  2820. if (rf & 1) {
  2821. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  2822. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  2823. }
  2824. },
  2825. encapsulation: 2,
  2826. changeDetection: 0
  2827. });
  2828. IonItemOption = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  2829. defineCustomElementFn: undefined,
  2830. inputs: ['color', 'disabled', 'download', 'expandable', 'href', 'mode', 'rel', 'target', 'type']
  2831. })], IonItemOption);
  2832. (function () {
  2833. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonItemOption, [{
  2834. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  2835. args: [{
  2836. selector: 'ion-item-option',
  2837. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  2838. template: '<ng-content></ng-content>',
  2839. inputs: ['color', 'disabled', 'download', 'expandable', 'href', 'mode', 'rel', 'target', 'type']
  2840. }]
  2841. }], function () {
  2842. return [{
  2843. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  2844. }, {
  2845. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  2846. }, {
  2847. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  2848. }];
  2849. }, null);
  2850. })();
  2851. let IonItemOptions = class IonItemOptions {
  2852. constructor(c, r, z) {
  2853. this.z = z;
  2854. c.detach();
  2855. this.el = r.nativeElement;
  2856. proxyOutputs(this, this.el, ['ionSwipe']);
  2857. }
  2858. };
  2859. /** @nocollapse */
  2860. IonItemOptions.ɵfac = function IonItemOptions_Factory(t) {
  2861. return new (t || IonItemOptions)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  2862. };
  2863. /** @nocollapse */
  2864. IonItemOptions.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  2865. type: IonItemOptions,
  2866. selectors: [["ion-item-options"]],
  2867. inputs: {
  2868. side: "side"
  2869. },
  2870. ngContentSelectors: _c0,
  2871. decls: 1,
  2872. vars: 0,
  2873. template: function IonItemOptions_Template(rf, ctx) {
  2874. if (rf & 1) {
  2875. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  2876. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  2877. }
  2878. },
  2879. encapsulation: 2,
  2880. changeDetection: 0
  2881. });
  2882. IonItemOptions = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  2883. defineCustomElementFn: undefined,
  2884. inputs: ['side']
  2885. })], IonItemOptions);
  2886. (function () {
  2887. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonItemOptions, [{
  2888. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  2889. args: [{
  2890. selector: 'ion-item-options',
  2891. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  2892. template: '<ng-content></ng-content>',
  2893. inputs: ['side']
  2894. }]
  2895. }], function () {
  2896. return [{
  2897. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  2898. }, {
  2899. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  2900. }, {
  2901. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  2902. }];
  2903. }, null);
  2904. })();
  2905. let IonItemSliding = class IonItemSliding {
  2906. constructor(c, r, z) {
  2907. this.z = z;
  2908. c.detach();
  2909. this.el = r.nativeElement;
  2910. proxyOutputs(this, this.el, ['ionDrag']);
  2911. }
  2912. };
  2913. /** @nocollapse */
  2914. IonItemSliding.ɵfac = function IonItemSliding_Factory(t) {
  2915. return new (t || IonItemSliding)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  2916. };
  2917. /** @nocollapse */
  2918. IonItemSliding.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  2919. type: IonItemSliding,
  2920. selectors: [["ion-item-sliding"]],
  2921. inputs: {
  2922. disabled: "disabled"
  2923. },
  2924. ngContentSelectors: _c0,
  2925. decls: 1,
  2926. vars: 0,
  2927. template: function IonItemSliding_Template(rf, ctx) {
  2928. if (rf & 1) {
  2929. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  2930. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  2931. }
  2932. },
  2933. encapsulation: 2,
  2934. changeDetection: 0
  2935. });
  2936. IonItemSliding = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  2937. defineCustomElementFn: undefined,
  2938. inputs: ['disabled'],
  2939. methods: ['getOpenAmount', 'getSlidingRatio', 'open', 'close', 'closeOpened']
  2940. })], IonItemSliding);
  2941. (function () {
  2942. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonItemSliding, [{
  2943. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  2944. args: [{
  2945. selector: 'ion-item-sliding',
  2946. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  2947. template: '<ng-content></ng-content>',
  2948. inputs: ['disabled']
  2949. }]
  2950. }], function () {
  2951. return [{
  2952. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  2953. }, {
  2954. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  2955. }, {
  2956. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  2957. }];
  2958. }, null);
  2959. })();
  2960. let IonLabel = class IonLabel {
  2961. constructor(c, r, z) {
  2962. this.z = z;
  2963. c.detach();
  2964. this.el = r.nativeElement;
  2965. }
  2966. };
  2967. /** @nocollapse */
  2968. IonLabel.ɵfac = function IonLabel_Factory(t) {
  2969. return new (t || IonLabel)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  2970. };
  2971. /** @nocollapse */
  2972. IonLabel.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  2973. type: IonLabel,
  2974. selectors: [["ion-label"]],
  2975. inputs: {
  2976. color: "color",
  2977. mode: "mode",
  2978. position: "position"
  2979. },
  2980. ngContentSelectors: _c0,
  2981. decls: 1,
  2982. vars: 0,
  2983. template: function IonLabel_Template(rf, ctx) {
  2984. if (rf & 1) {
  2985. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  2986. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  2987. }
  2988. },
  2989. encapsulation: 2,
  2990. changeDetection: 0
  2991. });
  2992. IonLabel = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  2993. defineCustomElementFn: undefined,
  2994. inputs: ['color', 'mode', 'position']
  2995. })], IonLabel);
  2996. (function () {
  2997. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonLabel, [{
  2998. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  2999. args: [{
  3000. selector: 'ion-label',
  3001. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  3002. template: '<ng-content></ng-content>',
  3003. inputs: ['color', 'mode', 'position']
  3004. }]
  3005. }], function () {
  3006. return [{
  3007. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  3008. }, {
  3009. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  3010. }, {
  3011. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  3012. }];
  3013. }, null);
  3014. })();
  3015. let IonList = class IonList {
  3016. constructor(c, r, z) {
  3017. this.z = z;
  3018. c.detach();
  3019. this.el = r.nativeElement;
  3020. }
  3021. };
  3022. /** @nocollapse */
  3023. IonList.ɵfac = function IonList_Factory(t) {
  3024. return new (t || IonList)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  3025. };
  3026. /** @nocollapse */
  3027. IonList.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  3028. type: IonList,
  3029. selectors: [["ion-list"]],
  3030. inputs: {
  3031. inset: "inset",
  3032. lines: "lines",
  3033. mode: "mode"
  3034. },
  3035. ngContentSelectors: _c0,
  3036. decls: 1,
  3037. vars: 0,
  3038. template: function IonList_Template(rf, ctx) {
  3039. if (rf & 1) {
  3040. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  3041. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  3042. }
  3043. },
  3044. encapsulation: 2,
  3045. changeDetection: 0
  3046. });
  3047. IonList = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  3048. defineCustomElementFn: undefined,
  3049. inputs: ['inset', 'lines', 'mode'],
  3050. methods: ['closeSlidingItems']
  3051. })], IonList);
  3052. (function () {
  3053. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonList, [{
  3054. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  3055. args: [{
  3056. selector: 'ion-list',
  3057. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  3058. template: '<ng-content></ng-content>',
  3059. inputs: ['inset', 'lines', 'mode']
  3060. }]
  3061. }], function () {
  3062. return [{
  3063. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  3064. }, {
  3065. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  3066. }, {
  3067. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  3068. }];
  3069. }, null);
  3070. })();
  3071. let IonListHeader = class IonListHeader {
  3072. constructor(c, r, z) {
  3073. this.z = z;
  3074. c.detach();
  3075. this.el = r.nativeElement;
  3076. }
  3077. };
  3078. /** @nocollapse */
  3079. IonListHeader.ɵfac = function IonListHeader_Factory(t) {
  3080. return new (t || IonListHeader)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  3081. };
  3082. /** @nocollapse */
  3083. IonListHeader.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  3084. type: IonListHeader,
  3085. selectors: [["ion-list-header"]],
  3086. inputs: {
  3087. color: "color",
  3088. lines: "lines",
  3089. mode: "mode"
  3090. },
  3091. ngContentSelectors: _c0,
  3092. decls: 1,
  3093. vars: 0,
  3094. template: function IonListHeader_Template(rf, ctx) {
  3095. if (rf & 1) {
  3096. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  3097. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  3098. }
  3099. },
  3100. encapsulation: 2,
  3101. changeDetection: 0
  3102. });
  3103. IonListHeader = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  3104. defineCustomElementFn: undefined,
  3105. inputs: ['color', 'lines', 'mode']
  3106. })], IonListHeader);
  3107. (function () {
  3108. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonListHeader, [{
  3109. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  3110. args: [{
  3111. selector: 'ion-list-header',
  3112. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  3113. template: '<ng-content></ng-content>',
  3114. inputs: ['color', 'lines', 'mode']
  3115. }]
  3116. }], function () {
  3117. return [{
  3118. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  3119. }, {
  3120. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  3121. }, {
  3122. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  3123. }];
  3124. }, null);
  3125. })();
  3126. let IonMenu = class IonMenu {
  3127. constructor(c, r, z) {
  3128. this.z = z;
  3129. c.detach();
  3130. this.el = r.nativeElement;
  3131. proxyOutputs(this, this.el, ['ionWillOpen', 'ionWillClose', 'ionDidOpen', 'ionDidClose']);
  3132. }
  3133. };
  3134. /** @nocollapse */
  3135. IonMenu.ɵfac = function IonMenu_Factory(t) {
  3136. return new (t || IonMenu)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  3137. };
  3138. /** @nocollapse */
  3139. IonMenu.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  3140. type: IonMenu,
  3141. selectors: [["ion-menu"]],
  3142. inputs: {
  3143. contentId: "contentId",
  3144. disabled: "disabled",
  3145. maxEdgeStart: "maxEdgeStart",
  3146. menuId: "menuId",
  3147. side: "side",
  3148. swipeGesture: "swipeGesture",
  3149. type: "type"
  3150. },
  3151. ngContentSelectors: _c0,
  3152. decls: 1,
  3153. vars: 0,
  3154. template: function IonMenu_Template(rf, ctx) {
  3155. if (rf & 1) {
  3156. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  3157. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  3158. }
  3159. },
  3160. encapsulation: 2,
  3161. changeDetection: 0
  3162. });
  3163. IonMenu = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  3164. defineCustomElementFn: undefined,
  3165. inputs: ['contentId', 'disabled', 'maxEdgeStart', 'menuId', 'side', 'swipeGesture', 'type'],
  3166. methods: ['isOpen', 'isActive', 'open', 'close', 'toggle', 'setOpen']
  3167. })], IonMenu);
  3168. (function () {
  3169. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonMenu, [{
  3170. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  3171. args: [{
  3172. selector: 'ion-menu',
  3173. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  3174. template: '<ng-content></ng-content>',
  3175. inputs: ['contentId', 'disabled', 'maxEdgeStart', 'menuId', 'side', 'swipeGesture', 'type']
  3176. }]
  3177. }], function () {
  3178. return [{
  3179. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  3180. }, {
  3181. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  3182. }, {
  3183. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  3184. }];
  3185. }, null);
  3186. })();
  3187. let IonMenuButton = class IonMenuButton {
  3188. constructor(c, r, z) {
  3189. this.z = z;
  3190. c.detach();
  3191. this.el = r.nativeElement;
  3192. }
  3193. };
  3194. /** @nocollapse */
  3195. IonMenuButton.ɵfac = function IonMenuButton_Factory(t) {
  3196. return new (t || IonMenuButton)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  3197. };
  3198. /** @nocollapse */
  3199. IonMenuButton.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  3200. type: IonMenuButton,
  3201. selectors: [["ion-menu-button"]],
  3202. inputs: {
  3203. autoHide: "autoHide",
  3204. color: "color",
  3205. disabled: "disabled",
  3206. menu: "menu",
  3207. mode: "mode",
  3208. type: "type"
  3209. },
  3210. ngContentSelectors: _c0,
  3211. decls: 1,
  3212. vars: 0,
  3213. template: function IonMenuButton_Template(rf, ctx) {
  3214. if (rf & 1) {
  3215. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  3216. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  3217. }
  3218. },
  3219. encapsulation: 2,
  3220. changeDetection: 0
  3221. });
  3222. IonMenuButton = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  3223. defineCustomElementFn: undefined,
  3224. inputs: ['autoHide', 'color', 'disabled', 'menu', 'mode', 'type']
  3225. })], IonMenuButton);
  3226. (function () {
  3227. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonMenuButton, [{
  3228. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  3229. args: [{
  3230. selector: 'ion-menu-button',
  3231. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  3232. template: '<ng-content></ng-content>',
  3233. inputs: ['autoHide', 'color', 'disabled', 'menu', 'mode', 'type']
  3234. }]
  3235. }], function () {
  3236. return [{
  3237. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  3238. }, {
  3239. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  3240. }, {
  3241. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  3242. }];
  3243. }, null);
  3244. })();
  3245. let IonMenuToggle = class IonMenuToggle {
  3246. constructor(c, r, z) {
  3247. this.z = z;
  3248. c.detach();
  3249. this.el = r.nativeElement;
  3250. }
  3251. };
  3252. /** @nocollapse */
  3253. IonMenuToggle.ɵfac = function IonMenuToggle_Factory(t) {
  3254. return new (t || IonMenuToggle)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  3255. };
  3256. /** @nocollapse */
  3257. IonMenuToggle.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  3258. type: IonMenuToggle,
  3259. selectors: [["ion-menu-toggle"]],
  3260. inputs: {
  3261. autoHide: "autoHide",
  3262. menu: "menu"
  3263. },
  3264. ngContentSelectors: _c0,
  3265. decls: 1,
  3266. vars: 0,
  3267. template: function IonMenuToggle_Template(rf, ctx) {
  3268. if (rf & 1) {
  3269. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  3270. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  3271. }
  3272. },
  3273. encapsulation: 2,
  3274. changeDetection: 0
  3275. });
  3276. IonMenuToggle = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  3277. defineCustomElementFn: undefined,
  3278. inputs: ['autoHide', 'menu']
  3279. })], IonMenuToggle);
  3280. (function () {
  3281. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonMenuToggle, [{
  3282. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  3283. args: [{
  3284. selector: 'ion-menu-toggle',
  3285. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  3286. template: '<ng-content></ng-content>',
  3287. inputs: ['autoHide', 'menu']
  3288. }]
  3289. }], function () {
  3290. return [{
  3291. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  3292. }, {
  3293. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  3294. }, {
  3295. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  3296. }];
  3297. }, null);
  3298. })();
  3299. let IonNav = class IonNav {
  3300. constructor(c, r, z) {
  3301. this.z = z;
  3302. c.detach();
  3303. this.el = r.nativeElement;
  3304. proxyOutputs(this, this.el, ['ionNavWillChange', 'ionNavDidChange']);
  3305. }
  3306. };
  3307. /** @nocollapse */
  3308. IonNav.ɵfac = function IonNav_Factory(t) {
  3309. return new (t || IonNav)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  3310. };
  3311. /** @nocollapse */
  3312. IonNav.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  3313. type: IonNav,
  3314. selectors: [["ion-nav"]],
  3315. inputs: {
  3316. animated: "animated",
  3317. animation: "animation",
  3318. root: "root",
  3319. rootParams: "rootParams",
  3320. swipeGesture: "swipeGesture"
  3321. },
  3322. ngContentSelectors: _c0,
  3323. decls: 1,
  3324. vars: 0,
  3325. template: function IonNav_Template(rf, ctx) {
  3326. if (rf & 1) {
  3327. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  3328. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  3329. }
  3330. },
  3331. encapsulation: 2,
  3332. changeDetection: 0
  3333. });
  3334. IonNav = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  3335. defineCustomElementFn: undefined,
  3336. inputs: ['animated', 'animation', 'root', 'rootParams', 'swipeGesture'],
  3337. methods: ['push', 'insert', 'insertPages', 'pop', 'popTo', 'popToRoot', 'removeIndex', 'setRoot', 'setPages', 'getActive', 'getByIndex', 'canGoBack', 'getPrevious']
  3338. })], IonNav);
  3339. (function () {
  3340. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonNav, [{
  3341. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  3342. args: [{
  3343. selector: 'ion-nav',
  3344. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  3345. template: '<ng-content></ng-content>',
  3346. inputs: ['animated', 'animation', 'root', 'rootParams', 'swipeGesture']
  3347. }]
  3348. }], function () {
  3349. return [{
  3350. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  3351. }, {
  3352. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  3353. }, {
  3354. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  3355. }];
  3356. }, null);
  3357. })();
  3358. let IonNavLink = class IonNavLink {
  3359. constructor(c, r, z) {
  3360. this.z = z;
  3361. c.detach();
  3362. this.el = r.nativeElement;
  3363. }
  3364. };
  3365. /** @nocollapse */
  3366. IonNavLink.ɵfac = function IonNavLink_Factory(t) {
  3367. return new (t || IonNavLink)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  3368. };
  3369. /** @nocollapse */
  3370. IonNavLink.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  3371. type: IonNavLink,
  3372. selectors: [["ion-nav-link"]],
  3373. inputs: {
  3374. component: "component",
  3375. componentProps: "componentProps",
  3376. routerAnimation: "routerAnimation",
  3377. routerDirection: "routerDirection"
  3378. },
  3379. ngContentSelectors: _c0,
  3380. decls: 1,
  3381. vars: 0,
  3382. template: function IonNavLink_Template(rf, ctx) {
  3383. if (rf & 1) {
  3384. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  3385. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  3386. }
  3387. },
  3388. encapsulation: 2,
  3389. changeDetection: 0
  3390. });
  3391. IonNavLink = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  3392. defineCustomElementFn: undefined,
  3393. inputs: ['component', 'componentProps', 'routerAnimation', 'routerDirection']
  3394. })], IonNavLink);
  3395. (function () {
  3396. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonNavLink, [{
  3397. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  3398. args: [{
  3399. selector: 'ion-nav-link',
  3400. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  3401. template: '<ng-content></ng-content>',
  3402. inputs: ['component', 'componentProps', 'routerAnimation', 'routerDirection']
  3403. }]
  3404. }], function () {
  3405. return [{
  3406. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  3407. }, {
  3408. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  3409. }, {
  3410. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  3411. }];
  3412. }, null);
  3413. })();
  3414. let IonNote = class IonNote {
  3415. constructor(c, r, z) {
  3416. this.z = z;
  3417. c.detach();
  3418. this.el = r.nativeElement;
  3419. }
  3420. };
  3421. /** @nocollapse */
  3422. IonNote.ɵfac = function IonNote_Factory(t) {
  3423. return new (t || IonNote)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  3424. };
  3425. /** @nocollapse */
  3426. IonNote.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  3427. type: IonNote,
  3428. selectors: [["ion-note"]],
  3429. inputs: {
  3430. color: "color",
  3431. mode: "mode"
  3432. },
  3433. ngContentSelectors: _c0,
  3434. decls: 1,
  3435. vars: 0,
  3436. template: function IonNote_Template(rf, ctx) {
  3437. if (rf & 1) {
  3438. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  3439. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  3440. }
  3441. },
  3442. encapsulation: 2,
  3443. changeDetection: 0
  3444. });
  3445. IonNote = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  3446. defineCustomElementFn: undefined,
  3447. inputs: ['color', 'mode']
  3448. })], IonNote);
  3449. (function () {
  3450. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonNote, [{
  3451. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  3452. args: [{
  3453. selector: 'ion-note',
  3454. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  3455. template: '<ng-content></ng-content>',
  3456. inputs: ['color', 'mode']
  3457. }]
  3458. }], function () {
  3459. return [{
  3460. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  3461. }, {
  3462. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  3463. }, {
  3464. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  3465. }];
  3466. }, null);
  3467. })();
  3468. let IonProgressBar = class IonProgressBar {
  3469. constructor(c, r, z) {
  3470. this.z = z;
  3471. c.detach();
  3472. this.el = r.nativeElement;
  3473. }
  3474. };
  3475. /** @nocollapse */
  3476. IonProgressBar.ɵfac = function IonProgressBar_Factory(t) {
  3477. return new (t || IonProgressBar)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  3478. };
  3479. /** @nocollapse */
  3480. IonProgressBar.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  3481. type: IonProgressBar,
  3482. selectors: [["ion-progress-bar"]],
  3483. inputs: {
  3484. buffer: "buffer",
  3485. color: "color",
  3486. mode: "mode",
  3487. reversed: "reversed",
  3488. type: "type",
  3489. value: "value"
  3490. },
  3491. ngContentSelectors: _c0,
  3492. decls: 1,
  3493. vars: 0,
  3494. template: function IonProgressBar_Template(rf, ctx) {
  3495. if (rf & 1) {
  3496. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  3497. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  3498. }
  3499. },
  3500. encapsulation: 2,
  3501. changeDetection: 0
  3502. });
  3503. IonProgressBar = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  3504. defineCustomElementFn: undefined,
  3505. inputs: ['buffer', 'color', 'mode', 'reversed', 'type', 'value']
  3506. })], IonProgressBar);
  3507. (function () {
  3508. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonProgressBar, [{
  3509. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  3510. args: [{
  3511. selector: 'ion-progress-bar',
  3512. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  3513. template: '<ng-content></ng-content>',
  3514. inputs: ['buffer', 'color', 'mode', 'reversed', 'type', 'value']
  3515. }]
  3516. }], function () {
  3517. return [{
  3518. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  3519. }, {
  3520. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  3521. }, {
  3522. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  3523. }];
  3524. }, null);
  3525. })();
  3526. let IonRadio = class IonRadio {
  3527. constructor(c, r, z) {
  3528. this.z = z;
  3529. c.detach();
  3530. this.el = r.nativeElement;
  3531. proxyOutputs(this, this.el, ['ionFocus', 'ionBlur']);
  3532. }
  3533. };
  3534. /** @nocollapse */
  3535. IonRadio.ɵfac = function IonRadio_Factory(t) {
  3536. return new (t || IonRadio)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  3537. };
  3538. /** @nocollapse */
  3539. IonRadio.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  3540. type: IonRadio,
  3541. selectors: [["ion-radio"]],
  3542. inputs: {
  3543. color: "color",
  3544. disabled: "disabled",
  3545. mode: "mode",
  3546. name: "name",
  3547. value: "value"
  3548. },
  3549. ngContentSelectors: _c0,
  3550. decls: 1,
  3551. vars: 0,
  3552. template: function IonRadio_Template(rf, ctx) {
  3553. if (rf & 1) {
  3554. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  3555. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  3556. }
  3557. },
  3558. encapsulation: 2,
  3559. changeDetection: 0
  3560. });
  3561. IonRadio = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  3562. defineCustomElementFn: undefined,
  3563. inputs: ['color', 'disabled', 'mode', 'name', 'value']
  3564. })], IonRadio);
  3565. (function () {
  3566. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonRadio, [{
  3567. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  3568. args: [{
  3569. selector: 'ion-radio',
  3570. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  3571. template: '<ng-content></ng-content>',
  3572. inputs: ['color', 'disabled', 'mode', 'name', 'value']
  3573. }]
  3574. }], function () {
  3575. return [{
  3576. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  3577. }, {
  3578. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  3579. }, {
  3580. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  3581. }];
  3582. }, null);
  3583. })();
  3584. let IonRadioGroup = class IonRadioGroup {
  3585. constructor(c, r, z) {
  3586. this.z = z;
  3587. c.detach();
  3588. this.el = r.nativeElement;
  3589. proxyOutputs(this, this.el, ['ionChange']);
  3590. }
  3591. };
  3592. /** @nocollapse */
  3593. IonRadioGroup.ɵfac = function IonRadioGroup_Factory(t) {
  3594. return new (t || IonRadioGroup)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  3595. };
  3596. /** @nocollapse */
  3597. IonRadioGroup.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  3598. type: IonRadioGroup,
  3599. selectors: [["ion-radio-group"]],
  3600. inputs: {
  3601. allowEmptySelection: "allowEmptySelection",
  3602. name: "name",
  3603. value: "value"
  3604. },
  3605. ngContentSelectors: _c0,
  3606. decls: 1,
  3607. vars: 0,
  3608. template: function IonRadioGroup_Template(rf, ctx) {
  3609. if (rf & 1) {
  3610. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  3611. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  3612. }
  3613. },
  3614. encapsulation: 2,
  3615. changeDetection: 0
  3616. });
  3617. IonRadioGroup = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  3618. defineCustomElementFn: undefined,
  3619. inputs: ['allowEmptySelection', 'name', 'value']
  3620. })], IonRadioGroup);
  3621. (function () {
  3622. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonRadioGroup, [{
  3623. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  3624. args: [{
  3625. selector: 'ion-radio-group',
  3626. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  3627. template: '<ng-content></ng-content>',
  3628. inputs: ['allowEmptySelection', 'name', 'value']
  3629. }]
  3630. }], function () {
  3631. return [{
  3632. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  3633. }, {
  3634. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  3635. }, {
  3636. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  3637. }];
  3638. }, null);
  3639. })();
  3640. let IonRange = class IonRange {
  3641. constructor(c, r, z) {
  3642. this.z = z;
  3643. c.detach();
  3644. this.el = r.nativeElement;
  3645. proxyOutputs(this, this.el, ['ionChange', 'ionFocus', 'ionBlur', 'ionKnobMoveStart', 'ionKnobMoveEnd']);
  3646. }
  3647. };
  3648. /** @nocollapse */
  3649. IonRange.ɵfac = function IonRange_Factory(t) {
  3650. return new (t || IonRange)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  3651. };
  3652. /** @nocollapse */
  3653. IonRange.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  3654. type: IonRange,
  3655. selectors: [["ion-range"]],
  3656. inputs: {
  3657. activeBarStart: "activeBarStart",
  3658. color: "color",
  3659. debounce: "debounce",
  3660. disabled: "disabled",
  3661. dualKnobs: "dualKnobs",
  3662. max: "max",
  3663. min: "min",
  3664. mode: "mode",
  3665. name: "name",
  3666. pin: "pin",
  3667. pinFormatter: "pinFormatter",
  3668. snaps: "snaps",
  3669. step: "step",
  3670. ticks: "ticks",
  3671. value: "value"
  3672. },
  3673. ngContentSelectors: _c0,
  3674. decls: 1,
  3675. vars: 0,
  3676. template: function IonRange_Template(rf, ctx) {
  3677. if (rf & 1) {
  3678. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  3679. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  3680. }
  3681. },
  3682. encapsulation: 2,
  3683. changeDetection: 0
  3684. });
  3685. IonRange = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  3686. defineCustomElementFn: undefined,
  3687. inputs: ['activeBarStart', 'color', 'debounce', 'disabled', 'dualKnobs', 'max', 'min', 'mode', 'name', 'pin', 'pinFormatter', 'snaps', 'step', 'ticks', 'value']
  3688. })], IonRange);
  3689. (function () {
  3690. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonRange, [{
  3691. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  3692. args: [{
  3693. selector: 'ion-range',
  3694. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  3695. template: '<ng-content></ng-content>',
  3696. inputs: ['activeBarStart', 'color', 'debounce', 'disabled', 'dualKnobs', 'max', 'min', 'mode', 'name', 'pin', 'pinFormatter', 'snaps', 'step', 'ticks', 'value']
  3697. }]
  3698. }], function () {
  3699. return [{
  3700. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  3701. }, {
  3702. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  3703. }, {
  3704. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  3705. }];
  3706. }, null);
  3707. })();
  3708. let IonRefresher = class IonRefresher {
  3709. constructor(c, r, z) {
  3710. this.z = z;
  3711. c.detach();
  3712. this.el = r.nativeElement;
  3713. proxyOutputs(this, this.el, ['ionRefresh', 'ionPull', 'ionStart']);
  3714. }
  3715. };
  3716. /** @nocollapse */
  3717. IonRefresher.ɵfac = function IonRefresher_Factory(t) {
  3718. return new (t || IonRefresher)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  3719. };
  3720. /** @nocollapse */
  3721. IonRefresher.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  3722. type: IonRefresher,
  3723. selectors: [["ion-refresher"]],
  3724. inputs: {
  3725. closeDuration: "closeDuration",
  3726. disabled: "disabled",
  3727. pullFactor: "pullFactor",
  3728. pullMax: "pullMax",
  3729. pullMin: "pullMin",
  3730. snapbackDuration: "snapbackDuration"
  3731. },
  3732. ngContentSelectors: _c0,
  3733. decls: 1,
  3734. vars: 0,
  3735. template: function IonRefresher_Template(rf, ctx) {
  3736. if (rf & 1) {
  3737. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  3738. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  3739. }
  3740. },
  3741. encapsulation: 2,
  3742. changeDetection: 0
  3743. });
  3744. IonRefresher = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  3745. defineCustomElementFn: undefined,
  3746. inputs: ['closeDuration', 'disabled', 'pullFactor', 'pullMax', 'pullMin', 'snapbackDuration'],
  3747. methods: ['complete', 'cancel', 'getProgress']
  3748. })], IonRefresher);
  3749. (function () {
  3750. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonRefresher, [{
  3751. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  3752. args: [{
  3753. selector: 'ion-refresher',
  3754. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  3755. template: '<ng-content></ng-content>',
  3756. inputs: ['closeDuration', 'disabled', 'pullFactor', 'pullMax', 'pullMin', 'snapbackDuration']
  3757. }]
  3758. }], function () {
  3759. return [{
  3760. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  3761. }, {
  3762. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  3763. }, {
  3764. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  3765. }];
  3766. }, null);
  3767. })();
  3768. let IonRefresherContent = class IonRefresherContent {
  3769. constructor(c, r, z) {
  3770. this.z = z;
  3771. c.detach();
  3772. this.el = r.nativeElement;
  3773. }
  3774. };
  3775. /** @nocollapse */
  3776. IonRefresherContent.ɵfac = function IonRefresherContent_Factory(t) {
  3777. return new (t || IonRefresherContent)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  3778. };
  3779. /** @nocollapse */
  3780. IonRefresherContent.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  3781. type: IonRefresherContent,
  3782. selectors: [["ion-refresher-content"]],
  3783. inputs: {
  3784. pullingIcon: "pullingIcon",
  3785. pullingText: "pullingText",
  3786. refreshingSpinner: "refreshingSpinner",
  3787. refreshingText: "refreshingText"
  3788. },
  3789. ngContentSelectors: _c0,
  3790. decls: 1,
  3791. vars: 0,
  3792. template: function IonRefresherContent_Template(rf, ctx) {
  3793. if (rf & 1) {
  3794. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  3795. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  3796. }
  3797. },
  3798. encapsulation: 2,
  3799. changeDetection: 0
  3800. });
  3801. IonRefresherContent = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  3802. defineCustomElementFn: undefined,
  3803. inputs: ['pullingIcon', 'pullingText', 'refreshingSpinner', 'refreshingText']
  3804. })], IonRefresherContent);
  3805. (function () {
  3806. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonRefresherContent, [{
  3807. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  3808. args: [{
  3809. selector: 'ion-refresher-content',
  3810. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  3811. template: '<ng-content></ng-content>',
  3812. inputs: ['pullingIcon', 'pullingText', 'refreshingSpinner', 'refreshingText']
  3813. }]
  3814. }], function () {
  3815. return [{
  3816. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  3817. }, {
  3818. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  3819. }, {
  3820. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  3821. }];
  3822. }, null);
  3823. })();
  3824. let IonReorder = class IonReorder {
  3825. constructor(c, r, z) {
  3826. this.z = z;
  3827. c.detach();
  3828. this.el = r.nativeElement;
  3829. }
  3830. };
  3831. /** @nocollapse */
  3832. IonReorder.ɵfac = function IonReorder_Factory(t) {
  3833. return new (t || IonReorder)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  3834. };
  3835. /** @nocollapse */
  3836. IonReorder.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  3837. type: IonReorder,
  3838. selectors: [["ion-reorder"]],
  3839. ngContentSelectors: _c0,
  3840. decls: 1,
  3841. vars: 0,
  3842. template: function IonReorder_Template(rf, ctx) {
  3843. if (rf & 1) {
  3844. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  3845. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  3846. }
  3847. },
  3848. encapsulation: 2,
  3849. changeDetection: 0
  3850. });
  3851. IonReorder = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  3852. defineCustomElementFn: undefined
  3853. })], IonReorder);
  3854. (function () {
  3855. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonReorder, [{
  3856. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  3857. args: [{
  3858. selector: 'ion-reorder',
  3859. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  3860. template: '<ng-content></ng-content>'
  3861. }]
  3862. }], function () {
  3863. return [{
  3864. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  3865. }, {
  3866. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  3867. }, {
  3868. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  3869. }];
  3870. }, null);
  3871. })();
  3872. let IonReorderGroup = class IonReorderGroup {
  3873. constructor(c, r, z) {
  3874. this.z = z;
  3875. c.detach();
  3876. this.el = r.nativeElement;
  3877. proxyOutputs(this, this.el, ['ionItemReorder']);
  3878. }
  3879. };
  3880. /** @nocollapse */
  3881. IonReorderGroup.ɵfac = function IonReorderGroup_Factory(t) {
  3882. return new (t || IonReorderGroup)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  3883. };
  3884. /** @nocollapse */
  3885. IonReorderGroup.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  3886. type: IonReorderGroup,
  3887. selectors: [["ion-reorder-group"]],
  3888. inputs: {
  3889. disabled: "disabled"
  3890. },
  3891. ngContentSelectors: _c0,
  3892. decls: 1,
  3893. vars: 0,
  3894. template: function IonReorderGroup_Template(rf, ctx) {
  3895. if (rf & 1) {
  3896. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  3897. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  3898. }
  3899. },
  3900. encapsulation: 2,
  3901. changeDetection: 0
  3902. });
  3903. IonReorderGroup = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  3904. defineCustomElementFn: undefined,
  3905. inputs: ['disabled'],
  3906. methods: ['complete']
  3907. })], IonReorderGroup);
  3908. (function () {
  3909. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonReorderGroup, [{
  3910. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  3911. args: [{
  3912. selector: 'ion-reorder-group',
  3913. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  3914. template: '<ng-content></ng-content>',
  3915. inputs: ['disabled']
  3916. }]
  3917. }], function () {
  3918. return [{
  3919. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  3920. }, {
  3921. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  3922. }, {
  3923. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  3924. }];
  3925. }, null);
  3926. })();
  3927. let IonRippleEffect = class IonRippleEffect {
  3928. constructor(c, r, z) {
  3929. this.z = z;
  3930. c.detach();
  3931. this.el = r.nativeElement;
  3932. }
  3933. };
  3934. /** @nocollapse */
  3935. IonRippleEffect.ɵfac = function IonRippleEffect_Factory(t) {
  3936. return new (t || IonRippleEffect)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  3937. };
  3938. /** @nocollapse */
  3939. IonRippleEffect.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  3940. type: IonRippleEffect,
  3941. selectors: [["ion-ripple-effect"]],
  3942. inputs: {
  3943. type: "type"
  3944. },
  3945. ngContentSelectors: _c0,
  3946. decls: 1,
  3947. vars: 0,
  3948. template: function IonRippleEffect_Template(rf, ctx) {
  3949. if (rf & 1) {
  3950. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  3951. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  3952. }
  3953. },
  3954. encapsulation: 2,
  3955. changeDetection: 0
  3956. });
  3957. IonRippleEffect = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  3958. defineCustomElementFn: undefined,
  3959. inputs: ['type'],
  3960. methods: ['addRipple']
  3961. })], IonRippleEffect);
  3962. (function () {
  3963. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonRippleEffect, [{
  3964. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  3965. args: [{
  3966. selector: 'ion-ripple-effect',
  3967. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  3968. template: '<ng-content></ng-content>',
  3969. inputs: ['type']
  3970. }]
  3971. }], function () {
  3972. return [{
  3973. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  3974. }, {
  3975. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  3976. }, {
  3977. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  3978. }];
  3979. }, null);
  3980. })();
  3981. let IonRow = class IonRow {
  3982. constructor(c, r, z) {
  3983. this.z = z;
  3984. c.detach();
  3985. this.el = r.nativeElement;
  3986. }
  3987. };
  3988. /** @nocollapse */
  3989. IonRow.ɵfac = function IonRow_Factory(t) {
  3990. return new (t || IonRow)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  3991. };
  3992. /** @nocollapse */
  3993. IonRow.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  3994. type: IonRow,
  3995. selectors: [["ion-row"]],
  3996. ngContentSelectors: _c0,
  3997. decls: 1,
  3998. vars: 0,
  3999. template: function IonRow_Template(rf, ctx) {
  4000. if (rf & 1) {
  4001. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  4002. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  4003. }
  4004. },
  4005. encapsulation: 2,
  4006. changeDetection: 0
  4007. });
  4008. IonRow = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  4009. defineCustomElementFn: undefined
  4010. })], IonRow);
  4011. (function () {
  4012. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonRow, [{
  4013. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  4014. args: [{
  4015. selector: 'ion-row',
  4016. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  4017. template: '<ng-content></ng-content>'
  4018. }]
  4019. }], function () {
  4020. return [{
  4021. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  4022. }, {
  4023. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  4024. }, {
  4025. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  4026. }];
  4027. }, null);
  4028. })();
  4029. let IonSearchbar = class IonSearchbar {
  4030. constructor(c, r, z) {
  4031. this.z = z;
  4032. c.detach();
  4033. this.el = r.nativeElement;
  4034. proxyOutputs(this, this.el, ['ionInput', 'ionChange', 'ionCancel', 'ionClear', 'ionBlur', 'ionFocus']);
  4035. }
  4036. };
  4037. /** @nocollapse */
  4038. IonSearchbar.ɵfac = function IonSearchbar_Factory(t) {
  4039. return new (t || IonSearchbar)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  4040. };
  4041. /** @nocollapse */
  4042. IonSearchbar.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  4043. type: IonSearchbar,
  4044. selectors: [["ion-searchbar"]],
  4045. inputs: {
  4046. animated: "animated",
  4047. autocomplete: "autocomplete",
  4048. autocorrect: "autocorrect",
  4049. cancelButtonIcon: "cancelButtonIcon",
  4050. cancelButtonText: "cancelButtonText",
  4051. clearIcon: "clearIcon",
  4052. color: "color",
  4053. debounce: "debounce",
  4054. disabled: "disabled",
  4055. enterkeyhint: "enterkeyhint",
  4056. inputmode: "inputmode",
  4057. mode: "mode",
  4058. placeholder: "placeholder",
  4059. searchIcon: "searchIcon",
  4060. showCancelButton: "showCancelButton",
  4061. showClearButton: "showClearButton",
  4062. spellcheck: "spellcheck",
  4063. type: "type",
  4064. value: "value"
  4065. },
  4066. ngContentSelectors: _c0,
  4067. decls: 1,
  4068. vars: 0,
  4069. template: function IonSearchbar_Template(rf, ctx) {
  4070. if (rf & 1) {
  4071. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  4072. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  4073. }
  4074. },
  4075. encapsulation: 2,
  4076. changeDetection: 0
  4077. });
  4078. IonSearchbar = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  4079. defineCustomElementFn: undefined,
  4080. inputs: ['animated', 'autocomplete', 'autocorrect', 'cancelButtonIcon', 'cancelButtonText', 'clearIcon', 'color', 'debounce', 'disabled', 'enterkeyhint', 'inputmode', 'mode', 'placeholder', 'searchIcon', 'showCancelButton', 'showClearButton', 'spellcheck', 'type', 'value'],
  4081. methods: ['setFocus', 'getInputElement']
  4082. })], IonSearchbar);
  4083. (function () {
  4084. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonSearchbar, [{
  4085. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  4086. args: [{
  4087. selector: 'ion-searchbar',
  4088. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  4089. template: '<ng-content></ng-content>',
  4090. inputs: ['animated', 'autocomplete', 'autocorrect', 'cancelButtonIcon', 'cancelButtonText', 'clearIcon', 'color', 'debounce', 'disabled', 'enterkeyhint', 'inputmode', 'mode', 'placeholder', 'searchIcon', 'showCancelButton', 'showClearButton', 'spellcheck', 'type', 'value']
  4091. }]
  4092. }], function () {
  4093. return [{
  4094. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  4095. }, {
  4096. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  4097. }, {
  4098. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  4099. }];
  4100. }, null);
  4101. })();
  4102. let IonSegment = class IonSegment {
  4103. constructor(c, r, z) {
  4104. this.z = z;
  4105. c.detach();
  4106. this.el = r.nativeElement;
  4107. proxyOutputs(this, this.el, ['ionChange']);
  4108. }
  4109. };
  4110. /** @nocollapse */
  4111. IonSegment.ɵfac = function IonSegment_Factory(t) {
  4112. return new (t || IonSegment)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  4113. };
  4114. /** @nocollapse */
  4115. IonSegment.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  4116. type: IonSegment,
  4117. selectors: [["ion-segment"]],
  4118. inputs: {
  4119. color: "color",
  4120. disabled: "disabled",
  4121. mode: "mode",
  4122. scrollable: "scrollable",
  4123. selectOnFocus: "selectOnFocus",
  4124. swipeGesture: "swipeGesture",
  4125. value: "value"
  4126. },
  4127. ngContentSelectors: _c0,
  4128. decls: 1,
  4129. vars: 0,
  4130. template: function IonSegment_Template(rf, ctx) {
  4131. if (rf & 1) {
  4132. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  4133. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  4134. }
  4135. },
  4136. encapsulation: 2,
  4137. changeDetection: 0
  4138. });
  4139. IonSegment = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  4140. defineCustomElementFn: undefined,
  4141. inputs: ['color', 'disabled', 'mode', 'scrollable', 'selectOnFocus', 'swipeGesture', 'value']
  4142. })], IonSegment);
  4143. (function () {
  4144. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonSegment, [{
  4145. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  4146. args: [{
  4147. selector: 'ion-segment',
  4148. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  4149. template: '<ng-content></ng-content>',
  4150. inputs: ['color', 'disabled', 'mode', 'scrollable', 'selectOnFocus', 'swipeGesture', 'value']
  4151. }]
  4152. }], function () {
  4153. return [{
  4154. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  4155. }, {
  4156. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  4157. }, {
  4158. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  4159. }];
  4160. }, null);
  4161. })();
  4162. let IonSegmentButton = class IonSegmentButton {
  4163. constructor(c, r, z) {
  4164. this.z = z;
  4165. c.detach();
  4166. this.el = r.nativeElement;
  4167. }
  4168. };
  4169. /** @nocollapse */
  4170. IonSegmentButton.ɵfac = function IonSegmentButton_Factory(t) {
  4171. return new (t || IonSegmentButton)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  4172. };
  4173. /** @nocollapse */
  4174. IonSegmentButton.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  4175. type: IonSegmentButton,
  4176. selectors: [["ion-segment-button"]],
  4177. inputs: {
  4178. disabled: "disabled",
  4179. layout: "layout",
  4180. mode: "mode",
  4181. type: "type",
  4182. value: "value"
  4183. },
  4184. ngContentSelectors: _c0,
  4185. decls: 1,
  4186. vars: 0,
  4187. template: function IonSegmentButton_Template(rf, ctx) {
  4188. if (rf & 1) {
  4189. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  4190. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  4191. }
  4192. },
  4193. encapsulation: 2,
  4194. changeDetection: 0
  4195. });
  4196. IonSegmentButton = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  4197. defineCustomElementFn: undefined,
  4198. inputs: ['disabled', 'layout', 'mode', 'type', 'value']
  4199. })], IonSegmentButton);
  4200. (function () {
  4201. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonSegmentButton, [{
  4202. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  4203. args: [{
  4204. selector: 'ion-segment-button',
  4205. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  4206. template: '<ng-content></ng-content>',
  4207. inputs: ['disabled', 'layout', 'mode', 'type', 'value']
  4208. }]
  4209. }], function () {
  4210. return [{
  4211. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  4212. }, {
  4213. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  4214. }, {
  4215. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  4216. }];
  4217. }, null);
  4218. })();
  4219. let IonSelect = class IonSelect {
  4220. constructor(c, r, z) {
  4221. this.z = z;
  4222. c.detach();
  4223. this.el = r.nativeElement;
  4224. proxyOutputs(this, this.el, ['ionChange', 'ionCancel', 'ionDismiss', 'ionFocus', 'ionBlur']);
  4225. }
  4226. };
  4227. /** @nocollapse */
  4228. IonSelect.ɵfac = function IonSelect_Factory(t) {
  4229. return new (t || IonSelect)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  4230. };
  4231. /** @nocollapse */
  4232. IonSelect.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  4233. type: IonSelect,
  4234. selectors: [["ion-select"]],
  4235. inputs: {
  4236. cancelText: "cancelText",
  4237. compareWith: "compareWith",
  4238. disabled: "disabled",
  4239. interface: "interface",
  4240. interfaceOptions: "interfaceOptions",
  4241. mode: "mode",
  4242. multiple: "multiple",
  4243. name: "name",
  4244. okText: "okText",
  4245. placeholder: "placeholder",
  4246. selectedText: "selectedText",
  4247. value: "value"
  4248. },
  4249. ngContentSelectors: _c0,
  4250. decls: 1,
  4251. vars: 0,
  4252. template: function IonSelect_Template(rf, ctx) {
  4253. if (rf & 1) {
  4254. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  4255. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  4256. }
  4257. },
  4258. encapsulation: 2,
  4259. changeDetection: 0
  4260. });
  4261. IonSelect = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  4262. defineCustomElementFn: undefined,
  4263. inputs: ['cancelText', 'compareWith', 'disabled', 'interface', 'interfaceOptions', 'mode', 'multiple', 'name', 'okText', 'placeholder', 'selectedText', 'value'],
  4264. methods: ['open']
  4265. })], IonSelect);
  4266. (function () {
  4267. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonSelect, [{
  4268. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  4269. args: [{
  4270. selector: 'ion-select',
  4271. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  4272. template: '<ng-content></ng-content>',
  4273. inputs: ['cancelText', 'compareWith', 'disabled', 'interface', 'interfaceOptions', 'mode', 'multiple', 'name', 'okText', 'placeholder', 'selectedText', 'value']
  4274. }]
  4275. }], function () {
  4276. return [{
  4277. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  4278. }, {
  4279. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  4280. }, {
  4281. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  4282. }];
  4283. }, null);
  4284. })();
  4285. let IonSelectOption = class IonSelectOption {
  4286. constructor(c, r, z) {
  4287. this.z = z;
  4288. c.detach();
  4289. this.el = r.nativeElement;
  4290. }
  4291. };
  4292. /** @nocollapse */
  4293. IonSelectOption.ɵfac = function IonSelectOption_Factory(t) {
  4294. return new (t || IonSelectOption)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  4295. };
  4296. /** @nocollapse */
  4297. IonSelectOption.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  4298. type: IonSelectOption,
  4299. selectors: [["ion-select-option"]],
  4300. inputs: {
  4301. disabled: "disabled",
  4302. value: "value"
  4303. },
  4304. ngContentSelectors: _c0,
  4305. decls: 1,
  4306. vars: 0,
  4307. template: function IonSelectOption_Template(rf, ctx) {
  4308. if (rf & 1) {
  4309. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  4310. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  4311. }
  4312. },
  4313. encapsulation: 2,
  4314. changeDetection: 0
  4315. });
  4316. IonSelectOption = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  4317. defineCustomElementFn: undefined,
  4318. inputs: ['disabled', 'value']
  4319. })], IonSelectOption);
  4320. (function () {
  4321. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonSelectOption, [{
  4322. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  4323. args: [{
  4324. selector: 'ion-select-option',
  4325. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  4326. template: '<ng-content></ng-content>',
  4327. inputs: ['disabled', 'value']
  4328. }]
  4329. }], function () {
  4330. return [{
  4331. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  4332. }, {
  4333. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  4334. }, {
  4335. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  4336. }];
  4337. }, null);
  4338. })();
  4339. let IonSkeletonText = class IonSkeletonText {
  4340. constructor(c, r, z) {
  4341. this.z = z;
  4342. c.detach();
  4343. this.el = r.nativeElement;
  4344. }
  4345. };
  4346. /** @nocollapse */
  4347. IonSkeletonText.ɵfac = function IonSkeletonText_Factory(t) {
  4348. return new (t || IonSkeletonText)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  4349. };
  4350. /** @nocollapse */
  4351. IonSkeletonText.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  4352. type: IonSkeletonText,
  4353. selectors: [["ion-skeleton-text"]],
  4354. inputs: {
  4355. animated: "animated"
  4356. },
  4357. ngContentSelectors: _c0,
  4358. decls: 1,
  4359. vars: 0,
  4360. template: function IonSkeletonText_Template(rf, ctx) {
  4361. if (rf & 1) {
  4362. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  4363. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  4364. }
  4365. },
  4366. encapsulation: 2,
  4367. changeDetection: 0
  4368. });
  4369. IonSkeletonText = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  4370. defineCustomElementFn: undefined,
  4371. inputs: ['animated']
  4372. })], IonSkeletonText);
  4373. (function () {
  4374. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonSkeletonText, [{
  4375. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  4376. args: [{
  4377. selector: 'ion-skeleton-text',
  4378. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  4379. template: '<ng-content></ng-content>',
  4380. inputs: ['animated']
  4381. }]
  4382. }], function () {
  4383. return [{
  4384. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  4385. }, {
  4386. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  4387. }, {
  4388. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  4389. }];
  4390. }, null);
  4391. })();
  4392. let IonSlide = class IonSlide {
  4393. constructor(c, r, z) {
  4394. this.z = z;
  4395. c.detach();
  4396. this.el = r.nativeElement;
  4397. }
  4398. };
  4399. /** @nocollapse */
  4400. IonSlide.ɵfac = function IonSlide_Factory(t) {
  4401. return new (t || IonSlide)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  4402. };
  4403. /** @nocollapse */
  4404. IonSlide.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  4405. type: IonSlide,
  4406. selectors: [["ion-slide"]],
  4407. ngContentSelectors: _c0,
  4408. decls: 1,
  4409. vars: 0,
  4410. template: function IonSlide_Template(rf, ctx) {
  4411. if (rf & 1) {
  4412. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  4413. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  4414. }
  4415. },
  4416. encapsulation: 2,
  4417. changeDetection: 0
  4418. });
  4419. IonSlide = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  4420. defineCustomElementFn: undefined
  4421. })], IonSlide);
  4422. (function () {
  4423. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonSlide, [{
  4424. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  4425. args: [{
  4426. selector: 'ion-slide',
  4427. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  4428. template: '<ng-content></ng-content>'
  4429. }]
  4430. }], function () {
  4431. return [{
  4432. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  4433. }, {
  4434. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  4435. }, {
  4436. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  4437. }];
  4438. }, null);
  4439. })();
  4440. let IonSlides = class IonSlides {
  4441. constructor(c, r, z) {
  4442. this.z = z;
  4443. c.detach();
  4444. this.el = r.nativeElement;
  4445. proxyOutputs(this, this.el, ['ionSlidesDidLoad', 'ionSlideTap', 'ionSlideDoubleTap', 'ionSlideWillChange', 'ionSlideDidChange', 'ionSlideNextStart', 'ionSlidePrevStart', 'ionSlideNextEnd', 'ionSlidePrevEnd', 'ionSlideTransitionStart', 'ionSlideTransitionEnd', 'ionSlideDrag', 'ionSlideReachStart', 'ionSlideReachEnd', 'ionSlideTouchStart', 'ionSlideTouchEnd']);
  4446. }
  4447. };
  4448. /** @nocollapse */
  4449. IonSlides.ɵfac = function IonSlides_Factory(t) {
  4450. return new (t || IonSlides)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  4451. };
  4452. /** @nocollapse */
  4453. IonSlides.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  4454. type: IonSlides,
  4455. selectors: [["ion-slides"]],
  4456. inputs: {
  4457. mode: "mode",
  4458. options: "options",
  4459. pager: "pager",
  4460. scrollbar: "scrollbar"
  4461. },
  4462. ngContentSelectors: _c0,
  4463. decls: 1,
  4464. vars: 0,
  4465. template: function IonSlides_Template(rf, ctx) {
  4466. if (rf & 1) {
  4467. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  4468. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  4469. }
  4470. },
  4471. encapsulation: 2,
  4472. changeDetection: 0
  4473. });
  4474. IonSlides = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  4475. defineCustomElementFn: undefined,
  4476. inputs: ['mode', 'options', 'pager', 'scrollbar'],
  4477. methods: ['update', 'updateAutoHeight', 'slideTo', 'slideNext', 'slidePrev', 'getActiveIndex', 'getPreviousIndex', 'length', 'isEnd', 'isBeginning', 'startAutoplay', 'stopAutoplay', 'lockSwipeToNext', 'lockSwipeToPrev', 'lockSwipes', 'getSwiper']
  4478. })], IonSlides);
  4479. (function () {
  4480. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonSlides, [{
  4481. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  4482. args: [{
  4483. selector: 'ion-slides',
  4484. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  4485. template: '<ng-content></ng-content>',
  4486. inputs: ['mode', 'options', 'pager', 'scrollbar']
  4487. }]
  4488. }], function () {
  4489. return [{
  4490. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  4491. }, {
  4492. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  4493. }, {
  4494. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  4495. }];
  4496. }, null);
  4497. })();
  4498. let IonSpinner = class IonSpinner {
  4499. constructor(c, r, z) {
  4500. this.z = z;
  4501. c.detach();
  4502. this.el = r.nativeElement;
  4503. }
  4504. };
  4505. /** @nocollapse */
  4506. IonSpinner.ɵfac = function IonSpinner_Factory(t) {
  4507. return new (t || IonSpinner)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  4508. };
  4509. /** @nocollapse */
  4510. IonSpinner.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  4511. type: IonSpinner,
  4512. selectors: [["ion-spinner"]],
  4513. inputs: {
  4514. color: "color",
  4515. duration: "duration",
  4516. name: "name",
  4517. paused: "paused"
  4518. },
  4519. ngContentSelectors: _c0,
  4520. decls: 1,
  4521. vars: 0,
  4522. template: function IonSpinner_Template(rf, ctx) {
  4523. if (rf & 1) {
  4524. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  4525. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  4526. }
  4527. },
  4528. encapsulation: 2,
  4529. changeDetection: 0
  4530. });
  4531. IonSpinner = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  4532. defineCustomElementFn: undefined,
  4533. inputs: ['color', 'duration', 'name', 'paused']
  4534. })], IonSpinner);
  4535. (function () {
  4536. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonSpinner, [{
  4537. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  4538. args: [{
  4539. selector: 'ion-spinner',
  4540. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  4541. template: '<ng-content></ng-content>',
  4542. inputs: ['color', 'duration', 'name', 'paused']
  4543. }]
  4544. }], function () {
  4545. return [{
  4546. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  4547. }, {
  4548. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  4549. }, {
  4550. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  4551. }];
  4552. }, null);
  4553. })();
  4554. let IonSplitPane = class IonSplitPane {
  4555. constructor(c, r, z) {
  4556. this.z = z;
  4557. c.detach();
  4558. this.el = r.nativeElement;
  4559. proxyOutputs(this, this.el, ['ionSplitPaneVisible']);
  4560. }
  4561. };
  4562. /** @nocollapse */
  4563. IonSplitPane.ɵfac = function IonSplitPane_Factory(t) {
  4564. return new (t || IonSplitPane)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  4565. };
  4566. /** @nocollapse */
  4567. IonSplitPane.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  4568. type: IonSplitPane,
  4569. selectors: [["ion-split-pane"]],
  4570. inputs: {
  4571. contentId: "contentId",
  4572. disabled: "disabled",
  4573. when: "when"
  4574. },
  4575. ngContentSelectors: _c0,
  4576. decls: 1,
  4577. vars: 0,
  4578. template: function IonSplitPane_Template(rf, ctx) {
  4579. if (rf & 1) {
  4580. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  4581. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  4582. }
  4583. },
  4584. encapsulation: 2,
  4585. changeDetection: 0
  4586. });
  4587. IonSplitPane = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  4588. defineCustomElementFn: undefined,
  4589. inputs: ['contentId', 'disabled', 'when']
  4590. })], IonSplitPane);
  4591. (function () {
  4592. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonSplitPane, [{
  4593. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  4594. args: [{
  4595. selector: 'ion-split-pane',
  4596. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  4597. template: '<ng-content></ng-content>',
  4598. inputs: ['contentId', 'disabled', 'when']
  4599. }]
  4600. }], function () {
  4601. return [{
  4602. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  4603. }, {
  4604. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  4605. }, {
  4606. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  4607. }];
  4608. }, null);
  4609. })();
  4610. let IonTabBar = class IonTabBar {
  4611. constructor(c, r, z) {
  4612. this.z = z;
  4613. c.detach();
  4614. this.el = r.nativeElement;
  4615. }
  4616. };
  4617. /** @nocollapse */
  4618. IonTabBar.ɵfac = function IonTabBar_Factory(t) {
  4619. return new (t || IonTabBar)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  4620. };
  4621. /** @nocollapse */
  4622. IonTabBar.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  4623. type: IonTabBar,
  4624. selectors: [["ion-tab-bar"]],
  4625. inputs: {
  4626. color: "color",
  4627. mode: "mode",
  4628. selectedTab: "selectedTab",
  4629. translucent: "translucent"
  4630. },
  4631. ngContentSelectors: _c0,
  4632. decls: 1,
  4633. vars: 0,
  4634. template: function IonTabBar_Template(rf, ctx) {
  4635. if (rf & 1) {
  4636. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  4637. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  4638. }
  4639. },
  4640. encapsulation: 2,
  4641. changeDetection: 0
  4642. });
  4643. IonTabBar = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  4644. defineCustomElementFn: undefined,
  4645. inputs: ['color', 'mode', 'selectedTab', 'translucent']
  4646. })], IonTabBar);
  4647. (function () {
  4648. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonTabBar, [{
  4649. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  4650. args: [{
  4651. selector: 'ion-tab-bar',
  4652. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  4653. template: '<ng-content></ng-content>',
  4654. inputs: ['color', 'mode', 'selectedTab', 'translucent']
  4655. }]
  4656. }], function () {
  4657. return [{
  4658. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  4659. }, {
  4660. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  4661. }, {
  4662. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  4663. }];
  4664. }, null);
  4665. })();
  4666. let IonTabButton = class IonTabButton {
  4667. constructor(c, r, z) {
  4668. this.z = z;
  4669. c.detach();
  4670. this.el = r.nativeElement;
  4671. }
  4672. };
  4673. /** @nocollapse */
  4674. IonTabButton.ɵfac = function IonTabButton_Factory(t) {
  4675. return new (t || IonTabButton)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  4676. };
  4677. /** @nocollapse */
  4678. IonTabButton.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  4679. type: IonTabButton,
  4680. selectors: [["ion-tab-button"]],
  4681. inputs: {
  4682. disabled: "disabled",
  4683. download: "download",
  4684. href: "href",
  4685. layout: "layout",
  4686. mode: "mode",
  4687. rel: "rel",
  4688. selected: "selected",
  4689. tab: "tab",
  4690. target: "target"
  4691. },
  4692. ngContentSelectors: _c0,
  4693. decls: 1,
  4694. vars: 0,
  4695. template: function IonTabButton_Template(rf, ctx) {
  4696. if (rf & 1) {
  4697. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  4698. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  4699. }
  4700. },
  4701. encapsulation: 2,
  4702. changeDetection: 0
  4703. });
  4704. IonTabButton = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  4705. defineCustomElementFn: undefined,
  4706. inputs: ['disabled', 'download', 'href', 'layout', 'mode', 'rel', 'selected', 'tab', 'target']
  4707. })], IonTabButton);
  4708. (function () {
  4709. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonTabButton, [{
  4710. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  4711. args: [{
  4712. selector: 'ion-tab-button',
  4713. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  4714. template: '<ng-content></ng-content>',
  4715. inputs: ['disabled', 'download', 'href', 'layout', 'mode', 'rel', 'selected', 'tab', 'target']
  4716. }]
  4717. }], function () {
  4718. return [{
  4719. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  4720. }, {
  4721. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  4722. }, {
  4723. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  4724. }];
  4725. }, null);
  4726. })();
  4727. let IonText = class IonText {
  4728. constructor(c, r, z) {
  4729. this.z = z;
  4730. c.detach();
  4731. this.el = r.nativeElement;
  4732. }
  4733. };
  4734. /** @nocollapse */
  4735. IonText.ɵfac = function IonText_Factory(t) {
  4736. return new (t || IonText)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  4737. };
  4738. /** @nocollapse */
  4739. IonText.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  4740. type: IonText,
  4741. selectors: [["ion-text"]],
  4742. inputs: {
  4743. color: "color",
  4744. mode: "mode"
  4745. },
  4746. ngContentSelectors: _c0,
  4747. decls: 1,
  4748. vars: 0,
  4749. template: function IonText_Template(rf, ctx) {
  4750. if (rf & 1) {
  4751. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  4752. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  4753. }
  4754. },
  4755. encapsulation: 2,
  4756. changeDetection: 0
  4757. });
  4758. IonText = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  4759. defineCustomElementFn: undefined,
  4760. inputs: ['color', 'mode']
  4761. })], IonText);
  4762. (function () {
  4763. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonText, [{
  4764. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  4765. args: [{
  4766. selector: 'ion-text',
  4767. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  4768. template: '<ng-content></ng-content>',
  4769. inputs: ['color', 'mode']
  4770. }]
  4771. }], function () {
  4772. return [{
  4773. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  4774. }, {
  4775. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  4776. }, {
  4777. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  4778. }];
  4779. }, null);
  4780. })();
  4781. let IonTextarea = class IonTextarea {
  4782. constructor(c, r, z) {
  4783. this.z = z;
  4784. c.detach();
  4785. this.el = r.nativeElement;
  4786. proxyOutputs(this, this.el, ['ionChange', 'ionInput', 'ionBlur', 'ionFocus']);
  4787. }
  4788. };
  4789. /** @nocollapse */
  4790. IonTextarea.ɵfac = function IonTextarea_Factory(t) {
  4791. return new (t || IonTextarea)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  4792. };
  4793. /** @nocollapse */
  4794. IonTextarea.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  4795. type: IonTextarea,
  4796. selectors: [["ion-textarea"]],
  4797. inputs: {
  4798. autoGrow: "autoGrow",
  4799. autocapitalize: "autocapitalize",
  4800. autofocus: "autofocus",
  4801. clearOnEdit: "clearOnEdit",
  4802. color: "color",
  4803. cols: "cols",
  4804. debounce: "debounce",
  4805. disabled: "disabled",
  4806. enterkeyhint: "enterkeyhint",
  4807. inputmode: "inputmode",
  4808. maxlength: "maxlength",
  4809. minlength: "minlength",
  4810. mode: "mode",
  4811. name: "name",
  4812. placeholder: "placeholder",
  4813. readonly: "readonly",
  4814. required: "required",
  4815. rows: "rows",
  4816. spellcheck: "spellcheck",
  4817. value: "value",
  4818. wrap: "wrap"
  4819. },
  4820. ngContentSelectors: _c0,
  4821. decls: 1,
  4822. vars: 0,
  4823. template: function IonTextarea_Template(rf, ctx) {
  4824. if (rf & 1) {
  4825. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  4826. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  4827. }
  4828. },
  4829. encapsulation: 2,
  4830. changeDetection: 0
  4831. });
  4832. IonTextarea = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  4833. defineCustomElementFn: undefined,
  4834. inputs: ['autoGrow', 'autocapitalize', 'autofocus', 'clearOnEdit', 'color', 'cols', 'debounce', 'disabled', 'enterkeyhint', 'inputmode', 'maxlength', 'minlength', 'mode', 'name', 'placeholder', 'readonly', 'required', 'rows', 'spellcheck', 'value', 'wrap'],
  4835. methods: ['setFocus', 'getInputElement']
  4836. })], IonTextarea);
  4837. (function () {
  4838. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonTextarea, [{
  4839. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  4840. args: [{
  4841. selector: 'ion-textarea',
  4842. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  4843. template: '<ng-content></ng-content>',
  4844. inputs: ['autoGrow', 'autocapitalize', 'autofocus', 'clearOnEdit', 'color', 'cols', 'debounce', 'disabled', 'enterkeyhint', 'inputmode', 'maxlength', 'minlength', 'mode', 'name', 'placeholder', 'readonly', 'required', 'rows', 'spellcheck', 'value', 'wrap']
  4845. }]
  4846. }], function () {
  4847. return [{
  4848. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  4849. }, {
  4850. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  4851. }, {
  4852. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  4853. }];
  4854. }, null);
  4855. })();
  4856. let IonThumbnail = class IonThumbnail {
  4857. constructor(c, r, z) {
  4858. this.z = z;
  4859. c.detach();
  4860. this.el = r.nativeElement;
  4861. }
  4862. };
  4863. /** @nocollapse */
  4864. IonThumbnail.ɵfac = function IonThumbnail_Factory(t) {
  4865. return new (t || IonThumbnail)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  4866. };
  4867. /** @nocollapse */
  4868. IonThumbnail.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  4869. type: IonThumbnail,
  4870. selectors: [["ion-thumbnail"]],
  4871. ngContentSelectors: _c0,
  4872. decls: 1,
  4873. vars: 0,
  4874. template: function IonThumbnail_Template(rf, ctx) {
  4875. if (rf & 1) {
  4876. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  4877. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  4878. }
  4879. },
  4880. encapsulation: 2,
  4881. changeDetection: 0
  4882. });
  4883. IonThumbnail = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  4884. defineCustomElementFn: undefined
  4885. })], IonThumbnail);
  4886. (function () {
  4887. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonThumbnail, [{
  4888. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  4889. args: [{
  4890. selector: 'ion-thumbnail',
  4891. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  4892. template: '<ng-content></ng-content>'
  4893. }]
  4894. }], function () {
  4895. return [{
  4896. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  4897. }, {
  4898. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  4899. }, {
  4900. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  4901. }];
  4902. }, null);
  4903. })();
  4904. let IonTitle = class IonTitle {
  4905. constructor(c, r, z) {
  4906. this.z = z;
  4907. c.detach();
  4908. this.el = r.nativeElement;
  4909. }
  4910. };
  4911. /** @nocollapse */
  4912. IonTitle.ɵfac = function IonTitle_Factory(t) {
  4913. return new (t || IonTitle)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  4914. };
  4915. /** @nocollapse */
  4916. IonTitle.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  4917. type: IonTitle,
  4918. selectors: [["ion-title"]],
  4919. inputs: {
  4920. color: "color",
  4921. size: "size"
  4922. },
  4923. ngContentSelectors: _c0,
  4924. decls: 1,
  4925. vars: 0,
  4926. template: function IonTitle_Template(rf, ctx) {
  4927. if (rf & 1) {
  4928. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  4929. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  4930. }
  4931. },
  4932. encapsulation: 2,
  4933. changeDetection: 0
  4934. });
  4935. IonTitle = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  4936. defineCustomElementFn: undefined,
  4937. inputs: ['color', 'size']
  4938. })], IonTitle);
  4939. (function () {
  4940. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonTitle, [{
  4941. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  4942. args: [{
  4943. selector: 'ion-title',
  4944. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  4945. template: '<ng-content></ng-content>',
  4946. inputs: ['color', 'size']
  4947. }]
  4948. }], function () {
  4949. return [{
  4950. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  4951. }, {
  4952. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  4953. }, {
  4954. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  4955. }];
  4956. }, null);
  4957. })();
  4958. let IonToggle = class IonToggle {
  4959. constructor(c, r, z) {
  4960. this.z = z;
  4961. c.detach();
  4962. this.el = r.nativeElement;
  4963. proxyOutputs(this, this.el, ['ionChange', 'ionFocus', 'ionBlur']);
  4964. }
  4965. };
  4966. /** @nocollapse */
  4967. IonToggle.ɵfac = function IonToggle_Factory(t) {
  4968. return new (t || IonToggle)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  4969. };
  4970. /** @nocollapse */
  4971. IonToggle.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  4972. type: IonToggle,
  4973. selectors: [["ion-toggle"]],
  4974. inputs: {
  4975. checked: "checked",
  4976. color: "color",
  4977. disabled: "disabled",
  4978. enableOnOffLabels: "enableOnOffLabels",
  4979. mode: "mode",
  4980. name: "name",
  4981. value: "value"
  4982. },
  4983. ngContentSelectors: _c0,
  4984. decls: 1,
  4985. vars: 0,
  4986. template: function IonToggle_Template(rf, ctx) {
  4987. if (rf & 1) {
  4988. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  4989. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  4990. }
  4991. },
  4992. encapsulation: 2,
  4993. changeDetection: 0
  4994. });
  4995. IonToggle = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  4996. defineCustomElementFn: undefined,
  4997. inputs: ['checked', 'color', 'disabled', 'enableOnOffLabels', 'mode', 'name', 'value']
  4998. })], IonToggle);
  4999. (function () {
  5000. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonToggle, [{
  5001. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  5002. args: [{
  5003. selector: 'ion-toggle',
  5004. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  5005. template: '<ng-content></ng-content>',
  5006. inputs: ['checked', 'color', 'disabled', 'enableOnOffLabels', 'mode', 'name', 'value']
  5007. }]
  5008. }], function () {
  5009. return [{
  5010. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  5011. }, {
  5012. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  5013. }, {
  5014. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  5015. }];
  5016. }, null);
  5017. })();
  5018. let IonToolbar = class IonToolbar {
  5019. constructor(c, r, z) {
  5020. this.z = z;
  5021. c.detach();
  5022. this.el = r.nativeElement;
  5023. }
  5024. };
  5025. /** @nocollapse */
  5026. IonToolbar.ɵfac = function IonToolbar_Factory(t) {
  5027. return new (t || IonToolbar)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  5028. };
  5029. /** @nocollapse */
  5030. IonToolbar.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  5031. type: IonToolbar,
  5032. selectors: [["ion-toolbar"]],
  5033. inputs: {
  5034. color: "color",
  5035. mode: "mode"
  5036. },
  5037. ngContentSelectors: _c0,
  5038. decls: 1,
  5039. vars: 0,
  5040. template: function IonToolbar_Template(rf, ctx) {
  5041. if (rf & 1) {
  5042. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  5043. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  5044. }
  5045. },
  5046. encapsulation: 2,
  5047. changeDetection: 0
  5048. });
  5049. IonToolbar = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  5050. defineCustomElementFn: undefined,
  5051. inputs: ['color', 'mode']
  5052. })], IonToolbar);
  5053. (function () {
  5054. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonToolbar, [{
  5055. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  5056. args: [{
  5057. selector: 'ion-toolbar',
  5058. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  5059. template: '<ng-content></ng-content>',
  5060. inputs: ['color', 'mode']
  5061. }]
  5062. }], function () {
  5063. return [{
  5064. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  5065. }, {
  5066. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  5067. }, {
  5068. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  5069. }];
  5070. }, null);
  5071. })();
  5072. /**
  5073. * @description
  5074. * NavParams are an object that exists on a page and can contain data for that particular view.
  5075. * Similar to how data was pass to a view in V1 with `$stateParams`, NavParams offer a much more flexible
  5076. * option with a simple `get` method.
  5077. *
  5078. * @usage
  5079. * ```ts
  5080. * import { NavParams } from '@ionic/angular';
  5081. *
  5082. * export class MyClass{
  5083. *
  5084. * constructor(navParams: NavParams){
  5085. * // userParams is an object we have in our nav-parameters
  5086. * navParams.get('userParams');
  5087. * }
  5088. *
  5089. * }
  5090. * ```
  5091. */
  5092. class NavParams {
  5093. constructor(data = {}) {
  5094. this.data = data;
  5095. }
  5096. /**
  5097. * Get the value of a nav-parameter for the current view
  5098. *
  5099. * ```ts
  5100. * import { NavParams } from 'ionic-angular';
  5101. *
  5102. * export class MyClass{
  5103. * constructor(public navParams: NavParams){
  5104. * // userParams is an object we have in our nav-parameters
  5105. * this.navParams.get('userParams');
  5106. * }
  5107. * }
  5108. * ```
  5109. *
  5110. * @param param Which param you want to look up
  5111. */
  5112. get(param) {
  5113. return this.data[param];
  5114. }
  5115. }
  5116. class AngularDelegate {
  5117. constructor(zone, appRef) {
  5118. this.zone = zone;
  5119. this.appRef = appRef;
  5120. }
  5121. create(resolverOrInjector, injector, location) {
  5122. return new AngularFrameworkDelegate(resolverOrInjector, injector, location, this.appRef, this.zone);
  5123. }
  5124. }
  5125. /** @nocollapse */
  5126. AngularDelegate.ɵfac = function AngularDelegate_Factory(t) {
  5127. return new (t || AngularDelegate)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ApplicationRef));
  5128. };
  5129. /** @nocollapse */
  5130. AngularDelegate.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
  5131. token: AngularDelegate,
  5132. factory: AngularDelegate.ɵfac
  5133. });
  5134. (function () {
  5135. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](AngularDelegate, [{
  5136. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injectable
  5137. }], function () {
  5138. return [{
  5139. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  5140. }, {
  5141. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ApplicationRef
  5142. }];
  5143. }, null);
  5144. })();
  5145. class AngularFrameworkDelegate {
  5146. constructor(resolverOrInjector, injector, location, appRef, zone) {
  5147. this.resolverOrInjector = resolverOrInjector;
  5148. this.injector = injector;
  5149. this.location = location;
  5150. this.appRef = appRef;
  5151. this.zone = zone;
  5152. this.elRefMap = new WeakMap();
  5153. this.elEventsMap = new WeakMap();
  5154. }
  5155. attachViewToDom(container, component, params, cssClasses) {
  5156. return this.zone.run(() => {
  5157. return new Promise(resolve => {
  5158. const el = attachView(this.zone, this.resolverOrInjector, this.injector, this.location, this.appRef, this.elRefMap, this.elEventsMap, container, component, params, cssClasses);
  5159. resolve(el);
  5160. });
  5161. });
  5162. }
  5163. removeViewFromDom(_container, component) {
  5164. return this.zone.run(() => {
  5165. return new Promise(resolve => {
  5166. const componentRef = this.elRefMap.get(component);
  5167. if (componentRef) {
  5168. componentRef.destroy();
  5169. this.elRefMap.delete(component);
  5170. const unbindEvents = this.elEventsMap.get(component);
  5171. if (unbindEvents) {
  5172. unbindEvents();
  5173. this.elEventsMap.delete(component);
  5174. }
  5175. }
  5176. resolve();
  5177. });
  5178. });
  5179. }
  5180. }
  5181. const attachView = (zone, resolverOrInjector, injector, location, appRef, elRefMap, elEventsMap, container, component, params, cssClasses) => {
  5182. let componentRef;
  5183. const childInjector = _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injector.create({
  5184. providers: getProviders(params),
  5185. parent: injector
  5186. });
  5187. if (resolverOrInjector && isComponentFactoryResolver(resolverOrInjector)) {
  5188. // Angular 13 and lower
  5189. const factory = resolverOrInjector.resolveComponentFactory(component);
  5190. componentRef = location ? location.createComponent(factory, location.length, childInjector) : factory.create(childInjector);
  5191. } else if (location) {
  5192. // Angular 14
  5193. const environmentInjector = resolverOrInjector;
  5194. componentRef = location.createComponent(component, {
  5195. index: location.indexOf,
  5196. injector: childInjector,
  5197. environmentInjector
  5198. });
  5199. } else {
  5200. return null;
  5201. }
  5202. const instance = componentRef.instance;
  5203. const hostElement = componentRef.location.nativeElement;
  5204. if (params) {
  5205. Object.assign(instance, params);
  5206. }
  5207. if (cssClasses) {
  5208. for (const clazz of cssClasses) {
  5209. hostElement.classList.add(clazz);
  5210. }
  5211. }
  5212. const unbindEvents = bindLifecycleEvents(zone, instance, hostElement);
  5213. container.appendChild(hostElement);
  5214. if (!location) {
  5215. appRef.attachView(componentRef.hostView);
  5216. }
  5217. componentRef.changeDetectorRef.reattach();
  5218. elRefMap.set(hostElement, componentRef);
  5219. elEventsMap.set(hostElement, unbindEvents);
  5220. return hostElement;
  5221. };
  5222. const LIFECYCLES = [_ionic_core__WEBPACK_IMPORTED_MODULE_0__.LIFECYCLE_WILL_ENTER, _ionic_core__WEBPACK_IMPORTED_MODULE_0__.LIFECYCLE_DID_ENTER, _ionic_core__WEBPACK_IMPORTED_MODULE_0__.LIFECYCLE_WILL_LEAVE, _ionic_core__WEBPACK_IMPORTED_MODULE_0__.LIFECYCLE_DID_LEAVE, _ionic_core__WEBPACK_IMPORTED_MODULE_0__.LIFECYCLE_WILL_UNLOAD];
  5223. const bindLifecycleEvents = (zone, instance, element) => {
  5224. return zone.run(() => {
  5225. const unregisters = LIFECYCLES.filter(eventName => typeof instance[eventName] === 'function').map(eventName => {
  5226. const handler = ev => instance[eventName](ev.detail);
  5227. element.addEventListener(eventName, handler);
  5228. return () => element.removeEventListener(eventName, handler);
  5229. });
  5230. return () => unregisters.forEach(fn => fn());
  5231. });
  5232. };
  5233. const NavParamsToken = new _angular_core__WEBPACK_IMPORTED_MODULE_2__.InjectionToken('NavParamsToken');
  5234. const getProviders = params => {
  5235. return [{
  5236. provide: NavParamsToken,
  5237. useValue: params
  5238. }, {
  5239. provide: NavParams,
  5240. useFactory: provideNavParamsInjectable,
  5241. deps: [NavParamsToken]
  5242. }];
  5243. };
  5244. const provideNavParamsInjectable = params => {
  5245. return new NavParams(params);
  5246. };
  5247. const insertView = (views, view, direction) => {
  5248. if (direction === 'root') {
  5249. return setRoot(views, view);
  5250. } else if (direction === 'forward') {
  5251. return setForward(views, view);
  5252. } else {
  5253. return setBack(views, view);
  5254. }
  5255. };
  5256. const setRoot = (views, view) => {
  5257. views = views.filter(v => v.stackId !== view.stackId);
  5258. views.push(view);
  5259. return views;
  5260. };
  5261. const setForward = (views, view) => {
  5262. const index = views.indexOf(view);
  5263. if (index >= 0) {
  5264. views = views.filter(v => v.stackId !== view.stackId || v.id <= view.id);
  5265. } else {
  5266. views.push(view);
  5267. }
  5268. return views;
  5269. };
  5270. const setBack = (views, view) => {
  5271. const index = views.indexOf(view);
  5272. if (index >= 0) {
  5273. return views.filter(v => v.stackId !== view.stackId || v.id <= view.id);
  5274. } else {
  5275. return setRoot(views, view);
  5276. }
  5277. };
  5278. const getUrl = (router, activatedRoute) => {
  5279. const urlTree = router.createUrlTree(['.'], {
  5280. relativeTo: activatedRoute
  5281. });
  5282. return router.serializeUrl(urlTree);
  5283. };
  5284. const isTabSwitch = (enteringView, leavingView) => {
  5285. if (!leavingView) {
  5286. return true;
  5287. }
  5288. return enteringView.stackId !== leavingView.stackId;
  5289. };
  5290. const computeStackId = (prefixUrl, url) => {
  5291. if (!prefixUrl) {
  5292. return undefined;
  5293. }
  5294. const segments = toSegments(url);
  5295. for (let i = 0; i < segments.length; i++) {
  5296. if (i >= prefixUrl.length) {
  5297. return segments[i];
  5298. }
  5299. if (segments[i] !== prefixUrl[i]) {
  5300. return undefined;
  5301. }
  5302. }
  5303. return undefined;
  5304. };
  5305. const toSegments = path => {
  5306. return path.split('/').map(s => s.trim()).filter(s => s !== '');
  5307. };
  5308. const destroyView = view => {
  5309. if (view) {
  5310. // TODO lifecycle event
  5311. view.ref.destroy();
  5312. view.unlistenEvents();
  5313. }
  5314. };
  5315. class StackController {
  5316. constructor(tabsPrefix, containerEl, router, navCtrl, zone, location) {
  5317. this.containerEl = containerEl;
  5318. this.router = router;
  5319. this.navCtrl = navCtrl;
  5320. this.zone = zone;
  5321. this.location = location;
  5322. this.views = [];
  5323. this.skipTransition = false;
  5324. this.nextId = 0;
  5325. this.tabsPrefix = tabsPrefix !== undefined ? toSegments(tabsPrefix) : undefined;
  5326. }
  5327. createView(ref, activatedRoute) {
  5328. var _a;
  5329. const url = getUrl(this.router, activatedRoute);
  5330. const element = (_a = ref === null || ref === void 0 ? void 0 : ref.location) === null || _a === void 0 ? void 0 : _a.nativeElement;
  5331. const unlistenEvents = bindLifecycleEvents(this.zone, ref.instance, element);
  5332. return {
  5333. id: this.nextId++,
  5334. stackId: computeStackId(this.tabsPrefix, url),
  5335. unlistenEvents,
  5336. element,
  5337. ref,
  5338. url
  5339. };
  5340. }
  5341. getExistingView(activatedRoute) {
  5342. const activatedUrlKey = getUrl(this.router, activatedRoute);
  5343. const view = this.views.find(vw => vw.url === activatedUrlKey);
  5344. if (view) {
  5345. view.ref.changeDetectorRef.reattach();
  5346. }
  5347. return view;
  5348. }
  5349. setActive(enteringView) {
  5350. var _a, _b;
  5351. const consumeResult = this.navCtrl.consumeTransition();
  5352. let {
  5353. direction,
  5354. animation,
  5355. animationBuilder
  5356. } = consumeResult;
  5357. const leavingView = this.activeView;
  5358. const tabSwitch = isTabSwitch(enteringView, leavingView);
  5359. if (tabSwitch) {
  5360. direction = 'back';
  5361. animation = undefined;
  5362. }
  5363. const viewsSnapshot = this.views.slice();
  5364. let currentNavigation;
  5365. const router = this.router; // Angular >= 7.2.0
  5366. if (router.getCurrentNavigation) {
  5367. currentNavigation = router.getCurrentNavigation(); // Angular < 7.2.0
  5368. } else if ((_a = router.navigations) === null || _a === void 0 ? void 0 : _a.value) {
  5369. currentNavigation = router.navigations.value;
  5370. }
  5371. /**
  5372. * If the navigation action
  5373. * sets `replaceUrl: true`
  5374. * then we need to make sure
  5375. * we remove the last item
  5376. * from our views stack
  5377. */
  5378. if ((_b = currentNavigation === null || currentNavigation === void 0 ? void 0 : currentNavigation.extras) === null || _b === void 0 ? void 0 : _b.replaceUrl) {
  5379. if (this.views.length > 0) {
  5380. this.views.splice(-1, 1);
  5381. }
  5382. }
  5383. const reused = this.views.includes(enteringView);
  5384. const views = this.insertView(enteringView, direction); // Trigger change detection before transition starts
  5385. // This will call ngOnInit() the first time too, just after the view
  5386. // was attached to the dom, but BEFORE the transition starts
  5387. if (!reused) {
  5388. enteringView.ref.changeDetectorRef.detectChanges();
  5389. }
  5390. /**
  5391. * If we are going back from a page that
  5392. * was presented using a custom animation
  5393. * we should default to using that
  5394. * unless the developer explicitly
  5395. * provided another animation.
  5396. */
  5397. const customAnimation = enteringView.animationBuilder;
  5398. if (animationBuilder === undefined && direction === 'back' && !tabSwitch && customAnimation !== undefined) {
  5399. animationBuilder = customAnimation;
  5400. }
  5401. /**
  5402. * Save any custom animation so that navigating
  5403. * back will use this custom animation by default.
  5404. */
  5405. if (leavingView) {
  5406. leavingView.animationBuilder = animationBuilder;
  5407. } // Wait until previous transitions finish
  5408. return this.zone.runOutsideAngular(() => {
  5409. return this.wait(() => {
  5410. // disconnect leaving page from change detection to
  5411. // reduce jank during the page transition
  5412. if (leavingView) {
  5413. leavingView.ref.changeDetectorRef.detach();
  5414. } // In case the enteringView is the same as the leavingPage we need to reattach()
  5415. enteringView.ref.changeDetectorRef.reattach();
  5416. return this.transition(enteringView, leavingView, animation, this.canGoBack(1), false, animationBuilder).then(() => cleanupAsync(enteringView, views, viewsSnapshot, this.location, this.zone)).then(() => ({
  5417. enteringView,
  5418. direction,
  5419. animation,
  5420. tabSwitch
  5421. }));
  5422. });
  5423. });
  5424. }
  5425. canGoBack(deep, stackId = this.getActiveStackId()) {
  5426. return this.getStack(stackId).length > deep;
  5427. }
  5428. pop(deep, stackId = this.getActiveStackId()) {
  5429. return this.zone.run(() => {
  5430. var _a, _b;
  5431. const views = this.getStack(stackId);
  5432. if (views.length <= deep) {
  5433. return Promise.resolve(false);
  5434. }
  5435. const view = views[views.length - deep - 1];
  5436. let url = view.url;
  5437. const viewSavedData = view.savedData;
  5438. if (viewSavedData) {
  5439. const primaryOutlet = viewSavedData.get('primary');
  5440. if ((_b = (_a = primaryOutlet === null || primaryOutlet === void 0 ? void 0 : primaryOutlet.route) === null || _a === void 0 ? void 0 : _a._routerState) === null || _b === void 0 ? void 0 : _b.snapshot.url) {
  5441. url = primaryOutlet.route._routerState.snapshot.url;
  5442. }
  5443. }
  5444. const {
  5445. animationBuilder
  5446. } = this.navCtrl.consumeTransition();
  5447. return this.navCtrl.navigateBack(url, Object.assign(Object.assign({}, view.savedExtras), {
  5448. animation: animationBuilder
  5449. })).then(() => true);
  5450. });
  5451. }
  5452. startBackTransition() {
  5453. const leavingView = this.activeView;
  5454. if (leavingView) {
  5455. const views = this.getStack(leavingView.stackId);
  5456. const enteringView = views[views.length - 2];
  5457. const customAnimation = enteringView.animationBuilder;
  5458. return this.wait(() => {
  5459. return this.transition(enteringView, // entering view
  5460. leavingView, // leaving view
  5461. 'back', this.canGoBack(2), true, customAnimation);
  5462. });
  5463. }
  5464. return Promise.resolve();
  5465. }
  5466. endBackTransition(shouldComplete) {
  5467. if (shouldComplete) {
  5468. this.skipTransition = true;
  5469. this.pop(1);
  5470. } else if (this.activeView) {
  5471. cleanup(this.activeView, this.views, this.views, this.location, this.zone);
  5472. }
  5473. }
  5474. getLastUrl(stackId) {
  5475. const views = this.getStack(stackId);
  5476. return views.length > 0 ? views[views.length - 1] : undefined;
  5477. }
  5478. /**
  5479. * @internal
  5480. */
  5481. getRootUrl(stackId) {
  5482. const views = this.getStack(stackId);
  5483. return views.length > 0 ? views[0] : undefined;
  5484. }
  5485. getActiveStackId() {
  5486. return this.activeView ? this.activeView.stackId : undefined;
  5487. }
  5488. hasRunningTask() {
  5489. return this.runningTask !== undefined;
  5490. }
  5491. destroy() {
  5492. // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
  5493. this.containerEl = undefined;
  5494. this.views.forEach(destroyView);
  5495. this.activeView = undefined;
  5496. this.views = [];
  5497. }
  5498. getStack(stackId) {
  5499. return this.views.filter(v => v.stackId === stackId);
  5500. }
  5501. insertView(enteringView, direction) {
  5502. this.activeView = enteringView;
  5503. this.views = insertView(this.views, enteringView, direction);
  5504. return this.views.slice();
  5505. }
  5506. transition(enteringView, leavingView, direction, showGoBack, progressAnimation, animationBuilder) {
  5507. if (this.skipTransition) {
  5508. this.skipTransition = false;
  5509. return Promise.resolve(false);
  5510. }
  5511. if (leavingView === enteringView) {
  5512. return Promise.resolve(false);
  5513. }
  5514. const enteringEl = enteringView ? enteringView.element : undefined;
  5515. const leavingEl = leavingView ? leavingView.element : undefined;
  5516. const containerEl = this.containerEl;
  5517. if (enteringEl && enteringEl !== leavingEl) {
  5518. enteringEl.classList.add('ion-page');
  5519. enteringEl.classList.add('ion-page-invisible');
  5520. if (enteringEl.parentElement !== containerEl) {
  5521. containerEl.appendChild(enteringEl);
  5522. }
  5523. if (containerEl.commit) {
  5524. return containerEl.commit(enteringEl, leavingEl, {
  5525. deepWait: true,
  5526. duration: direction === undefined ? 0 : undefined,
  5527. direction,
  5528. showGoBack,
  5529. progressAnimation,
  5530. animationBuilder
  5531. });
  5532. }
  5533. }
  5534. return Promise.resolve(false);
  5535. }
  5536. wait(task) {
  5537. return (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__awaiter)(this, void 0, void 0, function* () {
  5538. if (this.runningTask !== undefined) {
  5539. yield this.runningTask;
  5540. this.runningTask = undefined;
  5541. }
  5542. const promise = this.runningTask = task();
  5543. promise.finally(() => this.runningTask = undefined);
  5544. return promise;
  5545. });
  5546. }
  5547. }
  5548. const cleanupAsync = (activeRoute, views, viewsSnapshot, location, zone) => {
  5549. if (typeof requestAnimationFrame === 'function') {
  5550. return new Promise(resolve => {
  5551. requestAnimationFrame(() => {
  5552. cleanup(activeRoute, views, viewsSnapshot, location, zone);
  5553. resolve();
  5554. });
  5555. });
  5556. }
  5557. return Promise.resolve();
  5558. };
  5559. const cleanup = (activeRoute, views, viewsSnapshot, location, zone) => {
  5560. /**
  5561. * Re-enter the Angular zone when destroying page components. This will allow
  5562. * lifecycle events (`ngOnDestroy`) to be run inside the Angular zone.
  5563. */
  5564. zone.run(() => viewsSnapshot.filter(view => !views.includes(view)).forEach(destroyView));
  5565. views.forEach(view => {
  5566. /**
  5567. * In the event that a user navigated multiple
  5568. * times in rapid succession, we want to make sure
  5569. * we don't pre-emptively detach a view while
  5570. * it is in mid-transition.
  5571. *
  5572. * In this instance we also do not care about query
  5573. * params or fragments as it will be the same view regardless
  5574. */
  5575. const locationWithoutParams = location.path().split('?')[0];
  5576. const locationWithoutFragment = locationWithoutParams.split('#')[0];
  5577. if (view !== activeRoute && view.url !== locationWithoutFragment) {
  5578. const element = view.element;
  5579. element.setAttribute('aria-hidden', 'true');
  5580. element.classList.add('ion-page-hidden');
  5581. view.ref.changeDetectorRef.detach();
  5582. }
  5583. });
  5584. };
  5585. class Config {
  5586. get(key, fallback) {
  5587. const c = getConfig();
  5588. if (c) {
  5589. return c.get(key, fallback);
  5590. }
  5591. return null;
  5592. }
  5593. getBoolean(key, fallback) {
  5594. const c = getConfig();
  5595. if (c) {
  5596. return c.getBoolean(key, fallback);
  5597. }
  5598. return false;
  5599. }
  5600. getNumber(key, fallback) {
  5601. const c = getConfig();
  5602. if (c) {
  5603. return c.getNumber(key, fallback);
  5604. }
  5605. return 0;
  5606. }
  5607. }
  5608. /** @nocollapse */
  5609. Config.ɵfac = function Config_Factory(t) {
  5610. return new (t || Config)();
  5611. };
  5612. /** @nocollapse */
  5613. Config.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
  5614. token: Config,
  5615. factory: Config.ɵfac,
  5616. providedIn: 'root'
  5617. });
  5618. (function () {
  5619. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](Config, [{
  5620. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injectable,
  5621. args: [{
  5622. providedIn: 'root'
  5623. }]
  5624. }], null, null);
  5625. })();
  5626. const ConfigToken = new _angular_core__WEBPACK_IMPORTED_MODULE_2__.InjectionToken('USERCONFIG');
  5627. const getConfig = () => {
  5628. if (typeof window !== 'undefined') {
  5629. const Ionic = window.Ionic;
  5630. if (Ionic === null || Ionic === void 0 ? void 0 : Ionic.config) {
  5631. return Ionic.config;
  5632. }
  5633. }
  5634. return null;
  5635. };
  5636. class Platform {
  5637. constructor(doc, zone) {
  5638. this.doc = doc;
  5639. /**
  5640. * @hidden
  5641. */
  5642. this.backButton = new rxjs__WEBPACK_IMPORTED_MODULE_6__.Subject();
  5643. /**
  5644. * The keyboardDidShow event emits when the
  5645. * on-screen keyboard is presented.
  5646. */
  5647. this.keyboardDidShow = new rxjs__WEBPACK_IMPORTED_MODULE_6__.Subject();
  5648. /**
  5649. * The keyboardDidHide event emits when the
  5650. * on-screen keyboard is hidden.
  5651. */
  5652. this.keyboardDidHide = new rxjs__WEBPACK_IMPORTED_MODULE_6__.Subject();
  5653. /**
  5654. * The pause event emits when the native platform puts the application
  5655. * into the background, typically when the user switches to a different
  5656. * application. This event would emit when a Cordova app is put into
  5657. * the background, however, it would not fire on a standard web browser.
  5658. */
  5659. this.pause = new rxjs__WEBPACK_IMPORTED_MODULE_6__.Subject();
  5660. /**
  5661. * The resume event emits when the native platform pulls the application
  5662. * out from the background. This event would emit when a Cordova app comes
  5663. * out from the background, however, it would not fire on a standard web browser.
  5664. */
  5665. this.resume = new rxjs__WEBPACK_IMPORTED_MODULE_6__.Subject();
  5666. /**
  5667. * The resize event emits when the browser window has changed dimensions. This
  5668. * could be from a browser window being physically resized, or from a device
  5669. * changing orientation.
  5670. */
  5671. this.resize = new rxjs__WEBPACK_IMPORTED_MODULE_6__.Subject();
  5672. zone.run(() => {
  5673. var _a;
  5674. this.win = doc.defaultView;
  5675. this.backButton.subscribeWithPriority = function (priority, callback) {
  5676. return this.subscribe(ev => {
  5677. return ev.register(priority, processNextHandler => zone.run(() => callback(processNextHandler)));
  5678. });
  5679. };
  5680. proxyEvent(this.pause, doc, 'pause');
  5681. proxyEvent(this.resume, doc, 'resume');
  5682. proxyEvent(this.backButton, doc, 'ionBackButton');
  5683. proxyEvent(this.resize, this.win, 'resize');
  5684. proxyEvent(this.keyboardDidShow, this.win, 'ionKeyboardDidShow');
  5685. proxyEvent(this.keyboardDidHide, this.win, 'ionKeyboardDidHide');
  5686. let readyResolve;
  5687. this._readyPromise = new Promise(res => {
  5688. readyResolve = res;
  5689. });
  5690. if ((_a = this.win) === null || _a === void 0 ? void 0 : _a['cordova']) {
  5691. doc.addEventListener('deviceready', () => {
  5692. readyResolve('cordova');
  5693. }, {
  5694. once: true
  5695. });
  5696. } else {
  5697. // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
  5698. readyResolve('dom');
  5699. }
  5700. });
  5701. }
  5702. /**
  5703. * @returns returns true/false based on platform.
  5704. * @description
  5705. * Depending on the platform the user is on, `is(platformName)` will
  5706. * return `true` or `false`. Note that the same app can return `true`
  5707. * for more than one platform name. For example, an app running from
  5708. * an iPad would return `true` for the platform names: `mobile`,
  5709. * `ios`, `ipad`, and `tablet`. Additionally, if the app was running
  5710. * from Cordova then `cordova` would be true, and if it was running
  5711. * from a web browser on the iPad then `mobileweb` would be `true`.
  5712. *
  5713. * ```
  5714. * import { Platform } from 'ionic-angular';
  5715. *
  5716. * @Component({...})
  5717. * export MyPage {
  5718. * constructor(public platform: Platform) {
  5719. * if (this.platform.is('ios')) {
  5720. * // This will only print when on iOS
  5721. * console.log('I am an iOS device!');
  5722. * }
  5723. * }
  5724. * }
  5725. * ```
  5726. *
  5727. * | Platform Name | Description |
  5728. * |-----------------|------------------------------------|
  5729. * | android | on a device running Android. |
  5730. * | capacitor | on a device running Capacitor. |
  5731. * | cordova | on a device running Cordova. |
  5732. * | ios | on a device running iOS. |
  5733. * | ipad | on an iPad device. |
  5734. * | iphone | on an iPhone device. |
  5735. * | phablet | on a phablet device. |
  5736. * | tablet | on a tablet device. |
  5737. * | electron | in Electron on a desktop device. |
  5738. * | pwa | as a PWA app. |
  5739. * | mobile | on a mobile device. |
  5740. * | mobileweb | on a mobile device in a browser. |
  5741. * | desktop | on a desktop device. |
  5742. * | hybrid | is a cordova or capacitor app. |
  5743. *
  5744. */
  5745. is(platformName) {
  5746. return (0,_ionic_core__WEBPACK_IMPORTED_MODULE_0__.isPlatform)(this.win, platformName);
  5747. }
  5748. /**
  5749. * @returns the array of platforms
  5750. * @description
  5751. * Depending on what device you are on, `platforms` can return multiple values.
  5752. * Each possible value is a hierarchy of platforms. For example, on an iPhone,
  5753. * it would return `mobile`, `ios`, and `iphone`.
  5754. *
  5755. * ```
  5756. * import { Platform } from 'ionic-angular';
  5757. *
  5758. * @Component({...})
  5759. * export MyPage {
  5760. * constructor(public platform: Platform) {
  5761. * // This will print an array of the current platforms
  5762. * console.log(this.platform.platforms());
  5763. * }
  5764. * }
  5765. * ```
  5766. */
  5767. platforms() {
  5768. return (0,_ionic_core__WEBPACK_IMPORTED_MODULE_0__.getPlatforms)(this.win);
  5769. }
  5770. /**
  5771. * Returns a promise when the platform is ready and native functionality
  5772. * can be called. If the app is running from within a web browser, then
  5773. * the promise will resolve when the DOM is ready. When the app is running
  5774. * from an application engine such as Cordova, then the promise will
  5775. * resolve when Cordova triggers the `deviceready` event.
  5776. *
  5777. * The resolved value is the `readySource`, which states which platform
  5778. * ready was used. For example, when Cordova is ready, the resolved ready
  5779. * source is `cordova`. The default ready source value will be `dom`. The
  5780. * `readySource` is useful if different logic should run depending on the
  5781. * platform the app is running from. For example, only Cordova can execute
  5782. * the status bar plugin, so the web should not run status bar plugin logic.
  5783. *
  5784. * ```
  5785. * import { Component } from '@angular/core';
  5786. * import { Platform } from 'ionic-angular';
  5787. *
  5788. * @Component({...})
  5789. * export MyApp {
  5790. * constructor(public platform: Platform) {
  5791. * this.platform.ready().then((readySource) => {
  5792. * console.log('Platform ready from', readySource);
  5793. * // Platform now ready, execute any required native code
  5794. * });
  5795. * }
  5796. * }
  5797. * ```
  5798. */
  5799. ready() {
  5800. return this._readyPromise;
  5801. }
  5802. /**
  5803. * Returns if this app is using right-to-left language direction or not.
  5804. * We recommend the app's `index.html` file already has the correct `dir`
  5805. * attribute value set, such as `<html dir="ltr">` or `<html dir="rtl">`.
  5806. * [W3C: Structural markup and right-to-left text in HTML](http://www.w3.org/International/questions/qa-html-dir)
  5807. */
  5808. get isRTL() {
  5809. return this.doc.dir === 'rtl';
  5810. }
  5811. /**
  5812. * Get the query string parameter
  5813. */
  5814. getQueryParam(key) {
  5815. return readQueryParam(this.win.location.href, key);
  5816. }
  5817. /**
  5818. * Returns `true` if the app is in landscape mode.
  5819. */
  5820. isLandscape() {
  5821. return !this.isPortrait();
  5822. }
  5823. /**
  5824. * Returns `true` if the app is in portrait mode.
  5825. */
  5826. isPortrait() {
  5827. var _a, _b;
  5828. return (_b = (_a = this.win).matchMedia) === null || _b === void 0 ? void 0 : _b.call(_a, '(orientation: portrait)').matches;
  5829. }
  5830. testUserAgent(expression) {
  5831. const nav = this.win.navigator;
  5832. return !!((nav === null || nav === void 0 ? void 0 : nav.userAgent) && nav.userAgent.indexOf(expression) >= 0);
  5833. }
  5834. /**
  5835. * Get the current url.
  5836. */
  5837. url() {
  5838. return this.win.location.href;
  5839. }
  5840. /**
  5841. * Gets the width of the platform's viewport using `window.innerWidth`.
  5842. */
  5843. width() {
  5844. return this.win.innerWidth;
  5845. }
  5846. /**
  5847. * Gets the height of the platform's viewport using `window.innerHeight`.
  5848. */
  5849. height() {
  5850. return this.win.innerHeight;
  5851. }
  5852. }
  5853. /** @nocollapse */
  5854. Platform.ɵfac = function Platform_Factory(t) {
  5855. return new (t || Platform)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_7__.DOCUMENT), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  5856. };
  5857. /** @nocollapse */
  5858. Platform.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
  5859. token: Platform,
  5860. factory: Platform.ɵfac,
  5861. providedIn: 'root'
  5862. });
  5863. (function () {
  5864. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](Platform, [{
  5865. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injectable,
  5866. args: [{
  5867. providedIn: 'root'
  5868. }]
  5869. }], function () {
  5870. return [{
  5871. type: undefined,
  5872. decorators: [{
  5873. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Inject,
  5874. args: [_angular_common__WEBPACK_IMPORTED_MODULE_7__.DOCUMENT]
  5875. }]
  5876. }, {
  5877. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  5878. }];
  5879. }, null);
  5880. })();
  5881. const readQueryParam = (url, key) => {
  5882. key = key.replace(/[[\]\\]/g, '\\$&');
  5883. const regex = new RegExp('[\\?&]' + key + '=([^&#]*)');
  5884. const results = regex.exec(url);
  5885. return results ? decodeURIComponent(results[1].replace(/\+/g, ' ')) : null;
  5886. };
  5887. const proxyEvent = (emitter, el, eventName) => {
  5888. if (el) {
  5889. el.addEventListener(eventName, ev => {
  5890. // ?? cordova might emit "null" events
  5891. emitter.next(ev != null ? ev.detail : undefined);
  5892. });
  5893. }
  5894. };
  5895. class NavController {
  5896. constructor(platform, location, serializer, router) {
  5897. this.location = location;
  5898. this.serializer = serializer;
  5899. this.router = router;
  5900. this.direction = DEFAULT_DIRECTION;
  5901. this.animated = DEFAULT_ANIMATED;
  5902. this.guessDirection = 'forward';
  5903. this.lastNavId = -1; // Subscribe to router events to detect direction
  5904. if (router) {
  5905. router.events.subscribe(ev => {
  5906. if (ev instanceof _angular_router__WEBPACK_IMPORTED_MODULE_8__.NavigationStart) {
  5907. const id = ev.restoredState ? ev.restoredState.navigationId : ev.id;
  5908. this.guessDirection = id < this.lastNavId ? 'back' : 'forward';
  5909. this.guessAnimation = !ev.restoredState ? this.guessDirection : undefined;
  5910. this.lastNavId = this.guessDirection === 'forward' ? ev.id : id;
  5911. }
  5912. });
  5913. } // Subscribe to backButton events
  5914. platform.backButton.subscribeWithPriority(0, processNextHandler => {
  5915. this.pop();
  5916. processNextHandler();
  5917. });
  5918. }
  5919. /**
  5920. * This method uses Angular's [Router](https://angular.io/api/router/Router) under the hood,
  5921. * it's equivalent to calling `this.router.navigateByUrl()`, but it's explicit about the **direction** of the transition.
  5922. *
  5923. * Going **forward** means that a new page is going to be pushed to the stack of the outlet (ion-router-outlet),
  5924. * and that it will show a "forward" animation by default.
  5925. *
  5926. * Navigating forward can also be triggered in a declarative manner by using the `[routerDirection]` directive:
  5927. *
  5928. * ```html
  5929. * <a routerLink="/path/to/page" routerDirection="forward">Link</a>
  5930. * ```
  5931. */
  5932. navigateForward(url, options = {}) {
  5933. this.setDirection('forward', options.animated, options.animationDirection, options.animation);
  5934. return this.navigate(url, options);
  5935. }
  5936. /**
  5937. * This method uses Angular's [Router](https://angular.io/api/router/Router) under the hood,
  5938. * it's equivalent to calling:
  5939. *
  5940. * ```ts
  5941. * this.navController.setDirection('back');
  5942. * this.router.navigateByUrl(path);
  5943. * ```
  5944. *
  5945. * Going **back** means that all the pages in the stack until the navigated page is found will be popped,
  5946. * and that it will show a "back" animation by default.
  5947. *
  5948. * Navigating back can also be triggered in a declarative manner by using the `[routerDirection]` directive:
  5949. *
  5950. * ```html
  5951. * <a routerLink="/path/to/page" routerDirection="back">Link</a>
  5952. * ```
  5953. */
  5954. navigateBack(url, options = {}) {
  5955. this.setDirection('back', options.animated, options.animationDirection, options.animation);
  5956. return this.navigate(url, options);
  5957. }
  5958. /**
  5959. * This method uses Angular's [Router](https://angular.io/api/router/Router) under the hood,
  5960. * it's equivalent to calling:
  5961. *
  5962. * ```ts
  5963. * this.navController.setDirection('root');
  5964. * this.router.navigateByUrl(path);
  5965. * ```
  5966. *
  5967. * Going **root** means that all existing pages in the stack will be removed,
  5968. * and the navigated page will become the single page in the stack.
  5969. *
  5970. * Navigating root can also be triggered in a declarative manner by using the `[routerDirection]` directive:
  5971. *
  5972. * ```html
  5973. * <a routerLink="/path/to/page" routerDirection="root">Link</a>
  5974. * ```
  5975. */
  5976. navigateRoot(url, options = {}) {
  5977. this.setDirection('root', options.animated, options.animationDirection, options.animation);
  5978. return this.navigate(url, options);
  5979. }
  5980. /**
  5981. * Same as [Location](https://angular.io/api/common/Location)'s back() method.
  5982. * It will use the standard `window.history.back()` under the hood, but featuring a `back` animation
  5983. * by default.
  5984. */
  5985. back(options = {
  5986. animated: true,
  5987. animationDirection: 'back'
  5988. }) {
  5989. this.setDirection('back', options.animated, options.animationDirection, options.animation);
  5990. return this.location.back();
  5991. }
  5992. /**
  5993. * This methods goes back in the context of Ionic's stack navigation.
  5994. *
  5995. * It recursively finds the top active `ion-router-outlet` and calls `pop()`.
  5996. * This is the recommended way to go back when you are using `ion-router-outlet`.
  5997. */
  5998. pop() {
  5999. return (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__awaiter)(this, void 0, void 0, function* () {
  6000. let outlet = this.topOutlet;
  6001. while (outlet) {
  6002. if (yield outlet.pop()) {
  6003. break;
  6004. } else {
  6005. outlet = outlet.parentOutlet;
  6006. }
  6007. }
  6008. });
  6009. }
  6010. /**
  6011. * This methods specifies the direction of the next navigation performed by the Angular router.
  6012. *
  6013. * `setDirection()` does not trigger any transition, it just sets some flags to be consumed by `ion-router-outlet`.
  6014. *
  6015. * It's recommended to use `navigateForward()`, `navigateBack()` and `navigateRoot()` instead of `setDirection()`.
  6016. */
  6017. setDirection(direction, animated, animationDirection, animationBuilder) {
  6018. this.direction = direction;
  6019. this.animated = getAnimation(direction, animated, animationDirection);
  6020. this.animationBuilder = animationBuilder;
  6021. }
  6022. /**
  6023. * @internal
  6024. */
  6025. setTopOutlet(outlet) {
  6026. this.topOutlet = outlet;
  6027. }
  6028. /**
  6029. * @internal
  6030. */
  6031. consumeTransition() {
  6032. let direction = 'root';
  6033. let animation;
  6034. const animationBuilder = this.animationBuilder;
  6035. if (this.direction === 'auto') {
  6036. direction = this.guessDirection;
  6037. animation = this.guessAnimation;
  6038. } else {
  6039. animation = this.animated;
  6040. direction = this.direction;
  6041. }
  6042. this.direction = DEFAULT_DIRECTION;
  6043. this.animated = DEFAULT_ANIMATED;
  6044. this.animationBuilder = undefined;
  6045. return {
  6046. direction,
  6047. animation,
  6048. animationBuilder
  6049. };
  6050. }
  6051. navigate(url, options) {
  6052. if (Array.isArray(url)) {
  6053. // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
  6054. return this.router.navigate(url, options);
  6055. } else {
  6056. /**
  6057. * navigateByUrl ignores any properties that
  6058. * would change the url, so things like queryParams
  6059. * would be ignored unless we create a url tree
  6060. * More Info: https://github.com/angular/angular/issues/18798
  6061. */
  6062. const urlTree = this.serializer.parse(url.toString());
  6063. if (options.queryParams !== undefined) {
  6064. urlTree.queryParams = Object.assign({}, options.queryParams);
  6065. }
  6066. if (options.fragment !== undefined) {
  6067. urlTree.fragment = options.fragment;
  6068. }
  6069. /**
  6070. * `navigateByUrl` will still apply `NavigationExtras` properties
  6071. * that do not modify the url, such as `replaceUrl` which is why
  6072. * `options` is passed in here.
  6073. */
  6074. // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
  6075. return this.router.navigateByUrl(urlTree, options);
  6076. }
  6077. }
  6078. }
  6079. /** @nocollapse */
  6080. NavController.ɵfac = function NavController_Factory(t) {
  6081. return new (t || NavController)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](Platform), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_7__.Location), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](_angular_router__WEBPACK_IMPORTED_MODULE_8__.UrlSerializer), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](_angular_router__WEBPACK_IMPORTED_MODULE_8__.Router, 8));
  6082. };
  6083. /** @nocollapse */
  6084. NavController.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
  6085. token: NavController,
  6086. factory: NavController.ɵfac,
  6087. providedIn: 'root'
  6088. });
  6089. (function () {
  6090. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](NavController, [{
  6091. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injectable,
  6092. args: [{
  6093. providedIn: 'root'
  6094. }]
  6095. }], function () {
  6096. return [{
  6097. type: Platform
  6098. }, {
  6099. type: _angular_common__WEBPACK_IMPORTED_MODULE_7__.Location
  6100. }, {
  6101. type: _angular_router__WEBPACK_IMPORTED_MODULE_8__.UrlSerializer
  6102. }, {
  6103. type: _angular_router__WEBPACK_IMPORTED_MODULE_8__.Router,
  6104. decorators: [{
  6105. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Optional
  6106. }]
  6107. }];
  6108. }, null);
  6109. })();
  6110. const getAnimation = (direction, animated, animationDirection) => {
  6111. if (animated === false) {
  6112. return undefined;
  6113. }
  6114. if (animationDirection !== undefined) {
  6115. return animationDirection;
  6116. }
  6117. if (direction === 'forward' || direction === 'back') {
  6118. return direction;
  6119. } else if (direction === 'root' && animated === true) {
  6120. return 'forward';
  6121. }
  6122. return undefined;
  6123. };
  6124. const DEFAULT_DIRECTION = 'auto';
  6125. const DEFAULT_ANIMATED = undefined; // eslint-disable-next-line @angular-eslint/directive-class-suffix
  6126. class IonRouterOutlet {
  6127. constructor(parentContexts, location, name, tabs, config, navCtrl, componentFactoryResolver, commonLocation, elementRef, router, zone, activatedRoute, parentOutlet) {
  6128. this.parentContexts = parentContexts;
  6129. this.location = location;
  6130. this.config = config;
  6131. this.navCtrl = navCtrl;
  6132. this.componentFactoryResolver = componentFactoryResolver;
  6133. this.parentOutlet = parentOutlet;
  6134. this.activated = null;
  6135. this.activatedView = null;
  6136. this._activatedRoute = null; // Maintain map of activated route proxies for each component instance
  6137. this.proxyMap = new WeakMap(); // Keep the latest activated route in a subject for the proxy routes to switch map to
  6138. this.currentActivatedRoute$ = new rxjs__WEBPACK_IMPORTED_MODULE_9__.BehaviorSubject(null);
  6139. this.stackEvents = new _angular_core__WEBPACK_IMPORTED_MODULE_2__.EventEmitter(); // eslint-disable-next-line @angular-eslint/no-output-rename
  6140. this.activateEvents = new _angular_core__WEBPACK_IMPORTED_MODULE_2__.EventEmitter(); // eslint-disable-next-line @angular-eslint/no-output-rename
  6141. this.deactivateEvents = new _angular_core__WEBPACK_IMPORTED_MODULE_2__.EventEmitter();
  6142. this.nativeEl = elementRef.nativeElement;
  6143. this.name = name || _angular_router__WEBPACK_IMPORTED_MODULE_8__.PRIMARY_OUTLET;
  6144. this.tabsPrefix = tabs === 'true' ? getUrl(router, activatedRoute) : undefined;
  6145. this.stackCtrl = new StackController(this.tabsPrefix, this.nativeEl, router, navCtrl, zone, commonLocation);
  6146. parentContexts.onChildOutletCreated(this.name, this);
  6147. }
  6148. set animation(animation) {
  6149. this.nativeEl.animation = animation;
  6150. }
  6151. set animated(animated) {
  6152. this.nativeEl.animated = animated;
  6153. }
  6154. set swipeGesture(swipe) {
  6155. this._swipeGesture = swipe;
  6156. this.nativeEl.swipeHandler = swipe ? {
  6157. canStart: () => this.stackCtrl.canGoBack(1) && !this.stackCtrl.hasRunningTask(),
  6158. onStart: () => this.stackCtrl.startBackTransition(),
  6159. onEnd: shouldContinue => this.stackCtrl.endBackTransition(shouldContinue)
  6160. } : undefined;
  6161. }
  6162. ngOnDestroy() {
  6163. this.stackCtrl.destroy();
  6164. }
  6165. getContext() {
  6166. return this.parentContexts.getContext(this.name);
  6167. }
  6168. ngOnInit() {
  6169. if (!this.activated) {
  6170. // If the outlet was not instantiated at the time the route got activated we need to populate
  6171. // the outlet when it is initialized (ie inside a NgIf)
  6172. const context = this.getContext();
  6173. if (context === null || context === void 0 ? void 0 : context.route) {
  6174. this.activateWith(context.route, context.resolver || null);
  6175. }
  6176. }
  6177. new Promise(resolve => (0,_ionic_core__WEBPACK_IMPORTED_MODULE_0__.componentOnReady)(this.nativeEl, resolve)).then(() => {
  6178. if (this._swipeGesture === undefined) {
  6179. this.swipeGesture = this.config.getBoolean('swipeBackEnabled', this.nativeEl.mode === 'ios');
  6180. }
  6181. });
  6182. }
  6183. get isActivated() {
  6184. return !!this.activated;
  6185. }
  6186. get component() {
  6187. if (!this.activated) {
  6188. throw new Error('Outlet is not activated');
  6189. }
  6190. return this.activated.instance;
  6191. }
  6192. get activatedRoute() {
  6193. if (!this.activated) {
  6194. throw new Error('Outlet is not activated');
  6195. }
  6196. return this._activatedRoute;
  6197. }
  6198. get activatedRouteData() {
  6199. if (this._activatedRoute) {
  6200. return this._activatedRoute.snapshot.data;
  6201. }
  6202. return {};
  6203. }
  6204. /**
  6205. * Called when the `RouteReuseStrategy` instructs to detach the subtree
  6206. */
  6207. detach() {
  6208. throw new Error('incompatible reuse strategy');
  6209. }
  6210. /**
  6211. * Called when the `RouteReuseStrategy` instructs to re-attach a previously detached subtree
  6212. */
  6213. // eslint-disable-next-line @typescript-eslint/no-unused-vars
  6214. attach(_ref, _activatedRoute) {
  6215. throw new Error('incompatible reuse strategy');
  6216. }
  6217. deactivate() {
  6218. if (this.activated) {
  6219. if (this.activatedView) {
  6220. // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
  6221. const context = this.getContext();
  6222. this.activatedView.savedData = new Map(context.children['contexts']);
  6223. /**
  6224. * Angular v11.2.10 introduced a change
  6225. * where this route context is cleared out when
  6226. * a router-outlet is deactivated, However,
  6227. * we need this route information in order to
  6228. * return a user back to the correct tab when
  6229. * leaving and then going back to the tab context.
  6230. */
  6231. const primaryOutlet = this.activatedView.savedData.get('primary');
  6232. if (primaryOutlet && context.route) {
  6233. primaryOutlet.route = Object.assign({}, context.route);
  6234. }
  6235. /**
  6236. * Ensure we are saving the NavigationExtras
  6237. * data otherwise it will be lost
  6238. */
  6239. this.activatedView.savedExtras = {};
  6240. if (context.route) {
  6241. const contextSnapshot = context.route.snapshot;
  6242. this.activatedView.savedExtras.queryParams = contextSnapshot.queryParams;
  6243. this.activatedView.savedExtras.fragment = contextSnapshot.fragment;
  6244. }
  6245. }
  6246. const c = this.component;
  6247. this.activatedView = null;
  6248. this.activated = null;
  6249. this._activatedRoute = null;
  6250. this.deactivateEvents.emit(c);
  6251. }
  6252. }
  6253. activateWith(activatedRoute, resolverOrInjector) {
  6254. var _a;
  6255. if (this.isActivated) {
  6256. throw new Error('Cannot activate an already activated outlet');
  6257. }
  6258. this._activatedRoute = activatedRoute;
  6259. let cmpRef;
  6260. let enteringView = this.stackCtrl.getExistingView(activatedRoute);
  6261. if (enteringView) {
  6262. cmpRef = this.activated = enteringView.ref;
  6263. const saved = enteringView.savedData;
  6264. if (saved) {
  6265. // self-restore
  6266. // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
  6267. const context = this.getContext();
  6268. context.children['contexts'] = saved;
  6269. } // Updated activated route proxy for this component
  6270. this.updateActivatedRouteProxy(cmpRef.instance, activatedRoute);
  6271. } else {
  6272. const snapshot = activatedRoute._futureSnapshot;
  6273. /**
  6274. * Angular 14 introduces a new `loadComponent` property to the route config.
  6275. * This function will assign a `component` property to the route snapshot.
  6276. * We check for the presence of this property to determine if the route is
  6277. * using standalone components.
  6278. */
  6279. // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
  6280. if (snapshot.routeConfig.component == null && this.environmentInjector == null) {
  6281. console.warn('[Ionic Warning]: You must supply an environmentInjector to use standalone components with routing:\n\n' + 'In your component class, add:\n\n' + ` import { EnvironmentInjector } from '@angular/core';\n` + ' constructor(public environmentInjector: EnvironmentInjector) {}\n' + '\n' + 'In your router outlet template, add:\n\n' + ' <ion-router-outlet [environmentInjector]="environmentInjector"></ion-router-outlet>\n\n' + 'Alternatively, if you are routing within ion-tabs:\n\n' + ' <ion-tabs [environmentInjector]="environmentInjector"></ion-tabs>');
  6282. return;
  6283. }
  6284. const childContexts = this.parentContexts.getOrCreateContext(this.name).children; // We create an activated route proxy object that will maintain future updates for this component
  6285. // over its lifecycle in the stack.
  6286. const component$ = new rxjs__WEBPACK_IMPORTED_MODULE_9__.BehaviorSubject(null);
  6287. const activatedRouteProxy = this.createActivatedRouteProxy(component$, activatedRoute);
  6288. const injector = new OutletInjector(activatedRouteProxy, childContexts, this.location.injector);
  6289. /**
  6290. * The resolver is not always provided and is required in Angular 12.
  6291. * Fallback to the class-level provider when the resolver is not set.
  6292. */
  6293. resolverOrInjector = resolverOrInjector || this.componentFactoryResolver; // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
  6294. const component = (_a = snapshot.routeConfig.component) !== null && _a !== void 0 ? _a : snapshot.component;
  6295. if (resolverOrInjector && isComponentFactoryResolver(resolverOrInjector)) {
  6296. // Backwards compatibility for Angular 13 and lower
  6297. const factory = resolverOrInjector.resolveComponentFactory(component);
  6298. cmpRef = this.activated = this.location.createComponent(factory, this.location.length, injector);
  6299. } else {
  6300. /**
  6301. * Angular 14 and higher.
  6302. *
  6303. * TODO: FW-1641: Migrate once Angular 13 support is dropped.
  6304. *
  6305. * When we drop < Angular 14, we can replace the following code with:
  6306. * ```ts
  6307. const environmentInjector = resolverOrInjector ?? this.environmentInjector;
  6308. cmpRef = this.activated = location.createComponent(component, {
  6309. index: location.length,
  6310. injector,
  6311. environmentInjector,
  6312. });
  6313. * ```
  6314. * where `this.environmentInjector` is a provider of `EnvironmentInjector` from @angular/core.
  6315. */
  6316. const environmentInjector = resolverOrInjector !== null && resolverOrInjector !== void 0 ? resolverOrInjector : this.environmentInjector;
  6317. cmpRef = this.activated = this.location.createComponent(component, {
  6318. index: this.location.length,
  6319. injector,
  6320. environmentInjector
  6321. });
  6322. } // Once the component is created we can push it to our local subject supplied to the proxy
  6323. component$.next(cmpRef.instance); // Calling `markForCheck` to make sure we will run the change detection when the
  6324. // `RouterOutlet` is inside a `ChangeDetectionStrategy.OnPush` component.
  6325. enteringView = this.stackCtrl.createView(this.activated, activatedRoute); // Store references to the proxy by component
  6326. this.proxyMap.set(cmpRef.instance, activatedRouteProxy);
  6327. this.currentActivatedRoute$.next({
  6328. component: cmpRef.instance,
  6329. activatedRoute
  6330. });
  6331. }
  6332. this.activatedView = enteringView;
  6333. /**
  6334. * The top outlet is set prior to the entering view's transition completing,
  6335. * so that when we have nested outlets (e.g. ion-tabs inside an ion-router-outlet),
  6336. * the tabs outlet will be assigned as the top outlet when a view inside tabs is
  6337. * activated.
  6338. *
  6339. * In this scenario, activeWith is called for both the tabs and the root router outlet.
  6340. * To avoid a race condition, we assign the top outlet synchronously.
  6341. */
  6342. this.navCtrl.setTopOutlet(this);
  6343. this.stackCtrl.setActive(enteringView).then(data => {
  6344. this.activateEvents.emit(cmpRef.instance);
  6345. this.stackEvents.emit(data);
  6346. });
  6347. }
  6348. /**
  6349. * Returns `true` if there are pages in the stack to go back.
  6350. */
  6351. canGoBack(deep = 1, stackId) {
  6352. return this.stackCtrl.canGoBack(deep, stackId);
  6353. }
  6354. /**
  6355. * Resolves to `true` if it the outlet was able to sucessfully pop the last N pages.
  6356. */
  6357. pop(deep = 1, stackId) {
  6358. return this.stackCtrl.pop(deep, stackId);
  6359. }
  6360. /**
  6361. * Returns the URL of the active page of each stack.
  6362. */
  6363. getLastUrl(stackId) {
  6364. const active = this.stackCtrl.getLastUrl(stackId);
  6365. return active ? active.url : undefined;
  6366. }
  6367. /**
  6368. * Returns the RouteView of the active page of each stack.
  6369. * @internal
  6370. */
  6371. getLastRouteView(stackId) {
  6372. return this.stackCtrl.getLastUrl(stackId);
  6373. }
  6374. /**
  6375. * Returns the root view in the tab stack.
  6376. * @internal
  6377. */
  6378. getRootView(stackId) {
  6379. return this.stackCtrl.getRootUrl(stackId);
  6380. }
  6381. /**
  6382. * Returns the active stack ID. In the context of ion-tabs, it means the active tab.
  6383. */
  6384. getActiveStackId() {
  6385. return this.stackCtrl.getActiveStackId();
  6386. }
  6387. /**
  6388. * Since the activated route can change over the life time of a component in an ion router outlet, we create
  6389. * a proxy so that we can update the values over time as a user navigates back to components already in the stack.
  6390. */
  6391. createActivatedRouteProxy(component$, activatedRoute) {
  6392. const proxy = new _angular_router__WEBPACK_IMPORTED_MODULE_8__.ActivatedRoute();
  6393. proxy._futureSnapshot = activatedRoute._futureSnapshot;
  6394. proxy._routerState = activatedRoute._routerState;
  6395. proxy.snapshot = activatedRoute.snapshot;
  6396. proxy.outlet = activatedRoute.outlet;
  6397. proxy.component = activatedRoute.component; // Setup wrappers for the observables so consumers don't have to worry about switching to new observables as the state updates
  6398. proxy._paramMap = this.proxyObservable(component$, 'paramMap');
  6399. proxy._queryParamMap = this.proxyObservable(component$, 'queryParamMap');
  6400. proxy.url = this.proxyObservable(component$, 'url');
  6401. proxy.params = this.proxyObservable(component$, 'params');
  6402. proxy.queryParams = this.proxyObservable(component$, 'queryParams');
  6403. proxy.fragment = this.proxyObservable(component$, 'fragment');
  6404. proxy.data = this.proxyObservable(component$, 'data');
  6405. return proxy;
  6406. }
  6407. /**
  6408. * Create a wrapped observable that will switch to the latest activated route matched by the given component
  6409. */
  6410. proxyObservable(component$, path) {
  6411. return component$.pipe( // First wait until the component instance is pushed
  6412. (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.filter)(component => !!component), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.switchMap)(component => this.currentActivatedRoute$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.filter)(current => current !== null && current.component === component), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.switchMap)(current => current && current.activatedRoute[path]), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.distinctUntilChanged)())));
  6413. }
  6414. /**
  6415. * Updates the activated route proxy for the given component to the new incoming router state
  6416. */
  6417. updateActivatedRouteProxy(component, activatedRoute) {
  6418. const proxy = this.proxyMap.get(component);
  6419. if (!proxy) {
  6420. throw new Error(`Could not find activated route proxy for view`);
  6421. }
  6422. proxy._futureSnapshot = activatedRoute._futureSnapshot;
  6423. proxy._routerState = activatedRoute._routerState;
  6424. proxy.snapshot = activatedRoute.snapshot;
  6425. proxy.outlet = activatedRoute.outlet;
  6426. proxy.component = activatedRoute.component;
  6427. this.currentActivatedRoute$.next({
  6428. component,
  6429. activatedRoute
  6430. });
  6431. }
  6432. }
  6433. /** @nocollapse */
  6434. IonRouterOutlet.ɵfac = function IonRouterOutlet_Factory(t) {
  6435. return new (t || IonRouterOutlet)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_8__.ChildrenOutletContexts), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ViewContainerRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinjectAttribute"]('name'), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinjectAttribute"]('tabs'), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](Config), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](NavController), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ComponentFactoryResolver, 8), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_common__WEBPACK_IMPORTED_MODULE_7__.Location), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_8__.Router), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_8__.ActivatedRoute), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](IonRouterOutlet, 12));
  6436. };
  6437. /** @nocollapse */
  6438. IonRouterOutlet.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineDirective"]({
  6439. type: IonRouterOutlet,
  6440. selectors: [["ion-router-outlet"]],
  6441. inputs: {
  6442. animated: "animated",
  6443. animation: "animation",
  6444. mode: "mode",
  6445. swipeGesture: "swipeGesture",
  6446. environmentInjector: "environmentInjector"
  6447. },
  6448. outputs: {
  6449. stackEvents: "stackEvents",
  6450. activateEvents: "activate",
  6451. deactivateEvents: "deactivate"
  6452. },
  6453. exportAs: ["outlet"]
  6454. });
  6455. (function () {
  6456. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonRouterOutlet, [{
  6457. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Directive,
  6458. args: [{
  6459. selector: 'ion-router-outlet',
  6460. exportAs: 'outlet',
  6461. // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
  6462. inputs: ['animated', 'animation', 'mode', 'swipeGesture']
  6463. }]
  6464. }], function () {
  6465. return [{
  6466. type: _angular_router__WEBPACK_IMPORTED_MODULE_8__.ChildrenOutletContexts
  6467. }, {
  6468. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ViewContainerRef
  6469. }, {
  6470. type: undefined,
  6471. decorators: [{
  6472. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Attribute,
  6473. args: ['name']
  6474. }]
  6475. }, {
  6476. type: undefined,
  6477. decorators: [{
  6478. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Optional
  6479. }, {
  6480. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Attribute,
  6481. args: ['tabs']
  6482. }]
  6483. }, {
  6484. type: Config
  6485. }, {
  6486. type: NavController
  6487. }, {
  6488. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ComponentFactoryResolver,
  6489. decorators: [{
  6490. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Optional
  6491. }]
  6492. }, {
  6493. type: _angular_common__WEBPACK_IMPORTED_MODULE_7__.Location
  6494. }, {
  6495. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  6496. }, {
  6497. type: _angular_router__WEBPACK_IMPORTED_MODULE_8__.Router
  6498. }, {
  6499. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  6500. }, {
  6501. type: _angular_router__WEBPACK_IMPORTED_MODULE_8__.ActivatedRoute
  6502. }, {
  6503. type: IonRouterOutlet,
  6504. decorators: [{
  6505. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.SkipSelf
  6506. }, {
  6507. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Optional
  6508. }]
  6509. }];
  6510. }, {
  6511. environmentInjector: [{
  6512. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Input
  6513. }],
  6514. stackEvents: [{
  6515. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Output
  6516. }],
  6517. activateEvents: [{
  6518. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Output,
  6519. args: ['activate']
  6520. }],
  6521. deactivateEvents: [{
  6522. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Output,
  6523. args: ['deactivate']
  6524. }]
  6525. });
  6526. })();
  6527. class OutletInjector {
  6528. constructor(route, childContexts, parent) {
  6529. this.route = route;
  6530. this.childContexts = childContexts;
  6531. this.parent = parent;
  6532. }
  6533. get(token, notFoundValue) {
  6534. if (token === _angular_router__WEBPACK_IMPORTED_MODULE_8__.ActivatedRoute) {
  6535. return this.route;
  6536. }
  6537. if (token === _angular_router__WEBPACK_IMPORTED_MODULE_8__.ChildrenOutletContexts) {
  6538. return this.childContexts;
  6539. }
  6540. return this.parent.get(token, notFoundValue);
  6541. }
  6542. } // eslint-disable-next-line @angular-eslint/component-class-suffix
  6543. class IonTabs {
  6544. constructor(navCtrl) {
  6545. this.navCtrl = navCtrl;
  6546. this.ionTabsWillChange = new _angular_core__WEBPACK_IMPORTED_MODULE_2__.EventEmitter();
  6547. this.ionTabsDidChange = new _angular_core__WEBPACK_IMPORTED_MODULE_2__.EventEmitter();
  6548. }
  6549. /**
  6550. * @internal
  6551. */
  6552. onPageSelected(detail) {
  6553. const stackId = detail.enteringView.stackId;
  6554. if (detail.tabSwitch && stackId !== undefined) {
  6555. this.ionTabsWillChange.emit({
  6556. tab: stackId
  6557. });
  6558. if (this.tabBar) {
  6559. this.tabBar.selectedTab = stackId;
  6560. }
  6561. this.ionTabsDidChange.emit({
  6562. tab: stackId
  6563. });
  6564. }
  6565. }
  6566. /**
  6567. * When a tab button is clicked, there are several scenarios:
  6568. * 1. If the selected tab is currently active (the tab button has been clicked
  6569. * again), then it should go to the root view for that tab.
  6570. *
  6571. * a. Get the saved root view from the router outlet. If the saved root view
  6572. * matches the tabRootUrl, set the route view to this view including the
  6573. * navigation extras.
  6574. * b. If the saved root view from the router outlet does
  6575. * not match, navigate to the tabRootUrl. No navigation extras are
  6576. * included.
  6577. *
  6578. * 2. If the current tab tab is not currently selected, get the last route
  6579. * view from the router outlet.
  6580. *
  6581. * a. If the last route view exists, navigate to that view including any
  6582. * navigation extras
  6583. * b. If the last route view doesn't exist, then navigate
  6584. * to the default tabRootUrl
  6585. */
  6586. select(tabOrEvent) {
  6587. const isTabString = typeof tabOrEvent === 'string';
  6588. const tab = isTabString ? tabOrEvent : tabOrEvent.detail.tab;
  6589. const alreadySelected = this.outlet.getActiveStackId() === tab;
  6590. const tabRootUrl = `${this.outlet.tabsPrefix}/${tab}`;
  6591. /**
  6592. * If this is a nested tab, prevent the event
  6593. * from bubbling otherwise the outer tabs
  6594. * will respond to this event too, causing
  6595. * the app to get directed to the wrong place.
  6596. */
  6597. if (!isTabString) {
  6598. tabOrEvent.stopPropagation();
  6599. }
  6600. if (alreadySelected) {
  6601. const activeStackId = this.outlet.getActiveStackId();
  6602. const activeView = this.outlet.getLastRouteView(activeStackId); // If on root tab, do not navigate to root tab again
  6603. if ((activeView === null || activeView === void 0 ? void 0 : activeView.url) === tabRootUrl) {
  6604. return;
  6605. }
  6606. const rootView = this.outlet.getRootView(tab);
  6607. const navigationExtras = rootView && tabRootUrl === rootView.url && rootView.savedExtras;
  6608. return this.navCtrl.navigateRoot(tabRootUrl, Object.assign(Object.assign({}, navigationExtras), {
  6609. animated: true,
  6610. animationDirection: 'back'
  6611. }));
  6612. } else {
  6613. const lastRoute = this.outlet.getLastRouteView(tab);
  6614. /**
  6615. * If there is a lastRoute, goto that, otherwise goto the fallback url of the
  6616. * selected tab
  6617. */
  6618. const url = (lastRoute === null || lastRoute === void 0 ? void 0 : lastRoute.url) || tabRootUrl;
  6619. const navigationExtras = lastRoute === null || lastRoute === void 0 ? void 0 : lastRoute.savedExtras;
  6620. return this.navCtrl.navigateRoot(url, Object.assign(Object.assign({}, navigationExtras), {
  6621. animated: true,
  6622. animationDirection: 'back'
  6623. }));
  6624. }
  6625. }
  6626. getSelected() {
  6627. return this.outlet.getActiveStackId();
  6628. }
  6629. }
  6630. /** @nocollapse */
  6631. IonTabs.ɵfac = function IonTabs_Factory(t) {
  6632. return new (t || IonTabs)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](NavController));
  6633. };
  6634. /** @nocollapse */
  6635. IonTabs.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  6636. type: IonTabs,
  6637. selectors: [["ion-tabs"]],
  6638. contentQueries: function IonTabs_ContentQueries(rf, ctx, dirIndex) {
  6639. if (rf & 1) {
  6640. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵcontentQuery"](dirIndex, IonTabBar, 5);
  6641. }
  6642. if (rf & 2) {
  6643. let _t;
  6644. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵloadQuery"]()) && (ctx.tabBar = _t.first);
  6645. }
  6646. },
  6647. viewQuery: function IonTabs_Query(rf, ctx) {
  6648. if (rf & 1) {
  6649. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵviewQuery"](_c1, 5, IonRouterOutlet);
  6650. }
  6651. if (rf & 2) {
  6652. let _t;
  6653. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵloadQuery"]()) && (ctx.outlet = _t.first);
  6654. }
  6655. },
  6656. hostBindings: function IonTabs_HostBindings(rf, ctx) {
  6657. if (rf & 1) {
  6658. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("ionTabButtonClick", function IonTabs_ionTabButtonClick_HostBindingHandler($event) {
  6659. return ctx.select($event);
  6660. });
  6661. }
  6662. },
  6663. inputs: {
  6664. environmentInjector: "environmentInjector"
  6665. },
  6666. outputs: {
  6667. ionTabsWillChange: "ionTabsWillChange",
  6668. ionTabsDidChange: "ionTabsDidChange"
  6669. },
  6670. ngContentSelectors: _c3,
  6671. decls: 5,
  6672. vars: 1,
  6673. consts: [[1, "tabs-inner"], ["tabs", "true", 3, "environmentInjector", "stackEvents"], ["outlet", ""]],
  6674. template: function IonTabs_Template(rf, ctx) {
  6675. if (rf & 1) {
  6676. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"](_c2);
  6677. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  6678. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](1, "div", 0)(2, "ion-router-outlet", 1, 2);
  6679. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("stackEvents", function IonTabs_Template_ion_router_outlet_stackEvents_2_listener($event) {
  6680. return ctx.onPageSelected($event);
  6681. });
  6682. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()();
  6683. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](4, 1);
  6684. }
  6685. if (rf & 2) {
  6686. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2);
  6687. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("environmentInjector", ctx.environmentInjector);
  6688. }
  6689. },
  6690. dependencies: [IonRouterOutlet],
  6691. styles: ["[_nghost-%COMP%] {\n display: flex;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n\n flex-direction: column;\n\n width: 100%;\n height: 100%;\n\n contain: layout size style;\n z-index: $z-index-page-container;\n }\n .tabs-inner[_ngcontent-%COMP%] {\n position: relative;\n\n flex: 1;\n\n contain: layout size style;\n }"]
  6692. });
  6693. (function () {
  6694. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonTabs, [{
  6695. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  6696. args: [{
  6697. selector: 'ion-tabs',
  6698. template: ` <ng-content select="[slot=top]"></ng-content>
  6699. <div class="tabs-inner">
  6700. <ion-router-outlet
  6701. #outlet
  6702. tabs="true"
  6703. [environmentInjector]="environmentInjector"
  6704. (stackEvents)="onPageSelected($event)"
  6705. ></ion-router-outlet>
  6706. </div>
  6707. <ng-content></ng-content>`,
  6708. styles: [`
  6709. :host {
  6710. display: flex;
  6711. position: absolute;
  6712. top: 0;
  6713. left: 0;
  6714. right: 0;
  6715. bottom: 0;
  6716. flex-direction: column;
  6717. width: 100%;
  6718. height: 100%;
  6719. contain: layout size style;
  6720. z-index: $z-index-page-container;
  6721. }
  6722. .tabs-inner {
  6723. position: relative;
  6724. flex: 1;
  6725. contain: layout size style;
  6726. }
  6727. `]
  6728. }]
  6729. }], function () {
  6730. return [{
  6731. type: NavController
  6732. }];
  6733. }, {
  6734. outlet: [{
  6735. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ViewChild,
  6736. args: ['outlet', {
  6737. read: IonRouterOutlet,
  6738. static: false
  6739. }]
  6740. }],
  6741. tabBar: [{
  6742. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ContentChild,
  6743. args: [IonTabBar, {
  6744. static: false
  6745. }]
  6746. }],
  6747. environmentInjector: [{
  6748. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Input
  6749. }],
  6750. ionTabsWillChange: [{
  6751. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Output
  6752. }],
  6753. ionTabsDidChange: [{
  6754. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Output
  6755. }],
  6756. select: [{
  6757. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.HostListener,
  6758. args: ['ionTabButtonClick', ['$event']]
  6759. }]
  6760. });
  6761. })();
  6762. class IonBackButtonDelegateDirective {
  6763. constructor(routerOutlet, navCtrl, config) {
  6764. this.routerOutlet = routerOutlet;
  6765. this.navCtrl = navCtrl;
  6766. this.config = config;
  6767. }
  6768. /**
  6769. * @internal
  6770. */
  6771. onClick(ev) {
  6772. var _a;
  6773. const defaultHref = this.defaultHref || this.config.get('backButtonDefaultHref');
  6774. if ((_a = this.routerOutlet) === null || _a === void 0 ? void 0 : _a.canGoBack()) {
  6775. this.navCtrl.setDirection('back', undefined, undefined, this.routerAnimation);
  6776. this.routerOutlet.pop();
  6777. ev.preventDefault();
  6778. } else if (defaultHref != null) {
  6779. this.navCtrl.navigateBack(defaultHref, {
  6780. animation: this.routerAnimation
  6781. });
  6782. ev.preventDefault();
  6783. }
  6784. }
  6785. }
  6786. /** @nocollapse */
  6787. IonBackButtonDelegateDirective.ɵfac = function IonBackButtonDelegateDirective_Factory(t) {
  6788. return new (t || IonBackButtonDelegateDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](IonRouterOutlet, 8), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](NavController), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](Config));
  6789. };
  6790. /** @nocollapse */
  6791. IonBackButtonDelegateDirective.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineDirective"]({
  6792. type: IonBackButtonDelegateDirective,
  6793. selectors: [["ion-back-button"]],
  6794. hostBindings: function IonBackButtonDelegateDirective_HostBindings(rf, ctx) {
  6795. if (rf & 1) {
  6796. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("click", function IonBackButtonDelegateDirective_click_HostBindingHandler($event) {
  6797. return ctx.onClick($event);
  6798. });
  6799. }
  6800. },
  6801. inputs: {
  6802. defaultHref: "defaultHref",
  6803. routerAnimation: "routerAnimation"
  6804. }
  6805. });
  6806. (function () {
  6807. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonBackButtonDelegateDirective, [{
  6808. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Directive,
  6809. args: [{
  6810. selector: 'ion-back-button'
  6811. }]
  6812. }], function () {
  6813. return [{
  6814. type: IonRouterOutlet,
  6815. decorators: [{
  6816. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Optional
  6817. }]
  6818. }, {
  6819. type: NavController
  6820. }, {
  6821. type: Config
  6822. }];
  6823. }, {
  6824. defaultHref: [{
  6825. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Input
  6826. }],
  6827. routerAnimation: [{
  6828. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Input
  6829. }],
  6830. onClick: [{
  6831. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.HostListener,
  6832. args: ['click', ['$event']]
  6833. }]
  6834. });
  6835. })();
  6836. let NavDelegate = class NavDelegate {
  6837. constructor(ref, resolver, injector, angularDelegate, location) {
  6838. this.el = ref.nativeElement;
  6839. ref.nativeElement.delegate = angularDelegate.create(resolver, injector, location);
  6840. proxyOutputs(this, this.el, ['ionNavDidChange', 'ionNavWillChange']);
  6841. }
  6842. };
  6843. /** @nocollapse */
  6844. NavDelegate.ɵfac = function NavDelegate_Factory(t) {
  6845. return new (t || NavDelegate)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ComponentFactoryResolver), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.Injector), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](AngularDelegate), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ViewContainerRef));
  6846. };
  6847. /** @nocollapse */
  6848. NavDelegate.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineDirective"]({
  6849. type: NavDelegate,
  6850. selectors: [["ion-nav"]]
  6851. });
  6852. NavDelegate = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  6853. inputs: ['animated', 'animation', 'root', 'rootParams', 'swipeGesture'],
  6854. methods: ['push', 'insert', 'insertPages', 'pop', 'popTo', 'popToRoot', 'removeIndex', 'setRoot', 'setPages', 'getActive', 'getByIndex', 'canGoBack', 'getPrevious']
  6855. })], NavDelegate);
  6856. (function () {
  6857. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](NavDelegate, [{
  6858. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Directive,
  6859. args: [{
  6860. selector: 'ion-nav'
  6861. }]
  6862. }], function () {
  6863. return [{
  6864. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  6865. }, {
  6866. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ComponentFactoryResolver
  6867. }, {
  6868. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injector
  6869. }, {
  6870. type: AngularDelegate
  6871. }, {
  6872. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ViewContainerRef
  6873. }];
  6874. }, null);
  6875. })();
  6876. /**
  6877. * Adds support for Ionic routing directions and animations to the base Angular router link directive.
  6878. *
  6879. * When the router link is clicked, the directive will assign the direction and
  6880. * animation so that the routing integration will transition correctly.
  6881. */
  6882. class RouterLinkDelegateDirective {
  6883. constructor(locationStrategy, navCtrl, elementRef, router, routerLink) {
  6884. this.locationStrategy = locationStrategy;
  6885. this.navCtrl = navCtrl;
  6886. this.elementRef = elementRef;
  6887. this.router = router;
  6888. this.routerLink = routerLink;
  6889. this.routerDirection = 'forward';
  6890. }
  6891. ngOnInit() {
  6892. this.updateTargetUrlAndHref();
  6893. }
  6894. ngOnChanges() {
  6895. this.updateTargetUrlAndHref();
  6896. }
  6897. updateTargetUrlAndHref() {
  6898. var _a;
  6899. if ((_a = this.routerLink) === null || _a === void 0 ? void 0 : _a.urlTree) {
  6900. const href = this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));
  6901. this.elementRef.nativeElement.href = href;
  6902. }
  6903. }
  6904. /**
  6905. * @internal
  6906. */
  6907. onClick(ev) {
  6908. this.navCtrl.setDirection(this.routerDirection, undefined, undefined, this.routerAnimation);
  6909. /**
  6910. * This prevents the browser from
  6911. * performing a page reload when pressing
  6912. * an Ionic component with routerLink.
  6913. * The page reload interferes with routing
  6914. * and causes ion-back-button to disappear
  6915. * since the local history is wiped on reload.
  6916. */
  6917. ev.preventDefault();
  6918. }
  6919. }
  6920. /** @nocollapse */
  6921. RouterLinkDelegateDirective.ɵfac = function RouterLinkDelegateDirective_Factory(t) {
  6922. return new (t || RouterLinkDelegateDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_common__WEBPACK_IMPORTED_MODULE_7__.LocationStrategy), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](NavController), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_8__.Router), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_8__.RouterLink, 8));
  6923. };
  6924. /** @nocollapse */
  6925. RouterLinkDelegateDirective.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineDirective"]({
  6926. type: RouterLinkDelegateDirective,
  6927. selectors: [["", "routerLink", "", 5, "a", 5, "area"]],
  6928. hostBindings: function RouterLinkDelegateDirective_HostBindings(rf, ctx) {
  6929. if (rf & 1) {
  6930. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("click", function RouterLinkDelegateDirective_click_HostBindingHandler($event) {
  6931. return ctx.onClick($event);
  6932. });
  6933. }
  6934. },
  6935. inputs: {
  6936. routerDirection: "routerDirection",
  6937. routerAnimation: "routerAnimation"
  6938. },
  6939. features: [_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵNgOnChangesFeature"]]
  6940. });
  6941. (function () {
  6942. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](RouterLinkDelegateDirective, [{
  6943. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Directive,
  6944. args: [{
  6945. selector: ':not(a):not(area)[routerLink]'
  6946. }]
  6947. }], function () {
  6948. return [{
  6949. type: _angular_common__WEBPACK_IMPORTED_MODULE_7__.LocationStrategy
  6950. }, {
  6951. type: NavController
  6952. }, {
  6953. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  6954. }, {
  6955. type: _angular_router__WEBPACK_IMPORTED_MODULE_8__.Router
  6956. }, {
  6957. type: _angular_router__WEBPACK_IMPORTED_MODULE_8__.RouterLink,
  6958. decorators: [{
  6959. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Optional
  6960. }]
  6961. }];
  6962. }, {
  6963. routerDirection: [{
  6964. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Input
  6965. }],
  6966. routerAnimation: [{
  6967. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Input
  6968. }],
  6969. onClick: [{
  6970. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.HostListener,
  6971. args: ['click', ['$event']]
  6972. }]
  6973. });
  6974. })();
  6975. class RouterLinkWithHrefDelegateDirective {
  6976. constructor(locationStrategy, navCtrl, elementRef, router, routerLink) {
  6977. this.locationStrategy = locationStrategy;
  6978. this.navCtrl = navCtrl;
  6979. this.elementRef = elementRef;
  6980. this.router = router;
  6981. this.routerLink = routerLink;
  6982. this.routerDirection = 'forward';
  6983. }
  6984. ngOnInit() {
  6985. this.updateTargetUrlAndHref();
  6986. }
  6987. ngOnChanges() {
  6988. this.updateTargetUrlAndHref();
  6989. }
  6990. updateTargetUrlAndHref() {
  6991. var _a;
  6992. if ((_a = this.routerLink) === null || _a === void 0 ? void 0 : _a.urlTree) {
  6993. const href = this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));
  6994. this.elementRef.nativeElement.href = href;
  6995. }
  6996. }
  6997. /**
  6998. * @internal
  6999. */
  7000. onClick() {
  7001. this.navCtrl.setDirection(this.routerDirection, undefined, undefined, this.routerAnimation);
  7002. }
  7003. }
  7004. /** @nocollapse */
  7005. RouterLinkWithHrefDelegateDirective.ɵfac = function RouterLinkWithHrefDelegateDirective_Factory(t) {
  7006. return new (t || RouterLinkWithHrefDelegateDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_common__WEBPACK_IMPORTED_MODULE_7__.LocationStrategy), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](NavController), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_8__.Router), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_8__.RouterLink, 8));
  7007. };
  7008. /** @nocollapse */
  7009. RouterLinkWithHrefDelegateDirective.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineDirective"]({
  7010. type: RouterLinkWithHrefDelegateDirective,
  7011. selectors: [["a", "routerLink", ""], ["area", "routerLink", ""]],
  7012. hostBindings: function RouterLinkWithHrefDelegateDirective_HostBindings(rf, ctx) {
  7013. if (rf & 1) {
  7014. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("click", function RouterLinkWithHrefDelegateDirective_click_HostBindingHandler() {
  7015. return ctx.onClick();
  7016. });
  7017. }
  7018. },
  7019. inputs: {
  7020. routerDirection: "routerDirection",
  7021. routerAnimation: "routerAnimation"
  7022. },
  7023. features: [_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵNgOnChangesFeature"]]
  7024. });
  7025. (function () {
  7026. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](RouterLinkWithHrefDelegateDirective, [{
  7027. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Directive,
  7028. args: [{
  7029. selector: 'a[routerLink],area[routerLink]'
  7030. }]
  7031. }], function () {
  7032. return [{
  7033. type: _angular_common__WEBPACK_IMPORTED_MODULE_7__.LocationStrategy
  7034. }, {
  7035. type: NavController
  7036. }, {
  7037. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  7038. }, {
  7039. type: _angular_router__WEBPACK_IMPORTED_MODULE_8__.Router
  7040. }, {
  7041. type: _angular_router__WEBPACK_IMPORTED_MODULE_8__.RouterLink,
  7042. decorators: [{
  7043. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Optional
  7044. }]
  7045. }];
  7046. }, {
  7047. routerDirection: [{
  7048. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Input
  7049. }],
  7050. routerAnimation: [{
  7051. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Input
  7052. }],
  7053. onClick: [{
  7054. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.HostListener,
  7055. args: ['click']
  7056. }]
  7057. });
  7058. })();
  7059. /**
  7060. * @hidden
  7061. */
  7062. class VirtualFooter {
  7063. constructor(templateRef) {
  7064. this.templateRef = templateRef;
  7065. }
  7066. }
  7067. /** @nocollapse */
  7068. VirtualFooter.ɵfac = function VirtualFooter_Factory(t) {
  7069. return new (t || VirtualFooter)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.TemplateRef));
  7070. };
  7071. /** @nocollapse */
  7072. VirtualFooter.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineDirective"]({
  7073. type: VirtualFooter,
  7074. selectors: [["", "virtualFooter", ""]]
  7075. });
  7076. (function () {
  7077. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](VirtualFooter, [{
  7078. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Directive,
  7079. args: [{
  7080. selector: '[virtualFooter]'
  7081. }]
  7082. }], function () {
  7083. return [{
  7084. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.TemplateRef
  7085. }];
  7086. }, null);
  7087. })();
  7088. /**
  7089. * @hidden
  7090. */
  7091. class VirtualHeader {
  7092. constructor(templateRef) {
  7093. this.templateRef = templateRef;
  7094. }
  7095. }
  7096. /** @nocollapse */
  7097. VirtualHeader.ɵfac = function VirtualHeader_Factory(t) {
  7098. return new (t || VirtualHeader)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.TemplateRef));
  7099. };
  7100. /** @nocollapse */
  7101. VirtualHeader.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineDirective"]({
  7102. type: VirtualHeader,
  7103. selectors: [["", "virtualHeader", ""]]
  7104. });
  7105. (function () {
  7106. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](VirtualHeader, [{
  7107. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Directive,
  7108. args: [{
  7109. selector: '[virtualHeader]'
  7110. }]
  7111. }], function () {
  7112. return [{
  7113. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.TemplateRef
  7114. }];
  7115. }, null);
  7116. })();
  7117. /**
  7118. * @hidden
  7119. */
  7120. class VirtualItem {
  7121. constructor(templateRef, viewContainer) {
  7122. this.templateRef = templateRef;
  7123. this.viewContainer = viewContainer;
  7124. }
  7125. }
  7126. /** @nocollapse */
  7127. VirtualItem.ɵfac = function VirtualItem_Factory(t) {
  7128. return new (t || VirtualItem)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.TemplateRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ViewContainerRef));
  7129. };
  7130. /** @nocollapse */
  7131. VirtualItem.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineDirective"]({
  7132. type: VirtualItem,
  7133. selectors: [["", "virtualItem", ""]]
  7134. });
  7135. (function () {
  7136. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](VirtualItem, [{
  7137. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Directive,
  7138. args: [{
  7139. selector: '[virtualItem]'
  7140. }]
  7141. }], function () {
  7142. return [{
  7143. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.TemplateRef
  7144. }, {
  7145. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ViewContainerRef
  7146. }];
  7147. }, null);
  7148. })();
  7149. let IonVirtualScroll = class IonVirtualScroll {
  7150. constructor(z, iterableDiffers, elementRef) {
  7151. this.z = z;
  7152. this.iterableDiffers = iterableDiffers;
  7153. this.refMap = new WeakMap();
  7154. this.el = elementRef.nativeElement;
  7155. this.el.nodeRender = this.nodeRender.bind(this);
  7156. }
  7157. ngOnChanges(changes) {
  7158. if (this.trackBy && 'items' in changes) {
  7159. // React on virtualScroll changes only once all inputs have been initialized
  7160. const value = changes['items'].currentValue;
  7161. if (this.differ === undefined && value != null) {
  7162. try {
  7163. this.differ = this.iterableDiffers.find(value).create(this.trackBy);
  7164. } catch (e) {
  7165. throw new Error(`Cannot find a differ supporting object '${value}'. VirtualScroll only supports binding to Iterables such as Arrays.`);
  7166. }
  7167. }
  7168. }
  7169. }
  7170. ngDoCheck() {
  7171. // and if there actually are changes
  7172. const changes = this.differ !== undefined && this.items ? this.differ.diff(this.items) : null;
  7173. if (changes === null) {
  7174. return;
  7175. } // TODO: optimize
  7176. this.checkRange(0);
  7177. }
  7178. nodeRender(el, cell, index) {
  7179. return this.z.run(() => {
  7180. let node;
  7181. if (!el) {
  7182. node = this.itmTmp.viewContainer.createEmbeddedView(this.getComponent(cell.type), {
  7183. $implicit: cell.value,
  7184. index
  7185. }, index);
  7186. el = getElement(node);
  7187. this.refMap.set(el, node);
  7188. } else {
  7189. node = this.refMap.get(el);
  7190. const ctx = node.context;
  7191. ctx.$implicit = cell.value;
  7192. ctx.index = cell.index;
  7193. } // run sync change detections
  7194. node.detectChanges();
  7195. return el;
  7196. });
  7197. }
  7198. getComponent(type) {
  7199. switch (type) {
  7200. case 'item':
  7201. return this.itmTmp.templateRef;
  7202. case 'header':
  7203. return this.hdrTmp.templateRef;
  7204. case 'footer':
  7205. return this.ftrTmp.templateRef;
  7206. default:
  7207. throw new Error('template for virtual item was not provided');
  7208. }
  7209. }
  7210. };
  7211. /** @nocollapse */
  7212. IonVirtualScroll.ɵfac = function IonVirtualScroll_Factory(t) {
  7213. return new (t || IonVirtualScroll)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.IterableDiffers), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef));
  7214. };
  7215. /** @nocollapse */
  7216. IonVirtualScroll.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  7217. type: IonVirtualScroll,
  7218. selectors: [["ion-virtual-scroll"]],
  7219. contentQueries: function IonVirtualScroll_ContentQueries(rf, ctx, dirIndex) {
  7220. if (rf & 1) {
  7221. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵcontentQuery"](dirIndex, VirtualItem, 5);
  7222. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵcontentQuery"](dirIndex, VirtualHeader, 5);
  7223. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵcontentQuery"](dirIndex, VirtualFooter, 5);
  7224. }
  7225. if (rf & 2) {
  7226. let _t;
  7227. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵloadQuery"]()) && (ctx.itmTmp = _t.first);
  7228. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵloadQuery"]()) && (ctx.hdrTmp = _t.first);
  7229. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵloadQuery"]()) && (ctx.ftrTmp = _t.first);
  7230. }
  7231. },
  7232. inputs: {
  7233. approxItemHeight: "approxItemHeight",
  7234. approxHeaderHeight: "approxHeaderHeight",
  7235. approxFooterHeight: "approxFooterHeight",
  7236. headerFn: "headerFn",
  7237. footerFn: "footerFn",
  7238. items: "items",
  7239. itemHeight: "itemHeight",
  7240. headerHeight: "headerHeight",
  7241. footerHeight: "footerHeight",
  7242. trackBy: "trackBy"
  7243. },
  7244. features: [_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵNgOnChangesFeature"]],
  7245. ngContentSelectors: _c0,
  7246. decls: 1,
  7247. vars: 0,
  7248. template: function IonVirtualScroll_Template(rf, ctx) {
  7249. if (rf & 1) {
  7250. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
  7251. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
  7252. }
  7253. },
  7254. encapsulation: 2,
  7255. changeDetection: 0
  7256. });
  7257. IonVirtualScroll = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  7258. inputs: ['approxItemHeight', 'approxHeaderHeight', 'approxFooterHeight', 'headerFn', 'footerFn', 'items', 'itemHeight', 'headerHeight', 'footerHeight'],
  7259. methods: ['checkEnd', 'checkRange', 'positionForItem']
  7260. })], IonVirtualScroll);
  7261. (function () {
  7262. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonVirtualScroll, [{
  7263. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  7264. args: [{
  7265. selector: 'ion-virtual-scroll',
  7266. template: '<ng-content></ng-content>',
  7267. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  7268. inputs: ['approxItemHeight', 'approxHeaderHeight', 'approxFooterHeight', 'headerFn', 'footerFn', 'items', 'itemHeight', 'headerHeight', 'footerHeight', 'trackBy']
  7269. }]
  7270. }], function () {
  7271. return [{
  7272. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  7273. }, {
  7274. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.IterableDiffers
  7275. }, {
  7276. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  7277. }];
  7278. }, {
  7279. itmTmp: [{
  7280. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ContentChild,
  7281. args: [VirtualItem, {
  7282. static: false
  7283. }]
  7284. }],
  7285. hdrTmp: [{
  7286. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ContentChild,
  7287. args: [VirtualHeader, {
  7288. static: false
  7289. }]
  7290. }],
  7291. ftrTmp: [{
  7292. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ContentChild,
  7293. args: [VirtualFooter, {
  7294. static: false
  7295. }]
  7296. }]
  7297. });
  7298. })();
  7299. const getElement = view => {
  7300. const rootNodes = view.rootNodes;
  7301. for (let i = 0; i < rootNodes.length; i++) {
  7302. if (rootNodes[i].nodeType === 1) {
  7303. return rootNodes[i];
  7304. }
  7305. }
  7306. throw new Error('virtual element was not created');
  7307. };
  7308. let IonModal = class IonModal {
  7309. constructor(c, r, z) {
  7310. this.z = z;
  7311. this.isCmpOpen = false;
  7312. this.el = r.nativeElement;
  7313. this.el.addEventListener('willPresent', () => {
  7314. this.isCmpOpen = true;
  7315. c.detectChanges();
  7316. });
  7317. this.el.addEventListener('didDismiss', () => {
  7318. this.isCmpOpen = false;
  7319. c.detectChanges();
  7320. });
  7321. proxyOutputs(this, this.el, ['ionModalDidPresent', 'ionModalWillPresent', 'ionModalWillDismiss', 'ionModalDidDismiss', 'ionBreakpointDidChange', 'didPresent', 'willPresent', 'willDismiss', 'didDismiss']);
  7322. }
  7323. };
  7324. /** @nocollapse */
  7325. IonModal.ɵfac = function IonModal_Factory(t) {
  7326. return new (t || IonModal)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  7327. };
  7328. /** @nocollapse */
  7329. IonModal.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  7330. type: IonModal,
  7331. selectors: [["ion-modal"]],
  7332. contentQueries: function IonModal_ContentQueries(rf, ctx, dirIndex) {
  7333. if (rf & 1) {
  7334. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵcontentQuery"](dirIndex, _angular_core__WEBPACK_IMPORTED_MODULE_2__.TemplateRef, 5);
  7335. }
  7336. if (rf & 2) {
  7337. let _t;
  7338. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵloadQuery"]()) && (ctx.template = _t.first);
  7339. }
  7340. },
  7341. inputs: {
  7342. animated: "animated",
  7343. keepContentsMounted: "keepContentsMounted",
  7344. backdropBreakpoint: "backdropBreakpoint",
  7345. backdropDismiss: "backdropDismiss",
  7346. breakpoints: "breakpoints",
  7347. canDismiss: "canDismiss",
  7348. cssClass: "cssClass",
  7349. enterAnimation: "enterAnimation",
  7350. event: "event",
  7351. handle: "handle",
  7352. handleBehavior: "handleBehavior",
  7353. initialBreakpoint: "initialBreakpoint",
  7354. isOpen: "isOpen",
  7355. keyboardClose: "keyboardClose",
  7356. leaveAnimation: "leaveAnimation",
  7357. mode: "mode",
  7358. presentingElement: "presentingElement",
  7359. showBackdrop: "showBackdrop",
  7360. swipeToClose: "swipeToClose",
  7361. translucent: "translucent",
  7362. trigger: "trigger"
  7363. },
  7364. decls: 1,
  7365. vars: 1,
  7366. consts: [["class", "ion-page", 4, "ngIf"], [1, "ion-page"], [3, "ngTemplateOutlet"]],
  7367. template: function IonModal_Template(rf, ctx) {
  7368. if (rf & 1) {
  7369. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](0, IonModal_div_0_Template, 2, 1, "div", 0);
  7370. }
  7371. if (rf & 2) {
  7372. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx.isCmpOpen || ctx.keepContentsMounted);
  7373. }
  7374. },
  7375. dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_7__.NgIf, _angular_common__WEBPACK_IMPORTED_MODULE_7__.NgTemplateOutlet],
  7376. encapsulation: 2,
  7377. changeDetection: 0
  7378. });
  7379. IonModal = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  7380. inputs: ['animated', 'keepContentsMounted', 'backdropBreakpoint', 'backdropDismiss', 'breakpoints', 'canDismiss', 'cssClass', 'enterAnimation', 'event', 'handle', 'handleBehavior', 'initialBreakpoint', 'isOpen', 'keyboardClose', 'leaveAnimation', 'mode', 'presentingElement', 'showBackdrop', 'swipeToClose', 'translucent', 'trigger'],
  7381. methods: ['present', 'dismiss', 'onDidDismiss', 'onWillDismiss', 'setCurrentBreakpoint', 'getCurrentBreakpoint']
  7382. })], IonModal);
  7383. (function () {
  7384. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonModal, [{
  7385. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  7386. args: [{
  7387. selector: 'ion-modal',
  7388. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  7389. template: `<div class="ion-page" *ngIf="isCmpOpen || keepContentsMounted">
  7390. <ng-container [ngTemplateOutlet]="template"></ng-container>
  7391. </div>`,
  7392. inputs: ['animated', 'keepContentsMounted', 'backdropBreakpoint', 'backdropDismiss', 'breakpoints', 'canDismiss', 'cssClass', 'enterAnimation', 'event', 'handle', 'handleBehavior', 'initialBreakpoint', 'isOpen', 'keyboardClose', 'leaveAnimation', 'mode', 'presentingElement', 'showBackdrop', 'swipeToClose', 'translucent', 'trigger']
  7393. }]
  7394. }], function () {
  7395. return [{
  7396. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  7397. }, {
  7398. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  7399. }, {
  7400. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  7401. }];
  7402. }, {
  7403. template: [{
  7404. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ContentChild,
  7405. args: [_angular_core__WEBPACK_IMPORTED_MODULE_2__.TemplateRef, {
  7406. static: false
  7407. }]
  7408. }]
  7409. });
  7410. })();
  7411. let IonPopover = class IonPopover {
  7412. constructor(c, r, z) {
  7413. this.z = z;
  7414. this.isCmpOpen = false;
  7415. this.el = r.nativeElement;
  7416. this.el.addEventListener('willPresent', () => {
  7417. this.isCmpOpen = true;
  7418. c.detectChanges();
  7419. });
  7420. this.el.addEventListener('didDismiss', () => {
  7421. this.isCmpOpen = false;
  7422. c.detectChanges();
  7423. });
  7424. proxyOutputs(this, this.el, ['ionPopoverDidPresent', 'ionPopoverWillPresent', 'ionPopoverWillDismiss', 'ionPopoverDidDismiss', 'didPresent', 'willPresent', 'willDismiss', 'didDismiss']);
  7425. }
  7426. };
  7427. /** @nocollapse */
  7428. IonPopover.ɵfac = function IonPopover_Factory(t) {
  7429. return new (t || IonPopover)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  7430. };
  7431. /** @nocollapse */
  7432. IonPopover.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
  7433. type: IonPopover,
  7434. selectors: [["ion-popover"]],
  7435. contentQueries: function IonPopover_ContentQueries(rf, ctx, dirIndex) {
  7436. if (rf & 1) {
  7437. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵcontentQuery"](dirIndex, _angular_core__WEBPACK_IMPORTED_MODULE_2__.TemplateRef, 5);
  7438. }
  7439. if (rf & 2) {
  7440. let _t;
  7441. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵloadQuery"]()) && (ctx.template = _t.first);
  7442. }
  7443. },
  7444. inputs: {
  7445. alignment: "alignment",
  7446. animated: "animated",
  7447. arrow: "arrow",
  7448. keepContentsMounted: "keepContentsMounted",
  7449. backdropDismiss: "backdropDismiss",
  7450. cssClass: "cssClass",
  7451. dismissOnSelect: "dismissOnSelect",
  7452. enterAnimation: "enterAnimation",
  7453. event: "event",
  7454. isOpen: "isOpen",
  7455. keyboardClose: "keyboardClose",
  7456. leaveAnimation: "leaveAnimation",
  7457. mode: "mode",
  7458. showBackdrop: "showBackdrop",
  7459. translucent: "translucent",
  7460. trigger: "trigger",
  7461. triggerAction: "triggerAction",
  7462. reference: "reference",
  7463. size: "size",
  7464. side: "side"
  7465. },
  7466. decls: 1,
  7467. vars: 1,
  7468. consts: [[3, "ngTemplateOutlet", 4, "ngIf"], [3, "ngTemplateOutlet"]],
  7469. template: function IonPopover_Template(rf, ctx) {
  7470. if (rf & 1) {
  7471. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](0, IonPopover_ng_container_0_Template, 1, 1, "ng-container", 0);
  7472. }
  7473. if (rf & 2) {
  7474. _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx.isCmpOpen || ctx.keepContentsMounted);
  7475. }
  7476. },
  7477. dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_7__.NgIf, _angular_common__WEBPACK_IMPORTED_MODULE_7__.NgTemplateOutlet],
  7478. encapsulation: 2,
  7479. changeDetection: 0
  7480. });
  7481. IonPopover = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
  7482. inputs: ['alignment', 'animated', 'arrow', 'keepContentsMounted', 'backdropDismiss', 'cssClass', 'dismissOnSelect', 'enterAnimation', 'event', 'isOpen', 'keyboardClose', 'leaveAnimation', 'mode', 'showBackdrop', 'translucent', 'trigger', 'triggerAction', 'reference', 'size', 'side'],
  7483. methods: ['present', 'dismiss', 'onDidDismiss', 'onWillDismiss']
  7484. })], IonPopover);
  7485. (function () {
  7486. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonPopover, [{
  7487. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
  7488. args: [{
  7489. selector: 'ion-popover',
  7490. changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
  7491. template: `<ng-container [ngTemplateOutlet]="template" *ngIf="isCmpOpen || keepContentsMounted"></ng-container>`,
  7492. inputs: ['alignment', 'animated', 'arrow', 'keepContentsMounted', 'backdropDismiss', 'cssClass', 'dismissOnSelect', 'enterAnimation', 'event', 'isOpen', 'keyboardClose', 'leaveAnimation', 'mode', 'showBackdrop', 'translucent', 'trigger', 'triggerAction', 'reference', 'size', 'side']
  7493. }]
  7494. }], function () {
  7495. return [{
  7496. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
  7497. }, {
  7498. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
  7499. }, {
  7500. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  7501. }];
  7502. }, {
  7503. template: [{
  7504. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ContentChild,
  7505. args: [_angular_core__WEBPACK_IMPORTED_MODULE_2__.TemplateRef, {
  7506. static: false
  7507. }]
  7508. }]
  7509. });
  7510. })();
  7511. class OverlayBaseController {
  7512. constructor(ctrl) {
  7513. this.ctrl = ctrl;
  7514. }
  7515. /**
  7516. * Creates a new overlay
  7517. */
  7518. create(opts) {
  7519. // TODO: next major release opts is not optional
  7520. return this.ctrl.create(opts || {});
  7521. }
  7522. /**
  7523. * When `id` is not provided, it dismisses the top overlay.
  7524. */
  7525. dismiss(data, role, id) {
  7526. return this.ctrl.dismiss(data, role, id);
  7527. }
  7528. /**
  7529. * Returns the top overlay.
  7530. */
  7531. getTop() {
  7532. return this.ctrl.getTop();
  7533. }
  7534. }
  7535. class ActionSheetController extends OverlayBaseController {
  7536. constructor() {
  7537. super(_ionic_core__WEBPACK_IMPORTED_MODULE_0__.actionSheetController);
  7538. }
  7539. }
  7540. /** @nocollapse */
  7541. ActionSheetController.ɵfac = function ActionSheetController_Factory(t) {
  7542. return new (t || ActionSheetController)();
  7543. };
  7544. /** @nocollapse */
  7545. ActionSheetController.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
  7546. token: ActionSheetController,
  7547. factory: ActionSheetController.ɵfac,
  7548. providedIn: 'root'
  7549. });
  7550. (function () {
  7551. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](ActionSheetController, [{
  7552. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injectable,
  7553. args: [{
  7554. providedIn: 'root'
  7555. }]
  7556. }], function () {
  7557. return [];
  7558. }, null);
  7559. })();
  7560. class AlertController extends OverlayBaseController {
  7561. constructor() {
  7562. super(_ionic_core__WEBPACK_IMPORTED_MODULE_0__.alertController);
  7563. }
  7564. }
  7565. /** @nocollapse */
  7566. AlertController.ɵfac = function AlertController_Factory(t) {
  7567. return new (t || AlertController)();
  7568. };
  7569. /** @nocollapse */
  7570. AlertController.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
  7571. token: AlertController,
  7572. factory: AlertController.ɵfac,
  7573. providedIn: 'root'
  7574. });
  7575. (function () {
  7576. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](AlertController, [{
  7577. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injectable,
  7578. args: [{
  7579. providedIn: 'root'
  7580. }]
  7581. }], function () {
  7582. return [];
  7583. }, null);
  7584. })();
  7585. class LoadingController extends OverlayBaseController {
  7586. constructor() {
  7587. super(_ionic_core__WEBPACK_IMPORTED_MODULE_0__.loadingController);
  7588. }
  7589. }
  7590. /** @nocollapse */
  7591. LoadingController.ɵfac = function LoadingController_Factory(t) {
  7592. return new (t || LoadingController)();
  7593. };
  7594. /** @nocollapse */
  7595. LoadingController.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
  7596. token: LoadingController,
  7597. factory: LoadingController.ɵfac,
  7598. providedIn: 'root'
  7599. });
  7600. (function () {
  7601. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](LoadingController, [{
  7602. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injectable,
  7603. args: [{
  7604. providedIn: 'root'
  7605. }]
  7606. }], function () {
  7607. return [];
  7608. }, null);
  7609. })();
  7610. class MenuController {
  7611. /**
  7612. * Programmatically open the Menu.
  7613. * @param [menuId] Optionally get the menu by its id, or side.
  7614. * @return returns a promise when the menu is fully opened
  7615. */
  7616. open(menuId) {
  7617. return _ionic_core__WEBPACK_IMPORTED_MODULE_0__.menuController.open(menuId);
  7618. }
  7619. /**
  7620. * Programmatically close the Menu. If no `menuId` is given as the first
  7621. * argument then it'll close any menu which is open. If a `menuId`
  7622. * is given then it'll close that exact menu.
  7623. * @param [menuId] Optionally get the menu by its id, or side.
  7624. * @return returns a promise when the menu is fully closed
  7625. */
  7626. close(menuId) {
  7627. return _ionic_core__WEBPACK_IMPORTED_MODULE_0__.menuController.close(menuId);
  7628. }
  7629. /**
  7630. * Toggle the menu. If it's closed, it will open, and if opened, it
  7631. * will close.
  7632. * @param [menuId] Optionally get the menu by its id, or side.
  7633. * @return returns a promise when the menu has been toggled
  7634. */
  7635. toggle(menuId) {
  7636. return _ionic_core__WEBPACK_IMPORTED_MODULE_0__.menuController.toggle(menuId);
  7637. }
  7638. /**
  7639. * Used to enable or disable a menu. For example, there could be multiple
  7640. * left menus, but only one of them should be able to be opened at the same
  7641. * time. If there are multiple menus on the same side, then enabling one menu
  7642. * will also automatically disable all the others that are on the same side.
  7643. * @param [menuId] Optionally get the menu by its id, or side.
  7644. * @return Returns the instance of the menu, which is useful for chaining.
  7645. */
  7646. enable(shouldEnable, menuId) {
  7647. return _ionic_core__WEBPACK_IMPORTED_MODULE_0__.menuController.enable(shouldEnable, menuId);
  7648. }
  7649. /**
  7650. * Used to enable or disable the ability to swipe open the menu.
  7651. * @param shouldEnable True if it should be swipe-able, false if not.
  7652. * @param [menuId] Optionally get the menu by its id, or side.
  7653. * @return Returns the instance of the menu, which is useful for chaining.
  7654. */
  7655. swipeGesture(shouldEnable, menuId) {
  7656. return _ionic_core__WEBPACK_IMPORTED_MODULE_0__.menuController.swipeGesture(shouldEnable, menuId);
  7657. }
  7658. /**
  7659. * @param [menuId] Optionally get the menu by its id, or side.
  7660. * @return Returns true if the specified menu is currently open, otherwise false.
  7661. * If the menuId is not specified, it returns true if ANY menu is currenly open.
  7662. */
  7663. isOpen(menuId) {
  7664. return _ionic_core__WEBPACK_IMPORTED_MODULE_0__.menuController.isOpen(menuId);
  7665. }
  7666. /**
  7667. * @param [menuId] Optionally get the menu by its id, or side.
  7668. * @return Returns true if the menu is currently enabled, otherwise false.
  7669. */
  7670. isEnabled(menuId) {
  7671. return _ionic_core__WEBPACK_IMPORTED_MODULE_0__.menuController.isEnabled(menuId);
  7672. }
  7673. /**
  7674. * Used to get a menu instance. If a `menuId` is not provided then it'll
  7675. * return the first menu found. If a `menuId` is `left` or `right`, then
  7676. * it'll return the enabled menu on that side. Otherwise, if a `menuId` is
  7677. * provided, then it'll try to find the menu using the menu's `id`
  7678. * property. If a menu is not found then it'll return `null`.
  7679. * @param [menuId] Optionally get the menu by its id, or side.
  7680. * @return Returns the instance of the menu if found, otherwise `null`.
  7681. */
  7682. get(menuId) {
  7683. return _ionic_core__WEBPACK_IMPORTED_MODULE_0__.menuController.get(menuId);
  7684. }
  7685. /**
  7686. * @return Returns the instance of the menu already opened, otherwise `null`.
  7687. */
  7688. getOpen() {
  7689. return _ionic_core__WEBPACK_IMPORTED_MODULE_0__.menuController.getOpen();
  7690. }
  7691. /**
  7692. * @return Returns an array of all menu instances.
  7693. */
  7694. getMenus() {
  7695. return _ionic_core__WEBPACK_IMPORTED_MODULE_0__.menuController.getMenus();
  7696. }
  7697. }
  7698. /** @nocollapse */
  7699. MenuController.ɵfac = function MenuController_Factory(t) {
  7700. return new (t || MenuController)();
  7701. };
  7702. /** @nocollapse */
  7703. MenuController.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
  7704. token: MenuController,
  7705. factory: MenuController.ɵfac,
  7706. providedIn: 'root'
  7707. });
  7708. (function () {
  7709. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](MenuController, [{
  7710. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injectable,
  7711. args: [{
  7712. providedIn: 'root'
  7713. }]
  7714. }], null, null);
  7715. })();
  7716. class PickerController extends OverlayBaseController {
  7717. constructor() {
  7718. super(_ionic_core__WEBPACK_IMPORTED_MODULE_0__.pickerController);
  7719. }
  7720. }
  7721. /** @nocollapse */
  7722. PickerController.ɵfac = function PickerController_Factory(t) {
  7723. return new (t || PickerController)();
  7724. };
  7725. /** @nocollapse */
  7726. PickerController.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
  7727. token: PickerController,
  7728. factory: PickerController.ɵfac,
  7729. providedIn: 'root'
  7730. });
  7731. (function () {
  7732. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](PickerController, [{
  7733. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injectable,
  7734. args: [{
  7735. providedIn: 'root'
  7736. }]
  7737. }], function () {
  7738. return [];
  7739. }, null);
  7740. })();
  7741. /**
  7742. * An `Injector` that's part of the environment injector hierarchy, which exists outside of the
  7743. * component tree.
  7744. *
  7745. * @developerPreview
  7746. */
  7747. class EnvironmentInjector {}
  7748. class ModalController extends OverlayBaseController {
  7749. constructor(angularDelegate, resolver, injector, // TODO: FW-1641: Migrate to Angular's version once Angular 13 is dropped
  7750. environmentInjector) {
  7751. super(_ionic_core__WEBPACK_IMPORTED_MODULE_0__.modalController);
  7752. this.angularDelegate = angularDelegate;
  7753. this.resolver = resolver;
  7754. this.injector = injector;
  7755. this.environmentInjector = environmentInjector;
  7756. }
  7757. create(opts) {
  7758. var _a;
  7759. return super.create(Object.assign(Object.assign({}, opts), {
  7760. delegate: this.angularDelegate.create((_a = this.resolver) !== null && _a !== void 0 ? _a : this.environmentInjector, this.injector)
  7761. }));
  7762. }
  7763. }
  7764. /** @nocollapse */
  7765. ModalController.ɵfac = function ModalController_Factory(t) {
  7766. return new (t || ModalController)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](AngularDelegate), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ComponentFactoryResolver), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.Injector), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](EnvironmentInjector, 8));
  7767. };
  7768. /** @nocollapse */
  7769. ModalController.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
  7770. token: ModalController,
  7771. factory: ModalController.ɵfac
  7772. });
  7773. (function () {
  7774. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](ModalController, [{
  7775. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injectable
  7776. }], function () {
  7777. return [{
  7778. type: AngularDelegate
  7779. }, {
  7780. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ComponentFactoryResolver
  7781. }, {
  7782. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injector
  7783. }, {
  7784. type: EnvironmentInjector,
  7785. decorators: [{
  7786. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Optional
  7787. }]
  7788. }];
  7789. }, null);
  7790. })();
  7791. class PopoverController extends OverlayBaseController {
  7792. constructor(angularDelegate, resolver, injector, // TODO: FW-1641: Migrate to Angular's version once Angular 13 is dropped
  7793. environmentInjector) {
  7794. super(_ionic_core__WEBPACK_IMPORTED_MODULE_0__.popoverController);
  7795. this.angularDelegate = angularDelegate;
  7796. this.resolver = resolver;
  7797. this.injector = injector;
  7798. this.environmentInjector = environmentInjector;
  7799. }
  7800. create(opts) {
  7801. var _a;
  7802. return super.create(Object.assign(Object.assign({}, opts), {
  7803. delegate: this.angularDelegate.create((_a = this.resolver) !== null && _a !== void 0 ? _a : this.environmentInjector, this.injector)
  7804. }));
  7805. }
  7806. }
  7807. /** @nocollapse */
  7808. PopoverController.ɵfac = function PopoverController_Factory(t) {
  7809. return new (t || PopoverController)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](AngularDelegate), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ComponentFactoryResolver), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.Injector), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](EnvironmentInjector, 8));
  7810. };
  7811. /** @nocollapse */
  7812. PopoverController.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
  7813. token: PopoverController,
  7814. factory: PopoverController.ɵfac
  7815. });
  7816. (function () {
  7817. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](PopoverController, [{
  7818. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injectable
  7819. }], function () {
  7820. return [{
  7821. type: AngularDelegate
  7822. }, {
  7823. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ComponentFactoryResolver
  7824. }, {
  7825. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injector
  7826. }, {
  7827. type: EnvironmentInjector,
  7828. decorators: [{
  7829. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Optional
  7830. }]
  7831. }];
  7832. }, null);
  7833. })();
  7834. class ToastController extends OverlayBaseController {
  7835. constructor() {
  7836. super(_ionic_core__WEBPACK_IMPORTED_MODULE_0__.toastController);
  7837. }
  7838. }
  7839. /** @nocollapse */
  7840. ToastController.ɵfac = function ToastController_Factory(t) {
  7841. return new (t || ToastController)();
  7842. };
  7843. /** @nocollapse */
  7844. ToastController.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
  7845. token: ToastController,
  7846. factory: ToastController.ɵfac,
  7847. providedIn: 'root'
  7848. });
  7849. (function () {
  7850. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](ToastController, [{
  7851. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injectable,
  7852. args: [{
  7853. providedIn: 'root'
  7854. }]
  7855. }], function () {
  7856. return [];
  7857. }, null);
  7858. })();
  7859. class DomController {
  7860. /**
  7861. * Schedules a task to run during the READ phase of the next frame.
  7862. * This task should only read the DOM, but never modify it.
  7863. */
  7864. read(cb) {
  7865. getQueue().read(cb);
  7866. }
  7867. /**
  7868. * Schedules a task to run during the WRITE phase of the next frame.
  7869. * This task should write the DOM, but never READ it.
  7870. */
  7871. write(cb) {
  7872. getQueue().write(cb);
  7873. }
  7874. }
  7875. /** @nocollapse */
  7876. DomController.ɵfac = function DomController_Factory(t) {
  7877. return new (t || DomController)();
  7878. };
  7879. /** @nocollapse */
  7880. DomController.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
  7881. token: DomController,
  7882. factory: DomController.ɵfac,
  7883. providedIn: 'root'
  7884. });
  7885. (function () {
  7886. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](DomController, [{
  7887. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injectable,
  7888. args: [{
  7889. providedIn: 'root'
  7890. }]
  7891. }], null, null);
  7892. })();
  7893. const getQueue = () => {
  7894. const win = typeof window !== 'undefined' ? window : null;
  7895. if (win != null) {
  7896. const Ionic = win.Ionic;
  7897. if (Ionic === null || Ionic === void 0 ? void 0 : Ionic.queue) {
  7898. return Ionic.queue;
  7899. }
  7900. return {
  7901. read: cb => win.requestAnimationFrame(cb),
  7902. write: cb => win.requestAnimationFrame(cb)
  7903. };
  7904. }
  7905. return {
  7906. read: cb => cb(),
  7907. write: cb => cb()
  7908. };
  7909. };
  7910. class AnimationController {
  7911. /**
  7912. * Create a new animation
  7913. */
  7914. create(animationId) {
  7915. return (0,_ionic_core__WEBPACK_IMPORTED_MODULE_0__.createAnimation)(animationId);
  7916. }
  7917. /**
  7918. * EXPERIMENTAL
  7919. *
  7920. * Given a progression and a cubic bezier function,
  7921. * this utility returns the time value(s) at which the
  7922. * cubic bezier reaches the given time progression.
  7923. *
  7924. * If the cubic bezier never reaches the progression
  7925. * the result will be an empty array.
  7926. *
  7927. * This is most useful for switching between easing curves
  7928. * when doing a gesture animation (i.e. going from linear easing
  7929. * during a drag, to another easing when `progressEnd` is called)
  7930. */
  7931. easingTime(p0, p1, p2, p3, progression) {
  7932. return (0,_ionic_core__WEBPACK_IMPORTED_MODULE_0__.getTimeGivenProgression)(p0, p1, p2, p3, progression);
  7933. }
  7934. }
  7935. /** @nocollapse */
  7936. AnimationController.ɵfac = function AnimationController_Factory(t) {
  7937. return new (t || AnimationController)();
  7938. };
  7939. /** @nocollapse */
  7940. AnimationController.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
  7941. token: AnimationController,
  7942. factory: AnimationController.ɵfac,
  7943. providedIn: 'root'
  7944. });
  7945. (function () {
  7946. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](AnimationController, [{
  7947. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injectable,
  7948. args: [{
  7949. providedIn: 'root'
  7950. }]
  7951. }], null, null);
  7952. })();
  7953. class GestureController {
  7954. constructor(zone) {
  7955. this.zone = zone;
  7956. }
  7957. /**
  7958. * Create a new gesture
  7959. */
  7960. create(opts, runInsideAngularZone = false) {
  7961. if (runInsideAngularZone) {
  7962. Object.getOwnPropertyNames(opts).forEach(key => {
  7963. if (typeof opts[key] === 'function') {
  7964. const fn = opts[key];
  7965. opts[key] = (...props) => this.zone.run(() => fn(...props));
  7966. }
  7967. });
  7968. }
  7969. return (0,_ionic_core__WEBPACK_IMPORTED_MODULE_0__.createGesture)(opts);
  7970. }
  7971. }
  7972. /** @nocollapse */
  7973. GestureController.ɵfac = function GestureController_Factory(t) {
  7974. return new (t || GestureController)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
  7975. };
  7976. /** @nocollapse */
  7977. GestureController.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
  7978. token: GestureController,
  7979. factory: GestureController.ɵfac,
  7980. providedIn: 'root'
  7981. });
  7982. (function () {
  7983. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](GestureController, [{
  7984. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injectable,
  7985. args: [{
  7986. providedIn: 'root'
  7987. }]
  7988. }], function () {
  7989. return [{
  7990. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
  7991. }];
  7992. }, null);
  7993. })();
  7994. class IonicRouteStrategy {
  7995. // eslint-disable-next-line @typescript-eslint/no-unused-vars
  7996. shouldDetach(_route) {
  7997. return false;
  7998. } // eslint-disable-next-line @typescript-eslint/no-unused-vars
  7999. shouldAttach(_route) {
  8000. return false;
  8001. }
  8002. store( // eslint-disable-next-line @typescript-eslint/no-unused-vars
  8003. _route, // eslint-disable-next-line @typescript-eslint/no-unused-vars
  8004. _detachedTree) {
  8005. return;
  8006. } // eslint-disable-next-line @typescript-eslint/no-unused-vars
  8007. retrieve(_route) {
  8008. return null;
  8009. }
  8010. shouldReuseRoute(future, curr) {
  8011. if (future.routeConfig !== curr.routeConfig) {
  8012. return false;
  8013. } // checking router params
  8014. const futureParams = future.params;
  8015. const currentParams = curr.params;
  8016. const keysA = Object.keys(futureParams);
  8017. const keysB = Object.keys(currentParams);
  8018. if (keysA.length !== keysB.length) {
  8019. return false;
  8020. } // Test for A's keys different from B.
  8021. for (const key of keysA) {
  8022. if (currentParams[key] !== futureParams[key]) {
  8023. return false;
  8024. }
  8025. }
  8026. return true;
  8027. }
  8028. }
  8029. /**
  8030. * https://ionicframework.com/docs/api/router-outlet#life-cycle-hooks
  8031. */
  8032. const appInitialize = (config, doc, zone) => {
  8033. return () => {
  8034. const win = doc.defaultView;
  8035. if (win && typeof window !== 'undefined') {
  8036. (0,_ionic_core__WEBPACK_IMPORTED_MODULE_0__.setupConfig)(Object.assign(Object.assign({}, config), {
  8037. _zoneGate: h => zone.run(h)
  8038. }));
  8039. const aelFn = '__zone_symbol__addEventListener' in doc.body ? '__zone_symbol__addEventListener' : 'addEventListener';
  8040. return (0,_ionic_core_loader__WEBPACK_IMPORTED_MODULE_1__.applyPolyfills)().then(() => {
  8041. return (0,_ionic_core_loader__WEBPACK_IMPORTED_MODULE_1__.defineCustomElements)(win, {
  8042. exclude: ['ion-tabs', 'ion-tab'],
  8043. syncQueue: true,
  8044. raf,
  8045. jmp: h => zone.runOutsideAngular(h),
  8046. ael(elm, eventName, cb, opts) {
  8047. elm[aelFn](eventName, cb, opts);
  8048. },
  8049. rel(elm, eventName, cb, opts) {
  8050. elm.removeEventListener(eventName, cb, opts);
  8051. }
  8052. });
  8053. });
  8054. }
  8055. };
  8056. };
  8057. const DIRECTIVES = [IonAccordion, IonAccordionGroup, IonApp, IonAvatar, IonBackButton, IonBackdrop, IonBadge, IonBreadcrumb, IonBreadcrumbs, IonButton, IonButtons, IonCard, IonCardContent, IonCardHeader, IonCardSubtitle, IonCardTitle, IonCheckbox, IonChip, IonCol, IonContent, IonDatetime, IonDatetimeButton, IonFab, IonFabButton, IonFabList, IonFooter, IonGrid, IonHeader, IonIcon, IonImg, IonInfiniteScroll, IonInfiniteScrollContent, IonInput, IonItem, IonItemDivider, IonItemGroup, IonItemOption, IonItemOptions, IonItemSliding, IonLabel, IonList, IonListHeader, IonMenu, IonMenuButton, IonMenuToggle, IonNav, IonNavLink, IonNote, IonProgressBar, IonRadio, IonRadioGroup, IonRange, IonRefresher, IonRefresherContent, IonReorder, IonReorderGroup, IonRippleEffect, IonRow, IonSearchbar, IonSegment, IonSegmentButton, IonSelect, IonSelectOption, IonSkeletonText, IonSlide, IonSlides, IonSpinner, IonSplitPane, IonTabBar, IonTabButton, IonText, IonTextarea, IonThumbnail, IonTitle, IonToggle, IonToolbar];
  8058. const DECLARATIONS = [// generated proxies
  8059. ...DIRECTIVES, // manual proxies
  8060. IonModal, IonPopover, // ngModel accessors
  8061. BooleanValueAccessorDirective, NumericValueAccessorDirective, RadioValueAccessorDirective, SelectValueAccessorDirective, TextValueAccessorDirective, // navigation
  8062. IonTabs, IonRouterOutlet, IonBackButtonDelegateDirective, NavDelegate, RouterLinkDelegateDirective, RouterLinkWithHrefDelegateDirective, // virtual scroll
  8063. VirtualFooter, VirtualHeader, VirtualItem, IonVirtualScroll];
  8064. class IonicModule {
  8065. static forRoot(config) {
  8066. return {
  8067. ngModule: IonicModule,
  8068. providers: [{
  8069. provide: ConfigToken,
  8070. useValue: config
  8071. }, {
  8072. provide: _angular_core__WEBPACK_IMPORTED_MODULE_2__.APP_INITIALIZER,
  8073. useFactory: appInitialize,
  8074. multi: true,
  8075. deps: [ConfigToken, _angular_common__WEBPACK_IMPORTED_MODULE_7__.DOCUMENT, _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone]
  8076. }]
  8077. };
  8078. }
  8079. }
  8080. /** @nocollapse */
  8081. IonicModule.ɵfac = function IonicModule_Factory(t) {
  8082. return new (t || IonicModule)();
  8083. };
  8084. /** @nocollapse */
  8085. IonicModule.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineNgModule"]({
  8086. type: IonicModule,
  8087. declarations: [IonAccordion, IonAccordionGroup, IonApp, IonAvatar, IonBackButton, IonBackdrop, IonBadge, IonBreadcrumb, IonBreadcrumbs, IonButton, IonButtons, IonCard, IonCardContent, IonCardHeader, IonCardSubtitle, IonCardTitle, IonCheckbox, IonChip, IonCol, IonContent, IonDatetime, IonDatetimeButton, IonFab, IonFabButton, IonFabList, IonFooter, IonGrid, IonHeader, IonIcon, IonImg, IonInfiniteScroll, IonInfiniteScrollContent, IonInput, IonItem, IonItemDivider, IonItemGroup, IonItemOption, IonItemOptions, IonItemSliding, IonLabel, IonList, IonListHeader, IonMenu, IonMenuButton, IonMenuToggle, IonNav, IonNavLink, IonNote, IonProgressBar, IonRadio, IonRadioGroup, IonRange, IonRefresher, IonRefresherContent, IonReorder, IonReorderGroup, IonRippleEffect, IonRow, IonSearchbar, IonSegment, IonSegmentButton, IonSelect, IonSelectOption, IonSkeletonText, IonSlide, IonSlides, IonSpinner, IonSplitPane, IonTabBar, IonTabButton, IonText, IonTextarea, IonThumbnail, IonTitle, IonToggle, IonToolbar, // manual proxies
  8088. IonModal, IonPopover, // ngModel accessors
  8089. BooleanValueAccessorDirective, NumericValueAccessorDirective, RadioValueAccessorDirective, SelectValueAccessorDirective, TextValueAccessorDirective, // navigation
  8090. IonTabs, IonRouterOutlet, IonBackButtonDelegateDirective, NavDelegate, RouterLinkDelegateDirective, RouterLinkWithHrefDelegateDirective, // virtual scroll
  8091. VirtualFooter, VirtualHeader, VirtualItem, IonVirtualScroll],
  8092. imports: [_angular_common__WEBPACK_IMPORTED_MODULE_7__.CommonModule],
  8093. exports: [IonAccordion, IonAccordionGroup, IonApp, IonAvatar, IonBackButton, IonBackdrop, IonBadge, IonBreadcrumb, IonBreadcrumbs, IonButton, IonButtons, IonCard, IonCardContent, IonCardHeader, IonCardSubtitle, IonCardTitle, IonCheckbox, IonChip, IonCol, IonContent, IonDatetime, IonDatetimeButton, IonFab, IonFabButton, IonFabList, IonFooter, IonGrid, IonHeader, IonIcon, IonImg, IonInfiniteScroll, IonInfiniteScrollContent, IonInput, IonItem, IonItemDivider, IonItemGroup, IonItemOption, IonItemOptions, IonItemSliding, IonLabel, IonList, IonListHeader, IonMenu, IonMenuButton, IonMenuToggle, IonNav, IonNavLink, IonNote, IonProgressBar, IonRadio, IonRadioGroup, IonRange, IonRefresher, IonRefresherContent, IonReorder, IonReorderGroup, IonRippleEffect, IonRow, IonSearchbar, IonSegment, IonSegmentButton, IonSelect, IonSelectOption, IonSkeletonText, IonSlide, IonSlides, IonSpinner, IonSplitPane, IonTabBar, IonTabButton, IonText, IonTextarea, IonThumbnail, IonTitle, IonToggle, IonToolbar, // manual proxies
  8094. IonModal, IonPopover, // ngModel accessors
  8095. BooleanValueAccessorDirective, NumericValueAccessorDirective, RadioValueAccessorDirective, SelectValueAccessorDirective, TextValueAccessorDirective, // navigation
  8096. IonTabs, IonRouterOutlet, IonBackButtonDelegateDirective, NavDelegate, RouterLinkDelegateDirective, RouterLinkWithHrefDelegateDirective, // virtual scroll
  8097. VirtualFooter, VirtualHeader, VirtualItem, IonVirtualScroll]
  8098. });
  8099. /** @nocollapse */
  8100. IonicModule.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjector"]({
  8101. providers: [AngularDelegate, ModalController, PopoverController],
  8102. imports: [[_angular_common__WEBPACK_IMPORTED_MODULE_7__.CommonModule]]
  8103. });
  8104. (function () {
  8105. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonicModule, [{
  8106. type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgModule,
  8107. args: [{
  8108. declarations: DECLARATIONS,
  8109. exports: DECLARATIONS,
  8110. providers: [AngularDelegate, ModalController, PopoverController],
  8111. imports: [_angular_common__WEBPACK_IMPORTED_MODULE_7__.CommonModule]
  8112. }]
  8113. }], null, null);
  8114. })(); // DIRECTIVES
  8115. /**
  8116. * Generated bundle index. Do not edit.
  8117. */
  8118. /***/ }),
  8119. /***/ 631:
  8120. /*!*****************************************************************!*\
  8121. !*** ./node_modules/@ionic/core/dist/esm/animation-2c50d24d.js ***!
  8122. \*****************************************************************/
  8123. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  8124. __webpack_require__.r(__webpack_exports__);
  8125. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  8126. /* harmony export */ "c": () => (/* binding */ createAnimation)
  8127. /* harmony export */ });
  8128. /* harmony import */ var _helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helpers-3b390e48.js */ 9234);
  8129. /* harmony import */ var _index_33ffec25_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index-33ffec25.js */ 2286);
  8130. /*!
  8131. * (C) Ionic http://ionicframework.com - MIT License
  8132. */
  8133. let animationPrefix;
  8134. /**
  8135. * Web Animations requires hyphenated CSS properties
  8136. * to be written in camelCase when animating
  8137. */
  8138. const processKeyframes = keyframes => {
  8139. keyframes.forEach(keyframe => {
  8140. for (const key in keyframe) {
  8141. // eslint-disable-next-line no-prototype-builtins
  8142. if (keyframe.hasOwnProperty(key)) {
  8143. const value = keyframe[key];
  8144. if (key === 'easing') {
  8145. const newKey = 'animation-timing-function';
  8146. keyframe[newKey] = value;
  8147. delete keyframe[key];
  8148. } else {
  8149. const newKey = convertCamelCaseToHypen(key);
  8150. if (newKey !== key) {
  8151. keyframe[newKey] = value;
  8152. delete keyframe[key];
  8153. }
  8154. }
  8155. }
  8156. }
  8157. });
  8158. return keyframes;
  8159. };
  8160. const convertCamelCaseToHypen = str => {
  8161. return str.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();
  8162. };
  8163. const getAnimationPrefix = el => {
  8164. if (animationPrefix === undefined) {
  8165. const supportsUnprefixed = el.style.animationName !== undefined;
  8166. const supportsWebkitPrefix = el.style.webkitAnimationName !== undefined;
  8167. animationPrefix = !supportsUnprefixed && supportsWebkitPrefix ? '-webkit-' : '';
  8168. }
  8169. return animationPrefix;
  8170. };
  8171. const setStyleProperty = (element, propertyName, value) => {
  8172. const prefix = propertyName.startsWith('animation') ? getAnimationPrefix(element) : '';
  8173. element.style.setProperty(prefix + propertyName, value);
  8174. };
  8175. const removeStyleProperty = (element, propertyName) => {
  8176. const prefix = propertyName.startsWith('animation') ? getAnimationPrefix(element) : '';
  8177. element.style.removeProperty(prefix + propertyName);
  8178. };
  8179. const animationEnd = (el, callback) => {
  8180. let unRegTrans;
  8181. const opts = {
  8182. passive: true
  8183. };
  8184. const unregister = () => {
  8185. if (unRegTrans) {
  8186. unRegTrans();
  8187. }
  8188. };
  8189. const onTransitionEnd = ev => {
  8190. if (el === ev.target) {
  8191. unregister();
  8192. callback(ev);
  8193. }
  8194. };
  8195. if (el) {
  8196. el.addEventListener('webkitAnimationEnd', onTransitionEnd, opts);
  8197. el.addEventListener('animationend', onTransitionEnd, opts);
  8198. unRegTrans = () => {
  8199. el.removeEventListener('webkitAnimationEnd', onTransitionEnd, opts);
  8200. el.removeEventListener('animationend', onTransitionEnd, opts);
  8201. };
  8202. }
  8203. return unregister;
  8204. };
  8205. const generateKeyframeRules = (keyframes = []) => {
  8206. return keyframes.map(keyframe => {
  8207. const offset = keyframe.offset;
  8208. const frameString = [];
  8209. for (const property in keyframe) {
  8210. // eslint-disable-next-line no-prototype-builtins
  8211. if (keyframe.hasOwnProperty(property) && property !== 'offset') {
  8212. frameString.push(`${property}: ${keyframe[property]};`);
  8213. }
  8214. }
  8215. return `${offset * 100}% { ${frameString.join(' ')} }`;
  8216. }).join(' ');
  8217. };
  8218. const keyframeIds = [];
  8219. const generateKeyframeName = keyframeRules => {
  8220. let index = keyframeIds.indexOf(keyframeRules);
  8221. if (index < 0) {
  8222. index = keyframeIds.push(keyframeRules) - 1;
  8223. }
  8224. return `ion-animation-${index}`;
  8225. };
  8226. const getStyleContainer = element => {
  8227. // getRootNode is not always available in SSR environments.
  8228. const rootNode = element.getRootNode !== undefined ? element.getRootNode() : element;
  8229. return rootNode.head || rootNode;
  8230. };
  8231. const createKeyframeStylesheet = (keyframeName, keyframeRules, element) => {
  8232. var _a;
  8233. const styleContainer = getStyleContainer(element);
  8234. const keyframePrefix = getAnimationPrefix(element);
  8235. const existingStylesheet = styleContainer.querySelector('#' + keyframeName);
  8236. if (existingStylesheet) {
  8237. return existingStylesheet;
  8238. }
  8239. const stylesheet = ((_a = element.ownerDocument) !== null && _a !== void 0 ? _a : document).createElement('style');
  8240. stylesheet.id = keyframeName;
  8241. stylesheet.textContent = `@${keyframePrefix}keyframes ${keyframeName} { ${keyframeRules} } @${keyframePrefix}keyframes ${keyframeName}-alt { ${keyframeRules} }`;
  8242. styleContainer.appendChild(stylesheet);
  8243. return stylesheet;
  8244. };
  8245. const addClassToArray = (classes = [], className) => {
  8246. if (className !== undefined) {
  8247. const classNameToAppend = Array.isArray(className) ? className : [className];
  8248. return [...classes, ...classNameToAppend];
  8249. }
  8250. return classes;
  8251. };
  8252. const createAnimation = animationId => {
  8253. let _delay;
  8254. let _duration;
  8255. let _easing;
  8256. let _iterations;
  8257. let _fill;
  8258. let _direction;
  8259. let _keyframes = [];
  8260. let beforeAddClasses = [];
  8261. let beforeRemoveClasses = [];
  8262. let initialized = false;
  8263. let parentAnimation;
  8264. let beforeStylesValue = {};
  8265. let afterAddClasses = [];
  8266. let afterRemoveClasses = [];
  8267. let afterStylesValue = {};
  8268. let numAnimationsRunning = 0;
  8269. let shouldForceLinearEasing = false;
  8270. let shouldForceSyncPlayback = false;
  8271. let cssAnimationsTimerFallback;
  8272. let forceDirectionValue;
  8273. let forceDurationValue;
  8274. let forceDelayValue;
  8275. let willComplete = true;
  8276. let finished = false;
  8277. let shouldCalculateNumAnimations = true;
  8278. let keyframeName;
  8279. let ani;
  8280. let paused = false;
  8281. const id = animationId;
  8282. const onFinishCallbacks = [];
  8283. const onFinishOneTimeCallbacks = [];
  8284. const elements = [];
  8285. const childAnimations = [];
  8286. const stylesheets = [];
  8287. const _beforeAddReadFunctions = [];
  8288. const _beforeAddWriteFunctions = [];
  8289. const _afterAddReadFunctions = [];
  8290. const _afterAddWriteFunctions = [];
  8291. const webAnimations = [];
  8292. const supportsAnimationEffect = typeof AnimationEffect === 'function' || _index_33ffec25_js__WEBPACK_IMPORTED_MODULE_1__.w !== undefined && typeof _index_33ffec25_js__WEBPACK_IMPORTED_MODULE_1__.w.AnimationEffect === 'function';
  8293. const supportsWebAnimations = typeof Element === 'function' && typeof Element.prototype.animate === 'function' && supportsAnimationEffect;
  8294. const ANIMATION_END_FALLBACK_PADDING_MS = 100;
  8295. const getWebAnimations = () => {
  8296. return webAnimations;
  8297. };
  8298. const destroy = clearStyleSheets => {
  8299. childAnimations.forEach(childAnimation => {
  8300. childAnimation.destroy(clearStyleSheets);
  8301. });
  8302. cleanUp(clearStyleSheets);
  8303. elements.length = 0;
  8304. childAnimations.length = 0;
  8305. _keyframes.length = 0;
  8306. clearOnFinish();
  8307. initialized = false;
  8308. shouldCalculateNumAnimations = true;
  8309. return ani;
  8310. };
  8311. /**
  8312. * Cancels any Web Animations, removes
  8313. * any animation properties from the
  8314. * animation's elements, and removes the
  8315. * animation's stylesheets from the DOM.
  8316. */
  8317. const cleanUp = clearStyleSheets => {
  8318. cleanUpElements();
  8319. if (clearStyleSheets) {
  8320. cleanUpStyleSheets();
  8321. }
  8322. };
  8323. const resetFlags = () => {
  8324. shouldForceLinearEasing = false;
  8325. shouldForceSyncPlayback = false;
  8326. shouldCalculateNumAnimations = true;
  8327. forceDirectionValue = undefined;
  8328. forceDurationValue = undefined;
  8329. forceDelayValue = undefined;
  8330. numAnimationsRunning = 0;
  8331. finished = false;
  8332. willComplete = true;
  8333. paused = false;
  8334. };
  8335. const isRunning = () => {
  8336. return numAnimationsRunning !== 0 && !paused;
  8337. };
  8338. const onFinish = (callback, opts) => {
  8339. const callbacks = (opts === null || opts === void 0 ? void 0 : opts.oneTimeCallback) ? onFinishOneTimeCallbacks : onFinishCallbacks;
  8340. callbacks.push({
  8341. c: callback,
  8342. o: opts
  8343. });
  8344. return ani;
  8345. };
  8346. const clearOnFinish = () => {
  8347. onFinishCallbacks.length = 0;
  8348. onFinishOneTimeCallbacks.length = 0;
  8349. return ani;
  8350. };
  8351. /**
  8352. * Cancels any Web Animations and removes
  8353. * any animation properties from the
  8354. * the animation's elements.
  8355. */
  8356. const cleanUpElements = () => {
  8357. if (supportsWebAnimations) {
  8358. webAnimations.forEach(animation => {
  8359. animation.cancel();
  8360. });
  8361. webAnimations.length = 0;
  8362. } else {
  8363. const elementsArray = elements.slice();
  8364. (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_0__.r)(() => {
  8365. elementsArray.forEach(element => {
  8366. removeStyleProperty(element, 'animation-name');
  8367. removeStyleProperty(element, 'animation-duration');
  8368. removeStyleProperty(element, 'animation-timing-function');
  8369. removeStyleProperty(element, 'animation-iteration-count');
  8370. removeStyleProperty(element, 'animation-delay');
  8371. removeStyleProperty(element, 'animation-play-state');
  8372. removeStyleProperty(element, 'animation-fill-mode');
  8373. removeStyleProperty(element, 'animation-direction');
  8374. });
  8375. });
  8376. }
  8377. };
  8378. /**
  8379. * Removes the animation's stylesheets
  8380. * from the DOM.
  8381. */
  8382. const cleanUpStyleSheets = () => {
  8383. stylesheets.forEach(stylesheet => {
  8384. /**
  8385. * When sharing stylesheets, it's possible
  8386. * for another animation to have already
  8387. * cleaned up a particular stylesheet
  8388. */
  8389. if (stylesheet === null || stylesheet === void 0 ? void 0 : stylesheet.parentNode) {
  8390. stylesheet.parentNode.removeChild(stylesheet);
  8391. }
  8392. });
  8393. stylesheets.length = 0;
  8394. };
  8395. const beforeAddRead = readFn => {
  8396. _beforeAddReadFunctions.push(readFn);
  8397. return ani;
  8398. };
  8399. const beforeAddWrite = writeFn => {
  8400. _beforeAddWriteFunctions.push(writeFn);
  8401. return ani;
  8402. };
  8403. const afterAddRead = readFn => {
  8404. _afterAddReadFunctions.push(readFn);
  8405. return ani;
  8406. };
  8407. const afterAddWrite = writeFn => {
  8408. _afterAddWriteFunctions.push(writeFn);
  8409. return ani;
  8410. };
  8411. const beforeAddClass = className => {
  8412. beforeAddClasses = addClassToArray(beforeAddClasses, className);
  8413. return ani;
  8414. };
  8415. const beforeRemoveClass = className => {
  8416. beforeRemoveClasses = addClassToArray(beforeRemoveClasses, className);
  8417. return ani;
  8418. };
  8419. /**
  8420. * Set CSS inline styles to the animation's
  8421. * elements before the animation begins.
  8422. */
  8423. const beforeStyles = (styles = {}) => {
  8424. beforeStylesValue = styles;
  8425. return ani;
  8426. };
  8427. /**
  8428. * Clear CSS inline styles from the animation's
  8429. * elements before the animation begins.
  8430. */
  8431. const beforeClearStyles = (propertyNames = []) => {
  8432. for (const property of propertyNames) {
  8433. beforeStylesValue[property] = '';
  8434. }
  8435. return ani;
  8436. };
  8437. const afterAddClass = className => {
  8438. afterAddClasses = addClassToArray(afterAddClasses, className);
  8439. return ani;
  8440. };
  8441. const afterRemoveClass = className => {
  8442. afterRemoveClasses = addClassToArray(afterRemoveClasses, className);
  8443. return ani;
  8444. };
  8445. const afterStyles = (styles = {}) => {
  8446. afterStylesValue = styles;
  8447. return ani;
  8448. };
  8449. const afterClearStyles = (propertyNames = []) => {
  8450. for (const property of propertyNames) {
  8451. afterStylesValue[property] = '';
  8452. }
  8453. return ani;
  8454. };
  8455. const getFill = () => {
  8456. if (_fill !== undefined) {
  8457. return _fill;
  8458. }
  8459. if (parentAnimation) {
  8460. return parentAnimation.getFill();
  8461. }
  8462. return 'both';
  8463. };
  8464. const getDirection = () => {
  8465. if (forceDirectionValue !== undefined) {
  8466. return forceDirectionValue;
  8467. }
  8468. if (_direction !== undefined) {
  8469. return _direction;
  8470. }
  8471. if (parentAnimation) {
  8472. return parentAnimation.getDirection();
  8473. }
  8474. return 'normal';
  8475. };
  8476. const getEasing = () => {
  8477. if (shouldForceLinearEasing) {
  8478. return 'linear';
  8479. }
  8480. if (_easing !== undefined) {
  8481. return _easing;
  8482. }
  8483. if (parentAnimation) {
  8484. return parentAnimation.getEasing();
  8485. }
  8486. return 'linear';
  8487. };
  8488. const getDuration = () => {
  8489. if (shouldForceSyncPlayback) {
  8490. return 0;
  8491. }
  8492. if (forceDurationValue !== undefined) {
  8493. return forceDurationValue;
  8494. }
  8495. if (_duration !== undefined) {
  8496. return _duration;
  8497. }
  8498. if (parentAnimation) {
  8499. return parentAnimation.getDuration();
  8500. }
  8501. return 0;
  8502. };
  8503. const getIterations = () => {
  8504. if (_iterations !== undefined) {
  8505. return _iterations;
  8506. }
  8507. if (parentAnimation) {
  8508. return parentAnimation.getIterations();
  8509. }
  8510. return 1;
  8511. };
  8512. const getDelay = () => {
  8513. if (forceDelayValue !== undefined) {
  8514. return forceDelayValue;
  8515. }
  8516. if (_delay !== undefined) {
  8517. return _delay;
  8518. }
  8519. if (parentAnimation) {
  8520. return parentAnimation.getDelay();
  8521. }
  8522. return 0;
  8523. };
  8524. const getKeyframes = () => {
  8525. return _keyframes;
  8526. };
  8527. const direction = animationDirection => {
  8528. _direction = animationDirection;
  8529. update(true);
  8530. return ani;
  8531. };
  8532. const fill = animationFill => {
  8533. _fill = animationFill;
  8534. update(true);
  8535. return ani;
  8536. };
  8537. const delay = animationDelay => {
  8538. _delay = animationDelay;
  8539. update(true);
  8540. return ani;
  8541. };
  8542. const easing = animationEasing => {
  8543. _easing = animationEasing;
  8544. update(true);
  8545. return ani;
  8546. };
  8547. const duration = animationDuration => {
  8548. /**
  8549. * CSS Animation Durations of 0ms work fine on Chrome
  8550. * but do not run on Safari, so force it to 1ms to
  8551. * get it to run on both platforms.
  8552. */
  8553. if (!supportsWebAnimations && animationDuration === 0) {
  8554. animationDuration = 1;
  8555. }
  8556. _duration = animationDuration;
  8557. update(true);
  8558. return ani;
  8559. };
  8560. const iterations = animationIterations => {
  8561. _iterations = animationIterations;
  8562. update(true);
  8563. return ani;
  8564. };
  8565. const parent = animation => {
  8566. parentAnimation = animation;
  8567. return ani;
  8568. };
  8569. const addElement = el => {
  8570. if (el != null) {
  8571. if (el.nodeType === 1) {
  8572. elements.push(el);
  8573. } else if (el.length >= 0) {
  8574. for (let i = 0; i < el.length; i++) {
  8575. elements.push(el[i]);
  8576. }
  8577. } else {
  8578. console.error('Invalid addElement value');
  8579. }
  8580. }
  8581. return ani;
  8582. };
  8583. const addAnimation = animationToAdd => {
  8584. if (animationToAdd != null) {
  8585. if (Array.isArray(animationToAdd)) {
  8586. for (const animation of animationToAdd) {
  8587. animation.parent(ani);
  8588. childAnimations.push(animation);
  8589. }
  8590. } else {
  8591. animationToAdd.parent(ani);
  8592. childAnimations.push(animationToAdd);
  8593. }
  8594. }
  8595. return ani;
  8596. };
  8597. const keyframes = keyframeValues => {
  8598. const different = _keyframes !== keyframeValues;
  8599. _keyframes = keyframeValues;
  8600. if (different) {
  8601. updateKeyframes(_keyframes);
  8602. }
  8603. return ani;
  8604. };
  8605. const updateKeyframes = keyframeValues => {
  8606. if (supportsWebAnimations) {
  8607. getWebAnimations().forEach(animation => {
  8608. if (animation.effect.setKeyframes) {
  8609. animation.effect.setKeyframes(keyframeValues);
  8610. } else {
  8611. const newEffect = new KeyframeEffect(animation.effect.target, keyframeValues, animation.effect.getTiming());
  8612. animation.effect = newEffect;
  8613. }
  8614. });
  8615. } else {
  8616. initializeCSSAnimation();
  8617. }
  8618. };
  8619. /**
  8620. * Run all "before" animation hooks.
  8621. */
  8622. const beforeAnimation = () => {
  8623. // Runs all before read callbacks
  8624. _beforeAddReadFunctions.forEach(callback => callback()); // Runs all before write callbacks
  8625. _beforeAddWriteFunctions.forEach(callback => callback()); // Updates styles and classes before animation runs
  8626. const addClasses = beforeAddClasses;
  8627. const removeClasses = beforeRemoveClasses;
  8628. const styles = beforeStylesValue;
  8629. elements.forEach(el => {
  8630. const elementClassList = el.classList;
  8631. addClasses.forEach(c => elementClassList.add(c));
  8632. removeClasses.forEach(c => elementClassList.remove(c));
  8633. for (const property in styles) {
  8634. // eslint-disable-next-line no-prototype-builtins
  8635. if (styles.hasOwnProperty(property)) {
  8636. setStyleProperty(el, property, styles[property]);
  8637. }
  8638. }
  8639. });
  8640. };
  8641. /**
  8642. * Run all "after" animation hooks.
  8643. */
  8644. const afterAnimation = () => {
  8645. clearCSSAnimationsTimeout(); // Runs all after read callbacks
  8646. _afterAddReadFunctions.forEach(callback => callback()); // Runs all after write callbacks
  8647. _afterAddWriteFunctions.forEach(callback => callback()); // Updates styles and classes before animation ends
  8648. const currentStep = willComplete ? 1 : 0;
  8649. const addClasses = afterAddClasses;
  8650. const removeClasses = afterRemoveClasses;
  8651. const styles = afterStylesValue;
  8652. elements.forEach(el => {
  8653. const elementClassList = el.classList;
  8654. addClasses.forEach(c => elementClassList.add(c));
  8655. removeClasses.forEach(c => elementClassList.remove(c));
  8656. for (const property in styles) {
  8657. // eslint-disable-next-line no-prototype-builtins
  8658. if (styles.hasOwnProperty(property)) {
  8659. setStyleProperty(el, property, styles[property]);
  8660. }
  8661. }
  8662. });
  8663. onFinishCallbacks.forEach(onFinishCallback => {
  8664. return onFinishCallback.c(currentStep, ani);
  8665. });
  8666. onFinishOneTimeCallbacks.forEach(onFinishCallback => {
  8667. return onFinishCallback.c(currentStep, ani);
  8668. });
  8669. onFinishOneTimeCallbacks.length = 0;
  8670. shouldCalculateNumAnimations = true;
  8671. if (willComplete) {
  8672. finished = true;
  8673. }
  8674. willComplete = true;
  8675. };
  8676. const animationFinish = () => {
  8677. if (numAnimationsRunning === 0) {
  8678. return;
  8679. }
  8680. numAnimationsRunning--;
  8681. if (numAnimationsRunning === 0) {
  8682. afterAnimation();
  8683. if (parentAnimation) {
  8684. parentAnimation.animationFinish();
  8685. }
  8686. }
  8687. };
  8688. const initializeCSSAnimation = (toggleAnimationName = true) => {
  8689. cleanUpStyleSheets();
  8690. const processedKeyframes = processKeyframes(_keyframes);
  8691. elements.forEach(element => {
  8692. if (processedKeyframes.length > 0) {
  8693. const keyframeRules = generateKeyframeRules(processedKeyframes);
  8694. keyframeName = animationId !== undefined ? animationId : generateKeyframeName(keyframeRules);
  8695. const stylesheet = createKeyframeStylesheet(keyframeName, keyframeRules, element);
  8696. stylesheets.push(stylesheet);
  8697. setStyleProperty(element, 'animation-duration', `${getDuration()}ms`);
  8698. setStyleProperty(element, 'animation-timing-function', getEasing());
  8699. setStyleProperty(element, 'animation-delay', `${getDelay()}ms`);
  8700. setStyleProperty(element, 'animation-fill-mode', getFill());
  8701. setStyleProperty(element, 'animation-direction', getDirection());
  8702. const iterationsCount = getIterations() === Infinity ? 'infinite' : getIterations().toString();
  8703. setStyleProperty(element, 'animation-iteration-count', iterationsCount);
  8704. setStyleProperty(element, 'animation-play-state', 'paused');
  8705. if (toggleAnimationName) {
  8706. setStyleProperty(element, 'animation-name', `${stylesheet.id}-alt`);
  8707. }
  8708. (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_0__.r)(() => {
  8709. setStyleProperty(element, 'animation-name', stylesheet.id || null);
  8710. });
  8711. }
  8712. });
  8713. };
  8714. const initializeWebAnimation = () => {
  8715. elements.forEach(element => {
  8716. const animation = element.animate(_keyframes, {
  8717. id,
  8718. delay: getDelay(),
  8719. duration: getDuration(),
  8720. easing: getEasing(),
  8721. iterations: getIterations(),
  8722. fill: getFill(),
  8723. direction: getDirection()
  8724. });
  8725. animation.pause();
  8726. webAnimations.push(animation);
  8727. });
  8728. if (webAnimations.length > 0) {
  8729. webAnimations[0].onfinish = () => {
  8730. animationFinish();
  8731. };
  8732. }
  8733. };
  8734. const initializeAnimation = (toggleAnimationName = true) => {
  8735. beforeAnimation();
  8736. if (_keyframes.length > 0) {
  8737. if (supportsWebAnimations) {
  8738. initializeWebAnimation();
  8739. } else {
  8740. initializeCSSAnimation(toggleAnimationName);
  8741. }
  8742. }
  8743. initialized = true;
  8744. };
  8745. const setAnimationStep = step => {
  8746. step = Math.min(Math.max(step, 0), 0.9999);
  8747. if (supportsWebAnimations) {
  8748. webAnimations.forEach(animation => {
  8749. animation.currentTime = animation.effect.getComputedTiming().delay + getDuration() * step;
  8750. animation.pause();
  8751. });
  8752. } else {
  8753. const animationDuration = `-${getDuration() * step}ms`;
  8754. elements.forEach(element => {
  8755. if (_keyframes.length > 0) {
  8756. setStyleProperty(element, 'animation-delay', animationDuration);
  8757. setStyleProperty(element, 'animation-play-state', 'paused');
  8758. }
  8759. });
  8760. }
  8761. };
  8762. const updateWebAnimation = step => {
  8763. webAnimations.forEach(animation => {
  8764. animation.effect.updateTiming({
  8765. delay: getDelay(),
  8766. duration: getDuration(),
  8767. easing: getEasing(),
  8768. iterations: getIterations(),
  8769. fill: getFill(),
  8770. direction: getDirection()
  8771. });
  8772. });
  8773. if (step !== undefined) {
  8774. setAnimationStep(step);
  8775. }
  8776. };
  8777. const updateCSSAnimation = (toggleAnimationName = true, step) => {
  8778. (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_0__.r)(() => {
  8779. elements.forEach(element => {
  8780. setStyleProperty(element, 'animation-name', keyframeName || null);
  8781. setStyleProperty(element, 'animation-duration', `${getDuration()}ms`);
  8782. setStyleProperty(element, 'animation-timing-function', getEasing());
  8783. setStyleProperty(element, 'animation-delay', step !== undefined ? `-${step * getDuration()}ms` : `${getDelay()}ms`);
  8784. setStyleProperty(element, 'animation-fill-mode', getFill() || null);
  8785. setStyleProperty(element, 'animation-direction', getDirection() || null);
  8786. const iterationsCount = getIterations() === Infinity ? 'infinite' : getIterations().toString();
  8787. setStyleProperty(element, 'animation-iteration-count', iterationsCount);
  8788. if (toggleAnimationName) {
  8789. setStyleProperty(element, 'animation-name', `${keyframeName}-alt`);
  8790. }
  8791. (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_0__.r)(() => {
  8792. setStyleProperty(element, 'animation-name', keyframeName || null);
  8793. });
  8794. });
  8795. });
  8796. };
  8797. const update = (deep = false, toggleAnimationName = true, step) => {
  8798. if (deep) {
  8799. childAnimations.forEach(animation => {
  8800. animation.update(deep, toggleAnimationName, step);
  8801. });
  8802. }
  8803. if (supportsWebAnimations) {
  8804. updateWebAnimation(step);
  8805. } else {
  8806. updateCSSAnimation(toggleAnimationName, step);
  8807. }
  8808. return ani;
  8809. };
  8810. const progressStart = (forceLinearEasing = false, step) => {
  8811. childAnimations.forEach(animation => {
  8812. animation.progressStart(forceLinearEasing, step);
  8813. });
  8814. pauseAnimation();
  8815. shouldForceLinearEasing = forceLinearEasing;
  8816. if (!initialized) {
  8817. initializeAnimation();
  8818. }
  8819. update(false, true, step);
  8820. return ani;
  8821. };
  8822. const progressStep = step => {
  8823. childAnimations.forEach(animation => {
  8824. animation.progressStep(step);
  8825. });
  8826. setAnimationStep(step);
  8827. return ani;
  8828. };
  8829. const progressEnd = (playTo, step, dur) => {
  8830. shouldForceLinearEasing = false;
  8831. childAnimations.forEach(animation => {
  8832. animation.progressEnd(playTo, step, dur);
  8833. });
  8834. if (dur !== undefined) {
  8835. forceDurationValue = dur;
  8836. }
  8837. finished = false;
  8838. willComplete = true;
  8839. if (playTo === 0) {
  8840. forceDirectionValue = getDirection() === 'reverse' ? 'normal' : 'reverse';
  8841. if (forceDirectionValue === 'reverse') {
  8842. willComplete = false;
  8843. }
  8844. if (supportsWebAnimations) {
  8845. update();
  8846. setAnimationStep(1 - step);
  8847. } else {
  8848. forceDelayValue = (1 - step) * getDuration() * -1;
  8849. update(false, false);
  8850. }
  8851. } else if (playTo === 1) {
  8852. if (supportsWebAnimations) {
  8853. update();
  8854. setAnimationStep(step);
  8855. } else {
  8856. forceDelayValue = step * getDuration() * -1;
  8857. update(false, false);
  8858. }
  8859. }
  8860. if (playTo !== undefined) {
  8861. onFinish(() => {
  8862. forceDurationValue = undefined;
  8863. forceDirectionValue = undefined;
  8864. forceDelayValue = undefined;
  8865. }, {
  8866. oneTimeCallback: true
  8867. });
  8868. if (!parentAnimation) {
  8869. play();
  8870. }
  8871. }
  8872. return ani;
  8873. };
  8874. const pauseAnimation = () => {
  8875. if (initialized) {
  8876. if (supportsWebAnimations) {
  8877. webAnimations.forEach(animation => {
  8878. animation.pause();
  8879. });
  8880. } else {
  8881. elements.forEach(element => {
  8882. setStyleProperty(element, 'animation-play-state', 'paused');
  8883. });
  8884. }
  8885. paused = true;
  8886. }
  8887. };
  8888. const pause = () => {
  8889. childAnimations.forEach(animation => {
  8890. animation.pause();
  8891. });
  8892. pauseAnimation();
  8893. return ani;
  8894. };
  8895. const onAnimationEndFallback = () => {
  8896. cssAnimationsTimerFallback = undefined;
  8897. animationFinish();
  8898. };
  8899. const clearCSSAnimationsTimeout = () => {
  8900. if (cssAnimationsTimerFallback) {
  8901. clearTimeout(cssAnimationsTimerFallback);
  8902. }
  8903. };
  8904. const playCSSAnimations = () => {
  8905. clearCSSAnimationsTimeout();
  8906. (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_0__.r)(() => {
  8907. elements.forEach(element => {
  8908. if (_keyframes.length > 0) {
  8909. setStyleProperty(element, 'animation-play-state', 'running');
  8910. }
  8911. });
  8912. });
  8913. if (_keyframes.length === 0 || elements.length === 0) {
  8914. animationFinish();
  8915. } else {
  8916. /**
  8917. * This is a catchall in the event that a CSS Animation did not finish.
  8918. * The Web Animations API has mechanisms in place for preventing this.
  8919. * CSS Animations will not fire an `animationend` event
  8920. * for elements with `display: none`. The Web Animations API
  8921. * accounts for this, but using raw CSS Animations requires
  8922. * this workaround.
  8923. */
  8924. const animationDelay = getDelay() || 0;
  8925. const animationDuration = getDuration() || 0;
  8926. const animationIterations = getIterations() || 1; // No need to set a timeout when animation has infinite iterations
  8927. if (isFinite(animationIterations)) {
  8928. cssAnimationsTimerFallback = setTimeout(onAnimationEndFallback, animationDelay + animationDuration * animationIterations + ANIMATION_END_FALLBACK_PADDING_MS);
  8929. }
  8930. animationEnd(elements[0], () => {
  8931. clearCSSAnimationsTimeout();
  8932. /**
  8933. * Ensure that clean up
  8934. * is always done a frame
  8935. * before the onFinish handlers
  8936. * are fired. Otherwise, there
  8937. * may be flickering if a new
  8938. * animation is started on the same
  8939. * element too quickly
  8940. *
  8941. * TODO: Is there a cleaner way to do this?
  8942. */
  8943. (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_0__.r)(() => {
  8944. clearCSSAnimationPlayState();
  8945. (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_0__.r)(animationFinish);
  8946. });
  8947. });
  8948. }
  8949. };
  8950. const clearCSSAnimationPlayState = () => {
  8951. elements.forEach(element => {
  8952. removeStyleProperty(element, 'animation-duration');
  8953. removeStyleProperty(element, 'animation-delay');
  8954. removeStyleProperty(element, 'animation-play-state');
  8955. });
  8956. };
  8957. const playWebAnimations = () => {
  8958. webAnimations.forEach(animation => {
  8959. animation.play();
  8960. });
  8961. if (_keyframes.length === 0 || elements.length === 0) {
  8962. animationFinish();
  8963. }
  8964. };
  8965. const resetAnimation = () => {
  8966. if (supportsWebAnimations) {
  8967. setAnimationStep(0);
  8968. updateWebAnimation();
  8969. } else {
  8970. updateCSSAnimation();
  8971. }
  8972. };
  8973. const play = opts => {
  8974. return new Promise(resolve => {
  8975. if (opts === null || opts === void 0 ? void 0 : opts.sync) {
  8976. shouldForceSyncPlayback = true;
  8977. onFinish(() => shouldForceSyncPlayback = false, {
  8978. oneTimeCallback: true
  8979. });
  8980. }
  8981. if (!initialized) {
  8982. initializeAnimation();
  8983. }
  8984. if (finished) {
  8985. resetAnimation();
  8986. finished = false;
  8987. }
  8988. if (shouldCalculateNumAnimations) {
  8989. numAnimationsRunning = childAnimations.length + 1;
  8990. shouldCalculateNumAnimations = false;
  8991. }
  8992. onFinish(() => resolve(), {
  8993. oneTimeCallback: true
  8994. });
  8995. childAnimations.forEach(animation => {
  8996. animation.play();
  8997. });
  8998. if (supportsWebAnimations) {
  8999. playWebAnimations();
  9000. } else {
  9001. playCSSAnimations();
  9002. }
  9003. paused = false;
  9004. });
  9005. };
  9006. const stop = () => {
  9007. childAnimations.forEach(animation => {
  9008. animation.stop();
  9009. });
  9010. if (initialized) {
  9011. cleanUpElements();
  9012. initialized = false;
  9013. }
  9014. resetFlags();
  9015. };
  9016. const from = (property, value) => {
  9017. const firstFrame = _keyframes[0];
  9018. if (firstFrame !== undefined && (firstFrame.offset === undefined || firstFrame.offset === 0)) {
  9019. firstFrame[property] = value;
  9020. } else {
  9021. _keyframes = [{
  9022. offset: 0,
  9023. [property]: value
  9024. }, ..._keyframes];
  9025. }
  9026. return ani;
  9027. };
  9028. const to = (property, value) => {
  9029. const lastFrame = _keyframes[_keyframes.length - 1];
  9030. if (lastFrame !== undefined && (lastFrame.offset === undefined || lastFrame.offset === 1)) {
  9031. lastFrame[property] = value;
  9032. } else {
  9033. _keyframes = [..._keyframes, {
  9034. offset: 1,
  9035. [property]: value
  9036. }];
  9037. }
  9038. return ani;
  9039. };
  9040. const fromTo = (property, fromValue, toValue) => {
  9041. return from(property, fromValue).to(property, toValue);
  9042. };
  9043. return ani = {
  9044. parentAnimation,
  9045. elements,
  9046. childAnimations,
  9047. id,
  9048. animationFinish,
  9049. from,
  9050. to,
  9051. fromTo,
  9052. parent,
  9053. play,
  9054. pause,
  9055. stop,
  9056. destroy,
  9057. keyframes,
  9058. addAnimation,
  9059. addElement,
  9060. update,
  9061. fill,
  9062. direction,
  9063. iterations,
  9064. duration,
  9065. easing,
  9066. delay,
  9067. getWebAnimations,
  9068. getKeyframes,
  9069. getFill,
  9070. getDirection,
  9071. getDelay,
  9072. getIterations,
  9073. getEasing,
  9074. getDuration,
  9075. afterAddRead,
  9076. afterAddWrite,
  9077. afterClearStyles,
  9078. afterStyles,
  9079. afterRemoveClass,
  9080. afterAddClass,
  9081. beforeAddRead,
  9082. beforeAddWrite,
  9083. beforeClearStyles,
  9084. beforeStyles,
  9085. beforeRemoveClass,
  9086. beforeAddClass,
  9087. onFinish,
  9088. isRunning,
  9089. progressStart,
  9090. progressStep,
  9091. progressEnd
  9092. };
  9093. };
  9094. /***/ }),
  9095. /***/ 6958:
  9096. /*!*******************************************************************!*\
  9097. !*** ./node_modules/@ionic/core/dist/esm/app-globals-275fb4c9.js ***!
  9098. \*******************************************************************/
  9099. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  9100. __webpack_require__.r(__webpack_exports__);
  9101. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  9102. /* harmony export */ "g": () => (/* binding */ globalScripts)
  9103. /* harmony export */ });
  9104. /* harmony import */ var _ionic_global_c95cf239_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ionic-global-c95cf239.js */ 8607);
  9105. /*!
  9106. * (C) Ionic http://ionicframework.com - MIT License
  9107. */
  9108. const globalScripts = _ionic_global_c95cf239_js__WEBPACK_IMPORTED_MODULE_0__.i;
  9109. /***/ }),
  9110. /***/ 1077:
  9111. /*!********************************************************************!*\
  9112. !*** ./node_modules/@ionic/core/dist/esm/cubic-bezier-c313947a.js ***!
  9113. \********************************************************************/
  9114. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  9115. __webpack_require__.r(__webpack_exports__);
  9116. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  9117. /* harmony export */ "g": () => (/* binding */ getTimeGivenProgression)
  9118. /* harmony export */ });
  9119. /*!
  9120. * (C) Ionic http://ionicframework.com - MIT License
  9121. */
  9122. /**
  9123. * Based on:
  9124. * https://stackoverflow.com/questions/7348009/y-coordinate-for-a-given-x-cubic-bezier
  9125. * https://math.stackexchange.com/questions/26846/is-there-an-explicit-form-for-cubic-b%C3%A9zier-curves
  9126. * TODO: Reduce rounding error
  9127. */
  9128. /**
  9129. * EXPERIMENTAL
  9130. * Given a cubic-bezier curve, get the x value (time) given
  9131. * the y value (progression).
  9132. * Ex: cubic-bezier(0.32, 0.72, 0, 1);
  9133. * P0: (0, 0)
  9134. * P1: (0.32, 0.72)
  9135. * P2: (0, 1)
  9136. * P3: (1, 1)
  9137. *
  9138. * If you give a cubic bezier curve that never reaches the
  9139. * provided progression, this function will return an empty array.
  9140. */
  9141. const getTimeGivenProgression = (p0, p1, p2, p3, progression) => {
  9142. return solveCubicBezier(p0[1], p1[1], p2[1], p3[1], progression).map(tValue => {
  9143. return solveCubicParametricEquation(p0[0], p1[0], p2[0], p3[0], tValue);
  9144. });
  9145. };
  9146. /**
  9147. * Solve a cubic equation in one dimension (time)
  9148. */
  9149. const solveCubicParametricEquation = (p0, p1, p2, p3, t) => {
  9150. const partA = 3 * p1 * Math.pow(t - 1, 2);
  9151. const partB = -3 * p2 * t + 3 * p2 + p3 * t;
  9152. const partC = p0 * Math.pow(t - 1, 3);
  9153. return t * (partA + t * partB) - partC;
  9154. };
  9155. /**
  9156. * Find the `t` value for a cubic bezier using Cardano's formula
  9157. */
  9158. const solveCubicBezier = (p0, p1, p2, p3, refPoint) => {
  9159. p0 -= refPoint;
  9160. p1 -= refPoint;
  9161. p2 -= refPoint;
  9162. p3 -= refPoint;
  9163. const roots = solveCubicEquation(p3 - 3 * p2 + 3 * p1 - p0, 3 * p2 - 6 * p1 + 3 * p0, 3 * p1 - 3 * p0, p0);
  9164. return roots.filter(root => root >= 0 && root <= 1);
  9165. };
  9166. const solveQuadraticEquation = (a, b, c) => {
  9167. const discriminant = b * b - 4 * a * c;
  9168. if (discriminant < 0) {
  9169. return [];
  9170. } else {
  9171. return [(-b + Math.sqrt(discriminant)) / (2 * a), (-b - Math.sqrt(discriminant)) / (2 * a)];
  9172. }
  9173. };
  9174. const solveCubicEquation = (a, b, c, d) => {
  9175. if (a === 0) {
  9176. return solveQuadraticEquation(b, c, d);
  9177. }
  9178. b /= a;
  9179. c /= a;
  9180. d /= a;
  9181. const p = (3 * c - b * b) / 3;
  9182. const q = (2 * b * b * b - 9 * b * c + 27 * d) / 27;
  9183. if (p === 0) {
  9184. return [Math.pow(-q, 1 / 3)];
  9185. } else if (q === 0) {
  9186. return [Math.sqrt(-p), -Math.sqrt(-p)];
  9187. }
  9188. const discriminant = Math.pow(q / 2, 2) + Math.pow(p / 3, 3);
  9189. if (discriminant === 0) {
  9190. return [Math.pow(q / 2, 1 / 2) - b / 3];
  9191. } else if (discriminant > 0) {
  9192. return [Math.pow(-(q / 2) + Math.sqrt(discriminant), 1 / 3) - Math.pow(q / 2 + Math.sqrt(discriminant), 1 / 3) - b / 3];
  9193. }
  9194. const r = Math.sqrt(Math.pow(-(p / 3), 3));
  9195. const phi = Math.acos(-(q / (2 * Math.sqrt(Math.pow(-(p / 3), 3)))));
  9196. const s = 2 * Math.pow(r, 1 / 3);
  9197. return [s * Math.cos(phi / 3) - b / 3, s * Math.cos((phi + 2 * Math.PI) / 3) - b / 3, s * Math.cos((phi + 4 * Math.PI) / 3) - b / 3];
  9198. };
  9199. /***/ }),
  9200. /***/ 6379:
  9201. /*!**************************************************************************!*\
  9202. !*** ./node_modules/@ionic/core/dist/esm/gesture-controller-17060b7c.js ***!
  9203. \**************************************************************************/
  9204. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  9205. __webpack_require__.r(__webpack_exports__);
  9206. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  9207. /* harmony export */ "G": () => (/* binding */ GESTURE_CONTROLLER)
  9208. /* harmony export */ });
  9209. /*!
  9210. * (C) Ionic http://ionicframework.com - MIT License
  9211. */
  9212. class GestureController {
  9213. constructor() {
  9214. this.gestureId = 0;
  9215. this.requestedStart = new Map();
  9216. this.disabledGestures = new Map();
  9217. this.disabledScroll = new Set();
  9218. }
  9219. /**
  9220. * Creates a gesture delegate based on the GestureConfig passed
  9221. */
  9222. createGesture(config) {
  9223. var _a;
  9224. return new GestureDelegate(this, this.newID(), config.name, (_a = config.priority) !== null && _a !== void 0 ? _a : 0, !!config.disableScroll);
  9225. }
  9226. /**
  9227. * Creates a blocker that will block any other gesture events from firing. Set in the ion-gesture component.
  9228. */
  9229. createBlocker(opts = {}) {
  9230. return new BlockerDelegate(this, this.newID(), opts.disable, !!opts.disableScroll);
  9231. }
  9232. start(gestureName, id, priority) {
  9233. if (!this.canStart(gestureName)) {
  9234. this.requestedStart.delete(id);
  9235. return false;
  9236. }
  9237. this.requestedStart.set(id, priority);
  9238. return true;
  9239. }
  9240. capture(gestureName, id, priority) {
  9241. if (!this.start(gestureName, id, priority)) {
  9242. return false;
  9243. }
  9244. const requestedStart = this.requestedStart;
  9245. let maxPriority = -10000;
  9246. requestedStart.forEach(value => {
  9247. maxPriority = Math.max(maxPriority, value);
  9248. });
  9249. if (maxPriority === priority) {
  9250. this.capturedId = id;
  9251. requestedStart.clear();
  9252. const event = new CustomEvent('ionGestureCaptured', {
  9253. detail: {
  9254. gestureName
  9255. }
  9256. });
  9257. document.dispatchEvent(event);
  9258. return true;
  9259. }
  9260. requestedStart.delete(id);
  9261. return false;
  9262. }
  9263. release(id) {
  9264. this.requestedStart.delete(id);
  9265. if (this.capturedId === id) {
  9266. this.capturedId = undefined;
  9267. }
  9268. }
  9269. disableGesture(gestureName, id) {
  9270. let set = this.disabledGestures.get(gestureName);
  9271. if (set === undefined) {
  9272. set = new Set();
  9273. this.disabledGestures.set(gestureName, set);
  9274. }
  9275. set.add(id);
  9276. }
  9277. enableGesture(gestureName, id) {
  9278. const set = this.disabledGestures.get(gestureName);
  9279. if (set !== undefined) {
  9280. set.delete(id);
  9281. }
  9282. }
  9283. disableScroll(id) {
  9284. this.disabledScroll.add(id);
  9285. if (this.disabledScroll.size === 1) {
  9286. document.body.classList.add(BACKDROP_NO_SCROLL);
  9287. }
  9288. }
  9289. enableScroll(id) {
  9290. this.disabledScroll.delete(id);
  9291. if (this.disabledScroll.size === 0) {
  9292. document.body.classList.remove(BACKDROP_NO_SCROLL);
  9293. }
  9294. }
  9295. canStart(gestureName) {
  9296. if (this.capturedId !== undefined) {
  9297. // a gesture already captured
  9298. return false;
  9299. }
  9300. if (this.isDisabled(gestureName)) {
  9301. return false;
  9302. }
  9303. return true;
  9304. }
  9305. isCaptured() {
  9306. return this.capturedId !== undefined;
  9307. }
  9308. isScrollDisabled() {
  9309. return this.disabledScroll.size > 0;
  9310. }
  9311. isDisabled(gestureName) {
  9312. const disabled = this.disabledGestures.get(gestureName);
  9313. if (disabled && disabled.size > 0) {
  9314. return true;
  9315. }
  9316. return false;
  9317. }
  9318. newID() {
  9319. this.gestureId++;
  9320. return this.gestureId;
  9321. }
  9322. }
  9323. class GestureDelegate {
  9324. constructor(ctrl, id, name, priority, disableScroll) {
  9325. this.id = id;
  9326. this.name = name;
  9327. this.disableScroll = disableScroll;
  9328. this.priority = priority * 1000000 + id;
  9329. this.ctrl = ctrl;
  9330. }
  9331. canStart() {
  9332. if (!this.ctrl) {
  9333. return false;
  9334. }
  9335. return this.ctrl.canStart(this.name);
  9336. }
  9337. start() {
  9338. if (!this.ctrl) {
  9339. return false;
  9340. }
  9341. return this.ctrl.start(this.name, this.id, this.priority);
  9342. }
  9343. capture() {
  9344. if (!this.ctrl) {
  9345. return false;
  9346. }
  9347. const captured = this.ctrl.capture(this.name, this.id, this.priority);
  9348. if (captured && this.disableScroll) {
  9349. this.ctrl.disableScroll(this.id);
  9350. }
  9351. return captured;
  9352. }
  9353. release() {
  9354. if (this.ctrl) {
  9355. this.ctrl.release(this.id);
  9356. if (this.disableScroll) {
  9357. this.ctrl.enableScroll(this.id);
  9358. }
  9359. }
  9360. }
  9361. destroy() {
  9362. this.release();
  9363. this.ctrl = undefined;
  9364. }
  9365. }
  9366. class BlockerDelegate {
  9367. constructor(ctrl, id, disable, disableScroll) {
  9368. this.id = id;
  9369. this.disable = disable;
  9370. this.disableScroll = disableScroll;
  9371. this.ctrl = ctrl;
  9372. }
  9373. block() {
  9374. if (!this.ctrl) {
  9375. return;
  9376. }
  9377. if (this.disable) {
  9378. for (const gesture of this.disable) {
  9379. this.ctrl.disableGesture(gesture, this.id);
  9380. }
  9381. }
  9382. if (this.disableScroll) {
  9383. this.ctrl.disableScroll(this.id);
  9384. }
  9385. }
  9386. unblock() {
  9387. if (!this.ctrl) {
  9388. return;
  9389. }
  9390. if (this.disable) {
  9391. for (const gesture of this.disable) {
  9392. this.ctrl.enableGesture(gesture, this.id);
  9393. }
  9394. }
  9395. if (this.disableScroll) {
  9396. this.ctrl.enableScroll(this.id);
  9397. }
  9398. }
  9399. destroy() {
  9400. this.unblock();
  9401. this.ctrl = undefined;
  9402. }
  9403. }
  9404. const BACKDROP_NO_SCROLL = 'backdrop-no-scroll';
  9405. const GESTURE_CONTROLLER = new GestureController();
  9406. /***/ }),
  9407. /***/ 159:
  9408. /*!****************************************************************************!*\
  9409. !*** ./node_modules/@ionic/core/dist/esm/hardware-back-button-490df115.js ***!
  9410. \****************************************************************************/
  9411. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  9412. __webpack_require__.r(__webpack_exports__);
  9413. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  9414. /* harmony export */ "MENU_BACK_BUTTON_PRIORITY": () => (/* binding */ MENU_BACK_BUTTON_PRIORITY),
  9415. /* harmony export */ "OVERLAY_BACK_BUTTON_PRIORITY": () => (/* binding */ OVERLAY_BACK_BUTTON_PRIORITY),
  9416. /* harmony export */ "blockHardwareBackButton": () => (/* binding */ blockHardwareBackButton),
  9417. /* harmony export */ "startHardwareBackButton": () => (/* binding */ startHardwareBackButton)
  9418. /* harmony export */ });
  9419. /* harmony import */ var _Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 1670);
  9420. /*!
  9421. * (C) Ionic http://ionicframework.com - MIT License
  9422. */
  9423. /**
  9424. * When hardwareBackButton: false in config,
  9425. * we need to make sure we also block the default
  9426. * webview behavior. If we don't then it will be
  9427. * possible for users to navigate backward while
  9428. * an overlay is still open. Additionally, it will
  9429. * give the appearance that the hardwareBackButton
  9430. * config is not working as the page transition
  9431. * will still happen.
  9432. */
  9433. const blockHardwareBackButton = () => {
  9434. document.addEventListener('backbutton', () => {}); // eslint-disable-line
  9435. };
  9436. const startHardwareBackButton = () => {
  9437. const doc = document;
  9438. let busy = false;
  9439. doc.addEventListener('backbutton', () => {
  9440. if (busy) {
  9441. return;
  9442. }
  9443. let index = 0;
  9444. let handlers = [];
  9445. const ev = new CustomEvent('ionBackButton', {
  9446. bubbles: false,
  9447. detail: {
  9448. register(priority, handler) {
  9449. handlers.push({
  9450. priority,
  9451. handler,
  9452. id: index++
  9453. });
  9454. }
  9455. }
  9456. });
  9457. doc.dispatchEvent(ev);
  9458. const executeAction = /*#__PURE__*/function () {
  9459. var _ref = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (handlerRegister) {
  9460. try {
  9461. if (handlerRegister === null || handlerRegister === void 0 ? void 0 : handlerRegister.handler) {
  9462. const result = handlerRegister.handler(processHandlers);
  9463. if (result != null) {
  9464. yield result;
  9465. }
  9466. }
  9467. } catch (e) {
  9468. console.error(e);
  9469. }
  9470. });
  9471. return function executeAction(_x) {
  9472. return _ref.apply(this, arguments);
  9473. };
  9474. }();
  9475. const processHandlers = () => {
  9476. if (handlers.length > 0) {
  9477. let selectedHandler = {
  9478. priority: Number.MIN_SAFE_INTEGER,
  9479. handler: () => undefined,
  9480. id: -1
  9481. };
  9482. handlers.forEach(handler => {
  9483. if (handler.priority >= selectedHandler.priority) {
  9484. selectedHandler = handler;
  9485. }
  9486. });
  9487. busy = true;
  9488. handlers = handlers.filter(handler => handler.id !== selectedHandler.id);
  9489. executeAction(selectedHandler).then(() => busy = false);
  9490. }
  9491. };
  9492. processHandlers();
  9493. });
  9494. };
  9495. const OVERLAY_BACK_BUTTON_PRIORITY = 100;
  9496. const MENU_BACK_BUTTON_PRIORITY = 99; // 1 less than overlay priority since menu is displayed behind overlays
  9497. /***/ }),
  9498. /***/ 9234:
  9499. /*!***************************************************************!*\
  9500. !*** ./node_modules/@ionic/core/dist/esm/helpers-3b390e48.js ***!
  9501. \***************************************************************/
  9502. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  9503. __webpack_require__.r(__webpack_exports__);
  9504. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  9505. /* harmony export */ "a": () => (/* binding */ addEventListener),
  9506. /* harmony export */ "b": () => (/* binding */ removeEventListener),
  9507. /* harmony export */ "c": () => (/* binding */ componentOnReady),
  9508. /* harmony export */ "d": () => (/* binding */ getAriaLabel),
  9509. /* harmony export */ "e": () => (/* binding */ renderHiddenInput),
  9510. /* harmony export */ "f": () => (/* binding */ focusElement),
  9511. /* harmony export */ "g": () => (/* binding */ getElementRoot),
  9512. /* harmony export */ "h": () => (/* binding */ debounceEvent),
  9513. /* harmony export */ "i": () => (/* binding */ inheritAriaAttributes),
  9514. /* harmony export */ "j": () => (/* binding */ inheritAttributes),
  9515. /* harmony export */ "k": () => (/* binding */ findItemLabel),
  9516. /* harmony export */ "l": () => (/* binding */ clamp),
  9517. /* harmony export */ "m": () => (/* binding */ hasShadowDom),
  9518. /* harmony export */ "n": () => (/* binding */ assert),
  9519. /* harmony export */ "o": () => (/* binding */ isEndSide),
  9520. /* harmony export */ "p": () => (/* binding */ pointerCoord),
  9521. /* harmony export */ "q": () => (/* binding */ debounce),
  9522. /* harmony export */ "r": () => (/* binding */ raf),
  9523. /* harmony export */ "s": () => (/* binding */ shallowEqualStringMap),
  9524. /* harmony export */ "t": () => (/* binding */ transitionEndAsync),
  9525. /* harmony export */ "u": () => (/* binding */ now)
  9526. /* harmony export */ });
  9527. /*!
  9528. * (C) Ionic http://ionicframework.com - MIT License
  9529. */
  9530. const transitionEndAsync = (el, expectedDuration = 0) => {
  9531. return new Promise(resolve => {
  9532. transitionEnd(el, expectedDuration, resolve);
  9533. });
  9534. };
  9535. /**
  9536. * Allows developer to wait for a transition
  9537. * to finish and fallback to a timer if the
  9538. * transition is cancelled or otherwise
  9539. * never finishes. Also see transitionEndAsync
  9540. * which is an await-able version of this.
  9541. */
  9542. const transitionEnd = (el, expectedDuration = 0, callback) => {
  9543. let unRegTrans;
  9544. let animationTimeout;
  9545. const opts = {
  9546. passive: true
  9547. };
  9548. const ANIMATION_FALLBACK_TIMEOUT = 500;
  9549. const unregister = () => {
  9550. if (unRegTrans) {
  9551. unRegTrans();
  9552. }
  9553. };
  9554. const onTransitionEnd = ev => {
  9555. if (ev === undefined || el === ev.target) {
  9556. unregister();
  9557. callback(ev);
  9558. }
  9559. };
  9560. if (el) {
  9561. el.addEventListener('webkitTransitionEnd', onTransitionEnd, opts);
  9562. el.addEventListener('transitionend', onTransitionEnd, opts);
  9563. animationTimeout = setTimeout(onTransitionEnd, expectedDuration + ANIMATION_FALLBACK_TIMEOUT);
  9564. unRegTrans = () => {
  9565. if (animationTimeout) {
  9566. clearTimeout(animationTimeout);
  9567. animationTimeout = undefined;
  9568. }
  9569. el.removeEventListener('webkitTransitionEnd', onTransitionEnd, opts);
  9570. el.removeEventListener('transitionend', onTransitionEnd, opts);
  9571. };
  9572. }
  9573. return unregister;
  9574. };
  9575. /**
  9576. * Waits for a component to be ready for
  9577. * both custom element and non-custom element builds.
  9578. * If non-custom element build, el.componentOnReady
  9579. * will be used.
  9580. * For custom element builds, we wait a frame
  9581. * so that the inner contents of the component
  9582. * have a chance to render.
  9583. *
  9584. * Use this utility rather than calling
  9585. * el.componentOnReady yourself.
  9586. */
  9587. const componentOnReady = (el, callback) => {
  9588. if (el.componentOnReady) {
  9589. // eslint-disable-next-line custom-rules/no-component-on-ready-method
  9590. el.componentOnReady().then(resolvedEl => callback(resolvedEl));
  9591. } else {
  9592. raf(() => callback(el));
  9593. }
  9594. };
  9595. /**
  9596. * Elements inside of web components sometimes need to inherit global attributes
  9597. * set on the host. For example, the inner input in `ion-input` should inherit
  9598. * the `title` attribute that developers set directly on `ion-input`. This
  9599. * helper function should be called in componentWillLoad and assigned to a variable
  9600. * that is later used in the render function.
  9601. *
  9602. * This does not need to be reactive as changing attributes on the host element
  9603. * does not trigger a re-render.
  9604. */
  9605. const inheritAttributes = (el, attributes = []) => {
  9606. const attributeObject = {};
  9607. attributes.forEach(attr => {
  9608. if (el.hasAttribute(attr)) {
  9609. const value = el.getAttribute(attr);
  9610. if (value !== null) {
  9611. attributeObject[attr] = el.getAttribute(attr);
  9612. }
  9613. el.removeAttribute(attr);
  9614. }
  9615. });
  9616. return attributeObject;
  9617. };
  9618. /**
  9619. * List of available ARIA attributes + `role`.
  9620. * Removed deprecated attributes.
  9621. * https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes
  9622. */
  9623. const ariaAttributes = ['role', 'aria-activedescendant', 'aria-atomic', 'aria-autocomplete', 'aria-braillelabel', 'aria-brailleroledescription', 'aria-busy', 'aria-checked', 'aria-colcount', 'aria-colindex', 'aria-colindextext', 'aria-colspan', 'aria-controls', 'aria-current', 'aria-describedby', 'aria-description', 'aria-details', 'aria-disabled', 'aria-errormessage', 'aria-expanded', 'aria-flowto', 'aria-haspopup', 'aria-hidden', 'aria-invalid', 'aria-keyshortcuts', 'aria-label', 'aria-labelledby', 'aria-level', 'aria-live', 'aria-multiline', 'aria-multiselectable', 'aria-orientation', 'aria-owns', 'aria-placeholder', 'aria-posinset', 'aria-pressed', 'aria-readonly', 'aria-relevant', 'aria-required', 'aria-roledescription', 'aria-rowcount', 'aria-rowindex', 'aria-rowindextext', 'aria-rowspan', 'aria-selected', 'aria-setsize', 'aria-sort', 'aria-valuemax', 'aria-valuemin', 'aria-valuenow', 'aria-valuetext'];
  9624. /**
  9625. * Returns an array of aria attributes that should be copied from
  9626. * the shadow host element to a target within the light DOM.
  9627. * @param el The element that the attributes should be copied from.
  9628. * @param ignoreList The list of aria-attributes to ignore reflecting and removing from the host.
  9629. * Use this in instances where we manually specify aria attributes on the `<Host>` element.
  9630. */
  9631. const inheritAriaAttributes = (el, ignoreList) => {
  9632. let attributesToInherit = ariaAttributes;
  9633. if (ignoreList && ignoreList.length > 0) {
  9634. attributesToInherit = attributesToInherit.filter(attr => !ignoreList.includes(attr));
  9635. }
  9636. return inheritAttributes(el, attributesToInherit);
  9637. };
  9638. const addEventListener = (el, eventName, callback, opts) => {
  9639. var _a;
  9640. if (typeof window !== 'undefined') {
  9641. const win = window;
  9642. const config = (_a = win === null || win === void 0 ? void 0 : win.Ionic) === null || _a === void 0 ? void 0 : _a.config;
  9643. if (config) {
  9644. const ael = config.get('_ael');
  9645. if (ael) {
  9646. return ael(el, eventName, callback, opts);
  9647. } else if (config._ael) {
  9648. return config._ael(el, eventName, callback, opts);
  9649. }
  9650. }
  9651. }
  9652. return el.addEventListener(eventName, callback, opts);
  9653. };
  9654. const removeEventListener = (el, eventName, callback, opts) => {
  9655. var _a;
  9656. if (typeof window !== 'undefined') {
  9657. const win = window;
  9658. const config = (_a = win === null || win === void 0 ? void 0 : win.Ionic) === null || _a === void 0 ? void 0 : _a.config;
  9659. if (config) {
  9660. const rel = config.get('_rel');
  9661. if (rel) {
  9662. return rel(el, eventName, callback, opts);
  9663. } else if (config._rel) {
  9664. return config._rel(el, eventName, callback, opts);
  9665. }
  9666. }
  9667. }
  9668. return el.removeEventListener(eventName, callback, opts);
  9669. };
  9670. /**
  9671. * Gets the root context of a shadow dom element
  9672. * On newer browsers this will be the shadowRoot,
  9673. * but for older browser this may just be the
  9674. * element itself.
  9675. *
  9676. * Useful for whenever you need to explicitly
  9677. * do "myElement.shadowRoot!.querySelector(...)".
  9678. */
  9679. const getElementRoot = (el, fallback = el) => {
  9680. return el.shadowRoot || fallback;
  9681. };
  9682. /**
  9683. * Patched version of requestAnimationFrame that avoids ngzone
  9684. * Use only when you know ngzone should not run
  9685. */
  9686. const raf = h => {
  9687. if (typeof __zone_symbol__requestAnimationFrame === 'function') {
  9688. return __zone_symbol__requestAnimationFrame(h);
  9689. }
  9690. if (typeof requestAnimationFrame === 'function') {
  9691. return requestAnimationFrame(h);
  9692. }
  9693. return setTimeout(h);
  9694. };
  9695. const hasShadowDom = el => {
  9696. return !!el.shadowRoot && !!el.attachShadow;
  9697. };
  9698. const findItemLabel = componentEl => {
  9699. const itemEl = componentEl.closest('ion-item');
  9700. if (itemEl) {
  9701. return itemEl.querySelector('ion-label');
  9702. }
  9703. return null;
  9704. };
  9705. const focusElement = el => {
  9706. el.focus();
  9707. /**
  9708. * When programmatically focusing an element,
  9709. * the focus-visible utility will not run because
  9710. * it is expecting a keyboard event to have triggered this;
  9711. * however, there are times when we need to manually control
  9712. * this behavior so we call the `setFocus` method on ion-app
  9713. * which will let us explicitly set the elements to focus.
  9714. */
  9715. if (el.classList.contains('ion-focusable')) {
  9716. const app = el.closest('ion-app');
  9717. if (app) {
  9718. app.setFocus([el]);
  9719. }
  9720. }
  9721. };
  9722. /**
  9723. * This method is used for Ionic's input components that use Shadow DOM. In
  9724. * order to properly label the inputs to work with screen readers, we need
  9725. * to get the text content of the label outside of the shadow root and pass
  9726. * it to the input inside of the shadow root.
  9727. *
  9728. * Referencing label elements by id from outside of the component is
  9729. * impossible due to the shadow boundary, read more here:
  9730. * https://developer.salesforce.com/blogs/2020/01/accessibility-for-web-components.html
  9731. *
  9732. * @param componentEl The shadow element that needs the aria label
  9733. * @param inputId The unique identifier for the input
  9734. */
  9735. const getAriaLabel = (componentEl, inputId) => {
  9736. let labelText; // If the user provides their own label via the aria-labelledby attr
  9737. // we should use that instead of looking for an ion-label
  9738. const labelledBy = componentEl.getAttribute('aria-labelledby'); // Grab the id off of the component in case they are using
  9739. // a custom label using the label element
  9740. const componentId = componentEl.id;
  9741. let labelId = labelledBy !== null && labelledBy.trim() !== '' ? labelledBy : inputId + '-lbl';
  9742. let label = labelledBy !== null && labelledBy.trim() !== '' ? document.getElementById(labelledBy) : findItemLabel(componentEl);
  9743. if (label) {
  9744. if (labelledBy === null) {
  9745. label.id = labelId;
  9746. }
  9747. labelText = label.textContent;
  9748. label.setAttribute('aria-hidden', 'true'); // if there is no label, check to see if the user has provided
  9749. // one by setting an id on the component and using the label element
  9750. } else if (componentId.trim() !== '') {
  9751. label = document.querySelector(`label[for="${componentId}"]`);
  9752. if (label) {
  9753. if (label.id !== '') {
  9754. labelId = label.id;
  9755. } else {
  9756. label.id = labelId = `${componentId}-lbl`;
  9757. }
  9758. labelText = label.textContent;
  9759. }
  9760. }
  9761. return {
  9762. label,
  9763. labelId,
  9764. labelText
  9765. };
  9766. };
  9767. /**
  9768. * This method is used to add a hidden input to a host element that contains
  9769. * a Shadow DOM. It does not add the input inside of the Shadow root which
  9770. * allows it to be picked up inside of forms. It should contain the same
  9771. * values as the host element.
  9772. *
  9773. * @param always Add a hidden input even if the container does not use Shadow
  9774. * @param container The element where the input will be added
  9775. * @param name The name of the input
  9776. * @param value The value of the input
  9777. * @param disabled If true, the input is disabled
  9778. */
  9779. const renderHiddenInput = (always, container, name, value, disabled) => {
  9780. if (always || hasShadowDom(container)) {
  9781. let input = container.querySelector('input.aux-input');
  9782. if (!input) {
  9783. input = container.ownerDocument.createElement('input');
  9784. input.type = 'hidden';
  9785. input.classList.add('aux-input');
  9786. container.appendChild(input);
  9787. }
  9788. input.disabled = disabled;
  9789. input.name = name;
  9790. input.value = value || '';
  9791. }
  9792. };
  9793. const clamp = (min, n, max) => {
  9794. return Math.max(min, Math.min(n, max));
  9795. };
  9796. const assert = (actual, reason) => {
  9797. if (!actual) {
  9798. const message = 'ASSERT: ' + reason;
  9799. console.error(message);
  9800. debugger; // eslint-disable-line
  9801. throw new Error(message);
  9802. }
  9803. };
  9804. const now = ev => {
  9805. return ev.timeStamp || Date.now();
  9806. };
  9807. const pointerCoord = ev => {
  9808. // get X coordinates for either a mouse click
  9809. // or a touch depending on the given event
  9810. if (ev) {
  9811. const changedTouches = ev.changedTouches;
  9812. if (changedTouches && changedTouches.length > 0) {
  9813. const touch = changedTouches[0];
  9814. return {
  9815. x: touch.clientX,
  9816. y: touch.clientY
  9817. };
  9818. }
  9819. if (ev.pageX !== undefined) {
  9820. return {
  9821. x: ev.pageX,
  9822. y: ev.pageY
  9823. };
  9824. }
  9825. }
  9826. return {
  9827. x: 0,
  9828. y: 0
  9829. };
  9830. };
  9831. /**
  9832. * @hidden
  9833. * Given a side, return if it should be on the end
  9834. * based on the value of dir
  9835. * @param side the side
  9836. * @param isRTL whether the application dir is rtl
  9837. */
  9838. const isEndSide = side => {
  9839. const isRTL = document.dir === 'rtl';
  9840. switch (side) {
  9841. case 'start':
  9842. return isRTL;
  9843. case 'end':
  9844. return !isRTL;
  9845. default:
  9846. throw new Error(`"${side}" is not a valid value for [side]. Use "start" or "end" instead.`);
  9847. }
  9848. };
  9849. const debounceEvent = (event, wait) => {
  9850. const original = event._original || event;
  9851. return {
  9852. _original: event,
  9853. emit: debounce(original.emit.bind(original), wait)
  9854. };
  9855. };
  9856. const debounce = (func, wait = 0) => {
  9857. let timer;
  9858. return (...args) => {
  9859. clearTimeout(timer);
  9860. timer = setTimeout(func, wait, ...args);
  9861. };
  9862. };
  9863. /**
  9864. * Check whether the two string maps are shallow equal.
  9865. *
  9866. * undefined is treated as an empty map.
  9867. *
  9868. * @returns whether the keys are the same and the values are shallow equal.
  9869. */
  9870. const shallowEqualStringMap = (map1, map2) => {
  9871. map1 !== null && map1 !== void 0 ? map1 : map1 = {};
  9872. map2 !== null && map2 !== void 0 ? map2 : map2 = {};
  9873. if (map1 === map2) {
  9874. return true;
  9875. }
  9876. const keys1 = Object.keys(map1);
  9877. if (keys1.length !== Object.keys(map2).length) {
  9878. return false;
  9879. }
  9880. for (const k1 of keys1) {
  9881. if (!(k1 in map2)) {
  9882. return false;
  9883. }
  9884. if (map1[k1] !== map2[k1]) {
  9885. return false;
  9886. }
  9887. }
  9888. return true;
  9889. };
  9890. /***/ }),
  9891. /***/ 2286:
  9892. /*!*************************************************************!*\
  9893. !*** ./node_modules/@ionic/core/dist/esm/index-33ffec25.js ***!
  9894. \*************************************************************/
  9895. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  9896. __webpack_require__.r(__webpack_exports__);
  9897. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  9898. /* harmony export */ "w": () => (/* binding */ win)
  9899. /* harmony export */ });
  9900. /*!
  9901. * (C) Ionic http://ionicframework.com - MIT License
  9902. */
  9903. /**
  9904. * When accessing the window, it is important
  9905. * to account for SSR applications where the
  9906. * window is not available. Code that accesses
  9907. * window when it is not available will crash.
  9908. * Even checking if `window === undefined` will cause
  9909. * apps to crash in SSR.
  9910. *
  9911. * Use win below to access an SSR-safe version
  9912. * of the window.
  9913. *
  9914. * Example 1:
  9915. * Before:
  9916. * if (window.innerWidth > 768) { ... }
  9917. *
  9918. * After:
  9919. * import { win } from 'path/to/this/file';
  9920. * if (win?.innerWidth > 768) { ... }
  9921. *
  9922. * Note: Code inside of this if-block will
  9923. * not run in an SSR environment.
  9924. */
  9925. const win = typeof window !== 'undefined' ? window : undefined;
  9926. /***/ }),
  9927. /***/ 8923:
  9928. /*!*************************************************************!*\
  9929. !*** ./node_modules/@ionic/core/dist/esm/index-41145c2b.js ***!
  9930. \*************************************************************/
  9931. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  9932. __webpack_require__.r(__webpack_exports__);
  9933. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  9934. /* harmony export */ "m": () => (/* binding */ menuController)
  9935. /* harmony export */ });
  9936. /* harmony import */ var _Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 1670);
  9937. /* harmony import */ var _hardware_back_button_490df115_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./hardware-back-button-490df115.js */ 159);
  9938. /* harmony import */ var _helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./helpers-3b390e48.js */ 9234);
  9939. /* harmony import */ var _ionic_global_c95cf239_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ionic-global-c95cf239.js */ 8607);
  9940. /* harmony import */ var _animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./animation-2c50d24d.js */ 631);
  9941. /*!
  9942. * (C) Ionic http://ionicframework.com - MIT License
  9943. */
  9944. /**
  9945. * baseAnimation
  9946. * Base class which is extended by the various types. Each
  9947. * type will provide their own animations for open and close
  9948. * and registers itself with Menu.
  9949. */
  9950. const baseAnimation = isIos => {
  9951. // https://material.io/guidelines/motion/movement.html#movement-movement-in-out-of-screen-bounds
  9952. // https://material.io/guidelines/motion/duration-easing.html#duration-easing-natural-easing-curves
  9953. /**
  9954. * "Apply the sharp curve to items temporarily leaving the screen that may return
  9955. * from the same exit point. When they return, use the deceleration curve. On mobile,
  9956. * this transition typically occurs over 300ms" -- MD Motion Guide
  9957. */
  9958. return (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_4__.c)().duration(isIos ? 400 : 300);
  9959. };
  9960. /**
  9961. * Menu Overlay Type
  9962. * The menu slides over the content. The content
  9963. * itself, which is under the menu, does not move.
  9964. */
  9965. const menuOverlayAnimation = menu => {
  9966. let closedX;
  9967. let openedX;
  9968. const width = menu.width + 8;
  9969. const menuAnimation = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_4__.c)();
  9970. const backdropAnimation = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_4__.c)();
  9971. if (menu.isEndSide) {
  9972. // right side
  9973. closedX = width + 'px';
  9974. openedX = '0px';
  9975. } else {
  9976. // left side
  9977. closedX = -width + 'px';
  9978. openedX = '0px';
  9979. }
  9980. menuAnimation.addElement(menu.menuInnerEl).fromTo('transform', `translateX(${closedX})`, `translateX(${openedX})`);
  9981. const mode = (0,_ionic_global_c95cf239_js__WEBPACK_IMPORTED_MODULE_3__.b)(menu);
  9982. const isIos = mode === 'ios';
  9983. const opacity = isIos ? 0.2 : 0.25;
  9984. backdropAnimation.addElement(menu.backdropEl).fromTo('opacity', 0.01, opacity);
  9985. return baseAnimation(isIos).addAnimation([menuAnimation, backdropAnimation]);
  9986. };
  9987. /**
  9988. * Menu Push Type
  9989. * The content slides over to reveal the menu underneath.
  9990. * The menu itself also slides over to reveal its bad self.
  9991. */
  9992. const menuPushAnimation = menu => {
  9993. let contentOpenedX;
  9994. let menuClosedX;
  9995. const mode = (0,_ionic_global_c95cf239_js__WEBPACK_IMPORTED_MODULE_3__.b)(menu);
  9996. const width = menu.width;
  9997. if (menu.isEndSide) {
  9998. contentOpenedX = -width + 'px';
  9999. menuClosedX = width + 'px';
  10000. } else {
  10001. contentOpenedX = width + 'px';
  10002. menuClosedX = -width + 'px';
  10003. }
  10004. const menuAnimation = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_4__.c)().addElement(menu.menuInnerEl).fromTo('transform', `translateX(${menuClosedX})`, 'translateX(0px)');
  10005. const contentAnimation = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_4__.c)().addElement(menu.contentEl).fromTo('transform', 'translateX(0px)', `translateX(${contentOpenedX})`);
  10006. const backdropAnimation = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_4__.c)().addElement(menu.backdropEl).fromTo('opacity', 0.01, 0.32);
  10007. return baseAnimation(mode === 'ios').addAnimation([menuAnimation, contentAnimation, backdropAnimation]);
  10008. };
  10009. /**
  10010. * Menu Reveal Type
  10011. * The content slides over to reveal the menu underneath.
  10012. * The menu itself, which is under the content, does not move.
  10013. */
  10014. const menuRevealAnimation = menu => {
  10015. const mode = (0,_ionic_global_c95cf239_js__WEBPACK_IMPORTED_MODULE_3__.b)(menu);
  10016. const openedX = menu.width * (menu.isEndSide ? -1 : 1) + 'px';
  10017. const contentOpen = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_4__.c)().addElement(menu.contentEl) // REVIEW
  10018. .fromTo('transform', 'translateX(0px)', `translateX(${openedX})`);
  10019. return baseAnimation(mode === 'ios').addAnimation(contentOpen);
  10020. };
  10021. const createMenuController = () => {
  10022. const menuAnimations = new Map();
  10023. const menus = [];
  10024. const open = /*#__PURE__*/function () {
  10025. var _ref = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (menu) {
  10026. const menuEl = yield get(menu);
  10027. if (menuEl) {
  10028. return menuEl.open();
  10029. }
  10030. return false;
  10031. });
  10032. return function open(_x) {
  10033. return _ref.apply(this, arguments);
  10034. };
  10035. }();
  10036. const close = /*#__PURE__*/function () {
  10037. var _ref2 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (menu) {
  10038. const menuEl = yield menu !== undefined ? get(menu) : getOpen();
  10039. if (menuEl !== undefined) {
  10040. return menuEl.close();
  10041. }
  10042. return false;
  10043. });
  10044. return function close(_x2) {
  10045. return _ref2.apply(this, arguments);
  10046. };
  10047. }();
  10048. const toggle = /*#__PURE__*/function () {
  10049. var _ref3 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (menu) {
  10050. const menuEl = yield get(menu);
  10051. if (menuEl) {
  10052. return menuEl.toggle();
  10053. }
  10054. return false;
  10055. });
  10056. return function toggle(_x3) {
  10057. return _ref3.apply(this, arguments);
  10058. };
  10059. }();
  10060. const enable = /*#__PURE__*/function () {
  10061. var _ref4 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (shouldEnable, menu) {
  10062. const menuEl = yield get(menu);
  10063. if (menuEl) {
  10064. menuEl.disabled = !shouldEnable;
  10065. }
  10066. return menuEl;
  10067. });
  10068. return function enable(_x4, _x5) {
  10069. return _ref4.apply(this, arguments);
  10070. };
  10071. }();
  10072. const swipeGesture = /*#__PURE__*/function () {
  10073. var _ref5 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (shouldEnable, menu) {
  10074. const menuEl = yield get(menu);
  10075. if (menuEl) {
  10076. menuEl.swipeGesture = shouldEnable;
  10077. }
  10078. return menuEl;
  10079. });
  10080. return function swipeGesture(_x6, _x7) {
  10081. return _ref5.apply(this, arguments);
  10082. };
  10083. }();
  10084. const isOpen = /*#__PURE__*/function () {
  10085. var _ref6 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (menu) {
  10086. if (menu != null) {
  10087. const menuEl = yield get(menu); // eslint-disable-next-line @typescript-eslint/prefer-optional-chain
  10088. return menuEl !== undefined && menuEl.isOpen();
  10089. } else {
  10090. const menuEl = yield getOpen();
  10091. return menuEl !== undefined;
  10092. }
  10093. });
  10094. return function isOpen(_x8) {
  10095. return _ref6.apply(this, arguments);
  10096. };
  10097. }();
  10098. const isEnabled = /*#__PURE__*/function () {
  10099. var _ref7 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (menu) {
  10100. const menuEl = yield get(menu);
  10101. if (menuEl) {
  10102. return !menuEl.disabled;
  10103. }
  10104. return false;
  10105. });
  10106. return function isEnabled(_x9) {
  10107. return _ref7.apply(this, arguments);
  10108. };
  10109. }();
  10110. const get = /*#__PURE__*/function () {
  10111. var _ref8 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (menu) {
  10112. yield waitUntilReady();
  10113. if (menu === 'start' || menu === 'end') {
  10114. // there could be more than one menu on the same side
  10115. // so first try to get the enabled one
  10116. const menuRef = find(m => m.side === menu && !m.disabled);
  10117. if (menuRef) {
  10118. return menuRef;
  10119. } // didn't find a menu side that is enabled
  10120. // so try to get the first menu side found
  10121. return find(m => m.side === menu);
  10122. } else if (menu != null) {
  10123. // the menuId was not left or right
  10124. // so try to get the menu by its "id"
  10125. return find(m => m.menuId === menu);
  10126. } // return the first enabled menu
  10127. const menuEl = find(m => !m.disabled);
  10128. if (menuEl) {
  10129. return menuEl;
  10130. } // get the first menu in the array, if one exists
  10131. return menus.length > 0 ? menus[0].el : undefined;
  10132. });
  10133. return function get(_x10) {
  10134. return _ref8.apply(this, arguments);
  10135. };
  10136. }();
  10137. /**
  10138. * Get the instance of the opened menu. Returns `null` if a menu is not found.
  10139. */
  10140. const getOpen = /*#__PURE__*/function () {
  10141. var _ref9 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () {
  10142. yield waitUntilReady();
  10143. return _getOpenSync();
  10144. });
  10145. return function getOpen() {
  10146. return _ref9.apply(this, arguments);
  10147. };
  10148. }();
  10149. /**
  10150. * Get all menu instances.
  10151. */
  10152. const getMenus = /*#__PURE__*/function () {
  10153. var _ref10 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () {
  10154. yield waitUntilReady();
  10155. return getMenusSync();
  10156. });
  10157. return function getMenus() {
  10158. return _ref10.apply(this, arguments);
  10159. };
  10160. }();
  10161. /**
  10162. * Get whether or not a menu is animating. Returns `true` if any
  10163. * menu is currently animating.
  10164. */
  10165. const isAnimating = /*#__PURE__*/function () {
  10166. var _ref11 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () {
  10167. yield waitUntilReady();
  10168. return isAnimatingSync();
  10169. });
  10170. return function isAnimating() {
  10171. return _ref11.apply(this, arguments);
  10172. };
  10173. }();
  10174. const registerAnimation = (name, animation) => {
  10175. menuAnimations.set(name, animation);
  10176. };
  10177. const _register = menu => {
  10178. if (menus.indexOf(menu) < 0) {
  10179. if (!menu.disabled) {
  10180. _setActiveMenu(menu);
  10181. }
  10182. menus.push(menu);
  10183. }
  10184. };
  10185. const _unregister = menu => {
  10186. const index = menus.indexOf(menu);
  10187. if (index > -1) {
  10188. menus.splice(index, 1);
  10189. }
  10190. };
  10191. const _setActiveMenu = menu => {
  10192. // if this menu should be enabled
  10193. // then find all the other menus on this same side
  10194. // and automatically disable other same side menus
  10195. const side = menu.side;
  10196. menus.filter(m => m.side === side && m !== menu).forEach(m => m.disabled = true);
  10197. };
  10198. const _setOpen = /*#__PURE__*/function () {
  10199. var _ref12 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (menu, shouldOpen, animated) {
  10200. if (isAnimatingSync()) {
  10201. return false;
  10202. }
  10203. if (shouldOpen) {
  10204. const openedMenu = yield getOpen();
  10205. if (openedMenu && menu.el !== openedMenu) {
  10206. yield openedMenu.setOpen(false, false);
  10207. }
  10208. }
  10209. return menu._setOpen(shouldOpen, animated);
  10210. });
  10211. return function _setOpen(_x11, _x12, _x13) {
  10212. return _ref12.apply(this, arguments);
  10213. };
  10214. }();
  10215. const _createAnimation = (type, menuCmp) => {
  10216. const animationBuilder = menuAnimations.get(type);
  10217. if (!animationBuilder) {
  10218. throw new Error('animation not registered');
  10219. }
  10220. const animation = animationBuilder(menuCmp);
  10221. return animation;
  10222. };
  10223. const _getOpenSync = () => {
  10224. return find(m => m._isOpen);
  10225. };
  10226. const getMenusSync = () => {
  10227. return menus.map(menu => menu.el);
  10228. };
  10229. const isAnimatingSync = () => {
  10230. return menus.some(menu => menu.isAnimating);
  10231. };
  10232. const find = predicate => {
  10233. const instance = menus.find(predicate);
  10234. if (instance !== undefined) {
  10235. return instance.el;
  10236. }
  10237. return undefined;
  10238. };
  10239. const waitUntilReady = () => {
  10240. return Promise.all(Array.from(document.querySelectorAll('ion-menu')).map(menu => new Promise(resolve => (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_2__.c)(menu, resolve))));
  10241. };
  10242. registerAnimation('reveal', menuRevealAnimation);
  10243. registerAnimation('push', menuPushAnimation);
  10244. registerAnimation('overlay', menuOverlayAnimation);
  10245. if (typeof document !== 'undefined') {
  10246. document.addEventListener('ionBackButton', ev => {
  10247. const openMenu = _getOpenSync();
  10248. if (openMenu) {
  10249. ev.detail.register(_hardware_back_button_490df115_js__WEBPACK_IMPORTED_MODULE_1__.MENU_BACK_BUTTON_PRIORITY, () => {
  10250. return openMenu.close();
  10251. });
  10252. }
  10253. });
  10254. }
  10255. return {
  10256. registerAnimation,
  10257. get,
  10258. getMenus,
  10259. getOpen,
  10260. isEnabled,
  10261. swipeGesture,
  10262. isAnimating,
  10263. isOpen,
  10264. enable,
  10265. toggle,
  10266. close,
  10267. open,
  10268. _getOpenSync,
  10269. _createAnimation,
  10270. _register,
  10271. _unregister,
  10272. _setOpen,
  10273. _setActiveMenu
  10274. };
  10275. };
  10276. const menuController = /*@__PURE__*/createMenuController();
  10277. /***/ }),
  10278. /***/ 1559:
  10279. /*!*************************************************************!*\
  10280. !*** ./node_modules/@ionic/core/dist/esm/index-8e692445.js ***!
  10281. \*************************************************************/
  10282. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  10283. __webpack_require__.r(__webpack_exports__);
  10284. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  10285. /* harmony export */ "B": () => (/* binding */ Build),
  10286. /* harmony export */ "H": () => (/* binding */ Host),
  10287. /* harmony export */ "N": () => (/* binding */ NAMESPACE),
  10288. /* harmony export */ "a": () => (/* binding */ setMode),
  10289. /* harmony export */ "b": () => (/* binding */ bootstrapLazy),
  10290. /* harmony export */ "c": () => (/* binding */ writeTask),
  10291. /* harmony export */ "d": () => (/* binding */ doc),
  10292. /* harmony export */ "e": () => (/* binding */ createEvent),
  10293. /* harmony export */ "f": () => (/* binding */ readTask),
  10294. /* harmony export */ "g": () => (/* binding */ getMode),
  10295. /* harmony export */ "h": () => (/* binding */ h),
  10296. /* harmony export */ "i": () => (/* binding */ getElement),
  10297. /* harmony export */ "j": () => (/* binding */ forceUpdate),
  10298. /* harmony export */ "k": () => (/* binding */ getAssetPath),
  10299. /* harmony export */ "p": () => (/* binding */ promiseResolve),
  10300. /* harmony export */ "r": () => (/* binding */ registerInstance),
  10301. /* harmony export */ "s": () => (/* binding */ setPlatformHelpers),
  10302. /* harmony export */ "w": () => (/* binding */ win)
  10303. /* harmony export */ });
  10304. /* harmony import */ var _Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 1670);
  10305. /*!
  10306. * (C) Ionic http://ionicframework.com - MIT License
  10307. */
  10308. const NAMESPACE = 'ionic';
  10309. let scopeId;
  10310. let contentRef;
  10311. let hostTagName;
  10312. let useNativeShadowDom = false;
  10313. let checkSlotFallbackVisibility = false;
  10314. let checkSlotRelocate = false;
  10315. let isSvgMode = false;
  10316. let queuePending = false;
  10317. const win = typeof window !== 'undefined' ? window : {};
  10318. const doc = win.document || {
  10319. head: {}
  10320. };
  10321. const plt = {
  10322. $flags$: 0,
  10323. $resourcesUrl$: '',
  10324. jmp: h => h(),
  10325. raf: h => requestAnimationFrame(h),
  10326. ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
  10327. rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
  10328. ce: (eventName, opts) => new CustomEvent(eventName, opts)
  10329. };
  10330. const setPlatformHelpers = helpers => {
  10331. Object.assign(plt, helpers);
  10332. };
  10333. const supportsShadow = true;
  10334. const promiseResolve = v => Promise.resolve(v);
  10335. const supportsConstructableStylesheets = /*@__PURE__*/(() => {
  10336. try {
  10337. new CSSStyleSheet();
  10338. return typeof new CSSStyleSheet().replaceSync === 'function';
  10339. } catch (e) {}
  10340. return false;
  10341. })();
  10342. const addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
  10343. if (listeners) {
  10344. listeners.map(([flags, name, method]) => {
  10345. const target = getHostListenerTarget(elm, flags);
  10346. const handler = hostListenerProxy(hostRef, method);
  10347. const opts = hostListenerOpts(flags);
  10348. plt.ael(target, name, handler, opts);
  10349. (hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
  10350. });
  10351. }
  10352. };
  10353. const hostListenerProxy = (hostRef, methodName) => ev => {
  10354. try {
  10355. {
  10356. if (hostRef.$flags$ & 256
  10357. /* HOST_FLAGS.isListenReady */
  10358. ) {
  10359. // instance is ready, let's call it's member method for this event
  10360. hostRef.$lazyInstance$[methodName](ev);
  10361. } else {
  10362. (hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
  10363. }
  10364. }
  10365. } catch (e) {
  10366. consoleError(e);
  10367. }
  10368. };
  10369. const getHostListenerTarget = (elm, flags) => {
  10370. if (flags & 4
  10371. /* LISTENER_FLAGS.TargetDocument */
  10372. ) return doc;
  10373. if (flags & 8
  10374. /* LISTENER_FLAGS.TargetWindow */
  10375. ) return win;
  10376. if (flags & 16
  10377. /* LISTENER_FLAGS.TargetBody */
  10378. ) return doc.body;
  10379. return elm;
  10380. }; // prettier-ignore
  10381. const hostListenerOpts = flags => (flags & 2
  10382. /* LISTENER_FLAGS.Capture */
  10383. ) !== 0;
  10384. const CONTENT_REF_ID = 'r';
  10385. const ORG_LOCATION_ID = 'o';
  10386. const SLOT_NODE_ID = 's';
  10387. const TEXT_NODE_ID = 't';
  10388. const HYDRATE_ID = 's-id';
  10389. const HYDRATED_STYLE_ID = 'sty-id';
  10390. const HYDRATE_CHILD_ID = 'c-id';
  10391. const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
  10392. const XLINK_NS = 'http://www.w3.org/1999/xlink';
  10393. const createTime = (fnName, tagName = '') => {
  10394. {
  10395. return () => {
  10396. return;
  10397. };
  10398. }
  10399. };
  10400. const uniqueTime = (key, measureText) => {
  10401. {
  10402. return () => {
  10403. return;
  10404. };
  10405. }
  10406. };
  10407. const rootAppliedStyles = /*@__PURE__*/new WeakMap();
  10408. const registerStyle = (scopeId, cssText, allowCS) => {
  10409. let style = styles.get(scopeId);
  10410. if (supportsConstructableStylesheets && allowCS) {
  10411. style = style || new CSSStyleSheet();
  10412. if (typeof style === 'string') {
  10413. style = cssText;
  10414. } else {
  10415. style.replaceSync(cssText);
  10416. }
  10417. } else {
  10418. style = cssText;
  10419. }
  10420. styles.set(scopeId, style);
  10421. };
  10422. const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
  10423. let scopeId = getScopeId(cmpMeta, mode);
  10424. const style = styles.get(scopeId); // if an element is NOT connected then getRootNode() will return the wrong root node
  10425. // so the fallback is to always use the document for the root node in those cases
  10426. styleContainerNode = styleContainerNode.nodeType === 11
  10427. /* NODE_TYPE.DocumentFragment */
  10428. ? styleContainerNode : doc;
  10429. if (style) {
  10430. if (typeof style === 'string') {
  10431. styleContainerNode = styleContainerNode.head || styleContainerNode;
  10432. let appliedStyles = rootAppliedStyles.get(styleContainerNode);
  10433. let styleElm;
  10434. if (!appliedStyles) {
  10435. rootAppliedStyles.set(styleContainerNode, appliedStyles = new Set());
  10436. }
  10437. if (!appliedStyles.has(scopeId)) {
  10438. if (styleContainerNode.host && (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId}"]`))) {
  10439. // This is only happening on native shadow-dom, do not needs CSS var shim
  10440. styleElm.innerHTML = style;
  10441. } else {
  10442. {
  10443. styleElm = doc.createElement('style');
  10444. styleElm.innerHTML = style;
  10445. }
  10446. styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
  10447. }
  10448. if (appliedStyles) {
  10449. appliedStyles.add(scopeId);
  10450. }
  10451. }
  10452. } else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
  10453. styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
  10454. }
  10455. }
  10456. return scopeId;
  10457. };
  10458. const attachStyles = hostRef => {
  10459. const cmpMeta = hostRef.$cmpMeta$;
  10460. const elm = hostRef.$hostElement$;
  10461. const flags = cmpMeta.$flags$;
  10462. const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
  10463. const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta, hostRef.$modeName$);
  10464. if (flags & 10
  10465. /* CMP_FLAGS.needsScopedEncapsulation */
  10466. ) {
  10467. // only required when we're NOT using native shadow dom (slot)
  10468. // or this browser doesn't support native shadow dom
  10469. // and this host element was NOT created with SSR
  10470. // let's pick out the inner content for slot projection
  10471. // create a node to represent where the original
  10472. // content was first placed, which is useful later on
  10473. // DOM WRITE!!
  10474. elm['s-sc'] = scopeId;
  10475. elm.classList.add(scopeId + '-h');
  10476. if (flags & 2
  10477. /* CMP_FLAGS.scopedCssEncapsulation */
  10478. ) {
  10479. elm.classList.add(scopeId + '-s');
  10480. }
  10481. }
  10482. endAttachStyles();
  10483. };
  10484. const getScopeId = (cmp, mode) => 'sc-' + (mode && cmp.$flags$ & 32
  10485. /* CMP_FLAGS.hasMode */
  10486. ? cmp.$tagName$ + '-' + mode : cmp.$tagName$);
  10487. const convertScopedToShadow = css => css.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g, '$1{'); // Private
  10488. const computeMode = elm => modeResolutionChain.map(h => h(elm)).find(m => !!m); // Public
  10489. const setMode = handler => modeResolutionChain.push(handler);
  10490. const getMode = ref => getHostRef(ref).$modeName$;
  10491. /**
  10492. * Default style mode id
  10493. */
  10494. /**
  10495. * Reusable empty obj/array
  10496. * Don't add values to these!!
  10497. */
  10498. const EMPTY_OBJ = {};
  10499. /**
  10500. * Namespaces
  10501. */
  10502. const SVG_NS = 'http://www.w3.org/2000/svg';
  10503. const HTML_NS = 'http://www.w3.org/1999/xhtml';
  10504. const isDef = v => v != null;
  10505. const isComplexType = o => {
  10506. // https://jsperf.com/typeof-fn-object/5
  10507. o = typeof o;
  10508. return o === 'object' || o === 'function';
  10509. };
  10510. /**
  10511. * Production h() function based on Preact by
  10512. * Jason Miller (@developit)
  10513. * Licensed under the MIT License
  10514. * https://github.com/developit/preact/blob/master/LICENSE
  10515. *
  10516. * Modified for Stencil's compiler and vdom
  10517. */
  10518. // const stack: any[] = [];
  10519. // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, child?: d.ChildType): d.VNode;
  10520. // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, ...children: d.ChildType[]): d.VNode;
  10521. const h = (nodeName, vnodeData, ...children) => {
  10522. let child = null;
  10523. let key = null;
  10524. let slotName = null;
  10525. let simple = false;
  10526. let lastSimple = false;
  10527. const vNodeChildren = [];
  10528. const walk = c => {
  10529. for (let i = 0; i < c.length; i++) {
  10530. child = c[i];
  10531. if (Array.isArray(child)) {
  10532. walk(child);
  10533. } else if (child != null && typeof child !== 'boolean') {
  10534. if (simple = typeof nodeName !== 'function' && !isComplexType(child)) {
  10535. child = String(child);
  10536. }
  10537. if (simple && lastSimple) {
  10538. // If the previous child was simple (string), we merge both
  10539. vNodeChildren[vNodeChildren.length - 1].$text$ += child;
  10540. } else {
  10541. // Append a new vNode, if it's text, we create a text vNode
  10542. vNodeChildren.push(simple ? newVNode(null, child) : child);
  10543. }
  10544. lastSimple = simple;
  10545. }
  10546. }
  10547. };
  10548. walk(children);
  10549. if (vnodeData) {
  10550. // normalize class / classname attributes
  10551. if (vnodeData.key) {
  10552. key = vnodeData.key;
  10553. }
  10554. if (vnodeData.name) {
  10555. slotName = vnodeData.name;
  10556. }
  10557. {
  10558. const classData = vnodeData.className || vnodeData.class;
  10559. if (classData) {
  10560. vnodeData.class = typeof classData !== 'object' ? classData : Object.keys(classData).filter(k => classData[k]).join(' ');
  10561. }
  10562. }
  10563. }
  10564. if (typeof nodeName === 'function') {
  10565. // nodeName is a functional component
  10566. return nodeName(vnodeData === null ? {} : vnodeData, vNodeChildren, vdomFnUtils);
  10567. }
  10568. const vnode = newVNode(nodeName, null);
  10569. vnode.$attrs$ = vnodeData;
  10570. if (vNodeChildren.length > 0) {
  10571. vnode.$children$ = vNodeChildren;
  10572. }
  10573. {
  10574. vnode.$key$ = key;
  10575. }
  10576. {
  10577. vnode.$name$ = slotName;
  10578. }
  10579. return vnode;
  10580. };
  10581. const newVNode = (tag, text) => {
  10582. const vnode = {
  10583. $flags$: 0,
  10584. $tag$: tag,
  10585. $text$: text,
  10586. $elm$: null,
  10587. $children$: null
  10588. };
  10589. {
  10590. vnode.$attrs$ = null;
  10591. }
  10592. {
  10593. vnode.$key$ = null;
  10594. }
  10595. {
  10596. vnode.$name$ = null;
  10597. }
  10598. return vnode;
  10599. };
  10600. const Host = {};
  10601. const isHost = node => node && node.$tag$ === Host;
  10602. const vdomFnUtils = {
  10603. forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
  10604. map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate)
  10605. };
  10606. const convertToPublic = node => ({
  10607. vattrs: node.$attrs$,
  10608. vchildren: node.$children$,
  10609. vkey: node.$key$,
  10610. vname: node.$name$,
  10611. vtag: node.$tag$,
  10612. vtext: node.$text$
  10613. });
  10614. const convertToPrivate = node => {
  10615. if (typeof node.vtag === 'function') {
  10616. const vnodeData = Object.assign({}, node.vattrs);
  10617. if (node.vkey) {
  10618. vnodeData.key = node.vkey;
  10619. }
  10620. if (node.vname) {
  10621. vnodeData.name = node.vname;
  10622. }
  10623. return h(node.vtag, vnodeData, ...(node.vchildren || []));
  10624. }
  10625. const vnode = newVNode(node.vtag, node.vtext);
  10626. vnode.$attrs$ = node.vattrs;
  10627. vnode.$children$ = node.vchildren;
  10628. vnode.$key$ = node.vkey;
  10629. vnode.$name$ = node.vname;
  10630. return vnode;
  10631. };
  10632. /**
  10633. * Production setAccessor() function based on Preact by
  10634. * Jason Miller (@developit)
  10635. * Licensed under the MIT License
  10636. * https://github.com/developit/preact/blob/master/LICENSE
  10637. *
  10638. * Modified for Stencil's compiler and vdom
  10639. */
  10640. const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
  10641. if (oldValue !== newValue) {
  10642. let isProp = isMemberInElement(elm, memberName);
  10643. let ln = memberName.toLowerCase();
  10644. if (memberName === 'class') {
  10645. const classList = elm.classList;
  10646. const oldClasses = parseClassList(oldValue);
  10647. const newClasses = parseClassList(newValue);
  10648. classList.remove(...oldClasses.filter(c => c && !newClasses.includes(c)));
  10649. classList.add(...newClasses.filter(c => c && !oldClasses.includes(c)));
  10650. } else if (memberName === 'style') {
  10651. // update style attribute, css properties and values
  10652. {
  10653. for (const prop in oldValue) {
  10654. if (!newValue || newValue[prop] == null) {
  10655. if (prop.includes('-')) {
  10656. elm.style.removeProperty(prop);
  10657. } else {
  10658. elm.style[prop] = '';
  10659. }
  10660. }
  10661. }
  10662. }
  10663. for (const prop in newValue) {
  10664. if (!oldValue || newValue[prop] !== oldValue[prop]) {
  10665. if (prop.includes('-')) {
  10666. elm.style.setProperty(prop, newValue[prop]);
  10667. } else {
  10668. elm.style[prop] = newValue[prop];
  10669. }
  10670. }
  10671. }
  10672. } else if (memberName === 'key') ;else if (memberName === 'ref') {
  10673. // minifier will clean this up
  10674. if (newValue) {
  10675. newValue(elm);
  10676. }
  10677. } else if (!isProp && memberName[0] === 'o' && memberName[1] === 'n') {
  10678. // Event Handlers
  10679. // so if the member name starts with "on" and the 3rd characters is
  10680. // a capital letter, and it's not already a member on the element,
  10681. // then we're assuming it's an event listener
  10682. if (memberName[2] === '-') {
  10683. // on- prefixed events
  10684. // allows to be explicit about the dom event to listen without any magic
  10685. // under the hood:
  10686. // <my-cmp on-click> // listens for "click"
  10687. // <my-cmp on-Click> // listens for "Click"
  10688. // <my-cmp on-ionChange> // listens for "ionChange"
  10689. // <my-cmp on-EVENTS> // listens for "EVENTS"
  10690. memberName = memberName.slice(3);
  10691. } else if (isMemberInElement(win, ln)) {
  10692. // standard event
  10693. // the JSX attribute could have been "onMouseOver" and the
  10694. // member name "onmouseover" is on the window's prototype
  10695. // so let's add the listener "mouseover", which is all lowercased
  10696. memberName = ln.slice(2);
  10697. } else {
  10698. // custom event
  10699. // the JSX attribute could have been "onMyCustomEvent"
  10700. // so let's trim off the "on" prefix and lowercase the first character
  10701. // and add the listener "myCustomEvent"
  10702. // except for the first character, we keep the event name case
  10703. memberName = ln[2] + memberName.slice(3);
  10704. }
  10705. if (oldValue) {
  10706. plt.rel(elm, memberName, oldValue, false);
  10707. }
  10708. if (newValue) {
  10709. plt.ael(elm, memberName, newValue, false);
  10710. }
  10711. } else {
  10712. // Set property if it exists and it's not a SVG
  10713. const isComplex = isComplexType(newValue);
  10714. if ((isProp || isComplex && newValue !== null) && !isSvg) {
  10715. try {
  10716. if (!elm.tagName.includes('-')) {
  10717. const n = newValue == null ? '' : newValue; // Workaround for Safari, moving the <input> caret when re-assigning the same valued
  10718. if (memberName === 'list') {
  10719. isProp = false;
  10720. } else if (oldValue == null || elm[memberName] != n) {
  10721. elm[memberName] = n;
  10722. }
  10723. } else {
  10724. elm[memberName] = newValue;
  10725. }
  10726. } catch (e) {}
  10727. }
  10728. /**
  10729. * Need to manually update attribute if:
  10730. * - memberName is not an attribute
  10731. * - if we are rendering the host element in order to reflect attribute
  10732. * - if it's a SVG, since properties might not work in <svg>
  10733. * - if the newValue is null/undefined or 'false'.
  10734. */
  10735. let xlink = false;
  10736. {
  10737. if (ln !== (ln = ln.replace(/^xlink\:?/, ''))) {
  10738. memberName = ln;
  10739. xlink = true;
  10740. }
  10741. }
  10742. if (newValue == null || newValue === false) {
  10743. if (newValue !== false || elm.getAttribute(memberName) === '') {
  10744. if (xlink) {
  10745. elm.removeAttributeNS(XLINK_NS, memberName);
  10746. } else {
  10747. elm.removeAttribute(memberName);
  10748. }
  10749. }
  10750. } else if ((!isProp || flags & 4
  10751. /* VNODE_FLAGS.isHost */
  10752. || isSvg) && !isComplex) {
  10753. newValue = newValue === true ? '' : newValue;
  10754. if (xlink) {
  10755. elm.setAttributeNS(XLINK_NS, memberName, newValue);
  10756. } else {
  10757. elm.setAttribute(memberName, newValue);
  10758. }
  10759. }
  10760. }
  10761. }
  10762. };
  10763. const parseClassListRegex = /\s/;
  10764. const parseClassList = value => !value ? [] : value.split(parseClassListRegex);
  10765. const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
  10766. // if the element passed in is a shadow root, which is a document fragment
  10767. // then we want to be adding attrs/props to the shadow root's "host" element
  10768. // if it's not a shadow root, then we add attrs/props to the same element
  10769. const elm = newVnode.$elm$.nodeType === 11
  10770. /* NODE_TYPE.DocumentFragment */
  10771. && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
  10772. const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
  10773. const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
  10774. {
  10775. // remove attributes no longer present on the vnode by setting them to undefined
  10776. for (memberName in oldVnodeAttrs) {
  10777. if (!(memberName in newVnodeAttrs)) {
  10778. setAccessor(elm, memberName, oldVnodeAttrs[memberName], undefined, isSvgMode, newVnode.$flags$);
  10779. }
  10780. }
  10781. } // add new & update changed attributes
  10782. for (memberName in newVnodeAttrs) {
  10783. setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode, newVnode.$flags$);
  10784. }
  10785. };
  10786. /**
  10787. * Create a DOM Node corresponding to one of the children of a given VNode.
  10788. *
  10789. * @param oldParentVNode the parent VNode from the previous render
  10790. * @param newParentVNode the parent VNode from the current render
  10791. * @param childIndex the index of the VNode, in the _new_ parent node's
  10792. * children, for which we will create a new DOM node
  10793. * @param parentElm the parent DOM node which our new node will be a child of
  10794. * @returns the newly created node
  10795. */
  10796. const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
  10797. // tslint:disable-next-line: prefer-const
  10798. const newVNode = newParentVNode.$children$[childIndex];
  10799. let i = 0;
  10800. let elm;
  10801. let childNode;
  10802. let oldVNode;
  10803. if (!useNativeShadowDom) {
  10804. // remember for later we need to check to relocate nodes
  10805. checkSlotRelocate = true;
  10806. if (newVNode.$tag$ === 'slot') {
  10807. if (scopeId) {
  10808. // scoped css needs to add its scoped id to the parent element
  10809. parentElm.classList.add(scopeId + '-s');
  10810. }
  10811. newVNode.$flags$ |= newVNode.$children$ ? // slot element has fallback content
  10812. 2
  10813. /* VNODE_FLAGS.isSlotFallback */
  10814. : // slot element does not have fallback content
  10815. 1
  10816. /* VNODE_FLAGS.isSlotReference */
  10817. ;
  10818. }
  10819. }
  10820. if (newVNode.$text$ !== null) {
  10821. // create text node
  10822. elm = newVNode.$elm$ = doc.createTextNode(newVNode.$text$);
  10823. } else if (newVNode.$flags$ & 1
  10824. /* VNODE_FLAGS.isSlotReference */
  10825. ) {
  10826. // create a slot reference node
  10827. elm = newVNode.$elm$ = doc.createTextNode('');
  10828. } else {
  10829. if (!isSvgMode) {
  10830. isSvgMode = newVNode.$tag$ === 'svg';
  10831. } // create element
  10832. elm = newVNode.$elm$ = doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2
  10833. /* VNODE_FLAGS.isSlotFallback */
  10834. ? 'slot-fb' : newVNode.$tag$);
  10835. if (isSvgMode && newVNode.$tag$ === 'foreignObject') {
  10836. isSvgMode = false;
  10837. } // add css classes, attrs, props, listeners, etc.
  10838. {
  10839. updateElement(null, newVNode, isSvgMode);
  10840. }
  10841. if (isDef(scopeId) && elm['s-si'] !== scopeId) {
  10842. // if there is a scopeId and this is the initial render
  10843. // then let's add the scopeId as a css class
  10844. elm.classList.add(elm['s-si'] = scopeId);
  10845. }
  10846. if (newVNode.$children$) {
  10847. for (i = 0; i < newVNode.$children$.length; ++i) {
  10848. // create the node
  10849. childNode = createElm(oldParentVNode, newVNode, i, elm); // return node could have been null
  10850. if (childNode) {
  10851. // append our new node
  10852. elm.appendChild(childNode);
  10853. }
  10854. }
  10855. }
  10856. {
  10857. if (newVNode.$tag$ === 'svg') {
  10858. // Only reset the SVG context when we're exiting <svg> element
  10859. isSvgMode = false;
  10860. } else if (elm.tagName === 'foreignObject') {
  10861. // Reenter SVG context when we're exiting <foreignObject> element
  10862. isSvgMode = true;
  10863. }
  10864. }
  10865. }
  10866. {
  10867. elm['s-hn'] = hostTagName;
  10868. if (newVNode.$flags$ & (2
  10869. /* VNODE_FLAGS.isSlotFallback */
  10870. | 1
  10871. /* VNODE_FLAGS.isSlotReference */
  10872. )) {
  10873. // remember the content reference comment
  10874. elm['s-sr'] = true; // remember the content reference comment
  10875. elm['s-cr'] = contentRef; // remember the slot name, or empty string for default slot
  10876. elm['s-sn'] = newVNode.$name$ || ''; // check if we've got an old vnode for this slot
  10877. oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
  10878. if (oldVNode && oldVNode.$tag$ === newVNode.$tag$ && oldParentVNode.$elm$) {
  10879. // we've got an old slot vnode and the wrapper is being replaced
  10880. // so let's move the old slot content back to it's original location
  10881. putBackInOriginalLocation(oldParentVNode.$elm$, false);
  10882. }
  10883. }
  10884. }
  10885. return elm;
  10886. };
  10887. const putBackInOriginalLocation = (parentElm, recursive) => {
  10888. plt.$flags$ |= 1
  10889. /* PLATFORM_FLAGS.isTmpDisconnected */
  10890. ;
  10891. const oldSlotChildNodes = parentElm.childNodes;
  10892. for (let i = oldSlotChildNodes.length - 1; i >= 0; i--) {
  10893. const childNode = oldSlotChildNodes[i];
  10894. if (childNode['s-hn'] !== hostTagName && childNode['s-ol']) {
  10895. // // this child node in the old element is from another component
  10896. // // remove this node from the old slot's parent
  10897. // childNode.remove();
  10898. // and relocate it back to it's original location
  10899. parentReferenceNode(childNode).insertBefore(childNode, referenceNode(childNode)); // remove the old original location comment entirely
  10900. // later on the patch function will know what to do
  10901. // and move this to the correct spot in need be
  10902. childNode['s-ol'].remove();
  10903. childNode['s-ol'] = undefined;
  10904. checkSlotRelocate = true;
  10905. }
  10906. if (recursive) {
  10907. putBackInOriginalLocation(childNode, recursive);
  10908. }
  10909. }
  10910. plt.$flags$ &= ~1
  10911. /* PLATFORM_FLAGS.isTmpDisconnected */
  10912. ;
  10913. };
  10914. const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
  10915. let containerElm = parentElm['s-cr'] && parentElm['s-cr'].parentNode || parentElm;
  10916. let childNode;
  10917. if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
  10918. containerElm = containerElm.shadowRoot;
  10919. }
  10920. for (; startIdx <= endIdx; ++startIdx) {
  10921. if (vnodes[startIdx]) {
  10922. childNode = createElm(null, parentVNode, startIdx, parentElm);
  10923. if (childNode) {
  10924. vnodes[startIdx].$elm$ = childNode;
  10925. containerElm.insertBefore(childNode, referenceNode(before));
  10926. }
  10927. }
  10928. }
  10929. };
  10930. const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
  10931. for (; startIdx <= endIdx; ++startIdx) {
  10932. if (vnode = vnodes[startIdx]) {
  10933. elm = vnode.$elm$;
  10934. callNodeRefs(vnode);
  10935. {
  10936. // we're removing this element
  10937. // so it's possible we need to show slot fallback content now
  10938. checkSlotFallbackVisibility = true;
  10939. if (elm['s-ol']) {
  10940. // remove the original location comment
  10941. elm['s-ol'].remove();
  10942. } else {
  10943. // it's possible that child nodes of the node
  10944. // that's being removed are slot nodes
  10945. putBackInOriginalLocation(elm, true);
  10946. }
  10947. } // remove the vnode's element from the dom
  10948. elm.remove();
  10949. }
  10950. }
  10951. };
  10952. /**
  10953. * Reconcile the children of a new VNode with the children of an old VNode by
  10954. * traversing the two collections of children, identifying nodes that are
  10955. * conserved or changed, calling out to `patch` to make any necessary
  10956. * updates to the DOM, and rearranging DOM nodes as needed.
  10957. *
  10958. * The algorithm for reconciling children works by analyzing two 'windows' onto
  10959. * the two arrays of children (`oldCh` and `newCh`). We keep track of the
  10960. * 'windows' by storing start and end indices and references to the
  10961. * corresponding array entries. Initially the two 'windows' are basically equal
  10962. * to the entire array, but we progressively narrow the windows until there are
  10963. * no children left to update by doing the following:
  10964. *
  10965. * 1. Skip any `null` entries at the beginning or end of the two arrays, so
  10966. * that if we have an initial array like the following we'll end up dealing
  10967. * only with a window bounded by the highlighted elements:
  10968. *
  10969. * [null, null, VNode1 , ... , VNode2, null, null]
  10970. * ^^^^^^ ^^^^^^
  10971. *
  10972. * 2. Check to see if the elements at the head and tail positions are equal
  10973. * across the windows. This will basically detect elements which haven't
  10974. * been added, removed, or changed position, i.e. if you had the following
  10975. * VNode elements (represented as HTML):
  10976. *
  10977. * oldVNode: `<div><p><span>HEY</span></p></div>`
  10978. * newVNode: `<div><p><span>THERE</span></p></div>`
  10979. *
  10980. * Then when comparing the children of the `<div>` tag we check the equality
  10981. * of the VNodes corresponding to the `<p>` tags and, since they are the
  10982. * same tag in the same position, we'd be able to avoid completely
  10983. * re-rendering the subtree under them with a new DOM element and would just
  10984. * call out to `patch` to handle reconciling their children and so on.
  10985. *
  10986. * 3. Check, for both windows, to see if the element at the beginning of the
  10987. * window corresponds to the element at the end of the other window. This is
  10988. * a heuristic which will let us identify _some_ situations in which
  10989. * elements have changed position, for instance it _should_ detect that the
  10990. * children nodes themselves have not changed but merely moved in the
  10991. * following example:
  10992. *
  10993. * oldVNode: `<div><element-one /><element-two /></div>`
  10994. * newVNode: `<div><element-two /><element-one /></div>`
  10995. *
  10996. * If we find cases like this then we also need to move the concrete DOM
  10997. * elements corresponding to the moved children to write the re-order to the
  10998. * DOM.
  10999. *
  11000. * 4. Finally, if VNodes have the `key` attribute set on them we check for any
  11001. * nodes in the old children which have the same key as the first element in
  11002. * our window on the new children. If we find such a node we handle calling
  11003. * out to `patch`, moving relevant DOM nodes, and so on, in accordance with
  11004. * what we find.
  11005. *
  11006. * Finally, once we've narrowed our 'windows' to the point that either of them
  11007. * collapse (i.e. they have length 0) we then handle any remaining VNode
  11008. * insertion or deletion that needs to happen to get a DOM state that correctly
  11009. * reflects the new child VNodes. If, for instance, after our window on the old
  11010. * children has collapsed we still have more nodes on the new children that
  11011. * we haven't dealt with yet then we need to add them, or if the new children
  11012. * collapse but we still have unhandled _old_ children then we need to make
  11013. * sure the corresponding DOM nodes are removed.
  11014. *
  11015. * @param parentElm the node into which the parent VNode is rendered
  11016. * @param oldCh the old children of the parent node
  11017. * @param newVNode the new VNode which will replace the parent
  11018. * @param newCh the new children of the parent node
  11019. */
  11020. const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
  11021. let oldStartIdx = 0;
  11022. let newStartIdx = 0;
  11023. let idxInOld = 0;
  11024. let i = 0;
  11025. let oldEndIdx = oldCh.length - 1;
  11026. let oldStartVnode = oldCh[0];
  11027. let oldEndVnode = oldCh[oldEndIdx];
  11028. let newEndIdx = newCh.length - 1;
  11029. let newStartVnode = newCh[0];
  11030. let newEndVnode = newCh[newEndIdx];
  11031. let node;
  11032. let elmToMove;
  11033. while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
  11034. if (oldStartVnode == null) {
  11035. // VNode might have been moved left
  11036. oldStartVnode = oldCh[++oldStartIdx];
  11037. } else if (oldEndVnode == null) {
  11038. oldEndVnode = oldCh[--oldEndIdx];
  11039. } else if (newStartVnode == null) {
  11040. newStartVnode = newCh[++newStartIdx];
  11041. } else if (newEndVnode == null) {
  11042. newEndVnode = newCh[--newEndIdx];
  11043. } else if (isSameVnode(oldStartVnode, newStartVnode)) {
  11044. // if the start nodes are the same then we should patch the new VNode
  11045. // onto the old one, and increment our `newStartIdx` and `oldStartIdx`
  11046. // indices to reflect that. We don't need to move any DOM Nodes around
  11047. // since things are matched up in order.
  11048. patch(oldStartVnode, newStartVnode);
  11049. oldStartVnode = oldCh[++oldStartIdx];
  11050. newStartVnode = newCh[++newStartIdx];
  11051. } else if (isSameVnode(oldEndVnode, newEndVnode)) {
  11052. // likewise, if the end nodes are the same we patch new onto old and
  11053. // decrement our end indices, and also likewise in this case we don't
  11054. // need to move any DOM Nodes.
  11055. patch(oldEndVnode, newEndVnode);
  11056. oldEndVnode = oldCh[--oldEndIdx];
  11057. newEndVnode = newCh[--newEndIdx];
  11058. } else if (isSameVnode(oldStartVnode, newEndVnode)) {
  11059. // case: "Vnode moved right"
  11060. //
  11061. // We've found that the last node in our window on the new children is
  11062. // the same VNode as the _first_ node in our window on the old children
  11063. // we're dealing with now. Visually, this is the layout of these two
  11064. // nodes:
  11065. //
  11066. // newCh: [..., newStartVnode , ... , newEndVnode , ...]
  11067. // ^^^^^^^^^^^
  11068. // oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
  11069. // ^^^^^^^^^^^^^
  11070. //
  11071. // In this situation we need to patch `newEndVnode` onto `oldStartVnode`
  11072. // and move the DOM element for `oldStartVnode`.
  11073. if (oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot') {
  11074. putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
  11075. }
  11076. patch(oldStartVnode, newEndVnode); // We need to move the element for `oldStartVnode` into a position which
  11077. // will be appropriate for `newEndVnode`. For this we can use
  11078. // `.insertBefore` and `oldEndVnode.$elm$.nextSibling`. If there is a
  11079. // sibling for `oldEndVnode.$elm$` then we want to move the DOM node for
  11080. // `oldStartVnode` between `oldEndVnode` and it's sibling, like so:
  11081. //
  11082. // <old-start-node />
  11083. // <some-intervening-node />
  11084. // <old-end-node />
  11085. // <!-- -> <-- `oldStartVnode.$elm$` should be inserted here
  11086. // <next-sibling />
  11087. //
  11088. // If instead `oldEndVnode.$elm$` has no sibling then we just want to put
  11089. // the node for `oldStartVnode` at the end of the children of
  11090. // `parentElm`. Luckily, `Node.nextSibling` will return `null` if there
  11091. // aren't any siblings, and passing `null` to `Node.insertBefore` will
  11092. // append it to the children of the parent element.
  11093. parentElm.insertBefore(oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
  11094. oldStartVnode = oldCh[++oldStartIdx];
  11095. newEndVnode = newCh[--newEndIdx];
  11096. } else if (isSameVnode(oldEndVnode, newStartVnode)) {
  11097. // case: "Vnode moved left"
  11098. //
  11099. // We've found that the first node in our window on the new children is
  11100. // the same VNode as the _last_ node in our window on the old children.
  11101. // Visually, this is the layout of these two nodes:
  11102. //
  11103. // newCh: [..., newStartVnode , ... , newEndVnode , ...]
  11104. // ^^^^^^^^^^^^^
  11105. // oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
  11106. // ^^^^^^^^^^^
  11107. //
  11108. // In this situation we need to patch `newStartVnode` onto `oldEndVnode`
  11109. // (which will handle updating any changed attributes, reconciling their
  11110. // children etc) but we also need to move the DOM node to which
  11111. // `oldEndVnode` corresponds.
  11112. if (oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot') {
  11113. putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
  11114. }
  11115. patch(oldEndVnode, newStartVnode); // We've already checked above if `oldStartVnode` and `newStartVnode` are
  11116. // the same node, so since we're here we know that they are not. Thus we
  11117. // can move the element for `oldEndVnode` _before_ the element for
  11118. // `oldStartVnode`, leaving `oldStartVnode` to be reconciled in the
  11119. // future.
  11120. parentElm.insertBefore(oldEndVnode.$elm$, oldStartVnode.$elm$);
  11121. oldEndVnode = oldCh[--oldEndIdx];
  11122. newStartVnode = newCh[++newStartIdx];
  11123. } else {
  11124. // Here we do some checks to match up old and new nodes based on the
  11125. // `$key$` attribute, which is set by putting a `key="my-key"` attribute
  11126. // in the JSX for a DOM element in the implementation of a Stencil
  11127. // component.
  11128. //
  11129. // First we check to see if there are any nodes in the array of old
  11130. // children which have the same key as the first node in the new
  11131. // children.
  11132. idxInOld = -1;
  11133. {
  11134. for (i = oldStartIdx; i <= oldEndIdx; ++i) {
  11135. if (oldCh[i] && oldCh[i].$key$ !== null && oldCh[i].$key$ === newStartVnode.$key$) {
  11136. idxInOld = i;
  11137. break;
  11138. }
  11139. }
  11140. }
  11141. if (idxInOld >= 0) {
  11142. // We found a node in the old children which matches up with the first
  11143. // node in the new children! So let's deal with that
  11144. elmToMove = oldCh[idxInOld];
  11145. if (elmToMove.$tag$ !== newStartVnode.$tag$) {
  11146. // the tag doesn't match so we'll need a new DOM element
  11147. node = createElm(oldCh && oldCh[newStartIdx], newVNode, idxInOld, parentElm);
  11148. } else {
  11149. patch(elmToMove, newStartVnode); // invalidate the matching old node so that we won't try to update it
  11150. // again later on
  11151. oldCh[idxInOld] = undefined;
  11152. node = elmToMove.$elm$;
  11153. }
  11154. newStartVnode = newCh[++newStartIdx];
  11155. } else {
  11156. // We either didn't find an element in the old children that matches
  11157. // the key of the first new child OR the build is not using `key`
  11158. // attributes at all. In either case we need to create a new element
  11159. // for the new node.
  11160. node = createElm(oldCh && oldCh[newStartIdx], newVNode, newStartIdx, parentElm);
  11161. newStartVnode = newCh[++newStartIdx];
  11162. }
  11163. if (node) {
  11164. // if we created a new node then handle inserting it to the DOM
  11165. {
  11166. parentReferenceNode(oldStartVnode.$elm$).insertBefore(node, referenceNode(oldStartVnode.$elm$));
  11167. }
  11168. }
  11169. }
  11170. }
  11171. if (oldStartIdx > oldEndIdx) {
  11172. // we have some more new nodes to add which don't match up with old nodes
  11173. addVnodes(parentElm, newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$, newVNode, newCh, newStartIdx, newEndIdx);
  11174. } else if (newStartIdx > newEndIdx) {
  11175. // there are nodes in the `oldCh` array which no longer correspond to nodes
  11176. // in the new array, so lets remove them (which entails cleaning up the
  11177. // relevant DOM nodes)
  11178. removeVnodes(oldCh, oldStartIdx, oldEndIdx);
  11179. }
  11180. };
  11181. /**
  11182. * Compare two VNodes to determine if they are the same
  11183. *
  11184. * **NB**: This function is an equality _heuristic_ based on the available
  11185. * information set on the two VNodes and can be misleading under certain
  11186. * circumstances. In particular, if the two nodes do not have `key` attrs
  11187. * (available under `$key$` on VNodes) then the function falls back on merely
  11188. * checking that they have the same tag.
  11189. *
  11190. * So, in other words, if `key` attrs are not set on VNodes which may be
  11191. * changing order within a `children` array or something along those lines then
  11192. * we could obtain a false positive and then have to do needless re-rendering.
  11193. *
  11194. * @param leftVNode the first VNode to check
  11195. * @param rightVNode the second VNode to check
  11196. * @returns whether they're equal or not
  11197. */
  11198. const isSameVnode = (leftVNode, rightVNode) => {
  11199. // compare if two vnode to see if they're "technically" the same
  11200. // need to have the same element tag, and same key to be the same
  11201. if (leftVNode.$tag$ === rightVNode.$tag$) {
  11202. if (leftVNode.$tag$ === 'slot') {
  11203. return leftVNode.$name$ === rightVNode.$name$;
  11204. } // this will be set if components in the build have `key` attrs set on them
  11205. {
  11206. return leftVNode.$key$ === rightVNode.$key$;
  11207. }
  11208. }
  11209. return false;
  11210. };
  11211. const referenceNode = node => {
  11212. // this node was relocated to a new location in the dom
  11213. // because of some other component's slot
  11214. // but we still have an html comment in place of where
  11215. // it's original location was according to it's original vdom
  11216. return node && node['s-ol'] || node;
  11217. };
  11218. const parentReferenceNode = node => (node['s-ol'] ? node['s-ol'] : node).parentNode;
  11219. /**
  11220. * Handle reconciling an outdated VNode with a new one which corresponds to
  11221. * it. This function handles flushing updates to the DOM and reconciling the
  11222. * children of the two nodes (if any).
  11223. *
  11224. * @param oldVNode an old VNode whose DOM element and children we want to update
  11225. * @param newVNode a new VNode representing an updated version of the old one
  11226. */
  11227. const patch = (oldVNode, newVNode) => {
  11228. const elm = newVNode.$elm$ = oldVNode.$elm$;
  11229. const oldChildren = oldVNode.$children$;
  11230. const newChildren = newVNode.$children$;
  11231. const tag = newVNode.$tag$;
  11232. const text = newVNode.$text$;
  11233. let defaultHolder;
  11234. if (text === null) {
  11235. {
  11236. // test if we're rendering an svg element, or still rendering nodes inside of one
  11237. // only add this to the when the compiler sees we're using an svg somewhere
  11238. isSvgMode = tag === 'svg' ? true : tag === 'foreignObject' ? false : isSvgMode;
  11239. }
  11240. {
  11241. if (tag === 'slot') ;else {
  11242. // either this is the first render of an element OR it's an update
  11243. // AND we already know it's possible it could have changed
  11244. // this updates the element's css classes, attrs, props, listeners, etc.
  11245. updateElement(oldVNode, newVNode, isSvgMode);
  11246. }
  11247. }
  11248. if (oldChildren !== null && newChildren !== null) {
  11249. // looks like there's child vnodes for both the old and new vnodes
  11250. // so we need to call `updateChildren` to reconcile them
  11251. updateChildren(elm, oldChildren, newVNode, newChildren);
  11252. } else if (newChildren !== null) {
  11253. // no old child vnodes, but there are new child vnodes to add
  11254. if (oldVNode.$text$ !== null) {
  11255. // the old vnode was text, so be sure to clear it out
  11256. elm.textContent = '';
  11257. } // add the new vnode children
  11258. addVnodes(elm, null, newVNode, newChildren, 0, newChildren.length - 1);
  11259. } else if (oldChildren !== null) {
  11260. // no new child vnodes, but there are old child vnodes to remove
  11261. removeVnodes(oldChildren, 0, oldChildren.length - 1);
  11262. }
  11263. if (isSvgMode && tag === 'svg') {
  11264. isSvgMode = false;
  11265. }
  11266. } else if (defaultHolder = elm['s-cr']) {
  11267. // this element has slotted content
  11268. defaultHolder.parentNode.textContent = text;
  11269. } else if (oldVNode.$text$ !== text) {
  11270. // update the text content for the text only vnode
  11271. // and also only if the text is different than before
  11272. elm.data = text;
  11273. }
  11274. };
  11275. const updateFallbackSlotVisibility = elm => {
  11276. // tslint:disable-next-line: prefer-const
  11277. const childNodes = elm.childNodes;
  11278. let childNode;
  11279. let i;
  11280. let ilen;
  11281. let j;
  11282. let slotNameAttr;
  11283. let nodeType;
  11284. for (i = 0, ilen = childNodes.length; i < ilen; i++) {
  11285. childNode = childNodes[i];
  11286. if (childNode.nodeType === 1
  11287. /* NODE_TYPE.ElementNode */
  11288. ) {
  11289. if (childNode['s-sr']) {
  11290. // this is a slot fallback node
  11291. // get the slot name for this slot reference node
  11292. slotNameAttr = childNode['s-sn']; // by default always show a fallback slot node
  11293. // then hide it if there are other slots in the light dom
  11294. childNode.hidden = false;
  11295. for (j = 0; j < ilen; j++) {
  11296. nodeType = childNodes[j].nodeType;
  11297. if (childNodes[j]['s-hn'] !== childNode['s-hn'] || slotNameAttr !== '') {
  11298. // this sibling node is from a different component OR is a named fallback slot node
  11299. if (nodeType === 1
  11300. /* NODE_TYPE.ElementNode */
  11301. && slotNameAttr === childNodes[j].getAttribute('slot')) {
  11302. childNode.hidden = true;
  11303. break;
  11304. }
  11305. } else {
  11306. // this is a default fallback slot node
  11307. // any element or text node (with content)
  11308. // should hide the default fallback slot node
  11309. if (nodeType === 1
  11310. /* NODE_TYPE.ElementNode */
  11311. || nodeType === 3
  11312. /* NODE_TYPE.TextNode */
  11313. && childNodes[j].textContent.trim() !== '') {
  11314. childNode.hidden = true;
  11315. break;
  11316. }
  11317. }
  11318. }
  11319. } // keep drilling down
  11320. updateFallbackSlotVisibility(childNode);
  11321. }
  11322. }
  11323. };
  11324. const relocateNodes = [];
  11325. const relocateSlotContent = elm => {
  11326. // tslint:disable-next-line: prefer-const
  11327. let childNode;
  11328. let node;
  11329. let hostContentNodes;
  11330. let slotNameAttr;
  11331. let relocateNodeData;
  11332. let j;
  11333. let i = 0;
  11334. const childNodes = elm.childNodes;
  11335. const ilen = childNodes.length;
  11336. for (; i < ilen; i++) {
  11337. childNode = childNodes[i];
  11338. if (childNode['s-sr'] && (node = childNode['s-cr']) && node.parentNode) {
  11339. // first got the content reference comment node
  11340. // then we got it's parent, which is where all the host content is in now
  11341. hostContentNodes = node.parentNode.childNodes;
  11342. slotNameAttr = childNode['s-sn'];
  11343. for (j = hostContentNodes.length - 1; j >= 0; j--) {
  11344. node = hostContentNodes[j];
  11345. if (!node['s-cn'] && !node['s-nr'] && node['s-hn'] !== childNode['s-hn']) {
  11346. // let's do some relocating to its new home
  11347. // but never relocate a content reference node
  11348. // that is suppose to always represent the original content location
  11349. if (isNodeLocatedInSlot(node, slotNameAttr)) {
  11350. // it's possible we've already decided to relocate this node
  11351. relocateNodeData = relocateNodes.find(r => r.$nodeToRelocate$ === node); // made some changes to slots
  11352. // let's make sure we also double check
  11353. // fallbacks are correctly hidden or shown
  11354. checkSlotFallbackVisibility = true;
  11355. node['s-sn'] = node['s-sn'] || slotNameAttr;
  11356. if (relocateNodeData) {
  11357. // previously we never found a slot home for this node
  11358. // but turns out we did, so let's remember it now
  11359. relocateNodeData.$slotRefNode$ = childNode;
  11360. } else {
  11361. // add to our list of nodes to relocate
  11362. relocateNodes.push({
  11363. $slotRefNode$: childNode,
  11364. $nodeToRelocate$: node
  11365. });
  11366. }
  11367. if (node['s-sr']) {
  11368. relocateNodes.map(relocateNode => {
  11369. if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node['s-sn'])) {
  11370. relocateNodeData = relocateNodes.find(r => r.$nodeToRelocate$ === node);
  11371. if (relocateNodeData && !relocateNode.$slotRefNode$) {
  11372. relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;
  11373. }
  11374. }
  11375. });
  11376. }
  11377. } else if (!relocateNodes.some(r => r.$nodeToRelocate$ === node)) {
  11378. // so far this element does not have a slot home, not setting slotRefNode on purpose
  11379. // if we never find a home for this element then we'll need to hide it
  11380. relocateNodes.push({
  11381. $nodeToRelocate$: node
  11382. });
  11383. }
  11384. }
  11385. }
  11386. }
  11387. if (childNode.nodeType === 1
  11388. /* NODE_TYPE.ElementNode */
  11389. ) {
  11390. relocateSlotContent(childNode);
  11391. }
  11392. }
  11393. };
  11394. const isNodeLocatedInSlot = (nodeToRelocate, slotNameAttr) => {
  11395. if (nodeToRelocate.nodeType === 1
  11396. /* NODE_TYPE.ElementNode */
  11397. ) {
  11398. if (nodeToRelocate.getAttribute('slot') === null && slotNameAttr === '') {
  11399. return true;
  11400. }
  11401. if (nodeToRelocate.getAttribute('slot') === slotNameAttr) {
  11402. return true;
  11403. }
  11404. return false;
  11405. }
  11406. if (nodeToRelocate['s-sn'] === slotNameAttr) {
  11407. return true;
  11408. }
  11409. return slotNameAttr === '';
  11410. };
  11411. const callNodeRefs = vNode => {
  11412. {
  11413. vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
  11414. vNode.$children$ && vNode.$children$.map(callNodeRefs);
  11415. }
  11416. };
  11417. const renderVdom = (hostRef, renderFnResults) => {
  11418. const hostElm = hostRef.$hostElement$;
  11419. const cmpMeta = hostRef.$cmpMeta$;
  11420. const oldVNode = hostRef.$vnode$ || newVNode(null, null);
  11421. const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
  11422. hostTagName = hostElm.tagName;
  11423. if (cmpMeta.$attrsToReflect$) {
  11424. rootVnode.$attrs$ = rootVnode.$attrs$ || {};
  11425. cmpMeta.$attrsToReflect$.map(([propName, attribute]) => rootVnode.$attrs$[attribute] = hostElm[propName]);
  11426. }
  11427. rootVnode.$tag$ = null;
  11428. rootVnode.$flags$ |= 4
  11429. /* VNODE_FLAGS.isHost */
  11430. ;
  11431. hostRef.$vnode$ = rootVnode;
  11432. rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm;
  11433. {
  11434. scopeId = hostElm['s-sc'];
  11435. }
  11436. {
  11437. contentRef = hostElm['s-cr'];
  11438. useNativeShadowDom = (cmpMeta.$flags$ & 1
  11439. /* CMP_FLAGS.shadowDomEncapsulation */
  11440. ) !== 0; // always reset
  11441. checkSlotFallbackVisibility = false;
  11442. } // synchronous patch
  11443. patch(oldVNode, rootVnode);
  11444. {
  11445. // while we're moving nodes around existing nodes, temporarily disable
  11446. // the disconnectCallback from working
  11447. plt.$flags$ |= 1
  11448. /* PLATFORM_FLAGS.isTmpDisconnected */
  11449. ;
  11450. if (checkSlotRelocate) {
  11451. relocateSlotContent(rootVnode.$elm$);
  11452. let relocateData;
  11453. let nodeToRelocate;
  11454. let orgLocationNode;
  11455. let parentNodeRef;
  11456. let insertBeforeNode;
  11457. let refNode;
  11458. let i = 0;
  11459. for (; i < relocateNodes.length; i++) {
  11460. relocateData = relocateNodes[i];
  11461. nodeToRelocate = relocateData.$nodeToRelocate$;
  11462. if (!nodeToRelocate['s-ol']) {
  11463. // add a reference node marking this node's original location
  11464. // keep a reference to this node for later lookups
  11465. orgLocationNode = doc.createTextNode('');
  11466. orgLocationNode['s-nr'] = nodeToRelocate;
  11467. nodeToRelocate.parentNode.insertBefore(nodeToRelocate['s-ol'] = orgLocationNode, nodeToRelocate);
  11468. }
  11469. }
  11470. for (i = 0; i < relocateNodes.length; i++) {
  11471. relocateData = relocateNodes[i];
  11472. nodeToRelocate = relocateData.$nodeToRelocate$;
  11473. if (relocateData.$slotRefNode$) {
  11474. // by default we're just going to insert it directly
  11475. // after the slot reference node
  11476. parentNodeRef = relocateData.$slotRefNode$.parentNode;
  11477. insertBeforeNode = relocateData.$slotRefNode$.nextSibling;
  11478. orgLocationNode = nodeToRelocate['s-ol'];
  11479. while (orgLocationNode = orgLocationNode.previousSibling) {
  11480. refNode = orgLocationNode['s-nr'];
  11481. if (refNode && refNode['s-sn'] === nodeToRelocate['s-sn'] && parentNodeRef === refNode.parentNode) {
  11482. refNode = refNode.nextSibling;
  11483. if (!refNode || !refNode['s-nr']) {
  11484. insertBeforeNode = refNode;
  11485. break;
  11486. }
  11487. }
  11488. }
  11489. if (!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode || nodeToRelocate.nextSibling !== insertBeforeNode) {
  11490. // we've checked that it's worth while to relocate
  11491. // since that the node to relocate
  11492. // has a different next sibling or parent relocated
  11493. if (nodeToRelocate !== insertBeforeNode) {
  11494. if (!nodeToRelocate['s-hn'] && nodeToRelocate['s-ol']) {
  11495. // probably a component in the index.html that doesn't have it's hostname set
  11496. nodeToRelocate['s-hn'] = nodeToRelocate['s-ol'].parentNode.nodeName;
  11497. } // add it back to the dom but in its new home
  11498. parentNodeRef.insertBefore(nodeToRelocate, insertBeforeNode);
  11499. }
  11500. }
  11501. } else {
  11502. // this node doesn't have a slot home to go to, so let's hide it
  11503. if (nodeToRelocate.nodeType === 1
  11504. /* NODE_TYPE.ElementNode */
  11505. ) {
  11506. nodeToRelocate.hidden = true;
  11507. }
  11508. }
  11509. }
  11510. }
  11511. if (checkSlotFallbackVisibility) {
  11512. updateFallbackSlotVisibility(rootVnode.$elm$);
  11513. } // done moving nodes around
  11514. // allow the disconnect callback to work again
  11515. plt.$flags$ &= ~1
  11516. /* PLATFORM_FLAGS.isTmpDisconnected */
  11517. ; // always reset
  11518. relocateNodes.length = 0;
  11519. }
  11520. };
  11521. const getElement = ref => getHostRef(ref).$hostElement$;
  11522. const createEvent = (ref, name, flags) => {
  11523. const elm = getElement(ref);
  11524. return {
  11525. emit: detail => {
  11526. return emitEvent(elm, name, {
  11527. bubbles: !!(flags & 4
  11528. /* EVENT_FLAGS.Bubbles */
  11529. ),
  11530. composed: !!(flags & 2
  11531. /* EVENT_FLAGS.Composed */
  11532. ),
  11533. cancelable: !!(flags & 1
  11534. /* EVENT_FLAGS.Cancellable */
  11535. ),
  11536. detail
  11537. });
  11538. }
  11539. };
  11540. };
  11541. /**
  11542. * Helper function to create & dispatch a custom Event on a provided target
  11543. * @param elm the target of the Event
  11544. * @param name the name to give the custom Event
  11545. * @param opts options for configuring a custom Event
  11546. * @returns the custom Event
  11547. */
  11548. const emitEvent = (elm, name, opts) => {
  11549. const ev = plt.ce(name, opts);
  11550. elm.dispatchEvent(ev);
  11551. return ev;
  11552. };
  11553. const attachToAncestor = (hostRef, ancestorComponent) => {
  11554. if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
  11555. ancestorComponent['s-p'].push(new Promise(r => hostRef.$onRenderResolve$ = r));
  11556. }
  11557. };
  11558. const scheduleUpdate = (hostRef, isInitialLoad) => {
  11559. {
  11560. hostRef.$flags$ |= 16
  11561. /* HOST_FLAGS.isQueuedForUpdate */
  11562. ;
  11563. }
  11564. if (hostRef.$flags$ & 4
  11565. /* HOST_FLAGS.isWaitingForChildren */
  11566. ) {
  11567. hostRef.$flags$ |= 512
  11568. /* HOST_FLAGS.needsRerender */
  11569. ;
  11570. return;
  11571. }
  11572. attachToAncestor(hostRef, hostRef.$ancestorComponent$); // there is no ancestor component or the ancestor component
  11573. // has already fired off its lifecycle update then
  11574. // fire off the initial update
  11575. const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
  11576. return writeTask(dispatch);
  11577. };
  11578. const dispatchHooks = (hostRef, isInitialLoad) => {
  11579. const endSchedule = createTime('scheduleUpdate', hostRef.$cmpMeta$.$tagName$);
  11580. const instance = hostRef.$lazyInstance$;
  11581. let promise;
  11582. if (isInitialLoad) {
  11583. {
  11584. hostRef.$flags$ |= 256
  11585. /* HOST_FLAGS.isListenReady */
  11586. ;
  11587. if (hostRef.$queuedListeners$) {
  11588. hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
  11589. hostRef.$queuedListeners$ = null;
  11590. }
  11591. }
  11592. {
  11593. promise = safeCall(instance, 'componentWillLoad');
  11594. }
  11595. }
  11596. {
  11597. promise = then(promise, () => safeCall(instance, 'componentWillRender'));
  11598. }
  11599. endSchedule();
  11600. return then(promise, () => updateComponent(hostRef, instance, isInitialLoad));
  11601. };
  11602. const updateComponent = /*#__PURE__*/function () {
  11603. var _ref = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (hostRef, instance, isInitialLoad) {
  11604. // updateComponent
  11605. const elm = hostRef.$hostElement$;
  11606. const endUpdate = createTime('update', hostRef.$cmpMeta$.$tagName$);
  11607. const rc = elm['s-rc'];
  11608. if (isInitialLoad) {
  11609. // DOM WRITE!
  11610. attachStyles(hostRef);
  11611. }
  11612. const endRender = createTime('render', hostRef.$cmpMeta$.$tagName$);
  11613. {
  11614. callRender(hostRef, instance);
  11615. }
  11616. if (rc) {
  11617. // ok, so turns out there are some child host elements
  11618. // waiting on this parent element to load
  11619. // let's fire off all update callbacks waiting
  11620. rc.map(cb => cb());
  11621. elm['s-rc'] = undefined;
  11622. }
  11623. endRender();
  11624. endUpdate();
  11625. {
  11626. const childrenPromises = elm['s-p'];
  11627. const postUpdate = () => postUpdateComponent(hostRef);
  11628. if (childrenPromises.length === 0) {
  11629. postUpdate();
  11630. } else {
  11631. Promise.all(childrenPromises).then(postUpdate);
  11632. hostRef.$flags$ |= 4
  11633. /* HOST_FLAGS.isWaitingForChildren */
  11634. ;
  11635. childrenPromises.length = 0;
  11636. }
  11637. }
  11638. });
  11639. return function updateComponent(_x, _x2, _x3) {
  11640. return _ref.apply(this, arguments);
  11641. };
  11642. }();
  11643. const callRender = (hostRef, instance, elm) => {
  11644. try {
  11645. instance = instance.render && instance.render();
  11646. {
  11647. hostRef.$flags$ &= ~16
  11648. /* HOST_FLAGS.isQueuedForUpdate */
  11649. ;
  11650. }
  11651. {
  11652. hostRef.$flags$ |= 2
  11653. /* HOST_FLAGS.hasRendered */
  11654. ;
  11655. }
  11656. {
  11657. {
  11658. // looks like we've got child nodes to render into this host element
  11659. // or we need to update the css class/attrs on the host element
  11660. // DOM WRITE!
  11661. {
  11662. renderVdom(hostRef, instance);
  11663. }
  11664. }
  11665. }
  11666. } catch (e) {
  11667. consoleError(e, hostRef.$hostElement$);
  11668. }
  11669. return null;
  11670. };
  11671. const postUpdateComponent = hostRef => {
  11672. const tagName = hostRef.$cmpMeta$.$tagName$;
  11673. const elm = hostRef.$hostElement$;
  11674. const endPostUpdate = createTime('postUpdate', tagName);
  11675. const instance = hostRef.$lazyInstance$;
  11676. const ancestorComponent = hostRef.$ancestorComponent$;
  11677. {
  11678. safeCall(instance, 'componentDidRender');
  11679. }
  11680. if (!(hostRef.$flags$ & 64
  11681. /* HOST_FLAGS.hasLoadedComponent */
  11682. )) {
  11683. hostRef.$flags$ |= 64
  11684. /* HOST_FLAGS.hasLoadedComponent */
  11685. ;
  11686. {
  11687. // DOM WRITE!
  11688. addHydratedFlag(elm);
  11689. }
  11690. {
  11691. safeCall(instance, 'componentDidLoad');
  11692. }
  11693. endPostUpdate();
  11694. {
  11695. hostRef.$onReadyResolve$(elm);
  11696. if (!ancestorComponent) {
  11697. appDidLoad();
  11698. }
  11699. }
  11700. } else {
  11701. {
  11702. safeCall(instance, 'componentDidUpdate');
  11703. }
  11704. endPostUpdate();
  11705. }
  11706. {
  11707. hostRef.$onInstanceResolve$(elm);
  11708. } // load events fire from bottom to top
  11709. // the deepest elements load first then bubbles up
  11710. {
  11711. if (hostRef.$onRenderResolve$) {
  11712. hostRef.$onRenderResolve$();
  11713. hostRef.$onRenderResolve$ = undefined;
  11714. }
  11715. if (hostRef.$flags$ & 512
  11716. /* HOST_FLAGS.needsRerender */
  11717. ) {
  11718. nextTick(() => scheduleUpdate(hostRef, false));
  11719. }
  11720. hostRef.$flags$ &= ~(4
  11721. /* HOST_FLAGS.isWaitingForChildren */
  11722. | 512
  11723. /* HOST_FLAGS.needsRerender */
  11724. );
  11725. } // ( •_•)
  11726. // ( •_•)>⌐■-■
  11727. // (⌐■_■)
  11728. };
  11729. const forceUpdate = ref => {
  11730. {
  11731. const hostRef = getHostRef(ref);
  11732. const isConnected = hostRef.$hostElement$.isConnected;
  11733. if (isConnected && (hostRef.$flags$ & (2
  11734. /* HOST_FLAGS.hasRendered */
  11735. | 16
  11736. /* HOST_FLAGS.isQueuedForUpdate */
  11737. )) === 2
  11738. /* HOST_FLAGS.hasRendered */
  11739. ) {
  11740. scheduleUpdate(hostRef, false);
  11741. } // Returns "true" when the forced update was successfully scheduled
  11742. return isConnected;
  11743. }
  11744. };
  11745. const appDidLoad = who => {
  11746. // on appload
  11747. // we have finish the first big initial render
  11748. {
  11749. addHydratedFlag(doc.documentElement);
  11750. }
  11751. nextTick(() => emitEvent(win, 'appload', {
  11752. detail: {
  11753. namespace: NAMESPACE
  11754. }
  11755. }));
  11756. };
  11757. const safeCall = (instance, method, arg) => {
  11758. if (instance && instance[method]) {
  11759. try {
  11760. return instance[method](arg);
  11761. } catch (e) {
  11762. consoleError(e);
  11763. }
  11764. }
  11765. return undefined;
  11766. };
  11767. const then = (promise, thenFn) => {
  11768. return promise && promise.then ? promise.then(thenFn) : thenFn();
  11769. };
  11770. const addHydratedFlag = elm => elm.classList.add('hydrated');
  11771. const initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
  11772. const endHydrate = createTime('hydrateClient', tagName);
  11773. const shadowRoot = hostElm.shadowRoot;
  11774. const childRenderNodes = [];
  11775. const slotNodes = [];
  11776. const shadowRootNodes = shadowRoot ? [] : null;
  11777. const vnode = hostRef.$vnode$ = newVNode(tagName, null);
  11778. if (!plt.$orgLocNodes$) {
  11779. initializeDocumentHydrate(doc.body, plt.$orgLocNodes$ = new Map());
  11780. }
  11781. hostElm[HYDRATE_ID] = hostId;
  11782. hostElm.removeAttribute(HYDRATE_ID);
  11783. clientHydrate(vnode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, hostElm, hostId);
  11784. childRenderNodes.map(c => {
  11785. const orgLocationId = c.$hostId$ + '.' + c.$nodeId$;
  11786. const orgLocationNode = plt.$orgLocNodes$.get(orgLocationId);
  11787. const node = c.$elm$;
  11788. if (orgLocationNode && supportsShadow && orgLocationNode['s-en'] === '') {
  11789. orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);
  11790. }
  11791. if (!shadowRoot) {
  11792. node['s-hn'] = tagName;
  11793. if (orgLocationNode) {
  11794. node['s-ol'] = orgLocationNode;
  11795. node['s-ol']['s-nr'] = node;
  11796. }
  11797. }
  11798. plt.$orgLocNodes$.delete(orgLocationId);
  11799. });
  11800. if (shadowRoot) {
  11801. shadowRootNodes.map(shadowRootNode => {
  11802. if (shadowRootNode) {
  11803. shadowRoot.appendChild(shadowRootNode);
  11804. }
  11805. });
  11806. }
  11807. endHydrate();
  11808. };
  11809. const clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node, hostId) => {
  11810. let childNodeType;
  11811. let childIdSplt;
  11812. let childVNode;
  11813. let i;
  11814. if (node.nodeType === 1
  11815. /* NODE_TYPE.ElementNode */
  11816. ) {
  11817. childNodeType = node.getAttribute(HYDRATE_CHILD_ID);
  11818. if (childNodeType) {
  11819. // got the node data from the element's attribute
  11820. // `${hostId}.${nodeId}.${depth}.${index}`
  11821. childIdSplt = childNodeType.split('.');
  11822. if (childIdSplt[0] === hostId || childIdSplt[0] === '0') {
  11823. childVNode = {
  11824. $flags$: 0,
  11825. $hostId$: childIdSplt[0],
  11826. $nodeId$: childIdSplt[1],
  11827. $depth$: childIdSplt[2],
  11828. $index$: childIdSplt[3],
  11829. $tag$: node.tagName.toLowerCase(),
  11830. $elm$: node,
  11831. $attrs$: null,
  11832. $children$: null,
  11833. $key$: null,
  11834. $name$: null,
  11835. $text$: null
  11836. };
  11837. childRenderNodes.push(childVNode);
  11838. node.removeAttribute(HYDRATE_CHILD_ID); // this is a new child vnode
  11839. // so ensure its parent vnode has the vchildren array
  11840. if (!parentVNode.$children$) {
  11841. parentVNode.$children$ = [];
  11842. } // add our child vnode to a specific index of the vnode's children
  11843. parentVNode.$children$[childVNode.$index$] = childVNode; // this is now the new parent vnode for all the next child checks
  11844. parentVNode = childVNode;
  11845. if (shadowRootNodes && childVNode.$depth$ === '0') {
  11846. shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
  11847. }
  11848. }
  11849. } // recursively drill down, end to start so we can remove nodes
  11850. for (i = node.childNodes.length - 1; i >= 0; i--) {
  11851. clientHydrate(parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node.childNodes[i], hostId);
  11852. }
  11853. if (node.shadowRoot) {
  11854. // keep drilling down through the shadow root nodes
  11855. for (i = node.shadowRoot.childNodes.length - 1; i >= 0; i--) {
  11856. clientHydrate(parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node.shadowRoot.childNodes[i], hostId);
  11857. }
  11858. }
  11859. } else if (node.nodeType === 8
  11860. /* NODE_TYPE.CommentNode */
  11861. ) {
  11862. // `${COMMENT_TYPE}.${hostId}.${nodeId}.${depth}.${index}`
  11863. childIdSplt = node.nodeValue.split('.');
  11864. if (childIdSplt[1] === hostId || childIdSplt[1] === '0') {
  11865. // comment node for either the host id or a 0 host id
  11866. childNodeType = childIdSplt[0];
  11867. childVNode = {
  11868. $flags$: 0,
  11869. $hostId$: childIdSplt[1],
  11870. $nodeId$: childIdSplt[2],
  11871. $depth$: childIdSplt[3],
  11872. $index$: childIdSplt[4],
  11873. $elm$: node,
  11874. $attrs$: null,
  11875. $children$: null,
  11876. $key$: null,
  11877. $name$: null,
  11878. $tag$: null,
  11879. $text$: null
  11880. };
  11881. if (childNodeType === TEXT_NODE_ID) {
  11882. childVNode.$elm$ = node.nextSibling;
  11883. if (childVNode.$elm$ && childVNode.$elm$.nodeType === 3
  11884. /* NODE_TYPE.TextNode */
  11885. ) {
  11886. childVNode.$text$ = childVNode.$elm$.textContent;
  11887. childRenderNodes.push(childVNode); // remove the text comment since it's no longer needed
  11888. node.remove();
  11889. if (!parentVNode.$children$) {
  11890. parentVNode.$children$ = [];
  11891. }
  11892. parentVNode.$children$[childVNode.$index$] = childVNode;
  11893. if (shadowRootNodes && childVNode.$depth$ === '0') {
  11894. shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
  11895. }
  11896. }
  11897. } else if (childVNode.$hostId$ === hostId) {
  11898. // this comment node is specifcally for this host id
  11899. if (childNodeType === SLOT_NODE_ID) {
  11900. // `${SLOT_NODE_ID}.${hostId}.${nodeId}.${depth}.${index}.${slotName}`;
  11901. childVNode.$tag$ = 'slot';
  11902. if (childIdSplt[5]) {
  11903. node['s-sn'] = childVNode.$name$ = childIdSplt[5];
  11904. } else {
  11905. node['s-sn'] = '';
  11906. }
  11907. node['s-sr'] = true;
  11908. if (shadowRootNodes) {
  11909. // browser support shadowRoot and this is a shadow dom component
  11910. // create an actual slot element
  11911. childVNode.$elm$ = doc.createElement(childVNode.$tag$);
  11912. if (childVNode.$name$) {
  11913. // add the slot name attribute
  11914. childVNode.$elm$.setAttribute('name', childVNode.$name$);
  11915. } // insert the new slot element before the slot comment
  11916. node.parentNode.insertBefore(childVNode.$elm$, node); // remove the slot comment since it's not needed for shadow
  11917. node.remove();
  11918. if (childVNode.$depth$ === '0') {
  11919. shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
  11920. }
  11921. }
  11922. slotNodes.push(childVNode);
  11923. if (!parentVNode.$children$) {
  11924. parentVNode.$children$ = [];
  11925. }
  11926. parentVNode.$children$[childVNode.$index$] = childVNode;
  11927. } else if (childNodeType === CONTENT_REF_ID) {
  11928. // `${CONTENT_REF_ID}.${hostId}`;
  11929. if (shadowRootNodes) {
  11930. // remove the content ref comment since it's not needed for shadow
  11931. node.remove();
  11932. } else {
  11933. hostElm['s-cr'] = node;
  11934. node['s-cn'] = true;
  11935. }
  11936. }
  11937. }
  11938. }
  11939. } else if (parentVNode && parentVNode.$tag$ === 'style') {
  11940. const vnode = newVNode(null, node.textContent);
  11941. vnode.$elm$ = node;
  11942. vnode.$index$ = '0';
  11943. parentVNode.$children$ = [vnode];
  11944. }
  11945. };
  11946. const initializeDocumentHydrate = (node, orgLocNodes) => {
  11947. if (node.nodeType === 1
  11948. /* NODE_TYPE.ElementNode */
  11949. ) {
  11950. let i = 0;
  11951. for (; i < node.childNodes.length; i++) {
  11952. initializeDocumentHydrate(node.childNodes[i], orgLocNodes);
  11953. }
  11954. if (node.shadowRoot) {
  11955. for (i = 0; i < node.shadowRoot.childNodes.length; i++) {
  11956. initializeDocumentHydrate(node.shadowRoot.childNodes[i], orgLocNodes);
  11957. }
  11958. }
  11959. } else if (node.nodeType === 8
  11960. /* NODE_TYPE.CommentNode */
  11961. ) {
  11962. const childIdSplt = node.nodeValue.split('.');
  11963. if (childIdSplt[0] === ORG_LOCATION_ID) {
  11964. orgLocNodes.set(childIdSplt[1] + '.' + childIdSplt[2], node);
  11965. node.nodeValue = ''; // useful to know if the original location is
  11966. // the root light-dom of a shadow dom component
  11967. node['s-en'] = childIdSplt[3];
  11968. }
  11969. }
  11970. };
  11971. /**
  11972. * Parse a new property value for a given property type.
  11973. *
  11974. * While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
  11975. * it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
  11976. * 1. `any`, the type given to `propValue` in the function signature
  11977. * 2. the type stored from `propType`.
  11978. *
  11979. * This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
  11980. *
  11981. * Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
  11982. * a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
  11983. * based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
  11984. * ```tsx
  11985. * <my-cmp prop-val={0}></my-cmp>
  11986. * ```
  11987. *
  11988. * HTML prop values on the other hand, will always a string
  11989. *
  11990. * @param propValue the new value to coerce to some type
  11991. * @param propType the type of the prop, expressed as a binary number
  11992. * @returns the parsed/coerced value
  11993. */
  11994. const parsePropertyValue = (propValue, propType) => {
  11995. // ensure this value is of the correct prop type
  11996. if (propValue != null && !isComplexType(propValue)) {
  11997. if (propType & 4
  11998. /* MEMBER_FLAGS.Boolean */
  11999. ) {
  12000. // per the HTML spec, any string value means it is a boolean true value
  12001. // but we'll cheat here and say that the string "false" is the boolean false
  12002. return propValue === 'false' ? false : propValue === '' || !!propValue;
  12003. }
  12004. if (propType & 2
  12005. /* MEMBER_FLAGS.Number */
  12006. ) {
  12007. // force it to be a number
  12008. return parseFloat(propValue);
  12009. }
  12010. if (propType & 1
  12011. /* MEMBER_FLAGS.String */
  12012. ) {
  12013. // could have been passed as a number or boolean
  12014. // but we still want it as a string
  12015. return String(propValue);
  12016. } // redundant return here for better minification
  12017. return propValue;
  12018. } // not sure exactly what type we want
  12019. // so no need to change to a different type
  12020. return propValue;
  12021. };
  12022. const getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
  12023. const setValue = (ref, propName, newVal, cmpMeta) => {
  12024. // check our new property value against our internal value
  12025. const hostRef = getHostRef(ref);
  12026. const elm = hostRef.$hostElement$;
  12027. const oldVal = hostRef.$instanceValues$.get(propName);
  12028. const flags = hostRef.$flags$;
  12029. const instance = hostRef.$lazyInstance$;
  12030. newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]); // explicitly check for NaN on both sides, as `NaN === NaN` is always false
  12031. const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
  12032. const didValueChange = newVal !== oldVal && !areBothNaN;
  12033. if ((!(flags & 8
  12034. /* HOST_FLAGS.isConstructingInstance */
  12035. ) || oldVal === undefined) && didValueChange) {
  12036. // gadzooks! the property's value has changed!!
  12037. // set our new value!
  12038. hostRef.$instanceValues$.set(propName, newVal);
  12039. if (instance) {
  12040. // get an array of method names of watch functions to call
  12041. if (cmpMeta.$watchers$ && flags & 128
  12042. /* HOST_FLAGS.isWatchReady */
  12043. ) {
  12044. const watchMethods = cmpMeta.$watchers$[propName];
  12045. if (watchMethods) {
  12046. // this instance is watching for when this property changed
  12047. watchMethods.map(watchMethodName => {
  12048. try {
  12049. // fire off each of the watch methods that are watching this property
  12050. instance[watchMethodName](newVal, oldVal, propName);
  12051. } catch (e) {
  12052. consoleError(e, elm);
  12053. }
  12054. });
  12055. }
  12056. }
  12057. if ((flags & (2
  12058. /* HOST_FLAGS.hasRendered */
  12059. | 16
  12060. /* HOST_FLAGS.isQueuedForUpdate */
  12061. )) === 2
  12062. /* HOST_FLAGS.hasRendered */
  12063. ) {
  12064. // looks like this value actually changed, so we've got work to do!
  12065. // but only if we've already rendered, otherwise just chill out
  12066. // queue that we need to do an update, but don't worry about queuing
  12067. // up millions cuz this function ensures it only runs once
  12068. scheduleUpdate(hostRef, false);
  12069. }
  12070. }
  12071. }
  12072. };
  12073. const proxyComponent = (Cstr, cmpMeta, flags) => {
  12074. if (cmpMeta.$members$) {
  12075. if (Cstr.watchers) {
  12076. cmpMeta.$watchers$ = Cstr.watchers;
  12077. } // It's better to have a const than two Object.entries()
  12078. const members = Object.entries(cmpMeta.$members$);
  12079. const prototype = Cstr.prototype;
  12080. members.map(([memberName, [memberFlags]]) => {
  12081. if (memberFlags & 31
  12082. /* MEMBER_FLAGS.Prop */
  12083. || flags & 2
  12084. /* PROXY_FLAGS.proxyState */
  12085. && memberFlags & 32
  12086. /* MEMBER_FLAGS.State */
  12087. ) {
  12088. // proxyComponent - prop
  12089. Object.defineProperty(prototype, memberName, {
  12090. get() {
  12091. // proxyComponent, get value
  12092. return getValue(this, memberName);
  12093. },
  12094. set(newValue) {
  12095. // proxyComponent, set value
  12096. setValue(this, memberName, newValue, cmpMeta);
  12097. },
  12098. configurable: true,
  12099. enumerable: true
  12100. });
  12101. } else if (flags & 1
  12102. /* PROXY_FLAGS.isElementConstructor */
  12103. && memberFlags & 64
  12104. /* MEMBER_FLAGS.Method */
  12105. ) {
  12106. // proxyComponent - method
  12107. Object.defineProperty(prototype, memberName, {
  12108. value(...args) {
  12109. const ref = getHostRef(this);
  12110. return ref.$onInstancePromise$.then(() => ref.$lazyInstance$[memberName](...args));
  12111. }
  12112. });
  12113. }
  12114. });
  12115. if (flags & 1
  12116. /* PROXY_FLAGS.isElementConstructor */
  12117. ) {
  12118. const attrNameToPropName = new Map();
  12119. prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
  12120. plt.jmp(() => {
  12121. const propName = attrNameToPropName.get(attrName); // In a web component lifecycle the attributeChangedCallback runs prior to connectedCallback
  12122. // in the case where an attribute was set inline.
  12123. // ```html
  12124. // <my-component some-attribute="some-value"></my-component>
  12125. // ```
  12126. //
  12127. // There is an edge case where a developer sets the attribute inline on a custom element and then
  12128. // programmatically changes it before it has been upgraded as shown below:
  12129. //
  12130. // ```html
  12131. // <!-- this component has _not_ been upgraded yet -->
  12132. // <my-component id="test" some-attribute="some-value"></my-component>
  12133. // <script>
  12134. // // grab non-upgraded component
  12135. // el = document.querySelector("#test");
  12136. // el.someAttribute = "another-value";
  12137. // // upgrade component
  12138. // customElements.define('my-component', MyComponent);
  12139. // </script>
  12140. // ```
  12141. // In this case if we do not unshadow here and use the value of the shadowing property, attributeChangedCallback
  12142. // will be called with `newValue = "some-value"` and will set the shadowed property (this.someAttribute = "another-value")
  12143. // to the value that was set inline i.e. "some-value" from above example. When
  12144. // the connectedCallback attempts to unshadow it will use "some-value" as the initial value rather than "another-value"
  12145. //
  12146. // The case where the attribute was NOT set inline but was not set programmatically shall be handled/unshadowed
  12147. // by connectedCallback as this attributeChangedCallback will not fire.
  12148. //
  12149. // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
  12150. //
  12151. // TODO(STENCIL-16) we should think about whether or not we actually want to be reflecting the attributes to
  12152. // properties here given that this goes against best practices outlined here
  12153. // https://developers.google.com/web/fundamentals/web-components/best-practices#avoid-reentrancy
  12154. if (this.hasOwnProperty(propName)) {
  12155. newValue = this[propName];
  12156. delete this[propName];
  12157. } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === 'number' && this[propName] == newValue) {
  12158. // if the propName exists on the prototype of `Cstr`, this update may be a result of Stencil using native
  12159. // APIs to reflect props as attributes. Calls to `setAttribute(someElement, propName)` will result in
  12160. // `propName` to be converted to a `DOMString`, which may not be what we want for other primitive props.
  12161. return;
  12162. }
  12163. this[propName] = newValue === null && typeof this[propName] === 'boolean' ? false : newValue;
  12164. });
  12165. }; // create an array of attributes to observe
  12166. // and also create a map of html attribute name to js property name
  12167. Cstr.observedAttributes = members.filter(([_, m]) => m[0] & 15
  12168. /* MEMBER_FLAGS.HasAttribute */
  12169. ) // filter to only keep props that should match attributes
  12170. .map(([propName, m]) => {
  12171. const attrName = m[1] || propName;
  12172. attrNameToPropName.set(attrName, propName);
  12173. if (m[0] & 512
  12174. /* MEMBER_FLAGS.ReflectAttr */
  12175. ) {
  12176. cmpMeta.$attrsToReflect$.push([propName, attrName]);
  12177. }
  12178. return attrName;
  12179. });
  12180. }
  12181. }
  12182. return Cstr;
  12183. };
  12184. const initializeComponent = /*#__PURE__*/function () {
  12185. var _ref2 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (elm, hostRef, cmpMeta, hmrVersionId, Cstr) {
  12186. // initializeComponent
  12187. if ((hostRef.$flags$ & 32
  12188. /* HOST_FLAGS.hasInitializedComponent */
  12189. ) === 0) {
  12190. {
  12191. // we haven't initialized this element yet
  12192. hostRef.$flags$ |= 32
  12193. /* HOST_FLAGS.hasInitializedComponent */
  12194. ; // lazy loaded components
  12195. // request the component's implementation to be
  12196. // wired up with the host element
  12197. Cstr = loadModule(cmpMeta);
  12198. if (Cstr.then) {
  12199. // Await creates a micro-task avoid if possible
  12200. const endLoad = uniqueTime();
  12201. Cstr = yield Cstr;
  12202. endLoad();
  12203. }
  12204. if (!Cstr.isProxied) {
  12205. // we've never proxied this Constructor before
  12206. // let's add the getters/setters to its prototype before
  12207. // the first time we create an instance of the implementation
  12208. {
  12209. cmpMeta.$watchers$ = Cstr.watchers;
  12210. }
  12211. proxyComponent(Cstr, cmpMeta, 2
  12212. /* PROXY_FLAGS.proxyState */
  12213. );
  12214. Cstr.isProxied = true;
  12215. }
  12216. const endNewInstance = createTime('createInstance', cmpMeta.$tagName$); // ok, time to construct the instance
  12217. // but let's keep track of when we start and stop
  12218. // so that the getters/setters don't incorrectly step on data
  12219. {
  12220. hostRef.$flags$ |= 8
  12221. /* HOST_FLAGS.isConstructingInstance */
  12222. ;
  12223. } // construct the lazy-loaded component implementation
  12224. // passing the hostRef is very important during
  12225. // construction in order to directly wire together the
  12226. // host element and the lazy-loaded instance
  12227. try {
  12228. new Cstr(hostRef);
  12229. } catch (e) {
  12230. consoleError(e);
  12231. }
  12232. {
  12233. hostRef.$flags$ &= ~8
  12234. /* HOST_FLAGS.isConstructingInstance */
  12235. ;
  12236. }
  12237. {
  12238. hostRef.$flags$ |= 128
  12239. /* HOST_FLAGS.isWatchReady */
  12240. ;
  12241. }
  12242. endNewInstance();
  12243. fireConnectedCallback(hostRef.$lazyInstance$);
  12244. }
  12245. if (Cstr.style) {
  12246. // this component has styles but we haven't registered them yet
  12247. let style = Cstr.style;
  12248. if (typeof style !== 'string') {
  12249. style = style[hostRef.$modeName$ = computeMode(elm)];
  12250. }
  12251. const scopeId = getScopeId(cmpMeta, hostRef.$modeName$);
  12252. if (!styles.has(scopeId)) {
  12253. const endRegisterStyles = createTime('registerStyles', cmpMeta.$tagName$);
  12254. registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1
  12255. /* CMP_FLAGS.shadowDomEncapsulation */
  12256. ));
  12257. endRegisterStyles();
  12258. }
  12259. }
  12260. } // we've successfully created a lazy instance
  12261. const ancestorComponent = hostRef.$ancestorComponent$;
  12262. const schedule = () => scheduleUpdate(hostRef, true);
  12263. if (ancestorComponent && ancestorComponent['s-rc']) {
  12264. // this is the initial load and this component it has an ancestor component
  12265. // but the ancestor component has NOT fired its will update lifecycle yet
  12266. // so let's just cool our jets and wait for the ancestor to continue first
  12267. // this will get fired off when the ancestor component
  12268. // finally gets around to rendering its lazy self
  12269. // fire off the initial update
  12270. ancestorComponent['s-rc'].push(schedule);
  12271. } else {
  12272. schedule();
  12273. }
  12274. });
  12275. return function initializeComponent(_x4, _x5, _x6, _x7, _x8) {
  12276. return _ref2.apply(this, arguments);
  12277. };
  12278. }();
  12279. const fireConnectedCallback = instance => {
  12280. {
  12281. safeCall(instance, 'connectedCallback');
  12282. }
  12283. };
  12284. const connectedCallback = elm => {
  12285. if ((plt.$flags$ & 1
  12286. /* PLATFORM_FLAGS.isTmpDisconnected */
  12287. ) === 0) {
  12288. const hostRef = getHostRef(elm);
  12289. const cmpMeta = hostRef.$cmpMeta$;
  12290. const endConnected = createTime('connectedCallback', cmpMeta.$tagName$);
  12291. if (!(hostRef.$flags$ & 1
  12292. /* HOST_FLAGS.hasConnected */
  12293. )) {
  12294. // first time this component has connected
  12295. hostRef.$flags$ |= 1
  12296. /* HOST_FLAGS.hasConnected */
  12297. ;
  12298. let hostId;
  12299. {
  12300. hostId = elm.getAttribute(HYDRATE_ID);
  12301. if (hostId) {
  12302. if (cmpMeta.$flags$ & 1
  12303. /* CMP_FLAGS.shadowDomEncapsulation */
  12304. ) {
  12305. const scopeId = addStyle(elm.shadowRoot, cmpMeta, elm.getAttribute('s-mode'));
  12306. elm.classList.remove(scopeId + '-h', scopeId + '-s');
  12307. }
  12308. initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);
  12309. }
  12310. }
  12311. if (!hostId) {
  12312. // initUpdate
  12313. // if the slot polyfill is required we'll need to put some nodes
  12314. // in here to act as original content anchors as we move nodes around
  12315. // host element has been connected to the DOM
  12316. if (cmpMeta.$flags$ & (4
  12317. /* CMP_FLAGS.hasSlotRelocation */
  12318. | 8
  12319. /* CMP_FLAGS.needsShadowDomShim */
  12320. )) {
  12321. setContentReference(elm);
  12322. }
  12323. }
  12324. {
  12325. // find the first ancestor component (if there is one) and register
  12326. // this component as one of the actively loading child components for its ancestor
  12327. let ancestorComponent = elm;
  12328. while (ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host) {
  12329. // climb up the ancestors looking for the first
  12330. // component that hasn't finished its lifecycle update yet
  12331. if (ancestorComponent.nodeType === 1
  12332. /* NODE_TYPE.ElementNode */
  12333. && ancestorComponent.hasAttribute('s-id') && ancestorComponent['s-p'] || ancestorComponent['s-p']) {
  12334. // we found this components first ancestor component
  12335. // keep a reference to this component's ancestor component
  12336. attachToAncestor(hostRef, hostRef.$ancestorComponent$ = ancestorComponent);
  12337. break;
  12338. }
  12339. }
  12340. } // Lazy properties
  12341. // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
  12342. if (cmpMeta.$members$) {
  12343. Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
  12344. if (memberFlags & 31
  12345. /* MEMBER_FLAGS.Prop */
  12346. && elm.hasOwnProperty(memberName)) {
  12347. const value = elm[memberName];
  12348. delete elm[memberName];
  12349. elm[memberName] = value;
  12350. }
  12351. });
  12352. }
  12353. {
  12354. // connectedCallback, taskQueue, initialLoad
  12355. // angular sets attribute AFTER connectCallback
  12356. // https://github.com/angular/angular/issues/18909
  12357. // https://github.com/angular/angular/issues/19940
  12358. nextTick(() => initializeComponent(elm, hostRef, cmpMeta));
  12359. }
  12360. } else {
  12361. // not the first time this has connected
  12362. // reattach any event listeners to the host
  12363. // since they would have been removed when disconnected
  12364. addHostEventListeners(elm, hostRef, cmpMeta.$listeners$); // fire off connectedCallback() on component instance
  12365. fireConnectedCallback(hostRef.$lazyInstance$);
  12366. }
  12367. endConnected();
  12368. }
  12369. };
  12370. const setContentReference = elm => {
  12371. // only required when we're NOT using native shadow dom (slot)
  12372. // or this browser doesn't support native shadow dom
  12373. // and this host element was NOT created with SSR
  12374. // let's pick out the inner content for slot projection
  12375. // create a node to represent where the original
  12376. // content was first placed, which is useful later on
  12377. const contentRefElm = elm['s-cr'] = doc.createComment('');
  12378. contentRefElm['s-cn'] = true;
  12379. elm.insertBefore(contentRefElm, elm.firstChild);
  12380. };
  12381. const disconnectedCallback = elm => {
  12382. if ((plt.$flags$ & 1
  12383. /* PLATFORM_FLAGS.isTmpDisconnected */
  12384. ) === 0) {
  12385. const hostRef = getHostRef(elm);
  12386. const instance = hostRef.$lazyInstance$;
  12387. {
  12388. if (hostRef.$rmListeners$) {
  12389. hostRef.$rmListeners$.map(rmListener => rmListener());
  12390. hostRef.$rmListeners$ = undefined;
  12391. }
  12392. }
  12393. {
  12394. safeCall(instance, 'disconnectedCallback');
  12395. }
  12396. }
  12397. };
  12398. const bootstrapLazy = (lazyBundles, options = {}) => {
  12399. const endBootstrap = createTime();
  12400. const cmpTags = [];
  12401. const exclude = options.exclude || [];
  12402. const customElements = win.customElements;
  12403. const head = doc.head;
  12404. const metaCharset = /*@__PURE__*/head.querySelector('meta[charset]');
  12405. const visibilityStyle = /*@__PURE__*/doc.createElement('style');
  12406. const deferredConnectedCallbacks = [];
  12407. const styles = /*@__PURE__*/doc.querySelectorAll(`[${HYDRATED_STYLE_ID}]`);
  12408. let appLoadFallback;
  12409. let isBootstrapping = true;
  12410. let i = 0;
  12411. Object.assign(plt, options);
  12412. plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
  12413. {
  12414. // If the app is already hydrated there is not point to disable the
  12415. // async queue. This will improve the first input delay
  12416. plt.$flags$ |= 2
  12417. /* PLATFORM_FLAGS.appLoaded */
  12418. ;
  12419. }
  12420. {
  12421. for (; i < styles.length; i++) {
  12422. registerStyle(styles[i].getAttribute(HYDRATED_STYLE_ID), convertScopedToShadow(styles[i].innerHTML), true);
  12423. }
  12424. }
  12425. lazyBundles.map(lazyBundle => {
  12426. lazyBundle[1].map(compactMeta => {
  12427. const cmpMeta = {
  12428. $flags$: compactMeta[0],
  12429. $tagName$: compactMeta[1],
  12430. $members$: compactMeta[2],
  12431. $listeners$: compactMeta[3]
  12432. };
  12433. {
  12434. cmpMeta.$members$ = compactMeta[2];
  12435. }
  12436. {
  12437. cmpMeta.$listeners$ = compactMeta[3];
  12438. }
  12439. {
  12440. cmpMeta.$attrsToReflect$ = [];
  12441. }
  12442. {
  12443. cmpMeta.$watchers$ = {};
  12444. }
  12445. const tagName = cmpMeta.$tagName$;
  12446. const HostElement = class extends HTMLElement {
  12447. // StencilLazyHost
  12448. constructor(self) {
  12449. // @ts-ignore
  12450. super(self);
  12451. self = this;
  12452. registerHost(self, cmpMeta);
  12453. if (cmpMeta.$flags$ & 1
  12454. /* CMP_FLAGS.shadowDomEncapsulation */
  12455. ) {
  12456. // this component is using shadow dom
  12457. // and this browser supports shadow dom
  12458. // add the read-only property "shadowRoot" to the host element
  12459. // adding the shadow root build conditionals to minimize runtime
  12460. {
  12461. {
  12462. self.attachShadow({
  12463. mode: 'open',
  12464. delegatesFocus: !!(cmpMeta.$flags$ & 16
  12465. /* CMP_FLAGS.shadowDelegatesFocus */
  12466. )
  12467. });
  12468. }
  12469. }
  12470. }
  12471. }
  12472. connectedCallback() {
  12473. if (appLoadFallback) {
  12474. clearTimeout(appLoadFallback);
  12475. appLoadFallback = null;
  12476. }
  12477. if (isBootstrapping) {
  12478. // connectedCallback will be processed once all components have been registered
  12479. deferredConnectedCallbacks.push(this);
  12480. } else {
  12481. plt.jmp(() => connectedCallback(this));
  12482. }
  12483. }
  12484. disconnectedCallback() {
  12485. plt.jmp(() => disconnectedCallback(this));
  12486. }
  12487. componentOnReady() {
  12488. return getHostRef(this).$onReadyPromise$;
  12489. }
  12490. };
  12491. cmpMeta.$lazyBundleId$ = lazyBundle[0];
  12492. if (!exclude.includes(tagName) && !customElements.get(tagName)) {
  12493. cmpTags.push(tagName);
  12494. customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1
  12495. /* PROXY_FLAGS.isElementConstructor */
  12496. ));
  12497. }
  12498. });
  12499. });
  12500. {
  12501. visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;
  12502. visibilityStyle.setAttribute('data-styles', '');
  12503. head.insertBefore(visibilityStyle, metaCharset ? metaCharset.nextSibling : head.firstChild);
  12504. } // Process deferred connectedCallbacks now all components have been registered
  12505. isBootstrapping = false;
  12506. if (deferredConnectedCallbacks.length) {
  12507. deferredConnectedCallbacks.map(host => host.connectedCallback());
  12508. } else {
  12509. {
  12510. plt.jmp(() => appLoadFallback = setTimeout(appDidLoad, 30));
  12511. }
  12512. } // Fallback appLoad event
  12513. endBootstrap();
  12514. };
  12515. const getAssetPath = path => {
  12516. const assetUrl = new URL(path, plt.$resourcesUrl$);
  12517. return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;
  12518. };
  12519. const hostRefs = /*@__PURE__*/new WeakMap();
  12520. const getHostRef = ref => hostRefs.get(ref);
  12521. const registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
  12522. const registerHost = (elm, cmpMeta) => {
  12523. const hostRef = {
  12524. $flags$: 0,
  12525. $hostElement$: elm,
  12526. $cmpMeta$: cmpMeta,
  12527. $instanceValues$: new Map()
  12528. };
  12529. {
  12530. hostRef.$onInstancePromise$ = new Promise(r => hostRef.$onInstanceResolve$ = r);
  12531. }
  12532. {
  12533. hostRef.$onReadyPromise$ = new Promise(r => hostRef.$onReadyResolve$ = r);
  12534. elm['s-p'] = [];
  12535. elm['s-rc'] = [];
  12536. }
  12537. addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
  12538. return hostRefs.set(elm, hostRef);
  12539. };
  12540. const isMemberInElement = (elm, memberName) => memberName in elm;
  12541. const consoleError = (e, el) => (0, console.error)(e, el);
  12542. const cmpModules = /*@__PURE__*/new Map();
  12543. const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
  12544. // loadModuleImport
  12545. const exportName = cmpMeta.$tagName$.replace(/-/g, '_');
  12546. const bundleId = cmpMeta.$lazyBundleId$;
  12547. const module = cmpModules.get(bundleId);
  12548. if (module) {
  12549. return module[exportName];
  12550. }
  12551. /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
  12552. return __webpack_require__(863)(`./${bundleId}.entry.js`).then(importedModule => {
  12553. {
  12554. cmpModules.set(bundleId, importedModule);
  12555. }
  12556. return importedModule[exportName];
  12557. }, consoleError);
  12558. };
  12559. const styles = /*@__PURE__*/new Map();
  12560. const modeResolutionChain = [];
  12561. const queueDomReads = [];
  12562. const queueDomWrites = [];
  12563. const queueTask = (queue, write) => cb => {
  12564. queue.push(cb);
  12565. if (!queuePending) {
  12566. queuePending = true;
  12567. if (write && plt.$flags$ & 4
  12568. /* PLATFORM_FLAGS.queueSync */
  12569. ) {
  12570. nextTick(flush);
  12571. } else {
  12572. plt.raf(flush);
  12573. }
  12574. }
  12575. };
  12576. const consume = queue => {
  12577. for (let i = 0; i < queue.length; i++) {
  12578. try {
  12579. queue[i](performance.now());
  12580. } catch (e) {
  12581. consoleError(e);
  12582. }
  12583. }
  12584. queue.length = 0;
  12585. };
  12586. const flush = () => {
  12587. // always force a bunch of medium callbacks to run, but still have
  12588. // a throttle on how many can run in a certain time
  12589. // DOM READS!!!
  12590. consume(queueDomReads); // DOM WRITES!!!
  12591. {
  12592. consume(queueDomWrites);
  12593. if (queuePending = queueDomReads.length > 0) {
  12594. // still more to do yet, but we've run out of time
  12595. // let's let this thing cool off and try again in the next tick
  12596. plt.raf(flush);
  12597. }
  12598. }
  12599. };
  12600. const nextTick = /*@__PURE__*/cb => promiseResolve().then(cb);
  12601. const readTask = /*@__PURE__*/queueTask(queueDomReads, false);
  12602. const writeTask = /*@__PURE__*/queueTask(queueDomWrites, true);
  12603. const Build = {
  12604. isDev: false,
  12605. isBrowser: true,
  12606. isServer: false,
  12607. isTesting: false
  12608. };
  12609. /***/ }),
  12610. /***/ 1652:
  12611. /*!*************************************************************!*\
  12612. !*** ./node_modules/@ionic/core/dist/esm/index-dff497fb.js ***!
  12613. \*************************************************************/
  12614. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  12615. __webpack_require__.r(__webpack_exports__);
  12616. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  12617. /* harmony export */ "I": () => (/* binding */ IonicSafeString),
  12618. /* harmony export */ "s": () => (/* binding */ sanitizeDOMString)
  12619. /* harmony export */ });
  12620. /*!
  12621. * (C) Ionic http://ionicframework.com - MIT License
  12622. */
  12623. /**
  12624. * Does a simple sanitization of all elements
  12625. * in an untrusted string
  12626. */
  12627. const sanitizeDOMString = untrustedString => {
  12628. try {
  12629. if (untrustedString instanceof IonicSafeString) {
  12630. return untrustedString.value;
  12631. }
  12632. if (!isSanitizerEnabled() || typeof untrustedString !== 'string' || untrustedString === '') {
  12633. return untrustedString;
  12634. }
  12635. /**
  12636. * Create a document fragment
  12637. * separate from the main DOM,
  12638. * create a div to do our work in
  12639. */
  12640. const documentFragment = document.createDocumentFragment();
  12641. const workingDiv = document.createElement('div');
  12642. documentFragment.appendChild(workingDiv);
  12643. workingDiv.innerHTML = untrustedString;
  12644. /**
  12645. * Remove any elements
  12646. * that are blocked
  12647. */
  12648. blockedTags.forEach(blockedTag => {
  12649. const getElementsToRemove = documentFragment.querySelectorAll(blockedTag);
  12650. for (let elementIndex = getElementsToRemove.length - 1; elementIndex >= 0; elementIndex--) {
  12651. const element = getElementsToRemove[elementIndex];
  12652. if (element.parentNode) {
  12653. element.parentNode.removeChild(element);
  12654. } else {
  12655. documentFragment.removeChild(element);
  12656. }
  12657. /**
  12658. * We still need to sanitize
  12659. * the children of this element
  12660. * as they are left behind
  12661. */
  12662. const childElements = getElementChildren(element);
  12663. /* eslint-disable-next-line */
  12664. for (let childIndex = 0; childIndex < childElements.length; childIndex++) {
  12665. sanitizeElement(childElements[childIndex]);
  12666. }
  12667. }
  12668. });
  12669. /**
  12670. * Go through remaining elements and remove
  12671. * non-allowed attribs
  12672. */
  12673. // IE does not support .children on document fragments, only .childNodes
  12674. const dfChildren = getElementChildren(documentFragment);
  12675. /* eslint-disable-next-line */
  12676. for (let childIndex = 0; childIndex < dfChildren.length; childIndex++) {
  12677. sanitizeElement(dfChildren[childIndex]);
  12678. } // Append document fragment to div
  12679. const fragmentDiv = document.createElement('div');
  12680. fragmentDiv.appendChild(documentFragment); // First child is always the div we did our work in
  12681. const getInnerDiv = fragmentDiv.querySelector('div');
  12682. return getInnerDiv !== null ? getInnerDiv.innerHTML : fragmentDiv.innerHTML;
  12683. } catch (err) {
  12684. console.error(err);
  12685. return '';
  12686. }
  12687. };
  12688. /**
  12689. * Clean up current element based on allowed attributes
  12690. * and then recursively dig down into any child elements to
  12691. * clean those up as well
  12692. */
  12693. const sanitizeElement = element => {
  12694. // IE uses childNodes, so ignore nodes that are not elements
  12695. if (element.nodeType && element.nodeType !== 1) {
  12696. return;
  12697. }
  12698. for (let i = element.attributes.length - 1; i >= 0; i--) {
  12699. const attribute = element.attributes.item(i);
  12700. const attributeName = attribute.name; // remove non-allowed attribs
  12701. if (!allowedAttributes.includes(attributeName.toLowerCase())) {
  12702. element.removeAttribute(attributeName);
  12703. continue;
  12704. } // clean up any allowed attribs
  12705. // that attempt to do any JS funny-business
  12706. const attributeValue = attribute.value;
  12707. /* eslint-disable-next-line */
  12708. if (attributeValue != null && attributeValue.toLowerCase().includes('javascript:')) {
  12709. element.removeAttribute(attributeName);
  12710. }
  12711. }
  12712. /**
  12713. * Sanitize any nested children
  12714. */
  12715. const childElements = getElementChildren(element);
  12716. /* eslint-disable-next-line */
  12717. for (let i = 0; i < childElements.length; i++) {
  12718. sanitizeElement(childElements[i]);
  12719. }
  12720. };
  12721. /**
  12722. * IE doesn't always support .children
  12723. * so we revert to .childNodes instead
  12724. */
  12725. const getElementChildren = el => {
  12726. return el.children != null ? el.children : el.childNodes;
  12727. };
  12728. const isSanitizerEnabled = () => {
  12729. var _a;
  12730. const win = window;
  12731. const config = (_a = win === null || win === void 0 ? void 0 : win.Ionic) === null || _a === void 0 ? void 0 : _a.config;
  12732. if (config) {
  12733. if (config.get) {
  12734. return config.get('sanitizerEnabled', true);
  12735. } else {
  12736. return config.sanitizerEnabled === true || config.sanitizerEnabled === undefined;
  12737. }
  12738. }
  12739. return true;
  12740. };
  12741. const allowedAttributes = ['class', 'id', 'href', 'src', 'name', 'slot'];
  12742. const blockedTags = ['script', 'style', 'iframe', 'meta', 'link', 'object', 'embed'];
  12743. class IonicSafeString {
  12744. constructor(value) {
  12745. this.value = value;
  12746. }
  12747. }
  12748. /***/ }),
  12749. /***/ 9287:
  12750. /*!*************************************************************!*\
  12751. !*** ./node_modules/@ionic/core/dist/esm/index-e6cecce9.js ***!
  12752. \*************************************************************/
  12753. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  12754. __webpack_require__.r(__webpack_exports__);
  12755. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  12756. /* harmony export */ "L": () => (/* binding */ LIFECYCLE_WILL_ENTER),
  12757. /* harmony export */ "a": () => (/* binding */ LIFECYCLE_DID_ENTER),
  12758. /* harmony export */ "b": () => (/* binding */ LIFECYCLE_WILL_LEAVE),
  12759. /* harmony export */ "c": () => (/* binding */ LIFECYCLE_DID_LEAVE),
  12760. /* harmony export */ "d": () => (/* binding */ LIFECYCLE_WILL_UNLOAD),
  12761. /* harmony export */ "e": () => (/* binding */ deepReady),
  12762. /* harmony export */ "g": () => (/* binding */ getIonPageElement),
  12763. /* harmony export */ "l": () => (/* binding */ lifecycle),
  12764. /* harmony export */ "s": () => (/* binding */ setPageHidden),
  12765. /* harmony export */ "t": () => (/* binding */ transition)
  12766. /* harmony export */ });
  12767. /* harmony import */ var _Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 1670);
  12768. /* harmony import */ var _index_8e692445_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index-8e692445.js */ 1559);
  12769. /* harmony import */ var _helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./helpers-3b390e48.js */ 9234);
  12770. /*!
  12771. * (C) Ionic http://ionicframework.com - MIT License
  12772. */
  12773. const LIFECYCLE_WILL_ENTER = 'ionViewWillEnter';
  12774. const LIFECYCLE_DID_ENTER = 'ionViewDidEnter';
  12775. const LIFECYCLE_WILL_LEAVE = 'ionViewWillLeave';
  12776. const LIFECYCLE_DID_LEAVE = 'ionViewDidLeave';
  12777. const LIFECYCLE_WILL_UNLOAD = 'ionViewWillUnload';
  12778. const iosTransitionAnimation = () => Promise.resolve(/*! import() */).then(__webpack_require__.bind(__webpack_require__, /*! ./ios.transition-a4006a5a.js */ 7938));
  12779. const mdTransitionAnimation = () => Promise.resolve(/*! import() */).then(__webpack_require__.bind(__webpack_require__, /*! ./md.transition-3924e170.js */ 4844));
  12780. const transition = opts => {
  12781. return new Promise((resolve, reject) => {
  12782. (0,_index_8e692445_js__WEBPACK_IMPORTED_MODULE_1__.c)(() => {
  12783. beforeTransition(opts);
  12784. runTransition(opts).then(result => {
  12785. if (result.animation) {
  12786. result.animation.destroy();
  12787. }
  12788. afterTransition(opts);
  12789. resolve(result);
  12790. }, error => {
  12791. afterTransition(opts);
  12792. reject(error);
  12793. });
  12794. });
  12795. });
  12796. };
  12797. const beforeTransition = opts => {
  12798. const enteringEl = opts.enteringEl;
  12799. const leavingEl = opts.leavingEl;
  12800. setZIndex(enteringEl, leavingEl, opts.direction);
  12801. if (opts.showGoBack) {
  12802. enteringEl.classList.add('can-go-back');
  12803. } else {
  12804. enteringEl.classList.remove('can-go-back');
  12805. }
  12806. setPageHidden(enteringEl, false);
  12807. /**
  12808. * When transitioning, the page should not
  12809. * respond to click events. This resolves small
  12810. * issues like users double tapping the ion-back-button.
  12811. * These pointer events are removed in `afterTransition`.
  12812. */
  12813. enteringEl.style.setProperty('pointer-events', 'none');
  12814. if (leavingEl) {
  12815. setPageHidden(leavingEl, false);
  12816. leavingEl.style.setProperty('pointer-events', 'none');
  12817. }
  12818. };
  12819. const runTransition = /*#__PURE__*/function () {
  12820. var _ref = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (opts) {
  12821. const animationBuilder = yield getAnimationBuilder(opts);
  12822. const ani = animationBuilder && _index_8e692445_js__WEBPACK_IMPORTED_MODULE_1__.B.isBrowser ? animation(animationBuilder, opts) : noAnimation(opts); // fast path for no animation
  12823. return ani;
  12824. });
  12825. return function runTransition(_x) {
  12826. return _ref.apply(this, arguments);
  12827. };
  12828. }();
  12829. const afterTransition = opts => {
  12830. const enteringEl = opts.enteringEl;
  12831. const leavingEl = opts.leavingEl;
  12832. enteringEl.classList.remove('ion-page-invisible');
  12833. enteringEl.style.removeProperty('pointer-events');
  12834. if (leavingEl !== undefined) {
  12835. leavingEl.classList.remove('ion-page-invisible');
  12836. leavingEl.style.removeProperty('pointer-events');
  12837. }
  12838. };
  12839. const getAnimationBuilder = /*#__PURE__*/function () {
  12840. var _ref2 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (opts) {
  12841. if (!opts.leavingEl || !opts.animated || opts.duration === 0) {
  12842. return undefined;
  12843. }
  12844. if (opts.animationBuilder) {
  12845. return opts.animationBuilder;
  12846. }
  12847. const getAnimation = opts.mode === 'ios' ? (yield iosTransitionAnimation()).iosTransitionAnimation : (yield mdTransitionAnimation()).mdTransitionAnimation;
  12848. return getAnimation;
  12849. });
  12850. return function getAnimationBuilder(_x2) {
  12851. return _ref2.apply(this, arguments);
  12852. };
  12853. }();
  12854. const animation = /*#__PURE__*/function () {
  12855. var _ref3 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (animationBuilder, opts) {
  12856. yield waitForReady(opts, true);
  12857. const trans = animationBuilder(opts.baseEl, opts);
  12858. fireWillEvents(opts.enteringEl, opts.leavingEl);
  12859. const didComplete = yield playTransition(trans, opts);
  12860. if (opts.progressCallback) {
  12861. opts.progressCallback(undefined);
  12862. }
  12863. if (didComplete) {
  12864. fireDidEvents(opts.enteringEl, opts.leavingEl);
  12865. }
  12866. return {
  12867. hasCompleted: didComplete,
  12868. animation: trans
  12869. };
  12870. });
  12871. return function animation(_x3, _x4) {
  12872. return _ref3.apply(this, arguments);
  12873. };
  12874. }();
  12875. const noAnimation = /*#__PURE__*/function () {
  12876. var _ref4 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (opts) {
  12877. const enteringEl = opts.enteringEl;
  12878. const leavingEl = opts.leavingEl;
  12879. yield waitForReady(opts, false);
  12880. fireWillEvents(enteringEl, leavingEl);
  12881. fireDidEvents(enteringEl, leavingEl);
  12882. return {
  12883. hasCompleted: true
  12884. };
  12885. });
  12886. return function noAnimation(_x5) {
  12887. return _ref4.apply(this, arguments);
  12888. };
  12889. }();
  12890. const waitForReady = /*#__PURE__*/function () {
  12891. var _ref5 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (opts, defaultDeep) {
  12892. const deep = opts.deepWait !== undefined ? opts.deepWait : defaultDeep;
  12893. const promises = deep ? [deepReady(opts.enteringEl), deepReady(opts.leavingEl)] : [shallowReady(opts.enteringEl), shallowReady(opts.leavingEl)];
  12894. yield Promise.all(promises);
  12895. yield notifyViewReady(opts.viewIsReady, opts.enteringEl);
  12896. });
  12897. return function waitForReady(_x6, _x7) {
  12898. return _ref5.apply(this, arguments);
  12899. };
  12900. }();
  12901. const notifyViewReady = /*#__PURE__*/function () {
  12902. var _ref6 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (viewIsReady, enteringEl) {
  12903. if (viewIsReady) {
  12904. yield viewIsReady(enteringEl);
  12905. }
  12906. });
  12907. return function notifyViewReady(_x8, _x9) {
  12908. return _ref6.apply(this, arguments);
  12909. };
  12910. }();
  12911. const playTransition = (trans, opts) => {
  12912. const progressCallback = opts.progressCallback;
  12913. const promise = new Promise(resolve => {
  12914. trans.onFinish(currentStep => resolve(currentStep === 1));
  12915. }); // cool, let's do this, start the transition
  12916. if (progressCallback) {
  12917. // this is a swipe to go back, just get the transition progress ready
  12918. // kick off the swipe animation start
  12919. trans.progressStart(true);
  12920. progressCallback(trans);
  12921. } else {
  12922. // only the top level transition should actually start "play"
  12923. // kick it off and let it play through
  12924. // ******** DOM WRITE ****************
  12925. trans.play();
  12926. } // create a callback for when the animation is done
  12927. return promise;
  12928. };
  12929. const fireWillEvents = (enteringEl, leavingEl) => {
  12930. lifecycle(leavingEl, LIFECYCLE_WILL_LEAVE);
  12931. lifecycle(enteringEl, LIFECYCLE_WILL_ENTER);
  12932. };
  12933. const fireDidEvents = (enteringEl, leavingEl) => {
  12934. lifecycle(enteringEl, LIFECYCLE_DID_ENTER);
  12935. lifecycle(leavingEl, LIFECYCLE_DID_LEAVE);
  12936. };
  12937. const lifecycle = (el, eventName) => {
  12938. if (el) {
  12939. const ev = new CustomEvent(eventName, {
  12940. bubbles: false,
  12941. cancelable: false
  12942. });
  12943. el.dispatchEvent(ev);
  12944. }
  12945. };
  12946. const shallowReady = el => {
  12947. if (el) {
  12948. return new Promise(resolve => (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_2__.c)(el, resolve));
  12949. }
  12950. return Promise.resolve();
  12951. };
  12952. const deepReady = /*#__PURE__*/function () {
  12953. var _ref7 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (el) {
  12954. const element = el;
  12955. if (element) {
  12956. if (element.componentOnReady != null) {
  12957. // eslint-disable-next-line custom-rules/no-component-on-ready-method
  12958. const stencilEl = yield element.componentOnReady();
  12959. if (stencilEl != null) {
  12960. return;
  12961. }
  12962. /**
  12963. * Custom elements in Stencil will have __registerHost.
  12964. */
  12965. } else if (element.__registerHost != null) {
  12966. /**
  12967. * Non-lazy loaded custom elements need to wait
  12968. * one frame for component to be loaded.
  12969. */
  12970. const waitForCustomElement = new Promise(resolve => (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_2__.r)(resolve));
  12971. yield waitForCustomElement;
  12972. return;
  12973. }
  12974. yield Promise.all(Array.from(element.children).map(deepReady));
  12975. }
  12976. });
  12977. return function deepReady(_x10) {
  12978. return _ref7.apply(this, arguments);
  12979. };
  12980. }();
  12981. const setPageHidden = (el, hidden) => {
  12982. if (hidden) {
  12983. el.setAttribute('aria-hidden', 'true');
  12984. el.classList.add('ion-page-hidden');
  12985. } else {
  12986. el.hidden = false;
  12987. el.removeAttribute('aria-hidden');
  12988. el.classList.remove('ion-page-hidden');
  12989. }
  12990. };
  12991. const setZIndex = (enteringEl, leavingEl, direction) => {
  12992. if (enteringEl !== undefined) {
  12993. enteringEl.style.zIndex = direction === 'back' ? '99' : '101';
  12994. }
  12995. if (leavingEl !== undefined) {
  12996. leavingEl.style.zIndex = '100';
  12997. }
  12998. };
  12999. const getIonPageElement = element => {
  13000. if (element.classList.contains('ion-page')) {
  13001. return element;
  13002. }
  13003. const ionPage = element.querySelector(':scope > .ion-page, :scope > ion-nav, :scope > ion-tabs');
  13004. if (ionPage) {
  13005. return ionPage;
  13006. } // idk, return the original element so at least something animates and we don't have a null pointer
  13007. return element;
  13008. };
  13009. /***/ }),
  13010. /***/ 9286:
  13011. /*!*************************************************************!*\
  13012. !*** ./node_modules/@ionic/core/dist/esm/index-f8d8aa5a.js ***!
  13013. \*************************************************************/
  13014. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  13015. __webpack_require__.r(__webpack_exports__);
  13016. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  13017. /* harmony export */ "GESTURE_CONTROLLER": () => (/* reexport safe */ _gesture_controller_17060b7c_js__WEBPACK_IMPORTED_MODULE_0__.G),
  13018. /* harmony export */ "createGesture": () => (/* binding */ createGesture)
  13019. /* harmony export */ });
  13020. /* harmony import */ var _gesture_controller_17060b7c_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./gesture-controller-17060b7c.js */ 6379);
  13021. /*!
  13022. * (C) Ionic http://ionicframework.com - MIT License
  13023. */
  13024. const addEventListener = (el, eventName, callback, opts) => {
  13025. // use event listener options when supported
  13026. // otherwise it's just a boolean for the "capture" arg
  13027. const listenerOpts = supportsPassive(el) ? {
  13028. capture: !!opts.capture,
  13029. passive: !!opts.passive
  13030. } : !!opts.capture;
  13031. let add;
  13032. let remove;
  13033. if (el['__zone_symbol__addEventListener']) {
  13034. add = '__zone_symbol__addEventListener';
  13035. remove = '__zone_symbol__removeEventListener';
  13036. } else {
  13037. add = 'addEventListener';
  13038. remove = 'removeEventListener';
  13039. }
  13040. el[add](eventName, callback, listenerOpts);
  13041. return () => {
  13042. el[remove](eventName, callback, listenerOpts);
  13043. };
  13044. };
  13045. const supportsPassive = node => {
  13046. if (_sPassive === undefined) {
  13047. try {
  13048. const opts = Object.defineProperty({}, 'passive', {
  13049. get: () => {
  13050. _sPassive = true;
  13051. }
  13052. });
  13053. node.addEventListener('optsTest', () => {
  13054. return;
  13055. }, opts);
  13056. } catch (e) {
  13057. _sPassive = false;
  13058. }
  13059. }
  13060. return !!_sPassive;
  13061. };
  13062. let _sPassive;
  13063. const MOUSE_WAIT = 2000;
  13064. const createPointerEvents = (el, pointerDown, pointerMove, pointerUp, options) => {
  13065. let rmTouchStart;
  13066. let rmTouchMove;
  13067. let rmTouchEnd;
  13068. let rmTouchCancel;
  13069. let rmMouseStart;
  13070. let rmMouseMove;
  13071. let rmMouseUp;
  13072. let lastTouchEvent = 0;
  13073. const handleTouchStart = ev => {
  13074. lastTouchEvent = Date.now() + MOUSE_WAIT;
  13075. if (!pointerDown(ev)) {
  13076. return;
  13077. }
  13078. if (!rmTouchMove && pointerMove) {
  13079. rmTouchMove = addEventListener(el, 'touchmove', pointerMove, options);
  13080. }
  13081. /**
  13082. * Events are dispatched on the element that is tapped and bubble up to
  13083. * the reference element in the gesture. In the event that the element this
  13084. * event was first dispatched on is removed from the DOM, the event will no
  13085. * longer bubble up to our reference element. This leaves the gesture in an
  13086. * unusable state. To account for this, the touchend and touchcancel listeners
  13087. * should be added to the event target so that they still fire even if the target
  13088. * is removed from the DOM.
  13089. */
  13090. if (!rmTouchEnd) {
  13091. rmTouchEnd = addEventListener(ev.target, 'touchend', handleTouchEnd, options);
  13092. }
  13093. if (!rmTouchCancel) {
  13094. rmTouchCancel = addEventListener(ev.target, 'touchcancel', handleTouchEnd, options);
  13095. }
  13096. };
  13097. const handleMouseDown = ev => {
  13098. if (lastTouchEvent > Date.now()) {
  13099. return;
  13100. }
  13101. if (!pointerDown(ev)) {
  13102. return;
  13103. }
  13104. if (!rmMouseMove && pointerMove) {
  13105. rmMouseMove = addEventListener(getDocument(el), 'mousemove', pointerMove, options);
  13106. }
  13107. if (!rmMouseUp) {
  13108. rmMouseUp = addEventListener(getDocument(el), 'mouseup', handleMouseUp, options);
  13109. }
  13110. };
  13111. const handleTouchEnd = ev => {
  13112. stopTouch();
  13113. if (pointerUp) {
  13114. pointerUp(ev);
  13115. }
  13116. };
  13117. const handleMouseUp = ev => {
  13118. stopMouse();
  13119. if (pointerUp) {
  13120. pointerUp(ev);
  13121. }
  13122. };
  13123. const stopTouch = () => {
  13124. if (rmTouchMove) {
  13125. rmTouchMove();
  13126. }
  13127. if (rmTouchEnd) {
  13128. rmTouchEnd();
  13129. }
  13130. if (rmTouchCancel) {
  13131. rmTouchCancel();
  13132. }
  13133. rmTouchMove = rmTouchEnd = rmTouchCancel = undefined;
  13134. };
  13135. const stopMouse = () => {
  13136. if (rmMouseMove) {
  13137. rmMouseMove();
  13138. }
  13139. if (rmMouseUp) {
  13140. rmMouseUp();
  13141. }
  13142. rmMouseMove = rmMouseUp = undefined;
  13143. };
  13144. const stop = () => {
  13145. stopTouch();
  13146. stopMouse();
  13147. };
  13148. const enable = (isEnabled = true) => {
  13149. if (!isEnabled) {
  13150. if (rmTouchStart) {
  13151. rmTouchStart();
  13152. }
  13153. if (rmMouseStart) {
  13154. rmMouseStart();
  13155. }
  13156. rmTouchStart = rmMouseStart = undefined;
  13157. stop();
  13158. } else {
  13159. if (!rmTouchStart) {
  13160. rmTouchStart = addEventListener(el, 'touchstart', handleTouchStart, options);
  13161. }
  13162. if (!rmMouseStart) {
  13163. rmMouseStart = addEventListener(el, 'mousedown', handleMouseDown, options);
  13164. }
  13165. }
  13166. };
  13167. const destroy = () => {
  13168. enable(false);
  13169. pointerUp = pointerMove = pointerDown = undefined;
  13170. };
  13171. return {
  13172. enable,
  13173. stop,
  13174. destroy
  13175. };
  13176. };
  13177. const getDocument = node => {
  13178. return node instanceof Document ? node : node.ownerDocument;
  13179. };
  13180. const createPanRecognizer = (direction, thresh, maxAngle) => {
  13181. const radians = maxAngle * (Math.PI / 180);
  13182. const isDirX = direction === 'x';
  13183. const maxCosine = Math.cos(radians);
  13184. const threshold = thresh * thresh;
  13185. let startX = 0;
  13186. let startY = 0;
  13187. let dirty = false;
  13188. let isPan = 0;
  13189. return {
  13190. start(x, y) {
  13191. startX = x;
  13192. startY = y;
  13193. isPan = 0;
  13194. dirty = true;
  13195. },
  13196. detect(x, y) {
  13197. if (!dirty) {
  13198. return false;
  13199. }
  13200. const deltaX = x - startX;
  13201. const deltaY = y - startY;
  13202. const distance = deltaX * deltaX + deltaY * deltaY;
  13203. if (distance < threshold) {
  13204. return false;
  13205. }
  13206. const hypotenuse = Math.sqrt(distance);
  13207. const cosine = (isDirX ? deltaX : deltaY) / hypotenuse;
  13208. if (cosine > maxCosine) {
  13209. isPan = 1;
  13210. } else if (cosine < -maxCosine) {
  13211. isPan = -1;
  13212. } else {
  13213. isPan = 0;
  13214. }
  13215. dirty = false;
  13216. return true;
  13217. },
  13218. isGesture() {
  13219. return isPan !== 0;
  13220. },
  13221. getDirection() {
  13222. return isPan;
  13223. }
  13224. };
  13225. };
  13226. const createGesture = config => {
  13227. let hasCapturedPan = false;
  13228. let hasStartedPan = false;
  13229. let hasFiredStart = true;
  13230. let isMoveQueued = false;
  13231. const finalConfig = Object.assign({
  13232. disableScroll: false,
  13233. direction: 'x',
  13234. gesturePriority: 0,
  13235. passive: true,
  13236. maxAngle: 40,
  13237. threshold: 10
  13238. }, config);
  13239. const canStart = finalConfig.canStart;
  13240. const onWillStart = finalConfig.onWillStart;
  13241. const onStart = finalConfig.onStart;
  13242. const onEnd = finalConfig.onEnd;
  13243. const notCaptured = finalConfig.notCaptured;
  13244. const onMove = finalConfig.onMove;
  13245. const threshold = finalConfig.threshold;
  13246. const passive = finalConfig.passive;
  13247. const blurOnStart = finalConfig.blurOnStart;
  13248. const detail = {
  13249. type: 'pan',
  13250. startX: 0,
  13251. startY: 0,
  13252. startTime: 0,
  13253. currentX: 0,
  13254. currentY: 0,
  13255. velocityX: 0,
  13256. velocityY: 0,
  13257. deltaX: 0,
  13258. deltaY: 0,
  13259. currentTime: 0,
  13260. event: undefined,
  13261. data: undefined
  13262. };
  13263. const pan = createPanRecognizer(finalConfig.direction, finalConfig.threshold, finalConfig.maxAngle);
  13264. const gesture = _gesture_controller_17060b7c_js__WEBPACK_IMPORTED_MODULE_0__.G.createGesture({
  13265. name: config.gestureName,
  13266. priority: config.gesturePriority,
  13267. disableScroll: config.disableScroll
  13268. });
  13269. const pointerDown = ev => {
  13270. const timeStamp = now(ev);
  13271. if (hasStartedPan || !hasFiredStart) {
  13272. return false;
  13273. }
  13274. updateDetail(ev, detail);
  13275. detail.startX = detail.currentX;
  13276. detail.startY = detail.currentY;
  13277. detail.startTime = detail.currentTime = timeStamp;
  13278. detail.velocityX = detail.velocityY = detail.deltaX = detail.deltaY = 0;
  13279. detail.event = ev; // Check if gesture can start
  13280. if (canStart && canStart(detail) === false) {
  13281. return false;
  13282. } // Release fallback
  13283. gesture.release(); // Start gesture
  13284. if (!gesture.start()) {
  13285. return false;
  13286. }
  13287. hasStartedPan = true;
  13288. if (threshold === 0) {
  13289. return tryToCapturePan();
  13290. }
  13291. pan.start(detail.startX, detail.startY);
  13292. return true;
  13293. };
  13294. const pointerMove = ev => {
  13295. // fast path, if gesture is currently captured
  13296. // do minimum job to get user-land even dispatched
  13297. if (hasCapturedPan) {
  13298. if (!isMoveQueued && hasFiredStart) {
  13299. isMoveQueued = true;
  13300. calcGestureData(detail, ev);
  13301. requestAnimationFrame(fireOnMove);
  13302. }
  13303. return;
  13304. } // gesture is currently being detected
  13305. calcGestureData(detail, ev);
  13306. if (pan.detect(detail.currentX, detail.currentY)) {
  13307. if (!pan.isGesture() || !tryToCapturePan()) {
  13308. abortGesture();
  13309. }
  13310. }
  13311. };
  13312. const fireOnMove = () => {
  13313. // Since fireOnMove is called inside a RAF, onEnd() might be called,
  13314. // we must double check hasCapturedPan
  13315. if (!hasCapturedPan) {
  13316. return;
  13317. }
  13318. isMoveQueued = false;
  13319. if (onMove) {
  13320. onMove(detail);
  13321. }
  13322. };
  13323. const tryToCapturePan = () => {
  13324. if (!gesture.capture()) {
  13325. return false;
  13326. }
  13327. hasCapturedPan = true;
  13328. hasFiredStart = false; // reset start position since the real user-land event starts here
  13329. // If the pan detector threshold is big, not resetting the start position
  13330. // will cause a jump in the animation equal to the detector threshold.
  13331. // the array of positions used to calculate the gesture velocity does not
  13332. // need to be cleaned, more points in the positions array always results in a
  13333. // more accurate value of the velocity.
  13334. detail.startX = detail.currentX;
  13335. detail.startY = detail.currentY;
  13336. detail.startTime = detail.currentTime;
  13337. if (onWillStart) {
  13338. onWillStart(detail).then(fireOnStart);
  13339. } else {
  13340. fireOnStart();
  13341. }
  13342. return true;
  13343. };
  13344. const blurActiveElement = () => {
  13345. if (typeof document !== 'undefined') {
  13346. const activeElement = document.activeElement;
  13347. if (activeElement === null || activeElement === void 0 ? void 0 : activeElement.blur) {
  13348. activeElement.blur();
  13349. }
  13350. }
  13351. };
  13352. const fireOnStart = () => {
  13353. if (blurOnStart) {
  13354. blurActiveElement();
  13355. }
  13356. if (onStart) {
  13357. onStart(detail);
  13358. }
  13359. hasFiredStart = true;
  13360. };
  13361. const reset = () => {
  13362. hasCapturedPan = false;
  13363. hasStartedPan = false;
  13364. isMoveQueued = false;
  13365. hasFiredStart = true;
  13366. gesture.release();
  13367. }; // END *************************
  13368. const pointerUp = ev => {
  13369. const tmpHasCaptured = hasCapturedPan;
  13370. const tmpHasFiredStart = hasFiredStart;
  13371. reset();
  13372. if (!tmpHasFiredStart) {
  13373. return;
  13374. }
  13375. calcGestureData(detail, ev); // Try to capture press
  13376. if (tmpHasCaptured) {
  13377. if (onEnd) {
  13378. onEnd(detail);
  13379. }
  13380. return;
  13381. } // Not captured any event
  13382. if (notCaptured) {
  13383. notCaptured(detail);
  13384. }
  13385. };
  13386. const pointerEvents = createPointerEvents(finalConfig.el, pointerDown, pointerMove, pointerUp, {
  13387. capture: false,
  13388. passive
  13389. });
  13390. const abortGesture = () => {
  13391. reset();
  13392. pointerEvents.stop();
  13393. if (notCaptured) {
  13394. notCaptured(detail);
  13395. }
  13396. };
  13397. return {
  13398. enable(enable = true) {
  13399. if (!enable) {
  13400. if (hasCapturedPan) {
  13401. pointerUp(undefined);
  13402. }
  13403. reset();
  13404. }
  13405. pointerEvents.enable(enable);
  13406. },
  13407. destroy() {
  13408. gesture.destroy();
  13409. pointerEvents.destroy();
  13410. }
  13411. };
  13412. };
  13413. const calcGestureData = (detail, ev) => {
  13414. if (!ev) {
  13415. return;
  13416. }
  13417. const prevX = detail.currentX;
  13418. const prevY = detail.currentY;
  13419. const prevT = detail.currentTime;
  13420. updateDetail(ev, detail);
  13421. const currentX = detail.currentX;
  13422. const currentY = detail.currentY;
  13423. const timestamp = detail.currentTime = now(ev);
  13424. const timeDelta = timestamp - prevT;
  13425. if (timeDelta > 0 && timeDelta < 100) {
  13426. const velocityX = (currentX - prevX) / timeDelta;
  13427. const velocityY = (currentY - prevY) / timeDelta;
  13428. detail.velocityX = velocityX * 0.7 + detail.velocityX * 0.3;
  13429. detail.velocityY = velocityY * 0.7 + detail.velocityY * 0.3;
  13430. }
  13431. detail.deltaX = currentX - detail.startX;
  13432. detail.deltaY = currentY - detail.startY;
  13433. detail.event = ev;
  13434. };
  13435. const updateDetail = (ev, detail) => {
  13436. // get X coordinates for either a mouse click
  13437. // or a touch depending on the given event
  13438. let x = 0;
  13439. let y = 0;
  13440. if (ev) {
  13441. const changedTouches = ev.changedTouches;
  13442. if (changedTouches && changedTouches.length > 0) {
  13443. const touch = changedTouches[0];
  13444. x = touch.clientX;
  13445. y = touch.clientY;
  13446. } else if (ev.pageX !== undefined) {
  13447. x = ev.pageX;
  13448. y = ev.pageY;
  13449. }
  13450. }
  13451. detail.currentX = x;
  13452. detail.currentY = y;
  13453. };
  13454. const now = ev => {
  13455. return ev.timeStamp || Date.now();
  13456. };
  13457. /***/ }),
  13458. /***/ 6710:
  13459. /*!****************************************************!*\
  13460. !*** ./node_modules/@ionic/core/dist/esm/index.js ***!
  13461. \****************************************************/
  13462. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  13463. __webpack_require__.r(__webpack_exports__);
  13464. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  13465. /* harmony export */ "IonicSafeString": () => (/* reexport safe */ _index_dff497fb_js__WEBPACK_IMPORTED_MODULE_7__.I),
  13466. /* harmony export */ "IonicSlides": () => (/* binding */ IonicSlides),
  13467. /* harmony export */ "IonicSwiper": () => (/* binding */ IonicSwiper),
  13468. /* harmony export */ "LIFECYCLE_DID_ENTER": () => (/* reexport safe */ _index_e6cecce9_js__WEBPACK_IMPORTED_MODULE_8__.a),
  13469. /* harmony export */ "LIFECYCLE_DID_LEAVE": () => (/* reexport safe */ _index_e6cecce9_js__WEBPACK_IMPORTED_MODULE_8__.c),
  13470. /* harmony export */ "LIFECYCLE_WILL_ENTER": () => (/* reexport safe */ _index_e6cecce9_js__WEBPACK_IMPORTED_MODULE_8__.L),
  13471. /* harmony export */ "LIFECYCLE_WILL_LEAVE": () => (/* reexport safe */ _index_e6cecce9_js__WEBPACK_IMPORTED_MODULE_8__.b),
  13472. /* harmony export */ "LIFECYCLE_WILL_UNLOAD": () => (/* reexport safe */ _index_e6cecce9_js__WEBPACK_IMPORTED_MODULE_8__.d),
  13473. /* harmony export */ "actionSheetController": () => (/* reexport safe */ _overlays_87c7c7cb_js__WEBPACK_IMPORTED_MODULE_10__.b),
  13474. /* harmony export */ "alertController": () => (/* reexport safe */ _overlays_87c7c7cb_js__WEBPACK_IMPORTED_MODULE_10__.a),
  13475. /* harmony export */ "componentOnReady": () => (/* reexport safe */ _helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_6__.c),
  13476. /* harmony export */ "createAnimation": () => (/* reexport safe */ _animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c),
  13477. /* harmony export */ "createGesture": () => (/* reexport safe */ _index_f8d8aa5a_js__WEBPACK_IMPORTED_MODULE_4__.createGesture),
  13478. /* harmony export */ "getMode": () => (/* binding */ getMode),
  13479. /* harmony export */ "getPlatforms": () => (/* reexport safe */ _ionic_global_c95cf239_js__WEBPACK_IMPORTED_MODULE_5__.g),
  13480. /* harmony export */ "getTimeGivenProgression": () => (/* reexport safe */ _cubic_bezier_c313947a_js__WEBPACK_IMPORTED_MODULE_3__.g),
  13481. /* harmony export */ "initialize": () => (/* reexport safe */ _ionic_global_c95cf239_js__WEBPACK_IMPORTED_MODULE_5__.i),
  13482. /* harmony export */ "iosTransitionAnimation": () => (/* reexport safe */ _ios_transition_a4006a5a_js__WEBPACK_IMPORTED_MODULE_1__.iosTransitionAnimation),
  13483. /* harmony export */ "isPlatform": () => (/* reexport safe */ _ionic_global_c95cf239_js__WEBPACK_IMPORTED_MODULE_5__.a),
  13484. /* harmony export */ "loadingController": () => (/* reexport safe */ _overlays_87c7c7cb_js__WEBPACK_IMPORTED_MODULE_10__.l),
  13485. /* harmony export */ "mdTransitionAnimation": () => (/* reexport safe */ _md_transition_3924e170_js__WEBPACK_IMPORTED_MODULE_2__.mdTransitionAnimation),
  13486. /* harmony export */ "menuController": () => (/* reexport safe */ _index_41145c2b_js__WEBPACK_IMPORTED_MODULE_9__.m),
  13487. /* harmony export */ "modalController": () => (/* reexport safe */ _overlays_87c7c7cb_js__WEBPACK_IMPORTED_MODULE_10__.m),
  13488. /* harmony export */ "pickerController": () => (/* reexport safe */ _overlays_87c7c7cb_js__WEBPACK_IMPORTED_MODULE_10__.p),
  13489. /* harmony export */ "popoverController": () => (/* reexport safe */ _overlays_87c7c7cb_js__WEBPACK_IMPORTED_MODULE_10__.c),
  13490. /* harmony export */ "setupConfig": () => (/* binding */ setupConfig),
  13491. /* harmony export */ "toastController": () => (/* reexport safe */ _overlays_87c7c7cb_js__WEBPACK_IMPORTED_MODULE_10__.t)
  13492. /* harmony export */ });
  13493. /* harmony import */ var _animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./animation-2c50d24d.js */ 631);
  13494. /* harmony import */ var _ios_transition_a4006a5a_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ios.transition-a4006a5a.js */ 7938);
  13495. /* harmony import */ var _md_transition_3924e170_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./md.transition-3924e170.js */ 4844);
  13496. /* harmony import */ var _cubic_bezier_c313947a_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./cubic-bezier-c313947a.js */ 1077);
  13497. /* harmony import */ var _index_f8d8aa5a_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./index-f8d8aa5a.js */ 9286);
  13498. /* harmony import */ var _ionic_global_c95cf239_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./ionic-global-c95cf239.js */ 8607);
  13499. /* harmony import */ var _helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./helpers-3b390e48.js */ 9234);
  13500. /* harmony import */ var _index_dff497fb_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./index-dff497fb.js */ 1652);
  13501. /* harmony import */ var _index_e6cecce9_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./index-e6cecce9.js */ 9287);
  13502. /* harmony import */ var _index_41145c2b_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./index-41145c2b.js */ 8923);
  13503. /* harmony import */ var _overlays_87c7c7cb_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./overlays-87c7c7cb.js */ 2752);
  13504. /* harmony import */ var _index_33ffec25_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./index-33ffec25.js */ 2286);
  13505. /* harmony import */ var _gesture_controller_17060b7c_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./gesture-controller-17060b7c.js */ 6379);
  13506. /* harmony import */ var _index_8e692445_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./index-8e692445.js */ 1559);
  13507. /* harmony import */ var _hardware_back_button_490df115_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./hardware-back-button-490df115.js */ 159);
  13508. /*!
  13509. * (C) Ionic http://ionicframework.com - MIT License
  13510. */
  13511. const setupConfig = config => {
  13512. const win = window;
  13513. const Ionic = win.Ionic; // eslint-disable-next-line @typescript-eslint/prefer-optional-chain
  13514. if (Ionic && Ionic.config && Ionic.config.constructor.name !== 'Object') {
  13515. return;
  13516. }
  13517. win.Ionic = win.Ionic || {};
  13518. win.Ionic.config = Object.assign(Object.assign({}, win.Ionic.config), config);
  13519. return win.Ionic.config;
  13520. };
  13521. const getMode = () => {
  13522. var _a;
  13523. const win = window;
  13524. const config = (_a = win === null || win === void 0 ? void 0 : win.Ionic) === null || _a === void 0 ? void 0 : _a.config;
  13525. if (config) {
  13526. if (config.mode) {
  13527. return config.mode;
  13528. } else {
  13529. return config.get('mode');
  13530. }
  13531. }
  13532. return 'md';
  13533. };
  13534. /**
  13535. * This is a plugin for Swiper that allows it to work
  13536. * with Ionic Framework and the routing integrations.
  13537. * Without this plugin, Swiper would be incapable of correctly
  13538. * determining the dimensions of the slides component as
  13539. * each view is initially hidden before transitioning in.
  13540. */
  13541. const setupSwiperInIonic = (swiper, watchForIonPageChanges = true) => {
  13542. if (typeof window === 'undefined') {
  13543. return;
  13544. }
  13545. const swiperEl = swiper.el;
  13546. const ionPage = swiperEl.closest('.ion-page');
  13547. if (!ionPage) {
  13548. if (watchForIonPageChanges) {
  13549. /**
  13550. * If no ion page found, it is possible
  13551. * that we are in the overlay setup step
  13552. * where the inner component has been
  13553. * created but not attached to the DOM yet.
  13554. * If so, wait for the .ion-page class to
  13555. * appear on the root div and re-run setup.
  13556. */
  13557. const rootNode = swiperEl.getRootNode();
  13558. if (rootNode.tagName === 'DIV') {
  13559. const mo = new MutationObserver(m => {
  13560. const mutation = m[0];
  13561. const wasEmpty = mutation.oldValue === null;
  13562. const hasIonPage = rootNode.classList.contains('ion-page');
  13563. /**
  13564. * Now that we have an .ion-page class
  13565. * we can safely attempt setup again.
  13566. */
  13567. if (wasEmpty && hasIonPage) {
  13568. mo.disconnect();
  13569. /**
  13570. * Set false here so we do not
  13571. * get infinite loops
  13572. */
  13573. setupSwiperInIonic(swiper, false);
  13574. }
  13575. });
  13576. mo.observe(rootNode, {
  13577. attributeFilter: ['class'],
  13578. attributeOldValue: true
  13579. });
  13580. }
  13581. }
  13582. return;
  13583. }
  13584. /**
  13585. * If using slides in a modal or
  13586. * popover we need to wait for the
  13587. * overlay to be shown as these components
  13588. * are hidden when they are initially created.
  13589. */
  13590. const modalOrPopover = swiperEl.closest('ion-modal, ion-popover');
  13591. if (modalOrPopover) {
  13592. const eventName = modalOrPopover.tagName === 'ION-MODAL' ? 'ionModalWillPresent' : 'ionPopoverWillPresent';
  13593. const overlayCallback = () => {
  13594. /**
  13595. * We need an raf here so the update
  13596. * is fired one tick after the overlay is shown.
  13597. */
  13598. (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_6__.r)(() => {
  13599. swiperEl.swiper.update();
  13600. (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_6__.b)(modalOrPopover, eventName, overlayCallback);
  13601. });
  13602. };
  13603. (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_6__.a)(modalOrPopover, eventName, overlayCallback);
  13604. } else {
  13605. /**
  13606. * If using slides in a page
  13607. * we need to wait for the ion-page-invisible
  13608. * class to be removed so Swiper can correctly
  13609. * compute the dimensions of the slides.
  13610. */
  13611. const mo = new MutationObserver(m => {
  13612. var _a;
  13613. const mutation = m[0];
  13614. const wasPageHidden = (_a = mutation.oldValue) === null || _a === void 0 ? void 0 : _a.includes('ion-page-invisible');
  13615. const isPageHidden = ionPage.classList.contains('ion-page-invisible');
  13616. /**
  13617. * Only update Swiper if the page was
  13618. * hidden but is no longer hidden.
  13619. */
  13620. if (!isPageHidden && isPageHidden !== wasPageHidden) {
  13621. swiperEl.swiper.update();
  13622. }
  13623. });
  13624. mo.observe(ionPage, {
  13625. attributeFilter: ['class'],
  13626. attributeOldValue: true
  13627. });
  13628. }
  13629. /**
  13630. * We also need to listen for the appload event
  13631. * which is emitted by Stencil in the
  13632. * event that Swiper is being used on the
  13633. * view that is rendered initially.
  13634. */
  13635. const onAppLoad = () => {
  13636. swiperEl.swiper.update();
  13637. (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_6__.b)(window, 'appload', onAppLoad);
  13638. };
  13639. (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_6__.a)(window, 'appload', onAppLoad);
  13640. };
  13641. const IonicSwiper = {
  13642. name: 'ionic',
  13643. on: {
  13644. afterInit(swiper) {
  13645. console.warn('[Deprecation Warning]: The IonicSwiper module has been deprecated in favor of the IonSlides module. This change was made to better support the Swiper 7 release. The IonicSwiper module will be removed in Ionic 7.0. See https://ionicframework.com/docs/api/slides#migration for revised migration steps.');
  13646. setupSwiperInIonic(swiper);
  13647. }
  13648. }
  13649. };
  13650. const IonicSlides = opts => {
  13651. const {
  13652. swiper,
  13653. extendParams
  13654. } = opts;
  13655. const slidesParams = {
  13656. effect: undefined,
  13657. direction: 'horizontal',
  13658. initialSlide: 0,
  13659. loop: false,
  13660. parallax: false,
  13661. slidesPerView: 1,
  13662. spaceBetween: 0,
  13663. speed: 300,
  13664. slidesPerColumn: 1,
  13665. slidesPerColumnFill: 'column',
  13666. slidesPerGroup: 1,
  13667. centeredSlides: false,
  13668. slidesOffsetBefore: 0,
  13669. slidesOffsetAfter: 0,
  13670. touchEventsTarget: 'container',
  13671. autoplay: false,
  13672. freeMode: false,
  13673. freeModeMomentum: true,
  13674. freeModeMomentumRatio: 1,
  13675. freeModeMomentumBounce: true,
  13676. freeModeMomentumBounceRatio: 1,
  13677. freeModeMomentumVelocityRatio: 1,
  13678. freeModeSticky: false,
  13679. freeModeMinimumVelocity: 0.02,
  13680. autoHeight: false,
  13681. setWrapperSize: false,
  13682. zoom: {
  13683. maxRatio: 3,
  13684. minRatio: 1,
  13685. toggle: false
  13686. },
  13687. touchRatio: 1,
  13688. touchAngle: 45,
  13689. simulateTouch: true,
  13690. touchStartPreventDefault: false,
  13691. shortSwipes: true,
  13692. longSwipes: true,
  13693. longSwipesRatio: 0.5,
  13694. longSwipesMs: 300,
  13695. followFinger: true,
  13696. threshold: 0,
  13697. touchMoveStopPropagation: true,
  13698. touchReleaseOnEdges: false,
  13699. iOSEdgeSwipeDetection: false,
  13700. iOSEdgeSwipeThreshold: 20,
  13701. resistance: true,
  13702. resistanceRatio: 0.85,
  13703. watchSlidesProgress: false,
  13704. watchSlidesVisibility: false,
  13705. preventClicks: true,
  13706. preventClicksPropagation: true,
  13707. slideToClickedSlide: false,
  13708. loopAdditionalSlides: 0,
  13709. noSwiping: true,
  13710. runCallbacksOnInit: true,
  13711. coverflowEffect: {
  13712. rotate: 50,
  13713. stretch: 0,
  13714. depth: 100,
  13715. modifier: 1,
  13716. slideShadows: true
  13717. },
  13718. flipEffect: {
  13719. slideShadows: true,
  13720. limitRotation: true
  13721. },
  13722. cubeEffect: {
  13723. slideShadows: true,
  13724. shadow: true,
  13725. shadowOffset: 20,
  13726. shadowScale: 0.94
  13727. },
  13728. fadeEffect: {
  13729. crossFade: false
  13730. },
  13731. a11y: {
  13732. prevSlideMessage: 'Previous slide',
  13733. nextSlideMessage: 'Next slide',
  13734. firstSlideMessage: 'This is the first slide',
  13735. lastSlideMessage: 'This is the last slide'
  13736. }
  13737. };
  13738. if (swiper.pagination) {
  13739. slidesParams.pagination = {
  13740. type: 'bullets',
  13741. clickable: false,
  13742. hideOnClick: false
  13743. };
  13744. }
  13745. if (swiper.scrollbar) {
  13746. slidesParams.scrollbar = {
  13747. hide: true
  13748. };
  13749. }
  13750. extendParams(slidesParams);
  13751. };
  13752. /***/ }),
  13753. /***/ 8607:
  13754. /*!********************************************************************!*\
  13755. !*** ./node_modules/@ionic/core/dist/esm/ionic-global-c95cf239.js ***!
  13756. \********************************************************************/
  13757. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  13758. __webpack_require__.r(__webpack_exports__);
  13759. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  13760. /* harmony export */ "a": () => (/* binding */ isPlatform),
  13761. /* harmony export */ "b": () => (/* binding */ getIonMode),
  13762. /* harmony export */ "c": () => (/* binding */ config),
  13763. /* harmony export */ "g": () => (/* binding */ getPlatforms),
  13764. /* harmony export */ "i": () => (/* binding */ initialize)
  13765. /* harmony export */ });
  13766. /* harmony import */ var _index_8e692445_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index-8e692445.js */ 1559);
  13767. /*!
  13768. * (C) Ionic http://ionicframework.com - MIT License
  13769. */
  13770. class Config {
  13771. constructor() {
  13772. this.m = new Map();
  13773. }
  13774. reset(configObj) {
  13775. this.m = new Map(Object.entries(configObj));
  13776. }
  13777. get(key, fallback) {
  13778. const value = this.m.get(key);
  13779. return value !== undefined ? value : fallback;
  13780. }
  13781. getBoolean(key, fallback = false) {
  13782. const val = this.m.get(key);
  13783. if (val === undefined) {
  13784. return fallback;
  13785. }
  13786. if (typeof val === 'string') {
  13787. return val === 'true';
  13788. }
  13789. return !!val;
  13790. }
  13791. getNumber(key, fallback) {
  13792. const val = parseFloat(this.m.get(key));
  13793. return isNaN(val) ? fallback !== undefined ? fallback : NaN : val;
  13794. }
  13795. set(key, value) {
  13796. this.m.set(key, value);
  13797. }
  13798. }
  13799. const config = /*@__PURE__*/new Config();
  13800. const configFromSession = win => {
  13801. try {
  13802. const configStr = win.sessionStorage.getItem(IONIC_SESSION_KEY);
  13803. return configStr !== null ? JSON.parse(configStr) : {};
  13804. } catch (e) {
  13805. return {};
  13806. }
  13807. };
  13808. const saveConfig = (win, c) => {
  13809. try {
  13810. win.sessionStorage.setItem(IONIC_SESSION_KEY, JSON.stringify(c));
  13811. } catch (e) {
  13812. return;
  13813. }
  13814. };
  13815. const configFromURL = win => {
  13816. const configObj = {};
  13817. win.location.search.slice(1).split('&').map(entry => entry.split('=')).map(([key, value]) => [decodeURIComponent(key), decodeURIComponent(value)]).filter(([key]) => startsWith(key, IONIC_PREFIX)).map(([key, value]) => [key.slice(IONIC_PREFIX.length), value]).forEach(([key, value]) => {
  13818. configObj[key] = value;
  13819. });
  13820. return configObj;
  13821. };
  13822. const startsWith = (input, search) => {
  13823. return input.substr(0, search.length) === search;
  13824. };
  13825. const IONIC_PREFIX = 'ionic:';
  13826. const IONIC_SESSION_KEY = 'ionic-persist-config';
  13827. const getPlatforms = win => setupPlatforms(win);
  13828. const isPlatform = (winOrPlatform, platform) => {
  13829. if (typeof winOrPlatform === 'string') {
  13830. platform = winOrPlatform;
  13831. winOrPlatform = undefined;
  13832. }
  13833. return getPlatforms(winOrPlatform).includes(platform);
  13834. };
  13835. const setupPlatforms = (win = window) => {
  13836. if (typeof win === 'undefined') {
  13837. return [];
  13838. }
  13839. win.Ionic = win.Ionic || {};
  13840. let platforms = win.Ionic.platforms;
  13841. if (platforms == null) {
  13842. platforms = win.Ionic.platforms = detectPlatforms(win);
  13843. platforms.forEach(p => win.document.documentElement.classList.add(`plt-${p}`));
  13844. }
  13845. return platforms;
  13846. };
  13847. const detectPlatforms = win => {
  13848. const customPlatformMethods = config.get('platform');
  13849. return Object.keys(PLATFORMS_MAP).filter(p => {
  13850. const customMethod = customPlatformMethods === null || customPlatformMethods === void 0 ? void 0 : customPlatformMethods[p];
  13851. return typeof customMethod === 'function' ? customMethod(win) : PLATFORMS_MAP[p](win);
  13852. });
  13853. };
  13854. const isMobileWeb = win => isMobile(win) && !isHybrid(win);
  13855. const isIpad = win => {
  13856. // iOS 12 and below
  13857. if (testUserAgent(win, /iPad/i)) {
  13858. return true;
  13859. } // iOS 13+
  13860. if (testUserAgent(win, /Macintosh/i) && isMobile(win)) {
  13861. return true;
  13862. }
  13863. return false;
  13864. };
  13865. const isIphone = win => testUserAgent(win, /iPhone/i);
  13866. const isIOS = win => testUserAgent(win, /iPhone|iPod/i) || isIpad(win);
  13867. const isAndroid = win => testUserAgent(win, /android|sink/i);
  13868. const isAndroidTablet = win => {
  13869. return isAndroid(win) && !testUserAgent(win, /mobile/i);
  13870. };
  13871. const isPhablet = win => {
  13872. const width = win.innerWidth;
  13873. const height = win.innerHeight;
  13874. const smallest = Math.min(width, height);
  13875. const largest = Math.max(width, height);
  13876. return smallest > 390 && smallest < 520 && largest > 620 && largest < 800;
  13877. };
  13878. const isTablet = win => {
  13879. const width = win.innerWidth;
  13880. const height = win.innerHeight;
  13881. const smallest = Math.min(width, height);
  13882. const largest = Math.max(width, height);
  13883. return isIpad(win) || isAndroidTablet(win) || smallest > 460 && smallest < 820 && largest > 780 && largest < 1400;
  13884. };
  13885. const isMobile = win => matchMedia(win, '(any-pointer:coarse)');
  13886. const isDesktop = win => !isMobile(win);
  13887. const isHybrid = win => isCordova(win) || isCapacitorNative(win);
  13888. const isCordova = win => !!(win['cordova'] || win['phonegap'] || win['PhoneGap']);
  13889. const isCapacitorNative = win => {
  13890. const capacitor = win['Capacitor'];
  13891. return !!(capacitor === null || capacitor === void 0 ? void 0 : capacitor.isNative);
  13892. };
  13893. const isElectron = win => testUserAgent(win, /electron/i);
  13894. const isPWA = win => {
  13895. var _a;
  13896. return !!(((_a = win.matchMedia) === null || _a === void 0 ? void 0 : _a.call(win, '(display-mode: standalone)').matches) || win.navigator.standalone);
  13897. };
  13898. const testUserAgent = (win, expr) => expr.test(win.navigator.userAgent);
  13899. const matchMedia = (win, query) => {
  13900. var _a;
  13901. return (_a = win.matchMedia) === null || _a === void 0 ? void 0 : _a.call(win, query).matches;
  13902. };
  13903. const PLATFORMS_MAP = {
  13904. ipad: isIpad,
  13905. iphone: isIphone,
  13906. ios: isIOS,
  13907. android: isAndroid,
  13908. phablet: isPhablet,
  13909. tablet: isTablet,
  13910. cordova: isCordova,
  13911. capacitor: isCapacitorNative,
  13912. electron: isElectron,
  13913. pwa: isPWA,
  13914. mobile: isMobile,
  13915. mobileweb: isMobileWeb,
  13916. desktop: isDesktop,
  13917. hybrid: isHybrid
  13918. };
  13919. let defaultMode;
  13920. const getIonMode = ref => {
  13921. return ref && (0,_index_8e692445_js__WEBPACK_IMPORTED_MODULE_0__.g)(ref) || defaultMode;
  13922. };
  13923. const initialize = (userConfig = {}) => {
  13924. if (typeof window === 'undefined') {
  13925. return;
  13926. }
  13927. const doc = window.document;
  13928. const win = window;
  13929. const Ionic = win.Ionic = win.Ionic || {};
  13930. const platformHelpers = {};
  13931. if (userConfig._ael) {
  13932. platformHelpers.ael = userConfig._ael;
  13933. }
  13934. if (userConfig._rel) {
  13935. platformHelpers.rel = userConfig._rel;
  13936. }
  13937. if (userConfig._ce) {
  13938. platformHelpers.ce = userConfig._ce;
  13939. }
  13940. (0,_index_8e692445_js__WEBPACK_IMPORTED_MODULE_0__.s)(platformHelpers); // create the Ionic.config from raw config object (if it exists)
  13941. // and convert Ionic.config into a ConfigApi that has a get() fn
  13942. const configObj = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, configFromSession(win)), {
  13943. persistConfig: false
  13944. }), Ionic.config), configFromURL(win)), userConfig);
  13945. config.reset(configObj);
  13946. if (config.getBoolean('persistConfig')) {
  13947. saveConfig(win, configObj);
  13948. } // Setup platforms
  13949. setupPlatforms(win); // first see if the mode was set as an attribute on <html>
  13950. // which could have been set by the user, or by pre-rendering
  13951. // otherwise get the mode via config settings, and fallback to md
  13952. Ionic.config = config;
  13953. Ionic.mode = defaultMode = config.get('mode', doc.documentElement.getAttribute('mode') || (isPlatform(win, 'ios') ? 'ios' : 'md'));
  13954. config.set('mode', defaultMode);
  13955. doc.documentElement.setAttribute('mode', defaultMode);
  13956. doc.documentElement.classList.add(defaultMode);
  13957. if (config.getBoolean('_testing')) {
  13958. config.set('animated', false);
  13959. }
  13960. const isIonicElement = elm => {
  13961. var _a;
  13962. return (_a = elm.tagName) === null || _a === void 0 ? void 0 : _a.startsWith('ION-');
  13963. };
  13964. const isAllowedIonicModeValue = elmMode => ['ios', 'md'].includes(elmMode);
  13965. (0,_index_8e692445_js__WEBPACK_IMPORTED_MODULE_0__.a)(elm => {
  13966. while (elm) {
  13967. const elmMode = elm.mode || elm.getAttribute('mode');
  13968. if (elmMode) {
  13969. if (isAllowedIonicModeValue(elmMode)) {
  13970. return elmMode;
  13971. } else if (isIonicElement(elm)) {
  13972. console.warn('Invalid ionic mode: "' + elmMode + '", expected: "ios" or "md"');
  13973. }
  13974. }
  13975. elm = elm.parentElement;
  13976. }
  13977. return defaultMode;
  13978. });
  13979. };
  13980. /***/ }),
  13981. /***/ 7938:
  13982. /*!**********************************************************************!*\
  13983. !*** ./node_modules/@ionic/core/dist/esm/ios.transition-a4006a5a.js ***!
  13984. \**********************************************************************/
  13985. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  13986. __webpack_require__.r(__webpack_exports__);
  13987. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  13988. /* harmony export */ "iosTransitionAnimation": () => (/* binding */ iosTransitionAnimation),
  13989. /* harmony export */ "shadow": () => (/* binding */ shadow)
  13990. /* harmony export */ });
  13991. /* harmony import */ var _animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./animation-2c50d24d.js */ 631);
  13992. /* harmony import */ var _index_e6cecce9_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index-e6cecce9.js */ 9287);
  13993. /* harmony import */ var _helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./helpers-3b390e48.js */ 9234);
  13994. /* harmony import */ var _index_33ffec25_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./index-33ffec25.js */ 2286);
  13995. /* harmony import */ var _index_8e692445_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./index-8e692445.js */ 1559);
  13996. /*!
  13997. * (C) Ionic http://ionicframework.com - MIT License
  13998. */
  13999. const DURATION = 540;
  14000. const getClonedElement = tagName => {
  14001. return document.querySelector(`${tagName}.ion-cloned-element`);
  14002. };
  14003. const shadow = el => {
  14004. return el.shadowRoot || el;
  14005. };
  14006. const getLargeTitle = refEl => {
  14007. const tabs = refEl.tagName === 'ION-TABS' ? refEl : refEl.querySelector('ion-tabs');
  14008. const query = 'ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large';
  14009. if (tabs != null) {
  14010. const activeTab = tabs.querySelector('ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)');
  14011. return activeTab != null ? activeTab.querySelector(query) : null;
  14012. }
  14013. return refEl.querySelector(query);
  14014. };
  14015. const getBackButton = (refEl, backDirection) => {
  14016. const tabs = refEl.tagName === 'ION-TABS' ? refEl : refEl.querySelector('ion-tabs');
  14017. let buttonsList = [];
  14018. if (tabs != null) {
  14019. const activeTab = tabs.querySelector('ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)');
  14020. if (activeTab != null) {
  14021. buttonsList = activeTab.querySelectorAll('ion-buttons');
  14022. }
  14023. } else {
  14024. buttonsList = refEl.querySelectorAll('ion-buttons');
  14025. }
  14026. for (const buttons of buttonsList) {
  14027. const parentHeader = buttons.closest('ion-header');
  14028. const activeHeader = parentHeader && !parentHeader.classList.contains('header-collapse-condense-inactive');
  14029. const backButton = buttons.querySelector('ion-back-button');
  14030. const buttonsCollapse = buttons.classList.contains('buttons-collapse');
  14031. const startSlot = buttons.slot === 'start' || buttons.slot === '';
  14032. if (backButton !== null && startSlot && (buttonsCollapse && activeHeader && backDirection || !buttonsCollapse)) {
  14033. return backButton;
  14034. }
  14035. }
  14036. return null;
  14037. };
  14038. const createLargeTitleTransition = (rootAnimation, rtl, backDirection, enteringEl, leavingEl) => {
  14039. const enteringBackButton = getBackButton(enteringEl, backDirection);
  14040. const leavingLargeTitle = getLargeTitle(leavingEl);
  14041. const enteringLargeTitle = getLargeTitle(enteringEl);
  14042. const leavingBackButton = getBackButton(leavingEl, backDirection);
  14043. const shouldAnimationForward = enteringBackButton !== null && leavingLargeTitle !== null && !backDirection;
  14044. const shouldAnimationBackward = enteringLargeTitle !== null && leavingBackButton !== null && backDirection;
  14045. if (shouldAnimationForward) {
  14046. const leavingLargeTitleBox = leavingLargeTitle.getBoundingClientRect();
  14047. const enteringBackButtonBox = enteringBackButton.getBoundingClientRect();
  14048. animateLargeTitle(rootAnimation, rtl, backDirection, leavingLargeTitle, leavingLargeTitleBox, enteringBackButtonBox);
  14049. animateBackButton(rootAnimation, rtl, backDirection, enteringBackButton, leavingLargeTitleBox, enteringBackButtonBox);
  14050. } else if (shouldAnimationBackward) {
  14051. const enteringLargeTitleBox = enteringLargeTitle.getBoundingClientRect();
  14052. const leavingBackButtonBox = leavingBackButton.getBoundingClientRect();
  14053. animateLargeTitle(rootAnimation, rtl, backDirection, enteringLargeTitle, enteringLargeTitleBox, leavingBackButtonBox);
  14054. animateBackButton(rootAnimation, rtl, backDirection, leavingBackButton, enteringLargeTitleBox, leavingBackButtonBox);
  14055. }
  14056. return {
  14057. forward: shouldAnimationForward,
  14058. backward: shouldAnimationBackward
  14059. };
  14060. };
  14061. const animateBackButton = (rootAnimation, rtl, backDirection, backButtonEl, largeTitleBox, backButtonBox) => {
  14062. const BACK_BUTTON_START_OFFSET = rtl ? `calc(100% - ${backButtonBox.right + 4}px)` : `${backButtonBox.left - 4}px`;
  14063. const START_TEXT_TRANSLATE = rtl ? '7px' : '-7px';
  14064. const END_TEXT_TRANSLATE = rtl ? '-4px' : '4px';
  14065. const ICON_TRANSLATE = rtl ? '-4px' : '4px';
  14066. const TEXT_ORIGIN_X = rtl ? 'right' : 'left';
  14067. const ICON_ORIGIN_X = rtl ? 'left' : 'right';
  14068. const FORWARD_TEXT_KEYFRAMES = [{
  14069. offset: 0,
  14070. opacity: 0,
  14071. transform: `translate3d(${START_TEXT_TRANSLATE}, ${largeTitleBox.top - 40}px, 0) scale(2.1)`
  14072. }, {
  14073. offset: 1,
  14074. opacity: 1,
  14075. transform: `translate3d(${END_TEXT_TRANSLATE}, ${backButtonBox.top - 46}px, 0) scale(1)`
  14076. }];
  14077. const BACKWARD_TEXT_KEYFRAMES = [{
  14078. offset: 0,
  14079. opacity: 1,
  14080. transform: `translate3d(${END_TEXT_TRANSLATE}, ${backButtonBox.top - 46}px, 0) scale(1)`
  14081. }, {
  14082. offset: 0.6,
  14083. opacity: 0
  14084. }, {
  14085. offset: 1,
  14086. opacity: 0,
  14087. transform: `translate3d(${START_TEXT_TRANSLATE}, ${largeTitleBox.top - 40}px, 0) scale(2.1)`
  14088. }];
  14089. const TEXT_KEYFRAMES = backDirection ? BACKWARD_TEXT_KEYFRAMES : FORWARD_TEXT_KEYFRAMES;
  14090. const FORWARD_ICON_KEYFRAMES = [{
  14091. offset: 0,
  14092. opacity: 0,
  14093. transform: `translate3d(${ICON_TRANSLATE}, ${backButtonBox.top - 41}px, 0) scale(0.6)`
  14094. }, {
  14095. offset: 1,
  14096. opacity: 1,
  14097. transform: `translate3d(${ICON_TRANSLATE}, ${backButtonBox.top - 46}px, 0) scale(1)`
  14098. }];
  14099. const BACKWARD_ICON_KEYFRAMES = [{
  14100. offset: 0,
  14101. opacity: 1,
  14102. transform: `translate3d(${ICON_TRANSLATE}, ${backButtonBox.top - 46}px, 0) scale(1)`
  14103. }, {
  14104. offset: 0.2,
  14105. opacity: 0,
  14106. transform: `translate3d(${ICON_TRANSLATE}, ${backButtonBox.top - 41}px, 0) scale(0.6)`
  14107. }, {
  14108. offset: 1,
  14109. opacity: 0,
  14110. transform: `translate3d(${ICON_TRANSLATE}, ${backButtonBox.top - 41}px, 0) scale(0.6)`
  14111. }];
  14112. const ICON_KEYFRAMES = backDirection ? BACKWARD_ICON_KEYFRAMES : FORWARD_ICON_KEYFRAMES;
  14113. const enteringBackButtonTextAnimation = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
  14114. const enteringBackButtonIconAnimation = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
  14115. const clonedBackButtonEl = getClonedElement('ion-back-button');
  14116. const backButtonTextEl = shadow(clonedBackButtonEl).querySelector('.button-text');
  14117. const backButtonIconEl = shadow(clonedBackButtonEl).querySelector('ion-icon');
  14118. clonedBackButtonEl.text = backButtonEl.text;
  14119. clonedBackButtonEl.mode = backButtonEl.mode;
  14120. clonedBackButtonEl.icon = backButtonEl.icon;
  14121. clonedBackButtonEl.color = backButtonEl.color;
  14122. clonedBackButtonEl.disabled = backButtonEl.disabled;
  14123. clonedBackButtonEl.style.setProperty('display', 'block');
  14124. clonedBackButtonEl.style.setProperty('position', 'fixed');
  14125. enteringBackButtonIconAnimation.addElement(backButtonIconEl);
  14126. enteringBackButtonTextAnimation.addElement(backButtonTextEl);
  14127. enteringBackButtonTextAnimation.beforeStyles({
  14128. 'transform-origin': `${TEXT_ORIGIN_X} center`
  14129. }).beforeAddWrite(() => {
  14130. backButtonEl.style.setProperty('display', 'none');
  14131. clonedBackButtonEl.style.setProperty(TEXT_ORIGIN_X, BACK_BUTTON_START_OFFSET);
  14132. }).afterAddWrite(() => {
  14133. backButtonEl.style.setProperty('display', '');
  14134. clonedBackButtonEl.style.setProperty('display', 'none');
  14135. clonedBackButtonEl.style.removeProperty(TEXT_ORIGIN_X);
  14136. }).keyframes(TEXT_KEYFRAMES);
  14137. enteringBackButtonIconAnimation.beforeStyles({
  14138. 'transform-origin': `${ICON_ORIGIN_X} center`
  14139. }).keyframes(ICON_KEYFRAMES);
  14140. rootAnimation.addAnimation([enteringBackButtonTextAnimation, enteringBackButtonIconAnimation]);
  14141. };
  14142. const animateLargeTitle = (rootAnimation, rtl, backDirection, largeTitleEl, largeTitleBox, backButtonBox) => {
  14143. const TITLE_START_OFFSET = rtl ? `calc(100% - ${largeTitleBox.right}px)` : `${largeTitleBox.left}px`;
  14144. const START_TRANSLATE = rtl ? '-18px' : '18px';
  14145. const ORIGIN_X = rtl ? 'right' : 'left';
  14146. const BACKWARDS_KEYFRAMES = [{
  14147. offset: 0,
  14148. opacity: 0,
  14149. transform: `translate3d(${START_TRANSLATE}, ${backButtonBox.top - 4}px, 0) scale(0.49)`
  14150. }, {
  14151. offset: 0.1,
  14152. opacity: 0
  14153. }, {
  14154. offset: 1,
  14155. opacity: 1,
  14156. transform: `translate3d(0, ${largeTitleBox.top - 2}px, 0) scale(1)`
  14157. }];
  14158. const FORWARDS_KEYFRAMES = [{
  14159. offset: 0,
  14160. opacity: 0.99,
  14161. transform: `translate3d(0, ${largeTitleBox.top - 2}px, 0) scale(1)`
  14162. }, {
  14163. offset: 0.6,
  14164. opacity: 0
  14165. }, {
  14166. offset: 1,
  14167. opacity: 0,
  14168. transform: `translate3d(${START_TRANSLATE}, ${backButtonBox.top - 4}px, 0) scale(0.5)`
  14169. }];
  14170. const KEYFRAMES = backDirection ? BACKWARDS_KEYFRAMES : FORWARDS_KEYFRAMES;
  14171. const clonedTitleEl = getClonedElement('ion-title');
  14172. const clonedLargeTitleAnimation = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
  14173. clonedTitleEl.innerText = largeTitleEl.innerText;
  14174. clonedTitleEl.size = largeTitleEl.size;
  14175. clonedTitleEl.color = largeTitleEl.color;
  14176. clonedLargeTitleAnimation.addElement(clonedTitleEl);
  14177. clonedLargeTitleAnimation.beforeStyles({
  14178. 'transform-origin': `${ORIGIN_X} center`,
  14179. height: '46px',
  14180. display: '',
  14181. position: 'relative',
  14182. [ORIGIN_X]: TITLE_START_OFFSET
  14183. }).beforeAddWrite(() => {
  14184. largeTitleEl.style.setProperty('display', 'none');
  14185. }).afterAddWrite(() => {
  14186. largeTitleEl.style.setProperty('display', '');
  14187. clonedTitleEl.style.setProperty('display', 'none');
  14188. }).keyframes(KEYFRAMES);
  14189. rootAnimation.addAnimation(clonedLargeTitleAnimation);
  14190. };
  14191. const iosTransitionAnimation = (navEl, opts) => {
  14192. var _a;
  14193. try {
  14194. const EASING = 'cubic-bezier(0.32,0.72,0,1)';
  14195. const OPACITY = 'opacity';
  14196. const TRANSFORM = 'transform';
  14197. const CENTER = '0%';
  14198. const OFF_OPACITY = 0.8;
  14199. const isRTL = navEl.ownerDocument.dir === 'rtl';
  14200. const OFF_RIGHT = isRTL ? '-99.5%' : '99.5%';
  14201. const OFF_LEFT = isRTL ? '33%' : '-33%';
  14202. const enteringEl = opts.enteringEl;
  14203. const leavingEl = opts.leavingEl;
  14204. const backDirection = opts.direction === 'back';
  14205. const contentEl = enteringEl.querySelector(':scope > ion-content');
  14206. const headerEls = enteringEl.querySelectorAll(':scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *');
  14207. const enteringToolBarEls = enteringEl.querySelectorAll(':scope > ion-header > ion-toolbar');
  14208. const rootAnimation = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
  14209. const enteringContentAnimation = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
  14210. rootAnimation.addElement(enteringEl).duration(((_a = opts.duration) !== null && _a !== void 0 ? _a : 0) || DURATION).easing(opts.easing || EASING).fill('both').beforeRemoveClass('ion-page-invisible');
  14211. if (leavingEl && navEl !== null && navEl !== undefined) {
  14212. const navDecorAnimation = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
  14213. navDecorAnimation.addElement(navEl);
  14214. rootAnimation.addAnimation(navDecorAnimation);
  14215. }
  14216. if (!contentEl && enteringToolBarEls.length === 0 && headerEls.length === 0) {
  14217. enteringContentAnimation.addElement(enteringEl.querySelector(':scope > .ion-page, :scope > ion-nav, :scope > ion-tabs')); // REVIEW
  14218. } else {
  14219. enteringContentAnimation.addElement(contentEl); // REVIEW
  14220. enteringContentAnimation.addElement(headerEls);
  14221. }
  14222. rootAnimation.addAnimation(enteringContentAnimation);
  14223. if (backDirection) {
  14224. enteringContentAnimation.beforeClearStyles([OPACITY]).fromTo('transform', `translateX(${OFF_LEFT})`, `translateX(${CENTER})`).fromTo(OPACITY, OFF_OPACITY, 1);
  14225. } else {
  14226. // entering content, forward direction
  14227. enteringContentAnimation.beforeClearStyles([OPACITY]).fromTo('transform', `translateX(${OFF_RIGHT})`, `translateX(${CENTER})`);
  14228. }
  14229. if (contentEl) {
  14230. const enteringTransitionEffectEl = shadow(contentEl).querySelector('.transition-effect');
  14231. if (enteringTransitionEffectEl) {
  14232. const enteringTransitionCoverEl = enteringTransitionEffectEl.querySelector('.transition-cover');
  14233. const enteringTransitionShadowEl = enteringTransitionEffectEl.querySelector('.transition-shadow');
  14234. const enteringTransitionEffect = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
  14235. const enteringTransitionCover = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
  14236. const enteringTransitionShadow = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
  14237. enteringTransitionEffect.addElement(enteringTransitionEffectEl).beforeStyles({
  14238. opacity: '1',
  14239. display: 'block'
  14240. }).afterStyles({
  14241. opacity: '',
  14242. display: ''
  14243. });
  14244. enteringTransitionCover.addElement(enteringTransitionCoverEl) // REVIEW
  14245. .beforeClearStyles([OPACITY]).fromTo(OPACITY, 0, 0.1);
  14246. enteringTransitionShadow.addElement(enteringTransitionShadowEl) // REVIEW
  14247. .beforeClearStyles([OPACITY]).fromTo(OPACITY, 0.03, 0.7);
  14248. enteringTransitionEffect.addAnimation([enteringTransitionCover, enteringTransitionShadow]);
  14249. enteringContentAnimation.addAnimation([enteringTransitionEffect]);
  14250. }
  14251. }
  14252. const enteringContentHasLargeTitle = enteringEl.querySelector('ion-header.header-collapse-condense');
  14253. const {
  14254. forward,
  14255. backward
  14256. } = createLargeTitleTransition(rootAnimation, isRTL, backDirection, enteringEl, leavingEl);
  14257. enteringToolBarEls.forEach(enteringToolBarEl => {
  14258. const enteringToolBar = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
  14259. enteringToolBar.addElement(enteringToolBarEl);
  14260. rootAnimation.addAnimation(enteringToolBar);
  14261. const enteringTitle = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
  14262. enteringTitle.addElement(enteringToolBarEl.querySelector('ion-title')); // REVIEW
  14263. const enteringToolBarButtons = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
  14264. const buttons = Array.from(enteringToolBarEl.querySelectorAll('ion-buttons,[menuToggle]'));
  14265. const parentHeader = enteringToolBarEl.closest('ion-header');
  14266. const inactiveHeader = parentHeader === null || parentHeader === void 0 ? void 0 : parentHeader.classList.contains('header-collapse-condense-inactive');
  14267. let buttonsToAnimate;
  14268. if (backDirection) {
  14269. buttonsToAnimate = buttons.filter(button => {
  14270. const isCollapseButton = button.classList.contains('buttons-collapse');
  14271. return isCollapseButton && !inactiveHeader || !isCollapseButton;
  14272. });
  14273. } else {
  14274. buttonsToAnimate = buttons.filter(button => !button.classList.contains('buttons-collapse'));
  14275. }
  14276. enteringToolBarButtons.addElement(buttonsToAnimate);
  14277. const enteringToolBarItems = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
  14278. enteringToolBarItems.addElement(enteringToolBarEl.querySelectorAll(':scope > *:not(ion-title):not(ion-buttons):not([menuToggle])'));
  14279. const enteringToolBarBg = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
  14280. enteringToolBarBg.addElement(shadow(enteringToolBarEl).querySelector('.toolbar-background')); // REVIEW
  14281. const enteringBackButton = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
  14282. const backButtonEl = enteringToolBarEl.querySelector('ion-back-button');
  14283. if (backButtonEl) {
  14284. enteringBackButton.addElement(backButtonEl);
  14285. }
  14286. enteringToolBar.addAnimation([enteringTitle, enteringToolBarButtons, enteringToolBarItems, enteringToolBarBg, enteringBackButton]);
  14287. enteringToolBarButtons.fromTo(OPACITY, 0.01, 1);
  14288. enteringToolBarItems.fromTo(OPACITY, 0.01, 1);
  14289. if (backDirection) {
  14290. if (!inactiveHeader) {
  14291. enteringTitle.fromTo('transform', `translateX(${OFF_LEFT})`, `translateX(${CENTER})`).fromTo(OPACITY, 0.01, 1);
  14292. }
  14293. enteringToolBarItems.fromTo('transform', `translateX(${OFF_LEFT})`, `translateX(${CENTER})`); // back direction, entering page has a back button
  14294. enteringBackButton.fromTo(OPACITY, 0.01, 1);
  14295. } else {
  14296. // entering toolbar, forward direction
  14297. if (!enteringContentHasLargeTitle) {
  14298. enteringTitle.fromTo('transform', `translateX(${OFF_RIGHT})`, `translateX(${CENTER})`).fromTo(OPACITY, 0.01, 1);
  14299. }
  14300. enteringToolBarItems.fromTo('transform', `translateX(${OFF_RIGHT})`, `translateX(${CENTER})`);
  14301. enteringToolBarBg.beforeClearStyles([OPACITY, 'transform']);
  14302. const translucentHeader = parentHeader === null || parentHeader === void 0 ? void 0 : parentHeader.translucent;
  14303. if (!translucentHeader) {
  14304. enteringToolBarBg.fromTo(OPACITY, 0.01, 'var(--opacity)');
  14305. } else {
  14306. enteringToolBarBg.fromTo('transform', isRTL ? 'translateX(-100%)' : 'translateX(100%)', 'translateX(0px)');
  14307. } // forward direction, entering page has a back button
  14308. if (!forward) {
  14309. enteringBackButton.fromTo(OPACITY, 0.01, 1);
  14310. }
  14311. if (backButtonEl && !forward) {
  14312. const enteringBackBtnText = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
  14313. enteringBackBtnText.addElement(shadow(backButtonEl).querySelector('.button-text')) // REVIEW
  14314. .fromTo(`transform`, isRTL ? 'translateX(-100px)' : 'translateX(100px)', 'translateX(0px)');
  14315. enteringToolBar.addAnimation(enteringBackBtnText);
  14316. }
  14317. }
  14318. }); // setup leaving view
  14319. if (leavingEl) {
  14320. const leavingContent = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
  14321. const leavingContentEl = leavingEl.querySelector(':scope > ion-content');
  14322. const leavingToolBarEls = leavingEl.querySelectorAll(':scope > ion-header > ion-toolbar');
  14323. const leavingHeaderEls = leavingEl.querySelectorAll(':scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *');
  14324. if (!leavingContentEl && leavingToolBarEls.length === 0 && leavingHeaderEls.length === 0) {
  14325. leavingContent.addElement(leavingEl.querySelector(':scope > .ion-page, :scope > ion-nav, :scope > ion-tabs')); // REVIEW
  14326. } else {
  14327. leavingContent.addElement(leavingContentEl); // REVIEW
  14328. leavingContent.addElement(leavingHeaderEls);
  14329. }
  14330. rootAnimation.addAnimation(leavingContent);
  14331. if (backDirection) {
  14332. // leaving content, back direction
  14333. leavingContent.beforeClearStyles([OPACITY]).fromTo('transform', `translateX(${CENTER})`, isRTL ? 'translateX(-100%)' : 'translateX(100%)');
  14334. const leavingPage = (0,_index_e6cecce9_js__WEBPACK_IMPORTED_MODULE_1__.g)(leavingEl);
  14335. rootAnimation.afterAddWrite(() => {
  14336. if (rootAnimation.getDirection() === 'normal') {
  14337. leavingPage.style.setProperty('display', 'none');
  14338. }
  14339. });
  14340. } else {
  14341. // leaving content, forward direction
  14342. leavingContent.fromTo('transform', `translateX(${CENTER})`, `translateX(${OFF_LEFT})`).fromTo(OPACITY, 1, OFF_OPACITY);
  14343. }
  14344. if (leavingContentEl) {
  14345. const leavingTransitionEffectEl = shadow(leavingContentEl).querySelector('.transition-effect');
  14346. if (leavingTransitionEffectEl) {
  14347. const leavingTransitionCoverEl = leavingTransitionEffectEl.querySelector('.transition-cover');
  14348. const leavingTransitionShadowEl = leavingTransitionEffectEl.querySelector('.transition-shadow');
  14349. const leavingTransitionEffect = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
  14350. const leavingTransitionCover = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
  14351. const leavingTransitionShadow = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
  14352. leavingTransitionEffect.addElement(leavingTransitionEffectEl).beforeStyles({
  14353. opacity: '1',
  14354. display: 'block'
  14355. }).afterStyles({
  14356. opacity: '',
  14357. display: ''
  14358. });
  14359. leavingTransitionCover.addElement(leavingTransitionCoverEl) // REVIEW
  14360. .beforeClearStyles([OPACITY]).fromTo(OPACITY, 0.1, 0);
  14361. leavingTransitionShadow.addElement(leavingTransitionShadowEl) // REVIEW
  14362. .beforeClearStyles([OPACITY]).fromTo(OPACITY, 0.7, 0.03);
  14363. leavingTransitionEffect.addAnimation([leavingTransitionCover, leavingTransitionShadow]);
  14364. leavingContent.addAnimation([leavingTransitionEffect]);
  14365. }
  14366. }
  14367. leavingToolBarEls.forEach(leavingToolBarEl => {
  14368. const leavingToolBar = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
  14369. leavingToolBar.addElement(leavingToolBarEl);
  14370. const leavingTitle = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
  14371. leavingTitle.addElement(leavingToolBarEl.querySelector('ion-title')); // REVIEW
  14372. const leavingToolBarButtons = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
  14373. const buttons = leavingToolBarEl.querySelectorAll('ion-buttons,[menuToggle]');
  14374. const parentHeader = leavingToolBarEl.closest('ion-header');
  14375. const inactiveHeader = parentHeader === null || parentHeader === void 0 ? void 0 : parentHeader.classList.contains('header-collapse-condense-inactive');
  14376. const buttonsToAnimate = Array.from(buttons).filter(button => {
  14377. const isCollapseButton = button.classList.contains('buttons-collapse');
  14378. return isCollapseButton && !inactiveHeader || !isCollapseButton;
  14379. });
  14380. leavingToolBarButtons.addElement(buttonsToAnimate);
  14381. const leavingToolBarItems = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
  14382. const leavingToolBarItemEls = leavingToolBarEl.querySelectorAll(':scope > *:not(ion-title):not(ion-buttons):not([menuToggle])');
  14383. if (leavingToolBarItemEls.length > 0) {
  14384. leavingToolBarItems.addElement(leavingToolBarItemEls);
  14385. }
  14386. const leavingToolBarBg = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
  14387. leavingToolBarBg.addElement(shadow(leavingToolBarEl).querySelector('.toolbar-background')); // REVIEW
  14388. const leavingBackButton = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
  14389. const backButtonEl = leavingToolBarEl.querySelector('ion-back-button');
  14390. if (backButtonEl) {
  14391. leavingBackButton.addElement(backButtonEl);
  14392. }
  14393. leavingToolBar.addAnimation([leavingTitle, leavingToolBarButtons, leavingToolBarItems, leavingBackButton, leavingToolBarBg]);
  14394. rootAnimation.addAnimation(leavingToolBar); // fade out leaving toolbar items
  14395. leavingBackButton.fromTo(OPACITY, 0.99, 0);
  14396. leavingToolBarButtons.fromTo(OPACITY, 0.99, 0);
  14397. leavingToolBarItems.fromTo(OPACITY, 0.99, 0);
  14398. if (backDirection) {
  14399. if (!inactiveHeader) {
  14400. // leaving toolbar, back direction
  14401. leavingTitle.fromTo('transform', `translateX(${CENTER})`, isRTL ? 'translateX(-100%)' : 'translateX(100%)').fromTo(OPACITY, 0.99, 0);
  14402. }
  14403. leavingToolBarItems.fromTo('transform', `translateX(${CENTER})`, isRTL ? 'translateX(-100%)' : 'translateX(100%)');
  14404. leavingToolBarBg.beforeClearStyles([OPACITY, 'transform']); // leaving toolbar, back direction, and there's no entering toolbar
  14405. // should just slide out, no fading out
  14406. const translucentHeader = parentHeader === null || parentHeader === void 0 ? void 0 : parentHeader.translucent;
  14407. if (!translucentHeader) {
  14408. leavingToolBarBg.fromTo(OPACITY, 'var(--opacity)', 0);
  14409. } else {
  14410. leavingToolBarBg.fromTo('transform', 'translateX(0px)', isRTL ? 'translateX(-100%)' : 'translateX(100%)');
  14411. }
  14412. if (backButtonEl && !backward) {
  14413. const leavingBackBtnText = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
  14414. leavingBackBtnText.addElement(shadow(backButtonEl).querySelector('.button-text')) // REVIEW
  14415. .fromTo('transform', `translateX(${CENTER})`, `translateX(${(isRTL ? -124 : 124) + 'px'})`);
  14416. leavingToolBar.addAnimation(leavingBackBtnText);
  14417. }
  14418. } else {
  14419. // leaving toolbar, forward direction
  14420. if (!inactiveHeader) {
  14421. leavingTitle.fromTo('transform', `translateX(${CENTER})`, `translateX(${OFF_LEFT})`).fromTo(OPACITY, 0.99, 0).afterClearStyles([TRANSFORM, OPACITY]);
  14422. }
  14423. leavingToolBarItems.fromTo('transform', `translateX(${CENTER})`, `translateX(${OFF_LEFT})`).afterClearStyles([TRANSFORM, OPACITY]);
  14424. leavingBackButton.afterClearStyles([OPACITY]);
  14425. leavingTitle.afterClearStyles([OPACITY]);
  14426. leavingToolBarButtons.afterClearStyles([OPACITY]);
  14427. }
  14428. });
  14429. }
  14430. return rootAnimation;
  14431. } catch (err) {
  14432. throw err;
  14433. }
  14434. };
  14435. /***/ }),
  14436. /***/ 8652:
  14437. /*!*****************************************************!*\
  14438. !*** ./node_modules/@ionic/core/dist/esm/loader.js ***!
  14439. \*****************************************************/
  14440. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  14441. __webpack_require__.r(__webpack_exports__);
  14442. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  14443. /* harmony export */ "defineCustomElements": () => (/* binding */ defineCustomElements)
  14444. /* harmony export */ });
  14445. /* harmony import */ var _index_8e692445_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index-8e692445.js */ 1559);
  14446. /* harmony import */ var _app_globals_275fb4c9_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./app-globals-275fb4c9.js */ 6958);
  14447. /* harmony import */ var _ionic_global_c95cf239_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ionic-global-c95cf239.js */ 8607);
  14448. /*!
  14449. * (C) Ionic http://ionicframework.com - MIT License
  14450. */
  14451. /*
  14452. Stencil Client Patch Esm v2.18.0 | MIT Licensed | https://stenciljs.com
  14453. */
  14454. const patchEsm = () => {
  14455. return (0,_index_8e692445_js__WEBPACK_IMPORTED_MODULE_0__.p)();
  14456. };
  14457. const defineCustomElements = (win, options) => {
  14458. if (typeof window === 'undefined') return Promise.resolve();
  14459. return patchEsm().then(() => {
  14460. (0,_app_globals_275fb4c9_js__WEBPACK_IMPORTED_MODULE_1__.g)();
  14461. return (0,_index_8e692445_js__WEBPACK_IMPORTED_MODULE_0__.b)(JSON.parse("[[\"ion-menu_3\",[[33,\"ion-menu-button\",{\"color\":[513],\"disabled\":[4],\"menu\":[1],\"autoHide\":[4,\"auto-hide\"],\"type\":[1],\"visible\":[32]},[[16,\"ionMenuChange\",\"visibilityChanged\"],[16,\"ionSplitPaneVisible\",\"visibilityChanged\"]]],[33,\"ion-menu\",{\"contentId\":[513,\"content-id\"],\"menuId\":[513,\"menu-id\"],\"type\":[1025],\"disabled\":[1028],\"side\":[513],\"swipeGesture\":[4,\"swipe-gesture\"],\"maxEdgeStart\":[2,\"max-edge-start\"],\"isPaneVisible\":[32],\"isEndSide\":[32],\"isOpen\":[64],\"isActive\":[64],\"open\":[64],\"close\":[64],\"toggle\":[64],\"setOpen\":[64]},[[16,\"ionSplitPaneVisible\",\"onSplitPaneChanged\"],[2,\"click\",\"onBackdropClick\"],[0,\"keydown\",\"onKeydown\"]]],[1,\"ion-menu-toggle\",{\"menu\":[1],\"autoHide\":[4,\"auto-hide\"],\"visible\":[32]},[[16,\"ionMenuChange\",\"visibilityChanged\"],[16,\"ionSplitPaneVisible\",\"visibilityChanged\"]]]]],[\"ion-fab_3\",[[33,\"ion-fab-button\",{\"color\":[513],\"activated\":[4],\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"target\":[1],\"show\":[4],\"translucent\":[4],\"type\":[1],\"size\":[1],\"closeIcon\":[1,\"close-icon\"]}],[1,\"ion-fab\",{\"horizontal\":[1],\"vertical\":[1],\"edge\":[4],\"activated\":[1028],\"close\":[64],\"toggle\":[64]}],[1,\"ion-fab-list\",{\"activated\":[4],\"side\":[1]}]]],[\"ion-refresher_2\",[[0,\"ion-refresher-content\",{\"pullingIcon\":[1025,\"pulling-icon\"],\"pullingText\":[1,\"pulling-text\"],\"refreshingSpinner\":[1025,\"refreshing-spinner\"],\"refreshingText\":[1,\"refreshing-text\"]}],[32,\"ion-refresher\",{\"pullMin\":[2,\"pull-min\"],\"pullMax\":[2,\"pull-max\"],\"closeDuration\":[1,\"close-duration\"],\"snapbackDuration\":[1,\"snapback-duration\"],\"pullFactor\":[2,\"pull-factor\"],\"disabled\":[4],\"nativeRefresher\":[32],\"state\":[32],\"complete\":[64],\"cancel\":[64],\"getProgress\":[64]}]]],[\"ion-back-button\",[[33,\"ion-back-button\",{\"color\":[513],\"defaultHref\":[1025,\"default-href\"],\"disabled\":[516],\"icon\":[1],\"text\":[1],\"type\":[1],\"routerAnimation\":[16]}]]],[\"ion-toast\",[[33,\"ion-toast\",{\"overlayIndex\":[2,\"overlay-index\"],\"color\":[513],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"cssClass\":[1,\"css-class\"],\"duration\":[2],\"header\":[1],\"message\":[1],\"keyboardClose\":[4,\"keyboard-close\"],\"position\":[1],\"buttons\":[16],\"translucent\":[4],\"animated\":[4],\"icon\":[1],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-card_5\",[[33,\"ion-card\",{\"color\":[513],\"button\":[4],\"type\":[1],\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"target\":[1]}],[32,\"ion-card-content\"],[33,\"ion-card-header\",{\"color\":[513],\"translucent\":[4]}],[33,\"ion-card-subtitle\",{\"color\":[513]}],[33,\"ion-card-title\",{\"color\":[513]}]]],[\"ion-item-option_3\",[[33,\"ion-item-option\",{\"color\":[513],\"disabled\":[4],\"download\":[1],\"expandable\":[4],\"href\":[1],\"rel\":[1],\"target\":[1],\"type\":[1]}],[32,\"ion-item-options\",{\"side\":[1],\"fireSwipeEvent\":[64]}],[0,\"ion-item-sliding\",{\"disabled\":[4],\"state\":[32],\"getOpenAmount\":[64],\"getSlidingRatio\":[64],\"open\":[64],\"close\":[64],\"closeOpened\":[64]}]]],[\"ion-accordion_2\",[[49,\"ion-accordion\",{\"value\":[1],\"disabled\":[4],\"readonly\":[4],\"toggleIcon\":[1,\"toggle-icon\"],\"toggleIconSlot\":[1,\"toggle-icon-slot\"],\"state\":[32],\"isNext\":[32],\"isPrevious\":[32]}],[33,\"ion-accordion-group\",{\"animated\":[4],\"multiple\":[4],\"value\":[1025],\"disabled\":[4],\"readonly\":[4],\"expand\":[1],\"requestAccordionToggle\":[64],\"getAccordions\":[64]},[[0,\"keydown\",\"onKeydown\"]]]]],[\"ion-breadcrumb_2\",[[33,\"ion-breadcrumb\",{\"collapsed\":[4],\"last\":[4],\"showCollapsedIndicator\":[4,\"show-collapsed-indicator\"],\"color\":[1],\"active\":[4],\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"separator\":[4],\"target\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16]}],[33,\"ion-breadcrumbs\",{\"color\":[1],\"maxItems\":[2,\"max-items\"],\"itemsBeforeCollapse\":[2,\"items-before-collapse\"],\"itemsAfterCollapse\":[2,\"items-after-collapse\"],\"collapsed\":[32],\"activeChanged\":[32]},[[0,\"collapsedClick\",\"onCollapsedClick\"]]]]],[\"ion-infinite-scroll_2\",[[32,\"ion-infinite-scroll-content\",{\"loadingSpinner\":[1025,\"loading-spinner\"],\"loadingText\":[1,\"loading-text\"]}],[0,\"ion-infinite-scroll\",{\"threshold\":[1],\"disabled\":[4],\"position\":[1],\"isLoading\":[32],\"complete\":[64]}]]],[\"ion-reorder_2\",[[33,\"ion-reorder\",null,[[2,\"click\",\"onClick\"]]],[0,\"ion-reorder-group\",{\"disabled\":[4],\"state\":[32],\"complete\":[64]}]]],[\"ion-segment_2\",[[33,\"ion-segment-button\",{\"disabled\":[4],\"layout\":[1],\"type\":[1],\"value\":[1],\"checked\":[32]}],[33,\"ion-segment\",{\"color\":[513],\"disabled\":[4],\"scrollable\":[4],\"swipeGesture\":[4,\"swipe-gesture\"],\"value\":[1025],\"selectOnFocus\":[4,\"select-on-focus\"],\"activated\":[32]},[[0,\"keydown\",\"onKeyDown\"]]]]],[\"ion-tab-bar_2\",[[33,\"ion-tab-button\",{\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"layout\":[1025],\"selected\":[1028],\"tab\":[1],\"target\":[1]},[[8,\"ionTabBarChanged\",\"onTabBarChanged\"]]],[33,\"ion-tab-bar\",{\"color\":[513],\"selectedTab\":[1,\"selected-tab\"],\"translucent\":[4],\"keyboardVisible\":[32]}]]],[\"ion-chip\",[[1,\"ion-chip\",{\"color\":[513],\"outline\":[4],\"disabled\":[4]}]]],[\"ion-datetime-button\",[[33,\"ion-datetime-button\",{\"color\":[513],\"disabled\":[516],\"datetime\":[1],\"datetimePresentation\":[32],\"dateText\":[32],\"timeText\":[32],\"datetimeActive\":[32],\"selectedButton\":[32]}]]],[\"ion-searchbar\",[[34,\"ion-searchbar\",{\"color\":[513],\"animated\":[4],\"autocomplete\":[1],\"autocorrect\":[1],\"cancelButtonIcon\":[1,\"cancel-button-icon\"],\"cancelButtonText\":[1,\"cancel-button-text\"],\"clearIcon\":[1,\"clear-icon\"],\"debounce\":[2],\"disabled\":[4],\"inputmode\":[1],\"enterkeyhint\":[1],\"placeholder\":[1],\"searchIcon\":[1,\"search-icon\"],\"showCancelButton\":[1,\"show-cancel-button\"],\"showClearButton\":[1,\"show-clear-button\"],\"spellcheck\":[4],\"type\":[1],\"value\":[1025],\"focused\":[32],\"noAnimate\":[32],\"setFocus\":[64],\"getInputElement\":[64]}]]],[\"ion-toggle\",[[33,\"ion-toggle\",{\"color\":[513],\"name\":[1],\"checked\":[1028],\"disabled\":[4],\"value\":[1],\"enableOnOffLabels\":[4,\"enable-on-off-labels\"],\"activated\":[32]}]]],[\"ion-nav_2\",[[1,\"ion-nav\",{\"delegate\":[16],\"swipeGesture\":[1028,\"swipe-gesture\"],\"animated\":[4],\"animation\":[16],\"rootParams\":[16],\"root\":[1],\"push\":[64],\"insert\":[64],\"insertPages\":[64],\"pop\":[64],\"popTo\":[64],\"popToRoot\":[64],\"removeIndex\":[64],\"setRoot\":[64],\"setPages\":[64],\"setRouteId\":[64],\"getRouteId\":[64],\"getActive\":[64],\"getByIndex\":[64],\"canGoBack\":[64],\"getPrevious\":[64]}],[0,\"ion-nav-link\",{\"component\":[1],\"componentProps\":[16],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16]}]]],[\"ion-input\",[[34,\"ion-input\",{\"fireFocusEvents\":[4,\"fire-focus-events\"],\"color\":[513],\"accept\":[1],\"autocapitalize\":[1],\"autocomplete\":[1],\"autocorrect\":[1],\"autofocus\":[4],\"clearInput\":[4,\"clear-input\"],\"clearOnEdit\":[4,\"clear-on-edit\"],\"debounce\":[2],\"disabled\":[4],\"enterkeyhint\":[1],\"inputmode\":[1],\"max\":[8],\"maxlength\":[2],\"min\":[8],\"minlength\":[2],\"multiple\":[4],\"name\":[1],\"pattern\":[1],\"placeholder\":[1],\"readonly\":[4],\"required\":[4],\"spellcheck\":[4],\"step\":[1],\"size\":[2],\"type\":[1],\"value\":[1032],\"hasFocus\":[32],\"setFocus\":[64],\"setBlur\":[64],\"getInputElement\":[64]}]]],[\"ion-textarea\",[[34,\"ion-textarea\",{\"fireFocusEvents\":[4,\"fire-focus-events\"],\"color\":[513],\"autocapitalize\":[1],\"autofocus\":[4],\"clearOnEdit\":[1028,\"clear-on-edit\"],\"debounce\":[2],\"disabled\":[4],\"inputmode\":[1],\"enterkeyhint\":[1],\"maxlength\":[2],\"minlength\":[2],\"name\":[1],\"placeholder\":[1],\"readonly\":[4],\"required\":[4],\"spellcheck\":[4],\"cols\":[2],\"rows\":[2],\"wrap\":[1],\"autoGrow\":[516,\"auto-grow\"],\"value\":[1025],\"hasFocus\":[32],\"setFocus\":[64],\"setBlur\":[64],\"getInputElement\":[64]}]]],[\"ion-backdrop\",[[33,\"ion-backdrop\",{\"visible\":[4],\"tappable\":[4],\"stopPropagation\":[4,\"stop-propagation\"]},[[2,\"click\",\"onMouseDown\"]]]]],[\"ion-loading\",[[34,\"ion-loading\",{\"overlayIndex\":[2,\"overlay-index\"],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"message\":[1],\"cssClass\":[1,\"css-class\"],\"duration\":[2],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"showBackdrop\":[4,\"show-backdrop\"],\"spinner\":[1025],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-modal\",[[33,\"ion-modal\",{\"hasController\":[4,\"has-controller\"],\"overlayIndex\":[2,\"overlay-index\"],\"delegate\":[16],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"breakpoints\":[16],\"initialBreakpoint\":[2,\"initial-breakpoint\"],\"backdropBreakpoint\":[2,\"backdrop-breakpoint\"],\"handle\":[4],\"handleBehavior\":[1,\"handle-behavior\"],\"component\":[1],\"componentProps\":[16],\"cssClass\":[1,\"css-class\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"showBackdrop\":[4,\"show-backdrop\"],\"animated\":[4],\"swipeToClose\":[4,\"swipe-to-close\"],\"presentingElement\":[16],\"htmlAttributes\":[16],\"isOpen\":[4,\"is-open\"],\"trigger\":[1],\"keepContentsMounted\":[4,\"keep-contents-mounted\"],\"canDismiss\":[4,\"can-dismiss\"],\"presented\":[32],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64],\"setCurrentBreakpoint\":[64],\"getCurrentBreakpoint\":[64]}]]],[\"ion-route_4\",[[0,\"ion-route\",{\"url\":[1],\"component\":[1],\"componentProps\":[16],\"beforeLeave\":[16],\"beforeEnter\":[16]}],[0,\"ion-route-redirect\",{\"from\":[1],\"to\":[1]}],[0,\"ion-router\",{\"root\":[1],\"useHash\":[4,\"use-hash\"],\"canTransition\":[64],\"push\":[64],\"back\":[64],\"printDebug\":[64],\"navChanged\":[64]},[[8,\"popstate\",\"onPopState\"],[4,\"ionBackButton\",\"onBackButton\"]]],[1,\"ion-router-link\",{\"color\":[513],\"href\":[1],\"rel\":[1],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"target\":[1]}]]],[\"ion-avatar_3\",[[33,\"ion-avatar\"],[33,\"ion-badge\",{\"color\":[513]}],[1,\"ion-thumbnail\"]]],[\"ion-col_3\",[[1,\"ion-col\",{\"offset\":[1],\"offsetXs\":[1,\"offset-xs\"],\"offsetSm\":[1,\"offset-sm\"],\"offsetMd\":[1,\"offset-md\"],\"offsetLg\":[1,\"offset-lg\"],\"offsetXl\":[1,\"offset-xl\"],\"pull\":[1],\"pullXs\":[1,\"pull-xs\"],\"pullSm\":[1,\"pull-sm\"],\"pullMd\":[1,\"pull-md\"],\"pullLg\":[1,\"pull-lg\"],\"pullXl\":[1,\"pull-xl\"],\"push\":[1],\"pushXs\":[1,\"push-xs\"],\"pushSm\":[1,\"push-sm\"],\"pushMd\":[1,\"push-md\"],\"pushLg\":[1,\"push-lg\"],\"pushXl\":[1,\"push-xl\"],\"size\":[1],\"sizeXs\":[1,\"size-xs\"],\"sizeSm\":[1,\"size-sm\"],\"sizeMd\":[1,\"size-md\"],\"sizeLg\":[1,\"size-lg\"],\"sizeXl\":[1,\"size-xl\"]},[[9,\"resize\",\"onResize\"]]],[1,\"ion-grid\",{\"fixed\":[4]}],[1,\"ion-row\"]]],[\"ion-slide_2\",[[0,\"ion-slide\"],[36,\"ion-slides\",{\"options\":[8],\"pager\":[4],\"scrollbar\":[4],\"update\":[64],\"updateAutoHeight\":[64],\"slideTo\":[64],\"slideNext\":[64],\"slidePrev\":[64],\"getActiveIndex\":[64],\"getPreviousIndex\":[64],\"length\":[64],\"isEnd\":[64],\"isBeginning\":[64],\"startAutoplay\":[64],\"stopAutoplay\":[64],\"lockSwipeToNext\":[64],\"lockSwipeToPrev\":[64],\"lockSwipes\":[64],\"getSwiper\":[64]}]]],[\"ion-tab_2\",[[1,\"ion-tab\",{\"active\":[1028],\"delegate\":[16],\"tab\":[1],\"component\":[1],\"setActive\":[64]}],[1,\"ion-tabs\",{\"useRouter\":[1028,\"use-router\"],\"selectedTab\":[32],\"select\":[64],\"getTab\":[64],\"getSelected\":[64],\"setRouteId\":[64],\"getRouteId\":[64]}]]],[\"ion-img\",[[1,\"ion-img\",{\"alt\":[1],\"src\":[1],\"loadSrc\":[32],\"loadError\":[32]}]]],[\"ion-progress-bar\",[[33,\"ion-progress-bar\",{\"type\":[1],\"reversed\":[4],\"value\":[2],\"buffer\":[2],\"color\":[513]}]]],[\"ion-range\",[[33,\"ion-range\",{\"color\":[513],\"debounce\":[2],\"name\":[1],\"dualKnobs\":[4,\"dual-knobs\"],\"min\":[2],\"max\":[2],\"pin\":[4],\"pinFormatter\":[16],\"snaps\":[4],\"step\":[2],\"ticks\":[4],\"activeBarStart\":[1026,\"active-bar-start\"],\"disabled\":[4],\"value\":[1026],\"ratioA\":[32],\"ratioB\":[32],\"pressedKnob\":[32]}]]],[\"ion-split-pane\",[[33,\"ion-split-pane\",{\"contentId\":[513,\"content-id\"],\"disabled\":[4],\"when\":[8],\"visible\":[32]}]]],[\"ion-text\",[[1,\"ion-text\",{\"color\":[513]}]]],[\"ion-virtual-scroll\",[[0,\"ion-virtual-scroll\",{\"approxItemHeight\":[2,\"approx-item-height\"],\"approxHeaderHeight\":[2,\"approx-header-height\"],\"approxFooterHeight\":[2,\"approx-footer-height\"],\"headerFn\":[16],\"footerFn\":[16],\"items\":[16],\"itemHeight\":[16],\"headerHeight\":[16],\"footerHeight\":[16],\"renderItem\":[16],\"renderHeader\":[16],\"renderFooter\":[16],\"nodeRender\":[16],\"domRender\":[16],\"totalHeight\":[32],\"positionForItem\":[64],\"checkRange\":[64],\"checkEnd\":[64]},[[9,\"resize\",\"onResize\"]]]]],[\"ion-picker-column-internal\",[[33,\"ion-picker-column-internal\",{\"items\":[16],\"value\":[1032],\"color\":[513],\"numericInput\":[4,\"numeric-input\"],\"isActive\":[32],\"scrollActiveItemIntoView\":[64],\"setValue\":[64]}]]],[\"ion-picker-internal\",[[33,\"ion-picker-internal\",null,[[1,\"touchstart\",\"preventTouchStartPropagation\"]]]]],[\"ion-radio_2\",[[33,\"ion-radio\",{\"color\":[513],\"name\":[1],\"disabled\":[4],\"value\":[8],\"checked\":[32],\"buttonTabindex\":[32],\"setFocus\":[64],\"setButtonTabindex\":[64]}],[0,\"ion-radio-group\",{\"allowEmptySelection\":[4,\"allow-empty-selection\"],\"name\":[1],\"value\":[1032]},[[4,\"keydown\",\"onKeydown\"]]]]],[\"ion-ripple-effect\",[[1,\"ion-ripple-effect\",{\"type\":[1],\"addRipple\":[64]}]]],[\"ion-button_2\",[[33,\"ion-button\",{\"color\":[513],\"buttonType\":[1025,\"button-type\"],\"disabled\":[516],\"expand\":[513],\"fill\":[1537],\"routerDirection\":[1,\"router-direction\"],\"routerAnimation\":[16],\"download\":[1],\"href\":[1],\"rel\":[1],\"shape\":[513],\"size\":[513],\"strong\":[4],\"target\":[1],\"type\":[1],\"form\":[1]}],[1,\"ion-icon\",{\"mode\":[1025],\"color\":[1],\"ios\":[1],\"md\":[1],\"flipRtl\":[4,\"flip-rtl\"],\"name\":[513],\"src\":[1],\"icon\":[8],\"size\":[1],\"lazy\":[4],\"sanitize\":[4],\"svgContent\":[32],\"isVisible\":[32],\"ariaLabel\":[32]}]]],[\"ion-datetime_3\",[[33,\"ion-datetime\",{\"color\":[1],\"name\":[1],\"disabled\":[4],\"readonly\":[4],\"isDateEnabled\":[16],\"min\":[1025],\"max\":[1025],\"presentation\":[1],\"cancelText\":[1,\"cancel-text\"],\"doneText\":[1,\"done-text\"],\"clearText\":[1,\"clear-text\"],\"yearValues\":[8,\"year-values\"],\"monthValues\":[8,\"month-values\"],\"dayValues\":[8,\"day-values\"],\"hourValues\":[8,\"hour-values\"],\"minuteValues\":[8,\"minute-values\"],\"locale\":[1],\"firstDayOfWeek\":[2,\"first-day-of-week\"],\"titleSelectedDatesFormatter\":[16],\"multiple\":[4],\"value\":[1025],\"showDefaultTitle\":[4,\"show-default-title\"],\"showDefaultButtons\":[4,\"show-default-buttons\"],\"showClearButton\":[4,\"show-clear-button\"],\"showDefaultTimeLabel\":[4,\"show-default-time-label\"],\"hourCycle\":[1,\"hour-cycle\"],\"size\":[1],\"preferWheel\":[4,\"prefer-wheel\"],\"showMonthAndYear\":[32],\"activeParts\":[32],\"workingParts\":[32],\"isPresented\":[32],\"isTimePopoverOpen\":[32],\"confirm\":[64],\"reset\":[64],\"cancel\":[64]}],[34,\"ion-picker\",{\"overlayIndex\":[2,\"overlay-index\"],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"buttons\":[16],\"columns\":[16],\"cssClass\":[1,\"css-class\"],\"duration\":[2],\"showBackdrop\":[4,\"show-backdrop\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"animated\":[4],\"htmlAttributes\":[16],\"presented\":[32],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64],\"getColumn\":[64]}],[32,\"ion-picker-column\",{\"col\":[16]}]]],[\"ion-action-sheet\",[[34,\"ion-action-sheet\",{\"overlayIndex\":[2,\"overlay-index\"],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"buttons\":[16],\"cssClass\":[1,\"css-class\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"header\":[1],\"subHeader\":[1,\"sub-header\"],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-alert\",[[34,\"ion-alert\",{\"overlayIndex\":[2,\"overlay-index\"],\"keyboardClose\":[4,\"keyboard-close\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"cssClass\":[1,\"css-class\"],\"header\":[1],\"subHeader\":[1,\"sub-header\"],\"message\":[1],\"buttons\":[16],\"inputs\":[1040],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"present\":[64],\"dismiss\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]},[[4,\"keydown\",\"onKeydown\"]]]]],[\"ion-popover\",[[33,\"ion-popover\",{\"hasController\":[4,\"has-controller\"],\"delegate\":[16],\"overlayIndex\":[2,\"overlay-index\"],\"enterAnimation\":[16],\"leaveAnimation\":[16],\"component\":[1],\"componentProps\":[16],\"keyboardClose\":[4,\"keyboard-close\"],\"cssClass\":[1,\"css-class\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"event\":[8],\"showBackdrop\":[4,\"show-backdrop\"],\"translucent\":[4],\"animated\":[4],\"htmlAttributes\":[16],\"triggerAction\":[1,\"trigger-action\"],\"trigger\":[1],\"size\":[1],\"dismissOnSelect\":[4,\"dismiss-on-select\"],\"reference\":[1],\"side\":[1],\"alignment\":[1025],\"arrow\":[4],\"isOpen\":[4,\"is-open\"],\"keyboardEvents\":[4,\"keyboard-events\"],\"keepContentsMounted\":[4,\"keep-contents-mounted\"],\"presented\":[32],\"presentFromTrigger\":[64],\"present\":[64],\"dismiss\":[64],\"getParentPopover\":[64],\"onDidDismiss\":[64],\"onWillDismiss\":[64]}]]],[\"ion-checkbox\",[[33,\"ion-checkbox\",{\"color\":[513],\"name\":[1],\"checked\":[1028],\"indeterminate\":[1028],\"disabled\":[4],\"value\":[8]}]]],[\"ion-select_3\",[[33,\"ion-select\",{\"disabled\":[4],\"cancelText\":[1,\"cancel-text\"],\"okText\":[1,\"ok-text\"],\"placeholder\":[1],\"name\":[1],\"selectedText\":[1,\"selected-text\"],\"multiple\":[4],\"interface\":[1],\"interfaceOptions\":[8,\"interface-options\"],\"compareWith\":[1,\"compare-with\"],\"value\":[1032],\"isExpanded\":[32],\"open\":[64]}],[1,\"ion-select-option\",{\"disabled\":[4],\"value\":[8]}],[34,\"ion-select-popover\",{\"header\":[1],\"subHeader\":[1,\"sub-header\"],\"message\":[1],\"multiple\":[4],\"options\":[16]},[[0,\"ionChange\",\"onSelect\"]]]]],[\"ion-app_8\",[[0,\"ion-app\",{\"setFocus\":[64]}],[1,\"ion-content\",{\"color\":[513],\"fullscreen\":[4],\"forceOverscroll\":[1028,\"force-overscroll\"],\"scrollX\":[4,\"scroll-x\"],\"scrollY\":[4,\"scroll-y\"],\"scrollEvents\":[4,\"scroll-events\"],\"getScrollElement\":[64],\"getBackgroundElement\":[64],\"scrollToTop\":[64],\"scrollToBottom\":[64],\"scrollByPoint\":[64],\"scrollToPoint\":[64]},[[8,\"appload\",\"onAppLoad\"]]],[36,\"ion-footer\",{\"collapse\":[1],\"translucent\":[4],\"keyboardVisible\":[32]}],[36,\"ion-header\",{\"collapse\":[1],\"translucent\":[4]}],[1,\"ion-router-outlet\",{\"mode\":[1025],\"delegate\":[16],\"animated\":[4],\"animation\":[16],\"swipeHandler\":[16],\"commit\":[64],\"setRouteId\":[64],\"getRouteId\":[64]}],[33,\"ion-title\",{\"color\":[513],\"size\":[1]}],[33,\"ion-toolbar\",{\"color\":[513]},[[0,\"ionStyle\",\"childrenStyle\"]]],[34,\"ion-buttons\",{\"collapse\":[4]}]]],[\"ion-spinner\",[[1,\"ion-spinner\",{\"color\":[513],\"duration\":[2],\"name\":[1],\"paused\":[4]}]]],[\"ion-item_8\",[[33,\"ion-item-divider\",{\"color\":[513],\"sticky\":[4]}],[32,\"ion-item-group\"],[1,\"ion-skeleton-text\",{\"animated\":[4]}],[32,\"ion-list\",{\"lines\":[1],\"inset\":[4],\"closeSlidingItems\":[64]}],[33,\"ion-list-header\",{\"color\":[513],\"lines\":[1]}],[49,\"ion-item\",{\"color\":[513],\"button\":[4],\"detail\":[4],\"detailIcon\":[1,\"detail-icon\"],\"disabled\":[4],\"download\":[1],\"fill\":[1],\"shape\":[1],\"href\":[1],\"rel\":[1],\"lines\":[1],\"counter\":[4],\"routerAnimation\":[16],\"routerDirection\":[1,\"router-direction\"],\"target\":[1],\"type\":[1],\"counterFormatter\":[16],\"multipleInputs\":[32],\"focusable\":[32],\"counterString\":[32]},[[0,\"ionChange\",\"handleIonChange\"],[0,\"ionColor\",\"labelColorChanged\"],[0,\"ionStyle\",\"itemStyle\"]]],[34,\"ion-label\",{\"color\":[513],\"position\":[1],\"noAnimate\":[32]}],[33,\"ion-note\",{\"color\":[513]}]]]]"), options);
  14462. });
  14463. };
  14464. /***/ }),
  14465. /***/ 4844:
  14466. /*!*********************************************************************!*\
  14467. !*** ./node_modules/@ionic/core/dist/esm/md.transition-3924e170.js ***!
  14468. \*********************************************************************/
  14469. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  14470. __webpack_require__.r(__webpack_exports__);
  14471. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  14472. /* harmony export */ "mdTransitionAnimation": () => (/* binding */ mdTransitionAnimation)
  14473. /* harmony export */ });
  14474. /* harmony import */ var _animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./animation-2c50d24d.js */ 631);
  14475. /* harmony import */ var _index_e6cecce9_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index-e6cecce9.js */ 9287);
  14476. /* harmony import */ var _helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./helpers-3b390e48.js */ 9234);
  14477. /* harmony import */ var _index_33ffec25_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./index-33ffec25.js */ 2286);
  14478. /* harmony import */ var _index_8e692445_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./index-8e692445.js */ 1559);
  14479. /*!
  14480. * (C) Ionic http://ionicframework.com - MIT License
  14481. */
  14482. const mdTransitionAnimation = (_, opts) => {
  14483. var _a, _b, _c;
  14484. const OFF_BOTTOM = '40px';
  14485. const CENTER = '0px';
  14486. const backDirection = opts.direction === 'back';
  14487. const enteringEl = opts.enteringEl;
  14488. const leavingEl = opts.leavingEl;
  14489. const ionPageElement = (0,_index_e6cecce9_js__WEBPACK_IMPORTED_MODULE_1__.g)(enteringEl);
  14490. const enteringToolbarEle = ionPageElement.querySelector('ion-toolbar');
  14491. const rootTransition = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
  14492. rootTransition.addElement(ionPageElement).fill('both').beforeRemoveClass('ion-page-invisible'); // animate the component itself
  14493. if (backDirection) {
  14494. rootTransition.duration(((_a = opts.duration) !== null && _a !== void 0 ? _a : 0) || 200).easing('cubic-bezier(0.47,0,0.745,0.715)');
  14495. } else {
  14496. rootTransition.duration(((_b = opts.duration) !== null && _b !== void 0 ? _b : 0) || 280).easing('cubic-bezier(0.36,0.66,0.04,1)').fromTo('transform', `translateY(${OFF_BOTTOM})`, `translateY(${CENTER})`).fromTo('opacity', 0.01, 1);
  14497. } // Animate toolbar if it's there
  14498. if (enteringToolbarEle) {
  14499. const enteringToolBar = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
  14500. enteringToolBar.addElement(enteringToolbarEle);
  14501. rootTransition.addAnimation(enteringToolBar);
  14502. } // setup leaving view
  14503. if (leavingEl && backDirection) {
  14504. // leaving content
  14505. rootTransition.duration(((_c = opts.duration) !== null && _c !== void 0 ? _c : 0) || 200).easing('cubic-bezier(0.47,0,0.745,0.715)');
  14506. const leavingPage = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
  14507. leavingPage.addElement((0,_index_e6cecce9_js__WEBPACK_IMPORTED_MODULE_1__.g)(leavingEl)).onFinish(currentStep => {
  14508. if (currentStep === 1 && leavingPage.elements.length > 0) {
  14509. leavingPage.elements[0].style.setProperty('display', 'none');
  14510. }
  14511. }).fromTo('transform', `translateY(${CENTER})`, `translateY(${OFF_BOTTOM})`).fromTo('opacity', 1, 0);
  14512. rootTransition.addAnimation(leavingPage);
  14513. }
  14514. return rootTransition;
  14515. };
  14516. /***/ }),
  14517. /***/ 2752:
  14518. /*!****************************************************************!*\
  14519. !*** ./node_modules/@ionic/core/dist/esm/overlays-87c7c7cb.js ***!
  14520. \****************************************************************/
  14521. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  14522. __webpack_require__.r(__webpack_exports__);
  14523. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  14524. /* harmony export */ "B": () => (/* binding */ BACKDROP),
  14525. /* harmony export */ "a": () => (/* binding */ alertController),
  14526. /* harmony export */ "b": () => (/* binding */ actionSheetController),
  14527. /* harmony export */ "c": () => (/* binding */ popoverController),
  14528. /* harmony export */ "d": () => (/* binding */ present),
  14529. /* harmony export */ "e": () => (/* binding */ prepareOverlay),
  14530. /* harmony export */ "f": () => (/* binding */ dismiss),
  14531. /* harmony export */ "g": () => (/* binding */ eventMethod),
  14532. /* harmony export */ "h": () => (/* binding */ activeAnimations),
  14533. /* harmony export */ "i": () => (/* binding */ isCancel),
  14534. /* harmony export */ "j": () => (/* binding */ focusFirstDescendant),
  14535. /* harmony export */ "k": () => (/* binding */ getOverlay),
  14536. /* harmony export */ "l": () => (/* binding */ loadingController),
  14537. /* harmony export */ "m": () => (/* binding */ modalController),
  14538. /* harmony export */ "p": () => (/* binding */ pickerController),
  14539. /* harmony export */ "s": () => (/* binding */ safeCall),
  14540. /* harmony export */ "t": () => (/* binding */ toastController)
  14541. /* harmony export */ });
  14542. /* harmony import */ var _Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 1670);
  14543. /* harmony import */ var _ionic_global_c95cf239_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ionic-global-c95cf239.js */ 8607);
  14544. /* harmony import */ var _hardware_back_button_490df115_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./hardware-back-button-490df115.js */ 159);
  14545. /* harmony import */ var _helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./helpers-3b390e48.js */ 9234);
  14546. /*!
  14547. * (C) Ionic http://ionicframework.com - MIT License
  14548. */
  14549. let lastId = 0;
  14550. const activeAnimations = new WeakMap();
  14551. const createController = tagName => {
  14552. return {
  14553. create(options) {
  14554. return createOverlay(tagName, options);
  14555. },
  14556. dismiss(data, role, id) {
  14557. return dismissOverlay(document, data, role, tagName, id);
  14558. },
  14559. getTop() {
  14560. return (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () {
  14561. return getOverlay(document, tagName);
  14562. })();
  14563. }
  14564. };
  14565. };
  14566. const alertController = /*@__PURE__*/createController('ion-alert');
  14567. const actionSheetController = /*@__PURE__*/createController('ion-action-sheet');
  14568. const loadingController = /*@__PURE__*/createController('ion-loading');
  14569. const modalController = /*@__PURE__*/createController('ion-modal');
  14570. const pickerController = /*@__PURE__*/createController('ion-picker');
  14571. const popoverController = /*@__PURE__*/createController('ion-popover');
  14572. const toastController = /*@__PURE__*/createController('ion-toast');
  14573. const prepareOverlay = el => {
  14574. if (typeof document !== 'undefined') {
  14575. connectListeners(document);
  14576. }
  14577. const overlayIndex = lastId++;
  14578. el.overlayIndex = overlayIndex;
  14579. if (!el.hasAttribute('id')) {
  14580. el.id = `ion-overlay-${overlayIndex}`;
  14581. }
  14582. };
  14583. const createOverlay = (tagName, opts) => {
  14584. if (typeof window !== 'undefined' && typeof window.customElements !== 'undefined') {
  14585. return window.customElements.whenDefined(tagName).then(() => {
  14586. const element = document.createElement(tagName);
  14587. element.classList.add('overlay-hidden');
  14588. /**
  14589. * Convert the passed in overlay options into props
  14590. * that get passed down into the new overlay.
  14591. */
  14592. Object.assign(element, Object.assign(Object.assign({}, opts), {
  14593. hasController: true
  14594. })); // append the overlay element to the document body
  14595. getAppRoot(document).appendChild(element);
  14596. return new Promise(resolve => (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_3__.c)(element, resolve));
  14597. });
  14598. }
  14599. return Promise.resolve();
  14600. };
  14601. /**
  14602. * This query string selects elements that
  14603. * are eligible to receive focus. We select
  14604. * interactive elements that meet the following
  14605. * criteria:
  14606. * 1. Element does not have a negative tabindex
  14607. * 2. Element does not have `hidden`
  14608. * 3. Element does not have `disabled` for non-Ionic components.
  14609. * 4. Element does not have `disabled` or `disabled="true"` for Ionic components.
  14610. * Note: We need this distinction because `disabled="false"` is
  14611. * valid usage for the disabled property on ion-button.
  14612. */
  14613. const focusableQueryString = '[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])';
  14614. const focusFirstDescendant = (ref, overlay) => {
  14615. let firstInput = ref.querySelector(focusableQueryString);
  14616. const shadowRoot = firstInput === null || firstInput === void 0 ? void 0 : firstInput.shadowRoot;
  14617. if (shadowRoot) {
  14618. // If there are no inner focusable elements, just focus the host element.
  14619. firstInput = shadowRoot.querySelector(focusableQueryString) || firstInput;
  14620. }
  14621. if (firstInput) {
  14622. (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_3__.f)(firstInput);
  14623. } else {
  14624. // Focus overlay instead of letting focus escape
  14625. overlay.focus();
  14626. }
  14627. };
  14628. const isOverlayHidden = overlay => overlay.classList.contains('overlay-hidden');
  14629. const focusLastDescendant = (ref, overlay) => {
  14630. const inputs = Array.from(ref.querySelectorAll(focusableQueryString));
  14631. let lastInput = inputs.length > 0 ? inputs[inputs.length - 1] : null;
  14632. const shadowRoot = lastInput === null || lastInput === void 0 ? void 0 : lastInput.shadowRoot;
  14633. if (shadowRoot) {
  14634. // If there are no inner focusable elements, just focus the host element.
  14635. lastInput = shadowRoot.querySelector(focusableQueryString) || lastInput;
  14636. }
  14637. if (lastInput) {
  14638. lastInput.focus();
  14639. } else {
  14640. // Focus overlay instead of letting focus escape
  14641. overlay.focus();
  14642. }
  14643. };
  14644. /**
  14645. * Traps keyboard focus inside of overlay components.
  14646. * Based on https://w3c.github.io/aria-practices/examples/dialog-modal/alertdialog.html
  14647. * This includes the following components: Action Sheet, Alert, Loading, Modal,
  14648. * Picker, and Popover.
  14649. * Should NOT include: Toast
  14650. */
  14651. const trapKeyboardFocus = (ev, doc) => {
  14652. const lastOverlay = getOverlay(doc, 'ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover');
  14653. const target = ev.target;
  14654. /**
  14655. * If no active overlay, ignore this event.
  14656. *
  14657. * If this component uses the shadow dom,
  14658. * this global listener is pointless
  14659. * since it will not catch the focus
  14660. * traps as they are inside the shadow root.
  14661. * We need to add a listener to the shadow root
  14662. * itself to ensure the focus trap works.
  14663. */
  14664. if (!lastOverlay || !target) {
  14665. return;
  14666. }
  14667. /**
  14668. * If the ion-disable-focus-trap class
  14669. * is present on an overlay, then this component
  14670. * instance has opted out of focus trapping.
  14671. * An example of this is when the sheet modal
  14672. * has a backdrop that is disabled. The content
  14673. * behind the sheet should be focusable until
  14674. * the backdrop is enabled.
  14675. */
  14676. if (lastOverlay.classList.contains('ion-disable-focus-trap')) {
  14677. return;
  14678. }
  14679. const trapScopedFocus = () => {
  14680. /**
  14681. * If we are focusing the overlay, clear
  14682. * the last focused element so that hitting
  14683. * tab activates the first focusable element
  14684. * in the overlay wrapper.
  14685. */
  14686. if (lastOverlay === target) {
  14687. lastOverlay.lastFocus = undefined;
  14688. /**
  14689. * Otherwise, we must be focusing an element
  14690. * inside of the overlay. The two possible options
  14691. * here are an input/button/etc or the ion-focus-trap
  14692. * element. The focus trap element is used to prevent
  14693. * the keyboard focus from leaving the overlay when
  14694. * using Tab or screen assistants.
  14695. */
  14696. } else {
  14697. /**
  14698. * We do not want to focus the traps, so get the overlay
  14699. * wrapper element as the traps live outside of the wrapper.
  14700. */
  14701. const overlayRoot = (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_3__.g)(lastOverlay);
  14702. if (!overlayRoot.contains(target)) {
  14703. return;
  14704. }
  14705. const overlayWrapper = overlayRoot.querySelector('.ion-overlay-wrapper');
  14706. if (!overlayWrapper) {
  14707. return;
  14708. }
  14709. /**
  14710. * If the target is inside the wrapper, let the browser
  14711. * focus as normal and keep a log of the last focused element.
  14712. */
  14713. if (overlayWrapper.contains(target)) {
  14714. lastOverlay.lastFocus = target;
  14715. } else {
  14716. /**
  14717. * Otherwise, we must have focused one of the focus traps.
  14718. * We need to wrap the focus to either the first element
  14719. * or the last element.
  14720. */
  14721. /**
  14722. * Once we call `focusFirstDescendant` and focus the first
  14723. * descendant, another focus event will fire which will
  14724. * cause `lastOverlay.lastFocus` to be updated before
  14725. * we can run the code after that. We will cache the value
  14726. * here to avoid that.
  14727. */
  14728. const lastFocus = lastOverlay.lastFocus; // Focus the first element in the overlay wrapper
  14729. focusFirstDescendant(overlayWrapper, lastOverlay);
  14730. /**
  14731. * If the cached last focused element is the
  14732. * same as the active element, then we need
  14733. * to wrap focus to the last descendant. This happens
  14734. * when the first descendant is focused, and the user
  14735. * presses Shift + Tab. The previous line will focus
  14736. * the same descendant again (the first one), causing
  14737. * last focus to equal the active element.
  14738. */
  14739. if (lastFocus === doc.activeElement) {
  14740. focusLastDescendant(overlayWrapper, lastOverlay);
  14741. }
  14742. lastOverlay.lastFocus = doc.activeElement;
  14743. }
  14744. }
  14745. };
  14746. const trapShadowFocus = () => {
  14747. /**
  14748. * If the target is inside the wrapper, let the browser
  14749. * focus as normal and keep a log of the last focused element.
  14750. */
  14751. if (lastOverlay.contains(target)) {
  14752. lastOverlay.lastFocus = target;
  14753. } else {
  14754. /**
  14755. * Otherwise, we are about to have focus
  14756. * go out of the overlay. We need to wrap
  14757. * the focus to either the first element
  14758. * or the last element.
  14759. */
  14760. /**
  14761. * Once we call `focusFirstDescendant` and focus the first
  14762. * descendant, another focus event will fire which will
  14763. * cause `lastOverlay.lastFocus` to be updated before
  14764. * we can run the code after that. We will cache the value
  14765. * here to avoid that.
  14766. */
  14767. const lastFocus = lastOverlay.lastFocus; // Focus the first element in the overlay wrapper
  14768. focusFirstDescendant(lastOverlay, lastOverlay);
  14769. /**
  14770. * If the cached last focused element is the
  14771. * same as the active element, then we need
  14772. * to wrap focus to the last descendant. This happens
  14773. * when the first descendant is focused, and the user
  14774. * presses Shift + Tab. The previous line will focus
  14775. * the same descendant again (the first one), causing
  14776. * last focus to equal the active element.
  14777. */
  14778. if (lastFocus === doc.activeElement) {
  14779. focusLastDescendant(lastOverlay, lastOverlay);
  14780. }
  14781. lastOverlay.lastFocus = doc.activeElement;
  14782. }
  14783. };
  14784. if (lastOverlay.shadowRoot) {
  14785. trapShadowFocus();
  14786. } else {
  14787. trapScopedFocus();
  14788. }
  14789. };
  14790. const connectListeners = doc => {
  14791. if (lastId === 0) {
  14792. lastId = 1;
  14793. doc.addEventListener('focus', ev => {
  14794. trapKeyboardFocus(ev, doc);
  14795. }, true); // handle back-button click
  14796. doc.addEventListener('ionBackButton', ev => {
  14797. const lastOverlay = getOverlay(doc);
  14798. if (lastOverlay === null || lastOverlay === void 0 ? void 0 : lastOverlay.backdropDismiss) {
  14799. ev.detail.register(_hardware_back_button_490df115_js__WEBPACK_IMPORTED_MODULE_2__.OVERLAY_BACK_BUTTON_PRIORITY, () => {
  14800. return lastOverlay.dismiss(undefined, BACKDROP);
  14801. });
  14802. }
  14803. }); // handle ESC to close overlay
  14804. doc.addEventListener('keyup', ev => {
  14805. if (ev.key === 'Escape') {
  14806. const lastOverlay = getOverlay(doc);
  14807. if (lastOverlay === null || lastOverlay === void 0 ? void 0 : lastOverlay.backdropDismiss) {
  14808. lastOverlay.dismiss(undefined, BACKDROP);
  14809. }
  14810. }
  14811. });
  14812. }
  14813. };
  14814. const dismissOverlay = (doc, data, role, overlayTag, id) => {
  14815. const overlay = getOverlay(doc, overlayTag, id);
  14816. if (!overlay) {
  14817. return Promise.reject('overlay does not exist');
  14818. }
  14819. return overlay.dismiss(data, role);
  14820. };
  14821. const getOverlays = (doc, selector) => {
  14822. if (selector === undefined) {
  14823. selector = 'ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast';
  14824. }
  14825. return Array.from(doc.querySelectorAll(selector)).filter(c => c.overlayIndex > 0);
  14826. };
  14827. /**
  14828. * Returns an overlay element
  14829. * @param doc The document to find the element within.
  14830. * @param overlayTag The selector for the overlay, defaults to Ionic overlay components.
  14831. * @param id The unique identifier for the overlay instance.
  14832. * @returns The overlay element or `undefined` if no overlay element is found.
  14833. */
  14834. const getOverlay = (doc, overlayTag, id) => {
  14835. const overlays = getOverlays(doc, overlayTag).filter(o => !isOverlayHidden(o));
  14836. return id === undefined ? overlays[overlays.length - 1] : overlays.find(o => o.id === id);
  14837. };
  14838. /**
  14839. * When an overlay is presented, the main
  14840. * focus is the overlay not the page content.
  14841. * We need to remove the page content from the
  14842. * accessibility tree otherwise when
  14843. * users use "read screen from top" gestures with
  14844. * TalkBack and VoiceOver, the screen reader will begin
  14845. * to read the content underneath the overlay.
  14846. *
  14847. * We need a container where all page components
  14848. * exist that is separate from where the overlays
  14849. * are added in the DOM. For most apps, this element
  14850. * is the top most ion-router-outlet. In the event
  14851. * that devs are not using a router,
  14852. * they will need to add the "ion-view-container-root"
  14853. * id to the element that contains all of their views.
  14854. *
  14855. * TODO: If Framework supports having multiple top
  14856. * level router outlets we would need to update this.
  14857. * Example: One outlet for side menu and one outlet
  14858. * for main content.
  14859. */
  14860. const setRootAriaHidden = (hidden = false) => {
  14861. const root = getAppRoot(document);
  14862. const viewContainer = root.querySelector('ion-router-outlet, ion-nav, #ion-view-container-root');
  14863. if (!viewContainer) {
  14864. return;
  14865. }
  14866. if (hidden) {
  14867. viewContainer.setAttribute('aria-hidden', 'true');
  14868. } else {
  14869. viewContainer.removeAttribute('aria-hidden');
  14870. }
  14871. };
  14872. const present = /*#__PURE__*/function () {
  14873. var _ref = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (overlay, name, iosEnterAnimation, mdEnterAnimation, opts) {
  14874. var _a, _b;
  14875. if (overlay.presented) {
  14876. return;
  14877. }
  14878. setRootAriaHidden(true);
  14879. overlay.presented = true;
  14880. overlay.willPresent.emit();
  14881. (_a = overlay.willPresentShorthand) === null || _a === void 0 ? void 0 : _a.emit();
  14882. const mode = (0,_ionic_global_c95cf239_js__WEBPACK_IMPORTED_MODULE_1__.b)(overlay); // get the user's animation fn if one was provided
  14883. const animationBuilder = overlay.enterAnimation ? overlay.enterAnimation : _ionic_global_c95cf239_js__WEBPACK_IMPORTED_MODULE_1__.c.get(name, mode === 'ios' ? iosEnterAnimation : mdEnterAnimation);
  14884. const completed = yield overlayAnimation(overlay, animationBuilder, overlay.el, opts);
  14885. if (completed) {
  14886. overlay.didPresent.emit();
  14887. (_b = overlay.didPresentShorthand) === null || _b === void 0 ? void 0 : _b.emit();
  14888. }
  14889. /**
  14890. * When an overlay that steals focus
  14891. * is dismissed, focus should be returned
  14892. * to the element that was focused
  14893. * prior to the overlay opening. Toast
  14894. * does not steal focus and is excluded
  14895. * from returning focus as a result.
  14896. */
  14897. if (overlay.el.tagName !== 'ION-TOAST') {
  14898. focusPreviousElementOnDismiss(overlay.el);
  14899. }
  14900. /**
  14901. * If the focused element is already
  14902. * inside the overlay component then
  14903. * focus should not be moved from that
  14904. * to the overlay container.
  14905. */
  14906. if (overlay.keyboardClose && (document.activeElement === null || !overlay.el.contains(document.activeElement))) {
  14907. overlay.el.focus();
  14908. }
  14909. });
  14910. return function present(_x, _x2, _x3, _x4, _x5) {
  14911. return _ref.apply(this, arguments);
  14912. };
  14913. }();
  14914. /**
  14915. * When an overlay component is dismissed,
  14916. * focus should be returned to the element
  14917. * that presented the overlay. Otherwise
  14918. * focus will be set on the body which
  14919. * means that people using screen readers
  14920. * or tabbing will need to re-navigate
  14921. * to where they were before they
  14922. * opened the overlay.
  14923. */
  14924. const focusPreviousElementOnDismiss = /*#__PURE__*/function () {
  14925. var _ref2 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (overlayEl) {
  14926. let previousElement = document.activeElement;
  14927. if (!previousElement) {
  14928. return;
  14929. }
  14930. const shadowRoot = previousElement === null || previousElement === void 0 ? void 0 : previousElement.shadowRoot;
  14931. if (shadowRoot) {
  14932. // If there are no inner focusable elements, just focus the host element.
  14933. previousElement = shadowRoot.querySelector(focusableQueryString) || previousElement;
  14934. }
  14935. yield overlayEl.onDidDismiss();
  14936. previousElement.focus();
  14937. });
  14938. return function focusPreviousElementOnDismiss(_x6) {
  14939. return _ref2.apply(this, arguments);
  14940. };
  14941. }();
  14942. const dismiss = /*#__PURE__*/function () {
  14943. var _ref3 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (overlay, data, role, name, iosLeaveAnimation, mdLeaveAnimation, opts) {
  14944. var _a, _b;
  14945. if (!overlay.presented) {
  14946. return false;
  14947. }
  14948. setRootAriaHidden(false);
  14949. overlay.presented = false;
  14950. try {
  14951. // Overlay contents should not be clickable during dismiss
  14952. overlay.el.style.setProperty('pointer-events', 'none');
  14953. overlay.willDismiss.emit({
  14954. data,
  14955. role
  14956. });
  14957. (_a = overlay.willDismissShorthand) === null || _a === void 0 ? void 0 : _a.emit({
  14958. data,
  14959. role
  14960. });
  14961. const mode = (0,_ionic_global_c95cf239_js__WEBPACK_IMPORTED_MODULE_1__.b)(overlay);
  14962. const animationBuilder = overlay.leaveAnimation ? overlay.leaveAnimation : _ionic_global_c95cf239_js__WEBPACK_IMPORTED_MODULE_1__.c.get(name, mode === 'ios' ? iosLeaveAnimation : mdLeaveAnimation); // If dismissed via gesture, no need to play leaving animation again
  14963. if (role !== 'gesture') {
  14964. yield overlayAnimation(overlay, animationBuilder, overlay.el, opts);
  14965. }
  14966. overlay.didDismiss.emit({
  14967. data,
  14968. role
  14969. });
  14970. (_b = overlay.didDismissShorthand) === null || _b === void 0 ? void 0 : _b.emit({
  14971. data,
  14972. role
  14973. });
  14974. activeAnimations.delete(overlay);
  14975. /**
  14976. * Make overlay hidden again in case it is being reused.
  14977. * We can safely remove pointer-events: none as
  14978. * overlay-hidden will set display: none.
  14979. */
  14980. overlay.el.classList.add('overlay-hidden');
  14981. overlay.el.style.removeProperty('pointer-events');
  14982. } catch (err) {
  14983. console.error(err);
  14984. }
  14985. overlay.el.remove();
  14986. return true;
  14987. });
  14988. return function dismiss(_x7, _x8, _x9, _x10, _x11, _x12, _x13) {
  14989. return _ref3.apply(this, arguments);
  14990. };
  14991. }();
  14992. const getAppRoot = doc => {
  14993. return doc.querySelector('ion-app') || doc.body;
  14994. };
  14995. const overlayAnimation = /*#__PURE__*/function () {
  14996. var _ref4 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (overlay, animationBuilder, baseEl, opts) {
  14997. // Make overlay visible in case it's hidden
  14998. baseEl.classList.remove('overlay-hidden');
  14999. const aniRoot = overlay.el;
  15000. const animation = animationBuilder(aniRoot, opts);
  15001. if (!overlay.animated || !_ionic_global_c95cf239_js__WEBPACK_IMPORTED_MODULE_1__.c.getBoolean('animated', true)) {
  15002. animation.duration(0);
  15003. }
  15004. if (overlay.keyboardClose) {
  15005. animation.beforeAddWrite(() => {
  15006. const activeElement = baseEl.ownerDocument.activeElement;
  15007. if (activeElement === null || activeElement === void 0 ? void 0 : activeElement.matches('input,ion-input, ion-textarea')) {
  15008. activeElement.blur();
  15009. }
  15010. });
  15011. }
  15012. const activeAni = activeAnimations.get(overlay) || [];
  15013. activeAnimations.set(overlay, [...activeAni, animation]);
  15014. yield animation.play();
  15015. return true;
  15016. });
  15017. return function overlayAnimation(_x14, _x15, _x16, _x17) {
  15018. return _ref4.apply(this, arguments);
  15019. };
  15020. }();
  15021. const eventMethod = (element, eventName) => {
  15022. let resolve;
  15023. const promise = new Promise(r => resolve = r);
  15024. onceEvent(element, eventName, event => {
  15025. resolve(event.detail);
  15026. });
  15027. return promise;
  15028. };
  15029. const onceEvent = (element, eventName, callback) => {
  15030. const handler = ev => {
  15031. (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_3__.b)(element, eventName, handler);
  15032. callback(ev);
  15033. };
  15034. (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_3__.a)(element, eventName, handler);
  15035. };
  15036. const isCancel = role => {
  15037. return role === 'cancel' || role === BACKDROP;
  15038. };
  15039. const defaultGate = h => h();
  15040. /**
  15041. * Calls a developer provided method while avoiding
  15042. * Angular Zones. Since the handler is provided by
  15043. * the developer, we should throw any errors
  15044. * received so that developer-provided bug
  15045. * tracking software can log it.
  15046. */
  15047. const safeCall = (handler, arg) => {
  15048. if (typeof handler === 'function') {
  15049. const jmp = _ionic_global_c95cf239_js__WEBPACK_IMPORTED_MODULE_1__.c.get('_zoneGate', defaultGate);
  15050. return jmp(() => {
  15051. try {
  15052. return handler(arg);
  15053. } catch (e) {
  15054. throw e;
  15055. }
  15056. });
  15057. }
  15058. return undefined;
  15059. };
  15060. const BACKDROP = 'backdrop';
  15061. /***/ }),
  15062. /***/ 4449:
  15063. /*!**************************************************************!*\
  15064. !*** ./node_modules/@ionic/core/dist/esm/polyfills/index.js ***!
  15065. \**************************************************************/
  15066. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  15067. __webpack_require__.r(__webpack_exports__);
  15068. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  15069. /* harmony export */ "applyPolyfills": () => (/* binding */ applyPolyfills)
  15070. /* harmony export */ });
  15071. function applyPolyfills() {
  15072. var promises = [];
  15073. if (typeof window !== 'undefined') {
  15074. var win = window;
  15075. if (!win.customElements || win.Element && (!win.Element.prototype.closest || !win.Element.prototype.matches || !win.Element.prototype.remove || !win.Element.prototype.getRootNode)) {
  15076. promises.push(__webpack_require__.e(/*! import() | polyfills-dom */ "polyfills-dom").then(__webpack_require__.t.bind(__webpack_require__, /*! ./dom.js */ 3314, 23)));
  15077. }
  15078. var checkIfURLIsSupported = function () {
  15079. try {
  15080. var u = new URL('b', 'http://a');
  15081. u.pathname = 'c%20d';
  15082. return u.href === 'http://a/c%20d' && u.searchParams;
  15083. } catch (e) {
  15084. return false;
  15085. }
  15086. };
  15087. if ('function' !== typeof Object.assign || !Object.entries || !Array.prototype.find || !Array.prototype.includes || !String.prototype.startsWith || !String.prototype.endsWith || win.NodeList && !win.NodeList.prototype.forEach || !win.fetch || !checkIfURLIsSupported() || typeof WeakMap == 'undefined') {
  15088. promises.push(__webpack_require__.e(/*! import() | polyfills-core-js */ "polyfills-core-js").then(__webpack_require__.t.bind(__webpack_require__, /*! ./core-js.js */ 7320, 23)));
  15089. }
  15090. }
  15091. return Promise.all(promises);
  15092. }
  15093. /***/ }),
  15094. /***/ 3714:
  15095. /*!*********************************************************!*\
  15096. !*** ./node_modules/@ionic/core/loader/index.es2017.js ***!
  15097. \*********************************************************/
  15098. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  15099. __webpack_require__.r(__webpack_exports__);
  15100. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  15101. /* harmony export */ "applyPolyfills": () => (/* reexport safe */ _dist_esm_polyfills_index_js__WEBPACK_IMPORTED_MODULE_0__.applyPolyfills),
  15102. /* harmony export */ "defineCustomElements": () => (/* reexport safe */ _dist_esm_loader_js__WEBPACK_IMPORTED_MODULE_1__.defineCustomElements)
  15103. /* harmony export */ });
  15104. /* harmony import */ var _dist_esm_polyfills_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../dist/esm/polyfills/index.js */ 4449);
  15105. /* harmony import */ var _dist_esm_loader_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../dist/esm/loader.js */ 8652);
  15106. /*!
  15107. * (C) Ionic http://ionicframework.com - MIT License
  15108. */
  15109. /***/ }),
  15110. /***/ 4505:
  15111. /*!****************************************************************!*\
  15112. !*** ./node_modules/rxjs/_esm2015/internal/BehaviorSubject.js ***!
  15113. \****************************************************************/
  15114. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  15115. __webpack_require__.r(__webpack_exports__);
  15116. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  15117. /* harmony export */ "BehaviorSubject": () => (/* binding */ BehaviorSubject)
  15118. /* harmony export */ });
  15119. /* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Subject */ 2218);
  15120. /* harmony import */ var _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./util/ObjectUnsubscribedError */ 9086);
  15121. class BehaviorSubject extends _Subject__WEBPACK_IMPORTED_MODULE_0__.Subject {
  15122. constructor(_value) {
  15123. super();
  15124. this._value = _value;
  15125. }
  15126. get value() {
  15127. return this.getValue();
  15128. }
  15129. _subscribe(subscriber) {
  15130. const subscription = super._subscribe(subscriber);
  15131. if (subscription && !subscription.closed) {
  15132. subscriber.next(this._value);
  15133. }
  15134. return subscription;
  15135. }
  15136. getValue() {
  15137. if (this.hasError) {
  15138. throw this.thrownError;
  15139. } else if (this.closed) {
  15140. throw new _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_1__.ObjectUnsubscribedError();
  15141. } else {
  15142. return this._value;
  15143. }
  15144. }
  15145. next(value) {
  15146. super.next(this._value = value);
  15147. }
  15148. }
  15149. /***/ }),
  15150. /***/ 472:
  15151. /*!****************************************************************!*\
  15152. !*** ./node_modules/rxjs/_esm2015/internal/InnerSubscriber.js ***!
  15153. \****************************************************************/
  15154. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  15155. __webpack_require__.r(__webpack_exports__);
  15156. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  15157. /* harmony export */ "InnerSubscriber": () => (/* binding */ InnerSubscriber)
  15158. /* harmony export */ });
  15159. /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Subscriber */ 14);
  15160. class InnerSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber {
  15161. constructor(parent, outerValue, outerIndex) {
  15162. super();
  15163. this.parent = parent;
  15164. this.outerValue = outerValue;
  15165. this.outerIndex = outerIndex;
  15166. this.index = 0;
  15167. }
  15168. _next(value) {
  15169. this.parent.notifyNext(this.outerValue, value, this.outerIndex, this.index++, this);
  15170. }
  15171. _error(error) {
  15172. this.parent.notifyError(error, this);
  15173. this.unsubscribe();
  15174. }
  15175. _complete() {
  15176. this.parent.notifyComplete(this);
  15177. this.unsubscribe();
  15178. }
  15179. }
  15180. /***/ }),
  15181. /***/ 2378:
  15182. /*!***********************************************************!*\
  15183. !*** ./node_modules/rxjs/_esm2015/internal/Observable.js ***!
  15184. \***********************************************************/
  15185. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  15186. __webpack_require__.r(__webpack_exports__);
  15187. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  15188. /* harmony export */ "Observable": () => (/* binding */ Observable)
  15189. /* harmony export */ });
  15190. /* harmony import */ var _util_canReportError__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./util/canReportError */ 5739);
  15191. /* harmony import */ var _util_toSubscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./util/toSubscriber */ 8333);
  15192. /* harmony import */ var _symbol_observable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./symbol/observable */ 6831);
  15193. /* harmony import */ var _util_pipe__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./util/pipe */ 6800);
  15194. /* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./config */ 146);
  15195. class Observable {
  15196. constructor(subscribe) {
  15197. this._isScalar = false;
  15198. if (subscribe) {
  15199. this._subscribe = subscribe;
  15200. }
  15201. }
  15202. lift(operator) {
  15203. const observable = new Observable();
  15204. observable.source = this;
  15205. observable.operator = operator;
  15206. return observable;
  15207. }
  15208. subscribe(observerOrNext, error, complete) {
  15209. const {
  15210. operator
  15211. } = this;
  15212. const sink = (0,_util_toSubscriber__WEBPACK_IMPORTED_MODULE_0__.toSubscriber)(observerOrNext, error, complete);
  15213. if (operator) {
  15214. sink.add(operator.call(sink, this.source));
  15215. } else {
  15216. sink.add(this.source || _config__WEBPACK_IMPORTED_MODULE_1__.config.useDeprecatedSynchronousErrorHandling && !sink.syncErrorThrowable ? this._subscribe(sink) : this._trySubscribe(sink));
  15217. }
  15218. if (_config__WEBPACK_IMPORTED_MODULE_1__.config.useDeprecatedSynchronousErrorHandling) {
  15219. if (sink.syncErrorThrowable) {
  15220. sink.syncErrorThrowable = false;
  15221. if (sink.syncErrorThrown) {
  15222. throw sink.syncErrorValue;
  15223. }
  15224. }
  15225. }
  15226. return sink;
  15227. }
  15228. _trySubscribe(sink) {
  15229. try {
  15230. return this._subscribe(sink);
  15231. } catch (err) {
  15232. if (_config__WEBPACK_IMPORTED_MODULE_1__.config.useDeprecatedSynchronousErrorHandling) {
  15233. sink.syncErrorThrown = true;
  15234. sink.syncErrorValue = err;
  15235. }
  15236. if ((0,_util_canReportError__WEBPACK_IMPORTED_MODULE_2__.canReportError)(sink)) {
  15237. sink.error(err);
  15238. } else {
  15239. console.warn(err);
  15240. }
  15241. }
  15242. }
  15243. forEach(next, promiseCtor) {
  15244. promiseCtor = getPromiseCtor(promiseCtor);
  15245. return new promiseCtor((resolve, reject) => {
  15246. let subscription;
  15247. subscription = this.subscribe(value => {
  15248. try {
  15249. next(value);
  15250. } catch (err) {
  15251. reject(err);
  15252. if (subscription) {
  15253. subscription.unsubscribe();
  15254. }
  15255. }
  15256. }, reject, resolve);
  15257. });
  15258. }
  15259. _subscribe(subscriber) {
  15260. const {
  15261. source
  15262. } = this;
  15263. return source && source.subscribe(subscriber);
  15264. }
  15265. [_symbol_observable__WEBPACK_IMPORTED_MODULE_3__.observable]() {
  15266. return this;
  15267. }
  15268. pipe(...operations) {
  15269. if (operations.length === 0) {
  15270. return this;
  15271. }
  15272. return (0,_util_pipe__WEBPACK_IMPORTED_MODULE_4__.pipeFromArray)(operations)(this);
  15273. }
  15274. toPromise(promiseCtor) {
  15275. promiseCtor = getPromiseCtor(promiseCtor);
  15276. return new promiseCtor((resolve, reject) => {
  15277. let value;
  15278. this.subscribe(x => value = x, err => reject(err), () => resolve(value));
  15279. });
  15280. }
  15281. }
  15282. Observable.create = subscribe => {
  15283. return new Observable(subscribe);
  15284. };
  15285. function getPromiseCtor(promiseCtor) {
  15286. if (!promiseCtor) {
  15287. promiseCtor = _config__WEBPACK_IMPORTED_MODULE_1__.config.Promise || Promise;
  15288. }
  15289. if (!promiseCtor) {
  15290. throw new Error('no Promise impl found');
  15291. }
  15292. return promiseCtor;
  15293. }
  15294. /***/ }),
  15295. /***/ 9957:
  15296. /*!*********************************************************!*\
  15297. !*** ./node_modules/rxjs/_esm2015/internal/Observer.js ***!
  15298. \*********************************************************/
  15299. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  15300. __webpack_require__.r(__webpack_exports__);
  15301. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  15302. /* harmony export */ "empty": () => (/* binding */ empty)
  15303. /* harmony export */ });
  15304. /* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./config */ 146);
  15305. /* harmony import */ var _util_hostReportError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./util/hostReportError */ 8897);
  15306. const empty = {
  15307. closed: true,
  15308. next(value) {},
  15309. error(err) {
  15310. if (_config__WEBPACK_IMPORTED_MODULE_0__.config.useDeprecatedSynchronousErrorHandling) {
  15311. throw err;
  15312. } else {
  15313. (0,_util_hostReportError__WEBPACK_IMPORTED_MODULE_1__.hostReportError)(err);
  15314. }
  15315. },
  15316. complete() {}
  15317. };
  15318. /***/ }),
  15319. /***/ 5266:
  15320. /*!****************************************************************!*\
  15321. !*** ./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js ***!
  15322. \****************************************************************/
  15323. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  15324. __webpack_require__.r(__webpack_exports__);
  15325. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  15326. /* harmony export */ "OuterSubscriber": () => (/* binding */ OuterSubscriber)
  15327. /* harmony export */ });
  15328. /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Subscriber */ 14);
  15329. class OuterSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber {
  15330. notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {
  15331. this.destination.next(innerValue);
  15332. }
  15333. notifyError(error, innerSub) {
  15334. this.destination.error(error);
  15335. }
  15336. notifyComplete(innerSub) {
  15337. this.destination.complete();
  15338. }
  15339. }
  15340. /***/ }),
  15341. /***/ 2218:
  15342. /*!********************************************************!*\
  15343. !*** ./node_modules/rxjs/_esm2015/internal/Subject.js ***!
  15344. \********************************************************/
  15345. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  15346. __webpack_require__.r(__webpack_exports__);
  15347. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  15348. /* harmony export */ "AnonymousSubject": () => (/* binding */ AnonymousSubject),
  15349. /* harmony export */ "Subject": () => (/* binding */ Subject),
  15350. /* harmony export */ "SubjectSubscriber": () => (/* binding */ SubjectSubscriber)
  15351. /* harmony export */ });
  15352. /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Observable */ 2378);
  15353. /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Subscriber */ 14);
  15354. /* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Subscription */ 2425);
  15355. /* harmony import */ var _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./util/ObjectUnsubscribedError */ 9086);
  15356. /* harmony import */ var _SubjectSubscription__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./SubjectSubscription */ 1722);
  15357. /* harmony import */ var _internal_symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../internal/symbol/rxSubscriber */ 1482);
  15358. class SubjectSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber {
  15359. constructor(destination) {
  15360. super(destination);
  15361. this.destination = destination;
  15362. }
  15363. }
  15364. class Subject extends _Observable__WEBPACK_IMPORTED_MODULE_1__.Observable {
  15365. constructor() {
  15366. super();
  15367. this.observers = [];
  15368. this.closed = false;
  15369. this.isStopped = false;
  15370. this.hasError = false;
  15371. this.thrownError = null;
  15372. }
  15373. [_internal_symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_2__.rxSubscriber]() {
  15374. return new SubjectSubscriber(this);
  15375. }
  15376. lift(operator) {
  15377. const subject = new AnonymousSubject(this, this);
  15378. subject.operator = operator;
  15379. return subject;
  15380. }
  15381. next(value) {
  15382. if (this.closed) {
  15383. throw new _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_3__.ObjectUnsubscribedError();
  15384. }
  15385. if (!this.isStopped) {
  15386. const {
  15387. observers
  15388. } = this;
  15389. const len = observers.length;
  15390. const copy = observers.slice();
  15391. for (let i = 0; i < len; i++) {
  15392. copy[i].next(value);
  15393. }
  15394. }
  15395. }
  15396. error(err) {
  15397. if (this.closed) {
  15398. throw new _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_3__.ObjectUnsubscribedError();
  15399. }
  15400. this.hasError = true;
  15401. this.thrownError = err;
  15402. this.isStopped = true;
  15403. const {
  15404. observers
  15405. } = this;
  15406. const len = observers.length;
  15407. const copy = observers.slice();
  15408. for (let i = 0; i < len; i++) {
  15409. copy[i].error(err);
  15410. }
  15411. this.observers.length = 0;
  15412. }
  15413. complete() {
  15414. if (this.closed) {
  15415. throw new _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_3__.ObjectUnsubscribedError();
  15416. }
  15417. this.isStopped = true;
  15418. const {
  15419. observers
  15420. } = this;
  15421. const len = observers.length;
  15422. const copy = observers.slice();
  15423. for (let i = 0; i < len; i++) {
  15424. copy[i].complete();
  15425. }
  15426. this.observers.length = 0;
  15427. }
  15428. unsubscribe() {
  15429. this.isStopped = true;
  15430. this.closed = true;
  15431. this.observers = null;
  15432. }
  15433. _trySubscribe(subscriber) {
  15434. if (this.closed) {
  15435. throw new _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_3__.ObjectUnsubscribedError();
  15436. } else {
  15437. return super._trySubscribe(subscriber);
  15438. }
  15439. }
  15440. _subscribe(subscriber) {
  15441. if (this.closed) {
  15442. throw new _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_3__.ObjectUnsubscribedError();
  15443. } else if (this.hasError) {
  15444. subscriber.error(this.thrownError);
  15445. return _Subscription__WEBPACK_IMPORTED_MODULE_4__.Subscription.EMPTY;
  15446. } else if (this.isStopped) {
  15447. subscriber.complete();
  15448. return _Subscription__WEBPACK_IMPORTED_MODULE_4__.Subscription.EMPTY;
  15449. } else {
  15450. this.observers.push(subscriber);
  15451. return new _SubjectSubscription__WEBPACK_IMPORTED_MODULE_5__.SubjectSubscription(this, subscriber);
  15452. }
  15453. }
  15454. asObservable() {
  15455. const observable = new _Observable__WEBPACK_IMPORTED_MODULE_1__.Observable();
  15456. observable.source = this;
  15457. return observable;
  15458. }
  15459. }
  15460. Subject.create = (destination, source) => {
  15461. return new AnonymousSubject(destination, source);
  15462. };
  15463. class AnonymousSubject extends Subject {
  15464. constructor(destination, source) {
  15465. super();
  15466. this.destination = destination;
  15467. this.source = source;
  15468. }
  15469. next(value) {
  15470. const {
  15471. destination
  15472. } = this;
  15473. if (destination && destination.next) {
  15474. destination.next(value);
  15475. }
  15476. }
  15477. error(err) {
  15478. const {
  15479. destination
  15480. } = this;
  15481. if (destination && destination.error) {
  15482. this.destination.error(err);
  15483. }
  15484. }
  15485. complete() {
  15486. const {
  15487. destination
  15488. } = this;
  15489. if (destination && destination.complete) {
  15490. this.destination.complete();
  15491. }
  15492. }
  15493. _subscribe(subscriber) {
  15494. const {
  15495. source
  15496. } = this;
  15497. if (source) {
  15498. return this.source.subscribe(subscriber);
  15499. } else {
  15500. return _Subscription__WEBPACK_IMPORTED_MODULE_4__.Subscription.EMPTY;
  15501. }
  15502. }
  15503. }
  15504. /***/ }),
  15505. /***/ 1722:
  15506. /*!********************************************************************!*\
  15507. !*** ./node_modules/rxjs/_esm2015/internal/SubjectSubscription.js ***!
  15508. \********************************************************************/
  15509. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  15510. __webpack_require__.r(__webpack_exports__);
  15511. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  15512. /* harmony export */ "SubjectSubscription": () => (/* binding */ SubjectSubscription)
  15513. /* harmony export */ });
  15514. /* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Subscription */ 2425);
  15515. class SubjectSubscription extends _Subscription__WEBPACK_IMPORTED_MODULE_0__.Subscription {
  15516. constructor(subject, subscriber) {
  15517. super();
  15518. this.subject = subject;
  15519. this.subscriber = subscriber;
  15520. this.closed = false;
  15521. }
  15522. unsubscribe() {
  15523. if (this.closed) {
  15524. return;
  15525. }
  15526. this.closed = true;
  15527. const subject = this.subject;
  15528. const observers = subject.observers;
  15529. this.subject = null;
  15530. if (!observers || observers.length === 0 || subject.isStopped || subject.closed) {
  15531. return;
  15532. }
  15533. const subscriberIndex = observers.indexOf(this.subscriber);
  15534. if (subscriberIndex !== -1) {
  15535. observers.splice(subscriberIndex, 1);
  15536. }
  15537. }
  15538. }
  15539. /***/ }),
  15540. /***/ 14:
  15541. /*!***********************************************************!*\
  15542. !*** ./node_modules/rxjs/_esm2015/internal/Subscriber.js ***!
  15543. \***********************************************************/
  15544. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  15545. __webpack_require__.r(__webpack_exports__);
  15546. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  15547. /* harmony export */ "SafeSubscriber": () => (/* binding */ SafeSubscriber),
  15548. /* harmony export */ "Subscriber": () => (/* binding */ Subscriber)
  15549. /* harmony export */ });
  15550. /* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./util/isFunction */ 1900);
  15551. /* harmony import */ var _Observer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Observer */ 9957);
  15552. /* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Subscription */ 2425);
  15553. /* harmony import */ var _internal_symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../internal/symbol/rxSubscriber */ 1482);
  15554. /* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./config */ 146);
  15555. /* harmony import */ var _util_hostReportError__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./util/hostReportError */ 8897);
  15556. class Subscriber extends _Subscription__WEBPACK_IMPORTED_MODULE_0__.Subscription {
  15557. constructor(destinationOrNext, error, complete) {
  15558. super();
  15559. this.syncErrorValue = null;
  15560. this.syncErrorThrown = false;
  15561. this.syncErrorThrowable = false;
  15562. this.isStopped = false;
  15563. switch (arguments.length) {
  15564. case 0:
  15565. this.destination = _Observer__WEBPACK_IMPORTED_MODULE_1__.empty;
  15566. break;
  15567. case 1:
  15568. if (!destinationOrNext) {
  15569. this.destination = _Observer__WEBPACK_IMPORTED_MODULE_1__.empty;
  15570. break;
  15571. }
  15572. if (typeof destinationOrNext === 'object') {
  15573. if (destinationOrNext instanceof Subscriber) {
  15574. this.syncErrorThrowable = destinationOrNext.syncErrorThrowable;
  15575. this.destination = destinationOrNext;
  15576. destinationOrNext.add(this);
  15577. } else {
  15578. this.syncErrorThrowable = true;
  15579. this.destination = new SafeSubscriber(this, destinationOrNext);
  15580. }
  15581. break;
  15582. }
  15583. default:
  15584. this.syncErrorThrowable = true;
  15585. this.destination = new SafeSubscriber(this, destinationOrNext, error, complete);
  15586. break;
  15587. }
  15588. }
  15589. [_internal_symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_2__.rxSubscriber]() {
  15590. return this;
  15591. }
  15592. static create(next, error, complete) {
  15593. const subscriber = new Subscriber(next, error, complete);
  15594. subscriber.syncErrorThrowable = false;
  15595. return subscriber;
  15596. }
  15597. next(value) {
  15598. if (!this.isStopped) {
  15599. this._next(value);
  15600. }
  15601. }
  15602. error(err) {
  15603. if (!this.isStopped) {
  15604. this.isStopped = true;
  15605. this._error(err);
  15606. }
  15607. }
  15608. complete() {
  15609. if (!this.isStopped) {
  15610. this.isStopped = true;
  15611. this._complete();
  15612. }
  15613. }
  15614. unsubscribe() {
  15615. if (this.closed) {
  15616. return;
  15617. }
  15618. this.isStopped = true;
  15619. super.unsubscribe();
  15620. }
  15621. _next(value) {
  15622. this.destination.next(value);
  15623. }
  15624. _error(err) {
  15625. this.destination.error(err);
  15626. this.unsubscribe();
  15627. }
  15628. _complete() {
  15629. this.destination.complete();
  15630. this.unsubscribe();
  15631. }
  15632. _unsubscribeAndRecycle() {
  15633. const {
  15634. _parentOrParents
  15635. } = this;
  15636. this._parentOrParents = null;
  15637. this.unsubscribe();
  15638. this.closed = false;
  15639. this.isStopped = false;
  15640. this._parentOrParents = _parentOrParents;
  15641. return this;
  15642. }
  15643. }
  15644. class SafeSubscriber extends Subscriber {
  15645. constructor(_parentSubscriber, observerOrNext, error, complete) {
  15646. super();
  15647. this._parentSubscriber = _parentSubscriber;
  15648. let next;
  15649. let context = this;
  15650. if ((0,_util_isFunction__WEBPACK_IMPORTED_MODULE_3__.isFunction)(observerOrNext)) {
  15651. next = observerOrNext;
  15652. } else if (observerOrNext) {
  15653. next = observerOrNext.next;
  15654. error = observerOrNext.error;
  15655. complete = observerOrNext.complete;
  15656. if (observerOrNext !== _Observer__WEBPACK_IMPORTED_MODULE_1__.empty) {
  15657. context = Object.create(observerOrNext);
  15658. if ((0,_util_isFunction__WEBPACK_IMPORTED_MODULE_3__.isFunction)(context.unsubscribe)) {
  15659. this.add(context.unsubscribe.bind(context));
  15660. }
  15661. context.unsubscribe = this.unsubscribe.bind(this);
  15662. }
  15663. }
  15664. this._context = context;
  15665. this._next = next;
  15666. this._error = error;
  15667. this._complete = complete;
  15668. }
  15669. next(value) {
  15670. if (!this.isStopped && this._next) {
  15671. const {
  15672. _parentSubscriber
  15673. } = this;
  15674. if (!_config__WEBPACK_IMPORTED_MODULE_4__.config.useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) {
  15675. this.__tryOrUnsub(this._next, value);
  15676. } else if (this.__tryOrSetError(_parentSubscriber, this._next, value)) {
  15677. this.unsubscribe();
  15678. }
  15679. }
  15680. }
  15681. error(err) {
  15682. if (!this.isStopped) {
  15683. const {
  15684. _parentSubscriber
  15685. } = this;
  15686. const {
  15687. useDeprecatedSynchronousErrorHandling
  15688. } = _config__WEBPACK_IMPORTED_MODULE_4__.config;
  15689. if (this._error) {
  15690. if (!useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) {
  15691. this.__tryOrUnsub(this._error, err);
  15692. this.unsubscribe();
  15693. } else {
  15694. this.__tryOrSetError(_parentSubscriber, this._error, err);
  15695. this.unsubscribe();
  15696. }
  15697. } else if (!_parentSubscriber.syncErrorThrowable) {
  15698. this.unsubscribe();
  15699. if (useDeprecatedSynchronousErrorHandling) {
  15700. throw err;
  15701. }
  15702. (0,_util_hostReportError__WEBPACK_IMPORTED_MODULE_5__.hostReportError)(err);
  15703. } else {
  15704. if (useDeprecatedSynchronousErrorHandling) {
  15705. _parentSubscriber.syncErrorValue = err;
  15706. _parentSubscriber.syncErrorThrown = true;
  15707. } else {
  15708. (0,_util_hostReportError__WEBPACK_IMPORTED_MODULE_5__.hostReportError)(err);
  15709. }
  15710. this.unsubscribe();
  15711. }
  15712. }
  15713. }
  15714. complete() {
  15715. if (!this.isStopped) {
  15716. const {
  15717. _parentSubscriber
  15718. } = this;
  15719. if (this._complete) {
  15720. const wrappedComplete = () => this._complete.call(this._context);
  15721. if (!_config__WEBPACK_IMPORTED_MODULE_4__.config.useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) {
  15722. this.__tryOrUnsub(wrappedComplete);
  15723. this.unsubscribe();
  15724. } else {
  15725. this.__tryOrSetError(_parentSubscriber, wrappedComplete);
  15726. this.unsubscribe();
  15727. }
  15728. } else {
  15729. this.unsubscribe();
  15730. }
  15731. }
  15732. }
  15733. __tryOrUnsub(fn, value) {
  15734. try {
  15735. fn.call(this._context, value);
  15736. } catch (err) {
  15737. this.unsubscribe();
  15738. if (_config__WEBPACK_IMPORTED_MODULE_4__.config.useDeprecatedSynchronousErrorHandling) {
  15739. throw err;
  15740. } else {
  15741. (0,_util_hostReportError__WEBPACK_IMPORTED_MODULE_5__.hostReportError)(err);
  15742. }
  15743. }
  15744. }
  15745. __tryOrSetError(parent, fn, value) {
  15746. if (!_config__WEBPACK_IMPORTED_MODULE_4__.config.useDeprecatedSynchronousErrorHandling) {
  15747. throw new Error('bad call');
  15748. }
  15749. try {
  15750. fn.call(this._context, value);
  15751. } catch (err) {
  15752. if (_config__WEBPACK_IMPORTED_MODULE_4__.config.useDeprecatedSynchronousErrorHandling) {
  15753. parent.syncErrorValue = err;
  15754. parent.syncErrorThrown = true;
  15755. return true;
  15756. } else {
  15757. (0,_util_hostReportError__WEBPACK_IMPORTED_MODULE_5__.hostReportError)(err);
  15758. return true;
  15759. }
  15760. }
  15761. return false;
  15762. }
  15763. _unsubscribe() {
  15764. const {
  15765. _parentSubscriber
  15766. } = this;
  15767. this._context = null;
  15768. this._parentSubscriber = null;
  15769. _parentSubscriber.unsubscribe();
  15770. }
  15771. }
  15772. /***/ }),
  15773. /***/ 2425:
  15774. /*!*************************************************************!*\
  15775. !*** ./node_modules/rxjs/_esm2015/internal/Subscription.js ***!
  15776. \*************************************************************/
  15777. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  15778. __webpack_require__.r(__webpack_exports__);
  15779. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  15780. /* harmony export */ "Subscription": () => (/* binding */ Subscription)
  15781. /* harmony export */ });
  15782. /* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./util/isArray */ 4327);
  15783. /* harmony import */ var _util_isObject__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./util/isObject */ 6549);
  15784. /* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./util/isFunction */ 1900);
  15785. /* harmony import */ var _util_UnsubscriptionError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./util/UnsubscriptionError */ 7875);
  15786. class Subscription {
  15787. constructor(unsubscribe) {
  15788. this.closed = false;
  15789. this._parentOrParents = null;
  15790. this._subscriptions = null;
  15791. if (unsubscribe) {
  15792. this._ctorUnsubscribe = true;
  15793. this._unsubscribe = unsubscribe;
  15794. }
  15795. }
  15796. unsubscribe() {
  15797. let errors;
  15798. if (this.closed) {
  15799. return;
  15800. }
  15801. let {
  15802. _parentOrParents,
  15803. _ctorUnsubscribe,
  15804. _unsubscribe,
  15805. _subscriptions
  15806. } = this;
  15807. this.closed = true;
  15808. this._parentOrParents = null;
  15809. this._subscriptions = null;
  15810. if (_parentOrParents instanceof Subscription) {
  15811. _parentOrParents.remove(this);
  15812. } else if (_parentOrParents !== null) {
  15813. for (let index = 0; index < _parentOrParents.length; ++index) {
  15814. const parent = _parentOrParents[index];
  15815. parent.remove(this);
  15816. }
  15817. }
  15818. if ((0,_util_isFunction__WEBPACK_IMPORTED_MODULE_0__.isFunction)(_unsubscribe)) {
  15819. if (_ctorUnsubscribe) {
  15820. this._unsubscribe = undefined;
  15821. }
  15822. try {
  15823. _unsubscribe.call(this);
  15824. } catch (e) {
  15825. errors = e instanceof _util_UnsubscriptionError__WEBPACK_IMPORTED_MODULE_1__.UnsubscriptionError ? flattenUnsubscriptionErrors(e.errors) : [e];
  15826. }
  15827. }
  15828. if ((0,_util_isArray__WEBPACK_IMPORTED_MODULE_2__.isArray)(_subscriptions)) {
  15829. let index = -1;
  15830. let len = _subscriptions.length;
  15831. while (++index < len) {
  15832. const sub = _subscriptions[index];
  15833. if ((0,_util_isObject__WEBPACK_IMPORTED_MODULE_3__.isObject)(sub)) {
  15834. try {
  15835. sub.unsubscribe();
  15836. } catch (e) {
  15837. errors = errors || [];
  15838. if (e instanceof _util_UnsubscriptionError__WEBPACK_IMPORTED_MODULE_1__.UnsubscriptionError) {
  15839. errors = errors.concat(flattenUnsubscriptionErrors(e.errors));
  15840. } else {
  15841. errors.push(e);
  15842. }
  15843. }
  15844. }
  15845. }
  15846. }
  15847. if (errors) {
  15848. throw new _util_UnsubscriptionError__WEBPACK_IMPORTED_MODULE_1__.UnsubscriptionError(errors);
  15849. }
  15850. }
  15851. add(teardown) {
  15852. let subscription = teardown;
  15853. if (!teardown) {
  15854. return Subscription.EMPTY;
  15855. }
  15856. switch (typeof teardown) {
  15857. case 'function':
  15858. subscription = new Subscription(teardown);
  15859. case 'object':
  15860. if (subscription === this || subscription.closed || typeof subscription.unsubscribe !== 'function') {
  15861. return subscription;
  15862. } else if (this.closed) {
  15863. subscription.unsubscribe();
  15864. return subscription;
  15865. } else if (!(subscription instanceof Subscription)) {
  15866. const tmp = subscription;
  15867. subscription = new Subscription();
  15868. subscription._subscriptions = [tmp];
  15869. }
  15870. break;
  15871. default:
  15872. {
  15873. throw new Error('unrecognized teardown ' + teardown + ' added to Subscription.');
  15874. }
  15875. }
  15876. let {
  15877. _parentOrParents
  15878. } = subscription;
  15879. if (_parentOrParents === null) {
  15880. subscription._parentOrParents = this;
  15881. } else if (_parentOrParents instanceof Subscription) {
  15882. if (_parentOrParents === this) {
  15883. return subscription;
  15884. }
  15885. subscription._parentOrParents = [_parentOrParents, this];
  15886. } else if (_parentOrParents.indexOf(this) === -1) {
  15887. _parentOrParents.push(this);
  15888. } else {
  15889. return subscription;
  15890. }
  15891. const subscriptions = this._subscriptions;
  15892. if (subscriptions === null) {
  15893. this._subscriptions = [subscription];
  15894. } else {
  15895. subscriptions.push(subscription);
  15896. }
  15897. return subscription;
  15898. }
  15899. remove(subscription) {
  15900. const subscriptions = this._subscriptions;
  15901. if (subscriptions) {
  15902. const subscriptionIndex = subscriptions.indexOf(subscription);
  15903. if (subscriptionIndex !== -1) {
  15904. subscriptions.splice(subscriptionIndex, 1);
  15905. }
  15906. }
  15907. }
  15908. }
  15909. Subscription.EMPTY = function (empty) {
  15910. empty.closed = true;
  15911. return empty;
  15912. }(new Subscription());
  15913. function flattenUnsubscriptionErrors(errors) {
  15914. return errors.reduce((errs, err) => errs.concat(err instanceof _util_UnsubscriptionError__WEBPACK_IMPORTED_MODULE_1__.UnsubscriptionError ? err.errors : err), []);
  15915. }
  15916. /***/ }),
  15917. /***/ 146:
  15918. /*!*******************************************************!*\
  15919. !*** ./node_modules/rxjs/_esm2015/internal/config.js ***!
  15920. \*******************************************************/
  15921. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  15922. __webpack_require__.r(__webpack_exports__);
  15923. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  15924. /* harmony export */ "config": () => (/* binding */ config)
  15925. /* harmony export */ });
  15926. let _enable_super_gross_mode_that_will_cause_bad_things = false;
  15927. const config = {
  15928. Promise: undefined,
  15929. set useDeprecatedSynchronousErrorHandling(value) {
  15930. if (value) {
  15931. const error = new Error();
  15932. console.warn('DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n' + error.stack);
  15933. } else if (_enable_super_gross_mode_that_will_cause_bad_things) {
  15934. console.log('RxJS: Back to a better error behavior. Thank you. <3');
  15935. }
  15936. _enable_super_gross_mode_that_will_cause_bad_things = value;
  15937. },
  15938. get useDeprecatedSynchronousErrorHandling() {
  15939. return _enable_super_gross_mode_that_will_cause_bad_things;
  15940. }
  15941. };
  15942. /***/ }),
  15943. /***/ 2831:
  15944. /*!***************************************************************!*\
  15945. !*** ./node_modules/rxjs/_esm2015/internal/innerSubscribe.js ***!
  15946. \***************************************************************/
  15947. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  15948. __webpack_require__.r(__webpack_exports__);
  15949. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  15950. /* harmony export */ "ComplexInnerSubscriber": () => (/* binding */ ComplexInnerSubscriber),
  15951. /* harmony export */ "ComplexOuterSubscriber": () => (/* binding */ ComplexOuterSubscriber),
  15952. /* harmony export */ "SimpleInnerSubscriber": () => (/* binding */ SimpleInnerSubscriber),
  15953. /* harmony export */ "SimpleOuterSubscriber": () => (/* binding */ SimpleOuterSubscriber),
  15954. /* harmony export */ "innerSubscribe": () => (/* binding */ innerSubscribe)
  15955. /* harmony export */ });
  15956. /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Subscriber */ 14);
  15957. /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Observable */ 2378);
  15958. /* harmony import */ var _util_subscribeTo__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./util/subscribeTo */ 6983);
  15959. class SimpleInnerSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber {
  15960. constructor(parent) {
  15961. super();
  15962. this.parent = parent;
  15963. }
  15964. _next(value) {
  15965. this.parent.notifyNext(value);
  15966. }
  15967. _error(error) {
  15968. this.parent.notifyError(error);
  15969. this.unsubscribe();
  15970. }
  15971. _complete() {
  15972. this.parent.notifyComplete();
  15973. this.unsubscribe();
  15974. }
  15975. }
  15976. class ComplexInnerSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber {
  15977. constructor(parent, outerValue, outerIndex) {
  15978. super();
  15979. this.parent = parent;
  15980. this.outerValue = outerValue;
  15981. this.outerIndex = outerIndex;
  15982. }
  15983. _next(value) {
  15984. this.parent.notifyNext(this.outerValue, value, this.outerIndex, this);
  15985. }
  15986. _error(error) {
  15987. this.parent.notifyError(error);
  15988. this.unsubscribe();
  15989. }
  15990. _complete() {
  15991. this.parent.notifyComplete(this);
  15992. this.unsubscribe();
  15993. }
  15994. }
  15995. class SimpleOuterSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber {
  15996. notifyNext(innerValue) {
  15997. this.destination.next(innerValue);
  15998. }
  15999. notifyError(err) {
  16000. this.destination.error(err);
  16001. }
  16002. notifyComplete() {
  16003. this.destination.complete();
  16004. }
  16005. }
  16006. class ComplexOuterSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber {
  16007. notifyNext(_outerValue, innerValue, _outerIndex, _innerSub) {
  16008. this.destination.next(innerValue);
  16009. }
  16010. notifyError(error) {
  16011. this.destination.error(error);
  16012. }
  16013. notifyComplete(_innerSub) {
  16014. this.destination.complete();
  16015. }
  16016. }
  16017. function innerSubscribe(result, innerSubscriber) {
  16018. if (innerSubscriber.closed) {
  16019. return undefined;
  16020. }
  16021. if (result instanceof _Observable__WEBPACK_IMPORTED_MODULE_1__.Observable) {
  16022. return result.subscribe(innerSubscriber);
  16023. }
  16024. let subscription;
  16025. try {
  16026. subscription = (0,_util_subscribeTo__WEBPACK_IMPORTED_MODULE_2__.subscribeTo)(result)(innerSubscriber);
  16027. } catch (error) {
  16028. innerSubscriber.error(error);
  16029. }
  16030. return subscription;
  16031. }
  16032. /***/ }),
  16033. /***/ 4483:
  16034. /*!*********************************************************************************!*\
  16035. !*** ./node_modules/rxjs/_esm2015/internal/observable/ConnectableObservable.js ***!
  16036. \*********************************************************************************/
  16037. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  16038. __webpack_require__.r(__webpack_exports__);
  16039. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  16040. /* harmony export */ "ConnectableObservable": () => (/* binding */ ConnectableObservable),
  16041. /* harmony export */ "connectableObservableDescriptor": () => (/* binding */ connectableObservableDescriptor)
  16042. /* harmony export */ });
  16043. /* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Subject */ 2218);
  16044. /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ 2378);
  16045. /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Subscriber */ 14);
  16046. /* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscription */ 2425);
  16047. /* harmony import */ var _operators_refCount__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../operators/refCount */ 8331);
  16048. class ConnectableObservable extends _Observable__WEBPACK_IMPORTED_MODULE_0__.Observable {
  16049. constructor(source, subjectFactory) {
  16050. super();
  16051. this.source = source;
  16052. this.subjectFactory = subjectFactory;
  16053. this._refCount = 0;
  16054. this._isComplete = false;
  16055. }
  16056. _subscribe(subscriber) {
  16057. return this.getSubject().subscribe(subscriber);
  16058. }
  16059. getSubject() {
  16060. const subject = this._subject;
  16061. if (!subject || subject.isStopped) {
  16062. this._subject = this.subjectFactory();
  16063. }
  16064. return this._subject;
  16065. }
  16066. connect() {
  16067. let connection = this._connection;
  16068. if (!connection) {
  16069. this._isComplete = false;
  16070. connection = this._connection = new _Subscription__WEBPACK_IMPORTED_MODULE_1__.Subscription();
  16071. connection.add(this.source.subscribe(new ConnectableSubscriber(this.getSubject(), this)));
  16072. if (connection.closed) {
  16073. this._connection = null;
  16074. connection = _Subscription__WEBPACK_IMPORTED_MODULE_1__.Subscription.EMPTY;
  16075. }
  16076. }
  16077. return connection;
  16078. }
  16079. refCount() {
  16080. return (0,_operators_refCount__WEBPACK_IMPORTED_MODULE_2__.refCount)()(this);
  16081. }
  16082. }
  16083. const connectableObservableDescriptor = (() => {
  16084. const connectableProto = ConnectableObservable.prototype;
  16085. return {
  16086. operator: {
  16087. value: null
  16088. },
  16089. _refCount: {
  16090. value: 0,
  16091. writable: true
  16092. },
  16093. _subject: {
  16094. value: null,
  16095. writable: true
  16096. },
  16097. _connection: {
  16098. value: null,
  16099. writable: true
  16100. },
  16101. _subscribe: {
  16102. value: connectableProto._subscribe
  16103. },
  16104. _isComplete: {
  16105. value: connectableProto._isComplete,
  16106. writable: true
  16107. },
  16108. getSubject: {
  16109. value: connectableProto.getSubject
  16110. },
  16111. connect: {
  16112. value: connectableProto.connect
  16113. },
  16114. refCount: {
  16115. value: connectableProto.refCount
  16116. }
  16117. };
  16118. })();
  16119. class ConnectableSubscriber extends _Subject__WEBPACK_IMPORTED_MODULE_3__.SubjectSubscriber {
  16120. constructor(destination, connectable) {
  16121. super(destination);
  16122. this.connectable = connectable;
  16123. }
  16124. _error(err) {
  16125. this._unsubscribe();
  16126. super._error(err);
  16127. }
  16128. _complete() {
  16129. this.connectable._isComplete = true;
  16130. this._unsubscribe();
  16131. super._complete();
  16132. }
  16133. _unsubscribe() {
  16134. const connectable = this.connectable;
  16135. if (connectable) {
  16136. this.connectable = null;
  16137. const connection = connectable._connection;
  16138. connectable._refCount = 0;
  16139. connectable._subject = null;
  16140. connectable._connection = null;
  16141. if (connection) {
  16142. connection.unsubscribe();
  16143. }
  16144. }
  16145. }
  16146. }
  16147. class RefCountOperator {
  16148. constructor(connectable) {
  16149. this.connectable = connectable;
  16150. }
  16151. call(subscriber, source) {
  16152. const {
  16153. connectable
  16154. } = this;
  16155. connectable._refCount++;
  16156. const refCounter = new RefCountSubscriber(subscriber, connectable);
  16157. const subscription = source.subscribe(refCounter);
  16158. if (!refCounter.closed) {
  16159. refCounter.connection = connectable.connect();
  16160. }
  16161. return subscription;
  16162. }
  16163. }
  16164. class RefCountSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_4__.Subscriber {
  16165. constructor(destination, connectable) {
  16166. super(destination);
  16167. this.connectable = connectable;
  16168. }
  16169. _unsubscribe() {
  16170. const {
  16171. connectable
  16172. } = this;
  16173. if (!connectable) {
  16174. this.connection = null;
  16175. return;
  16176. }
  16177. this.connectable = null;
  16178. const refCount = connectable._refCount;
  16179. if (refCount <= 0) {
  16180. this.connection = null;
  16181. return;
  16182. }
  16183. connectable._refCount = refCount - 1;
  16184. if (refCount > 1) {
  16185. this.connection = null;
  16186. return;
  16187. }
  16188. const {
  16189. connection
  16190. } = this;
  16191. const sharedConnection = connectable._connection;
  16192. this.connection = null;
  16193. if (sharedConnection && (!connection || sharedConnection === connection)) {
  16194. sharedConnection.unsubscribe();
  16195. }
  16196. }
  16197. }
  16198. /***/ }),
  16199. /***/ 9193:
  16200. /*!*************************************************************************!*\
  16201. !*** ./node_modules/rxjs/_esm2015/internal/observable/combineLatest.js ***!
  16202. \*************************************************************************/
  16203. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  16204. __webpack_require__.r(__webpack_exports__);
  16205. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  16206. /* harmony export */ "CombineLatestOperator": () => (/* binding */ CombineLatestOperator),
  16207. /* harmony export */ "CombineLatestSubscriber": () => (/* binding */ CombineLatestSubscriber),
  16208. /* harmony export */ "combineLatest": () => (/* binding */ combineLatest)
  16209. /* harmony export */ });
  16210. /* harmony import */ var _util_isScheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/isScheduler */ 7507);
  16211. /* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/isArray */ 4327);
  16212. /* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../OuterSubscriber */ 5266);
  16213. /* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util/subscribeToResult */ 640);
  16214. /* harmony import */ var _fromArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./fromArray */ 8005);
  16215. const NONE = {};
  16216. function combineLatest(...observables) {
  16217. let resultSelector = undefined;
  16218. let scheduler = undefined;
  16219. if ((0,_util_isScheduler__WEBPACK_IMPORTED_MODULE_0__.isScheduler)(observables[observables.length - 1])) {
  16220. scheduler = observables.pop();
  16221. }
  16222. if (typeof observables[observables.length - 1] === 'function') {
  16223. resultSelector = observables.pop();
  16224. }
  16225. if (observables.length === 1 && (0,_util_isArray__WEBPACK_IMPORTED_MODULE_1__.isArray)(observables[0])) {
  16226. observables = observables[0];
  16227. }
  16228. return (0,_fromArray__WEBPACK_IMPORTED_MODULE_2__.fromArray)(observables, scheduler).lift(new CombineLatestOperator(resultSelector));
  16229. }
  16230. class CombineLatestOperator {
  16231. constructor(resultSelector) {
  16232. this.resultSelector = resultSelector;
  16233. }
  16234. call(subscriber, source) {
  16235. return source.subscribe(new CombineLatestSubscriber(subscriber, this.resultSelector));
  16236. }
  16237. }
  16238. class CombineLatestSubscriber extends _OuterSubscriber__WEBPACK_IMPORTED_MODULE_3__.OuterSubscriber {
  16239. constructor(destination, resultSelector) {
  16240. super(destination);
  16241. this.resultSelector = resultSelector;
  16242. this.active = 0;
  16243. this.values = [];
  16244. this.observables = [];
  16245. }
  16246. _next(observable) {
  16247. this.values.push(NONE);
  16248. this.observables.push(observable);
  16249. }
  16250. _complete() {
  16251. const observables = this.observables;
  16252. const len = observables.length;
  16253. if (len === 0) {
  16254. this.destination.complete();
  16255. } else {
  16256. this.active = len;
  16257. this.toRespond = len;
  16258. for (let i = 0; i < len; i++) {
  16259. const observable = observables[i];
  16260. this.add((0,_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_4__.subscribeToResult)(this, observable, undefined, i));
  16261. }
  16262. }
  16263. }
  16264. notifyComplete(unused) {
  16265. if ((this.active -= 1) === 0) {
  16266. this.destination.complete();
  16267. }
  16268. }
  16269. notifyNext(_outerValue, innerValue, outerIndex) {
  16270. const values = this.values;
  16271. const oldVal = values[outerIndex];
  16272. const toRespond = !this.toRespond ? 0 : oldVal === NONE ? --this.toRespond : this.toRespond;
  16273. values[outerIndex] = innerValue;
  16274. if (toRespond === 0) {
  16275. if (this.resultSelector) {
  16276. this._tryResultSelector(values);
  16277. } else {
  16278. this.destination.next(values.slice());
  16279. }
  16280. }
  16281. }
  16282. _tryResultSelector(values) {
  16283. let result;
  16284. try {
  16285. result = this.resultSelector.apply(this, values);
  16286. } catch (err) {
  16287. this.destination.error(err);
  16288. return;
  16289. }
  16290. this.destination.next(result);
  16291. }
  16292. }
  16293. /***/ }),
  16294. /***/ 5828:
  16295. /*!******************************************************************!*\
  16296. !*** ./node_modules/rxjs/_esm2015/internal/observable/concat.js ***!
  16297. \******************************************************************/
  16298. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  16299. __webpack_require__.r(__webpack_exports__);
  16300. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  16301. /* harmony export */ "concat": () => (/* binding */ concat)
  16302. /* harmony export */ });
  16303. /* harmony import */ var _of__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./of */ 4139);
  16304. /* harmony import */ var _operators_concatAll__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../operators/concatAll */ 2692);
  16305. function concat(...observables) {
  16306. return (0,_operators_concatAll__WEBPACK_IMPORTED_MODULE_0__.concatAll)()((0,_of__WEBPACK_IMPORTED_MODULE_1__.of)(...observables));
  16307. }
  16308. /***/ }),
  16309. /***/ 2160:
  16310. /*!*****************************************************************!*\
  16311. !*** ./node_modules/rxjs/_esm2015/internal/observable/defer.js ***!
  16312. \*****************************************************************/
  16313. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  16314. __webpack_require__.r(__webpack_exports__);
  16315. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  16316. /* harmony export */ "defer": () => (/* binding */ defer)
  16317. /* harmony export */ });
  16318. /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ 2378);
  16319. /* harmony import */ var _from__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./from */ 4383);
  16320. /* harmony import */ var _empty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./empty */ 6439);
  16321. function defer(observableFactory) {
  16322. return new _Observable__WEBPACK_IMPORTED_MODULE_0__.Observable(subscriber => {
  16323. let input;
  16324. try {
  16325. input = observableFactory();
  16326. } catch (err) {
  16327. subscriber.error(err);
  16328. return undefined;
  16329. }
  16330. const source = input ? (0,_from__WEBPACK_IMPORTED_MODULE_1__.from)(input) : (0,_empty__WEBPACK_IMPORTED_MODULE_2__.empty)();
  16331. return source.subscribe(subscriber);
  16332. });
  16333. }
  16334. /***/ }),
  16335. /***/ 6439:
  16336. /*!*****************************************************************!*\
  16337. !*** ./node_modules/rxjs/_esm2015/internal/observable/empty.js ***!
  16338. \*****************************************************************/
  16339. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  16340. __webpack_require__.r(__webpack_exports__);
  16341. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  16342. /* harmony export */ "EMPTY": () => (/* binding */ EMPTY),
  16343. /* harmony export */ "empty": () => (/* binding */ empty)
  16344. /* harmony export */ });
  16345. /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ 2378);
  16346. const EMPTY = new _Observable__WEBPACK_IMPORTED_MODULE_0__.Observable(subscriber => subscriber.complete());
  16347. function empty(scheduler) {
  16348. return scheduler ? emptyScheduled(scheduler) : EMPTY;
  16349. }
  16350. function emptyScheduled(scheduler) {
  16351. return new _Observable__WEBPACK_IMPORTED_MODULE_0__.Observable(subscriber => scheduler.schedule(() => subscriber.complete()));
  16352. }
  16353. /***/ }),
  16354. /***/ 4350:
  16355. /*!********************************************************************!*\
  16356. !*** ./node_modules/rxjs/_esm2015/internal/observable/forkJoin.js ***!
  16357. \********************************************************************/
  16358. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  16359. __webpack_require__.r(__webpack_exports__);
  16360. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  16361. /* harmony export */ "forkJoin": () => (/* binding */ forkJoin)
  16362. /* harmony export */ });
  16363. /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Observable */ 2378);
  16364. /* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/isArray */ 4327);
  16365. /* harmony import */ var _operators_map__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../operators/map */ 6942);
  16366. /* harmony import */ var _util_isObject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/isObject */ 6549);
  16367. /* harmony import */ var _from__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./from */ 4383);
  16368. function forkJoin(...sources) {
  16369. if (sources.length === 1) {
  16370. const first = sources[0];
  16371. if ((0,_util_isArray__WEBPACK_IMPORTED_MODULE_0__.isArray)(first)) {
  16372. return forkJoinInternal(first, null);
  16373. }
  16374. if ((0,_util_isObject__WEBPACK_IMPORTED_MODULE_1__.isObject)(first) && Object.getPrototypeOf(first) === Object.prototype) {
  16375. const keys = Object.keys(first);
  16376. return forkJoinInternal(keys.map(key => first[key]), keys);
  16377. }
  16378. }
  16379. if (typeof sources[sources.length - 1] === 'function') {
  16380. const resultSelector = sources.pop();
  16381. sources = sources.length === 1 && (0,_util_isArray__WEBPACK_IMPORTED_MODULE_0__.isArray)(sources[0]) ? sources[0] : sources;
  16382. return forkJoinInternal(sources, null).pipe((0,_operators_map__WEBPACK_IMPORTED_MODULE_2__.map)(args => resultSelector(...args)));
  16383. }
  16384. return forkJoinInternal(sources, null);
  16385. }
  16386. function forkJoinInternal(sources, keys) {
  16387. return new _Observable__WEBPACK_IMPORTED_MODULE_3__.Observable(subscriber => {
  16388. const len = sources.length;
  16389. if (len === 0) {
  16390. subscriber.complete();
  16391. return;
  16392. }
  16393. const values = new Array(len);
  16394. let completed = 0;
  16395. let emitted = 0;
  16396. for (let i = 0; i < len; i++) {
  16397. const source = (0,_from__WEBPACK_IMPORTED_MODULE_4__.from)(sources[i]);
  16398. let hasValue = false;
  16399. subscriber.add(source.subscribe({
  16400. next: value => {
  16401. if (!hasValue) {
  16402. hasValue = true;
  16403. emitted++;
  16404. }
  16405. values[i] = value;
  16406. },
  16407. error: err => subscriber.error(err),
  16408. complete: () => {
  16409. completed++;
  16410. if (completed === len || !hasValue) {
  16411. if (emitted === len) {
  16412. subscriber.next(keys ? keys.reduce((result, key, i) => (result[key] = values[i], result), {}) : values);
  16413. }
  16414. subscriber.complete();
  16415. }
  16416. }
  16417. }));
  16418. }
  16419. });
  16420. }
  16421. /***/ }),
  16422. /***/ 4383:
  16423. /*!****************************************************************!*\
  16424. !*** ./node_modules/rxjs/_esm2015/internal/observable/from.js ***!
  16425. \****************************************************************/
  16426. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  16427. __webpack_require__.r(__webpack_exports__);
  16428. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  16429. /* harmony export */ "from": () => (/* binding */ from)
  16430. /* harmony export */ });
  16431. /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ 2378);
  16432. /* harmony import */ var _util_subscribeTo__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/subscribeTo */ 6983);
  16433. /* harmony import */ var _scheduled_scheduled__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../scheduled/scheduled */ 2476);
  16434. function from(input, scheduler) {
  16435. if (!scheduler) {
  16436. if (input instanceof _Observable__WEBPACK_IMPORTED_MODULE_0__.Observable) {
  16437. return input;
  16438. }
  16439. return new _Observable__WEBPACK_IMPORTED_MODULE_0__.Observable((0,_util_subscribeTo__WEBPACK_IMPORTED_MODULE_1__.subscribeTo)(input));
  16440. } else {
  16441. return (0,_scheduled_scheduled__WEBPACK_IMPORTED_MODULE_2__.scheduled)(input, scheduler);
  16442. }
  16443. }
  16444. /***/ }),
  16445. /***/ 8005:
  16446. /*!*********************************************************************!*\
  16447. !*** ./node_modules/rxjs/_esm2015/internal/observable/fromArray.js ***!
  16448. \*********************************************************************/
  16449. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  16450. __webpack_require__.r(__webpack_exports__);
  16451. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  16452. /* harmony export */ "fromArray": () => (/* binding */ fromArray)
  16453. /* harmony export */ });
  16454. /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ 2378);
  16455. /* harmony import */ var _util_subscribeToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/subscribeToArray */ 5414);
  16456. /* harmony import */ var _scheduled_scheduleArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../scheduled/scheduleArray */ 8403);
  16457. function fromArray(input, scheduler) {
  16458. if (!scheduler) {
  16459. return new _Observable__WEBPACK_IMPORTED_MODULE_0__.Observable((0,_util_subscribeToArray__WEBPACK_IMPORTED_MODULE_1__.subscribeToArray)(input));
  16460. } else {
  16461. return (0,_scheduled_scheduleArray__WEBPACK_IMPORTED_MODULE_2__.scheduleArray)(input, scheduler);
  16462. }
  16463. }
  16464. /***/ }),
  16465. /***/ 6312:
  16466. /*!*********************************************************************!*\
  16467. !*** ./node_modules/rxjs/_esm2015/internal/observable/fromEvent.js ***!
  16468. \*********************************************************************/
  16469. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  16470. __webpack_require__.r(__webpack_exports__);
  16471. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  16472. /* harmony export */ "fromEvent": () => (/* binding */ fromEvent)
  16473. /* harmony export */ });
  16474. /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Observable */ 2378);
  16475. /* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/isArray */ 4327);
  16476. /* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/isFunction */ 1900);
  16477. /* harmony import */ var _operators_map__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../operators/map */ 6942);
  16478. const toString = (() => Object.prototype.toString)();
  16479. function fromEvent(target, eventName, options, resultSelector) {
  16480. if ((0,_util_isFunction__WEBPACK_IMPORTED_MODULE_0__.isFunction)(options)) {
  16481. resultSelector = options;
  16482. options = undefined;
  16483. }
  16484. if (resultSelector) {
  16485. return fromEvent(target, eventName, options).pipe((0,_operators_map__WEBPACK_IMPORTED_MODULE_1__.map)(args => (0,_util_isArray__WEBPACK_IMPORTED_MODULE_2__.isArray)(args) ? resultSelector(...args) : resultSelector(args)));
  16486. }
  16487. return new _Observable__WEBPACK_IMPORTED_MODULE_3__.Observable(subscriber => {
  16488. function handler(e) {
  16489. if (arguments.length > 1) {
  16490. subscriber.next(Array.prototype.slice.call(arguments));
  16491. } else {
  16492. subscriber.next(e);
  16493. }
  16494. }
  16495. setupSubscription(target, eventName, handler, subscriber, options);
  16496. });
  16497. }
  16498. function setupSubscription(sourceObj, eventName, handler, subscriber, options) {
  16499. let unsubscribe;
  16500. if (isEventTarget(sourceObj)) {
  16501. const source = sourceObj;
  16502. sourceObj.addEventListener(eventName, handler, options);
  16503. unsubscribe = () => source.removeEventListener(eventName, handler, options);
  16504. } else if (isJQueryStyleEventEmitter(sourceObj)) {
  16505. const source = sourceObj;
  16506. sourceObj.on(eventName, handler);
  16507. unsubscribe = () => source.off(eventName, handler);
  16508. } else if (isNodeStyleEventEmitter(sourceObj)) {
  16509. const source = sourceObj;
  16510. sourceObj.addListener(eventName, handler);
  16511. unsubscribe = () => source.removeListener(eventName, handler);
  16512. } else if (sourceObj && sourceObj.length) {
  16513. for (let i = 0, len = sourceObj.length; i < len; i++) {
  16514. setupSubscription(sourceObj[i], eventName, handler, subscriber, options);
  16515. }
  16516. } else {
  16517. throw new TypeError('Invalid event target');
  16518. }
  16519. subscriber.add(unsubscribe);
  16520. }
  16521. function isNodeStyleEventEmitter(sourceObj) {
  16522. return sourceObj && typeof sourceObj.addListener === 'function' && typeof sourceObj.removeListener === 'function';
  16523. }
  16524. function isJQueryStyleEventEmitter(sourceObj) {
  16525. return sourceObj && typeof sourceObj.on === 'function' && typeof sourceObj.off === 'function';
  16526. }
  16527. function isEventTarget(sourceObj) {
  16528. return sourceObj && typeof sourceObj.addEventListener === 'function' && typeof sourceObj.removeEventListener === 'function';
  16529. }
  16530. /***/ }),
  16531. /***/ 8623:
  16532. /*!*****************************************************************!*\
  16533. !*** ./node_modules/rxjs/_esm2015/internal/observable/merge.js ***!
  16534. \*****************************************************************/
  16535. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  16536. __webpack_require__.r(__webpack_exports__);
  16537. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  16538. /* harmony export */ "merge": () => (/* binding */ merge)
  16539. /* harmony export */ });
  16540. /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Observable */ 2378);
  16541. /* harmony import */ var _util_isScheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/isScheduler */ 7507);
  16542. /* harmony import */ var _operators_mergeAll__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../operators/mergeAll */ 6675);
  16543. /* harmony import */ var _fromArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./fromArray */ 8005);
  16544. function merge(...observables) {
  16545. let concurrent = Number.POSITIVE_INFINITY;
  16546. let scheduler = null;
  16547. let last = observables[observables.length - 1];
  16548. if ((0,_util_isScheduler__WEBPACK_IMPORTED_MODULE_0__.isScheduler)(last)) {
  16549. scheduler = observables.pop();
  16550. if (observables.length > 1 && typeof observables[observables.length - 1] === 'number') {
  16551. concurrent = observables.pop();
  16552. }
  16553. } else if (typeof last === 'number') {
  16554. concurrent = observables.pop();
  16555. }
  16556. if (scheduler === null && observables.length === 1 && observables[0] instanceof _Observable__WEBPACK_IMPORTED_MODULE_1__.Observable) {
  16557. return observables[0];
  16558. }
  16559. return (0,_operators_mergeAll__WEBPACK_IMPORTED_MODULE_2__.mergeAll)(concurrent)((0,_fromArray__WEBPACK_IMPORTED_MODULE_3__.fromArray)(observables, scheduler));
  16560. }
  16561. /***/ }),
  16562. /***/ 4139:
  16563. /*!**************************************************************!*\
  16564. !*** ./node_modules/rxjs/_esm2015/internal/observable/of.js ***!
  16565. \**************************************************************/
  16566. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  16567. __webpack_require__.r(__webpack_exports__);
  16568. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  16569. /* harmony export */ "of": () => (/* binding */ of)
  16570. /* harmony export */ });
  16571. /* harmony import */ var _util_isScheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/isScheduler */ 7507);
  16572. /* harmony import */ var _fromArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./fromArray */ 8005);
  16573. /* harmony import */ var _scheduled_scheduleArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../scheduled/scheduleArray */ 8403);
  16574. function of(...args) {
  16575. let scheduler = args[args.length - 1];
  16576. if ((0,_util_isScheduler__WEBPACK_IMPORTED_MODULE_0__.isScheduler)(scheduler)) {
  16577. args.pop();
  16578. return (0,_scheduled_scheduleArray__WEBPACK_IMPORTED_MODULE_1__.scheduleArray)(args, scheduler);
  16579. } else {
  16580. return (0,_fromArray__WEBPACK_IMPORTED_MODULE_2__.fromArray)(args);
  16581. }
  16582. }
  16583. /***/ }),
  16584. /***/ 6587:
  16585. /*!**********************************************************************!*\
  16586. !*** ./node_modules/rxjs/_esm2015/internal/observable/throwError.js ***!
  16587. \**********************************************************************/
  16588. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  16589. __webpack_require__.r(__webpack_exports__);
  16590. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  16591. /* harmony export */ "throwError": () => (/* binding */ throwError)
  16592. /* harmony export */ });
  16593. /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ 2378);
  16594. function throwError(error, scheduler) {
  16595. if (!scheduler) {
  16596. return new _Observable__WEBPACK_IMPORTED_MODULE_0__.Observable(subscriber => subscriber.error(error));
  16597. } else {
  16598. return new _Observable__WEBPACK_IMPORTED_MODULE_0__.Observable(subscriber => scheduler.schedule(dispatch, 0, {
  16599. error,
  16600. subscriber
  16601. }));
  16602. }
  16603. }
  16604. function dispatch({
  16605. error,
  16606. subscriber
  16607. }) {
  16608. subscriber.error(error);
  16609. }
  16610. /***/ }),
  16611. /***/ 7418:
  16612. /*!*********************************************************************!*\
  16613. !*** ./node_modules/rxjs/_esm2015/internal/operators/catchError.js ***!
  16614. \*********************************************************************/
  16615. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  16616. __webpack_require__.r(__webpack_exports__);
  16617. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  16618. /* harmony export */ "catchError": () => (/* binding */ catchError)
  16619. /* harmony export */ });
  16620. /* harmony import */ var _innerSubscribe__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../innerSubscribe */ 2831);
  16621. function catchError(selector) {
  16622. return function catchErrorOperatorFunction(source) {
  16623. const operator = new CatchOperator(selector);
  16624. const caught = source.lift(operator);
  16625. return operator.caught = caught;
  16626. };
  16627. }
  16628. class CatchOperator {
  16629. constructor(selector) {
  16630. this.selector = selector;
  16631. }
  16632. call(subscriber, source) {
  16633. return source.subscribe(new CatchSubscriber(subscriber, this.selector, this.caught));
  16634. }
  16635. }
  16636. class CatchSubscriber extends _innerSubscribe__WEBPACK_IMPORTED_MODULE_0__.SimpleOuterSubscriber {
  16637. constructor(destination, selector, caught) {
  16638. super(destination);
  16639. this.selector = selector;
  16640. this.caught = caught;
  16641. }
  16642. error(err) {
  16643. if (!this.isStopped) {
  16644. let result;
  16645. try {
  16646. result = this.selector(err, this.caught);
  16647. } catch (err2) {
  16648. super.error(err2);
  16649. return;
  16650. }
  16651. this._unsubscribeAndRecycle();
  16652. const innerSubscriber = new _innerSubscribe__WEBPACK_IMPORTED_MODULE_0__.SimpleInnerSubscriber(this);
  16653. this.add(innerSubscriber);
  16654. const innerSubscription = (0,_innerSubscribe__WEBPACK_IMPORTED_MODULE_0__.innerSubscribe)(result, innerSubscriber);
  16655. if (innerSubscription !== innerSubscriber) {
  16656. this.add(innerSubscription);
  16657. }
  16658. }
  16659. }
  16660. }
  16661. /***/ }),
  16662. /***/ 2692:
  16663. /*!********************************************************************!*\
  16664. !*** ./node_modules/rxjs/_esm2015/internal/operators/concatAll.js ***!
  16665. \********************************************************************/
  16666. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  16667. __webpack_require__.r(__webpack_exports__);
  16668. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  16669. /* harmony export */ "concatAll": () => (/* binding */ concatAll)
  16670. /* harmony export */ });
  16671. /* harmony import */ var _mergeAll__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./mergeAll */ 6675);
  16672. function concatAll() {
  16673. return (0,_mergeAll__WEBPACK_IMPORTED_MODULE_0__.mergeAll)(1);
  16674. }
  16675. /***/ }),
  16676. /***/ 1133:
  16677. /*!********************************************************************!*\
  16678. !*** ./node_modules/rxjs/_esm2015/internal/operators/concatMap.js ***!
  16679. \********************************************************************/
  16680. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  16681. __webpack_require__.r(__webpack_exports__);
  16682. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  16683. /* harmony export */ "concatMap": () => (/* binding */ concatMap)
  16684. /* harmony export */ });
  16685. /* harmony import */ var _mergeMap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./mergeMap */ 522);
  16686. function concatMap(project, resultSelector) {
  16687. return (0,_mergeMap__WEBPACK_IMPORTED_MODULE_0__.mergeMap)(project, resultSelector, 1);
  16688. }
  16689. /***/ }),
  16690. /***/ 9701:
  16691. /*!*************************************************************************!*\
  16692. !*** ./node_modules/rxjs/_esm2015/internal/operators/defaultIfEmpty.js ***!
  16693. \*************************************************************************/
  16694. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  16695. __webpack_require__.r(__webpack_exports__);
  16696. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  16697. /* harmony export */ "defaultIfEmpty": () => (/* binding */ defaultIfEmpty)
  16698. /* harmony export */ });
  16699. /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ 14);
  16700. function defaultIfEmpty(defaultValue = null) {
  16701. return source => source.lift(new DefaultIfEmptyOperator(defaultValue));
  16702. }
  16703. class DefaultIfEmptyOperator {
  16704. constructor(defaultValue) {
  16705. this.defaultValue = defaultValue;
  16706. }
  16707. call(subscriber, source) {
  16708. return source.subscribe(new DefaultIfEmptySubscriber(subscriber, this.defaultValue));
  16709. }
  16710. }
  16711. class DefaultIfEmptySubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber {
  16712. constructor(destination, defaultValue) {
  16713. super(destination);
  16714. this.defaultValue = defaultValue;
  16715. this.isEmpty = true;
  16716. }
  16717. _next(value) {
  16718. this.isEmpty = false;
  16719. this.destination.next(value);
  16720. }
  16721. _complete() {
  16722. if (this.isEmpty) {
  16723. this.destination.next(this.defaultValue);
  16724. }
  16725. this.destination.complete();
  16726. }
  16727. }
  16728. /***/ }),
  16729. /***/ 3298:
  16730. /*!*******************************************************************************!*\
  16731. !*** ./node_modules/rxjs/_esm2015/internal/operators/distinctUntilChanged.js ***!
  16732. \*******************************************************************************/
  16733. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  16734. __webpack_require__.r(__webpack_exports__);
  16735. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  16736. /* harmony export */ "distinctUntilChanged": () => (/* binding */ distinctUntilChanged)
  16737. /* harmony export */ });
  16738. /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ 14);
  16739. function distinctUntilChanged(compare, keySelector) {
  16740. return source => source.lift(new DistinctUntilChangedOperator(compare, keySelector));
  16741. }
  16742. class DistinctUntilChangedOperator {
  16743. constructor(compare, keySelector) {
  16744. this.compare = compare;
  16745. this.keySelector = keySelector;
  16746. }
  16747. call(subscriber, source) {
  16748. return source.subscribe(new DistinctUntilChangedSubscriber(subscriber, this.compare, this.keySelector));
  16749. }
  16750. }
  16751. class DistinctUntilChangedSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber {
  16752. constructor(destination, compare, keySelector) {
  16753. super(destination);
  16754. this.keySelector = keySelector;
  16755. this.hasKey = false;
  16756. if (typeof compare === 'function') {
  16757. this.compare = compare;
  16758. }
  16759. }
  16760. compare(x, y) {
  16761. return x === y;
  16762. }
  16763. _next(value) {
  16764. let key;
  16765. try {
  16766. const {
  16767. keySelector
  16768. } = this;
  16769. key = keySelector ? keySelector(value) : value;
  16770. } catch (err) {
  16771. return this.destination.error(err);
  16772. }
  16773. let result = false;
  16774. if (this.hasKey) {
  16775. try {
  16776. const {
  16777. compare
  16778. } = this;
  16779. result = compare(this.key, key);
  16780. } catch (err) {
  16781. return this.destination.error(err);
  16782. }
  16783. } else {
  16784. this.hasKey = true;
  16785. }
  16786. if (!result) {
  16787. this.key = key;
  16788. this.destination.next(value);
  16789. }
  16790. }
  16791. }
  16792. /***/ }),
  16793. /***/ 9151:
  16794. /*!*****************************************************************!*\
  16795. !*** ./node_modules/rxjs/_esm2015/internal/operators/filter.js ***!
  16796. \*****************************************************************/
  16797. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  16798. __webpack_require__.r(__webpack_exports__);
  16799. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  16800. /* harmony export */ "filter": () => (/* binding */ filter)
  16801. /* harmony export */ });
  16802. /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ 14);
  16803. function filter(predicate, thisArg) {
  16804. return function filterOperatorFunction(source) {
  16805. return source.lift(new FilterOperator(predicate, thisArg));
  16806. };
  16807. }
  16808. class FilterOperator {
  16809. constructor(predicate, thisArg) {
  16810. this.predicate = predicate;
  16811. this.thisArg = thisArg;
  16812. }
  16813. call(subscriber, source) {
  16814. return source.subscribe(new FilterSubscriber(subscriber, this.predicate, this.thisArg));
  16815. }
  16816. }
  16817. class FilterSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber {
  16818. constructor(destination, predicate, thisArg) {
  16819. super(destination);
  16820. this.predicate = predicate;
  16821. this.thisArg = thisArg;
  16822. this.count = 0;
  16823. }
  16824. _next(value) {
  16825. let result;
  16826. try {
  16827. result = this.predicate.call(this.thisArg, value, this.count++);
  16828. } catch (err) {
  16829. this.destination.error(err);
  16830. return;
  16831. }
  16832. if (result) {
  16833. this.destination.next(value);
  16834. }
  16835. }
  16836. }
  16837. /***/ }),
  16838. /***/ 4661:
  16839. /*!*******************************************************************!*\
  16840. !*** ./node_modules/rxjs/_esm2015/internal/operators/finalize.js ***!
  16841. \*******************************************************************/
  16842. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  16843. __webpack_require__.r(__webpack_exports__);
  16844. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  16845. /* harmony export */ "finalize": () => (/* binding */ finalize)
  16846. /* harmony export */ });
  16847. /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ 14);
  16848. /* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscription */ 2425);
  16849. function finalize(callback) {
  16850. return source => source.lift(new FinallyOperator(callback));
  16851. }
  16852. class FinallyOperator {
  16853. constructor(callback) {
  16854. this.callback = callback;
  16855. }
  16856. call(subscriber, source) {
  16857. return source.subscribe(new FinallySubscriber(subscriber, this.callback));
  16858. }
  16859. }
  16860. class FinallySubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber {
  16861. constructor(destination, callback) {
  16862. super(destination);
  16863. this.add(new _Subscription__WEBPACK_IMPORTED_MODULE_1__.Subscription(callback));
  16864. }
  16865. }
  16866. /***/ }),
  16867. /***/ 5670:
  16868. /*!****************************************************************!*\
  16869. !*** ./node_modules/rxjs/_esm2015/internal/operators/first.js ***!
  16870. \****************************************************************/
  16871. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  16872. __webpack_require__.r(__webpack_exports__);
  16873. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  16874. /* harmony export */ "first": () => (/* binding */ first)
  16875. /* harmony export */ });
  16876. /* harmony import */ var _util_EmptyError__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util/EmptyError */ 213);
  16877. /* harmony import */ var _filter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./filter */ 9151);
  16878. /* harmony import */ var _take__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./take */ 3910);
  16879. /* harmony import */ var _defaultIfEmpty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./defaultIfEmpty */ 9701);
  16880. /* harmony import */ var _throwIfEmpty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./throwIfEmpty */ 2013);
  16881. /* harmony import */ var _util_identity__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/identity */ 1356);
  16882. function first(predicate, defaultValue) {
  16883. const hasDefaultValue = arguments.length >= 2;
  16884. return source => source.pipe(predicate ? (0,_filter__WEBPACK_IMPORTED_MODULE_0__.filter)((v, i) => predicate(v, i, source)) : _util_identity__WEBPACK_IMPORTED_MODULE_1__.identity, (0,_take__WEBPACK_IMPORTED_MODULE_2__.take)(1), hasDefaultValue ? (0,_defaultIfEmpty__WEBPACK_IMPORTED_MODULE_3__.defaultIfEmpty)(defaultValue) : (0,_throwIfEmpty__WEBPACK_IMPORTED_MODULE_4__.throwIfEmpty)(() => new _util_EmptyError__WEBPACK_IMPORTED_MODULE_5__.EmptyError()));
  16885. }
  16886. /***/ }),
  16887. /***/ 5690:
  16888. /*!***************************************************************!*\
  16889. !*** ./node_modules/rxjs/_esm2015/internal/operators/last.js ***!
  16890. \***************************************************************/
  16891. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  16892. __webpack_require__.r(__webpack_exports__);
  16893. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  16894. /* harmony export */ "last": () => (/* binding */ last)
  16895. /* harmony export */ });
  16896. /* harmony import */ var _util_EmptyError__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util/EmptyError */ 213);
  16897. /* harmony import */ var _filter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./filter */ 9151);
  16898. /* harmony import */ var _takeLast__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./takeLast */ 7760);
  16899. /* harmony import */ var _throwIfEmpty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./throwIfEmpty */ 2013);
  16900. /* harmony import */ var _defaultIfEmpty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./defaultIfEmpty */ 9701);
  16901. /* harmony import */ var _util_identity__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/identity */ 1356);
  16902. function last(predicate, defaultValue) {
  16903. const hasDefaultValue = arguments.length >= 2;
  16904. return source => source.pipe(predicate ? (0,_filter__WEBPACK_IMPORTED_MODULE_0__.filter)((v, i) => predicate(v, i, source)) : _util_identity__WEBPACK_IMPORTED_MODULE_1__.identity, (0,_takeLast__WEBPACK_IMPORTED_MODULE_2__.takeLast)(1), hasDefaultValue ? (0,_defaultIfEmpty__WEBPACK_IMPORTED_MODULE_3__.defaultIfEmpty)(defaultValue) : (0,_throwIfEmpty__WEBPACK_IMPORTED_MODULE_4__.throwIfEmpty)(() => new _util_EmptyError__WEBPACK_IMPORTED_MODULE_5__.EmptyError()));
  16905. }
  16906. /***/ }),
  16907. /***/ 6942:
  16908. /*!**************************************************************!*\
  16909. !*** ./node_modules/rxjs/_esm2015/internal/operators/map.js ***!
  16910. \**************************************************************/
  16911. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  16912. __webpack_require__.r(__webpack_exports__);
  16913. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  16914. /* harmony export */ "MapOperator": () => (/* binding */ MapOperator),
  16915. /* harmony export */ "map": () => (/* binding */ map)
  16916. /* harmony export */ });
  16917. /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ 14);
  16918. function map(project, thisArg) {
  16919. return function mapOperation(source) {
  16920. if (typeof project !== 'function') {
  16921. throw new TypeError('argument is not a function. Are you looking for `mapTo()`?');
  16922. }
  16923. return source.lift(new MapOperator(project, thisArg));
  16924. };
  16925. }
  16926. class MapOperator {
  16927. constructor(project, thisArg) {
  16928. this.project = project;
  16929. this.thisArg = thisArg;
  16930. }
  16931. call(subscriber, source) {
  16932. return source.subscribe(new MapSubscriber(subscriber, this.project, this.thisArg));
  16933. }
  16934. }
  16935. class MapSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber {
  16936. constructor(destination, project, thisArg) {
  16937. super(destination);
  16938. this.project = project;
  16939. this.count = 0;
  16940. this.thisArg = thisArg || this;
  16941. }
  16942. _next(value) {
  16943. let result;
  16944. try {
  16945. result = this.project.call(this.thisArg, value, this.count++);
  16946. } catch (err) {
  16947. this.destination.error(err);
  16948. return;
  16949. }
  16950. this.destination.next(result);
  16951. }
  16952. }
  16953. /***/ }),
  16954. /***/ 9361:
  16955. /*!****************************************************************!*\
  16956. !*** ./node_modules/rxjs/_esm2015/internal/operators/mapTo.js ***!
  16957. \****************************************************************/
  16958. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  16959. __webpack_require__.r(__webpack_exports__);
  16960. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  16961. /* harmony export */ "mapTo": () => (/* binding */ mapTo)
  16962. /* harmony export */ });
  16963. /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ 14);
  16964. function mapTo(value) {
  16965. return source => source.lift(new MapToOperator(value));
  16966. }
  16967. class MapToOperator {
  16968. constructor(value) {
  16969. this.value = value;
  16970. }
  16971. call(subscriber, source) {
  16972. return source.subscribe(new MapToSubscriber(subscriber, this.value));
  16973. }
  16974. }
  16975. class MapToSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber {
  16976. constructor(destination, value) {
  16977. super(destination);
  16978. this.value = value;
  16979. }
  16980. _next(x) {
  16981. this.destination.next(this.value);
  16982. }
  16983. }
  16984. /***/ }),
  16985. /***/ 6675:
  16986. /*!*******************************************************************!*\
  16987. !*** ./node_modules/rxjs/_esm2015/internal/operators/mergeAll.js ***!
  16988. \*******************************************************************/
  16989. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  16990. __webpack_require__.r(__webpack_exports__);
  16991. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  16992. /* harmony export */ "mergeAll": () => (/* binding */ mergeAll)
  16993. /* harmony export */ });
  16994. /* harmony import */ var _mergeMap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./mergeMap */ 522);
  16995. /* harmony import */ var _util_identity__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/identity */ 1356);
  16996. function mergeAll(concurrent = Number.POSITIVE_INFINITY) {
  16997. return (0,_mergeMap__WEBPACK_IMPORTED_MODULE_0__.mergeMap)(_util_identity__WEBPACK_IMPORTED_MODULE_1__.identity, concurrent);
  16998. }
  16999. /***/ }),
  17000. /***/ 522:
  17001. /*!*******************************************************************!*\
  17002. !*** ./node_modules/rxjs/_esm2015/internal/operators/mergeMap.js ***!
  17003. \*******************************************************************/
  17004. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  17005. __webpack_require__.r(__webpack_exports__);
  17006. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  17007. /* harmony export */ "MergeMapOperator": () => (/* binding */ MergeMapOperator),
  17008. /* harmony export */ "MergeMapSubscriber": () => (/* binding */ MergeMapSubscriber),
  17009. /* harmony export */ "flatMap": () => (/* binding */ flatMap),
  17010. /* harmony export */ "mergeMap": () => (/* binding */ mergeMap)
  17011. /* harmony export */ });
  17012. /* harmony import */ var _map__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./map */ 6942);
  17013. /* harmony import */ var _observable_from__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/from */ 4383);
  17014. /* harmony import */ var _innerSubscribe__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../innerSubscribe */ 2831);
  17015. function mergeMap(project, resultSelector, concurrent = Number.POSITIVE_INFINITY) {
  17016. if (typeof resultSelector === 'function') {
  17017. return source => source.pipe(mergeMap((a, i) => (0,_observable_from__WEBPACK_IMPORTED_MODULE_0__.from)(project(a, i)).pipe((0,_map__WEBPACK_IMPORTED_MODULE_1__.map)((b, ii) => resultSelector(a, b, i, ii))), concurrent));
  17018. } else if (typeof resultSelector === 'number') {
  17019. concurrent = resultSelector;
  17020. }
  17021. return source => source.lift(new MergeMapOperator(project, concurrent));
  17022. }
  17023. class MergeMapOperator {
  17024. constructor(project, concurrent = Number.POSITIVE_INFINITY) {
  17025. this.project = project;
  17026. this.concurrent = concurrent;
  17027. }
  17028. call(observer, source) {
  17029. return source.subscribe(new MergeMapSubscriber(observer, this.project, this.concurrent));
  17030. }
  17031. }
  17032. class MergeMapSubscriber extends _innerSubscribe__WEBPACK_IMPORTED_MODULE_2__.SimpleOuterSubscriber {
  17033. constructor(destination, project, concurrent = Number.POSITIVE_INFINITY) {
  17034. super(destination);
  17035. this.project = project;
  17036. this.concurrent = concurrent;
  17037. this.hasCompleted = false;
  17038. this.buffer = [];
  17039. this.active = 0;
  17040. this.index = 0;
  17041. }
  17042. _next(value) {
  17043. if (this.active < this.concurrent) {
  17044. this._tryNext(value);
  17045. } else {
  17046. this.buffer.push(value);
  17047. }
  17048. }
  17049. _tryNext(value) {
  17050. let result;
  17051. const index = this.index++;
  17052. try {
  17053. result = this.project(value, index);
  17054. } catch (err) {
  17055. this.destination.error(err);
  17056. return;
  17057. }
  17058. this.active++;
  17059. this._innerSub(result);
  17060. }
  17061. _innerSub(ish) {
  17062. const innerSubscriber = new _innerSubscribe__WEBPACK_IMPORTED_MODULE_2__.SimpleInnerSubscriber(this);
  17063. const destination = this.destination;
  17064. destination.add(innerSubscriber);
  17065. const innerSubscription = (0,_innerSubscribe__WEBPACK_IMPORTED_MODULE_2__.innerSubscribe)(ish, innerSubscriber);
  17066. if (innerSubscription !== innerSubscriber) {
  17067. destination.add(innerSubscription);
  17068. }
  17069. }
  17070. _complete() {
  17071. this.hasCompleted = true;
  17072. if (this.active === 0 && this.buffer.length === 0) {
  17073. this.destination.complete();
  17074. }
  17075. this.unsubscribe();
  17076. }
  17077. notifyNext(innerValue) {
  17078. this.destination.next(innerValue);
  17079. }
  17080. notifyComplete() {
  17081. const buffer = this.buffer;
  17082. this.active--;
  17083. if (buffer.length > 0) {
  17084. this._next(buffer.shift());
  17085. } else if (this.active === 0 && this.hasCompleted) {
  17086. this.destination.complete();
  17087. }
  17088. }
  17089. }
  17090. const flatMap = mergeMap;
  17091. /***/ }),
  17092. /***/ 2787:
  17093. /*!********************************************************************!*\
  17094. !*** ./node_modules/rxjs/_esm2015/internal/operators/multicast.js ***!
  17095. \********************************************************************/
  17096. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  17097. __webpack_require__.r(__webpack_exports__);
  17098. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  17099. /* harmony export */ "MulticastOperator": () => (/* binding */ MulticastOperator),
  17100. /* harmony export */ "multicast": () => (/* binding */ multicast)
  17101. /* harmony export */ });
  17102. /* harmony import */ var _observable_ConnectableObservable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/ConnectableObservable */ 4483);
  17103. function multicast(subjectOrSubjectFactory, selector) {
  17104. return function multicastOperatorFunction(source) {
  17105. let subjectFactory;
  17106. if (typeof subjectOrSubjectFactory === 'function') {
  17107. subjectFactory = subjectOrSubjectFactory;
  17108. } else {
  17109. subjectFactory = function subjectFactory() {
  17110. return subjectOrSubjectFactory;
  17111. };
  17112. }
  17113. if (typeof selector === 'function') {
  17114. return source.lift(new MulticastOperator(subjectFactory, selector));
  17115. }
  17116. const connectable = Object.create(source, _observable_ConnectableObservable__WEBPACK_IMPORTED_MODULE_0__.connectableObservableDescriptor);
  17117. connectable.source = source;
  17118. connectable.subjectFactory = subjectFactory;
  17119. return connectable;
  17120. };
  17121. }
  17122. class MulticastOperator {
  17123. constructor(subjectFactory, selector) {
  17124. this.subjectFactory = subjectFactory;
  17125. this.selector = selector;
  17126. }
  17127. call(subscriber, source) {
  17128. const {
  17129. selector
  17130. } = this;
  17131. const subject = this.subjectFactory();
  17132. const subscription = selector(subject).subscribe(subscriber);
  17133. subscription.add(source.subscribe(subject));
  17134. return subscription;
  17135. }
  17136. }
  17137. /***/ }),
  17138. /***/ 8331:
  17139. /*!*******************************************************************!*\
  17140. !*** ./node_modules/rxjs/_esm2015/internal/operators/refCount.js ***!
  17141. \*******************************************************************/
  17142. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  17143. __webpack_require__.r(__webpack_exports__);
  17144. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  17145. /* harmony export */ "refCount": () => (/* binding */ refCount)
  17146. /* harmony export */ });
  17147. /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ 14);
  17148. function refCount() {
  17149. return function refCountOperatorFunction(source) {
  17150. return source.lift(new RefCountOperator(source));
  17151. };
  17152. }
  17153. class RefCountOperator {
  17154. constructor(connectable) {
  17155. this.connectable = connectable;
  17156. }
  17157. call(subscriber, source) {
  17158. const {
  17159. connectable
  17160. } = this;
  17161. connectable._refCount++;
  17162. const refCounter = new RefCountSubscriber(subscriber, connectable);
  17163. const subscription = source.subscribe(refCounter);
  17164. if (!refCounter.closed) {
  17165. refCounter.connection = connectable.connect();
  17166. }
  17167. return subscription;
  17168. }
  17169. }
  17170. class RefCountSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber {
  17171. constructor(destination, connectable) {
  17172. super(destination);
  17173. this.connectable = connectable;
  17174. }
  17175. _unsubscribe() {
  17176. const {
  17177. connectable
  17178. } = this;
  17179. if (!connectable) {
  17180. this.connection = null;
  17181. return;
  17182. }
  17183. this.connectable = null;
  17184. const refCount = connectable._refCount;
  17185. if (refCount <= 0) {
  17186. this.connection = null;
  17187. return;
  17188. }
  17189. connectable._refCount = refCount - 1;
  17190. if (refCount > 1) {
  17191. this.connection = null;
  17192. return;
  17193. }
  17194. const {
  17195. connection
  17196. } = this;
  17197. const sharedConnection = connectable._connection;
  17198. this.connection = null;
  17199. if (sharedConnection && (!connection || sharedConnection === connection)) {
  17200. sharedConnection.unsubscribe();
  17201. }
  17202. }
  17203. }
  17204. /***/ }),
  17205. /***/ 2647:
  17206. /*!***************************************************************!*\
  17207. !*** ./node_modules/rxjs/_esm2015/internal/operators/scan.js ***!
  17208. \***************************************************************/
  17209. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  17210. __webpack_require__.r(__webpack_exports__);
  17211. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  17212. /* harmony export */ "scan": () => (/* binding */ scan)
  17213. /* harmony export */ });
  17214. /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ 14);
  17215. function scan(accumulator, seed) {
  17216. let hasSeed = false;
  17217. if (arguments.length >= 2) {
  17218. hasSeed = true;
  17219. }
  17220. return function scanOperatorFunction(source) {
  17221. return source.lift(new ScanOperator(accumulator, seed, hasSeed));
  17222. };
  17223. }
  17224. class ScanOperator {
  17225. constructor(accumulator, seed, hasSeed = false) {
  17226. this.accumulator = accumulator;
  17227. this.seed = seed;
  17228. this.hasSeed = hasSeed;
  17229. }
  17230. call(subscriber, source) {
  17231. return source.subscribe(new ScanSubscriber(subscriber, this.accumulator, this.seed, this.hasSeed));
  17232. }
  17233. }
  17234. class ScanSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber {
  17235. constructor(destination, accumulator, _seed, hasSeed) {
  17236. super(destination);
  17237. this.accumulator = accumulator;
  17238. this._seed = _seed;
  17239. this.hasSeed = hasSeed;
  17240. this.index = 0;
  17241. }
  17242. get seed() {
  17243. return this._seed;
  17244. }
  17245. set seed(value) {
  17246. this.hasSeed = true;
  17247. this._seed = value;
  17248. }
  17249. _next(value) {
  17250. if (!this.hasSeed) {
  17251. this.seed = value;
  17252. this.destination.next(value);
  17253. } else {
  17254. return this._tryNext(value);
  17255. }
  17256. }
  17257. _tryNext(value) {
  17258. const index = this.index++;
  17259. let result;
  17260. try {
  17261. result = this.accumulator(this.seed, value, index);
  17262. } catch (err) {
  17263. this.destination.error(err);
  17264. }
  17265. this.seed = result;
  17266. this.destination.next(result);
  17267. }
  17268. }
  17269. /***/ }),
  17270. /***/ 4514:
  17271. /*!****************************************************************!*\
  17272. !*** ./node_modules/rxjs/_esm2015/internal/operators/share.js ***!
  17273. \****************************************************************/
  17274. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  17275. __webpack_require__.r(__webpack_exports__);
  17276. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  17277. /* harmony export */ "share": () => (/* binding */ share)
  17278. /* harmony export */ });
  17279. /* harmony import */ var _multicast__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./multicast */ 2787);
  17280. /* harmony import */ var _refCount__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./refCount */ 8331);
  17281. /* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subject */ 2218);
  17282. function shareSubjectFactory() {
  17283. return new _Subject__WEBPACK_IMPORTED_MODULE_0__.Subject();
  17284. }
  17285. function share() {
  17286. return source => (0,_refCount__WEBPACK_IMPORTED_MODULE_1__.refCount)()((0,_multicast__WEBPACK_IMPORTED_MODULE_2__.multicast)(shareSubjectFactory)(source));
  17287. }
  17288. /***/ }),
  17289. /***/ 5722:
  17290. /*!********************************************************************!*\
  17291. !*** ./node_modules/rxjs/_esm2015/internal/operators/startWith.js ***!
  17292. \********************************************************************/
  17293. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  17294. __webpack_require__.r(__webpack_exports__);
  17295. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  17296. /* harmony export */ "startWith": () => (/* binding */ startWith)
  17297. /* harmony export */ });
  17298. /* harmony import */ var _observable_concat__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../observable/concat */ 5828);
  17299. /* harmony import */ var _util_isScheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/isScheduler */ 7507);
  17300. function startWith(...array) {
  17301. const scheduler = array[array.length - 1];
  17302. if ((0,_util_isScheduler__WEBPACK_IMPORTED_MODULE_0__.isScheduler)(scheduler)) {
  17303. array.pop();
  17304. return source => (0,_observable_concat__WEBPACK_IMPORTED_MODULE_1__.concat)(array, source, scheduler);
  17305. } else {
  17306. return source => (0,_observable_concat__WEBPACK_IMPORTED_MODULE_1__.concat)(array, source);
  17307. }
  17308. }
  17309. /***/ }),
  17310. /***/ 9095:
  17311. /*!********************************************************************!*\
  17312. !*** ./node_modules/rxjs/_esm2015/internal/operators/switchMap.js ***!
  17313. \********************************************************************/
  17314. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  17315. __webpack_require__.r(__webpack_exports__);
  17316. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  17317. /* harmony export */ "switchMap": () => (/* binding */ switchMap)
  17318. /* harmony export */ });
  17319. /* harmony import */ var _map__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./map */ 6942);
  17320. /* harmony import */ var _observable_from__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/from */ 4383);
  17321. /* harmony import */ var _innerSubscribe__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../innerSubscribe */ 2831);
  17322. function switchMap(project, resultSelector) {
  17323. if (typeof resultSelector === 'function') {
  17324. return source => source.pipe(switchMap((a, i) => (0,_observable_from__WEBPACK_IMPORTED_MODULE_0__.from)(project(a, i)).pipe((0,_map__WEBPACK_IMPORTED_MODULE_1__.map)((b, ii) => resultSelector(a, b, i, ii)))));
  17325. }
  17326. return source => source.lift(new SwitchMapOperator(project));
  17327. }
  17328. class SwitchMapOperator {
  17329. constructor(project) {
  17330. this.project = project;
  17331. }
  17332. call(subscriber, source) {
  17333. return source.subscribe(new SwitchMapSubscriber(subscriber, this.project));
  17334. }
  17335. }
  17336. class SwitchMapSubscriber extends _innerSubscribe__WEBPACK_IMPORTED_MODULE_2__.SimpleOuterSubscriber {
  17337. constructor(destination, project) {
  17338. super(destination);
  17339. this.project = project;
  17340. this.index = 0;
  17341. }
  17342. _next(value) {
  17343. let result;
  17344. const index = this.index++;
  17345. try {
  17346. result = this.project(value, index);
  17347. } catch (error) {
  17348. this.destination.error(error);
  17349. return;
  17350. }
  17351. this._innerSub(result);
  17352. }
  17353. _innerSub(result) {
  17354. const innerSubscription = this.innerSubscription;
  17355. if (innerSubscription) {
  17356. innerSubscription.unsubscribe();
  17357. }
  17358. const innerSubscriber = new _innerSubscribe__WEBPACK_IMPORTED_MODULE_2__.SimpleInnerSubscriber(this);
  17359. const destination = this.destination;
  17360. destination.add(innerSubscriber);
  17361. this.innerSubscription = (0,_innerSubscribe__WEBPACK_IMPORTED_MODULE_2__.innerSubscribe)(result, innerSubscriber);
  17362. if (this.innerSubscription !== innerSubscriber) {
  17363. destination.add(this.innerSubscription);
  17364. }
  17365. }
  17366. _complete() {
  17367. const {
  17368. innerSubscription
  17369. } = this;
  17370. if (!innerSubscription || innerSubscription.closed) {
  17371. super._complete();
  17372. }
  17373. this.unsubscribe();
  17374. }
  17375. _unsubscribe() {
  17376. this.innerSubscription = undefined;
  17377. }
  17378. notifyComplete() {
  17379. this.innerSubscription = undefined;
  17380. if (this.isStopped) {
  17381. super._complete();
  17382. }
  17383. }
  17384. notifyNext(innerValue) {
  17385. this.destination.next(innerValue);
  17386. }
  17387. }
  17388. /***/ }),
  17389. /***/ 3910:
  17390. /*!***************************************************************!*\
  17391. !*** ./node_modules/rxjs/_esm2015/internal/operators/take.js ***!
  17392. \***************************************************************/
  17393. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  17394. __webpack_require__.r(__webpack_exports__);
  17395. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  17396. /* harmony export */ "take": () => (/* binding */ take)
  17397. /* harmony export */ });
  17398. /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Subscriber */ 14);
  17399. /* harmony import */ var _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/ArgumentOutOfRangeError */ 2846);
  17400. /* harmony import */ var _observable_empty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/empty */ 6439);
  17401. function take(count) {
  17402. return source => {
  17403. if (count === 0) {
  17404. return (0,_observable_empty__WEBPACK_IMPORTED_MODULE_0__.empty)();
  17405. } else {
  17406. return source.lift(new TakeOperator(count));
  17407. }
  17408. };
  17409. }
  17410. class TakeOperator {
  17411. constructor(total) {
  17412. this.total = total;
  17413. if (this.total < 0) {
  17414. throw new _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_1__.ArgumentOutOfRangeError();
  17415. }
  17416. }
  17417. call(subscriber, source) {
  17418. return source.subscribe(new TakeSubscriber(subscriber, this.total));
  17419. }
  17420. }
  17421. class TakeSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_2__.Subscriber {
  17422. constructor(destination, total) {
  17423. super(destination);
  17424. this.total = total;
  17425. this.count = 0;
  17426. }
  17427. _next(value) {
  17428. const total = this.total;
  17429. const count = ++this.count;
  17430. if (count <= total) {
  17431. this.destination.next(value);
  17432. if (count === total) {
  17433. this.destination.complete();
  17434. this.unsubscribe();
  17435. }
  17436. }
  17437. }
  17438. }
  17439. /***/ }),
  17440. /***/ 7760:
  17441. /*!*******************************************************************!*\
  17442. !*** ./node_modules/rxjs/_esm2015/internal/operators/takeLast.js ***!
  17443. \*******************************************************************/
  17444. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  17445. __webpack_require__.r(__webpack_exports__);
  17446. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  17447. /* harmony export */ "takeLast": () => (/* binding */ takeLast)
  17448. /* harmony export */ });
  17449. /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Subscriber */ 14);
  17450. /* harmony import */ var _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/ArgumentOutOfRangeError */ 2846);
  17451. /* harmony import */ var _observable_empty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/empty */ 6439);
  17452. function takeLast(count) {
  17453. return function takeLastOperatorFunction(source) {
  17454. if (count === 0) {
  17455. return (0,_observable_empty__WEBPACK_IMPORTED_MODULE_0__.empty)();
  17456. } else {
  17457. return source.lift(new TakeLastOperator(count));
  17458. }
  17459. };
  17460. }
  17461. class TakeLastOperator {
  17462. constructor(total) {
  17463. this.total = total;
  17464. if (this.total < 0) {
  17465. throw new _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_1__.ArgumentOutOfRangeError();
  17466. }
  17467. }
  17468. call(subscriber, source) {
  17469. return source.subscribe(new TakeLastSubscriber(subscriber, this.total));
  17470. }
  17471. }
  17472. class TakeLastSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_2__.Subscriber {
  17473. constructor(destination, total) {
  17474. super(destination);
  17475. this.total = total;
  17476. this.ring = new Array();
  17477. this.count = 0;
  17478. }
  17479. _next(value) {
  17480. const ring = this.ring;
  17481. const total = this.total;
  17482. const count = this.count++;
  17483. if (ring.length < total) {
  17484. ring.push(value);
  17485. } else {
  17486. const index = count % total;
  17487. ring[index] = value;
  17488. }
  17489. }
  17490. _complete() {
  17491. const destination = this.destination;
  17492. let count = this.count;
  17493. if (count > 0) {
  17494. const total = this.count >= this.total ? this.total : this.count;
  17495. const ring = this.ring;
  17496. for (let i = 0; i < total; i++) {
  17497. const idx = count++ % total;
  17498. destination.next(ring[idx]);
  17499. }
  17500. }
  17501. destination.complete();
  17502. }
  17503. }
  17504. /***/ }),
  17505. /***/ 5050:
  17506. /*!********************************************************************!*\
  17507. !*** ./node_modules/rxjs/_esm2015/internal/operators/takeWhile.js ***!
  17508. \********************************************************************/
  17509. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  17510. __webpack_require__.r(__webpack_exports__);
  17511. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  17512. /* harmony export */ "takeWhile": () => (/* binding */ takeWhile)
  17513. /* harmony export */ });
  17514. /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ 14);
  17515. function takeWhile(predicate, inclusive = false) {
  17516. return source => source.lift(new TakeWhileOperator(predicate, inclusive));
  17517. }
  17518. class TakeWhileOperator {
  17519. constructor(predicate, inclusive) {
  17520. this.predicate = predicate;
  17521. this.inclusive = inclusive;
  17522. }
  17523. call(subscriber, source) {
  17524. return source.subscribe(new TakeWhileSubscriber(subscriber, this.predicate, this.inclusive));
  17525. }
  17526. }
  17527. class TakeWhileSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber {
  17528. constructor(destination, predicate, inclusive) {
  17529. super(destination);
  17530. this.predicate = predicate;
  17531. this.inclusive = inclusive;
  17532. this.index = 0;
  17533. }
  17534. _next(value) {
  17535. const destination = this.destination;
  17536. let result;
  17537. try {
  17538. result = this.predicate(value, this.index++);
  17539. } catch (err) {
  17540. destination.error(err);
  17541. return;
  17542. }
  17543. this.nextOrComplete(value, result);
  17544. }
  17545. nextOrComplete(value, predicateResult) {
  17546. const destination = this.destination;
  17547. if (Boolean(predicateResult)) {
  17548. destination.next(value);
  17549. } else {
  17550. if (this.inclusive) {
  17551. destination.next(value);
  17552. }
  17553. destination.complete();
  17554. }
  17555. }
  17556. }
  17557. /***/ }),
  17558. /***/ 8759:
  17559. /*!**************************************************************!*\
  17560. !*** ./node_modules/rxjs/_esm2015/internal/operators/tap.js ***!
  17561. \**************************************************************/
  17562. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  17563. __webpack_require__.r(__webpack_exports__);
  17564. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  17565. /* harmony export */ "tap": () => (/* binding */ tap)
  17566. /* harmony export */ });
  17567. /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ 14);
  17568. /* harmony import */ var _util_noop__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/noop */ 6882);
  17569. /* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/isFunction */ 1900);
  17570. function tap(nextOrObserver, error, complete) {
  17571. return function tapOperatorFunction(source) {
  17572. return source.lift(new DoOperator(nextOrObserver, error, complete));
  17573. };
  17574. }
  17575. class DoOperator {
  17576. constructor(nextOrObserver, error, complete) {
  17577. this.nextOrObserver = nextOrObserver;
  17578. this.error = error;
  17579. this.complete = complete;
  17580. }
  17581. call(subscriber, source) {
  17582. return source.subscribe(new TapSubscriber(subscriber, this.nextOrObserver, this.error, this.complete));
  17583. }
  17584. }
  17585. class TapSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber {
  17586. constructor(destination, observerOrNext, error, complete) {
  17587. super(destination);
  17588. this._tapNext = _util_noop__WEBPACK_IMPORTED_MODULE_1__.noop;
  17589. this._tapError = _util_noop__WEBPACK_IMPORTED_MODULE_1__.noop;
  17590. this._tapComplete = _util_noop__WEBPACK_IMPORTED_MODULE_1__.noop;
  17591. this._tapError = error || _util_noop__WEBPACK_IMPORTED_MODULE_1__.noop;
  17592. this._tapComplete = complete || _util_noop__WEBPACK_IMPORTED_MODULE_1__.noop;
  17593. if ((0,_util_isFunction__WEBPACK_IMPORTED_MODULE_2__.isFunction)(observerOrNext)) {
  17594. this._context = this;
  17595. this._tapNext = observerOrNext;
  17596. } else if (observerOrNext) {
  17597. this._context = observerOrNext;
  17598. this._tapNext = observerOrNext.next || _util_noop__WEBPACK_IMPORTED_MODULE_1__.noop;
  17599. this._tapError = observerOrNext.error || _util_noop__WEBPACK_IMPORTED_MODULE_1__.noop;
  17600. this._tapComplete = observerOrNext.complete || _util_noop__WEBPACK_IMPORTED_MODULE_1__.noop;
  17601. }
  17602. }
  17603. _next(value) {
  17604. try {
  17605. this._tapNext.call(this._context, value);
  17606. } catch (err) {
  17607. this.destination.error(err);
  17608. return;
  17609. }
  17610. this.destination.next(value);
  17611. }
  17612. _error(err) {
  17613. try {
  17614. this._tapError.call(this._context, err);
  17615. } catch (err) {
  17616. this.destination.error(err);
  17617. return;
  17618. }
  17619. this.destination.error(err);
  17620. }
  17621. _complete() {
  17622. try {
  17623. this._tapComplete.call(this._context);
  17624. } catch (err) {
  17625. this.destination.error(err);
  17626. return;
  17627. }
  17628. return this.destination.complete();
  17629. }
  17630. }
  17631. /***/ }),
  17632. /***/ 2013:
  17633. /*!***********************************************************************!*\
  17634. !*** ./node_modules/rxjs/_esm2015/internal/operators/throwIfEmpty.js ***!
  17635. \***********************************************************************/
  17636. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  17637. __webpack_require__.r(__webpack_exports__);
  17638. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  17639. /* harmony export */ "throwIfEmpty": () => (/* binding */ throwIfEmpty)
  17640. /* harmony export */ });
  17641. /* harmony import */ var _util_EmptyError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/EmptyError */ 213);
  17642. /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ 14);
  17643. function throwIfEmpty(errorFactory = defaultErrorFactory) {
  17644. return source => {
  17645. return source.lift(new ThrowIfEmptyOperator(errorFactory));
  17646. };
  17647. }
  17648. class ThrowIfEmptyOperator {
  17649. constructor(errorFactory) {
  17650. this.errorFactory = errorFactory;
  17651. }
  17652. call(subscriber, source) {
  17653. return source.subscribe(new ThrowIfEmptySubscriber(subscriber, this.errorFactory));
  17654. }
  17655. }
  17656. class ThrowIfEmptySubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber {
  17657. constructor(destination, errorFactory) {
  17658. super(destination);
  17659. this.errorFactory = errorFactory;
  17660. this.hasValue = false;
  17661. }
  17662. _next(value) {
  17663. this.hasValue = true;
  17664. this.destination.next(value);
  17665. }
  17666. _complete() {
  17667. if (!this.hasValue) {
  17668. let err;
  17669. try {
  17670. err = this.errorFactory();
  17671. } catch (e) {
  17672. err = e;
  17673. }
  17674. this.destination.error(err);
  17675. } else {
  17676. return this.destination.complete();
  17677. }
  17678. }
  17679. }
  17680. function defaultErrorFactory() {
  17681. return new _util_EmptyError__WEBPACK_IMPORTED_MODULE_1__.EmptyError();
  17682. }
  17683. /***/ }),
  17684. /***/ 8403:
  17685. /*!************************************************************************!*\
  17686. !*** ./node_modules/rxjs/_esm2015/internal/scheduled/scheduleArray.js ***!
  17687. \************************************************************************/
  17688. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  17689. __webpack_require__.r(__webpack_exports__);
  17690. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  17691. /* harmony export */ "scheduleArray": () => (/* binding */ scheduleArray)
  17692. /* harmony export */ });
  17693. /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ 2378);
  17694. /* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscription */ 2425);
  17695. function scheduleArray(input, scheduler) {
  17696. return new _Observable__WEBPACK_IMPORTED_MODULE_0__.Observable(subscriber => {
  17697. const sub = new _Subscription__WEBPACK_IMPORTED_MODULE_1__.Subscription();
  17698. let i = 0;
  17699. sub.add(scheduler.schedule(function () {
  17700. if (i === input.length) {
  17701. subscriber.complete();
  17702. return;
  17703. }
  17704. subscriber.next(input[i++]);
  17705. if (!subscriber.closed) {
  17706. sub.add(this.schedule());
  17707. }
  17708. }));
  17709. return sub;
  17710. });
  17711. }
  17712. /***/ }),
  17713. /***/ 1232:
  17714. /*!***************************************************************************!*\
  17715. !*** ./node_modules/rxjs/_esm2015/internal/scheduled/scheduleIterable.js ***!
  17716. \***************************************************************************/
  17717. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  17718. __webpack_require__.r(__webpack_exports__);
  17719. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  17720. /* harmony export */ "scheduleIterable": () => (/* binding */ scheduleIterable)
  17721. /* harmony export */ });
  17722. /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ 2378);
  17723. /* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscription */ 2425);
  17724. /* harmony import */ var _symbol_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../symbol/iterator */ 2803);
  17725. function scheduleIterable(input, scheduler) {
  17726. if (!input) {
  17727. throw new Error('Iterable cannot be null');
  17728. }
  17729. return new _Observable__WEBPACK_IMPORTED_MODULE_0__.Observable(subscriber => {
  17730. const sub = new _Subscription__WEBPACK_IMPORTED_MODULE_1__.Subscription();
  17731. let iterator;
  17732. sub.add(() => {
  17733. if (iterator && typeof iterator.return === 'function') {
  17734. iterator.return();
  17735. }
  17736. });
  17737. sub.add(scheduler.schedule(() => {
  17738. iterator = input[_symbol_iterator__WEBPACK_IMPORTED_MODULE_2__.iterator]();
  17739. sub.add(scheduler.schedule(function () {
  17740. if (subscriber.closed) {
  17741. return;
  17742. }
  17743. let value;
  17744. let done;
  17745. try {
  17746. const result = iterator.next();
  17747. value = result.value;
  17748. done = result.done;
  17749. } catch (err) {
  17750. subscriber.error(err);
  17751. return;
  17752. }
  17753. if (done) {
  17754. subscriber.complete();
  17755. } else {
  17756. subscriber.next(value);
  17757. this.schedule();
  17758. }
  17759. }));
  17760. }));
  17761. return sub;
  17762. });
  17763. }
  17764. /***/ }),
  17765. /***/ 1145:
  17766. /*!*****************************************************************************!*\
  17767. !*** ./node_modules/rxjs/_esm2015/internal/scheduled/scheduleObservable.js ***!
  17768. \*****************************************************************************/
  17769. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  17770. __webpack_require__.r(__webpack_exports__);
  17771. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  17772. /* harmony export */ "scheduleObservable": () => (/* binding */ scheduleObservable)
  17773. /* harmony export */ });
  17774. /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ 2378);
  17775. /* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscription */ 2425);
  17776. /* harmony import */ var _symbol_observable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../symbol/observable */ 6831);
  17777. function scheduleObservable(input, scheduler) {
  17778. return new _Observable__WEBPACK_IMPORTED_MODULE_0__.Observable(subscriber => {
  17779. const sub = new _Subscription__WEBPACK_IMPORTED_MODULE_1__.Subscription();
  17780. sub.add(scheduler.schedule(() => {
  17781. const observable = input[_symbol_observable__WEBPACK_IMPORTED_MODULE_2__.observable]();
  17782. sub.add(observable.subscribe({
  17783. next(value) {
  17784. sub.add(scheduler.schedule(() => subscriber.next(value)));
  17785. },
  17786. error(err) {
  17787. sub.add(scheduler.schedule(() => subscriber.error(err)));
  17788. },
  17789. complete() {
  17790. sub.add(scheduler.schedule(() => subscriber.complete()));
  17791. }
  17792. }));
  17793. }));
  17794. return sub;
  17795. });
  17796. }
  17797. /***/ }),
  17798. /***/ 467:
  17799. /*!**************************************************************************!*\
  17800. !*** ./node_modules/rxjs/_esm2015/internal/scheduled/schedulePromise.js ***!
  17801. \**************************************************************************/
  17802. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  17803. __webpack_require__.r(__webpack_exports__);
  17804. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  17805. /* harmony export */ "schedulePromise": () => (/* binding */ schedulePromise)
  17806. /* harmony export */ });
  17807. /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ 2378);
  17808. /* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscription */ 2425);
  17809. function schedulePromise(input, scheduler) {
  17810. return new _Observable__WEBPACK_IMPORTED_MODULE_0__.Observable(subscriber => {
  17811. const sub = new _Subscription__WEBPACK_IMPORTED_MODULE_1__.Subscription();
  17812. sub.add(scheduler.schedule(() => input.then(value => {
  17813. sub.add(scheduler.schedule(() => {
  17814. subscriber.next(value);
  17815. sub.add(scheduler.schedule(() => subscriber.complete()));
  17816. }));
  17817. }, err => {
  17818. sub.add(scheduler.schedule(() => subscriber.error(err)));
  17819. })));
  17820. return sub;
  17821. });
  17822. }
  17823. /***/ }),
  17824. /***/ 2476:
  17825. /*!********************************************************************!*\
  17826. !*** ./node_modules/rxjs/_esm2015/internal/scheduled/scheduled.js ***!
  17827. \********************************************************************/
  17828. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  17829. __webpack_require__.r(__webpack_exports__);
  17830. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  17831. /* harmony export */ "scheduled": () => (/* binding */ scheduled)
  17832. /* harmony export */ });
  17833. /* harmony import */ var _scheduleObservable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./scheduleObservable */ 1145);
  17834. /* harmony import */ var _schedulePromise__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./schedulePromise */ 467);
  17835. /* harmony import */ var _scheduleArray__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./scheduleArray */ 8403);
  17836. /* harmony import */ var _scheduleIterable__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./scheduleIterable */ 1232);
  17837. /* harmony import */ var _util_isInteropObservable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/isInteropObservable */ 5781);
  17838. /* harmony import */ var _util_isPromise__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/isPromise */ 5192);
  17839. /* harmony import */ var _util_isArrayLike__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util/isArrayLike */ 5122);
  17840. /* harmony import */ var _util_isIterable__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../util/isIterable */ 9674);
  17841. function scheduled(input, scheduler) {
  17842. if (input != null) {
  17843. if ((0,_util_isInteropObservable__WEBPACK_IMPORTED_MODULE_0__.isInteropObservable)(input)) {
  17844. return (0,_scheduleObservable__WEBPACK_IMPORTED_MODULE_1__.scheduleObservable)(input, scheduler);
  17845. } else if ((0,_util_isPromise__WEBPACK_IMPORTED_MODULE_2__.isPromise)(input)) {
  17846. return (0,_schedulePromise__WEBPACK_IMPORTED_MODULE_3__.schedulePromise)(input, scheduler);
  17847. } else if ((0,_util_isArrayLike__WEBPACK_IMPORTED_MODULE_4__.isArrayLike)(input)) {
  17848. return (0,_scheduleArray__WEBPACK_IMPORTED_MODULE_5__.scheduleArray)(input, scheduler);
  17849. } else if ((0,_util_isIterable__WEBPACK_IMPORTED_MODULE_6__.isIterable)(input) || typeof input === 'string') {
  17850. return (0,_scheduleIterable__WEBPACK_IMPORTED_MODULE_7__.scheduleIterable)(input, scheduler);
  17851. }
  17852. }
  17853. throw new TypeError((input !== null && typeof input || input) + ' is not observable');
  17854. }
  17855. /***/ }),
  17856. /***/ 2803:
  17857. /*!****************************************************************!*\
  17858. !*** ./node_modules/rxjs/_esm2015/internal/symbol/iterator.js ***!
  17859. \****************************************************************/
  17860. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  17861. __webpack_require__.r(__webpack_exports__);
  17862. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  17863. /* harmony export */ "$$iterator": () => (/* binding */ $$iterator),
  17864. /* harmony export */ "getSymbolIterator": () => (/* binding */ getSymbolIterator),
  17865. /* harmony export */ "iterator": () => (/* binding */ iterator)
  17866. /* harmony export */ });
  17867. function getSymbolIterator() {
  17868. if (typeof Symbol !== 'function' || !Symbol.iterator) {
  17869. return '@@iterator';
  17870. }
  17871. return Symbol.iterator;
  17872. }
  17873. const iterator = getSymbolIterator();
  17874. const $$iterator = iterator;
  17875. /***/ }),
  17876. /***/ 6831:
  17877. /*!******************************************************************!*\
  17878. !*** ./node_modules/rxjs/_esm2015/internal/symbol/observable.js ***!
  17879. \******************************************************************/
  17880. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  17881. __webpack_require__.r(__webpack_exports__);
  17882. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  17883. /* harmony export */ "observable": () => (/* binding */ observable)
  17884. /* harmony export */ });
  17885. const observable = (() => typeof Symbol === 'function' && Symbol.observable || '@@observable')();
  17886. /***/ }),
  17887. /***/ 1482:
  17888. /*!********************************************************************!*\
  17889. !*** ./node_modules/rxjs/_esm2015/internal/symbol/rxSubscriber.js ***!
  17890. \********************************************************************/
  17891. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  17892. __webpack_require__.r(__webpack_exports__);
  17893. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  17894. /* harmony export */ "$$rxSubscriber": () => (/* binding */ $$rxSubscriber),
  17895. /* harmony export */ "rxSubscriber": () => (/* binding */ rxSubscriber)
  17896. /* harmony export */ });
  17897. const rxSubscriber = (() => typeof Symbol === 'function' ? Symbol('rxSubscriber') : '@@rxSubscriber_' + Math.random())();
  17898. const $$rxSubscriber = rxSubscriber;
  17899. /***/ }),
  17900. /***/ 2846:
  17901. /*!*****************************************************************************!*\
  17902. !*** ./node_modules/rxjs/_esm2015/internal/util/ArgumentOutOfRangeError.js ***!
  17903. \*****************************************************************************/
  17904. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  17905. __webpack_require__.r(__webpack_exports__);
  17906. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  17907. /* harmony export */ "ArgumentOutOfRangeError": () => (/* binding */ ArgumentOutOfRangeError)
  17908. /* harmony export */ });
  17909. const ArgumentOutOfRangeErrorImpl = (() => {
  17910. function ArgumentOutOfRangeErrorImpl() {
  17911. Error.call(this);
  17912. this.message = 'argument out of range';
  17913. this.name = 'ArgumentOutOfRangeError';
  17914. return this;
  17915. }
  17916. ArgumentOutOfRangeErrorImpl.prototype = Object.create(Error.prototype);
  17917. return ArgumentOutOfRangeErrorImpl;
  17918. })();
  17919. const ArgumentOutOfRangeError = ArgumentOutOfRangeErrorImpl;
  17920. /***/ }),
  17921. /***/ 213:
  17922. /*!****************************************************************!*\
  17923. !*** ./node_modules/rxjs/_esm2015/internal/util/EmptyError.js ***!
  17924. \****************************************************************/
  17925. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  17926. __webpack_require__.r(__webpack_exports__);
  17927. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  17928. /* harmony export */ "EmptyError": () => (/* binding */ EmptyError)
  17929. /* harmony export */ });
  17930. const EmptyErrorImpl = (() => {
  17931. function EmptyErrorImpl() {
  17932. Error.call(this);
  17933. this.message = 'no elements in sequence';
  17934. this.name = 'EmptyError';
  17935. return this;
  17936. }
  17937. EmptyErrorImpl.prototype = Object.create(Error.prototype);
  17938. return EmptyErrorImpl;
  17939. })();
  17940. const EmptyError = EmptyErrorImpl;
  17941. /***/ }),
  17942. /***/ 9086:
  17943. /*!*****************************************************************************!*\
  17944. !*** ./node_modules/rxjs/_esm2015/internal/util/ObjectUnsubscribedError.js ***!
  17945. \*****************************************************************************/
  17946. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  17947. __webpack_require__.r(__webpack_exports__);
  17948. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  17949. /* harmony export */ "ObjectUnsubscribedError": () => (/* binding */ ObjectUnsubscribedError)
  17950. /* harmony export */ });
  17951. const ObjectUnsubscribedErrorImpl = (() => {
  17952. function ObjectUnsubscribedErrorImpl() {
  17953. Error.call(this);
  17954. this.message = 'object unsubscribed';
  17955. this.name = 'ObjectUnsubscribedError';
  17956. return this;
  17957. }
  17958. ObjectUnsubscribedErrorImpl.prototype = Object.create(Error.prototype);
  17959. return ObjectUnsubscribedErrorImpl;
  17960. })();
  17961. const ObjectUnsubscribedError = ObjectUnsubscribedErrorImpl;
  17962. /***/ }),
  17963. /***/ 7875:
  17964. /*!*************************************************************************!*\
  17965. !*** ./node_modules/rxjs/_esm2015/internal/util/UnsubscriptionError.js ***!
  17966. \*************************************************************************/
  17967. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  17968. __webpack_require__.r(__webpack_exports__);
  17969. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  17970. /* harmony export */ "UnsubscriptionError": () => (/* binding */ UnsubscriptionError)
  17971. /* harmony export */ });
  17972. const UnsubscriptionErrorImpl = (() => {
  17973. function UnsubscriptionErrorImpl(errors) {
  17974. Error.call(this);
  17975. this.message = errors ? `${errors.length} errors occurred during unsubscription:
  17976. ${errors.map((err, i) => `${i + 1}) ${err.toString()}`).join('\n ')}` : '';
  17977. this.name = 'UnsubscriptionError';
  17978. this.errors = errors;
  17979. return this;
  17980. }
  17981. UnsubscriptionErrorImpl.prototype = Object.create(Error.prototype);
  17982. return UnsubscriptionErrorImpl;
  17983. })();
  17984. const UnsubscriptionError = UnsubscriptionErrorImpl;
  17985. /***/ }),
  17986. /***/ 5739:
  17987. /*!********************************************************************!*\
  17988. !*** ./node_modules/rxjs/_esm2015/internal/util/canReportError.js ***!
  17989. \********************************************************************/
  17990. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  17991. __webpack_require__.r(__webpack_exports__);
  17992. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  17993. /* harmony export */ "canReportError": () => (/* binding */ canReportError)
  17994. /* harmony export */ });
  17995. /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ 14);
  17996. function canReportError(observer) {
  17997. while (observer) {
  17998. const {
  17999. closed,
  18000. destination,
  18001. isStopped
  18002. } = observer;
  18003. if (closed || isStopped) {
  18004. return false;
  18005. } else if (destination && destination instanceof _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber) {
  18006. observer = destination;
  18007. } else {
  18008. observer = null;
  18009. }
  18010. }
  18011. return true;
  18012. }
  18013. /***/ }),
  18014. /***/ 8897:
  18015. /*!*********************************************************************!*\
  18016. !*** ./node_modules/rxjs/_esm2015/internal/util/hostReportError.js ***!
  18017. \*********************************************************************/
  18018. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  18019. __webpack_require__.r(__webpack_exports__);
  18020. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  18021. /* harmony export */ "hostReportError": () => (/* binding */ hostReportError)
  18022. /* harmony export */ });
  18023. function hostReportError(err) {
  18024. setTimeout(() => {
  18025. throw err;
  18026. }, 0);
  18027. }
  18028. /***/ }),
  18029. /***/ 1356:
  18030. /*!**************************************************************!*\
  18031. !*** ./node_modules/rxjs/_esm2015/internal/util/identity.js ***!
  18032. \**************************************************************/
  18033. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  18034. __webpack_require__.r(__webpack_exports__);
  18035. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  18036. /* harmony export */ "identity": () => (/* binding */ identity)
  18037. /* harmony export */ });
  18038. function identity(x) {
  18039. return x;
  18040. }
  18041. /***/ }),
  18042. /***/ 4327:
  18043. /*!*************************************************************!*\
  18044. !*** ./node_modules/rxjs/_esm2015/internal/util/isArray.js ***!
  18045. \*************************************************************/
  18046. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  18047. __webpack_require__.r(__webpack_exports__);
  18048. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  18049. /* harmony export */ "isArray": () => (/* binding */ isArray)
  18050. /* harmony export */ });
  18051. const isArray = (() => Array.isArray || (x => x && typeof x.length === 'number'))();
  18052. /***/ }),
  18053. /***/ 5122:
  18054. /*!*****************************************************************!*\
  18055. !*** ./node_modules/rxjs/_esm2015/internal/util/isArrayLike.js ***!
  18056. \*****************************************************************/
  18057. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  18058. __webpack_require__.r(__webpack_exports__);
  18059. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  18060. /* harmony export */ "isArrayLike": () => (/* binding */ isArrayLike)
  18061. /* harmony export */ });
  18062. const isArrayLike = x => x && typeof x.length === 'number' && typeof x !== 'function';
  18063. /***/ }),
  18064. /***/ 1900:
  18065. /*!****************************************************************!*\
  18066. !*** ./node_modules/rxjs/_esm2015/internal/util/isFunction.js ***!
  18067. \****************************************************************/
  18068. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  18069. __webpack_require__.r(__webpack_exports__);
  18070. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  18071. /* harmony export */ "isFunction": () => (/* binding */ isFunction)
  18072. /* harmony export */ });
  18073. function isFunction(x) {
  18074. return typeof x === 'function';
  18075. }
  18076. /***/ }),
  18077. /***/ 5781:
  18078. /*!*************************************************************************!*\
  18079. !*** ./node_modules/rxjs/_esm2015/internal/util/isInteropObservable.js ***!
  18080. \*************************************************************************/
  18081. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  18082. __webpack_require__.r(__webpack_exports__);
  18083. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  18084. /* harmony export */ "isInteropObservable": () => (/* binding */ isInteropObservable)
  18085. /* harmony export */ });
  18086. /* harmony import */ var _symbol_observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../symbol/observable */ 6831);
  18087. function isInteropObservable(input) {
  18088. return input && typeof input[_symbol_observable__WEBPACK_IMPORTED_MODULE_0__.observable] === 'function';
  18089. }
  18090. /***/ }),
  18091. /***/ 9674:
  18092. /*!****************************************************************!*\
  18093. !*** ./node_modules/rxjs/_esm2015/internal/util/isIterable.js ***!
  18094. \****************************************************************/
  18095. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  18096. __webpack_require__.r(__webpack_exports__);
  18097. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  18098. /* harmony export */ "isIterable": () => (/* binding */ isIterable)
  18099. /* harmony export */ });
  18100. /* harmony import */ var _symbol_iterator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../symbol/iterator */ 2803);
  18101. function isIterable(input) {
  18102. return input && typeof input[_symbol_iterator__WEBPACK_IMPORTED_MODULE_0__.iterator] === 'function';
  18103. }
  18104. /***/ }),
  18105. /***/ 6549:
  18106. /*!**************************************************************!*\
  18107. !*** ./node_modules/rxjs/_esm2015/internal/util/isObject.js ***!
  18108. \**************************************************************/
  18109. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  18110. __webpack_require__.r(__webpack_exports__);
  18111. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  18112. /* harmony export */ "isObject": () => (/* binding */ isObject)
  18113. /* harmony export */ });
  18114. function isObject(x) {
  18115. return x !== null && typeof x === 'object';
  18116. }
  18117. /***/ }),
  18118. /***/ 5192:
  18119. /*!***************************************************************!*\
  18120. !*** ./node_modules/rxjs/_esm2015/internal/util/isPromise.js ***!
  18121. \***************************************************************/
  18122. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  18123. __webpack_require__.r(__webpack_exports__);
  18124. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  18125. /* harmony export */ "isPromise": () => (/* binding */ isPromise)
  18126. /* harmony export */ });
  18127. function isPromise(value) {
  18128. return !!value && typeof value.subscribe !== 'function' && typeof value.then === 'function';
  18129. }
  18130. /***/ }),
  18131. /***/ 7507:
  18132. /*!*****************************************************************!*\
  18133. !*** ./node_modules/rxjs/_esm2015/internal/util/isScheduler.js ***!
  18134. \*****************************************************************/
  18135. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  18136. __webpack_require__.r(__webpack_exports__);
  18137. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  18138. /* harmony export */ "isScheduler": () => (/* binding */ isScheduler)
  18139. /* harmony export */ });
  18140. function isScheduler(value) {
  18141. return value && typeof value.schedule === 'function';
  18142. }
  18143. /***/ }),
  18144. /***/ 6882:
  18145. /*!**********************************************************!*\
  18146. !*** ./node_modules/rxjs/_esm2015/internal/util/noop.js ***!
  18147. \**********************************************************/
  18148. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  18149. __webpack_require__.r(__webpack_exports__);
  18150. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  18151. /* harmony export */ "noop": () => (/* binding */ noop)
  18152. /* harmony export */ });
  18153. function noop() {}
  18154. /***/ }),
  18155. /***/ 6800:
  18156. /*!**********************************************************!*\
  18157. !*** ./node_modules/rxjs/_esm2015/internal/util/pipe.js ***!
  18158. \**********************************************************/
  18159. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  18160. __webpack_require__.r(__webpack_exports__);
  18161. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  18162. /* harmony export */ "pipe": () => (/* binding */ pipe),
  18163. /* harmony export */ "pipeFromArray": () => (/* binding */ pipeFromArray)
  18164. /* harmony export */ });
  18165. /* harmony import */ var _identity__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./identity */ 1356);
  18166. function pipe(...fns) {
  18167. return pipeFromArray(fns);
  18168. }
  18169. function pipeFromArray(fns) {
  18170. if (fns.length === 0) {
  18171. return _identity__WEBPACK_IMPORTED_MODULE_0__.identity;
  18172. }
  18173. if (fns.length === 1) {
  18174. return fns[0];
  18175. }
  18176. return function piped(input) {
  18177. return fns.reduce((prev, fn) => fn(prev), input);
  18178. };
  18179. }
  18180. /***/ }),
  18181. /***/ 6983:
  18182. /*!*****************************************************************!*\
  18183. !*** ./node_modules/rxjs/_esm2015/internal/util/subscribeTo.js ***!
  18184. \*****************************************************************/
  18185. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  18186. __webpack_require__.r(__webpack_exports__);
  18187. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  18188. /* harmony export */ "subscribeTo": () => (/* binding */ subscribeTo)
  18189. /* harmony export */ });
  18190. /* harmony import */ var _subscribeToArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./subscribeToArray */ 5414);
  18191. /* harmony import */ var _subscribeToPromise__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./subscribeToPromise */ 4276);
  18192. /* harmony import */ var _subscribeToIterable__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./subscribeToIterable */ 6473);
  18193. /* harmony import */ var _subscribeToObservable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./subscribeToObservable */ 1492);
  18194. /* harmony import */ var _isArrayLike__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./isArrayLike */ 5122);
  18195. /* harmony import */ var _isPromise__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./isPromise */ 5192);
  18196. /* harmony import */ var _isObject__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./isObject */ 6549);
  18197. /* harmony import */ var _symbol_iterator__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../symbol/iterator */ 2803);
  18198. /* harmony import */ var _symbol_observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../symbol/observable */ 6831);
  18199. const subscribeTo = result => {
  18200. if (!!result && typeof result[_symbol_observable__WEBPACK_IMPORTED_MODULE_0__.observable] === 'function') {
  18201. return (0,_subscribeToObservable__WEBPACK_IMPORTED_MODULE_1__.subscribeToObservable)(result);
  18202. } else if ((0,_isArrayLike__WEBPACK_IMPORTED_MODULE_2__.isArrayLike)(result)) {
  18203. return (0,_subscribeToArray__WEBPACK_IMPORTED_MODULE_3__.subscribeToArray)(result);
  18204. } else if ((0,_isPromise__WEBPACK_IMPORTED_MODULE_4__.isPromise)(result)) {
  18205. return (0,_subscribeToPromise__WEBPACK_IMPORTED_MODULE_5__.subscribeToPromise)(result);
  18206. } else if (!!result && typeof result[_symbol_iterator__WEBPACK_IMPORTED_MODULE_6__.iterator] === 'function') {
  18207. return (0,_subscribeToIterable__WEBPACK_IMPORTED_MODULE_7__.subscribeToIterable)(result);
  18208. } else {
  18209. const value = (0,_isObject__WEBPACK_IMPORTED_MODULE_8__.isObject)(result) ? 'an invalid object' : `'${result}'`;
  18210. const msg = `You provided ${value} where a stream was expected.` + ' You can provide an Observable, Promise, Array, or Iterable.';
  18211. throw new TypeError(msg);
  18212. }
  18213. };
  18214. /***/ }),
  18215. /***/ 5414:
  18216. /*!**********************************************************************!*\
  18217. !*** ./node_modules/rxjs/_esm2015/internal/util/subscribeToArray.js ***!
  18218. \**********************************************************************/
  18219. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  18220. __webpack_require__.r(__webpack_exports__);
  18221. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  18222. /* harmony export */ "subscribeToArray": () => (/* binding */ subscribeToArray)
  18223. /* harmony export */ });
  18224. const subscribeToArray = array => subscriber => {
  18225. for (let i = 0, len = array.length; i < len && !subscriber.closed; i++) {
  18226. subscriber.next(array[i]);
  18227. }
  18228. subscriber.complete();
  18229. };
  18230. /***/ }),
  18231. /***/ 6473:
  18232. /*!*************************************************************************!*\
  18233. !*** ./node_modules/rxjs/_esm2015/internal/util/subscribeToIterable.js ***!
  18234. \*************************************************************************/
  18235. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  18236. __webpack_require__.r(__webpack_exports__);
  18237. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  18238. /* harmony export */ "subscribeToIterable": () => (/* binding */ subscribeToIterable)
  18239. /* harmony export */ });
  18240. /* harmony import */ var _symbol_iterator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../symbol/iterator */ 2803);
  18241. const subscribeToIterable = iterable => subscriber => {
  18242. const iterator = iterable[_symbol_iterator__WEBPACK_IMPORTED_MODULE_0__.iterator]();
  18243. do {
  18244. let item;
  18245. try {
  18246. item = iterator.next();
  18247. } catch (err) {
  18248. subscriber.error(err);
  18249. return subscriber;
  18250. }
  18251. if (item.done) {
  18252. subscriber.complete();
  18253. break;
  18254. }
  18255. subscriber.next(item.value);
  18256. if (subscriber.closed) {
  18257. break;
  18258. }
  18259. } while (true);
  18260. if (typeof iterator.return === 'function') {
  18261. subscriber.add(() => {
  18262. if (iterator.return) {
  18263. iterator.return();
  18264. }
  18265. });
  18266. }
  18267. return subscriber;
  18268. };
  18269. /***/ }),
  18270. /***/ 1492:
  18271. /*!***************************************************************************!*\
  18272. !*** ./node_modules/rxjs/_esm2015/internal/util/subscribeToObservable.js ***!
  18273. \***************************************************************************/
  18274. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  18275. __webpack_require__.r(__webpack_exports__);
  18276. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  18277. /* harmony export */ "subscribeToObservable": () => (/* binding */ subscribeToObservable)
  18278. /* harmony export */ });
  18279. /* harmony import */ var _symbol_observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../symbol/observable */ 6831);
  18280. const subscribeToObservable = obj => subscriber => {
  18281. const obs = obj[_symbol_observable__WEBPACK_IMPORTED_MODULE_0__.observable]();
  18282. if (typeof obs.subscribe !== 'function') {
  18283. throw new TypeError('Provided object does not correctly implement Symbol.observable');
  18284. } else {
  18285. return obs.subscribe(subscriber);
  18286. }
  18287. };
  18288. /***/ }),
  18289. /***/ 4276:
  18290. /*!************************************************************************!*\
  18291. !*** ./node_modules/rxjs/_esm2015/internal/util/subscribeToPromise.js ***!
  18292. \************************************************************************/
  18293. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  18294. __webpack_require__.r(__webpack_exports__);
  18295. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  18296. /* harmony export */ "subscribeToPromise": () => (/* binding */ subscribeToPromise)
  18297. /* harmony export */ });
  18298. /* harmony import */ var _hostReportError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./hostReportError */ 8897);
  18299. const subscribeToPromise = promise => subscriber => {
  18300. promise.then(value => {
  18301. if (!subscriber.closed) {
  18302. subscriber.next(value);
  18303. subscriber.complete();
  18304. }
  18305. }, err => subscriber.error(err)).then(null, _hostReportError__WEBPACK_IMPORTED_MODULE_0__.hostReportError);
  18306. return subscriber;
  18307. };
  18308. /***/ }),
  18309. /***/ 640:
  18310. /*!***********************************************************************!*\
  18311. !*** ./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js ***!
  18312. \***********************************************************************/
  18313. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  18314. __webpack_require__.r(__webpack_exports__);
  18315. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  18316. /* harmony export */ "subscribeToResult": () => (/* binding */ subscribeToResult)
  18317. /* harmony export */ });
  18318. /* harmony import */ var _InnerSubscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../InnerSubscriber */ 472);
  18319. /* harmony import */ var _subscribeTo__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./subscribeTo */ 6983);
  18320. /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Observable */ 2378);
  18321. function subscribeToResult(outerSubscriber, result, outerValue, outerIndex, innerSubscriber = new _InnerSubscriber__WEBPACK_IMPORTED_MODULE_0__.InnerSubscriber(outerSubscriber, outerValue, outerIndex)) {
  18322. if (innerSubscriber.closed) {
  18323. return undefined;
  18324. }
  18325. if (result instanceof _Observable__WEBPACK_IMPORTED_MODULE_1__.Observable) {
  18326. return result.subscribe(innerSubscriber);
  18327. }
  18328. return (0,_subscribeTo__WEBPACK_IMPORTED_MODULE_2__.subscribeTo)(result)(innerSubscriber);
  18329. }
  18330. /***/ }),
  18331. /***/ 8333:
  18332. /*!******************************************************************!*\
  18333. !*** ./node_modules/rxjs/_esm2015/internal/util/toSubscriber.js ***!
  18334. \******************************************************************/
  18335. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  18336. __webpack_require__.r(__webpack_exports__);
  18337. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  18338. /* harmony export */ "toSubscriber": () => (/* binding */ toSubscriber)
  18339. /* harmony export */ });
  18340. /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ 14);
  18341. /* harmony import */ var _symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../symbol/rxSubscriber */ 1482);
  18342. /* harmony import */ var _Observer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Observer */ 9957);
  18343. function toSubscriber(nextOrObserver, error, complete) {
  18344. if (nextOrObserver) {
  18345. if (nextOrObserver instanceof _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber) {
  18346. return nextOrObserver;
  18347. }
  18348. if (nextOrObserver[_symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_1__.rxSubscriber]) {
  18349. return nextOrObserver[_symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_1__.rxSubscriber]();
  18350. }
  18351. }
  18352. if (!nextOrObserver && !error && !complete) {
  18353. return new _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber(_Observer__WEBPACK_IMPORTED_MODULE_2__.empty);
  18354. }
  18355. return new _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber(nextOrObserver, error, complete);
  18356. }
  18357. /***/ }),
  18358. /***/ 4929:
  18359. /*!*****************************************!*\
  18360. !*** ./node_modules/tslib/tslib.es6.js ***!
  18361. \*****************************************/
  18362. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  18363. __webpack_require__.r(__webpack_exports__);
  18364. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  18365. /* harmony export */ "__assign": () => (/* binding */ __assign),
  18366. /* harmony export */ "__asyncDelegator": () => (/* binding */ __asyncDelegator),
  18367. /* harmony export */ "__asyncGenerator": () => (/* binding */ __asyncGenerator),
  18368. /* harmony export */ "__asyncValues": () => (/* binding */ __asyncValues),
  18369. /* harmony export */ "__await": () => (/* binding */ __await),
  18370. /* harmony export */ "__awaiter": () => (/* binding */ __awaiter),
  18371. /* harmony export */ "__classPrivateFieldGet": () => (/* binding */ __classPrivateFieldGet),
  18372. /* harmony export */ "__classPrivateFieldIn": () => (/* binding */ __classPrivateFieldIn),
  18373. /* harmony export */ "__classPrivateFieldSet": () => (/* binding */ __classPrivateFieldSet),
  18374. /* harmony export */ "__createBinding": () => (/* binding */ __createBinding),
  18375. /* harmony export */ "__decorate": () => (/* binding */ __decorate),
  18376. /* harmony export */ "__exportStar": () => (/* binding */ __exportStar),
  18377. /* harmony export */ "__extends": () => (/* binding */ __extends),
  18378. /* harmony export */ "__generator": () => (/* binding */ __generator),
  18379. /* harmony export */ "__importDefault": () => (/* binding */ __importDefault),
  18380. /* harmony export */ "__importStar": () => (/* binding */ __importStar),
  18381. /* harmony export */ "__makeTemplateObject": () => (/* binding */ __makeTemplateObject),
  18382. /* harmony export */ "__metadata": () => (/* binding */ __metadata),
  18383. /* harmony export */ "__param": () => (/* binding */ __param),
  18384. /* harmony export */ "__read": () => (/* binding */ __read),
  18385. /* harmony export */ "__rest": () => (/* binding */ __rest),
  18386. /* harmony export */ "__spread": () => (/* binding */ __spread),
  18387. /* harmony export */ "__spreadArray": () => (/* binding */ __spreadArray),
  18388. /* harmony export */ "__spreadArrays": () => (/* binding */ __spreadArrays),
  18389. /* harmony export */ "__values": () => (/* binding */ __values)
  18390. /* harmony export */ });
  18391. /******************************************************************************
  18392. Copyright (c) Microsoft Corporation.
  18393. Permission to use, copy, modify, and/or distribute this software for any
  18394. purpose with or without fee is hereby granted.
  18395. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
  18396. REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  18397. AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
  18398. INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  18399. LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  18400. OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  18401. PERFORMANCE OF THIS SOFTWARE.
  18402. ***************************************************************************** */
  18403. /* global Reflect, Promise */
  18404. var extendStatics = function(d, b) {
  18405. extendStatics = Object.setPrototypeOf ||
  18406. ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
  18407. function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
  18408. return extendStatics(d, b);
  18409. };
  18410. function __extends(d, b) {
  18411. if (typeof b !== "function" && b !== null)
  18412. throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
  18413. extendStatics(d, b);
  18414. function __() { this.constructor = d; }
  18415. d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  18416. }
  18417. var __assign = function() {
  18418. __assign = Object.assign || function __assign(t) {
  18419. for (var s, i = 1, n = arguments.length; i < n; i++) {
  18420. s = arguments[i];
  18421. for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
  18422. }
  18423. return t;
  18424. }
  18425. return __assign.apply(this, arguments);
  18426. }
  18427. function __rest(s, e) {
  18428. var t = {};
  18429. for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
  18430. t[p] = s[p];
  18431. if (s != null && typeof Object.getOwnPropertySymbols === "function")
  18432. for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
  18433. if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
  18434. t[p[i]] = s[p[i]];
  18435. }
  18436. return t;
  18437. }
  18438. function __decorate(decorators, target, key, desc) {
  18439. var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
  18440. if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
  18441. 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;
  18442. return c > 3 && r && Object.defineProperty(target, key, r), r;
  18443. }
  18444. function __param(paramIndex, decorator) {
  18445. return function (target, key) { decorator(target, key, paramIndex); }
  18446. }
  18447. function __metadata(metadataKey, metadataValue) {
  18448. if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
  18449. }
  18450. function __awaiter(thisArg, _arguments, P, generator) {
  18451. function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
  18452. return new (P || (P = Promise))(function (resolve, reject) {
  18453. function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
  18454. function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
  18455. function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
  18456. step((generator = generator.apply(thisArg, _arguments || [])).next());
  18457. });
  18458. }
  18459. function __generator(thisArg, body) {
  18460. var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
  18461. return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
  18462. function verb(n) { return function (v) { return step([n, v]); }; }
  18463. function step(op) {
  18464. if (f) throw new TypeError("Generator is already executing.");
  18465. while (_) try {
  18466. 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;
  18467. if (y = 0, t) op = [op[0] & 2, t.value];
  18468. switch (op[0]) {
  18469. case 0: case 1: t = op; break;
  18470. case 4: _.label++; return { value: op[1], done: false };
  18471. case 5: _.label++; y = op[1]; op = [0]; continue;
  18472. case 7: op = _.ops.pop(); _.trys.pop(); continue;
  18473. default:
  18474. if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
  18475. if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
  18476. if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
  18477. if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
  18478. if (t[2]) _.ops.pop();
  18479. _.trys.pop(); continue;
  18480. }
  18481. op = body.call(thisArg, _);
  18482. } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
  18483. if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
  18484. }
  18485. }
  18486. var __createBinding = Object.create ? (function(o, m, k, k2) {
  18487. if (k2 === undefined) k2 = k;
  18488. var desc = Object.getOwnPropertyDescriptor(m, k);
  18489. if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
  18490. desc = { enumerable: true, get: function() { return m[k]; } };
  18491. }
  18492. Object.defineProperty(o, k2, desc);
  18493. }) : (function(o, m, k, k2) {
  18494. if (k2 === undefined) k2 = k;
  18495. o[k2] = m[k];
  18496. });
  18497. function __exportStar(m, o) {
  18498. for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
  18499. }
  18500. function __values(o) {
  18501. var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
  18502. if (m) return m.call(o);
  18503. if (o && typeof o.length === "number") return {
  18504. next: function () {
  18505. if (o && i >= o.length) o = void 0;
  18506. return { value: o && o[i++], done: !o };
  18507. }
  18508. };
  18509. throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
  18510. }
  18511. function __read(o, n) {
  18512. var m = typeof Symbol === "function" && o[Symbol.iterator];
  18513. if (!m) return o;
  18514. var i = m.call(o), r, ar = [], e;
  18515. try {
  18516. while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
  18517. }
  18518. catch (error) { e = { error: error }; }
  18519. finally {
  18520. try {
  18521. if (r && !r.done && (m = i["return"])) m.call(i);
  18522. }
  18523. finally { if (e) throw e.error; }
  18524. }
  18525. return ar;
  18526. }
  18527. /** @deprecated */
  18528. function __spread() {
  18529. for (var ar = [], i = 0; i < arguments.length; i++)
  18530. ar = ar.concat(__read(arguments[i]));
  18531. return ar;
  18532. }
  18533. /** @deprecated */
  18534. function __spreadArrays() {
  18535. for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
  18536. for (var r = Array(s), k = 0, i = 0; i < il; i++)
  18537. for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
  18538. r[k] = a[j];
  18539. return r;
  18540. }
  18541. function __spreadArray(to, from, pack) {
  18542. if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
  18543. if (ar || !(i in from)) {
  18544. if (!ar) ar = Array.prototype.slice.call(from, 0, i);
  18545. ar[i] = from[i];
  18546. }
  18547. }
  18548. return to.concat(ar || Array.prototype.slice.call(from));
  18549. }
  18550. function __await(v) {
  18551. return this instanceof __await ? (this.v = v, this) : new __await(v);
  18552. }
  18553. function __asyncGenerator(thisArg, _arguments, generator) {
  18554. if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
  18555. var g = generator.apply(thisArg, _arguments || []), i, q = [];
  18556. return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
  18557. 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); }); }; }
  18558. function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
  18559. function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
  18560. function fulfill(value) { resume("next", value); }
  18561. function reject(value) { resume("throw", value); }
  18562. function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
  18563. }
  18564. function __asyncDelegator(o) {
  18565. var i, p;
  18566. return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
  18567. 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; }
  18568. }
  18569. function __asyncValues(o) {
  18570. if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
  18571. var m = o[Symbol.asyncIterator], i;
  18572. 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);
  18573. 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); }); }; }
  18574. function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
  18575. }
  18576. function __makeTemplateObject(cooked, raw) {
  18577. if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
  18578. return cooked;
  18579. };
  18580. var __setModuleDefault = Object.create ? (function(o, v) {
  18581. Object.defineProperty(o, "default", { enumerable: true, value: v });
  18582. }) : function(o, v) {
  18583. o["default"] = v;
  18584. };
  18585. function __importStar(mod) {
  18586. if (mod && mod.__esModule) return mod;
  18587. var result = {};
  18588. if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
  18589. __setModuleDefault(result, mod);
  18590. return result;
  18591. }
  18592. function __importDefault(mod) {
  18593. return (mod && mod.__esModule) ? mod : { default: mod };
  18594. }
  18595. function __classPrivateFieldGet(receiver, state, kind, f) {
  18596. if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
  18597. if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
  18598. return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
  18599. }
  18600. function __classPrivateFieldSet(receiver, state, value, kind, f) {
  18601. if (kind === "m") throw new TypeError("Private method is not writable");
  18602. if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
  18603. if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
  18604. return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
  18605. }
  18606. function __classPrivateFieldIn(state, receiver) {
  18607. if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
  18608. return typeof state === "function" ? receiver === state : state.has(receiver);
  18609. }
  18610. /***/ }),
  18611. /***/ 6362:
  18612. /*!**********************************************************!*\
  18613. !*** ./node_modules/@angular/common/fesm2015/common.mjs ***!
  18614. \**********************************************************/
  18615. /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
  18616. __webpack_require__.r(__webpack_exports__);
  18617. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  18618. /* harmony export */ "APP_BASE_HREF": () => (/* binding */ APP_BASE_HREF),
  18619. /* harmony export */ "AsyncPipe": () => (/* binding */ AsyncPipe),
  18620. /* harmony export */ "CommonModule": () => (/* binding */ CommonModule),
  18621. /* harmony export */ "CurrencyPipe": () => (/* binding */ CurrencyPipe),
  18622. /* harmony export */ "DATE_PIPE_DEFAULT_TIMEZONE": () => (/* binding */ DATE_PIPE_DEFAULT_TIMEZONE),
  18623. /* harmony export */ "DOCUMENT": () => (/* binding */ DOCUMENT),
  18624. /* harmony export */ "DatePipe": () => (/* binding */ DatePipe),
  18625. /* harmony export */ "DecimalPipe": () => (/* binding */ DecimalPipe),
  18626. /* harmony export */ "FormStyle": () => (/* binding */ FormStyle),
  18627. /* harmony export */ "FormatWidth": () => (/* binding */ FormatWidth),
  18628. /* harmony export */ "HashLocationStrategy": () => (/* binding */ HashLocationStrategy),
  18629. /* harmony export */ "I18nPluralPipe": () => (/* binding */ I18nPluralPipe),
  18630. /* harmony export */ "I18nSelectPipe": () => (/* binding */ I18nSelectPipe),
  18631. /* harmony export */ "IMAGE_LOADER": () => (/* binding */ IMAGE_LOADER),
  18632. /* harmony export */ "JsonPipe": () => (/* binding */ JsonPipe),
  18633. /* harmony export */ "KeyValuePipe": () => (/* binding */ KeyValuePipe),
  18634. /* harmony export */ "LOCATION_INITIALIZED": () => (/* binding */ LOCATION_INITIALIZED),
  18635. /* harmony export */ "Location": () => (/* binding */ Location),
  18636. /* harmony export */ "LocationStrategy": () => (/* binding */ LocationStrategy),
  18637. /* harmony export */ "LowerCasePipe": () => (/* binding */ LowerCasePipe),
  18638. /* harmony export */ "NgClass": () => (/* binding */ NgClass),
  18639. /* harmony export */ "NgComponentOutlet": () => (/* binding */ NgComponentOutlet),
  18640. /* harmony export */ "NgFor": () => (/* binding */ NgForOf),
  18641. /* harmony export */ "NgForOf": () => (/* binding */ NgForOf),
  18642. /* harmony export */ "NgForOfContext": () => (/* binding */ NgForOfContext),
  18643. /* harmony export */ "NgIf": () => (/* binding */ NgIf),
  18644. /* harmony export */ "NgIfContext": () => (/* binding */ NgIfContext),
  18645. /* harmony export */ "NgLocaleLocalization": () => (/* binding */ NgLocaleLocalization),
  18646. /* harmony export */ "NgLocalization": () => (/* binding */ NgLocalization),
  18647. /* harmony export */ "NgOptimizedImage": () => (/* binding */ NgOptimizedImage),
  18648. /* harmony export */ "NgPlural": () => (/* binding */ NgPlural),
  18649. /* harmony export */ "NgPluralCase": () => (/* binding */ NgPluralCase),
  18650. /* harmony export */ "NgStyle": () => (/* binding */ NgStyle),
  18651. /* harmony export */ "NgSwitch": () => (/* binding */ NgSwitch),
  18652. /* harmony export */ "NgSwitchCase": () => (/* binding */ NgSwitchCase),
  18653. /* harmony export */ "NgSwitchDefault": () => (/* binding */ NgSwitchDefault),
  18654. /* harmony export */ "NgTemplateOutlet": () => (/* binding */ NgTemplateOutlet),
  18655. /* harmony export */ "NumberFormatStyle": () => (/* binding */ NumberFormatStyle),
  18656. /* harmony export */ "NumberSymbol": () => (/* binding */ NumberSymbol),
  18657. /* harmony export */ "PRECONNECT_CHECK_BLOCKLIST": () => (/* binding */ PRECONNECT_CHECK_BLOCKLIST),
  18658. /* harmony export */ "PathLocationStrategy": () => (/* binding */ PathLocationStrategy),
  18659. /* harmony export */ "PercentPipe": () => (/* binding */ PercentPipe),
  18660. /* harmony export */ "PlatformLocation": () => (/* binding */ PlatformLocation),
  18661. /* harmony export */ "Plural": () => (/* binding */ Plural),
  18662. /* harmony export */ "SlicePipe": () => (/* binding */ SlicePipe),
  18663. /* harmony export */ "TitleCasePipe": () => (/* binding */ TitleCasePipe),
  18664. /* harmony export */ "TranslationWidth": () => (/* binding */ TranslationWidth),
  18665. /* harmony export */ "UpperCasePipe": () => (/* binding */ UpperCasePipe),
  18666. /* harmony export */ "VERSION": () => (/* binding */ VERSION),
  18667. /* harmony export */ "ViewportScroller": () => (/* binding */ ViewportScroller),
  18668. /* harmony export */ "WeekDay": () => (/* binding */ WeekDay),
  18669. /* harmony export */ "XhrFactory": () => (/* binding */ XhrFactory),
  18670. /* harmony export */ "formatCurrency": () => (/* binding */ formatCurrency),
  18671. /* harmony export */ "formatDate": () => (/* binding */ formatDate),
  18672. /* harmony export */ "formatNumber": () => (/* binding */ formatNumber),
  18673. /* harmony export */ "formatPercent": () => (/* binding */ formatPercent),
  18674. /* harmony export */ "getCurrencySymbol": () => (/* binding */ getCurrencySymbol),
  18675. /* harmony export */ "getLocaleCurrencyCode": () => (/* binding */ getLocaleCurrencyCode),
  18676. /* harmony export */ "getLocaleCurrencyName": () => (/* binding */ getLocaleCurrencyName),
  18677. /* harmony export */ "getLocaleCurrencySymbol": () => (/* binding */ getLocaleCurrencySymbol),
  18678. /* harmony export */ "getLocaleDateFormat": () => (/* binding */ getLocaleDateFormat),
  18679. /* harmony export */ "getLocaleDateTimeFormat": () => (/* binding */ getLocaleDateTimeFormat),
  18680. /* harmony export */ "getLocaleDayNames": () => (/* binding */ getLocaleDayNames),
  18681. /* harmony export */ "getLocaleDayPeriods": () => (/* binding */ getLocaleDayPeriods),
  18682. /* harmony export */ "getLocaleDirection": () => (/* binding */ getLocaleDirection),
  18683. /* harmony export */ "getLocaleEraNames": () => (/* binding */ getLocaleEraNames),
  18684. /* harmony export */ "getLocaleExtraDayPeriodRules": () => (/* binding */ getLocaleExtraDayPeriodRules),
  18685. /* harmony export */ "getLocaleExtraDayPeriods": () => (/* binding */ getLocaleExtraDayPeriods),
  18686. /* harmony export */ "getLocaleFirstDayOfWeek": () => (/* binding */ getLocaleFirstDayOfWeek),
  18687. /* harmony export */ "getLocaleId": () => (/* binding */ getLocaleId),
  18688. /* harmony export */ "getLocaleMonthNames": () => (/* binding */ getLocaleMonthNames),
  18689. /* harmony export */ "getLocaleNumberFormat": () => (/* binding */ getLocaleNumberFormat),
  18690. /* harmony export */ "getLocaleNumberSymbol": () => (/* binding */ getLocaleNumberSymbol),
  18691. /* harmony export */ "getLocalePluralCase": () => (/* binding */ getLocalePluralCase),
  18692. /* harmony export */ "getLocaleTimeFormat": () => (/* binding */ getLocaleTimeFormat),
  18693. /* harmony export */ "getLocaleWeekEndRange": () => (/* binding */ getLocaleWeekEndRange),
  18694. /* harmony export */ "getNumberOfCurrencyDigits": () => (/* binding */ getNumberOfCurrencyDigits),
  18695. /* harmony export */ "isPlatformBrowser": () => (/* binding */ isPlatformBrowser),
  18696. /* harmony export */ "isPlatformServer": () => (/* binding */ isPlatformServer),
  18697. /* harmony export */ "isPlatformWorkerApp": () => (/* binding */ isPlatformWorkerApp),
  18698. /* harmony export */ "isPlatformWorkerUi": () => (/* binding */ isPlatformWorkerUi),
  18699. /* harmony export */ "provideCloudflareLoader": () => (/* binding */ provideCloudflareLoader),
  18700. /* harmony export */ "provideCloudinaryLoader": () => (/* binding */ provideCloudinaryLoader),
  18701. /* harmony export */ "provideImageKitLoader": () => (/* binding */ provideImageKitLoader),
  18702. /* harmony export */ "provideImgixLoader": () => (/* binding */ provideImgixLoader),
  18703. /* harmony export */ "registerLocaleData": () => (/* binding */ registerLocaleData),
  18704. /* harmony export */ "ɵBrowserPlatformLocation": () => (/* binding */ BrowserPlatformLocation),
  18705. /* harmony export */ "ɵDomAdapter": () => (/* binding */ DomAdapter),
  18706. /* harmony export */ "ɵNullViewportScroller": () => (/* binding */ NullViewportScroller),
  18707. /* harmony export */ "ɵPLATFORM_BROWSER_ID": () => (/* binding */ PLATFORM_BROWSER_ID),
  18708. /* harmony export */ "ɵPLATFORM_SERVER_ID": () => (/* binding */ PLATFORM_SERVER_ID),
  18709. /* harmony export */ "ɵPLATFORM_WORKER_APP_ID": () => (/* binding */ PLATFORM_WORKER_APP_ID),
  18710. /* harmony export */ "ɵPLATFORM_WORKER_UI_ID": () => (/* binding */ PLATFORM_WORKER_UI_ID),
  18711. /* harmony export */ "ɵgetDOM": () => (/* binding */ getDOM),
  18712. /* harmony export */ "ɵparseCookieValue": () => (/* binding */ parseCookieValue),
  18713. /* harmony export */ "ɵsetRootDomAdapter": () => (/* binding */ setRootDomAdapter)
  18714. /* harmony export */ });
  18715. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 3184);
  18716. /**
  18717. * @license Angular v14.2.7
  18718. * (c) 2010-2022 Google LLC. https://angular.io/
  18719. * License: MIT
  18720. */
  18721. /**
  18722. * @license
  18723. * Copyright Google LLC All Rights Reserved.
  18724. *
  18725. * Use of this source code is governed by an MIT-style license that can be
  18726. * found in the LICENSE file at https://angular.io/license
  18727. */
  18728. let _DOM = null;
  18729. function getDOM() {
  18730. return _DOM;
  18731. }
  18732. function setDOM(adapter) {
  18733. _DOM = adapter;
  18734. }
  18735. function setRootDomAdapter(adapter) {
  18736. if (!_DOM) {
  18737. _DOM = adapter;
  18738. }
  18739. }
  18740. /* tslint:disable:requireParameterType */
  18741. /**
  18742. * Provides DOM operations in an environment-agnostic way.
  18743. *
  18744. * @security Tread carefully! Interacting with the DOM directly is dangerous and
  18745. * can introduce XSS risks.
  18746. */
  18747. class DomAdapter {}
  18748. /**
  18749. * @license
  18750. * Copyright Google LLC All Rights Reserved.
  18751. *
  18752. * Use of this source code is governed by an MIT-style license that can be
  18753. * found in the LICENSE file at https://angular.io/license
  18754. */
  18755. /**
  18756. * A DI Token representing the main rendering context. In a browser this is the DOM Document.
  18757. *
  18758. * Note: Document might not be available in the Application Context when Application and Rendering
  18759. * Contexts are not the same (e.g. when running the application in a Web Worker).
  18760. *
  18761. * @publicApi
  18762. */
  18763. const DOCUMENT = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('DocumentToken');
  18764. /**
  18765. * @license
  18766. * Copyright Google LLC All Rights Reserved.
  18767. *
  18768. * Use of this source code is governed by an MIT-style license that can be
  18769. * found in the LICENSE file at https://angular.io/license
  18770. */
  18771. /**
  18772. * This class should not be used directly by an application developer. Instead, use
  18773. * {@link Location}.
  18774. *
  18775. * `PlatformLocation` encapsulates all calls to DOM APIs, which allows the Router to be
  18776. * platform-agnostic.
  18777. * This means that we can have different implementation of `PlatformLocation` for the different
  18778. * platforms that Angular supports. For example, `@angular/platform-browser` provides an
  18779. * implementation specific to the browser environment, while `@angular/platform-server` provides
  18780. * one suitable for use with server-side rendering.
  18781. *
  18782. * The `PlatformLocation` class is used directly by all implementations of {@link LocationStrategy}
  18783. * when they need to interact with the DOM APIs like pushState, popState, etc.
  18784. *
  18785. * {@link LocationStrategy} in turn is used by the {@link Location} service which is used directly
  18786. * by the {@link Router} in order to navigate between routes. Since all interactions between {@link
  18787. * Router} /
  18788. * {@link Location} / {@link LocationStrategy} and DOM APIs flow through the `PlatformLocation`
  18789. * class, they are all platform-agnostic.
  18790. *
  18791. * @publicApi
  18792. */
  18793. class PlatformLocation {
  18794. historyGo(relativePosition) {
  18795. throw new Error('Not implemented');
  18796. }
  18797. }
  18798. PlatformLocation.ɵfac = function PlatformLocation_Factory(t) {
  18799. return new (t || PlatformLocation)();
  18800. };
  18801. PlatformLocation.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
  18802. token: PlatformLocation,
  18803. factory: function () {
  18804. return useBrowserPlatformLocation();
  18805. },
  18806. providedIn: 'platform'
  18807. });
  18808. (function () {
  18809. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PlatformLocation, [{
  18810. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
  18811. args: [{
  18812. providedIn: 'platform',
  18813. // See #23917
  18814. useFactory: useBrowserPlatformLocation
  18815. }]
  18816. }], null, null);
  18817. })();
  18818. function useBrowserPlatformLocation() {
  18819. return (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"])(BrowserPlatformLocation);
  18820. }
  18821. /**
  18822. * @description
  18823. * Indicates when a location is initialized.
  18824. *
  18825. * @publicApi
  18826. */
  18827. const LOCATION_INITIALIZED = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('Location Initialized');
  18828. /**
  18829. * `PlatformLocation` encapsulates all of the direct calls to platform APIs.
  18830. * This class should not be used directly by an application developer. Instead, use
  18831. * {@link Location}.
  18832. */
  18833. class BrowserPlatformLocation extends PlatformLocation {
  18834. constructor(_doc) {
  18835. super();
  18836. this._doc = _doc;
  18837. this._init();
  18838. } // This is moved to its own method so that `MockPlatformLocationStrategy` can overwrite it
  18839. /** @internal */
  18840. _init() {
  18841. this.location = window.location;
  18842. this._history = window.history;
  18843. }
  18844. getBaseHrefFromDOM() {
  18845. return getDOM().getBaseHref(this._doc);
  18846. }
  18847. onPopState(fn) {
  18848. const window = getDOM().getGlobalEventTarget(this._doc, 'window');
  18849. window.addEventListener('popstate', fn, false);
  18850. return () => window.removeEventListener('popstate', fn);
  18851. }
  18852. onHashChange(fn) {
  18853. const window = getDOM().getGlobalEventTarget(this._doc, 'window');
  18854. window.addEventListener('hashchange', fn, false);
  18855. return () => window.removeEventListener('hashchange', fn);
  18856. }
  18857. get href() {
  18858. return this.location.href;
  18859. }
  18860. get protocol() {
  18861. return this.location.protocol;
  18862. }
  18863. get hostname() {
  18864. return this.location.hostname;
  18865. }
  18866. get port() {
  18867. return this.location.port;
  18868. }
  18869. get pathname() {
  18870. return this.location.pathname;
  18871. }
  18872. get search() {
  18873. return this.location.search;
  18874. }
  18875. get hash() {
  18876. return this.location.hash;
  18877. }
  18878. set pathname(newPath) {
  18879. this.location.pathname = newPath;
  18880. }
  18881. pushState(state, title, url) {
  18882. if (supportsState()) {
  18883. this._history.pushState(state, title, url);
  18884. } else {
  18885. this.location.hash = url;
  18886. }
  18887. }
  18888. replaceState(state, title, url) {
  18889. if (supportsState()) {
  18890. this._history.replaceState(state, title, url);
  18891. } else {
  18892. this.location.hash = url;
  18893. }
  18894. }
  18895. forward() {
  18896. this._history.forward();
  18897. }
  18898. back() {
  18899. this._history.back();
  18900. }
  18901. historyGo(relativePosition = 0) {
  18902. this._history.go(relativePosition);
  18903. }
  18904. getState() {
  18905. return this._history.state;
  18906. }
  18907. }
  18908. BrowserPlatformLocation.ɵfac = function BrowserPlatformLocation_Factory(t) {
  18909. return new (t || BrowserPlatformLocation)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](DOCUMENT));
  18910. };
  18911. BrowserPlatformLocation.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
  18912. token: BrowserPlatformLocation,
  18913. factory: function () {
  18914. return createBrowserPlatformLocation();
  18915. },
  18916. providedIn: 'platform'
  18917. });
  18918. (function () {
  18919. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](BrowserPlatformLocation, [{
  18920. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
  18921. args: [{
  18922. providedIn: 'platform',
  18923. // See #23917
  18924. useFactory: createBrowserPlatformLocation
  18925. }]
  18926. }], function () {
  18927. return [{
  18928. type: undefined,
  18929. decorators: [{
  18930. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
  18931. args: [DOCUMENT]
  18932. }]
  18933. }];
  18934. }, null);
  18935. })();
  18936. function supportsState() {
  18937. return !!window.history.pushState;
  18938. }
  18939. function createBrowserPlatformLocation() {
  18940. return new BrowserPlatformLocation((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"])(DOCUMENT));
  18941. }
  18942. /**
  18943. * @license
  18944. * Copyright Google LLC All Rights Reserved.
  18945. *
  18946. * Use of this source code is governed by an MIT-style license that can be
  18947. * found in the LICENSE file at https://angular.io/license
  18948. */
  18949. /**
  18950. * @license
  18951. * Copyright Google LLC All Rights Reserved.
  18952. *
  18953. * Use of this source code is governed by an MIT-style license that can be
  18954. * found in the LICENSE file at https://angular.io/license
  18955. */
  18956. /**
  18957. * Joins two parts of a URL with a slash if needed.
  18958. *
  18959. * @param start URL string
  18960. * @param end URL string
  18961. *
  18962. *
  18963. * @returns The joined URL string.
  18964. */
  18965. function joinWithSlash(start, end) {
  18966. if (start.length == 0) {
  18967. return end;
  18968. }
  18969. if (end.length == 0) {
  18970. return start;
  18971. }
  18972. let slashes = 0;
  18973. if (start.endsWith('/')) {
  18974. slashes++;
  18975. }
  18976. if (end.startsWith('/')) {
  18977. slashes++;
  18978. }
  18979. if (slashes == 2) {
  18980. return start + end.substring(1);
  18981. }
  18982. if (slashes == 1) {
  18983. return start + end;
  18984. }
  18985. return start + '/' + end;
  18986. }
  18987. /**
  18988. * Removes a trailing slash from a URL string if needed.
  18989. * Looks for the first occurrence of either `#`, `?`, or the end of the
  18990. * line as `/` characters and removes the trailing slash if one exists.
  18991. *
  18992. * @param url URL string.
  18993. *
  18994. * @returns The URL string, modified if needed.
  18995. */
  18996. function stripTrailingSlash(url) {
  18997. const match = url.match(/#|\?|$/);
  18998. const pathEndIdx = match && match.index || url.length;
  18999. const droppedSlashIdx = pathEndIdx - (url[pathEndIdx - 1] === '/' ? 1 : 0);
  19000. return url.slice(0, droppedSlashIdx) + url.slice(pathEndIdx);
  19001. }
  19002. /**
  19003. * Normalizes URL parameters by prepending with `?` if needed.
  19004. *
  19005. * @param params String of URL parameters.
  19006. *
  19007. * @returns The normalized URL parameters string.
  19008. */
  19009. function normalizeQueryParams(params) {
  19010. return params && params[0] !== '?' ? '?' + params : params;
  19011. }
  19012. /**
  19013. * @license
  19014. * Copyright Google LLC All Rights Reserved.
  19015. *
  19016. * Use of this source code is governed by an MIT-style license that can be
  19017. * found in the LICENSE file at https://angular.io/license
  19018. */
  19019. /**
  19020. * Enables the `Location` service to read route state from the browser's URL.
  19021. * Angular provides two strategies:
  19022. * `HashLocationStrategy` and `PathLocationStrategy`.
  19023. *
  19024. * Applications should use the `Router` or `Location` services to
  19025. * interact with application route state.
  19026. *
  19027. * For instance, `HashLocationStrategy` produces URLs like
  19028. * <code class="no-auto-link">http://example.com#/foo</code>,
  19029. * and `PathLocationStrategy` produces
  19030. * <code class="no-auto-link">http://example.com/foo</code> as an equivalent URL.
  19031. *
  19032. * See these two classes for more.
  19033. *
  19034. * @publicApi
  19035. */
  19036. class LocationStrategy {
  19037. historyGo(relativePosition) {
  19038. throw new Error('Not implemented');
  19039. }
  19040. }
  19041. LocationStrategy.ɵfac = function LocationStrategy_Factory(t) {
  19042. return new (t || LocationStrategy)();
  19043. };
  19044. LocationStrategy.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
  19045. token: LocationStrategy,
  19046. factory: function () {
  19047. return (() => (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(PathLocationStrategy))();
  19048. },
  19049. providedIn: 'root'
  19050. });
  19051. (function () {
  19052. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](LocationStrategy, [{
  19053. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
  19054. args: [{
  19055. providedIn: 'root',
  19056. useFactory: () => (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(PathLocationStrategy)
  19057. }]
  19058. }], null, null);
  19059. })();
  19060. /**
  19061. * A predefined [DI token](guide/glossary#di-token) for the base href
  19062. * to be used with the `PathLocationStrategy`.
  19063. * The base href is the URL prefix that should be preserved when generating
  19064. * and recognizing URLs.
  19065. *
  19066. * @usageNotes
  19067. *
  19068. * The following example shows how to use this token to configure the root app injector
  19069. * with a base href value, so that the DI framework can supply the dependency anywhere in the app.
  19070. *
  19071. * ```typescript
  19072. * import {Component, NgModule} from '@angular/core';
  19073. * import {APP_BASE_HREF} from '@angular/common';
  19074. *
  19075. * @NgModule({
  19076. * providers: [{provide: APP_BASE_HREF, useValue: '/my/app'}]
  19077. * })
  19078. * class AppModule {}
  19079. * ```
  19080. *
  19081. * @publicApi
  19082. */
  19083. const APP_BASE_HREF = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('appBaseHref');
  19084. /**
  19085. * @description
  19086. * A {@link LocationStrategy} used to configure the {@link Location} service to
  19087. * represent its state in the
  19088. * [path](https://en.wikipedia.org/wiki/Uniform_Resource_Locator#Syntax) of the
  19089. * browser's URL.
  19090. *
  19091. * If you're using `PathLocationStrategy`, you may provide a {@link APP_BASE_HREF}
  19092. * or add a `<base href>` element to the document to override the default.
  19093. *
  19094. * For instance, if you provide an `APP_BASE_HREF` of `'/my/app/'` and call
  19095. * `location.go('/foo')`, the browser's URL will become
  19096. * `example.com/my/app/foo`. To ensure all relative URIs resolve correctly,
  19097. * the `<base href>` and/or `APP_BASE_HREF` should end with a `/`.
  19098. *
  19099. * Similarly, if you add `<base href='/my/app/'/>` to the document and call
  19100. * `location.go('/foo')`, the browser's URL will become
  19101. * `example.com/my/app/foo`.
  19102. *
  19103. * Note that when using `PathLocationStrategy`, neither the query nor
  19104. * the fragment in the `<base href>` will be preserved, as outlined
  19105. * by the [RFC](https://tools.ietf.org/html/rfc3986#section-5.2.2).
  19106. *
  19107. * @usageNotes
  19108. *
  19109. * ### Example
  19110. *
  19111. * {@example common/location/ts/path_location_component.ts region='LocationComponent'}
  19112. *
  19113. * @publicApi
  19114. */
  19115. class PathLocationStrategy extends LocationStrategy {
  19116. constructor(_platformLocation, href) {
  19117. var _a, _b, _c;
  19118. super();
  19119. this._platformLocation = _platformLocation;
  19120. this._removeListenerFns = [];
  19121. this._baseHref = (_c = (_a = href !== null && href !== void 0 ? href : this._platformLocation.getBaseHrefFromDOM()) !== null && _a !== void 0 ? _a : (_b = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(DOCUMENT).location) === null || _b === void 0 ? void 0 : _b.origin) !== null && _c !== void 0 ? _c : '';
  19122. }
  19123. /** @nodoc */
  19124. ngOnDestroy() {
  19125. while (this._removeListenerFns.length) {
  19126. this._removeListenerFns.pop()();
  19127. }
  19128. }
  19129. onPopState(fn) {
  19130. this._removeListenerFns.push(this._platformLocation.onPopState(fn), this._platformLocation.onHashChange(fn));
  19131. }
  19132. getBaseHref() {
  19133. return this._baseHref;
  19134. }
  19135. prepareExternalUrl(internal) {
  19136. return joinWithSlash(this._baseHref, internal);
  19137. }
  19138. path(includeHash = false) {
  19139. const pathname = this._platformLocation.pathname + normalizeQueryParams(this._platformLocation.search);
  19140. const hash = this._platformLocation.hash;
  19141. return hash && includeHash ? `${pathname}${hash}` : pathname;
  19142. }
  19143. pushState(state, title, url, queryParams) {
  19144. const externalUrl = this.prepareExternalUrl(url + normalizeQueryParams(queryParams));
  19145. this._platformLocation.pushState(state, title, externalUrl);
  19146. }
  19147. replaceState(state, title, url, queryParams) {
  19148. const externalUrl = this.prepareExternalUrl(url + normalizeQueryParams(queryParams));
  19149. this._platformLocation.replaceState(state, title, externalUrl);
  19150. }
  19151. forward() {
  19152. this._platformLocation.forward();
  19153. }
  19154. back() {
  19155. this._platformLocation.back();
  19156. }
  19157. getState() {
  19158. return this._platformLocation.getState();
  19159. }
  19160. historyGo(relativePosition = 0) {
  19161. var _a, _b;
  19162. (_b = (_a = this._platformLocation).historyGo) === null || _b === void 0 ? void 0 : _b.call(_a, relativePosition);
  19163. }
  19164. }
  19165. PathLocationStrategy.ɵfac = function PathLocationStrategy_Factory(t) {
  19166. return new (t || PathLocationStrategy)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](PlatformLocation), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](APP_BASE_HREF, 8));
  19167. };
  19168. PathLocationStrategy.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
  19169. token: PathLocationStrategy,
  19170. factory: PathLocationStrategy.ɵfac,
  19171. providedIn: 'root'
  19172. });
  19173. (function () {
  19174. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PathLocationStrategy, [{
  19175. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
  19176. args: [{
  19177. providedIn: 'root'
  19178. }]
  19179. }], function () {
  19180. return [{
  19181. type: PlatformLocation
  19182. }, {
  19183. type: undefined,
  19184. decorators: [{
  19185. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  19186. }, {
  19187. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
  19188. args: [APP_BASE_HREF]
  19189. }]
  19190. }];
  19191. }, null);
  19192. })();
  19193. /**
  19194. * @license
  19195. * Copyright Google LLC All Rights Reserved.
  19196. *
  19197. * Use of this source code is governed by an MIT-style license that can be
  19198. * found in the LICENSE file at https://angular.io/license
  19199. */
  19200. /**
  19201. * @description
  19202. * A {@link LocationStrategy} used to configure the {@link Location} service to
  19203. * represent its state in the
  19204. * [hash fragment](https://en.wikipedia.org/wiki/Uniform_Resource_Locator#Syntax)
  19205. * of the browser's URL.
  19206. *
  19207. * For instance, if you call `location.go('/foo')`, the browser's URL will become
  19208. * `example.com#/foo`.
  19209. *
  19210. * @usageNotes
  19211. *
  19212. * ### Example
  19213. *
  19214. * {@example common/location/ts/hash_location_component.ts region='LocationComponent'}
  19215. *
  19216. * @publicApi
  19217. */
  19218. class HashLocationStrategy extends LocationStrategy {
  19219. constructor(_platformLocation, _baseHref) {
  19220. super();
  19221. this._platformLocation = _platformLocation;
  19222. this._baseHref = '';
  19223. this._removeListenerFns = [];
  19224. if (_baseHref != null) {
  19225. this._baseHref = _baseHref;
  19226. }
  19227. }
  19228. /** @nodoc */
  19229. ngOnDestroy() {
  19230. while (this._removeListenerFns.length) {
  19231. this._removeListenerFns.pop()();
  19232. }
  19233. }
  19234. onPopState(fn) {
  19235. this._removeListenerFns.push(this._platformLocation.onPopState(fn), this._platformLocation.onHashChange(fn));
  19236. }
  19237. getBaseHref() {
  19238. return this._baseHref;
  19239. }
  19240. path(includeHash = false) {
  19241. // the hash value is always prefixed with a `#`
  19242. // and if it is empty then it will stay empty
  19243. let path = this._platformLocation.hash;
  19244. if (path == null) path = '#';
  19245. return path.length > 0 ? path.substring(1) : path;
  19246. }
  19247. prepareExternalUrl(internal) {
  19248. const url = joinWithSlash(this._baseHref, internal);
  19249. return url.length > 0 ? '#' + url : url;
  19250. }
  19251. pushState(state, title, path, queryParams) {
  19252. let url = this.prepareExternalUrl(path + normalizeQueryParams(queryParams));
  19253. if (url.length == 0) {
  19254. url = this._platformLocation.pathname;
  19255. }
  19256. this._platformLocation.pushState(state, title, url);
  19257. }
  19258. replaceState(state, title, path, queryParams) {
  19259. let url = this.prepareExternalUrl(path + normalizeQueryParams(queryParams));
  19260. if (url.length == 0) {
  19261. url = this._platformLocation.pathname;
  19262. }
  19263. this._platformLocation.replaceState(state, title, url);
  19264. }
  19265. forward() {
  19266. this._platformLocation.forward();
  19267. }
  19268. back() {
  19269. this._platformLocation.back();
  19270. }
  19271. getState() {
  19272. return this._platformLocation.getState();
  19273. }
  19274. historyGo(relativePosition = 0) {
  19275. var _a, _b;
  19276. (_b = (_a = this._platformLocation).historyGo) === null || _b === void 0 ? void 0 : _b.call(_a, relativePosition);
  19277. }
  19278. }
  19279. HashLocationStrategy.ɵfac = function HashLocationStrategy_Factory(t) {
  19280. return new (t || HashLocationStrategy)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](PlatformLocation), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](APP_BASE_HREF, 8));
  19281. };
  19282. HashLocationStrategy.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
  19283. token: HashLocationStrategy,
  19284. factory: HashLocationStrategy.ɵfac
  19285. });
  19286. (function () {
  19287. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](HashLocationStrategy, [{
  19288. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable
  19289. }], function () {
  19290. return [{
  19291. type: PlatformLocation
  19292. }, {
  19293. type: undefined,
  19294. decorators: [{
  19295. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  19296. }, {
  19297. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
  19298. args: [APP_BASE_HREF]
  19299. }]
  19300. }];
  19301. }, null);
  19302. })();
  19303. /**
  19304. * @license
  19305. * Copyright Google LLC All Rights Reserved.
  19306. *
  19307. * Use of this source code is governed by an MIT-style license that can be
  19308. * found in the LICENSE file at https://angular.io/license
  19309. */
  19310. /**
  19311. * @description
  19312. *
  19313. * A service that applications can use to interact with a browser's URL.
  19314. *
  19315. * Depending on the `LocationStrategy` used, `Location` persists
  19316. * to the URL's path or the URL's hash segment.
  19317. *
  19318. * @usageNotes
  19319. *
  19320. * It's better to use the `Router.navigate()` service to trigger route changes. Use
  19321. * `Location` only if you need to interact with or create normalized URLs outside of
  19322. * routing.
  19323. *
  19324. * `Location` is responsible for normalizing the URL against the application's base href.
  19325. * A normalized URL is absolute from the URL host, includes the application's base href, and has no
  19326. * trailing slash:
  19327. * - `/my/app/user/123` is normalized
  19328. * - `my/app/user/123` **is not** normalized
  19329. * - `/my/app/user/123/` **is not** normalized
  19330. *
  19331. * ### Example
  19332. *
  19333. * <code-example path='common/location/ts/path_location_component.ts'
  19334. * region='LocationComponent'></code-example>
  19335. *
  19336. * @publicApi
  19337. */
  19338. class Location {
  19339. constructor(locationStrategy) {
  19340. /** @internal */
  19341. this._subject = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
  19342. /** @internal */
  19343. this._urlChangeListeners = [];
  19344. /** @internal */
  19345. this._urlChangeSubscription = null;
  19346. this._locationStrategy = locationStrategy;
  19347. const browserBaseHref = this._locationStrategy.getBaseHref();
  19348. this._baseHref = stripTrailingSlash(_stripIndexHtml(browserBaseHref));
  19349. this._locationStrategy.onPopState(ev => {
  19350. this._subject.emit({
  19351. 'url': this.path(true),
  19352. 'pop': true,
  19353. 'state': ev.state,
  19354. 'type': ev.type
  19355. });
  19356. });
  19357. }
  19358. /** @nodoc */
  19359. ngOnDestroy() {
  19360. var _a;
  19361. (_a = this._urlChangeSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
  19362. this._urlChangeListeners = [];
  19363. }
  19364. /**
  19365. * Normalizes the URL path for this location.
  19366. *
  19367. * @param includeHash True to include an anchor fragment in the path.
  19368. *
  19369. * @returns The normalized URL path.
  19370. */
  19371. // TODO: vsavkin. Remove the boolean flag and always include hash once the deprecated router is
  19372. // removed.
  19373. path(includeHash = false) {
  19374. return this.normalize(this._locationStrategy.path(includeHash));
  19375. }
  19376. /**
  19377. * Reports the current state of the location history.
  19378. * @returns The current value of the `history.state` object.
  19379. */
  19380. getState() {
  19381. return this._locationStrategy.getState();
  19382. }
  19383. /**
  19384. * Normalizes the given path and compares to the current normalized path.
  19385. *
  19386. * @param path The given URL path.
  19387. * @param query Query parameters.
  19388. *
  19389. * @returns True if the given URL path is equal to the current normalized path, false
  19390. * otherwise.
  19391. */
  19392. isCurrentPathEqualTo(path, query = '') {
  19393. return this.path() == this.normalize(path + normalizeQueryParams(query));
  19394. }
  19395. /**
  19396. * Normalizes a URL path by stripping any trailing slashes.
  19397. *
  19398. * @param url String representing a URL.
  19399. *
  19400. * @returns The normalized URL string.
  19401. */
  19402. normalize(url) {
  19403. return Location.stripTrailingSlash(_stripBaseHref(this._baseHref, _stripIndexHtml(url)));
  19404. }
  19405. /**
  19406. * Normalizes an external URL path.
  19407. * If the given URL doesn't begin with a leading slash (`'/'`), adds one
  19408. * before normalizing. Adds a hash if `HashLocationStrategy` is
  19409. * in use, or the `APP_BASE_HREF` if the `PathLocationStrategy` is in use.
  19410. *
  19411. * @param url String representing a URL.
  19412. *
  19413. * @returns A normalized platform-specific URL.
  19414. */
  19415. prepareExternalUrl(url) {
  19416. if (url && url[0] !== '/') {
  19417. url = '/' + url;
  19418. }
  19419. return this._locationStrategy.prepareExternalUrl(url);
  19420. } // TODO: rename this method to pushState
  19421. /**
  19422. * Changes the browser's URL to a normalized version of a given URL, and pushes a
  19423. * new item onto the platform's history.
  19424. *
  19425. * @param path URL path to normalize.
  19426. * @param query Query parameters.
  19427. * @param state Location history state.
  19428. *
  19429. */
  19430. go(path, query = '', state = null) {
  19431. this._locationStrategy.pushState(state, '', path, query);
  19432. this._notifyUrlChangeListeners(this.prepareExternalUrl(path + normalizeQueryParams(query)), state);
  19433. }
  19434. /**
  19435. * Changes the browser's URL to a normalized version of the given URL, and replaces
  19436. * the top item on the platform's history stack.
  19437. *
  19438. * @param path URL path to normalize.
  19439. * @param query Query parameters.
  19440. * @param state Location history state.
  19441. */
  19442. replaceState(path, query = '', state = null) {
  19443. this._locationStrategy.replaceState(state, '', path, query);
  19444. this._notifyUrlChangeListeners(this.prepareExternalUrl(path + normalizeQueryParams(query)), state);
  19445. }
  19446. /**
  19447. * Navigates forward in the platform's history.
  19448. */
  19449. forward() {
  19450. this._locationStrategy.forward();
  19451. }
  19452. /**
  19453. * Navigates back in the platform's history.
  19454. */
  19455. back() {
  19456. this._locationStrategy.back();
  19457. }
  19458. /**
  19459. * Navigate to a specific page from session history, identified by its relative position to the
  19460. * current page.
  19461. *
  19462. * @param relativePosition Position of the target page in the history relative to the current
  19463. * page.
  19464. * A negative value moves backwards, a positive value moves forwards, e.g. `location.historyGo(2)`
  19465. * moves forward two pages and `location.historyGo(-2)` moves back two pages. When we try to go
  19466. * beyond what's stored in the history session, we stay in the current page. Same behaviour occurs
  19467. * when `relativePosition` equals 0.
  19468. * @see https://developer.mozilla.org/en-US/docs/Web/API/History_API#Moving_to_a_specific_point_in_history
  19469. */
  19470. historyGo(relativePosition = 0) {
  19471. var _a, _b;
  19472. (_b = (_a = this._locationStrategy).historyGo) === null || _b === void 0 ? void 0 : _b.call(_a, relativePosition);
  19473. }
  19474. /**
  19475. * Registers a URL change listener. Use to catch updates performed by the Angular
  19476. * framework that are not detectible through "popstate" or "hashchange" events.
  19477. *
  19478. * @param fn The change handler function, which take a URL and a location history state.
  19479. * @returns A function that, when executed, unregisters a URL change listener.
  19480. */
  19481. onUrlChange(fn) {
  19482. this._urlChangeListeners.push(fn);
  19483. if (!this._urlChangeSubscription) {
  19484. this._urlChangeSubscription = this.subscribe(v => {
  19485. this._notifyUrlChangeListeners(v.url, v.state);
  19486. });
  19487. }
  19488. return () => {
  19489. var _a;
  19490. const fnIndex = this._urlChangeListeners.indexOf(fn);
  19491. this._urlChangeListeners.splice(fnIndex, 1);
  19492. if (this._urlChangeListeners.length === 0) {
  19493. (_a = this._urlChangeSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
  19494. this._urlChangeSubscription = null;
  19495. }
  19496. };
  19497. }
  19498. /** @internal */
  19499. _notifyUrlChangeListeners(url = '', state) {
  19500. this._urlChangeListeners.forEach(fn => fn(url, state));
  19501. }
  19502. /**
  19503. * Subscribes to the platform's `popState` events.
  19504. *
  19505. * Note: `Location.go()` does not trigger the `popState` event in the browser. Use
  19506. * `Location.onUrlChange()` to subscribe to URL changes instead.
  19507. *
  19508. * @param value Event that is triggered when the state history changes.
  19509. * @param exception The exception to throw.
  19510. *
  19511. * @see [onpopstate](https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onpopstate)
  19512. *
  19513. * @returns Subscribed events.
  19514. */
  19515. subscribe(onNext, onThrow, onReturn) {
  19516. return this._subject.subscribe({
  19517. next: onNext,
  19518. error: onThrow,
  19519. complete: onReturn
  19520. });
  19521. }
  19522. }
  19523. /**
  19524. * Normalizes URL parameters by prepending with `?` if needed.
  19525. *
  19526. * @param params String of URL parameters.
  19527. *
  19528. * @returns The normalized URL parameters string.
  19529. */
  19530. Location.normalizeQueryParams = normalizeQueryParams;
  19531. /**
  19532. * Joins two parts of a URL with a slash if needed.
  19533. *
  19534. * @param start URL string
  19535. * @param end URL string
  19536. *
  19537. *
  19538. * @returns The joined URL string.
  19539. */
  19540. Location.joinWithSlash = joinWithSlash;
  19541. /**
  19542. * Removes a trailing slash from a URL string if needed.
  19543. * Looks for the first occurrence of either `#`, `?`, or the end of the
  19544. * line as `/` characters and removes the trailing slash if one exists.
  19545. *
  19546. * @param url URL string.
  19547. *
  19548. * @returns The URL string, modified if needed.
  19549. */
  19550. Location.stripTrailingSlash = stripTrailingSlash;
  19551. Location.ɵfac = function Location_Factory(t) {
  19552. return new (t || Location)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](LocationStrategy));
  19553. };
  19554. Location.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
  19555. token: Location,
  19556. factory: function () {
  19557. return createLocation();
  19558. },
  19559. providedIn: 'root'
  19560. });
  19561. (function () {
  19562. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](Location, [{
  19563. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
  19564. args: [{
  19565. providedIn: 'root',
  19566. // See #23917
  19567. useFactory: createLocation
  19568. }]
  19569. }], function () {
  19570. return [{
  19571. type: LocationStrategy
  19572. }];
  19573. }, null);
  19574. })();
  19575. function createLocation() {
  19576. return new Location((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"])(LocationStrategy));
  19577. }
  19578. function _stripBaseHref(baseHref, url) {
  19579. return baseHref && url.startsWith(baseHref) ? url.substring(baseHref.length) : url;
  19580. }
  19581. function _stripIndexHtml(url) {
  19582. return url.replace(/\/index.html$/, '');
  19583. }
  19584. /**
  19585. * @license
  19586. * Copyright Google LLC All Rights Reserved.
  19587. *
  19588. * Use of this source code is governed by an MIT-style license that can be
  19589. * found in the LICENSE file at https://angular.io/license
  19590. */
  19591. /**
  19592. * @license
  19593. * Copyright Google LLC All Rights Reserved.
  19594. *
  19595. * Use of this source code is governed by an MIT-style license that can be
  19596. * found in the LICENSE file at https://angular.io/license
  19597. */
  19598. /** @internal */
  19599. const CURRENCIES_EN = {
  19600. "ADP": [undefined, undefined, 0],
  19601. "AFN": [undefined, "؋", 0],
  19602. "ALL": [undefined, undefined, 0],
  19603. "AMD": [undefined, "֏", 2],
  19604. "AOA": [undefined, "Kz"],
  19605. "ARS": [undefined, "$"],
  19606. "AUD": ["A$", "$"],
  19607. "AZN": [undefined, "₼"],
  19608. "BAM": [undefined, "KM"],
  19609. "BBD": [undefined, "$"],
  19610. "BDT": [undefined, "৳"],
  19611. "BHD": [undefined, undefined, 3],
  19612. "BIF": [undefined, undefined, 0],
  19613. "BMD": [undefined, "$"],
  19614. "BND": [undefined, "$"],
  19615. "BOB": [undefined, "Bs"],
  19616. "BRL": ["R$"],
  19617. "BSD": [undefined, "$"],
  19618. "BWP": [undefined, "P"],
  19619. "BYN": [undefined, undefined, 2],
  19620. "BYR": [undefined, undefined, 0],
  19621. "BZD": [undefined, "$"],
  19622. "CAD": ["CA$", "$", 2],
  19623. "CHF": [undefined, undefined, 2],
  19624. "CLF": [undefined, undefined, 4],
  19625. "CLP": [undefined, "$", 0],
  19626. "CNY": ["CN¥", "¥"],
  19627. "COP": [undefined, "$", 2],
  19628. "CRC": [undefined, "₡", 2],
  19629. "CUC": [undefined, "$"],
  19630. "CUP": [undefined, "$"],
  19631. "CZK": [undefined, "Kč", 2],
  19632. "DJF": [undefined, undefined, 0],
  19633. "DKK": [undefined, "kr", 2],
  19634. "DOP": [undefined, "$"],
  19635. "EGP": [undefined, "E£"],
  19636. "ESP": [undefined, "₧", 0],
  19637. "EUR": ["€"],
  19638. "FJD": [undefined, "$"],
  19639. "FKP": [undefined, "£"],
  19640. "GBP": ["£"],
  19641. "GEL": [undefined, "₾"],
  19642. "GHS": [undefined, "GH₵"],
  19643. "GIP": [undefined, "£"],
  19644. "GNF": [undefined, "FG", 0],
  19645. "GTQ": [undefined, "Q"],
  19646. "GYD": [undefined, "$", 2],
  19647. "HKD": ["HK$", "$"],
  19648. "HNL": [undefined, "L"],
  19649. "HRK": [undefined, "kn"],
  19650. "HUF": [undefined, "Ft", 2],
  19651. "IDR": [undefined, "Rp", 2],
  19652. "ILS": ["₪"],
  19653. "INR": ["₹"],
  19654. "IQD": [undefined, undefined, 0],
  19655. "IRR": [undefined, undefined, 0],
  19656. "ISK": [undefined, "kr", 0],
  19657. "ITL": [undefined, undefined, 0],
  19658. "JMD": [undefined, "$"],
  19659. "JOD": [undefined, undefined, 3],
  19660. "JPY": ["¥", undefined, 0],
  19661. "KHR": [undefined, "៛"],
  19662. "KMF": [undefined, "CF", 0],
  19663. "KPW": [undefined, "₩", 0],
  19664. "KRW": ["₩", undefined, 0],
  19665. "KWD": [undefined, undefined, 3],
  19666. "KYD": [undefined, "$"],
  19667. "KZT": [undefined, "₸"],
  19668. "LAK": [undefined, "₭", 0],
  19669. "LBP": [undefined, "L£", 0],
  19670. "LKR": [undefined, "Rs"],
  19671. "LRD": [undefined, "$"],
  19672. "LTL": [undefined, "Lt"],
  19673. "LUF": [undefined, undefined, 0],
  19674. "LVL": [undefined, "Ls"],
  19675. "LYD": [undefined, undefined, 3],
  19676. "MGA": [undefined, "Ar", 0],
  19677. "MGF": [undefined, undefined, 0],
  19678. "MMK": [undefined, "K", 0],
  19679. "MNT": [undefined, "₮", 2],
  19680. "MRO": [undefined, undefined, 0],
  19681. "MUR": [undefined, "Rs", 2],
  19682. "MXN": ["MX$", "$"],
  19683. "MYR": [undefined, "RM"],
  19684. "NAD": [undefined, "$"],
  19685. "NGN": [undefined, "₦"],
  19686. "NIO": [undefined, "C$"],
  19687. "NOK": [undefined, "kr", 2],
  19688. "NPR": [undefined, "Rs"],
  19689. "NZD": ["NZ$", "$"],
  19690. "OMR": [undefined, undefined, 3],
  19691. "PHP": ["₱"],
  19692. "PKR": [undefined, "Rs", 2],
  19693. "PLN": [undefined, "zł"],
  19694. "PYG": [undefined, "₲", 0],
  19695. "RON": [undefined, "lei"],
  19696. "RSD": [undefined, undefined, 0],
  19697. "RUB": [undefined, "₽"],
  19698. "RWF": [undefined, "RF", 0],
  19699. "SBD": [undefined, "$"],
  19700. "SEK": [undefined, "kr", 2],
  19701. "SGD": [undefined, "$"],
  19702. "SHP": [undefined, "£"],
  19703. "SLE": [undefined, undefined, 2],
  19704. "SLL": [undefined, undefined, 0],
  19705. "SOS": [undefined, undefined, 0],
  19706. "SRD": [undefined, "$"],
  19707. "SSP": [undefined, "£"],
  19708. "STD": [undefined, undefined, 0],
  19709. "STN": [undefined, "Db"],
  19710. "SYP": [undefined, "£", 0],
  19711. "THB": [undefined, "฿"],
  19712. "TMM": [undefined, undefined, 0],
  19713. "TND": [undefined, undefined, 3],
  19714. "TOP": [undefined, "T$"],
  19715. "TRL": [undefined, undefined, 0],
  19716. "TRY": [undefined, "₺"],
  19717. "TTD": [undefined, "$"],
  19718. "TWD": ["NT$", "$", 2],
  19719. "TZS": [undefined, undefined, 2],
  19720. "UAH": [undefined, "₴"],
  19721. "UGX": [undefined, undefined, 0],
  19722. "USD": ["$"],
  19723. "UYI": [undefined, undefined, 0],
  19724. "UYU": [undefined, "$"],
  19725. "UYW": [undefined, undefined, 4],
  19726. "UZS": [undefined, undefined, 2],
  19727. "VEF": [undefined, "Bs", 2],
  19728. "VND": ["₫", undefined, 0],
  19729. "VUV": [undefined, undefined, 0],
  19730. "XAF": ["FCFA", undefined, 0],
  19731. "XCD": ["EC$", "$"],
  19732. "XOF": ["F CFA", undefined, 0],
  19733. "XPF": ["CFPF", undefined, 0],
  19734. "XXX": ["¤"],
  19735. "YER": [undefined, undefined, 0],
  19736. "ZAR": [undefined, "R"],
  19737. "ZMK": [undefined, undefined, 0],
  19738. "ZMW": [undefined, "ZK"],
  19739. "ZWD": [undefined, undefined, 0]
  19740. };
  19741. /**
  19742. * @license
  19743. * Copyright Google LLC All Rights Reserved.
  19744. *
  19745. * Use of this source code is governed by an MIT-style license that can be
  19746. * found in the LICENSE file at https://angular.io/license
  19747. */
  19748. /**
  19749. * Format styles that can be used to represent numbers.
  19750. * @see `getLocaleNumberFormat()`.
  19751. * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
  19752. *
  19753. * @publicApi
  19754. */
  19755. var NumberFormatStyle;
  19756. (function (NumberFormatStyle) {
  19757. NumberFormatStyle[NumberFormatStyle["Decimal"] = 0] = "Decimal";
  19758. NumberFormatStyle[NumberFormatStyle["Percent"] = 1] = "Percent";
  19759. NumberFormatStyle[NumberFormatStyle["Currency"] = 2] = "Currency";
  19760. NumberFormatStyle[NumberFormatStyle["Scientific"] = 3] = "Scientific";
  19761. })(NumberFormatStyle || (NumberFormatStyle = {}));
  19762. /**
  19763. * Plurality cases used for translating plurals to different languages.
  19764. *
  19765. * @see `NgPlural`
  19766. * @see `NgPluralCase`
  19767. * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
  19768. *
  19769. * @publicApi
  19770. */
  19771. var Plural;
  19772. (function (Plural) {
  19773. Plural[Plural["Zero"] = 0] = "Zero";
  19774. Plural[Plural["One"] = 1] = "One";
  19775. Plural[Plural["Two"] = 2] = "Two";
  19776. Plural[Plural["Few"] = 3] = "Few";
  19777. Plural[Plural["Many"] = 4] = "Many";
  19778. Plural[Plural["Other"] = 5] = "Other";
  19779. })(Plural || (Plural = {}));
  19780. /**
  19781. * Context-dependant translation forms for strings.
  19782. * Typically the standalone version is for the nominative form of the word,
  19783. * and the format version is used for the genitive case.
  19784. * @see [CLDR website](http://cldr.unicode.org/translation/date-time-1/date-time#TOC-Standalone-vs.-Format-Styles)
  19785. * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
  19786. *
  19787. * @publicApi
  19788. */
  19789. var FormStyle;
  19790. (function (FormStyle) {
  19791. FormStyle[FormStyle["Format"] = 0] = "Format";
  19792. FormStyle[FormStyle["Standalone"] = 1] = "Standalone";
  19793. })(FormStyle || (FormStyle = {}));
  19794. /**
  19795. * String widths available for translations.
  19796. * The specific character widths are locale-specific.
  19797. * Examples are given for the word "Sunday" in English.
  19798. *
  19799. * @publicApi
  19800. */
  19801. var TranslationWidth;
  19802. (function (TranslationWidth) {
  19803. /** 1 character for `en-US`. For example: 'S' */
  19804. TranslationWidth[TranslationWidth["Narrow"] = 0] = "Narrow";
  19805. /** 3 characters for `en-US`. For example: 'Sun' */
  19806. TranslationWidth[TranslationWidth["Abbreviated"] = 1] = "Abbreviated";
  19807. /** Full length for `en-US`. For example: "Sunday" */
  19808. TranslationWidth[TranslationWidth["Wide"] = 2] = "Wide";
  19809. /** 2 characters for `en-US`, For example: "Su" */
  19810. TranslationWidth[TranslationWidth["Short"] = 3] = "Short";
  19811. })(TranslationWidth || (TranslationWidth = {}));
  19812. /**
  19813. * String widths available for date-time formats.
  19814. * The specific character widths are locale-specific.
  19815. * Examples are given for `en-US`.
  19816. *
  19817. * @see `getLocaleDateFormat()`
  19818. * @see `getLocaleTimeFormat()`
  19819. * @see `getLocaleDateTimeFormat()`
  19820. * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
  19821. * @publicApi
  19822. */
  19823. var FormatWidth;
  19824. (function (FormatWidth) {
  19825. /**
  19826. * For `en-US`, 'M/d/yy, h:mm a'`
  19827. * (Example: `6/15/15, 9:03 AM`)
  19828. */
  19829. FormatWidth[FormatWidth["Short"] = 0] = "Short";
  19830. /**
  19831. * For `en-US`, `'MMM d, y, h:mm:ss a'`
  19832. * (Example: `Jun 15, 2015, 9:03:01 AM`)
  19833. */
  19834. FormatWidth[FormatWidth["Medium"] = 1] = "Medium";
  19835. /**
  19836. * For `en-US`, `'MMMM d, y, h:mm:ss a z'`
  19837. * (Example: `June 15, 2015 at 9:03:01 AM GMT+1`)
  19838. */
  19839. FormatWidth[FormatWidth["Long"] = 2] = "Long";
  19840. /**
  19841. * For `en-US`, `'EEEE, MMMM d, y, h:mm:ss a zzzz'`
  19842. * (Example: `Monday, June 15, 2015 at 9:03:01 AM GMT+01:00`)
  19843. */
  19844. FormatWidth[FormatWidth["Full"] = 3] = "Full";
  19845. })(FormatWidth || (FormatWidth = {}));
  19846. /**
  19847. * Symbols that can be used to replace placeholders in number patterns.
  19848. * Examples are based on `en-US` values.
  19849. *
  19850. * @see `getLocaleNumberSymbol()`
  19851. * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
  19852. *
  19853. * @publicApi
  19854. */
  19855. var NumberSymbol;
  19856. (function (NumberSymbol) {
  19857. /**
  19858. * Decimal separator.
  19859. * For `en-US`, the dot character.
  19860. * Example: 2,345`.`67
  19861. */
  19862. NumberSymbol[NumberSymbol["Decimal"] = 0] = "Decimal";
  19863. /**
  19864. * Grouping separator, typically for thousands.
  19865. * For `en-US`, the comma character.
  19866. * Example: 2`,`345.67
  19867. */
  19868. NumberSymbol[NumberSymbol["Group"] = 1] = "Group";
  19869. /**
  19870. * List-item separator.
  19871. * Example: "one, two, and three"
  19872. */
  19873. NumberSymbol[NumberSymbol["List"] = 2] = "List";
  19874. /**
  19875. * Sign for percentage (out of 100).
  19876. * Example: 23.4%
  19877. */
  19878. NumberSymbol[NumberSymbol["PercentSign"] = 3] = "PercentSign";
  19879. /**
  19880. * Sign for positive numbers.
  19881. * Example: +23
  19882. */
  19883. NumberSymbol[NumberSymbol["PlusSign"] = 4] = "PlusSign";
  19884. /**
  19885. * Sign for negative numbers.
  19886. * Example: -23
  19887. */
  19888. NumberSymbol[NumberSymbol["MinusSign"] = 5] = "MinusSign";
  19889. /**
  19890. * Computer notation for exponential value (n times a power of 10).
  19891. * Example: 1.2E3
  19892. */
  19893. NumberSymbol[NumberSymbol["Exponential"] = 6] = "Exponential";
  19894. /**
  19895. * Human-readable format of exponential.
  19896. * Example: 1.2x103
  19897. */
  19898. NumberSymbol[NumberSymbol["SuperscriptingExponent"] = 7] = "SuperscriptingExponent";
  19899. /**
  19900. * Sign for permille (out of 1000).
  19901. * Example: 23.4‰
  19902. */
  19903. NumberSymbol[NumberSymbol["PerMille"] = 8] = "PerMille";
  19904. /**
  19905. * Infinity, can be used with plus and minus.
  19906. * Example: ∞, +∞, -∞
  19907. */
  19908. NumberSymbol[NumberSymbol["Infinity"] = 9] = "Infinity";
  19909. /**
  19910. * Not a number.
  19911. * Example: NaN
  19912. */
  19913. NumberSymbol[NumberSymbol["NaN"] = 10] = "NaN";
  19914. /**
  19915. * Symbol used between time units.
  19916. * Example: 10:52
  19917. */
  19918. NumberSymbol[NumberSymbol["TimeSeparator"] = 11] = "TimeSeparator";
  19919. /**
  19920. * Decimal separator for currency values (fallback to `Decimal`).
  19921. * Example: $2,345.67
  19922. */
  19923. NumberSymbol[NumberSymbol["CurrencyDecimal"] = 12] = "CurrencyDecimal";
  19924. /**
  19925. * Group separator for currency values (fallback to `Group`).
  19926. * Example: $2,345.67
  19927. */
  19928. NumberSymbol[NumberSymbol["CurrencyGroup"] = 13] = "CurrencyGroup";
  19929. })(NumberSymbol || (NumberSymbol = {}));
  19930. /**
  19931. * The value for each day of the week, based on the `en-US` locale
  19932. *
  19933. * @publicApi
  19934. */
  19935. var WeekDay;
  19936. (function (WeekDay) {
  19937. WeekDay[WeekDay["Sunday"] = 0] = "Sunday";
  19938. WeekDay[WeekDay["Monday"] = 1] = "Monday";
  19939. WeekDay[WeekDay["Tuesday"] = 2] = "Tuesday";
  19940. WeekDay[WeekDay["Wednesday"] = 3] = "Wednesday";
  19941. WeekDay[WeekDay["Thursday"] = 4] = "Thursday";
  19942. WeekDay[WeekDay["Friday"] = 5] = "Friday";
  19943. WeekDay[WeekDay["Saturday"] = 6] = "Saturday";
  19944. })(WeekDay || (WeekDay = {}));
  19945. /**
  19946. * Retrieves the locale ID from the currently loaded locale.
  19947. * The loaded locale could be, for example, a global one rather than a regional one.
  19948. * @param locale A locale code, such as `fr-FR`.
  19949. * @returns The locale code. For example, `fr`.
  19950. * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
  19951. *
  19952. * @publicApi
  19953. */
  19954. function getLocaleId(locale) {
  19955. return (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵfindLocaleData"])(locale)[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].LocaleId];
  19956. }
  19957. /**
  19958. * Retrieves day period strings for the given locale.
  19959. *
  19960. * @param locale A locale code for the locale format rules to use.
  19961. * @param formStyle The required grammatical form.
  19962. * @param width The required character width.
  19963. * @returns An array of localized period strings. For example, `[AM, PM]` for `en-US`.
  19964. * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
  19965. *
  19966. * @publicApi
  19967. */
  19968. function getLocaleDayPeriods(locale, formStyle, width) {
  19969. const data = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵfindLocaleData"])(locale);
  19970. const amPmData = [data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].DayPeriodsFormat], data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].DayPeriodsStandalone]];
  19971. const amPm = getLastDefinedValue(amPmData, formStyle);
  19972. return getLastDefinedValue(amPm, width);
  19973. }
  19974. /**
  19975. * Retrieves days of the week for the given locale, using the Gregorian calendar.
  19976. *
  19977. * @param locale A locale code for the locale format rules to use.
  19978. * @param formStyle The required grammatical form.
  19979. * @param width The required character width.
  19980. * @returns An array of localized name strings.
  19981. * For example,`[Sunday, Monday, ... Saturday]` for `en-US`.
  19982. * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
  19983. *
  19984. * @publicApi
  19985. */
  19986. function getLocaleDayNames(locale, formStyle, width) {
  19987. const data = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵfindLocaleData"])(locale);
  19988. const daysData = [data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].DaysFormat], data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].DaysStandalone]];
  19989. const days = getLastDefinedValue(daysData, formStyle);
  19990. return getLastDefinedValue(days, width);
  19991. }
  19992. /**
  19993. * Retrieves months of the year for the given locale, using the Gregorian calendar.
  19994. *
  19995. * @param locale A locale code for the locale format rules to use.
  19996. * @param formStyle The required grammatical form.
  19997. * @param width The required character width.
  19998. * @returns An array of localized name strings.
  19999. * For example, `[January, February, ...]` for `en-US`.
  20000. * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
  20001. *
  20002. * @publicApi
  20003. */
  20004. function getLocaleMonthNames(locale, formStyle, width) {
  20005. const data = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵfindLocaleData"])(locale);
  20006. const monthsData = [data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].MonthsFormat], data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].MonthsStandalone]];
  20007. const months = getLastDefinedValue(monthsData, formStyle);
  20008. return getLastDefinedValue(months, width);
  20009. }
  20010. /**
  20011. * Retrieves Gregorian-calendar eras for the given locale.
  20012. * @param locale A locale code for the locale format rules to use.
  20013. * @param width The required character width.
  20014. * @returns An array of localized era strings.
  20015. * For example, `[AD, BC]` for `en-US`.
  20016. * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
  20017. *
  20018. * @publicApi
  20019. */
  20020. function getLocaleEraNames(locale, width) {
  20021. const data = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵfindLocaleData"])(locale);
  20022. const erasData = data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].Eras];
  20023. return getLastDefinedValue(erasData, width);
  20024. }
  20025. /**
  20026. * Retrieves the first day of the week for the given locale.
  20027. *
  20028. * @param locale A locale code for the locale format rules to use.
  20029. * @returns A day index number, using the 0-based week-day index for `en-US`
  20030. * (Sunday = 0, Monday = 1, ...).
  20031. * For example, for `fr-FR`, returns 1 to indicate that the first day is Monday.
  20032. * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
  20033. *
  20034. * @publicApi
  20035. */
  20036. function getLocaleFirstDayOfWeek(locale) {
  20037. const data = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵfindLocaleData"])(locale);
  20038. return data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].FirstDayOfWeek];
  20039. }
  20040. /**
  20041. * Range of week days that are considered the week-end for the given locale.
  20042. *
  20043. * @param locale A locale code for the locale format rules to use.
  20044. * @returns The range of day values, `[startDay, endDay]`.
  20045. * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
  20046. *
  20047. * @publicApi
  20048. */
  20049. function getLocaleWeekEndRange(locale) {
  20050. const data = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵfindLocaleData"])(locale);
  20051. return data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].WeekendRange];
  20052. }
  20053. /**
  20054. * Retrieves a localized date-value formatting string.
  20055. *
  20056. * @param locale A locale code for the locale format rules to use.
  20057. * @param width The format type.
  20058. * @returns The localized formatting string.
  20059. * @see `FormatWidth`
  20060. * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
  20061. *
  20062. * @publicApi
  20063. */
  20064. function getLocaleDateFormat(locale, width) {
  20065. const data = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵfindLocaleData"])(locale);
  20066. return getLastDefinedValue(data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].DateFormat], width);
  20067. }
  20068. /**
  20069. * Retrieves a localized time-value formatting string.
  20070. *
  20071. * @param locale A locale code for the locale format rules to use.
  20072. * @param width The format type.
  20073. * @returns The localized formatting string.
  20074. * @see `FormatWidth`
  20075. * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
  20076. * @publicApi
  20077. */
  20078. function getLocaleTimeFormat(locale, width) {
  20079. const data = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵfindLocaleData"])(locale);
  20080. return getLastDefinedValue(data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].TimeFormat], width);
  20081. }
  20082. /**
  20083. * Retrieves a localized date-time formatting string.
  20084. *
  20085. * @param locale A locale code for the locale format rules to use.
  20086. * @param width The format type.
  20087. * @returns The localized formatting string.
  20088. * @see `FormatWidth`
  20089. * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
  20090. *
  20091. * @publicApi
  20092. */
  20093. function getLocaleDateTimeFormat(locale, width) {
  20094. const data = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵfindLocaleData"])(locale);
  20095. const dateTimeFormatData = data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].DateTimeFormat];
  20096. return getLastDefinedValue(dateTimeFormatData, width);
  20097. }
  20098. /**
  20099. * Retrieves a localized number symbol that can be used to replace placeholders in number formats.
  20100. * @param locale The locale code.
  20101. * @param symbol The symbol to localize.
  20102. * @returns The character for the localized symbol.
  20103. * @see `NumberSymbol`
  20104. * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
  20105. *
  20106. * @publicApi
  20107. */
  20108. function getLocaleNumberSymbol(locale, symbol) {
  20109. const data = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵfindLocaleData"])(locale);
  20110. const res = data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].NumberSymbols][symbol];
  20111. if (typeof res === 'undefined') {
  20112. if (symbol === NumberSymbol.CurrencyDecimal) {
  20113. return data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].NumberSymbols][NumberSymbol.Decimal];
  20114. } else if (symbol === NumberSymbol.CurrencyGroup) {
  20115. return data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].NumberSymbols][NumberSymbol.Group];
  20116. }
  20117. }
  20118. return res;
  20119. }
  20120. /**
  20121. * Retrieves a number format for a given locale.
  20122. *
  20123. * Numbers are formatted using patterns, like `#,###.00`. For example, the pattern `#,###.00`
  20124. * when used to format the number 12345.678 could result in "12'345,678". That would happen if the
  20125. * grouping separator for your language is an apostrophe, and the decimal separator is a comma.
  20126. *
  20127. * <b>Important:</b> The characters `.` `,` `0` `#` (and others below) are special placeholders
  20128. * that stand for the decimal separator, and so on, and are NOT real characters.
  20129. * You must NOT "translate" the placeholders. For example, don't change `.` to `,` even though in
  20130. * your language the decimal point is written with a comma. The symbols should be replaced by the
  20131. * local equivalents, using the appropriate `NumberSymbol` for your language.
  20132. *
  20133. * Here are the special characters used in number patterns:
  20134. *
  20135. * | Symbol | Meaning |
  20136. * |--------|---------|
  20137. * | . | Replaced automatically by the character used for the decimal point. |
  20138. * | , | Replaced by the "grouping" (thousands) separator. |
  20139. * | 0 | Replaced by a digit (or zero if there aren't enough digits). |
  20140. * | # | Replaced by a digit (or nothing if there aren't enough). |
  20141. * | ¤ | Replaced by a currency symbol, such as $ or USD. |
  20142. * | % | Marks a percent format. The % symbol may change position, but must be retained. |
  20143. * | E | Marks a scientific format. The E symbol may change position, but must be retained. |
  20144. * | ' | Special characters used as literal characters are quoted with ASCII single quotes. |
  20145. *
  20146. * @param locale A locale code for the locale format rules to use.
  20147. * @param type The type of numeric value to be formatted (such as `Decimal` or `Currency`.)
  20148. * @returns The localized format string.
  20149. * @see `NumberFormatStyle`
  20150. * @see [CLDR website](http://cldr.unicode.org/translation/number-patterns)
  20151. * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
  20152. *
  20153. * @publicApi
  20154. */
  20155. function getLocaleNumberFormat(locale, type) {
  20156. const data = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵfindLocaleData"])(locale);
  20157. return data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].NumberFormats][type];
  20158. }
  20159. /**
  20160. * Retrieves the symbol used to represent the currency for the main country
  20161. * corresponding to a given locale. For example, '$' for `en-US`.
  20162. *
  20163. * @param locale A locale code for the locale format rules to use.
  20164. * @returns The localized symbol character,
  20165. * or `null` if the main country cannot be determined.
  20166. * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
  20167. *
  20168. * @publicApi
  20169. */
  20170. function getLocaleCurrencySymbol(locale) {
  20171. const data = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵfindLocaleData"])(locale);
  20172. return data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].CurrencySymbol] || null;
  20173. }
  20174. /**
  20175. * Retrieves the name of the currency for the main country corresponding
  20176. * to a given locale. For example, 'US Dollar' for `en-US`.
  20177. * @param locale A locale code for the locale format rules to use.
  20178. * @returns The currency name,
  20179. * or `null` if the main country cannot be determined.
  20180. * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
  20181. *
  20182. * @publicApi
  20183. */
  20184. function getLocaleCurrencyName(locale) {
  20185. const data = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵfindLocaleData"])(locale);
  20186. return data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].CurrencyName] || null;
  20187. }
  20188. /**
  20189. * Retrieves the default currency code for the given locale.
  20190. *
  20191. * The default is defined as the first currency which is still in use.
  20192. *
  20193. * @param locale The code of the locale whose currency code we want.
  20194. * @returns The code of the default currency for the given locale.
  20195. *
  20196. * @publicApi
  20197. */
  20198. function getLocaleCurrencyCode(locale) {
  20199. return (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵgetLocaleCurrencyCode"])(locale);
  20200. }
  20201. /**
  20202. * Retrieves the currency values for a given locale.
  20203. * @param locale A locale code for the locale format rules to use.
  20204. * @returns The currency values.
  20205. * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
  20206. */
  20207. function getLocaleCurrencies(locale) {
  20208. const data = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵfindLocaleData"])(locale);
  20209. return data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].Currencies];
  20210. }
  20211. /**
  20212. * @alias core/ɵgetLocalePluralCase
  20213. * @publicApi
  20214. */
  20215. const getLocalePluralCase = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵgetLocalePluralCase"];
  20216. function checkFullData(data) {
  20217. if (!data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].ExtraData]) {
  20218. throw new Error(`Missing extra locale data for the locale "${data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`);
  20219. }
  20220. }
  20221. /**
  20222. * Retrieves locale-specific rules used to determine which day period to use
  20223. * when more than one period is defined for a locale.
  20224. *
  20225. * There is a rule for each defined day period. The
  20226. * first rule is applied to the first day period and so on.
  20227. * Fall back to AM/PM when no rules are available.
  20228. *
  20229. * A rule can specify a period as time range, or as a single time value.
  20230. *
  20231. * This functionality is only available when you have loaded the full locale data.
  20232. * See the ["I18n guide"](guide/i18n-common-format-data-locale).
  20233. *
  20234. * @param locale A locale code for the locale format rules to use.
  20235. * @returns The rules for the locale, a single time value or array of *from-time, to-time*,
  20236. * or null if no periods are available.
  20237. *
  20238. * @see `getLocaleExtraDayPeriods()`
  20239. * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
  20240. *
  20241. * @publicApi
  20242. */
  20243. function getLocaleExtraDayPeriodRules(locale) {
  20244. const data = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵfindLocaleData"])(locale);
  20245. checkFullData(data);
  20246. const rules = data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].ExtraData][2
  20247. /* ɵExtraLocaleDataIndex.ExtraDayPeriodsRules */
  20248. ] || [];
  20249. return rules.map(rule => {
  20250. if (typeof rule === 'string') {
  20251. return extractTime(rule);
  20252. }
  20253. return [extractTime(rule[0]), extractTime(rule[1])];
  20254. });
  20255. }
  20256. /**
  20257. * Retrieves locale-specific day periods, which indicate roughly how a day is broken up
  20258. * in different languages.
  20259. * For example, for `en-US`, periods are morning, noon, afternoon, evening, and midnight.
  20260. *
  20261. * This functionality is only available when you have loaded the full locale data.
  20262. * See the ["I18n guide"](guide/i18n-common-format-data-locale).
  20263. *
  20264. * @param locale A locale code for the locale format rules to use.
  20265. * @param formStyle The required grammatical form.
  20266. * @param width The required character width.
  20267. * @returns The translated day-period strings.
  20268. * @see `getLocaleExtraDayPeriodRules()`
  20269. * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
  20270. *
  20271. * @publicApi
  20272. */
  20273. function getLocaleExtraDayPeriods(locale, formStyle, width) {
  20274. const data = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵfindLocaleData"])(locale);
  20275. checkFullData(data);
  20276. const dayPeriodsData = [data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].ExtraData][0
  20277. /* ɵExtraLocaleDataIndex.ExtraDayPeriodFormats */
  20278. ], data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].ExtraData][1
  20279. /* ɵExtraLocaleDataIndex.ExtraDayPeriodStandalone */
  20280. ]];
  20281. const dayPeriods = getLastDefinedValue(dayPeriodsData, formStyle) || [];
  20282. return getLastDefinedValue(dayPeriods, width) || [];
  20283. }
  20284. /**
  20285. * Retrieves the writing direction of a specified locale
  20286. * @param locale A locale code for the locale format rules to use.
  20287. * @publicApi
  20288. * @returns 'rtl' or 'ltr'
  20289. * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
  20290. */
  20291. function getLocaleDirection(locale) {
  20292. const data = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵfindLocaleData"])(locale);
  20293. return data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].Directionality];
  20294. }
  20295. /**
  20296. * Retrieves the first value that is defined in an array, going backwards from an index position.
  20297. *
  20298. * To avoid repeating the same data (as when the "format" and "standalone" forms are the same)
  20299. * add the first value to the locale data arrays, and add other values only if they are different.
  20300. *
  20301. * @param data The data array to retrieve from.
  20302. * @param index A 0-based index into the array to start from.
  20303. * @returns The value immediately before the given index position.
  20304. * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
  20305. *
  20306. * @publicApi
  20307. */
  20308. function getLastDefinedValue(data, index) {
  20309. for (let i = index; i > -1; i--) {
  20310. if (typeof data[i] !== 'undefined') {
  20311. return data[i];
  20312. }
  20313. }
  20314. throw new Error('Locale data API: locale data undefined');
  20315. }
  20316. /**
  20317. * Extracts the hours and minutes from a string like "15:45"
  20318. */
  20319. function extractTime(time) {
  20320. const [h, m] = time.split(':');
  20321. return {
  20322. hours: +h,
  20323. minutes: +m
  20324. };
  20325. }
  20326. /**
  20327. * Retrieves the currency symbol for a given currency code.
  20328. *
  20329. * For example, for the default `en-US` locale, the code `USD` can
  20330. * be represented by the narrow symbol `$` or the wide symbol `US$`.
  20331. *
  20332. * @param code The currency code.
  20333. * @param format The format, `wide` or `narrow`.
  20334. * @param locale A locale code for the locale format rules to use.
  20335. *
  20336. * @returns The symbol, or the currency code if no symbol is available.
  20337. * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
  20338. *
  20339. * @publicApi
  20340. */
  20341. function getCurrencySymbol(code, format, locale = 'en') {
  20342. const currency = getLocaleCurrencies(locale)[code] || CURRENCIES_EN[code] || [];
  20343. const symbolNarrow = currency[1
  20344. /* ɵCurrencyIndex.SymbolNarrow */
  20345. ];
  20346. if (format === 'narrow' && typeof symbolNarrow === 'string') {
  20347. return symbolNarrow;
  20348. }
  20349. return currency[0
  20350. /* ɵCurrencyIndex.Symbol */
  20351. ] || code;
  20352. } // Most currencies have cents, that's why the default is 2
  20353. const DEFAULT_NB_OF_CURRENCY_DIGITS = 2;
  20354. /**
  20355. * Reports the number of decimal digits for a given currency.
  20356. * The value depends upon the presence of cents in that particular currency.
  20357. *
  20358. * @param code The currency code.
  20359. * @returns The number of decimal digits, typically 0 or 2.
  20360. * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
  20361. *
  20362. * @publicApi
  20363. */
  20364. function getNumberOfCurrencyDigits(code) {
  20365. let digits;
  20366. const currency = CURRENCIES_EN[code];
  20367. if (currency) {
  20368. digits = currency[2
  20369. /* ɵCurrencyIndex.NbOfDigits */
  20370. ];
  20371. }
  20372. return typeof digits === 'number' ? digits : DEFAULT_NB_OF_CURRENCY_DIGITS;
  20373. }
  20374. /**
  20375. * @license
  20376. * Copyright Google LLC All Rights Reserved.
  20377. *
  20378. * Use of this source code is governed by an MIT-style license that can be
  20379. * found in the LICENSE file at https://angular.io/license
  20380. */
  20381. const ISO8601_DATE_REGEX = /^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/; // 1 2 3 4 5 6 7 8 9 10 11
  20382. const NAMED_FORMATS = {};
  20383. const DATE_FORMATS_SPLIT = /((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;
  20384. var ZoneWidth;
  20385. (function (ZoneWidth) {
  20386. ZoneWidth[ZoneWidth["Short"] = 0] = "Short";
  20387. ZoneWidth[ZoneWidth["ShortGMT"] = 1] = "ShortGMT";
  20388. ZoneWidth[ZoneWidth["Long"] = 2] = "Long";
  20389. ZoneWidth[ZoneWidth["Extended"] = 3] = "Extended";
  20390. })(ZoneWidth || (ZoneWidth = {}));
  20391. var DateType;
  20392. (function (DateType) {
  20393. DateType[DateType["FullYear"] = 0] = "FullYear";
  20394. DateType[DateType["Month"] = 1] = "Month";
  20395. DateType[DateType["Date"] = 2] = "Date";
  20396. DateType[DateType["Hours"] = 3] = "Hours";
  20397. DateType[DateType["Minutes"] = 4] = "Minutes";
  20398. DateType[DateType["Seconds"] = 5] = "Seconds";
  20399. DateType[DateType["FractionalSeconds"] = 6] = "FractionalSeconds";
  20400. DateType[DateType["Day"] = 7] = "Day";
  20401. })(DateType || (DateType = {}));
  20402. var TranslationType;
  20403. (function (TranslationType) {
  20404. TranslationType[TranslationType["DayPeriods"] = 0] = "DayPeriods";
  20405. TranslationType[TranslationType["Days"] = 1] = "Days";
  20406. TranslationType[TranslationType["Months"] = 2] = "Months";
  20407. TranslationType[TranslationType["Eras"] = 3] = "Eras";
  20408. })(TranslationType || (TranslationType = {}));
  20409. /**
  20410. * @ngModule CommonModule
  20411. * @description
  20412. *
  20413. * Formats a date according to locale rules.
  20414. *
  20415. * @param value The date to format, as a Date, or a number (milliseconds since UTC epoch)
  20416. * or an [ISO date-time string](https://www.w3.org/TR/NOTE-datetime).
  20417. * @param format The date-time components to include. See `DatePipe` for details.
  20418. * @param locale A locale code for the locale format rules to use.
  20419. * @param timezone The time zone. A time zone offset from GMT (such as `'+0430'`),
  20420. * or a standard UTC/GMT or continental US time zone abbreviation.
  20421. * If not specified, uses host system settings.
  20422. *
  20423. * @returns The formatted date string.
  20424. *
  20425. * @see `DatePipe`
  20426. * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
  20427. *
  20428. * @publicApi
  20429. */
  20430. function formatDate(value, format, locale, timezone) {
  20431. let date = toDate(value);
  20432. const namedFormat = getNamedFormat(locale, format);
  20433. format = namedFormat || format;
  20434. let parts = [];
  20435. let match;
  20436. while (format) {
  20437. match = DATE_FORMATS_SPLIT.exec(format);
  20438. if (match) {
  20439. parts = parts.concat(match.slice(1));
  20440. const part = parts.pop();
  20441. if (!part) {
  20442. break;
  20443. }
  20444. format = part;
  20445. } else {
  20446. parts.push(format);
  20447. break;
  20448. }
  20449. }
  20450. let dateTimezoneOffset = date.getTimezoneOffset();
  20451. if (timezone) {
  20452. dateTimezoneOffset = timezoneToOffset(timezone, dateTimezoneOffset);
  20453. date = convertTimezoneToLocal(date, timezone, true);
  20454. }
  20455. let text = '';
  20456. parts.forEach(value => {
  20457. const dateFormatter = getDateFormatter(value);
  20458. text += dateFormatter ? dateFormatter(date, locale, dateTimezoneOffset) : value === '\'\'' ? '\'' : value.replace(/(^'|'$)/g, '').replace(/''/g, '\'');
  20459. });
  20460. return text;
  20461. }
  20462. /**
  20463. * Create a new Date object with the given date value, and the time set to midnight.
  20464. *
  20465. * We cannot use `new Date(year, month, date)` because it maps years between 0 and 99 to 1900-1999.
  20466. * See: https://github.com/angular/angular/issues/40377
  20467. *
  20468. * Note that this function returns a Date object whose time is midnight in the current locale's
  20469. * timezone. In the future we might want to change this to be midnight in UTC, but this would be a
  20470. * considerable breaking change.
  20471. */
  20472. function createDate(year, month, date) {
  20473. // The `newDate` is set to midnight (UTC) on January 1st 1970.
  20474. // - In PST this will be December 31st 1969 at 4pm.
  20475. // - In GMT this will be January 1st 1970 at 1am.
  20476. // Note that they even have different years, dates and months!
  20477. const newDate = new Date(0); // `setFullYear()` allows years like 0001 to be set correctly. This function does not
  20478. // change the internal time of the date.
  20479. // Consider calling `setFullYear(2019, 8, 20)` (September 20, 2019).
  20480. // - In PST this will now be September 20, 2019 at 4pm
  20481. // - In GMT this will now be September 20, 2019 at 1am
  20482. newDate.setFullYear(year, month, date); // We want the final date to be at local midnight, so we reset the time.
  20483. // - In PST this will now be September 20, 2019 at 12am
  20484. // - In GMT this will now be September 20, 2019 at 12am
  20485. newDate.setHours(0, 0, 0);
  20486. return newDate;
  20487. }
  20488. function getNamedFormat(locale, format) {
  20489. const localeId = getLocaleId(locale);
  20490. NAMED_FORMATS[localeId] = NAMED_FORMATS[localeId] || {};
  20491. if (NAMED_FORMATS[localeId][format]) {
  20492. return NAMED_FORMATS[localeId][format];
  20493. }
  20494. let formatValue = '';
  20495. switch (format) {
  20496. case 'shortDate':
  20497. formatValue = getLocaleDateFormat(locale, FormatWidth.Short);
  20498. break;
  20499. case 'mediumDate':
  20500. formatValue = getLocaleDateFormat(locale, FormatWidth.Medium);
  20501. break;
  20502. case 'longDate':
  20503. formatValue = getLocaleDateFormat(locale, FormatWidth.Long);
  20504. break;
  20505. case 'fullDate':
  20506. formatValue = getLocaleDateFormat(locale, FormatWidth.Full);
  20507. break;
  20508. case 'shortTime':
  20509. formatValue = getLocaleTimeFormat(locale, FormatWidth.Short);
  20510. break;
  20511. case 'mediumTime':
  20512. formatValue = getLocaleTimeFormat(locale, FormatWidth.Medium);
  20513. break;
  20514. case 'longTime':
  20515. formatValue = getLocaleTimeFormat(locale, FormatWidth.Long);
  20516. break;
  20517. case 'fullTime':
  20518. formatValue = getLocaleTimeFormat(locale, FormatWidth.Full);
  20519. break;
  20520. case 'short':
  20521. const shortTime = getNamedFormat(locale, 'shortTime');
  20522. const shortDate = getNamedFormat(locale, 'shortDate');
  20523. formatValue = formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Short), [shortTime, shortDate]);
  20524. break;
  20525. case 'medium':
  20526. const mediumTime = getNamedFormat(locale, 'mediumTime');
  20527. const mediumDate = getNamedFormat(locale, 'mediumDate');
  20528. formatValue = formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Medium), [mediumTime, mediumDate]);
  20529. break;
  20530. case 'long':
  20531. const longTime = getNamedFormat(locale, 'longTime');
  20532. const longDate = getNamedFormat(locale, 'longDate');
  20533. formatValue = formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Long), [longTime, longDate]);
  20534. break;
  20535. case 'full':
  20536. const fullTime = getNamedFormat(locale, 'fullTime');
  20537. const fullDate = getNamedFormat(locale, 'fullDate');
  20538. formatValue = formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Full), [fullTime, fullDate]);
  20539. break;
  20540. }
  20541. if (formatValue) {
  20542. NAMED_FORMATS[localeId][format] = formatValue;
  20543. }
  20544. return formatValue;
  20545. }
  20546. function formatDateTime(str, opt_values) {
  20547. if (opt_values) {
  20548. str = str.replace(/\{([^}]+)}/g, function (match, key) {
  20549. return opt_values != null && key in opt_values ? opt_values[key] : match;
  20550. });
  20551. }
  20552. return str;
  20553. }
  20554. function padNumber(num, digits, minusSign = '-', trim, negWrap) {
  20555. let neg = '';
  20556. if (num < 0 || negWrap && num <= 0) {
  20557. if (negWrap) {
  20558. num = -num + 1;
  20559. } else {
  20560. num = -num;
  20561. neg = minusSign;
  20562. }
  20563. }
  20564. let strNum = String(num);
  20565. while (strNum.length < digits) {
  20566. strNum = '0' + strNum;
  20567. }
  20568. if (trim) {
  20569. strNum = strNum.slice(strNum.length - digits);
  20570. }
  20571. return neg + strNum;
  20572. }
  20573. function formatFractionalSeconds(milliseconds, digits) {
  20574. const strMs = padNumber(milliseconds, 3);
  20575. return strMs.substring(0, digits);
  20576. }
  20577. /**
  20578. * Returns a date formatter that transforms a date into its locale digit representation
  20579. */
  20580. function dateGetter(name, size, offset = 0, trim = false, negWrap = false) {
  20581. return function (date, locale) {
  20582. let part = getDatePart(name, date);
  20583. if (offset > 0 || part > -offset) {
  20584. part += offset;
  20585. }
  20586. if (name === DateType.Hours) {
  20587. if (part === 0 && offset === -12) {
  20588. part = 12;
  20589. }
  20590. } else if (name === DateType.FractionalSeconds) {
  20591. return formatFractionalSeconds(part, size);
  20592. }
  20593. const localeMinus = getLocaleNumberSymbol(locale, NumberSymbol.MinusSign);
  20594. return padNumber(part, size, localeMinus, trim, negWrap);
  20595. };
  20596. }
  20597. function getDatePart(part, date) {
  20598. switch (part) {
  20599. case DateType.FullYear:
  20600. return date.getFullYear();
  20601. case DateType.Month:
  20602. return date.getMonth();
  20603. case DateType.Date:
  20604. return date.getDate();
  20605. case DateType.Hours:
  20606. return date.getHours();
  20607. case DateType.Minutes:
  20608. return date.getMinutes();
  20609. case DateType.Seconds:
  20610. return date.getSeconds();
  20611. case DateType.FractionalSeconds:
  20612. return date.getMilliseconds();
  20613. case DateType.Day:
  20614. return date.getDay();
  20615. default:
  20616. throw new Error(`Unknown DateType value "${part}".`);
  20617. }
  20618. }
  20619. /**
  20620. * Returns a date formatter that transforms a date into its locale string representation
  20621. */
  20622. function dateStrGetter(name, width, form = FormStyle.Format, extended = false) {
  20623. return function (date, locale) {
  20624. return getDateTranslation(date, locale, name, width, form, extended);
  20625. };
  20626. }
  20627. /**
  20628. * Returns the locale translation of a date for a given form, type and width
  20629. */
  20630. function getDateTranslation(date, locale, name, width, form, extended) {
  20631. switch (name) {
  20632. case TranslationType.Months:
  20633. return getLocaleMonthNames(locale, form, width)[date.getMonth()];
  20634. case TranslationType.Days:
  20635. return getLocaleDayNames(locale, form, width)[date.getDay()];
  20636. case TranslationType.DayPeriods:
  20637. const currentHours = date.getHours();
  20638. const currentMinutes = date.getMinutes();
  20639. if (extended) {
  20640. const rules = getLocaleExtraDayPeriodRules(locale);
  20641. const dayPeriods = getLocaleExtraDayPeriods(locale, form, width);
  20642. const index = rules.findIndex(rule => {
  20643. if (Array.isArray(rule)) {
  20644. // morning, afternoon, evening, night
  20645. const [from, to] = rule;
  20646. const afterFrom = currentHours >= from.hours && currentMinutes >= from.minutes;
  20647. const beforeTo = currentHours < to.hours || currentHours === to.hours && currentMinutes < to.minutes; // We must account for normal rules that span a period during the day (e.g. 6am-9am)
  20648. // where `from` is less (earlier) than `to`. But also rules that span midnight (e.g.
  20649. // 10pm - 5am) where `from` is greater (later!) than `to`.
  20650. //
  20651. // In the first case the current time must be BOTH after `from` AND before `to`
  20652. // (e.g. 8am is after 6am AND before 10am).
  20653. //
  20654. // In the second case the current time must be EITHER after `from` OR before `to`
  20655. // (e.g. 4am is before 5am but not after 10pm; and 11pm is not before 5am but it is
  20656. // after 10pm).
  20657. if (from.hours < to.hours) {
  20658. if (afterFrom && beforeTo) {
  20659. return true;
  20660. }
  20661. } else if (afterFrom || beforeTo) {
  20662. return true;
  20663. }
  20664. } else {
  20665. // noon or midnight
  20666. if (rule.hours === currentHours && rule.minutes === currentMinutes) {
  20667. return true;
  20668. }
  20669. }
  20670. return false;
  20671. });
  20672. if (index !== -1) {
  20673. return dayPeriods[index];
  20674. }
  20675. } // if no rules for the day periods, we use am/pm by default
  20676. return getLocaleDayPeriods(locale, form, width)[currentHours < 12 ? 0 : 1];
  20677. case TranslationType.Eras:
  20678. return getLocaleEraNames(locale, width)[date.getFullYear() <= 0 ? 0 : 1];
  20679. default:
  20680. // This default case is not needed by TypeScript compiler, as the switch is exhaustive.
  20681. // However Closure Compiler does not understand that and reports an error in typed mode.
  20682. // The `throw new Error` below works around the problem, and the unexpected: never variable
  20683. // makes sure tsc still checks this code is unreachable.
  20684. const unexpected = name;
  20685. throw new Error(`unexpected translation type ${unexpected}`);
  20686. }
  20687. }
  20688. /**
  20689. * Returns a date formatter that transforms a date and an offset into a timezone with ISO8601 or
  20690. * GMT format depending on the width (eg: short = +0430, short:GMT = GMT+4, long = GMT+04:30,
  20691. * extended = +04:30)
  20692. */
  20693. function timeZoneGetter(width) {
  20694. return function (date, locale, offset) {
  20695. const zone = -1 * offset;
  20696. const minusSign = getLocaleNumberSymbol(locale, NumberSymbol.MinusSign);
  20697. const hours = zone > 0 ? Math.floor(zone / 60) : Math.ceil(zone / 60);
  20698. switch (width) {
  20699. case ZoneWidth.Short:
  20700. return (zone >= 0 ? '+' : '') + padNumber(hours, 2, minusSign) + padNumber(Math.abs(zone % 60), 2, minusSign);
  20701. case ZoneWidth.ShortGMT:
  20702. return 'GMT' + (zone >= 0 ? '+' : '') + padNumber(hours, 1, minusSign);
  20703. case ZoneWidth.Long:
  20704. return 'GMT' + (zone >= 0 ? '+' : '') + padNumber(hours, 2, minusSign) + ':' + padNumber(Math.abs(zone % 60), 2, minusSign);
  20705. case ZoneWidth.Extended:
  20706. if (offset === 0) {
  20707. return 'Z';
  20708. } else {
  20709. return (zone >= 0 ? '+' : '') + padNumber(hours, 2, minusSign) + ':' + padNumber(Math.abs(zone % 60), 2, minusSign);
  20710. }
  20711. default:
  20712. throw new Error(`Unknown zone width "${width}"`);
  20713. }
  20714. };
  20715. }
  20716. const JANUARY = 0;
  20717. const THURSDAY = 4;
  20718. function getFirstThursdayOfYear(year) {
  20719. const firstDayOfYear = createDate(year, JANUARY, 1).getDay();
  20720. return createDate(year, 0, 1 + (firstDayOfYear <= THURSDAY ? THURSDAY : THURSDAY + 7) - firstDayOfYear);
  20721. }
  20722. function getThursdayThisWeek(datetime) {
  20723. return createDate(datetime.getFullYear(), datetime.getMonth(), datetime.getDate() + (THURSDAY - datetime.getDay()));
  20724. }
  20725. function weekGetter(size, monthBased = false) {
  20726. return function (date, locale) {
  20727. let result;
  20728. if (monthBased) {
  20729. const nbDaysBefore1stDayOfMonth = new Date(date.getFullYear(), date.getMonth(), 1).getDay() - 1;
  20730. const today = date.getDate();
  20731. result = 1 + Math.floor((today + nbDaysBefore1stDayOfMonth) / 7);
  20732. } else {
  20733. const thisThurs = getThursdayThisWeek(date); // Some days of a year are part of next year according to ISO 8601.
  20734. // Compute the firstThurs from the year of this week's Thursday
  20735. const firstThurs = getFirstThursdayOfYear(thisThurs.getFullYear());
  20736. const diff = thisThurs.getTime() - firstThurs.getTime();
  20737. result = 1 + Math.round(diff / 6.048e8); // 6.048e8 ms per week
  20738. }
  20739. return padNumber(result, size, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));
  20740. };
  20741. }
  20742. /**
  20743. * Returns a date formatter that provides the week-numbering year for the input date.
  20744. */
  20745. function weekNumberingYearGetter(size, trim = false) {
  20746. return function (date, locale) {
  20747. const thisThurs = getThursdayThisWeek(date);
  20748. const weekNumberingYear = thisThurs.getFullYear();
  20749. return padNumber(weekNumberingYear, size, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign), trim);
  20750. };
  20751. }
  20752. const DATE_FORMATS = {}; // Based on CLDR formats:
  20753. // See complete list: http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
  20754. // See also explanations: http://cldr.unicode.org/translation/date-time
  20755. // TODO(ocombe): support all missing cldr formats: U, Q, D, F, e, j, J, C, A, v, V, X, x
  20756. function getDateFormatter(format) {
  20757. if (DATE_FORMATS[format]) {
  20758. return DATE_FORMATS[format];
  20759. }
  20760. let formatter;
  20761. switch (format) {
  20762. // Era name (AD/BC)
  20763. case 'G':
  20764. case 'GG':
  20765. case 'GGG':
  20766. formatter = dateStrGetter(TranslationType.Eras, TranslationWidth.Abbreviated);
  20767. break;
  20768. case 'GGGG':
  20769. formatter = dateStrGetter(TranslationType.Eras, TranslationWidth.Wide);
  20770. break;
  20771. case 'GGGGG':
  20772. formatter = dateStrGetter(TranslationType.Eras, TranslationWidth.Narrow);
  20773. break;
  20774. // 1 digit representation of the year, e.g. (AD 1 => 1, AD 199 => 199)
  20775. case 'y':
  20776. formatter = dateGetter(DateType.FullYear, 1, 0, false, true);
  20777. break;
  20778. // 2 digit representation of the year, padded (00-99). (e.g. AD 2001 => 01, AD 2010 => 10)
  20779. case 'yy':
  20780. formatter = dateGetter(DateType.FullYear, 2, 0, true, true);
  20781. break;
  20782. // 3 digit representation of the year, padded (000-999). (e.g. AD 2001 => 01, AD 2010 => 10)
  20783. case 'yyy':
  20784. formatter = dateGetter(DateType.FullYear, 3, 0, false, true);
  20785. break;
  20786. // 4 digit representation of the year (e.g. AD 1 => 0001, AD 2010 => 2010)
  20787. case 'yyyy':
  20788. formatter = dateGetter(DateType.FullYear, 4, 0, false, true);
  20789. break;
  20790. // 1 digit representation of the week-numbering year, e.g. (AD 1 => 1, AD 199 => 199)
  20791. case 'Y':
  20792. formatter = weekNumberingYearGetter(1);
  20793. break;
  20794. // 2 digit representation of the week-numbering year, padded (00-99). (e.g. AD 2001 => 01, AD
  20795. // 2010 => 10)
  20796. case 'YY':
  20797. formatter = weekNumberingYearGetter(2, true);
  20798. break;
  20799. // 3 digit representation of the week-numbering year, padded (000-999). (e.g. AD 1 => 001, AD
  20800. // 2010 => 2010)
  20801. case 'YYY':
  20802. formatter = weekNumberingYearGetter(3);
  20803. break;
  20804. // 4 digit representation of the week-numbering year (e.g. AD 1 => 0001, AD 2010 => 2010)
  20805. case 'YYYY':
  20806. formatter = weekNumberingYearGetter(4);
  20807. break;
  20808. // Month of the year (1-12), numeric
  20809. case 'M':
  20810. case 'L':
  20811. formatter = dateGetter(DateType.Month, 1, 1);
  20812. break;
  20813. case 'MM':
  20814. case 'LL':
  20815. formatter = dateGetter(DateType.Month, 2, 1);
  20816. break;
  20817. // Month of the year (January, ...), string, format
  20818. case 'MMM':
  20819. formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Abbreviated);
  20820. break;
  20821. case 'MMMM':
  20822. formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Wide);
  20823. break;
  20824. case 'MMMMM':
  20825. formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Narrow);
  20826. break;
  20827. // Month of the year (January, ...), string, standalone
  20828. case 'LLL':
  20829. formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Abbreviated, FormStyle.Standalone);
  20830. break;
  20831. case 'LLLL':
  20832. formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Wide, FormStyle.Standalone);
  20833. break;
  20834. case 'LLLLL':
  20835. formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Narrow, FormStyle.Standalone);
  20836. break;
  20837. // Week of the year (1, ... 52)
  20838. case 'w':
  20839. formatter = weekGetter(1);
  20840. break;
  20841. case 'ww':
  20842. formatter = weekGetter(2);
  20843. break;
  20844. // Week of the month (1, ...)
  20845. case 'W':
  20846. formatter = weekGetter(1, true);
  20847. break;
  20848. // Day of the month (1-31)
  20849. case 'd':
  20850. formatter = dateGetter(DateType.Date, 1);
  20851. break;
  20852. case 'dd':
  20853. formatter = dateGetter(DateType.Date, 2);
  20854. break;
  20855. // Day of the Week StandAlone (1, 1, Mon, Monday, M, Mo)
  20856. case 'c':
  20857. case 'cc':
  20858. formatter = dateGetter(DateType.Day, 1);
  20859. break;
  20860. case 'ccc':
  20861. formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Abbreviated, FormStyle.Standalone);
  20862. break;
  20863. case 'cccc':
  20864. formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Wide, FormStyle.Standalone);
  20865. break;
  20866. case 'ccccc':
  20867. formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Narrow, FormStyle.Standalone);
  20868. break;
  20869. case 'cccccc':
  20870. formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Short, FormStyle.Standalone);
  20871. break;
  20872. // Day of the Week
  20873. case 'E':
  20874. case 'EE':
  20875. case 'EEE':
  20876. formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Abbreviated);
  20877. break;
  20878. case 'EEEE':
  20879. formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Wide);
  20880. break;
  20881. case 'EEEEE':
  20882. formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Narrow);
  20883. break;
  20884. case 'EEEEEE':
  20885. formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Short);
  20886. break;
  20887. // Generic period of the day (am-pm)
  20888. case 'a':
  20889. case 'aa':
  20890. case 'aaa':
  20891. formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Abbreviated);
  20892. break;
  20893. case 'aaaa':
  20894. formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Wide);
  20895. break;
  20896. case 'aaaaa':
  20897. formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Narrow);
  20898. break;
  20899. // Extended period of the day (midnight, at night, ...), standalone
  20900. case 'b':
  20901. case 'bb':
  20902. case 'bbb':
  20903. formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Abbreviated, FormStyle.Standalone, true);
  20904. break;
  20905. case 'bbbb':
  20906. formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Wide, FormStyle.Standalone, true);
  20907. break;
  20908. case 'bbbbb':
  20909. formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Narrow, FormStyle.Standalone, true);
  20910. break;
  20911. // Extended period of the day (midnight, night, ...), standalone
  20912. case 'B':
  20913. case 'BB':
  20914. case 'BBB':
  20915. formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Abbreviated, FormStyle.Format, true);
  20916. break;
  20917. case 'BBBB':
  20918. formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Wide, FormStyle.Format, true);
  20919. break;
  20920. case 'BBBBB':
  20921. formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Narrow, FormStyle.Format, true);
  20922. break;
  20923. // Hour in AM/PM, (1-12)
  20924. case 'h':
  20925. formatter = dateGetter(DateType.Hours, 1, -12);
  20926. break;
  20927. case 'hh':
  20928. formatter = dateGetter(DateType.Hours, 2, -12);
  20929. break;
  20930. // Hour of the day (0-23)
  20931. case 'H':
  20932. formatter = dateGetter(DateType.Hours, 1);
  20933. break;
  20934. // Hour in day, padded (00-23)
  20935. case 'HH':
  20936. formatter = dateGetter(DateType.Hours, 2);
  20937. break;
  20938. // Minute of the hour (0-59)
  20939. case 'm':
  20940. formatter = dateGetter(DateType.Minutes, 1);
  20941. break;
  20942. case 'mm':
  20943. formatter = dateGetter(DateType.Minutes, 2);
  20944. break;
  20945. // Second of the minute (0-59)
  20946. case 's':
  20947. formatter = dateGetter(DateType.Seconds, 1);
  20948. break;
  20949. case 'ss':
  20950. formatter = dateGetter(DateType.Seconds, 2);
  20951. break;
  20952. // Fractional second
  20953. case 'S':
  20954. formatter = dateGetter(DateType.FractionalSeconds, 1);
  20955. break;
  20956. case 'SS':
  20957. formatter = dateGetter(DateType.FractionalSeconds, 2);
  20958. break;
  20959. case 'SSS':
  20960. formatter = dateGetter(DateType.FractionalSeconds, 3);
  20961. break;
  20962. // Timezone ISO8601 short format (-0430)
  20963. case 'Z':
  20964. case 'ZZ':
  20965. case 'ZZZ':
  20966. formatter = timeZoneGetter(ZoneWidth.Short);
  20967. break;
  20968. // Timezone ISO8601 extended format (-04:30)
  20969. case 'ZZZZZ':
  20970. formatter = timeZoneGetter(ZoneWidth.Extended);
  20971. break;
  20972. // Timezone GMT short format (GMT+4)
  20973. case 'O':
  20974. case 'OO':
  20975. case 'OOO': // Should be location, but fallback to format O instead because we don't have the data yet
  20976. case 'z':
  20977. case 'zz':
  20978. case 'zzz':
  20979. formatter = timeZoneGetter(ZoneWidth.ShortGMT);
  20980. break;
  20981. // Timezone GMT long format (GMT+0430)
  20982. case 'OOOO':
  20983. case 'ZZZZ': // Should be location, but fallback to format O instead because we don't have the data yet
  20984. case 'zzzz':
  20985. formatter = timeZoneGetter(ZoneWidth.Long);
  20986. break;
  20987. default:
  20988. return null;
  20989. }
  20990. DATE_FORMATS[format] = formatter;
  20991. return formatter;
  20992. }
  20993. function timezoneToOffset(timezone, fallback) {
  20994. // Support: IE 11 only, Edge 13-15+
  20995. // IE/Edge do not "understand" colon (`:`) in timezone
  20996. timezone = timezone.replace(/:/g, '');
  20997. const requestedTimezoneOffset = Date.parse('Jan 01, 1970 00:00:00 ' + timezone) / 60000;
  20998. return isNaN(requestedTimezoneOffset) ? fallback : requestedTimezoneOffset;
  20999. }
  21000. function addDateMinutes(date, minutes) {
  21001. date = new Date(date.getTime());
  21002. date.setMinutes(date.getMinutes() + minutes);
  21003. return date;
  21004. }
  21005. function convertTimezoneToLocal(date, timezone, reverse) {
  21006. const reverseValue = reverse ? -1 : 1;
  21007. const dateTimezoneOffset = date.getTimezoneOffset();
  21008. const timezoneOffset = timezoneToOffset(timezone, dateTimezoneOffset);
  21009. return addDateMinutes(date, reverseValue * (timezoneOffset - dateTimezoneOffset));
  21010. }
  21011. /**
  21012. * Converts a value to date.
  21013. *
  21014. * Supported input formats:
  21015. * - `Date`
  21016. * - number: timestamp
  21017. * - string: numeric (e.g. "1234"), ISO and date strings in a format supported by
  21018. * [Date.parse()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse).
  21019. * Note: ISO strings without time return a date without timeoffset.
  21020. *
  21021. * Throws if unable to convert to a date.
  21022. */
  21023. function toDate(value) {
  21024. if (isDate(value)) {
  21025. return value;
  21026. }
  21027. if (typeof value === 'number' && !isNaN(value)) {
  21028. return new Date(value);
  21029. }
  21030. if (typeof value === 'string') {
  21031. value = value.trim();
  21032. if (/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(value)) {
  21033. /* For ISO Strings without time the day, month and year must be extracted from the ISO String
  21034. before Date creation to avoid time offset and errors in the new Date.
  21035. If we only replace '-' with ',' in the ISO String ("2015,01,01"), and try to create a new
  21036. date, some browsers (e.g. IE 9) will throw an invalid Date error.
  21037. If we leave the '-' ("2015-01-01") and try to create a new Date("2015-01-01") the timeoffset
  21038. is applied.
  21039. Note: ISO months are 0 for January, 1 for February, ... */
  21040. const [y, m = 1, d = 1] = value.split('-').map(val => +val);
  21041. return createDate(y, m - 1, d);
  21042. }
  21043. const parsedNb = parseFloat(value); // any string that only contains numbers, like "1234" but not like "1234hello"
  21044. if (!isNaN(value - parsedNb)) {
  21045. return new Date(parsedNb);
  21046. }
  21047. let match;
  21048. if (match = value.match(ISO8601_DATE_REGEX)) {
  21049. return isoStringToDate(match);
  21050. }
  21051. }
  21052. const date = new Date(value);
  21053. if (!isDate(date)) {
  21054. throw new Error(`Unable to convert "${value}" into a date`);
  21055. }
  21056. return date;
  21057. }
  21058. /**
  21059. * Converts a date in ISO8601 to a Date.
  21060. * Used instead of `Date.parse` because of browser discrepancies.
  21061. */
  21062. function isoStringToDate(match) {
  21063. const date = new Date(0);
  21064. let tzHour = 0;
  21065. let tzMin = 0; // match[8] means that the string contains "Z" (UTC) or a timezone like "+01:00" or "+0100"
  21066. const dateSetter = match[8] ? date.setUTCFullYear : date.setFullYear;
  21067. const timeSetter = match[8] ? date.setUTCHours : date.setHours; // if there is a timezone defined like "+01:00" or "+0100"
  21068. if (match[9]) {
  21069. tzHour = Number(match[9] + match[10]);
  21070. tzMin = Number(match[9] + match[11]);
  21071. }
  21072. dateSetter.call(date, Number(match[1]), Number(match[2]) - 1, Number(match[3]));
  21073. const h = Number(match[4] || 0) - tzHour;
  21074. const m = Number(match[5] || 0) - tzMin;
  21075. const s = Number(match[6] || 0); // The ECMAScript specification (https://www.ecma-international.org/ecma-262/5.1/#sec-15.9.1.11)
  21076. // defines that `DateTime` milliseconds should always be rounded down, so that `999.9ms`
  21077. // becomes `999ms`.
  21078. const ms = Math.floor(parseFloat('0.' + (match[7] || 0)) * 1000);
  21079. timeSetter.call(date, h, m, s, ms);
  21080. return date;
  21081. }
  21082. function isDate(value) {
  21083. return value instanceof Date && !isNaN(value.valueOf());
  21084. }
  21085. /**
  21086. * @license
  21087. * Copyright Google LLC All Rights Reserved.
  21088. *
  21089. * Use of this source code is governed by an MIT-style license that can be
  21090. * found in the LICENSE file at https://angular.io/license
  21091. */
  21092. const NUMBER_FORMAT_REGEXP = /^(\d+)?\.((\d+)(-(\d+))?)?$/;
  21093. const MAX_DIGITS = 22;
  21094. const DECIMAL_SEP = '.';
  21095. const ZERO_CHAR = '0';
  21096. const PATTERN_SEP = ';';
  21097. const GROUP_SEP = ',';
  21098. const DIGIT_CHAR = '#';
  21099. const CURRENCY_CHAR = '¤';
  21100. const PERCENT_CHAR = '%';
  21101. /**
  21102. * Transforms a number to a locale string based on a style and a format.
  21103. */
  21104. function formatNumberToLocaleString(value, pattern, locale, groupSymbol, decimalSymbol, digitsInfo, isPercent = false) {
  21105. let formattedText = '';
  21106. let isZero = false;
  21107. if (!isFinite(value)) {
  21108. formattedText = getLocaleNumberSymbol(locale, NumberSymbol.Infinity);
  21109. } else {
  21110. let parsedNumber = parseNumber(value);
  21111. if (isPercent) {
  21112. parsedNumber = toPercent(parsedNumber);
  21113. }
  21114. let minInt = pattern.minInt;
  21115. let minFraction = pattern.minFrac;
  21116. let maxFraction = pattern.maxFrac;
  21117. if (digitsInfo) {
  21118. const parts = digitsInfo.match(NUMBER_FORMAT_REGEXP);
  21119. if (parts === null) {
  21120. throw new Error(`${digitsInfo} is not a valid digit info`);
  21121. }
  21122. const minIntPart = parts[1];
  21123. const minFractionPart = parts[3];
  21124. const maxFractionPart = parts[5];
  21125. if (minIntPart != null) {
  21126. minInt = parseIntAutoRadix(minIntPart);
  21127. }
  21128. if (minFractionPart != null) {
  21129. minFraction = parseIntAutoRadix(minFractionPart);
  21130. }
  21131. if (maxFractionPart != null) {
  21132. maxFraction = parseIntAutoRadix(maxFractionPart);
  21133. } else if (minFractionPart != null && minFraction > maxFraction) {
  21134. maxFraction = minFraction;
  21135. }
  21136. }
  21137. roundNumber(parsedNumber, minFraction, maxFraction);
  21138. let digits = parsedNumber.digits;
  21139. let integerLen = parsedNumber.integerLen;
  21140. const exponent = parsedNumber.exponent;
  21141. let decimals = [];
  21142. isZero = digits.every(d => !d); // pad zeros for small numbers
  21143. for (; integerLen < minInt; integerLen++) {
  21144. digits.unshift(0);
  21145. } // pad zeros for small numbers
  21146. for (; integerLen < 0; integerLen++) {
  21147. digits.unshift(0);
  21148. } // extract decimals digits
  21149. if (integerLen > 0) {
  21150. decimals = digits.splice(integerLen, digits.length);
  21151. } else {
  21152. decimals = digits;
  21153. digits = [0];
  21154. } // format the integer digits with grouping separators
  21155. const groups = [];
  21156. if (digits.length >= pattern.lgSize) {
  21157. groups.unshift(digits.splice(-pattern.lgSize, digits.length).join(''));
  21158. }
  21159. while (digits.length > pattern.gSize) {
  21160. groups.unshift(digits.splice(-pattern.gSize, digits.length).join(''));
  21161. }
  21162. if (digits.length) {
  21163. groups.unshift(digits.join(''));
  21164. }
  21165. formattedText = groups.join(getLocaleNumberSymbol(locale, groupSymbol)); // append the decimal digits
  21166. if (decimals.length) {
  21167. formattedText += getLocaleNumberSymbol(locale, decimalSymbol) + decimals.join('');
  21168. }
  21169. if (exponent) {
  21170. formattedText += getLocaleNumberSymbol(locale, NumberSymbol.Exponential) + '+' + exponent;
  21171. }
  21172. }
  21173. if (value < 0 && !isZero) {
  21174. formattedText = pattern.negPre + formattedText + pattern.negSuf;
  21175. } else {
  21176. formattedText = pattern.posPre + formattedText + pattern.posSuf;
  21177. }
  21178. return formattedText;
  21179. }
  21180. /**
  21181. * @ngModule CommonModule
  21182. * @description
  21183. *
  21184. * Formats a number as currency using locale rules.
  21185. *
  21186. * @param value The number to format.
  21187. * @param locale A locale code for the locale format rules to use.
  21188. * @param currency A string containing the currency symbol or its name,
  21189. * such as "$" or "Canadian Dollar". Used in output string, but does not affect the operation
  21190. * of the function.
  21191. * @param currencyCode The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217)
  21192. * currency code, such as `USD` for the US dollar and `EUR` for the euro.
  21193. * Used to determine the number of digits in the decimal part.
  21194. * @param digitsInfo Decimal representation options, specified by a string in the following format:
  21195. * `{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}`. See `DecimalPipe` for more details.
  21196. *
  21197. * @returns The formatted currency value.
  21198. *
  21199. * @see `formatNumber()`
  21200. * @see `DecimalPipe`
  21201. * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
  21202. *
  21203. * @publicApi
  21204. */
  21205. function formatCurrency(value, locale, currency, currencyCode, digitsInfo) {
  21206. const format = getLocaleNumberFormat(locale, NumberFormatStyle.Currency);
  21207. const pattern = parseNumberFormat(format, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));
  21208. pattern.minFrac = getNumberOfCurrencyDigits(currencyCode);
  21209. pattern.maxFrac = pattern.minFrac;
  21210. const res = formatNumberToLocaleString(value, pattern, locale, NumberSymbol.CurrencyGroup, NumberSymbol.CurrencyDecimal, digitsInfo);
  21211. return res.replace(CURRENCY_CHAR, currency) // if we have 2 time the currency character, the second one is ignored
  21212. .replace(CURRENCY_CHAR, '') // If there is a spacing between currency character and the value and
  21213. // the currency character is suppressed by passing an empty string, the
  21214. // spacing character would remain as part of the string. Then we
  21215. // should remove it.
  21216. .trim();
  21217. }
  21218. /**
  21219. * @ngModule CommonModule
  21220. * @description
  21221. *
  21222. * Formats a number as a percentage according to locale rules.
  21223. *
  21224. * @param value The number to format.
  21225. * @param locale A locale code for the locale format rules to use.
  21226. * @param digitsInfo Decimal representation options, specified by a string in the following format:
  21227. * `{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}`. See `DecimalPipe` for more details.
  21228. *
  21229. * @returns The formatted percentage value.
  21230. *
  21231. * @see `formatNumber()`
  21232. * @see `DecimalPipe`
  21233. * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
  21234. * @publicApi
  21235. *
  21236. */
  21237. function formatPercent(value, locale, digitsInfo) {
  21238. const format = getLocaleNumberFormat(locale, NumberFormatStyle.Percent);
  21239. const pattern = parseNumberFormat(format, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));
  21240. const res = formatNumberToLocaleString(value, pattern, locale, NumberSymbol.Group, NumberSymbol.Decimal, digitsInfo, true);
  21241. return res.replace(new RegExp(PERCENT_CHAR, 'g'), getLocaleNumberSymbol(locale, NumberSymbol.PercentSign));
  21242. }
  21243. /**
  21244. * @ngModule CommonModule
  21245. * @description
  21246. *
  21247. * Formats a number as text, with group sizing, separator, and other
  21248. * parameters based on the locale.
  21249. *
  21250. * @param value The number to format.
  21251. * @param locale A locale code for the locale format rules to use.
  21252. * @param digitsInfo Decimal representation options, specified by a string in the following format:
  21253. * `{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}`. See `DecimalPipe` for more details.
  21254. *
  21255. * @returns The formatted text string.
  21256. * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
  21257. *
  21258. * @publicApi
  21259. */
  21260. function formatNumber(value, locale, digitsInfo) {
  21261. const format = getLocaleNumberFormat(locale, NumberFormatStyle.Decimal);
  21262. const pattern = parseNumberFormat(format, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));
  21263. return formatNumberToLocaleString(value, pattern, locale, NumberSymbol.Group, NumberSymbol.Decimal, digitsInfo);
  21264. }
  21265. function parseNumberFormat(format, minusSign = '-') {
  21266. const p = {
  21267. minInt: 1,
  21268. minFrac: 0,
  21269. maxFrac: 0,
  21270. posPre: '',
  21271. posSuf: '',
  21272. negPre: '',
  21273. negSuf: '',
  21274. gSize: 0,
  21275. lgSize: 0
  21276. };
  21277. const patternParts = format.split(PATTERN_SEP);
  21278. const positive = patternParts[0];
  21279. const negative = patternParts[1];
  21280. const positiveParts = positive.indexOf(DECIMAL_SEP) !== -1 ? positive.split(DECIMAL_SEP) : [positive.substring(0, positive.lastIndexOf(ZERO_CHAR) + 1), positive.substring(positive.lastIndexOf(ZERO_CHAR) + 1)],
  21281. integer = positiveParts[0],
  21282. fraction = positiveParts[1] || '';
  21283. p.posPre = integer.substring(0, integer.indexOf(DIGIT_CHAR));
  21284. for (let i = 0; i < fraction.length; i++) {
  21285. const ch = fraction.charAt(i);
  21286. if (ch === ZERO_CHAR) {
  21287. p.minFrac = p.maxFrac = i + 1;
  21288. } else if (ch === DIGIT_CHAR) {
  21289. p.maxFrac = i + 1;
  21290. } else {
  21291. p.posSuf += ch;
  21292. }
  21293. }
  21294. const groups = integer.split(GROUP_SEP);
  21295. p.gSize = groups[1] ? groups[1].length : 0;
  21296. p.lgSize = groups[2] || groups[1] ? (groups[2] || groups[1]).length : 0;
  21297. if (negative) {
  21298. const trunkLen = positive.length - p.posPre.length - p.posSuf.length,
  21299. pos = negative.indexOf(DIGIT_CHAR);
  21300. p.negPre = negative.substring(0, pos).replace(/'/g, '');
  21301. p.negSuf = negative.slice(pos + trunkLen).replace(/'/g, '');
  21302. } else {
  21303. p.negPre = minusSign + p.posPre;
  21304. p.negSuf = p.posSuf;
  21305. }
  21306. return p;
  21307. } // Transforms a parsed number into a percentage by multiplying it by 100
  21308. function toPercent(parsedNumber) {
  21309. // if the number is 0, don't do anything
  21310. if (parsedNumber.digits[0] === 0) {
  21311. return parsedNumber;
  21312. } // Getting the current number of decimals
  21313. const fractionLen = parsedNumber.digits.length - parsedNumber.integerLen;
  21314. if (parsedNumber.exponent) {
  21315. parsedNumber.exponent += 2;
  21316. } else {
  21317. if (fractionLen === 0) {
  21318. parsedNumber.digits.push(0, 0);
  21319. } else if (fractionLen === 1) {
  21320. parsedNumber.digits.push(0);
  21321. }
  21322. parsedNumber.integerLen += 2;
  21323. }
  21324. return parsedNumber;
  21325. }
  21326. /**
  21327. * Parses a number.
  21328. * Significant bits of this parse algorithm came from https://github.com/MikeMcl/big.js/
  21329. */
  21330. function parseNumber(num) {
  21331. let numStr = Math.abs(num) + '';
  21332. let exponent = 0,
  21333. digits,
  21334. integerLen;
  21335. let i, j, zeros; // Decimal point?
  21336. if ((integerLen = numStr.indexOf(DECIMAL_SEP)) > -1) {
  21337. numStr = numStr.replace(DECIMAL_SEP, '');
  21338. } // Exponential form?
  21339. if ((i = numStr.search(/e/i)) > 0) {
  21340. // Work out the exponent.
  21341. if (integerLen < 0) integerLen = i;
  21342. integerLen += +numStr.slice(i + 1);
  21343. numStr = numStr.substring(0, i);
  21344. } else if (integerLen < 0) {
  21345. // There was no decimal point or exponent so it is an integer.
  21346. integerLen = numStr.length;
  21347. } // Count the number of leading zeros.
  21348. for (i = 0; numStr.charAt(i) === ZERO_CHAR; i++) {
  21349. /* empty */
  21350. }
  21351. if (i === (zeros = numStr.length)) {
  21352. // The digits are all zero.
  21353. digits = [0];
  21354. integerLen = 1;
  21355. } else {
  21356. // Count the number of trailing zeros
  21357. zeros--;
  21358. while (numStr.charAt(zeros) === ZERO_CHAR) zeros--; // Trailing zeros are insignificant so ignore them
  21359. integerLen -= i;
  21360. digits = []; // Convert string to array of digits without leading/trailing zeros.
  21361. for (j = 0; i <= zeros; i++, j++) {
  21362. digits[j] = Number(numStr.charAt(i));
  21363. }
  21364. } // If the number overflows the maximum allowed digits then use an exponent.
  21365. if (integerLen > MAX_DIGITS) {
  21366. digits = digits.splice(0, MAX_DIGITS - 1);
  21367. exponent = integerLen - 1;
  21368. integerLen = 1;
  21369. }
  21370. return {
  21371. digits,
  21372. exponent,
  21373. integerLen
  21374. };
  21375. }
  21376. /**
  21377. * Round the parsed number to the specified number of decimal places
  21378. * This function changes the parsedNumber in-place
  21379. */
  21380. function roundNumber(parsedNumber, minFrac, maxFrac) {
  21381. if (minFrac > maxFrac) {
  21382. throw new Error(`The minimum number of digits after fraction (${minFrac}) is higher than the maximum (${maxFrac}).`);
  21383. }
  21384. let digits = parsedNumber.digits;
  21385. let fractionLen = digits.length - parsedNumber.integerLen;
  21386. const fractionSize = Math.min(Math.max(minFrac, fractionLen), maxFrac); // The index of the digit to where rounding is to occur
  21387. let roundAt = fractionSize + parsedNumber.integerLen;
  21388. let digit = digits[roundAt];
  21389. if (roundAt > 0) {
  21390. // Drop fractional digits beyond `roundAt`
  21391. digits.splice(Math.max(parsedNumber.integerLen, roundAt)); // Set non-fractional digits beyond `roundAt` to 0
  21392. for (let j = roundAt; j < digits.length; j++) {
  21393. digits[j] = 0;
  21394. }
  21395. } else {
  21396. // We rounded to zero so reset the parsedNumber
  21397. fractionLen = Math.max(0, fractionLen);
  21398. parsedNumber.integerLen = 1;
  21399. digits.length = Math.max(1, roundAt = fractionSize + 1);
  21400. digits[0] = 0;
  21401. for (let i = 1; i < roundAt; i++) digits[i] = 0;
  21402. }
  21403. if (digit >= 5) {
  21404. if (roundAt - 1 < 0) {
  21405. for (let k = 0; k > roundAt; k--) {
  21406. digits.unshift(0);
  21407. parsedNumber.integerLen++;
  21408. }
  21409. digits.unshift(1);
  21410. parsedNumber.integerLen++;
  21411. } else {
  21412. digits[roundAt - 1]++;
  21413. }
  21414. } // Pad out with zeros to get the required fraction length
  21415. for (; fractionLen < Math.max(0, fractionSize); fractionLen++) digits.push(0);
  21416. let dropTrailingZeros = fractionSize !== 0; // Minimal length = nb of decimals required + current nb of integers
  21417. // Any number besides that is optional and can be removed if it's a trailing 0
  21418. const minLen = minFrac + parsedNumber.integerLen; // Do any carrying, e.g. a digit was rounded up to 10
  21419. const carry = digits.reduceRight(function (carry, d, i, digits) {
  21420. d = d + carry;
  21421. digits[i] = d < 10 ? d : d - 10; // d % 10
  21422. if (dropTrailingZeros) {
  21423. // Do not keep meaningless fractional trailing zeros (e.g. 15.52000 --> 15.52)
  21424. if (digits[i] === 0 && i >= minLen) {
  21425. digits.pop();
  21426. } else {
  21427. dropTrailingZeros = false;
  21428. }
  21429. }
  21430. return d >= 10 ? 1 : 0; // Math.floor(d / 10);
  21431. }, 0);
  21432. if (carry) {
  21433. digits.unshift(carry);
  21434. parsedNumber.integerLen++;
  21435. }
  21436. }
  21437. function parseIntAutoRadix(text) {
  21438. const result = parseInt(text);
  21439. if (isNaN(result)) {
  21440. throw new Error('Invalid integer literal when parsing ' + text);
  21441. }
  21442. return result;
  21443. }
  21444. /**
  21445. * @license
  21446. * Copyright Google LLC All Rights Reserved.
  21447. *
  21448. * Use of this source code is governed by an MIT-style license that can be
  21449. * found in the LICENSE file at https://angular.io/license
  21450. */
  21451. /**
  21452. * @publicApi
  21453. */
  21454. class NgLocalization {}
  21455. NgLocalization.ɵfac = function NgLocalization_Factory(t) {
  21456. return new (t || NgLocalization)();
  21457. };
  21458. NgLocalization.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
  21459. token: NgLocalization,
  21460. factory: function NgLocalization_Factory(t) {
  21461. let r = null;
  21462. if (t) {
  21463. r = new t();
  21464. } else {
  21465. r = (locale => new NgLocaleLocalization(locale))(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID));
  21466. }
  21467. return r;
  21468. },
  21469. providedIn: 'root'
  21470. });
  21471. (function () {
  21472. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgLocalization, [{
  21473. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
  21474. args: [{
  21475. providedIn: 'root',
  21476. useFactory: locale => new NgLocaleLocalization(locale),
  21477. deps: [_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID]
  21478. }]
  21479. }], null, null);
  21480. })();
  21481. /**
  21482. * Returns the plural category for a given value.
  21483. * - "=value" when the case exists,
  21484. * - the plural category otherwise
  21485. */
  21486. function getPluralCategory(value, cases, ngLocalization, locale) {
  21487. let key = `=${value}`;
  21488. if (cases.indexOf(key) > -1) {
  21489. return key;
  21490. }
  21491. key = ngLocalization.getPluralCategory(value, locale);
  21492. if (cases.indexOf(key) > -1) {
  21493. return key;
  21494. }
  21495. if (cases.indexOf('other') > -1) {
  21496. return 'other';
  21497. }
  21498. throw new Error(`No plural message found for value "${value}"`);
  21499. }
  21500. /**
  21501. * Returns the plural case based on the locale
  21502. *
  21503. * @publicApi
  21504. */
  21505. class NgLocaleLocalization extends NgLocalization {
  21506. constructor(locale) {
  21507. super();
  21508. this.locale = locale;
  21509. }
  21510. getPluralCategory(value, locale) {
  21511. const plural = getLocalePluralCase(locale || this.locale)(value);
  21512. switch (plural) {
  21513. case Plural.Zero:
  21514. return 'zero';
  21515. case Plural.One:
  21516. return 'one';
  21517. case Plural.Two:
  21518. return 'two';
  21519. case Plural.Few:
  21520. return 'few';
  21521. case Plural.Many:
  21522. return 'many';
  21523. default:
  21524. return 'other';
  21525. }
  21526. }
  21527. }
  21528. NgLocaleLocalization.ɵfac = function NgLocaleLocalization_Factory(t) {
  21529. return new (t || NgLocaleLocalization)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID));
  21530. };
  21531. NgLocaleLocalization.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
  21532. token: NgLocaleLocalization,
  21533. factory: NgLocaleLocalization.ɵfac
  21534. });
  21535. (function () {
  21536. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgLocaleLocalization, [{
  21537. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable
  21538. }], function () {
  21539. return [{
  21540. type: undefined,
  21541. decorators: [{
  21542. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
  21543. args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID]
  21544. }]
  21545. }];
  21546. }, null);
  21547. })();
  21548. /**
  21549. * @license
  21550. * Copyright Google LLC All Rights Reserved.
  21551. *
  21552. * Use of this source code is governed by an MIT-style license that can be
  21553. * found in the LICENSE file at https://angular.io/license
  21554. */
  21555. /**
  21556. * Register global data to be used internally by Angular. See the
  21557. * ["I18n guide"](guide/i18n-common-format-data-locale) to know how to import additional locale
  21558. * data.
  21559. *
  21560. * The signature registerLocaleData(data: any, extraData?: any) is deprecated since v5.1
  21561. *
  21562. * @publicApi
  21563. */
  21564. function registerLocaleData(data, localeId, extraData) {
  21565. return (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵregisterLocaleData"])(data, localeId, extraData);
  21566. }
  21567. /**
  21568. * @license
  21569. * Copyright Google LLC All Rights Reserved.
  21570. *
  21571. * Use of this source code is governed by an MIT-style license that can be
  21572. * found in the LICENSE file at https://angular.io/license
  21573. */
  21574. function parseCookieValue(cookieStr, name) {
  21575. name = encodeURIComponent(name);
  21576. for (const cookie of cookieStr.split(';')) {
  21577. const eqIndex = cookie.indexOf('=');
  21578. const [cookieName, cookieValue] = eqIndex == -1 ? [cookie, ''] : [cookie.slice(0, eqIndex), cookie.slice(eqIndex + 1)];
  21579. if (cookieName.trim() === name) {
  21580. return decodeURIComponent(cookieValue);
  21581. }
  21582. }
  21583. return null;
  21584. }
  21585. /**
  21586. * @license
  21587. * Copyright Google LLC All Rights Reserved.
  21588. *
  21589. * Use of this source code is governed by an MIT-style license that can be
  21590. * found in the LICENSE file at https://angular.io/license
  21591. */
  21592. /**
  21593. * @ngModule CommonModule
  21594. *
  21595. * @usageNotes
  21596. * ```
  21597. * <some-element [ngClass]="'first second'">...</some-element>
  21598. *
  21599. * <some-element [ngClass]="['first', 'second']">...</some-element>
  21600. *
  21601. * <some-element [ngClass]="{'first': true, 'second': true, 'third': false}">...</some-element>
  21602. *
  21603. * <some-element [ngClass]="stringExp|arrayExp|objExp">...</some-element>
  21604. *
  21605. * <some-element [ngClass]="{'class1 class2 class3' : true}">...</some-element>
  21606. * ```
  21607. *
  21608. * @description
  21609. *
  21610. * Adds and removes CSS classes on an HTML element.
  21611. *
  21612. * The CSS classes are updated as follows, depending on the type of the expression evaluation:
  21613. * - `string` - the CSS classes listed in the string (space delimited) are added,
  21614. * - `Array` - the CSS classes declared as Array elements are added,
  21615. * - `Object` - keys are CSS classes that get added when the expression given in the value
  21616. * evaluates to a truthy value, otherwise they are removed.
  21617. *
  21618. * @publicApi
  21619. */
  21620. class NgClass {
  21621. constructor(_iterableDiffers, _keyValueDiffers, _ngEl, _renderer) {
  21622. this._iterableDiffers = _iterableDiffers;
  21623. this._keyValueDiffers = _keyValueDiffers;
  21624. this._ngEl = _ngEl;
  21625. this._renderer = _renderer;
  21626. this._iterableDiffer = null;
  21627. this._keyValueDiffer = null;
  21628. this._initialClasses = [];
  21629. this._rawClass = null;
  21630. }
  21631. set klass(value) {
  21632. this._removeClasses(this._initialClasses);
  21633. this._initialClasses = typeof value === 'string' ? value.split(/\s+/) : [];
  21634. this._applyClasses(this._initialClasses);
  21635. this._applyClasses(this._rawClass);
  21636. }
  21637. set ngClass(value) {
  21638. this._removeClasses(this._rawClass);
  21639. this._applyClasses(this._initialClasses);
  21640. this._iterableDiffer = null;
  21641. this._keyValueDiffer = null;
  21642. this._rawClass = typeof value === 'string' ? value.split(/\s+/) : value;
  21643. if (this._rawClass) {
  21644. if ((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵisListLikeIterable"])(this._rawClass)) {
  21645. this._iterableDiffer = this._iterableDiffers.find(this._rawClass).create();
  21646. } else {
  21647. this._keyValueDiffer = this._keyValueDiffers.find(this._rawClass).create();
  21648. }
  21649. }
  21650. }
  21651. ngDoCheck() {
  21652. if (this._iterableDiffer) {
  21653. const iterableChanges = this._iterableDiffer.diff(this._rawClass);
  21654. if (iterableChanges) {
  21655. this._applyIterableChanges(iterableChanges);
  21656. }
  21657. } else if (this._keyValueDiffer) {
  21658. const keyValueChanges = this._keyValueDiffer.diff(this._rawClass);
  21659. if (keyValueChanges) {
  21660. this._applyKeyValueChanges(keyValueChanges);
  21661. }
  21662. }
  21663. }
  21664. _applyKeyValueChanges(changes) {
  21665. changes.forEachAddedItem(record => this._toggleClass(record.key, record.currentValue));
  21666. changes.forEachChangedItem(record => this._toggleClass(record.key, record.currentValue));
  21667. changes.forEachRemovedItem(record => {
  21668. if (record.previousValue) {
  21669. this._toggleClass(record.key, false);
  21670. }
  21671. });
  21672. }
  21673. _applyIterableChanges(changes) {
  21674. changes.forEachAddedItem(record => {
  21675. if (typeof record.item === 'string') {
  21676. this._toggleClass(record.item, true);
  21677. } else {
  21678. throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵstringify"])(record.item)}`);
  21679. }
  21680. });
  21681. changes.forEachRemovedItem(record => this._toggleClass(record.item, false));
  21682. }
  21683. /**
  21684. * Applies a collection of CSS classes to the DOM element.
  21685. *
  21686. * For argument of type Set and Array CSS class names contained in those collections are always
  21687. * added.
  21688. * For argument of type Map CSS class name in the map's key is toggled based on the value (added
  21689. * for truthy and removed for falsy).
  21690. */
  21691. _applyClasses(rawClassVal) {
  21692. if (rawClassVal) {
  21693. if (Array.isArray(rawClassVal) || rawClassVal instanceof Set) {
  21694. rawClassVal.forEach(klass => this._toggleClass(klass, true));
  21695. } else {
  21696. Object.keys(rawClassVal).forEach(klass => this._toggleClass(klass, !!rawClassVal[klass]));
  21697. }
  21698. }
  21699. }
  21700. /**
  21701. * Removes a collection of CSS classes from the DOM element. This is mostly useful for cleanup
  21702. * purposes.
  21703. */
  21704. _removeClasses(rawClassVal) {
  21705. if (rawClassVal) {
  21706. if (Array.isArray(rawClassVal) || rawClassVal instanceof Set) {
  21707. rawClassVal.forEach(klass => this._toggleClass(klass, false));
  21708. } else {
  21709. Object.keys(rawClassVal).forEach(klass => this._toggleClass(klass, false));
  21710. }
  21711. }
  21712. }
  21713. _toggleClass(klass, enabled) {
  21714. klass = klass.trim();
  21715. if (klass) {
  21716. klass.split(/\s+/g).forEach(klass => {
  21717. if (enabled) {
  21718. this._renderer.addClass(this._ngEl.nativeElement, klass);
  21719. } else {
  21720. this._renderer.removeClass(this._ngEl.nativeElement, klass);
  21721. }
  21722. });
  21723. }
  21724. }
  21725. }
  21726. NgClass.ɵfac = function NgClass_Factory(t) {
  21727. return new (t || NgClass)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.IterableDiffers), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.KeyValueDiffers), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.Renderer2));
  21728. };
  21729. NgClass.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  21730. type: NgClass,
  21731. selectors: [["", "ngClass", ""]],
  21732. inputs: {
  21733. klass: ["class", "klass"],
  21734. ngClass: "ngClass"
  21735. },
  21736. standalone: true
  21737. });
  21738. (function () {
  21739. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgClass, [{
  21740. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  21741. args: [{
  21742. selector: '[ngClass]',
  21743. standalone: true
  21744. }]
  21745. }], function () {
  21746. return [{
  21747. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.IterableDiffers
  21748. }, {
  21749. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.KeyValueDiffers
  21750. }, {
  21751. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef
  21752. }, {
  21753. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Renderer2
  21754. }];
  21755. }, {
  21756. klass: [{
  21757. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
  21758. args: ['class']
  21759. }],
  21760. ngClass: [{
  21761. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
  21762. args: ['ngClass']
  21763. }]
  21764. });
  21765. })();
  21766. /**
  21767. * @license
  21768. * Copyright Google LLC All Rights Reserved.
  21769. *
  21770. * Use of this source code is governed by an MIT-style license that can be
  21771. * found in the LICENSE file at https://angular.io/license
  21772. */
  21773. /**
  21774. * Instantiates a {@link Component} type and inserts its Host View into the current View.
  21775. * `NgComponentOutlet` provides a declarative approach for dynamic component creation.
  21776. *
  21777. * `NgComponentOutlet` requires a component type, if a falsy value is set the view will clear and
  21778. * any existing component will be destroyed.
  21779. *
  21780. * @usageNotes
  21781. *
  21782. * ### Fine tune control
  21783. *
  21784. * You can control the component creation process by using the following optional attributes:
  21785. *
  21786. * * `ngComponentOutletInjector`: Optional custom {@link Injector} that will be used as parent for
  21787. * the Component. Defaults to the injector of the current view container.
  21788. *
  21789. * * `ngComponentOutletContent`: Optional list of projectable nodes to insert into the content
  21790. * section of the component, if it exists.
  21791. *
  21792. * * `ngComponentOutletNgModule`: Optional NgModule class reference to allow loading another
  21793. * module dynamically, then loading a component from that module.
  21794. *
  21795. * * `ngComponentOutletNgModuleFactory`: Deprecated config option that allows providing optional
  21796. * NgModule factory to allow loading another module dynamically, then loading a component from that
  21797. * module. Use `ngComponentOutletNgModule` instead.
  21798. *
  21799. * ### Syntax
  21800. *
  21801. * Simple
  21802. * ```
  21803. * <ng-container *ngComponentOutlet="componentTypeExpression"></ng-container>
  21804. * ```
  21805. *
  21806. * Customized injector/content
  21807. * ```
  21808. * <ng-container *ngComponentOutlet="componentTypeExpression;
  21809. * injector: injectorExpression;
  21810. * content: contentNodesExpression;">
  21811. * </ng-container>
  21812. * ```
  21813. *
  21814. * Customized NgModule reference
  21815. * ```
  21816. * <ng-container *ngComponentOutlet="componentTypeExpression;
  21817. * ngModule: ngModuleClass;">
  21818. * </ng-container>
  21819. * ```
  21820. *
  21821. * ### A simple example
  21822. *
  21823. * {@example common/ngComponentOutlet/ts/module.ts region='SimpleExample'}
  21824. *
  21825. * A more complete example with additional options:
  21826. *
  21827. * {@example common/ngComponentOutlet/ts/module.ts region='CompleteExample'}
  21828. *
  21829. * @publicApi
  21830. * @ngModule CommonModule
  21831. */
  21832. class NgComponentOutlet {
  21833. constructor(_viewContainerRef) {
  21834. this._viewContainerRef = _viewContainerRef;
  21835. this.ngComponentOutlet = null;
  21836. }
  21837. /** @nodoc */
  21838. ngOnChanges(changes) {
  21839. const {
  21840. _viewContainerRef: viewContainerRef,
  21841. ngComponentOutletNgModule: ngModule,
  21842. ngComponentOutletNgModuleFactory: ngModuleFactory
  21843. } = this;
  21844. viewContainerRef.clear();
  21845. this._componentRef = undefined;
  21846. if (this.ngComponentOutlet) {
  21847. const injector = this.ngComponentOutletInjector || viewContainerRef.parentInjector;
  21848. if (changes['ngComponentOutletNgModule'] || changes['ngComponentOutletNgModuleFactory']) {
  21849. if (this._moduleRef) this._moduleRef.destroy();
  21850. if (ngModule) {
  21851. this._moduleRef = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.createNgModule)(ngModule, getParentInjector(injector));
  21852. } else if (ngModuleFactory) {
  21853. this._moduleRef = ngModuleFactory.create(getParentInjector(injector));
  21854. } else {
  21855. this._moduleRef = undefined;
  21856. }
  21857. }
  21858. this._componentRef = viewContainerRef.createComponent(this.ngComponentOutlet, {
  21859. index: viewContainerRef.length,
  21860. injector,
  21861. ngModuleRef: this._moduleRef,
  21862. projectableNodes: this.ngComponentOutletContent
  21863. });
  21864. }
  21865. }
  21866. /** @nodoc */
  21867. ngOnDestroy() {
  21868. if (this._moduleRef) this._moduleRef.destroy();
  21869. }
  21870. }
  21871. NgComponentOutlet.ɵfac = function NgComponentOutlet_Factory(t) {
  21872. return new (t || NgComponentOutlet)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef));
  21873. };
  21874. NgComponentOutlet.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  21875. type: NgComponentOutlet,
  21876. selectors: [["", "ngComponentOutlet", ""]],
  21877. inputs: {
  21878. ngComponentOutlet: "ngComponentOutlet",
  21879. ngComponentOutletInjector: "ngComponentOutletInjector",
  21880. ngComponentOutletContent: "ngComponentOutletContent",
  21881. ngComponentOutletNgModule: "ngComponentOutletNgModule",
  21882. ngComponentOutletNgModuleFactory: "ngComponentOutletNgModuleFactory"
  21883. },
  21884. standalone: true,
  21885. features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]]
  21886. });
  21887. (function () {
  21888. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgComponentOutlet, [{
  21889. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  21890. args: [{
  21891. selector: '[ngComponentOutlet]',
  21892. standalone: true
  21893. }]
  21894. }], function () {
  21895. return [{
  21896. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef
  21897. }];
  21898. }, {
  21899. ngComponentOutlet: [{
  21900. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  21901. }],
  21902. ngComponentOutletInjector: [{
  21903. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  21904. }],
  21905. ngComponentOutletContent: [{
  21906. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  21907. }],
  21908. ngComponentOutletNgModule: [{
  21909. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  21910. }],
  21911. ngComponentOutletNgModuleFactory: [{
  21912. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  21913. }]
  21914. });
  21915. })(); // Helper function that returns an Injector instance of a parent NgModule.
  21916. function getParentInjector(injector) {
  21917. const parentNgModule = injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModuleRef);
  21918. return parentNgModule.injector;
  21919. }
  21920. /**
  21921. * @license
  21922. * Copyright Google LLC All Rights Reserved.
  21923. *
  21924. * Use of this source code is governed by an MIT-style license that can be
  21925. * found in the LICENSE file at https://angular.io/license
  21926. */
  21927. const NG_DEV_MODE = typeof ngDevMode === 'undefined' || !!ngDevMode;
  21928. /**
  21929. * @publicApi
  21930. */
  21931. class NgForOfContext {
  21932. constructor($implicit, ngForOf, index, count) {
  21933. this.$implicit = $implicit;
  21934. this.ngForOf = ngForOf;
  21935. this.index = index;
  21936. this.count = count;
  21937. }
  21938. get first() {
  21939. return this.index === 0;
  21940. }
  21941. get last() {
  21942. return this.index === this.count - 1;
  21943. }
  21944. get even() {
  21945. return this.index % 2 === 0;
  21946. }
  21947. get odd() {
  21948. return !this.even;
  21949. }
  21950. }
  21951. /**
  21952. * A [structural directive](guide/structural-directives) that renders
  21953. * a template for each item in a collection.
  21954. * The directive is placed on an element, which becomes the parent
  21955. * of the cloned templates.
  21956. *
  21957. * The `ngForOf` directive is generally used in the
  21958. * [shorthand form](guide/structural-directives#asterisk) `*ngFor`.
  21959. * In this form, the template to be rendered for each iteration is the content
  21960. * of an anchor element containing the directive.
  21961. *
  21962. * The following example shows the shorthand syntax with some options,
  21963. * contained in an `<li>` element.
  21964. *
  21965. * ```
  21966. * <li *ngFor="let item of items; index as i; trackBy: trackByFn">...</li>
  21967. * ```
  21968. *
  21969. * The shorthand form expands into a long form that uses the `ngForOf` selector
  21970. * on an `<ng-template>` element.
  21971. * The content of the `<ng-template>` element is the `<li>` element that held the
  21972. * short-form directive.
  21973. *
  21974. * Here is the expanded version of the short-form example.
  21975. *
  21976. * ```
  21977. * <ng-template ngFor let-item [ngForOf]="items" let-i="index" [ngForTrackBy]="trackByFn">
  21978. * <li>...</li>
  21979. * </ng-template>
  21980. * ```
  21981. *
  21982. * Angular automatically expands the shorthand syntax as it compiles the template.
  21983. * The context for each embedded view is logically merged to the current component
  21984. * context according to its lexical position.
  21985. *
  21986. * When using the shorthand syntax, Angular allows only [one structural directive
  21987. * on an element](guide/structural-directives#one-per-element).
  21988. * If you want to iterate conditionally, for example,
  21989. * put the `*ngIf` on a container element that wraps the `*ngFor` element.
  21990. * For further discussion, see
  21991. * [Structural Directives](guide/structural-directives#one-per-element).
  21992. *
  21993. * @usageNotes
  21994. *
  21995. * ### Local variables
  21996. *
  21997. * `NgForOf` provides exported values that can be aliased to local variables.
  21998. * For example:
  21999. *
  22000. * ```
  22001. * <li *ngFor="let user of users; index as i; first as isFirst">
  22002. * {{i}}/{{users.length}}. {{user}} <span *ngIf="isFirst">default</span>
  22003. * </li>
  22004. * ```
  22005. *
  22006. * The following exported values can be aliased to local variables:
  22007. *
  22008. * - `$implicit: T`: The value of the individual items in the iterable (`ngForOf`).
  22009. * - `ngForOf: NgIterable<T>`: The value of the iterable expression. Useful when the expression is
  22010. * more complex then a property access, for example when using the async pipe (`userStreams |
  22011. * async`).
  22012. * - `index: number`: The index of the current item in the iterable.
  22013. * - `count: number`: The length of the iterable.
  22014. * - `first: boolean`: True when the item is the first item in the iterable.
  22015. * - `last: boolean`: True when the item is the last item in the iterable.
  22016. * - `even: boolean`: True when the item has an even index in the iterable.
  22017. * - `odd: boolean`: True when the item has an odd index in the iterable.
  22018. *
  22019. * ### Change propagation
  22020. *
  22021. * When the contents of the iterator changes, `NgForOf` makes the corresponding changes to the DOM:
  22022. *
  22023. * * When an item is added, a new instance of the template is added to the DOM.
  22024. * * When an item is removed, its template instance is removed from the DOM.
  22025. * * When items are reordered, their respective templates are reordered in the DOM.
  22026. *
  22027. * Angular uses object identity to track insertions and deletions within the iterator and reproduce
  22028. * those changes in the DOM. This has important implications for animations and any stateful
  22029. * controls that are present, such as `<input>` elements that accept user input. Inserted rows can
  22030. * be animated in, deleted rows can be animated out, and unchanged rows retain any unsaved state
  22031. * such as user input.
  22032. * For more on animations, see [Transitions and Triggers](guide/transition-and-triggers).
  22033. *
  22034. * The identities of elements in the iterator can change while the data does not.
  22035. * This can happen, for example, if the iterator is produced from an RPC to the server, and that
  22036. * RPC is re-run. Even if the data hasn't changed, the second response produces objects with
  22037. * different identities, and Angular must tear down the entire DOM and rebuild it (as if all old
  22038. * elements were deleted and all new elements inserted).
  22039. *
  22040. * To avoid this expensive operation, you can customize the default tracking algorithm.
  22041. * by supplying the `trackBy` option to `NgForOf`.
  22042. * `trackBy` takes a function that has two arguments: `index` and `item`.
  22043. * If `trackBy` is given, Angular tracks changes by the return value of the function.
  22044. *
  22045. * @see [Structural Directives](guide/structural-directives)
  22046. * @ngModule CommonModule
  22047. * @publicApi
  22048. */
  22049. class NgForOf {
  22050. constructor(_viewContainer, _template, _differs) {
  22051. this._viewContainer = _viewContainer;
  22052. this._template = _template;
  22053. this._differs = _differs;
  22054. this._ngForOf = null;
  22055. this._ngForOfDirty = true;
  22056. this._differ = null;
  22057. }
  22058. /**
  22059. * The value of the iterable expression, which can be used as a
  22060. * [template input variable](guide/structural-directives#shorthand).
  22061. */
  22062. set ngForOf(ngForOf) {
  22063. this._ngForOf = ngForOf;
  22064. this._ngForOfDirty = true;
  22065. }
  22066. /**
  22067. * Specifies a custom `TrackByFunction` to compute the identity of items in an iterable.
  22068. *
  22069. * If a custom `TrackByFunction` is not provided, `NgForOf` will use the item's [object
  22070. * identity](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is)
  22071. * as the key.
  22072. *
  22073. * `NgForOf` uses the computed key to associate items in an iterable with DOM elements
  22074. * it produces for these items.
  22075. *
  22076. * A custom `TrackByFunction` is useful to provide good user experience in cases when items in an
  22077. * iterable rendered using `NgForOf` have a natural identifier (for example, custom ID or a
  22078. * primary key), and this iterable could be updated with new object instances that still
  22079. * represent the same underlying entity (for example, when data is re-fetched from the server,
  22080. * and the iterable is recreated and re-rendered, but most of the data is still the same).
  22081. *
  22082. * @see `TrackByFunction`
  22083. */
  22084. set ngForTrackBy(fn) {
  22085. if (NG_DEV_MODE && fn != null && typeof fn !== 'function') {
  22086. // TODO(vicb): use a log service once there is a public one available
  22087. if (console && console.warn) {
  22088. console.warn(`trackBy must be a function, but received ${JSON.stringify(fn)}. ` + `See https://angular.io/api/common/NgForOf#change-propagation for more information.`);
  22089. }
  22090. }
  22091. this._trackByFn = fn;
  22092. }
  22093. get ngForTrackBy() {
  22094. return this._trackByFn;
  22095. }
  22096. /**
  22097. * A reference to the template that is stamped out for each item in the iterable.
  22098. * @see [template reference variable](guide/template-reference-variables)
  22099. */
  22100. set ngForTemplate(value) {
  22101. // TODO(TS2.1): make TemplateRef<Partial<NgForRowOf<T>>> once we move to TS v2.1
  22102. // The current type is too restrictive; a template that just uses index, for example,
  22103. // should be acceptable.
  22104. if (value) {
  22105. this._template = value;
  22106. }
  22107. }
  22108. /**
  22109. * Applies the changes when needed.
  22110. * @nodoc
  22111. */
  22112. ngDoCheck() {
  22113. if (this._ngForOfDirty) {
  22114. this._ngForOfDirty = false; // React on ngForOf changes only once all inputs have been initialized
  22115. const value = this._ngForOf;
  22116. if (!this._differ && value) {
  22117. if (NG_DEV_MODE) {
  22118. try {
  22119. // CAUTION: this logic is duplicated for production mode below, as the try-catch
  22120. // is only present in development builds.
  22121. this._differ = this._differs.find(value).create(this.ngForTrackBy);
  22122. } catch (_a) {
  22123. let errorMessage = `Cannot find a differ supporting object '${value}' of type '` + `${getTypeName(value)}'. NgFor only supports binding to Iterables, such as Arrays.`;
  22124. if (typeof value === 'object') {
  22125. errorMessage += ' Did you mean to use the keyvalue pipe?';
  22126. }
  22127. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](-2200
  22128. /* RuntimeErrorCode.NG_FOR_MISSING_DIFFER */
  22129. , errorMessage);
  22130. }
  22131. } else {
  22132. // CAUTION: this logic is duplicated for development mode above, as the try-catch
  22133. // is only present in development builds.
  22134. this._differ = this._differs.find(value).create(this.ngForTrackBy);
  22135. }
  22136. }
  22137. }
  22138. if (this._differ) {
  22139. const changes = this._differ.diff(this._ngForOf);
  22140. if (changes) this._applyChanges(changes);
  22141. }
  22142. }
  22143. _applyChanges(changes) {
  22144. const viewContainer = this._viewContainer;
  22145. changes.forEachOperation((item, adjustedPreviousIndex, currentIndex) => {
  22146. if (item.previousIndex == null) {
  22147. // NgForOf is never "null" or "undefined" here because the differ detected
  22148. // that a new item needs to be inserted from the iterable. This implies that
  22149. // there is an iterable value for "_ngForOf".
  22150. viewContainer.createEmbeddedView(this._template, new NgForOfContext(item.item, this._ngForOf, -1, -1), currentIndex === null ? undefined : currentIndex);
  22151. } else if (currentIndex == null) {
  22152. viewContainer.remove(adjustedPreviousIndex === null ? undefined : adjustedPreviousIndex);
  22153. } else if (adjustedPreviousIndex !== null) {
  22154. const view = viewContainer.get(adjustedPreviousIndex);
  22155. viewContainer.move(view, currentIndex);
  22156. applyViewChange(view, item);
  22157. }
  22158. });
  22159. for (let i = 0, ilen = viewContainer.length; i < ilen; i++) {
  22160. const viewRef = viewContainer.get(i);
  22161. const context = viewRef.context;
  22162. context.index = i;
  22163. context.count = ilen;
  22164. context.ngForOf = this._ngForOf;
  22165. }
  22166. changes.forEachIdentityChange(record => {
  22167. const viewRef = viewContainer.get(record.currentIndex);
  22168. applyViewChange(viewRef, record);
  22169. });
  22170. }
  22171. /**
  22172. * Asserts the correct type of the context for the template that `NgForOf` will render.
  22173. *
  22174. * The presence of this method is a signal to the Ivy template type-check compiler that the
  22175. * `NgForOf` structural directive renders its template with a specific context type.
  22176. */
  22177. static ngTemplateContextGuard(dir, ctx) {
  22178. return true;
  22179. }
  22180. }
  22181. NgForOf.ɵfac = function NgForOf_Factory(t) {
  22182. return new (t || NgForOf)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.TemplateRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.IterableDiffers));
  22183. };
  22184. NgForOf.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  22185. type: NgForOf,
  22186. selectors: [["", "ngFor", "", "ngForOf", ""]],
  22187. inputs: {
  22188. ngForOf: "ngForOf",
  22189. ngForTrackBy: "ngForTrackBy",
  22190. ngForTemplate: "ngForTemplate"
  22191. },
  22192. standalone: true
  22193. });
  22194. (function () {
  22195. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgForOf, [{
  22196. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  22197. args: [{
  22198. selector: '[ngFor][ngForOf]',
  22199. standalone: true
  22200. }]
  22201. }], function () {
  22202. return [{
  22203. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef
  22204. }, {
  22205. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.TemplateRef
  22206. }, {
  22207. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.IterableDiffers
  22208. }];
  22209. }, {
  22210. ngForOf: [{
  22211. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  22212. }],
  22213. ngForTrackBy: [{
  22214. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  22215. }],
  22216. ngForTemplate: [{
  22217. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  22218. }]
  22219. });
  22220. })();
  22221. function applyViewChange(view, record) {
  22222. view.context.$implicit = record.item;
  22223. }
  22224. function getTypeName(type) {
  22225. return type['name'] || typeof type;
  22226. }
  22227. /**
  22228. * @license
  22229. * Copyright Google LLC All Rights Reserved.
  22230. *
  22231. * Use of this source code is governed by an MIT-style license that can be
  22232. * found in the LICENSE file at https://angular.io/license
  22233. */
  22234. /**
  22235. * A structural directive that conditionally includes a template based on the value of
  22236. * an expression coerced to Boolean.
  22237. * When the expression evaluates to true, Angular renders the template
  22238. * provided in a `then` clause, and when false or null,
  22239. * Angular renders the template provided in an optional `else` clause. The default
  22240. * template for the `else` clause is blank.
  22241. *
  22242. * A [shorthand form](guide/structural-directives#asterisk) of the directive,
  22243. * `*ngIf="condition"`, is generally used, provided
  22244. * as an attribute of the anchor element for the inserted template.
  22245. * Angular expands this into a more explicit version, in which the anchor element
  22246. * is contained in an `<ng-template>` element.
  22247. *
  22248. * Simple form with shorthand syntax:
  22249. *
  22250. * ```
  22251. * <div *ngIf="condition">Content to render when condition is true.</div>
  22252. * ```
  22253. *
  22254. * Simple form with expanded syntax:
  22255. *
  22256. * ```
  22257. * <ng-template [ngIf]="condition"><div>Content to render when condition is
  22258. * true.</div></ng-template>
  22259. * ```
  22260. *
  22261. * Form with an "else" block:
  22262. *
  22263. * ```
  22264. * <div *ngIf="condition; else elseBlock">Content to render when condition is true.</div>
  22265. * <ng-template #elseBlock>Content to render when condition is false.</ng-template>
  22266. * ```
  22267. *
  22268. * Shorthand form with "then" and "else" blocks:
  22269. *
  22270. * ```
  22271. * <div *ngIf="condition; then thenBlock else elseBlock"></div>
  22272. * <ng-template #thenBlock>Content to render when condition is true.</ng-template>
  22273. * <ng-template #elseBlock>Content to render when condition is false.</ng-template>
  22274. * ```
  22275. *
  22276. * Form with storing the value locally:
  22277. *
  22278. * ```
  22279. * <div *ngIf="condition as value; else elseBlock">{{value}}</div>
  22280. * <ng-template #elseBlock>Content to render when value is null.</ng-template>
  22281. * ```
  22282. *
  22283. * @usageNotes
  22284. *
  22285. * The `*ngIf` directive is most commonly used to conditionally show an inline template,
  22286. * as seen in the following example.
  22287. * The default `else` template is blank.
  22288. *
  22289. * {@example common/ngIf/ts/module.ts region='NgIfSimple'}
  22290. *
  22291. * ### Showing an alternative template using `else`
  22292. *
  22293. * To display a template when `expression` evaluates to false, use an `else` template
  22294. * binding as shown in the following example.
  22295. * The `else` binding points to an `<ng-template>` element labeled `#elseBlock`.
  22296. * The template can be defined anywhere in the component view, but is typically placed right after
  22297. * `ngIf` for readability.
  22298. *
  22299. * {@example common/ngIf/ts/module.ts region='NgIfElse'}
  22300. *
  22301. * ### Using an external `then` template
  22302. *
  22303. * In the previous example, the then-clause template is specified inline, as the content of the
  22304. * tag that contains the `ngIf` directive. You can also specify a template that is defined
  22305. * externally, by referencing a labeled `<ng-template>` element. When you do this, you can
  22306. * change which template to use at runtime, as shown in the following example.
  22307. *
  22308. * {@example common/ngIf/ts/module.ts region='NgIfThenElse'}
  22309. *
  22310. * ### Storing a conditional result in a variable
  22311. *
  22312. * You might want to show a set of properties from the same object. If you are waiting
  22313. * for asynchronous data, the object can be undefined.
  22314. * In this case, you can use `ngIf` and store the result of the condition in a local
  22315. * variable as shown in the following example.
  22316. *
  22317. * {@example common/ngIf/ts/module.ts region='NgIfAs'}
  22318. *
  22319. * This code uses only one `AsyncPipe`, so only one subscription is created.
  22320. * The conditional statement stores the result of `userStream|async` in the local variable `user`.
  22321. * You can then bind the local `user` repeatedly.
  22322. *
  22323. * The conditional displays the data only if `userStream` returns a value,
  22324. * so you don't need to use the
  22325. * safe-navigation-operator (`?.`)
  22326. * to guard against null values when accessing properties.
  22327. * You can display an alternative template while waiting for the data.
  22328. *
  22329. * ### Shorthand syntax
  22330. *
  22331. * The shorthand syntax `*ngIf` expands into two separate template specifications
  22332. * for the "then" and "else" clauses. For example, consider the following shorthand statement,
  22333. * that is meant to show a loading page while waiting for data to be loaded.
  22334. *
  22335. * ```
  22336. * <div class="hero-list" *ngIf="heroes else loading">
  22337. * ...
  22338. * </div>
  22339. *
  22340. * <ng-template #loading>
  22341. * <div>Loading...</div>
  22342. * </ng-template>
  22343. * ```
  22344. *
  22345. * You can see that the "else" clause references the `<ng-template>`
  22346. * with the `#loading` label, and the template for the "then" clause
  22347. * is provided as the content of the anchor element.
  22348. *
  22349. * However, when Angular expands the shorthand syntax, it creates
  22350. * another `<ng-template>` tag, with `ngIf` and `ngIfElse` directives.
  22351. * The anchor element containing the template for the "then" clause becomes
  22352. * the content of this unlabeled `<ng-template>` tag.
  22353. *
  22354. * ```
  22355. * <ng-template [ngIf]="heroes" [ngIfElse]="loading">
  22356. * <div class="hero-list">
  22357. * ...
  22358. * </div>
  22359. * </ng-template>
  22360. *
  22361. * <ng-template #loading>
  22362. * <div>Loading...</div>
  22363. * </ng-template>
  22364. * ```
  22365. *
  22366. * The presence of the implicit template object has implications for the nesting of
  22367. * structural directives. For more on this subject, see
  22368. * [Structural Directives](guide/structural-directives#one-per-element).
  22369. *
  22370. * @ngModule CommonModule
  22371. * @publicApi
  22372. */
  22373. class NgIf {
  22374. constructor(_viewContainer, templateRef) {
  22375. this._viewContainer = _viewContainer;
  22376. this._context = new NgIfContext();
  22377. this._thenTemplateRef = null;
  22378. this._elseTemplateRef = null;
  22379. this._thenViewRef = null;
  22380. this._elseViewRef = null;
  22381. this._thenTemplateRef = templateRef;
  22382. }
  22383. /**
  22384. * The Boolean expression to evaluate as the condition for showing a template.
  22385. */
  22386. set ngIf(condition) {
  22387. this._context.$implicit = this._context.ngIf = condition;
  22388. this._updateView();
  22389. }
  22390. /**
  22391. * A template to show if the condition expression evaluates to true.
  22392. */
  22393. set ngIfThen(templateRef) {
  22394. assertTemplate('ngIfThen', templateRef);
  22395. this._thenTemplateRef = templateRef;
  22396. this._thenViewRef = null; // clear previous view if any.
  22397. this._updateView();
  22398. }
  22399. /**
  22400. * A template to show if the condition expression evaluates to false.
  22401. */
  22402. set ngIfElse(templateRef) {
  22403. assertTemplate('ngIfElse', templateRef);
  22404. this._elseTemplateRef = templateRef;
  22405. this._elseViewRef = null; // clear previous view if any.
  22406. this._updateView();
  22407. }
  22408. _updateView() {
  22409. if (this._context.$implicit) {
  22410. if (!this._thenViewRef) {
  22411. this._viewContainer.clear();
  22412. this._elseViewRef = null;
  22413. if (this._thenTemplateRef) {
  22414. this._thenViewRef = this._viewContainer.createEmbeddedView(this._thenTemplateRef, this._context);
  22415. }
  22416. }
  22417. } else {
  22418. if (!this._elseViewRef) {
  22419. this._viewContainer.clear();
  22420. this._thenViewRef = null;
  22421. if (this._elseTemplateRef) {
  22422. this._elseViewRef = this._viewContainer.createEmbeddedView(this._elseTemplateRef, this._context);
  22423. }
  22424. }
  22425. }
  22426. }
  22427. /**
  22428. * Asserts the correct type of the context for the template that `NgIf` will render.
  22429. *
  22430. * The presence of this method is a signal to the Ivy template type-check compiler that the
  22431. * `NgIf` structural directive renders its template with a specific context type.
  22432. */
  22433. static ngTemplateContextGuard(dir, ctx) {
  22434. return true;
  22435. }
  22436. }
  22437. NgIf.ɵfac = function NgIf_Factory(t) {
  22438. return new (t || NgIf)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.TemplateRef));
  22439. };
  22440. NgIf.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  22441. type: NgIf,
  22442. selectors: [["", "ngIf", ""]],
  22443. inputs: {
  22444. ngIf: "ngIf",
  22445. ngIfThen: "ngIfThen",
  22446. ngIfElse: "ngIfElse"
  22447. },
  22448. standalone: true
  22449. });
  22450. (function () {
  22451. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgIf, [{
  22452. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  22453. args: [{
  22454. selector: '[ngIf]',
  22455. standalone: true
  22456. }]
  22457. }], function () {
  22458. return [{
  22459. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef
  22460. }, {
  22461. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.TemplateRef
  22462. }];
  22463. }, {
  22464. ngIf: [{
  22465. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  22466. }],
  22467. ngIfThen: [{
  22468. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  22469. }],
  22470. ngIfElse: [{
  22471. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  22472. }]
  22473. });
  22474. })();
  22475. /**
  22476. * @publicApi
  22477. */
  22478. class NgIfContext {
  22479. constructor() {
  22480. this.$implicit = null;
  22481. this.ngIf = null;
  22482. }
  22483. }
  22484. function assertTemplate(property, templateRef) {
  22485. const isTemplateRefOrNull = !!(!templateRef || templateRef.createEmbeddedView);
  22486. if (!isTemplateRefOrNull) {
  22487. throw new Error(`${property} must be a TemplateRef, but received '${(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵstringify"])(templateRef)}'.`);
  22488. }
  22489. }
  22490. /**
  22491. * @license
  22492. * Copyright Google LLC All Rights Reserved.
  22493. *
  22494. * Use of this source code is governed by an MIT-style license that can be
  22495. * found in the LICENSE file at https://angular.io/license
  22496. */
  22497. class SwitchView {
  22498. constructor(_viewContainerRef, _templateRef) {
  22499. this._viewContainerRef = _viewContainerRef;
  22500. this._templateRef = _templateRef;
  22501. this._created = false;
  22502. }
  22503. create() {
  22504. this._created = true;
  22505. this._viewContainerRef.createEmbeddedView(this._templateRef);
  22506. }
  22507. destroy() {
  22508. this._created = false;
  22509. this._viewContainerRef.clear();
  22510. }
  22511. enforceState(created) {
  22512. if (created && !this._created) {
  22513. this.create();
  22514. } else if (!created && this._created) {
  22515. this.destroy();
  22516. }
  22517. }
  22518. }
  22519. /**
  22520. * @ngModule CommonModule
  22521. *
  22522. * @description
  22523. * The `[ngSwitch]` directive on a container specifies an expression to match against.
  22524. * The expressions to match are provided by `ngSwitchCase` directives on views within the container.
  22525. * - Every view that matches is rendered.
  22526. * - If there are no matches, a view with the `ngSwitchDefault` directive is rendered.
  22527. * - Elements within the `[NgSwitch]` statement but outside of any `NgSwitchCase`
  22528. * or `ngSwitchDefault` directive are preserved at the location.
  22529. *
  22530. * @usageNotes
  22531. * Define a container element for the directive, and specify the switch expression
  22532. * to match against as an attribute:
  22533. *
  22534. * ```
  22535. * <container-element [ngSwitch]="switch_expression">
  22536. * ```
  22537. *
  22538. * Within the container, `*ngSwitchCase` statements specify the match expressions
  22539. * as attributes. Include `*ngSwitchDefault` as the final case.
  22540. *
  22541. * ```
  22542. * <container-element [ngSwitch]="switch_expression">
  22543. * <some-element *ngSwitchCase="match_expression_1">...</some-element>
  22544. * ...
  22545. * <some-element *ngSwitchDefault>...</some-element>
  22546. * </container-element>
  22547. * ```
  22548. *
  22549. * ### Usage Examples
  22550. *
  22551. * The following example shows how to use more than one case to display the same view:
  22552. *
  22553. * ```
  22554. * <container-element [ngSwitch]="switch_expression">
  22555. * <!-- the same view can be shown in more than one case -->
  22556. * <some-element *ngSwitchCase="match_expression_1">...</some-element>
  22557. * <some-element *ngSwitchCase="match_expression_2">...</some-element>
  22558. * <some-other-element *ngSwitchCase="match_expression_3">...</some-other-element>
  22559. * <!--default case when there are no matches -->
  22560. * <some-element *ngSwitchDefault>...</some-element>
  22561. * </container-element>
  22562. * ```
  22563. *
  22564. * The following example shows how cases can be nested:
  22565. * ```
  22566. * <container-element [ngSwitch]="switch_expression">
  22567. * <some-element *ngSwitchCase="match_expression_1">...</some-element>
  22568. * <some-element *ngSwitchCase="match_expression_2">...</some-element>
  22569. * <some-other-element *ngSwitchCase="match_expression_3">...</some-other-element>
  22570. * <ng-container *ngSwitchCase="match_expression_3">
  22571. * <!-- use a ng-container to group multiple root nodes -->
  22572. * <inner-element></inner-element>
  22573. * <inner-other-element></inner-other-element>
  22574. * </ng-container>
  22575. * <some-element *ngSwitchDefault>...</some-element>
  22576. * </container-element>
  22577. * ```
  22578. *
  22579. * @publicApi
  22580. * @see `NgSwitchCase`
  22581. * @see `NgSwitchDefault`
  22582. * @see [Structural Directives](guide/structural-directives)
  22583. *
  22584. */
  22585. class NgSwitch {
  22586. constructor() {
  22587. this._defaultUsed = false;
  22588. this._caseCount = 0;
  22589. this._lastCaseCheckIndex = 0;
  22590. this._lastCasesMatched = false;
  22591. }
  22592. set ngSwitch(newValue) {
  22593. this._ngSwitch = newValue;
  22594. if (this._caseCount === 0) {
  22595. this._updateDefaultCases(true);
  22596. }
  22597. }
  22598. /** @internal */
  22599. _addCase() {
  22600. return this._caseCount++;
  22601. }
  22602. /** @internal */
  22603. _addDefault(view) {
  22604. if (!this._defaultViews) {
  22605. this._defaultViews = [];
  22606. }
  22607. this._defaultViews.push(view);
  22608. }
  22609. /** @internal */
  22610. _matchCase(value) {
  22611. const matched = value == this._ngSwitch;
  22612. this._lastCasesMatched = this._lastCasesMatched || matched;
  22613. this._lastCaseCheckIndex++;
  22614. if (this._lastCaseCheckIndex === this._caseCount) {
  22615. this._updateDefaultCases(!this._lastCasesMatched);
  22616. this._lastCaseCheckIndex = 0;
  22617. this._lastCasesMatched = false;
  22618. }
  22619. return matched;
  22620. }
  22621. _updateDefaultCases(useDefault) {
  22622. if (this._defaultViews && useDefault !== this._defaultUsed) {
  22623. this._defaultUsed = useDefault;
  22624. for (let i = 0; i < this._defaultViews.length; i++) {
  22625. const defaultView = this._defaultViews[i];
  22626. defaultView.enforceState(useDefault);
  22627. }
  22628. }
  22629. }
  22630. }
  22631. NgSwitch.ɵfac = function NgSwitch_Factory(t) {
  22632. return new (t || NgSwitch)();
  22633. };
  22634. NgSwitch.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  22635. type: NgSwitch,
  22636. selectors: [["", "ngSwitch", ""]],
  22637. inputs: {
  22638. ngSwitch: "ngSwitch"
  22639. },
  22640. standalone: true
  22641. });
  22642. (function () {
  22643. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgSwitch, [{
  22644. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  22645. args: [{
  22646. selector: '[ngSwitch]',
  22647. standalone: true
  22648. }]
  22649. }], null, {
  22650. ngSwitch: [{
  22651. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  22652. }]
  22653. });
  22654. })();
  22655. /**
  22656. * @ngModule CommonModule
  22657. *
  22658. * @description
  22659. * Provides a switch case expression to match against an enclosing `ngSwitch` expression.
  22660. * When the expressions match, the given `NgSwitchCase` template is rendered.
  22661. * If multiple match expressions match the switch expression value, all of them are displayed.
  22662. *
  22663. * @usageNotes
  22664. *
  22665. * Within a switch container, `*ngSwitchCase` statements specify the match expressions
  22666. * as attributes. Include `*ngSwitchDefault` as the final case.
  22667. *
  22668. * ```
  22669. * <container-element [ngSwitch]="switch_expression">
  22670. * <some-element *ngSwitchCase="match_expression_1">...</some-element>
  22671. * ...
  22672. * <some-element *ngSwitchDefault>...</some-element>
  22673. * </container-element>
  22674. * ```
  22675. *
  22676. * Each switch-case statement contains an in-line HTML template or template reference
  22677. * that defines the subtree to be selected if the value of the match expression
  22678. * matches the value of the switch expression.
  22679. *
  22680. * Unlike JavaScript, which uses strict equality, Angular uses loose equality.
  22681. * This means that the empty string, `""` matches 0.
  22682. *
  22683. * @publicApi
  22684. * @see `NgSwitch`
  22685. * @see `NgSwitchDefault`
  22686. *
  22687. */
  22688. class NgSwitchCase {
  22689. constructor(viewContainer, templateRef, ngSwitch) {
  22690. this.ngSwitch = ngSwitch;
  22691. if ((typeof ngDevMode === 'undefined' || ngDevMode) && !ngSwitch) {
  22692. throwNgSwitchProviderNotFoundError('ngSwitchCase', 'NgSwitchCase');
  22693. }
  22694. ngSwitch._addCase();
  22695. this._view = new SwitchView(viewContainer, templateRef);
  22696. }
  22697. /**
  22698. * Performs case matching. For internal use only.
  22699. * @nodoc
  22700. */
  22701. ngDoCheck() {
  22702. this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase));
  22703. }
  22704. }
  22705. NgSwitchCase.ɵfac = function NgSwitchCase_Factory(t) {
  22706. return new (t || NgSwitchCase)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.TemplateRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NgSwitch, 9));
  22707. };
  22708. NgSwitchCase.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  22709. type: NgSwitchCase,
  22710. selectors: [["", "ngSwitchCase", ""]],
  22711. inputs: {
  22712. ngSwitchCase: "ngSwitchCase"
  22713. },
  22714. standalone: true
  22715. });
  22716. (function () {
  22717. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgSwitchCase, [{
  22718. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  22719. args: [{
  22720. selector: '[ngSwitchCase]',
  22721. standalone: true
  22722. }]
  22723. }], function () {
  22724. return [{
  22725. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef
  22726. }, {
  22727. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.TemplateRef
  22728. }, {
  22729. type: NgSwitch,
  22730. decorators: [{
  22731. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  22732. }, {
  22733. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Host
  22734. }]
  22735. }];
  22736. }, {
  22737. ngSwitchCase: [{
  22738. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  22739. }]
  22740. });
  22741. })();
  22742. /**
  22743. * @ngModule CommonModule
  22744. *
  22745. * @description
  22746. *
  22747. * Creates a view that is rendered when no `NgSwitchCase` expressions
  22748. * match the `NgSwitch` expression.
  22749. * This statement should be the final case in an `NgSwitch`.
  22750. *
  22751. * @publicApi
  22752. * @see `NgSwitch`
  22753. * @see `NgSwitchCase`
  22754. *
  22755. */
  22756. class NgSwitchDefault {
  22757. constructor(viewContainer, templateRef, ngSwitch) {
  22758. if ((typeof ngDevMode === 'undefined' || ngDevMode) && !ngSwitch) {
  22759. throwNgSwitchProviderNotFoundError('ngSwitchDefault', 'NgSwitchDefault');
  22760. }
  22761. ngSwitch._addDefault(new SwitchView(viewContainer, templateRef));
  22762. }
  22763. }
  22764. NgSwitchDefault.ɵfac = function NgSwitchDefault_Factory(t) {
  22765. return new (t || NgSwitchDefault)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.TemplateRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NgSwitch, 9));
  22766. };
  22767. NgSwitchDefault.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  22768. type: NgSwitchDefault,
  22769. selectors: [["", "ngSwitchDefault", ""]],
  22770. standalone: true
  22771. });
  22772. (function () {
  22773. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgSwitchDefault, [{
  22774. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  22775. args: [{
  22776. selector: '[ngSwitchDefault]',
  22777. standalone: true
  22778. }]
  22779. }], function () {
  22780. return [{
  22781. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef
  22782. }, {
  22783. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.TemplateRef
  22784. }, {
  22785. type: NgSwitch,
  22786. decorators: [{
  22787. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  22788. }, {
  22789. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Host
  22790. }]
  22791. }];
  22792. }, null);
  22793. })();
  22794. function throwNgSwitchProviderNotFoundError(attrName, directiveName) {
  22795. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2000
  22796. /* RuntimeErrorCode.PARENT_NG_SWITCH_NOT_FOUND */
  22797. , `An element with the "${attrName}" attribute ` + `(matching the "${directiveName}" directive) must be located inside an element with the "ngSwitch" attribute ` + `(matching "NgSwitch" directive)`);
  22798. }
  22799. /**
  22800. * @license
  22801. * Copyright Google LLC All Rights Reserved.
  22802. *
  22803. * Use of this source code is governed by an MIT-style license that can be
  22804. * found in the LICENSE file at https://angular.io/license
  22805. */
  22806. /**
  22807. * @ngModule CommonModule
  22808. *
  22809. * @usageNotes
  22810. * ```
  22811. * <some-element [ngPlural]="value">
  22812. * <ng-template ngPluralCase="=0">there is nothing</ng-template>
  22813. * <ng-template ngPluralCase="=1">there is one</ng-template>
  22814. * <ng-template ngPluralCase="few">there are a few</ng-template>
  22815. * </some-element>
  22816. * ```
  22817. *
  22818. * @description
  22819. *
  22820. * Adds / removes DOM sub-trees based on a numeric value. Tailored for pluralization.
  22821. *
  22822. * Displays DOM sub-trees that match the switch expression value, or failing that, DOM sub-trees
  22823. * that match the switch expression's pluralization category.
  22824. *
  22825. * To use this directive you must provide a container element that sets the `[ngPlural]` attribute
  22826. * to a switch expression. Inner elements with a `[ngPluralCase]` will display based on their
  22827. * expression:
  22828. * - if `[ngPluralCase]` is set to a value starting with `=`, it will only display if the value
  22829. * matches the switch expression exactly,
  22830. * - otherwise, the view will be treated as a "category match", and will only display if exact
  22831. * value matches aren't found and the value maps to its category for the defined locale.
  22832. *
  22833. * See http://cldr.unicode.org/index/cldr-spec/plural-rules
  22834. *
  22835. * @publicApi
  22836. */
  22837. class NgPlural {
  22838. constructor(_localization) {
  22839. this._localization = _localization;
  22840. this._caseViews = {};
  22841. }
  22842. set ngPlural(value) {
  22843. this._switchValue = value;
  22844. this._updateView();
  22845. }
  22846. addCase(value, switchView) {
  22847. this._caseViews[value] = switchView;
  22848. }
  22849. _updateView() {
  22850. this._clearViews();
  22851. const cases = Object.keys(this._caseViews);
  22852. const key = getPluralCategory(this._switchValue, cases, this._localization);
  22853. this._activateView(this._caseViews[key]);
  22854. }
  22855. _clearViews() {
  22856. if (this._activeView) this._activeView.destroy();
  22857. }
  22858. _activateView(view) {
  22859. if (view) {
  22860. this._activeView = view;
  22861. this._activeView.create();
  22862. }
  22863. }
  22864. }
  22865. NgPlural.ɵfac = function NgPlural_Factory(t) {
  22866. return new (t || NgPlural)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NgLocalization));
  22867. };
  22868. NgPlural.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  22869. type: NgPlural,
  22870. selectors: [["", "ngPlural", ""]],
  22871. inputs: {
  22872. ngPlural: "ngPlural"
  22873. },
  22874. standalone: true
  22875. });
  22876. (function () {
  22877. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgPlural, [{
  22878. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  22879. args: [{
  22880. selector: '[ngPlural]',
  22881. standalone: true
  22882. }]
  22883. }], function () {
  22884. return [{
  22885. type: NgLocalization
  22886. }];
  22887. }, {
  22888. ngPlural: [{
  22889. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  22890. }]
  22891. });
  22892. })();
  22893. /**
  22894. * @ngModule CommonModule
  22895. *
  22896. * @description
  22897. *
  22898. * Creates a view that will be added/removed from the parent {@link NgPlural} when the
  22899. * given expression matches the plural expression according to CLDR rules.
  22900. *
  22901. * @usageNotes
  22902. * ```
  22903. * <some-element [ngPlural]="value">
  22904. * <ng-template ngPluralCase="=0">...</ng-template>
  22905. * <ng-template ngPluralCase="other">...</ng-template>
  22906. * </some-element>
  22907. *```
  22908. *
  22909. * See {@link NgPlural} for more details and example.
  22910. *
  22911. * @publicApi
  22912. */
  22913. class NgPluralCase {
  22914. constructor(value, template, viewContainer, ngPlural) {
  22915. this.value = value;
  22916. const isANumber = !isNaN(Number(value));
  22917. ngPlural.addCase(isANumber ? `=${value}` : value, new SwitchView(viewContainer, template));
  22918. }
  22919. }
  22920. NgPluralCase.ɵfac = function NgPluralCase_Factory(t) {
  22921. return new (t || NgPluralCase)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinjectAttribute"]('ngPluralCase'), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.TemplateRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NgPlural, 1));
  22922. };
  22923. NgPluralCase.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  22924. type: NgPluralCase,
  22925. selectors: [["", "ngPluralCase", ""]],
  22926. standalone: true
  22927. });
  22928. (function () {
  22929. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgPluralCase, [{
  22930. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  22931. args: [{
  22932. selector: '[ngPluralCase]',
  22933. standalone: true
  22934. }]
  22935. }], function () {
  22936. return [{
  22937. type: undefined,
  22938. decorators: [{
  22939. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Attribute,
  22940. args: ['ngPluralCase']
  22941. }]
  22942. }, {
  22943. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.TemplateRef
  22944. }, {
  22945. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef
  22946. }, {
  22947. type: NgPlural,
  22948. decorators: [{
  22949. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Host
  22950. }]
  22951. }];
  22952. }, null);
  22953. })();
  22954. /**
  22955. * @license
  22956. * Copyright Google LLC All Rights Reserved.
  22957. *
  22958. * Use of this source code is governed by an MIT-style license that can be
  22959. * found in the LICENSE file at https://angular.io/license
  22960. */
  22961. /**
  22962. * @ngModule CommonModule
  22963. *
  22964. * @usageNotes
  22965. *
  22966. * Set the font of the containing element to the result of an expression.
  22967. *
  22968. * ```
  22969. * <some-element [ngStyle]="{'font-style': styleExp}">...</some-element>
  22970. * ```
  22971. *
  22972. * Set the width of the containing element to a pixel value returned by an expression.
  22973. *
  22974. * ```
  22975. * <some-element [ngStyle]="{'max-width.px': widthExp}">...</some-element>
  22976. * ```
  22977. *
  22978. * Set a collection of style values using an expression that returns key-value pairs.
  22979. *
  22980. * ```
  22981. * <some-element [ngStyle]="objExp">...</some-element>
  22982. * ```
  22983. *
  22984. * @description
  22985. *
  22986. * An attribute directive that updates styles for the containing HTML element.
  22987. * Sets one or more style properties, specified as colon-separated key-value pairs.
  22988. * The key is a style name, with an optional `.<unit>` suffix
  22989. * (such as 'top.px', 'font-style.em').
  22990. * The value is an expression to be evaluated.
  22991. * The resulting non-null value, expressed in the given unit,
  22992. * is assigned to the given style property.
  22993. * If the result of evaluation is null, the corresponding style is removed.
  22994. *
  22995. * @publicApi
  22996. */
  22997. class NgStyle {
  22998. constructor(_ngEl, _differs, _renderer) {
  22999. this._ngEl = _ngEl;
  23000. this._differs = _differs;
  23001. this._renderer = _renderer;
  23002. this._ngStyle = null;
  23003. this._differ = null;
  23004. }
  23005. set ngStyle(values) {
  23006. this._ngStyle = values;
  23007. if (!this._differ && values) {
  23008. this._differ = this._differs.find(values).create();
  23009. }
  23010. }
  23011. ngDoCheck() {
  23012. if (this._differ) {
  23013. const changes = this._differ.diff(this._ngStyle);
  23014. if (changes) {
  23015. this._applyChanges(changes);
  23016. }
  23017. }
  23018. }
  23019. _setStyle(nameAndUnit, value) {
  23020. const [name, unit] = nameAndUnit.split('.');
  23021. const flags = name.indexOf('-') === -1 ? undefined : _angular_core__WEBPACK_IMPORTED_MODULE_0__.RendererStyleFlags2.DashCase;
  23022. if (value != null) {
  23023. this._renderer.setStyle(this._ngEl.nativeElement, name, unit ? `${value}${unit}` : value, flags);
  23024. } else {
  23025. this._renderer.removeStyle(this._ngEl.nativeElement, name, flags);
  23026. }
  23027. }
  23028. _applyChanges(changes) {
  23029. changes.forEachRemovedItem(record => this._setStyle(record.key, null));
  23030. changes.forEachAddedItem(record => this._setStyle(record.key, record.currentValue));
  23031. changes.forEachChangedItem(record => this._setStyle(record.key, record.currentValue));
  23032. }
  23033. }
  23034. NgStyle.ɵfac = function NgStyle_Factory(t) {
  23035. return new (t || NgStyle)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.KeyValueDiffers), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.Renderer2));
  23036. };
  23037. NgStyle.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  23038. type: NgStyle,
  23039. selectors: [["", "ngStyle", ""]],
  23040. inputs: {
  23041. ngStyle: "ngStyle"
  23042. },
  23043. standalone: true
  23044. });
  23045. (function () {
  23046. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgStyle, [{
  23047. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  23048. args: [{
  23049. selector: '[ngStyle]',
  23050. standalone: true
  23051. }]
  23052. }], function () {
  23053. return [{
  23054. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef
  23055. }, {
  23056. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.KeyValueDiffers
  23057. }, {
  23058. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Renderer2
  23059. }];
  23060. }, {
  23061. ngStyle: [{
  23062. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
  23063. args: ['ngStyle']
  23064. }]
  23065. });
  23066. })();
  23067. /**
  23068. * @license
  23069. * Copyright Google LLC All Rights Reserved.
  23070. *
  23071. * Use of this source code is governed by an MIT-style license that can be
  23072. * found in the LICENSE file at https://angular.io/license
  23073. */
  23074. /**
  23075. * @ngModule CommonModule
  23076. *
  23077. * @description
  23078. *
  23079. * Inserts an embedded view from a prepared `TemplateRef`.
  23080. *
  23081. * You can attach a context object to the `EmbeddedViewRef` by setting `[ngTemplateOutletContext]`.
  23082. * `[ngTemplateOutletContext]` should be an object, the object's keys will be available for binding
  23083. * by the local template `let` declarations.
  23084. *
  23085. * @usageNotes
  23086. * ```
  23087. * <ng-container *ngTemplateOutlet="templateRefExp; context: contextExp"></ng-container>
  23088. * ```
  23089. *
  23090. * Using the key `$implicit` in the context object will set its value as default.
  23091. *
  23092. * ### Example
  23093. *
  23094. * {@example common/ngTemplateOutlet/ts/module.ts region='NgTemplateOutlet'}
  23095. *
  23096. * @publicApi
  23097. */
  23098. class NgTemplateOutlet {
  23099. constructor(_viewContainerRef) {
  23100. this._viewContainerRef = _viewContainerRef;
  23101. this._viewRef = null;
  23102. /**
  23103. * A context object to attach to the {@link EmbeddedViewRef}. This should be an
  23104. * object, the object's keys will be available for binding by the local template `let`
  23105. * declarations.
  23106. * Using the key `$implicit` in the context object will set its value as default.
  23107. */
  23108. this.ngTemplateOutletContext = null;
  23109. /**
  23110. * A string defining the template reference and optionally the context object for the template.
  23111. */
  23112. this.ngTemplateOutlet = null;
  23113. /** Injector to be used within the embedded view. */
  23114. this.ngTemplateOutletInjector = null;
  23115. }
  23116. /** @nodoc */
  23117. ngOnChanges(changes) {
  23118. if (changes['ngTemplateOutlet'] || changes['ngTemplateOutletInjector']) {
  23119. const viewContainerRef = this._viewContainerRef;
  23120. if (this._viewRef) {
  23121. viewContainerRef.remove(viewContainerRef.indexOf(this._viewRef));
  23122. }
  23123. if (this.ngTemplateOutlet) {
  23124. const {
  23125. ngTemplateOutlet: template,
  23126. ngTemplateOutletContext: context,
  23127. ngTemplateOutletInjector: injector
  23128. } = this;
  23129. this._viewRef = viewContainerRef.createEmbeddedView(template, context, injector ? {
  23130. injector
  23131. } : undefined);
  23132. } else {
  23133. this._viewRef = null;
  23134. }
  23135. } else if (this._viewRef && changes['ngTemplateOutletContext'] && this.ngTemplateOutletContext) {
  23136. this._viewRef.context = this.ngTemplateOutletContext;
  23137. }
  23138. }
  23139. }
  23140. NgTemplateOutlet.ɵfac = function NgTemplateOutlet_Factory(t) {
  23141. return new (t || NgTemplateOutlet)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef));
  23142. };
  23143. NgTemplateOutlet.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  23144. type: NgTemplateOutlet,
  23145. selectors: [["", "ngTemplateOutlet", ""]],
  23146. inputs: {
  23147. ngTemplateOutletContext: "ngTemplateOutletContext",
  23148. ngTemplateOutlet: "ngTemplateOutlet",
  23149. ngTemplateOutletInjector: "ngTemplateOutletInjector"
  23150. },
  23151. standalone: true,
  23152. features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]]
  23153. });
  23154. (function () {
  23155. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgTemplateOutlet, [{
  23156. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  23157. args: [{
  23158. selector: '[ngTemplateOutlet]',
  23159. standalone: true
  23160. }]
  23161. }], function () {
  23162. return [{
  23163. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef
  23164. }];
  23165. }, {
  23166. ngTemplateOutletContext: [{
  23167. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  23168. }],
  23169. ngTemplateOutlet: [{
  23170. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  23171. }],
  23172. ngTemplateOutletInjector: [{
  23173. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  23174. }]
  23175. });
  23176. })();
  23177. /**
  23178. * @license
  23179. * Copyright Google LLC All Rights Reserved.
  23180. *
  23181. * Use of this source code is governed by an MIT-style license that can be
  23182. * found in the LICENSE file at https://angular.io/license
  23183. */
  23184. /**
  23185. * A collection of Angular directives that are likely to be used in each and every Angular
  23186. * application.
  23187. */
  23188. const COMMON_DIRECTIVES = [NgClass, NgComponentOutlet, NgForOf, NgIf, NgTemplateOutlet, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgPlural, NgPluralCase];
  23189. /**
  23190. * @license
  23191. * Copyright Google LLC All Rights Reserved.
  23192. *
  23193. * Use of this source code is governed by an MIT-style license that can be
  23194. * found in the LICENSE file at https://angular.io/license
  23195. */
  23196. function invalidPipeArgumentError(type, value) {
  23197. return new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2100
  23198. /* RuntimeErrorCode.INVALID_PIPE_ARGUMENT */
  23199. , ngDevMode && `InvalidPipeArgument: '${value}' for pipe '${(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵstringify"])(type)}'`);
  23200. }
  23201. /**
  23202. * @license
  23203. * Copyright Google LLC All Rights Reserved.
  23204. *
  23205. * Use of this source code is governed by an MIT-style license that can be
  23206. * found in the LICENSE file at https://angular.io/license
  23207. */
  23208. class SubscribableStrategy {
  23209. createSubscription(async, updateLatestValue) {
  23210. return async.subscribe({
  23211. next: updateLatestValue,
  23212. error: e => {
  23213. throw e;
  23214. }
  23215. });
  23216. }
  23217. dispose(subscription) {
  23218. subscription.unsubscribe();
  23219. }
  23220. }
  23221. class PromiseStrategy {
  23222. createSubscription(async, updateLatestValue) {
  23223. return async.then(updateLatestValue, e => {
  23224. throw e;
  23225. });
  23226. }
  23227. dispose(subscription) {}
  23228. }
  23229. const _promiseStrategy = new PromiseStrategy();
  23230. const _subscribableStrategy = new SubscribableStrategy();
  23231. /**
  23232. * @ngModule CommonModule
  23233. * @description
  23234. *
  23235. * Unwraps a value from an asynchronous primitive.
  23236. *
  23237. * The `async` pipe subscribes to an `Observable` or `Promise` and returns the latest value it has
  23238. * emitted. When a new value is emitted, the `async` pipe marks the component to be checked for
  23239. * changes. When the component gets destroyed, the `async` pipe unsubscribes automatically to avoid
  23240. * potential memory leaks. When the reference of the expression changes, the `async` pipe
  23241. * automatically unsubscribes from the old `Observable` or `Promise` and subscribes to the new one.
  23242. *
  23243. * @usageNotes
  23244. *
  23245. * ### Examples
  23246. *
  23247. * This example binds a `Promise` to the view. Clicking the `Resolve` button resolves the
  23248. * promise.
  23249. *
  23250. * {@example common/pipes/ts/async_pipe.ts region='AsyncPipePromise'}
  23251. *
  23252. * It's also possible to use `async` with Observables. The example below binds the `time` Observable
  23253. * to the view. The Observable continuously updates the view with the current time.
  23254. *
  23255. * {@example common/pipes/ts/async_pipe.ts region='AsyncPipeObservable'}
  23256. *
  23257. * @publicApi
  23258. */
  23259. class AsyncPipe {
  23260. constructor(ref) {
  23261. this._latestValue = null;
  23262. this._subscription = null;
  23263. this._obj = null;
  23264. this._strategy = null; // Assign `ref` into `this._ref` manually instead of declaring `_ref` in the constructor
  23265. // parameter list, as the type of `this._ref` includes `null` unlike the type of `ref`.
  23266. this._ref = ref;
  23267. }
  23268. ngOnDestroy() {
  23269. if (this._subscription) {
  23270. this._dispose();
  23271. } // Clear the `ChangeDetectorRef` and its association with the view data, to mitigate
  23272. // potential memory leaks in Observables that could otherwise cause the view data to
  23273. // be retained.
  23274. // https://github.com/angular/angular/issues/17624
  23275. this._ref = null;
  23276. }
  23277. transform(obj) {
  23278. if (!this._obj) {
  23279. if (obj) {
  23280. this._subscribe(obj);
  23281. }
  23282. return this._latestValue;
  23283. }
  23284. if (obj !== this._obj) {
  23285. this._dispose();
  23286. return this.transform(obj);
  23287. }
  23288. return this._latestValue;
  23289. }
  23290. _subscribe(obj) {
  23291. this._obj = obj;
  23292. this._strategy = this._selectStrategy(obj);
  23293. this._subscription = this._strategy.createSubscription(obj, value => this._updateLatestValue(obj, value));
  23294. }
  23295. _selectStrategy(obj) {
  23296. if ((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵisPromise"])(obj)) {
  23297. return _promiseStrategy;
  23298. }
  23299. if ((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵisSubscribable"])(obj)) {
  23300. return _subscribableStrategy;
  23301. }
  23302. throw invalidPipeArgumentError(AsyncPipe, obj);
  23303. }
  23304. _dispose() {
  23305. // Note: `dispose` is only called if a subscription has been initialized before, indicating
  23306. // that `this._strategy` is also available.
  23307. this._strategy.dispose(this._subscription);
  23308. this._latestValue = null;
  23309. this._subscription = null;
  23310. this._obj = null;
  23311. }
  23312. _updateLatestValue(async, value) {
  23313. if (async === this._obj) {
  23314. this._latestValue = value; // Note: `this._ref` is only cleared in `ngOnDestroy` so is known to be available when a
  23315. // value is being updated.
  23316. this._ref.markForCheck();
  23317. }
  23318. }
  23319. }
  23320. AsyncPipe.ɵfac = function AsyncPipe_Factory(t) {
  23321. return new (t || AsyncPipe)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ChangeDetectorRef, 16));
  23322. };
  23323. AsyncPipe.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({
  23324. name: "async",
  23325. type: AsyncPipe,
  23326. pure: false,
  23327. standalone: true
  23328. });
  23329. (function () {
  23330. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AsyncPipe, [{
  23331. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe,
  23332. args: [{
  23333. name: 'async',
  23334. pure: false,
  23335. standalone: true
  23336. }]
  23337. }], function () {
  23338. return [{
  23339. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ChangeDetectorRef
  23340. }];
  23341. }, null);
  23342. })();
  23343. /**
  23344. * @license
  23345. * Copyright Google LLC All Rights Reserved.
  23346. *
  23347. * Use of this source code is governed by an MIT-style license that can be
  23348. * found in the LICENSE file at https://angular.io/license
  23349. */
  23350. /**
  23351. * Transforms text to all lower case.
  23352. *
  23353. * @see `UpperCasePipe`
  23354. * @see `TitleCasePipe`
  23355. * @usageNotes
  23356. *
  23357. * The following example defines a view that allows the user to enter
  23358. * text, and then uses the pipe to convert the input text to all lower case.
  23359. *
  23360. * <code-example path="common/pipes/ts/lowerupper_pipe.ts" region='LowerUpperPipe'></code-example>
  23361. *
  23362. * @ngModule CommonModule
  23363. * @publicApi
  23364. */
  23365. class LowerCasePipe {
  23366. transform(value) {
  23367. if (value == null) return null;
  23368. if (typeof value !== 'string') {
  23369. throw invalidPipeArgumentError(LowerCasePipe, value);
  23370. }
  23371. return value.toLowerCase();
  23372. }
  23373. }
  23374. LowerCasePipe.ɵfac = function LowerCasePipe_Factory(t) {
  23375. return new (t || LowerCasePipe)();
  23376. };
  23377. LowerCasePipe.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({
  23378. name: "lowercase",
  23379. type: LowerCasePipe,
  23380. pure: true,
  23381. standalone: true
  23382. });
  23383. (function () {
  23384. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](LowerCasePipe, [{
  23385. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe,
  23386. args: [{
  23387. name: 'lowercase',
  23388. standalone: true
  23389. }]
  23390. }], null, null);
  23391. })(); //
  23392. // Regex below matches any Unicode word and number compatible with ES5. In ES2018 the same result
  23393. // can be achieved by using /[0-9\p{L}]\S*/gu and also known as Unicode Property Escapes
  23394. // (https://2ality.com/2017/07/regexp-unicode-property-escapes.html). Since there is no
  23395. // transpilation of this functionality down to ES5 without external tool, the only solution is
  23396. // to use already transpiled form. Example can be found here -
  23397. // https://mothereff.in/regexpu#input=var+regex+%3D+%2F%5B0-9%5Cp%7BL%7D%5D%5CS*%2Fgu%3B%0A%0A&unicodePropertyEscape=1
  23398. //
  23399. const unicodeWordMatch = /(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;
  23400. /**
  23401. * Transforms text to title case.
  23402. * Capitalizes the first letter of each word and transforms the
  23403. * rest of the word to lower case.
  23404. * Words are delimited by any whitespace character, such as a space, tab, or line-feed character.
  23405. *
  23406. * @see `LowerCasePipe`
  23407. * @see `UpperCasePipe`
  23408. *
  23409. * @usageNotes
  23410. * The following example shows the result of transforming various strings into title case.
  23411. *
  23412. * <code-example path="common/pipes/ts/titlecase_pipe.ts" region='TitleCasePipe'></code-example>
  23413. *
  23414. * @ngModule CommonModule
  23415. * @publicApi
  23416. */
  23417. class TitleCasePipe {
  23418. transform(value) {
  23419. if (value == null) return null;
  23420. if (typeof value !== 'string') {
  23421. throw invalidPipeArgumentError(TitleCasePipe, value);
  23422. }
  23423. return value.replace(unicodeWordMatch, txt => txt[0].toUpperCase() + txt.slice(1).toLowerCase());
  23424. }
  23425. }
  23426. TitleCasePipe.ɵfac = function TitleCasePipe_Factory(t) {
  23427. return new (t || TitleCasePipe)();
  23428. };
  23429. TitleCasePipe.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({
  23430. name: "titlecase",
  23431. type: TitleCasePipe,
  23432. pure: true,
  23433. standalone: true
  23434. });
  23435. (function () {
  23436. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](TitleCasePipe, [{
  23437. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe,
  23438. args: [{
  23439. name: 'titlecase',
  23440. standalone: true
  23441. }]
  23442. }], null, null);
  23443. })();
  23444. /**
  23445. * Transforms text to all upper case.
  23446. * @see `LowerCasePipe`
  23447. * @see `TitleCasePipe`
  23448. *
  23449. * @ngModule CommonModule
  23450. * @publicApi
  23451. */
  23452. class UpperCasePipe {
  23453. transform(value) {
  23454. if (value == null) return null;
  23455. if (typeof value !== 'string') {
  23456. throw invalidPipeArgumentError(UpperCasePipe, value);
  23457. }
  23458. return value.toUpperCase();
  23459. }
  23460. }
  23461. UpperCasePipe.ɵfac = function UpperCasePipe_Factory(t) {
  23462. return new (t || UpperCasePipe)();
  23463. };
  23464. UpperCasePipe.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({
  23465. name: "uppercase",
  23466. type: UpperCasePipe,
  23467. pure: true,
  23468. standalone: true
  23469. });
  23470. (function () {
  23471. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](UpperCasePipe, [{
  23472. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe,
  23473. args: [{
  23474. name: 'uppercase',
  23475. standalone: true
  23476. }]
  23477. }], null, null);
  23478. })();
  23479. /**
  23480. * @license
  23481. * Copyright Google LLC All Rights Reserved.
  23482. *
  23483. * Use of this source code is governed by an MIT-style license that can be
  23484. * found in the LICENSE file at https://angular.io/license
  23485. */
  23486. /**
  23487. * Optionally-provided default timezone to use for all instances of `DatePipe` (such as `'+0430'`).
  23488. * If the value isn't provided, the `DatePipe` will use the end-user's local system timezone.
  23489. */
  23490. const DATE_PIPE_DEFAULT_TIMEZONE = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('DATE_PIPE_DEFAULT_TIMEZONE'); // clang-format off
  23491. /**
  23492. * @ngModule CommonModule
  23493. * @description
  23494. *
  23495. * Formats a date value according to locale rules.
  23496. *
  23497. * `DatePipe` is executed only when it detects a pure change to the input value.
  23498. * A pure change is either a change to a primitive input value
  23499. * (such as `String`, `Number`, `Boolean`, or `Symbol`),
  23500. * or a changed object reference (such as `Date`, `Array`, `Function`, or `Object`).
  23501. *
  23502. * Note that mutating a `Date` object does not cause the pipe to be rendered again.
  23503. * To ensure that the pipe is executed, you must create a new `Date` object.
  23504. *
  23505. * Only the `en-US` locale data comes with Angular. To localize dates
  23506. * in another language, you must import the corresponding locale data.
  23507. * See the [I18n guide](guide/i18n-common-format-data-locale) for more information.
  23508. *
  23509. * The time zone of the formatted value can be specified either by passing it in as the second
  23510. * parameter of the pipe, or by setting the default through the `DATE_PIPE_DEFAULT_TIMEZONE`
  23511. * injection token. The value that is passed in as the second parameter takes precedence over
  23512. * the one defined using the injection token.
  23513. *
  23514. * @see `formatDate()`
  23515. *
  23516. *
  23517. * @usageNotes
  23518. *
  23519. * The result of this pipe is not reevaluated when the input is mutated. To avoid the need to
  23520. * reformat the date on every change-detection cycle, treat the date as an immutable object
  23521. * and change the reference when the pipe needs to run again.
  23522. *
  23523. * ### Pre-defined format options
  23524. *
  23525. * | Option | Equivalent to | Examples (given in `en-US` locale) |
  23526. * |---------------|-------------------------------------|-------------------------------------------------|
  23527. * | `'short'` | `'M/d/yy, h:mm a'` | `6/15/15, 9:03 AM` |
  23528. * | `'medium'` | `'MMM d, y, h:mm:ss a'` | `Jun 15, 2015, 9:03:01 AM` |
  23529. * | `'long'` | `'MMMM d, y, h:mm:ss a z'` | `June 15, 2015 at 9:03:01 AM GMT+1` |
  23530. * | `'full'` | `'EEEE, MMMM d, y, h:mm:ss a zzzz'` | `Monday, June 15, 2015 at 9:03:01 AM GMT+01:00` |
  23531. * | `'shortDate'` | `'M/d/yy'` | `6/15/15` |
  23532. * | `'mediumDate'`| `'MMM d, y'` | `Jun 15, 2015` |
  23533. * | `'longDate'` | `'MMMM d, y'` | `June 15, 2015` |
  23534. * | `'fullDate'` | `'EEEE, MMMM d, y'` | `Monday, June 15, 2015` |
  23535. * | `'shortTime'` | `'h:mm a'` | `9:03 AM` |
  23536. * | `'mediumTime'`| `'h:mm:ss a'` | `9:03:01 AM` |
  23537. * | `'longTime'` | `'h:mm:ss a z'` | `9:03:01 AM GMT+1` |
  23538. * | `'fullTime'` | `'h:mm:ss a zzzz'` | `9:03:01 AM GMT+01:00` |
  23539. *
  23540. * ### Custom format options
  23541. *
  23542. * You can construct a format string using symbols to specify the components
  23543. * of a date-time value, as described in the following table.
  23544. * Format details depend on the locale.
  23545. * Fields marked with (*) are only available in the extra data set for the given locale.
  23546. *
  23547. * | Field type | Format | Description | Example Value |
  23548. * |-------------------- |-------------|---------------------------------------------------------------|------------------------------------------------------------|
  23549. * | Era | G, GG & GGG | Abbreviated | AD |
  23550. * | | GGGG | Wide | Anno Domini |
  23551. * | | GGGGG | Narrow | A |
  23552. * | Year | y | Numeric: minimum digits | 2, 20, 201, 2017, 20173 |
  23553. * | | yy | Numeric: 2 digits + zero padded | 02, 20, 01, 17, 73 |
  23554. * | | yyy | Numeric: 3 digits + zero padded | 002, 020, 201, 2017, 20173 |
  23555. * | | yyyy | Numeric: 4 digits or more + zero padded | 0002, 0020, 0201, 2017, 20173 |
  23556. * | Week-numbering year | Y | Numeric: minimum digits | 2, 20, 201, 2017, 20173 |
  23557. * | | YY | Numeric: 2 digits + zero padded | 02, 20, 01, 17, 73 |
  23558. * | | YYY | Numeric: 3 digits + zero padded | 002, 020, 201, 2017, 20173 |
  23559. * | | YYYY | Numeric: 4 digits or more + zero padded | 0002, 0020, 0201, 2017, 20173 |
  23560. * | Month | M | Numeric: 1 digit | 9, 12 |
  23561. * | | MM | Numeric: 2 digits + zero padded | 09, 12 |
  23562. * | | MMM | Abbreviated | Sep |
  23563. * | | MMMM | Wide | September |
  23564. * | | MMMMM | Narrow | S |
  23565. * | Month standalone | L | Numeric: 1 digit | 9, 12 |
  23566. * | | LL | Numeric: 2 digits + zero padded | 09, 12 |
  23567. * | | LLL | Abbreviated | Sep |
  23568. * | | LLLL | Wide | September |
  23569. * | | LLLLL | Narrow | S |
  23570. * | Week of year | w | Numeric: minimum digits | 1... 53 |
  23571. * | | ww | Numeric: 2 digits + zero padded | 01... 53 |
  23572. * | Week of month | W | Numeric: 1 digit | 1... 5 |
  23573. * | Day of month | d | Numeric: minimum digits | 1 |
  23574. * | | dd | Numeric: 2 digits + zero padded | 01 |
  23575. * | Week day | E, EE & EEE | Abbreviated | Tue |
  23576. * | | EEEE | Wide | Tuesday |
  23577. * | | EEEEE | Narrow | T |
  23578. * | | EEEEEE | Short | Tu |
  23579. * | Week day standalone | c, cc | Numeric: 1 digit | 2 |
  23580. * | | ccc | Abbreviated | Tue |
  23581. * | | cccc | Wide | Tuesday |
  23582. * | | ccccc | Narrow | T |
  23583. * | | cccccc | Short | Tu |
  23584. * | Period | a, aa & aaa | Abbreviated | am/pm or AM/PM |
  23585. * | | aaaa | Wide (fallback to `a` when missing) | ante meridiem/post meridiem |
  23586. * | | aaaaa | Narrow | a/p |
  23587. * | Period* | B, BB & BBB | Abbreviated | mid. |
  23588. * | | BBBB | Wide | am, pm, midnight, noon, morning, afternoon, evening, night |
  23589. * | | BBBBB | Narrow | md |
  23590. * | Period standalone* | b, bb & bbb | Abbreviated | mid. |
  23591. * | | bbbb | Wide | am, pm, midnight, noon, morning, afternoon, evening, night |
  23592. * | | bbbbb | Narrow | md |
  23593. * | Hour 1-12 | h | Numeric: minimum digits | 1, 12 |
  23594. * | | hh | Numeric: 2 digits + zero padded | 01, 12 |
  23595. * | Hour 0-23 | H | Numeric: minimum digits | 0, 23 |
  23596. * | | HH | Numeric: 2 digits + zero padded | 00, 23 |
  23597. * | Minute | m | Numeric: minimum digits | 8, 59 |
  23598. * | | mm | Numeric: 2 digits + zero padded | 08, 59 |
  23599. * | Second | s | Numeric: minimum digits | 0... 59 |
  23600. * | | ss | Numeric: 2 digits + zero padded | 00... 59 |
  23601. * | Fractional seconds | S | Numeric: 1 digit | 0... 9 |
  23602. * | | SS | Numeric: 2 digits + zero padded | 00... 99 |
  23603. * | | SSS | Numeric: 3 digits + zero padded (= milliseconds) | 000... 999 |
  23604. * | Zone | z, zz & zzz | Short specific non location format (fallback to O) | GMT-8 |
  23605. * | | zzzz | Long specific non location format (fallback to OOOO) | GMT-08:00 |
  23606. * | | Z, ZZ & ZZZ | ISO8601 basic format | -0800 |
  23607. * | | ZZZZ | Long localized GMT format | GMT-8:00 |
  23608. * | | ZZZZZ | ISO8601 extended format + Z indicator for offset 0 (= XXXXX) | -08:00 |
  23609. * | | O, OO & OOO | Short localized GMT format | GMT-8 |
  23610. * | | OOOO | Long localized GMT format | GMT-08:00 |
  23611. *
  23612. *
  23613. * ### Format examples
  23614. *
  23615. * These examples transform a date into various formats,
  23616. * assuming that `dateObj` is a JavaScript `Date` object for
  23617. * year: 2015, month: 6, day: 15, hour: 21, minute: 43, second: 11,
  23618. * given in the local time for the `en-US` locale.
  23619. *
  23620. * ```
  23621. * {{ dateObj | date }} // output is 'Jun 15, 2015'
  23622. * {{ dateObj | date:'medium' }} // output is 'Jun 15, 2015, 9:43:11 PM'
  23623. * {{ dateObj | date:'shortTime' }} // output is '9:43 PM'
  23624. * {{ dateObj | date:'mm:ss' }} // output is '43:11'
  23625. * ```
  23626. *
  23627. * ### Usage example
  23628. *
  23629. * The following component uses a date pipe to display the current date in different formats.
  23630. *
  23631. * ```
  23632. * @Component({
  23633. * selector: 'date-pipe',
  23634. * template: `<div>
  23635. * <p>Today is {{today | date}}</p>
  23636. * <p>Or if you prefer, {{today | date:'fullDate'}}</p>
  23637. * <p>The time is {{today | date:'h:mm a z'}}</p>
  23638. * </div>`
  23639. * })
  23640. * // Get the current date and time as a date-time value.
  23641. * export class DatePipeComponent {
  23642. * today: number = Date.now();
  23643. * }
  23644. * ```
  23645. *
  23646. * @publicApi
  23647. */
  23648. // clang-format on
  23649. class DatePipe {
  23650. constructor(locale, defaultTimezone) {
  23651. this.locale = locale;
  23652. this.defaultTimezone = defaultTimezone;
  23653. }
  23654. transform(value, format = 'mediumDate', timezone, locale) {
  23655. var _a;
  23656. if (value == null || value === '' || value !== value) return null;
  23657. try {
  23658. return formatDate(value, format, locale || this.locale, (_a = timezone !== null && timezone !== void 0 ? timezone : this.defaultTimezone) !== null && _a !== void 0 ? _a : undefined);
  23659. } catch (error) {
  23660. throw invalidPipeArgumentError(DatePipe, error.message);
  23661. }
  23662. }
  23663. }
  23664. DatePipe.ɵfac = function DatePipe_Factory(t) {
  23665. return new (t || DatePipe)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID, 16), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](DATE_PIPE_DEFAULT_TIMEZONE, 24));
  23666. };
  23667. DatePipe.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({
  23668. name: "date",
  23669. type: DatePipe,
  23670. pure: true,
  23671. standalone: true
  23672. });
  23673. (function () {
  23674. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](DatePipe, [{
  23675. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe,
  23676. args: [{
  23677. name: 'date',
  23678. pure: true,
  23679. standalone: true
  23680. }]
  23681. }], function () {
  23682. return [{
  23683. type: undefined,
  23684. decorators: [{
  23685. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
  23686. args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID]
  23687. }]
  23688. }, {
  23689. type: undefined,
  23690. decorators: [{
  23691. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
  23692. args: [DATE_PIPE_DEFAULT_TIMEZONE]
  23693. }, {
  23694. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  23695. }]
  23696. }];
  23697. }, null);
  23698. })();
  23699. /**
  23700. * @license
  23701. * Copyright Google LLC All Rights Reserved.
  23702. *
  23703. * Use of this source code is governed by an MIT-style license that can be
  23704. * found in the LICENSE file at https://angular.io/license
  23705. */
  23706. const _INTERPOLATION_REGEXP = /#/g;
  23707. /**
  23708. * @ngModule CommonModule
  23709. * @description
  23710. *
  23711. * Maps a value to a string that pluralizes the value according to locale rules.
  23712. *
  23713. * @usageNotes
  23714. *
  23715. * ### Example
  23716. *
  23717. * {@example common/pipes/ts/i18n_pipe.ts region='I18nPluralPipeComponent'}
  23718. *
  23719. * @publicApi
  23720. */
  23721. class I18nPluralPipe {
  23722. constructor(_localization) {
  23723. this._localization = _localization;
  23724. }
  23725. /**
  23726. * @param value the number to be formatted
  23727. * @param pluralMap an object that mimics the ICU format, see
  23728. * https://unicode-org.github.io/icu/userguide/format_parse/messages/.
  23729. * @param locale a `string` defining the locale to use (uses the current {@link LOCALE_ID} by
  23730. * default).
  23731. */
  23732. transform(value, pluralMap, locale) {
  23733. if (value == null) return '';
  23734. if (typeof pluralMap !== 'object' || pluralMap === null) {
  23735. throw invalidPipeArgumentError(I18nPluralPipe, pluralMap);
  23736. }
  23737. const key = getPluralCategory(value, Object.keys(pluralMap), this._localization, locale);
  23738. return pluralMap[key].replace(_INTERPOLATION_REGEXP, value.toString());
  23739. }
  23740. }
  23741. I18nPluralPipe.ɵfac = function I18nPluralPipe_Factory(t) {
  23742. return new (t || I18nPluralPipe)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NgLocalization, 16));
  23743. };
  23744. I18nPluralPipe.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({
  23745. name: "i18nPlural",
  23746. type: I18nPluralPipe,
  23747. pure: true,
  23748. standalone: true
  23749. });
  23750. (function () {
  23751. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](I18nPluralPipe, [{
  23752. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe,
  23753. args: [{
  23754. name: 'i18nPlural',
  23755. pure: true,
  23756. standalone: true
  23757. }]
  23758. }], function () {
  23759. return [{
  23760. type: NgLocalization
  23761. }];
  23762. }, null);
  23763. })();
  23764. /**
  23765. * @license
  23766. * Copyright Google LLC All Rights Reserved.
  23767. *
  23768. * Use of this source code is governed by an MIT-style license that can be
  23769. * found in the LICENSE file at https://angular.io/license
  23770. */
  23771. /**
  23772. * @ngModule CommonModule
  23773. * @description
  23774. *
  23775. * Generic selector that displays the string that matches the current value.
  23776. *
  23777. * If none of the keys of the `mapping` match the `value`, then the content
  23778. * of the `other` key is returned when present, otherwise an empty string is returned.
  23779. *
  23780. * @usageNotes
  23781. *
  23782. * ### Example
  23783. *
  23784. * {@example common/pipes/ts/i18n_pipe.ts region='I18nSelectPipeComponent'}
  23785. *
  23786. * @publicApi
  23787. */
  23788. class I18nSelectPipe {
  23789. /**
  23790. * @param value a string to be internationalized.
  23791. * @param mapping an object that indicates the text that should be displayed
  23792. * for different values of the provided `value`.
  23793. */
  23794. transform(value, mapping) {
  23795. if (value == null) return '';
  23796. if (typeof mapping !== 'object' || typeof value !== 'string') {
  23797. throw invalidPipeArgumentError(I18nSelectPipe, mapping);
  23798. }
  23799. if (mapping.hasOwnProperty(value)) {
  23800. return mapping[value];
  23801. }
  23802. if (mapping.hasOwnProperty('other')) {
  23803. return mapping['other'];
  23804. }
  23805. return '';
  23806. }
  23807. }
  23808. I18nSelectPipe.ɵfac = function I18nSelectPipe_Factory(t) {
  23809. return new (t || I18nSelectPipe)();
  23810. };
  23811. I18nSelectPipe.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({
  23812. name: "i18nSelect",
  23813. type: I18nSelectPipe,
  23814. pure: true,
  23815. standalone: true
  23816. });
  23817. (function () {
  23818. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](I18nSelectPipe, [{
  23819. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe,
  23820. args: [{
  23821. name: 'i18nSelect',
  23822. pure: true,
  23823. standalone: true
  23824. }]
  23825. }], null, null);
  23826. })();
  23827. /**
  23828. * @license
  23829. * Copyright Google LLC All Rights Reserved.
  23830. *
  23831. * Use of this source code is governed by an MIT-style license that can be
  23832. * found in the LICENSE file at https://angular.io/license
  23833. */
  23834. /**
  23835. * @ngModule CommonModule
  23836. * @description
  23837. *
  23838. * Converts a value into its JSON-format representation. Useful for debugging.
  23839. *
  23840. * @usageNotes
  23841. *
  23842. * The following component uses a JSON pipe to convert an object
  23843. * to JSON format, and displays the string in both formats for comparison.
  23844. *
  23845. * {@example common/pipes/ts/json_pipe.ts region='JsonPipe'}
  23846. *
  23847. * @publicApi
  23848. */
  23849. class JsonPipe {
  23850. /**
  23851. * @param value A value of any type to convert into a JSON-format string.
  23852. */
  23853. transform(value) {
  23854. return JSON.stringify(value, null, 2);
  23855. }
  23856. }
  23857. JsonPipe.ɵfac = function JsonPipe_Factory(t) {
  23858. return new (t || JsonPipe)();
  23859. };
  23860. JsonPipe.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({
  23861. name: "json",
  23862. type: JsonPipe,
  23863. pure: false,
  23864. standalone: true
  23865. });
  23866. (function () {
  23867. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](JsonPipe, [{
  23868. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe,
  23869. args: [{
  23870. name: 'json',
  23871. pure: false,
  23872. standalone: true
  23873. }]
  23874. }], null, null);
  23875. })();
  23876. /**
  23877. * @license
  23878. * Copyright Google LLC All Rights Reserved.
  23879. *
  23880. * Use of this source code is governed by an MIT-style license that can be
  23881. * found in the LICENSE file at https://angular.io/license
  23882. */
  23883. function makeKeyValuePair(key, value) {
  23884. return {
  23885. key: key,
  23886. value: value
  23887. };
  23888. }
  23889. /**
  23890. * @ngModule CommonModule
  23891. * @description
  23892. *
  23893. * Transforms Object or Map into an array of key value pairs.
  23894. *
  23895. * The output array will be ordered by keys.
  23896. * By default the comparator will be by Unicode point value.
  23897. * You can optionally pass a compareFn if your keys are complex types.
  23898. *
  23899. * @usageNotes
  23900. * ### Examples
  23901. *
  23902. * This examples show how an Object or a Map can be iterated by ngFor with the use of this
  23903. * keyvalue pipe.
  23904. *
  23905. * {@example common/pipes/ts/keyvalue_pipe.ts region='KeyValuePipe'}
  23906. *
  23907. * @publicApi
  23908. */
  23909. class KeyValuePipe {
  23910. constructor(differs) {
  23911. this.differs = differs;
  23912. this.keyValues = [];
  23913. this.compareFn = defaultComparator;
  23914. }
  23915. transform(input, compareFn = defaultComparator) {
  23916. if (!input || !(input instanceof Map) && typeof input !== 'object') {
  23917. return null;
  23918. }
  23919. if (!this.differ) {
  23920. // make a differ for whatever type we've been passed in
  23921. this.differ = this.differs.find(input).create();
  23922. }
  23923. const differChanges = this.differ.diff(input);
  23924. const compareFnChanged = compareFn !== this.compareFn;
  23925. if (differChanges) {
  23926. this.keyValues = [];
  23927. differChanges.forEachItem(r => {
  23928. this.keyValues.push(makeKeyValuePair(r.key, r.currentValue));
  23929. });
  23930. }
  23931. if (differChanges || compareFnChanged) {
  23932. this.keyValues.sort(compareFn);
  23933. this.compareFn = compareFn;
  23934. }
  23935. return this.keyValues;
  23936. }
  23937. }
  23938. KeyValuePipe.ɵfac = function KeyValuePipe_Factory(t) {
  23939. return new (t || KeyValuePipe)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.KeyValueDiffers, 16));
  23940. };
  23941. KeyValuePipe.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({
  23942. name: "keyvalue",
  23943. type: KeyValuePipe,
  23944. pure: false,
  23945. standalone: true
  23946. });
  23947. (function () {
  23948. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](KeyValuePipe, [{
  23949. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe,
  23950. args: [{
  23951. name: 'keyvalue',
  23952. pure: false,
  23953. standalone: true
  23954. }]
  23955. }], function () {
  23956. return [{
  23957. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.KeyValueDiffers
  23958. }];
  23959. }, null);
  23960. })();
  23961. function defaultComparator(keyValueA, keyValueB) {
  23962. const a = keyValueA.key;
  23963. const b = keyValueB.key; // if same exit with 0;
  23964. if (a === b) return 0; // make sure that undefined are at the end of the sort.
  23965. if (a === undefined) return 1;
  23966. if (b === undefined) return -1; // make sure that nulls are at the end of the sort.
  23967. if (a === null) return 1;
  23968. if (b === null) return -1;
  23969. if (typeof a == 'string' && typeof b == 'string') {
  23970. return a < b ? -1 : 1;
  23971. }
  23972. if (typeof a == 'number' && typeof b == 'number') {
  23973. return a - b;
  23974. }
  23975. if (typeof a == 'boolean' && typeof b == 'boolean') {
  23976. return a < b ? -1 : 1;
  23977. } // `a` and `b` are of different types. Compare their string values.
  23978. const aString = String(a);
  23979. const bString = String(b);
  23980. return aString == bString ? 0 : aString < bString ? -1 : 1;
  23981. }
  23982. /**
  23983. * @license
  23984. * Copyright Google LLC All Rights Reserved.
  23985. *
  23986. * Use of this source code is governed by an MIT-style license that can be
  23987. * found in the LICENSE file at https://angular.io/license
  23988. */
  23989. /**
  23990. * @ngModule CommonModule
  23991. * @description
  23992. *
  23993. * Formats a value according to digit options and locale rules.
  23994. * Locale determines group sizing and separator,
  23995. * decimal point character, and other locale-specific configurations.
  23996. *
  23997. * @see `formatNumber()`
  23998. *
  23999. * @usageNotes
  24000. *
  24001. * ### digitsInfo
  24002. *
  24003. * The value's decimal representation is specified by the `digitsInfo`
  24004. * parameter, written in the following format:<br>
  24005. *
  24006. * ```
  24007. * {minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}
  24008. * ```
  24009. *
  24010. * - `minIntegerDigits`:
  24011. * The minimum number of integer digits before the decimal point.
  24012. * Default is 1.
  24013. *
  24014. * - `minFractionDigits`:
  24015. * The minimum number of digits after the decimal point.
  24016. * Default is 0.
  24017. *
  24018. * - `maxFractionDigits`:
  24019. * The maximum number of digits after the decimal point.
  24020. * Default is 3.
  24021. *
  24022. * If the formatted value is truncated it will be rounded using the "to-nearest" method:
  24023. *
  24024. * ```
  24025. * {{3.6 | number: '1.0-0'}}
  24026. * <!--will output '4'-->
  24027. *
  24028. * {{-3.6 | number:'1.0-0'}}
  24029. * <!--will output '-4'-->
  24030. * ```
  24031. *
  24032. * ### locale
  24033. *
  24034. * `locale` will format a value according to locale rules.
  24035. * Locale determines group sizing and separator,
  24036. * decimal point character, and other locale-specific configurations.
  24037. *
  24038. * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.
  24039. *
  24040. * See [Setting your app locale](guide/i18n-common-locale-id).
  24041. *
  24042. * ### Example
  24043. *
  24044. * The following code shows how the pipe transforms values
  24045. * according to various format specifications,
  24046. * where the caller's default locale is `en-US`.
  24047. *
  24048. * <code-example path="common/pipes/ts/number_pipe.ts" region='NumberPipe'></code-example>
  24049. *
  24050. * @publicApi
  24051. */
  24052. class DecimalPipe {
  24053. constructor(_locale) {
  24054. this._locale = _locale;
  24055. }
  24056. /**
  24057. * @param value The value to be formatted.
  24058. * @param digitsInfo Sets digit and decimal representation.
  24059. * [See more](#digitsinfo).
  24060. * @param locale Specifies what locale format rules to use.
  24061. * [See more](#locale).
  24062. */
  24063. transform(value, digitsInfo, locale) {
  24064. if (!isValue(value)) return null;
  24065. locale = locale || this._locale;
  24066. try {
  24067. const num = strToNumber(value);
  24068. return formatNumber(num, locale, digitsInfo);
  24069. } catch (error) {
  24070. throw invalidPipeArgumentError(DecimalPipe, error.message);
  24071. }
  24072. }
  24073. }
  24074. DecimalPipe.ɵfac = function DecimalPipe_Factory(t) {
  24075. return new (t || DecimalPipe)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID, 16));
  24076. };
  24077. DecimalPipe.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({
  24078. name: "number",
  24079. type: DecimalPipe,
  24080. pure: true,
  24081. standalone: true
  24082. });
  24083. (function () {
  24084. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](DecimalPipe, [{
  24085. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe,
  24086. args: [{
  24087. name: 'number',
  24088. standalone: true
  24089. }]
  24090. }], function () {
  24091. return [{
  24092. type: undefined,
  24093. decorators: [{
  24094. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
  24095. args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID]
  24096. }]
  24097. }];
  24098. }, null);
  24099. })();
  24100. /**
  24101. * @ngModule CommonModule
  24102. * @description
  24103. *
  24104. * Transforms a number to a percentage
  24105. * string, formatted according to locale rules that determine group sizing and
  24106. * separator, decimal-point character, and other locale-specific
  24107. * configurations.
  24108. *
  24109. * @see `formatPercent()`
  24110. *
  24111. * @usageNotes
  24112. * The following code shows how the pipe transforms numbers
  24113. * into text strings, according to various format specifications,
  24114. * where the caller's default locale is `en-US`.
  24115. *
  24116. * <code-example path="common/pipes/ts/percent_pipe.ts" region='PercentPipe'></code-example>
  24117. *
  24118. * @publicApi
  24119. */
  24120. class PercentPipe {
  24121. constructor(_locale) {
  24122. this._locale = _locale;
  24123. }
  24124. /**
  24125. *
  24126. * @param value The number to be formatted as a percentage.
  24127. * @param digitsInfo Decimal representation options, specified by a string
  24128. * in the following format:<br>
  24129. * <code>{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}</code>.
  24130. * - `minIntegerDigits`: The minimum number of integer digits before the decimal point.
  24131. * Default is `1`.
  24132. * - `minFractionDigits`: The minimum number of digits after the decimal point.
  24133. * Default is `0`.
  24134. * - `maxFractionDigits`: The maximum number of digits after the decimal point.
  24135. * Default is `0`.
  24136. * @param locale A locale code for the locale format rules to use.
  24137. * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.
  24138. * See [Setting your app locale](guide/i18n-common-locale-id).
  24139. */
  24140. transform(value, digitsInfo, locale) {
  24141. if (!isValue(value)) return null;
  24142. locale = locale || this._locale;
  24143. try {
  24144. const num = strToNumber(value);
  24145. return formatPercent(num, locale, digitsInfo);
  24146. } catch (error) {
  24147. throw invalidPipeArgumentError(PercentPipe, error.message);
  24148. }
  24149. }
  24150. }
  24151. PercentPipe.ɵfac = function PercentPipe_Factory(t) {
  24152. return new (t || PercentPipe)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID, 16));
  24153. };
  24154. PercentPipe.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({
  24155. name: "percent",
  24156. type: PercentPipe,
  24157. pure: true,
  24158. standalone: true
  24159. });
  24160. (function () {
  24161. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PercentPipe, [{
  24162. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe,
  24163. args: [{
  24164. name: 'percent',
  24165. standalone: true
  24166. }]
  24167. }], function () {
  24168. return [{
  24169. type: undefined,
  24170. decorators: [{
  24171. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
  24172. args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID]
  24173. }]
  24174. }];
  24175. }, null);
  24176. })();
  24177. /**
  24178. * @ngModule CommonModule
  24179. * @description
  24180. *
  24181. * Transforms a number to a currency string, formatted according to locale rules
  24182. * that determine group sizing and separator, decimal-point character,
  24183. * and other locale-specific configurations.
  24184. *
  24185. * {@a currency-code-deprecation}
  24186. * <div class="alert is-helpful">
  24187. *
  24188. * **Deprecation notice:**
  24189. *
  24190. * The default currency code is currently always `USD` but this is deprecated from v9.
  24191. *
  24192. * **In v11 the default currency code will be taken from the current locale identified by
  24193. * the `LOCALE_ID` token. See the [i18n guide](guide/i18n-common-locale-id) for
  24194. * more information.**
  24195. *
  24196. * If you need the previous behavior then set it by creating a `DEFAULT_CURRENCY_CODE` provider in
  24197. * your application `NgModule`:
  24198. *
  24199. * ```ts
  24200. * {provide: DEFAULT_CURRENCY_CODE, useValue: 'USD'}
  24201. * ```
  24202. *
  24203. * </div>
  24204. *
  24205. * @see `getCurrencySymbol()`
  24206. * @see `formatCurrency()`
  24207. *
  24208. * @usageNotes
  24209. * The following code shows how the pipe transforms numbers
  24210. * into text strings, according to various format specifications,
  24211. * where the caller's default locale is `en-US`.
  24212. *
  24213. * <code-example path="common/pipes/ts/currency_pipe.ts" region='CurrencyPipe'></code-example>
  24214. *
  24215. * @publicApi
  24216. */
  24217. class CurrencyPipe {
  24218. constructor(_locale, _defaultCurrencyCode = 'USD') {
  24219. this._locale = _locale;
  24220. this._defaultCurrencyCode = _defaultCurrencyCode;
  24221. }
  24222. /**
  24223. *
  24224. * @param value The number to be formatted as currency.
  24225. * @param currencyCode The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code,
  24226. * such as `USD` for the US dollar and `EUR` for the euro. The default currency code can be
  24227. * configured using the `DEFAULT_CURRENCY_CODE` injection token.
  24228. * @param display The format for the currency indicator. One of the following:
  24229. * - `code`: Show the code (such as `USD`).
  24230. * - `symbol`(default): Show the symbol (such as `$`).
  24231. * - `symbol-narrow`: Use the narrow symbol for locales that have two symbols for their
  24232. * currency.
  24233. * For example, the Canadian dollar CAD has the symbol `CA$` and the symbol-narrow `$`. If the
  24234. * locale has no narrow symbol, uses the standard symbol for the locale.
  24235. * - String: Use the given string value instead of a code or a symbol.
  24236. * For example, an empty string will suppress the currency & symbol.
  24237. * - Boolean (marked deprecated in v5): `true` for symbol and false for `code`.
  24238. *
  24239. * @param digitsInfo Decimal representation options, specified by a string
  24240. * in the following format:<br>
  24241. * <code>{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}</code>.
  24242. * - `minIntegerDigits`: The minimum number of integer digits before the decimal point.
  24243. * Default is `1`.
  24244. * - `minFractionDigits`: The minimum number of digits after the decimal point.
  24245. * Default is `2`.
  24246. * - `maxFractionDigits`: The maximum number of digits after the decimal point.
  24247. * Default is `2`.
  24248. * If not provided, the number will be formatted with the proper amount of digits,
  24249. * depending on what the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) specifies.
  24250. * For example, the Canadian dollar has 2 digits, whereas the Chilean peso has none.
  24251. * @param locale A locale code for the locale format rules to use.
  24252. * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.
  24253. * See [Setting your app locale](guide/i18n-common-locale-id).
  24254. */
  24255. transform(value, currencyCode = this._defaultCurrencyCode, display = 'symbol', digitsInfo, locale) {
  24256. if (!isValue(value)) return null;
  24257. locale = locale || this._locale;
  24258. if (typeof display === 'boolean') {
  24259. if ((typeof ngDevMode === 'undefined' || ngDevMode) && console && console.warn) {
  24260. console.warn(`Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are "code", "symbol" or "symbol-narrow".`);
  24261. }
  24262. display = display ? 'symbol' : 'code';
  24263. }
  24264. let currency = currencyCode || this._defaultCurrencyCode;
  24265. if (display !== 'code') {
  24266. if (display === 'symbol' || display === 'symbol-narrow') {
  24267. currency = getCurrencySymbol(currency, display === 'symbol' ? 'wide' : 'narrow', locale);
  24268. } else {
  24269. currency = display;
  24270. }
  24271. }
  24272. try {
  24273. const num = strToNumber(value);
  24274. return formatCurrency(num, locale, currency, currencyCode, digitsInfo);
  24275. } catch (error) {
  24276. throw invalidPipeArgumentError(CurrencyPipe, error.message);
  24277. }
  24278. }
  24279. }
  24280. CurrencyPipe.ɵfac = function CurrencyPipe_Factory(t) {
  24281. return new (t || CurrencyPipe)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID, 16), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.DEFAULT_CURRENCY_CODE, 16));
  24282. };
  24283. CurrencyPipe.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({
  24284. name: "currency",
  24285. type: CurrencyPipe,
  24286. pure: true,
  24287. standalone: true
  24288. });
  24289. (function () {
  24290. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CurrencyPipe, [{
  24291. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe,
  24292. args: [{
  24293. name: 'currency',
  24294. standalone: true
  24295. }]
  24296. }], function () {
  24297. return [{
  24298. type: undefined,
  24299. decorators: [{
  24300. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
  24301. args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID]
  24302. }]
  24303. }, {
  24304. type: undefined,
  24305. decorators: [{
  24306. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
  24307. args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__.DEFAULT_CURRENCY_CODE]
  24308. }]
  24309. }];
  24310. }, null);
  24311. })();
  24312. function isValue(value) {
  24313. return !(value == null || value === '' || value !== value);
  24314. }
  24315. /**
  24316. * Transforms a string into a number (if needed).
  24317. */
  24318. function strToNumber(value) {
  24319. // Convert strings to numbers
  24320. if (typeof value === 'string' && !isNaN(Number(value) - parseFloat(value))) {
  24321. return Number(value);
  24322. }
  24323. if (typeof value !== 'number') {
  24324. throw new Error(`${value} is not a number`);
  24325. }
  24326. return value;
  24327. }
  24328. /**
  24329. * @license
  24330. * Copyright Google LLC All Rights Reserved.
  24331. *
  24332. * Use of this source code is governed by an MIT-style license that can be
  24333. * found in the LICENSE file at https://angular.io/license
  24334. */
  24335. /**
  24336. * @ngModule CommonModule
  24337. * @description
  24338. *
  24339. * Creates a new `Array` or `String` containing a subset (slice) of the elements.
  24340. *
  24341. * @usageNotes
  24342. *
  24343. * All behavior is based on the expected behavior of the JavaScript API `Array.prototype.slice()`
  24344. * and `String.prototype.slice()`.
  24345. *
  24346. * When operating on an `Array`, the returned `Array` is always a copy even when all
  24347. * the elements are being returned.
  24348. *
  24349. * When operating on a blank value, the pipe returns the blank value.
  24350. *
  24351. * ### List Example
  24352. *
  24353. * This `ngFor` example:
  24354. *
  24355. * {@example common/pipes/ts/slice_pipe.ts region='SlicePipe_list'}
  24356. *
  24357. * produces the following:
  24358. *
  24359. * ```html
  24360. * <li>b</li>
  24361. * <li>c</li>
  24362. * ```
  24363. *
  24364. * ### String Examples
  24365. *
  24366. * {@example common/pipes/ts/slice_pipe.ts region='SlicePipe_string'}
  24367. *
  24368. * @publicApi
  24369. */
  24370. class SlicePipe {
  24371. transform(value, start, end) {
  24372. if (value == null) return null;
  24373. if (!this.supports(value)) {
  24374. throw invalidPipeArgumentError(SlicePipe, value);
  24375. }
  24376. return value.slice(start, end);
  24377. }
  24378. supports(obj) {
  24379. return typeof obj === 'string' || Array.isArray(obj);
  24380. }
  24381. }
  24382. SlicePipe.ɵfac = function SlicePipe_Factory(t) {
  24383. return new (t || SlicePipe)();
  24384. };
  24385. SlicePipe.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({
  24386. name: "slice",
  24387. type: SlicePipe,
  24388. pure: false,
  24389. standalone: true
  24390. });
  24391. (function () {
  24392. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SlicePipe, [{
  24393. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe,
  24394. args: [{
  24395. name: 'slice',
  24396. pure: false,
  24397. standalone: true
  24398. }]
  24399. }], null, null);
  24400. })();
  24401. /**
  24402. * @license
  24403. * Copyright Google LLC All Rights Reserved.
  24404. *
  24405. * Use of this source code is governed by an MIT-style license that can be
  24406. * found in the LICENSE file at https://angular.io/license
  24407. */
  24408. /**
  24409. * A collection of Angular pipes that are likely to be used in each and every application.
  24410. */
  24411. const COMMON_PIPES = [AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, TitleCasePipe, CurrencyPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe];
  24412. /**
  24413. * @license
  24414. * Copyright Google LLC All Rights Reserved.
  24415. *
  24416. * Use of this source code is governed by an MIT-style license that can be
  24417. * found in the LICENSE file at https://angular.io/license
  24418. */
  24419. // Note: This does not contain the location providers,
  24420. // as they need some platform specific implementations to work.
  24421. /**
  24422. * Exports all the basic Angular directives and pipes,
  24423. * such as `NgIf`, `NgForOf`, `DecimalPipe`, and so on.
  24424. * Re-exported by `BrowserModule`, which is included automatically in the root
  24425. * `AppModule` when you create a new app with the CLI `new` command.
  24426. *
  24427. * @publicApi
  24428. */
  24429. class CommonModule {}
  24430. CommonModule.ɵfac = function CommonModule_Factory(t) {
  24431. return new (t || CommonModule)();
  24432. };
  24433. CommonModule.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({
  24434. type: CommonModule,
  24435. imports: [NgClass, NgComponentOutlet, NgForOf, NgIf, NgTemplateOutlet, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgPlural, NgPluralCase, AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, TitleCasePipe, CurrencyPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe],
  24436. exports: [NgClass, NgComponentOutlet, NgForOf, NgIf, NgTemplateOutlet, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgPlural, NgPluralCase, AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, TitleCasePipe, CurrencyPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe]
  24437. });
  24438. CommonModule.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({});
  24439. (function () {
  24440. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CommonModule, [{
  24441. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModule,
  24442. args: [{
  24443. imports: [COMMON_DIRECTIVES, COMMON_PIPES],
  24444. exports: [COMMON_DIRECTIVES, COMMON_PIPES]
  24445. }]
  24446. }], null, null);
  24447. })();
  24448. /**
  24449. * @license
  24450. * Copyright Google LLC All Rights Reserved.
  24451. *
  24452. * Use of this source code is governed by an MIT-style license that can be
  24453. * found in the LICENSE file at https://angular.io/license
  24454. */
  24455. const PLATFORM_BROWSER_ID = 'browser';
  24456. const PLATFORM_SERVER_ID = 'server';
  24457. const PLATFORM_WORKER_APP_ID = 'browserWorkerApp';
  24458. const PLATFORM_WORKER_UI_ID = 'browserWorkerUi';
  24459. /**
  24460. * Returns whether a platform id represents a browser platform.
  24461. * @publicApi
  24462. */
  24463. function isPlatformBrowser(platformId) {
  24464. return platformId === PLATFORM_BROWSER_ID;
  24465. }
  24466. /**
  24467. * Returns whether a platform id represents a server platform.
  24468. * @publicApi
  24469. */
  24470. function isPlatformServer(platformId) {
  24471. return platformId === PLATFORM_SERVER_ID;
  24472. }
  24473. /**
  24474. * Returns whether a platform id represents a web worker app platform.
  24475. * @publicApi
  24476. */
  24477. function isPlatformWorkerApp(platformId) {
  24478. return platformId === PLATFORM_WORKER_APP_ID;
  24479. }
  24480. /**
  24481. * Returns whether a platform id represents a web worker UI platform.
  24482. * @publicApi
  24483. */
  24484. function isPlatformWorkerUi(platformId) {
  24485. return platformId === PLATFORM_WORKER_UI_ID;
  24486. }
  24487. /**
  24488. * @license
  24489. * Copyright Google LLC All Rights Reserved.
  24490. *
  24491. * Use of this source code is governed by an MIT-style license that can be
  24492. * found in the LICENSE file at https://angular.io/license
  24493. */
  24494. /**
  24495. * @publicApi
  24496. */
  24497. const VERSION = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.Version('14.2.7');
  24498. /**
  24499. * @license
  24500. * Copyright Google LLC All Rights Reserved.
  24501. *
  24502. * Use of this source code is governed by an MIT-style license that can be
  24503. * found in the LICENSE file at https://angular.io/license
  24504. */
  24505. /**
  24506. * Defines a scroll position manager. Implemented by `BrowserViewportScroller`.
  24507. *
  24508. * @publicApi
  24509. */
  24510. class ViewportScroller {} // De-sugared tree-shakable injection
  24511. // See #23917
  24512. /** @nocollapse */
  24513. ViewportScroller.ɵprov = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"])({
  24514. token: ViewportScroller,
  24515. providedIn: 'root',
  24516. factory: () => new BrowserViewportScroller((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"])(DOCUMENT), window)
  24517. });
  24518. /**
  24519. * Manages the scroll position for a browser window.
  24520. */
  24521. class BrowserViewportScroller {
  24522. constructor(document, window) {
  24523. this.document = document;
  24524. this.window = window;
  24525. this.offset = () => [0, 0];
  24526. }
  24527. /**
  24528. * Configures the top offset used when scrolling to an anchor.
  24529. * @param offset A position in screen coordinates (a tuple with x and y values)
  24530. * or a function that returns the top offset position.
  24531. *
  24532. */
  24533. setOffset(offset) {
  24534. if (Array.isArray(offset)) {
  24535. this.offset = () => offset;
  24536. } else {
  24537. this.offset = offset;
  24538. }
  24539. }
  24540. /**
  24541. * Retrieves the current scroll position.
  24542. * @returns The position in screen coordinates.
  24543. */
  24544. getScrollPosition() {
  24545. if (this.supportsScrolling()) {
  24546. return [this.window.pageXOffset, this.window.pageYOffset];
  24547. } else {
  24548. return [0, 0];
  24549. }
  24550. }
  24551. /**
  24552. * Sets the scroll position.
  24553. * @param position The new position in screen coordinates.
  24554. */
  24555. scrollToPosition(position) {
  24556. if (this.supportsScrolling()) {
  24557. this.window.scrollTo(position[0], position[1]);
  24558. }
  24559. }
  24560. /**
  24561. * Scrolls to an element and attempts to focus the element.
  24562. *
  24563. * Note that the function name here is misleading in that the target string may be an ID for a
  24564. * non-anchor element.
  24565. *
  24566. * @param target The ID of an element or name of the anchor.
  24567. *
  24568. * @see https://html.spec.whatwg.org/#the-indicated-part-of-the-document
  24569. * @see https://html.spec.whatwg.org/#scroll-to-fragid
  24570. */
  24571. scrollToAnchor(target) {
  24572. if (!this.supportsScrolling()) {
  24573. return;
  24574. }
  24575. const elSelected = findAnchorFromDocument(this.document, target);
  24576. if (elSelected) {
  24577. this.scrollToElement(elSelected); // After scrolling to the element, the spec dictates that we follow the focus steps for the
  24578. // target. Rather than following the robust steps, simply attempt focus.
  24579. //
  24580. // @see https://html.spec.whatwg.org/#get-the-focusable-area
  24581. // @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLOrForeignElement/focus
  24582. // @see https://html.spec.whatwg.org/#focusable-area
  24583. elSelected.focus();
  24584. }
  24585. }
  24586. /**
  24587. * Disables automatic scroll restoration provided by the browser.
  24588. */
  24589. setHistoryScrollRestoration(scrollRestoration) {
  24590. if (this.supportScrollRestoration()) {
  24591. const history = this.window.history;
  24592. if (history && history.scrollRestoration) {
  24593. history.scrollRestoration = scrollRestoration;
  24594. }
  24595. }
  24596. }
  24597. /**
  24598. * Scrolls to an element using the native offset and the specified offset set on this scroller.
  24599. *
  24600. * The offset can be used when we know that there is a floating header and scrolling naively to an
  24601. * element (ex: `scrollIntoView`) leaves the element hidden behind the floating header.
  24602. */
  24603. scrollToElement(el) {
  24604. const rect = el.getBoundingClientRect();
  24605. const left = rect.left + this.window.pageXOffset;
  24606. const top = rect.top + this.window.pageYOffset;
  24607. const offset = this.offset();
  24608. this.window.scrollTo(left - offset[0], top - offset[1]);
  24609. }
  24610. /**
  24611. * We only support scroll restoration when we can get a hold of window.
  24612. * This means that we do not support this behavior when running in a web worker.
  24613. *
  24614. * Lifting this restriction right now would require more changes in the dom adapter.
  24615. * Since webworkers aren't widely used, we will lift it once RouterScroller is
  24616. * battle-tested.
  24617. */
  24618. supportScrollRestoration() {
  24619. try {
  24620. if (!this.supportsScrolling()) {
  24621. return false;
  24622. } // The `scrollRestoration` property could be on the `history` instance or its prototype.
  24623. const scrollRestorationDescriptor = getScrollRestorationProperty(this.window.history) || getScrollRestorationProperty(Object.getPrototypeOf(this.window.history)); // We can write to the `scrollRestoration` property if it is a writable data field or it has a
  24624. // setter function.
  24625. return !!scrollRestorationDescriptor && !!(scrollRestorationDescriptor.writable || scrollRestorationDescriptor.set);
  24626. } catch (_a) {
  24627. return false;
  24628. }
  24629. }
  24630. supportsScrolling() {
  24631. try {
  24632. return !!this.window && !!this.window.scrollTo && 'pageXOffset' in this.window;
  24633. } catch (_a) {
  24634. return false;
  24635. }
  24636. }
  24637. }
  24638. function getScrollRestorationProperty(obj) {
  24639. return Object.getOwnPropertyDescriptor(obj, 'scrollRestoration');
  24640. }
  24641. function findAnchorFromDocument(document, target) {
  24642. const documentResult = document.getElementById(target) || document.getElementsByName(target)[0];
  24643. if (documentResult) {
  24644. return documentResult;
  24645. } // `getElementById` and `getElementsByName` won't pierce through the shadow DOM so we
  24646. // have to traverse the DOM manually and do the lookup through the shadow roots.
  24647. if (typeof document.createTreeWalker === 'function' && document.body && (document.body.createShadowRoot || document.body.attachShadow)) {
  24648. const treeWalker = document.createTreeWalker(document.body, NodeFilter.SHOW_ELEMENT);
  24649. let currentNode = treeWalker.currentNode;
  24650. while (currentNode) {
  24651. const shadowRoot = currentNode.shadowRoot;
  24652. if (shadowRoot) {
  24653. // Note that `ShadowRoot` doesn't support `getElementsByName`
  24654. // so we have to fall back to `querySelector`.
  24655. const result = shadowRoot.getElementById(target) || shadowRoot.querySelector(`[name="${target}"]`);
  24656. if (result) {
  24657. return result;
  24658. }
  24659. }
  24660. currentNode = treeWalker.nextNode();
  24661. }
  24662. }
  24663. return null;
  24664. }
  24665. /**
  24666. * Provides an empty implementation of the viewport scroller.
  24667. */
  24668. class NullViewportScroller {
  24669. /**
  24670. * Empty implementation
  24671. */
  24672. setOffset(offset) {}
  24673. /**
  24674. * Empty implementation
  24675. */
  24676. getScrollPosition() {
  24677. return [0, 0];
  24678. }
  24679. /**
  24680. * Empty implementation
  24681. */
  24682. scrollToPosition(position) {}
  24683. /**
  24684. * Empty implementation
  24685. */
  24686. scrollToAnchor(anchor) {}
  24687. /**
  24688. * Empty implementation
  24689. */
  24690. setHistoryScrollRestoration(scrollRestoration) {}
  24691. }
  24692. /**
  24693. * @license
  24694. * Copyright Google LLC All Rights Reserved.
  24695. *
  24696. * Use of this source code is governed by an MIT-style license that can be
  24697. * found in the LICENSE file at https://angular.io/license
  24698. */
  24699. /**
  24700. * A wrapper around the `XMLHttpRequest` constructor.
  24701. *
  24702. * @publicApi
  24703. */
  24704. class XhrFactory {}
  24705. /**
  24706. * @license
  24707. * Copyright Google LLC All Rights Reserved.
  24708. *
  24709. * Use of this source code is governed by an MIT-style license that can be
  24710. * found in the LICENSE file at https://angular.io/license
  24711. */
  24712. /**
  24713. * Asserts that the application is in development mode. Throws an error if the application is in
  24714. * production mode. This assert can be used to make sure that there is no dev-mode code invoked in
  24715. * the prod mode accidentally.
  24716. */
  24717. function assertDevMode(checkName) {
  24718. if (!ngDevMode) {
  24719. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2958
  24720. /* RuntimeErrorCode.UNEXPECTED_DEV_MODE_CHECK_IN_PROD_MODE */
  24721. , `Unexpected invocation of the ${checkName} in the prod mode. ` + `Please make sure that the prod mode is enabled for production builds.`);
  24722. }
  24723. }
  24724. /**
  24725. * @license
  24726. * Copyright Google LLC All Rights Reserved.
  24727. *
  24728. * Use of this source code is governed by an MIT-style license that can be
  24729. * found in the LICENSE file at https://angular.io/license
  24730. */
  24731. // Assembles directive details string, useful for error messages.
  24732. function imgDirectiveDetails(ngSrc, includeNgSrc = true) {
  24733. const ngSrcInfo = includeNgSrc ? `(activated on an <img> element with the \`ngSrc="${ngSrc}"\`) ` : '';
  24734. return `The NgOptimizedImage directive ${ngSrcInfo}has detected that`;
  24735. }
  24736. /**
  24737. * @license
  24738. * Copyright Google LLC All Rights Reserved.
  24739. *
  24740. * Use of this source code is governed by an MIT-style license that can be
  24741. * found in the LICENSE file at https://angular.io/license
  24742. */
  24743. // Converts a string that represents a URL into a URL class instance.
  24744. function getUrl(src, win) {
  24745. // Don't use a base URL is the URL is absolute.
  24746. return isAbsoluteUrl(src) ? new URL(src) : new URL(src, win.location.href);
  24747. } // Checks whether a URL is absolute (i.e. starts with `http://` or `https://`).
  24748. function isAbsoluteUrl(src) {
  24749. return /^https?:\/\//.test(src);
  24750. } // Given a URL, extract the hostname part.
  24751. // If a URL is a relative one - the URL is returned as is.
  24752. function extractHostname(url) {
  24753. return isAbsoluteUrl(url) ? new URL(url).hostname : url;
  24754. }
  24755. function isValidPath(path) {
  24756. const isString = typeof path === 'string';
  24757. if (!isString || path.trim() === '') {
  24758. return false;
  24759. } // Calling new URL() will throw if the path string is malformed
  24760. try {
  24761. const url = new URL(path);
  24762. return true;
  24763. } catch (_a) {
  24764. return false;
  24765. }
  24766. }
  24767. function normalizePath(path) {
  24768. return path.endsWith('/') ? path.slice(0, -1) : path;
  24769. }
  24770. function normalizeSrc(src) {
  24771. return src.startsWith('/') ? src.slice(1) : src;
  24772. }
  24773. /**
  24774. * @license
  24775. * Copyright Google LLC All Rights Reserved.
  24776. *
  24777. * Use of this source code is governed by an MIT-style license that can be
  24778. * found in the LICENSE file at https://angular.io/license
  24779. */
  24780. // Set of origins that are always excluded from the preconnect checks.
  24781. const INTERNAL_PRECONNECT_CHECK_BLOCKLIST = new Set(['localhost', '127.0.0.1', '0.0.0.0']);
  24782. /**
  24783. * Multi-provider injection token to configure which origins should be excluded
  24784. * from the preconnect checks. It can either be a single string or an array of strings
  24785. * to represent a group of origins, for example:
  24786. *
  24787. * ```typescript
  24788. * {provide: PRECONNECT_CHECK_BLOCKLIST, multi: true, useValue: 'https://your-domain.com'}
  24789. * ```
  24790. *
  24791. * or:
  24792. *
  24793. * ```typescript
  24794. * {provide: PRECONNECT_CHECK_BLOCKLIST, multi: true,
  24795. * useValue: ['https://your-domain-1.com', 'https://your-domain-2.com']}
  24796. * ```
  24797. *
  24798. * @publicApi
  24799. * @developerPreview
  24800. */
  24801. const PRECONNECT_CHECK_BLOCKLIST = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('PRECONNECT_CHECK_BLOCKLIST');
  24802. /**
  24803. * Contains the logic to detect whether an image, marked with the "priority" attribute
  24804. * has a corresponding `<link rel="preconnect">` tag in the `document.head`.
  24805. *
  24806. * Note: this is a dev-mode only class, which should not appear in prod bundles,
  24807. * thus there is no `ngDevMode` use in the code.
  24808. */
  24809. class PreconnectLinkChecker {
  24810. constructor() {
  24811. this.document = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(DOCUMENT);
  24812. /**
  24813. * Set of <link rel="preconnect"> tags found on this page.
  24814. * The `null` value indicates that there was no DOM query operation performed.
  24815. */
  24816. this.preconnectLinks = null;
  24817. /*
  24818. * Keep track of all already seen origin URLs to avoid repeating the same check.
  24819. */
  24820. this.alreadySeen = new Set();
  24821. this.window = null;
  24822. this.blocklist = new Set(INTERNAL_PRECONNECT_CHECK_BLOCKLIST);
  24823. assertDevMode('preconnect link checker');
  24824. const win = this.document.defaultView;
  24825. if (typeof win !== 'undefined') {
  24826. this.window = win;
  24827. }
  24828. const blocklist = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(PRECONNECT_CHECK_BLOCKLIST, {
  24829. optional: true
  24830. });
  24831. if (blocklist) {
  24832. this.populateBlocklist(blocklist);
  24833. }
  24834. }
  24835. populateBlocklist(origins) {
  24836. if (Array.isArray(origins)) {
  24837. deepForEach(origins, origin => {
  24838. this.blocklist.add(extractHostname(origin));
  24839. });
  24840. } else {
  24841. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2957
  24842. /* RuntimeErrorCode.INVALID_PRECONNECT_CHECK_BLOCKLIST */
  24843. , `The blocklist for the preconnect check was not provided as an array. ` + `Check that the \`PRECONNECT_CHECK_BLOCKLIST\` token is configured as a \`multi: true\` provider.`);
  24844. }
  24845. }
  24846. /**
  24847. * Checks that a preconnect resource hint exists in the head fo rthe
  24848. * given src.
  24849. *
  24850. * @param rewrittenSrc src formatted with loader
  24851. * @param originalNgSrc ngSrc value
  24852. */
  24853. assertPreconnect(rewrittenSrc, originalNgSrc) {
  24854. if (!this.window) return;
  24855. const imgUrl = getUrl(rewrittenSrc, this.window);
  24856. if (this.blocklist.has(imgUrl.hostname) || this.alreadySeen.has(imgUrl.origin)) return; // Register this origin as seen, so we don't check it again later.
  24857. this.alreadySeen.add(imgUrl.origin);
  24858. if (!this.preconnectLinks) {
  24859. // Note: we query for preconnect links only *once* and cache the results
  24860. // for the entire lifespan of an application, since it's unlikely that the
  24861. // list would change frequently. This allows to make sure there are no
  24862. // performance implications of making extra DOM lookups for each image.
  24863. this.preconnectLinks = this.queryPreconnectLinks();
  24864. }
  24865. if (!this.preconnectLinks.has(imgUrl.origin)) {
  24866. console.warn((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵformatRuntimeError"])(2956
  24867. /* RuntimeErrorCode.PRIORITY_IMG_MISSING_PRECONNECT_TAG */
  24868. , `${imgDirectiveDetails(originalNgSrc)} there is no preconnect tag present for this ` + `image. Preconnecting to the origin(s) that serve priority images ensures that these ` + `images are delivered as soon as possible. To fix this, please add the following ` + `element into the <head> of the document:\n` + ` <link rel="preconnect" href="${imgUrl.origin}">`));
  24869. }
  24870. }
  24871. queryPreconnectLinks() {
  24872. const preconnectUrls = new Set();
  24873. const selector = 'link[rel=preconnect]';
  24874. const links = Array.from(this.document.querySelectorAll(selector));
  24875. for (let link of links) {
  24876. const url = getUrl(link.href, this.window);
  24877. preconnectUrls.add(url.origin);
  24878. }
  24879. return preconnectUrls;
  24880. }
  24881. ngOnDestroy() {
  24882. var _a;
  24883. (_a = this.preconnectLinks) === null || _a === void 0 ? void 0 : _a.clear();
  24884. this.alreadySeen.clear();
  24885. }
  24886. }
  24887. PreconnectLinkChecker.ɵfac = function PreconnectLinkChecker_Factory(t) {
  24888. return new (t || PreconnectLinkChecker)();
  24889. };
  24890. PreconnectLinkChecker.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
  24891. token: PreconnectLinkChecker,
  24892. factory: PreconnectLinkChecker.ɵfac,
  24893. providedIn: 'root'
  24894. });
  24895. (function () {
  24896. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PreconnectLinkChecker, [{
  24897. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
  24898. args: [{
  24899. providedIn: 'root'
  24900. }]
  24901. }], function () {
  24902. return [];
  24903. }, null);
  24904. })();
  24905. /**
  24906. * Invokes a callback for each element in the array. Also invokes a callback
  24907. * recursively for each nested array.
  24908. */
  24909. function deepForEach(input, fn) {
  24910. for (let value of input) {
  24911. Array.isArray(value) ? deepForEach(value, fn) : fn(value);
  24912. }
  24913. }
  24914. /**
  24915. * @license
  24916. * Copyright Google LLC All Rights Reserved.
  24917. *
  24918. * Use of this source code is governed by an MIT-style license that can be
  24919. * found in the LICENSE file at https://angular.io/license
  24920. */
  24921. /**
  24922. * Noop image loader that does no transformation to the original src and just returns it as is.
  24923. * This loader is used as a default one if more specific logic is not provided in an app config.
  24924. *
  24925. * @see `ImageLoader`
  24926. * @see `NgOptimizedImage`
  24927. */
  24928. const noopImageLoader = config => config.src;
  24929. /**
  24930. * Injection token that configures the image loader function.
  24931. *
  24932. * @see `ImageLoader`
  24933. * @see `NgOptimizedImage`
  24934. * @publicApi
  24935. * @developerPreview
  24936. */
  24937. const IMAGE_LOADER = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('ImageLoader', {
  24938. providedIn: 'root',
  24939. factory: () => noopImageLoader
  24940. });
  24941. /**
  24942. * Internal helper function that makes it easier to introduce custom image loaders for the
  24943. * `NgOptimizedImage` directive. It is enough to specify a URL builder function to obtain full DI
  24944. * configuration for a given loader: a DI token corresponding to the actual loader function, plus DI
  24945. * tokens managing preconnect check functionality.
  24946. * @param buildUrlFn a function returning a full URL based on loader's configuration
  24947. * @param exampleUrls example of full URLs for a given loader (used in error messages)
  24948. * @returns a set of DI providers corresponding to the configured image loader
  24949. */
  24950. function createImageLoader(buildUrlFn, exampleUrls) {
  24951. return function provideImageLoader(path, options = {
  24952. ensurePreconnect: true
  24953. }) {
  24954. if (!isValidPath(path)) {
  24955. throwInvalidPathError(path, exampleUrls || []);
  24956. } // The trailing / is stripped (if provided) to make URL construction (concatenation) easier in
  24957. // the individual loader functions.
  24958. path = normalizePath(path);
  24959. const loaderFn = config => {
  24960. if (isAbsoluteUrl(config.src)) {
  24961. // Image loader functions expect an image file name (e.g. `my-image.png`)
  24962. // or a relative path + a file name (e.g. `/a/b/c/my-image.png`) as an input,
  24963. // so the final absolute URL can be constructed.
  24964. // When an absolute URL is provided instead - the loader can not
  24965. // build a final URL, thus the error is thrown to indicate that.
  24966. throwUnexpectedAbsoluteUrlError(path, config.src);
  24967. }
  24968. return buildUrlFn(path, Object.assign(Object.assign({}, config), {
  24969. src: normalizeSrc(config.src)
  24970. }));
  24971. };
  24972. const providers = [{
  24973. provide: IMAGE_LOADER,
  24974. useValue: loaderFn
  24975. }];
  24976. if (ngDevMode && options.ensurePreconnect === false) {
  24977. providers.push({
  24978. provide: PRECONNECT_CHECK_BLOCKLIST,
  24979. useValue: [path],
  24980. multi: true
  24981. });
  24982. }
  24983. return providers;
  24984. };
  24985. }
  24986. function throwInvalidPathError(path, exampleUrls) {
  24987. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2959
  24988. /* RuntimeErrorCode.INVALID_LOADER_ARGUMENTS */
  24989. , ngDevMode && `Image loader has detected an invalid path (\`${path}\`). ` + `To fix this, supply a path using one of the following formats: ${exampleUrls.join(' or ')}`);
  24990. }
  24991. function throwUnexpectedAbsoluteUrlError(path, url) {
  24992. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2959
  24993. /* RuntimeErrorCode.INVALID_LOADER_ARGUMENTS */
  24994. , ngDevMode && `Image loader has detected a \`<img>\` tag with an invalid \`ngSrc\` attribute: ${url}. ` + `This image loader expects \`ngSrc\` to be a relative URL - ` + `however the provided value is an absolute URL. ` + `To fix this, provide \`ngSrc\` as a path relative to the base URL ` + `configured for this loader (\`${path}\`).`);
  24995. }
  24996. /**
  24997. * @license
  24998. * Copyright Google LLC All Rights Reserved.
  24999. *
  25000. * Use of this source code is governed by an MIT-style license that can be
  25001. * found in the LICENSE file at https://angular.io/license
  25002. */
  25003. /**
  25004. * Function that generates an ImageLoader for [Cloudflare Image
  25005. * Resizing](https://developers.cloudflare.com/images/image-resizing/) and turns it into an Angular
  25006. * provider. Note: Cloudflare has multiple image products - this provider is specifically for
  25007. * Cloudflare Image Resizing; it will not work with Cloudflare Images or Cloudflare Polish.
  25008. *
  25009. * @param path Your domain name, e.g. https://mysite.com
  25010. * @param options An object with extra configuration:
  25011. * - `ensurePreconnect`: boolean flag indicating whether the NgOptimizedImage directive
  25012. * should verify that there is a corresponding `<link rel="preconnect">`
  25013. * present in the document's `<head>`.
  25014. * @returns Provider that provides an ImageLoader function
  25015. *
  25016. * @publicApi
  25017. * @developerPreview
  25018. */
  25019. const provideCloudflareLoader = createImageLoader(createCloudflareUrl, ngDevMode ? ['https://<ZONE>/cdn-cgi/image/<OPTIONS>/<SOURCE-IMAGE>'] : undefined);
  25020. function createCloudflareUrl(path, config) {
  25021. let params = `format=auto`;
  25022. if (config.width) {
  25023. params += `,width=${config.width}`;
  25024. } // Cloudflare image URLs format:
  25025. // https://developers.cloudflare.com/images/image-resizing/url-format/
  25026. return `${path}/cdn-cgi/image/${params}/${config.src}`;
  25027. }
  25028. /**
  25029. * @license
  25030. * Copyright Google LLC All Rights Reserved.
  25031. *
  25032. * Use of this source code is governed by an MIT-style license that can be
  25033. * found in the LICENSE file at https://angular.io/license
  25034. */
  25035. /**
  25036. * Function that generates an ImageLoader for Cloudinary and turns it into an Angular provider.
  25037. *
  25038. * @param path Base URL of your Cloudinary images
  25039. * This URL should match one of the following formats:
  25040. * https://res.cloudinary.com/mysite
  25041. * https://mysite.cloudinary.com
  25042. * https://subdomain.mysite.com
  25043. * @param options An object with extra configuration:
  25044. * - `ensurePreconnect`: boolean flag indicating whether the NgOptimizedImage directive
  25045. * should verify that there is a corresponding `<link rel="preconnect">`
  25046. * present in the document's `<head>`.
  25047. * @returns Set of providers to configure the Cloudinary loader.
  25048. *
  25049. * @publicApi
  25050. * @developerPreview
  25051. */
  25052. const provideCloudinaryLoader = createImageLoader(createCloudinaryUrl, ngDevMode ? ['https://res.cloudinary.com/mysite', 'https://mysite.cloudinary.com', 'https://subdomain.mysite.com'] : undefined);
  25053. function createCloudinaryUrl(path, config) {
  25054. // Cloudinary image URLformat:
  25055. // https://cloudinary.com/documentation/image_transformations#transformation_url_structure
  25056. // Example of a Cloudinary image URL:
  25057. // https://res.cloudinary.com/mysite/image/upload/c_scale,f_auto,q_auto,w_600/marketing/tile-topics-m.png
  25058. let params = `f_auto,q_auto`; // sets image format and quality to "auto"
  25059. if (config.width) {
  25060. params += `,w_${config.width}`;
  25061. }
  25062. return `${path}/image/upload/${params}/${config.src}`;
  25063. }
  25064. /**
  25065. * @license
  25066. * Copyright Google LLC All Rights Reserved.
  25067. *
  25068. * Use of this source code is governed by an MIT-style license that can be
  25069. * found in the LICENSE file at https://angular.io/license
  25070. */
  25071. /**
  25072. * Function that generates an ImageLoader for ImageKit and turns it into an Angular provider.
  25073. *
  25074. * @param path Base URL of your ImageKit images
  25075. * This URL should match one of the following formats:
  25076. * https://ik.imagekit.io/myaccount
  25077. * https://subdomain.mysite.com
  25078. * @param options An object with extra configuration:
  25079. * - `ensurePreconnect`: boolean flag indicating whether the NgOptimizedImage directive
  25080. * should verify that there is a corresponding `<link rel="preconnect">`
  25081. * present in the document's `<head>`.
  25082. * @returns Set of providers to configure the ImageKit loader.
  25083. *
  25084. * @publicApi
  25085. * @developerPreview
  25086. */
  25087. const provideImageKitLoader = createImageLoader(createImagekitUrl, ngDevMode ? ['https://ik.imagekit.io/mysite', 'https://subdomain.mysite.com'] : undefined);
  25088. function createImagekitUrl(path, config) {
  25089. // Example of an ImageKit image URL:
  25090. // https://ik.imagekit.io/demo/tr:w-300,h-300/medium_cafe_B1iTdD0C.jpg
  25091. let params = `tr:q-auto`; // applies the "auto quality" transformation
  25092. if (config.width) {
  25093. params += `,w-${config.width}`;
  25094. }
  25095. return `${path}/${params}/${config.src}`;
  25096. }
  25097. /**
  25098. * @license
  25099. * Copyright Google LLC All Rights Reserved.
  25100. *
  25101. * Use of this source code is governed by an MIT-style license that can be
  25102. * found in the LICENSE file at https://angular.io/license
  25103. */
  25104. /**
  25105. * Function that generates an ImageLoader for Imgix and turns it into an Angular provider.
  25106. *
  25107. * @param path path to the desired Imgix origin,
  25108. * e.g. https://somepath.imgix.net or https://images.mysite.com
  25109. * @param options An object with extra configuration:
  25110. * - `ensurePreconnect`: boolean flag indicating whether the NgOptimizedImage directive
  25111. * should verify that there is a corresponding `<link rel="preconnect">`
  25112. * present in the document's `<head>`.
  25113. * @returns Set of providers to configure the Imgix loader.
  25114. *
  25115. * @publicApi
  25116. * @developerPreview
  25117. */
  25118. const provideImgixLoader = createImageLoader(createImgixUrl, ngDevMode ? ['https://somepath.imgix.net/'] : undefined);
  25119. function createImgixUrl(path, config) {
  25120. const url = new URL(`${path}/${config.src}`); // This setting ensures the smallest allowable format is set.
  25121. url.searchParams.set('auto', 'format');
  25122. if (config.width) {
  25123. url.searchParams.set('w', config.width.toString());
  25124. }
  25125. return url.href;
  25126. }
  25127. /**
  25128. * @license
  25129. * Copyright Google LLC All Rights Reserved.
  25130. *
  25131. * Use of this source code is governed by an MIT-style license that can be
  25132. * found in the LICENSE file at https://angular.io/license
  25133. */
  25134. /**
  25135. * Observer that detects whether an image with `NgOptimizedImage`
  25136. * is treated as a Largest Contentful Paint (LCP) element. If so,
  25137. * asserts that the image has the `priority` attribute.
  25138. *
  25139. * Note: this is a dev-mode only class and it does not appear in prod bundles,
  25140. * thus there is no `ngDevMode` use in the code.
  25141. *
  25142. * Based on https://web.dev/lcp/#measure-lcp-in-javascript.
  25143. */
  25144. class LCPImageObserver {
  25145. constructor() {
  25146. // Map of full image URLs -> original `ngSrc` values.
  25147. this.images = new Map(); // Keep track of images for which `console.warn` was produced.
  25148. this.alreadyWarned = new Set();
  25149. this.window = null;
  25150. this.observer = null;
  25151. assertDevMode('LCP checker');
  25152. const win = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(DOCUMENT).defaultView;
  25153. if (typeof win !== 'undefined' && typeof PerformanceObserver !== 'undefined') {
  25154. this.window = win;
  25155. this.observer = this.initPerformanceObserver();
  25156. }
  25157. }
  25158. /**
  25159. * Inits PerformanceObserver and subscribes to LCP events.
  25160. * Based on https://web.dev/lcp/#measure-lcp-in-javascript
  25161. */
  25162. initPerformanceObserver() {
  25163. const observer = new PerformanceObserver(entryList => {
  25164. var _a, _b;
  25165. const entries = entryList.getEntries();
  25166. if (entries.length === 0) return; // We use the latest entry produced by the `PerformanceObserver` as the best
  25167. // signal on which element is actually an LCP one. As an example, the first image to load on
  25168. // a page, by virtue of being the only thing on the page so far, is often a LCP candidate
  25169. // and gets reported by PerformanceObserver, but isn't necessarily the LCP element.
  25170. const lcpElement = entries[entries.length - 1]; // Cast to `any` due to missing `element` on the `LargestContentfulPaint` type of entry.
  25171. // See https://developer.mozilla.org/en-US/docs/Web/API/LargestContentfulPaint
  25172. const imgSrc = (_b = (_a = lcpElement.element) === null || _a === void 0 ? void 0 : _a.src) !== null && _b !== void 0 ? _b : ''; // Exclude `data:` and `blob:` URLs, since they are not supported by the directive.
  25173. if (imgSrc.startsWith('data:') || imgSrc.startsWith('blob:')) return;
  25174. const imgNgSrc = this.images.get(imgSrc);
  25175. if (imgNgSrc && !this.alreadyWarned.has(imgSrc)) {
  25176. this.alreadyWarned.add(imgSrc);
  25177. logMissingPriorityWarning(imgSrc);
  25178. }
  25179. });
  25180. observer.observe({
  25181. type: 'largest-contentful-paint',
  25182. buffered: true
  25183. });
  25184. return observer;
  25185. }
  25186. registerImage(rewrittenSrc, originalNgSrc) {
  25187. if (!this.observer) return;
  25188. this.images.set(getUrl(rewrittenSrc, this.window).href, originalNgSrc);
  25189. }
  25190. unregisterImage(rewrittenSrc) {
  25191. if (!this.observer) return;
  25192. this.images.delete(getUrl(rewrittenSrc, this.window).href);
  25193. }
  25194. ngOnDestroy() {
  25195. if (!this.observer) return;
  25196. this.observer.disconnect();
  25197. this.images.clear();
  25198. this.alreadyWarned.clear();
  25199. }
  25200. }
  25201. LCPImageObserver.ɵfac = function LCPImageObserver_Factory(t) {
  25202. return new (t || LCPImageObserver)();
  25203. };
  25204. LCPImageObserver.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
  25205. token: LCPImageObserver,
  25206. factory: LCPImageObserver.ɵfac,
  25207. providedIn: 'root'
  25208. });
  25209. (function () {
  25210. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](LCPImageObserver, [{
  25211. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
  25212. args: [{
  25213. providedIn: 'root'
  25214. }]
  25215. }], function () {
  25216. return [];
  25217. }, null);
  25218. })();
  25219. function logMissingPriorityWarning(ngSrc) {
  25220. const directiveDetails = imgDirectiveDetails(ngSrc);
  25221. console.warn((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵformatRuntimeError"])(2955
  25222. /* RuntimeErrorCode.LCP_IMG_MISSING_PRIORITY */
  25223. , `${directiveDetails} this image is the Largest Contentful Paint (LCP) ` + `element but was not marked "priority". This image should be marked ` + `"priority" in order to prioritize its loading. ` + `To fix this, add the "priority" attribute.`));
  25224. }
  25225. /**
  25226. * @license
  25227. * Copyright Google LLC All Rights Reserved.
  25228. *
  25229. * Use of this source code is governed by an MIT-style license that can be
  25230. * found in the LICENSE file at https://angular.io/license
  25231. */
  25232. /**
  25233. * When a Base64-encoded image is passed as an input to the `NgOptimizedImage` directive,
  25234. * an error is thrown. The image content (as a string) might be very long, thus making
  25235. * it hard to read an error message if the entire string is included. This const defines
  25236. * the number of characters that should be included into the error message. The rest
  25237. * of the content is truncated.
  25238. */
  25239. const BASE64_IMG_MAX_LENGTH_IN_ERROR = 50;
  25240. /**
  25241. * RegExpr to determine whether a src in a srcset is using width descriptors.
  25242. * Should match something like: "100w, 200w".
  25243. */
  25244. const VALID_WIDTH_DESCRIPTOR_SRCSET = /^((\s*\d+w\s*(,|$)){1,})$/;
  25245. /**
  25246. * RegExpr to determine whether a src in a srcset is using density descriptors.
  25247. * Should match something like: "1x, 2x, 50x". Also supports decimals like "1.5x, 1.50x".
  25248. */
  25249. const VALID_DENSITY_DESCRIPTOR_SRCSET = /^((\s*\d+(\.\d+)?x\s*(,|$)){1,})$/;
  25250. /**
  25251. * Srcset values with a density descriptor higher than this value will actively
  25252. * throw an error. Such densities are not permitted as they cause image sizes
  25253. * to be unreasonably large and slow down LCP.
  25254. */
  25255. const ABSOLUTE_SRCSET_DENSITY_CAP = 3;
  25256. /**
  25257. * Used only in error message text to communicate best practices, as we will
  25258. * only throw based on the slightly more conservative ABSOLUTE_SRCSET_DENSITY_CAP.
  25259. */
  25260. const RECOMMENDED_SRCSET_DENSITY_CAP = 2;
  25261. /**
  25262. * Used to determine whether two aspect ratios are similar in value.
  25263. */
  25264. const ASPECT_RATIO_TOLERANCE = .1;
  25265. /**
  25266. * Used to determine whether the image has been requested at an overly
  25267. * large size compared to the actual rendered image size (after taking
  25268. * into account a typical device pixel ratio). In pixels.
  25269. */
  25270. const OVERSIZED_IMAGE_TOLERANCE = 1000;
  25271. /**
  25272. * Directive that improves image loading performance by enforcing best practices.
  25273. *
  25274. * `NgOptimizedImage` ensures that the loading of the Largest Contentful Paint (LCP) image is
  25275. * prioritized by:
  25276. * - Automatically setting the `fetchpriority` attribute on the `<img>` tag
  25277. * - Lazy loading non-priority images by default
  25278. * - Asserting that there is a corresponding preconnect link tag in the document head
  25279. *
  25280. * In addition, the directive:
  25281. * - Generates appropriate asset URLs if a corresponding `ImageLoader` function is provided
  25282. * - Requires that `width` and `height` are set
  25283. * - Warns if `width` or `height` have been set incorrectly
  25284. * - Warns if the image will be visually distorted when rendered
  25285. *
  25286. * @usageNotes
  25287. * The `NgOptimizedImage` directive is marked as [standalone](guide/standalone-components) and can
  25288. * be imported directly.
  25289. *
  25290. * Follow the steps below to enable and use the directive:
  25291. * 1. Import it into the necessary NgModule or a standalone Component.
  25292. * 2. Optionally provide an `ImageLoader` if you use an image hosting service.
  25293. * 3. Update the necessary `<img>` tags in templates and replace `src` attributes with `ngSrc`.
  25294. * Using a `ngSrc` allows the directive to control when the `src` gets set, which triggers an image
  25295. * download.
  25296. *
  25297. * Step 1: import the `NgOptimizedImage` directive.
  25298. *
  25299. * ```typescript
  25300. * import { NgOptimizedImage } from '@angular/common';
  25301. *
  25302. * // Include it into the necessary NgModule
  25303. * @NgModule({
  25304. * imports: [NgOptimizedImage],
  25305. * })
  25306. * class AppModule {}
  25307. *
  25308. * // ... or a standalone Component
  25309. * @Component({
  25310. * standalone: true
  25311. * imports: [NgOptimizedImage],
  25312. * })
  25313. * class MyStandaloneComponent {}
  25314. * ```
  25315. *
  25316. * Step 2: configure a loader.
  25317. *
  25318. * To use the **default loader**: no additional code changes are necessary. The URL returned by the
  25319. * generic loader will always match the value of "src". In other words, this loader applies no
  25320. * transformations to the resource URL and the value of the `ngSrc` attribute will be used as is.
  25321. *
  25322. * To use an existing loader for a **third-party image service**: add the provider factory for your
  25323. * chosen service to the `providers` array. In the example below, the Imgix loader is used:
  25324. *
  25325. * ```typescript
  25326. * import {provideImgixLoader} from '@angular/common';
  25327. *
  25328. * // Call the function and add the result to the `providers` array:
  25329. * providers: [
  25330. * provideImgixLoader("https://my.base.url/"),
  25331. * ],
  25332. * ```
  25333. *
  25334. * The `NgOptimizedImage` directive provides the following functions:
  25335. * - `provideCloudflareLoader`
  25336. * - `provideCloudinaryLoader`
  25337. * - `provideImageKitLoader`
  25338. * - `provideImgixLoader`
  25339. *
  25340. * If you use a different image provider, you can create a custom loader function as described
  25341. * below.
  25342. *
  25343. * To use a **custom loader**: provide your loader function as a value for the `IMAGE_LOADER` DI
  25344. * token.
  25345. *
  25346. * ```typescript
  25347. * import {IMAGE_LOADER, ImageLoaderConfig} from '@angular/common';
  25348. *
  25349. * // Configure the loader using the `IMAGE_LOADER` token.
  25350. * providers: [
  25351. * {
  25352. * provide: IMAGE_LOADER,
  25353. * useValue: (config: ImageLoaderConfig) => {
  25354. * return `https://example.com/${config.src}-${config.width}.jpg}`;
  25355. * }
  25356. * },
  25357. * ],
  25358. * ```
  25359. *
  25360. * Step 3: update `<img>` tags in templates to use `ngSrc` instead of `src`.
  25361. *
  25362. * ```
  25363. * <img ngSrc="logo.png" width="200" height="100">
  25364. * ```
  25365. *
  25366. * @publicApi
  25367. * @developerPreview
  25368. */
  25369. class NgOptimizedImage {
  25370. constructor() {
  25371. this.imageLoader = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(IMAGE_LOADER);
  25372. this.renderer = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.Renderer2);
  25373. this.imgElement = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef).nativeElement;
  25374. this.injector = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.Injector); // a LCP image observer - should be injected only in the dev mode
  25375. this.lcpObserver = ngDevMode ? this.injector.get(LCPImageObserver) : null;
  25376. /**
  25377. * Calculate the rewritten `src` once and store it.
  25378. * This is needed to avoid repetitive calculations and make sure the directive cleanup in the
  25379. * `ngOnDestroy` does not rely on the `IMAGE_LOADER` logic (which in turn can rely on some other
  25380. * instance that might be already destroyed).
  25381. */
  25382. this._renderedSrc = null;
  25383. this._priority = false;
  25384. }
  25385. /**
  25386. * Previously, the `rawSrc` attribute was used to activate the directive.
  25387. * The attribute was renamed to `ngSrc` and this input just produces an error,
  25388. * suggesting to switch to `ngSrc` instead.
  25389. *
  25390. * This error should be removed in v15.
  25391. *
  25392. * @nodoc
  25393. * @deprecated Use `ngSrc` instead.
  25394. */
  25395. set rawSrc(value) {
  25396. if (ngDevMode) {
  25397. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2952
  25398. /* RuntimeErrorCode.INVALID_INPUT */
  25399. , `${imgDirectiveDetails(value, false)} the \`rawSrc\` attribute was used ` + `to activate the directive. Newer version of the directive uses the \`ngSrc\` ` + `attribute instead. Please replace \`rawSrc\` with \`ngSrc\` and ` + `\`rawSrcset\` with \`ngSrcset\` attributes in the template to ` + `enable image optimizations.`);
  25400. }
  25401. }
  25402. /**
  25403. * The intrinsic width of the image in pixels.
  25404. */
  25405. set width(value) {
  25406. ngDevMode && assertGreaterThanZero(this, value, 'width');
  25407. this._width = inputToInteger(value);
  25408. }
  25409. get width() {
  25410. return this._width;
  25411. }
  25412. /**
  25413. * The intrinsic height of the image in pixels.
  25414. */
  25415. set height(value) {
  25416. ngDevMode && assertGreaterThanZero(this, value, 'height');
  25417. this._height = inputToInteger(value);
  25418. }
  25419. get height() {
  25420. return this._height;
  25421. }
  25422. /**
  25423. * Indicates whether this image should have a high priority.
  25424. */
  25425. set priority(value) {
  25426. this._priority = inputToBoolean(value);
  25427. }
  25428. get priority() {
  25429. return this._priority;
  25430. }
  25431. ngOnInit() {
  25432. if (ngDevMode) {
  25433. assertNonEmptyInput(this, 'ngSrc', this.ngSrc);
  25434. assertValidNgSrcset(this, this.ngSrcset);
  25435. assertNoConflictingSrc(this);
  25436. assertNoConflictingSrcset(this);
  25437. assertNotBase64Image(this);
  25438. assertNotBlobUrl(this);
  25439. assertNonEmptyWidthAndHeight(this);
  25440. assertValidLoadingInput(this);
  25441. assertNoImageDistortion(this, this.imgElement, this.renderer);
  25442. if (this.priority) {
  25443. const checker = this.injector.get(PreconnectLinkChecker);
  25444. checker.assertPreconnect(this.getRewrittenSrc(), this.ngSrc);
  25445. } else {
  25446. // Monitor whether an image is an LCP element only in case
  25447. // the `priority` attribute is missing. Otherwise, an image
  25448. // has the necessary settings and no extra checks are required.
  25449. if (this.lcpObserver !== null) {
  25450. const ngZone = this.injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone);
  25451. ngZone.runOutsideAngular(() => {
  25452. this.lcpObserver.registerImage(this.getRewrittenSrc(), this.ngSrc);
  25453. });
  25454. }
  25455. }
  25456. }
  25457. this.setHostAttributes();
  25458. }
  25459. setHostAttributes() {
  25460. // Must set width/height explicitly in case they are bound (in which case they will
  25461. // only be reflected and not found by the browser)
  25462. this.setHostAttribute('width', this.width.toString());
  25463. this.setHostAttribute('height', this.height.toString());
  25464. this.setHostAttribute('loading', this.getLoadingBehavior());
  25465. this.setHostAttribute('fetchpriority', this.getFetchPriority()); // The `src` and `srcset` attributes should be set last since other attributes
  25466. // could affect the image's loading behavior.
  25467. this.setHostAttribute('src', this.getRewrittenSrc());
  25468. if (this.ngSrcset) {
  25469. this.setHostAttribute('srcset', this.getRewrittenSrcset());
  25470. }
  25471. }
  25472. ngOnChanges(changes) {
  25473. if (ngDevMode) {
  25474. assertNoPostInitInputChange(this, changes, ['ngSrc', 'ngSrcset', 'width', 'height', 'priority']);
  25475. }
  25476. }
  25477. getLoadingBehavior() {
  25478. if (!this.priority && this.loading !== undefined) {
  25479. return this.loading;
  25480. }
  25481. return this.priority ? 'eager' : 'lazy';
  25482. }
  25483. getFetchPriority() {
  25484. return this.priority ? 'high' : 'auto';
  25485. }
  25486. getRewrittenSrc() {
  25487. // ImageLoaderConfig supports setting a width property. However, we're not setting width here
  25488. // because if the developer uses rendered width instead of intrinsic width in the HTML width
  25489. // attribute, the image requested may be too small for 2x+ screens.
  25490. if (!this._renderedSrc) {
  25491. const imgConfig = {
  25492. src: this.ngSrc
  25493. }; // Cache calculated image src to reuse it later in the code.
  25494. this._renderedSrc = this.imageLoader(imgConfig);
  25495. }
  25496. return this._renderedSrc;
  25497. }
  25498. getRewrittenSrcset() {
  25499. const widthSrcSet = VALID_WIDTH_DESCRIPTOR_SRCSET.test(this.ngSrcset);
  25500. const finalSrcs = this.ngSrcset.split(',').filter(src => src !== '').map(srcStr => {
  25501. srcStr = srcStr.trim();
  25502. const width = widthSrcSet ? parseFloat(srcStr) : parseFloat(srcStr) * this.width;
  25503. return `${this.imageLoader({
  25504. src: this.ngSrc,
  25505. width
  25506. })} ${srcStr}`;
  25507. });
  25508. return finalSrcs.join(', ');
  25509. }
  25510. ngOnDestroy() {
  25511. if (ngDevMode) {
  25512. if (!this.priority && this._renderedSrc !== null && this.lcpObserver !== null) {
  25513. this.lcpObserver.unregisterImage(this._renderedSrc);
  25514. }
  25515. }
  25516. }
  25517. setHostAttribute(name, value) {
  25518. this.renderer.setAttribute(this.imgElement, name, value);
  25519. }
  25520. }
  25521. NgOptimizedImage.ɵfac = function NgOptimizedImage_Factory(t) {
  25522. return new (t || NgOptimizedImage)();
  25523. };
  25524. NgOptimizedImage.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  25525. type: NgOptimizedImage,
  25526. selectors: [["img", "ngSrc", ""], ["img", "rawSrc", ""]],
  25527. inputs: {
  25528. rawSrc: "rawSrc",
  25529. ngSrc: "ngSrc",
  25530. ngSrcset: "ngSrcset",
  25531. width: "width",
  25532. height: "height",
  25533. loading: "loading",
  25534. priority: "priority",
  25535. src: "src",
  25536. srcset: "srcset"
  25537. },
  25538. standalone: true,
  25539. features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]]
  25540. });
  25541. (function () {
  25542. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgOptimizedImage, [{
  25543. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  25544. args: [{
  25545. standalone: true,
  25546. selector: 'img[ngSrc],img[rawSrc]'
  25547. }]
  25548. }], null, {
  25549. rawSrc: [{
  25550. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  25551. }],
  25552. ngSrc: [{
  25553. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  25554. }],
  25555. ngSrcset: [{
  25556. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  25557. }],
  25558. width: [{
  25559. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  25560. }],
  25561. height: [{
  25562. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  25563. }],
  25564. loading: [{
  25565. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  25566. }],
  25567. priority: [{
  25568. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  25569. }],
  25570. src: [{
  25571. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  25572. }],
  25573. srcset: [{
  25574. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  25575. }]
  25576. });
  25577. })();
  25578. /***** Helpers *****/
  25579. /**
  25580. * Convert input value to integer.
  25581. */
  25582. function inputToInteger(value) {
  25583. return typeof value === 'string' ? parseInt(value, 10) : value;
  25584. }
  25585. /**
  25586. * Convert input value to boolean.
  25587. */
  25588. function inputToBoolean(value) {
  25589. return value != null && `${value}` !== 'false';
  25590. }
  25591. /***** Assert functions *****/
  25592. /**
  25593. * Verifies that there is no `src` set on a host element.
  25594. */
  25595. function assertNoConflictingSrc(dir) {
  25596. if (dir.src) {
  25597. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2950
  25598. /* RuntimeErrorCode.UNEXPECTED_SRC_ATTR */
  25599. , `${imgDirectiveDetails(dir.ngSrc)} both \`src\` and \`ngSrc\` have been set. ` + `Supplying both of these attributes breaks lazy loading. ` + `The NgOptimizedImage directive sets \`src\` itself based on the value of \`ngSrc\`. ` + `To fix this, please remove the \`src\` attribute.`);
  25600. }
  25601. }
  25602. /**
  25603. * Verifies that there is no `srcset` set on a host element.
  25604. */
  25605. function assertNoConflictingSrcset(dir) {
  25606. if (dir.srcset) {
  25607. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2951
  25608. /* RuntimeErrorCode.UNEXPECTED_SRCSET_ATTR */
  25609. , `${imgDirectiveDetails(dir.ngSrc)} both \`srcset\` and \`ngSrcset\` have been set. ` + `Supplying both of these attributes breaks lazy loading. ` + `The NgOptimizedImage directive sets \`srcset\` itself based on the value of ` + `\`ngSrcset\`. To fix this, please remove the \`srcset\` attribute.`);
  25610. }
  25611. }
  25612. /**
  25613. * Verifies that the `ngSrc` is not a Base64-encoded image.
  25614. */
  25615. function assertNotBase64Image(dir) {
  25616. let ngSrc = dir.ngSrc.trim();
  25617. if (ngSrc.startsWith('data:')) {
  25618. if (ngSrc.length > BASE64_IMG_MAX_LENGTH_IN_ERROR) {
  25619. ngSrc = ngSrc.substring(0, BASE64_IMG_MAX_LENGTH_IN_ERROR) + '...';
  25620. }
  25621. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2952
  25622. /* RuntimeErrorCode.INVALID_INPUT */
  25623. , `${imgDirectiveDetails(dir.ngSrc, false)} \`ngSrc\` is a Base64-encoded string ` + `(${ngSrc}). NgOptimizedImage does not support Base64-encoded strings. ` + `To fix this, disable the NgOptimizedImage directive for this element ` + `by removing \`ngSrc\` and using a standard \`src\` attribute instead.`);
  25624. }
  25625. }
  25626. /**
  25627. * Verifies that the `ngSrc` is not a Blob URL.
  25628. */
  25629. function assertNotBlobUrl(dir) {
  25630. const ngSrc = dir.ngSrc.trim();
  25631. if (ngSrc.startsWith('blob:')) {
  25632. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2952
  25633. /* RuntimeErrorCode.INVALID_INPUT */
  25634. , `${imgDirectiveDetails(dir.ngSrc)} \`ngSrc\` was set to a blob URL (${ngSrc}). ` + `Blob URLs are not supported by the NgOptimizedImage directive. ` + `To fix this, disable the NgOptimizedImage directive for this element ` + `by removing \`ngSrc\` and using a regular \`src\` attribute instead.`);
  25635. }
  25636. }
  25637. /**
  25638. * Verifies that the input is set to a non-empty string.
  25639. */
  25640. function assertNonEmptyInput(dir, name, value) {
  25641. const isString = typeof value === 'string';
  25642. const isEmptyString = isString && value.trim() === '';
  25643. if (!isString || isEmptyString) {
  25644. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2952
  25645. /* RuntimeErrorCode.INVALID_INPUT */
  25646. , `${imgDirectiveDetails(dir.ngSrc)} \`${name}\` has an invalid value ` + `(\`${value}\`). To fix this, change the value to a non-empty string.`);
  25647. }
  25648. }
  25649. /**
  25650. * Verifies that the `ngSrcset` is in a valid format, e.g. "100w, 200w" or "1x, 2x".
  25651. */
  25652. function assertValidNgSrcset(dir, value) {
  25653. if (value == null) return;
  25654. assertNonEmptyInput(dir, 'ngSrcset', value);
  25655. const stringVal = value;
  25656. const isValidWidthDescriptor = VALID_WIDTH_DESCRIPTOR_SRCSET.test(stringVal);
  25657. const isValidDensityDescriptor = VALID_DENSITY_DESCRIPTOR_SRCSET.test(stringVal);
  25658. if (isValidDensityDescriptor) {
  25659. assertUnderDensityCap(dir, stringVal);
  25660. }
  25661. const isValidSrcset = isValidWidthDescriptor || isValidDensityDescriptor;
  25662. if (!isValidSrcset) {
  25663. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2952
  25664. /* RuntimeErrorCode.INVALID_INPUT */
  25665. , `${imgDirectiveDetails(dir.ngSrc)} \`ngSrcset\` has an invalid value (\`${value}\`). ` + `To fix this, supply \`ngSrcset\` using a comma-separated list of one or more width ` + `descriptors (e.g. "100w, 200w") or density descriptors (e.g. "1x, 2x").`);
  25666. }
  25667. }
  25668. function assertUnderDensityCap(dir, value) {
  25669. const underDensityCap = value.split(',').every(num => num === '' || parseFloat(num) <= ABSOLUTE_SRCSET_DENSITY_CAP);
  25670. if (!underDensityCap) {
  25671. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2952
  25672. /* RuntimeErrorCode.INVALID_INPUT */
  25673. , `${imgDirectiveDetails(dir.ngSrc)} the \`ngSrcset\` contains an unsupported image density:` + `\`${value}\`. NgOptimizedImage generally recommends a max image density of ` + `${RECOMMENDED_SRCSET_DENSITY_CAP}x but supports image densities up to ` + `${ABSOLUTE_SRCSET_DENSITY_CAP}x. The human eye cannot distinguish between image densities ` + `greater than ${RECOMMENDED_SRCSET_DENSITY_CAP}x - which makes them unnecessary for ` + `most use cases. Images that will be pinch-zoomed are typically the primary use case for ` + `${ABSOLUTE_SRCSET_DENSITY_CAP}x images. Please remove the high density descriptor and try again.`);
  25674. }
  25675. }
  25676. /**
  25677. * Creates a `RuntimeError` instance to represent a situation when an input is set after
  25678. * the directive has initialized.
  25679. */
  25680. function postInitInputChangeError(dir, inputName) {
  25681. return new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2953
  25682. /* RuntimeErrorCode.UNEXPECTED_INPUT_CHANGE */
  25683. , `${imgDirectiveDetails(dir.ngSrc)} \`${inputName}\` was updated after initialization. ` + `The NgOptimizedImage directive will not react to this input change. ` + `To fix this, switch \`${inputName}\` a static value or wrap the image element ` + `in an *ngIf that is gated on the necessary value.`);
  25684. }
  25685. /**
  25686. * Verify that none of the listed inputs has changed.
  25687. */
  25688. function assertNoPostInitInputChange(dir, changes, inputs) {
  25689. inputs.forEach(input => {
  25690. const isUpdated = changes.hasOwnProperty(input);
  25691. if (isUpdated && !changes[input].isFirstChange()) {
  25692. if (input === 'ngSrc') {
  25693. // When the `ngSrc` input changes, we detect that only in the
  25694. // `ngOnChanges` hook, thus the `ngSrc` is already set. We use
  25695. // `ngSrc` in the error message, so we use a previous value, but
  25696. // not the updated one in it.
  25697. dir = {
  25698. ngSrc: changes[input].previousValue
  25699. };
  25700. }
  25701. throw postInitInputChangeError(dir, input);
  25702. }
  25703. });
  25704. }
  25705. /**
  25706. * Verifies that a specified input is a number greater than 0.
  25707. */
  25708. function assertGreaterThanZero(dir, inputValue, inputName) {
  25709. const validNumber = typeof inputValue === 'number' && inputValue > 0;
  25710. const validString = typeof inputValue === 'string' && /^\d+$/.test(inputValue.trim()) && parseInt(inputValue) > 0;
  25711. if (!validNumber && !validString) {
  25712. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2952
  25713. /* RuntimeErrorCode.INVALID_INPUT */
  25714. , `${imgDirectiveDetails(dir.ngSrc)} \`${inputName}\` has an invalid value ` + `(\`${inputValue}\`). To fix this, provide \`${inputName}\` ` + `as a number greater than 0.`);
  25715. }
  25716. }
  25717. /**
  25718. * Verifies that the rendered image is not visually distorted. Effectively this is checking:
  25719. * - Whether the "width" and "height" attributes reflect the actual dimensions of the image.
  25720. * - Whether image styling is "correct" (see below for a longer explanation).
  25721. */
  25722. function assertNoImageDistortion(dir, img, renderer) {
  25723. const removeListenerFn = renderer.listen(img, 'load', () => {
  25724. removeListenerFn(); // TODO: `clientWidth`, `clientHeight`, `naturalWidth` and `naturalHeight`
  25725. // are typed as number, but we run `parseFloat` (which accepts strings only).
  25726. // Verify whether `parseFloat` is needed in the cases below.
  25727. const renderedWidth = parseFloat(img.clientWidth);
  25728. const renderedHeight = parseFloat(img.clientHeight);
  25729. const renderedAspectRatio = renderedWidth / renderedHeight;
  25730. const nonZeroRenderedDimensions = renderedWidth !== 0 && renderedHeight !== 0;
  25731. const intrinsicWidth = parseFloat(img.naturalWidth);
  25732. const intrinsicHeight = parseFloat(img.naturalHeight);
  25733. const intrinsicAspectRatio = intrinsicWidth / intrinsicHeight;
  25734. const suppliedWidth = dir.width;
  25735. const suppliedHeight = dir.height;
  25736. const suppliedAspectRatio = suppliedWidth / suppliedHeight; // Tolerance is used to account for the impact of subpixel rendering.
  25737. // Due to subpixel rendering, the rendered, intrinsic, and supplied
  25738. // aspect ratios of a correctly configured image may not exactly match.
  25739. // For example, a `width=4030 height=3020` image might have a rendered
  25740. // size of "1062w, 796.48h". (An aspect ratio of 1.334... vs. 1.333...)
  25741. const inaccurateDimensions = Math.abs(suppliedAspectRatio - intrinsicAspectRatio) > ASPECT_RATIO_TOLERANCE;
  25742. const stylingDistortion = nonZeroRenderedDimensions && Math.abs(intrinsicAspectRatio - renderedAspectRatio) > ASPECT_RATIO_TOLERANCE;
  25743. if (inaccurateDimensions) {
  25744. console.warn((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵformatRuntimeError"])(2952
  25745. /* RuntimeErrorCode.INVALID_INPUT */
  25746. , `${imgDirectiveDetails(dir.ngSrc)} the aspect ratio of the image does not match ` + `the aspect ratio indicated by the width and height attributes. ` + `\nIntrinsic image size: ${intrinsicWidth}w x ${intrinsicHeight}h ` + `(aspect-ratio: ${intrinsicAspectRatio}). \nSupplied width and height attributes: ` + `${suppliedWidth}w x ${suppliedHeight}h (aspect-ratio: ${suppliedAspectRatio}). ` + `\nTo fix this, update the width and height attributes.`));
  25747. } else if (stylingDistortion) {
  25748. console.warn((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵformatRuntimeError"])(2952
  25749. /* RuntimeErrorCode.INVALID_INPUT */
  25750. , `${imgDirectiveDetails(dir.ngSrc)} the aspect ratio of the rendered image ` + `does not match the image's intrinsic aspect ratio. ` + `\nIntrinsic image size: ${intrinsicWidth}w x ${intrinsicHeight}h ` + `(aspect-ratio: ${intrinsicAspectRatio}). \nRendered image size: ` + `${renderedWidth}w x ${renderedHeight}h (aspect-ratio: ` + `${renderedAspectRatio}). \nThis issue can occur if "width" and "height" ` + `attributes are added to an image without updating the corresponding ` + `image styling. To fix this, adjust image styling. In most cases, ` + `adding "height: auto" or "width: auto" to the image styling will fix ` + `this issue.`));
  25751. } else if (!dir.ngSrcset && nonZeroRenderedDimensions) {
  25752. // If `ngSrcset` hasn't been set, sanity check the intrinsic size.
  25753. const recommendedWidth = RECOMMENDED_SRCSET_DENSITY_CAP * renderedWidth;
  25754. const recommendedHeight = RECOMMENDED_SRCSET_DENSITY_CAP * renderedHeight;
  25755. const oversizedWidth = intrinsicWidth - recommendedWidth >= OVERSIZED_IMAGE_TOLERANCE;
  25756. const oversizedHeight = intrinsicHeight - recommendedHeight >= OVERSIZED_IMAGE_TOLERANCE;
  25757. if (oversizedWidth || oversizedHeight) {
  25758. console.warn((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵformatRuntimeError"])(2960
  25759. /* RuntimeErrorCode.OVERSIZED_IMAGE */
  25760. , `${imgDirectiveDetails(dir.ngSrc)} the intrinsic image is significantly ` + `larger than necessary. ` + `\nRendered image size: ${renderedWidth}w x ${renderedHeight}h. ` + `\nIntrinsic image size: ${intrinsicWidth}w x ${intrinsicHeight}h. ` + `\nRecommended intrinsic image size: ${recommendedWidth}w x ${recommendedHeight}h. ` + `\nNote: Recommended intrinsic image size is calculated assuming a maximum DPR of ` + `${RECOMMENDED_SRCSET_DENSITY_CAP}. To improve loading time, resize the image ` + `or consider using the "ngSrcset" and "sizes" attributes.`));
  25761. }
  25762. }
  25763. });
  25764. }
  25765. /**
  25766. * Verifies that a specified input is set.
  25767. */
  25768. function assertNonEmptyWidthAndHeight(dir) {
  25769. let missingAttributes = [];
  25770. if (dir.width === undefined) missingAttributes.push('width');
  25771. if (dir.height === undefined) missingAttributes.push('height');
  25772. if (missingAttributes.length > 0) {
  25773. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2954
  25774. /* RuntimeErrorCode.REQUIRED_INPUT_MISSING */
  25775. , `${imgDirectiveDetails(dir.ngSrc)} these required attributes ` + `are missing: ${missingAttributes.map(attr => `"${attr}"`).join(', ')}. ` + `Including "width" and "height" attributes will prevent image-related layout shifts. ` + `To fix this, include "width" and "height" attributes on the image tag.`);
  25776. }
  25777. }
  25778. /**
  25779. * Verifies that the `loading` attribute is set to a valid input &
  25780. * is not used on priority images.
  25781. */
  25782. function assertValidLoadingInput(dir) {
  25783. if (dir.loading && dir.priority) {
  25784. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2952
  25785. /* RuntimeErrorCode.INVALID_INPUT */
  25786. , `${imgDirectiveDetails(dir.ngSrc)} the \`loading\` attribute ` + `was used on an image that was marked "priority". ` + `Setting \`loading\` on priority images is not allowed ` + `because these images will always be eagerly loaded. ` + `To fix this, remove the “loading” attribute from the priority image.`);
  25787. }
  25788. const validInputs = ['auto', 'eager', 'lazy'];
  25789. if (typeof dir.loading === 'string' && !validInputs.includes(dir.loading)) {
  25790. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2952
  25791. /* RuntimeErrorCode.INVALID_INPUT */
  25792. , `${imgDirectiveDetails(dir.ngSrc)} the \`loading\` attribute ` + `has an invalid value (\`${dir.loading}\`). ` + `To fix this, provide a valid value ("lazy", "eager", or "auto").`);
  25793. }
  25794. }
  25795. /**
  25796. * @license
  25797. * Copyright Google LLC All Rights Reserved.
  25798. *
  25799. * Use of this source code is governed by an MIT-style license that can be
  25800. * found in the LICENSE file at https://angular.io/license
  25801. */
  25802. /**
  25803. * @license
  25804. * Copyright Google LLC All Rights Reserved.
  25805. *
  25806. * Use of this source code is governed by an MIT-style license that can be
  25807. * found in the LICENSE file at https://angular.io/license
  25808. */
  25809. /**
  25810. * @license
  25811. * Copyright Google LLC All Rights Reserved.
  25812. *
  25813. * Use of this source code is governed by an MIT-style license that can be
  25814. * found in the LICENSE file at https://angular.io/license
  25815. */
  25816. // This file only reexports content of the `src` folder. Keep it that way.
  25817. /**
  25818. * @license
  25819. * Copyright Google LLC All Rights Reserved.
  25820. *
  25821. * Use of this source code is governed by an MIT-style license that can be
  25822. * found in the LICENSE file at https://angular.io/license
  25823. */
  25824. /**
  25825. * Generated bundle index. Do not edit.
  25826. */
  25827. /***/ }),
  25828. /***/ 8784:
  25829. /*!********************************************************!*\
  25830. !*** ./node_modules/@angular/common/fesm2015/http.mjs ***!
  25831. \********************************************************/
  25832. /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
  25833. __webpack_require__.r(__webpack_exports__);
  25834. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  25835. /* harmony export */ "HTTP_INTERCEPTORS": () => (/* binding */ HTTP_INTERCEPTORS),
  25836. /* harmony export */ "HttpBackend": () => (/* binding */ HttpBackend),
  25837. /* harmony export */ "HttpClient": () => (/* binding */ HttpClient),
  25838. /* harmony export */ "HttpClientJsonpModule": () => (/* binding */ HttpClientJsonpModule),
  25839. /* harmony export */ "HttpClientModule": () => (/* binding */ HttpClientModule),
  25840. /* harmony export */ "HttpClientXsrfModule": () => (/* binding */ HttpClientXsrfModule),
  25841. /* harmony export */ "HttpContext": () => (/* binding */ HttpContext),
  25842. /* harmony export */ "HttpContextToken": () => (/* binding */ HttpContextToken),
  25843. /* harmony export */ "HttpErrorResponse": () => (/* binding */ HttpErrorResponse),
  25844. /* harmony export */ "HttpEventType": () => (/* binding */ HttpEventType),
  25845. /* harmony export */ "HttpHandler": () => (/* binding */ HttpHandler),
  25846. /* harmony export */ "HttpHeaderResponse": () => (/* binding */ HttpHeaderResponse),
  25847. /* harmony export */ "HttpHeaders": () => (/* binding */ HttpHeaders),
  25848. /* harmony export */ "HttpParams": () => (/* binding */ HttpParams),
  25849. /* harmony export */ "HttpRequest": () => (/* binding */ HttpRequest),
  25850. /* harmony export */ "HttpResponse": () => (/* binding */ HttpResponse),
  25851. /* harmony export */ "HttpResponseBase": () => (/* binding */ HttpResponseBase),
  25852. /* harmony export */ "HttpUrlEncodingCodec": () => (/* binding */ HttpUrlEncodingCodec),
  25853. /* harmony export */ "HttpXhrBackend": () => (/* binding */ HttpXhrBackend),
  25854. /* harmony export */ "HttpXsrfTokenExtractor": () => (/* binding */ HttpXsrfTokenExtractor),
  25855. /* harmony export */ "JsonpClientBackend": () => (/* binding */ JsonpClientBackend),
  25856. /* harmony export */ "JsonpInterceptor": () => (/* binding */ JsonpInterceptor),
  25857. /* harmony export */ "XhrFactory": () => (/* binding */ XhrFactory),
  25858. /* harmony export */ "ɵHttpInterceptingHandler": () => (/* binding */ HttpInterceptingHandler)
  25859. /* harmony export */ });
  25860. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/common */ 6362);
  25861. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 3184);
  25862. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ 4139);
  25863. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rxjs */ 2378);
  25864. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs/operators */ 1133);
  25865. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ 9151);
  25866. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ 6942);
  25867. /**
  25868. * @license Angular v14.2.7
  25869. * (c) 2010-2022 Google LLC. https://angular.io/
  25870. * License: MIT
  25871. */
  25872. /**
  25873. * @license
  25874. * Copyright Google LLC All Rights Reserved.
  25875. *
  25876. * Use of this source code is governed by an MIT-style license that can be
  25877. * found in the LICENSE file at https://angular.io/license
  25878. */
  25879. /**
  25880. * Transforms an `HttpRequest` into a stream of `HttpEvent`s, one of which will likely be a
  25881. * `HttpResponse`.
  25882. *
  25883. * `HttpHandler` is injectable. When injected, the handler instance dispatches requests to the
  25884. * first interceptor in the chain, which dispatches to the second, etc, eventually reaching the
  25885. * `HttpBackend`.
  25886. *
  25887. * In an `HttpInterceptor`, the `HttpHandler` parameter is the next interceptor in the chain.
  25888. *
  25889. * @publicApi
  25890. */
  25891. class HttpHandler {}
  25892. /**
  25893. * A final `HttpHandler` which will dispatch the request via browser HTTP APIs to a backend.
  25894. *
  25895. * Interceptors sit between the `HttpClient` interface and the `HttpBackend`.
  25896. *
  25897. * When injected, `HttpBackend` dispatches requests directly to the backend, without going
  25898. * through the interceptor chain.
  25899. *
  25900. * @publicApi
  25901. */
  25902. class HttpBackend {}
  25903. /**
  25904. * @license
  25905. * Copyright Google LLC All Rights Reserved.
  25906. *
  25907. * Use of this source code is governed by an MIT-style license that can be
  25908. * found in the LICENSE file at https://angular.io/license
  25909. */
  25910. /**
  25911. * Represents the header configuration options for an HTTP request.
  25912. * Instances are immutable. Modifying methods return a cloned
  25913. * instance with the change. The original object is never changed.
  25914. *
  25915. * @publicApi
  25916. */
  25917. class HttpHeaders {
  25918. /** Constructs a new HTTP header object with the given values.*/
  25919. constructor(headers) {
  25920. /**
  25921. * Internal map of lowercased header names to the normalized
  25922. * form of the name (the form seen first).
  25923. */
  25924. this.normalizedNames = new Map();
  25925. /**
  25926. * Queued updates to be materialized the next initialization.
  25927. */
  25928. this.lazyUpdate = null;
  25929. if (!headers) {
  25930. this.headers = new Map();
  25931. } else if (typeof headers === 'string') {
  25932. this.lazyInit = () => {
  25933. this.headers = new Map();
  25934. headers.split('\n').forEach(line => {
  25935. const index = line.indexOf(':');
  25936. if (index > 0) {
  25937. const name = line.slice(0, index);
  25938. const key = name.toLowerCase();
  25939. const value = line.slice(index + 1).trim();
  25940. this.maybeSetNormalizedName(name, key);
  25941. if (this.headers.has(key)) {
  25942. this.headers.get(key).push(value);
  25943. } else {
  25944. this.headers.set(key, [value]);
  25945. }
  25946. }
  25947. });
  25948. };
  25949. } else {
  25950. this.lazyInit = () => {
  25951. if (typeof ngDevMode === 'undefined' || ngDevMode) {
  25952. assertValidHeaders(headers);
  25953. }
  25954. this.headers = new Map();
  25955. Object.keys(headers).forEach(name => {
  25956. let values = headers[name];
  25957. const key = name.toLowerCase();
  25958. if (typeof values === 'string') {
  25959. values = [values];
  25960. }
  25961. if (values.length > 0) {
  25962. this.headers.set(key, values);
  25963. this.maybeSetNormalizedName(name, key);
  25964. }
  25965. });
  25966. };
  25967. }
  25968. }
  25969. /**
  25970. * Checks for existence of a given header.
  25971. *
  25972. * @param name The header name to check for existence.
  25973. *
  25974. * @returns True if the header exists, false otherwise.
  25975. */
  25976. has(name) {
  25977. this.init();
  25978. return this.headers.has(name.toLowerCase());
  25979. }
  25980. /**
  25981. * Retrieves the first value of a given header.
  25982. *
  25983. * @param name The header name.
  25984. *
  25985. * @returns The value string if the header exists, null otherwise
  25986. */
  25987. get(name) {
  25988. this.init();
  25989. const values = this.headers.get(name.toLowerCase());
  25990. return values && values.length > 0 ? values[0] : null;
  25991. }
  25992. /**
  25993. * Retrieves the names of the headers.
  25994. *
  25995. * @returns A list of header names.
  25996. */
  25997. keys() {
  25998. this.init();
  25999. return Array.from(this.normalizedNames.values());
  26000. }
  26001. /**
  26002. * Retrieves a list of values for a given header.
  26003. *
  26004. * @param name The header name from which to retrieve values.
  26005. *
  26006. * @returns A string of values if the header exists, null otherwise.
  26007. */
  26008. getAll(name) {
  26009. this.init();
  26010. return this.headers.get(name.toLowerCase()) || null;
  26011. }
  26012. /**
  26013. * Appends a new value to the existing set of values for a header
  26014. * and returns them in a clone of the original instance.
  26015. *
  26016. * @param name The header name for which to append the values.
  26017. * @param value The value to append.
  26018. *
  26019. * @returns A clone of the HTTP headers object with the value appended to the given header.
  26020. */
  26021. append(name, value) {
  26022. return this.clone({
  26023. name,
  26024. value,
  26025. op: 'a'
  26026. });
  26027. }
  26028. /**
  26029. * Sets or modifies a value for a given header in a clone of the original instance.
  26030. * If the header already exists, its value is replaced with the given value
  26031. * in the returned object.
  26032. *
  26033. * @param name The header name.
  26034. * @param value The value or values to set or override for the given header.
  26035. *
  26036. * @returns A clone of the HTTP headers object with the newly set header value.
  26037. */
  26038. set(name, value) {
  26039. return this.clone({
  26040. name,
  26041. value,
  26042. op: 's'
  26043. });
  26044. }
  26045. /**
  26046. * Deletes values for a given header in a clone of the original instance.
  26047. *
  26048. * @param name The header name.
  26049. * @param value The value or values to delete for the given header.
  26050. *
  26051. * @returns A clone of the HTTP headers object with the given value deleted.
  26052. */
  26053. delete(name, value) {
  26054. return this.clone({
  26055. name,
  26056. value,
  26057. op: 'd'
  26058. });
  26059. }
  26060. maybeSetNormalizedName(name, lcName) {
  26061. if (!this.normalizedNames.has(lcName)) {
  26062. this.normalizedNames.set(lcName, name);
  26063. }
  26064. }
  26065. init() {
  26066. if (!!this.lazyInit) {
  26067. if (this.lazyInit instanceof HttpHeaders) {
  26068. this.copyFrom(this.lazyInit);
  26069. } else {
  26070. this.lazyInit();
  26071. }
  26072. this.lazyInit = null;
  26073. if (!!this.lazyUpdate) {
  26074. this.lazyUpdate.forEach(update => this.applyUpdate(update));
  26075. this.lazyUpdate = null;
  26076. }
  26077. }
  26078. }
  26079. copyFrom(other) {
  26080. other.init();
  26081. Array.from(other.headers.keys()).forEach(key => {
  26082. this.headers.set(key, other.headers.get(key));
  26083. this.normalizedNames.set(key, other.normalizedNames.get(key));
  26084. });
  26085. }
  26086. clone(update) {
  26087. const clone = new HttpHeaders();
  26088. clone.lazyInit = !!this.lazyInit && this.lazyInit instanceof HttpHeaders ? this.lazyInit : this;
  26089. clone.lazyUpdate = (this.lazyUpdate || []).concat([update]);
  26090. return clone;
  26091. }
  26092. applyUpdate(update) {
  26093. const key = update.name.toLowerCase();
  26094. switch (update.op) {
  26095. case 'a':
  26096. case 's':
  26097. let value = update.value;
  26098. if (typeof value === 'string') {
  26099. value = [value];
  26100. }
  26101. if (value.length === 0) {
  26102. return;
  26103. }
  26104. this.maybeSetNormalizedName(update.name, key);
  26105. const base = (update.op === 'a' ? this.headers.get(key) : undefined) || [];
  26106. base.push(...value);
  26107. this.headers.set(key, base);
  26108. break;
  26109. case 'd':
  26110. const toDelete = update.value;
  26111. if (!toDelete) {
  26112. this.headers.delete(key);
  26113. this.normalizedNames.delete(key);
  26114. } else {
  26115. let existing = this.headers.get(key);
  26116. if (!existing) {
  26117. return;
  26118. }
  26119. existing = existing.filter(value => toDelete.indexOf(value) === -1);
  26120. if (existing.length === 0) {
  26121. this.headers.delete(key);
  26122. this.normalizedNames.delete(key);
  26123. } else {
  26124. this.headers.set(key, existing);
  26125. }
  26126. }
  26127. break;
  26128. }
  26129. }
  26130. /**
  26131. * @internal
  26132. */
  26133. forEach(fn) {
  26134. this.init();
  26135. Array.from(this.normalizedNames.keys()).forEach(key => fn(this.normalizedNames.get(key), this.headers.get(key)));
  26136. }
  26137. }
  26138. /**
  26139. * Verifies that the headers object has the right shape: the values
  26140. * must be either strings or arrays. Throws an error if an invalid
  26141. * header value is present.
  26142. */
  26143. function assertValidHeaders(headers) {
  26144. for (const [key, value] of Object.entries(headers)) {
  26145. if (typeof value !== 'string' && !Array.isArray(value)) {
  26146. throw new Error(`Unexpected value of the \`${key}\` header provided. ` + `Expecting either a string or an array, but got: \`${value}\`.`);
  26147. }
  26148. }
  26149. }
  26150. /**
  26151. * @license
  26152. * Copyright Google LLC All Rights Reserved.
  26153. *
  26154. * Use of this source code is governed by an MIT-style license that can be
  26155. * found in the LICENSE file at https://angular.io/license
  26156. */
  26157. /**
  26158. * Provides encoding and decoding of URL parameter and query-string values.
  26159. *
  26160. * Serializes and parses URL parameter keys and values to encode and decode them.
  26161. * If you pass URL query parameters without encoding,
  26162. * the query parameters can be misinterpreted at the receiving end.
  26163. *
  26164. *
  26165. * @publicApi
  26166. */
  26167. class HttpUrlEncodingCodec {
  26168. /**
  26169. * Encodes a key name for a URL parameter or query-string.
  26170. * @param key The key name.
  26171. * @returns The encoded key name.
  26172. */
  26173. encodeKey(key) {
  26174. return standardEncoding(key);
  26175. }
  26176. /**
  26177. * Encodes the value of a URL parameter or query-string.
  26178. * @param value The value.
  26179. * @returns The encoded value.
  26180. */
  26181. encodeValue(value) {
  26182. return standardEncoding(value);
  26183. }
  26184. /**
  26185. * Decodes an encoded URL parameter or query-string key.
  26186. * @param key The encoded key name.
  26187. * @returns The decoded key name.
  26188. */
  26189. decodeKey(key) {
  26190. return decodeURIComponent(key);
  26191. }
  26192. /**
  26193. * Decodes an encoded URL parameter or query-string value.
  26194. * @param value The encoded value.
  26195. * @returns The decoded value.
  26196. */
  26197. decodeValue(value) {
  26198. return decodeURIComponent(value);
  26199. }
  26200. }
  26201. function paramParser(rawParams, codec) {
  26202. const map = new Map();
  26203. if (rawParams.length > 0) {
  26204. // The `window.location.search` can be used while creating an instance of the `HttpParams` class
  26205. // (e.g. `new HttpParams({ fromString: window.location.search })`). The `window.location.search`
  26206. // may start with the `?` char, so we strip it if it's present.
  26207. const params = rawParams.replace(/^\?/, '').split('&');
  26208. params.forEach(param => {
  26209. const eqIdx = param.indexOf('=');
  26210. const [key, val] = eqIdx == -1 ? [codec.decodeKey(param), ''] : [codec.decodeKey(param.slice(0, eqIdx)), codec.decodeValue(param.slice(eqIdx + 1))];
  26211. const list = map.get(key) || [];
  26212. list.push(val);
  26213. map.set(key, list);
  26214. });
  26215. }
  26216. return map;
  26217. }
  26218. /**
  26219. * Encode input string with standard encodeURIComponent and then un-encode specific characters.
  26220. */
  26221. const STANDARD_ENCODING_REGEX = /%(\d[a-f0-9])/gi;
  26222. const STANDARD_ENCODING_REPLACEMENTS = {
  26223. '40': '@',
  26224. '3A': ':',
  26225. '24': '$',
  26226. '2C': ',',
  26227. '3B': ';',
  26228. '3D': '=',
  26229. '3F': '?',
  26230. '2F': '/'
  26231. };
  26232. function standardEncoding(v) {
  26233. return encodeURIComponent(v).replace(STANDARD_ENCODING_REGEX, (s, t) => {
  26234. var _a;
  26235. return (_a = STANDARD_ENCODING_REPLACEMENTS[t]) !== null && _a !== void 0 ? _a : s;
  26236. });
  26237. }
  26238. function valueToString(value) {
  26239. return `${value}`;
  26240. }
  26241. /**
  26242. * An HTTP request/response body that represents serialized parameters,
  26243. * per the MIME type `application/x-www-form-urlencoded`.
  26244. *
  26245. * This class is immutable; all mutation operations return a new instance.
  26246. *
  26247. * @publicApi
  26248. */
  26249. class HttpParams {
  26250. constructor(options = {}) {
  26251. this.updates = null;
  26252. this.cloneFrom = null;
  26253. this.encoder = options.encoder || new HttpUrlEncodingCodec();
  26254. if (!!options.fromString) {
  26255. if (!!options.fromObject) {
  26256. throw new Error(`Cannot specify both fromString and fromObject.`);
  26257. }
  26258. this.map = paramParser(options.fromString, this.encoder);
  26259. } else if (!!options.fromObject) {
  26260. this.map = new Map();
  26261. Object.keys(options.fromObject).forEach(key => {
  26262. const value = options.fromObject[key]; // convert the values to strings
  26263. const values = Array.isArray(value) ? value.map(valueToString) : [valueToString(value)];
  26264. this.map.set(key, values);
  26265. });
  26266. } else {
  26267. this.map = null;
  26268. }
  26269. }
  26270. /**
  26271. * Reports whether the body includes one or more values for a given parameter.
  26272. * @param param The parameter name.
  26273. * @returns True if the parameter has one or more values,
  26274. * false if it has no value or is not present.
  26275. */
  26276. has(param) {
  26277. this.init();
  26278. return this.map.has(param);
  26279. }
  26280. /**
  26281. * Retrieves the first value for a parameter.
  26282. * @param param The parameter name.
  26283. * @returns The first value of the given parameter,
  26284. * or `null` if the parameter is not present.
  26285. */
  26286. get(param) {
  26287. this.init();
  26288. const res = this.map.get(param);
  26289. return !!res ? res[0] : null;
  26290. }
  26291. /**
  26292. * Retrieves all values for a parameter.
  26293. * @param param The parameter name.
  26294. * @returns All values in a string array,
  26295. * or `null` if the parameter not present.
  26296. */
  26297. getAll(param) {
  26298. this.init();
  26299. return this.map.get(param) || null;
  26300. }
  26301. /**
  26302. * Retrieves all the parameters for this body.
  26303. * @returns The parameter names in a string array.
  26304. */
  26305. keys() {
  26306. this.init();
  26307. return Array.from(this.map.keys());
  26308. }
  26309. /**
  26310. * Appends a new value to existing values for a parameter.
  26311. * @param param The parameter name.
  26312. * @param value The new value to add.
  26313. * @return A new body with the appended value.
  26314. */
  26315. append(param, value) {
  26316. return this.clone({
  26317. param,
  26318. value,
  26319. op: 'a'
  26320. });
  26321. }
  26322. /**
  26323. * Constructs a new body with appended values for the given parameter name.
  26324. * @param params parameters and values
  26325. * @return A new body with the new value.
  26326. */
  26327. appendAll(params) {
  26328. const updates = [];
  26329. Object.keys(params).forEach(param => {
  26330. const value = params[param];
  26331. if (Array.isArray(value)) {
  26332. value.forEach(_value => {
  26333. updates.push({
  26334. param,
  26335. value: _value,
  26336. op: 'a'
  26337. });
  26338. });
  26339. } else {
  26340. updates.push({
  26341. param,
  26342. value: value,
  26343. op: 'a'
  26344. });
  26345. }
  26346. });
  26347. return this.clone(updates);
  26348. }
  26349. /**
  26350. * Replaces the value for a parameter.
  26351. * @param param The parameter name.
  26352. * @param value The new value.
  26353. * @return A new body with the new value.
  26354. */
  26355. set(param, value) {
  26356. return this.clone({
  26357. param,
  26358. value,
  26359. op: 's'
  26360. });
  26361. }
  26362. /**
  26363. * Removes a given value or all values from a parameter.
  26364. * @param param The parameter name.
  26365. * @param value The value to remove, if provided.
  26366. * @return A new body with the given value removed, or with all values
  26367. * removed if no value is specified.
  26368. */
  26369. delete(param, value) {
  26370. return this.clone({
  26371. param,
  26372. value,
  26373. op: 'd'
  26374. });
  26375. }
  26376. /**
  26377. * Serializes the body to an encoded string, where key-value pairs (separated by `=`) are
  26378. * separated by `&`s.
  26379. */
  26380. toString() {
  26381. this.init();
  26382. return this.keys().map(key => {
  26383. const eKey = this.encoder.encodeKey(key); // `a: ['1']` produces `'a=1'`
  26384. // `b: []` produces `''`
  26385. // `c: ['1', '2']` produces `'c=1&c=2'`
  26386. return this.map.get(key).map(value => eKey + '=' + this.encoder.encodeValue(value)).join('&');
  26387. }) // filter out empty values because `b: []` produces `''`
  26388. // which results in `a=1&&c=1&c=2` instead of `a=1&c=1&c=2` if we don't
  26389. .filter(param => param !== '').join('&');
  26390. }
  26391. clone(update) {
  26392. const clone = new HttpParams({
  26393. encoder: this.encoder
  26394. });
  26395. clone.cloneFrom = this.cloneFrom || this;
  26396. clone.updates = (this.updates || []).concat(update);
  26397. return clone;
  26398. }
  26399. init() {
  26400. if (this.map === null) {
  26401. this.map = new Map();
  26402. }
  26403. if (this.cloneFrom !== null) {
  26404. this.cloneFrom.init();
  26405. this.cloneFrom.keys().forEach(key => this.map.set(key, this.cloneFrom.map.get(key)));
  26406. this.updates.forEach(update => {
  26407. switch (update.op) {
  26408. case 'a':
  26409. case 's':
  26410. const base = (update.op === 'a' ? this.map.get(update.param) : undefined) || [];
  26411. base.push(valueToString(update.value));
  26412. this.map.set(update.param, base);
  26413. break;
  26414. case 'd':
  26415. if (update.value !== undefined) {
  26416. let base = this.map.get(update.param) || [];
  26417. const idx = base.indexOf(valueToString(update.value));
  26418. if (idx !== -1) {
  26419. base.splice(idx, 1);
  26420. }
  26421. if (base.length > 0) {
  26422. this.map.set(update.param, base);
  26423. } else {
  26424. this.map.delete(update.param);
  26425. }
  26426. } else {
  26427. this.map.delete(update.param);
  26428. break;
  26429. }
  26430. }
  26431. });
  26432. this.cloneFrom = this.updates = null;
  26433. }
  26434. }
  26435. }
  26436. /**
  26437. * @license
  26438. * Copyright Google LLC All Rights Reserved.
  26439. *
  26440. * Use of this source code is governed by an MIT-style license that can be
  26441. * found in the LICENSE file at https://angular.io/license
  26442. */
  26443. /**
  26444. * A token used to manipulate and access values stored in `HttpContext`.
  26445. *
  26446. * @publicApi
  26447. */
  26448. class HttpContextToken {
  26449. constructor(defaultValue) {
  26450. this.defaultValue = defaultValue;
  26451. }
  26452. }
  26453. /**
  26454. * Http context stores arbitrary user defined values and ensures type safety without
  26455. * actually knowing the types. It is backed by a `Map` and guarantees that keys do not clash.
  26456. *
  26457. * This context is mutable and is shared between cloned requests unless explicitly specified.
  26458. *
  26459. * @usageNotes
  26460. *
  26461. * ### Usage Example
  26462. *
  26463. * ```typescript
  26464. * // inside cache.interceptors.ts
  26465. * export const IS_CACHE_ENABLED = new HttpContextToken<boolean>(() => false);
  26466. *
  26467. * export class CacheInterceptor implements HttpInterceptor {
  26468. *
  26469. * intercept(req: HttpRequest<any>, delegate: HttpHandler): Observable<HttpEvent<any>> {
  26470. * if (req.context.get(IS_CACHE_ENABLED) === true) {
  26471. * return ...;
  26472. * }
  26473. * return delegate.handle(req);
  26474. * }
  26475. * }
  26476. *
  26477. * // inside a service
  26478. *
  26479. * this.httpClient.get('/api/weather', {
  26480. * context: new HttpContext().set(IS_CACHE_ENABLED, true)
  26481. * }).subscribe(...);
  26482. * ```
  26483. *
  26484. * @publicApi
  26485. */
  26486. class HttpContext {
  26487. constructor() {
  26488. this.map = new Map();
  26489. }
  26490. /**
  26491. * Store a value in the context. If a value is already present it will be overwritten.
  26492. *
  26493. * @param token The reference to an instance of `HttpContextToken`.
  26494. * @param value The value to store.
  26495. *
  26496. * @returns A reference to itself for easy chaining.
  26497. */
  26498. set(token, value) {
  26499. this.map.set(token, value);
  26500. return this;
  26501. }
  26502. /**
  26503. * Retrieve the value associated with the given token.
  26504. *
  26505. * @param token The reference to an instance of `HttpContextToken`.
  26506. *
  26507. * @returns The stored value or default if one is defined.
  26508. */
  26509. get(token) {
  26510. if (!this.map.has(token)) {
  26511. this.map.set(token, token.defaultValue());
  26512. }
  26513. return this.map.get(token);
  26514. }
  26515. /**
  26516. * Delete the value associated with the given token.
  26517. *
  26518. * @param token The reference to an instance of `HttpContextToken`.
  26519. *
  26520. * @returns A reference to itself for easy chaining.
  26521. */
  26522. delete(token) {
  26523. this.map.delete(token);
  26524. return this;
  26525. }
  26526. /**
  26527. * Checks for existence of a given token.
  26528. *
  26529. * @param token The reference to an instance of `HttpContextToken`.
  26530. *
  26531. * @returns True if the token exists, false otherwise.
  26532. */
  26533. has(token) {
  26534. return this.map.has(token);
  26535. }
  26536. /**
  26537. * @returns a list of tokens currently stored in the context.
  26538. */
  26539. keys() {
  26540. return this.map.keys();
  26541. }
  26542. }
  26543. /**
  26544. * @license
  26545. * Copyright Google LLC All Rights Reserved.
  26546. *
  26547. * Use of this source code is governed by an MIT-style license that can be
  26548. * found in the LICENSE file at https://angular.io/license
  26549. */
  26550. /**
  26551. * Determine whether the given HTTP method may include a body.
  26552. */
  26553. function mightHaveBody(method) {
  26554. switch (method) {
  26555. case 'DELETE':
  26556. case 'GET':
  26557. case 'HEAD':
  26558. case 'OPTIONS':
  26559. case 'JSONP':
  26560. return false;
  26561. default:
  26562. return true;
  26563. }
  26564. }
  26565. /**
  26566. * Safely assert whether the given value is an ArrayBuffer.
  26567. *
  26568. * In some execution environments ArrayBuffer is not defined.
  26569. */
  26570. function isArrayBuffer(value) {
  26571. return typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer;
  26572. }
  26573. /**
  26574. * Safely assert whether the given value is a Blob.
  26575. *
  26576. * In some execution environments Blob is not defined.
  26577. */
  26578. function isBlob(value) {
  26579. return typeof Blob !== 'undefined' && value instanceof Blob;
  26580. }
  26581. /**
  26582. * Safely assert whether the given value is a FormData instance.
  26583. *
  26584. * In some execution environments FormData is not defined.
  26585. */
  26586. function isFormData(value) {
  26587. return typeof FormData !== 'undefined' && value instanceof FormData;
  26588. }
  26589. /**
  26590. * Safely assert whether the given value is a URLSearchParams instance.
  26591. *
  26592. * In some execution environments URLSearchParams is not defined.
  26593. */
  26594. function isUrlSearchParams(value) {
  26595. return typeof URLSearchParams !== 'undefined' && value instanceof URLSearchParams;
  26596. }
  26597. /**
  26598. * An outgoing HTTP request with an optional typed body.
  26599. *
  26600. * `HttpRequest` represents an outgoing request, including URL, method,
  26601. * headers, body, and other request configuration options. Instances should be
  26602. * assumed to be immutable. To modify a `HttpRequest`, the `clone`
  26603. * method should be used.
  26604. *
  26605. * @publicApi
  26606. */
  26607. class HttpRequest {
  26608. constructor(method, url, third, fourth) {
  26609. this.url = url;
  26610. /**
  26611. * The request body, or `null` if one isn't set.
  26612. *
  26613. * Bodies are not enforced to be immutable, as they can include a reference to any
  26614. * user-defined data type. However, interceptors should take care to preserve
  26615. * idempotence by treating them as such.
  26616. */
  26617. this.body = null;
  26618. /**
  26619. * Whether this request should be made in a way that exposes progress events.
  26620. *
  26621. * Progress events are expensive (change detection runs on each event) and so
  26622. * they should only be requested if the consumer intends to monitor them.
  26623. */
  26624. this.reportProgress = false;
  26625. /**
  26626. * Whether this request should be sent with outgoing credentials (cookies).
  26627. */
  26628. this.withCredentials = false;
  26629. /**
  26630. * The expected response type of the server.
  26631. *
  26632. * This is used to parse the response appropriately before returning it to
  26633. * the requestee.
  26634. */
  26635. this.responseType = 'json';
  26636. this.method = method.toUpperCase(); // Next, need to figure out which argument holds the HttpRequestInit
  26637. // options, if any.
  26638. let options; // Check whether a body argument is expected. The only valid way to omit
  26639. // the body argument is to use a known no-body method like GET.
  26640. if (mightHaveBody(this.method) || !!fourth) {
  26641. // Body is the third argument, options are the fourth.
  26642. this.body = third !== undefined ? third : null;
  26643. options = fourth;
  26644. } else {
  26645. // No body required, options are the third argument. The body stays null.
  26646. options = third;
  26647. } // If options have been passed, interpret them.
  26648. if (options) {
  26649. // Normalize reportProgress and withCredentials.
  26650. this.reportProgress = !!options.reportProgress;
  26651. this.withCredentials = !!options.withCredentials; // Override default response type of 'json' if one is provided.
  26652. if (!!options.responseType) {
  26653. this.responseType = options.responseType;
  26654. } // Override headers if they're provided.
  26655. if (!!options.headers) {
  26656. this.headers = options.headers;
  26657. }
  26658. if (!!options.context) {
  26659. this.context = options.context;
  26660. }
  26661. if (!!options.params) {
  26662. this.params = options.params;
  26663. }
  26664. } // If no headers have been passed in, construct a new HttpHeaders instance.
  26665. if (!this.headers) {
  26666. this.headers = new HttpHeaders();
  26667. } // If no context have been passed in, construct a new HttpContext instance.
  26668. if (!this.context) {
  26669. this.context = new HttpContext();
  26670. } // If no parameters have been passed in, construct a new HttpUrlEncodedParams instance.
  26671. if (!this.params) {
  26672. this.params = new HttpParams();
  26673. this.urlWithParams = url;
  26674. } else {
  26675. // Encode the parameters to a string in preparation for inclusion in the URL.
  26676. const params = this.params.toString();
  26677. if (params.length === 0) {
  26678. // No parameters, the visible URL is just the URL given at creation time.
  26679. this.urlWithParams = url;
  26680. } else {
  26681. // Does the URL already have query parameters? Look for '?'.
  26682. const qIdx = url.indexOf('?'); // There are 3 cases to handle:
  26683. // 1) No existing parameters -> append '?' followed by params.
  26684. // 2) '?' exists and is followed by existing query string ->
  26685. // append '&' followed by params.
  26686. // 3) '?' exists at the end of the url -> append params directly.
  26687. // This basically amounts to determining the character, if any, with
  26688. // which to join the URL and parameters.
  26689. const sep = qIdx === -1 ? '?' : qIdx < url.length - 1 ? '&' : '';
  26690. this.urlWithParams = url + sep + params;
  26691. }
  26692. }
  26693. }
  26694. /**
  26695. * Transform the free-form body into a serialized format suitable for
  26696. * transmission to the server.
  26697. */
  26698. serializeBody() {
  26699. // If no body is present, no need to serialize it.
  26700. if (this.body === null) {
  26701. return null;
  26702. } // Check whether the body is already in a serialized form. If so,
  26703. // it can just be returned directly.
  26704. if (isArrayBuffer(this.body) || isBlob(this.body) || isFormData(this.body) || isUrlSearchParams(this.body) || typeof this.body === 'string') {
  26705. return this.body;
  26706. } // Check whether the body is an instance of HttpUrlEncodedParams.
  26707. if (this.body instanceof HttpParams) {
  26708. return this.body.toString();
  26709. } // Check whether the body is an object or array, and serialize with JSON if so.
  26710. if (typeof this.body === 'object' || typeof this.body === 'boolean' || Array.isArray(this.body)) {
  26711. return JSON.stringify(this.body);
  26712. } // Fall back on toString() for everything else.
  26713. return this.body.toString();
  26714. }
  26715. /**
  26716. * Examine the body and attempt to infer an appropriate MIME type
  26717. * for it.
  26718. *
  26719. * If no such type can be inferred, this method will return `null`.
  26720. */
  26721. detectContentTypeHeader() {
  26722. // An empty body has no content type.
  26723. if (this.body === null) {
  26724. return null;
  26725. } // FormData bodies rely on the browser's content type assignment.
  26726. if (isFormData(this.body)) {
  26727. return null;
  26728. } // Blobs usually have their own content type. If it doesn't, then
  26729. // no type can be inferred.
  26730. if (isBlob(this.body)) {
  26731. return this.body.type || null;
  26732. } // Array buffers have unknown contents and thus no type can be inferred.
  26733. if (isArrayBuffer(this.body)) {
  26734. return null;
  26735. } // Technically, strings could be a form of JSON data, but it's safe enough
  26736. // to assume they're plain strings.
  26737. if (typeof this.body === 'string') {
  26738. return 'text/plain';
  26739. } // `HttpUrlEncodedParams` has its own content-type.
  26740. if (this.body instanceof HttpParams) {
  26741. return 'application/x-www-form-urlencoded;charset=UTF-8';
  26742. } // Arrays, objects, boolean and numbers will be encoded as JSON.
  26743. if (typeof this.body === 'object' || typeof this.body === 'number' || typeof this.body === 'boolean') {
  26744. return 'application/json';
  26745. } // No type could be inferred.
  26746. return null;
  26747. }
  26748. clone(update = {}) {
  26749. var _a; // For method, url, and responseType, take the current value unless
  26750. // it is overridden in the update hash.
  26751. const method = update.method || this.method;
  26752. const url = update.url || this.url;
  26753. const responseType = update.responseType || this.responseType; // The body is somewhat special - a `null` value in update.body means
  26754. // whatever current body is present is being overridden with an empty
  26755. // body, whereas an `undefined` value in update.body implies no
  26756. // override.
  26757. const body = update.body !== undefined ? update.body : this.body; // Carefully handle the boolean options to differentiate between
  26758. // `false` and `undefined` in the update args.
  26759. const withCredentials = update.withCredentials !== undefined ? update.withCredentials : this.withCredentials;
  26760. const reportProgress = update.reportProgress !== undefined ? update.reportProgress : this.reportProgress; // Headers and params may be appended to if `setHeaders` or
  26761. // `setParams` are used.
  26762. let headers = update.headers || this.headers;
  26763. let params = update.params || this.params; // Pass on context if needed
  26764. const context = (_a = update.context) !== null && _a !== void 0 ? _a : this.context; // Check whether the caller has asked to add headers.
  26765. if (update.setHeaders !== undefined) {
  26766. // Set every requested header.
  26767. headers = Object.keys(update.setHeaders).reduce((headers, name) => headers.set(name, update.setHeaders[name]), headers);
  26768. } // Check whether the caller has asked to set params.
  26769. if (update.setParams) {
  26770. // Set every requested param.
  26771. params = Object.keys(update.setParams).reduce((params, param) => params.set(param, update.setParams[param]), params);
  26772. } // Finally, construct the new HttpRequest using the pieces from above.
  26773. return new HttpRequest(method, url, body, {
  26774. params,
  26775. headers,
  26776. context,
  26777. reportProgress,
  26778. responseType,
  26779. withCredentials
  26780. });
  26781. }
  26782. }
  26783. /**
  26784. * @license
  26785. * Copyright Google LLC All Rights Reserved.
  26786. *
  26787. * Use of this source code is governed by an MIT-style license that can be
  26788. * found in the LICENSE file at https://angular.io/license
  26789. */
  26790. /**
  26791. * Type enumeration for the different kinds of `HttpEvent`.
  26792. *
  26793. * @publicApi
  26794. */
  26795. var HttpEventType;
  26796. (function (HttpEventType) {
  26797. /**
  26798. * The request was sent out over the wire.
  26799. */
  26800. HttpEventType[HttpEventType["Sent"] = 0] = "Sent";
  26801. /**
  26802. * An upload progress event was received.
  26803. */
  26804. HttpEventType[HttpEventType["UploadProgress"] = 1] = "UploadProgress";
  26805. /**
  26806. * The response status code and headers were received.
  26807. */
  26808. HttpEventType[HttpEventType["ResponseHeader"] = 2] = "ResponseHeader";
  26809. /**
  26810. * A download progress event was received.
  26811. */
  26812. HttpEventType[HttpEventType["DownloadProgress"] = 3] = "DownloadProgress";
  26813. /**
  26814. * The full response including the body was received.
  26815. */
  26816. HttpEventType[HttpEventType["Response"] = 4] = "Response";
  26817. /**
  26818. * A custom event from an interceptor or a backend.
  26819. */
  26820. HttpEventType[HttpEventType["User"] = 5] = "User";
  26821. })(HttpEventType || (HttpEventType = {}));
  26822. /**
  26823. * Base class for both `HttpResponse` and `HttpHeaderResponse`.
  26824. *
  26825. * @publicApi
  26826. */
  26827. class HttpResponseBase {
  26828. /**
  26829. * Super-constructor for all responses.
  26830. *
  26831. * The single parameter accepted is an initialization hash. Any properties
  26832. * of the response passed there will override the default values.
  26833. */
  26834. constructor(init, defaultStatus = 200
  26835. /* HttpStatusCode.Ok */
  26836. , defaultStatusText = 'OK') {
  26837. // If the hash has values passed, use them to initialize the response.
  26838. // Otherwise use the default values.
  26839. this.headers = init.headers || new HttpHeaders();
  26840. this.status = init.status !== undefined ? init.status : defaultStatus;
  26841. this.statusText = init.statusText || defaultStatusText;
  26842. this.url = init.url || null; // Cache the ok value to avoid defining a getter.
  26843. this.ok = this.status >= 200 && this.status < 300;
  26844. }
  26845. }
  26846. /**
  26847. * A partial HTTP response which only includes the status and header data,
  26848. * but no response body.
  26849. *
  26850. * `HttpHeaderResponse` is a `HttpEvent` available on the response
  26851. * event stream, only when progress events are requested.
  26852. *
  26853. * @publicApi
  26854. */
  26855. class HttpHeaderResponse extends HttpResponseBase {
  26856. /**
  26857. * Create a new `HttpHeaderResponse` with the given parameters.
  26858. */
  26859. constructor(init = {}) {
  26860. super(init);
  26861. this.type = HttpEventType.ResponseHeader;
  26862. }
  26863. /**
  26864. * Copy this `HttpHeaderResponse`, overriding its contents with the
  26865. * given parameter hash.
  26866. */
  26867. clone(update = {}) {
  26868. // Perform a straightforward initialization of the new HttpHeaderResponse,
  26869. // overriding the current parameters with new ones if given.
  26870. return new HttpHeaderResponse({
  26871. headers: update.headers || this.headers,
  26872. status: update.status !== undefined ? update.status : this.status,
  26873. statusText: update.statusText || this.statusText,
  26874. url: update.url || this.url || undefined
  26875. });
  26876. }
  26877. }
  26878. /**
  26879. * A full HTTP response, including a typed response body (which may be `null`
  26880. * if one was not returned).
  26881. *
  26882. * `HttpResponse` is a `HttpEvent` available on the response event
  26883. * stream.
  26884. *
  26885. * @publicApi
  26886. */
  26887. class HttpResponse extends HttpResponseBase {
  26888. /**
  26889. * Construct a new `HttpResponse`.
  26890. */
  26891. constructor(init = {}) {
  26892. super(init);
  26893. this.type = HttpEventType.Response;
  26894. this.body = init.body !== undefined ? init.body : null;
  26895. }
  26896. clone(update = {}) {
  26897. return new HttpResponse({
  26898. body: update.body !== undefined ? update.body : this.body,
  26899. headers: update.headers || this.headers,
  26900. status: update.status !== undefined ? update.status : this.status,
  26901. statusText: update.statusText || this.statusText,
  26902. url: update.url || this.url || undefined
  26903. });
  26904. }
  26905. }
  26906. /**
  26907. * A response that represents an error or failure, either from a
  26908. * non-successful HTTP status, an error while executing the request,
  26909. * or some other failure which occurred during the parsing of the response.
  26910. *
  26911. * Any error returned on the `Observable` response stream will be
  26912. * wrapped in an `HttpErrorResponse` to provide additional context about
  26913. * the state of the HTTP layer when the error occurred. The error property
  26914. * will contain either a wrapped Error object or the error response returned
  26915. * from the server.
  26916. *
  26917. * @publicApi
  26918. */
  26919. class HttpErrorResponse extends HttpResponseBase {
  26920. constructor(init) {
  26921. // Initialize with a default status of 0 / Unknown Error.
  26922. super(init, 0, 'Unknown Error');
  26923. this.name = 'HttpErrorResponse';
  26924. /**
  26925. * Errors are never okay, even when the status code is in the 2xx success range.
  26926. */
  26927. this.ok = false; // If the response was successful, then this was a parse error. Otherwise, it was
  26928. // a protocol-level failure of some sort. Either the request failed in transit
  26929. // or the server returned an unsuccessful status code.
  26930. if (this.status >= 200 && this.status < 300) {
  26931. this.message = `Http failure during parsing for ${init.url || '(unknown url)'}`;
  26932. } else {
  26933. this.message = `Http failure response for ${init.url || '(unknown url)'}: ${init.status} ${init.statusText}`;
  26934. }
  26935. this.error = init.error || null;
  26936. }
  26937. }
  26938. /**
  26939. * @license
  26940. * Copyright Google LLC All Rights Reserved.
  26941. *
  26942. * Use of this source code is governed by an MIT-style license that can be
  26943. * found in the LICENSE file at https://angular.io/license
  26944. */
  26945. /**
  26946. * Constructs an instance of `HttpRequestOptions<T>` from a source `HttpMethodOptions` and
  26947. * the given `body`. This function clones the object and adds the body.
  26948. *
  26949. * Note that the `responseType` *options* value is a String that identifies the
  26950. * single data type of the response.
  26951. * A single overload version of the method handles each response type.
  26952. * The value of `responseType` cannot be a union, as the combined signature could imply.
  26953. *
  26954. */
  26955. function addBody(options, body) {
  26956. return {
  26957. body,
  26958. headers: options.headers,
  26959. context: options.context,
  26960. observe: options.observe,
  26961. params: options.params,
  26962. reportProgress: options.reportProgress,
  26963. responseType: options.responseType,
  26964. withCredentials: options.withCredentials
  26965. };
  26966. }
  26967. /**
  26968. * Performs HTTP requests.
  26969. * This service is available as an injectable class, with methods to perform HTTP requests.
  26970. * Each request method has multiple signatures, and the return type varies based on
  26971. * the signature that is called (mainly the values of `observe` and `responseType`).
  26972. *
  26973. * Note that the `responseType` *options* value is a String that identifies the
  26974. * single data type of the response.
  26975. * A single overload version of the method handles each response type.
  26976. * The value of `responseType` cannot be a union, as the combined signature could imply.
  26977. *
  26978. * @usageNotes
  26979. * Sample HTTP requests for the [Tour of Heroes](/tutorial/toh-pt0) application.
  26980. *
  26981. * ### HTTP Request Example
  26982. *
  26983. * ```
  26984. * // GET heroes whose name contains search term
  26985. * searchHeroes(term: string): observable<Hero[]>{
  26986. *
  26987. * const params = new HttpParams({fromString: 'name=term'});
  26988. * return this.httpClient.request('GET', this.heroesUrl, {responseType:'json', params});
  26989. * }
  26990. * ```
  26991. *
  26992. * Alternatively, the parameter string can be used without invoking HttpParams
  26993. * by directly joining to the URL.
  26994. * ```
  26995. * this.httpClient.request('GET', this.heroesUrl + '?' + 'name=term', {responseType:'json'});
  26996. * ```
  26997. *
  26998. *
  26999. * ### JSONP Example
  27000. * ```
  27001. * requestJsonp(url, callback = 'callback') {
  27002. * return this.httpClient.jsonp(this.heroesURL, callback);
  27003. * }
  27004. * ```
  27005. *
  27006. * ### PATCH Example
  27007. * ```
  27008. * // PATCH one of the heroes' name
  27009. * patchHero (id: number, heroName: string): Observable<{}> {
  27010. * const url = `${this.heroesUrl}/${id}`; // PATCH api/heroes/42
  27011. * return this.httpClient.patch(url, {name: heroName}, httpOptions)
  27012. * .pipe(catchError(this.handleError('patchHero')));
  27013. * }
  27014. * ```
  27015. *
  27016. * @see [HTTP Guide](guide/http)
  27017. * @see [HTTP Request](api/common/http/HttpRequest)
  27018. *
  27019. * @publicApi
  27020. */
  27021. class HttpClient {
  27022. constructor(handler) {
  27023. this.handler = handler;
  27024. }
  27025. /**
  27026. * Constructs an observable for a generic HTTP request that, when subscribed,
  27027. * fires the request through the chain of registered interceptors and on to the
  27028. * server.
  27029. *
  27030. * You can pass an `HttpRequest` directly as the only parameter. In this case,
  27031. * the call returns an observable of the raw `HttpEvent` stream.
  27032. *
  27033. * Alternatively you can pass an HTTP method as the first parameter,
  27034. * a URL string as the second, and an options hash containing the request body as the third.
  27035. * See `addBody()`. In this case, the specified `responseType` and `observe` options determine the
  27036. * type of returned observable.
  27037. * * The `responseType` value determines how a successful response body is parsed.
  27038. * * If `responseType` is the default `json`, you can pass a type interface for the resulting
  27039. * object as a type parameter to the call.
  27040. *
  27041. * The `observe` value determines the return type, according to what you are interested in
  27042. * observing.
  27043. * * An `observe` value of events returns an observable of the raw `HttpEvent` stream, including
  27044. * progress events by default.
  27045. * * An `observe` value of response returns an observable of `HttpResponse<T>`,
  27046. * where the `T` parameter depends on the `responseType` and any optionally provided type
  27047. * parameter.
  27048. * * An `observe` value of body returns an observable of `<T>` with the same `T` body type.
  27049. *
  27050. */
  27051. request(first, url, options = {}) {
  27052. let req; // First, check whether the primary argument is an instance of `HttpRequest`.
  27053. if (first instanceof HttpRequest) {
  27054. // It is. The other arguments must be undefined (per the signatures) and can be
  27055. // ignored.
  27056. req = first;
  27057. } else {
  27058. // It's a string, so it represents a URL. Construct a request based on it,
  27059. // and incorporate the remaining arguments (assuming `GET` unless a method is
  27060. // provided.
  27061. // Figure out the headers.
  27062. let headers = undefined;
  27063. if (options.headers instanceof HttpHeaders) {
  27064. headers = options.headers;
  27065. } else {
  27066. headers = new HttpHeaders(options.headers);
  27067. } // Sort out parameters.
  27068. let params = undefined;
  27069. if (!!options.params) {
  27070. if (options.params instanceof HttpParams) {
  27071. params = options.params;
  27072. } else {
  27073. params = new HttpParams({
  27074. fromObject: options.params
  27075. });
  27076. }
  27077. } // Construct the request.
  27078. req = new HttpRequest(first, url, options.body !== undefined ? options.body : null, {
  27079. headers,
  27080. context: options.context,
  27081. params,
  27082. reportProgress: options.reportProgress,
  27083. // By default, JSON is assumed to be returned for all calls.
  27084. responseType: options.responseType || 'json',
  27085. withCredentials: options.withCredentials
  27086. });
  27087. } // Start with an Observable.of() the initial request, and run the handler (which
  27088. // includes all interceptors) inside a concatMap(). This way, the handler runs
  27089. // inside an Observable chain, which causes interceptors to be re-run on every
  27090. // subscription (this also makes retries re-run the handler, including interceptors).
  27091. const events$ = (0,rxjs__WEBPACK_IMPORTED_MODULE_0__.of)(req).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_1__.concatMap)(req => this.handler.handle(req))); // If coming via the API signature which accepts a previously constructed HttpRequest,
  27092. // the only option is to get the event stream. Otherwise, return the event stream if
  27093. // that is what was requested.
  27094. if (first instanceof HttpRequest || options.observe === 'events') {
  27095. return events$;
  27096. } // The requested stream contains either the full response or the body. In either
  27097. // case, the first step is to filter the event stream to extract a stream of
  27098. // responses(s).
  27099. const res$ = events$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.filter)(event => event instanceof HttpResponse)); // Decide which stream to return.
  27100. switch (options.observe || 'body') {
  27101. case 'body':
  27102. // The requested stream is the body. Map the response stream to the response
  27103. // body. This could be done more simply, but a misbehaving interceptor might
  27104. // transform the response body into a different format and ignore the requested
  27105. // responseType. Guard against this by validating that the response is of the
  27106. // requested type.
  27107. switch (req.responseType) {
  27108. case 'arraybuffer':
  27109. return res$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.map)(res => {
  27110. // Validate that the body is an ArrayBuffer.
  27111. if (res.body !== null && !(res.body instanceof ArrayBuffer)) {
  27112. throw new Error('Response is not an ArrayBuffer.');
  27113. }
  27114. return res.body;
  27115. }));
  27116. case 'blob':
  27117. return res$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.map)(res => {
  27118. // Validate that the body is a Blob.
  27119. if (res.body !== null && !(res.body instanceof Blob)) {
  27120. throw new Error('Response is not a Blob.');
  27121. }
  27122. return res.body;
  27123. }));
  27124. case 'text':
  27125. return res$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.map)(res => {
  27126. // Validate that the body is a string.
  27127. if (res.body !== null && typeof res.body !== 'string') {
  27128. throw new Error('Response is not a string.');
  27129. }
  27130. return res.body;
  27131. }));
  27132. case 'json':
  27133. default:
  27134. // No validation needed for JSON responses, as they can be of any type.
  27135. return res$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.map)(res => res.body));
  27136. }
  27137. case 'response':
  27138. // The response stream was requested directly, so return it.
  27139. return res$;
  27140. default:
  27141. // Guard against new future observe types being added.
  27142. throw new Error(`Unreachable: unhandled observe type ${options.observe}}`);
  27143. }
  27144. }
  27145. /**
  27146. * Constructs an observable that, when subscribed, causes the configured
  27147. * `DELETE` request to execute on the server. See the individual overloads for
  27148. * details on the return type.
  27149. *
  27150. * @param url The endpoint URL.
  27151. * @param options The HTTP options to send with the request.
  27152. *
  27153. */
  27154. delete(url, options = {}) {
  27155. return this.request('DELETE', url, options);
  27156. }
  27157. /**
  27158. * Constructs an observable that, when subscribed, causes the configured
  27159. * `GET` request to execute on the server. See the individual overloads for
  27160. * details on the return type.
  27161. */
  27162. get(url, options = {}) {
  27163. return this.request('GET', url, options);
  27164. }
  27165. /**
  27166. * Constructs an observable that, when subscribed, causes the configured
  27167. * `HEAD` request to execute on the server. The `HEAD` method returns
  27168. * meta information about the resource without transferring the
  27169. * resource itself. See the individual overloads for
  27170. * details on the return type.
  27171. */
  27172. head(url, options = {}) {
  27173. return this.request('HEAD', url, options);
  27174. }
  27175. /**
  27176. * Constructs an `Observable` that, when subscribed, causes a request with the special method
  27177. * `JSONP` to be dispatched via the interceptor pipeline.
  27178. * The [JSONP pattern](https://en.wikipedia.org/wiki/JSONP) works around limitations of certain
  27179. * API endpoints that don't support newer,
  27180. * and preferable [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) protocol.
  27181. * JSONP treats the endpoint API as a JavaScript file and tricks the browser to process the
  27182. * requests even if the API endpoint is not located on the same domain (origin) as the client-side
  27183. * application making the request.
  27184. * The endpoint API must support JSONP callback for JSONP requests to work.
  27185. * The resource API returns the JSON response wrapped in a callback function.
  27186. * You can pass the callback function name as one of the query parameters.
  27187. * Note that JSONP requests can only be used with `GET` requests.
  27188. *
  27189. * @param url The resource URL.
  27190. * @param callbackParam The callback function name.
  27191. *
  27192. */
  27193. jsonp(url, callbackParam) {
  27194. return this.request('JSONP', url, {
  27195. params: new HttpParams().append(callbackParam, 'JSONP_CALLBACK'),
  27196. observe: 'body',
  27197. responseType: 'json'
  27198. });
  27199. }
  27200. /**
  27201. * Constructs an `Observable` that, when subscribed, causes the configured
  27202. * `OPTIONS` request to execute on the server. This method allows the client
  27203. * to determine the supported HTTP methods and other capabilities of an endpoint,
  27204. * without implying a resource action. See the individual overloads for
  27205. * details on the return type.
  27206. */
  27207. options(url, options = {}) {
  27208. return this.request('OPTIONS', url, options);
  27209. }
  27210. /**
  27211. * Constructs an observable that, when subscribed, causes the configured
  27212. * `PATCH` request to execute on the server. See the individual overloads for
  27213. * details on the return type.
  27214. */
  27215. patch(url, body, options = {}) {
  27216. return this.request('PATCH', url, addBody(options, body));
  27217. }
  27218. /**
  27219. * Constructs an observable that, when subscribed, causes the configured
  27220. * `POST` request to execute on the server. The server responds with the location of
  27221. * the replaced resource. See the individual overloads for
  27222. * details on the return type.
  27223. */
  27224. post(url, body, options = {}) {
  27225. return this.request('POST', url, addBody(options, body));
  27226. }
  27227. /**
  27228. * Constructs an observable that, when subscribed, causes the configured
  27229. * `PUT` request to execute on the server. The `PUT` method replaces an existing resource
  27230. * with a new set of values.
  27231. * See the individual overloads for details on the return type.
  27232. */
  27233. put(url, body, options = {}) {
  27234. return this.request('PUT', url, addBody(options, body));
  27235. }
  27236. }
  27237. HttpClient.ɵfac = function HttpClient_Factory(t) {
  27238. return new (t || HttpClient)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](HttpHandler));
  27239. };
  27240. HttpClient.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({
  27241. token: HttpClient,
  27242. factory: HttpClient.ɵfac
  27243. });
  27244. (function () {
  27245. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](HttpClient, [{
  27246. type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Injectable
  27247. }], function () {
  27248. return [{
  27249. type: HttpHandler
  27250. }];
  27251. }, null);
  27252. })();
  27253. /**
  27254. * @license
  27255. * Copyright Google LLC All Rights Reserved.
  27256. *
  27257. * Use of this source code is governed by an MIT-style license that can be
  27258. * found in the LICENSE file at https://angular.io/license
  27259. */
  27260. /**
  27261. * `HttpHandler` which applies an `HttpInterceptor` to an `HttpRequest`.
  27262. *
  27263. *
  27264. */
  27265. class HttpInterceptorHandler {
  27266. constructor(next, interceptor) {
  27267. this.next = next;
  27268. this.interceptor = interceptor;
  27269. }
  27270. handle(req) {
  27271. return this.interceptor.intercept(req, this.next);
  27272. }
  27273. }
  27274. /**
  27275. * A multi-provider token that represents the array of registered
  27276. * `HttpInterceptor` objects.
  27277. *
  27278. * @publicApi
  27279. */
  27280. const HTTP_INTERCEPTORS = new _angular_core__WEBPACK_IMPORTED_MODULE_4__.InjectionToken('HTTP_INTERCEPTORS');
  27281. class NoopInterceptor {
  27282. intercept(req, next) {
  27283. return next.handle(req);
  27284. }
  27285. }
  27286. NoopInterceptor.ɵfac = function NoopInterceptor_Factory(t) {
  27287. return new (t || NoopInterceptor)();
  27288. };
  27289. NoopInterceptor.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({
  27290. token: NoopInterceptor,
  27291. factory: NoopInterceptor.ɵfac
  27292. });
  27293. (function () {
  27294. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](NoopInterceptor, [{
  27295. type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Injectable
  27296. }], null, null);
  27297. })();
  27298. /**
  27299. * @license
  27300. * Copyright Google LLC All Rights Reserved.
  27301. *
  27302. * Use of this source code is governed by an MIT-style license that can be
  27303. * found in the LICENSE file at https://angular.io/license
  27304. */
  27305. // Every request made through JSONP needs a callback name that's unique across the
  27306. // whole page. Each request is assigned an id and the callback name is constructed
  27307. // from that. The next id to be assigned is tracked in a global variable here that
  27308. // is shared among all applications on the page.
  27309. let nextRequestId = 0;
  27310. /**
  27311. * When a pending <script> is unsubscribed we'll move it to this document, so it won't be
  27312. * executed.
  27313. */
  27314. let foreignDocument; // Error text given when a JSONP script is injected, but doesn't invoke the callback
  27315. // passed in its URL.
  27316. const JSONP_ERR_NO_CALLBACK = 'JSONP injected script did not invoke callback.'; // Error text given when a request is passed to the JsonpClientBackend that doesn't
  27317. // have a request method JSONP.
  27318. const JSONP_ERR_WRONG_METHOD = 'JSONP requests must use JSONP request method.';
  27319. const JSONP_ERR_WRONG_RESPONSE_TYPE = 'JSONP requests must use Json response type.'; // Error text given when a request is passed to the JsonpClientBackend that has
  27320. // headers set
  27321. const JSONP_ERR_HEADERS_NOT_SUPPORTED = 'JSONP requests do not support headers.';
  27322. /**
  27323. * DI token/abstract type representing a map of JSONP callbacks.
  27324. *
  27325. * In the browser, this should always be the `window` object.
  27326. *
  27327. *
  27328. */
  27329. class JsonpCallbackContext {}
  27330. /**
  27331. * Processes an `HttpRequest` with the JSONP method,
  27332. * by performing JSONP style requests.
  27333. * @see `HttpHandler`
  27334. * @see `HttpXhrBackend`
  27335. *
  27336. * @publicApi
  27337. */
  27338. class JsonpClientBackend {
  27339. constructor(callbackMap, document) {
  27340. this.callbackMap = callbackMap;
  27341. this.document = document;
  27342. /**
  27343. * A resolved promise that can be used to schedule microtasks in the event handlers.
  27344. */
  27345. this.resolvedPromise = Promise.resolve();
  27346. }
  27347. /**
  27348. * Get the name of the next callback method, by incrementing the global `nextRequestId`.
  27349. */
  27350. nextCallback() {
  27351. return `ng_jsonp_callback_${nextRequestId++}`;
  27352. }
  27353. /**
  27354. * Processes a JSONP request and returns an event stream of the results.
  27355. * @param req The request object.
  27356. * @returns An observable of the response events.
  27357. *
  27358. */
  27359. handle(req) {
  27360. // Firstly, check both the method and response type. If either doesn't match
  27361. // then the request was improperly routed here and cannot be handled.
  27362. if (req.method !== 'JSONP') {
  27363. throw new Error(JSONP_ERR_WRONG_METHOD);
  27364. } else if (req.responseType !== 'json') {
  27365. throw new Error(JSONP_ERR_WRONG_RESPONSE_TYPE);
  27366. } // Check the request headers. JSONP doesn't support headers and
  27367. // cannot set any that were supplied.
  27368. if (req.headers.keys().length > 0) {
  27369. throw new Error(JSONP_ERR_HEADERS_NOT_SUPPORTED);
  27370. } // Everything else happens inside the Observable boundary.
  27371. return new rxjs__WEBPACK_IMPORTED_MODULE_5__.Observable(observer => {
  27372. // The first step to make a request is to generate the callback name, and replace the
  27373. // callback placeholder in the URL with the name. Care has to be taken here to ensure
  27374. // a trailing &, if matched, gets inserted back into the URL in the correct place.
  27375. const callback = this.nextCallback();
  27376. const url = req.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/, `=${callback}$1`); // Construct the <script> tag and point it at the URL.
  27377. const node = this.document.createElement('script');
  27378. node.src = url; // A JSONP request requires waiting for multiple callbacks. These variables
  27379. // are closed over and track state across those callbacks.
  27380. // The response object, if one has been received, or null otherwise.
  27381. let body = null; // Whether the response callback has been called.
  27382. let finished = false; // Set the response callback in this.callbackMap (which will be the window
  27383. // object in the browser. The script being loaded via the <script> tag will
  27384. // eventually call this callback.
  27385. this.callbackMap[callback] = data => {
  27386. // Data has been received from the JSONP script. Firstly, delete this callback.
  27387. delete this.callbackMap[callback]; // Set state to indicate data was received.
  27388. body = data;
  27389. finished = true;
  27390. }; // cleanup() is a utility closure that removes the <script> from the page and
  27391. // the response callback from the window. This logic is used in both the
  27392. // success, error, and cancellation paths, so it's extracted out for convenience.
  27393. const cleanup = () => {
  27394. // Remove the <script> tag if it's still on the page.
  27395. if (node.parentNode) {
  27396. node.parentNode.removeChild(node);
  27397. } // Remove the response callback from the callbackMap (window object in the
  27398. // browser).
  27399. delete this.callbackMap[callback];
  27400. }; // onLoad() is the success callback which runs after the response callback
  27401. // if the JSONP script loads successfully. The event itself is unimportant.
  27402. // If something went wrong, onLoad() may run without the response callback
  27403. // having been invoked.
  27404. const onLoad = event => {
  27405. // We wrap it in an extra Promise, to ensure the microtask
  27406. // is scheduled after the loaded endpoint has executed any potential microtask itself,
  27407. // which is not guaranteed in Internet Explorer and EdgeHTML. See issue #39496
  27408. this.resolvedPromise.then(() => {
  27409. // Cleanup the page.
  27410. cleanup(); // Check whether the response callback has run.
  27411. if (!finished) {
  27412. // It hasn't, something went wrong with the request. Return an error via
  27413. // the Observable error path. All JSONP errors have status 0.
  27414. observer.error(new HttpErrorResponse({
  27415. url,
  27416. status: 0,
  27417. statusText: 'JSONP Error',
  27418. error: new Error(JSONP_ERR_NO_CALLBACK)
  27419. }));
  27420. return;
  27421. } // Success. body either contains the response body or null if none was
  27422. // returned.
  27423. observer.next(new HttpResponse({
  27424. body,
  27425. status: 200
  27426. /* HttpStatusCode.Ok */
  27427. ,
  27428. statusText: 'OK',
  27429. url
  27430. })); // Complete the stream, the response is over.
  27431. observer.complete();
  27432. });
  27433. }; // onError() is the error callback, which runs if the script returned generates
  27434. // a Javascript error. It emits the error via the Observable error channel as
  27435. // a HttpErrorResponse.
  27436. const onError = error => {
  27437. cleanup(); // Wrap the error in a HttpErrorResponse.
  27438. observer.error(new HttpErrorResponse({
  27439. error,
  27440. status: 0,
  27441. statusText: 'JSONP Error',
  27442. url
  27443. }));
  27444. }; // Subscribe to both the success (load) and error events on the <script> tag,
  27445. // and add it to the page.
  27446. node.addEventListener('load', onLoad);
  27447. node.addEventListener('error', onError);
  27448. this.document.body.appendChild(node); // The request has now been successfully sent.
  27449. observer.next({
  27450. type: HttpEventType.Sent
  27451. }); // Cancellation handler.
  27452. return () => {
  27453. if (!finished) {
  27454. this.removeListeners(node);
  27455. } // And finally, clean up the page.
  27456. cleanup();
  27457. };
  27458. });
  27459. }
  27460. removeListeners(script) {
  27461. // Issue #34818
  27462. // Changing <script>'s ownerDocument will prevent it from execution.
  27463. // https://html.spec.whatwg.org/multipage/scripting.html#execute-the-script-block
  27464. if (!foreignDocument) {
  27465. foreignDocument = this.document.implementation.createHTMLDocument();
  27466. }
  27467. foreignDocument.adoptNode(script);
  27468. }
  27469. }
  27470. JsonpClientBackend.ɵfac = function JsonpClientBackend_Factory(t) {
  27471. return new (t || JsonpClientBackend)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](JsonpCallbackContext), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_6__.DOCUMENT));
  27472. };
  27473. JsonpClientBackend.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({
  27474. token: JsonpClientBackend,
  27475. factory: JsonpClientBackend.ɵfac
  27476. });
  27477. (function () {
  27478. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](JsonpClientBackend, [{
  27479. type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Injectable
  27480. }], function () {
  27481. return [{
  27482. type: JsonpCallbackContext
  27483. }, {
  27484. type: undefined,
  27485. decorators: [{
  27486. type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Inject,
  27487. args: [_angular_common__WEBPACK_IMPORTED_MODULE_6__.DOCUMENT]
  27488. }]
  27489. }];
  27490. }, null);
  27491. })();
  27492. /**
  27493. * Identifies requests with the method JSONP and
  27494. * shifts them to the `JsonpClientBackend`.
  27495. *
  27496. * @see `HttpInterceptor`
  27497. *
  27498. * @publicApi
  27499. */
  27500. class JsonpInterceptor {
  27501. constructor(jsonp) {
  27502. this.jsonp = jsonp;
  27503. }
  27504. /**
  27505. * Identifies and handles a given JSONP request.
  27506. * @param req The outgoing request object to handle.
  27507. * @param next The next interceptor in the chain, or the backend
  27508. * if no interceptors remain in the chain.
  27509. * @returns An observable of the event stream.
  27510. */
  27511. intercept(req, next) {
  27512. if (req.method === 'JSONP') {
  27513. return this.jsonp.handle(req);
  27514. } // Fall through for normal HTTP requests.
  27515. return next.handle(req);
  27516. }
  27517. }
  27518. JsonpInterceptor.ɵfac = function JsonpInterceptor_Factory(t) {
  27519. return new (t || JsonpInterceptor)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](JsonpClientBackend));
  27520. };
  27521. JsonpInterceptor.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({
  27522. token: JsonpInterceptor,
  27523. factory: JsonpInterceptor.ɵfac
  27524. });
  27525. (function () {
  27526. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](JsonpInterceptor, [{
  27527. type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Injectable
  27528. }], function () {
  27529. return [{
  27530. type: JsonpClientBackend
  27531. }];
  27532. }, null);
  27533. })();
  27534. const XSSI_PREFIX = /^\)\]\}',?\n/;
  27535. /**
  27536. * Determine an appropriate URL for the response, by checking either
  27537. * XMLHttpRequest.responseURL or the X-Request-URL header.
  27538. */
  27539. function getResponseUrl(xhr) {
  27540. if ('responseURL' in xhr && xhr.responseURL) {
  27541. return xhr.responseURL;
  27542. }
  27543. if (/^X-Request-URL:/m.test(xhr.getAllResponseHeaders())) {
  27544. return xhr.getResponseHeader('X-Request-URL');
  27545. }
  27546. return null;
  27547. }
  27548. /**
  27549. * Uses `XMLHttpRequest` to send requests to a backend server.
  27550. * @see `HttpHandler`
  27551. * @see `JsonpClientBackend`
  27552. *
  27553. * @publicApi
  27554. */
  27555. class HttpXhrBackend {
  27556. constructor(xhrFactory) {
  27557. this.xhrFactory = xhrFactory;
  27558. }
  27559. /**
  27560. * Processes a request and returns a stream of response events.
  27561. * @param req The request object.
  27562. * @returns An observable of the response events.
  27563. */
  27564. handle(req) {
  27565. // Quick check to give a better error message when a user attempts to use
  27566. // HttpClient.jsonp() without installing the HttpClientJsonpModule
  27567. if (req.method === 'JSONP') {
  27568. throw new Error(`Attempted to construct Jsonp request without HttpClientJsonpModule installed.`);
  27569. } // Everything happens on Observable subscription.
  27570. return new rxjs__WEBPACK_IMPORTED_MODULE_5__.Observable(observer => {
  27571. // Start by setting up the XHR object with request method, URL, and withCredentials flag.
  27572. const xhr = this.xhrFactory.build();
  27573. xhr.open(req.method, req.urlWithParams);
  27574. if (!!req.withCredentials) {
  27575. xhr.withCredentials = true;
  27576. } // Add all the requested headers.
  27577. req.headers.forEach((name, values) => xhr.setRequestHeader(name, values.join(','))); // Add an Accept header if one isn't present already.
  27578. if (!req.headers.has('Accept')) {
  27579. xhr.setRequestHeader('Accept', 'application/json, text/plain, */*');
  27580. } // Auto-detect the Content-Type header if one isn't present already.
  27581. if (!req.headers.has('Content-Type')) {
  27582. const detectedType = req.detectContentTypeHeader(); // Sometimes Content-Type detection fails.
  27583. if (detectedType !== null) {
  27584. xhr.setRequestHeader('Content-Type', detectedType);
  27585. }
  27586. } // Set the responseType if one was requested.
  27587. if (req.responseType) {
  27588. const responseType = req.responseType.toLowerCase(); // JSON responses need to be processed as text. This is because if the server
  27589. // returns an XSSI-prefixed JSON response, the browser will fail to parse it,
  27590. // xhr.response will be null, and xhr.responseText cannot be accessed to
  27591. // retrieve the prefixed JSON data in order to strip the prefix. Thus, all JSON
  27592. // is parsed by first requesting text and then applying JSON.parse.
  27593. xhr.responseType = responseType !== 'json' ? responseType : 'text';
  27594. } // Serialize the request body if one is present. If not, this will be set to null.
  27595. const reqBody = req.serializeBody(); // If progress events are enabled, response headers will be delivered
  27596. // in two events - the HttpHeaderResponse event and the full HttpResponse
  27597. // event. However, since response headers don't change in between these
  27598. // two events, it doesn't make sense to parse them twice. So headerResponse
  27599. // caches the data extracted from the response whenever it's first parsed,
  27600. // to ensure parsing isn't duplicated.
  27601. let headerResponse = null; // partialFromXhr extracts the HttpHeaderResponse from the current XMLHttpRequest
  27602. // state, and memoizes it into headerResponse.
  27603. const partialFromXhr = () => {
  27604. if (headerResponse !== null) {
  27605. return headerResponse;
  27606. }
  27607. const statusText = xhr.statusText || 'OK'; // Parse headers from XMLHttpRequest - this step is lazy.
  27608. const headers = new HttpHeaders(xhr.getAllResponseHeaders()); // Read the response URL from the XMLHttpResponse instance and fall back on the
  27609. // request URL.
  27610. const url = getResponseUrl(xhr) || req.url; // Construct the HttpHeaderResponse and memoize it.
  27611. headerResponse = new HttpHeaderResponse({
  27612. headers,
  27613. status: xhr.status,
  27614. statusText,
  27615. url
  27616. });
  27617. return headerResponse;
  27618. }; // Next, a few closures are defined for the various events which XMLHttpRequest can
  27619. // emit. This allows them to be unregistered as event listeners later.
  27620. // First up is the load event, which represents a response being fully available.
  27621. const onLoad = () => {
  27622. // Read response state from the memoized partial data.
  27623. let {
  27624. headers,
  27625. status,
  27626. statusText,
  27627. url
  27628. } = partialFromXhr(); // The body will be read out if present.
  27629. let body = null;
  27630. if (status !== 204
  27631. /* HttpStatusCode.NoContent */
  27632. ) {
  27633. // Use XMLHttpRequest.response if set, responseText otherwise.
  27634. body = typeof xhr.response === 'undefined' ? xhr.responseText : xhr.response;
  27635. } // Normalize another potential bug (this one comes from CORS).
  27636. if (status === 0) {
  27637. status = !!body ? 200
  27638. /* HttpStatusCode.Ok */
  27639. : 0;
  27640. } // ok determines whether the response will be transmitted on the event or
  27641. // error channel. Unsuccessful status codes (not 2xx) will always be errors,
  27642. // but a successful status code can still result in an error if the user
  27643. // asked for JSON data and the body cannot be parsed as such.
  27644. let ok = status >= 200 && status < 300; // Check whether the body needs to be parsed as JSON (in many cases the browser
  27645. // will have done that already).
  27646. if (req.responseType === 'json' && typeof body === 'string') {
  27647. // Save the original body, before attempting XSSI prefix stripping.
  27648. const originalBody = body;
  27649. body = body.replace(XSSI_PREFIX, '');
  27650. try {
  27651. // Attempt the parse. If it fails, a parse error should be delivered to the user.
  27652. body = body !== '' ? JSON.parse(body) : null;
  27653. } catch (error) {
  27654. // Since the JSON.parse failed, it's reasonable to assume this might not have been a
  27655. // JSON response. Restore the original body (including any XSSI prefix) to deliver
  27656. // a better error response.
  27657. body = originalBody; // If this was an error request to begin with, leave it as a string, it probably
  27658. // just isn't JSON. Otherwise, deliver the parsing error to the user.
  27659. if (ok) {
  27660. // Even though the response status was 2xx, this is still an error.
  27661. ok = false; // The parse error contains the text of the body that failed to parse.
  27662. body = {
  27663. error,
  27664. text: body
  27665. };
  27666. }
  27667. }
  27668. }
  27669. if (ok) {
  27670. // A successful response is delivered on the event stream.
  27671. observer.next(new HttpResponse({
  27672. body,
  27673. headers,
  27674. status,
  27675. statusText,
  27676. url: url || undefined
  27677. })); // The full body has been received and delivered, no further events
  27678. // are possible. This request is complete.
  27679. observer.complete();
  27680. } else {
  27681. // An unsuccessful request is delivered on the error channel.
  27682. observer.error(new HttpErrorResponse({
  27683. // The error in this case is the response body (error from the server).
  27684. error: body,
  27685. headers,
  27686. status,
  27687. statusText,
  27688. url: url || undefined
  27689. }));
  27690. }
  27691. }; // The onError callback is called when something goes wrong at the network level.
  27692. // Connection timeout, DNS error, offline, etc. These are actual errors, and are
  27693. // transmitted on the error channel.
  27694. const onError = error => {
  27695. const {
  27696. url
  27697. } = partialFromXhr();
  27698. const res = new HttpErrorResponse({
  27699. error,
  27700. status: xhr.status || 0,
  27701. statusText: xhr.statusText || 'Unknown Error',
  27702. url: url || undefined
  27703. });
  27704. observer.error(res);
  27705. }; // The sentHeaders flag tracks whether the HttpResponseHeaders event
  27706. // has been sent on the stream. This is necessary to track if progress
  27707. // is enabled since the event will be sent on only the first download
  27708. // progress event.
  27709. let sentHeaders = false; // The download progress event handler, which is only registered if
  27710. // progress events are enabled.
  27711. const onDownProgress = event => {
  27712. // Send the HttpResponseHeaders event if it hasn't been sent already.
  27713. if (!sentHeaders) {
  27714. observer.next(partialFromXhr());
  27715. sentHeaders = true;
  27716. } // Start building the download progress event to deliver on the response
  27717. // event stream.
  27718. let progressEvent = {
  27719. type: HttpEventType.DownloadProgress,
  27720. loaded: event.loaded
  27721. }; // Set the total number of bytes in the event if it's available.
  27722. if (event.lengthComputable) {
  27723. progressEvent.total = event.total;
  27724. } // If the request was for text content and a partial response is
  27725. // available on XMLHttpRequest, include it in the progress event
  27726. // to allow for streaming reads.
  27727. if (req.responseType === 'text' && !!xhr.responseText) {
  27728. progressEvent.partialText = xhr.responseText;
  27729. } // Finally, fire the event.
  27730. observer.next(progressEvent);
  27731. }; // The upload progress event handler, which is only registered if
  27732. // progress events are enabled.
  27733. const onUpProgress = event => {
  27734. // Upload progress events are simpler. Begin building the progress
  27735. // event.
  27736. let progress = {
  27737. type: HttpEventType.UploadProgress,
  27738. loaded: event.loaded
  27739. }; // If the total number of bytes being uploaded is available, include
  27740. // it.
  27741. if (event.lengthComputable) {
  27742. progress.total = event.total;
  27743. } // Send the event.
  27744. observer.next(progress);
  27745. }; // By default, register for load and error events.
  27746. xhr.addEventListener('load', onLoad);
  27747. xhr.addEventListener('error', onError);
  27748. xhr.addEventListener('timeout', onError);
  27749. xhr.addEventListener('abort', onError); // Progress events are only enabled if requested.
  27750. if (req.reportProgress) {
  27751. // Download progress is always enabled if requested.
  27752. xhr.addEventListener('progress', onDownProgress); // Upload progress depends on whether there is a body to upload.
  27753. if (reqBody !== null && xhr.upload) {
  27754. xhr.upload.addEventListener('progress', onUpProgress);
  27755. }
  27756. } // Fire the request, and notify the event stream that it was fired.
  27757. xhr.send(reqBody);
  27758. observer.next({
  27759. type: HttpEventType.Sent
  27760. }); // This is the return from the Observable function, which is the
  27761. // request cancellation handler.
  27762. return () => {
  27763. // On a cancellation, remove all registered event listeners.
  27764. xhr.removeEventListener('error', onError);
  27765. xhr.removeEventListener('abort', onError);
  27766. xhr.removeEventListener('load', onLoad);
  27767. xhr.removeEventListener('timeout', onError);
  27768. if (req.reportProgress) {
  27769. xhr.removeEventListener('progress', onDownProgress);
  27770. if (reqBody !== null && xhr.upload) {
  27771. xhr.upload.removeEventListener('progress', onUpProgress);
  27772. }
  27773. } // Finally, abort the in-flight request.
  27774. if (xhr.readyState !== xhr.DONE) {
  27775. xhr.abort();
  27776. }
  27777. };
  27778. });
  27779. }
  27780. }
  27781. HttpXhrBackend.ɵfac = function HttpXhrBackend_Factory(t) {
  27782. return new (t || HttpXhrBackend)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_6__.XhrFactory));
  27783. };
  27784. HttpXhrBackend.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({
  27785. token: HttpXhrBackend,
  27786. factory: HttpXhrBackend.ɵfac
  27787. });
  27788. (function () {
  27789. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](HttpXhrBackend, [{
  27790. type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Injectable
  27791. }], function () {
  27792. return [{
  27793. type: _angular_common__WEBPACK_IMPORTED_MODULE_6__.XhrFactory
  27794. }];
  27795. }, null);
  27796. })();
  27797. /**
  27798. * @license
  27799. * Copyright Google LLC All Rights Reserved.
  27800. *
  27801. * Use of this source code is governed by an MIT-style license that can be
  27802. * found in the LICENSE file at https://angular.io/license
  27803. */
  27804. const XSRF_COOKIE_NAME = new _angular_core__WEBPACK_IMPORTED_MODULE_4__.InjectionToken('XSRF_COOKIE_NAME');
  27805. const XSRF_HEADER_NAME = new _angular_core__WEBPACK_IMPORTED_MODULE_4__.InjectionToken('XSRF_HEADER_NAME');
  27806. /**
  27807. * Retrieves the current XSRF token to use with the next outgoing request.
  27808. *
  27809. * @publicApi
  27810. */
  27811. class HttpXsrfTokenExtractor {}
  27812. /**
  27813. * `HttpXsrfTokenExtractor` which retrieves the token from a cookie.
  27814. */
  27815. class HttpXsrfCookieExtractor {
  27816. constructor(doc, platform, cookieName) {
  27817. this.doc = doc;
  27818. this.platform = platform;
  27819. this.cookieName = cookieName;
  27820. this.lastCookieString = '';
  27821. this.lastToken = null;
  27822. /**
  27823. * @internal for testing
  27824. */
  27825. this.parseCount = 0;
  27826. }
  27827. getToken() {
  27828. if (this.platform === 'server') {
  27829. return null;
  27830. }
  27831. const cookieString = this.doc.cookie || '';
  27832. if (cookieString !== this.lastCookieString) {
  27833. this.parseCount++;
  27834. this.lastToken = (0,_angular_common__WEBPACK_IMPORTED_MODULE_6__["ɵparseCookieValue"])(cookieString, this.cookieName);
  27835. this.lastCookieString = cookieString;
  27836. }
  27837. return this.lastToken;
  27838. }
  27839. }
  27840. HttpXsrfCookieExtractor.ɵfac = function HttpXsrfCookieExtractor_Factory(t) {
  27841. return new (t || HttpXsrfCookieExtractor)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_6__.DOCUMENT), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_4__.PLATFORM_ID), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](XSRF_COOKIE_NAME));
  27842. };
  27843. HttpXsrfCookieExtractor.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({
  27844. token: HttpXsrfCookieExtractor,
  27845. factory: HttpXsrfCookieExtractor.ɵfac
  27846. });
  27847. (function () {
  27848. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](HttpXsrfCookieExtractor, [{
  27849. type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Injectable
  27850. }], function () {
  27851. return [{
  27852. type: undefined,
  27853. decorators: [{
  27854. type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Inject,
  27855. args: [_angular_common__WEBPACK_IMPORTED_MODULE_6__.DOCUMENT]
  27856. }]
  27857. }, {
  27858. type: undefined,
  27859. decorators: [{
  27860. type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Inject,
  27861. args: [_angular_core__WEBPACK_IMPORTED_MODULE_4__.PLATFORM_ID]
  27862. }]
  27863. }, {
  27864. type: undefined,
  27865. decorators: [{
  27866. type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Inject,
  27867. args: [XSRF_COOKIE_NAME]
  27868. }]
  27869. }];
  27870. }, null);
  27871. })();
  27872. /**
  27873. * `HttpInterceptor` which adds an XSRF token to eligible outgoing requests.
  27874. */
  27875. class HttpXsrfInterceptor {
  27876. constructor(tokenService, headerName) {
  27877. this.tokenService = tokenService;
  27878. this.headerName = headerName;
  27879. }
  27880. intercept(req, next) {
  27881. const lcUrl = req.url.toLowerCase(); // Skip both non-mutating requests and absolute URLs.
  27882. // Non-mutating requests don't require a token, and absolute URLs require special handling
  27883. // anyway as the cookie set
  27884. // on our origin is not the same as the token expected by another origin.
  27885. if (req.method === 'GET' || req.method === 'HEAD' || lcUrl.startsWith('http://') || lcUrl.startsWith('https://')) {
  27886. return next.handle(req);
  27887. }
  27888. const token = this.tokenService.getToken(); // Be careful not to overwrite an existing header of the same name.
  27889. if (token !== null && !req.headers.has(this.headerName)) {
  27890. req = req.clone({
  27891. headers: req.headers.set(this.headerName, token)
  27892. });
  27893. }
  27894. return next.handle(req);
  27895. }
  27896. }
  27897. HttpXsrfInterceptor.ɵfac = function HttpXsrfInterceptor_Factory(t) {
  27898. return new (t || HttpXsrfInterceptor)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](HttpXsrfTokenExtractor), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](XSRF_HEADER_NAME));
  27899. };
  27900. HttpXsrfInterceptor.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({
  27901. token: HttpXsrfInterceptor,
  27902. factory: HttpXsrfInterceptor.ɵfac
  27903. });
  27904. (function () {
  27905. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](HttpXsrfInterceptor, [{
  27906. type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Injectable
  27907. }], function () {
  27908. return [{
  27909. type: HttpXsrfTokenExtractor
  27910. }, {
  27911. type: undefined,
  27912. decorators: [{
  27913. type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Inject,
  27914. args: [XSRF_HEADER_NAME]
  27915. }]
  27916. }];
  27917. }, null);
  27918. })();
  27919. /**
  27920. * @license
  27921. * Copyright Google LLC All Rights Reserved.
  27922. *
  27923. * Use of this source code is governed by an MIT-style license that can be
  27924. * found in the LICENSE file at https://angular.io/license
  27925. */
  27926. /**
  27927. * An injectable `HttpHandler` that applies multiple interceptors
  27928. * to a request before passing it to the given `HttpBackend`.
  27929. *
  27930. * The interceptors are loaded lazily from the injector, to allow
  27931. * interceptors to themselves inject classes depending indirectly
  27932. * on `HttpInterceptingHandler` itself.
  27933. * @see `HttpInterceptor`
  27934. */
  27935. class HttpInterceptingHandler {
  27936. constructor(backend, injector) {
  27937. this.backend = backend;
  27938. this.injector = injector;
  27939. this.chain = null;
  27940. }
  27941. handle(req) {
  27942. if (this.chain === null) {
  27943. const interceptors = this.injector.get(HTTP_INTERCEPTORS, []);
  27944. this.chain = interceptors.reduceRight((next, interceptor) => new HttpInterceptorHandler(next, interceptor), this.backend);
  27945. }
  27946. return this.chain.handle(req);
  27947. }
  27948. }
  27949. HttpInterceptingHandler.ɵfac = function HttpInterceptingHandler_Factory(t) {
  27950. return new (t || HttpInterceptingHandler)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](HttpBackend), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_4__.Injector));
  27951. };
  27952. HttpInterceptingHandler.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({
  27953. token: HttpInterceptingHandler,
  27954. factory: HttpInterceptingHandler.ɵfac
  27955. });
  27956. (function () {
  27957. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](HttpInterceptingHandler, [{
  27958. type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Injectable
  27959. }], function () {
  27960. return [{
  27961. type: HttpBackend
  27962. }, {
  27963. type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Injector
  27964. }];
  27965. }, null);
  27966. })();
  27967. /**
  27968. * Constructs an `HttpHandler` that applies interceptors
  27969. * to a request before passing it to the given `HttpBackend`.
  27970. *
  27971. * Use as a factory function within `HttpClientModule`.
  27972. *
  27973. *
  27974. */
  27975. function interceptingHandler(backend, interceptors = []) {
  27976. if (!interceptors) {
  27977. return backend;
  27978. }
  27979. return interceptors.reduceRight((next, interceptor) => new HttpInterceptorHandler(next, interceptor), backend);
  27980. }
  27981. /**
  27982. * Factory function that determines where to store JSONP callbacks.
  27983. *
  27984. * Ordinarily JSONP callbacks are stored on the `window` object, but this may not exist
  27985. * in test environments. In that case, callbacks are stored on an anonymous object instead.
  27986. *
  27987. *
  27988. */
  27989. function jsonpCallbackContext() {
  27990. if (typeof window === 'object') {
  27991. return window;
  27992. }
  27993. return {};
  27994. }
  27995. /**
  27996. * Configures XSRF protection support for outgoing requests.
  27997. *
  27998. * For a server that supports a cookie-based XSRF protection system,
  27999. * use directly to configure XSRF protection with the correct
  28000. * cookie and header names.
  28001. *
  28002. * If no names are supplied, the default cookie name is `XSRF-TOKEN`
  28003. * and the default header name is `X-XSRF-TOKEN`.
  28004. *
  28005. * @publicApi
  28006. */
  28007. class HttpClientXsrfModule {
  28008. /**
  28009. * Disable the default XSRF protection.
  28010. */
  28011. static disable() {
  28012. return {
  28013. ngModule: HttpClientXsrfModule,
  28014. providers: [{
  28015. provide: HttpXsrfInterceptor,
  28016. useClass: NoopInterceptor
  28017. }]
  28018. };
  28019. }
  28020. /**
  28021. * Configure XSRF protection.
  28022. * @param options An object that can specify either or both
  28023. * cookie name or header name.
  28024. * - Cookie name default is `XSRF-TOKEN`.
  28025. * - Header name default is `X-XSRF-TOKEN`.
  28026. *
  28027. */
  28028. static withOptions(options = {}) {
  28029. return {
  28030. ngModule: HttpClientXsrfModule,
  28031. providers: [options.cookieName ? {
  28032. provide: XSRF_COOKIE_NAME,
  28033. useValue: options.cookieName
  28034. } : [], options.headerName ? {
  28035. provide: XSRF_HEADER_NAME,
  28036. useValue: options.headerName
  28037. } : []]
  28038. };
  28039. }
  28040. }
  28041. HttpClientXsrfModule.ɵfac = function HttpClientXsrfModule_Factory(t) {
  28042. return new (t || HttpClientXsrfModule)();
  28043. };
  28044. HttpClientXsrfModule.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineNgModule"]({
  28045. type: HttpClientXsrfModule
  28046. });
  28047. HttpClientXsrfModule.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjector"]({
  28048. providers: [HttpXsrfInterceptor, {
  28049. provide: HTTP_INTERCEPTORS,
  28050. useExisting: HttpXsrfInterceptor,
  28051. multi: true
  28052. }, {
  28053. provide: HttpXsrfTokenExtractor,
  28054. useClass: HttpXsrfCookieExtractor
  28055. }, {
  28056. provide: XSRF_COOKIE_NAME,
  28057. useValue: 'XSRF-TOKEN'
  28058. }, {
  28059. provide: XSRF_HEADER_NAME,
  28060. useValue: 'X-XSRF-TOKEN'
  28061. }]
  28062. });
  28063. (function () {
  28064. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](HttpClientXsrfModule, [{
  28065. type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.NgModule,
  28066. args: [{
  28067. providers: [HttpXsrfInterceptor, {
  28068. provide: HTTP_INTERCEPTORS,
  28069. useExisting: HttpXsrfInterceptor,
  28070. multi: true
  28071. }, {
  28072. provide: HttpXsrfTokenExtractor,
  28073. useClass: HttpXsrfCookieExtractor
  28074. }, {
  28075. provide: XSRF_COOKIE_NAME,
  28076. useValue: 'XSRF-TOKEN'
  28077. }, {
  28078. provide: XSRF_HEADER_NAME,
  28079. useValue: 'X-XSRF-TOKEN'
  28080. }]
  28081. }]
  28082. }], null, null);
  28083. })();
  28084. /**
  28085. * Configures the [dependency injector](guide/glossary#injector) for `HttpClient`
  28086. * with supporting services for XSRF. Automatically imported by `HttpClientModule`.
  28087. *
  28088. * You can add interceptors to the chain behind `HttpClient` by binding them to the
  28089. * multiprovider for built-in [DI token](guide/glossary#di-token) `HTTP_INTERCEPTORS`.
  28090. *
  28091. * @publicApi
  28092. */
  28093. class HttpClientModule {}
  28094. HttpClientModule.ɵfac = function HttpClientModule_Factory(t) {
  28095. return new (t || HttpClientModule)();
  28096. };
  28097. HttpClientModule.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineNgModule"]({
  28098. type: HttpClientModule,
  28099. imports: [HttpClientXsrfModule]
  28100. });
  28101. HttpClientModule.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjector"]({
  28102. providers: [HttpClient, {
  28103. provide: HttpHandler,
  28104. useClass: HttpInterceptingHandler
  28105. }, HttpXhrBackend, {
  28106. provide: HttpBackend,
  28107. useExisting: HttpXhrBackend
  28108. }],
  28109. imports: [HttpClientXsrfModule.withOptions({
  28110. cookieName: 'XSRF-TOKEN',
  28111. headerName: 'X-XSRF-TOKEN'
  28112. })]
  28113. });
  28114. (function () {
  28115. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](HttpClientModule, [{
  28116. type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.NgModule,
  28117. args: [{
  28118. /**
  28119. * Optional configuration for XSRF protection.
  28120. */
  28121. imports: [HttpClientXsrfModule.withOptions({
  28122. cookieName: 'XSRF-TOKEN',
  28123. headerName: 'X-XSRF-TOKEN'
  28124. })],
  28125. /**
  28126. * Configures the [dependency injector](guide/glossary#injector) where it is imported
  28127. * with supporting services for HTTP communications.
  28128. */
  28129. providers: [HttpClient, {
  28130. provide: HttpHandler,
  28131. useClass: HttpInterceptingHandler
  28132. }, HttpXhrBackend, {
  28133. provide: HttpBackend,
  28134. useExisting: HttpXhrBackend
  28135. }]
  28136. }]
  28137. }], null, null);
  28138. })();
  28139. /**
  28140. * Configures the [dependency injector](guide/glossary#injector) for `HttpClient`
  28141. * with supporting services for JSONP.
  28142. * Without this module, Jsonp requests reach the backend
  28143. * with method JSONP, where they are rejected.
  28144. *
  28145. * You can add interceptors to the chain behind `HttpClient` by binding them to the
  28146. * multiprovider for built-in [DI token](guide/glossary#di-token) `HTTP_INTERCEPTORS`.
  28147. *
  28148. * @publicApi
  28149. */
  28150. class HttpClientJsonpModule {}
  28151. HttpClientJsonpModule.ɵfac = function HttpClientJsonpModule_Factory(t) {
  28152. return new (t || HttpClientJsonpModule)();
  28153. };
  28154. HttpClientJsonpModule.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineNgModule"]({
  28155. type: HttpClientJsonpModule
  28156. });
  28157. HttpClientJsonpModule.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjector"]({
  28158. providers: [JsonpClientBackend, {
  28159. provide: JsonpCallbackContext,
  28160. useFactory: jsonpCallbackContext
  28161. }, {
  28162. provide: HTTP_INTERCEPTORS,
  28163. useClass: JsonpInterceptor,
  28164. multi: true
  28165. }]
  28166. });
  28167. (function () {
  28168. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](HttpClientJsonpModule, [{
  28169. type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.NgModule,
  28170. args: [{
  28171. providers: [JsonpClientBackend, {
  28172. provide: JsonpCallbackContext,
  28173. useFactory: jsonpCallbackContext
  28174. }, {
  28175. provide: HTTP_INTERCEPTORS,
  28176. useClass: JsonpInterceptor,
  28177. multi: true
  28178. }]
  28179. }]
  28180. }], null, null);
  28181. })();
  28182. /**
  28183. * @license
  28184. * Copyright Google LLC All Rights Reserved.
  28185. *
  28186. * Use of this source code is governed by an MIT-style license that can be
  28187. * found in the LICENSE file at https://angular.io/license
  28188. */
  28189. /**
  28190. * A wrapper around the `XMLHttpRequest` constructor.
  28191. *
  28192. * @publicApi
  28193. * @see `XhrFactory`
  28194. * @deprecated
  28195. * `XhrFactory` has moved, please import `XhrFactory` from `@angular/common` instead.
  28196. */
  28197. const XhrFactory = _angular_common__WEBPACK_IMPORTED_MODULE_6__.XhrFactory;
  28198. /**
  28199. * @license
  28200. * Copyright Google LLC All Rights Reserved.
  28201. *
  28202. * Use of this source code is governed by an MIT-style license that can be
  28203. * found in the LICENSE file at https://angular.io/license
  28204. */
  28205. /**
  28206. * Generated bundle index. Do not edit.
  28207. */
  28208. /***/ }),
  28209. /***/ 8305:
  28210. /*!**************************************************************!*\
  28211. !*** ./node_modules/@angular/compiler/fesm2015/compiler.mjs ***!
  28212. \**************************************************************/
  28213. /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
  28214. __webpack_require__.r(__webpack_exports__);
  28215. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  28216. /* harmony export */ "AST": () => (/* binding */ AST),
  28217. /* harmony export */ "ASTWithName": () => (/* binding */ ASTWithName),
  28218. /* harmony export */ "ASTWithSource": () => (/* binding */ ASTWithSource),
  28219. /* harmony export */ "AbsoluteSourceSpan": () => (/* binding */ AbsoluteSourceSpan),
  28220. /* harmony export */ "ArrayType": () => (/* binding */ ArrayType),
  28221. /* harmony export */ "AstMemoryEfficientTransformer": () => (/* binding */ AstMemoryEfficientTransformer),
  28222. /* harmony export */ "AstTransformer": () => (/* binding */ AstTransformer),
  28223. /* harmony export */ "Attribute": () => (/* binding */ Attribute),
  28224. /* harmony export */ "Binary": () => (/* binding */ Binary),
  28225. /* harmony export */ "BinaryOperator": () => (/* binding */ BinaryOperator),
  28226. /* harmony export */ "BinaryOperatorExpr": () => (/* binding */ BinaryOperatorExpr),
  28227. /* harmony export */ "BindingPipe": () => (/* binding */ BindingPipe),
  28228. /* harmony export */ "BoundElementProperty": () => (/* binding */ BoundElementProperty),
  28229. /* harmony export */ "BuiltinType": () => (/* binding */ BuiltinType),
  28230. /* harmony export */ "BuiltinTypeName": () => (/* binding */ BuiltinTypeName),
  28231. /* harmony export */ "CUSTOM_ELEMENTS_SCHEMA": () => (/* binding */ CUSTOM_ELEMENTS_SCHEMA),
  28232. /* harmony export */ "Call": () => (/* binding */ Call),
  28233. /* harmony export */ "Chain": () => (/* binding */ Chain),
  28234. /* harmony export */ "ChangeDetectionStrategy": () => (/* binding */ ChangeDetectionStrategy),
  28235. /* harmony export */ "CommaExpr": () => (/* binding */ CommaExpr),
  28236. /* harmony export */ "Comment": () => (/* binding */ Comment),
  28237. /* harmony export */ "CompilerConfig": () => (/* binding */ CompilerConfig),
  28238. /* harmony export */ "Conditional": () => (/* binding */ Conditional),
  28239. /* harmony export */ "ConditionalExpr": () => (/* binding */ ConditionalExpr),
  28240. /* harmony export */ "ConstantPool": () => (/* binding */ ConstantPool),
  28241. /* harmony export */ "CssSelector": () => (/* binding */ CssSelector),
  28242. /* harmony export */ "DEFAULT_INTERPOLATION_CONFIG": () => (/* binding */ DEFAULT_INTERPOLATION_CONFIG),
  28243. /* harmony export */ "DYNAMIC_TYPE": () => (/* binding */ DYNAMIC_TYPE),
  28244. /* harmony export */ "DeclareFunctionStmt": () => (/* binding */ DeclareFunctionStmt),
  28245. /* harmony export */ "DeclareVarStmt": () => (/* binding */ DeclareVarStmt),
  28246. /* harmony export */ "DomElementSchemaRegistry": () => (/* binding */ DomElementSchemaRegistry),
  28247. /* harmony export */ "EOF": () => (/* binding */ EOF),
  28248. /* harmony export */ "Element": () => (/* binding */ Element),
  28249. /* harmony export */ "ElementSchemaRegistry": () => (/* binding */ ElementSchemaRegistry),
  28250. /* harmony export */ "EmitterVisitorContext": () => (/* binding */ EmitterVisitorContext),
  28251. /* harmony export */ "EmptyExpr": () => (/* binding */ EmptyExpr),
  28252. /* harmony export */ "Expansion": () => (/* binding */ Expansion),
  28253. /* harmony export */ "ExpansionCase": () => (/* binding */ ExpansionCase),
  28254. /* harmony export */ "Expression": () => (/* binding */ Expression),
  28255. /* harmony export */ "ExpressionBinding": () => (/* binding */ ExpressionBinding),
  28256. /* harmony export */ "ExpressionStatement": () => (/* binding */ ExpressionStatement),
  28257. /* harmony export */ "ExpressionType": () => (/* binding */ ExpressionType),
  28258. /* harmony export */ "ExternalExpr": () => (/* binding */ ExternalExpr),
  28259. /* harmony export */ "ExternalReference": () => (/* binding */ ExternalReference),
  28260. /* harmony export */ "FactoryTarget": () => (/* binding */ FactoryTarget$1),
  28261. /* harmony export */ "FunctionExpr": () => (/* binding */ FunctionExpr),
  28262. /* harmony export */ "HtmlParser": () => (/* binding */ HtmlParser),
  28263. /* harmony export */ "HtmlTagDefinition": () => (/* binding */ HtmlTagDefinition),
  28264. /* harmony export */ "I18NHtmlParser": () => (/* binding */ I18NHtmlParser),
  28265. /* harmony export */ "IfStmt": () => (/* binding */ IfStmt),
  28266. /* harmony export */ "ImplicitReceiver": () => (/* binding */ ImplicitReceiver),
  28267. /* harmony export */ "InstantiateExpr": () => (/* binding */ InstantiateExpr),
  28268. /* harmony export */ "Interpolation": () => (/* binding */ Interpolation),
  28269. /* harmony export */ "InterpolationConfig": () => (/* binding */ InterpolationConfig),
  28270. /* harmony export */ "InvokeFunctionExpr": () => (/* binding */ InvokeFunctionExpr),
  28271. /* harmony export */ "JSDocComment": () => (/* binding */ JSDocComment),
  28272. /* harmony export */ "JitEvaluator": () => (/* binding */ JitEvaluator),
  28273. /* harmony export */ "KeyedRead": () => (/* binding */ KeyedRead),
  28274. /* harmony export */ "KeyedWrite": () => (/* binding */ KeyedWrite),
  28275. /* harmony export */ "LeadingComment": () => (/* binding */ LeadingComment),
  28276. /* harmony export */ "Lexer": () => (/* binding */ Lexer),
  28277. /* harmony export */ "LiteralArray": () => (/* binding */ LiteralArray),
  28278. /* harmony export */ "LiteralArrayExpr": () => (/* binding */ LiteralArrayExpr),
  28279. /* harmony export */ "LiteralExpr": () => (/* binding */ LiteralExpr),
  28280. /* harmony export */ "LiteralMap": () => (/* binding */ LiteralMap),
  28281. /* harmony export */ "LiteralMapExpr": () => (/* binding */ LiteralMapExpr),
  28282. /* harmony export */ "LiteralPrimitive": () => (/* binding */ LiteralPrimitive),
  28283. /* harmony export */ "LocalizedString": () => (/* binding */ LocalizedString),
  28284. /* harmony export */ "MapType": () => (/* binding */ MapType),
  28285. /* harmony export */ "MessageBundle": () => (/* binding */ MessageBundle),
  28286. /* harmony export */ "NONE_TYPE": () => (/* binding */ NONE_TYPE),
  28287. /* harmony export */ "NO_ERRORS_SCHEMA": () => (/* binding */ NO_ERRORS_SCHEMA),
  28288. /* harmony export */ "NodeWithI18n": () => (/* binding */ NodeWithI18n),
  28289. /* harmony export */ "NonNullAssert": () => (/* binding */ NonNullAssert),
  28290. /* harmony export */ "NotExpr": () => (/* binding */ NotExpr),
  28291. /* harmony export */ "ParseError": () => (/* binding */ ParseError),
  28292. /* harmony export */ "ParseErrorLevel": () => (/* binding */ ParseErrorLevel),
  28293. /* harmony export */ "ParseLocation": () => (/* binding */ ParseLocation),
  28294. /* harmony export */ "ParseSourceFile": () => (/* binding */ ParseSourceFile),
  28295. /* harmony export */ "ParseSourceSpan": () => (/* binding */ ParseSourceSpan),
  28296. /* harmony export */ "ParseSpan": () => (/* binding */ ParseSpan),
  28297. /* harmony export */ "ParseTreeResult": () => (/* binding */ ParseTreeResult),
  28298. /* harmony export */ "ParsedEvent": () => (/* binding */ ParsedEvent),
  28299. /* harmony export */ "ParsedProperty": () => (/* binding */ ParsedProperty),
  28300. /* harmony export */ "ParsedPropertyType": () => (/* binding */ ParsedPropertyType),
  28301. /* harmony export */ "ParsedVariable": () => (/* binding */ ParsedVariable),
  28302. /* harmony export */ "Parser": () => (/* binding */ Parser$1),
  28303. /* harmony export */ "ParserError": () => (/* binding */ ParserError),
  28304. /* harmony export */ "PrefixNot": () => (/* binding */ PrefixNot),
  28305. /* harmony export */ "PropertyRead": () => (/* binding */ PropertyRead),
  28306. /* harmony export */ "PropertyWrite": () => (/* binding */ PropertyWrite),
  28307. /* harmony export */ "R3BoundTarget": () => (/* binding */ R3BoundTarget),
  28308. /* harmony export */ "R3Identifiers": () => (/* binding */ Identifiers),
  28309. /* harmony export */ "R3SelectorScopeMode": () => (/* binding */ R3SelectorScopeMode),
  28310. /* harmony export */ "R3TargetBinder": () => (/* binding */ R3TargetBinder),
  28311. /* harmony export */ "R3TemplateDependencyKind": () => (/* binding */ R3TemplateDependencyKind),
  28312. /* harmony export */ "ReadKeyExpr": () => (/* binding */ ReadKeyExpr),
  28313. /* harmony export */ "ReadPropExpr": () => (/* binding */ ReadPropExpr),
  28314. /* harmony export */ "ReadVarExpr": () => (/* binding */ ReadVarExpr),
  28315. /* harmony export */ "RecursiveAstVisitor": () => (/* binding */ RecursiveAstVisitor),
  28316. /* harmony export */ "RecursiveVisitor": () => (/* binding */ RecursiveVisitor),
  28317. /* harmony export */ "ResourceLoader": () => (/* binding */ ResourceLoader),
  28318. /* harmony export */ "ReturnStatement": () => (/* binding */ ReturnStatement),
  28319. /* harmony export */ "STRING_TYPE": () => (/* binding */ STRING_TYPE),
  28320. /* harmony export */ "SafeCall": () => (/* binding */ SafeCall),
  28321. /* harmony export */ "SafeKeyedRead": () => (/* binding */ SafeKeyedRead),
  28322. /* harmony export */ "SafePropertyRead": () => (/* binding */ SafePropertyRead),
  28323. /* harmony export */ "SelectorContext": () => (/* binding */ SelectorContext),
  28324. /* harmony export */ "SelectorListContext": () => (/* binding */ SelectorListContext),
  28325. /* harmony export */ "SelectorMatcher": () => (/* binding */ SelectorMatcher),
  28326. /* harmony export */ "Serializer": () => (/* binding */ Serializer),
  28327. /* harmony export */ "SplitInterpolation": () => (/* binding */ SplitInterpolation),
  28328. /* harmony export */ "Statement": () => (/* binding */ Statement),
  28329. /* harmony export */ "StmtModifier": () => (/* binding */ StmtModifier),
  28330. /* harmony export */ "TagContentType": () => (/* binding */ TagContentType),
  28331. /* harmony export */ "TaggedTemplateExpr": () => (/* binding */ TaggedTemplateExpr),
  28332. /* harmony export */ "TemplateBindingParseResult": () => (/* binding */ TemplateBindingParseResult),
  28333. /* harmony export */ "TemplateLiteral": () => (/* binding */ TemplateLiteral),
  28334. /* harmony export */ "TemplateLiteralElement": () => (/* binding */ TemplateLiteralElement),
  28335. /* harmony export */ "Text": () => (/* binding */ Text),
  28336. /* harmony export */ "ThisReceiver": () => (/* binding */ ThisReceiver),
  28337. /* harmony export */ "TmplAstBoundAttribute": () => (/* binding */ BoundAttribute),
  28338. /* harmony export */ "TmplAstBoundEvent": () => (/* binding */ BoundEvent),
  28339. /* harmony export */ "TmplAstBoundText": () => (/* binding */ BoundText),
  28340. /* harmony export */ "TmplAstContent": () => (/* binding */ Content),
  28341. /* harmony export */ "TmplAstElement": () => (/* binding */ Element$1),
  28342. /* harmony export */ "TmplAstIcu": () => (/* binding */ Icu$1),
  28343. /* harmony export */ "TmplAstRecursiveVisitor": () => (/* binding */ RecursiveVisitor$1),
  28344. /* harmony export */ "TmplAstReference": () => (/* binding */ Reference),
  28345. /* harmony export */ "TmplAstTemplate": () => (/* binding */ Template),
  28346. /* harmony export */ "TmplAstText": () => (/* binding */ Text$3),
  28347. /* harmony export */ "TmplAstTextAttribute": () => (/* binding */ TextAttribute),
  28348. /* harmony export */ "TmplAstVariable": () => (/* binding */ Variable),
  28349. /* harmony export */ "Token": () => (/* binding */ Token),
  28350. /* harmony export */ "TokenType": () => (/* binding */ TokenType),
  28351. /* harmony export */ "TreeError": () => (/* binding */ TreeError),
  28352. /* harmony export */ "Type": () => (/* binding */ Type),
  28353. /* harmony export */ "TypeModifier": () => (/* binding */ TypeModifier),
  28354. /* harmony export */ "TypeofExpr": () => (/* binding */ TypeofExpr),
  28355. /* harmony export */ "Unary": () => (/* binding */ Unary),
  28356. /* harmony export */ "UnaryOperator": () => (/* binding */ UnaryOperator),
  28357. /* harmony export */ "UnaryOperatorExpr": () => (/* binding */ UnaryOperatorExpr),
  28358. /* harmony export */ "VERSION": () => (/* binding */ VERSION),
  28359. /* harmony export */ "VariableBinding": () => (/* binding */ VariableBinding),
  28360. /* harmony export */ "Version": () => (/* binding */ Version),
  28361. /* harmony export */ "ViewEncapsulation": () => (/* binding */ ViewEncapsulation),
  28362. /* harmony export */ "WrappedNodeExpr": () => (/* binding */ WrappedNodeExpr),
  28363. /* harmony export */ "WriteKeyExpr": () => (/* binding */ WriteKeyExpr),
  28364. /* harmony export */ "WritePropExpr": () => (/* binding */ WritePropExpr),
  28365. /* harmony export */ "WriteVarExpr": () => (/* binding */ WriteVarExpr),
  28366. /* harmony export */ "Xliff": () => (/* binding */ Xliff),
  28367. /* harmony export */ "Xliff2": () => (/* binding */ Xliff2),
  28368. /* harmony export */ "Xmb": () => (/* binding */ Xmb),
  28369. /* harmony export */ "XmlParser": () => (/* binding */ XmlParser),
  28370. /* harmony export */ "Xtb": () => (/* binding */ Xtb),
  28371. /* harmony export */ "_ParseAST": () => (/* binding */ _ParseAST),
  28372. /* harmony export */ "compileClassMetadata": () => (/* binding */ compileClassMetadata),
  28373. /* harmony export */ "compileComponentFromMetadata": () => (/* binding */ compileComponentFromMetadata),
  28374. /* harmony export */ "compileDeclareClassMetadata": () => (/* binding */ compileDeclareClassMetadata),
  28375. /* harmony export */ "compileDeclareComponentFromMetadata": () => (/* binding */ compileDeclareComponentFromMetadata),
  28376. /* harmony export */ "compileDeclareDirectiveFromMetadata": () => (/* binding */ compileDeclareDirectiveFromMetadata),
  28377. /* harmony export */ "compileDeclareFactoryFunction": () => (/* binding */ compileDeclareFactoryFunction),
  28378. /* harmony export */ "compileDeclareInjectableFromMetadata": () => (/* binding */ compileDeclareInjectableFromMetadata),
  28379. /* harmony export */ "compileDeclareInjectorFromMetadata": () => (/* binding */ compileDeclareInjectorFromMetadata),
  28380. /* harmony export */ "compileDeclareNgModuleFromMetadata": () => (/* binding */ compileDeclareNgModuleFromMetadata),
  28381. /* harmony export */ "compileDeclarePipeFromMetadata": () => (/* binding */ compileDeclarePipeFromMetadata),
  28382. /* harmony export */ "compileDirectiveFromMetadata": () => (/* binding */ compileDirectiveFromMetadata),
  28383. /* harmony export */ "compileFactoryFunction": () => (/* binding */ compileFactoryFunction),
  28384. /* harmony export */ "compileInjectable": () => (/* binding */ compileInjectable),
  28385. /* harmony export */ "compileInjector": () => (/* binding */ compileInjector),
  28386. /* harmony export */ "compileNgModule": () => (/* binding */ compileNgModule),
  28387. /* harmony export */ "compilePipeFromMetadata": () => (/* binding */ compilePipeFromMetadata),
  28388. /* harmony export */ "computeMsgId": () => (/* binding */ computeMsgId),
  28389. /* harmony export */ "core": () => (/* binding */ core),
  28390. /* harmony export */ "createInjectableType": () => (/* binding */ createInjectableType),
  28391. /* harmony export */ "createMayBeForwardRefExpression": () => (/* binding */ createMayBeForwardRefExpression),
  28392. /* harmony export */ "devOnlyGuardedExpression": () => (/* binding */ devOnlyGuardedExpression),
  28393. /* harmony export */ "emitDistinctChangesOnlyDefaultValue": () => (/* binding */ emitDistinctChangesOnlyDefaultValue),
  28394. /* harmony export */ "getHtmlTagDefinition": () => (/* binding */ getHtmlTagDefinition),
  28395. /* harmony export */ "getNsPrefix": () => (/* binding */ getNsPrefix),
  28396. /* harmony export */ "getSafePropertyAccessString": () => (/* binding */ getSafePropertyAccessString),
  28397. /* harmony export */ "identifierName": () => (/* binding */ identifierName),
  28398. /* harmony export */ "isIdentifier": () => (/* binding */ isIdentifier),
  28399. /* harmony export */ "isNgContainer": () => (/* binding */ isNgContainer),
  28400. /* harmony export */ "isNgContent": () => (/* binding */ isNgContent),
  28401. /* harmony export */ "isNgTemplate": () => (/* binding */ isNgTemplate),
  28402. /* harmony export */ "jsDocComment": () => (/* binding */ jsDocComment),
  28403. /* harmony export */ "leadingComment": () => (/* binding */ leadingComment),
  28404. /* harmony export */ "literalMap": () => (/* binding */ literalMap),
  28405. /* harmony export */ "makeBindingParser": () => (/* binding */ makeBindingParser),
  28406. /* harmony export */ "mergeNsAndName": () => (/* binding */ mergeNsAndName),
  28407. /* harmony export */ "outputAst": () => (/* binding */ output_ast),
  28408. /* harmony export */ "parseHostBindings": () => (/* binding */ parseHostBindings),
  28409. /* harmony export */ "parseTemplate": () => (/* binding */ parseTemplate),
  28410. /* harmony export */ "preserveWhitespacesDefault": () => (/* binding */ preserveWhitespacesDefault),
  28411. /* harmony export */ "publishFacade": () => (/* binding */ publishFacade),
  28412. /* harmony export */ "r3JitTypeSourceSpan": () => (/* binding */ r3JitTypeSourceSpan),
  28413. /* harmony export */ "sanitizeIdentifier": () => (/* binding */ sanitizeIdentifier),
  28414. /* harmony export */ "splitNsName": () => (/* binding */ splitNsName),
  28415. /* harmony export */ "verifyHostBindings": () => (/* binding */ verifyHostBindings),
  28416. /* harmony export */ "visitAll": () => (/* binding */ visitAll)
  28417. /* harmony export */ });
  28418. /**
  28419. * @license Angular v14.2.7
  28420. * (c) 2010-2022 Google LLC. https://angular.io/
  28421. * License: MIT
  28422. */
  28423. /**
  28424. * @license
  28425. * Copyright Google LLC All Rights Reserved.
  28426. *
  28427. * Use of this source code is governed by an MIT-style license that can be
  28428. * found in the LICENSE file at https://angular.io/license
  28429. */
  28430. var TagContentType;
  28431. (function (TagContentType) {
  28432. TagContentType[TagContentType["RAW_TEXT"] = 0] = "RAW_TEXT";
  28433. TagContentType[TagContentType["ESCAPABLE_RAW_TEXT"] = 1] = "ESCAPABLE_RAW_TEXT";
  28434. TagContentType[TagContentType["PARSABLE_DATA"] = 2] = "PARSABLE_DATA";
  28435. })(TagContentType || (TagContentType = {}));
  28436. function splitNsName(elementName) {
  28437. if (elementName[0] != ':') {
  28438. return [null, elementName];
  28439. }
  28440. const colonIndex = elementName.indexOf(':', 1);
  28441. if (colonIndex === -1) {
  28442. throw new Error(`Unsupported format "${elementName}" expecting ":namespace:name"`);
  28443. }
  28444. return [elementName.slice(1, colonIndex), elementName.slice(colonIndex + 1)];
  28445. } // `<ng-container>` tags work the same regardless the namespace
  28446. function isNgContainer(tagName) {
  28447. return splitNsName(tagName)[1] === 'ng-container';
  28448. } // `<ng-content>` tags work the same regardless the namespace
  28449. function isNgContent(tagName) {
  28450. return splitNsName(tagName)[1] === 'ng-content';
  28451. } // `<ng-template>` tags work the same regardless the namespace
  28452. function isNgTemplate(tagName) {
  28453. return splitNsName(tagName)[1] === 'ng-template';
  28454. }
  28455. function getNsPrefix(fullName) {
  28456. return fullName === null ? null : splitNsName(fullName)[0];
  28457. }
  28458. function mergeNsAndName(prefix, localName) {
  28459. return prefix ? `:${prefix}:${localName}` : localName;
  28460. }
  28461. /**
  28462. * @license
  28463. * Copyright Google LLC All Rights Reserved.
  28464. *
  28465. * Use of this source code is governed by an MIT-style license that can be
  28466. * found in the LICENSE file at https://angular.io/license
  28467. */
  28468. class HtmlTagDefinition {
  28469. constructor({
  28470. closedByChildren,
  28471. implicitNamespacePrefix,
  28472. contentType = TagContentType.PARSABLE_DATA,
  28473. closedByParent = false,
  28474. isVoid = false,
  28475. ignoreFirstLf = false,
  28476. preventNamespaceInheritance = false
  28477. } = {}) {
  28478. this.closedByChildren = {};
  28479. this.closedByParent = false;
  28480. this.canSelfClose = false;
  28481. if (closedByChildren && closedByChildren.length > 0) {
  28482. closedByChildren.forEach(tagName => this.closedByChildren[tagName] = true);
  28483. }
  28484. this.isVoid = isVoid;
  28485. this.closedByParent = closedByParent || isVoid;
  28486. this.implicitNamespacePrefix = implicitNamespacePrefix || null;
  28487. this.contentType = contentType;
  28488. this.ignoreFirstLf = ignoreFirstLf;
  28489. this.preventNamespaceInheritance = preventNamespaceInheritance;
  28490. }
  28491. isClosedByChild(name) {
  28492. return this.isVoid || name.toLowerCase() in this.closedByChildren;
  28493. }
  28494. getContentType(prefix) {
  28495. if (typeof this.contentType === 'object') {
  28496. const overrideType = prefix === undefined ? undefined : this.contentType[prefix];
  28497. return overrideType !== null && overrideType !== void 0 ? overrideType : this.contentType.default;
  28498. }
  28499. return this.contentType;
  28500. }
  28501. }
  28502. let _DEFAULT_TAG_DEFINITION; // see https://www.w3.org/TR/html51/syntax.html#optional-tags
  28503. // This implementation does not fully conform to the HTML5 spec.
  28504. let TAG_DEFINITIONS;
  28505. function getHtmlTagDefinition(tagName) {
  28506. var _a, _b;
  28507. if (!TAG_DEFINITIONS) {
  28508. _DEFAULT_TAG_DEFINITION = new HtmlTagDefinition();
  28509. TAG_DEFINITIONS = {
  28510. 'base': new HtmlTagDefinition({
  28511. isVoid: true
  28512. }),
  28513. 'meta': new HtmlTagDefinition({
  28514. isVoid: true
  28515. }),
  28516. 'area': new HtmlTagDefinition({
  28517. isVoid: true
  28518. }),
  28519. 'embed': new HtmlTagDefinition({
  28520. isVoid: true
  28521. }),
  28522. 'link': new HtmlTagDefinition({
  28523. isVoid: true
  28524. }),
  28525. 'img': new HtmlTagDefinition({
  28526. isVoid: true
  28527. }),
  28528. 'input': new HtmlTagDefinition({
  28529. isVoid: true
  28530. }),
  28531. 'param': new HtmlTagDefinition({
  28532. isVoid: true
  28533. }),
  28534. 'hr': new HtmlTagDefinition({
  28535. isVoid: true
  28536. }),
  28537. 'br': new HtmlTagDefinition({
  28538. isVoid: true
  28539. }),
  28540. 'source': new HtmlTagDefinition({
  28541. isVoid: true
  28542. }),
  28543. 'track': new HtmlTagDefinition({
  28544. isVoid: true
  28545. }),
  28546. 'wbr': new HtmlTagDefinition({
  28547. isVoid: true
  28548. }),
  28549. 'p': new HtmlTagDefinition({
  28550. closedByChildren: ['address', 'article', 'aside', 'blockquote', 'div', 'dl', 'fieldset', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header', 'hgroup', 'hr', 'main', 'nav', 'ol', 'p', 'pre', 'section', 'table', 'ul'],
  28551. closedByParent: true
  28552. }),
  28553. 'thead': new HtmlTagDefinition({
  28554. closedByChildren: ['tbody', 'tfoot']
  28555. }),
  28556. 'tbody': new HtmlTagDefinition({
  28557. closedByChildren: ['tbody', 'tfoot'],
  28558. closedByParent: true
  28559. }),
  28560. 'tfoot': new HtmlTagDefinition({
  28561. closedByChildren: ['tbody'],
  28562. closedByParent: true
  28563. }),
  28564. 'tr': new HtmlTagDefinition({
  28565. closedByChildren: ['tr'],
  28566. closedByParent: true
  28567. }),
  28568. 'td': new HtmlTagDefinition({
  28569. closedByChildren: ['td', 'th'],
  28570. closedByParent: true
  28571. }),
  28572. 'th': new HtmlTagDefinition({
  28573. closedByChildren: ['td', 'th'],
  28574. closedByParent: true
  28575. }),
  28576. 'col': new HtmlTagDefinition({
  28577. isVoid: true
  28578. }),
  28579. 'svg': new HtmlTagDefinition({
  28580. implicitNamespacePrefix: 'svg'
  28581. }),
  28582. 'foreignObject': new HtmlTagDefinition({
  28583. // Usually the implicit namespace here would be redundant since it will be inherited from
  28584. // the parent `svg`, but we have to do it for `foreignObject`, because the way the parser
  28585. // works is that the parent node of an end tag is its own start tag which means that
  28586. // the `preventNamespaceInheritance` on `foreignObject` would have it default to the
  28587. // implicit namespace which is `html`, unless specified otherwise.
  28588. implicitNamespacePrefix: 'svg',
  28589. // We want to prevent children of foreignObject from inheriting its namespace, because
  28590. // the point of the element is to allow nodes from other namespaces to be inserted.
  28591. preventNamespaceInheritance: true
  28592. }),
  28593. 'math': new HtmlTagDefinition({
  28594. implicitNamespacePrefix: 'math'
  28595. }),
  28596. 'li': new HtmlTagDefinition({
  28597. closedByChildren: ['li'],
  28598. closedByParent: true
  28599. }),
  28600. 'dt': new HtmlTagDefinition({
  28601. closedByChildren: ['dt', 'dd']
  28602. }),
  28603. 'dd': new HtmlTagDefinition({
  28604. closedByChildren: ['dt', 'dd'],
  28605. closedByParent: true
  28606. }),
  28607. 'rb': new HtmlTagDefinition({
  28608. closedByChildren: ['rb', 'rt', 'rtc', 'rp'],
  28609. closedByParent: true
  28610. }),
  28611. 'rt': new HtmlTagDefinition({
  28612. closedByChildren: ['rb', 'rt', 'rtc', 'rp'],
  28613. closedByParent: true
  28614. }),
  28615. 'rtc': new HtmlTagDefinition({
  28616. closedByChildren: ['rb', 'rtc', 'rp'],
  28617. closedByParent: true
  28618. }),
  28619. 'rp': new HtmlTagDefinition({
  28620. closedByChildren: ['rb', 'rt', 'rtc', 'rp'],
  28621. closedByParent: true
  28622. }),
  28623. 'optgroup': new HtmlTagDefinition({
  28624. closedByChildren: ['optgroup'],
  28625. closedByParent: true
  28626. }),
  28627. 'option': new HtmlTagDefinition({
  28628. closedByChildren: ['option', 'optgroup'],
  28629. closedByParent: true
  28630. }),
  28631. 'pre': new HtmlTagDefinition({
  28632. ignoreFirstLf: true
  28633. }),
  28634. 'listing': new HtmlTagDefinition({
  28635. ignoreFirstLf: true
  28636. }),
  28637. 'style': new HtmlTagDefinition({
  28638. contentType: TagContentType.RAW_TEXT
  28639. }),
  28640. 'script': new HtmlTagDefinition({
  28641. contentType: TagContentType.RAW_TEXT
  28642. }),
  28643. 'title': new HtmlTagDefinition({
  28644. // The browser supports two separate `title` tags which have to use
  28645. // a different content type: `HTMLTitleElement` and `SVGTitleElement`
  28646. contentType: {
  28647. default: TagContentType.ESCAPABLE_RAW_TEXT,
  28648. svg: TagContentType.PARSABLE_DATA
  28649. }
  28650. }),
  28651. 'textarea': new HtmlTagDefinition({
  28652. contentType: TagContentType.ESCAPABLE_RAW_TEXT,
  28653. ignoreFirstLf: true
  28654. })
  28655. };
  28656. } // We have to make both a case-sensitive and a case-insensitive lookup, because
  28657. // HTML tag names are case insensitive, whereas some SVG tags are case sensitive.
  28658. return (_b = (_a = TAG_DEFINITIONS[tagName]) !== null && _a !== void 0 ? _a : TAG_DEFINITIONS[tagName.toLowerCase()]) !== null && _b !== void 0 ? _b : _DEFAULT_TAG_DEFINITION;
  28659. }
  28660. /**
  28661. * @license
  28662. * Copyright Google LLC All Rights Reserved.
  28663. *
  28664. * Use of this source code is governed by an MIT-style license that can be
  28665. * found in the LICENSE file at https://angular.io/license
  28666. */
  28667. const _SELECTOR_REGEXP = new RegExp('(\\:not\\()|' + // 1: ":not("
  28668. '(([\\.\\#]?)[-\\w]+)|' + // 2: "tag"; 3: "."/"#";
  28669. // "-" should appear first in the regexp below as FF31 parses "[.-\w]" as a range
  28670. // 4: attribute; 5: attribute_string; 6: attribute_value
  28671. '(?:\\[([-.\\w*\\\\$]+)(?:=([\"\']?)([^\\]\"\']*)\\5)?\\])|' + // "[name]", "[name=value]",
  28672. // "[name="value"]",
  28673. // "[name='value']"
  28674. '(\\))|' + // 7: ")"
  28675. '(\\s*,\\s*)', // 8: ","
  28676. 'g');
  28677. /**
  28678. * A css selector contains an element name,
  28679. * css classes and attribute/value pairs with the purpose
  28680. * of selecting subsets out of them.
  28681. */
  28682. class CssSelector {
  28683. constructor() {
  28684. this.element = null;
  28685. this.classNames = [];
  28686. /**
  28687. * The selectors are encoded in pairs where:
  28688. * - even locations are attribute names
  28689. * - odd locations are attribute values.
  28690. *
  28691. * Example:
  28692. * Selector: `[key1=value1][key2]` would parse to:
  28693. * ```
  28694. * ['key1', 'value1', 'key2', '']
  28695. * ```
  28696. */
  28697. this.attrs = [];
  28698. this.notSelectors = [];
  28699. }
  28700. static parse(selector) {
  28701. const results = [];
  28702. const _addResult = (res, cssSel) => {
  28703. if (cssSel.notSelectors.length > 0 && !cssSel.element && cssSel.classNames.length == 0 && cssSel.attrs.length == 0) {
  28704. cssSel.element = '*';
  28705. }
  28706. res.push(cssSel);
  28707. };
  28708. let cssSelector = new CssSelector();
  28709. let match;
  28710. let current = cssSelector;
  28711. let inNot = false;
  28712. _SELECTOR_REGEXP.lastIndex = 0;
  28713. while (match = _SELECTOR_REGEXP.exec(selector)) {
  28714. if (match[1
  28715. /* SelectorRegexp.NOT */
  28716. ]) {
  28717. if (inNot) {
  28718. throw new Error('Nesting :not in a selector is not allowed');
  28719. }
  28720. inNot = true;
  28721. current = new CssSelector();
  28722. cssSelector.notSelectors.push(current);
  28723. }
  28724. const tag = match[2
  28725. /* SelectorRegexp.TAG */
  28726. ];
  28727. if (tag) {
  28728. const prefix = match[3
  28729. /* SelectorRegexp.PREFIX */
  28730. ];
  28731. if (prefix === '#') {
  28732. // #hash
  28733. current.addAttribute('id', tag.slice(1));
  28734. } else if (prefix === '.') {
  28735. // Class
  28736. current.addClassName(tag.slice(1));
  28737. } else {
  28738. // Element
  28739. current.setElement(tag);
  28740. }
  28741. }
  28742. const attribute = match[4
  28743. /* SelectorRegexp.ATTRIBUTE */
  28744. ];
  28745. if (attribute) {
  28746. current.addAttribute(current.unescapeAttribute(attribute), match[6
  28747. /* SelectorRegexp.ATTRIBUTE_VALUE */
  28748. ]);
  28749. }
  28750. if (match[7
  28751. /* SelectorRegexp.NOT_END */
  28752. ]) {
  28753. inNot = false;
  28754. current = cssSelector;
  28755. }
  28756. if (match[8
  28757. /* SelectorRegexp.SEPARATOR */
  28758. ]) {
  28759. if (inNot) {
  28760. throw new Error('Multiple selectors in :not are not supported');
  28761. }
  28762. _addResult(results, cssSelector);
  28763. cssSelector = current = new CssSelector();
  28764. }
  28765. }
  28766. _addResult(results, cssSelector);
  28767. return results;
  28768. }
  28769. /**
  28770. * Unescape `\$` sequences from the CSS attribute selector.
  28771. *
  28772. * This is needed because `$` can have a special meaning in CSS selectors,
  28773. * but we might want to match an attribute that contains `$`.
  28774. * [MDN web link for more
  28775. * info](https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors).
  28776. * @param attr the attribute to unescape.
  28777. * @returns the unescaped string.
  28778. */
  28779. unescapeAttribute(attr) {
  28780. let result = '';
  28781. let escaping = false;
  28782. for (let i = 0; i < attr.length; i++) {
  28783. const char = attr.charAt(i);
  28784. if (char === '\\') {
  28785. escaping = true;
  28786. continue;
  28787. }
  28788. if (char === '$' && !escaping) {
  28789. throw new Error(`Error in attribute selector "${attr}". ` + `Unescaped "$" is not supported. Please escape with "\\$".`);
  28790. }
  28791. escaping = false;
  28792. result += char;
  28793. }
  28794. return result;
  28795. }
  28796. /**
  28797. * Escape `$` sequences from the CSS attribute selector.
  28798. *
  28799. * This is needed because `$` can have a special meaning in CSS selectors,
  28800. * with this method we are escaping `$` with `\$'.
  28801. * [MDN web link for more
  28802. * info](https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors).
  28803. * @param attr the attribute to escape.
  28804. * @returns the escaped string.
  28805. */
  28806. escapeAttribute(attr) {
  28807. return attr.replace(/\\/g, '\\\\').replace(/\$/g, '\\$');
  28808. }
  28809. isElementSelector() {
  28810. return this.hasElementSelector() && this.classNames.length == 0 && this.attrs.length == 0 && this.notSelectors.length === 0;
  28811. }
  28812. hasElementSelector() {
  28813. return !!this.element;
  28814. }
  28815. setElement(element = null) {
  28816. this.element = element;
  28817. }
  28818. /** Gets a template string for an element that matches the selector. */
  28819. getMatchingElementTemplate() {
  28820. const tagName = this.element || 'div';
  28821. const classAttr = this.classNames.length > 0 ? ` class="${this.classNames.join(' ')}"` : '';
  28822. let attrs = '';
  28823. for (let i = 0; i < this.attrs.length; i += 2) {
  28824. const attrName = this.attrs[i];
  28825. const attrValue = this.attrs[i + 1] !== '' ? `="${this.attrs[i + 1]}"` : '';
  28826. attrs += ` ${attrName}${attrValue}`;
  28827. }
  28828. return getHtmlTagDefinition(tagName).isVoid ? `<${tagName}${classAttr}${attrs}/>` : `<${tagName}${classAttr}${attrs}></${tagName}>`;
  28829. }
  28830. getAttrs() {
  28831. const result = [];
  28832. if (this.classNames.length > 0) {
  28833. result.push('class', this.classNames.join(' '));
  28834. }
  28835. return result.concat(this.attrs);
  28836. }
  28837. addAttribute(name, value = '') {
  28838. this.attrs.push(name, value && value.toLowerCase() || '');
  28839. }
  28840. addClassName(name) {
  28841. this.classNames.push(name.toLowerCase());
  28842. }
  28843. toString() {
  28844. let res = this.element || '';
  28845. if (this.classNames) {
  28846. this.classNames.forEach(klass => res += `.${klass}`);
  28847. }
  28848. if (this.attrs) {
  28849. for (let i = 0; i < this.attrs.length; i += 2) {
  28850. const name = this.escapeAttribute(this.attrs[i]);
  28851. const value = this.attrs[i + 1];
  28852. res += `[${name}${value ? '=' + value : ''}]`;
  28853. }
  28854. }
  28855. this.notSelectors.forEach(notSelector => res += `:not(${notSelector})`);
  28856. return res;
  28857. }
  28858. }
  28859. /**
  28860. * Reads a list of CssSelectors and allows to calculate which ones
  28861. * are contained in a given CssSelector.
  28862. */
  28863. class SelectorMatcher {
  28864. constructor() {
  28865. this._elementMap = new Map();
  28866. this._elementPartialMap = new Map();
  28867. this._classMap = new Map();
  28868. this._classPartialMap = new Map();
  28869. this._attrValueMap = new Map();
  28870. this._attrValuePartialMap = new Map();
  28871. this._listContexts = [];
  28872. }
  28873. static createNotMatcher(notSelectors) {
  28874. const notMatcher = new SelectorMatcher();
  28875. notMatcher.addSelectables(notSelectors, null);
  28876. return notMatcher;
  28877. }
  28878. addSelectables(cssSelectors, callbackCtxt) {
  28879. let listContext = null;
  28880. if (cssSelectors.length > 1) {
  28881. listContext = new SelectorListContext(cssSelectors);
  28882. this._listContexts.push(listContext);
  28883. }
  28884. for (let i = 0; i < cssSelectors.length; i++) {
  28885. this._addSelectable(cssSelectors[i], callbackCtxt, listContext);
  28886. }
  28887. }
  28888. /**
  28889. * Add an object that can be found later on by calling `match`.
  28890. * @param cssSelector A css selector
  28891. * @param callbackCtxt An opaque object that will be given to the callback of the `match` function
  28892. */
  28893. _addSelectable(cssSelector, callbackCtxt, listContext) {
  28894. let matcher = this;
  28895. const element = cssSelector.element;
  28896. const classNames = cssSelector.classNames;
  28897. const attrs = cssSelector.attrs;
  28898. const selectable = new SelectorContext(cssSelector, callbackCtxt, listContext);
  28899. if (element) {
  28900. const isTerminal = attrs.length === 0 && classNames.length === 0;
  28901. if (isTerminal) {
  28902. this._addTerminal(matcher._elementMap, element, selectable);
  28903. } else {
  28904. matcher = this._addPartial(matcher._elementPartialMap, element);
  28905. }
  28906. }
  28907. if (classNames) {
  28908. for (let i = 0; i < classNames.length; i++) {
  28909. const isTerminal = attrs.length === 0 && i === classNames.length - 1;
  28910. const className = classNames[i];
  28911. if (isTerminal) {
  28912. this._addTerminal(matcher._classMap, className, selectable);
  28913. } else {
  28914. matcher = this._addPartial(matcher._classPartialMap, className);
  28915. }
  28916. }
  28917. }
  28918. if (attrs) {
  28919. for (let i = 0; i < attrs.length; i += 2) {
  28920. const isTerminal = i === attrs.length - 2;
  28921. const name = attrs[i];
  28922. const value = attrs[i + 1];
  28923. if (isTerminal) {
  28924. const terminalMap = matcher._attrValueMap;
  28925. let terminalValuesMap = terminalMap.get(name);
  28926. if (!terminalValuesMap) {
  28927. terminalValuesMap = new Map();
  28928. terminalMap.set(name, terminalValuesMap);
  28929. }
  28930. this._addTerminal(terminalValuesMap, value, selectable);
  28931. } else {
  28932. const partialMap = matcher._attrValuePartialMap;
  28933. let partialValuesMap = partialMap.get(name);
  28934. if (!partialValuesMap) {
  28935. partialValuesMap = new Map();
  28936. partialMap.set(name, partialValuesMap);
  28937. }
  28938. matcher = this._addPartial(partialValuesMap, value);
  28939. }
  28940. }
  28941. }
  28942. }
  28943. _addTerminal(map, name, selectable) {
  28944. let terminalList = map.get(name);
  28945. if (!terminalList) {
  28946. terminalList = [];
  28947. map.set(name, terminalList);
  28948. }
  28949. terminalList.push(selectable);
  28950. }
  28951. _addPartial(map, name) {
  28952. let matcher = map.get(name);
  28953. if (!matcher) {
  28954. matcher = new SelectorMatcher();
  28955. map.set(name, matcher);
  28956. }
  28957. return matcher;
  28958. }
  28959. /**
  28960. * Find the objects that have been added via `addSelectable`
  28961. * whose css selector is contained in the given css selector.
  28962. * @param cssSelector A css selector
  28963. * @param matchedCallback This callback will be called with the object handed into `addSelectable`
  28964. * @return boolean true if a match was found
  28965. */
  28966. match(cssSelector, matchedCallback) {
  28967. let result = false;
  28968. const element = cssSelector.element;
  28969. const classNames = cssSelector.classNames;
  28970. const attrs = cssSelector.attrs;
  28971. for (let i = 0; i < this._listContexts.length; i++) {
  28972. this._listContexts[i].alreadyMatched = false;
  28973. }
  28974. result = this._matchTerminal(this._elementMap, element, cssSelector, matchedCallback) || result;
  28975. result = this._matchPartial(this._elementPartialMap, element, cssSelector, matchedCallback) || result;
  28976. if (classNames) {
  28977. for (let i = 0; i < classNames.length; i++) {
  28978. const className = classNames[i];
  28979. result = this._matchTerminal(this._classMap, className, cssSelector, matchedCallback) || result;
  28980. result = this._matchPartial(this._classPartialMap, className, cssSelector, matchedCallback) || result;
  28981. }
  28982. }
  28983. if (attrs) {
  28984. for (let i = 0; i < attrs.length; i += 2) {
  28985. const name = attrs[i];
  28986. const value = attrs[i + 1];
  28987. const terminalValuesMap = this._attrValueMap.get(name);
  28988. if (value) {
  28989. result = this._matchTerminal(terminalValuesMap, '', cssSelector, matchedCallback) || result;
  28990. }
  28991. result = this._matchTerminal(terminalValuesMap, value, cssSelector, matchedCallback) || result;
  28992. const partialValuesMap = this._attrValuePartialMap.get(name);
  28993. if (value) {
  28994. result = this._matchPartial(partialValuesMap, '', cssSelector, matchedCallback) || result;
  28995. }
  28996. result = this._matchPartial(partialValuesMap, value, cssSelector, matchedCallback) || result;
  28997. }
  28998. }
  28999. return result;
  29000. }
  29001. /** @internal */
  29002. _matchTerminal(map, name, cssSelector, matchedCallback) {
  29003. if (!map || typeof name !== 'string') {
  29004. return false;
  29005. }
  29006. let selectables = map.get(name) || [];
  29007. const starSelectables = map.get('*');
  29008. if (starSelectables) {
  29009. selectables = selectables.concat(starSelectables);
  29010. }
  29011. if (selectables.length === 0) {
  29012. return false;
  29013. }
  29014. let selectable;
  29015. let result = false;
  29016. for (let i = 0; i < selectables.length; i++) {
  29017. selectable = selectables[i];
  29018. result = selectable.finalize(cssSelector, matchedCallback) || result;
  29019. }
  29020. return result;
  29021. }
  29022. /** @internal */
  29023. _matchPartial(map, name, cssSelector, matchedCallback) {
  29024. if (!map || typeof name !== 'string') {
  29025. return false;
  29026. }
  29027. const nestedSelector = map.get(name);
  29028. if (!nestedSelector) {
  29029. return false;
  29030. } // TODO(perf): get rid of recursion and measure again
  29031. // TODO(perf): don't pass the whole selector into the recursion,
  29032. // but only the not processed parts
  29033. return nestedSelector.match(cssSelector, matchedCallback);
  29034. }
  29035. }
  29036. class SelectorListContext {
  29037. constructor(selectors) {
  29038. this.selectors = selectors;
  29039. this.alreadyMatched = false;
  29040. }
  29041. } // Store context to pass back selector and context when a selector is matched
  29042. class SelectorContext {
  29043. constructor(selector, cbContext, listContext) {
  29044. this.selector = selector;
  29045. this.cbContext = cbContext;
  29046. this.listContext = listContext;
  29047. this.notSelectors = selector.notSelectors;
  29048. }
  29049. finalize(cssSelector, callback) {
  29050. let result = true;
  29051. if (this.notSelectors.length > 0 && (!this.listContext || !this.listContext.alreadyMatched)) {
  29052. const notMatcher = SelectorMatcher.createNotMatcher(this.notSelectors);
  29053. result = !notMatcher.match(cssSelector, null);
  29054. }
  29055. if (result && callback && (!this.listContext || !this.listContext.alreadyMatched)) {
  29056. if (this.listContext) {
  29057. this.listContext.alreadyMatched = true;
  29058. }
  29059. callback(this.selector, this.cbContext);
  29060. }
  29061. return result;
  29062. }
  29063. }
  29064. /**
  29065. * @license
  29066. * Copyright Google LLC All Rights Reserved.
  29067. *
  29068. * Use of this source code is governed by an MIT-style license that can be
  29069. * found in the LICENSE file at https://angular.io/license
  29070. */
  29071. // Stores the default value of `emitDistinctChangesOnly` when the `emitDistinctChangesOnly` is not
  29072. // explicitly set.
  29073. const emitDistinctChangesOnlyDefaultValue = true;
  29074. var ViewEncapsulation;
  29075. (function (ViewEncapsulation) {
  29076. ViewEncapsulation[ViewEncapsulation["Emulated"] = 0] = "Emulated"; // Historically the 1 value was for `Native` encapsulation which has been removed as of v11.
  29077. ViewEncapsulation[ViewEncapsulation["None"] = 2] = "None";
  29078. ViewEncapsulation[ViewEncapsulation["ShadowDom"] = 3] = "ShadowDom";
  29079. })(ViewEncapsulation || (ViewEncapsulation = {}));
  29080. var ChangeDetectionStrategy;
  29081. (function (ChangeDetectionStrategy) {
  29082. ChangeDetectionStrategy[ChangeDetectionStrategy["OnPush"] = 0] = "OnPush";
  29083. ChangeDetectionStrategy[ChangeDetectionStrategy["Default"] = 1] = "Default";
  29084. })(ChangeDetectionStrategy || (ChangeDetectionStrategy = {}));
  29085. const CUSTOM_ELEMENTS_SCHEMA = {
  29086. name: 'custom-elements'
  29087. };
  29088. const NO_ERRORS_SCHEMA = {
  29089. name: 'no-errors-schema'
  29090. };
  29091. const Type$1 = Function;
  29092. var SecurityContext;
  29093. (function (SecurityContext) {
  29094. SecurityContext[SecurityContext["NONE"] = 0] = "NONE";
  29095. SecurityContext[SecurityContext["HTML"] = 1] = "HTML";
  29096. SecurityContext[SecurityContext["STYLE"] = 2] = "STYLE";
  29097. SecurityContext[SecurityContext["SCRIPT"] = 3] = "SCRIPT";
  29098. SecurityContext[SecurityContext["URL"] = 4] = "URL";
  29099. SecurityContext[SecurityContext["RESOURCE_URL"] = 5] = "RESOURCE_URL";
  29100. })(SecurityContext || (SecurityContext = {}));
  29101. var MissingTranslationStrategy;
  29102. (function (MissingTranslationStrategy) {
  29103. MissingTranslationStrategy[MissingTranslationStrategy["Error"] = 0] = "Error";
  29104. MissingTranslationStrategy[MissingTranslationStrategy["Warning"] = 1] = "Warning";
  29105. MissingTranslationStrategy[MissingTranslationStrategy["Ignore"] = 2] = "Ignore";
  29106. })(MissingTranslationStrategy || (MissingTranslationStrategy = {}));
  29107. function parserSelectorToSimpleSelector(selector) {
  29108. const classes = selector.classNames && selector.classNames.length ? [8
  29109. /* SelectorFlags.CLASS */
  29110. , ...selector.classNames] : [];
  29111. const elementName = selector.element && selector.element !== '*' ? selector.element : '';
  29112. return [elementName, ...selector.attrs, ...classes];
  29113. }
  29114. function parserSelectorToNegativeSelector(selector) {
  29115. const classes = selector.classNames && selector.classNames.length ? [8
  29116. /* SelectorFlags.CLASS */
  29117. , ...selector.classNames] : [];
  29118. if (selector.element) {
  29119. return [1
  29120. /* SelectorFlags.NOT */
  29121. | 4
  29122. /* SelectorFlags.ELEMENT */
  29123. , selector.element, ...selector.attrs, ...classes];
  29124. } else if (selector.attrs.length) {
  29125. return [1
  29126. /* SelectorFlags.NOT */
  29127. | 2
  29128. /* SelectorFlags.ATTRIBUTE */
  29129. , ...selector.attrs, ...classes];
  29130. } else {
  29131. return selector.classNames && selector.classNames.length ? [1
  29132. /* SelectorFlags.NOT */
  29133. | 8
  29134. /* SelectorFlags.CLASS */
  29135. , ...selector.classNames] : [];
  29136. }
  29137. }
  29138. function parserSelectorToR3Selector(selector) {
  29139. const positive = parserSelectorToSimpleSelector(selector);
  29140. const negative = selector.notSelectors && selector.notSelectors.length ? selector.notSelectors.map(notSelector => parserSelectorToNegativeSelector(notSelector)) : [];
  29141. return positive.concat(...negative);
  29142. }
  29143. function parseSelectorToR3Selector(selector) {
  29144. return selector ? CssSelector.parse(selector).map(parserSelectorToR3Selector) : [];
  29145. }
  29146. var core = /*#__PURE__*/Object.freeze({
  29147. __proto__: null,
  29148. emitDistinctChangesOnlyDefaultValue: emitDistinctChangesOnlyDefaultValue,
  29149. get ViewEncapsulation() {
  29150. return ViewEncapsulation;
  29151. },
  29152. get ChangeDetectionStrategy() {
  29153. return ChangeDetectionStrategy;
  29154. },
  29155. CUSTOM_ELEMENTS_SCHEMA: CUSTOM_ELEMENTS_SCHEMA,
  29156. NO_ERRORS_SCHEMA: NO_ERRORS_SCHEMA,
  29157. Type: Type$1,
  29158. get SecurityContext() {
  29159. return SecurityContext;
  29160. },
  29161. get MissingTranslationStrategy() {
  29162. return MissingTranslationStrategy;
  29163. },
  29164. parseSelectorToR3Selector: parseSelectorToR3Selector
  29165. });
  29166. /**
  29167. * @license
  29168. * Copyright Google LLC All Rights Reserved.
  29169. *
  29170. * Use of this source code is governed by an MIT-style license that can be
  29171. * found in the LICENSE file at https://angular.io/license
  29172. */
  29173. const DASH_CASE_REGEXP = /-+([a-z0-9])/g;
  29174. function dashCaseToCamelCase(input) {
  29175. return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
  29176. }
  29177. function splitAtColon(input, defaultValues) {
  29178. return _splitAt(input, ':', defaultValues);
  29179. }
  29180. function splitAtPeriod(input, defaultValues) {
  29181. return _splitAt(input, '.', defaultValues);
  29182. }
  29183. function _splitAt(input, character, defaultValues) {
  29184. const characterIndex = input.indexOf(character);
  29185. if (characterIndex == -1) return defaultValues;
  29186. return [input.slice(0, characterIndex).trim(), input.slice(characterIndex + 1).trim()];
  29187. }
  29188. function noUndefined(val) {
  29189. return val === undefined ? null : val;
  29190. }
  29191. function error(msg) {
  29192. throw new Error(`Internal Error: ${msg}`);
  29193. } // Escape characters that have a special meaning in Regular Expressions
  29194. function escapeRegExp(s) {
  29195. return s.replace(/([.*+?^=!:${}()|[\]\/\\])/g, '\\$1');
  29196. }
  29197. function utf8Encode(str) {
  29198. let encoded = [];
  29199. for (let index = 0; index < str.length; index++) {
  29200. let codePoint = str.charCodeAt(index); // decode surrogate
  29201. // see https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae
  29202. if (codePoint >= 0xd800 && codePoint <= 0xdbff && str.length > index + 1) {
  29203. const low = str.charCodeAt(index + 1);
  29204. if (low >= 0xdc00 && low <= 0xdfff) {
  29205. index++;
  29206. codePoint = (codePoint - 0xd800 << 10) + low - 0xdc00 + 0x10000;
  29207. }
  29208. }
  29209. if (codePoint <= 0x7f) {
  29210. encoded.push(codePoint);
  29211. } else if (codePoint <= 0x7ff) {
  29212. encoded.push(codePoint >> 6 & 0x1F | 0xc0, codePoint & 0x3f | 0x80);
  29213. } else if (codePoint <= 0xffff) {
  29214. encoded.push(codePoint >> 12 | 0xe0, codePoint >> 6 & 0x3f | 0x80, codePoint & 0x3f | 0x80);
  29215. } else if (codePoint <= 0x1fffff) {
  29216. encoded.push(codePoint >> 18 & 0x07 | 0xf0, codePoint >> 12 & 0x3f | 0x80, codePoint >> 6 & 0x3f | 0x80, codePoint & 0x3f | 0x80);
  29217. }
  29218. }
  29219. return encoded;
  29220. }
  29221. function stringify(token) {
  29222. if (typeof token === 'string') {
  29223. return token;
  29224. }
  29225. if (Array.isArray(token)) {
  29226. return '[' + token.map(stringify).join(', ') + ']';
  29227. }
  29228. if (token == null) {
  29229. return '' + token;
  29230. }
  29231. if (token.overriddenName) {
  29232. return `${token.overriddenName}`;
  29233. }
  29234. if (token.name) {
  29235. return `${token.name}`;
  29236. }
  29237. if (!token.toString) {
  29238. return 'object';
  29239. } // WARNING: do not try to `JSON.stringify(token)` here
  29240. // see https://github.com/angular/angular/issues/23440
  29241. const res = token.toString();
  29242. if (res == null) {
  29243. return '' + res;
  29244. }
  29245. const newLineIndex = res.indexOf('\n');
  29246. return newLineIndex === -1 ? res : res.substring(0, newLineIndex);
  29247. }
  29248. class Version {
  29249. constructor(full) {
  29250. this.full = full;
  29251. const splits = full.split('.');
  29252. this.major = splits[0];
  29253. this.minor = splits[1];
  29254. this.patch = splits.slice(2).join('.');
  29255. }
  29256. } // Check `global` first, because in Node tests both `global` and `window` may be defined and our
  29257. // `_global` variable should point to the NodeJS `global` in that case. Note: Typeof/Instanceof
  29258. // checks are considered side-effects in Terser. We explicitly mark this as side-effect free:
  29259. // https://github.com/terser/terser/issues/250.
  29260. const _global = /* @__PURE__ */(() => typeof global !== 'undefined' && global || typeof window !== 'undefined' && window || typeof self !== 'undefined' && typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope && self)();
  29261. function newArray(size, value) {
  29262. const list = [];
  29263. for (let i = 0; i < size; i++) {
  29264. list.push(value);
  29265. }
  29266. return list;
  29267. }
  29268. /**
  29269. * Partitions a given array into 2 arrays, based on a boolean value returned by the condition
  29270. * function.
  29271. *
  29272. * @param arr Input array that should be partitioned
  29273. * @param conditionFn Condition function that is called for each item in a given array and returns a
  29274. * boolean value.
  29275. */
  29276. function partitionArray(arr, conditionFn) {
  29277. const truthy = [];
  29278. const falsy = [];
  29279. for (const item of arr) {
  29280. (conditionFn(item) ? truthy : falsy).push(item);
  29281. }
  29282. return [truthy, falsy];
  29283. }
  29284. /**
  29285. * @license
  29286. * Copyright Google LLC All Rights Reserved.
  29287. *
  29288. * Use of this source code is governed by an MIT-style license that can be
  29289. * found in the LICENSE file at https://angular.io/license
  29290. */
  29291. /**
  29292. * Represents a big integer using a buffer of its individual digits, with the least significant
  29293. * digit stored at the beginning of the array (little endian).
  29294. *
  29295. * For performance reasons, each instance is mutable. The addition operation can be done in-place
  29296. * to reduce memory pressure of allocation for the digits array.
  29297. */
  29298. class BigInteger {
  29299. /**
  29300. * Creates a big integer using its individual digits in little endian storage.
  29301. */
  29302. constructor(digits) {
  29303. this.digits = digits;
  29304. }
  29305. static zero() {
  29306. return new BigInteger([0]);
  29307. }
  29308. static one() {
  29309. return new BigInteger([1]);
  29310. }
  29311. /**
  29312. * Creates a clone of this instance.
  29313. */
  29314. clone() {
  29315. return new BigInteger(this.digits.slice());
  29316. }
  29317. /**
  29318. * Returns a new big integer with the sum of `this` and `other` as its value. This does not mutate
  29319. * `this` but instead returns a new instance, unlike `addToSelf`.
  29320. */
  29321. add(other) {
  29322. const result = this.clone();
  29323. result.addToSelf(other);
  29324. return result;
  29325. }
  29326. /**
  29327. * Adds `other` to the instance itself, thereby mutating its value.
  29328. */
  29329. addToSelf(other) {
  29330. const maxNrOfDigits = Math.max(this.digits.length, other.digits.length);
  29331. let carry = 0;
  29332. for (let i = 0; i < maxNrOfDigits; i++) {
  29333. let digitSum = carry;
  29334. if (i < this.digits.length) {
  29335. digitSum += this.digits[i];
  29336. }
  29337. if (i < other.digits.length) {
  29338. digitSum += other.digits[i];
  29339. }
  29340. if (digitSum >= 10) {
  29341. this.digits[i] = digitSum - 10;
  29342. carry = 1;
  29343. } else {
  29344. this.digits[i] = digitSum;
  29345. carry = 0;
  29346. }
  29347. } // Apply a remaining carry if needed.
  29348. if (carry > 0) {
  29349. this.digits[maxNrOfDigits] = 1;
  29350. }
  29351. }
  29352. /**
  29353. * Builds the decimal string representation of the big integer. As this is stored in
  29354. * little endian, the digits are concatenated in reverse order.
  29355. */
  29356. toString() {
  29357. let res = '';
  29358. for (let i = this.digits.length - 1; i >= 0; i--) {
  29359. res += this.digits[i];
  29360. }
  29361. return res;
  29362. }
  29363. }
  29364. /**
  29365. * Represents a big integer which is optimized for multiplication operations, as its power-of-twos
  29366. * are memoized. See `multiplyBy()` for details on the multiplication algorithm.
  29367. */
  29368. class BigIntForMultiplication {
  29369. constructor(value) {
  29370. this.powerOfTwos = [value];
  29371. }
  29372. /**
  29373. * Returns the big integer itself.
  29374. */
  29375. getValue() {
  29376. return this.powerOfTwos[0];
  29377. }
  29378. /**
  29379. * Computes the value for `num * b`, where `num` is a JS number and `b` is a big integer. The
  29380. * value for `b` is represented by a storage model that is optimized for this computation.
  29381. *
  29382. * This operation is implemented in N(log2(num)) by continuous halving of the number, where the
  29383. * least-significant bit (LSB) is tested in each iteration. If the bit is set, the bit's index is
  29384. * used as exponent into the power-of-two multiplication of `b`.
  29385. *
  29386. * As an example, consider the multiplication num=42, b=1337. In binary 42 is 0b00101010 and the
  29387. * algorithm unrolls into the following iterations:
  29388. *
  29389. * Iteration | num | LSB | b * 2^iter | Add? | product
  29390. * -----------|------------|------|------------|------|--------
  29391. * 0 | 0b00101010 | 0 | 1337 | No | 0
  29392. * 1 | 0b00010101 | 1 | 2674 | Yes | 2674
  29393. * 2 | 0b00001010 | 0 | 5348 | No | 2674
  29394. * 3 | 0b00000101 | 1 | 10696 | Yes | 13370
  29395. * 4 | 0b00000010 | 0 | 21392 | No | 13370
  29396. * 5 | 0b00000001 | 1 | 42784 | Yes | 56154
  29397. * 6 | 0b00000000 | 0 | 85568 | No | 56154
  29398. *
  29399. * The computed product of 56154 is indeed the correct result.
  29400. *
  29401. * The `BigIntForMultiplication` representation for a big integer provides memoized access to the
  29402. * power-of-two values to reduce the workload in computing those values.
  29403. */
  29404. multiplyBy(num) {
  29405. const product = BigInteger.zero();
  29406. this.multiplyByAndAddTo(num, product);
  29407. return product;
  29408. }
  29409. /**
  29410. * See `multiplyBy()` for details. This function allows for the computed product to be added
  29411. * directly to the provided result big integer.
  29412. */
  29413. multiplyByAndAddTo(num, result) {
  29414. for (let exponent = 0; num !== 0; num = num >>> 1, exponent++) {
  29415. if (num & 1) {
  29416. const value = this.getMultipliedByPowerOfTwo(exponent);
  29417. result.addToSelf(value);
  29418. }
  29419. }
  29420. }
  29421. /**
  29422. * Computes and memoizes the big integer value for `this.number * 2^exponent`.
  29423. */
  29424. getMultipliedByPowerOfTwo(exponent) {
  29425. // Compute the powers up until the requested exponent, where each value is computed from its
  29426. // predecessor. This is simple as `this.number * 2^(exponent - 1)` only has to be doubled (i.e.
  29427. // added to itself) to reach `this.number * 2^exponent`.
  29428. for (let i = this.powerOfTwos.length; i <= exponent; i++) {
  29429. const previousPower = this.powerOfTwos[i - 1];
  29430. this.powerOfTwos[i] = previousPower.add(previousPower);
  29431. }
  29432. return this.powerOfTwos[exponent];
  29433. }
  29434. }
  29435. /**
  29436. * Represents an exponentiation operation for the provided base, of which exponents are computed and
  29437. * memoized. The results are represented by a `BigIntForMultiplication` which is tailored for
  29438. * multiplication operations by memoizing the power-of-twos. This effectively results in a matrix
  29439. * representation that is lazily computed upon request.
  29440. */
  29441. class BigIntExponentiation {
  29442. constructor(base) {
  29443. this.base = base;
  29444. this.exponents = [new BigIntForMultiplication(BigInteger.one())];
  29445. }
  29446. /**
  29447. * Compute the value for `this.base^exponent`, resulting in a big integer that is optimized for
  29448. * further multiplication operations.
  29449. */
  29450. toThePowerOf(exponent) {
  29451. // Compute the results up until the requested exponent, where every value is computed from its
  29452. // predecessor. This is because `this.base^(exponent - 1)` only has to be multiplied by `base`
  29453. // to reach `this.base^exponent`.
  29454. for (let i = this.exponents.length; i <= exponent; i++) {
  29455. const value = this.exponents[i - 1].multiplyBy(this.base);
  29456. this.exponents[i] = new BigIntForMultiplication(value);
  29457. }
  29458. return this.exponents[exponent];
  29459. }
  29460. }
  29461. /**
  29462. * @license
  29463. * Copyright Google LLC All Rights Reserved.
  29464. *
  29465. * Use of this source code is governed by an MIT-style license that can be
  29466. * found in the LICENSE file at https://angular.io/license
  29467. */
  29468. /**
  29469. * Return the message id or compute it using the XLIFF1 digest.
  29470. */
  29471. function digest$1(message) {
  29472. return message.id || computeDigest(message);
  29473. }
  29474. /**
  29475. * Compute the message id using the XLIFF1 digest.
  29476. */
  29477. function computeDigest(message) {
  29478. return sha1(serializeNodes(message.nodes).join('') + `[${message.meaning}]`);
  29479. }
  29480. /**
  29481. * Return the message id or compute it using the XLIFF2/XMB/$localize digest.
  29482. */
  29483. function decimalDigest(message) {
  29484. return message.id || computeDecimalDigest(message);
  29485. }
  29486. /**
  29487. * Compute the message id using the XLIFF2/XMB/$localize digest.
  29488. */
  29489. function computeDecimalDigest(message) {
  29490. const visitor = new _SerializerIgnoreIcuExpVisitor();
  29491. const parts = message.nodes.map(a => a.visit(visitor, null));
  29492. return computeMsgId(parts.join(''), message.meaning);
  29493. }
  29494. /**
  29495. * Serialize the i18n ast to something xml-like in order to generate an UID.
  29496. *
  29497. * The visitor is also used in the i18n parser tests
  29498. *
  29499. * @internal
  29500. */
  29501. class _SerializerVisitor {
  29502. visitText(text, context) {
  29503. return text.value;
  29504. }
  29505. visitContainer(container, context) {
  29506. return `[${container.children.map(child => child.visit(this)).join(', ')}]`;
  29507. }
  29508. visitIcu(icu, context) {
  29509. const strCases = Object.keys(icu.cases).map(k => `${k} {${icu.cases[k].visit(this)}}`);
  29510. return `{${icu.expression}, ${icu.type}, ${strCases.join(', ')}}`;
  29511. }
  29512. visitTagPlaceholder(ph, context) {
  29513. return ph.isVoid ? `<ph tag name="${ph.startName}"/>` : `<ph tag name="${ph.startName}">${ph.children.map(child => child.visit(this)).join(', ')}</ph name="${ph.closeName}">`;
  29514. }
  29515. visitPlaceholder(ph, context) {
  29516. return ph.value ? `<ph name="${ph.name}">${ph.value}</ph>` : `<ph name="${ph.name}"/>`;
  29517. }
  29518. visitIcuPlaceholder(ph, context) {
  29519. return `<ph icu name="${ph.name}">${ph.value.visit(this)}</ph>`;
  29520. }
  29521. }
  29522. const serializerVisitor$1 = new _SerializerVisitor();
  29523. function serializeNodes(nodes) {
  29524. return nodes.map(a => a.visit(serializerVisitor$1, null));
  29525. }
  29526. /**
  29527. * Serialize the i18n ast to something xml-like in order to generate an UID.
  29528. *
  29529. * Ignore the ICU expressions so that message IDs stays identical if only the expression changes.
  29530. *
  29531. * @internal
  29532. */
  29533. class _SerializerIgnoreIcuExpVisitor extends _SerializerVisitor {
  29534. visitIcu(icu, context) {
  29535. let strCases = Object.keys(icu.cases).map(k => `${k} {${icu.cases[k].visit(this)}}`); // Do not take the expression into account
  29536. return `{${icu.type}, ${strCases.join(', ')}}`;
  29537. }
  29538. }
  29539. /**
  29540. * Compute the SHA1 of the given string
  29541. *
  29542. * see https://csrc.nist.gov/publications/fips/fips180-4/fips-180-4.pdf
  29543. *
  29544. * WARNING: this function has not been designed not tested with security in mind.
  29545. * DO NOT USE IT IN A SECURITY SENSITIVE CONTEXT.
  29546. */
  29547. function sha1(str) {
  29548. const utf8 = utf8Encode(str);
  29549. const words32 = bytesToWords32(utf8, Endian.Big);
  29550. const len = utf8.length * 8;
  29551. const w = newArray(80);
  29552. let a = 0x67452301,
  29553. b = 0xefcdab89,
  29554. c = 0x98badcfe,
  29555. d = 0x10325476,
  29556. e = 0xc3d2e1f0;
  29557. words32[len >> 5] |= 0x80 << 24 - len % 32;
  29558. words32[(len + 64 >> 9 << 4) + 15] = len;
  29559. for (let i = 0; i < words32.length; i += 16) {
  29560. const h0 = a,
  29561. h1 = b,
  29562. h2 = c,
  29563. h3 = d,
  29564. h4 = e;
  29565. for (let j = 0; j < 80; j++) {
  29566. if (j < 16) {
  29567. w[j] = words32[i + j];
  29568. } else {
  29569. w[j] = rol32(w[j - 3] ^ w[j - 8] ^ w[j - 14] ^ w[j - 16], 1);
  29570. }
  29571. const fkVal = fk(j, b, c, d);
  29572. const f = fkVal[0];
  29573. const k = fkVal[1];
  29574. const temp = [rol32(a, 5), f, e, k, w[j]].reduce(add32);
  29575. e = d;
  29576. d = c;
  29577. c = rol32(b, 30);
  29578. b = a;
  29579. a = temp;
  29580. }
  29581. a = add32(a, h0);
  29582. b = add32(b, h1);
  29583. c = add32(c, h2);
  29584. d = add32(d, h3);
  29585. e = add32(e, h4);
  29586. }
  29587. return bytesToHexString(words32ToByteString([a, b, c, d, e]));
  29588. }
  29589. function fk(index, b, c, d) {
  29590. if (index < 20) {
  29591. return [b & c | ~b & d, 0x5a827999];
  29592. }
  29593. if (index < 40) {
  29594. return [b ^ c ^ d, 0x6ed9eba1];
  29595. }
  29596. if (index < 60) {
  29597. return [b & c | b & d | c & d, 0x8f1bbcdc];
  29598. }
  29599. return [b ^ c ^ d, 0xca62c1d6];
  29600. }
  29601. /**
  29602. * Compute the fingerprint of the given string
  29603. *
  29604. * The output is 64 bit number encoded as a decimal string
  29605. *
  29606. * based on:
  29607. * https://github.com/google/closure-compiler/blob/master/src/com/google/javascript/jscomp/GoogleJsMessageIdGenerator.java
  29608. */
  29609. function fingerprint(str) {
  29610. const utf8 = utf8Encode(str);
  29611. let hi = hash32(utf8, 0);
  29612. let lo = hash32(utf8, 102072);
  29613. if (hi == 0 && (lo == 0 || lo == 1)) {
  29614. hi = hi ^ 0x130f9bef;
  29615. lo = lo ^ -0x6b5f56d8;
  29616. }
  29617. return [hi, lo];
  29618. }
  29619. function computeMsgId(msg, meaning = '') {
  29620. let msgFingerprint = fingerprint(msg);
  29621. if (meaning) {
  29622. const meaningFingerprint = fingerprint(meaning);
  29623. msgFingerprint = add64(rol64(msgFingerprint, 1), meaningFingerprint);
  29624. }
  29625. const hi = msgFingerprint[0];
  29626. const lo = msgFingerprint[1];
  29627. return wordsToDecimalString(hi & 0x7fffffff, lo);
  29628. }
  29629. function hash32(bytes, c) {
  29630. let a = 0x9e3779b9,
  29631. b = 0x9e3779b9;
  29632. let i;
  29633. const len = bytes.length;
  29634. for (i = 0; i + 12 <= len; i += 12) {
  29635. a = add32(a, wordAt(bytes, i, Endian.Little));
  29636. b = add32(b, wordAt(bytes, i + 4, Endian.Little));
  29637. c = add32(c, wordAt(bytes, i + 8, Endian.Little));
  29638. const res = mix(a, b, c);
  29639. a = res[0], b = res[1], c = res[2];
  29640. }
  29641. a = add32(a, wordAt(bytes, i, Endian.Little));
  29642. b = add32(b, wordAt(bytes, i + 4, Endian.Little)); // the first byte of c is reserved for the length
  29643. c = add32(c, len);
  29644. c = add32(c, wordAt(bytes, i + 8, Endian.Little) << 8);
  29645. return mix(a, b, c)[2];
  29646. } // clang-format off
  29647. function mix(a, b, c) {
  29648. a = sub32(a, b);
  29649. a = sub32(a, c);
  29650. a ^= c >>> 13;
  29651. b = sub32(b, c);
  29652. b = sub32(b, a);
  29653. b ^= a << 8;
  29654. c = sub32(c, a);
  29655. c = sub32(c, b);
  29656. c ^= b >>> 13;
  29657. a = sub32(a, b);
  29658. a = sub32(a, c);
  29659. a ^= c >>> 12;
  29660. b = sub32(b, c);
  29661. b = sub32(b, a);
  29662. b ^= a << 16;
  29663. c = sub32(c, a);
  29664. c = sub32(c, b);
  29665. c ^= b >>> 5;
  29666. a = sub32(a, b);
  29667. a = sub32(a, c);
  29668. a ^= c >>> 3;
  29669. b = sub32(b, c);
  29670. b = sub32(b, a);
  29671. b ^= a << 10;
  29672. c = sub32(c, a);
  29673. c = sub32(c, b);
  29674. c ^= b >>> 15;
  29675. return [a, b, c];
  29676. } // clang-format on
  29677. // Utils
  29678. var Endian;
  29679. (function (Endian) {
  29680. Endian[Endian["Little"] = 0] = "Little";
  29681. Endian[Endian["Big"] = 1] = "Big";
  29682. })(Endian || (Endian = {}));
  29683. function add32(a, b) {
  29684. return add32to64(a, b)[1];
  29685. }
  29686. function add32to64(a, b) {
  29687. const low = (a & 0xffff) + (b & 0xffff);
  29688. const high = (a >>> 16) + (b >>> 16) + (low >>> 16);
  29689. return [high >>> 16, high << 16 | low & 0xffff];
  29690. }
  29691. function add64(a, b) {
  29692. const ah = a[0],
  29693. al = a[1];
  29694. const bh = b[0],
  29695. bl = b[1];
  29696. const result = add32to64(al, bl);
  29697. const carry = result[0];
  29698. const l = result[1];
  29699. const h = add32(add32(ah, bh), carry);
  29700. return [h, l];
  29701. }
  29702. function sub32(a, b) {
  29703. const low = (a & 0xffff) - (b & 0xffff);
  29704. const high = (a >> 16) - (b >> 16) + (low >> 16);
  29705. return high << 16 | low & 0xffff;
  29706. } // Rotate a 32b number left `count` position
  29707. function rol32(a, count) {
  29708. return a << count | a >>> 32 - count;
  29709. } // Rotate a 64b number left `count` position
  29710. function rol64(num, count) {
  29711. const hi = num[0],
  29712. lo = num[1];
  29713. const h = hi << count | lo >>> 32 - count;
  29714. const l = lo << count | hi >>> 32 - count;
  29715. return [h, l];
  29716. }
  29717. function bytesToWords32(bytes, endian) {
  29718. const size = bytes.length + 3 >>> 2;
  29719. const words32 = [];
  29720. for (let i = 0; i < size; i++) {
  29721. words32[i] = wordAt(bytes, i * 4, endian);
  29722. }
  29723. return words32;
  29724. }
  29725. function byteAt(bytes, index) {
  29726. return index >= bytes.length ? 0 : bytes[index];
  29727. }
  29728. function wordAt(bytes, index, endian) {
  29729. let word = 0;
  29730. if (endian === Endian.Big) {
  29731. for (let i = 0; i < 4; i++) {
  29732. word += byteAt(bytes, index + i) << 24 - 8 * i;
  29733. }
  29734. } else {
  29735. for (let i = 0; i < 4; i++) {
  29736. word += byteAt(bytes, index + i) << 8 * i;
  29737. }
  29738. }
  29739. return word;
  29740. }
  29741. function words32ToByteString(words32) {
  29742. return words32.reduce((bytes, word) => bytes.concat(word32ToByteString(word)), []);
  29743. }
  29744. function word32ToByteString(word) {
  29745. let bytes = [];
  29746. for (let i = 0; i < 4; i++) {
  29747. bytes.push(word >>> 8 * (3 - i) & 0xff);
  29748. }
  29749. return bytes;
  29750. }
  29751. function bytesToHexString(bytes) {
  29752. let hex = '';
  29753. for (let i = 0; i < bytes.length; i++) {
  29754. const b = byteAt(bytes, i);
  29755. hex += (b >>> 4).toString(16) + (b & 0x0f).toString(16);
  29756. }
  29757. return hex.toLowerCase();
  29758. }
  29759. /**
  29760. * Create a shared exponentiation pool for base-256 computations. This shared pool provides memoized
  29761. * power-of-256 results with memoized power-of-two computations for efficient multiplication.
  29762. *
  29763. * For our purposes, this can be safely stored as a global without memory concerns. The reason is
  29764. * that we encode two words, so only need the 0th (for the low word) and 4th (for the high word)
  29765. * exponent.
  29766. */
  29767. const base256 = new BigIntExponentiation(256);
  29768. /**
  29769. * Represents two 32-bit words as a single decimal number. This requires a big integer storage
  29770. * model as JS numbers are not accurate enough to represent the 64-bit number.
  29771. *
  29772. * Based on https://www.danvk.org/hex2dec.html
  29773. */
  29774. function wordsToDecimalString(hi, lo) {
  29775. // Encode the four bytes in lo in the lower digits of the decimal number.
  29776. // Note: the multiplication results in lo itself but represented by a big integer using its
  29777. // decimal digits.
  29778. const decimal = base256.toThePowerOf(0).multiplyBy(lo); // Encode the four bytes in hi above the four lo bytes. lo is a maximum of (2^8)^4, which is why
  29779. // this multiplication factor is applied.
  29780. base256.toThePowerOf(4).multiplyByAndAddTo(hi, decimal);
  29781. return decimal.toString();
  29782. }
  29783. /**
  29784. * @license
  29785. * Copyright Google LLC All Rights Reserved.
  29786. *
  29787. * Use of this source code is governed by an MIT-style license that can be
  29788. * found in the LICENSE file at https://angular.io/license
  29789. */
  29790. //// Types
  29791. var TypeModifier;
  29792. (function (TypeModifier) {
  29793. TypeModifier[TypeModifier["None"] = 0] = "None";
  29794. TypeModifier[TypeModifier["Const"] = 1] = "Const";
  29795. })(TypeModifier || (TypeModifier = {}));
  29796. class Type {
  29797. constructor(modifiers = TypeModifier.None) {
  29798. this.modifiers = modifiers;
  29799. }
  29800. hasModifier(modifier) {
  29801. return (this.modifiers & modifier) !== 0;
  29802. }
  29803. }
  29804. var BuiltinTypeName;
  29805. (function (BuiltinTypeName) {
  29806. BuiltinTypeName[BuiltinTypeName["Dynamic"] = 0] = "Dynamic";
  29807. BuiltinTypeName[BuiltinTypeName["Bool"] = 1] = "Bool";
  29808. BuiltinTypeName[BuiltinTypeName["String"] = 2] = "String";
  29809. BuiltinTypeName[BuiltinTypeName["Int"] = 3] = "Int";
  29810. BuiltinTypeName[BuiltinTypeName["Number"] = 4] = "Number";
  29811. BuiltinTypeName[BuiltinTypeName["Function"] = 5] = "Function";
  29812. BuiltinTypeName[BuiltinTypeName["Inferred"] = 6] = "Inferred";
  29813. BuiltinTypeName[BuiltinTypeName["None"] = 7] = "None";
  29814. })(BuiltinTypeName || (BuiltinTypeName = {}));
  29815. class BuiltinType extends Type {
  29816. constructor(name, modifiers) {
  29817. super(modifiers);
  29818. this.name = name;
  29819. }
  29820. visitType(visitor, context) {
  29821. return visitor.visitBuiltinType(this, context);
  29822. }
  29823. }
  29824. class ExpressionType extends Type {
  29825. constructor(value, modifiers, typeParams = null) {
  29826. super(modifiers);
  29827. this.value = value;
  29828. this.typeParams = typeParams;
  29829. }
  29830. visitType(visitor, context) {
  29831. return visitor.visitExpressionType(this, context);
  29832. }
  29833. }
  29834. class ArrayType extends Type {
  29835. constructor(of, modifiers) {
  29836. super(modifiers);
  29837. this.of = of;
  29838. }
  29839. visitType(visitor, context) {
  29840. return visitor.visitArrayType(this, context);
  29841. }
  29842. }
  29843. class MapType extends Type {
  29844. constructor(valueType, modifiers) {
  29845. super(modifiers);
  29846. this.valueType = valueType || null;
  29847. }
  29848. visitType(visitor, context) {
  29849. return visitor.visitMapType(this, context);
  29850. }
  29851. }
  29852. const DYNAMIC_TYPE = new BuiltinType(BuiltinTypeName.Dynamic);
  29853. const INFERRED_TYPE = new BuiltinType(BuiltinTypeName.Inferred);
  29854. const BOOL_TYPE = new BuiltinType(BuiltinTypeName.Bool);
  29855. const INT_TYPE = new BuiltinType(BuiltinTypeName.Int);
  29856. const NUMBER_TYPE = new BuiltinType(BuiltinTypeName.Number);
  29857. const STRING_TYPE = new BuiltinType(BuiltinTypeName.String);
  29858. const FUNCTION_TYPE = new BuiltinType(BuiltinTypeName.Function);
  29859. const NONE_TYPE = new BuiltinType(BuiltinTypeName.None); ///// Expressions
  29860. var UnaryOperator;
  29861. (function (UnaryOperator) {
  29862. UnaryOperator[UnaryOperator["Minus"] = 0] = "Minus";
  29863. UnaryOperator[UnaryOperator["Plus"] = 1] = "Plus";
  29864. })(UnaryOperator || (UnaryOperator = {}));
  29865. var BinaryOperator;
  29866. (function (BinaryOperator) {
  29867. BinaryOperator[BinaryOperator["Equals"] = 0] = "Equals";
  29868. BinaryOperator[BinaryOperator["NotEquals"] = 1] = "NotEquals";
  29869. BinaryOperator[BinaryOperator["Identical"] = 2] = "Identical";
  29870. BinaryOperator[BinaryOperator["NotIdentical"] = 3] = "NotIdentical";
  29871. BinaryOperator[BinaryOperator["Minus"] = 4] = "Minus";
  29872. BinaryOperator[BinaryOperator["Plus"] = 5] = "Plus";
  29873. BinaryOperator[BinaryOperator["Divide"] = 6] = "Divide";
  29874. BinaryOperator[BinaryOperator["Multiply"] = 7] = "Multiply";
  29875. BinaryOperator[BinaryOperator["Modulo"] = 8] = "Modulo";
  29876. BinaryOperator[BinaryOperator["And"] = 9] = "And";
  29877. BinaryOperator[BinaryOperator["Or"] = 10] = "Or";
  29878. BinaryOperator[BinaryOperator["BitwiseAnd"] = 11] = "BitwiseAnd";
  29879. BinaryOperator[BinaryOperator["Lower"] = 12] = "Lower";
  29880. BinaryOperator[BinaryOperator["LowerEquals"] = 13] = "LowerEquals";
  29881. BinaryOperator[BinaryOperator["Bigger"] = 14] = "Bigger";
  29882. BinaryOperator[BinaryOperator["BiggerEquals"] = 15] = "BiggerEquals";
  29883. BinaryOperator[BinaryOperator["NullishCoalesce"] = 16] = "NullishCoalesce";
  29884. })(BinaryOperator || (BinaryOperator = {}));
  29885. function nullSafeIsEquivalent(base, other) {
  29886. if (base == null || other == null) {
  29887. return base == other;
  29888. }
  29889. return base.isEquivalent(other);
  29890. }
  29891. function areAllEquivalentPredicate(base, other, equivalentPredicate) {
  29892. const len = base.length;
  29893. if (len !== other.length) {
  29894. return false;
  29895. }
  29896. for (let i = 0; i < len; i++) {
  29897. if (!equivalentPredicate(base[i], other[i])) {
  29898. return false;
  29899. }
  29900. }
  29901. return true;
  29902. }
  29903. function areAllEquivalent(base, other) {
  29904. return areAllEquivalentPredicate(base, other, (baseElement, otherElement) => baseElement.isEquivalent(otherElement));
  29905. }
  29906. class Expression {
  29907. constructor(type, sourceSpan) {
  29908. this.type = type || null;
  29909. this.sourceSpan = sourceSpan || null;
  29910. }
  29911. prop(name, sourceSpan) {
  29912. return new ReadPropExpr(this, name, null, sourceSpan);
  29913. }
  29914. key(index, type, sourceSpan) {
  29915. return new ReadKeyExpr(this, index, type, sourceSpan);
  29916. }
  29917. callFn(params, sourceSpan, pure) {
  29918. return new InvokeFunctionExpr(this, params, null, sourceSpan, pure);
  29919. }
  29920. instantiate(params, type, sourceSpan) {
  29921. return new InstantiateExpr(this, params, type, sourceSpan);
  29922. }
  29923. conditional(trueCase, falseCase = null, sourceSpan) {
  29924. return new ConditionalExpr(this, trueCase, falseCase, null, sourceSpan);
  29925. }
  29926. equals(rhs, sourceSpan) {
  29927. return new BinaryOperatorExpr(BinaryOperator.Equals, this, rhs, null, sourceSpan);
  29928. }
  29929. notEquals(rhs, sourceSpan) {
  29930. return new BinaryOperatorExpr(BinaryOperator.NotEquals, this, rhs, null, sourceSpan);
  29931. }
  29932. identical(rhs, sourceSpan) {
  29933. return new BinaryOperatorExpr(BinaryOperator.Identical, this, rhs, null, sourceSpan);
  29934. }
  29935. notIdentical(rhs, sourceSpan) {
  29936. return new BinaryOperatorExpr(BinaryOperator.NotIdentical, this, rhs, null, sourceSpan);
  29937. }
  29938. minus(rhs, sourceSpan) {
  29939. return new BinaryOperatorExpr(BinaryOperator.Minus, this, rhs, null, sourceSpan);
  29940. }
  29941. plus(rhs, sourceSpan) {
  29942. return new BinaryOperatorExpr(BinaryOperator.Plus, this, rhs, null, sourceSpan);
  29943. }
  29944. divide(rhs, sourceSpan) {
  29945. return new BinaryOperatorExpr(BinaryOperator.Divide, this, rhs, null, sourceSpan);
  29946. }
  29947. multiply(rhs, sourceSpan) {
  29948. return new BinaryOperatorExpr(BinaryOperator.Multiply, this, rhs, null, sourceSpan);
  29949. }
  29950. modulo(rhs, sourceSpan) {
  29951. return new BinaryOperatorExpr(BinaryOperator.Modulo, this, rhs, null, sourceSpan);
  29952. }
  29953. and(rhs, sourceSpan) {
  29954. return new BinaryOperatorExpr(BinaryOperator.And, this, rhs, null, sourceSpan);
  29955. }
  29956. bitwiseAnd(rhs, sourceSpan, parens = true) {
  29957. return new BinaryOperatorExpr(BinaryOperator.BitwiseAnd, this, rhs, null, sourceSpan, parens);
  29958. }
  29959. or(rhs, sourceSpan) {
  29960. return new BinaryOperatorExpr(BinaryOperator.Or, this, rhs, null, sourceSpan);
  29961. }
  29962. lower(rhs, sourceSpan) {
  29963. return new BinaryOperatorExpr(BinaryOperator.Lower, this, rhs, null, sourceSpan);
  29964. }
  29965. lowerEquals(rhs, sourceSpan) {
  29966. return new BinaryOperatorExpr(BinaryOperator.LowerEquals, this, rhs, null, sourceSpan);
  29967. }
  29968. bigger(rhs, sourceSpan) {
  29969. return new BinaryOperatorExpr(BinaryOperator.Bigger, this, rhs, null, sourceSpan);
  29970. }
  29971. biggerEquals(rhs, sourceSpan) {
  29972. return new BinaryOperatorExpr(BinaryOperator.BiggerEquals, this, rhs, null, sourceSpan);
  29973. }
  29974. isBlank(sourceSpan) {
  29975. // Note: We use equals by purpose here to compare to null and undefined in JS.
  29976. // We use the typed null to allow strictNullChecks to narrow types.
  29977. return this.equals(TYPED_NULL_EXPR, sourceSpan);
  29978. }
  29979. nullishCoalesce(rhs, sourceSpan) {
  29980. return new BinaryOperatorExpr(BinaryOperator.NullishCoalesce, this, rhs, null, sourceSpan);
  29981. }
  29982. toStmt() {
  29983. return new ExpressionStatement(this, null);
  29984. }
  29985. }
  29986. class ReadVarExpr extends Expression {
  29987. constructor(name, type, sourceSpan) {
  29988. super(type, sourceSpan);
  29989. this.name = name;
  29990. }
  29991. isEquivalent(e) {
  29992. return e instanceof ReadVarExpr && this.name === e.name;
  29993. }
  29994. isConstant() {
  29995. return false;
  29996. }
  29997. visitExpression(visitor, context) {
  29998. return visitor.visitReadVarExpr(this, context);
  29999. }
  30000. set(value) {
  30001. return new WriteVarExpr(this.name, value, null, this.sourceSpan);
  30002. }
  30003. }
  30004. class TypeofExpr extends Expression {
  30005. constructor(expr, type, sourceSpan) {
  30006. super(type, sourceSpan);
  30007. this.expr = expr;
  30008. }
  30009. visitExpression(visitor, context) {
  30010. return visitor.visitTypeofExpr(this, context);
  30011. }
  30012. isEquivalent(e) {
  30013. return e instanceof TypeofExpr && e.expr.isEquivalent(this.expr);
  30014. }
  30015. isConstant() {
  30016. return this.expr.isConstant();
  30017. }
  30018. }
  30019. class WrappedNodeExpr extends Expression {
  30020. constructor(node, type, sourceSpan) {
  30021. super(type, sourceSpan);
  30022. this.node = node;
  30023. }
  30024. isEquivalent(e) {
  30025. return e instanceof WrappedNodeExpr && this.node === e.node;
  30026. }
  30027. isConstant() {
  30028. return false;
  30029. }
  30030. visitExpression(visitor, context) {
  30031. return visitor.visitWrappedNodeExpr(this, context);
  30032. }
  30033. }
  30034. class WriteVarExpr extends Expression {
  30035. constructor(name, value, type, sourceSpan) {
  30036. super(type || value.type, sourceSpan);
  30037. this.name = name;
  30038. this.value = value;
  30039. }
  30040. isEquivalent(e) {
  30041. return e instanceof WriteVarExpr && this.name === e.name && this.value.isEquivalent(e.value);
  30042. }
  30043. isConstant() {
  30044. return false;
  30045. }
  30046. visitExpression(visitor, context) {
  30047. return visitor.visitWriteVarExpr(this, context);
  30048. }
  30049. toDeclStmt(type, modifiers) {
  30050. return new DeclareVarStmt(this.name, this.value, type, modifiers, this.sourceSpan);
  30051. }
  30052. toConstDecl() {
  30053. return this.toDeclStmt(INFERRED_TYPE, StmtModifier.Final);
  30054. }
  30055. }
  30056. class WriteKeyExpr extends Expression {
  30057. constructor(receiver, index, value, type, sourceSpan) {
  30058. super(type || value.type, sourceSpan);
  30059. this.receiver = receiver;
  30060. this.index = index;
  30061. this.value = value;
  30062. }
  30063. isEquivalent(e) {
  30064. return e instanceof WriteKeyExpr && this.receiver.isEquivalent(e.receiver) && this.index.isEquivalent(e.index) && this.value.isEquivalent(e.value);
  30065. }
  30066. isConstant() {
  30067. return false;
  30068. }
  30069. visitExpression(visitor, context) {
  30070. return visitor.visitWriteKeyExpr(this, context);
  30071. }
  30072. }
  30073. class WritePropExpr extends Expression {
  30074. constructor(receiver, name, value, type, sourceSpan) {
  30075. super(type || value.type, sourceSpan);
  30076. this.receiver = receiver;
  30077. this.name = name;
  30078. this.value = value;
  30079. }
  30080. isEquivalent(e) {
  30081. return e instanceof WritePropExpr && this.receiver.isEquivalent(e.receiver) && this.name === e.name && this.value.isEquivalent(e.value);
  30082. }
  30083. isConstant() {
  30084. return false;
  30085. }
  30086. visitExpression(visitor, context) {
  30087. return visitor.visitWritePropExpr(this, context);
  30088. }
  30089. }
  30090. class InvokeFunctionExpr extends Expression {
  30091. constructor(fn, args, type, sourceSpan, pure = false) {
  30092. super(type, sourceSpan);
  30093. this.fn = fn;
  30094. this.args = args;
  30095. this.pure = pure;
  30096. }
  30097. isEquivalent(e) {
  30098. return e instanceof InvokeFunctionExpr && this.fn.isEquivalent(e.fn) && areAllEquivalent(this.args, e.args) && this.pure === e.pure;
  30099. }
  30100. isConstant() {
  30101. return false;
  30102. }
  30103. visitExpression(visitor, context) {
  30104. return visitor.visitInvokeFunctionExpr(this, context);
  30105. }
  30106. }
  30107. class TaggedTemplateExpr extends Expression {
  30108. constructor(tag, template, type, sourceSpan) {
  30109. super(type, sourceSpan);
  30110. this.tag = tag;
  30111. this.template = template;
  30112. }
  30113. isEquivalent(e) {
  30114. return e instanceof TaggedTemplateExpr && this.tag.isEquivalent(e.tag) && areAllEquivalentPredicate(this.template.elements, e.template.elements, (a, b) => a.text === b.text) && areAllEquivalent(this.template.expressions, e.template.expressions);
  30115. }
  30116. isConstant() {
  30117. return false;
  30118. }
  30119. visitExpression(visitor, context) {
  30120. return visitor.visitTaggedTemplateExpr(this, context);
  30121. }
  30122. }
  30123. class InstantiateExpr extends Expression {
  30124. constructor(classExpr, args, type, sourceSpan) {
  30125. super(type, sourceSpan);
  30126. this.classExpr = classExpr;
  30127. this.args = args;
  30128. }
  30129. isEquivalent(e) {
  30130. return e instanceof InstantiateExpr && this.classExpr.isEquivalent(e.classExpr) && areAllEquivalent(this.args, e.args);
  30131. }
  30132. isConstant() {
  30133. return false;
  30134. }
  30135. visitExpression(visitor, context) {
  30136. return visitor.visitInstantiateExpr(this, context);
  30137. }
  30138. }
  30139. class LiteralExpr extends Expression {
  30140. constructor(value, type, sourceSpan) {
  30141. super(type, sourceSpan);
  30142. this.value = value;
  30143. }
  30144. isEquivalent(e) {
  30145. return e instanceof LiteralExpr && this.value === e.value;
  30146. }
  30147. isConstant() {
  30148. return true;
  30149. }
  30150. visitExpression(visitor, context) {
  30151. return visitor.visitLiteralExpr(this, context);
  30152. }
  30153. }
  30154. class TemplateLiteral {
  30155. constructor(elements, expressions) {
  30156. this.elements = elements;
  30157. this.expressions = expressions;
  30158. }
  30159. }
  30160. class TemplateLiteralElement {
  30161. constructor(text, sourceSpan, rawText) {
  30162. var _a;
  30163. this.text = text;
  30164. this.sourceSpan = sourceSpan; // If `rawText` is not provided, try to extract the raw string from its
  30165. // associated `sourceSpan`. If that is also not available, "fake" the raw
  30166. // string instead by escaping the following control sequences:
  30167. // - "\" would otherwise indicate that the next character is a control character.
  30168. // - "`" and "${" are template string control sequences that would otherwise prematurely
  30169. // indicate the end of the template literal element.
  30170. this.rawText = (_a = rawText !== null && rawText !== void 0 ? rawText : sourceSpan === null || sourceSpan === void 0 ? void 0 : sourceSpan.toString()) !== null && _a !== void 0 ? _a : escapeForTemplateLiteral(escapeSlashes(text));
  30171. }
  30172. }
  30173. class LiteralPiece {
  30174. constructor(text, sourceSpan) {
  30175. this.text = text;
  30176. this.sourceSpan = sourceSpan;
  30177. }
  30178. }
  30179. class PlaceholderPiece {
  30180. /**
  30181. * Create a new instance of a `PlaceholderPiece`.
  30182. *
  30183. * @param text the name of this placeholder (e.g. `PH_1`).
  30184. * @param sourceSpan the location of this placeholder in its localized message the source code.
  30185. * @param associatedMessage reference to another message that this placeholder is associated with.
  30186. * The `associatedMessage` is mainly used to provide a relationship to an ICU message that has
  30187. * been extracted out from the message containing the placeholder.
  30188. */
  30189. constructor(text, sourceSpan, associatedMessage) {
  30190. this.text = text;
  30191. this.sourceSpan = sourceSpan;
  30192. this.associatedMessage = associatedMessage;
  30193. }
  30194. }
  30195. const MEANING_SEPARATOR$1 = '|';
  30196. const ID_SEPARATOR$1 = '@@';
  30197. const LEGACY_ID_INDICATOR = '␟';
  30198. class LocalizedString extends Expression {
  30199. constructor(metaBlock, messageParts, placeHolderNames, expressions, sourceSpan) {
  30200. super(STRING_TYPE, sourceSpan);
  30201. this.metaBlock = metaBlock;
  30202. this.messageParts = messageParts;
  30203. this.placeHolderNames = placeHolderNames;
  30204. this.expressions = expressions;
  30205. }
  30206. isEquivalent(e) {
  30207. // return e instanceof LocalizedString && this.message === e.message;
  30208. return false;
  30209. }
  30210. isConstant() {
  30211. return false;
  30212. }
  30213. visitExpression(visitor, context) {
  30214. return visitor.visitLocalizedString(this, context);
  30215. }
  30216. /**
  30217. * Serialize the given `meta` and `messagePart` into "cooked" and "raw" strings that can be used
  30218. * in a `$localize` tagged string. The format of the metadata is the same as that parsed by
  30219. * `parseI18nMeta()`.
  30220. *
  30221. * @param meta The metadata to serialize
  30222. * @param messagePart The first part of the tagged string
  30223. */
  30224. serializeI18nHead() {
  30225. let metaBlock = this.metaBlock.description || '';
  30226. if (this.metaBlock.meaning) {
  30227. metaBlock = `${this.metaBlock.meaning}${MEANING_SEPARATOR$1}${metaBlock}`;
  30228. }
  30229. if (this.metaBlock.customId) {
  30230. metaBlock = `${metaBlock}${ID_SEPARATOR$1}${this.metaBlock.customId}`;
  30231. }
  30232. if (this.metaBlock.legacyIds) {
  30233. this.metaBlock.legacyIds.forEach(legacyId => {
  30234. metaBlock = `${metaBlock}${LEGACY_ID_INDICATOR}${legacyId}`;
  30235. });
  30236. }
  30237. return createCookedRawString(metaBlock, this.messageParts[0].text, this.getMessagePartSourceSpan(0));
  30238. }
  30239. getMessagePartSourceSpan(i) {
  30240. var _a, _b;
  30241. return (_b = (_a = this.messageParts[i]) === null || _a === void 0 ? void 0 : _a.sourceSpan) !== null && _b !== void 0 ? _b : this.sourceSpan;
  30242. }
  30243. getPlaceholderSourceSpan(i) {
  30244. var _a, _b, _c, _d;
  30245. return (_d = (_b = (_a = this.placeHolderNames[i]) === null || _a === void 0 ? void 0 : _a.sourceSpan) !== null && _b !== void 0 ? _b : (_c = this.expressions[i]) === null || _c === void 0 ? void 0 : _c.sourceSpan) !== null && _d !== void 0 ? _d : this.sourceSpan;
  30246. }
  30247. /**
  30248. * Serialize the given `placeholderName` and `messagePart` into "cooked" and "raw" strings that
  30249. * can be used in a `$localize` tagged string.
  30250. *
  30251. * The format is `:<placeholder-name>[@@<associated-id>]:`.
  30252. *
  30253. * The `associated-id` is the message id of the (usually an ICU) message to which this placeholder
  30254. * refers.
  30255. *
  30256. * @param partIndex The index of the message part to serialize.
  30257. */
  30258. serializeI18nTemplatePart(partIndex) {
  30259. var _a;
  30260. const placeholder = this.placeHolderNames[partIndex - 1];
  30261. const messagePart = this.messageParts[partIndex];
  30262. let metaBlock = placeholder.text;
  30263. if (((_a = placeholder.associatedMessage) === null || _a === void 0 ? void 0 : _a.legacyIds.length) === 0) {
  30264. metaBlock += `${ID_SEPARATOR$1}${computeMsgId(placeholder.associatedMessage.messageString, placeholder.associatedMessage.meaning)}`;
  30265. }
  30266. return createCookedRawString(metaBlock, messagePart.text, this.getMessagePartSourceSpan(partIndex));
  30267. }
  30268. }
  30269. const escapeSlashes = str => str.replace(/\\/g, '\\\\');
  30270. const escapeStartingColon = str => str.replace(/^:/, '\\:');
  30271. const escapeColons = str => str.replace(/:/g, '\\:');
  30272. const escapeForTemplateLiteral = str => str.replace(/`/g, '\\`').replace(/\${/g, '$\\{');
  30273. /**
  30274. * Creates a `{cooked, raw}` object from the `metaBlock` and `messagePart`.
  30275. *
  30276. * The `raw` text must have various character sequences escaped:
  30277. * * "\" would otherwise indicate that the next character is a control character.
  30278. * * "`" and "${" are template string control sequences that would otherwise prematurely indicate
  30279. * the end of a message part.
  30280. * * ":" inside a metablock would prematurely indicate the end of the metablock.
  30281. * * ":" at the start of a messagePart with no metablock would erroneously indicate the start of a
  30282. * metablock.
  30283. *
  30284. * @param metaBlock Any metadata that should be prepended to the string
  30285. * @param messagePart The message part of the string
  30286. */
  30287. function createCookedRawString(metaBlock, messagePart, range) {
  30288. if (metaBlock === '') {
  30289. return {
  30290. cooked: messagePart,
  30291. raw: escapeForTemplateLiteral(escapeStartingColon(escapeSlashes(messagePart))),
  30292. range
  30293. };
  30294. } else {
  30295. return {
  30296. cooked: `:${metaBlock}:${messagePart}`,
  30297. raw: escapeForTemplateLiteral(`:${escapeColons(escapeSlashes(metaBlock))}:${escapeSlashes(messagePart)}`),
  30298. range
  30299. };
  30300. }
  30301. }
  30302. class ExternalExpr extends Expression {
  30303. constructor(value, type, typeParams = null, sourceSpan) {
  30304. super(type, sourceSpan);
  30305. this.value = value;
  30306. this.typeParams = typeParams;
  30307. }
  30308. isEquivalent(e) {
  30309. return e instanceof ExternalExpr && this.value.name === e.value.name && this.value.moduleName === e.value.moduleName && this.value.runtime === e.value.runtime;
  30310. }
  30311. isConstant() {
  30312. return false;
  30313. }
  30314. visitExpression(visitor, context) {
  30315. return visitor.visitExternalExpr(this, context);
  30316. }
  30317. }
  30318. class ExternalReference {
  30319. constructor(moduleName, name, runtime) {
  30320. this.moduleName = moduleName;
  30321. this.name = name;
  30322. this.runtime = runtime;
  30323. }
  30324. }
  30325. class ConditionalExpr extends Expression {
  30326. constructor(condition, trueCase, falseCase = null, type, sourceSpan) {
  30327. super(type || trueCase.type, sourceSpan);
  30328. this.condition = condition;
  30329. this.falseCase = falseCase;
  30330. this.trueCase = trueCase;
  30331. }
  30332. isEquivalent(e) {
  30333. return e instanceof ConditionalExpr && this.condition.isEquivalent(e.condition) && this.trueCase.isEquivalent(e.trueCase) && nullSafeIsEquivalent(this.falseCase, e.falseCase);
  30334. }
  30335. isConstant() {
  30336. return false;
  30337. }
  30338. visitExpression(visitor, context) {
  30339. return visitor.visitConditionalExpr(this, context);
  30340. }
  30341. }
  30342. class NotExpr extends Expression {
  30343. constructor(condition, sourceSpan) {
  30344. super(BOOL_TYPE, sourceSpan);
  30345. this.condition = condition;
  30346. }
  30347. isEquivalent(e) {
  30348. return e instanceof NotExpr && this.condition.isEquivalent(e.condition);
  30349. }
  30350. isConstant() {
  30351. return false;
  30352. }
  30353. visitExpression(visitor, context) {
  30354. return visitor.visitNotExpr(this, context);
  30355. }
  30356. }
  30357. class FnParam {
  30358. constructor(name, type = null) {
  30359. this.name = name;
  30360. this.type = type;
  30361. }
  30362. isEquivalent(param) {
  30363. return this.name === param.name;
  30364. }
  30365. }
  30366. class FunctionExpr extends Expression {
  30367. constructor(params, statements, type, sourceSpan, name) {
  30368. super(type, sourceSpan);
  30369. this.params = params;
  30370. this.statements = statements;
  30371. this.name = name;
  30372. }
  30373. isEquivalent(e) {
  30374. return e instanceof FunctionExpr && areAllEquivalent(this.params, e.params) && areAllEquivalent(this.statements, e.statements);
  30375. }
  30376. isConstant() {
  30377. return false;
  30378. }
  30379. visitExpression(visitor, context) {
  30380. return visitor.visitFunctionExpr(this, context);
  30381. }
  30382. toDeclStmt(name, modifiers) {
  30383. return new DeclareFunctionStmt(name, this.params, this.statements, this.type, modifiers, this.sourceSpan);
  30384. }
  30385. }
  30386. class UnaryOperatorExpr extends Expression {
  30387. constructor(operator, expr, type, sourceSpan, parens = true) {
  30388. super(type || NUMBER_TYPE, sourceSpan);
  30389. this.operator = operator;
  30390. this.expr = expr;
  30391. this.parens = parens;
  30392. }
  30393. isEquivalent(e) {
  30394. return e instanceof UnaryOperatorExpr && this.operator === e.operator && this.expr.isEquivalent(e.expr);
  30395. }
  30396. isConstant() {
  30397. return false;
  30398. }
  30399. visitExpression(visitor, context) {
  30400. return visitor.visitUnaryOperatorExpr(this, context);
  30401. }
  30402. }
  30403. class BinaryOperatorExpr extends Expression {
  30404. constructor(operator, lhs, rhs, type, sourceSpan, parens = true) {
  30405. super(type || lhs.type, sourceSpan);
  30406. this.operator = operator;
  30407. this.rhs = rhs;
  30408. this.parens = parens;
  30409. this.lhs = lhs;
  30410. }
  30411. isEquivalent(e) {
  30412. return e instanceof BinaryOperatorExpr && this.operator === e.operator && this.lhs.isEquivalent(e.lhs) && this.rhs.isEquivalent(e.rhs);
  30413. }
  30414. isConstant() {
  30415. return false;
  30416. }
  30417. visitExpression(visitor, context) {
  30418. return visitor.visitBinaryOperatorExpr(this, context);
  30419. }
  30420. }
  30421. class ReadPropExpr extends Expression {
  30422. constructor(receiver, name, type, sourceSpan) {
  30423. super(type, sourceSpan);
  30424. this.receiver = receiver;
  30425. this.name = name;
  30426. }
  30427. isEquivalent(e) {
  30428. return e instanceof ReadPropExpr && this.receiver.isEquivalent(e.receiver) && this.name === e.name;
  30429. }
  30430. isConstant() {
  30431. return false;
  30432. }
  30433. visitExpression(visitor, context) {
  30434. return visitor.visitReadPropExpr(this, context);
  30435. }
  30436. set(value) {
  30437. return new WritePropExpr(this.receiver, this.name, value, null, this.sourceSpan);
  30438. }
  30439. }
  30440. class ReadKeyExpr extends Expression {
  30441. constructor(receiver, index, type, sourceSpan) {
  30442. super(type, sourceSpan);
  30443. this.receiver = receiver;
  30444. this.index = index;
  30445. }
  30446. isEquivalent(e) {
  30447. return e instanceof ReadKeyExpr && this.receiver.isEquivalent(e.receiver) && this.index.isEquivalent(e.index);
  30448. }
  30449. isConstant() {
  30450. return false;
  30451. }
  30452. visitExpression(visitor, context) {
  30453. return visitor.visitReadKeyExpr(this, context);
  30454. }
  30455. set(value) {
  30456. return new WriteKeyExpr(this.receiver, this.index, value, null, this.sourceSpan);
  30457. }
  30458. }
  30459. class LiteralArrayExpr extends Expression {
  30460. constructor(entries, type, sourceSpan) {
  30461. super(type, sourceSpan);
  30462. this.entries = entries;
  30463. }
  30464. isConstant() {
  30465. return this.entries.every(e => e.isConstant());
  30466. }
  30467. isEquivalent(e) {
  30468. return e instanceof LiteralArrayExpr && areAllEquivalent(this.entries, e.entries);
  30469. }
  30470. visitExpression(visitor, context) {
  30471. return visitor.visitLiteralArrayExpr(this, context);
  30472. }
  30473. }
  30474. class LiteralMapEntry {
  30475. constructor(key, value, quoted) {
  30476. this.key = key;
  30477. this.value = value;
  30478. this.quoted = quoted;
  30479. }
  30480. isEquivalent(e) {
  30481. return this.key === e.key && this.value.isEquivalent(e.value);
  30482. }
  30483. }
  30484. class LiteralMapExpr extends Expression {
  30485. constructor(entries, type, sourceSpan) {
  30486. super(type, sourceSpan);
  30487. this.entries = entries;
  30488. this.valueType = null;
  30489. if (type) {
  30490. this.valueType = type.valueType;
  30491. }
  30492. }
  30493. isEquivalent(e) {
  30494. return e instanceof LiteralMapExpr && areAllEquivalent(this.entries, e.entries);
  30495. }
  30496. isConstant() {
  30497. return this.entries.every(e => e.value.isConstant());
  30498. }
  30499. visitExpression(visitor, context) {
  30500. return visitor.visitLiteralMapExpr(this, context);
  30501. }
  30502. }
  30503. class CommaExpr extends Expression {
  30504. constructor(parts, sourceSpan) {
  30505. super(parts[parts.length - 1].type, sourceSpan);
  30506. this.parts = parts;
  30507. }
  30508. isEquivalent(e) {
  30509. return e instanceof CommaExpr && areAllEquivalent(this.parts, e.parts);
  30510. }
  30511. isConstant() {
  30512. return false;
  30513. }
  30514. visitExpression(visitor, context) {
  30515. return visitor.visitCommaExpr(this, context);
  30516. }
  30517. }
  30518. const NULL_EXPR = new LiteralExpr(null, null, null);
  30519. const TYPED_NULL_EXPR = new LiteralExpr(null, INFERRED_TYPE, null); //// Statements
  30520. var StmtModifier;
  30521. (function (StmtModifier) {
  30522. StmtModifier[StmtModifier["None"] = 0] = "None";
  30523. StmtModifier[StmtModifier["Final"] = 1] = "Final";
  30524. StmtModifier[StmtModifier["Private"] = 2] = "Private";
  30525. StmtModifier[StmtModifier["Exported"] = 4] = "Exported";
  30526. StmtModifier[StmtModifier["Static"] = 8] = "Static";
  30527. })(StmtModifier || (StmtModifier = {}));
  30528. class LeadingComment {
  30529. constructor(text, multiline, trailingNewline) {
  30530. this.text = text;
  30531. this.multiline = multiline;
  30532. this.trailingNewline = trailingNewline;
  30533. }
  30534. toString() {
  30535. return this.multiline ? ` ${this.text} ` : this.text;
  30536. }
  30537. }
  30538. class JSDocComment extends LeadingComment {
  30539. constructor(tags) {
  30540. super('',
  30541. /* multiline */
  30542. true,
  30543. /* trailingNewline */
  30544. true);
  30545. this.tags = tags;
  30546. }
  30547. toString() {
  30548. return serializeTags(this.tags);
  30549. }
  30550. }
  30551. class Statement {
  30552. constructor(modifiers = StmtModifier.None, sourceSpan = null, leadingComments) {
  30553. this.modifiers = modifiers;
  30554. this.sourceSpan = sourceSpan;
  30555. this.leadingComments = leadingComments;
  30556. }
  30557. hasModifier(modifier) {
  30558. return (this.modifiers & modifier) !== 0;
  30559. }
  30560. addLeadingComment(leadingComment) {
  30561. var _a;
  30562. this.leadingComments = (_a = this.leadingComments) !== null && _a !== void 0 ? _a : [];
  30563. this.leadingComments.push(leadingComment);
  30564. }
  30565. }
  30566. class DeclareVarStmt extends Statement {
  30567. constructor(name, value, type, modifiers, sourceSpan, leadingComments) {
  30568. super(modifiers, sourceSpan, leadingComments);
  30569. this.name = name;
  30570. this.value = value;
  30571. this.type = type || value && value.type || null;
  30572. }
  30573. isEquivalent(stmt) {
  30574. return stmt instanceof DeclareVarStmt && this.name === stmt.name && (this.value ? !!stmt.value && this.value.isEquivalent(stmt.value) : !stmt.value);
  30575. }
  30576. visitStatement(visitor, context) {
  30577. return visitor.visitDeclareVarStmt(this, context);
  30578. }
  30579. }
  30580. class DeclareFunctionStmt extends Statement {
  30581. constructor(name, params, statements, type, modifiers, sourceSpan, leadingComments) {
  30582. super(modifiers, sourceSpan, leadingComments);
  30583. this.name = name;
  30584. this.params = params;
  30585. this.statements = statements;
  30586. this.type = type || null;
  30587. }
  30588. isEquivalent(stmt) {
  30589. return stmt instanceof DeclareFunctionStmt && areAllEquivalent(this.params, stmt.params) && areAllEquivalent(this.statements, stmt.statements);
  30590. }
  30591. visitStatement(visitor, context) {
  30592. return visitor.visitDeclareFunctionStmt(this, context);
  30593. }
  30594. }
  30595. class ExpressionStatement extends Statement {
  30596. constructor(expr, sourceSpan, leadingComments) {
  30597. super(StmtModifier.None, sourceSpan, leadingComments);
  30598. this.expr = expr;
  30599. }
  30600. isEquivalent(stmt) {
  30601. return stmt instanceof ExpressionStatement && this.expr.isEquivalent(stmt.expr);
  30602. }
  30603. visitStatement(visitor, context) {
  30604. return visitor.visitExpressionStmt(this, context);
  30605. }
  30606. }
  30607. class ReturnStatement extends Statement {
  30608. constructor(value, sourceSpan = null, leadingComments) {
  30609. super(StmtModifier.None, sourceSpan, leadingComments);
  30610. this.value = value;
  30611. }
  30612. isEquivalent(stmt) {
  30613. return stmt instanceof ReturnStatement && this.value.isEquivalent(stmt.value);
  30614. }
  30615. visitStatement(visitor, context) {
  30616. return visitor.visitReturnStmt(this, context);
  30617. }
  30618. }
  30619. class IfStmt extends Statement {
  30620. constructor(condition, trueCase, falseCase = [], sourceSpan, leadingComments) {
  30621. super(StmtModifier.None, sourceSpan, leadingComments);
  30622. this.condition = condition;
  30623. this.trueCase = trueCase;
  30624. this.falseCase = falseCase;
  30625. }
  30626. isEquivalent(stmt) {
  30627. return stmt instanceof IfStmt && this.condition.isEquivalent(stmt.condition) && areAllEquivalent(this.trueCase, stmt.trueCase) && areAllEquivalent(this.falseCase, stmt.falseCase);
  30628. }
  30629. visitStatement(visitor, context) {
  30630. return visitor.visitIfStmt(this, context);
  30631. }
  30632. }
  30633. class RecursiveAstVisitor$1 {
  30634. visitType(ast, context) {
  30635. return ast;
  30636. }
  30637. visitExpression(ast, context) {
  30638. if (ast.type) {
  30639. ast.type.visitType(this, context);
  30640. }
  30641. return ast;
  30642. }
  30643. visitBuiltinType(type, context) {
  30644. return this.visitType(type, context);
  30645. }
  30646. visitExpressionType(type, context) {
  30647. type.value.visitExpression(this, context);
  30648. if (type.typeParams !== null) {
  30649. type.typeParams.forEach(param => this.visitType(param, context));
  30650. }
  30651. return this.visitType(type, context);
  30652. }
  30653. visitArrayType(type, context) {
  30654. return this.visitType(type, context);
  30655. }
  30656. visitMapType(type, context) {
  30657. return this.visitType(type, context);
  30658. }
  30659. visitWrappedNodeExpr(ast, context) {
  30660. return ast;
  30661. }
  30662. visitTypeofExpr(ast, context) {
  30663. return this.visitExpression(ast, context);
  30664. }
  30665. visitReadVarExpr(ast, context) {
  30666. return this.visitExpression(ast, context);
  30667. }
  30668. visitWriteVarExpr(ast, context) {
  30669. ast.value.visitExpression(this, context);
  30670. return this.visitExpression(ast, context);
  30671. }
  30672. visitWriteKeyExpr(ast, context) {
  30673. ast.receiver.visitExpression(this, context);
  30674. ast.index.visitExpression(this, context);
  30675. ast.value.visitExpression(this, context);
  30676. return this.visitExpression(ast, context);
  30677. }
  30678. visitWritePropExpr(ast, context) {
  30679. ast.receiver.visitExpression(this, context);
  30680. ast.value.visitExpression(this, context);
  30681. return this.visitExpression(ast, context);
  30682. }
  30683. visitInvokeFunctionExpr(ast, context) {
  30684. ast.fn.visitExpression(this, context);
  30685. this.visitAllExpressions(ast.args, context);
  30686. return this.visitExpression(ast, context);
  30687. }
  30688. visitTaggedTemplateExpr(ast, context) {
  30689. ast.tag.visitExpression(this, context);
  30690. this.visitAllExpressions(ast.template.expressions, context);
  30691. return this.visitExpression(ast, context);
  30692. }
  30693. visitInstantiateExpr(ast, context) {
  30694. ast.classExpr.visitExpression(this, context);
  30695. this.visitAllExpressions(ast.args, context);
  30696. return this.visitExpression(ast, context);
  30697. }
  30698. visitLiteralExpr(ast, context) {
  30699. return this.visitExpression(ast, context);
  30700. }
  30701. visitLocalizedString(ast, context) {
  30702. return this.visitExpression(ast, context);
  30703. }
  30704. visitExternalExpr(ast, context) {
  30705. if (ast.typeParams) {
  30706. ast.typeParams.forEach(type => type.visitType(this, context));
  30707. }
  30708. return this.visitExpression(ast, context);
  30709. }
  30710. visitConditionalExpr(ast, context) {
  30711. ast.condition.visitExpression(this, context);
  30712. ast.trueCase.visitExpression(this, context);
  30713. ast.falseCase.visitExpression(this, context);
  30714. return this.visitExpression(ast, context);
  30715. }
  30716. visitNotExpr(ast, context) {
  30717. ast.condition.visitExpression(this, context);
  30718. return this.visitExpression(ast, context);
  30719. }
  30720. visitFunctionExpr(ast, context) {
  30721. this.visitAllStatements(ast.statements, context);
  30722. return this.visitExpression(ast, context);
  30723. }
  30724. visitUnaryOperatorExpr(ast, context) {
  30725. ast.expr.visitExpression(this, context);
  30726. return this.visitExpression(ast, context);
  30727. }
  30728. visitBinaryOperatorExpr(ast, context) {
  30729. ast.lhs.visitExpression(this, context);
  30730. ast.rhs.visitExpression(this, context);
  30731. return this.visitExpression(ast, context);
  30732. }
  30733. visitReadPropExpr(ast, context) {
  30734. ast.receiver.visitExpression(this, context);
  30735. return this.visitExpression(ast, context);
  30736. }
  30737. visitReadKeyExpr(ast, context) {
  30738. ast.receiver.visitExpression(this, context);
  30739. ast.index.visitExpression(this, context);
  30740. return this.visitExpression(ast, context);
  30741. }
  30742. visitLiteralArrayExpr(ast, context) {
  30743. this.visitAllExpressions(ast.entries, context);
  30744. return this.visitExpression(ast, context);
  30745. }
  30746. visitLiteralMapExpr(ast, context) {
  30747. ast.entries.forEach(entry => entry.value.visitExpression(this, context));
  30748. return this.visitExpression(ast, context);
  30749. }
  30750. visitCommaExpr(ast, context) {
  30751. this.visitAllExpressions(ast.parts, context);
  30752. return this.visitExpression(ast, context);
  30753. }
  30754. visitAllExpressions(exprs, context) {
  30755. exprs.forEach(expr => expr.visitExpression(this, context));
  30756. }
  30757. visitDeclareVarStmt(stmt, context) {
  30758. if (stmt.value) {
  30759. stmt.value.visitExpression(this, context);
  30760. }
  30761. if (stmt.type) {
  30762. stmt.type.visitType(this, context);
  30763. }
  30764. return stmt;
  30765. }
  30766. visitDeclareFunctionStmt(stmt, context) {
  30767. this.visitAllStatements(stmt.statements, context);
  30768. if (stmt.type) {
  30769. stmt.type.visitType(this, context);
  30770. }
  30771. return stmt;
  30772. }
  30773. visitExpressionStmt(stmt, context) {
  30774. stmt.expr.visitExpression(this, context);
  30775. return stmt;
  30776. }
  30777. visitReturnStmt(stmt, context) {
  30778. stmt.value.visitExpression(this, context);
  30779. return stmt;
  30780. }
  30781. visitIfStmt(stmt, context) {
  30782. stmt.condition.visitExpression(this, context);
  30783. this.visitAllStatements(stmt.trueCase, context);
  30784. this.visitAllStatements(stmt.falseCase, context);
  30785. return stmt;
  30786. }
  30787. visitAllStatements(stmts, context) {
  30788. stmts.forEach(stmt => stmt.visitStatement(this, context));
  30789. }
  30790. }
  30791. function leadingComment(text, multiline = false, trailingNewline = true) {
  30792. return new LeadingComment(text, multiline, trailingNewline);
  30793. }
  30794. function jsDocComment(tags = []) {
  30795. return new JSDocComment(tags);
  30796. }
  30797. function variable(name, type, sourceSpan) {
  30798. return new ReadVarExpr(name, type, sourceSpan);
  30799. }
  30800. function importExpr(id, typeParams = null, sourceSpan) {
  30801. return new ExternalExpr(id, null, typeParams, sourceSpan);
  30802. }
  30803. function importType(id, typeParams, typeModifiers) {
  30804. return id != null ? expressionType(importExpr(id, typeParams, null), typeModifiers) : null;
  30805. }
  30806. function expressionType(expr, typeModifiers, typeParams) {
  30807. return new ExpressionType(expr, typeModifiers, typeParams);
  30808. }
  30809. function typeofExpr(expr) {
  30810. return new TypeofExpr(expr);
  30811. }
  30812. function literalArr(values, type, sourceSpan) {
  30813. return new LiteralArrayExpr(values, type, sourceSpan);
  30814. }
  30815. function literalMap(values, type = null) {
  30816. return new LiteralMapExpr(values.map(e => new LiteralMapEntry(e.key, e.value, e.quoted)), type, null);
  30817. }
  30818. function unary(operator, expr, type, sourceSpan) {
  30819. return new UnaryOperatorExpr(operator, expr, type, sourceSpan);
  30820. }
  30821. function not(expr, sourceSpan) {
  30822. return new NotExpr(expr, sourceSpan);
  30823. }
  30824. function fn(params, body, type, sourceSpan, name) {
  30825. return new FunctionExpr(params, body, type, sourceSpan, name);
  30826. }
  30827. function ifStmt(condition, thenClause, elseClause, sourceSpan, leadingComments) {
  30828. return new IfStmt(condition, thenClause, elseClause, sourceSpan, leadingComments);
  30829. }
  30830. function taggedTemplate(tag, template, type, sourceSpan) {
  30831. return new TaggedTemplateExpr(tag, template, type, sourceSpan);
  30832. }
  30833. function literal(value, type, sourceSpan) {
  30834. return new LiteralExpr(value, type, sourceSpan);
  30835. }
  30836. function localizedString(metaBlock, messageParts, placeholderNames, expressions, sourceSpan) {
  30837. return new LocalizedString(metaBlock, messageParts, placeholderNames, expressions, sourceSpan);
  30838. }
  30839. function isNull(exp) {
  30840. return exp instanceof LiteralExpr && exp.value === null;
  30841. }
  30842. /*
  30843. * Serializes a `Tag` into a string.
  30844. * Returns a string like " @foo {bar} baz" (note the leading whitespace before `@foo`).
  30845. */
  30846. function tagToString(tag) {
  30847. let out = '';
  30848. if (tag.tagName) {
  30849. out += ` @${tag.tagName}`;
  30850. }
  30851. if (tag.text) {
  30852. if (tag.text.match(/\/\*|\*\//)) {
  30853. throw new Error('JSDoc text cannot contain "/*" and "*/"');
  30854. }
  30855. out += ' ' + tag.text.replace(/@/g, '\\@');
  30856. }
  30857. return out;
  30858. }
  30859. function serializeTags(tags) {
  30860. if (tags.length === 0) return '';
  30861. if (tags.length === 1 && tags[0].tagName && !tags[0].text) {
  30862. // The JSDOC comment is a single simple tag: e.g `/** @tagname */`.
  30863. return `*${tagToString(tags[0])} `;
  30864. }
  30865. let out = '*\n';
  30866. for (const tag of tags) {
  30867. out += ' *'; // If the tagToString is multi-line, insert " * " prefixes on lines.
  30868. out += tagToString(tag).replace(/\n/g, '\n * ');
  30869. out += '\n';
  30870. }
  30871. out += ' ';
  30872. return out;
  30873. }
  30874. var output_ast = /*#__PURE__*/Object.freeze({
  30875. __proto__: null,
  30876. get TypeModifier() {
  30877. return TypeModifier;
  30878. },
  30879. Type: Type,
  30880. get BuiltinTypeName() {
  30881. return BuiltinTypeName;
  30882. },
  30883. BuiltinType: BuiltinType,
  30884. ExpressionType: ExpressionType,
  30885. ArrayType: ArrayType,
  30886. MapType: MapType,
  30887. DYNAMIC_TYPE: DYNAMIC_TYPE,
  30888. INFERRED_TYPE: INFERRED_TYPE,
  30889. BOOL_TYPE: BOOL_TYPE,
  30890. INT_TYPE: INT_TYPE,
  30891. NUMBER_TYPE: NUMBER_TYPE,
  30892. STRING_TYPE: STRING_TYPE,
  30893. FUNCTION_TYPE: FUNCTION_TYPE,
  30894. NONE_TYPE: NONE_TYPE,
  30895. get UnaryOperator() {
  30896. return UnaryOperator;
  30897. },
  30898. get BinaryOperator() {
  30899. return BinaryOperator;
  30900. },
  30901. nullSafeIsEquivalent: nullSafeIsEquivalent,
  30902. areAllEquivalent: areAllEquivalent,
  30903. Expression: Expression,
  30904. ReadVarExpr: ReadVarExpr,
  30905. TypeofExpr: TypeofExpr,
  30906. WrappedNodeExpr: WrappedNodeExpr,
  30907. WriteVarExpr: WriteVarExpr,
  30908. WriteKeyExpr: WriteKeyExpr,
  30909. WritePropExpr: WritePropExpr,
  30910. InvokeFunctionExpr: InvokeFunctionExpr,
  30911. TaggedTemplateExpr: TaggedTemplateExpr,
  30912. InstantiateExpr: InstantiateExpr,
  30913. LiteralExpr: LiteralExpr,
  30914. TemplateLiteral: TemplateLiteral,
  30915. TemplateLiteralElement: TemplateLiteralElement,
  30916. LiteralPiece: LiteralPiece,
  30917. PlaceholderPiece: PlaceholderPiece,
  30918. LocalizedString: LocalizedString,
  30919. ExternalExpr: ExternalExpr,
  30920. ExternalReference: ExternalReference,
  30921. ConditionalExpr: ConditionalExpr,
  30922. NotExpr: NotExpr,
  30923. FnParam: FnParam,
  30924. FunctionExpr: FunctionExpr,
  30925. UnaryOperatorExpr: UnaryOperatorExpr,
  30926. BinaryOperatorExpr: BinaryOperatorExpr,
  30927. ReadPropExpr: ReadPropExpr,
  30928. ReadKeyExpr: ReadKeyExpr,
  30929. LiteralArrayExpr: LiteralArrayExpr,
  30930. LiteralMapEntry: LiteralMapEntry,
  30931. LiteralMapExpr: LiteralMapExpr,
  30932. CommaExpr: CommaExpr,
  30933. NULL_EXPR: NULL_EXPR,
  30934. TYPED_NULL_EXPR: TYPED_NULL_EXPR,
  30935. get StmtModifier() {
  30936. return StmtModifier;
  30937. },
  30938. LeadingComment: LeadingComment,
  30939. JSDocComment: JSDocComment,
  30940. Statement: Statement,
  30941. DeclareVarStmt: DeclareVarStmt,
  30942. DeclareFunctionStmt: DeclareFunctionStmt,
  30943. ExpressionStatement: ExpressionStatement,
  30944. ReturnStatement: ReturnStatement,
  30945. IfStmt: IfStmt,
  30946. RecursiveAstVisitor: RecursiveAstVisitor$1,
  30947. leadingComment: leadingComment,
  30948. jsDocComment: jsDocComment,
  30949. variable: variable,
  30950. importExpr: importExpr,
  30951. importType: importType,
  30952. expressionType: expressionType,
  30953. typeofExpr: typeofExpr,
  30954. literalArr: literalArr,
  30955. literalMap: literalMap,
  30956. unary: unary,
  30957. not: not,
  30958. fn: fn,
  30959. ifStmt: ifStmt,
  30960. taggedTemplate: taggedTemplate,
  30961. literal: literal,
  30962. localizedString: localizedString,
  30963. isNull: isNull
  30964. });
  30965. /**
  30966. * @license
  30967. * Copyright Google LLC All Rights Reserved.
  30968. *
  30969. * Use of this source code is governed by an MIT-style license that can be
  30970. * found in the LICENSE file at https://angular.io/license
  30971. */
  30972. const CONSTANT_PREFIX = '_c';
  30973. /**
  30974. * `ConstantPool` tries to reuse literal factories when two or more literals are identical.
  30975. * We determine whether literals are identical by creating a key out of their AST using the
  30976. * `KeyVisitor`. This constant is used to replace dynamic expressions which can't be safely
  30977. * converted into a key. E.g. given an expression `{foo: bar()}`, since we don't know what
  30978. * the result of `bar` will be, we create a key that looks like `{foo: <unknown>}`. Note
  30979. * that we use a variable, rather than something like `null` in order to avoid collisions.
  30980. */
  30981. const UNKNOWN_VALUE_KEY = variable('<unknown>');
  30982. /**
  30983. * Context to use when producing a key.
  30984. *
  30985. * This ensures we see the constant not the reference variable when producing
  30986. * a key.
  30987. */
  30988. const KEY_CONTEXT = {};
  30989. /**
  30990. * Generally all primitive values are excluded from the `ConstantPool`, but there is an exclusion
  30991. * for strings that reach a certain length threshold. This constant defines the length threshold for
  30992. * strings.
  30993. */
  30994. const POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS = 50;
  30995. /**
  30996. * A node that is a place-holder that allows the node to be replaced when the actual
  30997. * node is known.
  30998. *
  30999. * This allows the constant pool to change an expression from a direct reference to
  31000. * a constant to a shared constant. It returns a fix-up node that is later allowed to
  31001. * change the referenced expression.
  31002. */
  31003. class FixupExpression extends Expression {
  31004. constructor(resolved) {
  31005. super(resolved.type);
  31006. this.resolved = resolved;
  31007. this.original = resolved;
  31008. }
  31009. visitExpression(visitor, context) {
  31010. if (context === KEY_CONTEXT) {
  31011. // When producing a key we want to traverse the constant not the
  31012. // variable used to refer to it.
  31013. return this.original.visitExpression(visitor, context);
  31014. } else {
  31015. return this.resolved.visitExpression(visitor, context);
  31016. }
  31017. }
  31018. isEquivalent(e) {
  31019. return e instanceof FixupExpression && this.resolved.isEquivalent(e.resolved);
  31020. }
  31021. isConstant() {
  31022. return true;
  31023. }
  31024. fixup(expression) {
  31025. this.resolved = expression;
  31026. this.shared = true;
  31027. }
  31028. }
  31029. /**
  31030. * A constant pool allows a code emitter to share constant in an output context.
  31031. *
  31032. * The constant pool also supports sharing access to ivy definitions references.
  31033. */
  31034. class ConstantPool {
  31035. constructor(isClosureCompilerEnabled = false) {
  31036. this.isClosureCompilerEnabled = isClosureCompilerEnabled;
  31037. this.statements = [];
  31038. this.literals = new Map();
  31039. this.literalFactories = new Map();
  31040. this.nextNameIndex = 0;
  31041. }
  31042. getConstLiteral(literal, forceShared) {
  31043. if (literal instanceof LiteralExpr && !isLongStringLiteral(literal) || literal instanceof FixupExpression) {
  31044. // Do no put simple literals into the constant pool or try to produce a constant for a
  31045. // reference to a constant.
  31046. return literal;
  31047. }
  31048. const key = this.keyOf(literal);
  31049. let fixup = this.literals.get(key);
  31050. let newValue = false;
  31051. if (!fixup) {
  31052. fixup = new FixupExpression(literal);
  31053. this.literals.set(key, fixup);
  31054. newValue = true;
  31055. }
  31056. if (!newValue && !fixup.shared || newValue && forceShared) {
  31057. // Replace the expression with a variable
  31058. const name = this.freshName();
  31059. let definition;
  31060. let usage;
  31061. if (this.isClosureCompilerEnabled && isLongStringLiteral(literal)) {
  31062. // For string literals, Closure will **always** inline the string at
  31063. // **all** usages, duplicating it each time. For large strings, this
  31064. // unnecessarily bloats bundle size. To work around this restriction, we
  31065. // wrap the string in a function, and call that function for each usage.
  31066. // This tricks Closure into using inline logic for functions instead of
  31067. // string literals. Function calls are only inlined if the body is small
  31068. // enough to be worth it. By doing this, very large strings will be
  31069. // shared across multiple usages, rather than duplicating the string at
  31070. // each usage site.
  31071. //
  31072. // const myStr = function() { return "very very very long string"; };
  31073. // const usage1 = myStr();
  31074. // const usage2 = myStr();
  31075. definition = variable(name).set(new FunctionExpr([], // Params.
  31076. [// Statements.
  31077. new ReturnStatement(literal)]));
  31078. usage = variable(name).callFn([]);
  31079. } else {
  31080. // Just declare and use the variable directly, without a function call
  31081. // indirection. This saves a few bytes and avoids an unnecessary call.
  31082. definition = variable(name).set(literal);
  31083. usage = variable(name);
  31084. }
  31085. this.statements.push(definition.toDeclStmt(INFERRED_TYPE, StmtModifier.Final));
  31086. fixup.fixup(usage);
  31087. }
  31088. return fixup;
  31089. }
  31090. getLiteralFactory(literal) {
  31091. // Create a pure function that builds an array of a mix of constant and variable expressions
  31092. if (literal instanceof LiteralArrayExpr) {
  31093. const argumentsForKey = literal.entries.map(e => e.isConstant() ? e : UNKNOWN_VALUE_KEY);
  31094. const key = this.keyOf(literalArr(argumentsForKey));
  31095. return this._getLiteralFactory(key, literal.entries, entries => literalArr(entries));
  31096. } else {
  31097. const expressionForKey = literalMap(literal.entries.map(e => ({
  31098. key: e.key,
  31099. value: e.value.isConstant() ? e.value : UNKNOWN_VALUE_KEY,
  31100. quoted: e.quoted
  31101. })));
  31102. const key = this.keyOf(expressionForKey);
  31103. return this._getLiteralFactory(key, literal.entries.map(e => e.value), entries => literalMap(entries.map((value, index) => ({
  31104. key: literal.entries[index].key,
  31105. value,
  31106. quoted: literal.entries[index].quoted
  31107. }))));
  31108. }
  31109. }
  31110. _getLiteralFactory(key, values, resultMap) {
  31111. let literalFactory = this.literalFactories.get(key);
  31112. const literalFactoryArguments = values.filter(e => !e.isConstant());
  31113. if (!literalFactory) {
  31114. const resultExpressions = values.map((e, index) => e.isConstant() ? this.getConstLiteral(e, true) : variable(`a${index}`));
  31115. const parameters = resultExpressions.filter(isVariable).map(e => new FnParam(e.name, DYNAMIC_TYPE));
  31116. const pureFunctionDeclaration = fn(parameters, [new ReturnStatement(resultMap(resultExpressions))], INFERRED_TYPE);
  31117. const name = this.freshName();
  31118. this.statements.push(variable(name).set(pureFunctionDeclaration).toDeclStmt(INFERRED_TYPE, StmtModifier.Final));
  31119. literalFactory = variable(name);
  31120. this.literalFactories.set(key, literalFactory);
  31121. }
  31122. return {
  31123. literalFactory,
  31124. literalFactoryArguments
  31125. };
  31126. }
  31127. /**
  31128. * Produce a unique name.
  31129. *
  31130. * The name might be unique among different prefixes if any of the prefixes end in
  31131. * a digit so the prefix should be a constant string (not based on user input) and
  31132. * must not end in a digit.
  31133. */
  31134. uniqueName(prefix) {
  31135. return `${prefix}${this.nextNameIndex++}`;
  31136. }
  31137. freshName() {
  31138. return this.uniqueName(CONSTANT_PREFIX);
  31139. }
  31140. keyOf(expression) {
  31141. return expression.visitExpression(new KeyVisitor(), KEY_CONTEXT);
  31142. }
  31143. }
  31144. /**
  31145. * Visitor used to determine if 2 expressions are equivalent and can be shared in the
  31146. * `ConstantPool`.
  31147. *
  31148. * When the id (string) generated by the visitor is equal, expressions are considered equivalent.
  31149. */
  31150. class KeyVisitor {
  31151. constructor() {
  31152. this.visitWrappedNodeExpr = invalid$1;
  31153. this.visitWriteVarExpr = invalid$1;
  31154. this.visitWriteKeyExpr = invalid$1;
  31155. this.visitWritePropExpr = invalid$1;
  31156. this.visitInvokeFunctionExpr = invalid$1;
  31157. this.visitTaggedTemplateExpr = invalid$1;
  31158. this.visitInstantiateExpr = invalid$1;
  31159. this.visitConditionalExpr = invalid$1;
  31160. this.visitNotExpr = invalid$1;
  31161. this.visitAssertNotNullExpr = invalid$1;
  31162. this.visitCastExpr = invalid$1;
  31163. this.visitFunctionExpr = invalid$1;
  31164. this.visitUnaryOperatorExpr = invalid$1;
  31165. this.visitBinaryOperatorExpr = invalid$1;
  31166. this.visitReadPropExpr = invalid$1;
  31167. this.visitReadKeyExpr = invalid$1;
  31168. this.visitCommaExpr = invalid$1;
  31169. this.visitLocalizedString = invalid$1;
  31170. }
  31171. visitLiteralExpr(ast) {
  31172. return `${typeof ast.value === 'string' ? '"' + ast.value + '"' : ast.value}`;
  31173. }
  31174. visitLiteralArrayExpr(ast, context) {
  31175. return `[${ast.entries.map(entry => entry.visitExpression(this, context)).join(',')}]`;
  31176. }
  31177. visitLiteralMapExpr(ast, context) {
  31178. const mapKey = entry => {
  31179. const quote = entry.quoted ? '"' : '';
  31180. return `${quote}${entry.key}${quote}`;
  31181. };
  31182. const mapEntry = entry => `${mapKey(entry)}:${entry.value.visitExpression(this, context)}`;
  31183. return `{${ast.entries.map(mapEntry).join(',')}`;
  31184. }
  31185. visitExternalExpr(ast) {
  31186. return ast.value.moduleName ? `EX:${ast.value.moduleName}:${ast.value.name}` : `EX:${ast.value.runtime.name}`;
  31187. }
  31188. visitReadVarExpr(node) {
  31189. return `VAR:${node.name}`;
  31190. }
  31191. visitTypeofExpr(node, context) {
  31192. return `TYPEOF:${node.expr.visitExpression(this, context)}`;
  31193. }
  31194. }
  31195. function invalid$1(arg) {
  31196. throw new Error(`Invalid state: Visitor ${this.constructor.name} doesn't handle ${arg.constructor.name}`);
  31197. }
  31198. function isVariable(e) {
  31199. return e instanceof ReadVarExpr;
  31200. }
  31201. function isLongStringLiteral(expr) {
  31202. return expr instanceof LiteralExpr && typeof expr.value === 'string' && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
  31203. }
  31204. /**
  31205. * @license
  31206. * Copyright Google LLC All Rights Reserved.
  31207. *
  31208. * Use of this source code is governed by an MIT-style license that can be
  31209. * found in the LICENSE file at https://angular.io/license
  31210. */
  31211. const CORE = '@angular/core';
  31212. class Identifiers {}
  31213. /* Methods */
  31214. Identifiers.NEW_METHOD = 'factory';
  31215. Identifiers.TRANSFORM_METHOD = 'transform';
  31216. Identifiers.PATCH_DEPS = 'patchedDeps';
  31217. Identifiers.core = {
  31218. name: null,
  31219. moduleName: CORE
  31220. };
  31221. /* Instructions */
  31222. Identifiers.namespaceHTML = {
  31223. name: 'ɵɵnamespaceHTML',
  31224. moduleName: CORE
  31225. };
  31226. Identifiers.namespaceMathML = {
  31227. name: 'ɵɵnamespaceMathML',
  31228. moduleName: CORE
  31229. };
  31230. Identifiers.namespaceSVG = {
  31231. name: 'ɵɵnamespaceSVG',
  31232. moduleName: CORE
  31233. };
  31234. Identifiers.element = {
  31235. name: 'ɵɵelement',
  31236. moduleName: CORE
  31237. };
  31238. Identifiers.elementStart = {
  31239. name: 'ɵɵelementStart',
  31240. moduleName: CORE
  31241. };
  31242. Identifiers.elementEnd = {
  31243. name: 'ɵɵelementEnd',
  31244. moduleName: CORE
  31245. };
  31246. Identifiers.advance = {
  31247. name: 'ɵɵadvance',
  31248. moduleName: CORE
  31249. };
  31250. Identifiers.syntheticHostProperty = {
  31251. name: 'ɵɵsyntheticHostProperty',
  31252. moduleName: CORE
  31253. };
  31254. Identifiers.syntheticHostListener = {
  31255. name: 'ɵɵsyntheticHostListener',
  31256. moduleName: CORE
  31257. };
  31258. Identifiers.attribute = {
  31259. name: 'ɵɵattribute',
  31260. moduleName: CORE
  31261. };
  31262. Identifiers.attributeInterpolate1 = {
  31263. name: 'ɵɵattributeInterpolate1',
  31264. moduleName: CORE
  31265. };
  31266. Identifiers.attributeInterpolate2 = {
  31267. name: 'ɵɵattributeInterpolate2',
  31268. moduleName: CORE
  31269. };
  31270. Identifiers.attributeInterpolate3 = {
  31271. name: 'ɵɵattributeInterpolate3',
  31272. moduleName: CORE
  31273. };
  31274. Identifiers.attributeInterpolate4 = {
  31275. name: 'ɵɵattributeInterpolate4',
  31276. moduleName: CORE
  31277. };
  31278. Identifiers.attributeInterpolate5 = {
  31279. name: 'ɵɵattributeInterpolate5',
  31280. moduleName: CORE
  31281. };
  31282. Identifiers.attributeInterpolate6 = {
  31283. name: 'ɵɵattributeInterpolate6',
  31284. moduleName: CORE
  31285. };
  31286. Identifiers.attributeInterpolate7 = {
  31287. name: 'ɵɵattributeInterpolate7',
  31288. moduleName: CORE
  31289. };
  31290. Identifiers.attributeInterpolate8 = {
  31291. name: 'ɵɵattributeInterpolate8',
  31292. moduleName: CORE
  31293. };
  31294. Identifiers.attributeInterpolateV = {
  31295. name: 'ɵɵattributeInterpolateV',
  31296. moduleName: CORE
  31297. };
  31298. Identifiers.classProp = {
  31299. name: 'ɵɵclassProp',
  31300. moduleName: CORE
  31301. };
  31302. Identifiers.elementContainerStart = {
  31303. name: 'ɵɵelementContainerStart',
  31304. moduleName: CORE
  31305. };
  31306. Identifiers.elementContainerEnd = {
  31307. name: 'ɵɵelementContainerEnd',
  31308. moduleName: CORE
  31309. };
  31310. Identifiers.elementContainer = {
  31311. name: 'ɵɵelementContainer',
  31312. moduleName: CORE
  31313. };
  31314. Identifiers.styleMap = {
  31315. name: 'ɵɵstyleMap',
  31316. moduleName: CORE
  31317. };
  31318. Identifiers.styleMapInterpolate1 = {
  31319. name: 'ɵɵstyleMapInterpolate1',
  31320. moduleName: CORE
  31321. };
  31322. Identifiers.styleMapInterpolate2 = {
  31323. name: 'ɵɵstyleMapInterpolate2',
  31324. moduleName: CORE
  31325. };
  31326. Identifiers.styleMapInterpolate3 = {
  31327. name: 'ɵɵstyleMapInterpolate3',
  31328. moduleName: CORE
  31329. };
  31330. Identifiers.styleMapInterpolate4 = {
  31331. name: 'ɵɵstyleMapInterpolate4',
  31332. moduleName: CORE
  31333. };
  31334. Identifiers.styleMapInterpolate5 = {
  31335. name: 'ɵɵstyleMapInterpolate5',
  31336. moduleName: CORE
  31337. };
  31338. Identifiers.styleMapInterpolate6 = {
  31339. name: 'ɵɵstyleMapInterpolate6',
  31340. moduleName: CORE
  31341. };
  31342. Identifiers.styleMapInterpolate7 = {
  31343. name: 'ɵɵstyleMapInterpolate7',
  31344. moduleName: CORE
  31345. };
  31346. Identifiers.styleMapInterpolate8 = {
  31347. name: 'ɵɵstyleMapInterpolate8',
  31348. moduleName: CORE
  31349. };
  31350. Identifiers.styleMapInterpolateV = {
  31351. name: 'ɵɵstyleMapInterpolateV',
  31352. moduleName: CORE
  31353. };
  31354. Identifiers.classMap = {
  31355. name: 'ɵɵclassMap',
  31356. moduleName: CORE
  31357. };
  31358. Identifiers.classMapInterpolate1 = {
  31359. name: 'ɵɵclassMapInterpolate1',
  31360. moduleName: CORE
  31361. };
  31362. Identifiers.classMapInterpolate2 = {
  31363. name: 'ɵɵclassMapInterpolate2',
  31364. moduleName: CORE
  31365. };
  31366. Identifiers.classMapInterpolate3 = {
  31367. name: 'ɵɵclassMapInterpolate3',
  31368. moduleName: CORE
  31369. };
  31370. Identifiers.classMapInterpolate4 = {
  31371. name: 'ɵɵclassMapInterpolate4',
  31372. moduleName: CORE
  31373. };
  31374. Identifiers.classMapInterpolate5 = {
  31375. name: 'ɵɵclassMapInterpolate5',
  31376. moduleName: CORE
  31377. };
  31378. Identifiers.classMapInterpolate6 = {
  31379. name: 'ɵɵclassMapInterpolate6',
  31380. moduleName: CORE
  31381. };
  31382. Identifiers.classMapInterpolate7 = {
  31383. name: 'ɵɵclassMapInterpolate7',
  31384. moduleName: CORE
  31385. };
  31386. Identifiers.classMapInterpolate8 = {
  31387. name: 'ɵɵclassMapInterpolate8',
  31388. moduleName: CORE
  31389. };
  31390. Identifiers.classMapInterpolateV = {
  31391. name: 'ɵɵclassMapInterpolateV',
  31392. moduleName: CORE
  31393. };
  31394. Identifiers.styleProp = {
  31395. name: 'ɵɵstyleProp',
  31396. moduleName: CORE
  31397. };
  31398. Identifiers.stylePropInterpolate1 = {
  31399. name: 'ɵɵstylePropInterpolate1',
  31400. moduleName: CORE
  31401. };
  31402. Identifiers.stylePropInterpolate2 = {
  31403. name: 'ɵɵstylePropInterpolate2',
  31404. moduleName: CORE
  31405. };
  31406. Identifiers.stylePropInterpolate3 = {
  31407. name: 'ɵɵstylePropInterpolate3',
  31408. moduleName: CORE
  31409. };
  31410. Identifiers.stylePropInterpolate4 = {
  31411. name: 'ɵɵstylePropInterpolate4',
  31412. moduleName: CORE
  31413. };
  31414. Identifiers.stylePropInterpolate5 = {
  31415. name: 'ɵɵstylePropInterpolate5',
  31416. moduleName: CORE
  31417. };
  31418. Identifiers.stylePropInterpolate6 = {
  31419. name: 'ɵɵstylePropInterpolate6',
  31420. moduleName: CORE
  31421. };
  31422. Identifiers.stylePropInterpolate7 = {
  31423. name: 'ɵɵstylePropInterpolate7',
  31424. moduleName: CORE
  31425. };
  31426. Identifiers.stylePropInterpolate8 = {
  31427. name: 'ɵɵstylePropInterpolate8',
  31428. moduleName: CORE
  31429. };
  31430. Identifiers.stylePropInterpolateV = {
  31431. name: 'ɵɵstylePropInterpolateV',
  31432. moduleName: CORE
  31433. };
  31434. Identifiers.nextContext = {
  31435. name: 'ɵɵnextContext',
  31436. moduleName: CORE
  31437. };
  31438. Identifiers.resetView = {
  31439. name: 'ɵɵresetView',
  31440. moduleName: CORE
  31441. };
  31442. Identifiers.templateCreate = {
  31443. name: 'ɵɵtemplate',
  31444. moduleName: CORE
  31445. };
  31446. Identifiers.text = {
  31447. name: 'ɵɵtext',
  31448. moduleName: CORE
  31449. };
  31450. Identifiers.enableBindings = {
  31451. name: 'ɵɵenableBindings',
  31452. moduleName: CORE
  31453. };
  31454. Identifiers.disableBindings = {
  31455. name: 'ɵɵdisableBindings',
  31456. moduleName: CORE
  31457. };
  31458. Identifiers.getCurrentView = {
  31459. name: 'ɵɵgetCurrentView',
  31460. moduleName: CORE
  31461. };
  31462. Identifiers.textInterpolate = {
  31463. name: 'ɵɵtextInterpolate',
  31464. moduleName: CORE
  31465. };
  31466. Identifiers.textInterpolate1 = {
  31467. name: 'ɵɵtextInterpolate1',
  31468. moduleName: CORE
  31469. };
  31470. Identifiers.textInterpolate2 = {
  31471. name: 'ɵɵtextInterpolate2',
  31472. moduleName: CORE
  31473. };
  31474. Identifiers.textInterpolate3 = {
  31475. name: 'ɵɵtextInterpolate3',
  31476. moduleName: CORE
  31477. };
  31478. Identifiers.textInterpolate4 = {
  31479. name: 'ɵɵtextInterpolate4',
  31480. moduleName: CORE
  31481. };
  31482. Identifiers.textInterpolate5 = {
  31483. name: 'ɵɵtextInterpolate5',
  31484. moduleName: CORE
  31485. };
  31486. Identifiers.textInterpolate6 = {
  31487. name: 'ɵɵtextInterpolate6',
  31488. moduleName: CORE
  31489. };
  31490. Identifiers.textInterpolate7 = {
  31491. name: 'ɵɵtextInterpolate7',
  31492. moduleName: CORE
  31493. };
  31494. Identifiers.textInterpolate8 = {
  31495. name: 'ɵɵtextInterpolate8',
  31496. moduleName: CORE
  31497. };
  31498. Identifiers.textInterpolateV = {
  31499. name: 'ɵɵtextInterpolateV',
  31500. moduleName: CORE
  31501. };
  31502. Identifiers.restoreView = {
  31503. name: 'ɵɵrestoreView',
  31504. moduleName: CORE
  31505. };
  31506. Identifiers.pureFunction0 = {
  31507. name: 'ɵɵpureFunction0',
  31508. moduleName: CORE
  31509. };
  31510. Identifiers.pureFunction1 = {
  31511. name: 'ɵɵpureFunction1',
  31512. moduleName: CORE
  31513. };
  31514. Identifiers.pureFunction2 = {
  31515. name: 'ɵɵpureFunction2',
  31516. moduleName: CORE
  31517. };
  31518. Identifiers.pureFunction3 = {
  31519. name: 'ɵɵpureFunction3',
  31520. moduleName: CORE
  31521. };
  31522. Identifiers.pureFunction4 = {
  31523. name: 'ɵɵpureFunction4',
  31524. moduleName: CORE
  31525. };
  31526. Identifiers.pureFunction5 = {
  31527. name: 'ɵɵpureFunction5',
  31528. moduleName: CORE
  31529. };
  31530. Identifiers.pureFunction6 = {
  31531. name: 'ɵɵpureFunction6',
  31532. moduleName: CORE
  31533. };
  31534. Identifiers.pureFunction7 = {
  31535. name: 'ɵɵpureFunction7',
  31536. moduleName: CORE
  31537. };
  31538. Identifiers.pureFunction8 = {
  31539. name: 'ɵɵpureFunction8',
  31540. moduleName: CORE
  31541. };
  31542. Identifiers.pureFunctionV = {
  31543. name: 'ɵɵpureFunctionV',
  31544. moduleName: CORE
  31545. };
  31546. Identifiers.pipeBind1 = {
  31547. name: 'ɵɵpipeBind1',
  31548. moduleName: CORE
  31549. };
  31550. Identifiers.pipeBind2 = {
  31551. name: 'ɵɵpipeBind2',
  31552. moduleName: CORE
  31553. };
  31554. Identifiers.pipeBind3 = {
  31555. name: 'ɵɵpipeBind3',
  31556. moduleName: CORE
  31557. };
  31558. Identifiers.pipeBind4 = {
  31559. name: 'ɵɵpipeBind4',
  31560. moduleName: CORE
  31561. };
  31562. Identifiers.pipeBindV = {
  31563. name: 'ɵɵpipeBindV',
  31564. moduleName: CORE
  31565. };
  31566. Identifiers.hostProperty = {
  31567. name: 'ɵɵhostProperty',
  31568. moduleName: CORE
  31569. };
  31570. Identifiers.property = {
  31571. name: 'ɵɵproperty',
  31572. moduleName: CORE
  31573. };
  31574. Identifiers.propertyInterpolate = {
  31575. name: 'ɵɵpropertyInterpolate',
  31576. moduleName: CORE
  31577. };
  31578. Identifiers.propertyInterpolate1 = {
  31579. name: 'ɵɵpropertyInterpolate1',
  31580. moduleName: CORE
  31581. };
  31582. Identifiers.propertyInterpolate2 = {
  31583. name: 'ɵɵpropertyInterpolate2',
  31584. moduleName: CORE
  31585. };
  31586. Identifiers.propertyInterpolate3 = {
  31587. name: 'ɵɵpropertyInterpolate3',
  31588. moduleName: CORE
  31589. };
  31590. Identifiers.propertyInterpolate4 = {
  31591. name: 'ɵɵpropertyInterpolate4',
  31592. moduleName: CORE
  31593. };
  31594. Identifiers.propertyInterpolate5 = {
  31595. name: 'ɵɵpropertyInterpolate5',
  31596. moduleName: CORE
  31597. };
  31598. Identifiers.propertyInterpolate6 = {
  31599. name: 'ɵɵpropertyInterpolate6',
  31600. moduleName: CORE
  31601. };
  31602. Identifiers.propertyInterpolate7 = {
  31603. name: 'ɵɵpropertyInterpolate7',
  31604. moduleName: CORE
  31605. };
  31606. Identifiers.propertyInterpolate8 = {
  31607. name: 'ɵɵpropertyInterpolate8',
  31608. moduleName: CORE
  31609. };
  31610. Identifiers.propertyInterpolateV = {
  31611. name: 'ɵɵpropertyInterpolateV',
  31612. moduleName: CORE
  31613. };
  31614. Identifiers.i18n = {
  31615. name: 'ɵɵi18n',
  31616. moduleName: CORE
  31617. };
  31618. Identifiers.i18nAttributes = {
  31619. name: 'ɵɵi18nAttributes',
  31620. moduleName: CORE
  31621. };
  31622. Identifiers.i18nExp = {
  31623. name: 'ɵɵi18nExp',
  31624. moduleName: CORE
  31625. };
  31626. Identifiers.i18nStart = {
  31627. name: 'ɵɵi18nStart',
  31628. moduleName: CORE
  31629. };
  31630. Identifiers.i18nEnd = {
  31631. name: 'ɵɵi18nEnd',
  31632. moduleName: CORE
  31633. };
  31634. Identifiers.i18nApply = {
  31635. name: 'ɵɵi18nApply',
  31636. moduleName: CORE
  31637. };
  31638. Identifiers.i18nPostprocess = {
  31639. name: 'ɵɵi18nPostprocess',
  31640. moduleName: CORE
  31641. };
  31642. Identifiers.pipe = {
  31643. name: 'ɵɵpipe',
  31644. moduleName: CORE
  31645. };
  31646. Identifiers.projection = {
  31647. name: 'ɵɵprojection',
  31648. moduleName: CORE
  31649. };
  31650. Identifiers.projectionDef = {
  31651. name: 'ɵɵprojectionDef',
  31652. moduleName: CORE
  31653. };
  31654. Identifiers.reference = {
  31655. name: 'ɵɵreference',
  31656. moduleName: CORE
  31657. };
  31658. Identifiers.inject = {
  31659. name: 'ɵɵinject',
  31660. moduleName: CORE
  31661. };
  31662. Identifiers.injectAttribute = {
  31663. name: 'ɵɵinjectAttribute',
  31664. moduleName: CORE
  31665. };
  31666. Identifiers.directiveInject = {
  31667. name: 'ɵɵdirectiveInject',
  31668. moduleName: CORE
  31669. };
  31670. Identifiers.invalidFactory = {
  31671. name: 'ɵɵinvalidFactory',
  31672. moduleName: CORE
  31673. };
  31674. Identifiers.invalidFactoryDep = {
  31675. name: 'ɵɵinvalidFactoryDep',
  31676. moduleName: CORE
  31677. };
  31678. Identifiers.templateRefExtractor = {
  31679. name: 'ɵɵtemplateRefExtractor',
  31680. moduleName: CORE
  31681. };
  31682. Identifiers.forwardRef = {
  31683. name: 'forwardRef',
  31684. moduleName: CORE
  31685. };
  31686. Identifiers.resolveForwardRef = {
  31687. name: 'resolveForwardRef',
  31688. moduleName: CORE
  31689. };
  31690. Identifiers.ɵɵdefineInjectable = {
  31691. name: 'ɵɵdefineInjectable',
  31692. moduleName: CORE
  31693. };
  31694. Identifiers.declareInjectable = {
  31695. name: 'ɵɵngDeclareInjectable',
  31696. moduleName: CORE
  31697. };
  31698. Identifiers.InjectableDeclaration = {
  31699. name: 'ɵɵInjectableDeclaration',
  31700. moduleName: CORE
  31701. };
  31702. Identifiers.resolveWindow = {
  31703. name: 'ɵɵresolveWindow',
  31704. moduleName: CORE
  31705. };
  31706. Identifiers.resolveDocument = {
  31707. name: 'ɵɵresolveDocument',
  31708. moduleName: CORE
  31709. };
  31710. Identifiers.resolveBody = {
  31711. name: 'ɵɵresolveBody',
  31712. moduleName: CORE
  31713. };
  31714. Identifiers.defineComponent = {
  31715. name: 'ɵɵdefineComponent',
  31716. moduleName: CORE
  31717. };
  31718. Identifiers.declareComponent = {
  31719. name: 'ɵɵngDeclareComponent',
  31720. moduleName: CORE
  31721. };
  31722. Identifiers.setComponentScope = {
  31723. name: 'ɵɵsetComponentScope',
  31724. moduleName: CORE
  31725. };
  31726. Identifiers.ChangeDetectionStrategy = {
  31727. name: 'ChangeDetectionStrategy',
  31728. moduleName: CORE
  31729. };
  31730. Identifiers.ViewEncapsulation = {
  31731. name: 'ViewEncapsulation',
  31732. moduleName: CORE
  31733. };
  31734. Identifiers.ComponentDeclaration = {
  31735. name: 'ɵɵComponentDeclaration',
  31736. moduleName: CORE
  31737. };
  31738. Identifiers.FactoryDeclaration = {
  31739. name: 'ɵɵFactoryDeclaration',
  31740. moduleName: CORE
  31741. };
  31742. Identifiers.declareFactory = {
  31743. name: 'ɵɵngDeclareFactory',
  31744. moduleName: CORE
  31745. };
  31746. Identifiers.FactoryTarget = {
  31747. name: 'ɵɵFactoryTarget',
  31748. moduleName: CORE
  31749. };
  31750. Identifiers.defineDirective = {
  31751. name: 'ɵɵdefineDirective',
  31752. moduleName: CORE
  31753. };
  31754. Identifiers.declareDirective = {
  31755. name: 'ɵɵngDeclareDirective',
  31756. moduleName: CORE
  31757. };
  31758. Identifiers.DirectiveDeclaration = {
  31759. name: 'ɵɵDirectiveDeclaration',
  31760. moduleName: CORE
  31761. };
  31762. Identifiers.InjectorDef = {
  31763. name: 'ɵɵInjectorDef',
  31764. moduleName: CORE
  31765. };
  31766. Identifiers.InjectorDeclaration = {
  31767. name: 'ɵɵInjectorDeclaration',
  31768. moduleName: CORE
  31769. };
  31770. Identifiers.defineInjector = {
  31771. name: 'ɵɵdefineInjector',
  31772. moduleName: CORE
  31773. };
  31774. Identifiers.declareInjector = {
  31775. name: 'ɵɵngDeclareInjector',
  31776. moduleName: CORE
  31777. };
  31778. Identifiers.NgModuleDeclaration = {
  31779. name: 'ɵɵNgModuleDeclaration',
  31780. moduleName: CORE
  31781. };
  31782. Identifiers.ModuleWithProviders = {
  31783. name: 'ModuleWithProviders',
  31784. moduleName: CORE
  31785. };
  31786. Identifiers.defineNgModule = {
  31787. name: 'ɵɵdefineNgModule',
  31788. moduleName: CORE
  31789. };
  31790. Identifiers.declareNgModule = {
  31791. name: 'ɵɵngDeclareNgModule',
  31792. moduleName: CORE
  31793. };
  31794. Identifiers.setNgModuleScope = {
  31795. name: 'ɵɵsetNgModuleScope',
  31796. moduleName: CORE
  31797. };
  31798. Identifiers.registerNgModuleType = {
  31799. name: 'ɵɵregisterNgModuleType',
  31800. moduleName: CORE
  31801. };
  31802. Identifiers.PipeDeclaration = {
  31803. name: 'ɵɵPipeDeclaration',
  31804. moduleName: CORE
  31805. };
  31806. Identifiers.definePipe = {
  31807. name: 'ɵɵdefinePipe',
  31808. moduleName: CORE
  31809. };
  31810. Identifiers.declarePipe = {
  31811. name: 'ɵɵngDeclarePipe',
  31812. moduleName: CORE
  31813. };
  31814. Identifiers.declareClassMetadata = {
  31815. name: 'ɵɵngDeclareClassMetadata',
  31816. moduleName: CORE
  31817. };
  31818. Identifiers.setClassMetadata = {
  31819. name: 'ɵsetClassMetadata',
  31820. moduleName: CORE
  31821. };
  31822. Identifiers.queryRefresh = {
  31823. name: 'ɵɵqueryRefresh',
  31824. moduleName: CORE
  31825. };
  31826. Identifiers.viewQuery = {
  31827. name: 'ɵɵviewQuery',
  31828. moduleName: CORE
  31829. };
  31830. Identifiers.loadQuery = {
  31831. name: 'ɵɵloadQuery',
  31832. moduleName: CORE
  31833. };
  31834. Identifiers.contentQuery = {
  31835. name: 'ɵɵcontentQuery',
  31836. moduleName: CORE
  31837. };
  31838. Identifiers.NgOnChangesFeature = {
  31839. name: 'ɵɵNgOnChangesFeature',
  31840. moduleName: CORE
  31841. };
  31842. Identifiers.InheritDefinitionFeature = {
  31843. name: 'ɵɵInheritDefinitionFeature',
  31844. moduleName: CORE
  31845. };
  31846. Identifiers.CopyDefinitionFeature = {
  31847. name: 'ɵɵCopyDefinitionFeature',
  31848. moduleName: CORE
  31849. };
  31850. Identifiers.StandaloneFeature = {
  31851. name: 'ɵɵStandaloneFeature',
  31852. moduleName: CORE
  31853. };
  31854. Identifiers.ProvidersFeature = {
  31855. name: 'ɵɵProvidersFeature',
  31856. moduleName: CORE
  31857. };
  31858. Identifiers.listener = {
  31859. name: 'ɵɵlistener',
  31860. moduleName: CORE
  31861. };
  31862. Identifiers.getInheritedFactory = {
  31863. name: 'ɵɵgetInheritedFactory',
  31864. moduleName: CORE
  31865. }; // sanitization-related functions
  31866. Identifiers.sanitizeHtml = {
  31867. name: 'ɵɵsanitizeHtml',
  31868. moduleName: CORE
  31869. };
  31870. Identifiers.sanitizeStyle = {
  31871. name: 'ɵɵsanitizeStyle',
  31872. moduleName: CORE
  31873. };
  31874. Identifiers.sanitizeResourceUrl = {
  31875. name: 'ɵɵsanitizeResourceUrl',
  31876. moduleName: CORE
  31877. };
  31878. Identifiers.sanitizeScript = {
  31879. name: 'ɵɵsanitizeScript',
  31880. moduleName: CORE
  31881. };
  31882. Identifiers.sanitizeUrl = {
  31883. name: 'ɵɵsanitizeUrl',
  31884. moduleName: CORE
  31885. };
  31886. Identifiers.sanitizeUrlOrResourceUrl = {
  31887. name: 'ɵɵsanitizeUrlOrResourceUrl',
  31888. moduleName: CORE
  31889. };
  31890. Identifiers.trustConstantHtml = {
  31891. name: 'ɵɵtrustConstantHtml',
  31892. moduleName: CORE
  31893. };
  31894. Identifiers.trustConstantResourceUrl = {
  31895. name: 'ɵɵtrustConstantResourceUrl',
  31896. moduleName: CORE
  31897. };
  31898. /**
  31899. * @license
  31900. * Copyright Google LLC All Rights Reserved.
  31901. *
  31902. * Use of this source code is governed by an MIT-style license that can be
  31903. * found in the LICENSE file at https://angular.io/license
  31904. */
  31905. // https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit
  31906. const VERSION$1 = 3;
  31907. const JS_B64_PREFIX = '# sourceMappingURL=data:application/json;base64,';
  31908. class SourceMapGenerator {
  31909. constructor(file = null) {
  31910. this.file = file;
  31911. this.sourcesContent = new Map();
  31912. this.lines = [];
  31913. this.lastCol0 = 0;
  31914. this.hasMappings = false;
  31915. } // The content is `null` when the content is expected to be loaded using the URL
  31916. addSource(url, content = null) {
  31917. if (!this.sourcesContent.has(url)) {
  31918. this.sourcesContent.set(url, content);
  31919. }
  31920. return this;
  31921. }
  31922. addLine() {
  31923. this.lines.push([]);
  31924. this.lastCol0 = 0;
  31925. return this;
  31926. }
  31927. addMapping(col0, sourceUrl, sourceLine0, sourceCol0) {
  31928. if (!this.currentLine) {
  31929. throw new Error(`A line must be added before mappings can be added`);
  31930. }
  31931. if (sourceUrl != null && !this.sourcesContent.has(sourceUrl)) {
  31932. throw new Error(`Unknown source file "${sourceUrl}"`);
  31933. }
  31934. if (col0 == null) {
  31935. throw new Error(`The column in the generated code must be provided`);
  31936. }
  31937. if (col0 < this.lastCol0) {
  31938. throw new Error(`Mapping should be added in output order`);
  31939. }
  31940. if (sourceUrl && (sourceLine0 == null || sourceCol0 == null)) {
  31941. throw new Error(`The source location must be provided when a source url is provided`);
  31942. }
  31943. this.hasMappings = true;
  31944. this.lastCol0 = col0;
  31945. this.currentLine.push({
  31946. col0,
  31947. sourceUrl,
  31948. sourceLine0,
  31949. sourceCol0
  31950. });
  31951. return this;
  31952. }
  31953. /**
  31954. * @internal strip this from published d.ts files due to
  31955. * https://github.com/microsoft/TypeScript/issues/36216
  31956. */
  31957. get currentLine() {
  31958. return this.lines.slice(-1)[0];
  31959. }
  31960. toJSON() {
  31961. if (!this.hasMappings) {
  31962. return null;
  31963. }
  31964. const sourcesIndex = new Map();
  31965. const sources = [];
  31966. const sourcesContent = [];
  31967. Array.from(this.sourcesContent.keys()).forEach((url, i) => {
  31968. sourcesIndex.set(url, i);
  31969. sources.push(url);
  31970. sourcesContent.push(this.sourcesContent.get(url) || null);
  31971. });
  31972. let mappings = '';
  31973. let lastCol0 = 0;
  31974. let lastSourceIndex = 0;
  31975. let lastSourceLine0 = 0;
  31976. let lastSourceCol0 = 0;
  31977. this.lines.forEach(segments => {
  31978. lastCol0 = 0;
  31979. mappings += segments.map(segment => {
  31980. // zero-based starting column of the line in the generated code
  31981. let segAsStr = toBase64VLQ(segment.col0 - lastCol0);
  31982. lastCol0 = segment.col0;
  31983. if (segment.sourceUrl != null) {
  31984. // zero-based index into the “sources” list
  31985. segAsStr += toBase64VLQ(sourcesIndex.get(segment.sourceUrl) - lastSourceIndex);
  31986. lastSourceIndex = sourcesIndex.get(segment.sourceUrl); // the zero-based starting line in the original source
  31987. segAsStr += toBase64VLQ(segment.sourceLine0 - lastSourceLine0);
  31988. lastSourceLine0 = segment.sourceLine0; // the zero-based starting column in the original source
  31989. segAsStr += toBase64VLQ(segment.sourceCol0 - lastSourceCol0);
  31990. lastSourceCol0 = segment.sourceCol0;
  31991. }
  31992. return segAsStr;
  31993. }).join(',');
  31994. mappings += ';';
  31995. });
  31996. mappings = mappings.slice(0, -1);
  31997. return {
  31998. 'file': this.file || '',
  31999. 'version': VERSION$1,
  32000. 'sourceRoot': '',
  32001. 'sources': sources,
  32002. 'sourcesContent': sourcesContent,
  32003. 'mappings': mappings
  32004. };
  32005. }
  32006. toJsComment() {
  32007. return this.hasMappings ? '//' + JS_B64_PREFIX + toBase64String(JSON.stringify(this, null, 0)) : '';
  32008. }
  32009. }
  32010. function toBase64String(value) {
  32011. let b64 = '';
  32012. const encoded = utf8Encode(value);
  32013. for (let i = 0; i < encoded.length;) {
  32014. const i1 = encoded[i++];
  32015. const i2 = i < encoded.length ? encoded[i++] : null;
  32016. const i3 = i < encoded.length ? encoded[i++] : null;
  32017. b64 += toBase64Digit(i1 >> 2);
  32018. b64 += toBase64Digit((i1 & 3) << 4 | (i2 === null ? 0 : i2 >> 4));
  32019. b64 += i2 === null ? '=' : toBase64Digit((i2 & 15) << 2 | (i3 === null ? 0 : i3 >> 6));
  32020. b64 += i2 === null || i3 === null ? '=' : toBase64Digit(i3 & 63);
  32021. }
  32022. return b64;
  32023. }
  32024. function toBase64VLQ(value) {
  32025. value = value < 0 ? (-value << 1) + 1 : value << 1;
  32026. let out = '';
  32027. do {
  32028. let digit = value & 31;
  32029. value = value >> 5;
  32030. if (value > 0) {
  32031. digit = digit | 32;
  32032. }
  32033. out += toBase64Digit(digit);
  32034. } while (value > 0);
  32035. return out;
  32036. }
  32037. const B64_DIGITS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
  32038. function toBase64Digit(value) {
  32039. if (value < 0 || value >= 64) {
  32040. throw new Error(`Can only encode value in the range [0, 63]`);
  32041. }
  32042. return B64_DIGITS[value];
  32043. }
  32044. /**
  32045. * @license
  32046. * Copyright Google LLC All Rights Reserved.
  32047. *
  32048. * Use of this source code is governed by an MIT-style license that can be
  32049. * found in the LICENSE file at https://angular.io/license
  32050. */
  32051. const _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
  32052. const _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
  32053. const _INDENT_WITH = ' ';
  32054. class _EmittedLine {
  32055. constructor(indent) {
  32056. this.indent = indent;
  32057. this.partsLength = 0;
  32058. this.parts = [];
  32059. this.srcSpans = [];
  32060. }
  32061. }
  32062. class EmitterVisitorContext {
  32063. constructor(_indent) {
  32064. this._indent = _indent;
  32065. this._lines = [new _EmittedLine(_indent)];
  32066. }
  32067. static createRoot() {
  32068. return new EmitterVisitorContext(0);
  32069. }
  32070. /**
  32071. * @internal strip this from published d.ts files due to
  32072. * https://github.com/microsoft/TypeScript/issues/36216
  32073. */
  32074. get _currentLine() {
  32075. return this._lines[this._lines.length - 1];
  32076. }
  32077. println(from, lastPart = '') {
  32078. this.print(from || null, lastPart, true);
  32079. }
  32080. lineIsEmpty() {
  32081. return this._currentLine.parts.length === 0;
  32082. }
  32083. lineLength() {
  32084. return this._currentLine.indent * _INDENT_WITH.length + this._currentLine.partsLength;
  32085. }
  32086. print(from, part, newLine = false) {
  32087. if (part.length > 0) {
  32088. this._currentLine.parts.push(part);
  32089. this._currentLine.partsLength += part.length;
  32090. this._currentLine.srcSpans.push(from && from.sourceSpan || null);
  32091. }
  32092. if (newLine) {
  32093. this._lines.push(new _EmittedLine(this._indent));
  32094. }
  32095. }
  32096. removeEmptyLastLine() {
  32097. if (this.lineIsEmpty()) {
  32098. this._lines.pop();
  32099. }
  32100. }
  32101. incIndent() {
  32102. this._indent++;
  32103. if (this.lineIsEmpty()) {
  32104. this._currentLine.indent = this._indent;
  32105. }
  32106. }
  32107. decIndent() {
  32108. this._indent--;
  32109. if (this.lineIsEmpty()) {
  32110. this._currentLine.indent = this._indent;
  32111. }
  32112. }
  32113. toSource() {
  32114. return this.sourceLines.map(l => l.parts.length > 0 ? _createIndent(l.indent) + l.parts.join('') : '').join('\n');
  32115. }
  32116. toSourceMapGenerator(genFilePath, startsAtLine = 0) {
  32117. const map = new SourceMapGenerator(genFilePath);
  32118. let firstOffsetMapped = false;
  32119. const mapFirstOffsetIfNeeded = () => {
  32120. if (!firstOffsetMapped) {
  32121. // Add a single space so that tools won't try to load the file from disk.
  32122. // Note: We are using virtual urls like `ng:///`, so we have to
  32123. // provide a content here.
  32124. map.addSource(genFilePath, ' ').addMapping(0, genFilePath, 0, 0);
  32125. firstOffsetMapped = true;
  32126. }
  32127. };
  32128. for (let i = 0; i < startsAtLine; i++) {
  32129. map.addLine();
  32130. mapFirstOffsetIfNeeded();
  32131. }
  32132. this.sourceLines.forEach((line, lineIdx) => {
  32133. map.addLine();
  32134. const spans = line.srcSpans;
  32135. const parts = line.parts;
  32136. let col0 = line.indent * _INDENT_WITH.length;
  32137. let spanIdx = 0; // skip leading parts without source spans
  32138. while (spanIdx < spans.length && !spans[spanIdx]) {
  32139. col0 += parts[spanIdx].length;
  32140. spanIdx++;
  32141. }
  32142. if (spanIdx < spans.length && lineIdx === 0 && col0 === 0) {
  32143. firstOffsetMapped = true;
  32144. } else {
  32145. mapFirstOffsetIfNeeded();
  32146. }
  32147. while (spanIdx < spans.length) {
  32148. const span = spans[spanIdx];
  32149. const source = span.start.file;
  32150. const sourceLine = span.start.line;
  32151. const sourceCol = span.start.col;
  32152. map.addSource(source.url, source.content).addMapping(col0, source.url, sourceLine, sourceCol);
  32153. col0 += parts[spanIdx].length;
  32154. spanIdx++; // assign parts without span or the same span to the previous segment
  32155. while (spanIdx < spans.length && (span === spans[spanIdx] || !spans[spanIdx])) {
  32156. col0 += parts[spanIdx].length;
  32157. spanIdx++;
  32158. }
  32159. }
  32160. });
  32161. return map;
  32162. }
  32163. spanOf(line, column) {
  32164. const emittedLine = this._lines[line];
  32165. if (emittedLine) {
  32166. let columnsLeft = column - _createIndent(emittedLine.indent).length;
  32167. for (let partIndex = 0; partIndex < emittedLine.parts.length; partIndex++) {
  32168. const part = emittedLine.parts[partIndex];
  32169. if (part.length > columnsLeft) {
  32170. return emittedLine.srcSpans[partIndex];
  32171. }
  32172. columnsLeft -= part.length;
  32173. }
  32174. }
  32175. return null;
  32176. }
  32177. /**
  32178. * @internal strip this from published d.ts files due to
  32179. * https://github.com/microsoft/TypeScript/issues/36216
  32180. */
  32181. get sourceLines() {
  32182. if (this._lines.length && this._lines[this._lines.length - 1].parts.length === 0) {
  32183. return this._lines.slice(0, -1);
  32184. }
  32185. return this._lines;
  32186. }
  32187. }
  32188. class AbstractEmitterVisitor {
  32189. constructor(_escapeDollarInStrings) {
  32190. this._escapeDollarInStrings = _escapeDollarInStrings;
  32191. }
  32192. printLeadingComments(stmt, ctx) {
  32193. if (stmt.leadingComments === undefined) {
  32194. return;
  32195. }
  32196. for (const comment of stmt.leadingComments) {
  32197. if (comment instanceof JSDocComment) {
  32198. ctx.print(stmt, `/*${comment.toString()}*/`, comment.trailingNewline);
  32199. } else {
  32200. if (comment.multiline) {
  32201. ctx.print(stmt, `/* ${comment.text} */`, comment.trailingNewline);
  32202. } else {
  32203. comment.text.split('\n').forEach(line => {
  32204. ctx.println(stmt, `// ${line}`);
  32205. });
  32206. }
  32207. }
  32208. }
  32209. }
  32210. visitExpressionStmt(stmt, ctx) {
  32211. this.printLeadingComments(stmt, ctx);
  32212. stmt.expr.visitExpression(this, ctx);
  32213. ctx.println(stmt, ';');
  32214. return null;
  32215. }
  32216. visitReturnStmt(stmt, ctx) {
  32217. this.printLeadingComments(stmt, ctx);
  32218. ctx.print(stmt, `return `);
  32219. stmt.value.visitExpression(this, ctx);
  32220. ctx.println(stmt, ';');
  32221. return null;
  32222. }
  32223. visitIfStmt(stmt, ctx) {
  32224. this.printLeadingComments(stmt, ctx);
  32225. ctx.print(stmt, `if (`);
  32226. stmt.condition.visitExpression(this, ctx);
  32227. ctx.print(stmt, `) {`);
  32228. const hasElseCase = stmt.falseCase != null && stmt.falseCase.length > 0;
  32229. if (stmt.trueCase.length <= 1 && !hasElseCase) {
  32230. ctx.print(stmt, ` `);
  32231. this.visitAllStatements(stmt.trueCase, ctx);
  32232. ctx.removeEmptyLastLine();
  32233. ctx.print(stmt, ` `);
  32234. } else {
  32235. ctx.println();
  32236. ctx.incIndent();
  32237. this.visitAllStatements(stmt.trueCase, ctx);
  32238. ctx.decIndent();
  32239. if (hasElseCase) {
  32240. ctx.println(stmt, `} else {`);
  32241. ctx.incIndent();
  32242. this.visitAllStatements(stmt.falseCase, ctx);
  32243. ctx.decIndent();
  32244. }
  32245. }
  32246. ctx.println(stmt, `}`);
  32247. return null;
  32248. }
  32249. visitWriteVarExpr(expr, ctx) {
  32250. const lineWasEmpty = ctx.lineIsEmpty();
  32251. if (!lineWasEmpty) {
  32252. ctx.print(expr, '(');
  32253. }
  32254. ctx.print(expr, `${expr.name} = `);
  32255. expr.value.visitExpression(this, ctx);
  32256. if (!lineWasEmpty) {
  32257. ctx.print(expr, ')');
  32258. }
  32259. return null;
  32260. }
  32261. visitWriteKeyExpr(expr, ctx) {
  32262. const lineWasEmpty = ctx.lineIsEmpty();
  32263. if (!lineWasEmpty) {
  32264. ctx.print(expr, '(');
  32265. }
  32266. expr.receiver.visitExpression(this, ctx);
  32267. ctx.print(expr, `[`);
  32268. expr.index.visitExpression(this, ctx);
  32269. ctx.print(expr, `] = `);
  32270. expr.value.visitExpression(this, ctx);
  32271. if (!lineWasEmpty) {
  32272. ctx.print(expr, ')');
  32273. }
  32274. return null;
  32275. }
  32276. visitWritePropExpr(expr, ctx) {
  32277. const lineWasEmpty = ctx.lineIsEmpty();
  32278. if (!lineWasEmpty) {
  32279. ctx.print(expr, '(');
  32280. }
  32281. expr.receiver.visitExpression(this, ctx);
  32282. ctx.print(expr, `.${expr.name} = `);
  32283. expr.value.visitExpression(this, ctx);
  32284. if (!lineWasEmpty) {
  32285. ctx.print(expr, ')');
  32286. }
  32287. return null;
  32288. }
  32289. visitInvokeFunctionExpr(expr, ctx) {
  32290. expr.fn.visitExpression(this, ctx);
  32291. ctx.print(expr, `(`);
  32292. this.visitAllExpressions(expr.args, ctx, ',');
  32293. ctx.print(expr, `)`);
  32294. return null;
  32295. }
  32296. visitTaggedTemplateExpr(expr, ctx) {
  32297. expr.tag.visitExpression(this, ctx);
  32298. ctx.print(expr, '`' + expr.template.elements[0].rawText);
  32299. for (let i = 1; i < expr.template.elements.length; i++) {
  32300. ctx.print(expr, '${');
  32301. expr.template.expressions[i - 1].visitExpression(this, ctx);
  32302. ctx.print(expr, `}${expr.template.elements[i].rawText}`);
  32303. }
  32304. ctx.print(expr, '`');
  32305. return null;
  32306. }
  32307. visitWrappedNodeExpr(ast, ctx) {
  32308. throw new Error('Abstract emitter cannot visit WrappedNodeExpr.');
  32309. }
  32310. visitTypeofExpr(expr, ctx) {
  32311. ctx.print(expr, 'typeof ');
  32312. expr.expr.visitExpression(this, ctx);
  32313. }
  32314. visitReadVarExpr(ast, ctx) {
  32315. ctx.print(ast, ast.name);
  32316. return null;
  32317. }
  32318. visitInstantiateExpr(ast, ctx) {
  32319. ctx.print(ast, `new `);
  32320. ast.classExpr.visitExpression(this, ctx);
  32321. ctx.print(ast, `(`);
  32322. this.visitAllExpressions(ast.args, ctx, ',');
  32323. ctx.print(ast, `)`);
  32324. return null;
  32325. }
  32326. visitLiteralExpr(ast, ctx) {
  32327. const value = ast.value;
  32328. if (typeof value === 'string') {
  32329. ctx.print(ast, escapeIdentifier(value, this._escapeDollarInStrings));
  32330. } else {
  32331. ctx.print(ast, `${value}`);
  32332. }
  32333. return null;
  32334. }
  32335. visitLocalizedString(ast, ctx) {
  32336. const head = ast.serializeI18nHead();
  32337. ctx.print(ast, '$localize `' + head.raw);
  32338. for (let i = 1; i < ast.messageParts.length; i++) {
  32339. ctx.print(ast, '${');
  32340. ast.expressions[i - 1].visitExpression(this, ctx);
  32341. ctx.print(ast, `}${ast.serializeI18nTemplatePart(i).raw}`);
  32342. }
  32343. ctx.print(ast, '`');
  32344. return null;
  32345. }
  32346. visitConditionalExpr(ast, ctx) {
  32347. ctx.print(ast, `(`);
  32348. ast.condition.visitExpression(this, ctx);
  32349. ctx.print(ast, '? ');
  32350. ast.trueCase.visitExpression(this, ctx);
  32351. ctx.print(ast, ': ');
  32352. ast.falseCase.visitExpression(this, ctx);
  32353. ctx.print(ast, `)`);
  32354. return null;
  32355. }
  32356. visitNotExpr(ast, ctx) {
  32357. ctx.print(ast, '!');
  32358. ast.condition.visitExpression(this, ctx);
  32359. return null;
  32360. }
  32361. visitUnaryOperatorExpr(ast, ctx) {
  32362. let opStr;
  32363. switch (ast.operator) {
  32364. case UnaryOperator.Plus:
  32365. opStr = '+';
  32366. break;
  32367. case UnaryOperator.Minus:
  32368. opStr = '-';
  32369. break;
  32370. default:
  32371. throw new Error(`Unknown operator ${ast.operator}`);
  32372. }
  32373. if (ast.parens) ctx.print(ast, `(`);
  32374. ctx.print(ast, opStr);
  32375. ast.expr.visitExpression(this, ctx);
  32376. if (ast.parens) ctx.print(ast, `)`);
  32377. return null;
  32378. }
  32379. visitBinaryOperatorExpr(ast, ctx) {
  32380. let opStr;
  32381. switch (ast.operator) {
  32382. case BinaryOperator.Equals:
  32383. opStr = '==';
  32384. break;
  32385. case BinaryOperator.Identical:
  32386. opStr = '===';
  32387. break;
  32388. case BinaryOperator.NotEquals:
  32389. opStr = '!=';
  32390. break;
  32391. case BinaryOperator.NotIdentical:
  32392. opStr = '!==';
  32393. break;
  32394. case BinaryOperator.And:
  32395. opStr = '&&';
  32396. break;
  32397. case BinaryOperator.BitwiseAnd:
  32398. opStr = '&';
  32399. break;
  32400. case BinaryOperator.Or:
  32401. opStr = '||';
  32402. break;
  32403. case BinaryOperator.Plus:
  32404. opStr = '+';
  32405. break;
  32406. case BinaryOperator.Minus:
  32407. opStr = '-';
  32408. break;
  32409. case BinaryOperator.Divide:
  32410. opStr = '/';
  32411. break;
  32412. case BinaryOperator.Multiply:
  32413. opStr = '*';
  32414. break;
  32415. case BinaryOperator.Modulo:
  32416. opStr = '%';
  32417. break;
  32418. case BinaryOperator.Lower:
  32419. opStr = '<';
  32420. break;
  32421. case BinaryOperator.LowerEquals:
  32422. opStr = '<=';
  32423. break;
  32424. case BinaryOperator.Bigger:
  32425. opStr = '>';
  32426. break;
  32427. case BinaryOperator.BiggerEquals:
  32428. opStr = '>=';
  32429. break;
  32430. case BinaryOperator.NullishCoalesce:
  32431. opStr = '??';
  32432. break;
  32433. default:
  32434. throw new Error(`Unknown operator ${ast.operator}`);
  32435. }
  32436. if (ast.parens) ctx.print(ast, `(`);
  32437. ast.lhs.visitExpression(this, ctx);
  32438. ctx.print(ast, ` ${opStr} `);
  32439. ast.rhs.visitExpression(this, ctx);
  32440. if (ast.parens) ctx.print(ast, `)`);
  32441. return null;
  32442. }
  32443. visitReadPropExpr(ast, ctx) {
  32444. ast.receiver.visitExpression(this, ctx);
  32445. ctx.print(ast, `.`);
  32446. ctx.print(ast, ast.name);
  32447. return null;
  32448. }
  32449. visitReadKeyExpr(ast, ctx) {
  32450. ast.receiver.visitExpression(this, ctx);
  32451. ctx.print(ast, `[`);
  32452. ast.index.visitExpression(this, ctx);
  32453. ctx.print(ast, `]`);
  32454. return null;
  32455. }
  32456. visitLiteralArrayExpr(ast, ctx) {
  32457. ctx.print(ast, `[`);
  32458. this.visitAllExpressions(ast.entries, ctx, ',');
  32459. ctx.print(ast, `]`);
  32460. return null;
  32461. }
  32462. visitLiteralMapExpr(ast, ctx) {
  32463. ctx.print(ast, `{`);
  32464. this.visitAllObjects(entry => {
  32465. ctx.print(ast, `${escapeIdentifier(entry.key, this._escapeDollarInStrings, entry.quoted)}:`);
  32466. entry.value.visitExpression(this, ctx);
  32467. }, ast.entries, ctx, ',');
  32468. ctx.print(ast, `}`);
  32469. return null;
  32470. }
  32471. visitCommaExpr(ast, ctx) {
  32472. ctx.print(ast, '(');
  32473. this.visitAllExpressions(ast.parts, ctx, ',');
  32474. ctx.print(ast, ')');
  32475. return null;
  32476. }
  32477. visitAllExpressions(expressions, ctx, separator) {
  32478. this.visitAllObjects(expr => expr.visitExpression(this, ctx), expressions, ctx, separator);
  32479. }
  32480. visitAllObjects(handler, expressions, ctx, separator) {
  32481. let incrementedIndent = false;
  32482. for (let i = 0; i < expressions.length; i++) {
  32483. if (i > 0) {
  32484. if (ctx.lineLength() > 80) {
  32485. ctx.print(null, separator, true);
  32486. if (!incrementedIndent) {
  32487. // continuation are marked with double indent.
  32488. ctx.incIndent();
  32489. ctx.incIndent();
  32490. incrementedIndent = true;
  32491. }
  32492. } else {
  32493. ctx.print(null, separator, false);
  32494. }
  32495. }
  32496. handler(expressions[i]);
  32497. }
  32498. if (incrementedIndent) {
  32499. // continuation are marked with double indent.
  32500. ctx.decIndent();
  32501. ctx.decIndent();
  32502. }
  32503. }
  32504. visitAllStatements(statements, ctx) {
  32505. statements.forEach(stmt => stmt.visitStatement(this, ctx));
  32506. }
  32507. }
  32508. function escapeIdentifier(input, escapeDollar, alwaysQuote = true) {
  32509. if (input == null) {
  32510. return null;
  32511. }
  32512. const body = input.replace(_SINGLE_QUOTE_ESCAPE_STRING_RE, (...match) => {
  32513. if (match[0] == '$') {
  32514. return escapeDollar ? '\\$' : '$';
  32515. } else if (match[0] == '\n') {
  32516. return '\\n';
  32517. } else if (match[0] == '\r') {
  32518. return '\\r';
  32519. } else {
  32520. return `\\${match[0]}`;
  32521. }
  32522. });
  32523. const requiresQuotes = alwaysQuote || !_LEGAL_IDENTIFIER_RE.test(body);
  32524. return requiresQuotes ? `'${body}'` : body;
  32525. }
  32526. function _createIndent(count) {
  32527. let res = '';
  32528. for (let i = 0; i < count; i++) {
  32529. res += _INDENT_WITH;
  32530. }
  32531. return res;
  32532. }
  32533. /**
  32534. * @license
  32535. * Copyright Google LLC All Rights Reserved.
  32536. *
  32537. * Use of this source code is governed by an MIT-style license that can be
  32538. * found in the LICENSE file at https://angular.io/license
  32539. */
  32540. function typeWithParameters(type, numParams) {
  32541. if (numParams === 0) {
  32542. return expressionType(type);
  32543. }
  32544. const params = [];
  32545. for (let i = 0; i < numParams; i++) {
  32546. params.push(DYNAMIC_TYPE);
  32547. }
  32548. return expressionType(type, undefined, params);
  32549. }
  32550. const ANIMATE_SYMBOL_PREFIX = '@';
  32551. function prepareSyntheticPropertyName(name) {
  32552. return `${ANIMATE_SYMBOL_PREFIX}${name}`;
  32553. }
  32554. function prepareSyntheticListenerName(name, phase) {
  32555. return `${ANIMATE_SYMBOL_PREFIX}${name}.${phase}`;
  32556. }
  32557. function getSafePropertyAccessString(accessor, name) {
  32558. const escapedName = escapeIdentifier(name, false, false);
  32559. return escapedName !== name ? `${accessor}[${escapedName}]` : `${accessor}.${name}`;
  32560. }
  32561. function prepareSyntheticListenerFunctionName(name, phase) {
  32562. return `animation_${name}_${phase}`;
  32563. }
  32564. function jitOnlyGuardedExpression(expr) {
  32565. return guardedExpression('ngJitMode', expr);
  32566. }
  32567. function devOnlyGuardedExpression(expr) {
  32568. return guardedExpression('ngDevMode', expr);
  32569. }
  32570. function guardedExpression(guard, expr) {
  32571. const guardExpr = new ExternalExpr({
  32572. name: guard,
  32573. moduleName: null
  32574. });
  32575. const guardNotDefined = new BinaryOperatorExpr(BinaryOperator.Identical, new TypeofExpr(guardExpr), literal('undefined'));
  32576. const guardUndefinedOrTrue = new BinaryOperatorExpr(BinaryOperator.Or, guardNotDefined, guardExpr,
  32577. /* type */
  32578. undefined,
  32579. /* sourceSpan */
  32580. undefined, true);
  32581. return new BinaryOperatorExpr(BinaryOperator.And, guardUndefinedOrTrue, expr);
  32582. }
  32583. function wrapReference(value) {
  32584. const wrapped = new WrappedNodeExpr(value);
  32585. return {
  32586. value: wrapped,
  32587. type: wrapped
  32588. };
  32589. }
  32590. function refsToArray(refs, shouldForwardDeclare) {
  32591. const values = literalArr(refs.map(ref => ref.value));
  32592. return shouldForwardDeclare ? fn([], [new ReturnStatement(values)]) : values;
  32593. }
  32594. function createMayBeForwardRefExpression(expression, forwardRef) {
  32595. return {
  32596. expression,
  32597. forwardRef
  32598. };
  32599. }
  32600. /**
  32601. * Convert a `MaybeForwardRefExpression` to an `Expression`, possibly wrapping its expression in a
  32602. * `forwardRef()` call.
  32603. *
  32604. * If `MaybeForwardRefExpression.forwardRef` is `ForwardRefHandling.Unwrapped` then the expression
  32605. * was originally wrapped in a `forwardRef()` call to prevent the value from being eagerly evaluated
  32606. * in the code.
  32607. *
  32608. * See `packages/compiler-cli/src/ngtsc/annotations/src/injectable.ts` and
  32609. * `packages/compiler/src/jit_compiler_facade.ts` for more information.
  32610. */
  32611. function convertFromMaybeForwardRefExpression({
  32612. expression,
  32613. forwardRef
  32614. }) {
  32615. switch (forwardRef) {
  32616. case 0
  32617. /* ForwardRefHandling.None */
  32618. :
  32619. case 1
  32620. /* ForwardRefHandling.Wrapped */
  32621. :
  32622. return expression;
  32623. case 2
  32624. /* ForwardRefHandling.Unwrapped */
  32625. :
  32626. return generateForwardRef(expression);
  32627. }
  32628. }
  32629. /**
  32630. * Generate an expression that has the given `expr` wrapped in the following form:
  32631. *
  32632. * ```
  32633. * forwardRef(() => expr)
  32634. * ```
  32635. */
  32636. function generateForwardRef(expr) {
  32637. return importExpr(Identifiers.forwardRef).callFn([fn([], [new ReturnStatement(expr)])]);
  32638. }
  32639. var R3FactoryDelegateType;
  32640. (function (R3FactoryDelegateType) {
  32641. R3FactoryDelegateType[R3FactoryDelegateType["Class"] = 0] = "Class";
  32642. R3FactoryDelegateType[R3FactoryDelegateType["Function"] = 1] = "Function";
  32643. })(R3FactoryDelegateType || (R3FactoryDelegateType = {}));
  32644. var FactoryTarget$1;
  32645. (function (FactoryTarget) {
  32646. FactoryTarget[FactoryTarget["Directive"] = 0] = "Directive";
  32647. FactoryTarget[FactoryTarget["Component"] = 1] = "Component";
  32648. FactoryTarget[FactoryTarget["Injectable"] = 2] = "Injectable";
  32649. FactoryTarget[FactoryTarget["Pipe"] = 3] = "Pipe";
  32650. FactoryTarget[FactoryTarget["NgModule"] = 4] = "NgModule";
  32651. })(FactoryTarget$1 || (FactoryTarget$1 = {}));
  32652. /**
  32653. * Construct a factory function expression for the given `R3FactoryMetadata`.
  32654. */
  32655. function compileFactoryFunction(meta) {
  32656. const t = variable('t');
  32657. let baseFactoryVar = null; // The type to instantiate via constructor invocation. If there is no delegated factory, meaning
  32658. // this type is always created by constructor invocation, then this is the type-to-create
  32659. // parameter provided by the user (t) if specified, or the current type if not. If there is a
  32660. // delegated factory (which is used to create the current type) then this is only the type-to-
  32661. // create parameter (t).
  32662. const typeForCtor = !isDelegatedFactoryMetadata(meta) ? new BinaryOperatorExpr(BinaryOperator.Or, t, meta.internalType) : t;
  32663. let ctorExpr = null;
  32664. if (meta.deps !== null) {
  32665. // There is a constructor (either explicitly or implicitly defined).
  32666. if (meta.deps !== 'invalid') {
  32667. ctorExpr = new InstantiateExpr(typeForCtor, injectDependencies(meta.deps, meta.target));
  32668. }
  32669. } else {
  32670. // There is no constructor, use the base class' factory to construct typeForCtor.
  32671. baseFactoryVar = variable(`ɵ${meta.name}_BaseFactory`);
  32672. ctorExpr = baseFactoryVar.callFn([typeForCtor]);
  32673. }
  32674. const body = [];
  32675. let retExpr = null;
  32676. function makeConditionalFactory(nonCtorExpr) {
  32677. const r = variable('r');
  32678. body.push(r.set(NULL_EXPR).toDeclStmt());
  32679. const ctorStmt = ctorExpr !== null ? r.set(ctorExpr).toStmt() : importExpr(Identifiers.invalidFactory).callFn([]).toStmt();
  32680. body.push(ifStmt(t, [ctorStmt], [r.set(nonCtorExpr).toStmt()]));
  32681. return r;
  32682. }
  32683. if (isDelegatedFactoryMetadata(meta)) {
  32684. // This type is created with a delegated factory. If a type parameter is not specified, call
  32685. // the factory instead.
  32686. const delegateArgs = injectDependencies(meta.delegateDeps, meta.target); // Either call `new delegate(...)` or `delegate(...)` depending on meta.delegateType.
  32687. const factoryExpr = new (meta.delegateType === R3FactoryDelegateType.Class ? InstantiateExpr : InvokeFunctionExpr)(meta.delegate, delegateArgs);
  32688. retExpr = makeConditionalFactory(factoryExpr);
  32689. } else if (isExpressionFactoryMetadata(meta)) {
  32690. // TODO(alxhub): decide whether to lower the value here or in the caller
  32691. retExpr = makeConditionalFactory(meta.expression);
  32692. } else {
  32693. retExpr = ctorExpr;
  32694. }
  32695. if (retExpr === null) {
  32696. // The expression cannot be formed so render an `ɵɵinvalidFactory()` call.
  32697. body.push(importExpr(Identifiers.invalidFactory).callFn([]).toStmt());
  32698. } else if (baseFactoryVar !== null) {
  32699. // This factory uses a base factory, so call `ɵɵgetInheritedFactory()` to compute it.
  32700. const getInheritedFactoryCall = importExpr(Identifiers.getInheritedFactory).callFn([meta.internalType]); // Memoize the base factoryFn: `baseFactory || (baseFactory = ɵɵgetInheritedFactory(...))`
  32701. const baseFactory = new BinaryOperatorExpr(BinaryOperator.Or, baseFactoryVar, baseFactoryVar.set(getInheritedFactoryCall));
  32702. body.push(new ReturnStatement(baseFactory.callFn([typeForCtor])));
  32703. } else {
  32704. // This is straightforward factory, just return it.
  32705. body.push(new ReturnStatement(retExpr));
  32706. }
  32707. let factoryFn = fn([new FnParam('t', DYNAMIC_TYPE)], body, INFERRED_TYPE, undefined, `${meta.name}_Factory`);
  32708. if (baseFactoryVar !== null) {
  32709. // There is a base factory variable so wrap its declaration along with the factory function into
  32710. // an IIFE.
  32711. factoryFn = fn([], [new DeclareVarStmt(baseFactoryVar.name), new ReturnStatement(factoryFn)]).callFn([],
  32712. /* sourceSpan */
  32713. undefined,
  32714. /* pure */
  32715. true);
  32716. }
  32717. return {
  32718. expression: factoryFn,
  32719. statements: [],
  32720. type: createFactoryType(meta)
  32721. };
  32722. }
  32723. function createFactoryType(meta) {
  32724. const ctorDepsType = meta.deps !== null && meta.deps !== 'invalid' ? createCtorDepsType(meta.deps) : NONE_TYPE;
  32725. return expressionType(importExpr(Identifiers.FactoryDeclaration, [typeWithParameters(meta.type.type, meta.typeArgumentCount), ctorDepsType]));
  32726. }
  32727. function injectDependencies(deps, target) {
  32728. return deps.map((dep, index) => compileInjectDependency(dep, target, index));
  32729. }
  32730. function compileInjectDependency(dep, target, index) {
  32731. // Interpret the dependency according to its resolved type.
  32732. if (dep.token === null) {
  32733. return importExpr(Identifiers.invalidFactoryDep).callFn([literal(index)]);
  32734. } else if (dep.attributeNameType === null) {
  32735. // Build up the injection flags according to the metadata.
  32736. const flags = 0
  32737. /* InjectFlags.Default */
  32738. | (dep.self ? 2
  32739. /* InjectFlags.Self */
  32740. : 0) | (dep.skipSelf ? 4
  32741. /* InjectFlags.SkipSelf */
  32742. : 0) | (dep.host ? 1
  32743. /* InjectFlags.Host */
  32744. : 0) | (dep.optional ? 8
  32745. /* InjectFlags.Optional */
  32746. : 0) | (target === FactoryTarget$1.Pipe ? 16
  32747. /* InjectFlags.ForPipe */
  32748. : 0); // If this dependency is optional or otherwise has non-default flags, then additional
  32749. // parameters describing how to inject the dependency must be passed to the inject function
  32750. // that's being used.
  32751. let flagsParam = flags !== 0
  32752. /* InjectFlags.Default */
  32753. || dep.optional ? literal(flags) : null; // Build up the arguments to the injectFn call.
  32754. const injectArgs = [dep.token];
  32755. if (flagsParam) {
  32756. injectArgs.push(flagsParam);
  32757. }
  32758. const injectFn = getInjectFn(target);
  32759. return importExpr(injectFn).callFn(injectArgs);
  32760. } else {
  32761. // The `dep.attributeTypeName` value is defined, which indicates that this is an `@Attribute()`
  32762. // type dependency. For the generated JS we still want to use the `dep.token` value in case the
  32763. // name given for the attribute is not a string literal. For example given `@Attribute(foo())`,
  32764. // we want to generate `ɵɵinjectAttribute(foo())`.
  32765. //
  32766. // The `dep.attributeTypeName` is only actually used (in `createCtorDepType()`) to generate
  32767. // typings.
  32768. return importExpr(Identifiers.injectAttribute).callFn([dep.token]);
  32769. }
  32770. }
  32771. function createCtorDepsType(deps) {
  32772. let hasTypes = false;
  32773. const attributeTypes = deps.map(dep => {
  32774. const type = createCtorDepType(dep);
  32775. if (type !== null) {
  32776. hasTypes = true;
  32777. return type;
  32778. } else {
  32779. return literal(null);
  32780. }
  32781. });
  32782. if (hasTypes) {
  32783. return expressionType(literalArr(attributeTypes));
  32784. } else {
  32785. return NONE_TYPE;
  32786. }
  32787. }
  32788. function createCtorDepType(dep) {
  32789. const entries = [];
  32790. if (dep.attributeNameType !== null) {
  32791. entries.push({
  32792. key: 'attribute',
  32793. value: dep.attributeNameType,
  32794. quoted: false
  32795. });
  32796. }
  32797. if (dep.optional) {
  32798. entries.push({
  32799. key: 'optional',
  32800. value: literal(true),
  32801. quoted: false
  32802. });
  32803. }
  32804. if (dep.host) {
  32805. entries.push({
  32806. key: 'host',
  32807. value: literal(true),
  32808. quoted: false
  32809. });
  32810. }
  32811. if (dep.self) {
  32812. entries.push({
  32813. key: 'self',
  32814. value: literal(true),
  32815. quoted: false
  32816. });
  32817. }
  32818. if (dep.skipSelf) {
  32819. entries.push({
  32820. key: 'skipSelf',
  32821. value: literal(true),
  32822. quoted: false
  32823. });
  32824. }
  32825. return entries.length > 0 ? literalMap(entries) : null;
  32826. }
  32827. function isDelegatedFactoryMetadata(meta) {
  32828. return meta.delegateType !== undefined;
  32829. }
  32830. function isExpressionFactoryMetadata(meta) {
  32831. return meta.expression !== undefined;
  32832. }
  32833. function getInjectFn(target) {
  32834. switch (target) {
  32835. case FactoryTarget$1.Component:
  32836. case FactoryTarget$1.Directive:
  32837. case FactoryTarget$1.Pipe:
  32838. return Identifiers.directiveInject;
  32839. case FactoryTarget$1.NgModule:
  32840. case FactoryTarget$1.Injectable:
  32841. default:
  32842. return Identifiers.inject;
  32843. }
  32844. }
  32845. /**
  32846. * @license
  32847. * Copyright Google LLC All Rights Reserved.
  32848. *
  32849. * Use of this source code is governed by an MIT-style license that can be
  32850. * found in the LICENSE file at https://angular.io/license
  32851. */
  32852. /**
  32853. * This is an R3 `Node`-like wrapper for a raw `html.Comment` node. We do not currently
  32854. * require the implementation of a visitor for Comments as they are only collected at
  32855. * the top-level of the R3 AST, and only if `Render3ParseOptions['collectCommentNodes']`
  32856. * is true.
  32857. */
  32858. class Comment$1 {
  32859. constructor(value, sourceSpan) {
  32860. this.value = value;
  32861. this.sourceSpan = sourceSpan;
  32862. }
  32863. visit(_visitor) {
  32864. throw new Error('visit() not implemented for Comment');
  32865. }
  32866. }
  32867. class Text$3 {
  32868. constructor(value, sourceSpan) {
  32869. this.value = value;
  32870. this.sourceSpan = sourceSpan;
  32871. }
  32872. visit(visitor) {
  32873. return visitor.visitText(this);
  32874. }
  32875. }
  32876. class BoundText {
  32877. constructor(value, sourceSpan, i18n) {
  32878. this.value = value;
  32879. this.sourceSpan = sourceSpan;
  32880. this.i18n = i18n;
  32881. }
  32882. visit(visitor) {
  32883. return visitor.visitBoundText(this);
  32884. }
  32885. }
  32886. /**
  32887. * Represents a text attribute in the template.
  32888. *
  32889. * `valueSpan` may not be present in cases where there is no value `<div a></div>`.
  32890. * `keySpan` may also not be present for synthetic attributes from ICU expansions.
  32891. */
  32892. class TextAttribute {
  32893. constructor(name, value, sourceSpan, keySpan, valueSpan, i18n) {
  32894. this.name = name;
  32895. this.value = value;
  32896. this.sourceSpan = sourceSpan;
  32897. this.keySpan = keySpan;
  32898. this.valueSpan = valueSpan;
  32899. this.i18n = i18n;
  32900. }
  32901. visit(visitor) {
  32902. return visitor.visitTextAttribute(this);
  32903. }
  32904. }
  32905. class BoundAttribute {
  32906. constructor(name, type, securityContext, value, unit, sourceSpan, keySpan, valueSpan, i18n) {
  32907. this.name = name;
  32908. this.type = type;
  32909. this.securityContext = securityContext;
  32910. this.value = value;
  32911. this.unit = unit;
  32912. this.sourceSpan = sourceSpan;
  32913. this.keySpan = keySpan;
  32914. this.valueSpan = valueSpan;
  32915. this.i18n = i18n;
  32916. }
  32917. static fromBoundElementProperty(prop, i18n) {
  32918. if (prop.keySpan === undefined) {
  32919. throw new Error(`Unexpected state: keySpan must be defined for bound attributes but was not for ${prop.name}: ${prop.sourceSpan}`);
  32920. }
  32921. return new BoundAttribute(prop.name, prop.type, prop.securityContext, prop.value, prop.unit, prop.sourceSpan, prop.keySpan, prop.valueSpan, i18n);
  32922. }
  32923. visit(visitor) {
  32924. return visitor.visitBoundAttribute(this);
  32925. }
  32926. }
  32927. class BoundEvent {
  32928. constructor(name, type, handler, target, phase, sourceSpan, handlerSpan, keySpan) {
  32929. this.name = name;
  32930. this.type = type;
  32931. this.handler = handler;
  32932. this.target = target;
  32933. this.phase = phase;
  32934. this.sourceSpan = sourceSpan;
  32935. this.handlerSpan = handlerSpan;
  32936. this.keySpan = keySpan;
  32937. }
  32938. static fromParsedEvent(event) {
  32939. const target = event.type === 0
  32940. /* ParsedEventType.Regular */
  32941. ? event.targetOrPhase : null;
  32942. const phase = event.type === 1
  32943. /* ParsedEventType.Animation */
  32944. ? event.targetOrPhase : null;
  32945. if (event.keySpan === undefined) {
  32946. throw new Error(`Unexpected state: keySpan must be defined for bound event but was not for ${event.name}: ${event.sourceSpan}`);
  32947. }
  32948. return new BoundEvent(event.name, event.type, event.handler, target, phase, event.sourceSpan, event.handlerSpan, event.keySpan);
  32949. }
  32950. visit(visitor) {
  32951. return visitor.visitBoundEvent(this);
  32952. }
  32953. }
  32954. class Element$1 {
  32955. constructor(name, attributes, inputs, outputs, children, references, sourceSpan, startSourceSpan, endSourceSpan, i18n) {
  32956. this.name = name;
  32957. this.attributes = attributes;
  32958. this.inputs = inputs;
  32959. this.outputs = outputs;
  32960. this.children = children;
  32961. this.references = references;
  32962. this.sourceSpan = sourceSpan;
  32963. this.startSourceSpan = startSourceSpan;
  32964. this.endSourceSpan = endSourceSpan;
  32965. this.i18n = i18n;
  32966. }
  32967. visit(visitor) {
  32968. return visitor.visitElement(this);
  32969. }
  32970. }
  32971. class Template {
  32972. constructor( // tagName is the name of the container element, if applicable.
  32973. // `null` is a special case for when there is a structural directive on an `ng-template` so
  32974. // the renderer can differentiate between the synthetic template and the one written in the
  32975. // file.
  32976. tagName, attributes, inputs, outputs, templateAttrs, children, references, variables, sourceSpan, startSourceSpan, endSourceSpan, i18n) {
  32977. this.tagName = tagName;
  32978. this.attributes = attributes;
  32979. this.inputs = inputs;
  32980. this.outputs = outputs;
  32981. this.templateAttrs = templateAttrs;
  32982. this.children = children;
  32983. this.references = references;
  32984. this.variables = variables;
  32985. this.sourceSpan = sourceSpan;
  32986. this.startSourceSpan = startSourceSpan;
  32987. this.endSourceSpan = endSourceSpan;
  32988. this.i18n = i18n;
  32989. }
  32990. visit(visitor) {
  32991. return visitor.visitTemplate(this);
  32992. }
  32993. }
  32994. class Content {
  32995. constructor(selector, attributes, sourceSpan, i18n) {
  32996. this.selector = selector;
  32997. this.attributes = attributes;
  32998. this.sourceSpan = sourceSpan;
  32999. this.i18n = i18n;
  33000. this.name = 'ng-content';
  33001. }
  33002. visit(visitor) {
  33003. return visitor.visitContent(this);
  33004. }
  33005. }
  33006. class Variable {
  33007. constructor(name, value, sourceSpan, keySpan, valueSpan) {
  33008. this.name = name;
  33009. this.value = value;
  33010. this.sourceSpan = sourceSpan;
  33011. this.keySpan = keySpan;
  33012. this.valueSpan = valueSpan;
  33013. }
  33014. visit(visitor) {
  33015. return visitor.visitVariable(this);
  33016. }
  33017. }
  33018. class Reference {
  33019. constructor(name, value, sourceSpan, keySpan, valueSpan) {
  33020. this.name = name;
  33021. this.value = value;
  33022. this.sourceSpan = sourceSpan;
  33023. this.keySpan = keySpan;
  33024. this.valueSpan = valueSpan;
  33025. }
  33026. visit(visitor) {
  33027. return visitor.visitReference(this);
  33028. }
  33029. }
  33030. class Icu$1 {
  33031. constructor(vars, placeholders, sourceSpan, i18n) {
  33032. this.vars = vars;
  33033. this.placeholders = placeholders;
  33034. this.sourceSpan = sourceSpan;
  33035. this.i18n = i18n;
  33036. }
  33037. visit(visitor) {
  33038. return visitor.visitIcu(this);
  33039. }
  33040. }
  33041. class NullVisitor {
  33042. visitElement(element) {}
  33043. visitTemplate(template) {}
  33044. visitContent(content) {}
  33045. visitVariable(variable) {}
  33046. visitReference(reference) {}
  33047. visitTextAttribute(attribute) {}
  33048. visitBoundAttribute(attribute) {}
  33049. visitBoundEvent(attribute) {}
  33050. visitText(text) {}
  33051. visitBoundText(text) {}
  33052. visitIcu(icu) {}
  33053. }
  33054. class RecursiveVisitor$1 {
  33055. visitElement(element) {
  33056. visitAll$1(this, element.attributes);
  33057. visitAll$1(this, element.inputs);
  33058. visitAll$1(this, element.outputs);
  33059. visitAll$1(this, element.children);
  33060. visitAll$1(this, element.references);
  33061. }
  33062. visitTemplate(template) {
  33063. visitAll$1(this, template.attributes);
  33064. visitAll$1(this, template.inputs);
  33065. visitAll$1(this, template.outputs);
  33066. visitAll$1(this, template.children);
  33067. visitAll$1(this, template.references);
  33068. visitAll$1(this, template.variables);
  33069. }
  33070. visitContent(content) {}
  33071. visitVariable(variable) {}
  33072. visitReference(reference) {}
  33073. visitTextAttribute(attribute) {}
  33074. visitBoundAttribute(attribute) {}
  33075. visitBoundEvent(attribute) {}
  33076. visitText(text) {}
  33077. visitBoundText(text) {}
  33078. visitIcu(icu) {}
  33079. }
  33080. class TransformVisitor {
  33081. visitElement(element) {
  33082. const newAttributes = transformAll(this, element.attributes);
  33083. const newInputs = transformAll(this, element.inputs);
  33084. const newOutputs = transformAll(this, element.outputs);
  33085. const newChildren = transformAll(this, element.children);
  33086. const newReferences = transformAll(this, element.references);
  33087. if (newAttributes != element.attributes || newInputs != element.inputs || newOutputs != element.outputs || newChildren != element.children || newReferences != element.references) {
  33088. return new Element$1(element.name, newAttributes, newInputs, newOutputs, newChildren, newReferences, element.sourceSpan, element.startSourceSpan, element.endSourceSpan);
  33089. }
  33090. return element;
  33091. }
  33092. visitTemplate(template) {
  33093. const newAttributes = transformAll(this, template.attributes);
  33094. const newInputs = transformAll(this, template.inputs);
  33095. const newOutputs = transformAll(this, template.outputs);
  33096. const newTemplateAttrs = transformAll(this, template.templateAttrs);
  33097. const newChildren = transformAll(this, template.children);
  33098. const newReferences = transformAll(this, template.references);
  33099. const newVariables = transformAll(this, template.variables);
  33100. if (newAttributes != template.attributes || newInputs != template.inputs || newOutputs != template.outputs || newTemplateAttrs != template.templateAttrs || newChildren != template.children || newReferences != template.references || newVariables != template.variables) {
  33101. return new Template(template.tagName, newAttributes, newInputs, newOutputs, newTemplateAttrs, newChildren, newReferences, newVariables, template.sourceSpan, template.startSourceSpan, template.endSourceSpan);
  33102. }
  33103. return template;
  33104. }
  33105. visitContent(content) {
  33106. return content;
  33107. }
  33108. visitVariable(variable) {
  33109. return variable;
  33110. }
  33111. visitReference(reference) {
  33112. return reference;
  33113. }
  33114. visitTextAttribute(attribute) {
  33115. return attribute;
  33116. }
  33117. visitBoundAttribute(attribute) {
  33118. return attribute;
  33119. }
  33120. visitBoundEvent(attribute) {
  33121. return attribute;
  33122. }
  33123. visitText(text) {
  33124. return text;
  33125. }
  33126. visitBoundText(text) {
  33127. return text;
  33128. }
  33129. visitIcu(icu) {
  33130. return icu;
  33131. }
  33132. }
  33133. function visitAll$1(visitor, nodes) {
  33134. const result = [];
  33135. if (visitor.visit) {
  33136. for (const node of nodes) {
  33137. const newNode = visitor.visit(node) || node.visit(visitor);
  33138. }
  33139. } else {
  33140. for (const node of nodes) {
  33141. const newNode = node.visit(visitor);
  33142. if (newNode) {
  33143. result.push(newNode);
  33144. }
  33145. }
  33146. }
  33147. return result;
  33148. }
  33149. function transformAll(visitor, nodes) {
  33150. const result = [];
  33151. let changed = false;
  33152. for (const node of nodes) {
  33153. const newNode = node.visit(visitor);
  33154. if (newNode) {
  33155. result.push(newNode);
  33156. }
  33157. changed = changed || newNode != node;
  33158. }
  33159. return changed ? result : nodes;
  33160. }
  33161. /**
  33162. * @license
  33163. * Copyright Google LLC All Rights Reserved.
  33164. *
  33165. * Use of this source code is governed by an MIT-style license that can be
  33166. * found in the LICENSE file at https://angular.io/license
  33167. */
  33168. class Message {
  33169. /**
  33170. * @param nodes message AST
  33171. * @param placeholders maps placeholder names to static content and their source spans
  33172. * @param placeholderToMessage maps placeholder names to messages (used for nested ICU messages)
  33173. * @param meaning
  33174. * @param description
  33175. * @param customId
  33176. */
  33177. constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
  33178. this.nodes = nodes;
  33179. this.placeholders = placeholders;
  33180. this.placeholderToMessage = placeholderToMessage;
  33181. this.meaning = meaning;
  33182. this.description = description;
  33183. this.customId = customId;
  33184. this.id = this.customId;
  33185. /** The ids to use if there are no custom id and if `i18nLegacyMessageIdFormat` is not empty */
  33186. this.legacyIds = [];
  33187. this.messageString = serializeMessage(this.nodes);
  33188. if (nodes.length) {
  33189. this.sources = [{
  33190. filePath: nodes[0].sourceSpan.start.file.url,
  33191. startLine: nodes[0].sourceSpan.start.line + 1,
  33192. startCol: nodes[0].sourceSpan.start.col + 1,
  33193. endLine: nodes[nodes.length - 1].sourceSpan.end.line + 1,
  33194. endCol: nodes[0].sourceSpan.start.col + 1
  33195. }];
  33196. } else {
  33197. this.sources = [];
  33198. }
  33199. }
  33200. }
  33201. class Text$2 {
  33202. constructor(value, sourceSpan) {
  33203. this.value = value;
  33204. this.sourceSpan = sourceSpan;
  33205. }
  33206. visit(visitor, context) {
  33207. return visitor.visitText(this, context);
  33208. }
  33209. } // TODO(vicb): do we really need this node (vs an array) ?
  33210. class Container {
  33211. constructor(children, sourceSpan) {
  33212. this.children = children;
  33213. this.sourceSpan = sourceSpan;
  33214. }
  33215. visit(visitor, context) {
  33216. return visitor.visitContainer(this, context);
  33217. }
  33218. }
  33219. class Icu {
  33220. constructor(expression, type, cases, sourceSpan) {
  33221. this.expression = expression;
  33222. this.type = type;
  33223. this.cases = cases;
  33224. this.sourceSpan = sourceSpan;
  33225. }
  33226. visit(visitor, context) {
  33227. return visitor.visitIcu(this, context);
  33228. }
  33229. }
  33230. class TagPlaceholder {
  33231. constructor(tag, attrs, startName, closeName, children, isVoid, // TODO sourceSpan should cover all (we need a startSourceSpan and endSourceSpan)
  33232. sourceSpan, startSourceSpan, endSourceSpan) {
  33233. this.tag = tag;
  33234. this.attrs = attrs;
  33235. this.startName = startName;
  33236. this.closeName = closeName;
  33237. this.children = children;
  33238. this.isVoid = isVoid;
  33239. this.sourceSpan = sourceSpan;
  33240. this.startSourceSpan = startSourceSpan;
  33241. this.endSourceSpan = endSourceSpan;
  33242. }
  33243. visit(visitor, context) {
  33244. return visitor.visitTagPlaceholder(this, context);
  33245. }
  33246. }
  33247. class Placeholder {
  33248. constructor(value, name, sourceSpan) {
  33249. this.value = value;
  33250. this.name = name;
  33251. this.sourceSpan = sourceSpan;
  33252. }
  33253. visit(visitor, context) {
  33254. return visitor.visitPlaceholder(this, context);
  33255. }
  33256. }
  33257. class IcuPlaceholder {
  33258. constructor(value, name, sourceSpan) {
  33259. this.value = value;
  33260. this.name = name;
  33261. this.sourceSpan = sourceSpan;
  33262. }
  33263. visit(visitor, context) {
  33264. return visitor.visitIcuPlaceholder(this, context);
  33265. }
  33266. } // Clone the AST
  33267. class CloneVisitor {
  33268. visitText(text, context) {
  33269. return new Text$2(text.value, text.sourceSpan);
  33270. }
  33271. visitContainer(container, context) {
  33272. const children = container.children.map(n => n.visit(this, context));
  33273. return new Container(children, container.sourceSpan);
  33274. }
  33275. visitIcu(icu, context) {
  33276. const cases = {};
  33277. Object.keys(icu.cases).forEach(key => cases[key] = icu.cases[key].visit(this, context));
  33278. const msg = new Icu(icu.expression, icu.type, cases, icu.sourceSpan);
  33279. msg.expressionPlaceholder = icu.expressionPlaceholder;
  33280. return msg;
  33281. }
  33282. visitTagPlaceholder(ph, context) {
  33283. const children = ph.children.map(n => n.visit(this, context));
  33284. return new TagPlaceholder(ph.tag, ph.attrs, ph.startName, ph.closeName, children, ph.isVoid, ph.sourceSpan, ph.startSourceSpan, ph.endSourceSpan);
  33285. }
  33286. visitPlaceholder(ph, context) {
  33287. return new Placeholder(ph.value, ph.name, ph.sourceSpan);
  33288. }
  33289. visitIcuPlaceholder(ph, context) {
  33290. return new IcuPlaceholder(ph.value, ph.name, ph.sourceSpan);
  33291. }
  33292. } // Visit all the nodes recursively
  33293. class RecurseVisitor {
  33294. visitText(text, context) {}
  33295. visitContainer(container, context) {
  33296. container.children.forEach(child => child.visit(this));
  33297. }
  33298. visitIcu(icu, context) {
  33299. Object.keys(icu.cases).forEach(k => {
  33300. icu.cases[k].visit(this);
  33301. });
  33302. }
  33303. visitTagPlaceholder(ph, context) {
  33304. ph.children.forEach(child => child.visit(this));
  33305. }
  33306. visitPlaceholder(ph, context) {}
  33307. visitIcuPlaceholder(ph, context) {}
  33308. }
  33309. /**
  33310. * Serialize the message to the Localize backtick string format that would appear in compiled code.
  33311. */
  33312. function serializeMessage(messageNodes) {
  33313. const visitor = new LocalizeMessageStringVisitor();
  33314. const str = messageNodes.map(n => n.visit(visitor)).join('');
  33315. return str;
  33316. }
  33317. class LocalizeMessageStringVisitor {
  33318. visitText(text) {
  33319. return text.value;
  33320. }
  33321. visitContainer(container) {
  33322. return container.children.map(child => child.visit(this)).join('');
  33323. }
  33324. visitIcu(icu) {
  33325. const strCases = Object.keys(icu.cases).map(k => `${k} {${icu.cases[k].visit(this)}}`);
  33326. return `{${icu.expressionPlaceholder}, ${icu.type}, ${strCases.join(' ')}}`;
  33327. }
  33328. visitTagPlaceholder(ph) {
  33329. const children = ph.children.map(child => child.visit(this)).join('');
  33330. return `{$${ph.startName}}${children}{$${ph.closeName}}`;
  33331. }
  33332. visitPlaceholder(ph) {
  33333. return `{$${ph.name}}`;
  33334. }
  33335. visitIcuPlaceholder(ph) {
  33336. return `{$${ph.name}}`;
  33337. }
  33338. }
  33339. /**
  33340. * @license
  33341. * Copyright Google LLC All Rights Reserved.
  33342. *
  33343. * Use of this source code is governed by an MIT-style license that can be
  33344. * found in the LICENSE file at https://angular.io/license
  33345. */
  33346. class Serializer {
  33347. // Creates a name mapper, see `PlaceholderMapper`
  33348. // Returning `null` means that no name mapping is used.
  33349. createNameMapper(message) {
  33350. return null;
  33351. }
  33352. }
  33353. /**
  33354. * A simple mapper that take a function to transform an internal name to a public name
  33355. */
  33356. class SimplePlaceholderMapper extends RecurseVisitor {
  33357. // create a mapping from the message
  33358. constructor(message, mapName) {
  33359. super();
  33360. this.mapName = mapName;
  33361. this.internalToPublic = {};
  33362. this.publicToNextId = {};
  33363. this.publicToInternal = {};
  33364. message.nodes.forEach(node => node.visit(this));
  33365. }
  33366. toPublicName(internalName) {
  33367. return this.internalToPublic.hasOwnProperty(internalName) ? this.internalToPublic[internalName] : null;
  33368. }
  33369. toInternalName(publicName) {
  33370. return this.publicToInternal.hasOwnProperty(publicName) ? this.publicToInternal[publicName] : null;
  33371. }
  33372. visitText(text, context) {
  33373. return null;
  33374. }
  33375. visitTagPlaceholder(ph, context) {
  33376. this.visitPlaceholderName(ph.startName);
  33377. super.visitTagPlaceholder(ph, context);
  33378. this.visitPlaceholderName(ph.closeName);
  33379. }
  33380. visitPlaceholder(ph, context) {
  33381. this.visitPlaceholderName(ph.name);
  33382. }
  33383. visitIcuPlaceholder(ph, context) {
  33384. this.visitPlaceholderName(ph.name);
  33385. } // XMB placeholders could only contains A-Z, 0-9 and _
  33386. visitPlaceholderName(internalName) {
  33387. if (!internalName || this.internalToPublic.hasOwnProperty(internalName)) {
  33388. return;
  33389. }
  33390. let publicName = this.mapName(internalName);
  33391. if (this.publicToInternal.hasOwnProperty(publicName)) {
  33392. // Create a new XMB when it has already been used
  33393. const nextId = this.publicToNextId[publicName];
  33394. this.publicToNextId[publicName] = nextId + 1;
  33395. publicName = `${publicName}_${nextId}`;
  33396. } else {
  33397. this.publicToNextId[publicName] = 1;
  33398. }
  33399. this.internalToPublic[internalName] = publicName;
  33400. this.publicToInternal[publicName] = internalName;
  33401. }
  33402. }
  33403. /**
  33404. * @license
  33405. * Copyright Google LLC All Rights Reserved.
  33406. *
  33407. * Use of this source code is governed by an MIT-style license that can be
  33408. * found in the LICENSE file at https://angular.io/license
  33409. */
  33410. class _Visitor$2 {
  33411. visitTag(tag) {
  33412. const strAttrs = this._serializeAttributes(tag.attrs);
  33413. if (tag.children.length == 0) {
  33414. return `<${tag.name}${strAttrs}/>`;
  33415. }
  33416. const strChildren = tag.children.map(node => node.visit(this));
  33417. return `<${tag.name}${strAttrs}>${strChildren.join('')}</${tag.name}>`;
  33418. }
  33419. visitText(text) {
  33420. return text.value;
  33421. }
  33422. visitDeclaration(decl) {
  33423. return `<?xml${this._serializeAttributes(decl.attrs)} ?>`;
  33424. }
  33425. _serializeAttributes(attrs) {
  33426. const strAttrs = Object.keys(attrs).map(name => `${name}="${attrs[name]}"`).join(' ');
  33427. return strAttrs.length > 0 ? ' ' + strAttrs : '';
  33428. }
  33429. visitDoctype(doctype) {
  33430. return `<!DOCTYPE ${doctype.rootTag} [\n${doctype.dtd}\n]>`;
  33431. }
  33432. }
  33433. const _visitor = new _Visitor$2();
  33434. function serialize(nodes) {
  33435. return nodes.map(node => node.visit(_visitor)).join('');
  33436. }
  33437. class Declaration {
  33438. constructor(unescapedAttrs) {
  33439. this.attrs = {};
  33440. Object.keys(unescapedAttrs).forEach(k => {
  33441. this.attrs[k] = escapeXml(unescapedAttrs[k]);
  33442. });
  33443. }
  33444. visit(visitor) {
  33445. return visitor.visitDeclaration(this);
  33446. }
  33447. }
  33448. class Doctype {
  33449. constructor(rootTag, dtd) {
  33450. this.rootTag = rootTag;
  33451. this.dtd = dtd;
  33452. }
  33453. visit(visitor) {
  33454. return visitor.visitDoctype(this);
  33455. }
  33456. }
  33457. class Tag {
  33458. constructor(name, unescapedAttrs = {}, children = []) {
  33459. this.name = name;
  33460. this.children = children;
  33461. this.attrs = {};
  33462. Object.keys(unescapedAttrs).forEach(k => {
  33463. this.attrs[k] = escapeXml(unescapedAttrs[k]);
  33464. });
  33465. }
  33466. visit(visitor) {
  33467. return visitor.visitTag(this);
  33468. }
  33469. }
  33470. class Text$1 {
  33471. constructor(unescapedValue) {
  33472. this.value = escapeXml(unescapedValue);
  33473. }
  33474. visit(visitor) {
  33475. return visitor.visitText(this);
  33476. }
  33477. }
  33478. class CR extends Text$1 {
  33479. constructor(ws = 0) {
  33480. super(`\n${new Array(ws + 1).join(' ')}`);
  33481. }
  33482. }
  33483. const _ESCAPED_CHARS = [[/&/g, '&amp;'], [/"/g, '&quot;'], [/'/g, '&apos;'], [/</g, '&lt;'], [/>/g, '&gt;']]; // Escape `_ESCAPED_CHARS` characters in the given text with encoded entities
  33484. function escapeXml(text) {
  33485. return _ESCAPED_CHARS.reduce((text, entry) => text.replace(entry[0], entry[1]), text);
  33486. }
  33487. /**
  33488. * @license
  33489. * Copyright Google LLC All Rights Reserved.
  33490. *
  33491. * Use of this source code is governed by an MIT-style license that can be
  33492. * found in the LICENSE file at https://angular.io/license
  33493. */
  33494. const _MESSAGES_TAG = 'messagebundle';
  33495. const _MESSAGE_TAG = 'msg';
  33496. const _PLACEHOLDER_TAG$3 = 'ph';
  33497. const _EXAMPLE_TAG = 'ex';
  33498. const _SOURCE_TAG$2 = 'source';
  33499. const _DOCTYPE = `<!ELEMENT messagebundle (msg)*>
  33500. <!ATTLIST messagebundle class CDATA #IMPLIED>
  33501. <!ELEMENT msg (#PCDATA|ph|source)*>
  33502. <!ATTLIST msg id CDATA #IMPLIED>
  33503. <!ATTLIST msg seq CDATA #IMPLIED>
  33504. <!ATTLIST msg name CDATA #IMPLIED>
  33505. <!ATTLIST msg desc CDATA #IMPLIED>
  33506. <!ATTLIST msg meaning CDATA #IMPLIED>
  33507. <!ATTLIST msg obsolete (obsolete) #IMPLIED>
  33508. <!ATTLIST msg xml:space (default|preserve) "default">
  33509. <!ATTLIST msg is_hidden CDATA #IMPLIED>
  33510. <!ELEMENT source (#PCDATA)>
  33511. <!ELEMENT ph (#PCDATA|ex)*>
  33512. <!ATTLIST ph name CDATA #REQUIRED>
  33513. <!ELEMENT ex (#PCDATA)>`;
  33514. class Xmb extends Serializer {
  33515. write(messages, locale) {
  33516. const exampleVisitor = new ExampleVisitor();
  33517. const visitor = new _Visitor$1();
  33518. let rootNode = new Tag(_MESSAGES_TAG);
  33519. messages.forEach(message => {
  33520. const attrs = {
  33521. id: message.id
  33522. };
  33523. if (message.description) {
  33524. attrs['desc'] = message.description;
  33525. }
  33526. if (message.meaning) {
  33527. attrs['meaning'] = message.meaning;
  33528. }
  33529. let sourceTags = [];
  33530. message.sources.forEach(source => {
  33531. sourceTags.push(new Tag(_SOURCE_TAG$2, {}, [new Text$1(`${source.filePath}:${source.startLine}${source.endLine !== source.startLine ? ',' + source.endLine : ''}`)]));
  33532. });
  33533. rootNode.children.push(new CR(2), new Tag(_MESSAGE_TAG, attrs, [...sourceTags, ...visitor.serialize(message.nodes)]));
  33534. });
  33535. rootNode.children.push(new CR());
  33536. return serialize([new Declaration({
  33537. version: '1.0',
  33538. encoding: 'UTF-8'
  33539. }), new CR(), new Doctype(_MESSAGES_TAG, _DOCTYPE), new CR(), exampleVisitor.addDefaultExamples(rootNode), new CR()]);
  33540. }
  33541. load(content, url) {
  33542. throw new Error('Unsupported');
  33543. }
  33544. digest(message) {
  33545. return digest(message);
  33546. }
  33547. createNameMapper(message) {
  33548. return new SimplePlaceholderMapper(message, toPublicName);
  33549. }
  33550. }
  33551. class _Visitor$1 {
  33552. visitText(text, context) {
  33553. return [new Text$1(text.value)];
  33554. }
  33555. visitContainer(container, context) {
  33556. const nodes = [];
  33557. container.children.forEach(node => nodes.push(...node.visit(this)));
  33558. return nodes;
  33559. }
  33560. visitIcu(icu, context) {
  33561. const nodes = [new Text$1(`{${icu.expressionPlaceholder}, ${icu.type}, `)];
  33562. Object.keys(icu.cases).forEach(c => {
  33563. nodes.push(new Text$1(`${c} {`), ...icu.cases[c].visit(this), new Text$1(`} `));
  33564. });
  33565. nodes.push(new Text$1(`}`));
  33566. return nodes;
  33567. }
  33568. visitTagPlaceholder(ph, context) {
  33569. const startTagAsText = new Text$1(`<${ph.tag}>`);
  33570. const startEx = new Tag(_EXAMPLE_TAG, {}, [startTagAsText]); // TC requires PH to have a non empty EX, and uses the text node to show the "original" value.
  33571. const startTagPh = new Tag(_PLACEHOLDER_TAG$3, {
  33572. name: ph.startName
  33573. }, [startEx, startTagAsText]);
  33574. if (ph.isVoid) {
  33575. // void tags have no children nor closing tags
  33576. return [startTagPh];
  33577. }
  33578. const closeTagAsText = new Text$1(`</${ph.tag}>`);
  33579. const closeEx = new Tag(_EXAMPLE_TAG, {}, [closeTagAsText]); // TC requires PH to have a non empty EX, and uses the text node to show the "original" value.
  33580. const closeTagPh = new Tag(_PLACEHOLDER_TAG$3, {
  33581. name: ph.closeName
  33582. }, [closeEx, closeTagAsText]);
  33583. return [startTagPh, ...this.serialize(ph.children), closeTagPh];
  33584. }
  33585. visitPlaceholder(ph, context) {
  33586. const interpolationAsText = new Text$1(`{{${ph.value}}}`); // Example tag needs to be not-empty for TC.
  33587. const exTag = new Tag(_EXAMPLE_TAG, {}, [interpolationAsText]);
  33588. return [// TC requires PH to have a non empty EX, and uses the text node to show the "original" value.
  33589. new Tag(_PLACEHOLDER_TAG$3, {
  33590. name: ph.name
  33591. }, [exTag, interpolationAsText])];
  33592. }
  33593. visitIcuPlaceholder(ph, context) {
  33594. const icuExpression = ph.value.expression;
  33595. const icuType = ph.value.type;
  33596. const icuCases = Object.keys(ph.value.cases).map(value => value + ' {...}').join(' ');
  33597. const icuAsText = new Text$1(`{${icuExpression}, ${icuType}, ${icuCases}}`);
  33598. const exTag = new Tag(_EXAMPLE_TAG, {}, [icuAsText]);
  33599. return [// TC requires PH to have a non empty EX, and uses the text node to show the "original" value.
  33600. new Tag(_PLACEHOLDER_TAG$3, {
  33601. name: ph.name
  33602. }, [exTag, icuAsText])];
  33603. }
  33604. serialize(nodes) {
  33605. return [].concat(...nodes.map(node => node.visit(this)));
  33606. }
  33607. }
  33608. function digest(message) {
  33609. return decimalDigest(message);
  33610. } // TC requires at least one non-empty example on placeholders
  33611. class ExampleVisitor {
  33612. addDefaultExamples(node) {
  33613. node.visit(this);
  33614. return node;
  33615. }
  33616. visitTag(tag) {
  33617. if (tag.name === _PLACEHOLDER_TAG$3) {
  33618. if (!tag.children || tag.children.length == 0) {
  33619. const exText = new Text$1(tag.attrs['name'] || '...');
  33620. tag.children = [new Tag(_EXAMPLE_TAG, {}, [exText])];
  33621. }
  33622. } else if (tag.children) {
  33623. tag.children.forEach(node => node.visit(this));
  33624. }
  33625. }
  33626. visitText(text) {}
  33627. visitDeclaration(decl) {}
  33628. visitDoctype(doctype) {}
  33629. } // XMB/XTB placeholders can only contain A-Z, 0-9 and _
  33630. function toPublicName(internalName) {
  33631. return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, '_');
  33632. }
  33633. /**
  33634. * @license
  33635. * Copyright Google LLC All Rights Reserved.
  33636. *
  33637. * Use of this source code is governed by an MIT-style license that can be
  33638. * found in the LICENSE file at https://angular.io/license
  33639. */
  33640. /* Closure variables holding messages must be named `MSG_[A-Z0-9]+` */
  33641. const CLOSURE_TRANSLATION_VAR_PREFIX = 'MSG_';
  33642. /**
  33643. * Prefix for non-`goog.getMsg` i18n-related vars.
  33644. * Note: the prefix uses lowercase characters intentionally due to a Closure behavior that
  33645. * considers variables like `I18N_0` as constants and throws an error when their value changes.
  33646. */
  33647. const TRANSLATION_VAR_PREFIX = 'i18n_';
  33648. /** Name of the i18n attributes **/
  33649. const I18N_ATTR = 'i18n';
  33650. const I18N_ATTR_PREFIX = 'i18n-';
  33651. /** Prefix of var expressions used in ICUs */
  33652. const I18N_ICU_VAR_PREFIX = 'VAR_';
  33653. /** Prefix of ICU expressions for post processing */
  33654. const I18N_ICU_MAPPING_PREFIX = 'I18N_EXP_';
  33655. /** Placeholder wrapper for i18n expressions **/
  33656. const I18N_PLACEHOLDER_SYMBOL = '�';
  33657. function isI18nAttribute(name) {
  33658. return name === I18N_ATTR || name.startsWith(I18N_ATTR_PREFIX);
  33659. }
  33660. function isI18nRootNode(meta) {
  33661. return meta instanceof Message;
  33662. }
  33663. function isSingleI18nIcu(meta) {
  33664. return isI18nRootNode(meta) && meta.nodes.length === 1 && meta.nodes[0] instanceof Icu;
  33665. }
  33666. function hasI18nMeta(node) {
  33667. return !!node.i18n;
  33668. }
  33669. function hasI18nAttrs(element) {
  33670. return element.attrs.some(attr => isI18nAttribute(attr.name));
  33671. }
  33672. function icuFromI18nMessage(message) {
  33673. return message.nodes[0];
  33674. }
  33675. function wrapI18nPlaceholder(content, contextId = 0) {
  33676. const blockId = contextId > 0 ? `:${contextId}` : '';
  33677. return `${I18N_PLACEHOLDER_SYMBOL}${content}${blockId}${I18N_PLACEHOLDER_SYMBOL}`;
  33678. }
  33679. function assembleI18nBoundString(strings, bindingStartIndex = 0, contextId = 0) {
  33680. if (!strings.length) return '';
  33681. let acc = '';
  33682. const lastIdx = strings.length - 1;
  33683. for (let i = 0; i < lastIdx; i++) {
  33684. acc += `${strings[i]}${wrapI18nPlaceholder(bindingStartIndex + i, contextId)}`;
  33685. }
  33686. acc += strings[lastIdx];
  33687. return acc;
  33688. }
  33689. function getSeqNumberGenerator(startsAt = 0) {
  33690. let current = startsAt;
  33691. return () => current++;
  33692. }
  33693. function placeholdersToParams(placeholders) {
  33694. const params = {};
  33695. placeholders.forEach((values, key) => {
  33696. params[key] = literal(values.length > 1 ? `[${values.join('|')}]` : values[0]);
  33697. });
  33698. return params;
  33699. }
  33700. function updatePlaceholderMap(map, name, ...values) {
  33701. const current = map.get(name) || [];
  33702. current.push(...values);
  33703. map.set(name, current);
  33704. }
  33705. function assembleBoundTextPlaceholders(meta, bindingStartIndex = 0, contextId = 0) {
  33706. const startIdx = bindingStartIndex;
  33707. const placeholders = new Map();
  33708. const node = meta instanceof Message ? meta.nodes.find(node => node instanceof Container) : meta;
  33709. if (node) {
  33710. node.children.filter(child => child instanceof Placeholder).forEach((child, idx) => {
  33711. const content = wrapI18nPlaceholder(startIdx + idx, contextId);
  33712. updatePlaceholderMap(placeholders, child.name, content);
  33713. });
  33714. }
  33715. return placeholders;
  33716. }
  33717. /**
  33718. * Format the placeholder names in a map of placeholders to expressions.
  33719. *
  33720. * The placeholder names are converted from "internal" format (e.g. `START_TAG_DIV_1`) to "external"
  33721. * format (e.g. `startTagDiv_1`).
  33722. *
  33723. * @param params A map of placeholder names to expressions.
  33724. * @param useCamelCase whether to camelCase the placeholder name when formatting.
  33725. * @returns A new map of formatted placeholder names to expressions.
  33726. */
  33727. function formatI18nPlaceholderNamesInMap(params = {}, useCamelCase) {
  33728. const _params = {};
  33729. if (params && Object.keys(params).length) {
  33730. Object.keys(params).forEach(key => _params[formatI18nPlaceholderName(key, useCamelCase)] = params[key]);
  33731. }
  33732. return _params;
  33733. }
  33734. /**
  33735. * Converts internal placeholder names to public-facing format
  33736. * (for example to use in goog.getMsg call).
  33737. * Example: `START_TAG_DIV_1` is converted to `startTagDiv_1`.
  33738. *
  33739. * @param name The placeholder name that should be formatted
  33740. * @returns Formatted placeholder name
  33741. */
  33742. function formatI18nPlaceholderName(name, useCamelCase = true) {
  33743. const publicName = toPublicName(name);
  33744. if (!useCamelCase) {
  33745. return publicName;
  33746. }
  33747. const chunks = publicName.split('_');
  33748. if (chunks.length === 1) {
  33749. // if no "_" found - just lowercase the value
  33750. return name.toLowerCase();
  33751. }
  33752. let postfix; // eject last element if it's a number
  33753. if (/^\d+$/.test(chunks[chunks.length - 1])) {
  33754. postfix = chunks.pop();
  33755. }
  33756. let raw = chunks.shift().toLowerCase();
  33757. if (chunks.length) {
  33758. raw += chunks.map(c => c.charAt(0).toUpperCase() + c.slice(1).toLowerCase()).join('');
  33759. }
  33760. return postfix ? `${raw}_${postfix}` : raw;
  33761. }
  33762. /**
  33763. * Generates a prefix for translation const name.
  33764. *
  33765. * @param extra Additional local prefix that should be injected into translation var name
  33766. * @returns Complete translation const prefix
  33767. */
  33768. function getTranslationConstPrefix(extra) {
  33769. return `${CLOSURE_TRANSLATION_VAR_PREFIX}${extra}`.toUpperCase();
  33770. }
  33771. /**
  33772. * Generate AST to declare a variable. E.g. `var I18N_1;`.
  33773. * @param variable the name of the variable to declare.
  33774. */
  33775. function declareI18nVariable(variable) {
  33776. return new DeclareVarStmt(variable.name, undefined, INFERRED_TYPE, undefined, variable.sourceSpan);
  33777. }
  33778. /**
  33779. * @license
  33780. * Copyright Google LLC All Rights Reserved.
  33781. *
  33782. * Use of this source code is governed by an MIT-style license that can be
  33783. * found in the LICENSE file at https://angular.io/license
  33784. */
  33785. /**
  33786. * Checks whether an object key contains potentially unsafe chars, thus the key should be wrapped in
  33787. * quotes. Note: we do not wrap all keys into quotes, as it may have impact on minification and may
  33788. * bot work in some cases when object keys are mangled by minifier.
  33789. *
  33790. * TODO(FW-1136): this is a temporary solution, we need to come up with a better way of working with
  33791. * inputs that contain potentially unsafe chars.
  33792. */
  33793. const UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
  33794. /** Name of the temporary to use during data binding */
  33795. const TEMPORARY_NAME = '_t';
  33796. /** Name of the context parameter passed into a template function */
  33797. const CONTEXT_NAME = 'ctx';
  33798. /** Name of the RenderFlag passed into a template function */
  33799. const RENDER_FLAGS = 'rf';
  33800. /** The prefix reference variables */
  33801. const REFERENCE_PREFIX = '_r';
  33802. /** The name of the implicit context reference */
  33803. const IMPLICIT_REFERENCE = '$implicit';
  33804. /** Non bindable attribute name **/
  33805. const NON_BINDABLE_ATTR = 'ngNonBindable';
  33806. /** Name for the variable keeping track of the context returned by `ɵɵrestoreView`. */
  33807. const RESTORED_VIEW_CONTEXT_NAME = 'restoredCtx';
  33808. /**
  33809. * Maximum length of a single instruction chain. Because our output AST uses recursion, we're
  33810. * limited in how many expressions we can nest before we reach the call stack limit. This
  33811. * length is set very conservatively in order to reduce the chance of problems.
  33812. */
  33813. const MAX_CHAIN_LENGTH = 500;
  33814. /** Instructions that support chaining. */
  33815. const CHAINABLE_INSTRUCTIONS = new Set([Identifiers.element, Identifiers.elementStart, Identifiers.elementEnd, Identifiers.elementContainer, Identifiers.elementContainerStart, Identifiers.elementContainerEnd, Identifiers.i18nExp, Identifiers.listener, Identifiers.classProp, Identifiers.syntheticHostListener, Identifiers.hostProperty, Identifiers.syntheticHostProperty, Identifiers.property, Identifiers.propertyInterpolate1, Identifiers.propertyInterpolate2, Identifiers.propertyInterpolate3, Identifiers.propertyInterpolate4, Identifiers.propertyInterpolate5, Identifiers.propertyInterpolate6, Identifiers.propertyInterpolate7, Identifiers.propertyInterpolate8, Identifiers.propertyInterpolateV, Identifiers.attribute, Identifiers.attributeInterpolate1, Identifiers.attributeInterpolate2, Identifiers.attributeInterpolate3, Identifiers.attributeInterpolate4, Identifiers.attributeInterpolate5, Identifiers.attributeInterpolate6, Identifiers.attributeInterpolate7, Identifiers.attributeInterpolate8, Identifiers.attributeInterpolateV, Identifiers.styleProp, Identifiers.stylePropInterpolate1, Identifiers.stylePropInterpolate2, Identifiers.stylePropInterpolate3, Identifiers.stylePropInterpolate4, Identifiers.stylePropInterpolate5, Identifiers.stylePropInterpolate6, Identifiers.stylePropInterpolate7, Identifiers.stylePropInterpolate8, Identifiers.stylePropInterpolateV, Identifiers.textInterpolate, Identifiers.textInterpolate1, Identifiers.textInterpolate2, Identifiers.textInterpolate3, Identifiers.textInterpolate4, Identifiers.textInterpolate5, Identifiers.textInterpolate6, Identifiers.textInterpolate7, Identifiers.textInterpolate8, Identifiers.textInterpolateV]);
  33816. /** Generates a call to a single instruction. */
  33817. function invokeInstruction(span, reference, params) {
  33818. return importExpr(reference, null, span).callFn(params, span);
  33819. }
  33820. /**
  33821. * Creates an allocator for a temporary variable.
  33822. *
  33823. * A variable declaration is added to the statements the first time the allocator is invoked.
  33824. */
  33825. function temporaryAllocator(statements, name) {
  33826. let temp = null;
  33827. return () => {
  33828. if (!temp) {
  33829. statements.push(new DeclareVarStmt(TEMPORARY_NAME, undefined, DYNAMIC_TYPE));
  33830. temp = variable(name);
  33831. }
  33832. return temp;
  33833. };
  33834. }
  33835. function invalid(arg) {
  33836. throw new Error(`Invalid state: Visitor ${this.constructor.name} doesn't handle ${arg.constructor.name}`);
  33837. }
  33838. function asLiteral(value) {
  33839. if (Array.isArray(value)) {
  33840. return literalArr(value.map(asLiteral));
  33841. }
  33842. return literal(value, INFERRED_TYPE);
  33843. }
  33844. function conditionallyCreateMapObjectLiteral(keys, keepDeclared) {
  33845. if (Object.getOwnPropertyNames(keys).length > 0) {
  33846. return mapToExpression(keys, keepDeclared);
  33847. }
  33848. return null;
  33849. }
  33850. function mapToExpression(map, keepDeclared) {
  33851. return literalMap(Object.getOwnPropertyNames(map).map(key => {
  33852. // canonical syntax: `dirProp: publicProp`
  33853. const value = map[key];
  33854. let declaredName;
  33855. let publicName;
  33856. let minifiedName;
  33857. let needsDeclaredName;
  33858. if (Array.isArray(value)) {
  33859. [publicName, declaredName] = value;
  33860. minifiedName = key;
  33861. needsDeclaredName = publicName !== declaredName;
  33862. } else {
  33863. minifiedName = declaredName = key;
  33864. publicName = value;
  33865. needsDeclaredName = false;
  33866. }
  33867. return {
  33868. key: minifiedName,
  33869. // put quotes around keys that contain potentially unsafe characters
  33870. quoted: UNSAFE_OBJECT_KEY_NAME_REGEXP.test(minifiedName),
  33871. value: keepDeclared && needsDeclaredName ? literalArr([asLiteral(publicName), asLiteral(declaredName)]) : asLiteral(publicName)
  33872. };
  33873. }));
  33874. }
  33875. /**
  33876. * Remove trailing null nodes as they are implied.
  33877. */
  33878. function trimTrailingNulls(parameters) {
  33879. while (isNull(parameters[parameters.length - 1])) {
  33880. parameters.pop();
  33881. }
  33882. return parameters;
  33883. }
  33884. function getQueryPredicate(query, constantPool) {
  33885. if (Array.isArray(query.predicate)) {
  33886. let predicate = [];
  33887. query.predicate.forEach(selector => {
  33888. // Each item in predicates array may contain strings with comma-separated refs
  33889. // (for ex. 'ref, ref1, ..., refN'), thus we extract individual refs and store them
  33890. // as separate array entities
  33891. const selectors = selector.split(',').map(token => literal(token.trim()));
  33892. predicate.push(...selectors);
  33893. });
  33894. return constantPool.getConstLiteral(literalArr(predicate), true);
  33895. } else {
  33896. // The original predicate may have been wrapped in a `forwardRef()` call.
  33897. switch (query.predicate.forwardRef) {
  33898. case 0
  33899. /* ForwardRefHandling.None */
  33900. :
  33901. case 2
  33902. /* ForwardRefHandling.Unwrapped */
  33903. :
  33904. return query.predicate.expression;
  33905. case 1
  33906. /* ForwardRefHandling.Wrapped */
  33907. :
  33908. return importExpr(Identifiers.resolveForwardRef).callFn([query.predicate.expression]);
  33909. }
  33910. }
  33911. }
  33912. /**
  33913. * A representation for an object literal used during codegen of definition objects. The generic
  33914. * type `T` allows to reference a documented type of the generated structure, such that the
  33915. * property names that are set can be resolved to their documented declaration.
  33916. */
  33917. class DefinitionMap {
  33918. constructor() {
  33919. this.values = [];
  33920. }
  33921. set(key, value) {
  33922. if (value) {
  33923. this.values.push({
  33924. key: key,
  33925. value,
  33926. quoted: false
  33927. });
  33928. }
  33929. }
  33930. toLiteralMap() {
  33931. return literalMap(this.values);
  33932. }
  33933. }
  33934. /**
  33935. * Extract a map of properties to values for a given element or template node, which can be used
  33936. * by the directive matching machinery.
  33937. *
  33938. * @param elOrTpl the element or template in question
  33939. * @return an object set up for directive matching. For attributes on the element/template, this
  33940. * object maps a property name to its (static) value. For any bindings, this map simply maps the
  33941. * property name to an empty string.
  33942. */
  33943. function getAttrsForDirectiveMatching(elOrTpl) {
  33944. const attributesMap = {};
  33945. if (elOrTpl instanceof Template && elOrTpl.tagName !== 'ng-template') {
  33946. elOrTpl.templateAttrs.forEach(a => attributesMap[a.name] = '');
  33947. } else {
  33948. elOrTpl.attributes.forEach(a => {
  33949. if (!isI18nAttribute(a.name)) {
  33950. attributesMap[a.name] = a.value;
  33951. }
  33952. });
  33953. elOrTpl.inputs.forEach(i => {
  33954. attributesMap[i.name] = '';
  33955. });
  33956. elOrTpl.outputs.forEach(o => {
  33957. attributesMap[o.name] = '';
  33958. });
  33959. }
  33960. return attributesMap;
  33961. }
  33962. /**
  33963. * Gets the number of arguments expected to be passed to a generated instruction in the case of
  33964. * interpolation instructions.
  33965. * @param interpolation An interpolation ast
  33966. */
  33967. function getInterpolationArgsLength(interpolation) {
  33968. const {
  33969. expressions,
  33970. strings
  33971. } = interpolation;
  33972. if (expressions.length === 1 && strings.length === 2 && strings[0] === '' && strings[1] === '') {
  33973. // If the interpolation has one interpolated value, but the prefix and suffix are both empty
  33974. // strings, we only pass one argument, to a special instruction like `propertyInterpolate` or
  33975. // `textInterpolate`.
  33976. return 1;
  33977. } else {
  33978. return expressions.length + strings.length;
  33979. }
  33980. }
  33981. /**
  33982. * Generates the final instruction call statements based on the passed in configuration.
  33983. * Will try to chain instructions as much as possible, if chaining is supported.
  33984. */
  33985. function getInstructionStatements(instructions) {
  33986. var _a;
  33987. const statements = [];
  33988. let pendingExpression = null;
  33989. let pendingExpressionType = null;
  33990. let chainLength = 0;
  33991. for (const current of instructions) {
  33992. const resolvedParams = (_a = typeof current.paramsOrFn === 'function' ? current.paramsOrFn() : current.paramsOrFn) !== null && _a !== void 0 ? _a : [];
  33993. const params = Array.isArray(resolvedParams) ? resolvedParams : [resolvedParams]; // If the current instruction is the same as the previous one
  33994. // and it can be chained, add another call to the chain.
  33995. if (chainLength < MAX_CHAIN_LENGTH && pendingExpressionType === current.reference && CHAINABLE_INSTRUCTIONS.has(pendingExpressionType)) {
  33996. // We'll always have a pending expression when there's a pending expression type.
  33997. pendingExpression = pendingExpression.callFn(params, pendingExpression.sourceSpan);
  33998. chainLength++;
  33999. } else {
  34000. if (pendingExpression !== null) {
  34001. statements.push(pendingExpression.toStmt());
  34002. }
  34003. pendingExpression = invokeInstruction(current.span, current.reference, params);
  34004. pendingExpressionType = current.reference;
  34005. chainLength = 0;
  34006. }
  34007. } // Since the current instruction adds the previous one to the statements,
  34008. // we may be left with the final one at the end that is still pending.
  34009. if (pendingExpression !== null) {
  34010. statements.push(pendingExpression.toStmt());
  34011. }
  34012. return statements;
  34013. }
  34014. /**
  34015. * @license
  34016. * Copyright Google LLC All Rights Reserved.
  34017. *
  34018. * Use of this source code is governed by an MIT-style license that can be
  34019. * found in the LICENSE file at https://angular.io/license
  34020. */
  34021. function compileInjectable(meta, resolveForwardRefs) {
  34022. let result = null;
  34023. const factoryMeta = {
  34024. name: meta.name,
  34025. type: meta.type,
  34026. internalType: meta.internalType,
  34027. typeArgumentCount: meta.typeArgumentCount,
  34028. deps: [],
  34029. target: FactoryTarget$1.Injectable
  34030. };
  34031. if (meta.useClass !== undefined) {
  34032. // meta.useClass has two modes of operation. Either deps are specified, in which case `new` is
  34033. // used to instantiate the class with dependencies injected, or deps are not specified and
  34034. // the factory of the class is used to instantiate it.
  34035. //
  34036. // A special case exists for useClass: Type where Type is the injectable type itself and no
  34037. // deps are specified, in which case 'useClass' is effectively ignored.
  34038. const useClassOnSelf = meta.useClass.expression.isEquivalent(meta.internalType);
  34039. let deps = undefined;
  34040. if (meta.deps !== undefined) {
  34041. deps = meta.deps;
  34042. }
  34043. if (deps !== undefined) {
  34044. // factory: () => new meta.useClass(...deps)
  34045. result = compileFactoryFunction(Object.assign(Object.assign({}, factoryMeta), {
  34046. delegate: meta.useClass.expression,
  34047. delegateDeps: deps,
  34048. delegateType: R3FactoryDelegateType.Class
  34049. }));
  34050. } else if (useClassOnSelf) {
  34051. result = compileFactoryFunction(factoryMeta);
  34052. } else {
  34053. result = {
  34054. statements: [],
  34055. expression: delegateToFactory(meta.type.value, meta.useClass.expression, resolveForwardRefs)
  34056. };
  34057. }
  34058. } else if (meta.useFactory !== undefined) {
  34059. if (meta.deps !== undefined) {
  34060. result = compileFactoryFunction(Object.assign(Object.assign({}, factoryMeta), {
  34061. delegate: meta.useFactory,
  34062. delegateDeps: meta.deps || [],
  34063. delegateType: R3FactoryDelegateType.Function
  34064. }));
  34065. } else {
  34066. result = {
  34067. statements: [],
  34068. expression: fn([], [new ReturnStatement(meta.useFactory.callFn([]))])
  34069. };
  34070. }
  34071. } else if (meta.useValue !== undefined) {
  34072. // Note: it's safe to use `meta.useValue` instead of the `USE_VALUE in meta` check used for
  34073. // client code because meta.useValue is an Expression which will be defined even if the actual
  34074. // value is undefined.
  34075. result = compileFactoryFunction(Object.assign(Object.assign({}, factoryMeta), {
  34076. expression: meta.useValue.expression
  34077. }));
  34078. } else if (meta.useExisting !== undefined) {
  34079. // useExisting is an `inject` call on the existing token.
  34080. result = compileFactoryFunction(Object.assign(Object.assign({}, factoryMeta), {
  34081. expression: importExpr(Identifiers.inject).callFn([meta.useExisting.expression])
  34082. }));
  34083. } else {
  34084. result = {
  34085. statements: [],
  34086. expression: delegateToFactory(meta.type.value, meta.internalType, resolveForwardRefs)
  34087. };
  34088. }
  34089. const token = meta.internalType;
  34090. const injectableProps = new DefinitionMap();
  34091. injectableProps.set('token', token);
  34092. injectableProps.set('factory', result.expression); // Only generate providedIn property if it has a non-null value
  34093. if (meta.providedIn.expression.value !== null) {
  34094. injectableProps.set('providedIn', convertFromMaybeForwardRefExpression(meta.providedIn));
  34095. }
  34096. const expression = importExpr(Identifiers.ɵɵdefineInjectable).callFn([injectableProps.toLiteralMap()], undefined, true);
  34097. return {
  34098. expression,
  34099. type: createInjectableType(meta),
  34100. statements: result.statements
  34101. };
  34102. }
  34103. function createInjectableType(meta) {
  34104. return new ExpressionType(importExpr(Identifiers.InjectableDeclaration, [typeWithParameters(meta.type.type, meta.typeArgumentCount)]));
  34105. }
  34106. function delegateToFactory(type, internalType, unwrapForwardRefs) {
  34107. if (type.node === internalType.node) {
  34108. // The types are the same, so we can simply delegate directly to the type's factory.
  34109. // ```
  34110. // factory: type.ɵfac
  34111. // ```
  34112. return internalType.prop('ɵfac');
  34113. }
  34114. if (!unwrapForwardRefs) {
  34115. // The type is not wrapped in a `forwardRef()`, so we create a simple factory function that
  34116. // accepts a sub-type as an argument.
  34117. // ```
  34118. // factory: function(t) { return internalType.ɵfac(t); }
  34119. // ```
  34120. return createFactoryFunction(internalType);
  34121. } // The internalType is actually wrapped in a `forwardRef()` so we need to resolve that before
  34122. // calling its factory.
  34123. // ```
  34124. // factory: function(t) { return core.resolveForwardRef(type).ɵfac(t); }
  34125. // ```
  34126. const unwrappedType = importExpr(Identifiers.resolveForwardRef).callFn([internalType]);
  34127. return createFactoryFunction(unwrappedType);
  34128. }
  34129. function createFactoryFunction(type) {
  34130. return fn([new FnParam('t', DYNAMIC_TYPE)], [new ReturnStatement(type.prop('ɵfac').callFn([variable('t')]))]);
  34131. }
  34132. /**
  34133. * @license
  34134. * Copyright Google LLC All Rights Reserved.
  34135. *
  34136. * Use of this source code is governed by an MIT-style license that can be
  34137. * found in the LICENSE file at https://angular.io/license
  34138. */
  34139. const UNUSABLE_INTERPOLATION_REGEXPS = [/^\s*$/, /[<>]/, /^[{}]$/, /&(#|[a-z])/i, /^\/\// // comment
  34140. ];
  34141. function assertInterpolationSymbols(identifier, value) {
  34142. if (value != null && !(Array.isArray(value) && value.length == 2)) {
  34143. throw new Error(`Expected '${identifier}' to be an array, [start, end].`);
  34144. } else if (value != null) {
  34145. const start = value[0];
  34146. const end = value[1]; // Check for unusable interpolation symbols
  34147. UNUSABLE_INTERPOLATION_REGEXPS.forEach(regexp => {
  34148. if (regexp.test(start) || regexp.test(end)) {
  34149. throw new Error(`['${start}', '${end}'] contains unusable interpolation symbol.`);
  34150. }
  34151. });
  34152. }
  34153. }
  34154. /**
  34155. * @license
  34156. * Copyright Google LLC All Rights Reserved.
  34157. *
  34158. * Use of this source code is governed by an MIT-style license that can be
  34159. * found in the LICENSE file at https://angular.io/license
  34160. */
  34161. class InterpolationConfig {
  34162. constructor(start, end) {
  34163. this.start = start;
  34164. this.end = end;
  34165. }
  34166. static fromArray(markers) {
  34167. if (!markers) {
  34168. return DEFAULT_INTERPOLATION_CONFIG;
  34169. }
  34170. assertInterpolationSymbols('interpolation', markers);
  34171. return new InterpolationConfig(markers[0], markers[1]);
  34172. }
  34173. }
  34174. const DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig('{{', '}}');
  34175. /**
  34176. * @license
  34177. * Copyright Google LLC All Rights Reserved.
  34178. *
  34179. * Use of this source code is governed by an MIT-style license that can be
  34180. * found in the LICENSE file at https://angular.io/license
  34181. */
  34182. const $EOF = 0;
  34183. const $BSPACE = 8;
  34184. const $TAB = 9;
  34185. const $LF = 10;
  34186. const $VTAB = 11;
  34187. const $FF = 12;
  34188. const $CR = 13;
  34189. const $SPACE = 32;
  34190. const $BANG = 33;
  34191. const $DQ = 34;
  34192. const $HASH = 35;
  34193. const $$ = 36;
  34194. const $PERCENT = 37;
  34195. const $AMPERSAND = 38;
  34196. const $SQ = 39;
  34197. const $LPAREN = 40;
  34198. const $RPAREN = 41;
  34199. const $STAR = 42;
  34200. const $PLUS = 43;
  34201. const $COMMA = 44;
  34202. const $MINUS = 45;
  34203. const $PERIOD = 46;
  34204. const $SLASH = 47;
  34205. const $COLON = 58;
  34206. const $SEMICOLON = 59;
  34207. const $LT = 60;
  34208. const $EQ = 61;
  34209. const $GT = 62;
  34210. const $QUESTION = 63;
  34211. const $0 = 48;
  34212. const $7 = 55;
  34213. const $9 = 57;
  34214. const $A = 65;
  34215. const $E = 69;
  34216. const $F = 70;
  34217. const $X = 88;
  34218. const $Z = 90;
  34219. const $LBRACKET = 91;
  34220. const $BACKSLASH = 92;
  34221. const $RBRACKET = 93;
  34222. const $CARET = 94;
  34223. const $_ = 95;
  34224. const $a = 97;
  34225. const $b = 98;
  34226. const $e = 101;
  34227. const $f = 102;
  34228. const $n = 110;
  34229. const $r = 114;
  34230. const $t = 116;
  34231. const $u = 117;
  34232. const $v = 118;
  34233. const $x = 120;
  34234. const $z = 122;
  34235. const $LBRACE = 123;
  34236. const $BAR = 124;
  34237. const $RBRACE = 125;
  34238. const $NBSP = 160;
  34239. const $PIPE = 124;
  34240. const $TILDA = 126;
  34241. const $AT = 64;
  34242. const $BT = 96;
  34243. function isWhitespace(code) {
  34244. return code >= $TAB && code <= $SPACE || code == $NBSP;
  34245. }
  34246. function isDigit(code) {
  34247. return $0 <= code && code <= $9;
  34248. }
  34249. function isAsciiLetter(code) {
  34250. return code >= $a && code <= $z || code >= $A && code <= $Z;
  34251. }
  34252. function isAsciiHexDigit(code) {
  34253. return code >= $a && code <= $f || code >= $A && code <= $F || isDigit(code);
  34254. }
  34255. function isNewLine(code) {
  34256. return code === $LF || code === $CR;
  34257. }
  34258. function isOctalDigit(code) {
  34259. return $0 <= code && code <= $7;
  34260. }
  34261. function isQuote(code) {
  34262. return code === $SQ || code === $DQ || code === $BT;
  34263. }
  34264. /**
  34265. * @license
  34266. * Copyright Google LLC All Rights Reserved.
  34267. *
  34268. * Use of this source code is governed by an MIT-style license that can be
  34269. * found in the LICENSE file at https://angular.io/license
  34270. */
  34271. class ParseLocation {
  34272. constructor(file, offset, line, col) {
  34273. this.file = file;
  34274. this.offset = offset;
  34275. this.line = line;
  34276. this.col = col;
  34277. }
  34278. toString() {
  34279. return this.offset != null ? `${this.file.url}@${this.line}:${this.col}` : this.file.url;
  34280. }
  34281. moveBy(delta) {
  34282. const source = this.file.content;
  34283. const len = source.length;
  34284. let offset = this.offset;
  34285. let line = this.line;
  34286. let col = this.col;
  34287. while (offset > 0 && delta < 0) {
  34288. offset--;
  34289. delta++;
  34290. const ch = source.charCodeAt(offset);
  34291. if (ch == $LF) {
  34292. line--;
  34293. const priorLine = source.substring(0, offset - 1).lastIndexOf(String.fromCharCode($LF));
  34294. col = priorLine > 0 ? offset - priorLine : offset;
  34295. } else {
  34296. col--;
  34297. }
  34298. }
  34299. while (offset < len && delta > 0) {
  34300. const ch = source.charCodeAt(offset);
  34301. offset++;
  34302. delta--;
  34303. if (ch == $LF) {
  34304. line++;
  34305. col = 0;
  34306. } else {
  34307. col++;
  34308. }
  34309. }
  34310. return new ParseLocation(this.file, offset, line, col);
  34311. } // Return the source around the location
  34312. // Up to `maxChars` or `maxLines` on each side of the location
  34313. getContext(maxChars, maxLines) {
  34314. const content = this.file.content;
  34315. let startOffset = this.offset;
  34316. if (startOffset != null) {
  34317. if (startOffset > content.length - 1) {
  34318. startOffset = content.length - 1;
  34319. }
  34320. let endOffset = startOffset;
  34321. let ctxChars = 0;
  34322. let ctxLines = 0;
  34323. while (ctxChars < maxChars && startOffset > 0) {
  34324. startOffset--;
  34325. ctxChars++;
  34326. if (content[startOffset] == '\n') {
  34327. if (++ctxLines == maxLines) {
  34328. break;
  34329. }
  34330. }
  34331. }
  34332. ctxChars = 0;
  34333. ctxLines = 0;
  34334. while (ctxChars < maxChars && endOffset < content.length - 1) {
  34335. endOffset++;
  34336. ctxChars++;
  34337. if (content[endOffset] == '\n') {
  34338. if (++ctxLines == maxLines) {
  34339. break;
  34340. }
  34341. }
  34342. }
  34343. return {
  34344. before: content.substring(startOffset, this.offset),
  34345. after: content.substring(this.offset, endOffset + 1)
  34346. };
  34347. }
  34348. return null;
  34349. }
  34350. }
  34351. class ParseSourceFile {
  34352. constructor(content, url) {
  34353. this.content = content;
  34354. this.url = url;
  34355. }
  34356. }
  34357. class ParseSourceSpan {
  34358. /**
  34359. * Create an object that holds information about spans of tokens/nodes captured during
  34360. * lexing/parsing of text.
  34361. *
  34362. * @param start
  34363. * The location of the start of the span (having skipped leading trivia).
  34364. * Skipping leading trivia makes source-spans more "user friendly", since things like HTML
  34365. * elements will appear to begin at the start of the opening tag, rather than at the start of any
  34366. * leading trivia, which could include newlines.
  34367. *
  34368. * @param end
  34369. * The location of the end of the span.
  34370. *
  34371. * @param fullStart
  34372. * The start of the token without skipping the leading trivia.
  34373. * This is used by tooling that splits tokens further, such as extracting Angular interpolations
  34374. * from text tokens. Such tooling creates new source-spans relative to the original token's
  34375. * source-span. If leading trivia characters have been skipped then the new source-spans may be
  34376. * incorrectly offset.
  34377. *
  34378. * @param details
  34379. * Additional information (such as identifier names) that should be associated with the span.
  34380. */
  34381. constructor(start, end, fullStart = start, details = null) {
  34382. this.start = start;
  34383. this.end = end;
  34384. this.fullStart = fullStart;
  34385. this.details = details;
  34386. }
  34387. toString() {
  34388. return this.start.file.content.substring(this.start.offset, this.end.offset);
  34389. }
  34390. }
  34391. var ParseErrorLevel;
  34392. (function (ParseErrorLevel) {
  34393. ParseErrorLevel[ParseErrorLevel["WARNING"] = 0] = "WARNING";
  34394. ParseErrorLevel[ParseErrorLevel["ERROR"] = 1] = "ERROR";
  34395. })(ParseErrorLevel || (ParseErrorLevel = {}));
  34396. class ParseError {
  34397. constructor(span, msg, level = ParseErrorLevel.ERROR) {
  34398. this.span = span;
  34399. this.msg = msg;
  34400. this.level = level;
  34401. }
  34402. contextualMessage() {
  34403. const ctx = this.span.start.getContext(100, 3);
  34404. return ctx ? `${this.msg} ("${ctx.before}[${ParseErrorLevel[this.level]} ->]${ctx.after}")` : this.msg;
  34405. }
  34406. toString() {
  34407. const details = this.span.details ? `, ${this.span.details}` : '';
  34408. return `${this.contextualMessage()}: ${this.span.start}${details}`;
  34409. }
  34410. }
  34411. /**
  34412. * Generates Source Span object for a given R3 Type for JIT mode.
  34413. *
  34414. * @param kind Component or Directive.
  34415. * @param typeName name of the Component or Directive.
  34416. * @param sourceUrl reference to Component or Directive source.
  34417. * @returns instance of ParseSourceSpan that represent a given Component or Directive.
  34418. */
  34419. function r3JitTypeSourceSpan(kind, typeName, sourceUrl) {
  34420. const sourceFileName = `in ${kind} ${typeName} in ${sourceUrl}`;
  34421. const sourceFile = new ParseSourceFile('', sourceFileName);
  34422. return new ParseSourceSpan(new ParseLocation(sourceFile, -1, -1, -1), new ParseLocation(sourceFile, -1, -1, -1));
  34423. }
  34424. let _anonymousTypeIndex = 0;
  34425. function identifierName(compileIdentifier) {
  34426. if (!compileIdentifier || !compileIdentifier.reference) {
  34427. return null;
  34428. }
  34429. const ref = compileIdentifier.reference;
  34430. if (ref['__anonymousType']) {
  34431. return ref['__anonymousType'];
  34432. }
  34433. if (ref['__forward_ref__']) {
  34434. // We do not want to try to stringify a `forwardRef()` function because that would cause the
  34435. // inner function to be evaluated too early, defeating the whole point of the `forwardRef`.
  34436. return '__forward_ref__';
  34437. }
  34438. let identifier = stringify(ref);
  34439. if (identifier.indexOf('(') >= 0) {
  34440. // case: anonymous functions!
  34441. identifier = `anonymous_${_anonymousTypeIndex++}`;
  34442. ref['__anonymousType'] = identifier;
  34443. } else {
  34444. identifier = sanitizeIdentifier(identifier);
  34445. }
  34446. return identifier;
  34447. }
  34448. function sanitizeIdentifier(name) {
  34449. return name.replace(/\W/g, '_');
  34450. }
  34451. /**
  34452. * @license
  34453. * Copyright Google LLC All Rights Reserved.
  34454. *
  34455. * Use of this source code is governed by an MIT-style license that can be
  34456. * found in the LICENSE file at https://angular.io/license
  34457. */
  34458. /**
  34459. * In TypeScript, tagged template functions expect a "template object", which is an array of
  34460. * "cooked" strings plus a `raw` property that contains an array of "raw" strings. This is
  34461. * typically constructed with a function called `__makeTemplateObject(cooked, raw)`, but it may not
  34462. * be available in all environments.
  34463. *
  34464. * This is a JavaScript polyfill that uses __makeTemplateObject when it's available, but otherwise
  34465. * creates an inline helper with the same functionality.
  34466. *
  34467. * In the inline function, if `Object.defineProperty` is available we use that to attach the `raw`
  34468. * array.
  34469. */
  34470. const makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
  34471. class AbstractJsEmitterVisitor extends AbstractEmitterVisitor {
  34472. constructor() {
  34473. super(false);
  34474. }
  34475. visitWrappedNodeExpr(ast, ctx) {
  34476. throw new Error('Cannot emit a WrappedNodeExpr in Javascript.');
  34477. }
  34478. visitDeclareVarStmt(stmt, ctx) {
  34479. ctx.print(stmt, `var ${stmt.name}`);
  34480. if (stmt.value) {
  34481. ctx.print(stmt, ' = ');
  34482. stmt.value.visitExpression(this, ctx);
  34483. }
  34484. ctx.println(stmt, `;`);
  34485. return null;
  34486. }
  34487. visitTaggedTemplateExpr(ast, ctx) {
  34488. // The following convoluted piece of code is effectively the downlevelled equivalent of
  34489. // ```
  34490. // tag`...`
  34491. // ```
  34492. // which is effectively like:
  34493. // ```
  34494. // tag(__makeTemplateObject(cooked, raw), expression1, expression2, ...);
  34495. // ```
  34496. const elements = ast.template.elements;
  34497. ast.tag.visitExpression(this, ctx);
  34498. ctx.print(ast, `(${makeTemplateObjectPolyfill}(`);
  34499. ctx.print(ast, `[${elements.map(part => escapeIdentifier(part.text, false)).join(', ')}], `);
  34500. ctx.print(ast, `[${elements.map(part => escapeIdentifier(part.rawText, false)).join(', ')}])`);
  34501. ast.template.expressions.forEach(expression => {
  34502. ctx.print(ast, ', ');
  34503. expression.visitExpression(this, ctx);
  34504. });
  34505. ctx.print(ast, ')');
  34506. return null;
  34507. }
  34508. visitFunctionExpr(ast, ctx) {
  34509. ctx.print(ast, `function${ast.name ? ' ' + ast.name : ''}(`);
  34510. this._visitParams(ast.params, ctx);
  34511. ctx.println(ast, `) {`);
  34512. ctx.incIndent();
  34513. this.visitAllStatements(ast.statements, ctx);
  34514. ctx.decIndent();
  34515. ctx.print(ast, `}`);
  34516. return null;
  34517. }
  34518. visitDeclareFunctionStmt(stmt, ctx) {
  34519. ctx.print(stmt, `function ${stmt.name}(`);
  34520. this._visitParams(stmt.params, ctx);
  34521. ctx.println(stmt, `) {`);
  34522. ctx.incIndent();
  34523. this.visitAllStatements(stmt.statements, ctx);
  34524. ctx.decIndent();
  34525. ctx.println(stmt, `}`);
  34526. return null;
  34527. }
  34528. visitLocalizedString(ast, ctx) {
  34529. // The following convoluted piece of code is effectively the downlevelled equivalent of
  34530. // ```
  34531. // $localize `...`
  34532. // ```
  34533. // which is effectively like:
  34534. // ```
  34535. // $localize(__makeTemplateObject(cooked, raw), expression1, expression2, ...);
  34536. // ```
  34537. ctx.print(ast, `$localize(${makeTemplateObjectPolyfill}(`);
  34538. const parts = [ast.serializeI18nHead()];
  34539. for (let i = 1; i < ast.messageParts.length; i++) {
  34540. parts.push(ast.serializeI18nTemplatePart(i));
  34541. }
  34542. ctx.print(ast, `[${parts.map(part => escapeIdentifier(part.cooked, false)).join(', ')}], `);
  34543. ctx.print(ast, `[${parts.map(part => escapeIdentifier(part.raw, false)).join(', ')}])`);
  34544. ast.expressions.forEach(expression => {
  34545. ctx.print(ast, ', ');
  34546. expression.visitExpression(this, ctx);
  34547. });
  34548. ctx.print(ast, ')');
  34549. return null;
  34550. }
  34551. _visitParams(params, ctx) {
  34552. this.visitAllObjects(param => ctx.print(null, param.name), params, ctx, ',');
  34553. }
  34554. }
  34555. /**
  34556. * @license
  34557. * Copyright Google LLC All Rights Reserved.
  34558. *
  34559. * Use of this source code is governed by an MIT-style license that can be
  34560. * found in the LICENSE file at https://angular.io/license
  34561. */
  34562. /**
  34563. * The Trusted Types policy, or null if Trusted Types are not
  34564. * enabled/supported, or undefined if the policy has not been created yet.
  34565. */
  34566. let policy;
  34567. /**
  34568. * Returns the Trusted Types policy, or null if Trusted Types are not
  34569. * enabled/supported. The first call to this function will create the policy.
  34570. */
  34571. function getPolicy() {
  34572. if (policy === undefined) {
  34573. policy = null;
  34574. if (_global.trustedTypes) {
  34575. try {
  34576. policy = _global.trustedTypes.createPolicy('angular#unsafe-jit', {
  34577. createScript: s => s
  34578. });
  34579. } catch (_a) {// trustedTypes.createPolicy throws if called with a name that is
  34580. // already registered, even in report-only mode. Until the API changes,
  34581. // catch the error not to break the applications functionally. In such
  34582. // cases, the code will fall back to using strings.
  34583. }
  34584. }
  34585. }
  34586. return policy;
  34587. }
  34588. /**
  34589. * Unsafely promote a string to a TrustedScript, falling back to strings when
  34590. * Trusted Types are not available.
  34591. * @security In particular, it must be assured that the provided string will
  34592. * never cause an XSS vulnerability if used in a context that will be
  34593. * interpreted and executed as a script by a browser, e.g. when calling eval.
  34594. */
  34595. function trustedScriptFromString(script) {
  34596. var _a;
  34597. return ((_a = getPolicy()) === null || _a === void 0 ? void 0 : _a.createScript(script)) || script;
  34598. }
  34599. /**
  34600. * Unsafely call the Function constructor with the given string arguments.
  34601. * @security This is a security-sensitive function; any use of this function
  34602. * must go through security review. In particular, it must be assured that it
  34603. * is only called from the JIT compiler, as use in other code can lead to XSS
  34604. * vulnerabilities.
  34605. */
  34606. function newTrustedFunctionForJIT(...args) {
  34607. if (!_global.trustedTypes) {
  34608. // In environments that don't support Trusted Types, fall back to the most
  34609. // straightforward implementation:
  34610. return new Function(...args);
  34611. } // Chrome currently does not support passing TrustedScript to the Function
  34612. // constructor. The following implements the workaround proposed on the page
  34613. // below, where the Chromium bug is also referenced:
  34614. // https://github.com/w3c/webappsec-trusted-types/wiki/Trusted-Types-for-function-constructor
  34615. const fnArgs = args.slice(0, -1).join(',');
  34616. const fnBody = args[args.length - 1];
  34617. const body = `(function anonymous(${fnArgs}
  34618. ) { ${fnBody}
  34619. })`; // Using eval directly confuses the compiler and prevents this module from
  34620. // being stripped out of JS binaries even if not used. The global['eval']
  34621. // indirection fixes that.
  34622. const fn = _global['eval'](trustedScriptFromString(body));
  34623. if (fn.bind === undefined) {
  34624. // Workaround for a browser bug that only exists in Chrome 83, where passing
  34625. // a TrustedScript to eval just returns the TrustedScript back without
  34626. // evaluating it. In that case, fall back to the most straightforward
  34627. // implementation:
  34628. return new Function(...args);
  34629. } // To completely mimic the behavior of calling "new Function", two more
  34630. // things need to happen:
  34631. // 1. Stringifying the resulting function should return its source code
  34632. fn.toString = () => body; // 2. When calling the resulting function, `this` should refer to `global`
  34633. return fn.bind(_global); // When Trusted Types support in Function constructors is widely available,
  34634. // the implementation of this function can be simplified to:
  34635. // return new Function(...args.map(a => trustedScriptFromString(a)));
  34636. }
  34637. /**
  34638. * @license
  34639. * Copyright Google LLC All Rights Reserved.
  34640. *
  34641. * Use of this source code is governed by an MIT-style license that can be
  34642. * found in the LICENSE file at https://angular.io/license
  34643. */
  34644. /**
  34645. * A helper class to manage the evaluation of JIT generated code.
  34646. */
  34647. class JitEvaluator {
  34648. /**
  34649. *
  34650. * @param sourceUrl The URL of the generated code.
  34651. * @param statements An array of Angular statement AST nodes to be evaluated.
  34652. * @param refResolver Resolves `o.ExternalReference`s into values.
  34653. * @param createSourceMaps If true then create a source-map for the generated code and include it
  34654. * inline as a source-map comment.
  34655. * @returns A map of all the variables in the generated code.
  34656. */
  34657. evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
  34658. const converter = new JitEmitterVisitor(refResolver);
  34659. const ctx = EmitterVisitorContext.createRoot(); // Ensure generated code is in strict mode
  34660. if (statements.length > 0 && !isUseStrictStatement(statements[0])) {
  34661. statements = [literal('use strict').toStmt(), ...statements];
  34662. }
  34663. converter.visitAllStatements(statements, ctx);
  34664. converter.createReturnStmt(ctx);
  34665. return this.evaluateCode(sourceUrl, ctx, converter.getArgs(), createSourceMaps);
  34666. }
  34667. /**
  34668. * Evaluate a piece of JIT generated code.
  34669. * @param sourceUrl The URL of this generated code.
  34670. * @param ctx A context object that contains an AST of the code to be evaluated.
  34671. * @param vars A map containing the names and values of variables that the evaluated code might
  34672. * reference.
  34673. * @param createSourceMap If true then create a source-map for the generated code and include it
  34674. * inline as a source-map comment.
  34675. * @returns The result of evaluating the code.
  34676. */
  34677. evaluateCode(sourceUrl, ctx, vars, createSourceMap) {
  34678. let fnBody = `"use strict";${ctx.toSource()}\n//# sourceURL=${sourceUrl}`;
  34679. const fnArgNames = [];
  34680. const fnArgValues = [];
  34681. for (const argName in vars) {
  34682. fnArgValues.push(vars[argName]);
  34683. fnArgNames.push(argName);
  34684. }
  34685. if (createSourceMap) {
  34686. // using `new Function(...)` generates a header, 1 line of no arguments, 2 lines otherwise
  34687. // E.g. ```
  34688. // function anonymous(a,b,c
  34689. // /**/) { ... }```
  34690. // We don't want to hard code this fact, so we auto detect it via an empty function first.
  34691. const emptyFn = newTrustedFunctionForJIT(...fnArgNames.concat('return null;')).toString();
  34692. const headerLines = emptyFn.slice(0, emptyFn.indexOf('return null;')).split('\n').length - 1;
  34693. fnBody += `\n${ctx.toSourceMapGenerator(sourceUrl, headerLines).toJsComment()}`;
  34694. }
  34695. const fn = newTrustedFunctionForJIT(...fnArgNames.concat(fnBody));
  34696. return this.executeFunction(fn, fnArgValues);
  34697. }
  34698. /**
  34699. * Execute a JIT generated function by calling it.
  34700. *
  34701. * This method can be overridden in tests to capture the functions that are generated
  34702. * by this `JitEvaluator` class.
  34703. *
  34704. * @param fn A function to execute.
  34705. * @param args The arguments to pass to the function being executed.
  34706. * @returns The return value of the executed function.
  34707. */
  34708. executeFunction(fn, args) {
  34709. return fn(...args);
  34710. }
  34711. }
  34712. /**
  34713. * An Angular AST visitor that converts AST nodes into executable JavaScript code.
  34714. */
  34715. class JitEmitterVisitor extends AbstractJsEmitterVisitor {
  34716. constructor(refResolver) {
  34717. super();
  34718. this.refResolver = refResolver;
  34719. this._evalArgNames = [];
  34720. this._evalArgValues = [];
  34721. this._evalExportedVars = [];
  34722. }
  34723. createReturnStmt(ctx) {
  34724. const stmt = new ReturnStatement(new LiteralMapExpr(this._evalExportedVars.map(resultVar => new LiteralMapEntry(resultVar, variable(resultVar), false))));
  34725. stmt.visitStatement(this, ctx);
  34726. }
  34727. getArgs() {
  34728. const result = {};
  34729. for (let i = 0; i < this._evalArgNames.length; i++) {
  34730. result[this._evalArgNames[i]] = this._evalArgValues[i];
  34731. }
  34732. return result;
  34733. }
  34734. visitExternalExpr(ast, ctx) {
  34735. this._emitReferenceToExternal(ast, this.refResolver.resolveExternalReference(ast.value), ctx);
  34736. return null;
  34737. }
  34738. visitWrappedNodeExpr(ast, ctx) {
  34739. this._emitReferenceToExternal(ast, ast.node, ctx);
  34740. return null;
  34741. }
  34742. visitDeclareVarStmt(stmt, ctx) {
  34743. if (stmt.hasModifier(StmtModifier.Exported)) {
  34744. this._evalExportedVars.push(stmt.name);
  34745. }
  34746. return super.visitDeclareVarStmt(stmt, ctx);
  34747. }
  34748. visitDeclareFunctionStmt(stmt, ctx) {
  34749. if (stmt.hasModifier(StmtModifier.Exported)) {
  34750. this._evalExportedVars.push(stmt.name);
  34751. }
  34752. return super.visitDeclareFunctionStmt(stmt, ctx);
  34753. }
  34754. _emitReferenceToExternal(ast, value, ctx) {
  34755. let id = this._evalArgValues.indexOf(value);
  34756. if (id === -1) {
  34757. id = this._evalArgValues.length;
  34758. this._evalArgValues.push(value);
  34759. const name = identifierName({
  34760. reference: value
  34761. }) || 'val';
  34762. this._evalArgNames.push(`jit_${name}_${id}`);
  34763. }
  34764. ctx.print(ast, this._evalArgNames[id]);
  34765. }
  34766. }
  34767. function isUseStrictStatement(statement) {
  34768. return statement.isEquivalent(literal('use strict').toStmt());
  34769. }
  34770. /**
  34771. * @license
  34772. * Copyright Google LLC All Rights Reserved.
  34773. *
  34774. * Use of this source code is governed by an MIT-style license that can be
  34775. * found in the LICENSE file at https://angular.io/license
  34776. */
  34777. function compileInjector(meta) {
  34778. const definitionMap = new DefinitionMap();
  34779. if (meta.providers !== null) {
  34780. definitionMap.set('providers', meta.providers);
  34781. }
  34782. if (meta.imports.length > 0) {
  34783. definitionMap.set('imports', literalArr(meta.imports));
  34784. }
  34785. const expression = importExpr(Identifiers.defineInjector).callFn([definitionMap.toLiteralMap()], undefined, true);
  34786. const type = createInjectorType(meta);
  34787. return {
  34788. expression,
  34789. type,
  34790. statements: []
  34791. };
  34792. }
  34793. function createInjectorType(meta) {
  34794. return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
  34795. }
  34796. /**
  34797. * @license
  34798. * Copyright Google LLC All Rights Reserved.
  34799. *
  34800. * Use of this source code is governed by an MIT-style license that can be
  34801. * found in the LICENSE file at https://angular.io/license
  34802. */
  34803. /**
  34804. * Implementation of `CompileReflector` which resolves references to @angular/core
  34805. * symbols at runtime, according to a consumer-provided mapping.
  34806. *
  34807. * Only supports `resolveExternalReference`, all other methods throw.
  34808. */
  34809. class R3JitReflector {
  34810. constructor(context) {
  34811. this.context = context;
  34812. }
  34813. resolveExternalReference(ref) {
  34814. // This reflector only handles @angular/core imports.
  34815. if (ref.moduleName !== '@angular/core') {
  34816. throw new Error(`Cannot resolve external reference to ${ref.moduleName}, only references to @angular/core are supported.`);
  34817. }
  34818. if (!this.context.hasOwnProperty(ref.name)) {
  34819. throw new Error(`No value provided for @angular/core symbol '${ref.name}'.`);
  34820. }
  34821. return this.context[ref.name];
  34822. }
  34823. }
  34824. /**
  34825. * @license
  34826. * Copyright Google LLC All Rights Reserved.
  34827. *
  34828. * Use of this source code is governed by an MIT-style license that can be
  34829. * found in the LICENSE file at https://angular.io/license
  34830. */
  34831. /**
  34832. * How the selector scope of an NgModule (its declarations, imports, and exports) should be emitted
  34833. * as a part of the NgModule definition.
  34834. */
  34835. var R3SelectorScopeMode;
  34836. (function (R3SelectorScopeMode) {
  34837. /**
  34838. * Emit the declarations inline into the module definition.
  34839. *
  34840. * This option is useful in certain contexts where it's known that JIT support is required. The
  34841. * tradeoff here is that this emit style prevents directives and pipes from being tree-shaken if
  34842. * they are unused, but the NgModule is used.
  34843. */
  34844. R3SelectorScopeMode[R3SelectorScopeMode["Inline"] = 0] = "Inline";
  34845. /**
  34846. * Emit the declarations using a side effectful function call, `ɵɵsetNgModuleScope`, that is
  34847. * guarded with the `ngJitMode` flag.
  34848. *
  34849. * This form of emit supports JIT and can be optimized away if the `ngJitMode` flag is set to
  34850. * false, which allows unused directives and pipes to be tree-shaken.
  34851. */
  34852. R3SelectorScopeMode[R3SelectorScopeMode["SideEffect"] = 1] = "SideEffect";
  34853. /**
  34854. * Don't generate selector scopes at all.
  34855. *
  34856. * This is useful for contexts where JIT support is known to be unnecessary.
  34857. */
  34858. R3SelectorScopeMode[R3SelectorScopeMode["Omit"] = 2] = "Omit";
  34859. })(R3SelectorScopeMode || (R3SelectorScopeMode = {}));
  34860. /**
  34861. * Construct an `R3NgModuleDef` for the given `R3NgModuleMetadata`.
  34862. */
  34863. function compileNgModule(meta) {
  34864. const {
  34865. adjacentType,
  34866. internalType,
  34867. bootstrap,
  34868. declarations,
  34869. imports,
  34870. exports,
  34871. schemas,
  34872. containsForwardDecls,
  34873. selectorScopeMode,
  34874. id
  34875. } = meta;
  34876. const statements = [];
  34877. const definitionMap = new DefinitionMap();
  34878. definitionMap.set('type', internalType);
  34879. if (bootstrap.length > 0) {
  34880. definitionMap.set('bootstrap', refsToArray(bootstrap, containsForwardDecls));
  34881. }
  34882. if (selectorScopeMode === R3SelectorScopeMode.Inline) {
  34883. // If requested to emit scope information inline, pass the `declarations`, `imports` and
  34884. // `exports` to the `ɵɵdefineNgModule()` call directly.
  34885. if (declarations.length > 0) {
  34886. definitionMap.set('declarations', refsToArray(declarations, containsForwardDecls));
  34887. }
  34888. if (imports.length > 0) {
  34889. definitionMap.set('imports', refsToArray(imports, containsForwardDecls));
  34890. }
  34891. if (exports.length > 0) {
  34892. definitionMap.set('exports', refsToArray(exports, containsForwardDecls));
  34893. }
  34894. } else if (selectorScopeMode === R3SelectorScopeMode.SideEffect) {
  34895. // In this mode, scope information is not passed into `ɵɵdefineNgModule` as it
  34896. // would prevent tree-shaking of the declarations, imports and exports references. Instead, it's
  34897. // patched onto the NgModule definition with a `ɵɵsetNgModuleScope` call that's guarded by the
  34898. // `ngJitMode` flag.
  34899. const setNgModuleScopeCall = generateSetNgModuleScopeCall(meta);
  34900. if (setNgModuleScopeCall !== null) {
  34901. statements.push(setNgModuleScopeCall);
  34902. }
  34903. } else {// Selector scope emit was not requested, so skip it.
  34904. }
  34905. if (schemas !== null && schemas.length > 0) {
  34906. definitionMap.set('schemas', literalArr(schemas.map(ref => ref.value)));
  34907. }
  34908. if (id !== null) {
  34909. definitionMap.set('id', id); // Generate a side-effectful call to register this NgModule by its id, as per the semantics of
  34910. // NgModule ids.
  34911. statements.push(importExpr(Identifiers.registerNgModuleType).callFn([adjacentType, id]).toStmt());
  34912. }
  34913. const expression = importExpr(Identifiers.defineNgModule).callFn([definitionMap.toLiteralMap()], undefined, true);
  34914. const type = createNgModuleType(meta);
  34915. return {
  34916. expression,
  34917. type,
  34918. statements
  34919. };
  34920. }
  34921. /**
  34922. * This function is used in JIT mode to generate the call to `ɵɵdefineNgModule()` from a call to
  34923. * `ɵɵngDeclareNgModule()`.
  34924. */
  34925. function compileNgModuleDeclarationExpression(meta) {
  34926. const definitionMap = new DefinitionMap();
  34927. definitionMap.set('type', new WrappedNodeExpr(meta.type));
  34928. if (meta.bootstrap !== undefined) {
  34929. definitionMap.set('bootstrap', new WrappedNodeExpr(meta.bootstrap));
  34930. }
  34931. if (meta.declarations !== undefined) {
  34932. definitionMap.set('declarations', new WrappedNodeExpr(meta.declarations));
  34933. }
  34934. if (meta.imports !== undefined) {
  34935. definitionMap.set('imports', new WrappedNodeExpr(meta.imports));
  34936. }
  34937. if (meta.exports !== undefined) {
  34938. definitionMap.set('exports', new WrappedNodeExpr(meta.exports));
  34939. }
  34940. if (meta.schemas !== undefined) {
  34941. definitionMap.set('schemas', new WrappedNodeExpr(meta.schemas));
  34942. }
  34943. if (meta.id !== undefined) {
  34944. definitionMap.set('id', new WrappedNodeExpr(meta.id));
  34945. }
  34946. return importExpr(Identifiers.defineNgModule).callFn([definitionMap.toLiteralMap()]);
  34947. }
  34948. function createNgModuleType({
  34949. type: moduleType,
  34950. declarations,
  34951. exports,
  34952. imports,
  34953. includeImportTypes,
  34954. publicDeclarationTypes
  34955. }) {
  34956. return new ExpressionType(importExpr(Identifiers.NgModuleDeclaration, [new ExpressionType(moduleType.type), publicDeclarationTypes === null ? tupleTypeOf(declarations) : tupleOfTypes(publicDeclarationTypes), includeImportTypes ? tupleTypeOf(imports) : NONE_TYPE, tupleTypeOf(exports)]));
  34957. }
  34958. /**
  34959. * Generates a function call to `ɵɵsetNgModuleScope` with all necessary information so that the
  34960. * transitive module scope can be computed during runtime in JIT mode. This call is marked pure
  34961. * such that the references to declarations, imports and exports may be elided causing these
  34962. * symbols to become tree-shakeable.
  34963. */
  34964. function generateSetNgModuleScopeCall(meta) {
  34965. const {
  34966. adjacentType: moduleType,
  34967. declarations,
  34968. imports,
  34969. exports,
  34970. containsForwardDecls
  34971. } = meta;
  34972. const scopeMap = new DefinitionMap();
  34973. if (declarations.length > 0) {
  34974. scopeMap.set('declarations', refsToArray(declarations, containsForwardDecls));
  34975. }
  34976. if (imports.length > 0) {
  34977. scopeMap.set('imports', refsToArray(imports, containsForwardDecls));
  34978. }
  34979. if (exports.length > 0) {
  34980. scopeMap.set('exports', refsToArray(exports, containsForwardDecls));
  34981. }
  34982. if (Object.keys(scopeMap.values).length === 0) {
  34983. return null;
  34984. } // setNgModuleScope(...)
  34985. const fnCall = new InvokeFunctionExpr(
  34986. /* fn */
  34987. importExpr(Identifiers.setNgModuleScope),
  34988. /* args */
  34989. [moduleType, scopeMap.toLiteralMap()]); // (ngJitMode guard) && setNgModuleScope(...)
  34990. const guardedCall = jitOnlyGuardedExpression(fnCall); // function() { (ngJitMode guard) && setNgModuleScope(...); }
  34991. const iife = new FunctionExpr(
  34992. /* params */
  34993. [],
  34994. /* statements */
  34995. [guardedCall.toStmt()]); // (function() { (ngJitMode guard) && setNgModuleScope(...); })()
  34996. const iifeCall = new InvokeFunctionExpr(
  34997. /* fn */
  34998. iife,
  34999. /* args */
  35000. []);
  35001. return iifeCall.toStmt();
  35002. }
  35003. function tupleTypeOf(exp) {
  35004. const types = exp.map(ref => typeofExpr(ref.type));
  35005. return exp.length > 0 ? expressionType(literalArr(types)) : NONE_TYPE;
  35006. }
  35007. function tupleOfTypes(types) {
  35008. const typeofTypes = types.map(type => typeofExpr(type));
  35009. return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
  35010. }
  35011. /**
  35012. * @license
  35013. * Copyright Google LLC All Rights Reserved.
  35014. *
  35015. * Use of this source code is governed by an MIT-style license that can be
  35016. * found in the LICENSE file at https://angular.io/license
  35017. */
  35018. function compilePipeFromMetadata(metadata) {
  35019. const definitionMapValues = []; // e.g. `name: 'myPipe'`
  35020. definitionMapValues.push({
  35021. key: 'name',
  35022. value: literal(metadata.pipeName),
  35023. quoted: false
  35024. }); // e.g. `type: MyPipe`
  35025. definitionMapValues.push({
  35026. key: 'type',
  35027. value: metadata.type.value,
  35028. quoted: false
  35029. }); // e.g. `pure: true`
  35030. definitionMapValues.push({
  35031. key: 'pure',
  35032. value: literal(metadata.pure),
  35033. quoted: false
  35034. });
  35035. if (metadata.isStandalone) {
  35036. definitionMapValues.push({
  35037. key: 'standalone',
  35038. value: literal(true),
  35039. quoted: false
  35040. });
  35041. }
  35042. const expression = importExpr(Identifiers.definePipe).callFn([literalMap(definitionMapValues)], undefined, true);
  35043. const type = createPipeType(metadata);
  35044. return {
  35045. expression,
  35046. type,
  35047. statements: []
  35048. };
  35049. }
  35050. function createPipeType(metadata) {
  35051. return new ExpressionType(importExpr(Identifiers.PipeDeclaration, [typeWithParameters(metadata.type.type, metadata.typeArgumentCount), new ExpressionType(new LiteralExpr(metadata.pipeName)), new ExpressionType(new LiteralExpr(metadata.isStandalone))]));
  35052. }
  35053. /**
  35054. * @license
  35055. * Copyright Google LLC All Rights Reserved.
  35056. *
  35057. * Use of this source code is governed by an MIT-style license that can be
  35058. * found in the LICENSE file at https://angular.io/license
  35059. */
  35060. var R3TemplateDependencyKind;
  35061. (function (R3TemplateDependencyKind) {
  35062. R3TemplateDependencyKind[R3TemplateDependencyKind["Directive"] = 0] = "Directive";
  35063. R3TemplateDependencyKind[R3TemplateDependencyKind["Pipe"] = 1] = "Pipe";
  35064. R3TemplateDependencyKind[R3TemplateDependencyKind["NgModule"] = 2] = "NgModule";
  35065. })(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
  35066. /**
  35067. * @license
  35068. * Copyright Google LLC All Rights Reserved.
  35069. *
  35070. * Use of this source code is governed by an MIT-style license that can be
  35071. * found in the LICENSE file at https://angular.io/license
  35072. */
  35073. class ParserError {
  35074. constructor(message, input, errLocation, ctxLocation) {
  35075. this.input = input;
  35076. this.errLocation = errLocation;
  35077. this.ctxLocation = ctxLocation;
  35078. this.message = `Parser Error: ${message} ${errLocation} [${input}] in ${ctxLocation}`;
  35079. }
  35080. }
  35081. class ParseSpan {
  35082. constructor(start, end) {
  35083. this.start = start;
  35084. this.end = end;
  35085. }
  35086. toAbsolute(absoluteOffset) {
  35087. return new AbsoluteSourceSpan(absoluteOffset + this.start, absoluteOffset + this.end);
  35088. }
  35089. }
  35090. class AST {
  35091. constructor(span,
  35092. /**
  35093. * Absolute location of the expression AST in a source code file.
  35094. */
  35095. sourceSpan) {
  35096. this.span = span;
  35097. this.sourceSpan = sourceSpan;
  35098. }
  35099. toString() {
  35100. return 'AST';
  35101. }
  35102. }
  35103. class ASTWithName extends AST {
  35104. constructor(span, sourceSpan, nameSpan) {
  35105. super(span, sourceSpan);
  35106. this.nameSpan = nameSpan;
  35107. }
  35108. }
  35109. class EmptyExpr extends AST {
  35110. visit(visitor, context = null) {// do nothing
  35111. }
  35112. }
  35113. class ImplicitReceiver extends AST {
  35114. visit(visitor, context = null) {
  35115. return visitor.visitImplicitReceiver(this, context);
  35116. }
  35117. }
  35118. /**
  35119. * Receiver when something is accessed through `this` (e.g. `this.foo`). Note that this class
  35120. * inherits from `ImplicitReceiver`, because accessing something through `this` is treated the
  35121. * same as accessing it implicitly inside of an Angular template (e.g. `[attr.title]="this.title"`
  35122. * is the same as `[attr.title]="title"`.). Inheriting allows for the `this` accesses to be treated
  35123. * the same as implicit ones, except for a couple of exceptions like `$event` and `$any`.
  35124. * TODO: we should find a way for this class not to extend from `ImplicitReceiver` in the future.
  35125. */
  35126. class ThisReceiver extends ImplicitReceiver {
  35127. visit(visitor, context = null) {
  35128. var _a;
  35129. return (_a = visitor.visitThisReceiver) === null || _a === void 0 ? void 0 : _a.call(visitor, this, context);
  35130. }
  35131. }
  35132. /**
  35133. * Multiple expressions separated by a semicolon.
  35134. */
  35135. class Chain extends AST {
  35136. constructor(span, sourceSpan, expressions) {
  35137. super(span, sourceSpan);
  35138. this.expressions = expressions;
  35139. }
  35140. visit(visitor, context = null) {
  35141. return visitor.visitChain(this, context);
  35142. }
  35143. }
  35144. class Conditional extends AST {
  35145. constructor(span, sourceSpan, condition, trueExp, falseExp) {
  35146. super(span, sourceSpan);
  35147. this.condition = condition;
  35148. this.trueExp = trueExp;
  35149. this.falseExp = falseExp;
  35150. }
  35151. visit(visitor, context = null) {
  35152. return visitor.visitConditional(this, context);
  35153. }
  35154. }
  35155. class PropertyRead extends ASTWithName {
  35156. constructor(span, sourceSpan, nameSpan, receiver, name) {
  35157. super(span, sourceSpan, nameSpan);
  35158. this.receiver = receiver;
  35159. this.name = name;
  35160. }
  35161. visit(visitor, context = null) {
  35162. return visitor.visitPropertyRead(this, context);
  35163. }
  35164. }
  35165. class PropertyWrite extends ASTWithName {
  35166. constructor(span, sourceSpan, nameSpan, receiver, name, value) {
  35167. super(span, sourceSpan, nameSpan);
  35168. this.receiver = receiver;
  35169. this.name = name;
  35170. this.value = value;
  35171. }
  35172. visit(visitor, context = null) {
  35173. return visitor.visitPropertyWrite(this, context);
  35174. }
  35175. }
  35176. class SafePropertyRead extends ASTWithName {
  35177. constructor(span, sourceSpan, nameSpan, receiver, name) {
  35178. super(span, sourceSpan, nameSpan);
  35179. this.receiver = receiver;
  35180. this.name = name;
  35181. }
  35182. visit(visitor, context = null) {
  35183. return visitor.visitSafePropertyRead(this, context);
  35184. }
  35185. }
  35186. class KeyedRead extends AST {
  35187. constructor(span, sourceSpan, receiver, key) {
  35188. super(span, sourceSpan);
  35189. this.receiver = receiver;
  35190. this.key = key;
  35191. }
  35192. visit(visitor, context = null) {
  35193. return visitor.visitKeyedRead(this, context);
  35194. }
  35195. }
  35196. class SafeKeyedRead extends AST {
  35197. constructor(span, sourceSpan, receiver, key) {
  35198. super(span, sourceSpan);
  35199. this.receiver = receiver;
  35200. this.key = key;
  35201. }
  35202. visit(visitor, context = null) {
  35203. return visitor.visitSafeKeyedRead(this, context);
  35204. }
  35205. }
  35206. class KeyedWrite extends AST {
  35207. constructor(span, sourceSpan, receiver, key, value) {
  35208. super(span, sourceSpan);
  35209. this.receiver = receiver;
  35210. this.key = key;
  35211. this.value = value;
  35212. }
  35213. visit(visitor, context = null) {
  35214. return visitor.visitKeyedWrite(this, context);
  35215. }
  35216. }
  35217. class BindingPipe extends ASTWithName {
  35218. constructor(span, sourceSpan, exp, name, args, nameSpan) {
  35219. super(span, sourceSpan, nameSpan);
  35220. this.exp = exp;
  35221. this.name = name;
  35222. this.args = args;
  35223. }
  35224. visit(visitor, context = null) {
  35225. return visitor.visitPipe(this, context);
  35226. }
  35227. }
  35228. class LiteralPrimitive extends AST {
  35229. constructor(span, sourceSpan, value) {
  35230. super(span, sourceSpan);
  35231. this.value = value;
  35232. }
  35233. visit(visitor, context = null) {
  35234. return visitor.visitLiteralPrimitive(this, context);
  35235. }
  35236. }
  35237. class LiteralArray extends AST {
  35238. constructor(span, sourceSpan, expressions) {
  35239. super(span, sourceSpan);
  35240. this.expressions = expressions;
  35241. }
  35242. visit(visitor, context = null) {
  35243. return visitor.visitLiteralArray(this, context);
  35244. }
  35245. }
  35246. class LiteralMap extends AST {
  35247. constructor(span, sourceSpan, keys, values) {
  35248. super(span, sourceSpan);
  35249. this.keys = keys;
  35250. this.values = values;
  35251. }
  35252. visit(visitor, context = null) {
  35253. return visitor.visitLiteralMap(this, context);
  35254. }
  35255. }
  35256. class Interpolation extends AST {
  35257. constructor(span, sourceSpan, strings, expressions) {
  35258. super(span, sourceSpan);
  35259. this.strings = strings;
  35260. this.expressions = expressions;
  35261. }
  35262. visit(visitor, context = null) {
  35263. return visitor.visitInterpolation(this, context);
  35264. }
  35265. }
  35266. class Binary extends AST {
  35267. constructor(span, sourceSpan, operation, left, right) {
  35268. super(span, sourceSpan);
  35269. this.operation = operation;
  35270. this.left = left;
  35271. this.right = right;
  35272. }
  35273. visit(visitor, context = null) {
  35274. return visitor.visitBinary(this, context);
  35275. }
  35276. }
  35277. /**
  35278. * For backwards compatibility reasons, `Unary` inherits from `Binary` and mimics the binary AST
  35279. * node that was originally used. This inheritance relation can be deleted in some future major,
  35280. * after consumers have been given a chance to fully support Unary.
  35281. */
  35282. class Unary extends Binary {
  35283. /**
  35284. * During the deprecation period this constructor is private, to avoid consumers from creating
  35285. * a `Unary` with the fallback properties for `Binary`.
  35286. */
  35287. constructor(span, sourceSpan, operator, expr, binaryOp, binaryLeft, binaryRight) {
  35288. super(span, sourceSpan, binaryOp, binaryLeft, binaryRight);
  35289. this.operator = operator;
  35290. this.expr = expr; // Redeclare the properties that are inherited from `Binary` as `never`, as consumers should not
  35291. // depend on these fields when operating on `Unary`.
  35292. this.left = null;
  35293. this.right = null;
  35294. this.operation = null;
  35295. }
  35296. /**
  35297. * Creates a unary minus expression "-x", represented as `Binary` using "0 - x".
  35298. */
  35299. static createMinus(span, sourceSpan, expr) {
  35300. return new Unary(span, sourceSpan, '-', expr, '-', new LiteralPrimitive(span, sourceSpan, 0), expr);
  35301. }
  35302. /**
  35303. * Creates a unary plus expression "+x", represented as `Binary` using "x - 0".
  35304. */
  35305. static createPlus(span, sourceSpan, expr) {
  35306. return new Unary(span, sourceSpan, '+', expr, '-', expr, new LiteralPrimitive(span, sourceSpan, 0));
  35307. }
  35308. visit(visitor, context = null) {
  35309. if (visitor.visitUnary !== undefined) {
  35310. return visitor.visitUnary(this, context);
  35311. }
  35312. return visitor.visitBinary(this, context);
  35313. }
  35314. }
  35315. class PrefixNot extends AST {
  35316. constructor(span, sourceSpan, expression) {
  35317. super(span, sourceSpan);
  35318. this.expression = expression;
  35319. }
  35320. visit(visitor, context = null) {
  35321. return visitor.visitPrefixNot(this, context);
  35322. }
  35323. }
  35324. class NonNullAssert extends AST {
  35325. constructor(span, sourceSpan, expression) {
  35326. super(span, sourceSpan);
  35327. this.expression = expression;
  35328. }
  35329. visit(visitor, context = null) {
  35330. return visitor.visitNonNullAssert(this, context);
  35331. }
  35332. }
  35333. class Call extends AST {
  35334. constructor(span, sourceSpan, receiver, args, argumentSpan) {
  35335. super(span, sourceSpan);
  35336. this.receiver = receiver;
  35337. this.args = args;
  35338. this.argumentSpan = argumentSpan;
  35339. }
  35340. visit(visitor, context = null) {
  35341. return visitor.visitCall(this, context);
  35342. }
  35343. }
  35344. class SafeCall extends AST {
  35345. constructor(span, sourceSpan, receiver, args, argumentSpan) {
  35346. super(span, sourceSpan);
  35347. this.receiver = receiver;
  35348. this.args = args;
  35349. this.argumentSpan = argumentSpan;
  35350. }
  35351. visit(visitor, context = null) {
  35352. return visitor.visitSafeCall(this, context);
  35353. }
  35354. }
  35355. /**
  35356. * Records the absolute position of a text span in a source file, where `start` and `end` are the
  35357. * starting and ending byte offsets, respectively, of the text span in a source file.
  35358. */
  35359. class AbsoluteSourceSpan {
  35360. constructor(start, end) {
  35361. this.start = start;
  35362. this.end = end;
  35363. }
  35364. }
  35365. class ASTWithSource extends AST {
  35366. constructor(ast, source, location, absoluteOffset, errors) {
  35367. super(new ParseSpan(0, source === null ? 0 : source.length), new AbsoluteSourceSpan(absoluteOffset, source === null ? absoluteOffset : absoluteOffset + source.length));
  35368. this.ast = ast;
  35369. this.source = source;
  35370. this.location = location;
  35371. this.errors = errors;
  35372. }
  35373. visit(visitor, context = null) {
  35374. if (visitor.visitASTWithSource) {
  35375. return visitor.visitASTWithSource(this, context);
  35376. }
  35377. return this.ast.visit(visitor, context);
  35378. }
  35379. toString() {
  35380. return `${this.source} in ${this.location}`;
  35381. }
  35382. }
  35383. class VariableBinding {
  35384. /**
  35385. * @param sourceSpan entire span of the binding.
  35386. * @param key name of the LHS along with its span.
  35387. * @param value optional value for the RHS along with its span.
  35388. */
  35389. constructor(sourceSpan, key, value) {
  35390. this.sourceSpan = sourceSpan;
  35391. this.key = key;
  35392. this.value = value;
  35393. }
  35394. }
  35395. class ExpressionBinding {
  35396. /**
  35397. * @param sourceSpan entire span of the binding.
  35398. * @param key binding name, like ngForOf, ngForTrackBy, ngIf, along with its
  35399. * span. Note that the length of the span may not be the same as
  35400. * `key.source.length`. For example,
  35401. * 1. key.source = ngFor, key.span is for "ngFor"
  35402. * 2. key.source = ngForOf, key.span is for "of"
  35403. * 3. key.source = ngForTrackBy, key.span is for "trackBy"
  35404. * @param value optional expression for the RHS.
  35405. */
  35406. constructor(sourceSpan, key, value) {
  35407. this.sourceSpan = sourceSpan;
  35408. this.key = key;
  35409. this.value = value;
  35410. }
  35411. }
  35412. class RecursiveAstVisitor {
  35413. visit(ast, context) {
  35414. // The default implementation just visits every node.
  35415. // Classes that extend RecursiveAstVisitor should override this function
  35416. // to selectively visit the specified node.
  35417. ast.visit(this, context);
  35418. }
  35419. visitUnary(ast, context) {
  35420. this.visit(ast.expr, context);
  35421. }
  35422. visitBinary(ast, context) {
  35423. this.visit(ast.left, context);
  35424. this.visit(ast.right, context);
  35425. }
  35426. visitChain(ast, context) {
  35427. this.visitAll(ast.expressions, context);
  35428. }
  35429. visitConditional(ast, context) {
  35430. this.visit(ast.condition, context);
  35431. this.visit(ast.trueExp, context);
  35432. this.visit(ast.falseExp, context);
  35433. }
  35434. visitPipe(ast, context) {
  35435. this.visit(ast.exp, context);
  35436. this.visitAll(ast.args, context);
  35437. }
  35438. visitImplicitReceiver(ast, context) {}
  35439. visitThisReceiver(ast, context) {}
  35440. visitInterpolation(ast, context) {
  35441. this.visitAll(ast.expressions, context);
  35442. }
  35443. visitKeyedRead(ast, context) {
  35444. this.visit(ast.receiver, context);
  35445. this.visit(ast.key, context);
  35446. }
  35447. visitKeyedWrite(ast, context) {
  35448. this.visit(ast.receiver, context);
  35449. this.visit(ast.key, context);
  35450. this.visit(ast.value, context);
  35451. }
  35452. visitLiteralArray(ast, context) {
  35453. this.visitAll(ast.expressions, context);
  35454. }
  35455. visitLiteralMap(ast, context) {
  35456. this.visitAll(ast.values, context);
  35457. }
  35458. visitLiteralPrimitive(ast, context) {}
  35459. visitPrefixNot(ast, context) {
  35460. this.visit(ast.expression, context);
  35461. }
  35462. visitNonNullAssert(ast, context) {
  35463. this.visit(ast.expression, context);
  35464. }
  35465. visitPropertyRead(ast, context) {
  35466. this.visit(ast.receiver, context);
  35467. }
  35468. visitPropertyWrite(ast, context) {
  35469. this.visit(ast.receiver, context);
  35470. this.visit(ast.value, context);
  35471. }
  35472. visitSafePropertyRead(ast, context) {
  35473. this.visit(ast.receiver, context);
  35474. }
  35475. visitSafeKeyedRead(ast, context) {
  35476. this.visit(ast.receiver, context);
  35477. this.visit(ast.key, context);
  35478. }
  35479. visitCall(ast, context) {
  35480. this.visit(ast.receiver, context);
  35481. this.visitAll(ast.args, context);
  35482. }
  35483. visitSafeCall(ast, context) {
  35484. this.visit(ast.receiver, context);
  35485. this.visitAll(ast.args, context);
  35486. } // This is not part of the AstVisitor interface, just a helper method
  35487. visitAll(asts, context) {
  35488. for (const ast of asts) {
  35489. this.visit(ast, context);
  35490. }
  35491. }
  35492. }
  35493. class AstTransformer {
  35494. visitImplicitReceiver(ast, context) {
  35495. return ast;
  35496. }
  35497. visitThisReceiver(ast, context) {
  35498. return ast;
  35499. }
  35500. visitInterpolation(ast, context) {
  35501. return new Interpolation(ast.span, ast.sourceSpan, ast.strings, this.visitAll(ast.expressions));
  35502. }
  35503. visitLiteralPrimitive(ast, context) {
  35504. return new LiteralPrimitive(ast.span, ast.sourceSpan, ast.value);
  35505. }
  35506. visitPropertyRead(ast, context) {
  35507. return new PropertyRead(ast.span, ast.sourceSpan, ast.nameSpan, ast.receiver.visit(this), ast.name);
  35508. }
  35509. visitPropertyWrite(ast, context) {
  35510. return new PropertyWrite(ast.span, ast.sourceSpan, ast.nameSpan, ast.receiver.visit(this), ast.name, ast.value.visit(this));
  35511. }
  35512. visitSafePropertyRead(ast, context) {
  35513. return new SafePropertyRead(ast.span, ast.sourceSpan, ast.nameSpan, ast.receiver.visit(this), ast.name);
  35514. }
  35515. visitLiteralArray(ast, context) {
  35516. return new LiteralArray(ast.span, ast.sourceSpan, this.visitAll(ast.expressions));
  35517. }
  35518. visitLiteralMap(ast, context) {
  35519. return new LiteralMap(ast.span, ast.sourceSpan, ast.keys, this.visitAll(ast.values));
  35520. }
  35521. visitUnary(ast, context) {
  35522. switch (ast.operator) {
  35523. case '+':
  35524. return Unary.createPlus(ast.span, ast.sourceSpan, ast.expr.visit(this));
  35525. case '-':
  35526. return Unary.createMinus(ast.span, ast.sourceSpan, ast.expr.visit(this));
  35527. default:
  35528. throw new Error(`Unknown unary operator ${ast.operator}`);
  35529. }
  35530. }
  35531. visitBinary(ast, context) {
  35532. return new Binary(ast.span, ast.sourceSpan, ast.operation, ast.left.visit(this), ast.right.visit(this));
  35533. }
  35534. visitPrefixNot(ast, context) {
  35535. return new PrefixNot(ast.span, ast.sourceSpan, ast.expression.visit(this));
  35536. }
  35537. visitNonNullAssert(ast, context) {
  35538. return new NonNullAssert(ast.span, ast.sourceSpan, ast.expression.visit(this));
  35539. }
  35540. visitConditional(ast, context) {
  35541. return new Conditional(ast.span, ast.sourceSpan, ast.condition.visit(this), ast.trueExp.visit(this), ast.falseExp.visit(this));
  35542. }
  35543. visitPipe(ast, context) {
  35544. return new BindingPipe(ast.span, ast.sourceSpan, ast.exp.visit(this), ast.name, this.visitAll(ast.args), ast.nameSpan);
  35545. }
  35546. visitKeyedRead(ast, context) {
  35547. return new KeyedRead(ast.span, ast.sourceSpan, ast.receiver.visit(this), ast.key.visit(this));
  35548. }
  35549. visitKeyedWrite(ast, context) {
  35550. return new KeyedWrite(ast.span, ast.sourceSpan, ast.receiver.visit(this), ast.key.visit(this), ast.value.visit(this));
  35551. }
  35552. visitCall(ast, context) {
  35553. return new Call(ast.span, ast.sourceSpan, ast.receiver.visit(this), this.visitAll(ast.args), ast.argumentSpan);
  35554. }
  35555. visitSafeCall(ast, context) {
  35556. return new SafeCall(ast.span, ast.sourceSpan, ast.receiver.visit(this), this.visitAll(ast.args), ast.argumentSpan);
  35557. }
  35558. visitAll(asts) {
  35559. const res = [];
  35560. for (let i = 0; i < asts.length; ++i) {
  35561. res[i] = asts[i].visit(this);
  35562. }
  35563. return res;
  35564. }
  35565. visitChain(ast, context) {
  35566. return new Chain(ast.span, ast.sourceSpan, this.visitAll(ast.expressions));
  35567. }
  35568. visitSafeKeyedRead(ast, context) {
  35569. return new SafeKeyedRead(ast.span, ast.sourceSpan, ast.receiver.visit(this), ast.key.visit(this));
  35570. }
  35571. } // A transformer that only creates new nodes if the transformer makes a change or
  35572. // a change is made a child node.
  35573. class AstMemoryEfficientTransformer {
  35574. visitImplicitReceiver(ast, context) {
  35575. return ast;
  35576. }
  35577. visitThisReceiver(ast, context) {
  35578. return ast;
  35579. }
  35580. visitInterpolation(ast, context) {
  35581. const expressions = this.visitAll(ast.expressions);
  35582. if (expressions !== ast.expressions) return new Interpolation(ast.span, ast.sourceSpan, ast.strings, expressions);
  35583. return ast;
  35584. }
  35585. visitLiteralPrimitive(ast, context) {
  35586. return ast;
  35587. }
  35588. visitPropertyRead(ast, context) {
  35589. const receiver = ast.receiver.visit(this);
  35590. if (receiver !== ast.receiver) {
  35591. return new PropertyRead(ast.span, ast.sourceSpan, ast.nameSpan, receiver, ast.name);
  35592. }
  35593. return ast;
  35594. }
  35595. visitPropertyWrite(ast, context) {
  35596. const receiver = ast.receiver.visit(this);
  35597. const value = ast.value.visit(this);
  35598. if (receiver !== ast.receiver || value !== ast.value) {
  35599. return new PropertyWrite(ast.span, ast.sourceSpan, ast.nameSpan, receiver, ast.name, value);
  35600. }
  35601. return ast;
  35602. }
  35603. visitSafePropertyRead(ast, context) {
  35604. const receiver = ast.receiver.visit(this);
  35605. if (receiver !== ast.receiver) {
  35606. return new SafePropertyRead(ast.span, ast.sourceSpan, ast.nameSpan, receiver, ast.name);
  35607. }
  35608. return ast;
  35609. }
  35610. visitLiteralArray(ast, context) {
  35611. const expressions = this.visitAll(ast.expressions);
  35612. if (expressions !== ast.expressions) {
  35613. return new LiteralArray(ast.span, ast.sourceSpan, expressions);
  35614. }
  35615. return ast;
  35616. }
  35617. visitLiteralMap(ast, context) {
  35618. const values = this.visitAll(ast.values);
  35619. if (values !== ast.values) {
  35620. return new LiteralMap(ast.span, ast.sourceSpan, ast.keys, values);
  35621. }
  35622. return ast;
  35623. }
  35624. visitUnary(ast, context) {
  35625. const expr = ast.expr.visit(this);
  35626. if (expr !== ast.expr) {
  35627. switch (ast.operator) {
  35628. case '+':
  35629. return Unary.createPlus(ast.span, ast.sourceSpan, expr);
  35630. case '-':
  35631. return Unary.createMinus(ast.span, ast.sourceSpan, expr);
  35632. default:
  35633. throw new Error(`Unknown unary operator ${ast.operator}`);
  35634. }
  35635. }
  35636. return ast;
  35637. }
  35638. visitBinary(ast, context) {
  35639. const left = ast.left.visit(this);
  35640. const right = ast.right.visit(this);
  35641. if (left !== ast.left || right !== ast.right) {
  35642. return new Binary(ast.span, ast.sourceSpan, ast.operation, left, right);
  35643. }
  35644. return ast;
  35645. }
  35646. visitPrefixNot(ast, context) {
  35647. const expression = ast.expression.visit(this);
  35648. if (expression !== ast.expression) {
  35649. return new PrefixNot(ast.span, ast.sourceSpan, expression);
  35650. }
  35651. return ast;
  35652. }
  35653. visitNonNullAssert(ast, context) {
  35654. const expression = ast.expression.visit(this);
  35655. if (expression !== ast.expression) {
  35656. return new NonNullAssert(ast.span, ast.sourceSpan, expression);
  35657. }
  35658. return ast;
  35659. }
  35660. visitConditional(ast, context) {
  35661. const condition = ast.condition.visit(this);
  35662. const trueExp = ast.trueExp.visit(this);
  35663. const falseExp = ast.falseExp.visit(this);
  35664. if (condition !== ast.condition || trueExp !== ast.trueExp || falseExp !== ast.falseExp) {
  35665. return new Conditional(ast.span, ast.sourceSpan, condition, trueExp, falseExp);
  35666. }
  35667. return ast;
  35668. }
  35669. visitPipe(ast, context) {
  35670. const exp = ast.exp.visit(this);
  35671. const args = this.visitAll(ast.args);
  35672. if (exp !== ast.exp || args !== ast.args) {
  35673. return new BindingPipe(ast.span, ast.sourceSpan, exp, ast.name, args, ast.nameSpan);
  35674. }
  35675. return ast;
  35676. }
  35677. visitKeyedRead(ast, context) {
  35678. const obj = ast.receiver.visit(this);
  35679. const key = ast.key.visit(this);
  35680. if (obj !== ast.receiver || key !== ast.key) {
  35681. return new KeyedRead(ast.span, ast.sourceSpan, obj, key);
  35682. }
  35683. return ast;
  35684. }
  35685. visitKeyedWrite(ast, context) {
  35686. const obj = ast.receiver.visit(this);
  35687. const key = ast.key.visit(this);
  35688. const value = ast.value.visit(this);
  35689. if (obj !== ast.receiver || key !== ast.key || value !== ast.value) {
  35690. return new KeyedWrite(ast.span, ast.sourceSpan, obj, key, value);
  35691. }
  35692. return ast;
  35693. }
  35694. visitAll(asts) {
  35695. const res = [];
  35696. let modified = false;
  35697. for (let i = 0; i < asts.length; ++i) {
  35698. const original = asts[i];
  35699. const value = original.visit(this);
  35700. res[i] = value;
  35701. modified = modified || value !== original;
  35702. }
  35703. return modified ? res : asts;
  35704. }
  35705. visitChain(ast, context) {
  35706. const expressions = this.visitAll(ast.expressions);
  35707. if (expressions !== ast.expressions) {
  35708. return new Chain(ast.span, ast.sourceSpan, expressions);
  35709. }
  35710. return ast;
  35711. }
  35712. visitCall(ast, context) {
  35713. const receiver = ast.receiver.visit(this);
  35714. const args = this.visitAll(ast.args);
  35715. if (receiver !== ast.receiver || args !== ast.args) {
  35716. return new Call(ast.span, ast.sourceSpan, receiver, args, ast.argumentSpan);
  35717. }
  35718. return ast;
  35719. }
  35720. visitSafeCall(ast, context) {
  35721. const receiver = ast.receiver.visit(this);
  35722. const args = this.visitAll(ast.args);
  35723. if (receiver !== ast.receiver || args !== ast.args) {
  35724. return new SafeCall(ast.span, ast.sourceSpan, receiver, args, ast.argumentSpan);
  35725. }
  35726. return ast;
  35727. }
  35728. visitSafeKeyedRead(ast, context) {
  35729. const obj = ast.receiver.visit(this);
  35730. const key = ast.key.visit(this);
  35731. if (obj !== ast.receiver || key !== ast.key) {
  35732. return new SafeKeyedRead(ast.span, ast.sourceSpan, obj, key);
  35733. }
  35734. return ast;
  35735. }
  35736. } // Bindings
  35737. class ParsedProperty {
  35738. constructor(name, expression, type, sourceSpan, keySpan, valueSpan) {
  35739. this.name = name;
  35740. this.expression = expression;
  35741. this.type = type;
  35742. this.sourceSpan = sourceSpan;
  35743. this.keySpan = keySpan;
  35744. this.valueSpan = valueSpan;
  35745. this.isLiteral = this.type === ParsedPropertyType.LITERAL_ATTR;
  35746. this.isAnimation = this.type === ParsedPropertyType.ANIMATION;
  35747. }
  35748. }
  35749. var ParsedPropertyType;
  35750. (function (ParsedPropertyType) {
  35751. ParsedPropertyType[ParsedPropertyType["DEFAULT"] = 0] = "DEFAULT";
  35752. ParsedPropertyType[ParsedPropertyType["LITERAL_ATTR"] = 1] = "LITERAL_ATTR";
  35753. ParsedPropertyType[ParsedPropertyType["ANIMATION"] = 2] = "ANIMATION";
  35754. })(ParsedPropertyType || (ParsedPropertyType = {}));
  35755. class ParsedEvent {
  35756. // Regular events have a target
  35757. // Animation events have a phase
  35758. constructor(name, targetOrPhase, type, handler, sourceSpan, handlerSpan, keySpan) {
  35759. this.name = name;
  35760. this.targetOrPhase = targetOrPhase;
  35761. this.type = type;
  35762. this.handler = handler;
  35763. this.sourceSpan = sourceSpan;
  35764. this.handlerSpan = handlerSpan;
  35765. this.keySpan = keySpan;
  35766. }
  35767. }
  35768. /**
  35769. * ParsedVariable represents a variable declaration in a microsyntax expression.
  35770. */
  35771. class ParsedVariable {
  35772. constructor(name, value, sourceSpan, keySpan, valueSpan) {
  35773. this.name = name;
  35774. this.value = value;
  35775. this.sourceSpan = sourceSpan;
  35776. this.keySpan = keySpan;
  35777. this.valueSpan = valueSpan;
  35778. }
  35779. }
  35780. class BoundElementProperty {
  35781. constructor(name, type, securityContext, value, unit, sourceSpan, keySpan, valueSpan) {
  35782. this.name = name;
  35783. this.type = type;
  35784. this.securityContext = securityContext;
  35785. this.value = value;
  35786. this.unit = unit;
  35787. this.sourceSpan = sourceSpan;
  35788. this.keySpan = keySpan;
  35789. this.valueSpan = valueSpan;
  35790. }
  35791. }
  35792. /**
  35793. * @license
  35794. * Copyright Google LLC All Rights Reserved.
  35795. *
  35796. * Use of this source code is governed by an MIT-style license that can be
  35797. * found in the LICENSE file at https://angular.io/license
  35798. */
  35799. class EventHandlerVars {}
  35800. EventHandlerVars.event = variable('$event');
  35801. /**
  35802. * Converts the given expression AST into an executable output AST, assuming the expression is
  35803. * used in an action binding (e.g. an event handler).
  35804. */
  35805. function convertActionBinding(localResolver, implicitReceiver, action, bindingId, baseSourceSpan, implicitReceiverAccesses, globals) {
  35806. if (!localResolver) {
  35807. localResolver = new DefaultLocalResolver(globals);
  35808. }
  35809. const actionWithoutBuiltins = convertPropertyBindingBuiltins({
  35810. createLiteralArrayConverter: argCount => {
  35811. // Note: no caching for literal arrays in actions.
  35812. return args => literalArr(args);
  35813. },
  35814. createLiteralMapConverter: keys => {
  35815. // Note: no caching for literal maps in actions.
  35816. return values => {
  35817. const entries = keys.map((k, i) => ({
  35818. key: k.key,
  35819. value: values[i],
  35820. quoted: k.quoted
  35821. }));
  35822. return literalMap(entries);
  35823. };
  35824. },
  35825. createPipeConverter: name => {
  35826. throw new Error(`Illegal State: Actions are not allowed to contain pipes. Pipe: ${name}`);
  35827. }
  35828. }, action);
  35829. const visitor = new _AstToIrVisitor(localResolver, implicitReceiver, bindingId,
  35830. /* supportsInterpolation */
  35831. false, baseSourceSpan, implicitReceiverAccesses);
  35832. const actionStmts = [];
  35833. flattenStatements(actionWithoutBuiltins.visit(visitor, _Mode.Statement), actionStmts);
  35834. prependTemporaryDecls(visitor.temporaryCount, bindingId, actionStmts);
  35835. if (visitor.usesImplicitReceiver) {
  35836. localResolver.notifyImplicitReceiverUse();
  35837. }
  35838. const lastIndex = actionStmts.length - 1;
  35839. if (lastIndex >= 0) {
  35840. const lastStatement = actionStmts[lastIndex]; // Ensure that the value of the last expression statement is returned
  35841. if (lastStatement instanceof ExpressionStatement) {
  35842. actionStmts[lastIndex] = new ReturnStatement(lastStatement.expr);
  35843. }
  35844. }
  35845. return actionStmts;
  35846. }
  35847. function convertPropertyBindingBuiltins(converterFactory, ast) {
  35848. return convertBuiltins(converterFactory, ast);
  35849. }
  35850. class ConvertPropertyBindingResult {
  35851. constructor(stmts, currValExpr) {
  35852. this.stmts = stmts;
  35853. this.currValExpr = currValExpr;
  35854. }
  35855. }
  35856. /**
  35857. * Converts the given expression AST into an executable output AST, assuming the expression
  35858. * is used in property binding. The expression has to be preprocessed via
  35859. * `convertPropertyBindingBuiltins`.
  35860. */
  35861. function convertPropertyBinding(localResolver, implicitReceiver, expressionWithoutBuiltins, bindingId) {
  35862. if (!localResolver) {
  35863. localResolver = new DefaultLocalResolver();
  35864. }
  35865. const visitor = new _AstToIrVisitor(localResolver, implicitReceiver, bindingId,
  35866. /* supportsInterpolation */
  35867. false);
  35868. const outputExpr = expressionWithoutBuiltins.visit(visitor, _Mode.Expression);
  35869. const stmts = getStatementsFromVisitor(visitor, bindingId);
  35870. if (visitor.usesImplicitReceiver) {
  35871. localResolver.notifyImplicitReceiverUse();
  35872. }
  35873. return new ConvertPropertyBindingResult(stmts, outputExpr);
  35874. }
  35875. /**
  35876. * Given some expression, such as a binding or interpolation expression, and a context expression to
  35877. * look values up on, visit each facet of the given expression resolving values from the context
  35878. * expression such that a list of arguments can be derived from the found values that can be used as
  35879. * arguments to an external update instruction.
  35880. *
  35881. * @param localResolver The resolver to use to look up expressions by name appropriately
  35882. * @param contextVariableExpression The expression representing the context variable used to create
  35883. * the final argument expressions
  35884. * @param expressionWithArgumentsToExtract The expression to visit to figure out what values need to
  35885. * be resolved and what arguments list to build.
  35886. * @param bindingId A name prefix used to create temporary variable names if they're needed for the
  35887. * arguments generated
  35888. * @returns An array of expressions that can be passed as arguments to instruction expressions like
  35889. * `o.importExpr(R3.propertyInterpolate).callFn(result)`
  35890. */
  35891. function convertUpdateArguments(localResolver, contextVariableExpression, expressionWithArgumentsToExtract, bindingId) {
  35892. const visitor = new _AstToIrVisitor(localResolver, contextVariableExpression, bindingId,
  35893. /* supportsInterpolation */
  35894. true);
  35895. const outputExpr = visitor.visitInterpolation(expressionWithArgumentsToExtract, _Mode.Expression);
  35896. if (visitor.usesImplicitReceiver) {
  35897. localResolver.notifyImplicitReceiverUse();
  35898. }
  35899. const stmts = getStatementsFromVisitor(visitor, bindingId);
  35900. const args = outputExpr.args;
  35901. return {
  35902. stmts,
  35903. args
  35904. };
  35905. }
  35906. function getStatementsFromVisitor(visitor, bindingId) {
  35907. const stmts = [];
  35908. for (let i = 0; i < visitor.temporaryCount; i++) {
  35909. stmts.push(temporaryDeclaration(bindingId, i));
  35910. }
  35911. return stmts;
  35912. }
  35913. function convertBuiltins(converterFactory, ast) {
  35914. const visitor = new _BuiltinAstConverter(converterFactory);
  35915. return ast.visit(visitor);
  35916. }
  35917. function temporaryName(bindingId, temporaryNumber) {
  35918. return `tmp_${bindingId}_${temporaryNumber}`;
  35919. }
  35920. function temporaryDeclaration(bindingId, temporaryNumber) {
  35921. return new DeclareVarStmt(temporaryName(bindingId, temporaryNumber));
  35922. }
  35923. function prependTemporaryDecls(temporaryCount, bindingId, statements) {
  35924. for (let i = temporaryCount - 1; i >= 0; i--) {
  35925. statements.unshift(temporaryDeclaration(bindingId, i));
  35926. }
  35927. }
  35928. var _Mode;
  35929. (function (_Mode) {
  35930. _Mode[_Mode["Statement"] = 0] = "Statement";
  35931. _Mode[_Mode["Expression"] = 1] = "Expression";
  35932. })(_Mode || (_Mode = {}));
  35933. function ensureStatementMode(mode, ast) {
  35934. if (mode !== _Mode.Statement) {
  35935. throw new Error(`Expected a statement, but saw ${ast}`);
  35936. }
  35937. }
  35938. function ensureExpressionMode(mode, ast) {
  35939. if (mode !== _Mode.Expression) {
  35940. throw new Error(`Expected an expression, but saw ${ast}`);
  35941. }
  35942. }
  35943. function convertToStatementIfNeeded(mode, expr) {
  35944. if (mode === _Mode.Statement) {
  35945. return expr.toStmt();
  35946. } else {
  35947. return expr;
  35948. }
  35949. }
  35950. class _BuiltinAstConverter extends AstTransformer {
  35951. constructor(_converterFactory) {
  35952. super();
  35953. this._converterFactory = _converterFactory;
  35954. }
  35955. visitPipe(ast, context) {
  35956. const args = [ast.exp, ...ast.args].map(ast => ast.visit(this, context));
  35957. return new BuiltinFunctionCall(ast.span, ast.sourceSpan, args, this._converterFactory.createPipeConverter(ast.name, args.length));
  35958. }
  35959. visitLiteralArray(ast, context) {
  35960. const args = ast.expressions.map(ast => ast.visit(this, context));
  35961. return new BuiltinFunctionCall(ast.span, ast.sourceSpan, args, this._converterFactory.createLiteralArrayConverter(ast.expressions.length));
  35962. }
  35963. visitLiteralMap(ast, context) {
  35964. const args = ast.values.map(ast => ast.visit(this, context));
  35965. return new BuiltinFunctionCall(ast.span, ast.sourceSpan, args, this._converterFactory.createLiteralMapConverter(ast.keys));
  35966. }
  35967. }
  35968. class _AstToIrVisitor {
  35969. constructor(_localResolver, _implicitReceiver, bindingId, supportsInterpolation, baseSourceSpan, implicitReceiverAccesses) {
  35970. this._localResolver = _localResolver;
  35971. this._implicitReceiver = _implicitReceiver;
  35972. this.bindingId = bindingId;
  35973. this.supportsInterpolation = supportsInterpolation;
  35974. this.baseSourceSpan = baseSourceSpan;
  35975. this.implicitReceiverAccesses = implicitReceiverAccesses;
  35976. this._nodeMap = new Map();
  35977. this._resultMap = new Map();
  35978. this._currentTemporary = 0;
  35979. this.temporaryCount = 0;
  35980. this.usesImplicitReceiver = false;
  35981. }
  35982. visitUnary(ast, mode) {
  35983. let op;
  35984. switch (ast.operator) {
  35985. case '+':
  35986. op = UnaryOperator.Plus;
  35987. break;
  35988. case '-':
  35989. op = UnaryOperator.Minus;
  35990. break;
  35991. default:
  35992. throw new Error(`Unsupported operator ${ast.operator}`);
  35993. }
  35994. return convertToStatementIfNeeded(mode, new UnaryOperatorExpr(op, this._visit(ast.expr, _Mode.Expression), undefined, this.convertSourceSpan(ast.span)));
  35995. }
  35996. visitBinary(ast, mode) {
  35997. let op;
  35998. switch (ast.operation) {
  35999. case '+':
  36000. op = BinaryOperator.Plus;
  36001. break;
  36002. case '-':
  36003. op = BinaryOperator.Minus;
  36004. break;
  36005. case '*':
  36006. op = BinaryOperator.Multiply;
  36007. break;
  36008. case '/':
  36009. op = BinaryOperator.Divide;
  36010. break;
  36011. case '%':
  36012. op = BinaryOperator.Modulo;
  36013. break;
  36014. case '&&':
  36015. op = BinaryOperator.And;
  36016. break;
  36017. case '||':
  36018. op = BinaryOperator.Or;
  36019. break;
  36020. case '==':
  36021. op = BinaryOperator.Equals;
  36022. break;
  36023. case '!=':
  36024. op = BinaryOperator.NotEquals;
  36025. break;
  36026. case '===':
  36027. op = BinaryOperator.Identical;
  36028. break;
  36029. case '!==':
  36030. op = BinaryOperator.NotIdentical;
  36031. break;
  36032. case '<':
  36033. op = BinaryOperator.Lower;
  36034. break;
  36035. case '>':
  36036. op = BinaryOperator.Bigger;
  36037. break;
  36038. case '<=':
  36039. op = BinaryOperator.LowerEquals;
  36040. break;
  36041. case '>=':
  36042. op = BinaryOperator.BiggerEquals;
  36043. break;
  36044. case '??':
  36045. return this.convertNullishCoalesce(ast, mode);
  36046. default:
  36047. throw new Error(`Unsupported operation ${ast.operation}`);
  36048. }
  36049. return convertToStatementIfNeeded(mode, new BinaryOperatorExpr(op, this._visit(ast.left, _Mode.Expression), this._visit(ast.right, _Mode.Expression), undefined, this.convertSourceSpan(ast.span)));
  36050. }
  36051. visitChain(ast, mode) {
  36052. ensureStatementMode(mode, ast);
  36053. return this.visitAll(ast.expressions, mode);
  36054. }
  36055. visitConditional(ast, mode) {
  36056. const value = this._visit(ast.condition, _Mode.Expression);
  36057. return convertToStatementIfNeeded(mode, value.conditional(this._visit(ast.trueExp, _Mode.Expression), this._visit(ast.falseExp, _Mode.Expression), this.convertSourceSpan(ast.span)));
  36058. }
  36059. visitPipe(ast, mode) {
  36060. throw new Error(`Illegal state: Pipes should have been converted into functions. Pipe: ${ast.name}`);
  36061. }
  36062. visitImplicitReceiver(ast, mode) {
  36063. ensureExpressionMode(mode, ast);
  36064. this.usesImplicitReceiver = true;
  36065. return this._implicitReceiver;
  36066. }
  36067. visitThisReceiver(ast, mode) {
  36068. return this.visitImplicitReceiver(ast, mode);
  36069. }
  36070. visitInterpolation(ast, mode) {
  36071. if (!this.supportsInterpolation) {
  36072. throw new Error('Unexpected interpolation');
  36073. }
  36074. ensureExpressionMode(mode, ast);
  36075. let args = [];
  36076. for (let i = 0; i < ast.strings.length - 1; i++) {
  36077. args.push(literal(ast.strings[i]));
  36078. args.push(this._visit(ast.expressions[i], _Mode.Expression));
  36079. }
  36080. args.push(literal(ast.strings[ast.strings.length - 1])); // If we're dealing with an interpolation of 1 value with an empty prefix and suffix, reduce the
  36081. // args returned to just the value, because we're going to pass it to a special instruction.
  36082. const strings = ast.strings;
  36083. if (strings.length === 2 && strings[0] === '' && strings[1] === '') {
  36084. // Single argument interpolate instructions.
  36085. args = [args[1]];
  36086. } else if (ast.expressions.length >= 9) {
  36087. // 9 or more arguments must be passed to the `interpolateV`-style instructions, which accept
  36088. // an array of arguments
  36089. args = [literalArr(args)];
  36090. }
  36091. return new InterpolationExpression(args);
  36092. }
  36093. visitKeyedRead(ast, mode) {
  36094. const leftMostSafe = this.leftMostSafeNode(ast);
  36095. if (leftMostSafe) {
  36096. return this.convertSafeAccess(ast, leftMostSafe, mode);
  36097. } else {
  36098. return convertToStatementIfNeeded(mode, this._visit(ast.receiver, _Mode.Expression).key(this._visit(ast.key, _Mode.Expression)));
  36099. }
  36100. }
  36101. visitKeyedWrite(ast, mode) {
  36102. const obj = this._visit(ast.receiver, _Mode.Expression);
  36103. const key = this._visit(ast.key, _Mode.Expression);
  36104. const value = this._visit(ast.value, _Mode.Expression);
  36105. if (obj === this._implicitReceiver) {
  36106. this._localResolver.maybeRestoreView();
  36107. }
  36108. return convertToStatementIfNeeded(mode, obj.key(key).set(value));
  36109. }
  36110. visitLiteralArray(ast, mode) {
  36111. throw new Error(`Illegal State: literal arrays should have been converted into functions`);
  36112. }
  36113. visitLiteralMap(ast, mode) {
  36114. throw new Error(`Illegal State: literal maps should have been converted into functions`);
  36115. }
  36116. visitLiteralPrimitive(ast, mode) {
  36117. // For literal values of null, undefined, true, or false allow type interference
  36118. // to infer the type.
  36119. const type = ast.value === null || ast.value === undefined || ast.value === true || ast.value === true ? INFERRED_TYPE : undefined;
  36120. return convertToStatementIfNeeded(mode, literal(ast.value, type, this.convertSourceSpan(ast.span)));
  36121. }
  36122. _getLocal(name, receiver) {
  36123. var _a;
  36124. if (((_a = this._localResolver.globals) === null || _a === void 0 ? void 0 : _a.has(name)) && receiver instanceof ThisReceiver) {
  36125. return null;
  36126. }
  36127. return this._localResolver.getLocal(name);
  36128. }
  36129. visitPrefixNot(ast, mode) {
  36130. return convertToStatementIfNeeded(mode, not(this._visit(ast.expression, _Mode.Expression)));
  36131. }
  36132. visitNonNullAssert(ast, mode) {
  36133. return convertToStatementIfNeeded(mode, this._visit(ast.expression, _Mode.Expression));
  36134. }
  36135. visitPropertyRead(ast, mode) {
  36136. const leftMostSafe = this.leftMostSafeNode(ast);
  36137. if (leftMostSafe) {
  36138. return this.convertSafeAccess(ast, leftMostSafe, mode);
  36139. } else {
  36140. let result = null;
  36141. const prevUsesImplicitReceiver = this.usesImplicitReceiver;
  36142. const receiver = this._visit(ast.receiver, _Mode.Expression);
  36143. if (receiver === this._implicitReceiver) {
  36144. result = this._getLocal(ast.name, ast.receiver);
  36145. if (result) {
  36146. // Restore the previous "usesImplicitReceiver" state since the implicit
  36147. // receiver has been replaced with a resolved local expression.
  36148. this.usesImplicitReceiver = prevUsesImplicitReceiver;
  36149. this.addImplicitReceiverAccess(ast.name);
  36150. }
  36151. }
  36152. if (result == null) {
  36153. result = receiver.prop(ast.name, this.convertSourceSpan(ast.span));
  36154. }
  36155. return convertToStatementIfNeeded(mode, result);
  36156. }
  36157. }
  36158. visitPropertyWrite(ast, mode) {
  36159. const receiver = this._visit(ast.receiver, _Mode.Expression);
  36160. const prevUsesImplicitReceiver = this.usesImplicitReceiver;
  36161. let varExpr = null;
  36162. if (receiver === this._implicitReceiver) {
  36163. const localExpr = this._getLocal(ast.name, ast.receiver);
  36164. if (localExpr) {
  36165. if (localExpr instanceof ReadPropExpr) {
  36166. // If the local variable is a property read expression, it's a reference
  36167. // to a 'context.property' value and will be used as the target of the
  36168. // write expression.
  36169. varExpr = localExpr; // Restore the previous "usesImplicitReceiver" state since the implicit
  36170. // receiver has been replaced with a resolved local expression.
  36171. this.usesImplicitReceiver = prevUsesImplicitReceiver;
  36172. this.addImplicitReceiverAccess(ast.name);
  36173. } else {
  36174. // Otherwise it's an error.
  36175. const receiver = ast.name;
  36176. const value = ast.value instanceof PropertyRead ? ast.value.name : undefined;
  36177. throw new Error(`Cannot assign value "${value}" to template variable "${receiver}". Template variables are read-only.`);
  36178. }
  36179. }
  36180. } // If no local expression could be produced, use the original receiver's
  36181. // property as the target.
  36182. if (varExpr === null) {
  36183. varExpr = receiver.prop(ast.name, this.convertSourceSpan(ast.span));
  36184. }
  36185. return convertToStatementIfNeeded(mode, varExpr.set(this._visit(ast.value, _Mode.Expression)));
  36186. }
  36187. visitSafePropertyRead(ast, mode) {
  36188. return this.convertSafeAccess(ast, this.leftMostSafeNode(ast), mode);
  36189. }
  36190. visitSafeKeyedRead(ast, mode) {
  36191. return this.convertSafeAccess(ast, this.leftMostSafeNode(ast), mode);
  36192. }
  36193. visitAll(asts, mode) {
  36194. return asts.map(ast => this._visit(ast, mode));
  36195. }
  36196. visitCall(ast, mode) {
  36197. const leftMostSafe = this.leftMostSafeNode(ast);
  36198. if (leftMostSafe) {
  36199. return this.convertSafeAccess(ast, leftMostSafe, mode);
  36200. }
  36201. const convertedArgs = this.visitAll(ast.args, _Mode.Expression);
  36202. if (ast instanceof BuiltinFunctionCall) {
  36203. return convertToStatementIfNeeded(mode, ast.converter(convertedArgs));
  36204. }
  36205. const receiver = ast.receiver;
  36206. if (receiver instanceof PropertyRead && receiver.receiver instanceof ImplicitReceiver && !(receiver.receiver instanceof ThisReceiver) && receiver.name === '$any') {
  36207. if (convertedArgs.length !== 1) {
  36208. throw new Error(`Invalid call to $any, expected 1 argument but received ${convertedArgs.length || 'none'}`);
  36209. }
  36210. return convertToStatementIfNeeded(mode, convertedArgs[0]);
  36211. }
  36212. const call = this._visit(receiver, _Mode.Expression).callFn(convertedArgs, this.convertSourceSpan(ast.span));
  36213. return convertToStatementIfNeeded(mode, call);
  36214. }
  36215. visitSafeCall(ast, mode) {
  36216. return this.convertSafeAccess(ast, this.leftMostSafeNode(ast), mode);
  36217. }
  36218. _visit(ast, mode) {
  36219. const result = this._resultMap.get(ast);
  36220. if (result) return result;
  36221. return (this._nodeMap.get(ast) || ast).visit(this, mode);
  36222. }
  36223. convertSafeAccess(ast, leftMostSafe, mode) {
  36224. // If the expression contains a safe access node on the left it needs to be converted to
  36225. // an expression that guards the access to the member by checking the receiver for blank. As
  36226. // execution proceeds from left to right, the left most part of the expression must be guarded
  36227. // first but, because member access is left associative, the right side of the expression is at
  36228. // the top of the AST. The desired result requires lifting a copy of the left part of the
  36229. // expression up to test it for blank before generating the unguarded version.
  36230. // Consider, for example the following expression: a?.b.c?.d.e
  36231. // This results in the ast:
  36232. // .
  36233. // / \
  36234. // ?. e
  36235. // / \
  36236. // . d
  36237. // / \
  36238. // ?. c
  36239. // / \
  36240. // a b
  36241. // The following tree should be generated:
  36242. //
  36243. // /---- ? ----\
  36244. // / | \
  36245. // a /--- ? ---\ null
  36246. // / | \
  36247. // . . null
  36248. // / \ / \
  36249. // . c . e
  36250. // / \ / \
  36251. // a b . d
  36252. // / \
  36253. // . c
  36254. // / \
  36255. // a b
  36256. //
  36257. // Notice that the first guard condition is the left hand of the left most safe access node
  36258. // which comes in as leftMostSafe to this routine.
  36259. let guardedExpression = this._visit(leftMostSafe.receiver, _Mode.Expression);
  36260. let temporary = undefined;
  36261. if (this.needsTemporaryInSafeAccess(leftMostSafe.receiver)) {
  36262. // If the expression has method calls or pipes then we need to save the result into a
  36263. // temporary variable to avoid calling stateful or impure code more than once.
  36264. temporary = this.allocateTemporary(); // Preserve the result in the temporary variable
  36265. guardedExpression = temporary.set(guardedExpression); // Ensure all further references to the guarded expression refer to the temporary instead.
  36266. this._resultMap.set(leftMostSafe.receiver, temporary);
  36267. }
  36268. const condition = guardedExpression.isBlank(); // Convert the ast to an unguarded access to the receiver's member. The map will substitute
  36269. // leftMostNode with its unguarded version in the call to `this.visit()`.
  36270. if (leftMostSafe instanceof SafeCall) {
  36271. this._nodeMap.set(leftMostSafe, new Call(leftMostSafe.span, leftMostSafe.sourceSpan, leftMostSafe.receiver, leftMostSafe.args, leftMostSafe.argumentSpan));
  36272. } else if (leftMostSafe instanceof SafeKeyedRead) {
  36273. this._nodeMap.set(leftMostSafe, new KeyedRead(leftMostSafe.span, leftMostSafe.sourceSpan, leftMostSafe.receiver, leftMostSafe.key));
  36274. } else {
  36275. this._nodeMap.set(leftMostSafe, new PropertyRead(leftMostSafe.span, leftMostSafe.sourceSpan, leftMostSafe.nameSpan, leftMostSafe.receiver, leftMostSafe.name));
  36276. } // Recursively convert the node now without the guarded member access.
  36277. const access = this._visit(ast, _Mode.Expression); // Remove the mapping. This is not strictly required as the converter only traverses each node
  36278. // once but is safer if the conversion is changed to traverse the nodes more than once.
  36279. this._nodeMap.delete(leftMostSafe); // If we allocated a temporary, release it.
  36280. if (temporary) {
  36281. this.releaseTemporary(temporary);
  36282. } // Produce the conditional
  36283. return convertToStatementIfNeeded(mode, condition.conditional(NULL_EXPR, access));
  36284. }
  36285. convertNullishCoalesce(ast, mode) {
  36286. const left = this._visit(ast.left, _Mode.Expression);
  36287. const right = this._visit(ast.right, _Mode.Expression);
  36288. const temporary = this.allocateTemporary();
  36289. this.releaseTemporary(temporary); // Generate the following expression. It is identical to how TS
  36290. // transpiles binary expressions with a nullish coalescing operator.
  36291. // let temp;
  36292. // (temp = a) !== null && temp !== undefined ? temp : b;
  36293. return convertToStatementIfNeeded(mode, temporary.set(left).notIdentical(NULL_EXPR).and(temporary.notIdentical(literal(undefined))).conditional(temporary, right));
  36294. } // Given an expression of the form a?.b.c?.d.e then the left most safe node is
  36295. // the (a?.b). The . and ?. are left associative thus can be rewritten as:
  36296. // ((((a?.c).b).c)?.d).e. This returns the most deeply nested safe read or
  36297. // safe method call as this needs to be transformed initially to:
  36298. // a == null ? null : a.c.b.c?.d.e
  36299. // then to:
  36300. // a == null ? null : a.b.c == null ? null : a.b.c.d.e
  36301. leftMostSafeNode(ast) {
  36302. const visit = (visitor, ast) => {
  36303. return (this._nodeMap.get(ast) || ast).visit(visitor);
  36304. };
  36305. return ast.visit({
  36306. visitUnary(ast) {
  36307. return null;
  36308. },
  36309. visitBinary(ast) {
  36310. return null;
  36311. },
  36312. visitChain(ast) {
  36313. return null;
  36314. },
  36315. visitConditional(ast) {
  36316. return null;
  36317. },
  36318. visitCall(ast) {
  36319. return visit(this, ast.receiver);
  36320. },
  36321. visitSafeCall(ast) {
  36322. return visit(this, ast.receiver) || ast;
  36323. },
  36324. visitImplicitReceiver(ast) {
  36325. return null;
  36326. },
  36327. visitThisReceiver(ast) {
  36328. return null;
  36329. },
  36330. visitInterpolation(ast) {
  36331. return null;
  36332. },
  36333. visitKeyedRead(ast) {
  36334. return visit(this, ast.receiver);
  36335. },
  36336. visitKeyedWrite(ast) {
  36337. return null;
  36338. },
  36339. visitLiteralArray(ast) {
  36340. return null;
  36341. },
  36342. visitLiteralMap(ast) {
  36343. return null;
  36344. },
  36345. visitLiteralPrimitive(ast) {
  36346. return null;
  36347. },
  36348. visitPipe(ast) {
  36349. return null;
  36350. },
  36351. visitPrefixNot(ast) {
  36352. return null;
  36353. },
  36354. visitNonNullAssert(ast) {
  36355. return null;
  36356. },
  36357. visitPropertyRead(ast) {
  36358. return visit(this, ast.receiver);
  36359. },
  36360. visitPropertyWrite(ast) {
  36361. return null;
  36362. },
  36363. visitSafePropertyRead(ast) {
  36364. return visit(this, ast.receiver) || ast;
  36365. },
  36366. visitSafeKeyedRead(ast) {
  36367. return visit(this, ast.receiver) || ast;
  36368. }
  36369. });
  36370. } // Returns true of the AST includes a method or a pipe indicating that, if the
  36371. // expression is used as the target of a safe property or method access then
  36372. // the expression should be stored into a temporary variable.
  36373. needsTemporaryInSafeAccess(ast) {
  36374. const visit = (visitor, ast) => {
  36375. return ast && (this._nodeMap.get(ast) || ast).visit(visitor);
  36376. };
  36377. const visitSome = (visitor, ast) => {
  36378. return ast.some(ast => visit(visitor, ast));
  36379. };
  36380. return ast.visit({
  36381. visitUnary(ast) {
  36382. return visit(this, ast.expr);
  36383. },
  36384. visitBinary(ast) {
  36385. return visit(this, ast.left) || visit(this, ast.right);
  36386. },
  36387. visitChain(ast) {
  36388. return false;
  36389. },
  36390. visitConditional(ast) {
  36391. return visit(this, ast.condition) || visit(this, ast.trueExp) || visit(this, ast.falseExp);
  36392. },
  36393. visitCall(ast) {
  36394. return true;
  36395. },
  36396. visitSafeCall(ast) {
  36397. return true;
  36398. },
  36399. visitImplicitReceiver(ast) {
  36400. return false;
  36401. },
  36402. visitThisReceiver(ast) {
  36403. return false;
  36404. },
  36405. visitInterpolation(ast) {
  36406. return visitSome(this, ast.expressions);
  36407. },
  36408. visitKeyedRead(ast) {
  36409. return false;
  36410. },
  36411. visitKeyedWrite(ast) {
  36412. return false;
  36413. },
  36414. visitLiteralArray(ast) {
  36415. return true;
  36416. },
  36417. visitLiteralMap(ast) {
  36418. return true;
  36419. },
  36420. visitLiteralPrimitive(ast) {
  36421. return false;
  36422. },
  36423. visitPipe(ast) {
  36424. return true;
  36425. },
  36426. visitPrefixNot(ast) {
  36427. return visit(this, ast.expression);
  36428. },
  36429. visitNonNullAssert(ast) {
  36430. return visit(this, ast.expression);
  36431. },
  36432. visitPropertyRead(ast) {
  36433. return false;
  36434. },
  36435. visitPropertyWrite(ast) {
  36436. return false;
  36437. },
  36438. visitSafePropertyRead(ast) {
  36439. return false;
  36440. },
  36441. visitSafeKeyedRead(ast) {
  36442. return false;
  36443. }
  36444. });
  36445. }
  36446. allocateTemporary() {
  36447. const tempNumber = this._currentTemporary++;
  36448. this.temporaryCount = Math.max(this._currentTemporary, this.temporaryCount);
  36449. return new ReadVarExpr(temporaryName(this.bindingId, tempNumber));
  36450. }
  36451. releaseTemporary(temporary) {
  36452. this._currentTemporary--;
  36453. if (temporary.name != temporaryName(this.bindingId, this._currentTemporary)) {
  36454. throw new Error(`Temporary ${temporary.name} released out of order`);
  36455. }
  36456. }
  36457. /**
  36458. * Creates an absolute `ParseSourceSpan` from the relative `ParseSpan`.
  36459. *
  36460. * `ParseSpan` objects are relative to the start of the expression.
  36461. * This method converts these to full `ParseSourceSpan` objects that
  36462. * show where the span is within the overall source file.
  36463. *
  36464. * @param span the relative span to convert.
  36465. * @returns a `ParseSourceSpan` for the given span or null if no
  36466. * `baseSourceSpan` was provided to this class.
  36467. */
  36468. convertSourceSpan(span) {
  36469. if (this.baseSourceSpan) {
  36470. const start = this.baseSourceSpan.start.moveBy(span.start);
  36471. const end = this.baseSourceSpan.start.moveBy(span.end);
  36472. const fullStart = this.baseSourceSpan.fullStart.moveBy(span.start);
  36473. return new ParseSourceSpan(start, end, fullStart);
  36474. } else {
  36475. return null;
  36476. }
  36477. }
  36478. /** Adds the name of an AST to the list of implicit receiver accesses. */
  36479. addImplicitReceiverAccess(name) {
  36480. if (this.implicitReceiverAccesses) {
  36481. this.implicitReceiverAccesses.add(name);
  36482. }
  36483. }
  36484. }
  36485. function flattenStatements(arg, output) {
  36486. if (Array.isArray(arg)) {
  36487. arg.forEach(entry => flattenStatements(entry, output));
  36488. } else {
  36489. output.push(arg);
  36490. }
  36491. }
  36492. function unsupported() {
  36493. throw new Error('Unsupported operation');
  36494. }
  36495. class InterpolationExpression extends Expression {
  36496. constructor(args) {
  36497. super(null, null);
  36498. this.args = args;
  36499. this.isConstant = unsupported;
  36500. this.isEquivalent = unsupported;
  36501. this.visitExpression = unsupported;
  36502. }
  36503. }
  36504. class DefaultLocalResolver {
  36505. constructor(globals) {
  36506. this.globals = globals;
  36507. }
  36508. notifyImplicitReceiverUse() {}
  36509. maybeRestoreView() {}
  36510. getLocal(name) {
  36511. if (name === EventHandlerVars.event.name) {
  36512. return EventHandlerVars.event;
  36513. }
  36514. return null;
  36515. }
  36516. }
  36517. class BuiltinFunctionCall extends Call {
  36518. constructor(span, sourceSpan, args, converter) {
  36519. super(span, sourceSpan, new EmptyExpr(span, sourceSpan), args, null);
  36520. this.converter = converter;
  36521. }
  36522. }
  36523. /**
  36524. * @license
  36525. * Copyright Google LLC All Rights Reserved.
  36526. *
  36527. * Use of this source code is governed by an MIT-style license that can be
  36528. * found in the LICENSE file at https://angular.io/license
  36529. */
  36530. /**
  36531. * This file is a port of shadowCSS from webcomponents.js to TypeScript.
  36532. *
  36533. * Please make sure to keep to edits in sync with the source file.
  36534. *
  36535. * Source:
  36536. * https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js
  36537. *
  36538. * The original file level comment is reproduced below
  36539. */
  36540. /*
  36541. This is a limited shim for ShadowDOM css styling.
  36542. https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#styles
  36543. The intention here is to support only the styling features which can be
  36544. relatively simply implemented. The goal is to allow users to avoid the
  36545. most obvious pitfalls and do so without compromising performance significantly.
  36546. For ShadowDOM styling that's not covered here, a set of best practices
  36547. can be provided that should allow users to accomplish more complex styling.
  36548. The following is a list of specific ShadowDOM styling features and a brief
  36549. discussion of the approach used to shim.
  36550. Shimmed features:
  36551. * :host, :host-context: ShadowDOM allows styling of the shadowRoot's host
  36552. element using the :host rule. To shim this feature, the :host styles are
  36553. reformatted and prefixed with a given scope name and promoted to a
  36554. document level stylesheet.
  36555. For example, given a scope name of .foo, a rule like this:
  36556. :host {
  36557. background: red;
  36558. }
  36559. }
  36560. becomes:
  36561. .foo {
  36562. background: red;
  36563. }
  36564. * encapsulation: Styles defined within ShadowDOM, apply only to
  36565. dom inside the ShadowDOM. Polymer uses one of two techniques to implement
  36566. this feature.
  36567. By default, rules are prefixed with the host element tag name
  36568. as a descendant selector. This ensures styling does not leak out of the 'top'
  36569. of the element's ShadowDOM. For example,
  36570. div {
  36571. font-weight: bold;
  36572. }
  36573. becomes:
  36574. x-foo div {
  36575. font-weight: bold;
  36576. }
  36577. becomes:
  36578. Alternatively, if WebComponents.ShadowCSS.strictStyling is set to true then
  36579. selectors are scoped by adding an attribute selector suffix to each
  36580. simple selector that contains the host element tag name. Each element
  36581. in the element's ShadowDOM template is also given the scope attribute.
  36582. Thus, these rules match only elements that have the scope attribute.
  36583. For example, given a scope name of x-foo, a rule like this:
  36584. div {
  36585. font-weight: bold;
  36586. }
  36587. becomes:
  36588. div[x-foo] {
  36589. font-weight: bold;
  36590. }
  36591. Note that elements that are dynamically added to a scope must have the scope
  36592. selector added to them manually.
  36593. * upper/lower bound encapsulation: Styles which are defined outside a
  36594. shadowRoot should not cross the ShadowDOM boundary and should not apply
  36595. inside a shadowRoot.
  36596. This styling behavior is not emulated. Some possible ways to do this that
  36597. were rejected due to complexity and/or performance concerns include: (1) reset
  36598. every possible property for every possible selector for a given scope name;
  36599. (2) re-implement css in javascript.
  36600. As an alternative, users should make sure to use selectors
  36601. specific to the scope in which they are working.
  36602. * ::distributed: This behavior is not emulated. It's often not necessary
  36603. to style the contents of a specific insertion point and instead, descendants
  36604. of the host element can be styled selectively. Users can also create an
  36605. extra node around an insertion point and style that node's contents
  36606. via descendent selectors. For example, with a shadowRoot like this:
  36607. <style>
  36608. ::content(div) {
  36609. background: red;
  36610. }
  36611. </style>
  36612. <content></content>
  36613. could become:
  36614. <style>
  36615. / *@polyfill .content-container div * /
  36616. ::content(div) {
  36617. background: red;
  36618. }
  36619. </style>
  36620. <div class="content-container">
  36621. <content></content>
  36622. </div>
  36623. Note the use of @polyfill in the comment above a ShadowDOM specific style
  36624. declaration. This is a directive to the styling shim to use the selector
  36625. in comments in lieu of the next selector when running under polyfill.
  36626. */
  36627. class ShadowCss {
  36628. constructor() {
  36629. this.strictStyling = true;
  36630. }
  36631. /*
  36632. * Shim some cssText with the given selector. Returns cssText that can
  36633. * be included in the document via WebComponents.ShadowCSS.addCssToDocument(css).
  36634. *
  36635. * When strictStyling is true:
  36636. * - selector is the attribute added to all elements inside the host,
  36637. * - hostSelector is the attribute added to the host itself.
  36638. */
  36639. shimCssText(cssText, selector, hostSelector = '') {
  36640. const commentsWithHash = extractCommentsWithHash(cssText);
  36641. cssText = stripComments(cssText);
  36642. cssText = this._insertDirectives(cssText);
  36643. const scopedCssText = this._scopeCssText(cssText, selector, hostSelector);
  36644. return [scopedCssText, ...commentsWithHash].join('\n');
  36645. }
  36646. _insertDirectives(cssText) {
  36647. cssText = this._insertPolyfillDirectivesInCssText(cssText);
  36648. return this._insertPolyfillRulesInCssText(cssText);
  36649. }
  36650. /*
  36651. * Process styles to convert native ShadowDOM rules that will trip
  36652. * up the css parser; we rely on decorating the stylesheet with inert rules.
  36653. *
  36654. * For example, we convert this rule:
  36655. *
  36656. * polyfill-next-selector { content: ':host menu-item'; }
  36657. * ::content menu-item {
  36658. *
  36659. * to this:
  36660. *
  36661. * scopeName menu-item {
  36662. *
  36663. **/
  36664. _insertPolyfillDirectivesInCssText(cssText) {
  36665. // Difference with webcomponents.js: does not handle comments
  36666. return cssText.replace(_cssContentNextSelectorRe, function (...m) {
  36667. return m[2] + '{';
  36668. });
  36669. }
  36670. /*
  36671. * Process styles to add rules which will only apply under the polyfill
  36672. *
  36673. * For example, we convert this rule:
  36674. *
  36675. * polyfill-rule {
  36676. * content: ':host menu-item';
  36677. * ...
  36678. * }
  36679. *
  36680. * to this:
  36681. *
  36682. * scopeName menu-item {...}
  36683. *
  36684. **/
  36685. _insertPolyfillRulesInCssText(cssText) {
  36686. // Difference with webcomponents.js: does not handle comments
  36687. return cssText.replace(_cssContentRuleRe, (...m) => {
  36688. const rule = m[0].replace(m[1], '').replace(m[2], '');
  36689. return m[4] + rule;
  36690. });
  36691. }
  36692. /* Ensure styles are scoped. Pseudo-scoping takes a rule like:
  36693. *
  36694. * .foo {... }
  36695. *
  36696. * and converts this to
  36697. *
  36698. * scopeName .foo { ... }
  36699. */
  36700. _scopeCssText(cssText, scopeSelector, hostSelector) {
  36701. const unscopedRules = this._extractUnscopedRulesFromCssText(cssText); // replace :host and :host-context -shadowcsshost and -shadowcsshost respectively
  36702. cssText = this._insertPolyfillHostInCssText(cssText);
  36703. cssText = this._convertColonHost(cssText);
  36704. cssText = this._convertColonHostContext(cssText);
  36705. cssText = this._convertShadowDOMSelectors(cssText);
  36706. if (scopeSelector) {
  36707. cssText = this._scopeSelectors(cssText, scopeSelector, hostSelector);
  36708. }
  36709. cssText = cssText + '\n' + unscopedRules;
  36710. return cssText.trim();
  36711. }
  36712. /*
  36713. * Process styles to add rules which will only apply under the polyfill
  36714. * and do not process via CSSOM. (CSSOM is destructive to rules on rare
  36715. * occasions, e.g. -webkit-calc on Safari.)
  36716. * For example, we convert this rule:
  36717. *
  36718. * @polyfill-unscoped-rule {
  36719. * content: 'menu-item';
  36720. * ... }
  36721. *
  36722. * to this:
  36723. *
  36724. * menu-item {...}
  36725. *
  36726. **/
  36727. _extractUnscopedRulesFromCssText(cssText) {
  36728. // Difference with webcomponents.js: does not handle comments
  36729. let r = '';
  36730. let m;
  36731. _cssContentUnscopedRuleRe.lastIndex = 0;
  36732. while ((m = _cssContentUnscopedRuleRe.exec(cssText)) !== null) {
  36733. const rule = m[0].replace(m[2], '').replace(m[1], m[4]);
  36734. r += rule + '\n\n';
  36735. }
  36736. return r;
  36737. }
  36738. /*
  36739. * convert a rule like :host(.foo) > .bar { }
  36740. *
  36741. * to
  36742. *
  36743. * .foo<scopeName> > .bar
  36744. */
  36745. _convertColonHost(cssText) {
  36746. return cssText.replace(_cssColonHostRe, (_, hostSelectors, otherSelectors) => {
  36747. if (hostSelectors) {
  36748. const convertedSelectors = [];
  36749. const hostSelectorArray = hostSelectors.split(',').map(p => p.trim());
  36750. for (const hostSelector of hostSelectorArray) {
  36751. if (!hostSelector) break;
  36752. const convertedSelector = _polyfillHostNoCombinator + hostSelector.replace(_polyfillHost, '') + otherSelectors;
  36753. convertedSelectors.push(convertedSelector);
  36754. }
  36755. return convertedSelectors.join(',');
  36756. } else {
  36757. return _polyfillHostNoCombinator + otherSelectors;
  36758. }
  36759. });
  36760. }
  36761. /*
  36762. * convert a rule like :host-context(.foo) > .bar { }
  36763. *
  36764. * to
  36765. *
  36766. * .foo<scopeName> > .bar, .foo <scopeName> > .bar { }
  36767. *
  36768. * and
  36769. *
  36770. * :host-context(.foo:host) .bar { ... }
  36771. *
  36772. * to
  36773. *
  36774. * .foo<scopeName> .bar { ... }
  36775. */
  36776. _convertColonHostContext(cssText) {
  36777. return cssText.replace(_cssColonHostContextReGlobal, selectorText => {
  36778. var _a; // We have captured a selector that contains a `:host-context` rule.
  36779. // For backward compatibility `:host-context` may contain a comma separated list of selectors.
  36780. // Each context selector group will contain a list of host-context selectors that must match
  36781. // an ancestor of the host.
  36782. // (Normally `contextSelectorGroups` will only contain a single array of context selectors.)
  36783. const contextSelectorGroups = [[]]; // There may be more than `:host-context` in this selector so `selectorText` could look like:
  36784. // `:host-context(.one):host-context(.two)`.
  36785. // Execute `_cssColonHostContextRe` over and over until we have extracted all the
  36786. // `:host-context` selectors from this selector.
  36787. let match;
  36788. while (match = _cssColonHostContextRe.exec(selectorText)) {
  36789. // `match` = [':host-context(<selectors>)<rest>', <selectors>, <rest>]
  36790. // The `<selectors>` could actually be a comma separated list: `:host-context(.one, .two)`.
  36791. const newContextSelectors = ((_a = match[1]) !== null && _a !== void 0 ? _a : '').trim().split(',').map(m => m.trim()).filter(m => m !== ''); // We must duplicate the current selector group for each of these new selectors.
  36792. // For example if the current groups are:
  36793. // ```
  36794. // [
  36795. // ['a', 'b', 'c'],
  36796. // ['x', 'y', 'z'],
  36797. // ]
  36798. // ```
  36799. // And we have a new set of comma separated selectors: `:host-context(m,n)` then the new
  36800. // groups are:
  36801. // ```
  36802. // [
  36803. // ['a', 'b', 'c', 'm'],
  36804. // ['x', 'y', 'z', 'm'],
  36805. // ['a', 'b', 'c', 'n'],
  36806. // ['x', 'y', 'z', 'n'],
  36807. // ]
  36808. // ```
  36809. const contextSelectorGroupsLength = contextSelectorGroups.length;
  36810. repeatGroups(contextSelectorGroups, newContextSelectors.length);
  36811. for (let i = 0; i < newContextSelectors.length; i++) {
  36812. for (let j = 0; j < contextSelectorGroupsLength; j++) {
  36813. contextSelectorGroups[j + i * contextSelectorGroupsLength].push(newContextSelectors[i]);
  36814. }
  36815. } // Update the `selectorText` and see repeat to see if there are more `:host-context`s.
  36816. selectorText = match[2];
  36817. } // The context selectors now must be combined with each other to capture all the possible
  36818. // selectors that `:host-context` can match. See `combineHostContextSelectors()` for more
  36819. // info about how this is done.
  36820. return contextSelectorGroups.map(contextSelectors => combineHostContextSelectors(contextSelectors, selectorText)).join(', ');
  36821. });
  36822. }
  36823. /*
  36824. * Convert combinators like ::shadow and pseudo-elements like ::content
  36825. * by replacing with space.
  36826. */
  36827. _convertShadowDOMSelectors(cssText) {
  36828. return _shadowDOMSelectorsRe.reduce((result, pattern) => result.replace(pattern, ' '), cssText);
  36829. } // change a selector like 'div' to 'name div'
  36830. _scopeSelectors(cssText, scopeSelector, hostSelector) {
  36831. return processRules(cssText, rule => {
  36832. let selector = rule.selector;
  36833. let content = rule.content;
  36834. if (rule.selector[0] !== '@') {
  36835. selector = this._scopeSelector(rule.selector, scopeSelector, hostSelector, this.strictStyling);
  36836. } else if (rule.selector.startsWith('@media') || rule.selector.startsWith('@supports') || rule.selector.startsWith('@document') || rule.selector.startsWith('@layer')) {
  36837. content = this._scopeSelectors(rule.content, scopeSelector, hostSelector);
  36838. } else if (rule.selector.startsWith('@font-face') || rule.selector.startsWith('@page')) {
  36839. content = this._stripScopingSelectors(rule.content);
  36840. }
  36841. return new CssRule(selector, content);
  36842. });
  36843. }
  36844. /**
  36845. * Handle a css text that is within a rule that should not contain scope selectors by simply
  36846. * removing them! An example of such a rule is `@font-face`.
  36847. *
  36848. * `@font-face` rules cannot contain nested selectors. Nor can they be nested under a selector.
  36849. * Normally this would be a syntax error by the author of the styles. But in some rare cases, such
  36850. * as importing styles from a library, and applying `:host ::ng-deep` to the imported styles, we
  36851. * can end up with broken css if the imported styles happen to contain @font-face rules.
  36852. *
  36853. * For example:
  36854. *
  36855. * ```
  36856. * :host ::ng-deep {
  36857. * import 'some/lib/containing/font-face';
  36858. * }
  36859. *
  36860. * Similar logic applies to `@page` rules which can contain a particular set of properties,
  36861. * as well as some specific at-rules. Since they can't be encapsulated, we have to strip
  36862. * any scoping selectors from them. For more information: https://www.w3.org/TR/css-page-3
  36863. * ```
  36864. */
  36865. _stripScopingSelectors(cssText) {
  36866. return processRules(cssText, rule => {
  36867. const selector = rule.selector.replace(_shadowDeepSelectors, ' ').replace(_polyfillHostNoCombinatorRe, ' ');
  36868. return new CssRule(selector, rule.content);
  36869. });
  36870. }
  36871. _scopeSelector(selector, scopeSelector, hostSelector, strict) {
  36872. return selector.split(',').map(part => part.trim().split(_shadowDeepSelectors)).map(deepParts => {
  36873. const [shallowPart, ...otherParts] = deepParts;
  36874. const applyScope = shallowPart => {
  36875. if (this._selectorNeedsScoping(shallowPart, scopeSelector)) {
  36876. return strict ? this._applyStrictSelectorScope(shallowPart, scopeSelector, hostSelector) : this._applySelectorScope(shallowPart, scopeSelector, hostSelector);
  36877. } else {
  36878. return shallowPart;
  36879. }
  36880. };
  36881. return [applyScope(shallowPart), ...otherParts].join(' ');
  36882. }).join(', ');
  36883. }
  36884. _selectorNeedsScoping(selector, scopeSelector) {
  36885. const re = this._makeScopeMatcher(scopeSelector);
  36886. return !re.test(selector);
  36887. }
  36888. _makeScopeMatcher(scopeSelector) {
  36889. const lre = /\[/g;
  36890. const rre = /\]/g;
  36891. scopeSelector = scopeSelector.replace(lre, '\\[').replace(rre, '\\]');
  36892. return new RegExp('^(' + scopeSelector + ')' + _selectorReSuffix, 'm');
  36893. }
  36894. _applySelectorScope(selector, scopeSelector, hostSelector) {
  36895. // Difference from webcomponents.js: scopeSelector could not be an array
  36896. return this._applySimpleSelectorScope(selector, scopeSelector, hostSelector);
  36897. } // scope via name and [is=name]
  36898. _applySimpleSelectorScope(selector, scopeSelector, hostSelector) {
  36899. // In Android browser, the lastIndex is not reset when the regex is used in String.replace()
  36900. _polyfillHostRe.lastIndex = 0;
  36901. if (_polyfillHostRe.test(selector)) {
  36902. const replaceBy = this.strictStyling ? `[${hostSelector}]` : scopeSelector;
  36903. return selector.replace(_polyfillHostNoCombinatorRe, (hnc, selector) => {
  36904. return selector.replace(/([^:]*)(:*)(.*)/, (_, before, colon, after) => {
  36905. return before + replaceBy + colon + after;
  36906. });
  36907. }).replace(_polyfillHostRe, replaceBy + ' ');
  36908. }
  36909. return scopeSelector + ' ' + selector;
  36910. } // return a selector with [name] suffix on each simple selector
  36911. // e.g. .foo.bar > .zot becomes .foo[name].bar[name] > .zot[name] /** @internal */
  36912. _applyStrictSelectorScope(selector, scopeSelector, hostSelector) {
  36913. const isRe = /\[is=([^\]]*)\]/g;
  36914. scopeSelector = scopeSelector.replace(isRe, (_, ...parts) => parts[0]);
  36915. const attrName = '[' + scopeSelector + ']';
  36916. const _scopeSelectorPart = p => {
  36917. let scopedP = p.trim();
  36918. if (!scopedP) {
  36919. return '';
  36920. }
  36921. if (p.indexOf(_polyfillHostNoCombinator) > -1) {
  36922. scopedP = this._applySimpleSelectorScope(p, scopeSelector, hostSelector);
  36923. } else {
  36924. // remove :host since it should be unnecessary
  36925. const t = p.replace(_polyfillHostRe, '');
  36926. if (t.length > 0) {
  36927. const matches = t.match(/([^:]*)(:*)(.*)/);
  36928. if (matches) {
  36929. scopedP = matches[1] + attrName + matches[2] + matches[3];
  36930. }
  36931. }
  36932. }
  36933. return scopedP;
  36934. };
  36935. const safeContent = new SafeSelector(selector);
  36936. selector = safeContent.content();
  36937. let scopedSelector = '';
  36938. let startIndex = 0;
  36939. let res;
  36940. const sep = /( |>|\+|~(?!=))\s*/g; // If a selector appears before :host it should not be shimmed as it
  36941. // matches on ancestor elements and not on elements in the host's shadow
  36942. // `:host-context(div)` is transformed to
  36943. // `-shadowcsshost-no-combinatordiv, div -shadowcsshost-no-combinator`
  36944. // the `div` is not part of the component in the 2nd selectors and should not be scoped.
  36945. // Historically `component-tag:host` was matching the component so we also want to preserve
  36946. // this behavior to avoid breaking legacy apps (it should not match).
  36947. // The behavior should be:
  36948. // - `tag:host` -> `tag[h]` (this is to avoid breaking legacy apps, should not match anything)
  36949. // - `tag :host` -> `tag [h]` (`tag` is not scoped because it's considered part of a
  36950. // `:host-context(tag)`)
  36951. const hasHost = selector.indexOf(_polyfillHostNoCombinator) > -1; // Only scope parts after the first `-shadowcsshost-no-combinator` when it is present
  36952. let shouldScope = !hasHost;
  36953. while ((res = sep.exec(selector)) !== null) {
  36954. const separator = res[1];
  36955. const part = selector.slice(startIndex, res.index).trim();
  36956. shouldScope = shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1;
  36957. const scopedPart = shouldScope ? _scopeSelectorPart(part) : part;
  36958. scopedSelector += `${scopedPart} ${separator} `;
  36959. startIndex = sep.lastIndex;
  36960. }
  36961. const part = selector.substring(startIndex);
  36962. shouldScope = shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1;
  36963. scopedSelector += shouldScope ? _scopeSelectorPart(part) : part; // replace the placeholders with their original values
  36964. return safeContent.restore(scopedSelector);
  36965. }
  36966. _insertPolyfillHostInCssText(selector) {
  36967. return selector.replace(_colonHostContextRe, _polyfillHostContext).replace(_colonHostRe, _polyfillHost);
  36968. }
  36969. }
  36970. class SafeSelector {
  36971. constructor(selector) {
  36972. this.placeholders = [];
  36973. this.index = 0; // Replaces attribute selectors with placeholders.
  36974. // The WS in [attr="va lue"] would otherwise be interpreted as a selector separator.
  36975. selector = this._escapeRegexMatches(selector, /(\[[^\]]*\])/g); // CSS allows for certain special characters to be used in selectors if they're escaped.
  36976. // E.g. `.foo:blue` won't match a class called `foo:blue`, because the colon denotes a
  36977. // pseudo-class, but writing `.foo\:blue` will match, because the colon was escaped.
  36978. // Replace all escape sequences (`\` followed by a character) with a placeholder so
  36979. // that our handling of pseudo-selectors doesn't mess with them.
  36980. selector = this._escapeRegexMatches(selector, /(\\.)/g); // Replaces the expression in `:nth-child(2n + 1)` with a placeholder.
  36981. // WS and "+" would otherwise be interpreted as selector separators.
  36982. this._content = selector.replace(/(:nth-[-\w]+)(\([^)]+\))/g, (_, pseudo, exp) => {
  36983. const replaceBy = `__ph-${this.index}__`;
  36984. this.placeholders.push(exp);
  36985. this.index++;
  36986. return pseudo + replaceBy;
  36987. });
  36988. }
  36989. restore(content) {
  36990. return content.replace(/__ph-(\d+)__/g, (_ph, index) => this.placeholders[+index]);
  36991. }
  36992. content() {
  36993. return this._content;
  36994. }
  36995. /**
  36996. * Replaces all of the substrings that match a regex within a
  36997. * special string (e.g. `__ph-0__`, `__ph-1__`, etc).
  36998. */
  36999. _escapeRegexMatches(content, pattern) {
  37000. return content.replace(pattern, (_, keep) => {
  37001. const replaceBy = `__ph-${this.index}__`;
  37002. this.placeholders.push(keep);
  37003. this.index++;
  37004. return replaceBy;
  37005. });
  37006. }
  37007. }
  37008. const _cssContentNextSelectorRe = /polyfill-next-selector[^}]*content:[\s]*?(['"])(.*?)\1[;\s]*}([^{]*?){/gim;
  37009. const _cssContentRuleRe = /(polyfill-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim;
  37010. const _cssContentUnscopedRuleRe = /(polyfill-unscoped-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim;
  37011. const _polyfillHost = '-shadowcsshost'; // note: :host-context pre-processed to -shadowcsshostcontext.
  37012. const _polyfillHostContext = '-shadowcsscontext';
  37013. const _parenSuffix = '(?:\\((' + '(?:\\([^)(]*\\)|[^)(]*)+?' + ')\\))?([^,{]*)';
  37014. const _cssColonHostRe = new RegExp(_polyfillHost + _parenSuffix, 'gim');
  37015. const _cssColonHostContextReGlobal = new RegExp(_polyfillHostContext + _parenSuffix, 'gim');
  37016. const _cssColonHostContextRe = new RegExp(_polyfillHostContext + _parenSuffix, 'im');
  37017. const _polyfillHostNoCombinator = _polyfillHost + '-no-combinator';
  37018. const _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\s]*)/;
  37019. const _shadowDOMSelectorsRe = [/::shadow/g, /::content/g, // Deprecated selectors
  37020. /\/shadow-deep\//g, /\/shadow\//g]; // The deep combinator is deprecated in the CSS spec
  37021. // Support for `>>>`, `deep`, `::ng-deep` is then also deprecated and will be removed in the future.
  37022. // see https://github.com/angular/angular/pull/17677
  37023. const _shadowDeepSelectors = /(?:>>>)|(?:\/deep\/)|(?:::ng-deep)/g;
  37024. const _selectorReSuffix = '([>\\s~+[.,{:][\\s\\S]*)?$';
  37025. const _polyfillHostRe = /-shadowcsshost/gim;
  37026. const _colonHostRe = /:host/gim;
  37027. const _colonHostContextRe = /:host-context/gim;
  37028. const _commentRe = /\/\*[\s\S]*?\*\//g;
  37029. function stripComments(input) {
  37030. return input.replace(_commentRe, '');
  37031. }
  37032. const _commentWithHashRe = /\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g;
  37033. function extractCommentsWithHash(input) {
  37034. return input.match(_commentWithHashRe) || [];
  37035. }
  37036. const BLOCK_PLACEHOLDER = '%BLOCK%';
  37037. const QUOTE_PLACEHOLDER = '%QUOTED%';
  37038. const _ruleRe = /(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g;
  37039. const _quotedRe = /%QUOTED%/g;
  37040. const CONTENT_PAIRS = new Map([['{', '}']]);
  37041. const QUOTE_PAIRS = new Map([[`"`, `"`], [`'`, `'`]]);
  37042. class CssRule {
  37043. constructor(selector, content) {
  37044. this.selector = selector;
  37045. this.content = content;
  37046. }
  37047. }
  37048. function processRules(input, ruleCallback) {
  37049. const inputWithEscapedQuotes = escapeBlocks(input, QUOTE_PAIRS, QUOTE_PLACEHOLDER);
  37050. const inputWithEscapedBlocks = escapeBlocks(inputWithEscapedQuotes.escapedString, CONTENT_PAIRS, BLOCK_PLACEHOLDER);
  37051. let nextBlockIndex = 0;
  37052. let nextQuoteIndex = 0;
  37053. return inputWithEscapedBlocks.escapedString.replace(_ruleRe, (...m) => {
  37054. const selector = m[2];
  37055. let content = '';
  37056. let suffix = m[4];
  37057. let contentPrefix = '';
  37058. if (suffix && suffix.startsWith('{' + BLOCK_PLACEHOLDER)) {
  37059. content = inputWithEscapedBlocks.blocks[nextBlockIndex++];
  37060. suffix = suffix.substring(BLOCK_PLACEHOLDER.length + 1);
  37061. contentPrefix = '{';
  37062. }
  37063. const rule = ruleCallback(new CssRule(selector, content));
  37064. return `${m[1]}${rule.selector}${m[3]}${contentPrefix}${rule.content}${suffix}`;
  37065. }).replace(_quotedRe, () => inputWithEscapedQuotes.blocks[nextQuoteIndex++]);
  37066. }
  37067. class StringWithEscapedBlocks {
  37068. constructor(escapedString, blocks) {
  37069. this.escapedString = escapedString;
  37070. this.blocks = blocks;
  37071. }
  37072. }
  37073. function escapeBlocks(input, charPairs, placeholder) {
  37074. const resultParts = [];
  37075. const escapedBlocks = [];
  37076. let openCharCount = 0;
  37077. let nonBlockStartIndex = 0;
  37078. let blockStartIndex = -1;
  37079. let openChar;
  37080. let closeChar;
  37081. for (let i = 0; i < input.length; i++) {
  37082. const char = input[i];
  37083. if (char === '\\') {
  37084. i++;
  37085. } else if (char === closeChar) {
  37086. openCharCount--;
  37087. if (openCharCount === 0) {
  37088. escapedBlocks.push(input.substring(blockStartIndex, i));
  37089. resultParts.push(placeholder);
  37090. nonBlockStartIndex = i;
  37091. blockStartIndex = -1;
  37092. openChar = closeChar = undefined;
  37093. }
  37094. } else if (char === openChar) {
  37095. openCharCount++;
  37096. } else if (openCharCount === 0 && charPairs.has(char)) {
  37097. openChar = char;
  37098. closeChar = charPairs.get(char);
  37099. openCharCount = 1;
  37100. blockStartIndex = i + 1;
  37101. resultParts.push(input.substring(nonBlockStartIndex, blockStartIndex));
  37102. }
  37103. }
  37104. if (blockStartIndex !== -1) {
  37105. escapedBlocks.push(input.substring(blockStartIndex));
  37106. resultParts.push(placeholder);
  37107. } else {
  37108. resultParts.push(input.substring(nonBlockStartIndex));
  37109. }
  37110. return new StringWithEscapedBlocks(resultParts.join(''), escapedBlocks);
  37111. }
  37112. /**
  37113. * Combine the `contextSelectors` with the `hostMarker` and the `otherSelectors`
  37114. * to create a selector that matches the same as `:host-context()`.
  37115. *
  37116. * Given a single context selector `A` we need to output selectors that match on the host and as an
  37117. * ancestor of the host:
  37118. *
  37119. * ```
  37120. * A <hostMarker>, A<hostMarker> {}
  37121. * ```
  37122. *
  37123. * When there is more than one context selector we also have to create combinations of those
  37124. * selectors with each other. For example if there are `A` and `B` selectors the output is:
  37125. *
  37126. * ```
  37127. * AB<hostMarker>, AB <hostMarker>, A B<hostMarker>,
  37128. * B A<hostMarker>, A B <hostMarker>, B A <hostMarker> {}
  37129. * ```
  37130. *
  37131. * And so on...
  37132. *
  37133. * @param hostMarker the string that selects the host element.
  37134. * @param contextSelectors an array of context selectors that will be combined.
  37135. * @param otherSelectors the rest of the selectors that are not context selectors.
  37136. */
  37137. function combineHostContextSelectors(contextSelectors, otherSelectors) {
  37138. const hostMarker = _polyfillHostNoCombinator;
  37139. _polyfillHostRe.lastIndex = 0; // reset the regex to ensure we get an accurate test
  37140. const otherSelectorsHasHost = _polyfillHostRe.test(otherSelectors); // If there are no context selectors then just output a host marker
  37141. if (contextSelectors.length === 0) {
  37142. return hostMarker + otherSelectors;
  37143. }
  37144. const combined = [contextSelectors.pop() || ''];
  37145. while (contextSelectors.length > 0) {
  37146. const length = combined.length;
  37147. const contextSelector = contextSelectors.pop();
  37148. for (let i = 0; i < length; i++) {
  37149. const previousSelectors = combined[i]; // Add the new selector as a descendant of the previous selectors
  37150. combined[length * 2 + i] = previousSelectors + ' ' + contextSelector; // Add the new selector as an ancestor of the previous selectors
  37151. combined[length + i] = contextSelector + ' ' + previousSelectors; // Add the new selector to act on the same element as the previous selectors
  37152. combined[i] = contextSelector + previousSelectors;
  37153. }
  37154. } // Finally connect the selector to the `hostMarker`s: either acting directly on the host
  37155. // (A<hostMarker>) or as an ancestor (A <hostMarker>).
  37156. return combined.map(s => otherSelectorsHasHost ? `${s}${otherSelectors}` : `${s}${hostMarker}${otherSelectors}, ${s} ${hostMarker}${otherSelectors}`).join(',');
  37157. }
  37158. /**
  37159. * Mutate the given `groups` array so that there are `multiples` clones of the original array
  37160. * stored.
  37161. *
  37162. * For example `repeatGroups([a, b], 3)` will result in `[a, b, a, b, a, b]` - but importantly the
  37163. * newly added groups will be clones of the original.
  37164. *
  37165. * @param groups An array of groups of strings that will be repeated. This array is mutated
  37166. * in-place.
  37167. * @param multiples The number of times the current groups should appear.
  37168. */
  37169. function repeatGroups(groups, multiples) {
  37170. const length = groups.length;
  37171. for (let i = 1; i < multiples; i++) {
  37172. for (let j = 0; j < length; j++) {
  37173. groups[j + i * length] = groups[j].slice(0);
  37174. }
  37175. }
  37176. }
  37177. /**
  37178. * @license
  37179. * Copyright Google LLC All Rights Reserved.
  37180. *
  37181. * Use of this source code is governed by an MIT-style license that can be
  37182. * found in the LICENSE file at https://angular.io/license
  37183. */
  37184. /**
  37185. * Parses string representation of a style and converts it into object literal.
  37186. *
  37187. * @param value string representation of style as used in the `style` attribute in HTML.
  37188. * Example: `color: red; height: auto`.
  37189. * @returns An array of style property name and value pairs, e.g. `['color', 'red', 'height',
  37190. * 'auto']`
  37191. */
  37192. function parse(value) {
  37193. // we use a string array here instead of a string map
  37194. // because a string-map is not guaranteed to retain the
  37195. // order of the entries whereas a string array can be
  37196. // constructed in a [key, value, key, value] format.
  37197. const styles = [];
  37198. let i = 0;
  37199. let parenDepth = 0;
  37200. let quote = 0
  37201. /* Char.QuoteNone */
  37202. ;
  37203. let valueStart = 0;
  37204. let propStart = 0;
  37205. let currentProp = null;
  37206. let valueHasQuotes = false;
  37207. while (i < value.length) {
  37208. const token = value.charCodeAt(i++);
  37209. switch (token) {
  37210. case 40
  37211. /* Char.OpenParen */
  37212. :
  37213. parenDepth++;
  37214. break;
  37215. case 41
  37216. /* Char.CloseParen */
  37217. :
  37218. parenDepth--;
  37219. break;
  37220. case 39
  37221. /* Char.QuoteSingle */
  37222. :
  37223. // valueStart needs to be there since prop values don't
  37224. // have quotes in CSS
  37225. valueHasQuotes = valueHasQuotes || valueStart > 0;
  37226. if (quote === 0
  37227. /* Char.QuoteNone */
  37228. ) {
  37229. quote = 39
  37230. /* Char.QuoteSingle */
  37231. ;
  37232. } else if (quote === 39
  37233. /* Char.QuoteSingle */
  37234. && value.charCodeAt(i - 1) !== 92
  37235. /* Char.BackSlash */
  37236. ) {
  37237. quote = 0
  37238. /* Char.QuoteNone */
  37239. ;
  37240. }
  37241. break;
  37242. case 34
  37243. /* Char.QuoteDouble */
  37244. :
  37245. // same logic as above
  37246. valueHasQuotes = valueHasQuotes || valueStart > 0;
  37247. if (quote === 0
  37248. /* Char.QuoteNone */
  37249. ) {
  37250. quote = 34
  37251. /* Char.QuoteDouble */
  37252. ;
  37253. } else if (quote === 34
  37254. /* Char.QuoteDouble */
  37255. && value.charCodeAt(i - 1) !== 92
  37256. /* Char.BackSlash */
  37257. ) {
  37258. quote = 0
  37259. /* Char.QuoteNone */
  37260. ;
  37261. }
  37262. break;
  37263. case 58
  37264. /* Char.Colon */
  37265. :
  37266. if (!currentProp && parenDepth === 0 && quote === 0
  37267. /* Char.QuoteNone */
  37268. ) {
  37269. currentProp = hyphenate(value.substring(propStart, i - 1).trim());
  37270. valueStart = i;
  37271. }
  37272. break;
  37273. case 59
  37274. /* Char.Semicolon */
  37275. :
  37276. if (currentProp && valueStart > 0 && parenDepth === 0 && quote === 0
  37277. /* Char.QuoteNone */
  37278. ) {
  37279. const styleVal = value.substring(valueStart, i - 1).trim();
  37280. styles.push(currentProp, valueHasQuotes ? stripUnnecessaryQuotes(styleVal) : styleVal);
  37281. propStart = i;
  37282. valueStart = 0;
  37283. currentProp = null;
  37284. valueHasQuotes = false;
  37285. }
  37286. break;
  37287. }
  37288. }
  37289. if (currentProp && valueStart) {
  37290. const styleVal = value.slice(valueStart).trim();
  37291. styles.push(currentProp, valueHasQuotes ? stripUnnecessaryQuotes(styleVal) : styleVal);
  37292. }
  37293. return styles;
  37294. }
  37295. function stripUnnecessaryQuotes(value) {
  37296. const qS = value.charCodeAt(0);
  37297. const qE = value.charCodeAt(value.length - 1);
  37298. if (qS == qE && (qS == 39
  37299. /* Char.QuoteSingle */
  37300. || qS == 34
  37301. /* Char.QuoteDouble */
  37302. )) {
  37303. const tempValue = value.substring(1, value.length - 1); // special case to avoid using a multi-quoted string that was just chomped
  37304. // (e.g. `font-family: "Verdana", "sans-serif"`)
  37305. if (tempValue.indexOf('\'') == -1 && tempValue.indexOf('"') == -1) {
  37306. value = tempValue;
  37307. }
  37308. }
  37309. return value;
  37310. }
  37311. function hyphenate(value) {
  37312. return value.replace(/[a-z][A-Z]/g, v => {
  37313. return v.charAt(0) + '-' + v.charAt(1);
  37314. }).toLowerCase();
  37315. }
  37316. const IMPORTANT_FLAG = '!important';
  37317. /**
  37318. * Minimum amount of binding slots required in the runtime for style/class bindings.
  37319. *
  37320. * Styling in Angular uses up two slots in the runtime LView/TData data structures to
  37321. * record binding data, property information and metadata.
  37322. *
  37323. * When a binding is registered it will place the following information in the `LView`:
  37324. *
  37325. * slot 1) binding value
  37326. * slot 2) cached value (all other values collected before it in string form)
  37327. *
  37328. * When a binding is registered it will place the following information in the `TData`:
  37329. *
  37330. * slot 1) prop name
  37331. * slot 2) binding index that points to the previous style/class binding (and some extra config
  37332. * values)
  37333. *
  37334. * Let's imagine we have a binding that looks like so:
  37335. *
  37336. * ```
  37337. * <div [style.width]="x" [style.height]="y">
  37338. * ```
  37339. *
  37340. * Our `LView` and `TData` data-structures look like so:
  37341. *
  37342. * ```typescript
  37343. * LView = [
  37344. * // ...
  37345. * x, // value of x
  37346. * "width: x",
  37347. *
  37348. * y, // value of y
  37349. * "width: x; height: y",
  37350. * // ...
  37351. * ];
  37352. *
  37353. * TData = [
  37354. * // ...
  37355. * "width", // binding slot 20
  37356. * 0,
  37357. *
  37358. * "height",
  37359. * 20,
  37360. * // ...
  37361. * ];
  37362. * ```
  37363. *
  37364. * */
  37365. const MIN_STYLING_BINDING_SLOTS_REQUIRED = 2;
  37366. /**
  37367. * Produces creation/update instructions for all styling bindings (class and style)
  37368. *
  37369. * It also produces the creation instruction to register all initial styling values
  37370. * (which are all the static class="..." and style="..." attribute values that exist
  37371. * on an element within a template).
  37372. *
  37373. * The builder class below handles producing instructions for the following cases:
  37374. *
  37375. * - Static style/class attributes (style="..." and class="...")
  37376. * - Dynamic style/class map bindings ([style]="map" and [class]="map|string")
  37377. * - Dynamic style/class property bindings ([style.prop]="exp" and [class.name]="exp")
  37378. *
  37379. * Due to the complex relationship of all of these cases, the instructions generated
  37380. * for these attributes/properties/bindings must be done so in the correct order. The
  37381. * order which these must be generated is as follows:
  37382. *
  37383. * if (createMode) {
  37384. * styling(...)
  37385. * }
  37386. * if (updateMode) {
  37387. * styleMap(...)
  37388. * classMap(...)
  37389. * styleProp(...)
  37390. * classProp(...)
  37391. * }
  37392. *
  37393. * The creation/update methods within the builder class produce these instructions.
  37394. */
  37395. class StylingBuilder {
  37396. constructor(_directiveExpr) {
  37397. this._directiveExpr = _directiveExpr;
  37398. /** Whether or not there are any static styling values present */
  37399. this._hasInitialValues = false;
  37400. /**
  37401. * Whether or not there are any styling bindings present
  37402. * (i.e. `[style]`, `[class]`, `[style.prop]` or `[class.name]`)
  37403. */
  37404. this.hasBindings = false;
  37405. this.hasBindingsWithPipes = false;
  37406. /** the input for [class] (if it exists) */
  37407. this._classMapInput = null;
  37408. /** the input for [style] (if it exists) */
  37409. this._styleMapInput = null;
  37410. /** an array of each [style.prop] input */
  37411. this._singleStyleInputs = null;
  37412. /** an array of each [class.name] input */
  37413. this._singleClassInputs = null;
  37414. this._lastStylingInput = null;
  37415. this._firstStylingInput = null; // maps are used instead of hash maps because a Map will
  37416. // retain the ordering of the keys
  37417. /**
  37418. * Represents the location of each style binding in the template
  37419. * (e.g. `<div [style.width]="w" [style.height]="h">` implies
  37420. * that `width=0` and `height=1`)
  37421. */
  37422. this._stylesIndex = new Map();
  37423. /**
  37424. * Represents the location of each class binding in the template
  37425. * (e.g. `<div [class.big]="b" [class.hidden]="h">` implies
  37426. * that `big=0` and `hidden=1`)
  37427. */
  37428. this._classesIndex = new Map();
  37429. this._initialStyleValues = [];
  37430. this._initialClassValues = [];
  37431. }
  37432. /**
  37433. * Registers a given input to the styling builder to be later used when producing AOT code.
  37434. *
  37435. * The code below will only accept the input if it is somehow tied to styling (whether it be
  37436. * style/class bindings or static style/class attributes).
  37437. */
  37438. registerBoundInput(input) {
  37439. // [attr.style] or [attr.class] are skipped in the code below,
  37440. // they should not be treated as styling-based bindings since
  37441. // they are intended to be written directly to the attr and
  37442. // will therefore skip all style/class resolution that is present
  37443. // with style="", [style]="" and [style.prop]="", class="",
  37444. // [class.prop]="". [class]="" assignments
  37445. let binding = null;
  37446. let name = input.name;
  37447. switch (input.type) {
  37448. case 0
  37449. /* BindingType.Property */
  37450. :
  37451. binding = this.registerInputBasedOnName(name, input.value, input.sourceSpan);
  37452. break;
  37453. case 3
  37454. /* BindingType.Style */
  37455. :
  37456. binding = this.registerStyleInput(name, false, input.value, input.sourceSpan, input.unit);
  37457. break;
  37458. case 2
  37459. /* BindingType.Class */
  37460. :
  37461. binding = this.registerClassInput(name, false, input.value, input.sourceSpan);
  37462. break;
  37463. }
  37464. return binding ? true : false;
  37465. }
  37466. registerInputBasedOnName(name, expression, sourceSpan) {
  37467. let binding = null;
  37468. const prefix = name.substring(0, 6);
  37469. const isStyle = name === 'style' || prefix === 'style.' || prefix === 'style!';
  37470. const isClass = !isStyle && (name === 'class' || prefix === 'class.' || prefix === 'class!');
  37471. if (isStyle || isClass) {
  37472. const isMapBased = name.charAt(5) !== '.'; // style.prop or class.prop makes this a no
  37473. const property = name.slice(isMapBased ? 5 : 6); // the dot explains why there's a +1
  37474. if (isStyle) {
  37475. binding = this.registerStyleInput(property, isMapBased, expression, sourceSpan);
  37476. } else {
  37477. binding = this.registerClassInput(property, isMapBased, expression, sourceSpan);
  37478. }
  37479. }
  37480. return binding;
  37481. }
  37482. registerStyleInput(name, isMapBased, value, sourceSpan, suffix) {
  37483. if (isEmptyExpression(value)) {
  37484. return null;
  37485. } // CSS custom properties are case-sensitive so we shouldn't normalize them.
  37486. // See: https://www.w3.org/TR/css-variables-1/#defining-variables
  37487. if (!isCssCustomProperty(name)) {
  37488. name = hyphenate(name);
  37489. }
  37490. const {
  37491. property,
  37492. hasOverrideFlag,
  37493. suffix: bindingSuffix
  37494. } = parseProperty(name);
  37495. suffix = typeof suffix === 'string' && suffix.length !== 0 ? suffix : bindingSuffix;
  37496. const entry = {
  37497. name: property,
  37498. suffix: suffix,
  37499. value,
  37500. sourceSpan,
  37501. hasOverrideFlag
  37502. };
  37503. if (isMapBased) {
  37504. this._styleMapInput = entry;
  37505. } else {
  37506. (this._singleStyleInputs = this._singleStyleInputs || []).push(entry);
  37507. registerIntoMap(this._stylesIndex, property);
  37508. }
  37509. this._lastStylingInput = entry;
  37510. this._firstStylingInput = this._firstStylingInput || entry;
  37511. this._checkForPipes(value);
  37512. this.hasBindings = true;
  37513. return entry;
  37514. }
  37515. registerClassInput(name, isMapBased, value, sourceSpan) {
  37516. if (isEmptyExpression(value)) {
  37517. return null;
  37518. }
  37519. const {
  37520. property,
  37521. hasOverrideFlag
  37522. } = parseProperty(name);
  37523. const entry = {
  37524. name: property,
  37525. value,
  37526. sourceSpan,
  37527. hasOverrideFlag,
  37528. suffix: null
  37529. };
  37530. if (isMapBased) {
  37531. this._classMapInput = entry;
  37532. } else {
  37533. (this._singleClassInputs = this._singleClassInputs || []).push(entry);
  37534. registerIntoMap(this._classesIndex, property);
  37535. }
  37536. this._lastStylingInput = entry;
  37537. this._firstStylingInput = this._firstStylingInput || entry;
  37538. this._checkForPipes(value);
  37539. this.hasBindings = true;
  37540. return entry;
  37541. }
  37542. _checkForPipes(value) {
  37543. if (value instanceof ASTWithSource && value.ast instanceof BindingPipe) {
  37544. this.hasBindingsWithPipes = true;
  37545. }
  37546. }
  37547. /**
  37548. * Registers the element's static style string value to the builder.
  37549. *
  37550. * @param value the style string (e.g. `width:100px; height:200px;`)
  37551. */
  37552. registerStyleAttr(value) {
  37553. this._initialStyleValues = parse(value);
  37554. this._hasInitialValues = true;
  37555. }
  37556. /**
  37557. * Registers the element's static class string value to the builder.
  37558. *
  37559. * @param value the className string (e.g. `disabled gold zoom`)
  37560. */
  37561. registerClassAttr(value) {
  37562. this._initialClassValues = value.trim().split(/\s+/g);
  37563. this._hasInitialValues = true;
  37564. }
  37565. /**
  37566. * Appends all styling-related expressions to the provided attrs array.
  37567. *
  37568. * @param attrs an existing array where each of the styling expressions
  37569. * will be inserted into.
  37570. */
  37571. populateInitialStylingAttrs(attrs) {
  37572. // [CLASS_MARKER, 'foo', 'bar', 'baz' ...]
  37573. if (this._initialClassValues.length) {
  37574. attrs.push(literal(1
  37575. /* AttributeMarker.Classes */
  37576. ));
  37577. for (let i = 0; i < this._initialClassValues.length; i++) {
  37578. attrs.push(literal(this._initialClassValues[i]));
  37579. }
  37580. } // [STYLE_MARKER, 'width', '200px', 'height', '100px', ...]
  37581. if (this._initialStyleValues.length) {
  37582. attrs.push(literal(2
  37583. /* AttributeMarker.Styles */
  37584. ));
  37585. for (let i = 0; i < this._initialStyleValues.length; i += 2) {
  37586. attrs.push(literal(this._initialStyleValues[i]), literal(this._initialStyleValues[i + 1]));
  37587. }
  37588. }
  37589. }
  37590. /**
  37591. * Builds an instruction with all the expressions and parameters for `elementHostAttrs`.
  37592. *
  37593. * The instruction generation code below is used for producing the AOT statement code which is
  37594. * responsible for registering initial styles (within a directive hostBindings' creation block),
  37595. * as well as any of the provided attribute values, to the directive host element.
  37596. */
  37597. assignHostAttrs(attrs, definitionMap) {
  37598. if (this._directiveExpr && (attrs.length || this._hasInitialValues)) {
  37599. this.populateInitialStylingAttrs(attrs);
  37600. definitionMap.set('hostAttrs', literalArr(attrs));
  37601. }
  37602. }
  37603. /**
  37604. * Builds an instruction with all the expressions and parameters for `classMap`.
  37605. *
  37606. * The instruction data will contain all expressions for `classMap` to function
  37607. * which includes the `[class]` expression params.
  37608. */
  37609. buildClassMapInstruction(valueConverter) {
  37610. if (this._classMapInput) {
  37611. return this._buildMapBasedInstruction(valueConverter, true, this._classMapInput);
  37612. }
  37613. return null;
  37614. }
  37615. /**
  37616. * Builds an instruction with all the expressions and parameters for `styleMap`.
  37617. *
  37618. * The instruction data will contain all expressions for `styleMap` to function
  37619. * which includes the `[style]` expression params.
  37620. */
  37621. buildStyleMapInstruction(valueConverter) {
  37622. if (this._styleMapInput) {
  37623. return this._buildMapBasedInstruction(valueConverter, false, this._styleMapInput);
  37624. }
  37625. return null;
  37626. }
  37627. _buildMapBasedInstruction(valueConverter, isClassBased, stylingInput) {
  37628. // each styling binding value is stored in the LView
  37629. // map-based bindings allocate two slots: one for the
  37630. // previous binding value and another for the previous
  37631. // className or style attribute value.
  37632. let totalBindingSlotsRequired = MIN_STYLING_BINDING_SLOTS_REQUIRED; // these values must be outside of the update block so that they can
  37633. // be evaluated (the AST visit call) during creation time so that any
  37634. // pipes can be picked up in time before the template is built
  37635. const mapValue = stylingInput.value.visit(valueConverter);
  37636. let reference;
  37637. if (mapValue instanceof Interpolation) {
  37638. totalBindingSlotsRequired += mapValue.expressions.length;
  37639. reference = isClassBased ? getClassMapInterpolationExpression(mapValue) : getStyleMapInterpolationExpression(mapValue);
  37640. } else {
  37641. reference = isClassBased ? Identifiers.classMap : Identifiers.styleMap;
  37642. }
  37643. return {
  37644. reference,
  37645. calls: [{
  37646. supportsInterpolation: true,
  37647. sourceSpan: stylingInput.sourceSpan,
  37648. allocateBindingSlots: totalBindingSlotsRequired,
  37649. params: convertFn => {
  37650. const convertResult = convertFn(mapValue);
  37651. const params = Array.isArray(convertResult) ? convertResult : [convertResult];
  37652. return params;
  37653. }
  37654. }]
  37655. };
  37656. }
  37657. _buildSingleInputs(reference, inputs, valueConverter, getInterpolationExpressionFn, isClassBased) {
  37658. const instructions = [];
  37659. inputs.forEach(input => {
  37660. const previousInstruction = instructions[instructions.length - 1];
  37661. const value = input.value.visit(valueConverter);
  37662. let referenceForCall = reference; // each styling binding value is stored in the LView
  37663. // but there are two values stored for each binding:
  37664. // 1) the value itself
  37665. // 2) an intermediate value (concatenation of style up to this point).
  37666. // We need to store the intermediate value so that we don't allocate
  37667. // the strings on each CD.
  37668. let totalBindingSlotsRequired = MIN_STYLING_BINDING_SLOTS_REQUIRED;
  37669. if (value instanceof Interpolation) {
  37670. totalBindingSlotsRequired += value.expressions.length;
  37671. if (getInterpolationExpressionFn) {
  37672. referenceForCall = getInterpolationExpressionFn(value);
  37673. }
  37674. }
  37675. const call = {
  37676. sourceSpan: input.sourceSpan,
  37677. allocateBindingSlots: totalBindingSlotsRequired,
  37678. supportsInterpolation: !!getInterpolationExpressionFn,
  37679. params: convertFn => {
  37680. // params => stylingProp(propName, value, suffix)
  37681. const params = [];
  37682. params.push(literal(input.name));
  37683. const convertResult = convertFn(value);
  37684. if (Array.isArray(convertResult)) {
  37685. params.push(...convertResult);
  37686. } else {
  37687. params.push(convertResult);
  37688. } // [style.prop] bindings may use suffix values (e.g. px, em, etc...), therefore,
  37689. // if that is detected then we need to pass that in as an optional param.
  37690. if (!isClassBased && input.suffix !== null) {
  37691. params.push(literal(input.suffix));
  37692. }
  37693. return params;
  37694. }
  37695. }; // If we ended up generating a call to the same instruction as the previous styling property
  37696. // we can chain the calls together safely to save some bytes, otherwise we have to generate
  37697. // a separate instruction call. This is primarily a concern with interpolation instructions
  37698. // where we may start off with one `reference`, but end up using another based on the
  37699. // number of interpolations.
  37700. if (previousInstruction && previousInstruction.reference === referenceForCall) {
  37701. previousInstruction.calls.push(call);
  37702. } else {
  37703. instructions.push({
  37704. reference: referenceForCall,
  37705. calls: [call]
  37706. });
  37707. }
  37708. });
  37709. return instructions;
  37710. }
  37711. _buildClassInputs(valueConverter) {
  37712. if (this._singleClassInputs) {
  37713. return this._buildSingleInputs(Identifiers.classProp, this._singleClassInputs, valueConverter, null, true);
  37714. }
  37715. return [];
  37716. }
  37717. _buildStyleInputs(valueConverter) {
  37718. if (this._singleStyleInputs) {
  37719. return this._buildSingleInputs(Identifiers.styleProp, this._singleStyleInputs, valueConverter, getStylePropInterpolationExpression, false);
  37720. }
  37721. return [];
  37722. }
  37723. /**
  37724. * Constructs all instructions which contain the expressions that will be placed
  37725. * into the update block of a template function or a directive hostBindings function.
  37726. */
  37727. buildUpdateLevelInstructions(valueConverter) {
  37728. const instructions = [];
  37729. if (this.hasBindings) {
  37730. const styleMapInstruction = this.buildStyleMapInstruction(valueConverter);
  37731. if (styleMapInstruction) {
  37732. instructions.push(styleMapInstruction);
  37733. }
  37734. const classMapInstruction = this.buildClassMapInstruction(valueConverter);
  37735. if (classMapInstruction) {
  37736. instructions.push(classMapInstruction);
  37737. }
  37738. instructions.push(...this._buildStyleInputs(valueConverter));
  37739. instructions.push(...this._buildClassInputs(valueConverter));
  37740. }
  37741. return instructions;
  37742. }
  37743. }
  37744. function registerIntoMap(map, key) {
  37745. if (!map.has(key)) {
  37746. map.set(key, map.size);
  37747. }
  37748. }
  37749. function parseProperty(name) {
  37750. let hasOverrideFlag = false;
  37751. const overrideIndex = name.indexOf(IMPORTANT_FLAG);
  37752. if (overrideIndex !== -1) {
  37753. name = overrideIndex > 0 ? name.substring(0, overrideIndex) : '';
  37754. hasOverrideFlag = true;
  37755. }
  37756. let suffix = null;
  37757. let property = name;
  37758. const unitIndex = name.lastIndexOf('.');
  37759. if (unitIndex > 0) {
  37760. suffix = name.slice(unitIndex + 1);
  37761. property = name.substring(0, unitIndex);
  37762. }
  37763. return {
  37764. property,
  37765. suffix,
  37766. hasOverrideFlag
  37767. };
  37768. }
  37769. /**
  37770. * Gets the instruction to generate for an interpolated class map.
  37771. * @param interpolation An Interpolation AST
  37772. */
  37773. function getClassMapInterpolationExpression(interpolation) {
  37774. switch (getInterpolationArgsLength(interpolation)) {
  37775. case 1:
  37776. return Identifiers.classMap;
  37777. case 3:
  37778. return Identifiers.classMapInterpolate1;
  37779. case 5:
  37780. return Identifiers.classMapInterpolate2;
  37781. case 7:
  37782. return Identifiers.classMapInterpolate3;
  37783. case 9:
  37784. return Identifiers.classMapInterpolate4;
  37785. case 11:
  37786. return Identifiers.classMapInterpolate5;
  37787. case 13:
  37788. return Identifiers.classMapInterpolate6;
  37789. case 15:
  37790. return Identifiers.classMapInterpolate7;
  37791. case 17:
  37792. return Identifiers.classMapInterpolate8;
  37793. default:
  37794. return Identifiers.classMapInterpolateV;
  37795. }
  37796. }
  37797. /**
  37798. * Gets the instruction to generate for an interpolated style map.
  37799. * @param interpolation An Interpolation AST
  37800. */
  37801. function getStyleMapInterpolationExpression(interpolation) {
  37802. switch (getInterpolationArgsLength(interpolation)) {
  37803. case 1:
  37804. return Identifiers.styleMap;
  37805. case 3:
  37806. return Identifiers.styleMapInterpolate1;
  37807. case 5:
  37808. return Identifiers.styleMapInterpolate2;
  37809. case 7:
  37810. return Identifiers.styleMapInterpolate3;
  37811. case 9:
  37812. return Identifiers.styleMapInterpolate4;
  37813. case 11:
  37814. return Identifiers.styleMapInterpolate5;
  37815. case 13:
  37816. return Identifiers.styleMapInterpolate6;
  37817. case 15:
  37818. return Identifiers.styleMapInterpolate7;
  37819. case 17:
  37820. return Identifiers.styleMapInterpolate8;
  37821. default:
  37822. return Identifiers.styleMapInterpolateV;
  37823. }
  37824. }
  37825. /**
  37826. * Gets the instruction to generate for an interpolated style prop.
  37827. * @param interpolation An Interpolation AST
  37828. */
  37829. function getStylePropInterpolationExpression(interpolation) {
  37830. switch (getInterpolationArgsLength(interpolation)) {
  37831. case 1:
  37832. return Identifiers.styleProp;
  37833. case 3:
  37834. return Identifiers.stylePropInterpolate1;
  37835. case 5:
  37836. return Identifiers.stylePropInterpolate2;
  37837. case 7:
  37838. return Identifiers.stylePropInterpolate3;
  37839. case 9:
  37840. return Identifiers.stylePropInterpolate4;
  37841. case 11:
  37842. return Identifiers.stylePropInterpolate5;
  37843. case 13:
  37844. return Identifiers.stylePropInterpolate6;
  37845. case 15:
  37846. return Identifiers.stylePropInterpolate7;
  37847. case 17:
  37848. return Identifiers.stylePropInterpolate8;
  37849. default:
  37850. return Identifiers.stylePropInterpolateV;
  37851. }
  37852. }
  37853. /**
  37854. * Checks whether property name is a custom CSS property.
  37855. * See: https://www.w3.org/TR/css-variables-1
  37856. */
  37857. function isCssCustomProperty(name) {
  37858. return name.startsWith('--');
  37859. }
  37860. function isEmptyExpression(ast) {
  37861. if (ast instanceof ASTWithSource) {
  37862. ast = ast.ast;
  37863. }
  37864. return ast instanceof EmptyExpr;
  37865. }
  37866. /**
  37867. * @license
  37868. * Copyright Google LLC All Rights Reserved.
  37869. *
  37870. * Use of this source code is governed by an MIT-style license that can be
  37871. * found in the LICENSE file at https://angular.io/license
  37872. */
  37873. var TokenType;
  37874. (function (TokenType) {
  37875. TokenType[TokenType["Character"] = 0] = "Character";
  37876. TokenType[TokenType["Identifier"] = 1] = "Identifier";
  37877. TokenType[TokenType["PrivateIdentifier"] = 2] = "PrivateIdentifier";
  37878. TokenType[TokenType["Keyword"] = 3] = "Keyword";
  37879. TokenType[TokenType["String"] = 4] = "String";
  37880. TokenType[TokenType["Operator"] = 5] = "Operator";
  37881. TokenType[TokenType["Number"] = 6] = "Number";
  37882. TokenType[TokenType["Error"] = 7] = "Error";
  37883. })(TokenType || (TokenType = {}));
  37884. const KEYWORDS = ['var', 'let', 'as', 'null', 'undefined', 'true', 'false', 'if', 'else', 'this'];
  37885. class Lexer {
  37886. tokenize(text) {
  37887. const scanner = new _Scanner(text);
  37888. const tokens = [];
  37889. let token = scanner.scanToken();
  37890. while (token != null) {
  37891. tokens.push(token);
  37892. token = scanner.scanToken();
  37893. }
  37894. return tokens;
  37895. }
  37896. }
  37897. class Token {
  37898. constructor(index, end, type, numValue, strValue) {
  37899. this.index = index;
  37900. this.end = end;
  37901. this.type = type;
  37902. this.numValue = numValue;
  37903. this.strValue = strValue;
  37904. }
  37905. isCharacter(code) {
  37906. return this.type == TokenType.Character && this.numValue == code;
  37907. }
  37908. isNumber() {
  37909. return this.type == TokenType.Number;
  37910. }
  37911. isString() {
  37912. return this.type == TokenType.String;
  37913. }
  37914. isOperator(operator) {
  37915. return this.type == TokenType.Operator && this.strValue == operator;
  37916. }
  37917. isIdentifier() {
  37918. return this.type == TokenType.Identifier;
  37919. }
  37920. isPrivateIdentifier() {
  37921. return this.type == TokenType.PrivateIdentifier;
  37922. }
  37923. isKeyword() {
  37924. return this.type == TokenType.Keyword;
  37925. }
  37926. isKeywordLet() {
  37927. return this.type == TokenType.Keyword && this.strValue == 'let';
  37928. }
  37929. isKeywordAs() {
  37930. return this.type == TokenType.Keyword && this.strValue == 'as';
  37931. }
  37932. isKeywordNull() {
  37933. return this.type == TokenType.Keyword && this.strValue == 'null';
  37934. }
  37935. isKeywordUndefined() {
  37936. return this.type == TokenType.Keyword && this.strValue == 'undefined';
  37937. }
  37938. isKeywordTrue() {
  37939. return this.type == TokenType.Keyword && this.strValue == 'true';
  37940. }
  37941. isKeywordFalse() {
  37942. return this.type == TokenType.Keyword && this.strValue == 'false';
  37943. }
  37944. isKeywordThis() {
  37945. return this.type == TokenType.Keyword && this.strValue == 'this';
  37946. }
  37947. isError() {
  37948. return this.type == TokenType.Error;
  37949. }
  37950. toNumber() {
  37951. return this.type == TokenType.Number ? this.numValue : -1;
  37952. }
  37953. toString() {
  37954. switch (this.type) {
  37955. case TokenType.Character:
  37956. case TokenType.Identifier:
  37957. case TokenType.Keyword:
  37958. case TokenType.Operator:
  37959. case TokenType.PrivateIdentifier:
  37960. case TokenType.String:
  37961. case TokenType.Error:
  37962. return this.strValue;
  37963. case TokenType.Number:
  37964. return this.numValue.toString();
  37965. default:
  37966. return null;
  37967. }
  37968. }
  37969. }
  37970. function newCharacterToken(index, end, code) {
  37971. return new Token(index, end, TokenType.Character, code, String.fromCharCode(code));
  37972. }
  37973. function newIdentifierToken(index, end, text) {
  37974. return new Token(index, end, TokenType.Identifier, 0, text);
  37975. }
  37976. function newPrivateIdentifierToken(index, end, text) {
  37977. return new Token(index, end, TokenType.PrivateIdentifier, 0, text);
  37978. }
  37979. function newKeywordToken(index, end, text) {
  37980. return new Token(index, end, TokenType.Keyword, 0, text);
  37981. }
  37982. function newOperatorToken(index, end, text) {
  37983. return new Token(index, end, TokenType.Operator, 0, text);
  37984. }
  37985. function newStringToken(index, end, text) {
  37986. return new Token(index, end, TokenType.String, 0, text);
  37987. }
  37988. function newNumberToken(index, end, n) {
  37989. return new Token(index, end, TokenType.Number, n, '');
  37990. }
  37991. function newErrorToken(index, end, message) {
  37992. return new Token(index, end, TokenType.Error, 0, message);
  37993. }
  37994. const EOF = new Token(-1, -1, TokenType.Character, 0, '');
  37995. class _Scanner {
  37996. constructor(input) {
  37997. this.input = input;
  37998. this.peek = 0;
  37999. this.index = -1;
  38000. this.length = input.length;
  38001. this.advance();
  38002. }
  38003. advance() {
  38004. this.peek = ++this.index >= this.length ? $EOF : this.input.charCodeAt(this.index);
  38005. }
  38006. scanToken() {
  38007. const input = this.input,
  38008. length = this.length;
  38009. let peek = this.peek,
  38010. index = this.index; // Skip whitespace.
  38011. while (peek <= $SPACE) {
  38012. if (++index >= length) {
  38013. peek = $EOF;
  38014. break;
  38015. } else {
  38016. peek = input.charCodeAt(index);
  38017. }
  38018. }
  38019. this.peek = peek;
  38020. this.index = index;
  38021. if (index >= length) {
  38022. return null;
  38023. } // Handle identifiers and numbers.
  38024. if (isIdentifierStart(peek)) return this.scanIdentifier();
  38025. if (isDigit(peek)) return this.scanNumber(index);
  38026. const start = index;
  38027. switch (peek) {
  38028. case $PERIOD:
  38029. this.advance();
  38030. return isDigit(this.peek) ? this.scanNumber(start) : newCharacterToken(start, this.index, $PERIOD);
  38031. case $LPAREN:
  38032. case $RPAREN:
  38033. case $LBRACE:
  38034. case $RBRACE:
  38035. case $LBRACKET:
  38036. case $RBRACKET:
  38037. case $COMMA:
  38038. case $COLON:
  38039. case $SEMICOLON:
  38040. return this.scanCharacter(start, peek);
  38041. case $SQ:
  38042. case $DQ:
  38043. return this.scanString();
  38044. case $HASH:
  38045. return this.scanPrivateIdentifier();
  38046. case $PLUS:
  38047. case $MINUS:
  38048. case $STAR:
  38049. case $SLASH:
  38050. case $PERCENT:
  38051. case $CARET:
  38052. return this.scanOperator(start, String.fromCharCode(peek));
  38053. case $QUESTION:
  38054. return this.scanQuestion(start);
  38055. case $LT:
  38056. case $GT:
  38057. return this.scanComplexOperator(start, String.fromCharCode(peek), $EQ, '=');
  38058. case $BANG:
  38059. case $EQ:
  38060. return this.scanComplexOperator(start, String.fromCharCode(peek), $EQ, '=', $EQ, '=');
  38061. case $AMPERSAND:
  38062. return this.scanComplexOperator(start, '&', $AMPERSAND, '&');
  38063. case $BAR:
  38064. return this.scanComplexOperator(start, '|', $BAR, '|');
  38065. case $NBSP:
  38066. while (isWhitespace(this.peek)) this.advance();
  38067. return this.scanToken();
  38068. }
  38069. this.advance();
  38070. return this.error(`Unexpected character [${String.fromCharCode(peek)}]`, 0);
  38071. }
  38072. scanCharacter(start, code) {
  38073. this.advance();
  38074. return newCharacterToken(start, this.index, code);
  38075. }
  38076. scanOperator(start, str) {
  38077. this.advance();
  38078. return newOperatorToken(start, this.index, str);
  38079. }
  38080. /**
  38081. * Tokenize a 2/3 char long operator
  38082. *
  38083. * @param start start index in the expression
  38084. * @param one first symbol (always part of the operator)
  38085. * @param twoCode code point for the second symbol
  38086. * @param two second symbol (part of the operator when the second code point matches)
  38087. * @param threeCode code point for the third symbol
  38088. * @param three third symbol (part of the operator when provided and matches source expression)
  38089. */
  38090. scanComplexOperator(start, one, twoCode, two, threeCode, three) {
  38091. this.advance();
  38092. let str = one;
  38093. if (this.peek == twoCode) {
  38094. this.advance();
  38095. str += two;
  38096. }
  38097. if (threeCode != null && this.peek == threeCode) {
  38098. this.advance();
  38099. str += three;
  38100. }
  38101. return newOperatorToken(start, this.index, str);
  38102. }
  38103. scanIdentifier() {
  38104. const start = this.index;
  38105. this.advance();
  38106. while (isIdentifierPart(this.peek)) this.advance();
  38107. const str = this.input.substring(start, this.index);
  38108. return KEYWORDS.indexOf(str) > -1 ? newKeywordToken(start, this.index, str) : newIdentifierToken(start, this.index, str);
  38109. }
  38110. /** Scans an ECMAScript private identifier. */
  38111. scanPrivateIdentifier() {
  38112. const start = this.index;
  38113. this.advance();
  38114. if (!isIdentifierStart(this.peek)) {
  38115. return this.error('Invalid character [#]', -1);
  38116. }
  38117. while (isIdentifierPart(this.peek)) this.advance();
  38118. const identifierName = this.input.substring(start, this.index);
  38119. return newPrivateIdentifierToken(start, this.index, identifierName);
  38120. }
  38121. scanNumber(start) {
  38122. let simple = this.index === start;
  38123. let hasSeparators = false;
  38124. this.advance(); // Skip initial digit.
  38125. while (true) {
  38126. if (isDigit(this.peek)) {// Do nothing.
  38127. } else if (this.peek === $_) {
  38128. // Separators are only valid when they're surrounded by digits. E.g. `1_0_1` is
  38129. // valid while `_101` and `101_` are not. The separator can't be next to the decimal
  38130. // point or another separator either. Note that it's unlikely that we'll hit a case where
  38131. // the underscore is at the start, because that's a valid identifier and it will be picked
  38132. // up earlier in the parsing. We validate for it anyway just in case.
  38133. if (!isDigit(this.input.charCodeAt(this.index - 1)) || !isDigit(this.input.charCodeAt(this.index + 1))) {
  38134. return this.error('Invalid numeric separator', 0);
  38135. }
  38136. hasSeparators = true;
  38137. } else if (this.peek === $PERIOD) {
  38138. simple = false;
  38139. } else if (isExponentStart(this.peek)) {
  38140. this.advance();
  38141. if (isExponentSign(this.peek)) this.advance();
  38142. if (!isDigit(this.peek)) return this.error('Invalid exponent', -1);
  38143. simple = false;
  38144. } else {
  38145. break;
  38146. }
  38147. this.advance();
  38148. }
  38149. let str = this.input.substring(start, this.index);
  38150. if (hasSeparators) {
  38151. str = str.replace(/_/g, '');
  38152. }
  38153. const value = simple ? parseIntAutoRadix(str) : parseFloat(str);
  38154. return newNumberToken(start, this.index, value);
  38155. }
  38156. scanString() {
  38157. const start = this.index;
  38158. const quote = this.peek;
  38159. this.advance(); // Skip initial quote.
  38160. let buffer = '';
  38161. let marker = this.index;
  38162. const input = this.input;
  38163. while (this.peek != quote) {
  38164. if (this.peek == $BACKSLASH) {
  38165. buffer += input.substring(marker, this.index);
  38166. this.advance();
  38167. let unescapedCode; // Workaround for TS2.1-introduced type strictness
  38168. this.peek = this.peek;
  38169. if (this.peek == $u) {
  38170. // 4 character hex code for unicode character.
  38171. const hex = input.substring(this.index + 1, this.index + 5);
  38172. if (/^[0-9a-f]+$/i.test(hex)) {
  38173. unescapedCode = parseInt(hex, 16);
  38174. } else {
  38175. return this.error(`Invalid unicode escape [\\u${hex}]`, 0);
  38176. }
  38177. for (let i = 0; i < 5; i++) {
  38178. this.advance();
  38179. }
  38180. } else {
  38181. unescapedCode = unescape(this.peek);
  38182. this.advance();
  38183. }
  38184. buffer += String.fromCharCode(unescapedCode);
  38185. marker = this.index;
  38186. } else if (this.peek == $EOF) {
  38187. return this.error('Unterminated quote', 0);
  38188. } else {
  38189. this.advance();
  38190. }
  38191. }
  38192. const last = input.substring(marker, this.index);
  38193. this.advance(); // Skip terminating quote.
  38194. return newStringToken(start, this.index, buffer + last);
  38195. }
  38196. scanQuestion(start) {
  38197. this.advance();
  38198. let str = '?'; // Either `a ?? b` or 'a?.b'.
  38199. if (this.peek === $QUESTION || this.peek === $PERIOD) {
  38200. str += this.peek === $PERIOD ? '.' : '?';
  38201. this.advance();
  38202. }
  38203. return newOperatorToken(start, this.index, str);
  38204. }
  38205. error(message, offset) {
  38206. const position = this.index + offset;
  38207. return newErrorToken(position, this.index, `Lexer Error: ${message} at column ${position} in expression [${this.input}]`);
  38208. }
  38209. }
  38210. function isIdentifierStart(code) {
  38211. return $a <= code && code <= $z || $A <= code && code <= $Z || code == $_ || code == $$;
  38212. }
  38213. function isIdentifier(input) {
  38214. if (input.length == 0) return false;
  38215. const scanner = new _Scanner(input);
  38216. if (!isIdentifierStart(scanner.peek)) return false;
  38217. scanner.advance();
  38218. while (scanner.peek !== $EOF) {
  38219. if (!isIdentifierPart(scanner.peek)) return false;
  38220. scanner.advance();
  38221. }
  38222. return true;
  38223. }
  38224. function isIdentifierPart(code) {
  38225. return isAsciiLetter(code) || isDigit(code) || code == $_ || code == $$;
  38226. }
  38227. function isExponentStart(code) {
  38228. return code == $e || code == $E;
  38229. }
  38230. function isExponentSign(code) {
  38231. return code == $MINUS || code == $PLUS;
  38232. }
  38233. function unescape(code) {
  38234. switch (code) {
  38235. case $n:
  38236. return $LF;
  38237. case $f:
  38238. return $FF;
  38239. case $r:
  38240. return $CR;
  38241. case $t:
  38242. return $TAB;
  38243. case $v:
  38244. return $VTAB;
  38245. default:
  38246. return code;
  38247. }
  38248. }
  38249. function parseIntAutoRadix(text) {
  38250. const result = parseInt(text);
  38251. if (isNaN(result)) {
  38252. throw new Error('Invalid integer literal when parsing ' + text);
  38253. }
  38254. return result;
  38255. }
  38256. /**
  38257. * @license
  38258. * Copyright Google LLC All Rights Reserved.
  38259. *
  38260. * Use of this source code is governed by an MIT-style license that can be
  38261. * found in the LICENSE file at https://angular.io/license
  38262. */
  38263. class SplitInterpolation {
  38264. constructor(strings, expressions, offsets) {
  38265. this.strings = strings;
  38266. this.expressions = expressions;
  38267. this.offsets = offsets;
  38268. }
  38269. }
  38270. class TemplateBindingParseResult {
  38271. constructor(templateBindings, warnings, errors) {
  38272. this.templateBindings = templateBindings;
  38273. this.warnings = warnings;
  38274. this.errors = errors;
  38275. }
  38276. }
  38277. class Parser$1 {
  38278. constructor(_lexer) {
  38279. this._lexer = _lexer;
  38280. this.errors = [];
  38281. }
  38282. parseAction(input, isAssignmentEvent, location, absoluteOffset, interpolationConfig = DEFAULT_INTERPOLATION_CONFIG) {
  38283. this._checkNoInterpolation(input, location, interpolationConfig);
  38284. const sourceToLex = this._stripComments(input);
  38285. const tokens = this._lexer.tokenize(sourceToLex);
  38286. let flags = 1
  38287. /* ParseFlags.Action */
  38288. ;
  38289. if (isAssignmentEvent) {
  38290. flags |= 2
  38291. /* ParseFlags.AssignmentEvent */
  38292. ;
  38293. }
  38294. const ast = new _ParseAST(input, location, absoluteOffset, tokens, flags, this.errors, 0).parseChain();
  38295. return new ASTWithSource(ast, input, location, absoluteOffset, this.errors);
  38296. }
  38297. parseBinding(input, location, absoluteOffset, interpolationConfig = DEFAULT_INTERPOLATION_CONFIG) {
  38298. const ast = this._parseBindingAst(input, location, absoluteOffset, interpolationConfig);
  38299. return new ASTWithSource(ast, input, location, absoluteOffset, this.errors);
  38300. }
  38301. checkSimpleExpression(ast) {
  38302. const checker = new SimpleExpressionChecker();
  38303. ast.visit(checker);
  38304. return checker.errors;
  38305. }
  38306. parseSimpleBinding(input, location, absoluteOffset, interpolationConfig = DEFAULT_INTERPOLATION_CONFIG) {
  38307. const ast = this._parseBindingAst(input, location, absoluteOffset, interpolationConfig);
  38308. const errors = this.checkSimpleExpression(ast);
  38309. if (errors.length > 0) {
  38310. this._reportError(`Host binding expression cannot contain ${errors.join(' ')}`, input, location);
  38311. }
  38312. return new ASTWithSource(ast, input, location, absoluteOffset, this.errors);
  38313. }
  38314. _reportError(message, input, errLocation, ctxLocation) {
  38315. this.errors.push(new ParserError(message, input, errLocation, ctxLocation));
  38316. }
  38317. _parseBindingAst(input, location, absoluteOffset, interpolationConfig) {
  38318. this._checkNoInterpolation(input, location, interpolationConfig);
  38319. const sourceToLex = this._stripComments(input);
  38320. const tokens = this._lexer.tokenize(sourceToLex);
  38321. return new _ParseAST(input, location, absoluteOffset, tokens, 0
  38322. /* ParseFlags.None */
  38323. , this.errors, 0).parseChain();
  38324. }
  38325. /**
  38326. * Parse microsyntax template expression and return a list of bindings or
  38327. * parsing errors in case the given expression is invalid.
  38328. *
  38329. * For example,
  38330. * ```
  38331. * <div *ngFor="let item of items">
  38332. * ^ ^ absoluteValueOffset for `templateValue`
  38333. * absoluteKeyOffset for `templateKey`
  38334. * ```
  38335. * contains three bindings:
  38336. * 1. ngFor -> null
  38337. * 2. item -> NgForOfContext.$implicit
  38338. * 3. ngForOf -> items
  38339. *
  38340. * This is apparent from the de-sugared template:
  38341. * ```
  38342. * <ng-template ngFor let-item [ngForOf]="items">
  38343. * ```
  38344. *
  38345. * @param templateKey name of directive, without the * prefix. For example: ngIf, ngFor
  38346. * @param templateValue RHS of the microsyntax attribute
  38347. * @param templateUrl template filename if it's external, component filename if it's inline
  38348. * @param absoluteKeyOffset start of the `templateKey`
  38349. * @param absoluteValueOffset start of the `templateValue`
  38350. */
  38351. parseTemplateBindings(templateKey, templateValue, templateUrl, absoluteKeyOffset, absoluteValueOffset) {
  38352. const tokens = this._lexer.tokenize(templateValue);
  38353. const parser = new _ParseAST(templateValue, templateUrl, absoluteValueOffset, tokens, 0
  38354. /* ParseFlags.None */
  38355. , this.errors, 0
  38356. /* relative offset */
  38357. );
  38358. return parser.parseTemplateBindings({
  38359. source: templateKey,
  38360. span: new AbsoluteSourceSpan(absoluteKeyOffset, absoluteKeyOffset + templateKey.length)
  38361. });
  38362. }
  38363. parseInterpolation(input, location, absoluteOffset, interpolatedTokens, interpolationConfig = DEFAULT_INTERPOLATION_CONFIG) {
  38364. const {
  38365. strings,
  38366. expressions,
  38367. offsets
  38368. } = this.splitInterpolation(input, location, interpolatedTokens, interpolationConfig);
  38369. if (expressions.length === 0) return null;
  38370. const expressionNodes = [];
  38371. for (let i = 0; i < expressions.length; ++i) {
  38372. const expressionText = expressions[i].text;
  38373. const sourceToLex = this._stripComments(expressionText);
  38374. const tokens = this._lexer.tokenize(sourceToLex);
  38375. const ast = new _ParseAST(input, location, absoluteOffset, tokens, 0
  38376. /* ParseFlags.None */
  38377. , this.errors, offsets[i]).parseChain();
  38378. expressionNodes.push(ast);
  38379. }
  38380. return this.createInterpolationAst(strings.map(s => s.text), expressionNodes, input, location, absoluteOffset);
  38381. }
  38382. /**
  38383. * Similar to `parseInterpolation`, but treats the provided string as a single expression
  38384. * element that would normally appear within the interpolation prefix and suffix (`{{` and `}}`).
  38385. * This is used for parsing the switch expression in ICUs.
  38386. */
  38387. parseInterpolationExpression(expression, location, absoluteOffset) {
  38388. const sourceToLex = this._stripComments(expression);
  38389. const tokens = this._lexer.tokenize(sourceToLex);
  38390. const ast = new _ParseAST(expression, location, absoluteOffset, tokens, 0
  38391. /* ParseFlags.None */
  38392. , this.errors, 0).parseChain();
  38393. const strings = ['', '']; // The prefix and suffix strings are both empty
  38394. return this.createInterpolationAst(strings, [ast], expression, location, absoluteOffset);
  38395. }
  38396. createInterpolationAst(strings, expressions, input, location, absoluteOffset) {
  38397. const span = new ParseSpan(0, input.length);
  38398. const interpolation = new Interpolation(span, span.toAbsolute(absoluteOffset), strings, expressions);
  38399. return new ASTWithSource(interpolation, input, location, absoluteOffset, this.errors);
  38400. }
  38401. /**
  38402. * Splits a string of text into "raw" text segments and expressions present in interpolations in
  38403. * the string.
  38404. * Returns `null` if there are no interpolations, otherwise a
  38405. * `SplitInterpolation` with splits that look like
  38406. * <raw text> <expression> <raw text> ... <raw text> <expression> <raw text>
  38407. */
  38408. splitInterpolation(input, location, interpolatedTokens, interpolationConfig = DEFAULT_INTERPOLATION_CONFIG) {
  38409. var _a;
  38410. const strings = [];
  38411. const expressions = [];
  38412. const offsets = [];
  38413. const inputToTemplateIndexMap = interpolatedTokens ? getIndexMapForOriginalTemplate(interpolatedTokens) : null;
  38414. let i = 0;
  38415. let atInterpolation = false;
  38416. let extendLastString = false;
  38417. let {
  38418. start: interpStart,
  38419. end: interpEnd
  38420. } = interpolationConfig;
  38421. while (i < input.length) {
  38422. if (!atInterpolation) {
  38423. // parse until starting {{
  38424. const start = i;
  38425. i = input.indexOf(interpStart, i);
  38426. if (i === -1) {
  38427. i = input.length;
  38428. }
  38429. const text = input.substring(start, i);
  38430. strings.push({
  38431. text,
  38432. start,
  38433. end: i
  38434. });
  38435. atInterpolation = true;
  38436. } else {
  38437. // parse from starting {{ to ending }} while ignoring content inside quotes.
  38438. const fullStart = i;
  38439. const exprStart = fullStart + interpStart.length;
  38440. const exprEnd = this._getInterpolationEndIndex(input, interpEnd, exprStart);
  38441. if (exprEnd === -1) {
  38442. // Could not find the end of the interpolation; do not parse an expression.
  38443. // Instead we should extend the content on the last raw string.
  38444. atInterpolation = false;
  38445. extendLastString = true;
  38446. break;
  38447. }
  38448. const fullEnd = exprEnd + interpEnd.length;
  38449. const text = input.substring(exprStart, exprEnd);
  38450. if (text.trim().length === 0) {
  38451. this._reportError('Blank expressions are not allowed in interpolated strings', input, `at column ${i} in`, location);
  38452. }
  38453. expressions.push({
  38454. text,
  38455. start: fullStart,
  38456. end: fullEnd
  38457. });
  38458. const startInOriginalTemplate = (_a = inputToTemplateIndexMap === null || inputToTemplateIndexMap === void 0 ? void 0 : inputToTemplateIndexMap.get(fullStart)) !== null && _a !== void 0 ? _a : fullStart;
  38459. const offset = startInOriginalTemplate + interpStart.length;
  38460. offsets.push(offset);
  38461. i = fullEnd;
  38462. atInterpolation = false;
  38463. }
  38464. }
  38465. if (!atInterpolation) {
  38466. // If we are now at a text section, add the remaining content as a raw string.
  38467. if (extendLastString) {
  38468. const piece = strings[strings.length - 1];
  38469. piece.text += input.substring(i);
  38470. piece.end = input.length;
  38471. } else {
  38472. strings.push({
  38473. text: input.substring(i),
  38474. start: i,
  38475. end: input.length
  38476. });
  38477. }
  38478. }
  38479. return new SplitInterpolation(strings, expressions, offsets);
  38480. }
  38481. wrapLiteralPrimitive(input, location, absoluteOffset) {
  38482. const span = new ParseSpan(0, input == null ? 0 : input.length);
  38483. return new ASTWithSource(new LiteralPrimitive(span, span.toAbsolute(absoluteOffset), input), input, location, absoluteOffset, this.errors);
  38484. }
  38485. _stripComments(input) {
  38486. const i = this._commentStart(input);
  38487. return i != null ? input.substring(0, i) : input;
  38488. }
  38489. _commentStart(input) {
  38490. let outerQuote = null;
  38491. for (let i = 0; i < input.length - 1; i++) {
  38492. const char = input.charCodeAt(i);
  38493. const nextChar = input.charCodeAt(i + 1);
  38494. if (char === $SLASH && nextChar == $SLASH && outerQuote == null) return i;
  38495. if (outerQuote === char) {
  38496. outerQuote = null;
  38497. } else if (outerQuote == null && isQuote(char)) {
  38498. outerQuote = char;
  38499. }
  38500. }
  38501. return null;
  38502. }
  38503. _checkNoInterpolation(input, location, {
  38504. start,
  38505. end
  38506. }) {
  38507. let startIndex = -1;
  38508. let endIndex = -1;
  38509. for (const charIndex of this._forEachUnquotedChar(input, 0)) {
  38510. if (startIndex === -1) {
  38511. if (input.startsWith(start)) {
  38512. startIndex = charIndex;
  38513. }
  38514. } else {
  38515. endIndex = this._getInterpolationEndIndex(input, end, charIndex);
  38516. if (endIndex > -1) {
  38517. break;
  38518. }
  38519. }
  38520. }
  38521. if (startIndex > -1 && endIndex > -1) {
  38522. this._reportError(`Got interpolation (${start}${end}) where expression was expected`, input, `at column ${startIndex} in`, location);
  38523. }
  38524. }
  38525. /**
  38526. * Finds the index of the end of an interpolation expression
  38527. * while ignoring comments and quoted content.
  38528. */
  38529. _getInterpolationEndIndex(input, expressionEnd, start) {
  38530. for (const charIndex of this._forEachUnquotedChar(input, start)) {
  38531. if (input.startsWith(expressionEnd, charIndex)) {
  38532. return charIndex;
  38533. } // Nothing else in the expression matters after we've
  38534. // hit a comment so look directly for the end token.
  38535. if (input.startsWith('//', charIndex)) {
  38536. return input.indexOf(expressionEnd, charIndex);
  38537. }
  38538. }
  38539. return -1;
  38540. }
  38541. /**
  38542. * Generator used to iterate over the character indexes of a string that are outside of quotes.
  38543. * @param input String to loop through.
  38544. * @param start Index within the string at which to start.
  38545. */
  38546. *_forEachUnquotedChar(input, start) {
  38547. let currentQuote = null;
  38548. let escapeCount = 0;
  38549. for (let i = start; i < input.length; i++) {
  38550. const char = input[i]; // Skip the characters inside quotes. Note that we only care about the outer-most
  38551. // quotes matching up and we need to account for escape characters.
  38552. if (isQuote(input.charCodeAt(i)) && (currentQuote === null || currentQuote === char) && escapeCount % 2 === 0) {
  38553. currentQuote = currentQuote === null ? char : null;
  38554. } else if (currentQuote === null) {
  38555. yield i;
  38556. }
  38557. escapeCount = char === '\\' ? escapeCount + 1 : 0;
  38558. }
  38559. }
  38560. }
  38561. /** Describes a stateful context an expression parser is in. */
  38562. var ParseContextFlags;
  38563. (function (ParseContextFlags) {
  38564. ParseContextFlags[ParseContextFlags["None"] = 0] = "None";
  38565. /**
  38566. * A Writable context is one in which a value may be written to an lvalue.
  38567. * For example, after we see a property access, we may expect a write to the
  38568. * property via the "=" operator.
  38569. * prop
  38570. * ^ possible "=" after
  38571. */
  38572. ParseContextFlags[ParseContextFlags["Writable"] = 1] = "Writable";
  38573. })(ParseContextFlags || (ParseContextFlags = {}));
  38574. class _ParseAST {
  38575. constructor(input, location, absoluteOffset, tokens, parseFlags, errors, offset) {
  38576. this.input = input;
  38577. this.location = location;
  38578. this.absoluteOffset = absoluteOffset;
  38579. this.tokens = tokens;
  38580. this.parseFlags = parseFlags;
  38581. this.errors = errors;
  38582. this.offset = offset;
  38583. this.rparensExpected = 0;
  38584. this.rbracketsExpected = 0;
  38585. this.rbracesExpected = 0;
  38586. this.context = ParseContextFlags.None; // Cache of expression start and input indeces to the absolute source span they map to, used to
  38587. // prevent creating superfluous source spans in `sourceSpan`.
  38588. // A serial of the expression start and input index is used for mapping because both are stateful
  38589. // and may change for subsequent expressions visited by the parser.
  38590. this.sourceSpanCache = new Map();
  38591. this.index = 0;
  38592. }
  38593. peek(offset) {
  38594. const i = this.index + offset;
  38595. return i < this.tokens.length ? this.tokens[i] : EOF;
  38596. }
  38597. get next() {
  38598. return this.peek(0);
  38599. }
  38600. /** Whether all the parser input has been processed. */
  38601. get atEOF() {
  38602. return this.index >= this.tokens.length;
  38603. }
  38604. /**
  38605. * Index of the next token to be processed, or the end of the last token if all have been
  38606. * processed.
  38607. */
  38608. get inputIndex() {
  38609. return this.atEOF ? this.currentEndIndex : this.next.index + this.offset;
  38610. }
  38611. /**
  38612. * End index of the last processed token, or the start of the first token if none have been
  38613. * processed.
  38614. */
  38615. get currentEndIndex() {
  38616. if (this.index > 0) {
  38617. const curToken = this.peek(-1);
  38618. return curToken.end + this.offset;
  38619. } // No tokens have been processed yet; return the next token's start or the length of the input
  38620. // if there is no token.
  38621. if (this.tokens.length === 0) {
  38622. return this.input.length + this.offset;
  38623. }
  38624. return this.next.index + this.offset;
  38625. }
  38626. /**
  38627. * Returns the absolute offset of the start of the current token.
  38628. */
  38629. get currentAbsoluteOffset() {
  38630. return this.absoluteOffset + this.inputIndex;
  38631. }
  38632. /**
  38633. * Retrieve a `ParseSpan` from `start` to the current position (or to `artificialEndIndex` if
  38634. * provided).
  38635. *
  38636. * @param start Position from which the `ParseSpan` will start.
  38637. * @param artificialEndIndex Optional ending index to be used if provided (and if greater than the
  38638. * natural ending index)
  38639. */
  38640. span(start, artificialEndIndex) {
  38641. let endIndex = this.currentEndIndex;
  38642. if (artificialEndIndex !== undefined && artificialEndIndex > this.currentEndIndex) {
  38643. endIndex = artificialEndIndex;
  38644. } // In some unusual parsing scenarios (like when certain tokens are missing and an `EmptyExpr` is
  38645. // being created), the current token may already be advanced beyond the `currentEndIndex`. This
  38646. // appears to be a deep-seated parser bug.
  38647. //
  38648. // As a workaround for now, swap the start and end indices to ensure a valid `ParseSpan`.
  38649. // TODO(alxhub): fix the bug upstream in the parser state, and remove this workaround.
  38650. if (start > endIndex) {
  38651. const tmp = endIndex;
  38652. endIndex = start;
  38653. start = tmp;
  38654. }
  38655. return new ParseSpan(start, endIndex);
  38656. }
  38657. sourceSpan(start, artificialEndIndex) {
  38658. const serial = `${start}@${this.inputIndex}:${artificialEndIndex}`;
  38659. if (!this.sourceSpanCache.has(serial)) {
  38660. this.sourceSpanCache.set(serial, this.span(start, artificialEndIndex).toAbsolute(this.absoluteOffset));
  38661. }
  38662. return this.sourceSpanCache.get(serial);
  38663. }
  38664. advance() {
  38665. this.index++;
  38666. }
  38667. /**
  38668. * Executes a callback in the provided context.
  38669. */
  38670. withContext(context, cb) {
  38671. this.context |= context;
  38672. const ret = cb();
  38673. this.context ^= context;
  38674. return ret;
  38675. }
  38676. consumeOptionalCharacter(code) {
  38677. if (this.next.isCharacter(code)) {
  38678. this.advance();
  38679. return true;
  38680. } else {
  38681. return false;
  38682. }
  38683. }
  38684. peekKeywordLet() {
  38685. return this.next.isKeywordLet();
  38686. }
  38687. peekKeywordAs() {
  38688. return this.next.isKeywordAs();
  38689. }
  38690. /**
  38691. * Consumes an expected character, otherwise emits an error about the missing expected character
  38692. * and skips over the token stream until reaching a recoverable point.
  38693. *
  38694. * See `this.error` and `this.skip` for more details.
  38695. */
  38696. expectCharacter(code) {
  38697. if (this.consumeOptionalCharacter(code)) return;
  38698. this.error(`Missing expected ${String.fromCharCode(code)}`);
  38699. }
  38700. consumeOptionalOperator(op) {
  38701. if (this.next.isOperator(op)) {
  38702. this.advance();
  38703. return true;
  38704. } else {
  38705. return false;
  38706. }
  38707. }
  38708. expectOperator(operator) {
  38709. if (this.consumeOptionalOperator(operator)) return;
  38710. this.error(`Missing expected operator ${operator}`);
  38711. }
  38712. prettyPrintToken(tok) {
  38713. return tok === EOF ? 'end of input' : `token ${tok}`;
  38714. }
  38715. expectIdentifierOrKeyword() {
  38716. const n = this.next;
  38717. if (!n.isIdentifier() && !n.isKeyword()) {
  38718. if (n.isPrivateIdentifier()) {
  38719. this._reportErrorForPrivateIdentifier(n, 'expected identifier or keyword');
  38720. } else {
  38721. this.error(`Unexpected ${this.prettyPrintToken(n)}, expected identifier or keyword`);
  38722. }
  38723. return null;
  38724. }
  38725. this.advance();
  38726. return n.toString();
  38727. }
  38728. expectIdentifierOrKeywordOrString() {
  38729. const n = this.next;
  38730. if (!n.isIdentifier() && !n.isKeyword() && !n.isString()) {
  38731. if (n.isPrivateIdentifier()) {
  38732. this._reportErrorForPrivateIdentifier(n, 'expected identifier, keyword or string');
  38733. } else {
  38734. this.error(`Unexpected ${this.prettyPrintToken(n)}, expected identifier, keyword, or string`);
  38735. }
  38736. return '';
  38737. }
  38738. this.advance();
  38739. return n.toString();
  38740. }
  38741. parseChain() {
  38742. const exprs = [];
  38743. const start = this.inputIndex;
  38744. while (this.index < this.tokens.length) {
  38745. const expr = this.parsePipe();
  38746. exprs.push(expr);
  38747. if (this.consumeOptionalCharacter($SEMICOLON)) {
  38748. if (!(this.parseFlags & 1
  38749. /* ParseFlags.Action */
  38750. )) {
  38751. this.error('Binding expression cannot contain chained expression');
  38752. }
  38753. while (this.consumeOptionalCharacter($SEMICOLON)) {} // read all semicolons
  38754. } else if (this.index < this.tokens.length) {
  38755. const errorIndex = this.index;
  38756. this.error(`Unexpected token '${this.next}'`); // The `error` call above will skip ahead to the next recovery point in an attempt to
  38757. // recover part of the expression, but that might be the token we started from which will
  38758. // lead to an infinite loop. If that's the case, break the loop assuming that we can't
  38759. // parse further.
  38760. if (this.index === errorIndex) {
  38761. break;
  38762. }
  38763. }
  38764. }
  38765. if (exprs.length === 0) {
  38766. // We have no expressions so create an empty expression that spans the entire input length
  38767. const artificialStart = this.offset;
  38768. const artificialEnd = this.offset + this.input.length;
  38769. return new EmptyExpr(this.span(artificialStart, artificialEnd), this.sourceSpan(artificialStart, artificialEnd));
  38770. }
  38771. if (exprs.length == 1) return exprs[0];
  38772. return new Chain(this.span(start), this.sourceSpan(start), exprs);
  38773. }
  38774. parsePipe() {
  38775. const start = this.inputIndex;
  38776. let result = this.parseExpression();
  38777. if (this.consumeOptionalOperator('|')) {
  38778. if (this.parseFlags & 1
  38779. /* ParseFlags.Action */
  38780. ) {
  38781. this.error('Cannot have a pipe in an action expression');
  38782. }
  38783. do {
  38784. const nameStart = this.inputIndex;
  38785. let nameId = this.expectIdentifierOrKeyword();
  38786. let nameSpan;
  38787. let fullSpanEnd = undefined;
  38788. if (nameId !== null) {
  38789. nameSpan = this.sourceSpan(nameStart);
  38790. } else {
  38791. // No valid identifier was found, so we'll assume an empty pipe name ('').
  38792. nameId = ''; // However, there may have been whitespace present between the pipe character and the next
  38793. // token in the sequence (or the end of input). We want to track this whitespace so that
  38794. // the `BindingPipe` we produce covers not just the pipe character, but any trailing
  38795. // whitespace beyond it. Another way of thinking about this is that the zero-length name
  38796. // is assumed to be at the end of any whitespace beyond the pipe character.
  38797. //
  38798. // Therefore, we push the end of the `ParseSpan` for this pipe all the way up to the
  38799. // beginning of the next token, or until the end of input if the next token is EOF.
  38800. fullSpanEnd = this.next.index !== -1 ? this.next.index : this.input.length + this.offset; // The `nameSpan` for an empty pipe name is zero-length at the end of any whitespace
  38801. // beyond the pipe character.
  38802. nameSpan = new ParseSpan(fullSpanEnd, fullSpanEnd).toAbsolute(this.absoluteOffset);
  38803. }
  38804. const args = [];
  38805. while (this.consumeOptionalCharacter($COLON)) {
  38806. args.push(this.parseExpression()); // If there are additional expressions beyond the name, then the artificial end for the
  38807. // name is no longer relevant.
  38808. }
  38809. result = new BindingPipe(this.span(start), this.sourceSpan(start, fullSpanEnd), result, nameId, args, nameSpan);
  38810. } while (this.consumeOptionalOperator('|'));
  38811. }
  38812. return result;
  38813. }
  38814. parseExpression() {
  38815. return this.parseConditional();
  38816. }
  38817. parseConditional() {
  38818. const start = this.inputIndex;
  38819. const result = this.parseLogicalOr();
  38820. if (this.consumeOptionalOperator('?')) {
  38821. const yes = this.parsePipe();
  38822. let no;
  38823. if (!this.consumeOptionalCharacter($COLON)) {
  38824. const end = this.inputIndex;
  38825. const expression = this.input.substring(start, end);
  38826. this.error(`Conditional expression ${expression} requires all 3 expressions`);
  38827. no = new EmptyExpr(this.span(start), this.sourceSpan(start));
  38828. } else {
  38829. no = this.parsePipe();
  38830. }
  38831. return new Conditional(this.span(start), this.sourceSpan(start), result, yes, no);
  38832. } else {
  38833. return result;
  38834. }
  38835. }
  38836. parseLogicalOr() {
  38837. // '||'
  38838. const start = this.inputIndex;
  38839. let result = this.parseLogicalAnd();
  38840. while (this.consumeOptionalOperator('||')) {
  38841. const right = this.parseLogicalAnd();
  38842. result = new Binary(this.span(start), this.sourceSpan(start), '||', result, right);
  38843. }
  38844. return result;
  38845. }
  38846. parseLogicalAnd() {
  38847. // '&&'
  38848. const start = this.inputIndex;
  38849. let result = this.parseNullishCoalescing();
  38850. while (this.consumeOptionalOperator('&&')) {
  38851. const right = this.parseNullishCoalescing();
  38852. result = new Binary(this.span(start), this.sourceSpan(start), '&&', result, right);
  38853. }
  38854. return result;
  38855. }
  38856. parseNullishCoalescing() {
  38857. // '??'
  38858. const start = this.inputIndex;
  38859. let result = this.parseEquality();
  38860. while (this.consumeOptionalOperator('??')) {
  38861. const right = this.parseEquality();
  38862. result = new Binary(this.span(start), this.sourceSpan(start), '??', result, right);
  38863. }
  38864. return result;
  38865. }
  38866. parseEquality() {
  38867. // '==','!=','===','!=='
  38868. const start = this.inputIndex;
  38869. let result = this.parseRelational();
  38870. while (this.next.type == TokenType.Operator) {
  38871. const operator = this.next.strValue;
  38872. switch (operator) {
  38873. case '==':
  38874. case '===':
  38875. case '!=':
  38876. case '!==':
  38877. this.advance();
  38878. const right = this.parseRelational();
  38879. result = new Binary(this.span(start), this.sourceSpan(start), operator, result, right);
  38880. continue;
  38881. }
  38882. break;
  38883. }
  38884. return result;
  38885. }
  38886. parseRelational() {
  38887. // '<', '>', '<=', '>='
  38888. const start = this.inputIndex;
  38889. let result = this.parseAdditive();
  38890. while (this.next.type == TokenType.Operator) {
  38891. const operator = this.next.strValue;
  38892. switch (operator) {
  38893. case '<':
  38894. case '>':
  38895. case '<=':
  38896. case '>=':
  38897. this.advance();
  38898. const right = this.parseAdditive();
  38899. result = new Binary(this.span(start), this.sourceSpan(start), operator, result, right);
  38900. continue;
  38901. }
  38902. break;
  38903. }
  38904. return result;
  38905. }
  38906. parseAdditive() {
  38907. // '+', '-'
  38908. const start = this.inputIndex;
  38909. let result = this.parseMultiplicative();
  38910. while (this.next.type == TokenType.Operator) {
  38911. const operator = this.next.strValue;
  38912. switch (operator) {
  38913. case '+':
  38914. case '-':
  38915. this.advance();
  38916. let right = this.parseMultiplicative();
  38917. result = new Binary(this.span(start), this.sourceSpan(start), operator, result, right);
  38918. continue;
  38919. }
  38920. break;
  38921. }
  38922. return result;
  38923. }
  38924. parseMultiplicative() {
  38925. // '*', '%', '/'
  38926. const start = this.inputIndex;
  38927. let result = this.parsePrefix();
  38928. while (this.next.type == TokenType.Operator) {
  38929. const operator = this.next.strValue;
  38930. switch (operator) {
  38931. case '*':
  38932. case '%':
  38933. case '/':
  38934. this.advance();
  38935. let right = this.parsePrefix();
  38936. result = new Binary(this.span(start), this.sourceSpan(start), operator, result, right);
  38937. continue;
  38938. }
  38939. break;
  38940. }
  38941. return result;
  38942. }
  38943. parsePrefix() {
  38944. if (this.next.type == TokenType.Operator) {
  38945. const start = this.inputIndex;
  38946. const operator = this.next.strValue;
  38947. let result;
  38948. switch (operator) {
  38949. case '+':
  38950. this.advance();
  38951. result = this.parsePrefix();
  38952. return Unary.createPlus(this.span(start), this.sourceSpan(start), result);
  38953. case '-':
  38954. this.advance();
  38955. result = this.parsePrefix();
  38956. return Unary.createMinus(this.span(start), this.sourceSpan(start), result);
  38957. case '!':
  38958. this.advance();
  38959. result = this.parsePrefix();
  38960. return new PrefixNot(this.span(start), this.sourceSpan(start), result);
  38961. }
  38962. }
  38963. return this.parseCallChain();
  38964. }
  38965. parseCallChain() {
  38966. const start = this.inputIndex;
  38967. let result = this.parsePrimary();
  38968. while (true) {
  38969. if (this.consumeOptionalCharacter($PERIOD)) {
  38970. result = this.parseAccessMember(result, start, false);
  38971. } else if (this.consumeOptionalOperator('?.')) {
  38972. if (this.consumeOptionalCharacter($LPAREN)) {
  38973. result = this.parseCall(result, start, true);
  38974. } else {
  38975. result = this.consumeOptionalCharacter($LBRACKET) ? this.parseKeyedReadOrWrite(result, start, true) : this.parseAccessMember(result, start, true);
  38976. }
  38977. } else if (this.consumeOptionalCharacter($LBRACKET)) {
  38978. result = this.parseKeyedReadOrWrite(result, start, false);
  38979. } else if (this.consumeOptionalCharacter($LPAREN)) {
  38980. result = this.parseCall(result, start, false);
  38981. } else if (this.consumeOptionalOperator('!')) {
  38982. result = new NonNullAssert(this.span(start), this.sourceSpan(start), result);
  38983. } else {
  38984. return result;
  38985. }
  38986. }
  38987. }
  38988. parsePrimary() {
  38989. const start = this.inputIndex;
  38990. if (this.consumeOptionalCharacter($LPAREN)) {
  38991. this.rparensExpected++;
  38992. const result = this.parsePipe();
  38993. this.rparensExpected--;
  38994. this.expectCharacter($RPAREN);
  38995. return result;
  38996. } else if (this.next.isKeywordNull()) {
  38997. this.advance();
  38998. return new LiteralPrimitive(this.span(start), this.sourceSpan(start), null);
  38999. } else if (this.next.isKeywordUndefined()) {
  39000. this.advance();
  39001. return new LiteralPrimitive(this.span(start), this.sourceSpan(start), void 0);
  39002. } else if (this.next.isKeywordTrue()) {
  39003. this.advance();
  39004. return new LiteralPrimitive(this.span(start), this.sourceSpan(start), true);
  39005. } else if (this.next.isKeywordFalse()) {
  39006. this.advance();
  39007. return new LiteralPrimitive(this.span(start), this.sourceSpan(start), false);
  39008. } else if (this.next.isKeywordThis()) {
  39009. this.advance();
  39010. return new ThisReceiver(this.span(start), this.sourceSpan(start));
  39011. } else if (this.consumeOptionalCharacter($LBRACKET)) {
  39012. this.rbracketsExpected++;
  39013. const elements = this.parseExpressionList($RBRACKET);
  39014. this.rbracketsExpected--;
  39015. this.expectCharacter($RBRACKET);
  39016. return new LiteralArray(this.span(start), this.sourceSpan(start), elements);
  39017. } else if (this.next.isCharacter($LBRACE)) {
  39018. return this.parseLiteralMap();
  39019. } else if (this.next.isIdentifier()) {
  39020. return this.parseAccessMember(new ImplicitReceiver(this.span(start), this.sourceSpan(start)), start, false);
  39021. } else if (this.next.isNumber()) {
  39022. const value = this.next.toNumber();
  39023. this.advance();
  39024. return new LiteralPrimitive(this.span(start), this.sourceSpan(start), value);
  39025. } else if (this.next.isString()) {
  39026. const literalValue = this.next.toString();
  39027. this.advance();
  39028. return new LiteralPrimitive(this.span(start), this.sourceSpan(start), literalValue);
  39029. } else if (this.next.isPrivateIdentifier()) {
  39030. this._reportErrorForPrivateIdentifier(this.next, null);
  39031. return new EmptyExpr(this.span(start), this.sourceSpan(start));
  39032. } else if (this.index >= this.tokens.length) {
  39033. this.error(`Unexpected end of expression: ${this.input}`);
  39034. return new EmptyExpr(this.span(start), this.sourceSpan(start));
  39035. } else {
  39036. this.error(`Unexpected token ${this.next}`);
  39037. return new EmptyExpr(this.span(start), this.sourceSpan(start));
  39038. }
  39039. }
  39040. parseExpressionList(terminator) {
  39041. const result = [];
  39042. do {
  39043. if (!this.next.isCharacter(terminator)) {
  39044. result.push(this.parsePipe());
  39045. } else {
  39046. break;
  39047. }
  39048. } while (this.consumeOptionalCharacter($COMMA));
  39049. return result;
  39050. }
  39051. parseLiteralMap() {
  39052. const keys = [];
  39053. const values = [];
  39054. const start = this.inputIndex;
  39055. this.expectCharacter($LBRACE);
  39056. if (!this.consumeOptionalCharacter($RBRACE)) {
  39057. this.rbracesExpected++;
  39058. do {
  39059. const keyStart = this.inputIndex;
  39060. const quoted = this.next.isString();
  39061. const key = this.expectIdentifierOrKeywordOrString();
  39062. keys.push({
  39063. key,
  39064. quoted
  39065. }); // Properties with quoted keys can't use the shorthand syntax.
  39066. if (quoted) {
  39067. this.expectCharacter($COLON);
  39068. values.push(this.parsePipe());
  39069. } else if (this.consumeOptionalCharacter($COLON)) {
  39070. values.push(this.parsePipe());
  39071. } else {
  39072. const span = this.span(keyStart);
  39073. const sourceSpan = this.sourceSpan(keyStart);
  39074. values.push(new PropertyRead(span, sourceSpan, sourceSpan, new ImplicitReceiver(span, sourceSpan), key));
  39075. }
  39076. } while (this.consumeOptionalCharacter($COMMA));
  39077. this.rbracesExpected--;
  39078. this.expectCharacter($RBRACE);
  39079. }
  39080. return new LiteralMap(this.span(start), this.sourceSpan(start), keys, values);
  39081. }
  39082. parseAccessMember(readReceiver, start, isSafe) {
  39083. const nameStart = this.inputIndex;
  39084. const id = this.withContext(ParseContextFlags.Writable, () => {
  39085. var _a;
  39086. const id = (_a = this.expectIdentifierOrKeyword()) !== null && _a !== void 0 ? _a : '';
  39087. if (id.length === 0) {
  39088. this.error(`Expected identifier for property access`, readReceiver.span.end);
  39089. }
  39090. return id;
  39091. });
  39092. const nameSpan = this.sourceSpan(nameStart);
  39093. let receiver;
  39094. if (isSafe) {
  39095. if (this.consumeOptionalAssignment()) {
  39096. this.error('The \'?.\' operator cannot be used in the assignment');
  39097. receiver = new EmptyExpr(this.span(start), this.sourceSpan(start));
  39098. } else {
  39099. receiver = new SafePropertyRead(this.span(start), this.sourceSpan(start), nameSpan, readReceiver, id);
  39100. }
  39101. } else {
  39102. if (this.consumeOptionalAssignment()) {
  39103. if (!(this.parseFlags & 1
  39104. /* ParseFlags.Action */
  39105. )) {
  39106. this.error('Bindings cannot contain assignments');
  39107. return new EmptyExpr(this.span(start), this.sourceSpan(start));
  39108. }
  39109. const value = this.parseConditional();
  39110. receiver = new PropertyWrite(this.span(start), this.sourceSpan(start), nameSpan, readReceiver, id, value);
  39111. } else {
  39112. receiver = new PropertyRead(this.span(start), this.sourceSpan(start), nameSpan, readReceiver, id);
  39113. }
  39114. }
  39115. return receiver;
  39116. }
  39117. parseCall(receiver, start, isSafe) {
  39118. const argumentStart = this.inputIndex;
  39119. this.rparensExpected++;
  39120. const args = this.parseCallArguments();
  39121. const argumentSpan = this.span(argumentStart, this.inputIndex).toAbsolute(this.absoluteOffset);
  39122. this.expectCharacter($RPAREN);
  39123. this.rparensExpected--;
  39124. const span = this.span(start);
  39125. const sourceSpan = this.sourceSpan(start);
  39126. return isSafe ? new SafeCall(span, sourceSpan, receiver, args, argumentSpan) : new Call(span, sourceSpan, receiver, args, argumentSpan);
  39127. }
  39128. consumeOptionalAssignment() {
  39129. // When parsing assignment events (originating from two-way-binding aka banana-in-a-box syntax),
  39130. // it is valid for the primary expression to be terminated by the non-null operator. This
  39131. // primary expression is substituted as LHS of the assignment operator to achieve
  39132. // two-way-binding, such that the LHS could be the non-null operator. The grammar doesn't
  39133. // naturally allow for this syntax, so assignment events are parsed specially.
  39134. if (this.parseFlags & 2
  39135. /* ParseFlags.AssignmentEvent */
  39136. && this.next.isOperator('!') && this.peek(1).isOperator('=')) {
  39137. // First skip over the ! operator.
  39138. this.advance(); // Then skip over the = operator, to fully consume the optional assignment operator.
  39139. this.advance();
  39140. return true;
  39141. }
  39142. return this.consumeOptionalOperator('=');
  39143. }
  39144. parseCallArguments() {
  39145. if (this.next.isCharacter($RPAREN)) return [];
  39146. const positionals = [];
  39147. do {
  39148. positionals.push(this.parsePipe());
  39149. } while (this.consumeOptionalCharacter($COMMA));
  39150. return positionals;
  39151. }
  39152. /**
  39153. * Parses an identifier, a keyword, a string with an optional `-` in between,
  39154. * and returns the string along with its absolute source span.
  39155. */
  39156. expectTemplateBindingKey() {
  39157. let result = '';
  39158. let operatorFound = false;
  39159. const start = this.currentAbsoluteOffset;
  39160. do {
  39161. result += this.expectIdentifierOrKeywordOrString();
  39162. operatorFound = this.consumeOptionalOperator('-');
  39163. if (operatorFound) {
  39164. result += '-';
  39165. }
  39166. } while (operatorFound);
  39167. return {
  39168. source: result,
  39169. span: new AbsoluteSourceSpan(start, start + result.length)
  39170. };
  39171. }
  39172. /**
  39173. * Parse microsyntax template expression and return a list of bindings or
  39174. * parsing errors in case the given expression is invalid.
  39175. *
  39176. * For example,
  39177. * ```
  39178. * <div *ngFor="let item of items; index as i; trackBy: func">
  39179. * ```
  39180. * contains five bindings:
  39181. * 1. ngFor -> null
  39182. * 2. item -> NgForOfContext.$implicit
  39183. * 3. ngForOf -> items
  39184. * 4. i -> NgForOfContext.index
  39185. * 5. ngForTrackBy -> func
  39186. *
  39187. * For a full description of the microsyntax grammar, see
  39188. * https://gist.github.com/mhevery/d3530294cff2e4a1b3fe15ff75d08855
  39189. *
  39190. * @param templateKey name of the microsyntax directive, like ngIf, ngFor,
  39191. * without the *, along with its absolute span.
  39192. */
  39193. parseTemplateBindings(templateKey) {
  39194. const bindings = []; // The first binding is for the template key itself
  39195. // In *ngFor="let item of items", key = "ngFor", value = null
  39196. // In *ngIf="cond | pipe", key = "ngIf", value = "cond | pipe"
  39197. bindings.push(...this.parseDirectiveKeywordBindings(templateKey));
  39198. while (this.index < this.tokens.length) {
  39199. // If it starts with 'let', then this must be variable declaration
  39200. const letBinding = this.parseLetBinding();
  39201. if (letBinding) {
  39202. bindings.push(letBinding);
  39203. } else {
  39204. // Two possible cases here, either `value "as" key` or
  39205. // "directive-keyword expression". We don't know which case, but both
  39206. // "value" and "directive-keyword" are template binding key, so consume
  39207. // the key first.
  39208. const key = this.expectTemplateBindingKey(); // Peek at the next token, if it is "as" then this must be variable
  39209. // declaration.
  39210. const binding = this.parseAsBinding(key);
  39211. if (binding) {
  39212. bindings.push(binding);
  39213. } else {
  39214. // Otherwise the key must be a directive keyword, like "of". Transform
  39215. // the key to actual key. Eg. of -> ngForOf, trackBy -> ngForTrackBy
  39216. key.source = templateKey.source + key.source.charAt(0).toUpperCase() + key.source.substring(1);
  39217. bindings.push(...this.parseDirectiveKeywordBindings(key));
  39218. }
  39219. }
  39220. this.consumeStatementTerminator();
  39221. }
  39222. return new TemplateBindingParseResult(bindings, []
  39223. /* warnings */
  39224. , this.errors);
  39225. }
  39226. parseKeyedReadOrWrite(receiver, start, isSafe) {
  39227. return this.withContext(ParseContextFlags.Writable, () => {
  39228. this.rbracketsExpected++;
  39229. const key = this.parsePipe();
  39230. if (key instanceof EmptyExpr) {
  39231. this.error(`Key access cannot be empty`);
  39232. }
  39233. this.rbracketsExpected--;
  39234. this.expectCharacter($RBRACKET);
  39235. if (this.consumeOptionalOperator('=')) {
  39236. if (isSafe) {
  39237. this.error('The \'?.\' operator cannot be used in the assignment');
  39238. } else {
  39239. const value = this.parseConditional();
  39240. return new KeyedWrite(this.span(start), this.sourceSpan(start), receiver, key, value);
  39241. }
  39242. } else {
  39243. return isSafe ? new SafeKeyedRead(this.span(start), this.sourceSpan(start), receiver, key) : new KeyedRead(this.span(start), this.sourceSpan(start), receiver, key);
  39244. }
  39245. return new EmptyExpr(this.span(start), this.sourceSpan(start));
  39246. });
  39247. }
  39248. /**
  39249. * Parse a directive keyword, followed by a mandatory expression.
  39250. * For example, "of items", "trackBy: func".
  39251. * The bindings are: ngForOf -> items, ngForTrackBy -> func
  39252. * There could be an optional "as" binding that follows the expression.
  39253. * For example,
  39254. * ```
  39255. * *ngFor="let item of items | slice:0:1 as collection".
  39256. * ^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^
  39257. * keyword bound target optional 'as' binding
  39258. * ```
  39259. *
  39260. * @param key binding key, for example, ngFor, ngIf, ngForOf, along with its
  39261. * absolute span.
  39262. */
  39263. parseDirectiveKeywordBindings(key) {
  39264. const bindings = [];
  39265. this.consumeOptionalCharacter($COLON); // trackBy: trackByFunction
  39266. const value = this.getDirectiveBoundTarget();
  39267. let spanEnd = this.currentAbsoluteOffset; // The binding could optionally be followed by "as". For example,
  39268. // *ngIf="cond | pipe as x". In this case, the key in the "as" binding
  39269. // is "x" and the value is the template key itself ("ngIf"). Note that the
  39270. // 'key' in the current context now becomes the "value" in the next binding.
  39271. const asBinding = this.parseAsBinding(key);
  39272. if (!asBinding) {
  39273. this.consumeStatementTerminator();
  39274. spanEnd = this.currentAbsoluteOffset;
  39275. }
  39276. const sourceSpan = new AbsoluteSourceSpan(key.span.start, spanEnd);
  39277. bindings.push(new ExpressionBinding(sourceSpan, key, value));
  39278. if (asBinding) {
  39279. bindings.push(asBinding);
  39280. }
  39281. return bindings;
  39282. }
  39283. /**
  39284. * Return the expression AST for the bound target of a directive keyword
  39285. * binding. For example,
  39286. * ```
  39287. * *ngIf="condition | pipe"
  39288. * ^^^^^^^^^^^^^^^^ bound target for "ngIf"
  39289. * *ngFor="let item of items"
  39290. * ^^^^^ bound target for "ngForOf"
  39291. * ```
  39292. */
  39293. getDirectiveBoundTarget() {
  39294. if (this.next === EOF || this.peekKeywordAs() || this.peekKeywordLet()) {
  39295. return null;
  39296. }
  39297. const ast = this.parsePipe(); // example: "condition | async"
  39298. const {
  39299. start,
  39300. end
  39301. } = ast.span;
  39302. const value = this.input.substring(start, end);
  39303. return new ASTWithSource(ast, value, this.location, this.absoluteOffset + start, this.errors);
  39304. }
  39305. /**
  39306. * Return the binding for a variable declared using `as`. Note that the order
  39307. * of the key-value pair in this declaration is reversed. For example,
  39308. * ```
  39309. * *ngFor="let item of items; index as i"
  39310. * ^^^^^ ^
  39311. * value key
  39312. * ```
  39313. *
  39314. * @param value name of the value in the declaration, "ngIf" in the example
  39315. * above, along with its absolute span.
  39316. */
  39317. parseAsBinding(value) {
  39318. if (!this.peekKeywordAs()) {
  39319. return null;
  39320. }
  39321. this.advance(); // consume the 'as' keyword
  39322. const key = this.expectTemplateBindingKey();
  39323. this.consumeStatementTerminator();
  39324. const sourceSpan = new AbsoluteSourceSpan(value.span.start, this.currentAbsoluteOffset);
  39325. return new VariableBinding(sourceSpan, key, value);
  39326. }
  39327. /**
  39328. * Return the binding for a variable declared using `let`. For example,
  39329. * ```
  39330. * *ngFor="let item of items; let i=index;"
  39331. * ^^^^^^^^ ^^^^^^^^^^^
  39332. * ```
  39333. * In the first binding, `item` is bound to `NgForOfContext.$implicit`.
  39334. * In the second binding, `i` is bound to `NgForOfContext.index`.
  39335. */
  39336. parseLetBinding() {
  39337. if (!this.peekKeywordLet()) {
  39338. return null;
  39339. }
  39340. const spanStart = this.currentAbsoluteOffset;
  39341. this.advance(); // consume the 'let' keyword
  39342. const key = this.expectTemplateBindingKey();
  39343. let value = null;
  39344. if (this.consumeOptionalOperator('=')) {
  39345. value = this.expectTemplateBindingKey();
  39346. }
  39347. this.consumeStatementTerminator();
  39348. const sourceSpan = new AbsoluteSourceSpan(spanStart, this.currentAbsoluteOffset);
  39349. return new VariableBinding(sourceSpan, key, value);
  39350. }
  39351. /**
  39352. * Consume the optional statement terminator: semicolon or comma.
  39353. */
  39354. consumeStatementTerminator() {
  39355. this.consumeOptionalCharacter($SEMICOLON) || this.consumeOptionalCharacter($COMMA);
  39356. }
  39357. /**
  39358. * Records an error and skips over the token stream until reaching a recoverable point. See
  39359. * `this.skip` for more details on token skipping.
  39360. */
  39361. error(message, index = null) {
  39362. this.errors.push(new ParserError(message, this.input, this.locationText(index), this.location));
  39363. this.skip();
  39364. }
  39365. locationText(index = null) {
  39366. if (index == null) index = this.index;
  39367. return index < this.tokens.length ? `at column ${this.tokens[index].index + 1} in` : `at the end of the expression`;
  39368. }
  39369. /**
  39370. * Records an error for an unexpected private identifier being discovered.
  39371. * @param token Token representing a private identifier.
  39372. * @param extraMessage Optional additional message being appended to the error.
  39373. */
  39374. _reportErrorForPrivateIdentifier(token, extraMessage) {
  39375. let errorMessage = `Private identifiers are not supported. Unexpected private identifier: ${token}`;
  39376. if (extraMessage !== null) {
  39377. errorMessage += `, ${extraMessage}`;
  39378. }
  39379. this.error(errorMessage);
  39380. }
  39381. /**
  39382. * Error recovery should skip tokens until it encounters a recovery point.
  39383. *
  39384. * The following are treated as unconditional recovery points:
  39385. * - end of input
  39386. * - ';' (parseChain() is always the root production, and it expects a ';')
  39387. * - '|' (since pipes may be chained and each pipe expression may be treated independently)
  39388. *
  39389. * The following are conditional recovery points:
  39390. * - ')', '}', ']' if one of calling productions is expecting one of these symbols
  39391. * - This allows skip() to recover from errors such as '(a.) + 1' allowing more of the AST to
  39392. * be retained (it doesn't skip any tokens as the ')' is retained because of the '(' begins
  39393. * an '(' <expr> ')' production).
  39394. * The recovery points of grouping symbols must be conditional as they must be skipped if
  39395. * none of the calling productions are not expecting the closing token else we will never
  39396. * make progress in the case of an extraneous group closing symbol (such as a stray ')').
  39397. * That is, we skip a closing symbol if we are not in a grouping production.
  39398. * - '=' in a `Writable` context
  39399. * - In this context, we are able to recover after seeing the `=` operator, which
  39400. * signals the presence of an independent rvalue expression following the `=` operator.
  39401. *
  39402. * If a production expects one of these token it increments the corresponding nesting count,
  39403. * and then decrements it just prior to checking if the token is in the input.
  39404. */
  39405. skip() {
  39406. let n = this.next;
  39407. while (this.index < this.tokens.length && !n.isCharacter($SEMICOLON) && !n.isOperator('|') && (this.rparensExpected <= 0 || !n.isCharacter($RPAREN)) && (this.rbracesExpected <= 0 || !n.isCharacter($RBRACE)) && (this.rbracketsExpected <= 0 || !n.isCharacter($RBRACKET)) && (!(this.context & ParseContextFlags.Writable) || !n.isOperator('='))) {
  39408. if (this.next.isError()) {
  39409. this.errors.push(new ParserError(this.next.toString(), this.input, this.locationText(), this.location));
  39410. }
  39411. this.advance();
  39412. n = this.next;
  39413. }
  39414. }
  39415. }
  39416. class SimpleExpressionChecker extends RecursiveAstVisitor {
  39417. constructor() {
  39418. super(...arguments);
  39419. this.errors = [];
  39420. }
  39421. visitPipe() {
  39422. this.errors.push('pipes');
  39423. }
  39424. }
  39425. /**
  39426. * Computes the real offset in the original template for indexes in an interpolation.
  39427. *
  39428. * Because templates can have encoded HTML entities and the input passed to the parser at this stage
  39429. * of the compiler is the _decoded_ value, we need to compute the real offset using the original
  39430. * encoded values in the interpolated tokens. Note that this is only a special case handling for
  39431. * `MlParserTokenType.ENCODED_ENTITY` token types. All other interpolated tokens are expected to
  39432. * have parts which exactly match the input string for parsing the interpolation.
  39433. *
  39434. * @param interpolatedTokens The tokens for the interpolated value.
  39435. *
  39436. * @returns A map of index locations in the decoded template to indexes in the original template
  39437. */
  39438. function getIndexMapForOriginalTemplate(interpolatedTokens) {
  39439. let offsetMap = new Map();
  39440. let consumedInOriginalTemplate = 0;
  39441. let consumedInInput = 0;
  39442. let tokenIndex = 0;
  39443. while (tokenIndex < interpolatedTokens.length) {
  39444. const currentToken = interpolatedTokens[tokenIndex];
  39445. if (currentToken.type === 9
  39446. /* MlParserTokenType.ENCODED_ENTITY */
  39447. ) {
  39448. const [decoded, encoded] = currentToken.parts;
  39449. consumedInOriginalTemplate += encoded.length;
  39450. consumedInInput += decoded.length;
  39451. } else {
  39452. const lengthOfParts = currentToken.parts.reduce((sum, current) => sum + current.length, 0);
  39453. consumedInInput += lengthOfParts;
  39454. consumedInOriginalTemplate += lengthOfParts;
  39455. }
  39456. offsetMap.set(consumedInInput, consumedInOriginalTemplate);
  39457. tokenIndex++;
  39458. }
  39459. return offsetMap;
  39460. }
  39461. /**
  39462. * @license
  39463. * Copyright Google LLC All Rights Reserved.
  39464. *
  39465. * Use of this source code is governed by an MIT-style license that can be
  39466. * found in the LICENSE file at https://angular.io/license
  39467. */
  39468. class NodeWithI18n {
  39469. constructor(sourceSpan, i18n) {
  39470. this.sourceSpan = sourceSpan;
  39471. this.i18n = i18n;
  39472. }
  39473. }
  39474. class Text extends NodeWithI18n {
  39475. constructor(value, sourceSpan, tokens, i18n) {
  39476. super(sourceSpan, i18n);
  39477. this.value = value;
  39478. this.tokens = tokens;
  39479. }
  39480. visit(visitor, context) {
  39481. return visitor.visitText(this, context);
  39482. }
  39483. }
  39484. class Expansion extends NodeWithI18n {
  39485. constructor(switchValue, type, cases, sourceSpan, switchValueSourceSpan, i18n) {
  39486. super(sourceSpan, i18n);
  39487. this.switchValue = switchValue;
  39488. this.type = type;
  39489. this.cases = cases;
  39490. this.switchValueSourceSpan = switchValueSourceSpan;
  39491. }
  39492. visit(visitor, context) {
  39493. return visitor.visitExpansion(this, context);
  39494. }
  39495. }
  39496. class ExpansionCase {
  39497. constructor(value, expression, sourceSpan, valueSourceSpan, expSourceSpan) {
  39498. this.value = value;
  39499. this.expression = expression;
  39500. this.sourceSpan = sourceSpan;
  39501. this.valueSourceSpan = valueSourceSpan;
  39502. this.expSourceSpan = expSourceSpan;
  39503. }
  39504. visit(visitor, context) {
  39505. return visitor.visitExpansionCase(this, context);
  39506. }
  39507. }
  39508. class Attribute extends NodeWithI18n {
  39509. constructor(name, value, sourceSpan, keySpan, valueSpan, valueTokens, i18n) {
  39510. super(sourceSpan, i18n);
  39511. this.name = name;
  39512. this.value = value;
  39513. this.keySpan = keySpan;
  39514. this.valueSpan = valueSpan;
  39515. this.valueTokens = valueTokens;
  39516. }
  39517. visit(visitor, context) {
  39518. return visitor.visitAttribute(this, context);
  39519. }
  39520. }
  39521. class Element extends NodeWithI18n {
  39522. constructor(name, attrs, children, sourceSpan, startSourceSpan, endSourceSpan = null, i18n) {
  39523. super(sourceSpan, i18n);
  39524. this.name = name;
  39525. this.attrs = attrs;
  39526. this.children = children;
  39527. this.startSourceSpan = startSourceSpan;
  39528. this.endSourceSpan = endSourceSpan;
  39529. }
  39530. visit(visitor, context) {
  39531. return visitor.visitElement(this, context);
  39532. }
  39533. }
  39534. class Comment {
  39535. constructor(value, sourceSpan) {
  39536. this.value = value;
  39537. this.sourceSpan = sourceSpan;
  39538. }
  39539. visit(visitor, context) {
  39540. return visitor.visitComment(this, context);
  39541. }
  39542. }
  39543. function visitAll(visitor, nodes, context = null) {
  39544. const result = [];
  39545. const visit = visitor.visit ? ast => visitor.visit(ast, context) || ast.visit(visitor, context) : ast => ast.visit(visitor, context);
  39546. nodes.forEach(ast => {
  39547. const astResult = visit(ast);
  39548. if (astResult) {
  39549. result.push(astResult);
  39550. }
  39551. });
  39552. return result;
  39553. }
  39554. class RecursiveVisitor {
  39555. constructor() {}
  39556. visitElement(ast, context) {
  39557. this.visitChildren(context, visit => {
  39558. visit(ast.attrs);
  39559. visit(ast.children);
  39560. });
  39561. }
  39562. visitAttribute(ast, context) {}
  39563. visitText(ast, context) {}
  39564. visitComment(ast, context) {}
  39565. visitExpansion(ast, context) {
  39566. return this.visitChildren(context, visit => {
  39567. visit(ast.cases);
  39568. });
  39569. }
  39570. visitExpansionCase(ast, context) {}
  39571. visitChildren(context, cb) {
  39572. let results = [];
  39573. let t = this;
  39574. function visit(children) {
  39575. if (children) results.push(visitAll(t, children, context));
  39576. }
  39577. cb(visit);
  39578. return Array.prototype.concat.apply([], results);
  39579. }
  39580. }
  39581. /**
  39582. * @license
  39583. * Copyright Google LLC All Rights Reserved.
  39584. *
  39585. * Use of this source code is governed by an MIT-style license that can be
  39586. * found in the LICENSE file at https://angular.io/license
  39587. */
  39588. // Mapping between all HTML entity names and their unicode representation.
  39589. // Generated from https://html.spec.whatwg.org/multipage/entities.json by stripping
  39590. // the `&` and `;` from the keys and removing the duplicates.
  39591. // see https://www.w3.org/TR/html51/syntax.html#named-character-references
  39592. const NAMED_ENTITIES = {
  39593. 'AElig': '\u00C6',
  39594. 'AMP': '\u0026',
  39595. 'amp': '\u0026',
  39596. 'Aacute': '\u00C1',
  39597. 'Abreve': '\u0102',
  39598. 'Acirc': '\u00C2',
  39599. 'Acy': '\u0410',
  39600. 'Afr': '\uD835\uDD04',
  39601. 'Agrave': '\u00C0',
  39602. 'Alpha': '\u0391',
  39603. 'Amacr': '\u0100',
  39604. 'And': '\u2A53',
  39605. 'Aogon': '\u0104',
  39606. 'Aopf': '\uD835\uDD38',
  39607. 'ApplyFunction': '\u2061',
  39608. 'af': '\u2061',
  39609. 'Aring': '\u00C5',
  39610. 'angst': '\u00C5',
  39611. 'Ascr': '\uD835\uDC9C',
  39612. 'Assign': '\u2254',
  39613. 'colone': '\u2254',
  39614. 'coloneq': '\u2254',
  39615. 'Atilde': '\u00C3',
  39616. 'Auml': '\u00C4',
  39617. 'Backslash': '\u2216',
  39618. 'setminus': '\u2216',
  39619. 'setmn': '\u2216',
  39620. 'smallsetminus': '\u2216',
  39621. 'ssetmn': '\u2216',
  39622. 'Barv': '\u2AE7',
  39623. 'Barwed': '\u2306',
  39624. 'doublebarwedge': '\u2306',
  39625. 'Bcy': '\u0411',
  39626. 'Because': '\u2235',
  39627. 'becaus': '\u2235',
  39628. 'because': '\u2235',
  39629. 'Bernoullis': '\u212C',
  39630. 'Bscr': '\u212C',
  39631. 'bernou': '\u212C',
  39632. 'Beta': '\u0392',
  39633. 'Bfr': '\uD835\uDD05',
  39634. 'Bopf': '\uD835\uDD39',
  39635. 'Breve': '\u02D8',
  39636. 'breve': '\u02D8',
  39637. 'Bumpeq': '\u224E',
  39638. 'HumpDownHump': '\u224E',
  39639. 'bump': '\u224E',
  39640. 'CHcy': '\u0427',
  39641. 'COPY': '\u00A9',
  39642. 'copy': '\u00A9',
  39643. 'Cacute': '\u0106',
  39644. 'Cap': '\u22D2',
  39645. 'CapitalDifferentialD': '\u2145',
  39646. 'DD': '\u2145',
  39647. 'Cayleys': '\u212D',
  39648. 'Cfr': '\u212D',
  39649. 'Ccaron': '\u010C',
  39650. 'Ccedil': '\u00C7',
  39651. 'Ccirc': '\u0108',
  39652. 'Cconint': '\u2230',
  39653. 'Cdot': '\u010A',
  39654. 'Cedilla': '\u00B8',
  39655. 'cedil': '\u00B8',
  39656. 'CenterDot': '\u00B7',
  39657. 'centerdot': '\u00B7',
  39658. 'middot': '\u00B7',
  39659. 'Chi': '\u03A7',
  39660. 'CircleDot': '\u2299',
  39661. 'odot': '\u2299',
  39662. 'CircleMinus': '\u2296',
  39663. 'ominus': '\u2296',
  39664. 'CirclePlus': '\u2295',
  39665. 'oplus': '\u2295',
  39666. 'CircleTimes': '\u2297',
  39667. 'otimes': '\u2297',
  39668. 'ClockwiseContourIntegral': '\u2232',
  39669. 'cwconint': '\u2232',
  39670. 'CloseCurlyDoubleQuote': '\u201D',
  39671. 'rdquo': '\u201D',
  39672. 'rdquor': '\u201D',
  39673. 'CloseCurlyQuote': '\u2019',
  39674. 'rsquo': '\u2019',
  39675. 'rsquor': '\u2019',
  39676. 'Colon': '\u2237',
  39677. 'Proportion': '\u2237',
  39678. 'Colone': '\u2A74',
  39679. 'Congruent': '\u2261',
  39680. 'equiv': '\u2261',
  39681. 'Conint': '\u222F',
  39682. 'DoubleContourIntegral': '\u222F',
  39683. 'ContourIntegral': '\u222E',
  39684. 'conint': '\u222E',
  39685. 'oint': '\u222E',
  39686. 'Copf': '\u2102',
  39687. 'complexes': '\u2102',
  39688. 'Coproduct': '\u2210',
  39689. 'coprod': '\u2210',
  39690. 'CounterClockwiseContourIntegral': '\u2233',
  39691. 'awconint': '\u2233',
  39692. 'Cross': '\u2A2F',
  39693. 'Cscr': '\uD835\uDC9E',
  39694. 'Cup': '\u22D3',
  39695. 'CupCap': '\u224D',
  39696. 'asympeq': '\u224D',
  39697. 'DDotrahd': '\u2911',
  39698. 'DJcy': '\u0402',
  39699. 'DScy': '\u0405',
  39700. 'DZcy': '\u040F',
  39701. 'Dagger': '\u2021',
  39702. 'ddagger': '\u2021',
  39703. 'Darr': '\u21A1',
  39704. 'Dashv': '\u2AE4',
  39705. 'DoubleLeftTee': '\u2AE4',
  39706. 'Dcaron': '\u010E',
  39707. 'Dcy': '\u0414',
  39708. 'Del': '\u2207',
  39709. 'nabla': '\u2207',
  39710. 'Delta': '\u0394',
  39711. 'Dfr': '\uD835\uDD07',
  39712. 'DiacriticalAcute': '\u00B4',
  39713. 'acute': '\u00B4',
  39714. 'DiacriticalDot': '\u02D9',
  39715. 'dot': '\u02D9',
  39716. 'DiacriticalDoubleAcute': '\u02DD',
  39717. 'dblac': '\u02DD',
  39718. 'DiacriticalGrave': '\u0060',
  39719. 'grave': '\u0060',
  39720. 'DiacriticalTilde': '\u02DC',
  39721. 'tilde': '\u02DC',
  39722. 'Diamond': '\u22C4',
  39723. 'diam': '\u22C4',
  39724. 'diamond': '\u22C4',
  39725. 'DifferentialD': '\u2146',
  39726. 'dd': '\u2146',
  39727. 'Dopf': '\uD835\uDD3B',
  39728. 'Dot': '\u00A8',
  39729. 'DoubleDot': '\u00A8',
  39730. 'die': '\u00A8',
  39731. 'uml': '\u00A8',
  39732. 'DotDot': '\u20DC',
  39733. 'DotEqual': '\u2250',
  39734. 'doteq': '\u2250',
  39735. 'esdot': '\u2250',
  39736. 'DoubleDownArrow': '\u21D3',
  39737. 'Downarrow': '\u21D3',
  39738. 'dArr': '\u21D3',
  39739. 'DoubleLeftArrow': '\u21D0',
  39740. 'Leftarrow': '\u21D0',
  39741. 'lArr': '\u21D0',
  39742. 'DoubleLeftRightArrow': '\u21D4',
  39743. 'Leftrightarrow': '\u21D4',
  39744. 'hArr': '\u21D4',
  39745. 'iff': '\u21D4',
  39746. 'DoubleLongLeftArrow': '\u27F8',
  39747. 'Longleftarrow': '\u27F8',
  39748. 'xlArr': '\u27F8',
  39749. 'DoubleLongLeftRightArrow': '\u27FA',
  39750. 'Longleftrightarrow': '\u27FA',
  39751. 'xhArr': '\u27FA',
  39752. 'DoubleLongRightArrow': '\u27F9',
  39753. 'Longrightarrow': '\u27F9',
  39754. 'xrArr': '\u27F9',
  39755. 'DoubleRightArrow': '\u21D2',
  39756. 'Implies': '\u21D2',
  39757. 'Rightarrow': '\u21D2',
  39758. 'rArr': '\u21D2',
  39759. 'DoubleRightTee': '\u22A8',
  39760. 'vDash': '\u22A8',
  39761. 'DoubleUpArrow': '\u21D1',
  39762. 'Uparrow': '\u21D1',
  39763. 'uArr': '\u21D1',
  39764. 'DoubleUpDownArrow': '\u21D5',
  39765. 'Updownarrow': '\u21D5',
  39766. 'vArr': '\u21D5',
  39767. 'DoubleVerticalBar': '\u2225',
  39768. 'par': '\u2225',
  39769. 'parallel': '\u2225',
  39770. 'shortparallel': '\u2225',
  39771. 'spar': '\u2225',
  39772. 'DownArrow': '\u2193',
  39773. 'ShortDownArrow': '\u2193',
  39774. 'darr': '\u2193',
  39775. 'downarrow': '\u2193',
  39776. 'DownArrowBar': '\u2913',
  39777. 'DownArrowUpArrow': '\u21F5',
  39778. 'duarr': '\u21F5',
  39779. 'DownBreve': '\u0311',
  39780. 'DownLeftRightVector': '\u2950',
  39781. 'DownLeftTeeVector': '\u295E',
  39782. 'DownLeftVector': '\u21BD',
  39783. 'leftharpoondown': '\u21BD',
  39784. 'lhard': '\u21BD',
  39785. 'DownLeftVectorBar': '\u2956',
  39786. 'DownRightTeeVector': '\u295F',
  39787. 'DownRightVector': '\u21C1',
  39788. 'rhard': '\u21C1',
  39789. 'rightharpoondown': '\u21C1',
  39790. 'DownRightVectorBar': '\u2957',
  39791. 'DownTee': '\u22A4',
  39792. 'top': '\u22A4',
  39793. 'DownTeeArrow': '\u21A7',
  39794. 'mapstodown': '\u21A7',
  39795. 'Dscr': '\uD835\uDC9F',
  39796. 'Dstrok': '\u0110',
  39797. 'ENG': '\u014A',
  39798. 'ETH': '\u00D0',
  39799. 'Eacute': '\u00C9',
  39800. 'Ecaron': '\u011A',
  39801. 'Ecirc': '\u00CA',
  39802. 'Ecy': '\u042D',
  39803. 'Edot': '\u0116',
  39804. 'Efr': '\uD835\uDD08',
  39805. 'Egrave': '\u00C8',
  39806. 'Element': '\u2208',
  39807. 'in': '\u2208',
  39808. 'isin': '\u2208',
  39809. 'isinv': '\u2208',
  39810. 'Emacr': '\u0112',
  39811. 'EmptySmallSquare': '\u25FB',
  39812. 'EmptyVerySmallSquare': '\u25AB',
  39813. 'Eogon': '\u0118',
  39814. 'Eopf': '\uD835\uDD3C',
  39815. 'Epsilon': '\u0395',
  39816. 'Equal': '\u2A75',
  39817. 'EqualTilde': '\u2242',
  39818. 'eqsim': '\u2242',
  39819. 'esim': '\u2242',
  39820. 'Equilibrium': '\u21CC',
  39821. 'rightleftharpoons': '\u21CC',
  39822. 'rlhar': '\u21CC',
  39823. 'Escr': '\u2130',
  39824. 'expectation': '\u2130',
  39825. 'Esim': '\u2A73',
  39826. 'Eta': '\u0397',
  39827. 'Euml': '\u00CB',
  39828. 'Exists': '\u2203',
  39829. 'exist': '\u2203',
  39830. 'ExponentialE': '\u2147',
  39831. 'ee': '\u2147',
  39832. 'exponentiale': '\u2147',
  39833. 'Fcy': '\u0424',
  39834. 'Ffr': '\uD835\uDD09',
  39835. 'FilledSmallSquare': '\u25FC',
  39836. 'FilledVerySmallSquare': '\u25AA',
  39837. 'blacksquare': '\u25AA',
  39838. 'squarf': '\u25AA',
  39839. 'squf': '\u25AA',
  39840. 'Fopf': '\uD835\uDD3D',
  39841. 'ForAll': '\u2200',
  39842. 'forall': '\u2200',
  39843. 'Fouriertrf': '\u2131',
  39844. 'Fscr': '\u2131',
  39845. 'GJcy': '\u0403',
  39846. 'GT': '\u003E',
  39847. 'gt': '\u003E',
  39848. 'Gamma': '\u0393',
  39849. 'Gammad': '\u03DC',
  39850. 'Gbreve': '\u011E',
  39851. 'Gcedil': '\u0122',
  39852. 'Gcirc': '\u011C',
  39853. 'Gcy': '\u0413',
  39854. 'Gdot': '\u0120',
  39855. 'Gfr': '\uD835\uDD0A',
  39856. 'Gg': '\u22D9',
  39857. 'ggg': '\u22D9',
  39858. 'Gopf': '\uD835\uDD3E',
  39859. 'GreaterEqual': '\u2265',
  39860. 'ge': '\u2265',
  39861. 'geq': '\u2265',
  39862. 'GreaterEqualLess': '\u22DB',
  39863. 'gel': '\u22DB',
  39864. 'gtreqless': '\u22DB',
  39865. 'GreaterFullEqual': '\u2267',
  39866. 'gE': '\u2267',
  39867. 'geqq': '\u2267',
  39868. 'GreaterGreater': '\u2AA2',
  39869. 'GreaterLess': '\u2277',
  39870. 'gl': '\u2277',
  39871. 'gtrless': '\u2277',
  39872. 'GreaterSlantEqual': '\u2A7E',
  39873. 'geqslant': '\u2A7E',
  39874. 'ges': '\u2A7E',
  39875. 'GreaterTilde': '\u2273',
  39876. 'gsim': '\u2273',
  39877. 'gtrsim': '\u2273',
  39878. 'Gscr': '\uD835\uDCA2',
  39879. 'Gt': '\u226B',
  39880. 'NestedGreaterGreater': '\u226B',
  39881. 'gg': '\u226B',
  39882. 'HARDcy': '\u042A',
  39883. 'Hacek': '\u02C7',
  39884. 'caron': '\u02C7',
  39885. 'Hat': '\u005E',
  39886. 'Hcirc': '\u0124',
  39887. 'Hfr': '\u210C',
  39888. 'Poincareplane': '\u210C',
  39889. 'HilbertSpace': '\u210B',
  39890. 'Hscr': '\u210B',
  39891. 'hamilt': '\u210B',
  39892. 'Hopf': '\u210D',
  39893. 'quaternions': '\u210D',
  39894. 'HorizontalLine': '\u2500',
  39895. 'boxh': '\u2500',
  39896. 'Hstrok': '\u0126',
  39897. 'HumpEqual': '\u224F',
  39898. 'bumpe': '\u224F',
  39899. 'bumpeq': '\u224F',
  39900. 'IEcy': '\u0415',
  39901. 'IJlig': '\u0132',
  39902. 'IOcy': '\u0401',
  39903. 'Iacute': '\u00CD',
  39904. 'Icirc': '\u00CE',
  39905. 'Icy': '\u0418',
  39906. 'Idot': '\u0130',
  39907. 'Ifr': '\u2111',
  39908. 'Im': '\u2111',
  39909. 'image': '\u2111',
  39910. 'imagpart': '\u2111',
  39911. 'Igrave': '\u00CC',
  39912. 'Imacr': '\u012A',
  39913. 'ImaginaryI': '\u2148',
  39914. 'ii': '\u2148',
  39915. 'Int': '\u222C',
  39916. 'Integral': '\u222B',
  39917. 'int': '\u222B',
  39918. 'Intersection': '\u22C2',
  39919. 'bigcap': '\u22C2',
  39920. 'xcap': '\u22C2',
  39921. 'InvisibleComma': '\u2063',
  39922. 'ic': '\u2063',
  39923. 'InvisibleTimes': '\u2062',
  39924. 'it': '\u2062',
  39925. 'Iogon': '\u012E',
  39926. 'Iopf': '\uD835\uDD40',
  39927. 'Iota': '\u0399',
  39928. 'Iscr': '\u2110',
  39929. 'imagline': '\u2110',
  39930. 'Itilde': '\u0128',
  39931. 'Iukcy': '\u0406',
  39932. 'Iuml': '\u00CF',
  39933. 'Jcirc': '\u0134',
  39934. 'Jcy': '\u0419',
  39935. 'Jfr': '\uD835\uDD0D',
  39936. 'Jopf': '\uD835\uDD41',
  39937. 'Jscr': '\uD835\uDCA5',
  39938. 'Jsercy': '\u0408',
  39939. 'Jukcy': '\u0404',
  39940. 'KHcy': '\u0425',
  39941. 'KJcy': '\u040C',
  39942. 'Kappa': '\u039A',
  39943. 'Kcedil': '\u0136',
  39944. 'Kcy': '\u041A',
  39945. 'Kfr': '\uD835\uDD0E',
  39946. 'Kopf': '\uD835\uDD42',
  39947. 'Kscr': '\uD835\uDCA6',
  39948. 'LJcy': '\u0409',
  39949. 'LT': '\u003C',
  39950. 'lt': '\u003C',
  39951. 'Lacute': '\u0139',
  39952. 'Lambda': '\u039B',
  39953. 'Lang': '\u27EA',
  39954. 'Laplacetrf': '\u2112',
  39955. 'Lscr': '\u2112',
  39956. 'lagran': '\u2112',
  39957. 'Larr': '\u219E',
  39958. 'twoheadleftarrow': '\u219E',
  39959. 'Lcaron': '\u013D',
  39960. 'Lcedil': '\u013B',
  39961. 'Lcy': '\u041B',
  39962. 'LeftAngleBracket': '\u27E8',
  39963. 'lang': '\u27E8',
  39964. 'langle': '\u27E8',
  39965. 'LeftArrow': '\u2190',
  39966. 'ShortLeftArrow': '\u2190',
  39967. 'larr': '\u2190',
  39968. 'leftarrow': '\u2190',
  39969. 'slarr': '\u2190',
  39970. 'LeftArrowBar': '\u21E4',
  39971. 'larrb': '\u21E4',
  39972. 'LeftArrowRightArrow': '\u21C6',
  39973. 'leftrightarrows': '\u21C6',
  39974. 'lrarr': '\u21C6',
  39975. 'LeftCeiling': '\u2308',
  39976. 'lceil': '\u2308',
  39977. 'LeftDoubleBracket': '\u27E6',
  39978. 'lobrk': '\u27E6',
  39979. 'LeftDownTeeVector': '\u2961',
  39980. 'LeftDownVector': '\u21C3',
  39981. 'dharl': '\u21C3',
  39982. 'downharpoonleft': '\u21C3',
  39983. 'LeftDownVectorBar': '\u2959',
  39984. 'LeftFloor': '\u230A',
  39985. 'lfloor': '\u230A',
  39986. 'LeftRightArrow': '\u2194',
  39987. 'harr': '\u2194',
  39988. 'leftrightarrow': '\u2194',
  39989. 'LeftRightVector': '\u294E',
  39990. 'LeftTee': '\u22A3',
  39991. 'dashv': '\u22A3',
  39992. 'LeftTeeArrow': '\u21A4',
  39993. 'mapstoleft': '\u21A4',
  39994. 'LeftTeeVector': '\u295A',
  39995. 'LeftTriangle': '\u22B2',
  39996. 'vartriangleleft': '\u22B2',
  39997. 'vltri': '\u22B2',
  39998. 'LeftTriangleBar': '\u29CF',
  39999. 'LeftTriangleEqual': '\u22B4',
  40000. 'ltrie': '\u22B4',
  40001. 'trianglelefteq': '\u22B4',
  40002. 'LeftUpDownVector': '\u2951',
  40003. 'LeftUpTeeVector': '\u2960',
  40004. 'LeftUpVector': '\u21BF',
  40005. 'uharl': '\u21BF',
  40006. 'upharpoonleft': '\u21BF',
  40007. 'LeftUpVectorBar': '\u2958',
  40008. 'LeftVector': '\u21BC',
  40009. 'leftharpoonup': '\u21BC',
  40010. 'lharu': '\u21BC',
  40011. 'LeftVectorBar': '\u2952',
  40012. 'LessEqualGreater': '\u22DA',
  40013. 'leg': '\u22DA',
  40014. 'lesseqgtr': '\u22DA',
  40015. 'LessFullEqual': '\u2266',
  40016. 'lE': '\u2266',
  40017. 'leqq': '\u2266',
  40018. 'LessGreater': '\u2276',
  40019. 'lessgtr': '\u2276',
  40020. 'lg': '\u2276',
  40021. 'LessLess': '\u2AA1',
  40022. 'LessSlantEqual': '\u2A7D',
  40023. 'leqslant': '\u2A7D',
  40024. 'les': '\u2A7D',
  40025. 'LessTilde': '\u2272',
  40026. 'lesssim': '\u2272',
  40027. 'lsim': '\u2272',
  40028. 'Lfr': '\uD835\uDD0F',
  40029. 'Ll': '\u22D8',
  40030. 'Lleftarrow': '\u21DA',
  40031. 'lAarr': '\u21DA',
  40032. 'Lmidot': '\u013F',
  40033. 'LongLeftArrow': '\u27F5',
  40034. 'longleftarrow': '\u27F5',
  40035. 'xlarr': '\u27F5',
  40036. 'LongLeftRightArrow': '\u27F7',
  40037. 'longleftrightarrow': '\u27F7',
  40038. 'xharr': '\u27F7',
  40039. 'LongRightArrow': '\u27F6',
  40040. 'longrightarrow': '\u27F6',
  40041. 'xrarr': '\u27F6',
  40042. 'Lopf': '\uD835\uDD43',
  40043. 'LowerLeftArrow': '\u2199',
  40044. 'swarr': '\u2199',
  40045. 'swarrow': '\u2199',
  40046. 'LowerRightArrow': '\u2198',
  40047. 'searr': '\u2198',
  40048. 'searrow': '\u2198',
  40049. 'Lsh': '\u21B0',
  40050. 'lsh': '\u21B0',
  40051. 'Lstrok': '\u0141',
  40052. 'Lt': '\u226A',
  40053. 'NestedLessLess': '\u226A',
  40054. 'll': '\u226A',
  40055. 'Map': '\u2905',
  40056. 'Mcy': '\u041C',
  40057. 'MediumSpace': '\u205F',
  40058. 'Mellintrf': '\u2133',
  40059. 'Mscr': '\u2133',
  40060. 'phmmat': '\u2133',
  40061. 'Mfr': '\uD835\uDD10',
  40062. 'MinusPlus': '\u2213',
  40063. 'mnplus': '\u2213',
  40064. 'mp': '\u2213',
  40065. 'Mopf': '\uD835\uDD44',
  40066. 'Mu': '\u039C',
  40067. 'NJcy': '\u040A',
  40068. 'Nacute': '\u0143',
  40069. 'Ncaron': '\u0147',
  40070. 'Ncedil': '\u0145',
  40071. 'Ncy': '\u041D',
  40072. 'NegativeMediumSpace': '\u200B',
  40073. 'NegativeThickSpace': '\u200B',
  40074. 'NegativeThinSpace': '\u200B',
  40075. 'NegativeVeryThinSpace': '\u200B',
  40076. 'ZeroWidthSpace': '\u200B',
  40077. 'NewLine': '\u000A',
  40078. 'Nfr': '\uD835\uDD11',
  40079. 'NoBreak': '\u2060',
  40080. 'NonBreakingSpace': '\u00A0',
  40081. 'nbsp': '\u00A0',
  40082. 'Nopf': '\u2115',
  40083. 'naturals': '\u2115',
  40084. 'Not': '\u2AEC',
  40085. 'NotCongruent': '\u2262',
  40086. 'nequiv': '\u2262',
  40087. 'NotCupCap': '\u226D',
  40088. 'NotDoubleVerticalBar': '\u2226',
  40089. 'npar': '\u2226',
  40090. 'nparallel': '\u2226',
  40091. 'nshortparallel': '\u2226',
  40092. 'nspar': '\u2226',
  40093. 'NotElement': '\u2209',
  40094. 'notin': '\u2209',
  40095. 'notinva': '\u2209',
  40096. 'NotEqual': '\u2260',
  40097. 'ne': '\u2260',
  40098. 'NotEqualTilde': '\u2242\u0338',
  40099. 'nesim': '\u2242\u0338',
  40100. 'NotExists': '\u2204',
  40101. 'nexist': '\u2204',
  40102. 'nexists': '\u2204',
  40103. 'NotGreater': '\u226F',
  40104. 'ngt': '\u226F',
  40105. 'ngtr': '\u226F',
  40106. 'NotGreaterEqual': '\u2271',
  40107. 'nge': '\u2271',
  40108. 'ngeq': '\u2271',
  40109. 'NotGreaterFullEqual': '\u2267\u0338',
  40110. 'ngE': '\u2267\u0338',
  40111. 'ngeqq': '\u2267\u0338',
  40112. 'NotGreaterGreater': '\u226B\u0338',
  40113. 'nGtv': '\u226B\u0338',
  40114. 'NotGreaterLess': '\u2279',
  40115. 'ntgl': '\u2279',
  40116. 'NotGreaterSlantEqual': '\u2A7E\u0338',
  40117. 'ngeqslant': '\u2A7E\u0338',
  40118. 'nges': '\u2A7E\u0338',
  40119. 'NotGreaterTilde': '\u2275',
  40120. 'ngsim': '\u2275',
  40121. 'NotHumpDownHump': '\u224E\u0338',
  40122. 'nbump': '\u224E\u0338',
  40123. 'NotHumpEqual': '\u224F\u0338',
  40124. 'nbumpe': '\u224F\u0338',
  40125. 'NotLeftTriangle': '\u22EA',
  40126. 'nltri': '\u22EA',
  40127. 'ntriangleleft': '\u22EA',
  40128. 'NotLeftTriangleBar': '\u29CF\u0338',
  40129. 'NotLeftTriangleEqual': '\u22EC',
  40130. 'nltrie': '\u22EC',
  40131. 'ntrianglelefteq': '\u22EC',
  40132. 'NotLess': '\u226E',
  40133. 'nless': '\u226E',
  40134. 'nlt': '\u226E',
  40135. 'NotLessEqual': '\u2270',
  40136. 'nle': '\u2270',
  40137. 'nleq': '\u2270',
  40138. 'NotLessGreater': '\u2278',
  40139. 'ntlg': '\u2278',
  40140. 'NotLessLess': '\u226A\u0338',
  40141. 'nLtv': '\u226A\u0338',
  40142. 'NotLessSlantEqual': '\u2A7D\u0338',
  40143. 'nleqslant': '\u2A7D\u0338',
  40144. 'nles': '\u2A7D\u0338',
  40145. 'NotLessTilde': '\u2274',
  40146. 'nlsim': '\u2274',
  40147. 'NotNestedGreaterGreater': '\u2AA2\u0338',
  40148. 'NotNestedLessLess': '\u2AA1\u0338',
  40149. 'NotPrecedes': '\u2280',
  40150. 'npr': '\u2280',
  40151. 'nprec': '\u2280',
  40152. 'NotPrecedesEqual': '\u2AAF\u0338',
  40153. 'npre': '\u2AAF\u0338',
  40154. 'npreceq': '\u2AAF\u0338',
  40155. 'NotPrecedesSlantEqual': '\u22E0',
  40156. 'nprcue': '\u22E0',
  40157. 'NotReverseElement': '\u220C',
  40158. 'notni': '\u220C',
  40159. 'notniva': '\u220C',
  40160. 'NotRightTriangle': '\u22EB',
  40161. 'nrtri': '\u22EB',
  40162. 'ntriangleright': '\u22EB',
  40163. 'NotRightTriangleBar': '\u29D0\u0338',
  40164. 'NotRightTriangleEqual': '\u22ED',
  40165. 'nrtrie': '\u22ED',
  40166. 'ntrianglerighteq': '\u22ED',
  40167. 'NotSquareSubset': '\u228F\u0338',
  40168. 'NotSquareSubsetEqual': '\u22E2',
  40169. 'nsqsube': '\u22E2',
  40170. 'NotSquareSuperset': '\u2290\u0338',
  40171. 'NotSquareSupersetEqual': '\u22E3',
  40172. 'nsqsupe': '\u22E3',
  40173. 'NotSubset': '\u2282\u20D2',
  40174. 'nsubset': '\u2282\u20D2',
  40175. 'vnsub': '\u2282\u20D2',
  40176. 'NotSubsetEqual': '\u2288',
  40177. 'nsube': '\u2288',
  40178. 'nsubseteq': '\u2288',
  40179. 'NotSucceeds': '\u2281',
  40180. 'nsc': '\u2281',
  40181. 'nsucc': '\u2281',
  40182. 'NotSucceedsEqual': '\u2AB0\u0338',
  40183. 'nsce': '\u2AB0\u0338',
  40184. 'nsucceq': '\u2AB0\u0338',
  40185. 'NotSucceedsSlantEqual': '\u22E1',
  40186. 'nsccue': '\u22E1',
  40187. 'NotSucceedsTilde': '\u227F\u0338',
  40188. 'NotSuperset': '\u2283\u20D2',
  40189. 'nsupset': '\u2283\u20D2',
  40190. 'vnsup': '\u2283\u20D2',
  40191. 'NotSupersetEqual': '\u2289',
  40192. 'nsupe': '\u2289',
  40193. 'nsupseteq': '\u2289',
  40194. 'NotTilde': '\u2241',
  40195. 'nsim': '\u2241',
  40196. 'NotTildeEqual': '\u2244',
  40197. 'nsime': '\u2244',
  40198. 'nsimeq': '\u2244',
  40199. 'NotTildeFullEqual': '\u2247',
  40200. 'ncong': '\u2247',
  40201. 'NotTildeTilde': '\u2249',
  40202. 'nap': '\u2249',
  40203. 'napprox': '\u2249',
  40204. 'NotVerticalBar': '\u2224',
  40205. 'nmid': '\u2224',
  40206. 'nshortmid': '\u2224',
  40207. 'nsmid': '\u2224',
  40208. 'Nscr': '\uD835\uDCA9',
  40209. 'Ntilde': '\u00D1',
  40210. 'Nu': '\u039D',
  40211. 'OElig': '\u0152',
  40212. 'Oacute': '\u00D3',
  40213. 'Ocirc': '\u00D4',
  40214. 'Ocy': '\u041E',
  40215. 'Odblac': '\u0150',
  40216. 'Ofr': '\uD835\uDD12',
  40217. 'Ograve': '\u00D2',
  40218. 'Omacr': '\u014C',
  40219. 'Omega': '\u03A9',
  40220. 'ohm': '\u03A9',
  40221. 'Omicron': '\u039F',
  40222. 'Oopf': '\uD835\uDD46',
  40223. 'OpenCurlyDoubleQuote': '\u201C',
  40224. 'ldquo': '\u201C',
  40225. 'OpenCurlyQuote': '\u2018',
  40226. 'lsquo': '\u2018',
  40227. 'Or': '\u2A54',
  40228. 'Oscr': '\uD835\uDCAA',
  40229. 'Oslash': '\u00D8',
  40230. 'Otilde': '\u00D5',
  40231. 'Otimes': '\u2A37',
  40232. 'Ouml': '\u00D6',
  40233. 'OverBar': '\u203E',
  40234. 'oline': '\u203E',
  40235. 'OverBrace': '\u23DE',
  40236. 'OverBracket': '\u23B4',
  40237. 'tbrk': '\u23B4',
  40238. 'OverParenthesis': '\u23DC',
  40239. 'PartialD': '\u2202',
  40240. 'part': '\u2202',
  40241. 'Pcy': '\u041F',
  40242. 'Pfr': '\uD835\uDD13',
  40243. 'Phi': '\u03A6',
  40244. 'Pi': '\u03A0',
  40245. 'PlusMinus': '\u00B1',
  40246. 'plusmn': '\u00B1',
  40247. 'pm': '\u00B1',
  40248. 'Popf': '\u2119',
  40249. 'primes': '\u2119',
  40250. 'Pr': '\u2ABB',
  40251. 'Precedes': '\u227A',
  40252. 'pr': '\u227A',
  40253. 'prec': '\u227A',
  40254. 'PrecedesEqual': '\u2AAF',
  40255. 'pre': '\u2AAF',
  40256. 'preceq': '\u2AAF',
  40257. 'PrecedesSlantEqual': '\u227C',
  40258. 'prcue': '\u227C',
  40259. 'preccurlyeq': '\u227C',
  40260. 'PrecedesTilde': '\u227E',
  40261. 'precsim': '\u227E',
  40262. 'prsim': '\u227E',
  40263. 'Prime': '\u2033',
  40264. 'Product': '\u220F',
  40265. 'prod': '\u220F',
  40266. 'Proportional': '\u221D',
  40267. 'prop': '\u221D',
  40268. 'propto': '\u221D',
  40269. 'varpropto': '\u221D',
  40270. 'vprop': '\u221D',
  40271. 'Pscr': '\uD835\uDCAB',
  40272. 'Psi': '\u03A8',
  40273. 'QUOT': '\u0022',
  40274. 'quot': '\u0022',
  40275. 'Qfr': '\uD835\uDD14',
  40276. 'Qopf': '\u211A',
  40277. 'rationals': '\u211A',
  40278. 'Qscr': '\uD835\uDCAC',
  40279. 'RBarr': '\u2910',
  40280. 'drbkarow': '\u2910',
  40281. 'REG': '\u00AE',
  40282. 'circledR': '\u00AE',
  40283. 'reg': '\u00AE',
  40284. 'Racute': '\u0154',
  40285. 'Rang': '\u27EB',
  40286. 'Rarr': '\u21A0',
  40287. 'twoheadrightarrow': '\u21A0',
  40288. 'Rarrtl': '\u2916',
  40289. 'Rcaron': '\u0158',
  40290. 'Rcedil': '\u0156',
  40291. 'Rcy': '\u0420',
  40292. 'Re': '\u211C',
  40293. 'Rfr': '\u211C',
  40294. 'real': '\u211C',
  40295. 'realpart': '\u211C',
  40296. 'ReverseElement': '\u220B',
  40297. 'SuchThat': '\u220B',
  40298. 'ni': '\u220B',
  40299. 'niv': '\u220B',
  40300. 'ReverseEquilibrium': '\u21CB',
  40301. 'leftrightharpoons': '\u21CB',
  40302. 'lrhar': '\u21CB',
  40303. 'ReverseUpEquilibrium': '\u296F',
  40304. 'duhar': '\u296F',
  40305. 'Rho': '\u03A1',
  40306. 'RightAngleBracket': '\u27E9',
  40307. 'rang': '\u27E9',
  40308. 'rangle': '\u27E9',
  40309. 'RightArrow': '\u2192',
  40310. 'ShortRightArrow': '\u2192',
  40311. 'rarr': '\u2192',
  40312. 'rightarrow': '\u2192',
  40313. 'srarr': '\u2192',
  40314. 'RightArrowBar': '\u21E5',
  40315. 'rarrb': '\u21E5',
  40316. 'RightArrowLeftArrow': '\u21C4',
  40317. 'rightleftarrows': '\u21C4',
  40318. 'rlarr': '\u21C4',
  40319. 'RightCeiling': '\u2309',
  40320. 'rceil': '\u2309',
  40321. 'RightDoubleBracket': '\u27E7',
  40322. 'robrk': '\u27E7',
  40323. 'RightDownTeeVector': '\u295D',
  40324. 'RightDownVector': '\u21C2',
  40325. 'dharr': '\u21C2',
  40326. 'downharpoonright': '\u21C2',
  40327. 'RightDownVectorBar': '\u2955',
  40328. 'RightFloor': '\u230B',
  40329. 'rfloor': '\u230B',
  40330. 'RightTee': '\u22A2',
  40331. 'vdash': '\u22A2',
  40332. 'RightTeeArrow': '\u21A6',
  40333. 'map': '\u21A6',
  40334. 'mapsto': '\u21A6',
  40335. 'RightTeeVector': '\u295B',
  40336. 'RightTriangle': '\u22B3',
  40337. 'vartriangleright': '\u22B3',
  40338. 'vrtri': '\u22B3',
  40339. 'RightTriangleBar': '\u29D0',
  40340. 'RightTriangleEqual': '\u22B5',
  40341. 'rtrie': '\u22B5',
  40342. 'trianglerighteq': '\u22B5',
  40343. 'RightUpDownVector': '\u294F',
  40344. 'RightUpTeeVector': '\u295C',
  40345. 'RightUpVector': '\u21BE',
  40346. 'uharr': '\u21BE',
  40347. 'upharpoonright': '\u21BE',
  40348. 'RightUpVectorBar': '\u2954',
  40349. 'RightVector': '\u21C0',
  40350. 'rharu': '\u21C0',
  40351. 'rightharpoonup': '\u21C0',
  40352. 'RightVectorBar': '\u2953',
  40353. 'Ropf': '\u211D',
  40354. 'reals': '\u211D',
  40355. 'RoundImplies': '\u2970',
  40356. 'Rrightarrow': '\u21DB',
  40357. 'rAarr': '\u21DB',
  40358. 'Rscr': '\u211B',
  40359. 'realine': '\u211B',
  40360. 'Rsh': '\u21B1',
  40361. 'rsh': '\u21B1',
  40362. 'RuleDelayed': '\u29F4',
  40363. 'SHCHcy': '\u0429',
  40364. 'SHcy': '\u0428',
  40365. 'SOFTcy': '\u042C',
  40366. 'Sacute': '\u015A',
  40367. 'Sc': '\u2ABC',
  40368. 'Scaron': '\u0160',
  40369. 'Scedil': '\u015E',
  40370. 'Scirc': '\u015C',
  40371. 'Scy': '\u0421',
  40372. 'Sfr': '\uD835\uDD16',
  40373. 'ShortUpArrow': '\u2191',
  40374. 'UpArrow': '\u2191',
  40375. 'uarr': '\u2191',
  40376. 'uparrow': '\u2191',
  40377. 'Sigma': '\u03A3',
  40378. 'SmallCircle': '\u2218',
  40379. 'compfn': '\u2218',
  40380. 'Sopf': '\uD835\uDD4A',
  40381. 'Sqrt': '\u221A',
  40382. 'radic': '\u221A',
  40383. 'Square': '\u25A1',
  40384. 'squ': '\u25A1',
  40385. 'square': '\u25A1',
  40386. 'SquareIntersection': '\u2293',
  40387. 'sqcap': '\u2293',
  40388. 'SquareSubset': '\u228F',
  40389. 'sqsub': '\u228F',
  40390. 'sqsubset': '\u228F',
  40391. 'SquareSubsetEqual': '\u2291',
  40392. 'sqsube': '\u2291',
  40393. 'sqsubseteq': '\u2291',
  40394. 'SquareSuperset': '\u2290',
  40395. 'sqsup': '\u2290',
  40396. 'sqsupset': '\u2290',
  40397. 'SquareSupersetEqual': '\u2292',
  40398. 'sqsupe': '\u2292',
  40399. 'sqsupseteq': '\u2292',
  40400. 'SquareUnion': '\u2294',
  40401. 'sqcup': '\u2294',
  40402. 'Sscr': '\uD835\uDCAE',
  40403. 'Star': '\u22C6',
  40404. 'sstarf': '\u22C6',
  40405. 'Sub': '\u22D0',
  40406. 'Subset': '\u22D0',
  40407. 'SubsetEqual': '\u2286',
  40408. 'sube': '\u2286',
  40409. 'subseteq': '\u2286',
  40410. 'Succeeds': '\u227B',
  40411. 'sc': '\u227B',
  40412. 'succ': '\u227B',
  40413. 'SucceedsEqual': '\u2AB0',
  40414. 'sce': '\u2AB0',
  40415. 'succeq': '\u2AB0',
  40416. 'SucceedsSlantEqual': '\u227D',
  40417. 'sccue': '\u227D',
  40418. 'succcurlyeq': '\u227D',
  40419. 'SucceedsTilde': '\u227F',
  40420. 'scsim': '\u227F',
  40421. 'succsim': '\u227F',
  40422. 'Sum': '\u2211',
  40423. 'sum': '\u2211',
  40424. 'Sup': '\u22D1',
  40425. 'Supset': '\u22D1',
  40426. 'Superset': '\u2283',
  40427. 'sup': '\u2283',
  40428. 'supset': '\u2283',
  40429. 'SupersetEqual': '\u2287',
  40430. 'supe': '\u2287',
  40431. 'supseteq': '\u2287',
  40432. 'THORN': '\u00DE',
  40433. 'TRADE': '\u2122',
  40434. 'trade': '\u2122',
  40435. 'TSHcy': '\u040B',
  40436. 'TScy': '\u0426',
  40437. 'Tab': '\u0009',
  40438. 'Tau': '\u03A4',
  40439. 'Tcaron': '\u0164',
  40440. 'Tcedil': '\u0162',
  40441. 'Tcy': '\u0422',
  40442. 'Tfr': '\uD835\uDD17',
  40443. 'Therefore': '\u2234',
  40444. 'there4': '\u2234',
  40445. 'therefore': '\u2234',
  40446. 'Theta': '\u0398',
  40447. 'ThickSpace': '\u205F\u200A',
  40448. 'ThinSpace': '\u2009',
  40449. 'thinsp': '\u2009',
  40450. 'Tilde': '\u223C',
  40451. 'sim': '\u223C',
  40452. 'thicksim': '\u223C',
  40453. 'thksim': '\u223C',
  40454. 'TildeEqual': '\u2243',
  40455. 'sime': '\u2243',
  40456. 'simeq': '\u2243',
  40457. 'TildeFullEqual': '\u2245',
  40458. 'cong': '\u2245',
  40459. 'TildeTilde': '\u2248',
  40460. 'ap': '\u2248',
  40461. 'approx': '\u2248',
  40462. 'asymp': '\u2248',
  40463. 'thickapprox': '\u2248',
  40464. 'thkap': '\u2248',
  40465. 'Topf': '\uD835\uDD4B',
  40466. 'TripleDot': '\u20DB',
  40467. 'tdot': '\u20DB',
  40468. 'Tscr': '\uD835\uDCAF',
  40469. 'Tstrok': '\u0166',
  40470. 'Uacute': '\u00DA',
  40471. 'Uarr': '\u219F',
  40472. 'Uarrocir': '\u2949',
  40473. 'Ubrcy': '\u040E',
  40474. 'Ubreve': '\u016C',
  40475. 'Ucirc': '\u00DB',
  40476. 'Ucy': '\u0423',
  40477. 'Udblac': '\u0170',
  40478. 'Ufr': '\uD835\uDD18',
  40479. 'Ugrave': '\u00D9',
  40480. 'Umacr': '\u016A',
  40481. 'UnderBar': '\u005F',
  40482. 'lowbar': '\u005F',
  40483. 'UnderBrace': '\u23DF',
  40484. 'UnderBracket': '\u23B5',
  40485. 'bbrk': '\u23B5',
  40486. 'UnderParenthesis': '\u23DD',
  40487. 'Union': '\u22C3',
  40488. 'bigcup': '\u22C3',
  40489. 'xcup': '\u22C3',
  40490. 'UnionPlus': '\u228E',
  40491. 'uplus': '\u228E',
  40492. 'Uogon': '\u0172',
  40493. 'Uopf': '\uD835\uDD4C',
  40494. 'UpArrowBar': '\u2912',
  40495. 'UpArrowDownArrow': '\u21C5',
  40496. 'udarr': '\u21C5',
  40497. 'UpDownArrow': '\u2195',
  40498. 'updownarrow': '\u2195',
  40499. 'varr': '\u2195',
  40500. 'UpEquilibrium': '\u296E',
  40501. 'udhar': '\u296E',
  40502. 'UpTee': '\u22A5',
  40503. 'bot': '\u22A5',
  40504. 'bottom': '\u22A5',
  40505. 'perp': '\u22A5',
  40506. 'UpTeeArrow': '\u21A5',
  40507. 'mapstoup': '\u21A5',
  40508. 'UpperLeftArrow': '\u2196',
  40509. 'nwarr': '\u2196',
  40510. 'nwarrow': '\u2196',
  40511. 'UpperRightArrow': '\u2197',
  40512. 'nearr': '\u2197',
  40513. 'nearrow': '\u2197',
  40514. 'Upsi': '\u03D2',
  40515. 'upsih': '\u03D2',
  40516. 'Upsilon': '\u03A5',
  40517. 'Uring': '\u016E',
  40518. 'Uscr': '\uD835\uDCB0',
  40519. 'Utilde': '\u0168',
  40520. 'Uuml': '\u00DC',
  40521. 'VDash': '\u22AB',
  40522. 'Vbar': '\u2AEB',
  40523. 'Vcy': '\u0412',
  40524. 'Vdash': '\u22A9',
  40525. 'Vdashl': '\u2AE6',
  40526. 'Vee': '\u22C1',
  40527. 'bigvee': '\u22C1',
  40528. 'xvee': '\u22C1',
  40529. 'Verbar': '\u2016',
  40530. 'Vert': '\u2016',
  40531. 'VerticalBar': '\u2223',
  40532. 'mid': '\u2223',
  40533. 'shortmid': '\u2223',
  40534. 'smid': '\u2223',
  40535. 'VerticalLine': '\u007C',
  40536. 'verbar': '\u007C',
  40537. 'vert': '\u007C',
  40538. 'VerticalSeparator': '\u2758',
  40539. 'VerticalTilde': '\u2240',
  40540. 'wr': '\u2240',
  40541. 'wreath': '\u2240',
  40542. 'VeryThinSpace': '\u200A',
  40543. 'hairsp': '\u200A',
  40544. 'Vfr': '\uD835\uDD19',
  40545. 'Vopf': '\uD835\uDD4D',
  40546. 'Vscr': '\uD835\uDCB1',
  40547. 'Vvdash': '\u22AA',
  40548. 'Wcirc': '\u0174',
  40549. 'Wedge': '\u22C0',
  40550. 'bigwedge': '\u22C0',
  40551. 'xwedge': '\u22C0',
  40552. 'Wfr': '\uD835\uDD1A',
  40553. 'Wopf': '\uD835\uDD4E',
  40554. 'Wscr': '\uD835\uDCB2',
  40555. 'Xfr': '\uD835\uDD1B',
  40556. 'Xi': '\u039E',
  40557. 'Xopf': '\uD835\uDD4F',
  40558. 'Xscr': '\uD835\uDCB3',
  40559. 'YAcy': '\u042F',
  40560. 'YIcy': '\u0407',
  40561. 'YUcy': '\u042E',
  40562. 'Yacute': '\u00DD',
  40563. 'Ycirc': '\u0176',
  40564. 'Ycy': '\u042B',
  40565. 'Yfr': '\uD835\uDD1C',
  40566. 'Yopf': '\uD835\uDD50',
  40567. 'Yscr': '\uD835\uDCB4',
  40568. 'Yuml': '\u0178',
  40569. 'ZHcy': '\u0416',
  40570. 'Zacute': '\u0179',
  40571. 'Zcaron': '\u017D',
  40572. 'Zcy': '\u0417',
  40573. 'Zdot': '\u017B',
  40574. 'Zeta': '\u0396',
  40575. 'Zfr': '\u2128',
  40576. 'zeetrf': '\u2128',
  40577. 'Zopf': '\u2124',
  40578. 'integers': '\u2124',
  40579. 'Zscr': '\uD835\uDCB5',
  40580. 'aacute': '\u00E1',
  40581. 'abreve': '\u0103',
  40582. 'ac': '\u223E',
  40583. 'mstpos': '\u223E',
  40584. 'acE': '\u223E\u0333',
  40585. 'acd': '\u223F',
  40586. 'acirc': '\u00E2',
  40587. 'acy': '\u0430',
  40588. 'aelig': '\u00E6',
  40589. 'afr': '\uD835\uDD1E',
  40590. 'agrave': '\u00E0',
  40591. 'alefsym': '\u2135',
  40592. 'aleph': '\u2135',
  40593. 'alpha': '\u03B1',
  40594. 'amacr': '\u0101',
  40595. 'amalg': '\u2A3F',
  40596. 'and': '\u2227',
  40597. 'wedge': '\u2227',
  40598. 'andand': '\u2A55',
  40599. 'andd': '\u2A5C',
  40600. 'andslope': '\u2A58',
  40601. 'andv': '\u2A5A',
  40602. 'ang': '\u2220',
  40603. 'angle': '\u2220',
  40604. 'ange': '\u29A4',
  40605. 'angmsd': '\u2221',
  40606. 'measuredangle': '\u2221',
  40607. 'angmsdaa': '\u29A8',
  40608. 'angmsdab': '\u29A9',
  40609. 'angmsdac': '\u29AA',
  40610. 'angmsdad': '\u29AB',
  40611. 'angmsdae': '\u29AC',
  40612. 'angmsdaf': '\u29AD',
  40613. 'angmsdag': '\u29AE',
  40614. 'angmsdah': '\u29AF',
  40615. 'angrt': '\u221F',
  40616. 'angrtvb': '\u22BE',
  40617. 'angrtvbd': '\u299D',
  40618. 'angsph': '\u2222',
  40619. 'angzarr': '\u237C',
  40620. 'aogon': '\u0105',
  40621. 'aopf': '\uD835\uDD52',
  40622. 'apE': '\u2A70',
  40623. 'apacir': '\u2A6F',
  40624. 'ape': '\u224A',
  40625. 'approxeq': '\u224A',
  40626. 'apid': '\u224B',
  40627. 'apos': '\u0027',
  40628. 'aring': '\u00E5',
  40629. 'ascr': '\uD835\uDCB6',
  40630. 'ast': '\u002A',
  40631. 'midast': '\u002A',
  40632. 'atilde': '\u00E3',
  40633. 'auml': '\u00E4',
  40634. 'awint': '\u2A11',
  40635. 'bNot': '\u2AED',
  40636. 'backcong': '\u224C',
  40637. 'bcong': '\u224C',
  40638. 'backepsilon': '\u03F6',
  40639. 'bepsi': '\u03F6',
  40640. 'backprime': '\u2035',
  40641. 'bprime': '\u2035',
  40642. 'backsim': '\u223D',
  40643. 'bsim': '\u223D',
  40644. 'backsimeq': '\u22CD',
  40645. 'bsime': '\u22CD',
  40646. 'barvee': '\u22BD',
  40647. 'barwed': '\u2305',
  40648. 'barwedge': '\u2305',
  40649. 'bbrktbrk': '\u23B6',
  40650. 'bcy': '\u0431',
  40651. 'bdquo': '\u201E',
  40652. 'ldquor': '\u201E',
  40653. 'bemptyv': '\u29B0',
  40654. 'beta': '\u03B2',
  40655. 'beth': '\u2136',
  40656. 'between': '\u226C',
  40657. 'twixt': '\u226C',
  40658. 'bfr': '\uD835\uDD1F',
  40659. 'bigcirc': '\u25EF',
  40660. 'xcirc': '\u25EF',
  40661. 'bigodot': '\u2A00',
  40662. 'xodot': '\u2A00',
  40663. 'bigoplus': '\u2A01',
  40664. 'xoplus': '\u2A01',
  40665. 'bigotimes': '\u2A02',
  40666. 'xotime': '\u2A02',
  40667. 'bigsqcup': '\u2A06',
  40668. 'xsqcup': '\u2A06',
  40669. 'bigstar': '\u2605',
  40670. 'starf': '\u2605',
  40671. 'bigtriangledown': '\u25BD',
  40672. 'xdtri': '\u25BD',
  40673. 'bigtriangleup': '\u25B3',
  40674. 'xutri': '\u25B3',
  40675. 'biguplus': '\u2A04',
  40676. 'xuplus': '\u2A04',
  40677. 'bkarow': '\u290D',
  40678. 'rbarr': '\u290D',
  40679. 'blacklozenge': '\u29EB',
  40680. 'lozf': '\u29EB',
  40681. 'blacktriangle': '\u25B4',
  40682. 'utrif': '\u25B4',
  40683. 'blacktriangledown': '\u25BE',
  40684. 'dtrif': '\u25BE',
  40685. 'blacktriangleleft': '\u25C2',
  40686. 'ltrif': '\u25C2',
  40687. 'blacktriangleright': '\u25B8',
  40688. 'rtrif': '\u25B8',
  40689. 'blank': '\u2423',
  40690. 'blk12': '\u2592',
  40691. 'blk14': '\u2591',
  40692. 'blk34': '\u2593',
  40693. 'block': '\u2588',
  40694. 'bne': '\u003D\u20E5',
  40695. 'bnequiv': '\u2261\u20E5',
  40696. 'bnot': '\u2310',
  40697. 'bopf': '\uD835\uDD53',
  40698. 'bowtie': '\u22C8',
  40699. 'boxDL': '\u2557',
  40700. 'boxDR': '\u2554',
  40701. 'boxDl': '\u2556',
  40702. 'boxDr': '\u2553',
  40703. 'boxH': '\u2550',
  40704. 'boxHD': '\u2566',
  40705. 'boxHU': '\u2569',
  40706. 'boxHd': '\u2564',
  40707. 'boxHu': '\u2567',
  40708. 'boxUL': '\u255D',
  40709. 'boxUR': '\u255A',
  40710. 'boxUl': '\u255C',
  40711. 'boxUr': '\u2559',
  40712. 'boxV': '\u2551',
  40713. 'boxVH': '\u256C',
  40714. 'boxVL': '\u2563',
  40715. 'boxVR': '\u2560',
  40716. 'boxVh': '\u256B',
  40717. 'boxVl': '\u2562',
  40718. 'boxVr': '\u255F',
  40719. 'boxbox': '\u29C9',
  40720. 'boxdL': '\u2555',
  40721. 'boxdR': '\u2552',
  40722. 'boxdl': '\u2510',
  40723. 'boxdr': '\u250C',
  40724. 'boxhD': '\u2565',
  40725. 'boxhU': '\u2568',
  40726. 'boxhd': '\u252C',
  40727. 'boxhu': '\u2534',
  40728. 'boxminus': '\u229F',
  40729. 'minusb': '\u229F',
  40730. 'boxplus': '\u229E',
  40731. 'plusb': '\u229E',
  40732. 'boxtimes': '\u22A0',
  40733. 'timesb': '\u22A0',
  40734. 'boxuL': '\u255B',
  40735. 'boxuR': '\u2558',
  40736. 'boxul': '\u2518',
  40737. 'boxur': '\u2514',
  40738. 'boxv': '\u2502',
  40739. 'boxvH': '\u256A',
  40740. 'boxvL': '\u2561',
  40741. 'boxvR': '\u255E',
  40742. 'boxvh': '\u253C',
  40743. 'boxvl': '\u2524',
  40744. 'boxvr': '\u251C',
  40745. 'brvbar': '\u00A6',
  40746. 'bscr': '\uD835\uDCB7',
  40747. 'bsemi': '\u204F',
  40748. 'bsol': '\u005C',
  40749. 'bsolb': '\u29C5',
  40750. 'bsolhsub': '\u27C8',
  40751. 'bull': '\u2022',
  40752. 'bullet': '\u2022',
  40753. 'bumpE': '\u2AAE',
  40754. 'cacute': '\u0107',
  40755. 'cap': '\u2229',
  40756. 'capand': '\u2A44',
  40757. 'capbrcup': '\u2A49',
  40758. 'capcap': '\u2A4B',
  40759. 'capcup': '\u2A47',
  40760. 'capdot': '\u2A40',
  40761. 'caps': '\u2229\uFE00',
  40762. 'caret': '\u2041',
  40763. 'ccaps': '\u2A4D',
  40764. 'ccaron': '\u010D',
  40765. 'ccedil': '\u00E7',
  40766. 'ccirc': '\u0109',
  40767. 'ccups': '\u2A4C',
  40768. 'ccupssm': '\u2A50',
  40769. 'cdot': '\u010B',
  40770. 'cemptyv': '\u29B2',
  40771. 'cent': '\u00A2',
  40772. 'cfr': '\uD835\uDD20',
  40773. 'chcy': '\u0447',
  40774. 'check': '\u2713',
  40775. 'checkmark': '\u2713',
  40776. 'chi': '\u03C7',
  40777. 'cir': '\u25CB',
  40778. 'cirE': '\u29C3',
  40779. 'circ': '\u02C6',
  40780. 'circeq': '\u2257',
  40781. 'cire': '\u2257',
  40782. 'circlearrowleft': '\u21BA',
  40783. 'olarr': '\u21BA',
  40784. 'circlearrowright': '\u21BB',
  40785. 'orarr': '\u21BB',
  40786. 'circledS': '\u24C8',
  40787. 'oS': '\u24C8',
  40788. 'circledast': '\u229B',
  40789. 'oast': '\u229B',
  40790. 'circledcirc': '\u229A',
  40791. 'ocir': '\u229A',
  40792. 'circleddash': '\u229D',
  40793. 'odash': '\u229D',
  40794. 'cirfnint': '\u2A10',
  40795. 'cirmid': '\u2AEF',
  40796. 'cirscir': '\u29C2',
  40797. 'clubs': '\u2663',
  40798. 'clubsuit': '\u2663',
  40799. 'colon': '\u003A',
  40800. 'comma': '\u002C',
  40801. 'commat': '\u0040',
  40802. 'comp': '\u2201',
  40803. 'complement': '\u2201',
  40804. 'congdot': '\u2A6D',
  40805. 'copf': '\uD835\uDD54',
  40806. 'copysr': '\u2117',
  40807. 'crarr': '\u21B5',
  40808. 'cross': '\u2717',
  40809. 'cscr': '\uD835\uDCB8',
  40810. 'csub': '\u2ACF',
  40811. 'csube': '\u2AD1',
  40812. 'csup': '\u2AD0',
  40813. 'csupe': '\u2AD2',
  40814. 'ctdot': '\u22EF',
  40815. 'cudarrl': '\u2938',
  40816. 'cudarrr': '\u2935',
  40817. 'cuepr': '\u22DE',
  40818. 'curlyeqprec': '\u22DE',
  40819. 'cuesc': '\u22DF',
  40820. 'curlyeqsucc': '\u22DF',
  40821. 'cularr': '\u21B6',
  40822. 'curvearrowleft': '\u21B6',
  40823. 'cularrp': '\u293D',
  40824. 'cup': '\u222A',
  40825. 'cupbrcap': '\u2A48',
  40826. 'cupcap': '\u2A46',
  40827. 'cupcup': '\u2A4A',
  40828. 'cupdot': '\u228D',
  40829. 'cupor': '\u2A45',
  40830. 'cups': '\u222A\uFE00',
  40831. 'curarr': '\u21B7',
  40832. 'curvearrowright': '\u21B7',
  40833. 'curarrm': '\u293C',
  40834. 'curlyvee': '\u22CE',
  40835. 'cuvee': '\u22CE',
  40836. 'curlywedge': '\u22CF',
  40837. 'cuwed': '\u22CF',
  40838. 'curren': '\u00A4',
  40839. 'cwint': '\u2231',
  40840. 'cylcty': '\u232D',
  40841. 'dHar': '\u2965',
  40842. 'dagger': '\u2020',
  40843. 'daleth': '\u2138',
  40844. 'dash': '\u2010',
  40845. 'hyphen': '\u2010',
  40846. 'dbkarow': '\u290F',
  40847. 'rBarr': '\u290F',
  40848. 'dcaron': '\u010F',
  40849. 'dcy': '\u0434',
  40850. 'ddarr': '\u21CA',
  40851. 'downdownarrows': '\u21CA',
  40852. 'ddotseq': '\u2A77',
  40853. 'eDDot': '\u2A77',
  40854. 'deg': '\u00B0',
  40855. 'delta': '\u03B4',
  40856. 'demptyv': '\u29B1',
  40857. 'dfisht': '\u297F',
  40858. 'dfr': '\uD835\uDD21',
  40859. 'diamondsuit': '\u2666',
  40860. 'diams': '\u2666',
  40861. 'digamma': '\u03DD',
  40862. 'gammad': '\u03DD',
  40863. 'disin': '\u22F2',
  40864. 'div': '\u00F7',
  40865. 'divide': '\u00F7',
  40866. 'divideontimes': '\u22C7',
  40867. 'divonx': '\u22C7',
  40868. 'djcy': '\u0452',
  40869. 'dlcorn': '\u231E',
  40870. 'llcorner': '\u231E',
  40871. 'dlcrop': '\u230D',
  40872. 'dollar': '\u0024',
  40873. 'dopf': '\uD835\uDD55',
  40874. 'doteqdot': '\u2251',
  40875. 'eDot': '\u2251',
  40876. 'dotminus': '\u2238',
  40877. 'minusd': '\u2238',
  40878. 'dotplus': '\u2214',
  40879. 'plusdo': '\u2214',
  40880. 'dotsquare': '\u22A1',
  40881. 'sdotb': '\u22A1',
  40882. 'drcorn': '\u231F',
  40883. 'lrcorner': '\u231F',
  40884. 'drcrop': '\u230C',
  40885. 'dscr': '\uD835\uDCB9',
  40886. 'dscy': '\u0455',
  40887. 'dsol': '\u29F6',
  40888. 'dstrok': '\u0111',
  40889. 'dtdot': '\u22F1',
  40890. 'dtri': '\u25BF',
  40891. 'triangledown': '\u25BF',
  40892. 'dwangle': '\u29A6',
  40893. 'dzcy': '\u045F',
  40894. 'dzigrarr': '\u27FF',
  40895. 'eacute': '\u00E9',
  40896. 'easter': '\u2A6E',
  40897. 'ecaron': '\u011B',
  40898. 'ecir': '\u2256',
  40899. 'eqcirc': '\u2256',
  40900. 'ecirc': '\u00EA',
  40901. 'ecolon': '\u2255',
  40902. 'eqcolon': '\u2255',
  40903. 'ecy': '\u044D',
  40904. 'edot': '\u0117',
  40905. 'efDot': '\u2252',
  40906. 'fallingdotseq': '\u2252',
  40907. 'efr': '\uD835\uDD22',
  40908. 'eg': '\u2A9A',
  40909. 'egrave': '\u00E8',
  40910. 'egs': '\u2A96',
  40911. 'eqslantgtr': '\u2A96',
  40912. 'egsdot': '\u2A98',
  40913. 'el': '\u2A99',
  40914. 'elinters': '\u23E7',
  40915. 'ell': '\u2113',
  40916. 'els': '\u2A95',
  40917. 'eqslantless': '\u2A95',
  40918. 'elsdot': '\u2A97',
  40919. 'emacr': '\u0113',
  40920. 'empty': '\u2205',
  40921. 'emptyset': '\u2205',
  40922. 'emptyv': '\u2205',
  40923. 'varnothing': '\u2205',
  40924. 'emsp13': '\u2004',
  40925. 'emsp14': '\u2005',
  40926. 'emsp': '\u2003',
  40927. 'eng': '\u014B',
  40928. 'ensp': '\u2002',
  40929. 'eogon': '\u0119',
  40930. 'eopf': '\uD835\uDD56',
  40931. 'epar': '\u22D5',
  40932. 'eparsl': '\u29E3',
  40933. 'eplus': '\u2A71',
  40934. 'epsi': '\u03B5',
  40935. 'epsilon': '\u03B5',
  40936. 'epsiv': '\u03F5',
  40937. 'straightepsilon': '\u03F5',
  40938. 'varepsilon': '\u03F5',
  40939. 'equals': '\u003D',
  40940. 'equest': '\u225F',
  40941. 'questeq': '\u225F',
  40942. 'equivDD': '\u2A78',
  40943. 'eqvparsl': '\u29E5',
  40944. 'erDot': '\u2253',
  40945. 'risingdotseq': '\u2253',
  40946. 'erarr': '\u2971',
  40947. 'escr': '\u212F',
  40948. 'eta': '\u03B7',
  40949. 'eth': '\u00F0',
  40950. 'euml': '\u00EB',
  40951. 'euro': '\u20AC',
  40952. 'excl': '\u0021',
  40953. 'fcy': '\u0444',
  40954. 'female': '\u2640',
  40955. 'ffilig': '\uFB03',
  40956. 'fflig': '\uFB00',
  40957. 'ffllig': '\uFB04',
  40958. 'ffr': '\uD835\uDD23',
  40959. 'filig': '\uFB01',
  40960. 'fjlig': '\u0066\u006A',
  40961. 'flat': '\u266D',
  40962. 'fllig': '\uFB02',
  40963. 'fltns': '\u25B1',
  40964. 'fnof': '\u0192',
  40965. 'fopf': '\uD835\uDD57',
  40966. 'fork': '\u22D4',
  40967. 'pitchfork': '\u22D4',
  40968. 'forkv': '\u2AD9',
  40969. 'fpartint': '\u2A0D',
  40970. 'frac12': '\u00BD',
  40971. 'half': '\u00BD',
  40972. 'frac13': '\u2153',
  40973. 'frac14': '\u00BC',
  40974. 'frac15': '\u2155',
  40975. 'frac16': '\u2159',
  40976. 'frac18': '\u215B',
  40977. 'frac23': '\u2154',
  40978. 'frac25': '\u2156',
  40979. 'frac34': '\u00BE',
  40980. 'frac35': '\u2157',
  40981. 'frac38': '\u215C',
  40982. 'frac45': '\u2158',
  40983. 'frac56': '\u215A',
  40984. 'frac58': '\u215D',
  40985. 'frac78': '\u215E',
  40986. 'frasl': '\u2044',
  40987. 'frown': '\u2322',
  40988. 'sfrown': '\u2322',
  40989. 'fscr': '\uD835\uDCBB',
  40990. 'gEl': '\u2A8C',
  40991. 'gtreqqless': '\u2A8C',
  40992. 'gacute': '\u01F5',
  40993. 'gamma': '\u03B3',
  40994. 'gap': '\u2A86',
  40995. 'gtrapprox': '\u2A86',
  40996. 'gbreve': '\u011F',
  40997. 'gcirc': '\u011D',
  40998. 'gcy': '\u0433',
  40999. 'gdot': '\u0121',
  41000. 'gescc': '\u2AA9',
  41001. 'gesdot': '\u2A80',
  41002. 'gesdoto': '\u2A82',
  41003. 'gesdotol': '\u2A84',
  41004. 'gesl': '\u22DB\uFE00',
  41005. 'gesles': '\u2A94',
  41006. 'gfr': '\uD835\uDD24',
  41007. 'gimel': '\u2137',
  41008. 'gjcy': '\u0453',
  41009. 'glE': '\u2A92',
  41010. 'gla': '\u2AA5',
  41011. 'glj': '\u2AA4',
  41012. 'gnE': '\u2269',
  41013. 'gneqq': '\u2269',
  41014. 'gnap': '\u2A8A',
  41015. 'gnapprox': '\u2A8A',
  41016. 'gne': '\u2A88',
  41017. 'gneq': '\u2A88',
  41018. 'gnsim': '\u22E7',
  41019. 'gopf': '\uD835\uDD58',
  41020. 'gscr': '\u210A',
  41021. 'gsime': '\u2A8E',
  41022. 'gsiml': '\u2A90',
  41023. 'gtcc': '\u2AA7',
  41024. 'gtcir': '\u2A7A',
  41025. 'gtdot': '\u22D7',
  41026. 'gtrdot': '\u22D7',
  41027. 'gtlPar': '\u2995',
  41028. 'gtquest': '\u2A7C',
  41029. 'gtrarr': '\u2978',
  41030. 'gvertneqq': '\u2269\uFE00',
  41031. 'gvnE': '\u2269\uFE00',
  41032. 'hardcy': '\u044A',
  41033. 'harrcir': '\u2948',
  41034. 'harrw': '\u21AD',
  41035. 'leftrightsquigarrow': '\u21AD',
  41036. 'hbar': '\u210F',
  41037. 'hslash': '\u210F',
  41038. 'planck': '\u210F',
  41039. 'plankv': '\u210F',
  41040. 'hcirc': '\u0125',
  41041. 'hearts': '\u2665',
  41042. 'heartsuit': '\u2665',
  41043. 'hellip': '\u2026',
  41044. 'mldr': '\u2026',
  41045. 'hercon': '\u22B9',
  41046. 'hfr': '\uD835\uDD25',
  41047. 'hksearow': '\u2925',
  41048. 'searhk': '\u2925',
  41049. 'hkswarow': '\u2926',
  41050. 'swarhk': '\u2926',
  41051. 'hoarr': '\u21FF',
  41052. 'homtht': '\u223B',
  41053. 'hookleftarrow': '\u21A9',
  41054. 'larrhk': '\u21A9',
  41055. 'hookrightarrow': '\u21AA',
  41056. 'rarrhk': '\u21AA',
  41057. 'hopf': '\uD835\uDD59',
  41058. 'horbar': '\u2015',
  41059. 'hscr': '\uD835\uDCBD',
  41060. 'hstrok': '\u0127',
  41061. 'hybull': '\u2043',
  41062. 'iacute': '\u00ED',
  41063. 'icirc': '\u00EE',
  41064. 'icy': '\u0438',
  41065. 'iecy': '\u0435',
  41066. 'iexcl': '\u00A1',
  41067. 'ifr': '\uD835\uDD26',
  41068. 'igrave': '\u00EC',
  41069. 'iiiint': '\u2A0C',
  41070. 'qint': '\u2A0C',
  41071. 'iiint': '\u222D',
  41072. 'tint': '\u222D',
  41073. 'iinfin': '\u29DC',
  41074. 'iiota': '\u2129',
  41075. 'ijlig': '\u0133',
  41076. 'imacr': '\u012B',
  41077. 'imath': '\u0131',
  41078. 'inodot': '\u0131',
  41079. 'imof': '\u22B7',
  41080. 'imped': '\u01B5',
  41081. 'incare': '\u2105',
  41082. 'infin': '\u221E',
  41083. 'infintie': '\u29DD',
  41084. 'intcal': '\u22BA',
  41085. 'intercal': '\u22BA',
  41086. 'intlarhk': '\u2A17',
  41087. 'intprod': '\u2A3C',
  41088. 'iprod': '\u2A3C',
  41089. 'iocy': '\u0451',
  41090. 'iogon': '\u012F',
  41091. 'iopf': '\uD835\uDD5A',
  41092. 'iota': '\u03B9',
  41093. 'iquest': '\u00BF',
  41094. 'iscr': '\uD835\uDCBE',
  41095. 'isinE': '\u22F9',
  41096. 'isindot': '\u22F5',
  41097. 'isins': '\u22F4',
  41098. 'isinsv': '\u22F3',
  41099. 'itilde': '\u0129',
  41100. 'iukcy': '\u0456',
  41101. 'iuml': '\u00EF',
  41102. 'jcirc': '\u0135',
  41103. 'jcy': '\u0439',
  41104. 'jfr': '\uD835\uDD27',
  41105. 'jmath': '\u0237',
  41106. 'jopf': '\uD835\uDD5B',
  41107. 'jscr': '\uD835\uDCBF',
  41108. 'jsercy': '\u0458',
  41109. 'jukcy': '\u0454',
  41110. 'kappa': '\u03BA',
  41111. 'kappav': '\u03F0',
  41112. 'varkappa': '\u03F0',
  41113. 'kcedil': '\u0137',
  41114. 'kcy': '\u043A',
  41115. 'kfr': '\uD835\uDD28',
  41116. 'kgreen': '\u0138',
  41117. 'khcy': '\u0445',
  41118. 'kjcy': '\u045C',
  41119. 'kopf': '\uD835\uDD5C',
  41120. 'kscr': '\uD835\uDCC0',
  41121. 'lAtail': '\u291B',
  41122. 'lBarr': '\u290E',
  41123. 'lEg': '\u2A8B',
  41124. 'lesseqqgtr': '\u2A8B',
  41125. 'lHar': '\u2962',
  41126. 'lacute': '\u013A',
  41127. 'laemptyv': '\u29B4',
  41128. 'lambda': '\u03BB',
  41129. 'langd': '\u2991',
  41130. 'lap': '\u2A85',
  41131. 'lessapprox': '\u2A85',
  41132. 'laquo': '\u00AB',
  41133. 'larrbfs': '\u291F',
  41134. 'larrfs': '\u291D',
  41135. 'larrlp': '\u21AB',
  41136. 'looparrowleft': '\u21AB',
  41137. 'larrpl': '\u2939',
  41138. 'larrsim': '\u2973',
  41139. 'larrtl': '\u21A2',
  41140. 'leftarrowtail': '\u21A2',
  41141. 'lat': '\u2AAB',
  41142. 'latail': '\u2919',
  41143. 'late': '\u2AAD',
  41144. 'lates': '\u2AAD\uFE00',
  41145. 'lbarr': '\u290C',
  41146. 'lbbrk': '\u2772',
  41147. 'lbrace': '\u007B',
  41148. 'lcub': '\u007B',
  41149. 'lbrack': '\u005B',
  41150. 'lsqb': '\u005B',
  41151. 'lbrke': '\u298B',
  41152. 'lbrksld': '\u298F',
  41153. 'lbrkslu': '\u298D',
  41154. 'lcaron': '\u013E',
  41155. 'lcedil': '\u013C',
  41156. 'lcy': '\u043B',
  41157. 'ldca': '\u2936',
  41158. 'ldrdhar': '\u2967',
  41159. 'ldrushar': '\u294B',
  41160. 'ldsh': '\u21B2',
  41161. 'le': '\u2264',
  41162. 'leq': '\u2264',
  41163. 'leftleftarrows': '\u21C7',
  41164. 'llarr': '\u21C7',
  41165. 'leftthreetimes': '\u22CB',
  41166. 'lthree': '\u22CB',
  41167. 'lescc': '\u2AA8',
  41168. 'lesdot': '\u2A7F',
  41169. 'lesdoto': '\u2A81',
  41170. 'lesdotor': '\u2A83',
  41171. 'lesg': '\u22DA\uFE00',
  41172. 'lesges': '\u2A93',
  41173. 'lessdot': '\u22D6',
  41174. 'ltdot': '\u22D6',
  41175. 'lfisht': '\u297C',
  41176. 'lfr': '\uD835\uDD29',
  41177. 'lgE': '\u2A91',
  41178. 'lharul': '\u296A',
  41179. 'lhblk': '\u2584',
  41180. 'ljcy': '\u0459',
  41181. 'llhard': '\u296B',
  41182. 'lltri': '\u25FA',
  41183. 'lmidot': '\u0140',
  41184. 'lmoust': '\u23B0',
  41185. 'lmoustache': '\u23B0',
  41186. 'lnE': '\u2268',
  41187. 'lneqq': '\u2268',
  41188. 'lnap': '\u2A89',
  41189. 'lnapprox': '\u2A89',
  41190. 'lne': '\u2A87',
  41191. 'lneq': '\u2A87',
  41192. 'lnsim': '\u22E6',
  41193. 'loang': '\u27EC',
  41194. 'loarr': '\u21FD',
  41195. 'longmapsto': '\u27FC',
  41196. 'xmap': '\u27FC',
  41197. 'looparrowright': '\u21AC',
  41198. 'rarrlp': '\u21AC',
  41199. 'lopar': '\u2985',
  41200. 'lopf': '\uD835\uDD5D',
  41201. 'loplus': '\u2A2D',
  41202. 'lotimes': '\u2A34',
  41203. 'lowast': '\u2217',
  41204. 'loz': '\u25CA',
  41205. 'lozenge': '\u25CA',
  41206. 'lpar': '\u0028',
  41207. 'lparlt': '\u2993',
  41208. 'lrhard': '\u296D',
  41209. 'lrm': '\u200E',
  41210. 'lrtri': '\u22BF',
  41211. 'lsaquo': '\u2039',
  41212. 'lscr': '\uD835\uDCC1',
  41213. 'lsime': '\u2A8D',
  41214. 'lsimg': '\u2A8F',
  41215. 'lsquor': '\u201A',
  41216. 'sbquo': '\u201A',
  41217. 'lstrok': '\u0142',
  41218. 'ltcc': '\u2AA6',
  41219. 'ltcir': '\u2A79',
  41220. 'ltimes': '\u22C9',
  41221. 'ltlarr': '\u2976',
  41222. 'ltquest': '\u2A7B',
  41223. 'ltrPar': '\u2996',
  41224. 'ltri': '\u25C3',
  41225. 'triangleleft': '\u25C3',
  41226. 'lurdshar': '\u294A',
  41227. 'luruhar': '\u2966',
  41228. 'lvertneqq': '\u2268\uFE00',
  41229. 'lvnE': '\u2268\uFE00',
  41230. 'mDDot': '\u223A',
  41231. 'macr': '\u00AF',
  41232. 'strns': '\u00AF',
  41233. 'male': '\u2642',
  41234. 'malt': '\u2720',
  41235. 'maltese': '\u2720',
  41236. 'marker': '\u25AE',
  41237. 'mcomma': '\u2A29',
  41238. 'mcy': '\u043C',
  41239. 'mdash': '\u2014',
  41240. 'mfr': '\uD835\uDD2A',
  41241. 'mho': '\u2127',
  41242. 'micro': '\u00B5',
  41243. 'midcir': '\u2AF0',
  41244. 'minus': '\u2212',
  41245. 'minusdu': '\u2A2A',
  41246. 'mlcp': '\u2ADB',
  41247. 'models': '\u22A7',
  41248. 'mopf': '\uD835\uDD5E',
  41249. 'mscr': '\uD835\uDCC2',
  41250. 'mu': '\u03BC',
  41251. 'multimap': '\u22B8',
  41252. 'mumap': '\u22B8',
  41253. 'nGg': '\u22D9\u0338',
  41254. 'nGt': '\u226B\u20D2',
  41255. 'nLeftarrow': '\u21CD',
  41256. 'nlArr': '\u21CD',
  41257. 'nLeftrightarrow': '\u21CE',
  41258. 'nhArr': '\u21CE',
  41259. 'nLl': '\u22D8\u0338',
  41260. 'nLt': '\u226A\u20D2',
  41261. 'nRightarrow': '\u21CF',
  41262. 'nrArr': '\u21CF',
  41263. 'nVDash': '\u22AF',
  41264. 'nVdash': '\u22AE',
  41265. 'nacute': '\u0144',
  41266. 'nang': '\u2220\u20D2',
  41267. 'napE': '\u2A70\u0338',
  41268. 'napid': '\u224B\u0338',
  41269. 'napos': '\u0149',
  41270. 'natur': '\u266E',
  41271. 'natural': '\u266E',
  41272. 'ncap': '\u2A43',
  41273. 'ncaron': '\u0148',
  41274. 'ncedil': '\u0146',
  41275. 'ncongdot': '\u2A6D\u0338',
  41276. 'ncup': '\u2A42',
  41277. 'ncy': '\u043D',
  41278. 'ndash': '\u2013',
  41279. 'neArr': '\u21D7',
  41280. 'nearhk': '\u2924',
  41281. 'nedot': '\u2250\u0338',
  41282. 'nesear': '\u2928',
  41283. 'toea': '\u2928',
  41284. 'nfr': '\uD835\uDD2B',
  41285. 'nharr': '\u21AE',
  41286. 'nleftrightarrow': '\u21AE',
  41287. 'nhpar': '\u2AF2',
  41288. 'nis': '\u22FC',
  41289. 'nisd': '\u22FA',
  41290. 'njcy': '\u045A',
  41291. 'nlE': '\u2266\u0338',
  41292. 'nleqq': '\u2266\u0338',
  41293. 'nlarr': '\u219A',
  41294. 'nleftarrow': '\u219A',
  41295. 'nldr': '\u2025',
  41296. 'nopf': '\uD835\uDD5F',
  41297. 'not': '\u00AC',
  41298. 'notinE': '\u22F9\u0338',
  41299. 'notindot': '\u22F5\u0338',
  41300. 'notinvb': '\u22F7',
  41301. 'notinvc': '\u22F6',
  41302. 'notnivb': '\u22FE',
  41303. 'notnivc': '\u22FD',
  41304. 'nparsl': '\u2AFD\u20E5',
  41305. 'npart': '\u2202\u0338',
  41306. 'npolint': '\u2A14',
  41307. 'nrarr': '\u219B',
  41308. 'nrightarrow': '\u219B',
  41309. 'nrarrc': '\u2933\u0338',
  41310. 'nrarrw': '\u219D\u0338',
  41311. 'nscr': '\uD835\uDCC3',
  41312. 'nsub': '\u2284',
  41313. 'nsubE': '\u2AC5\u0338',
  41314. 'nsubseteqq': '\u2AC5\u0338',
  41315. 'nsup': '\u2285',
  41316. 'nsupE': '\u2AC6\u0338',
  41317. 'nsupseteqq': '\u2AC6\u0338',
  41318. 'ntilde': '\u00F1',
  41319. 'nu': '\u03BD',
  41320. 'num': '\u0023',
  41321. 'numero': '\u2116',
  41322. 'numsp': '\u2007',
  41323. 'nvDash': '\u22AD',
  41324. 'nvHarr': '\u2904',
  41325. 'nvap': '\u224D\u20D2',
  41326. 'nvdash': '\u22AC',
  41327. 'nvge': '\u2265\u20D2',
  41328. 'nvgt': '\u003E\u20D2',
  41329. 'nvinfin': '\u29DE',
  41330. 'nvlArr': '\u2902',
  41331. 'nvle': '\u2264\u20D2',
  41332. 'nvlt': '\u003C\u20D2',
  41333. 'nvltrie': '\u22B4\u20D2',
  41334. 'nvrArr': '\u2903',
  41335. 'nvrtrie': '\u22B5\u20D2',
  41336. 'nvsim': '\u223C\u20D2',
  41337. 'nwArr': '\u21D6',
  41338. 'nwarhk': '\u2923',
  41339. 'nwnear': '\u2927',
  41340. 'oacute': '\u00F3',
  41341. 'ocirc': '\u00F4',
  41342. 'ocy': '\u043E',
  41343. 'odblac': '\u0151',
  41344. 'odiv': '\u2A38',
  41345. 'odsold': '\u29BC',
  41346. 'oelig': '\u0153',
  41347. 'ofcir': '\u29BF',
  41348. 'ofr': '\uD835\uDD2C',
  41349. 'ogon': '\u02DB',
  41350. 'ograve': '\u00F2',
  41351. 'ogt': '\u29C1',
  41352. 'ohbar': '\u29B5',
  41353. 'olcir': '\u29BE',
  41354. 'olcross': '\u29BB',
  41355. 'olt': '\u29C0',
  41356. 'omacr': '\u014D',
  41357. 'omega': '\u03C9',
  41358. 'omicron': '\u03BF',
  41359. 'omid': '\u29B6',
  41360. 'oopf': '\uD835\uDD60',
  41361. 'opar': '\u29B7',
  41362. 'operp': '\u29B9',
  41363. 'or': '\u2228',
  41364. 'vee': '\u2228',
  41365. 'ord': '\u2A5D',
  41366. 'order': '\u2134',
  41367. 'orderof': '\u2134',
  41368. 'oscr': '\u2134',
  41369. 'ordf': '\u00AA',
  41370. 'ordm': '\u00BA',
  41371. 'origof': '\u22B6',
  41372. 'oror': '\u2A56',
  41373. 'orslope': '\u2A57',
  41374. 'orv': '\u2A5B',
  41375. 'oslash': '\u00F8',
  41376. 'osol': '\u2298',
  41377. 'otilde': '\u00F5',
  41378. 'otimesas': '\u2A36',
  41379. 'ouml': '\u00F6',
  41380. 'ovbar': '\u233D',
  41381. 'para': '\u00B6',
  41382. 'parsim': '\u2AF3',
  41383. 'parsl': '\u2AFD',
  41384. 'pcy': '\u043F',
  41385. 'percnt': '\u0025',
  41386. 'period': '\u002E',
  41387. 'permil': '\u2030',
  41388. 'pertenk': '\u2031',
  41389. 'pfr': '\uD835\uDD2D',
  41390. 'phi': '\u03C6',
  41391. 'phiv': '\u03D5',
  41392. 'straightphi': '\u03D5',
  41393. 'varphi': '\u03D5',
  41394. 'phone': '\u260E',
  41395. 'pi': '\u03C0',
  41396. 'piv': '\u03D6',
  41397. 'varpi': '\u03D6',
  41398. 'planckh': '\u210E',
  41399. 'plus': '\u002B',
  41400. 'plusacir': '\u2A23',
  41401. 'pluscir': '\u2A22',
  41402. 'plusdu': '\u2A25',
  41403. 'pluse': '\u2A72',
  41404. 'plussim': '\u2A26',
  41405. 'plustwo': '\u2A27',
  41406. 'pointint': '\u2A15',
  41407. 'popf': '\uD835\uDD61',
  41408. 'pound': '\u00A3',
  41409. 'prE': '\u2AB3',
  41410. 'prap': '\u2AB7',
  41411. 'precapprox': '\u2AB7',
  41412. 'precnapprox': '\u2AB9',
  41413. 'prnap': '\u2AB9',
  41414. 'precneqq': '\u2AB5',
  41415. 'prnE': '\u2AB5',
  41416. 'precnsim': '\u22E8',
  41417. 'prnsim': '\u22E8',
  41418. 'prime': '\u2032',
  41419. 'profalar': '\u232E',
  41420. 'profline': '\u2312',
  41421. 'profsurf': '\u2313',
  41422. 'prurel': '\u22B0',
  41423. 'pscr': '\uD835\uDCC5',
  41424. 'psi': '\u03C8',
  41425. 'puncsp': '\u2008',
  41426. 'qfr': '\uD835\uDD2E',
  41427. 'qopf': '\uD835\uDD62',
  41428. 'qprime': '\u2057',
  41429. 'qscr': '\uD835\uDCC6',
  41430. 'quatint': '\u2A16',
  41431. 'quest': '\u003F',
  41432. 'rAtail': '\u291C',
  41433. 'rHar': '\u2964',
  41434. 'race': '\u223D\u0331',
  41435. 'racute': '\u0155',
  41436. 'raemptyv': '\u29B3',
  41437. 'rangd': '\u2992',
  41438. 'range': '\u29A5',
  41439. 'raquo': '\u00BB',
  41440. 'rarrap': '\u2975',
  41441. 'rarrbfs': '\u2920',
  41442. 'rarrc': '\u2933',
  41443. 'rarrfs': '\u291E',
  41444. 'rarrpl': '\u2945',
  41445. 'rarrsim': '\u2974',
  41446. 'rarrtl': '\u21A3',
  41447. 'rightarrowtail': '\u21A3',
  41448. 'rarrw': '\u219D',
  41449. 'rightsquigarrow': '\u219D',
  41450. 'ratail': '\u291A',
  41451. 'ratio': '\u2236',
  41452. 'rbbrk': '\u2773',
  41453. 'rbrace': '\u007D',
  41454. 'rcub': '\u007D',
  41455. 'rbrack': '\u005D',
  41456. 'rsqb': '\u005D',
  41457. 'rbrke': '\u298C',
  41458. 'rbrksld': '\u298E',
  41459. 'rbrkslu': '\u2990',
  41460. 'rcaron': '\u0159',
  41461. 'rcedil': '\u0157',
  41462. 'rcy': '\u0440',
  41463. 'rdca': '\u2937',
  41464. 'rdldhar': '\u2969',
  41465. 'rdsh': '\u21B3',
  41466. 'rect': '\u25AD',
  41467. 'rfisht': '\u297D',
  41468. 'rfr': '\uD835\uDD2F',
  41469. 'rharul': '\u296C',
  41470. 'rho': '\u03C1',
  41471. 'rhov': '\u03F1',
  41472. 'varrho': '\u03F1',
  41473. 'rightrightarrows': '\u21C9',
  41474. 'rrarr': '\u21C9',
  41475. 'rightthreetimes': '\u22CC',
  41476. 'rthree': '\u22CC',
  41477. 'ring': '\u02DA',
  41478. 'rlm': '\u200F',
  41479. 'rmoust': '\u23B1',
  41480. 'rmoustache': '\u23B1',
  41481. 'rnmid': '\u2AEE',
  41482. 'roang': '\u27ED',
  41483. 'roarr': '\u21FE',
  41484. 'ropar': '\u2986',
  41485. 'ropf': '\uD835\uDD63',
  41486. 'roplus': '\u2A2E',
  41487. 'rotimes': '\u2A35',
  41488. 'rpar': '\u0029',
  41489. 'rpargt': '\u2994',
  41490. 'rppolint': '\u2A12',
  41491. 'rsaquo': '\u203A',
  41492. 'rscr': '\uD835\uDCC7',
  41493. 'rtimes': '\u22CA',
  41494. 'rtri': '\u25B9',
  41495. 'triangleright': '\u25B9',
  41496. 'rtriltri': '\u29CE',
  41497. 'ruluhar': '\u2968',
  41498. 'rx': '\u211E',
  41499. 'sacute': '\u015B',
  41500. 'scE': '\u2AB4',
  41501. 'scap': '\u2AB8',
  41502. 'succapprox': '\u2AB8',
  41503. 'scaron': '\u0161',
  41504. 'scedil': '\u015F',
  41505. 'scirc': '\u015D',
  41506. 'scnE': '\u2AB6',
  41507. 'succneqq': '\u2AB6',
  41508. 'scnap': '\u2ABA',
  41509. 'succnapprox': '\u2ABA',
  41510. 'scnsim': '\u22E9',
  41511. 'succnsim': '\u22E9',
  41512. 'scpolint': '\u2A13',
  41513. 'scy': '\u0441',
  41514. 'sdot': '\u22C5',
  41515. 'sdote': '\u2A66',
  41516. 'seArr': '\u21D8',
  41517. 'sect': '\u00A7',
  41518. 'semi': '\u003B',
  41519. 'seswar': '\u2929',
  41520. 'tosa': '\u2929',
  41521. 'sext': '\u2736',
  41522. 'sfr': '\uD835\uDD30',
  41523. 'sharp': '\u266F',
  41524. 'shchcy': '\u0449',
  41525. 'shcy': '\u0448',
  41526. 'shy': '\u00AD',
  41527. 'sigma': '\u03C3',
  41528. 'sigmaf': '\u03C2',
  41529. 'sigmav': '\u03C2',
  41530. 'varsigma': '\u03C2',
  41531. 'simdot': '\u2A6A',
  41532. 'simg': '\u2A9E',
  41533. 'simgE': '\u2AA0',
  41534. 'siml': '\u2A9D',
  41535. 'simlE': '\u2A9F',
  41536. 'simne': '\u2246',
  41537. 'simplus': '\u2A24',
  41538. 'simrarr': '\u2972',
  41539. 'smashp': '\u2A33',
  41540. 'smeparsl': '\u29E4',
  41541. 'smile': '\u2323',
  41542. 'ssmile': '\u2323',
  41543. 'smt': '\u2AAA',
  41544. 'smte': '\u2AAC',
  41545. 'smtes': '\u2AAC\uFE00',
  41546. 'softcy': '\u044C',
  41547. 'sol': '\u002F',
  41548. 'solb': '\u29C4',
  41549. 'solbar': '\u233F',
  41550. 'sopf': '\uD835\uDD64',
  41551. 'spades': '\u2660',
  41552. 'spadesuit': '\u2660',
  41553. 'sqcaps': '\u2293\uFE00',
  41554. 'sqcups': '\u2294\uFE00',
  41555. 'sscr': '\uD835\uDCC8',
  41556. 'star': '\u2606',
  41557. 'sub': '\u2282',
  41558. 'subset': '\u2282',
  41559. 'subE': '\u2AC5',
  41560. 'subseteqq': '\u2AC5',
  41561. 'subdot': '\u2ABD',
  41562. 'subedot': '\u2AC3',
  41563. 'submult': '\u2AC1',
  41564. 'subnE': '\u2ACB',
  41565. 'subsetneqq': '\u2ACB',
  41566. 'subne': '\u228A',
  41567. 'subsetneq': '\u228A',
  41568. 'subplus': '\u2ABF',
  41569. 'subrarr': '\u2979',
  41570. 'subsim': '\u2AC7',
  41571. 'subsub': '\u2AD5',
  41572. 'subsup': '\u2AD3',
  41573. 'sung': '\u266A',
  41574. 'sup1': '\u00B9',
  41575. 'sup2': '\u00B2',
  41576. 'sup3': '\u00B3',
  41577. 'supE': '\u2AC6',
  41578. 'supseteqq': '\u2AC6',
  41579. 'supdot': '\u2ABE',
  41580. 'supdsub': '\u2AD8',
  41581. 'supedot': '\u2AC4',
  41582. 'suphsol': '\u27C9',
  41583. 'suphsub': '\u2AD7',
  41584. 'suplarr': '\u297B',
  41585. 'supmult': '\u2AC2',
  41586. 'supnE': '\u2ACC',
  41587. 'supsetneqq': '\u2ACC',
  41588. 'supne': '\u228B',
  41589. 'supsetneq': '\u228B',
  41590. 'supplus': '\u2AC0',
  41591. 'supsim': '\u2AC8',
  41592. 'supsub': '\u2AD4',
  41593. 'supsup': '\u2AD6',
  41594. 'swArr': '\u21D9',
  41595. 'swnwar': '\u292A',
  41596. 'szlig': '\u00DF',
  41597. 'target': '\u2316',
  41598. 'tau': '\u03C4',
  41599. 'tcaron': '\u0165',
  41600. 'tcedil': '\u0163',
  41601. 'tcy': '\u0442',
  41602. 'telrec': '\u2315',
  41603. 'tfr': '\uD835\uDD31',
  41604. 'theta': '\u03B8',
  41605. 'thetasym': '\u03D1',
  41606. 'thetav': '\u03D1',
  41607. 'vartheta': '\u03D1',
  41608. 'thorn': '\u00FE',
  41609. 'times': '\u00D7',
  41610. 'timesbar': '\u2A31',
  41611. 'timesd': '\u2A30',
  41612. 'topbot': '\u2336',
  41613. 'topcir': '\u2AF1',
  41614. 'topf': '\uD835\uDD65',
  41615. 'topfork': '\u2ADA',
  41616. 'tprime': '\u2034',
  41617. 'triangle': '\u25B5',
  41618. 'utri': '\u25B5',
  41619. 'triangleq': '\u225C',
  41620. 'trie': '\u225C',
  41621. 'tridot': '\u25EC',
  41622. 'triminus': '\u2A3A',
  41623. 'triplus': '\u2A39',
  41624. 'trisb': '\u29CD',
  41625. 'tritime': '\u2A3B',
  41626. 'trpezium': '\u23E2',
  41627. 'tscr': '\uD835\uDCC9',
  41628. 'tscy': '\u0446',
  41629. 'tshcy': '\u045B',
  41630. 'tstrok': '\u0167',
  41631. 'uHar': '\u2963',
  41632. 'uacute': '\u00FA',
  41633. 'ubrcy': '\u045E',
  41634. 'ubreve': '\u016D',
  41635. 'ucirc': '\u00FB',
  41636. 'ucy': '\u0443',
  41637. 'udblac': '\u0171',
  41638. 'ufisht': '\u297E',
  41639. 'ufr': '\uD835\uDD32',
  41640. 'ugrave': '\u00F9',
  41641. 'uhblk': '\u2580',
  41642. 'ulcorn': '\u231C',
  41643. 'ulcorner': '\u231C',
  41644. 'ulcrop': '\u230F',
  41645. 'ultri': '\u25F8',
  41646. 'umacr': '\u016B',
  41647. 'uogon': '\u0173',
  41648. 'uopf': '\uD835\uDD66',
  41649. 'upsi': '\u03C5',
  41650. 'upsilon': '\u03C5',
  41651. 'upuparrows': '\u21C8',
  41652. 'uuarr': '\u21C8',
  41653. 'urcorn': '\u231D',
  41654. 'urcorner': '\u231D',
  41655. 'urcrop': '\u230E',
  41656. 'uring': '\u016F',
  41657. 'urtri': '\u25F9',
  41658. 'uscr': '\uD835\uDCCA',
  41659. 'utdot': '\u22F0',
  41660. 'utilde': '\u0169',
  41661. 'uuml': '\u00FC',
  41662. 'uwangle': '\u29A7',
  41663. 'vBar': '\u2AE8',
  41664. 'vBarv': '\u2AE9',
  41665. 'vangrt': '\u299C',
  41666. 'varsubsetneq': '\u228A\uFE00',
  41667. 'vsubne': '\u228A\uFE00',
  41668. 'varsubsetneqq': '\u2ACB\uFE00',
  41669. 'vsubnE': '\u2ACB\uFE00',
  41670. 'varsupsetneq': '\u228B\uFE00',
  41671. 'vsupne': '\u228B\uFE00',
  41672. 'varsupsetneqq': '\u2ACC\uFE00',
  41673. 'vsupnE': '\u2ACC\uFE00',
  41674. 'vcy': '\u0432',
  41675. 'veebar': '\u22BB',
  41676. 'veeeq': '\u225A',
  41677. 'vellip': '\u22EE',
  41678. 'vfr': '\uD835\uDD33',
  41679. 'vopf': '\uD835\uDD67',
  41680. 'vscr': '\uD835\uDCCB',
  41681. 'vzigzag': '\u299A',
  41682. 'wcirc': '\u0175',
  41683. 'wedbar': '\u2A5F',
  41684. 'wedgeq': '\u2259',
  41685. 'weierp': '\u2118',
  41686. 'wp': '\u2118',
  41687. 'wfr': '\uD835\uDD34',
  41688. 'wopf': '\uD835\uDD68',
  41689. 'wscr': '\uD835\uDCCC',
  41690. 'xfr': '\uD835\uDD35',
  41691. 'xi': '\u03BE',
  41692. 'xnis': '\u22FB',
  41693. 'xopf': '\uD835\uDD69',
  41694. 'xscr': '\uD835\uDCCD',
  41695. 'yacute': '\u00FD',
  41696. 'yacy': '\u044F',
  41697. 'ycirc': '\u0177',
  41698. 'ycy': '\u044B',
  41699. 'yen': '\u00A5',
  41700. 'yfr': '\uD835\uDD36',
  41701. 'yicy': '\u0457',
  41702. 'yopf': '\uD835\uDD6A',
  41703. 'yscr': '\uD835\uDCCE',
  41704. 'yucy': '\u044E',
  41705. 'yuml': '\u00FF',
  41706. 'zacute': '\u017A',
  41707. 'zcaron': '\u017E',
  41708. 'zcy': '\u0437',
  41709. 'zdot': '\u017C',
  41710. 'zeta': '\u03B6',
  41711. 'zfr': '\uD835\uDD37',
  41712. 'zhcy': '\u0436',
  41713. 'zigrarr': '\u21DD',
  41714. 'zopf': '\uD835\uDD6B',
  41715. 'zscr': '\uD835\uDCCF',
  41716. 'zwj': '\u200D',
  41717. 'zwnj': '\u200C'
  41718. }; // The &ngsp; pseudo-entity is denoting a space. see:
  41719. // https://github.com/dart-lang/angular/blob/0bb611387d29d65b5af7f9d2515ab571fd3fbee4/_tests/test/compiler/preserve_whitespace_test.dart
  41720. const NGSP_UNICODE = '\uE500';
  41721. NAMED_ENTITIES['ngsp'] = NGSP_UNICODE;
  41722. /**
  41723. * @license
  41724. * Copyright Google LLC All Rights Reserved.
  41725. *
  41726. * Use of this source code is governed by an MIT-style license that can be
  41727. * found in the LICENSE file at https://angular.io/license
  41728. */
  41729. class TokenError extends ParseError {
  41730. constructor(errorMsg, tokenType, span) {
  41731. super(span, errorMsg);
  41732. this.tokenType = tokenType;
  41733. }
  41734. }
  41735. class TokenizeResult {
  41736. constructor(tokens, errors, nonNormalizedIcuExpressions) {
  41737. this.tokens = tokens;
  41738. this.errors = errors;
  41739. this.nonNormalizedIcuExpressions = nonNormalizedIcuExpressions;
  41740. }
  41741. }
  41742. function tokenize(source, url, getTagDefinition, options = {}) {
  41743. const tokenizer = new _Tokenizer(new ParseSourceFile(source, url), getTagDefinition, options);
  41744. tokenizer.tokenize();
  41745. return new TokenizeResult(mergeTextTokens(tokenizer.tokens), tokenizer.errors, tokenizer.nonNormalizedIcuExpressions);
  41746. }
  41747. const _CR_OR_CRLF_REGEXP = /\r\n?/g;
  41748. function _unexpectedCharacterErrorMsg(charCode) {
  41749. const char = charCode === $EOF ? 'EOF' : String.fromCharCode(charCode);
  41750. return `Unexpected character "${char}"`;
  41751. }
  41752. function _unknownEntityErrorMsg(entitySrc) {
  41753. return `Unknown entity "${entitySrc}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`;
  41754. }
  41755. function _unparsableEntityErrorMsg(type, entityStr) {
  41756. return `Unable to parse entity "${entityStr}" - ${type} character reference entities must end with ";"`;
  41757. }
  41758. var CharacterReferenceType;
  41759. (function (CharacterReferenceType) {
  41760. CharacterReferenceType["HEX"] = "hexadecimal";
  41761. CharacterReferenceType["DEC"] = "decimal";
  41762. })(CharacterReferenceType || (CharacterReferenceType = {}));
  41763. class _ControlFlowError {
  41764. constructor(error) {
  41765. this.error = error;
  41766. }
  41767. } // See https://www.w3.org/TR/html51/syntax.html#writing-html-documents
  41768. class _Tokenizer {
  41769. /**
  41770. * @param _file The html source file being tokenized.
  41771. * @param _getTagDefinition A function that will retrieve a tag definition for a given tag name.
  41772. * @param options Configuration of the tokenization.
  41773. */
  41774. constructor(_file, _getTagDefinition, options) {
  41775. this._getTagDefinition = _getTagDefinition;
  41776. this._currentTokenStart = null;
  41777. this._currentTokenType = null;
  41778. this._expansionCaseStack = [];
  41779. this._inInterpolation = false;
  41780. this.tokens = [];
  41781. this.errors = [];
  41782. this.nonNormalizedIcuExpressions = [];
  41783. this._tokenizeIcu = options.tokenizeExpansionForms || false;
  41784. this._interpolationConfig = options.interpolationConfig || DEFAULT_INTERPOLATION_CONFIG;
  41785. this._leadingTriviaCodePoints = options.leadingTriviaChars && options.leadingTriviaChars.map(c => c.codePointAt(0) || 0);
  41786. const range = options.range || {
  41787. endPos: _file.content.length,
  41788. startPos: 0,
  41789. startLine: 0,
  41790. startCol: 0
  41791. };
  41792. this._cursor = options.escapedString ? new EscapedCharacterCursor(_file, range) : new PlainCharacterCursor(_file, range);
  41793. this._preserveLineEndings = options.preserveLineEndings || false;
  41794. this._escapedString = options.escapedString || false;
  41795. this._i18nNormalizeLineEndingsInICUs = options.i18nNormalizeLineEndingsInICUs || false;
  41796. try {
  41797. this._cursor.init();
  41798. } catch (e) {
  41799. this.handleError(e);
  41800. }
  41801. }
  41802. _processCarriageReturns(content) {
  41803. if (this._preserveLineEndings) {
  41804. return content;
  41805. } // https://www.w3.org/TR/html51/syntax.html#preprocessing-the-input-stream
  41806. // In order to keep the original position in the source, we can not
  41807. // pre-process it.
  41808. // Instead CRs are processed right before instantiating the tokens.
  41809. return content.replace(_CR_OR_CRLF_REGEXP, '\n');
  41810. }
  41811. tokenize() {
  41812. while (this._cursor.peek() !== $EOF) {
  41813. const start = this._cursor.clone();
  41814. try {
  41815. if (this._attemptCharCode($LT)) {
  41816. if (this._attemptCharCode($BANG)) {
  41817. if (this._attemptCharCode($LBRACKET)) {
  41818. this._consumeCdata(start);
  41819. } else if (this._attemptCharCode($MINUS)) {
  41820. this._consumeComment(start);
  41821. } else {
  41822. this._consumeDocType(start);
  41823. }
  41824. } else if (this._attemptCharCode($SLASH)) {
  41825. this._consumeTagClose(start);
  41826. } else {
  41827. this._consumeTagOpen(start);
  41828. }
  41829. } else if (!(this._tokenizeIcu && this._tokenizeExpansionForm())) {
  41830. // In (possibly interpolated) text the end of the text is given by `isTextEnd()`, while
  41831. // the premature end of an interpolation is given by the start of a new HTML element.
  41832. this._consumeWithInterpolation(5
  41833. /* TokenType.TEXT */
  41834. , 8
  41835. /* TokenType.INTERPOLATION */
  41836. , () => this._isTextEnd(), () => this._isTagStart());
  41837. }
  41838. } catch (e) {
  41839. this.handleError(e);
  41840. }
  41841. }
  41842. this._beginToken(24
  41843. /* TokenType.EOF */
  41844. );
  41845. this._endToken([]);
  41846. }
  41847. /**
  41848. * @returns whether an ICU token has been created
  41849. * @internal
  41850. */
  41851. _tokenizeExpansionForm() {
  41852. if (this.isExpansionFormStart()) {
  41853. this._consumeExpansionFormStart();
  41854. return true;
  41855. }
  41856. if (isExpansionCaseStart(this._cursor.peek()) && this._isInExpansionForm()) {
  41857. this._consumeExpansionCaseStart();
  41858. return true;
  41859. }
  41860. if (this._cursor.peek() === $RBRACE) {
  41861. if (this._isInExpansionCase()) {
  41862. this._consumeExpansionCaseEnd();
  41863. return true;
  41864. }
  41865. if (this._isInExpansionForm()) {
  41866. this._consumeExpansionFormEnd();
  41867. return true;
  41868. }
  41869. }
  41870. return false;
  41871. }
  41872. _beginToken(type, start = this._cursor.clone()) {
  41873. this._currentTokenStart = start;
  41874. this._currentTokenType = type;
  41875. }
  41876. _endToken(parts, end) {
  41877. if (this._currentTokenStart === null) {
  41878. throw new TokenError('Programming error - attempted to end a token when there was no start to the token', this._currentTokenType, this._cursor.getSpan(end));
  41879. }
  41880. if (this._currentTokenType === null) {
  41881. throw new TokenError('Programming error - attempted to end a token which has no token type', null, this._cursor.getSpan(this._currentTokenStart));
  41882. }
  41883. const token = {
  41884. type: this._currentTokenType,
  41885. parts,
  41886. sourceSpan: (end !== null && end !== void 0 ? end : this._cursor).getSpan(this._currentTokenStart, this._leadingTriviaCodePoints)
  41887. };
  41888. this.tokens.push(token);
  41889. this._currentTokenStart = null;
  41890. this._currentTokenType = null;
  41891. return token;
  41892. }
  41893. _createError(msg, span) {
  41894. if (this._isInExpansionForm()) {
  41895. msg += ` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`;
  41896. }
  41897. const error = new TokenError(msg, this._currentTokenType, span);
  41898. this._currentTokenStart = null;
  41899. this._currentTokenType = null;
  41900. return new _ControlFlowError(error);
  41901. }
  41902. handleError(e) {
  41903. if (e instanceof CursorError) {
  41904. e = this._createError(e.msg, this._cursor.getSpan(e.cursor));
  41905. }
  41906. if (e instanceof _ControlFlowError) {
  41907. this.errors.push(e.error);
  41908. } else {
  41909. throw e;
  41910. }
  41911. }
  41912. _attemptCharCode(charCode) {
  41913. if (this._cursor.peek() === charCode) {
  41914. this._cursor.advance();
  41915. return true;
  41916. }
  41917. return false;
  41918. }
  41919. _attemptCharCodeCaseInsensitive(charCode) {
  41920. if (compareCharCodeCaseInsensitive(this._cursor.peek(), charCode)) {
  41921. this._cursor.advance();
  41922. return true;
  41923. }
  41924. return false;
  41925. }
  41926. _requireCharCode(charCode) {
  41927. const location = this._cursor.clone();
  41928. if (!this._attemptCharCode(charCode)) {
  41929. throw this._createError(_unexpectedCharacterErrorMsg(this._cursor.peek()), this._cursor.getSpan(location));
  41930. }
  41931. }
  41932. _attemptStr(chars) {
  41933. const len = chars.length;
  41934. if (this._cursor.charsLeft() < len) {
  41935. return false;
  41936. }
  41937. const initialPosition = this._cursor.clone();
  41938. for (let i = 0; i < len; i++) {
  41939. if (!this._attemptCharCode(chars.charCodeAt(i))) {
  41940. // If attempting to parse the string fails, we want to reset the parser
  41941. // to where it was before the attempt
  41942. this._cursor = initialPosition;
  41943. return false;
  41944. }
  41945. }
  41946. return true;
  41947. }
  41948. _attemptStrCaseInsensitive(chars) {
  41949. for (let i = 0; i < chars.length; i++) {
  41950. if (!this._attemptCharCodeCaseInsensitive(chars.charCodeAt(i))) {
  41951. return false;
  41952. }
  41953. }
  41954. return true;
  41955. }
  41956. _requireStr(chars) {
  41957. const location = this._cursor.clone();
  41958. if (!this._attemptStr(chars)) {
  41959. throw this._createError(_unexpectedCharacterErrorMsg(this._cursor.peek()), this._cursor.getSpan(location));
  41960. }
  41961. }
  41962. _attemptCharCodeUntilFn(predicate) {
  41963. while (!predicate(this._cursor.peek())) {
  41964. this._cursor.advance();
  41965. }
  41966. }
  41967. _requireCharCodeUntilFn(predicate, len) {
  41968. const start = this._cursor.clone();
  41969. this._attemptCharCodeUntilFn(predicate);
  41970. if (this._cursor.diff(start) < len) {
  41971. throw this._createError(_unexpectedCharacterErrorMsg(this._cursor.peek()), this._cursor.getSpan(start));
  41972. }
  41973. }
  41974. _attemptUntilChar(char) {
  41975. while (this._cursor.peek() !== char) {
  41976. this._cursor.advance();
  41977. }
  41978. }
  41979. _readChar() {
  41980. // Don't rely upon reading directly from `_input` as the actual char value
  41981. // may have been generated from an escape sequence.
  41982. const char = String.fromCodePoint(this._cursor.peek());
  41983. this._cursor.advance();
  41984. return char;
  41985. }
  41986. _consumeEntity(textTokenType) {
  41987. this._beginToken(9
  41988. /* TokenType.ENCODED_ENTITY */
  41989. );
  41990. const start = this._cursor.clone();
  41991. this._cursor.advance();
  41992. if (this._attemptCharCode($HASH)) {
  41993. const isHex = this._attemptCharCode($x) || this._attemptCharCode($X);
  41994. const codeStart = this._cursor.clone();
  41995. this._attemptCharCodeUntilFn(isDigitEntityEnd);
  41996. if (this._cursor.peek() != $SEMICOLON) {
  41997. // Advance cursor to include the peeked character in the string provided to the error
  41998. // message.
  41999. this._cursor.advance();
  42000. const entityType = isHex ? CharacterReferenceType.HEX : CharacterReferenceType.DEC;
  42001. throw this._createError(_unparsableEntityErrorMsg(entityType, this._cursor.getChars(start)), this._cursor.getSpan());
  42002. }
  42003. const strNum = this._cursor.getChars(codeStart);
  42004. this._cursor.advance();
  42005. try {
  42006. const charCode = parseInt(strNum, isHex ? 16 : 10);
  42007. this._endToken([String.fromCharCode(charCode), this._cursor.getChars(start)]);
  42008. } catch (_a) {
  42009. throw this._createError(_unknownEntityErrorMsg(this._cursor.getChars(start)), this._cursor.getSpan());
  42010. }
  42011. } else {
  42012. const nameStart = this._cursor.clone();
  42013. this._attemptCharCodeUntilFn(isNamedEntityEnd);
  42014. if (this._cursor.peek() != $SEMICOLON) {
  42015. // No semicolon was found so abort the encoded entity token that was in progress, and treat
  42016. // this as a text token
  42017. this._beginToken(textTokenType, start);
  42018. this._cursor = nameStart;
  42019. this._endToken(['&']);
  42020. } else {
  42021. const name = this._cursor.getChars(nameStart);
  42022. this._cursor.advance();
  42023. const char = NAMED_ENTITIES[name];
  42024. if (!char) {
  42025. throw this._createError(_unknownEntityErrorMsg(name), this._cursor.getSpan(start));
  42026. }
  42027. this._endToken([char, `&${name};`]);
  42028. }
  42029. }
  42030. }
  42031. _consumeRawText(consumeEntities, endMarkerPredicate) {
  42032. this._beginToken(consumeEntities ? 6
  42033. /* TokenType.ESCAPABLE_RAW_TEXT */
  42034. : 7
  42035. /* TokenType.RAW_TEXT */
  42036. );
  42037. const parts = [];
  42038. while (true) {
  42039. const tagCloseStart = this._cursor.clone();
  42040. const foundEndMarker = endMarkerPredicate();
  42041. this._cursor = tagCloseStart;
  42042. if (foundEndMarker) {
  42043. break;
  42044. }
  42045. if (consumeEntities && this._cursor.peek() === $AMPERSAND) {
  42046. this._endToken([this._processCarriageReturns(parts.join(''))]);
  42047. parts.length = 0;
  42048. this._consumeEntity(6
  42049. /* TokenType.ESCAPABLE_RAW_TEXT */
  42050. );
  42051. this._beginToken(6
  42052. /* TokenType.ESCAPABLE_RAW_TEXT */
  42053. );
  42054. } else {
  42055. parts.push(this._readChar());
  42056. }
  42057. }
  42058. this._endToken([this._processCarriageReturns(parts.join(''))]);
  42059. }
  42060. _consumeComment(start) {
  42061. this._beginToken(10
  42062. /* TokenType.COMMENT_START */
  42063. , start);
  42064. this._requireCharCode($MINUS);
  42065. this._endToken([]);
  42066. this._consumeRawText(false, () => this._attemptStr('-->'));
  42067. this._beginToken(11
  42068. /* TokenType.COMMENT_END */
  42069. );
  42070. this._requireStr('-->');
  42071. this._endToken([]);
  42072. }
  42073. _consumeCdata(start) {
  42074. this._beginToken(12
  42075. /* TokenType.CDATA_START */
  42076. , start);
  42077. this._requireStr('CDATA[');
  42078. this._endToken([]);
  42079. this._consumeRawText(false, () => this._attemptStr(']]>'));
  42080. this._beginToken(13
  42081. /* TokenType.CDATA_END */
  42082. );
  42083. this._requireStr(']]>');
  42084. this._endToken([]);
  42085. }
  42086. _consumeDocType(start) {
  42087. this._beginToken(18
  42088. /* TokenType.DOC_TYPE */
  42089. , start);
  42090. const contentStart = this._cursor.clone();
  42091. this._attemptUntilChar($GT);
  42092. const content = this._cursor.getChars(contentStart);
  42093. this._cursor.advance();
  42094. this._endToken([content]);
  42095. }
  42096. _consumePrefixAndName() {
  42097. const nameOrPrefixStart = this._cursor.clone();
  42098. let prefix = '';
  42099. while (this._cursor.peek() !== $COLON && !isPrefixEnd(this._cursor.peek())) {
  42100. this._cursor.advance();
  42101. }
  42102. let nameStart;
  42103. if (this._cursor.peek() === $COLON) {
  42104. prefix = this._cursor.getChars(nameOrPrefixStart);
  42105. this._cursor.advance();
  42106. nameStart = this._cursor.clone();
  42107. } else {
  42108. nameStart = nameOrPrefixStart;
  42109. }
  42110. this._requireCharCodeUntilFn(isNameEnd, prefix === '' ? 0 : 1);
  42111. const name = this._cursor.getChars(nameStart);
  42112. return [prefix, name];
  42113. }
  42114. _consumeTagOpen(start) {
  42115. let tagName;
  42116. let prefix;
  42117. let openTagToken;
  42118. try {
  42119. if (!isAsciiLetter(this._cursor.peek())) {
  42120. throw this._createError(_unexpectedCharacterErrorMsg(this._cursor.peek()), this._cursor.getSpan(start));
  42121. }
  42122. openTagToken = this._consumeTagOpenStart(start);
  42123. prefix = openTagToken.parts[0];
  42124. tagName = openTagToken.parts[1];
  42125. this._attemptCharCodeUntilFn(isNotWhitespace);
  42126. while (this._cursor.peek() !== $SLASH && this._cursor.peek() !== $GT && this._cursor.peek() !== $LT && this._cursor.peek() !== $EOF) {
  42127. this._consumeAttributeName();
  42128. this._attemptCharCodeUntilFn(isNotWhitespace);
  42129. if (this._attemptCharCode($EQ)) {
  42130. this._attemptCharCodeUntilFn(isNotWhitespace);
  42131. this._consumeAttributeValue();
  42132. }
  42133. this._attemptCharCodeUntilFn(isNotWhitespace);
  42134. }
  42135. this._consumeTagOpenEnd();
  42136. } catch (e) {
  42137. if (e instanceof _ControlFlowError) {
  42138. if (openTagToken) {
  42139. // We errored before we could close the opening tag, so it is incomplete.
  42140. openTagToken.type = 4
  42141. /* TokenType.INCOMPLETE_TAG_OPEN */
  42142. ;
  42143. } else {
  42144. // When the start tag is invalid, assume we want a "<" as text.
  42145. // Back to back text tokens are merged at the end.
  42146. this._beginToken(5
  42147. /* TokenType.TEXT */
  42148. , start);
  42149. this._endToken(['<']);
  42150. }
  42151. return;
  42152. }
  42153. throw e;
  42154. }
  42155. const contentTokenType = this._getTagDefinition(tagName).getContentType(prefix);
  42156. if (contentTokenType === TagContentType.RAW_TEXT) {
  42157. this._consumeRawTextWithTagClose(prefix, tagName, false);
  42158. } else if (contentTokenType === TagContentType.ESCAPABLE_RAW_TEXT) {
  42159. this._consumeRawTextWithTagClose(prefix, tagName, true);
  42160. }
  42161. }
  42162. _consumeRawTextWithTagClose(prefix, tagName, consumeEntities) {
  42163. this._consumeRawText(consumeEntities, () => {
  42164. if (!this._attemptCharCode($LT)) return false;
  42165. if (!this._attemptCharCode($SLASH)) return false;
  42166. this._attemptCharCodeUntilFn(isNotWhitespace);
  42167. if (!this._attemptStrCaseInsensitive(tagName)) return false;
  42168. this._attemptCharCodeUntilFn(isNotWhitespace);
  42169. return this._attemptCharCode($GT);
  42170. });
  42171. this._beginToken(3
  42172. /* TokenType.TAG_CLOSE */
  42173. );
  42174. this._requireCharCodeUntilFn(code => code === $GT, 3);
  42175. this._cursor.advance(); // Consume the `>`
  42176. this._endToken([prefix, tagName]);
  42177. }
  42178. _consumeTagOpenStart(start) {
  42179. this._beginToken(0
  42180. /* TokenType.TAG_OPEN_START */
  42181. , start);
  42182. const parts = this._consumePrefixAndName();
  42183. return this._endToken(parts);
  42184. }
  42185. _consumeAttributeName() {
  42186. const attrNameStart = this._cursor.peek();
  42187. if (attrNameStart === $SQ || attrNameStart === $DQ) {
  42188. throw this._createError(_unexpectedCharacterErrorMsg(attrNameStart), this._cursor.getSpan());
  42189. }
  42190. this._beginToken(14
  42191. /* TokenType.ATTR_NAME */
  42192. );
  42193. const prefixAndName = this._consumePrefixAndName();
  42194. this._endToken(prefixAndName);
  42195. }
  42196. _consumeAttributeValue() {
  42197. let value;
  42198. if (this._cursor.peek() === $SQ || this._cursor.peek() === $DQ) {
  42199. const quoteChar = this._cursor.peek();
  42200. this._consumeQuote(quoteChar); // In an attribute then end of the attribute value and the premature end to an interpolation
  42201. // are both triggered by the `quoteChar`.
  42202. const endPredicate = () => this._cursor.peek() === quoteChar;
  42203. this._consumeWithInterpolation(16
  42204. /* TokenType.ATTR_VALUE_TEXT */
  42205. , 17
  42206. /* TokenType.ATTR_VALUE_INTERPOLATION */
  42207. , endPredicate, endPredicate);
  42208. this._consumeQuote(quoteChar);
  42209. } else {
  42210. const endPredicate = () => isNameEnd(this._cursor.peek());
  42211. this._consumeWithInterpolation(16
  42212. /* TokenType.ATTR_VALUE_TEXT */
  42213. , 17
  42214. /* TokenType.ATTR_VALUE_INTERPOLATION */
  42215. , endPredicate, endPredicate);
  42216. }
  42217. }
  42218. _consumeQuote(quoteChar) {
  42219. this._beginToken(15
  42220. /* TokenType.ATTR_QUOTE */
  42221. );
  42222. this._requireCharCode(quoteChar);
  42223. this._endToken([String.fromCodePoint(quoteChar)]);
  42224. }
  42225. _consumeTagOpenEnd() {
  42226. const tokenType = this._attemptCharCode($SLASH) ? 2
  42227. /* TokenType.TAG_OPEN_END_VOID */
  42228. : 1
  42229. /* TokenType.TAG_OPEN_END */
  42230. ;
  42231. this._beginToken(tokenType);
  42232. this._requireCharCode($GT);
  42233. this._endToken([]);
  42234. }
  42235. _consumeTagClose(start) {
  42236. this._beginToken(3
  42237. /* TokenType.TAG_CLOSE */
  42238. , start);
  42239. this._attemptCharCodeUntilFn(isNotWhitespace);
  42240. const prefixAndName = this._consumePrefixAndName();
  42241. this._attemptCharCodeUntilFn(isNotWhitespace);
  42242. this._requireCharCode($GT);
  42243. this._endToken(prefixAndName);
  42244. }
  42245. _consumeExpansionFormStart() {
  42246. this._beginToken(19
  42247. /* TokenType.EXPANSION_FORM_START */
  42248. );
  42249. this._requireCharCode($LBRACE);
  42250. this._endToken([]);
  42251. this._expansionCaseStack.push(19
  42252. /* TokenType.EXPANSION_FORM_START */
  42253. );
  42254. this._beginToken(7
  42255. /* TokenType.RAW_TEXT */
  42256. );
  42257. const condition = this._readUntil($COMMA);
  42258. const normalizedCondition = this._processCarriageReturns(condition);
  42259. if (this._i18nNormalizeLineEndingsInICUs) {
  42260. // We explicitly want to normalize line endings for this text.
  42261. this._endToken([normalizedCondition]);
  42262. } else {
  42263. // We are not normalizing line endings.
  42264. const conditionToken = this._endToken([condition]);
  42265. if (normalizedCondition !== condition) {
  42266. this.nonNormalizedIcuExpressions.push(conditionToken);
  42267. }
  42268. }
  42269. this._requireCharCode($COMMA);
  42270. this._attemptCharCodeUntilFn(isNotWhitespace);
  42271. this._beginToken(7
  42272. /* TokenType.RAW_TEXT */
  42273. );
  42274. const type = this._readUntil($COMMA);
  42275. this._endToken([type]);
  42276. this._requireCharCode($COMMA);
  42277. this._attemptCharCodeUntilFn(isNotWhitespace);
  42278. }
  42279. _consumeExpansionCaseStart() {
  42280. this._beginToken(20
  42281. /* TokenType.EXPANSION_CASE_VALUE */
  42282. );
  42283. const value = this._readUntil($LBRACE).trim();
  42284. this._endToken([value]);
  42285. this._attemptCharCodeUntilFn(isNotWhitespace);
  42286. this._beginToken(21
  42287. /* TokenType.EXPANSION_CASE_EXP_START */
  42288. );
  42289. this._requireCharCode($LBRACE);
  42290. this._endToken([]);
  42291. this._attemptCharCodeUntilFn(isNotWhitespace);
  42292. this._expansionCaseStack.push(21
  42293. /* TokenType.EXPANSION_CASE_EXP_START */
  42294. );
  42295. }
  42296. _consumeExpansionCaseEnd() {
  42297. this._beginToken(22
  42298. /* TokenType.EXPANSION_CASE_EXP_END */
  42299. );
  42300. this._requireCharCode($RBRACE);
  42301. this._endToken([]);
  42302. this._attemptCharCodeUntilFn(isNotWhitespace);
  42303. this._expansionCaseStack.pop();
  42304. }
  42305. _consumeExpansionFormEnd() {
  42306. this._beginToken(23
  42307. /* TokenType.EXPANSION_FORM_END */
  42308. );
  42309. this._requireCharCode($RBRACE);
  42310. this._endToken([]);
  42311. this._expansionCaseStack.pop();
  42312. }
  42313. /**
  42314. * Consume a string that may contain interpolation expressions.
  42315. *
  42316. * The first token consumed will be of `tokenType` and then there will be alternating
  42317. * `interpolationTokenType` and `tokenType` tokens until the `endPredicate()` returns true.
  42318. *
  42319. * If an interpolation token ends prematurely it will have no end marker in its `parts` array.
  42320. *
  42321. * @param textTokenType the kind of tokens to interleave around interpolation tokens.
  42322. * @param interpolationTokenType the kind of tokens that contain interpolation.
  42323. * @param endPredicate a function that should return true when we should stop consuming.
  42324. * @param endInterpolation a function that should return true if there is a premature end to an
  42325. * interpolation expression - i.e. before we get to the normal interpolation closing marker.
  42326. */
  42327. _consumeWithInterpolation(textTokenType, interpolationTokenType, endPredicate, endInterpolation) {
  42328. this._beginToken(textTokenType);
  42329. const parts = [];
  42330. while (!endPredicate()) {
  42331. const current = this._cursor.clone();
  42332. if (this._interpolationConfig && this._attemptStr(this._interpolationConfig.start)) {
  42333. this._endToken([this._processCarriageReturns(parts.join(''))], current);
  42334. parts.length = 0;
  42335. this._consumeInterpolation(interpolationTokenType, current, endInterpolation);
  42336. this._beginToken(textTokenType);
  42337. } else if (this._cursor.peek() === $AMPERSAND) {
  42338. this._endToken([this._processCarriageReturns(parts.join(''))]);
  42339. parts.length = 0;
  42340. this._consumeEntity(textTokenType);
  42341. this._beginToken(textTokenType);
  42342. } else {
  42343. parts.push(this._readChar());
  42344. }
  42345. } // It is possible that an interpolation was started but not ended inside this text token.
  42346. // Make sure that we reset the state of the lexer correctly.
  42347. this._inInterpolation = false;
  42348. this._endToken([this._processCarriageReturns(parts.join(''))]);
  42349. }
  42350. /**
  42351. * Consume a block of text that has been interpreted as an Angular interpolation.
  42352. *
  42353. * @param interpolationTokenType the type of the interpolation token to generate.
  42354. * @param interpolationStart a cursor that points to the start of this interpolation.
  42355. * @param prematureEndPredicate a function that should return true if the next characters indicate
  42356. * an end to the interpolation before its normal closing marker.
  42357. */
  42358. _consumeInterpolation(interpolationTokenType, interpolationStart, prematureEndPredicate) {
  42359. const parts = [];
  42360. this._beginToken(interpolationTokenType, interpolationStart);
  42361. parts.push(this._interpolationConfig.start); // Find the end of the interpolation, ignoring content inside quotes.
  42362. const expressionStart = this._cursor.clone();
  42363. let inQuote = null;
  42364. let inComment = false;
  42365. while (this._cursor.peek() !== $EOF && (prematureEndPredicate === null || !prematureEndPredicate())) {
  42366. const current = this._cursor.clone();
  42367. if (this._isTagStart()) {
  42368. // We are starting what looks like an HTML element in the middle of this interpolation.
  42369. // Reset the cursor to before the `<` character and end the interpolation token.
  42370. // (This is actually wrong but here for backward compatibility).
  42371. this._cursor = current;
  42372. parts.push(this._getProcessedChars(expressionStart, current));
  42373. this._endToken(parts);
  42374. return;
  42375. }
  42376. if (inQuote === null) {
  42377. if (this._attemptStr(this._interpolationConfig.end)) {
  42378. // We are not in a string, and we hit the end interpolation marker
  42379. parts.push(this._getProcessedChars(expressionStart, current));
  42380. parts.push(this._interpolationConfig.end);
  42381. this._endToken(parts);
  42382. return;
  42383. } else if (this._attemptStr('//')) {
  42384. // Once we are in a comment we ignore any quotes
  42385. inComment = true;
  42386. }
  42387. }
  42388. const char = this._cursor.peek();
  42389. this._cursor.advance();
  42390. if (char === $BACKSLASH) {
  42391. // Skip the next character because it was escaped.
  42392. this._cursor.advance();
  42393. } else if (char === inQuote) {
  42394. // Exiting the current quoted string
  42395. inQuote = null;
  42396. } else if (!inComment && inQuote === null && isQuote(char)) {
  42397. // Entering a new quoted string
  42398. inQuote = char;
  42399. }
  42400. } // We hit EOF without finding a closing interpolation marker
  42401. parts.push(this._getProcessedChars(expressionStart, this._cursor));
  42402. this._endToken(parts);
  42403. }
  42404. _getProcessedChars(start, end) {
  42405. return this._processCarriageReturns(end.getChars(start));
  42406. }
  42407. _isTextEnd() {
  42408. if (this._isTagStart() || this._cursor.peek() === $EOF) {
  42409. return true;
  42410. }
  42411. if (this._tokenizeIcu && !this._inInterpolation) {
  42412. if (this.isExpansionFormStart()) {
  42413. // start of an expansion form
  42414. return true;
  42415. }
  42416. if (this._cursor.peek() === $RBRACE && this._isInExpansionCase()) {
  42417. // end of and expansion case
  42418. return true;
  42419. }
  42420. }
  42421. return false;
  42422. }
  42423. /**
  42424. * Returns true if the current cursor is pointing to the start of a tag
  42425. * (opening/closing/comments/cdata/etc).
  42426. */
  42427. _isTagStart() {
  42428. if (this._cursor.peek() === $LT) {
  42429. // We assume that `<` followed by whitespace is not the start of an HTML element.
  42430. const tmp = this._cursor.clone();
  42431. tmp.advance(); // If the next character is alphabetic, ! nor / then it is a tag start
  42432. const code = tmp.peek();
  42433. if ($a <= code && code <= $z || $A <= code && code <= $Z || code === $SLASH || code === $BANG) {
  42434. return true;
  42435. }
  42436. }
  42437. return false;
  42438. }
  42439. _readUntil(char) {
  42440. const start = this._cursor.clone();
  42441. this._attemptUntilChar(char);
  42442. return this._cursor.getChars(start);
  42443. }
  42444. _isInExpansionCase() {
  42445. return this._expansionCaseStack.length > 0 && this._expansionCaseStack[this._expansionCaseStack.length - 1] === 21
  42446. /* TokenType.EXPANSION_CASE_EXP_START */
  42447. ;
  42448. }
  42449. _isInExpansionForm() {
  42450. return this._expansionCaseStack.length > 0 && this._expansionCaseStack[this._expansionCaseStack.length - 1] === 19
  42451. /* TokenType.EXPANSION_FORM_START */
  42452. ;
  42453. }
  42454. isExpansionFormStart() {
  42455. if (this._cursor.peek() !== $LBRACE) {
  42456. return false;
  42457. }
  42458. if (this._interpolationConfig) {
  42459. const start = this._cursor.clone();
  42460. const isInterpolation = this._attemptStr(this._interpolationConfig.start);
  42461. this._cursor = start;
  42462. return !isInterpolation;
  42463. }
  42464. return true;
  42465. }
  42466. }
  42467. function isNotWhitespace(code) {
  42468. return !isWhitespace(code) || code === $EOF;
  42469. }
  42470. function isNameEnd(code) {
  42471. return isWhitespace(code) || code === $GT || code === $LT || code === $SLASH || code === $SQ || code === $DQ || code === $EQ || code === $EOF;
  42472. }
  42473. function isPrefixEnd(code) {
  42474. return (code < $a || $z < code) && (code < $A || $Z < code) && (code < $0 || code > $9);
  42475. }
  42476. function isDigitEntityEnd(code) {
  42477. return code === $SEMICOLON || code === $EOF || !isAsciiHexDigit(code);
  42478. }
  42479. function isNamedEntityEnd(code) {
  42480. return code === $SEMICOLON || code === $EOF || !isAsciiLetter(code);
  42481. }
  42482. function isExpansionCaseStart(peek) {
  42483. return peek !== $RBRACE;
  42484. }
  42485. function compareCharCodeCaseInsensitive(code1, code2) {
  42486. return toUpperCaseCharCode(code1) === toUpperCaseCharCode(code2);
  42487. }
  42488. function toUpperCaseCharCode(code) {
  42489. return code >= $a && code <= $z ? code - $a + $A : code;
  42490. }
  42491. function mergeTextTokens(srcTokens) {
  42492. const dstTokens = [];
  42493. let lastDstToken = undefined;
  42494. for (let i = 0; i < srcTokens.length; i++) {
  42495. const token = srcTokens[i];
  42496. if (lastDstToken && lastDstToken.type === 5
  42497. /* TokenType.TEXT */
  42498. && token.type === 5
  42499. /* TokenType.TEXT */
  42500. || lastDstToken && lastDstToken.type === 16
  42501. /* TokenType.ATTR_VALUE_TEXT */
  42502. && token.type === 16
  42503. /* TokenType.ATTR_VALUE_TEXT */
  42504. ) {
  42505. lastDstToken.parts[0] += token.parts[0];
  42506. lastDstToken.sourceSpan.end = token.sourceSpan.end;
  42507. } else {
  42508. lastDstToken = token;
  42509. dstTokens.push(lastDstToken);
  42510. }
  42511. }
  42512. return dstTokens;
  42513. }
  42514. class PlainCharacterCursor {
  42515. constructor(fileOrCursor, range) {
  42516. if (fileOrCursor instanceof PlainCharacterCursor) {
  42517. this.file = fileOrCursor.file;
  42518. this.input = fileOrCursor.input;
  42519. this.end = fileOrCursor.end;
  42520. const state = fileOrCursor.state; // Note: avoid using `{...fileOrCursor.state}` here as that has a severe performance penalty.
  42521. // In ES5 bundles the object spread operator is translated into the `__assign` helper, which
  42522. // is not optimized by VMs as efficiently as a raw object literal. Since this constructor is
  42523. // called in tight loops, this difference matters.
  42524. this.state = {
  42525. peek: state.peek,
  42526. offset: state.offset,
  42527. line: state.line,
  42528. column: state.column
  42529. };
  42530. } else {
  42531. if (!range) {
  42532. throw new Error('Programming error: the range argument must be provided with a file argument.');
  42533. }
  42534. this.file = fileOrCursor;
  42535. this.input = fileOrCursor.content;
  42536. this.end = range.endPos;
  42537. this.state = {
  42538. peek: -1,
  42539. offset: range.startPos,
  42540. line: range.startLine,
  42541. column: range.startCol
  42542. };
  42543. }
  42544. }
  42545. clone() {
  42546. return new PlainCharacterCursor(this);
  42547. }
  42548. peek() {
  42549. return this.state.peek;
  42550. }
  42551. charsLeft() {
  42552. return this.end - this.state.offset;
  42553. }
  42554. diff(other) {
  42555. return this.state.offset - other.state.offset;
  42556. }
  42557. advance() {
  42558. this.advanceState(this.state);
  42559. }
  42560. init() {
  42561. this.updatePeek(this.state);
  42562. }
  42563. getSpan(start, leadingTriviaCodePoints) {
  42564. start = start || this;
  42565. let fullStart = start;
  42566. if (leadingTriviaCodePoints) {
  42567. while (this.diff(start) > 0 && leadingTriviaCodePoints.indexOf(start.peek()) !== -1) {
  42568. if (fullStart === start) {
  42569. start = start.clone();
  42570. }
  42571. start.advance();
  42572. }
  42573. }
  42574. const startLocation = this.locationFromCursor(start);
  42575. const endLocation = this.locationFromCursor(this);
  42576. const fullStartLocation = fullStart !== start ? this.locationFromCursor(fullStart) : startLocation;
  42577. return new ParseSourceSpan(startLocation, endLocation, fullStartLocation);
  42578. }
  42579. getChars(start) {
  42580. return this.input.substring(start.state.offset, this.state.offset);
  42581. }
  42582. charAt(pos) {
  42583. return this.input.charCodeAt(pos);
  42584. }
  42585. advanceState(state) {
  42586. if (state.offset >= this.end) {
  42587. this.state = state;
  42588. throw new CursorError('Unexpected character "EOF"', this);
  42589. }
  42590. const currentChar = this.charAt(state.offset);
  42591. if (currentChar === $LF) {
  42592. state.line++;
  42593. state.column = 0;
  42594. } else if (!isNewLine(currentChar)) {
  42595. state.column++;
  42596. }
  42597. state.offset++;
  42598. this.updatePeek(state);
  42599. }
  42600. updatePeek(state) {
  42601. state.peek = state.offset >= this.end ? $EOF : this.charAt(state.offset);
  42602. }
  42603. locationFromCursor(cursor) {
  42604. return new ParseLocation(cursor.file, cursor.state.offset, cursor.state.line, cursor.state.column);
  42605. }
  42606. }
  42607. class EscapedCharacterCursor extends PlainCharacterCursor {
  42608. constructor(fileOrCursor, range) {
  42609. if (fileOrCursor instanceof EscapedCharacterCursor) {
  42610. super(fileOrCursor);
  42611. this.internalState = Object.assign({}, fileOrCursor.internalState);
  42612. } else {
  42613. super(fileOrCursor, range);
  42614. this.internalState = this.state;
  42615. }
  42616. }
  42617. advance() {
  42618. this.state = this.internalState;
  42619. super.advance();
  42620. this.processEscapeSequence();
  42621. }
  42622. init() {
  42623. super.init();
  42624. this.processEscapeSequence();
  42625. }
  42626. clone() {
  42627. return new EscapedCharacterCursor(this);
  42628. }
  42629. getChars(start) {
  42630. const cursor = start.clone();
  42631. let chars = '';
  42632. while (cursor.internalState.offset < this.internalState.offset) {
  42633. chars += String.fromCodePoint(cursor.peek());
  42634. cursor.advance();
  42635. }
  42636. return chars;
  42637. }
  42638. /**
  42639. * Process the escape sequence that starts at the current position in the text.
  42640. *
  42641. * This method is called to ensure that `peek` has the unescaped value of escape sequences.
  42642. */
  42643. processEscapeSequence() {
  42644. const peek = () => this.internalState.peek;
  42645. if (peek() === $BACKSLASH) {
  42646. // We have hit an escape sequence so we need the internal state to become independent
  42647. // of the external state.
  42648. this.internalState = Object.assign({}, this.state); // Move past the backslash
  42649. this.advanceState(this.internalState); // First check for standard control char sequences
  42650. if (peek() === $n) {
  42651. this.state.peek = $LF;
  42652. } else if (peek() === $r) {
  42653. this.state.peek = $CR;
  42654. } else if (peek() === $v) {
  42655. this.state.peek = $VTAB;
  42656. } else if (peek() === $t) {
  42657. this.state.peek = $TAB;
  42658. } else if (peek() === $b) {
  42659. this.state.peek = $BSPACE;
  42660. } else if (peek() === $f) {
  42661. this.state.peek = $FF;
  42662. } // Now consider more complex sequences
  42663. else if (peek() === $u) {
  42664. // Unicode code-point sequence
  42665. this.advanceState(this.internalState); // advance past the `u` char
  42666. if (peek() === $LBRACE) {
  42667. // Variable length Unicode, e.g. `\x{123}`
  42668. this.advanceState(this.internalState); // advance past the `{` char
  42669. // Advance past the variable number of hex digits until we hit a `}` char
  42670. const digitStart = this.clone();
  42671. let length = 0;
  42672. while (peek() !== $RBRACE) {
  42673. this.advanceState(this.internalState);
  42674. length++;
  42675. }
  42676. this.state.peek = this.decodeHexDigits(digitStart, length);
  42677. } else {
  42678. // Fixed length Unicode, e.g. `\u1234`
  42679. const digitStart = this.clone();
  42680. this.advanceState(this.internalState);
  42681. this.advanceState(this.internalState);
  42682. this.advanceState(this.internalState);
  42683. this.state.peek = this.decodeHexDigits(digitStart, 4);
  42684. }
  42685. } else if (peek() === $x) {
  42686. // Hex char code, e.g. `\x2F`
  42687. this.advanceState(this.internalState); // advance past the `x` char
  42688. const digitStart = this.clone();
  42689. this.advanceState(this.internalState);
  42690. this.state.peek = this.decodeHexDigits(digitStart, 2);
  42691. } else if (isOctalDigit(peek())) {
  42692. // Octal char code, e.g. `\012`,
  42693. let octal = '';
  42694. let length = 0;
  42695. let previous = this.clone();
  42696. while (isOctalDigit(peek()) && length < 3) {
  42697. previous = this.clone();
  42698. octal += String.fromCodePoint(peek());
  42699. this.advanceState(this.internalState);
  42700. length++;
  42701. }
  42702. this.state.peek = parseInt(octal, 8); // Backup one char
  42703. this.internalState = previous.internalState;
  42704. } else if (isNewLine(this.internalState.peek)) {
  42705. // Line continuation `\` followed by a new line
  42706. this.advanceState(this.internalState); // advance over the newline
  42707. this.state = this.internalState;
  42708. } else {
  42709. // If none of the `if` blocks were executed then we just have an escaped normal character.
  42710. // In that case we just, effectively, skip the backslash from the character.
  42711. this.state.peek = this.internalState.peek;
  42712. }
  42713. }
  42714. }
  42715. decodeHexDigits(start, length) {
  42716. const hex = this.input.slice(start.internalState.offset, start.internalState.offset + length);
  42717. const charCode = parseInt(hex, 16);
  42718. if (!isNaN(charCode)) {
  42719. return charCode;
  42720. } else {
  42721. start.state = start.internalState;
  42722. throw new CursorError('Invalid hexadecimal escape sequence', start);
  42723. }
  42724. }
  42725. }
  42726. class CursorError {
  42727. constructor(msg, cursor) {
  42728. this.msg = msg;
  42729. this.cursor = cursor;
  42730. }
  42731. }
  42732. /**
  42733. * @license
  42734. * Copyright Google LLC All Rights Reserved.
  42735. *
  42736. * Use of this source code is governed by an MIT-style license that can be
  42737. * found in the LICENSE file at https://angular.io/license
  42738. */
  42739. class TreeError extends ParseError {
  42740. constructor(elementName, span, msg) {
  42741. super(span, msg);
  42742. this.elementName = elementName;
  42743. }
  42744. static create(elementName, span, msg) {
  42745. return new TreeError(elementName, span, msg);
  42746. }
  42747. }
  42748. class ParseTreeResult {
  42749. constructor(rootNodes, errors) {
  42750. this.rootNodes = rootNodes;
  42751. this.errors = errors;
  42752. }
  42753. }
  42754. class Parser {
  42755. constructor(getTagDefinition) {
  42756. this.getTagDefinition = getTagDefinition;
  42757. }
  42758. parse(source, url, options) {
  42759. const tokenizeResult = tokenize(source, url, this.getTagDefinition, options);
  42760. const parser = new _TreeBuilder(tokenizeResult.tokens, this.getTagDefinition);
  42761. parser.build();
  42762. return new ParseTreeResult(parser.rootNodes, tokenizeResult.errors.concat(parser.errors));
  42763. }
  42764. }
  42765. class _TreeBuilder {
  42766. constructor(tokens, getTagDefinition) {
  42767. this.tokens = tokens;
  42768. this.getTagDefinition = getTagDefinition;
  42769. this._index = -1;
  42770. this._elementStack = [];
  42771. this.rootNodes = [];
  42772. this.errors = [];
  42773. this._advance();
  42774. }
  42775. build() {
  42776. while (this._peek.type !== 24
  42777. /* TokenType.EOF */
  42778. ) {
  42779. if (this._peek.type === 0
  42780. /* TokenType.TAG_OPEN_START */
  42781. || this._peek.type === 4
  42782. /* TokenType.INCOMPLETE_TAG_OPEN */
  42783. ) {
  42784. this._consumeStartTag(this._advance());
  42785. } else if (this._peek.type === 3
  42786. /* TokenType.TAG_CLOSE */
  42787. ) {
  42788. this._consumeEndTag(this._advance());
  42789. } else if (this._peek.type === 12
  42790. /* TokenType.CDATA_START */
  42791. ) {
  42792. this._closeVoidElement();
  42793. this._consumeCdata(this._advance());
  42794. } else if (this._peek.type === 10
  42795. /* TokenType.COMMENT_START */
  42796. ) {
  42797. this._closeVoidElement();
  42798. this._consumeComment(this._advance());
  42799. } else if (this._peek.type === 5
  42800. /* TokenType.TEXT */
  42801. || this._peek.type === 7
  42802. /* TokenType.RAW_TEXT */
  42803. || this._peek.type === 6
  42804. /* TokenType.ESCAPABLE_RAW_TEXT */
  42805. ) {
  42806. this._closeVoidElement();
  42807. this._consumeText(this._advance());
  42808. } else if (this._peek.type === 19
  42809. /* TokenType.EXPANSION_FORM_START */
  42810. ) {
  42811. this._consumeExpansion(this._advance());
  42812. } else {
  42813. // Skip all other tokens...
  42814. this._advance();
  42815. }
  42816. }
  42817. }
  42818. _advance() {
  42819. const prev = this._peek;
  42820. if (this._index < this.tokens.length - 1) {
  42821. // Note: there is always an EOF token at the end
  42822. this._index++;
  42823. }
  42824. this._peek = this.tokens[this._index];
  42825. return prev;
  42826. }
  42827. _advanceIf(type) {
  42828. if (this._peek.type === type) {
  42829. return this._advance();
  42830. }
  42831. return null;
  42832. }
  42833. _consumeCdata(_startToken) {
  42834. this._consumeText(this._advance());
  42835. this._advanceIf(13
  42836. /* TokenType.CDATA_END */
  42837. );
  42838. }
  42839. _consumeComment(token) {
  42840. const text = this._advanceIf(7
  42841. /* TokenType.RAW_TEXT */
  42842. );
  42843. this._advanceIf(11
  42844. /* TokenType.COMMENT_END */
  42845. );
  42846. const value = text != null ? text.parts[0].trim() : null;
  42847. this._addToParent(new Comment(value, token.sourceSpan));
  42848. }
  42849. _consumeExpansion(token) {
  42850. const switchValue = this._advance();
  42851. const type = this._advance();
  42852. const cases = []; // read =
  42853. while (this._peek.type === 20
  42854. /* TokenType.EXPANSION_CASE_VALUE */
  42855. ) {
  42856. const expCase = this._parseExpansionCase();
  42857. if (!expCase) return; // error
  42858. cases.push(expCase);
  42859. } // read the final }
  42860. if (this._peek.type !== 23
  42861. /* TokenType.EXPANSION_FORM_END */
  42862. ) {
  42863. this.errors.push(TreeError.create(null, this._peek.sourceSpan, `Invalid ICU message. Missing '}'.`));
  42864. return;
  42865. }
  42866. const sourceSpan = new ParseSourceSpan(token.sourceSpan.start, this._peek.sourceSpan.end, token.sourceSpan.fullStart);
  42867. this._addToParent(new Expansion(switchValue.parts[0], type.parts[0], cases, sourceSpan, switchValue.sourceSpan));
  42868. this._advance();
  42869. }
  42870. _parseExpansionCase() {
  42871. const value = this._advance(); // read {
  42872. if (this._peek.type !== 21
  42873. /* TokenType.EXPANSION_CASE_EXP_START */
  42874. ) {
  42875. this.errors.push(TreeError.create(null, this._peek.sourceSpan, `Invalid ICU message. Missing '{'.`));
  42876. return null;
  42877. } // read until }
  42878. const start = this._advance();
  42879. const exp = this._collectExpansionExpTokens(start);
  42880. if (!exp) return null;
  42881. const end = this._advance();
  42882. exp.push({
  42883. type: 24
  42884. /* TokenType.EOF */
  42885. ,
  42886. parts: [],
  42887. sourceSpan: end.sourceSpan
  42888. }); // parse everything in between { and }
  42889. const expansionCaseParser = new _TreeBuilder(exp, this.getTagDefinition);
  42890. expansionCaseParser.build();
  42891. if (expansionCaseParser.errors.length > 0) {
  42892. this.errors = this.errors.concat(expansionCaseParser.errors);
  42893. return null;
  42894. }
  42895. const sourceSpan = new ParseSourceSpan(value.sourceSpan.start, end.sourceSpan.end, value.sourceSpan.fullStart);
  42896. const expSourceSpan = new ParseSourceSpan(start.sourceSpan.start, end.sourceSpan.end, start.sourceSpan.fullStart);
  42897. return new ExpansionCase(value.parts[0], expansionCaseParser.rootNodes, sourceSpan, value.sourceSpan, expSourceSpan);
  42898. }
  42899. _collectExpansionExpTokens(start) {
  42900. const exp = [];
  42901. const expansionFormStack = [21
  42902. /* TokenType.EXPANSION_CASE_EXP_START */
  42903. ];
  42904. while (true) {
  42905. if (this._peek.type === 19
  42906. /* TokenType.EXPANSION_FORM_START */
  42907. || this._peek.type === 21
  42908. /* TokenType.EXPANSION_CASE_EXP_START */
  42909. ) {
  42910. expansionFormStack.push(this._peek.type);
  42911. }
  42912. if (this._peek.type === 22
  42913. /* TokenType.EXPANSION_CASE_EXP_END */
  42914. ) {
  42915. if (lastOnStack(expansionFormStack, 21
  42916. /* TokenType.EXPANSION_CASE_EXP_START */
  42917. )) {
  42918. expansionFormStack.pop();
  42919. if (expansionFormStack.length === 0) return exp;
  42920. } else {
  42921. this.errors.push(TreeError.create(null, start.sourceSpan, `Invalid ICU message. Missing '}'.`));
  42922. return null;
  42923. }
  42924. }
  42925. if (this._peek.type === 23
  42926. /* TokenType.EXPANSION_FORM_END */
  42927. ) {
  42928. if (lastOnStack(expansionFormStack, 19
  42929. /* TokenType.EXPANSION_FORM_START */
  42930. )) {
  42931. expansionFormStack.pop();
  42932. } else {
  42933. this.errors.push(TreeError.create(null, start.sourceSpan, `Invalid ICU message. Missing '}'.`));
  42934. return null;
  42935. }
  42936. }
  42937. if (this._peek.type === 24
  42938. /* TokenType.EOF */
  42939. ) {
  42940. this.errors.push(TreeError.create(null, start.sourceSpan, `Invalid ICU message. Missing '}'.`));
  42941. return null;
  42942. }
  42943. exp.push(this._advance());
  42944. }
  42945. }
  42946. _consumeText(token) {
  42947. const tokens = [token];
  42948. const startSpan = token.sourceSpan;
  42949. let text = token.parts[0];
  42950. if (text.length > 0 && text[0] === '\n') {
  42951. const parent = this._getParentElement();
  42952. if (parent != null && parent.children.length === 0 && this.getTagDefinition(parent.name).ignoreFirstLf) {
  42953. text = text.substring(1);
  42954. tokens[0] = {
  42955. type: token.type,
  42956. sourceSpan: token.sourceSpan,
  42957. parts: [text]
  42958. };
  42959. }
  42960. }
  42961. while (this._peek.type === 8
  42962. /* TokenType.INTERPOLATION */
  42963. || this._peek.type === 5
  42964. /* TokenType.TEXT */
  42965. || this._peek.type === 9
  42966. /* TokenType.ENCODED_ENTITY */
  42967. ) {
  42968. token = this._advance();
  42969. tokens.push(token);
  42970. if (token.type === 8
  42971. /* TokenType.INTERPOLATION */
  42972. ) {
  42973. // For backward compatibility we decode HTML entities that appear in interpolation
  42974. // expressions. This is arguably a bug, but it could be a considerable breaking change to
  42975. // fix it. It should be addressed in a larger project to refactor the entire parser/lexer
  42976. // chain after View Engine has been removed.
  42977. text += token.parts.join('').replace(/&([^;]+);/g, decodeEntity);
  42978. } else if (token.type === 9
  42979. /* TokenType.ENCODED_ENTITY */
  42980. ) {
  42981. text += token.parts[0];
  42982. } else {
  42983. text += token.parts.join('');
  42984. }
  42985. }
  42986. if (text.length > 0) {
  42987. const endSpan = token.sourceSpan;
  42988. this._addToParent(new Text(text, new ParseSourceSpan(startSpan.start, endSpan.end, startSpan.fullStart, startSpan.details), tokens));
  42989. }
  42990. }
  42991. _closeVoidElement() {
  42992. const el = this._getParentElement();
  42993. if (el && this.getTagDefinition(el.name).isVoid) {
  42994. this._elementStack.pop();
  42995. }
  42996. }
  42997. _consumeStartTag(startTagToken) {
  42998. const [prefix, name] = startTagToken.parts;
  42999. const attrs = [];
  43000. while (this._peek.type === 14
  43001. /* TokenType.ATTR_NAME */
  43002. ) {
  43003. attrs.push(this._consumeAttr(this._advance()));
  43004. }
  43005. const fullName = this._getElementFullName(prefix, name, this._getParentElement());
  43006. let selfClosing = false; // Note: There could have been a tokenizer error
  43007. // so that we don't get a token for the end tag...
  43008. if (this._peek.type === 2
  43009. /* TokenType.TAG_OPEN_END_VOID */
  43010. ) {
  43011. this._advance();
  43012. selfClosing = true;
  43013. const tagDef = this.getTagDefinition(fullName);
  43014. if (!(tagDef.canSelfClose || getNsPrefix(fullName) !== null || tagDef.isVoid)) {
  43015. this.errors.push(TreeError.create(fullName, startTagToken.sourceSpan, `Only void and foreign elements can be self closed "${startTagToken.parts[1]}"`));
  43016. }
  43017. } else if (this._peek.type === 1
  43018. /* TokenType.TAG_OPEN_END */
  43019. ) {
  43020. this._advance();
  43021. selfClosing = false;
  43022. }
  43023. const end = this._peek.sourceSpan.fullStart;
  43024. const span = new ParseSourceSpan(startTagToken.sourceSpan.start, end, startTagToken.sourceSpan.fullStart); // Create a separate `startSpan` because `span` will be modified when there is an `end` span.
  43025. const startSpan = new ParseSourceSpan(startTagToken.sourceSpan.start, end, startTagToken.sourceSpan.fullStart);
  43026. const el = new Element(fullName, attrs, [], span, startSpan, undefined);
  43027. this._pushElement(el);
  43028. if (selfClosing) {
  43029. // Elements that are self-closed have their `endSourceSpan` set to the full span, as the
  43030. // element start tag also represents the end tag.
  43031. this._popElement(fullName, span);
  43032. } else if (startTagToken.type === 4
  43033. /* TokenType.INCOMPLETE_TAG_OPEN */
  43034. ) {
  43035. // We already know the opening tag is not complete, so it is unlikely it has a corresponding
  43036. // close tag. Let's optimistically parse it as a full element and emit an error.
  43037. this._popElement(fullName, null);
  43038. this.errors.push(TreeError.create(fullName, span, `Opening tag "${fullName}" not terminated.`));
  43039. }
  43040. }
  43041. _pushElement(el) {
  43042. const parentEl = this._getParentElement();
  43043. if (parentEl && this.getTagDefinition(parentEl.name).isClosedByChild(el.name)) {
  43044. this._elementStack.pop();
  43045. }
  43046. this._addToParent(el);
  43047. this._elementStack.push(el);
  43048. }
  43049. _consumeEndTag(endTagToken) {
  43050. const fullName = this._getElementFullName(endTagToken.parts[0], endTagToken.parts[1], this._getParentElement());
  43051. if (this.getTagDefinition(fullName).isVoid) {
  43052. this.errors.push(TreeError.create(fullName, endTagToken.sourceSpan, `Void elements do not have end tags "${endTagToken.parts[1]}"`));
  43053. } else if (!this._popElement(fullName, endTagToken.sourceSpan)) {
  43054. const errMsg = `Unexpected closing tag "${fullName}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;
  43055. this.errors.push(TreeError.create(fullName, endTagToken.sourceSpan, errMsg));
  43056. }
  43057. }
  43058. /**
  43059. * Closes the nearest element with the tag name `fullName` in the parse tree.
  43060. * `endSourceSpan` is the span of the closing tag, or null if the element does
  43061. * not have a closing tag (for example, this happens when an incomplete
  43062. * opening tag is recovered).
  43063. */
  43064. _popElement(fullName, endSourceSpan) {
  43065. let unexpectedCloseTagDetected = false;
  43066. for (let stackIndex = this._elementStack.length - 1; stackIndex >= 0; stackIndex--) {
  43067. const el = this._elementStack[stackIndex];
  43068. if (el.name === fullName) {
  43069. // Record the parse span with the element that is being closed. Any elements that are
  43070. // removed from the element stack at this point are closed implicitly, so they won't get
  43071. // an end source span (as there is no explicit closing element).
  43072. el.endSourceSpan = endSourceSpan;
  43073. el.sourceSpan.end = endSourceSpan !== null ? endSourceSpan.end : el.sourceSpan.end;
  43074. this._elementStack.splice(stackIndex, this._elementStack.length - stackIndex);
  43075. return !unexpectedCloseTagDetected;
  43076. }
  43077. if (!this.getTagDefinition(el.name).closedByParent) {
  43078. // Note that we encountered an unexpected close tag but continue processing the element
  43079. // stack so we can assign an `endSourceSpan` if there is a corresponding start tag for this
  43080. // end tag in the stack.
  43081. unexpectedCloseTagDetected = true;
  43082. }
  43083. }
  43084. return false;
  43085. }
  43086. _consumeAttr(attrName) {
  43087. const fullName = mergeNsAndName(attrName.parts[0], attrName.parts[1]);
  43088. let attrEnd = attrName.sourceSpan.end; // Consume any quote
  43089. if (this._peek.type === 15
  43090. /* TokenType.ATTR_QUOTE */
  43091. ) {
  43092. this._advance();
  43093. } // Consume the attribute value
  43094. let value = '';
  43095. const valueTokens = [];
  43096. let valueStartSpan = undefined;
  43097. let valueEnd = undefined; // NOTE: We need to use a new variable `nextTokenType` here to hide the actual type of
  43098. // `_peek.type` from TS. Otherwise TS will narrow the type of `_peek.type` preventing it from
  43099. // being able to consider `ATTR_VALUE_INTERPOLATION` as an option. This is because TS is not
  43100. // able to see that `_advance()` will actually mutate `_peek`.
  43101. const nextTokenType = this._peek.type;
  43102. if (nextTokenType === 16
  43103. /* TokenType.ATTR_VALUE_TEXT */
  43104. ) {
  43105. valueStartSpan = this._peek.sourceSpan;
  43106. valueEnd = this._peek.sourceSpan.end;
  43107. while (this._peek.type === 16
  43108. /* TokenType.ATTR_VALUE_TEXT */
  43109. || this._peek.type === 17
  43110. /* TokenType.ATTR_VALUE_INTERPOLATION */
  43111. || this._peek.type === 9
  43112. /* TokenType.ENCODED_ENTITY */
  43113. ) {
  43114. const valueToken = this._advance();
  43115. valueTokens.push(valueToken);
  43116. if (valueToken.type === 17
  43117. /* TokenType.ATTR_VALUE_INTERPOLATION */
  43118. ) {
  43119. // For backward compatibility we decode HTML entities that appear in interpolation
  43120. // expressions. This is arguably a bug, but it could be a considerable breaking change to
  43121. // fix it. It should be addressed in a larger project to refactor the entire parser/lexer
  43122. // chain after View Engine has been removed.
  43123. value += valueToken.parts.join('').replace(/&([^;]+);/g, decodeEntity);
  43124. } else if (valueToken.type === 9
  43125. /* TokenType.ENCODED_ENTITY */
  43126. ) {
  43127. value += valueToken.parts[0];
  43128. } else {
  43129. value += valueToken.parts.join('');
  43130. }
  43131. valueEnd = attrEnd = valueToken.sourceSpan.end;
  43132. }
  43133. } // Consume any quote
  43134. if (this._peek.type === 15
  43135. /* TokenType.ATTR_QUOTE */
  43136. ) {
  43137. const quoteToken = this._advance();
  43138. attrEnd = quoteToken.sourceSpan.end;
  43139. }
  43140. const valueSpan = valueStartSpan && valueEnd && new ParseSourceSpan(valueStartSpan.start, valueEnd, valueStartSpan.fullStart);
  43141. return new Attribute(fullName, value, new ParseSourceSpan(attrName.sourceSpan.start, attrEnd, attrName.sourceSpan.fullStart), attrName.sourceSpan, valueSpan, valueTokens.length > 0 ? valueTokens : undefined, undefined);
  43142. }
  43143. _getParentElement() {
  43144. return this._elementStack.length > 0 ? this._elementStack[this._elementStack.length - 1] : null;
  43145. }
  43146. _addToParent(node) {
  43147. const parent = this._getParentElement();
  43148. if (parent != null) {
  43149. parent.children.push(node);
  43150. } else {
  43151. this.rootNodes.push(node);
  43152. }
  43153. }
  43154. _getElementFullName(prefix, localName, parentElement) {
  43155. if (prefix === '') {
  43156. prefix = this.getTagDefinition(localName).implicitNamespacePrefix || '';
  43157. if (prefix === '' && parentElement != null) {
  43158. const parentTagName = splitNsName(parentElement.name)[1];
  43159. const parentTagDefinition = this.getTagDefinition(parentTagName);
  43160. if (!parentTagDefinition.preventNamespaceInheritance) {
  43161. prefix = getNsPrefix(parentElement.name);
  43162. }
  43163. }
  43164. }
  43165. return mergeNsAndName(prefix, localName);
  43166. }
  43167. }
  43168. function lastOnStack(stack, element) {
  43169. return stack.length > 0 && stack[stack.length - 1] === element;
  43170. }
  43171. /**
  43172. * Decode the `entity` string, which we believe is the contents of an HTML entity.
  43173. *
  43174. * If the string is not actually a valid/known entity then just return the original `match` string.
  43175. */
  43176. function decodeEntity(match, entity) {
  43177. if (NAMED_ENTITIES[entity] !== undefined) {
  43178. return NAMED_ENTITIES[entity] || match;
  43179. }
  43180. if (/^#x[a-f0-9]+$/i.test(entity)) {
  43181. return String.fromCodePoint(parseInt(entity.slice(2), 16));
  43182. }
  43183. if (/^#\d+$/.test(entity)) {
  43184. return String.fromCodePoint(parseInt(entity.slice(1), 10));
  43185. }
  43186. return match;
  43187. }
  43188. /**
  43189. * @license
  43190. * Copyright Google LLC All Rights Reserved.
  43191. *
  43192. * Use of this source code is governed by an MIT-style license that can be
  43193. * found in the LICENSE file at https://angular.io/license
  43194. */
  43195. class HtmlParser extends Parser {
  43196. constructor() {
  43197. super(getHtmlTagDefinition);
  43198. }
  43199. parse(source, url, options) {
  43200. return super.parse(source, url, options);
  43201. }
  43202. }
  43203. /**
  43204. * @license
  43205. * Copyright Google LLC All Rights Reserved.
  43206. *
  43207. * Use of this source code is governed by an MIT-style license that can be
  43208. * found in the LICENSE file at https://angular.io/license
  43209. */
  43210. const PRESERVE_WS_ATTR_NAME = 'ngPreserveWhitespaces';
  43211. const SKIP_WS_TRIM_TAGS = new Set(['pre', 'template', 'textarea', 'script', 'style']); // Equivalent to \s with \u00a0 (non-breaking space) excluded.
  43212. // Based on https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp
  43213. const WS_CHARS = ' \f\n\r\t\v\u1680\u180e\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff';
  43214. const NO_WS_REGEXP = new RegExp(`[^${WS_CHARS}]`);
  43215. const WS_REPLACE_REGEXP = new RegExp(`[${WS_CHARS}]{2,}`, 'g');
  43216. function hasPreserveWhitespacesAttr(attrs) {
  43217. return attrs.some(attr => attr.name === PRESERVE_WS_ATTR_NAME);
  43218. }
  43219. /**
  43220. * Angular Dart introduced &ngsp; as a placeholder for non-removable space, see:
  43221. * https://github.com/dart-lang/angular/blob/0bb611387d29d65b5af7f9d2515ab571fd3fbee4/_tests/test/compiler/preserve_whitespace_test.dart#L25-L32
  43222. * In Angular Dart &ngsp; is converted to the 0xE500 PUA (Private Use Areas) unicode character
  43223. * and later on replaced by a space. We are re-implementing the same idea here.
  43224. */
  43225. function replaceNgsp(value) {
  43226. // lexer is replacing the &ngsp; pseudo-entity with NGSP_UNICODE
  43227. return value.replace(new RegExp(NGSP_UNICODE, 'g'), ' ');
  43228. }
  43229. /**
  43230. * This visitor can walk HTML parse tree and remove / trim text nodes using the following rules:
  43231. * - consider spaces, tabs and new lines as whitespace characters;
  43232. * - drop text nodes consisting of whitespace characters only;
  43233. * - for all other text nodes replace consecutive whitespace characters with one space;
  43234. * - convert &ngsp; pseudo-entity to a single space;
  43235. *
  43236. * Removal and trimming of whitespaces have positive performance impact (less code to generate
  43237. * while compiling templates, faster view creation). At the same time it can be "destructive"
  43238. * in some cases (whitespaces can influence layout). Because of the potential of breaking layout
  43239. * this visitor is not activated by default in Angular 5 and people need to explicitly opt-in for
  43240. * whitespace removal. The default option for whitespace removal will be revisited in Angular 6
  43241. * and might be changed to "on" by default.
  43242. */
  43243. class WhitespaceVisitor {
  43244. visitElement(element, context) {
  43245. if (SKIP_WS_TRIM_TAGS.has(element.name) || hasPreserveWhitespacesAttr(element.attrs)) {
  43246. // don't descent into elements where we need to preserve whitespaces
  43247. // but still visit all attributes to eliminate one used as a market to preserve WS
  43248. return new Element(element.name, visitAll(this, element.attrs), element.children, element.sourceSpan, element.startSourceSpan, element.endSourceSpan, element.i18n);
  43249. }
  43250. return new Element(element.name, element.attrs, visitAllWithSiblings(this, element.children), element.sourceSpan, element.startSourceSpan, element.endSourceSpan, element.i18n);
  43251. }
  43252. visitAttribute(attribute, context) {
  43253. return attribute.name !== PRESERVE_WS_ATTR_NAME ? attribute : null;
  43254. }
  43255. visitText(text, context) {
  43256. const isNotBlank = text.value.match(NO_WS_REGEXP);
  43257. const hasExpansionSibling = context && (context.prev instanceof Expansion || context.next instanceof Expansion);
  43258. if (isNotBlank || hasExpansionSibling) {
  43259. // Process the whitespace in the tokens of this Text node
  43260. const tokens = text.tokens.map(token => token.type === 5
  43261. /* TokenType.TEXT */
  43262. ? createWhitespaceProcessedTextToken(token) : token); // Process the whitespace of the value of this Text node
  43263. const value = processWhitespace(text.value);
  43264. return new Text(value, text.sourceSpan, tokens, text.i18n);
  43265. }
  43266. return null;
  43267. }
  43268. visitComment(comment, context) {
  43269. return comment;
  43270. }
  43271. visitExpansion(expansion, context) {
  43272. return expansion;
  43273. }
  43274. visitExpansionCase(expansionCase, context) {
  43275. return expansionCase;
  43276. }
  43277. }
  43278. function createWhitespaceProcessedTextToken({
  43279. type,
  43280. parts,
  43281. sourceSpan
  43282. }) {
  43283. return {
  43284. type,
  43285. parts: [processWhitespace(parts[0])],
  43286. sourceSpan
  43287. };
  43288. }
  43289. function processWhitespace(text) {
  43290. return replaceNgsp(text).replace(WS_REPLACE_REGEXP, ' ');
  43291. }
  43292. function removeWhitespaces(htmlAstWithErrors) {
  43293. return new ParseTreeResult(visitAll(new WhitespaceVisitor(), htmlAstWithErrors.rootNodes), htmlAstWithErrors.errors);
  43294. }
  43295. function visitAllWithSiblings(visitor, nodes) {
  43296. const result = [];
  43297. nodes.forEach((ast, i) => {
  43298. const context = {
  43299. prev: nodes[i - 1],
  43300. next: nodes[i + 1]
  43301. };
  43302. const astResult = ast.visit(visitor, context);
  43303. if (astResult) {
  43304. result.push(astResult);
  43305. }
  43306. });
  43307. return result;
  43308. }
  43309. /**
  43310. * @license
  43311. * Copyright Google LLC All Rights Reserved.
  43312. *
  43313. * Use of this source code is governed by an MIT-style license that can be
  43314. * found in the LICENSE file at https://angular.io/license
  43315. */
  43316. function mapEntry(key, value) {
  43317. return {
  43318. key,
  43319. value,
  43320. quoted: false
  43321. };
  43322. }
  43323. function mapLiteral(obj, quoted = false) {
  43324. return literalMap(Object.keys(obj).map(key => ({
  43325. key,
  43326. quoted,
  43327. value: obj[key]
  43328. })));
  43329. }
  43330. /**
  43331. * @license
  43332. * Copyright Google LLC All Rights Reserved.
  43333. *
  43334. * Use of this source code is governed by an MIT-style license that can be
  43335. * found in the LICENSE file at https://angular.io/license
  43336. */
  43337. // =================================================================================================
  43338. // =================================================================================================
  43339. // =========== S T O P - S T O P - S T O P - S T O P - S T O P - S T O P ===========
  43340. // =================================================================================================
  43341. // =================================================================================================
  43342. //
  43343. // DO NOT EDIT THIS LIST OF SECURITY SENSITIVE PROPERTIES WITHOUT A SECURITY REVIEW!
  43344. // Reach out to mprobst for details.
  43345. //
  43346. // =================================================================================================
  43347. /** Map from tagName|propertyName to SecurityContext. Properties applying to all tags use '*'. */
  43348. let _SECURITY_SCHEMA;
  43349. function SECURITY_SCHEMA() {
  43350. if (!_SECURITY_SCHEMA) {
  43351. _SECURITY_SCHEMA = {}; // Case is insignificant below, all element and attribute names are lower-cased for lookup.
  43352. registerContext(SecurityContext.HTML, ['iframe|srcdoc', '*|innerHTML', '*|outerHTML']);
  43353. registerContext(SecurityContext.STYLE, ['*|style']); // NB: no SCRIPT contexts here, they are never allowed due to the parser stripping them.
  43354. registerContext(SecurityContext.URL, ['*|formAction', 'area|href', 'area|ping', 'audio|src', 'a|href', 'a|ping', 'blockquote|cite', 'body|background', 'del|cite', 'form|action', 'img|src', 'input|src', 'ins|cite', 'q|cite', 'source|src', 'track|src', 'video|poster', 'video|src']);
  43355. registerContext(SecurityContext.RESOURCE_URL, ['applet|code', 'applet|codebase', 'base|href', 'embed|src', 'frame|src', 'head|profile', 'html|manifest', 'iframe|src', 'link|href', 'media|src', 'object|codebase', 'object|data', 'script|src']);
  43356. }
  43357. return _SECURITY_SCHEMA;
  43358. }
  43359. function registerContext(ctx, specs) {
  43360. for (const spec of specs) _SECURITY_SCHEMA[spec.toLowerCase()] = ctx;
  43361. }
  43362. /**
  43363. * @license
  43364. * Copyright Google LLC All Rights Reserved.
  43365. *
  43366. * Use of this source code is governed by an MIT-style license that can be
  43367. * found in the LICENSE file at https://angular.io/license
  43368. */
  43369. class ElementSchemaRegistry {}
  43370. /**
  43371. * @license
  43372. * Copyright Google LLC All Rights Reserved.
  43373. *
  43374. * Use of this source code is governed by an MIT-style license that can be
  43375. * found in the LICENSE file at https://angular.io/license
  43376. */
  43377. const EVENT = 'event';
  43378. const BOOLEAN = 'boolean';
  43379. const NUMBER = 'number';
  43380. const STRING = 'string';
  43381. const OBJECT = 'object';
  43382. /**
  43383. * This array represents the DOM schema. It encodes inheritance, properties, and events.
  43384. *
  43385. * ## Overview
  43386. *
  43387. * Each line represents one kind of element. The `element_inheritance` and properties are joined
  43388. * using `element_inheritance|properties` syntax.
  43389. *
  43390. * ## Element Inheritance
  43391. *
  43392. * The `element_inheritance` can be further subdivided as `element1,element2,...^parentElement`.
  43393. * Here the individual elements are separated by `,` (commas). Every element in the list
  43394. * has identical properties.
  43395. *
  43396. * An `element` may inherit additional properties from `parentElement` If no `^parentElement` is
  43397. * specified then `""` (blank) element is assumed.
  43398. *
  43399. * NOTE: The blank element inherits from root `[Element]` element, the super element of all
  43400. * elements.
  43401. *
  43402. * NOTE an element prefix such as `:svg:` has no special meaning to the schema.
  43403. *
  43404. * ## Properties
  43405. *
  43406. * Each element has a set of properties separated by `,` (commas). Each property can be prefixed
  43407. * by a special character designating its type:
  43408. *
  43409. * - (no prefix): property is a string.
  43410. * - `*`: property represents an event.
  43411. * - `!`: property is a boolean.
  43412. * - `#`: property is a number.
  43413. * - `%`: property is an object.
  43414. *
  43415. * ## Query
  43416. *
  43417. * The class creates an internal squas representation which allows to easily answer the query of
  43418. * if a given property exist on a given element.
  43419. *
  43420. * NOTE: We don't yet support querying for types or events.
  43421. * NOTE: This schema is auto extracted from `schema_extractor.ts` located in the test folder,
  43422. * see dom_element_schema_registry_spec.ts
  43423. */
  43424. // =================================================================================================
  43425. // =================================================================================================
  43426. // =========== S T O P - S T O P - S T O P - S T O P - S T O P - S T O P ===========
  43427. // =================================================================================================
  43428. // =================================================================================================
  43429. //
  43430. // DO NOT EDIT THIS DOM SCHEMA WITHOUT A SECURITY REVIEW!
  43431. //
  43432. // Newly added properties must be security reviewed and assigned an appropriate SecurityContext in
  43433. // dom_security_schema.ts. Reach out to mprobst & rjamet for details.
  43434. //
  43435. // =================================================================================================
  43436. const SCHEMA = ['[Element]|textContent,%classList,className,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*copy,*cut,*paste,*search,*selectstart,*webkitfullscreenchange,*webkitfullscreenerror,*wheel,outerHTML,#scrollLeft,#scrollTop,slot' +
  43437. /* added manually to avoid breaking changes */
  43438. ',*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored', '[HTMLElement]^[Element]|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,outerText,!spellcheck,%style,#tabIndex,title,!translate', 'abbr,address,article,aside,b,bdi,bdo,cite,code,dd,dfn,dt,em,figcaption,figure,footer,header,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,outerText,!spellcheck,%style,#tabIndex,title,!translate', 'media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,src,%srcObject,#volume', ':svg:^[HTMLElement]|*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,%style,#tabIndex', ':svg:graphics^:svg:|', ':svg:animation^:svg:|*begin,*end,*repeat', ':svg:geometry^:svg:|', ':svg:componentTransferFunction^:svg:|', ':svg:gradient^:svg:|', ':svg:textContent^:svg:graphics|', ':svg:textPositioning^:svg:textContent|', 'a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,rev,search,shape,target,text,type,username', 'area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,search,shape,target,username', 'audio^media|', 'br^[HTMLElement]|clear', 'base^[HTMLElement]|href,target', 'body^[HTMLElement]|aLink,background,bgColor,link,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink', 'button^[HTMLElement]|!autofocus,!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value', 'canvas^[HTMLElement]|#height,#width', 'content^[HTMLElement]|select', 'dl^[HTMLElement]|!compact', 'datalist^[HTMLElement]|', 'details^[HTMLElement]|!open', 'dialog^[HTMLElement]|!open,returnValue', 'dir^[HTMLElement]|!compact', 'div^[HTMLElement]|align', 'embed^[HTMLElement]|align,height,name,src,type,width', 'fieldset^[HTMLElement]|!disabled,name', 'font^[HTMLElement]|color,face,size', 'form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target', 'frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src', 'frameset^[HTMLElement]|cols,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows', 'hr^[HTMLElement]|align,color,!noShade,size,width', 'head^[HTMLElement]|', 'h1,h2,h3,h4,h5,h6^[HTMLElement]|align', 'html^[HTMLElement]|version', 'iframe^[HTMLElement]|align,!allowFullscreen,frameBorder,height,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width', 'img^[HTMLElement]|align,alt,border,%crossOrigin,#height,#hspace,!isMap,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width', 'input^[HTMLElement]|accept,align,alt,autocapitalize,autocomplete,!autofocus,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width', 'li^[HTMLElement]|type,#value', 'label^[HTMLElement]|htmlFor', 'legend^[HTMLElement]|align', 'link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type', 'map^[HTMLElement]|name', 'marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width', 'menu^[HTMLElement]|!compact', 'meta^[HTMLElement]|content,httpEquiv,name,scheme', 'meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value', 'ins,del^[HTMLElement]|cite,dateTime', 'ol^[HTMLElement]|!compact,!reversed,#start,type', 'object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width', 'optgroup^[HTMLElement]|!disabled,label', 'option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value', 'output^[HTMLElement]|defaultValue,%htmlFor,name,value', 'p^[HTMLElement]|align', 'param^[HTMLElement]|name,type,value,valueType', 'picture^[HTMLElement]|', 'pre^[HTMLElement]|#width', 'progress^[HTMLElement]|#max,#value', 'q,blockquote,cite^[HTMLElement]|', 'script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,src,text,type', 'select^[HTMLElement]|autocomplete,!autofocus,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value', 'shadow^[HTMLElement]|', 'slot^[HTMLElement]|name', 'source^[HTMLElement]|media,sizes,src,srcset,type', 'span^[HTMLElement]|', 'style^[HTMLElement]|!disabled,media,type', 'caption^[HTMLElement]|align', 'th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width', 'col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width', 'table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width', 'tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign', 'tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign', 'template^[HTMLElement]|', 'textarea^[HTMLElement]|autocapitalize,autocomplete,!autofocus,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap', 'title^[HTMLElement]|text', 'track^[HTMLElement]|!default,kind,label,src,srclang', 'ul^[HTMLElement]|!compact,type', 'unknown^[HTMLElement]|', 'video^media|#height,poster,#width', ':svg:a^:svg:graphics|', ':svg:animate^:svg:animation|', ':svg:animateMotion^:svg:animation|', ':svg:animateTransform^:svg:animation|', ':svg:circle^:svg:geometry|', ':svg:clipPath^:svg:graphics|', ':svg:defs^:svg:graphics|', ':svg:desc^:svg:|', ':svg:discard^:svg:|', ':svg:ellipse^:svg:geometry|', ':svg:feBlend^:svg:|', ':svg:feColorMatrix^:svg:|', ':svg:feComponentTransfer^:svg:|', ':svg:feComposite^:svg:|', ':svg:feConvolveMatrix^:svg:|', ':svg:feDiffuseLighting^:svg:|', ':svg:feDisplacementMap^:svg:|', ':svg:feDistantLight^:svg:|', ':svg:feDropShadow^:svg:|', ':svg:feFlood^:svg:|', ':svg:feFuncA^:svg:componentTransferFunction|', ':svg:feFuncB^:svg:componentTransferFunction|', ':svg:feFuncG^:svg:componentTransferFunction|', ':svg:feFuncR^:svg:componentTransferFunction|', ':svg:feGaussianBlur^:svg:|', ':svg:feImage^:svg:|', ':svg:feMerge^:svg:|', ':svg:feMergeNode^:svg:|', ':svg:feMorphology^:svg:|', ':svg:feOffset^:svg:|', ':svg:fePointLight^:svg:|', ':svg:feSpecularLighting^:svg:|', ':svg:feSpotLight^:svg:|', ':svg:feTile^:svg:|', ':svg:feTurbulence^:svg:|', ':svg:filter^:svg:|', ':svg:foreignObject^:svg:graphics|', ':svg:g^:svg:graphics|', ':svg:image^:svg:graphics|', ':svg:line^:svg:geometry|', ':svg:linearGradient^:svg:gradient|', ':svg:mpath^:svg:|', ':svg:marker^:svg:|', ':svg:mask^:svg:|', ':svg:metadata^:svg:|', ':svg:path^:svg:geometry|', ':svg:pattern^:svg:|', ':svg:polygon^:svg:geometry|', ':svg:polyline^:svg:geometry|', ':svg:radialGradient^:svg:gradient|', ':svg:rect^:svg:geometry|', ':svg:svg^:svg:graphics|#currentScale,#zoomAndPan', ':svg:script^:svg:|type', ':svg:set^:svg:animation|', ':svg:stop^:svg:|', ':svg:style^:svg:|!disabled,media,title,type', ':svg:switch^:svg:graphics|', ':svg:symbol^:svg:|', ':svg:tspan^:svg:textPositioning|', ':svg:text^:svg:textPositioning|', ':svg:textPath^:svg:textContent|', ':svg:title^:svg:|', ':svg:use^:svg:graphics|', ':svg:view^:svg:|#zoomAndPan', 'data^[HTMLElement]|value', 'keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name', 'menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default', 'summary^[HTMLElement]|', 'time^[HTMLElement]|dateTime', ':svg:cursor^:svg:|'];
  43439. const _ATTR_TO_PROP = new Map(Object.entries({
  43440. 'class': 'className',
  43441. 'for': 'htmlFor',
  43442. 'formaction': 'formAction',
  43443. 'innerHtml': 'innerHTML',
  43444. 'readonly': 'readOnly',
  43445. 'tabindex': 'tabIndex'
  43446. })); // Invert _ATTR_TO_PROP.
  43447. const _PROP_TO_ATTR = Array.from(_ATTR_TO_PROP).reduce((inverted, [propertyName, attributeName]) => {
  43448. inverted.set(propertyName, attributeName);
  43449. return inverted;
  43450. }, new Map());
  43451. class DomElementSchemaRegistry extends ElementSchemaRegistry {
  43452. constructor() {
  43453. super();
  43454. this._schema = new Map(); // We don't allow binding to events for security reasons. Allowing event bindings would almost
  43455. // certainly introduce bad XSS vulnerabilities. Instead, we store events in a separate schema.
  43456. this._eventSchema = new Map();
  43457. SCHEMA.forEach(encodedType => {
  43458. const type = new Map();
  43459. const events = new Set();
  43460. const [strType, strProperties] = encodedType.split('|');
  43461. const properties = strProperties.split(',');
  43462. const [typeNames, superName] = strType.split('^');
  43463. typeNames.split(',').forEach(tag => {
  43464. this._schema.set(tag.toLowerCase(), type);
  43465. this._eventSchema.set(tag.toLowerCase(), events);
  43466. });
  43467. const superType = superName && this._schema.get(superName.toLowerCase());
  43468. if (superType) {
  43469. for (const [prop, value] of superType) {
  43470. type.set(prop, value);
  43471. }
  43472. for (const superEvent of this._eventSchema.get(superName.toLowerCase())) {
  43473. events.add(superEvent);
  43474. }
  43475. }
  43476. properties.forEach(property => {
  43477. if (property.length > 0) {
  43478. switch (property[0]) {
  43479. case '*':
  43480. events.add(property.substring(1));
  43481. break;
  43482. case '!':
  43483. type.set(property.substring(1), BOOLEAN);
  43484. break;
  43485. case '#':
  43486. type.set(property.substring(1), NUMBER);
  43487. break;
  43488. case '%':
  43489. type.set(property.substring(1), OBJECT);
  43490. break;
  43491. default:
  43492. type.set(property, STRING);
  43493. }
  43494. }
  43495. });
  43496. });
  43497. }
  43498. hasProperty(tagName, propName, schemaMetas) {
  43499. if (schemaMetas.some(schema => schema.name === NO_ERRORS_SCHEMA.name)) {
  43500. return true;
  43501. }
  43502. if (tagName.indexOf('-') > -1) {
  43503. if (isNgContainer(tagName) || isNgContent(tagName)) {
  43504. return false;
  43505. }
  43506. if (schemaMetas.some(schema => schema.name === CUSTOM_ELEMENTS_SCHEMA.name)) {
  43507. // Can't tell now as we don't know which properties a custom element will get
  43508. // once it is instantiated
  43509. return true;
  43510. }
  43511. }
  43512. const elementProperties = this._schema.get(tagName.toLowerCase()) || this._schema.get('unknown');
  43513. return elementProperties.has(propName);
  43514. }
  43515. hasElement(tagName, schemaMetas) {
  43516. if (schemaMetas.some(schema => schema.name === NO_ERRORS_SCHEMA.name)) {
  43517. return true;
  43518. }
  43519. if (tagName.indexOf('-') > -1) {
  43520. if (isNgContainer(tagName) || isNgContent(tagName)) {
  43521. return true;
  43522. }
  43523. if (schemaMetas.some(schema => schema.name === CUSTOM_ELEMENTS_SCHEMA.name)) {
  43524. // Allow any custom elements
  43525. return true;
  43526. }
  43527. }
  43528. return this._schema.has(tagName.toLowerCase());
  43529. }
  43530. /**
  43531. * securityContext returns the security context for the given property on the given DOM tag.
  43532. *
  43533. * Tag and property name are statically known and cannot change at runtime, i.e. it is not
  43534. * possible to bind a value into a changing attribute or tag name.
  43535. *
  43536. * The filtering is based on a list of allowed tags|attributes. All attributes in the schema
  43537. * above are assumed to have the 'NONE' security context, i.e. that they are safe inert
  43538. * string values. Only specific well known attack vectors are assigned their appropriate context.
  43539. */
  43540. securityContext(tagName, propName, isAttribute) {
  43541. if (isAttribute) {
  43542. // NB: For security purposes, use the mapped property name, not the attribute name.
  43543. propName = this.getMappedPropName(propName);
  43544. } // Make sure comparisons are case insensitive, so that case differences between attribute and
  43545. // property names do not have a security impact.
  43546. tagName = tagName.toLowerCase();
  43547. propName = propName.toLowerCase();
  43548. let ctx = SECURITY_SCHEMA()[tagName + '|' + propName];
  43549. if (ctx) {
  43550. return ctx;
  43551. }
  43552. ctx = SECURITY_SCHEMA()['*|' + propName];
  43553. return ctx ? ctx : SecurityContext.NONE;
  43554. }
  43555. getMappedPropName(propName) {
  43556. var _a;
  43557. return (_a = _ATTR_TO_PROP.get(propName)) !== null && _a !== void 0 ? _a : propName;
  43558. }
  43559. getDefaultComponentElementName() {
  43560. return 'ng-component';
  43561. }
  43562. validateProperty(name) {
  43563. if (name.toLowerCase().startsWith('on')) {
  43564. const msg = `Binding to event property '${name}' is disallowed for security reasons, ` + `please use (${name.slice(2)})=...` + `\nIf '${name}' is a directive input, make sure the directive is imported by the` + ` current module.`;
  43565. return {
  43566. error: true,
  43567. msg: msg
  43568. };
  43569. } else {
  43570. return {
  43571. error: false
  43572. };
  43573. }
  43574. }
  43575. validateAttribute(name) {
  43576. if (name.toLowerCase().startsWith('on')) {
  43577. const msg = `Binding to event attribute '${name}' is disallowed for security reasons, ` + `please use (${name.slice(2)})=...`;
  43578. return {
  43579. error: true,
  43580. msg: msg
  43581. };
  43582. } else {
  43583. return {
  43584. error: false
  43585. };
  43586. }
  43587. }
  43588. allKnownElementNames() {
  43589. return Array.from(this._schema.keys());
  43590. }
  43591. allKnownAttributesOfElement(tagName) {
  43592. const elementProperties = this._schema.get(tagName.toLowerCase()) || this._schema.get('unknown'); // Convert properties to attributes.
  43593. return Array.from(elementProperties.keys()).map(prop => {
  43594. var _a;
  43595. return (_a = _PROP_TO_ATTR.get(prop)) !== null && _a !== void 0 ? _a : prop;
  43596. });
  43597. }
  43598. allKnownEventsOfElement(tagName) {
  43599. var _a;
  43600. return Array.from((_a = this._eventSchema.get(tagName.toLowerCase())) !== null && _a !== void 0 ? _a : []);
  43601. }
  43602. normalizeAnimationStyleProperty(propName) {
  43603. return dashCaseToCamelCase(propName);
  43604. }
  43605. normalizeAnimationStyleValue(camelCaseProp, userProvidedProp, val) {
  43606. let unit = '';
  43607. const strVal = val.toString().trim();
  43608. let errorMsg = null;
  43609. if (_isPixelDimensionStyle(camelCaseProp) && val !== 0 && val !== '0') {
  43610. if (typeof val === 'number') {
  43611. unit = 'px';
  43612. } else {
  43613. const valAndSuffixMatch = val.match(/^[+-]?[\d\.]+([a-z]*)$/);
  43614. if (valAndSuffixMatch && valAndSuffixMatch[1].length == 0) {
  43615. errorMsg = `Please provide a CSS unit value for ${userProvidedProp}:${val}`;
  43616. }
  43617. }
  43618. }
  43619. return {
  43620. error: errorMsg,
  43621. value: strVal + unit
  43622. };
  43623. }
  43624. }
  43625. function _isPixelDimensionStyle(prop) {
  43626. switch (prop) {
  43627. case 'width':
  43628. case 'height':
  43629. case 'minWidth':
  43630. case 'minHeight':
  43631. case 'maxWidth':
  43632. case 'maxHeight':
  43633. case 'left':
  43634. case 'top':
  43635. case 'bottom':
  43636. case 'right':
  43637. case 'fontSize':
  43638. case 'outlineWidth':
  43639. case 'outlineOffset':
  43640. case 'paddingTop':
  43641. case 'paddingLeft':
  43642. case 'paddingBottom':
  43643. case 'paddingRight':
  43644. case 'marginTop':
  43645. case 'marginLeft':
  43646. case 'marginBottom':
  43647. case 'marginRight':
  43648. case 'borderRadius':
  43649. case 'borderWidth':
  43650. case 'borderTopWidth':
  43651. case 'borderLeftWidth':
  43652. case 'borderRightWidth':
  43653. case 'borderBottomWidth':
  43654. case 'textIndent':
  43655. return true;
  43656. default:
  43657. return false;
  43658. }
  43659. }
  43660. /**
  43661. * @license
  43662. * Copyright Google LLC All Rights Reserved.
  43663. *
  43664. * Use of this source code is governed by an MIT-style license that can be
  43665. * found in the LICENSE file at https://angular.io/license
  43666. */
  43667. /**
  43668. * Set of tagName|propertyName corresponding to Trusted Types sinks. Properties applying to all
  43669. * tags use '*'.
  43670. *
  43671. * Extracted from, and should be kept in sync with
  43672. * https://w3c.github.io/webappsec-trusted-types/dist/spec/#integrations
  43673. */
  43674. const TRUSTED_TYPES_SINKS = new Set([// NOTE: All strings in this set *must* be lowercase!
  43675. // TrustedHTML
  43676. 'iframe|srcdoc', '*|innerhtml', '*|outerhtml', // NB: no TrustedScript here, as the corresponding tags are stripped by the compiler.
  43677. // TrustedScriptURL
  43678. 'embed|src', 'object|codebase', 'object|data']);
  43679. /**
  43680. * isTrustedTypesSink returns true if the given property on the given DOM tag is a Trusted Types
  43681. * sink. In that case, use `ElementSchemaRegistry.securityContext` to determine which particular
  43682. * Trusted Type is required for values passed to the sink:
  43683. * - SecurityContext.HTML corresponds to TrustedHTML
  43684. * - SecurityContext.RESOURCE_URL corresponds to TrustedScriptURL
  43685. */
  43686. function isTrustedTypesSink(tagName, propName) {
  43687. // Make sure comparisons are case insensitive, so that case differences between attribute and
  43688. // property names do not have a security impact.
  43689. tagName = tagName.toLowerCase();
  43690. propName = propName.toLowerCase();
  43691. return TRUSTED_TYPES_SINKS.has(tagName + '|' + propName) || TRUSTED_TYPES_SINKS.has('*|' + propName);
  43692. }
  43693. /**
  43694. * @license
  43695. * Copyright Google LLC All Rights Reserved.
  43696. *
  43697. * Use of this source code is governed by an MIT-style license that can be
  43698. * found in the LICENSE file at https://angular.io/license
  43699. */
  43700. const PROPERTY_PARTS_SEPARATOR = '.';
  43701. const ATTRIBUTE_PREFIX = 'attr';
  43702. const CLASS_PREFIX = 'class';
  43703. const STYLE_PREFIX = 'style';
  43704. const TEMPLATE_ATTR_PREFIX$1 = '*';
  43705. const ANIMATE_PROP_PREFIX = 'animate-';
  43706. /**
  43707. * Parses bindings in templates and in the directive host area.
  43708. */
  43709. class BindingParser {
  43710. constructor(_exprParser, _interpolationConfig, _schemaRegistry, errors) {
  43711. this._exprParser = _exprParser;
  43712. this._interpolationConfig = _interpolationConfig;
  43713. this._schemaRegistry = _schemaRegistry;
  43714. this.errors = errors;
  43715. }
  43716. get interpolationConfig() {
  43717. return this._interpolationConfig;
  43718. }
  43719. createBoundHostProperties(properties, sourceSpan) {
  43720. const boundProps = [];
  43721. for (const propName of Object.keys(properties)) {
  43722. const expression = properties[propName];
  43723. if (typeof expression === 'string') {
  43724. this.parsePropertyBinding(propName, expression, true, sourceSpan, sourceSpan.start.offset, undefined, [], // Use the `sourceSpan` for `keySpan`. This isn't really accurate, but neither is the
  43725. // sourceSpan, as it represents the sourceSpan of the host itself rather than the
  43726. // source of the host binding (which doesn't exist in the template). Regardless,
  43727. // neither of these values are used in Ivy but are only here to satisfy the function
  43728. // signature. This should likely be refactored in the future so that `sourceSpan`
  43729. // isn't being used inaccurately.
  43730. boundProps, sourceSpan);
  43731. } else {
  43732. this._reportError(`Value of the host property binding "${propName}" needs to be a string representing an expression but got "${expression}" (${typeof expression})`, sourceSpan);
  43733. }
  43734. }
  43735. return boundProps;
  43736. }
  43737. createDirectiveHostEventAsts(hostListeners, sourceSpan) {
  43738. const targetEvents = [];
  43739. for (const propName of Object.keys(hostListeners)) {
  43740. const expression = hostListeners[propName];
  43741. if (typeof expression === 'string') {
  43742. // Use the `sourceSpan` for `keySpan` and `handlerSpan`. This isn't really accurate, but
  43743. // neither is the `sourceSpan`, as it represents the `sourceSpan` of the host itself
  43744. // rather than the source of the host binding (which doesn't exist in the template).
  43745. // Regardless, neither of these values are used in Ivy but are only here to satisfy the
  43746. // function signature. This should likely be refactored in the future so that `sourceSpan`
  43747. // isn't being used inaccurately.
  43748. this.parseEvent(propName, expression,
  43749. /* isAssignmentEvent */
  43750. false, sourceSpan, sourceSpan, [], targetEvents, sourceSpan);
  43751. } else {
  43752. this._reportError(`Value of the host listener "${propName}" needs to be a string representing an expression but got "${expression}" (${typeof expression})`, sourceSpan);
  43753. }
  43754. }
  43755. return targetEvents;
  43756. }
  43757. parseInterpolation(value, sourceSpan, interpolatedTokens) {
  43758. const sourceInfo = sourceSpan.start.toString();
  43759. const absoluteOffset = sourceSpan.fullStart.offset;
  43760. try {
  43761. const ast = this._exprParser.parseInterpolation(value, sourceInfo, absoluteOffset, interpolatedTokens, this._interpolationConfig);
  43762. if (ast) this._reportExpressionParserErrors(ast.errors, sourceSpan);
  43763. return ast;
  43764. } catch (e) {
  43765. this._reportError(`${e}`, sourceSpan);
  43766. return this._exprParser.wrapLiteralPrimitive('ERROR', sourceInfo, absoluteOffset);
  43767. }
  43768. }
  43769. /**
  43770. * Similar to `parseInterpolation`, but treats the provided string as a single expression
  43771. * element that would normally appear within the interpolation prefix and suffix (`{{` and `}}`).
  43772. * This is used for parsing the switch expression in ICUs.
  43773. */
  43774. parseInterpolationExpression(expression, sourceSpan) {
  43775. const sourceInfo = sourceSpan.start.toString();
  43776. const absoluteOffset = sourceSpan.start.offset;
  43777. try {
  43778. const ast = this._exprParser.parseInterpolationExpression(expression, sourceInfo, absoluteOffset);
  43779. if (ast) this._reportExpressionParserErrors(ast.errors, sourceSpan);
  43780. return ast;
  43781. } catch (e) {
  43782. this._reportError(`${e}`, sourceSpan);
  43783. return this._exprParser.wrapLiteralPrimitive('ERROR', sourceInfo, absoluteOffset);
  43784. }
  43785. }
  43786. /**
  43787. * Parses the bindings in a microsyntax expression, and converts them to
  43788. * `ParsedProperty` or `ParsedVariable`.
  43789. *
  43790. * @param tplKey template binding name
  43791. * @param tplValue template binding value
  43792. * @param sourceSpan span of template binding relative to entire the template
  43793. * @param absoluteValueOffset start of the tplValue relative to the entire template
  43794. * @param targetMatchableAttrs potential attributes to match in the template
  43795. * @param targetProps target property bindings in the template
  43796. * @param targetVars target variables in the template
  43797. */
  43798. parseInlineTemplateBinding(tplKey, tplValue, sourceSpan, absoluteValueOffset, targetMatchableAttrs, targetProps, targetVars, isIvyAst) {
  43799. const absoluteKeyOffset = sourceSpan.start.offset + TEMPLATE_ATTR_PREFIX$1.length;
  43800. const bindings = this._parseTemplateBindings(tplKey, tplValue, sourceSpan, absoluteKeyOffset, absoluteValueOffset);
  43801. for (const binding of bindings) {
  43802. // sourceSpan is for the entire HTML attribute. bindingSpan is for a particular
  43803. // binding within the microsyntax expression so it's more narrow than sourceSpan.
  43804. const bindingSpan = moveParseSourceSpan(sourceSpan, binding.sourceSpan);
  43805. const key = binding.key.source;
  43806. const keySpan = moveParseSourceSpan(sourceSpan, binding.key.span);
  43807. if (binding instanceof VariableBinding) {
  43808. const value = binding.value ? binding.value.source : '$implicit';
  43809. const valueSpan = binding.value ? moveParseSourceSpan(sourceSpan, binding.value.span) : undefined;
  43810. targetVars.push(new ParsedVariable(key, value, bindingSpan, keySpan, valueSpan));
  43811. } else if (binding.value) {
  43812. const srcSpan = isIvyAst ? bindingSpan : sourceSpan;
  43813. const valueSpan = moveParseSourceSpan(sourceSpan, binding.value.ast.sourceSpan);
  43814. this._parsePropertyAst(key, binding.value, srcSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps);
  43815. } else {
  43816. targetMatchableAttrs.push([key, ''
  43817. /* value */
  43818. ]); // Since this is a literal attribute with no RHS, source span should be
  43819. // just the key span.
  43820. this.parseLiteralAttr(key, null
  43821. /* value */
  43822. , keySpan, absoluteValueOffset, undefined
  43823. /* valueSpan */
  43824. , targetMatchableAttrs, targetProps, keySpan);
  43825. }
  43826. }
  43827. }
  43828. /**
  43829. * Parses the bindings in a microsyntax expression, e.g.
  43830. * ```
  43831. * <tag *tplKey="let value1 = prop; let value2 = localVar">
  43832. * ```
  43833. *
  43834. * @param tplKey template binding name
  43835. * @param tplValue template binding value
  43836. * @param sourceSpan span of template binding relative to entire the template
  43837. * @param absoluteKeyOffset start of the `tplKey`
  43838. * @param absoluteValueOffset start of the `tplValue`
  43839. */
  43840. _parseTemplateBindings(tplKey, tplValue, sourceSpan, absoluteKeyOffset, absoluteValueOffset) {
  43841. const sourceInfo = sourceSpan.start.toString();
  43842. try {
  43843. const bindingsResult = this._exprParser.parseTemplateBindings(tplKey, tplValue, sourceInfo, absoluteKeyOffset, absoluteValueOffset);
  43844. this._reportExpressionParserErrors(bindingsResult.errors, sourceSpan);
  43845. bindingsResult.warnings.forEach(warning => {
  43846. this._reportError(warning, sourceSpan, ParseErrorLevel.WARNING);
  43847. });
  43848. return bindingsResult.templateBindings;
  43849. } catch (e) {
  43850. this._reportError(`${e}`, sourceSpan);
  43851. return [];
  43852. }
  43853. }
  43854. parseLiteralAttr(name, value, sourceSpan, absoluteOffset, valueSpan, targetMatchableAttrs, targetProps, keySpan) {
  43855. if (isAnimationLabel(name)) {
  43856. name = name.substring(1);
  43857. if (keySpan !== undefined) {
  43858. keySpan = moveParseSourceSpan(keySpan, new AbsoluteSourceSpan(keySpan.start.offset + 1, keySpan.end.offset));
  43859. }
  43860. if (value) {
  43861. this._reportError(`Assigning animation triggers via @prop="exp" attributes with an expression is invalid.` + ` Use property bindings (e.g. [@prop]="exp") or use an attribute without a value (e.g. @prop) instead.`, sourceSpan, ParseErrorLevel.ERROR);
  43862. }
  43863. this._parseAnimation(name, value, sourceSpan, absoluteOffset, keySpan, valueSpan, targetMatchableAttrs, targetProps);
  43864. } else {
  43865. targetProps.push(new ParsedProperty(name, this._exprParser.wrapLiteralPrimitive(value, '', absoluteOffset), ParsedPropertyType.LITERAL_ATTR, sourceSpan, keySpan, valueSpan));
  43866. }
  43867. }
  43868. parsePropertyBinding(name, expression, isHost, sourceSpan, absoluteOffset, valueSpan, targetMatchableAttrs, targetProps, keySpan) {
  43869. if (name.length === 0) {
  43870. this._reportError(`Property name is missing in binding`, sourceSpan);
  43871. }
  43872. let isAnimationProp = false;
  43873. if (name.startsWith(ANIMATE_PROP_PREFIX)) {
  43874. isAnimationProp = true;
  43875. name = name.substring(ANIMATE_PROP_PREFIX.length);
  43876. if (keySpan !== undefined) {
  43877. keySpan = moveParseSourceSpan(keySpan, new AbsoluteSourceSpan(keySpan.start.offset + ANIMATE_PROP_PREFIX.length, keySpan.end.offset));
  43878. }
  43879. } else if (isAnimationLabel(name)) {
  43880. isAnimationProp = true;
  43881. name = name.substring(1);
  43882. if (keySpan !== undefined) {
  43883. keySpan = moveParseSourceSpan(keySpan, new AbsoluteSourceSpan(keySpan.start.offset + 1, keySpan.end.offset));
  43884. }
  43885. }
  43886. if (isAnimationProp) {
  43887. this._parseAnimation(name, expression, sourceSpan, absoluteOffset, keySpan, valueSpan, targetMatchableAttrs, targetProps);
  43888. } else {
  43889. this._parsePropertyAst(name, this._parseBinding(expression, isHost, valueSpan || sourceSpan, absoluteOffset), sourceSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps);
  43890. }
  43891. }
  43892. parsePropertyInterpolation(name, value, sourceSpan, valueSpan, targetMatchableAttrs, targetProps, keySpan, interpolatedTokens) {
  43893. const expr = this.parseInterpolation(value, valueSpan || sourceSpan, interpolatedTokens);
  43894. if (expr) {
  43895. this._parsePropertyAst(name, expr, sourceSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps);
  43896. return true;
  43897. }
  43898. return false;
  43899. }
  43900. _parsePropertyAst(name, ast, sourceSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps) {
  43901. targetMatchableAttrs.push([name, ast.source]);
  43902. targetProps.push(new ParsedProperty(name, ast, ParsedPropertyType.DEFAULT, sourceSpan, keySpan, valueSpan));
  43903. }
  43904. _parseAnimation(name, expression, sourceSpan, absoluteOffset, keySpan, valueSpan, targetMatchableAttrs, targetProps) {
  43905. if (name.length === 0) {
  43906. this._reportError('Animation trigger is missing', sourceSpan);
  43907. } // This will occur when a @trigger is not paired with an expression.
  43908. // For animations it is valid to not have an expression since */void
  43909. // states will be applied by angular when the element is attached/detached
  43910. const ast = this._parseBinding(expression || 'undefined', false, valueSpan || sourceSpan, absoluteOffset);
  43911. targetMatchableAttrs.push([name, ast.source]);
  43912. targetProps.push(new ParsedProperty(name, ast, ParsedPropertyType.ANIMATION, sourceSpan, keySpan, valueSpan));
  43913. }
  43914. _parseBinding(value, isHostBinding, sourceSpan, absoluteOffset) {
  43915. const sourceInfo = (sourceSpan && sourceSpan.start || '(unknown)').toString();
  43916. try {
  43917. const ast = isHostBinding ? this._exprParser.parseSimpleBinding(value, sourceInfo, absoluteOffset, this._interpolationConfig) : this._exprParser.parseBinding(value, sourceInfo, absoluteOffset, this._interpolationConfig);
  43918. if (ast) this._reportExpressionParserErrors(ast.errors, sourceSpan);
  43919. return ast;
  43920. } catch (e) {
  43921. this._reportError(`${e}`, sourceSpan);
  43922. return this._exprParser.wrapLiteralPrimitive('ERROR', sourceInfo, absoluteOffset);
  43923. }
  43924. }
  43925. createBoundElementProperty(elementSelector, boundProp, skipValidation = false, mapPropertyName = true) {
  43926. if (boundProp.isAnimation) {
  43927. return new BoundElementProperty(boundProp.name, 4
  43928. /* BindingType.Animation */
  43929. , SecurityContext.NONE, boundProp.expression, null, boundProp.sourceSpan, boundProp.keySpan, boundProp.valueSpan);
  43930. }
  43931. let unit = null;
  43932. let bindingType = undefined;
  43933. let boundPropertyName = null;
  43934. const parts = boundProp.name.split(PROPERTY_PARTS_SEPARATOR);
  43935. let securityContexts = undefined; // Check for special cases (prefix style, attr, class)
  43936. if (parts.length > 1) {
  43937. if (parts[0] == ATTRIBUTE_PREFIX) {
  43938. boundPropertyName = parts.slice(1).join(PROPERTY_PARTS_SEPARATOR);
  43939. if (!skipValidation) {
  43940. this._validatePropertyOrAttributeName(boundPropertyName, boundProp.sourceSpan, true);
  43941. }
  43942. securityContexts = calcPossibleSecurityContexts(this._schemaRegistry, elementSelector, boundPropertyName, true);
  43943. const nsSeparatorIdx = boundPropertyName.indexOf(':');
  43944. if (nsSeparatorIdx > -1) {
  43945. const ns = boundPropertyName.substring(0, nsSeparatorIdx);
  43946. const name = boundPropertyName.substring(nsSeparatorIdx + 1);
  43947. boundPropertyName = mergeNsAndName(ns, name);
  43948. }
  43949. bindingType = 1
  43950. /* BindingType.Attribute */
  43951. ;
  43952. } else if (parts[0] == CLASS_PREFIX) {
  43953. boundPropertyName = parts[1];
  43954. bindingType = 2
  43955. /* BindingType.Class */
  43956. ;
  43957. securityContexts = [SecurityContext.NONE];
  43958. } else if (parts[0] == STYLE_PREFIX) {
  43959. unit = parts.length > 2 ? parts[2] : null;
  43960. boundPropertyName = parts[1];
  43961. bindingType = 3
  43962. /* BindingType.Style */
  43963. ;
  43964. securityContexts = [SecurityContext.STYLE];
  43965. }
  43966. } // If not a special case, use the full property name
  43967. if (boundPropertyName === null) {
  43968. const mappedPropName = this._schemaRegistry.getMappedPropName(boundProp.name);
  43969. boundPropertyName = mapPropertyName ? mappedPropName : boundProp.name;
  43970. securityContexts = calcPossibleSecurityContexts(this._schemaRegistry, elementSelector, mappedPropName, false);
  43971. bindingType = 0
  43972. /* BindingType.Property */
  43973. ;
  43974. if (!skipValidation) {
  43975. this._validatePropertyOrAttributeName(mappedPropName, boundProp.sourceSpan, false);
  43976. }
  43977. }
  43978. return new BoundElementProperty(boundPropertyName, bindingType, securityContexts[0], boundProp.expression, unit, boundProp.sourceSpan, boundProp.keySpan, boundProp.valueSpan);
  43979. } // TODO: keySpan should be required but was made optional to avoid changing VE parser.
  43980. parseEvent(name, expression, isAssignmentEvent, sourceSpan, handlerSpan, targetMatchableAttrs, targetEvents, keySpan) {
  43981. if (name.length === 0) {
  43982. this._reportError(`Event name is missing in binding`, sourceSpan);
  43983. }
  43984. if (isAnimationLabel(name)) {
  43985. name = name.slice(1);
  43986. if (keySpan !== undefined) {
  43987. keySpan = moveParseSourceSpan(keySpan, new AbsoluteSourceSpan(keySpan.start.offset + 1, keySpan.end.offset));
  43988. }
  43989. this._parseAnimationEvent(name, expression, isAssignmentEvent, sourceSpan, handlerSpan, targetEvents, keySpan);
  43990. } else {
  43991. this._parseRegularEvent(name, expression, isAssignmentEvent, sourceSpan, handlerSpan, targetMatchableAttrs, targetEvents, keySpan);
  43992. }
  43993. }
  43994. calcPossibleSecurityContexts(selector, propName, isAttribute) {
  43995. const prop = this._schemaRegistry.getMappedPropName(propName);
  43996. return calcPossibleSecurityContexts(this._schemaRegistry, selector, prop, isAttribute);
  43997. }
  43998. _parseAnimationEvent(name, expression, isAssignmentEvent, sourceSpan, handlerSpan, targetEvents, keySpan) {
  43999. const matches = splitAtPeriod(name, [name, '']);
  44000. const eventName = matches[0];
  44001. const phase = matches[1].toLowerCase();
  44002. const ast = this._parseAction(expression, isAssignmentEvent, handlerSpan);
  44003. targetEvents.push(new ParsedEvent(eventName, phase, 1
  44004. /* ParsedEventType.Animation */
  44005. , ast, sourceSpan, handlerSpan, keySpan));
  44006. if (eventName.length === 0) {
  44007. this._reportError(`Animation event name is missing in binding`, sourceSpan);
  44008. }
  44009. if (phase) {
  44010. if (phase !== 'start' && phase !== 'done') {
  44011. this._reportError(`The provided animation output phase value "${phase}" for "@${eventName}" is not supported (use start or done)`, sourceSpan);
  44012. }
  44013. } else {
  44014. this._reportError(`The animation trigger output event (@${eventName}) is missing its phase value name (start or done are currently supported)`, sourceSpan);
  44015. }
  44016. }
  44017. _parseRegularEvent(name, expression, isAssignmentEvent, sourceSpan, handlerSpan, targetMatchableAttrs, targetEvents, keySpan) {
  44018. // long format: 'target: eventName'
  44019. const [target, eventName] = splitAtColon(name, [null, name]);
  44020. const ast = this._parseAction(expression, isAssignmentEvent, handlerSpan);
  44021. targetMatchableAttrs.push([name, ast.source]);
  44022. targetEvents.push(new ParsedEvent(eventName, target, 0
  44023. /* ParsedEventType.Regular */
  44024. , ast, sourceSpan, handlerSpan, keySpan)); // Don't detect directives for event names for now,
  44025. // so don't add the event name to the matchableAttrs
  44026. }
  44027. _parseAction(value, isAssignmentEvent, sourceSpan) {
  44028. const sourceInfo = (sourceSpan && sourceSpan.start || '(unknown').toString();
  44029. const absoluteOffset = sourceSpan && sourceSpan.start ? sourceSpan.start.offset : 0;
  44030. try {
  44031. const ast = this._exprParser.parseAction(value, isAssignmentEvent, sourceInfo, absoluteOffset, this._interpolationConfig);
  44032. if (ast) {
  44033. this._reportExpressionParserErrors(ast.errors, sourceSpan);
  44034. }
  44035. if (!ast || ast.ast instanceof EmptyExpr) {
  44036. this._reportError(`Empty expressions are not allowed`, sourceSpan);
  44037. return this._exprParser.wrapLiteralPrimitive('ERROR', sourceInfo, absoluteOffset);
  44038. }
  44039. return ast;
  44040. } catch (e) {
  44041. this._reportError(`${e}`, sourceSpan);
  44042. return this._exprParser.wrapLiteralPrimitive('ERROR', sourceInfo, absoluteOffset);
  44043. }
  44044. }
  44045. _reportError(message, sourceSpan, level = ParseErrorLevel.ERROR) {
  44046. this.errors.push(new ParseError(sourceSpan, message, level));
  44047. }
  44048. _reportExpressionParserErrors(errors, sourceSpan) {
  44049. for (const error of errors) {
  44050. this._reportError(error.message, sourceSpan);
  44051. }
  44052. }
  44053. /**
  44054. * @param propName the name of the property / attribute
  44055. * @param sourceSpan
  44056. * @param isAttr true when binding to an attribute
  44057. */
  44058. _validatePropertyOrAttributeName(propName, sourceSpan, isAttr) {
  44059. const report = isAttr ? this._schemaRegistry.validateAttribute(propName) : this._schemaRegistry.validateProperty(propName);
  44060. if (report.error) {
  44061. this._reportError(report.msg, sourceSpan, ParseErrorLevel.ERROR);
  44062. }
  44063. }
  44064. }
  44065. class PipeCollector extends RecursiveAstVisitor {
  44066. constructor() {
  44067. super(...arguments);
  44068. this.pipes = new Map();
  44069. }
  44070. visitPipe(ast, context) {
  44071. this.pipes.set(ast.name, ast);
  44072. ast.exp.visit(this);
  44073. this.visitAll(ast.args, context);
  44074. return null;
  44075. }
  44076. }
  44077. function isAnimationLabel(name) {
  44078. return name[0] == '@';
  44079. }
  44080. function calcPossibleSecurityContexts(registry, selector, propName, isAttribute) {
  44081. const ctxs = [];
  44082. CssSelector.parse(selector).forEach(selector => {
  44083. const elementNames = selector.element ? [selector.element] : registry.allKnownElementNames();
  44084. const notElementNames = new Set(selector.notSelectors.filter(selector => selector.isElementSelector()).map(selector => selector.element));
  44085. const possibleElementNames = elementNames.filter(elementName => !notElementNames.has(elementName));
  44086. ctxs.push(...possibleElementNames.map(elementName => registry.securityContext(elementName, propName, isAttribute)));
  44087. });
  44088. return ctxs.length === 0 ? [SecurityContext.NONE] : Array.from(new Set(ctxs)).sort();
  44089. }
  44090. /**
  44091. * Compute a new ParseSourceSpan based off an original `sourceSpan` by using
  44092. * absolute offsets from the specified `absoluteSpan`.
  44093. *
  44094. * @param sourceSpan original source span
  44095. * @param absoluteSpan absolute source span to move to
  44096. */
  44097. function moveParseSourceSpan(sourceSpan, absoluteSpan) {
  44098. // The difference of two absolute offsets provide the relative offset
  44099. const startDiff = absoluteSpan.start - sourceSpan.start.offset;
  44100. const endDiff = absoluteSpan.end - sourceSpan.end.offset;
  44101. return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
  44102. }
  44103. /**
  44104. * @license
  44105. * Copyright Google LLC All Rights Reserved.
  44106. *
  44107. * Use of this source code is governed by an MIT-style license that can be
  44108. * found in the LICENSE file at https://angular.io/license
  44109. */
  44110. // Some of the code comes from WebComponents.JS
  44111. // https://github.com/webcomponents/webcomponentsjs/blob/master/src/HTMLImports/path.js
  44112. function isStyleUrlResolvable(url) {
  44113. if (url == null || url.length === 0 || url[0] == '/') return false;
  44114. const schemeMatch = url.match(URL_WITH_SCHEMA_REGEXP);
  44115. return schemeMatch === null || schemeMatch[1] == 'package' || schemeMatch[1] == 'asset';
  44116. }
  44117. const URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
  44118. /**
  44119. * @license
  44120. * Copyright Google LLC All Rights Reserved.
  44121. *
  44122. * Use of this source code is governed by an MIT-style license that can be
  44123. * found in the LICENSE file at https://angular.io/license
  44124. */
  44125. const NG_CONTENT_SELECT_ATTR$1 = 'select';
  44126. const LINK_ELEMENT = 'link';
  44127. const LINK_STYLE_REL_ATTR = 'rel';
  44128. const LINK_STYLE_HREF_ATTR = 'href';
  44129. const LINK_STYLE_REL_VALUE = 'stylesheet';
  44130. const STYLE_ELEMENT = 'style';
  44131. const SCRIPT_ELEMENT = 'script';
  44132. const NG_NON_BINDABLE_ATTR = 'ngNonBindable';
  44133. const NG_PROJECT_AS = 'ngProjectAs';
  44134. function preparseElement(ast) {
  44135. let selectAttr = null;
  44136. let hrefAttr = null;
  44137. let relAttr = null;
  44138. let nonBindable = false;
  44139. let projectAs = '';
  44140. ast.attrs.forEach(attr => {
  44141. const lcAttrName = attr.name.toLowerCase();
  44142. if (lcAttrName == NG_CONTENT_SELECT_ATTR$1) {
  44143. selectAttr = attr.value;
  44144. } else if (lcAttrName == LINK_STYLE_HREF_ATTR) {
  44145. hrefAttr = attr.value;
  44146. } else if (lcAttrName == LINK_STYLE_REL_ATTR) {
  44147. relAttr = attr.value;
  44148. } else if (attr.name == NG_NON_BINDABLE_ATTR) {
  44149. nonBindable = true;
  44150. } else if (attr.name == NG_PROJECT_AS) {
  44151. if (attr.value.length > 0) {
  44152. projectAs = attr.value;
  44153. }
  44154. }
  44155. });
  44156. selectAttr = normalizeNgContentSelect(selectAttr);
  44157. const nodeName = ast.name.toLowerCase();
  44158. let type = PreparsedElementType.OTHER;
  44159. if (isNgContent(nodeName)) {
  44160. type = PreparsedElementType.NG_CONTENT;
  44161. } else if (nodeName == STYLE_ELEMENT) {
  44162. type = PreparsedElementType.STYLE;
  44163. } else if (nodeName == SCRIPT_ELEMENT) {
  44164. type = PreparsedElementType.SCRIPT;
  44165. } else if (nodeName == LINK_ELEMENT && relAttr == LINK_STYLE_REL_VALUE) {
  44166. type = PreparsedElementType.STYLESHEET;
  44167. }
  44168. return new PreparsedElement(type, selectAttr, hrefAttr, nonBindable, projectAs);
  44169. }
  44170. var PreparsedElementType;
  44171. (function (PreparsedElementType) {
  44172. PreparsedElementType[PreparsedElementType["NG_CONTENT"] = 0] = "NG_CONTENT";
  44173. PreparsedElementType[PreparsedElementType["STYLE"] = 1] = "STYLE";
  44174. PreparsedElementType[PreparsedElementType["STYLESHEET"] = 2] = "STYLESHEET";
  44175. PreparsedElementType[PreparsedElementType["SCRIPT"] = 3] = "SCRIPT";
  44176. PreparsedElementType[PreparsedElementType["OTHER"] = 4] = "OTHER";
  44177. })(PreparsedElementType || (PreparsedElementType = {}));
  44178. class PreparsedElement {
  44179. constructor(type, selectAttr, hrefAttr, nonBindable, projectAs) {
  44180. this.type = type;
  44181. this.selectAttr = selectAttr;
  44182. this.hrefAttr = hrefAttr;
  44183. this.nonBindable = nonBindable;
  44184. this.projectAs = projectAs;
  44185. }
  44186. }
  44187. function normalizeNgContentSelect(selectAttr) {
  44188. if (selectAttr === null || selectAttr.length === 0) {
  44189. return '*';
  44190. }
  44191. return selectAttr;
  44192. }
  44193. /**
  44194. * @license
  44195. * Copyright Google LLC All Rights Reserved.
  44196. *
  44197. * Use of this source code is governed by an MIT-style license that can be
  44198. * found in the LICENSE file at https://angular.io/license
  44199. */
  44200. const BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/; // Group 1 = "bind-"
  44201. const KW_BIND_IDX = 1; // Group 2 = "let-"
  44202. const KW_LET_IDX = 2; // Group 3 = "ref-/#"
  44203. const KW_REF_IDX = 3; // Group 4 = "on-"
  44204. const KW_ON_IDX = 4; // Group 5 = "bindon-"
  44205. const KW_BINDON_IDX = 5; // Group 6 = "@"
  44206. const KW_AT_IDX = 6; // Group 7 = the identifier after "bind-", "let-", "ref-/#", "on-", "bindon-" or "@"
  44207. const IDENT_KW_IDX = 7;
  44208. const BINDING_DELIMS = {
  44209. BANANA_BOX: {
  44210. start: '[(',
  44211. end: ')]'
  44212. },
  44213. PROPERTY: {
  44214. start: '[',
  44215. end: ']'
  44216. },
  44217. EVENT: {
  44218. start: '(',
  44219. end: ')'
  44220. }
  44221. };
  44222. const TEMPLATE_ATTR_PREFIX = '*';
  44223. function htmlAstToRender3Ast(htmlNodes, bindingParser, options) {
  44224. const transformer = new HtmlAstToIvyAst(bindingParser, options);
  44225. const ivyNodes = visitAll(transformer, htmlNodes); // Errors might originate in either the binding parser or the html to ivy transformer
  44226. const allErrors = bindingParser.errors.concat(transformer.errors);
  44227. const result = {
  44228. nodes: ivyNodes,
  44229. errors: allErrors,
  44230. styleUrls: transformer.styleUrls,
  44231. styles: transformer.styles,
  44232. ngContentSelectors: transformer.ngContentSelectors
  44233. };
  44234. if (options.collectCommentNodes) {
  44235. result.commentNodes = transformer.commentNodes;
  44236. }
  44237. return result;
  44238. }
  44239. class HtmlAstToIvyAst {
  44240. constructor(bindingParser, options) {
  44241. this.bindingParser = bindingParser;
  44242. this.options = options;
  44243. this.errors = [];
  44244. this.styles = [];
  44245. this.styleUrls = [];
  44246. this.ngContentSelectors = []; // This array will be populated if `Render3ParseOptions['collectCommentNodes']` is true
  44247. this.commentNodes = [];
  44248. this.inI18nBlock = false;
  44249. } // HTML visitor
  44250. visitElement(element) {
  44251. const isI18nRootElement = isI18nRootNode(element.i18n);
  44252. if (isI18nRootElement) {
  44253. if (this.inI18nBlock) {
  44254. this.reportError('Cannot mark an element as translatable inside of a translatable section. Please remove the nested i18n marker.', element.sourceSpan);
  44255. }
  44256. this.inI18nBlock = true;
  44257. }
  44258. const preparsedElement = preparseElement(element);
  44259. if (preparsedElement.type === PreparsedElementType.SCRIPT) {
  44260. return null;
  44261. } else if (preparsedElement.type === PreparsedElementType.STYLE) {
  44262. const contents = textContents(element);
  44263. if (contents !== null) {
  44264. this.styles.push(contents);
  44265. }
  44266. return null;
  44267. } else if (preparsedElement.type === PreparsedElementType.STYLESHEET && isStyleUrlResolvable(preparsedElement.hrefAttr)) {
  44268. this.styleUrls.push(preparsedElement.hrefAttr);
  44269. return null;
  44270. } // Whether the element is a `<ng-template>`
  44271. const isTemplateElement = isNgTemplate(element.name);
  44272. const parsedProperties = [];
  44273. const boundEvents = [];
  44274. const variables = [];
  44275. const references = [];
  44276. const attributes = [];
  44277. const i18nAttrsMeta = {};
  44278. const templateParsedProperties = [];
  44279. const templateVariables = []; // Whether the element has any *-attribute
  44280. let elementHasInlineTemplate = false;
  44281. for (const attribute of element.attrs) {
  44282. let hasBinding = false;
  44283. const normalizedName = normalizeAttributeName(attribute.name); // `*attr` defines template bindings
  44284. let isTemplateBinding = false;
  44285. if (attribute.i18n) {
  44286. i18nAttrsMeta[attribute.name] = attribute.i18n;
  44287. }
  44288. if (normalizedName.startsWith(TEMPLATE_ATTR_PREFIX)) {
  44289. // *-attributes
  44290. if (elementHasInlineTemplate) {
  44291. this.reportError(`Can't have multiple template bindings on one element. Use only one attribute prefixed with *`, attribute.sourceSpan);
  44292. }
  44293. isTemplateBinding = true;
  44294. elementHasInlineTemplate = true;
  44295. const templateValue = attribute.value;
  44296. const templateKey = normalizedName.substring(TEMPLATE_ATTR_PREFIX.length);
  44297. const parsedVariables = [];
  44298. const absoluteValueOffset = attribute.valueSpan ? attribute.valueSpan.start.offset : // If there is no value span the attribute does not have a value, like `attr` in
  44299. //`<div attr></div>`. In this case, point to one character beyond the last character of
  44300. // the attribute name.
  44301. attribute.sourceSpan.start.offset + attribute.name.length;
  44302. this.bindingParser.parseInlineTemplateBinding(templateKey, templateValue, attribute.sourceSpan, absoluteValueOffset, [], templateParsedProperties, parsedVariables, true
  44303. /* isIvyAst */
  44304. );
  44305. templateVariables.push(...parsedVariables.map(v => new Variable(v.name, v.value, v.sourceSpan, v.keySpan, v.valueSpan)));
  44306. } else {
  44307. // Check for variables, events, property bindings, interpolation
  44308. hasBinding = this.parseAttribute(isTemplateElement, attribute, [], parsedProperties, boundEvents, variables, references);
  44309. }
  44310. if (!hasBinding && !isTemplateBinding) {
  44311. // don't include the bindings as attributes as well in the AST
  44312. attributes.push(this.visitAttribute(attribute));
  44313. }
  44314. }
  44315. const children = visitAll(preparsedElement.nonBindable ? NON_BINDABLE_VISITOR : this, element.children);
  44316. let parsedElement;
  44317. if (preparsedElement.type === PreparsedElementType.NG_CONTENT) {
  44318. // `<ng-content>`
  44319. if (element.children && !element.children.every(node => isEmptyTextNode(node) || isCommentNode(node))) {
  44320. this.reportError(`<ng-content> element cannot have content.`, element.sourceSpan);
  44321. }
  44322. const selector = preparsedElement.selectAttr;
  44323. const attrs = element.attrs.map(attr => this.visitAttribute(attr));
  44324. parsedElement = new Content(selector, attrs, element.sourceSpan, element.i18n);
  44325. this.ngContentSelectors.push(selector);
  44326. } else if (isTemplateElement) {
  44327. // `<ng-template>`
  44328. const attrs = this.extractAttributes(element.name, parsedProperties, i18nAttrsMeta);
  44329. parsedElement = new Template(element.name, attributes, attrs.bound, boundEvents, [
  44330. /* no template attributes */
  44331. ], children, references, variables, element.sourceSpan, element.startSourceSpan, element.endSourceSpan, element.i18n);
  44332. } else {
  44333. const attrs = this.extractAttributes(element.name, parsedProperties, i18nAttrsMeta);
  44334. parsedElement = new Element$1(element.name, attributes, attrs.bound, boundEvents, children, references, element.sourceSpan, element.startSourceSpan, element.endSourceSpan, element.i18n);
  44335. }
  44336. if (elementHasInlineTemplate) {
  44337. // If this node is an inline-template (e.g. has *ngFor) then we need to create a template
  44338. // node that contains this node.
  44339. // Moreover, if the node is an element, then we need to hoist its attributes to the template
  44340. // node for matching against content projection selectors.
  44341. const attrs = this.extractAttributes('ng-template', templateParsedProperties, i18nAttrsMeta);
  44342. const templateAttrs = [];
  44343. attrs.literal.forEach(attr => templateAttrs.push(attr));
  44344. attrs.bound.forEach(attr => templateAttrs.push(attr));
  44345. const hoistedAttrs = parsedElement instanceof Element$1 ? {
  44346. attributes: parsedElement.attributes,
  44347. inputs: parsedElement.inputs,
  44348. outputs: parsedElement.outputs
  44349. } : {
  44350. attributes: [],
  44351. inputs: [],
  44352. outputs: []
  44353. }; // For <ng-template>s with structural directives on them, avoid passing i18n information to
  44354. // the wrapping template to prevent unnecessary i18n instructions from being generated. The
  44355. // necessary i18n meta information will be extracted from child elements.
  44356. const i18n = isTemplateElement && isI18nRootElement ? undefined : element.i18n;
  44357. const name = parsedElement instanceof Template ? null : parsedElement.name;
  44358. parsedElement = new Template(name, hoistedAttrs.attributes, hoistedAttrs.inputs, hoistedAttrs.outputs, templateAttrs, [parsedElement], [
  44359. /* no references */
  44360. ], templateVariables, element.sourceSpan, element.startSourceSpan, element.endSourceSpan, i18n);
  44361. }
  44362. if (isI18nRootElement) {
  44363. this.inI18nBlock = false;
  44364. }
  44365. return parsedElement;
  44366. }
  44367. visitAttribute(attribute) {
  44368. return new TextAttribute(attribute.name, attribute.value, attribute.sourceSpan, attribute.keySpan, attribute.valueSpan, attribute.i18n);
  44369. }
  44370. visitText(text) {
  44371. return this._visitTextWithInterpolation(text.value, text.sourceSpan, text.tokens, text.i18n);
  44372. }
  44373. visitExpansion(expansion) {
  44374. if (!expansion.i18n) {
  44375. // do not generate Icu in case it was created
  44376. // outside of i18n block in a template
  44377. return null;
  44378. }
  44379. if (!isI18nRootNode(expansion.i18n)) {
  44380. throw new Error(`Invalid type "${expansion.i18n.constructor}" for "i18n" property of ${expansion.sourceSpan.toString()}. Expected a "Message"`);
  44381. }
  44382. const message = expansion.i18n;
  44383. const vars = {};
  44384. const placeholders = {}; // extract VARs from ICUs - we process them separately while
  44385. // assembling resulting message via goog.getMsg function, since
  44386. // we need to pass them to top-level goog.getMsg call
  44387. Object.keys(message.placeholders).forEach(key => {
  44388. const value = message.placeholders[key];
  44389. if (key.startsWith(I18N_ICU_VAR_PREFIX)) {
  44390. // Currently when the `plural` or `select` keywords in an ICU contain trailing spaces (e.g.
  44391. // `{count, select , ...}`), these spaces are also included into the key names in ICU vars
  44392. // (e.g. "VAR_SELECT "). These trailing spaces are not desirable, since they will later be
  44393. // converted into `_` symbols while normalizing placeholder names, which might lead to
  44394. // mismatches at runtime (i.e. placeholder will not be replaced with the correct value).
  44395. const formattedKey = key.trim();
  44396. const ast = this.bindingParser.parseInterpolationExpression(value.text, value.sourceSpan);
  44397. vars[formattedKey] = new BoundText(ast, value.sourceSpan);
  44398. } else {
  44399. placeholders[key] = this._visitTextWithInterpolation(value.text, value.sourceSpan, null);
  44400. }
  44401. });
  44402. return new Icu$1(vars, placeholders, expansion.sourceSpan, message);
  44403. }
  44404. visitExpansionCase(expansionCase) {
  44405. return null;
  44406. }
  44407. visitComment(comment) {
  44408. if (this.options.collectCommentNodes) {
  44409. this.commentNodes.push(new Comment$1(comment.value || '', comment.sourceSpan));
  44410. }
  44411. return null;
  44412. } // convert view engine `ParsedProperty` to a format suitable for IVY
  44413. extractAttributes(elementName, properties, i18nPropsMeta) {
  44414. const bound = [];
  44415. const literal = [];
  44416. properties.forEach(prop => {
  44417. const i18n = i18nPropsMeta[prop.name];
  44418. if (prop.isLiteral) {
  44419. literal.push(new TextAttribute(prop.name, prop.expression.source || '', prop.sourceSpan, prop.keySpan, prop.valueSpan, i18n));
  44420. } else {
  44421. // Note that validation is skipped and property mapping is disabled
  44422. // due to the fact that we need to make sure a given prop is not an
  44423. // input of a directive and directive matching happens at runtime.
  44424. const bep = this.bindingParser.createBoundElementProperty(elementName, prop,
  44425. /* skipValidation */
  44426. true,
  44427. /* mapPropertyName */
  44428. false);
  44429. bound.push(BoundAttribute.fromBoundElementProperty(bep, i18n));
  44430. }
  44431. });
  44432. return {
  44433. bound,
  44434. literal
  44435. };
  44436. }
  44437. parseAttribute(isTemplateElement, attribute, matchableAttributes, parsedProperties, boundEvents, variables, references) {
  44438. var _a;
  44439. const name = normalizeAttributeName(attribute.name);
  44440. const value = attribute.value;
  44441. const srcSpan = attribute.sourceSpan;
  44442. const absoluteOffset = attribute.valueSpan ? attribute.valueSpan.start.offset : srcSpan.start.offset;
  44443. function createKeySpan(srcSpan, prefix, identifier) {
  44444. // We need to adjust the start location for the keySpan to account for the removed 'data-'
  44445. // prefix from `normalizeAttributeName`.
  44446. const normalizationAdjustment = attribute.name.length - name.length;
  44447. const keySpanStart = srcSpan.start.moveBy(prefix.length + normalizationAdjustment);
  44448. const keySpanEnd = keySpanStart.moveBy(identifier.length);
  44449. return new ParseSourceSpan(keySpanStart, keySpanEnd, keySpanStart, identifier);
  44450. }
  44451. const bindParts = name.match(BIND_NAME_REGEXP);
  44452. if (bindParts) {
  44453. if (bindParts[KW_BIND_IDX] != null) {
  44454. const identifier = bindParts[IDENT_KW_IDX];
  44455. const keySpan = createKeySpan(srcSpan, bindParts[KW_BIND_IDX], identifier);
  44456. this.bindingParser.parsePropertyBinding(identifier, value, false, srcSpan, absoluteOffset, attribute.valueSpan, matchableAttributes, parsedProperties, keySpan);
  44457. } else if (bindParts[KW_LET_IDX]) {
  44458. if (isTemplateElement) {
  44459. const identifier = bindParts[IDENT_KW_IDX];
  44460. const keySpan = createKeySpan(srcSpan, bindParts[KW_LET_IDX], identifier);
  44461. this.parseVariable(identifier, value, srcSpan, keySpan, attribute.valueSpan, variables);
  44462. } else {
  44463. this.reportError(`"let-" is only supported on ng-template elements.`, srcSpan);
  44464. }
  44465. } else if (bindParts[KW_REF_IDX]) {
  44466. const identifier = bindParts[IDENT_KW_IDX];
  44467. const keySpan = createKeySpan(srcSpan, bindParts[KW_REF_IDX], identifier);
  44468. this.parseReference(identifier, value, srcSpan, keySpan, attribute.valueSpan, references);
  44469. } else if (bindParts[KW_ON_IDX]) {
  44470. const events = [];
  44471. const identifier = bindParts[IDENT_KW_IDX];
  44472. const keySpan = createKeySpan(srcSpan, bindParts[KW_ON_IDX], identifier);
  44473. this.bindingParser.parseEvent(identifier, value,
  44474. /* isAssignmentEvent */
  44475. false, srcSpan, attribute.valueSpan || srcSpan, matchableAttributes, events, keySpan);
  44476. addEvents(events, boundEvents);
  44477. } else if (bindParts[KW_BINDON_IDX]) {
  44478. const identifier = bindParts[IDENT_KW_IDX];
  44479. const keySpan = createKeySpan(srcSpan, bindParts[KW_BINDON_IDX], identifier);
  44480. this.bindingParser.parsePropertyBinding(identifier, value, false, srcSpan, absoluteOffset, attribute.valueSpan, matchableAttributes, parsedProperties, keySpan);
  44481. this.parseAssignmentEvent(identifier, value, srcSpan, attribute.valueSpan, matchableAttributes, boundEvents, keySpan);
  44482. } else if (bindParts[KW_AT_IDX]) {
  44483. const keySpan = createKeySpan(srcSpan, '', name);
  44484. this.bindingParser.parseLiteralAttr(name, value, srcSpan, absoluteOffset, attribute.valueSpan, matchableAttributes, parsedProperties, keySpan);
  44485. }
  44486. return true;
  44487. } // We didn't see a kw-prefixed property binding, but we have not yet checked
  44488. // for the []/()/[()] syntax.
  44489. let delims = null;
  44490. if (name.startsWith(BINDING_DELIMS.BANANA_BOX.start)) {
  44491. delims = BINDING_DELIMS.BANANA_BOX;
  44492. } else if (name.startsWith(BINDING_DELIMS.PROPERTY.start)) {
  44493. delims = BINDING_DELIMS.PROPERTY;
  44494. } else if (name.startsWith(BINDING_DELIMS.EVENT.start)) {
  44495. delims = BINDING_DELIMS.EVENT;
  44496. }
  44497. if (delims !== null && // NOTE: older versions of the parser would match a start/end delimited
  44498. // binding iff the property name was terminated by the ending delimiter
  44499. // and the identifier in the binding was non-empty.
  44500. // TODO(ayazhafiz): update this to handle malformed bindings.
  44501. name.endsWith(delims.end) && name.length > delims.start.length + delims.end.length) {
  44502. const identifier = name.substring(delims.start.length, name.length - delims.end.length);
  44503. const keySpan = createKeySpan(srcSpan, delims.start, identifier);
  44504. if (delims.start === BINDING_DELIMS.BANANA_BOX.start) {
  44505. this.bindingParser.parsePropertyBinding(identifier, value, false, srcSpan, absoluteOffset, attribute.valueSpan, matchableAttributes, parsedProperties, keySpan);
  44506. this.parseAssignmentEvent(identifier, value, srcSpan, attribute.valueSpan, matchableAttributes, boundEvents, keySpan);
  44507. } else if (delims.start === BINDING_DELIMS.PROPERTY.start) {
  44508. this.bindingParser.parsePropertyBinding(identifier, value, false, srcSpan, absoluteOffset, attribute.valueSpan, matchableAttributes, parsedProperties, keySpan);
  44509. } else {
  44510. const events = [];
  44511. this.bindingParser.parseEvent(identifier, value,
  44512. /* isAssignmentEvent */
  44513. false, srcSpan, attribute.valueSpan || srcSpan, matchableAttributes, events, keySpan);
  44514. addEvents(events, boundEvents);
  44515. }
  44516. return true;
  44517. } // No explicit binding found.
  44518. const keySpan = createKeySpan(srcSpan, ''
  44519. /* prefix */
  44520. , name);
  44521. const hasBinding = this.bindingParser.parsePropertyInterpolation(name, value, srcSpan, attribute.valueSpan, matchableAttributes, parsedProperties, keySpan, (_a = attribute.valueTokens) !== null && _a !== void 0 ? _a : null);
  44522. return hasBinding;
  44523. }
  44524. _visitTextWithInterpolation(value, sourceSpan, interpolatedTokens, i18n) {
  44525. const valueNoNgsp = replaceNgsp(value);
  44526. const expr = this.bindingParser.parseInterpolation(valueNoNgsp, sourceSpan, interpolatedTokens);
  44527. return expr ? new BoundText(expr, sourceSpan, i18n) : new Text$3(valueNoNgsp, sourceSpan);
  44528. }
  44529. parseVariable(identifier, value, sourceSpan, keySpan, valueSpan, variables) {
  44530. if (identifier.indexOf('-') > -1) {
  44531. this.reportError(`"-" is not allowed in variable names`, sourceSpan);
  44532. } else if (identifier.length === 0) {
  44533. this.reportError(`Variable does not have a name`, sourceSpan);
  44534. }
  44535. variables.push(new Variable(identifier, value, sourceSpan, keySpan, valueSpan));
  44536. }
  44537. parseReference(identifier, value, sourceSpan, keySpan, valueSpan, references) {
  44538. if (identifier.indexOf('-') > -1) {
  44539. this.reportError(`"-" is not allowed in reference names`, sourceSpan);
  44540. } else if (identifier.length === 0) {
  44541. this.reportError(`Reference does not have a name`, sourceSpan);
  44542. } else if (references.some(reference => reference.name === identifier)) {
  44543. this.reportError(`Reference "#${identifier}" is defined more than once`, sourceSpan);
  44544. }
  44545. references.push(new Reference(identifier, value, sourceSpan, keySpan, valueSpan));
  44546. }
  44547. parseAssignmentEvent(name, expression, sourceSpan, valueSpan, targetMatchableAttrs, boundEvents, keySpan) {
  44548. const events = [];
  44549. this.bindingParser.parseEvent(`${name}Change`, `${expression} =$event`,
  44550. /* isAssignmentEvent */
  44551. true, sourceSpan, valueSpan || sourceSpan, targetMatchableAttrs, events, keySpan);
  44552. addEvents(events, boundEvents);
  44553. }
  44554. reportError(message, sourceSpan, level = ParseErrorLevel.ERROR) {
  44555. this.errors.push(new ParseError(sourceSpan, message, level));
  44556. }
  44557. }
  44558. class NonBindableVisitor {
  44559. visitElement(ast) {
  44560. const preparsedElement = preparseElement(ast);
  44561. if (preparsedElement.type === PreparsedElementType.SCRIPT || preparsedElement.type === PreparsedElementType.STYLE || preparsedElement.type === PreparsedElementType.STYLESHEET) {
  44562. // Skipping <script> for security reasons
  44563. // Skipping <style> and stylesheets as we already processed them
  44564. // in the StyleCompiler
  44565. return null;
  44566. }
  44567. const children = visitAll(this, ast.children, null);
  44568. return new Element$1(ast.name, visitAll(this, ast.attrs),
  44569. /* inputs */
  44570. [],
  44571. /* outputs */
  44572. [], children,
  44573. /* references */
  44574. [], ast.sourceSpan, ast.startSourceSpan, ast.endSourceSpan);
  44575. }
  44576. visitComment(comment) {
  44577. return null;
  44578. }
  44579. visitAttribute(attribute) {
  44580. return new TextAttribute(attribute.name, attribute.value, attribute.sourceSpan, attribute.keySpan, attribute.valueSpan, attribute.i18n);
  44581. }
  44582. visitText(text) {
  44583. return new Text$3(text.value, text.sourceSpan);
  44584. }
  44585. visitExpansion(expansion) {
  44586. return null;
  44587. }
  44588. visitExpansionCase(expansionCase) {
  44589. return null;
  44590. }
  44591. }
  44592. const NON_BINDABLE_VISITOR = new NonBindableVisitor();
  44593. function normalizeAttributeName(attrName) {
  44594. return /^data-/i.test(attrName) ? attrName.substring(5) : attrName;
  44595. }
  44596. function addEvents(events, boundEvents) {
  44597. boundEvents.push(...events.map(e => BoundEvent.fromParsedEvent(e)));
  44598. }
  44599. function isEmptyTextNode(node) {
  44600. return node instanceof Text && node.value.trim().length == 0;
  44601. }
  44602. function isCommentNode(node) {
  44603. return node instanceof Comment;
  44604. }
  44605. function textContents(node) {
  44606. if (node.children.length !== 1 || !(node.children[0] instanceof Text)) {
  44607. return null;
  44608. } else {
  44609. return node.children[0].value;
  44610. }
  44611. }
  44612. /**
  44613. * @license
  44614. * Copyright Google LLC All Rights Reserved.
  44615. *
  44616. * Use of this source code is governed by an MIT-style license that can be
  44617. * found in the LICENSE file at https://angular.io/license
  44618. */
  44619. var TagType;
  44620. (function (TagType) {
  44621. TagType[TagType["ELEMENT"] = 0] = "ELEMENT";
  44622. TagType[TagType["TEMPLATE"] = 1] = "TEMPLATE";
  44623. })(TagType || (TagType = {}));
  44624. /**
  44625. * Generates an object that is used as a shared state between parent and all child contexts.
  44626. */
  44627. function setupRegistry() {
  44628. return {
  44629. getUniqueId: getSeqNumberGenerator(),
  44630. icus: new Map()
  44631. };
  44632. }
  44633. /**
  44634. * I18nContext is a helper class which keeps track of all i18n-related aspects
  44635. * (accumulates placeholders, bindings, etc) between i18nStart and i18nEnd instructions.
  44636. *
  44637. * When we enter a nested template, the top-level context is being passed down
  44638. * to the nested component, which uses this context to generate a child instance
  44639. * of I18nContext class (to handle nested template) and at the end, reconciles it back
  44640. * with the parent context.
  44641. *
  44642. * @param index Instruction index of i18nStart, which initiates this context
  44643. * @param ref Reference to a translation const that represents the content if thus context
  44644. * @param level Nesting level defined for child contexts
  44645. * @param templateIndex Instruction index of a template which this context belongs to
  44646. * @param meta Meta information (id, meaning, description, etc) associated with this context
  44647. */
  44648. class I18nContext {
  44649. constructor(index, ref, level = 0, templateIndex = null, meta, registry) {
  44650. this.index = index;
  44651. this.ref = ref;
  44652. this.level = level;
  44653. this.templateIndex = templateIndex;
  44654. this.meta = meta;
  44655. this.registry = registry;
  44656. this.bindings = new Set();
  44657. this.placeholders = new Map();
  44658. this.isEmitted = false;
  44659. this._unresolvedCtxCount = 0;
  44660. this._registry = registry || setupRegistry();
  44661. this.id = this._registry.getUniqueId();
  44662. }
  44663. appendTag(type, node, index, closed) {
  44664. if (node.isVoid && closed) {
  44665. return; // ignore "close" for void tags
  44666. }
  44667. const ph = node.isVoid || !closed ? node.startName : node.closeName;
  44668. const content = {
  44669. type,
  44670. index,
  44671. ctx: this.id,
  44672. isVoid: node.isVoid,
  44673. closed
  44674. };
  44675. updatePlaceholderMap(this.placeholders, ph, content);
  44676. }
  44677. get icus() {
  44678. return this._registry.icus;
  44679. }
  44680. get isRoot() {
  44681. return this.level === 0;
  44682. }
  44683. get isResolved() {
  44684. return this._unresolvedCtxCount === 0;
  44685. }
  44686. getSerializedPlaceholders() {
  44687. const result = new Map();
  44688. this.placeholders.forEach((values, key) => result.set(key, values.map(serializePlaceholderValue)));
  44689. return result;
  44690. } // public API to accumulate i18n-related content
  44691. appendBinding(binding) {
  44692. this.bindings.add(binding);
  44693. }
  44694. appendIcu(name, ref) {
  44695. updatePlaceholderMap(this._registry.icus, name, ref);
  44696. }
  44697. appendBoundText(node) {
  44698. const phs = assembleBoundTextPlaceholders(node, this.bindings.size, this.id);
  44699. phs.forEach((values, key) => updatePlaceholderMap(this.placeholders, key, ...values));
  44700. }
  44701. appendTemplate(node, index) {
  44702. // add open and close tags at the same time,
  44703. // since we process nested templates separately
  44704. this.appendTag(TagType.TEMPLATE, node, index, false);
  44705. this.appendTag(TagType.TEMPLATE, node, index, true);
  44706. this._unresolvedCtxCount++;
  44707. }
  44708. appendElement(node, index, closed) {
  44709. this.appendTag(TagType.ELEMENT, node, index, closed);
  44710. }
  44711. appendProjection(node, index) {
  44712. // Add open and close tags at the same time, since `<ng-content>` has no content,
  44713. // so when we come across `<ng-content>` we can register both open and close tags.
  44714. // Note: runtime i18n logic doesn't distinguish `<ng-content>` tag placeholders and
  44715. // regular element tag placeholders, so we generate element placeholders for both types.
  44716. this.appendTag(TagType.ELEMENT, node, index, false);
  44717. this.appendTag(TagType.ELEMENT, node, index, true);
  44718. }
  44719. /**
  44720. * Generates an instance of a child context based on the root one,
  44721. * when we enter a nested template within I18n section.
  44722. *
  44723. * @param index Instruction index of corresponding i18nStart, which initiates this context
  44724. * @param templateIndex Instruction index of a template which this context belongs to
  44725. * @param meta Meta information (id, meaning, description, etc) associated with this context
  44726. *
  44727. * @returns I18nContext instance
  44728. */
  44729. forkChildContext(index, templateIndex, meta) {
  44730. return new I18nContext(index, this.ref, this.level + 1, templateIndex, meta, this._registry);
  44731. }
  44732. /**
  44733. * Reconciles child context into parent one once the end of the i18n block is reached (i18nEnd).
  44734. *
  44735. * @param context Child I18nContext instance to be reconciled with parent context.
  44736. */
  44737. reconcileChildContext(context) {
  44738. // set the right context id for open and close
  44739. // template tags, so we can use it as sub-block ids
  44740. ['start', 'close'].forEach(op => {
  44741. const key = context.meta[`${op}Name`];
  44742. const phs = this.placeholders.get(key) || [];
  44743. const tag = phs.find(findTemplateFn(this.id, context.templateIndex));
  44744. if (tag) {
  44745. tag.ctx = context.id;
  44746. }
  44747. }); // reconcile placeholders
  44748. const childPhs = context.placeholders;
  44749. childPhs.forEach((values, key) => {
  44750. const phs = this.placeholders.get(key);
  44751. if (!phs) {
  44752. this.placeholders.set(key, values);
  44753. return;
  44754. } // try to find matching template...
  44755. const tmplIdx = phs.findIndex(findTemplateFn(context.id, context.templateIndex));
  44756. if (tmplIdx >= 0) {
  44757. // ... if found - replace it with nested template content
  44758. const isCloseTag = key.startsWith('CLOSE');
  44759. const isTemplateTag = key.endsWith('NG-TEMPLATE');
  44760. if (isTemplateTag) {
  44761. // current template's content is placed before or after
  44762. // parent template tag, depending on the open/close attribute
  44763. phs.splice(tmplIdx + (isCloseTag ? 0 : 1), 0, ...values);
  44764. } else {
  44765. const idx = isCloseTag ? values.length - 1 : 0;
  44766. values[idx].tmpl = phs[tmplIdx];
  44767. phs.splice(tmplIdx, 1, ...values);
  44768. }
  44769. } else {
  44770. // ... otherwise just append content to placeholder value
  44771. phs.push(...values);
  44772. }
  44773. this.placeholders.set(key, phs);
  44774. });
  44775. this._unresolvedCtxCount--;
  44776. }
  44777. } //
  44778. // Helper methods
  44779. //
  44780. function wrap(symbol, index, contextId, closed) {
  44781. const state = closed ? '/' : '';
  44782. return wrapI18nPlaceholder(`${state}${symbol}${index}`, contextId);
  44783. }
  44784. function wrapTag(symbol, {
  44785. index,
  44786. ctx,
  44787. isVoid
  44788. }, closed) {
  44789. return isVoid ? wrap(symbol, index, ctx) + wrap(symbol, index, ctx, true) : wrap(symbol, index, ctx, closed);
  44790. }
  44791. function findTemplateFn(ctx, templateIndex) {
  44792. return token => typeof token === 'object' && token.type === TagType.TEMPLATE && token.index === templateIndex && token.ctx === ctx;
  44793. }
  44794. function serializePlaceholderValue(value) {
  44795. const element = (data, closed) => wrapTag('#', data, closed);
  44796. const template = (data, closed) => wrapTag('*', data, closed);
  44797. const projection = (data, closed) => wrapTag('!', data, closed);
  44798. switch (value.type) {
  44799. case TagType.ELEMENT:
  44800. // close element tag
  44801. if (value.closed) {
  44802. return element(value, true) + (value.tmpl ? template(value.tmpl, true) : '');
  44803. } // open element tag that also initiates a template
  44804. if (value.tmpl) {
  44805. return template(value.tmpl) + element(value) + (value.isVoid ? template(value.tmpl, true) : '');
  44806. }
  44807. return element(value);
  44808. case TagType.TEMPLATE:
  44809. return template(value, value.closed);
  44810. default:
  44811. return value;
  44812. }
  44813. }
  44814. /**
  44815. * @license
  44816. * Copyright Google LLC All Rights Reserved.
  44817. *
  44818. * Use of this source code is governed by an MIT-style license that can be
  44819. * found in the LICENSE file at https://angular.io/license
  44820. */
  44821. class IcuSerializerVisitor {
  44822. visitText(text) {
  44823. return text.value;
  44824. }
  44825. visitContainer(container) {
  44826. return container.children.map(child => child.visit(this)).join('');
  44827. }
  44828. visitIcu(icu) {
  44829. const strCases = Object.keys(icu.cases).map(k => `${k} {${icu.cases[k].visit(this)}}`);
  44830. const result = `{${icu.expressionPlaceholder}, ${icu.type}, ${strCases.join(' ')}}`;
  44831. return result;
  44832. }
  44833. visitTagPlaceholder(ph) {
  44834. return ph.isVoid ? this.formatPh(ph.startName) : `${this.formatPh(ph.startName)}${ph.children.map(child => child.visit(this)).join('')}${this.formatPh(ph.closeName)}`;
  44835. }
  44836. visitPlaceholder(ph) {
  44837. return this.formatPh(ph.name);
  44838. }
  44839. visitIcuPlaceholder(ph, context) {
  44840. return this.formatPh(ph.name);
  44841. }
  44842. formatPh(value) {
  44843. return `{${formatI18nPlaceholderName(value,
  44844. /* useCamelCase */
  44845. false)}}`;
  44846. }
  44847. }
  44848. const serializer = new IcuSerializerVisitor();
  44849. function serializeIcuNode(icu) {
  44850. return icu.visit(serializer);
  44851. }
  44852. /**
  44853. * @license
  44854. * Copyright Google LLC All Rights Reserved.
  44855. *
  44856. * Use of this source code is governed by an MIT-style license that can be
  44857. * found in the LICENSE file at https://angular.io/license
  44858. */
  44859. const TAG_TO_PLACEHOLDER_NAMES = {
  44860. 'A': 'LINK',
  44861. 'B': 'BOLD_TEXT',
  44862. 'BR': 'LINE_BREAK',
  44863. 'EM': 'EMPHASISED_TEXT',
  44864. 'H1': 'HEADING_LEVEL1',
  44865. 'H2': 'HEADING_LEVEL2',
  44866. 'H3': 'HEADING_LEVEL3',
  44867. 'H4': 'HEADING_LEVEL4',
  44868. 'H5': 'HEADING_LEVEL5',
  44869. 'H6': 'HEADING_LEVEL6',
  44870. 'HR': 'HORIZONTAL_RULE',
  44871. 'I': 'ITALIC_TEXT',
  44872. 'LI': 'LIST_ITEM',
  44873. 'LINK': 'MEDIA_LINK',
  44874. 'OL': 'ORDERED_LIST',
  44875. 'P': 'PARAGRAPH',
  44876. 'Q': 'QUOTATION',
  44877. 'S': 'STRIKETHROUGH_TEXT',
  44878. 'SMALL': 'SMALL_TEXT',
  44879. 'SUB': 'SUBSTRIPT',
  44880. 'SUP': 'SUPERSCRIPT',
  44881. 'TBODY': 'TABLE_BODY',
  44882. 'TD': 'TABLE_CELL',
  44883. 'TFOOT': 'TABLE_FOOTER',
  44884. 'TH': 'TABLE_HEADER_CELL',
  44885. 'THEAD': 'TABLE_HEADER',
  44886. 'TR': 'TABLE_ROW',
  44887. 'TT': 'MONOSPACED_TEXT',
  44888. 'U': 'UNDERLINED_TEXT',
  44889. 'UL': 'UNORDERED_LIST'
  44890. };
  44891. /**
  44892. * Creates unique names for placeholder with different content.
  44893. *
  44894. * Returns the same placeholder name when the content is identical.
  44895. */
  44896. class PlaceholderRegistry {
  44897. constructor() {
  44898. // Count the occurrence of the base name top generate a unique name
  44899. this._placeHolderNameCounts = {}; // Maps signature to placeholder names
  44900. this._signatureToName = {};
  44901. }
  44902. getStartTagPlaceholderName(tag, attrs, isVoid) {
  44903. const signature = this._hashTag(tag, attrs, isVoid);
  44904. if (this._signatureToName[signature]) {
  44905. return this._signatureToName[signature];
  44906. }
  44907. const upperTag = tag.toUpperCase();
  44908. const baseName = TAG_TO_PLACEHOLDER_NAMES[upperTag] || `TAG_${upperTag}`;
  44909. const name = this._generateUniqueName(isVoid ? baseName : `START_${baseName}`);
  44910. this._signatureToName[signature] = name;
  44911. return name;
  44912. }
  44913. getCloseTagPlaceholderName(tag) {
  44914. const signature = this._hashClosingTag(tag);
  44915. if (this._signatureToName[signature]) {
  44916. return this._signatureToName[signature];
  44917. }
  44918. const upperTag = tag.toUpperCase();
  44919. const baseName = TAG_TO_PLACEHOLDER_NAMES[upperTag] || `TAG_${upperTag}`;
  44920. const name = this._generateUniqueName(`CLOSE_${baseName}`);
  44921. this._signatureToName[signature] = name;
  44922. return name;
  44923. }
  44924. getPlaceholderName(name, content) {
  44925. const upperName = name.toUpperCase();
  44926. const signature = `PH: ${upperName}=${content}`;
  44927. if (this._signatureToName[signature]) {
  44928. return this._signatureToName[signature];
  44929. }
  44930. const uniqueName = this._generateUniqueName(upperName);
  44931. this._signatureToName[signature] = uniqueName;
  44932. return uniqueName;
  44933. }
  44934. getUniquePlaceholder(name) {
  44935. return this._generateUniqueName(name.toUpperCase());
  44936. } // Generate a hash for a tag - does not take attribute order into account
  44937. _hashTag(tag, attrs, isVoid) {
  44938. const start = `<${tag}`;
  44939. const strAttrs = Object.keys(attrs).sort().map(name => ` ${name}=${attrs[name]}`).join('');
  44940. const end = isVoid ? '/>' : `></${tag}>`;
  44941. return start + strAttrs + end;
  44942. }
  44943. _hashClosingTag(tag) {
  44944. return this._hashTag(`/${tag}`, {}, false);
  44945. }
  44946. _generateUniqueName(base) {
  44947. const seen = this._placeHolderNameCounts.hasOwnProperty(base);
  44948. if (!seen) {
  44949. this._placeHolderNameCounts[base] = 1;
  44950. return base;
  44951. }
  44952. const id = this._placeHolderNameCounts[base];
  44953. this._placeHolderNameCounts[base] = id + 1;
  44954. return `${base}_${id}`;
  44955. }
  44956. }
  44957. /**
  44958. * @license
  44959. * Copyright Google LLC All Rights Reserved.
  44960. *
  44961. * Use of this source code is governed by an MIT-style license that can be
  44962. * found in the LICENSE file at https://angular.io/license
  44963. */
  44964. const _expParser = new Parser$1(new Lexer());
  44965. /**
  44966. * Returns a function converting html nodes to an i18n Message given an interpolationConfig
  44967. */
  44968. function createI18nMessageFactory(interpolationConfig) {
  44969. const visitor = new _I18nVisitor(_expParser, interpolationConfig);
  44970. return (nodes, meaning, description, customId, visitNodeFn) => visitor.toI18nMessage(nodes, meaning, description, customId, visitNodeFn);
  44971. }
  44972. function noopVisitNodeFn(_html, i18n) {
  44973. return i18n;
  44974. }
  44975. class _I18nVisitor {
  44976. constructor(_expressionParser, _interpolationConfig) {
  44977. this._expressionParser = _expressionParser;
  44978. this._interpolationConfig = _interpolationConfig;
  44979. }
  44980. toI18nMessage(nodes, meaning = '', description = '', customId = '', visitNodeFn) {
  44981. const context = {
  44982. isIcu: nodes.length == 1 && nodes[0] instanceof Expansion,
  44983. icuDepth: 0,
  44984. placeholderRegistry: new PlaceholderRegistry(),
  44985. placeholderToContent: {},
  44986. placeholderToMessage: {},
  44987. visitNodeFn: visitNodeFn || noopVisitNodeFn
  44988. };
  44989. const i18nodes = visitAll(this, nodes, context);
  44990. return new Message(i18nodes, context.placeholderToContent, context.placeholderToMessage, meaning, description, customId);
  44991. }
  44992. visitElement(el, context) {
  44993. var _a;
  44994. const children = visitAll(this, el.children, context);
  44995. const attrs = {};
  44996. el.attrs.forEach(attr => {
  44997. // Do not visit the attributes, translatable ones are top-level ASTs
  44998. attrs[attr.name] = attr.value;
  44999. });
  45000. const isVoid = getHtmlTagDefinition(el.name).isVoid;
  45001. const startPhName = context.placeholderRegistry.getStartTagPlaceholderName(el.name, attrs, isVoid);
  45002. context.placeholderToContent[startPhName] = {
  45003. text: el.startSourceSpan.toString(),
  45004. sourceSpan: el.startSourceSpan
  45005. };
  45006. let closePhName = '';
  45007. if (!isVoid) {
  45008. closePhName = context.placeholderRegistry.getCloseTagPlaceholderName(el.name);
  45009. context.placeholderToContent[closePhName] = {
  45010. text: `</${el.name}>`,
  45011. sourceSpan: (_a = el.endSourceSpan) !== null && _a !== void 0 ? _a : el.sourceSpan
  45012. };
  45013. }
  45014. const node = new TagPlaceholder(el.name, attrs, startPhName, closePhName, children, isVoid, el.sourceSpan, el.startSourceSpan, el.endSourceSpan);
  45015. return context.visitNodeFn(el, node);
  45016. }
  45017. visitAttribute(attribute, context) {
  45018. const node = attribute.valueTokens === undefined || attribute.valueTokens.length === 1 ? new Text$2(attribute.value, attribute.valueSpan || attribute.sourceSpan) : this._visitTextWithInterpolation(attribute.valueTokens, attribute.valueSpan || attribute.sourceSpan, context, attribute.i18n);
  45019. return context.visitNodeFn(attribute, node);
  45020. }
  45021. visitText(text, context) {
  45022. const node = text.tokens.length === 1 ? new Text$2(text.value, text.sourceSpan) : this._visitTextWithInterpolation(text.tokens, text.sourceSpan, context, text.i18n);
  45023. return context.visitNodeFn(text, node);
  45024. }
  45025. visitComment(comment, context) {
  45026. return null;
  45027. }
  45028. visitExpansion(icu, context) {
  45029. context.icuDepth++;
  45030. const i18nIcuCases = {};
  45031. const i18nIcu = new Icu(icu.switchValue, icu.type, i18nIcuCases, icu.sourceSpan);
  45032. icu.cases.forEach(caze => {
  45033. i18nIcuCases[caze.value] = new Container(caze.expression.map(node => node.visit(this, context)), caze.expSourceSpan);
  45034. });
  45035. context.icuDepth--;
  45036. if (context.isIcu || context.icuDepth > 0) {
  45037. // Returns an ICU node when:
  45038. // - the message (vs a part of the message) is an ICU message, or
  45039. // - the ICU message is nested.
  45040. const expPh = context.placeholderRegistry.getUniquePlaceholder(`VAR_${icu.type}`);
  45041. i18nIcu.expressionPlaceholder = expPh;
  45042. context.placeholderToContent[expPh] = {
  45043. text: icu.switchValue,
  45044. sourceSpan: icu.switchValueSourceSpan
  45045. };
  45046. return context.visitNodeFn(icu, i18nIcu);
  45047. } // Else returns a placeholder
  45048. // ICU placeholders should not be replaced with their original content but with the their
  45049. // translations.
  45050. // TODO(vicb): add a html.Node -> i18n.Message cache to avoid having to re-create the msg
  45051. const phName = context.placeholderRegistry.getPlaceholderName('ICU', icu.sourceSpan.toString());
  45052. context.placeholderToMessage[phName] = this.toI18nMessage([icu], '', '', '', undefined);
  45053. const node = new IcuPlaceholder(i18nIcu, phName, icu.sourceSpan);
  45054. return context.visitNodeFn(icu, node);
  45055. }
  45056. visitExpansionCase(_icuCase, _context) {
  45057. throw new Error('Unreachable code');
  45058. }
  45059. /**
  45060. * Convert, text and interpolated tokens up into text and placeholder pieces.
  45061. *
  45062. * @param tokens The text and interpolated tokens.
  45063. * @param sourceSpan The span of the whole of the `text` string.
  45064. * @param context The current context of the visitor, used to compute and store placeholders.
  45065. * @param previousI18n Any i18n metadata associated with this `text` from a previous pass.
  45066. */
  45067. _visitTextWithInterpolation(tokens, sourceSpan, context, previousI18n) {
  45068. // Return a sequence of `Text` and `Placeholder` nodes grouped in a `Container`.
  45069. const nodes = []; // We will only create a container if there are actually interpolations,
  45070. // so this flag tracks that.
  45071. let hasInterpolation = false;
  45072. for (const token of tokens) {
  45073. switch (token.type) {
  45074. case 8
  45075. /* TokenType.INTERPOLATION */
  45076. :
  45077. case 17
  45078. /* TokenType.ATTR_VALUE_INTERPOLATION */
  45079. :
  45080. hasInterpolation = true;
  45081. const expression = token.parts[1];
  45082. const baseName = extractPlaceholderName(expression) || 'INTERPOLATION';
  45083. const phName = context.placeholderRegistry.getPlaceholderName(baseName, expression);
  45084. context.placeholderToContent[phName] = {
  45085. text: token.parts.join(''),
  45086. sourceSpan: token.sourceSpan
  45087. };
  45088. nodes.push(new Placeholder(expression, phName, token.sourceSpan));
  45089. break;
  45090. default:
  45091. if (token.parts[0].length > 0) {
  45092. // This token is text or an encoded entity.
  45093. // If it is following on from a previous text node then merge it into that node
  45094. // Otherwise, if it is following an interpolation, then add a new node.
  45095. const previous = nodes[nodes.length - 1];
  45096. if (previous instanceof Text$2) {
  45097. previous.value += token.parts[0];
  45098. previous.sourceSpan = new ParseSourceSpan(previous.sourceSpan.start, token.sourceSpan.end, previous.sourceSpan.fullStart, previous.sourceSpan.details);
  45099. } else {
  45100. nodes.push(new Text$2(token.parts[0], token.sourceSpan));
  45101. }
  45102. }
  45103. break;
  45104. }
  45105. }
  45106. if (hasInterpolation) {
  45107. // Whitespace removal may have invalidated the interpolation source-spans.
  45108. reusePreviousSourceSpans(nodes, previousI18n);
  45109. return new Container(nodes, sourceSpan);
  45110. } else {
  45111. return nodes[0];
  45112. }
  45113. }
  45114. }
  45115. /**
  45116. * Re-use the source-spans from `previousI18n` metadata for the `nodes`.
  45117. *
  45118. * Whitespace removal can invalidate the source-spans of interpolation nodes, so we
  45119. * reuse the source-span stored from a previous pass before the whitespace was removed.
  45120. *
  45121. * @param nodes The `Text` and `Placeholder` nodes to be processed.
  45122. * @param previousI18n Any i18n metadata for these `nodes` stored from a previous pass.
  45123. */
  45124. function reusePreviousSourceSpans(nodes, previousI18n) {
  45125. if (previousI18n instanceof Message) {
  45126. // The `previousI18n` is an i18n `Message`, so we are processing an `Attribute` with i18n
  45127. // metadata. The `Message` should consist only of a single `Container` that contains the
  45128. // parts (`Text` and `Placeholder`) to process.
  45129. assertSingleContainerMessage(previousI18n);
  45130. previousI18n = previousI18n.nodes[0];
  45131. }
  45132. if (previousI18n instanceof Container) {
  45133. // The `previousI18n` is a `Container`, which means that this is a second i18n extraction pass
  45134. // after whitespace has been removed from the AST nodes.
  45135. assertEquivalentNodes(previousI18n.children, nodes); // Reuse the source-spans from the first pass.
  45136. for (let i = 0; i < nodes.length; i++) {
  45137. nodes[i].sourceSpan = previousI18n.children[i].sourceSpan;
  45138. }
  45139. }
  45140. }
  45141. /**
  45142. * Asserts that the `message` contains exactly one `Container` node.
  45143. */
  45144. function assertSingleContainerMessage(message) {
  45145. const nodes = message.nodes;
  45146. if (nodes.length !== 1 || !(nodes[0] instanceof Container)) {
  45147. throw new Error('Unexpected previous i18n message - expected it to consist of only a single `Container` node.');
  45148. }
  45149. }
  45150. /**
  45151. * Asserts that the `previousNodes` and `node` collections have the same number of elements and
  45152. * corresponding elements have the same node type.
  45153. */
  45154. function assertEquivalentNodes(previousNodes, nodes) {
  45155. if (previousNodes.length !== nodes.length) {
  45156. throw new Error('The number of i18n message children changed between first and second pass.');
  45157. }
  45158. if (previousNodes.some((node, i) => nodes[i].constructor !== node.constructor)) {
  45159. throw new Error('The types of the i18n message children changed between first and second pass.');
  45160. }
  45161. }
  45162. const _CUSTOM_PH_EXP = /\/\/[\s\S]*i18n[\s\S]*\([\s\S]*ph[\s\S]*=[\s\S]*("|')([\s\S]*?)\1[\s\S]*\)/g;
  45163. function extractPlaceholderName(input) {
  45164. return input.split(_CUSTOM_PH_EXP)[2];
  45165. }
  45166. /**
  45167. * @license
  45168. * Copyright Google LLC All Rights Reserved.
  45169. *
  45170. * Use of this source code is governed by an MIT-style license that can be
  45171. * found in the LICENSE file at https://angular.io/license
  45172. */
  45173. /**
  45174. * An i18n error.
  45175. */
  45176. class I18nError extends ParseError {
  45177. constructor(span, msg) {
  45178. super(span, msg);
  45179. }
  45180. }
  45181. /**
  45182. * @license
  45183. * Copyright Google LLC All Rights Reserved.
  45184. *
  45185. * Use of this source code is governed by an MIT-style license that can be
  45186. * found in the LICENSE file at https://angular.io/license
  45187. */
  45188. const setI18nRefs = (htmlNode, i18nNode) => {
  45189. if (htmlNode instanceof NodeWithI18n) {
  45190. if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
  45191. // This html node represents an ICU but this is a second processing pass, and the legacy id
  45192. // was computed in the previous pass and stored in the `i18n` property as a message.
  45193. // We are about to wipe out that property so capture the previous message to be reused when
  45194. // generating the message for this ICU later. See `_generateI18nMessage()`.
  45195. i18nNode.previousMessage = htmlNode.i18n;
  45196. }
  45197. htmlNode.i18n = i18nNode;
  45198. }
  45199. return i18nNode;
  45200. };
  45201. /**
  45202. * This visitor walks over HTML parse tree and converts information stored in
  45203. * i18n-related attributes ("i18n" and "i18n-*") into i18n meta object that is
  45204. * stored with other element's and attribute's information.
  45205. */
  45206. class I18nMetaVisitor {
  45207. constructor(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG, keepI18nAttrs = false, enableI18nLegacyMessageIdFormat = false) {
  45208. this.interpolationConfig = interpolationConfig;
  45209. this.keepI18nAttrs = keepI18nAttrs;
  45210. this.enableI18nLegacyMessageIdFormat = enableI18nLegacyMessageIdFormat; // whether visited nodes contain i18n information
  45211. this.hasI18nMeta = false;
  45212. this._errors = []; // i18n message generation factory
  45213. this._createI18nMessage = createI18nMessageFactory(this.interpolationConfig);
  45214. }
  45215. _generateI18nMessage(nodes, meta = '', visitNodeFn) {
  45216. const {
  45217. meaning,
  45218. description,
  45219. customId
  45220. } = this._parseMetadata(meta);
  45221. const message = this._createI18nMessage(nodes, meaning, description, customId, visitNodeFn);
  45222. this._setMessageId(message, meta);
  45223. this._setLegacyIds(message, meta);
  45224. return message;
  45225. }
  45226. visitAllWithErrors(nodes) {
  45227. const result = nodes.map(node => node.visit(this, null));
  45228. return new ParseTreeResult(result, this._errors);
  45229. }
  45230. visitElement(element) {
  45231. let message = undefined;
  45232. if (hasI18nAttrs(element)) {
  45233. this.hasI18nMeta = true;
  45234. const attrs = [];
  45235. const attrsMeta = {};
  45236. for (const attr of element.attrs) {
  45237. if (attr.name === I18N_ATTR) {
  45238. // root 'i18n' node attribute
  45239. const i18n = element.i18n || attr.value;
  45240. message = this._generateI18nMessage(element.children, i18n, setI18nRefs);
  45241. if (message.nodes.length === 0) {
  45242. // Ignore the message if it is empty.
  45243. message = undefined;
  45244. } // Store the message on the element
  45245. element.i18n = message;
  45246. } else if (attr.name.startsWith(I18N_ATTR_PREFIX)) {
  45247. // 'i18n-*' attributes
  45248. const name = attr.name.slice(I18N_ATTR_PREFIX.length);
  45249. if (isTrustedTypesSink(element.name, name)) {
  45250. this._reportError(attr, `Translating attribute '${name}' is disallowed for security reasons.`);
  45251. } else {
  45252. attrsMeta[name] = attr.value;
  45253. }
  45254. } else {
  45255. // non-i18n attributes
  45256. attrs.push(attr);
  45257. }
  45258. } // set i18n meta for attributes
  45259. if (Object.keys(attrsMeta).length) {
  45260. for (const attr of attrs) {
  45261. const meta = attrsMeta[attr.name]; // do not create translation for empty attributes
  45262. if (meta !== undefined && attr.value) {
  45263. attr.i18n = this._generateI18nMessage([attr], attr.i18n || meta);
  45264. }
  45265. }
  45266. }
  45267. if (!this.keepI18nAttrs) {
  45268. // update element's attributes,
  45269. // keeping only non-i18n related ones
  45270. element.attrs = attrs;
  45271. }
  45272. }
  45273. visitAll(this, element.children, message);
  45274. return element;
  45275. }
  45276. visitExpansion(expansion, currentMessage) {
  45277. let message;
  45278. const meta = expansion.i18n;
  45279. this.hasI18nMeta = true;
  45280. if (meta instanceof IcuPlaceholder) {
  45281. // set ICU placeholder name (e.g. "ICU_1"),
  45282. // generated while processing root element contents,
  45283. // so we can reference it when we output translation
  45284. const name = meta.name;
  45285. message = this._generateI18nMessage([expansion], meta);
  45286. const icu = icuFromI18nMessage(message);
  45287. icu.name = name;
  45288. if (currentMessage !== null) {
  45289. // Also update the placeholderToMessage map with this new message
  45290. currentMessage.placeholderToMessage[name] = message;
  45291. }
  45292. } else {
  45293. // ICU is a top level message, try to use metadata from container element if provided via
  45294. // `context` argument. Note: context may not be available for standalone ICUs (without
  45295. // wrapping element), so fallback to ICU metadata in this case.
  45296. message = this._generateI18nMessage([expansion], currentMessage || meta);
  45297. }
  45298. expansion.i18n = message;
  45299. return expansion;
  45300. }
  45301. visitText(text) {
  45302. return text;
  45303. }
  45304. visitAttribute(attribute) {
  45305. return attribute;
  45306. }
  45307. visitComment(comment) {
  45308. return comment;
  45309. }
  45310. visitExpansionCase(expansionCase) {
  45311. return expansionCase;
  45312. }
  45313. /**
  45314. * Parse the general form `meta` passed into extract the explicit metadata needed to create a
  45315. * `Message`.
  45316. *
  45317. * There are three possibilities for the `meta` variable
  45318. * 1) a string from an `i18n` template attribute: parse it to extract the metadata values.
  45319. * 2) a `Message` from a previous processing pass: reuse the metadata values in the message.
  45320. * 4) other: ignore this and just process the message metadata as normal
  45321. *
  45322. * @param meta the bucket that holds information about the message
  45323. * @returns the parsed metadata.
  45324. */
  45325. _parseMetadata(meta) {
  45326. return typeof meta === 'string' ? parseI18nMeta(meta) : meta instanceof Message ? meta : {};
  45327. }
  45328. /**
  45329. * Generate (or restore) message id if not specified already.
  45330. */
  45331. _setMessageId(message, meta) {
  45332. if (!message.id) {
  45333. message.id = meta instanceof Message && meta.id || decimalDigest(message);
  45334. }
  45335. }
  45336. /**
  45337. * Update the `message` with a `legacyId` if necessary.
  45338. *
  45339. * @param message the message whose legacy id should be set
  45340. * @param meta information about the message being processed
  45341. */
  45342. _setLegacyIds(message, meta) {
  45343. if (this.enableI18nLegacyMessageIdFormat) {
  45344. message.legacyIds = [computeDigest(message), computeDecimalDigest(message)];
  45345. } else if (typeof meta !== 'string') {
  45346. // This occurs if we are doing the 2nd pass after whitespace removal (see `parseTemplate()` in
  45347. // `packages/compiler/src/render3/view/template.ts`).
  45348. // In that case we want to reuse the legacy message generated in the 1st pass (see
  45349. // `setI18nRefs()`).
  45350. const previousMessage = meta instanceof Message ? meta : meta instanceof IcuPlaceholder ? meta.previousMessage : undefined;
  45351. message.legacyIds = previousMessage ? previousMessage.legacyIds : [];
  45352. }
  45353. }
  45354. _reportError(node, msg) {
  45355. this._errors.push(new I18nError(node.sourceSpan, msg));
  45356. }
  45357. }
  45358. /** I18n separators for metadata **/
  45359. const I18N_MEANING_SEPARATOR = '|';
  45360. const I18N_ID_SEPARATOR = '@@';
  45361. /**
  45362. * Parses i18n metas like:
  45363. * - "@@id",
  45364. * - "description[@@id]",
  45365. * - "meaning|description[@@id]"
  45366. * and returns an object with parsed output.
  45367. *
  45368. * @param meta String that represents i18n meta
  45369. * @returns Object with id, meaning and description fields
  45370. */
  45371. function parseI18nMeta(meta = '') {
  45372. let customId;
  45373. let meaning;
  45374. let description;
  45375. meta = meta.trim();
  45376. if (meta) {
  45377. const idIndex = meta.indexOf(I18N_ID_SEPARATOR);
  45378. const descIndex = meta.indexOf(I18N_MEANING_SEPARATOR);
  45379. let meaningAndDesc;
  45380. [meaningAndDesc, customId] = idIndex > -1 ? [meta.slice(0, idIndex), meta.slice(idIndex + 2)] : [meta, ''];
  45381. [meaning, description] = descIndex > -1 ? [meaningAndDesc.slice(0, descIndex), meaningAndDesc.slice(descIndex + 1)] : ['', meaningAndDesc];
  45382. }
  45383. return {
  45384. customId,
  45385. meaning,
  45386. description
  45387. };
  45388. } // Converts i18n meta information for a message (id, description, meaning)
  45389. // to a JsDoc statement formatted as expected by the Closure compiler.
  45390. function i18nMetaToJSDoc(meta) {
  45391. const tags = [];
  45392. if (meta.description) {
  45393. tags.push({
  45394. tagName: "desc"
  45395. /* o.JSDocTagName.Desc */
  45396. ,
  45397. text: meta.description
  45398. });
  45399. } else {
  45400. // Suppress the JSCompiler warning that a `@desc` was not given for this message.
  45401. tags.push({
  45402. tagName: "suppress"
  45403. /* o.JSDocTagName.Suppress */
  45404. ,
  45405. text: '{msgDescriptions}'
  45406. });
  45407. }
  45408. if (meta.meaning) {
  45409. tags.push({
  45410. tagName: "meaning"
  45411. /* o.JSDocTagName.Meaning */
  45412. ,
  45413. text: meta.meaning
  45414. });
  45415. }
  45416. return jsDocComment(tags);
  45417. }
  45418. /** Closure uses `goog.getMsg(message)` to lookup translations */
  45419. const GOOG_GET_MSG = 'goog.getMsg';
  45420. /**
  45421. * Generates a `goog.getMsg()` statement and reassignment. The template:
  45422. *
  45423. * ```html
  45424. * <div i18n>Sent from {{ sender }} to <span class="receiver">{{ receiver }}</span></div>
  45425. * ```
  45426. *
  45427. * Generates:
  45428. *
  45429. * ```typescript
  45430. * const MSG_FOO = goog.getMsg(
  45431. * // Message template.
  45432. * 'Sent from {$interpolation} to {$startTagSpan}{$interpolation_1}{$closeTagSpan}.',
  45433. * // Placeholder values, set to magic strings which get replaced by the Angular runtime.
  45434. * {
  45435. * 'interpolation': '\uFFFD0\uFFFD',
  45436. * 'startTagSpan': '\uFFFD1\uFFFD',
  45437. * 'interpolation_1': '\uFFFD2\uFFFD',
  45438. * 'closeTagSpan': '\uFFFD3\uFFFD',
  45439. * },
  45440. * // Options bag.
  45441. * {
  45442. * // Maps each placeholder to the original Angular source code which generates it's value.
  45443. * original_code: {
  45444. * 'interpolation': '{{ sender }}',
  45445. * 'startTagSpan': '<span class="receiver">',
  45446. * 'interpolation_1': '{{ receiver }}',
  45447. * 'closeTagSpan': '</span>',
  45448. * },
  45449. * },
  45450. * );
  45451. * const I18N_0 = MSG_FOO;
  45452. * ```
  45453. */
  45454. function createGoogleGetMsgStatements(variable$1, message, closureVar, placeholderValues) {
  45455. const messageString = serializeI18nMessageForGetMsg(message);
  45456. const args = [literal(messageString)];
  45457. if (Object.keys(placeholderValues).length) {
  45458. // Message template parameters containing the magic strings replaced by the Angular runtime with
  45459. // real data, e.g. `{'interpolation': '\uFFFD0\uFFFD'}`.
  45460. args.push(mapLiteral(formatI18nPlaceholderNamesInMap(placeholderValues, true
  45461. /* useCamelCase */
  45462. ), true
  45463. /* quoted */
  45464. )); // Message options object, which contains original source code for placeholders (as they are
  45465. // present in a template, e.g.
  45466. // `{original_code: {'interpolation': '{{ name }}', 'startTagSpan': '<span>'}}`.
  45467. args.push(mapLiteral({
  45468. original_code: literalMap(Object.keys(placeholderValues).map(param => ({
  45469. key: formatI18nPlaceholderName(param),
  45470. quoted: true,
  45471. value: message.placeholders[param] ? // Get source span for typical placeholder if it exists.
  45472. literal(message.placeholders[param].sourceSpan.toString()) : // Otherwise must be an ICU expression, get it's source span.
  45473. literal(message.placeholderToMessage[param].nodes.map(node => node.sourceSpan.toString()).join(''))
  45474. })))
  45475. }));
  45476. } // /**
  45477. // * @desc description of message
  45478. // * @meaning meaning of message
  45479. // */
  45480. // const MSG_... = goog.getMsg(..);
  45481. // I18N_X = MSG_...;
  45482. const googGetMsgStmt = closureVar.set(variable(GOOG_GET_MSG).callFn(args)).toConstDecl();
  45483. googGetMsgStmt.addLeadingComment(i18nMetaToJSDoc(message));
  45484. const i18nAssignmentStmt = new ExpressionStatement(variable$1.set(closureVar));
  45485. return [googGetMsgStmt, i18nAssignmentStmt];
  45486. }
  45487. /**
  45488. * This visitor walks over i18n tree and generates its string representation, including ICUs and
  45489. * placeholders in `{$placeholder}` (for plain messages) or `{PLACEHOLDER}` (inside ICUs) format.
  45490. */
  45491. class GetMsgSerializerVisitor {
  45492. formatPh(value) {
  45493. return `{$${formatI18nPlaceholderName(value)}}`;
  45494. }
  45495. visitText(text) {
  45496. return text.value;
  45497. }
  45498. visitContainer(container) {
  45499. return container.children.map(child => child.visit(this)).join('');
  45500. }
  45501. visitIcu(icu) {
  45502. return serializeIcuNode(icu);
  45503. }
  45504. visitTagPlaceholder(ph) {
  45505. return ph.isVoid ? this.formatPh(ph.startName) : `${this.formatPh(ph.startName)}${ph.children.map(child => child.visit(this)).join('')}${this.formatPh(ph.closeName)}`;
  45506. }
  45507. visitPlaceholder(ph) {
  45508. return this.formatPh(ph.name);
  45509. }
  45510. visitIcuPlaceholder(ph, context) {
  45511. return this.formatPh(ph.name);
  45512. }
  45513. }
  45514. const serializerVisitor = new GetMsgSerializerVisitor();
  45515. function serializeI18nMessageForGetMsg(message) {
  45516. return message.nodes.map(node => node.visit(serializerVisitor, null)).join('');
  45517. }
  45518. function createLocalizeStatements(variable, message, params) {
  45519. const {
  45520. messageParts,
  45521. placeHolders
  45522. } = serializeI18nMessageForLocalize(message);
  45523. const sourceSpan = getSourceSpan(message);
  45524. const expressions = placeHolders.map(ph => params[ph.text]);
  45525. const localizedString$1 = localizedString(message, messageParts, placeHolders, expressions, sourceSpan);
  45526. const variableInitialization = variable.set(localizedString$1);
  45527. return [new ExpressionStatement(variableInitialization)];
  45528. }
  45529. /**
  45530. * This visitor walks over an i18n tree, capturing literal strings and placeholders.
  45531. *
  45532. * The result can be used for generating the `$localize` tagged template literals.
  45533. */
  45534. class LocalizeSerializerVisitor {
  45535. constructor(placeholderToMessage, pieces) {
  45536. this.placeholderToMessage = placeholderToMessage;
  45537. this.pieces = pieces;
  45538. }
  45539. visitText(text) {
  45540. if (this.pieces[this.pieces.length - 1] instanceof LiteralPiece) {
  45541. // Two literal pieces in a row means that there was some comment node in-between.
  45542. this.pieces[this.pieces.length - 1].text += text.value;
  45543. } else {
  45544. const sourceSpan = new ParseSourceSpan(text.sourceSpan.fullStart, text.sourceSpan.end, text.sourceSpan.fullStart, text.sourceSpan.details);
  45545. this.pieces.push(new LiteralPiece(text.value, sourceSpan));
  45546. }
  45547. }
  45548. visitContainer(container) {
  45549. container.children.forEach(child => child.visit(this));
  45550. }
  45551. visitIcu(icu) {
  45552. this.pieces.push(new LiteralPiece(serializeIcuNode(icu), icu.sourceSpan));
  45553. }
  45554. visitTagPlaceholder(ph) {
  45555. var _a, _b;
  45556. this.pieces.push(this.createPlaceholderPiece(ph.startName, (_a = ph.startSourceSpan) !== null && _a !== void 0 ? _a : ph.sourceSpan));
  45557. if (!ph.isVoid) {
  45558. ph.children.forEach(child => child.visit(this));
  45559. this.pieces.push(this.createPlaceholderPiece(ph.closeName, (_b = ph.endSourceSpan) !== null && _b !== void 0 ? _b : ph.sourceSpan));
  45560. }
  45561. }
  45562. visitPlaceholder(ph) {
  45563. this.pieces.push(this.createPlaceholderPiece(ph.name, ph.sourceSpan));
  45564. }
  45565. visitIcuPlaceholder(ph) {
  45566. this.pieces.push(this.createPlaceholderPiece(ph.name, ph.sourceSpan, this.placeholderToMessage[ph.name]));
  45567. }
  45568. createPlaceholderPiece(name, sourceSpan, associatedMessage) {
  45569. return new PlaceholderPiece(formatI18nPlaceholderName(name,
  45570. /* useCamelCase */
  45571. false), sourceSpan, associatedMessage);
  45572. }
  45573. }
  45574. /**
  45575. * Serialize an i18n message into two arrays: messageParts and placeholders.
  45576. *
  45577. * These arrays will be used to generate `$localize` tagged template literals.
  45578. *
  45579. * @param message The message to be serialized.
  45580. * @returns an object containing the messageParts and placeholders.
  45581. */
  45582. function serializeI18nMessageForLocalize(message) {
  45583. const pieces = [];
  45584. const serializerVisitor = new LocalizeSerializerVisitor(message.placeholderToMessage, pieces);
  45585. message.nodes.forEach(node => node.visit(serializerVisitor));
  45586. return processMessagePieces(pieces);
  45587. }
  45588. function getSourceSpan(message) {
  45589. const startNode = message.nodes[0];
  45590. const endNode = message.nodes[message.nodes.length - 1];
  45591. return new ParseSourceSpan(startNode.sourceSpan.fullStart, endNode.sourceSpan.end, startNode.sourceSpan.fullStart, startNode.sourceSpan.details);
  45592. }
  45593. /**
  45594. * Convert the list of serialized MessagePieces into two arrays.
  45595. *
  45596. * One contains the literal string pieces and the other the placeholders that will be replaced by
  45597. * expressions when rendering `$localize` tagged template literals.
  45598. *
  45599. * @param pieces The pieces to process.
  45600. * @returns an object containing the messageParts and placeholders.
  45601. */
  45602. function processMessagePieces(pieces) {
  45603. const messageParts = [];
  45604. const placeHolders = [];
  45605. if (pieces[0] instanceof PlaceholderPiece) {
  45606. // The first piece was a placeholder so we need to add an initial empty message part.
  45607. messageParts.push(createEmptyMessagePart(pieces[0].sourceSpan.start));
  45608. }
  45609. for (let i = 0; i < pieces.length; i++) {
  45610. const part = pieces[i];
  45611. if (part instanceof LiteralPiece) {
  45612. messageParts.push(part);
  45613. } else {
  45614. placeHolders.push(part);
  45615. if (pieces[i - 1] instanceof PlaceholderPiece) {
  45616. // There were two placeholders in a row, so we need to add an empty message part.
  45617. messageParts.push(createEmptyMessagePart(pieces[i - 1].sourceSpan.end));
  45618. }
  45619. }
  45620. }
  45621. if (pieces[pieces.length - 1] instanceof PlaceholderPiece) {
  45622. // The last piece was a placeholder so we need to add a final empty message part.
  45623. messageParts.push(createEmptyMessagePart(pieces[pieces.length - 1].sourceSpan.end));
  45624. }
  45625. return {
  45626. messageParts,
  45627. placeHolders
  45628. };
  45629. }
  45630. function createEmptyMessagePart(location) {
  45631. return new LiteralPiece('', new ParseSourceSpan(location, location));
  45632. }
  45633. /**
  45634. * @license
  45635. * Copyright Google LLC All Rights Reserved.
  45636. *
  45637. * Use of this source code is governed by an MIT-style license that can be
  45638. * found in the LICENSE file at https://angular.io/license
  45639. */
  45640. // Selector attribute name of `<ng-content>`
  45641. const NG_CONTENT_SELECT_ATTR = 'select'; // Attribute name of `ngProjectAs`.
  45642. const NG_PROJECT_AS_ATTR_NAME = 'ngProjectAs'; // Global symbols available only inside event bindings.
  45643. const EVENT_BINDING_SCOPE_GLOBALS = new Set(['$event']); // List of supported global targets for event listeners
  45644. const GLOBAL_TARGET_RESOLVERS = new Map([['window', Identifiers.resolveWindow], ['document', Identifiers.resolveDocument], ['body', Identifiers.resolveBody]]);
  45645. const LEADING_TRIVIA_CHARS = [' ', '\n', '\r', '\t']; // if (rf & flags) { .. }
  45646. function renderFlagCheckIfStmt(flags, statements) {
  45647. return ifStmt(variable(RENDER_FLAGS).bitwiseAnd(literal(flags), null, false), statements);
  45648. }
  45649. function prepareEventListenerParameters(eventAst, handlerName = null, scope = null) {
  45650. const {
  45651. type,
  45652. name,
  45653. target,
  45654. phase,
  45655. handler
  45656. } = eventAst;
  45657. if (target && !GLOBAL_TARGET_RESOLVERS.has(target)) {
  45658. throw new Error(`Unexpected global target '${target}' defined for '${name}' event.
  45659. Supported list of global targets: ${Array.from(GLOBAL_TARGET_RESOLVERS.keys())}.`);
  45660. }
  45661. const eventArgumentName = '$event';
  45662. const implicitReceiverAccesses = new Set();
  45663. const implicitReceiverExpr = scope === null || scope.bindingLevel === 0 ? variable(CONTEXT_NAME) : scope.getOrCreateSharedContextVar(0);
  45664. const bindingStatements = convertActionBinding(scope, implicitReceiverExpr, handler, 'b', eventAst.handlerSpan, implicitReceiverAccesses, EVENT_BINDING_SCOPE_GLOBALS);
  45665. const statements = [];
  45666. const variableDeclarations = scope === null || scope === void 0 ? void 0 : scope.variableDeclarations();
  45667. const restoreViewStatement = scope === null || scope === void 0 ? void 0 : scope.restoreViewStatement();
  45668. if (variableDeclarations) {
  45669. // `variableDeclarations` needs to run first, because
  45670. // `restoreViewStatement` depends on the result.
  45671. statements.push(...variableDeclarations);
  45672. }
  45673. statements.push(...bindingStatements);
  45674. if (restoreViewStatement) {
  45675. statements.unshift(restoreViewStatement); // If there's a `restoreView` call, we need to reset the view at the end of the listener
  45676. // in order to avoid a leak. If there's a `return` statement already, we wrap it in the
  45677. // call, e.g. `return resetView(ctx.foo())`. Otherwise we add the call as the last statement.
  45678. const lastStatement = statements[statements.length - 1];
  45679. if (lastStatement instanceof ReturnStatement) {
  45680. statements[statements.length - 1] = new ReturnStatement(invokeInstruction(lastStatement.value.sourceSpan, Identifiers.resetView, [lastStatement.value]));
  45681. } else {
  45682. statements.push(new ExpressionStatement(invokeInstruction(null, Identifiers.resetView, [])));
  45683. }
  45684. }
  45685. const eventName = type === 1
  45686. /* ParsedEventType.Animation */
  45687. ? prepareSyntheticListenerName(name, phase) : name;
  45688. const fnName = handlerName && sanitizeIdentifier(handlerName);
  45689. const fnArgs = [];
  45690. if (implicitReceiverAccesses.has(eventArgumentName)) {
  45691. fnArgs.push(new FnParam(eventArgumentName, DYNAMIC_TYPE));
  45692. }
  45693. const handlerFn = fn(fnArgs, statements, INFERRED_TYPE, null, fnName);
  45694. const params = [literal(eventName), handlerFn];
  45695. if (target) {
  45696. params.push(literal(false), // `useCapture` flag, defaults to `false`
  45697. importExpr(GLOBAL_TARGET_RESOLVERS.get(target)));
  45698. }
  45699. return params;
  45700. }
  45701. function createComponentDefConsts() {
  45702. return {
  45703. prepareStatements: [],
  45704. constExpressions: [],
  45705. i18nVarRefsCache: new Map()
  45706. };
  45707. }
  45708. class TemplateDefinitionBuilder {
  45709. constructor(constantPool, parentBindingScope, level = 0, contextName, i18nContext, templateIndex, templateName, _namespace, relativeContextFilePath, i18nUseExternalIds, _constants = createComponentDefConsts()) {
  45710. this.constantPool = constantPool;
  45711. this.level = level;
  45712. this.contextName = contextName;
  45713. this.i18nContext = i18nContext;
  45714. this.templateIndex = templateIndex;
  45715. this.templateName = templateName;
  45716. this._namespace = _namespace;
  45717. this.i18nUseExternalIds = i18nUseExternalIds;
  45718. this._constants = _constants;
  45719. this._dataIndex = 0;
  45720. this._bindingContext = 0;
  45721. this._prefixCode = [];
  45722. /**
  45723. * List of callbacks to generate creation mode instructions. We store them here as we process
  45724. * the template so bindings in listeners are resolved only once all nodes have been visited.
  45725. * This ensures all local refs and context variables are available for matching.
  45726. */
  45727. this._creationCodeFns = [];
  45728. /**
  45729. * List of callbacks to generate update mode instructions. We store them here as we process
  45730. * the template so bindings are resolved only once all nodes have been visited. This ensures
  45731. * all local refs and context variables are available for matching.
  45732. */
  45733. this._updateCodeFns = [];
  45734. /** Index of the currently-selected node. */
  45735. this._currentIndex = 0;
  45736. /** Temporary variable declarations generated from visiting pipes, literals, etc. */
  45737. this._tempVariables = [];
  45738. /**
  45739. * List of callbacks to build nested templates. Nested templates must not be visited until
  45740. * after the parent template has finished visiting all of its nodes. This ensures that all
  45741. * local ref bindings in nested templates are able to find local ref values if the refs
  45742. * are defined after the template declaration.
  45743. */
  45744. this._nestedTemplateFns = []; // i18n context local to this template
  45745. this.i18n = null; // Number of slots to reserve for pureFunctions
  45746. this._pureFunctionSlots = 0; // Number of binding slots
  45747. this._bindingSlots = 0; // Projection slots found in the template. Projection slots can distribute projected
  45748. // nodes based on a selector, or can just use the wildcard selector to match
  45749. // all nodes which aren't matching any selector.
  45750. this._ngContentReservedSlots = []; // Number of non-default selectors found in all parent templates of this template. We need to
  45751. // track it to properly adjust projection slot index in the `projection` instruction.
  45752. this._ngContentSelectorsOffset = 0; // Expression that should be used as implicit receiver when converting template
  45753. // expressions to output AST.
  45754. this._implicitReceiverExpr = null; // These should be handled in the template or element directly.
  45755. this.visitReference = invalid;
  45756. this.visitVariable = invalid;
  45757. this.visitTextAttribute = invalid;
  45758. this.visitBoundAttribute = invalid;
  45759. this.visitBoundEvent = invalid;
  45760. this._bindingScope = parentBindingScope.nestedScope(level); // Turn the relative context file path into an identifier by replacing non-alphanumeric
  45761. // characters with underscores.
  45762. this.fileBasedI18nSuffix = relativeContextFilePath.replace(/[^A-Za-z0-9]/g, '_') + '_';
  45763. this._valueConverter = new ValueConverter(constantPool, () => this.allocateDataSlot(), numSlots => this.allocatePureFunctionSlots(numSlots), (name, localName, slot, value) => {
  45764. this._bindingScope.set(this.level, localName, value);
  45765. this.creationInstruction(null, Identifiers.pipe, [literal(slot), literal(name)]);
  45766. });
  45767. }
  45768. buildTemplateFunction(nodes, variables, ngContentSelectorsOffset = 0, i18n) {
  45769. this._ngContentSelectorsOffset = ngContentSelectorsOffset;
  45770. if (this._namespace !== Identifiers.namespaceHTML) {
  45771. this.creationInstruction(null, this._namespace);
  45772. } // Create variable bindings
  45773. variables.forEach(v => this.registerContextVariables(v)); // Initiate i18n context in case:
  45774. // - this template has parent i18n context
  45775. // - or the template has i18n meta associated with it,
  45776. // but it's not initiated by the Element (e.g. <ng-template i18n>)
  45777. const initI18nContext = this.i18nContext || isI18nRootNode(i18n) && !isSingleI18nIcu(i18n) && !(isSingleElementTemplate(nodes) && nodes[0].i18n === i18n);
  45778. const selfClosingI18nInstruction = hasTextChildrenOnly(nodes);
  45779. if (initI18nContext) {
  45780. this.i18nStart(null, i18n, selfClosingI18nInstruction);
  45781. } // This is the initial pass through the nodes of this template. In this pass, we
  45782. // queue all creation mode and update mode instructions for generation in the second
  45783. // pass. It's necessary to separate the passes to ensure local refs are defined before
  45784. // resolving bindings. We also count bindings in this pass as we walk bound expressions.
  45785. visitAll$1(this, nodes); // Add total binding count to pure function count so pure function instructions are
  45786. // generated with the correct slot offset when update instructions are processed.
  45787. this._pureFunctionSlots += this._bindingSlots; // Pipes are walked in the first pass (to enqueue `pipe()` creation instructions and
  45788. // `pipeBind` update instructions), so we have to update the slot offsets manually
  45789. // to account for bindings.
  45790. this._valueConverter.updatePipeSlotOffsets(this._bindingSlots); // Nested templates must be processed before creation instructions so template()
  45791. // instructions can be generated with the correct internal const count.
  45792. this._nestedTemplateFns.forEach(buildTemplateFn => buildTemplateFn()); // Output the `projectionDef` instruction when some `<ng-content>` tags are present.
  45793. // The `projectionDef` instruction is only emitted for the component template and
  45794. // is skipped for nested templates (<ng-template> tags).
  45795. if (this.level === 0 && this._ngContentReservedSlots.length) {
  45796. const parameters = []; // By default the `projectionDef` instructions creates one slot for the wildcard
  45797. // selector if no parameters are passed. Therefore we only want to allocate a new
  45798. // array for the projection slots if the default projection slot is not sufficient.
  45799. if (this._ngContentReservedSlots.length > 1 || this._ngContentReservedSlots[0] !== '*') {
  45800. const r3ReservedSlots = this._ngContentReservedSlots.map(s => s !== '*' ? parseSelectorToR3Selector(s) : s);
  45801. parameters.push(this.constantPool.getConstLiteral(asLiteral(r3ReservedSlots), true));
  45802. } // Since we accumulate ngContent selectors while processing template elements,
  45803. // we *prepend* `projectionDef` to creation instructions block, to put it before
  45804. // any `projection` instructions
  45805. this.creationInstruction(null, Identifiers.projectionDef, parameters,
  45806. /* prepend */
  45807. true);
  45808. }
  45809. if (initI18nContext) {
  45810. this.i18nEnd(null, selfClosingI18nInstruction);
  45811. } // Generate all the creation mode instructions (e.g. resolve bindings in listeners)
  45812. const creationStatements = getInstructionStatements(this._creationCodeFns); // Generate all the update mode instructions (e.g. resolve property or text bindings)
  45813. const updateStatements = getInstructionStatements(this._updateCodeFns); // Variable declaration must occur after binding resolution so we can generate context
  45814. // instructions that build on each other.
  45815. // e.g. const b = nextContext().$implicit(); const b = nextContext();
  45816. const creationVariables = this._bindingScope.viewSnapshotStatements();
  45817. const updateVariables = this._bindingScope.variableDeclarations().concat(this._tempVariables);
  45818. const creationBlock = creationStatements.length > 0 ? [renderFlagCheckIfStmt(1
  45819. /* core.RenderFlags.Create */
  45820. , creationVariables.concat(creationStatements))] : [];
  45821. const updateBlock = updateStatements.length > 0 ? [renderFlagCheckIfStmt(2
  45822. /* core.RenderFlags.Update */
  45823. , updateVariables.concat(updateStatements))] : [];
  45824. return fn( // i.e. (rf: RenderFlags, ctx: any)
  45825. [new FnParam(RENDER_FLAGS, NUMBER_TYPE), new FnParam(CONTEXT_NAME, null)], [// Temporary variable declarations for query refresh (i.e. let _t: any;)
  45826. ...this._prefixCode, // Creating mode (i.e. if (rf & RenderFlags.Create) { ... })
  45827. ...creationBlock, // Binding and refresh mode (i.e. if (rf & RenderFlags.Update) {...})
  45828. ...updateBlock], INFERRED_TYPE, null, this.templateName);
  45829. } // LocalResolver
  45830. getLocal(name) {
  45831. return this._bindingScope.get(name);
  45832. } // LocalResolver
  45833. notifyImplicitReceiverUse() {
  45834. this._bindingScope.notifyImplicitReceiverUse();
  45835. } // LocalResolver
  45836. maybeRestoreView() {
  45837. this._bindingScope.maybeRestoreView();
  45838. }
  45839. i18nTranslate(message, params = {}, ref, transformFn) {
  45840. const _ref = ref || this.i18nGenerateMainBlockVar(); // Closure Compiler requires const names to start with `MSG_` but disallows any other const to
  45841. // start with `MSG_`. We define a variable starting with `MSG_` just for the `goog.getMsg` call
  45842. const closureVar = this.i18nGenerateClosureVar(message.id);
  45843. const statements = getTranslationDeclStmts(message, _ref, closureVar, params, transformFn);
  45844. this._constants.prepareStatements.push(...statements);
  45845. return _ref;
  45846. }
  45847. registerContextVariables(variable$1) {
  45848. const scopedName = this._bindingScope.freshReferenceName();
  45849. const retrievalLevel = this.level;
  45850. const lhs = variable(variable$1.name + scopedName);
  45851. this._bindingScope.set(retrievalLevel, variable$1.name, lhs, 1
  45852. /* DeclarationPriority.CONTEXT */
  45853. , (scope, relativeLevel) => {
  45854. let rhs;
  45855. if (scope.bindingLevel === retrievalLevel) {
  45856. if (scope.isListenerScope() && scope.hasRestoreViewVariable()) {
  45857. // e.g. restoredCtx.
  45858. // We have to get the context from a view reference, if one is available, because
  45859. // the context that was passed in during creation may not be correct anymore.
  45860. // For more information see: https://github.com/angular/angular/pull/40360.
  45861. rhs = variable(RESTORED_VIEW_CONTEXT_NAME);
  45862. scope.notifyRestoredViewContextUse();
  45863. } else {
  45864. // e.g. ctx
  45865. rhs = variable(CONTEXT_NAME);
  45866. }
  45867. } else {
  45868. const sharedCtxVar = scope.getSharedContextName(retrievalLevel); // e.g. ctx_r0 OR x(2);
  45869. rhs = sharedCtxVar ? sharedCtxVar : generateNextContextExpr(relativeLevel);
  45870. } // e.g. const $item$ = x(2).$implicit;
  45871. return [lhs.set(rhs.prop(variable$1.value || IMPLICIT_REFERENCE)).toConstDecl()];
  45872. });
  45873. }
  45874. i18nAppendBindings(expressions) {
  45875. if (expressions.length > 0) {
  45876. expressions.forEach(expression => this.i18n.appendBinding(expression));
  45877. }
  45878. }
  45879. i18nBindProps(props) {
  45880. const bound = {};
  45881. Object.keys(props).forEach(key => {
  45882. const prop = props[key];
  45883. if (prop instanceof Text$3) {
  45884. bound[key] = literal(prop.value);
  45885. } else {
  45886. const value = prop.value.visit(this._valueConverter);
  45887. this.allocateBindingSlots(value);
  45888. if (value instanceof Interpolation) {
  45889. const {
  45890. strings,
  45891. expressions
  45892. } = value;
  45893. const {
  45894. id,
  45895. bindings
  45896. } = this.i18n;
  45897. const label = assembleI18nBoundString(strings, bindings.size, id);
  45898. this.i18nAppendBindings(expressions);
  45899. bound[key] = literal(label);
  45900. }
  45901. }
  45902. });
  45903. return bound;
  45904. } // Generates top level vars for i18n blocks (i.e. `i18n_N`).
  45905. i18nGenerateMainBlockVar() {
  45906. return variable(this.constantPool.uniqueName(TRANSLATION_VAR_PREFIX));
  45907. } // Generates vars with Closure-specific names for i18n blocks (i.e. `MSG_XXX`).
  45908. i18nGenerateClosureVar(messageId) {
  45909. let name;
  45910. const suffix = this.fileBasedI18nSuffix.toUpperCase();
  45911. if (this.i18nUseExternalIds) {
  45912. const prefix = getTranslationConstPrefix(`EXTERNAL_`);
  45913. const uniqueSuffix = this.constantPool.uniqueName(suffix);
  45914. name = `${prefix}${sanitizeIdentifier(messageId)}$$${uniqueSuffix}`;
  45915. } else {
  45916. const prefix = getTranslationConstPrefix(suffix);
  45917. name = this.constantPool.uniqueName(prefix);
  45918. }
  45919. return variable(name);
  45920. }
  45921. i18nUpdateRef(context) {
  45922. const {
  45923. icus,
  45924. meta,
  45925. isRoot,
  45926. isResolved,
  45927. isEmitted
  45928. } = context;
  45929. if (isRoot && isResolved && !isEmitted && !isSingleI18nIcu(meta)) {
  45930. context.isEmitted = true;
  45931. const placeholders = context.getSerializedPlaceholders();
  45932. let icuMapping = {};
  45933. let params = placeholders.size ? placeholdersToParams(placeholders) : {};
  45934. if (icus.size) {
  45935. icus.forEach((refs, key) => {
  45936. if (refs.length === 1) {
  45937. // if we have one ICU defined for a given
  45938. // placeholder - just output its reference
  45939. params[key] = refs[0];
  45940. } else {
  45941. // ... otherwise we need to activate post-processing
  45942. // to replace ICU placeholders with proper values
  45943. const placeholder = wrapI18nPlaceholder(`${I18N_ICU_MAPPING_PREFIX}${key}`);
  45944. params[key] = literal(placeholder);
  45945. icuMapping[key] = literalArr(refs);
  45946. }
  45947. });
  45948. } // translation requires post processing in 2 cases:
  45949. // - if we have placeholders with multiple values (ex. `START_DIV`: [�#1�, �#2�, ...])
  45950. // - if we have multiple ICUs that refer to the same placeholder name
  45951. const needsPostprocessing = Array.from(placeholders.values()).some(value => value.length > 1) || Object.keys(icuMapping).length;
  45952. let transformFn;
  45953. if (needsPostprocessing) {
  45954. transformFn = raw => {
  45955. const args = [raw];
  45956. if (Object.keys(icuMapping).length) {
  45957. args.push(mapLiteral(icuMapping, true));
  45958. }
  45959. return invokeInstruction(null, Identifiers.i18nPostprocess, args);
  45960. };
  45961. }
  45962. this.i18nTranslate(meta, params, context.ref, transformFn);
  45963. }
  45964. }
  45965. i18nStart(span = null, meta, selfClosing) {
  45966. const index = this.allocateDataSlot();
  45967. this.i18n = this.i18nContext ? this.i18nContext.forkChildContext(index, this.templateIndex, meta) : new I18nContext(index, this.i18nGenerateMainBlockVar(), 0, this.templateIndex, meta); // generate i18nStart instruction
  45968. const {
  45969. id,
  45970. ref
  45971. } = this.i18n;
  45972. const params = [literal(index), this.addToConsts(ref)];
  45973. if (id > 0) {
  45974. // do not push 3rd argument (sub-block id)
  45975. // into i18nStart call for top level i18n context
  45976. params.push(literal(id));
  45977. }
  45978. this.creationInstruction(span, selfClosing ? Identifiers.i18n : Identifiers.i18nStart, params);
  45979. }
  45980. i18nEnd(span = null, selfClosing) {
  45981. if (!this.i18n) {
  45982. throw new Error('i18nEnd is executed with no i18n context present');
  45983. }
  45984. if (this.i18nContext) {
  45985. this.i18nContext.reconcileChildContext(this.i18n);
  45986. this.i18nUpdateRef(this.i18nContext);
  45987. } else {
  45988. this.i18nUpdateRef(this.i18n);
  45989. } // setup accumulated bindings
  45990. const {
  45991. index,
  45992. bindings
  45993. } = this.i18n;
  45994. if (bindings.size) {
  45995. for (const binding of bindings) {
  45996. // for i18n block, advance to the most recent element index (by taking the current number of
  45997. // elements and subtracting one) before invoking `i18nExp` instructions, to make sure the
  45998. // necessary lifecycle hooks of components/directives are properly flushed.
  45999. this.updateInstructionWithAdvance(this.getConstCount() - 1, span, Identifiers.i18nExp, () => this.convertPropertyBinding(binding));
  46000. }
  46001. this.updateInstruction(span, Identifiers.i18nApply, [literal(index)]);
  46002. }
  46003. if (!selfClosing) {
  46004. this.creationInstruction(span, Identifiers.i18nEnd);
  46005. }
  46006. this.i18n = null; // reset local i18n context
  46007. }
  46008. i18nAttributesInstruction(nodeIndex, attrs, sourceSpan) {
  46009. let hasBindings = false;
  46010. const i18nAttrArgs = [];
  46011. attrs.forEach(attr => {
  46012. const message = attr.i18n;
  46013. const converted = attr.value.visit(this._valueConverter);
  46014. this.allocateBindingSlots(converted);
  46015. if (converted instanceof Interpolation) {
  46016. const placeholders = assembleBoundTextPlaceholders(message);
  46017. const params = placeholdersToParams(placeholders);
  46018. i18nAttrArgs.push(literal(attr.name), this.i18nTranslate(message, params));
  46019. converted.expressions.forEach(expression => {
  46020. hasBindings = true;
  46021. this.updateInstructionWithAdvance(nodeIndex, sourceSpan, Identifiers.i18nExp, () => this.convertPropertyBinding(expression));
  46022. });
  46023. }
  46024. });
  46025. if (i18nAttrArgs.length > 0) {
  46026. const index = literal(this.allocateDataSlot());
  46027. const constIndex = this.addToConsts(literalArr(i18nAttrArgs));
  46028. this.creationInstruction(sourceSpan, Identifiers.i18nAttributes, [index, constIndex]);
  46029. if (hasBindings) {
  46030. this.updateInstruction(sourceSpan, Identifiers.i18nApply, [index]);
  46031. }
  46032. }
  46033. }
  46034. getNamespaceInstruction(namespaceKey) {
  46035. switch (namespaceKey) {
  46036. case 'math':
  46037. return Identifiers.namespaceMathML;
  46038. case 'svg':
  46039. return Identifiers.namespaceSVG;
  46040. default:
  46041. return Identifiers.namespaceHTML;
  46042. }
  46043. }
  46044. addNamespaceInstruction(nsInstruction, element) {
  46045. this._namespace = nsInstruction;
  46046. this.creationInstruction(element.startSourceSpan, nsInstruction);
  46047. }
  46048. /**
  46049. * Adds an update instruction for an interpolated property or attribute, such as
  46050. * `prop="{{value}}"` or `attr.title="{{value}}"`
  46051. */
  46052. interpolatedUpdateInstruction(instruction, elementIndex, attrName, input, value, params) {
  46053. this.updateInstructionWithAdvance(elementIndex, input.sourceSpan, instruction, () => [literal(attrName), ...this.getUpdateInstructionArguments(value), ...params]);
  46054. }
  46055. visitContent(ngContent) {
  46056. const slot = this.allocateDataSlot();
  46057. const projectionSlotIdx = this._ngContentSelectorsOffset + this._ngContentReservedSlots.length;
  46058. const parameters = [literal(slot)];
  46059. this._ngContentReservedSlots.push(ngContent.selector);
  46060. const nonContentSelectAttributes = ngContent.attributes.filter(attr => attr.name.toLowerCase() !== NG_CONTENT_SELECT_ATTR);
  46061. const attributes = this.getAttributeExpressions(ngContent.name, nonContentSelectAttributes, [], []);
  46062. if (attributes.length > 0) {
  46063. parameters.push(literal(projectionSlotIdx), literalArr(attributes));
  46064. } else if (projectionSlotIdx !== 0) {
  46065. parameters.push(literal(projectionSlotIdx));
  46066. }
  46067. this.creationInstruction(ngContent.sourceSpan, Identifiers.projection, parameters);
  46068. if (this.i18n) {
  46069. this.i18n.appendProjection(ngContent.i18n, slot);
  46070. }
  46071. }
  46072. visitElement(element) {
  46073. var _a, _b;
  46074. const elementIndex = this.allocateDataSlot();
  46075. const stylingBuilder = new StylingBuilder(null);
  46076. let isNonBindableMode = false;
  46077. const isI18nRootElement = isI18nRootNode(element.i18n) && !isSingleI18nIcu(element.i18n);
  46078. const outputAttrs = [];
  46079. const [namespaceKey, elementName] = splitNsName(element.name);
  46080. const isNgContainer$1 = isNgContainer(element.name); // Handle styling, i18n, ngNonBindable attributes
  46081. for (const attr of element.attributes) {
  46082. const {
  46083. name,
  46084. value
  46085. } = attr;
  46086. if (name === NON_BINDABLE_ATTR) {
  46087. isNonBindableMode = true;
  46088. } else if (name === 'style') {
  46089. stylingBuilder.registerStyleAttr(value);
  46090. } else if (name === 'class') {
  46091. stylingBuilder.registerClassAttr(value);
  46092. } else {
  46093. outputAttrs.push(attr);
  46094. }
  46095. } // Regular element or ng-container creation mode
  46096. const parameters = [literal(elementIndex)];
  46097. if (!isNgContainer$1) {
  46098. parameters.push(literal(elementName));
  46099. } // Add the attributes
  46100. const allOtherInputs = [];
  46101. const boundI18nAttrs = [];
  46102. element.inputs.forEach(input => {
  46103. const stylingInputWasSet = stylingBuilder.registerBoundInput(input);
  46104. if (!stylingInputWasSet) {
  46105. if (input.type === 0
  46106. /* BindingType.Property */
  46107. && input.i18n) {
  46108. boundI18nAttrs.push(input);
  46109. } else {
  46110. allOtherInputs.push(input);
  46111. }
  46112. }
  46113. }); // add attributes for directive and projection matching purposes
  46114. const attributes = this.getAttributeExpressions(element.name, outputAttrs, allOtherInputs, element.outputs, stylingBuilder, [], boundI18nAttrs);
  46115. parameters.push(this.addAttrsToConsts(attributes)); // local refs (ex.: <div #foo #bar="baz">)
  46116. const refs = this.prepareRefsArray(element.references);
  46117. parameters.push(this.addToConsts(refs));
  46118. const wasInNamespace = this._namespace;
  46119. const currentNamespace = this.getNamespaceInstruction(namespaceKey); // If the namespace is changing now, include an instruction to change it
  46120. // during element creation.
  46121. if (currentNamespace !== wasInNamespace) {
  46122. this.addNamespaceInstruction(currentNamespace, element);
  46123. }
  46124. if (this.i18n) {
  46125. this.i18n.appendElement(element.i18n, elementIndex);
  46126. } // Note that we do not append text node instructions and ICUs inside i18n section,
  46127. // so we exclude them while calculating whether current element has children
  46128. const hasChildren = !isI18nRootElement && this.i18n ? !hasTextChildrenOnly(element.children) : element.children.length > 0;
  46129. const createSelfClosingInstruction = !stylingBuilder.hasBindingsWithPipes && element.outputs.length === 0 && boundI18nAttrs.length === 0 && !hasChildren;
  46130. const createSelfClosingI18nInstruction = !createSelfClosingInstruction && hasTextChildrenOnly(element.children);
  46131. if (createSelfClosingInstruction) {
  46132. this.creationInstruction(element.sourceSpan, isNgContainer$1 ? Identifiers.elementContainer : Identifiers.element, trimTrailingNulls(parameters));
  46133. } else {
  46134. this.creationInstruction(element.startSourceSpan, isNgContainer$1 ? Identifiers.elementContainerStart : Identifiers.elementStart, trimTrailingNulls(parameters));
  46135. if (isNonBindableMode) {
  46136. this.creationInstruction(element.startSourceSpan, Identifiers.disableBindings);
  46137. }
  46138. if (boundI18nAttrs.length > 0) {
  46139. this.i18nAttributesInstruction(elementIndex, boundI18nAttrs, (_a = element.startSourceSpan) !== null && _a !== void 0 ? _a : element.sourceSpan);
  46140. } // Generate Listeners (outputs)
  46141. if (element.outputs.length > 0) {
  46142. for (const outputAst of element.outputs) {
  46143. this.creationInstruction(outputAst.sourceSpan, Identifiers.listener, this.prepareListenerParameter(element.name, outputAst, elementIndex));
  46144. }
  46145. } // Note: it's important to keep i18n/i18nStart instructions after i18nAttributes and
  46146. // listeners, to make sure i18nAttributes instruction targets current element at runtime.
  46147. if (isI18nRootElement) {
  46148. this.i18nStart(element.startSourceSpan, element.i18n, createSelfClosingI18nInstruction);
  46149. }
  46150. } // the code here will collect all update-level styling instructions and add them to the
  46151. // update block of the template function AOT code. Instructions like `styleProp`,
  46152. // `styleMap`, `classMap`, `classProp`
  46153. // are all generated and assigned in the code below.
  46154. const stylingInstructions = stylingBuilder.buildUpdateLevelInstructions(this._valueConverter);
  46155. const limit = stylingInstructions.length - 1;
  46156. for (let i = 0; i <= limit; i++) {
  46157. const instruction = stylingInstructions[i];
  46158. this._bindingSlots += this.processStylingUpdateInstruction(elementIndex, instruction);
  46159. } // the reason why `undefined` is used is because the renderer understands this as a
  46160. // special value to symbolize that there is no RHS to this binding
  46161. // TODO (matsko): revisit this once FW-959 is approached
  46162. const emptyValueBindInstruction = literal(undefined);
  46163. const propertyBindings = [];
  46164. const attributeBindings = []; // Generate element input bindings
  46165. allOtherInputs.forEach(input => {
  46166. const inputType = input.type;
  46167. if (inputType === 4
  46168. /* BindingType.Animation */
  46169. ) {
  46170. const value = input.value.visit(this._valueConverter); // animation bindings can be presented in the following formats:
  46171. // 1. [@binding]="fooExp"
  46172. // 2. [@binding]="{value:fooExp, params:{...}}"
  46173. // 3. [@binding]
  46174. // 4. @binding
  46175. // All formats will be valid for when a synthetic binding is created.
  46176. // The reasoning for this is because the renderer should get each
  46177. // synthetic binding value in the order of the array that they are
  46178. // defined in...
  46179. const hasValue = value instanceof LiteralPrimitive ? !!value.value : true;
  46180. this.allocateBindingSlots(value);
  46181. propertyBindings.push({
  46182. span: input.sourceSpan,
  46183. paramsOrFn: getBindingFunctionParams(() => hasValue ? this.convertPropertyBinding(value) : emptyValueBindInstruction, prepareSyntheticPropertyName(input.name))
  46184. });
  46185. } else {
  46186. // we must skip attributes with associated i18n context, since these attributes are handled
  46187. // separately and corresponding `i18nExp` and `i18nApply` instructions will be generated
  46188. if (input.i18n) return;
  46189. const value = input.value.visit(this._valueConverter);
  46190. if (value !== undefined) {
  46191. const params = [];
  46192. const [attrNamespace, attrName] = splitNsName(input.name);
  46193. const isAttributeBinding = inputType === 1
  46194. /* BindingType.Attribute */
  46195. ;
  46196. const sanitizationRef = resolveSanitizationFn(input.securityContext, isAttributeBinding);
  46197. if (sanitizationRef) params.push(sanitizationRef);
  46198. if (attrNamespace) {
  46199. const namespaceLiteral = literal(attrNamespace);
  46200. if (sanitizationRef) {
  46201. params.push(namespaceLiteral);
  46202. } else {
  46203. // If there wasn't a sanitization ref, we need to add
  46204. // an extra param so that we can pass in the namespace.
  46205. params.push(literal(null), namespaceLiteral);
  46206. }
  46207. }
  46208. this.allocateBindingSlots(value);
  46209. if (inputType === 0
  46210. /* BindingType.Property */
  46211. ) {
  46212. if (value instanceof Interpolation) {
  46213. // prop="{{value}}" and friends
  46214. this.interpolatedUpdateInstruction(getPropertyInterpolationExpression(value), elementIndex, attrName, input, value, params);
  46215. } else {
  46216. // [prop]="value"
  46217. // Collect all the properties so that we can chain into a single function at the end.
  46218. propertyBindings.push({
  46219. span: input.sourceSpan,
  46220. paramsOrFn: getBindingFunctionParams(() => this.convertPropertyBinding(value), attrName, params)
  46221. });
  46222. }
  46223. } else if (inputType === 1
  46224. /* BindingType.Attribute */
  46225. ) {
  46226. if (value instanceof Interpolation && getInterpolationArgsLength(value) > 1) {
  46227. // attr.name="text{{value}}" and friends
  46228. this.interpolatedUpdateInstruction(getAttributeInterpolationExpression(value), elementIndex, attrName, input, value, params);
  46229. } else {
  46230. const boundValue = value instanceof Interpolation ? value.expressions[0] : value; // [attr.name]="value" or attr.name="{{value}}"
  46231. // Collect the attribute bindings so that they can be chained at the end.
  46232. attributeBindings.push({
  46233. span: input.sourceSpan,
  46234. paramsOrFn: getBindingFunctionParams(() => this.convertPropertyBinding(boundValue), attrName, params)
  46235. });
  46236. }
  46237. } else {
  46238. // class prop
  46239. this.updateInstructionWithAdvance(elementIndex, input.sourceSpan, Identifiers.classProp, () => {
  46240. return [literal(elementIndex), literal(attrName), this.convertPropertyBinding(value), ...params];
  46241. });
  46242. }
  46243. }
  46244. }
  46245. });
  46246. for (const propertyBinding of propertyBindings) {
  46247. this.updateInstructionWithAdvance(elementIndex, propertyBinding.span, Identifiers.property, propertyBinding.paramsOrFn);
  46248. }
  46249. for (const attributeBinding of attributeBindings) {
  46250. this.updateInstructionWithAdvance(elementIndex, attributeBinding.span, Identifiers.attribute, attributeBinding.paramsOrFn);
  46251. } // Traverse element child nodes
  46252. visitAll$1(this, element.children);
  46253. if (!isI18nRootElement && this.i18n) {
  46254. this.i18n.appendElement(element.i18n, elementIndex, true);
  46255. }
  46256. if (!createSelfClosingInstruction) {
  46257. // Finish element construction mode.
  46258. const span = (_b = element.endSourceSpan) !== null && _b !== void 0 ? _b : element.sourceSpan;
  46259. if (isI18nRootElement) {
  46260. this.i18nEnd(span, createSelfClosingI18nInstruction);
  46261. }
  46262. if (isNonBindableMode) {
  46263. this.creationInstruction(span, Identifiers.enableBindings);
  46264. }
  46265. this.creationInstruction(span, isNgContainer$1 ? Identifiers.elementContainerEnd : Identifiers.elementEnd);
  46266. }
  46267. }
  46268. visitTemplate(template) {
  46269. var _a;
  46270. const NG_TEMPLATE_TAG_NAME = 'ng-template';
  46271. const templateIndex = this.allocateDataSlot();
  46272. if (this.i18n) {
  46273. this.i18n.appendTemplate(template.i18n, templateIndex);
  46274. }
  46275. const tagNameWithoutNamespace = template.tagName ? splitNsName(template.tagName)[1] : template.tagName;
  46276. const contextName = `${this.contextName}${template.tagName ? '_' + sanitizeIdentifier(template.tagName) : ''}_${templateIndex}`;
  46277. const templateName = `${contextName}_Template`;
  46278. const parameters = [literal(templateIndex), variable(templateName), // We don't care about the tag's namespace here, because we infer
  46279. // it based on the parent nodes inside the template instruction.
  46280. literal(tagNameWithoutNamespace)]; // prepare attributes parameter (including attributes used for directive matching)
  46281. const attrsExprs = this.getAttributeExpressions(NG_TEMPLATE_TAG_NAME, template.attributes, template.inputs, template.outputs, undefined
  46282. /* styles */
  46283. , template.templateAttrs);
  46284. parameters.push(this.addAttrsToConsts(attrsExprs)); // local refs (ex.: <ng-template #foo>)
  46285. if (template.references && template.references.length) {
  46286. const refs = this.prepareRefsArray(template.references);
  46287. parameters.push(this.addToConsts(refs));
  46288. parameters.push(importExpr(Identifiers.templateRefExtractor));
  46289. } // Create the template function
  46290. const templateVisitor = new TemplateDefinitionBuilder(this.constantPool, this._bindingScope, this.level + 1, contextName, this.i18n, templateIndex, templateName, this._namespace, this.fileBasedI18nSuffix, this.i18nUseExternalIds, this._constants); // Nested templates must not be visited until after their parent templates have completed
  46291. // processing, so they are queued here until after the initial pass. Otherwise, we wouldn't
  46292. // be able to support bindings in nested templates to local refs that occur after the
  46293. // template definition. e.g. <div *ngIf="showing">{{ foo }}</div> <div #foo></div>
  46294. this._nestedTemplateFns.push(() => {
  46295. const templateFunctionExpr = templateVisitor.buildTemplateFunction(template.children, template.variables, this._ngContentReservedSlots.length + this._ngContentSelectorsOffset, template.i18n);
  46296. this.constantPool.statements.push(templateFunctionExpr.toDeclStmt(templateName));
  46297. if (templateVisitor._ngContentReservedSlots.length) {
  46298. this._ngContentReservedSlots.push(...templateVisitor._ngContentReservedSlots);
  46299. }
  46300. }); // e.g. template(1, MyComp_Template_1)
  46301. this.creationInstruction(template.sourceSpan, Identifiers.templateCreate, () => {
  46302. parameters.splice(2, 0, literal(templateVisitor.getConstCount()), literal(templateVisitor.getVarCount()));
  46303. return trimTrailingNulls(parameters);
  46304. }); // handle property bindings e.g. ɵɵproperty('ngForOf', ctx.items), et al;
  46305. this.templatePropertyBindings(templateIndex, template.templateAttrs); // Only add normal input/output binding instructions on explicit <ng-template> elements.
  46306. if (tagNameWithoutNamespace === NG_TEMPLATE_TAG_NAME) {
  46307. const [i18nInputs, inputs] = partitionArray(template.inputs, hasI18nMeta); // Add i18n attributes that may act as inputs to directives. If such attributes are present,
  46308. // generate `i18nAttributes` instruction. Note: we generate it only for explicit <ng-template>
  46309. // elements, in case of inline templates, corresponding instructions will be generated in the
  46310. // nested template function.
  46311. if (i18nInputs.length > 0) {
  46312. this.i18nAttributesInstruction(templateIndex, i18nInputs, (_a = template.startSourceSpan) !== null && _a !== void 0 ? _a : template.sourceSpan);
  46313. } // Add the input bindings
  46314. if (inputs.length > 0) {
  46315. this.templatePropertyBindings(templateIndex, inputs);
  46316. } // Generate listeners for directive output
  46317. for (const outputAst of template.outputs) {
  46318. this.creationInstruction(outputAst.sourceSpan, Identifiers.listener, this.prepareListenerParameter('ng_template', outputAst, templateIndex));
  46319. }
  46320. }
  46321. }
  46322. visitBoundText(text) {
  46323. if (this.i18n) {
  46324. const value = text.value.visit(this._valueConverter);
  46325. this.allocateBindingSlots(value);
  46326. if (value instanceof Interpolation) {
  46327. this.i18n.appendBoundText(text.i18n);
  46328. this.i18nAppendBindings(value.expressions);
  46329. }
  46330. return;
  46331. }
  46332. const nodeIndex = this.allocateDataSlot();
  46333. this.creationInstruction(text.sourceSpan, Identifiers.text, [literal(nodeIndex)]);
  46334. const value = text.value.visit(this._valueConverter);
  46335. this.allocateBindingSlots(value);
  46336. if (value instanceof Interpolation) {
  46337. this.updateInstructionWithAdvance(nodeIndex, text.sourceSpan, getTextInterpolationExpression(value), () => this.getUpdateInstructionArguments(value));
  46338. } else {
  46339. error('Text nodes should be interpolated and never bound directly.');
  46340. }
  46341. }
  46342. visitText(text) {
  46343. // when a text element is located within a translatable
  46344. // block, we exclude this text element from instructions set,
  46345. // since it will be captured in i18n content and processed at runtime
  46346. if (!this.i18n) {
  46347. this.creationInstruction(text.sourceSpan, Identifiers.text, [literal(this.allocateDataSlot()), literal(text.value)]);
  46348. }
  46349. }
  46350. visitIcu(icu) {
  46351. let initWasInvoked = false; // if an ICU was created outside of i18n block, we still treat
  46352. // it as a translatable entity and invoke i18nStart and i18nEnd
  46353. // to generate i18n context and the necessary instructions
  46354. if (!this.i18n) {
  46355. initWasInvoked = true;
  46356. this.i18nStart(null, icu.i18n, true);
  46357. }
  46358. const i18n = this.i18n;
  46359. const vars = this.i18nBindProps(icu.vars);
  46360. const placeholders = this.i18nBindProps(icu.placeholders); // output ICU directly and keep ICU reference in context
  46361. const message = icu.i18n; // we always need post-processing function for ICUs, to make sure that:
  46362. // - all placeholders in a form of {PLACEHOLDER} are replaced with actual values (note:
  46363. // `goog.getMsg` does not process ICUs and uses the `{PLACEHOLDER}` format for placeholders
  46364. // inside ICUs)
  46365. // - all ICU vars (such as `VAR_SELECT` or `VAR_PLURAL`) are replaced with correct values
  46366. const transformFn = raw => {
  46367. const params = Object.assign(Object.assign({}, vars), placeholders);
  46368. const formatted = formatI18nPlaceholderNamesInMap(params,
  46369. /* useCamelCase */
  46370. false);
  46371. return invokeInstruction(null, Identifiers.i18nPostprocess, [raw, mapLiteral(formatted, true)]);
  46372. }; // in case the whole i18n message is a single ICU - we do not need to
  46373. // create a separate top-level translation, we can use the root ref instead
  46374. // and make this ICU a top-level translation
  46375. // note: ICU placeholders are replaced with actual values in `i18nPostprocess` function
  46376. // separately, so we do not pass placeholders into `i18nTranslate` function.
  46377. if (isSingleI18nIcu(i18n.meta)) {
  46378. this.i18nTranslate(message,
  46379. /* placeholders */
  46380. {}, i18n.ref, transformFn);
  46381. } else {
  46382. // output ICU directly and keep ICU reference in context
  46383. const ref = this.i18nTranslate(message,
  46384. /* placeholders */
  46385. {},
  46386. /* ref */
  46387. undefined, transformFn);
  46388. i18n.appendIcu(icuFromI18nMessage(message).name, ref);
  46389. }
  46390. if (initWasInvoked) {
  46391. this.i18nEnd(null, true);
  46392. }
  46393. return null;
  46394. }
  46395. allocateDataSlot() {
  46396. return this._dataIndex++;
  46397. }
  46398. getConstCount() {
  46399. return this._dataIndex;
  46400. }
  46401. getVarCount() {
  46402. return this._pureFunctionSlots;
  46403. }
  46404. getConsts() {
  46405. return this._constants;
  46406. }
  46407. getNgContentSelectors() {
  46408. return this._ngContentReservedSlots.length ? this.constantPool.getConstLiteral(asLiteral(this._ngContentReservedSlots), true) : null;
  46409. }
  46410. bindingContext() {
  46411. return `${this._bindingContext++}`;
  46412. }
  46413. templatePropertyBindings(templateIndex, attrs) {
  46414. const propertyBindings = [];
  46415. for (const input of attrs) {
  46416. if (!(input instanceof BoundAttribute)) {
  46417. continue;
  46418. }
  46419. const value = input.value.visit(this._valueConverter);
  46420. if (value === undefined) {
  46421. continue;
  46422. }
  46423. this.allocateBindingSlots(value);
  46424. if (value instanceof Interpolation) {
  46425. // Params typically contain attribute namespace and value sanitizer, which is applicable
  46426. // for regular HTML elements, but not applicable for <ng-template> (since props act as
  46427. // inputs to directives), so keep params array empty.
  46428. const params = []; // prop="{{value}}" case
  46429. this.interpolatedUpdateInstruction(getPropertyInterpolationExpression(value), templateIndex, input.name, input, value, params);
  46430. } else {
  46431. // [prop]="value" case
  46432. propertyBindings.push({
  46433. span: input.sourceSpan,
  46434. paramsOrFn: getBindingFunctionParams(() => this.convertPropertyBinding(value), input.name)
  46435. });
  46436. }
  46437. }
  46438. for (const propertyBinding of propertyBindings) {
  46439. this.updateInstructionWithAdvance(templateIndex, propertyBinding.span, Identifiers.property, propertyBinding.paramsOrFn);
  46440. }
  46441. } // Bindings must only be resolved after all local refs have been visited, so all
  46442. // instructions are queued in callbacks that execute once the initial pass has completed.
  46443. // Otherwise, we wouldn't be able to support local refs that are defined after their
  46444. // bindings. e.g. {{ foo }} <div #foo></div>
  46445. instructionFn(fns, span, reference, paramsOrFn, prepend = false) {
  46446. fns[prepend ? 'unshift' : 'push']({
  46447. span,
  46448. reference,
  46449. paramsOrFn
  46450. });
  46451. }
  46452. processStylingUpdateInstruction(elementIndex, instruction) {
  46453. let allocateBindingSlots = 0;
  46454. if (instruction) {
  46455. for (const call of instruction.calls) {
  46456. allocateBindingSlots += call.allocateBindingSlots;
  46457. this.updateInstructionWithAdvance(elementIndex, call.sourceSpan, instruction.reference, () => call.params(value => call.supportsInterpolation && value instanceof Interpolation ? this.getUpdateInstructionArguments(value) : this.convertPropertyBinding(value)));
  46458. }
  46459. }
  46460. return allocateBindingSlots;
  46461. }
  46462. creationInstruction(span, reference, paramsOrFn, prepend) {
  46463. this.instructionFn(this._creationCodeFns, span, reference, paramsOrFn || [], prepend);
  46464. }
  46465. updateInstructionWithAdvance(nodeIndex, span, reference, paramsOrFn) {
  46466. this.addAdvanceInstructionIfNecessary(nodeIndex, span);
  46467. this.updateInstruction(span, reference, paramsOrFn);
  46468. }
  46469. updateInstruction(span, reference, paramsOrFn) {
  46470. this.instructionFn(this._updateCodeFns, span, reference, paramsOrFn || []);
  46471. }
  46472. addAdvanceInstructionIfNecessary(nodeIndex, span) {
  46473. if (nodeIndex !== this._currentIndex) {
  46474. const delta = nodeIndex - this._currentIndex;
  46475. if (delta < 1) {
  46476. throw new Error('advance instruction can only go forwards');
  46477. }
  46478. this.instructionFn(this._updateCodeFns, span, Identifiers.advance, [literal(delta)]);
  46479. this._currentIndex = nodeIndex;
  46480. }
  46481. }
  46482. allocatePureFunctionSlots(numSlots) {
  46483. const originalSlots = this._pureFunctionSlots;
  46484. this._pureFunctionSlots += numSlots;
  46485. return originalSlots;
  46486. }
  46487. allocateBindingSlots(value) {
  46488. this._bindingSlots += value instanceof Interpolation ? value.expressions.length : 1;
  46489. }
  46490. /**
  46491. * Gets an expression that refers to the implicit receiver. The implicit
  46492. * receiver is always the root level context.
  46493. */
  46494. getImplicitReceiverExpr() {
  46495. if (this._implicitReceiverExpr) {
  46496. return this._implicitReceiverExpr;
  46497. }
  46498. return this._implicitReceiverExpr = this.level === 0 ? variable(CONTEXT_NAME) : this._bindingScope.getOrCreateSharedContextVar(0);
  46499. }
  46500. convertPropertyBinding(value) {
  46501. const convertedPropertyBinding = convertPropertyBinding(this, this.getImplicitReceiverExpr(), value, this.bindingContext());
  46502. const valExpr = convertedPropertyBinding.currValExpr;
  46503. this._tempVariables.push(...convertedPropertyBinding.stmts);
  46504. return valExpr;
  46505. }
  46506. /**
  46507. * Gets a list of argument expressions to pass to an update instruction expression. Also updates
  46508. * the temp variables state with temp variables that were identified as needing to be created
  46509. * while visiting the arguments.
  46510. * @param value The original expression we will be resolving an arguments list from.
  46511. */
  46512. getUpdateInstructionArguments(value) {
  46513. const {
  46514. args,
  46515. stmts
  46516. } = convertUpdateArguments(this, this.getImplicitReceiverExpr(), value, this.bindingContext());
  46517. this._tempVariables.push(...stmts);
  46518. return args;
  46519. }
  46520. /**
  46521. * Prepares all attribute expression values for the `TAttributes` array.
  46522. *
  46523. * The purpose of this function is to properly construct an attributes array that
  46524. * is passed into the `elementStart` (or just `element`) functions. Because there
  46525. * are many different types of attributes, the array needs to be constructed in a
  46526. * special way so that `elementStart` can properly evaluate them.
  46527. *
  46528. * The format looks like this:
  46529. *
  46530. * ```
  46531. * attrs = [prop, value, prop2, value2,
  46532. * PROJECT_AS, selector,
  46533. * CLASSES, class1, class2,
  46534. * STYLES, style1, value1, style2, value2,
  46535. * BINDINGS, name1, name2, name3,
  46536. * TEMPLATE, name4, name5, name6,
  46537. * I18N, name7, name8, ...]
  46538. * ```
  46539. *
  46540. * Note that this function will fully ignore all synthetic (@foo) attribute values
  46541. * because those values are intended to always be generated as property instructions.
  46542. */
  46543. getAttributeExpressions(elementName, renderAttributes, inputs, outputs, styles, templateAttrs = [], boundI18nAttrs = []) {
  46544. const alreadySeen = new Set();
  46545. const attrExprs = [];
  46546. let ngProjectAsAttr;
  46547. for (const attr of renderAttributes) {
  46548. if (attr.name === NG_PROJECT_AS_ATTR_NAME) {
  46549. ngProjectAsAttr = attr;
  46550. } // Note that static i18n attributes aren't in the i18n array,
  46551. // because they're treated in the same way as regular attributes.
  46552. if (attr.i18n) {
  46553. // When i18n attributes are present on elements with structural directives
  46554. // (e.g. `<div *ngIf title="Hello" i18n-title>`), we want to avoid generating
  46555. // duplicate i18n translation blocks for `ɵɵtemplate` and `ɵɵelement` instruction
  46556. // attributes. So we do a cache lookup to see if suitable i18n translation block
  46557. // already exists.
  46558. const {
  46559. i18nVarRefsCache
  46560. } = this._constants;
  46561. let i18nVarRef;
  46562. if (i18nVarRefsCache.has(attr.i18n)) {
  46563. i18nVarRef = i18nVarRefsCache.get(attr.i18n);
  46564. } else {
  46565. i18nVarRef = this.i18nTranslate(attr.i18n);
  46566. i18nVarRefsCache.set(attr.i18n, i18nVarRef);
  46567. }
  46568. attrExprs.push(literal(attr.name), i18nVarRef);
  46569. } else {
  46570. attrExprs.push(...getAttributeNameLiterals(attr.name), trustedConstAttribute(elementName, attr));
  46571. }
  46572. } // Keep ngProjectAs next to the other name, value pairs so we can verify that we match
  46573. // ngProjectAs marker in the attribute name slot.
  46574. if (ngProjectAsAttr) {
  46575. attrExprs.push(...getNgProjectAsLiteral(ngProjectAsAttr));
  46576. }
  46577. function addAttrExpr(key, value) {
  46578. if (typeof key === 'string') {
  46579. if (!alreadySeen.has(key)) {
  46580. attrExprs.push(...getAttributeNameLiterals(key));
  46581. value !== undefined && attrExprs.push(value);
  46582. alreadySeen.add(key);
  46583. }
  46584. } else {
  46585. attrExprs.push(literal(key));
  46586. }
  46587. } // it's important that this occurs before BINDINGS and TEMPLATE because once `elementStart`
  46588. // comes across the BINDINGS or TEMPLATE markers then it will continue reading each value as
  46589. // as single property value cell by cell.
  46590. if (styles) {
  46591. styles.populateInitialStylingAttrs(attrExprs);
  46592. }
  46593. if (inputs.length || outputs.length) {
  46594. const attrsLengthBeforeInputs = attrExprs.length;
  46595. for (let i = 0; i < inputs.length; i++) {
  46596. const input = inputs[i]; // We don't want the animation and attribute bindings in the
  46597. // attributes array since they aren't used for directive matching.
  46598. if (input.type !== 4
  46599. /* BindingType.Animation */
  46600. && input.type !== 1
  46601. /* BindingType.Attribute */
  46602. ) {
  46603. addAttrExpr(input.name);
  46604. }
  46605. }
  46606. for (let i = 0; i < outputs.length; i++) {
  46607. const output = outputs[i];
  46608. if (output.type !== 1
  46609. /* ParsedEventType.Animation */
  46610. ) {
  46611. addAttrExpr(output.name);
  46612. }
  46613. } // this is a cheap way of adding the marker only after all the input/output
  46614. // values have been filtered (by not including the animation ones) and added
  46615. // to the expressions. The marker is important because it tells the runtime
  46616. // code that this is where attributes without values start...
  46617. if (attrExprs.length !== attrsLengthBeforeInputs) {
  46618. attrExprs.splice(attrsLengthBeforeInputs, 0, literal(3
  46619. /* core.AttributeMarker.Bindings */
  46620. ));
  46621. }
  46622. }
  46623. if (templateAttrs.length) {
  46624. attrExprs.push(literal(4
  46625. /* core.AttributeMarker.Template */
  46626. ));
  46627. templateAttrs.forEach(attr => addAttrExpr(attr.name));
  46628. }
  46629. if (boundI18nAttrs.length) {
  46630. attrExprs.push(literal(6
  46631. /* core.AttributeMarker.I18n */
  46632. ));
  46633. boundI18nAttrs.forEach(attr => addAttrExpr(attr.name));
  46634. }
  46635. return attrExprs;
  46636. }
  46637. addToConsts(expression) {
  46638. if (isNull(expression)) {
  46639. return TYPED_NULL_EXPR;
  46640. }
  46641. const consts = this._constants.constExpressions; // Try to reuse a literal that's already in the array, if possible.
  46642. for (let i = 0; i < consts.length; i++) {
  46643. if (consts[i].isEquivalent(expression)) {
  46644. return literal(i);
  46645. }
  46646. }
  46647. return literal(consts.push(expression) - 1);
  46648. }
  46649. addAttrsToConsts(attrs) {
  46650. return attrs.length > 0 ? this.addToConsts(literalArr(attrs)) : TYPED_NULL_EXPR;
  46651. }
  46652. prepareRefsArray(references) {
  46653. if (!references || references.length === 0) {
  46654. return TYPED_NULL_EXPR;
  46655. }
  46656. const refsParam = flatten(references.map(reference => {
  46657. const slot = this.allocateDataSlot(); // Generate the update temporary.
  46658. const variableName = this._bindingScope.freshReferenceName();
  46659. const retrievalLevel = this.level;
  46660. const lhs = variable(variableName);
  46661. this._bindingScope.set(retrievalLevel, reference.name, lhs, 0
  46662. /* DeclarationPriority.DEFAULT */
  46663. , (scope, relativeLevel) => {
  46664. // e.g. nextContext(2);
  46665. const nextContextStmt = relativeLevel > 0 ? [generateNextContextExpr(relativeLevel).toStmt()] : []; // e.g. const $foo$ = reference(1);
  46666. const refExpr = lhs.set(importExpr(Identifiers.reference).callFn([literal(slot)]));
  46667. return nextContextStmt.concat(refExpr.toConstDecl());
  46668. }, true);
  46669. return [reference.name, reference.value];
  46670. }));
  46671. return asLiteral(refsParam);
  46672. }
  46673. prepareListenerParameter(tagName, outputAst, index) {
  46674. return () => {
  46675. const eventName = outputAst.name;
  46676. const bindingFnName = outputAst.type === 1
  46677. /* ParsedEventType.Animation */
  46678. ? // synthetic @listener.foo values are treated the exact same as are standard listeners
  46679. prepareSyntheticListenerFunctionName(eventName, outputAst.phase) : sanitizeIdentifier(eventName);
  46680. const handlerName = `${this.templateName}_${tagName}_${bindingFnName}_${index}_listener`;
  46681. const scope = this._bindingScope.nestedScope(this._bindingScope.bindingLevel, EVENT_BINDING_SCOPE_GLOBALS);
  46682. return prepareEventListenerParameters(outputAst, handlerName, scope);
  46683. };
  46684. }
  46685. }
  46686. class ValueConverter extends AstMemoryEfficientTransformer {
  46687. constructor(constantPool, allocateSlot, allocatePureFunctionSlots, definePipe) {
  46688. super();
  46689. this.constantPool = constantPool;
  46690. this.allocateSlot = allocateSlot;
  46691. this.allocatePureFunctionSlots = allocatePureFunctionSlots;
  46692. this.definePipe = definePipe;
  46693. this._pipeBindExprs = [];
  46694. } // AstMemoryEfficientTransformer
  46695. visitPipe(pipe, context) {
  46696. // Allocate a slot to create the pipe
  46697. const slot = this.allocateSlot();
  46698. const slotPseudoLocal = `PIPE:${slot}`; // Allocate one slot for the result plus one slot per pipe argument
  46699. const pureFunctionSlot = this.allocatePureFunctionSlots(2 + pipe.args.length);
  46700. const target = new PropertyRead(pipe.span, pipe.sourceSpan, pipe.nameSpan, new ImplicitReceiver(pipe.span, pipe.sourceSpan), slotPseudoLocal);
  46701. const {
  46702. identifier,
  46703. isVarLength
  46704. } = pipeBindingCallInfo(pipe.args);
  46705. this.definePipe(pipe.name, slotPseudoLocal, slot, importExpr(identifier));
  46706. const args = [pipe.exp, ...pipe.args];
  46707. const convertedArgs = isVarLength ? this.visitAll([new LiteralArray(pipe.span, pipe.sourceSpan, args)]) : this.visitAll(args);
  46708. const pipeBindExpr = new Call(pipe.span, pipe.sourceSpan, target, [new LiteralPrimitive(pipe.span, pipe.sourceSpan, slot), new LiteralPrimitive(pipe.span, pipe.sourceSpan, pureFunctionSlot), ...convertedArgs], null);
  46709. this._pipeBindExprs.push(pipeBindExpr);
  46710. return pipeBindExpr;
  46711. }
  46712. updatePipeSlotOffsets(bindingSlots) {
  46713. this._pipeBindExprs.forEach(pipe => {
  46714. // update the slot offset arg (index 1) to account for binding slots
  46715. const slotOffset = pipe.args[1];
  46716. slotOffset.value += bindingSlots;
  46717. });
  46718. }
  46719. visitLiteralArray(array, context) {
  46720. return new BuiltinFunctionCall(array.span, array.sourceSpan, this.visitAll(array.expressions), values => {
  46721. // If the literal has calculated (non-literal) elements transform it into
  46722. // calls to literal factories that compose the literal and will cache intermediate
  46723. // values.
  46724. const literal = literalArr(values);
  46725. return getLiteralFactory(this.constantPool, literal, this.allocatePureFunctionSlots);
  46726. });
  46727. }
  46728. visitLiteralMap(map, context) {
  46729. return new BuiltinFunctionCall(map.span, map.sourceSpan, this.visitAll(map.values), values => {
  46730. // If the literal has calculated (non-literal) elements transform it into
  46731. // calls to literal factories that compose the literal and will cache intermediate
  46732. // values.
  46733. const literal = literalMap(values.map((value, index) => ({
  46734. key: map.keys[index].key,
  46735. value,
  46736. quoted: map.keys[index].quoted
  46737. })));
  46738. return getLiteralFactory(this.constantPool, literal, this.allocatePureFunctionSlots);
  46739. });
  46740. }
  46741. } // Pipes always have at least one parameter, the value they operate on
  46742. const pipeBindingIdentifiers = [Identifiers.pipeBind1, Identifiers.pipeBind2, Identifiers.pipeBind3, Identifiers.pipeBind4];
  46743. function pipeBindingCallInfo(args) {
  46744. const identifier = pipeBindingIdentifiers[args.length];
  46745. return {
  46746. identifier: identifier || Identifiers.pipeBindV,
  46747. isVarLength: !identifier
  46748. };
  46749. }
  46750. const pureFunctionIdentifiers = [Identifiers.pureFunction0, Identifiers.pureFunction1, Identifiers.pureFunction2, Identifiers.pureFunction3, Identifiers.pureFunction4, Identifiers.pureFunction5, Identifiers.pureFunction6, Identifiers.pureFunction7, Identifiers.pureFunction8];
  46751. function pureFunctionCallInfo(args) {
  46752. const identifier = pureFunctionIdentifiers[args.length];
  46753. return {
  46754. identifier: identifier || Identifiers.pureFunctionV,
  46755. isVarLength: !identifier
  46756. };
  46757. } // e.g. x(2);
  46758. function generateNextContextExpr(relativeLevelDiff) {
  46759. return importExpr(Identifiers.nextContext).callFn(relativeLevelDiff > 1 ? [literal(relativeLevelDiff)] : []);
  46760. }
  46761. function getLiteralFactory(constantPool, literal$1, allocateSlots) {
  46762. const {
  46763. literalFactory,
  46764. literalFactoryArguments
  46765. } = constantPool.getLiteralFactory(literal$1); // Allocate 1 slot for the result plus 1 per argument
  46766. const startSlot = allocateSlots(1 + literalFactoryArguments.length);
  46767. const {
  46768. identifier,
  46769. isVarLength
  46770. } = pureFunctionCallInfo(literalFactoryArguments); // Literal factories are pure functions that only need to be re-invoked when the parameters
  46771. // change.
  46772. const args = [literal(startSlot), literalFactory];
  46773. if (isVarLength) {
  46774. args.push(literalArr(literalFactoryArguments));
  46775. } else {
  46776. args.push(...literalFactoryArguments);
  46777. }
  46778. return importExpr(identifier).callFn(args);
  46779. }
  46780. /**
  46781. * Gets an array of literals that can be added to an expression
  46782. * to represent the name and namespace of an attribute. E.g.
  46783. * `:xlink:href` turns into `[AttributeMarker.NamespaceURI, 'xlink', 'href']`.
  46784. *
  46785. * @param name Name of the attribute, including the namespace.
  46786. */
  46787. function getAttributeNameLiterals(name) {
  46788. const [attributeNamespace, attributeName] = splitNsName(name);
  46789. const nameLiteral = literal(attributeName);
  46790. if (attributeNamespace) {
  46791. return [literal(0
  46792. /* core.AttributeMarker.NamespaceURI */
  46793. ), literal(attributeNamespace), nameLiteral];
  46794. }
  46795. return [nameLiteral];
  46796. }
  46797. /** The prefix used to get a shared context in BindingScope's map. */
  46798. const SHARED_CONTEXT_KEY = '$$shared_ctx$$';
  46799. class BindingScope {
  46800. constructor(bindingLevel = 0, parent = null, globals) {
  46801. this.bindingLevel = bindingLevel;
  46802. this.parent = parent;
  46803. this.globals = globals;
  46804. /** Keeps a map from local variables to their BindingData. */
  46805. this.map = new Map();
  46806. this.referenceNameIndex = 0;
  46807. this.restoreViewVariable = null;
  46808. this.usesRestoredViewContext = false;
  46809. if (globals !== undefined) {
  46810. for (const name of globals) {
  46811. this.set(0, name, variable(name));
  46812. }
  46813. }
  46814. }
  46815. static createRootScope() {
  46816. return new BindingScope();
  46817. }
  46818. get(name) {
  46819. let current = this;
  46820. while (current) {
  46821. let value = current.map.get(name);
  46822. if (value != null) {
  46823. if (current !== this) {
  46824. // make a local copy and reset the `declare` state
  46825. value = {
  46826. retrievalLevel: value.retrievalLevel,
  46827. lhs: value.lhs,
  46828. declareLocalCallback: value.declareLocalCallback,
  46829. declare: false,
  46830. priority: value.priority
  46831. }; // Cache the value locally.
  46832. this.map.set(name, value); // Possibly generate a shared context var
  46833. this.maybeGenerateSharedContextVar(value);
  46834. this.maybeRestoreView();
  46835. }
  46836. if (value.declareLocalCallback && !value.declare) {
  46837. value.declare = true;
  46838. }
  46839. return value.lhs;
  46840. }
  46841. current = current.parent;
  46842. } // If we get to this point, we are looking for a property on the top level component
  46843. // - If level === 0, we are on the top and don't need to re-declare `ctx`.
  46844. // - If level > 0, we are in an embedded view. We need to retrieve the name of the
  46845. // local var we used to store the component context, e.g. const $comp$ = x();
  46846. return this.bindingLevel === 0 ? null : this.getComponentProperty(name);
  46847. }
  46848. /**
  46849. * Create a local variable for later reference.
  46850. *
  46851. * @param retrievalLevel The level from which this value can be retrieved
  46852. * @param name Name of the variable.
  46853. * @param lhs AST representing the left hand side of the `let lhs = rhs;`.
  46854. * @param priority The sorting priority of this var
  46855. * @param declareLocalCallback The callback to invoke when declaring this local var
  46856. * @param localRef Whether or not this is a local ref
  46857. */
  46858. set(retrievalLevel, name, lhs, priority = 0
  46859. /* DeclarationPriority.DEFAULT */
  46860. , declareLocalCallback, localRef) {
  46861. if (this.map.has(name)) {
  46862. if (localRef) {
  46863. // Do not throw an error if it's a local ref and do not update existing value,
  46864. // so the first defined ref is always returned.
  46865. return this;
  46866. }
  46867. error(`The name ${name} is already defined in scope to be ${this.map.get(name)}`);
  46868. }
  46869. this.map.set(name, {
  46870. retrievalLevel: retrievalLevel,
  46871. lhs: lhs,
  46872. declare: false,
  46873. declareLocalCallback: declareLocalCallback,
  46874. priority: priority
  46875. });
  46876. return this;
  46877. } // Implemented as part of LocalResolver.
  46878. getLocal(name) {
  46879. return this.get(name);
  46880. } // Implemented as part of LocalResolver.
  46881. notifyImplicitReceiverUse() {
  46882. if (this.bindingLevel !== 0) {
  46883. // Since the implicit receiver is accessed in an embedded view, we need to
  46884. // ensure that we declare a shared context variable for the current template
  46885. // in the update variables.
  46886. this.map.get(SHARED_CONTEXT_KEY + 0).declare = true;
  46887. }
  46888. }
  46889. nestedScope(level, globals) {
  46890. const newScope = new BindingScope(level, this, globals);
  46891. if (level > 0) newScope.generateSharedContextVar(0);
  46892. return newScope;
  46893. }
  46894. /**
  46895. * Gets or creates a shared context variable and returns its expression. Note that
  46896. * this does not mean that the shared variable will be declared. Variables in the
  46897. * binding scope will be only declared if they are used.
  46898. */
  46899. getOrCreateSharedContextVar(retrievalLevel) {
  46900. const bindingKey = SHARED_CONTEXT_KEY + retrievalLevel;
  46901. if (!this.map.has(bindingKey)) {
  46902. this.generateSharedContextVar(retrievalLevel);
  46903. } // Shared context variables are always generated as "ReadVarExpr".
  46904. return this.map.get(bindingKey).lhs;
  46905. }
  46906. getSharedContextName(retrievalLevel) {
  46907. const sharedCtxObj = this.map.get(SHARED_CONTEXT_KEY + retrievalLevel); // Shared context variables are always generated as "ReadVarExpr".
  46908. return sharedCtxObj && sharedCtxObj.declare ? sharedCtxObj.lhs : null;
  46909. }
  46910. maybeGenerateSharedContextVar(value) {
  46911. if (value.priority === 1
  46912. /* DeclarationPriority.CONTEXT */
  46913. && value.retrievalLevel < this.bindingLevel) {
  46914. const sharedCtxObj = this.map.get(SHARED_CONTEXT_KEY + value.retrievalLevel);
  46915. if (sharedCtxObj) {
  46916. sharedCtxObj.declare = true;
  46917. } else {
  46918. this.generateSharedContextVar(value.retrievalLevel);
  46919. }
  46920. }
  46921. }
  46922. generateSharedContextVar(retrievalLevel) {
  46923. const lhs = variable(CONTEXT_NAME + this.freshReferenceName());
  46924. this.map.set(SHARED_CONTEXT_KEY + retrievalLevel, {
  46925. retrievalLevel: retrievalLevel,
  46926. lhs: lhs,
  46927. declareLocalCallback: (scope, relativeLevel) => {
  46928. // const ctx_r0 = nextContext(2);
  46929. return [lhs.set(generateNextContextExpr(relativeLevel)).toConstDecl()];
  46930. },
  46931. declare: false,
  46932. priority: 2
  46933. /* DeclarationPriority.SHARED_CONTEXT */
  46934. });
  46935. }
  46936. getComponentProperty(name) {
  46937. const componentValue = this.map.get(SHARED_CONTEXT_KEY + 0);
  46938. componentValue.declare = true;
  46939. this.maybeRestoreView();
  46940. return componentValue.lhs.prop(name);
  46941. }
  46942. maybeRestoreView() {
  46943. // View restoration is required for listener instructions inside embedded views, because
  46944. // they only run in creation mode and they can have references to the context object.
  46945. // If the context object changes in update mode, the reference will be incorrect, because
  46946. // it was established during creation.
  46947. if (this.isListenerScope()) {
  46948. if (!this.parent.restoreViewVariable) {
  46949. // parent saves variable to generate a shared `const $s$ = getCurrentView();` instruction
  46950. this.parent.restoreViewVariable = variable(this.parent.freshReferenceName());
  46951. }
  46952. this.restoreViewVariable = this.parent.restoreViewVariable;
  46953. }
  46954. }
  46955. restoreViewStatement() {
  46956. if (this.restoreViewVariable) {
  46957. const restoreCall = invokeInstruction(null, Identifiers.restoreView, [this.restoreViewVariable]); // Either `const restoredCtx = restoreView($state$);` or `restoreView($state$);`
  46958. // depending on whether it is being used.
  46959. return this.usesRestoredViewContext ? variable(RESTORED_VIEW_CONTEXT_NAME).set(restoreCall).toConstDecl() : restoreCall.toStmt();
  46960. }
  46961. return null;
  46962. }
  46963. viewSnapshotStatements() {
  46964. // const $state$ = getCurrentView();
  46965. return this.restoreViewVariable ? [this.restoreViewVariable.set(invokeInstruction(null, Identifiers.getCurrentView, [])).toConstDecl()] : [];
  46966. }
  46967. isListenerScope() {
  46968. return this.parent && this.parent.bindingLevel === this.bindingLevel;
  46969. }
  46970. variableDeclarations() {
  46971. let currentContextLevel = 0;
  46972. return Array.from(this.map.values()).filter(value => value.declare).sort((a, b) => b.retrievalLevel - a.retrievalLevel || b.priority - a.priority).reduce((stmts, value) => {
  46973. const levelDiff = this.bindingLevel - value.retrievalLevel;
  46974. const currStmts = value.declareLocalCallback(this, levelDiff - currentContextLevel);
  46975. currentContextLevel = levelDiff;
  46976. return stmts.concat(currStmts);
  46977. }, []);
  46978. }
  46979. freshReferenceName() {
  46980. let current = this; // Find the top scope as it maintains the global reference count
  46981. while (current.parent) current = current.parent;
  46982. const ref = `${REFERENCE_PREFIX}${current.referenceNameIndex++}`;
  46983. return ref;
  46984. }
  46985. hasRestoreViewVariable() {
  46986. return !!this.restoreViewVariable;
  46987. }
  46988. notifyRestoredViewContextUse() {
  46989. this.usesRestoredViewContext = true;
  46990. }
  46991. }
  46992. /**
  46993. * Creates a `CssSelector` given a tag name and a map of attributes
  46994. */
  46995. function createCssSelector(elementName, attributes) {
  46996. const cssSelector = new CssSelector();
  46997. const elementNameNoNs = splitNsName(elementName)[1];
  46998. cssSelector.setElement(elementNameNoNs);
  46999. Object.getOwnPropertyNames(attributes).forEach(name => {
  47000. const nameNoNs = splitNsName(name)[1];
  47001. const value = attributes[name];
  47002. cssSelector.addAttribute(nameNoNs, value);
  47003. if (name.toLowerCase() === 'class') {
  47004. const classes = value.trim().split(/\s+/);
  47005. classes.forEach(className => cssSelector.addClassName(className));
  47006. }
  47007. });
  47008. return cssSelector;
  47009. }
  47010. /**
  47011. * Creates an array of expressions out of an `ngProjectAs` attributes
  47012. * which can be added to the instruction parameters.
  47013. */
  47014. function getNgProjectAsLiteral(attribute) {
  47015. // Parse the attribute value into a CssSelectorList. Note that we only take the
  47016. // first selector, because we don't support multiple selectors in ngProjectAs.
  47017. const parsedR3Selector = parseSelectorToR3Selector(attribute.value)[0];
  47018. return [literal(5
  47019. /* core.AttributeMarker.ProjectAs */
  47020. ), asLiteral(parsedR3Selector)];
  47021. }
  47022. /**
  47023. * Gets the instruction to generate for an interpolated property
  47024. * @param interpolation An Interpolation AST
  47025. */
  47026. function getPropertyInterpolationExpression(interpolation) {
  47027. switch (getInterpolationArgsLength(interpolation)) {
  47028. case 1:
  47029. return Identifiers.propertyInterpolate;
  47030. case 3:
  47031. return Identifiers.propertyInterpolate1;
  47032. case 5:
  47033. return Identifiers.propertyInterpolate2;
  47034. case 7:
  47035. return Identifiers.propertyInterpolate3;
  47036. case 9:
  47037. return Identifiers.propertyInterpolate4;
  47038. case 11:
  47039. return Identifiers.propertyInterpolate5;
  47040. case 13:
  47041. return Identifiers.propertyInterpolate6;
  47042. case 15:
  47043. return Identifiers.propertyInterpolate7;
  47044. case 17:
  47045. return Identifiers.propertyInterpolate8;
  47046. default:
  47047. return Identifiers.propertyInterpolateV;
  47048. }
  47049. }
  47050. /**
  47051. * Gets the instruction to generate for an interpolated attribute
  47052. * @param interpolation An Interpolation AST
  47053. */
  47054. function getAttributeInterpolationExpression(interpolation) {
  47055. switch (getInterpolationArgsLength(interpolation)) {
  47056. case 3:
  47057. return Identifiers.attributeInterpolate1;
  47058. case 5:
  47059. return Identifiers.attributeInterpolate2;
  47060. case 7:
  47061. return Identifiers.attributeInterpolate3;
  47062. case 9:
  47063. return Identifiers.attributeInterpolate4;
  47064. case 11:
  47065. return Identifiers.attributeInterpolate5;
  47066. case 13:
  47067. return Identifiers.attributeInterpolate6;
  47068. case 15:
  47069. return Identifiers.attributeInterpolate7;
  47070. case 17:
  47071. return Identifiers.attributeInterpolate8;
  47072. default:
  47073. return Identifiers.attributeInterpolateV;
  47074. }
  47075. }
  47076. /**
  47077. * Gets the instruction to generate for interpolated text.
  47078. * @param interpolation An Interpolation AST
  47079. */
  47080. function getTextInterpolationExpression(interpolation) {
  47081. switch (getInterpolationArgsLength(interpolation)) {
  47082. case 1:
  47083. return Identifiers.textInterpolate;
  47084. case 3:
  47085. return Identifiers.textInterpolate1;
  47086. case 5:
  47087. return Identifiers.textInterpolate2;
  47088. case 7:
  47089. return Identifiers.textInterpolate3;
  47090. case 9:
  47091. return Identifiers.textInterpolate4;
  47092. case 11:
  47093. return Identifiers.textInterpolate5;
  47094. case 13:
  47095. return Identifiers.textInterpolate6;
  47096. case 15:
  47097. return Identifiers.textInterpolate7;
  47098. case 17:
  47099. return Identifiers.textInterpolate8;
  47100. default:
  47101. return Identifiers.textInterpolateV;
  47102. }
  47103. }
  47104. /**
  47105. * Parse a template into render3 `Node`s and additional metadata, with no other dependencies.
  47106. *
  47107. * @param template text of the template to parse
  47108. * @param templateUrl URL to use for source mapping of the parsed template
  47109. * @param options options to modify how the template is parsed
  47110. */
  47111. function parseTemplate(template, templateUrl, options = {}) {
  47112. const {
  47113. interpolationConfig,
  47114. preserveWhitespaces,
  47115. enableI18nLegacyMessageIdFormat
  47116. } = options;
  47117. const bindingParser = makeBindingParser(interpolationConfig);
  47118. const htmlParser = new HtmlParser();
  47119. const parseResult = htmlParser.parse(template, templateUrl, Object.assign(Object.assign({
  47120. leadingTriviaChars: LEADING_TRIVIA_CHARS
  47121. }, options), {
  47122. tokenizeExpansionForms: true
  47123. }));
  47124. if (!options.alwaysAttemptHtmlToR3AstConversion && parseResult.errors && parseResult.errors.length > 0) {
  47125. const parsedTemplate = {
  47126. interpolationConfig,
  47127. preserveWhitespaces,
  47128. errors: parseResult.errors,
  47129. nodes: [],
  47130. styleUrls: [],
  47131. styles: [],
  47132. ngContentSelectors: []
  47133. };
  47134. if (options.collectCommentNodes) {
  47135. parsedTemplate.commentNodes = [];
  47136. }
  47137. return parsedTemplate;
  47138. }
  47139. let rootNodes = parseResult.rootNodes; // process i18n meta information (scan attributes, generate ids)
  47140. // before we run whitespace removal process, because existing i18n
  47141. // extraction process (ng extract-i18n) relies on a raw content to generate
  47142. // message ids
  47143. const i18nMetaVisitor = new I18nMetaVisitor(interpolationConfig,
  47144. /* keepI18nAttrs */
  47145. !preserveWhitespaces, enableI18nLegacyMessageIdFormat);
  47146. const i18nMetaResult = i18nMetaVisitor.visitAllWithErrors(rootNodes);
  47147. if (!options.alwaysAttemptHtmlToR3AstConversion && i18nMetaResult.errors && i18nMetaResult.errors.length > 0) {
  47148. const parsedTemplate = {
  47149. interpolationConfig,
  47150. preserveWhitespaces,
  47151. errors: i18nMetaResult.errors,
  47152. nodes: [],
  47153. styleUrls: [],
  47154. styles: [],
  47155. ngContentSelectors: []
  47156. };
  47157. if (options.collectCommentNodes) {
  47158. parsedTemplate.commentNodes = [];
  47159. }
  47160. return parsedTemplate;
  47161. }
  47162. rootNodes = i18nMetaResult.rootNodes;
  47163. if (!preserveWhitespaces) {
  47164. rootNodes = visitAll(new WhitespaceVisitor(), rootNodes); // run i18n meta visitor again in case whitespaces are removed (because that might affect
  47165. // generated i18n message content) and first pass indicated that i18n content is present in a
  47166. // template. During this pass i18n IDs generated at the first pass will be preserved, so we can
  47167. // mimic existing extraction process (ng extract-i18n)
  47168. if (i18nMetaVisitor.hasI18nMeta) {
  47169. rootNodes = visitAll(new I18nMetaVisitor(interpolationConfig,
  47170. /* keepI18nAttrs */
  47171. false), rootNodes);
  47172. }
  47173. }
  47174. const {
  47175. nodes,
  47176. errors,
  47177. styleUrls,
  47178. styles,
  47179. ngContentSelectors,
  47180. commentNodes
  47181. } = htmlAstToRender3Ast(rootNodes, bindingParser, {
  47182. collectCommentNodes: !!options.collectCommentNodes
  47183. });
  47184. errors.push(...parseResult.errors, ...i18nMetaResult.errors);
  47185. const parsedTemplate = {
  47186. interpolationConfig,
  47187. preserveWhitespaces,
  47188. errors: errors.length > 0 ? errors : null,
  47189. nodes,
  47190. styleUrls,
  47191. styles,
  47192. ngContentSelectors
  47193. };
  47194. if (options.collectCommentNodes) {
  47195. parsedTemplate.commentNodes = commentNodes;
  47196. }
  47197. return parsedTemplate;
  47198. }
  47199. const elementRegistry = new DomElementSchemaRegistry();
  47200. /**
  47201. * Construct a `BindingParser` with a default configuration.
  47202. */
  47203. function makeBindingParser(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG) {
  47204. return new BindingParser(new Parser$1(new Lexer()), interpolationConfig, elementRegistry, []);
  47205. }
  47206. function resolveSanitizationFn(context, isAttribute) {
  47207. switch (context) {
  47208. case SecurityContext.HTML:
  47209. return importExpr(Identifiers.sanitizeHtml);
  47210. case SecurityContext.SCRIPT:
  47211. return importExpr(Identifiers.sanitizeScript);
  47212. case SecurityContext.STYLE:
  47213. // the compiler does not fill in an instruction for [style.prop?] binding
  47214. // values because the style algorithm knows internally what props are subject
  47215. // to sanitization (only [attr.style] values are explicitly sanitized)
  47216. return isAttribute ? importExpr(Identifiers.sanitizeStyle) : null;
  47217. case SecurityContext.URL:
  47218. return importExpr(Identifiers.sanitizeUrl);
  47219. case SecurityContext.RESOURCE_URL:
  47220. return importExpr(Identifiers.sanitizeResourceUrl);
  47221. default:
  47222. return null;
  47223. }
  47224. }
  47225. function trustedConstAttribute(tagName, attr) {
  47226. const value = asLiteral(attr.value);
  47227. if (isTrustedTypesSink(tagName, attr.name)) {
  47228. switch (elementRegistry.securityContext(tagName, attr.name,
  47229. /* isAttribute */
  47230. true)) {
  47231. case SecurityContext.HTML:
  47232. return taggedTemplate(importExpr(Identifiers.trustConstantHtml), new TemplateLiteral([new TemplateLiteralElement(attr.value)], []), undefined, attr.valueSpan);
  47233. // NB: no SecurityContext.SCRIPT here, as the corresponding tags are stripped by the compiler.
  47234. case SecurityContext.RESOURCE_URL:
  47235. return taggedTemplate(importExpr(Identifiers.trustConstantResourceUrl), new TemplateLiteral([new TemplateLiteralElement(attr.value)], []), undefined, attr.valueSpan);
  47236. default:
  47237. return value;
  47238. }
  47239. } else {
  47240. return value;
  47241. }
  47242. }
  47243. function isSingleElementTemplate(children) {
  47244. return children.length === 1 && children[0] instanceof Element$1;
  47245. }
  47246. function isTextNode(node) {
  47247. return node instanceof Text$3 || node instanceof BoundText || node instanceof Icu$1;
  47248. }
  47249. function hasTextChildrenOnly(children) {
  47250. return children.every(isTextNode);
  47251. }
  47252. function getBindingFunctionParams(deferredParams, name, eagerParams) {
  47253. return () => {
  47254. const value = deferredParams();
  47255. const fnParams = Array.isArray(value) ? value : [value];
  47256. if (eagerParams) {
  47257. fnParams.push(...eagerParams);
  47258. }
  47259. if (name) {
  47260. // We want the property name to always be the first function parameter.
  47261. fnParams.unshift(literal(name));
  47262. }
  47263. return fnParams;
  47264. };
  47265. }
  47266. /** Name of the global variable that is used to determine if we use Closure translations or not */
  47267. const NG_I18N_CLOSURE_MODE = 'ngI18nClosureMode';
  47268. /**
  47269. * Generate statements that define a given translation message.
  47270. *
  47271. * ```
  47272. * var I18N_1;
  47273. * if (typeof ngI18nClosureMode !== undefined && ngI18nClosureMode) {
  47274. * var MSG_EXTERNAL_XXX = goog.getMsg(
  47275. * "Some message with {$interpolation}!",
  47276. * { "interpolation": "\uFFFD0\uFFFD" }
  47277. * );
  47278. * I18N_1 = MSG_EXTERNAL_XXX;
  47279. * }
  47280. * else {
  47281. * I18N_1 = $localize`Some message with ${'\uFFFD0\uFFFD'}!`;
  47282. * }
  47283. * ```
  47284. *
  47285. * @param message The original i18n AST message node
  47286. * @param variable The variable that will be assigned the translation, e.g. `I18N_1`.
  47287. * @param closureVar The variable for Closure `goog.getMsg` calls, e.g. `MSG_EXTERNAL_XXX`.
  47288. * @param params Object mapping placeholder names to their values (e.g.
  47289. * `{ "interpolation": "\uFFFD0\uFFFD" }`).
  47290. * @param transformFn Optional transformation function that will be applied to the translation (e.g.
  47291. * post-processing).
  47292. * @returns An array of statements that defined a given translation.
  47293. */
  47294. function getTranslationDeclStmts(message, variable, closureVar, params = {}, transformFn) {
  47295. const statements = [declareI18nVariable(variable), ifStmt(createClosureModeGuard(), createGoogleGetMsgStatements(variable, message, closureVar, params), createLocalizeStatements(variable, message, formatI18nPlaceholderNamesInMap(params,
  47296. /* useCamelCase */
  47297. false)))];
  47298. if (transformFn) {
  47299. statements.push(new ExpressionStatement(variable.set(transformFn(variable))));
  47300. }
  47301. return statements;
  47302. }
  47303. /**
  47304. * Create the expression that will be used to guard the closure mode block
  47305. * It is equivalent to:
  47306. *
  47307. * ```
  47308. * typeof ngI18nClosureMode !== undefined && ngI18nClosureMode
  47309. * ```
  47310. */
  47311. function createClosureModeGuard() {
  47312. return typeofExpr(variable(NG_I18N_CLOSURE_MODE)).notIdentical(literal('undefined', STRING_TYPE)).and(variable(NG_I18N_CLOSURE_MODE));
  47313. }
  47314. function flatten(list) {
  47315. return list.reduce((flat, item) => {
  47316. const flatItem = Array.isArray(item) ? flatten(item) : item;
  47317. return flat.concat(flatItem);
  47318. }, []);
  47319. }
  47320. /**
  47321. * @license
  47322. * Copyright Google LLC All Rights Reserved.
  47323. *
  47324. * Use of this source code is governed by an MIT-style license that can be
  47325. * found in the LICENSE file at https://angular.io/license
  47326. */
  47327. // This regex matches any binding names that contain the "attr." prefix, e.g. "attr.required"
  47328. // If there is a match, the first matching group will contain the attribute name to bind.
  47329. const ATTR_REGEX = /attr\.([^\]]+)/;
  47330. const COMPONENT_VARIABLE = '%COMP%';
  47331. const HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
  47332. const CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;
  47333. function baseDirectiveFields(meta, constantPool, bindingParser) {
  47334. const definitionMap = new DefinitionMap();
  47335. const selectors = parseSelectorToR3Selector(meta.selector); // e.g. `type: MyDirective`
  47336. definitionMap.set('type', meta.internalType); // e.g. `selectors: [['', 'someDir', '']]`
  47337. if (selectors.length > 0) {
  47338. definitionMap.set('selectors', asLiteral(selectors));
  47339. }
  47340. if (meta.queries.length > 0) {
  47341. // e.g. `contentQueries: (rf, ctx, dirIndex) => { ... }
  47342. definitionMap.set('contentQueries', createContentQueriesFunction(meta.queries, constantPool, meta.name));
  47343. }
  47344. if (meta.viewQueries.length) {
  47345. definitionMap.set('viewQuery', createViewQueriesFunction(meta.viewQueries, constantPool, meta.name));
  47346. } // e.g. `hostBindings: (rf, ctx) => { ... }
  47347. definitionMap.set('hostBindings', createHostBindingsFunction(meta.host, meta.typeSourceSpan, bindingParser, constantPool, meta.selector || '', meta.name, definitionMap)); // e.g 'inputs: {a: 'a'}`
  47348. definitionMap.set('inputs', conditionallyCreateMapObjectLiteral(meta.inputs, true)); // e.g 'outputs: {a: 'a'}`
  47349. definitionMap.set('outputs', conditionallyCreateMapObjectLiteral(meta.outputs));
  47350. if (meta.exportAs !== null) {
  47351. definitionMap.set('exportAs', literalArr(meta.exportAs.map(e => literal(e))));
  47352. }
  47353. if (meta.isStandalone) {
  47354. definitionMap.set('standalone', literal(true));
  47355. }
  47356. return definitionMap;
  47357. }
  47358. /**
  47359. * Add features to the definition map.
  47360. */
  47361. function addFeatures(definitionMap, meta) {
  47362. // e.g. `features: [NgOnChangesFeature]`
  47363. const features = [];
  47364. const providers = meta.providers;
  47365. const viewProviders = meta.viewProviders;
  47366. if (providers || viewProviders) {
  47367. const args = [providers || new LiteralArrayExpr([])];
  47368. if (viewProviders) {
  47369. args.push(viewProviders);
  47370. }
  47371. features.push(importExpr(Identifiers.ProvidersFeature).callFn(args));
  47372. }
  47373. if (meta.usesInheritance) {
  47374. features.push(importExpr(Identifiers.InheritDefinitionFeature));
  47375. }
  47376. if (meta.fullInheritance) {
  47377. features.push(importExpr(Identifiers.CopyDefinitionFeature));
  47378. }
  47379. if (meta.lifecycle.usesOnChanges) {
  47380. features.push(importExpr(Identifiers.NgOnChangesFeature));
  47381. } // TODO: better way of differentiating component vs directive metadata.
  47382. if (meta.hasOwnProperty('template') && meta.isStandalone) {
  47383. features.push(importExpr(Identifiers.StandaloneFeature));
  47384. }
  47385. if (features.length) {
  47386. definitionMap.set('features', literalArr(features));
  47387. }
  47388. }
  47389. /**
  47390. * Compile a directive for the render3 runtime as defined by the `R3DirectiveMetadata`.
  47391. */
  47392. function compileDirectiveFromMetadata(meta, constantPool, bindingParser) {
  47393. const definitionMap = baseDirectiveFields(meta, constantPool, bindingParser);
  47394. addFeatures(definitionMap, meta);
  47395. const expression = importExpr(Identifiers.defineDirective).callFn([definitionMap.toLiteralMap()], undefined, true);
  47396. const type = createDirectiveType(meta);
  47397. return {
  47398. expression,
  47399. type,
  47400. statements: []
  47401. };
  47402. }
  47403. /**
  47404. * Compile a component for the render3 runtime as defined by the `R3ComponentMetadata`.
  47405. */
  47406. function compileComponentFromMetadata(meta, constantPool, bindingParser) {
  47407. const definitionMap = baseDirectiveFields(meta, constantPool, bindingParser);
  47408. addFeatures(definitionMap, meta);
  47409. const selector = meta.selector && CssSelector.parse(meta.selector);
  47410. const firstSelector = selector && selector[0]; // e.g. `attr: ["class", ".my.app"]`
  47411. // This is optional an only included if the first selector of a component specifies attributes.
  47412. if (firstSelector) {
  47413. const selectorAttributes = firstSelector.getAttrs();
  47414. if (selectorAttributes.length) {
  47415. definitionMap.set('attrs', constantPool.getConstLiteral(literalArr(selectorAttributes.map(value => value != null ? literal(value) : literal(undefined))),
  47416. /* forceShared */
  47417. true));
  47418. }
  47419. } // e.g. `template: function MyComponent_Template(_ctx, _cm) {...}`
  47420. const templateTypeName = meta.name;
  47421. const templateName = templateTypeName ? `${templateTypeName}_Template` : null;
  47422. const changeDetection = meta.changeDetection;
  47423. const template = meta.template;
  47424. const templateBuilder = new TemplateDefinitionBuilder(constantPool, BindingScope.createRootScope(), 0, templateTypeName, null, null, templateName, Identifiers.namespaceHTML, meta.relativeContextFilePath, meta.i18nUseExternalIds);
  47425. const templateFunctionExpression = templateBuilder.buildTemplateFunction(template.nodes, []); // We need to provide this so that dynamically generated components know what
  47426. // projected content blocks to pass through to the component when it is instantiated.
  47427. const ngContentSelectors = templateBuilder.getNgContentSelectors();
  47428. if (ngContentSelectors) {
  47429. definitionMap.set('ngContentSelectors', ngContentSelectors);
  47430. } // e.g. `decls: 2`
  47431. definitionMap.set('decls', literal(templateBuilder.getConstCount())); // e.g. `vars: 2`
  47432. definitionMap.set('vars', literal(templateBuilder.getVarCount())); // Generate `consts` section of ComponentDef:
  47433. // - either as an array:
  47434. // `consts: [['one', 'two'], ['three', 'four']]`
  47435. // - or as a factory function in case additional statements are present (to support i18n):
  47436. // `consts: function() { var i18n_0; if (ngI18nClosureMode) {...} else {...} return [i18n_0]; }`
  47437. const {
  47438. constExpressions,
  47439. prepareStatements
  47440. } = templateBuilder.getConsts();
  47441. if (constExpressions.length > 0) {
  47442. let constsExpr = literalArr(constExpressions); // Prepare statements are present - turn `consts` into a function.
  47443. if (prepareStatements.length > 0) {
  47444. constsExpr = fn([], [...prepareStatements, new ReturnStatement(constsExpr)]);
  47445. }
  47446. definitionMap.set('consts', constsExpr);
  47447. }
  47448. definitionMap.set('template', templateFunctionExpression);
  47449. if (meta.declarations.length > 0) {
  47450. definitionMap.set('dependencies', compileDeclarationList(literalArr(meta.declarations.map(decl => decl.type)), meta.declarationListEmitMode));
  47451. }
  47452. if (meta.encapsulation === null) {
  47453. meta.encapsulation = ViewEncapsulation.Emulated;
  47454. } // e.g. `styles: [str1, str2]`
  47455. if (meta.styles && meta.styles.length) {
  47456. const styleValues = meta.encapsulation == ViewEncapsulation.Emulated ? compileStyles(meta.styles, CONTENT_ATTR, HOST_ATTR) : meta.styles;
  47457. const styleNodes = styleValues.reduce((result, style) => {
  47458. if (style.trim().length > 0) {
  47459. result.push(constantPool.getConstLiteral(literal(style)));
  47460. }
  47461. return result;
  47462. }, []);
  47463. if (styleNodes.length > 0) {
  47464. definitionMap.set('styles', literalArr(styleNodes));
  47465. }
  47466. } else if (meta.encapsulation === ViewEncapsulation.Emulated) {
  47467. // If there is no style, don't generate css selectors on elements
  47468. meta.encapsulation = ViewEncapsulation.None;
  47469. } // Only set view encapsulation if it's not the default value
  47470. if (meta.encapsulation !== ViewEncapsulation.Emulated) {
  47471. definitionMap.set('encapsulation', literal(meta.encapsulation));
  47472. } // e.g. `animation: [trigger('123', [])]`
  47473. if (meta.animations !== null) {
  47474. definitionMap.set('data', literalMap([{
  47475. key: 'animation',
  47476. value: meta.animations,
  47477. quoted: false
  47478. }]));
  47479. } // Only set the change detection flag if it's defined and it's not the default.
  47480. if (changeDetection != null && changeDetection !== ChangeDetectionStrategy.Default) {
  47481. definitionMap.set('changeDetection', literal(changeDetection));
  47482. }
  47483. const expression = importExpr(Identifiers.defineComponent).callFn([definitionMap.toLiteralMap()], undefined, true);
  47484. const type = createComponentType(meta);
  47485. return {
  47486. expression,
  47487. type,
  47488. statements: []
  47489. };
  47490. }
  47491. /**
  47492. * Creates the type specification from the component meta. This type is inserted into .d.ts files
  47493. * to be consumed by upstream compilations.
  47494. */
  47495. function createComponentType(meta) {
  47496. const typeParams = createBaseDirectiveTypeParams(meta);
  47497. typeParams.push(stringArrayAsType(meta.template.ngContentSelectors));
  47498. typeParams.push(expressionType(literal(meta.isStandalone)));
  47499. return expressionType(importExpr(Identifiers.ComponentDeclaration, typeParams));
  47500. }
  47501. /**
  47502. * Compiles the array literal of declarations into an expression according to the provided emit
  47503. * mode.
  47504. */
  47505. function compileDeclarationList(list, mode) {
  47506. switch (mode) {
  47507. case 0
  47508. /* DeclarationListEmitMode.Direct */
  47509. :
  47510. // directives: [MyDir],
  47511. return list;
  47512. case 1
  47513. /* DeclarationListEmitMode.Closure */
  47514. :
  47515. // directives: function () { return [MyDir]; }
  47516. return fn([], [new ReturnStatement(list)]);
  47517. case 2
  47518. /* DeclarationListEmitMode.ClosureResolved */
  47519. :
  47520. // directives: function () { return [MyDir].map(ng.resolveForwardRef); }
  47521. const resolvedList = list.prop('map').callFn([importExpr(Identifiers.resolveForwardRef)]);
  47522. return fn([], [new ReturnStatement(resolvedList)]);
  47523. }
  47524. }
  47525. function prepareQueryParams(query, constantPool) {
  47526. const parameters = [getQueryPredicate(query, constantPool), literal(toQueryFlags(query))];
  47527. if (query.read) {
  47528. parameters.push(query.read);
  47529. }
  47530. return parameters;
  47531. }
  47532. /**
  47533. * Translates query flags into `TQueryFlags` type in packages/core/src/render3/interfaces/query.ts
  47534. * @param query
  47535. */
  47536. function toQueryFlags(query) {
  47537. return (query.descendants ? 1
  47538. /* QueryFlags.descendants */
  47539. : 0
  47540. /* QueryFlags.none */
  47541. ) | (query.static ? 2
  47542. /* QueryFlags.isStatic */
  47543. : 0
  47544. /* QueryFlags.none */
  47545. ) | (query.emitDistinctChangesOnly ? 4
  47546. /* QueryFlags.emitDistinctChangesOnly */
  47547. : 0
  47548. /* QueryFlags.none */
  47549. );
  47550. }
  47551. function convertAttributesToExpressions(attributes) {
  47552. const values = [];
  47553. for (let key of Object.getOwnPropertyNames(attributes)) {
  47554. const value = attributes[key];
  47555. values.push(literal(key), value);
  47556. }
  47557. return values;
  47558. } // Define and update any content queries
  47559. function createContentQueriesFunction(queries, constantPool, name) {
  47560. const createStatements = [];
  47561. const updateStatements = [];
  47562. const tempAllocator = temporaryAllocator(updateStatements, TEMPORARY_NAME);
  47563. for (const query of queries) {
  47564. // creation, e.g. r3.contentQuery(dirIndex, somePredicate, true, null);
  47565. createStatements.push(importExpr(Identifiers.contentQuery).callFn([variable('dirIndex'), ...prepareQueryParams(query, constantPool)]).toStmt()); // update, e.g. (r3.queryRefresh(tmp = r3.loadQuery()) && (ctx.someDir = tmp));
  47566. const temporary = tempAllocator();
  47567. const getQueryList = importExpr(Identifiers.loadQuery).callFn([]);
  47568. const refresh = importExpr(Identifiers.queryRefresh).callFn([temporary.set(getQueryList)]);
  47569. const updateDirective = variable(CONTEXT_NAME).prop(query.propertyName).set(query.first ? temporary.prop('first') : temporary);
  47570. updateStatements.push(refresh.and(updateDirective).toStmt());
  47571. }
  47572. const contentQueriesFnName = name ? `${name}_ContentQueries` : null;
  47573. return fn([new FnParam(RENDER_FLAGS, NUMBER_TYPE), new FnParam(CONTEXT_NAME, null), new FnParam('dirIndex', null)], [renderFlagCheckIfStmt(1
  47574. /* core.RenderFlags.Create */
  47575. , createStatements), renderFlagCheckIfStmt(2
  47576. /* core.RenderFlags.Update */
  47577. , updateStatements)], INFERRED_TYPE, null, contentQueriesFnName);
  47578. }
  47579. function stringAsType(str) {
  47580. return expressionType(literal(str));
  47581. }
  47582. function stringMapAsType(map) {
  47583. const mapValues = Object.keys(map).map(key => {
  47584. const value = Array.isArray(map[key]) ? map[key][0] : map[key];
  47585. return {
  47586. key,
  47587. value: literal(value),
  47588. quoted: true
  47589. };
  47590. });
  47591. return expressionType(literalMap(mapValues));
  47592. }
  47593. function stringArrayAsType(arr) {
  47594. return arr.length > 0 ? expressionType(literalArr(arr.map(value => literal(value)))) : NONE_TYPE;
  47595. }
  47596. function createBaseDirectiveTypeParams(meta) {
  47597. // On the type side, remove newlines from the selector as it will need to fit into a TypeScript
  47598. // string literal, which must be on one line.
  47599. const selectorForType = meta.selector !== null ? meta.selector.replace(/\n/g, '') : null;
  47600. return [typeWithParameters(meta.type.type, meta.typeArgumentCount), selectorForType !== null ? stringAsType(selectorForType) : NONE_TYPE, meta.exportAs !== null ? stringArrayAsType(meta.exportAs) : NONE_TYPE, stringMapAsType(meta.inputs), stringMapAsType(meta.outputs), stringArrayAsType(meta.queries.map(q => q.propertyName))];
  47601. }
  47602. /**
  47603. * Creates the type specification from the directive meta. This type is inserted into .d.ts files
  47604. * to be consumed by upstream compilations.
  47605. */
  47606. function createDirectiveType(meta) {
  47607. const typeParams = createBaseDirectiveTypeParams(meta); // Directives have no NgContentSelectors slot, but instead express a `never` type
  47608. // so that future fields align.
  47609. typeParams.push(NONE_TYPE);
  47610. typeParams.push(expressionType(literal(meta.isStandalone)));
  47611. return expressionType(importExpr(Identifiers.DirectiveDeclaration, typeParams));
  47612. } // Define and update any view queries
  47613. function createViewQueriesFunction(viewQueries, constantPool, name) {
  47614. const createStatements = [];
  47615. const updateStatements = [];
  47616. const tempAllocator = temporaryAllocator(updateStatements, TEMPORARY_NAME);
  47617. viewQueries.forEach(query => {
  47618. // creation, e.g. r3.viewQuery(somePredicate, true);
  47619. const queryDefinition = importExpr(Identifiers.viewQuery).callFn(prepareQueryParams(query, constantPool));
  47620. createStatements.push(queryDefinition.toStmt()); // update, e.g. (r3.queryRefresh(tmp = r3.loadQuery()) && (ctx.someDir = tmp));
  47621. const temporary = tempAllocator();
  47622. const getQueryList = importExpr(Identifiers.loadQuery).callFn([]);
  47623. const refresh = importExpr(Identifiers.queryRefresh).callFn([temporary.set(getQueryList)]);
  47624. const updateDirective = variable(CONTEXT_NAME).prop(query.propertyName).set(query.first ? temporary.prop('first') : temporary);
  47625. updateStatements.push(refresh.and(updateDirective).toStmt());
  47626. });
  47627. const viewQueryFnName = name ? `${name}_Query` : null;
  47628. return fn([new FnParam(RENDER_FLAGS, NUMBER_TYPE), new FnParam(CONTEXT_NAME, null)], [renderFlagCheckIfStmt(1
  47629. /* core.RenderFlags.Create */
  47630. , createStatements), renderFlagCheckIfStmt(2
  47631. /* core.RenderFlags.Update */
  47632. , updateStatements)], INFERRED_TYPE, null, viewQueryFnName);
  47633. } // Return a host binding function or null if one is not necessary.
  47634. function createHostBindingsFunction(hostBindingsMetadata, typeSourceSpan, bindingParser, constantPool, selector, name, definitionMap) {
  47635. const bindingContext = variable(CONTEXT_NAME);
  47636. const styleBuilder = new StylingBuilder(bindingContext);
  47637. const {
  47638. styleAttr,
  47639. classAttr
  47640. } = hostBindingsMetadata.specialAttributes;
  47641. if (styleAttr !== undefined) {
  47642. styleBuilder.registerStyleAttr(styleAttr);
  47643. }
  47644. if (classAttr !== undefined) {
  47645. styleBuilder.registerClassAttr(classAttr);
  47646. }
  47647. const createInstructions = [];
  47648. const updateInstructions = [];
  47649. const updateVariables = [];
  47650. const hostBindingSourceSpan = typeSourceSpan; // Calculate host event bindings
  47651. const eventBindings = bindingParser.createDirectiveHostEventAsts(hostBindingsMetadata.listeners, hostBindingSourceSpan);
  47652. if (eventBindings && eventBindings.length) {
  47653. createInstructions.push(...createHostListeners(eventBindings, name));
  47654. } // Calculate the host property bindings
  47655. const bindings = bindingParser.createBoundHostProperties(hostBindingsMetadata.properties, hostBindingSourceSpan);
  47656. const allOtherBindings = []; // We need to calculate the total amount of binding slots required by
  47657. // all the instructions together before any value conversions happen.
  47658. // Value conversions may require additional slots for interpolation and
  47659. // bindings with pipes. These calculates happen after this block.
  47660. let totalHostVarsCount = 0;
  47661. bindings && bindings.forEach(binding => {
  47662. const stylingInputWasSet = styleBuilder.registerInputBasedOnName(binding.name, binding.expression, hostBindingSourceSpan);
  47663. if (stylingInputWasSet) {
  47664. totalHostVarsCount += MIN_STYLING_BINDING_SLOTS_REQUIRED;
  47665. } else {
  47666. allOtherBindings.push(binding);
  47667. totalHostVarsCount++;
  47668. }
  47669. });
  47670. let valueConverter;
  47671. const getValueConverter = () => {
  47672. if (!valueConverter) {
  47673. const hostVarsCountFn = numSlots => {
  47674. const originalVarsCount = totalHostVarsCount;
  47675. totalHostVarsCount += numSlots;
  47676. return originalVarsCount;
  47677. };
  47678. valueConverter = new ValueConverter(constantPool, () => error('Unexpected node'), // new nodes are illegal here
  47679. hostVarsCountFn, () => error('Unexpected pipe')); // pipes are illegal here
  47680. }
  47681. return valueConverter;
  47682. };
  47683. const propertyBindings = [];
  47684. const attributeBindings = [];
  47685. const syntheticHostBindings = [];
  47686. for (const binding of allOtherBindings) {
  47687. // resolve literal arrays and literal objects
  47688. const value = binding.expression.visit(getValueConverter());
  47689. const bindingExpr = bindingFn(bindingContext, value);
  47690. const {
  47691. bindingName,
  47692. instruction,
  47693. isAttribute
  47694. } = getBindingNameAndInstruction(binding);
  47695. const securityContexts = bindingParser.calcPossibleSecurityContexts(selector, bindingName, isAttribute).filter(context => context !== SecurityContext.NONE);
  47696. let sanitizerFn = null;
  47697. if (securityContexts.length) {
  47698. if (securityContexts.length === 2 && securityContexts.indexOf(SecurityContext.URL) > -1 && securityContexts.indexOf(SecurityContext.RESOURCE_URL) > -1) {
  47699. // Special case for some URL attributes (such as "src" and "href") that may be a part
  47700. // of different security contexts. In this case we use special sanitization function and
  47701. // select the actual sanitizer at runtime based on a tag name that is provided while
  47702. // invoking sanitization function.
  47703. sanitizerFn = importExpr(Identifiers.sanitizeUrlOrResourceUrl);
  47704. } else {
  47705. sanitizerFn = resolveSanitizationFn(securityContexts[0], isAttribute);
  47706. }
  47707. }
  47708. const instructionParams = [literal(bindingName), bindingExpr.currValExpr];
  47709. if (sanitizerFn) {
  47710. instructionParams.push(sanitizerFn);
  47711. }
  47712. updateVariables.push(...bindingExpr.stmts);
  47713. if (instruction === Identifiers.hostProperty) {
  47714. propertyBindings.push(instructionParams);
  47715. } else if (instruction === Identifiers.attribute) {
  47716. attributeBindings.push(instructionParams);
  47717. } else if (instruction === Identifiers.syntheticHostProperty) {
  47718. syntheticHostBindings.push(instructionParams);
  47719. } else {
  47720. updateInstructions.push({
  47721. reference: instruction,
  47722. paramsOrFn: instructionParams,
  47723. span: null
  47724. });
  47725. }
  47726. }
  47727. for (const bindingParams of propertyBindings) {
  47728. updateInstructions.push({
  47729. reference: Identifiers.hostProperty,
  47730. paramsOrFn: bindingParams,
  47731. span: null
  47732. });
  47733. }
  47734. for (const bindingParams of attributeBindings) {
  47735. updateInstructions.push({
  47736. reference: Identifiers.attribute,
  47737. paramsOrFn: bindingParams,
  47738. span: null
  47739. });
  47740. }
  47741. for (const bindingParams of syntheticHostBindings) {
  47742. updateInstructions.push({
  47743. reference: Identifiers.syntheticHostProperty,
  47744. paramsOrFn: bindingParams,
  47745. span: null
  47746. });
  47747. } // since we're dealing with directives/components and both have hostBinding
  47748. // functions, we need to generate a special hostAttrs instruction that deals
  47749. // with both the assignment of styling as well as static attributes to the host
  47750. // element. The instruction below will instruct all initial styling (styling
  47751. // that is inside of a host binding within a directive/component) to be attached
  47752. // to the host element alongside any of the provided host attributes that were
  47753. // collected earlier.
  47754. const hostAttrs = convertAttributesToExpressions(hostBindingsMetadata.attributes);
  47755. styleBuilder.assignHostAttrs(hostAttrs, definitionMap);
  47756. if (styleBuilder.hasBindings) {
  47757. // finally each binding that was registered in the statement above will need to be added to
  47758. // the update block of a component/directive templateFn/hostBindingsFn so that the bindings
  47759. // are evaluated and updated for the element.
  47760. styleBuilder.buildUpdateLevelInstructions(getValueConverter()).forEach(instruction => {
  47761. for (const call of instruction.calls) {
  47762. // we subtract a value of `1` here because the binding slot was already allocated
  47763. // at the top of this method when all the input bindings were counted.
  47764. totalHostVarsCount += Math.max(call.allocateBindingSlots - MIN_STYLING_BINDING_SLOTS_REQUIRED, 0);
  47765. updateInstructions.push({
  47766. reference: instruction.reference,
  47767. paramsOrFn: convertStylingCall(call, bindingContext, bindingFn),
  47768. span: null
  47769. });
  47770. }
  47771. });
  47772. }
  47773. if (totalHostVarsCount) {
  47774. definitionMap.set('hostVars', literal(totalHostVarsCount));
  47775. }
  47776. if (createInstructions.length > 0 || updateInstructions.length > 0) {
  47777. const hostBindingsFnName = name ? `${name}_HostBindings` : null;
  47778. const statements = [];
  47779. if (createInstructions.length > 0) {
  47780. statements.push(renderFlagCheckIfStmt(1
  47781. /* core.RenderFlags.Create */
  47782. , getInstructionStatements(createInstructions)));
  47783. }
  47784. if (updateInstructions.length > 0) {
  47785. statements.push(renderFlagCheckIfStmt(2
  47786. /* core.RenderFlags.Update */
  47787. , updateVariables.concat(getInstructionStatements(updateInstructions))));
  47788. }
  47789. return fn([new FnParam(RENDER_FLAGS, NUMBER_TYPE), new FnParam(CONTEXT_NAME, null)], statements, INFERRED_TYPE, null, hostBindingsFnName);
  47790. }
  47791. return null;
  47792. }
  47793. function bindingFn(implicit, value) {
  47794. return convertPropertyBinding(null, implicit, value, 'b');
  47795. }
  47796. function convertStylingCall(call, bindingContext, bindingFn) {
  47797. return call.params(value => bindingFn(bindingContext, value).currValExpr);
  47798. }
  47799. function getBindingNameAndInstruction(binding) {
  47800. let bindingName = binding.name;
  47801. let instruction; // Check to see if this is an attr binding or a property binding
  47802. const attrMatches = bindingName.match(ATTR_REGEX);
  47803. if (attrMatches) {
  47804. bindingName = attrMatches[1];
  47805. instruction = Identifiers.attribute;
  47806. } else {
  47807. if (binding.isAnimation) {
  47808. bindingName = prepareSyntheticPropertyName(bindingName); // host bindings that have a synthetic property (e.g. @foo) should always be rendered
  47809. // in the context of the component and not the parent. Therefore there is a special
  47810. // compatibility instruction available for this purpose.
  47811. instruction = Identifiers.syntheticHostProperty;
  47812. } else {
  47813. instruction = Identifiers.hostProperty;
  47814. }
  47815. }
  47816. return {
  47817. bindingName,
  47818. instruction,
  47819. isAttribute: !!attrMatches
  47820. };
  47821. }
  47822. function createHostListeners(eventBindings, name) {
  47823. const listenerParams = [];
  47824. const syntheticListenerParams = [];
  47825. const instructions = [];
  47826. for (const binding of eventBindings) {
  47827. let bindingName = binding.name && sanitizeIdentifier(binding.name);
  47828. const bindingFnName = binding.type === 1
  47829. /* ParsedEventType.Animation */
  47830. ? prepareSyntheticListenerFunctionName(bindingName, binding.targetOrPhase) : bindingName;
  47831. const handlerName = name && bindingName ? `${name}_${bindingFnName}_HostBindingHandler` : null;
  47832. const params = prepareEventListenerParameters(BoundEvent.fromParsedEvent(binding), handlerName);
  47833. if (binding.type == 1
  47834. /* ParsedEventType.Animation */
  47835. ) {
  47836. syntheticListenerParams.push(params);
  47837. } else {
  47838. listenerParams.push(params);
  47839. }
  47840. }
  47841. for (const params of syntheticListenerParams) {
  47842. instructions.push({
  47843. reference: Identifiers.syntheticHostListener,
  47844. paramsOrFn: params,
  47845. span: null
  47846. });
  47847. }
  47848. for (const params of listenerParams) {
  47849. instructions.push({
  47850. reference: Identifiers.listener,
  47851. paramsOrFn: params,
  47852. span: null
  47853. });
  47854. }
  47855. return instructions;
  47856. }
  47857. const HOST_REG_EXP = /^(?:\[([^\]]+)\])|(?:\(([^\)]+)\))$/;
  47858. function parseHostBindings(host) {
  47859. const attributes = {};
  47860. const listeners = {};
  47861. const properties = {};
  47862. const specialAttributes = {};
  47863. for (const key of Object.keys(host)) {
  47864. const value = host[key];
  47865. const matches = key.match(HOST_REG_EXP);
  47866. if (matches === null) {
  47867. switch (key) {
  47868. case 'class':
  47869. if (typeof value !== 'string') {
  47870. // TODO(alxhub): make this a diagnostic.
  47871. throw new Error(`Class binding must be string`);
  47872. }
  47873. specialAttributes.classAttr = value;
  47874. break;
  47875. case 'style':
  47876. if (typeof value !== 'string') {
  47877. // TODO(alxhub): make this a diagnostic.
  47878. throw new Error(`Style binding must be string`);
  47879. }
  47880. specialAttributes.styleAttr = value;
  47881. break;
  47882. default:
  47883. if (typeof value === 'string') {
  47884. attributes[key] = literal(value);
  47885. } else {
  47886. attributes[key] = value;
  47887. }
  47888. }
  47889. } else if (matches[1
  47890. /* HostBindingGroup.Binding */
  47891. ] != null) {
  47892. if (typeof value !== 'string') {
  47893. // TODO(alxhub): make this a diagnostic.
  47894. throw new Error(`Property binding must be string`);
  47895. } // synthetic properties (the ones that have a `@` as a prefix)
  47896. // are still treated the same as regular properties. Therefore
  47897. // there is no point in storing them in a separate map.
  47898. properties[matches[1
  47899. /* HostBindingGroup.Binding */
  47900. ]] = value;
  47901. } else if (matches[2
  47902. /* HostBindingGroup.Event */
  47903. ] != null) {
  47904. if (typeof value !== 'string') {
  47905. // TODO(alxhub): make this a diagnostic.
  47906. throw new Error(`Event binding must be string`);
  47907. }
  47908. listeners[matches[2
  47909. /* HostBindingGroup.Event */
  47910. ]] = value;
  47911. }
  47912. }
  47913. return {
  47914. attributes,
  47915. listeners,
  47916. properties,
  47917. specialAttributes
  47918. };
  47919. }
  47920. /**
  47921. * Verifies host bindings and returns the list of errors (if any). Empty array indicates that a
  47922. * given set of host bindings has no errors.
  47923. *
  47924. * @param bindings set of host bindings to verify.
  47925. * @param sourceSpan source span where host bindings were defined.
  47926. * @returns array of errors associated with a given set of host bindings.
  47927. */
  47928. function verifyHostBindings(bindings, sourceSpan) {
  47929. // TODO: abstract out host bindings verification logic and use it instead of
  47930. // creating events and properties ASTs to detect errors (FW-996)
  47931. const bindingParser = makeBindingParser();
  47932. bindingParser.createDirectiveHostEventAsts(bindings.listeners, sourceSpan);
  47933. bindingParser.createBoundHostProperties(bindings.properties, sourceSpan);
  47934. return bindingParser.errors;
  47935. }
  47936. function compileStyles(styles, selector, hostSelector) {
  47937. const shadowCss = new ShadowCss();
  47938. return styles.map(style => {
  47939. return shadowCss.shimCssText(style, selector, hostSelector);
  47940. });
  47941. }
  47942. /**
  47943. * @license
  47944. * Copyright Google LLC All Rights Reserved.
  47945. *
  47946. * Use of this source code is governed by an MIT-style license that can be
  47947. * found in the LICENSE file at https://angular.io/license
  47948. */
  47949. /**
  47950. * An interface for retrieving documents by URL that the compiler uses to
  47951. * load templates.
  47952. *
  47953. * This is an abstract class, rather than an interface, so that it can be used
  47954. * as injection token.
  47955. */
  47956. class ResourceLoader {}
  47957. /**
  47958. * @license
  47959. * Copyright Google LLC All Rights Reserved.
  47960. *
  47961. * Use of this source code is governed by an MIT-style license that can be
  47962. * found in the LICENSE file at https://angular.io/license
  47963. */
  47964. class CompilerFacadeImpl {
  47965. constructor(jitEvaluator = new JitEvaluator()) {
  47966. this.jitEvaluator = jitEvaluator;
  47967. this.FactoryTarget = FactoryTarget$1;
  47968. this.ResourceLoader = ResourceLoader;
  47969. this.elementSchemaRegistry = new DomElementSchemaRegistry();
  47970. }
  47971. compilePipe(angularCoreEnv, sourceMapUrl, facade) {
  47972. const metadata = {
  47973. name: facade.name,
  47974. type: wrapReference(facade.type),
  47975. internalType: new WrappedNodeExpr(facade.type),
  47976. typeArgumentCount: 0,
  47977. deps: null,
  47978. pipeName: facade.pipeName,
  47979. pure: facade.pure,
  47980. isStandalone: facade.isStandalone
  47981. };
  47982. const res = compilePipeFromMetadata(metadata);
  47983. return this.jitExpression(res.expression, angularCoreEnv, sourceMapUrl, []);
  47984. }
  47985. compilePipeDeclaration(angularCoreEnv, sourceMapUrl, declaration) {
  47986. const meta = convertDeclarePipeFacadeToMetadata(declaration);
  47987. const res = compilePipeFromMetadata(meta);
  47988. return this.jitExpression(res.expression, angularCoreEnv, sourceMapUrl, []);
  47989. }
  47990. compileInjectable(angularCoreEnv, sourceMapUrl, facade) {
  47991. var _a;
  47992. const {
  47993. expression,
  47994. statements
  47995. } = compileInjectable({
  47996. name: facade.name,
  47997. type: wrapReference(facade.type),
  47998. internalType: new WrappedNodeExpr(facade.type),
  47999. typeArgumentCount: facade.typeArgumentCount,
  48000. providedIn: computeProvidedIn(facade.providedIn),
  48001. useClass: convertToProviderExpression(facade, 'useClass'),
  48002. useFactory: wrapExpression(facade, 'useFactory'),
  48003. useValue: convertToProviderExpression(facade, 'useValue'),
  48004. useExisting: convertToProviderExpression(facade, 'useExisting'),
  48005. deps: (_a = facade.deps) === null || _a === void 0 ? void 0 : _a.map(convertR3DependencyMetadata)
  48006. },
  48007. /* resolveForwardRefs */
  48008. true);
  48009. return this.jitExpression(expression, angularCoreEnv, sourceMapUrl, statements);
  48010. }
  48011. compileInjectableDeclaration(angularCoreEnv, sourceMapUrl, facade) {
  48012. var _a;
  48013. const {
  48014. expression,
  48015. statements
  48016. } = compileInjectable({
  48017. name: facade.type.name,
  48018. type: wrapReference(facade.type),
  48019. internalType: new WrappedNodeExpr(facade.type),
  48020. typeArgumentCount: 0,
  48021. providedIn: computeProvidedIn(facade.providedIn),
  48022. useClass: convertToProviderExpression(facade, 'useClass'),
  48023. useFactory: wrapExpression(facade, 'useFactory'),
  48024. useValue: convertToProviderExpression(facade, 'useValue'),
  48025. useExisting: convertToProviderExpression(facade, 'useExisting'),
  48026. deps: (_a = facade.deps) === null || _a === void 0 ? void 0 : _a.map(convertR3DeclareDependencyMetadata)
  48027. },
  48028. /* resolveForwardRefs */
  48029. true);
  48030. return this.jitExpression(expression, angularCoreEnv, sourceMapUrl, statements);
  48031. }
  48032. compileInjector(angularCoreEnv, sourceMapUrl, facade) {
  48033. const meta = {
  48034. name: facade.name,
  48035. type: wrapReference(facade.type),
  48036. internalType: new WrappedNodeExpr(facade.type),
  48037. providers: facade.providers && facade.providers.length > 0 ? new WrappedNodeExpr(facade.providers) : null,
  48038. imports: facade.imports.map(i => new WrappedNodeExpr(i))
  48039. };
  48040. const res = compileInjector(meta);
  48041. return this.jitExpression(res.expression, angularCoreEnv, sourceMapUrl, []);
  48042. }
  48043. compileInjectorDeclaration(angularCoreEnv, sourceMapUrl, declaration) {
  48044. const meta = convertDeclareInjectorFacadeToMetadata(declaration);
  48045. const res = compileInjector(meta);
  48046. return this.jitExpression(res.expression, angularCoreEnv, sourceMapUrl, []);
  48047. }
  48048. compileNgModule(angularCoreEnv, sourceMapUrl, facade) {
  48049. const meta = {
  48050. type: wrapReference(facade.type),
  48051. internalType: new WrappedNodeExpr(facade.type),
  48052. adjacentType: new WrappedNodeExpr(facade.type),
  48053. bootstrap: facade.bootstrap.map(wrapReference),
  48054. declarations: facade.declarations.map(wrapReference),
  48055. publicDeclarationTypes: null,
  48056. imports: facade.imports.map(wrapReference),
  48057. includeImportTypes: true,
  48058. exports: facade.exports.map(wrapReference),
  48059. selectorScopeMode: R3SelectorScopeMode.Inline,
  48060. containsForwardDecls: false,
  48061. schemas: facade.schemas ? facade.schemas.map(wrapReference) : null,
  48062. id: facade.id ? new WrappedNodeExpr(facade.id) : null
  48063. };
  48064. const res = compileNgModule(meta);
  48065. return this.jitExpression(res.expression, angularCoreEnv, sourceMapUrl, []);
  48066. }
  48067. compileNgModuleDeclaration(angularCoreEnv, sourceMapUrl, declaration) {
  48068. const expression = compileNgModuleDeclarationExpression(declaration);
  48069. return this.jitExpression(expression, angularCoreEnv, sourceMapUrl, []);
  48070. }
  48071. compileDirective(angularCoreEnv, sourceMapUrl, facade) {
  48072. const meta = convertDirectiveFacadeToMetadata(facade);
  48073. return this.compileDirectiveFromMeta(angularCoreEnv, sourceMapUrl, meta);
  48074. }
  48075. compileDirectiveDeclaration(angularCoreEnv, sourceMapUrl, declaration) {
  48076. const typeSourceSpan = this.createParseSourceSpan('Directive', declaration.type.name, sourceMapUrl);
  48077. const meta = convertDeclareDirectiveFacadeToMetadata(declaration, typeSourceSpan);
  48078. return this.compileDirectiveFromMeta(angularCoreEnv, sourceMapUrl, meta);
  48079. }
  48080. compileDirectiveFromMeta(angularCoreEnv, sourceMapUrl, meta) {
  48081. const constantPool = new ConstantPool();
  48082. const bindingParser = makeBindingParser();
  48083. const res = compileDirectiveFromMetadata(meta, constantPool, bindingParser);
  48084. return this.jitExpression(res.expression, angularCoreEnv, sourceMapUrl, constantPool.statements);
  48085. }
  48086. compileComponent(angularCoreEnv, sourceMapUrl, facade) {
  48087. // Parse the template and check for errors.
  48088. const {
  48089. template,
  48090. interpolation
  48091. } = parseJitTemplate(facade.template, facade.name, sourceMapUrl, facade.preserveWhitespaces, facade.interpolation); // Compile the component metadata, including template, into an expression.
  48092. const meta = Object.assign(Object.assign(Object.assign({}, facade), convertDirectiveFacadeToMetadata(facade)), {
  48093. selector: facade.selector || this.elementSchemaRegistry.getDefaultComponentElementName(),
  48094. template,
  48095. declarations: facade.declarations.map(convertDeclarationFacadeToMetadata),
  48096. declarationListEmitMode: 0
  48097. /* DeclarationListEmitMode.Direct */
  48098. ,
  48099. styles: [...facade.styles, ...template.styles],
  48100. encapsulation: facade.encapsulation,
  48101. interpolation,
  48102. changeDetection: facade.changeDetection,
  48103. animations: facade.animations != null ? new WrappedNodeExpr(facade.animations) : null,
  48104. viewProviders: facade.viewProviders != null ? new WrappedNodeExpr(facade.viewProviders) : null,
  48105. relativeContextFilePath: '',
  48106. i18nUseExternalIds: true
  48107. });
  48108. const jitExpressionSourceMap = `ng:///${facade.name}.js`;
  48109. return this.compileComponentFromMeta(angularCoreEnv, jitExpressionSourceMap, meta);
  48110. }
  48111. compileComponentDeclaration(angularCoreEnv, sourceMapUrl, declaration) {
  48112. const typeSourceSpan = this.createParseSourceSpan('Component', declaration.type.name, sourceMapUrl);
  48113. const meta = convertDeclareComponentFacadeToMetadata(declaration, typeSourceSpan, sourceMapUrl);
  48114. return this.compileComponentFromMeta(angularCoreEnv, sourceMapUrl, meta);
  48115. }
  48116. compileComponentFromMeta(angularCoreEnv, sourceMapUrl, meta) {
  48117. const constantPool = new ConstantPool();
  48118. const bindingParser = makeBindingParser(meta.interpolation);
  48119. const res = compileComponentFromMetadata(meta, constantPool, bindingParser);
  48120. return this.jitExpression(res.expression, angularCoreEnv, sourceMapUrl, constantPool.statements);
  48121. }
  48122. compileFactory(angularCoreEnv, sourceMapUrl, meta) {
  48123. const factoryRes = compileFactoryFunction({
  48124. name: meta.name,
  48125. type: wrapReference(meta.type),
  48126. internalType: new WrappedNodeExpr(meta.type),
  48127. typeArgumentCount: meta.typeArgumentCount,
  48128. deps: convertR3DependencyMetadataArray(meta.deps),
  48129. target: meta.target
  48130. });
  48131. return this.jitExpression(factoryRes.expression, angularCoreEnv, sourceMapUrl, factoryRes.statements);
  48132. }
  48133. compileFactoryDeclaration(angularCoreEnv, sourceMapUrl, meta) {
  48134. const factoryRes = compileFactoryFunction({
  48135. name: meta.type.name,
  48136. type: wrapReference(meta.type),
  48137. internalType: new WrappedNodeExpr(meta.type),
  48138. typeArgumentCount: 0,
  48139. deps: Array.isArray(meta.deps) ? meta.deps.map(convertR3DeclareDependencyMetadata) : meta.deps,
  48140. target: meta.target
  48141. });
  48142. return this.jitExpression(factoryRes.expression, angularCoreEnv, sourceMapUrl, factoryRes.statements);
  48143. }
  48144. createParseSourceSpan(kind, typeName, sourceUrl) {
  48145. return r3JitTypeSourceSpan(kind, typeName, sourceUrl);
  48146. }
  48147. /**
  48148. * JIT compiles an expression and returns the result of executing that expression.
  48149. *
  48150. * @param def the definition which will be compiled and executed to get the value to patch
  48151. * @param context an object map of @angular/core symbol names to symbols which will be available
  48152. * in the context of the compiled expression
  48153. * @param sourceUrl a URL to use for the source map of the compiled expression
  48154. * @param preStatements a collection of statements that should be evaluated before the expression.
  48155. */
  48156. jitExpression(def, context, sourceUrl, preStatements) {
  48157. // The ConstantPool may contain Statements which declare variables used in the final expression.
  48158. // Therefore, its statements need to precede the actual JIT operation. The final statement is a
  48159. // declaration of $def which is set to the expression being compiled.
  48160. const statements = [...preStatements, new DeclareVarStmt('$def', def, undefined, StmtModifier.Exported)];
  48161. const res = this.jitEvaluator.evaluateStatements(sourceUrl, statements, new R3JitReflector(context),
  48162. /* enableSourceMaps */
  48163. true);
  48164. return res['$def'];
  48165. }
  48166. }
  48167. function convertToR3QueryMetadata(facade) {
  48168. return Object.assign(Object.assign({}, facade), {
  48169. predicate: convertQueryPredicate(facade.predicate),
  48170. read: facade.read ? new WrappedNodeExpr(facade.read) : null,
  48171. static: facade.static,
  48172. emitDistinctChangesOnly: facade.emitDistinctChangesOnly
  48173. });
  48174. }
  48175. function convertQueryDeclarationToMetadata(declaration) {
  48176. var _a, _b, _c, _d;
  48177. return {
  48178. propertyName: declaration.propertyName,
  48179. first: (_a = declaration.first) !== null && _a !== void 0 ? _a : false,
  48180. predicate: convertQueryPredicate(declaration.predicate),
  48181. descendants: (_b = declaration.descendants) !== null && _b !== void 0 ? _b : false,
  48182. read: declaration.read ? new WrappedNodeExpr(declaration.read) : null,
  48183. static: (_c = declaration.static) !== null && _c !== void 0 ? _c : false,
  48184. emitDistinctChangesOnly: (_d = declaration.emitDistinctChangesOnly) !== null && _d !== void 0 ? _d : true
  48185. };
  48186. }
  48187. function convertQueryPredicate(predicate) {
  48188. return Array.isArray(predicate) ? // The predicate is an array of strings so pass it through.
  48189. predicate : // The predicate is a type - assume that we will need to unwrap any `forwardRef()` calls.
  48190. createMayBeForwardRefExpression(new WrappedNodeExpr(predicate), 1
  48191. /* ForwardRefHandling.Wrapped */
  48192. );
  48193. }
  48194. function convertDirectiveFacadeToMetadata(facade) {
  48195. const inputsFromMetadata = parseInputOutputs(facade.inputs || []);
  48196. const outputsFromMetadata = parseInputOutputs(facade.outputs || []);
  48197. const propMetadata = facade.propMetadata;
  48198. const inputsFromType = {};
  48199. const outputsFromType = {};
  48200. for (const field in propMetadata) {
  48201. if (propMetadata.hasOwnProperty(field)) {
  48202. propMetadata[field].forEach(ann => {
  48203. if (isInput(ann)) {
  48204. inputsFromType[field] = ann.bindingPropertyName ? [ann.bindingPropertyName, field] : field;
  48205. } else if (isOutput(ann)) {
  48206. outputsFromType[field] = ann.bindingPropertyName || field;
  48207. }
  48208. });
  48209. }
  48210. }
  48211. return Object.assign(Object.assign({}, facade), {
  48212. typeArgumentCount: 0,
  48213. typeSourceSpan: facade.typeSourceSpan,
  48214. type: wrapReference(facade.type),
  48215. internalType: new WrappedNodeExpr(facade.type),
  48216. deps: null,
  48217. host: extractHostBindings(facade.propMetadata, facade.typeSourceSpan, facade.host),
  48218. inputs: Object.assign(Object.assign({}, inputsFromMetadata), inputsFromType),
  48219. outputs: Object.assign(Object.assign({}, outputsFromMetadata), outputsFromType),
  48220. queries: facade.queries.map(convertToR3QueryMetadata),
  48221. providers: facade.providers != null ? new WrappedNodeExpr(facade.providers) : null,
  48222. viewQueries: facade.viewQueries.map(convertToR3QueryMetadata),
  48223. fullInheritance: false
  48224. });
  48225. }
  48226. function convertDeclareDirectiveFacadeToMetadata(declaration, typeSourceSpan) {
  48227. var _a, _b, _c, _d, _e, _f, _g, _h, _j;
  48228. return {
  48229. name: declaration.type.name,
  48230. type: wrapReference(declaration.type),
  48231. typeSourceSpan,
  48232. internalType: new WrappedNodeExpr(declaration.type),
  48233. selector: (_a = declaration.selector) !== null && _a !== void 0 ? _a : null,
  48234. inputs: (_b = declaration.inputs) !== null && _b !== void 0 ? _b : {},
  48235. outputs: (_c = declaration.outputs) !== null && _c !== void 0 ? _c : {},
  48236. host: convertHostDeclarationToMetadata(declaration.host),
  48237. queries: ((_d = declaration.queries) !== null && _d !== void 0 ? _d : []).map(convertQueryDeclarationToMetadata),
  48238. viewQueries: ((_e = declaration.viewQueries) !== null && _e !== void 0 ? _e : []).map(convertQueryDeclarationToMetadata),
  48239. providers: declaration.providers !== undefined ? new WrappedNodeExpr(declaration.providers) : null,
  48240. exportAs: (_f = declaration.exportAs) !== null && _f !== void 0 ? _f : null,
  48241. usesInheritance: (_g = declaration.usesInheritance) !== null && _g !== void 0 ? _g : false,
  48242. lifecycle: {
  48243. usesOnChanges: (_h = declaration.usesOnChanges) !== null && _h !== void 0 ? _h : false
  48244. },
  48245. deps: null,
  48246. typeArgumentCount: 0,
  48247. fullInheritance: false,
  48248. isStandalone: (_j = declaration.isStandalone) !== null && _j !== void 0 ? _j : false
  48249. };
  48250. }
  48251. function convertHostDeclarationToMetadata(host = {}) {
  48252. var _a, _b, _c;
  48253. return {
  48254. attributes: convertOpaqueValuesToExpressions((_a = host.attributes) !== null && _a !== void 0 ? _a : {}),
  48255. listeners: (_b = host.listeners) !== null && _b !== void 0 ? _b : {},
  48256. properties: (_c = host.properties) !== null && _c !== void 0 ? _c : {},
  48257. specialAttributes: {
  48258. classAttr: host.classAttribute,
  48259. styleAttr: host.styleAttribute
  48260. }
  48261. };
  48262. }
  48263. function convertOpaqueValuesToExpressions(obj) {
  48264. const result = {};
  48265. for (const key of Object.keys(obj)) {
  48266. result[key] = new WrappedNodeExpr(obj[key]);
  48267. }
  48268. return result;
  48269. }
  48270. function convertDeclareComponentFacadeToMetadata(decl, typeSourceSpan, sourceMapUrl) {
  48271. var _a, _b, _c, _d;
  48272. const {
  48273. template,
  48274. interpolation
  48275. } = parseJitTemplate(decl.template, decl.type.name, sourceMapUrl, (_a = decl.preserveWhitespaces) !== null && _a !== void 0 ? _a : false, decl.interpolation);
  48276. const declarations = [];
  48277. if (decl.dependencies) {
  48278. for (const innerDep of decl.dependencies) {
  48279. switch (innerDep.kind) {
  48280. case 'directive':
  48281. case 'component':
  48282. declarations.push(convertDirectiveDeclarationToMetadata(innerDep));
  48283. break;
  48284. case 'pipe':
  48285. declarations.push(convertPipeDeclarationToMetadata(innerDep));
  48286. break;
  48287. }
  48288. }
  48289. } else if (decl.components || decl.directives || decl.pipes) {
  48290. // Existing declarations on NPM may not be using the new `dependencies` merged field, and may
  48291. // have separate fields for dependencies instead. Unify them for JIT compilation.
  48292. decl.components && declarations.push(...decl.components.map(dir => convertDirectiveDeclarationToMetadata(dir,
  48293. /* isComponent */
  48294. true)));
  48295. decl.directives && declarations.push(...decl.directives.map(dir => convertDirectiveDeclarationToMetadata(dir)));
  48296. decl.pipes && declarations.push(...convertPipeMapToMetadata(decl.pipes));
  48297. }
  48298. return Object.assign(Object.assign({}, convertDeclareDirectiveFacadeToMetadata(decl, typeSourceSpan)), {
  48299. template,
  48300. styles: (_b = decl.styles) !== null && _b !== void 0 ? _b : [],
  48301. declarations,
  48302. viewProviders: decl.viewProviders !== undefined ? new WrappedNodeExpr(decl.viewProviders) : null,
  48303. animations: decl.animations !== undefined ? new WrappedNodeExpr(decl.animations) : null,
  48304. changeDetection: (_c = decl.changeDetection) !== null && _c !== void 0 ? _c : ChangeDetectionStrategy.Default,
  48305. encapsulation: (_d = decl.encapsulation) !== null && _d !== void 0 ? _d : ViewEncapsulation.Emulated,
  48306. interpolation,
  48307. declarationListEmitMode: 2
  48308. /* DeclarationListEmitMode.ClosureResolved */
  48309. ,
  48310. relativeContextFilePath: '',
  48311. i18nUseExternalIds: true
  48312. });
  48313. }
  48314. function convertDeclarationFacadeToMetadata(declaration) {
  48315. return Object.assign(Object.assign({}, declaration), {
  48316. type: new WrappedNodeExpr(declaration.type)
  48317. });
  48318. }
  48319. function convertDirectiveDeclarationToMetadata(declaration, isComponent = null) {
  48320. var _a, _b, _c;
  48321. return {
  48322. kind: R3TemplateDependencyKind.Directive,
  48323. isComponent: isComponent || declaration.kind === 'component',
  48324. selector: declaration.selector,
  48325. type: new WrappedNodeExpr(declaration.type),
  48326. inputs: (_a = declaration.inputs) !== null && _a !== void 0 ? _a : [],
  48327. outputs: (_b = declaration.outputs) !== null && _b !== void 0 ? _b : [],
  48328. exportAs: (_c = declaration.exportAs) !== null && _c !== void 0 ? _c : null
  48329. };
  48330. }
  48331. function convertPipeMapToMetadata(pipes) {
  48332. if (!pipes) {
  48333. return [];
  48334. }
  48335. return Object.keys(pipes).map(name => {
  48336. return {
  48337. kind: R3TemplateDependencyKind.Pipe,
  48338. name,
  48339. type: new WrappedNodeExpr(pipes[name])
  48340. };
  48341. });
  48342. }
  48343. function convertPipeDeclarationToMetadata(pipe) {
  48344. return {
  48345. kind: R3TemplateDependencyKind.Pipe,
  48346. name: pipe.name,
  48347. type: new WrappedNodeExpr(pipe.type)
  48348. };
  48349. }
  48350. function parseJitTemplate(template, typeName, sourceMapUrl, preserveWhitespaces, interpolation) {
  48351. const interpolationConfig = interpolation ? InterpolationConfig.fromArray(interpolation) : DEFAULT_INTERPOLATION_CONFIG; // Parse the template and check for errors.
  48352. const parsed = parseTemplate(template, sourceMapUrl, {
  48353. preserveWhitespaces,
  48354. interpolationConfig
  48355. });
  48356. if (parsed.errors !== null) {
  48357. const errors = parsed.errors.map(err => err.toString()).join(', ');
  48358. throw new Error(`Errors during JIT compilation of template for ${typeName}: ${errors}`);
  48359. }
  48360. return {
  48361. template: parsed,
  48362. interpolation: interpolationConfig
  48363. };
  48364. }
  48365. /**
  48366. * Convert the expression, if present to an `R3ProviderExpression`.
  48367. *
  48368. * In JIT mode we do not want the compiler to wrap the expression in a `forwardRef()` call because,
  48369. * if it is referencing a type that has not yet been defined, it will have already been wrapped in
  48370. * a `forwardRef()` - either by the application developer or during partial-compilation. Thus we can
  48371. * use `ForwardRefHandling.None`.
  48372. */
  48373. function convertToProviderExpression(obj, property) {
  48374. if (obj.hasOwnProperty(property)) {
  48375. return createMayBeForwardRefExpression(new WrappedNodeExpr(obj[property]), 0
  48376. /* ForwardRefHandling.None */
  48377. );
  48378. } else {
  48379. return undefined;
  48380. }
  48381. }
  48382. function wrapExpression(obj, property) {
  48383. if (obj.hasOwnProperty(property)) {
  48384. return new WrappedNodeExpr(obj[property]);
  48385. } else {
  48386. return undefined;
  48387. }
  48388. }
  48389. function computeProvidedIn(providedIn) {
  48390. const expression = typeof providedIn === 'function' ? new WrappedNodeExpr(providedIn) : new LiteralExpr(providedIn !== null && providedIn !== void 0 ? providedIn : null); // See `convertToProviderExpression()` for why this uses `ForwardRefHandling.None`.
  48391. return createMayBeForwardRefExpression(expression, 0
  48392. /* ForwardRefHandling.None */
  48393. );
  48394. }
  48395. function convertR3DependencyMetadataArray(facades) {
  48396. return facades == null ? null : facades.map(convertR3DependencyMetadata);
  48397. }
  48398. function convertR3DependencyMetadata(facade) {
  48399. const isAttributeDep = facade.attribute != null; // both `null` and `undefined`
  48400. const rawToken = facade.token === null ? null : new WrappedNodeExpr(facade.token); // In JIT mode, if the dep is an `@Attribute()` then we use the attribute name given in
  48401. // `attribute` rather than the `token`.
  48402. const token = isAttributeDep ? new WrappedNodeExpr(facade.attribute) : rawToken;
  48403. return createR3DependencyMetadata(token, isAttributeDep, facade.host, facade.optional, facade.self, facade.skipSelf);
  48404. }
  48405. function convertR3DeclareDependencyMetadata(facade) {
  48406. var _a, _b, _c, _d, _e;
  48407. const isAttributeDep = (_a = facade.attribute) !== null && _a !== void 0 ? _a : false;
  48408. const token = facade.token === null ? null : new WrappedNodeExpr(facade.token);
  48409. return createR3DependencyMetadata(token, isAttributeDep, (_b = facade.host) !== null && _b !== void 0 ? _b : false, (_c = facade.optional) !== null && _c !== void 0 ? _c : false, (_d = facade.self) !== null && _d !== void 0 ? _d : false, (_e = facade.skipSelf) !== null && _e !== void 0 ? _e : false);
  48410. }
  48411. function createR3DependencyMetadata(token, isAttributeDep, host, optional, self, skipSelf) {
  48412. // If the dep is an `@Attribute()` the `attributeNameType` ought to be the `unknown` type.
  48413. // But types are not available at runtime so we just use a literal `"<unknown>"` string as a dummy
  48414. // marker.
  48415. const attributeNameType = isAttributeDep ? literal('unknown') : null;
  48416. return {
  48417. token,
  48418. attributeNameType,
  48419. host,
  48420. optional,
  48421. self,
  48422. skipSelf
  48423. };
  48424. }
  48425. function extractHostBindings(propMetadata, sourceSpan, host) {
  48426. // First parse the declarations from the metadata.
  48427. const bindings = parseHostBindings(host || {}); // After that check host bindings for errors
  48428. const errors = verifyHostBindings(bindings, sourceSpan);
  48429. if (errors.length) {
  48430. throw new Error(errors.map(error => error.msg).join('\n'));
  48431. } // Next, loop over the properties of the object, looking for @HostBinding and @HostListener.
  48432. for (const field in propMetadata) {
  48433. if (propMetadata.hasOwnProperty(field)) {
  48434. propMetadata[field].forEach(ann => {
  48435. if (isHostBinding(ann)) {
  48436. // Since this is a decorator, we know that the value is a class member. Always access it
  48437. // through `this` so that further down the line it can't be confused for a literal value
  48438. // (e.g. if there's a property called `true`).
  48439. bindings.properties[ann.hostPropertyName || field] = getSafePropertyAccessString('this', field);
  48440. } else if (isHostListener(ann)) {
  48441. bindings.listeners[ann.eventName || field] = `${field}(${(ann.args || []).join(',')})`;
  48442. }
  48443. });
  48444. }
  48445. }
  48446. return bindings;
  48447. }
  48448. function isHostBinding(value) {
  48449. return value.ngMetadataName === 'HostBinding';
  48450. }
  48451. function isHostListener(value) {
  48452. return value.ngMetadataName === 'HostListener';
  48453. }
  48454. function isInput(value) {
  48455. return value.ngMetadataName === 'Input';
  48456. }
  48457. function isOutput(value) {
  48458. return value.ngMetadataName === 'Output';
  48459. }
  48460. function parseInputOutputs(values) {
  48461. return values.reduce((results, value) => {
  48462. const [field, property] = value.split(':', 2).map(str => str.trim());
  48463. results[field] = property || field;
  48464. return results;
  48465. }, {});
  48466. }
  48467. function convertDeclarePipeFacadeToMetadata(declaration) {
  48468. var _a, _b;
  48469. return {
  48470. name: declaration.type.name,
  48471. type: wrapReference(declaration.type),
  48472. internalType: new WrappedNodeExpr(declaration.type),
  48473. typeArgumentCount: 0,
  48474. pipeName: declaration.name,
  48475. deps: null,
  48476. pure: (_a = declaration.pure) !== null && _a !== void 0 ? _a : true,
  48477. isStandalone: (_b = declaration.isStandalone) !== null && _b !== void 0 ? _b : false
  48478. };
  48479. }
  48480. function convertDeclareInjectorFacadeToMetadata(declaration) {
  48481. return {
  48482. name: declaration.type.name,
  48483. type: wrapReference(declaration.type),
  48484. internalType: new WrappedNodeExpr(declaration.type),
  48485. providers: declaration.providers !== undefined && declaration.providers.length > 0 ? new WrappedNodeExpr(declaration.providers) : null,
  48486. imports: declaration.imports !== undefined ? declaration.imports.map(i => new WrappedNodeExpr(i)) : []
  48487. };
  48488. }
  48489. function publishFacade(global) {
  48490. const ng = global.ng || (global.ng = {});
  48491. ng.ɵcompilerFacade = new CompilerFacadeImpl();
  48492. }
  48493. /**
  48494. * @license
  48495. * Copyright Google LLC All Rights Reserved.
  48496. *
  48497. * Use of this source code is governed by an MIT-style license that can be
  48498. * found in the LICENSE file at https://angular.io/license
  48499. */
  48500. const VERSION = new Version('14.2.7');
  48501. /**
  48502. * @license
  48503. * Copyright Google LLC All Rights Reserved.
  48504. *
  48505. * Use of this source code is governed by an MIT-style license that can be
  48506. * found in the LICENSE file at https://angular.io/license
  48507. */
  48508. class CompilerConfig {
  48509. constructor({
  48510. defaultEncapsulation = ViewEncapsulation.Emulated,
  48511. useJit = true,
  48512. jitDevMode = false,
  48513. missingTranslation = null,
  48514. preserveWhitespaces,
  48515. strictInjectionParameters
  48516. } = {}) {
  48517. this.defaultEncapsulation = defaultEncapsulation;
  48518. this.useJit = !!useJit;
  48519. this.jitDevMode = !!jitDevMode;
  48520. this.missingTranslation = missingTranslation;
  48521. this.preserveWhitespaces = preserveWhitespacesDefault(noUndefined(preserveWhitespaces));
  48522. this.strictInjectionParameters = strictInjectionParameters === true;
  48523. }
  48524. }
  48525. function preserveWhitespacesDefault(preserveWhitespacesOption, defaultSetting = false) {
  48526. return preserveWhitespacesOption === null ? defaultSetting : preserveWhitespacesOption;
  48527. }
  48528. /**
  48529. * @license
  48530. * Copyright Google LLC All Rights Reserved.
  48531. *
  48532. * Use of this source code is governed by an MIT-style license that can be
  48533. * found in the LICENSE file at https://angular.io/license
  48534. */
  48535. const _I18N_ATTR = 'i18n';
  48536. const _I18N_ATTR_PREFIX = 'i18n-';
  48537. const _I18N_COMMENT_PREFIX_REGEXP = /^i18n:?/;
  48538. const MEANING_SEPARATOR = '|';
  48539. const ID_SEPARATOR = '@@';
  48540. let i18nCommentsWarned = false;
  48541. /**
  48542. * Extract translatable messages from an html AST
  48543. */
  48544. function extractMessages(nodes, interpolationConfig, implicitTags, implicitAttrs) {
  48545. const visitor = new _Visitor(implicitTags, implicitAttrs);
  48546. return visitor.extract(nodes, interpolationConfig);
  48547. }
  48548. function mergeTranslations(nodes, translations, interpolationConfig, implicitTags, implicitAttrs) {
  48549. const visitor = new _Visitor(implicitTags, implicitAttrs);
  48550. return visitor.merge(nodes, translations, interpolationConfig);
  48551. }
  48552. class ExtractionResult {
  48553. constructor(messages, errors) {
  48554. this.messages = messages;
  48555. this.errors = errors;
  48556. }
  48557. }
  48558. var _VisitorMode;
  48559. (function (_VisitorMode) {
  48560. _VisitorMode[_VisitorMode["Extract"] = 0] = "Extract";
  48561. _VisitorMode[_VisitorMode["Merge"] = 1] = "Merge";
  48562. })(_VisitorMode || (_VisitorMode = {}));
  48563. /**
  48564. * This Visitor is used:
  48565. * 1. to extract all the translatable strings from an html AST (see `extract()`),
  48566. * 2. to replace the translatable strings with the actual translations (see `merge()`)
  48567. *
  48568. * @internal
  48569. */
  48570. class _Visitor {
  48571. constructor(_implicitTags, _implicitAttrs) {
  48572. this._implicitTags = _implicitTags;
  48573. this._implicitAttrs = _implicitAttrs;
  48574. }
  48575. /**
  48576. * Extracts the messages from the tree
  48577. */
  48578. extract(nodes, interpolationConfig) {
  48579. this._init(_VisitorMode.Extract, interpolationConfig);
  48580. nodes.forEach(node => node.visit(this, null));
  48581. if (this._inI18nBlock) {
  48582. this._reportError(nodes[nodes.length - 1], 'Unclosed block');
  48583. }
  48584. return new ExtractionResult(this._messages, this._errors);
  48585. }
  48586. /**
  48587. * Returns a tree where all translatable nodes are translated
  48588. */
  48589. merge(nodes, translations, interpolationConfig) {
  48590. this._init(_VisitorMode.Merge, interpolationConfig);
  48591. this._translations = translations; // Construct a single fake root element
  48592. const wrapper = new Element('wrapper', [], nodes, undefined, undefined, undefined);
  48593. const translatedNode = wrapper.visit(this, null);
  48594. if (this._inI18nBlock) {
  48595. this._reportError(nodes[nodes.length - 1], 'Unclosed block');
  48596. }
  48597. return new ParseTreeResult(translatedNode.children, this._errors);
  48598. }
  48599. visitExpansionCase(icuCase, context) {
  48600. // Parse cases for translatable html attributes
  48601. const expression = visitAll(this, icuCase.expression, context);
  48602. if (this._mode === _VisitorMode.Merge) {
  48603. return new ExpansionCase(icuCase.value, expression, icuCase.sourceSpan, icuCase.valueSourceSpan, icuCase.expSourceSpan);
  48604. }
  48605. }
  48606. visitExpansion(icu, context) {
  48607. this._mayBeAddBlockChildren(icu);
  48608. const wasInIcu = this._inIcu;
  48609. if (!this._inIcu) {
  48610. // nested ICU messages should not be extracted but top-level translated as a whole
  48611. if (this._isInTranslatableSection) {
  48612. this._addMessage([icu]);
  48613. }
  48614. this._inIcu = true;
  48615. }
  48616. const cases = visitAll(this, icu.cases, context);
  48617. if (this._mode === _VisitorMode.Merge) {
  48618. icu = new Expansion(icu.switchValue, icu.type, cases, icu.sourceSpan, icu.switchValueSourceSpan);
  48619. }
  48620. this._inIcu = wasInIcu;
  48621. return icu;
  48622. }
  48623. visitComment(comment, context) {
  48624. const isOpening = _isOpeningComment(comment);
  48625. if (isOpening && this._isInTranslatableSection) {
  48626. this._reportError(comment, 'Could not start a block inside a translatable section');
  48627. return;
  48628. }
  48629. const isClosing = _isClosingComment(comment);
  48630. if (isClosing && !this._inI18nBlock) {
  48631. this._reportError(comment, 'Trying to close an unopened block');
  48632. return;
  48633. }
  48634. if (!this._inI18nNode && !this._inIcu) {
  48635. if (!this._inI18nBlock) {
  48636. if (isOpening) {
  48637. // deprecated from v5 you should use <ng-container i18n> instead of i18n comments
  48638. if (!i18nCommentsWarned && console && console.warn) {
  48639. i18nCommentsWarned = true;
  48640. const details = comment.sourceSpan.details ? `, ${comment.sourceSpan.details}` : ''; // TODO(ocombe): use a log service once there is a public one available
  48641. console.warn(`I18n comments are deprecated, use an <ng-container> element instead (${comment.sourceSpan.start}${details})`);
  48642. }
  48643. this._inI18nBlock = true;
  48644. this._blockStartDepth = this._depth;
  48645. this._blockChildren = [];
  48646. this._blockMeaningAndDesc = comment.value.replace(_I18N_COMMENT_PREFIX_REGEXP, '').trim();
  48647. this._openTranslatableSection(comment);
  48648. }
  48649. } else {
  48650. if (isClosing) {
  48651. if (this._depth == this._blockStartDepth) {
  48652. this._closeTranslatableSection(comment, this._blockChildren);
  48653. this._inI18nBlock = false;
  48654. const message = this._addMessage(this._blockChildren, this._blockMeaningAndDesc); // merge attributes in sections
  48655. const nodes = this._translateMessage(comment, message);
  48656. return visitAll(this, nodes);
  48657. } else {
  48658. this._reportError(comment, 'I18N blocks should not cross element boundaries');
  48659. return;
  48660. }
  48661. }
  48662. }
  48663. }
  48664. }
  48665. visitText(text, context) {
  48666. if (this._isInTranslatableSection) {
  48667. this._mayBeAddBlockChildren(text);
  48668. }
  48669. return text;
  48670. }
  48671. visitElement(el, context) {
  48672. this._mayBeAddBlockChildren(el);
  48673. this._depth++;
  48674. const wasInI18nNode = this._inI18nNode;
  48675. const wasInImplicitNode = this._inImplicitNode;
  48676. let childNodes = [];
  48677. let translatedChildNodes = undefined; // Extract:
  48678. // - top level nodes with the (implicit) "i18n" attribute if not already in a section
  48679. // - ICU messages
  48680. const i18nAttr = _getI18nAttr(el);
  48681. const i18nMeta = i18nAttr ? i18nAttr.value : '';
  48682. const isImplicit = this._implicitTags.some(tag => el.name === tag) && !this._inIcu && !this._isInTranslatableSection;
  48683. const isTopLevelImplicit = !wasInImplicitNode && isImplicit;
  48684. this._inImplicitNode = wasInImplicitNode || isImplicit;
  48685. if (!this._isInTranslatableSection && !this._inIcu) {
  48686. if (i18nAttr || isTopLevelImplicit) {
  48687. this._inI18nNode = true;
  48688. const message = this._addMessage(el.children, i18nMeta);
  48689. translatedChildNodes = this._translateMessage(el, message);
  48690. }
  48691. if (this._mode == _VisitorMode.Extract) {
  48692. const isTranslatable = i18nAttr || isTopLevelImplicit;
  48693. if (isTranslatable) this._openTranslatableSection(el);
  48694. visitAll(this, el.children);
  48695. if (isTranslatable) this._closeTranslatableSection(el, el.children);
  48696. }
  48697. } else {
  48698. if (i18nAttr || isTopLevelImplicit) {
  48699. this._reportError(el, 'Could not mark an element as translatable inside a translatable section');
  48700. }
  48701. if (this._mode == _VisitorMode.Extract) {
  48702. // Descend into child nodes for extraction
  48703. visitAll(this, el.children);
  48704. }
  48705. }
  48706. if (this._mode === _VisitorMode.Merge) {
  48707. const visitNodes = translatedChildNodes || el.children;
  48708. visitNodes.forEach(child => {
  48709. const visited = child.visit(this, context);
  48710. if (visited && !this._isInTranslatableSection) {
  48711. // Do not add the children from translatable sections (= i18n blocks here)
  48712. // They will be added later in this loop when the block closes (i.e. on `<!-- /i18n -->`)
  48713. childNodes = childNodes.concat(visited);
  48714. }
  48715. });
  48716. }
  48717. this._visitAttributesOf(el);
  48718. this._depth--;
  48719. this._inI18nNode = wasInI18nNode;
  48720. this._inImplicitNode = wasInImplicitNode;
  48721. if (this._mode === _VisitorMode.Merge) {
  48722. const translatedAttrs = this._translateAttributes(el);
  48723. return new Element(el.name, translatedAttrs, childNodes, el.sourceSpan, el.startSourceSpan, el.endSourceSpan);
  48724. }
  48725. return null;
  48726. }
  48727. visitAttribute(attribute, context) {
  48728. throw new Error('unreachable code');
  48729. }
  48730. _init(mode, interpolationConfig) {
  48731. this._mode = mode;
  48732. this._inI18nBlock = false;
  48733. this._inI18nNode = false;
  48734. this._depth = 0;
  48735. this._inIcu = false;
  48736. this._msgCountAtSectionStart = undefined;
  48737. this._errors = [];
  48738. this._messages = [];
  48739. this._inImplicitNode = false;
  48740. this._createI18nMessage = createI18nMessageFactory(interpolationConfig);
  48741. } // looks for translatable attributes
  48742. _visitAttributesOf(el) {
  48743. const explicitAttrNameToValue = {};
  48744. const implicitAttrNames = this._implicitAttrs[el.name] || [];
  48745. el.attrs.filter(attr => attr.name.startsWith(_I18N_ATTR_PREFIX)).forEach(attr => explicitAttrNameToValue[attr.name.slice(_I18N_ATTR_PREFIX.length)] = attr.value);
  48746. el.attrs.forEach(attr => {
  48747. if (attr.name in explicitAttrNameToValue) {
  48748. this._addMessage([attr], explicitAttrNameToValue[attr.name]);
  48749. } else if (implicitAttrNames.some(name => attr.name === name)) {
  48750. this._addMessage([attr]);
  48751. }
  48752. });
  48753. } // add a translatable message
  48754. _addMessage(ast, msgMeta) {
  48755. if (ast.length == 0 || ast.length == 1 && ast[0] instanceof Attribute && !ast[0].value) {
  48756. // Do not create empty messages
  48757. return null;
  48758. }
  48759. const {
  48760. meaning,
  48761. description,
  48762. id
  48763. } = _parseMessageMeta(msgMeta);
  48764. const message = this._createI18nMessage(ast, meaning, description, id);
  48765. this._messages.push(message);
  48766. return message;
  48767. } // Translates the given message given the `TranslationBundle`
  48768. // This is used for translating elements / blocks - see `_translateAttributes` for attributes
  48769. // no-op when called in extraction mode (returns [])
  48770. _translateMessage(el, message) {
  48771. if (message && this._mode === _VisitorMode.Merge) {
  48772. const nodes = this._translations.get(message);
  48773. if (nodes) {
  48774. return nodes;
  48775. }
  48776. this._reportError(el, `Translation unavailable for message id="${this._translations.digest(message)}"`);
  48777. }
  48778. return [];
  48779. } // translate the attributes of an element and remove i18n specific attributes
  48780. _translateAttributes(el) {
  48781. const attributes = el.attrs;
  48782. const i18nParsedMessageMeta = {};
  48783. attributes.forEach(attr => {
  48784. if (attr.name.startsWith(_I18N_ATTR_PREFIX)) {
  48785. i18nParsedMessageMeta[attr.name.slice(_I18N_ATTR_PREFIX.length)] = _parseMessageMeta(attr.value);
  48786. }
  48787. });
  48788. const translatedAttributes = [];
  48789. attributes.forEach(attr => {
  48790. if (attr.name === _I18N_ATTR || attr.name.startsWith(_I18N_ATTR_PREFIX)) {
  48791. // strip i18n specific attributes
  48792. return;
  48793. }
  48794. if (attr.value && attr.value != '' && i18nParsedMessageMeta.hasOwnProperty(attr.name)) {
  48795. const {
  48796. meaning,
  48797. description,
  48798. id
  48799. } = i18nParsedMessageMeta[attr.name];
  48800. const message = this._createI18nMessage([attr], meaning, description, id);
  48801. const nodes = this._translations.get(message);
  48802. if (nodes) {
  48803. if (nodes.length == 0) {
  48804. translatedAttributes.push(new Attribute(attr.name, '', attr.sourceSpan, undefined
  48805. /* keySpan */
  48806. , undefined
  48807. /* valueSpan */
  48808. , undefined
  48809. /* valueTokens */
  48810. , undefined
  48811. /* i18n */
  48812. ));
  48813. } else if (nodes[0] instanceof Text) {
  48814. const value = nodes[0].value;
  48815. translatedAttributes.push(new Attribute(attr.name, value, attr.sourceSpan, undefined
  48816. /* keySpan */
  48817. , undefined
  48818. /* valueSpan */
  48819. , undefined
  48820. /* valueTokens */
  48821. , undefined
  48822. /* i18n */
  48823. ));
  48824. } else {
  48825. this._reportError(el, `Unexpected translation for attribute "${attr.name}" (id="${id || this._translations.digest(message)}")`);
  48826. }
  48827. } else {
  48828. this._reportError(el, `Translation unavailable for attribute "${attr.name}" (id="${id || this._translations.digest(message)}")`);
  48829. }
  48830. } else {
  48831. translatedAttributes.push(attr);
  48832. }
  48833. });
  48834. return translatedAttributes;
  48835. }
  48836. /**
  48837. * Add the node as a child of the block when:
  48838. * - we are in a block,
  48839. * - we are not inside a ICU message (those are handled separately),
  48840. * - the node is a "direct child" of the block
  48841. */
  48842. _mayBeAddBlockChildren(node) {
  48843. if (this._inI18nBlock && !this._inIcu && this._depth == this._blockStartDepth) {
  48844. this._blockChildren.push(node);
  48845. }
  48846. }
  48847. /**
  48848. * Marks the start of a section, see `_closeTranslatableSection`
  48849. */
  48850. _openTranslatableSection(node) {
  48851. if (this._isInTranslatableSection) {
  48852. this._reportError(node, 'Unexpected section start');
  48853. } else {
  48854. this._msgCountAtSectionStart = this._messages.length;
  48855. }
  48856. }
  48857. /**
  48858. * A translatable section could be:
  48859. * - the content of translatable element,
  48860. * - nodes between `<!-- i18n -->` and `<!-- /i18n -->` comments
  48861. */
  48862. get _isInTranslatableSection() {
  48863. return this._msgCountAtSectionStart !== void 0;
  48864. }
  48865. /**
  48866. * Terminates a section.
  48867. *
  48868. * If a section has only one significant children (comments not significant) then we should not
  48869. * keep the message from this children:
  48870. *
  48871. * `<p i18n="meaning|description">{ICU message}</p>` would produce two messages:
  48872. * - one for the <p> content with meaning and description,
  48873. * - another one for the ICU message.
  48874. *
  48875. * In this case the last message is discarded as it contains less information (the AST is
  48876. * otherwise identical).
  48877. *
  48878. * Note that we should still keep messages extracted from attributes inside the section (ie in the
  48879. * ICU message here)
  48880. */
  48881. _closeTranslatableSection(node, directChildren) {
  48882. if (!this._isInTranslatableSection) {
  48883. this._reportError(node, 'Unexpected section end');
  48884. return;
  48885. }
  48886. const startIndex = this._msgCountAtSectionStart;
  48887. const significantChildren = directChildren.reduce((count, node) => count + (node instanceof Comment ? 0 : 1), 0);
  48888. if (significantChildren == 1) {
  48889. for (let i = this._messages.length - 1; i >= startIndex; i--) {
  48890. const ast = this._messages[i].nodes;
  48891. if (!(ast.length == 1 && ast[0] instanceof Text$2)) {
  48892. this._messages.splice(i, 1);
  48893. break;
  48894. }
  48895. }
  48896. }
  48897. this._msgCountAtSectionStart = undefined;
  48898. }
  48899. _reportError(node, msg) {
  48900. this._errors.push(new I18nError(node.sourceSpan, msg));
  48901. }
  48902. }
  48903. function _isOpeningComment(n) {
  48904. return !!(n instanceof Comment && n.value && n.value.startsWith('i18n'));
  48905. }
  48906. function _isClosingComment(n) {
  48907. return !!(n instanceof Comment && n.value && n.value === '/i18n');
  48908. }
  48909. function _getI18nAttr(p) {
  48910. return p.attrs.find(attr => attr.name === _I18N_ATTR) || null;
  48911. }
  48912. function _parseMessageMeta(i18n) {
  48913. if (!i18n) return {
  48914. meaning: '',
  48915. description: '',
  48916. id: ''
  48917. };
  48918. const idIndex = i18n.indexOf(ID_SEPARATOR);
  48919. const descIndex = i18n.indexOf(MEANING_SEPARATOR);
  48920. const [meaningAndDesc, id] = idIndex > -1 ? [i18n.slice(0, idIndex), i18n.slice(idIndex + 2)] : [i18n, ''];
  48921. const [meaning, description] = descIndex > -1 ? [meaningAndDesc.slice(0, descIndex), meaningAndDesc.slice(descIndex + 1)] : ['', meaningAndDesc];
  48922. return {
  48923. meaning,
  48924. description,
  48925. id: id.trim()
  48926. };
  48927. }
  48928. /**
  48929. * @license
  48930. * Copyright Google LLC All Rights Reserved.
  48931. *
  48932. * Use of this source code is governed by an MIT-style license that can be
  48933. * found in the LICENSE file at https://angular.io/license
  48934. */
  48935. class XmlTagDefinition {
  48936. constructor() {
  48937. this.closedByParent = false;
  48938. this.isVoid = false;
  48939. this.ignoreFirstLf = false;
  48940. this.canSelfClose = true;
  48941. this.preventNamespaceInheritance = false;
  48942. }
  48943. requireExtraParent(currentParent) {
  48944. return false;
  48945. }
  48946. isClosedByChild(name) {
  48947. return false;
  48948. }
  48949. getContentType() {
  48950. return TagContentType.PARSABLE_DATA;
  48951. }
  48952. }
  48953. const _TAG_DEFINITION = new XmlTagDefinition();
  48954. function getXmlTagDefinition(tagName) {
  48955. return _TAG_DEFINITION;
  48956. }
  48957. /**
  48958. * @license
  48959. * Copyright Google LLC All Rights Reserved.
  48960. *
  48961. * Use of this source code is governed by an MIT-style license that can be
  48962. * found in the LICENSE file at https://angular.io/license
  48963. */
  48964. class XmlParser extends Parser {
  48965. constructor() {
  48966. super(getXmlTagDefinition);
  48967. }
  48968. parse(source, url, options) {
  48969. return super.parse(source, url, options);
  48970. }
  48971. }
  48972. /**
  48973. * @license
  48974. * Copyright Google LLC All Rights Reserved.
  48975. *
  48976. * Use of this source code is governed by an MIT-style license that can be
  48977. * found in the LICENSE file at https://angular.io/license
  48978. */
  48979. const _VERSION$1 = '1.2';
  48980. const _XMLNS$1 = 'urn:oasis:names:tc:xliff:document:1.2'; // TODO(vicb): make this a param (s/_/-/)
  48981. const _DEFAULT_SOURCE_LANG$1 = 'en';
  48982. const _PLACEHOLDER_TAG$2 = 'x';
  48983. const _MARKER_TAG$1 = 'mrk';
  48984. const _FILE_TAG = 'file';
  48985. const _SOURCE_TAG$1 = 'source';
  48986. const _SEGMENT_SOURCE_TAG = 'seg-source';
  48987. const _ALT_TRANS_TAG = 'alt-trans';
  48988. const _TARGET_TAG$1 = 'target';
  48989. const _UNIT_TAG$1 = 'trans-unit';
  48990. const _CONTEXT_GROUP_TAG = 'context-group';
  48991. const _CONTEXT_TAG = 'context'; // https://docs.oasis-open.org/xliff/v1.2/os/xliff-core.html
  48992. // https://docs.oasis-open.org/xliff/v1.2/xliff-profile-html/xliff-profile-html-1.2.html
  48993. class Xliff extends Serializer {
  48994. write(messages, locale) {
  48995. const visitor = new _WriteVisitor$1();
  48996. const transUnits = [];
  48997. messages.forEach(message => {
  48998. let contextTags = [];
  48999. message.sources.forEach(source => {
  49000. let contextGroupTag = new Tag(_CONTEXT_GROUP_TAG, {
  49001. purpose: 'location'
  49002. });
  49003. contextGroupTag.children.push(new CR(10), new Tag(_CONTEXT_TAG, {
  49004. 'context-type': 'sourcefile'
  49005. }, [new Text$1(source.filePath)]), new CR(10), new Tag(_CONTEXT_TAG, {
  49006. 'context-type': 'linenumber'
  49007. }, [new Text$1(`${source.startLine}`)]), new CR(8));
  49008. contextTags.push(new CR(8), contextGroupTag);
  49009. });
  49010. const transUnit = new Tag(_UNIT_TAG$1, {
  49011. id: message.id,
  49012. datatype: 'html'
  49013. });
  49014. transUnit.children.push(new CR(8), new Tag(_SOURCE_TAG$1, {}, visitor.serialize(message.nodes)), ...contextTags);
  49015. if (message.description) {
  49016. transUnit.children.push(new CR(8), new Tag('note', {
  49017. priority: '1',
  49018. from: 'description'
  49019. }, [new Text$1(message.description)]));
  49020. }
  49021. if (message.meaning) {
  49022. transUnit.children.push(new CR(8), new Tag('note', {
  49023. priority: '1',
  49024. from: 'meaning'
  49025. }, [new Text$1(message.meaning)]));
  49026. }
  49027. transUnit.children.push(new CR(6));
  49028. transUnits.push(new CR(6), transUnit);
  49029. });
  49030. const body = new Tag('body', {}, [...transUnits, new CR(4)]);
  49031. const file = new Tag('file', {
  49032. 'source-language': locale || _DEFAULT_SOURCE_LANG$1,
  49033. datatype: 'plaintext',
  49034. original: 'ng2.template'
  49035. }, [new CR(4), body, new CR(2)]);
  49036. const xliff = new Tag('xliff', {
  49037. version: _VERSION$1,
  49038. xmlns: _XMLNS$1
  49039. }, [new CR(2), file, new CR()]);
  49040. return serialize([new Declaration({
  49041. version: '1.0',
  49042. encoding: 'UTF-8'
  49043. }), new CR(), xliff, new CR()]);
  49044. }
  49045. load(content, url) {
  49046. // xliff to xml nodes
  49047. const xliffParser = new XliffParser();
  49048. const {
  49049. locale,
  49050. msgIdToHtml,
  49051. errors
  49052. } = xliffParser.parse(content, url); // xml nodes to i18n nodes
  49053. const i18nNodesByMsgId = {};
  49054. const converter = new XmlToI18n$2();
  49055. Object.keys(msgIdToHtml).forEach(msgId => {
  49056. const {
  49057. i18nNodes,
  49058. errors: e
  49059. } = converter.convert(msgIdToHtml[msgId], url);
  49060. errors.push(...e);
  49061. i18nNodesByMsgId[msgId] = i18nNodes;
  49062. });
  49063. if (errors.length) {
  49064. throw new Error(`xliff parse errors:\n${errors.join('\n')}`);
  49065. }
  49066. return {
  49067. locale: locale,
  49068. i18nNodesByMsgId
  49069. };
  49070. }
  49071. digest(message) {
  49072. return digest$1(message);
  49073. }
  49074. }
  49075. class _WriteVisitor$1 {
  49076. visitText(text, context) {
  49077. return [new Text$1(text.value)];
  49078. }
  49079. visitContainer(container, context) {
  49080. const nodes = [];
  49081. container.children.forEach(node => nodes.push(...node.visit(this)));
  49082. return nodes;
  49083. }
  49084. visitIcu(icu, context) {
  49085. const nodes = [new Text$1(`{${icu.expressionPlaceholder}, ${icu.type}, `)];
  49086. Object.keys(icu.cases).forEach(c => {
  49087. nodes.push(new Text$1(`${c} {`), ...icu.cases[c].visit(this), new Text$1(`} `));
  49088. });
  49089. nodes.push(new Text$1(`}`));
  49090. return nodes;
  49091. }
  49092. visitTagPlaceholder(ph, context) {
  49093. const ctype = getCtypeForTag(ph.tag);
  49094. if (ph.isVoid) {
  49095. // void tags have no children nor closing tags
  49096. return [new Tag(_PLACEHOLDER_TAG$2, {
  49097. id: ph.startName,
  49098. ctype,
  49099. 'equiv-text': `<${ph.tag}/>`
  49100. })];
  49101. }
  49102. const startTagPh = new Tag(_PLACEHOLDER_TAG$2, {
  49103. id: ph.startName,
  49104. ctype,
  49105. 'equiv-text': `<${ph.tag}>`
  49106. });
  49107. const closeTagPh = new Tag(_PLACEHOLDER_TAG$2, {
  49108. id: ph.closeName,
  49109. ctype,
  49110. 'equiv-text': `</${ph.tag}>`
  49111. });
  49112. return [startTagPh, ...this.serialize(ph.children), closeTagPh];
  49113. }
  49114. visitPlaceholder(ph, context) {
  49115. return [new Tag(_PLACEHOLDER_TAG$2, {
  49116. id: ph.name,
  49117. 'equiv-text': `{{${ph.value}}}`
  49118. })];
  49119. }
  49120. visitIcuPlaceholder(ph, context) {
  49121. const equivText = `{${ph.value.expression}, ${ph.value.type}, ${Object.keys(ph.value.cases).map(value => value + ' {...}').join(' ')}}`;
  49122. return [new Tag(_PLACEHOLDER_TAG$2, {
  49123. id: ph.name,
  49124. 'equiv-text': equivText
  49125. })];
  49126. }
  49127. serialize(nodes) {
  49128. return [].concat(...nodes.map(node => node.visit(this)));
  49129. }
  49130. } // TODO(vicb): add error management (structure)
  49131. // Extract messages as xml nodes from the xliff file
  49132. class XliffParser {
  49133. constructor() {
  49134. this._locale = null;
  49135. }
  49136. parse(xliff, url) {
  49137. this._unitMlString = null;
  49138. this._msgIdToHtml = {};
  49139. const xml = new XmlParser().parse(xliff, url);
  49140. this._errors = xml.errors;
  49141. visitAll(this, xml.rootNodes, null);
  49142. return {
  49143. msgIdToHtml: this._msgIdToHtml,
  49144. errors: this._errors,
  49145. locale: this._locale
  49146. };
  49147. }
  49148. visitElement(element, context) {
  49149. switch (element.name) {
  49150. case _UNIT_TAG$1:
  49151. this._unitMlString = null;
  49152. const idAttr = element.attrs.find(attr => attr.name === 'id');
  49153. if (!idAttr) {
  49154. this._addError(element, `<${_UNIT_TAG$1}> misses the "id" attribute`);
  49155. } else {
  49156. const id = idAttr.value;
  49157. if (this._msgIdToHtml.hasOwnProperty(id)) {
  49158. this._addError(element, `Duplicated translations for msg ${id}`);
  49159. } else {
  49160. visitAll(this, element.children, null);
  49161. if (typeof this._unitMlString === 'string') {
  49162. this._msgIdToHtml[id] = this._unitMlString;
  49163. } else {
  49164. this._addError(element, `Message ${id} misses a translation`);
  49165. }
  49166. }
  49167. }
  49168. break;
  49169. // ignore those tags
  49170. case _SOURCE_TAG$1:
  49171. case _SEGMENT_SOURCE_TAG:
  49172. case _ALT_TRANS_TAG:
  49173. break;
  49174. case _TARGET_TAG$1:
  49175. const innerTextStart = element.startSourceSpan.end.offset;
  49176. const innerTextEnd = element.endSourceSpan.start.offset;
  49177. const content = element.startSourceSpan.start.file.content;
  49178. const innerText = content.slice(innerTextStart, innerTextEnd);
  49179. this._unitMlString = innerText;
  49180. break;
  49181. case _FILE_TAG:
  49182. const localeAttr = element.attrs.find(attr => attr.name === 'target-language');
  49183. if (localeAttr) {
  49184. this._locale = localeAttr.value;
  49185. }
  49186. visitAll(this, element.children, null);
  49187. break;
  49188. default:
  49189. // TODO(vicb): assert file structure, xliff version
  49190. // For now only recurse on unhandled nodes
  49191. visitAll(this, element.children, null);
  49192. }
  49193. }
  49194. visitAttribute(attribute, context) {}
  49195. visitText(text, context) {}
  49196. visitComment(comment, context) {}
  49197. visitExpansion(expansion, context) {}
  49198. visitExpansionCase(expansionCase, context) {}
  49199. _addError(node, message) {
  49200. this._errors.push(new I18nError(node.sourceSpan, message));
  49201. }
  49202. } // Convert ml nodes (xliff syntax) to i18n nodes
  49203. class XmlToI18n$2 {
  49204. convert(message, url) {
  49205. const xmlIcu = new XmlParser().parse(message, url, {
  49206. tokenizeExpansionForms: true
  49207. });
  49208. this._errors = xmlIcu.errors;
  49209. const i18nNodes = this._errors.length > 0 || xmlIcu.rootNodes.length == 0 ? [] : [].concat(...visitAll(this, xmlIcu.rootNodes));
  49210. return {
  49211. i18nNodes: i18nNodes,
  49212. errors: this._errors
  49213. };
  49214. }
  49215. visitText(text, context) {
  49216. return new Text$2(text.value, text.sourceSpan);
  49217. }
  49218. visitElement(el, context) {
  49219. if (el.name === _PLACEHOLDER_TAG$2) {
  49220. const nameAttr = el.attrs.find(attr => attr.name === 'id');
  49221. if (nameAttr) {
  49222. return new Placeholder('', nameAttr.value, el.sourceSpan);
  49223. }
  49224. this._addError(el, `<${_PLACEHOLDER_TAG$2}> misses the "id" attribute`);
  49225. return null;
  49226. }
  49227. if (el.name === _MARKER_TAG$1) {
  49228. return [].concat(...visitAll(this, el.children));
  49229. }
  49230. this._addError(el, `Unexpected tag`);
  49231. return null;
  49232. }
  49233. visitExpansion(icu, context) {
  49234. const caseMap = {};
  49235. visitAll(this, icu.cases).forEach(c => {
  49236. caseMap[c.value] = new Container(c.nodes, icu.sourceSpan);
  49237. });
  49238. return new Icu(icu.switchValue, icu.type, caseMap, icu.sourceSpan);
  49239. }
  49240. visitExpansionCase(icuCase, context) {
  49241. return {
  49242. value: icuCase.value,
  49243. nodes: visitAll(this, icuCase.expression)
  49244. };
  49245. }
  49246. visitComment(comment, context) {}
  49247. visitAttribute(attribute, context) {}
  49248. _addError(node, message) {
  49249. this._errors.push(new I18nError(node.sourceSpan, message));
  49250. }
  49251. }
  49252. function getCtypeForTag(tag) {
  49253. switch (tag.toLowerCase()) {
  49254. case 'br':
  49255. return 'lb';
  49256. case 'img':
  49257. return 'image';
  49258. default:
  49259. return `x-${tag}`;
  49260. }
  49261. }
  49262. /**
  49263. * @license
  49264. * Copyright Google LLC All Rights Reserved.
  49265. *
  49266. * Use of this source code is governed by an MIT-style license that can be
  49267. * found in the LICENSE file at https://angular.io/license
  49268. */
  49269. const _VERSION = '2.0';
  49270. const _XMLNS = 'urn:oasis:names:tc:xliff:document:2.0'; // TODO(vicb): make this a param (s/_/-/)
  49271. const _DEFAULT_SOURCE_LANG = 'en';
  49272. const _PLACEHOLDER_TAG$1 = 'ph';
  49273. const _PLACEHOLDER_SPANNING_TAG = 'pc';
  49274. const _MARKER_TAG = 'mrk';
  49275. const _XLIFF_TAG = 'xliff';
  49276. const _SOURCE_TAG = 'source';
  49277. const _TARGET_TAG = 'target';
  49278. const _UNIT_TAG = 'unit'; // https://docs.oasis-open.org/xliff/xliff-core/v2.0/os/xliff-core-v2.0-os.html
  49279. class Xliff2 extends Serializer {
  49280. write(messages, locale) {
  49281. const visitor = new _WriteVisitor();
  49282. const units = [];
  49283. messages.forEach(message => {
  49284. const unit = new Tag(_UNIT_TAG, {
  49285. id: message.id
  49286. });
  49287. const notes = new Tag('notes');
  49288. if (message.description || message.meaning) {
  49289. if (message.description) {
  49290. notes.children.push(new CR(8), new Tag('note', {
  49291. category: 'description'
  49292. }, [new Text$1(message.description)]));
  49293. }
  49294. if (message.meaning) {
  49295. notes.children.push(new CR(8), new Tag('note', {
  49296. category: 'meaning'
  49297. }, [new Text$1(message.meaning)]));
  49298. }
  49299. }
  49300. message.sources.forEach(source => {
  49301. notes.children.push(new CR(8), new Tag('note', {
  49302. category: 'location'
  49303. }, [new Text$1(`${source.filePath}:${source.startLine}${source.endLine !== source.startLine ? ',' + source.endLine : ''}`)]));
  49304. });
  49305. notes.children.push(new CR(6));
  49306. unit.children.push(new CR(6), notes);
  49307. const segment = new Tag('segment');
  49308. segment.children.push(new CR(8), new Tag(_SOURCE_TAG, {}, visitor.serialize(message.nodes)), new CR(6));
  49309. unit.children.push(new CR(6), segment, new CR(4));
  49310. units.push(new CR(4), unit);
  49311. });
  49312. const file = new Tag('file', {
  49313. 'original': 'ng.template',
  49314. id: 'ngi18n'
  49315. }, [...units, new CR(2)]);
  49316. const xliff = new Tag(_XLIFF_TAG, {
  49317. version: _VERSION,
  49318. xmlns: _XMLNS,
  49319. srcLang: locale || _DEFAULT_SOURCE_LANG
  49320. }, [new CR(2), file, new CR()]);
  49321. return serialize([new Declaration({
  49322. version: '1.0',
  49323. encoding: 'UTF-8'
  49324. }), new CR(), xliff, new CR()]);
  49325. }
  49326. load(content, url) {
  49327. // xliff to xml nodes
  49328. const xliff2Parser = new Xliff2Parser();
  49329. const {
  49330. locale,
  49331. msgIdToHtml,
  49332. errors
  49333. } = xliff2Parser.parse(content, url); // xml nodes to i18n nodes
  49334. const i18nNodesByMsgId = {};
  49335. const converter = new XmlToI18n$1();
  49336. Object.keys(msgIdToHtml).forEach(msgId => {
  49337. const {
  49338. i18nNodes,
  49339. errors: e
  49340. } = converter.convert(msgIdToHtml[msgId], url);
  49341. errors.push(...e);
  49342. i18nNodesByMsgId[msgId] = i18nNodes;
  49343. });
  49344. if (errors.length) {
  49345. throw new Error(`xliff2 parse errors:\n${errors.join('\n')}`);
  49346. }
  49347. return {
  49348. locale: locale,
  49349. i18nNodesByMsgId
  49350. };
  49351. }
  49352. digest(message) {
  49353. return decimalDigest(message);
  49354. }
  49355. }
  49356. class _WriteVisitor {
  49357. visitText(text, context) {
  49358. return [new Text$1(text.value)];
  49359. }
  49360. visitContainer(container, context) {
  49361. const nodes = [];
  49362. container.children.forEach(node => nodes.push(...node.visit(this)));
  49363. return nodes;
  49364. }
  49365. visitIcu(icu, context) {
  49366. const nodes = [new Text$1(`{${icu.expressionPlaceholder}, ${icu.type}, `)];
  49367. Object.keys(icu.cases).forEach(c => {
  49368. nodes.push(new Text$1(`${c} {`), ...icu.cases[c].visit(this), new Text$1(`} `));
  49369. });
  49370. nodes.push(new Text$1(`}`));
  49371. return nodes;
  49372. }
  49373. visitTagPlaceholder(ph, context) {
  49374. const type = getTypeForTag(ph.tag);
  49375. if (ph.isVoid) {
  49376. const tagPh = new Tag(_PLACEHOLDER_TAG$1, {
  49377. id: (this._nextPlaceholderId++).toString(),
  49378. equiv: ph.startName,
  49379. type: type,
  49380. disp: `<${ph.tag}/>`
  49381. });
  49382. return [tagPh];
  49383. }
  49384. const tagPc = new Tag(_PLACEHOLDER_SPANNING_TAG, {
  49385. id: (this._nextPlaceholderId++).toString(),
  49386. equivStart: ph.startName,
  49387. equivEnd: ph.closeName,
  49388. type: type,
  49389. dispStart: `<${ph.tag}>`,
  49390. dispEnd: `</${ph.tag}>`
  49391. });
  49392. const nodes = [].concat(...ph.children.map(node => node.visit(this)));
  49393. if (nodes.length) {
  49394. nodes.forEach(node => tagPc.children.push(node));
  49395. } else {
  49396. tagPc.children.push(new Text$1(''));
  49397. }
  49398. return [tagPc];
  49399. }
  49400. visitPlaceholder(ph, context) {
  49401. const idStr = (this._nextPlaceholderId++).toString();
  49402. return [new Tag(_PLACEHOLDER_TAG$1, {
  49403. id: idStr,
  49404. equiv: ph.name,
  49405. disp: `{{${ph.value}}}`
  49406. })];
  49407. }
  49408. visitIcuPlaceholder(ph, context) {
  49409. const cases = Object.keys(ph.value.cases).map(value => value + ' {...}').join(' ');
  49410. const idStr = (this._nextPlaceholderId++).toString();
  49411. return [new Tag(_PLACEHOLDER_TAG$1, {
  49412. id: idStr,
  49413. equiv: ph.name,
  49414. disp: `{${ph.value.expression}, ${ph.value.type}, ${cases}}`
  49415. })];
  49416. }
  49417. serialize(nodes) {
  49418. this._nextPlaceholderId = 0;
  49419. return [].concat(...nodes.map(node => node.visit(this)));
  49420. }
  49421. } // Extract messages as xml nodes from the xliff file
  49422. class Xliff2Parser {
  49423. constructor() {
  49424. this._locale = null;
  49425. }
  49426. parse(xliff, url) {
  49427. this._unitMlString = null;
  49428. this._msgIdToHtml = {};
  49429. const xml = new XmlParser().parse(xliff, url);
  49430. this._errors = xml.errors;
  49431. visitAll(this, xml.rootNodes, null);
  49432. return {
  49433. msgIdToHtml: this._msgIdToHtml,
  49434. errors: this._errors,
  49435. locale: this._locale
  49436. };
  49437. }
  49438. visitElement(element, context) {
  49439. switch (element.name) {
  49440. case _UNIT_TAG:
  49441. this._unitMlString = null;
  49442. const idAttr = element.attrs.find(attr => attr.name === 'id');
  49443. if (!idAttr) {
  49444. this._addError(element, `<${_UNIT_TAG}> misses the "id" attribute`);
  49445. } else {
  49446. const id = idAttr.value;
  49447. if (this._msgIdToHtml.hasOwnProperty(id)) {
  49448. this._addError(element, `Duplicated translations for msg ${id}`);
  49449. } else {
  49450. visitAll(this, element.children, null);
  49451. if (typeof this._unitMlString === 'string') {
  49452. this._msgIdToHtml[id] = this._unitMlString;
  49453. } else {
  49454. this._addError(element, `Message ${id} misses a translation`);
  49455. }
  49456. }
  49457. }
  49458. break;
  49459. case _SOURCE_TAG:
  49460. // ignore source message
  49461. break;
  49462. case _TARGET_TAG:
  49463. const innerTextStart = element.startSourceSpan.end.offset;
  49464. const innerTextEnd = element.endSourceSpan.start.offset;
  49465. const content = element.startSourceSpan.start.file.content;
  49466. const innerText = content.slice(innerTextStart, innerTextEnd);
  49467. this._unitMlString = innerText;
  49468. break;
  49469. case _XLIFF_TAG:
  49470. const localeAttr = element.attrs.find(attr => attr.name === 'trgLang');
  49471. if (localeAttr) {
  49472. this._locale = localeAttr.value;
  49473. }
  49474. const versionAttr = element.attrs.find(attr => attr.name === 'version');
  49475. if (versionAttr) {
  49476. const version = versionAttr.value;
  49477. if (version !== '2.0') {
  49478. this._addError(element, `The XLIFF file version ${version} is not compatible with XLIFF 2.0 serializer`);
  49479. } else {
  49480. visitAll(this, element.children, null);
  49481. }
  49482. }
  49483. break;
  49484. default:
  49485. visitAll(this, element.children, null);
  49486. }
  49487. }
  49488. visitAttribute(attribute, context) {}
  49489. visitText(text, context) {}
  49490. visitComment(comment, context) {}
  49491. visitExpansion(expansion, context) {}
  49492. visitExpansionCase(expansionCase, context) {}
  49493. _addError(node, message) {
  49494. this._errors.push(new I18nError(node.sourceSpan, message));
  49495. }
  49496. } // Convert ml nodes (xliff syntax) to i18n nodes
  49497. class XmlToI18n$1 {
  49498. convert(message, url) {
  49499. const xmlIcu = new XmlParser().parse(message, url, {
  49500. tokenizeExpansionForms: true
  49501. });
  49502. this._errors = xmlIcu.errors;
  49503. const i18nNodes = this._errors.length > 0 || xmlIcu.rootNodes.length == 0 ? [] : [].concat(...visitAll(this, xmlIcu.rootNodes));
  49504. return {
  49505. i18nNodes,
  49506. errors: this._errors
  49507. };
  49508. }
  49509. visitText(text, context) {
  49510. return new Text$2(text.value, text.sourceSpan);
  49511. }
  49512. visitElement(el, context) {
  49513. switch (el.name) {
  49514. case _PLACEHOLDER_TAG$1:
  49515. const nameAttr = el.attrs.find(attr => attr.name === 'equiv');
  49516. if (nameAttr) {
  49517. return [new Placeholder('', nameAttr.value, el.sourceSpan)];
  49518. }
  49519. this._addError(el, `<${_PLACEHOLDER_TAG$1}> misses the "equiv" attribute`);
  49520. break;
  49521. case _PLACEHOLDER_SPANNING_TAG:
  49522. const startAttr = el.attrs.find(attr => attr.name === 'equivStart');
  49523. const endAttr = el.attrs.find(attr => attr.name === 'equivEnd');
  49524. if (!startAttr) {
  49525. this._addError(el, `<${_PLACEHOLDER_TAG$1}> misses the "equivStart" attribute`);
  49526. } else if (!endAttr) {
  49527. this._addError(el, `<${_PLACEHOLDER_TAG$1}> misses the "equivEnd" attribute`);
  49528. } else {
  49529. const startId = startAttr.value;
  49530. const endId = endAttr.value;
  49531. const nodes = [];
  49532. return nodes.concat(new Placeholder('', startId, el.sourceSpan), ...el.children.map(node => node.visit(this, null)), new Placeholder('', endId, el.sourceSpan));
  49533. }
  49534. break;
  49535. case _MARKER_TAG:
  49536. return [].concat(...visitAll(this, el.children));
  49537. default:
  49538. this._addError(el, `Unexpected tag`);
  49539. }
  49540. return null;
  49541. }
  49542. visitExpansion(icu, context) {
  49543. const caseMap = {};
  49544. visitAll(this, icu.cases).forEach(c => {
  49545. caseMap[c.value] = new Container(c.nodes, icu.sourceSpan);
  49546. });
  49547. return new Icu(icu.switchValue, icu.type, caseMap, icu.sourceSpan);
  49548. }
  49549. visitExpansionCase(icuCase, context) {
  49550. return {
  49551. value: icuCase.value,
  49552. nodes: [].concat(...visitAll(this, icuCase.expression))
  49553. };
  49554. }
  49555. visitComment(comment, context) {}
  49556. visitAttribute(attribute, context) {}
  49557. _addError(node, message) {
  49558. this._errors.push(new I18nError(node.sourceSpan, message));
  49559. }
  49560. }
  49561. function getTypeForTag(tag) {
  49562. switch (tag.toLowerCase()) {
  49563. case 'br':
  49564. case 'b':
  49565. case 'i':
  49566. case 'u':
  49567. return 'fmt';
  49568. case 'img':
  49569. return 'image';
  49570. case 'a':
  49571. return 'link';
  49572. default:
  49573. return 'other';
  49574. }
  49575. }
  49576. /**
  49577. * @license
  49578. * Copyright Google LLC All Rights Reserved.
  49579. *
  49580. * Use of this source code is governed by an MIT-style license that can be
  49581. * found in the LICENSE file at https://angular.io/license
  49582. */
  49583. const _TRANSLATIONS_TAG = 'translationbundle';
  49584. const _TRANSLATION_TAG = 'translation';
  49585. const _PLACEHOLDER_TAG = 'ph';
  49586. class Xtb extends Serializer {
  49587. write(messages, locale) {
  49588. throw new Error('Unsupported');
  49589. }
  49590. load(content, url) {
  49591. // xtb to xml nodes
  49592. const xtbParser = new XtbParser();
  49593. const {
  49594. locale,
  49595. msgIdToHtml,
  49596. errors
  49597. } = xtbParser.parse(content, url); // xml nodes to i18n nodes
  49598. const i18nNodesByMsgId = {};
  49599. const converter = new XmlToI18n(); // Because we should be able to load xtb files that rely on features not supported by angular,
  49600. // we need to delay the conversion of html to i18n nodes so that non angular messages are not
  49601. // converted
  49602. Object.keys(msgIdToHtml).forEach(msgId => {
  49603. const valueFn = function () {
  49604. const {
  49605. i18nNodes,
  49606. errors
  49607. } = converter.convert(msgIdToHtml[msgId], url);
  49608. if (errors.length) {
  49609. throw new Error(`xtb parse errors:\n${errors.join('\n')}`);
  49610. }
  49611. return i18nNodes;
  49612. };
  49613. createLazyProperty(i18nNodesByMsgId, msgId, valueFn);
  49614. });
  49615. if (errors.length) {
  49616. throw new Error(`xtb parse errors:\n${errors.join('\n')}`);
  49617. }
  49618. return {
  49619. locale: locale,
  49620. i18nNodesByMsgId
  49621. };
  49622. }
  49623. digest(message) {
  49624. return digest(message);
  49625. }
  49626. createNameMapper(message) {
  49627. return new SimplePlaceholderMapper(message, toPublicName);
  49628. }
  49629. }
  49630. function createLazyProperty(messages, id, valueFn) {
  49631. Object.defineProperty(messages, id, {
  49632. configurable: true,
  49633. enumerable: true,
  49634. get: function () {
  49635. const value = valueFn();
  49636. Object.defineProperty(messages, id, {
  49637. enumerable: true,
  49638. value
  49639. });
  49640. return value;
  49641. },
  49642. set: _ => {
  49643. throw new Error('Could not overwrite an XTB translation');
  49644. }
  49645. });
  49646. } // Extract messages as xml nodes from the xtb file
  49647. class XtbParser {
  49648. constructor() {
  49649. this._locale = null;
  49650. }
  49651. parse(xtb, url) {
  49652. this._bundleDepth = 0;
  49653. this._msgIdToHtml = {}; // We can not parse the ICU messages at this point as some messages might not originate
  49654. // from Angular that could not be lex'd.
  49655. const xml = new XmlParser().parse(xtb, url);
  49656. this._errors = xml.errors;
  49657. visitAll(this, xml.rootNodes);
  49658. return {
  49659. msgIdToHtml: this._msgIdToHtml,
  49660. errors: this._errors,
  49661. locale: this._locale
  49662. };
  49663. }
  49664. visitElement(element, context) {
  49665. switch (element.name) {
  49666. case _TRANSLATIONS_TAG:
  49667. this._bundleDepth++;
  49668. if (this._bundleDepth > 1) {
  49669. this._addError(element, `<${_TRANSLATIONS_TAG}> elements can not be nested`);
  49670. }
  49671. const langAttr = element.attrs.find(attr => attr.name === 'lang');
  49672. if (langAttr) {
  49673. this._locale = langAttr.value;
  49674. }
  49675. visitAll(this, element.children, null);
  49676. this._bundleDepth--;
  49677. break;
  49678. case _TRANSLATION_TAG:
  49679. const idAttr = element.attrs.find(attr => attr.name === 'id');
  49680. if (!idAttr) {
  49681. this._addError(element, `<${_TRANSLATION_TAG}> misses the "id" attribute`);
  49682. } else {
  49683. const id = idAttr.value;
  49684. if (this._msgIdToHtml.hasOwnProperty(id)) {
  49685. this._addError(element, `Duplicated translations for msg ${id}`);
  49686. } else {
  49687. const innerTextStart = element.startSourceSpan.end.offset;
  49688. const innerTextEnd = element.endSourceSpan.start.offset;
  49689. const content = element.startSourceSpan.start.file.content;
  49690. const innerText = content.slice(innerTextStart, innerTextEnd);
  49691. this._msgIdToHtml[id] = innerText;
  49692. }
  49693. }
  49694. break;
  49695. default:
  49696. this._addError(element, 'Unexpected tag');
  49697. }
  49698. }
  49699. visitAttribute(attribute, context) {}
  49700. visitText(text, context) {}
  49701. visitComment(comment, context) {}
  49702. visitExpansion(expansion, context) {}
  49703. visitExpansionCase(expansionCase, context) {}
  49704. _addError(node, message) {
  49705. this._errors.push(new I18nError(node.sourceSpan, message));
  49706. }
  49707. } // Convert ml nodes (xtb syntax) to i18n nodes
  49708. class XmlToI18n {
  49709. convert(message, url) {
  49710. const xmlIcu = new XmlParser().parse(message, url, {
  49711. tokenizeExpansionForms: true
  49712. });
  49713. this._errors = xmlIcu.errors;
  49714. const i18nNodes = this._errors.length > 0 || xmlIcu.rootNodes.length == 0 ? [] : visitAll(this, xmlIcu.rootNodes);
  49715. return {
  49716. i18nNodes,
  49717. errors: this._errors
  49718. };
  49719. }
  49720. visitText(text, context) {
  49721. return new Text$2(text.value, text.sourceSpan);
  49722. }
  49723. visitExpansion(icu, context) {
  49724. const caseMap = {};
  49725. visitAll(this, icu.cases).forEach(c => {
  49726. caseMap[c.value] = new Container(c.nodes, icu.sourceSpan);
  49727. });
  49728. return new Icu(icu.switchValue, icu.type, caseMap, icu.sourceSpan);
  49729. }
  49730. visitExpansionCase(icuCase, context) {
  49731. return {
  49732. value: icuCase.value,
  49733. nodes: visitAll(this, icuCase.expression)
  49734. };
  49735. }
  49736. visitElement(el, context) {
  49737. if (el.name === _PLACEHOLDER_TAG) {
  49738. const nameAttr = el.attrs.find(attr => attr.name === 'name');
  49739. if (nameAttr) {
  49740. return new Placeholder('', nameAttr.value, el.sourceSpan);
  49741. }
  49742. this._addError(el, `<${_PLACEHOLDER_TAG}> misses the "name" attribute`);
  49743. } else {
  49744. this._addError(el, `Unexpected tag`);
  49745. }
  49746. return null;
  49747. }
  49748. visitComment(comment, context) {}
  49749. visitAttribute(attribute, context) {}
  49750. _addError(node, message) {
  49751. this._errors.push(new I18nError(node.sourceSpan, message));
  49752. }
  49753. }
  49754. /**
  49755. * @license
  49756. * Copyright Google LLC All Rights Reserved.
  49757. *
  49758. * Use of this source code is governed by an MIT-style license that can be
  49759. * found in the LICENSE file at https://angular.io/license
  49760. */
  49761. /**
  49762. * A container for translated messages
  49763. */
  49764. class TranslationBundle {
  49765. constructor(_i18nNodesByMsgId = {}, locale, digest, mapperFactory, missingTranslationStrategy = MissingTranslationStrategy.Warning, console) {
  49766. this._i18nNodesByMsgId = _i18nNodesByMsgId;
  49767. this.digest = digest;
  49768. this.mapperFactory = mapperFactory;
  49769. this._i18nToHtml = new I18nToHtmlVisitor(_i18nNodesByMsgId, locale, digest, mapperFactory, missingTranslationStrategy, console);
  49770. } // Creates a `TranslationBundle` by parsing the given `content` with the `serializer`.
  49771. static load(content, url, serializer, missingTranslationStrategy, console) {
  49772. const {
  49773. locale,
  49774. i18nNodesByMsgId
  49775. } = serializer.load(content, url);
  49776. const digestFn = m => serializer.digest(m);
  49777. const mapperFactory = m => serializer.createNameMapper(m);
  49778. return new TranslationBundle(i18nNodesByMsgId, locale, digestFn, mapperFactory, missingTranslationStrategy, console);
  49779. } // Returns the translation as HTML nodes from the given source message.
  49780. get(srcMsg) {
  49781. const html = this._i18nToHtml.convert(srcMsg);
  49782. if (html.errors.length) {
  49783. throw new Error(html.errors.join('\n'));
  49784. }
  49785. return html.nodes;
  49786. }
  49787. has(srcMsg) {
  49788. return this.digest(srcMsg) in this._i18nNodesByMsgId;
  49789. }
  49790. }
  49791. class I18nToHtmlVisitor {
  49792. constructor(_i18nNodesByMsgId = {}, _locale, _digest, _mapperFactory, _missingTranslationStrategy, _console) {
  49793. this._i18nNodesByMsgId = _i18nNodesByMsgId;
  49794. this._locale = _locale;
  49795. this._digest = _digest;
  49796. this._mapperFactory = _mapperFactory;
  49797. this._missingTranslationStrategy = _missingTranslationStrategy;
  49798. this._console = _console;
  49799. this._contextStack = [];
  49800. this._errors = [];
  49801. }
  49802. convert(srcMsg) {
  49803. this._contextStack.length = 0;
  49804. this._errors.length = 0; // i18n to text
  49805. const text = this._convertToText(srcMsg); // text to html
  49806. const url = srcMsg.nodes[0].sourceSpan.start.file.url;
  49807. const html = new HtmlParser().parse(text, url, {
  49808. tokenizeExpansionForms: true
  49809. });
  49810. return {
  49811. nodes: html.rootNodes,
  49812. errors: [...this._errors, ...html.errors]
  49813. };
  49814. }
  49815. visitText(text, context) {
  49816. // `convert()` uses an `HtmlParser` to return `html.Node`s
  49817. // we should then make sure that any special characters are escaped
  49818. return escapeXml(text.value);
  49819. }
  49820. visitContainer(container, context) {
  49821. return container.children.map(n => n.visit(this)).join('');
  49822. }
  49823. visitIcu(icu, context) {
  49824. const cases = Object.keys(icu.cases).map(k => `${k} {${icu.cases[k].visit(this)}}`); // TODO(vicb): Once all format switch to using expression placeholders
  49825. // we should throw when the placeholder is not in the source message
  49826. const exp = this._srcMsg.placeholders.hasOwnProperty(icu.expression) ? this._srcMsg.placeholders[icu.expression].text : icu.expression;
  49827. return `{${exp}, ${icu.type}, ${cases.join(' ')}}`;
  49828. }
  49829. visitPlaceholder(ph, context) {
  49830. const phName = this._mapper(ph.name);
  49831. if (this._srcMsg.placeholders.hasOwnProperty(phName)) {
  49832. return this._srcMsg.placeholders[phName].text;
  49833. }
  49834. if (this._srcMsg.placeholderToMessage.hasOwnProperty(phName)) {
  49835. return this._convertToText(this._srcMsg.placeholderToMessage[phName]);
  49836. }
  49837. this._addError(ph, `Unknown placeholder "${ph.name}"`);
  49838. return '';
  49839. } // Loaded message contains only placeholders (vs tag and icu placeholders).
  49840. // However when a translation can not be found, we need to serialize the source message
  49841. // which can contain tag placeholders
  49842. visitTagPlaceholder(ph, context) {
  49843. const tag = `${ph.tag}`;
  49844. const attrs = Object.keys(ph.attrs).map(name => `${name}="${ph.attrs[name]}"`).join(' ');
  49845. if (ph.isVoid) {
  49846. return `<${tag} ${attrs}/>`;
  49847. }
  49848. const children = ph.children.map(c => c.visit(this)).join('');
  49849. return `<${tag} ${attrs}>${children}</${tag}>`;
  49850. } // Loaded message contains only placeholders (vs tag and icu placeholders).
  49851. // However when a translation can not be found, we need to serialize the source message
  49852. // which can contain tag placeholders
  49853. visitIcuPlaceholder(ph, context) {
  49854. // An ICU placeholder references the source message to be serialized
  49855. return this._convertToText(this._srcMsg.placeholderToMessage[ph.name]);
  49856. }
  49857. /**
  49858. * Convert a source message to a translated text string:
  49859. * - text nodes are replaced with their translation,
  49860. * - placeholders are replaced with their content,
  49861. * - ICU nodes are converted to ICU expressions.
  49862. */
  49863. _convertToText(srcMsg) {
  49864. const id = this._digest(srcMsg);
  49865. const mapper = this._mapperFactory ? this._mapperFactory(srcMsg) : null;
  49866. let nodes;
  49867. this._contextStack.push({
  49868. msg: this._srcMsg,
  49869. mapper: this._mapper
  49870. });
  49871. this._srcMsg = srcMsg;
  49872. if (this._i18nNodesByMsgId.hasOwnProperty(id)) {
  49873. // When there is a translation use its nodes as the source
  49874. // And create a mapper to convert serialized placeholder names to internal names
  49875. nodes = this._i18nNodesByMsgId[id];
  49876. this._mapper = name => mapper ? mapper.toInternalName(name) : name;
  49877. } else {
  49878. // When no translation has been found
  49879. // - report an error / a warning / nothing,
  49880. // - use the nodes from the original message
  49881. // - placeholders are already internal and need no mapper
  49882. if (this._missingTranslationStrategy === MissingTranslationStrategy.Error) {
  49883. const ctx = this._locale ? ` for locale "${this._locale}"` : '';
  49884. this._addError(srcMsg.nodes[0], `Missing translation for message "${id}"${ctx}`);
  49885. } else if (this._console && this._missingTranslationStrategy === MissingTranslationStrategy.Warning) {
  49886. const ctx = this._locale ? ` for locale "${this._locale}"` : '';
  49887. this._console.warn(`Missing translation for message "${id}"${ctx}`);
  49888. }
  49889. nodes = srcMsg.nodes;
  49890. this._mapper = name => name;
  49891. }
  49892. const text = nodes.map(node => node.visit(this)).join('');
  49893. const context = this._contextStack.pop();
  49894. this._srcMsg = context.msg;
  49895. this._mapper = context.mapper;
  49896. return text;
  49897. }
  49898. _addError(el, msg) {
  49899. this._errors.push(new I18nError(el.sourceSpan, msg));
  49900. }
  49901. }
  49902. /**
  49903. * @license
  49904. * Copyright Google LLC All Rights Reserved.
  49905. *
  49906. * Use of this source code is governed by an MIT-style license that can be
  49907. * found in the LICENSE file at https://angular.io/license
  49908. */
  49909. class I18NHtmlParser {
  49910. constructor(_htmlParser, translations, translationsFormat, missingTranslation = MissingTranslationStrategy.Warning, console) {
  49911. this._htmlParser = _htmlParser;
  49912. if (translations) {
  49913. const serializer = createSerializer(translationsFormat);
  49914. this._translationBundle = TranslationBundle.load(translations, 'i18n', serializer, missingTranslation, console);
  49915. } else {
  49916. this._translationBundle = new TranslationBundle({}, null, digest$1, undefined, missingTranslation, console);
  49917. }
  49918. }
  49919. parse(source, url, options = {}) {
  49920. const interpolationConfig = options.interpolationConfig || DEFAULT_INTERPOLATION_CONFIG;
  49921. const parseResult = this._htmlParser.parse(source, url, Object.assign({
  49922. interpolationConfig
  49923. }, options));
  49924. if (parseResult.errors.length) {
  49925. return new ParseTreeResult(parseResult.rootNodes, parseResult.errors);
  49926. }
  49927. return mergeTranslations(parseResult.rootNodes, this._translationBundle, interpolationConfig, [], {});
  49928. }
  49929. }
  49930. function createSerializer(format) {
  49931. format = (format || 'xlf').toLowerCase();
  49932. switch (format) {
  49933. case 'xmb':
  49934. return new Xmb();
  49935. case 'xtb':
  49936. return new Xtb();
  49937. case 'xliff2':
  49938. case 'xlf2':
  49939. return new Xliff2();
  49940. case 'xliff':
  49941. case 'xlf':
  49942. default:
  49943. return new Xliff();
  49944. }
  49945. }
  49946. /**
  49947. * @license
  49948. * Copyright Google LLC All Rights Reserved.
  49949. *
  49950. * Use of this source code is governed by an MIT-style license that can be
  49951. * found in the LICENSE file at https://angular.io/license
  49952. */
  49953. /**
  49954. * A container for message extracted from the templates.
  49955. */
  49956. class MessageBundle {
  49957. constructor(_htmlParser, _implicitTags, _implicitAttrs, _locale = null) {
  49958. this._htmlParser = _htmlParser;
  49959. this._implicitTags = _implicitTags;
  49960. this._implicitAttrs = _implicitAttrs;
  49961. this._locale = _locale;
  49962. this._messages = [];
  49963. }
  49964. updateFromTemplate(html, url, interpolationConfig) {
  49965. const htmlParserResult = this._htmlParser.parse(html, url, {
  49966. tokenizeExpansionForms: true,
  49967. interpolationConfig
  49968. });
  49969. if (htmlParserResult.errors.length) {
  49970. return htmlParserResult.errors;
  49971. }
  49972. const i18nParserResult = extractMessages(htmlParserResult.rootNodes, interpolationConfig, this._implicitTags, this._implicitAttrs);
  49973. if (i18nParserResult.errors.length) {
  49974. return i18nParserResult.errors;
  49975. }
  49976. this._messages.push(...i18nParserResult.messages);
  49977. return [];
  49978. } // Return the message in the internal format
  49979. // The public (serialized) format might be different, see the `write` method.
  49980. getMessages() {
  49981. return this._messages;
  49982. }
  49983. write(serializer, filterSources) {
  49984. const messages = {};
  49985. const mapperVisitor = new MapPlaceholderNames(); // Deduplicate messages based on their ID
  49986. this._messages.forEach(message => {
  49987. const id = serializer.digest(message);
  49988. if (!messages.hasOwnProperty(id)) {
  49989. messages[id] = message;
  49990. } else {
  49991. messages[id].sources.push(...message.sources);
  49992. }
  49993. }); // Transform placeholder names using the serializer mapping
  49994. const msgList = Object.keys(messages).map(id => {
  49995. const mapper = serializer.createNameMapper(messages[id]);
  49996. const src = messages[id];
  49997. const nodes = mapper ? mapperVisitor.convert(src.nodes, mapper) : src.nodes;
  49998. let transformedMessage = new Message(nodes, {}, {}, src.meaning, src.description, id);
  49999. transformedMessage.sources = src.sources;
  50000. if (filterSources) {
  50001. transformedMessage.sources.forEach(source => source.filePath = filterSources(source.filePath));
  50002. }
  50003. return transformedMessage;
  50004. });
  50005. return serializer.write(msgList, this._locale);
  50006. }
  50007. } // Transform an i18n AST by renaming the placeholder nodes with the given mapper
  50008. class MapPlaceholderNames extends CloneVisitor {
  50009. convert(nodes, mapper) {
  50010. return mapper ? nodes.map(n => n.visit(this, mapper)) : nodes;
  50011. }
  50012. visitTagPlaceholder(ph, mapper) {
  50013. const startName = mapper.toPublicName(ph.startName);
  50014. const closeName = ph.closeName ? mapper.toPublicName(ph.closeName) : ph.closeName;
  50015. const children = ph.children.map(n => n.visit(this, mapper));
  50016. return new TagPlaceholder(ph.tag, ph.attrs, startName, closeName, children, ph.isVoid, ph.sourceSpan, ph.startSourceSpan, ph.endSourceSpan);
  50017. }
  50018. visitPlaceholder(ph, mapper) {
  50019. return new Placeholder(ph.value, mapper.toPublicName(ph.name), ph.sourceSpan);
  50020. }
  50021. visitIcuPlaceholder(ph, mapper) {
  50022. return new IcuPlaceholder(ph.value, mapper.toPublicName(ph.name), ph.sourceSpan);
  50023. }
  50024. }
  50025. /**
  50026. * @license
  50027. * Copyright Google LLC All Rights Reserved.
  50028. *
  50029. * Use of this source code is governed by an MIT-style license that can be
  50030. * found in the LICENSE file at https://angular.io/license
  50031. */
  50032. var FactoryTarget;
  50033. (function (FactoryTarget) {
  50034. FactoryTarget[FactoryTarget["Directive"] = 0] = "Directive";
  50035. FactoryTarget[FactoryTarget["Component"] = 1] = "Component";
  50036. FactoryTarget[FactoryTarget["Injectable"] = 2] = "Injectable";
  50037. FactoryTarget[FactoryTarget["Pipe"] = 3] = "Pipe";
  50038. FactoryTarget[FactoryTarget["NgModule"] = 4] = "NgModule";
  50039. })(FactoryTarget || (FactoryTarget = {}));
  50040. /**
  50041. * @license
  50042. * Copyright Google LLC All Rights Reserved.
  50043. *
  50044. * Use of this source code is governed by an MIT-style license that can be
  50045. * found in the LICENSE file at https://angular.io/license
  50046. */
  50047. /**
  50048. * Processes `Target`s with a given set of directives and performs a binding operation, which
  50049. * returns an object similar to TypeScript's `ts.TypeChecker` that contains knowledge about the
  50050. * target.
  50051. */
  50052. class R3TargetBinder {
  50053. constructor(directiveMatcher) {
  50054. this.directiveMatcher = directiveMatcher;
  50055. }
  50056. /**
  50057. * Perform a binding operation on the given `Target` and return a `BoundTarget` which contains
  50058. * metadata about the types referenced in the template.
  50059. */
  50060. bind(target) {
  50061. if (!target.template) {
  50062. // TODO(alxhub): handle targets which contain things like HostBindings, etc.
  50063. throw new Error('Binding without a template not yet supported');
  50064. } // First, parse the template into a `Scope` structure. This operation captures the syntactic
  50065. // scopes in the template and makes them available for later use.
  50066. const scope = Scope.apply(target.template); // Use the `Scope` to extract the entities present at every level of the template.
  50067. const templateEntities = extractTemplateEntities(scope); // Next, perform directive matching on the template using the `DirectiveBinder`. This returns:
  50068. // - directives: Map of nodes (elements & ng-templates) to the directives on them.
  50069. // - bindings: Map of inputs, outputs, and attributes to the directive/element that claims
  50070. // them. TODO(alxhub): handle multiple directives claiming an input/output/etc.
  50071. // - references: Map of #references to their targets.
  50072. const {
  50073. directives,
  50074. bindings,
  50075. references
  50076. } = DirectiveBinder.apply(target.template, this.directiveMatcher); // Finally, run the TemplateBinder to bind references, variables, and other entities within the
  50077. // template. This extracts all the metadata that doesn't depend on directive matching.
  50078. const {
  50079. expressions,
  50080. symbols,
  50081. nestingLevel,
  50082. usedPipes
  50083. } = TemplateBinder.applyWithScope(target.template, scope);
  50084. return new R3BoundTarget(target, directives, bindings, references, expressions, symbols, nestingLevel, templateEntities, usedPipes);
  50085. }
  50086. }
  50087. /**
  50088. * Represents a binding scope within a template.
  50089. *
  50090. * Any variables, references, or other named entities declared within the template will
  50091. * be captured and available by name in `namedEntities`. Additionally, child templates will
  50092. * be analyzed and have their child `Scope`s available in `childScopes`.
  50093. */
  50094. class Scope {
  50095. constructor(parentScope, template) {
  50096. this.parentScope = parentScope;
  50097. this.template = template;
  50098. /**
  50099. * Named members of the `Scope`, such as `Reference`s or `Variable`s.
  50100. */
  50101. this.namedEntities = new Map();
  50102. /**
  50103. * Child `Scope`s for immediately nested `Template`s.
  50104. */
  50105. this.childScopes = new Map();
  50106. }
  50107. static newRootScope() {
  50108. return new Scope(null, null);
  50109. }
  50110. /**
  50111. * Process a template (either as a `Template` sub-template with variables, or a plain array of
  50112. * template `Node`s) and construct its `Scope`.
  50113. */
  50114. static apply(template) {
  50115. const scope = Scope.newRootScope();
  50116. scope.ingest(template);
  50117. return scope;
  50118. }
  50119. /**
  50120. * Internal method to process the template and populate the `Scope`.
  50121. */
  50122. ingest(template) {
  50123. if (template instanceof Template) {
  50124. // Variables on an <ng-template> are defined in the inner scope.
  50125. template.variables.forEach(node => this.visitVariable(node)); // Process the nodes of the template.
  50126. template.children.forEach(node => node.visit(this));
  50127. } else {
  50128. // No overarching `Template` instance, so process the nodes directly.
  50129. template.forEach(node => node.visit(this));
  50130. }
  50131. }
  50132. visitElement(element) {
  50133. // `Element`s in the template may have `Reference`s which are captured in the scope.
  50134. element.references.forEach(node => this.visitReference(node)); // Recurse into the `Element`'s children.
  50135. element.children.forEach(node => node.visit(this));
  50136. }
  50137. visitTemplate(template) {
  50138. // References on a <ng-template> are defined in the outer scope, so capture them before
  50139. // processing the template's child scope.
  50140. template.references.forEach(node => this.visitReference(node)); // Next, create an inner scope and process the template within it.
  50141. const scope = new Scope(this, template);
  50142. scope.ingest(template);
  50143. this.childScopes.set(template, scope);
  50144. }
  50145. visitVariable(variable) {
  50146. // Declare the variable if it's not already.
  50147. this.maybeDeclare(variable);
  50148. }
  50149. visitReference(reference) {
  50150. // Declare the variable if it's not already.
  50151. this.maybeDeclare(reference);
  50152. } // Unused visitors.
  50153. visitContent(content) {}
  50154. visitBoundAttribute(attr) {}
  50155. visitBoundEvent(event) {}
  50156. visitBoundText(text) {}
  50157. visitText(text) {}
  50158. visitTextAttribute(attr) {}
  50159. visitIcu(icu) {}
  50160. maybeDeclare(thing) {
  50161. // Declare something with a name, as long as that name isn't taken.
  50162. if (!this.namedEntities.has(thing.name)) {
  50163. this.namedEntities.set(thing.name, thing);
  50164. }
  50165. }
  50166. /**
  50167. * Look up a variable within this `Scope`.
  50168. *
  50169. * This can recurse into a parent `Scope` if it's available.
  50170. */
  50171. lookup(name) {
  50172. if (this.namedEntities.has(name)) {
  50173. // Found in the local scope.
  50174. return this.namedEntities.get(name);
  50175. } else if (this.parentScope !== null) {
  50176. // Not in the local scope, but there's a parent scope so check there.
  50177. return this.parentScope.lookup(name);
  50178. } else {
  50179. // At the top level and it wasn't found.
  50180. return null;
  50181. }
  50182. }
  50183. /**
  50184. * Get the child scope for a `Template`.
  50185. *
  50186. * This should always be defined.
  50187. */
  50188. getChildScope(template) {
  50189. const res = this.childScopes.get(template);
  50190. if (res === undefined) {
  50191. throw new Error(`Assertion error: child scope for ${template} not found`);
  50192. }
  50193. return res;
  50194. }
  50195. }
  50196. /**
  50197. * Processes a template and matches directives on nodes (elements and templates).
  50198. *
  50199. * Usually used via the static `apply()` method.
  50200. */
  50201. class DirectiveBinder {
  50202. constructor(matcher, directives, bindings, references) {
  50203. this.matcher = matcher;
  50204. this.directives = directives;
  50205. this.bindings = bindings;
  50206. this.references = references;
  50207. }
  50208. /**
  50209. * Process a template (list of `Node`s) and perform directive matching against each node.
  50210. *
  50211. * @param template the list of template `Node`s to match (recursively).
  50212. * @param selectorMatcher a `SelectorMatcher` containing the directives that are in scope for
  50213. * this template.
  50214. * @returns three maps which contain information about directives in the template: the
  50215. * `directives` map which lists directives matched on each node, the `bindings` map which
  50216. * indicates which directives claimed which bindings (inputs, outputs, etc), and the `references`
  50217. * map which resolves #references (`Reference`s) within the template to the named directive or
  50218. * template node.
  50219. */
  50220. static apply(template, selectorMatcher) {
  50221. const directives = new Map();
  50222. const bindings = new Map();
  50223. const references = new Map();
  50224. const matcher = new DirectiveBinder(selectorMatcher, directives, bindings, references);
  50225. matcher.ingest(template);
  50226. return {
  50227. directives,
  50228. bindings,
  50229. references
  50230. };
  50231. }
  50232. ingest(template) {
  50233. template.forEach(node => node.visit(this));
  50234. }
  50235. visitElement(element) {
  50236. this.visitElementOrTemplate(element.name, element);
  50237. }
  50238. visitTemplate(template) {
  50239. this.visitElementOrTemplate('ng-template', template);
  50240. }
  50241. visitElementOrTemplate(elementName, node) {
  50242. // First, determine the HTML shape of the node for the purpose of directive matching.
  50243. // Do this by building up a `CssSelector` for the node.
  50244. const cssSelector = createCssSelector(elementName, getAttrsForDirectiveMatching(node)); // Next, use the `SelectorMatcher` to get the list of directives on the node.
  50245. const directives = [];
  50246. this.matcher.match(cssSelector, (_, directive) => directives.push(directive));
  50247. if (directives.length > 0) {
  50248. this.directives.set(node, directives);
  50249. } // Resolve any references that are created on this node.
  50250. node.references.forEach(ref => {
  50251. let dirTarget = null; // If the reference expression is empty, then it matches the "primary" directive on the node
  50252. // (if there is one). Otherwise it matches the host node itself (either an element or
  50253. // <ng-template> node).
  50254. if (ref.value.trim() === '') {
  50255. // This could be a reference to a component if there is one.
  50256. dirTarget = directives.find(dir => dir.isComponent) || null;
  50257. } else {
  50258. // This should be a reference to a directive exported via exportAs.
  50259. dirTarget = directives.find(dir => dir.exportAs !== null && dir.exportAs.some(value => value === ref.value)) || null; // Check if a matching directive was found.
  50260. if (dirTarget === null) {
  50261. // No matching directive was found - this reference points to an unknown target. Leave it
  50262. // unmapped.
  50263. return;
  50264. }
  50265. }
  50266. if (dirTarget !== null) {
  50267. // This reference points to a directive.
  50268. this.references.set(ref, {
  50269. directive: dirTarget,
  50270. node
  50271. });
  50272. } else {
  50273. // This reference points to the node itself.
  50274. this.references.set(ref, node);
  50275. }
  50276. });
  50277. const setAttributeBinding = (attribute, ioType) => {
  50278. const dir = directives.find(dir => dir[ioType].hasBindingPropertyName(attribute.name));
  50279. const binding = dir !== undefined ? dir : node;
  50280. this.bindings.set(attribute, binding);
  50281. }; // Node inputs (bound attributes) and text attributes can be bound to an
  50282. // input on a directive.
  50283. node.inputs.forEach(input => setAttributeBinding(input, 'inputs'));
  50284. node.attributes.forEach(attr => setAttributeBinding(attr, 'inputs'));
  50285. if (node instanceof Template) {
  50286. node.templateAttrs.forEach(attr => setAttributeBinding(attr, 'inputs'));
  50287. } // Node outputs (bound events) can be bound to an output on a directive.
  50288. node.outputs.forEach(output => setAttributeBinding(output, 'outputs')); // Recurse into the node's children.
  50289. node.children.forEach(child => child.visit(this));
  50290. } // Unused visitors.
  50291. visitContent(content) {}
  50292. visitVariable(variable) {}
  50293. visitReference(reference) {}
  50294. visitTextAttribute(attribute) {}
  50295. visitBoundAttribute(attribute) {}
  50296. visitBoundEvent(attribute) {}
  50297. visitBoundAttributeOrEvent(node) {}
  50298. visitText(text) {}
  50299. visitBoundText(text) {}
  50300. visitIcu(icu) {}
  50301. }
  50302. /**
  50303. * Processes a template and extract metadata about expressions and symbols within.
  50304. *
  50305. * This is a companion to the `DirectiveBinder` that doesn't require knowledge of directives matched
  50306. * within the template in order to operate.
  50307. *
  50308. * Expressions are visited by the superclass `RecursiveAstVisitor`, with custom logic provided
  50309. * by overridden methods from that visitor.
  50310. */
  50311. class TemplateBinder extends RecursiveAstVisitor {
  50312. constructor(bindings, symbols, usedPipes, nestingLevel, scope, template, level) {
  50313. super();
  50314. this.bindings = bindings;
  50315. this.symbols = symbols;
  50316. this.usedPipes = usedPipes;
  50317. this.nestingLevel = nestingLevel;
  50318. this.scope = scope;
  50319. this.template = template;
  50320. this.level = level;
  50321. this.pipesUsed = []; // Save a bit of processing time by constructing this closure in advance.
  50322. this.visitNode = node => node.visit(this);
  50323. } // This method is defined to reconcile the type of TemplateBinder since both
  50324. // RecursiveAstVisitor and Visitor define the visit() method in their
  50325. // interfaces.
  50326. visit(node, context) {
  50327. if (node instanceof AST) {
  50328. node.visit(this, context);
  50329. } else {
  50330. node.visit(this);
  50331. }
  50332. }
  50333. /**
  50334. * Process a template and extract metadata about expressions and symbols within.
  50335. *
  50336. * @param template the nodes of the template to process
  50337. * @param scope the `Scope` of the template being processed.
  50338. * @returns three maps which contain metadata about the template: `expressions` which interprets
  50339. * special `AST` nodes in expressions as pointing to references or variables declared within the
  50340. * template, `symbols` which maps those variables and references to the nested `Template` which
  50341. * declares them, if any, and `nestingLevel` which associates each `Template` with a integer
  50342. * nesting level (how many levels deep within the template structure the `Template` is), starting
  50343. * at 1.
  50344. */
  50345. static applyWithScope(template, scope) {
  50346. const expressions = new Map();
  50347. const symbols = new Map();
  50348. const nestingLevel = new Map();
  50349. const usedPipes = new Set(); // The top-level template has nesting level 0.
  50350. const binder = new TemplateBinder(expressions, symbols, usedPipes, nestingLevel, scope, template instanceof Template ? template : null, 0);
  50351. binder.ingest(template);
  50352. return {
  50353. expressions,
  50354. symbols,
  50355. nestingLevel,
  50356. usedPipes
  50357. };
  50358. }
  50359. ingest(template) {
  50360. if (template instanceof Template) {
  50361. // For <ng-template>s, process only variables and child nodes. Inputs, outputs, templateAttrs,
  50362. // and references were all processed in the scope of the containing template.
  50363. template.variables.forEach(this.visitNode);
  50364. template.children.forEach(this.visitNode); // Set the nesting level.
  50365. this.nestingLevel.set(template, this.level);
  50366. } else {
  50367. // Visit each node from the top-level template.
  50368. template.forEach(this.visitNode);
  50369. }
  50370. }
  50371. visitElement(element) {
  50372. // Visit the inputs, outputs, and children of the element.
  50373. element.inputs.forEach(this.visitNode);
  50374. element.outputs.forEach(this.visitNode);
  50375. element.children.forEach(this.visitNode);
  50376. }
  50377. visitTemplate(template) {
  50378. // First, visit inputs, outputs and template attributes of the template node.
  50379. template.inputs.forEach(this.visitNode);
  50380. template.outputs.forEach(this.visitNode);
  50381. template.templateAttrs.forEach(this.visitNode); // References are also evaluated in the outer context.
  50382. template.references.forEach(this.visitNode); // Next, recurse into the template using its scope, and bumping the nesting level up by one.
  50383. const childScope = this.scope.getChildScope(template);
  50384. const binder = new TemplateBinder(this.bindings, this.symbols, this.usedPipes, this.nestingLevel, childScope, template, this.level + 1);
  50385. binder.ingest(template);
  50386. }
  50387. visitVariable(variable) {
  50388. // Register the `Variable` as a symbol in the current `Template`.
  50389. if (this.template !== null) {
  50390. this.symbols.set(variable, this.template);
  50391. }
  50392. }
  50393. visitReference(reference) {
  50394. // Register the `Reference` as a symbol in the current `Template`.
  50395. if (this.template !== null) {
  50396. this.symbols.set(reference, this.template);
  50397. }
  50398. } // Unused template visitors
  50399. visitText(text) {}
  50400. visitContent(content) {}
  50401. visitTextAttribute(attribute) {}
  50402. visitIcu(icu) {
  50403. Object.keys(icu.vars).forEach(key => icu.vars[key].visit(this));
  50404. Object.keys(icu.placeholders).forEach(key => icu.placeholders[key].visit(this));
  50405. } // The remaining visitors are concerned with processing AST expressions within template bindings
  50406. visitBoundAttribute(attribute) {
  50407. attribute.value.visit(this);
  50408. }
  50409. visitBoundEvent(event) {
  50410. event.handler.visit(this);
  50411. }
  50412. visitBoundText(text) {
  50413. text.value.visit(this);
  50414. }
  50415. visitPipe(ast, context) {
  50416. this.usedPipes.add(ast.name);
  50417. return super.visitPipe(ast, context);
  50418. } // These five types of AST expressions can refer to expression roots, which could be variables
  50419. // or references in the current scope.
  50420. visitPropertyRead(ast, context) {
  50421. this.maybeMap(context, ast, ast.name);
  50422. return super.visitPropertyRead(ast, context);
  50423. }
  50424. visitSafePropertyRead(ast, context) {
  50425. this.maybeMap(context, ast, ast.name);
  50426. return super.visitSafePropertyRead(ast, context);
  50427. }
  50428. visitPropertyWrite(ast, context) {
  50429. this.maybeMap(context, ast, ast.name);
  50430. return super.visitPropertyWrite(ast, context);
  50431. }
  50432. maybeMap(scope, ast, name) {
  50433. // If the receiver of the expression isn't the `ImplicitReceiver`, this isn't the root of an
  50434. // `AST` expression that maps to a `Variable` or `Reference`.
  50435. if (!(ast.receiver instanceof ImplicitReceiver)) {
  50436. return;
  50437. } // Check whether the name exists in the current scope. If so, map it. Otherwise, the name is
  50438. // probably a property on the top-level component context.
  50439. let target = this.scope.lookup(name);
  50440. if (target !== null) {
  50441. this.bindings.set(ast, target);
  50442. }
  50443. }
  50444. }
  50445. /**
  50446. * Metadata container for a `Target` that allows queries for specific bits of metadata.
  50447. *
  50448. * See `BoundTarget` for documentation on the individual methods.
  50449. */
  50450. class R3BoundTarget {
  50451. constructor(target, directives, bindings, references, exprTargets, symbols, nestingLevel, templateEntities, usedPipes) {
  50452. this.target = target;
  50453. this.directives = directives;
  50454. this.bindings = bindings;
  50455. this.references = references;
  50456. this.exprTargets = exprTargets;
  50457. this.symbols = symbols;
  50458. this.nestingLevel = nestingLevel;
  50459. this.templateEntities = templateEntities;
  50460. this.usedPipes = usedPipes;
  50461. }
  50462. getEntitiesInTemplateScope(template) {
  50463. var _a;
  50464. return (_a = this.templateEntities.get(template)) !== null && _a !== void 0 ? _a : new Set();
  50465. }
  50466. getDirectivesOfNode(node) {
  50467. return this.directives.get(node) || null;
  50468. }
  50469. getReferenceTarget(ref) {
  50470. return this.references.get(ref) || null;
  50471. }
  50472. getConsumerOfBinding(binding) {
  50473. return this.bindings.get(binding) || null;
  50474. }
  50475. getExpressionTarget(expr) {
  50476. return this.exprTargets.get(expr) || null;
  50477. }
  50478. getTemplateOfSymbol(symbol) {
  50479. return this.symbols.get(symbol) || null;
  50480. }
  50481. getNestingLevel(template) {
  50482. return this.nestingLevel.get(template) || 0;
  50483. }
  50484. getUsedDirectives() {
  50485. const set = new Set();
  50486. this.directives.forEach(dirs => dirs.forEach(dir => set.add(dir)));
  50487. return Array.from(set.values());
  50488. }
  50489. getUsedPipes() {
  50490. return Array.from(this.usedPipes);
  50491. }
  50492. }
  50493. function extractTemplateEntities(rootScope) {
  50494. const entityMap = new Map();
  50495. function extractScopeEntities(scope) {
  50496. if (entityMap.has(scope.template)) {
  50497. return entityMap.get(scope.template);
  50498. }
  50499. const currentEntities = scope.namedEntities;
  50500. let templateEntities;
  50501. if (scope.parentScope !== null) {
  50502. templateEntities = new Map([...extractScopeEntities(scope.parentScope), ...currentEntities]);
  50503. } else {
  50504. templateEntities = new Map(currentEntities);
  50505. }
  50506. entityMap.set(scope.template, templateEntities);
  50507. return templateEntities;
  50508. }
  50509. const scopesToProcess = [rootScope];
  50510. while (scopesToProcess.length > 0) {
  50511. const scope = scopesToProcess.pop();
  50512. for (const childScope of scope.childScopes.values()) {
  50513. scopesToProcess.push(childScope);
  50514. }
  50515. extractScopeEntities(scope);
  50516. }
  50517. const templateEntities = new Map();
  50518. for (const [template, entities] of entityMap) {
  50519. templateEntities.set(template, new Set(entities.values()));
  50520. }
  50521. return templateEntities;
  50522. }
  50523. /**
  50524. * @license
  50525. * Copyright Google LLC All Rights Reserved.
  50526. *
  50527. * Use of this source code is governed by an MIT-style license that can be
  50528. * found in the LICENSE file at https://angular.io/license
  50529. */
  50530. function compileClassMetadata(metadata) {
  50531. var _a, _b; // Generate an ngDevMode guarded call to setClassMetadata with the class identifier and its
  50532. // metadata.
  50533. const fnCall = importExpr(Identifiers.setClassMetadata).callFn([metadata.type, metadata.decorators, (_a = metadata.ctorParameters) !== null && _a !== void 0 ? _a : literal(null), (_b = metadata.propDecorators) !== null && _b !== void 0 ? _b : literal(null)]);
  50534. const iife = fn([], [devOnlyGuardedExpression(fnCall).toStmt()]);
  50535. return iife.callFn([]);
  50536. }
  50537. /**
  50538. * @license
  50539. * Copyright Google LLC All Rights Reserved.
  50540. *
  50541. * Use of this source code is governed by an MIT-style license that can be
  50542. * found in the LICENSE file at https://angular.io/license
  50543. */
  50544. /**
  50545. * Every time we make a breaking change to the declaration interface or partial-linker behavior, we
  50546. * must update this constant to prevent old partial-linkers from incorrectly processing the
  50547. * declaration.
  50548. *
  50549. * Do not include any prerelease in these versions as they are ignored.
  50550. */
  50551. const MINIMUM_PARTIAL_LINKER_VERSION$6 = '12.0.0';
  50552. function compileDeclareClassMetadata(metadata) {
  50553. const definitionMap = new DefinitionMap();
  50554. definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$6));
  50555. definitionMap.set('version', literal('14.2.7'));
  50556. definitionMap.set('ngImport', importExpr(Identifiers.core));
  50557. definitionMap.set('type', metadata.type);
  50558. definitionMap.set('decorators', metadata.decorators);
  50559. definitionMap.set('ctorParameters', metadata.ctorParameters);
  50560. definitionMap.set('propDecorators', metadata.propDecorators);
  50561. return importExpr(Identifiers.declareClassMetadata).callFn([definitionMap.toLiteralMap()]);
  50562. }
  50563. /**
  50564. * @license
  50565. * Copyright Google LLC All Rights Reserved.
  50566. *
  50567. * Use of this source code is governed by an MIT-style license that can be
  50568. * found in the LICENSE file at https://angular.io/license
  50569. */
  50570. /**
  50571. * Creates an array literal expression from the given array, mapping all values to an expression
  50572. * using the provided mapping function. If the array is empty or null, then null is returned.
  50573. *
  50574. * @param values The array to transfer into literal array expression.
  50575. * @param mapper The logic to use for creating an expression for the array's values.
  50576. * @returns An array literal expression representing `values`, or null if `values` is empty or
  50577. * is itself null.
  50578. */
  50579. function toOptionalLiteralArray(values, mapper) {
  50580. if (values === null || values.length === 0) {
  50581. return null;
  50582. }
  50583. return literalArr(values.map(value => mapper(value)));
  50584. }
  50585. /**
  50586. * Creates an object literal expression from the given object, mapping all values to an expression
  50587. * using the provided mapping function. If the object has no keys, then null is returned.
  50588. *
  50589. * @param object The object to transfer into an object literal expression.
  50590. * @param mapper The logic to use for creating an expression for the object's values.
  50591. * @returns An object literal expression representing `object`, or null if `object` does not have
  50592. * any keys.
  50593. */
  50594. function toOptionalLiteralMap(object, mapper) {
  50595. const entries = Object.keys(object).map(key => {
  50596. const value = object[key];
  50597. return {
  50598. key,
  50599. value: mapper(value),
  50600. quoted: true
  50601. };
  50602. });
  50603. if (entries.length > 0) {
  50604. return literalMap(entries);
  50605. } else {
  50606. return null;
  50607. }
  50608. }
  50609. function compileDependencies(deps) {
  50610. if (deps === 'invalid') {
  50611. // The `deps` can be set to the string "invalid" by the `unwrapConstructorDependencies()`
  50612. // function, which tries to convert `ConstructorDeps` into `R3DependencyMetadata[]`.
  50613. return literal('invalid');
  50614. } else if (deps === null) {
  50615. return literal(null);
  50616. } else {
  50617. return literalArr(deps.map(compileDependency));
  50618. }
  50619. }
  50620. function compileDependency(dep) {
  50621. const depMeta = new DefinitionMap();
  50622. depMeta.set('token', dep.token);
  50623. if (dep.attributeNameType !== null) {
  50624. depMeta.set('attribute', literal(true));
  50625. }
  50626. if (dep.host) {
  50627. depMeta.set('host', literal(true));
  50628. }
  50629. if (dep.optional) {
  50630. depMeta.set('optional', literal(true));
  50631. }
  50632. if (dep.self) {
  50633. depMeta.set('self', literal(true));
  50634. }
  50635. if (dep.skipSelf) {
  50636. depMeta.set('skipSelf', literal(true));
  50637. }
  50638. return depMeta.toLiteralMap();
  50639. }
  50640. /**
  50641. * @license
  50642. * Copyright Google LLC All Rights Reserved.
  50643. *
  50644. * Use of this source code is governed by an MIT-style license that can be
  50645. * found in the LICENSE file at https://angular.io/license
  50646. */
  50647. /**
  50648. * Every time we make a breaking change to the declaration interface or partial-linker behavior, we
  50649. * must update this constant to prevent old partial-linkers from incorrectly processing the
  50650. * declaration.
  50651. *
  50652. * Do not include any prerelease in these versions as they are ignored.
  50653. */
  50654. const MINIMUM_PARTIAL_LINKER_VERSION$5 = '14.0.0';
  50655. /**
  50656. * Compile a directive declaration defined by the `R3DirectiveMetadata`.
  50657. */
  50658. function compileDeclareDirectiveFromMetadata(meta) {
  50659. const definitionMap = createDirectiveDefinitionMap(meta);
  50660. const expression = importExpr(Identifiers.declareDirective).callFn([definitionMap.toLiteralMap()]);
  50661. const type = createDirectiveType(meta);
  50662. return {
  50663. expression,
  50664. type,
  50665. statements: []
  50666. };
  50667. }
  50668. /**
  50669. * Gathers the declaration fields for a directive into a `DefinitionMap`. This allows for reusing
  50670. * this logic for components, as they extend the directive metadata.
  50671. */
  50672. function createDirectiveDefinitionMap(meta) {
  50673. const definitionMap = new DefinitionMap();
  50674. definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
  50675. definitionMap.set('version', literal('14.2.7')); // e.g. `type: MyDirective`
  50676. definitionMap.set('type', meta.internalType);
  50677. if (meta.isStandalone) {
  50678. definitionMap.set('isStandalone', literal(meta.isStandalone));
  50679. } // e.g. `selector: 'some-dir'`
  50680. if (meta.selector !== null) {
  50681. definitionMap.set('selector', literal(meta.selector));
  50682. }
  50683. definitionMap.set('inputs', conditionallyCreateMapObjectLiteral(meta.inputs, true));
  50684. definitionMap.set('outputs', conditionallyCreateMapObjectLiteral(meta.outputs));
  50685. definitionMap.set('host', compileHostMetadata(meta.host));
  50686. definitionMap.set('providers', meta.providers);
  50687. if (meta.queries.length > 0) {
  50688. definitionMap.set('queries', literalArr(meta.queries.map(compileQuery)));
  50689. }
  50690. if (meta.viewQueries.length > 0) {
  50691. definitionMap.set('viewQueries', literalArr(meta.viewQueries.map(compileQuery)));
  50692. }
  50693. if (meta.exportAs !== null) {
  50694. definitionMap.set('exportAs', asLiteral(meta.exportAs));
  50695. }
  50696. if (meta.usesInheritance) {
  50697. definitionMap.set('usesInheritance', literal(true));
  50698. }
  50699. if (meta.lifecycle.usesOnChanges) {
  50700. definitionMap.set('usesOnChanges', literal(true));
  50701. }
  50702. definitionMap.set('ngImport', importExpr(Identifiers.core));
  50703. return definitionMap;
  50704. }
  50705. /**
  50706. * Compiles the metadata of a single query into its partial declaration form as declared
  50707. * by `R3DeclareQueryMetadata`.
  50708. */
  50709. function compileQuery(query) {
  50710. const meta = new DefinitionMap();
  50711. meta.set('propertyName', literal(query.propertyName));
  50712. if (query.first) {
  50713. meta.set('first', literal(true));
  50714. }
  50715. meta.set('predicate', Array.isArray(query.predicate) ? asLiteral(query.predicate) : convertFromMaybeForwardRefExpression(query.predicate));
  50716. if (!query.emitDistinctChangesOnly) {
  50717. // `emitDistinctChangesOnly` is special because we expect it to be `true`.
  50718. // Therefore we explicitly emit the field, and explicitly place it only when it's `false`.
  50719. meta.set('emitDistinctChangesOnly', literal(false));
  50720. } else {// The linker will assume that an absent `emitDistinctChangesOnly` flag is by default `true`.
  50721. }
  50722. if (query.descendants) {
  50723. meta.set('descendants', literal(true));
  50724. }
  50725. meta.set('read', query.read);
  50726. if (query.static) {
  50727. meta.set('static', literal(true));
  50728. }
  50729. return meta.toLiteralMap();
  50730. }
  50731. /**
  50732. * Compiles the host metadata into its partial declaration form as declared
  50733. * in `R3DeclareDirectiveMetadata['host']`
  50734. */
  50735. function compileHostMetadata(meta) {
  50736. const hostMetadata = new DefinitionMap();
  50737. hostMetadata.set('attributes', toOptionalLiteralMap(meta.attributes, expression => expression));
  50738. hostMetadata.set('listeners', toOptionalLiteralMap(meta.listeners, literal));
  50739. hostMetadata.set('properties', toOptionalLiteralMap(meta.properties, literal));
  50740. if (meta.specialAttributes.styleAttr) {
  50741. hostMetadata.set('styleAttribute', literal(meta.specialAttributes.styleAttr));
  50742. }
  50743. if (meta.specialAttributes.classAttr) {
  50744. hostMetadata.set('classAttribute', literal(meta.specialAttributes.classAttr));
  50745. }
  50746. if (hostMetadata.values.length > 0) {
  50747. return hostMetadata.toLiteralMap();
  50748. } else {
  50749. return null;
  50750. }
  50751. }
  50752. /**
  50753. * @license
  50754. * Copyright Google LLC All Rights Reserved.
  50755. *
  50756. * Use of this source code is governed by an MIT-style license that can be
  50757. * found in the LICENSE file at https://angular.io/license
  50758. */
  50759. /**
  50760. * Compile a component declaration defined by the `R3ComponentMetadata`.
  50761. */
  50762. function compileDeclareComponentFromMetadata(meta, template, additionalTemplateInfo) {
  50763. const definitionMap = createComponentDefinitionMap(meta, template, additionalTemplateInfo);
  50764. const expression = importExpr(Identifiers.declareComponent).callFn([definitionMap.toLiteralMap()]);
  50765. const type = createComponentType(meta);
  50766. return {
  50767. expression,
  50768. type,
  50769. statements: []
  50770. };
  50771. }
  50772. /**
  50773. * Gathers the declaration fields for a component into a `DefinitionMap`.
  50774. */
  50775. function createComponentDefinitionMap(meta, template, templateInfo) {
  50776. const definitionMap = createDirectiveDefinitionMap(meta);
  50777. definitionMap.set('template', getTemplateExpression(template, templateInfo));
  50778. if (templateInfo.isInline) {
  50779. definitionMap.set('isInline', literal(true));
  50780. }
  50781. definitionMap.set('styles', toOptionalLiteralArray(meta.styles, literal));
  50782. definitionMap.set('dependencies', compileUsedDependenciesMetadata(meta));
  50783. definitionMap.set('viewProviders', meta.viewProviders);
  50784. definitionMap.set('animations', meta.animations);
  50785. if (meta.changeDetection !== undefined) {
  50786. definitionMap.set('changeDetection', importExpr(Identifiers.ChangeDetectionStrategy).prop(ChangeDetectionStrategy[meta.changeDetection]));
  50787. }
  50788. if (meta.encapsulation !== ViewEncapsulation.Emulated) {
  50789. definitionMap.set('encapsulation', importExpr(Identifiers.ViewEncapsulation).prop(ViewEncapsulation[meta.encapsulation]));
  50790. }
  50791. if (meta.interpolation !== DEFAULT_INTERPOLATION_CONFIG) {
  50792. definitionMap.set('interpolation', literalArr([literal(meta.interpolation.start), literal(meta.interpolation.end)]));
  50793. }
  50794. if (template.preserveWhitespaces === true) {
  50795. definitionMap.set('preserveWhitespaces', literal(true));
  50796. }
  50797. return definitionMap;
  50798. }
  50799. function getTemplateExpression(template, templateInfo) {
  50800. // If the template has been defined using a direct literal, we use that expression directly
  50801. // without any modifications. This is ensures proper source mapping from the partially
  50802. // compiled code to the source file declaring the template. Note that this does not capture
  50803. // template literals referenced indirectly through an identifier.
  50804. if (templateInfo.inlineTemplateLiteralExpression !== null) {
  50805. return templateInfo.inlineTemplateLiteralExpression;
  50806. } // If the template is defined inline but not through a literal, the template has been resolved
  50807. // through static interpretation. We create a literal but cannot provide any source span. Note
  50808. // that we cannot use the expression defining the template because the linker expects the template
  50809. // to be defined as a literal in the declaration.
  50810. if (templateInfo.isInline) {
  50811. return literal(templateInfo.content, null, null);
  50812. } // The template is external so we must synthesize an expression node with
  50813. // the appropriate source-span.
  50814. const contents = templateInfo.content;
  50815. const file = new ParseSourceFile(contents, templateInfo.sourceUrl);
  50816. const start = new ParseLocation(file, 0, 0, 0);
  50817. const end = computeEndLocation(file, contents);
  50818. const span = new ParseSourceSpan(start, end);
  50819. return literal(contents, null, span);
  50820. }
  50821. function computeEndLocation(file, contents) {
  50822. const length = contents.length;
  50823. let lineStart = 0;
  50824. let lastLineStart = 0;
  50825. let line = 0;
  50826. do {
  50827. lineStart = contents.indexOf('\n', lastLineStart);
  50828. if (lineStart !== -1) {
  50829. lastLineStart = lineStart + 1;
  50830. line++;
  50831. }
  50832. } while (lineStart !== -1);
  50833. return new ParseLocation(file, length, line, length - lastLineStart);
  50834. }
  50835. function compileUsedDependenciesMetadata(meta) {
  50836. const wrapType = meta.declarationListEmitMode !== 0
  50837. /* DeclarationListEmitMode.Direct */
  50838. ? generateForwardRef : expr => expr;
  50839. return toOptionalLiteralArray(meta.declarations, decl => {
  50840. switch (decl.kind) {
  50841. case R3TemplateDependencyKind.Directive:
  50842. const dirMeta = new DefinitionMap();
  50843. dirMeta.set('kind', literal(decl.isComponent ? 'component' : 'directive'));
  50844. dirMeta.set('type', wrapType(decl.type));
  50845. dirMeta.set('selector', literal(decl.selector));
  50846. dirMeta.set('inputs', toOptionalLiteralArray(decl.inputs, literal));
  50847. dirMeta.set('outputs', toOptionalLiteralArray(decl.outputs, literal));
  50848. dirMeta.set('exportAs', toOptionalLiteralArray(decl.exportAs, literal));
  50849. return dirMeta.toLiteralMap();
  50850. case R3TemplateDependencyKind.Pipe:
  50851. const pipeMeta = new DefinitionMap();
  50852. pipeMeta.set('kind', literal('pipe'));
  50853. pipeMeta.set('type', wrapType(decl.type));
  50854. pipeMeta.set('name', literal(decl.name));
  50855. return pipeMeta.toLiteralMap();
  50856. case R3TemplateDependencyKind.NgModule:
  50857. const ngModuleMeta = new DefinitionMap();
  50858. ngModuleMeta.set('kind', literal('ngmodule'));
  50859. ngModuleMeta.set('type', wrapType(decl.type));
  50860. return ngModuleMeta.toLiteralMap();
  50861. }
  50862. });
  50863. }
  50864. /**
  50865. * @license
  50866. * Copyright Google LLC All Rights Reserved.
  50867. *
  50868. * Use of this source code is governed by an MIT-style license that can be
  50869. * found in the LICENSE file at https://angular.io/license
  50870. */
  50871. /**
  50872. * Every time we make a breaking change to the declaration interface or partial-linker behavior, we
  50873. * must update this constant to prevent old partial-linkers from incorrectly processing the
  50874. * declaration.
  50875. *
  50876. * Do not include any prerelease in these versions as they are ignored.
  50877. */
  50878. const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
  50879. function compileDeclareFactoryFunction(meta) {
  50880. const definitionMap = new DefinitionMap();
  50881. definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
  50882. definitionMap.set('version', literal('14.2.7'));
  50883. definitionMap.set('ngImport', importExpr(Identifiers.core));
  50884. definitionMap.set('type', meta.internalType);
  50885. definitionMap.set('deps', compileDependencies(meta.deps));
  50886. definitionMap.set('target', importExpr(Identifiers.FactoryTarget).prop(FactoryTarget$1[meta.target]));
  50887. return {
  50888. expression: importExpr(Identifiers.declareFactory).callFn([definitionMap.toLiteralMap()]),
  50889. statements: [],
  50890. type: createFactoryType(meta)
  50891. };
  50892. }
  50893. /**
  50894. * @license
  50895. * Copyright Google LLC All Rights Reserved.
  50896. *
  50897. * Use of this source code is governed by an MIT-style license that can be
  50898. * found in the LICENSE file at https://angular.io/license
  50899. */
  50900. /**
  50901. * Every time we make a breaking change to the declaration interface or partial-linker behavior, we
  50902. * must update this constant to prevent old partial-linkers from incorrectly processing the
  50903. * declaration.
  50904. *
  50905. * Do not include any prerelease in these versions as they are ignored.
  50906. */
  50907. const MINIMUM_PARTIAL_LINKER_VERSION$3 = '12.0.0';
  50908. /**
  50909. * Compile a Injectable declaration defined by the `R3InjectableMetadata`.
  50910. */
  50911. function compileDeclareInjectableFromMetadata(meta) {
  50912. const definitionMap = createInjectableDefinitionMap(meta);
  50913. const expression = importExpr(Identifiers.declareInjectable).callFn([definitionMap.toLiteralMap()]);
  50914. const type = createInjectableType(meta);
  50915. return {
  50916. expression,
  50917. type,
  50918. statements: []
  50919. };
  50920. }
  50921. /**
  50922. * Gathers the declaration fields for a Injectable into a `DefinitionMap`.
  50923. */
  50924. function createInjectableDefinitionMap(meta) {
  50925. const definitionMap = new DefinitionMap();
  50926. definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
  50927. definitionMap.set('version', literal('14.2.7'));
  50928. definitionMap.set('ngImport', importExpr(Identifiers.core));
  50929. definitionMap.set('type', meta.internalType); // Only generate providedIn property if it has a non-null value
  50930. if (meta.providedIn !== undefined) {
  50931. const providedIn = convertFromMaybeForwardRefExpression(meta.providedIn);
  50932. if (providedIn.value !== null) {
  50933. definitionMap.set('providedIn', providedIn);
  50934. }
  50935. }
  50936. if (meta.useClass !== undefined) {
  50937. definitionMap.set('useClass', convertFromMaybeForwardRefExpression(meta.useClass));
  50938. }
  50939. if (meta.useExisting !== undefined) {
  50940. definitionMap.set('useExisting', convertFromMaybeForwardRefExpression(meta.useExisting));
  50941. }
  50942. if (meta.useValue !== undefined) {
  50943. definitionMap.set('useValue', convertFromMaybeForwardRefExpression(meta.useValue));
  50944. } // Factories do not contain `ForwardRef`s since any types are already wrapped in a function call
  50945. // so the types will not be eagerly evaluated. Therefore we do not need to process this expression
  50946. // with `convertFromProviderExpression()`.
  50947. if (meta.useFactory !== undefined) {
  50948. definitionMap.set('useFactory', meta.useFactory);
  50949. }
  50950. if (meta.deps !== undefined) {
  50951. definitionMap.set('deps', literalArr(meta.deps.map(compileDependency)));
  50952. }
  50953. return definitionMap;
  50954. }
  50955. /**
  50956. * @license
  50957. * Copyright Google LLC All Rights Reserved.
  50958. *
  50959. * Use of this source code is governed by an MIT-style license that can be
  50960. * found in the LICENSE file at https://angular.io/license
  50961. */
  50962. /**
  50963. * Every time we make a breaking change to the declaration interface or partial-linker behavior, we
  50964. * must update this constant to prevent old partial-linkers from incorrectly processing the
  50965. * declaration.
  50966. *
  50967. * Do not include any prerelease in these versions as they are ignored.
  50968. */
  50969. const MINIMUM_PARTIAL_LINKER_VERSION$2 = '12.0.0';
  50970. function compileDeclareInjectorFromMetadata(meta) {
  50971. const definitionMap = createInjectorDefinitionMap(meta);
  50972. const expression = importExpr(Identifiers.declareInjector).callFn([definitionMap.toLiteralMap()]);
  50973. const type = createInjectorType(meta);
  50974. return {
  50975. expression,
  50976. type,
  50977. statements: []
  50978. };
  50979. }
  50980. /**
  50981. * Gathers the declaration fields for an Injector into a `DefinitionMap`.
  50982. */
  50983. function createInjectorDefinitionMap(meta) {
  50984. const definitionMap = new DefinitionMap();
  50985. definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
  50986. definitionMap.set('version', literal('14.2.7'));
  50987. definitionMap.set('ngImport', importExpr(Identifiers.core));
  50988. definitionMap.set('type', meta.internalType);
  50989. definitionMap.set('providers', meta.providers);
  50990. if (meta.imports.length > 0) {
  50991. definitionMap.set('imports', literalArr(meta.imports));
  50992. }
  50993. return definitionMap;
  50994. }
  50995. /**
  50996. * @license
  50997. * Copyright Google LLC All Rights Reserved.
  50998. *
  50999. * Use of this source code is governed by an MIT-style license that can be
  51000. * found in the LICENSE file at https://angular.io/license
  51001. */
  51002. /**
  51003. * Every time we make a breaking change to the declaration interface or partial-linker behavior, we
  51004. * must update this constant to prevent old partial-linkers from incorrectly processing the
  51005. * declaration.
  51006. *
  51007. * Do not include any prerelease in these versions as they are ignored.
  51008. */
  51009. const MINIMUM_PARTIAL_LINKER_VERSION$1 = '14.0.0';
  51010. function compileDeclareNgModuleFromMetadata(meta) {
  51011. const definitionMap = createNgModuleDefinitionMap(meta);
  51012. const expression = importExpr(Identifiers.declareNgModule).callFn([definitionMap.toLiteralMap()]);
  51013. const type = createNgModuleType(meta);
  51014. return {
  51015. expression,
  51016. type,
  51017. statements: []
  51018. };
  51019. }
  51020. /**
  51021. * Gathers the declaration fields for an NgModule into a `DefinitionMap`.
  51022. */
  51023. function createNgModuleDefinitionMap(meta) {
  51024. const definitionMap = new DefinitionMap();
  51025. definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
  51026. definitionMap.set('version', literal('14.2.7'));
  51027. definitionMap.set('ngImport', importExpr(Identifiers.core));
  51028. definitionMap.set('type', meta.internalType); // We only generate the keys in the metadata if the arrays contain values.
  51029. // We must wrap the arrays inside a function if any of the values are a forward reference to a
  51030. // not-yet-declared class. This is to support JIT execution of the `ɵɵngDeclareNgModule()` call.
  51031. // In the linker these wrappers are stripped and then reapplied for the `ɵɵdefineNgModule()` call.
  51032. if (meta.bootstrap.length > 0) {
  51033. definitionMap.set('bootstrap', refsToArray(meta.bootstrap, meta.containsForwardDecls));
  51034. }
  51035. if (meta.declarations.length > 0) {
  51036. definitionMap.set('declarations', refsToArray(meta.declarations, meta.containsForwardDecls));
  51037. }
  51038. if (meta.imports.length > 0) {
  51039. definitionMap.set('imports', refsToArray(meta.imports, meta.containsForwardDecls));
  51040. }
  51041. if (meta.exports.length > 0) {
  51042. definitionMap.set('exports', refsToArray(meta.exports, meta.containsForwardDecls));
  51043. }
  51044. if (meta.schemas !== null && meta.schemas.length > 0) {
  51045. definitionMap.set('schemas', literalArr(meta.schemas.map(ref => ref.value)));
  51046. }
  51047. if (meta.id !== null) {
  51048. definitionMap.set('id', meta.id);
  51049. }
  51050. return definitionMap;
  51051. }
  51052. /**
  51053. * @license
  51054. * Copyright Google LLC All Rights Reserved.
  51055. *
  51056. * Use of this source code is governed by an MIT-style license that can be
  51057. * found in the LICENSE file at https://angular.io/license
  51058. */
  51059. /**
  51060. * Every time we make a breaking change to the declaration interface or partial-linker behavior, we
  51061. * must update this constant to prevent old partial-linkers from incorrectly processing the
  51062. * declaration.
  51063. *
  51064. * Do not include any prerelease in these versions as they are ignored.
  51065. */
  51066. const MINIMUM_PARTIAL_LINKER_VERSION = '14.0.0';
  51067. /**
  51068. * Compile a Pipe declaration defined by the `R3PipeMetadata`.
  51069. */
  51070. function compileDeclarePipeFromMetadata(meta) {
  51071. const definitionMap = createPipeDefinitionMap(meta);
  51072. const expression = importExpr(Identifiers.declarePipe).callFn([definitionMap.toLiteralMap()]);
  51073. const type = createPipeType(meta);
  51074. return {
  51075. expression,
  51076. type,
  51077. statements: []
  51078. };
  51079. }
  51080. /**
  51081. * Gathers the declaration fields for a Pipe into a `DefinitionMap`.
  51082. */
  51083. function createPipeDefinitionMap(meta) {
  51084. const definitionMap = new DefinitionMap();
  51085. definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
  51086. definitionMap.set('version', literal('14.2.7'));
  51087. definitionMap.set('ngImport', importExpr(Identifiers.core)); // e.g. `type: MyPipe`
  51088. definitionMap.set('type', meta.internalType);
  51089. if (meta.isStandalone) {
  51090. definitionMap.set('isStandalone', literal(meta.isStandalone));
  51091. } // e.g. `name: "myPipe"`
  51092. definitionMap.set('name', literal(meta.pipeName));
  51093. if (meta.pure === false) {
  51094. // e.g. `pure: false`
  51095. definitionMap.set('pure', literal(meta.pure));
  51096. }
  51097. return definitionMap;
  51098. }
  51099. /**
  51100. * @license
  51101. * Copyright Google LLC All Rights Reserved.
  51102. *
  51103. * Use of this source code is governed by an MIT-style license that can be
  51104. * found in the LICENSE file at https://angular.io/license
  51105. */
  51106. // This file only reexports content of the `src` folder. Keep it that way.
  51107. // This function call has a global side effects and publishes the compiler into global namespace for
  51108. // the late binding of the Compiler to the @angular/core for jit compilation.
  51109. publishFacade(_global);
  51110. /**
  51111. * @license
  51112. * Copyright Google LLC All Rights Reserved.
  51113. *
  51114. * Use of this source code is governed by an MIT-style license that can be
  51115. * found in the LICENSE file at https://angular.io/license
  51116. */
  51117. // This file only reexports content of the `src` folder. Keep it that way.
  51118. /**
  51119. * @license
  51120. * Copyright Google LLC All Rights Reserved.
  51121. *
  51122. * Use of this source code is governed by an MIT-style license that can be
  51123. * found in the LICENSE file at https://angular.io/license
  51124. */
  51125. /**
  51126. * @license
  51127. * Copyright Google LLC All Rights Reserved.
  51128. *
  51129. * Use of this source code is governed by an MIT-style license that can be
  51130. * found in the LICENSE file at https://angular.io/license
  51131. */
  51132. /***/ }),
  51133. /***/ 3184:
  51134. /*!******************************************************!*\
  51135. !*** ./node_modules/@angular/core/fesm2015/core.mjs ***!
  51136. \******************************************************/
  51137. /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
  51138. __webpack_require__.r(__webpack_exports__);
  51139. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  51140. /* harmony export */ "ANALYZE_FOR_ENTRY_COMPONENTS": () => (/* binding */ ANALYZE_FOR_ENTRY_COMPONENTS),
  51141. /* harmony export */ "ANIMATION_MODULE_TYPE": () => (/* binding */ ANIMATION_MODULE_TYPE),
  51142. /* harmony export */ "APP_BOOTSTRAP_LISTENER": () => (/* binding */ APP_BOOTSTRAP_LISTENER),
  51143. /* harmony export */ "APP_ID": () => (/* binding */ APP_ID),
  51144. /* harmony export */ "APP_INITIALIZER": () => (/* binding */ APP_INITIALIZER),
  51145. /* harmony export */ "ApplicationInitStatus": () => (/* binding */ ApplicationInitStatus),
  51146. /* harmony export */ "ApplicationModule": () => (/* binding */ ApplicationModule),
  51147. /* harmony export */ "ApplicationRef": () => (/* binding */ ApplicationRef),
  51148. /* harmony export */ "Attribute": () => (/* binding */ Attribute),
  51149. /* harmony export */ "COMPILER_OPTIONS": () => (/* binding */ COMPILER_OPTIONS),
  51150. /* harmony export */ "CUSTOM_ELEMENTS_SCHEMA": () => (/* binding */ CUSTOM_ELEMENTS_SCHEMA),
  51151. /* harmony export */ "ChangeDetectionStrategy": () => (/* binding */ ChangeDetectionStrategy),
  51152. /* harmony export */ "ChangeDetectorRef": () => (/* binding */ ChangeDetectorRef),
  51153. /* harmony export */ "Compiler": () => (/* binding */ Compiler),
  51154. /* harmony export */ "CompilerFactory": () => (/* binding */ CompilerFactory),
  51155. /* harmony export */ "Component": () => (/* binding */ Component),
  51156. /* harmony export */ "ComponentFactory": () => (/* binding */ ComponentFactory$1),
  51157. /* harmony export */ "ComponentFactoryResolver": () => (/* binding */ ComponentFactoryResolver$1),
  51158. /* harmony export */ "ComponentRef": () => (/* binding */ ComponentRef$1),
  51159. /* harmony export */ "ContentChild": () => (/* binding */ ContentChild),
  51160. /* harmony export */ "ContentChildren": () => (/* binding */ ContentChildren),
  51161. /* harmony export */ "DEFAULT_CURRENCY_CODE": () => (/* binding */ DEFAULT_CURRENCY_CODE),
  51162. /* harmony export */ "DebugElement": () => (/* binding */ DebugElement),
  51163. /* harmony export */ "DebugEventListener": () => (/* binding */ DebugEventListener),
  51164. /* harmony export */ "DebugNode": () => (/* binding */ DebugNode),
  51165. /* harmony export */ "DefaultIterableDiffer": () => (/* binding */ DefaultIterableDiffer),
  51166. /* harmony export */ "Directive": () => (/* binding */ Directive),
  51167. /* harmony export */ "ENVIRONMENT_INITIALIZER": () => (/* binding */ ENVIRONMENT_INITIALIZER),
  51168. /* harmony export */ "ElementRef": () => (/* binding */ ElementRef),
  51169. /* harmony export */ "EmbeddedViewRef": () => (/* binding */ EmbeddedViewRef),
  51170. /* harmony export */ "EnvironmentInjector": () => (/* binding */ EnvironmentInjector),
  51171. /* harmony export */ "ErrorHandler": () => (/* binding */ ErrorHandler),
  51172. /* harmony export */ "EventEmitter": () => (/* binding */ EventEmitter),
  51173. /* harmony export */ "Host": () => (/* binding */ Host),
  51174. /* harmony export */ "HostBinding": () => (/* binding */ HostBinding),
  51175. /* harmony export */ "HostListener": () => (/* binding */ HostListener),
  51176. /* harmony export */ "INJECTOR": () => (/* binding */ INJECTOR),
  51177. /* harmony export */ "Inject": () => (/* binding */ Inject),
  51178. /* harmony export */ "InjectFlags": () => (/* binding */ InjectFlags),
  51179. /* harmony export */ "Injectable": () => (/* binding */ Injectable),
  51180. /* harmony export */ "InjectionToken": () => (/* binding */ InjectionToken),
  51181. /* harmony export */ "Injector": () => (/* binding */ Injector),
  51182. /* harmony export */ "Input": () => (/* binding */ Input),
  51183. /* harmony export */ "IterableDiffers": () => (/* binding */ IterableDiffers),
  51184. /* harmony export */ "KeyValueDiffers": () => (/* binding */ KeyValueDiffers),
  51185. /* harmony export */ "LOCALE_ID": () => (/* binding */ LOCALE_ID),
  51186. /* harmony export */ "MissingTranslationStrategy": () => (/* binding */ MissingTranslationStrategy),
  51187. /* harmony export */ "ModuleWithComponentFactories": () => (/* binding */ ModuleWithComponentFactories),
  51188. /* harmony export */ "NO_ERRORS_SCHEMA": () => (/* binding */ NO_ERRORS_SCHEMA),
  51189. /* harmony export */ "NgModule": () => (/* binding */ NgModule),
  51190. /* harmony export */ "NgModuleFactory": () => (/* binding */ NgModuleFactory$1),
  51191. /* harmony export */ "NgModuleRef": () => (/* binding */ NgModuleRef$1),
  51192. /* harmony export */ "NgProbeToken": () => (/* binding */ NgProbeToken),
  51193. /* harmony export */ "NgZone": () => (/* binding */ NgZone),
  51194. /* harmony export */ "Optional": () => (/* binding */ Optional),
  51195. /* harmony export */ "Output": () => (/* binding */ Output),
  51196. /* harmony export */ "PACKAGE_ROOT_URL": () => (/* binding */ PACKAGE_ROOT_URL),
  51197. /* harmony export */ "PLATFORM_ID": () => (/* binding */ PLATFORM_ID),
  51198. /* harmony export */ "PLATFORM_INITIALIZER": () => (/* binding */ PLATFORM_INITIALIZER),
  51199. /* harmony export */ "Pipe": () => (/* binding */ Pipe),
  51200. /* harmony export */ "PlatformRef": () => (/* binding */ PlatformRef),
  51201. /* harmony export */ "Query": () => (/* binding */ Query),
  51202. /* harmony export */ "QueryList": () => (/* binding */ QueryList),
  51203. /* harmony export */ "ReflectiveInjector": () => (/* binding */ ReflectiveInjector),
  51204. /* harmony export */ "ReflectiveKey": () => (/* binding */ ReflectiveKey),
  51205. /* harmony export */ "Renderer2": () => (/* binding */ Renderer2),
  51206. /* harmony export */ "RendererFactory2": () => (/* binding */ RendererFactory2),
  51207. /* harmony export */ "RendererStyleFlags2": () => (/* binding */ RendererStyleFlags2),
  51208. /* harmony export */ "ResolvedReflectiveFactory": () => (/* binding */ ResolvedReflectiveFactory),
  51209. /* harmony export */ "Sanitizer": () => (/* binding */ Sanitizer),
  51210. /* harmony export */ "SecurityContext": () => (/* binding */ SecurityContext),
  51211. /* harmony export */ "Self": () => (/* binding */ Self),
  51212. /* harmony export */ "SimpleChange": () => (/* binding */ SimpleChange),
  51213. /* harmony export */ "SkipSelf": () => (/* binding */ SkipSelf),
  51214. /* harmony export */ "TRANSLATIONS": () => (/* binding */ TRANSLATIONS),
  51215. /* harmony export */ "TRANSLATIONS_FORMAT": () => (/* binding */ TRANSLATIONS_FORMAT),
  51216. /* harmony export */ "TemplateRef": () => (/* binding */ TemplateRef),
  51217. /* harmony export */ "Testability": () => (/* binding */ Testability),
  51218. /* harmony export */ "TestabilityRegistry": () => (/* binding */ TestabilityRegistry),
  51219. /* harmony export */ "Type": () => (/* binding */ Type),
  51220. /* harmony export */ "VERSION": () => (/* binding */ VERSION),
  51221. /* harmony export */ "Version": () => (/* binding */ Version),
  51222. /* harmony export */ "ViewChild": () => (/* binding */ ViewChild),
  51223. /* harmony export */ "ViewChildren": () => (/* binding */ ViewChildren),
  51224. /* harmony export */ "ViewContainerRef": () => (/* binding */ ViewContainerRef),
  51225. /* harmony export */ "ViewEncapsulation": () => (/* binding */ ViewEncapsulation$1),
  51226. /* harmony export */ "ViewRef": () => (/* binding */ ViewRef),
  51227. /* harmony export */ "asNativeElements": () => (/* binding */ asNativeElements),
  51228. /* harmony export */ "assertPlatform": () => (/* binding */ assertPlatform),
  51229. /* harmony export */ "createComponent": () => (/* binding */ createComponent),
  51230. /* harmony export */ "createEnvironmentInjector": () => (/* binding */ createEnvironmentInjector),
  51231. /* harmony export */ "createNgModule": () => (/* binding */ createNgModule),
  51232. /* harmony export */ "createNgModuleRef": () => (/* binding */ createNgModuleRef),
  51233. /* harmony export */ "createPlatform": () => (/* binding */ createPlatform),
  51234. /* harmony export */ "createPlatformFactory": () => (/* binding */ createPlatformFactory),
  51235. /* harmony export */ "defineInjectable": () => (/* binding */ defineInjectable),
  51236. /* harmony export */ "destroyPlatform": () => (/* binding */ destroyPlatform),
  51237. /* harmony export */ "enableProdMode": () => (/* binding */ enableProdMode),
  51238. /* harmony export */ "forwardRef": () => (/* binding */ forwardRef),
  51239. /* harmony export */ "getDebugNode": () => (/* binding */ getDebugNode),
  51240. /* harmony export */ "getModuleFactory": () => (/* binding */ getModuleFactory),
  51241. /* harmony export */ "getNgModuleById": () => (/* binding */ getNgModuleById),
  51242. /* harmony export */ "getPlatform": () => (/* binding */ getPlatform),
  51243. /* harmony export */ "importProvidersFrom": () => (/* binding */ importProvidersFrom),
  51244. /* harmony export */ "inject": () => (/* binding */ inject),
  51245. /* harmony export */ "isDevMode": () => (/* binding */ isDevMode),
  51246. /* harmony export */ "platformCore": () => (/* binding */ platformCore),
  51247. /* harmony export */ "reflectComponentType": () => (/* binding */ reflectComponentType),
  51248. /* harmony export */ "resolveForwardRef": () => (/* binding */ resolveForwardRef),
  51249. /* harmony export */ "setTestabilityGetter": () => (/* binding */ setTestabilityGetter),
  51250. /* harmony export */ "ɵALLOW_MULTIPLE_PLATFORMS": () => (/* binding */ ALLOW_MULTIPLE_PLATFORMS),
  51251. /* harmony export */ "ɵAPP_ID_RANDOM_PROVIDER": () => (/* binding */ APP_ID_RANDOM_PROVIDER),
  51252. /* harmony export */ "ɵChangeDetectorStatus": () => (/* binding */ ChangeDetectorStatus),
  51253. /* harmony export */ "ɵComponentFactory": () => (/* binding */ ComponentFactory$1),
  51254. /* harmony export */ "ɵConsole": () => (/* binding */ Console),
  51255. /* harmony export */ "ɵDEFAULT_LOCALE_ID": () => (/* binding */ DEFAULT_LOCALE_ID),
  51256. /* harmony export */ "ɵINJECTOR_SCOPE": () => (/* binding */ INJECTOR_SCOPE),
  51257. /* harmony export */ "ɵLContext": () => (/* binding */ LContext),
  51258. /* harmony export */ "ɵLifecycleHooksFeature": () => (/* binding */ LifecycleHooksFeature),
  51259. /* harmony export */ "ɵLocaleDataIndex": () => (/* binding */ LocaleDataIndex),
  51260. /* harmony export */ "ɵNG_COMP_DEF": () => (/* binding */ NG_COMP_DEF),
  51261. /* harmony export */ "ɵNG_DIR_DEF": () => (/* binding */ NG_DIR_DEF),
  51262. /* harmony export */ "ɵNG_ELEMENT_ID": () => (/* binding */ NG_ELEMENT_ID),
  51263. /* harmony export */ "ɵNG_INJ_DEF": () => (/* binding */ NG_INJ_DEF),
  51264. /* harmony export */ "ɵNG_MOD_DEF": () => (/* binding */ NG_MOD_DEF),
  51265. /* harmony export */ "ɵNG_PIPE_DEF": () => (/* binding */ NG_PIPE_DEF),
  51266. /* harmony export */ "ɵNG_PROV_DEF": () => (/* binding */ NG_PROV_DEF),
  51267. /* harmony export */ "ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR": () => (/* binding */ NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR),
  51268. /* harmony export */ "ɵNO_CHANGE": () => (/* binding */ NO_CHANGE),
  51269. /* harmony export */ "ɵNgModuleFactory": () => (/* binding */ NgModuleFactory),
  51270. /* harmony export */ "ɵNoopNgZone": () => (/* binding */ NoopNgZone),
  51271. /* harmony export */ "ɵReflectionCapabilities": () => (/* binding */ ReflectionCapabilities),
  51272. /* harmony export */ "ɵRender3ComponentFactory": () => (/* binding */ ComponentFactory),
  51273. /* harmony export */ "ɵRender3ComponentRef": () => (/* binding */ ComponentRef),
  51274. /* harmony export */ "ɵRender3NgModuleRef": () => (/* binding */ NgModuleRef),
  51275. /* harmony export */ "ɵRuntimeError": () => (/* binding */ RuntimeError),
  51276. /* harmony export */ "ɵTESTABILITY": () => (/* binding */ TESTABILITY),
  51277. /* harmony export */ "ɵTESTABILITY_GETTER": () => (/* binding */ TESTABILITY_GETTER),
  51278. /* harmony export */ "ɵViewRef": () => (/* binding */ ViewRef$1),
  51279. /* harmony export */ "ɵ_sanitizeHtml": () => (/* binding */ _sanitizeHtml),
  51280. /* harmony export */ "ɵ_sanitizeUrl": () => (/* binding */ _sanitizeUrl),
  51281. /* harmony export */ "ɵallowSanitizationBypassAndThrow": () => (/* binding */ allowSanitizationBypassAndThrow),
  51282. /* harmony export */ "ɵbypassSanitizationTrustHtml": () => (/* binding */ bypassSanitizationTrustHtml),
  51283. /* harmony export */ "ɵbypassSanitizationTrustResourceUrl": () => (/* binding */ bypassSanitizationTrustResourceUrl),
  51284. /* harmony export */ "ɵbypassSanitizationTrustScript": () => (/* binding */ bypassSanitizationTrustScript),
  51285. /* harmony export */ "ɵbypassSanitizationTrustStyle": () => (/* binding */ bypassSanitizationTrustStyle),
  51286. /* harmony export */ "ɵbypassSanitizationTrustUrl": () => (/* binding */ bypassSanitizationTrustUrl),
  51287. /* harmony export */ "ɵclearResolutionOfComponentResourcesQueue": () => (/* binding */ clearResolutionOfComponentResourcesQueue),
  51288. /* harmony export */ "ɵcoerceToBoolean": () => (/* binding */ coerceToBoolean),
  51289. /* harmony export */ "ɵcompileComponent": () => (/* binding */ compileComponent),
  51290. /* harmony export */ "ɵcompileDirective": () => (/* binding */ compileDirective),
  51291. /* harmony export */ "ɵcompileNgModule": () => (/* binding */ compileNgModule),
  51292. /* harmony export */ "ɵcompileNgModuleDefs": () => (/* binding */ compileNgModuleDefs),
  51293. /* harmony export */ "ɵcompileNgModuleFactory": () => (/* binding */ compileNgModuleFactory),
  51294. /* harmony export */ "ɵcompilePipe": () => (/* binding */ compilePipe),
  51295. /* harmony export */ "ɵcreateInjector": () => (/* binding */ createInjector),
  51296. /* harmony export */ "ɵdefaultIterableDiffers": () => (/* binding */ defaultIterableDiffers),
  51297. /* harmony export */ "ɵdefaultKeyValueDiffers": () => (/* binding */ defaultKeyValueDiffers),
  51298. /* harmony export */ "ɵdetectChanges": () => (/* binding */ detectChanges),
  51299. /* harmony export */ "ɵdevModeEqual": () => (/* binding */ devModeEqual),
  51300. /* harmony export */ "ɵfindLocaleData": () => (/* binding */ findLocaleData),
  51301. /* harmony export */ "ɵflushModuleScopingQueueAsMuchAsPossible": () => (/* binding */ flushModuleScopingQueueAsMuchAsPossible),
  51302. /* harmony export */ "ɵformatRuntimeError": () => (/* binding */ formatRuntimeError),
  51303. /* harmony export */ "ɵgetDebugNode": () => (/* binding */ getDebugNode),
  51304. /* harmony export */ "ɵgetDebugNodeR2": () => (/* binding */ getDebugNodeR2),
  51305. /* harmony export */ "ɵgetDirectives": () => (/* binding */ getDirectives),
  51306. /* harmony export */ "ɵgetHostElement": () => (/* binding */ getHostElement),
  51307. /* harmony export */ "ɵgetInjectableDef": () => (/* binding */ getInjectableDef),
  51308. /* harmony export */ "ɵgetLContext": () => (/* binding */ getLContext),
  51309. /* harmony export */ "ɵgetLocaleCurrencyCode": () => (/* binding */ getLocaleCurrencyCode),
  51310. /* harmony export */ "ɵgetLocalePluralCase": () => (/* binding */ getLocalePluralCase),
  51311. /* harmony export */ "ɵgetSanitizationBypassType": () => (/* binding */ getSanitizationBypassType),
  51312. /* harmony export */ "ɵgetUnknownElementStrictMode": () => (/* binding */ ɵgetUnknownElementStrictMode),
  51313. /* harmony export */ "ɵgetUnknownPropertyStrictMode": () => (/* binding */ ɵgetUnknownPropertyStrictMode),
  51314. /* harmony export */ "ɵglobal": () => (/* binding */ _global),
  51315. /* harmony export */ "ɵinjectChangeDetectorRef": () => (/* binding */ injectChangeDetectorRef),
  51316. /* harmony export */ "ɵinternalCreateApplication": () => (/* binding */ internalCreateApplication),
  51317. /* harmony export */ "ɵisBoundToModule": () => (/* binding */ isBoundToModule),
  51318. /* harmony export */ "ɵisDefaultChangeDetectionStrategy": () => (/* binding */ isDefaultChangeDetectionStrategy),
  51319. /* harmony export */ "ɵisInjectable": () => (/* binding */ isInjectable),
  51320. /* harmony export */ "ɵisListLikeIterable": () => (/* binding */ isListLikeIterable),
  51321. /* harmony export */ "ɵisObservable": () => (/* binding */ isObservable),
  51322. /* harmony export */ "ɵisPromise": () => (/* binding */ isPromise),
  51323. /* harmony export */ "ɵisStandalone": () => (/* binding */ isStandalone),
  51324. /* harmony export */ "ɵisSubscribable": () => (/* binding */ isSubscribable),
  51325. /* harmony export */ "ɵivyEnabled": () => (/* binding */ ɵivyEnabled),
  51326. /* harmony export */ "ɵmakeDecorator": () => (/* binding */ makeDecorator),
  51327. /* harmony export */ "ɵnoSideEffects": () => (/* binding */ noSideEffects),
  51328. /* harmony export */ "ɵpatchComponentDefWithScope": () => (/* binding */ patchComponentDefWithScope),
  51329. /* harmony export */ "ɵpublishDefaultGlobalUtils": () => (/* binding */ publishDefaultGlobalUtils$1),
  51330. /* harmony export */ "ɵpublishGlobalUtil": () => (/* binding */ publishGlobalUtil),
  51331. /* harmony export */ "ɵregisterLocaleData": () => (/* binding */ registerLocaleData),
  51332. /* harmony export */ "ɵresetCompiledComponents": () => (/* binding */ resetCompiledComponents),
  51333. /* harmony export */ "ɵresetJitOptions": () => (/* binding */ resetJitOptions),
  51334. /* harmony export */ "ɵresolveComponentResources": () => (/* binding */ resolveComponentResources),
  51335. /* harmony export */ "ɵsetAllowDuplicateNgModuleIdsForTest": () => (/* binding */ setAllowDuplicateNgModuleIdsForTest),
  51336. /* harmony export */ "ɵsetClassMetadata": () => (/* binding */ setClassMetadata),
  51337. /* harmony export */ "ɵsetCurrentInjector": () => (/* binding */ setCurrentInjector),
  51338. /* harmony export */ "ɵsetDocument": () => (/* binding */ setDocument),
  51339. /* harmony export */ "ɵsetLocaleId": () => (/* binding */ setLocaleId),
  51340. /* harmony export */ "ɵsetUnknownElementStrictMode": () => (/* binding */ ɵsetUnknownElementStrictMode),
  51341. /* harmony export */ "ɵsetUnknownPropertyStrictMode": () => (/* binding */ ɵsetUnknownPropertyStrictMode),
  51342. /* harmony export */ "ɵstore": () => (/* binding */ store),
  51343. /* harmony export */ "ɵstringify": () => (/* binding */ stringify),
  51344. /* harmony export */ "ɵtransitiveScopesFor": () => (/* binding */ transitiveScopesFor),
  51345. /* harmony export */ "ɵunregisterLocaleData": () => (/* binding */ unregisterAllLocaleData),
  51346. /* harmony export */ "ɵunwrapSafeValue": () => (/* binding */ unwrapSafeValue),
  51347. /* harmony export */ "ɵɵCopyDefinitionFeature": () => (/* binding */ ɵɵCopyDefinitionFeature),
  51348. /* harmony export */ "ɵɵFactoryTarget": () => (/* binding */ FactoryTarget),
  51349. /* harmony export */ "ɵɵInheritDefinitionFeature": () => (/* binding */ ɵɵInheritDefinitionFeature),
  51350. /* harmony export */ "ɵɵNgOnChangesFeature": () => (/* binding */ ɵɵNgOnChangesFeature),
  51351. /* harmony export */ "ɵɵProvidersFeature": () => (/* binding */ ɵɵProvidersFeature),
  51352. /* harmony export */ "ɵɵStandaloneFeature": () => (/* binding */ ɵɵStandaloneFeature),
  51353. /* harmony export */ "ɵɵadvance": () => (/* binding */ ɵɵadvance),
  51354. /* harmony export */ "ɵɵattribute": () => (/* binding */ ɵɵattribute),
  51355. /* harmony export */ "ɵɵattributeInterpolate1": () => (/* binding */ ɵɵattributeInterpolate1),
  51356. /* harmony export */ "ɵɵattributeInterpolate2": () => (/* binding */ ɵɵattributeInterpolate2),
  51357. /* harmony export */ "ɵɵattributeInterpolate3": () => (/* binding */ ɵɵattributeInterpolate3),
  51358. /* harmony export */ "ɵɵattributeInterpolate4": () => (/* binding */ ɵɵattributeInterpolate4),
  51359. /* harmony export */ "ɵɵattributeInterpolate5": () => (/* binding */ ɵɵattributeInterpolate5),
  51360. /* harmony export */ "ɵɵattributeInterpolate6": () => (/* binding */ ɵɵattributeInterpolate6),
  51361. /* harmony export */ "ɵɵattributeInterpolate7": () => (/* binding */ ɵɵattributeInterpolate7),
  51362. /* harmony export */ "ɵɵattributeInterpolate8": () => (/* binding */ ɵɵattributeInterpolate8),
  51363. /* harmony export */ "ɵɵattributeInterpolateV": () => (/* binding */ ɵɵattributeInterpolateV),
  51364. /* harmony export */ "ɵɵclassMap": () => (/* binding */ ɵɵclassMap),
  51365. /* harmony export */ "ɵɵclassMapInterpolate1": () => (/* binding */ ɵɵclassMapInterpolate1),
  51366. /* harmony export */ "ɵɵclassMapInterpolate2": () => (/* binding */ ɵɵclassMapInterpolate2),
  51367. /* harmony export */ "ɵɵclassMapInterpolate3": () => (/* binding */ ɵɵclassMapInterpolate3),
  51368. /* harmony export */ "ɵɵclassMapInterpolate4": () => (/* binding */ ɵɵclassMapInterpolate4),
  51369. /* harmony export */ "ɵɵclassMapInterpolate5": () => (/* binding */ ɵɵclassMapInterpolate5),
  51370. /* harmony export */ "ɵɵclassMapInterpolate6": () => (/* binding */ ɵɵclassMapInterpolate6),
  51371. /* harmony export */ "ɵɵclassMapInterpolate7": () => (/* binding */ ɵɵclassMapInterpolate7),
  51372. /* harmony export */ "ɵɵclassMapInterpolate8": () => (/* binding */ ɵɵclassMapInterpolate8),
  51373. /* harmony export */ "ɵɵclassMapInterpolateV": () => (/* binding */ ɵɵclassMapInterpolateV),
  51374. /* harmony export */ "ɵɵclassProp": () => (/* binding */ ɵɵclassProp),
  51375. /* harmony export */ "ɵɵcontentQuery": () => (/* binding */ ɵɵcontentQuery),
  51376. /* harmony export */ "ɵɵdefineComponent": () => (/* binding */ ɵɵdefineComponent),
  51377. /* harmony export */ "ɵɵdefineDirective": () => (/* binding */ ɵɵdefineDirective),
  51378. /* harmony export */ "ɵɵdefineInjectable": () => (/* binding */ ɵɵdefineInjectable),
  51379. /* harmony export */ "ɵɵdefineInjector": () => (/* binding */ ɵɵdefineInjector),
  51380. /* harmony export */ "ɵɵdefineNgModule": () => (/* binding */ ɵɵdefineNgModule),
  51381. /* harmony export */ "ɵɵdefinePipe": () => (/* binding */ ɵɵdefinePipe),
  51382. /* harmony export */ "ɵɵdirectiveInject": () => (/* binding */ ɵɵdirectiveInject),
  51383. /* harmony export */ "ɵɵdisableBindings": () => (/* binding */ ɵɵdisableBindings),
  51384. /* harmony export */ "ɵɵelement": () => (/* binding */ ɵɵelement),
  51385. /* harmony export */ "ɵɵelementContainer": () => (/* binding */ ɵɵelementContainer),
  51386. /* harmony export */ "ɵɵelementContainerEnd": () => (/* binding */ ɵɵelementContainerEnd),
  51387. /* harmony export */ "ɵɵelementContainerStart": () => (/* binding */ ɵɵelementContainerStart),
  51388. /* harmony export */ "ɵɵelementEnd": () => (/* binding */ ɵɵelementEnd),
  51389. /* harmony export */ "ɵɵelementStart": () => (/* binding */ ɵɵelementStart),
  51390. /* harmony export */ "ɵɵenableBindings": () => (/* binding */ ɵɵenableBindings),
  51391. /* harmony export */ "ɵɵgetCurrentView": () => (/* binding */ ɵɵgetCurrentView),
  51392. /* harmony export */ "ɵɵgetInheritedFactory": () => (/* binding */ ɵɵgetInheritedFactory),
  51393. /* harmony export */ "ɵɵhostProperty": () => (/* binding */ ɵɵhostProperty),
  51394. /* harmony export */ "ɵɵi18n": () => (/* binding */ ɵɵi18n),
  51395. /* harmony export */ "ɵɵi18nApply": () => (/* binding */ ɵɵi18nApply),
  51396. /* harmony export */ "ɵɵi18nAttributes": () => (/* binding */ ɵɵi18nAttributes),
  51397. /* harmony export */ "ɵɵi18nEnd": () => (/* binding */ ɵɵi18nEnd),
  51398. /* harmony export */ "ɵɵi18nExp": () => (/* binding */ ɵɵi18nExp),
  51399. /* harmony export */ "ɵɵi18nPostprocess": () => (/* binding */ ɵɵi18nPostprocess),
  51400. /* harmony export */ "ɵɵi18nStart": () => (/* binding */ ɵɵi18nStart),
  51401. /* harmony export */ "ɵɵinject": () => (/* binding */ ɵɵinject),
  51402. /* harmony export */ "ɵɵinjectAttribute": () => (/* binding */ ɵɵinjectAttribute),
  51403. /* harmony export */ "ɵɵinvalidFactory": () => (/* binding */ ɵɵinvalidFactory),
  51404. /* harmony export */ "ɵɵinvalidFactoryDep": () => (/* binding */ ɵɵinvalidFactoryDep),
  51405. /* harmony export */ "ɵɵlistener": () => (/* binding */ ɵɵlistener),
  51406. /* harmony export */ "ɵɵloadQuery": () => (/* binding */ ɵɵloadQuery),
  51407. /* harmony export */ "ɵɵnamespaceHTML": () => (/* binding */ ɵɵnamespaceHTML),
  51408. /* harmony export */ "ɵɵnamespaceMathML": () => (/* binding */ ɵɵnamespaceMathML),
  51409. /* harmony export */ "ɵɵnamespaceSVG": () => (/* binding */ ɵɵnamespaceSVG),
  51410. /* harmony export */ "ɵɵnextContext": () => (/* binding */ ɵɵnextContext),
  51411. /* harmony export */ "ɵɵngDeclareClassMetadata": () => (/* binding */ ɵɵngDeclareClassMetadata),
  51412. /* harmony export */ "ɵɵngDeclareComponent": () => (/* binding */ ɵɵngDeclareComponent),
  51413. /* harmony export */ "ɵɵngDeclareDirective": () => (/* binding */ ɵɵngDeclareDirective),
  51414. /* harmony export */ "ɵɵngDeclareFactory": () => (/* binding */ ɵɵngDeclareFactory),
  51415. /* harmony export */ "ɵɵngDeclareInjectable": () => (/* binding */ ɵɵngDeclareInjectable),
  51416. /* harmony export */ "ɵɵngDeclareInjector": () => (/* binding */ ɵɵngDeclareInjector),
  51417. /* harmony export */ "ɵɵngDeclareNgModule": () => (/* binding */ ɵɵngDeclareNgModule),
  51418. /* harmony export */ "ɵɵngDeclarePipe": () => (/* binding */ ɵɵngDeclarePipe),
  51419. /* harmony export */ "ɵɵpipe": () => (/* binding */ ɵɵpipe),
  51420. /* harmony export */ "ɵɵpipeBind1": () => (/* binding */ ɵɵpipeBind1),
  51421. /* harmony export */ "ɵɵpipeBind2": () => (/* binding */ ɵɵpipeBind2),
  51422. /* harmony export */ "ɵɵpipeBind3": () => (/* binding */ ɵɵpipeBind3),
  51423. /* harmony export */ "ɵɵpipeBind4": () => (/* binding */ ɵɵpipeBind4),
  51424. /* harmony export */ "ɵɵpipeBindV": () => (/* binding */ ɵɵpipeBindV),
  51425. /* harmony export */ "ɵɵprojection": () => (/* binding */ ɵɵprojection),
  51426. /* harmony export */ "ɵɵprojectionDef": () => (/* binding */ ɵɵprojectionDef),
  51427. /* harmony export */ "ɵɵproperty": () => (/* binding */ ɵɵproperty),
  51428. /* harmony export */ "ɵɵpropertyInterpolate": () => (/* binding */ ɵɵpropertyInterpolate),
  51429. /* harmony export */ "ɵɵpropertyInterpolate1": () => (/* binding */ ɵɵpropertyInterpolate1),
  51430. /* harmony export */ "ɵɵpropertyInterpolate2": () => (/* binding */ ɵɵpropertyInterpolate2),
  51431. /* harmony export */ "ɵɵpropertyInterpolate3": () => (/* binding */ ɵɵpropertyInterpolate3),
  51432. /* harmony export */ "ɵɵpropertyInterpolate4": () => (/* binding */ ɵɵpropertyInterpolate4),
  51433. /* harmony export */ "ɵɵpropertyInterpolate5": () => (/* binding */ ɵɵpropertyInterpolate5),
  51434. /* harmony export */ "ɵɵpropertyInterpolate6": () => (/* binding */ ɵɵpropertyInterpolate6),
  51435. /* harmony export */ "ɵɵpropertyInterpolate7": () => (/* binding */ ɵɵpropertyInterpolate7),
  51436. /* harmony export */ "ɵɵpropertyInterpolate8": () => (/* binding */ ɵɵpropertyInterpolate8),
  51437. /* harmony export */ "ɵɵpropertyInterpolateV": () => (/* binding */ ɵɵpropertyInterpolateV),
  51438. /* harmony export */ "ɵɵpureFunction0": () => (/* binding */ ɵɵpureFunction0),
  51439. /* harmony export */ "ɵɵpureFunction1": () => (/* binding */ ɵɵpureFunction1),
  51440. /* harmony export */ "ɵɵpureFunction2": () => (/* binding */ ɵɵpureFunction2),
  51441. /* harmony export */ "ɵɵpureFunction3": () => (/* binding */ ɵɵpureFunction3),
  51442. /* harmony export */ "ɵɵpureFunction4": () => (/* binding */ ɵɵpureFunction4),
  51443. /* harmony export */ "ɵɵpureFunction5": () => (/* binding */ ɵɵpureFunction5),
  51444. /* harmony export */ "ɵɵpureFunction6": () => (/* binding */ ɵɵpureFunction6),
  51445. /* harmony export */ "ɵɵpureFunction7": () => (/* binding */ ɵɵpureFunction7),
  51446. /* harmony export */ "ɵɵpureFunction8": () => (/* binding */ ɵɵpureFunction8),
  51447. /* harmony export */ "ɵɵpureFunctionV": () => (/* binding */ ɵɵpureFunctionV),
  51448. /* harmony export */ "ɵɵqueryRefresh": () => (/* binding */ ɵɵqueryRefresh),
  51449. /* harmony export */ "ɵɵreference": () => (/* binding */ ɵɵreference),
  51450. /* harmony export */ "ɵɵregisterNgModuleType": () => (/* binding */ registerNgModuleType),
  51451. /* harmony export */ "ɵɵresetView": () => (/* binding */ ɵɵresetView),
  51452. /* harmony export */ "ɵɵresolveBody": () => (/* binding */ ɵɵresolveBody),
  51453. /* harmony export */ "ɵɵresolveDocument": () => (/* binding */ ɵɵresolveDocument),
  51454. /* harmony export */ "ɵɵresolveWindow": () => (/* binding */ ɵɵresolveWindow),
  51455. /* harmony export */ "ɵɵrestoreView": () => (/* binding */ ɵɵrestoreView),
  51456. /* harmony export */ "ɵɵsanitizeHtml": () => (/* binding */ ɵɵsanitizeHtml),
  51457. /* harmony export */ "ɵɵsanitizeResourceUrl": () => (/* binding */ ɵɵsanitizeResourceUrl),
  51458. /* harmony export */ "ɵɵsanitizeScript": () => (/* binding */ ɵɵsanitizeScript),
  51459. /* harmony export */ "ɵɵsanitizeStyle": () => (/* binding */ ɵɵsanitizeStyle),
  51460. /* harmony export */ "ɵɵsanitizeUrl": () => (/* binding */ ɵɵsanitizeUrl),
  51461. /* harmony export */ "ɵɵsanitizeUrlOrResourceUrl": () => (/* binding */ ɵɵsanitizeUrlOrResourceUrl),
  51462. /* harmony export */ "ɵɵsetComponentScope": () => (/* binding */ ɵɵsetComponentScope),
  51463. /* harmony export */ "ɵɵsetNgModuleScope": () => (/* binding */ ɵɵsetNgModuleScope),
  51464. /* harmony export */ "ɵɵstyleMap": () => (/* binding */ ɵɵstyleMap),
  51465. /* harmony export */ "ɵɵstyleMapInterpolate1": () => (/* binding */ ɵɵstyleMapInterpolate1),
  51466. /* harmony export */ "ɵɵstyleMapInterpolate2": () => (/* binding */ ɵɵstyleMapInterpolate2),
  51467. /* harmony export */ "ɵɵstyleMapInterpolate3": () => (/* binding */ ɵɵstyleMapInterpolate3),
  51468. /* harmony export */ "ɵɵstyleMapInterpolate4": () => (/* binding */ ɵɵstyleMapInterpolate4),
  51469. /* harmony export */ "ɵɵstyleMapInterpolate5": () => (/* binding */ ɵɵstyleMapInterpolate5),
  51470. /* harmony export */ "ɵɵstyleMapInterpolate6": () => (/* binding */ ɵɵstyleMapInterpolate6),
  51471. /* harmony export */ "ɵɵstyleMapInterpolate7": () => (/* binding */ ɵɵstyleMapInterpolate7),
  51472. /* harmony export */ "ɵɵstyleMapInterpolate8": () => (/* binding */ ɵɵstyleMapInterpolate8),
  51473. /* harmony export */ "ɵɵstyleMapInterpolateV": () => (/* binding */ ɵɵstyleMapInterpolateV),
  51474. /* harmony export */ "ɵɵstyleProp": () => (/* binding */ ɵɵstyleProp),
  51475. /* harmony export */ "ɵɵstylePropInterpolate1": () => (/* binding */ ɵɵstylePropInterpolate1),
  51476. /* harmony export */ "ɵɵstylePropInterpolate2": () => (/* binding */ ɵɵstylePropInterpolate2),
  51477. /* harmony export */ "ɵɵstylePropInterpolate3": () => (/* binding */ ɵɵstylePropInterpolate3),
  51478. /* harmony export */ "ɵɵstylePropInterpolate4": () => (/* binding */ ɵɵstylePropInterpolate4),
  51479. /* harmony export */ "ɵɵstylePropInterpolate5": () => (/* binding */ ɵɵstylePropInterpolate5),
  51480. /* harmony export */ "ɵɵstylePropInterpolate6": () => (/* binding */ ɵɵstylePropInterpolate6),
  51481. /* harmony export */ "ɵɵstylePropInterpolate7": () => (/* binding */ ɵɵstylePropInterpolate7),
  51482. /* harmony export */ "ɵɵstylePropInterpolate8": () => (/* binding */ ɵɵstylePropInterpolate8),
  51483. /* harmony export */ "ɵɵstylePropInterpolateV": () => (/* binding */ ɵɵstylePropInterpolateV),
  51484. /* harmony export */ "ɵɵsyntheticHostListener": () => (/* binding */ ɵɵsyntheticHostListener),
  51485. /* harmony export */ "ɵɵsyntheticHostProperty": () => (/* binding */ ɵɵsyntheticHostProperty),
  51486. /* harmony export */ "ɵɵtemplate": () => (/* binding */ ɵɵtemplate),
  51487. /* harmony export */ "ɵɵtemplateRefExtractor": () => (/* binding */ ɵɵtemplateRefExtractor),
  51488. /* harmony export */ "ɵɵtext": () => (/* binding */ ɵɵtext),
  51489. /* harmony export */ "ɵɵtextInterpolate": () => (/* binding */ ɵɵtextInterpolate),
  51490. /* harmony export */ "ɵɵtextInterpolate1": () => (/* binding */ ɵɵtextInterpolate1),
  51491. /* harmony export */ "ɵɵtextInterpolate2": () => (/* binding */ ɵɵtextInterpolate2),
  51492. /* harmony export */ "ɵɵtextInterpolate3": () => (/* binding */ ɵɵtextInterpolate3),
  51493. /* harmony export */ "ɵɵtextInterpolate4": () => (/* binding */ ɵɵtextInterpolate4),
  51494. /* harmony export */ "ɵɵtextInterpolate5": () => (/* binding */ ɵɵtextInterpolate5),
  51495. /* harmony export */ "ɵɵtextInterpolate6": () => (/* binding */ ɵɵtextInterpolate6),
  51496. /* harmony export */ "ɵɵtextInterpolate7": () => (/* binding */ ɵɵtextInterpolate7),
  51497. /* harmony export */ "ɵɵtextInterpolate8": () => (/* binding */ ɵɵtextInterpolate8),
  51498. /* harmony export */ "ɵɵtextInterpolateV": () => (/* binding */ ɵɵtextInterpolateV),
  51499. /* harmony export */ "ɵɵtrustConstantHtml": () => (/* binding */ ɵɵtrustConstantHtml),
  51500. /* harmony export */ "ɵɵtrustConstantResourceUrl": () => (/* binding */ ɵɵtrustConstantResourceUrl),
  51501. /* harmony export */ "ɵɵviewQuery": () => (/* binding */ ɵɵviewQuery)
  51502. /* harmony export */ });
  51503. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ 2218);
  51504. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ 2425);
  51505. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ 2378);
  51506. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs */ 8623);
  51507. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ 4514);
  51508. /**
  51509. * @license Angular v14.2.7
  51510. * (c) 2010-2022 Google LLC. https://angular.io/
  51511. * License: MIT
  51512. */
  51513. /**
  51514. * @license
  51515. * Copyright Google LLC All Rights Reserved.
  51516. *
  51517. * Use of this source code is governed by an MIT-style license that can be
  51518. * found in the LICENSE file at https://angular.io/license
  51519. */
  51520. function getClosureSafeProperty(objWithPropertyToExtract) {
  51521. for (let key in objWithPropertyToExtract) {
  51522. if (objWithPropertyToExtract[key] === getClosureSafeProperty) {
  51523. return key;
  51524. }
  51525. }
  51526. throw Error('Could not find renamed property on target object.');
  51527. }
  51528. /**
  51529. * Sets properties on a target object from a source object, but only if
  51530. * the property doesn't already exist on the target object.
  51531. * @param target The target to set properties on
  51532. * @param source The source of the property keys and values to set
  51533. */
  51534. function fillProperties(target, source) {
  51535. for (const key in source) {
  51536. if (source.hasOwnProperty(key) && !target.hasOwnProperty(key)) {
  51537. target[key] = source[key];
  51538. }
  51539. }
  51540. }
  51541. /**
  51542. * @license
  51543. * Copyright Google LLC All Rights Reserved.
  51544. *
  51545. * Use of this source code is governed by an MIT-style license that can be
  51546. * found in the LICENSE file at https://angular.io/license
  51547. */
  51548. function stringify(token) {
  51549. if (typeof token === 'string') {
  51550. return token;
  51551. }
  51552. if (Array.isArray(token)) {
  51553. return '[' + token.map(stringify).join(', ') + ']';
  51554. }
  51555. if (token == null) {
  51556. return '' + token;
  51557. }
  51558. if (token.overriddenName) {
  51559. return `${token.overriddenName}`;
  51560. }
  51561. if (token.name) {
  51562. return `${token.name}`;
  51563. }
  51564. const res = token.toString();
  51565. if (res == null) {
  51566. return '' + res;
  51567. }
  51568. const newLineIndex = res.indexOf('\n');
  51569. return newLineIndex === -1 ? res : res.substring(0, newLineIndex);
  51570. }
  51571. /**
  51572. * Concatenates two strings with separator, allocating new strings only when necessary.
  51573. *
  51574. * @param before before string.
  51575. * @param separator separator string.
  51576. * @param after after string.
  51577. * @returns concatenated string.
  51578. */
  51579. function concatStringsWithSpace(before, after) {
  51580. return before == null || before === '' ? after === null ? '' : after : after == null || after === '' ? before : before + ' ' + after;
  51581. }
  51582. /**
  51583. * @license
  51584. * Copyright Google LLC All Rights Reserved.
  51585. *
  51586. * Use of this source code is governed by an MIT-style license that can be
  51587. * found in the LICENSE file at https://angular.io/license
  51588. */
  51589. const __forward_ref__ = getClosureSafeProperty({
  51590. __forward_ref__: getClosureSafeProperty
  51591. });
  51592. /**
  51593. * Allows to refer to references which are not yet defined.
  51594. *
  51595. * For instance, `forwardRef` is used when the `token` which we need to refer to for the purposes of
  51596. * DI is declared, but not yet defined. It is also used when the `token` which we use when creating
  51597. * a query is not yet defined.
  51598. *
  51599. * @usageNotes
  51600. * ### Example
  51601. * {@example core/di/ts/forward_ref/forward_ref_spec.ts region='forward_ref'}
  51602. * @publicApi
  51603. */
  51604. function forwardRef(forwardRefFn) {
  51605. forwardRefFn.__forward_ref__ = forwardRef;
  51606. forwardRefFn.toString = function () {
  51607. return stringify(this());
  51608. };
  51609. return forwardRefFn;
  51610. }
  51611. /**
  51612. * Lazily retrieves the reference value from a forwardRef.
  51613. *
  51614. * Acts as the identity function when given a non-forward-ref value.
  51615. *
  51616. * @usageNotes
  51617. * ### Example
  51618. *
  51619. * {@example core/di/ts/forward_ref/forward_ref_spec.ts region='resolve_forward_ref'}
  51620. *
  51621. * @see `forwardRef`
  51622. * @publicApi
  51623. */
  51624. function resolveForwardRef(type) {
  51625. return isForwardRef(type) ? type() : type;
  51626. }
  51627. /** Checks whether a function is wrapped by a `forwardRef`. */
  51628. function isForwardRef(fn) {
  51629. return typeof fn === 'function' && fn.hasOwnProperty(__forward_ref__) && fn.__forward_ref__ === forwardRef;
  51630. }
  51631. /**
  51632. * @license
  51633. * Copyright Google LLC All Rights Reserved.
  51634. *
  51635. * Use of this source code is governed by an MIT-style license that can be
  51636. * found in the LICENSE file at https://angular.io/license
  51637. */
  51638. /**
  51639. * Base URL for the error details page.
  51640. *
  51641. * Keep the files below in full sync:
  51642. * - packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.ts
  51643. * - packages/core/src/error_details_base_url.ts
  51644. */
  51645. const ERROR_DETAILS_PAGE_BASE_URL = 'https://angular.io/errors';
  51646. /**
  51647. * @license
  51648. * Copyright Google LLC All Rights Reserved.
  51649. *
  51650. * Use of this source code is governed by an MIT-style license that can be
  51651. * found in the LICENSE file at https://angular.io/license
  51652. */
  51653. /**
  51654. * Class that represents a runtime error.
  51655. * Formats and outputs the error message in a consistent way.
  51656. *
  51657. * Example:
  51658. * ```
  51659. * throw new RuntimeError(
  51660. * RuntimeErrorCode.INJECTOR_ALREADY_DESTROYED,
  51661. * ngDevMode && 'Injector has already been destroyed.');
  51662. * ```
  51663. *
  51664. * Note: the `message` argument contains a descriptive error message as a string in development
  51665. * mode (when the `ngDevMode` is defined). In production mode (after tree-shaking pass), the
  51666. * `message` argument becomes `false`, thus we account for it in the typings and the runtime logic.
  51667. */
  51668. class RuntimeError extends Error {
  51669. constructor(code, message) {
  51670. super(formatRuntimeError(code, message));
  51671. this.code = code;
  51672. }
  51673. }
  51674. /**
  51675. * Called to format a runtime error.
  51676. * See additional info on the `message` argument type in the `RuntimeError` class description.
  51677. */
  51678. function formatRuntimeError(code, message) {
  51679. // Error code might be a negative number, which is a special marker that instructs the logic to
  51680. // generate a link to the error details page on angular.io.
  51681. const fullCode = `NG0${Math.abs(code)}`;
  51682. let errorMessage = `${fullCode}${message ? ': ' + message.trim() : ''}`;
  51683. if (ngDevMode && code < 0) {
  51684. const addPeriodSeparator = !errorMessage.match(/[.,;!?]$/);
  51685. const separator = addPeriodSeparator ? '.' : '';
  51686. errorMessage = `${errorMessage}${separator} Find more at ${ERROR_DETAILS_PAGE_BASE_URL}/${fullCode}`;
  51687. }
  51688. return errorMessage;
  51689. }
  51690. /**
  51691. * @license
  51692. * Copyright Google LLC All Rights Reserved.
  51693. *
  51694. * Use of this source code is governed by an MIT-style license that can be
  51695. * found in the LICENSE file at https://angular.io/license
  51696. */
  51697. /**
  51698. * Used for stringify render output in Ivy.
  51699. * Important! This function is very performance-sensitive and we should
  51700. * be extra careful not to introduce megamorphic reads in it.
  51701. * Check `core/test/render3/perf/render_stringify` for benchmarks and alternate implementations.
  51702. */
  51703. function renderStringify(value) {
  51704. if (typeof value === 'string') return value;
  51705. if (value == null) return ''; // Use `String` so that it invokes the `toString` method of the value. Note that this
  51706. // appears to be faster than calling `value.toString` (see `render_stringify` benchmark).
  51707. return String(value);
  51708. }
  51709. /**
  51710. * Used to stringify a value so that it can be displayed in an error message.
  51711. * Important! This function contains a megamorphic read and should only be
  51712. * used for error messages.
  51713. */
  51714. function stringifyForError(value) {
  51715. if (typeof value === 'function') return value.name || value.toString();
  51716. if (typeof value === 'object' && value != null && typeof value.type === 'function') {
  51717. return value.type.name || value.type.toString();
  51718. }
  51719. return renderStringify(value);
  51720. }
  51721. /**
  51722. * @license
  51723. * Copyright Google LLC All Rights Reserved.
  51724. *
  51725. * Use of this source code is governed by an MIT-style license that can be
  51726. * found in the LICENSE file at https://angular.io/license
  51727. */
  51728. /** Called when directives inject each other (creating a circular dependency) */
  51729. function throwCyclicDependencyError(token, path) {
  51730. const depPath = path ? `. Dependency path: ${path.join(' > ')} > ${token}` : '';
  51731. throw new RuntimeError(-200
  51732. /* RuntimeErrorCode.CYCLIC_DI_DEPENDENCY */
  51733. , `Circular dependency in DI detected for ${token}${depPath}`);
  51734. }
  51735. function throwMixedMultiProviderError() {
  51736. throw new Error(`Cannot mix multi providers and regular providers`);
  51737. }
  51738. function throwInvalidProviderError(ngModuleType, providers, provider) {
  51739. if (ngModuleType && providers) {
  51740. const providerDetail = providers.map(v => v == provider ? '?' + provider + '?' : '...');
  51741. throw new Error(`Invalid provider for the NgModule '${stringify(ngModuleType)}' - only instances of Provider and Type are allowed, got: [${providerDetail.join(', ')}]`);
  51742. } else if (provider.ɵproviders) {
  51743. throw new RuntimeError(207
  51744. /* RuntimeErrorCode.PROVIDER_IN_WRONG_CONTEXT */
  51745. , `Invalid providers from 'importProvidersFrom' present in a non-environment injector. 'importProvidersFrom' can't be used for component providers.`);
  51746. } else {
  51747. throw new Error('Invalid provider');
  51748. }
  51749. }
  51750. /** Throws an error when a token is not found in DI. */
  51751. function throwProviderNotFoundError(token, injectorName) {
  51752. const injectorDetails = injectorName ? ` in ${injectorName}` : '';
  51753. throw new RuntimeError(-201
  51754. /* RuntimeErrorCode.PROVIDER_NOT_FOUND */
  51755. , ngDevMode && `No provider for ${stringifyForError(token)} found${injectorDetails}`);
  51756. }
  51757. /**
  51758. * @license
  51759. * Copyright Google LLC All Rights Reserved.
  51760. *
  51761. * Use of this source code is governed by an MIT-style license that can be
  51762. * found in the LICENSE file at https://angular.io/license
  51763. */
  51764. function assertNumber(actual, msg) {
  51765. if (!(typeof actual === 'number')) {
  51766. throwError(msg, typeof actual, 'number', '===');
  51767. }
  51768. }
  51769. function assertNumberInRange(actual, minInclusive, maxInclusive) {
  51770. assertNumber(actual, 'Expected a number');
  51771. assertLessThanOrEqual(actual, maxInclusive, 'Expected number to be less than or equal to');
  51772. assertGreaterThanOrEqual(actual, minInclusive, 'Expected number to be greater than or equal to');
  51773. }
  51774. function assertString(actual, msg) {
  51775. if (!(typeof actual === 'string')) {
  51776. throwError(msg, actual === null ? 'null' : typeof actual, 'string', '===');
  51777. }
  51778. }
  51779. function assertFunction(actual, msg) {
  51780. if (!(typeof actual === 'function')) {
  51781. throwError(msg, actual === null ? 'null' : typeof actual, 'function', '===');
  51782. }
  51783. }
  51784. function assertEqual(actual, expected, msg) {
  51785. if (!(actual == expected)) {
  51786. throwError(msg, actual, expected, '==');
  51787. }
  51788. }
  51789. function assertNotEqual(actual, expected, msg) {
  51790. if (!(actual != expected)) {
  51791. throwError(msg, actual, expected, '!=');
  51792. }
  51793. }
  51794. function assertSame(actual, expected, msg) {
  51795. if (!(actual === expected)) {
  51796. throwError(msg, actual, expected, '===');
  51797. }
  51798. }
  51799. function assertNotSame(actual, expected, msg) {
  51800. if (!(actual !== expected)) {
  51801. throwError(msg, actual, expected, '!==');
  51802. }
  51803. }
  51804. function assertLessThan(actual, expected, msg) {
  51805. if (!(actual < expected)) {
  51806. throwError(msg, actual, expected, '<');
  51807. }
  51808. }
  51809. function assertLessThanOrEqual(actual, expected, msg) {
  51810. if (!(actual <= expected)) {
  51811. throwError(msg, actual, expected, '<=');
  51812. }
  51813. }
  51814. function assertGreaterThan(actual, expected, msg) {
  51815. if (!(actual > expected)) {
  51816. throwError(msg, actual, expected, '>');
  51817. }
  51818. }
  51819. function assertGreaterThanOrEqual(actual, expected, msg) {
  51820. if (!(actual >= expected)) {
  51821. throwError(msg, actual, expected, '>=');
  51822. }
  51823. }
  51824. function assertNotDefined(actual, msg) {
  51825. if (actual != null) {
  51826. throwError(msg, actual, null, '==');
  51827. }
  51828. }
  51829. function assertDefined(actual, msg) {
  51830. if (actual == null) {
  51831. throwError(msg, actual, null, '!=');
  51832. }
  51833. }
  51834. function throwError(msg, actual, expected, comparison) {
  51835. throw new Error(`ASSERTION ERROR: ${msg}` + (comparison == null ? '' : ` [Expected=> ${expected} ${comparison} ${actual} <=Actual]`));
  51836. }
  51837. function assertDomNode(node) {
  51838. // If we're in a worker, `Node` will not be defined.
  51839. if (!(typeof Node !== 'undefined' && node instanceof Node) && !(typeof node === 'object' && node != null && node.constructor.name === 'WebWorkerRenderNode')) {
  51840. throwError(`The provided value must be an instance of a DOM Node but got ${stringify(node)}`);
  51841. }
  51842. }
  51843. function assertIndexInRange(arr, index) {
  51844. assertDefined(arr, 'Array must be defined.');
  51845. const maxLen = arr.length;
  51846. if (index < 0 || index >= maxLen) {
  51847. throwError(`Index expected to be less than ${maxLen} but got ${index}`);
  51848. }
  51849. }
  51850. function assertOneOf(value, ...validValues) {
  51851. if (validValues.indexOf(value) !== -1) return true;
  51852. throwError(`Expected value to be one of ${JSON.stringify(validValues)} but was ${JSON.stringify(value)}.`);
  51853. }
  51854. /**
  51855. * @license
  51856. * Copyright Google LLC All Rights Reserved.
  51857. *
  51858. * Use of this source code is governed by an MIT-style license that can be
  51859. * found in the LICENSE file at https://angular.io/license
  51860. */
  51861. /**
  51862. * Construct an injectable definition which defines how a token will be constructed by the DI
  51863. * system, and in which injectors (if any) it will be available.
  51864. *
  51865. * This should be assigned to a static `ɵprov` field on a type, which will then be an
  51866. * `InjectableType`.
  51867. *
  51868. * Options:
  51869. * * `providedIn` determines which injectors will include the injectable, by either associating it
  51870. * with an `@NgModule` or other `InjectorType`, or by specifying that this injectable should be
  51871. * provided in the `'root'` injector, which will be the application-level injector in most apps.
  51872. * * `factory` gives the zero argument function which will create an instance of the injectable.
  51873. * The factory can call `inject` to access the `Injector` and request injection of dependencies.
  51874. *
  51875. * @codeGenApi
  51876. * @publicApi This instruction has been emitted by ViewEngine for some time and is deployed to npm.
  51877. */
  51878. function ɵɵdefineInjectable(opts) {
  51879. return {
  51880. token: opts.token,
  51881. providedIn: opts.providedIn || null,
  51882. factory: opts.factory,
  51883. value: undefined
  51884. };
  51885. }
  51886. /**
  51887. * @deprecated in v8, delete after v10. This API should be used only by generated code, and that
  51888. * code should now use ɵɵdefineInjectable instead.
  51889. * @publicApi
  51890. */
  51891. const defineInjectable = ɵɵdefineInjectable;
  51892. /**
  51893. * Construct an `InjectorDef` which configures an injector.
  51894. *
  51895. * This should be assigned to a static injector def (`ɵinj`) field on a type, which will then be an
  51896. * `InjectorType`.
  51897. *
  51898. * Options:
  51899. *
  51900. * * `providers`: an optional array of providers to add to the injector. Each provider must
  51901. * either have a factory or point to a type which has a `ɵprov` static property (the
  51902. * type must be an `InjectableType`).
  51903. * * `imports`: an optional array of imports of other `InjectorType`s or `InjectorTypeWithModule`s
  51904. * whose providers will also be added to the injector. Locally provided types will override
  51905. * providers from imports.
  51906. *
  51907. * @codeGenApi
  51908. */
  51909. function ɵɵdefineInjector(options) {
  51910. return {
  51911. providers: options.providers || [],
  51912. imports: options.imports || []
  51913. };
  51914. }
  51915. /**
  51916. * Read the injectable def (`ɵprov`) for `type` in a way which is immune to accidentally reading
  51917. * inherited value.
  51918. *
  51919. * @param type A type which may have its own (non-inherited) `ɵprov`.
  51920. */
  51921. function getInjectableDef(type) {
  51922. return getOwnDefinition(type, NG_PROV_DEF) || getOwnDefinition(type, NG_INJECTABLE_DEF);
  51923. }
  51924. function isInjectable(type) {
  51925. return getInjectableDef(type) !== null;
  51926. }
  51927. /**
  51928. * Return definition only if it is defined directly on `type` and is not inherited from a base
  51929. * class of `type`.
  51930. */
  51931. function getOwnDefinition(type, field) {
  51932. return type.hasOwnProperty(field) ? type[field] : null;
  51933. }
  51934. /**
  51935. * Read the injectable def (`ɵprov`) for `type` or read the `ɵprov` from one of its ancestors.
  51936. *
  51937. * @param type A type which may have `ɵprov`, via inheritance.
  51938. *
  51939. * @deprecated Will be removed in a future version of Angular, where an error will occur in the
  51940. * scenario if we find the `ɵprov` on an ancestor only.
  51941. */
  51942. function getInheritedInjectableDef(type) {
  51943. const def = type && (type[NG_PROV_DEF] || type[NG_INJECTABLE_DEF]);
  51944. if (def) {
  51945. const typeName = getTypeName(type); // TODO(FW-1307): Re-add ngDevMode when closure can handle it
  51946. // ngDevMode &&
  51947. console.warn(`DEPRECATED: DI is instantiating a token "${typeName}" that inherits its @Injectable decorator but does not provide one itself.\n` + `This will become an error in a future version of Angular. Please add @Injectable() to the "${typeName}" class.`);
  51948. return def;
  51949. } else {
  51950. return null;
  51951. }
  51952. }
  51953. /** Gets the name of a type, accounting for some cross-browser differences. */
  51954. function getTypeName(type) {
  51955. // `Function.prototype.name` behaves differently between IE and other browsers. In most browsers
  51956. // it'll always return the name of the function itself, no matter how many other functions it
  51957. // inherits from. On IE the function doesn't have its own `name` property, but it takes it from
  51958. // the lowest level in the prototype chain. E.g. if we have `class Foo extends Parent` most
  51959. // browsers will evaluate `Foo.name` to `Foo` while IE will return `Parent`. We work around
  51960. // the issue by converting the function to a string and parsing its name out that way via a regex.
  51961. if (type.hasOwnProperty('name')) {
  51962. return type.name;
  51963. }
  51964. const match = ('' + type).match(/^function\s*([^\s(]+)/);
  51965. return match === null ? '' : match[1];
  51966. }
  51967. /**
  51968. * Read the injector def type in a way which is immune to accidentally reading inherited value.
  51969. *
  51970. * @param type type which may have an injector def (`ɵinj`)
  51971. */
  51972. function getInjectorDef(type) {
  51973. return type && (type.hasOwnProperty(NG_INJ_DEF) || type.hasOwnProperty(NG_INJECTOR_DEF)) ? type[NG_INJ_DEF] : null;
  51974. }
  51975. const NG_PROV_DEF = getClosureSafeProperty({
  51976. ɵprov: getClosureSafeProperty
  51977. });
  51978. const NG_INJ_DEF = getClosureSafeProperty({
  51979. ɵinj: getClosureSafeProperty
  51980. }); // We need to keep these around so we can read off old defs if new defs are unavailable
  51981. const NG_INJECTABLE_DEF = getClosureSafeProperty({
  51982. ngInjectableDef: getClosureSafeProperty
  51983. });
  51984. const NG_INJECTOR_DEF = getClosureSafeProperty({
  51985. ngInjectorDef: getClosureSafeProperty
  51986. });
  51987. /**
  51988. * @license
  51989. * Copyright Google LLC All Rights Reserved.
  51990. *
  51991. * Use of this source code is governed by an MIT-style license that can be
  51992. * found in the LICENSE file at https://angular.io/license
  51993. */
  51994. /**
  51995. * Injection flags for DI.
  51996. *
  51997. * @publicApi
  51998. * @deprecated use an options object for `inject` instead.
  51999. */
  52000. var InjectFlags;
  52001. (function (InjectFlags) {
  52002. // TODO(alxhub): make this 'const' (and remove `InternalInjectFlags` enum) when ngc no longer
  52003. // writes exports of it into ngfactory files.
  52004. /** Check self and check parent injector if needed */
  52005. InjectFlags[InjectFlags["Default"] = 0] = "Default";
  52006. /**
  52007. * Specifies that an injector should retrieve a dependency from any injector until reaching the
  52008. * host element of the current component. (Only used with Element Injector)
  52009. */
  52010. InjectFlags[InjectFlags["Host"] = 1] = "Host";
  52011. /** Don't ascend to ancestors of the node requesting injection. */
  52012. InjectFlags[InjectFlags["Self"] = 2] = "Self";
  52013. /** Skip the node that is requesting injection. */
  52014. InjectFlags[InjectFlags["SkipSelf"] = 4] = "SkipSelf";
  52015. /** Inject `defaultValue` instead if token not found. */
  52016. InjectFlags[InjectFlags["Optional"] = 8] = "Optional";
  52017. })(InjectFlags || (InjectFlags = {}));
  52018. /**
  52019. * @license
  52020. * Copyright Google LLC All Rights Reserved.
  52021. *
  52022. * Use of this source code is governed by an MIT-style license that can be
  52023. * found in the LICENSE file at https://angular.io/license
  52024. */
  52025. /**
  52026. * Current implementation of inject.
  52027. *
  52028. * By default, it is `injectInjectorOnly`, which makes it `Injector`-only aware. It can be changed
  52029. * to `directiveInject`, which brings in the `NodeInjector` system of ivy. It is designed this
  52030. * way for two reasons:
  52031. * 1. `Injector` should not depend on ivy logic.
  52032. * 2. To maintain tree shake-ability we don't want to bring in unnecessary code.
  52033. */
  52034. let _injectImplementation;
  52035. function getInjectImplementation() {
  52036. return _injectImplementation;
  52037. }
  52038. /**
  52039. * Sets the current inject implementation.
  52040. */
  52041. function setInjectImplementation(impl) {
  52042. const previous = _injectImplementation;
  52043. _injectImplementation = impl;
  52044. return previous;
  52045. }
  52046. /**
  52047. * Injects `root` tokens in limp mode.
  52048. *
  52049. * If no injector exists, we can still inject tree-shakable providers which have `providedIn` set to
  52050. * `"root"`. This is known as the limp mode injection. In such case the value is stored in the
  52051. * injectable definition.
  52052. */
  52053. function injectRootLimpMode(token, notFoundValue, flags) {
  52054. const injectableDef = getInjectableDef(token);
  52055. if (injectableDef && injectableDef.providedIn == 'root') {
  52056. return injectableDef.value === undefined ? injectableDef.value = injectableDef.factory() : injectableDef.value;
  52057. }
  52058. if (flags & InjectFlags.Optional) return null;
  52059. if (notFoundValue !== undefined) return notFoundValue;
  52060. throwProviderNotFoundError(stringify(token), 'Injector');
  52061. }
  52062. /**
  52063. * Assert that `_injectImplementation` is not `fn`.
  52064. *
  52065. * This is useful, to prevent infinite recursion.
  52066. *
  52067. * @param fn Function which it should not equal to
  52068. */
  52069. function assertInjectImplementationNotEqual(fn) {
  52070. ngDevMode && assertNotEqual(_injectImplementation, fn, 'Calling ɵɵinject would cause infinite recursion');
  52071. }
  52072. /**
  52073. * @license
  52074. * Copyright Google LLC All Rights Reserved.
  52075. *
  52076. * Use of this source code is governed by an MIT-style license that can be
  52077. * found in the LICENSE file at https://angular.io/license
  52078. */
  52079. /**
  52080. * Convince closure compiler that the wrapped function has no side-effects.
  52081. *
  52082. * Closure compiler always assumes that `toString` has no side-effects. We use this quirk to
  52083. * allow us to execute a function but have closure compiler mark the call as no-side-effects.
  52084. * It is important that the return value for the `noSideEffects` function be assigned
  52085. * to something which is retained otherwise the call to `noSideEffects` will be removed by closure
  52086. * compiler.
  52087. */
  52088. function noSideEffects(fn) {
  52089. return {
  52090. toString: fn
  52091. }.toString();
  52092. }
  52093. /**
  52094. * @license
  52095. * Copyright Google LLC All Rights Reserved.
  52096. *
  52097. * Use of this source code is governed by an MIT-style license that can be
  52098. * found in the LICENSE file at https://angular.io/license
  52099. */
  52100. /**
  52101. * The strategy that the default change detector uses to detect changes.
  52102. * When set, takes effect the next time change detection is triggered.
  52103. *
  52104. * @see {@link ChangeDetectorRef#usage-notes Change detection usage}
  52105. *
  52106. * @publicApi
  52107. */
  52108. var ChangeDetectionStrategy;
  52109. (function (ChangeDetectionStrategy) {
  52110. /**
  52111. * Use the `CheckOnce` strategy, meaning that automatic change detection is deactivated
  52112. * until reactivated by setting the strategy to `Default` (`CheckAlways`).
  52113. * Change detection can still be explicitly invoked.
  52114. * This strategy applies to all child directives and cannot be overridden.
  52115. */
  52116. ChangeDetectionStrategy[ChangeDetectionStrategy["OnPush"] = 0] = "OnPush";
  52117. /**
  52118. * Use the default `CheckAlways` strategy, in which change detection is automatic until
  52119. * explicitly deactivated.
  52120. */
  52121. ChangeDetectionStrategy[ChangeDetectionStrategy["Default"] = 1] = "Default";
  52122. })(ChangeDetectionStrategy || (ChangeDetectionStrategy = {}));
  52123. /**
  52124. * Defines the possible states of the default change detector.
  52125. * @see `ChangeDetectorRef`
  52126. */
  52127. var ChangeDetectorStatus;
  52128. (function (ChangeDetectorStatus) {
  52129. /**
  52130. * A state in which, after calling `detectChanges()`, the change detector
  52131. * state becomes `Checked`, and must be explicitly invoked or reactivated.
  52132. */
  52133. ChangeDetectorStatus[ChangeDetectorStatus["CheckOnce"] = 0] = "CheckOnce";
  52134. /**
  52135. * A state in which change detection is skipped until the change detector mode
  52136. * becomes `CheckOnce`.
  52137. */
  52138. ChangeDetectorStatus[ChangeDetectorStatus["Checked"] = 1] = "Checked";
  52139. /**
  52140. * A state in which change detection continues automatically until explicitly
  52141. * deactivated.
  52142. */
  52143. ChangeDetectorStatus[ChangeDetectorStatus["CheckAlways"] = 2] = "CheckAlways";
  52144. /**
  52145. * A state in which a change detector sub tree is not a part of the main tree and
  52146. * should be skipped.
  52147. */
  52148. ChangeDetectorStatus[ChangeDetectorStatus["Detached"] = 3] = "Detached";
  52149. /**
  52150. * Indicates that the change detector encountered an error checking a binding
  52151. * or calling a directive lifecycle method and is now in an inconsistent state. Change
  52152. * detectors in this state do not detect changes.
  52153. */
  52154. ChangeDetectorStatus[ChangeDetectorStatus["Errored"] = 4] = "Errored";
  52155. /**
  52156. * Indicates that the change detector has been destroyed.
  52157. */
  52158. ChangeDetectorStatus[ChangeDetectorStatus["Destroyed"] = 5] = "Destroyed";
  52159. })(ChangeDetectorStatus || (ChangeDetectorStatus = {}));
  52160. /**
  52161. * Reports whether a given strategy is currently the default for change detection.
  52162. * @param changeDetectionStrategy The strategy to check.
  52163. * @returns True if the given strategy is the current default, false otherwise.
  52164. * @see `ChangeDetectorStatus`
  52165. * @see `ChangeDetectorRef`
  52166. */
  52167. function isDefaultChangeDetectionStrategy(changeDetectionStrategy) {
  52168. return changeDetectionStrategy == null || changeDetectionStrategy === ChangeDetectionStrategy.Default;
  52169. }
  52170. /**
  52171. * @license
  52172. * Copyright Google LLC All Rights Reserved.
  52173. *
  52174. * Use of this source code is governed by an MIT-style license that can be
  52175. * found in the LICENSE file at https://angular.io/license
  52176. */
  52177. /**
  52178. * Defines the CSS styles encapsulation policies for the {@link Component} decorator's
  52179. * `encapsulation` option.
  52180. *
  52181. * See {@link Component#encapsulation encapsulation}.
  52182. *
  52183. * @usageNotes
  52184. * ### Example
  52185. *
  52186. * {@example core/ts/metadata/encapsulation.ts region='longform'}
  52187. *
  52188. * @publicApi
  52189. */
  52190. var ViewEncapsulation$1;
  52191. (function (ViewEncapsulation) {
  52192. // TODO: consider making `ViewEncapsulation` a `const enum` instead. See
  52193. // https://github.com/angular/angular/issues/44119 for additional information.
  52194. /**
  52195. * Emulates a native Shadow DOM encapsulation behavior by adding a specific attribute to the
  52196. * component's host element and applying the same attribute to all the CSS selectors provided
  52197. * via {@link Component#styles styles} or {@link Component#styleUrls styleUrls}.
  52198. *
  52199. * This is the default option.
  52200. */
  52201. ViewEncapsulation[ViewEncapsulation["Emulated"] = 0] = "Emulated"; // Historically the 1 value was for `Native` encapsulation which has been removed as of v11.
  52202. /**
  52203. * Doesn't provide any sort of CSS style encapsulation, meaning that all the styles provided
  52204. * via {@link Component#styles styles} or {@link Component#styleUrls styleUrls} are applicable
  52205. * to any HTML element of the application regardless of their host Component.
  52206. */
  52207. ViewEncapsulation[ViewEncapsulation["None"] = 2] = "None";
  52208. /**
  52209. * Uses the browser's native Shadow DOM API to encapsulate CSS styles, meaning that it creates
  52210. * a ShadowRoot for the component's host element which is then used to encapsulate
  52211. * all the Component's styling.
  52212. */
  52213. ViewEncapsulation[ViewEncapsulation["ShadowDom"] = 3] = "ShadowDom";
  52214. })(ViewEncapsulation$1 || (ViewEncapsulation$1 = {}));
  52215. /**
  52216. * @license
  52217. * Copyright Google LLC All Rights Reserved.
  52218. *
  52219. * Use of this source code is governed by an MIT-style license that can be
  52220. * found in the LICENSE file at https://angular.io/license
  52221. */
  52222. // Always use __globalThis if available, which is the spec-defined global variable across all
  52223. // environments, then fallback to __global first, because in Node tests both __global and
  52224. // __window may be defined and _global should be __global in that case. Note: Typeof/Instanceof
  52225. // checks are considered side-effects in Terser. We explicitly mark this as side-effect free:
  52226. // https://github.com/terser/terser/issues/250.
  52227. const _global = /* @__PURE__ */(() => typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window || typeof self !== 'undefined' && typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope && self)();
  52228. /**
  52229. * @license
  52230. * Copyright Google LLC All Rights Reserved.
  52231. *
  52232. * Use of this source code is governed by an MIT-style license that can be
  52233. * found in the LICENSE file at https://angular.io/license
  52234. */
  52235. function ngDevModeResetPerfCounters() {
  52236. const locationString = typeof location !== 'undefined' ? location.toString() : '';
  52237. const newCounters = {
  52238. namedConstructors: locationString.indexOf('ngDevMode=namedConstructors') != -1,
  52239. firstCreatePass: 0,
  52240. tNode: 0,
  52241. tView: 0,
  52242. rendererCreateTextNode: 0,
  52243. rendererSetText: 0,
  52244. rendererCreateElement: 0,
  52245. rendererAddEventListener: 0,
  52246. rendererSetAttribute: 0,
  52247. rendererRemoveAttribute: 0,
  52248. rendererSetProperty: 0,
  52249. rendererSetClassName: 0,
  52250. rendererAddClass: 0,
  52251. rendererRemoveClass: 0,
  52252. rendererSetStyle: 0,
  52253. rendererRemoveStyle: 0,
  52254. rendererDestroy: 0,
  52255. rendererDestroyNode: 0,
  52256. rendererMoveNode: 0,
  52257. rendererRemoveNode: 0,
  52258. rendererAppendChild: 0,
  52259. rendererInsertBefore: 0,
  52260. rendererCreateComment: 0
  52261. }; // Make sure to refer to ngDevMode as ['ngDevMode'] for closure.
  52262. const allowNgDevModeTrue = locationString.indexOf('ngDevMode=false') === -1;
  52263. _global['ngDevMode'] = allowNgDevModeTrue && newCounters;
  52264. return newCounters;
  52265. }
  52266. /**
  52267. * This function checks to see if the `ngDevMode` has been set. If yes,
  52268. * then we honor it, otherwise we default to dev mode with additional checks.
  52269. *
  52270. * The idea is that unless we are doing production build where we explicitly
  52271. * set `ngDevMode == false` we should be helping the developer by providing
  52272. * as much early warning and errors as possible.
  52273. *
  52274. * `ɵɵdefineComponent` is guaranteed to have been called before any component template functions
  52275. * (and thus Ivy instructions), so a single initialization there is sufficient to ensure ngDevMode
  52276. * is defined for the entire instruction set.
  52277. *
  52278. * When checking `ngDevMode` on toplevel, always init it before referencing it
  52279. * (e.g. `((typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode())`), otherwise you can
  52280. * get a `ReferenceError` like in https://github.com/angular/angular/issues/31595.
  52281. *
  52282. * Details on possible values for `ngDevMode` can be found on its docstring.
  52283. *
  52284. * NOTE:
  52285. * - changes to the `ngDevMode` name must be synced with `compiler-cli/src/tooling.ts`.
  52286. */
  52287. function initNgDevMode() {
  52288. // The below checks are to ensure that calling `initNgDevMode` multiple times does not
  52289. // reset the counters.
  52290. // If the `ngDevMode` is not an object, then it means we have not created the perf counters
  52291. // yet.
  52292. if (typeof ngDevMode === 'undefined' || ngDevMode) {
  52293. if (typeof ngDevMode !== 'object') {
  52294. ngDevModeResetPerfCounters();
  52295. }
  52296. return typeof ngDevMode !== 'undefined' && !!ngDevMode;
  52297. }
  52298. return false;
  52299. }
  52300. /**
  52301. * @license
  52302. * Copyright Google LLC All Rights Reserved.
  52303. *
  52304. * Use of this source code is governed by an MIT-style license that can be
  52305. * found in the LICENSE file at https://angular.io/license
  52306. */
  52307. /**
  52308. * This file contains reuseable "empty" symbols that can be used as default return values
  52309. * in different parts of the rendering code. Because the same symbols are returned, this
  52310. * allows for identity checks against these values to be consistently used by the framework
  52311. * code.
  52312. */
  52313. const EMPTY_OBJ = {};
  52314. const EMPTY_ARRAY = []; // freezing the values prevents any code from accidentally inserting new values in
  52315. if ((typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode()) {
  52316. // These property accesses can be ignored because ngDevMode will be set to false
  52317. // when optimizing code and the whole if statement will be dropped.
  52318. // tslint:disable-next-line:no-toplevel-property-access
  52319. Object.freeze(EMPTY_OBJ); // tslint:disable-next-line:no-toplevel-property-access
  52320. Object.freeze(EMPTY_ARRAY);
  52321. }
  52322. /**
  52323. * @license
  52324. * Copyright Google LLC All Rights Reserved.
  52325. *
  52326. * Use of this source code is governed by an MIT-style license that can be
  52327. * found in the LICENSE file at https://angular.io/license
  52328. */
  52329. const NG_COMP_DEF = getClosureSafeProperty({
  52330. ɵcmp: getClosureSafeProperty
  52331. });
  52332. const NG_DIR_DEF = getClosureSafeProperty({
  52333. ɵdir: getClosureSafeProperty
  52334. });
  52335. const NG_PIPE_DEF = getClosureSafeProperty({
  52336. ɵpipe: getClosureSafeProperty
  52337. });
  52338. const NG_MOD_DEF = getClosureSafeProperty({
  52339. ɵmod: getClosureSafeProperty
  52340. });
  52341. const NG_FACTORY_DEF = getClosureSafeProperty({
  52342. ɵfac: getClosureSafeProperty
  52343. });
  52344. /**
  52345. * If a directive is diPublic, bloomAdd sets a property on the type with this constant as
  52346. * the key and the directive's unique ID as the value. This allows us to map directives to their
  52347. * bloom filter bit for DI.
  52348. */
  52349. // TODO(misko): This is wrong. The NG_ELEMENT_ID should never be minified.
  52350. const NG_ELEMENT_ID = getClosureSafeProperty({
  52351. __NG_ELEMENT_ID__: getClosureSafeProperty
  52352. });
  52353. /**
  52354. * @license
  52355. * Copyright Google LLC All Rights Reserved.
  52356. *
  52357. * Use of this source code is governed by an MIT-style license that can be
  52358. * found in the LICENSE file at https://angular.io/license
  52359. */
  52360. /** Counter used to generate unique IDs for component definitions. */
  52361. let componentDefCount = 0;
  52362. /**
  52363. * Create a component definition object.
  52364. *
  52365. *
  52366. * # Example
  52367. * ```
  52368. * class MyDirective {
  52369. * // Generated by Angular Template Compiler
  52370. * // [Symbol] syntax will not be supported by TypeScript until v2.7
  52371. * static ɵcmp = defineComponent({
  52372. * ...
  52373. * });
  52374. * }
  52375. * ```
  52376. * @codeGenApi
  52377. */
  52378. function ɵɵdefineComponent(componentDefinition) {
  52379. return noSideEffects(() => {
  52380. // Initialize ngDevMode. This must be the first statement in ɵɵdefineComponent.
  52381. // See the `initNgDevMode` docstring for more information.
  52382. (typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode();
  52383. const type = componentDefinition.type;
  52384. const standalone = componentDefinition.standalone === true;
  52385. const declaredInputs = {};
  52386. const def = {
  52387. type: type,
  52388. providersResolver: null,
  52389. decls: componentDefinition.decls,
  52390. vars: componentDefinition.vars,
  52391. factory: null,
  52392. template: componentDefinition.template || null,
  52393. consts: componentDefinition.consts || null,
  52394. ngContentSelectors: componentDefinition.ngContentSelectors,
  52395. hostBindings: componentDefinition.hostBindings || null,
  52396. hostVars: componentDefinition.hostVars || 0,
  52397. hostAttrs: componentDefinition.hostAttrs || null,
  52398. contentQueries: componentDefinition.contentQueries || null,
  52399. declaredInputs: declaredInputs,
  52400. inputs: null,
  52401. outputs: null,
  52402. exportAs: componentDefinition.exportAs || null,
  52403. onPush: componentDefinition.changeDetection === ChangeDetectionStrategy.OnPush,
  52404. directiveDefs: null,
  52405. pipeDefs: null,
  52406. standalone,
  52407. dependencies: standalone && componentDefinition.dependencies || null,
  52408. getStandaloneInjector: null,
  52409. selectors: componentDefinition.selectors || EMPTY_ARRAY,
  52410. viewQuery: componentDefinition.viewQuery || null,
  52411. features: componentDefinition.features || null,
  52412. data: componentDefinition.data || {},
  52413. encapsulation: componentDefinition.encapsulation || ViewEncapsulation$1.Emulated,
  52414. id: `c${componentDefCount++}`,
  52415. styles: componentDefinition.styles || EMPTY_ARRAY,
  52416. _: null,
  52417. setInput: null,
  52418. schemas: componentDefinition.schemas || null,
  52419. tView: null
  52420. };
  52421. const dependencies = componentDefinition.dependencies;
  52422. const feature = componentDefinition.features;
  52423. def.inputs = invertObject(componentDefinition.inputs, declaredInputs), def.outputs = invertObject(componentDefinition.outputs), feature && feature.forEach(fn => fn(def));
  52424. def.directiveDefs = dependencies ? () => (typeof dependencies === 'function' ? dependencies() : dependencies).map(extractDirectiveDef).filter(nonNull) : null;
  52425. def.pipeDefs = dependencies ? () => (typeof dependencies === 'function' ? dependencies() : dependencies).map(getPipeDef$1).filter(nonNull) : null;
  52426. return def;
  52427. });
  52428. }
  52429. /**
  52430. * Generated next to NgModules to monkey-patch directive and pipe references onto a component's
  52431. * definition, when generating a direct reference in the component file would otherwise create an
  52432. * import cycle.
  52433. *
  52434. * See [this explanation](https://hackmd.io/Odw80D0pR6yfsOjg_7XCJg?view) for more details.
  52435. *
  52436. * @codeGenApi
  52437. */
  52438. function ɵɵsetComponentScope(type, directives, pipes) {
  52439. const def = type.ɵcmp;
  52440. def.directiveDefs = () => (typeof directives === 'function' ? directives() : directives).map(extractDirectiveDef);
  52441. def.pipeDefs = () => (typeof pipes === 'function' ? pipes() : pipes).map(getPipeDef$1);
  52442. }
  52443. function extractDirectiveDef(type) {
  52444. return getComponentDef(type) || getDirectiveDef(type);
  52445. }
  52446. function nonNull(value) {
  52447. return value !== null;
  52448. }
  52449. /**
  52450. * @codeGenApi
  52451. */
  52452. function ɵɵdefineNgModule(def) {
  52453. return noSideEffects(() => {
  52454. const res = {
  52455. type: def.type,
  52456. bootstrap: def.bootstrap || EMPTY_ARRAY,
  52457. declarations: def.declarations || EMPTY_ARRAY,
  52458. imports: def.imports || EMPTY_ARRAY,
  52459. exports: def.exports || EMPTY_ARRAY,
  52460. transitiveCompileScopes: null,
  52461. schemas: def.schemas || null,
  52462. id: def.id || null
  52463. };
  52464. return res;
  52465. });
  52466. }
  52467. /**
  52468. * Adds the module metadata that is necessary to compute the module's transitive scope to an
  52469. * existing module definition.
  52470. *
  52471. * Scope metadata of modules is not used in production builds, so calls to this function can be
  52472. * marked pure to tree-shake it from the bundle, allowing for all referenced declarations
  52473. * to become eligible for tree-shaking as well.
  52474. *
  52475. * @codeGenApi
  52476. */
  52477. function ɵɵsetNgModuleScope(type, scope) {
  52478. return noSideEffects(() => {
  52479. const ngModuleDef = getNgModuleDef(type, true);
  52480. ngModuleDef.declarations = scope.declarations || EMPTY_ARRAY;
  52481. ngModuleDef.imports = scope.imports || EMPTY_ARRAY;
  52482. ngModuleDef.exports = scope.exports || EMPTY_ARRAY;
  52483. });
  52484. }
  52485. /**
  52486. * Inverts an inputs or outputs lookup such that the keys, which were the
  52487. * minified keys, are part of the values, and the values are parsed so that
  52488. * the publicName of the property is the new key
  52489. *
  52490. * e.g. for
  52491. *
  52492. * ```
  52493. * class Comp {
  52494. * @Input()
  52495. * propName1: string;
  52496. *
  52497. * @Input('publicName2')
  52498. * declaredPropName2: number;
  52499. * }
  52500. * ```
  52501. *
  52502. * will be serialized as
  52503. *
  52504. * ```
  52505. * {
  52506. * propName1: 'propName1',
  52507. * declaredPropName2: ['publicName2', 'declaredPropName2'],
  52508. * }
  52509. * ```
  52510. *
  52511. * which is than translated by the minifier as:
  52512. *
  52513. * ```
  52514. * {
  52515. * minifiedPropName1: 'propName1',
  52516. * minifiedPropName2: ['publicName2', 'declaredPropName2'],
  52517. * }
  52518. * ```
  52519. *
  52520. * becomes: (public name => minifiedName)
  52521. *
  52522. * ```
  52523. * {
  52524. * 'propName1': 'minifiedPropName1',
  52525. * 'publicName2': 'minifiedPropName2',
  52526. * }
  52527. * ```
  52528. *
  52529. * Optionally the function can take `secondary` which will result in: (public name => declared name)
  52530. *
  52531. * ```
  52532. * {
  52533. * 'propName1': 'propName1',
  52534. * 'publicName2': 'declaredPropName2',
  52535. * }
  52536. * ```
  52537. *
  52538. */
  52539. function invertObject(obj, secondary) {
  52540. if (obj == null) return EMPTY_OBJ;
  52541. const newLookup = {};
  52542. for (const minifiedKey in obj) {
  52543. if (obj.hasOwnProperty(minifiedKey)) {
  52544. let publicName = obj[minifiedKey];
  52545. let declaredName = publicName;
  52546. if (Array.isArray(publicName)) {
  52547. declaredName = publicName[1];
  52548. publicName = publicName[0];
  52549. }
  52550. newLookup[publicName] = minifiedKey;
  52551. if (secondary) {
  52552. secondary[publicName] = declaredName;
  52553. }
  52554. }
  52555. }
  52556. return newLookup;
  52557. }
  52558. /**
  52559. * Create a directive definition object.
  52560. *
  52561. * # Example
  52562. * ```ts
  52563. * class MyDirective {
  52564. * // Generated by Angular Template Compiler
  52565. * // [Symbol] syntax will not be supported by TypeScript until v2.7
  52566. * static ɵdir = ɵɵdefineDirective({
  52567. * ...
  52568. * });
  52569. * }
  52570. * ```
  52571. *
  52572. * @codeGenApi
  52573. */
  52574. const ɵɵdefineDirective = ɵɵdefineComponent;
  52575. /**
  52576. * Create a pipe definition object.
  52577. *
  52578. * # Example
  52579. * ```
  52580. * class MyPipe implements PipeTransform {
  52581. * // Generated by Angular Template Compiler
  52582. * static ɵpipe = definePipe({
  52583. * ...
  52584. * });
  52585. * }
  52586. * ```
  52587. * @param pipeDef Pipe definition generated by the compiler
  52588. *
  52589. * @codeGenApi
  52590. */
  52591. function ɵɵdefinePipe(pipeDef) {
  52592. return {
  52593. type: pipeDef.type,
  52594. name: pipeDef.name,
  52595. factory: null,
  52596. pure: pipeDef.pure !== false,
  52597. standalone: pipeDef.standalone === true,
  52598. onDestroy: pipeDef.type.prototype.ngOnDestroy || null
  52599. };
  52600. }
  52601. /**
  52602. * The following getter methods retrieve the definition from the type. Currently the retrieval
  52603. * honors inheritance, but in the future we may change the rule to require that definitions are
  52604. * explicit. This would require some sort of migration strategy.
  52605. */
  52606. function getComponentDef(type) {
  52607. return type[NG_COMP_DEF] || null;
  52608. }
  52609. function getDirectiveDef(type) {
  52610. return type[NG_DIR_DEF] || null;
  52611. }
  52612. function getPipeDef$1(type) {
  52613. return type[NG_PIPE_DEF] || null;
  52614. }
  52615. function isStandalone(type) {
  52616. const def = getComponentDef(type) || getDirectiveDef(type) || getPipeDef$1(type);
  52617. return def !== null ? def.standalone : false;
  52618. }
  52619. function getNgModuleDef(type, throwNotFound) {
  52620. const ngModuleDef = type[NG_MOD_DEF] || null;
  52621. if (!ngModuleDef && throwNotFound === true) {
  52622. throw new Error(`Type ${stringify(type)} does not have 'ɵmod' property.`);
  52623. }
  52624. return ngModuleDef;
  52625. }
  52626. /**
  52627. * Special location which allows easy identification of type. If we have an array which was
  52628. * retrieved from the `LView` and that array has `true` at `TYPE` location, we know it is
  52629. * `LContainer`.
  52630. */
  52631. const TYPE = 1;
  52632. /**
  52633. * Below are constants for LContainer indices to help us look up LContainer members
  52634. * without having to remember the specific indices.
  52635. * Uglify will inline these when minifying so there shouldn't be a cost.
  52636. */
  52637. /**
  52638. * Flag to signify that this `LContainer` may have transplanted views which need to be change
  52639. * detected. (see: `LView[DECLARATION_COMPONENT_VIEW])`.
  52640. *
  52641. * This flag, once set, is never unset for the `LContainer`. This means that when unset we can skip
  52642. * a lot of work in `refreshEmbeddedViews`. But when set we still need to verify
  52643. * that the `MOVED_VIEWS` are transplanted and on-push.
  52644. */
  52645. const HAS_TRANSPLANTED_VIEWS = 2; // PARENT, NEXT, TRANSPLANTED_VIEWS_TO_REFRESH are indices 3, 4, and 5
  52646. // As we already have these constants in LView, we don't need to re-create them.
  52647. // T_HOST is index 6
  52648. // We already have this constants in LView, we don't need to re-create it.
  52649. const NATIVE = 7;
  52650. const VIEW_REFS = 8;
  52651. const MOVED_VIEWS = 9;
  52652. /**
  52653. * Size of LContainer's header. Represents the index after which all views in the
  52654. * container will be inserted. We need to keep a record of current views so we know
  52655. * which views are already in the DOM (and don't need to be re-added) and so we can
  52656. * remove views from the DOM when they are no longer required.
  52657. */
  52658. const CONTAINER_HEADER_OFFSET = 10; // Note: This hack is necessary so we don't erroneously get a circular dependency
  52659. // failure based on types.
  52660. const unusedValueExportToPlacateAjd$8 = 1;
  52661. /**
  52662. * @license
  52663. * Copyright Google LLC All Rights Reserved.
  52664. *
  52665. * Use of this source code is governed by an MIT-style license that can be
  52666. * found in the LICENSE file at https://angular.io/license
  52667. */
  52668. // Below are constants for LView indices to help us look up LView members
  52669. // without having to remember the specific indices.
  52670. // Uglify will inline these when minifying so there shouldn't be a cost.
  52671. const HOST = 0;
  52672. const TVIEW = 1;
  52673. const FLAGS = 2;
  52674. const PARENT = 3;
  52675. const NEXT = 4;
  52676. const TRANSPLANTED_VIEWS_TO_REFRESH = 5;
  52677. const T_HOST = 6;
  52678. const CLEANUP = 7;
  52679. const CONTEXT = 8;
  52680. const INJECTOR$1 = 9;
  52681. const RENDERER_FACTORY = 10;
  52682. const RENDERER = 11;
  52683. const SANITIZER = 12;
  52684. const CHILD_HEAD = 13;
  52685. const CHILD_TAIL = 14; // FIXME(misko): Investigate if the three declarations aren't all same thing.
  52686. const DECLARATION_VIEW = 15;
  52687. const DECLARATION_COMPONENT_VIEW = 16;
  52688. const DECLARATION_LCONTAINER = 17;
  52689. const PREORDER_HOOK_FLAGS = 18;
  52690. const QUERIES = 19;
  52691. const ID = 20;
  52692. const EMBEDDED_VIEW_INJECTOR = 21;
  52693. /**
  52694. * Size of LView's header. Necessary to adjust for it when setting slots.
  52695. *
  52696. * IMPORTANT: `HEADER_OFFSET` should only be referred to the in the `ɵɵ*` instructions to translate
  52697. * instruction index into `LView` index. All other indexes should be in the `LView` index space and
  52698. * there should be no need to refer to `HEADER_OFFSET` anywhere else.
  52699. */
  52700. const HEADER_OFFSET = 22;
  52701. /**
  52702. * Converts `TViewType` into human readable text.
  52703. * Make sure this matches with `TViewType`
  52704. */
  52705. const TViewTypeAsString = ['Root', 'Component', 'Embedded' // 2
  52706. ]; // Note: This hack is necessary so we don't erroneously get a circular dependency
  52707. // failure based on types.
  52708. const unusedValueExportToPlacateAjd$7 = 1;
  52709. /**
  52710. * @license
  52711. * Copyright Google LLC All Rights Reserved.
  52712. *
  52713. * Use of this source code is governed by an MIT-style license that can be
  52714. * found in the LICENSE file at https://angular.io/license
  52715. */
  52716. /**
  52717. * True if `value` is `LView`.
  52718. * @param value wrapped value of `RNode`, `LView`, `LContainer`
  52719. */
  52720. function isLView(value) {
  52721. return Array.isArray(value) && typeof value[TYPE] === 'object';
  52722. }
  52723. /**
  52724. * True if `value` is `LContainer`.
  52725. * @param value wrapped value of `RNode`, `LView`, `LContainer`
  52726. */
  52727. function isLContainer(value) {
  52728. return Array.isArray(value) && value[TYPE] === true;
  52729. }
  52730. function isContentQueryHost(tNode) {
  52731. return (tNode.flags & 8
  52732. /* TNodeFlags.hasContentQuery */
  52733. ) !== 0;
  52734. }
  52735. function isComponentHost(tNode) {
  52736. return (tNode.flags & 2
  52737. /* TNodeFlags.isComponentHost */
  52738. ) === 2
  52739. /* TNodeFlags.isComponentHost */
  52740. ;
  52741. }
  52742. function isDirectiveHost(tNode) {
  52743. return (tNode.flags & 1
  52744. /* TNodeFlags.isDirectiveHost */
  52745. ) === 1
  52746. /* TNodeFlags.isDirectiveHost */
  52747. ;
  52748. }
  52749. function isComponentDef(def) {
  52750. return def.template !== null;
  52751. }
  52752. function isRootView(target) {
  52753. return (target[FLAGS] & 256
  52754. /* LViewFlags.IsRoot */
  52755. ) !== 0;
  52756. }
  52757. /**
  52758. * @license
  52759. * Copyright Google LLC All Rights Reserved.
  52760. *
  52761. * Use of this source code is governed by an MIT-style license that can be
  52762. * found in the LICENSE file at https://angular.io/license
  52763. */
  52764. // [Assert functions do not constraint type when they are guarded by a truthy
  52765. // expression.](https://github.com/microsoft/TypeScript/issues/37295)
  52766. function assertTNodeForLView(tNode, lView) {
  52767. assertTNodeForTView(tNode, lView[TVIEW]);
  52768. }
  52769. function assertTNodeForTView(tNode, tView) {
  52770. assertTNode(tNode);
  52771. tNode.hasOwnProperty('tView_') && assertEqual(tNode.tView_, tView, 'This TNode does not belong to this TView.');
  52772. }
  52773. function assertTNode(tNode) {
  52774. assertDefined(tNode, 'TNode must be defined');
  52775. if (!(tNode && typeof tNode === 'object' && tNode.hasOwnProperty('directiveStylingLast'))) {
  52776. throwError('Not of type TNode, got: ' + tNode);
  52777. }
  52778. }
  52779. function assertTIcu(tIcu) {
  52780. assertDefined(tIcu, 'Expected TIcu to be defined');
  52781. if (!(typeof tIcu.currentCaseLViewIndex === 'number')) {
  52782. throwError('Object is not of TIcu type.');
  52783. }
  52784. }
  52785. function assertComponentType(actual, msg = 'Type passed in is not ComponentType, it does not have \'ɵcmp\' property.') {
  52786. if (!getComponentDef(actual)) {
  52787. throwError(msg);
  52788. }
  52789. }
  52790. function assertNgModuleType(actual, msg = 'Type passed in is not NgModuleType, it does not have \'ɵmod\' property.') {
  52791. if (!getNgModuleDef(actual)) {
  52792. throwError(msg);
  52793. }
  52794. }
  52795. function assertCurrentTNodeIsParent(isParent) {
  52796. assertEqual(isParent, true, 'currentTNode should be a parent');
  52797. }
  52798. function assertHasParent(tNode) {
  52799. assertDefined(tNode, 'currentTNode should exist!');
  52800. assertDefined(tNode.parent, 'currentTNode should have a parent');
  52801. }
  52802. function assertDataNext(lView, index, arr) {
  52803. if (arr == null) arr = lView;
  52804. assertEqual(arr.length, index, `index ${index} expected to be at the end of arr (length ${arr.length})`);
  52805. }
  52806. function assertLContainer(value) {
  52807. assertDefined(value, 'LContainer must be defined');
  52808. assertEqual(isLContainer(value), true, 'Expecting LContainer');
  52809. }
  52810. function assertLViewOrUndefined(value) {
  52811. value && assertEqual(isLView(value), true, 'Expecting LView or undefined or null');
  52812. }
  52813. function assertLView(value) {
  52814. assertDefined(value, 'LView must be defined');
  52815. assertEqual(isLView(value), true, 'Expecting LView');
  52816. }
  52817. function assertFirstCreatePass(tView, errMessage) {
  52818. assertEqual(tView.firstCreatePass, true, errMessage || 'Should only be called in first create pass.');
  52819. }
  52820. function assertFirstUpdatePass(tView, errMessage) {
  52821. assertEqual(tView.firstUpdatePass, true, errMessage || 'Should only be called in first update pass.');
  52822. }
  52823. /**
  52824. * This is a basic sanity check that an object is probably a directive def. DirectiveDef is
  52825. * an interface, so we can't do a direct instanceof check.
  52826. */
  52827. function assertDirectiveDef(obj) {
  52828. if (obj.type === undefined || obj.selectors == undefined || obj.inputs === undefined) {
  52829. throwError(`Expected a DirectiveDef/ComponentDef and this object does not seem to have the expected shape.`);
  52830. }
  52831. }
  52832. function assertIndexInDeclRange(lView, index) {
  52833. const tView = lView[1];
  52834. assertBetween(HEADER_OFFSET, tView.bindingStartIndex, index);
  52835. }
  52836. function assertIndexInVarsRange(lView, index) {
  52837. const tView = lView[1];
  52838. assertBetween(tView.bindingStartIndex, tView.expandoStartIndex, index);
  52839. }
  52840. function assertIndexInExpandoRange(lView, index) {
  52841. const tView = lView[1];
  52842. assertBetween(tView.expandoStartIndex, lView.length, index);
  52843. }
  52844. function assertBetween(lower, upper, index) {
  52845. if (!(lower <= index && index < upper)) {
  52846. throwError(`Index out of range (expecting ${lower} <= ${index} < ${upper})`);
  52847. }
  52848. }
  52849. function assertProjectionSlots(lView, errMessage) {
  52850. assertDefined(lView[DECLARATION_COMPONENT_VIEW], 'Component views should exist.');
  52851. assertDefined(lView[DECLARATION_COMPONENT_VIEW][T_HOST].projection, errMessage || 'Components with projection nodes (<ng-content>) must have projection slots defined.');
  52852. }
  52853. function assertParentView(lView, errMessage) {
  52854. assertDefined(lView, errMessage || 'Component views should always have a parent view (component\'s host view)');
  52855. }
  52856. /**
  52857. * This is a basic sanity check that the `injectorIndex` seems to point to what looks like a
  52858. * NodeInjector data structure.
  52859. *
  52860. * @param lView `LView` which should be checked.
  52861. * @param injectorIndex index into the `LView` where the `NodeInjector` is expected.
  52862. */
  52863. function assertNodeInjector(lView, injectorIndex) {
  52864. assertIndexInExpandoRange(lView, injectorIndex);
  52865. assertIndexInExpandoRange(lView, injectorIndex + 8
  52866. /* NodeInjectorOffset.PARENT */
  52867. );
  52868. assertNumber(lView[injectorIndex + 0], 'injectorIndex should point to a bloom filter');
  52869. assertNumber(lView[injectorIndex + 1], 'injectorIndex should point to a bloom filter');
  52870. assertNumber(lView[injectorIndex + 2], 'injectorIndex should point to a bloom filter');
  52871. assertNumber(lView[injectorIndex + 3], 'injectorIndex should point to a bloom filter');
  52872. assertNumber(lView[injectorIndex + 4], 'injectorIndex should point to a bloom filter');
  52873. assertNumber(lView[injectorIndex + 5], 'injectorIndex should point to a bloom filter');
  52874. assertNumber(lView[injectorIndex + 6], 'injectorIndex should point to a bloom filter');
  52875. assertNumber(lView[injectorIndex + 7], 'injectorIndex should point to a bloom filter');
  52876. assertNumber(lView[injectorIndex + 8
  52877. /* NodeInjectorOffset.PARENT */
  52878. ], 'injectorIndex should point to parent injector');
  52879. }
  52880. /**
  52881. * @license
  52882. * Copyright Google LLC All Rights Reserved.
  52883. *
  52884. * Use of this source code is governed by an MIT-style license that can be
  52885. * found in the LICENSE file at https://angular.io/license
  52886. */
  52887. function getFactoryDef(type, throwNotFound) {
  52888. const hasFactoryDef = type.hasOwnProperty(NG_FACTORY_DEF);
  52889. if (!hasFactoryDef && throwNotFound === true && ngDevMode) {
  52890. throw new Error(`Type ${stringify(type)} does not have 'ɵfac' property.`);
  52891. }
  52892. return hasFactoryDef ? type[NG_FACTORY_DEF] : null;
  52893. }
  52894. /**
  52895. * @license
  52896. * Copyright Google LLC All Rights Reserved.
  52897. *
  52898. * Use of this source code is governed by an MIT-style license that can be
  52899. * found in the LICENSE file at https://angular.io/license
  52900. */
  52901. /**
  52902. * Represents a basic change from a previous to a new value for a single
  52903. * property on a directive instance. Passed as a value in a
  52904. * {@link SimpleChanges} object to the `ngOnChanges` hook.
  52905. *
  52906. * @see `OnChanges`
  52907. *
  52908. * @publicApi
  52909. */
  52910. class SimpleChange {
  52911. constructor(previousValue, currentValue, firstChange) {
  52912. this.previousValue = previousValue;
  52913. this.currentValue = currentValue;
  52914. this.firstChange = firstChange;
  52915. }
  52916. /**
  52917. * Check whether the new value is the first value assigned.
  52918. */
  52919. isFirstChange() {
  52920. return this.firstChange;
  52921. }
  52922. }
  52923. /**
  52924. * @license
  52925. * Copyright Google LLC All Rights Reserved.
  52926. *
  52927. * Use of this source code is governed by an MIT-style license that can be
  52928. * found in the LICENSE file at https://angular.io/license
  52929. */
  52930. /**
  52931. * The NgOnChangesFeature decorates a component with support for the ngOnChanges
  52932. * lifecycle hook, so it should be included in any component that implements
  52933. * that hook.
  52934. *
  52935. * If the component or directive uses inheritance, the NgOnChangesFeature MUST
  52936. * be included as a feature AFTER {@link InheritDefinitionFeature}, otherwise
  52937. * inherited properties will not be propagated to the ngOnChanges lifecycle
  52938. * hook.
  52939. *
  52940. * Example usage:
  52941. *
  52942. * ```
  52943. * static ɵcmp = defineComponent({
  52944. * ...
  52945. * inputs: {name: 'publicName'},
  52946. * features: [NgOnChangesFeature]
  52947. * });
  52948. * ```
  52949. *
  52950. * @codeGenApi
  52951. */
  52952. function ɵɵNgOnChangesFeature() {
  52953. return NgOnChangesFeatureImpl;
  52954. }
  52955. function NgOnChangesFeatureImpl(definition) {
  52956. if (definition.type.prototype.ngOnChanges) {
  52957. definition.setInput = ngOnChangesSetInput;
  52958. }
  52959. return rememberChangeHistoryAndInvokeOnChangesHook;
  52960. } // This option ensures that the ngOnChanges lifecycle hook will be inherited
  52961. // from superclasses (in InheritDefinitionFeature).
  52962. /** @nocollapse */
  52963. // tslint:disable-next-line:no-toplevel-property-access
  52964. ɵɵNgOnChangesFeature.ngInherit = true;
  52965. /**
  52966. * This is a synthetic lifecycle hook which gets inserted into `TView.preOrderHooks` to simulate
  52967. * `ngOnChanges`.
  52968. *
  52969. * The hook reads the `NgSimpleChangesStore` data from the component instance and if changes are
  52970. * found it invokes `ngOnChanges` on the component instance.
  52971. *
  52972. * @param this Component instance. Because this function gets inserted into `TView.preOrderHooks`,
  52973. * it is guaranteed to be called with component instance.
  52974. */
  52975. function rememberChangeHistoryAndInvokeOnChangesHook() {
  52976. const simpleChangesStore = getSimpleChangesStore(this);
  52977. const current = simpleChangesStore === null || simpleChangesStore === void 0 ? void 0 : simpleChangesStore.current;
  52978. if (current) {
  52979. const previous = simpleChangesStore.previous;
  52980. if (previous === EMPTY_OBJ) {
  52981. simpleChangesStore.previous = current;
  52982. } else {
  52983. // New changes are copied to the previous store, so that we don't lose history for inputs
  52984. // which were not changed this time
  52985. for (let key in current) {
  52986. previous[key] = current[key];
  52987. }
  52988. }
  52989. simpleChangesStore.current = null;
  52990. this.ngOnChanges(current);
  52991. }
  52992. }
  52993. function ngOnChangesSetInput(instance, value, publicName, privateName) {
  52994. const simpleChangesStore = getSimpleChangesStore(instance) || setSimpleChangesStore(instance, {
  52995. previous: EMPTY_OBJ,
  52996. current: null
  52997. });
  52998. const current = simpleChangesStore.current || (simpleChangesStore.current = {});
  52999. const previous = simpleChangesStore.previous;
  53000. const declaredName = this.declaredInputs[publicName];
  53001. const previousChange = previous[declaredName];
  53002. current[declaredName] = new SimpleChange(previousChange && previousChange.currentValue, value, previous === EMPTY_OBJ);
  53003. instance[privateName] = value;
  53004. }
  53005. const SIMPLE_CHANGES_STORE = '__ngSimpleChanges__';
  53006. function getSimpleChangesStore(instance) {
  53007. return instance[SIMPLE_CHANGES_STORE] || null;
  53008. }
  53009. function setSimpleChangesStore(instance, store) {
  53010. return instance[SIMPLE_CHANGES_STORE] = store;
  53011. }
  53012. /**
  53013. * @license
  53014. * Copyright Google LLC All Rights Reserved.
  53015. *
  53016. * Use of this source code is governed by an MIT-style license that can be
  53017. * found in the LICENSE file at https://angular.io/license
  53018. */
  53019. let profilerCallback = null;
  53020. /**
  53021. * Sets the callback function which will be invoked before and after performing certain actions at
  53022. * runtime (for example, before and after running change detection).
  53023. *
  53024. * Warning: this function is *INTERNAL* and should not be relied upon in application's code.
  53025. * The contract of the function might be changed in any release and/or the function can be removed
  53026. * completely.
  53027. *
  53028. * @param profiler function provided by the caller or null value to disable profiling.
  53029. */
  53030. const setProfiler = profiler => {
  53031. profilerCallback = profiler;
  53032. };
  53033. /**
  53034. * Profiler function which wraps user code executed by the runtime.
  53035. *
  53036. * @param event ProfilerEvent corresponding to the execution context
  53037. * @param instance component instance
  53038. * @param hookOrListener lifecycle hook function or output listener. The value depends on the
  53039. * execution context
  53040. * @returns
  53041. */
  53042. const profiler = function (event, instance, hookOrListener) {
  53043. if (profilerCallback != null
  53044. /* both `null` and `undefined` */
  53045. ) {
  53046. profilerCallback(event, instance, hookOrListener);
  53047. }
  53048. };
  53049. /**
  53050. * @license
  53051. * Copyright Google LLC All Rights Reserved.
  53052. *
  53053. * Use of this source code is governed by an MIT-style license that can be
  53054. * found in the LICENSE file at https://angular.io/license
  53055. */
  53056. const SVG_NAMESPACE = 'svg';
  53057. const SVG_NAMESPACE_URI = 'http://www.w3.org/2000/svg';
  53058. const MATH_ML_NAMESPACE = 'math';
  53059. const MATH_ML_NAMESPACE_URI = 'http://www.w3.org/1998/MathML/';
  53060. function getNamespaceUri(namespace) {
  53061. const name = namespace.toLowerCase();
  53062. return name === SVG_NAMESPACE ? SVG_NAMESPACE_URI : name === MATH_ML_NAMESPACE ? MATH_ML_NAMESPACE_URI : null;
  53063. }
  53064. /**
  53065. * @license
  53066. * Copyright Google LLC All Rights Reserved.
  53067. *
  53068. * Use of this source code is governed by an MIT-style license that can be
  53069. * found in the LICENSE file at https://angular.io/license
  53070. */
  53071. /**
  53072. * For efficiency reasons we often put several different data types (`RNode`, `LView`, `LContainer`)
  53073. * in same location in `LView`. This is because we don't want to pre-allocate space for it
  53074. * because the storage is sparse. This file contains utilities for dealing with such data types.
  53075. *
  53076. * How do we know what is stored at a given location in `LView`.
  53077. * - `Array.isArray(value) === false` => `RNode` (The normal storage value)
  53078. * - `Array.isArray(value) === true` => then the `value[0]` represents the wrapped value.
  53079. * - `typeof value[TYPE] === 'object'` => `LView`
  53080. * - This happens when we have a component at a given location
  53081. * - `typeof value[TYPE] === true` => `LContainer`
  53082. * - This happens when we have `LContainer` binding at a given location.
  53083. *
  53084. *
  53085. * NOTE: it is assumed that `Array.isArray` and `typeof` operations are very efficient.
  53086. */
  53087. /**
  53088. * Returns `RNode`.
  53089. * @param value wrapped value of `RNode`, `LView`, `LContainer`
  53090. */
  53091. function unwrapRNode(value) {
  53092. while (Array.isArray(value)) {
  53093. value = value[HOST];
  53094. }
  53095. return value;
  53096. }
  53097. /**
  53098. * Returns `LView` or `null` if not found.
  53099. * @param value wrapped value of `RNode`, `LView`, `LContainer`
  53100. */
  53101. function unwrapLView(value) {
  53102. while (Array.isArray(value)) {
  53103. // This check is same as `isLView()` but we don't call at as we don't want to call
  53104. // `Array.isArray()` twice and give JITer more work for inlining.
  53105. if (typeof value[TYPE] === 'object') return value;
  53106. value = value[HOST];
  53107. }
  53108. return null;
  53109. }
  53110. /**
  53111. * Returns `LContainer` or `null` if not found.
  53112. * @param value wrapped value of `RNode`, `LView`, `LContainer`
  53113. */
  53114. function unwrapLContainer(value) {
  53115. while (Array.isArray(value)) {
  53116. // This check is same as `isLContainer()` but we don't call at as we don't want to call
  53117. // `Array.isArray()` twice and give JITer more work for inlining.
  53118. if (value[TYPE] === true) return value;
  53119. value = value[HOST];
  53120. }
  53121. return null;
  53122. }
  53123. /**
  53124. * Retrieves an element value from the provided `viewData`, by unwrapping
  53125. * from any containers, component views, or style contexts.
  53126. */
  53127. function getNativeByIndex(index, lView) {
  53128. ngDevMode && assertIndexInRange(lView, index);
  53129. ngDevMode && assertGreaterThanOrEqual(index, HEADER_OFFSET, 'Expected to be past HEADER_OFFSET');
  53130. return unwrapRNode(lView[index]);
  53131. }
  53132. /**
  53133. * Retrieve an `RNode` for a given `TNode` and `LView`.
  53134. *
  53135. * This function guarantees in dev mode to retrieve a non-null `RNode`.
  53136. *
  53137. * @param tNode
  53138. * @param lView
  53139. */
  53140. function getNativeByTNode(tNode, lView) {
  53141. ngDevMode && assertTNodeForLView(tNode, lView);
  53142. ngDevMode && assertIndexInRange(lView, tNode.index);
  53143. const node = unwrapRNode(lView[tNode.index]);
  53144. return node;
  53145. }
  53146. /**
  53147. * Retrieve an `RNode` or `null` for a given `TNode` and `LView`.
  53148. *
  53149. * Some `TNode`s don't have associated `RNode`s. For example `Projection`
  53150. *
  53151. * @param tNode
  53152. * @param lView
  53153. */
  53154. function getNativeByTNodeOrNull(tNode, lView) {
  53155. const index = tNode === null ? -1 : tNode.index;
  53156. if (index !== -1) {
  53157. ngDevMode && assertTNodeForLView(tNode, lView);
  53158. const node = unwrapRNode(lView[index]);
  53159. return node;
  53160. }
  53161. return null;
  53162. } // fixme(misko): The return Type should be `TNode|null`
  53163. function getTNode(tView, index) {
  53164. ngDevMode && assertGreaterThan(index, -1, 'wrong index for TNode');
  53165. ngDevMode && assertLessThan(index, tView.data.length, 'wrong index for TNode');
  53166. const tNode = tView.data[index];
  53167. ngDevMode && tNode !== null && assertTNode(tNode);
  53168. return tNode;
  53169. }
  53170. /** Retrieves a value from any `LView` or `TData`. */
  53171. function load(view, index) {
  53172. ngDevMode && assertIndexInRange(view, index);
  53173. return view[index];
  53174. }
  53175. function getComponentLViewByIndex(nodeIndex, hostView) {
  53176. // Could be an LView or an LContainer. If LContainer, unwrap to find LView.
  53177. ngDevMode && assertIndexInRange(hostView, nodeIndex);
  53178. const slotValue = hostView[nodeIndex];
  53179. const lView = isLView(slotValue) ? slotValue : slotValue[HOST];
  53180. return lView;
  53181. }
  53182. /** Checks whether a given view is in creation mode */
  53183. function isCreationMode(view) {
  53184. return (view[FLAGS] & 4
  53185. /* LViewFlags.CreationMode */
  53186. ) === 4
  53187. /* LViewFlags.CreationMode */
  53188. ;
  53189. }
  53190. /**
  53191. * Returns a boolean for whether the view is attached to the change detection tree.
  53192. *
  53193. * Note: This determines whether a view should be checked, not whether it's inserted
  53194. * into a container. For that, you'll want `viewAttachedToContainer` below.
  53195. */
  53196. function viewAttachedToChangeDetector(view) {
  53197. return (view[FLAGS] & 64
  53198. /* LViewFlags.Attached */
  53199. ) === 64
  53200. /* LViewFlags.Attached */
  53201. ;
  53202. }
  53203. /** Returns a boolean for whether the view is attached to a container. */
  53204. function viewAttachedToContainer(view) {
  53205. return isLContainer(view[PARENT]);
  53206. }
  53207. function getConstant(consts, index) {
  53208. if (index === null || index === undefined) return null;
  53209. ngDevMode && assertIndexInRange(consts, index);
  53210. return consts[index];
  53211. }
  53212. /**
  53213. * Resets the pre-order hook flags of the view.
  53214. * @param lView the LView on which the flags are reset
  53215. */
  53216. function resetPreOrderHookFlags(lView) {
  53217. lView[PREORDER_HOOK_FLAGS] = 0;
  53218. }
  53219. /**
  53220. * Updates the `TRANSPLANTED_VIEWS_TO_REFRESH` counter on the `LContainer` as well as the parents
  53221. * whose
  53222. * 1. counter goes from 0 to 1, indicating that there is a new child that has a view to refresh
  53223. * or
  53224. * 2. counter goes from 1 to 0, indicating there are no more descendant views to refresh
  53225. */
  53226. function updateTransplantedViewCount(lContainer, amount) {
  53227. lContainer[TRANSPLANTED_VIEWS_TO_REFRESH] += amount;
  53228. let viewOrContainer = lContainer;
  53229. let parent = lContainer[PARENT];
  53230. while (parent !== null && (amount === 1 && viewOrContainer[TRANSPLANTED_VIEWS_TO_REFRESH] === 1 || amount === -1 && viewOrContainer[TRANSPLANTED_VIEWS_TO_REFRESH] === 0)) {
  53231. parent[TRANSPLANTED_VIEWS_TO_REFRESH] += amount;
  53232. viewOrContainer = parent;
  53233. parent = parent[PARENT];
  53234. }
  53235. }
  53236. /**
  53237. * @license
  53238. * Copyright Google LLC All Rights Reserved.
  53239. *
  53240. * Use of this source code is governed by an MIT-style license that can be
  53241. * found in the LICENSE file at https://angular.io/license
  53242. */
  53243. const instructionState = {
  53244. lFrame: createLFrame(null),
  53245. bindingsEnabled: true
  53246. };
  53247. /**
  53248. * In this mode, any changes in bindings will throw an ExpressionChangedAfterChecked error.
  53249. *
  53250. * Necessary to support ChangeDetectorRef.checkNoChanges().
  53251. *
  53252. * The `checkNoChanges` function is invoked only in ngDevMode=true and verifies that no unintended
  53253. * changes exist in the change detector or its children.
  53254. */
  53255. let _isInCheckNoChangesMode = false;
  53256. /**
  53257. * Returns true if the instruction state stack is empty.
  53258. *
  53259. * Intended to be called from tests only (tree shaken otherwise).
  53260. */
  53261. function specOnlyIsInstructionStateEmpty() {
  53262. return instructionState.lFrame.parent === null;
  53263. }
  53264. function getElementDepthCount() {
  53265. return instructionState.lFrame.elementDepthCount;
  53266. }
  53267. function increaseElementDepthCount() {
  53268. instructionState.lFrame.elementDepthCount++;
  53269. }
  53270. function decreaseElementDepthCount() {
  53271. instructionState.lFrame.elementDepthCount--;
  53272. }
  53273. function getBindingsEnabled() {
  53274. return instructionState.bindingsEnabled;
  53275. }
  53276. /**
  53277. * Enables directive matching on elements.
  53278. *
  53279. * * Example:
  53280. * ```
  53281. * <my-comp my-directive>
  53282. * Should match component / directive.
  53283. * </my-comp>
  53284. * <div ngNonBindable>
  53285. * <!-- ɵɵdisableBindings() -->
  53286. * <my-comp my-directive>
  53287. * Should not match component / directive because we are in ngNonBindable.
  53288. * </my-comp>
  53289. * <!-- ɵɵenableBindings() -->
  53290. * </div>
  53291. * ```
  53292. *
  53293. * @codeGenApi
  53294. */
  53295. function ɵɵenableBindings() {
  53296. instructionState.bindingsEnabled = true;
  53297. }
  53298. /**
  53299. * Disables directive matching on element.
  53300. *
  53301. * * Example:
  53302. * ```
  53303. * <my-comp my-directive>
  53304. * Should match component / directive.
  53305. * </my-comp>
  53306. * <div ngNonBindable>
  53307. * <!-- ɵɵdisableBindings() -->
  53308. * <my-comp my-directive>
  53309. * Should not match component / directive because we are in ngNonBindable.
  53310. * </my-comp>
  53311. * <!-- ɵɵenableBindings() -->
  53312. * </div>
  53313. * ```
  53314. *
  53315. * @codeGenApi
  53316. */
  53317. function ɵɵdisableBindings() {
  53318. instructionState.bindingsEnabled = false;
  53319. }
  53320. /**
  53321. * Return the current `LView`.
  53322. */
  53323. function getLView() {
  53324. return instructionState.lFrame.lView;
  53325. }
  53326. /**
  53327. * Return the current `TView`.
  53328. */
  53329. function getTView() {
  53330. return instructionState.lFrame.tView;
  53331. }
  53332. /**
  53333. * Restores `contextViewData` to the given OpaqueViewState instance.
  53334. *
  53335. * Used in conjunction with the getCurrentView() instruction to save a snapshot
  53336. * of the current view and restore it when listeners are invoked. This allows
  53337. * walking the declaration view tree in listeners to get vars from parent views.
  53338. *
  53339. * @param viewToRestore The OpaqueViewState instance to restore.
  53340. * @returns Context of the restored OpaqueViewState instance.
  53341. *
  53342. * @codeGenApi
  53343. */
  53344. function ɵɵrestoreView(viewToRestore) {
  53345. instructionState.lFrame.contextLView = viewToRestore;
  53346. return viewToRestore[CONTEXT];
  53347. }
  53348. /**
  53349. * Clears the view set in `ɵɵrestoreView` from memory. Returns the passed in
  53350. * value so that it can be used as a return value of an instruction.
  53351. *
  53352. * @codeGenApi
  53353. */
  53354. function ɵɵresetView(value) {
  53355. instructionState.lFrame.contextLView = null;
  53356. return value;
  53357. }
  53358. function getCurrentTNode() {
  53359. let currentTNode = getCurrentTNodePlaceholderOk();
  53360. while (currentTNode !== null && currentTNode.type === 64
  53361. /* TNodeType.Placeholder */
  53362. ) {
  53363. currentTNode = currentTNode.parent;
  53364. }
  53365. return currentTNode;
  53366. }
  53367. function getCurrentTNodePlaceholderOk() {
  53368. return instructionState.lFrame.currentTNode;
  53369. }
  53370. function getCurrentParentTNode() {
  53371. const lFrame = instructionState.lFrame;
  53372. const currentTNode = lFrame.currentTNode;
  53373. return lFrame.isParent ? currentTNode : currentTNode.parent;
  53374. }
  53375. function setCurrentTNode(tNode, isParent) {
  53376. ngDevMode && tNode && assertTNodeForTView(tNode, instructionState.lFrame.tView);
  53377. const lFrame = instructionState.lFrame;
  53378. lFrame.currentTNode = tNode;
  53379. lFrame.isParent = isParent;
  53380. }
  53381. function isCurrentTNodeParent() {
  53382. return instructionState.lFrame.isParent;
  53383. }
  53384. function setCurrentTNodeAsNotParent() {
  53385. instructionState.lFrame.isParent = false;
  53386. }
  53387. function setCurrentTNodeAsParent() {
  53388. instructionState.lFrame.isParent = true;
  53389. }
  53390. function getContextLView() {
  53391. const contextLView = instructionState.lFrame.contextLView;
  53392. ngDevMode && assertDefined(contextLView, 'contextLView must be defined.');
  53393. return contextLView;
  53394. }
  53395. function isInCheckNoChangesMode() {
  53396. !ngDevMode && throwError('Must never be called in production mode');
  53397. return _isInCheckNoChangesMode;
  53398. }
  53399. function setIsInCheckNoChangesMode(mode) {
  53400. !ngDevMode && throwError('Must never be called in production mode');
  53401. _isInCheckNoChangesMode = mode;
  53402. } // top level variables should not be exported for performance reasons (PERF_NOTES.md)
  53403. function getBindingRoot() {
  53404. const lFrame = instructionState.lFrame;
  53405. let index = lFrame.bindingRootIndex;
  53406. if (index === -1) {
  53407. index = lFrame.bindingRootIndex = lFrame.tView.bindingStartIndex;
  53408. }
  53409. return index;
  53410. }
  53411. function getBindingIndex() {
  53412. return instructionState.lFrame.bindingIndex;
  53413. }
  53414. function setBindingIndex(value) {
  53415. return instructionState.lFrame.bindingIndex = value;
  53416. }
  53417. function nextBindingIndex() {
  53418. return instructionState.lFrame.bindingIndex++;
  53419. }
  53420. function incrementBindingIndex(count) {
  53421. const lFrame = instructionState.lFrame;
  53422. const index = lFrame.bindingIndex;
  53423. lFrame.bindingIndex = lFrame.bindingIndex + count;
  53424. return index;
  53425. }
  53426. function isInI18nBlock() {
  53427. return instructionState.lFrame.inI18n;
  53428. }
  53429. function setInI18nBlock(isInI18nBlock) {
  53430. instructionState.lFrame.inI18n = isInI18nBlock;
  53431. }
  53432. /**
  53433. * Set a new binding root index so that host template functions can execute.
  53434. *
  53435. * Bindings inside the host template are 0 index. But because we don't know ahead of time
  53436. * how many host bindings we have we can't pre-compute them. For this reason they are all
  53437. * 0 index and we just shift the root so that they match next available location in the LView.
  53438. *
  53439. * @param bindingRootIndex Root index for `hostBindings`
  53440. * @param currentDirectiveIndex `TData[currentDirectiveIndex]` will point to the current directive
  53441. * whose `hostBindings` are being processed.
  53442. */
  53443. function setBindingRootForHostBindings(bindingRootIndex, currentDirectiveIndex) {
  53444. const lFrame = instructionState.lFrame;
  53445. lFrame.bindingIndex = lFrame.bindingRootIndex = bindingRootIndex;
  53446. setCurrentDirectiveIndex(currentDirectiveIndex);
  53447. }
  53448. /**
  53449. * When host binding is executing this points to the directive index.
  53450. * `TView.data[getCurrentDirectiveIndex()]` is `DirectiveDef`
  53451. * `LView[getCurrentDirectiveIndex()]` is directive instance.
  53452. */
  53453. function getCurrentDirectiveIndex() {
  53454. return instructionState.lFrame.currentDirectiveIndex;
  53455. }
  53456. /**
  53457. * Sets an index of a directive whose `hostBindings` are being processed.
  53458. *
  53459. * @param currentDirectiveIndex `TData` index where current directive instance can be found.
  53460. */
  53461. function setCurrentDirectiveIndex(currentDirectiveIndex) {
  53462. instructionState.lFrame.currentDirectiveIndex = currentDirectiveIndex;
  53463. }
  53464. /**
  53465. * Retrieve the current `DirectiveDef` which is active when `hostBindings` instruction is being
  53466. * executed.
  53467. *
  53468. * @param tData Current `TData` where the `DirectiveDef` will be looked up at.
  53469. */
  53470. function getCurrentDirectiveDef(tData) {
  53471. const currentDirectiveIndex = instructionState.lFrame.currentDirectiveIndex;
  53472. return currentDirectiveIndex === -1 ? null : tData[currentDirectiveIndex];
  53473. }
  53474. function getCurrentQueryIndex() {
  53475. return instructionState.lFrame.currentQueryIndex;
  53476. }
  53477. function setCurrentQueryIndex(value) {
  53478. instructionState.lFrame.currentQueryIndex = value;
  53479. }
  53480. /**
  53481. * Returns a `TNode` of the location where the current `LView` is declared at.
  53482. *
  53483. * @param lView an `LView` that we want to find parent `TNode` for.
  53484. */
  53485. function getDeclarationTNode(lView) {
  53486. const tView = lView[TVIEW]; // Return the declaration parent for embedded views
  53487. if (tView.type === 2
  53488. /* TViewType.Embedded */
  53489. ) {
  53490. ngDevMode && assertDefined(tView.declTNode, 'Embedded TNodes should have declaration parents.');
  53491. return tView.declTNode;
  53492. } // Components don't have `TView.declTNode` because each instance of component could be
  53493. // inserted in different location, hence `TView.declTNode` is meaningless.
  53494. // Falling back to `T_HOST` in case we cross component boundary.
  53495. if (tView.type === 1
  53496. /* TViewType.Component */
  53497. ) {
  53498. return lView[T_HOST];
  53499. } // Remaining TNode type is `TViewType.Root` which doesn't have a parent TNode.
  53500. return null;
  53501. }
  53502. /**
  53503. * This is a light weight version of the `enterView` which is needed by the DI system.
  53504. *
  53505. * @param lView `LView` location of the DI context.
  53506. * @param tNode `TNode` for DI context
  53507. * @param flags DI context flags. if `SkipSelf` flag is set than we walk up the declaration
  53508. * tree from `tNode` until we find parent declared `TElementNode`.
  53509. * @returns `true` if we have successfully entered DI associated with `tNode` (or with declared
  53510. * `TNode` if `flags` has `SkipSelf`). Failing to enter DI implies that no associated
  53511. * `NodeInjector` can be found and we should instead use `ModuleInjector`.
  53512. * - If `true` than this call must be fallowed by `leaveDI`
  53513. * - If `false` than this call failed and we should NOT call `leaveDI`
  53514. */
  53515. function enterDI(lView, tNode, flags) {
  53516. ngDevMode && assertLViewOrUndefined(lView);
  53517. if (flags & InjectFlags.SkipSelf) {
  53518. ngDevMode && assertTNodeForTView(tNode, lView[TVIEW]);
  53519. let parentTNode = tNode;
  53520. let parentLView = lView;
  53521. while (true) {
  53522. ngDevMode && assertDefined(parentTNode, 'Parent TNode should be defined');
  53523. parentTNode = parentTNode.parent;
  53524. if (parentTNode === null && !(flags & InjectFlags.Host)) {
  53525. parentTNode = getDeclarationTNode(parentLView);
  53526. if (parentTNode === null) break; // In this case, a parent exists and is definitely an element. So it will definitely
  53527. // have an existing lView as the declaration view, which is why we can assume it's defined.
  53528. ngDevMode && assertDefined(parentLView, 'Parent LView should be defined');
  53529. parentLView = parentLView[DECLARATION_VIEW]; // In Ivy there are Comment nodes that correspond to ngIf and NgFor embedded directives
  53530. // We want to skip those and look only at Elements and ElementContainers to ensure
  53531. // we're looking at true parent nodes, and not content or other types.
  53532. if (parentTNode.type & (2
  53533. /* TNodeType.Element */
  53534. | 8
  53535. /* TNodeType.ElementContainer */
  53536. )) {
  53537. break;
  53538. }
  53539. } else {
  53540. break;
  53541. }
  53542. }
  53543. if (parentTNode === null) {
  53544. // If we failed to find a parent TNode this means that we should use module injector.
  53545. return false;
  53546. } else {
  53547. tNode = parentTNode;
  53548. lView = parentLView;
  53549. }
  53550. }
  53551. ngDevMode && assertTNodeForLView(tNode, lView);
  53552. const lFrame = instructionState.lFrame = allocLFrame();
  53553. lFrame.currentTNode = tNode;
  53554. lFrame.lView = lView;
  53555. return true;
  53556. }
  53557. /**
  53558. * Swap the current lView with a new lView.
  53559. *
  53560. * For performance reasons we store the lView in the top level of the module.
  53561. * This way we minimize the number of properties to read. Whenever a new view
  53562. * is entered we have to store the lView for later, and when the view is
  53563. * exited the state has to be restored
  53564. *
  53565. * @param newView New lView to become active
  53566. * @returns the previously active lView;
  53567. */
  53568. function enterView(newView) {
  53569. ngDevMode && assertNotEqual(newView[0], newView[1], '????');
  53570. ngDevMode && assertLViewOrUndefined(newView);
  53571. const newLFrame = allocLFrame();
  53572. if (ngDevMode) {
  53573. assertEqual(newLFrame.isParent, true, 'Expected clean LFrame');
  53574. assertEqual(newLFrame.lView, null, 'Expected clean LFrame');
  53575. assertEqual(newLFrame.tView, null, 'Expected clean LFrame');
  53576. assertEqual(newLFrame.selectedIndex, -1, 'Expected clean LFrame');
  53577. assertEqual(newLFrame.elementDepthCount, 0, 'Expected clean LFrame');
  53578. assertEqual(newLFrame.currentDirectiveIndex, -1, 'Expected clean LFrame');
  53579. assertEqual(newLFrame.currentNamespace, null, 'Expected clean LFrame');
  53580. assertEqual(newLFrame.bindingRootIndex, -1, 'Expected clean LFrame');
  53581. assertEqual(newLFrame.currentQueryIndex, 0, 'Expected clean LFrame');
  53582. }
  53583. const tView = newView[TVIEW];
  53584. instructionState.lFrame = newLFrame;
  53585. ngDevMode && tView.firstChild && assertTNodeForTView(tView.firstChild, tView);
  53586. newLFrame.currentTNode = tView.firstChild;
  53587. newLFrame.lView = newView;
  53588. newLFrame.tView = tView;
  53589. newLFrame.contextLView = newView;
  53590. newLFrame.bindingIndex = tView.bindingStartIndex;
  53591. newLFrame.inI18n = false;
  53592. }
  53593. /**
  53594. * Allocates next free LFrame. This function tries to reuse the `LFrame`s to lower memory pressure.
  53595. */
  53596. function allocLFrame() {
  53597. const currentLFrame = instructionState.lFrame;
  53598. const childLFrame = currentLFrame === null ? null : currentLFrame.child;
  53599. const newLFrame = childLFrame === null ? createLFrame(currentLFrame) : childLFrame;
  53600. return newLFrame;
  53601. }
  53602. function createLFrame(parent) {
  53603. const lFrame = {
  53604. currentTNode: null,
  53605. isParent: true,
  53606. lView: null,
  53607. tView: null,
  53608. selectedIndex: -1,
  53609. contextLView: null,
  53610. elementDepthCount: 0,
  53611. currentNamespace: null,
  53612. currentDirectiveIndex: -1,
  53613. bindingRootIndex: -1,
  53614. bindingIndex: -1,
  53615. currentQueryIndex: 0,
  53616. parent: parent,
  53617. child: null,
  53618. inI18n: false
  53619. };
  53620. parent !== null && (parent.child = lFrame); // link the new LFrame for reuse.
  53621. return lFrame;
  53622. }
  53623. /**
  53624. * A lightweight version of leave which is used with DI.
  53625. *
  53626. * This function only resets `currentTNode` and `LView` as those are the only properties
  53627. * used with DI (`enterDI()`).
  53628. *
  53629. * NOTE: This function is reexported as `leaveDI`. However `leaveDI` has return type of `void` where
  53630. * as `leaveViewLight` has `LFrame`. This is so that `leaveViewLight` can be used in `leaveView`.
  53631. */
  53632. function leaveViewLight() {
  53633. const oldLFrame = instructionState.lFrame;
  53634. instructionState.lFrame = oldLFrame.parent;
  53635. oldLFrame.currentTNode = null;
  53636. oldLFrame.lView = null;
  53637. return oldLFrame;
  53638. }
  53639. /**
  53640. * This is a lightweight version of the `leaveView` which is needed by the DI system.
  53641. *
  53642. * NOTE: this function is an alias so that we can change the type of the function to have `void`
  53643. * return type.
  53644. */
  53645. const leaveDI = leaveViewLight;
  53646. /**
  53647. * Leave the current `LView`
  53648. *
  53649. * This pops the `LFrame` with the associated `LView` from the stack.
  53650. *
  53651. * IMPORTANT: We must zero out the `LFrame` values here otherwise they will be retained. This is
  53652. * because for performance reasons we don't release `LFrame` but rather keep it for next use.
  53653. */
  53654. function leaveView() {
  53655. const oldLFrame = leaveViewLight();
  53656. oldLFrame.isParent = true;
  53657. oldLFrame.tView = null;
  53658. oldLFrame.selectedIndex = -1;
  53659. oldLFrame.contextLView = null;
  53660. oldLFrame.elementDepthCount = 0;
  53661. oldLFrame.currentDirectiveIndex = -1;
  53662. oldLFrame.currentNamespace = null;
  53663. oldLFrame.bindingRootIndex = -1;
  53664. oldLFrame.bindingIndex = -1;
  53665. oldLFrame.currentQueryIndex = 0;
  53666. }
  53667. function nextContextImpl(level) {
  53668. const contextLView = instructionState.lFrame.contextLView = walkUpViews(level, instructionState.lFrame.contextLView);
  53669. return contextLView[CONTEXT];
  53670. }
  53671. function walkUpViews(nestingLevel, currentView) {
  53672. while (nestingLevel > 0) {
  53673. ngDevMode && assertDefined(currentView[DECLARATION_VIEW], 'Declaration view should be defined if nesting level is greater than 0.');
  53674. currentView = currentView[DECLARATION_VIEW];
  53675. nestingLevel--;
  53676. }
  53677. return currentView;
  53678. }
  53679. /**
  53680. * Gets the currently selected element index.
  53681. *
  53682. * Used with {@link property} instruction (and more in the future) to identify the index in the
  53683. * current `LView` to act on.
  53684. */
  53685. function getSelectedIndex() {
  53686. return instructionState.lFrame.selectedIndex;
  53687. }
  53688. /**
  53689. * Sets the most recent index passed to {@link select}
  53690. *
  53691. * Used with {@link property} instruction (and more in the future) to identify the index in the
  53692. * current `LView` to act on.
  53693. *
  53694. * (Note that if an "exit function" was set earlier (via `setElementExitFn()`) then that will be
  53695. * run if and when the provided `index` value is different from the current selected index value.)
  53696. */
  53697. function setSelectedIndex(index) {
  53698. ngDevMode && index !== -1 && assertGreaterThanOrEqual(index, HEADER_OFFSET, 'Index must be past HEADER_OFFSET (or -1).');
  53699. ngDevMode && assertLessThan(index, instructionState.lFrame.lView.length, 'Can\'t set index passed end of LView');
  53700. instructionState.lFrame.selectedIndex = index;
  53701. }
  53702. /**
  53703. * Gets the `tNode` that represents currently selected element.
  53704. */
  53705. function getSelectedTNode() {
  53706. const lFrame = instructionState.lFrame;
  53707. return getTNode(lFrame.tView, lFrame.selectedIndex);
  53708. }
  53709. /**
  53710. * Sets the namespace used to create elements to `'http://www.w3.org/2000/svg'` in global state.
  53711. *
  53712. * @codeGenApi
  53713. */
  53714. function ɵɵnamespaceSVG() {
  53715. instructionState.lFrame.currentNamespace = SVG_NAMESPACE;
  53716. }
  53717. /**
  53718. * Sets the namespace used to create elements to `'http://www.w3.org/1998/MathML/'` in global state.
  53719. *
  53720. * @codeGenApi
  53721. */
  53722. function ɵɵnamespaceMathML() {
  53723. instructionState.lFrame.currentNamespace = MATH_ML_NAMESPACE;
  53724. }
  53725. /**
  53726. * Sets the namespace used to create elements to `null`, which forces element creation to use
  53727. * `createElement` rather than `createElementNS`.
  53728. *
  53729. * @codeGenApi
  53730. */
  53731. function ɵɵnamespaceHTML() {
  53732. namespaceHTMLInternal();
  53733. }
  53734. /**
  53735. * Sets the namespace used to create elements to `null`, which forces element creation to use
  53736. * `createElement` rather than `createElementNS`.
  53737. */
  53738. function namespaceHTMLInternal() {
  53739. instructionState.lFrame.currentNamespace = null;
  53740. }
  53741. function getNamespace$1() {
  53742. return instructionState.lFrame.currentNamespace;
  53743. }
  53744. /**
  53745. * @license
  53746. * Copyright Google LLC All Rights Reserved.
  53747. *
  53748. * Use of this source code is governed by an MIT-style license that can be
  53749. * found in the LICENSE file at https://angular.io/license
  53750. */
  53751. /**
  53752. * Adds all directive lifecycle hooks from the given `DirectiveDef` to the given `TView`.
  53753. *
  53754. * Must be run *only* on the first template pass.
  53755. *
  53756. * Sets up the pre-order hooks on the provided `tView`,
  53757. * see {@link HookData} for details about the data structure.
  53758. *
  53759. * @param directiveIndex The index of the directive in LView
  53760. * @param directiveDef The definition containing the hooks to setup in tView
  53761. * @param tView The current TView
  53762. */
  53763. function registerPreOrderHooks(directiveIndex, directiveDef, tView) {
  53764. ngDevMode && assertFirstCreatePass(tView);
  53765. const {
  53766. ngOnChanges,
  53767. ngOnInit,
  53768. ngDoCheck
  53769. } = directiveDef.type.prototype;
  53770. if (ngOnChanges) {
  53771. const wrappedOnChanges = NgOnChangesFeatureImpl(directiveDef);
  53772. (tView.preOrderHooks || (tView.preOrderHooks = [])).push(directiveIndex, wrappedOnChanges);
  53773. (tView.preOrderCheckHooks || (tView.preOrderCheckHooks = [])).push(directiveIndex, wrappedOnChanges);
  53774. }
  53775. if (ngOnInit) {
  53776. (tView.preOrderHooks || (tView.preOrderHooks = [])).push(0 - directiveIndex, ngOnInit);
  53777. }
  53778. if (ngDoCheck) {
  53779. (tView.preOrderHooks || (tView.preOrderHooks = [])).push(directiveIndex, ngDoCheck);
  53780. (tView.preOrderCheckHooks || (tView.preOrderCheckHooks = [])).push(directiveIndex, ngDoCheck);
  53781. }
  53782. }
  53783. /**
  53784. *
  53785. * Loops through the directives on the provided `tNode` and queues hooks to be
  53786. * run that are not initialization hooks.
  53787. *
  53788. * Should be executed during `elementEnd()` and similar to
  53789. * preserve hook execution order. Content, view, and destroy hooks for projected
  53790. * components and directives must be called *before* their hosts.
  53791. *
  53792. * Sets up the content, view, and destroy hooks on the provided `tView`,
  53793. * see {@link HookData} for details about the data structure.
  53794. *
  53795. * NOTE: This does not set up `onChanges`, `onInit` or `doCheck`, those are set up
  53796. * separately at `elementStart`.
  53797. *
  53798. * @param tView The current TView
  53799. * @param tNode The TNode whose directives are to be searched for hooks to queue
  53800. */
  53801. function registerPostOrderHooks(tView, tNode) {
  53802. ngDevMode && assertFirstCreatePass(tView); // It's necessary to loop through the directives at elementEnd() (rather than processing in
  53803. // directiveCreate) so we can preserve the current hook order. Content, view, and destroy
  53804. // hooks for projected components and directives must be called *before* their hosts.
  53805. for (let i = tNode.directiveStart, end = tNode.directiveEnd; i < end; i++) {
  53806. const directiveDef = tView.data[i];
  53807. ngDevMode && assertDefined(directiveDef, 'Expecting DirectiveDef');
  53808. const lifecycleHooks = directiveDef.type.prototype;
  53809. const {
  53810. ngAfterContentInit,
  53811. ngAfterContentChecked,
  53812. ngAfterViewInit,
  53813. ngAfterViewChecked,
  53814. ngOnDestroy
  53815. } = lifecycleHooks;
  53816. if (ngAfterContentInit) {
  53817. (tView.contentHooks || (tView.contentHooks = [])).push(-i, ngAfterContentInit);
  53818. }
  53819. if (ngAfterContentChecked) {
  53820. (tView.contentHooks || (tView.contentHooks = [])).push(i, ngAfterContentChecked);
  53821. (tView.contentCheckHooks || (tView.contentCheckHooks = [])).push(i, ngAfterContentChecked);
  53822. }
  53823. if (ngAfterViewInit) {
  53824. (tView.viewHooks || (tView.viewHooks = [])).push(-i, ngAfterViewInit);
  53825. }
  53826. if (ngAfterViewChecked) {
  53827. (tView.viewHooks || (tView.viewHooks = [])).push(i, ngAfterViewChecked);
  53828. (tView.viewCheckHooks || (tView.viewCheckHooks = [])).push(i, ngAfterViewChecked);
  53829. }
  53830. if (ngOnDestroy != null) {
  53831. (tView.destroyHooks || (tView.destroyHooks = [])).push(i, ngOnDestroy);
  53832. }
  53833. }
  53834. }
  53835. /**
  53836. * Executing hooks requires complex logic as we need to deal with 2 constraints.
  53837. *
  53838. * 1. Init hooks (ngOnInit, ngAfterContentInit, ngAfterViewInit) must all be executed once and only
  53839. * once, across many change detection cycles. This must be true even if some hooks throw, or if
  53840. * some recursively trigger a change detection cycle.
  53841. * To solve that, it is required to track the state of the execution of these init hooks.
  53842. * This is done by storing and maintaining flags in the view: the {@link InitPhaseState},
  53843. * and the index within that phase. They can be seen as a cursor in the following structure:
  53844. * [[onInit1, onInit2], [afterContentInit1], [afterViewInit1, afterViewInit2, afterViewInit3]]
  53845. * They are are stored as flags in LView[FLAGS].
  53846. *
  53847. * 2. Pre-order hooks can be executed in batches, because of the select instruction.
  53848. * To be able to pause and resume their execution, we also need some state about the hook's array
  53849. * that is being processed:
  53850. * - the index of the next hook to be executed
  53851. * - the number of init hooks already found in the processed part of the array
  53852. * They are are stored as flags in LView[PREORDER_HOOK_FLAGS].
  53853. */
  53854. /**
  53855. * Executes pre-order check hooks ( OnChanges, DoChanges) given a view where all the init hooks were
  53856. * executed once. This is a light version of executeInitAndCheckPreOrderHooks where we can skip read
  53857. * / write of the init-hooks related flags.
  53858. * @param lView The LView where hooks are defined
  53859. * @param hooks Hooks to be run
  53860. * @param nodeIndex 3 cases depending on the value:
  53861. * - undefined: all hooks from the array should be executed (post-order case)
  53862. * - null: execute hooks only from the saved index until the end of the array (pre-order case, when
  53863. * flushing the remaining hooks)
  53864. * - number: execute hooks only from the saved index until that node index exclusive (pre-order
  53865. * case, when executing select(number))
  53866. */
  53867. function executeCheckHooks(lView, hooks, nodeIndex) {
  53868. callHooks(lView, hooks, 3
  53869. /* InitPhaseState.InitPhaseCompleted */
  53870. , nodeIndex);
  53871. }
  53872. /**
  53873. * Executes post-order init and check hooks (one of AfterContentInit, AfterContentChecked,
  53874. * AfterViewInit, AfterViewChecked) given a view where there are pending init hooks to be executed.
  53875. * @param lView The LView where hooks are defined
  53876. * @param hooks Hooks to be run
  53877. * @param initPhase A phase for which hooks should be run
  53878. * @param nodeIndex 3 cases depending on the value:
  53879. * - undefined: all hooks from the array should be executed (post-order case)
  53880. * - null: execute hooks only from the saved index until the end of the array (pre-order case, when
  53881. * flushing the remaining hooks)
  53882. * - number: execute hooks only from the saved index until that node index exclusive (pre-order
  53883. * case, when executing select(number))
  53884. */
  53885. function executeInitAndCheckHooks(lView, hooks, initPhase, nodeIndex) {
  53886. ngDevMode && assertNotEqual(initPhase, 3
  53887. /* InitPhaseState.InitPhaseCompleted */
  53888. , 'Init pre-order hooks should not be called more than once');
  53889. if ((lView[FLAGS] & 3
  53890. /* LViewFlags.InitPhaseStateMask */
  53891. ) === initPhase) {
  53892. callHooks(lView, hooks, initPhase, nodeIndex);
  53893. }
  53894. }
  53895. function incrementInitPhaseFlags(lView, initPhase) {
  53896. ngDevMode && assertNotEqual(initPhase, 3
  53897. /* InitPhaseState.InitPhaseCompleted */
  53898. , 'Init hooks phase should not be incremented after all init hooks have been run.');
  53899. let flags = lView[FLAGS];
  53900. if ((flags & 3
  53901. /* LViewFlags.InitPhaseStateMask */
  53902. ) === initPhase) {
  53903. flags &= 2047
  53904. /* LViewFlags.IndexWithinInitPhaseReset */
  53905. ;
  53906. flags += 1
  53907. /* LViewFlags.InitPhaseStateIncrementer */
  53908. ;
  53909. lView[FLAGS] = flags;
  53910. }
  53911. }
  53912. /**
  53913. * Calls lifecycle hooks with their contexts, skipping init hooks if it's not
  53914. * the first LView pass
  53915. *
  53916. * @param currentView The current view
  53917. * @param arr The array in which the hooks are found
  53918. * @param initPhaseState the current state of the init phase
  53919. * @param currentNodeIndex 3 cases depending on the value:
  53920. * - undefined: all hooks from the array should be executed (post-order case)
  53921. * - null: execute hooks only from the saved index until the end of the array (pre-order case, when
  53922. * flushing the remaining hooks)
  53923. * - number: execute hooks only from the saved index until that node index exclusive (pre-order
  53924. * case, when executing select(number))
  53925. */
  53926. function callHooks(currentView, arr, initPhase, currentNodeIndex) {
  53927. ngDevMode && assertEqual(isInCheckNoChangesMode(), false, 'Hooks should never be run when in check no changes mode.');
  53928. const startIndex = currentNodeIndex !== undefined ? currentView[PREORDER_HOOK_FLAGS] & 65535
  53929. /* PreOrderHookFlags.IndexOfTheNextPreOrderHookMaskMask */
  53930. : 0;
  53931. const nodeIndexLimit = currentNodeIndex != null ? currentNodeIndex : -1;
  53932. const max = arr.length - 1; // Stop the loop at length - 1, because we look for the hook at i + 1
  53933. let lastNodeIndexFound = 0;
  53934. for (let i = startIndex; i < max; i++) {
  53935. const hook = arr[i + 1];
  53936. if (typeof hook === 'number') {
  53937. lastNodeIndexFound = arr[i];
  53938. if (currentNodeIndex != null && lastNodeIndexFound >= currentNodeIndex) {
  53939. break;
  53940. }
  53941. } else {
  53942. const isInitHook = arr[i] < 0;
  53943. if (isInitHook) currentView[PREORDER_HOOK_FLAGS] += 65536
  53944. /* PreOrderHookFlags.NumberOfInitHooksCalledIncrementer */
  53945. ;
  53946. if (lastNodeIndexFound < nodeIndexLimit || nodeIndexLimit == -1) {
  53947. callHook(currentView, initPhase, arr, i);
  53948. currentView[PREORDER_HOOK_FLAGS] = (currentView[PREORDER_HOOK_FLAGS] & 4294901760
  53949. /* PreOrderHookFlags.NumberOfInitHooksCalledMask */
  53950. ) + i + 2;
  53951. }
  53952. i++;
  53953. }
  53954. }
  53955. }
  53956. /**
  53957. * Execute one hook against the current `LView`.
  53958. *
  53959. * @param currentView The current view
  53960. * @param initPhaseState the current state of the init phase
  53961. * @param arr The array in which the hooks are found
  53962. * @param i The current index within the hook data array
  53963. */
  53964. function callHook(currentView, initPhase, arr, i) {
  53965. const isInitHook = arr[i] < 0;
  53966. const hook = arr[i + 1];
  53967. const directiveIndex = isInitHook ? -arr[i] : arr[i];
  53968. const directive = currentView[directiveIndex];
  53969. if (isInitHook) {
  53970. const indexWithintInitPhase = currentView[FLAGS] >> 11
  53971. /* LViewFlags.IndexWithinInitPhaseShift */
  53972. ; // The init phase state must be always checked here as it may have been recursively updated.
  53973. if (indexWithintInitPhase < currentView[PREORDER_HOOK_FLAGS] >> 16
  53974. /* PreOrderHookFlags.NumberOfInitHooksCalledShift */
  53975. && (currentView[FLAGS] & 3
  53976. /* LViewFlags.InitPhaseStateMask */
  53977. ) === initPhase) {
  53978. currentView[FLAGS] += 2048
  53979. /* LViewFlags.IndexWithinInitPhaseIncrementer */
  53980. ;
  53981. profiler(4
  53982. /* ProfilerEvent.LifecycleHookStart */
  53983. , directive, hook);
  53984. try {
  53985. hook.call(directive);
  53986. } finally {
  53987. profiler(5
  53988. /* ProfilerEvent.LifecycleHookEnd */
  53989. , directive, hook);
  53990. }
  53991. }
  53992. } else {
  53993. profiler(4
  53994. /* ProfilerEvent.LifecycleHookStart */
  53995. , directive, hook);
  53996. try {
  53997. hook.call(directive);
  53998. } finally {
  53999. profiler(5
  54000. /* ProfilerEvent.LifecycleHookEnd */
  54001. , directive, hook);
  54002. }
  54003. }
  54004. }
  54005. /**
  54006. * @license
  54007. * Copyright Google LLC All Rights Reserved.
  54008. *
  54009. * Use of this source code is governed by an MIT-style license that can be
  54010. * found in the LICENSE file at https://angular.io/license
  54011. */
  54012. const NO_PARENT_INJECTOR = -1;
  54013. /**
  54014. * Each injector is saved in 9 contiguous slots in `LView` and 9 contiguous slots in
  54015. * `TView.data`. This allows us to store information about the current node's tokens (which
  54016. * can be shared in `TView`) as well as the tokens of its ancestor nodes (which cannot be
  54017. * shared, so they live in `LView`).
  54018. *
  54019. * Each of these slots (aside from the last slot) contains a bloom filter. This bloom filter
  54020. * determines whether a directive is available on the associated node or not. This prevents us
  54021. * from searching the directives array at this level unless it's probable the directive is in it.
  54022. *
  54023. * See: https://en.wikipedia.org/wiki/Bloom_filter for more about bloom filters.
  54024. *
  54025. * Because all injectors have been flattened into `LView` and `TViewData`, they cannot typed
  54026. * using interfaces as they were previously. The start index of each `LInjector` and `TInjector`
  54027. * will differ based on where it is flattened into the main array, so it's not possible to know
  54028. * the indices ahead of time and save their types here. The interfaces are still included here
  54029. * for documentation purposes.
  54030. *
  54031. * export interface LInjector extends Array<any> {
  54032. *
  54033. * // Cumulative bloom for directive IDs 0-31 (IDs are % BLOOM_SIZE)
  54034. * [0]: number;
  54035. *
  54036. * // Cumulative bloom for directive IDs 32-63
  54037. * [1]: number;
  54038. *
  54039. * // Cumulative bloom for directive IDs 64-95
  54040. * [2]: number;
  54041. *
  54042. * // Cumulative bloom for directive IDs 96-127
  54043. * [3]: number;
  54044. *
  54045. * // Cumulative bloom for directive IDs 128-159
  54046. * [4]: number;
  54047. *
  54048. * // Cumulative bloom for directive IDs 160 - 191
  54049. * [5]: number;
  54050. *
  54051. * // Cumulative bloom for directive IDs 192 - 223
  54052. * [6]: number;
  54053. *
  54054. * // Cumulative bloom for directive IDs 224 - 255
  54055. * [7]: number;
  54056. *
  54057. * // We need to store a reference to the injector's parent so DI can keep looking up
  54058. * // the injector tree until it finds the dependency it's looking for.
  54059. * [PARENT_INJECTOR]: number;
  54060. * }
  54061. *
  54062. * export interface TInjector extends Array<any> {
  54063. *
  54064. * // Shared node bloom for directive IDs 0-31 (IDs are % BLOOM_SIZE)
  54065. * [0]: number;
  54066. *
  54067. * // Shared node bloom for directive IDs 32-63
  54068. * [1]: number;
  54069. *
  54070. * // Shared node bloom for directive IDs 64-95
  54071. * [2]: number;
  54072. *
  54073. * // Shared node bloom for directive IDs 96-127
  54074. * [3]: number;
  54075. *
  54076. * // Shared node bloom for directive IDs 128-159
  54077. * [4]: number;
  54078. *
  54079. * // Shared node bloom for directive IDs 160 - 191
  54080. * [5]: number;
  54081. *
  54082. * // Shared node bloom for directive IDs 192 - 223
  54083. * [6]: number;
  54084. *
  54085. * // Shared node bloom for directive IDs 224 - 255
  54086. * [7]: number;
  54087. *
  54088. * // Necessary to find directive indices for a particular node.
  54089. * [TNODE]: TElementNode|TElementContainerNode|TContainerNode;
  54090. * }
  54091. */
  54092. /**
  54093. * Factory for creating instances of injectors in the NodeInjector.
  54094. *
  54095. * This factory is complicated by the fact that it can resolve `multi` factories as well.
  54096. *
  54097. * NOTE: Some of the fields are optional which means that this class has two hidden classes.
  54098. * - One without `multi` support (most common)
  54099. * - One with `multi` values, (rare).
  54100. *
  54101. * Since VMs can cache up to 4 inline hidden classes this is OK.
  54102. *
  54103. * - Single factory: Only `resolving` and `factory` is defined.
  54104. * - `providers` factory: `componentProviders` is a number and `index = -1`.
  54105. * - `viewProviders` factory: `componentProviders` is a number and `index` points to `providers`.
  54106. */
  54107. class NodeInjectorFactory {
  54108. constructor(
  54109. /**
  54110. * Factory to invoke in order to create a new instance.
  54111. */
  54112. factory,
  54113. /**
  54114. * Set to `true` if the token is declared in `viewProviders` (or if it is component).
  54115. */
  54116. isViewProvider, injectImplementation) {
  54117. this.factory = factory;
  54118. /**
  54119. * Marker set to true during factory invocation to see if we get into recursive loop.
  54120. * Recursive loop causes an error to be displayed.
  54121. */
  54122. this.resolving = false;
  54123. ngDevMode && assertDefined(factory, 'Factory not specified');
  54124. ngDevMode && assertEqual(typeof factory, 'function', 'Expected factory function.');
  54125. this.canSeeViewProviders = isViewProvider;
  54126. this.injectImpl = injectImplementation;
  54127. }
  54128. }
  54129. function isFactory(obj) {
  54130. return obj instanceof NodeInjectorFactory;
  54131. } // Note: This hack is necessary so we don't erroneously get a circular dependency
  54132. // failure based on types.
  54133. const unusedValueExportToPlacateAjd$6 = 1;
  54134. /**
  54135. * Converts `TNodeType` into human readable text.
  54136. * Make sure this matches with `TNodeType`
  54137. */
  54138. function toTNodeTypeAsString(tNodeType) {
  54139. let text = '';
  54140. tNodeType & 1
  54141. /* TNodeType.Text */
  54142. && (text += '|Text');
  54143. tNodeType & 2
  54144. /* TNodeType.Element */
  54145. && (text += '|Element');
  54146. tNodeType & 4
  54147. /* TNodeType.Container */
  54148. && (text += '|Container');
  54149. tNodeType & 8
  54150. /* TNodeType.ElementContainer */
  54151. && (text += '|ElementContainer');
  54152. tNodeType & 16
  54153. /* TNodeType.Projection */
  54154. && (text += '|Projection');
  54155. tNodeType & 32
  54156. /* TNodeType.Icu */
  54157. && (text += '|IcuContainer');
  54158. tNodeType & 64
  54159. /* TNodeType.Placeholder */
  54160. && (text += '|Placeholder');
  54161. return text.length > 0 ? text.substring(1) : text;
  54162. } // Note: This hack is necessary so we don't erroneously get a circular dependency
  54163. // failure based on types.
  54164. const unusedValueExportToPlacateAjd$5 = 1;
  54165. /**
  54166. * Returns `true` if the `TNode` has a directive which has `@Input()` for `class` binding.
  54167. *
  54168. * ```
  54169. * <div my-dir [class]="exp"></div>
  54170. * ```
  54171. * and
  54172. * ```
  54173. * @Directive({
  54174. * })
  54175. * class MyDirective {
  54176. * @Input()
  54177. * class: string;
  54178. * }
  54179. * ```
  54180. *
  54181. * In the above case it is necessary to write the reconciled styling information into the
  54182. * directive's input.
  54183. *
  54184. * @param tNode
  54185. */
  54186. function hasClassInput(tNode) {
  54187. return (tNode.flags & 16
  54188. /* TNodeFlags.hasClassInput */
  54189. ) !== 0;
  54190. }
  54191. /**
  54192. * Returns `true` if the `TNode` has a directive which has `@Input()` for `style` binding.
  54193. *
  54194. * ```
  54195. * <div my-dir [style]="exp"></div>
  54196. * ```
  54197. * and
  54198. * ```
  54199. * @Directive({
  54200. * })
  54201. * class MyDirective {
  54202. * @Input()
  54203. * class: string;
  54204. * }
  54205. * ```
  54206. *
  54207. * In the above case it is necessary to write the reconciled styling information into the
  54208. * directive's input.
  54209. *
  54210. * @param tNode
  54211. */
  54212. function hasStyleInput(tNode) {
  54213. return (tNode.flags & 32
  54214. /* TNodeFlags.hasStyleInput */
  54215. ) !== 0;
  54216. }
  54217. /**
  54218. * @license
  54219. * Copyright Google LLC All Rights Reserved.
  54220. *
  54221. * Use of this source code is governed by an MIT-style license that can be
  54222. * found in the LICENSE file at https://angular.io/license
  54223. */
  54224. function assertTNodeType(tNode, expectedTypes, message) {
  54225. assertDefined(tNode, 'should be called with a TNode');
  54226. if ((tNode.type & expectedTypes) === 0) {
  54227. throwError(message || `Expected [${toTNodeTypeAsString(expectedTypes)}] but got ${toTNodeTypeAsString(tNode.type)}.`);
  54228. }
  54229. }
  54230. function assertPureTNodeType(type) {
  54231. if (!(type === 2
  54232. /* TNodeType.Element */
  54233. || //
  54234. type === 1
  54235. /* TNodeType.Text */
  54236. || //
  54237. type === 4
  54238. /* TNodeType.Container */
  54239. || //
  54240. type === 8
  54241. /* TNodeType.ElementContainer */
  54242. || //
  54243. type === 32
  54244. /* TNodeType.Icu */
  54245. || //
  54246. type === 16
  54247. /* TNodeType.Projection */
  54248. || //
  54249. type === 64
  54250. /* TNodeType.Placeholder */
  54251. )) {
  54252. throwError(`Expected TNodeType to have only a single type selected, but got ${toTNodeTypeAsString(type)}.`);
  54253. }
  54254. }
  54255. /**
  54256. * Assigns all attribute values to the provided element via the inferred renderer.
  54257. *
  54258. * This function accepts two forms of attribute entries:
  54259. *
  54260. * default: (key, value):
  54261. * attrs = [key1, value1, key2, value2]
  54262. *
  54263. * namespaced: (NAMESPACE_MARKER, uri, name, value)
  54264. * attrs = [NAMESPACE_MARKER, uri, name, value, NAMESPACE_MARKER, uri, name, value]
  54265. *
  54266. * The `attrs` array can contain a mix of both the default and namespaced entries.
  54267. * The "default" values are set without a marker, but if the function comes across
  54268. * a marker value then it will attempt to set a namespaced value. If the marker is
  54269. * not of a namespaced value then the function will quit and return the index value
  54270. * where it stopped during the iteration of the attrs array.
  54271. *
  54272. * See [AttributeMarker] to understand what the namespace marker value is.
  54273. *
  54274. * Note that this instruction does not support assigning style and class values to
  54275. * an element. See `elementStart` and `elementHostAttrs` to learn how styling values
  54276. * are applied to an element.
  54277. * @param renderer The renderer to be used
  54278. * @param native The element that the attributes will be assigned to
  54279. * @param attrs The attribute array of values that will be assigned to the element
  54280. * @returns the index value that was last accessed in the attributes array
  54281. */
  54282. function setUpAttributes(renderer, native, attrs) {
  54283. let i = 0;
  54284. while (i < attrs.length) {
  54285. const value = attrs[i];
  54286. if (typeof value === 'number') {
  54287. // only namespaces are supported. Other value types (such as style/class
  54288. // entries) are not supported in this function.
  54289. if (value !== 0
  54290. /* AttributeMarker.NamespaceURI */
  54291. ) {
  54292. break;
  54293. } // we just landed on the marker value ... therefore
  54294. // we should skip to the next entry
  54295. i++;
  54296. const namespaceURI = attrs[i++];
  54297. const attrName = attrs[i++];
  54298. const attrVal = attrs[i++];
  54299. ngDevMode && ngDevMode.rendererSetAttribute++;
  54300. renderer.setAttribute(native, attrName, attrVal, namespaceURI);
  54301. } else {
  54302. // attrName is string;
  54303. const attrName = value;
  54304. const attrVal = attrs[++i]; // Standard attributes
  54305. ngDevMode && ngDevMode.rendererSetAttribute++;
  54306. if (isAnimationProp(attrName)) {
  54307. renderer.setProperty(native, attrName, attrVal);
  54308. } else {
  54309. renderer.setAttribute(native, attrName, attrVal);
  54310. }
  54311. i++;
  54312. }
  54313. } // another piece of code may iterate over the same attributes array. Therefore
  54314. // it may be helpful to return the exact spot where the attributes array exited
  54315. // whether by running into an unsupported marker or if all the static values were
  54316. // iterated over.
  54317. return i;
  54318. }
  54319. /**
  54320. * Test whether the given value is a marker that indicates that the following
  54321. * attribute values in a `TAttributes` array are only the names of attributes,
  54322. * and not name-value pairs.
  54323. * @param marker The attribute marker to test.
  54324. * @returns true if the marker is a "name-only" marker (e.g. `Bindings`, `Template` or `I18n`).
  54325. */
  54326. function isNameOnlyAttributeMarker(marker) {
  54327. return marker === 3
  54328. /* AttributeMarker.Bindings */
  54329. || marker === 4
  54330. /* AttributeMarker.Template */
  54331. || marker === 6
  54332. /* AttributeMarker.I18n */
  54333. ;
  54334. }
  54335. function isAnimationProp(name) {
  54336. // Perf note: accessing charCodeAt to check for the first character of a string is faster as
  54337. // compared to accessing a character at index 0 (ex. name[0]). The main reason for this is that
  54338. // charCodeAt doesn't allocate memory to return a substring.
  54339. return name.charCodeAt(0) === 64
  54340. /* CharCode.AT_SIGN */
  54341. ;
  54342. }
  54343. /**
  54344. * Merges `src` `TAttributes` into `dst` `TAttributes` removing any duplicates in the process.
  54345. *
  54346. * This merge function keeps the order of attrs same.
  54347. *
  54348. * @param dst Location of where the merged `TAttributes` should end up.
  54349. * @param src `TAttributes` which should be appended to `dst`
  54350. */
  54351. function mergeHostAttrs(dst, src) {
  54352. if (src === null || src.length === 0) {// do nothing
  54353. } else if (dst === null || dst.length === 0) {
  54354. // We have source, but dst is empty, just make a copy.
  54355. dst = src.slice();
  54356. } else {
  54357. let srcMarker = -1
  54358. /* AttributeMarker.ImplicitAttributes */
  54359. ;
  54360. for (let i = 0; i < src.length; i++) {
  54361. const item = src[i];
  54362. if (typeof item === 'number') {
  54363. srcMarker = item;
  54364. } else {
  54365. if (srcMarker === 0
  54366. /* AttributeMarker.NamespaceURI */
  54367. ) {// Case where we need to consume `key1`, `key2`, `value` items.
  54368. } else if (srcMarker === -1
  54369. /* AttributeMarker.ImplicitAttributes */
  54370. || srcMarker === 2
  54371. /* AttributeMarker.Styles */
  54372. ) {
  54373. // Case where we have to consume `key1` and `value` only.
  54374. mergeHostAttribute(dst, srcMarker, item, null, src[++i]);
  54375. } else {
  54376. // Case where we have to consume `key1` only.
  54377. mergeHostAttribute(dst, srcMarker, item, null, null);
  54378. }
  54379. }
  54380. }
  54381. }
  54382. return dst;
  54383. }
  54384. /**
  54385. * Append `key`/`value` to existing `TAttributes` taking region marker and duplicates into account.
  54386. *
  54387. * @param dst `TAttributes` to append to.
  54388. * @param marker Region where the `key`/`value` should be added.
  54389. * @param key1 Key to add to `TAttributes`
  54390. * @param key2 Key to add to `TAttributes` (in case of `AttributeMarker.NamespaceURI`)
  54391. * @param value Value to add or to overwrite to `TAttributes` Only used if `marker` is not Class.
  54392. */
  54393. function mergeHostAttribute(dst, marker, key1, key2, value) {
  54394. let i = 0; // Assume that new markers will be inserted at the end.
  54395. let markerInsertPosition = dst.length; // scan until correct type.
  54396. if (marker === -1
  54397. /* AttributeMarker.ImplicitAttributes */
  54398. ) {
  54399. markerInsertPosition = -1;
  54400. } else {
  54401. while (i < dst.length) {
  54402. const dstValue = dst[i++];
  54403. if (typeof dstValue === 'number') {
  54404. if (dstValue === marker) {
  54405. markerInsertPosition = -1;
  54406. break;
  54407. } else if (dstValue > marker) {
  54408. // We need to save this as we want the markers to be inserted in specific order.
  54409. markerInsertPosition = i - 1;
  54410. break;
  54411. }
  54412. }
  54413. }
  54414. } // search until you find place of insertion
  54415. while (i < dst.length) {
  54416. const item = dst[i];
  54417. if (typeof item === 'number') {
  54418. // since `i` started as the index after the marker, we did not find it if we are at the next
  54419. // marker
  54420. break;
  54421. } else if (item === key1) {
  54422. // We already have same token
  54423. if (key2 === null) {
  54424. if (value !== null) {
  54425. dst[i + 1] = value;
  54426. }
  54427. return;
  54428. } else if (key2 === dst[i + 1]) {
  54429. dst[i + 2] = value;
  54430. return;
  54431. }
  54432. } // Increment counter.
  54433. i++;
  54434. if (key2 !== null) i++;
  54435. if (value !== null) i++;
  54436. } // insert at location.
  54437. if (markerInsertPosition !== -1) {
  54438. dst.splice(markerInsertPosition, 0, marker);
  54439. i = markerInsertPosition + 1;
  54440. }
  54441. dst.splice(i++, 0, key1);
  54442. if (key2 !== null) {
  54443. dst.splice(i++, 0, key2);
  54444. }
  54445. if (value !== null) {
  54446. dst.splice(i++, 0, value);
  54447. }
  54448. }
  54449. /**
  54450. * @license
  54451. * Copyright Google LLC All Rights Reserved.
  54452. *
  54453. * Use of this source code is governed by an MIT-style license that can be
  54454. * found in the LICENSE file at https://angular.io/license
  54455. */
  54456. /// Parent Injector Utils ///////////////////////////////////////////////////////////////
  54457. function hasParentInjector(parentLocation) {
  54458. return parentLocation !== NO_PARENT_INJECTOR;
  54459. }
  54460. function getParentInjectorIndex(parentLocation) {
  54461. ngDevMode && assertNumber(parentLocation, 'Number expected');
  54462. ngDevMode && assertNotEqual(parentLocation, -1, 'Not a valid state.');
  54463. const parentInjectorIndex = parentLocation & 32767
  54464. /* RelativeInjectorLocationFlags.InjectorIndexMask */
  54465. ;
  54466. ngDevMode && assertGreaterThan(parentInjectorIndex, HEADER_OFFSET, 'Parent injector must be pointing past HEADER_OFFSET.');
  54467. return parentLocation & 32767
  54468. /* RelativeInjectorLocationFlags.InjectorIndexMask */
  54469. ;
  54470. }
  54471. function getParentInjectorViewOffset(parentLocation) {
  54472. return parentLocation >> 16
  54473. /* RelativeInjectorLocationFlags.ViewOffsetShift */
  54474. ;
  54475. }
  54476. /**
  54477. * Unwraps a parent injector location number to find the view offset from the current injector,
  54478. * then walks up the declaration view tree until the view is found that contains the parent
  54479. * injector.
  54480. *
  54481. * @param location The location of the parent injector, which contains the view offset
  54482. * @param startView The LView instance from which to start walking up the view tree
  54483. * @returns The LView instance that contains the parent injector
  54484. */
  54485. function getParentInjectorView(location, startView) {
  54486. let viewOffset = getParentInjectorViewOffset(location);
  54487. let parentView = startView; // For most cases, the parent injector can be found on the host node (e.g. for component
  54488. // or container), but we must keep the loop here to support the rarer case of deeply nested
  54489. // <ng-template> tags or inline views, where the parent injector might live many views
  54490. // above the child injector.
  54491. while (viewOffset > 0) {
  54492. parentView = parentView[DECLARATION_VIEW];
  54493. viewOffset--;
  54494. }
  54495. return parentView;
  54496. }
  54497. /**
  54498. * @license
  54499. * Copyright Google LLC All Rights Reserved.
  54500. *
  54501. * Use of this source code is governed by an MIT-style license that can be
  54502. * found in the LICENSE file at https://angular.io/license
  54503. */
  54504. /**
  54505. * Defines if the call to `inject` should include `viewProviders` in its resolution.
  54506. *
  54507. * This is set to true when we try to instantiate a component. This value is reset in
  54508. * `getNodeInjectable` to a value which matches the declaration location of the token about to be
  54509. * instantiated. This is done so that if we are injecting a token which was declared outside of
  54510. * `viewProviders` we don't accidentally pull `viewProviders` in.
  54511. *
  54512. * Example:
  54513. *
  54514. * ```
  54515. * @Injectable()
  54516. * class MyService {
  54517. * constructor(public value: String) {}
  54518. * }
  54519. *
  54520. * @Component({
  54521. * providers: [
  54522. * MyService,
  54523. * {provide: String, value: 'providers' }
  54524. * ]
  54525. * viewProviders: [
  54526. * {provide: String, value: 'viewProviders'}
  54527. * ]
  54528. * })
  54529. * class MyComponent {
  54530. * constructor(myService: MyService, value: String) {
  54531. * // We expect that Component can see into `viewProviders`.
  54532. * expect(value).toEqual('viewProviders');
  54533. * // `MyService` was not declared in `viewProviders` hence it can't see it.
  54534. * expect(myService.value).toEqual('providers');
  54535. * }
  54536. * }
  54537. *
  54538. * ```
  54539. */
  54540. let includeViewProviders = true;
  54541. function setIncludeViewProviders(v) {
  54542. const oldValue = includeViewProviders;
  54543. includeViewProviders = v;
  54544. return oldValue;
  54545. }
  54546. /**
  54547. * The number of slots in each bloom filter (used by DI). The larger this number, the fewer
  54548. * directives that will share slots, and thus, the fewer false positives when checking for
  54549. * the existence of a directive.
  54550. */
  54551. const BLOOM_SIZE = 256;
  54552. const BLOOM_MASK = BLOOM_SIZE - 1;
  54553. /**
  54554. * The number of bits that is represented by a single bloom bucket. JS bit operations are 32 bits,
  54555. * so each bucket represents 32 distinct tokens which accounts for log2(32) = 5 bits of a bloom hash
  54556. * number.
  54557. */
  54558. const BLOOM_BUCKET_BITS = 5;
  54559. /** Counter used to generate unique IDs for directives. */
  54560. let nextNgElementId = 0;
  54561. /** Value used when something wasn't found by an injector. */
  54562. const NOT_FOUND = {};
  54563. /**
  54564. * Registers this directive as present in its node's injector by flipping the directive's
  54565. * corresponding bit in the injector's bloom filter.
  54566. *
  54567. * @param injectorIndex The index of the node injector where this token should be registered
  54568. * @param tView The TView for the injector's bloom filters
  54569. * @param type The directive token to register
  54570. */
  54571. function bloomAdd(injectorIndex, tView, type) {
  54572. ngDevMode && assertEqual(tView.firstCreatePass, true, 'expected firstCreatePass to be true');
  54573. let id;
  54574. if (typeof type === 'string') {
  54575. id = type.charCodeAt(0) || 0;
  54576. } else if (type.hasOwnProperty(NG_ELEMENT_ID)) {
  54577. id = type[NG_ELEMENT_ID];
  54578. } // Set a unique ID on the directive type, so if something tries to inject the directive,
  54579. // we can easily retrieve the ID and hash it into the bloom bit that should be checked.
  54580. if (id == null) {
  54581. id = type[NG_ELEMENT_ID] = nextNgElementId++;
  54582. } // We only have BLOOM_SIZE (256) slots in our bloom filter (8 buckets * 32 bits each),
  54583. // so all unique IDs must be modulo-ed into a number from 0 - 255 to fit into the filter.
  54584. const bloomHash = id & BLOOM_MASK; // Create a mask that targets the specific bit associated with the directive.
  54585. // JS bit operations are 32 bits, so this will be a number between 2^0 and 2^31, corresponding
  54586. // to bit positions 0 - 31 in a 32 bit integer.
  54587. const mask = 1 << bloomHash; // Each bloom bucket in `tData` represents `BLOOM_BUCKET_BITS` number of bits of `bloomHash`.
  54588. // Any bits in `bloomHash` beyond `BLOOM_BUCKET_BITS` indicate the bucket offset that the mask
  54589. // should be written to.
  54590. tView.data[injectorIndex + (bloomHash >> BLOOM_BUCKET_BITS)] |= mask;
  54591. }
  54592. /**
  54593. * Creates (or gets an existing) injector for a given element or container.
  54594. *
  54595. * @param tNode for which an injector should be retrieved / created.
  54596. * @param lView View where the node is stored
  54597. * @returns Node injector
  54598. */
  54599. function getOrCreateNodeInjectorForNode(tNode, lView) {
  54600. const existingInjectorIndex = getInjectorIndex(tNode, lView);
  54601. if (existingInjectorIndex !== -1) {
  54602. return existingInjectorIndex;
  54603. }
  54604. const tView = lView[TVIEW];
  54605. if (tView.firstCreatePass) {
  54606. tNode.injectorIndex = lView.length;
  54607. insertBloom(tView.data, tNode); // foundation for node bloom
  54608. insertBloom(lView, null); // foundation for cumulative bloom
  54609. insertBloom(tView.blueprint, null);
  54610. }
  54611. const parentLoc = getParentInjectorLocation(tNode, lView);
  54612. const injectorIndex = tNode.injectorIndex; // If a parent injector can't be found, its location is set to -1.
  54613. // In that case, we don't need to set up a cumulative bloom
  54614. if (hasParentInjector(parentLoc)) {
  54615. const parentIndex = getParentInjectorIndex(parentLoc);
  54616. const parentLView = getParentInjectorView(parentLoc, lView);
  54617. const parentData = parentLView[TVIEW].data; // Creates a cumulative bloom filter that merges the parent's bloom filter
  54618. // and its own cumulative bloom (which contains tokens for all ancestors)
  54619. for (let i = 0; i < 8
  54620. /* NodeInjectorOffset.BLOOM_SIZE */
  54621. ; i++) {
  54622. lView[injectorIndex + i] = parentLView[parentIndex + i] | parentData[parentIndex + i];
  54623. }
  54624. }
  54625. lView[injectorIndex + 8
  54626. /* NodeInjectorOffset.PARENT */
  54627. ] = parentLoc;
  54628. return injectorIndex;
  54629. }
  54630. function insertBloom(arr, footer) {
  54631. arr.push(0, 0, 0, 0, 0, 0, 0, 0, footer);
  54632. }
  54633. function getInjectorIndex(tNode, lView) {
  54634. if (tNode.injectorIndex === -1 || // If the injector index is the same as its parent's injector index, then the index has been
  54635. // copied down from the parent node. No injector has been created yet on this node.
  54636. tNode.parent && tNode.parent.injectorIndex === tNode.injectorIndex || // After the first template pass, the injector index might exist but the parent values
  54637. // might not have been calculated yet for this instance
  54638. lView[tNode.injectorIndex + 8
  54639. /* NodeInjectorOffset.PARENT */
  54640. ] === null) {
  54641. return -1;
  54642. } else {
  54643. ngDevMode && assertIndexInRange(lView, tNode.injectorIndex);
  54644. return tNode.injectorIndex;
  54645. }
  54646. }
  54647. /**
  54648. * Finds the index of the parent injector, with a view offset if applicable. Used to set the
  54649. * parent injector initially.
  54650. *
  54651. * @returns Returns a number that is the combination of the number of LViews that we have to go up
  54652. * to find the LView containing the parent inject AND the index of the injector within that LView.
  54653. */
  54654. function getParentInjectorLocation(tNode, lView) {
  54655. if (tNode.parent && tNode.parent.injectorIndex !== -1) {
  54656. // If we have a parent `TNode` and there is an injector associated with it we are done, because
  54657. // the parent injector is within the current `LView`.
  54658. return tNode.parent.injectorIndex; // ViewOffset is 0
  54659. } // When parent injector location is computed it may be outside of the current view. (ie it could
  54660. // be pointing to a declared parent location). This variable stores number of declaration parents
  54661. // we need to walk up in order to find the parent injector location.
  54662. let declarationViewOffset = 0;
  54663. let parentTNode = null;
  54664. let lViewCursor = lView; // The parent injector is not in the current `LView`. We will have to walk the declared parent
  54665. // `LView` hierarchy and look for it. If we walk of the top, that means that there is no parent
  54666. // `NodeInjector`.
  54667. while (lViewCursor !== null) {
  54668. parentTNode = getTNodeFromLView(lViewCursor);
  54669. if (parentTNode === null) {
  54670. // If we have no parent, than we are done.
  54671. return NO_PARENT_INJECTOR;
  54672. }
  54673. ngDevMode && parentTNode && assertTNodeForLView(parentTNode, lViewCursor[DECLARATION_VIEW]); // Every iteration of the loop requires that we go to the declared parent.
  54674. declarationViewOffset++;
  54675. lViewCursor = lViewCursor[DECLARATION_VIEW];
  54676. if (parentTNode.injectorIndex !== -1) {
  54677. // We found a NodeInjector which points to something.
  54678. return parentTNode.injectorIndex | declarationViewOffset << 16
  54679. /* RelativeInjectorLocationFlags.ViewOffsetShift */
  54680. ;
  54681. }
  54682. }
  54683. return NO_PARENT_INJECTOR;
  54684. }
  54685. /**
  54686. * Makes a type or an injection token public to the DI system by adding it to an
  54687. * injector's bloom filter.
  54688. *
  54689. * @param di The node injector in which a directive will be added
  54690. * @param token The type or the injection token to be made public
  54691. */
  54692. function diPublicInInjector(injectorIndex, tView, token) {
  54693. bloomAdd(injectorIndex, tView, token);
  54694. }
  54695. /**
  54696. * Inject static attribute value into directive constructor.
  54697. *
  54698. * This method is used with `factory` functions which are generated as part of
  54699. * `defineDirective` or `defineComponent`. The method retrieves the static value
  54700. * of an attribute. (Dynamic attributes are not supported since they are not resolved
  54701. * at the time of injection and can change over time.)
  54702. *
  54703. * # Example
  54704. * Given:
  54705. * ```
  54706. * @Component(...)
  54707. * class MyComponent {
  54708. * constructor(@Attribute('title') title: string) { ... }
  54709. * }
  54710. * ```
  54711. * When instantiated with
  54712. * ```
  54713. * <my-component title="Hello"></my-component>
  54714. * ```
  54715. *
  54716. * Then factory method generated is:
  54717. * ```
  54718. * MyComponent.ɵcmp = defineComponent({
  54719. * factory: () => new MyComponent(injectAttribute('title'))
  54720. * ...
  54721. * })
  54722. * ```
  54723. *
  54724. * @publicApi
  54725. */
  54726. function injectAttributeImpl(tNode, attrNameToInject) {
  54727. ngDevMode && assertTNodeType(tNode, 12
  54728. /* TNodeType.AnyContainer */
  54729. | 3
  54730. /* TNodeType.AnyRNode */
  54731. );
  54732. ngDevMode && assertDefined(tNode, 'expecting tNode');
  54733. if (attrNameToInject === 'class') {
  54734. return tNode.classes;
  54735. }
  54736. if (attrNameToInject === 'style') {
  54737. return tNode.styles;
  54738. }
  54739. const attrs = tNode.attrs;
  54740. if (attrs) {
  54741. const attrsLength = attrs.length;
  54742. let i = 0;
  54743. while (i < attrsLength) {
  54744. const value = attrs[i]; // If we hit a `Bindings` or `Template` marker then we are done.
  54745. if (isNameOnlyAttributeMarker(value)) break; // Skip namespaced attributes
  54746. if (value === 0
  54747. /* AttributeMarker.NamespaceURI */
  54748. ) {
  54749. // we skip the next two values
  54750. // as namespaced attributes looks like
  54751. // [..., AttributeMarker.NamespaceURI, 'http://someuri.com/test', 'test:exist',
  54752. // 'existValue', ...]
  54753. i = i + 2;
  54754. } else if (typeof value === 'number') {
  54755. // Skip to the first value of the marked attribute.
  54756. i++;
  54757. while (i < attrsLength && typeof attrs[i] === 'string') {
  54758. i++;
  54759. }
  54760. } else if (value === attrNameToInject) {
  54761. return attrs[i + 1];
  54762. } else {
  54763. i = i + 2;
  54764. }
  54765. }
  54766. }
  54767. return null;
  54768. }
  54769. function notFoundValueOrThrow(notFoundValue, token, flags) {
  54770. if (flags & InjectFlags.Optional || notFoundValue !== undefined) {
  54771. return notFoundValue;
  54772. } else {
  54773. throwProviderNotFoundError(token, 'NodeInjector');
  54774. }
  54775. }
  54776. /**
  54777. * Returns the value associated to the given token from the ModuleInjector or throws exception
  54778. *
  54779. * @param lView The `LView` that contains the `tNode`
  54780. * @param token The token to look for
  54781. * @param flags Injection flags
  54782. * @param notFoundValue The value to return when the injection flags is `InjectFlags.Optional`
  54783. * @returns the value from the injector or throws an exception
  54784. */
  54785. function lookupTokenUsingModuleInjector(lView, token, flags, notFoundValue) {
  54786. if (flags & InjectFlags.Optional && notFoundValue === undefined) {
  54787. // This must be set or the NullInjector will throw for optional deps
  54788. notFoundValue = null;
  54789. }
  54790. if ((flags & (InjectFlags.Self | InjectFlags.Host)) === 0) {
  54791. const moduleInjector = lView[INJECTOR$1]; // switch to `injectInjectorOnly` implementation for module injector, since module injector
  54792. // should not have access to Component/Directive DI scope (that may happen through
  54793. // `directiveInject` implementation)
  54794. const previousInjectImplementation = setInjectImplementation(undefined);
  54795. try {
  54796. if (moduleInjector) {
  54797. return moduleInjector.get(token, notFoundValue, flags & InjectFlags.Optional);
  54798. } else {
  54799. return injectRootLimpMode(token, notFoundValue, flags & InjectFlags.Optional);
  54800. }
  54801. } finally {
  54802. setInjectImplementation(previousInjectImplementation);
  54803. }
  54804. }
  54805. return notFoundValueOrThrow(notFoundValue, token, flags);
  54806. }
  54807. /**
  54808. * Returns the value associated to the given token from the NodeInjectors => ModuleInjector.
  54809. *
  54810. * Look for the injector providing the token by walking up the node injector tree and then
  54811. * the module injector tree.
  54812. *
  54813. * This function patches `token` with `__NG_ELEMENT_ID__` which contains the id for the bloom
  54814. * filter. `-1` is reserved for injecting `Injector` (implemented by `NodeInjector`)
  54815. *
  54816. * @param tNode The Node where the search for the injector should start
  54817. * @param lView The `LView` that contains the `tNode`
  54818. * @param token The token to look for
  54819. * @param flags Injection flags
  54820. * @param notFoundValue The value to return when the injection flags is `InjectFlags.Optional`
  54821. * @returns the value from the injector, `null` when not found, or `notFoundValue` if provided
  54822. */
  54823. function getOrCreateInjectable(tNode, lView, token, flags = InjectFlags.Default, notFoundValue) {
  54824. if (tNode !== null) {
  54825. // If the view or any of its ancestors have an embedded
  54826. // view injector, we have to look it up there first.
  54827. if (lView[FLAGS] & 1024
  54828. /* LViewFlags.HasEmbeddedViewInjector */
  54829. ) {
  54830. const embeddedInjectorValue = lookupTokenUsingEmbeddedInjector(tNode, lView, token, flags, NOT_FOUND);
  54831. if (embeddedInjectorValue !== NOT_FOUND) {
  54832. return embeddedInjectorValue;
  54833. }
  54834. } // Otherwise try the node injector.
  54835. const value = lookupTokenUsingNodeInjector(tNode, lView, token, flags, NOT_FOUND);
  54836. if (value !== NOT_FOUND) {
  54837. return value;
  54838. }
  54839. } // Finally, fall back to the module injector.
  54840. return lookupTokenUsingModuleInjector(lView, token, flags, notFoundValue);
  54841. }
  54842. /**
  54843. * Returns the value associated to the given token from the node injector.
  54844. *
  54845. * @param tNode The Node where the search for the injector should start
  54846. * @param lView The `LView` that contains the `tNode`
  54847. * @param token The token to look for
  54848. * @param flags Injection flags
  54849. * @param notFoundValue The value to return when the injection flags is `InjectFlags.Optional`
  54850. * @returns the value from the injector, `null` when not found, or `notFoundValue` if provided
  54851. */
  54852. function lookupTokenUsingNodeInjector(tNode, lView, token, flags, notFoundValue) {
  54853. const bloomHash = bloomHashBitOrFactory(token); // If the ID stored here is a function, this is a special object like ElementRef or TemplateRef
  54854. // so just call the factory function to create it.
  54855. if (typeof bloomHash === 'function') {
  54856. if (!enterDI(lView, tNode, flags)) {
  54857. // Failed to enter DI, try module injector instead. If a token is injected with the @Host
  54858. // flag, the module injector is not searched for that token in Ivy.
  54859. return flags & InjectFlags.Host ? notFoundValueOrThrow(notFoundValue, token, flags) : lookupTokenUsingModuleInjector(lView, token, flags, notFoundValue);
  54860. }
  54861. try {
  54862. const value = bloomHash(flags);
  54863. if (value == null && !(flags & InjectFlags.Optional)) {
  54864. throwProviderNotFoundError(token);
  54865. } else {
  54866. return value;
  54867. }
  54868. } finally {
  54869. leaveDI();
  54870. }
  54871. } else if (typeof bloomHash === 'number') {
  54872. // A reference to the previous injector TView that was found while climbing the element
  54873. // injector tree. This is used to know if viewProviders can be accessed on the current
  54874. // injector.
  54875. let previousTView = null;
  54876. let injectorIndex = getInjectorIndex(tNode, lView);
  54877. let parentLocation = NO_PARENT_INJECTOR;
  54878. let hostTElementNode = flags & InjectFlags.Host ? lView[DECLARATION_COMPONENT_VIEW][T_HOST] : null; // If we should skip this injector, or if there is no injector on this node, start by
  54879. // searching the parent injector.
  54880. if (injectorIndex === -1 || flags & InjectFlags.SkipSelf) {
  54881. parentLocation = injectorIndex === -1 ? getParentInjectorLocation(tNode, lView) : lView[injectorIndex + 8
  54882. /* NodeInjectorOffset.PARENT */
  54883. ];
  54884. if (parentLocation === NO_PARENT_INJECTOR || !shouldSearchParent(flags, false)) {
  54885. injectorIndex = -1;
  54886. } else {
  54887. previousTView = lView[TVIEW];
  54888. injectorIndex = getParentInjectorIndex(parentLocation);
  54889. lView = getParentInjectorView(parentLocation, lView);
  54890. }
  54891. } // Traverse up the injector tree until we find a potential match or until we know there
  54892. // *isn't* a match.
  54893. while (injectorIndex !== -1) {
  54894. ngDevMode && assertNodeInjector(lView, injectorIndex); // Check the current injector. If it matches, see if it contains token.
  54895. const tView = lView[TVIEW];
  54896. ngDevMode && assertTNodeForLView(tView.data[injectorIndex + 8
  54897. /* NodeInjectorOffset.TNODE */
  54898. ], lView);
  54899. if (bloomHasToken(bloomHash, injectorIndex, tView.data)) {
  54900. // At this point, we have an injector which *may* contain the token, so we step through
  54901. // the providers and directives associated with the injector's corresponding node to get
  54902. // the instance.
  54903. const instance = searchTokensOnInjector(injectorIndex, lView, token, previousTView, flags, hostTElementNode);
  54904. if (instance !== NOT_FOUND) {
  54905. return instance;
  54906. }
  54907. }
  54908. parentLocation = lView[injectorIndex + 8
  54909. /* NodeInjectorOffset.PARENT */
  54910. ];
  54911. if (parentLocation !== NO_PARENT_INJECTOR && shouldSearchParent(flags, lView[TVIEW].data[injectorIndex + 8
  54912. /* NodeInjectorOffset.TNODE */
  54913. ] === hostTElementNode) && bloomHasToken(bloomHash, injectorIndex, lView)) {
  54914. // The def wasn't found anywhere on this node, so it was a false positive.
  54915. // Traverse up the tree and continue searching.
  54916. previousTView = tView;
  54917. injectorIndex = getParentInjectorIndex(parentLocation);
  54918. lView = getParentInjectorView(parentLocation, lView);
  54919. } else {
  54920. // If we should not search parent OR If the ancestor bloom filter value does not have the
  54921. // bit corresponding to the directive we can give up on traversing up to find the specific
  54922. // injector.
  54923. injectorIndex = -1;
  54924. }
  54925. }
  54926. }
  54927. return notFoundValue;
  54928. }
  54929. function searchTokensOnInjector(injectorIndex, lView, token, previousTView, flags, hostTElementNode) {
  54930. const currentTView = lView[TVIEW];
  54931. const tNode = currentTView.data[injectorIndex + 8
  54932. /* NodeInjectorOffset.TNODE */
  54933. ]; // First, we need to determine if view providers can be accessed by the starting element.
  54934. // There are two possibilities
  54935. const canAccessViewProviders = previousTView == null ? // 1) This is the first invocation `previousTView == null` which means that we are at the
  54936. // `TNode` of where injector is starting to look. In such a case the only time we are allowed
  54937. // to look into the ViewProviders is if:
  54938. // - we are on a component
  54939. // - AND the injector set `includeViewProviders` to true (implying that the token can see
  54940. // ViewProviders because it is the Component or a Service which itself was declared in
  54941. // ViewProviders)
  54942. isComponentHost(tNode) && includeViewProviders : // 2) `previousTView != null` which means that we are now walking across the parent nodes.
  54943. // In such a case we are only allowed to look into the ViewProviders if:
  54944. // - We just crossed from child View to Parent View `previousTView != currentTView`
  54945. // - AND the parent TNode is an Element.
  54946. // This means that we just came from the Component's View and therefore are allowed to see
  54947. // into the ViewProviders.
  54948. previousTView != currentTView && (tNode.type & 3
  54949. /* TNodeType.AnyRNode */
  54950. ) !== 0; // This special case happens when there is a @host on the inject and when we are searching
  54951. // on the host element node.
  54952. const isHostSpecialCase = flags & InjectFlags.Host && hostTElementNode === tNode;
  54953. const injectableIdx = locateDirectiveOrProvider(tNode, currentTView, token, canAccessViewProviders, isHostSpecialCase);
  54954. if (injectableIdx !== null) {
  54955. return getNodeInjectable(lView, currentTView, injectableIdx, tNode);
  54956. } else {
  54957. return NOT_FOUND;
  54958. }
  54959. }
  54960. /**
  54961. * Searches for the given token among the node's directives and providers.
  54962. *
  54963. * @param tNode TNode on which directives are present.
  54964. * @param tView The tView we are currently processing
  54965. * @param token Provider token or type of a directive to look for.
  54966. * @param canAccessViewProviders Whether view providers should be considered.
  54967. * @param isHostSpecialCase Whether the host special case applies.
  54968. * @returns Index of a found directive or provider, or null when none found.
  54969. */
  54970. function locateDirectiveOrProvider(tNode, tView, token, canAccessViewProviders, isHostSpecialCase) {
  54971. const nodeProviderIndexes = tNode.providerIndexes;
  54972. const tInjectables = tView.data;
  54973. const injectablesStart = nodeProviderIndexes & 1048575
  54974. /* TNodeProviderIndexes.ProvidersStartIndexMask */
  54975. ;
  54976. const directivesStart = tNode.directiveStart;
  54977. const directiveEnd = tNode.directiveEnd;
  54978. const cptViewProvidersCount = nodeProviderIndexes >> 20
  54979. /* TNodeProviderIndexes.CptViewProvidersCountShift */
  54980. ;
  54981. const startingIndex = canAccessViewProviders ? injectablesStart : injectablesStart + cptViewProvidersCount; // When the host special case applies, only the viewProviders and the component are visible
  54982. const endIndex = isHostSpecialCase ? injectablesStart + cptViewProvidersCount : directiveEnd;
  54983. for (let i = startingIndex; i < endIndex; i++) {
  54984. const providerTokenOrDef = tInjectables[i];
  54985. if (i < directivesStart && token === providerTokenOrDef || i >= directivesStart && providerTokenOrDef.type === token) {
  54986. return i;
  54987. }
  54988. }
  54989. if (isHostSpecialCase) {
  54990. const dirDef = tInjectables[directivesStart];
  54991. if (dirDef && isComponentDef(dirDef) && dirDef.type === token) {
  54992. return directivesStart;
  54993. }
  54994. }
  54995. return null;
  54996. }
  54997. /**
  54998. * Retrieve or instantiate the injectable from the `LView` at particular `index`.
  54999. *
  55000. * This function checks to see if the value has already been instantiated and if so returns the
  55001. * cached `injectable`. Otherwise if it detects that the value is still a factory it
  55002. * instantiates the `injectable` and caches the value.
  55003. */
  55004. function getNodeInjectable(lView, tView, index, tNode) {
  55005. let value = lView[index];
  55006. const tData = tView.data;
  55007. if (isFactory(value)) {
  55008. const factory = value;
  55009. if (factory.resolving) {
  55010. throwCyclicDependencyError(stringifyForError(tData[index]));
  55011. }
  55012. const previousIncludeViewProviders = setIncludeViewProviders(factory.canSeeViewProviders);
  55013. factory.resolving = true;
  55014. const previousInjectImplementation = factory.injectImpl ? setInjectImplementation(factory.injectImpl) : null;
  55015. const success = enterDI(lView, tNode, InjectFlags.Default);
  55016. ngDevMode && assertEqual(success, true, 'Because flags do not contain \`SkipSelf\' we expect this to always succeed.');
  55017. try {
  55018. value = lView[index] = factory.factory(undefined, tData, lView, tNode); // This code path is hit for both directives and providers.
  55019. // For perf reasons, we want to avoid searching for hooks on providers.
  55020. // It does no harm to try (the hooks just won't exist), but the extra
  55021. // checks are unnecessary and this is a hot path. So we check to see
  55022. // if the index of the dependency is in the directive range for this
  55023. // tNode. If it's not, we know it's a provider and skip hook registration.
  55024. if (tView.firstCreatePass && index >= tNode.directiveStart) {
  55025. ngDevMode && assertDirectiveDef(tData[index]);
  55026. registerPreOrderHooks(index, tData[index], tView);
  55027. }
  55028. } finally {
  55029. previousInjectImplementation !== null && setInjectImplementation(previousInjectImplementation);
  55030. setIncludeViewProviders(previousIncludeViewProviders);
  55031. factory.resolving = false;
  55032. leaveDI();
  55033. }
  55034. }
  55035. return value;
  55036. }
  55037. /**
  55038. * Returns the bit in an injector's bloom filter that should be used to determine whether or not
  55039. * the directive might be provided by the injector.
  55040. *
  55041. * When a directive is public, it is added to the bloom filter and given a unique ID that can be
  55042. * retrieved on the Type. When the directive isn't public or the token is not a directive `null`
  55043. * is returned as the node injector can not possibly provide that token.
  55044. *
  55045. * @param token the injection token
  55046. * @returns the matching bit to check in the bloom filter or `null` if the token is not known.
  55047. * When the returned value is negative then it represents special values such as `Injector`.
  55048. */
  55049. function bloomHashBitOrFactory(token) {
  55050. ngDevMode && assertDefined(token, 'token must be defined');
  55051. if (typeof token === 'string') {
  55052. return token.charCodeAt(0) || 0;
  55053. }
  55054. const tokenId = // First check with `hasOwnProperty` so we don't get an inherited ID.
  55055. token.hasOwnProperty(NG_ELEMENT_ID) ? token[NG_ELEMENT_ID] : undefined; // Negative token IDs are used for special objects such as `Injector`
  55056. if (typeof tokenId === 'number') {
  55057. if (tokenId >= 0) {
  55058. return tokenId & BLOOM_MASK;
  55059. } else {
  55060. ngDevMode && assertEqual(tokenId, -1
  55061. /* InjectorMarkers.Injector */
  55062. , 'Expecting to get Special Injector Id');
  55063. return createNodeInjector;
  55064. }
  55065. } else {
  55066. return tokenId;
  55067. }
  55068. }
  55069. function bloomHasToken(bloomHash, injectorIndex, injectorView) {
  55070. // Create a mask that targets the specific bit associated with the directive we're looking for.
  55071. // JS bit operations are 32 bits, so this will be a number between 2^0 and 2^31, corresponding
  55072. // to bit positions 0 - 31 in a 32 bit integer.
  55073. const mask = 1 << bloomHash; // Each bloom bucket in `injectorView` represents `BLOOM_BUCKET_BITS` number of bits of
  55074. // `bloomHash`. Any bits in `bloomHash` beyond `BLOOM_BUCKET_BITS` indicate the bucket offset
  55075. // that should be used.
  55076. const value = injectorView[injectorIndex + (bloomHash >> BLOOM_BUCKET_BITS)]; // If the bloom filter value has the bit corresponding to the directive's bloomBit flipped on,
  55077. // this injector is a potential match.
  55078. return !!(value & mask);
  55079. }
  55080. /** Returns true if flags prevent parent injector from being searched for tokens */
  55081. function shouldSearchParent(flags, isFirstHostTNode) {
  55082. return !(flags & InjectFlags.Self) && !(flags & InjectFlags.Host && isFirstHostTNode);
  55083. }
  55084. class NodeInjector {
  55085. constructor(_tNode, _lView) {
  55086. this._tNode = _tNode;
  55087. this._lView = _lView;
  55088. }
  55089. get(token, notFoundValue, flags) {
  55090. return getOrCreateInjectable(this._tNode, this._lView, token, flags, notFoundValue);
  55091. }
  55092. }
  55093. /** Creates a `NodeInjector` for the current node. */
  55094. function createNodeInjector() {
  55095. return new NodeInjector(getCurrentTNode(), getLView());
  55096. }
  55097. /**
  55098. * @codeGenApi
  55099. */
  55100. function ɵɵgetInheritedFactory(type) {
  55101. return noSideEffects(() => {
  55102. const ownConstructor = type.prototype.constructor;
  55103. const ownFactory = ownConstructor[NG_FACTORY_DEF] || getFactoryOf(ownConstructor);
  55104. const objectPrototype = Object.prototype;
  55105. let parent = Object.getPrototypeOf(type.prototype).constructor; // Go up the prototype until we hit `Object`.
  55106. while (parent && parent !== objectPrototype) {
  55107. const factory = parent[NG_FACTORY_DEF] || getFactoryOf(parent); // If we hit something that has a factory and the factory isn't the same as the type,
  55108. // we've found the inherited factory. Note the check that the factory isn't the type's
  55109. // own factory is redundant in most cases, but if the user has custom decorators on the
  55110. // class, this lookup will start one level down in the prototype chain, causing us to
  55111. // find the own factory first and potentially triggering an infinite loop downstream.
  55112. if (factory && factory !== ownFactory) {
  55113. return factory;
  55114. }
  55115. parent = Object.getPrototypeOf(parent);
  55116. } // There is no factory defined. Either this was improper usage of inheritance
  55117. // (no Angular decorator on the superclass) or there is no constructor at all
  55118. // in the inheritance chain. Since the two cases cannot be distinguished, the
  55119. // latter has to be assumed.
  55120. return t => new t();
  55121. });
  55122. }
  55123. function getFactoryOf(type) {
  55124. if (isForwardRef(type)) {
  55125. return () => {
  55126. const factory = getFactoryOf(resolveForwardRef(type));
  55127. return factory && factory();
  55128. };
  55129. }
  55130. return getFactoryDef(type);
  55131. }
  55132. /**
  55133. * Returns a value from the closest embedded or node injector.
  55134. *
  55135. * @param tNode The Node where the search for the injector should start
  55136. * @param lView The `LView` that contains the `tNode`
  55137. * @param token The token to look for
  55138. * @param flags Injection flags
  55139. * @param notFoundValue The value to return when the injection flags is `InjectFlags.Optional`
  55140. * @returns the value from the injector, `null` when not found, or `notFoundValue` if provided
  55141. */
  55142. function lookupTokenUsingEmbeddedInjector(tNode, lView, token, flags, notFoundValue) {
  55143. let currentTNode = tNode;
  55144. let currentLView = lView; // When an LView with an embedded view injector is inserted, it'll likely be interlaced with
  55145. // nodes who may have injectors (e.g. node injector -> embedded view injector -> node injector).
  55146. // Since the bloom filters for the node injectors have already been constructed and we don't
  55147. // have a way of extracting the records from an injector, the only way to maintain the correct
  55148. // hierarchy when resolving the value is to walk it node-by-node while attempting to resolve
  55149. // the token at each level.
  55150. while (currentTNode !== null && currentLView !== null && currentLView[FLAGS] & 1024
  55151. /* LViewFlags.HasEmbeddedViewInjector */
  55152. && !(currentLView[FLAGS] & 256
  55153. /* LViewFlags.IsRoot */
  55154. )) {
  55155. ngDevMode && assertTNodeForLView(currentTNode, currentLView); // Note that this lookup on the node injector is using the `Self` flag, because
  55156. // we don't want the node injector to look at any parent injectors since we
  55157. // may hit the embedded view injector first.
  55158. const nodeInjectorValue = lookupTokenUsingNodeInjector(currentTNode, currentLView, token, flags | InjectFlags.Self, NOT_FOUND);
  55159. if (nodeInjectorValue !== NOT_FOUND) {
  55160. return nodeInjectorValue;
  55161. } // Has an explicit type due to a TS bug: https://github.com/microsoft/TypeScript/issues/33191
  55162. let parentTNode = currentTNode.parent; // `TNode.parent` includes the parent within the current view only. If it doesn't exist,
  55163. // it means that we've hit the view boundary and we need to go up to the next view.
  55164. if (!parentTNode) {
  55165. // Before we go to the next LView, check if the token exists on the current embedded injector.
  55166. const embeddedViewInjector = currentLView[EMBEDDED_VIEW_INJECTOR];
  55167. if (embeddedViewInjector) {
  55168. const embeddedViewInjectorValue = embeddedViewInjector.get(token, NOT_FOUND, flags);
  55169. if (embeddedViewInjectorValue !== NOT_FOUND) {
  55170. return embeddedViewInjectorValue;
  55171. }
  55172. } // Otherwise keep going up the tree.
  55173. parentTNode = getTNodeFromLView(currentLView);
  55174. currentLView = currentLView[DECLARATION_VIEW];
  55175. }
  55176. currentTNode = parentTNode;
  55177. }
  55178. return notFoundValue;
  55179. }
  55180. /** Gets the TNode associated with an LView inside of the declaration view. */
  55181. function getTNodeFromLView(lView) {
  55182. const tView = lView[TVIEW];
  55183. const tViewType = tView.type; // The parent pointer differs based on `TView.type`.
  55184. if (tViewType === 2
  55185. /* TViewType.Embedded */
  55186. ) {
  55187. ngDevMode && assertDefined(tView.declTNode, 'Embedded TNodes should have declaration parents.');
  55188. return tView.declTNode;
  55189. } else if (tViewType === 1
  55190. /* TViewType.Component */
  55191. ) {
  55192. // Components don't have `TView.declTNode` because each instance of component could be
  55193. // inserted in different location, hence `TView.declTNode` is meaningless.
  55194. return lView[T_HOST];
  55195. }
  55196. return null;
  55197. }
  55198. /**
  55199. * @license
  55200. * Copyright Google LLC All Rights Reserved.
  55201. *
  55202. * Use of this source code is governed by an MIT-style license that can be
  55203. * found in the LICENSE file at https://angular.io/license
  55204. */
  55205. /**
  55206. * Facade for the attribute injection from DI.
  55207. *
  55208. * @codeGenApi
  55209. */
  55210. function ɵɵinjectAttribute(attrNameToInject) {
  55211. return injectAttributeImpl(getCurrentTNode(), attrNameToInject);
  55212. }
  55213. /**
  55214. * @license
  55215. * Copyright Google LLC All Rights Reserved.
  55216. *
  55217. * Use of this source code is governed by an MIT-style license that can be
  55218. * found in the LICENSE file at https://angular.io/license
  55219. */
  55220. const ANNOTATIONS = '__annotations__';
  55221. const PARAMETERS = '__parameters__';
  55222. const PROP_METADATA = '__prop__metadata__';
  55223. /**
  55224. * @suppress {globalThis}
  55225. */
  55226. function makeDecorator(name, props, parentClass, additionalProcessing, typeFn) {
  55227. return noSideEffects(() => {
  55228. const metaCtor = makeMetadataCtor(props);
  55229. function DecoratorFactory(...args) {
  55230. if (this instanceof DecoratorFactory) {
  55231. metaCtor.call(this, ...args);
  55232. return this;
  55233. }
  55234. const annotationInstance = new DecoratorFactory(...args);
  55235. return function TypeDecorator(cls) {
  55236. if (typeFn) typeFn(cls, ...args); // Use of Object.defineProperty is important since it creates non-enumerable property which
  55237. // prevents the property is copied during subclassing.
  55238. const annotations = cls.hasOwnProperty(ANNOTATIONS) ? cls[ANNOTATIONS] : Object.defineProperty(cls, ANNOTATIONS, {
  55239. value: []
  55240. })[ANNOTATIONS];
  55241. annotations.push(annotationInstance);
  55242. if (additionalProcessing) additionalProcessing(cls);
  55243. return cls;
  55244. };
  55245. }
  55246. if (parentClass) {
  55247. DecoratorFactory.prototype = Object.create(parentClass.prototype);
  55248. }
  55249. DecoratorFactory.prototype.ngMetadataName = name;
  55250. DecoratorFactory.annotationCls = DecoratorFactory;
  55251. return DecoratorFactory;
  55252. });
  55253. }
  55254. function makeMetadataCtor(props) {
  55255. return function ctor(...args) {
  55256. if (props) {
  55257. const values = props(...args);
  55258. for (const propName in values) {
  55259. this[propName] = values[propName];
  55260. }
  55261. }
  55262. };
  55263. }
  55264. function makeParamDecorator(name, props, parentClass) {
  55265. return noSideEffects(() => {
  55266. const metaCtor = makeMetadataCtor(props);
  55267. function ParamDecoratorFactory(...args) {
  55268. if (this instanceof ParamDecoratorFactory) {
  55269. metaCtor.apply(this, args);
  55270. return this;
  55271. }
  55272. const annotationInstance = new ParamDecoratorFactory(...args);
  55273. ParamDecorator.annotation = annotationInstance;
  55274. return ParamDecorator;
  55275. function ParamDecorator(cls, unusedKey, index) {
  55276. // Use of Object.defineProperty is important since it creates non-enumerable property which
  55277. // prevents the property is copied during subclassing.
  55278. const parameters = cls.hasOwnProperty(PARAMETERS) ? cls[PARAMETERS] : Object.defineProperty(cls, PARAMETERS, {
  55279. value: []
  55280. })[PARAMETERS]; // there might be gaps if some in between parameters do not have annotations.
  55281. // we pad with nulls.
  55282. while (parameters.length <= index) {
  55283. parameters.push(null);
  55284. }
  55285. (parameters[index] = parameters[index] || []).push(annotationInstance);
  55286. return cls;
  55287. }
  55288. }
  55289. if (parentClass) {
  55290. ParamDecoratorFactory.prototype = Object.create(parentClass.prototype);
  55291. }
  55292. ParamDecoratorFactory.prototype.ngMetadataName = name;
  55293. ParamDecoratorFactory.annotationCls = ParamDecoratorFactory;
  55294. return ParamDecoratorFactory;
  55295. });
  55296. }
  55297. function makePropDecorator(name, props, parentClass, additionalProcessing) {
  55298. return noSideEffects(() => {
  55299. const metaCtor = makeMetadataCtor(props);
  55300. function PropDecoratorFactory(...args) {
  55301. if (this instanceof PropDecoratorFactory) {
  55302. metaCtor.apply(this, args);
  55303. return this;
  55304. }
  55305. const decoratorInstance = new PropDecoratorFactory(...args);
  55306. function PropDecorator(target, name) {
  55307. const constructor = target.constructor; // Use of Object.defineProperty is important because it creates a non-enumerable property
  55308. // which prevents the property from being copied during subclassing.
  55309. const meta = constructor.hasOwnProperty(PROP_METADATA) ? constructor[PROP_METADATA] : Object.defineProperty(constructor, PROP_METADATA, {
  55310. value: {}
  55311. })[PROP_METADATA];
  55312. meta[name] = meta.hasOwnProperty(name) && meta[name] || [];
  55313. meta[name].unshift(decoratorInstance);
  55314. if (additionalProcessing) additionalProcessing(target, name, ...args);
  55315. }
  55316. return PropDecorator;
  55317. }
  55318. if (parentClass) {
  55319. PropDecoratorFactory.prototype = Object.create(parentClass.prototype);
  55320. }
  55321. PropDecoratorFactory.prototype.ngMetadataName = name;
  55322. PropDecoratorFactory.annotationCls = PropDecoratorFactory;
  55323. return PropDecoratorFactory;
  55324. });
  55325. }
  55326. /**
  55327. * @license
  55328. * Copyright Google LLC All Rights Reserved.
  55329. *
  55330. * Use of this source code is governed by an MIT-style license that can be
  55331. * found in the LICENSE file at https://angular.io/license
  55332. */
  55333. /**
  55334. * Attribute decorator and metadata.
  55335. *
  55336. * @Annotation
  55337. * @publicApi
  55338. */
  55339. const Attribute = makeParamDecorator('Attribute', attributeName => ({
  55340. attributeName,
  55341. __NG_ELEMENT_ID__: () => ɵɵinjectAttribute(attributeName)
  55342. }));
  55343. /**
  55344. * @license
  55345. * Copyright Google LLC All Rights Reserved.
  55346. *
  55347. * Use of this source code is governed by an MIT-style license that can be
  55348. * found in the LICENSE file at https://angular.io/license
  55349. */
  55350. /**
  55351. * Creates a token that can be used in a DI Provider.
  55352. *
  55353. * Use an `InjectionToken` whenever the type you are injecting is not reified (does not have a
  55354. * runtime representation) such as when injecting an interface, callable type, array or
  55355. * parameterized type.
  55356. *
  55357. * `InjectionToken` is parameterized on `T` which is the type of object which will be returned by
  55358. * the `Injector`. This provides an additional level of type safety.
  55359. *
  55360. * ```
  55361. * interface MyInterface {...}
  55362. * const myInterface = injector.get(new InjectionToken<MyInterface>('SomeToken'));
  55363. * // myInterface is inferred to be MyInterface.
  55364. * ```
  55365. *
  55366. * When creating an `InjectionToken`, you can optionally specify a factory function which returns
  55367. * (possibly by creating) a default value of the parameterized type `T`. This sets up the
  55368. * `InjectionToken` using this factory as a provider as if it was defined explicitly in the
  55369. * application's root injector. If the factory function, which takes zero arguments, needs to inject
  55370. * dependencies, it can do so using the `inject` function.
  55371. * As you can see in the Tree-shakable InjectionToken example below.
  55372. *
  55373. * Additionally, if a `factory` is specified you can also specify the `providedIn` option, which
  55374. * overrides the above behavior and marks the token as belonging to a particular `@NgModule`. As
  55375. * mentioned above, `'root'` is the default value for `providedIn`.
  55376. *
  55377. * @usageNotes
  55378. * ### Basic Examples
  55379. *
  55380. * ### Plain InjectionToken
  55381. *
  55382. * {@example core/di/ts/injector_spec.ts region='InjectionToken'}
  55383. *
  55384. * ### Tree-shakable InjectionToken
  55385. *
  55386. * {@example core/di/ts/injector_spec.ts region='ShakableInjectionToken'}
  55387. *
  55388. *
  55389. * @publicApi
  55390. */
  55391. class InjectionToken {
  55392. /**
  55393. * @param _desc Description for the token,
  55394. * used only for debugging purposes,
  55395. * it should but does not need to be unique
  55396. * @param options Options for the token's usage, as described above
  55397. */
  55398. constructor(_desc, options) {
  55399. this._desc = _desc;
  55400. /** @internal */
  55401. this.ngMetadataName = 'InjectionToken';
  55402. this.ɵprov = undefined;
  55403. if (typeof options == 'number') {
  55404. (typeof ngDevMode === 'undefined' || ngDevMode) && assertLessThan(options, 0, 'Only negative numbers are supported here'); // This is a special hack to assign __NG_ELEMENT_ID__ to this instance.
  55405. // See `InjectorMarkers`
  55406. this.__NG_ELEMENT_ID__ = options;
  55407. } else if (options !== undefined) {
  55408. this.ɵprov = ɵɵdefineInjectable({
  55409. token: this,
  55410. providedIn: options.providedIn || 'root',
  55411. factory: options.factory
  55412. });
  55413. }
  55414. }
  55415. /**
  55416. * @internal
  55417. */
  55418. get multi() {
  55419. return this;
  55420. }
  55421. toString() {
  55422. return `InjectionToken ${this._desc}`;
  55423. }
  55424. }
  55425. /**
  55426. * @license
  55427. * Copyright Google LLC All Rights Reserved.
  55428. *
  55429. * Use of this source code is governed by an MIT-style license that can be
  55430. * found in the LICENSE file at https://angular.io/license
  55431. */
  55432. /**
  55433. * A DI token that you can use to create a virtual [provider](guide/glossary#provider)
  55434. * that will populate the `entryComponents` field of components and NgModules
  55435. * based on its `useValue` property value.
  55436. * All components that are referenced in the `useValue` value (either directly
  55437. * or in a nested array or map) are added to the `entryComponents` property.
  55438. *
  55439. * @usageNotes
  55440. *
  55441. * The following example shows how the router can populate the `entryComponents`
  55442. * field of an NgModule based on a router configuration that refers
  55443. * to components.
  55444. *
  55445. * ```typescript
  55446. * // helper function inside the router
  55447. * function provideRoutes(routes) {
  55448. * return [
  55449. * {provide: ROUTES, useValue: routes},
  55450. * {provide: ANALYZE_FOR_ENTRY_COMPONENTS, useValue: routes, multi: true}
  55451. * ];
  55452. * }
  55453. *
  55454. * // user code
  55455. * let routes = [
  55456. * {path: '/root', component: RootComp},
  55457. * {path: '/teams', component: TeamsComp}
  55458. * ];
  55459. *
  55460. * @NgModule({
  55461. * providers: [provideRoutes(routes)]
  55462. * })
  55463. * class ModuleWithRoutes {}
  55464. * ```
  55465. *
  55466. * @publicApi
  55467. * @deprecated Since 9.0.0. With Ivy, this property is no longer necessary.
  55468. */
  55469. const ANALYZE_FOR_ENTRY_COMPONENTS = new InjectionToken('AnalyzeForEntryComponents'); // Stores the default value of `emitDistinctChangesOnly` when the `emitDistinctChangesOnly` is not
  55470. // explicitly set.
  55471. const emitDistinctChangesOnlyDefaultValue = true;
  55472. /**
  55473. * Base class for query metadata.
  55474. *
  55475. * @see `ContentChildren`.
  55476. * @see `ContentChild`.
  55477. * @see `ViewChildren`.
  55478. * @see `ViewChild`.
  55479. *
  55480. * @publicApi
  55481. */
  55482. class Query {}
  55483. /**
  55484. * ContentChildren decorator and metadata.
  55485. *
  55486. *
  55487. * @Annotation
  55488. * @publicApi
  55489. */
  55490. const ContentChildren = makePropDecorator('ContentChildren', (selector, data = {}) => Object.assign({
  55491. selector,
  55492. first: false,
  55493. isViewQuery: false,
  55494. descendants: false,
  55495. emitDistinctChangesOnly: emitDistinctChangesOnlyDefaultValue
  55496. }, data), Query);
  55497. /**
  55498. * ContentChild decorator and metadata.
  55499. *
  55500. *
  55501. * @Annotation
  55502. *
  55503. * @publicApi
  55504. */
  55505. const ContentChild = makePropDecorator('ContentChild', (selector, data = {}) => Object.assign({
  55506. selector,
  55507. first: true,
  55508. isViewQuery: false,
  55509. descendants: true
  55510. }, data), Query);
  55511. /**
  55512. * ViewChildren decorator and metadata.
  55513. *
  55514. * @Annotation
  55515. * @publicApi
  55516. */
  55517. const ViewChildren = makePropDecorator('ViewChildren', (selector, data = {}) => Object.assign({
  55518. selector,
  55519. first: false,
  55520. isViewQuery: true,
  55521. descendants: true,
  55522. emitDistinctChangesOnly: emitDistinctChangesOnlyDefaultValue
  55523. }, data), Query);
  55524. /**
  55525. * ViewChild decorator and metadata.
  55526. *
  55527. * @Annotation
  55528. * @publicApi
  55529. */
  55530. const ViewChild = makePropDecorator('ViewChild', (selector, data) => Object.assign({
  55531. selector,
  55532. first: true,
  55533. isViewQuery: true,
  55534. descendants: true
  55535. }, data), Query);
  55536. /**
  55537. * @license
  55538. * Copyright Google LLC All Rights Reserved.
  55539. *
  55540. * Use of this source code is governed by an MIT-style license that can be
  55541. * found in the LICENSE file at https://angular.io/license
  55542. */
  55543. var FactoryTarget;
  55544. (function (FactoryTarget) {
  55545. FactoryTarget[FactoryTarget["Directive"] = 0] = "Directive";
  55546. FactoryTarget[FactoryTarget["Component"] = 1] = "Component";
  55547. FactoryTarget[FactoryTarget["Injectable"] = 2] = "Injectable";
  55548. FactoryTarget[FactoryTarget["Pipe"] = 3] = "Pipe";
  55549. FactoryTarget[FactoryTarget["NgModule"] = 4] = "NgModule";
  55550. })(FactoryTarget || (FactoryTarget = {}));
  55551. var R3TemplateDependencyKind;
  55552. (function (R3TemplateDependencyKind) {
  55553. R3TemplateDependencyKind[R3TemplateDependencyKind["Directive"] = 0] = "Directive";
  55554. R3TemplateDependencyKind[R3TemplateDependencyKind["Pipe"] = 1] = "Pipe";
  55555. R3TemplateDependencyKind[R3TemplateDependencyKind["NgModule"] = 2] = "NgModule";
  55556. })(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
  55557. var ViewEncapsulation;
  55558. (function (ViewEncapsulation) {
  55559. ViewEncapsulation[ViewEncapsulation["Emulated"] = 0] = "Emulated"; // Historically the 1 value was for `Native` encapsulation which has been removed as of v11.
  55560. ViewEncapsulation[ViewEncapsulation["None"] = 2] = "None";
  55561. ViewEncapsulation[ViewEncapsulation["ShadowDom"] = 3] = "ShadowDom";
  55562. })(ViewEncapsulation || (ViewEncapsulation = {}));
  55563. /**
  55564. * @license
  55565. * Copyright Google LLC All Rights Reserved.
  55566. *
  55567. * Use of this source code is governed by an MIT-style license that can be
  55568. * found in the LICENSE file at https://angular.io/license
  55569. */
  55570. function getCompilerFacade(request) {
  55571. const globalNg = _global['ng'];
  55572. if (globalNg && globalNg.ɵcompilerFacade) {
  55573. return globalNg.ɵcompilerFacade;
  55574. }
  55575. if (typeof ngDevMode === 'undefined' || ngDevMode) {
  55576. // Log the type as an error so that a developer can easily navigate to the type from the
  55577. // console.
  55578. console.error(`JIT compilation failed for ${request.kind}`, request.type);
  55579. let message = `The ${request.kind} '${request.type.name}' needs to be compiled using the JIT compiler, but '@angular/compiler' is not available.\n\n`;
  55580. if (request.usage === 1
  55581. /* JitCompilerUsage.PartialDeclaration */
  55582. ) {
  55583. message += `The ${request.kind} is part of a library that has been partially compiled.\n`;
  55584. message += `However, the Angular Linker has not processed the library such that JIT compilation is used as fallback.\n`;
  55585. message += '\n';
  55586. message += `Ideally, the library is processed using the Angular Linker to become fully AOT compiled.\n`;
  55587. } else {
  55588. message += `JIT compilation is discouraged for production use-cases! Consider using AOT mode instead.\n`;
  55589. }
  55590. message += `Alternatively, the JIT compiler should be loaded by bootstrapping using '@angular/platform-browser-dynamic' or '@angular/platform-server',\n`;
  55591. message += `or manually provide the compiler with 'import "@angular/compiler";' before bootstrapping.`;
  55592. throw new Error(message);
  55593. } else {
  55594. throw new Error('JIT compiler unavailable');
  55595. }
  55596. }
  55597. /**
  55598. * @license
  55599. * Copyright Google LLC All Rights Reserved.
  55600. *
  55601. * Use of this source code is governed by an MIT-style license that can be
  55602. * found in the LICENSE file at https://angular.io/license
  55603. */
  55604. /**
  55605. * @description
  55606. *
  55607. * Represents a type that a Component or other object is instances of.
  55608. *
  55609. * An example of a `Type` is `MyCustomComponent` class, which in JavaScript is represented by
  55610. * the `MyCustomComponent` constructor function.
  55611. *
  55612. * @publicApi
  55613. */
  55614. const Type = Function;
  55615. function isType(v) {
  55616. return typeof v === 'function';
  55617. }
  55618. /**
  55619. * @license
  55620. * Copyright Google LLC All Rights Reserved.
  55621. *
  55622. * Use of this source code is governed by an MIT-style license that can be
  55623. * found in the LICENSE file at https://angular.io/license
  55624. */
  55625. /**
  55626. * Equivalent to ES6 spread, add each item to an array.
  55627. *
  55628. * @param items The items to add
  55629. * @param arr The array to which you want to add the items
  55630. */
  55631. function addAllToArray(items, arr) {
  55632. for (let i = 0; i < items.length; i++) {
  55633. arr.push(items[i]);
  55634. }
  55635. }
  55636. /**
  55637. * Determines if the contents of two arrays is identical
  55638. *
  55639. * @param a first array
  55640. * @param b second array
  55641. * @param identityAccessor Optional function for extracting stable object identity from a value in
  55642. * the array.
  55643. */
  55644. function arrayEquals(a, b, identityAccessor) {
  55645. if (a.length !== b.length) return false;
  55646. for (let i = 0; i < a.length; i++) {
  55647. let valueA = a[i];
  55648. let valueB = b[i];
  55649. if (identityAccessor) {
  55650. valueA = identityAccessor(valueA);
  55651. valueB = identityAccessor(valueB);
  55652. }
  55653. if (valueB !== valueA) {
  55654. return false;
  55655. }
  55656. }
  55657. return true;
  55658. }
  55659. /**
  55660. * Flattens an array.
  55661. */
  55662. function flatten(list, dst) {
  55663. if (dst === undefined) dst = list;
  55664. for (let i = 0; i < list.length; i++) {
  55665. let item = list[i];
  55666. if (Array.isArray(item)) {
  55667. // we need to inline it.
  55668. if (dst === list) {
  55669. // Our assumption that the list was already flat was wrong and
  55670. // we need to clone flat since we need to write to it.
  55671. dst = list.slice(0, i);
  55672. }
  55673. flatten(item, dst);
  55674. } else if (dst !== list) {
  55675. dst.push(item);
  55676. }
  55677. }
  55678. return dst;
  55679. }
  55680. function deepForEach(input, fn) {
  55681. input.forEach(value => Array.isArray(value) ? deepForEach(value, fn) : fn(value));
  55682. }
  55683. function addToArray(arr, index, value) {
  55684. // perf: array.push is faster than array.splice!
  55685. if (index >= arr.length) {
  55686. arr.push(value);
  55687. } else {
  55688. arr.splice(index, 0, value);
  55689. }
  55690. }
  55691. function removeFromArray(arr, index) {
  55692. // perf: array.pop is faster than array.splice!
  55693. if (index >= arr.length - 1) {
  55694. return arr.pop();
  55695. } else {
  55696. return arr.splice(index, 1)[0];
  55697. }
  55698. }
  55699. function newArray(size, value) {
  55700. const list = [];
  55701. for (let i = 0; i < size; i++) {
  55702. list.push(value);
  55703. }
  55704. return list;
  55705. }
  55706. /**
  55707. * Remove item from array (Same as `Array.splice()` but faster.)
  55708. *
  55709. * `Array.splice()` is not as fast because it has to allocate an array for the elements which were
  55710. * removed. This causes memory pressure and slows down code when most of the time we don't
  55711. * care about the deleted items array.
  55712. *
  55713. * https://jsperf.com/fast-array-splice (About 20x faster)
  55714. *
  55715. * @param array Array to splice
  55716. * @param index Index of element in array to remove.
  55717. * @param count Number of items to remove.
  55718. */
  55719. function arraySplice(array, index, count) {
  55720. const length = array.length - count;
  55721. while (index < length) {
  55722. array[index] = array[index + count];
  55723. index++;
  55724. }
  55725. while (count--) {
  55726. array.pop(); // shrink the array
  55727. }
  55728. }
  55729. /**
  55730. * Same as `Array.splice(index, 0, value)` but faster.
  55731. *
  55732. * `Array.splice()` is not fast because it has to allocate an array for the elements which were
  55733. * removed. This causes memory pressure and slows down code when most of the time we don't
  55734. * care about the deleted items array.
  55735. *
  55736. * @param array Array to splice.
  55737. * @param index Index in array where the `value` should be added.
  55738. * @param value Value to add to array.
  55739. */
  55740. function arrayInsert(array, index, value) {
  55741. ngDevMode && assertLessThanOrEqual(index, array.length, 'Can\'t insert past array end.');
  55742. let end = array.length;
  55743. while (end > index) {
  55744. const previousEnd = end - 1;
  55745. array[end] = array[previousEnd];
  55746. end = previousEnd;
  55747. }
  55748. array[index] = value;
  55749. }
  55750. /**
  55751. * Same as `Array.splice2(index, 0, value1, value2)` but faster.
  55752. *
  55753. * `Array.splice()` is not fast because it has to allocate an array for the elements which were
  55754. * removed. This causes memory pressure and slows down code when most of the time we don't
  55755. * care about the deleted items array.
  55756. *
  55757. * @param array Array to splice.
  55758. * @param index Index in array where the `value` should be added.
  55759. * @param value1 Value to add to array.
  55760. * @param value2 Value to add to array.
  55761. */
  55762. function arrayInsert2(array, index, value1, value2) {
  55763. ngDevMode && assertLessThanOrEqual(index, array.length, 'Can\'t insert past array end.');
  55764. let end = array.length;
  55765. if (end == index) {
  55766. // inserting at the end.
  55767. array.push(value1, value2);
  55768. } else if (end === 1) {
  55769. // corner case when we have less items in array than we have items to insert.
  55770. array.push(value2, array[0]);
  55771. array[0] = value1;
  55772. } else {
  55773. end--;
  55774. array.push(array[end - 1], array[end]);
  55775. while (end > index) {
  55776. const previousEnd = end - 2;
  55777. array[end] = array[previousEnd];
  55778. end--;
  55779. }
  55780. array[index] = value1;
  55781. array[index + 1] = value2;
  55782. }
  55783. }
  55784. /**
  55785. * Insert a `value` into an `array` so that the array remains sorted.
  55786. *
  55787. * NOTE:
  55788. * - Duplicates are not allowed, and are ignored.
  55789. * - This uses binary search algorithm for fast inserts.
  55790. *
  55791. * @param array A sorted array to insert into.
  55792. * @param value The value to insert.
  55793. * @returns index of the inserted value.
  55794. */
  55795. function arrayInsertSorted(array, value) {
  55796. let index = arrayIndexOfSorted(array, value);
  55797. if (index < 0) {
  55798. // if we did not find it insert it.
  55799. index = ~index;
  55800. arrayInsert(array, index, value);
  55801. }
  55802. return index;
  55803. }
  55804. /**
  55805. * Remove `value` from a sorted `array`.
  55806. *
  55807. * NOTE:
  55808. * - This uses binary search algorithm for fast removals.
  55809. *
  55810. * @param array A sorted array to remove from.
  55811. * @param value The value to remove.
  55812. * @returns index of the removed value.
  55813. * - positive index if value found and removed.
  55814. * - negative index if value not found. (`~index` to get the value where it should have been
  55815. * inserted)
  55816. */
  55817. function arrayRemoveSorted(array, value) {
  55818. const index = arrayIndexOfSorted(array, value);
  55819. if (index >= 0) {
  55820. arraySplice(array, index, 1);
  55821. }
  55822. return index;
  55823. }
  55824. /**
  55825. * Get an index of an `value` in a sorted `array`.
  55826. *
  55827. * NOTE:
  55828. * - This uses binary search algorithm for fast removals.
  55829. *
  55830. * @param array A sorted array to binary search.
  55831. * @param value The value to look for.
  55832. * @returns index of the value.
  55833. * - positive index if value found.
  55834. * - negative index if value not found. (`~index` to get the value where it should have been
  55835. * located)
  55836. */
  55837. function arrayIndexOfSorted(array, value) {
  55838. return _arrayIndexOfSorted(array, value, 0);
  55839. }
  55840. /**
  55841. * Set a `value` for a `key`.
  55842. *
  55843. * @param keyValueArray to modify.
  55844. * @param key The key to locate or create.
  55845. * @param value The value to set for a `key`.
  55846. * @returns index (always even) of where the value vas set.
  55847. */
  55848. function keyValueArraySet(keyValueArray, key, value) {
  55849. let index = keyValueArrayIndexOf(keyValueArray, key);
  55850. if (index >= 0) {
  55851. // if we found it set it.
  55852. keyValueArray[index | 1] = value;
  55853. } else {
  55854. index = ~index;
  55855. arrayInsert2(keyValueArray, index, key, value);
  55856. }
  55857. return index;
  55858. }
  55859. /**
  55860. * Retrieve a `value` for a `key` (on `undefined` if not found.)
  55861. *
  55862. * @param keyValueArray to search.
  55863. * @param key The key to locate.
  55864. * @return The `value` stored at the `key` location or `undefined if not found.
  55865. */
  55866. function keyValueArrayGet(keyValueArray, key) {
  55867. const index = keyValueArrayIndexOf(keyValueArray, key);
  55868. if (index >= 0) {
  55869. // if we found it retrieve it.
  55870. return keyValueArray[index | 1];
  55871. }
  55872. return undefined;
  55873. }
  55874. /**
  55875. * Retrieve a `key` index value in the array or `-1` if not found.
  55876. *
  55877. * @param keyValueArray to search.
  55878. * @param key The key to locate.
  55879. * @returns index of where the key is (or should have been.)
  55880. * - positive (even) index if key found.
  55881. * - negative index if key not found. (`~index` (even) to get the index where it should have
  55882. * been inserted.)
  55883. */
  55884. function keyValueArrayIndexOf(keyValueArray, key) {
  55885. return _arrayIndexOfSorted(keyValueArray, key, 1);
  55886. }
  55887. /**
  55888. * Delete a `key` (and `value`) from the `KeyValueArray`.
  55889. *
  55890. * @param keyValueArray to modify.
  55891. * @param key The key to locate or delete (if exist).
  55892. * @returns index of where the key was (or should have been.)
  55893. * - positive (even) index if key found and deleted.
  55894. * - negative index if key not found. (`~index` (even) to get the index where it should have
  55895. * been.)
  55896. */
  55897. function keyValueArrayDelete(keyValueArray, key) {
  55898. const index = keyValueArrayIndexOf(keyValueArray, key);
  55899. if (index >= 0) {
  55900. // if we found it remove it.
  55901. arraySplice(keyValueArray, index, 2);
  55902. }
  55903. return index;
  55904. }
  55905. /**
  55906. * INTERNAL: Get an index of an `value` in a sorted `array` by grouping search by `shift`.
  55907. *
  55908. * NOTE:
  55909. * - This uses binary search algorithm for fast removals.
  55910. *
  55911. * @param array A sorted array to binary search.
  55912. * @param value The value to look for.
  55913. * @param shift grouping shift.
  55914. * - `0` means look at every location
  55915. * - `1` means only look at every other (even) location (the odd locations are to be ignored as
  55916. * they are values.)
  55917. * @returns index of the value.
  55918. * - positive index if value found.
  55919. * - negative index if value not found. (`~index` to get the value where it should have been
  55920. * inserted)
  55921. */
  55922. function _arrayIndexOfSorted(array, value, shift) {
  55923. ngDevMode && assertEqual(Array.isArray(array), true, 'Expecting an array');
  55924. let start = 0;
  55925. let end = array.length >> shift;
  55926. while (end !== start) {
  55927. const middle = start + (end - start >> 1); // find the middle.
  55928. const current = array[middle << shift];
  55929. if (value === current) {
  55930. return middle << shift;
  55931. } else if (current > value) {
  55932. end = middle;
  55933. } else {
  55934. start = middle + 1; // We already searched middle so make it non-inclusive by adding 1
  55935. }
  55936. }
  55937. return ~(end << shift);
  55938. }
  55939. /**
  55940. * @license
  55941. * Copyright Google LLC All Rights Reserved.
  55942. *
  55943. * Use of this source code is governed by an MIT-style license that can be
  55944. * found in the LICENSE file at https://angular.io/license
  55945. */
  55946. /*
  55947. * #########################
  55948. * Attention: These Regular expressions have to hold even if the code is minified!
  55949. * ##########################
  55950. */
  55951. /**
  55952. * Regular expression that detects pass-through constructors for ES5 output. This Regex
  55953. * intends to capture the common delegation pattern emitted by TypeScript and Babel. Also
  55954. * it intends to capture the pattern where existing constructors have been downleveled from
  55955. * ES2015 to ES5 using TypeScript w/ downlevel iteration. e.g.
  55956. *
  55957. * ```
  55958. * function MyClass() {
  55959. * var _this = _super.apply(this, arguments) || this;
  55960. * ```
  55961. *
  55962. * downleveled to ES5 with `downlevelIteration` for TypeScript < 4.2:
  55963. * ```
  55964. * function MyClass() {
  55965. * var _this = _super.apply(this, __spread(arguments)) || this;
  55966. * ```
  55967. *
  55968. * or downleveled to ES5 with `downlevelIteration` for TypeScript >= 4.2:
  55969. * ```
  55970. * function MyClass() {
  55971. * var _this = _super.apply(this, __spreadArray([], __read(arguments), false)) || this;
  55972. * ```
  55973. *
  55974. * More details can be found in: https://github.com/angular/angular/issues/38453.
  55975. */
  55976. const ES5_DELEGATE_CTOR = /^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/;
  55977. /** Regular expression that detects ES2015 classes which extend from other classes. */
  55978. const ES2015_INHERITED_CLASS = /^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/;
  55979. /**
  55980. * Regular expression that detects ES2015 classes which extend from other classes and
  55981. * have an explicit constructor defined.
  55982. */
  55983. const ES2015_INHERITED_CLASS_WITH_CTOR = /^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/;
  55984. /**
  55985. * Regular expression that detects ES2015 classes which extend from other classes
  55986. * and inherit a constructor.
  55987. */
  55988. const ES2015_INHERITED_CLASS_WITH_DELEGATE_CTOR = /^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;
  55989. /**
  55990. * Determine whether a stringified type is a class which delegates its constructor
  55991. * to its parent.
  55992. *
  55993. * This is not trivial since compiled code can actually contain a constructor function
  55994. * even if the original source code did not. For instance, when the child class contains
  55995. * an initialized instance property.
  55996. */
  55997. function isDelegateCtor(typeStr) {
  55998. return ES5_DELEGATE_CTOR.test(typeStr) || ES2015_INHERITED_CLASS_WITH_DELEGATE_CTOR.test(typeStr) || ES2015_INHERITED_CLASS.test(typeStr) && !ES2015_INHERITED_CLASS_WITH_CTOR.test(typeStr);
  55999. }
  56000. class ReflectionCapabilities {
  56001. constructor(reflect) {
  56002. this._reflect = reflect || _global['Reflect'];
  56003. }
  56004. factory(t) {
  56005. return (...args) => new t(...args);
  56006. }
  56007. /** @internal */
  56008. _zipTypesAndAnnotations(paramTypes, paramAnnotations) {
  56009. let result;
  56010. if (typeof paramTypes === 'undefined') {
  56011. result = newArray(paramAnnotations.length);
  56012. } else {
  56013. result = newArray(paramTypes.length);
  56014. }
  56015. for (let i = 0; i < result.length; i++) {
  56016. // TS outputs Object for parameters without types, while Traceur omits
  56017. // the annotations. For now we preserve the Traceur behavior to aid
  56018. // migration, but this can be revisited.
  56019. if (typeof paramTypes === 'undefined') {
  56020. result[i] = [];
  56021. } else if (paramTypes[i] && paramTypes[i] != Object) {
  56022. result[i] = [paramTypes[i]];
  56023. } else {
  56024. result[i] = [];
  56025. }
  56026. if (paramAnnotations && paramAnnotations[i] != null) {
  56027. result[i] = result[i].concat(paramAnnotations[i]);
  56028. }
  56029. }
  56030. return result;
  56031. }
  56032. _ownParameters(type, parentCtor) {
  56033. const typeStr = type.toString(); // If we have no decorators, we only have function.length as metadata.
  56034. // In that case, to detect whether a child class declared an own constructor or not,
  56035. // we need to look inside of that constructor to check whether it is
  56036. // just calling the parent.
  56037. // This also helps to work around for https://github.com/Microsoft/TypeScript/issues/12439
  56038. // that sets 'design:paramtypes' to []
  56039. // if a class inherits from another class but has no ctor declared itself.
  56040. if (isDelegateCtor(typeStr)) {
  56041. return null;
  56042. } // Prefer the direct API.
  56043. if (type.parameters && type.parameters !== parentCtor.parameters) {
  56044. return type.parameters;
  56045. } // API of tsickle for lowering decorators to properties on the class.
  56046. const tsickleCtorParams = type.ctorParameters;
  56047. if (tsickleCtorParams && tsickleCtorParams !== parentCtor.ctorParameters) {
  56048. // Newer tsickle uses a function closure
  56049. // Retain the non-function case for compatibility with older tsickle
  56050. const ctorParameters = typeof tsickleCtorParams === 'function' ? tsickleCtorParams() : tsickleCtorParams;
  56051. const paramTypes = ctorParameters.map(ctorParam => ctorParam && ctorParam.type);
  56052. const paramAnnotations = ctorParameters.map(ctorParam => ctorParam && convertTsickleDecoratorIntoMetadata(ctorParam.decorators));
  56053. return this._zipTypesAndAnnotations(paramTypes, paramAnnotations);
  56054. } // API for metadata created by invoking the decorators.
  56055. const paramAnnotations = type.hasOwnProperty(PARAMETERS) && type[PARAMETERS];
  56056. const paramTypes = this._reflect && this._reflect.getOwnMetadata && this._reflect.getOwnMetadata('design:paramtypes', type);
  56057. if (paramTypes || paramAnnotations) {
  56058. return this._zipTypesAndAnnotations(paramTypes, paramAnnotations);
  56059. } // If a class has no decorators, at least create metadata
  56060. // based on function.length.
  56061. // Note: We know that this is a real constructor as we checked
  56062. // the content of the constructor above.
  56063. return newArray(type.length);
  56064. }
  56065. parameters(type) {
  56066. // Note: only report metadata if we have at least one class decorator
  56067. // to stay in sync with the static reflector.
  56068. if (!isType(type)) {
  56069. return [];
  56070. }
  56071. const parentCtor = getParentCtor(type);
  56072. let parameters = this._ownParameters(type, parentCtor);
  56073. if (!parameters && parentCtor !== Object) {
  56074. parameters = this.parameters(parentCtor);
  56075. }
  56076. return parameters || [];
  56077. }
  56078. _ownAnnotations(typeOrFunc, parentCtor) {
  56079. // Prefer the direct API.
  56080. if (typeOrFunc.annotations && typeOrFunc.annotations !== parentCtor.annotations) {
  56081. let annotations = typeOrFunc.annotations;
  56082. if (typeof annotations === 'function' && annotations.annotations) {
  56083. annotations = annotations.annotations;
  56084. }
  56085. return annotations;
  56086. } // API of tsickle for lowering decorators to properties on the class.
  56087. if (typeOrFunc.decorators && typeOrFunc.decorators !== parentCtor.decorators) {
  56088. return convertTsickleDecoratorIntoMetadata(typeOrFunc.decorators);
  56089. } // API for metadata created by invoking the decorators.
  56090. if (typeOrFunc.hasOwnProperty(ANNOTATIONS)) {
  56091. return typeOrFunc[ANNOTATIONS];
  56092. }
  56093. return null;
  56094. }
  56095. annotations(typeOrFunc) {
  56096. if (!isType(typeOrFunc)) {
  56097. return [];
  56098. }
  56099. const parentCtor = getParentCtor(typeOrFunc);
  56100. const ownAnnotations = this._ownAnnotations(typeOrFunc, parentCtor) || [];
  56101. const parentAnnotations = parentCtor !== Object ? this.annotations(parentCtor) : [];
  56102. return parentAnnotations.concat(ownAnnotations);
  56103. }
  56104. _ownPropMetadata(typeOrFunc, parentCtor) {
  56105. // Prefer the direct API.
  56106. if (typeOrFunc.propMetadata && typeOrFunc.propMetadata !== parentCtor.propMetadata) {
  56107. let propMetadata = typeOrFunc.propMetadata;
  56108. if (typeof propMetadata === 'function' && propMetadata.propMetadata) {
  56109. propMetadata = propMetadata.propMetadata;
  56110. }
  56111. return propMetadata;
  56112. } // API of tsickle for lowering decorators to properties on the class.
  56113. if (typeOrFunc.propDecorators && typeOrFunc.propDecorators !== parentCtor.propDecorators) {
  56114. const propDecorators = typeOrFunc.propDecorators;
  56115. const propMetadata = {};
  56116. Object.keys(propDecorators).forEach(prop => {
  56117. propMetadata[prop] = convertTsickleDecoratorIntoMetadata(propDecorators[prop]);
  56118. });
  56119. return propMetadata;
  56120. } // API for metadata created by invoking the decorators.
  56121. if (typeOrFunc.hasOwnProperty(PROP_METADATA)) {
  56122. return typeOrFunc[PROP_METADATA];
  56123. }
  56124. return null;
  56125. }
  56126. propMetadata(typeOrFunc) {
  56127. if (!isType(typeOrFunc)) {
  56128. return {};
  56129. }
  56130. const parentCtor = getParentCtor(typeOrFunc);
  56131. const propMetadata = {};
  56132. if (parentCtor !== Object) {
  56133. const parentPropMetadata = this.propMetadata(parentCtor);
  56134. Object.keys(parentPropMetadata).forEach(propName => {
  56135. propMetadata[propName] = parentPropMetadata[propName];
  56136. });
  56137. }
  56138. const ownPropMetadata = this._ownPropMetadata(typeOrFunc, parentCtor);
  56139. if (ownPropMetadata) {
  56140. Object.keys(ownPropMetadata).forEach(propName => {
  56141. const decorators = [];
  56142. if (propMetadata.hasOwnProperty(propName)) {
  56143. decorators.push(...propMetadata[propName]);
  56144. }
  56145. decorators.push(...ownPropMetadata[propName]);
  56146. propMetadata[propName] = decorators;
  56147. });
  56148. }
  56149. return propMetadata;
  56150. }
  56151. ownPropMetadata(typeOrFunc) {
  56152. if (!isType(typeOrFunc)) {
  56153. return {};
  56154. }
  56155. return this._ownPropMetadata(typeOrFunc, getParentCtor(typeOrFunc)) || {};
  56156. }
  56157. hasLifecycleHook(type, lcProperty) {
  56158. return type instanceof Type && lcProperty in type.prototype;
  56159. }
  56160. }
  56161. function convertTsickleDecoratorIntoMetadata(decoratorInvocations) {
  56162. if (!decoratorInvocations) {
  56163. return [];
  56164. }
  56165. return decoratorInvocations.map(decoratorInvocation => {
  56166. const decoratorType = decoratorInvocation.type;
  56167. const annotationCls = decoratorType.annotationCls;
  56168. const annotationArgs = decoratorInvocation.args ? decoratorInvocation.args : [];
  56169. return new annotationCls(...annotationArgs);
  56170. });
  56171. }
  56172. function getParentCtor(ctor) {
  56173. const parentProto = ctor.prototype ? Object.getPrototypeOf(ctor.prototype) : null;
  56174. const parentCtor = parentProto ? parentProto.constructor : null; // Note: We always use `Object` as the null value
  56175. // to simplify checking later on.
  56176. return parentCtor || Object;
  56177. }
  56178. /**
  56179. * @license
  56180. * Copyright Google LLC All Rights Reserved.
  56181. *
  56182. * Use of this source code is governed by an MIT-style license that can be
  56183. * found in the LICENSE file at https://angular.io/license
  56184. */
  56185. const _THROW_IF_NOT_FOUND = {};
  56186. const THROW_IF_NOT_FOUND = _THROW_IF_NOT_FOUND;
  56187. /*
  56188. * Name of a property (that we patch onto DI decorator), which is used as an annotation of which
  56189. * InjectFlag this decorator represents. This allows to avoid direct references to the DI decorators
  56190. * in the code, thus making them tree-shakable.
  56191. */
  56192. const DI_DECORATOR_FLAG = '__NG_DI_FLAG__';
  56193. const NG_TEMP_TOKEN_PATH = 'ngTempTokenPath';
  56194. const NG_TOKEN_PATH = 'ngTokenPath';
  56195. const NEW_LINE = /\n/gm;
  56196. const NO_NEW_LINE = 'ɵ';
  56197. const SOURCE = '__source';
  56198. /**
  56199. * Current injector value used by `inject`.
  56200. * - `undefined`: it is an error to call `inject`
  56201. * - `null`: `inject` can be called but there is no injector (limp-mode).
  56202. * - Injector instance: Use the injector for resolution.
  56203. */
  56204. let _currentInjector = undefined;
  56205. function setCurrentInjector(injector) {
  56206. const former = _currentInjector;
  56207. _currentInjector = injector;
  56208. return former;
  56209. }
  56210. function injectInjectorOnly(token, flags = InjectFlags.Default) {
  56211. if (_currentInjector === undefined) {
  56212. throw new RuntimeError(-203
  56213. /* RuntimeErrorCode.MISSING_INJECTION_CONTEXT */
  56214. , ngDevMode && `inject() must be called from an injection context such as a constructor, a factory function, a field initializer, or a function used with \`EnvironmentInjector#runInContext\`.`);
  56215. } else if (_currentInjector === null) {
  56216. return injectRootLimpMode(token, undefined, flags);
  56217. } else {
  56218. return _currentInjector.get(token, flags & InjectFlags.Optional ? null : undefined, flags);
  56219. }
  56220. }
  56221. function ɵɵinject(token, flags = InjectFlags.Default) {
  56222. return (getInjectImplementation() || injectInjectorOnly)(resolveForwardRef(token), flags);
  56223. }
  56224. /**
  56225. * Throws an error indicating that a factory function could not be generated by the compiler for a
  56226. * particular class.
  56227. *
  56228. * The name of the class is not mentioned here, but will be in the generated factory function name
  56229. * and thus in the stack trace.
  56230. *
  56231. * @codeGenApi
  56232. */
  56233. function ɵɵinvalidFactoryDep(index) {
  56234. throw new RuntimeError(202
  56235. /* RuntimeErrorCode.INVALID_FACTORY_DEPENDENCY */
  56236. , ngDevMode && `This constructor is not compatible with Angular Dependency Injection because its dependency at index ${index} of the parameter list is invalid.
  56237. This can happen if the dependency type is a primitive like a string or if an ancestor of this class is missing an Angular decorator.
  56238. Please check that 1) the type for the parameter at index ${index} is correct and 2) the correct Angular decorators are defined for this class and its ancestors.`);
  56239. }
  56240. /**
  56241. * Injects a token from the currently active injector.
  56242. * `inject` is only supported during instantiation of a dependency by the DI system. It can be used
  56243. * during:
  56244. * - Construction (via the `constructor`) of a class being instantiated by the DI system, such
  56245. * as an `@Injectable` or `@Component`.
  56246. * - In the initializer for fields of such classes.
  56247. * - In the factory function specified for `useFactory` of a `Provider` or an `@Injectable`.
  56248. * - In the `factory` function specified for an `InjectionToken`.
  56249. *
  56250. * @param token A token that represents a dependency that should be injected.
  56251. * @param flags Optional flags that control how injection is executed.
  56252. * The flags correspond to injection strategies that can be specified with
  56253. * parameter decorators `@Host`, `@Self`, `@SkipSef`, and `@Optional`.
  56254. * @returns the injected value if operation is successful, `null` otherwise.
  56255. * @throws if called outside of a supported context.
  56256. *
  56257. * @usageNotes
  56258. * In practice the `inject()` calls are allowed in a constructor, a constructor parameter and a
  56259. * field initializer:
  56260. *
  56261. * ```typescript
  56262. * @Injectable({providedIn: 'root'})
  56263. * export class Car {
  56264. * radio: Radio|undefined;
  56265. * // OK: field initializer
  56266. * spareTyre = inject(Tyre);
  56267. *
  56268. * constructor() {
  56269. * // OK: constructor body
  56270. * this.radio = inject(Radio);
  56271. * }
  56272. * }
  56273. * ```
  56274. *
  56275. * It is also legal to call `inject` from a provider's factory:
  56276. *
  56277. * ```typescript
  56278. * providers: [
  56279. * {provide: Car, useFactory: () => {
  56280. * // OK: a class factory
  56281. * const engine = inject(Engine);
  56282. * return new Car(engine);
  56283. * }}
  56284. * ]
  56285. * ```
  56286. *
  56287. * Calls to the `inject()` function outside of the class creation context will result in error. Most
  56288. * notably, calls to `inject()` are disallowed after a class instance was created, in methods
  56289. * (including lifecycle hooks):
  56290. *
  56291. * ```typescript
  56292. * @Component({ ... })
  56293. * export class CarComponent {
  56294. * ngOnInit() {
  56295. * // ERROR: too late, the component instance was already created
  56296. * const engine = inject(Engine);
  56297. * engine.start();
  56298. * }
  56299. * }
  56300. * ```
  56301. *
  56302. * @publicApi
  56303. */
  56304. function inject(token, flags = InjectFlags.Default) {
  56305. if (typeof flags !== 'number') {
  56306. // While TypeScript doesn't accept it without a cast, bitwise OR with false-y values in
  56307. // JavaScript is a no-op. We can use that for a very codesize-efficient conversion from
  56308. // `InjectOptions` to `InjectFlags`.
  56309. flags = 0
  56310. /* InternalInjectFlags.Default */
  56311. | ( // comment to force a line break in the formatter
  56312. flags.optional && 8
  56313. /* InternalInjectFlags.Optional */
  56314. ) | (flags.host && 1
  56315. /* InternalInjectFlags.Host */
  56316. ) | (flags.self && 2
  56317. /* InternalInjectFlags.Self */
  56318. ) | (flags.skipSelf && 4
  56319. /* InternalInjectFlags.SkipSelf */
  56320. );
  56321. }
  56322. return ɵɵinject(token, flags);
  56323. }
  56324. function injectArgs(types) {
  56325. const args = [];
  56326. for (let i = 0; i < types.length; i++) {
  56327. const arg = resolveForwardRef(types[i]);
  56328. if (Array.isArray(arg)) {
  56329. if (arg.length === 0) {
  56330. throw new RuntimeError(900
  56331. /* RuntimeErrorCode.INVALID_DIFFER_INPUT */
  56332. , ngDevMode && 'Arguments array must have arguments.');
  56333. }
  56334. let type = undefined;
  56335. let flags = InjectFlags.Default;
  56336. for (let j = 0; j < arg.length; j++) {
  56337. const meta = arg[j];
  56338. const flag = getInjectFlag(meta);
  56339. if (typeof flag === 'number') {
  56340. // Special case when we handle @Inject decorator.
  56341. if (flag === -1
  56342. /* DecoratorFlags.Inject */
  56343. ) {
  56344. type = meta.token;
  56345. } else {
  56346. flags |= flag;
  56347. }
  56348. } else {
  56349. type = meta;
  56350. }
  56351. }
  56352. args.push(ɵɵinject(type, flags));
  56353. } else {
  56354. args.push(ɵɵinject(arg));
  56355. }
  56356. }
  56357. return args;
  56358. }
  56359. /**
  56360. * Attaches a given InjectFlag to a given decorator using monkey-patching.
  56361. * Since DI decorators can be used in providers `deps` array (when provider is configured using
  56362. * `useFactory`) without initialization (e.g. `Host`) and as an instance (e.g. `new Host()`), we
  56363. * attach the flag to make it available both as a static property and as a field on decorator
  56364. * instance.
  56365. *
  56366. * @param decorator Provided DI decorator.
  56367. * @param flag InjectFlag that should be applied.
  56368. */
  56369. function attachInjectFlag(decorator, flag) {
  56370. decorator[DI_DECORATOR_FLAG] = flag;
  56371. decorator.prototype[DI_DECORATOR_FLAG] = flag;
  56372. return decorator;
  56373. }
  56374. /**
  56375. * Reads monkey-patched property that contains InjectFlag attached to a decorator.
  56376. *
  56377. * @param token Token that may contain monkey-patched DI flags property.
  56378. */
  56379. function getInjectFlag(token) {
  56380. return token[DI_DECORATOR_FLAG];
  56381. }
  56382. function catchInjectorError(e, token, injectorErrorName, source) {
  56383. const tokenPath = e[NG_TEMP_TOKEN_PATH];
  56384. if (token[SOURCE]) {
  56385. tokenPath.unshift(token[SOURCE]);
  56386. }
  56387. e.message = formatError('\n' + e.message, tokenPath, injectorErrorName, source);
  56388. e[NG_TOKEN_PATH] = tokenPath;
  56389. e[NG_TEMP_TOKEN_PATH] = null;
  56390. throw e;
  56391. }
  56392. function formatError(text, obj, injectorErrorName, source = null) {
  56393. text = text && text.charAt(0) === '\n' && text.charAt(1) == NO_NEW_LINE ? text.slice(2) : text;
  56394. let context = stringify(obj);
  56395. if (Array.isArray(obj)) {
  56396. context = obj.map(stringify).join(' -> ');
  56397. } else if (typeof obj === 'object') {
  56398. let parts = [];
  56399. for (let key in obj) {
  56400. if (obj.hasOwnProperty(key)) {
  56401. let value = obj[key];
  56402. parts.push(key + ':' + (typeof value === 'string' ? JSON.stringify(value) : stringify(value)));
  56403. }
  56404. }
  56405. context = `{${parts.join(', ')}}`;
  56406. }
  56407. return `${injectorErrorName}${source ? '(' + source + ')' : ''}[${context}]: ${text.replace(NEW_LINE, '\n ')}`;
  56408. }
  56409. /**
  56410. * @license
  56411. * Copyright Google LLC All Rights Reserved.
  56412. *
  56413. * Use of this source code is governed by an MIT-style license that can be
  56414. * found in the LICENSE file at https://angular.io/license
  56415. */
  56416. /**
  56417. * Inject decorator and metadata.
  56418. *
  56419. * @Annotation
  56420. * @publicApi
  56421. */
  56422. const Inject = attachInjectFlag( // Disable tslint because `DecoratorFlags` is a const enum which gets inlined.
  56423. // tslint:disable-next-line: no-toplevel-property-access
  56424. makeParamDecorator('Inject', token => ({
  56425. token
  56426. })), -1
  56427. /* DecoratorFlags.Inject */
  56428. );
  56429. /**
  56430. * Optional decorator and metadata.
  56431. *
  56432. * @Annotation
  56433. * @publicApi
  56434. */
  56435. const Optional = // Disable tslint because `InternalInjectFlags` is a const enum which gets inlined.
  56436. // tslint:disable-next-line: no-toplevel-property-access
  56437. attachInjectFlag(makeParamDecorator('Optional'), 8
  56438. /* InternalInjectFlags.Optional */
  56439. );
  56440. /**
  56441. * Self decorator and metadata.
  56442. *
  56443. * @Annotation
  56444. * @publicApi
  56445. */
  56446. const Self = // Disable tslint because `InternalInjectFlags` is a const enum which gets inlined.
  56447. // tslint:disable-next-line: no-toplevel-property-access
  56448. attachInjectFlag(makeParamDecorator('Self'), 2
  56449. /* InternalInjectFlags.Self */
  56450. );
  56451. /**
  56452. * `SkipSelf` decorator and metadata.
  56453. *
  56454. * @Annotation
  56455. * @publicApi
  56456. */
  56457. const SkipSelf = // Disable tslint because `InternalInjectFlags` is a const enum which gets inlined.
  56458. // tslint:disable-next-line: no-toplevel-property-access
  56459. attachInjectFlag(makeParamDecorator('SkipSelf'), 4
  56460. /* InternalInjectFlags.SkipSelf */
  56461. );
  56462. /**
  56463. * Host decorator and metadata.
  56464. *
  56465. * @Annotation
  56466. * @publicApi
  56467. */
  56468. const Host = // Disable tslint because `InternalInjectFlags` is a const enum which gets inlined.
  56469. // tslint:disable-next-line: no-toplevel-property-access
  56470. attachInjectFlag(makeParamDecorator('Host'), 1
  56471. /* InternalInjectFlags.Host */
  56472. );
  56473. /**
  56474. * @license
  56475. * Copyright Google LLC All Rights Reserved.
  56476. *
  56477. * Use of this source code is governed by an MIT-style license that can be
  56478. * found in the LICENSE file at https://angular.io/license
  56479. */
  56480. let _reflect = null;
  56481. function getReflect() {
  56482. return _reflect = _reflect || new ReflectionCapabilities();
  56483. }
  56484. function reflectDependencies(type) {
  56485. return convertDependencies(getReflect().parameters(type));
  56486. }
  56487. function convertDependencies(deps) {
  56488. return deps.map(dep => reflectDependency(dep));
  56489. }
  56490. function reflectDependency(dep) {
  56491. const meta = {
  56492. token: null,
  56493. attribute: null,
  56494. host: false,
  56495. optional: false,
  56496. self: false,
  56497. skipSelf: false
  56498. };
  56499. if (Array.isArray(dep) && dep.length > 0) {
  56500. for (let j = 0; j < dep.length; j++) {
  56501. const param = dep[j];
  56502. if (param === undefined) {
  56503. // param may be undefined if type of dep is not set by ngtsc
  56504. continue;
  56505. }
  56506. const proto = Object.getPrototypeOf(param);
  56507. if (param instanceof Optional || proto.ngMetadataName === 'Optional') {
  56508. meta.optional = true;
  56509. } else if (param instanceof SkipSelf || proto.ngMetadataName === 'SkipSelf') {
  56510. meta.skipSelf = true;
  56511. } else if (param instanceof Self || proto.ngMetadataName === 'Self') {
  56512. meta.self = true;
  56513. } else if (param instanceof Host || proto.ngMetadataName === 'Host') {
  56514. meta.host = true;
  56515. } else if (param instanceof Inject) {
  56516. meta.token = param.token;
  56517. } else if (param instanceof Attribute) {
  56518. if (param.attributeName === undefined) {
  56519. throw new RuntimeError(204
  56520. /* RuntimeErrorCode.INVALID_INJECTION_TOKEN */
  56521. , ngDevMode && `Attribute name must be defined.`);
  56522. }
  56523. meta.attribute = param.attributeName;
  56524. } else {
  56525. meta.token = param;
  56526. }
  56527. }
  56528. } else if (dep === undefined || Array.isArray(dep) && dep.length === 0) {
  56529. meta.token = null;
  56530. } else {
  56531. meta.token = dep;
  56532. }
  56533. return meta;
  56534. }
  56535. /**
  56536. * @license
  56537. * Copyright Google LLC All Rights Reserved.
  56538. *
  56539. * Use of this source code is governed by an MIT-style license that can be
  56540. * found in the LICENSE file at https://angular.io/license
  56541. */
  56542. /**
  56543. * Used to resolve resource URLs on `@Component` when used with JIT compilation.
  56544. *
  56545. * Example:
  56546. * ```
  56547. * @Component({
  56548. * selector: 'my-comp',
  56549. * templateUrl: 'my-comp.html', // This requires asynchronous resolution
  56550. * })
  56551. * class MyComponent{
  56552. * }
  56553. *
  56554. * // Calling `renderComponent` will fail because `renderComponent` is a synchronous process
  56555. * // and `MyComponent`'s `@Component.templateUrl` needs to be resolved asynchronously.
  56556. *
  56557. * // Calling `resolveComponentResources()` will resolve `@Component.templateUrl` into
  56558. * // `@Component.template`, which allows `renderComponent` to proceed in a synchronous manner.
  56559. *
  56560. * // Use browser's `fetch()` function as the default resource resolution strategy.
  56561. * resolveComponentResources(fetch).then(() => {
  56562. * // After resolution all URLs have been converted into `template` strings.
  56563. * renderComponent(MyComponent);
  56564. * });
  56565. *
  56566. * ```
  56567. *
  56568. * NOTE: In AOT the resolution happens during compilation, and so there should be no need
  56569. * to call this method outside JIT mode.
  56570. *
  56571. * @param resourceResolver a function which is responsible for returning a `Promise` to the
  56572. * contents of the resolved URL. Browser's `fetch()` method is a good default implementation.
  56573. */
  56574. function resolveComponentResources(resourceResolver) {
  56575. // Store all promises which are fetching the resources.
  56576. const componentResolved = []; // Cache so that we don't fetch the same resource more than once.
  56577. const urlMap = new Map();
  56578. function cachedResourceResolve(url) {
  56579. let promise = urlMap.get(url);
  56580. if (!promise) {
  56581. const resp = resourceResolver(url);
  56582. urlMap.set(url, promise = resp.then(unwrapResponse));
  56583. }
  56584. return promise;
  56585. }
  56586. componentResourceResolutionQueue.forEach((component, type) => {
  56587. const promises = [];
  56588. if (component.templateUrl) {
  56589. promises.push(cachedResourceResolve(component.templateUrl).then(template => {
  56590. component.template = template;
  56591. }));
  56592. }
  56593. const styleUrls = component.styleUrls;
  56594. const styles = component.styles || (component.styles = []);
  56595. const styleOffset = component.styles.length;
  56596. styleUrls && styleUrls.forEach((styleUrl, index) => {
  56597. styles.push(''); // pre-allocate array.
  56598. promises.push(cachedResourceResolve(styleUrl).then(style => {
  56599. styles[styleOffset + index] = style;
  56600. styleUrls.splice(styleUrls.indexOf(styleUrl), 1);
  56601. if (styleUrls.length == 0) {
  56602. component.styleUrls = undefined;
  56603. }
  56604. }));
  56605. });
  56606. const fullyResolved = Promise.all(promises).then(() => componentDefResolved(type));
  56607. componentResolved.push(fullyResolved);
  56608. });
  56609. clearResolutionOfComponentResourcesQueue();
  56610. return Promise.all(componentResolved).then(() => undefined);
  56611. }
  56612. let componentResourceResolutionQueue = new Map(); // Track when existing ɵcmp for a Type is waiting on resources.
  56613. const componentDefPendingResolution = new Set();
  56614. function maybeQueueResolutionOfComponentResources(type, metadata) {
  56615. if (componentNeedsResolution(metadata)) {
  56616. componentResourceResolutionQueue.set(type, metadata);
  56617. componentDefPendingResolution.add(type);
  56618. }
  56619. }
  56620. function isComponentDefPendingResolution(type) {
  56621. return componentDefPendingResolution.has(type);
  56622. }
  56623. function componentNeedsResolution(component) {
  56624. return !!(component.templateUrl && !component.hasOwnProperty('template') || component.styleUrls && component.styleUrls.length);
  56625. }
  56626. function clearResolutionOfComponentResourcesQueue() {
  56627. const old = componentResourceResolutionQueue;
  56628. componentResourceResolutionQueue = new Map();
  56629. return old;
  56630. }
  56631. function restoreComponentResolutionQueue(queue) {
  56632. componentDefPendingResolution.clear();
  56633. queue.forEach((_, type) => componentDefPendingResolution.add(type));
  56634. componentResourceResolutionQueue = queue;
  56635. }
  56636. function isComponentResourceResolutionQueueEmpty() {
  56637. return componentResourceResolutionQueue.size === 0;
  56638. }
  56639. function unwrapResponse(response) {
  56640. return typeof response == 'string' ? response : response.text();
  56641. }
  56642. function componentDefResolved(type) {
  56643. componentDefPendingResolution.delete(type);
  56644. }
  56645. /**
  56646. * @license
  56647. * Copyright Google LLC All Rights Reserved.
  56648. *
  56649. * Use of this source code is governed by an MIT-style license that can be
  56650. * found in the LICENSE file at https://angular.io/license
  56651. */
  56652. /**
  56653. * Map of module-id to the corresponding NgModule.
  56654. */
  56655. const modules = new Map();
  56656. /**
  56657. * Whether to check for duplicate NgModule registrations.
  56658. *
  56659. * This can be disabled for testing.
  56660. */
  56661. let checkForDuplicateNgModules = true;
  56662. function assertSameOrNotExisting(id, type, incoming) {
  56663. if (type && type !== incoming && checkForDuplicateNgModules) {
  56664. throw new Error(`Duplicate module registered for ${id} - ${stringify(type)} vs ${stringify(type.name)}`);
  56665. }
  56666. }
  56667. /**
  56668. * Adds the given NgModule type to Angular's NgModule registry.
  56669. *
  56670. * This is generated as a side-effect of NgModule compilation. Note that the `id` is passed in
  56671. * explicitly and not read from the NgModule definition. This is for two reasons: it avoids a
  56672. * megamorphic read, and in JIT there's a chicken-and-egg problem where the NgModule may not be
  56673. * fully resolved when it's registered.
  56674. *
  56675. * @codeGenApi
  56676. */
  56677. function registerNgModuleType(ngModuleType, id) {
  56678. const existing = modules.get(id) || null;
  56679. assertSameOrNotExisting(id, existing, ngModuleType);
  56680. modules.set(id, ngModuleType);
  56681. }
  56682. function clearModulesForTest() {
  56683. modules.clear();
  56684. }
  56685. function getRegisteredNgModuleType(id) {
  56686. return modules.get(id);
  56687. }
  56688. /**
  56689. * Control whether the NgModule registration system enforces that each NgModule type registered has
  56690. * a unique id.
  56691. *
  56692. * This is useful for testing as the NgModule registry cannot be properly reset between tests with
  56693. * Angular's current API.
  56694. */
  56695. function setAllowDuplicateNgModuleIdsForTest(allowDuplicates) {
  56696. checkForDuplicateNgModules = !allowDuplicates;
  56697. }
  56698. /**
  56699. * @license
  56700. * Copyright Google LLC All Rights Reserved.
  56701. *
  56702. * Use of this source code is governed by an MIT-style license that can be
  56703. * found in the LICENSE file at https://angular.io/license
  56704. */
  56705. /**
  56706. * Most of the use of `document` in Angular is from within the DI system so it is possible to simply
  56707. * inject the `DOCUMENT` token and are done.
  56708. *
  56709. * Ivy is special because it does not rely upon the DI and must get hold of the document some other
  56710. * way.
  56711. *
  56712. * The solution is to define `getDocument()` and `setDocument()` top-level functions for ivy.
  56713. * Wherever ivy needs the global document, it calls `getDocument()` instead.
  56714. *
  56715. * When running ivy outside of a browser environment, it is necessary to call `setDocument()` to
  56716. * tell ivy what the global `document` is.
  56717. *
  56718. * Angular does this for us in each of the standard platforms (`Browser`, `Server`, and `WebWorker`)
  56719. * by calling `setDocument()` when providing the `DOCUMENT` token.
  56720. */
  56721. let DOCUMENT = undefined;
  56722. /**
  56723. * Tell ivy what the `document` is for this platform.
  56724. *
  56725. * It is only necessary to call this if the current platform is not a browser.
  56726. *
  56727. * @param document The object representing the global `document` in this environment.
  56728. */
  56729. function setDocument(document) {
  56730. DOCUMENT = document;
  56731. }
  56732. /**
  56733. * Access the object that represents the `document` for this platform.
  56734. *
  56735. * Ivy calls this whenever it needs to access the `document` object.
  56736. * For example to create the renderer or to do sanitization.
  56737. */
  56738. function getDocument() {
  56739. if (DOCUMENT !== undefined) {
  56740. return DOCUMENT;
  56741. } else if (typeof document !== 'undefined') {
  56742. return document;
  56743. } // No "document" can be found. This should only happen if we are running ivy outside Angular and
  56744. // the current platform is not a browser. Since this is not a supported scenario at the moment
  56745. // this should not happen in Angular apps.
  56746. // Once we support running ivy outside of Angular we will need to publish `setDocument()` as a
  56747. // public API. Meanwhile we just return `undefined` and let the application fail.
  56748. return undefined;
  56749. }
  56750. /**
  56751. * @license
  56752. * Copyright Google LLC All Rights Reserved.
  56753. *
  56754. * Use of this source code is governed by an MIT-style license that can be
  56755. * found in the LICENSE file at https://angular.io/license
  56756. */
  56757. /**
  56758. * The Trusted Types policy, or null if Trusted Types are not
  56759. * enabled/supported, or undefined if the policy has not been created yet.
  56760. */
  56761. let policy$1;
  56762. /**
  56763. * Returns the Trusted Types policy, or null if Trusted Types are not
  56764. * enabled/supported. The first call to this function will create the policy.
  56765. */
  56766. function getPolicy$1() {
  56767. if (policy$1 === undefined) {
  56768. policy$1 = null;
  56769. if (_global.trustedTypes) {
  56770. try {
  56771. policy$1 = _global.trustedTypes.createPolicy('angular', {
  56772. createHTML: s => s,
  56773. createScript: s => s,
  56774. createScriptURL: s => s
  56775. });
  56776. } catch (_a) {// trustedTypes.createPolicy throws if called with a name that is
  56777. // already registered, even in report-only mode. Until the API changes,
  56778. // catch the error not to break the applications functionally. In such
  56779. // cases, the code will fall back to using strings.
  56780. }
  56781. }
  56782. }
  56783. return policy$1;
  56784. }
  56785. /**
  56786. * Unsafely promote a string to a TrustedHTML, falling back to strings when
  56787. * Trusted Types are not available.
  56788. * @security This is a security-sensitive function; any use of this function
  56789. * must go through security review. In particular, it must be assured that the
  56790. * provided string will never cause an XSS vulnerability if used in a context
  56791. * that will be interpreted as HTML by a browser, e.g. when assigning to
  56792. * element.innerHTML.
  56793. */
  56794. function trustedHTMLFromString(html) {
  56795. var _a;
  56796. return ((_a = getPolicy$1()) === null || _a === void 0 ? void 0 : _a.createHTML(html)) || html;
  56797. }
  56798. /**
  56799. * Unsafely promote a string to a TrustedScript, falling back to strings when
  56800. * Trusted Types are not available.
  56801. * @security In particular, it must be assured that the provided string will
  56802. * never cause an XSS vulnerability if used in a context that will be
  56803. * interpreted and executed as a script by a browser, e.g. when calling eval.
  56804. */
  56805. function trustedScriptFromString(script) {
  56806. var _a;
  56807. return ((_a = getPolicy$1()) === null || _a === void 0 ? void 0 : _a.createScript(script)) || script;
  56808. }
  56809. /**
  56810. * Unsafely promote a string to a TrustedScriptURL, falling back to strings
  56811. * when Trusted Types are not available.
  56812. * @security This is a security-sensitive function; any use of this function
  56813. * must go through security review. In particular, it must be assured that the
  56814. * provided string will never cause an XSS vulnerability if used in a context
  56815. * that will cause a browser to load and execute a resource, e.g. when
  56816. * assigning to script.src.
  56817. */
  56818. function trustedScriptURLFromString(url) {
  56819. var _a;
  56820. return ((_a = getPolicy$1()) === null || _a === void 0 ? void 0 : _a.createScriptURL(url)) || url;
  56821. }
  56822. /**
  56823. * Unsafely call the Function constructor with the given string arguments. It
  56824. * is only available in development mode, and should be stripped out of
  56825. * production code.
  56826. * @security This is a security-sensitive function; any use of this function
  56827. * must go through security review. In particular, it must be assured that it
  56828. * is only called from development code, as use in production code can lead to
  56829. * XSS vulnerabilities.
  56830. */
  56831. function newTrustedFunctionForDev(...args) {
  56832. if (typeof ngDevMode === 'undefined') {
  56833. throw new Error('newTrustedFunctionForDev should never be called in production');
  56834. }
  56835. if (!_global.trustedTypes) {
  56836. // In environments that don't support Trusted Types, fall back to the most
  56837. // straightforward implementation:
  56838. return new Function(...args);
  56839. } // Chrome currently does not support passing TrustedScript to the Function
  56840. // constructor. The following implements the workaround proposed on the page
  56841. // below, where the Chromium bug is also referenced:
  56842. // https://github.com/w3c/webappsec-trusted-types/wiki/Trusted-Types-for-function-constructor
  56843. const fnArgs = args.slice(0, -1).join(',');
  56844. const fnBody = args[args.length - 1];
  56845. const body = `(function anonymous(${fnArgs}
  56846. ) { ${fnBody}
  56847. })`; // Using eval directly confuses the compiler and prevents this module from
  56848. // being stripped out of JS binaries even if not used. The global['eval']
  56849. // indirection fixes that.
  56850. const fn = _global['eval'](trustedScriptFromString(body));
  56851. if (fn.bind === undefined) {
  56852. // Workaround for a browser bug that only exists in Chrome 83, where passing
  56853. // a TrustedScript to eval just returns the TrustedScript back without
  56854. // evaluating it. In that case, fall back to the most straightforward
  56855. // implementation:
  56856. return new Function(...args);
  56857. } // To completely mimic the behavior of calling "new Function", two more
  56858. // things need to happen:
  56859. // 1. Stringifying the resulting function should return its source code
  56860. fn.toString = () => body; // 2. When calling the resulting function, `this` should refer to `global`
  56861. return fn.bind(_global); // When Trusted Types support in Function constructors is widely available,
  56862. // the implementation of this function can be simplified to:
  56863. // return new Function(...args.map(a => trustedScriptFromString(a)));
  56864. }
  56865. /**
  56866. * @license
  56867. * Copyright Google LLC All Rights Reserved.
  56868. *
  56869. * Use of this source code is governed by an MIT-style license that can be
  56870. * found in the LICENSE file at https://angular.io/license
  56871. */
  56872. /**
  56873. * The Trusted Types policy, or null if Trusted Types are not
  56874. * enabled/supported, or undefined if the policy has not been created yet.
  56875. */
  56876. let policy;
  56877. /**
  56878. * Returns the Trusted Types policy, or null if Trusted Types are not
  56879. * enabled/supported. The first call to this function will create the policy.
  56880. */
  56881. function getPolicy() {
  56882. if (policy === undefined) {
  56883. policy = null;
  56884. if (_global.trustedTypes) {
  56885. try {
  56886. policy = _global.trustedTypes.createPolicy('angular#unsafe-bypass', {
  56887. createHTML: s => s,
  56888. createScript: s => s,
  56889. createScriptURL: s => s
  56890. });
  56891. } catch (_a) {// trustedTypes.createPolicy throws if called with a name that is
  56892. // already registered, even in report-only mode. Until the API changes,
  56893. // catch the error not to break the applications functionally. In such
  56894. // cases, the code will fall back to using strings.
  56895. }
  56896. }
  56897. }
  56898. return policy;
  56899. }
  56900. /**
  56901. * Unsafely promote a string to a TrustedHTML, falling back to strings when
  56902. * Trusted Types are not available.
  56903. * @security This is a security-sensitive function; any use of this function
  56904. * must go through security review. In particular, it must be assured that it
  56905. * is only passed strings that come directly from custom sanitizers or the
  56906. * bypassSecurityTrust* functions.
  56907. */
  56908. function trustedHTMLFromStringBypass(html) {
  56909. var _a;
  56910. return ((_a = getPolicy()) === null || _a === void 0 ? void 0 : _a.createHTML(html)) || html;
  56911. }
  56912. /**
  56913. * Unsafely promote a string to a TrustedScript, falling back to strings when
  56914. * Trusted Types are not available.
  56915. * @security This is a security-sensitive function; any use of this function
  56916. * must go through security review. In particular, it must be assured that it
  56917. * is only passed strings that come directly from custom sanitizers or the
  56918. * bypassSecurityTrust* functions.
  56919. */
  56920. function trustedScriptFromStringBypass(script) {
  56921. var _a;
  56922. return ((_a = getPolicy()) === null || _a === void 0 ? void 0 : _a.createScript(script)) || script;
  56923. }
  56924. /**
  56925. * Unsafely promote a string to a TrustedScriptURL, falling back to strings
  56926. * when Trusted Types are not available.
  56927. * @security This is a security-sensitive function; any use of this function
  56928. * must go through security review. In particular, it must be assured that it
  56929. * is only passed strings that come directly from custom sanitizers or the
  56930. * bypassSecurityTrust* functions.
  56931. */
  56932. function trustedScriptURLFromStringBypass(url) {
  56933. var _a;
  56934. return ((_a = getPolicy()) === null || _a === void 0 ? void 0 : _a.createScriptURL(url)) || url;
  56935. }
  56936. /**
  56937. * @license
  56938. * Copyright Google LLC All Rights Reserved.
  56939. *
  56940. * Use of this source code is governed by an MIT-style license that can be
  56941. * found in the LICENSE file at https://angular.io/license
  56942. */
  56943. class SafeValueImpl {
  56944. constructor(changingThisBreaksApplicationSecurity) {
  56945. this.changingThisBreaksApplicationSecurity = changingThisBreaksApplicationSecurity;
  56946. }
  56947. toString() {
  56948. return `SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity}` + ` (see https://g.co/ng/security#xss)`;
  56949. }
  56950. }
  56951. class SafeHtmlImpl extends SafeValueImpl {
  56952. getTypeName() {
  56953. return "HTML"
  56954. /* BypassType.Html */
  56955. ;
  56956. }
  56957. }
  56958. class SafeStyleImpl extends SafeValueImpl {
  56959. getTypeName() {
  56960. return "Style"
  56961. /* BypassType.Style */
  56962. ;
  56963. }
  56964. }
  56965. class SafeScriptImpl extends SafeValueImpl {
  56966. getTypeName() {
  56967. return "Script"
  56968. /* BypassType.Script */
  56969. ;
  56970. }
  56971. }
  56972. class SafeUrlImpl extends SafeValueImpl {
  56973. getTypeName() {
  56974. return "URL"
  56975. /* BypassType.Url */
  56976. ;
  56977. }
  56978. }
  56979. class SafeResourceUrlImpl extends SafeValueImpl {
  56980. getTypeName() {
  56981. return "ResourceURL"
  56982. /* BypassType.ResourceUrl */
  56983. ;
  56984. }
  56985. }
  56986. function unwrapSafeValue(value) {
  56987. return value instanceof SafeValueImpl ? value.changingThisBreaksApplicationSecurity : value;
  56988. }
  56989. function allowSanitizationBypassAndThrow(value, type) {
  56990. const actualType = getSanitizationBypassType(value);
  56991. if (actualType != null && actualType !== type) {
  56992. // Allow ResourceURLs in URL contexts, they are strictly more trusted.
  56993. if (actualType === "ResourceURL"
  56994. /* BypassType.ResourceUrl */
  56995. && type === "URL"
  56996. /* BypassType.Url */
  56997. ) return true;
  56998. throw new Error(`Required a safe ${type}, got a ${actualType} (see https://g.co/ng/security#xss)`);
  56999. }
  57000. return actualType === type;
  57001. }
  57002. function getSanitizationBypassType(value) {
  57003. return value instanceof SafeValueImpl && value.getTypeName() || null;
  57004. }
  57005. /**
  57006. * Mark `html` string as trusted.
  57007. *
  57008. * This function wraps the trusted string in `String` and brands it in a way which makes it
  57009. * recognizable to {@link htmlSanitizer} to be trusted implicitly.
  57010. *
  57011. * @param trustedHtml `html` string which needs to be implicitly trusted.
  57012. * @returns a `html` which has been branded to be implicitly trusted.
  57013. */
  57014. function bypassSanitizationTrustHtml(trustedHtml) {
  57015. return new SafeHtmlImpl(trustedHtml);
  57016. }
  57017. /**
  57018. * Mark `style` string as trusted.
  57019. *
  57020. * This function wraps the trusted string in `String` and brands it in a way which makes it
  57021. * recognizable to {@link styleSanitizer} to be trusted implicitly.
  57022. *
  57023. * @param trustedStyle `style` string which needs to be implicitly trusted.
  57024. * @returns a `style` hich has been branded to be implicitly trusted.
  57025. */
  57026. function bypassSanitizationTrustStyle(trustedStyle) {
  57027. return new SafeStyleImpl(trustedStyle);
  57028. }
  57029. /**
  57030. * Mark `script` string as trusted.
  57031. *
  57032. * This function wraps the trusted string in `String` and brands it in a way which makes it
  57033. * recognizable to {@link scriptSanitizer} to be trusted implicitly.
  57034. *
  57035. * @param trustedScript `script` string which needs to be implicitly trusted.
  57036. * @returns a `script` which has been branded to be implicitly trusted.
  57037. */
  57038. function bypassSanitizationTrustScript(trustedScript) {
  57039. return new SafeScriptImpl(trustedScript);
  57040. }
  57041. /**
  57042. * Mark `url` string as trusted.
  57043. *
  57044. * This function wraps the trusted string in `String` and brands it in a way which makes it
  57045. * recognizable to {@link urlSanitizer} to be trusted implicitly.
  57046. *
  57047. * @param trustedUrl `url` string which needs to be implicitly trusted.
  57048. * @returns a `url` which has been branded to be implicitly trusted.
  57049. */
  57050. function bypassSanitizationTrustUrl(trustedUrl) {
  57051. return new SafeUrlImpl(trustedUrl);
  57052. }
  57053. /**
  57054. * Mark `url` string as trusted.
  57055. *
  57056. * This function wraps the trusted string in `String` and brands it in a way which makes it
  57057. * recognizable to {@link resourceUrlSanitizer} to be trusted implicitly.
  57058. *
  57059. * @param trustedResourceUrl `url` string which needs to be implicitly trusted.
  57060. * @returns a `url` which has been branded to be implicitly trusted.
  57061. */
  57062. function bypassSanitizationTrustResourceUrl(trustedResourceUrl) {
  57063. return new SafeResourceUrlImpl(trustedResourceUrl);
  57064. }
  57065. /**
  57066. * @license
  57067. * Copyright Google LLC All Rights Reserved.
  57068. *
  57069. * Use of this source code is governed by an MIT-style license that can be
  57070. * found in the LICENSE file at https://angular.io/license
  57071. */
  57072. /**
  57073. * This helper is used to get hold of an inert tree of DOM elements containing dirty HTML
  57074. * that needs sanitizing.
  57075. * Depending upon browser support we use one of two strategies for doing this.
  57076. * Default: DOMParser strategy
  57077. * Fallback: InertDocument strategy
  57078. */
  57079. function getInertBodyHelper(defaultDoc) {
  57080. const inertDocumentHelper = new InertDocumentHelper(defaultDoc);
  57081. return isDOMParserAvailable() ? new DOMParserHelper(inertDocumentHelper) : inertDocumentHelper;
  57082. }
  57083. /**
  57084. * Uses DOMParser to create and fill an inert body element.
  57085. * This is the default strategy used in browsers that support it.
  57086. */
  57087. class DOMParserHelper {
  57088. constructor(inertDocumentHelper) {
  57089. this.inertDocumentHelper = inertDocumentHelper;
  57090. }
  57091. getInertBodyElement(html) {
  57092. // We add these extra elements to ensure that the rest of the content is parsed as expected
  57093. // e.g. leading whitespace is maintained and tags like `<meta>` do not get hoisted to the
  57094. // `<head>` tag. Note that the `<body>` tag is closed implicitly to prevent unclosed tags
  57095. // in `html` from consuming the otherwise explicit `</body>` tag.
  57096. html = '<body><remove></remove>' + html;
  57097. try {
  57098. const body = new window.DOMParser().parseFromString(trustedHTMLFromString(html), 'text/html').body;
  57099. if (body === null) {
  57100. // In some browsers (e.g. Mozilla/5.0 iPad AppleWebKit Mobile) the `body` property only
  57101. // becomes available in the following tick of the JS engine. In that case we fall back to
  57102. // the `inertDocumentHelper` instead.
  57103. return this.inertDocumentHelper.getInertBodyElement(html);
  57104. }
  57105. body.removeChild(body.firstChild);
  57106. return body;
  57107. } catch (_a) {
  57108. return null;
  57109. }
  57110. }
  57111. }
  57112. /**
  57113. * Use an HTML5 `template` element, if supported, or an inert body element created via
  57114. * `createHtmlDocument` to create and fill an inert DOM element.
  57115. * This is the fallback strategy if the browser does not support DOMParser.
  57116. */
  57117. class InertDocumentHelper {
  57118. constructor(defaultDoc) {
  57119. this.defaultDoc = defaultDoc;
  57120. this.inertDocument = this.defaultDoc.implementation.createHTMLDocument('sanitization-inert');
  57121. if (this.inertDocument.body == null) {
  57122. // usually there should be only one body element in the document, but IE doesn't have any, so
  57123. // we need to create one.
  57124. const inertHtml = this.inertDocument.createElement('html');
  57125. this.inertDocument.appendChild(inertHtml);
  57126. const inertBodyElement = this.inertDocument.createElement('body');
  57127. inertHtml.appendChild(inertBodyElement);
  57128. }
  57129. }
  57130. getInertBodyElement(html) {
  57131. // Prefer using <template> element if supported.
  57132. const templateEl = this.inertDocument.createElement('template');
  57133. if ('content' in templateEl) {
  57134. templateEl.innerHTML = trustedHTMLFromString(html);
  57135. return templateEl;
  57136. } // Note that previously we used to do something like `this.inertDocument.body.innerHTML = html`
  57137. // and we returned the inert `body` node. This was changed, because IE seems to treat setting
  57138. // `innerHTML` on an inserted element differently, compared to one that hasn't been inserted
  57139. // yet. In particular, IE appears to split some of the text into multiple text nodes rather
  57140. // than keeping them in a single one which ends up messing with Ivy's i18n parsing further
  57141. // down the line. This has been worked around by creating a new inert `body` and using it as
  57142. // the root node in which we insert the HTML.
  57143. const inertBody = this.inertDocument.createElement('body');
  57144. inertBody.innerHTML = trustedHTMLFromString(html); // Support: IE 11 only
  57145. // strip custom-namespaced attributes on IE<=11
  57146. if (this.defaultDoc.documentMode) {
  57147. this.stripCustomNsAttrs(inertBody);
  57148. }
  57149. return inertBody;
  57150. }
  57151. /**
  57152. * When IE11 comes across an unknown namespaced attribute e.g. 'xlink:foo' it adds 'xmlns:ns1'
  57153. * attribute to declare ns1 namespace and prefixes the attribute with 'ns1' (e.g.
  57154. * 'ns1:xlink:foo').
  57155. *
  57156. * This is undesirable since we don't want to allow any of these custom attributes. This method
  57157. * strips them all.
  57158. */
  57159. stripCustomNsAttrs(el) {
  57160. const elAttrs = el.attributes; // loop backwards so that we can support removals.
  57161. for (let i = elAttrs.length - 1; 0 < i; i--) {
  57162. const attrib = elAttrs.item(i);
  57163. const attrName = attrib.name;
  57164. if (attrName === 'xmlns:ns1' || attrName.indexOf('ns1:') === 0) {
  57165. el.removeAttribute(attrName);
  57166. }
  57167. }
  57168. let childNode = el.firstChild;
  57169. while (childNode) {
  57170. if (childNode.nodeType === Node.ELEMENT_NODE) this.stripCustomNsAttrs(childNode);
  57171. childNode = childNode.nextSibling;
  57172. }
  57173. }
  57174. }
  57175. /**
  57176. * We need to determine whether the DOMParser exists in the global context and
  57177. * supports parsing HTML; HTML parsing support is not as wide as other formats, see
  57178. * https://developer.mozilla.org/en-US/docs/Web/API/DOMParser#Browser_compatibility.
  57179. *
  57180. * @suppress {uselessCode}
  57181. */
  57182. function isDOMParserAvailable() {
  57183. try {
  57184. return !!new window.DOMParser().parseFromString(trustedHTMLFromString(''), 'text/html');
  57185. } catch (_a) {
  57186. return false;
  57187. }
  57188. }
  57189. /**
  57190. * @license
  57191. * Copyright Google LLC All Rights Reserved.
  57192. *
  57193. * Use of this source code is governed by an MIT-style license that can be
  57194. * found in the LICENSE file at https://angular.io/license
  57195. */
  57196. /**
  57197. * A pattern that recognizes a commonly useful subset of URLs that are safe.
  57198. *
  57199. * This regular expression matches a subset of URLs that will not cause script
  57200. * execution if used in URL context within a HTML document. Specifically, this
  57201. * regular expression matches if (comment from here on and regex copied from
  57202. * Soy's EscapingConventions):
  57203. * (1) Either an allowed protocol (http, https, mailto or ftp).
  57204. * (2) or no protocol. A protocol must be followed by a colon. The below
  57205. * allows that by allowing colons only after one of the characters [/?#].
  57206. * A colon after a hash (#) must be in the fragment.
  57207. * Otherwise, a colon after a (?) must be in a query.
  57208. * Otherwise, a colon after a single solidus (/) must be in a path.
  57209. * Otherwise, a colon after a double solidus (//) must be in the authority
  57210. * (before port).
  57211. *
  57212. * The pattern disallows &, used in HTML entity declarations before
  57213. * one of the characters in [/?#]. This disallows HTML entities used in the
  57214. * protocol name, which should never happen, e.g. "h&#116;tp" for "http".
  57215. * It also disallows HTML entities in the first path part of a relative path,
  57216. * e.g. "foo&lt;bar/baz". Our existing escaping functions should not produce
  57217. * that. More importantly, it disallows masking of a colon,
  57218. * e.g. "javascript&#58;...".
  57219. *
  57220. * This regular expression was taken from the Closure sanitization library.
  57221. */
  57222. const SAFE_URL_PATTERN = /^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;
  57223. function _sanitizeUrl(url) {
  57224. url = String(url);
  57225. if (url.match(SAFE_URL_PATTERN)) return url;
  57226. if (typeof ngDevMode === 'undefined' || ngDevMode) {
  57227. console.warn(`WARNING: sanitizing unsafe URL value ${url} (see https://g.co/ng/security#xss)`);
  57228. }
  57229. return 'unsafe:' + url;
  57230. }
  57231. /**
  57232. * @license
  57233. * Copyright Google LLC All Rights Reserved.
  57234. *
  57235. * Use of this source code is governed by an MIT-style license that can be
  57236. * found in the LICENSE file at https://angular.io/license
  57237. */
  57238. function tagSet(tags) {
  57239. const res = {};
  57240. for (const t of tags.split(',')) res[t] = true;
  57241. return res;
  57242. }
  57243. function merge(...sets) {
  57244. const res = {};
  57245. for (const s of sets) {
  57246. for (const v in s) {
  57247. if (s.hasOwnProperty(v)) res[v] = true;
  57248. }
  57249. }
  57250. return res;
  57251. } // Good source of info about elements and attributes
  57252. // https://html.spec.whatwg.org/#semantics
  57253. // https://simon.html5.org/html-elements
  57254. // Safe Void Elements - HTML5
  57255. // https://html.spec.whatwg.org/#void-elements
  57256. const VOID_ELEMENTS = tagSet('area,br,col,hr,img,wbr'); // Elements that you can, intentionally, leave open (and which close themselves)
  57257. // https://html.spec.whatwg.org/#optional-tags
  57258. const OPTIONAL_END_TAG_BLOCK_ELEMENTS = tagSet('colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr');
  57259. const OPTIONAL_END_TAG_INLINE_ELEMENTS = tagSet('rp,rt');
  57260. const OPTIONAL_END_TAG_ELEMENTS = merge(OPTIONAL_END_TAG_INLINE_ELEMENTS, OPTIONAL_END_TAG_BLOCK_ELEMENTS); // Safe Block Elements - HTML5
  57261. const BLOCK_ELEMENTS = merge(OPTIONAL_END_TAG_BLOCK_ELEMENTS, tagSet('address,article,' + 'aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,' + 'h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul')); // Inline Elements - HTML5
  57262. const INLINE_ELEMENTS = merge(OPTIONAL_END_TAG_INLINE_ELEMENTS, tagSet('a,abbr,acronym,audio,b,' + 'bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,' + 'samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video'));
  57263. const VALID_ELEMENTS = merge(VOID_ELEMENTS, BLOCK_ELEMENTS, INLINE_ELEMENTS, OPTIONAL_END_TAG_ELEMENTS); // Attributes that have href and hence need to be sanitized
  57264. const URI_ATTRS = tagSet('background,cite,href,itemtype,longdesc,poster,src,xlink:href');
  57265. const HTML_ATTRS = tagSet('abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,' + 'compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,' + 'ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,' + 'scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,' + 'valign,value,vspace,width'); // Accessibility attributes as per WAI-ARIA 1.1 (W3C Working Draft 14 December 2018)
  57266. const ARIA_ATTRS = tagSet('aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,' + 'aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,' + 'aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,' + 'aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,' + 'aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,' + 'aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,' + 'aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext'); // NB: This currently consciously doesn't support SVG. SVG sanitization has had several security
  57267. // issues in the past, so it seems safer to leave it out if possible. If support for binding SVG via
  57268. // innerHTML is required, SVG attributes should be added here.
  57269. // NB: Sanitization does not allow <form> elements or other active elements (<button> etc). Those
  57270. // can be sanitized, but they increase security surface area without a legitimate use case, so they
  57271. // are left out here.
  57272. const VALID_ATTRS = merge(URI_ATTRS, HTML_ATTRS, ARIA_ATTRS); // Elements whose content should not be traversed/preserved, if the elements themselves are invalid.
  57273. //
  57274. // Typically, `<invalid>Some content</invalid>` would traverse (and in this case preserve)
  57275. // `Some content`, but strip `invalid-element` opening/closing tags. For some elements, though, we
  57276. // don't want to preserve the content, if the elements themselves are going to be removed.
  57277. const SKIP_TRAVERSING_CONTENT_IF_INVALID_ELEMENTS = tagSet('script,style,template');
  57278. /**
  57279. * SanitizingHtmlSerializer serializes a DOM fragment, stripping out any unsafe elements and unsafe
  57280. * attributes.
  57281. */
  57282. class SanitizingHtmlSerializer {
  57283. constructor() {
  57284. // Explicitly track if something was stripped, to avoid accidentally warning of sanitization just
  57285. // because characters were re-encoded.
  57286. this.sanitizedSomething = false;
  57287. this.buf = [];
  57288. }
  57289. sanitizeChildren(el) {
  57290. // This cannot use a TreeWalker, as it has to run on Angular's various DOM adapters.
  57291. // However this code never accesses properties off of `document` before deleting its contents
  57292. // again, so it shouldn't be vulnerable to DOM clobbering.
  57293. let current = el.firstChild;
  57294. let traverseContent = true;
  57295. while (current) {
  57296. if (current.nodeType === Node.ELEMENT_NODE) {
  57297. traverseContent = this.startElement(current);
  57298. } else if (current.nodeType === Node.TEXT_NODE) {
  57299. this.chars(current.nodeValue);
  57300. } else {
  57301. // Strip non-element, non-text nodes.
  57302. this.sanitizedSomething = true;
  57303. }
  57304. if (traverseContent && current.firstChild) {
  57305. current = current.firstChild;
  57306. continue;
  57307. }
  57308. while (current) {
  57309. // Leaving the element. Walk up and to the right, closing tags as we go.
  57310. if (current.nodeType === Node.ELEMENT_NODE) {
  57311. this.endElement(current);
  57312. }
  57313. let next = this.checkClobberedElement(current, current.nextSibling);
  57314. if (next) {
  57315. current = next;
  57316. break;
  57317. }
  57318. current = this.checkClobberedElement(current, current.parentNode);
  57319. }
  57320. }
  57321. return this.buf.join('');
  57322. }
  57323. /**
  57324. * Sanitizes an opening element tag (if valid) and returns whether the element's contents should
  57325. * be traversed. Element content must always be traversed (even if the element itself is not
  57326. * valid/safe), unless the element is one of `SKIP_TRAVERSING_CONTENT_IF_INVALID_ELEMENTS`.
  57327. *
  57328. * @param element The element to sanitize.
  57329. * @return True if the element's contents should be traversed.
  57330. */
  57331. startElement(element) {
  57332. const tagName = element.nodeName.toLowerCase();
  57333. if (!VALID_ELEMENTS.hasOwnProperty(tagName)) {
  57334. this.sanitizedSomething = true;
  57335. return !SKIP_TRAVERSING_CONTENT_IF_INVALID_ELEMENTS.hasOwnProperty(tagName);
  57336. }
  57337. this.buf.push('<');
  57338. this.buf.push(tagName);
  57339. const elAttrs = element.attributes;
  57340. for (let i = 0; i < elAttrs.length; i++) {
  57341. const elAttr = elAttrs.item(i);
  57342. const attrName = elAttr.name;
  57343. const lower = attrName.toLowerCase();
  57344. if (!VALID_ATTRS.hasOwnProperty(lower)) {
  57345. this.sanitizedSomething = true;
  57346. continue;
  57347. }
  57348. let value = elAttr.value; // TODO(martinprobst): Special case image URIs for data:image/...
  57349. if (URI_ATTRS[lower]) value = _sanitizeUrl(value);
  57350. this.buf.push(' ', attrName, '="', encodeEntities(value), '"');
  57351. }
  57352. this.buf.push('>');
  57353. return true;
  57354. }
  57355. endElement(current) {
  57356. const tagName = current.nodeName.toLowerCase();
  57357. if (VALID_ELEMENTS.hasOwnProperty(tagName) && !VOID_ELEMENTS.hasOwnProperty(tagName)) {
  57358. this.buf.push('</');
  57359. this.buf.push(tagName);
  57360. this.buf.push('>');
  57361. }
  57362. }
  57363. chars(chars) {
  57364. this.buf.push(encodeEntities(chars));
  57365. }
  57366. checkClobberedElement(node, nextNode) {
  57367. if (nextNode && (node.compareDocumentPosition(nextNode) & Node.DOCUMENT_POSITION_CONTAINED_BY) === Node.DOCUMENT_POSITION_CONTAINED_BY) {
  57368. throw new Error(`Failed to sanitize html because the element is clobbered: ${node.outerHTML}`);
  57369. }
  57370. return nextNode;
  57371. }
  57372. } // Regular Expressions for parsing tags and attributes
  57373. const SURROGATE_PAIR_REGEXP = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g; // ! to ~ is the ASCII range.
  57374. const NON_ALPHANUMERIC_REGEXP = /([^\#-~ |!])/g;
  57375. /**
  57376. * Escapes all potentially dangerous characters, so that the
  57377. * resulting string can be safely inserted into attribute or
  57378. * element text.
  57379. * @param value
  57380. */
  57381. function encodeEntities(value) {
  57382. return value.replace(/&/g, '&amp;').replace(SURROGATE_PAIR_REGEXP, function (match) {
  57383. const hi = match.charCodeAt(0);
  57384. const low = match.charCodeAt(1);
  57385. return '&#' + ((hi - 0xD800) * 0x400 + (low - 0xDC00) + 0x10000) + ';';
  57386. }).replace(NON_ALPHANUMERIC_REGEXP, function (match) {
  57387. return '&#' + match.charCodeAt(0) + ';';
  57388. }).replace(/</g, '&lt;').replace(/>/g, '&gt;');
  57389. }
  57390. let inertBodyHelper;
  57391. /**
  57392. * Sanitizes the given unsafe, untrusted HTML fragment, and returns HTML text that is safe to add to
  57393. * the DOM in a browser environment.
  57394. */
  57395. function _sanitizeHtml(defaultDoc, unsafeHtmlInput) {
  57396. let inertBodyElement = null;
  57397. try {
  57398. inertBodyHelper = inertBodyHelper || getInertBodyHelper(defaultDoc); // Make sure unsafeHtml is actually a string (TypeScript types are not enforced at runtime).
  57399. let unsafeHtml = unsafeHtmlInput ? String(unsafeHtmlInput) : '';
  57400. inertBodyElement = inertBodyHelper.getInertBodyElement(unsafeHtml); // mXSS protection. Repeatedly parse the document to make sure it stabilizes, so that a browser
  57401. // trying to auto-correct incorrect HTML cannot cause formerly inert HTML to become dangerous.
  57402. let mXSSAttempts = 5;
  57403. let parsedHtml = unsafeHtml;
  57404. do {
  57405. if (mXSSAttempts === 0) {
  57406. throw new Error('Failed to sanitize html because the input is unstable');
  57407. }
  57408. mXSSAttempts--;
  57409. unsafeHtml = parsedHtml;
  57410. parsedHtml = inertBodyElement.innerHTML;
  57411. inertBodyElement = inertBodyHelper.getInertBodyElement(unsafeHtml);
  57412. } while (unsafeHtml !== parsedHtml);
  57413. const sanitizer = new SanitizingHtmlSerializer();
  57414. const safeHtml = sanitizer.sanitizeChildren(getTemplateContent(inertBodyElement) || inertBodyElement);
  57415. if ((typeof ngDevMode === 'undefined' || ngDevMode) && sanitizer.sanitizedSomething) {
  57416. console.warn('WARNING: sanitizing HTML stripped some content, see https://g.co/ng/security#xss');
  57417. }
  57418. return trustedHTMLFromString(safeHtml);
  57419. } finally {
  57420. // In case anything goes wrong, clear out inertElement to reset the entire DOM structure.
  57421. if (inertBodyElement) {
  57422. const parent = getTemplateContent(inertBodyElement) || inertBodyElement;
  57423. while (parent.firstChild) {
  57424. parent.removeChild(parent.firstChild);
  57425. }
  57426. }
  57427. }
  57428. }
  57429. function getTemplateContent(el) {
  57430. return 'content' in el
  57431. /** Microsoft/TypeScript#21517 */
  57432. && isTemplateElement(el) ? el.content : null;
  57433. }
  57434. function isTemplateElement(el) {
  57435. return el.nodeType === Node.ELEMENT_NODE && el.nodeName === 'TEMPLATE';
  57436. }
  57437. /**
  57438. * @license
  57439. * Copyright Google LLC All Rights Reserved.
  57440. *
  57441. * Use of this source code is governed by an MIT-style license that can be
  57442. * found in the LICENSE file at https://angular.io/license
  57443. */
  57444. /**
  57445. * A SecurityContext marks a location that has dangerous security implications, e.g. a DOM property
  57446. * like `innerHTML` that could cause Cross Site Scripting (XSS) security bugs when improperly
  57447. * handled.
  57448. *
  57449. * See DomSanitizer for more details on security in Angular applications.
  57450. *
  57451. * @publicApi
  57452. */
  57453. var SecurityContext;
  57454. (function (SecurityContext) {
  57455. SecurityContext[SecurityContext["NONE"] = 0] = "NONE";
  57456. SecurityContext[SecurityContext["HTML"] = 1] = "HTML";
  57457. SecurityContext[SecurityContext["STYLE"] = 2] = "STYLE";
  57458. SecurityContext[SecurityContext["SCRIPT"] = 3] = "SCRIPT";
  57459. SecurityContext[SecurityContext["URL"] = 4] = "URL";
  57460. SecurityContext[SecurityContext["RESOURCE_URL"] = 5] = "RESOURCE_URL";
  57461. })(SecurityContext || (SecurityContext = {}));
  57462. /**
  57463. * @license
  57464. * Copyright Google LLC All Rights Reserved.
  57465. *
  57466. * Use of this source code is governed by an MIT-style license that can be
  57467. * found in the LICENSE file at https://angular.io/license
  57468. */
  57469. /**
  57470. * An `html` sanitizer which converts untrusted `html` **string** into trusted string by removing
  57471. * dangerous content.
  57472. *
  57473. * This method parses the `html` and locates potentially dangerous content (such as urls and
  57474. * javascript) and removes it.
  57475. *
  57476. * It is possible to mark a string as trusted by calling {@link bypassSanitizationTrustHtml}.
  57477. *
  57478. * @param unsafeHtml untrusted `html`, typically from the user.
  57479. * @returns `html` string which is safe to display to user, because all of the dangerous javascript
  57480. * and urls have been removed.
  57481. *
  57482. * @codeGenApi
  57483. */
  57484. function ɵɵsanitizeHtml(unsafeHtml) {
  57485. const sanitizer = getSanitizer();
  57486. if (sanitizer) {
  57487. return trustedHTMLFromStringBypass(sanitizer.sanitize(SecurityContext.HTML, unsafeHtml) || '');
  57488. }
  57489. if (allowSanitizationBypassAndThrow(unsafeHtml, "HTML"
  57490. /* BypassType.Html */
  57491. )) {
  57492. return trustedHTMLFromStringBypass(unwrapSafeValue(unsafeHtml));
  57493. }
  57494. return _sanitizeHtml(getDocument(), renderStringify(unsafeHtml));
  57495. }
  57496. /**
  57497. * A `style` sanitizer which converts untrusted `style` **string** into trusted string by removing
  57498. * dangerous content.
  57499. *
  57500. * It is possible to mark a string as trusted by calling {@link bypassSanitizationTrustStyle}.
  57501. *
  57502. * @param unsafeStyle untrusted `style`, typically from the user.
  57503. * @returns `style` string which is safe to bind to the `style` properties.
  57504. *
  57505. * @codeGenApi
  57506. */
  57507. function ɵɵsanitizeStyle(unsafeStyle) {
  57508. const sanitizer = getSanitizer();
  57509. if (sanitizer) {
  57510. return sanitizer.sanitize(SecurityContext.STYLE, unsafeStyle) || '';
  57511. }
  57512. if (allowSanitizationBypassAndThrow(unsafeStyle, "Style"
  57513. /* BypassType.Style */
  57514. )) {
  57515. return unwrapSafeValue(unsafeStyle);
  57516. }
  57517. return renderStringify(unsafeStyle);
  57518. }
  57519. /**
  57520. * A `url` sanitizer which converts untrusted `url` **string** into trusted string by removing
  57521. * dangerous
  57522. * content.
  57523. *
  57524. * This method parses the `url` and locates potentially dangerous content (such as javascript) and
  57525. * removes it.
  57526. *
  57527. * It is possible to mark a string as trusted by calling {@link bypassSanitizationTrustUrl}.
  57528. *
  57529. * @param unsafeUrl untrusted `url`, typically from the user.
  57530. * @returns `url` string which is safe to bind to the `src` properties such as `<img src>`, because
  57531. * all of the dangerous javascript has been removed.
  57532. *
  57533. * @codeGenApi
  57534. */
  57535. function ɵɵsanitizeUrl(unsafeUrl) {
  57536. const sanitizer = getSanitizer();
  57537. if (sanitizer) {
  57538. return sanitizer.sanitize(SecurityContext.URL, unsafeUrl) || '';
  57539. }
  57540. if (allowSanitizationBypassAndThrow(unsafeUrl, "URL"
  57541. /* BypassType.Url */
  57542. )) {
  57543. return unwrapSafeValue(unsafeUrl);
  57544. }
  57545. return _sanitizeUrl(renderStringify(unsafeUrl));
  57546. }
  57547. /**
  57548. * A `url` sanitizer which only lets trusted `url`s through.
  57549. *
  57550. * This passes only `url`s marked trusted by calling {@link bypassSanitizationTrustResourceUrl}.
  57551. *
  57552. * @param unsafeResourceUrl untrusted `url`, typically from the user.
  57553. * @returns `url` string which is safe to bind to the `src` properties such as `<img src>`, because
  57554. * only trusted `url`s have been allowed to pass.
  57555. *
  57556. * @codeGenApi
  57557. */
  57558. function ɵɵsanitizeResourceUrl(unsafeResourceUrl) {
  57559. const sanitizer = getSanitizer();
  57560. if (sanitizer) {
  57561. return trustedScriptURLFromStringBypass(sanitizer.sanitize(SecurityContext.RESOURCE_URL, unsafeResourceUrl) || '');
  57562. }
  57563. if (allowSanitizationBypassAndThrow(unsafeResourceUrl, "ResourceURL"
  57564. /* BypassType.ResourceUrl */
  57565. )) {
  57566. return trustedScriptURLFromStringBypass(unwrapSafeValue(unsafeResourceUrl));
  57567. }
  57568. throw new RuntimeError(904
  57569. /* RuntimeErrorCode.UNSAFE_VALUE_IN_RESOURCE_URL */
  57570. , ngDevMode && 'unsafe value used in a resource URL context (see https://g.co/ng/security#xss)');
  57571. }
  57572. /**
  57573. * A `script` sanitizer which only lets trusted javascript through.
  57574. *
  57575. * This passes only `script`s marked trusted by calling {@link
  57576. * bypassSanitizationTrustScript}.
  57577. *
  57578. * @param unsafeScript untrusted `script`, typically from the user.
  57579. * @returns `url` string which is safe to bind to the `<script>` element such as `<img src>`,
  57580. * because only trusted `scripts` have been allowed to pass.
  57581. *
  57582. * @codeGenApi
  57583. */
  57584. function ɵɵsanitizeScript(unsafeScript) {
  57585. const sanitizer = getSanitizer();
  57586. if (sanitizer) {
  57587. return trustedScriptFromStringBypass(sanitizer.sanitize(SecurityContext.SCRIPT, unsafeScript) || '');
  57588. }
  57589. if (allowSanitizationBypassAndThrow(unsafeScript, "Script"
  57590. /* BypassType.Script */
  57591. )) {
  57592. return trustedScriptFromStringBypass(unwrapSafeValue(unsafeScript));
  57593. }
  57594. throw new RuntimeError(905
  57595. /* RuntimeErrorCode.UNSAFE_VALUE_IN_SCRIPT */
  57596. , ngDevMode && 'unsafe value used in a script context');
  57597. }
  57598. /**
  57599. * A template tag function for promoting the associated constant literal to a
  57600. * TrustedHTML. Interpolation is explicitly not allowed.
  57601. *
  57602. * @param html constant template literal containing trusted HTML.
  57603. * @returns TrustedHTML wrapping `html`.
  57604. *
  57605. * @security This is a security-sensitive function and should only be used to
  57606. * convert constant values of attributes and properties found in
  57607. * application-provided Angular templates to TrustedHTML.
  57608. *
  57609. * @codeGenApi
  57610. */
  57611. function ɵɵtrustConstantHtml(html) {
  57612. // The following runtime check ensures that the function was called as a
  57613. // template tag (e.g. ɵɵtrustConstantHtml`content`), without any interpolation
  57614. // (e.g. not ɵɵtrustConstantHtml`content ${variable}`). A TemplateStringsArray
  57615. // is an array with a `raw` property that is also an array. The associated
  57616. // template literal has no interpolation if and only if the length of the
  57617. // TemplateStringsArray is 1.
  57618. if (ngDevMode && (!Array.isArray(html) || !Array.isArray(html.raw) || html.length !== 1)) {
  57619. throw new Error(`Unexpected interpolation in trusted HTML constant: ${html.join('?')}`);
  57620. }
  57621. return trustedHTMLFromString(html[0]);
  57622. }
  57623. /**
  57624. * A template tag function for promoting the associated constant literal to a
  57625. * TrustedScriptURL. Interpolation is explicitly not allowed.
  57626. *
  57627. * @param url constant template literal containing a trusted script URL.
  57628. * @returns TrustedScriptURL wrapping `url`.
  57629. *
  57630. * @security This is a security-sensitive function and should only be used to
  57631. * convert constant values of attributes and properties found in
  57632. * application-provided Angular templates to TrustedScriptURL.
  57633. *
  57634. * @codeGenApi
  57635. */
  57636. function ɵɵtrustConstantResourceUrl(url) {
  57637. // The following runtime check ensures that the function was called as a
  57638. // template tag (e.g. ɵɵtrustConstantResourceUrl`content`), without any
  57639. // interpolation (e.g. not ɵɵtrustConstantResourceUrl`content ${variable}`). A
  57640. // TemplateStringsArray is an array with a `raw` property that is also an
  57641. // array. The associated template literal has no interpolation if and only if
  57642. // the length of the TemplateStringsArray is 1.
  57643. if (ngDevMode && (!Array.isArray(url) || !Array.isArray(url.raw) || url.length !== 1)) {
  57644. throw new Error(`Unexpected interpolation in trusted URL constant: ${url.join('?')}`);
  57645. }
  57646. return trustedScriptURLFromString(url[0]);
  57647. }
  57648. /**
  57649. * Detects which sanitizer to use for URL property, based on tag name and prop name.
  57650. *
  57651. * The rules are based on the RESOURCE_URL context config from
  57652. * `packages/compiler/src/schema/dom_security_schema.ts`.
  57653. * If tag and prop names don't match Resource URL schema, use URL sanitizer.
  57654. */
  57655. function getUrlSanitizer(tag, prop) {
  57656. if (prop === 'src' && (tag === 'embed' || tag === 'frame' || tag === 'iframe' || tag === 'media' || tag === 'script') || prop === 'href' && (tag === 'base' || tag === 'link')) {
  57657. return ɵɵsanitizeResourceUrl;
  57658. }
  57659. return ɵɵsanitizeUrl;
  57660. }
  57661. /**
  57662. * Sanitizes URL, selecting sanitizer function based on tag and property names.
  57663. *
  57664. * This function is used in case we can't define security context at compile time, when only prop
  57665. * name is available. This happens when we generate host bindings for Directives/Components. The
  57666. * host element is unknown at compile time, so we defer calculation of specific sanitizer to
  57667. * runtime.
  57668. *
  57669. * @param unsafeUrl untrusted `url`, typically from the user.
  57670. * @param tag target element tag name.
  57671. * @param prop name of the property that contains the value.
  57672. * @returns `url` string which is safe to bind.
  57673. *
  57674. * @codeGenApi
  57675. */
  57676. function ɵɵsanitizeUrlOrResourceUrl(unsafeUrl, tag, prop) {
  57677. return getUrlSanitizer(tag, prop)(unsafeUrl);
  57678. }
  57679. function validateAgainstEventProperties(name) {
  57680. if (name.toLowerCase().startsWith('on')) {
  57681. const errorMessage = `Binding to event property '${name}' is disallowed for security reasons, ` + `please use (${name.slice(2)})=...` + `\nIf '${name}' is a directive input, make sure the directive is imported by the` + ` current module.`;
  57682. throw new RuntimeError(306
  57683. /* RuntimeErrorCode.INVALID_EVENT_BINDING */
  57684. , errorMessage);
  57685. }
  57686. }
  57687. function validateAgainstEventAttributes(name) {
  57688. if (name.toLowerCase().startsWith('on')) {
  57689. const errorMessage = `Binding to event attribute '${name}' is disallowed for security reasons, ` + `please use (${name.slice(2)})=...`;
  57690. throw new RuntimeError(306
  57691. /* RuntimeErrorCode.INVALID_EVENT_BINDING */
  57692. , errorMessage);
  57693. }
  57694. }
  57695. function getSanitizer() {
  57696. const lView = getLView();
  57697. return lView && lView[SANITIZER];
  57698. }
  57699. /**
  57700. * @license
  57701. * Copyright Google LLC All Rights Reserved.
  57702. *
  57703. * Use of this source code is governed by an MIT-style license that can be
  57704. * found in the LICENSE file at https://angular.io/license
  57705. */
  57706. /**
  57707. * A multi-provider token for initialization functions that will run upon construction of an
  57708. * environment injector.
  57709. *
  57710. * @publicApi
  57711. */
  57712. const ENVIRONMENT_INITIALIZER = new InjectionToken('ENVIRONMENT_INITIALIZER');
  57713. /**
  57714. * @license
  57715. * Copyright Google LLC All Rights Reserved.
  57716. *
  57717. * Use of this source code is governed by an MIT-style license that can be
  57718. * found in the LICENSE file at https://angular.io/license
  57719. */
  57720. /**
  57721. * An InjectionToken that gets the current `Injector` for `createInjector()`-style injectors.
  57722. *
  57723. * Requesting this token instead of `Injector` allows `StaticInjector` to be tree-shaken from a
  57724. * project.
  57725. *
  57726. * @publicApi
  57727. */
  57728. const INJECTOR = new InjectionToken('INJECTOR', // Disable tslint because this is const enum which gets inlined not top level prop access.
  57729. // tslint:disable-next-line: no-toplevel-property-access
  57730. -1
  57731. /* InjectorMarkers.Injector */
  57732. );
  57733. /**
  57734. * @license
  57735. * Copyright Google LLC All Rights Reserved.
  57736. *
  57737. * Use of this source code is governed by an MIT-style license that can be
  57738. * found in the LICENSE file at https://angular.io/license
  57739. */
  57740. const INJECTOR_DEF_TYPES = new InjectionToken('INJECTOR_DEF_TYPES');
  57741. /**
  57742. * @license
  57743. * Copyright Google LLC All Rights Reserved.
  57744. *
  57745. * Use of this source code is governed by an MIT-style license that can be
  57746. * found in the LICENSE file at https://angular.io/license
  57747. */
  57748. class NullInjector {
  57749. get(token, notFoundValue = THROW_IF_NOT_FOUND) {
  57750. if (notFoundValue === THROW_IF_NOT_FOUND) {
  57751. const error = new Error(`NullInjectorError: No provider for ${stringify(token)}!`);
  57752. error.name = 'NullInjectorError';
  57753. throw error;
  57754. }
  57755. return notFoundValue;
  57756. }
  57757. }
  57758. /**
  57759. * @license
  57760. * Copyright Google LLC All Rights Reserved.
  57761. *
  57762. * Use of this source code is governed by an MIT-style license that can be
  57763. * found in the LICENSE file at https://angular.io/license
  57764. */
  57765. /**
  57766. * @license
  57767. * Copyright Google LLC All Rights Reserved.
  57768. *
  57769. * Use of this source code is governed by an MIT-style license that can be
  57770. * found in the LICENSE file at https://angular.io/license
  57771. */
  57772. /**
  57773. * Collects providers from all NgModules and standalone components, including transitively imported
  57774. * ones.
  57775. *
  57776. * Providers extracted via `importProvidersFrom` are only usable in an application injector or
  57777. * another environment injector (such as a route injector). They should not be used in component
  57778. * providers.
  57779. *
  57780. * More information about standalone components can be found in [this
  57781. * guide](guide/standalone-components).
  57782. *
  57783. * @usageNotes
  57784. * The results of the `importProvidersFrom` call can be used in the `bootstrapApplication` call:
  57785. *
  57786. * ```typescript
  57787. * await bootstrapApplication(RootComponent, {
  57788. * providers: [
  57789. * importProvidersFrom(NgModuleOne, NgModuleTwo)
  57790. * ]
  57791. * });
  57792. * ```
  57793. *
  57794. * You can also use the `importProvidersFrom` results in the `providers` field of a route, when a
  57795. * standalone component is used:
  57796. *
  57797. * ```typescript
  57798. * export const ROUTES: Route[] = [
  57799. * {
  57800. * path: 'foo',
  57801. * providers: [
  57802. * importProvidersFrom(NgModuleOne, NgModuleTwo)
  57803. * ],
  57804. * component: YourStandaloneComponent
  57805. * }
  57806. * ];
  57807. * ```
  57808. *
  57809. * @returns Collected providers from the specified list of types.
  57810. * @publicApi
  57811. * @developerPreview
  57812. */
  57813. function importProvidersFrom(...sources) {
  57814. return {
  57815. ɵproviders: internalImportProvidersFrom(true, sources)
  57816. };
  57817. }
  57818. function internalImportProvidersFrom(checkForStandaloneCmp, ...sources) {
  57819. const providersOut = [];
  57820. const dedup = new Set(); // already seen types
  57821. let injectorTypesWithProviders;
  57822. deepForEach(sources, source => {
  57823. if ((typeof ngDevMode === 'undefined' || ngDevMode) && checkForStandaloneCmp) {
  57824. const cmpDef = getComponentDef(source);
  57825. if (cmpDef === null || cmpDef === void 0 ? void 0 : cmpDef.standalone) {
  57826. throw new RuntimeError(800
  57827. /* RuntimeErrorCode.IMPORT_PROVIDERS_FROM_STANDALONE */
  57828. , `Importing providers supports NgModule or ModuleWithProviders but got a standalone component "${stringifyForError(source)}"`);
  57829. }
  57830. } // Narrow `source` to access the internal type analogue for `ModuleWithProviders`.
  57831. const internalSource = source;
  57832. if (walkProviderTree(internalSource, providersOut, [], dedup)) {
  57833. injectorTypesWithProviders || (injectorTypesWithProviders = []);
  57834. injectorTypesWithProviders.push(internalSource);
  57835. }
  57836. }); // Collect all providers from `ModuleWithProviders` types.
  57837. if (injectorTypesWithProviders !== undefined) {
  57838. processInjectorTypesWithProviders(injectorTypesWithProviders, providersOut);
  57839. }
  57840. return providersOut;
  57841. }
  57842. /**
  57843. * Collects all providers from the list of `ModuleWithProviders` and appends them to the provided
  57844. * array.
  57845. */
  57846. function processInjectorTypesWithProviders(typesWithProviders, providersOut) {
  57847. for (let i = 0; i < typesWithProviders.length; i++) {
  57848. const {
  57849. ngModule,
  57850. providers
  57851. } = typesWithProviders[i];
  57852. deepForEach(providers, provider => {
  57853. ngDevMode && validateProvider(provider, providers || EMPTY_ARRAY, ngModule);
  57854. providersOut.push(provider);
  57855. });
  57856. }
  57857. }
  57858. /**
  57859. * The logic visits an `InjectorType`, an `InjectorTypeWithProviders`, or a standalone
  57860. * `ComponentType`, and all of its transitive providers and collects providers.
  57861. *
  57862. * If an `InjectorTypeWithProviders` that declares providers besides the type is specified,
  57863. * the function will return "true" to indicate that the providers of the type definition need
  57864. * to be processed. This allows us to process providers of injector types after all imports of
  57865. * an injector definition are processed. (following View Engine semantics: see FW-1349)
  57866. */
  57867. function walkProviderTree(container, providersOut, parents, dedup) {
  57868. container = resolveForwardRef(container);
  57869. if (!container) return false; // The actual type which had the definition. Usually `container`, but may be an unwrapped type
  57870. // from `InjectorTypeWithProviders`.
  57871. let defType = null;
  57872. let injDef = getInjectorDef(container);
  57873. const cmpDef = !injDef && getComponentDef(container);
  57874. if (!injDef && !cmpDef) {
  57875. // `container` is not an injector type or a component type. It might be:
  57876. // * An `InjectorTypeWithProviders` that wraps an injector type.
  57877. // * A standalone directive or pipe that got pulled in from a standalone component's
  57878. // dependencies.
  57879. // Try to unwrap it as an `InjectorTypeWithProviders` first.
  57880. const ngModule = container.ngModule;
  57881. injDef = getInjectorDef(ngModule);
  57882. if (injDef) {
  57883. defType = ngModule;
  57884. } else {
  57885. // Not a component or injector type, so ignore it.
  57886. return false;
  57887. }
  57888. } else if (cmpDef && !cmpDef.standalone) {
  57889. return false;
  57890. } else {
  57891. defType = container;
  57892. } // Check for circular dependencies.
  57893. if (ngDevMode && parents.indexOf(defType) !== -1) {
  57894. const defName = stringify(defType);
  57895. const path = parents.map(stringify);
  57896. throwCyclicDependencyError(defName, path);
  57897. } // Check for multiple imports of the same module
  57898. const isDuplicate = dedup.has(defType);
  57899. if (cmpDef) {
  57900. if (isDuplicate) {
  57901. // This component definition has already been processed.
  57902. return false;
  57903. }
  57904. dedup.add(defType);
  57905. if (cmpDef.dependencies) {
  57906. const deps = typeof cmpDef.dependencies === 'function' ? cmpDef.dependencies() : cmpDef.dependencies;
  57907. for (const dep of deps) {
  57908. walkProviderTree(dep, providersOut, parents, dedup);
  57909. }
  57910. }
  57911. } else if (injDef) {
  57912. // First, include providers from any imports.
  57913. if (injDef.imports != null && !isDuplicate) {
  57914. // Before processing defType's imports, add it to the set of parents. This way, if it ends
  57915. // up deeply importing itself, this can be detected.
  57916. ngDevMode && parents.push(defType); // Add it to the set of dedups. This way we can detect multiple imports of the same module
  57917. dedup.add(defType);
  57918. let importTypesWithProviders;
  57919. try {
  57920. deepForEach(injDef.imports, imported => {
  57921. if (walkProviderTree(imported, providersOut, parents, dedup)) {
  57922. importTypesWithProviders || (importTypesWithProviders = []); // If the processed import is an injector type with providers, we store it in the
  57923. // list of import types with providers, so that we can process those afterwards.
  57924. importTypesWithProviders.push(imported);
  57925. }
  57926. });
  57927. } finally {
  57928. // Remove it from the parents set when finished.
  57929. ngDevMode && parents.pop();
  57930. } // Imports which are declared with providers (TypeWithProviders) need to be processed
  57931. // after all imported modules are processed. This is similar to how View Engine
  57932. // processes/merges module imports in the metadata resolver. See: FW-1349.
  57933. if (importTypesWithProviders !== undefined) {
  57934. processInjectorTypesWithProviders(importTypesWithProviders, providersOut);
  57935. }
  57936. }
  57937. if (!isDuplicate) {
  57938. // Track the InjectorType and add a provider for it.
  57939. // It's important that this is done after the def's imports.
  57940. const factory = getFactoryDef(defType) || (() => new defType()); // Append extra providers to make more info available for consumers (to retrieve an injector
  57941. // type), as well as internally (to calculate an injection scope correctly and eagerly
  57942. // instantiate a `defType` when an injector is created).
  57943. providersOut.push( // Provider to create `defType` using its factory.
  57944. {
  57945. provide: defType,
  57946. useFactory: factory,
  57947. deps: EMPTY_ARRAY
  57948. }, // Make this `defType` available to an internal logic that calculates injector scope.
  57949. {
  57950. provide: INJECTOR_DEF_TYPES,
  57951. useValue: defType,
  57952. multi: true
  57953. }, // Provider to eagerly instantiate `defType` via `ENVIRONMENT_INITIALIZER`.
  57954. {
  57955. provide: ENVIRONMENT_INITIALIZER,
  57956. useValue: () => ɵɵinject(defType),
  57957. multi: true
  57958. } //
  57959. );
  57960. } // Next, include providers listed on the definition itself.
  57961. const defProviders = injDef.providers;
  57962. if (defProviders != null && !isDuplicate) {
  57963. const injectorType = container;
  57964. deepForEach(defProviders, provider => {
  57965. ngDevMode && validateProvider(provider, defProviders, injectorType);
  57966. providersOut.push(provider);
  57967. });
  57968. }
  57969. } else {
  57970. // Should not happen, but just in case.
  57971. return false;
  57972. }
  57973. return defType !== container && container.providers !== undefined;
  57974. }
  57975. function validateProvider(provider, providers, containerType) {
  57976. if (isTypeProvider(provider) || isValueProvider(provider) || isFactoryProvider(provider) || isExistingProvider(provider)) {
  57977. return;
  57978. } // Here we expect the provider to be a `useClass` provider (by elimination).
  57979. const classRef = resolveForwardRef(provider && (provider.useClass || provider.provide));
  57980. if (!classRef) {
  57981. throwInvalidProviderError(containerType, providers, provider);
  57982. }
  57983. }
  57984. const USE_VALUE$1 = getClosureSafeProperty({
  57985. provide: String,
  57986. useValue: getClosureSafeProperty
  57987. });
  57988. function isValueProvider(value) {
  57989. return value !== null && typeof value == 'object' && USE_VALUE$1 in value;
  57990. }
  57991. function isExistingProvider(value) {
  57992. return !!(value && value.useExisting);
  57993. }
  57994. function isFactoryProvider(value) {
  57995. return !!(value && value.useFactory);
  57996. }
  57997. function isTypeProvider(value) {
  57998. return typeof value === 'function';
  57999. }
  58000. function isClassProvider(value) {
  58001. return !!value.useClass;
  58002. }
  58003. /**
  58004. * @license
  58005. * Copyright Google LLC All Rights Reserved.
  58006. *
  58007. * Use of this source code is governed by an MIT-style license that can be
  58008. * found in the LICENSE file at https://angular.io/license
  58009. */
  58010. /**
  58011. * An internal token whose presence in an injector indicates that the injector should treat itself
  58012. * as a root scoped injector when processing requests for unknown tokens which may indicate
  58013. * they are provided in the root scope.
  58014. */
  58015. const INJECTOR_SCOPE = new InjectionToken('Set Injector scope.');
  58016. /**
  58017. * @license
  58018. * Copyright Google LLC All Rights Reserved.
  58019. *
  58020. * Use of this source code is governed by an MIT-style license that can be
  58021. * found in the LICENSE file at https://angular.io/license
  58022. */
  58023. /**
  58024. * Marker which indicates that a value has not yet been created from the factory function.
  58025. */
  58026. const NOT_YET = {};
  58027. /**
  58028. * Marker which indicates that the factory function for a token is in the process of being called.
  58029. *
  58030. * If the injector is asked to inject a token with its value set to CIRCULAR, that indicates
  58031. * injection of a dependency has recursively attempted to inject the original token, and there is
  58032. * a circular dependency among the providers.
  58033. */
  58034. const CIRCULAR = {};
  58035. /**
  58036. * A lazily initialized NullInjector.
  58037. */
  58038. let NULL_INJECTOR$1 = undefined;
  58039. function getNullInjector() {
  58040. if (NULL_INJECTOR$1 === undefined) {
  58041. NULL_INJECTOR$1 = new NullInjector();
  58042. }
  58043. return NULL_INJECTOR$1;
  58044. }
  58045. /**
  58046. * An `Injector` that's part of the environment injector hierarchy, which exists outside of the
  58047. * component tree.
  58048. *
  58049. * @developerPreview
  58050. */
  58051. class EnvironmentInjector {}
  58052. class R3Injector extends EnvironmentInjector {
  58053. constructor(providers, parent, source, scopes) {
  58054. super();
  58055. this.parent = parent;
  58056. this.source = source;
  58057. this.scopes = scopes;
  58058. /**
  58059. * Map of tokens to records which contain the instances of those tokens.
  58060. * - `null` value implies that we don't have the record. Used by tree-shakable injectors
  58061. * to prevent further searches.
  58062. */
  58063. this.records = new Map();
  58064. /**
  58065. * Set of values instantiated by this injector which contain `ngOnDestroy` lifecycle hooks.
  58066. */
  58067. this._ngOnDestroyHooks = new Set();
  58068. this._onDestroyHooks = [];
  58069. this._destroyed = false; // Start off by creating Records for every provider.
  58070. forEachSingleProvider(providers, provider => this.processProvider(provider)); // Make sure the INJECTOR token provides this injector.
  58071. this.records.set(INJECTOR, makeRecord(undefined, this)); // And `EnvironmentInjector` if the current injector is supposed to be env-scoped.
  58072. if (scopes.has('environment')) {
  58073. this.records.set(EnvironmentInjector, makeRecord(undefined, this));
  58074. } // Detect whether this injector has the APP_ROOT_SCOPE token and thus should provide
  58075. // any injectable scoped to APP_ROOT_SCOPE.
  58076. const record = this.records.get(INJECTOR_SCOPE);
  58077. if (record != null && typeof record.value === 'string') {
  58078. this.scopes.add(record.value);
  58079. }
  58080. this.injectorDefTypes = new Set(this.get(INJECTOR_DEF_TYPES.multi, EMPTY_ARRAY, InjectFlags.Self));
  58081. }
  58082. /**
  58083. * Flag indicating that this injector was previously destroyed.
  58084. */
  58085. get destroyed() {
  58086. return this._destroyed;
  58087. }
  58088. /**
  58089. * Destroy the injector and release references to every instance or provider associated with it.
  58090. *
  58091. * Also calls the `OnDestroy` lifecycle hooks of every instance that was created for which a
  58092. * hook was found.
  58093. */
  58094. destroy() {
  58095. this.assertNotDestroyed(); // Set destroyed = true first, in case lifecycle hooks re-enter destroy().
  58096. this._destroyed = true;
  58097. try {
  58098. // Call all the lifecycle hooks.
  58099. for (const service of this._ngOnDestroyHooks) {
  58100. service.ngOnDestroy();
  58101. }
  58102. for (const hook of this._onDestroyHooks) {
  58103. hook();
  58104. }
  58105. } finally {
  58106. // Release all references.
  58107. this.records.clear();
  58108. this._ngOnDestroyHooks.clear();
  58109. this.injectorDefTypes.clear();
  58110. this._onDestroyHooks.length = 0;
  58111. }
  58112. }
  58113. onDestroy(callback) {
  58114. this._onDestroyHooks.push(callback);
  58115. }
  58116. runInContext(fn) {
  58117. this.assertNotDestroyed();
  58118. const previousInjector = setCurrentInjector(this);
  58119. const previousInjectImplementation = setInjectImplementation(undefined);
  58120. try {
  58121. return fn();
  58122. } finally {
  58123. setCurrentInjector(previousInjector);
  58124. setInjectImplementation(previousInjectImplementation);
  58125. }
  58126. }
  58127. get(token, notFoundValue = THROW_IF_NOT_FOUND, flags = InjectFlags.Default) {
  58128. this.assertNotDestroyed(); // Set the injection context.
  58129. const previousInjector = setCurrentInjector(this);
  58130. const previousInjectImplementation = setInjectImplementation(undefined);
  58131. try {
  58132. // Check for the SkipSelf flag.
  58133. if (!(flags & InjectFlags.SkipSelf)) {
  58134. // SkipSelf isn't set, check if the record belongs to this injector.
  58135. let record = this.records.get(token);
  58136. if (record === undefined) {
  58137. // No record, but maybe the token is scoped to this injector. Look for an injectable
  58138. // def with a scope matching this injector.
  58139. const def = couldBeInjectableType(token) && getInjectableDef(token);
  58140. if (def && this.injectableDefInScope(def)) {
  58141. // Found an injectable def and it's scoped to this injector. Pretend as if it was here
  58142. // all along.
  58143. record = makeRecord(injectableDefOrInjectorDefFactory(token), NOT_YET);
  58144. } else {
  58145. record = null;
  58146. }
  58147. this.records.set(token, record);
  58148. } // If a record was found, get the instance for it and return it.
  58149. if (record != null
  58150. /* NOT null || undefined */
  58151. ) {
  58152. return this.hydrate(token, record);
  58153. }
  58154. } // Select the next injector based on the Self flag - if self is set, the next injector is
  58155. // the NullInjector, otherwise it's the parent.
  58156. const nextInjector = !(flags & InjectFlags.Self) ? this.parent : getNullInjector(); // Set the notFoundValue based on the Optional flag - if optional is set and notFoundValue
  58157. // is undefined, the value is null, otherwise it's the notFoundValue.
  58158. notFoundValue = flags & InjectFlags.Optional && notFoundValue === THROW_IF_NOT_FOUND ? null : notFoundValue;
  58159. return nextInjector.get(token, notFoundValue);
  58160. } catch (e) {
  58161. if (e.name === 'NullInjectorError') {
  58162. const path = e[NG_TEMP_TOKEN_PATH] = e[NG_TEMP_TOKEN_PATH] || [];
  58163. path.unshift(stringify(token));
  58164. if (previousInjector) {
  58165. // We still have a parent injector, keep throwing
  58166. throw e;
  58167. } else {
  58168. // Format & throw the final error message when we don't have any previous injector
  58169. return catchInjectorError(e, token, 'R3InjectorError', this.source);
  58170. }
  58171. } else {
  58172. throw e;
  58173. }
  58174. } finally {
  58175. // Lastly, restore the previous injection context.
  58176. setInjectImplementation(previousInjectImplementation);
  58177. setCurrentInjector(previousInjector);
  58178. }
  58179. }
  58180. /** @internal */
  58181. resolveInjectorInitializers() {
  58182. const previousInjector = setCurrentInjector(this);
  58183. const previousInjectImplementation = setInjectImplementation(undefined);
  58184. try {
  58185. const initializers = this.get(ENVIRONMENT_INITIALIZER.multi, EMPTY_ARRAY, InjectFlags.Self);
  58186. if (ngDevMode && !Array.isArray(initializers)) {
  58187. throw new RuntimeError(209
  58188. /* RuntimeErrorCode.INVALID_MULTI_PROVIDER */
  58189. , 'Unexpected type of the `ENVIRONMENT_INITIALIZER` token value ' + `(expected an array, but got ${typeof initializers}). ` + 'Please check that the `ENVIRONMENT_INITIALIZER` token is configured as a ' + '`multi: true` provider.');
  58190. }
  58191. for (const initializer of initializers) {
  58192. initializer();
  58193. }
  58194. } finally {
  58195. setCurrentInjector(previousInjector);
  58196. setInjectImplementation(previousInjectImplementation);
  58197. }
  58198. }
  58199. toString() {
  58200. const tokens = [];
  58201. const records = this.records;
  58202. for (const token of records.keys()) {
  58203. tokens.push(stringify(token));
  58204. }
  58205. return `R3Injector[${tokens.join(', ')}]`;
  58206. }
  58207. assertNotDestroyed() {
  58208. if (this._destroyed) {
  58209. throw new RuntimeError(205
  58210. /* RuntimeErrorCode.INJECTOR_ALREADY_DESTROYED */
  58211. , ngDevMode && 'Injector has already been destroyed.');
  58212. }
  58213. }
  58214. /**
  58215. * Process a `SingleProvider` and add it.
  58216. */
  58217. processProvider(provider) {
  58218. // Determine the token from the provider. Either it's its own token, or has a {provide: ...}
  58219. // property.
  58220. provider = resolveForwardRef(provider);
  58221. let token = isTypeProvider(provider) ? provider : resolveForwardRef(provider && provider.provide); // Construct a `Record` for the provider.
  58222. const record = providerToRecord(provider);
  58223. if (!isTypeProvider(provider) && provider.multi === true) {
  58224. // If the provider indicates that it's a multi-provider, process it specially.
  58225. // First check whether it's been defined already.
  58226. let multiRecord = this.records.get(token);
  58227. if (multiRecord) {
  58228. // It has. Throw a nice error if
  58229. if (ngDevMode && multiRecord.multi === undefined) {
  58230. throwMixedMultiProviderError();
  58231. }
  58232. } else {
  58233. multiRecord = makeRecord(undefined, NOT_YET, true);
  58234. multiRecord.factory = () => injectArgs(multiRecord.multi);
  58235. this.records.set(token, multiRecord);
  58236. }
  58237. token = provider;
  58238. multiRecord.multi.push(provider);
  58239. } else {
  58240. const existing = this.records.get(token);
  58241. if (ngDevMode && existing && existing.multi !== undefined) {
  58242. throwMixedMultiProviderError();
  58243. }
  58244. }
  58245. this.records.set(token, record);
  58246. }
  58247. hydrate(token, record) {
  58248. if (ngDevMode && record.value === CIRCULAR) {
  58249. throwCyclicDependencyError(stringify(token));
  58250. } else if (record.value === NOT_YET) {
  58251. record.value = CIRCULAR;
  58252. record.value = record.factory();
  58253. }
  58254. if (typeof record.value === 'object' && record.value && hasOnDestroy(record.value)) {
  58255. this._ngOnDestroyHooks.add(record.value);
  58256. }
  58257. return record.value;
  58258. }
  58259. injectableDefInScope(def) {
  58260. if (!def.providedIn) {
  58261. return false;
  58262. }
  58263. const providedIn = resolveForwardRef(def.providedIn);
  58264. if (typeof providedIn === 'string') {
  58265. return providedIn === 'any' || this.scopes.has(providedIn);
  58266. } else {
  58267. return this.injectorDefTypes.has(providedIn);
  58268. }
  58269. }
  58270. }
  58271. function injectableDefOrInjectorDefFactory(token) {
  58272. // Most tokens will have an injectable def directly on them, which specifies a factory directly.
  58273. const injectableDef = getInjectableDef(token);
  58274. const factory = injectableDef !== null ? injectableDef.factory : getFactoryDef(token);
  58275. if (factory !== null) {
  58276. return factory;
  58277. } // InjectionTokens should have an injectable def (ɵprov) and thus should be handled above.
  58278. // If it's missing that, it's an error.
  58279. if (token instanceof InjectionToken) {
  58280. throw new RuntimeError(204
  58281. /* RuntimeErrorCode.INVALID_INJECTION_TOKEN */
  58282. , ngDevMode && `Token ${stringify(token)} is missing a ɵprov definition.`);
  58283. } // Undecorated types can sometimes be created if they have no constructor arguments.
  58284. if (token instanceof Function) {
  58285. return getUndecoratedInjectableFactory(token);
  58286. } // There was no way to resolve a factory for this token.
  58287. throw new RuntimeError(204
  58288. /* RuntimeErrorCode.INVALID_INJECTION_TOKEN */
  58289. , ngDevMode && 'unreachable');
  58290. }
  58291. function getUndecoratedInjectableFactory(token) {
  58292. // If the token has parameters then it has dependencies that we cannot resolve implicitly.
  58293. const paramLength = token.length;
  58294. if (paramLength > 0) {
  58295. const args = newArray(paramLength, '?');
  58296. throw new RuntimeError(204
  58297. /* RuntimeErrorCode.INVALID_INJECTION_TOKEN */
  58298. , ngDevMode && `Can't resolve all parameters for ${stringify(token)}: (${args.join(', ')}).`);
  58299. } // The constructor function appears to have no parameters.
  58300. // This might be because it inherits from a super-class. In which case, use an injectable
  58301. // def from an ancestor if there is one.
  58302. // Otherwise this really is a simple class with no dependencies, so return a factory that
  58303. // just instantiates the zero-arg constructor.
  58304. const inheritedInjectableDef = getInheritedInjectableDef(token);
  58305. if (inheritedInjectableDef !== null) {
  58306. return () => inheritedInjectableDef.factory(token);
  58307. } else {
  58308. return () => new token();
  58309. }
  58310. }
  58311. function providerToRecord(provider) {
  58312. if (isValueProvider(provider)) {
  58313. return makeRecord(undefined, provider.useValue);
  58314. } else {
  58315. const factory = providerToFactory(provider);
  58316. return makeRecord(factory, NOT_YET);
  58317. }
  58318. }
  58319. /**
  58320. * Converts a `SingleProvider` into a factory function.
  58321. *
  58322. * @param provider provider to convert to factory
  58323. */
  58324. function providerToFactory(provider, ngModuleType, providers) {
  58325. let factory = undefined;
  58326. if (ngDevMode && isImportedNgModuleProviders(provider)) {
  58327. throwInvalidProviderError(undefined, providers, provider);
  58328. }
  58329. if (isTypeProvider(provider)) {
  58330. const unwrappedProvider = resolveForwardRef(provider);
  58331. return getFactoryDef(unwrappedProvider) || injectableDefOrInjectorDefFactory(unwrappedProvider);
  58332. } else {
  58333. if (isValueProvider(provider)) {
  58334. factory = () => resolveForwardRef(provider.useValue);
  58335. } else if (isFactoryProvider(provider)) {
  58336. factory = () => provider.useFactory(...injectArgs(provider.deps || []));
  58337. } else if (isExistingProvider(provider)) {
  58338. factory = () => ɵɵinject(resolveForwardRef(provider.useExisting));
  58339. } else {
  58340. const classRef = resolveForwardRef(provider && (provider.useClass || provider.provide));
  58341. if (ngDevMode && !classRef) {
  58342. throwInvalidProviderError(ngModuleType, providers, provider);
  58343. }
  58344. if (hasDeps(provider)) {
  58345. factory = () => new classRef(...injectArgs(provider.deps));
  58346. } else {
  58347. return getFactoryDef(classRef) || injectableDefOrInjectorDefFactory(classRef);
  58348. }
  58349. }
  58350. }
  58351. return factory;
  58352. }
  58353. function makeRecord(factory, value, multi = false) {
  58354. return {
  58355. factory: factory,
  58356. value: value,
  58357. multi: multi ? [] : undefined
  58358. };
  58359. }
  58360. function hasDeps(value) {
  58361. return !!value.deps;
  58362. }
  58363. function hasOnDestroy(value) {
  58364. return value !== null && typeof value === 'object' && typeof value.ngOnDestroy === 'function';
  58365. }
  58366. function couldBeInjectableType(value) {
  58367. return typeof value === 'function' || typeof value === 'object' && value instanceof InjectionToken;
  58368. }
  58369. function isImportedNgModuleProviders(provider) {
  58370. return !!provider.ɵproviders;
  58371. }
  58372. function forEachSingleProvider(providers, fn) {
  58373. for (const provider of providers) {
  58374. if (Array.isArray(provider)) {
  58375. forEachSingleProvider(provider, fn);
  58376. } else if (isImportedNgModuleProviders(provider)) {
  58377. forEachSingleProvider(provider.ɵproviders, fn);
  58378. } else {
  58379. fn(provider);
  58380. }
  58381. }
  58382. }
  58383. /**
  58384. * @license
  58385. * Copyright Google LLC All Rights Reserved.
  58386. *
  58387. * Use of this source code is governed by an MIT-style license that can be
  58388. * found in the LICENSE file at https://angular.io/license
  58389. */
  58390. /**
  58391. * Represents a component created by a `ComponentFactory`.
  58392. * Provides access to the component instance and related objects,
  58393. * and provides the means of destroying the instance.
  58394. *
  58395. * @publicApi
  58396. */
  58397. class ComponentRef$1 {}
  58398. /**
  58399. * Base class for a factory that can create a component dynamically.
  58400. * Instantiate a factory for a given type of component with `resolveComponentFactory()`.
  58401. * Use the resulting `ComponentFactory.create()` method to create a component of that type.
  58402. *
  58403. * @see [Dynamic Components](guide/dynamic-component-loader)
  58404. *
  58405. * @publicApi
  58406. *
  58407. * @deprecated Angular no longer requires Component factories. Please use other APIs where
  58408. * Component class can be used directly.
  58409. */
  58410. class ComponentFactory$1 {}
  58411. /**
  58412. * @license
  58413. * Copyright Google LLC All Rights Reserved.
  58414. *
  58415. * Use of this source code is governed by an MIT-style license that can be
  58416. * found in the LICENSE file at https://angular.io/license
  58417. */
  58418. function noComponentFactoryError(component) {
  58419. const error = Error(`No component factory found for ${stringify(component)}. Did you add it to @NgModule.entryComponents?`);
  58420. error[ERROR_COMPONENT] = component;
  58421. return error;
  58422. }
  58423. const ERROR_COMPONENT = 'ngComponent';
  58424. function getComponent$1(error) {
  58425. return error[ERROR_COMPONENT];
  58426. }
  58427. class _NullComponentFactoryResolver {
  58428. resolveComponentFactory(component) {
  58429. throw noComponentFactoryError(component);
  58430. }
  58431. }
  58432. /**
  58433. * A simple registry that maps `Components` to generated `ComponentFactory` classes
  58434. * that can be used to create instances of components.
  58435. * Use to obtain the factory for a given component type,
  58436. * then use the factory's `create()` method to create a component of that type.
  58437. *
  58438. * Note: since v13, dynamic component creation via
  58439. * [`ViewContainerRef.createComponent`](api/core/ViewContainerRef#createComponent)
  58440. * does **not** require resolving component factory: component class can be used directly.
  58441. *
  58442. * @publicApi
  58443. *
  58444. * @deprecated Angular no longer requires Component factories. Please use other APIs where
  58445. * Component class can be used directly.
  58446. */
  58447. class ComponentFactoryResolver$1 {}
  58448. ComponentFactoryResolver$1.NULL = /* @__PURE__ */new _NullComponentFactoryResolver();
  58449. /**
  58450. * @license
  58451. * Copyright Google LLC All Rights Reserved.
  58452. *
  58453. * Use of this source code is governed by an MIT-style license that can be
  58454. * found in the LICENSE file at https://angular.io/license
  58455. */
  58456. /**
  58457. * Creates an ElementRef from the most recent node.
  58458. *
  58459. * @returns The ElementRef instance to use
  58460. */
  58461. function injectElementRef() {
  58462. return createElementRef(getCurrentTNode(), getLView());
  58463. }
  58464. /**
  58465. * Creates an ElementRef given a node.
  58466. *
  58467. * @param tNode The node for which you'd like an ElementRef
  58468. * @param lView The view to which the node belongs
  58469. * @returns The ElementRef instance to use
  58470. */
  58471. function createElementRef(tNode, lView) {
  58472. return new ElementRef(getNativeByTNode(tNode, lView));
  58473. }
  58474. /**
  58475. * A wrapper around a native element inside of a View.
  58476. *
  58477. * An `ElementRef` is backed by a render-specific element. In the browser, this is usually a DOM
  58478. * element.
  58479. *
  58480. * @security Permitting direct access to the DOM can make your application more vulnerable to
  58481. * XSS attacks. Carefully review any use of `ElementRef` in your code. For more detail, see the
  58482. * [Security Guide](https://g.co/ng/security).
  58483. *
  58484. * @publicApi
  58485. */
  58486. // Note: We don't expose things like `Injector`, `ViewContainer`, ... here,
  58487. // i.e. users have to ask for what they need. With that, we can build better analysis tools
  58488. // and could do better codegen in the future.
  58489. class ElementRef {
  58490. constructor(nativeElement) {
  58491. this.nativeElement = nativeElement;
  58492. }
  58493. }
  58494. /**
  58495. * @internal
  58496. * @nocollapse
  58497. */
  58498. ElementRef.__NG_ELEMENT_ID__ = injectElementRef;
  58499. /**
  58500. * Unwraps `ElementRef` and return the `nativeElement`.
  58501. *
  58502. * @param value value to unwrap
  58503. * @returns `nativeElement` if `ElementRef` otherwise returns value as is.
  58504. */
  58505. function unwrapElementRef(value) {
  58506. return value instanceof ElementRef ? value.nativeElement : value;
  58507. }
  58508. /**
  58509. * @license
  58510. * Copyright Google LLC All Rights Reserved.
  58511. *
  58512. * Use of this source code is governed by an MIT-style license that can be
  58513. * found in the LICENSE file at https://angular.io/license
  58514. */
  58515. const Renderer2Interceptor = new InjectionToken('Renderer2Interceptor');
  58516. /**
  58517. * Creates and initializes a custom renderer that implements the `Renderer2` base class.
  58518. *
  58519. * @publicApi
  58520. */
  58521. class RendererFactory2 {}
  58522. /**
  58523. * Extend this base class to implement custom rendering. By default, Angular
  58524. * renders a template into DOM. You can use custom rendering to intercept
  58525. * rendering calls, or to render to something other than DOM.
  58526. *
  58527. * Create your custom renderer using `RendererFactory2`.
  58528. *
  58529. * Use a custom renderer to bypass Angular's templating and
  58530. * make custom UI changes that can't be expressed declaratively.
  58531. * For example if you need to set a property or an attribute whose name is
  58532. * not statically known, use the `setProperty()` or
  58533. * `setAttribute()` method.
  58534. *
  58535. * @publicApi
  58536. */
  58537. class Renderer2 {}
  58538. /**
  58539. * @internal
  58540. * @nocollapse
  58541. */
  58542. Renderer2.__NG_ELEMENT_ID__ = () => injectRenderer2();
  58543. /** Injects a Renderer2 for the current component. */
  58544. function injectRenderer2() {
  58545. // We need the Renderer to be based on the component that it's being injected into, however since
  58546. // DI happens before we've entered its view, `getLView` will return the parent view instead.
  58547. const lView = getLView();
  58548. const tNode = getCurrentTNode();
  58549. const nodeAtIndex = getComponentLViewByIndex(tNode.index, lView);
  58550. return (isLView(nodeAtIndex) ? nodeAtIndex : lView)[RENDERER];
  58551. }
  58552. /**
  58553. * @license
  58554. * Copyright Google LLC All Rights Reserved.
  58555. *
  58556. * Use of this source code is governed by an MIT-style license that can be
  58557. * found in the LICENSE file at https://angular.io/license
  58558. */
  58559. /**
  58560. * Sanitizer is used by the views to sanitize potentially dangerous values.
  58561. *
  58562. * @publicApi
  58563. */
  58564. class Sanitizer {}
  58565. /** @nocollapse */
  58566. Sanitizer.ɵprov = ɵɵdefineInjectable({
  58567. token: Sanitizer,
  58568. providedIn: 'root',
  58569. factory: () => null
  58570. });
  58571. /**
  58572. * @license
  58573. * Copyright Google LLC All Rights Reserved.
  58574. *
  58575. * Use of this source code is governed by an MIT-style license that can be
  58576. * found in the LICENSE file at https://angular.io/license
  58577. */
  58578. /**
  58579. * @description Represents the version of Angular
  58580. *
  58581. * @publicApi
  58582. */
  58583. class Version {
  58584. constructor(full) {
  58585. this.full = full;
  58586. this.major = full.split('.')[0];
  58587. this.minor = full.split('.')[1];
  58588. this.patch = full.split('.').slice(2).join('.');
  58589. }
  58590. }
  58591. /**
  58592. * @publicApi
  58593. */
  58594. const VERSION = new Version('14.2.7');
  58595. /**
  58596. * @license
  58597. * Copyright Google LLC All Rights Reserved.
  58598. *
  58599. * Use of this source code is governed by an MIT-style license that can be
  58600. * found in the LICENSE file at https://angular.io/license
  58601. */
  58602. // This default value is when checking the hierarchy for a token.
  58603. //
  58604. // It means both:
  58605. // - the token is not provided by the current injector,
  58606. // - only the element injectors should be checked (ie do not check module injectors
  58607. //
  58608. // mod1
  58609. // /
  58610. // el1 mod2
  58611. // \ /
  58612. // el2
  58613. //
  58614. // When requesting el2.injector.get(token), we should check in the following order and return the
  58615. // first found value:
  58616. // - el2.injector.get(token, default)
  58617. // - el1.injector.get(token, NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR) -> do not check the module
  58618. // - mod2.injector.get(token, default)
  58619. const NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR = {};
  58620. /**
  58621. * @license
  58622. * Copyright Google LLC All Rights Reserved.
  58623. *
  58624. * Use of this source code is governed by an MIT-style license that can be
  58625. * found in the LICENSE file at https://angular.io/license
  58626. */
  58627. /**
  58628. * Defines a schema that allows an NgModule to contain the following:
  58629. * - Non-Angular elements named with dash case (`-`).
  58630. * - Element properties named with dash case (`-`).
  58631. * Dash case is the naming convention for custom elements.
  58632. *
  58633. * @publicApi
  58634. */
  58635. const CUSTOM_ELEMENTS_SCHEMA = {
  58636. name: 'custom-elements'
  58637. };
  58638. /**
  58639. * Defines a schema that allows any property on any element.
  58640. *
  58641. * This schema allows you to ignore the errors related to any unknown elements or properties in a
  58642. * template. The usage of this schema is generally discouraged because it prevents useful validation
  58643. * and may hide real errors in your template. Consider using the `CUSTOM_ELEMENTS_SCHEMA` instead.
  58644. *
  58645. * @publicApi
  58646. */
  58647. const NO_ERRORS_SCHEMA = {
  58648. name: 'no-errors-schema'
  58649. };
  58650. /**
  58651. * @license
  58652. * Copyright Google LLC All Rights Reserved.
  58653. *
  58654. * Use of this source code is governed by an MIT-style license that can be
  58655. * found in the LICENSE file at https://angular.io/license
  58656. */
  58657. let shouldThrowErrorOnUnknownElement = false;
  58658. /**
  58659. * Sets a strict mode for JIT-compiled components to throw an error on unknown elements,
  58660. * instead of just logging the error.
  58661. * (for AOT-compiled ones this check happens at build time).
  58662. */
  58663. function ɵsetUnknownElementStrictMode(shouldThrow) {
  58664. shouldThrowErrorOnUnknownElement = shouldThrow;
  58665. }
  58666. /**
  58667. * Gets the current value of the strict mode.
  58668. */
  58669. function ɵgetUnknownElementStrictMode() {
  58670. return shouldThrowErrorOnUnknownElement;
  58671. }
  58672. let shouldThrowErrorOnUnknownProperty = false;
  58673. /**
  58674. * Sets a strict mode for JIT-compiled components to throw an error on unknown properties,
  58675. * instead of just logging the error.
  58676. * (for AOT-compiled ones this check happens at build time).
  58677. */
  58678. function ɵsetUnknownPropertyStrictMode(shouldThrow) {
  58679. shouldThrowErrorOnUnknownProperty = shouldThrow;
  58680. }
  58681. /**
  58682. * Gets the current value of the strict mode.
  58683. */
  58684. function ɵgetUnknownPropertyStrictMode() {
  58685. return shouldThrowErrorOnUnknownProperty;
  58686. }
  58687. /**
  58688. * Validates that the element is known at runtime and produces
  58689. * an error if it's not the case.
  58690. * This check is relevant for JIT-compiled components (for AOT-compiled
  58691. * ones this check happens at build time).
  58692. *
  58693. * The element is considered known if either:
  58694. * - it's a known HTML element
  58695. * - it's a known custom element
  58696. * - the element matches any directive
  58697. * - the element is allowed by one of the schemas
  58698. *
  58699. * @param element Element to validate
  58700. * @param lView An `LView` that represents a current component that is being rendered
  58701. * @param tagName Name of the tag to check
  58702. * @param schemas Array of schemas
  58703. * @param hasDirectives Boolean indicating that the element matches any directive
  58704. */
  58705. function validateElementIsKnown(element, lView, tagName, schemas, hasDirectives) {
  58706. // If `schemas` is set to `null`, that's an indication that this Component was compiled in AOT
  58707. // mode where this check happens at compile time. In JIT mode, `schemas` is always present and
  58708. // defined as an array (as an empty array in case `schemas` field is not defined) and we should
  58709. // execute the check below.
  58710. if (schemas === null) return; // If the element matches any directive, it's considered as valid.
  58711. if (!hasDirectives && tagName !== null) {
  58712. // The element is unknown if it's an instance of HTMLUnknownElement, or it isn't registered
  58713. // as a custom element. Note that unknown elements with a dash in their name won't be instances
  58714. // of HTMLUnknownElement in browsers that support web components.
  58715. const isUnknown = // Note that we can't check for `typeof HTMLUnknownElement === 'function'`,
  58716. // because while most browsers return 'function', IE returns 'object'.
  58717. typeof HTMLUnknownElement !== 'undefined' && HTMLUnknownElement && element instanceof HTMLUnknownElement || typeof customElements !== 'undefined' && tagName.indexOf('-') > -1 && !customElements.get(tagName);
  58718. if (isUnknown && !matchingSchemas(schemas, tagName)) {
  58719. const isHostStandalone = isHostComponentStandalone(lView);
  58720. const templateLocation = getTemplateLocationDetails(lView);
  58721. const schemas = `'${isHostStandalone ? '@Component' : '@NgModule'}.schemas'`;
  58722. let message = `'${tagName}' is not a known element${templateLocation}:\n`;
  58723. message += `1. If '${tagName}' is an Angular component, then verify that it is ${isHostStandalone ? 'included in the \'@Component.imports\' of this component' : 'a part of an @NgModule where this component is declared'}.\n`;
  58724. if (tagName && tagName.indexOf('-') > -1) {
  58725. message += `2. If '${tagName}' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the ${schemas} of this component to suppress this message.`;
  58726. } else {
  58727. message += `2. To allow any element add 'NO_ERRORS_SCHEMA' to the ${schemas} of this component.`;
  58728. }
  58729. if (shouldThrowErrorOnUnknownElement) {
  58730. throw new RuntimeError(304
  58731. /* RuntimeErrorCode.UNKNOWN_ELEMENT */
  58732. , message);
  58733. } else {
  58734. console.error(formatRuntimeError(304
  58735. /* RuntimeErrorCode.UNKNOWN_ELEMENT */
  58736. , message));
  58737. }
  58738. }
  58739. }
  58740. }
  58741. /**
  58742. * Validates that the property of the element is known at runtime and returns
  58743. * false if it's not the case.
  58744. * This check is relevant for JIT-compiled components (for AOT-compiled
  58745. * ones this check happens at build time).
  58746. *
  58747. * The property is considered known if either:
  58748. * - it's a known property of the element
  58749. * - the element is allowed by one of the schemas
  58750. * - the property is used for animations
  58751. *
  58752. * @param element Element to validate
  58753. * @param propName Name of the property to check
  58754. * @param tagName Name of the tag hosting the property
  58755. * @param schemas Array of schemas
  58756. */
  58757. function isPropertyValid(element, propName, tagName, schemas) {
  58758. // If `schemas` is set to `null`, that's an indication that this Component was compiled in AOT
  58759. // mode where this check happens at compile time. In JIT mode, `schemas` is always present and
  58760. // defined as an array (as an empty array in case `schemas` field is not defined) and we should
  58761. // execute the check below.
  58762. if (schemas === null) return true; // The property is considered valid if the element matches the schema, it exists on the element,
  58763. // or it is synthetic, and we are in a browser context (web worker nodes should be skipped).
  58764. if (matchingSchemas(schemas, tagName) || propName in element || isAnimationProp(propName)) {
  58765. return true;
  58766. } // Note: `typeof Node` returns 'function' in most browsers, but on IE it is 'object' so we
  58767. // need to account for both here, while being careful with `typeof null` also returning 'object'.
  58768. return typeof Node === 'undefined' || Node === null || !(element instanceof Node);
  58769. }
  58770. /**
  58771. * Logs or throws an error that a property is not supported on an element.
  58772. *
  58773. * @param propName Name of the invalid property
  58774. * @param tagName Name of the tag hosting the property
  58775. * @param nodeType Type of the node hosting the property
  58776. * @param lView An `LView` that represents a current component
  58777. */
  58778. function handleUnknownPropertyError(propName, tagName, nodeType, lView) {
  58779. // Special-case a situation when a structural directive is applied to
  58780. // an `<ng-template>` element, for example: `<ng-template *ngIf="true">`.
  58781. // In this case the compiler generates the `ɵɵtemplate` instruction with
  58782. // the `null` as the tagName. The directive matching logic at runtime relies
  58783. // on this effect (see `isInlineTemplate`), thus using the 'ng-template' as
  58784. // a default value of the `tNode.value` is not feasible at this moment.
  58785. if (!tagName && nodeType === 4
  58786. /* TNodeType.Container */
  58787. ) {
  58788. tagName = 'ng-template';
  58789. }
  58790. const isHostStandalone = isHostComponentStandalone(lView);
  58791. const templateLocation = getTemplateLocationDetails(lView);
  58792. let message = `Can't bind to '${propName}' since it isn't a known property of '${tagName}'${templateLocation}.`;
  58793. const schemas = `'${isHostStandalone ? '@Component' : '@NgModule'}.schemas'`;
  58794. const importLocation = isHostStandalone ? 'included in the \'@Component.imports\' of this component' : 'a part of an @NgModule where this component is declared';
  58795. if (KNOWN_CONTROL_FLOW_DIRECTIVES.has(propName)) {
  58796. // Most likely this is a control flow directive (such as `*ngIf`) used in
  58797. // a template, but the directive or the `CommonModule` is not imported.
  58798. const correspondingImport = KNOWN_CONTROL_FLOW_DIRECTIVES.get(propName);
  58799. message += `\nIf the '${propName}' is an Angular control flow directive, ` + `please make sure that either the '${correspondingImport}' directive or the 'CommonModule' is ${importLocation}.`;
  58800. } else {
  58801. // May be an Angular component, which is not imported/declared?
  58802. message += `\n1. If '${tagName}' is an Angular component and it has the ` + `'${propName}' input, then verify that it is ${importLocation}.`; // May be a Web Component?
  58803. if (tagName && tagName.indexOf('-') > -1) {
  58804. message += `\n2. If '${tagName}' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' ` + `to the ${schemas} of this component to suppress this message.`;
  58805. message += `\n3. To allow any property add 'NO_ERRORS_SCHEMA' to ` + `the ${schemas} of this component.`;
  58806. } else {
  58807. // If it's expected, the error can be suppressed by the `NO_ERRORS_SCHEMA` schema.
  58808. message += `\n2. To allow any property add 'NO_ERRORS_SCHEMA' to ` + `the ${schemas} of this component.`;
  58809. }
  58810. }
  58811. reportUnknownPropertyError(message);
  58812. }
  58813. function reportUnknownPropertyError(message) {
  58814. if (shouldThrowErrorOnUnknownProperty) {
  58815. throw new RuntimeError(303
  58816. /* RuntimeErrorCode.UNKNOWN_BINDING */
  58817. , message);
  58818. } else {
  58819. console.error(formatRuntimeError(303
  58820. /* RuntimeErrorCode.UNKNOWN_BINDING */
  58821. , message));
  58822. }
  58823. }
  58824. /**
  58825. * WARNING: this is a **dev-mode only** function (thus should always be guarded by the `ngDevMode`)
  58826. * and must **not** be used in production bundles. The function makes megamorphic reads, which might
  58827. * be too slow for production mode and also it relies on the constructor function being available.
  58828. *
  58829. * Gets a reference to the host component def (where a current component is declared).
  58830. *
  58831. * @param lView An `LView` that represents a current component that is being rendered.
  58832. */
  58833. function getDeclarationComponentDef(lView) {
  58834. !ngDevMode && throwError('Must never be called in production mode');
  58835. const declarationLView = lView[DECLARATION_COMPONENT_VIEW];
  58836. const context = declarationLView[CONTEXT]; // Unable to obtain a context.
  58837. if (!context) return null;
  58838. return context.constructor ? getComponentDef(context.constructor) : null;
  58839. }
  58840. /**
  58841. * WARNING: this is a **dev-mode only** function (thus should always be guarded by the `ngDevMode`)
  58842. * and must **not** be used in production bundles. The function makes megamorphic reads, which might
  58843. * be too slow for production mode.
  58844. *
  58845. * Checks if the current component is declared inside of a standalone component template.
  58846. *
  58847. * @param lView An `LView` that represents a current component that is being rendered.
  58848. */
  58849. function isHostComponentStandalone(lView) {
  58850. !ngDevMode && throwError('Must never be called in production mode');
  58851. const componentDef = getDeclarationComponentDef(lView); // Treat host component as non-standalone if we can't obtain the def.
  58852. return !!(componentDef === null || componentDef === void 0 ? void 0 : componentDef.standalone);
  58853. }
  58854. /**
  58855. * WARNING: this is a **dev-mode only** function (thus should always be guarded by the `ngDevMode`)
  58856. * and must **not** be used in production bundles. The function makes megamorphic reads, which might
  58857. * be too slow for production mode.
  58858. *
  58859. * Constructs a string describing the location of the host component template. The function is used
  58860. * in dev mode to produce error messages.
  58861. *
  58862. * @param lView An `LView` that represents a current component that is being rendered.
  58863. */
  58864. function getTemplateLocationDetails(lView) {
  58865. var _a;
  58866. !ngDevMode && throwError('Must never be called in production mode');
  58867. const hostComponentDef = getDeclarationComponentDef(lView);
  58868. const componentClassName = (_a = hostComponentDef === null || hostComponentDef === void 0 ? void 0 : hostComponentDef.type) === null || _a === void 0 ? void 0 : _a.name;
  58869. return componentClassName ? ` (used in the '${componentClassName}' component template)` : '';
  58870. }
  58871. /**
  58872. * The set of known control flow directives and their corresponding imports.
  58873. * We use this set to produce a more precises error message with a note
  58874. * that the `CommonModule` should also be included.
  58875. */
  58876. const KNOWN_CONTROL_FLOW_DIRECTIVES = new Map([['ngIf', 'NgIf'], ['ngFor', 'NgFor'], ['ngSwitchCase', 'NgSwitchCase'], ['ngSwitchDefault', 'NgSwitchDefault']]);
  58877. /**
  58878. * Returns true if the tag name is allowed by specified schemas.
  58879. * @param schemas Array of schemas
  58880. * @param tagName Name of the tag
  58881. */
  58882. function matchingSchemas(schemas, tagName) {
  58883. if (schemas !== null) {
  58884. for (let i = 0; i < schemas.length; i++) {
  58885. const schema = schemas[i];
  58886. if (schema === NO_ERRORS_SCHEMA || schema === CUSTOM_ELEMENTS_SCHEMA && tagName && tagName.indexOf('-') > -1) {
  58887. return true;
  58888. }
  58889. }
  58890. }
  58891. return false;
  58892. }
  58893. /**
  58894. * @license
  58895. * Copyright Google LLC All Rights Reserved.
  58896. *
  58897. * Use of this source code is governed by an MIT-style license that can be
  58898. * found in the LICENSE file at https://angular.io/license
  58899. */
  58900. const ERROR_ORIGINAL_ERROR = 'ngOriginalError';
  58901. function wrappedError(message, originalError) {
  58902. const msg = `${message} caused by: ${originalError instanceof Error ? originalError.message : originalError}`;
  58903. const error = Error(msg);
  58904. error[ERROR_ORIGINAL_ERROR] = originalError;
  58905. return error;
  58906. }
  58907. function getOriginalError(error) {
  58908. return error[ERROR_ORIGINAL_ERROR];
  58909. }
  58910. /**
  58911. * @license
  58912. * Copyright Google LLC All Rights Reserved.
  58913. *
  58914. * Use of this source code is governed by an MIT-style license that can be
  58915. * found in the LICENSE file at https://angular.io/license
  58916. */
  58917. /**
  58918. * Provides a hook for centralized exception handling.
  58919. *
  58920. * The default implementation of `ErrorHandler` prints error messages to the `console`. To
  58921. * intercept error handling, write a custom exception handler that replaces this default as
  58922. * appropriate for your app.
  58923. *
  58924. * @usageNotes
  58925. * ### Example
  58926. *
  58927. * ```
  58928. * class MyErrorHandler implements ErrorHandler {
  58929. * handleError(error) {
  58930. * // do something with the exception
  58931. * }
  58932. * }
  58933. *
  58934. * @NgModule({
  58935. * providers: [{provide: ErrorHandler, useClass: MyErrorHandler}]
  58936. * })
  58937. * class MyModule {}
  58938. * ```
  58939. *
  58940. * @publicApi
  58941. */
  58942. class ErrorHandler {
  58943. constructor() {
  58944. /**
  58945. * @internal
  58946. */
  58947. this._console = console;
  58948. }
  58949. handleError(error) {
  58950. const originalError = this._findOriginalError(error);
  58951. this._console.error('ERROR', error);
  58952. if (originalError) {
  58953. this._console.error('ORIGINAL ERROR', originalError);
  58954. }
  58955. }
  58956. /** @internal */
  58957. _findOriginalError(error) {
  58958. let e = error && getOriginalError(error);
  58959. while (e && getOriginalError(e)) {
  58960. e = getOriginalError(e);
  58961. }
  58962. return e || null;
  58963. }
  58964. }
  58965. /**
  58966. * @license
  58967. * Copyright Google LLC All Rights Reserved.
  58968. *
  58969. * Use of this source code is governed by an MIT-style license that can be
  58970. * found in the LICENSE file at https://angular.io/license
  58971. */
  58972. /**
  58973. * Disallowed strings in the comment.
  58974. *
  58975. * see: https://html.spec.whatwg.org/multipage/syntax.html#comments
  58976. */
  58977. const COMMENT_DISALLOWED = /^>|^->|<!--|-->|--!>|<!-$/g;
  58978. /**
  58979. * Delimiter in the disallowed strings which needs to be wrapped with zero with character.
  58980. */
  58981. const COMMENT_DELIMITER = /(<|>)/;
  58982. const COMMENT_DELIMITER_ESCAPED = '\u200B$1\u200B';
  58983. /**
  58984. * Escape the content of comment strings so that it can be safely inserted into a comment node.
  58985. *
  58986. * The issue is that HTML does not specify any way to escape comment end text inside the comment.
  58987. * Consider: `<!-- The way you close a comment is with ">", and "->" at the beginning or by "-->" or
  58988. * "--!>" at the end. -->`. Above the `"-->"` is meant to be text not an end to the comment. This
  58989. * can be created programmatically through DOM APIs. (`<!--` are also disallowed.)
  58990. *
  58991. * see: https://html.spec.whatwg.org/multipage/syntax.html#comments
  58992. *
  58993. * ```
  58994. * div.innerHTML = div.innerHTML
  58995. * ```
  58996. *
  58997. * One would expect that the above code would be safe to do, but it turns out that because comment
  58998. * text is not escaped, the comment may contain text which will prematurely close the comment
  58999. * opening up the application for XSS attack. (In SSR we programmatically create comment nodes which
  59000. * may contain such text and expect them to be safe.)
  59001. *
  59002. * This function escapes the comment text by looking for comment delimiters (`<` and `>`) and
  59003. * surrounding them with `_>_` where the `_` is a zero width space `\u200B`. The result is that if a
  59004. * comment contains any of the comment start/end delimiters (such as `<!--`, `-->` or `--!>`) the
  59005. * text it will render normally but it will not cause the HTML parser to close/open the comment.
  59006. *
  59007. * @param value text to make safe for comment node by escaping the comment open/close character
  59008. * sequence.
  59009. */
  59010. function escapeCommentText(value) {
  59011. return value.replace(COMMENT_DISALLOWED, text => text.replace(COMMENT_DELIMITER, COMMENT_DELIMITER_ESCAPED));
  59012. }
  59013. /**
  59014. * @license
  59015. * Copyright Google LLC All Rights Reserved.
  59016. *
  59017. * Use of this source code is governed by an MIT-style license that can be
  59018. * found in the LICENSE file at https://angular.io/license
  59019. */
  59020. function normalizeDebugBindingName(name) {
  59021. // Attribute names with `$` (eg `x-y$`) are valid per spec, but unsupported by some browsers
  59022. name = camelCaseToDashCase(name.replace(/[$@]/g, '_'));
  59023. return `ng-reflect-${name}`;
  59024. }
  59025. const CAMEL_CASE_REGEXP = /([A-Z])/g;
  59026. function camelCaseToDashCase(input) {
  59027. return input.replace(CAMEL_CASE_REGEXP, (...m) => '-' + m[1].toLowerCase());
  59028. }
  59029. function normalizeDebugBindingValue(value) {
  59030. try {
  59031. // Limit the size of the value as otherwise the DOM just gets polluted.
  59032. return value != null ? value.toString().slice(0, 30) : value;
  59033. } catch (e) {
  59034. return '[ERROR] Exception while trying to serialize the value';
  59035. }
  59036. }
  59037. /**
  59038. * @license
  59039. * Copyright Google LLC All Rights Reserved.
  59040. *
  59041. * Use of this source code is governed by an MIT-style license that can be
  59042. * found in the LICENSE file at https://angular.io/license
  59043. */
  59044. // Keeps track of the currently-active LViews.
  59045. const TRACKED_LVIEWS = new Map(); // Used for generating unique IDs for LViews.
  59046. let uniqueIdCounter = 0;
  59047. /** Gets a unique ID that can be assigned to an LView. */
  59048. function getUniqueLViewId() {
  59049. return uniqueIdCounter++;
  59050. }
  59051. /** Starts tracking an LView. */
  59052. function registerLView(lView) {
  59053. ngDevMode && assertNumber(lView[ID], 'LView must have an ID in order to be registered');
  59054. TRACKED_LVIEWS.set(lView[ID], lView);
  59055. }
  59056. /** Gets an LView by its unique ID. */
  59057. function getLViewById(id) {
  59058. ngDevMode && assertNumber(id, 'ID used for LView lookup must be a number');
  59059. return TRACKED_LVIEWS.get(id) || null;
  59060. }
  59061. /** Stops tracking an LView. */
  59062. function unregisterLView(lView) {
  59063. ngDevMode && assertNumber(lView[ID], 'Cannot stop tracking an LView that does not have an ID');
  59064. TRACKED_LVIEWS.delete(lView[ID]);
  59065. }
  59066. /**
  59067. * @license
  59068. * Copyright Google LLC All Rights Reserved.
  59069. *
  59070. * Use of this source code is governed by an MIT-style license that can be
  59071. * found in the LICENSE file at https://angular.io/license
  59072. */
  59073. /**
  59074. * The internal view context which is specific to a given DOM element, directive or
  59075. * component instance. Each value in here (besides the LView and element node details)
  59076. * can be present, null or undefined. If undefined then it implies the value has not been
  59077. * looked up yet, otherwise, if null, then a lookup was executed and nothing was found.
  59078. *
  59079. * Each value will get filled when the respective value is examined within the getContext
  59080. * function. The component, element and each directive instance will share the same instance
  59081. * of the context.
  59082. */
  59083. class LContext {
  59084. constructor(
  59085. /**
  59086. * ID of the component's parent view data.
  59087. */
  59088. lViewId,
  59089. /**
  59090. * The index instance of the node.
  59091. */
  59092. nodeIndex,
  59093. /**
  59094. * The instance of the DOM node that is attached to the lNode.
  59095. */
  59096. native) {
  59097. this.lViewId = lViewId;
  59098. this.nodeIndex = nodeIndex;
  59099. this.native = native;
  59100. }
  59101. /** Component's parent view data. */
  59102. get lView() {
  59103. return getLViewById(this.lViewId);
  59104. }
  59105. }
  59106. /**
  59107. * @license
  59108. * Copyright Google LLC All Rights Reserved.
  59109. *
  59110. * Use of this source code is governed by an MIT-style license that can be
  59111. * found in the LICENSE file at https://angular.io/license
  59112. */
  59113. /**
  59114. * Returns the matching `LContext` data for a given DOM node, directive or component instance.
  59115. *
  59116. * This function will examine the provided DOM element, component, or directive instance\'s
  59117. * monkey-patched property to derive the `LContext` data. Once called then the monkey-patched
  59118. * value will be that of the newly created `LContext`.
  59119. *
  59120. * If the monkey-patched value is the `LView` instance then the context value for that
  59121. * target will be created and the monkey-patch reference will be updated. Therefore when this
  59122. * function is called it may mutate the provided element\'s, component\'s or any of the associated
  59123. * directive\'s monkey-patch values.
  59124. *
  59125. * If the monkey-patch value is not detected then the code will walk up the DOM until an element
  59126. * is found which contains a monkey-patch reference. When that occurs then the provided element
  59127. * will be updated with a new context (which is then returned). If the monkey-patch value is not
  59128. * detected for a component/directive instance then it will throw an error (all components and
  59129. * directives should be automatically monkey-patched by ivy).
  59130. *
  59131. * @param target Component, Directive or DOM Node.
  59132. */
  59133. function getLContext(target) {
  59134. let mpValue = readPatchedData(target);
  59135. if (mpValue) {
  59136. // only when it's an array is it considered an LView instance
  59137. // ... otherwise it's an already constructed LContext instance
  59138. if (isLView(mpValue)) {
  59139. const lView = mpValue;
  59140. let nodeIndex;
  59141. let component = undefined;
  59142. let directives = undefined;
  59143. if (isComponentInstance(target)) {
  59144. nodeIndex = findViaComponent(lView, target);
  59145. if (nodeIndex == -1) {
  59146. throw new Error('The provided component was not found in the application');
  59147. }
  59148. component = target;
  59149. } else if (isDirectiveInstance(target)) {
  59150. nodeIndex = findViaDirective(lView, target);
  59151. if (nodeIndex == -1) {
  59152. throw new Error('The provided directive was not found in the application');
  59153. }
  59154. directives = getDirectivesAtNodeIndex(nodeIndex, lView, false);
  59155. } else {
  59156. nodeIndex = findViaNativeElement(lView, target);
  59157. if (nodeIndex == -1) {
  59158. return null;
  59159. }
  59160. } // the goal is not to fill the entire context full of data because the lookups
  59161. // are expensive. Instead, only the target data (the element, component, container, ICU
  59162. // expression or directive details) are filled into the context. If called multiple times
  59163. // with different target values then the missing target data will be filled in.
  59164. const native = unwrapRNode(lView[nodeIndex]);
  59165. const existingCtx = readPatchedData(native);
  59166. const context = existingCtx && !Array.isArray(existingCtx) ? existingCtx : createLContext(lView, nodeIndex, native); // only when the component has been discovered then update the monkey-patch
  59167. if (component && context.component === undefined) {
  59168. context.component = component;
  59169. attachPatchData(context.component, context);
  59170. } // only when the directives have been discovered then update the monkey-patch
  59171. if (directives && context.directives === undefined) {
  59172. context.directives = directives;
  59173. for (let i = 0; i < directives.length; i++) {
  59174. attachPatchData(directives[i], context);
  59175. }
  59176. }
  59177. attachPatchData(context.native, context);
  59178. mpValue = context;
  59179. }
  59180. } else {
  59181. const rElement = target;
  59182. ngDevMode && assertDomNode(rElement); // if the context is not found then we need to traverse upwards up the DOM
  59183. // to find the nearest element that has already been monkey patched with data
  59184. let parent = rElement;
  59185. while (parent = parent.parentNode) {
  59186. const parentContext = readPatchedData(parent);
  59187. if (parentContext) {
  59188. const lView = Array.isArray(parentContext) ? parentContext : parentContext.lView; // the edge of the app was also reached here through another means
  59189. // (maybe because the DOM was changed manually).
  59190. if (!lView) {
  59191. return null;
  59192. }
  59193. const index = findViaNativeElement(lView, rElement);
  59194. if (index >= 0) {
  59195. const native = unwrapRNode(lView[index]);
  59196. const context = createLContext(lView, index, native);
  59197. attachPatchData(native, context);
  59198. mpValue = context;
  59199. break;
  59200. }
  59201. }
  59202. }
  59203. }
  59204. return mpValue || null;
  59205. }
  59206. /**
  59207. * Creates an empty instance of a `LContext` context
  59208. */
  59209. function createLContext(lView, nodeIndex, native) {
  59210. return new LContext(lView[ID], nodeIndex, native);
  59211. }
  59212. /**
  59213. * Takes a component instance and returns the view for that component.
  59214. *
  59215. * @param componentInstance
  59216. * @returns The component's view
  59217. */
  59218. function getComponentViewByInstance(componentInstance) {
  59219. let patchedData = readPatchedData(componentInstance);
  59220. let lView;
  59221. if (isLView(patchedData)) {
  59222. const contextLView = patchedData;
  59223. const nodeIndex = findViaComponent(contextLView, componentInstance);
  59224. lView = getComponentLViewByIndex(nodeIndex, contextLView);
  59225. const context = createLContext(contextLView, nodeIndex, lView[HOST]);
  59226. context.component = componentInstance;
  59227. attachPatchData(componentInstance, context);
  59228. attachPatchData(context.native, context);
  59229. } else {
  59230. const context = patchedData;
  59231. const contextLView = context.lView;
  59232. ngDevMode && assertLView(contextLView);
  59233. lView = getComponentLViewByIndex(context.nodeIndex, contextLView);
  59234. }
  59235. return lView;
  59236. }
  59237. /**
  59238. * This property will be monkey-patched on elements, components and directives.
  59239. */
  59240. const MONKEY_PATCH_KEY_NAME = '__ngContext__';
  59241. /**
  59242. * Assigns the given data to the given target (which could be a component,
  59243. * directive or DOM node instance) using monkey-patching.
  59244. */
  59245. function attachPatchData(target, data) {
  59246. ngDevMode && assertDefined(target, 'Target expected'); // Only attach the ID of the view in order to avoid memory leaks (see #41047). We only do this
  59247. // for `LView`, because we have control over when an `LView` is created and destroyed, whereas
  59248. // we can't know when to remove an `LContext`.
  59249. if (isLView(data)) {
  59250. target[MONKEY_PATCH_KEY_NAME] = data[ID];
  59251. registerLView(data);
  59252. } else {
  59253. target[MONKEY_PATCH_KEY_NAME] = data;
  59254. }
  59255. }
  59256. /**
  59257. * Returns the monkey-patch value data present on the target (which could be
  59258. * a component, directive or a DOM node).
  59259. */
  59260. function readPatchedData(target) {
  59261. ngDevMode && assertDefined(target, 'Target expected');
  59262. const data = target[MONKEY_PATCH_KEY_NAME];
  59263. return typeof data === 'number' ? getLViewById(data) : data || null;
  59264. }
  59265. function readPatchedLView(target) {
  59266. const value = readPatchedData(target);
  59267. if (value) {
  59268. return isLView(value) ? value : value.lView;
  59269. }
  59270. return null;
  59271. }
  59272. function isComponentInstance(instance) {
  59273. return instance && instance.constructor && instance.constructor.ɵcmp;
  59274. }
  59275. function isDirectiveInstance(instance) {
  59276. return instance && instance.constructor && instance.constructor.ɵdir;
  59277. }
  59278. /**
  59279. * Locates the element within the given LView and returns the matching index
  59280. */
  59281. function findViaNativeElement(lView, target) {
  59282. const tView = lView[TVIEW];
  59283. for (let i = HEADER_OFFSET; i < tView.bindingStartIndex; i++) {
  59284. if (unwrapRNode(lView[i]) === target) {
  59285. return i;
  59286. }
  59287. }
  59288. return -1;
  59289. }
  59290. /**
  59291. * Locates the next tNode (child, sibling or parent).
  59292. */
  59293. function traverseNextElement(tNode) {
  59294. if (tNode.child) {
  59295. return tNode.child;
  59296. } else if (tNode.next) {
  59297. return tNode.next;
  59298. } else {
  59299. // Let's take the following template: <div><span>text</span></div><component/>
  59300. // After checking the text node, we need to find the next parent that has a "next" TNode,
  59301. // in this case the parent `div`, so that we can find the component.
  59302. while (tNode.parent && !tNode.parent.next) {
  59303. tNode = tNode.parent;
  59304. }
  59305. return tNode.parent && tNode.parent.next;
  59306. }
  59307. }
  59308. /**
  59309. * Locates the component within the given LView and returns the matching index
  59310. */
  59311. function findViaComponent(lView, componentInstance) {
  59312. const componentIndices = lView[TVIEW].components;
  59313. if (componentIndices) {
  59314. for (let i = 0; i < componentIndices.length; i++) {
  59315. const elementComponentIndex = componentIndices[i];
  59316. const componentView = getComponentLViewByIndex(elementComponentIndex, lView);
  59317. if (componentView[CONTEXT] === componentInstance) {
  59318. return elementComponentIndex;
  59319. }
  59320. }
  59321. } else {
  59322. const rootComponentView = getComponentLViewByIndex(HEADER_OFFSET, lView);
  59323. const rootComponent = rootComponentView[CONTEXT];
  59324. if (rootComponent === componentInstance) {
  59325. // we are dealing with the root element here therefore we know that the
  59326. // element is the very first element after the HEADER data in the lView
  59327. return HEADER_OFFSET;
  59328. }
  59329. }
  59330. return -1;
  59331. }
  59332. /**
  59333. * Locates the directive within the given LView and returns the matching index
  59334. */
  59335. function findViaDirective(lView, directiveInstance) {
  59336. // if a directive is monkey patched then it will (by default)
  59337. // have a reference to the LView of the current view. The
  59338. // element bound to the directive being search lives somewhere
  59339. // in the view data. We loop through the nodes and check their
  59340. // list of directives for the instance.
  59341. let tNode = lView[TVIEW].firstChild;
  59342. while (tNode) {
  59343. const directiveIndexStart = tNode.directiveStart;
  59344. const directiveIndexEnd = tNode.directiveEnd;
  59345. for (let i = directiveIndexStart; i < directiveIndexEnd; i++) {
  59346. if (lView[i] === directiveInstance) {
  59347. return tNode.index;
  59348. }
  59349. }
  59350. tNode = traverseNextElement(tNode);
  59351. }
  59352. return -1;
  59353. }
  59354. /**
  59355. * Returns a list of directives extracted from the given view based on the
  59356. * provided list of directive index values.
  59357. *
  59358. * @param nodeIndex The node index
  59359. * @param lView The target view data
  59360. * @param includeComponents Whether or not to include components in returned directives
  59361. */
  59362. function getDirectivesAtNodeIndex(nodeIndex, lView, includeComponents) {
  59363. const tNode = lView[TVIEW].data[nodeIndex];
  59364. let directiveStartIndex = tNode.directiveStart;
  59365. if (directiveStartIndex == 0) return EMPTY_ARRAY;
  59366. const directiveEndIndex = tNode.directiveEnd;
  59367. if (!includeComponents && tNode.flags & 2
  59368. /* TNodeFlags.isComponentHost */
  59369. ) directiveStartIndex++;
  59370. return lView.slice(directiveStartIndex, directiveEndIndex);
  59371. }
  59372. function getComponentAtNodeIndex(nodeIndex, lView) {
  59373. const tNode = lView[TVIEW].data[nodeIndex];
  59374. let directiveStartIndex = tNode.directiveStart;
  59375. return tNode.flags & 2
  59376. /* TNodeFlags.isComponentHost */
  59377. ? lView[directiveStartIndex] : null;
  59378. }
  59379. /**
  59380. * Returns a map of local references (local reference name => element or directive instance) that
  59381. * exist on a given element.
  59382. */
  59383. function discoverLocalRefs(lView, nodeIndex) {
  59384. const tNode = lView[TVIEW].data[nodeIndex];
  59385. if (tNode && tNode.localNames) {
  59386. const result = {};
  59387. let localIndex = tNode.index + 1;
  59388. for (let i = 0; i < tNode.localNames.length; i += 2) {
  59389. result[tNode.localNames[i]] = lView[localIndex];
  59390. localIndex++;
  59391. }
  59392. return result;
  59393. }
  59394. return null;
  59395. }
  59396. /**
  59397. * @license
  59398. * Copyright Google LLC All Rights Reserved.
  59399. *
  59400. * Use of this source code is governed by an MIT-style license that can be
  59401. * found in the LICENSE file at https://angular.io/license
  59402. */
  59403. /**
  59404. *
  59405. * @codeGenApi
  59406. */
  59407. function ɵɵresolveWindow(element) {
  59408. return element.ownerDocument.defaultView;
  59409. }
  59410. /**
  59411. *
  59412. * @codeGenApi
  59413. */
  59414. function ɵɵresolveDocument(element) {
  59415. return element.ownerDocument;
  59416. }
  59417. /**
  59418. *
  59419. * @codeGenApi
  59420. */
  59421. function ɵɵresolveBody(element) {
  59422. return element.ownerDocument.body;
  59423. }
  59424. /**
  59425. * The special delimiter we use to separate property names, prefixes, and suffixes
  59426. * in property binding metadata. See storeBindingMetadata().
  59427. *
  59428. * We intentionally use the Unicode "REPLACEMENT CHARACTER" (U+FFFD) as a delimiter
  59429. * because it is a very uncommon character that is unlikely to be part of a user's
  59430. * property names or interpolation strings. If it is in fact used in a property
  59431. * binding, DebugElement.properties will not return the correct value for that
  59432. * binding. However, there should be no runtime effect for real applications.
  59433. *
  59434. * This character is typically rendered as a question mark inside of a diamond.
  59435. * See https://en.wikipedia.org/wiki/Specials_(Unicode_block)
  59436. *
  59437. */
  59438. const INTERPOLATION_DELIMITER = `�`;
  59439. /**
  59440. * Unwrap a value which might be behind a closure (for forward declaration reasons).
  59441. */
  59442. function maybeUnwrapFn(value) {
  59443. if (value instanceof Function) {
  59444. return value();
  59445. } else {
  59446. return value;
  59447. }
  59448. }
  59449. /**
  59450. * @license
  59451. * Copyright Google LLC All Rights Reserved.
  59452. *
  59453. * Use of this source code is governed by an MIT-style license that can be
  59454. * found in the LICENSE file at https://angular.io/license
  59455. */
  59456. /** Verifies that a given type is a Standalone Component. */
  59457. function assertStandaloneComponentType(type) {
  59458. assertComponentDef(type);
  59459. const componentDef = getComponentDef(type);
  59460. if (!componentDef.standalone) {
  59461. throw new RuntimeError(907
  59462. /* RuntimeErrorCode.TYPE_IS_NOT_STANDALONE */
  59463. , `The ${stringifyForError(type)} component is not marked as standalone, ` + `but Angular expects to have a standalone component here. ` + `Please make sure the ${stringifyForError(type)} component has ` + `the \`standalone: true\` flag in the decorator.`);
  59464. }
  59465. }
  59466. /** Verifies whether a given type is a component */
  59467. function assertComponentDef(type) {
  59468. if (!getComponentDef(type)) {
  59469. throw new RuntimeError(906
  59470. /* RuntimeErrorCode.MISSING_GENERATED_DEF */
  59471. , `The ${stringifyForError(type)} is not an Angular component, ` + `make sure it has the \`@Component\` decorator.`);
  59472. }
  59473. }
  59474. /** Called when there are multiple component selectors that match a given node */
  59475. function throwMultipleComponentError(tNode, first, second) {
  59476. throw new RuntimeError(-300
  59477. /* RuntimeErrorCode.MULTIPLE_COMPONENTS_MATCH */
  59478. , `Multiple components match node with tagname ${tNode.value}: ` + `${stringifyForError(first)} and ` + `${stringifyForError(second)}`);
  59479. }
  59480. /** Throws an ExpressionChangedAfterChecked error if checkNoChanges mode is on. */
  59481. function throwErrorIfNoChangesMode(creationMode, oldValue, currValue, propName) {
  59482. const field = propName ? ` for '${propName}'` : '';
  59483. let msg = `ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value${field}: '${oldValue}'. Current value: '${currValue}'.`;
  59484. if (creationMode) {
  59485. msg += ` It seems like the view has been created after its parent and its children have been dirty checked.` + ` Has it been created in a change detection hook?`;
  59486. }
  59487. throw new RuntimeError(-100
  59488. /* RuntimeErrorCode.EXPRESSION_CHANGED_AFTER_CHECKED */
  59489. , msg);
  59490. }
  59491. function constructDetailsForInterpolation(lView, rootIndex, expressionIndex, meta, changedValue) {
  59492. const [propName, prefix, ...chunks] = meta.split(INTERPOLATION_DELIMITER);
  59493. let oldValue = prefix,
  59494. newValue = prefix;
  59495. for (let i = 0; i < chunks.length; i++) {
  59496. const slotIdx = rootIndex + i;
  59497. oldValue += `${lView[slotIdx]}${chunks[i]}`;
  59498. newValue += `${slotIdx === expressionIndex ? changedValue : lView[slotIdx]}${chunks[i]}`;
  59499. }
  59500. return {
  59501. propName,
  59502. oldValue,
  59503. newValue
  59504. };
  59505. }
  59506. /**
  59507. * Constructs an object that contains details for the ExpressionChangedAfterItHasBeenCheckedError:
  59508. * - property name (for property bindings or interpolations)
  59509. * - old and new values, enriched using information from metadata
  59510. *
  59511. * More information on the metadata storage format can be found in `storePropertyBindingMetadata`
  59512. * function description.
  59513. */
  59514. function getExpressionChangedErrorDetails(lView, bindingIndex, oldValue, newValue) {
  59515. const tData = lView[TVIEW].data;
  59516. const metadata = tData[bindingIndex];
  59517. if (typeof metadata === 'string') {
  59518. // metadata for property interpolation
  59519. if (metadata.indexOf(INTERPOLATION_DELIMITER) > -1) {
  59520. return constructDetailsForInterpolation(lView, bindingIndex, bindingIndex, metadata, newValue);
  59521. } // metadata for property binding
  59522. return {
  59523. propName: metadata,
  59524. oldValue,
  59525. newValue
  59526. };
  59527. } // metadata is not available for this expression, check if this expression is a part of the
  59528. // property interpolation by going from the current binding index left and look for a string that
  59529. // contains INTERPOLATION_DELIMITER, the layout in tView.data for this case will look like this:
  59530. // [..., 'id�Prefix � and � suffix', null, null, null, ...]
  59531. if (metadata === null) {
  59532. let idx = bindingIndex - 1;
  59533. while (typeof tData[idx] !== 'string' && tData[idx + 1] === null) {
  59534. idx--;
  59535. }
  59536. const meta = tData[idx];
  59537. if (typeof meta === 'string') {
  59538. const matches = meta.match(new RegExp(INTERPOLATION_DELIMITER, 'g')); // first interpolation delimiter separates property name from interpolation parts (in case of
  59539. // property interpolations), so we subtract one from total number of found delimiters
  59540. if (matches && matches.length - 1 > bindingIndex - idx) {
  59541. return constructDetailsForInterpolation(lView, idx, bindingIndex, meta, newValue);
  59542. }
  59543. }
  59544. }
  59545. return {
  59546. propName: undefined,
  59547. oldValue,
  59548. newValue
  59549. };
  59550. }
  59551. /**
  59552. * @license
  59553. * Copyright Google LLC All Rights Reserved.
  59554. *
  59555. * Use of this source code is governed by an MIT-style license that can be
  59556. * found in the LICENSE file at https://angular.io/license
  59557. */
  59558. /**
  59559. * Flags for renderer-specific style modifiers.
  59560. * @publicApi
  59561. */
  59562. var RendererStyleFlags2;
  59563. (function (RendererStyleFlags2) {
  59564. // TODO(misko): This needs to be refactored into a separate file so that it can be imported from
  59565. // `node_manipulation.ts` Currently doing the import cause resolution order to change and fails
  59566. // the tests. The work around is to have hard coded value in `node_manipulation.ts` for now.
  59567. /**
  59568. * Marks a style as important.
  59569. */
  59570. RendererStyleFlags2[RendererStyleFlags2["Important"] = 1] = "Important";
  59571. /**
  59572. * Marks a style as using dash case naming (this-is-dash-case).
  59573. */
  59574. RendererStyleFlags2[RendererStyleFlags2["DashCase"] = 2] = "DashCase";
  59575. })(RendererStyleFlags2 || (RendererStyleFlags2 = {}));
  59576. /**
  59577. * @license
  59578. * Copyright Google LLC All Rights Reserved.
  59579. *
  59580. * Use of this source code is governed by an MIT-style license that can be
  59581. * found in the LICENSE file at https://angular.io/license
  59582. */
  59583. let _icuContainerIterate;
  59584. /**
  59585. * Iterator which provides ability to visit all of the `TIcuContainerNode` root `RNode`s.
  59586. */
  59587. function icuContainerIterate(tIcuContainerNode, lView) {
  59588. return _icuContainerIterate(tIcuContainerNode, lView);
  59589. }
  59590. /**
  59591. * Ensures that `IcuContainerVisitor`'s implementation is present.
  59592. *
  59593. * This function is invoked when i18n instruction comes across an ICU. The purpose is to allow the
  59594. * bundler to tree shake ICU logic and only load it if ICU instruction is executed.
  59595. */
  59596. function ensureIcuContainerVisitorLoaded(loader) {
  59597. if (_icuContainerIterate === undefined) {
  59598. // Do not inline this function. We want to keep `ensureIcuContainerVisitorLoaded` light, so it
  59599. // can be inlined into call-site.
  59600. _icuContainerIterate = loader();
  59601. }
  59602. }
  59603. /**
  59604. * @license
  59605. * Copyright Google LLC All Rights Reserved.
  59606. *
  59607. * Use of this source code is governed by an MIT-style license that can be
  59608. * found in the LICENSE file at https://angular.io/license
  59609. */
  59610. // Note: This hack is necessary so we don't erroneously get a circular dependency
  59611. // failure based on types.
  59612. const unusedValueExportToPlacateAjd$4 = 1;
  59613. /**
  59614. * @license
  59615. * Copyright Google LLC All Rights Reserved.
  59616. *
  59617. * Use of this source code is governed by an MIT-style license that can be
  59618. * found in the LICENSE file at https://angular.io/license
  59619. */
  59620. // Note: This hack is necessary so we don't erroneously get a circular dependency
  59621. // failure based on types.
  59622. const unusedValueExportToPlacateAjd$3 = 1;
  59623. /**
  59624. * @license
  59625. * Copyright Google LLC All Rights Reserved.
  59626. *
  59627. * Use of this source code is governed by an MIT-style license that can be
  59628. * found in the LICENSE file at https://angular.io/license
  59629. */
  59630. /**
  59631. * Gets the parent LView of the passed LView, if the PARENT is an LContainer, will get the parent of
  59632. * that LContainer, which is an LView
  59633. * @param lView the lView whose parent to get
  59634. */
  59635. function getLViewParent(lView) {
  59636. ngDevMode && assertLView(lView);
  59637. const parent = lView[PARENT];
  59638. return isLContainer(parent) ? parent[PARENT] : parent;
  59639. }
  59640. /**
  59641. * Retrieve the root view from any component or `LView` by walking the parent `LView` until
  59642. * reaching the root `LView`.
  59643. *
  59644. * @param componentOrLView any component or `LView`
  59645. */
  59646. function getRootView(componentOrLView) {
  59647. ngDevMode && assertDefined(componentOrLView, 'component');
  59648. let lView = isLView(componentOrLView) ? componentOrLView : readPatchedLView(componentOrLView);
  59649. while (lView && !(lView[FLAGS] & 256
  59650. /* LViewFlags.IsRoot */
  59651. )) {
  59652. lView = getLViewParent(lView);
  59653. }
  59654. ngDevMode && assertLView(lView);
  59655. return lView;
  59656. }
  59657. /**
  59658. * Returns the context information associated with the application where the target is situated. It
  59659. * does this by walking the parent views until it gets to the root view, then getting the context
  59660. * off of that.
  59661. *
  59662. * @param viewOrComponent the `LView` or component to get the root context for.
  59663. */
  59664. function getRootContext(viewOrComponent) {
  59665. const rootView = getRootView(viewOrComponent);
  59666. ngDevMode && assertDefined(rootView[CONTEXT], 'Root view has no context. Perhaps it is disconnected?');
  59667. return rootView[CONTEXT];
  59668. }
  59669. /**
  59670. * Gets the first `LContainer` in the LView or `null` if none exists.
  59671. */
  59672. function getFirstLContainer(lView) {
  59673. return getNearestLContainer(lView[CHILD_HEAD]);
  59674. }
  59675. /**
  59676. * Gets the next `LContainer` that is a sibling of the given container.
  59677. */
  59678. function getNextLContainer(container) {
  59679. return getNearestLContainer(container[NEXT]);
  59680. }
  59681. function getNearestLContainer(viewOrContainer) {
  59682. while (viewOrContainer !== null && !isLContainer(viewOrContainer)) {
  59683. viewOrContainer = viewOrContainer[NEXT];
  59684. }
  59685. return viewOrContainer;
  59686. }
  59687. /**
  59688. * @license
  59689. * Copyright Google LLC All Rights Reserved.
  59690. *
  59691. * Use of this source code is governed by an MIT-style license that can be
  59692. * found in the LICENSE file at https://angular.io/license
  59693. */
  59694. const unusedValueToPlacateAjd$2 = unusedValueExportToPlacateAjd$8 + unusedValueExportToPlacateAjd$5 + unusedValueExportToPlacateAjd$4 + unusedValueExportToPlacateAjd$3 + unusedValueExportToPlacateAjd$7;
  59695. /**
  59696. * NOTE: for performance reasons, the possible actions are inlined within the function instead of
  59697. * being passed as an argument.
  59698. */
  59699. function applyToElementOrContainer(action, renderer, parent, lNodeToHandle, beforeNode) {
  59700. // If this slot was allocated for a text node dynamically created by i18n, the text node itself
  59701. // won't be created until i18nApply() in the update block, so this node should be skipped.
  59702. // For more info, see "ICU expressions should work inside an ngTemplateOutlet inside an ngFor"
  59703. // in `i18n_spec.ts`.
  59704. if (lNodeToHandle != null) {
  59705. let lContainer;
  59706. let isComponent = false; // We are expecting an RNode, but in the case of a component or LContainer the `RNode` is
  59707. // wrapped in an array which needs to be unwrapped. We need to know if it is a component and if
  59708. // it has LContainer so that we can process all of those cases appropriately.
  59709. if (isLContainer(lNodeToHandle)) {
  59710. lContainer = lNodeToHandle;
  59711. } else if (isLView(lNodeToHandle)) {
  59712. isComponent = true;
  59713. ngDevMode && assertDefined(lNodeToHandle[HOST], 'HOST must be defined for a component LView');
  59714. lNodeToHandle = lNodeToHandle[HOST];
  59715. }
  59716. const rNode = unwrapRNode(lNodeToHandle);
  59717. if (action === 0
  59718. /* WalkTNodeTreeAction.Create */
  59719. && parent !== null) {
  59720. if (beforeNode == null) {
  59721. nativeAppendChild(renderer, parent, rNode);
  59722. } else {
  59723. nativeInsertBefore(renderer, parent, rNode, beforeNode || null, true);
  59724. }
  59725. } else if (action === 1
  59726. /* WalkTNodeTreeAction.Insert */
  59727. && parent !== null) {
  59728. nativeInsertBefore(renderer, parent, rNode, beforeNode || null, true);
  59729. } else if (action === 2
  59730. /* WalkTNodeTreeAction.Detach */
  59731. ) {
  59732. nativeRemoveNode(renderer, rNode, isComponent);
  59733. } else if (action === 3
  59734. /* WalkTNodeTreeAction.Destroy */
  59735. ) {
  59736. ngDevMode && ngDevMode.rendererDestroyNode++;
  59737. renderer.destroyNode(rNode);
  59738. }
  59739. if (lContainer != null) {
  59740. applyContainer(renderer, action, lContainer, parent, beforeNode);
  59741. }
  59742. }
  59743. }
  59744. function createTextNode(renderer, value) {
  59745. ngDevMode && ngDevMode.rendererCreateTextNode++;
  59746. ngDevMode && ngDevMode.rendererSetText++;
  59747. return renderer.createText(value);
  59748. }
  59749. function updateTextNode(renderer, rNode, value) {
  59750. ngDevMode && ngDevMode.rendererSetText++;
  59751. renderer.setValue(rNode, value);
  59752. }
  59753. function createCommentNode(renderer, value) {
  59754. ngDevMode && ngDevMode.rendererCreateComment++;
  59755. return renderer.createComment(escapeCommentText(value));
  59756. }
  59757. /**
  59758. * Creates a native element from a tag name, using a renderer.
  59759. * @param renderer A renderer to use
  59760. * @param name the tag name
  59761. * @param namespace Optional namespace for element.
  59762. * @returns the element created
  59763. */
  59764. function createElementNode(renderer, name, namespace) {
  59765. ngDevMode && ngDevMode.rendererCreateElement++;
  59766. return renderer.createElement(name, namespace);
  59767. }
  59768. /**
  59769. * Removes all DOM elements associated with a view.
  59770. *
  59771. * Because some root nodes of the view may be containers, we sometimes need
  59772. * to propagate deeply into the nested containers to remove all elements in the
  59773. * views beneath it.
  59774. *
  59775. * @param tView The `TView' of the `LView` from which elements should be added or removed
  59776. * @param lView The view from which elements should be added or removed
  59777. */
  59778. function removeViewFromContainer(tView, lView) {
  59779. const renderer = lView[RENDERER];
  59780. applyView(tView, lView, renderer, 2
  59781. /* WalkTNodeTreeAction.Detach */
  59782. , null, null);
  59783. lView[HOST] = null;
  59784. lView[T_HOST] = null;
  59785. }
  59786. /**
  59787. * Adds all DOM elements associated with a view.
  59788. *
  59789. * Because some root nodes of the view may be containers, we sometimes need
  59790. * to propagate deeply into the nested containers to add all elements in the
  59791. * views beneath it.
  59792. *
  59793. * @param tView The `TView' of the `LView` from which elements should be added or removed
  59794. * @param parentTNode The `TNode` where the `LView` should be attached to.
  59795. * @param renderer Current renderer to use for DOM manipulations.
  59796. * @param lView The view from which elements should be added or removed
  59797. * @param parentNativeNode The parent `RElement` where it should be inserted into.
  59798. * @param beforeNode The node before which elements should be added, if insert mode
  59799. */
  59800. function addViewToContainer(tView, parentTNode, renderer, lView, parentNativeNode, beforeNode) {
  59801. lView[HOST] = parentNativeNode;
  59802. lView[T_HOST] = parentTNode;
  59803. applyView(tView, lView, renderer, 1
  59804. /* WalkTNodeTreeAction.Insert */
  59805. , parentNativeNode, beforeNode);
  59806. }
  59807. /**
  59808. * Detach a `LView` from the DOM by detaching its nodes.
  59809. *
  59810. * @param tView The `TView' of the `LView` to be detached
  59811. * @param lView the `LView` to be detached.
  59812. */
  59813. function renderDetachView(tView, lView) {
  59814. applyView(tView, lView, lView[RENDERER], 2
  59815. /* WalkTNodeTreeAction.Detach */
  59816. , null, null);
  59817. }
  59818. /**
  59819. * Traverses down and up the tree of views and containers to remove listeners and
  59820. * call onDestroy callbacks.
  59821. *
  59822. * Notes:
  59823. * - Because it's used for onDestroy calls, it needs to be bottom-up.
  59824. * - Must process containers instead of their views to avoid splicing
  59825. * when views are destroyed and re-added.
  59826. * - Using a while loop because it's faster than recursion
  59827. * - Destroy only called on movement to sibling or movement to parent (laterally or up)
  59828. *
  59829. * @param rootView The view to destroy
  59830. */
  59831. function destroyViewTree(rootView) {
  59832. // If the view has no children, we can clean it up and return early.
  59833. let lViewOrLContainer = rootView[CHILD_HEAD];
  59834. if (!lViewOrLContainer) {
  59835. return cleanUpView(rootView[TVIEW], rootView);
  59836. }
  59837. while (lViewOrLContainer) {
  59838. let next = null;
  59839. if (isLView(lViewOrLContainer)) {
  59840. // If LView, traverse down to child.
  59841. next = lViewOrLContainer[CHILD_HEAD];
  59842. } else {
  59843. ngDevMode && assertLContainer(lViewOrLContainer); // If container, traverse down to its first LView.
  59844. const firstView = lViewOrLContainer[CONTAINER_HEADER_OFFSET];
  59845. if (firstView) next = firstView;
  59846. }
  59847. if (!next) {
  59848. // Only clean up view when moving to the side or up, as destroy hooks
  59849. // should be called in order from the bottom up.
  59850. while (lViewOrLContainer && !lViewOrLContainer[NEXT] && lViewOrLContainer !== rootView) {
  59851. if (isLView(lViewOrLContainer)) {
  59852. cleanUpView(lViewOrLContainer[TVIEW], lViewOrLContainer);
  59853. }
  59854. lViewOrLContainer = lViewOrLContainer[PARENT];
  59855. }
  59856. if (lViewOrLContainer === null) lViewOrLContainer = rootView;
  59857. if (isLView(lViewOrLContainer)) {
  59858. cleanUpView(lViewOrLContainer[TVIEW], lViewOrLContainer);
  59859. }
  59860. next = lViewOrLContainer && lViewOrLContainer[NEXT];
  59861. }
  59862. lViewOrLContainer = next;
  59863. }
  59864. }
  59865. /**
  59866. * Inserts a view into a container.
  59867. *
  59868. * This adds the view to the container's array of active views in the correct
  59869. * position. It also adds the view's elements to the DOM if the container isn't a
  59870. * root node of another view (in that case, the view's elements will be added when
  59871. * the container's parent view is added later).
  59872. *
  59873. * @param tView The `TView' of the `LView` to insert
  59874. * @param lView The view to insert
  59875. * @param lContainer The container into which the view should be inserted
  59876. * @param index Which index in the container to insert the child view into
  59877. */
  59878. function insertView(tView, lView, lContainer, index) {
  59879. ngDevMode && assertLView(lView);
  59880. ngDevMode && assertLContainer(lContainer);
  59881. const indexInContainer = CONTAINER_HEADER_OFFSET + index;
  59882. const containerLength = lContainer.length;
  59883. if (index > 0) {
  59884. // This is a new view, we need to add it to the children.
  59885. lContainer[indexInContainer - 1][NEXT] = lView;
  59886. }
  59887. if (index < containerLength - CONTAINER_HEADER_OFFSET) {
  59888. lView[NEXT] = lContainer[indexInContainer];
  59889. addToArray(lContainer, CONTAINER_HEADER_OFFSET + index, lView);
  59890. } else {
  59891. lContainer.push(lView);
  59892. lView[NEXT] = null;
  59893. }
  59894. lView[PARENT] = lContainer; // track views where declaration and insertion points are different
  59895. const declarationLContainer = lView[DECLARATION_LCONTAINER];
  59896. if (declarationLContainer !== null && lContainer !== declarationLContainer) {
  59897. trackMovedView(declarationLContainer, lView);
  59898. } // notify query that a new view has been added
  59899. const lQueries = lView[QUERIES];
  59900. if (lQueries !== null) {
  59901. lQueries.insertView(tView);
  59902. } // Sets the attached flag
  59903. lView[FLAGS] |= 64
  59904. /* LViewFlags.Attached */
  59905. ;
  59906. }
  59907. /**
  59908. * Track views created from the declaration container (TemplateRef) and inserted into a
  59909. * different LContainer.
  59910. */
  59911. function trackMovedView(declarationContainer, lView) {
  59912. ngDevMode && assertDefined(lView, 'LView required');
  59913. ngDevMode && assertLContainer(declarationContainer);
  59914. const movedViews = declarationContainer[MOVED_VIEWS];
  59915. const insertedLContainer = lView[PARENT];
  59916. ngDevMode && assertLContainer(insertedLContainer);
  59917. const insertedComponentLView = insertedLContainer[PARENT][DECLARATION_COMPONENT_VIEW];
  59918. ngDevMode && assertDefined(insertedComponentLView, 'Missing insertedComponentLView');
  59919. const declaredComponentLView = lView[DECLARATION_COMPONENT_VIEW];
  59920. ngDevMode && assertDefined(declaredComponentLView, 'Missing declaredComponentLView');
  59921. if (declaredComponentLView !== insertedComponentLView) {
  59922. // At this point the declaration-component is not same as insertion-component; this means that
  59923. // this is a transplanted view. Mark the declared lView as having transplanted views so that
  59924. // those views can participate in CD.
  59925. declarationContainer[HAS_TRANSPLANTED_VIEWS] = true;
  59926. }
  59927. if (movedViews === null) {
  59928. declarationContainer[MOVED_VIEWS] = [lView];
  59929. } else {
  59930. movedViews.push(lView);
  59931. }
  59932. }
  59933. function detachMovedView(declarationContainer, lView) {
  59934. ngDevMode && assertLContainer(declarationContainer);
  59935. ngDevMode && assertDefined(declarationContainer[MOVED_VIEWS], 'A projected view should belong to a non-empty projected views collection');
  59936. const movedViews = declarationContainer[MOVED_VIEWS];
  59937. const declarationViewIndex = movedViews.indexOf(lView);
  59938. const insertionLContainer = lView[PARENT];
  59939. ngDevMode && assertLContainer(insertionLContainer); // If the view was marked for refresh but then detached before it was checked (where the flag
  59940. // would be cleared and the counter decremented), we need to decrement the view counter here
  59941. // instead.
  59942. if (lView[FLAGS] & 512
  59943. /* LViewFlags.RefreshTransplantedView */
  59944. ) {
  59945. lView[FLAGS] &= ~512
  59946. /* LViewFlags.RefreshTransplantedView */
  59947. ;
  59948. updateTransplantedViewCount(insertionLContainer, -1);
  59949. }
  59950. movedViews.splice(declarationViewIndex, 1);
  59951. }
  59952. /**
  59953. * Detaches a view from a container.
  59954. *
  59955. * This method removes the view from the container's array of active views. It also
  59956. * removes the view's elements from the DOM.
  59957. *
  59958. * @param lContainer The container from which to detach a view
  59959. * @param removeIndex The index of the view to detach
  59960. * @returns Detached LView instance.
  59961. */
  59962. function detachView(lContainer, removeIndex) {
  59963. if (lContainer.length <= CONTAINER_HEADER_OFFSET) return;
  59964. const indexInContainer = CONTAINER_HEADER_OFFSET + removeIndex;
  59965. const viewToDetach = lContainer[indexInContainer];
  59966. if (viewToDetach) {
  59967. const declarationLContainer = viewToDetach[DECLARATION_LCONTAINER];
  59968. if (declarationLContainer !== null && declarationLContainer !== lContainer) {
  59969. detachMovedView(declarationLContainer, viewToDetach);
  59970. }
  59971. if (removeIndex > 0) {
  59972. lContainer[indexInContainer - 1][NEXT] = viewToDetach[NEXT];
  59973. }
  59974. const removedLView = removeFromArray(lContainer, CONTAINER_HEADER_OFFSET + removeIndex);
  59975. removeViewFromContainer(viewToDetach[TVIEW], viewToDetach); // notify query that a view has been removed
  59976. const lQueries = removedLView[QUERIES];
  59977. if (lQueries !== null) {
  59978. lQueries.detachView(removedLView[TVIEW]);
  59979. }
  59980. viewToDetach[PARENT] = null;
  59981. viewToDetach[NEXT] = null; // Unsets the attached flag
  59982. viewToDetach[FLAGS] &= ~64
  59983. /* LViewFlags.Attached */
  59984. ;
  59985. }
  59986. return viewToDetach;
  59987. }
  59988. /**
  59989. * A standalone function which destroys an LView,
  59990. * conducting clean up (e.g. removing listeners, calling onDestroys).
  59991. *
  59992. * @param tView The `TView' of the `LView` to be destroyed
  59993. * @param lView The view to be destroyed.
  59994. */
  59995. function destroyLView(tView, lView) {
  59996. if (!(lView[FLAGS] & 128
  59997. /* LViewFlags.Destroyed */
  59998. )) {
  59999. const renderer = lView[RENDERER];
  60000. if (renderer.destroyNode) {
  60001. applyView(tView, lView, renderer, 3
  60002. /* WalkTNodeTreeAction.Destroy */
  60003. , null, null);
  60004. }
  60005. destroyViewTree(lView);
  60006. }
  60007. }
  60008. /**
  60009. * Calls onDestroys hooks for all directives and pipes in a given view and then removes all
  60010. * listeners. Listeners are removed as the last step so events delivered in the onDestroys hooks
  60011. * can be propagated to @Output listeners.
  60012. *
  60013. * @param tView `TView` for the `LView` to clean up.
  60014. * @param lView The LView to clean up
  60015. */
  60016. function cleanUpView(tView, lView) {
  60017. if (!(lView[FLAGS] & 128
  60018. /* LViewFlags.Destroyed */
  60019. )) {
  60020. // Usually the Attached flag is removed when the view is detached from its parent, however
  60021. // if it's a root view, the flag won't be unset hence why we're also removing on destroy.
  60022. lView[FLAGS] &= ~64
  60023. /* LViewFlags.Attached */
  60024. ; // Mark the LView as destroyed *before* executing the onDestroy hooks. An onDestroy hook
  60025. // runs arbitrary user code, which could include its own `viewRef.destroy()` (or similar). If
  60026. // We don't flag the view as destroyed before the hooks, this could lead to an infinite loop.
  60027. // This also aligns with the ViewEngine behavior. It also means that the onDestroy hook is
  60028. // really more of an "afterDestroy" hook if you think about it.
  60029. lView[FLAGS] |= 128
  60030. /* LViewFlags.Destroyed */
  60031. ;
  60032. executeOnDestroys(tView, lView);
  60033. processCleanups(tView, lView); // For component views only, the local renderer is destroyed at clean up time.
  60034. if (lView[TVIEW].type === 1
  60035. /* TViewType.Component */
  60036. ) {
  60037. ngDevMode && ngDevMode.rendererDestroy++;
  60038. lView[RENDERER].destroy();
  60039. }
  60040. const declarationContainer = lView[DECLARATION_LCONTAINER]; // we are dealing with an embedded view that is still inserted into a container
  60041. if (declarationContainer !== null && isLContainer(lView[PARENT])) {
  60042. // and this is a projected view
  60043. if (declarationContainer !== lView[PARENT]) {
  60044. detachMovedView(declarationContainer, lView);
  60045. } // For embedded views still attached to a container: remove query result from this view.
  60046. const lQueries = lView[QUERIES];
  60047. if (lQueries !== null) {
  60048. lQueries.detachView(tView);
  60049. }
  60050. } // Unregister the view once everything else has been cleaned up.
  60051. unregisterLView(lView);
  60052. }
  60053. }
  60054. /** Removes listeners and unsubscribes from output subscriptions */
  60055. function processCleanups(tView, lView) {
  60056. const tCleanup = tView.cleanup;
  60057. const lCleanup = lView[CLEANUP]; // `LCleanup` contains both share information with `TCleanup` as well as instance specific
  60058. // information appended at the end. We need to know where the end of the `TCleanup` information
  60059. // is, and we track this with `lastLCleanupIndex`.
  60060. let lastLCleanupIndex = -1;
  60061. if (tCleanup !== null) {
  60062. for (let i = 0; i < tCleanup.length - 1; i += 2) {
  60063. if (typeof tCleanup[i] === 'string') {
  60064. // This is a native DOM listener
  60065. const idxOrTargetGetter = tCleanup[i + 1];
  60066. const target = typeof idxOrTargetGetter === 'function' ? idxOrTargetGetter(lView) : unwrapRNode(lView[idxOrTargetGetter]);
  60067. const listener = lCleanup[lastLCleanupIndex = tCleanup[i + 2]];
  60068. const useCaptureOrSubIdx = tCleanup[i + 3];
  60069. if (typeof useCaptureOrSubIdx === 'boolean') {
  60070. // native DOM listener registered with Renderer3
  60071. target.removeEventListener(tCleanup[i], listener, useCaptureOrSubIdx);
  60072. } else {
  60073. if (useCaptureOrSubIdx >= 0) {
  60074. // unregister
  60075. lCleanup[lastLCleanupIndex = useCaptureOrSubIdx]();
  60076. } else {
  60077. // Subscription
  60078. lCleanup[lastLCleanupIndex = -useCaptureOrSubIdx].unsubscribe();
  60079. }
  60080. }
  60081. i += 2;
  60082. } else {
  60083. // This is a cleanup function that is grouped with the index of its context
  60084. const context = lCleanup[lastLCleanupIndex = tCleanup[i + 1]];
  60085. tCleanup[i].call(context);
  60086. }
  60087. }
  60088. }
  60089. if (lCleanup !== null) {
  60090. for (let i = lastLCleanupIndex + 1; i < lCleanup.length; i++) {
  60091. const instanceCleanupFn = lCleanup[i];
  60092. ngDevMode && assertFunction(instanceCleanupFn, 'Expecting instance cleanup function.');
  60093. instanceCleanupFn();
  60094. }
  60095. lView[CLEANUP] = null;
  60096. }
  60097. }
  60098. /** Calls onDestroy hooks for this view */
  60099. function executeOnDestroys(tView, lView) {
  60100. let destroyHooks;
  60101. if (tView != null && (destroyHooks = tView.destroyHooks) != null) {
  60102. for (let i = 0; i < destroyHooks.length; i += 2) {
  60103. const context = lView[destroyHooks[i]]; // Only call the destroy hook if the context has been requested.
  60104. if (!(context instanceof NodeInjectorFactory)) {
  60105. const toCall = destroyHooks[i + 1];
  60106. if (Array.isArray(toCall)) {
  60107. for (let j = 0; j < toCall.length; j += 2) {
  60108. const callContext = context[toCall[j]];
  60109. const hook = toCall[j + 1];
  60110. profiler(4
  60111. /* ProfilerEvent.LifecycleHookStart */
  60112. , callContext, hook);
  60113. try {
  60114. hook.call(callContext);
  60115. } finally {
  60116. profiler(5
  60117. /* ProfilerEvent.LifecycleHookEnd */
  60118. , callContext, hook);
  60119. }
  60120. }
  60121. } else {
  60122. profiler(4
  60123. /* ProfilerEvent.LifecycleHookStart */
  60124. , context, toCall);
  60125. try {
  60126. toCall.call(context);
  60127. } finally {
  60128. profiler(5
  60129. /* ProfilerEvent.LifecycleHookEnd */
  60130. , context, toCall);
  60131. }
  60132. }
  60133. }
  60134. }
  60135. }
  60136. }
  60137. /**
  60138. * Returns a native element if a node can be inserted into the given parent.
  60139. *
  60140. * There are two reasons why we may not be able to insert a element immediately.
  60141. * - Projection: When creating a child content element of a component, we have to skip the
  60142. * insertion because the content of a component will be projected.
  60143. * `<component><content>delayed due to projection</content></component>`
  60144. * - Parent container is disconnected: This can happen when we are inserting a view into
  60145. * parent container, which itself is disconnected. For example the parent container is part
  60146. * of a View which has not be inserted or is made for projection but has not been inserted
  60147. * into destination.
  60148. *
  60149. * @param tView: Current `TView`.
  60150. * @param tNode: `TNode` for which we wish to retrieve render parent.
  60151. * @param lView: Current `LView`.
  60152. */
  60153. function getParentRElement(tView, tNode, lView) {
  60154. return getClosestRElement(tView, tNode.parent, lView);
  60155. }
  60156. /**
  60157. * Get closest `RElement` or `null` if it can't be found.
  60158. *
  60159. * If `TNode` is `TNodeType.Element` => return `RElement` at `LView[tNode.index]` location.
  60160. * If `TNode` is `TNodeType.ElementContainer|IcuContain` => return the parent (recursively).
  60161. * If `TNode` is `null` then return host `RElement`:
  60162. * - return `null` if projection
  60163. * - return `null` if parent container is disconnected (we have no parent.)
  60164. *
  60165. * @param tView: Current `TView`.
  60166. * @param tNode: `TNode` for which we wish to retrieve `RElement` (or `null` if host element is
  60167. * needed).
  60168. * @param lView: Current `LView`.
  60169. * @returns `null` if the `RElement` can't be determined at this time (no parent / projection)
  60170. */
  60171. function getClosestRElement(tView, tNode, lView) {
  60172. let parentTNode = tNode; // Skip over element and ICU containers as those are represented by a comment node and
  60173. // can't be used as a render parent.
  60174. while (parentTNode !== null && parentTNode.type & (8
  60175. /* TNodeType.ElementContainer */
  60176. | 32
  60177. /* TNodeType.Icu */
  60178. )) {
  60179. tNode = parentTNode;
  60180. parentTNode = tNode.parent;
  60181. } // If the parent tNode is null, then we are inserting across views: either into an embedded view
  60182. // or a component view.
  60183. if (parentTNode === null) {
  60184. // We are inserting a root element of the component view into the component host element and
  60185. // it should always be eager.
  60186. return lView[HOST];
  60187. } else {
  60188. ngDevMode && assertTNodeType(parentTNode, 3
  60189. /* TNodeType.AnyRNode */
  60190. | 4
  60191. /* TNodeType.Container */
  60192. );
  60193. if (parentTNode.flags & 2
  60194. /* TNodeFlags.isComponentHost */
  60195. ) {
  60196. ngDevMode && assertTNodeForLView(parentTNode, lView);
  60197. const encapsulation = tView.data[parentTNode.directiveStart].encapsulation; // We've got a parent which is an element in the current view. We just need to verify if the
  60198. // parent element is not a component. Component's content nodes are not inserted immediately
  60199. // because they will be projected, and so doing insert at this point would be wasteful.
  60200. // Since the projection would then move it to its final destination. Note that we can't
  60201. // make this assumption when using the Shadow DOM, because the native projection placeholders
  60202. // (<content> or <slot>) have to be in place as elements are being inserted.
  60203. if (encapsulation === ViewEncapsulation$1.None || encapsulation === ViewEncapsulation$1.Emulated) {
  60204. return null;
  60205. }
  60206. }
  60207. return getNativeByTNode(parentTNode, lView);
  60208. }
  60209. }
  60210. /**
  60211. * Inserts a native node before another native node for a given parent.
  60212. * This is a utility function that can be used when native nodes were determined.
  60213. */
  60214. function nativeInsertBefore(renderer, parent, child, beforeNode, isMove) {
  60215. ngDevMode && ngDevMode.rendererInsertBefore++;
  60216. renderer.insertBefore(parent, child, beforeNode, isMove);
  60217. }
  60218. function nativeAppendChild(renderer, parent, child) {
  60219. ngDevMode && ngDevMode.rendererAppendChild++;
  60220. ngDevMode && assertDefined(parent, 'parent node must be defined');
  60221. renderer.appendChild(parent, child);
  60222. }
  60223. function nativeAppendOrInsertBefore(renderer, parent, child, beforeNode, isMove) {
  60224. if (beforeNode !== null) {
  60225. nativeInsertBefore(renderer, parent, child, beforeNode, isMove);
  60226. } else {
  60227. nativeAppendChild(renderer, parent, child);
  60228. }
  60229. }
  60230. /** Removes a node from the DOM given its native parent. */
  60231. function nativeRemoveChild(renderer, parent, child, isHostElement) {
  60232. renderer.removeChild(parent, child, isHostElement);
  60233. }
  60234. /** Checks if an element is a `<template>` node. */
  60235. function isTemplateNode(node) {
  60236. return node.tagName === 'TEMPLATE' && node.content !== undefined;
  60237. }
  60238. /**
  60239. * Returns a native parent of a given native node.
  60240. */
  60241. function nativeParentNode(renderer, node) {
  60242. return renderer.parentNode(node);
  60243. }
  60244. /**
  60245. * Returns a native sibling of a given native node.
  60246. */
  60247. function nativeNextSibling(renderer, node) {
  60248. return renderer.nextSibling(node);
  60249. }
  60250. /**
  60251. * Find a node in front of which `currentTNode` should be inserted.
  60252. *
  60253. * This method determines the `RNode` in front of which we should insert the `currentRNode`. This
  60254. * takes `TNode.insertBeforeIndex` into account if i18n code has been invoked.
  60255. *
  60256. * @param parentTNode parent `TNode`
  60257. * @param currentTNode current `TNode` (The node which we would like to insert into the DOM)
  60258. * @param lView current `LView`
  60259. */
  60260. function getInsertInFrontOfRNode(parentTNode, currentTNode, lView) {
  60261. return _getInsertInFrontOfRNodeWithI18n(parentTNode, currentTNode, lView);
  60262. }
  60263. /**
  60264. * Find a node in front of which `currentTNode` should be inserted. (Does not take i18n into
  60265. * account)
  60266. *
  60267. * This method determines the `RNode` in front of which we should insert the `currentRNode`. This
  60268. * does not take `TNode.insertBeforeIndex` into account.
  60269. *
  60270. * @param parentTNode parent `TNode`
  60271. * @param currentTNode current `TNode` (The node which we would like to insert into the DOM)
  60272. * @param lView current `LView`
  60273. */
  60274. function getInsertInFrontOfRNodeWithNoI18n(parentTNode, currentTNode, lView) {
  60275. if (parentTNode.type & (8
  60276. /* TNodeType.ElementContainer */
  60277. | 32
  60278. /* TNodeType.Icu */
  60279. )) {
  60280. return getNativeByTNode(parentTNode, lView);
  60281. }
  60282. return null;
  60283. }
  60284. /**
  60285. * Tree shakable boundary for `getInsertInFrontOfRNodeWithI18n` function.
  60286. *
  60287. * This function will only be set if i18n code runs.
  60288. */
  60289. let _getInsertInFrontOfRNodeWithI18n = getInsertInFrontOfRNodeWithNoI18n;
  60290. /**
  60291. * Tree shakable boundary for `processI18nInsertBefore` function.
  60292. *
  60293. * This function will only be set if i18n code runs.
  60294. */
  60295. let _processI18nInsertBefore;
  60296. function setI18nHandling(getInsertInFrontOfRNodeWithI18n, processI18nInsertBefore) {
  60297. _getInsertInFrontOfRNodeWithI18n = getInsertInFrontOfRNodeWithI18n;
  60298. _processI18nInsertBefore = processI18nInsertBefore;
  60299. }
  60300. /**
  60301. * Appends the `child` native node (or a collection of nodes) to the `parent`.
  60302. *
  60303. * @param tView The `TView' to be appended
  60304. * @param lView The current LView
  60305. * @param childRNode The native child (or children) that should be appended
  60306. * @param childTNode The TNode of the child element
  60307. */
  60308. function appendChild(tView, lView, childRNode, childTNode) {
  60309. const parentRNode = getParentRElement(tView, childTNode, lView);
  60310. const renderer = lView[RENDERER];
  60311. const parentTNode = childTNode.parent || lView[T_HOST];
  60312. const anchorNode = getInsertInFrontOfRNode(parentTNode, childTNode, lView);
  60313. if (parentRNode != null) {
  60314. if (Array.isArray(childRNode)) {
  60315. for (let i = 0; i < childRNode.length; i++) {
  60316. nativeAppendOrInsertBefore(renderer, parentRNode, childRNode[i], anchorNode, false);
  60317. }
  60318. } else {
  60319. nativeAppendOrInsertBefore(renderer, parentRNode, childRNode, anchorNode, false);
  60320. }
  60321. }
  60322. _processI18nInsertBefore !== undefined && _processI18nInsertBefore(renderer, childTNode, lView, childRNode, parentRNode);
  60323. }
  60324. /**
  60325. * Returns the first native node for a given LView, starting from the provided TNode.
  60326. *
  60327. * Native nodes are returned in the order in which those appear in the native tree (DOM).
  60328. */
  60329. function getFirstNativeNode(lView, tNode) {
  60330. if (tNode !== null) {
  60331. ngDevMode && assertTNodeType(tNode, 3
  60332. /* TNodeType.AnyRNode */
  60333. | 12
  60334. /* TNodeType.AnyContainer */
  60335. | 32
  60336. /* TNodeType.Icu */
  60337. | 16
  60338. /* TNodeType.Projection */
  60339. );
  60340. const tNodeType = tNode.type;
  60341. if (tNodeType & 3
  60342. /* TNodeType.AnyRNode */
  60343. ) {
  60344. return getNativeByTNode(tNode, lView);
  60345. } else if (tNodeType & 4
  60346. /* TNodeType.Container */
  60347. ) {
  60348. return getBeforeNodeForView(-1, lView[tNode.index]);
  60349. } else if (tNodeType & 8
  60350. /* TNodeType.ElementContainer */
  60351. ) {
  60352. const elIcuContainerChild = tNode.child;
  60353. if (elIcuContainerChild !== null) {
  60354. return getFirstNativeNode(lView, elIcuContainerChild);
  60355. } else {
  60356. const rNodeOrLContainer = lView[tNode.index];
  60357. if (isLContainer(rNodeOrLContainer)) {
  60358. return getBeforeNodeForView(-1, rNodeOrLContainer);
  60359. } else {
  60360. return unwrapRNode(rNodeOrLContainer);
  60361. }
  60362. }
  60363. } else if (tNodeType & 32
  60364. /* TNodeType.Icu */
  60365. ) {
  60366. let nextRNode = icuContainerIterate(tNode, lView);
  60367. let rNode = nextRNode(); // If the ICU container has no nodes, than we use the ICU anchor as the node.
  60368. return rNode || unwrapRNode(lView[tNode.index]);
  60369. } else {
  60370. const projectionNodes = getProjectionNodes(lView, tNode);
  60371. if (projectionNodes !== null) {
  60372. if (Array.isArray(projectionNodes)) {
  60373. return projectionNodes[0];
  60374. }
  60375. const parentView = getLViewParent(lView[DECLARATION_COMPONENT_VIEW]);
  60376. ngDevMode && assertParentView(parentView);
  60377. return getFirstNativeNode(parentView, projectionNodes);
  60378. } else {
  60379. return getFirstNativeNode(lView, tNode.next);
  60380. }
  60381. }
  60382. }
  60383. return null;
  60384. }
  60385. function getProjectionNodes(lView, tNode) {
  60386. if (tNode !== null) {
  60387. const componentView = lView[DECLARATION_COMPONENT_VIEW];
  60388. const componentHost = componentView[T_HOST];
  60389. const slotIdx = tNode.projection;
  60390. ngDevMode && assertProjectionSlots(lView);
  60391. return componentHost.projection[slotIdx];
  60392. }
  60393. return null;
  60394. }
  60395. function getBeforeNodeForView(viewIndexInContainer, lContainer) {
  60396. const nextViewIndex = CONTAINER_HEADER_OFFSET + viewIndexInContainer + 1;
  60397. if (nextViewIndex < lContainer.length) {
  60398. const lView = lContainer[nextViewIndex];
  60399. const firstTNodeOfView = lView[TVIEW].firstChild;
  60400. if (firstTNodeOfView !== null) {
  60401. return getFirstNativeNode(lView, firstTNodeOfView);
  60402. }
  60403. }
  60404. return lContainer[NATIVE];
  60405. }
  60406. /**
  60407. * Removes a native node itself using a given renderer. To remove the node we are looking up its
  60408. * parent from the native tree as not all platforms / browsers support the equivalent of
  60409. * node.remove().
  60410. *
  60411. * @param renderer A renderer to be used
  60412. * @param rNode The native node that should be removed
  60413. * @param isHostElement A flag indicating if a node to be removed is a host of a component.
  60414. */
  60415. function nativeRemoveNode(renderer, rNode, isHostElement) {
  60416. ngDevMode && ngDevMode.rendererRemoveNode++;
  60417. const nativeParent = nativeParentNode(renderer, rNode);
  60418. if (nativeParent) {
  60419. nativeRemoveChild(renderer, nativeParent, rNode, isHostElement);
  60420. }
  60421. }
  60422. /**
  60423. * Performs the operation of `action` on the node. Typically this involves inserting or removing
  60424. * nodes on the LView or projection boundary.
  60425. */
  60426. function applyNodes(renderer, action, tNode, lView, parentRElement, beforeNode, isProjection) {
  60427. while (tNode != null) {
  60428. ngDevMode && assertTNodeForLView(tNode, lView);
  60429. ngDevMode && assertTNodeType(tNode, 3
  60430. /* TNodeType.AnyRNode */
  60431. | 12
  60432. /* TNodeType.AnyContainer */
  60433. | 16
  60434. /* TNodeType.Projection */
  60435. | 32
  60436. /* TNodeType.Icu */
  60437. );
  60438. const rawSlotValue = lView[tNode.index];
  60439. const tNodeType = tNode.type;
  60440. if (isProjection) {
  60441. if (action === 0
  60442. /* WalkTNodeTreeAction.Create */
  60443. ) {
  60444. rawSlotValue && attachPatchData(unwrapRNode(rawSlotValue), lView);
  60445. tNode.flags |= 4
  60446. /* TNodeFlags.isProjected */
  60447. ;
  60448. }
  60449. }
  60450. if ((tNode.flags & 64
  60451. /* TNodeFlags.isDetached */
  60452. ) !== 64
  60453. /* TNodeFlags.isDetached */
  60454. ) {
  60455. if (tNodeType & 8
  60456. /* TNodeType.ElementContainer */
  60457. ) {
  60458. applyNodes(renderer, action, tNode.child, lView, parentRElement, beforeNode, false);
  60459. applyToElementOrContainer(action, renderer, parentRElement, rawSlotValue, beforeNode);
  60460. } else if (tNodeType & 32
  60461. /* TNodeType.Icu */
  60462. ) {
  60463. const nextRNode = icuContainerIterate(tNode, lView);
  60464. let rNode;
  60465. while (rNode = nextRNode()) {
  60466. applyToElementOrContainer(action, renderer, parentRElement, rNode, beforeNode);
  60467. }
  60468. applyToElementOrContainer(action, renderer, parentRElement, rawSlotValue, beforeNode);
  60469. } else if (tNodeType & 16
  60470. /* TNodeType.Projection */
  60471. ) {
  60472. applyProjectionRecursive(renderer, action, lView, tNode, parentRElement, beforeNode);
  60473. } else {
  60474. ngDevMode && assertTNodeType(tNode, 3
  60475. /* TNodeType.AnyRNode */
  60476. | 4
  60477. /* TNodeType.Container */
  60478. );
  60479. applyToElementOrContainer(action, renderer, parentRElement, rawSlotValue, beforeNode);
  60480. }
  60481. }
  60482. tNode = isProjection ? tNode.projectionNext : tNode.next;
  60483. }
  60484. }
  60485. function applyView(tView, lView, renderer, action, parentRElement, beforeNode) {
  60486. applyNodes(renderer, action, tView.firstChild, lView, parentRElement, beforeNode, false);
  60487. }
  60488. /**
  60489. * `applyProjection` performs operation on the projection.
  60490. *
  60491. * Inserting a projection requires us to locate the projected nodes from the parent component. The
  60492. * complication is that those nodes themselves could be re-projected from their parent component.
  60493. *
  60494. * @param tView The `TView` of `LView` which needs to be inserted, detached, destroyed
  60495. * @param lView The `LView` which needs to be inserted, detached, destroyed.
  60496. * @param tProjectionNode node to project
  60497. */
  60498. function applyProjection(tView, lView, tProjectionNode) {
  60499. const renderer = lView[RENDERER];
  60500. const parentRNode = getParentRElement(tView, tProjectionNode, lView);
  60501. const parentTNode = tProjectionNode.parent || lView[T_HOST];
  60502. let beforeNode = getInsertInFrontOfRNode(parentTNode, tProjectionNode, lView);
  60503. applyProjectionRecursive(renderer, 0
  60504. /* WalkTNodeTreeAction.Create */
  60505. , lView, tProjectionNode, parentRNode, beforeNode);
  60506. }
  60507. /**
  60508. * `applyProjectionRecursive` performs operation on the projection specified by `action` (insert,
  60509. * detach, destroy)
  60510. *
  60511. * Inserting a projection requires us to locate the projected nodes from the parent component. The
  60512. * complication is that those nodes themselves could be re-projected from their parent component.
  60513. *
  60514. * @param renderer Render to use
  60515. * @param action action to perform (insert, detach, destroy)
  60516. * @param lView The LView which needs to be inserted, detached, destroyed.
  60517. * @param tProjectionNode node to project
  60518. * @param parentRElement parent DOM element for insertion/removal.
  60519. * @param beforeNode Before which node the insertions should happen.
  60520. */
  60521. function applyProjectionRecursive(renderer, action, lView, tProjectionNode, parentRElement, beforeNode) {
  60522. const componentLView = lView[DECLARATION_COMPONENT_VIEW];
  60523. const componentNode = componentLView[T_HOST];
  60524. ngDevMode && assertEqual(typeof tProjectionNode.projection, 'number', 'expecting projection index');
  60525. const nodeToProjectOrRNodes = componentNode.projection[tProjectionNode.projection];
  60526. if (Array.isArray(nodeToProjectOrRNodes)) {
  60527. // This should not exist, it is a bit of a hack. When we bootstrap a top level node and we
  60528. // need to support passing projectable nodes, so we cheat and put them in the TNode
  60529. // of the Host TView. (Yes we put instance info at the T Level). We can get away with it
  60530. // because we know that that TView is not shared and therefore it will not be a problem.
  60531. // This should be refactored and cleaned up.
  60532. for (let i = 0; i < nodeToProjectOrRNodes.length; i++) {
  60533. const rNode = nodeToProjectOrRNodes[i];
  60534. applyToElementOrContainer(action, renderer, parentRElement, rNode, beforeNode);
  60535. }
  60536. } else {
  60537. let nodeToProject = nodeToProjectOrRNodes;
  60538. const projectedComponentLView = componentLView[PARENT];
  60539. applyNodes(renderer, action, nodeToProject, projectedComponentLView, parentRElement, beforeNode, true);
  60540. }
  60541. }
  60542. /**
  60543. * `applyContainer` performs an operation on the container and its views as specified by
  60544. * `action` (insert, detach, destroy)
  60545. *
  60546. * Inserting a Container is complicated by the fact that the container may have Views which
  60547. * themselves have containers or projections.
  60548. *
  60549. * @param renderer Renderer to use
  60550. * @param action action to perform (insert, detach, destroy)
  60551. * @param lContainer The LContainer which needs to be inserted, detached, destroyed.
  60552. * @param parentRElement parent DOM element for insertion/removal.
  60553. * @param beforeNode Before which node the insertions should happen.
  60554. */
  60555. function applyContainer(renderer, action, lContainer, parentRElement, beforeNode) {
  60556. ngDevMode && assertLContainer(lContainer);
  60557. const anchor = lContainer[NATIVE]; // LContainer has its own before node.
  60558. const native = unwrapRNode(lContainer); // An LContainer can be created dynamically on any node by injecting ViewContainerRef.
  60559. // Asking for a ViewContainerRef on an element will result in a creation of a separate anchor
  60560. // node (comment in the DOM) that will be different from the LContainer's host node. In this
  60561. // particular case we need to execute action on 2 nodes:
  60562. // - container's host node (this is done in the executeActionOnElementOrContainer)
  60563. // - container's host node (this is done here)
  60564. if (anchor !== native) {
  60565. // This is very strange to me (Misko). I would expect that the native is same as anchor. I
  60566. // don't see a reason why they should be different, but they are.
  60567. //
  60568. // If they are we need to process the second anchor as well.
  60569. applyToElementOrContainer(action, renderer, parentRElement, anchor, beforeNode);
  60570. }
  60571. for (let i = CONTAINER_HEADER_OFFSET; i < lContainer.length; i++) {
  60572. const lView = lContainer[i];
  60573. applyView(lView[TVIEW], lView, renderer, action, parentRElement, anchor);
  60574. }
  60575. }
  60576. /**
  60577. * Writes class/style to element.
  60578. *
  60579. * @param renderer Renderer to use.
  60580. * @param isClassBased `true` if it should be written to `class` (`false` to write to `style`)
  60581. * @param rNode The Node to write to.
  60582. * @param prop Property to write to. This would be the class/style name.
  60583. * @param value Value to write. If `null`/`undefined`/`false` this is considered a remove (set/add
  60584. * otherwise).
  60585. */
  60586. function applyStyling(renderer, isClassBased, rNode, prop, value) {
  60587. if (isClassBased) {
  60588. // We actually want JS true/false here because any truthy value should add the class
  60589. if (!value) {
  60590. ngDevMode && ngDevMode.rendererRemoveClass++;
  60591. renderer.removeClass(rNode, prop);
  60592. } else {
  60593. ngDevMode && ngDevMode.rendererAddClass++;
  60594. renderer.addClass(rNode, prop);
  60595. }
  60596. } else {
  60597. let flags = prop.indexOf('-') === -1 ? undefined : RendererStyleFlags2.DashCase;
  60598. if (value == null
  60599. /** || value === undefined */
  60600. ) {
  60601. ngDevMode && ngDevMode.rendererRemoveStyle++;
  60602. renderer.removeStyle(rNode, prop, flags);
  60603. } else {
  60604. // A value is important if it ends with `!important`. The style
  60605. // parser strips any semicolons at the end of the value.
  60606. const isImportant = typeof value === 'string' ? value.endsWith('!important') : false;
  60607. if (isImportant) {
  60608. // !important has to be stripped from the value for it to be valid.
  60609. value = value.slice(0, -10);
  60610. flags |= RendererStyleFlags2.Important;
  60611. }
  60612. ngDevMode && ngDevMode.rendererSetStyle++;
  60613. renderer.setStyle(rNode, prop, value, flags);
  60614. }
  60615. }
  60616. }
  60617. /**
  60618. * Write `cssText` to `RElement`.
  60619. *
  60620. * This function does direct write without any reconciliation. Used for writing initial values, so
  60621. * that static styling values do not pull in the style parser.
  60622. *
  60623. * @param renderer Renderer to use
  60624. * @param element The element which needs to be updated.
  60625. * @param newValue The new class list to write.
  60626. */
  60627. function writeDirectStyle(renderer, element, newValue) {
  60628. ngDevMode && assertString(newValue, '\'newValue\' should be a string');
  60629. renderer.setAttribute(element, 'style', newValue);
  60630. ngDevMode && ngDevMode.rendererSetStyle++;
  60631. }
  60632. /**
  60633. * Write `className` to `RElement`.
  60634. *
  60635. * This function does direct write without any reconciliation. Used for writing initial values, so
  60636. * that static styling values do not pull in the style parser.
  60637. *
  60638. * @param renderer Renderer to use
  60639. * @param element The element which needs to be updated.
  60640. * @param newValue The new class list to write.
  60641. */
  60642. function writeDirectClass(renderer, element, newValue) {
  60643. ngDevMode && assertString(newValue, '\'newValue\' should be a string');
  60644. if (newValue === '') {
  60645. // There are tests in `google3` which expect `element.getAttribute('class')` to be `null`.
  60646. renderer.removeAttribute(element, 'class');
  60647. } else {
  60648. renderer.setAttribute(element, 'class', newValue);
  60649. }
  60650. ngDevMode && ngDevMode.rendererSetClassName++;
  60651. }
  60652. /**
  60653. * @license
  60654. * Copyright Google LLC All Rights Reserved.
  60655. *
  60656. * Use of this source code is governed by an MIT-style license that can be
  60657. * found in the LICENSE file at https://angular.io/license
  60658. */
  60659. /**
  60660. * Returns an index of `classToSearch` in `className` taking token boundaries into account.
  60661. *
  60662. * `classIndexOf('AB A', 'A', 0)` will be 3 (not 0 since `AB!==A`)
  60663. *
  60664. * @param className A string containing classes (whitespace separated)
  60665. * @param classToSearch A class name to locate
  60666. * @param startingIndex Starting location of search
  60667. * @returns an index of the located class (or -1 if not found)
  60668. */
  60669. function classIndexOf(className, classToSearch, startingIndex) {
  60670. ngDevMode && assertNotEqual(classToSearch, '', 'can not look for "" string.');
  60671. let end = className.length;
  60672. while (true) {
  60673. const foundIndex = className.indexOf(classToSearch, startingIndex);
  60674. if (foundIndex === -1) return foundIndex;
  60675. if (foundIndex === 0 || className.charCodeAt(foundIndex - 1) <= 32
  60676. /* CharCode.SPACE */
  60677. ) {
  60678. // Ensure that it has leading whitespace
  60679. const length = classToSearch.length;
  60680. if (foundIndex + length === end || className.charCodeAt(foundIndex + length) <= 32
  60681. /* CharCode.SPACE */
  60682. ) {
  60683. // Ensure that it has trailing whitespace
  60684. return foundIndex;
  60685. }
  60686. } // False positive, keep searching from where we left off.
  60687. startingIndex = foundIndex + 1;
  60688. }
  60689. }
  60690. /**
  60691. * @license
  60692. * Copyright Google LLC All Rights Reserved.
  60693. *
  60694. * Use of this source code is governed by an MIT-style license that can be
  60695. * found in the LICENSE file at https://angular.io/license
  60696. */
  60697. const unusedValueToPlacateAjd$1 = unusedValueExportToPlacateAjd$5 + unusedValueExportToPlacateAjd$4;
  60698. const NG_TEMPLATE_SELECTOR = 'ng-template';
  60699. /**
  60700. * Search the `TAttributes` to see if it contains `cssClassToMatch` (case insensitive)
  60701. *
  60702. * @param attrs `TAttributes` to search through.
  60703. * @param cssClassToMatch class to match (lowercase)
  60704. * @param isProjectionMode Whether or not class matching should look into the attribute `class` in
  60705. * addition to the `AttributeMarker.Classes`.
  60706. */
  60707. function isCssClassMatching(attrs, cssClassToMatch, isProjectionMode) {
  60708. // TODO(misko): The fact that this function needs to know about `isProjectionMode` seems suspect.
  60709. // It is strange to me that sometimes the class information comes in form of `class` attribute
  60710. // and sometimes in form of `AttributeMarker.Classes`. Some investigation is needed to determine
  60711. // if that is the right behavior.
  60712. ngDevMode && assertEqual(cssClassToMatch, cssClassToMatch.toLowerCase(), 'Class name expected to be lowercase.');
  60713. let i = 0;
  60714. while (i < attrs.length) {
  60715. let item = attrs[i++];
  60716. if (isProjectionMode && item === 'class') {
  60717. item = attrs[i];
  60718. if (classIndexOf(item.toLowerCase(), cssClassToMatch, 0) !== -1) {
  60719. return true;
  60720. }
  60721. } else if (item === 1
  60722. /* AttributeMarker.Classes */
  60723. ) {
  60724. // We found the classes section. Start searching for the class.
  60725. while (i < attrs.length && typeof (item = attrs[i++]) == 'string') {
  60726. // while we have strings
  60727. if (item.toLowerCase() === cssClassToMatch) return true;
  60728. }
  60729. return false;
  60730. }
  60731. }
  60732. return false;
  60733. }
  60734. /**
  60735. * Checks whether the `tNode` represents an inline template (e.g. `*ngFor`).
  60736. *
  60737. * @param tNode current TNode
  60738. */
  60739. function isInlineTemplate(tNode) {
  60740. return tNode.type === 4
  60741. /* TNodeType.Container */
  60742. && tNode.value !== NG_TEMPLATE_SELECTOR;
  60743. }
  60744. /**
  60745. * Function that checks whether a given tNode matches tag-based selector and has a valid type.
  60746. *
  60747. * Matching can be performed in 2 modes: projection mode (when we project nodes) and regular
  60748. * directive matching mode:
  60749. * - in the "directive matching" mode we do _not_ take TContainer's tagName into account if it is
  60750. * different from NG_TEMPLATE_SELECTOR (value different from NG_TEMPLATE_SELECTOR indicates that a
  60751. * tag name was extracted from * syntax so we would match the same directive twice);
  60752. * - in the "projection" mode, we use a tag name potentially extracted from the * syntax processing
  60753. * (applicable to TNodeType.Container only).
  60754. */
  60755. function hasTagAndTypeMatch(tNode, currentSelector, isProjectionMode) {
  60756. const tagNameToCompare = tNode.type === 4
  60757. /* TNodeType.Container */
  60758. && !isProjectionMode ? NG_TEMPLATE_SELECTOR : tNode.value;
  60759. return currentSelector === tagNameToCompare;
  60760. }
  60761. /**
  60762. * A utility function to match an Ivy node static data against a simple CSS selector
  60763. *
  60764. * @param node static data of the node to match
  60765. * @param selector The selector to try matching against the node.
  60766. * @param isProjectionMode if `true` we are matching for content projection, otherwise we are doing
  60767. * directive matching.
  60768. * @returns true if node matches the selector.
  60769. */
  60770. function isNodeMatchingSelector(tNode, selector, isProjectionMode) {
  60771. ngDevMode && assertDefined(selector[0], 'Selector should have a tag name');
  60772. let mode = 4
  60773. /* SelectorFlags.ELEMENT */
  60774. ;
  60775. const nodeAttrs = tNode.attrs || []; // Find the index of first attribute that has no value, only a name.
  60776. const nameOnlyMarkerIdx = getNameOnlyMarkerIndex(nodeAttrs); // When processing ":not" selectors, we skip to the next ":not" if the
  60777. // current one doesn't match
  60778. let skipToNextSelector = false;
  60779. for (let i = 0; i < selector.length; i++) {
  60780. const current = selector[i];
  60781. if (typeof current === 'number') {
  60782. // If we finish processing a :not selector and it hasn't failed, return false
  60783. if (!skipToNextSelector && !isPositive(mode) && !isPositive(current)) {
  60784. return false;
  60785. } // If we are skipping to the next :not() and this mode flag is positive,
  60786. // it's a part of the current :not() selector, and we should keep skipping
  60787. if (skipToNextSelector && isPositive(current)) continue;
  60788. skipToNextSelector = false;
  60789. mode = current | mode & 1
  60790. /* SelectorFlags.NOT */
  60791. ;
  60792. continue;
  60793. }
  60794. if (skipToNextSelector) continue;
  60795. if (mode & 4
  60796. /* SelectorFlags.ELEMENT */
  60797. ) {
  60798. mode = 2
  60799. /* SelectorFlags.ATTRIBUTE */
  60800. | mode & 1
  60801. /* SelectorFlags.NOT */
  60802. ;
  60803. if (current !== '' && !hasTagAndTypeMatch(tNode, current, isProjectionMode) || current === '' && selector.length === 1) {
  60804. if (isPositive(mode)) return false;
  60805. skipToNextSelector = true;
  60806. }
  60807. } else {
  60808. const selectorAttrValue = mode & 8
  60809. /* SelectorFlags.CLASS */
  60810. ? current : selector[++i]; // special case for matching against classes when a tNode has been instantiated with
  60811. // class and style values as separate attribute values (e.g. ['title', CLASS, 'foo'])
  60812. if (mode & 8
  60813. /* SelectorFlags.CLASS */
  60814. && tNode.attrs !== null) {
  60815. if (!isCssClassMatching(tNode.attrs, selectorAttrValue, isProjectionMode)) {
  60816. if (isPositive(mode)) return false;
  60817. skipToNextSelector = true;
  60818. }
  60819. continue;
  60820. }
  60821. const attrName = mode & 8
  60822. /* SelectorFlags.CLASS */
  60823. ? 'class' : current;
  60824. const attrIndexInNode = findAttrIndexInNode(attrName, nodeAttrs, isInlineTemplate(tNode), isProjectionMode);
  60825. if (attrIndexInNode === -1) {
  60826. if (isPositive(mode)) return false;
  60827. skipToNextSelector = true;
  60828. continue;
  60829. }
  60830. if (selectorAttrValue !== '') {
  60831. let nodeAttrValue;
  60832. if (attrIndexInNode > nameOnlyMarkerIdx) {
  60833. nodeAttrValue = '';
  60834. } else {
  60835. ngDevMode && assertNotEqual(nodeAttrs[attrIndexInNode], 0
  60836. /* AttributeMarker.NamespaceURI */
  60837. , 'We do not match directives on namespaced attributes'); // we lowercase the attribute value to be able to match
  60838. // selectors without case-sensitivity
  60839. // (selectors are already in lowercase when generated)
  60840. nodeAttrValue = nodeAttrs[attrIndexInNode + 1].toLowerCase();
  60841. }
  60842. const compareAgainstClassName = mode & 8
  60843. /* SelectorFlags.CLASS */
  60844. ? nodeAttrValue : null;
  60845. if (compareAgainstClassName && classIndexOf(compareAgainstClassName, selectorAttrValue, 0) !== -1 || mode & 2
  60846. /* SelectorFlags.ATTRIBUTE */
  60847. && selectorAttrValue !== nodeAttrValue) {
  60848. if (isPositive(mode)) return false;
  60849. skipToNextSelector = true;
  60850. }
  60851. }
  60852. }
  60853. }
  60854. return isPositive(mode) || skipToNextSelector;
  60855. }
  60856. function isPositive(mode) {
  60857. return (mode & 1
  60858. /* SelectorFlags.NOT */
  60859. ) === 0;
  60860. }
  60861. /**
  60862. * Examines the attribute's definition array for a node to find the index of the
  60863. * attribute that matches the given `name`.
  60864. *
  60865. * NOTE: This will not match namespaced attributes.
  60866. *
  60867. * Attribute matching depends upon `isInlineTemplate` and `isProjectionMode`.
  60868. * The following table summarizes which types of attributes we attempt to match:
  60869. *
  60870. * ===========================================================================================================
  60871. * Modes | Normal Attributes | Bindings Attributes | Template Attributes | I18n
  60872. * Attributes
  60873. * ===========================================================================================================
  60874. * Inline + Projection | YES | YES | NO | YES
  60875. * -----------------------------------------------------------------------------------------------------------
  60876. * Inline + Directive | NO | NO | YES | NO
  60877. * -----------------------------------------------------------------------------------------------------------
  60878. * Non-inline + Projection | YES | YES | NO | YES
  60879. * -----------------------------------------------------------------------------------------------------------
  60880. * Non-inline + Directive | YES | YES | NO | YES
  60881. * ===========================================================================================================
  60882. *
  60883. * @param name the name of the attribute to find
  60884. * @param attrs the attribute array to examine
  60885. * @param isInlineTemplate true if the node being matched is an inline template (e.g. `*ngFor`)
  60886. * rather than a manually expanded template node (e.g `<ng-template>`).
  60887. * @param isProjectionMode true if we are matching against content projection otherwise we are
  60888. * matching against directives.
  60889. */
  60890. function findAttrIndexInNode(name, attrs, isInlineTemplate, isProjectionMode) {
  60891. if (attrs === null) return -1;
  60892. let i = 0;
  60893. if (isProjectionMode || !isInlineTemplate) {
  60894. let bindingsMode = false;
  60895. while (i < attrs.length) {
  60896. const maybeAttrName = attrs[i];
  60897. if (maybeAttrName === name) {
  60898. return i;
  60899. } else if (maybeAttrName === 3
  60900. /* AttributeMarker.Bindings */
  60901. || maybeAttrName === 6
  60902. /* AttributeMarker.I18n */
  60903. ) {
  60904. bindingsMode = true;
  60905. } else if (maybeAttrName === 1
  60906. /* AttributeMarker.Classes */
  60907. || maybeAttrName === 2
  60908. /* AttributeMarker.Styles */
  60909. ) {
  60910. let value = attrs[++i]; // We should skip classes here because we have a separate mechanism for
  60911. // matching classes in projection mode.
  60912. while (typeof value === 'string') {
  60913. value = attrs[++i];
  60914. }
  60915. continue;
  60916. } else if (maybeAttrName === 4
  60917. /* AttributeMarker.Template */
  60918. ) {
  60919. // We do not care about Template attributes in this scenario.
  60920. break;
  60921. } else if (maybeAttrName === 0
  60922. /* AttributeMarker.NamespaceURI */
  60923. ) {
  60924. // Skip the whole namespaced attribute and value. This is by design.
  60925. i += 4;
  60926. continue;
  60927. } // In binding mode there are only names, rather than name-value pairs.
  60928. i += bindingsMode ? 1 : 2;
  60929. } // We did not match the attribute
  60930. return -1;
  60931. } else {
  60932. return matchTemplateAttribute(attrs, name);
  60933. }
  60934. }
  60935. function isNodeMatchingSelectorList(tNode, selector, isProjectionMode = false) {
  60936. for (let i = 0; i < selector.length; i++) {
  60937. if (isNodeMatchingSelector(tNode, selector[i], isProjectionMode)) {
  60938. return true;
  60939. }
  60940. }
  60941. return false;
  60942. }
  60943. function getProjectAsAttrValue(tNode) {
  60944. const nodeAttrs = tNode.attrs;
  60945. if (nodeAttrs != null) {
  60946. const ngProjectAsAttrIdx = nodeAttrs.indexOf(5
  60947. /* AttributeMarker.ProjectAs */
  60948. ); // only check for ngProjectAs in attribute names, don't accidentally match attribute's value
  60949. // (attribute names are stored at even indexes)
  60950. if ((ngProjectAsAttrIdx & 1) === 0) {
  60951. return nodeAttrs[ngProjectAsAttrIdx + 1];
  60952. }
  60953. }
  60954. return null;
  60955. }
  60956. function getNameOnlyMarkerIndex(nodeAttrs) {
  60957. for (let i = 0; i < nodeAttrs.length; i++) {
  60958. const nodeAttr = nodeAttrs[i];
  60959. if (isNameOnlyAttributeMarker(nodeAttr)) {
  60960. return i;
  60961. }
  60962. }
  60963. return nodeAttrs.length;
  60964. }
  60965. function matchTemplateAttribute(attrs, name) {
  60966. let i = attrs.indexOf(4
  60967. /* AttributeMarker.Template */
  60968. );
  60969. if (i > -1) {
  60970. i++;
  60971. while (i < attrs.length) {
  60972. const attr = attrs[i]; // Return in case we checked all template attrs and are switching to the next section in the
  60973. // attrs array (that starts with a number that represents an attribute marker).
  60974. if (typeof attr === 'number') return -1;
  60975. if (attr === name) return i;
  60976. i++;
  60977. }
  60978. }
  60979. return -1;
  60980. }
  60981. /**
  60982. * Checks whether a selector is inside a CssSelectorList
  60983. * @param selector Selector to be checked.
  60984. * @param list List in which to look for the selector.
  60985. */
  60986. function isSelectorInSelectorList(selector, list) {
  60987. selectorListLoop: for (let i = 0; i < list.length; i++) {
  60988. const currentSelectorInList = list[i];
  60989. if (selector.length !== currentSelectorInList.length) {
  60990. continue;
  60991. }
  60992. for (let j = 0; j < selector.length; j++) {
  60993. if (selector[j] !== currentSelectorInList[j]) {
  60994. continue selectorListLoop;
  60995. }
  60996. }
  60997. return true;
  60998. }
  60999. return false;
  61000. }
  61001. function maybeWrapInNotSelector(isNegativeMode, chunk) {
  61002. return isNegativeMode ? ':not(' + chunk.trim() + ')' : chunk;
  61003. }
  61004. function stringifyCSSSelector(selector) {
  61005. let result = selector[0];
  61006. let i = 1;
  61007. let mode = 2
  61008. /* SelectorFlags.ATTRIBUTE */
  61009. ;
  61010. let currentChunk = '';
  61011. let isNegativeMode = false;
  61012. while (i < selector.length) {
  61013. let valueOrMarker = selector[i];
  61014. if (typeof valueOrMarker === 'string') {
  61015. if (mode & 2
  61016. /* SelectorFlags.ATTRIBUTE */
  61017. ) {
  61018. const attrValue = selector[++i];
  61019. currentChunk += '[' + valueOrMarker + (attrValue.length > 0 ? '="' + attrValue + '"' : '') + ']';
  61020. } else if (mode & 8
  61021. /* SelectorFlags.CLASS */
  61022. ) {
  61023. currentChunk += '.' + valueOrMarker;
  61024. } else if (mode & 4
  61025. /* SelectorFlags.ELEMENT */
  61026. ) {
  61027. currentChunk += ' ' + valueOrMarker;
  61028. }
  61029. } else {
  61030. //
  61031. // Append current chunk to the final result in case we come across SelectorFlag, which
  61032. // indicates that the previous section of a selector is over. We need to accumulate content
  61033. // between flags to make sure we wrap the chunk later in :not() selector if needed, e.g.
  61034. // ```
  61035. // ['', Flags.CLASS, '.classA', Flags.CLASS | Flags.NOT, '.classB', '.classC']
  61036. // ```
  61037. // should be transformed to `.classA :not(.classB .classC)`.
  61038. //
  61039. // Note: for negative selector part, we accumulate content between flags until we find the
  61040. // next negative flag. This is needed to support a case where `:not()` rule contains more than
  61041. // one chunk, e.g. the following selector:
  61042. // ```
  61043. // ['', Flags.ELEMENT | Flags.NOT, 'p', Flags.CLASS, 'foo', Flags.CLASS | Flags.NOT, 'bar']
  61044. // ```
  61045. // should be stringified to `:not(p.foo) :not(.bar)`
  61046. //
  61047. if (currentChunk !== '' && !isPositive(valueOrMarker)) {
  61048. result += maybeWrapInNotSelector(isNegativeMode, currentChunk);
  61049. currentChunk = '';
  61050. }
  61051. mode = valueOrMarker; // According to CssSelector spec, once we come across `SelectorFlags.NOT` flag, the negative
  61052. // mode is maintained for remaining chunks of a selector.
  61053. isNegativeMode = isNegativeMode || !isPositive(mode);
  61054. }
  61055. i++;
  61056. }
  61057. if (currentChunk !== '') {
  61058. result += maybeWrapInNotSelector(isNegativeMode, currentChunk);
  61059. }
  61060. return result;
  61061. }
  61062. /**
  61063. * Generates string representation of CSS selector in parsed form.
  61064. *
  61065. * ComponentDef and DirectiveDef are generated with the selector in parsed form to avoid doing
  61066. * additional parsing at runtime (for example, for directive matching). However in some cases (for
  61067. * example, while bootstrapping a component), a string version of the selector is required to query
  61068. * for the host element on the page. This function takes the parsed form of a selector and returns
  61069. * its string representation.
  61070. *
  61071. * @param selectorList selector in parsed form
  61072. * @returns string representation of a given selector
  61073. */
  61074. function stringifyCSSSelectorList(selectorList) {
  61075. return selectorList.map(stringifyCSSSelector).join(',');
  61076. }
  61077. /**
  61078. * Extracts attributes and classes information from a given CSS selector.
  61079. *
  61080. * This function is used while creating a component dynamically. In this case, the host element
  61081. * (that is created dynamically) should contain attributes and classes specified in component's CSS
  61082. * selector.
  61083. *
  61084. * @param selector CSS selector in parsed form (in a form of array)
  61085. * @returns object with `attrs` and `classes` fields that contain extracted information
  61086. */
  61087. function extractAttrsAndClassesFromSelector(selector) {
  61088. const attrs = [];
  61089. const classes = [];
  61090. let i = 1;
  61091. let mode = 2
  61092. /* SelectorFlags.ATTRIBUTE */
  61093. ;
  61094. while (i < selector.length) {
  61095. let valueOrMarker = selector[i];
  61096. if (typeof valueOrMarker === 'string') {
  61097. if (mode === 2
  61098. /* SelectorFlags.ATTRIBUTE */
  61099. ) {
  61100. if (valueOrMarker !== '') {
  61101. attrs.push(valueOrMarker, selector[++i]);
  61102. }
  61103. } else if (mode === 8
  61104. /* SelectorFlags.CLASS */
  61105. ) {
  61106. classes.push(valueOrMarker);
  61107. }
  61108. } else {
  61109. // According to CssSelector spec, once we come across `SelectorFlags.NOT` flag, the negative
  61110. // mode is maintained for remaining chunks of a selector. Since attributes and classes are
  61111. // extracted only for "positive" part of the selector, we can stop here.
  61112. if (!isPositive(mode)) break;
  61113. mode = valueOrMarker;
  61114. }
  61115. i++;
  61116. }
  61117. return {
  61118. attrs,
  61119. classes
  61120. };
  61121. }
  61122. /**
  61123. * @license
  61124. * Copyright Google LLC All Rights Reserved.
  61125. *
  61126. * Use of this source code is governed by an MIT-style license that can be
  61127. * found in the LICENSE file at https://angular.io/license
  61128. */
  61129. /** A special value which designates that a value has not changed. */
  61130. const NO_CHANGE = typeof ngDevMode === 'undefined' || ngDevMode ? {
  61131. __brand__: 'NO_CHANGE'
  61132. } : {};
  61133. /**
  61134. * @license
  61135. * Copyright Google LLC All Rights Reserved.
  61136. *
  61137. * Use of this source code is governed by an MIT-style license that can be
  61138. * found in the LICENSE file at https://angular.io/license
  61139. */
  61140. /**
  61141. * Advances to an element for later binding instructions.
  61142. *
  61143. * Used in conjunction with instructions like {@link property} to act on elements with specified
  61144. * indices, for example those created with {@link element} or {@link elementStart}.
  61145. *
  61146. * ```ts
  61147. * (rf: RenderFlags, ctx: any) => {
  61148. * if (rf & 1) {
  61149. * text(0, 'Hello');
  61150. * text(1, 'Goodbye')
  61151. * element(2, 'div');
  61152. * }
  61153. * if (rf & 2) {
  61154. * advance(2); // Advance twice to the <div>.
  61155. * property('title', 'test');
  61156. * }
  61157. * }
  61158. * ```
  61159. * @param delta Number of elements to advance forwards by.
  61160. *
  61161. * @codeGenApi
  61162. */
  61163. function ɵɵadvance(delta) {
  61164. ngDevMode && assertGreaterThan(delta, 0, 'Can only advance forward');
  61165. selectIndexInternal(getTView(), getLView(), getSelectedIndex() + delta, !!ngDevMode && isInCheckNoChangesMode());
  61166. }
  61167. function selectIndexInternal(tView, lView, index, checkNoChangesMode) {
  61168. ngDevMode && assertIndexInDeclRange(lView, index); // Flush the initial hooks for elements in the view that have been added up to this point.
  61169. // PERF WARNING: do NOT extract this to a separate function without running benchmarks
  61170. if (!checkNoChangesMode) {
  61171. const hooksInitPhaseCompleted = (lView[FLAGS] & 3
  61172. /* LViewFlags.InitPhaseStateMask */
  61173. ) === 3
  61174. /* InitPhaseState.InitPhaseCompleted */
  61175. ;
  61176. if (hooksInitPhaseCompleted) {
  61177. const preOrderCheckHooks = tView.preOrderCheckHooks;
  61178. if (preOrderCheckHooks !== null) {
  61179. executeCheckHooks(lView, preOrderCheckHooks, index);
  61180. }
  61181. } else {
  61182. const preOrderHooks = tView.preOrderHooks;
  61183. if (preOrderHooks !== null) {
  61184. executeInitAndCheckHooks(lView, preOrderHooks, 0
  61185. /* InitPhaseState.OnInitHooksToBeRun */
  61186. , index);
  61187. }
  61188. }
  61189. } // We must set the selected index *after* running the hooks, because hooks may have side-effects
  61190. // that cause other template functions to run, thus updating the selected index, which is global
  61191. // state. If we run `setSelectedIndex` *before* we run the hooks, in some cases the selected index
  61192. // will be altered by the time we leave the `ɵɵadvance` instruction.
  61193. setSelectedIndex(index);
  61194. }
  61195. /**
  61196. * @license
  61197. * Copyright Google LLC All Rights Reserved.
  61198. *
  61199. * Use of this source code is governed by an MIT-style license that can be
  61200. * found in the LICENSE file at https://angular.io/license
  61201. */
  61202. /**
  61203. * A mapping of the @angular/core API surface used in generated expressions to the actual symbols.
  61204. *
  61205. * This should be kept up to date with the public exports of @angular/core.
  61206. */
  61207. const angularCoreDiEnv = {
  61208. 'ɵɵdefineInjectable': ɵɵdefineInjectable,
  61209. 'ɵɵdefineInjector': ɵɵdefineInjector,
  61210. 'ɵɵinject': ɵɵinject,
  61211. 'ɵɵinvalidFactoryDep': ɵɵinvalidFactoryDep,
  61212. 'resolveForwardRef': resolveForwardRef
  61213. };
  61214. /**
  61215. * @license
  61216. * Copyright Google LLC All Rights Reserved.
  61217. *
  61218. * Use of this source code is governed by an MIT-style license that can be
  61219. * found in the LICENSE file at https://angular.io/license
  61220. */
  61221. /**
  61222. * Compile an Angular injectable according to its `Injectable` metadata, and patch the resulting
  61223. * injectable def (`ɵprov`) onto the injectable type.
  61224. */
  61225. function compileInjectable(type, meta) {
  61226. let ngInjectableDef = null;
  61227. let ngFactoryDef = null; // if NG_PROV_DEF is already defined on this class then don't overwrite it
  61228. if (!type.hasOwnProperty(NG_PROV_DEF)) {
  61229. Object.defineProperty(type, NG_PROV_DEF, {
  61230. get: () => {
  61231. if (ngInjectableDef === null) {
  61232. const compiler = getCompilerFacade({
  61233. usage: 0
  61234. /* JitCompilerUsage.Decorator */
  61235. ,
  61236. kind: 'injectable',
  61237. type
  61238. });
  61239. ngInjectableDef = compiler.compileInjectable(angularCoreDiEnv, `ng:///${type.name}/ɵprov.js`, getInjectableMetadata(type, meta));
  61240. }
  61241. return ngInjectableDef;
  61242. }
  61243. });
  61244. } // if NG_FACTORY_DEF is already defined on this class then don't overwrite it
  61245. if (!type.hasOwnProperty(NG_FACTORY_DEF)) {
  61246. Object.defineProperty(type, NG_FACTORY_DEF, {
  61247. get: () => {
  61248. if (ngFactoryDef === null) {
  61249. const compiler = getCompilerFacade({
  61250. usage: 0
  61251. /* JitCompilerUsage.Decorator */
  61252. ,
  61253. kind: 'injectable',
  61254. type
  61255. });
  61256. ngFactoryDef = compiler.compileFactory(angularCoreDiEnv, `ng:///${type.name}/ɵfac.js`, {
  61257. name: type.name,
  61258. type,
  61259. typeArgumentCount: 0,
  61260. deps: reflectDependencies(type),
  61261. target: compiler.FactoryTarget.Injectable
  61262. });
  61263. }
  61264. return ngFactoryDef;
  61265. },
  61266. // Leave this configurable so that the factories from directives or pipes can take precedence.
  61267. configurable: true
  61268. });
  61269. }
  61270. }
  61271. const USE_VALUE = getClosureSafeProperty({
  61272. provide: String,
  61273. useValue: getClosureSafeProperty
  61274. });
  61275. function isUseClassProvider(meta) {
  61276. return meta.useClass !== undefined;
  61277. }
  61278. function isUseValueProvider(meta) {
  61279. return USE_VALUE in meta;
  61280. }
  61281. function isUseFactoryProvider(meta) {
  61282. return meta.useFactory !== undefined;
  61283. }
  61284. function isUseExistingProvider(meta) {
  61285. return meta.useExisting !== undefined;
  61286. }
  61287. function getInjectableMetadata(type, srcMeta) {
  61288. // Allow the compilation of a class with a `@Injectable()` decorator without parameters
  61289. const meta = srcMeta || {
  61290. providedIn: null
  61291. };
  61292. const compilerMeta = {
  61293. name: type.name,
  61294. type: type,
  61295. typeArgumentCount: 0,
  61296. providedIn: meta.providedIn
  61297. };
  61298. if ((isUseClassProvider(meta) || isUseFactoryProvider(meta)) && meta.deps !== undefined) {
  61299. compilerMeta.deps = convertDependencies(meta.deps);
  61300. } // Check to see if the user explicitly provided a `useXxxx` property.
  61301. if (isUseClassProvider(meta)) {
  61302. compilerMeta.useClass = meta.useClass;
  61303. } else if (isUseValueProvider(meta)) {
  61304. compilerMeta.useValue = meta.useValue;
  61305. } else if (isUseFactoryProvider(meta)) {
  61306. compilerMeta.useFactory = meta.useFactory;
  61307. } else if (isUseExistingProvider(meta)) {
  61308. compilerMeta.useExisting = meta.useExisting;
  61309. }
  61310. return compilerMeta;
  61311. }
  61312. /**
  61313. * @license
  61314. * Copyright Google LLC All Rights Reserved.
  61315. *
  61316. * Use of this source code is governed by an MIT-style license that can be
  61317. * found in the LICENSE file at https://angular.io/license
  61318. */
  61319. /**
  61320. * Injectable decorator and metadata.
  61321. *
  61322. * @Annotation
  61323. * @publicApi
  61324. */
  61325. const Injectable = makeDecorator('Injectable', undefined, undefined, undefined, (type, meta) => compileInjectable(type, meta));
  61326. /**
  61327. * @license
  61328. * Copyright Google LLC All Rights Reserved.
  61329. *
  61330. * Use of this source code is governed by an MIT-style license that can be
  61331. * found in the LICENSE file at https://angular.io/license
  61332. */
  61333. /**
  61334. * Create a new `Injector` which is configured using a `defType` of `InjectorType<any>`s.
  61335. *
  61336. * @publicApi
  61337. */
  61338. function createInjector(defType, parent = null, additionalProviders = null, name) {
  61339. const injector = createInjectorWithoutInjectorInstances(defType, parent, additionalProviders, name);
  61340. injector.resolveInjectorInitializers();
  61341. return injector;
  61342. }
  61343. /**
  61344. * Creates a new injector without eagerly resolving its injector types. Can be used in places
  61345. * where resolving the injector types immediately can lead to an infinite loop. The injector types
  61346. * should be resolved at a later point by calling `_resolveInjectorDefTypes`.
  61347. */
  61348. function createInjectorWithoutInjectorInstances(defType, parent = null, additionalProviders = null, name, scopes = new Set()) {
  61349. const providers = [additionalProviders || EMPTY_ARRAY, importProvidersFrom(defType)];
  61350. name = name || (typeof defType === 'object' ? undefined : stringify(defType));
  61351. return new R3Injector(providers, parent || getNullInjector(), name || null, scopes);
  61352. }
  61353. /**
  61354. * @license
  61355. * Copyright Google LLC All Rights Reserved.
  61356. *
  61357. * Use of this source code is governed by an MIT-style license that can be
  61358. * found in the LICENSE file at https://angular.io/license
  61359. */
  61360. /**
  61361. * Concrete injectors implement this interface. Injectors are configured
  61362. * with [providers](guide/glossary#provider) that associate
  61363. * dependencies of various types with [injection tokens](guide/glossary#di-token).
  61364. *
  61365. * @see ["DI Providers"](guide/dependency-injection-providers).
  61366. * @see `StaticProvider`
  61367. *
  61368. * @usageNotes
  61369. *
  61370. * The following example creates a service injector instance.
  61371. *
  61372. * {@example core/di/ts/provider_spec.ts region='ConstructorProvider'}
  61373. *
  61374. * ### Usage example
  61375. *
  61376. * {@example core/di/ts/injector_spec.ts region='Injector'}
  61377. *
  61378. * `Injector` returns itself when given `Injector` as a token:
  61379. *
  61380. * {@example core/di/ts/injector_spec.ts region='injectInjector'}
  61381. *
  61382. * @publicApi
  61383. */
  61384. class Injector {
  61385. static create(options, parent) {
  61386. var _a;
  61387. if (Array.isArray(options)) {
  61388. return createInjector({
  61389. name: ''
  61390. }, parent, options, '');
  61391. } else {
  61392. const name = (_a = options.name) !== null && _a !== void 0 ? _a : '';
  61393. return createInjector({
  61394. name
  61395. }, options.parent, options.providers, name);
  61396. }
  61397. }
  61398. }
  61399. Injector.THROW_IF_NOT_FOUND = THROW_IF_NOT_FOUND;
  61400. Injector.NULL = /* @__PURE__ */new NullInjector();
  61401. /** @nocollapse */
  61402. Injector.ɵprov = ɵɵdefineInjectable({
  61403. token: Injector,
  61404. providedIn: 'any',
  61405. factory: () => ɵɵinject(INJECTOR)
  61406. });
  61407. /**
  61408. * @internal
  61409. * @nocollapse
  61410. */
  61411. Injector.__NG_ELEMENT_ID__ = -1
  61412. /* InjectorMarkers.Injector */
  61413. ;
  61414. /**
  61415. * @license
  61416. * Copyright Google LLC All Rights Reserved.
  61417. *
  61418. * Use of this source code is governed by an MIT-style license that can be
  61419. * found in the LICENSE file at https://angular.io/license
  61420. */
  61421. function findFirstClosedCycle(keys) {
  61422. const res = [];
  61423. for (let i = 0; i < keys.length; ++i) {
  61424. if (res.indexOf(keys[i]) > -1) {
  61425. res.push(keys[i]);
  61426. return res;
  61427. }
  61428. res.push(keys[i]);
  61429. }
  61430. return res;
  61431. }
  61432. function constructResolvingPath(keys) {
  61433. if (keys.length > 1) {
  61434. const reversed = findFirstClosedCycle(keys.slice().reverse());
  61435. const tokenStrs = reversed.map(k => stringify(k.token));
  61436. return ' (' + tokenStrs.join(' -> ') + ')';
  61437. }
  61438. return '';
  61439. }
  61440. function injectionError(injector, key, constructResolvingMessage, originalError) {
  61441. const keys = [key];
  61442. const errMsg = constructResolvingMessage(keys);
  61443. const error = originalError ? wrappedError(errMsg, originalError) : Error(errMsg);
  61444. error.addKey = addKey;
  61445. error.keys = keys;
  61446. error.injectors = [injector];
  61447. error.constructResolvingMessage = constructResolvingMessage;
  61448. error[ERROR_ORIGINAL_ERROR] = originalError;
  61449. return error;
  61450. }
  61451. function addKey(injector, key) {
  61452. this.injectors.push(injector);
  61453. this.keys.push(key); // Note: This updated message won't be reflected in the `.stack` property
  61454. this.message = this.constructResolvingMessage(this.keys);
  61455. }
  61456. /**
  61457. * Thrown when trying to retrieve a dependency by key from {@link Injector}, but the
  61458. * {@link Injector} does not have a {@link Provider} for the given key.
  61459. *
  61460. * @usageNotes
  61461. * ### Example
  61462. *
  61463. * ```typescript
  61464. * class A {
  61465. * constructor(b:B) {}
  61466. * }
  61467. *
  61468. * expect(() => Injector.resolveAndCreate([A])).toThrowError();
  61469. * ```
  61470. */
  61471. function noProviderError(injector, key) {
  61472. return injectionError(injector, key, function (keys) {
  61473. const first = stringify(keys[0].token);
  61474. return `No provider for ${first}!${constructResolvingPath(keys)}`;
  61475. });
  61476. }
  61477. /**
  61478. * Thrown when dependencies form a cycle.
  61479. *
  61480. * @usageNotes
  61481. * ### Example
  61482. *
  61483. * ```typescript
  61484. * var injector = Injector.resolveAndCreate([
  61485. * {provide: "one", useFactory: (two) => "two", deps: [[new Inject("two")]]},
  61486. * {provide: "two", useFactory: (one) => "one", deps: [[new Inject("one")]]}
  61487. * ]);
  61488. *
  61489. * expect(() => injector.get("one")).toThrowError();
  61490. * ```
  61491. *
  61492. * Retrieving `A` or `B` throws a `CyclicDependencyError` as the graph above cannot be constructed.
  61493. */
  61494. function cyclicDependencyError(injector, key) {
  61495. return injectionError(injector, key, function (keys) {
  61496. return `Cannot instantiate cyclic dependency!${constructResolvingPath(keys)}`;
  61497. });
  61498. }
  61499. /**
  61500. * Thrown when a constructing type returns with an Error.
  61501. *
  61502. * The `InstantiationError` class contains the original error plus the dependency graph which caused
  61503. * this object to be instantiated.
  61504. *
  61505. * @usageNotes
  61506. * ### Example
  61507. *
  61508. * ```typescript
  61509. * class A {
  61510. * constructor() {
  61511. * throw new Error('message');
  61512. * }
  61513. * }
  61514. *
  61515. * var injector = Injector.resolveAndCreate([A]);
  61516. * try {
  61517. * injector.get(A);
  61518. * } catch (e) {
  61519. * expect(e instanceof InstantiationError).toBe(true);
  61520. * expect(e.originalException.message).toEqual("message");
  61521. * expect(e.originalStack).toBeDefined();
  61522. * }
  61523. * ```
  61524. */
  61525. function instantiationError(injector, originalException, originalStack, key) {
  61526. return injectionError(injector, key, function (keys) {
  61527. const first = stringify(keys[0].token);
  61528. return `${originalException.message}: Error during instantiation of ${first}!${constructResolvingPath(keys)}.`;
  61529. }, originalException);
  61530. }
  61531. /**
  61532. * Thrown when an object other then {@link Provider} (or `Type`) is passed to {@link Injector}
  61533. * creation.
  61534. *
  61535. * @usageNotes
  61536. * ### Example
  61537. *
  61538. * ```typescript
  61539. * expect(() => Injector.resolveAndCreate(["not a type"])).toThrowError();
  61540. * ```
  61541. */
  61542. function invalidProviderError(provider) {
  61543. return Error(`Invalid provider - only instances of Provider and Type are allowed, got: ${provider}`);
  61544. }
  61545. /**
  61546. * Thrown when the class has no annotation information.
  61547. *
  61548. * Lack of annotation information prevents the {@link Injector} from determining which dependencies
  61549. * need to be injected into the constructor.
  61550. *
  61551. * @usageNotes
  61552. * ### Example
  61553. *
  61554. * ```typescript
  61555. * class A {
  61556. * constructor(b) {}
  61557. * }
  61558. *
  61559. * expect(() => Injector.resolveAndCreate([A])).toThrowError();
  61560. * ```
  61561. *
  61562. * This error is also thrown when the class not marked with {@link Injectable} has parameter types.
  61563. *
  61564. * ```typescript
  61565. * class B {}
  61566. *
  61567. * class A {
  61568. * constructor(b:B) {} // no information about the parameter types of A is available at runtime.
  61569. * }
  61570. *
  61571. * expect(() => Injector.resolveAndCreate([A,B])).toThrowError();
  61572. * ```
  61573. *
  61574. */
  61575. function noAnnotationError(typeOrFunc, params) {
  61576. const signature = [];
  61577. for (let i = 0, ii = params.length; i < ii; i++) {
  61578. const parameter = params[i];
  61579. if (!parameter || parameter.length == 0) {
  61580. signature.push('?');
  61581. } else {
  61582. signature.push(parameter.map(stringify).join(' '));
  61583. }
  61584. }
  61585. return Error('Cannot resolve all parameters for \'' + stringify(typeOrFunc) + '\'(' + signature.join(', ') + '). ' + 'Make sure that all the parameters are decorated with Inject or have valid type annotations and that \'' + stringify(typeOrFunc) + '\' is decorated with Injectable.');
  61586. }
  61587. /**
  61588. * Thrown when getting an object by index.
  61589. *
  61590. * @usageNotes
  61591. * ### Example
  61592. *
  61593. * ```typescript
  61594. * class A {}
  61595. *
  61596. * var injector = Injector.resolveAndCreate([A]);
  61597. *
  61598. * expect(() => injector.getAt(100)).toThrowError();
  61599. * ```
  61600. *
  61601. */
  61602. function outOfBoundsError(index) {
  61603. return Error(`Index ${index} is out-of-bounds.`);
  61604. } // TODO: add a working example after alpha38 is released
  61605. /**
  61606. * Thrown when a multi provider and a regular provider are bound to the same token.
  61607. *
  61608. * @usageNotes
  61609. * ### Example
  61610. *
  61611. * ```typescript
  61612. * expect(() => Injector.resolveAndCreate([
  61613. * { provide: "Strings", useValue: "string1", multi: true},
  61614. * { provide: "Strings", useValue: "string2", multi: false}
  61615. * ])).toThrowError();
  61616. * ```
  61617. */
  61618. function mixingMultiProvidersWithRegularProvidersError(provider1, provider2) {
  61619. return Error(`Cannot mix multi providers and regular providers, got: ${provider1} ${provider2}`);
  61620. }
  61621. /**
  61622. * @license
  61623. * Copyright Google LLC All Rights Reserved.
  61624. *
  61625. * Use of this source code is governed by an MIT-style license that can be
  61626. * found in the LICENSE file at https://angular.io/license
  61627. */
  61628. /**
  61629. * A unique object used for retrieving items from the {@link ReflectiveInjector}.
  61630. *
  61631. * Keys have:
  61632. * - a system-wide unique `id`.
  61633. * - a `token`.
  61634. *
  61635. * `Key` is used internally by {@link ReflectiveInjector} because its system-wide unique `id` allows
  61636. * the
  61637. * injector to store created objects in a more efficient way.
  61638. *
  61639. * `Key` should not be created directly. {@link ReflectiveInjector} creates keys automatically when
  61640. * resolving
  61641. * providers.
  61642. *
  61643. * @deprecated No replacement
  61644. * @publicApi
  61645. */
  61646. class ReflectiveKey {
  61647. /**
  61648. * Private
  61649. */
  61650. constructor(token, id) {
  61651. this.token = token;
  61652. this.id = id;
  61653. if (!token) {
  61654. throw new RuntimeError(208
  61655. /* RuntimeErrorCode.MISSING_INJECTION_TOKEN */
  61656. , ngDevMode && 'Token must be defined!');
  61657. }
  61658. this.displayName = stringify(this.token);
  61659. }
  61660. /**
  61661. * Retrieves a `Key` for a token.
  61662. */
  61663. static get(token) {
  61664. return _globalKeyRegistry.get(resolveForwardRef(token));
  61665. }
  61666. /**
  61667. * @returns the number of keys registered in the system.
  61668. */
  61669. static get numberOfKeys() {
  61670. return _globalKeyRegistry.numberOfKeys;
  61671. }
  61672. }
  61673. class KeyRegistry {
  61674. constructor() {
  61675. this._allKeys = new Map();
  61676. }
  61677. get(token) {
  61678. if (token instanceof ReflectiveKey) return token;
  61679. if (this._allKeys.has(token)) {
  61680. return this._allKeys.get(token);
  61681. }
  61682. const newKey = new ReflectiveKey(token, ReflectiveKey.numberOfKeys);
  61683. this._allKeys.set(token, newKey);
  61684. return newKey;
  61685. }
  61686. get numberOfKeys() {
  61687. return this._allKeys.size;
  61688. }
  61689. }
  61690. const _globalKeyRegistry = new KeyRegistry();
  61691. /**
  61692. * @license
  61693. * Copyright Google LLC All Rights Reserved.
  61694. *
  61695. * Use of this source code is governed by an MIT-style license that can be
  61696. * found in the LICENSE file at https://angular.io/license
  61697. */
  61698. /**
  61699. * `Dependency` is used by the framework to extend DI.
  61700. * This is internal to Angular and should not be used directly.
  61701. */
  61702. class ReflectiveDependency {
  61703. constructor(key, optional, visibility) {
  61704. this.key = key;
  61705. this.optional = optional;
  61706. this.visibility = visibility;
  61707. }
  61708. static fromKey(key) {
  61709. return new ReflectiveDependency(key, false, null);
  61710. }
  61711. }
  61712. const _EMPTY_LIST = [];
  61713. class ResolvedReflectiveProvider_ {
  61714. constructor(key, resolvedFactories, multiProvider) {
  61715. this.key = key;
  61716. this.resolvedFactories = resolvedFactories;
  61717. this.multiProvider = multiProvider;
  61718. this.resolvedFactory = this.resolvedFactories[0];
  61719. }
  61720. }
  61721. /**
  61722. * An internal resolved representation of a factory function created by resolving `Provider`.
  61723. * @publicApi
  61724. */
  61725. class ResolvedReflectiveFactory {
  61726. constructor(
  61727. /**
  61728. * Factory function which can return an instance of an object represented by a key.
  61729. */
  61730. factory,
  61731. /**
  61732. * Arguments (dependencies) to the `factory` function.
  61733. */
  61734. dependencies) {
  61735. this.factory = factory;
  61736. this.dependencies = dependencies;
  61737. }
  61738. }
  61739. /**
  61740. * Resolve a single provider.
  61741. */
  61742. function resolveReflectiveFactory(provider) {
  61743. let factoryFn;
  61744. let resolvedDeps;
  61745. if (provider.useClass) {
  61746. const useClass = resolveForwardRef(provider.useClass);
  61747. factoryFn = getReflect().factory(useClass);
  61748. resolvedDeps = _dependenciesFor(useClass);
  61749. } else if (provider.useExisting) {
  61750. factoryFn = aliasInstance => aliasInstance;
  61751. resolvedDeps = [ReflectiveDependency.fromKey(ReflectiveKey.get(provider.useExisting))];
  61752. } else if (provider.useFactory) {
  61753. factoryFn = provider.useFactory;
  61754. resolvedDeps = constructDependencies(provider.useFactory, provider.deps);
  61755. } else {
  61756. factoryFn = () => provider.useValue;
  61757. resolvedDeps = _EMPTY_LIST;
  61758. }
  61759. return new ResolvedReflectiveFactory(factoryFn, resolvedDeps);
  61760. }
  61761. /**
  61762. * Converts the `Provider` into `ResolvedProvider`.
  61763. *
  61764. * `Injector` internally only uses `ResolvedProvider`, `Provider` contains convenience provider
  61765. * syntax.
  61766. */
  61767. function resolveReflectiveProvider(provider) {
  61768. return new ResolvedReflectiveProvider_(ReflectiveKey.get(provider.provide), [resolveReflectiveFactory(provider)], provider.multi || false);
  61769. }
  61770. /**
  61771. * Resolve a list of Providers.
  61772. */
  61773. function resolveReflectiveProviders(providers) {
  61774. const normalized = _normalizeProviders(providers, []);
  61775. const resolved = normalized.map(resolveReflectiveProvider);
  61776. const resolvedProviderMap = mergeResolvedReflectiveProviders(resolved, new Map());
  61777. return Array.from(resolvedProviderMap.values());
  61778. }
  61779. /**
  61780. * Merges a list of ResolvedProviders into a list where each key is contained exactly once and
  61781. * multi providers have been merged.
  61782. */
  61783. function mergeResolvedReflectiveProviders(providers, normalizedProvidersMap) {
  61784. for (let i = 0; i < providers.length; i++) {
  61785. const provider = providers[i];
  61786. const existing = normalizedProvidersMap.get(provider.key.id);
  61787. if (existing) {
  61788. if (provider.multiProvider !== existing.multiProvider) {
  61789. throw mixingMultiProvidersWithRegularProvidersError(existing, provider);
  61790. }
  61791. if (provider.multiProvider) {
  61792. for (let j = 0; j < provider.resolvedFactories.length; j++) {
  61793. existing.resolvedFactories.push(provider.resolvedFactories[j]);
  61794. }
  61795. } else {
  61796. normalizedProvidersMap.set(provider.key.id, provider);
  61797. }
  61798. } else {
  61799. let resolvedProvider;
  61800. if (provider.multiProvider) {
  61801. resolvedProvider = new ResolvedReflectiveProvider_(provider.key, provider.resolvedFactories.slice(), provider.multiProvider);
  61802. } else {
  61803. resolvedProvider = provider;
  61804. }
  61805. normalizedProvidersMap.set(provider.key.id, resolvedProvider);
  61806. }
  61807. }
  61808. return normalizedProvidersMap;
  61809. }
  61810. function _normalizeProviders(providers, res) {
  61811. providers.forEach(b => {
  61812. if (b instanceof Type) {
  61813. res.push({
  61814. provide: b,
  61815. useClass: b
  61816. });
  61817. } else if (b && typeof b == 'object' && b.provide !== undefined) {
  61818. res.push(b);
  61819. } else if (Array.isArray(b)) {
  61820. _normalizeProviders(b, res);
  61821. } else {
  61822. throw invalidProviderError(b);
  61823. }
  61824. });
  61825. return res;
  61826. }
  61827. function constructDependencies(typeOrFunc, dependencies) {
  61828. if (!dependencies) {
  61829. return _dependenciesFor(typeOrFunc);
  61830. } else {
  61831. const params = dependencies.map(t => [t]);
  61832. return dependencies.map(t => _extractToken(typeOrFunc, t, params));
  61833. }
  61834. }
  61835. function _dependenciesFor(typeOrFunc) {
  61836. const params = getReflect().parameters(typeOrFunc);
  61837. if (!params) return [];
  61838. if (params.some(p => p == null)) {
  61839. throw noAnnotationError(typeOrFunc, params);
  61840. }
  61841. return params.map(p => _extractToken(typeOrFunc, p, params));
  61842. }
  61843. function _extractToken(typeOrFunc, metadata, params) {
  61844. let token = null;
  61845. let optional = false;
  61846. if (!Array.isArray(metadata)) {
  61847. if (metadata instanceof Inject) {
  61848. return _createDependency(metadata.token, optional, null);
  61849. } else {
  61850. return _createDependency(metadata, optional, null);
  61851. }
  61852. }
  61853. let visibility = null;
  61854. for (let i = 0; i < metadata.length; ++i) {
  61855. const paramMetadata = metadata[i];
  61856. if (paramMetadata instanceof Type) {
  61857. token = paramMetadata;
  61858. } else if (paramMetadata instanceof Inject) {
  61859. token = paramMetadata.token;
  61860. } else if (paramMetadata instanceof Optional) {
  61861. optional = true;
  61862. } else if (paramMetadata instanceof Self || paramMetadata instanceof SkipSelf) {
  61863. visibility = paramMetadata;
  61864. } else if (paramMetadata instanceof InjectionToken) {
  61865. token = paramMetadata;
  61866. }
  61867. }
  61868. token = resolveForwardRef(token);
  61869. if (token != null) {
  61870. return _createDependency(token, optional, visibility);
  61871. } else {
  61872. throw noAnnotationError(typeOrFunc, params);
  61873. }
  61874. }
  61875. function _createDependency(token, optional, visibility) {
  61876. return new ReflectiveDependency(ReflectiveKey.get(token), optional, visibility);
  61877. }
  61878. /**
  61879. * @license
  61880. * Copyright Google LLC All Rights Reserved.
  61881. *
  61882. * Use of this source code is governed by an MIT-style license that can be
  61883. * found in the LICENSE file at https://angular.io/license
  61884. */
  61885. // Threshold for the dynamic version
  61886. const UNDEFINED = {};
  61887. /**
  61888. * A ReflectiveDependency injection container used for instantiating objects and resolving
  61889. * dependencies.
  61890. *
  61891. * An `Injector` is a replacement for a `new` operator, which can automatically resolve the
  61892. * constructor dependencies.
  61893. *
  61894. * In typical use, application code asks for the dependencies in the constructor and they are
  61895. * resolved by the `Injector`.
  61896. *
  61897. * @usageNotes
  61898. * ### Example
  61899. *
  61900. * The following example creates an `Injector` configured to create `Engine` and `Car`.
  61901. *
  61902. * ```typescript
  61903. * @Injectable()
  61904. * class Engine {
  61905. * }
  61906. *
  61907. * @Injectable()
  61908. * class Car {
  61909. * constructor(public engine:Engine) {}
  61910. * }
  61911. *
  61912. * var injector = ReflectiveInjector.resolveAndCreate([Car, Engine]);
  61913. * var car = injector.get(Car);
  61914. * expect(car instanceof Car).toBe(true);
  61915. * expect(car.engine instanceof Engine).toBe(true);
  61916. * ```
  61917. *
  61918. * Notice, we don't use the `new` operator because we explicitly want to have the `Injector`
  61919. * resolve all of the object's dependencies automatically.
  61920. *
  61921. * TODO: delete in v14.
  61922. *
  61923. * @deprecated from v5 - slow and brings in a lot of code, Use `Injector.create` instead.
  61924. * @publicApi
  61925. */
  61926. class ReflectiveInjector {
  61927. /**
  61928. * Turns an array of provider definitions into an array of resolved providers.
  61929. *
  61930. * A resolution is a process of flattening multiple nested arrays and converting individual
  61931. * providers into an array of `ResolvedReflectiveProvider`s.
  61932. *
  61933. * @usageNotes
  61934. * ### Example
  61935. *
  61936. * ```typescript
  61937. * @Injectable()
  61938. * class Engine {
  61939. * }
  61940. *
  61941. * @Injectable()
  61942. * class Car {
  61943. * constructor(public engine:Engine) {}
  61944. * }
  61945. *
  61946. * var providers = ReflectiveInjector.resolve([Car, [[Engine]]]);
  61947. *
  61948. * expect(providers.length).toEqual(2);
  61949. *
  61950. * expect(providers[0] instanceof ResolvedReflectiveProvider).toBe(true);
  61951. * expect(providers[0].key.displayName).toBe("Car");
  61952. * expect(providers[0].dependencies.length).toEqual(1);
  61953. * expect(providers[0].factory).toBeDefined();
  61954. *
  61955. * expect(providers[1].key.displayName).toBe("Engine");
  61956. * });
  61957. * ```
  61958. *
  61959. */
  61960. static resolve(providers) {
  61961. return resolveReflectiveProviders(providers);
  61962. }
  61963. /**
  61964. * Resolves an array of providers and creates an injector from those providers.
  61965. *
  61966. * The passed-in providers can be an array of `Type`, `Provider`,
  61967. * or a recursive array of more providers.
  61968. *
  61969. * @usageNotes
  61970. * ### Example
  61971. *
  61972. * ```typescript
  61973. * @Injectable()
  61974. * class Engine {
  61975. * }
  61976. *
  61977. * @Injectable()
  61978. * class Car {
  61979. * constructor(public engine:Engine) {}
  61980. * }
  61981. *
  61982. * var injector = ReflectiveInjector.resolveAndCreate([Car, Engine]);
  61983. * expect(injector.get(Car) instanceof Car).toBe(true);
  61984. * ```
  61985. */
  61986. static resolveAndCreate(providers, parent) {
  61987. const ResolvedReflectiveProviders = ReflectiveInjector.resolve(providers);
  61988. return ReflectiveInjector.fromResolvedProviders(ResolvedReflectiveProviders, parent);
  61989. }
  61990. /**
  61991. * Creates an injector from previously resolved providers.
  61992. *
  61993. * This API is the recommended way to construct injectors in performance-sensitive parts.
  61994. *
  61995. * @usageNotes
  61996. * ### Example
  61997. *
  61998. * ```typescript
  61999. * @Injectable()
  62000. * class Engine {
  62001. * }
  62002. *
  62003. * @Injectable()
  62004. * class Car {
  62005. * constructor(public engine:Engine) {}
  62006. * }
  62007. *
  62008. * var providers = ReflectiveInjector.resolve([Car, Engine]);
  62009. * var injector = ReflectiveInjector.fromResolvedProviders(providers);
  62010. * expect(injector.get(Car) instanceof Car).toBe(true);
  62011. * ```
  62012. */
  62013. static fromResolvedProviders(providers, parent) {
  62014. return new ReflectiveInjector_(providers, parent);
  62015. }
  62016. }
  62017. class ReflectiveInjector_ {
  62018. /**
  62019. * Private
  62020. */
  62021. constructor(_providers, _parent) {
  62022. /** @internal */
  62023. this._constructionCounter = 0;
  62024. this._providers = _providers;
  62025. this.parent = _parent || null;
  62026. const len = _providers.length;
  62027. this.keyIds = [];
  62028. this.objs = [];
  62029. for (let i = 0; i < len; i++) {
  62030. this.keyIds[i] = _providers[i].key.id;
  62031. this.objs[i] = UNDEFINED;
  62032. }
  62033. }
  62034. get(token, notFoundValue = THROW_IF_NOT_FOUND) {
  62035. return this._getByKey(ReflectiveKey.get(token), null, notFoundValue);
  62036. }
  62037. resolveAndCreateChild(providers) {
  62038. const ResolvedReflectiveProviders = ReflectiveInjector.resolve(providers);
  62039. return this.createChildFromResolved(ResolvedReflectiveProviders);
  62040. }
  62041. createChildFromResolved(providers) {
  62042. const inj = new ReflectiveInjector_(providers);
  62043. inj.parent = this;
  62044. return inj;
  62045. }
  62046. resolveAndInstantiate(provider) {
  62047. return this.instantiateResolved(ReflectiveInjector.resolve([provider])[0]);
  62048. }
  62049. instantiateResolved(provider) {
  62050. return this._instantiateProvider(provider);
  62051. }
  62052. getProviderAtIndex(index) {
  62053. if (index < 0 || index >= this._providers.length) {
  62054. throw outOfBoundsError(index);
  62055. }
  62056. return this._providers[index];
  62057. }
  62058. /** @internal */
  62059. _new(provider) {
  62060. if (this._constructionCounter++ > this._getMaxNumberOfObjects()) {
  62061. throw cyclicDependencyError(this, provider.key);
  62062. }
  62063. return this._instantiateProvider(provider);
  62064. }
  62065. _getMaxNumberOfObjects() {
  62066. return this.objs.length;
  62067. }
  62068. _instantiateProvider(provider) {
  62069. if (provider.multiProvider) {
  62070. const res = [];
  62071. for (let i = 0; i < provider.resolvedFactories.length; ++i) {
  62072. res[i] = this._instantiate(provider, provider.resolvedFactories[i]);
  62073. }
  62074. return res;
  62075. } else {
  62076. return this._instantiate(provider, provider.resolvedFactories[0]);
  62077. }
  62078. }
  62079. _instantiate(provider, ResolvedReflectiveFactory) {
  62080. const factory = ResolvedReflectiveFactory.factory;
  62081. let deps;
  62082. try {
  62083. deps = ResolvedReflectiveFactory.dependencies.map(dep => this._getByReflectiveDependency(dep));
  62084. } catch (e) {
  62085. if (e.addKey) {
  62086. e.addKey(this, provider.key);
  62087. }
  62088. throw e;
  62089. }
  62090. let obj;
  62091. try {
  62092. obj = factory(...deps);
  62093. } catch (e) {
  62094. throw instantiationError(this, e, e.stack, provider.key);
  62095. }
  62096. return obj;
  62097. }
  62098. _getByReflectiveDependency(dep) {
  62099. return this._getByKey(dep.key, dep.visibility, dep.optional ? null : THROW_IF_NOT_FOUND);
  62100. }
  62101. _getByKey(key, visibility, notFoundValue) {
  62102. if (key === ReflectiveInjector_.INJECTOR_KEY) {
  62103. return this;
  62104. }
  62105. if (visibility instanceof Self) {
  62106. return this._getByKeySelf(key, notFoundValue);
  62107. } else {
  62108. return this._getByKeyDefault(key, notFoundValue, visibility);
  62109. }
  62110. }
  62111. _getObjByKeyId(keyId) {
  62112. for (let i = 0; i < this.keyIds.length; i++) {
  62113. if (this.keyIds[i] === keyId) {
  62114. if (this.objs[i] === UNDEFINED) {
  62115. this.objs[i] = this._new(this._providers[i]);
  62116. }
  62117. return this.objs[i];
  62118. }
  62119. }
  62120. return UNDEFINED;
  62121. }
  62122. /** @internal */
  62123. _throwOrNull(key, notFoundValue) {
  62124. if (notFoundValue !== THROW_IF_NOT_FOUND) {
  62125. return notFoundValue;
  62126. } else {
  62127. throw noProviderError(this, key);
  62128. }
  62129. }
  62130. /** @internal */
  62131. _getByKeySelf(key, notFoundValue) {
  62132. const obj = this._getObjByKeyId(key.id);
  62133. return obj !== UNDEFINED ? obj : this._throwOrNull(key, notFoundValue);
  62134. }
  62135. /** @internal */
  62136. _getByKeyDefault(key, notFoundValue, visibility) {
  62137. let inj;
  62138. if (visibility instanceof SkipSelf) {
  62139. inj = this.parent;
  62140. } else {
  62141. inj = this;
  62142. }
  62143. while (inj instanceof ReflectiveInjector_) {
  62144. const inj_ = inj;
  62145. const obj = inj_._getObjByKeyId(key.id);
  62146. if (obj !== UNDEFINED) return obj;
  62147. inj = inj_.parent;
  62148. }
  62149. if (inj !== null) {
  62150. return inj.get(key.token, notFoundValue);
  62151. } else {
  62152. return this._throwOrNull(key, notFoundValue);
  62153. }
  62154. }
  62155. get displayName() {
  62156. const providers = _mapProviders(this, b => ' "' + b.key.displayName + '" ').join(', ');
  62157. return `ReflectiveInjector(providers: [${providers}])`;
  62158. }
  62159. toString() {
  62160. return this.displayName;
  62161. }
  62162. }
  62163. ReflectiveInjector_.INJECTOR_KEY = /* @__PURE__ */ReflectiveKey.get(Injector);
  62164. function _mapProviders(injector, fn) {
  62165. const res = [];
  62166. for (let i = 0; i < injector._providers.length; ++i) {
  62167. res[i] = fn(injector.getProviderAtIndex(i));
  62168. }
  62169. return res;
  62170. }
  62171. /**
  62172. * @license
  62173. * Copyright Google LLC All Rights Reserved.
  62174. *
  62175. * Use of this source code is governed by an MIT-style license that can be
  62176. * found in the LICENSE file at https://angular.io/license
  62177. */
  62178. /**
  62179. * @license
  62180. * Copyright Google LLC All Rights Reserved.
  62181. *
  62182. * Use of this source code is governed by an MIT-style license that can be
  62183. * found in the LICENSE file at https://angular.io/license
  62184. */
  62185. /**
  62186. * @license
  62187. * Copyright Google LLC All Rights Reserved.
  62188. *
  62189. * Use of this source code is governed by an MIT-style license that can be
  62190. * found in the LICENSE file at https://angular.io/license
  62191. */
  62192. function ɵɵdirectiveInject(token, flags = InjectFlags.Default) {
  62193. const lView = getLView(); // Fall back to inject() if view hasn't been created. This situation can happen in tests
  62194. // if inject utilities are used before bootstrapping.
  62195. if (lView === null) {
  62196. // Verify that we will not get into infinite loop.
  62197. ngDevMode && assertInjectImplementationNotEqual(ɵɵdirectiveInject);
  62198. return ɵɵinject(token, flags);
  62199. }
  62200. const tNode = getCurrentTNode();
  62201. return getOrCreateInjectable(tNode, lView, resolveForwardRef(token), flags);
  62202. }
  62203. /**
  62204. * Throws an error indicating that a factory function could not be generated by the compiler for a
  62205. * particular class.
  62206. *
  62207. * This instruction allows the actual error message to be optimized away when ngDevMode is turned
  62208. * off, saving bytes of generated code while still providing a good experience in dev mode.
  62209. *
  62210. * The name of the class is not mentioned here, but will be in the generated factory function name
  62211. * and thus in the stack trace.
  62212. *
  62213. * @codeGenApi
  62214. */
  62215. function ɵɵinvalidFactory() {
  62216. const msg = ngDevMode ? `This constructor was not compatible with Dependency Injection.` : 'invalid';
  62217. throw new Error(msg);
  62218. }
  62219. /**
  62220. * @license
  62221. * Copyright Google LLC All Rights Reserved.
  62222. *
  62223. * Use of this source code is governed by an MIT-style license that can be
  62224. * found in the LICENSE file at https://angular.io/license
  62225. */
  62226. /**
  62227. * THIS FILE CONTAINS CODE WHICH SHOULD BE TREE SHAKEN AND NEVER CALLED FROM PRODUCTION CODE!!!
  62228. */
  62229. /**
  62230. * Creates an `Array` construction with a given name. This is useful when
  62231. * looking for memory consumption to see what time of array it is.
  62232. *
  62233. *
  62234. * @param name Name to give to the constructor
  62235. * @returns A subclass of `Array` if possible. This can only be done in
  62236. * environments which support `class` construct.
  62237. */
  62238. function createNamedArrayType(name) {
  62239. // This should never be called in prod mode, so let's verify that is the case.
  62240. if (ngDevMode) {
  62241. try {
  62242. // If this function were compromised the following could lead to arbitrary
  62243. // script execution. We bless it with Trusted Types anyway since this
  62244. // function is stripped out of production binaries.
  62245. return newTrustedFunctionForDev('Array', `return class ${name} extends Array{}`)(Array);
  62246. } catch (e) {
  62247. // If it does not work just give up and fall back to regular Array.
  62248. return Array;
  62249. }
  62250. } else {
  62251. throw new Error('Looks like we are in \'prod mode\', but we are creating a named Array type, which is wrong! Check your code');
  62252. }
  62253. }
  62254. /**
  62255. * @license
  62256. * Copyright Google LLC All Rights Reserved.
  62257. *
  62258. * Use of this source code is governed by an MIT-style license that can be
  62259. * found in the LICENSE file at https://angular.io/license
  62260. */
  62261. function toTStylingRange(prev, next) {
  62262. ngDevMode && assertNumberInRange(prev, 0, 32767
  62263. /* StylingRange.UNSIGNED_MASK */
  62264. );
  62265. ngDevMode && assertNumberInRange(next, 0, 32767
  62266. /* StylingRange.UNSIGNED_MASK */
  62267. );
  62268. return prev << 17
  62269. /* StylingRange.PREV_SHIFT */
  62270. | next << 2
  62271. /* StylingRange.NEXT_SHIFT */
  62272. ;
  62273. }
  62274. function getTStylingRangePrev(tStylingRange) {
  62275. ngDevMode && assertNumber(tStylingRange, 'expected number');
  62276. return tStylingRange >> 17
  62277. /* StylingRange.PREV_SHIFT */
  62278. & 32767
  62279. /* StylingRange.UNSIGNED_MASK */
  62280. ;
  62281. }
  62282. function getTStylingRangePrevDuplicate(tStylingRange) {
  62283. ngDevMode && assertNumber(tStylingRange, 'expected number');
  62284. return (tStylingRange & 2
  62285. /* StylingRange.PREV_DUPLICATE */
  62286. ) == 2
  62287. /* StylingRange.PREV_DUPLICATE */
  62288. ;
  62289. }
  62290. function setTStylingRangePrev(tStylingRange, previous) {
  62291. ngDevMode && assertNumber(tStylingRange, 'expected number');
  62292. ngDevMode && assertNumberInRange(previous, 0, 32767
  62293. /* StylingRange.UNSIGNED_MASK */
  62294. );
  62295. return tStylingRange & ~4294836224
  62296. /* StylingRange.PREV_MASK */
  62297. | previous << 17
  62298. /* StylingRange.PREV_SHIFT */
  62299. ;
  62300. }
  62301. function setTStylingRangePrevDuplicate(tStylingRange) {
  62302. ngDevMode && assertNumber(tStylingRange, 'expected number');
  62303. return tStylingRange | 2
  62304. /* StylingRange.PREV_DUPLICATE */
  62305. ;
  62306. }
  62307. function getTStylingRangeNext(tStylingRange) {
  62308. ngDevMode && assertNumber(tStylingRange, 'expected number');
  62309. return (tStylingRange & 131068
  62310. /* StylingRange.NEXT_MASK */
  62311. ) >> 2
  62312. /* StylingRange.NEXT_SHIFT */
  62313. ;
  62314. }
  62315. function setTStylingRangeNext(tStylingRange, next) {
  62316. ngDevMode && assertNumber(tStylingRange, 'expected number');
  62317. ngDevMode && assertNumberInRange(next, 0, 32767
  62318. /* StylingRange.UNSIGNED_MASK */
  62319. );
  62320. return tStylingRange & ~131068
  62321. /* StylingRange.NEXT_MASK */
  62322. | //
  62323. next << 2
  62324. /* StylingRange.NEXT_SHIFT */
  62325. ;
  62326. }
  62327. function getTStylingRangeNextDuplicate(tStylingRange) {
  62328. ngDevMode && assertNumber(tStylingRange, 'expected number');
  62329. return (tStylingRange & 1
  62330. /* StylingRange.NEXT_DUPLICATE */
  62331. ) === 1
  62332. /* StylingRange.NEXT_DUPLICATE */
  62333. ;
  62334. }
  62335. function setTStylingRangeNextDuplicate(tStylingRange) {
  62336. ngDevMode && assertNumber(tStylingRange, 'expected number');
  62337. return tStylingRange | 1
  62338. /* StylingRange.NEXT_DUPLICATE */
  62339. ;
  62340. }
  62341. function getTStylingRangeTail(tStylingRange) {
  62342. ngDevMode && assertNumber(tStylingRange, 'expected number');
  62343. const next = getTStylingRangeNext(tStylingRange);
  62344. return next === 0 ? getTStylingRangePrev(tStylingRange) : next;
  62345. }
  62346. /**
  62347. * @license
  62348. * Copyright Google LLC All Rights Reserved.
  62349. *
  62350. * Use of this source code is governed by an MIT-style license that can be
  62351. * found in the LICENSE file at https://angular.io/license
  62352. */
  62353. /**
  62354. * Patch a `debug` property on top of the existing object.
  62355. *
  62356. * NOTE: always call this method with `ngDevMode && attachDebugObject(...)`
  62357. *
  62358. * @param obj Object to patch
  62359. * @param debug Value to patch
  62360. */
  62361. function attachDebugObject(obj, debug) {
  62362. if (ngDevMode) {
  62363. Object.defineProperty(obj, 'debug', {
  62364. value: debug,
  62365. enumerable: false
  62366. });
  62367. } else {
  62368. throw new Error('This method should be guarded with `ngDevMode` so that it can be tree shaken in production!');
  62369. }
  62370. }
  62371. /**
  62372. * Patch a `debug` property getter on top of the existing object.
  62373. *
  62374. * NOTE: always call this method with `ngDevMode && attachDebugObject(...)`
  62375. *
  62376. * @param obj Object to patch
  62377. * @param debugGetter Getter returning a value to patch
  62378. */
  62379. function attachDebugGetter(obj, debugGetter) {
  62380. if (ngDevMode) {
  62381. Object.defineProperty(obj, 'debug', {
  62382. get: debugGetter,
  62383. enumerable: false
  62384. });
  62385. } else {
  62386. throw new Error('This method should be guarded with `ngDevMode` so that it can be tree shaken in production!');
  62387. }
  62388. }
  62389. /**
  62390. * @license
  62391. * Copyright Google LLC All Rights Reserved.
  62392. *
  62393. * Use of this source code is governed by an MIT-style license that can be
  62394. * found in the LICENSE file at https://angular.io/license
  62395. */
  62396. /*
  62397. * This file contains conditionally attached classes which provide human readable (debug) level
  62398. * information for `LView`, `LContainer` and other internal data structures. These data structures
  62399. * are stored internally as array which makes it very difficult during debugging to reason about the
  62400. * current state of the system.
  62401. *
  62402. * Patching the array with extra property does change the array's hidden class' but it does not
  62403. * change the cost of access, therefore this patching should not have significant if any impact in
  62404. * `ngDevMode` mode. (see: https://jsperf.com/array-vs-monkey-patch-array)
  62405. *
  62406. * So instead of seeing:
  62407. * ```
  62408. * Array(30) [Object, 659, null, …]
  62409. * ```
  62410. *
  62411. * You get to see:
  62412. * ```
  62413. * LViewDebug {
  62414. * views: [...],
  62415. * flags: {attached: true, ...}
  62416. * nodes: [
  62417. * {html: '<div id="123">', ..., nodes: [
  62418. * {html: '<span>', ..., nodes: null}
  62419. * ]}
  62420. * ]
  62421. * }
  62422. * ```
  62423. */
  62424. let LVIEW_COMPONENT_CACHE;
  62425. let LVIEW_EMBEDDED_CACHE;
  62426. let LVIEW_ROOT;
  62427. let LVIEW_COMPONENT;
  62428. let LVIEW_EMBEDDED;
  62429. /**
  62430. * This function clones a blueprint and creates LView.
  62431. *
  62432. * Simple slice will keep the same type, and we need it to be LView
  62433. */
  62434. function cloneToLViewFromTViewBlueprint(tView) {
  62435. const debugTView = tView;
  62436. const lView = getLViewToClone(debugTView.type, tView.template && tView.template.name);
  62437. return lView.concat(tView.blueprint);
  62438. }
  62439. class LRootView extends Array {}
  62440. class LComponentView extends Array {}
  62441. class LEmbeddedView extends Array {}
  62442. function getLViewToClone(type, name) {
  62443. switch (type) {
  62444. case 0
  62445. /* TViewType.Root */
  62446. :
  62447. if (LVIEW_ROOT === undefined) LVIEW_ROOT = new LRootView();
  62448. return LVIEW_ROOT;
  62449. case 1
  62450. /* TViewType.Component */
  62451. :
  62452. if (!ngDevMode || !ngDevMode.namedConstructors) {
  62453. if (LVIEW_COMPONENT === undefined) LVIEW_COMPONENT = new LComponentView();
  62454. return LVIEW_COMPONENT;
  62455. }
  62456. if (LVIEW_COMPONENT_CACHE === undefined) LVIEW_COMPONENT_CACHE = new Map();
  62457. let componentArray = LVIEW_COMPONENT_CACHE.get(name);
  62458. if (componentArray === undefined) {
  62459. componentArray = new (createNamedArrayType('LComponentView' + nameSuffix(name)))();
  62460. LVIEW_COMPONENT_CACHE.set(name, componentArray);
  62461. }
  62462. return componentArray;
  62463. case 2
  62464. /* TViewType.Embedded */
  62465. :
  62466. if (!ngDevMode || !ngDevMode.namedConstructors) {
  62467. if (LVIEW_EMBEDDED === undefined) LVIEW_EMBEDDED = new LEmbeddedView();
  62468. return LVIEW_EMBEDDED;
  62469. }
  62470. if (LVIEW_EMBEDDED_CACHE === undefined) LVIEW_EMBEDDED_CACHE = new Map();
  62471. let embeddedArray = LVIEW_EMBEDDED_CACHE.get(name);
  62472. if (embeddedArray === undefined) {
  62473. embeddedArray = new (createNamedArrayType('LEmbeddedView' + nameSuffix(name)))();
  62474. LVIEW_EMBEDDED_CACHE.set(name, embeddedArray);
  62475. }
  62476. return embeddedArray;
  62477. }
  62478. }
  62479. function nameSuffix(text) {
  62480. if (text == null) return '';
  62481. const index = text.lastIndexOf('_Template');
  62482. return '_' + (index === -1 ? text : text.slice(0, index));
  62483. }
  62484. /**
  62485. * This class is a debug version of Object literal so that we can have constructor name show up
  62486. * in
  62487. * debug tools in ngDevMode.
  62488. */
  62489. const TViewConstructor = class TView {
  62490. constructor(type, blueprint, template, queries, viewQuery, declTNode, data, bindingStartIndex, expandoStartIndex, hostBindingOpCodes, firstCreatePass, firstUpdatePass, staticViewQueries, staticContentQueries, preOrderHooks, preOrderCheckHooks, contentHooks, contentCheckHooks, viewHooks, viewCheckHooks, destroyHooks, cleanup, contentQueries, components, directiveRegistry, pipeRegistry, firstChild, schemas, consts, incompleteFirstPass, _decls, _vars) {
  62491. this.type = type;
  62492. this.blueprint = blueprint;
  62493. this.template = template;
  62494. this.queries = queries;
  62495. this.viewQuery = viewQuery;
  62496. this.declTNode = declTNode;
  62497. this.data = data;
  62498. this.bindingStartIndex = bindingStartIndex;
  62499. this.expandoStartIndex = expandoStartIndex;
  62500. this.hostBindingOpCodes = hostBindingOpCodes;
  62501. this.firstCreatePass = firstCreatePass;
  62502. this.firstUpdatePass = firstUpdatePass;
  62503. this.staticViewQueries = staticViewQueries;
  62504. this.staticContentQueries = staticContentQueries;
  62505. this.preOrderHooks = preOrderHooks;
  62506. this.preOrderCheckHooks = preOrderCheckHooks;
  62507. this.contentHooks = contentHooks;
  62508. this.contentCheckHooks = contentCheckHooks;
  62509. this.viewHooks = viewHooks;
  62510. this.viewCheckHooks = viewCheckHooks;
  62511. this.destroyHooks = destroyHooks;
  62512. this.cleanup = cleanup;
  62513. this.contentQueries = contentQueries;
  62514. this.components = components;
  62515. this.directiveRegistry = directiveRegistry;
  62516. this.pipeRegistry = pipeRegistry;
  62517. this.firstChild = firstChild;
  62518. this.schemas = schemas;
  62519. this.consts = consts;
  62520. this.incompleteFirstPass = incompleteFirstPass;
  62521. this._decls = _decls;
  62522. this._vars = _vars;
  62523. }
  62524. get template_() {
  62525. const buf = [];
  62526. processTNodeChildren(this.firstChild, buf);
  62527. return buf.join('');
  62528. }
  62529. get type_() {
  62530. return TViewTypeAsString[this.type] || `TViewType.?${this.type}?`;
  62531. }
  62532. };
  62533. class TNode {
  62534. constructor(tView_, //
  62535. type, //
  62536. index, //
  62537. insertBeforeIndex, //
  62538. injectorIndex, //
  62539. directiveStart, //
  62540. directiveEnd, //
  62541. directiveStylingLast, //
  62542. propertyBindings, //
  62543. flags, //
  62544. providerIndexes, //
  62545. value, //
  62546. attrs, //
  62547. mergedAttrs, //
  62548. localNames, //
  62549. initialInputs, //
  62550. inputs, //
  62551. outputs, //
  62552. tViews, //
  62553. next, //
  62554. projectionNext, //
  62555. child, //
  62556. parent, //
  62557. projection, //
  62558. styles, //
  62559. stylesWithoutHost, //
  62560. residualStyles, //
  62561. classes, //
  62562. classesWithoutHost, //
  62563. residualClasses, //
  62564. classBindings, //
  62565. styleBindings) {
  62566. this.tView_ = tView_;
  62567. this.type = type;
  62568. this.index = index;
  62569. this.insertBeforeIndex = insertBeforeIndex;
  62570. this.injectorIndex = injectorIndex;
  62571. this.directiveStart = directiveStart;
  62572. this.directiveEnd = directiveEnd;
  62573. this.directiveStylingLast = directiveStylingLast;
  62574. this.propertyBindings = propertyBindings;
  62575. this.flags = flags;
  62576. this.providerIndexes = providerIndexes;
  62577. this.value = value;
  62578. this.attrs = attrs;
  62579. this.mergedAttrs = mergedAttrs;
  62580. this.localNames = localNames;
  62581. this.initialInputs = initialInputs;
  62582. this.inputs = inputs;
  62583. this.outputs = outputs;
  62584. this.tViews = tViews;
  62585. this.next = next;
  62586. this.projectionNext = projectionNext;
  62587. this.child = child;
  62588. this.parent = parent;
  62589. this.projection = projection;
  62590. this.styles = styles;
  62591. this.stylesWithoutHost = stylesWithoutHost;
  62592. this.residualStyles = residualStyles;
  62593. this.classes = classes;
  62594. this.classesWithoutHost = classesWithoutHost;
  62595. this.residualClasses = residualClasses;
  62596. this.classBindings = classBindings;
  62597. this.styleBindings = styleBindings;
  62598. }
  62599. /**
  62600. * Return a human debug version of the set of `NodeInjector`s which will be consulted when
  62601. * resolving tokens from this `TNode`.
  62602. *
  62603. * When debugging applications, it is often difficult to determine which `NodeInjector`s will be
  62604. * consulted. This method shows a list of `DebugNode`s representing the `TNode`s which will be
  62605. * consulted in order when resolving a token starting at this `TNode`.
  62606. *
  62607. * The original data is stored in `LView` and `TView` with a lot of offset indexes, and so it is
  62608. * difficult to reason about.
  62609. *
  62610. * @param lView The `LView` instance for this `TNode`.
  62611. */
  62612. debugNodeInjectorPath(lView) {
  62613. const path = [];
  62614. let injectorIndex = getInjectorIndex(this, lView);
  62615. if (injectorIndex === -1) {
  62616. // Looks like the current `TNode` does not have `NodeInjector` associated with it => look for
  62617. // parent NodeInjector.
  62618. const parentLocation = getParentInjectorLocation(this, lView);
  62619. if (parentLocation !== NO_PARENT_INJECTOR) {
  62620. // We found a parent, so start searching from the parent location.
  62621. injectorIndex = getParentInjectorIndex(parentLocation);
  62622. lView = getParentInjectorView(parentLocation, lView);
  62623. } else {// No parents have been found, so there are no `NodeInjector`s to consult.
  62624. }
  62625. }
  62626. while (injectorIndex !== -1) {
  62627. ngDevMode && assertNodeInjector(lView, injectorIndex);
  62628. const tNode = lView[TVIEW].data[injectorIndex + 8
  62629. /* NodeInjectorOffset.TNODE */
  62630. ];
  62631. path.push(buildDebugNode(tNode, lView));
  62632. const parentLocation = lView[injectorIndex + 8
  62633. /* NodeInjectorOffset.PARENT */
  62634. ];
  62635. if (parentLocation === NO_PARENT_INJECTOR) {
  62636. injectorIndex = -1;
  62637. } else {
  62638. injectorIndex = getParentInjectorIndex(parentLocation);
  62639. lView = getParentInjectorView(parentLocation, lView);
  62640. }
  62641. }
  62642. return path;
  62643. }
  62644. get type_() {
  62645. return toTNodeTypeAsString(this.type) || `TNodeType.?${this.type}?`;
  62646. }
  62647. get flags_() {
  62648. const flags = [];
  62649. if (this.flags & 16
  62650. /* TNodeFlags.hasClassInput */
  62651. ) flags.push('TNodeFlags.hasClassInput');
  62652. if (this.flags & 8
  62653. /* TNodeFlags.hasContentQuery */
  62654. ) flags.push('TNodeFlags.hasContentQuery');
  62655. if (this.flags & 32
  62656. /* TNodeFlags.hasStyleInput */
  62657. ) flags.push('TNodeFlags.hasStyleInput');
  62658. if (this.flags & 128
  62659. /* TNodeFlags.hasHostBindings */
  62660. ) flags.push('TNodeFlags.hasHostBindings');
  62661. if (this.flags & 2
  62662. /* TNodeFlags.isComponentHost */
  62663. ) flags.push('TNodeFlags.isComponentHost');
  62664. if (this.flags & 1
  62665. /* TNodeFlags.isDirectiveHost */
  62666. ) flags.push('TNodeFlags.isDirectiveHost');
  62667. if (this.flags & 64
  62668. /* TNodeFlags.isDetached */
  62669. ) flags.push('TNodeFlags.isDetached');
  62670. if (this.flags & 4
  62671. /* TNodeFlags.isProjected */
  62672. ) flags.push('TNodeFlags.isProjected');
  62673. return flags.join('|');
  62674. }
  62675. get template_() {
  62676. if (this.type & 1
  62677. /* TNodeType.Text */
  62678. ) return this.value;
  62679. const buf = [];
  62680. const tagName = typeof this.value === 'string' && this.value || this.type_;
  62681. buf.push('<', tagName);
  62682. if (this.flags) {
  62683. buf.push(' ', this.flags_);
  62684. }
  62685. if (this.attrs) {
  62686. for (let i = 0; i < this.attrs.length;) {
  62687. const attrName = this.attrs[i++];
  62688. if (typeof attrName == 'number') {
  62689. break;
  62690. }
  62691. const attrValue = this.attrs[i++];
  62692. buf.push(' ', attrName, '="', attrValue, '"');
  62693. }
  62694. }
  62695. buf.push('>');
  62696. processTNodeChildren(this.child, buf);
  62697. buf.push('</', tagName, '>');
  62698. return buf.join('');
  62699. }
  62700. get styleBindings_() {
  62701. return toDebugStyleBinding(this, false);
  62702. }
  62703. get classBindings_() {
  62704. return toDebugStyleBinding(this, true);
  62705. }
  62706. get providerIndexStart_() {
  62707. return this.providerIndexes & 1048575
  62708. /* TNodeProviderIndexes.ProvidersStartIndexMask */
  62709. ;
  62710. }
  62711. get providerIndexEnd_() {
  62712. return this.providerIndexStart_ + (this.providerIndexes >>> 20
  62713. /* TNodeProviderIndexes.CptViewProvidersCountShift */
  62714. );
  62715. }
  62716. }
  62717. const TNodeDebug = TNode;
  62718. function toDebugStyleBinding(tNode, isClassBased) {
  62719. const tData = tNode.tView_.data;
  62720. const bindings = [];
  62721. const range = isClassBased ? tNode.classBindings : tNode.styleBindings;
  62722. const prev = getTStylingRangePrev(range);
  62723. const next = getTStylingRangeNext(range);
  62724. let isTemplate = next !== 0;
  62725. let cursor = isTemplate ? next : prev;
  62726. while (cursor !== 0) {
  62727. const itemKey = tData[cursor];
  62728. const itemRange = tData[cursor + 1];
  62729. bindings.unshift({
  62730. key: itemKey,
  62731. index: cursor,
  62732. isTemplate: isTemplate,
  62733. prevDuplicate: getTStylingRangePrevDuplicate(itemRange),
  62734. nextDuplicate: getTStylingRangeNextDuplicate(itemRange),
  62735. nextIndex: getTStylingRangeNext(itemRange),
  62736. prevIndex: getTStylingRangePrev(itemRange)
  62737. });
  62738. if (cursor === prev) isTemplate = false;
  62739. cursor = getTStylingRangePrev(itemRange);
  62740. }
  62741. bindings.push((isClassBased ? tNode.residualClasses : tNode.residualStyles) || null);
  62742. return bindings;
  62743. }
  62744. function processTNodeChildren(tNode, buf) {
  62745. while (tNode) {
  62746. buf.push(tNode.template_);
  62747. tNode = tNode.next;
  62748. }
  62749. }
  62750. class TViewData extends Array {}
  62751. let TVIEWDATA_EMPTY; // can't initialize here or it will not be tree shaken, because
  62752. // `LView` constructor could have side-effects.
  62753. /**
  62754. * This function clones a blueprint and creates TData.
  62755. *
  62756. * Simple slice will keep the same type, and we need it to be TData
  62757. */
  62758. function cloneToTViewData(list) {
  62759. if (TVIEWDATA_EMPTY === undefined) TVIEWDATA_EMPTY = new TViewData();
  62760. return TVIEWDATA_EMPTY.concat(list);
  62761. }
  62762. class LViewBlueprint extends Array {}
  62763. class MatchesArray extends Array {}
  62764. class TViewComponents extends Array {}
  62765. class TNodeLocalNames extends Array {}
  62766. class TNodeInitialInputs extends Array {}
  62767. class LCleanup extends Array {}
  62768. class TCleanup extends Array {}
  62769. function attachLViewDebug(lView) {
  62770. attachDebugObject(lView, new LViewDebug(lView));
  62771. }
  62772. function attachLContainerDebug(lContainer) {
  62773. attachDebugObject(lContainer, new LContainerDebug(lContainer));
  62774. }
  62775. function toDebug(obj) {
  62776. if (obj) {
  62777. const debug = obj.debug;
  62778. assertDefined(debug, 'Object does not have a debug representation.');
  62779. return debug;
  62780. } else {
  62781. return obj;
  62782. }
  62783. }
  62784. /**
  62785. * Use this method to unwrap a native element in `LView` and convert it into HTML for easier
  62786. * reading.
  62787. *
  62788. * @param value possibly wrapped native DOM node.
  62789. * @param includeChildren If `true` then the serialized HTML form will include child elements
  62790. * (same
  62791. * as `outerHTML`). If `false` then the serialized HTML form will only contain the element
  62792. * itself
  62793. * (will not serialize child elements).
  62794. */
  62795. function toHtml(value, includeChildren = false) {
  62796. const node = unwrapRNode(value);
  62797. if (node) {
  62798. switch (node.nodeType) {
  62799. case Node.TEXT_NODE:
  62800. return node.textContent;
  62801. case Node.COMMENT_NODE:
  62802. return `<!--${node.textContent}-->`;
  62803. case Node.ELEMENT_NODE:
  62804. const outerHTML = node.outerHTML;
  62805. if (includeChildren) {
  62806. return outerHTML;
  62807. } else {
  62808. const innerHTML = '>' + node.innerHTML + '<';
  62809. return outerHTML.split(innerHTML)[0] + '>';
  62810. }
  62811. }
  62812. }
  62813. return null;
  62814. }
  62815. class LViewDebug {
  62816. constructor(_raw_lView) {
  62817. this._raw_lView = _raw_lView;
  62818. }
  62819. /**
  62820. * Flags associated with the `LView` unpacked into a more readable state.
  62821. */
  62822. get flags() {
  62823. const flags = this._raw_lView[FLAGS];
  62824. return {
  62825. __raw__flags__: flags,
  62826. initPhaseState: flags & 3
  62827. /* LViewFlags.InitPhaseStateMask */
  62828. ,
  62829. creationMode: !!(flags & 4
  62830. /* LViewFlags.CreationMode */
  62831. ),
  62832. firstViewPass: !!(flags & 8
  62833. /* LViewFlags.FirstLViewPass */
  62834. ),
  62835. checkAlways: !!(flags & 16
  62836. /* LViewFlags.CheckAlways */
  62837. ),
  62838. dirty: !!(flags & 32
  62839. /* LViewFlags.Dirty */
  62840. ),
  62841. attached: !!(flags & 64
  62842. /* LViewFlags.Attached */
  62843. ),
  62844. destroyed: !!(flags & 128
  62845. /* LViewFlags.Destroyed */
  62846. ),
  62847. isRoot: !!(flags & 256
  62848. /* LViewFlags.IsRoot */
  62849. ),
  62850. indexWithinInitPhase: flags >> 11
  62851. /* LViewFlags.IndexWithinInitPhaseShift */
  62852. };
  62853. }
  62854. get parent() {
  62855. return toDebug(this._raw_lView[PARENT]);
  62856. }
  62857. get hostHTML() {
  62858. return toHtml(this._raw_lView[HOST], true);
  62859. }
  62860. get html() {
  62861. return (this.nodes || []).map(mapToHTML).join('');
  62862. }
  62863. get context() {
  62864. return this._raw_lView[CONTEXT];
  62865. }
  62866. /**
  62867. * The tree of nodes associated with the current `LView`. The nodes have been normalized into
  62868. * a tree structure with relevant details pulled out for readability.
  62869. */
  62870. get nodes() {
  62871. const lView = this._raw_lView;
  62872. const tNode = lView[TVIEW].firstChild;
  62873. return toDebugNodes(tNode, lView);
  62874. }
  62875. get template() {
  62876. return this.tView.template_;
  62877. }
  62878. get tView() {
  62879. return this._raw_lView[TVIEW];
  62880. }
  62881. get cleanup() {
  62882. return this._raw_lView[CLEANUP];
  62883. }
  62884. get injector() {
  62885. return this._raw_lView[INJECTOR$1];
  62886. }
  62887. get rendererFactory() {
  62888. return this._raw_lView[RENDERER_FACTORY];
  62889. }
  62890. get renderer() {
  62891. return this._raw_lView[RENDERER];
  62892. }
  62893. get sanitizer() {
  62894. return this._raw_lView[SANITIZER];
  62895. }
  62896. get childHead() {
  62897. return toDebug(this._raw_lView[CHILD_HEAD]);
  62898. }
  62899. get next() {
  62900. return toDebug(this._raw_lView[NEXT]);
  62901. }
  62902. get childTail() {
  62903. return toDebug(this._raw_lView[CHILD_TAIL]);
  62904. }
  62905. get declarationView() {
  62906. return toDebug(this._raw_lView[DECLARATION_VIEW]);
  62907. }
  62908. get queries() {
  62909. return this._raw_lView[QUERIES];
  62910. }
  62911. get tHost() {
  62912. return this._raw_lView[T_HOST];
  62913. }
  62914. get id() {
  62915. return this._raw_lView[ID];
  62916. }
  62917. get decls() {
  62918. return toLViewRange(this.tView, this._raw_lView, HEADER_OFFSET, this.tView.bindingStartIndex);
  62919. }
  62920. get vars() {
  62921. return toLViewRange(this.tView, this._raw_lView, this.tView.bindingStartIndex, this.tView.expandoStartIndex);
  62922. }
  62923. get expando() {
  62924. return toLViewRange(this.tView, this._raw_lView, this.tView.expandoStartIndex, this._raw_lView.length);
  62925. }
  62926. /**
  62927. * Normalized view of child views (and containers) attached at this location.
  62928. */
  62929. get childViews() {
  62930. const childViews = [];
  62931. let child = this.childHead;
  62932. while (child) {
  62933. childViews.push(child);
  62934. child = child.next;
  62935. }
  62936. return childViews;
  62937. }
  62938. }
  62939. function mapToHTML(node) {
  62940. if (node.type === 'ElementContainer') {
  62941. return (node.children || []).map(mapToHTML).join('');
  62942. } else if (node.type === 'IcuContainer') {
  62943. throw new Error('Not implemented');
  62944. } else {
  62945. return toHtml(node.native, true) || '';
  62946. }
  62947. }
  62948. function toLViewRange(tView, lView, start, end) {
  62949. let content = [];
  62950. for (let index = start; index < end; index++) {
  62951. content.push({
  62952. index: index,
  62953. t: tView.data[index],
  62954. l: lView[index]
  62955. });
  62956. }
  62957. return {
  62958. start: start,
  62959. end: end,
  62960. length: end - start,
  62961. content: content
  62962. };
  62963. }
  62964. /**
  62965. * Turns a flat list of nodes into a tree by walking the associated `TNode` tree.
  62966. *
  62967. * @param tNode
  62968. * @param lView
  62969. */
  62970. function toDebugNodes(tNode, lView) {
  62971. if (tNode) {
  62972. const debugNodes = [];
  62973. let tNodeCursor = tNode;
  62974. while (tNodeCursor) {
  62975. debugNodes.push(buildDebugNode(tNodeCursor, lView));
  62976. tNodeCursor = tNodeCursor.next;
  62977. }
  62978. return debugNodes;
  62979. } else {
  62980. return [];
  62981. }
  62982. }
  62983. function buildDebugNode(tNode, lView) {
  62984. const rawValue = lView[tNode.index];
  62985. const native = unwrapRNode(rawValue);
  62986. const factories = [];
  62987. const instances = [];
  62988. const tView = lView[TVIEW];
  62989. for (let i = tNode.directiveStart; i < tNode.directiveEnd; i++) {
  62990. const def = tView.data[i];
  62991. factories.push(def.type);
  62992. instances.push(lView[i]);
  62993. }
  62994. return {
  62995. html: toHtml(native),
  62996. type: toTNodeTypeAsString(tNode.type),
  62997. tNode,
  62998. native: native,
  62999. children: toDebugNodes(tNode.child, lView),
  63000. factories,
  63001. instances,
  63002. injector: buildNodeInjectorDebug(tNode, tView, lView),
  63003. get injectorResolutionPath() {
  63004. return tNode.debugNodeInjectorPath(lView);
  63005. }
  63006. };
  63007. }
  63008. function buildNodeInjectorDebug(tNode, tView, lView) {
  63009. const viewProviders = [];
  63010. for (let i = tNode.providerIndexStart_; i < tNode.providerIndexEnd_; i++) {
  63011. viewProviders.push(tView.data[i]);
  63012. }
  63013. const providers = [];
  63014. for (let i = tNode.providerIndexEnd_; i < tNode.directiveEnd; i++) {
  63015. providers.push(tView.data[i]);
  63016. }
  63017. const nodeInjectorDebug = {
  63018. bloom: toBloom(lView, tNode.injectorIndex),
  63019. cumulativeBloom: toBloom(tView.data, tNode.injectorIndex),
  63020. providers,
  63021. viewProviders,
  63022. parentInjectorIndex: lView[tNode.providerIndexStart_ - 1]
  63023. };
  63024. return nodeInjectorDebug;
  63025. }
  63026. /**
  63027. * Convert a number at `idx` location in `array` into binary representation.
  63028. *
  63029. * @param array
  63030. * @param idx
  63031. */
  63032. function binary(array, idx) {
  63033. const value = array[idx]; // If not a number we print 8 `?` to retain alignment but let user know that it was called on
  63034. // wrong type.
  63035. if (typeof value !== 'number') return '????????'; // We prefix 0s so that we have constant length number
  63036. const text = '00000000' + value.toString(2);
  63037. return text.substring(text.length - 8);
  63038. }
  63039. /**
  63040. * Convert a bloom filter at location `idx` in `array` into binary representation.
  63041. *
  63042. * @param array
  63043. * @param idx
  63044. */
  63045. function toBloom(array, idx) {
  63046. if (idx < 0) {
  63047. return 'NO_NODE_INJECTOR';
  63048. }
  63049. return `${binary(array, idx + 7)}_${binary(array, idx + 6)}_${binary(array, idx + 5)}_${binary(array, idx + 4)}_${binary(array, idx + 3)}_${binary(array, idx + 2)}_${binary(array, idx + 1)}_${binary(array, idx + 0)}`;
  63050. }
  63051. class LContainerDebug {
  63052. constructor(_raw_lContainer) {
  63053. this._raw_lContainer = _raw_lContainer;
  63054. }
  63055. get hasTransplantedViews() {
  63056. return this._raw_lContainer[HAS_TRANSPLANTED_VIEWS];
  63057. }
  63058. get views() {
  63059. return this._raw_lContainer.slice(CONTAINER_HEADER_OFFSET).map(toDebug);
  63060. }
  63061. get parent() {
  63062. return toDebug(this._raw_lContainer[PARENT]);
  63063. }
  63064. get movedViews() {
  63065. return this._raw_lContainer[MOVED_VIEWS];
  63066. }
  63067. get host() {
  63068. return this._raw_lContainer[HOST];
  63069. }
  63070. get native() {
  63071. return this._raw_lContainer[NATIVE];
  63072. }
  63073. get next() {
  63074. return toDebug(this._raw_lContainer[NEXT]);
  63075. }
  63076. }
  63077. /**
  63078. * @license
  63079. * Copyright Google LLC All Rights Reserved.
  63080. *
  63081. * Use of this source code is governed by an MIT-style license that can be
  63082. * found in the LICENSE file at https://angular.io/license
  63083. */
  63084. /**
  63085. * Invoke `HostBindingsFunction`s for view.
  63086. *
  63087. * This methods executes `TView.hostBindingOpCodes`. It is used to execute the
  63088. * `HostBindingsFunction`s associated with the current `LView`.
  63089. *
  63090. * @param tView Current `TView`.
  63091. * @param lView Current `LView`.
  63092. */
  63093. function processHostBindingOpCodes(tView, lView) {
  63094. const hostBindingOpCodes = tView.hostBindingOpCodes;
  63095. if (hostBindingOpCodes === null) return;
  63096. try {
  63097. for (let i = 0; i < hostBindingOpCodes.length; i++) {
  63098. const opCode = hostBindingOpCodes[i];
  63099. if (opCode < 0) {
  63100. // Negative numbers are element indexes.
  63101. setSelectedIndex(~opCode);
  63102. } else {
  63103. // Positive numbers are NumberTuple which store bindingRootIndex and directiveIndex.
  63104. const directiveIdx = opCode;
  63105. const bindingRootIndx = hostBindingOpCodes[++i];
  63106. const hostBindingFn = hostBindingOpCodes[++i];
  63107. setBindingRootForHostBindings(bindingRootIndx, directiveIdx);
  63108. const context = lView[directiveIdx];
  63109. hostBindingFn(2
  63110. /* RenderFlags.Update */
  63111. , context);
  63112. }
  63113. }
  63114. } finally {
  63115. setSelectedIndex(-1);
  63116. }
  63117. }
  63118. /** Refreshes all content queries declared by directives in a given view */
  63119. function refreshContentQueries(tView, lView) {
  63120. const contentQueries = tView.contentQueries;
  63121. if (contentQueries !== null) {
  63122. for (let i = 0; i < contentQueries.length; i += 2) {
  63123. const queryStartIdx = contentQueries[i];
  63124. const directiveDefIdx = contentQueries[i + 1];
  63125. if (directiveDefIdx !== -1) {
  63126. const directiveDef = tView.data[directiveDefIdx];
  63127. ngDevMode && assertDefined(directiveDef, 'DirectiveDef not found.');
  63128. ngDevMode && assertDefined(directiveDef.contentQueries, 'contentQueries function should be defined');
  63129. setCurrentQueryIndex(queryStartIdx);
  63130. directiveDef.contentQueries(2
  63131. /* RenderFlags.Update */
  63132. , lView[directiveDefIdx], directiveDefIdx);
  63133. }
  63134. }
  63135. }
  63136. }
  63137. /** Refreshes child components in the current view (update mode). */
  63138. function refreshChildComponents(hostLView, components) {
  63139. for (let i = 0; i < components.length; i++) {
  63140. refreshComponent(hostLView, components[i]);
  63141. }
  63142. }
  63143. /** Renders child components in the current view (creation mode). */
  63144. function renderChildComponents(hostLView, components) {
  63145. for (let i = 0; i < components.length; i++) {
  63146. renderComponent(hostLView, components[i]);
  63147. }
  63148. }
  63149. function createLView(parentLView, tView, context, flags, host, tHostNode, rendererFactory, renderer, sanitizer, injector, embeddedViewInjector) {
  63150. const lView = ngDevMode ? cloneToLViewFromTViewBlueprint(tView) : tView.blueprint.slice();
  63151. lView[HOST] = host;
  63152. lView[FLAGS] = flags | 4
  63153. /* LViewFlags.CreationMode */
  63154. | 64
  63155. /* LViewFlags.Attached */
  63156. | 8
  63157. /* LViewFlags.FirstLViewPass */
  63158. ;
  63159. if (embeddedViewInjector !== null || parentLView && parentLView[FLAGS] & 1024
  63160. /* LViewFlags.HasEmbeddedViewInjector */
  63161. ) {
  63162. lView[FLAGS] |= 1024
  63163. /* LViewFlags.HasEmbeddedViewInjector */
  63164. ;
  63165. }
  63166. resetPreOrderHookFlags(lView);
  63167. ngDevMode && tView.declTNode && parentLView && assertTNodeForLView(tView.declTNode, parentLView);
  63168. lView[PARENT] = lView[DECLARATION_VIEW] = parentLView;
  63169. lView[CONTEXT] = context;
  63170. lView[RENDERER_FACTORY] = rendererFactory || parentLView && parentLView[RENDERER_FACTORY];
  63171. ngDevMode && assertDefined(lView[RENDERER_FACTORY], 'RendererFactory is required');
  63172. lView[RENDERER] = renderer || parentLView && parentLView[RENDERER];
  63173. ngDevMode && assertDefined(lView[RENDERER], 'Renderer is required');
  63174. lView[SANITIZER] = sanitizer || parentLView && parentLView[SANITIZER] || null;
  63175. lView[INJECTOR$1] = injector || parentLView && parentLView[INJECTOR$1] || null;
  63176. lView[T_HOST] = tHostNode;
  63177. lView[ID] = getUniqueLViewId();
  63178. lView[EMBEDDED_VIEW_INJECTOR] = embeddedViewInjector;
  63179. ngDevMode && assertEqual(tView.type == 2
  63180. /* TViewType.Embedded */
  63181. ? parentLView !== null : true, true, 'Embedded views must have parentLView');
  63182. lView[DECLARATION_COMPONENT_VIEW] = tView.type == 2
  63183. /* TViewType.Embedded */
  63184. ? parentLView[DECLARATION_COMPONENT_VIEW] : lView;
  63185. ngDevMode && attachLViewDebug(lView);
  63186. return lView;
  63187. }
  63188. function getOrCreateTNode(tView, index, type, name, attrs) {
  63189. ngDevMode && index !== 0 && // 0 are bogus nodes and they are OK. See `createContainerRef` in
  63190. // `view_engine_compatibility` for additional context.
  63191. assertGreaterThanOrEqual(index, HEADER_OFFSET, 'TNodes can\'t be in the LView header.'); // Keep this function short, so that the VM will inline it.
  63192. ngDevMode && assertPureTNodeType(type);
  63193. let tNode = tView.data[index];
  63194. if (tNode === null) {
  63195. tNode = createTNodeAtIndex(tView, index, type, name, attrs);
  63196. if (isInI18nBlock()) {
  63197. // If we are in i18n block then all elements should be pre declared through `Placeholder`
  63198. // See `TNodeType.Placeholder` and `LFrame.inI18n` for more context.
  63199. // If the `TNode` was not pre-declared than it means it was not mentioned which means it was
  63200. // removed, so we mark it as detached.
  63201. tNode.flags |= 64
  63202. /* TNodeFlags.isDetached */
  63203. ;
  63204. }
  63205. } else if (tNode.type & 64
  63206. /* TNodeType.Placeholder */
  63207. ) {
  63208. tNode.type = type;
  63209. tNode.value = name;
  63210. tNode.attrs = attrs;
  63211. const parent = getCurrentParentTNode();
  63212. tNode.injectorIndex = parent === null ? -1 : parent.injectorIndex;
  63213. ngDevMode && assertTNodeForTView(tNode, tView);
  63214. ngDevMode && assertEqual(index, tNode.index, 'Expecting same index');
  63215. }
  63216. setCurrentTNode(tNode, true);
  63217. return tNode;
  63218. }
  63219. function createTNodeAtIndex(tView, index, type, name, attrs) {
  63220. const currentTNode = getCurrentTNodePlaceholderOk();
  63221. const isParent = isCurrentTNodeParent();
  63222. const parent = isParent ? currentTNode : currentTNode && currentTNode.parent; // Parents cannot cross component boundaries because components will be used in multiple places.
  63223. const tNode = tView.data[index] = createTNode(tView, parent, type, index, name, attrs); // Assign a pointer to the first child node of a given view. The first node is not always the one
  63224. // at index 0, in case of i18n, index 0 can be the instruction `i18nStart` and the first node has
  63225. // the index 1 or more, so we can't just check node index.
  63226. if (tView.firstChild === null) {
  63227. tView.firstChild = tNode;
  63228. }
  63229. if (currentTNode !== null) {
  63230. if (isParent) {
  63231. // FIXME(misko): This logic looks unnecessarily complicated. Could we simplify?
  63232. if (currentTNode.child == null && tNode.parent !== null) {
  63233. // We are in the same view, which means we are adding content node to the parent view.
  63234. currentTNode.child = tNode;
  63235. }
  63236. } else {
  63237. if (currentTNode.next === null) {
  63238. // In the case of i18n the `currentTNode` may already be linked, in which case we don't want
  63239. // to break the links which i18n created.
  63240. currentTNode.next = tNode;
  63241. }
  63242. }
  63243. }
  63244. return tNode;
  63245. }
  63246. /**
  63247. * When elements are created dynamically after a view blueprint is created (e.g. through
  63248. * i18nApply()), we need to adjust the blueprint for future
  63249. * template passes.
  63250. *
  63251. * @param tView `TView` associated with `LView`
  63252. * @param lView The `LView` containing the blueprint to adjust
  63253. * @param numSlotsToAlloc The number of slots to alloc in the LView, should be >0
  63254. * @param initialValue Initial value to store in blueprint
  63255. */
  63256. function allocExpando(tView, lView, numSlotsToAlloc, initialValue) {
  63257. if (numSlotsToAlloc === 0) return -1;
  63258. if (ngDevMode) {
  63259. assertFirstCreatePass(tView);
  63260. assertSame(tView, lView[TVIEW], '`LView` must be associated with `TView`!');
  63261. assertEqual(tView.data.length, lView.length, 'Expecting LView to be same size as TView');
  63262. assertEqual(tView.data.length, tView.blueprint.length, 'Expecting Blueprint to be same size as TView');
  63263. assertFirstUpdatePass(tView);
  63264. }
  63265. const allocIdx = lView.length;
  63266. for (let i = 0; i < numSlotsToAlloc; i++) {
  63267. lView.push(initialValue);
  63268. tView.blueprint.push(initialValue);
  63269. tView.data.push(null);
  63270. }
  63271. return allocIdx;
  63272. } //////////////////////////
  63273. //// Render
  63274. //////////////////////////
  63275. /**
  63276. * Processes a view in the creation mode. This includes a number of steps in a specific order:
  63277. * - creating view query functions (if any);
  63278. * - executing a template function in the creation mode;
  63279. * - updating static queries (if any);
  63280. * - creating child components defined in a given view.
  63281. */
  63282. function renderView(tView, lView, context) {
  63283. ngDevMode && assertEqual(isCreationMode(lView), true, 'Should be run in creation mode');
  63284. enterView(lView);
  63285. try {
  63286. const viewQuery = tView.viewQuery;
  63287. if (viewQuery !== null) {
  63288. executeViewQueryFn(1
  63289. /* RenderFlags.Create */
  63290. , viewQuery, context);
  63291. } // Execute a template associated with this view, if it exists. A template function might not be
  63292. // defined for the root component views.
  63293. const templateFn = tView.template;
  63294. if (templateFn !== null) {
  63295. executeTemplate(tView, lView, templateFn, 1
  63296. /* RenderFlags.Create */
  63297. , context);
  63298. } // This needs to be set before children are processed to support recursive components.
  63299. // This must be set to false immediately after the first creation run because in an
  63300. // ngFor loop, all the views will be created together before update mode runs and turns
  63301. // off firstCreatePass. If we don't set it here, instances will perform directive
  63302. // matching, etc again and again.
  63303. if (tView.firstCreatePass) {
  63304. tView.firstCreatePass = false;
  63305. } // We resolve content queries specifically marked as `static` in creation mode. Dynamic
  63306. // content queries are resolved during change detection (i.e. update mode), after embedded
  63307. // views are refreshed (see block above).
  63308. if (tView.staticContentQueries) {
  63309. refreshContentQueries(tView, lView);
  63310. } // We must materialize query results before child components are processed
  63311. // in case a child component has projected a container. The LContainer needs
  63312. // to exist so the embedded views are properly attached by the container.
  63313. if (tView.staticViewQueries) {
  63314. executeViewQueryFn(2
  63315. /* RenderFlags.Update */
  63316. , tView.viewQuery, context);
  63317. } // Render child component views.
  63318. const components = tView.components;
  63319. if (components !== null) {
  63320. renderChildComponents(lView, components);
  63321. }
  63322. } catch (error) {
  63323. // If we didn't manage to get past the first template pass due to
  63324. // an error, mark the view as corrupted so we can try to recover.
  63325. if (tView.firstCreatePass) {
  63326. tView.incompleteFirstPass = true;
  63327. tView.firstCreatePass = false;
  63328. }
  63329. throw error;
  63330. } finally {
  63331. lView[FLAGS] &= ~4
  63332. /* LViewFlags.CreationMode */
  63333. ;
  63334. leaveView();
  63335. }
  63336. }
  63337. /**
  63338. * Processes a view in update mode. This includes a number of steps in a specific order:
  63339. * - executing a template function in update mode;
  63340. * - executing hooks;
  63341. * - refreshing queries;
  63342. * - setting host bindings;
  63343. * - refreshing child (embedded and component) views.
  63344. */
  63345. function refreshView(tView, lView, templateFn, context) {
  63346. ngDevMode && assertEqual(isCreationMode(lView), false, 'Should be run in update mode');
  63347. const flags = lView[FLAGS];
  63348. if ((flags & 128
  63349. /* LViewFlags.Destroyed */
  63350. ) === 128
  63351. /* LViewFlags.Destroyed */
  63352. ) return;
  63353. enterView(lView); // Check no changes mode is a dev only mode used to verify that bindings have not changed
  63354. // since they were assigned. We do not want to execute lifecycle hooks in that mode.
  63355. const isInCheckNoChangesPass = ngDevMode && isInCheckNoChangesMode();
  63356. try {
  63357. resetPreOrderHookFlags(lView);
  63358. setBindingIndex(tView.bindingStartIndex);
  63359. if (templateFn !== null) {
  63360. executeTemplate(tView, lView, templateFn, 2
  63361. /* RenderFlags.Update */
  63362. , context);
  63363. }
  63364. const hooksInitPhaseCompleted = (flags & 3
  63365. /* LViewFlags.InitPhaseStateMask */
  63366. ) === 3
  63367. /* InitPhaseState.InitPhaseCompleted */
  63368. ; // execute pre-order hooks (OnInit, OnChanges, DoCheck)
  63369. // PERF WARNING: do NOT extract this to a separate function without running benchmarks
  63370. if (!isInCheckNoChangesPass) {
  63371. if (hooksInitPhaseCompleted) {
  63372. const preOrderCheckHooks = tView.preOrderCheckHooks;
  63373. if (preOrderCheckHooks !== null) {
  63374. executeCheckHooks(lView, preOrderCheckHooks, null);
  63375. }
  63376. } else {
  63377. const preOrderHooks = tView.preOrderHooks;
  63378. if (preOrderHooks !== null) {
  63379. executeInitAndCheckHooks(lView, preOrderHooks, 0
  63380. /* InitPhaseState.OnInitHooksToBeRun */
  63381. , null);
  63382. }
  63383. incrementInitPhaseFlags(lView, 0
  63384. /* InitPhaseState.OnInitHooksToBeRun */
  63385. );
  63386. }
  63387. } // First mark transplanted views that are declared in this lView as needing a refresh at their
  63388. // insertion points. This is needed to avoid the situation where the template is defined in this
  63389. // `LView` but its declaration appears after the insertion component.
  63390. markTransplantedViewsForRefresh(lView);
  63391. refreshEmbeddedViews(lView); // Content query results must be refreshed before content hooks are called.
  63392. if (tView.contentQueries !== null) {
  63393. refreshContentQueries(tView, lView);
  63394. } // execute content hooks (AfterContentInit, AfterContentChecked)
  63395. // PERF WARNING: do NOT extract this to a separate function without running benchmarks
  63396. if (!isInCheckNoChangesPass) {
  63397. if (hooksInitPhaseCompleted) {
  63398. const contentCheckHooks = tView.contentCheckHooks;
  63399. if (contentCheckHooks !== null) {
  63400. executeCheckHooks(lView, contentCheckHooks);
  63401. }
  63402. } else {
  63403. const contentHooks = tView.contentHooks;
  63404. if (contentHooks !== null) {
  63405. executeInitAndCheckHooks(lView, contentHooks, 1
  63406. /* InitPhaseState.AfterContentInitHooksToBeRun */
  63407. );
  63408. }
  63409. incrementInitPhaseFlags(lView, 1
  63410. /* InitPhaseState.AfterContentInitHooksToBeRun */
  63411. );
  63412. }
  63413. }
  63414. processHostBindingOpCodes(tView, lView); // Refresh child component views.
  63415. const components = tView.components;
  63416. if (components !== null) {
  63417. refreshChildComponents(lView, components);
  63418. } // View queries must execute after refreshing child components because a template in this view
  63419. // could be inserted in a child component. If the view query executes before child component
  63420. // refresh, the template might not yet be inserted.
  63421. const viewQuery = tView.viewQuery;
  63422. if (viewQuery !== null) {
  63423. executeViewQueryFn(2
  63424. /* RenderFlags.Update */
  63425. , viewQuery, context);
  63426. } // execute view hooks (AfterViewInit, AfterViewChecked)
  63427. // PERF WARNING: do NOT extract this to a separate function without running benchmarks
  63428. if (!isInCheckNoChangesPass) {
  63429. if (hooksInitPhaseCompleted) {
  63430. const viewCheckHooks = tView.viewCheckHooks;
  63431. if (viewCheckHooks !== null) {
  63432. executeCheckHooks(lView, viewCheckHooks);
  63433. }
  63434. } else {
  63435. const viewHooks = tView.viewHooks;
  63436. if (viewHooks !== null) {
  63437. executeInitAndCheckHooks(lView, viewHooks, 2
  63438. /* InitPhaseState.AfterViewInitHooksToBeRun */
  63439. );
  63440. }
  63441. incrementInitPhaseFlags(lView, 2
  63442. /* InitPhaseState.AfterViewInitHooksToBeRun */
  63443. );
  63444. }
  63445. }
  63446. if (tView.firstUpdatePass === true) {
  63447. // We need to make sure that we only flip the flag on successful `refreshView` only
  63448. // Don't do this in `finally` block.
  63449. // If we did this in `finally` block then an exception could block the execution of styling
  63450. // instructions which in turn would be unable to insert themselves into the styling linked
  63451. // list. The result of this would be that if the exception would not be throw on subsequent CD
  63452. // the styling would be unable to process it data and reflect to the DOM.
  63453. tView.firstUpdatePass = false;
  63454. } // Do not reset the dirty state when running in check no changes mode. We don't want components
  63455. // to behave differently depending on whether check no changes is enabled or not. For example:
  63456. // Marking an OnPush component as dirty from within the `ngAfterViewInit` hook in order to
  63457. // refresh a `NgClass` binding should work. If we would reset the dirty state in the check
  63458. // no changes cycle, the component would be not be dirty for the next update pass. This would
  63459. // be different in production mode where the component dirty state is not reset.
  63460. if (!isInCheckNoChangesPass) {
  63461. lView[FLAGS] &= ~(32
  63462. /* LViewFlags.Dirty */
  63463. | 8
  63464. /* LViewFlags.FirstLViewPass */
  63465. );
  63466. }
  63467. if (lView[FLAGS] & 512
  63468. /* LViewFlags.RefreshTransplantedView */
  63469. ) {
  63470. lView[FLAGS] &= ~512
  63471. /* LViewFlags.RefreshTransplantedView */
  63472. ;
  63473. updateTransplantedViewCount(lView[PARENT], -1);
  63474. }
  63475. } finally {
  63476. leaveView();
  63477. }
  63478. }
  63479. function executeTemplate(tView, lView, templateFn, rf, context) {
  63480. const prevSelectedIndex = getSelectedIndex();
  63481. const isUpdatePhase = rf & 2
  63482. /* RenderFlags.Update */
  63483. ;
  63484. try {
  63485. setSelectedIndex(-1);
  63486. if (isUpdatePhase && lView.length > HEADER_OFFSET) {
  63487. // When we're updating, inherently select 0 so we don't
  63488. // have to generate that instruction for most update blocks.
  63489. selectIndexInternal(tView, lView, HEADER_OFFSET, !!ngDevMode && isInCheckNoChangesMode());
  63490. }
  63491. const preHookType = isUpdatePhase ? 2
  63492. /* ProfilerEvent.TemplateUpdateStart */
  63493. : 0
  63494. /* ProfilerEvent.TemplateCreateStart */
  63495. ;
  63496. profiler(preHookType, context);
  63497. templateFn(rf, context);
  63498. } finally {
  63499. setSelectedIndex(prevSelectedIndex);
  63500. const postHookType = isUpdatePhase ? 3
  63501. /* ProfilerEvent.TemplateUpdateEnd */
  63502. : 1
  63503. /* ProfilerEvent.TemplateCreateEnd */
  63504. ;
  63505. profiler(postHookType, context);
  63506. }
  63507. } //////////////////////////
  63508. //// Element
  63509. //////////////////////////
  63510. function executeContentQueries(tView, tNode, lView) {
  63511. if (isContentQueryHost(tNode)) {
  63512. const start = tNode.directiveStart;
  63513. const end = tNode.directiveEnd;
  63514. for (let directiveIndex = start; directiveIndex < end; directiveIndex++) {
  63515. const def = tView.data[directiveIndex];
  63516. if (def.contentQueries) {
  63517. def.contentQueries(1
  63518. /* RenderFlags.Create */
  63519. , lView[directiveIndex], directiveIndex);
  63520. }
  63521. }
  63522. }
  63523. }
  63524. /**
  63525. * Creates directive instances.
  63526. */
  63527. function createDirectivesInstances(tView, lView, tNode) {
  63528. if (!getBindingsEnabled()) return;
  63529. instantiateAllDirectives(tView, lView, tNode, getNativeByTNode(tNode, lView));
  63530. if ((tNode.flags & 128
  63531. /* TNodeFlags.hasHostBindings */
  63532. ) === 128
  63533. /* TNodeFlags.hasHostBindings */
  63534. ) {
  63535. invokeDirectivesHostBindings(tView, lView, tNode);
  63536. }
  63537. }
  63538. /**
  63539. * Takes a list of local names and indices and pushes the resolved local variable values
  63540. * to LView in the same order as they are loaded in the template with load().
  63541. */
  63542. function saveResolvedLocalsInData(viewData, tNode, localRefExtractor = getNativeByTNode) {
  63543. const localNames = tNode.localNames;
  63544. if (localNames !== null) {
  63545. let localIndex = tNode.index + 1;
  63546. for (let i = 0; i < localNames.length; i += 2) {
  63547. const index = localNames[i + 1];
  63548. const value = index === -1 ? localRefExtractor(tNode, viewData) : viewData[index];
  63549. viewData[localIndex++] = value;
  63550. }
  63551. }
  63552. }
  63553. /**
  63554. * Gets TView from a template function or creates a new TView
  63555. * if it doesn't already exist.
  63556. *
  63557. * @param def ComponentDef
  63558. * @returns TView
  63559. */
  63560. function getOrCreateComponentTView(def) {
  63561. const tView = def.tView; // Create a TView if there isn't one, or recreate it if the first create pass didn't
  63562. // complete successfully since we can't know for sure whether it's in a usable shape.
  63563. if (tView === null || tView.incompleteFirstPass) {
  63564. // Declaration node here is null since this function is called when we dynamically create a
  63565. // component and hence there is no declaration.
  63566. const declTNode = null;
  63567. return def.tView = createTView(1
  63568. /* TViewType.Component */
  63569. , declTNode, def.template, def.decls, def.vars, def.directiveDefs, def.pipeDefs, def.viewQuery, def.schemas, def.consts);
  63570. }
  63571. return tView;
  63572. }
  63573. /**
  63574. * Creates a TView instance
  63575. *
  63576. * @param type Type of `TView`.
  63577. * @param declTNode Declaration location of this `TView`.
  63578. * @param templateFn Template function
  63579. * @param decls The number of nodes, local refs, and pipes in this template
  63580. * @param directives Registry of directives for this view
  63581. * @param pipes Registry of pipes for this view
  63582. * @param viewQuery View queries for this view
  63583. * @param schemas Schemas for this view
  63584. * @param consts Constants for this view
  63585. */
  63586. function createTView(type, declTNode, templateFn, decls, vars, directives, pipes, viewQuery, schemas, constsOrFactory) {
  63587. ngDevMode && ngDevMode.tView++;
  63588. const bindingStartIndex = HEADER_OFFSET + decls; // This length does not yet contain host bindings from child directives because at this point,
  63589. // we don't know which directives are active on this template. As soon as a directive is matched
  63590. // that has a host binding, we will update the blueprint with that def's hostVars count.
  63591. const initialViewLength = bindingStartIndex + vars;
  63592. const blueprint = createViewBlueprint(bindingStartIndex, initialViewLength);
  63593. const consts = typeof constsOrFactory === 'function' ? constsOrFactory() : constsOrFactory;
  63594. const tView = blueprint[TVIEW] = ngDevMode ? new TViewConstructor(type, // type: TViewType,
  63595. blueprint, // blueprint: LView,
  63596. templateFn, // template: ComponentTemplate<{}>|null,
  63597. null, // queries: TQueries|null
  63598. viewQuery, // viewQuery: ViewQueriesFunction<{}>|null,
  63599. declTNode, // declTNode: TNode|null,
  63600. cloneToTViewData(blueprint).fill(null, bindingStartIndex), // data: TData,
  63601. bindingStartIndex, // bindingStartIndex: number,
  63602. initialViewLength, // expandoStartIndex: number,
  63603. null, // hostBindingOpCodes: HostBindingOpCodes,
  63604. true, // firstCreatePass: boolean,
  63605. true, // firstUpdatePass: boolean,
  63606. false, // staticViewQueries: boolean,
  63607. false, // staticContentQueries: boolean,
  63608. null, // preOrderHooks: HookData|null,
  63609. null, // preOrderCheckHooks: HookData|null,
  63610. null, // contentHooks: HookData|null,
  63611. null, // contentCheckHooks: HookData|null,
  63612. null, // viewHooks: HookData|null,
  63613. null, // viewCheckHooks: HookData|null,
  63614. null, // destroyHooks: DestroyHookData|null,
  63615. null, // cleanup: any[]|null,
  63616. null, // contentQueries: number[]|null,
  63617. null, // components: number[]|null,
  63618. typeof directives === 'function' ? //
  63619. directives() : //
  63620. directives, // directiveRegistry: DirectiveDefList|null,
  63621. typeof pipes === 'function' ? pipes() : pipes, // pipeRegistry: PipeDefList|null,
  63622. null, // firstChild: TNode|null,
  63623. schemas, // schemas: SchemaMetadata[]|null,
  63624. consts, // consts: TConstants|null
  63625. false, // incompleteFirstPass: boolean
  63626. decls, // ngDevMode only: decls
  63627. vars) : {
  63628. type: type,
  63629. blueprint: blueprint,
  63630. template: templateFn,
  63631. queries: null,
  63632. viewQuery: viewQuery,
  63633. declTNode: declTNode,
  63634. data: blueprint.slice().fill(null, bindingStartIndex),
  63635. bindingStartIndex: bindingStartIndex,
  63636. expandoStartIndex: initialViewLength,
  63637. hostBindingOpCodes: null,
  63638. firstCreatePass: true,
  63639. firstUpdatePass: true,
  63640. staticViewQueries: false,
  63641. staticContentQueries: false,
  63642. preOrderHooks: null,
  63643. preOrderCheckHooks: null,
  63644. contentHooks: null,
  63645. contentCheckHooks: null,
  63646. viewHooks: null,
  63647. viewCheckHooks: null,
  63648. destroyHooks: null,
  63649. cleanup: null,
  63650. contentQueries: null,
  63651. components: null,
  63652. directiveRegistry: typeof directives === 'function' ? directives() : directives,
  63653. pipeRegistry: typeof pipes === 'function' ? pipes() : pipes,
  63654. firstChild: null,
  63655. schemas: schemas,
  63656. consts: consts,
  63657. incompleteFirstPass: false
  63658. };
  63659. if (ngDevMode) {
  63660. // For performance reasons it is important that the tView retains the same shape during runtime.
  63661. // (To make sure that all of the code is monomorphic.) For this reason we seal the object to
  63662. // prevent class transitions.
  63663. Object.seal(tView);
  63664. }
  63665. return tView;
  63666. }
  63667. function createViewBlueprint(bindingStartIndex, initialViewLength) {
  63668. const blueprint = ngDevMode ? new LViewBlueprint() : [];
  63669. for (let i = 0; i < initialViewLength; i++) {
  63670. blueprint.push(i < bindingStartIndex ? null : NO_CHANGE);
  63671. }
  63672. return blueprint;
  63673. }
  63674. function createError(text, token) {
  63675. return new Error(`Renderer: ${text} [${stringifyForError(token)}]`);
  63676. }
  63677. /**
  63678. * Locates the host native element, used for bootstrapping existing nodes into rendering pipeline.
  63679. *
  63680. * @param rendererFactory Factory function to create renderer instance.
  63681. * @param elementOrSelector Render element or CSS selector to locate the element.
  63682. * @param encapsulation View Encapsulation defined for component that requests host element.
  63683. */
  63684. function locateHostElement(renderer, elementOrSelector, encapsulation) {
  63685. // When using native Shadow DOM, do not clear host element to allow native slot projection
  63686. const preserveContent = encapsulation === ViewEncapsulation$1.ShadowDom;
  63687. return renderer.selectRootElement(elementOrSelector, preserveContent);
  63688. }
  63689. /**
  63690. * Saves context for this cleanup function in LView.cleanupInstances.
  63691. *
  63692. * On the first template pass, saves in TView:
  63693. * - Cleanup function
  63694. * - Index of context we just saved in LView.cleanupInstances
  63695. *
  63696. * This function can also be used to store instance specific cleanup fns. In that case the `context`
  63697. * is `null` and the function is store in `LView` (rather than it `TView`).
  63698. */
  63699. function storeCleanupWithContext(tView, lView, context, cleanupFn) {
  63700. const lCleanup = getOrCreateLViewCleanup(lView);
  63701. if (context === null) {
  63702. // If context is null that this is instance specific callback. These callbacks can only be
  63703. // inserted after template shared instances. For this reason in ngDevMode we freeze the TView.
  63704. if (ngDevMode) {
  63705. Object.freeze(getOrCreateTViewCleanup(tView));
  63706. }
  63707. lCleanup.push(cleanupFn);
  63708. } else {
  63709. lCleanup.push(context);
  63710. if (tView.firstCreatePass) {
  63711. getOrCreateTViewCleanup(tView).push(cleanupFn, lCleanup.length - 1);
  63712. }
  63713. }
  63714. }
  63715. function createTNode(tView, tParent, type, index, value, attrs) {
  63716. ngDevMode && index !== 0 && // 0 are bogus nodes and they are OK. See `createContainerRef` in
  63717. // `view_engine_compatibility` for additional context.
  63718. assertGreaterThanOrEqual(index, HEADER_OFFSET, 'TNodes can\'t be in the LView header.');
  63719. ngDevMode && assertNotSame(attrs, undefined, '\'undefined\' is not valid value for \'attrs\'');
  63720. ngDevMode && ngDevMode.tNode++;
  63721. ngDevMode && tParent && assertTNodeForTView(tParent, tView);
  63722. let injectorIndex = tParent ? tParent.injectorIndex : -1;
  63723. const tNode = ngDevMode ? new TNodeDebug(tView, // tView_: TView
  63724. type, // type: TNodeType
  63725. index, // index: number
  63726. null, // insertBeforeIndex: null|-1|number|number[]
  63727. injectorIndex, // injectorIndex: number
  63728. -1, // directiveStart: number
  63729. -1, // directiveEnd: number
  63730. -1, // directiveStylingLast: number
  63731. null, // propertyBindings: number[]|null
  63732. 0, // flags: TNodeFlags
  63733. 0, // providerIndexes: TNodeProviderIndexes
  63734. value, // value: string|null
  63735. attrs, // attrs: (string|AttributeMarker|(string|SelectorFlags)[])[]|null
  63736. null, // mergedAttrs
  63737. null, // localNames: (string|number)[]|null
  63738. undefined, // initialInputs: (string[]|null)[]|null|undefined
  63739. null, // inputs: PropertyAliases|null
  63740. null, // outputs: PropertyAliases|null
  63741. null, // tViews: ITView|ITView[]|null
  63742. null, // next: ITNode|null
  63743. null, // projectionNext: ITNode|null
  63744. null, // child: ITNode|null
  63745. tParent, // parent: TElementNode|TContainerNode|null
  63746. null, // projection: number|(ITNode|RNode[])[]|null
  63747. null, // styles: string|null
  63748. null, // stylesWithoutHost: string|null
  63749. undefined, // residualStyles: string|null
  63750. null, // classes: string|null
  63751. null, // classesWithoutHost: string|null
  63752. undefined, // residualClasses: string|null
  63753. 0, // classBindings: TStylingRange;
  63754. 0) : {
  63755. type,
  63756. index,
  63757. insertBeforeIndex: null,
  63758. injectorIndex,
  63759. directiveStart: -1,
  63760. directiveEnd: -1,
  63761. directiveStylingLast: -1,
  63762. propertyBindings: null,
  63763. flags: 0,
  63764. providerIndexes: 0,
  63765. value: value,
  63766. attrs: attrs,
  63767. mergedAttrs: null,
  63768. localNames: null,
  63769. initialInputs: undefined,
  63770. inputs: null,
  63771. outputs: null,
  63772. tViews: null,
  63773. next: null,
  63774. projectionNext: null,
  63775. child: null,
  63776. parent: tParent,
  63777. projection: null,
  63778. styles: null,
  63779. stylesWithoutHost: null,
  63780. residualStyles: undefined,
  63781. classes: null,
  63782. classesWithoutHost: null,
  63783. residualClasses: undefined,
  63784. classBindings: 0,
  63785. styleBindings: 0
  63786. };
  63787. if (ngDevMode) {
  63788. // For performance reasons it is important that the tNode retains the same shape during runtime.
  63789. // (To make sure that all of the code is monomorphic.) For this reason we seal the object to
  63790. // prevent class transitions.
  63791. Object.seal(tNode);
  63792. }
  63793. return tNode;
  63794. }
  63795. function generatePropertyAliases(inputAliasMap, directiveDefIdx, propStore) {
  63796. for (let publicName in inputAliasMap) {
  63797. if (inputAliasMap.hasOwnProperty(publicName)) {
  63798. propStore = propStore === null ? {} : propStore;
  63799. const internalName = inputAliasMap[publicName];
  63800. if (propStore.hasOwnProperty(publicName)) {
  63801. propStore[publicName].push(directiveDefIdx, internalName);
  63802. } else {
  63803. propStore[publicName] = [directiveDefIdx, internalName];
  63804. }
  63805. }
  63806. }
  63807. return propStore;
  63808. }
  63809. /**
  63810. * Initializes data structures required to work with directive inputs and outputs.
  63811. * Initialization is done for all directives matched on a given TNode.
  63812. */
  63813. function initializeInputAndOutputAliases(tView, tNode) {
  63814. ngDevMode && assertFirstCreatePass(tView);
  63815. const start = tNode.directiveStart;
  63816. const end = tNode.directiveEnd;
  63817. const tViewData = tView.data;
  63818. const tNodeAttrs = tNode.attrs;
  63819. const inputsFromAttrs = ngDevMode ? new TNodeInitialInputs() : [];
  63820. let inputsStore = null;
  63821. let outputsStore = null;
  63822. for (let i = start; i < end; i++) {
  63823. const directiveDef = tViewData[i];
  63824. const directiveInputs = directiveDef.inputs; // Do not use unbound attributes as inputs to structural directives, since structural
  63825. // directive inputs can only be set using microsyntax (e.g. `<div *dir="exp">`).
  63826. // TODO(FW-1930): microsyntax expressions may also contain unbound/static attributes, which
  63827. // should be set for inline templates.
  63828. const initialInputs = tNodeAttrs !== null && !isInlineTemplate(tNode) ? generateInitialInputs(directiveInputs, tNodeAttrs) : null;
  63829. inputsFromAttrs.push(initialInputs);
  63830. inputsStore = generatePropertyAliases(directiveInputs, i, inputsStore);
  63831. outputsStore = generatePropertyAliases(directiveDef.outputs, i, outputsStore);
  63832. }
  63833. if (inputsStore !== null) {
  63834. if (inputsStore.hasOwnProperty('class')) {
  63835. tNode.flags |= 16
  63836. /* TNodeFlags.hasClassInput */
  63837. ;
  63838. }
  63839. if (inputsStore.hasOwnProperty('style')) {
  63840. tNode.flags |= 32
  63841. /* TNodeFlags.hasStyleInput */
  63842. ;
  63843. }
  63844. }
  63845. tNode.initialInputs = inputsFromAttrs;
  63846. tNode.inputs = inputsStore;
  63847. tNode.outputs = outputsStore;
  63848. }
  63849. /**
  63850. * Mapping between attributes names that don't correspond to their element property names.
  63851. *
  63852. * Performance note: this function is written as a series of if checks (instead of, say, a property
  63853. * object lookup) for performance reasons - the series of `if` checks seems to be the fastest way of
  63854. * mapping property names. Do NOT change without benchmarking.
  63855. *
  63856. * Note: this mapping has to be kept in sync with the equally named mapping in the template
  63857. * type-checking machinery of ngtsc.
  63858. */
  63859. function mapPropName(name) {
  63860. if (name === 'class') return 'className';
  63861. if (name === 'for') return 'htmlFor';
  63862. if (name === 'formaction') return 'formAction';
  63863. if (name === 'innerHtml') return 'innerHTML';
  63864. if (name === 'readonly') return 'readOnly';
  63865. if (name === 'tabindex') return 'tabIndex';
  63866. return name;
  63867. }
  63868. function elementPropertyInternal(tView, tNode, lView, propName, value, renderer, sanitizer, nativeOnly) {
  63869. ngDevMode && assertNotSame(value, NO_CHANGE, 'Incoming value should never be NO_CHANGE.');
  63870. const element = getNativeByTNode(tNode, lView);
  63871. let inputData = tNode.inputs;
  63872. let dataValue;
  63873. if (!nativeOnly && inputData != null && (dataValue = inputData[propName])) {
  63874. setInputsForProperty(tView, lView, dataValue, propName, value);
  63875. if (isComponentHost(tNode)) markDirtyIfOnPush(lView, tNode.index);
  63876. if (ngDevMode) {
  63877. setNgReflectProperties(lView, element, tNode.type, dataValue, value);
  63878. }
  63879. } else if (tNode.type & 3
  63880. /* TNodeType.AnyRNode */
  63881. ) {
  63882. propName = mapPropName(propName);
  63883. if (ngDevMode) {
  63884. validateAgainstEventProperties(propName);
  63885. if (!isPropertyValid(element, propName, tNode.value, tView.schemas)) {
  63886. handleUnknownPropertyError(propName, tNode.value, tNode.type, lView);
  63887. }
  63888. ngDevMode.rendererSetProperty++;
  63889. } // It is assumed that the sanitizer is only added when the compiler determines that the
  63890. // property is risky, so sanitization can be done without further checks.
  63891. value = sanitizer != null ? sanitizer(value, tNode.value || '', propName) : value;
  63892. renderer.setProperty(element, propName, value);
  63893. } else if (tNode.type & 12
  63894. /* TNodeType.AnyContainer */
  63895. ) {
  63896. // If the node is a container and the property didn't
  63897. // match any of the inputs or schemas we should throw.
  63898. if (ngDevMode && !matchingSchemas(tView.schemas, tNode.value)) {
  63899. handleUnknownPropertyError(propName, tNode.value, tNode.type, lView);
  63900. }
  63901. }
  63902. }
  63903. /** If node is an OnPush component, marks its LView dirty. */
  63904. function markDirtyIfOnPush(lView, viewIndex) {
  63905. ngDevMode && assertLView(lView);
  63906. const childComponentLView = getComponentLViewByIndex(viewIndex, lView);
  63907. if (!(childComponentLView[FLAGS] & 16
  63908. /* LViewFlags.CheckAlways */
  63909. )) {
  63910. childComponentLView[FLAGS] |= 32
  63911. /* LViewFlags.Dirty */
  63912. ;
  63913. }
  63914. }
  63915. function setNgReflectProperty(lView, element, type, attrName, value) {
  63916. const renderer = lView[RENDERER];
  63917. attrName = normalizeDebugBindingName(attrName);
  63918. const debugValue = normalizeDebugBindingValue(value);
  63919. if (type & 3
  63920. /* TNodeType.AnyRNode */
  63921. ) {
  63922. if (value == null) {
  63923. renderer.removeAttribute(element, attrName);
  63924. } else {
  63925. renderer.setAttribute(element, attrName, debugValue);
  63926. }
  63927. } else {
  63928. const textContent = escapeCommentText(`bindings=${JSON.stringify({
  63929. [attrName]: debugValue
  63930. }, null, 2)}`);
  63931. renderer.setValue(element, textContent);
  63932. }
  63933. }
  63934. function setNgReflectProperties(lView, element, type, dataValue, value) {
  63935. if (type & (3
  63936. /* TNodeType.AnyRNode */
  63937. | 4
  63938. /* TNodeType.Container */
  63939. )) {
  63940. /**
  63941. * dataValue is an array containing runtime input or output names for the directives:
  63942. * i+0: directive instance index
  63943. * i+1: privateName
  63944. *
  63945. * e.g. [0, 'change', 'change-minified']
  63946. * we want to set the reflected property with the privateName: dataValue[i+1]
  63947. */
  63948. for (let i = 0; i < dataValue.length; i += 2) {
  63949. setNgReflectProperty(lView, element, type, dataValue[i + 1], value);
  63950. }
  63951. }
  63952. }
  63953. /**
  63954. * Instantiate a root component.
  63955. */
  63956. function instantiateRootComponent(tView, lView, def) {
  63957. const rootTNode = getCurrentTNode();
  63958. if (tView.firstCreatePass) {
  63959. if (def.providersResolver) def.providersResolver(def);
  63960. const directiveIndex = allocExpando(tView, lView, 1, null);
  63961. ngDevMode && assertEqual(directiveIndex, rootTNode.directiveStart, 'Because this is a root component the allocated expando should match the TNode component.');
  63962. configureViewWithDirective(tView, rootTNode, lView, directiveIndex, def);
  63963. initializeInputAndOutputAliases(tView, rootTNode);
  63964. }
  63965. const directive = getNodeInjectable(lView, tView, rootTNode.directiveStart, rootTNode);
  63966. attachPatchData(directive, lView);
  63967. const native = getNativeByTNode(rootTNode, lView);
  63968. if (native) {
  63969. attachPatchData(native, lView);
  63970. }
  63971. return directive;
  63972. }
  63973. /**
  63974. * Resolve the matched directives on a node.
  63975. */
  63976. function resolveDirectives(tView, lView, tNode, localRefs) {
  63977. // Please make sure to have explicit type for `exportsMap`. Inferred type triggers bug in
  63978. // tsickle.
  63979. ngDevMode && assertFirstCreatePass(tView);
  63980. let hasDirectives = false;
  63981. if (getBindingsEnabled()) {
  63982. const directiveDefs = findDirectiveDefMatches(tView, lView, tNode);
  63983. const exportsMap = localRefs === null ? null : {
  63984. '': -1
  63985. };
  63986. if (directiveDefs !== null) {
  63987. hasDirectives = true;
  63988. initTNodeFlags(tNode, tView.data.length, directiveDefs.length); // When the same token is provided by several directives on the same node, some rules apply in
  63989. // the viewEngine:
  63990. // - viewProviders have priority over providers
  63991. // - the last directive in NgModule.declarations has priority over the previous one
  63992. // So to match these rules, the order in which providers are added in the arrays is very
  63993. // important.
  63994. for (let i = 0; i < directiveDefs.length; i++) {
  63995. const def = directiveDefs[i];
  63996. if (def.providersResolver) def.providersResolver(def);
  63997. }
  63998. let preOrderHooksFound = false;
  63999. let preOrderCheckHooksFound = false;
  64000. let directiveIdx = allocExpando(tView, lView, directiveDefs.length, null);
  64001. ngDevMode && assertSame(directiveIdx, tNode.directiveStart, 'TNode.directiveStart should point to just allocated space');
  64002. for (let i = 0; i < directiveDefs.length; i++) {
  64003. const def = directiveDefs[i]; // Merge the attrs in the order of matches. This assumes that the first directive is the
  64004. // component itself, so that the component has the least priority.
  64005. tNode.mergedAttrs = mergeHostAttrs(tNode.mergedAttrs, def.hostAttrs);
  64006. configureViewWithDirective(tView, tNode, lView, directiveIdx, def);
  64007. saveNameToExportMap(directiveIdx, def, exportsMap);
  64008. if (def.contentQueries !== null) tNode.flags |= 8
  64009. /* TNodeFlags.hasContentQuery */
  64010. ;
  64011. if (def.hostBindings !== null || def.hostAttrs !== null || def.hostVars !== 0) tNode.flags |= 128
  64012. /* TNodeFlags.hasHostBindings */
  64013. ;
  64014. const lifeCycleHooks = def.type.prototype; // Only push a node index into the preOrderHooks array if this is the first
  64015. // pre-order hook found on this node.
  64016. if (!preOrderHooksFound && (lifeCycleHooks.ngOnChanges || lifeCycleHooks.ngOnInit || lifeCycleHooks.ngDoCheck)) {
  64017. // We will push the actual hook function into this array later during dir instantiation.
  64018. // We cannot do it now because we must ensure hooks are registered in the same
  64019. // order that directives are created (i.e. injection order).
  64020. (tView.preOrderHooks || (tView.preOrderHooks = [])).push(tNode.index);
  64021. preOrderHooksFound = true;
  64022. }
  64023. if (!preOrderCheckHooksFound && (lifeCycleHooks.ngOnChanges || lifeCycleHooks.ngDoCheck)) {
  64024. (tView.preOrderCheckHooks || (tView.preOrderCheckHooks = [])).push(tNode.index);
  64025. preOrderCheckHooksFound = true;
  64026. }
  64027. directiveIdx++;
  64028. }
  64029. initializeInputAndOutputAliases(tView, tNode);
  64030. }
  64031. if (exportsMap) cacheMatchingLocalNames(tNode, localRefs, exportsMap);
  64032. } // Merge the template attrs last so that they have the highest priority.
  64033. tNode.mergedAttrs = mergeHostAttrs(tNode.mergedAttrs, tNode.attrs);
  64034. return hasDirectives;
  64035. }
  64036. /**
  64037. * Add `hostBindings` to the `TView.hostBindingOpCodes`.
  64038. *
  64039. * @param tView `TView` to which the `hostBindings` should be added.
  64040. * @param tNode `TNode` the element which contains the directive
  64041. * @param lView `LView` current `LView`
  64042. * @param directiveIdx Directive index in view.
  64043. * @param directiveVarsIdx Where will the directive's vars be stored
  64044. * @param def `ComponentDef`/`DirectiveDef`, which contains the `hostVars`/`hostBindings` to add.
  64045. */
  64046. function registerHostBindingOpCodes(tView, tNode, lView, directiveIdx, directiveVarsIdx, def) {
  64047. ngDevMode && assertFirstCreatePass(tView);
  64048. const hostBindings = def.hostBindings;
  64049. if (hostBindings) {
  64050. let hostBindingOpCodes = tView.hostBindingOpCodes;
  64051. if (hostBindingOpCodes === null) {
  64052. hostBindingOpCodes = tView.hostBindingOpCodes = [];
  64053. }
  64054. const elementIndx = ~tNode.index;
  64055. if (lastSelectedElementIdx(hostBindingOpCodes) != elementIndx) {
  64056. // Conditionally add select element so that we are more efficient in execution.
  64057. // NOTE: this is strictly not necessary and it trades code size for runtime perf.
  64058. // (We could just always add it.)
  64059. hostBindingOpCodes.push(elementIndx);
  64060. }
  64061. hostBindingOpCodes.push(directiveIdx, directiveVarsIdx, hostBindings);
  64062. }
  64063. }
  64064. /**
  64065. * Returns the last selected element index in the `HostBindingOpCodes`
  64066. *
  64067. * For perf reasons we don't need to update the selected element index in `HostBindingOpCodes` only
  64068. * if it changes. This method returns the last index (or '0' if not found.)
  64069. *
  64070. * Selected element index are only the ones which are negative.
  64071. */
  64072. function lastSelectedElementIdx(hostBindingOpCodes) {
  64073. let i = hostBindingOpCodes.length;
  64074. while (i > 0) {
  64075. const value = hostBindingOpCodes[--i];
  64076. if (typeof value === 'number' && value < 0) {
  64077. return value;
  64078. }
  64079. }
  64080. return 0;
  64081. }
  64082. /**
  64083. * Instantiate all the directives that were previously resolved on the current node.
  64084. */
  64085. function instantiateAllDirectives(tView, lView, tNode, native) {
  64086. const start = tNode.directiveStart;
  64087. const end = tNode.directiveEnd;
  64088. if (!tView.firstCreatePass) {
  64089. getOrCreateNodeInjectorForNode(tNode, lView);
  64090. }
  64091. attachPatchData(native, lView);
  64092. const initialInputs = tNode.initialInputs;
  64093. for (let i = start; i < end; i++) {
  64094. const def = tView.data[i];
  64095. const isComponent = isComponentDef(def);
  64096. if (isComponent) {
  64097. ngDevMode && assertTNodeType(tNode, 3
  64098. /* TNodeType.AnyRNode */
  64099. );
  64100. addComponentLogic(lView, tNode, def);
  64101. }
  64102. const directive = getNodeInjectable(lView, tView, i, tNode);
  64103. attachPatchData(directive, lView);
  64104. if (initialInputs !== null) {
  64105. setInputsFromAttrs(lView, i - start, directive, def, tNode, initialInputs);
  64106. }
  64107. if (isComponent) {
  64108. const componentView = getComponentLViewByIndex(tNode.index, lView);
  64109. componentView[CONTEXT] = directive;
  64110. }
  64111. }
  64112. }
  64113. function invokeDirectivesHostBindings(tView, lView, tNode) {
  64114. const start = tNode.directiveStart;
  64115. const end = tNode.directiveEnd;
  64116. const elementIndex = tNode.index;
  64117. const currentDirectiveIndex = getCurrentDirectiveIndex();
  64118. try {
  64119. setSelectedIndex(elementIndex);
  64120. for (let dirIndex = start; dirIndex < end; dirIndex++) {
  64121. const def = tView.data[dirIndex];
  64122. const directive = lView[dirIndex];
  64123. setCurrentDirectiveIndex(dirIndex);
  64124. if (def.hostBindings !== null || def.hostVars !== 0 || def.hostAttrs !== null) {
  64125. invokeHostBindingsInCreationMode(def, directive);
  64126. }
  64127. }
  64128. } finally {
  64129. setSelectedIndex(-1);
  64130. setCurrentDirectiveIndex(currentDirectiveIndex);
  64131. }
  64132. }
  64133. /**
  64134. * Invoke the host bindings in creation mode.
  64135. *
  64136. * @param def `DirectiveDef` which may contain the `hostBindings` function.
  64137. * @param directive Instance of directive.
  64138. */
  64139. function invokeHostBindingsInCreationMode(def, directive) {
  64140. if (def.hostBindings !== null) {
  64141. def.hostBindings(1
  64142. /* RenderFlags.Create */
  64143. , directive);
  64144. }
  64145. }
  64146. /**
  64147. * Matches the current node against all available selectors.
  64148. * If a component is matched (at most one), it is returned in first position in the array.
  64149. */
  64150. function findDirectiveDefMatches(tView, viewData, tNode) {
  64151. ngDevMode && assertFirstCreatePass(tView);
  64152. ngDevMode && assertTNodeType(tNode, 3
  64153. /* TNodeType.AnyRNode */
  64154. | 12
  64155. /* TNodeType.AnyContainer */
  64156. );
  64157. const registry = tView.directiveRegistry;
  64158. let matches = null;
  64159. if (registry) {
  64160. for (let i = 0; i < registry.length; i++) {
  64161. const def = registry[i];
  64162. if (isNodeMatchingSelectorList(tNode, def.selectors,
  64163. /* isProjectionMode */
  64164. false)) {
  64165. matches || (matches = ngDevMode ? new MatchesArray() : []);
  64166. diPublicInInjector(getOrCreateNodeInjectorForNode(tNode, viewData), tView, def.type);
  64167. if (isComponentDef(def)) {
  64168. if (ngDevMode) {
  64169. assertTNodeType(tNode, 2
  64170. /* TNodeType.Element */
  64171. , `"${tNode.value}" tags cannot be used as component hosts. ` + `Please use a different tag to activate the ${stringify(def.type)} component.`);
  64172. if (tNode.flags & 2
  64173. /* TNodeFlags.isComponentHost */
  64174. ) {
  64175. // If another component has been matched previously, it's the first element in the
  64176. // `matches` array, see how we store components/directives in `matches` below.
  64177. throwMultipleComponentError(tNode, matches[0].type, def.type);
  64178. }
  64179. }
  64180. markAsComponentHost(tView, tNode); // The component is always stored first with directives after.
  64181. matches.unshift(def);
  64182. } else {
  64183. matches.push(def);
  64184. }
  64185. }
  64186. }
  64187. }
  64188. return matches;
  64189. }
  64190. /**
  64191. * Marks a given TNode as a component's host. This consists of:
  64192. * - setting appropriate TNode flags;
  64193. * - storing index of component's host element so it will be queued for view refresh during CD.
  64194. */
  64195. function markAsComponentHost(tView, hostTNode) {
  64196. ngDevMode && assertFirstCreatePass(tView);
  64197. hostTNode.flags |= 2
  64198. /* TNodeFlags.isComponentHost */
  64199. ;
  64200. (tView.components || (tView.components = ngDevMode ? new TViewComponents() : [])).push(hostTNode.index);
  64201. }
  64202. /** Caches local names and their matching directive indices for query and template lookups. */
  64203. function cacheMatchingLocalNames(tNode, localRefs, exportsMap) {
  64204. if (localRefs) {
  64205. const localNames = tNode.localNames = ngDevMode ? new TNodeLocalNames() : []; // Local names must be stored in tNode in the same order that localRefs are defined
  64206. // in the template to ensure the data is loaded in the same slots as their refs
  64207. // in the template (for template queries).
  64208. for (let i = 0; i < localRefs.length; i += 2) {
  64209. const index = exportsMap[localRefs[i + 1]];
  64210. if (index == null) throw new RuntimeError(-301
  64211. /* RuntimeErrorCode.EXPORT_NOT_FOUND */
  64212. , ngDevMode && `Export of name '${localRefs[i + 1]}' not found!`);
  64213. localNames.push(localRefs[i], index);
  64214. }
  64215. }
  64216. }
  64217. /**
  64218. * Builds up an export map as directives are created, so local refs can be quickly mapped
  64219. * to their directive instances.
  64220. */
  64221. function saveNameToExportMap(directiveIdx, def, exportsMap) {
  64222. if (exportsMap) {
  64223. if (def.exportAs) {
  64224. for (let i = 0; i < def.exportAs.length; i++) {
  64225. exportsMap[def.exportAs[i]] = directiveIdx;
  64226. }
  64227. }
  64228. if (isComponentDef(def)) exportsMap[''] = directiveIdx;
  64229. }
  64230. }
  64231. /**
  64232. * Initializes the flags on the current node, setting all indices to the initial index,
  64233. * the directive count to 0, and adding the isComponent flag.
  64234. * @param index the initial index
  64235. */
  64236. function initTNodeFlags(tNode, index, numberOfDirectives) {
  64237. ngDevMode && assertNotEqual(numberOfDirectives, tNode.directiveEnd - tNode.directiveStart, 'Reached the max number of directives');
  64238. tNode.flags |= 1
  64239. /* TNodeFlags.isDirectiveHost */
  64240. ; // When the first directive is created on a node, save the index
  64241. tNode.directiveStart = index;
  64242. tNode.directiveEnd = index + numberOfDirectives;
  64243. tNode.providerIndexes = index;
  64244. }
  64245. /**
  64246. * Setup directive for instantiation.
  64247. *
  64248. * We need to create a `NodeInjectorFactory` which is then inserted in both the `Blueprint` as well
  64249. * as `LView`. `TView` gets the `DirectiveDef`.
  64250. *
  64251. * @param tView `TView`
  64252. * @param tNode `TNode`
  64253. * @param lView `LView`
  64254. * @param directiveIndex Index where the directive will be stored in the Expando.
  64255. * @param def `DirectiveDef`
  64256. */
  64257. function configureViewWithDirective(tView, tNode, lView, directiveIndex, def) {
  64258. ngDevMode && assertGreaterThanOrEqual(directiveIndex, HEADER_OFFSET, 'Must be in Expando section');
  64259. tView.data[directiveIndex] = def;
  64260. const directiveFactory = def.factory || (def.factory = getFactoryDef(def.type, true)); // Even though `directiveFactory` will already be using `ɵɵdirectiveInject` in its generated code,
  64261. // we also want to support `inject()` directly from the directive constructor context so we set
  64262. // `ɵɵdirectiveInject` as the inject implementation here too.
  64263. const nodeInjectorFactory = new NodeInjectorFactory(directiveFactory, isComponentDef(def), ɵɵdirectiveInject);
  64264. tView.blueprint[directiveIndex] = nodeInjectorFactory;
  64265. lView[directiveIndex] = nodeInjectorFactory;
  64266. registerHostBindingOpCodes(tView, tNode, lView, directiveIndex, allocExpando(tView, lView, def.hostVars, NO_CHANGE), def);
  64267. }
  64268. function addComponentLogic(lView, hostTNode, def) {
  64269. const native = getNativeByTNode(hostTNode, lView);
  64270. const tView = getOrCreateComponentTView(def); // Only component views should be added to the view tree directly. Embedded views are
  64271. // accessed through their containers because they may be removed / re-added later.
  64272. const rendererFactory = lView[RENDERER_FACTORY];
  64273. const componentView = addToViewTree(lView, createLView(lView, tView, null, def.onPush ? 32
  64274. /* LViewFlags.Dirty */
  64275. : 16
  64276. /* LViewFlags.CheckAlways */
  64277. , native, hostTNode, rendererFactory, rendererFactory.createRenderer(native, def), null, null, null)); // Component view will always be created before any injected LContainers,
  64278. // so this is a regular element, wrap it with the component view
  64279. lView[hostTNode.index] = componentView;
  64280. }
  64281. function elementAttributeInternal(tNode, lView, name, value, sanitizer, namespace) {
  64282. if (ngDevMode) {
  64283. assertNotSame(value, NO_CHANGE, 'Incoming value should never be NO_CHANGE.');
  64284. validateAgainstEventAttributes(name);
  64285. assertTNodeType(tNode, 2
  64286. /* TNodeType.Element */
  64287. , `Attempted to set attribute \`${name}\` on a container node. ` + `Host bindings are not valid on ng-container or ng-template.`);
  64288. }
  64289. const element = getNativeByTNode(tNode, lView);
  64290. setElementAttribute(lView[RENDERER], element, namespace, tNode.value, name, value, sanitizer);
  64291. }
  64292. function setElementAttribute(renderer, element, namespace, tagName, name, value, sanitizer) {
  64293. if (value == null) {
  64294. ngDevMode && ngDevMode.rendererRemoveAttribute++;
  64295. renderer.removeAttribute(element, name, namespace);
  64296. } else {
  64297. ngDevMode && ngDevMode.rendererSetAttribute++;
  64298. const strValue = sanitizer == null ? renderStringify(value) : sanitizer(value, tagName || '', name);
  64299. renderer.setAttribute(element, name, strValue, namespace);
  64300. }
  64301. }
  64302. /**
  64303. * Sets initial input properties on directive instances from attribute data
  64304. *
  64305. * @param lView Current LView that is being processed.
  64306. * @param directiveIndex Index of the directive in directives array
  64307. * @param instance Instance of the directive on which to set the initial inputs
  64308. * @param def The directive def that contains the list of inputs
  64309. * @param tNode The static data for this node
  64310. */
  64311. function setInputsFromAttrs(lView, directiveIndex, instance, def, tNode, initialInputData) {
  64312. const initialInputs = initialInputData[directiveIndex];
  64313. if (initialInputs !== null) {
  64314. const setInput = def.setInput;
  64315. for (let i = 0; i < initialInputs.length;) {
  64316. const publicName = initialInputs[i++];
  64317. const privateName = initialInputs[i++];
  64318. const value = initialInputs[i++];
  64319. if (setInput !== null) {
  64320. def.setInput(instance, value, publicName, privateName);
  64321. } else {
  64322. instance[privateName] = value;
  64323. }
  64324. if (ngDevMode) {
  64325. const nativeElement = getNativeByTNode(tNode, lView);
  64326. setNgReflectProperty(lView, nativeElement, tNode.type, privateName, value);
  64327. }
  64328. }
  64329. }
  64330. }
  64331. /**
  64332. * Generates initialInputData for a node and stores it in the template's static storage
  64333. * so subsequent template invocations don't have to recalculate it.
  64334. *
  64335. * initialInputData is an array containing values that need to be set as input properties
  64336. * for directives on this node, but only once on creation. We need this array to support
  64337. * the case where you set an @Input property of a directive using attribute-like syntax.
  64338. * e.g. if you have a `name` @Input, you can set it once like this:
  64339. *
  64340. * <my-component name="Bess"></my-component>
  64341. *
  64342. * @param inputs The list of inputs from the directive def
  64343. * @param attrs The static attrs on this node
  64344. */
  64345. function generateInitialInputs(inputs, attrs) {
  64346. let inputsToStore = null;
  64347. let i = 0;
  64348. while (i < attrs.length) {
  64349. const attrName = attrs[i];
  64350. if (attrName === 0
  64351. /* AttributeMarker.NamespaceURI */
  64352. ) {
  64353. // We do not allow inputs on namespaced attributes.
  64354. i += 4;
  64355. continue;
  64356. } else if (attrName === 5
  64357. /* AttributeMarker.ProjectAs */
  64358. ) {
  64359. // Skip over the `ngProjectAs` value.
  64360. i += 2;
  64361. continue;
  64362. } // If we hit any other attribute markers, we're done anyway. None of those are valid inputs.
  64363. if (typeof attrName === 'number') break;
  64364. if (inputs.hasOwnProperty(attrName)) {
  64365. if (inputsToStore === null) inputsToStore = [];
  64366. inputsToStore.push(attrName, inputs[attrName], attrs[i + 1]);
  64367. }
  64368. i += 2;
  64369. }
  64370. return inputsToStore;
  64371. } //////////////////////////
  64372. //// ViewContainer & View
  64373. //////////////////////////
  64374. // Not sure why I need to do `any` here but TS complains later.
  64375. const LContainerArray = class LContainer extends Array {};
  64376. /**
  64377. * Creates a LContainer, either from a container instruction, or for a ViewContainerRef.
  64378. *
  64379. * @param hostNative The host element for the LContainer
  64380. * @param hostTNode The host TNode for the LContainer
  64381. * @param currentView The parent view of the LContainer
  64382. * @param native The native comment element
  64383. * @param isForViewContainerRef Optional a flag indicating the ViewContainerRef case
  64384. * @returns LContainer
  64385. */
  64386. function createLContainer(hostNative, currentView, native, tNode) {
  64387. ngDevMode && assertLView(currentView); // https://jsperf.com/array-literal-vs-new-array-really
  64388. const lContainer = new (ngDevMode ? LContainerArray : Array)(hostNative, // host native
  64389. true, // Boolean `true` in this position signifies that this is an `LContainer`
  64390. false, // has transplanted views
  64391. currentView, // parent
  64392. null, // next
  64393. 0, // transplanted views to refresh count
  64394. tNode, // t_host
  64395. native, // native,
  64396. null, // view refs
  64397. null);
  64398. ngDevMode && assertEqual(lContainer.length, CONTAINER_HEADER_OFFSET, 'Should allocate correct number of slots for LContainer header.');
  64399. ngDevMode && attachLContainerDebug(lContainer);
  64400. return lContainer;
  64401. }
  64402. /**
  64403. * Goes over embedded views (ones created through ViewContainerRef APIs) and refreshes
  64404. * them by executing an associated template function.
  64405. */
  64406. function refreshEmbeddedViews(lView) {
  64407. for (let lContainer = getFirstLContainer(lView); lContainer !== null; lContainer = getNextLContainer(lContainer)) {
  64408. for (let i = CONTAINER_HEADER_OFFSET; i < lContainer.length; i++) {
  64409. const embeddedLView = lContainer[i];
  64410. const embeddedTView = embeddedLView[TVIEW];
  64411. ngDevMode && assertDefined(embeddedTView, 'TView must be allocated');
  64412. if (viewAttachedToChangeDetector(embeddedLView)) {
  64413. refreshView(embeddedTView, embeddedLView, embeddedTView.template, embeddedLView[CONTEXT]);
  64414. }
  64415. }
  64416. }
  64417. }
  64418. /**
  64419. * Mark transplanted views as needing to be refreshed at their insertion points.
  64420. *
  64421. * @param lView The `LView` that may have transplanted views.
  64422. */
  64423. function markTransplantedViewsForRefresh(lView) {
  64424. for (let lContainer = getFirstLContainer(lView); lContainer !== null; lContainer = getNextLContainer(lContainer)) {
  64425. if (!lContainer[HAS_TRANSPLANTED_VIEWS]) continue;
  64426. const movedViews = lContainer[MOVED_VIEWS];
  64427. ngDevMode && assertDefined(movedViews, 'Transplanted View flags set but missing MOVED_VIEWS');
  64428. for (let i = 0; i < movedViews.length; i++) {
  64429. const movedLView = movedViews[i];
  64430. const insertionLContainer = movedLView[PARENT];
  64431. ngDevMode && assertLContainer(insertionLContainer); // We don't want to increment the counter if the moved LView was already marked for
  64432. // refresh.
  64433. if ((movedLView[FLAGS] & 512
  64434. /* LViewFlags.RefreshTransplantedView */
  64435. ) === 0) {
  64436. updateTransplantedViewCount(insertionLContainer, 1);
  64437. } // Note, it is possible that the `movedViews` is tracking views that are transplanted *and*
  64438. // those that aren't (declaration component === insertion component). In the latter case,
  64439. // it's fine to add the flag, as we will clear it immediately in
  64440. // `refreshEmbeddedViews` for the view currently being refreshed.
  64441. movedLView[FLAGS] |= 512
  64442. /* LViewFlags.RefreshTransplantedView */
  64443. ;
  64444. }
  64445. }
  64446. } /////////////
  64447. /**
  64448. * Refreshes components by entering the component view and processing its bindings, queries, etc.
  64449. *
  64450. * @param componentHostIdx Element index in LView[] (adjusted for HEADER_OFFSET)
  64451. */
  64452. function refreshComponent(hostLView, componentHostIdx) {
  64453. ngDevMode && assertEqual(isCreationMode(hostLView), false, 'Should be run in update mode');
  64454. const componentView = getComponentLViewByIndex(componentHostIdx, hostLView); // Only attached components that are CheckAlways or OnPush and dirty should be refreshed
  64455. if (viewAttachedToChangeDetector(componentView)) {
  64456. const tView = componentView[TVIEW];
  64457. if (componentView[FLAGS] & (16
  64458. /* LViewFlags.CheckAlways */
  64459. | 32
  64460. /* LViewFlags.Dirty */
  64461. )) {
  64462. refreshView(tView, componentView, tView.template, componentView[CONTEXT]);
  64463. } else if (componentView[TRANSPLANTED_VIEWS_TO_REFRESH] > 0) {
  64464. // Only attached components that are CheckAlways or OnPush and dirty should be refreshed
  64465. refreshContainsDirtyView(componentView);
  64466. }
  64467. }
  64468. }
  64469. /**
  64470. * Refreshes all transplanted views marked with `LViewFlags.RefreshTransplantedView` that are
  64471. * children or descendants of the given lView.
  64472. *
  64473. * @param lView The lView which contains descendant transplanted views that need to be refreshed.
  64474. */
  64475. function refreshContainsDirtyView(lView) {
  64476. for (let lContainer = getFirstLContainer(lView); lContainer !== null; lContainer = getNextLContainer(lContainer)) {
  64477. for (let i = CONTAINER_HEADER_OFFSET; i < lContainer.length; i++) {
  64478. const embeddedLView = lContainer[i];
  64479. if (viewAttachedToChangeDetector(embeddedLView)) {
  64480. if (embeddedLView[FLAGS] & 512
  64481. /* LViewFlags.RefreshTransplantedView */
  64482. ) {
  64483. const embeddedTView = embeddedLView[TVIEW];
  64484. ngDevMode && assertDefined(embeddedTView, 'TView must be allocated');
  64485. refreshView(embeddedTView, embeddedLView, embeddedTView.template, embeddedLView[CONTEXT]);
  64486. } else if (embeddedLView[TRANSPLANTED_VIEWS_TO_REFRESH] > 0) {
  64487. refreshContainsDirtyView(embeddedLView);
  64488. }
  64489. }
  64490. }
  64491. }
  64492. const tView = lView[TVIEW]; // Refresh child component views.
  64493. const components = tView.components;
  64494. if (components !== null) {
  64495. for (let i = 0; i < components.length; i++) {
  64496. const componentView = getComponentLViewByIndex(components[i], lView); // Only attached components that are CheckAlways or OnPush and dirty should be refreshed
  64497. if (viewAttachedToChangeDetector(componentView) && componentView[TRANSPLANTED_VIEWS_TO_REFRESH] > 0) {
  64498. refreshContainsDirtyView(componentView);
  64499. }
  64500. }
  64501. }
  64502. }
  64503. function renderComponent(hostLView, componentHostIdx) {
  64504. ngDevMode && assertEqual(isCreationMode(hostLView), true, 'Should be run in creation mode');
  64505. const componentView = getComponentLViewByIndex(componentHostIdx, hostLView);
  64506. const componentTView = componentView[TVIEW];
  64507. syncViewWithBlueprint(componentTView, componentView);
  64508. renderView(componentTView, componentView, componentView[CONTEXT]);
  64509. }
  64510. /**
  64511. * Syncs an LView instance with its blueprint if they have gotten out of sync.
  64512. *
  64513. * Typically, blueprints and their view instances should always be in sync, so the loop here
  64514. * will be skipped. However, consider this case of two components side-by-side:
  64515. *
  64516. * App template:
  64517. * ```
  64518. * <comp></comp>
  64519. * <comp></comp>
  64520. * ```
  64521. *
  64522. * The following will happen:
  64523. * 1. App template begins processing.
  64524. * 2. First <comp> is matched as a component and its LView is created.
  64525. * 3. Second <comp> is matched as a component and its LView is created.
  64526. * 4. App template completes processing, so it's time to check child templates.
  64527. * 5. First <comp> template is checked. It has a directive, so its def is pushed to blueprint.
  64528. * 6. Second <comp> template is checked. Its blueprint has been updated by the first
  64529. * <comp> template, but its LView was created before this update, so it is out of sync.
  64530. *
  64531. * Note that embedded views inside ngFor loops will never be out of sync because these views
  64532. * are processed as soon as they are created.
  64533. *
  64534. * @param tView The `TView` that contains the blueprint for syncing
  64535. * @param lView The view to sync
  64536. */
  64537. function syncViewWithBlueprint(tView, lView) {
  64538. for (let i = lView.length; i < tView.blueprint.length; i++) {
  64539. lView.push(tView.blueprint[i]);
  64540. }
  64541. }
  64542. /**
  64543. * Adds LView or LContainer to the end of the current view tree.
  64544. *
  64545. * This structure will be used to traverse through nested views to remove listeners
  64546. * and call onDestroy callbacks.
  64547. *
  64548. * @param lView The view where LView or LContainer should be added
  64549. * @param adjustedHostIndex Index of the view's host node in LView[], adjusted for header
  64550. * @param lViewOrLContainer The LView or LContainer to add to the view tree
  64551. * @returns The state passed in
  64552. */
  64553. function addToViewTree(lView, lViewOrLContainer) {
  64554. // TODO(benlesh/misko): This implementation is incorrect, because it always adds the LContainer
  64555. // to the end of the queue, which means if the developer retrieves the LContainers from RNodes out
  64556. // of order, the change detection will run out of order, as the act of retrieving the the
  64557. // LContainer from the RNode is what adds it to the queue.
  64558. if (lView[CHILD_HEAD]) {
  64559. lView[CHILD_TAIL][NEXT] = lViewOrLContainer;
  64560. } else {
  64561. lView[CHILD_HEAD] = lViewOrLContainer;
  64562. }
  64563. lView[CHILD_TAIL] = lViewOrLContainer;
  64564. return lViewOrLContainer;
  64565. } ///////////////////////////////
  64566. //// Change detection
  64567. ///////////////////////////////
  64568. /**
  64569. * Marks current view and all ancestors dirty.
  64570. *
  64571. * Returns the root view because it is found as a byproduct of marking the view tree
  64572. * dirty, and can be used by methods that consume markViewDirty() to easily schedule
  64573. * change detection. Otherwise, such methods would need to traverse up the view tree
  64574. * an additional time to get the root view and schedule a tick on it.
  64575. *
  64576. * @param lView The starting LView to mark dirty
  64577. * @returns the root LView
  64578. */
  64579. function markViewDirty(lView) {
  64580. while (lView) {
  64581. lView[FLAGS] |= 32
  64582. /* LViewFlags.Dirty */
  64583. ;
  64584. const parent = getLViewParent(lView); // Stop traversing up as soon as you find a root view that wasn't attached to any container
  64585. if (isRootView(lView) && !parent) {
  64586. return lView;
  64587. } // continue otherwise
  64588. lView = parent;
  64589. }
  64590. return null;
  64591. }
  64592. function detectChangesInternal(tView, lView, context, notifyErrorHandler = true) {
  64593. const rendererFactory = lView[RENDERER_FACTORY]; // Check no changes mode is a dev only mode used to verify that bindings have not changed
  64594. // since they were assigned. We do not want to invoke renderer factory functions in that mode
  64595. // to avoid any possible side-effects.
  64596. const checkNoChangesMode = !!ngDevMode && isInCheckNoChangesMode();
  64597. if (!checkNoChangesMode && rendererFactory.begin) rendererFactory.begin();
  64598. try {
  64599. refreshView(tView, lView, tView.template, context);
  64600. } catch (error) {
  64601. if (notifyErrorHandler) {
  64602. handleError(lView, error);
  64603. }
  64604. throw error;
  64605. } finally {
  64606. if (!checkNoChangesMode && rendererFactory.end) rendererFactory.end();
  64607. }
  64608. }
  64609. function checkNoChangesInternal(tView, lView, context, notifyErrorHandler = true) {
  64610. setIsInCheckNoChangesMode(true);
  64611. try {
  64612. detectChangesInternal(tView, lView, context, notifyErrorHandler);
  64613. } finally {
  64614. setIsInCheckNoChangesMode(false);
  64615. }
  64616. }
  64617. function executeViewQueryFn(flags, viewQueryFn, component) {
  64618. ngDevMode && assertDefined(viewQueryFn, 'View queries function to execute must be defined.');
  64619. setCurrentQueryIndex(0);
  64620. viewQueryFn(flags, component);
  64621. } ///////////////////////////////
  64622. //// Bindings & interpolations
  64623. ///////////////////////////////
  64624. /**
  64625. * Stores meta-data for a property binding to be used by TestBed's `DebugElement.properties`.
  64626. *
  64627. * In order to support TestBed's `DebugElement.properties` we need to save, for each binding:
  64628. * - a bound property name;
  64629. * - a static parts of interpolated strings;
  64630. *
  64631. * A given property metadata is saved at the binding's index in the `TView.data` (in other words, a
  64632. * property binding metadata will be stored in `TView.data` at the same index as a bound value in
  64633. * `LView`). Metadata are represented as `INTERPOLATION_DELIMITER`-delimited string with the
  64634. * following format:
  64635. * - `propertyName` for bound properties;
  64636. * - `propertyName�prefix�interpolation_static_part1�..interpolation_static_partN�suffix` for
  64637. * interpolated properties.
  64638. *
  64639. * @param tData `TData` where meta-data will be saved;
  64640. * @param tNode `TNode` that is a target of the binding;
  64641. * @param propertyName bound property name;
  64642. * @param bindingIndex binding index in `LView`
  64643. * @param interpolationParts static interpolation parts (for property interpolations)
  64644. */
  64645. function storePropertyBindingMetadata(tData, tNode, propertyName, bindingIndex, ...interpolationParts) {
  64646. // Binding meta-data are stored only the first time a given property instruction is processed.
  64647. // Since we don't have a concept of the "first update pass" we need to check for presence of the
  64648. // binding meta-data to decide if one should be stored (or if was stored already).
  64649. if (tData[bindingIndex] === null) {
  64650. if (tNode.inputs == null || !tNode.inputs[propertyName]) {
  64651. const propBindingIdxs = tNode.propertyBindings || (tNode.propertyBindings = []);
  64652. propBindingIdxs.push(bindingIndex);
  64653. let bindingMetadata = propertyName;
  64654. if (interpolationParts.length > 0) {
  64655. bindingMetadata += INTERPOLATION_DELIMITER + interpolationParts.join(INTERPOLATION_DELIMITER);
  64656. }
  64657. tData[bindingIndex] = bindingMetadata;
  64658. }
  64659. }
  64660. }
  64661. function getOrCreateLViewCleanup(view) {
  64662. // top level variables should not be exported for performance reasons (PERF_NOTES.md)
  64663. return view[CLEANUP] || (view[CLEANUP] = ngDevMode ? new LCleanup() : []);
  64664. }
  64665. function getOrCreateTViewCleanup(tView) {
  64666. return tView.cleanup || (tView.cleanup = ngDevMode ? new TCleanup() : []);
  64667. }
  64668. /**
  64669. * There are cases where the sub component's renderer needs to be included
  64670. * instead of the current renderer (see the componentSyntheticHost* instructions).
  64671. */
  64672. function loadComponentRenderer(currentDef, tNode, lView) {
  64673. // TODO(FW-2043): the `currentDef` is null when host bindings are invoked while creating root
  64674. // component (see packages/core/src/render3/component.ts). This is not consistent with the process
  64675. // of creating inner components, when current directive index is available in the state. In order
  64676. // to avoid relying on current def being `null` (thus special-casing root component creation), the
  64677. // process of creating root component should be unified with the process of creating inner
  64678. // components.
  64679. if (currentDef === null || isComponentDef(currentDef)) {
  64680. lView = unwrapLView(lView[tNode.index]);
  64681. }
  64682. return lView[RENDERER];
  64683. }
  64684. /** Handles an error thrown in an LView. */
  64685. function handleError(lView, error) {
  64686. const injector = lView[INJECTOR$1];
  64687. const errorHandler = injector ? injector.get(ErrorHandler, null) : null;
  64688. errorHandler && errorHandler.handleError(error);
  64689. }
  64690. /**
  64691. * Set the inputs of directives at the current node to corresponding value.
  64692. *
  64693. * @param tView The current TView
  64694. * @param lView the `LView` which contains the directives.
  64695. * @param inputs mapping between the public "input" name and privately-known,
  64696. * possibly minified, property names to write to.
  64697. * @param value Value to set.
  64698. */
  64699. function setInputsForProperty(tView, lView, inputs, publicName, value) {
  64700. for (let i = 0; i < inputs.length;) {
  64701. const index = inputs[i++];
  64702. const privateName = inputs[i++];
  64703. const instance = lView[index];
  64704. ngDevMode && assertIndexInRange(lView, index);
  64705. const def = tView.data[index];
  64706. if (def.setInput !== null) {
  64707. def.setInput(instance, value, publicName, privateName);
  64708. } else {
  64709. instance[privateName] = value;
  64710. }
  64711. }
  64712. }
  64713. /**
  64714. * Updates a text binding at a given index in a given LView.
  64715. */
  64716. function textBindingInternal(lView, index, value) {
  64717. ngDevMode && assertString(value, 'Value should be a string');
  64718. ngDevMode && assertNotSame(value, NO_CHANGE, 'value should not be NO_CHANGE');
  64719. ngDevMode && assertIndexInRange(lView, index);
  64720. const element = getNativeByIndex(index, lView);
  64721. ngDevMode && assertDefined(element, 'native element should exist');
  64722. updateTextNode(lView[RENDERER], element, value);
  64723. }
  64724. /**
  64725. * @license
  64726. * Copyright Google LLC All Rights Reserved.
  64727. *
  64728. * Use of this source code is governed by an MIT-style license that can be
  64729. * found in the LICENSE file at https://angular.io/license
  64730. */
  64731. /**
  64732. * Compute the static styling (class/style) from `TAttributes`.
  64733. *
  64734. * This function should be called during `firstCreatePass` only.
  64735. *
  64736. * @param tNode The `TNode` into which the styling information should be loaded.
  64737. * @param attrs `TAttributes` containing the styling information.
  64738. * @param writeToHost Where should the resulting static styles be written?
  64739. * - `false` Write to `TNode.stylesWithoutHost` / `TNode.classesWithoutHost`
  64740. * - `true` Write to `TNode.styles` / `TNode.classes`
  64741. */
  64742. function computeStaticStyling(tNode, attrs, writeToHost) {
  64743. ngDevMode && assertFirstCreatePass(getTView(), 'Expecting to be called in first template pass only');
  64744. let styles = writeToHost ? tNode.styles : null;
  64745. let classes = writeToHost ? tNode.classes : null;
  64746. let mode = 0;
  64747. if (attrs !== null) {
  64748. for (let i = 0; i < attrs.length; i++) {
  64749. const value = attrs[i];
  64750. if (typeof value === 'number') {
  64751. mode = value;
  64752. } else if (mode == 1
  64753. /* AttributeMarker.Classes */
  64754. ) {
  64755. classes = concatStringsWithSpace(classes, value);
  64756. } else if (mode == 2
  64757. /* AttributeMarker.Styles */
  64758. ) {
  64759. const style = value;
  64760. const styleValue = attrs[++i];
  64761. styles = concatStringsWithSpace(styles, style + ': ' + styleValue + ';');
  64762. }
  64763. }
  64764. }
  64765. writeToHost ? tNode.styles = styles : tNode.stylesWithoutHost = styles;
  64766. writeToHost ? tNode.classes = classes : tNode.classesWithoutHost = classes;
  64767. }
  64768. /**
  64769. * @license
  64770. * Copyright Google LLC All Rights Reserved.
  64771. *
  64772. * Use of this source code is governed by an MIT-style license that can be
  64773. * found in the LICENSE file at https://angular.io/license
  64774. */
  64775. function collectNativeNodes(tView, lView, tNode, result, isProjection = false) {
  64776. while (tNode !== null) {
  64777. ngDevMode && assertTNodeType(tNode, 3
  64778. /* TNodeType.AnyRNode */
  64779. | 12
  64780. /* TNodeType.AnyContainer */
  64781. | 16
  64782. /* TNodeType.Projection */
  64783. | 32
  64784. /* TNodeType.Icu */
  64785. );
  64786. const lNode = lView[tNode.index];
  64787. if (lNode !== null) {
  64788. result.push(unwrapRNode(lNode));
  64789. } // A given lNode can represent either a native node or a LContainer (when it is a host of a
  64790. // ViewContainerRef). When we find a LContainer we need to descend into it to collect root nodes
  64791. // from the views in this container.
  64792. if (isLContainer(lNode)) {
  64793. for (let i = CONTAINER_HEADER_OFFSET; i < lNode.length; i++) {
  64794. const lViewInAContainer = lNode[i];
  64795. const lViewFirstChildTNode = lViewInAContainer[TVIEW].firstChild;
  64796. if (lViewFirstChildTNode !== null) {
  64797. collectNativeNodes(lViewInAContainer[TVIEW], lViewInAContainer, lViewFirstChildTNode, result);
  64798. }
  64799. }
  64800. }
  64801. const tNodeType = tNode.type;
  64802. if (tNodeType & 8
  64803. /* TNodeType.ElementContainer */
  64804. ) {
  64805. collectNativeNodes(tView, lView, tNode.child, result);
  64806. } else if (tNodeType & 32
  64807. /* TNodeType.Icu */
  64808. ) {
  64809. const nextRNode = icuContainerIterate(tNode, lView);
  64810. let rNode;
  64811. while (rNode = nextRNode()) {
  64812. result.push(rNode);
  64813. }
  64814. } else if (tNodeType & 16
  64815. /* TNodeType.Projection */
  64816. ) {
  64817. const nodesInSlot = getProjectionNodes(lView, tNode);
  64818. if (Array.isArray(nodesInSlot)) {
  64819. result.push(...nodesInSlot);
  64820. } else {
  64821. const parentView = getLViewParent(lView[DECLARATION_COMPONENT_VIEW]);
  64822. ngDevMode && assertParentView(parentView);
  64823. collectNativeNodes(parentView[TVIEW], parentView, nodesInSlot, result, true);
  64824. }
  64825. }
  64826. tNode = isProjection ? tNode.projectionNext : tNode.next;
  64827. }
  64828. return result;
  64829. }
  64830. /**
  64831. * @license
  64832. * Copyright Google LLC All Rights Reserved.
  64833. *
  64834. * Use of this source code is governed by an MIT-style license that can be
  64835. * found in the LICENSE file at https://angular.io/license
  64836. */
  64837. class ViewRef$1 {
  64838. constructor(
  64839. /**
  64840. * This represents `LView` associated with the component when ViewRef is a ChangeDetectorRef.
  64841. *
  64842. * When ViewRef is created for a dynamic component, this also represents the `LView` for the
  64843. * component.
  64844. *
  64845. * For a "regular" ViewRef created for an embedded view, this is the `LView` for the embedded
  64846. * view.
  64847. *
  64848. * @internal
  64849. */
  64850. _lView,
  64851. /**
  64852. * This represents the `LView` associated with the point where `ChangeDetectorRef` was
  64853. * requested.
  64854. *
  64855. * This may be different from `_lView` if the `_cdRefInjectingView` is an embedded view.
  64856. */
  64857. _cdRefInjectingView) {
  64858. this._lView = _lView;
  64859. this._cdRefInjectingView = _cdRefInjectingView;
  64860. this._appRef = null;
  64861. this._attachedToViewContainer = false;
  64862. }
  64863. get rootNodes() {
  64864. const lView = this._lView;
  64865. const tView = lView[TVIEW];
  64866. return collectNativeNodes(tView, lView, tView.firstChild, []);
  64867. }
  64868. get context() {
  64869. return this._lView[CONTEXT];
  64870. }
  64871. set context(value) {
  64872. this._lView[CONTEXT] = value;
  64873. }
  64874. get destroyed() {
  64875. return (this._lView[FLAGS] & 128
  64876. /* LViewFlags.Destroyed */
  64877. ) === 128
  64878. /* LViewFlags.Destroyed */
  64879. ;
  64880. }
  64881. destroy() {
  64882. if (this._appRef) {
  64883. this._appRef.detachView(this);
  64884. } else if (this._attachedToViewContainer) {
  64885. const parent = this._lView[PARENT];
  64886. if (isLContainer(parent)) {
  64887. const viewRefs = parent[VIEW_REFS];
  64888. const index = viewRefs ? viewRefs.indexOf(this) : -1;
  64889. if (index > -1) {
  64890. ngDevMode && assertEqual(index, parent.indexOf(this._lView) - CONTAINER_HEADER_OFFSET, 'An attached view should be in the same position within its container as its ViewRef in the VIEW_REFS array.');
  64891. detachView(parent, index);
  64892. removeFromArray(viewRefs, index);
  64893. }
  64894. }
  64895. this._attachedToViewContainer = false;
  64896. }
  64897. destroyLView(this._lView[TVIEW], this._lView);
  64898. }
  64899. onDestroy(callback) {
  64900. storeCleanupWithContext(this._lView[TVIEW], this._lView, null, callback);
  64901. }
  64902. /**
  64903. * Marks a view and all of its ancestors dirty.
  64904. *
  64905. * This can be used to ensure an {@link ChangeDetectionStrategy#OnPush OnPush} component is
  64906. * checked when it needs to be re-rendered but the two normal triggers haven't marked it
  64907. * dirty (i.e. inputs haven't changed and events haven't fired in the view).
  64908. *
  64909. * <!-- TODO: Add a link to a chapter on OnPush components -->
  64910. *
  64911. * @usageNotes
  64912. * ### Example
  64913. *
  64914. * ```typescript
  64915. * @Component({
  64916. * selector: 'app-root',
  64917. * template: `Number of ticks: {{numberOfTicks}}`
  64918. * changeDetection: ChangeDetectionStrategy.OnPush,
  64919. * })
  64920. * class AppComponent {
  64921. * numberOfTicks = 0;
  64922. *
  64923. * constructor(private ref: ChangeDetectorRef) {
  64924. * setInterval(() => {
  64925. * this.numberOfTicks++;
  64926. * // the following is required, otherwise the view will not be updated
  64927. * this.ref.markForCheck();
  64928. * }, 1000);
  64929. * }
  64930. * }
  64931. * ```
  64932. */
  64933. markForCheck() {
  64934. markViewDirty(this._cdRefInjectingView || this._lView);
  64935. }
  64936. /**
  64937. * Detaches the view from the change detection tree.
  64938. *
  64939. * Detached views will not be checked during change detection runs until they are
  64940. * re-attached, even if they are dirty. `detach` can be used in combination with
  64941. * {@link ChangeDetectorRef#detectChanges detectChanges} to implement local change
  64942. * detection checks.
  64943. *
  64944. * <!-- TODO: Add a link to a chapter on detach/reattach/local digest -->
  64945. * <!-- TODO: Add a live demo once ref.detectChanges is merged into master -->
  64946. *
  64947. * @usageNotes
  64948. * ### Example
  64949. *
  64950. * The following example defines a component with a large list of readonly data.
  64951. * Imagine the data changes constantly, many times per second. For performance reasons,
  64952. * we want to check and update the list every five seconds. We can do that by detaching
  64953. * the component's change detector and doing a local check every five seconds.
  64954. *
  64955. * ```typescript
  64956. * class DataProvider {
  64957. * // in a real application the returned data will be different every time
  64958. * get data() {
  64959. * return [1,2,3,4,5];
  64960. * }
  64961. * }
  64962. *
  64963. * @Component({
  64964. * selector: 'giant-list',
  64965. * template: `
  64966. * <li *ngFor="let d of dataProvider.data">Data {{d}}</li>
  64967. * `,
  64968. * })
  64969. * class GiantList {
  64970. * constructor(private ref: ChangeDetectorRef, private dataProvider: DataProvider) {
  64971. * ref.detach();
  64972. * setInterval(() => {
  64973. * this.ref.detectChanges();
  64974. * }, 5000);
  64975. * }
  64976. * }
  64977. *
  64978. * @Component({
  64979. * selector: 'app',
  64980. * providers: [DataProvider],
  64981. * template: `
  64982. * <giant-list><giant-list>
  64983. * `,
  64984. * })
  64985. * class App {
  64986. * }
  64987. * ```
  64988. */
  64989. detach() {
  64990. this._lView[FLAGS] &= ~64
  64991. /* LViewFlags.Attached */
  64992. ;
  64993. }
  64994. /**
  64995. * Re-attaches a view to the change detection tree.
  64996. *
  64997. * This can be used to re-attach views that were previously detached from the tree
  64998. * using {@link ChangeDetectorRef#detach detach}. Views are attached to the tree by default.
  64999. *
  65000. * <!-- TODO: Add a link to a chapter on detach/reattach/local digest -->
  65001. *
  65002. * @usageNotes
  65003. * ### Example
  65004. *
  65005. * The following example creates a component displaying `live` data. The component will detach
  65006. * its change detector from the main change detector tree when the component's live property
  65007. * is set to false.
  65008. *
  65009. * ```typescript
  65010. * class DataProvider {
  65011. * data = 1;
  65012. *
  65013. * constructor() {
  65014. * setInterval(() => {
  65015. * this.data = this.data * 2;
  65016. * }, 500);
  65017. * }
  65018. * }
  65019. *
  65020. * @Component({
  65021. * selector: 'live-data',
  65022. * inputs: ['live'],
  65023. * template: 'Data: {{dataProvider.data}}'
  65024. * })
  65025. * class LiveData {
  65026. * constructor(private ref: ChangeDetectorRef, private dataProvider: DataProvider) {}
  65027. *
  65028. * set live(value) {
  65029. * if (value) {
  65030. * this.ref.reattach();
  65031. * } else {
  65032. * this.ref.detach();
  65033. * }
  65034. * }
  65035. * }
  65036. *
  65037. * @Component({
  65038. * selector: 'app-root',
  65039. * providers: [DataProvider],
  65040. * template: `
  65041. * Live Update: <input type="checkbox" [(ngModel)]="live">
  65042. * <live-data [live]="live"><live-data>
  65043. * `,
  65044. * })
  65045. * class AppComponent {
  65046. * live = true;
  65047. * }
  65048. * ```
  65049. */
  65050. reattach() {
  65051. this._lView[FLAGS] |= 64
  65052. /* LViewFlags.Attached */
  65053. ;
  65054. }
  65055. /**
  65056. * Checks the view and its children.
  65057. *
  65058. * This can also be used in combination with {@link ChangeDetectorRef#detach detach} to implement
  65059. * local change detection checks.
  65060. *
  65061. * <!-- TODO: Add a link to a chapter on detach/reattach/local digest -->
  65062. * <!-- TODO: Add a live demo once ref.detectChanges is merged into master -->
  65063. *
  65064. * @usageNotes
  65065. * ### Example
  65066. *
  65067. * The following example defines a component with a large list of readonly data.
  65068. * Imagine, the data changes constantly, many times per second. For performance reasons,
  65069. * we want to check and update the list every five seconds.
  65070. *
  65071. * We can do that by detaching the component's change detector and doing a local change detection
  65072. * check every five seconds.
  65073. *
  65074. * See {@link ChangeDetectorRef#detach detach} for more information.
  65075. */
  65076. detectChanges() {
  65077. detectChangesInternal(this._lView[TVIEW], this._lView, this.context);
  65078. }
  65079. /**
  65080. * Checks the change detector and its children, and throws if any changes are detected.
  65081. *
  65082. * This is used in development mode to verify that running change detection doesn't
  65083. * introduce other changes.
  65084. */
  65085. checkNoChanges() {
  65086. if (ngDevMode) {
  65087. checkNoChangesInternal(this._lView[TVIEW], this._lView, this.context);
  65088. }
  65089. }
  65090. attachToViewContainerRef() {
  65091. if (this._appRef) {
  65092. throw new RuntimeError(902
  65093. /* RuntimeErrorCode.VIEW_ALREADY_ATTACHED */
  65094. , ngDevMode && 'This view is already attached directly to the ApplicationRef!');
  65095. }
  65096. this._attachedToViewContainer = true;
  65097. }
  65098. detachFromAppRef() {
  65099. this._appRef = null;
  65100. renderDetachView(this._lView[TVIEW], this._lView);
  65101. }
  65102. attachToAppRef(appRef) {
  65103. if (this._attachedToViewContainer) {
  65104. throw new RuntimeError(902
  65105. /* RuntimeErrorCode.VIEW_ALREADY_ATTACHED */
  65106. , ngDevMode && 'This view is already attached to a ViewContainer!');
  65107. }
  65108. this._appRef = appRef;
  65109. }
  65110. }
  65111. /** @internal */
  65112. class RootViewRef extends ViewRef$1 {
  65113. constructor(_view) {
  65114. super(_view);
  65115. this._view = _view;
  65116. }
  65117. detectChanges() {
  65118. const lView = this._view;
  65119. const tView = lView[TVIEW];
  65120. const context = lView[CONTEXT];
  65121. detectChangesInternal(tView, lView, context, false);
  65122. }
  65123. checkNoChanges() {
  65124. if (ngDevMode) {
  65125. const lView = this._view;
  65126. const tView = lView[TVIEW];
  65127. const context = lView[CONTEXT];
  65128. checkNoChangesInternal(tView, lView, context, false);
  65129. }
  65130. }
  65131. get context() {
  65132. return null;
  65133. }
  65134. }
  65135. /**
  65136. * @license
  65137. * Copyright Google LLC All Rights Reserved.
  65138. *
  65139. * Use of this source code is governed by an MIT-style license that can be
  65140. * found in the LICENSE file at https://angular.io/license
  65141. */
  65142. class ComponentFactoryResolver extends ComponentFactoryResolver$1 {
  65143. /**
  65144. * @param ngModule The NgModuleRef to which all resolved factories are bound.
  65145. */
  65146. constructor(ngModule) {
  65147. super();
  65148. this.ngModule = ngModule;
  65149. }
  65150. resolveComponentFactory(component) {
  65151. ngDevMode && assertComponentType(component);
  65152. const componentDef = getComponentDef(component);
  65153. return new ComponentFactory(componentDef, this.ngModule);
  65154. }
  65155. }
  65156. function toRefArray(map) {
  65157. const array = [];
  65158. for (let nonMinified in map) {
  65159. if (map.hasOwnProperty(nonMinified)) {
  65160. const minified = map[nonMinified];
  65161. array.push({
  65162. propName: minified,
  65163. templateName: nonMinified
  65164. });
  65165. }
  65166. }
  65167. return array;
  65168. }
  65169. function getNamespace(elementName) {
  65170. const name = elementName.toLowerCase();
  65171. return name === 'svg' ? SVG_NAMESPACE : name === 'math' ? MATH_ML_NAMESPACE : null;
  65172. }
  65173. /**
  65174. * Injector that looks up a value using a specific injector, before falling back to the module
  65175. * injector. Used primarily when creating components or embedded views dynamically.
  65176. */
  65177. class ChainedInjector {
  65178. constructor(injector, parentInjector) {
  65179. this.injector = injector;
  65180. this.parentInjector = parentInjector;
  65181. }
  65182. get(token, notFoundValue, flags) {
  65183. const value = this.injector.get(token, NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR, flags);
  65184. if (value !== NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR || notFoundValue === NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR) {
  65185. // Return the value from the root element injector when
  65186. // - it provides it
  65187. // (value !== NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR)
  65188. // - the module injector should not be checked
  65189. // (notFoundValue === NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR)
  65190. return value;
  65191. }
  65192. return this.parentInjector.get(token, notFoundValue, flags);
  65193. }
  65194. }
  65195. /**
  65196. * ComponentFactory interface implementation.
  65197. */
  65198. class ComponentFactory extends ComponentFactory$1 {
  65199. /**
  65200. * @param componentDef The component definition.
  65201. * @param ngModule The NgModuleRef to which the factory is bound.
  65202. */
  65203. constructor(componentDef, ngModule) {
  65204. super();
  65205. this.componentDef = componentDef;
  65206. this.ngModule = ngModule;
  65207. this.componentType = componentDef.type;
  65208. this.selector = stringifyCSSSelectorList(componentDef.selectors);
  65209. this.ngContentSelectors = componentDef.ngContentSelectors ? componentDef.ngContentSelectors : [];
  65210. this.isBoundToModule = !!ngModule;
  65211. }
  65212. get inputs() {
  65213. return toRefArray(this.componentDef.inputs);
  65214. }
  65215. get outputs() {
  65216. return toRefArray(this.componentDef.outputs);
  65217. }
  65218. create(injector, projectableNodes, rootSelectorOrNode, environmentInjector) {
  65219. environmentInjector = environmentInjector || this.ngModule;
  65220. let realEnvironmentInjector = environmentInjector instanceof EnvironmentInjector ? environmentInjector : environmentInjector === null || environmentInjector === void 0 ? void 0 : environmentInjector.injector;
  65221. if (realEnvironmentInjector && this.componentDef.getStandaloneInjector !== null) {
  65222. realEnvironmentInjector = this.componentDef.getStandaloneInjector(realEnvironmentInjector) || realEnvironmentInjector;
  65223. }
  65224. const rootViewInjector = realEnvironmentInjector ? new ChainedInjector(injector, realEnvironmentInjector) : injector;
  65225. const rendererFactory = rootViewInjector.get(RendererFactory2, null);
  65226. if (rendererFactory === null) {
  65227. throw new RuntimeError(407
  65228. /* RuntimeErrorCode.RENDERER_NOT_FOUND */
  65229. , ngDevMode && 'Angular was not able to inject a renderer (RendererFactory2). ' + 'Likely this is due to a broken DI hierarchy. ' + 'Make sure that any injector used to create this component has a correct parent.');
  65230. }
  65231. const sanitizer = rootViewInjector.get(Sanitizer, null);
  65232. const hostRenderer = rendererFactory.createRenderer(null, this.componentDef); // Determine a tag name used for creating host elements when this component is created
  65233. // dynamically. Default to 'div' if this component did not specify any tag name in its selector.
  65234. const elementName = this.componentDef.selectors[0][0] || 'div';
  65235. const hostRNode = rootSelectorOrNode ? locateHostElement(hostRenderer, rootSelectorOrNode, this.componentDef.encapsulation) : createElementNode(rendererFactory.createRenderer(null, this.componentDef), elementName, getNamespace(elementName));
  65236. const rootFlags = this.componentDef.onPush ? 32
  65237. /* LViewFlags.Dirty */
  65238. | 256
  65239. /* LViewFlags.IsRoot */
  65240. : 16
  65241. /* LViewFlags.CheckAlways */
  65242. | 256
  65243. /* LViewFlags.IsRoot */
  65244. ; // Create the root view. Uses empty TView and ContentTemplate.
  65245. const rootTView = createTView(0
  65246. /* TViewType.Root */
  65247. , null, null, 1, 0, null, null, null, null, null);
  65248. const rootLView = createLView(null, rootTView, null, rootFlags, null, null, rendererFactory, hostRenderer, sanitizer, rootViewInjector, null); // rootView is the parent when bootstrapping
  65249. // TODO(misko): it looks like we are entering view here but we don't really need to as
  65250. // `renderView` does that. However as the code is written it is needed because
  65251. // `createRootComponentView` and `createRootComponent` both read global state. Fixing those
  65252. // issues would allow us to drop this.
  65253. enterView(rootLView);
  65254. let component;
  65255. let tElementNode;
  65256. try {
  65257. const componentView = createRootComponentView(hostRNode, this.componentDef, rootLView, rendererFactory, hostRenderer);
  65258. if (hostRNode) {
  65259. if (rootSelectorOrNode) {
  65260. setUpAttributes(hostRenderer, hostRNode, ['ng-version', VERSION.full]);
  65261. } else {
  65262. // If host element is created as a part of this function call (i.e. `rootSelectorOrNode`
  65263. // is not defined), also apply attributes and classes extracted from component selector.
  65264. // Extract attributes and classes from the first selector only to match VE behavior.
  65265. const {
  65266. attrs,
  65267. classes
  65268. } = extractAttrsAndClassesFromSelector(this.componentDef.selectors[0]);
  65269. if (attrs) {
  65270. setUpAttributes(hostRenderer, hostRNode, attrs);
  65271. }
  65272. if (classes && classes.length > 0) {
  65273. writeDirectClass(hostRenderer, hostRNode, classes.join(' '));
  65274. }
  65275. }
  65276. }
  65277. tElementNode = getTNode(rootTView, HEADER_OFFSET);
  65278. if (projectableNodes !== undefined) {
  65279. const projection = tElementNode.projection = [];
  65280. for (let i = 0; i < this.ngContentSelectors.length; i++) {
  65281. const nodesforSlot = projectableNodes[i]; // Projectable nodes can be passed as array of arrays or an array of iterables (ngUpgrade
  65282. // case). Here we do normalize passed data structure to be an array of arrays to avoid
  65283. // complex checks down the line.
  65284. // We also normalize the length of the passed in projectable nodes (to match the number of
  65285. // <ng-container> slots defined by a component).
  65286. projection.push(nodesforSlot != null ? Array.from(nodesforSlot) : null);
  65287. }
  65288. } // TODO: should LifecycleHooksFeature and other host features be generated by the compiler and
  65289. // executed here?
  65290. // Angular 5 reference: https://stackblitz.com/edit/lifecycle-hooks-vcref
  65291. component = createRootComponent(componentView, this.componentDef, rootLView, [LifecycleHooksFeature]);
  65292. renderView(rootTView, rootLView, null);
  65293. } finally {
  65294. leaveView();
  65295. }
  65296. return new ComponentRef(this.componentType, component, createElementRef(tElementNode, rootLView), rootLView, tElementNode);
  65297. }
  65298. }
  65299. const componentFactoryResolver = new ComponentFactoryResolver();
  65300. /**
  65301. * Creates a ComponentFactoryResolver and stores it on the injector. Or, if the
  65302. * ComponentFactoryResolver
  65303. * already exists, retrieves the existing ComponentFactoryResolver.
  65304. *
  65305. * @returns The ComponentFactoryResolver instance to use
  65306. */
  65307. function injectComponentFactoryResolver() {
  65308. return componentFactoryResolver;
  65309. }
  65310. /**
  65311. * Represents an instance of a Component created via a {@link ComponentFactory}.
  65312. *
  65313. * `ComponentRef` provides access to the Component Instance as well other objects related to this
  65314. * Component Instance and allows you to destroy the Component Instance via the {@link #destroy}
  65315. * method.
  65316. *
  65317. */
  65318. class ComponentRef extends ComponentRef$1 {
  65319. constructor(componentType, instance, location, _rootLView, _tNode) {
  65320. super();
  65321. this.location = location;
  65322. this._rootLView = _rootLView;
  65323. this._tNode = _tNode;
  65324. this.instance = instance;
  65325. this.hostView = this.changeDetectorRef = new RootViewRef(_rootLView);
  65326. this.componentType = componentType;
  65327. }
  65328. setInput(name, value) {
  65329. const inputData = this._tNode.inputs;
  65330. let dataValue;
  65331. if (inputData !== null && (dataValue = inputData[name])) {
  65332. const lView = this._rootLView;
  65333. setInputsForProperty(lView[TVIEW], lView, dataValue, name, value);
  65334. markDirtyIfOnPush(lView, this._tNode.index);
  65335. } else {
  65336. if (ngDevMode) {
  65337. const cmpNameForError = stringifyForError(this.componentType);
  65338. let message = `Can't set value of the '${name}' input on the '${cmpNameForError}' component. `;
  65339. message += `Make sure that the '${name}' property is annotated with @Input() or a mapped @Input('${name}') exists.`;
  65340. reportUnknownPropertyError(message);
  65341. }
  65342. }
  65343. }
  65344. get injector() {
  65345. return new NodeInjector(this._tNode, this._rootLView);
  65346. }
  65347. destroy() {
  65348. this.hostView.destroy();
  65349. }
  65350. onDestroy(callback) {
  65351. this.hostView.onDestroy(callback);
  65352. }
  65353. } // TODO: A hack to not pull in the NullInjector from @angular/core.
  65354. const NULL_INJECTOR = {
  65355. get: (token, notFoundValue) => {
  65356. throwProviderNotFoundError(token, 'NullInjector');
  65357. }
  65358. };
  65359. /**
  65360. * Creates the root component view and the root component node.
  65361. *
  65362. * @param rNode Render host element.
  65363. * @param def ComponentDef
  65364. * @param rootView The parent view where the host node is stored
  65365. * @param rendererFactory Factory to be used for creating child renderers.
  65366. * @param hostRenderer The current renderer
  65367. * @param sanitizer The sanitizer, if provided
  65368. *
  65369. * @returns Component view created
  65370. */
  65371. function createRootComponentView(rNode, def, rootView, rendererFactory, hostRenderer, sanitizer) {
  65372. const tView = rootView[TVIEW];
  65373. const index = HEADER_OFFSET;
  65374. ngDevMode && assertIndexInRange(rootView, index);
  65375. rootView[index] = rNode; // '#host' is added here as we don't know the real host DOM name (we don't want to read it) and at
  65376. // the same time we want to communicate the debug `TNode` that this is a special `TNode`
  65377. // representing a host element.
  65378. const tNode = getOrCreateTNode(tView, index, 2
  65379. /* TNodeType.Element */
  65380. , '#host', null);
  65381. const mergedAttrs = tNode.mergedAttrs = def.hostAttrs;
  65382. if (mergedAttrs !== null) {
  65383. computeStaticStyling(tNode, mergedAttrs, true);
  65384. if (rNode !== null) {
  65385. setUpAttributes(hostRenderer, rNode, mergedAttrs);
  65386. if (tNode.classes !== null) {
  65387. writeDirectClass(hostRenderer, rNode, tNode.classes);
  65388. }
  65389. if (tNode.styles !== null) {
  65390. writeDirectStyle(hostRenderer, rNode, tNode.styles);
  65391. }
  65392. }
  65393. }
  65394. const viewRenderer = rendererFactory.createRenderer(rNode, def);
  65395. const componentView = createLView(rootView, getOrCreateComponentTView(def), null, def.onPush ? 32
  65396. /* LViewFlags.Dirty */
  65397. : 16
  65398. /* LViewFlags.CheckAlways */
  65399. , rootView[index], tNode, rendererFactory, viewRenderer, sanitizer || null, null, null);
  65400. if (tView.firstCreatePass) {
  65401. diPublicInInjector(getOrCreateNodeInjectorForNode(tNode, rootView), tView, def.type);
  65402. markAsComponentHost(tView, tNode);
  65403. initTNodeFlags(tNode, rootView.length, 1);
  65404. }
  65405. addToViewTree(rootView, componentView); // Store component view at node index, with node as the HOST
  65406. return rootView[index] = componentView;
  65407. }
  65408. /**
  65409. * Creates a root component and sets it up with features and host bindings.Shared by
  65410. * renderComponent() and ViewContainerRef.createComponent().
  65411. */
  65412. function createRootComponent(componentView, componentDef, rootLView, hostFeatures) {
  65413. const tView = rootLView[TVIEW]; // Create directive instance with factory() and store at next index in viewData
  65414. const component = instantiateRootComponent(tView, rootLView, componentDef); // Root view only contains an instance of this component,
  65415. // so we use a reference to that component instance as a context.
  65416. componentView[CONTEXT] = rootLView[CONTEXT] = component;
  65417. if (hostFeatures !== null) {
  65418. for (const feature of hostFeatures) {
  65419. feature(component, componentDef);
  65420. }
  65421. } // We want to generate an empty QueryList for root content queries for backwards
  65422. // compatibility with ViewEngine.
  65423. if (componentDef.contentQueries) {
  65424. const tNode = getCurrentTNode();
  65425. ngDevMode && assertDefined(tNode, 'TNode expected');
  65426. componentDef.contentQueries(1
  65427. /* RenderFlags.Create */
  65428. , component, tNode.directiveStart);
  65429. }
  65430. const rootTNode = getCurrentTNode();
  65431. ngDevMode && assertDefined(rootTNode, 'tNode should have been already created');
  65432. if (tView.firstCreatePass && (componentDef.hostBindings !== null || componentDef.hostAttrs !== null)) {
  65433. setSelectedIndex(rootTNode.index);
  65434. const rootTView = rootLView[TVIEW];
  65435. registerHostBindingOpCodes(rootTView, rootTNode, rootLView, rootTNode.directiveStart, rootTNode.directiveEnd, componentDef);
  65436. invokeHostBindingsInCreationMode(componentDef, component);
  65437. }
  65438. return component;
  65439. }
  65440. /**
  65441. * Used to enable lifecycle hooks on the root component.
  65442. *
  65443. * Include this feature when calling `renderComponent` if the root component
  65444. * you are rendering has lifecycle hooks defined. Otherwise, the hooks won't
  65445. * be called properly.
  65446. *
  65447. * Example:
  65448. *
  65449. * ```
  65450. * renderComponent(AppComponent, {hostFeatures: [LifecycleHooksFeature]});
  65451. * ```
  65452. */
  65453. function LifecycleHooksFeature() {
  65454. const tNode = getCurrentTNode();
  65455. ngDevMode && assertDefined(tNode, 'TNode is required');
  65456. registerPostOrderHooks(getLView()[TVIEW], tNode);
  65457. }
  65458. /**
  65459. * @license
  65460. * Copyright Google LLC All Rights Reserved.
  65461. *
  65462. * Use of this source code is governed by an MIT-style license that can be
  65463. * found in the LICENSE file at https://angular.io/license
  65464. */
  65465. function getSuperType(type) {
  65466. return Object.getPrototypeOf(type.prototype).constructor;
  65467. }
  65468. /**
  65469. * Merges the definition from a super class to a sub class.
  65470. * @param definition The definition that is a SubClass of another directive of component
  65471. *
  65472. * @codeGenApi
  65473. */
  65474. function ɵɵInheritDefinitionFeature(definition) {
  65475. let superType = getSuperType(definition.type);
  65476. let shouldInheritFields = true;
  65477. const inheritanceChain = [definition];
  65478. while (superType) {
  65479. let superDef = undefined;
  65480. if (isComponentDef(definition)) {
  65481. // Don't use getComponentDef/getDirectiveDef. This logic relies on inheritance.
  65482. superDef = superType.ɵcmp || superType.ɵdir;
  65483. } else {
  65484. if (superType.ɵcmp) {
  65485. throw new RuntimeError(903
  65486. /* RuntimeErrorCode.INVALID_INHERITANCE */
  65487. , ngDevMode && `Directives cannot inherit Components. Directive ${stringifyForError(definition.type)} is attempting to extend component ${stringifyForError(superType)}`);
  65488. } // Don't use getComponentDef/getDirectiveDef. This logic relies on inheritance.
  65489. superDef = superType.ɵdir;
  65490. }
  65491. if (superDef) {
  65492. if (shouldInheritFields) {
  65493. inheritanceChain.push(superDef); // Some fields in the definition may be empty, if there were no values to put in them that
  65494. // would've justified object creation. Unwrap them if necessary.
  65495. const writeableDef = definition;
  65496. writeableDef.inputs = maybeUnwrapEmpty(definition.inputs);
  65497. writeableDef.declaredInputs = maybeUnwrapEmpty(definition.declaredInputs);
  65498. writeableDef.outputs = maybeUnwrapEmpty(definition.outputs); // Merge hostBindings
  65499. const superHostBindings = superDef.hostBindings;
  65500. superHostBindings && inheritHostBindings(definition, superHostBindings); // Merge queries
  65501. const superViewQuery = superDef.viewQuery;
  65502. const superContentQueries = superDef.contentQueries;
  65503. superViewQuery && inheritViewQuery(definition, superViewQuery);
  65504. superContentQueries && inheritContentQueries(definition, superContentQueries); // Merge inputs and outputs
  65505. fillProperties(definition.inputs, superDef.inputs);
  65506. fillProperties(definition.declaredInputs, superDef.declaredInputs);
  65507. fillProperties(definition.outputs, superDef.outputs); // Merge animations metadata.
  65508. // If `superDef` is a Component, the `data` field is present (defaults to an empty object).
  65509. if (isComponentDef(superDef) && superDef.data.animation) {
  65510. // If super def is a Component, the `definition` is also a Component, since Directives can
  65511. // not inherit Components (we throw an error above and cannot reach this code).
  65512. const defData = definition.data;
  65513. defData.animation = (defData.animation || []).concat(superDef.data.animation);
  65514. }
  65515. } // Run parent features
  65516. const features = superDef.features;
  65517. if (features) {
  65518. for (let i = 0; i < features.length; i++) {
  65519. const feature = features[i];
  65520. if (feature && feature.ngInherit) {
  65521. feature(definition);
  65522. } // If `InheritDefinitionFeature` is a part of the current `superDef`, it means that this
  65523. // def already has all the necessary information inherited from its super class(es), so we
  65524. // can stop merging fields from super classes. However we need to iterate through the
  65525. // prototype chain to look for classes that might contain other "features" (like
  65526. // NgOnChanges), which we should invoke for the original `definition`. We set the
  65527. // `shouldInheritFields` flag to indicate that, essentially skipping fields inheritance
  65528. // logic and only invoking functions from the "features" list.
  65529. if (feature === ɵɵInheritDefinitionFeature) {
  65530. shouldInheritFields = false;
  65531. }
  65532. }
  65533. }
  65534. }
  65535. superType = Object.getPrototypeOf(superType);
  65536. }
  65537. mergeHostAttrsAcrossInheritance(inheritanceChain);
  65538. }
  65539. /**
  65540. * Merge the `hostAttrs` and `hostVars` from the inherited parent to the base class.
  65541. *
  65542. * @param inheritanceChain A list of `WritableDefs` starting at the top most type and listing
  65543. * sub-types in order. For each type take the `hostAttrs` and `hostVars` and merge it with the child
  65544. * type.
  65545. */
  65546. function mergeHostAttrsAcrossInheritance(inheritanceChain) {
  65547. let hostVars = 0;
  65548. let hostAttrs = null; // We process the inheritance order from the base to the leaves here.
  65549. for (let i = inheritanceChain.length - 1; i >= 0; i--) {
  65550. const def = inheritanceChain[i]; // For each `hostVars`, we need to add the superclass amount.
  65551. def.hostVars = hostVars += def.hostVars; // for each `hostAttrs` we need to merge it with superclass.
  65552. def.hostAttrs = mergeHostAttrs(def.hostAttrs, hostAttrs = mergeHostAttrs(hostAttrs, def.hostAttrs));
  65553. }
  65554. }
  65555. function maybeUnwrapEmpty(value) {
  65556. if (value === EMPTY_OBJ) {
  65557. return {};
  65558. } else if (value === EMPTY_ARRAY) {
  65559. return [];
  65560. } else {
  65561. return value;
  65562. }
  65563. }
  65564. function inheritViewQuery(definition, superViewQuery) {
  65565. const prevViewQuery = definition.viewQuery;
  65566. if (prevViewQuery) {
  65567. definition.viewQuery = (rf, ctx) => {
  65568. superViewQuery(rf, ctx);
  65569. prevViewQuery(rf, ctx);
  65570. };
  65571. } else {
  65572. definition.viewQuery = superViewQuery;
  65573. }
  65574. }
  65575. function inheritContentQueries(definition, superContentQueries) {
  65576. const prevContentQueries = definition.contentQueries;
  65577. if (prevContentQueries) {
  65578. definition.contentQueries = (rf, ctx, directiveIndex) => {
  65579. superContentQueries(rf, ctx, directiveIndex);
  65580. prevContentQueries(rf, ctx, directiveIndex);
  65581. };
  65582. } else {
  65583. definition.contentQueries = superContentQueries;
  65584. }
  65585. }
  65586. function inheritHostBindings(definition, superHostBindings) {
  65587. const prevHostBindings = definition.hostBindings;
  65588. if (prevHostBindings) {
  65589. definition.hostBindings = (rf, ctx) => {
  65590. superHostBindings(rf, ctx);
  65591. prevHostBindings(rf, ctx);
  65592. };
  65593. } else {
  65594. definition.hostBindings = superHostBindings;
  65595. }
  65596. }
  65597. /**
  65598. * @license
  65599. * Copyright Google LLC All Rights Reserved.
  65600. *
  65601. * Use of this source code is governed by an MIT-style license that can be
  65602. * found in the LICENSE file at https://angular.io/license
  65603. */
  65604. /**
  65605. * Fields which exist on either directive or component definitions, and need to be copied from
  65606. * parent to child classes by the `ɵɵCopyDefinitionFeature`.
  65607. */
  65608. const COPY_DIRECTIVE_FIELDS = [// The child class should use the providers of its parent.
  65609. 'providersResolver' // Not listed here are any fields which are handled by the `ɵɵInheritDefinitionFeature`, such
  65610. // as inputs, outputs, and host binding functions.
  65611. ];
  65612. /**
  65613. * Fields which exist only on component definitions, and need to be copied from parent to child
  65614. * classes by the `ɵɵCopyDefinitionFeature`.
  65615. *
  65616. * The type here allows any field of `ComponentDef` which is not also a property of `DirectiveDef`,
  65617. * since those should go in `COPY_DIRECTIVE_FIELDS` above.
  65618. */
  65619. const COPY_COMPONENT_FIELDS = [// The child class should use the template function of its parent, including all template
  65620. // semantics.
  65621. 'template', 'decls', 'consts', 'vars', 'onPush', 'ngContentSelectors', // The child class should use the CSS styles of its parent, including all styling semantics.
  65622. 'styles', 'encapsulation', // The child class should be checked by the runtime in the same way as its parent.
  65623. 'schemas'];
  65624. /**
  65625. * Copies the fields not handled by the `ɵɵInheritDefinitionFeature` from the supertype of a
  65626. * definition.
  65627. *
  65628. * This exists primarily to support ngcc migration of an existing View Engine pattern, where an
  65629. * entire decorator is inherited from a parent to a child class. When ngcc detects this case, it
  65630. * generates a skeleton definition on the child class, and applies this feature.
  65631. *
  65632. * The `ɵɵCopyDefinitionFeature` then copies any needed fields from the parent class' definition,
  65633. * including things like the component template function.
  65634. *
  65635. * @param definition The definition of a child class which inherits from a parent class with its
  65636. * own definition.
  65637. *
  65638. * @codeGenApi
  65639. */
  65640. function ɵɵCopyDefinitionFeature(definition) {
  65641. let superType = getSuperType(definition.type);
  65642. let superDef = undefined;
  65643. if (isComponentDef(definition)) {
  65644. // Don't use getComponentDef/getDirectiveDef. This logic relies on inheritance.
  65645. superDef = superType.ɵcmp;
  65646. } else {
  65647. // Don't use getComponentDef/getDirectiveDef. This logic relies on inheritance.
  65648. superDef = superType.ɵdir;
  65649. } // Needed because `definition` fields are readonly.
  65650. const defAny = definition; // Copy over any fields that apply to either directives or components.
  65651. for (const field of COPY_DIRECTIVE_FIELDS) {
  65652. defAny[field] = superDef[field];
  65653. }
  65654. if (isComponentDef(superDef)) {
  65655. // Copy over any component-specific fields.
  65656. for (const field of COPY_COMPONENT_FIELDS) {
  65657. defAny[field] = superDef[field];
  65658. }
  65659. }
  65660. }
  65661. /**
  65662. * @license
  65663. * Copyright Google LLC All Rights Reserved.
  65664. *
  65665. * Use of this source code is governed by an MIT-style license that can be
  65666. * found in the LICENSE file at https://angular.io/license
  65667. */
  65668. let _symbolIterator = null;
  65669. function getSymbolIterator() {
  65670. if (!_symbolIterator) {
  65671. const Symbol = _global['Symbol'];
  65672. if (Symbol && Symbol.iterator) {
  65673. _symbolIterator = Symbol.iterator;
  65674. } else {
  65675. // es6-shim specific logic
  65676. const keys = Object.getOwnPropertyNames(Map.prototype);
  65677. for (let i = 0; i < keys.length; ++i) {
  65678. const key = keys[i];
  65679. if (key !== 'entries' && key !== 'size' && Map.prototype[key] === Map.prototype['entries']) {
  65680. _symbolIterator = key;
  65681. }
  65682. }
  65683. }
  65684. }
  65685. return _symbolIterator;
  65686. }
  65687. /**
  65688. * @license
  65689. * Copyright Google LLC All Rights Reserved.
  65690. *
  65691. * Use of this source code is governed by an MIT-style license that can be
  65692. * found in the LICENSE file at https://angular.io/license
  65693. */
  65694. function isIterable(obj) {
  65695. return obj !== null && typeof obj === 'object' && obj[getSymbolIterator()] !== undefined;
  65696. }
  65697. function isListLikeIterable(obj) {
  65698. if (!isJsObject(obj)) return false;
  65699. return Array.isArray(obj) || !(obj instanceof Map) && // JS Map are iterables but return entries as [k, v]
  65700. getSymbolIterator() in obj; // JS Iterable have a Symbol.iterator prop
  65701. }
  65702. function areIterablesEqual(a, b, comparator) {
  65703. const iterator1 = a[getSymbolIterator()]();
  65704. const iterator2 = b[getSymbolIterator()]();
  65705. while (true) {
  65706. const item1 = iterator1.next();
  65707. const item2 = iterator2.next();
  65708. if (item1.done && item2.done) return true;
  65709. if (item1.done || item2.done) return false;
  65710. if (!comparator(item1.value, item2.value)) return false;
  65711. }
  65712. }
  65713. function iterateListLike(obj, fn) {
  65714. if (Array.isArray(obj)) {
  65715. for (let i = 0; i < obj.length; i++) {
  65716. fn(obj[i]);
  65717. }
  65718. } else {
  65719. const iterator = obj[getSymbolIterator()]();
  65720. let item;
  65721. while (!(item = iterator.next()).done) {
  65722. fn(item.value);
  65723. }
  65724. }
  65725. }
  65726. function isJsObject(o) {
  65727. return o !== null && (typeof o === 'function' || typeof o === 'object');
  65728. }
  65729. /**
  65730. * @license
  65731. * Copyright Google LLC All Rights Reserved.
  65732. *
  65733. * Use of this source code is governed by an MIT-style license that can be
  65734. * found in the LICENSE file at https://angular.io/license
  65735. */
  65736. function devModeEqual(a, b) {
  65737. const isListLikeIterableA = isListLikeIterable(a);
  65738. const isListLikeIterableB = isListLikeIterable(b);
  65739. if (isListLikeIterableA && isListLikeIterableB) {
  65740. return areIterablesEqual(a, b, devModeEqual);
  65741. } else {
  65742. const isAObject = a && (typeof a === 'object' || typeof a === 'function');
  65743. const isBObject = b && (typeof b === 'object' || typeof b === 'function');
  65744. if (!isListLikeIterableA && isAObject && !isListLikeIterableB && isBObject) {
  65745. return true;
  65746. } else {
  65747. return Object.is(a, b);
  65748. }
  65749. }
  65750. }
  65751. /**
  65752. * @license
  65753. * Copyright Google LLC All Rights Reserved.
  65754. *
  65755. * Use of this source code is governed by an MIT-style license that can be
  65756. * found in the LICENSE file at https://angular.io/license
  65757. */
  65758. // TODO(misko): consider inlining
  65759. /** Updates binding and returns the value. */
  65760. function updateBinding(lView, bindingIndex, value) {
  65761. return lView[bindingIndex] = value;
  65762. }
  65763. /** Gets the current binding value. */
  65764. function getBinding(lView, bindingIndex) {
  65765. ngDevMode && assertIndexInRange(lView, bindingIndex);
  65766. ngDevMode && assertNotSame(lView[bindingIndex], NO_CHANGE, 'Stored value should never be NO_CHANGE.');
  65767. return lView[bindingIndex];
  65768. }
  65769. /**
  65770. * Updates binding if changed, then returns whether it was updated.
  65771. *
  65772. * This function also checks the `CheckNoChangesMode` and throws if changes are made.
  65773. * Some changes (Objects/iterables) during `CheckNoChangesMode` are exempt to comply with VE
  65774. * behavior.
  65775. *
  65776. * @param lView current `LView`
  65777. * @param bindingIndex The binding in the `LView` to check
  65778. * @param value New value to check against `lView[bindingIndex]`
  65779. * @returns `true` if the bindings has changed. (Throws if binding has changed during
  65780. * `CheckNoChangesMode`)
  65781. */
  65782. function bindingUpdated(lView, bindingIndex, value) {
  65783. ngDevMode && assertNotSame(value, NO_CHANGE, 'Incoming value should never be NO_CHANGE.');
  65784. ngDevMode && assertLessThan(bindingIndex, lView.length, `Slot should have been initialized to NO_CHANGE`);
  65785. const oldValue = lView[bindingIndex];
  65786. if (Object.is(oldValue, value)) {
  65787. return false;
  65788. } else {
  65789. if (ngDevMode && isInCheckNoChangesMode()) {
  65790. // View engine didn't report undefined values as changed on the first checkNoChanges pass
  65791. // (before the change detection was run).
  65792. const oldValueToCompare = oldValue !== NO_CHANGE ? oldValue : undefined;
  65793. if (!devModeEqual(oldValueToCompare, value)) {
  65794. const details = getExpressionChangedErrorDetails(lView, bindingIndex, oldValueToCompare, value);
  65795. throwErrorIfNoChangesMode(oldValue === NO_CHANGE, details.oldValue, details.newValue, details.propName);
  65796. } // There was a change, but the `devModeEqual` decided that the change is exempt from an error.
  65797. // For this reason we exit as if no change. The early exit is needed to prevent the changed
  65798. // value to be written into `LView` (If we would write the new value that we would not see it
  65799. // as change on next CD.)
  65800. return false;
  65801. }
  65802. lView[bindingIndex] = value;
  65803. return true;
  65804. }
  65805. }
  65806. /** Updates 2 bindings if changed, then returns whether either was updated. */
  65807. function bindingUpdated2(lView, bindingIndex, exp1, exp2) {
  65808. const different = bindingUpdated(lView, bindingIndex, exp1);
  65809. return bindingUpdated(lView, bindingIndex + 1, exp2) || different;
  65810. }
  65811. /** Updates 3 bindings if changed, then returns whether any was updated. */
  65812. function bindingUpdated3(lView, bindingIndex, exp1, exp2, exp3) {
  65813. const different = bindingUpdated2(lView, bindingIndex, exp1, exp2);
  65814. return bindingUpdated(lView, bindingIndex + 2, exp3) || different;
  65815. }
  65816. /** Updates 4 bindings if changed, then returns whether any was updated. */
  65817. function bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4) {
  65818. const different = bindingUpdated2(lView, bindingIndex, exp1, exp2);
  65819. return bindingUpdated2(lView, bindingIndex + 2, exp3, exp4) || different;
  65820. }
  65821. /**
  65822. * @license
  65823. * Copyright Google LLC All Rights Reserved.
  65824. *
  65825. * Use of this source code is governed by an MIT-style license that can be
  65826. * found in the LICENSE file at https://angular.io/license
  65827. */
  65828. /**
  65829. * Updates the value of or removes a bound attribute on an Element.
  65830. *
  65831. * Used in the case of `[attr.title]="value"`
  65832. *
  65833. * @param name name The name of the attribute.
  65834. * @param value value The attribute is removed when value is `null` or `undefined`.
  65835. * Otherwise the attribute value is set to the stringified value.
  65836. * @param sanitizer An optional function used to sanitize the value.
  65837. * @param namespace Optional namespace to use when setting the attribute.
  65838. *
  65839. * @codeGenApi
  65840. */
  65841. function ɵɵattribute(name, value, sanitizer, namespace) {
  65842. const lView = getLView();
  65843. const bindingIndex = nextBindingIndex();
  65844. if (bindingUpdated(lView, bindingIndex, value)) {
  65845. const tView = getTView();
  65846. const tNode = getSelectedTNode();
  65847. elementAttributeInternal(tNode, lView, name, value, sanitizer, namespace);
  65848. ngDevMode && storePropertyBindingMetadata(tView.data, tNode, 'attr.' + name, bindingIndex);
  65849. }
  65850. return ɵɵattribute;
  65851. }
  65852. /**
  65853. * @license
  65854. * Copyright Google LLC All Rights Reserved.
  65855. *
  65856. * Use of this source code is governed by an MIT-style license that can be
  65857. * found in the LICENSE file at https://angular.io/license
  65858. */
  65859. /**
  65860. * Create interpolation bindings with a variable number of expressions.
  65861. *
  65862. * If there are 1 to 8 expressions `interpolation1()` to `interpolation8()` should be used instead.
  65863. * Those are faster because there is no need to create an array of expressions and iterate over it.
  65864. *
  65865. * `values`:
  65866. * - has static text at even indexes,
  65867. * - has evaluated expressions at odd indexes.
  65868. *
  65869. * Returns the concatenated string when any of the arguments changes, `NO_CHANGE` otherwise.
  65870. */
  65871. function interpolationV(lView, values) {
  65872. ngDevMode && assertLessThan(2, values.length, 'should have at least 3 values');
  65873. ngDevMode && assertEqual(values.length % 2, 1, 'should have an odd number of values');
  65874. let isBindingUpdated = false;
  65875. let bindingIndex = getBindingIndex();
  65876. for (let i = 1; i < values.length; i += 2) {
  65877. // Check if bindings (odd indexes) have changed
  65878. isBindingUpdated = bindingUpdated(lView, bindingIndex++, values[i]) || isBindingUpdated;
  65879. }
  65880. setBindingIndex(bindingIndex);
  65881. if (!isBindingUpdated) {
  65882. return NO_CHANGE;
  65883. } // Build the updated content
  65884. let content = values[0];
  65885. for (let i = 1; i < values.length; i += 2) {
  65886. content += renderStringify(values[i]) + values[i + 1];
  65887. }
  65888. return content;
  65889. }
  65890. /**
  65891. * Creates an interpolation binding with 1 expression.
  65892. *
  65893. * @param prefix static value used for concatenation only.
  65894. * @param v0 value checked for change.
  65895. * @param suffix static value used for concatenation only.
  65896. */
  65897. function interpolation1(lView, prefix, v0, suffix) {
  65898. const different = bindingUpdated(lView, nextBindingIndex(), v0);
  65899. return different ? prefix + renderStringify(v0) + suffix : NO_CHANGE;
  65900. }
  65901. /**
  65902. * Creates an interpolation binding with 2 expressions.
  65903. */
  65904. function interpolation2(lView, prefix, v0, i0, v1, suffix) {
  65905. const bindingIndex = getBindingIndex();
  65906. const different = bindingUpdated2(lView, bindingIndex, v0, v1);
  65907. incrementBindingIndex(2);
  65908. return different ? prefix + renderStringify(v0) + i0 + renderStringify(v1) + suffix : NO_CHANGE;
  65909. }
  65910. /**
  65911. * Creates an interpolation binding with 3 expressions.
  65912. */
  65913. function interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix) {
  65914. const bindingIndex = getBindingIndex();
  65915. const different = bindingUpdated3(lView, bindingIndex, v0, v1, v2);
  65916. incrementBindingIndex(3);
  65917. return different ? prefix + renderStringify(v0) + i0 + renderStringify(v1) + i1 + renderStringify(v2) + suffix : NO_CHANGE;
  65918. }
  65919. /**
  65920. * Create an interpolation binding with 4 expressions.
  65921. */
  65922. function interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix) {
  65923. const bindingIndex = getBindingIndex();
  65924. const different = bindingUpdated4(lView, bindingIndex, v0, v1, v2, v3);
  65925. incrementBindingIndex(4);
  65926. return different ? prefix + renderStringify(v0) + i0 + renderStringify(v1) + i1 + renderStringify(v2) + i2 + renderStringify(v3) + suffix : NO_CHANGE;
  65927. }
  65928. /**
  65929. * Creates an interpolation binding with 5 expressions.
  65930. */
  65931. function interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix) {
  65932. const bindingIndex = getBindingIndex();
  65933. let different = bindingUpdated4(lView, bindingIndex, v0, v1, v2, v3);
  65934. different = bindingUpdated(lView, bindingIndex + 4, v4) || different;
  65935. incrementBindingIndex(5);
  65936. return different ? prefix + renderStringify(v0) + i0 + renderStringify(v1) + i1 + renderStringify(v2) + i2 + renderStringify(v3) + i3 + renderStringify(v4) + suffix : NO_CHANGE;
  65937. }
  65938. /**
  65939. * Creates an interpolation binding with 6 expressions.
  65940. */
  65941. function interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix) {
  65942. const bindingIndex = getBindingIndex();
  65943. let different = bindingUpdated4(lView, bindingIndex, v0, v1, v2, v3);
  65944. different = bindingUpdated2(lView, bindingIndex + 4, v4, v5) || different;
  65945. incrementBindingIndex(6);
  65946. return different ? prefix + renderStringify(v0) + i0 + renderStringify(v1) + i1 + renderStringify(v2) + i2 + renderStringify(v3) + i3 + renderStringify(v4) + i4 + renderStringify(v5) + suffix : NO_CHANGE;
  65947. }
  65948. /**
  65949. * Creates an interpolation binding with 7 expressions.
  65950. */
  65951. function interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix) {
  65952. const bindingIndex = getBindingIndex();
  65953. let different = bindingUpdated4(lView, bindingIndex, v0, v1, v2, v3);
  65954. different = bindingUpdated3(lView, bindingIndex + 4, v4, v5, v6) || different;
  65955. incrementBindingIndex(7);
  65956. return different ? prefix + renderStringify(v0) + i0 + renderStringify(v1) + i1 + renderStringify(v2) + i2 + renderStringify(v3) + i3 + renderStringify(v4) + i4 + renderStringify(v5) + i5 + renderStringify(v6) + suffix : NO_CHANGE;
  65957. }
  65958. /**
  65959. * Creates an interpolation binding with 8 expressions.
  65960. */
  65961. function interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix) {
  65962. const bindingIndex = getBindingIndex();
  65963. let different = bindingUpdated4(lView, bindingIndex, v0, v1, v2, v3);
  65964. different = bindingUpdated4(lView, bindingIndex + 4, v4, v5, v6, v7) || different;
  65965. incrementBindingIndex(8);
  65966. return different ? prefix + renderStringify(v0) + i0 + renderStringify(v1) + i1 + renderStringify(v2) + i2 + renderStringify(v3) + i3 + renderStringify(v4) + i4 + renderStringify(v5) + i5 + renderStringify(v6) + i6 + renderStringify(v7) + suffix : NO_CHANGE;
  65967. }
  65968. /**
  65969. *
  65970. * Update an interpolated attribute on an element with single bound value surrounded by text.
  65971. *
  65972. * Used when the value passed to a property has 1 interpolated value in it:
  65973. *
  65974. * ```html
  65975. * <div attr.title="prefix{{v0}}suffix"></div>
  65976. * ```
  65977. *
  65978. * Its compiled representation is::
  65979. *
  65980. * ```ts
  65981. * ɵɵattributeInterpolate1('title', 'prefix', v0, 'suffix');
  65982. * ```
  65983. *
  65984. * @param attrName The name of the attribute to update
  65985. * @param prefix Static value used for concatenation only.
  65986. * @param v0 Value checked for change.
  65987. * @param suffix Static value used for concatenation only.
  65988. * @param sanitizer An optional sanitizer function
  65989. * @returns itself, so that it may be chained.
  65990. * @codeGenApi
  65991. */
  65992. function ɵɵattributeInterpolate1(attrName, prefix, v0, suffix, sanitizer, namespace) {
  65993. const lView = getLView();
  65994. const interpolatedValue = interpolation1(lView, prefix, v0, suffix);
  65995. if (interpolatedValue !== NO_CHANGE) {
  65996. const tNode = getSelectedTNode();
  65997. elementAttributeInternal(tNode, lView, attrName, interpolatedValue, sanitizer, namespace);
  65998. ngDevMode && storePropertyBindingMetadata(getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - 1, prefix, suffix);
  65999. }
  66000. return ɵɵattributeInterpolate1;
  66001. }
  66002. /**
  66003. *
  66004. * Update an interpolated attribute on an element with 2 bound values surrounded by text.
  66005. *
  66006. * Used when the value passed to a property has 2 interpolated values in it:
  66007. *
  66008. * ```html
  66009. * <div attr.title="prefix{{v0}}-{{v1}}suffix"></div>
  66010. * ```
  66011. *
  66012. * Its compiled representation is::
  66013. *
  66014. * ```ts
  66015. * ɵɵattributeInterpolate2('title', 'prefix', v0, '-', v1, 'suffix');
  66016. * ```
  66017. *
  66018. * @param attrName The name of the attribute to update
  66019. * @param prefix Static value used for concatenation only.
  66020. * @param v0 Value checked for change.
  66021. * @param i0 Static value used for concatenation only.
  66022. * @param v1 Value checked for change.
  66023. * @param suffix Static value used for concatenation only.
  66024. * @param sanitizer An optional sanitizer function
  66025. * @returns itself, so that it may be chained.
  66026. * @codeGenApi
  66027. */
  66028. function ɵɵattributeInterpolate2(attrName, prefix, v0, i0, v1, suffix, sanitizer, namespace) {
  66029. const lView = getLView();
  66030. const interpolatedValue = interpolation2(lView, prefix, v0, i0, v1, suffix);
  66031. if (interpolatedValue !== NO_CHANGE) {
  66032. const tNode = getSelectedTNode();
  66033. elementAttributeInternal(tNode, lView, attrName, interpolatedValue, sanitizer, namespace);
  66034. ngDevMode && storePropertyBindingMetadata(getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - 2, prefix, i0, suffix);
  66035. }
  66036. return ɵɵattributeInterpolate2;
  66037. }
  66038. /**
  66039. *
  66040. * Update an interpolated attribute on an element with 3 bound values surrounded by text.
  66041. *
  66042. * Used when the value passed to a property has 3 interpolated values in it:
  66043. *
  66044. * ```html
  66045. * <div attr.title="prefix{{v0}}-{{v1}}-{{v2}}suffix"></div>
  66046. * ```
  66047. *
  66048. * Its compiled representation is::
  66049. *
  66050. * ```ts
  66051. * ɵɵattributeInterpolate3(
  66052. * 'title', 'prefix', v0, '-', v1, '-', v2, 'suffix');
  66053. * ```
  66054. *
  66055. * @param attrName The name of the attribute to update
  66056. * @param prefix Static value used for concatenation only.
  66057. * @param v0 Value checked for change.
  66058. * @param i0 Static value used for concatenation only.
  66059. * @param v1 Value checked for change.
  66060. * @param i1 Static value used for concatenation only.
  66061. * @param v2 Value checked for change.
  66062. * @param suffix Static value used for concatenation only.
  66063. * @param sanitizer An optional sanitizer function
  66064. * @returns itself, so that it may be chained.
  66065. * @codeGenApi
  66066. */
  66067. function ɵɵattributeInterpolate3(attrName, prefix, v0, i0, v1, i1, v2, suffix, sanitizer, namespace) {
  66068. const lView = getLView();
  66069. const interpolatedValue = interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix);
  66070. if (interpolatedValue !== NO_CHANGE) {
  66071. const tNode = getSelectedTNode();
  66072. elementAttributeInternal(tNode, lView, attrName, interpolatedValue, sanitizer, namespace);
  66073. ngDevMode && storePropertyBindingMetadata(getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - 3, prefix, i0, i1, suffix);
  66074. }
  66075. return ɵɵattributeInterpolate3;
  66076. }
  66077. /**
  66078. *
  66079. * Update an interpolated attribute on an element with 4 bound values surrounded by text.
  66080. *
  66081. * Used when the value passed to a property has 4 interpolated values in it:
  66082. *
  66083. * ```html
  66084. * <div attr.title="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}suffix"></div>
  66085. * ```
  66086. *
  66087. * Its compiled representation is::
  66088. *
  66089. * ```ts
  66090. * ɵɵattributeInterpolate4(
  66091. * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, 'suffix');
  66092. * ```
  66093. *
  66094. * @param attrName The name of the attribute to update
  66095. * @param prefix Static value used for concatenation only.
  66096. * @param v0 Value checked for change.
  66097. * @param i0 Static value used for concatenation only.
  66098. * @param v1 Value checked for change.
  66099. * @param i1 Static value used for concatenation only.
  66100. * @param v2 Value checked for change.
  66101. * @param i2 Static value used for concatenation only.
  66102. * @param v3 Value checked for change.
  66103. * @param suffix Static value used for concatenation only.
  66104. * @param sanitizer An optional sanitizer function
  66105. * @returns itself, so that it may be chained.
  66106. * @codeGenApi
  66107. */
  66108. function ɵɵattributeInterpolate4(attrName, prefix, v0, i0, v1, i1, v2, i2, v3, suffix, sanitizer, namespace) {
  66109. const lView = getLView();
  66110. const interpolatedValue = interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix);
  66111. if (interpolatedValue !== NO_CHANGE) {
  66112. const tNode = getSelectedTNode();
  66113. elementAttributeInternal(tNode, lView, attrName, interpolatedValue, sanitizer, namespace);
  66114. ngDevMode && storePropertyBindingMetadata(getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - 4, prefix, i0, i1, i2, suffix);
  66115. }
  66116. return ɵɵattributeInterpolate4;
  66117. }
  66118. /**
  66119. *
  66120. * Update an interpolated attribute on an element with 5 bound values surrounded by text.
  66121. *
  66122. * Used when the value passed to a property has 5 interpolated values in it:
  66123. *
  66124. * ```html
  66125. * <div attr.title="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}suffix"></div>
  66126. * ```
  66127. *
  66128. * Its compiled representation is::
  66129. *
  66130. * ```ts
  66131. * ɵɵattributeInterpolate5(
  66132. * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, 'suffix');
  66133. * ```
  66134. *
  66135. * @param attrName The name of the attribute to update
  66136. * @param prefix Static value used for concatenation only.
  66137. * @param v0 Value checked for change.
  66138. * @param i0 Static value used for concatenation only.
  66139. * @param v1 Value checked for change.
  66140. * @param i1 Static value used for concatenation only.
  66141. * @param v2 Value checked for change.
  66142. * @param i2 Static value used for concatenation only.
  66143. * @param v3 Value checked for change.
  66144. * @param i3 Static value used for concatenation only.
  66145. * @param v4 Value checked for change.
  66146. * @param suffix Static value used for concatenation only.
  66147. * @param sanitizer An optional sanitizer function
  66148. * @returns itself, so that it may be chained.
  66149. * @codeGenApi
  66150. */
  66151. function ɵɵattributeInterpolate5(attrName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix, sanitizer, namespace) {
  66152. const lView = getLView();
  66153. const interpolatedValue = interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix);
  66154. if (interpolatedValue !== NO_CHANGE) {
  66155. const tNode = getSelectedTNode();
  66156. elementAttributeInternal(tNode, lView, attrName, interpolatedValue, sanitizer, namespace);
  66157. ngDevMode && storePropertyBindingMetadata(getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - 5, prefix, i0, i1, i2, i3, suffix);
  66158. }
  66159. return ɵɵattributeInterpolate5;
  66160. }
  66161. /**
  66162. *
  66163. * Update an interpolated attribute on an element with 6 bound values surrounded by text.
  66164. *
  66165. * Used when the value passed to a property has 6 interpolated values in it:
  66166. *
  66167. * ```html
  66168. * <div attr.title="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}suffix"></div>
  66169. * ```
  66170. *
  66171. * Its compiled representation is::
  66172. *
  66173. * ```ts
  66174. * ɵɵattributeInterpolate6(
  66175. * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, 'suffix');
  66176. * ```
  66177. *
  66178. * @param attrName The name of the attribute to update
  66179. * @param prefix Static value used for concatenation only.
  66180. * @param v0 Value checked for change.
  66181. * @param i0 Static value used for concatenation only.
  66182. * @param v1 Value checked for change.
  66183. * @param i1 Static value used for concatenation only.
  66184. * @param v2 Value checked for change.
  66185. * @param i2 Static value used for concatenation only.
  66186. * @param v3 Value checked for change.
  66187. * @param i3 Static value used for concatenation only.
  66188. * @param v4 Value checked for change.
  66189. * @param i4 Static value used for concatenation only.
  66190. * @param v5 Value checked for change.
  66191. * @param suffix Static value used for concatenation only.
  66192. * @param sanitizer An optional sanitizer function
  66193. * @returns itself, so that it may be chained.
  66194. * @codeGenApi
  66195. */
  66196. function ɵɵattributeInterpolate6(attrName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix, sanitizer, namespace) {
  66197. const lView = getLView();
  66198. const interpolatedValue = interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix);
  66199. if (interpolatedValue !== NO_CHANGE) {
  66200. const tNode = getSelectedTNode();
  66201. elementAttributeInternal(tNode, lView, attrName, interpolatedValue, sanitizer, namespace);
  66202. ngDevMode && storePropertyBindingMetadata(getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - 6, prefix, i0, i1, i2, i3, i4, suffix);
  66203. }
  66204. return ɵɵattributeInterpolate6;
  66205. }
  66206. /**
  66207. *
  66208. * Update an interpolated attribute on an element with 7 bound values surrounded by text.
  66209. *
  66210. * Used when the value passed to a property has 7 interpolated values in it:
  66211. *
  66212. * ```html
  66213. * <div attr.title="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}suffix"></div>
  66214. * ```
  66215. *
  66216. * Its compiled representation is::
  66217. *
  66218. * ```ts
  66219. * ɵɵattributeInterpolate7(
  66220. * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, 'suffix');
  66221. * ```
  66222. *
  66223. * @param attrName The name of the attribute to update
  66224. * @param prefix Static value used for concatenation only.
  66225. * @param v0 Value checked for change.
  66226. * @param i0 Static value used for concatenation only.
  66227. * @param v1 Value checked for change.
  66228. * @param i1 Static value used for concatenation only.
  66229. * @param v2 Value checked for change.
  66230. * @param i2 Static value used for concatenation only.
  66231. * @param v3 Value checked for change.
  66232. * @param i3 Static value used for concatenation only.
  66233. * @param v4 Value checked for change.
  66234. * @param i4 Static value used for concatenation only.
  66235. * @param v5 Value checked for change.
  66236. * @param i5 Static value used for concatenation only.
  66237. * @param v6 Value checked for change.
  66238. * @param suffix Static value used for concatenation only.
  66239. * @param sanitizer An optional sanitizer function
  66240. * @returns itself, so that it may be chained.
  66241. * @codeGenApi
  66242. */
  66243. function ɵɵattributeInterpolate7(attrName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix, sanitizer, namespace) {
  66244. const lView = getLView();
  66245. const interpolatedValue = interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix);
  66246. if (interpolatedValue !== NO_CHANGE) {
  66247. const tNode = getSelectedTNode();
  66248. elementAttributeInternal(tNode, lView, attrName, interpolatedValue, sanitizer, namespace);
  66249. ngDevMode && storePropertyBindingMetadata(getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - 7, prefix, i0, i1, i2, i3, i4, i5, suffix);
  66250. }
  66251. return ɵɵattributeInterpolate7;
  66252. }
  66253. /**
  66254. *
  66255. * Update an interpolated attribute on an element with 8 bound values surrounded by text.
  66256. *
  66257. * Used when the value passed to a property has 8 interpolated values in it:
  66258. *
  66259. * ```html
  66260. * <div attr.title="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}suffix"></div>
  66261. * ```
  66262. *
  66263. * Its compiled representation is::
  66264. *
  66265. * ```ts
  66266. * ɵɵattributeInterpolate8(
  66267. * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, 'suffix');
  66268. * ```
  66269. *
  66270. * @param attrName The name of the attribute to update
  66271. * @param prefix Static value used for concatenation only.
  66272. * @param v0 Value checked for change.
  66273. * @param i0 Static value used for concatenation only.
  66274. * @param v1 Value checked for change.
  66275. * @param i1 Static value used for concatenation only.
  66276. * @param v2 Value checked for change.
  66277. * @param i2 Static value used for concatenation only.
  66278. * @param v3 Value checked for change.
  66279. * @param i3 Static value used for concatenation only.
  66280. * @param v4 Value checked for change.
  66281. * @param i4 Static value used for concatenation only.
  66282. * @param v5 Value checked for change.
  66283. * @param i5 Static value used for concatenation only.
  66284. * @param v6 Value checked for change.
  66285. * @param i6 Static value used for concatenation only.
  66286. * @param v7 Value checked for change.
  66287. * @param suffix Static value used for concatenation only.
  66288. * @param sanitizer An optional sanitizer function
  66289. * @returns itself, so that it may be chained.
  66290. * @codeGenApi
  66291. */
  66292. function ɵɵattributeInterpolate8(attrName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix, sanitizer, namespace) {
  66293. const lView = getLView();
  66294. const interpolatedValue = interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix);
  66295. if (interpolatedValue !== NO_CHANGE) {
  66296. const tNode = getSelectedTNode();
  66297. elementAttributeInternal(tNode, lView, attrName, interpolatedValue, sanitizer, namespace);
  66298. ngDevMode && storePropertyBindingMetadata(getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - 8, prefix, i0, i1, i2, i3, i4, i5, i6, suffix);
  66299. }
  66300. return ɵɵattributeInterpolate8;
  66301. }
  66302. /**
  66303. * Update an interpolated attribute on an element with 9 or more bound values surrounded by text.
  66304. *
  66305. * Used when the number of interpolated values exceeds 8.
  66306. *
  66307. * ```html
  66308. * <div
  66309. * title="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}-{{v8}}-{{v9}}suffix"></div>
  66310. * ```
  66311. *
  66312. * Its compiled representation is::
  66313. *
  66314. * ```ts
  66315. * ɵɵattributeInterpolateV(
  66316. * 'title', ['prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, '-', v9,
  66317. * 'suffix']);
  66318. * ```
  66319. *
  66320. * @param attrName The name of the attribute to update.
  66321. * @param values The collection of values and the strings in-between those values, beginning with
  66322. * a string prefix and ending with a string suffix.
  66323. * (e.g. `['prefix', value0, '-', value1, '-', value2, ..., value99, 'suffix']`)
  66324. * @param sanitizer An optional sanitizer function
  66325. * @returns itself, so that it may be chained.
  66326. * @codeGenApi
  66327. */
  66328. function ɵɵattributeInterpolateV(attrName, values, sanitizer, namespace) {
  66329. const lView = getLView();
  66330. const interpolated = interpolationV(lView, values);
  66331. if (interpolated !== NO_CHANGE) {
  66332. const tNode = getSelectedTNode();
  66333. elementAttributeInternal(tNode, lView, attrName, interpolated, sanitizer, namespace);
  66334. if (ngDevMode) {
  66335. const interpolationInBetween = [values[0]]; // prefix
  66336. for (let i = 2; i < values.length; i += 2) {
  66337. interpolationInBetween.push(values[i]);
  66338. }
  66339. storePropertyBindingMetadata(getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - interpolationInBetween.length + 1, ...interpolationInBetween);
  66340. }
  66341. }
  66342. return ɵɵattributeInterpolateV;
  66343. }
  66344. /**
  66345. * @license
  66346. * Copyright Google LLC All Rights Reserved.
  66347. *
  66348. * Use of this source code is governed by an MIT-style license that can be
  66349. * found in the LICENSE file at https://angular.io/license
  66350. */
  66351. /**
  66352. * Synchronously perform change detection on a component (and possibly its sub-components).
  66353. *
  66354. * This function triggers change detection in a synchronous way on a component.
  66355. *
  66356. * @param component The component which the change detection should be performed on.
  66357. */
  66358. function detectChanges(component) {
  66359. const view = getComponentViewByInstance(component);
  66360. detectChangesInternal(view[TVIEW], view, component);
  66361. }
  66362. /**
  66363. * @license
  66364. * Copyright Google LLC All Rights Reserved.
  66365. *
  66366. * Use of this source code is governed by an MIT-style license that can be
  66367. * found in the LICENSE file at https://angular.io/license
  66368. */
  66369. function templateFirstCreatePass(index, tView, lView, templateFn, decls, vars, tagName, attrsIndex, localRefsIndex) {
  66370. ngDevMode && assertFirstCreatePass(tView);
  66371. ngDevMode && ngDevMode.firstCreatePass++;
  66372. const tViewConsts = tView.consts; // TODO(pk): refactor getOrCreateTNode to have the "create" only version
  66373. const tNode = getOrCreateTNode(tView, index, 4
  66374. /* TNodeType.Container */
  66375. , tagName || null, getConstant(tViewConsts, attrsIndex));
  66376. resolveDirectives(tView, lView, tNode, getConstant(tViewConsts, localRefsIndex));
  66377. registerPostOrderHooks(tView, tNode);
  66378. const embeddedTView = tNode.tViews = createTView(2
  66379. /* TViewType.Embedded */
  66380. , tNode, templateFn, decls, vars, tView.directiveRegistry, tView.pipeRegistry, null, tView.schemas, tViewConsts);
  66381. if (tView.queries !== null) {
  66382. tView.queries.template(tView, tNode);
  66383. embeddedTView.queries = tView.queries.embeddedTView(tNode);
  66384. }
  66385. return tNode;
  66386. }
  66387. /**
  66388. * Creates an LContainer for an ng-template (dynamically-inserted view), e.g.
  66389. *
  66390. * <ng-template #foo>
  66391. * <div></div>
  66392. * </ng-template>
  66393. *
  66394. * @param index The index of the container in the data array
  66395. * @param templateFn Inline template
  66396. * @param decls The number of nodes, local refs, and pipes for this template
  66397. * @param vars The number of bindings for this template
  66398. * @param tagName The name of the container element, if applicable
  66399. * @param attrsIndex Index of template attributes in the `consts` array.
  66400. * @param localRefs Index of the local references in the `consts` array.
  66401. * @param localRefExtractor A function which extracts local-refs values from the template.
  66402. * Defaults to the current element associated with the local-ref.
  66403. *
  66404. * @codeGenApi
  66405. */
  66406. function ɵɵtemplate(index, templateFn, decls, vars, tagName, attrsIndex, localRefsIndex, localRefExtractor) {
  66407. const lView = getLView();
  66408. const tView = getTView();
  66409. const adjustedIndex = index + HEADER_OFFSET;
  66410. const tNode = tView.firstCreatePass ? templateFirstCreatePass(adjustedIndex, tView, lView, templateFn, decls, vars, tagName, attrsIndex, localRefsIndex) : tView.data[adjustedIndex];
  66411. setCurrentTNode(tNode, false);
  66412. const comment = lView[RENDERER].createComment(ngDevMode ? 'container' : '');
  66413. appendChild(tView, lView, comment, tNode);
  66414. attachPatchData(comment, lView);
  66415. addToViewTree(lView, lView[adjustedIndex] = createLContainer(comment, lView, comment, tNode));
  66416. if (isDirectiveHost(tNode)) {
  66417. createDirectivesInstances(tView, lView, tNode);
  66418. }
  66419. if (localRefsIndex != null) {
  66420. saveResolvedLocalsInData(lView, tNode, localRefExtractor);
  66421. }
  66422. }
  66423. /**
  66424. * @license
  66425. * Copyright Google LLC All Rights Reserved.
  66426. *
  66427. * Use of this source code is governed by an MIT-style license that can be
  66428. * found in the LICENSE file at https://angular.io/license
  66429. */
  66430. /** Store a value in the `data` at a given `index`. */
  66431. function store(tView, lView, index, value) {
  66432. // We don't store any static data for local variables, so the first time
  66433. // we see the template, we should store as null to avoid a sparse array
  66434. if (index >= tView.data.length) {
  66435. tView.data[index] = null;
  66436. tView.blueprint[index] = null;
  66437. }
  66438. lView[index] = value;
  66439. }
  66440. /**
  66441. * Retrieves a local reference from the current contextViewData.
  66442. *
  66443. * If the reference to retrieve is in a parent view, this instruction is used in conjunction
  66444. * with a nextContext() call, which walks up the tree and updates the contextViewData instance.
  66445. *
  66446. * @param index The index of the local ref in contextViewData.
  66447. *
  66448. * @codeGenApi
  66449. */
  66450. function ɵɵreference(index) {
  66451. const contextLView = getContextLView();
  66452. return load(contextLView, HEADER_OFFSET + index);
  66453. }
  66454. /**
  66455. * @license
  66456. * Copyright Google LLC All Rights Reserved.
  66457. *
  66458. * Use of this source code is governed by an MIT-style license that can be
  66459. * found in the LICENSE file at https://angular.io/license
  66460. */
  66461. /**
  66462. * Update a property on a selected element.
  66463. *
  66464. * Operates on the element selected by index via the {@link select} instruction.
  66465. *
  66466. * If the property name also exists as an input property on one of the element's directives,
  66467. * the component property will be set instead of the element property. This check must
  66468. * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled
  66469. *
  66470. * @param propName Name of property. Because it is going to DOM, this is not subject to
  66471. * renaming as part of minification.
  66472. * @param value New value to write.
  66473. * @param sanitizer An optional function used to sanitize the value.
  66474. * @returns This function returns itself so that it may be chained
  66475. * (e.g. `property('name', ctx.name)('title', ctx.title)`)
  66476. *
  66477. * @codeGenApi
  66478. */
  66479. function ɵɵproperty(propName, value, sanitizer) {
  66480. const lView = getLView();
  66481. const bindingIndex = nextBindingIndex();
  66482. if (bindingUpdated(lView, bindingIndex, value)) {
  66483. const tView = getTView();
  66484. const tNode = getSelectedTNode();
  66485. elementPropertyInternal(tView, tNode, lView, propName, value, lView[RENDERER], sanitizer, false);
  66486. ngDevMode && storePropertyBindingMetadata(tView.data, tNode, propName, bindingIndex);
  66487. }
  66488. return ɵɵproperty;
  66489. }
  66490. /**
  66491. * Given `<div style="..." my-dir>` and `MyDir` with `@Input('style')` we need to write to
  66492. * directive input.
  66493. */
  66494. function setDirectiveInputsWhichShadowsStyling(tView, tNode, lView, value, isClassBased) {
  66495. const inputs = tNode.inputs;
  66496. const property = isClassBased ? 'class' : 'style'; // We support both 'class' and `className` hence the fallback.
  66497. setInputsForProperty(tView, lView, inputs[property], property, value);
  66498. }
  66499. /**
  66500. * @license
  66501. * Copyright Google LLC All Rights Reserved.
  66502. *
  66503. * Use of this source code is governed by an MIT-style license that can be
  66504. * found in the LICENSE file at https://angular.io/license
  66505. */
  66506. function elementStartFirstCreatePass(index, tView, lView, native, name, attrsIndex, localRefsIndex) {
  66507. ngDevMode && assertFirstCreatePass(tView);
  66508. ngDevMode && ngDevMode.firstCreatePass++;
  66509. const tViewConsts = tView.consts;
  66510. const attrs = getConstant(tViewConsts, attrsIndex);
  66511. const tNode = getOrCreateTNode(tView, index, 2
  66512. /* TNodeType.Element */
  66513. , name, attrs);
  66514. const hasDirectives = resolveDirectives(tView, lView, tNode, getConstant(tViewConsts, localRefsIndex));
  66515. if (ngDevMode) {
  66516. validateElementIsKnown(native, lView, tNode.value, tView.schemas, hasDirectives);
  66517. }
  66518. if (tNode.attrs !== null) {
  66519. computeStaticStyling(tNode, tNode.attrs, false);
  66520. }
  66521. if (tNode.mergedAttrs !== null) {
  66522. computeStaticStyling(tNode, tNode.mergedAttrs, true);
  66523. }
  66524. if (tView.queries !== null) {
  66525. tView.queries.elementStart(tView, tNode);
  66526. }
  66527. return tNode;
  66528. }
  66529. /**
  66530. * Create DOM element. The instruction must later be followed by `elementEnd()` call.
  66531. *
  66532. * @param index Index of the element in the LView array
  66533. * @param name Name of the DOM Node
  66534. * @param attrsIndex Index of the element's attributes in the `consts` array.
  66535. * @param localRefsIndex Index of the element's local references in the `consts` array.
  66536. * @returns This function returns itself so that it may be chained.
  66537. *
  66538. * Attributes and localRefs are passed as an array of strings where elements with an even index
  66539. * hold an attribute name and elements with an odd index hold an attribute value, ex.:
  66540. * ['id', 'warning5', 'class', 'alert']
  66541. *
  66542. * @codeGenApi
  66543. */
  66544. function ɵɵelementStart(index, name, attrsIndex, localRefsIndex) {
  66545. const lView = getLView();
  66546. const tView = getTView();
  66547. const adjustedIndex = HEADER_OFFSET + index;
  66548. ngDevMode && assertEqual(getBindingIndex(), tView.bindingStartIndex, 'elements should be created before any bindings');
  66549. ngDevMode && assertIndexInRange(lView, adjustedIndex);
  66550. const renderer = lView[RENDERER];
  66551. const native = lView[adjustedIndex] = createElementNode(renderer, name, getNamespace$1());
  66552. const tNode = tView.firstCreatePass ? elementStartFirstCreatePass(adjustedIndex, tView, lView, native, name, attrsIndex, localRefsIndex) : tView.data[adjustedIndex];
  66553. setCurrentTNode(tNode, true);
  66554. const mergedAttrs = tNode.mergedAttrs;
  66555. if (mergedAttrs !== null) {
  66556. setUpAttributes(renderer, native, mergedAttrs);
  66557. }
  66558. const classes = tNode.classes;
  66559. if (classes !== null) {
  66560. writeDirectClass(renderer, native, classes);
  66561. }
  66562. const styles = tNode.styles;
  66563. if (styles !== null) {
  66564. writeDirectStyle(renderer, native, styles);
  66565. }
  66566. if ((tNode.flags & 64
  66567. /* TNodeFlags.isDetached */
  66568. ) !== 64
  66569. /* TNodeFlags.isDetached */
  66570. ) {
  66571. // In the i18n case, the translation may have removed this element, so only add it if it is not
  66572. // detached. See `TNodeType.Placeholder` and `LFrame.inI18n` for more context.
  66573. appendChild(tView, lView, native, tNode);
  66574. } // any immediate children of a component or template container must be pre-emptively
  66575. // monkey-patched with the component view data so that the element can be inspected
  66576. // later on using any element discovery utility methods (see `element_discovery.ts`)
  66577. if (getElementDepthCount() === 0) {
  66578. attachPatchData(native, lView);
  66579. }
  66580. increaseElementDepthCount();
  66581. if (isDirectiveHost(tNode)) {
  66582. createDirectivesInstances(tView, lView, tNode);
  66583. executeContentQueries(tView, tNode, lView);
  66584. }
  66585. if (localRefsIndex !== null) {
  66586. saveResolvedLocalsInData(lView, tNode);
  66587. }
  66588. return ɵɵelementStart;
  66589. }
  66590. /**
  66591. * Mark the end of the element.
  66592. * @returns This function returns itself so that it may be chained.
  66593. *
  66594. * @codeGenApi
  66595. */
  66596. function ɵɵelementEnd() {
  66597. let currentTNode = getCurrentTNode();
  66598. ngDevMode && assertDefined(currentTNode, 'No parent node to close.');
  66599. if (isCurrentTNodeParent()) {
  66600. setCurrentTNodeAsNotParent();
  66601. } else {
  66602. ngDevMode && assertHasParent(getCurrentTNode());
  66603. currentTNode = currentTNode.parent;
  66604. setCurrentTNode(currentTNode, false);
  66605. }
  66606. const tNode = currentTNode;
  66607. ngDevMode && assertTNodeType(tNode, 3
  66608. /* TNodeType.AnyRNode */
  66609. );
  66610. decreaseElementDepthCount();
  66611. const tView = getTView();
  66612. if (tView.firstCreatePass) {
  66613. registerPostOrderHooks(tView, currentTNode);
  66614. if (isContentQueryHost(currentTNode)) {
  66615. tView.queries.elementEnd(currentTNode);
  66616. }
  66617. }
  66618. if (tNode.classesWithoutHost != null && hasClassInput(tNode)) {
  66619. setDirectiveInputsWhichShadowsStyling(tView, tNode, getLView(), tNode.classesWithoutHost, true);
  66620. }
  66621. if (tNode.stylesWithoutHost != null && hasStyleInput(tNode)) {
  66622. setDirectiveInputsWhichShadowsStyling(tView, tNode, getLView(), tNode.stylesWithoutHost, false);
  66623. }
  66624. return ɵɵelementEnd;
  66625. }
  66626. /**
  66627. * Creates an empty element using {@link elementStart} and {@link elementEnd}
  66628. *
  66629. * @param index Index of the element in the data array
  66630. * @param name Name of the DOM Node
  66631. * @param attrsIndex Index of the element's attributes in the `consts` array.
  66632. * @param localRefsIndex Index of the element's local references in the `consts` array.
  66633. * @returns This function returns itself so that it may be chained.
  66634. *
  66635. * @codeGenApi
  66636. */
  66637. function ɵɵelement(index, name, attrsIndex, localRefsIndex) {
  66638. ɵɵelementStart(index, name, attrsIndex, localRefsIndex);
  66639. ɵɵelementEnd();
  66640. return ɵɵelement;
  66641. }
  66642. /**
  66643. * @license
  66644. * Copyright Google LLC All Rights Reserved.
  66645. *
  66646. * Use of this source code is governed by an MIT-style license that can be
  66647. * found in the LICENSE file at https://angular.io/license
  66648. */
  66649. function elementContainerStartFirstCreatePass(index, tView, lView, attrsIndex, localRefsIndex) {
  66650. ngDevMode && ngDevMode.firstCreatePass++;
  66651. const tViewConsts = tView.consts;
  66652. const attrs = getConstant(tViewConsts, attrsIndex);
  66653. const tNode = getOrCreateTNode(tView, index, 8
  66654. /* TNodeType.ElementContainer */
  66655. , 'ng-container', attrs); // While ng-container doesn't necessarily support styling, we use the style context to identify
  66656. // and execute directives on the ng-container.
  66657. if (attrs !== null) {
  66658. computeStaticStyling(tNode, attrs, true);
  66659. }
  66660. const localRefs = getConstant(tViewConsts, localRefsIndex);
  66661. resolveDirectives(tView, lView, tNode, localRefs);
  66662. if (tView.queries !== null) {
  66663. tView.queries.elementStart(tView, tNode);
  66664. }
  66665. return tNode;
  66666. }
  66667. /**
  66668. * Creates a logical container for other nodes (<ng-container>) backed by a comment node in the DOM.
  66669. * The instruction must later be followed by `elementContainerEnd()` call.
  66670. *
  66671. * @param index Index of the element in the LView array
  66672. * @param attrsIndex Index of the container attributes in the `consts` array.
  66673. * @param localRefsIndex Index of the container's local references in the `consts` array.
  66674. * @returns This function returns itself so that it may be chained.
  66675. *
  66676. * Even if this instruction accepts a set of attributes no actual attribute values are propagated to
  66677. * the DOM (as a comment node can't have attributes). Attributes are here only for directive
  66678. * matching purposes and setting initial inputs of directives.
  66679. *
  66680. * @codeGenApi
  66681. */
  66682. function ɵɵelementContainerStart(index, attrsIndex, localRefsIndex) {
  66683. const lView = getLView();
  66684. const tView = getTView();
  66685. const adjustedIndex = index + HEADER_OFFSET;
  66686. ngDevMode && assertIndexInRange(lView, adjustedIndex);
  66687. ngDevMode && assertEqual(getBindingIndex(), tView.bindingStartIndex, 'element containers should be created before any bindings');
  66688. const tNode = tView.firstCreatePass ? elementContainerStartFirstCreatePass(adjustedIndex, tView, lView, attrsIndex, localRefsIndex) : tView.data[adjustedIndex];
  66689. setCurrentTNode(tNode, true);
  66690. ngDevMode && ngDevMode.rendererCreateComment++;
  66691. const native = lView[adjustedIndex] = lView[RENDERER].createComment(ngDevMode ? 'ng-container' : '');
  66692. appendChild(tView, lView, native, tNode);
  66693. attachPatchData(native, lView);
  66694. if (isDirectiveHost(tNode)) {
  66695. createDirectivesInstances(tView, lView, tNode);
  66696. executeContentQueries(tView, tNode, lView);
  66697. }
  66698. if (localRefsIndex != null) {
  66699. saveResolvedLocalsInData(lView, tNode);
  66700. }
  66701. return ɵɵelementContainerStart;
  66702. }
  66703. /**
  66704. * Mark the end of the <ng-container>.
  66705. * @returns This function returns itself so that it may be chained.
  66706. *
  66707. * @codeGenApi
  66708. */
  66709. function ɵɵelementContainerEnd() {
  66710. let currentTNode = getCurrentTNode();
  66711. const tView = getTView();
  66712. if (isCurrentTNodeParent()) {
  66713. setCurrentTNodeAsNotParent();
  66714. } else {
  66715. ngDevMode && assertHasParent(currentTNode);
  66716. currentTNode = currentTNode.parent;
  66717. setCurrentTNode(currentTNode, false);
  66718. }
  66719. ngDevMode && assertTNodeType(currentTNode, 8
  66720. /* TNodeType.ElementContainer */
  66721. );
  66722. if (tView.firstCreatePass) {
  66723. registerPostOrderHooks(tView, currentTNode);
  66724. if (isContentQueryHost(currentTNode)) {
  66725. tView.queries.elementEnd(currentTNode);
  66726. }
  66727. }
  66728. return ɵɵelementContainerEnd;
  66729. }
  66730. /**
  66731. * Creates an empty logical container using {@link elementContainerStart}
  66732. * and {@link elementContainerEnd}
  66733. *
  66734. * @param index Index of the element in the LView array
  66735. * @param attrsIndex Index of the container attributes in the `consts` array.
  66736. * @param localRefsIndex Index of the container's local references in the `consts` array.
  66737. * @returns This function returns itself so that it may be chained.
  66738. *
  66739. * @codeGenApi
  66740. */
  66741. function ɵɵelementContainer(index, attrsIndex, localRefsIndex) {
  66742. ɵɵelementContainerStart(index, attrsIndex, localRefsIndex);
  66743. ɵɵelementContainerEnd();
  66744. return ɵɵelementContainer;
  66745. }
  66746. /**
  66747. * Returns the current OpaqueViewState instance.
  66748. *
  66749. * Used in conjunction with the restoreView() instruction to save a snapshot
  66750. * of the current view and restore it when listeners are invoked. This allows
  66751. * walking the declaration view tree in listeners to get vars from parent views.
  66752. *
  66753. * @codeGenApi
  66754. */
  66755. function ɵɵgetCurrentView() {
  66756. return getLView();
  66757. }
  66758. /**
  66759. * @license
  66760. * Copyright Google LLC All Rights Reserved.
  66761. *
  66762. * Use of this source code is governed by an MIT-style license that can be
  66763. * found in the LICENSE file at https://angular.io/license
  66764. */
  66765. /**
  66766. * Determine if the argument is shaped like a Promise
  66767. */
  66768. function isPromise(obj) {
  66769. // allow any Promise/A+ compliant thenable.
  66770. // It's up to the caller to ensure that obj.then conforms to the spec
  66771. return !!obj && typeof obj.then === 'function';
  66772. }
  66773. /**
  66774. * Determine if the argument is a Subscribable
  66775. */
  66776. function isSubscribable(obj) {
  66777. return !!obj && typeof obj.subscribe === 'function';
  66778. }
  66779. /**
  66780. * Determine if the argument is an Observable
  66781. *
  66782. * Strictly this tests that the `obj` is `Subscribable`, since `Observable`
  66783. * types need additional methods, such as `lift()`. But it is adequate for our
  66784. * needs since within the Angular framework code we only ever need to use the
  66785. * `subscribe()` method, and RxJS has mechanisms to wrap `Subscribable` objects
  66786. * into `Observable` as needed.
  66787. */
  66788. const isObservable = isSubscribable;
  66789. /**
  66790. * @license
  66791. * Copyright Google LLC All Rights Reserved.
  66792. *
  66793. * Use of this source code is governed by an MIT-style license that can be
  66794. * found in the LICENSE file at https://angular.io/license
  66795. */
  66796. /**
  66797. * Adds an event listener to the current node.
  66798. *
  66799. * If an output exists on one of the node's directives, it also subscribes to the output
  66800. * and saves the subscription for later cleanup.
  66801. *
  66802. * @param eventName Name of the event
  66803. * @param listenerFn The function to be called when event emits
  66804. * @param useCapture Whether or not to use capture in event listener
  66805. * @param eventTargetResolver Function that returns global target information in case this listener
  66806. * should be attached to a global object like window, document or body
  66807. *
  66808. * @codeGenApi
  66809. */
  66810. function ɵɵlistener(eventName, listenerFn, useCapture, eventTargetResolver) {
  66811. const lView = getLView();
  66812. const tView = getTView();
  66813. const tNode = getCurrentTNode();
  66814. listenerInternal(tView, lView, lView[RENDERER], tNode, eventName, listenerFn, !!useCapture, eventTargetResolver);
  66815. return ɵɵlistener;
  66816. }
  66817. /**
  66818. * Registers a synthetic host listener (e.g. `(@foo.start)`) on a component or directive.
  66819. *
  66820. * This instruction is for compatibility purposes and is designed to ensure that a
  66821. * synthetic host listener (e.g. `@HostListener('@foo.start')`) properly gets rendered
  66822. * in the component's renderer. Normally all host listeners are evaluated with the
  66823. * parent component's renderer, but, in the case of animation @triggers, they need
  66824. * to be evaluated with the sub component's renderer (because that's where the
  66825. * animation triggers are defined).
  66826. *
  66827. * Do not use this instruction as a replacement for `listener`. This instruction
  66828. * only exists to ensure compatibility with the ViewEngine's host binding behavior.
  66829. *
  66830. * @param eventName Name of the event
  66831. * @param listenerFn The function to be called when event emits
  66832. * @param useCapture Whether or not to use capture in event listener
  66833. * @param eventTargetResolver Function that returns global target information in case this listener
  66834. * should be attached to a global object like window, document or body
  66835. *
  66836. * @codeGenApi
  66837. */
  66838. function ɵɵsyntheticHostListener(eventName, listenerFn) {
  66839. const tNode = getCurrentTNode();
  66840. const lView = getLView();
  66841. const tView = getTView();
  66842. const currentDef = getCurrentDirectiveDef(tView.data);
  66843. const renderer = loadComponentRenderer(currentDef, tNode, lView);
  66844. listenerInternal(tView, lView, renderer, tNode, eventName, listenerFn, false);
  66845. return ɵɵsyntheticHostListener;
  66846. }
  66847. /**
  66848. * A utility function that checks if a given element has already an event handler registered for an
  66849. * event with a specified name. The TView.cleanup data structure is used to find out which events
  66850. * are registered for a given element.
  66851. */
  66852. function findExistingListener(tView, lView, eventName, tNodeIdx) {
  66853. const tCleanup = tView.cleanup;
  66854. if (tCleanup != null) {
  66855. for (let i = 0; i < tCleanup.length - 1; i += 2) {
  66856. const cleanupEventName = tCleanup[i];
  66857. if (cleanupEventName === eventName && tCleanup[i + 1] === tNodeIdx) {
  66858. // We have found a matching event name on the same node but it might not have been
  66859. // registered yet, so we must explicitly verify entries in the LView cleanup data
  66860. // structures.
  66861. const lCleanup = lView[CLEANUP];
  66862. const listenerIdxInLCleanup = tCleanup[i + 2];
  66863. return lCleanup.length > listenerIdxInLCleanup ? lCleanup[listenerIdxInLCleanup] : null;
  66864. } // TView.cleanup can have a mix of 4-elements entries (for event handler cleanups) or
  66865. // 2-element entries (for directive and queries destroy hooks). As such we can encounter
  66866. // blocks of 4 or 2 items in the tView.cleanup and this is why we iterate over 2 elements
  66867. // first and jump another 2 elements if we detect listeners cleanup (4 elements). Also check
  66868. // documentation of TView.cleanup for more details of this data structure layout.
  66869. if (typeof cleanupEventName === 'string') {
  66870. i += 2;
  66871. }
  66872. }
  66873. }
  66874. return null;
  66875. }
  66876. function listenerInternal(tView, lView, renderer, tNode, eventName, listenerFn, useCapture, eventTargetResolver) {
  66877. const isTNodeDirectiveHost = isDirectiveHost(tNode);
  66878. const firstCreatePass = tView.firstCreatePass;
  66879. const tCleanup = firstCreatePass && getOrCreateTViewCleanup(tView);
  66880. const context = lView[CONTEXT]; // When the ɵɵlistener instruction was generated and is executed we know that there is either a
  66881. // native listener or a directive output on this element. As such we we know that we will have to
  66882. // register a listener and store its cleanup function on LView.
  66883. const lCleanup = getOrCreateLViewCleanup(lView);
  66884. ngDevMode && assertTNodeType(tNode, 3
  66885. /* TNodeType.AnyRNode */
  66886. | 12
  66887. /* TNodeType.AnyContainer */
  66888. );
  66889. let processOutputs = true; // Adding a native event listener is applicable when:
  66890. // - The corresponding TNode represents a DOM element.
  66891. // - The event target has a resolver (usually resulting in a global object,
  66892. // such as `window` or `document`).
  66893. if (tNode.type & 3
  66894. /* TNodeType.AnyRNode */
  66895. || eventTargetResolver) {
  66896. const native = getNativeByTNode(tNode, lView);
  66897. const target = eventTargetResolver ? eventTargetResolver(native) : native;
  66898. const lCleanupIndex = lCleanup.length;
  66899. const idxOrTargetGetter = eventTargetResolver ? _lView => eventTargetResolver(unwrapRNode(_lView[tNode.index])) : tNode.index; // In order to match current behavior, native DOM event listeners must be added for all
  66900. // events (including outputs).
  66901. // There might be cases where multiple directives on the same element try to register an event
  66902. // handler function for the same event. In this situation we want to avoid registration of
  66903. // several native listeners as each registration would be intercepted by NgZone and
  66904. // trigger change detection. This would mean that a single user action would result in several
  66905. // change detections being invoked. To avoid this situation we want to have only one call to
  66906. // native handler registration (for the same element and same type of event).
  66907. //
  66908. // In order to have just one native event handler in presence of multiple handler functions,
  66909. // we just register a first handler function as a native event listener and then chain
  66910. // (coalesce) other handler functions on top of the first native handler function.
  66911. let existingListener = null; // Please note that the coalescing described here doesn't happen for events specifying an
  66912. // alternative target (ex. (document:click)) - this is to keep backward compatibility with the
  66913. // view engine.
  66914. // Also, we don't have to search for existing listeners is there are no directives
  66915. // matching on a given node as we can't register multiple event handlers for the same event in
  66916. // a template (this would mean having duplicate attributes).
  66917. if (!eventTargetResolver && isTNodeDirectiveHost) {
  66918. existingListener = findExistingListener(tView, lView, eventName, tNode.index);
  66919. }
  66920. if (existingListener !== null) {
  66921. // Attach a new listener to coalesced listeners list, maintaining the order in which
  66922. // listeners are registered. For performance reasons, we keep a reference to the last
  66923. // listener in that list (in `__ngLastListenerFn__` field), so we can avoid going through
  66924. // the entire set each time we need to add a new listener.
  66925. const lastListenerFn = existingListener.__ngLastListenerFn__ || existingListener;
  66926. lastListenerFn.__ngNextListenerFn__ = listenerFn;
  66927. existingListener.__ngLastListenerFn__ = listenerFn;
  66928. processOutputs = false;
  66929. } else {
  66930. listenerFn = wrapListener(tNode, lView, context, listenerFn, false
  66931. /** preventDefault */
  66932. );
  66933. const cleanupFn = renderer.listen(target, eventName, listenerFn);
  66934. ngDevMode && ngDevMode.rendererAddEventListener++;
  66935. lCleanup.push(listenerFn, cleanupFn);
  66936. tCleanup && tCleanup.push(eventName, idxOrTargetGetter, lCleanupIndex, lCleanupIndex + 1);
  66937. }
  66938. } else {
  66939. // Even if there is no native listener to add, we still need to wrap the listener so that OnPush
  66940. // ancestors are marked dirty when an event occurs.
  66941. listenerFn = wrapListener(tNode, lView, context, listenerFn, false
  66942. /** preventDefault */
  66943. );
  66944. } // subscribe to directive outputs
  66945. const outputs = tNode.outputs;
  66946. let props;
  66947. if (processOutputs && outputs !== null && (props = outputs[eventName])) {
  66948. const propsLength = props.length;
  66949. if (propsLength) {
  66950. for (let i = 0; i < propsLength; i += 2) {
  66951. const index = props[i];
  66952. ngDevMode && assertIndexInRange(lView, index);
  66953. const minifiedName = props[i + 1];
  66954. const directiveInstance = lView[index];
  66955. const output = directiveInstance[minifiedName];
  66956. if (ngDevMode && !isObservable(output)) {
  66957. throw new Error(`@Output ${minifiedName} not initialized in '${directiveInstance.constructor.name}'.`);
  66958. }
  66959. const subscription = output.subscribe(listenerFn);
  66960. const idx = lCleanup.length;
  66961. lCleanup.push(listenerFn, subscription);
  66962. tCleanup && tCleanup.push(eventName, tNode.index, idx, -(idx + 1));
  66963. }
  66964. }
  66965. }
  66966. }
  66967. function executeListenerWithErrorHandling(lView, context, listenerFn, e) {
  66968. try {
  66969. profiler(6
  66970. /* ProfilerEvent.OutputStart */
  66971. , context, listenerFn); // Only explicitly returning false from a listener should preventDefault
  66972. return listenerFn(e) !== false;
  66973. } catch (error) {
  66974. handleError(lView, error);
  66975. return false;
  66976. } finally {
  66977. profiler(7
  66978. /* ProfilerEvent.OutputEnd */
  66979. , context, listenerFn);
  66980. }
  66981. }
  66982. /**
  66983. * Wraps an event listener with a function that marks ancestors dirty and prevents default behavior,
  66984. * if applicable.
  66985. *
  66986. * @param tNode The TNode associated with this listener
  66987. * @param lView The LView that contains this listener
  66988. * @param listenerFn The listener function to call
  66989. * @param wrapWithPreventDefault Whether or not to prevent default behavior
  66990. * (the procedural renderer does this already, so in those cases, we should skip)
  66991. */
  66992. function wrapListener(tNode, lView, context, listenerFn, wrapWithPreventDefault) {
  66993. // Note: we are performing most of the work in the listener function itself
  66994. // to optimize listener registration.
  66995. return function wrapListenerIn_markDirtyAndPreventDefault(e) {
  66996. // Ivy uses `Function` as a special token that allows us to unwrap the function
  66997. // so that it can be invoked programmatically by `DebugNode.triggerEventHandler`.
  66998. if (e === Function) {
  66999. return listenerFn;
  67000. } // In order to be backwards compatible with View Engine, events on component host nodes
  67001. // must also mark the component view itself dirty (i.e. the view that it owns).
  67002. const startView = tNode.flags & 2
  67003. /* TNodeFlags.isComponentHost */
  67004. ? getComponentLViewByIndex(tNode.index, lView) : lView;
  67005. markViewDirty(startView);
  67006. let result = executeListenerWithErrorHandling(lView, context, listenerFn, e); // A just-invoked listener function might have coalesced listeners so we need to check for
  67007. // their presence and invoke as needed.
  67008. let nextListenerFn = wrapListenerIn_markDirtyAndPreventDefault.__ngNextListenerFn__;
  67009. while (nextListenerFn) {
  67010. // We should prevent default if any of the listeners explicitly return false
  67011. result = executeListenerWithErrorHandling(lView, context, nextListenerFn, e) && result;
  67012. nextListenerFn = nextListenerFn.__ngNextListenerFn__;
  67013. }
  67014. if (wrapWithPreventDefault && result === false) {
  67015. e.preventDefault(); // Necessary for legacy browsers that don't support preventDefault (e.g. IE)
  67016. e.returnValue = false;
  67017. }
  67018. return result;
  67019. };
  67020. }
  67021. /**
  67022. * @license
  67023. * Copyright Google LLC All Rights Reserved.
  67024. *
  67025. * Use of this source code is governed by an MIT-style license that can be
  67026. * found in the LICENSE file at https://angular.io/license
  67027. */
  67028. /**
  67029. * @license
  67030. * Copyright Google LLC All Rights Reserved.
  67031. *
  67032. * Use of this source code is governed by an MIT-style license that can be
  67033. * found in the LICENSE file at https://angular.io/license
  67034. */
  67035. /**
  67036. * Retrieves a context at the level specified and saves it as the global, contextViewData.
  67037. * Will get the next level up if level is not specified.
  67038. *
  67039. * This is used to save contexts of parent views so they can be bound in embedded views, or
  67040. * in conjunction with reference() to bind a ref from a parent view.
  67041. *
  67042. * @param level The relative level of the view from which to grab context compared to contextVewData
  67043. * @returns context
  67044. *
  67045. * @codeGenApi
  67046. */
  67047. function ɵɵnextContext(level = 1) {
  67048. return nextContextImpl(level);
  67049. }
  67050. /**
  67051. * @license
  67052. * Copyright Google LLC All Rights Reserved.
  67053. *
  67054. * Use of this source code is governed by an MIT-style license that can be
  67055. * found in the LICENSE file at https://angular.io/license
  67056. */
  67057. /**
  67058. * Checks a given node against matching projection slots and returns the
  67059. * determined slot index. Returns "null" if no slot matched the given node.
  67060. *
  67061. * This function takes into account the parsed ngProjectAs selector from the
  67062. * node's attributes. If present, it will check whether the ngProjectAs selector
  67063. * matches any of the projection slot selectors.
  67064. */
  67065. function matchingProjectionSlotIndex(tNode, projectionSlots) {
  67066. let wildcardNgContentIndex = null;
  67067. const ngProjectAsAttrVal = getProjectAsAttrValue(tNode);
  67068. for (let i = 0; i < projectionSlots.length; i++) {
  67069. const slotValue = projectionSlots[i]; // The last wildcard projection slot should match all nodes which aren't matching
  67070. // any selector. This is necessary to be backwards compatible with view engine.
  67071. if (slotValue === '*') {
  67072. wildcardNgContentIndex = i;
  67073. continue;
  67074. } // If we ran into an `ngProjectAs` attribute, we should match its parsed selector
  67075. // to the list of selectors, otherwise we fall back to matching against the node.
  67076. if (ngProjectAsAttrVal === null ? isNodeMatchingSelectorList(tNode, slotValue,
  67077. /* isProjectionMode */
  67078. true) : isSelectorInSelectorList(ngProjectAsAttrVal, slotValue)) {
  67079. return i; // first matching selector "captures" a given node
  67080. }
  67081. }
  67082. return wildcardNgContentIndex;
  67083. }
  67084. /**
  67085. * Instruction to distribute projectable nodes among <ng-content> occurrences in a given template.
  67086. * It takes all the selectors from the entire component's template and decides where
  67087. * each projected node belongs (it re-distributes nodes among "buckets" where each "bucket" is
  67088. * backed by a selector).
  67089. *
  67090. * This function requires CSS selectors to be provided in 2 forms: parsed (by a compiler) and text,
  67091. * un-parsed form.
  67092. *
  67093. * The parsed form is needed for efficient matching of a node against a given CSS selector.
  67094. * The un-parsed, textual form is needed for support of the ngProjectAs attribute.
  67095. *
  67096. * Having a CSS selector in 2 different formats is not ideal, but alternatives have even more
  67097. * drawbacks:
  67098. * - having only a textual form would require runtime parsing of CSS selectors;
  67099. * - we can't have only a parsed as we can't re-construct textual form from it (as entered by a
  67100. * template author).
  67101. *
  67102. * @param projectionSlots? A collection of projection slots. A projection slot can be based
  67103. * on a parsed CSS selectors or set to the wildcard selector ("*") in order to match
  67104. * all nodes which do not match any selector. If not specified, a single wildcard
  67105. * selector projection slot will be defined.
  67106. *
  67107. * @codeGenApi
  67108. */
  67109. function ɵɵprojectionDef(projectionSlots) {
  67110. const componentNode = getLView()[DECLARATION_COMPONENT_VIEW][T_HOST];
  67111. if (!componentNode.projection) {
  67112. // If no explicit projection slots are defined, fall back to a single
  67113. // projection slot with the wildcard selector.
  67114. const numProjectionSlots = projectionSlots ? projectionSlots.length : 1;
  67115. const projectionHeads = componentNode.projection = newArray(numProjectionSlots, null);
  67116. const tails = projectionHeads.slice();
  67117. let componentChild = componentNode.child;
  67118. while (componentChild !== null) {
  67119. const slotIndex = projectionSlots ? matchingProjectionSlotIndex(componentChild, projectionSlots) : 0;
  67120. if (slotIndex !== null) {
  67121. if (tails[slotIndex]) {
  67122. tails[slotIndex].projectionNext = componentChild;
  67123. } else {
  67124. projectionHeads[slotIndex] = componentChild;
  67125. }
  67126. tails[slotIndex] = componentChild;
  67127. }
  67128. componentChild = componentChild.next;
  67129. }
  67130. }
  67131. }
  67132. /**
  67133. * Inserts previously re-distributed projected nodes. This instruction must be preceded by a call
  67134. * to the projectionDef instruction.
  67135. *
  67136. * @param nodeIndex
  67137. * @param selectorIndex:
  67138. * - 0 when the selector is `*` (or unspecified as this is the default value),
  67139. * - 1 based index of the selector from the {@link projectionDef}
  67140. *
  67141. * @codeGenApi
  67142. */
  67143. function ɵɵprojection(nodeIndex, selectorIndex = 0, attrs) {
  67144. const lView = getLView();
  67145. const tView = getTView();
  67146. const tProjectionNode = getOrCreateTNode(tView, HEADER_OFFSET + nodeIndex, 16
  67147. /* TNodeType.Projection */
  67148. , null, attrs || null); // We can't use viewData[HOST_NODE] because projection nodes can be nested in embedded views.
  67149. if (tProjectionNode.projection === null) tProjectionNode.projection = selectorIndex; // `<ng-content>` has no content
  67150. setCurrentTNodeAsNotParent();
  67151. if ((tProjectionNode.flags & 64
  67152. /* TNodeFlags.isDetached */
  67153. ) !== 64
  67154. /* TNodeFlags.isDetached */
  67155. ) {
  67156. // re-distribution of projectable nodes is stored on a component's view level
  67157. applyProjection(tView, lView, tProjectionNode);
  67158. }
  67159. }
  67160. /**
  67161. *
  67162. * Update an interpolated property on an element with a lone bound value
  67163. *
  67164. * Used when the value passed to a property has 1 interpolated value in it, an no additional text
  67165. * surrounds that interpolated value:
  67166. *
  67167. * ```html
  67168. * <div title="{{v0}}"></div>
  67169. * ```
  67170. *
  67171. * Its compiled representation is::
  67172. *
  67173. * ```ts
  67174. * ɵɵpropertyInterpolate('title', v0);
  67175. * ```
  67176. *
  67177. * If the property name also exists as an input property on one of the element's directives,
  67178. * the component property will be set instead of the element property. This check must
  67179. * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.
  67180. *
  67181. * @param propName The name of the property to update
  67182. * @param prefix Static value used for concatenation only.
  67183. * @param v0 Value checked for change.
  67184. * @param suffix Static value used for concatenation only.
  67185. * @param sanitizer An optional sanitizer function
  67186. * @returns itself, so that it may be chained.
  67187. * @codeGenApi
  67188. */
  67189. function ɵɵpropertyInterpolate(propName, v0, sanitizer) {
  67190. ɵɵpropertyInterpolate1(propName, '', v0, '', sanitizer);
  67191. return ɵɵpropertyInterpolate;
  67192. }
  67193. /**
  67194. *
  67195. * Update an interpolated property on an element with single bound value surrounded by text.
  67196. *
  67197. * Used when the value passed to a property has 1 interpolated value in it:
  67198. *
  67199. * ```html
  67200. * <div title="prefix{{v0}}suffix"></div>
  67201. * ```
  67202. *
  67203. * Its compiled representation is::
  67204. *
  67205. * ```ts
  67206. * ɵɵpropertyInterpolate1('title', 'prefix', v0, 'suffix');
  67207. * ```
  67208. *
  67209. * If the property name also exists as an input property on one of the element's directives,
  67210. * the component property will be set instead of the element property. This check must
  67211. * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.
  67212. *
  67213. * @param propName The name of the property to update
  67214. * @param prefix Static value used for concatenation only.
  67215. * @param v0 Value checked for change.
  67216. * @param suffix Static value used for concatenation only.
  67217. * @param sanitizer An optional sanitizer function
  67218. * @returns itself, so that it may be chained.
  67219. * @codeGenApi
  67220. */
  67221. function ɵɵpropertyInterpolate1(propName, prefix, v0, suffix, sanitizer) {
  67222. const lView = getLView();
  67223. const interpolatedValue = interpolation1(lView, prefix, v0, suffix);
  67224. if (interpolatedValue !== NO_CHANGE) {
  67225. const tView = getTView();
  67226. const tNode = getSelectedTNode();
  67227. elementPropertyInternal(tView, tNode, lView, propName, interpolatedValue, lView[RENDERER], sanitizer, false);
  67228. ngDevMode && storePropertyBindingMetadata(tView.data, tNode, propName, getBindingIndex() - 1, prefix, suffix);
  67229. }
  67230. return ɵɵpropertyInterpolate1;
  67231. }
  67232. /**
  67233. *
  67234. * Update an interpolated property on an element with 2 bound values surrounded by text.
  67235. *
  67236. * Used when the value passed to a property has 2 interpolated values in it:
  67237. *
  67238. * ```html
  67239. * <div title="prefix{{v0}}-{{v1}}suffix"></div>
  67240. * ```
  67241. *
  67242. * Its compiled representation is::
  67243. *
  67244. * ```ts
  67245. * ɵɵpropertyInterpolate2('title', 'prefix', v0, '-', v1, 'suffix');
  67246. * ```
  67247. *
  67248. * If the property name also exists as an input property on one of the element's directives,
  67249. * the component property will be set instead of the element property. This check must
  67250. * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.
  67251. *
  67252. * @param propName The name of the property to update
  67253. * @param prefix Static value used for concatenation only.
  67254. * @param v0 Value checked for change.
  67255. * @param i0 Static value used for concatenation only.
  67256. * @param v1 Value checked for change.
  67257. * @param suffix Static value used for concatenation only.
  67258. * @param sanitizer An optional sanitizer function
  67259. * @returns itself, so that it may be chained.
  67260. * @codeGenApi
  67261. */
  67262. function ɵɵpropertyInterpolate2(propName, prefix, v0, i0, v1, suffix, sanitizer) {
  67263. const lView = getLView();
  67264. const interpolatedValue = interpolation2(lView, prefix, v0, i0, v1, suffix);
  67265. if (interpolatedValue !== NO_CHANGE) {
  67266. const tView = getTView();
  67267. const tNode = getSelectedTNode();
  67268. elementPropertyInternal(tView, tNode, lView, propName, interpolatedValue, lView[RENDERER], sanitizer, false);
  67269. ngDevMode && storePropertyBindingMetadata(tView.data, tNode, propName, getBindingIndex() - 2, prefix, i0, suffix);
  67270. }
  67271. return ɵɵpropertyInterpolate2;
  67272. }
  67273. /**
  67274. *
  67275. * Update an interpolated property on an element with 3 bound values surrounded by text.
  67276. *
  67277. * Used when the value passed to a property has 3 interpolated values in it:
  67278. *
  67279. * ```html
  67280. * <div title="prefix{{v0}}-{{v1}}-{{v2}}suffix"></div>
  67281. * ```
  67282. *
  67283. * Its compiled representation is::
  67284. *
  67285. * ```ts
  67286. * ɵɵpropertyInterpolate3(
  67287. * 'title', 'prefix', v0, '-', v1, '-', v2, 'suffix');
  67288. * ```
  67289. *
  67290. * If the property name also exists as an input property on one of the element's directives,
  67291. * the component property will be set instead of the element property. This check must
  67292. * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.
  67293. *
  67294. * @param propName The name of the property to update
  67295. * @param prefix Static value used for concatenation only.
  67296. * @param v0 Value checked for change.
  67297. * @param i0 Static value used for concatenation only.
  67298. * @param v1 Value checked for change.
  67299. * @param i1 Static value used for concatenation only.
  67300. * @param v2 Value checked for change.
  67301. * @param suffix Static value used for concatenation only.
  67302. * @param sanitizer An optional sanitizer function
  67303. * @returns itself, so that it may be chained.
  67304. * @codeGenApi
  67305. */
  67306. function ɵɵpropertyInterpolate3(propName, prefix, v0, i0, v1, i1, v2, suffix, sanitizer) {
  67307. const lView = getLView();
  67308. const interpolatedValue = interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix);
  67309. if (interpolatedValue !== NO_CHANGE) {
  67310. const tView = getTView();
  67311. const tNode = getSelectedTNode();
  67312. elementPropertyInternal(tView, tNode, lView, propName, interpolatedValue, lView[RENDERER], sanitizer, false);
  67313. ngDevMode && storePropertyBindingMetadata(tView.data, tNode, propName, getBindingIndex() - 3, prefix, i0, i1, suffix);
  67314. }
  67315. return ɵɵpropertyInterpolate3;
  67316. }
  67317. /**
  67318. *
  67319. * Update an interpolated property on an element with 4 bound values surrounded by text.
  67320. *
  67321. * Used when the value passed to a property has 4 interpolated values in it:
  67322. *
  67323. * ```html
  67324. * <div title="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}suffix"></div>
  67325. * ```
  67326. *
  67327. * Its compiled representation is::
  67328. *
  67329. * ```ts
  67330. * ɵɵpropertyInterpolate4(
  67331. * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, 'suffix');
  67332. * ```
  67333. *
  67334. * If the property name also exists as an input property on one of the element's directives,
  67335. * the component property will be set instead of the element property. This check must
  67336. * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.
  67337. *
  67338. * @param propName The name of the property to update
  67339. * @param prefix Static value used for concatenation only.
  67340. * @param v0 Value checked for change.
  67341. * @param i0 Static value used for concatenation only.
  67342. * @param v1 Value checked for change.
  67343. * @param i1 Static value used for concatenation only.
  67344. * @param v2 Value checked for change.
  67345. * @param i2 Static value used for concatenation only.
  67346. * @param v3 Value checked for change.
  67347. * @param suffix Static value used for concatenation only.
  67348. * @param sanitizer An optional sanitizer function
  67349. * @returns itself, so that it may be chained.
  67350. * @codeGenApi
  67351. */
  67352. function ɵɵpropertyInterpolate4(propName, prefix, v0, i0, v1, i1, v2, i2, v3, suffix, sanitizer) {
  67353. const lView = getLView();
  67354. const interpolatedValue = interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix);
  67355. if (interpolatedValue !== NO_CHANGE) {
  67356. const tView = getTView();
  67357. const tNode = getSelectedTNode();
  67358. elementPropertyInternal(tView, tNode, lView, propName, interpolatedValue, lView[RENDERER], sanitizer, false);
  67359. ngDevMode && storePropertyBindingMetadata(tView.data, tNode, propName, getBindingIndex() - 4, prefix, i0, i1, i2, suffix);
  67360. }
  67361. return ɵɵpropertyInterpolate4;
  67362. }
  67363. /**
  67364. *
  67365. * Update an interpolated property on an element with 5 bound values surrounded by text.
  67366. *
  67367. * Used when the value passed to a property has 5 interpolated values in it:
  67368. *
  67369. * ```html
  67370. * <div title="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}suffix"></div>
  67371. * ```
  67372. *
  67373. * Its compiled representation is::
  67374. *
  67375. * ```ts
  67376. * ɵɵpropertyInterpolate5(
  67377. * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, 'suffix');
  67378. * ```
  67379. *
  67380. * If the property name also exists as an input property on one of the element's directives,
  67381. * the component property will be set instead of the element property. This check must
  67382. * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.
  67383. *
  67384. * @param propName The name of the property to update
  67385. * @param prefix Static value used for concatenation only.
  67386. * @param v0 Value checked for change.
  67387. * @param i0 Static value used for concatenation only.
  67388. * @param v1 Value checked for change.
  67389. * @param i1 Static value used for concatenation only.
  67390. * @param v2 Value checked for change.
  67391. * @param i2 Static value used for concatenation only.
  67392. * @param v3 Value checked for change.
  67393. * @param i3 Static value used for concatenation only.
  67394. * @param v4 Value checked for change.
  67395. * @param suffix Static value used for concatenation only.
  67396. * @param sanitizer An optional sanitizer function
  67397. * @returns itself, so that it may be chained.
  67398. * @codeGenApi
  67399. */
  67400. function ɵɵpropertyInterpolate5(propName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix, sanitizer) {
  67401. const lView = getLView();
  67402. const interpolatedValue = interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix);
  67403. if (interpolatedValue !== NO_CHANGE) {
  67404. const tView = getTView();
  67405. const tNode = getSelectedTNode();
  67406. elementPropertyInternal(tView, tNode, lView, propName, interpolatedValue, lView[RENDERER], sanitizer, false);
  67407. ngDevMode && storePropertyBindingMetadata(tView.data, tNode, propName, getBindingIndex() - 5, prefix, i0, i1, i2, i3, suffix);
  67408. }
  67409. return ɵɵpropertyInterpolate5;
  67410. }
  67411. /**
  67412. *
  67413. * Update an interpolated property on an element with 6 bound values surrounded by text.
  67414. *
  67415. * Used when the value passed to a property has 6 interpolated values in it:
  67416. *
  67417. * ```html
  67418. * <div title="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}suffix"></div>
  67419. * ```
  67420. *
  67421. * Its compiled representation is::
  67422. *
  67423. * ```ts
  67424. * ɵɵpropertyInterpolate6(
  67425. * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, 'suffix');
  67426. * ```
  67427. *
  67428. * If the property name also exists as an input property on one of the element's directives,
  67429. * the component property will be set instead of the element property. This check must
  67430. * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.
  67431. *
  67432. * @param propName The name of the property to update
  67433. * @param prefix Static value used for concatenation only.
  67434. * @param v0 Value checked for change.
  67435. * @param i0 Static value used for concatenation only.
  67436. * @param v1 Value checked for change.
  67437. * @param i1 Static value used for concatenation only.
  67438. * @param v2 Value checked for change.
  67439. * @param i2 Static value used for concatenation only.
  67440. * @param v3 Value checked for change.
  67441. * @param i3 Static value used for concatenation only.
  67442. * @param v4 Value checked for change.
  67443. * @param i4 Static value used for concatenation only.
  67444. * @param v5 Value checked for change.
  67445. * @param suffix Static value used for concatenation only.
  67446. * @param sanitizer An optional sanitizer function
  67447. * @returns itself, so that it may be chained.
  67448. * @codeGenApi
  67449. */
  67450. function ɵɵpropertyInterpolate6(propName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix, sanitizer) {
  67451. const lView = getLView();
  67452. const interpolatedValue = interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix);
  67453. if (interpolatedValue !== NO_CHANGE) {
  67454. const tView = getTView();
  67455. const tNode = getSelectedTNode();
  67456. elementPropertyInternal(tView, tNode, lView, propName, interpolatedValue, lView[RENDERER], sanitizer, false);
  67457. ngDevMode && storePropertyBindingMetadata(tView.data, tNode, propName, getBindingIndex() - 6, prefix, i0, i1, i2, i3, i4, suffix);
  67458. }
  67459. return ɵɵpropertyInterpolate6;
  67460. }
  67461. /**
  67462. *
  67463. * Update an interpolated property on an element with 7 bound values surrounded by text.
  67464. *
  67465. * Used when the value passed to a property has 7 interpolated values in it:
  67466. *
  67467. * ```html
  67468. * <div title="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}suffix"></div>
  67469. * ```
  67470. *
  67471. * Its compiled representation is::
  67472. *
  67473. * ```ts
  67474. * ɵɵpropertyInterpolate7(
  67475. * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, 'suffix');
  67476. * ```
  67477. *
  67478. * If the property name also exists as an input property on one of the element's directives,
  67479. * the component property will be set instead of the element property. This check must
  67480. * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.
  67481. *
  67482. * @param propName The name of the property to update
  67483. * @param prefix Static value used for concatenation only.
  67484. * @param v0 Value checked for change.
  67485. * @param i0 Static value used for concatenation only.
  67486. * @param v1 Value checked for change.
  67487. * @param i1 Static value used for concatenation only.
  67488. * @param v2 Value checked for change.
  67489. * @param i2 Static value used for concatenation only.
  67490. * @param v3 Value checked for change.
  67491. * @param i3 Static value used for concatenation only.
  67492. * @param v4 Value checked for change.
  67493. * @param i4 Static value used for concatenation only.
  67494. * @param v5 Value checked for change.
  67495. * @param i5 Static value used for concatenation only.
  67496. * @param v6 Value checked for change.
  67497. * @param suffix Static value used for concatenation only.
  67498. * @param sanitizer An optional sanitizer function
  67499. * @returns itself, so that it may be chained.
  67500. * @codeGenApi
  67501. */
  67502. function ɵɵpropertyInterpolate7(propName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix, sanitizer) {
  67503. const lView = getLView();
  67504. const interpolatedValue = interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix);
  67505. if (interpolatedValue !== NO_CHANGE) {
  67506. const tView = getTView();
  67507. const tNode = getSelectedTNode();
  67508. elementPropertyInternal(tView, tNode, lView, propName, interpolatedValue, lView[RENDERER], sanitizer, false);
  67509. ngDevMode && storePropertyBindingMetadata(tView.data, tNode, propName, getBindingIndex() - 7, prefix, i0, i1, i2, i3, i4, i5, suffix);
  67510. }
  67511. return ɵɵpropertyInterpolate7;
  67512. }
  67513. /**
  67514. *
  67515. * Update an interpolated property on an element with 8 bound values surrounded by text.
  67516. *
  67517. * Used when the value passed to a property has 8 interpolated values in it:
  67518. *
  67519. * ```html
  67520. * <div title="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}suffix"></div>
  67521. * ```
  67522. *
  67523. * Its compiled representation is::
  67524. *
  67525. * ```ts
  67526. * ɵɵpropertyInterpolate8(
  67527. * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, 'suffix');
  67528. * ```
  67529. *
  67530. * If the property name also exists as an input property on one of the element's directives,
  67531. * the component property will be set instead of the element property. This check must
  67532. * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.
  67533. *
  67534. * @param propName The name of the property to update
  67535. * @param prefix Static value used for concatenation only.
  67536. * @param v0 Value checked for change.
  67537. * @param i0 Static value used for concatenation only.
  67538. * @param v1 Value checked for change.
  67539. * @param i1 Static value used for concatenation only.
  67540. * @param v2 Value checked for change.
  67541. * @param i2 Static value used for concatenation only.
  67542. * @param v3 Value checked for change.
  67543. * @param i3 Static value used for concatenation only.
  67544. * @param v4 Value checked for change.
  67545. * @param i4 Static value used for concatenation only.
  67546. * @param v5 Value checked for change.
  67547. * @param i5 Static value used for concatenation only.
  67548. * @param v6 Value checked for change.
  67549. * @param i6 Static value used for concatenation only.
  67550. * @param v7 Value checked for change.
  67551. * @param suffix Static value used for concatenation only.
  67552. * @param sanitizer An optional sanitizer function
  67553. * @returns itself, so that it may be chained.
  67554. * @codeGenApi
  67555. */
  67556. function ɵɵpropertyInterpolate8(propName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix, sanitizer) {
  67557. const lView = getLView();
  67558. const interpolatedValue = interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix);
  67559. if (interpolatedValue !== NO_CHANGE) {
  67560. const tView = getTView();
  67561. const tNode = getSelectedTNode();
  67562. elementPropertyInternal(tView, tNode, lView, propName, interpolatedValue, lView[RENDERER], sanitizer, false);
  67563. ngDevMode && storePropertyBindingMetadata(tView.data, tNode, propName, getBindingIndex() - 8, prefix, i0, i1, i2, i3, i4, i5, i6, suffix);
  67564. }
  67565. return ɵɵpropertyInterpolate8;
  67566. }
  67567. /**
  67568. * Update an interpolated property on an element with 9 or more bound values surrounded by text.
  67569. *
  67570. * Used when the number of interpolated values exceeds 8.
  67571. *
  67572. * ```html
  67573. * <div
  67574. * title="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}-{{v8}}-{{v9}}suffix"></div>
  67575. * ```
  67576. *
  67577. * Its compiled representation is::
  67578. *
  67579. * ```ts
  67580. * ɵɵpropertyInterpolateV(
  67581. * 'title', ['prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, '-', v9,
  67582. * 'suffix']);
  67583. * ```
  67584. *
  67585. * If the property name also exists as an input property on one of the element's directives,
  67586. * the component property will be set instead of the element property. This check must
  67587. * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.
  67588. *
  67589. * @param propName The name of the property to update.
  67590. * @param values The collection of values and the strings in between those values, beginning with a
  67591. * string prefix and ending with a string suffix.
  67592. * (e.g. `['prefix', value0, '-', value1, '-', value2, ..., value99, 'suffix']`)
  67593. * @param sanitizer An optional sanitizer function
  67594. * @returns itself, so that it may be chained.
  67595. * @codeGenApi
  67596. */
  67597. function ɵɵpropertyInterpolateV(propName, values, sanitizer) {
  67598. const lView = getLView();
  67599. const interpolatedValue = interpolationV(lView, values);
  67600. if (interpolatedValue !== NO_CHANGE) {
  67601. const tView = getTView();
  67602. const tNode = getSelectedTNode();
  67603. elementPropertyInternal(tView, tNode, lView, propName, interpolatedValue, lView[RENDERER], sanitizer, false);
  67604. if (ngDevMode) {
  67605. const interpolationInBetween = [values[0]]; // prefix
  67606. for (let i = 2; i < values.length; i += 2) {
  67607. interpolationInBetween.push(values[i]);
  67608. }
  67609. storePropertyBindingMetadata(tView.data, tNode, propName, getBindingIndex() - interpolationInBetween.length + 1, ...interpolationInBetween);
  67610. }
  67611. }
  67612. return ɵɵpropertyInterpolateV;
  67613. }
  67614. /**
  67615. * @license
  67616. * Copyright Google LLC All Rights Reserved.
  67617. *
  67618. * Use of this source code is governed by an MIT-style license that can be
  67619. * found in the LICENSE file at https://angular.io/license
  67620. */
  67621. /**
  67622. * NOTE: The word `styling` is used interchangeably as style or class styling.
  67623. *
  67624. * This file contains code to link styling instructions together so that they can be replayed in
  67625. * priority order. The file exists because Ivy styling instruction execution order does not match
  67626. * that of the priority order. The purpose of this code is to create a linked list so that the
  67627. * instructions can be traversed in priority order when computing the styles.
  67628. *
  67629. * Assume we are dealing with the following code:
  67630. * ```
  67631. * @Component({
  67632. * template: `
  67633. * <my-cmp [style]=" {color: '#001'} "
  67634. * [style.color]=" #002 "
  67635. * dir-style-color-1
  67636. * dir-style-color-2> `
  67637. * })
  67638. * class ExampleComponent {
  67639. * static ngComp = ... {
  67640. * ...
  67641. * // Compiler ensures that `ɵɵstyleProp` is after `ɵɵstyleMap`
  67642. * ɵɵstyleMap({color: '#001'});
  67643. * ɵɵstyleProp('color', '#002');
  67644. * ...
  67645. * }
  67646. * }
  67647. *
  67648. * @Directive({
  67649. * selector: `[dir-style-color-1]',
  67650. * })
  67651. * class Style1Directive {
  67652. * @HostBinding('style') style = {color: '#005'};
  67653. * @HostBinding('style.color') color = '#006';
  67654. *
  67655. * static ngDir = ... {
  67656. * ...
  67657. * // Compiler ensures that `ɵɵstyleProp` is after `ɵɵstyleMap`
  67658. * ɵɵstyleMap({color: '#005'});
  67659. * ɵɵstyleProp('color', '#006');
  67660. * ...
  67661. * }
  67662. * }
  67663. *
  67664. * @Directive({
  67665. * selector: `[dir-style-color-2]',
  67666. * })
  67667. * class Style2Directive {
  67668. * @HostBinding('style') style = {color: '#007'};
  67669. * @HostBinding('style.color') color = '#008';
  67670. *
  67671. * static ngDir = ... {
  67672. * ...
  67673. * // Compiler ensures that `ɵɵstyleProp` is after `ɵɵstyleMap`
  67674. * ɵɵstyleMap({color: '#007'});
  67675. * ɵɵstyleProp('color', '#008');
  67676. * ...
  67677. * }
  67678. * }
  67679. *
  67680. * @Directive({
  67681. * selector: `my-cmp',
  67682. * })
  67683. * class MyComponent {
  67684. * @HostBinding('style') style = {color: '#003'};
  67685. * @HostBinding('style.color') color = '#004';
  67686. *
  67687. * static ngComp = ... {
  67688. * ...
  67689. * // Compiler ensures that `ɵɵstyleProp` is after `ɵɵstyleMap`
  67690. * ɵɵstyleMap({color: '#003'});
  67691. * ɵɵstyleProp('color', '#004');
  67692. * ...
  67693. * }
  67694. * }
  67695. * ```
  67696. *
  67697. * The Order of instruction execution is:
  67698. *
  67699. * NOTE: the comment binding location is for illustrative purposes only.
  67700. *
  67701. * ```
  67702. * // Template: (ExampleComponent)
  67703. * ɵɵstyleMap({color: '#001'}); // Binding index: 10
  67704. * ɵɵstyleProp('color', '#002'); // Binding index: 12
  67705. * // MyComponent
  67706. * ɵɵstyleMap({color: '#003'}); // Binding index: 20
  67707. * ɵɵstyleProp('color', '#004'); // Binding index: 22
  67708. * // Style1Directive
  67709. * ɵɵstyleMap({color: '#005'}); // Binding index: 24
  67710. * ɵɵstyleProp('color', '#006'); // Binding index: 26
  67711. * // Style2Directive
  67712. * ɵɵstyleMap({color: '#007'}); // Binding index: 28
  67713. * ɵɵstyleProp('color', '#008'); // Binding index: 30
  67714. * ```
  67715. *
  67716. * The correct priority order of concatenation is:
  67717. *
  67718. * ```
  67719. * // MyComponent
  67720. * ɵɵstyleMap({color: '#003'}); // Binding index: 20
  67721. * ɵɵstyleProp('color', '#004'); // Binding index: 22
  67722. * // Style1Directive
  67723. * ɵɵstyleMap({color: '#005'}); // Binding index: 24
  67724. * ɵɵstyleProp('color', '#006'); // Binding index: 26
  67725. * // Style2Directive
  67726. * ɵɵstyleMap({color: '#007'}); // Binding index: 28
  67727. * ɵɵstyleProp('color', '#008'); // Binding index: 30
  67728. * // Template: (ExampleComponent)
  67729. * ɵɵstyleMap({color: '#001'}); // Binding index: 10
  67730. * ɵɵstyleProp('color', '#002'); // Binding index: 12
  67731. * ```
  67732. *
  67733. * What color should be rendered?
  67734. *
  67735. * Once the items are correctly sorted in the list, the answer is simply the last item in the
  67736. * concatenation list which is `#002`.
  67737. *
  67738. * To do so we keep a linked list of all of the bindings which pertain to this element.
  67739. * Notice that the bindings are inserted in the order of execution, but the `TView.data` allows
  67740. * us to traverse them in the order of priority.
  67741. *
  67742. * |Idx|`TView.data`|`LView` | Notes
  67743. * |---|------------|-----------------|--------------
  67744. * |...| | |
  67745. * |10 |`null` |`{color: '#001'}`| `ɵɵstyleMap('color', {color: '#001'})`
  67746. * |11 |`30 | 12` | ... |
  67747. * |12 |`color` |`'#002'` | `ɵɵstyleProp('color', '#002')`
  67748. * |13 |`10 | 0` | ... |
  67749. * |...| | |
  67750. * |20 |`null` |`{color: '#003'}`| `ɵɵstyleMap('color', {color: '#003'})`
  67751. * |21 |`0 | 22` | ... |
  67752. * |22 |`color` |`'#004'` | `ɵɵstyleProp('color', '#004')`
  67753. * |23 |`20 | 24` | ... |
  67754. * |24 |`null` |`{color: '#005'}`| `ɵɵstyleMap('color', {color: '#005'})`
  67755. * |25 |`22 | 26` | ... |
  67756. * |26 |`color` |`'#006'` | `ɵɵstyleProp('color', '#006')`
  67757. * |27 |`24 | 28` | ... |
  67758. * |28 |`null` |`{color: '#007'}`| `ɵɵstyleMap('color', {color: '#007'})`
  67759. * |29 |`26 | 30` | ... |
  67760. * |30 |`color` |`'#008'` | `ɵɵstyleProp('color', '#008')`
  67761. * |31 |`28 | 10` | ... |
  67762. *
  67763. * The above data structure allows us to re-concatenate the styling no matter which data binding
  67764. * changes.
  67765. *
  67766. * NOTE: in addition to keeping track of next/previous index the `TView.data` also stores prev/next
  67767. * duplicate bit. The duplicate bit if true says there either is a binding with the same name or
  67768. * there is a map (which may contain the name). This information is useful in knowing if other
  67769. * styles with higher priority need to be searched for overwrites.
  67770. *
  67771. * NOTE: See `should support example in 'tnode_linked_list.ts' documentation` in
  67772. * `tnode_linked_list_spec.ts` for working example.
  67773. */
  67774. let __unused_const_as_closure_does_not_like_standalone_comment_blocks__;
  67775. /**
  67776. * Insert new `tStyleValue` at `TData` and link existing style bindings such that we maintain linked
  67777. * list of styles and compute the duplicate flag.
  67778. *
  67779. * Note: this function is executed during `firstUpdatePass` only to populate the `TView.data`.
  67780. *
  67781. * The function works by keeping track of `tStylingRange` which contains two pointers pointing to
  67782. * the head/tail of the template portion of the styles.
  67783. * - if `isHost === false` (we are template) then insertion is at tail of `TStylingRange`
  67784. * - if `isHost === true` (we are host binding) then insertion is at head of `TStylingRange`
  67785. *
  67786. * @param tData The `TData` to insert into.
  67787. * @param tNode `TNode` associated with the styling element.
  67788. * @param tStylingKey See `TStylingKey`.
  67789. * @param index location of where `tStyleValue` should be stored (and linked into list.)
  67790. * @param isHostBinding `true` if the insertion is for a `hostBinding`. (insertion is in front of
  67791. * template.)
  67792. * @param isClassBinding True if the associated `tStylingKey` as a `class` styling.
  67793. * `tNode.classBindings` should be used (or `tNode.styleBindings` otherwise.)
  67794. */
  67795. function insertTStylingBinding(tData, tNode, tStylingKeyWithStatic, index, isHostBinding, isClassBinding) {
  67796. ngDevMode && assertFirstUpdatePass(getTView());
  67797. let tBindings = isClassBinding ? tNode.classBindings : tNode.styleBindings;
  67798. let tmplHead = getTStylingRangePrev(tBindings);
  67799. let tmplTail = getTStylingRangeNext(tBindings);
  67800. tData[index] = tStylingKeyWithStatic;
  67801. let isKeyDuplicateOfStatic = false;
  67802. let tStylingKey;
  67803. if (Array.isArray(tStylingKeyWithStatic)) {
  67804. // We are case when the `TStylingKey` contains static fields as well.
  67805. const staticKeyValueArray = tStylingKeyWithStatic;
  67806. tStylingKey = staticKeyValueArray[1]; // unwrap.
  67807. // We need to check if our key is present in the static so that we can mark it as duplicate.
  67808. if (tStylingKey === null || keyValueArrayIndexOf(staticKeyValueArray, tStylingKey) > 0) {
  67809. // tStylingKey is present in the statics, need to mark it as duplicate.
  67810. isKeyDuplicateOfStatic = true;
  67811. }
  67812. } else {
  67813. tStylingKey = tStylingKeyWithStatic;
  67814. }
  67815. if (isHostBinding) {
  67816. // We are inserting host bindings
  67817. // If we don't have template bindings then `tail` is 0.
  67818. const hasTemplateBindings = tmplTail !== 0; // This is important to know because that means that the `head` can't point to the first
  67819. // template bindings (there are none.) Instead the head points to the tail of the template.
  67820. if (hasTemplateBindings) {
  67821. // template head's "prev" will point to last host binding or to 0 if no host bindings yet
  67822. const previousNode = getTStylingRangePrev(tData[tmplHead + 1]);
  67823. tData[index + 1] = toTStylingRange(previousNode, tmplHead); // if a host binding has already been registered, we need to update the next of that host
  67824. // binding to point to this one
  67825. if (previousNode !== 0) {
  67826. // We need to update the template-tail value to point to us.
  67827. tData[previousNode + 1] = setTStylingRangeNext(tData[previousNode + 1], index);
  67828. } // The "previous" of the template binding head should point to this host binding
  67829. tData[tmplHead + 1] = setTStylingRangePrev(tData[tmplHead + 1], index);
  67830. } else {
  67831. tData[index + 1] = toTStylingRange(tmplHead, 0); // if a host binding has already been registered, we need to update the next of that host
  67832. // binding to point to this one
  67833. if (tmplHead !== 0) {
  67834. // We need to update the template-tail value to point to us.
  67835. tData[tmplHead + 1] = setTStylingRangeNext(tData[tmplHead + 1], index);
  67836. } // if we don't have template, the head points to template-tail, and needs to be advanced.
  67837. tmplHead = index;
  67838. }
  67839. } else {
  67840. // We are inserting in template section.
  67841. // We need to set this binding's "previous" to the current template tail
  67842. tData[index + 1] = toTStylingRange(tmplTail, 0);
  67843. ngDevMode && assertEqual(tmplHead !== 0 && tmplTail === 0, false, 'Adding template bindings after hostBindings is not allowed.');
  67844. if (tmplHead === 0) {
  67845. tmplHead = index;
  67846. } else {
  67847. // We need to update the previous value "next" to point to this binding
  67848. tData[tmplTail + 1] = setTStylingRangeNext(tData[tmplTail + 1], index);
  67849. }
  67850. tmplTail = index;
  67851. } // Now we need to update / compute the duplicates.
  67852. // Starting with our location search towards head (least priority)
  67853. if (isKeyDuplicateOfStatic) {
  67854. tData[index + 1] = setTStylingRangePrevDuplicate(tData[index + 1]);
  67855. }
  67856. markDuplicates(tData, tStylingKey, index, true, isClassBinding);
  67857. markDuplicates(tData, tStylingKey, index, false, isClassBinding);
  67858. markDuplicateOfResidualStyling(tNode, tStylingKey, tData, index, isClassBinding);
  67859. tBindings = toTStylingRange(tmplHead, tmplTail);
  67860. if (isClassBinding) {
  67861. tNode.classBindings = tBindings;
  67862. } else {
  67863. tNode.styleBindings = tBindings;
  67864. }
  67865. }
  67866. /**
  67867. * Look into the residual styling to see if the current `tStylingKey` is duplicate of residual.
  67868. *
  67869. * @param tNode `TNode` where the residual is stored.
  67870. * @param tStylingKey `TStylingKey` to store.
  67871. * @param tData `TData` associated with the current `LView`.
  67872. * @param index location of where `tStyleValue` should be stored (and linked into list.)
  67873. * @param isClassBinding True if the associated `tStylingKey` as a `class` styling.
  67874. * `tNode.classBindings` should be used (or `tNode.styleBindings` otherwise.)
  67875. */
  67876. function markDuplicateOfResidualStyling(tNode, tStylingKey, tData, index, isClassBinding) {
  67877. const residual = isClassBinding ? tNode.residualClasses : tNode.residualStyles;
  67878. if (residual != null
  67879. /* or undefined */
  67880. && typeof tStylingKey == 'string' && keyValueArrayIndexOf(residual, tStylingKey) >= 0) {
  67881. // We have duplicate in the residual so mark ourselves as duplicate.
  67882. tData[index + 1] = setTStylingRangeNextDuplicate(tData[index + 1]);
  67883. }
  67884. }
  67885. /**
  67886. * Marks `TStyleValue`s as duplicates if another style binding in the list has the same
  67887. * `TStyleValue`.
  67888. *
  67889. * NOTE: this function is intended to be called twice once with `isPrevDir` set to `true` and once
  67890. * with it set to `false` to search both the previous as well as next items in the list.
  67891. *
  67892. * No duplicate case
  67893. * ```
  67894. * [style.color]
  67895. * [style.width.px] <<- index
  67896. * [style.height.px]
  67897. * ```
  67898. *
  67899. * In the above case adding `[style.width.px]` to the existing `[style.color]` produces no
  67900. * duplicates because `width` is not found in any other part of the linked list.
  67901. *
  67902. * Duplicate case
  67903. * ```
  67904. * [style.color]
  67905. * [style.width.em]
  67906. * [style.width.px] <<- index
  67907. * ```
  67908. * In the above case adding `[style.width.px]` will produce a duplicate with `[style.width.em]`
  67909. * because `width` is found in the chain.
  67910. *
  67911. * Map case 1
  67912. * ```
  67913. * [style.width.px]
  67914. * [style.color]
  67915. * [style] <<- index
  67916. * ```
  67917. * In the above case adding `[style]` will produce a duplicate with any other bindings because
  67918. * `[style]` is a Map and as such is fully dynamic and could produce `color` or `width`.
  67919. *
  67920. * Map case 2
  67921. * ```
  67922. * [style]
  67923. * [style.width.px]
  67924. * [style.color] <<- index
  67925. * ```
  67926. * In the above case adding `[style.color]` will produce a duplicate because there is already a
  67927. * `[style]` binding which is a Map and as such is fully dynamic and could produce `color` or
  67928. * `width`.
  67929. *
  67930. * NOTE: Once `[style]` (Map) is added into the system all things are mapped as duplicates.
  67931. * NOTE: We use `style` as example, but same logic is applied to `class`es as well.
  67932. *
  67933. * @param tData `TData` where the linked list is stored.
  67934. * @param tStylingKey `TStylingKeyPrimitive` which contains the value to compare to other keys in
  67935. * the linked list.
  67936. * @param index Starting location in the linked list to search from
  67937. * @param isPrevDir Direction.
  67938. * - `true` for previous (lower priority);
  67939. * - `false` for next (higher priority).
  67940. */
  67941. function markDuplicates(tData, tStylingKey, index, isPrevDir, isClassBinding) {
  67942. const tStylingAtIndex = tData[index + 1];
  67943. const isMap = tStylingKey === null;
  67944. let cursor = isPrevDir ? getTStylingRangePrev(tStylingAtIndex) : getTStylingRangeNext(tStylingAtIndex);
  67945. let foundDuplicate = false; // We keep iterating as long as we have a cursor
  67946. // AND either:
  67947. // - we found what we are looking for, OR
  67948. // - we are a map in which case we have to continue searching even after we find what we were
  67949. // looking for since we are a wild card and everything needs to be flipped to duplicate.
  67950. while (cursor !== 0 && (foundDuplicate === false || isMap)) {
  67951. ngDevMode && assertIndexInRange(tData, cursor);
  67952. const tStylingValueAtCursor = tData[cursor];
  67953. const tStyleRangeAtCursor = tData[cursor + 1];
  67954. if (isStylingMatch(tStylingValueAtCursor, tStylingKey)) {
  67955. foundDuplicate = true;
  67956. tData[cursor + 1] = isPrevDir ? setTStylingRangeNextDuplicate(tStyleRangeAtCursor) : setTStylingRangePrevDuplicate(tStyleRangeAtCursor);
  67957. }
  67958. cursor = isPrevDir ? getTStylingRangePrev(tStyleRangeAtCursor) : getTStylingRangeNext(tStyleRangeAtCursor);
  67959. }
  67960. if (foundDuplicate) {
  67961. // if we found a duplicate, than mark ourselves.
  67962. tData[index + 1] = isPrevDir ? setTStylingRangePrevDuplicate(tStylingAtIndex) : setTStylingRangeNextDuplicate(tStylingAtIndex);
  67963. }
  67964. }
  67965. /**
  67966. * Determines if two `TStylingKey`s are a match.
  67967. *
  67968. * When computing whether a binding contains a duplicate, we need to compare if the instruction
  67969. * `TStylingKey` has a match.
  67970. *
  67971. * Here are examples of `TStylingKey`s which match given `tStylingKeyCursor` is:
  67972. * - `color`
  67973. * - `color` // Match another color
  67974. * - `null` // That means that `tStylingKey` is a `classMap`/`styleMap` instruction
  67975. * - `['', 'color', 'other', true]` // wrapped `color` so match
  67976. * - `['', null, 'other', true]` // wrapped `null` so match
  67977. * - `['', 'width', 'color', 'value']` // wrapped static value contains a match on `'color'`
  67978. * - `null` // `tStylingKeyCursor` always match as it is `classMap`/`styleMap` instruction
  67979. *
  67980. * @param tStylingKeyCursor
  67981. * @param tStylingKey
  67982. */
  67983. function isStylingMatch(tStylingKeyCursor, tStylingKey) {
  67984. ngDevMode && assertNotEqual(Array.isArray(tStylingKey), true, 'Expected that \'tStylingKey\' has been unwrapped');
  67985. if (tStylingKeyCursor === null || // If the cursor is `null` it means that we have map at that
  67986. // location so we must assume that we have a match.
  67987. tStylingKey == null || // If `tStylingKey` is `null` then it is a map therefor assume that it
  67988. // contains a match.
  67989. (Array.isArray(tStylingKeyCursor) ? tStylingKeyCursor[1] : tStylingKeyCursor) === tStylingKey // If the keys match explicitly than we are a match.
  67990. ) {
  67991. return true;
  67992. } else if (Array.isArray(tStylingKeyCursor) && typeof tStylingKey === 'string') {
  67993. // if we did not find a match, but `tStylingKeyCursor` is `KeyValueArray` that means cursor has
  67994. // statics and we need to check those as well.
  67995. return keyValueArrayIndexOf(tStylingKeyCursor, tStylingKey) >= 0; // see if we are matching the key
  67996. }
  67997. return false;
  67998. }
  67999. /**
  68000. * @license
  68001. * Copyright Google LLC All Rights Reserved.
  68002. *
  68003. * Use of this source code is governed by an MIT-style license that can be
  68004. * found in the LICENSE file at https://angular.io/license
  68005. */
  68006. // Global state of the parser. (This makes parser non-reentrant, but that is not an issue)
  68007. const parserState = {
  68008. textEnd: 0,
  68009. key: 0,
  68010. keyEnd: 0,
  68011. value: 0,
  68012. valueEnd: 0
  68013. };
  68014. /**
  68015. * Retrieves the last parsed `key` of style.
  68016. * @param text the text to substring the key from.
  68017. */
  68018. function getLastParsedKey(text) {
  68019. return text.substring(parserState.key, parserState.keyEnd);
  68020. }
  68021. /**
  68022. * Retrieves the last parsed `value` of style.
  68023. * @param text the text to substring the key from.
  68024. */
  68025. function getLastParsedValue(text) {
  68026. return text.substring(parserState.value, parserState.valueEnd);
  68027. }
  68028. /**
  68029. * Initializes `className` string for parsing and parses the first token.
  68030. *
  68031. * This function is intended to be used in this format:
  68032. * ```
  68033. * for (let i = parseClassName(text); i >= 0; i = parseClassNameNext(text, i)) {
  68034. * const key = getLastParsedKey();
  68035. * ...
  68036. * }
  68037. * ```
  68038. * @param text `className` to parse
  68039. * @returns index where the next invocation of `parseClassNameNext` should resume.
  68040. */
  68041. function parseClassName(text) {
  68042. resetParserState(text);
  68043. return parseClassNameNext(text, consumeWhitespace(text, 0, parserState.textEnd));
  68044. }
  68045. /**
  68046. * Parses next `className` token.
  68047. *
  68048. * This function is intended to be used in this format:
  68049. * ```
  68050. * for (let i = parseClassName(text); i >= 0; i = parseClassNameNext(text, i)) {
  68051. * const key = getLastParsedKey();
  68052. * ...
  68053. * }
  68054. * ```
  68055. *
  68056. * @param text `className` to parse
  68057. * @param index where the parsing should resume.
  68058. * @returns index where the next invocation of `parseClassNameNext` should resume.
  68059. */
  68060. function parseClassNameNext(text, index) {
  68061. const end = parserState.textEnd;
  68062. if (end === index) {
  68063. return -1;
  68064. }
  68065. index = parserState.keyEnd = consumeClassToken(text, parserState.key = index, end);
  68066. return consumeWhitespace(text, index, end);
  68067. }
  68068. /**
  68069. * Initializes `cssText` string for parsing and parses the first key/values.
  68070. *
  68071. * This function is intended to be used in this format:
  68072. * ```
  68073. * for (let i = parseStyle(text); i >= 0; i = parseStyleNext(text, i))) {
  68074. * const key = getLastParsedKey();
  68075. * const value = getLastParsedValue();
  68076. * ...
  68077. * }
  68078. * ```
  68079. * @param text `cssText` to parse
  68080. * @returns index where the next invocation of `parseStyleNext` should resume.
  68081. */
  68082. function parseStyle(text) {
  68083. resetParserState(text);
  68084. return parseStyleNext(text, consumeWhitespace(text, 0, parserState.textEnd));
  68085. }
  68086. /**
  68087. * Parses the next `cssText` key/values.
  68088. *
  68089. * This function is intended to be used in this format:
  68090. * ```
  68091. * for (let i = parseStyle(text); i >= 0; i = parseStyleNext(text, i))) {
  68092. * const key = getLastParsedKey();
  68093. * const value = getLastParsedValue();
  68094. * ...
  68095. * }
  68096. *
  68097. * @param text `cssText` to parse
  68098. * @param index where the parsing should resume.
  68099. * @returns index where the next invocation of `parseStyleNext` should resume.
  68100. */
  68101. function parseStyleNext(text, startIndex) {
  68102. const end = parserState.textEnd;
  68103. let index = parserState.key = consumeWhitespace(text, startIndex, end);
  68104. if (end === index) {
  68105. // we reached an end so just quit
  68106. return -1;
  68107. }
  68108. index = parserState.keyEnd = consumeStyleKey(text, index, end);
  68109. index = consumeSeparator(text, index, end, 58
  68110. /* CharCode.COLON */
  68111. );
  68112. index = parserState.value = consumeWhitespace(text, index, end);
  68113. index = parserState.valueEnd = consumeStyleValue(text, index, end);
  68114. return consumeSeparator(text, index, end, 59
  68115. /* CharCode.SEMI_COLON */
  68116. );
  68117. }
  68118. /**
  68119. * Reset the global state of the styling parser.
  68120. * @param text The styling text to parse.
  68121. */
  68122. function resetParserState(text) {
  68123. parserState.key = 0;
  68124. parserState.keyEnd = 0;
  68125. parserState.value = 0;
  68126. parserState.valueEnd = 0;
  68127. parserState.textEnd = text.length;
  68128. }
  68129. /**
  68130. * Returns index of next non-whitespace character.
  68131. *
  68132. * @param text Text to scan
  68133. * @param startIndex Starting index of character where the scan should start.
  68134. * @param endIndex Ending index of character where the scan should end.
  68135. * @returns Index of next non-whitespace character (May be the same as `start` if no whitespace at
  68136. * that location.)
  68137. */
  68138. function consumeWhitespace(text, startIndex, endIndex) {
  68139. while (startIndex < endIndex && text.charCodeAt(startIndex) <= 32
  68140. /* CharCode.SPACE */
  68141. ) {
  68142. startIndex++;
  68143. }
  68144. return startIndex;
  68145. }
  68146. /**
  68147. * Returns index of last char in class token.
  68148. *
  68149. * @param text Text to scan
  68150. * @param startIndex Starting index of character where the scan should start.
  68151. * @param endIndex Ending index of character where the scan should end.
  68152. * @returns Index after last char in class token.
  68153. */
  68154. function consumeClassToken(text, startIndex, endIndex) {
  68155. while (startIndex < endIndex && text.charCodeAt(startIndex) > 32
  68156. /* CharCode.SPACE */
  68157. ) {
  68158. startIndex++;
  68159. }
  68160. return startIndex;
  68161. }
  68162. /**
  68163. * Consumes all of the characters belonging to style key and token.
  68164. *
  68165. * @param text Text to scan
  68166. * @param startIndex Starting index of character where the scan should start.
  68167. * @param endIndex Ending index of character where the scan should end.
  68168. * @returns Index after last style key character.
  68169. */
  68170. function consumeStyleKey(text, startIndex, endIndex) {
  68171. let ch;
  68172. while (startIndex < endIndex && ((ch = text.charCodeAt(startIndex)) === 45
  68173. /* CharCode.DASH */
  68174. || ch === 95
  68175. /* CharCode.UNDERSCORE */
  68176. || (ch & -33
  68177. /* CharCode.UPPER_CASE */
  68178. ) >= 65
  68179. /* CharCode.A */
  68180. && (ch & -33
  68181. /* CharCode.UPPER_CASE */
  68182. ) <= 90
  68183. /* CharCode.Z */
  68184. || ch >= 48
  68185. /* CharCode.ZERO */
  68186. && ch <= 57
  68187. /* CharCode.NINE */
  68188. )) {
  68189. startIndex++;
  68190. }
  68191. return startIndex;
  68192. }
  68193. /**
  68194. * Consumes all whitespace and the separator `:` after the style key.
  68195. *
  68196. * @param text Text to scan
  68197. * @param startIndex Starting index of character where the scan should start.
  68198. * @param endIndex Ending index of character where the scan should end.
  68199. * @returns Index after separator and surrounding whitespace.
  68200. */
  68201. function consumeSeparator(text, startIndex, endIndex, separator) {
  68202. startIndex = consumeWhitespace(text, startIndex, endIndex);
  68203. if (startIndex < endIndex) {
  68204. if (ngDevMode && text.charCodeAt(startIndex) !== separator) {
  68205. malformedStyleError(text, String.fromCharCode(separator), startIndex);
  68206. }
  68207. startIndex++;
  68208. }
  68209. return startIndex;
  68210. }
  68211. /**
  68212. * Consumes style value honoring `url()` and `""` text.
  68213. *
  68214. * @param text Text to scan
  68215. * @param startIndex Starting index of character where the scan should start.
  68216. * @param endIndex Ending index of character where the scan should end.
  68217. * @returns Index after last style value character.
  68218. */
  68219. function consumeStyleValue(text, startIndex, endIndex) {
  68220. let ch1 = -1; // 1st previous character
  68221. let ch2 = -1; // 2nd previous character
  68222. let ch3 = -1; // 3rd previous character
  68223. let i = startIndex;
  68224. let lastChIndex = i;
  68225. while (i < endIndex) {
  68226. const ch = text.charCodeAt(i++);
  68227. if (ch === 59
  68228. /* CharCode.SEMI_COLON */
  68229. ) {
  68230. return lastChIndex;
  68231. } else if (ch === 34
  68232. /* CharCode.DOUBLE_QUOTE */
  68233. || ch === 39
  68234. /* CharCode.SINGLE_QUOTE */
  68235. ) {
  68236. lastChIndex = i = consumeQuotedText(text, ch, i, endIndex);
  68237. } else if (startIndex === i - 4 && // We have seen only 4 characters so far "URL(" (Ignore "foo_URL()")
  68238. ch3 === 85
  68239. /* CharCode.U */
  68240. && ch2 === 82
  68241. /* CharCode.R */
  68242. && ch1 === 76
  68243. /* CharCode.L */
  68244. && ch === 40
  68245. /* CharCode.OPEN_PAREN */
  68246. ) {
  68247. lastChIndex = i = consumeQuotedText(text, 41
  68248. /* CharCode.CLOSE_PAREN */
  68249. , i, endIndex);
  68250. } else if (ch > 32
  68251. /* CharCode.SPACE */
  68252. ) {
  68253. // if we have a non-whitespace character then capture its location
  68254. lastChIndex = i;
  68255. }
  68256. ch3 = ch2;
  68257. ch2 = ch1;
  68258. ch1 = ch & -33
  68259. /* CharCode.UPPER_CASE */
  68260. ;
  68261. }
  68262. return lastChIndex;
  68263. }
  68264. /**
  68265. * Consumes all of the quoted characters.
  68266. *
  68267. * @param text Text to scan
  68268. * @param quoteCharCode CharCode of either `"` or `'` quote or `)` for `url(...)`.
  68269. * @param startIndex Starting index of character where the scan should start.
  68270. * @param endIndex Ending index of character where the scan should end.
  68271. * @returns Index after quoted characters.
  68272. */
  68273. function consumeQuotedText(text, quoteCharCode, startIndex, endIndex) {
  68274. let ch1 = -1; // 1st previous character
  68275. let index = startIndex;
  68276. while (index < endIndex) {
  68277. const ch = text.charCodeAt(index++);
  68278. if (ch == quoteCharCode && ch1 !== 92
  68279. /* CharCode.BACK_SLASH */
  68280. ) {
  68281. return index;
  68282. }
  68283. if (ch == 92
  68284. /* CharCode.BACK_SLASH */
  68285. && ch1 === 92
  68286. /* CharCode.BACK_SLASH */
  68287. ) {
  68288. // two back slashes cancel each other out. For example `"\\"` should properly end the
  68289. // quotation. (It should not assume that the last `"` is escaped.)
  68290. ch1 = 0;
  68291. } else {
  68292. ch1 = ch;
  68293. }
  68294. }
  68295. throw ngDevMode ? malformedStyleError(text, String.fromCharCode(quoteCharCode), endIndex) : new Error();
  68296. }
  68297. function malformedStyleError(text, expecting, index) {
  68298. ngDevMode && assertEqual(typeof text === 'string', true, 'String expected here');
  68299. throw throwError(`Malformed style at location ${index} in string '` + text.substring(0, index) + '[>>' + text.substring(index, index + 1) + '<<]' + text.slice(index + 1) + `'. Expecting '${expecting}'.`);
  68300. }
  68301. /**
  68302. * @license
  68303. * Copyright Google LLC All Rights Reserved.
  68304. *
  68305. * Use of this source code is governed by an MIT-style license that can be
  68306. * found in the LICENSE file at https://angular.io/license
  68307. */
  68308. /**
  68309. * Update a style binding on an element with the provided value.
  68310. *
  68311. * If the style value is falsy then it will be removed from the element
  68312. * (or assigned a different value depending if there are any styles placed
  68313. * on the element with `styleMap` or any static styles that are
  68314. * present from when the element was created with `styling`).
  68315. *
  68316. * Note that the styling element is updated as part of `stylingApply`.
  68317. *
  68318. * @param prop A valid CSS property.
  68319. * @param value New value to write (`null` or an empty string to remove).
  68320. * @param suffix Optional suffix. Used with scalar values to add unit such as `px`.
  68321. *
  68322. * Note that this will apply the provided style value to the host element if this function is called
  68323. * within a host binding function.
  68324. *
  68325. * @codeGenApi
  68326. */
  68327. function ɵɵstyleProp(prop, value, suffix) {
  68328. checkStylingProperty(prop, value, suffix, false);
  68329. return ɵɵstyleProp;
  68330. }
  68331. /**
  68332. * Update a class binding on an element with the provided value.
  68333. *
  68334. * This instruction is meant to handle the `[class.foo]="exp"` case and,
  68335. * therefore, the class binding itself must already be allocated using
  68336. * `styling` within the creation block.
  68337. *
  68338. * @param prop A valid CSS class (only one).
  68339. * @param value A true/false value which will turn the class on or off.
  68340. *
  68341. * Note that this will apply the provided class value to the host element if this function
  68342. * is called within a host binding function.
  68343. *
  68344. * @codeGenApi
  68345. */
  68346. function ɵɵclassProp(className, value) {
  68347. checkStylingProperty(className, value, null, true);
  68348. return ɵɵclassProp;
  68349. }
  68350. /**
  68351. * Update style bindings using an object literal on an element.
  68352. *
  68353. * This instruction is meant to apply styling via the `[style]="exp"` template bindings.
  68354. * When styles are applied to the element they will then be updated with respect to
  68355. * any styles/classes set via `styleProp`. If any styles are set to falsy
  68356. * then they will be removed from the element.
  68357. *
  68358. * Note that the styling instruction will not be applied until `stylingApply` is called.
  68359. *
  68360. * @param styles A key/value style map of the styles that will be applied to the given element.
  68361. * Any missing styles (that have already been applied to the element beforehand) will be
  68362. * removed (unset) from the element's styling.
  68363. *
  68364. * Note that this will apply the provided styleMap value to the host element if this function
  68365. * is called within a host binding.
  68366. *
  68367. * @codeGenApi
  68368. */
  68369. function ɵɵstyleMap(styles) {
  68370. checkStylingMap(styleKeyValueArraySet, styleStringParser, styles, false);
  68371. }
  68372. /**
  68373. * Parse text as style and add values to KeyValueArray.
  68374. *
  68375. * This code is pulled out to a separate function so that it can be tree shaken away if it is not
  68376. * needed. It is only referenced from `ɵɵstyleMap`.
  68377. *
  68378. * @param keyValueArray KeyValueArray to add parsed values to.
  68379. * @param text text to parse.
  68380. */
  68381. function styleStringParser(keyValueArray, text) {
  68382. for (let i = parseStyle(text); i >= 0; i = parseStyleNext(text, i)) {
  68383. styleKeyValueArraySet(keyValueArray, getLastParsedKey(text), getLastParsedValue(text));
  68384. }
  68385. }
  68386. /**
  68387. * Update class bindings using an object literal or class-string on an element.
  68388. *
  68389. * This instruction is meant to apply styling via the `[class]="exp"` template bindings.
  68390. * When classes are applied to the element they will then be updated with
  68391. * respect to any styles/classes set via `classProp`. If any
  68392. * classes are set to falsy then they will be removed from the element.
  68393. *
  68394. * Note that the styling instruction will not be applied until `stylingApply` is called.
  68395. * Note that this will the provided classMap value to the host element if this function is called
  68396. * within a host binding.
  68397. *
  68398. * @param classes A key/value map or string of CSS classes that will be added to the
  68399. * given element. Any missing classes (that have already been applied to the element
  68400. * beforehand) will be removed (unset) from the element's list of CSS classes.
  68401. *
  68402. * @codeGenApi
  68403. */
  68404. function ɵɵclassMap(classes) {
  68405. checkStylingMap(keyValueArraySet, classStringParser, classes, true);
  68406. }
  68407. /**
  68408. * Parse text as class and add values to KeyValueArray.
  68409. *
  68410. * This code is pulled out to a separate function so that it can be tree shaken away if it is not
  68411. * needed. It is only referenced from `ɵɵclassMap`.
  68412. *
  68413. * @param keyValueArray KeyValueArray to add parsed values to.
  68414. * @param text text to parse.
  68415. */
  68416. function classStringParser(keyValueArray, text) {
  68417. for (let i = parseClassName(text); i >= 0; i = parseClassNameNext(text, i)) {
  68418. keyValueArraySet(keyValueArray, getLastParsedKey(text), true);
  68419. }
  68420. }
  68421. /**
  68422. * Common code between `ɵɵclassProp` and `ɵɵstyleProp`.
  68423. *
  68424. * @param prop property name.
  68425. * @param value binding value.
  68426. * @param suffix suffix for the property (e.g. `em` or `px`)
  68427. * @param isClassBased `true` if `class` change (`false` if `style`)
  68428. */
  68429. function checkStylingProperty(prop, value, suffix, isClassBased) {
  68430. const lView = getLView();
  68431. const tView = getTView(); // Styling instructions use 2 slots per binding.
  68432. // 1. one for the value / TStylingKey
  68433. // 2. one for the intermittent-value / TStylingRange
  68434. const bindingIndex = incrementBindingIndex(2);
  68435. if (tView.firstUpdatePass) {
  68436. stylingFirstUpdatePass(tView, prop, bindingIndex, isClassBased);
  68437. }
  68438. if (value !== NO_CHANGE && bindingUpdated(lView, bindingIndex, value)) {
  68439. const tNode = tView.data[getSelectedIndex()];
  68440. updateStyling(tView, tNode, lView, lView[RENDERER], prop, lView[bindingIndex + 1] = normalizeSuffix(value, suffix), isClassBased, bindingIndex);
  68441. }
  68442. }
  68443. /**
  68444. * Common code between `ɵɵclassMap` and `ɵɵstyleMap`.
  68445. *
  68446. * @param keyValueArraySet (See `keyValueArraySet` in "util/array_utils") Gets passed in as a
  68447. * function so that `style` can be processed. This is done for tree shaking purposes.
  68448. * @param stringParser Parser used to parse `value` if `string`. (Passed in as `style` and `class`
  68449. * have different parsers.)
  68450. * @param value bound value from application
  68451. * @param isClassBased `true` if `class` change (`false` if `style`)
  68452. */
  68453. function checkStylingMap(keyValueArraySet, stringParser, value, isClassBased) {
  68454. const tView = getTView();
  68455. const bindingIndex = incrementBindingIndex(2);
  68456. if (tView.firstUpdatePass) {
  68457. stylingFirstUpdatePass(tView, null, bindingIndex, isClassBased);
  68458. }
  68459. const lView = getLView();
  68460. if (value !== NO_CHANGE && bindingUpdated(lView, bindingIndex, value)) {
  68461. // `getSelectedIndex()` should be here (rather than in instruction) so that it is guarded by the
  68462. // if so as not to read unnecessarily.
  68463. const tNode = tView.data[getSelectedIndex()];
  68464. if (hasStylingInputShadow(tNode, isClassBased) && !isInHostBindings(tView, bindingIndex)) {
  68465. if (ngDevMode) {
  68466. // verify that if we are shadowing then `TData` is appropriately marked so that we skip
  68467. // processing this binding in styling resolution.
  68468. const tStylingKey = tView.data[bindingIndex];
  68469. assertEqual(Array.isArray(tStylingKey) ? tStylingKey[1] : tStylingKey, false, 'Styling linked list shadow input should be marked as \'false\'');
  68470. } // VE does not concatenate the static portion like we are doing here.
  68471. // Instead VE just ignores the static completely if dynamic binding is present.
  68472. // Because of locality we have already set the static portion because we don't know if there
  68473. // is a dynamic portion until later. If we would ignore the static portion it would look like
  68474. // the binding has removed it. This would confuse `[ngStyle]`/`[ngClass]` to do the wrong
  68475. // thing as it would think that the static portion was removed. For this reason we
  68476. // concatenate it so that `[ngStyle]`/`[ngClass]` can continue to work on changed.
  68477. let staticPrefix = isClassBased ? tNode.classesWithoutHost : tNode.stylesWithoutHost;
  68478. ngDevMode && isClassBased === false && staticPrefix !== null && assertEqual(staticPrefix.endsWith(';'), true, 'Expecting static portion to end with \';\'');
  68479. if (staticPrefix !== null) {
  68480. // We want to make sure that falsy values of `value` become empty strings.
  68481. value = concatStringsWithSpace(staticPrefix, value ? value : '');
  68482. } // Given `<div [style] my-dir>` such that `my-dir` has `@Input('style')`.
  68483. // This takes over the `[style]` binding. (Same for `[class]`)
  68484. setDirectiveInputsWhichShadowsStyling(tView, tNode, lView, value, isClassBased);
  68485. } else {
  68486. updateStylingMap(tView, tNode, lView, lView[RENDERER], lView[bindingIndex + 1], lView[bindingIndex + 1] = toStylingKeyValueArray(keyValueArraySet, stringParser, value), isClassBased, bindingIndex);
  68487. }
  68488. }
  68489. }
  68490. /**
  68491. * Determines when the binding is in `hostBindings` section
  68492. *
  68493. * @param tView Current `TView`
  68494. * @param bindingIndex index of binding which we would like if it is in `hostBindings`
  68495. */
  68496. function isInHostBindings(tView, bindingIndex) {
  68497. // All host bindings are placed after the expando section.
  68498. return bindingIndex >= tView.expandoStartIndex;
  68499. }
  68500. /**
  68501. * Collects the necessary information to insert the binding into a linked list of style bindings
  68502. * using `insertTStylingBinding`.
  68503. *
  68504. * @param tView `TView` where the binding linked list will be stored.
  68505. * @param tStylingKey Property/key of the binding.
  68506. * @param bindingIndex Index of binding associated with the `prop`
  68507. * @param isClassBased `true` if `class` change (`false` if `style`)
  68508. */
  68509. function stylingFirstUpdatePass(tView, tStylingKey, bindingIndex, isClassBased) {
  68510. ngDevMode && assertFirstUpdatePass(tView);
  68511. const tData = tView.data;
  68512. if (tData[bindingIndex + 1] === null) {
  68513. // The above check is necessary because we don't clear first update pass until first successful
  68514. // (no exception) template execution. This prevents the styling instruction from double adding
  68515. // itself to the list.
  68516. // `getSelectedIndex()` should be here (rather than in instruction) so that it is guarded by the
  68517. // if so as not to read unnecessarily.
  68518. const tNode = tData[getSelectedIndex()];
  68519. ngDevMode && assertDefined(tNode, 'TNode expected');
  68520. const isHostBindings = isInHostBindings(tView, bindingIndex);
  68521. if (hasStylingInputShadow(tNode, isClassBased) && tStylingKey === null && !isHostBindings) {
  68522. // `tStylingKey === null` implies that we are either `[style]` or `[class]` binding.
  68523. // If there is a directive which uses `@Input('style')` or `@Input('class')` than
  68524. // we need to neutralize this binding since that directive is shadowing it.
  68525. // We turn this into a noop by setting the key to `false`
  68526. tStylingKey = false;
  68527. }
  68528. tStylingKey = wrapInStaticStylingKey(tData, tNode, tStylingKey, isClassBased);
  68529. insertTStylingBinding(tData, tNode, tStylingKey, bindingIndex, isHostBindings, isClassBased);
  68530. }
  68531. }
  68532. /**
  68533. * Adds static styling information to the binding if applicable.
  68534. *
  68535. * The linked list of styles not only stores the list and keys, but also stores static styling
  68536. * information on some of the keys. This function determines if the key should contain the styling
  68537. * information and computes it.
  68538. *
  68539. * See `TStylingStatic` for more details.
  68540. *
  68541. * @param tData `TData` where the linked list is stored.
  68542. * @param tNode `TNode` for which the styling is being computed.
  68543. * @param stylingKey `TStylingKeyPrimitive` which may need to be wrapped into `TStylingKey`
  68544. * @param isClassBased `true` if `class` (`false` if `style`)
  68545. */
  68546. function wrapInStaticStylingKey(tData, tNode, stylingKey, isClassBased) {
  68547. const hostDirectiveDef = getCurrentDirectiveDef(tData);
  68548. let residual = isClassBased ? tNode.residualClasses : tNode.residualStyles;
  68549. if (hostDirectiveDef === null) {
  68550. // We are in template node.
  68551. // If template node already had styling instruction then it has already collected the static
  68552. // styling and there is no need to collect them again. We know that we are the first styling
  68553. // instruction because the `TNode.*Bindings` points to 0 (nothing has been inserted yet).
  68554. const isFirstStylingInstructionInTemplate = (isClassBased ? tNode.classBindings : tNode.styleBindings) === 0;
  68555. if (isFirstStylingInstructionInTemplate) {
  68556. // It would be nice to be able to get the statics from `mergeAttrs`, however, at this point
  68557. // they are already merged and it would not be possible to figure which property belongs where
  68558. // in the priority.
  68559. stylingKey = collectStylingFromDirectives(null, tData, tNode, stylingKey, isClassBased);
  68560. stylingKey = collectStylingFromTAttrs(stylingKey, tNode.attrs, isClassBased); // We know that if we have styling binding in template we can't have residual.
  68561. residual = null;
  68562. }
  68563. } else {
  68564. // We are in host binding node and there was no binding instruction in template node.
  68565. // This means that we need to compute the residual.
  68566. const directiveStylingLast = tNode.directiveStylingLast;
  68567. const isFirstStylingInstructionInHostBinding = directiveStylingLast === -1 || tData[directiveStylingLast] !== hostDirectiveDef;
  68568. if (isFirstStylingInstructionInHostBinding) {
  68569. stylingKey = collectStylingFromDirectives(hostDirectiveDef, tData, tNode, stylingKey, isClassBased);
  68570. if (residual === null) {
  68571. // - If `null` than either:
  68572. // - Template styling instruction already ran and it has consumed the static
  68573. // styling into its `TStylingKey` and so there is no need to update residual. Instead
  68574. // we need to update the `TStylingKey` associated with the first template node
  68575. // instruction. OR
  68576. // - Some other styling instruction ran and determined that there are no residuals
  68577. let templateStylingKey = getTemplateHeadTStylingKey(tData, tNode, isClassBased);
  68578. if (templateStylingKey !== undefined && Array.isArray(templateStylingKey)) {
  68579. // Only recompute if `templateStylingKey` had static values. (If no static value found
  68580. // then there is nothing to do since this operation can only produce less static keys, not
  68581. // more.)
  68582. templateStylingKey = collectStylingFromDirectives(null, tData, tNode, templateStylingKey[1]
  68583. /* unwrap previous statics */
  68584. , isClassBased);
  68585. templateStylingKey = collectStylingFromTAttrs(templateStylingKey, tNode.attrs, isClassBased);
  68586. setTemplateHeadTStylingKey(tData, tNode, isClassBased, templateStylingKey);
  68587. }
  68588. } else {
  68589. // We only need to recompute residual if it is not `null`.
  68590. // - If existing residual (implies there was no template styling). This means that some of
  68591. // the statics may have moved from the residual to the `stylingKey` and so we have to
  68592. // recompute.
  68593. // - If `undefined` this is the first time we are running.
  68594. residual = collectResidual(tData, tNode, isClassBased);
  68595. }
  68596. }
  68597. }
  68598. if (residual !== undefined) {
  68599. isClassBased ? tNode.residualClasses = residual : tNode.residualStyles = residual;
  68600. }
  68601. return stylingKey;
  68602. }
  68603. /**
  68604. * Retrieve the `TStylingKey` for the template styling instruction.
  68605. *
  68606. * This is needed since `hostBinding` styling instructions are inserted after the template
  68607. * instruction. While the template instruction needs to update the residual in `TNode` the
  68608. * `hostBinding` instructions need to update the `TStylingKey` of the template instruction because
  68609. * the template instruction is downstream from the `hostBindings` instructions.
  68610. *
  68611. * @param tData `TData` where the linked list is stored.
  68612. * @param tNode `TNode` for which the styling is being computed.
  68613. * @param isClassBased `true` if `class` (`false` if `style`)
  68614. * @return `TStylingKey` if found or `undefined` if not found.
  68615. */
  68616. function getTemplateHeadTStylingKey(tData, tNode, isClassBased) {
  68617. const bindings = isClassBased ? tNode.classBindings : tNode.styleBindings;
  68618. if (getTStylingRangeNext(bindings) === 0) {
  68619. // There does not seem to be a styling instruction in the `template`.
  68620. return undefined;
  68621. }
  68622. return tData[getTStylingRangePrev(bindings)];
  68623. }
  68624. /**
  68625. * Update the `TStylingKey` of the first template instruction in `TNode`.
  68626. *
  68627. * Logically `hostBindings` styling instructions are of lower priority than that of the template.
  68628. * However, they execute after the template styling instructions. This means that they get inserted
  68629. * in front of the template styling instructions.
  68630. *
  68631. * If we have a template styling instruction and a new `hostBindings` styling instruction is
  68632. * executed it means that it may need to steal static fields from the template instruction. This
  68633. * method allows us to update the first template instruction `TStylingKey` with a new value.
  68634. *
  68635. * Assume:
  68636. * ```
  68637. * <div my-dir style="color: red" [style.color]="tmplExp"></div>
  68638. *
  68639. * @Directive({
  68640. * host: {
  68641. * 'style': 'width: 100px',
  68642. * '[style.color]': 'dirExp',
  68643. * }
  68644. * })
  68645. * class MyDir {}
  68646. * ```
  68647. *
  68648. * when `[style.color]="tmplExp"` executes it creates this data structure.
  68649. * ```
  68650. * ['', 'color', 'color', 'red', 'width', '100px'],
  68651. * ```
  68652. *
  68653. * The reason for this is that the template instruction does not know if there are styling
  68654. * instructions and must assume that there are none and must collect all of the static styling.
  68655. * (both
  68656. * `color' and 'width`)
  68657. *
  68658. * When `'[style.color]': 'dirExp',` executes we need to insert a new data into the linked list.
  68659. * ```
  68660. * ['', 'color', 'width', '100px'], // newly inserted
  68661. * ['', 'color', 'color', 'red', 'width', '100px'], // this is wrong
  68662. * ```
  68663. *
  68664. * Notice that the template statics is now wrong as it incorrectly contains `width` so we need to
  68665. * update it like so:
  68666. * ```
  68667. * ['', 'color', 'width', '100px'],
  68668. * ['', 'color', 'color', 'red'], // UPDATE
  68669. * ```
  68670. *
  68671. * @param tData `TData` where the linked list is stored.
  68672. * @param tNode `TNode` for which the styling is being computed.
  68673. * @param isClassBased `true` if `class` (`false` if `style`)
  68674. * @param tStylingKey New `TStylingKey` which is replacing the old one.
  68675. */
  68676. function setTemplateHeadTStylingKey(tData, tNode, isClassBased, tStylingKey) {
  68677. const bindings = isClassBased ? tNode.classBindings : tNode.styleBindings;
  68678. ngDevMode && assertNotEqual(getTStylingRangeNext(bindings), 0, 'Expecting to have at least one template styling binding.');
  68679. tData[getTStylingRangePrev(bindings)] = tStylingKey;
  68680. }
  68681. /**
  68682. * Collect all static values after the current `TNode.directiveStylingLast` index.
  68683. *
  68684. * Collect the remaining styling information which has not yet been collected by an existing
  68685. * styling instruction.
  68686. *
  68687. * @param tData `TData` where the `DirectiveDefs` are stored.
  68688. * @param tNode `TNode` which contains the directive range.
  68689. * @param isClassBased `true` if `class` (`false` if `style`)
  68690. */
  68691. function collectResidual(tData, tNode, isClassBased) {
  68692. let residual = undefined;
  68693. const directiveEnd = tNode.directiveEnd;
  68694. ngDevMode && assertNotEqual(tNode.directiveStylingLast, -1, 'By the time this function gets called at least one hostBindings-node styling instruction must have executed.'); // We add `1 + tNode.directiveStart` because we need to skip the current directive (as we are
  68695. // collecting things after the last `hostBindings` directive which had a styling instruction.)
  68696. for (let i = 1 + tNode.directiveStylingLast; i < directiveEnd; i++) {
  68697. const attrs = tData[i].hostAttrs;
  68698. residual = collectStylingFromTAttrs(residual, attrs, isClassBased);
  68699. }
  68700. return collectStylingFromTAttrs(residual, tNode.attrs, isClassBased);
  68701. }
  68702. /**
  68703. * Collect the static styling information with lower priority than `hostDirectiveDef`.
  68704. *
  68705. * (This is opposite of residual styling.)
  68706. *
  68707. * @param hostDirectiveDef `DirectiveDef` for which we want to collect lower priority static
  68708. * styling. (Or `null` if template styling)
  68709. * @param tData `TData` where the linked list is stored.
  68710. * @param tNode `TNode` for which the styling is being computed.
  68711. * @param stylingKey Existing `TStylingKey` to update or wrap.
  68712. * @param isClassBased `true` if `class` (`false` if `style`)
  68713. */
  68714. function collectStylingFromDirectives(hostDirectiveDef, tData, tNode, stylingKey, isClassBased) {
  68715. // We need to loop because there can be directives which have `hostAttrs` but don't have
  68716. // `hostBindings` so this loop catches up to the current directive..
  68717. let currentDirective = null;
  68718. const directiveEnd = tNode.directiveEnd;
  68719. let directiveStylingLast = tNode.directiveStylingLast;
  68720. if (directiveStylingLast === -1) {
  68721. directiveStylingLast = tNode.directiveStart;
  68722. } else {
  68723. directiveStylingLast++;
  68724. }
  68725. while (directiveStylingLast < directiveEnd) {
  68726. currentDirective = tData[directiveStylingLast];
  68727. ngDevMode && assertDefined(currentDirective, 'expected to be defined');
  68728. stylingKey = collectStylingFromTAttrs(stylingKey, currentDirective.hostAttrs, isClassBased);
  68729. if (currentDirective === hostDirectiveDef) break;
  68730. directiveStylingLast++;
  68731. }
  68732. if (hostDirectiveDef !== null) {
  68733. // we only advance the styling cursor if we are collecting data from host bindings.
  68734. // Template executes before host bindings and so if we would update the index,
  68735. // host bindings would not get their statics.
  68736. tNode.directiveStylingLast = directiveStylingLast;
  68737. }
  68738. return stylingKey;
  68739. }
  68740. /**
  68741. * Convert `TAttrs` into `TStylingStatic`.
  68742. *
  68743. * @param stylingKey existing `TStylingKey` to update or wrap.
  68744. * @param attrs `TAttributes` to process.
  68745. * @param isClassBased `true` if `class` (`false` if `style`)
  68746. */
  68747. function collectStylingFromTAttrs(stylingKey, attrs, isClassBased) {
  68748. const desiredMarker = isClassBased ? 1
  68749. /* AttributeMarker.Classes */
  68750. : 2
  68751. /* AttributeMarker.Styles */
  68752. ;
  68753. let currentMarker = -1
  68754. /* AttributeMarker.ImplicitAttributes */
  68755. ;
  68756. if (attrs !== null) {
  68757. for (let i = 0; i < attrs.length; i++) {
  68758. const item = attrs[i];
  68759. if (typeof item === 'number') {
  68760. currentMarker = item;
  68761. } else {
  68762. if (currentMarker === desiredMarker) {
  68763. if (!Array.isArray(stylingKey)) {
  68764. stylingKey = stylingKey === undefined ? [] : ['', stylingKey];
  68765. }
  68766. keyValueArraySet(stylingKey, item, isClassBased ? true : attrs[++i]);
  68767. }
  68768. }
  68769. }
  68770. }
  68771. return stylingKey === undefined ? null : stylingKey;
  68772. }
  68773. /**
  68774. * Convert user input to `KeyValueArray`.
  68775. *
  68776. * This function takes user input which could be `string`, Object literal, or iterable and converts
  68777. * it into a consistent representation. The output of this is `KeyValueArray` (which is an array
  68778. * where
  68779. * even indexes contain keys and odd indexes contain values for those keys).
  68780. *
  68781. * The advantage of converting to `KeyValueArray` is that we can perform diff in an input
  68782. * independent
  68783. * way.
  68784. * (ie we can compare `foo bar` to `['bar', 'baz'] and determine a set of changes which need to be
  68785. * applied)
  68786. *
  68787. * The fact that `KeyValueArray` is sorted is very important because it allows us to compute the
  68788. * difference in linear fashion without the need to allocate any additional data.
  68789. *
  68790. * For example if we kept this as a `Map` we would have to iterate over previous `Map` to determine
  68791. * which values need to be deleted, over the new `Map` to determine additions, and we would have to
  68792. * keep additional `Map` to keep track of duplicates or items which have not yet been visited.
  68793. *
  68794. * @param keyValueArraySet (See `keyValueArraySet` in "util/array_utils") Gets passed in as a
  68795. * function so that `style` can be processed. This is done
  68796. * for tree shaking purposes.
  68797. * @param stringParser The parser is passed in so that it will be tree shakable. See
  68798. * `styleStringParser` and `classStringParser`
  68799. * @param value The value to parse/convert to `KeyValueArray`
  68800. */
  68801. function toStylingKeyValueArray(keyValueArraySet, stringParser, value) {
  68802. if (value == null
  68803. /*|| value === undefined */
  68804. || value === '') return EMPTY_ARRAY;
  68805. const styleKeyValueArray = [];
  68806. const unwrappedValue = unwrapSafeValue(value);
  68807. if (Array.isArray(unwrappedValue)) {
  68808. for (let i = 0; i < unwrappedValue.length; i++) {
  68809. keyValueArraySet(styleKeyValueArray, unwrappedValue[i], true);
  68810. }
  68811. } else if (typeof unwrappedValue === 'object') {
  68812. for (const key in unwrappedValue) {
  68813. if (unwrappedValue.hasOwnProperty(key)) {
  68814. keyValueArraySet(styleKeyValueArray, key, unwrappedValue[key]);
  68815. }
  68816. }
  68817. } else if (typeof unwrappedValue === 'string') {
  68818. stringParser(styleKeyValueArray, unwrappedValue);
  68819. } else {
  68820. ngDevMode && throwError('Unsupported styling type ' + typeof unwrappedValue + ': ' + unwrappedValue);
  68821. }
  68822. return styleKeyValueArray;
  68823. }
  68824. /**
  68825. * Set a `value` for a `key`.
  68826. *
  68827. * See: `keyValueArraySet` for details
  68828. *
  68829. * @param keyValueArray KeyValueArray to add to.
  68830. * @param key Style key to add.
  68831. * @param value The value to set.
  68832. */
  68833. function styleKeyValueArraySet(keyValueArray, key, value) {
  68834. keyValueArraySet(keyValueArray, key, unwrapSafeValue(value));
  68835. }
  68836. /**
  68837. * Update map based styling.
  68838. *
  68839. * Map based styling could be anything which contains more than one binding. For example `string`,
  68840. * or object literal. Dealing with all of these types would complicate the logic so
  68841. * instead this function expects that the complex input is first converted into normalized
  68842. * `KeyValueArray`. The advantage of normalization is that we get the values sorted, which makes it
  68843. * very cheap to compute deltas between the previous and current value.
  68844. *
  68845. * @param tView Associated `TView.data` contains the linked list of binding priorities.
  68846. * @param tNode `TNode` where the binding is located.
  68847. * @param lView `LView` contains the values associated with other styling binding at this `TNode`.
  68848. * @param renderer Renderer to use if any updates.
  68849. * @param oldKeyValueArray Previous value represented as `KeyValueArray`
  68850. * @param newKeyValueArray Current value represented as `KeyValueArray`
  68851. * @param isClassBased `true` if `class` (`false` if `style`)
  68852. * @param bindingIndex Binding index of the binding.
  68853. */
  68854. function updateStylingMap(tView, tNode, lView, renderer, oldKeyValueArray, newKeyValueArray, isClassBased, bindingIndex) {
  68855. if (oldKeyValueArray === NO_CHANGE) {
  68856. // On first execution the oldKeyValueArray is NO_CHANGE => treat it as empty KeyValueArray.
  68857. oldKeyValueArray = EMPTY_ARRAY;
  68858. }
  68859. let oldIndex = 0;
  68860. let newIndex = 0;
  68861. let oldKey = 0 < oldKeyValueArray.length ? oldKeyValueArray[0] : null;
  68862. let newKey = 0 < newKeyValueArray.length ? newKeyValueArray[0] : null;
  68863. while (oldKey !== null || newKey !== null) {
  68864. ngDevMode && assertLessThan(oldIndex, 999, 'Are we stuck in infinite loop?');
  68865. ngDevMode && assertLessThan(newIndex, 999, 'Are we stuck in infinite loop?');
  68866. const oldValue = oldIndex < oldKeyValueArray.length ? oldKeyValueArray[oldIndex + 1] : undefined;
  68867. const newValue = newIndex < newKeyValueArray.length ? newKeyValueArray[newIndex + 1] : undefined;
  68868. let setKey = null;
  68869. let setValue = undefined;
  68870. if (oldKey === newKey) {
  68871. // UPDATE: Keys are equal => new value is overwriting old value.
  68872. oldIndex += 2;
  68873. newIndex += 2;
  68874. if (oldValue !== newValue) {
  68875. setKey = newKey;
  68876. setValue = newValue;
  68877. }
  68878. } else if (newKey === null || oldKey !== null && oldKey < newKey) {
  68879. // DELETE: oldKey key is missing or we did not find the oldKey in the newValue
  68880. // (because the keyValueArray is sorted and `newKey` is found later alphabetically).
  68881. // `"background" < "color"` so we need to delete `"background"` because it is not found in the
  68882. // new array.
  68883. oldIndex += 2;
  68884. setKey = oldKey;
  68885. } else {
  68886. // CREATE: newKey's is earlier alphabetically than oldKey's (or no oldKey) => we have new key.
  68887. // `"color" > "background"` so we need to add `color` because it is in new array but not in
  68888. // old array.
  68889. ngDevMode && assertDefined(newKey, 'Expecting to have a valid key');
  68890. newIndex += 2;
  68891. setKey = newKey;
  68892. setValue = newValue;
  68893. }
  68894. if (setKey !== null) {
  68895. updateStyling(tView, tNode, lView, renderer, setKey, setValue, isClassBased, bindingIndex);
  68896. }
  68897. oldKey = oldIndex < oldKeyValueArray.length ? oldKeyValueArray[oldIndex] : null;
  68898. newKey = newIndex < newKeyValueArray.length ? newKeyValueArray[newIndex] : null;
  68899. }
  68900. }
  68901. /**
  68902. * Update a simple (property name) styling.
  68903. *
  68904. * This function takes `prop` and updates the DOM to that value. The function takes the binding
  68905. * value as well as binding priority into consideration to determine which value should be written
  68906. * to DOM. (For example it may be determined that there is a higher priority overwrite which blocks
  68907. * the DOM write, or if the value goes to `undefined` a lower priority overwrite may be consulted.)
  68908. *
  68909. * @param tView Associated `TView.data` contains the linked list of binding priorities.
  68910. * @param tNode `TNode` where the binding is located.
  68911. * @param lView `LView` contains the values associated with other styling binding at this `TNode`.
  68912. * @param renderer Renderer to use if any updates.
  68913. * @param prop Either style property name or a class name.
  68914. * @param value Either style value for `prop` or `true`/`false` if `prop` is class.
  68915. * @param isClassBased `true` if `class` (`false` if `style`)
  68916. * @param bindingIndex Binding index of the binding.
  68917. */
  68918. function updateStyling(tView, tNode, lView, renderer, prop, value, isClassBased, bindingIndex) {
  68919. if (!(tNode.type & 3
  68920. /* TNodeType.AnyRNode */
  68921. )) {
  68922. // It is possible to have styling on non-elements (such as ng-container).
  68923. // This is rare, but it does happen. In such a case, just ignore the binding.
  68924. return;
  68925. }
  68926. const tData = tView.data;
  68927. const tRange = tData[bindingIndex + 1];
  68928. const higherPriorityValue = getTStylingRangeNextDuplicate(tRange) ? findStylingValue(tData, tNode, lView, prop, getTStylingRangeNext(tRange), isClassBased) : undefined;
  68929. if (!isStylingValuePresent(higherPriorityValue)) {
  68930. // We don't have a next duplicate, or we did not find a duplicate value.
  68931. if (!isStylingValuePresent(value)) {
  68932. // We should delete current value or restore to lower priority value.
  68933. if (getTStylingRangePrevDuplicate(tRange)) {
  68934. // We have a possible prev duplicate, let's retrieve it.
  68935. value = findStylingValue(tData, null, lView, prop, bindingIndex, isClassBased);
  68936. }
  68937. }
  68938. const rNode = getNativeByIndex(getSelectedIndex(), lView);
  68939. applyStyling(renderer, isClassBased, rNode, prop, value);
  68940. }
  68941. }
  68942. /**
  68943. * Search for styling value with higher priority which is overwriting current value, or a
  68944. * value of lower priority to which we should fall back if the value is `undefined`.
  68945. *
  68946. * When value is being applied at a location, related values need to be consulted.
  68947. * - If there is a higher priority binding, we should be using that one instead.
  68948. * For example `<div [style]="{color:exp1}" [style.color]="exp2">` change to `exp1`
  68949. * requires that we check `exp2` to see if it is set to value other than `undefined`.
  68950. * - If there is a lower priority binding and we are changing to `undefined`
  68951. * For example `<div [style]="{color:exp1}" [style.color]="exp2">` change to `exp2` to
  68952. * `undefined` requires that we check `exp1` (and static values) and use that as new value.
  68953. *
  68954. * NOTE: The styling stores two values.
  68955. * 1. The raw value which came from the application is stored at `index + 0` location. (This value
  68956. * is used for dirty checking).
  68957. * 2. The normalized value is stored at `index + 1`.
  68958. *
  68959. * @param tData `TData` used for traversing the priority.
  68960. * @param tNode `TNode` to use for resolving static styling. Also controls search direction.
  68961. * - `TNode` search next and quit as soon as `isStylingValuePresent(value)` is true.
  68962. * If no value found consult `tNode.residualStyle`/`tNode.residualClass` for default value.
  68963. * - `null` search prev and go all the way to end. Return last value where
  68964. * `isStylingValuePresent(value)` is true.
  68965. * @param lView `LView` used for retrieving the actual values.
  68966. * @param prop Property which we are interested in.
  68967. * @param index Starting index in the linked list of styling bindings where the search should start.
  68968. * @param isClassBased `true` if `class` (`false` if `style`)
  68969. */
  68970. function findStylingValue(tData, tNode, lView, prop, index, isClassBased) {
  68971. // `TNode` to use for resolving static styling. Also controls search direction.
  68972. // - `TNode` search next and quit as soon as `isStylingValuePresent(value)` is true.
  68973. // If no value found consult `tNode.residualStyle`/`tNode.residualClass` for default value.
  68974. // - `null` search prev and go all the way to end. Return last value where
  68975. // `isStylingValuePresent(value)` is true.
  68976. const isPrevDirection = tNode === null;
  68977. let value = undefined;
  68978. while (index > 0) {
  68979. const rawKey = tData[index];
  68980. const containsStatics = Array.isArray(rawKey); // Unwrap the key if we contain static values.
  68981. const key = containsStatics ? rawKey[1] : rawKey;
  68982. const isStylingMap = key === null;
  68983. let valueAtLViewIndex = lView[index + 1];
  68984. if (valueAtLViewIndex === NO_CHANGE) {
  68985. // In firstUpdatePass the styling instructions create a linked list of styling.
  68986. // On subsequent passes it is possible for a styling instruction to try to read a binding
  68987. // which
  68988. // has not yet executed. In that case we will find `NO_CHANGE` and we should assume that
  68989. // we have `undefined` (or empty array in case of styling-map instruction) instead. This
  68990. // allows the resolution to apply the value (which may later be overwritten when the
  68991. // binding actually executes.)
  68992. valueAtLViewIndex = isStylingMap ? EMPTY_ARRAY : undefined;
  68993. }
  68994. let currentValue = isStylingMap ? keyValueArrayGet(valueAtLViewIndex, prop) : key === prop ? valueAtLViewIndex : undefined;
  68995. if (containsStatics && !isStylingValuePresent(currentValue)) {
  68996. currentValue = keyValueArrayGet(rawKey, prop);
  68997. }
  68998. if (isStylingValuePresent(currentValue)) {
  68999. value = currentValue;
  69000. if (isPrevDirection) {
  69001. return value;
  69002. }
  69003. }
  69004. const tRange = tData[index + 1];
  69005. index = isPrevDirection ? getTStylingRangePrev(tRange) : getTStylingRangeNext(tRange);
  69006. }
  69007. if (tNode !== null) {
  69008. // in case where we are going in next direction AND we did not find anything, we need to
  69009. // consult residual styling
  69010. let residual = isClassBased ? tNode.residualClasses : tNode.residualStyles;
  69011. if (residual != null
  69012. /** OR residual !=== undefined */
  69013. ) {
  69014. value = keyValueArrayGet(residual, prop);
  69015. }
  69016. }
  69017. return value;
  69018. }
  69019. /**
  69020. * Determines if the binding value should be used (or if the value is 'undefined' and hence priority
  69021. * resolution should be used.)
  69022. *
  69023. * @param value Binding style value.
  69024. */
  69025. function isStylingValuePresent(value) {
  69026. // Currently only `undefined` value is considered non-binding. That is `undefined` says I don't
  69027. // have an opinion as to what this binding should be and you should consult other bindings by
  69028. // priority to determine the valid value.
  69029. // This is extracted into a single function so that we have a single place to control this.
  69030. return value !== undefined;
  69031. }
  69032. /**
  69033. * Normalizes and/or adds a suffix to the value.
  69034. *
  69035. * If value is `null`/`undefined` no suffix is added
  69036. * @param value
  69037. * @param suffix
  69038. */
  69039. function normalizeSuffix(value, suffix) {
  69040. if (value == null
  69041. /** || value === undefined */
  69042. ) {// do nothing
  69043. } else if (typeof suffix === 'string') {
  69044. value = value + suffix;
  69045. } else if (typeof value === 'object') {
  69046. value = stringify(unwrapSafeValue(value));
  69047. }
  69048. return value;
  69049. }
  69050. /**
  69051. * Tests if the `TNode` has input shadow.
  69052. *
  69053. * An input shadow is when a directive steals (shadows) the input by using `@Input('style')` or
  69054. * `@Input('class')` as input.
  69055. *
  69056. * @param tNode `TNode` which we would like to see if it has shadow.
  69057. * @param isClassBased `true` if `class` (`false` if `style`)
  69058. */
  69059. function hasStylingInputShadow(tNode, isClassBased) {
  69060. return (tNode.flags & (isClassBased ? 16
  69061. /* TNodeFlags.hasClassInput */
  69062. : 32
  69063. /* TNodeFlags.hasStyleInput */
  69064. )) !== 0;
  69065. }
  69066. /**
  69067. * @license
  69068. * Copyright Google LLC All Rights Reserved.
  69069. *
  69070. * Use of this source code is governed by an MIT-style license that can be
  69071. * found in the LICENSE file at https://angular.io/license
  69072. */
  69073. /**
  69074. * Create static text node
  69075. *
  69076. * @param index Index of the node in the data array
  69077. * @param value Static string value to write.
  69078. *
  69079. * @codeGenApi
  69080. */
  69081. function ɵɵtext(index, value = '') {
  69082. const lView = getLView();
  69083. const tView = getTView();
  69084. const adjustedIndex = index + HEADER_OFFSET;
  69085. ngDevMode && assertEqual(getBindingIndex(), tView.bindingStartIndex, 'text nodes should be created before any bindings');
  69086. ngDevMode && assertIndexInRange(lView, adjustedIndex);
  69087. const tNode = tView.firstCreatePass ? getOrCreateTNode(tView, adjustedIndex, 1
  69088. /* TNodeType.Text */
  69089. , value, null) : tView.data[adjustedIndex];
  69090. const textNative = lView[adjustedIndex] = createTextNode(lView[RENDERER], value);
  69091. appendChild(tView, lView, textNative, tNode); // Text nodes are self closing.
  69092. setCurrentTNode(tNode, false);
  69093. }
  69094. /**
  69095. * @license
  69096. * Copyright Google LLC All Rights Reserved.
  69097. *
  69098. * Use of this source code is governed by an MIT-style license that can be
  69099. * found in the LICENSE file at https://angular.io/license
  69100. */
  69101. /**
  69102. *
  69103. * Update text content with a lone bound value
  69104. *
  69105. * Used when a text node has 1 interpolated value in it, an no additional text
  69106. * surrounds that interpolated value:
  69107. *
  69108. * ```html
  69109. * <div>{{v0}}</div>
  69110. * ```
  69111. *
  69112. * Its compiled representation is:
  69113. *
  69114. * ```ts
  69115. * ɵɵtextInterpolate(v0);
  69116. * ```
  69117. * @returns itself, so that it may be chained.
  69118. * @see textInterpolateV
  69119. * @codeGenApi
  69120. */
  69121. function ɵɵtextInterpolate(v0) {
  69122. ɵɵtextInterpolate1('', v0, '');
  69123. return ɵɵtextInterpolate;
  69124. }
  69125. /**
  69126. *
  69127. * Update text content with single bound value surrounded by other text.
  69128. *
  69129. * Used when a text node has 1 interpolated value in it:
  69130. *
  69131. * ```html
  69132. * <div>prefix{{v0}}suffix</div>
  69133. * ```
  69134. *
  69135. * Its compiled representation is:
  69136. *
  69137. * ```ts
  69138. * ɵɵtextInterpolate1('prefix', v0, 'suffix');
  69139. * ```
  69140. * @returns itself, so that it may be chained.
  69141. * @see textInterpolateV
  69142. * @codeGenApi
  69143. */
  69144. function ɵɵtextInterpolate1(prefix, v0, suffix) {
  69145. const lView = getLView();
  69146. const interpolated = interpolation1(lView, prefix, v0, suffix);
  69147. if (interpolated !== NO_CHANGE) {
  69148. textBindingInternal(lView, getSelectedIndex(), interpolated);
  69149. }
  69150. return ɵɵtextInterpolate1;
  69151. }
  69152. /**
  69153. *
  69154. * Update text content with 2 bound values surrounded by other text.
  69155. *
  69156. * Used when a text node has 2 interpolated values in it:
  69157. *
  69158. * ```html
  69159. * <div>prefix{{v0}}-{{v1}}suffix</div>
  69160. * ```
  69161. *
  69162. * Its compiled representation is:
  69163. *
  69164. * ```ts
  69165. * ɵɵtextInterpolate2('prefix', v0, '-', v1, 'suffix');
  69166. * ```
  69167. * @returns itself, so that it may be chained.
  69168. * @see textInterpolateV
  69169. * @codeGenApi
  69170. */
  69171. function ɵɵtextInterpolate2(prefix, v0, i0, v1, suffix) {
  69172. const lView = getLView();
  69173. const interpolated = interpolation2(lView, prefix, v0, i0, v1, suffix);
  69174. if (interpolated !== NO_CHANGE) {
  69175. textBindingInternal(lView, getSelectedIndex(), interpolated);
  69176. }
  69177. return ɵɵtextInterpolate2;
  69178. }
  69179. /**
  69180. *
  69181. * Update text content with 3 bound values surrounded by other text.
  69182. *
  69183. * Used when a text node has 3 interpolated values in it:
  69184. *
  69185. * ```html
  69186. * <div>prefix{{v0}}-{{v1}}-{{v2}}suffix</div>
  69187. * ```
  69188. *
  69189. * Its compiled representation is:
  69190. *
  69191. * ```ts
  69192. * ɵɵtextInterpolate3(
  69193. * 'prefix', v0, '-', v1, '-', v2, 'suffix');
  69194. * ```
  69195. * @returns itself, so that it may be chained.
  69196. * @see textInterpolateV
  69197. * @codeGenApi
  69198. */
  69199. function ɵɵtextInterpolate3(prefix, v0, i0, v1, i1, v2, suffix) {
  69200. const lView = getLView();
  69201. const interpolated = interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix);
  69202. if (interpolated !== NO_CHANGE) {
  69203. textBindingInternal(lView, getSelectedIndex(), interpolated);
  69204. }
  69205. return ɵɵtextInterpolate3;
  69206. }
  69207. /**
  69208. *
  69209. * Update text content with 4 bound values surrounded by other text.
  69210. *
  69211. * Used when a text node has 4 interpolated values in it:
  69212. *
  69213. * ```html
  69214. * <div>prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}suffix</div>
  69215. * ```
  69216. *
  69217. * Its compiled representation is:
  69218. *
  69219. * ```ts
  69220. * ɵɵtextInterpolate4(
  69221. * 'prefix', v0, '-', v1, '-', v2, '-', v3, 'suffix');
  69222. * ```
  69223. * @returns itself, so that it may be chained.
  69224. * @see ɵɵtextInterpolateV
  69225. * @codeGenApi
  69226. */
  69227. function ɵɵtextInterpolate4(prefix, v0, i0, v1, i1, v2, i2, v3, suffix) {
  69228. const lView = getLView();
  69229. const interpolated = interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix);
  69230. if (interpolated !== NO_CHANGE) {
  69231. textBindingInternal(lView, getSelectedIndex(), interpolated);
  69232. }
  69233. return ɵɵtextInterpolate4;
  69234. }
  69235. /**
  69236. *
  69237. * Update text content with 5 bound values surrounded by other text.
  69238. *
  69239. * Used when a text node has 5 interpolated values in it:
  69240. *
  69241. * ```html
  69242. * <div>prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}suffix</div>
  69243. * ```
  69244. *
  69245. * Its compiled representation is:
  69246. *
  69247. * ```ts
  69248. * ɵɵtextInterpolate5(
  69249. * 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, 'suffix');
  69250. * ```
  69251. * @returns itself, so that it may be chained.
  69252. * @see textInterpolateV
  69253. * @codeGenApi
  69254. */
  69255. function ɵɵtextInterpolate5(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix) {
  69256. const lView = getLView();
  69257. const interpolated = interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix);
  69258. if (interpolated !== NO_CHANGE) {
  69259. textBindingInternal(lView, getSelectedIndex(), interpolated);
  69260. }
  69261. return ɵɵtextInterpolate5;
  69262. }
  69263. /**
  69264. *
  69265. * Update text content with 6 bound values surrounded by other text.
  69266. *
  69267. * Used when a text node has 6 interpolated values in it:
  69268. *
  69269. * ```html
  69270. * <div>prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}suffix</div>
  69271. * ```
  69272. *
  69273. * Its compiled representation is:
  69274. *
  69275. * ```ts
  69276. * ɵɵtextInterpolate6(
  69277. * 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, 'suffix');
  69278. * ```
  69279. *
  69280. * @param i4 Static value used for concatenation only.
  69281. * @param v5 Value checked for change. @returns itself, so that it may be chained.
  69282. * @see textInterpolateV
  69283. * @codeGenApi
  69284. */
  69285. function ɵɵtextInterpolate6(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix) {
  69286. const lView = getLView();
  69287. const interpolated = interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix);
  69288. if (interpolated !== NO_CHANGE) {
  69289. textBindingInternal(lView, getSelectedIndex(), interpolated);
  69290. }
  69291. return ɵɵtextInterpolate6;
  69292. }
  69293. /**
  69294. *
  69295. * Update text content with 7 bound values surrounded by other text.
  69296. *
  69297. * Used when a text node has 7 interpolated values in it:
  69298. *
  69299. * ```html
  69300. * <div>prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}suffix</div>
  69301. * ```
  69302. *
  69303. * Its compiled representation is:
  69304. *
  69305. * ```ts
  69306. * ɵɵtextInterpolate7(
  69307. * 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, 'suffix');
  69308. * ```
  69309. * @returns itself, so that it may be chained.
  69310. * @see textInterpolateV
  69311. * @codeGenApi
  69312. */
  69313. function ɵɵtextInterpolate7(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix) {
  69314. const lView = getLView();
  69315. const interpolated = interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix);
  69316. if (interpolated !== NO_CHANGE) {
  69317. textBindingInternal(lView, getSelectedIndex(), interpolated);
  69318. }
  69319. return ɵɵtextInterpolate7;
  69320. }
  69321. /**
  69322. *
  69323. * Update text content with 8 bound values surrounded by other text.
  69324. *
  69325. * Used when a text node has 8 interpolated values in it:
  69326. *
  69327. * ```html
  69328. * <div>prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}suffix</div>
  69329. * ```
  69330. *
  69331. * Its compiled representation is:
  69332. *
  69333. * ```ts
  69334. * ɵɵtextInterpolate8(
  69335. * 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, 'suffix');
  69336. * ```
  69337. * @returns itself, so that it may be chained.
  69338. * @see textInterpolateV
  69339. * @codeGenApi
  69340. */
  69341. function ɵɵtextInterpolate8(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix) {
  69342. const lView = getLView();
  69343. const interpolated = interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix);
  69344. if (interpolated !== NO_CHANGE) {
  69345. textBindingInternal(lView, getSelectedIndex(), interpolated);
  69346. }
  69347. return ɵɵtextInterpolate8;
  69348. }
  69349. /**
  69350. * Update text content with 9 or more bound values other surrounded by text.
  69351. *
  69352. * Used when the number of interpolated values exceeds 8.
  69353. *
  69354. * ```html
  69355. * <div>prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}-{{v8}}-{{v9}}suffix</div>
  69356. * ```
  69357. *
  69358. * Its compiled representation is:
  69359. *
  69360. * ```ts
  69361. * ɵɵtextInterpolateV(
  69362. * ['prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, '-', v9,
  69363. * 'suffix']);
  69364. * ```
  69365. *.
  69366. * @param values The collection of values and the strings in between those values, beginning with
  69367. * a string prefix and ending with a string suffix.
  69368. * (e.g. `['prefix', value0, '-', value1, '-', value2, ..., value99, 'suffix']`)
  69369. *
  69370. * @returns itself, so that it may be chained.
  69371. * @codeGenApi
  69372. */
  69373. function ɵɵtextInterpolateV(values) {
  69374. const lView = getLView();
  69375. const interpolated = interpolationV(lView, values);
  69376. if (interpolated !== NO_CHANGE) {
  69377. textBindingInternal(lView, getSelectedIndex(), interpolated);
  69378. }
  69379. return ɵɵtextInterpolateV;
  69380. }
  69381. /**
  69382. * @license
  69383. * Copyright Google LLC All Rights Reserved.
  69384. *
  69385. * Use of this source code is governed by an MIT-style license that can be
  69386. * found in the LICENSE file at https://angular.io/license
  69387. */
  69388. /**
  69389. *
  69390. * Update an interpolated class on an element with single bound value surrounded by text.
  69391. *
  69392. * Used when the value passed to a property has 1 interpolated value in it:
  69393. *
  69394. * ```html
  69395. * <div class="prefix{{v0}}suffix"></div>
  69396. * ```
  69397. *
  69398. * Its compiled representation is:
  69399. *
  69400. * ```ts
  69401. * ɵɵclassMapInterpolate1('prefix', v0, 'suffix');
  69402. * ```
  69403. *
  69404. * @param prefix Static value used for concatenation only.
  69405. * @param v0 Value checked for change.
  69406. * @param suffix Static value used for concatenation only.
  69407. * @codeGenApi
  69408. */
  69409. function ɵɵclassMapInterpolate1(prefix, v0, suffix) {
  69410. const lView = getLView();
  69411. const interpolatedValue = interpolation1(lView, prefix, v0, suffix);
  69412. checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);
  69413. }
  69414. /**
  69415. *
  69416. * Update an interpolated class on an element with 2 bound values surrounded by text.
  69417. *
  69418. * Used when the value passed to a property has 2 interpolated values in it:
  69419. *
  69420. * ```html
  69421. * <div class="prefix{{v0}}-{{v1}}suffix"></div>
  69422. * ```
  69423. *
  69424. * Its compiled representation is:
  69425. *
  69426. * ```ts
  69427. * ɵɵclassMapInterpolate2('prefix', v0, '-', v1, 'suffix');
  69428. * ```
  69429. *
  69430. * @param prefix Static value used for concatenation only.
  69431. * @param v0 Value checked for change.
  69432. * @param i0 Static value used for concatenation only.
  69433. * @param v1 Value checked for change.
  69434. * @param suffix Static value used for concatenation only.
  69435. * @codeGenApi
  69436. */
  69437. function ɵɵclassMapInterpolate2(prefix, v0, i0, v1, suffix) {
  69438. const lView = getLView();
  69439. const interpolatedValue = interpolation2(lView, prefix, v0, i0, v1, suffix);
  69440. checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);
  69441. }
  69442. /**
  69443. *
  69444. * Update an interpolated class on an element with 3 bound values surrounded by text.
  69445. *
  69446. * Used when the value passed to a property has 3 interpolated values in it:
  69447. *
  69448. * ```html
  69449. * <div class="prefix{{v0}}-{{v1}}-{{v2}}suffix"></div>
  69450. * ```
  69451. *
  69452. * Its compiled representation is:
  69453. *
  69454. * ```ts
  69455. * ɵɵclassMapInterpolate3(
  69456. * 'prefix', v0, '-', v1, '-', v2, 'suffix');
  69457. * ```
  69458. *
  69459. * @param prefix Static value used for concatenation only.
  69460. * @param v0 Value checked for change.
  69461. * @param i0 Static value used for concatenation only.
  69462. * @param v1 Value checked for change.
  69463. * @param i1 Static value used for concatenation only.
  69464. * @param v2 Value checked for change.
  69465. * @param suffix Static value used for concatenation only.
  69466. * @codeGenApi
  69467. */
  69468. function ɵɵclassMapInterpolate3(prefix, v0, i0, v1, i1, v2, suffix) {
  69469. const lView = getLView();
  69470. const interpolatedValue = interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix);
  69471. checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);
  69472. }
  69473. /**
  69474. *
  69475. * Update an interpolated class on an element with 4 bound values surrounded by text.
  69476. *
  69477. * Used when the value passed to a property has 4 interpolated values in it:
  69478. *
  69479. * ```html
  69480. * <div class="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}suffix"></div>
  69481. * ```
  69482. *
  69483. * Its compiled representation is:
  69484. *
  69485. * ```ts
  69486. * ɵɵclassMapInterpolate4(
  69487. * 'prefix', v0, '-', v1, '-', v2, '-', v3, 'suffix');
  69488. * ```
  69489. *
  69490. * @param prefix Static value used for concatenation only.
  69491. * @param v0 Value checked for change.
  69492. * @param i0 Static value used for concatenation only.
  69493. * @param v1 Value checked for change.
  69494. * @param i1 Static value used for concatenation only.
  69495. * @param v2 Value checked for change.
  69496. * @param i2 Static value used for concatenation only.
  69497. * @param v3 Value checked for change.
  69498. * @param suffix Static value used for concatenation only.
  69499. * @codeGenApi
  69500. */
  69501. function ɵɵclassMapInterpolate4(prefix, v0, i0, v1, i1, v2, i2, v3, suffix) {
  69502. const lView = getLView();
  69503. const interpolatedValue = interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix);
  69504. checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);
  69505. }
  69506. /**
  69507. *
  69508. * Update an interpolated class on an element with 5 bound values surrounded by text.
  69509. *
  69510. * Used when the value passed to a property has 5 interpolated values in it:
  69511. *
  69512. * ```html
  69513. * <div class="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}suffix"></div>
  69514. * ```
  69515. *
  69516. * Its compiled representation is:
  69517. *
  69518. * ```ts
  69519. * ɵɵclassMapInterpolate5(
  69520. * 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, 'suffix');
  69521. * ```
  69522. *
  69523. * @param prefix Static value used for concatenation only.
  69524. * @param v0 Value checked for change.
  69525. * @param i0 Static value used for concatenation only.
  69526. * @param v1 Value checked for change.
  69527. * @param i1 Static value used for concatenation only.
  69528. * @param v2 Value checked for change.
  69529. * @param i2 Static value used for concatenation only.
  69530. * @param v3 Value checked for change.
  69531. * @param i3 Static value used for concatenation only.
  69532. * @param v4 Value checked for change.
  69533. * @param suffix Static value used for concatenation only.
  69534. * @codeGenApi
  69535. */
  69536. function ɵɵclassMapInterpolate5(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix) {
  69537. const lView = getLView();
  69538. const interpolatedValue = interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix);
  69539. checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);
  69540. }
  69541. /**
  69542. *
  69543. * Update an interpolated class on an element with 6 bound values surrounded by text.
  69544. *
  69545. * Used when the value passed to a property has 6 interpolated values in it:
  69546. *
  69547. * ```html
  69548. * <div class="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}suffix"></div>
  69549. * ```
  69550. *
  69551. * Its compiled representation is:
  69552. *
  69553. * ```ts
  69554. * ɵɵclassMapInterpolate6(
  69555. * 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, 'suffix');
  69556. * ```
  69557. *
  69558. * @param prefix Static value used for concatenation only.
  69559. * @param v0 Value checked for change.
  69560. * @param i0 Static value used for concatenation only.
  69561. * @param v1 Value checked for change.
  69562. * @param i1 Static value used for concatenation only.
  69563. * @param v2 Value checked for change.
  69564. * @param i2 Static value used for concatenation only.
  69565. * @param v3 Value checked for change.
  69566. * @param i3 Static value used for concatenation only.
  69567. * @param v4 Value checked for change.
  69568. * @param i4 Static value used for concatenation only.
  69569. * @param v5 Value checked for change.
  69570. * @param suffix Static value used for concatenation only.
  69571. * @codeGenApi
  69572. */
  69573. function ɵɵclassMapInterpolate6(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix) {
  69574. const lView = getLView();
  69575. const interpolatedValue = interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix);
  69576. checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);
  69577. }
  69578. /**
  69579. *
  69580. * Update an interpolated class on an element with 7 bound values surrounded by text.
  69581. *
  69582. * Used when the value passed to a property has 7 interpolated values in it:
  69583. *
  69584. * ```html
  69585. * <div class="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}suffix"></div>
  69586. * ```
  69587. *
  69588. * Its compiled representation is:
  69589. *
  69590. * ```ts
  69591. * ɵɵclassMapInterpolate7(
  69592. * 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, 'suffix');
  69593. * ```
  69594. *
  69595. * @param prefix Static value used for concatenation only.
  69596. * @param v0 Value checked for change.
  69597. * @param i0 Static value used for concatenation only.
  69598. * @param v1 Value checked for change.
  69599. * @param i1 Static value used for concatenation only.
  69600. * @param v2 Value checked for change.
  69601. * @param i2 Static value used for concatenation only.
  69602. * @param v3 Value checked for change.
  69603. * @param i3 Static value used for concatenation only.
  69604. * @param v4 Value checked for change.
  69605. * @param i4 Static value used for concatenation only.
  69606. * @param v5 Value checked for change.
  69607. * @param i5 Static value used for concatenation only.
  69608. * @param v6 Value checked for change.
  69609. * @param suffix Static value used for concatenation only.
  69610. * @codeGenApi
  69611. */
  69612. function ɵɵclassMapInterpolate7(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix) {
  69613. const lView = getLView();
  69614. const interpolatedValue = interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix);
  69615. checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);
  69616. }
  69617. /**
  69618. *
  69619. * Update an interpolated class on an element with 8 bound values surrounded by text.
  69620. *
  69621. * Used when the value passed to a property has 8 interpolated values in it:
  69622. *
  69623. * ```html
  69624. * <div class="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}suffix"></div>
  69625. * ```
  69626. *
  69627. * Its compiled representation is:
  69628. *
  69629. * ```ts
  69630. * ɵɵclassMapInterpolate8(
  69631. * 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, 'suffix');
  69632. * ```
  69633. *
  69634. * @param prefix Static value used for concatenation only.
  69635. * @param v0 Value checked for change.
  69636. * @param i0 Static value used for concatenation only.
  69637. * @param v1 Value checked for change.
  69638. * @param i1 Static value used for concatenation only.
  69639. * @param v2 Value checked for change.
  69640. * @param i2 Static value used for concatenation only.
  69641. * @param v3 Value checked for change.
  69642. * @param i3 Static value used for concatenation only.
  69643. * @param v4 Value checked for change.
  69644. * @param i4 Static value used for concatenation only.
  69645. * @param v5 Value checked for change.
  69646. * @param i5 Static value used for concatenation only.
  69647. * @param v6 Value checked for change.
  69648. * @param i6 Static value used for concatenation only.
  69649. * @param v7 Value checked for change.
  69650. * @param suffix Static value used for concatenation only.
  69651. * @codeGenApi
  69652. */
  69653. function ɵɵclassMapInterpolate8(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix) {
  69654. const lView = getLView();
  69655. const interpolatedValue = interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix);
  69656. checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);
  69657. }
  69658. /**
  69659. * Update an interpolated class on an element with 9 or more bound values surrounded by text.
  69660. *
  69661. * Used when the number of interpolated values exceeds 8.
  69662. *
  69663. * ```html
  69664. * <div
  69665. * class="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}-{{v8}}-{{v9}}suffix"></div>
  69666. * ```
  69667. *
  69668. * Its compiled representation is:
  69669. *
  69670. * ```ts
  69671. * ɵɵclassMapInterpolateV(
  69672. * ['prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, '-', v9,
  69673. * 'suffix']);
  69674. * ```
  69675. *.
  69676. * @param values The collection of values and the strings in-between those values, beginning with
  69677. * a string prefix and ending with a string suffix.
  69678. * (e.g. `['prefix', value0, '-', value1, '-', value2, ..., value99, 'suffix']`)
  69679. * @codeGenApi
  69680. */
  69681. function ɵɵclassMapInterpolateV(values) {
  69682. const lView = getLView();
  69683. const interpolatedValue = interpolationV(lView, values);
  69684. checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);
  69685. }
  69686. /**
  69687. * @license
  69688. * Copyright Google LLC All Rights Reserved.
  69689. *
  69690. * Use of this source code is governed by an MIT-style license that can be
  69691. * found in the LICENSE file at https://angular.io/license
  69692. */
  69693. /**
  69694. *
  69695. * Update an interpolated style on an element with single bound value surrounded by text.
  69696. *
  69697. * Used when the value passed to a property has 1 interpolated value in it:
  69698. *
  69699. * ```html
  69700. * <div style="key: {{v0}}suffix"></div>
  69701. * ```
  69702. *
  69703. * Its compiled representation is:
  69704. *
  69705. * ```ts
  69706. * ɵɵstyleMapInterpolate1('key: ', v0, 'suffix');
  69707. * ```
  69708. *
  69709. * @param prefix Static value used for concatenation only.
  69710. * @param v0 Value checked for change.
  69711. * @param suffix Static value used for concatenation only.
  69712. * @codeGenApi
  69713. */
  69714. function ɵɵstyleMapInterpolate1(prefix, v0, suffix) {
  69715. const lView = getLView();
  69716. const interpolatedValue = interpolation1(lView, prefix, v0, suffix);
  69717. ɵɵstyleMap(interpolatedValue);
  69718. }
  69719. /**
  69720. *
  69721. * Update an interpolated style on an element with 2 bound values surrounded by text.
  69722. *
  69723. * Used when the value passed to a property has 2 interpolated values in it:
  69724. *
  69725. * ```html
  69726. * <div style="key: {{v0}}; key1: {{v1}}suffix"></div>
  69727. * ```
  69728. *
  69729. * Its compiled representation is:
  69730. *
  69731. * ```ts
  69732. * ɵɵstyleMapInterpolate2('key: ', v0, '; key1: ', v1, 'suffix');
  69733. * ```
  69734. *
  69735. * @param prefix Static value used for concatenation only.
  69736. * @param v0 Value checked for change.
  69737. * @param i0 Static value used for concatenation only.
  69738. * @param v1 Value checked for change.
  69739. * @param suffix Static value used for concatenation only.
  69740. * @codeGenApi
  69741. */
  69742. function ɵɵstyleMapInterpolate2(prefix, v0, i0, v1, suffix) {
  69743. const lView = getLView();
  69744. const interpolatedValue = interpolation2(lView, prefix, v0, i0, v1, suffix);
  69745. ɵɵstyleMap(interpolatedValue);
  69746. }
  69747. /**
  69748. *
  69749. * Update an interpolated style on an element with 3 bound values surrounded by text.
  69750. *
  69751. * Used when the value passed to a property has 3 interpolated values in it:
  69752. *
  69753. * ```html
  69754. * <div style="key: {{v0}}; key2: {{v1}}; key2: {{v2}}suffix"></div>
  69755. * ```
  69756. *
  69757. * Its compiled representation is:
  69758. *
  69759. * ```ts
  69760. * ɵɵstyleMapInterpolate3(
  69761. * 'key: ', v0, '; key1: ', v1, '; key2: ', v2, 'suffix');
  69762. * ```
  69763. *
  69764. * @param prefix Static value used for concatenation only.
  69765. * @param v0 Value checked for change.
  69766. * @param i0 Static value used for concatenation only.
  69767. * @param v1 Value checked for change.
  69768. * @param i1 Static value used for concatenation only.
  69769. * @param v2 Value checked for change.
  69770. * @param suffix Static value used for concatenation only.
  69771. * @codeGenApi
  69772. */
  69773. function ɵɵstyleMapInterpolate3(prefix, v0, i0, v1, i1, v2, suffix) {
  69774. const lView = getLView();
  69775. const interpolatedValue = interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix);
  69776. ɵɵstyleMap(interpolatedValue);
  69777. }
  69778. /**
  69779. *
  69780. * Update an interpolated style on an element with 4 bound values surrounded by text.
  69781. *
  69782. * Used when the value passed to a property has 4 interpolated values in it:
  69783. *
  69784. * ```html
  69785. * <div style="key: {{v0}}; key1: {{v1}}; key2: {{v2}}; key3: {{v3}}suffix"></div>
  69786. * ```
  69787. *
  69788. * Its compiled representation is:
  69789. *
  69790. * ```ts
  69791. * ɵɵstyleMapInterpolate4(
  69792. * 'key: ', v0, '; key1: ', v1, '; key2: ', v2, '; key3: ', v3, 'suffix');
  69793. * ```
  69794. *
  69795. * @param prefix Static value used for concatenation only.
  69796. * @param v0 Value checked for change.
  69797. * @param i0 Static value used for concatenation only.
  69798. * @param v1 Value checked for change.
  69799. * @param i1 Static value used for concatenation only.
  69800. * @param v2 Value checked for change.
  69801. * @param i2 Static value used for concatenation only.
  69802. * @param v3 Value checked for change.
  69803. * @param suffix Static value used for concatenation only.
  69804. * @codeGenApi
  69805. */
  69806. function ɵɵstyleMapInterpolate4(prefix, v0, i0, v1, i1, v2, i2, v3, suffix) {
  69807. const lView = getLView();
  69808. const interpolatedValue = interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix);
  69809. ɵɵstyleMap(interpolatedValue);
  69810. }
  69811. /**
  69812. *
  69813. * Update an interpolated style on an element with 5 bound values surrounded by text.
  69814. *
  69815. * Used when the value passed to a property has 5 interpolated values in it:
  69816. *
  69817. * ```html
  69818. * <div style="key: {{v0}}; key1: {{v1}}; key2: {{v2}}; key3: {{v3}}; key4: {{v4}}suffix"></div>
  69819. * ```
  69820. *
  69821. * Its compiled representation is:
  69822. *
  69823. * ```ts
  69824. * ɵɵstyleMapInterpolate5(
  69825. * 'key: ', v0, '; key1: ', v1, '; key2: ', v2, '; key3: ', v3, '; key4: ', v4, 'suffix');
  69826. * ```
  69827. *
  69828. * @param prefix Static value used for concatenation only.
  69829. * @param v0 Value checked for change.
  69830. * @param i0 Static value used for concatenation only.
  69831. * @param v1 Value checked for change.
  69832. * @param i1 Static value used for concatenation only.
  69833. * @param v2 Value checked for change.
  69834. * @param i2 Static value used for concatenation only.
  69835. * @param v3 Value checked for change.
  69836. * @param i3 Static value used for concatenation only.
  69837. * @param v4 Value checked for change.
  69838. * @param suffix Static value used for concatenation only.
  69839. * @codeGenApi
  69840. */
  69841. function ɵɵstyleMapInterpolate5(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix) {
  69842. const lView = getLView();
  69843. const interpolatedValue = interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix);
  69844. ɵɵstyleMap(interpolatedValue);
  69845. }
  69846. /**
  69847. *
  69848. * Update an interpolated style on an element with 6 bound values surrounded by text.
  69849. *
  69850. * Used when the value passed to a property has 6 interpolated values in it:
  69851. *
  69852. * ```html
  69853. * <div style="key: {{v0}}; key1: {{v1}}; key2: {{v2}}; key3: {{v3}}; key4: {{v4}};
  69854. * key5: {{v5}}suffix"></div>
  69855. * ```
  69856. *
  69857. * Its compiled representation is:
  69858. *
  69859. * ```ts
  69860. * ɵɵstyleMapInterpolate6(
  69861. * 'key: ', v0, '; key1: ', v1, '; key2: ', v2, '; key3: ', v3, '; key4: ', v4, '; key5: ', v5,
  69862. * 'suffix');
  69863. * ```
  69864. *
  69865. * @param prefix Static value used for concatenation only.
  69866. * @param v0 Value checked for change.
  69867. * @param i0 Static value used for concatenation only.
  69868. * @param v1 Value checked for change.
  69869. * @param i1 Static value used for concatenation only.
  69870. * @param v2 Value checked for change.
  69871. * @param i2 Static value used for concatenation only.
  69872. * @param v3 Value checked for change.
  69873. * @param i3 Static value used for concatenation only.
  69874. * @param v4 Value checked for change.
  69875. * @param i4 Static value used for concatenation only.
  69876. * @param v5 Value checked for change.
  69877. * @param suffix Static value used for concatenation only.
  69878. * @codeGenApi
  69879. */
  69880. function ɵɵstyleMapInterpolate6(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix) {
  69881. const lView = getLView();
  69882. const interpolatedValue = interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix);
  69883. ɵɵstyleMap(interpolatedValue);
  69884. }
  69885. /**
  69886. *
  69887. * Update an interpolated style on an element with 7 bound values surrounded by text.
  69888. *
  69889. * Used when the value passed to a property has 7 interpolated values in it:
  69890. *
  69891. * ```html
  69892. * <div style="key: {{v0}}; key1: {{v1}}; key2: {{v2}}; key3: {{v3}}; key4: {{v4}}; key5: {{v5}};
  69893. * key6: {{v6}}suffix"></div>
  69894. * ```
  69895. *
  69896. * Its compiled representation is:
  69897. *
  69898. * ```ts
  69899. * ɵɵstyleMapInterpolate7(
  69900. * 'key: ', v0, '; key1: ', v1, '; key2: ', v2, '; key3: ', v3, '; key4: ', v4, '; key5: ', v5,
  69901. * '; key6: ', v6, 'suffix');
  69902. * ```
  69903. *
  69904. * @param prefix Static value used for concatenation only.
  69905. * @param v0 Value checked for change.
  69906. * @param i0 Static value used for concatenation only.
  69907. * @param v1 Value checked for change.
  69908. * @param i1 Static value used for concatenation only.
  69909. * @param v2 Value checked for change.
  69910. * @param i2 Static value used for concatenation only.
  69911. * @param v3 Value checked for change.
  69912. * @param i3 Static value used for concatenation only.
  69913. * @param v4 Value checked for change.
  69914. * @param i4 Static value used for concatenation only.
  69915. * @param v5 Value checked for change.
  69916. * @param i5 Static value used for concatenation only.
  69917. * @param v6 Value checked for change.
  69918. * @param suffix Static value used for concatenation only.
  69919. * @codeGenApi
  69920. */
  69921. function ɵɵstyleMapInterpolate7(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix) {
  69922. const lView = getLView();
  69923. const interpolatedValue = interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix);
  69924. ɵɵstyleMap(interpolatedValue);
  69925. }
  69926. /**
  69927. *
  69928. * Update an interpolated style on an element with 8 bound values surrounded by text.
  69929. *
  69930. * Used when the value passed to a property has 8 interpolated values in it:
  69931. *
  69932. * ```html
  69933. * <div style="key: {{v0}}; key1: {{v1}}; key2: {{v2}}; key3: {{v3}}; key4: {{v4}}; key5: {{v5}};
  69934. * key6: {{v6}}; key7: {{v7}}suffix"></div>
  69935. * ```
  69936. *
  69937. * Its compiled representation is:
  69938. *
  69939. * ```ts
  69940. * ɵɵstyleMapInterpolate8(
  69941. * 'key: ', v0, '; key1: ', v1, '; key2: ', v2, '; key3: ', v3, '; key4: ', v4, '; key5: ', v5,
  69942. * '; key6: ', v6, '; key7: ', v7, 'suffix');
  69943. * ```
  69944. *
  69945. * @param prefix Static value used for concatenation only.
  69946. * @param v0 Value checked for change.
  69947. * @param i0 Static value used for concatenation only.
  69948. * @param v1 Value checked for change.
  69949. * @param i1 Static value used for concatenation only.
  69950. * @param v2 Value checked for change.
  69951. * @param i2 Static value used for concatenation only.
  69952. * @param v3 Value checked for change.
  69953. * @param i3 Static value used for concatenation only.
  69954. * @param v4 Value checked for change.
  69955. * @param i4 Static value used for concatenation only.
  69956. * @param v5 Value checked for change.
  69957. * @param i5 Static value used for concatenation only.
  69958. * @param v6 Value checked for change.
  69959. * @param i6 Static value used for concatenation only.
  69960. * @param v7 Value checked for change.
  69961. * @param suffix Static value used for concatenation only.
  69962. * @codeGenApi
  69963. */
  69964. function ɵɵstyleMapInterpolate8(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix) {
  69965. const lView = getLView();
  69966. const interpolatedValue = interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix);
  69967. ɵɵstyleMap(interpolatedValue);
  69968. }
  69969. /**
  69970. * Update an interpolated style on an element with 9 or more bound values surrounded by text.
  69971. *
  69972. * Used when the number of interpolated values exceeds 8.
  69973. *
  69974. * ```html
  69975. * <div
  69976. * class="key: {{v0}}; key1: {{v1}}; key2: {{v2}}; key3: {{v3}}; key4: {{v4}}; key5: {{v5}};
  69977. * key6: {{v6}}; key7: {{v7}}; key8: {{v8}}; key9: {{v9}}suffix"></div>
  69978. * ```
  69979. *
  69980. * Its compiled representation is:
  69981. *
  69982. * ```ts
  69983. * ɵɵstyleMapInterpolateV(
  69984. * ['key: ', v0, '; key1: ', v1, '; key2: ', v2, '; key3: ', v3, '; key4: ', v4, '; key5: ', v5,
  69985. * '; key6: ', v6, '; key7: ', v7, '; key8: ', v8, '; key9: ', v9, 'suffix']);
  69986. * ```
  69987. *.
  69988. * @param values The collection of values and the strings in-between those values, beginning with
  69989. * a string prefix and ending with a string suffix.
  69990. * (e.g. `['prefix', value0, '; key2: ', value1, '; key2: ', value2, ..., value99, 'suffix']`)
  69991. * @codeGenApi
  69992. */
  69993. function ɵɵstyleMapInterpolateV(values) {
  69994. const lView = getLView();
  69995. const interpolatedValue = interpolationV(lView, values);
  69996. ɵɵstyleMap(interpolatedValue);
  69997. }
  69998. /**
  69999. * @license
  70000. * Copyright Google LLC All Rights Reserved.
  70001. *
  70002. * Use of this source code is governed by an MIT-style license that can be
  70003. * found in the LICENSE file at https://angular.io/license
  70004. */
  70005. /**
  70006. *
  70007. * Update an interpolated style property on an element with single bound value surrounded by text.
  70008. *
  70009. * Used when the value passed to a property has 1 interpolated value in it:
  70010. *
  70011. * ```html
  70012. * <div style.color="prefix{{v0}}suffix"></div>
  70013. * ```
  70014. *
  70015. * Its compiled representation is:
  70016. *
  70017. * ```ts
  70018. * ɵɵstylePropInterpolate1(0, 'prefix', v0, 'suffix');
  70019. * ```
  70020. *
  70021. * @param styleIndex Index of style to update. This index value refers to the
  70022. * index of the style in the style bindings array that was passed into
  70023. * `styling`.
  70024. * @param prefix Static value used for concatenation only.
  70025. * @param v0 Value checked for change.
  70026. * @param suffix Static value used for concatenation only.
  70027. * @param valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.
  70028. * @returns itself, so that it may be chained.
  70029. * @codeGenApi
  70030. */
  70031. function ɵɵstylePropInterpolate1(prop, prefix, v0, suffix, valueSuffix) {
  70032. const lView = getLView();
  70033. const interpolatedValue = interpolation1(lView, prefix, v0, suffix);
  70034. checkStylingProperty(prop, interpolatedValue, valueSuffix, false);
  70035. return ɵɵstylePropInterpolate1;
  70036. }
  70037. /**
  70038. *
  70039. * Update an interpolated style property on an element with 2 bound values surrounded by text.
  70040. *
  70041. * Used when the value passed to a property has 2 interpolated values in it:
  70042. *
  70043. * ```html
  70044. * <div style.color="prefix{{v0}}-{{v1}}suffix"></div>
  70045. * ```
  70046. *
  70047. * Its compiled representation is:
  70048. *
  70049. * ```ts
  70050. * ɵɵstylePropInterpolate2(0, 'prefix', v0, '-', v1, 'suffix');
  70051. * ```
  70052. *
  70053. * @param styleIndex Index of style to update. This index value refers to the
  70054. * index of the style in the style bindings array that was passed into
  70055. * `styling`.
  70056. * @param prefix Static value used for concatenation only.
  70057. * @param v0 Value checked for change.
  70058. * @param i0 Static value used for concatenation only.
  70059. * @param v1 Value checked for change.
  70060. * @param suffix Static value used for concatenation only.
  70061. * @param valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.
  70062. * @returns itself, so that it may be chained.
  70063. * @codeGenApi
  70064. */
  70065. function ɵɵstylePropInterpolate2(prop, prefix, v0, i0, v1, suffix, valueSuffix) {
  70066. const lView = getLView();
  70067. const interpolatedValue = interpolation2(lView, prefix, v0, i0, v1, suffix);
  70068. checkStylingProperty(prop, interpolatedValue, valueSuffix, false);
  70069. return ɵɵstylePropInterpolate2;
  70070. }
  70071. /**
  70072. *
  70073. * Update an interpolated style property on an element with 3 bound values surrounded by text.
  70074. *
  70075. * Used when the value passed to a property has 3 interpolated values in it:
  70076. *
  70077. * ```html
  70078. * <div style.color="prefix{{v0}}-{{v1}}-{{v2}}suffix"></div>
  70079. * ```
  70080. *
  70081. * Its compiled representation is:
  70082. *
  70083. * ```ts
  70084. * ɵɵstylePropInterpolate3(0, 'prefix', v0, '-', v1, '-', v2, 'suffix');
  70085. * ```
  70086. *
  70087. * @param styleIndex Index of style to update. This index value refers to the
  70088. * index of the style in the style bindings array that was passed into
  70089. * `styling`.
  70090. * @param prefix Static value used for concatenation only.
  70091. * @param v0 Value checked for change.
  70092. * @param i0 Static value used for concatenation only.
  70093. * @param v1 Value checked for change.
  70094. * @param i1 Static value used for concatenation only.
  70095. * @param v2 Value checked for change.
  70096. * @param suffix Static value used for concatenation only.
  70097. * @param valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.
  70098. * @returns itself, so that it may be chained.
  70099. * @codeGenApi
  70100. */
  70101. function ɵɵstylePropInterpolate3(prop, prefix, v0, i0, v1, i1, v2, suffix, valueSuffix) {
  70102. const lView = getLView();
  70103. const interpolatedValue = interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix);
  70104. checkStylingProperty(prop, interpolatedValue, valueSuffix, false);
  70105. return ɵɵstylePropInterpolate3;
  70106. }
  70107. /**
  70108. *
  70109. * Update an interpolated style property on an element with 4 bound values surrounded by text.
  70110. *
  70111. * Used when the value passed to a property has 4 interpolated values in it:
  70112. *
  70113. * ```html
  70114. * <div style.color="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}suffix"></div>
  70115. * ```
  70116. *
  70117. * Its compiled representation is:
  70118. *
  70119. * ```ts
  70120. * ɵɵstylePropInterpolate4(0, 'prefix', v0, '-', v1, '-', v2, '-', v3, 'suffix');
  70121. * ```
  70122. *
  70123. * @param styleIndex Index of style to update. This index value refers to the
  70124. * index of the style in the style bindings array that was passed into
  70125. * `styling`.
  70126. * @param prefix Static value used for concatenation only.
  70127. * @param v0 Value checked for change.
  70128. * @param i0 Static value used for concatenation only.
  70129. * @param v1 Value checked for change.
  70130. * @param i1 Static value used for concatenation only.
  70131. * @param v2 Value checked for change.
  70132. * @param i2 Static value used for concatenation only.
  70133. * @param v3 Value checked for change.
  70134. * @param suffix Static value used for concatenation only.
  70135. * @param valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.
  70136. * @returns itself, so that it may be chained.
  70137. * @codeGenApi
  70138. */
  70139. function ɵɵstylePropInterpolate4(prop, prefix, v0, i0, v1, i1, v2, i2, v3, suffix, valueSuffix) {
  70140. const lView = getLView();
  70141. const interpolatedValue = interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix);
  70142. checkStylingProperty(prop, interpolatedValue, valueSuffix, false);
  70143. return ɵɵstylePropInterpolate4;
  70144. }
  70145. /**
  70146. *
  70147. * Update an interpolated style property on an element with 5 bound values surrounded by text.
  70148. *
  70149. * Used when the value passed to a property has 5 interpolated values in it:
  70150. *
  70151. * ```html
  70152. * <div style.color="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}suffix"></div>
  70153. * ```
  70154. *
  70155. * Its compiled representation is:
  70156. *
  70157. * ```ts
  70158. * ɵɵstylePropInterpolate5(0, 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, 'suffix');
  70159. * ```
  70160. *
  70161. * @param styleIndex Index of style to update. This index value refers to the
  70162. * index of the style in the style bindings array that was passed into
  70163. * `styling`.
  70164. * @param prefix Static value used for concatenation only.
  70165. * @param v0 Value checked for change.
  70166. * @param i0 Static value used for concatenation only.
  70167. * @param v1 Value checked for change.
  70168. * @param i1 Static value used for concatenation only.
  70169. * @param v2 Value checked for change.
  70170. * @param i2 Static value used for concatenation only.
  70171. * @param v3 Value checked for change.
  70172. * @param i3 Static value used for concatenation only.
  70173. * @param v4 Value checked for change.
  70174. * @param suffix Static value used for concatenation only.
  70175. * @param valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.
  70176. * @returns itself, so that it may be chained.
  70177. * @codeGenApi
  70178. */
  70179. function ɵɵstylePropInterpolate5(prop, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix, valueSuffix) {
  70180. const lView = getLView();
  70181. const interpolatedValue = interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix);
  70182. checkStylingProperty(prop, interpolatedValue, valueSuffix, false);
  70183. return ɵɵstylePropInterpolate5;
  70184. }
  70185. /**
  70186. *
  70187. * Update an interpolated style property on an element with 6 bound values surrounded by text.
  70188. *
  70189. * Used when the value passed to a property has 6 interpolated values in it:
  70190. *
  70191. * ```html
  70192. * <div style.color="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}suffix"></div>
  70193. * ```
  70194. *
  70195. * Its compiled representation is:
  70196. *
  70197. * ```ts
  70198. * ɵɵstylePropInterpolate6(0, 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, 'suffix');
  70199. * ```
  70200. *
  70201. * @param styleIndex Index of style to update. This index value refers to the
  70202. * index of the style in the style bindings array that was passed into
  70203. * `styling`.
  70204. * @param prefix Static value used for concatenation only.
  70205. * @param v0 Value checked for change.
  70206. * @param i0 Static value used for concatenation only.
  70207. * @param v1 Value checked for change.
  70208. * @param i1 Static value used for concatenation only.
  70209. * @param v2 Value checked for change.
  70210. * @param i2 Static value used for concatenation only.
  70211. * @param v3 Value checked for change.
  70212. * @param i3 Static value used for concatenation only.
  70213. * @param v4 Value checked for change.
  70214. * @param i4 Static value used for concatenation only.
  70215. * @param v5 Value checked for change.
  70216. * @param suffix Static value used for concatenation only.
  70217. * @param valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.
  70218. * @returns itself, so that it may be chained.
  70219. * @codeGenApi
  70220. */
  70221. function ɵɵstylePropInterpolate6(prop, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix, valueSuffix) {
  70222. const lView = getLView();
  70223. const interpolatedValue = interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix);
  70224. checkStylingProperty(prop, interpolatedValue, valueSuffix, false);
  70225. return ɵɵstylePropInterpolate6;
  70226. }
  70227. /**
  70228. *
  70229. * Update an interpolated style property on an element with 7 bound values surrounded by text.
  70230. *
  70231. * Used when the value passed to a property has 7 interpolated values in it:
  70232. *
  70233. * ```html
  70234. * <div style.color="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}suffix"></div>
  70235. * ```
  70236. *
  70237. * Its compiled representation is:
  70238. *
  70239. * ```ts
  70240. * ɵɵstylePropInterpolate7(
  70241. * 0, 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, 'suffix');
  70242. * ```
  70243. *
  70244. * @param styleIndex Index of style to update. This index value refers to the
  70245. * index of the style in the style bindings array that was passed into
  70246. * `styling`.
  70247. * @param prefix Static value used for concatenation only.
  70248. * @param v0 Value checked for change.
  70249. * @param i0 Static value used for concatenation only.
  70250. * @param v1 Value checked for change.
  70251. * @param i1 Static value used for concatenation only.
  70252. * @param v2 Value checked for change.
  70253. * @param i2 Static value used for concatenation only.
  70254. * @param v3 Value checked for change.
  70255. * @param i3 Static value used for concatenation only.
  70256. * @param v4 Value checked for change.
  70257. * @param i4 Static value used for concatenation only.
  70258. * @param v5 Value checked for change.
  70259. * @param i5 Static value used for concatenation only.
  70260. * @param v6 Value checked for change.
  70261. * @param suffix Static value used for concatenation only.
  70262. * @param valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.
  70263. * @returns itself, so that it may be chained.
  70264. * @codeGenApi
  70265. */
  70266. function ɵɵstylePropInterpolate7(prop, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix, valueSuffix) {
  70267. const lView = getLView();
  70268. const interpolatedValue = interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix);
  70269. checkStylingProperty(prop, interpolatedValue, valueSuffix, false);
  70270. return ɵɵstylePropInterpolate7;
  70271. }
  70272. /**
  70273. *
  70274. * Update an interpolated style property on an element with 8 bound values surrounded by text.
  70275. *
  70276. * Used when the value passed to a property has 8 interpolated values in it:
  70277. *
  70278. * ```html
  70279. * <div style.color="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}suffix"></div>
  70280. * ```
  70281. *
  70282. * Its compiled representation is:
  70283. *
  70284. * ```ts
  70285. * ɵɵstylePropInterpolate8(0, 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6,
  70286. * '-', v7, 'suffix');
  70287. * ```
  70288. *
  70289. * @param styleIndex Index of style to update. This index value refers to the
  70290. * index of the style in the style bindings array that was passed into
  70291. * `styling`.
  70292. * @param prefix Static value used for concatenation only.
  70293. * @param v0 Value checked for change.
  70294. * @param i0 Static value used for concatenation only.
  70295. * @param v1 Value checked for change.
  70296. * @param i1 Static value used for concatenation only.
  70297. * @param v2 Value checked for change.
  70298. * @param i2 Static value used for concatenation only.
  70299. * @param v3 Value checked for change.
  70300. * @param i3 Static value used for concatenation only.
  70301. * @param v4 Value checked for change.
  70302. * @param i4 Static value used for concatenation only.
  70303. * @param v5 Value checked for change.
  70304. * @param i5 Static value used for concatenation only.
  70305. * @param v6 Value checked for change.
  70306. * @param i6 Static value used for concatenation only.
  70307. * @param v7 Value checked for change.
  70308. * @param suffix Static value used for concatenation only.
  70309. * @param valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.
  70310. * @returns itself, so that it may be chained.
  70311. * @codeGenApi
  70312. */
  70313. function ɵɵstylePropInterpolate8(prop, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix, valueSuffix) {
  70314. const lView = getLView();
  70315. const interpolatedValue = interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix);
  70316. checkStylingProperty(prop, interpolatedValue, valueSuffix, false);
  70317. return ɵɵstylePropInterpolate8;
  70318. }
  70319. /**
  70320. * Update an interpolated style property on an element with 9 or more bound values surrounded by
  70321. * text.
  70322. *
  70323. * Used when the number of interpolated values exceeds 8.
  70324. *
  70325. * ```html
  70326. * <div
  70327. * style.color="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}-{{v8}}-{{v9}}suffix">
  70328. * </div>
  70329. * ```
  70330. *
  70331. * Its compiled representation is:
  70332. *
  70333. * ```ts
  70334. * ɵɵstylePropInterpolateV(
  70335. * 0, ['prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, '-', v9,
  70336. * 'suffix']);
  70337. * ```
  70338. *
  70339. * @param styleIndex Index of style to update. This index value refers to the
  70340. * index of the style in the style bindings array that was passed into
  70341. * `styling`..
  70342. * @param values The collection of values and the strings in-between those values, beginning with
  70343. * a string prefix and ending with a string suffix.
  70344. * (e.g. `['prefix', value0, '-', value1, '-', value2, ..., value99, 'suffix']`)
  70345. * @param valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.
  70346. * @returns itself, so that it may be chained.
  70347. * @codeGenApi
  70348. */
  70349. function ɵɵstylePropInterpolateV(prop, values, valueSuffix) {
  70350. const lView = getLView();
  70351. const interpolatedValue = interpolationV(lView, values);
  70352. checkStylingProperty(prop, interpolatedValue, valueSuffix, false);
  70353. return ɵɵstylePropInterpolateV;
  70354. }
  70355. /**
  70356. * @license
  70357. * Copyright Google LLC All Rights Reserved.
  70358. *
  70359. * Use of this source code is governed by an MIT-style license that can be
  70360. * found in the LICENSE file at https://angular.io/license
  70361. */
  70362. /**
  70363. * Update a property on a host element. Only applies to native node properties, not inputs.
  70364. *
  70365. * Operates on the element selected by index via the {@link select} instruction.
  70366. *
  70367. * @param propName Name of property. Because it is going to DOM, this is not subject to
  70368. * renaming as part of minification.
  70369. * @param value New value to write.
  70370. * @param sanitizer An optional function used to sanitize the value.
  70371. * @returns This function returns itself so that it may be chained
  70372. * (e.g. `property('name', ctx.name)('title', ctx.title)`)
  70373. *
  70374. * @codeGenApi
  70375. */
  70376. function ɵɵhostProperty(propName, value, sanitizer) {
  70377. const lView = getLView();
  70378. const bindingIndex = nextBindingIndex();
  70379. if (bindingUpdated(lView, bindingIndex, value)) {
  70380. const tView = getTView();
  70381. const tNode = getSelectedTNode();
  70382. elementPropertyInternal(tView, tNode, lView, propName, value, lView[RENDERER], sanitizer, true);
  70383. ngDevMode && storePropertyBindingMetadata(tView.data, tNode, propName, bindingIndex);
  70384. }
  70385. return ɵɵhostProperty;
  70386. }
  70387. /**
  70388. * Updates a synthetic host binding (e.g. `[@foo]`) on a component or directive.
  70389. *
  70390. * This instruction is for compatibility purposes and is designed to ensure that a
  70391. * synthetic host binding (e.g. `@HostBinding('@foo')`) properly gets rendered in
  70392. * the component's renderer. Normally all host bindings are evaluated with the parent
  70393. * component's renderer, but, in the case of animation @triggers, they need to be
  70394. * evaluated with the sub component's renderer (because that's where the animation
  70395. * triggers are defined).
  70396. *
  70397. * Do not use this instruction as a replacement for `elementProperty`. This instruction
  70398. * only exists to ensure compatibility with the ViewEngine's host binding behavior.
  70399. *
  70400. * @param index The index of the element to update in the data array
  70401. * @param propName Name of property. Because it is going to DOM, this is not subject to
  70402. * renaming as part of minification.
  70403. * @param value New value to write.
  70404. * @param sanitizer An optional function used to sanitize the value.
  70405. *
  70406. * @codeGenApi
  70407. */
  70408. function ɵɵsyntheticHostProperty(propName, value, sanitizer) {
  70409. const lView = getLView();
  70410. const bindingIndex = nextBindingIndex();
  70411. if (bindingUpdated(lView, bindingIndex, value)) {
  70412. const tView = getTView();
  70413. const tNode = getSelectedTNode();
  70414. const currentDef = getCurrentDirectiveDef(tView.data);
  70415. const renderer = loadComponentRenderer(currentDef, tNode, lView);
  70416. elementPropertyInternal(tView, tNode, lView, propName, value, renderer, sanitizer, true);
  70417. ngDevMode && storePropertyBindingMetadata(tView.data, tNode, propName, bindingIndex);
  70418. }
  70419. return ɵɵsyntheticHostProperty;
  70420. }
  70421. /**
  70422. * @license
  70423. * Copyright Google LLC All Rights Reserved.
  70424. *
  70425. * Use of this source code is governed by an MIT-style license that can be
  70426. * found in the LICENSE file at https://angular.io/license
  70427. */
  70428. /**
  70429. * NOTE: changes to the `ngI18nClosureMode` name must be synced with `compiler-cli/src/tooling.ts`.
  70430. */
  70431. if (typeof ngI18nClosureMode === 'undefined') {
  70432. // These property accesses can be ignored because ngI18nClosureMode will be set to false
  70433. // when optimizing code and the whole if statement will be dropped.
  70434. // Make sure to refer to ngI18nClosureMode as ['ngI18nClosureMode'] for closure.
  70435. // NOTE: we need to have it in IIFE so that the tree-shaker is happy.
  70436. (function () {
  70437. // tslint:disable-next-line:no-toplevel-property-access
  70438. _global['ngI18nClosureMode'] = // TODO(FW-1250): validate that this actually, you know, works.
  70439. // tslint:disable-next-line:no-toplevel-property-access
  70440. typeof goog !== 'undefined' && typeof goog.getMsg === 'function';
  70441. })();
  70442. }
  70443. /**
  70444. * @license
  70445. * Copyright Google LLC All Rights Reserved.
  70446. *
  70447. * Use of this source code is governed by an MIT-style license that can be
  70448. * found in the LICENSE file at https://angular.io/license
  70449. */
  70450. // THIS CODE IS GENERATED - DO NOT MODIFY.
  70451. const u = undefined;
  70452. function plural(val) {
  70453. const n = val,
  70454. i = Math.floor(Math.abs(val)),
  70455. v = val.toString().replace(/^[^.]*\.?/, '').length;
  70456. if (i === 1 && v === 0) return 1;
  70457. return 5;
  70458. }
  70459. var localeEn = ["en", [["a", "p"], ["AM", "PM"], u], [["AM", "PM"], u, u], [["S", "M", "T", "W", "T", "F", "S"], ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"]], u, [["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"], ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]], u, [["B", "A"], ["BC", "AD"], ["Before Christ", "Anno Domini"]], 0, [6, 0], ["M/d/yy", "MMM d, y", "MMMM d, y", "EEEE, MMMM d, y"], ["h:mm a", "h:mm:ss a", "h:mm:ss a z", "h:mm:ss a zzzz"], ["{1}, {0}", u, "{1} 'at' {0}", u], [".", ",", ";", "%", "+", "-", "E", "×", "‰", "∞", "NaN", ":"], ["#,##0.###", "#,##0%", "¤#,##0.00", "#E0"], "USD", "$", "US Dollar", {}, "ltr", plural];
  70460. /**
  70461. * @license
  70462. * Copyright Google LLC All Rights Reserved.
  70463. *
  70464. * Use of this source code is governed by an MIT-style license that can be
  70465. * found in the LICENSE file at https://angular.io/license
  70466. */
  70467. /**
  70468. * This const is used to store the locale data registered with `registerLocaleData`
  70469. */
  70470. let LOCALE_DATA = {};
  70471. /**
  70472. * Register locale data to be used internally by Angular. See the
  70473. * ["I18n guide"](guide/i18n-common-format-data-locale) to know how to import additional locale
  70474. * data.
  70475. *
  70476. * The signature `registerLocaleData(data: any, extraData?: any)` is deprecated since v5.1
  70477. */
  70478. function registerLocaleData(data, localeId, extraData) {
  70479. if (typeof localeId !== 'string') {
  70480. extraData = localeId;
  70481. localeId = data[LocaleDataIndex.LocaleId];
  70482. }
  70483. localeId = localeId.toLowerCase().replace(/_/g, '-');
  70484. LOCALE_DATA[localeId] = data;
  70485. if (extraData) {
  70486. LOCALE_DATA[localeId][LocaleDataIndex.ExtraData] = extraData;
  70487. }
  70488. }
  70489. /**
  70490. * Finds the locale data for a given locale.
  70491. *
  70492. * @param locale The locale code.
  70493. * @returns The locale data.
  70494. * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
  70495. */
  70496. function findLocaleData(locale) {
  70497. const normalizedLocale = normalizeLocale(locale);
  70498. let match = getLocaleData(normalizedLocale);
  70499. if (match) {
  70500. return match;
  70501. } // let's try to find a parent locale
  70502. const parentLocale = normalizedLocale.split('-')[0];
  70503. match = getLocaleData(parentLocale);
  70504. if (match) {
  70505. return match;
  70506. }
  70507. if (parentLocale === 'en') {
  70508. return localeEn;
  70509. }
  70510. throw new RuntimeError(701
  70511. /* RuntimeErrorCode.MISSING_LOCALE_DATA */
  70512. , ngDevMode && `Missing locale data for the locale "${locale}".`);
  70513. }
  70514. /**
  70515. * Retrieves the default currency code for the given locale.
  70516. *
  70517. * The default is defined as the first currency which is still in use.
  70518. *
  70519. * @param locale The code of the locale whose currency code we want.
  70520. * @returns The code of the default currency for the given locale.
  70521. *
  70522. */
  70523. function getLocaleCurrencyCode(locale) {
  70524. const data = findLocaleData(locale);
  70525. return data[LocaleDataIndex.CurrencyCode] || null;
  70526. }
  70527. /**
  70528. * Retrieves the plural function used by ICU expressions to determine the plural case to use
  70529. * for a given locale.
  70530. * @param locale A locale code for the locale format rules to use.
  70531. * @returns The plural function for the locale.
  70532. * @see `NgPlural`
  70533. * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
  70534. */
  70535. function getLocalePluralCase(locale) {
  70536. const data = findLocaleData(locale);
  70537. return data[LocaleDataIndex.PluralCase];
  70538. }
  70539. /**
  70540. * Helper function to get the given `normalizedLocale` from `LOCALE_DATA`
  70541. * or from the global `ng.common.locale`.
  70542. */
  70543. function getLocaleData(normalizedLocale) {
  70544. if (!(normalizedLocale in LOCALE_DATA)) {
  70545. LOCALE_DATA[normalizedLocale] = _global.ng && _global.ng.common && _global.ng.common.locales && _global.ng.common.locales[normalizedLocale];
  70546. }
  70547. return LOCALE_DATA[normalizedLocale];
  70548. }
  70549. /**
  70550. * Helper function to remove all the locale data from `LOCALE_DATA`.
  70551. */
  70552. function unregisterAllLocaleData() {
  70553. LOCALE_DATA = {};
  70554. }
  70555. /**
  70556. * Index of each type of locale data from the locale data array
  70557. */
  70558. var LocaleDataIndex;
  70559. (function (LocaleDataIndex) {
  70560. LocaleDataIndex[LocaleDataIndex["LocaleId"] = 0] = "LocaleId";
  70561. LocaleDataIndex[LocaleDataIndex["DayPeriodsFormat"] = 1] = "DayPeriodsFormat";
  70562. LocaleDataIndex[LocaleDataIndex["DayPeriodsStandalone"] = 2] = "DayPeriodsStandalone";
  70563. LocaleDataIndex[LocaleDataIndex["DaysFormat"] = 3] = "DaysFormat";
  70564. LocaleDataIndex[LocaleDataIndex["DaysStandalone"] = 4] = "DaysStandalone";
  70565. LocaleDataIndex[LocaleDataIndex["MonthsFormat"] = 5] = "MonthsFormat";
  70566. LocaleDataIndex[LocaleDataIndex["MonthsStandalone"] = 6] = "MonthsStandalone";
  70567. LocaleDataIndex[LocaleDataIndex["Eras"] = 7] = "Eras";
  70568. LocaleDataIndex[LocaleDataIndex["FirstDayOfWeek"] = 8] = "FirstDayOfWeek";
  70569. LocaleDataIndex[LocaleDataIndex["WeekendRange"] = 9] = "WeekendRange";
  70570. LocaleDataIndex[LocaleDataIndex["DateFormat"] = 10] = "DateFormat";
  70571. LocaleDataIndex[LocaleDataIndex["TimeFormat"] = 11] = "TimeFormat";
  70572. LocaleDataIndex[LocaleDataIndex["DateTimeFormat"] = 12] = "DateTimeFormat";
  70573. LocaleDataIndex[LocaleDataIndex["NumberSymbols"] = 13] = "NumberSymbols";
  70574. LocaleDataIndex[LocaleDataIndex["NumberFormats"] = 14] = "NumberFormats";
  70575. LocaleDataIndex[LocaleDataIndex["CurrencyCode"] = 15] = "CurrencyCode";
  70576. LocaleDataIndex[LocaleDataIndex["CurrencySymbol"] = 16] = "CurrencySymbol";
  70577. LocaleDataIndex[LocaleDataIndex["CurrencyName"] = 17] = "CurrencyName";
  70578. LocaleDataIndex[LocaleDataIndex["Currencies"] = 18] = "Currencies";
  70579. LocaleDataIndex[LocaleDataIndex["Directionality"] = 19] = "Directionality";
  70580. LocaleDataIndex[LocaleDataIndex["PluralCase"] = 20] = "PluralCase";
  70581. LocaleDataIndex[LocaleDataIndex["ExtraData"] = 21] = "ExtraData";
  70582. })(LocaleDataIndex || (LocaleDataIndex = {}));
  70583. /**
  70584. * Returns the canonical form of a locale name - lowercase with `_` replaced with `-`.
  70585. */
  70586. function normalizeLocale(locale) {
  70587. return locale.toLowerCase().replace(/_/g, '-');
  70588. }
  70589. /**
  70590. * @license
  70591. * Copyright Google LLC All Rights Reserved.
  70592. *
  70593. * Use of this source code is governed by an MIT-style license that can be
  70594. * found in the LICENSE file at https://angular.io/license
  70595. */
  70596. const pluralMapping = ['zero', 'one', 'two', 'few', 'many'];
  70597. /**
  70598. * Returns the plural case based on the locale
  70599. */
  70600. function getPluralCase(value, locale) {
  70601. const plural = getLocalePluralCase(locale)(parseInt(value, 10));
  70602. const result = pluralMapping[plural];
  70603. return result !== undefined ? result : 'other';
  70604. }
  70605. /**
  70606. * The locale id that the application is using by default (for translations and ICU expressions).
  70607. */
  70608. const DEFAULT_LOCALE_ID = 'en-US';
  70609. /**
  70610. * USD currency code that the application uses by default for CurrencyPipe when no
  70611. * DEFAULT_CURRENCY_CODE is provided.
  70612. */
  70613. const USD_CURRENCY_CODE = 'USD';
  70614. /**
  70615. * @license
  70616. * Copyright Google LLC All Rights Reserved.
  70617. *
  70618. * Use of this source code is governed by an MIT-style license that can be
  70619. * found in the LICENSE file at https://angular.io/license
  70620. */
  70621. /**
  70622. * Marks that the next string is an element name.
  70623. *
  70624. * See `I18nMutateOpCodes` documentation.
  70625. */
  70626. const ELEMENT_MARKER = {
  70627. marker: 'element'
  70628. };
  70629. /**
  70630. * Marks that the next string is comment text need for ICU.
  70631. *
  70632. * See `I18nMutateOpCodes` documentation.
  70633. */
  70634. const ICU_MARKER = {
  70635. marker: 'ICU'
  70636. };
  70637. /**
  70638. * See `I18nCreateOpCodes`
  70639. */
  70640. var I18nCreateOpCode;
  70641. (function (I18nCreateOpCode) {
  70642. /**
  70643. * Number of bits to shift index so that it can be combined with the `APPEND_EAGERLY` and
  70644. * `COMMENT`.
  70645. */
  70646. I18nCreateOpCode[I18nCreateOpCode["SHIFT"] = 2] = "SHIFT";
  70647. /**
  70648. * Should the node be appended to parent immediately after creation.
  70649. */
  70650. I18nCreateOpCode[I18nCreateOpCode["APPEND_EAGERLY"] = 1] = "APPEND_EAGERLY";
  70651. /**
  70652. * If set the node should be comment (rather than a text) node.
  70653. */
  70654. I18nCreateOpCode[I18nCreateOpCode["COMMENT"] = 2] = "COMMENT";
  70655. })(I18nCreateOpCode || (I18nCreateOpCode = {})); // Note: This hack is necessary so we don't erroneously get a circular dependency
  70656. // failure based on types.
  70657. const unusedValueExportToPlacateAjd$2 = 1;
  70658. /**
  70659. * @license
  70660. * Copyright Google LLC All Rights Reserved.
  70661. *
  70662. * Use of this source code is governed by an MIT-style license that can be
  70663. * found in the LICENSE file at https://angular.io/license
  70664. */
  70665. /**
  70666. * The locale id that the application is currently using (for translations and ICU expressions).
  70667. * This is the ivy version of `LOCALE_ID` that was defined as an injection token for the view engine
  70668. * but is now defined as a global value.
  70669. */
  70670. let LOCALE_ID$1 = DEFAULT_LOCALE_ID;
  70671. /**
  70672. * Sets the locale id that will be used for translations and ICU expressions.
  70673. * This is the ivy version of `LOCALE_ID` that was defined as an injection token for the view engine
  70674. * but is now defined as a global value.
  70675. *
  70676. * @param localeId
  70677. */
  70678. function setLocaleId(localeId) {
  70679. assertDefined(localeId, `Expected localeId to be defined`);
  70680. if (typeof localeId === 'string') {
  70681. LOCALE_ID$1 = localeId.toLowerCase().replace(/_/g, '-');
  70682. }
  70683. }
  70684. /**
  70685. * Gets the locale id that will be used for translations and ICU expressions.
  70686. * This is the ivy version of `LOCALE_ID` that was defined as an injection token for the view engine
  70687. * but is now defined as a global value.
  70688. */
  70689. function getLocaleId() {
  70690. return LOCALE_ID$1;
  70691. }
  70692. /**
  70693. * @license
  70694. * Copyright Google LLC All Rights Reserved.
  70695. *
  70696. * Use of this source code is governed by an MIT-style license that can be
  70697. * found in the LICENSE file at https://angular.io/license
  70698. */
  70699. /**
  70700. * Find a node in front of which `currentTNode` should be inserted (takes i18n into account).
  70701. *
  70702. * This method determines the `RNode` in front of which we should insert the `currentRNode`. This
  70703. * takes `TNode.insertBeforeIndex` into account.
  70704. *
  70705. * @param parentTNode parent `TNode`
  70706. * @param currentTNode current `TNode` (The node which we would like to insert into the DOM)
  70707. * @param lView current `LView`
  70708. */
  70709. function getInsertInFrontOfRNodeWithI18n(parentTNode, currentTNode, lView) {
  70710. const tNodeInsertBeforeIndex = currentTNode.insertBeforeIndex;
  70711. const insertBeforeIndex = Array.isArray(tNodeInsertBeforeIndex) ? tNodeInsertBeforeIndex[0] : tNodeInsertBeforeIndex;
  70712. if (insertBeforeIndex === null) {
  70713. return getInsertInFrontOfRNodeWithNoI18n(parentTNode, currentTNode, lView);
  70714. } else {
  70715. ngDevMode && assertIndexInRange(lView, insertBeforeIndex);
  70716. return unwrapRNode(lView[insertBeforeIndex]);
  70717. }
  70718. }
  70719. /**
  70720. * Process `TNode.insertBeforeIndex` by adding i18n text nodes.
  70721. *
  70722. * See `TNode.insertBeforeIndex`
  70723. */
  70724. function processI18nInsertBefore(renderer, childTNode, lView, childRNode, parentRElement) {
  70725. const tNodeInsertBeforeIndex = childTNode.insertBeforeIndex;
  70726. if (Array.isArray(tNodeInsertBeforeIndex)) {
  70727. // An array indicates that there are i18n nodes that need to be added as children of this
  70728. // `childRNode`. These i18n nodes were created before this `childRNode` was available and so
  70729. // only now can be added. The first element of the array is the normal index where we should
  70730. // insert the `childRNode`. Additional elements are the extra nodes to be added as children of
  70731. // `childRNode`.
  70732. ngDevMode && assertDomNode(childRNode);
  70733. let i18nParent = childRNode;
  70734. let anchorRNode = null;
  70735. if (!(childTNode.type & 3
  70736. /* TNodeType.AnyRNode */
  70737. )) {
  70738. anchorRNode = i18nParent;
  70739. i18nParent = parentRElement;
  70740. }
  70741. if (i18nParent !== null && (childTNode.flags & 2
  70742. /* TNodeFlags.isComponentHost */
  70743. ) === 0) {
  70744. for (let i = 1; i < tNodeInsertBeforeIndex.length; i++) {
  70745. // No need to `unwrapRNode` because all of the indexes point to i18n text nodes.
  70746. // see `assertDomNode` below.
  70747. const i18nChild = lView[tNodeInsertBeforeIndex[i]];
  70748. nativeInsertBefore(renderer, i18nParent, i18nChild, anchorRNode, false);
  70749. }
  70750. }
  70751. }
  70752. }
  70753. /**
  70754. * @license
  70755. * Copyright Google LLC All Rights Reserved.
  70756. *
  70757. * Use of this source code is governed by an MIT-style license that can be
  70758. * found in the LICENSE file at https://angular.io/license
  70759. */
  70760. /**
  70761. * Add `tNode` to `previousTNodes` list and update relevant `TNode`s in `previousTNodes` list
  70762. * `tNode.insertBeforeIndex`.
  70763. *
  70764. * Things to keep in mind:
  70765. * 1. All i18n text nodes are encoded as `TNodeType.Element` and are created eagerly by the
  70766. * `ɵɵi18nStart` instruction.
  70767. * 2. All `TNodeType.Placeholder` `TNodes` are elements which will be created later by
  70768. * `ɵɵelementStart` instruction.
  70769. * 3. `ɵɵelementStart` instruction will create `TNode`s in the ascending `TNode.index` order. (So a
  70770. * smaller index `TNode` is guaranteed to be created before a larger one)
  70771. *
  70772. * We use the above three invariants to determine `TNode.insertBeforeIndex`.
  70773. *
  70774. * In an ideal world `TNode.insertBeforeIndex` would always be `TNode.next.index`. However,
  70775. * this will not work because `TNode.next.index` may be larger than `TNode.index` which means that
  70776. * the next node is not yet created and therefore we can't insert in front of it.
  70777. *
  70778. * Rule1: `TNode.insertBeforeIndex = null` if `TNode.next === null` (Initial condition, as we don't
  70779. * know if there will be further `TNode`s inserted after.)
  70780. * Rule2: If `previousTNode` is created after the `tNode` being inserted, then
  70781. * `previousTNode.insertBeforeNode = tNode.index` (So when a new `tNode` is added we check
  70782. * previous to see if we can update its `insertBeforeTNode`)
  70783. *
  70784. * See `TNode.insertBeforeIndex` for more context.
  70785. *
  70786. * @param previousTNodes A list of previous TNodes so that we can easily traverse `TNode`s in
  70787. * reverse order. (If `TNode` would have `previous` this would not be necessary.)
  70788. * @param newTNode A TNode to add to the `previousTNodes` list.
  70789. */
  70790. function addTNodeAndUpdateInsertBeforeIndex(previousTNodes, newTNode) {
  70791. // Start with Rule1
  70792. ngDevMode && assertEqual(newTNode.insertBeforeIndex, null, 'We expect that insertBeforeIndex is not set');
  70793. previousTNodes.push(newTNode);
  70794. if (previousTNodes.length > 1) {
  70795. for (let i = previousTNodes.length - 2; i >= 0; i--) {
  70796. const existingTNode = previousTNodes[i]; // Text nodes are created eagerly and so they don't need their `indexBeforeIndex` updated.
  70797. // It is safe to ignore them.
  70798. if (!isI18nText(existingTNode)) {
  70799. if (isNewTNodeCreatedBefore(existingTNode, newTNode) && getInsertBeforeIndex(existingTNode) === null) {
  70800. // If it was created before us in time, (and it does not yet have `insertBeforeIndex`)
  70801. // then add the `insertBeforeIndex`.
  70802. setInsertBeforeIndex(existingTNode, newTNode.index);
  70803. }
  70804. }
  70805. }
  70806. }
  70807. }
  70808. function isI18nText(tNode) {
  70809. return !(tNode.type & 64
  70810. /* TNodeType.Placeholder */
  70811. );
  70812. }
  70813. function isNewTNodeCreatedBefore(existingTNode, newTNode) {
  70814. return isI18nText(newTNode) || existingTNode.index > newTNode.index;
  70815. }
  70816. function getInsertBeforeIndex(tNode) {
  70817. const index = tNode.insertBeforeIndex;
  70818. return Array.isArray(index) ? index[0] : index;
  70819. }
  70820. function setInsertBeforeIndex(tNode, value) {
  70821. const index = tNode.insertBeforeIndex;
  70822. if (Array.isArray(index)) {
  70823. // Array is stored if we have to insert child nodes. See `TNode.insertBeforeIndex`
  70824. index[0] = value;
  70825. } else {
  70826. setI18nHandling(getInsertInFrontOfRNodeWithI18n, processI18nInsertBefore);
  70827. tNode.insertBeforeIndex = value;
  70828. }
  70829. }
  70830. /**
  70831. * @license
  70832. * Copyright Google LLC All Rights Reserved.
  70833. *
  70834. * Use of this source code is governed by an MIT-style license that can be
  70835. * found in the LICENSE file at https://angular.io/license
  70836. */
  70837. /**
  70838. * Retrieve `TIcu` at a given `index`.
  70839. *
  70840. * The `TIcu` can be stored either directly (if it is nested ICU) OR
  70841. * it is stored inside tho `TIcuContainer` if it is top level ICU.
  70842. *
  70843. * The reason for this is that the top level ICU need a `TNode` so that they are part of the render
  70844. * tree, but nested ICU's have no TNode, because we don't know ahead of time if the nested ICU is
  70845. * expressed (parent ICU may have selected a case which does not contain it.)
  70846. *
  70847. * @param tView Current `TView`.
  70848. * @param index Index where the value should be read from.
  70849. */
  70850. function getTIcu(tView, index) {
  70851. const value = tView.data[index];
  70852. if (value === null || typeof value === 'string') return null;
  70853. if (ngDevMode && !(value.hasOwnProperty('tViews') || value.hasOwnProperty('currentCaseLViewIndex'))) {
  70854. throwError('We expect to get \'null\'|\'TIcu\'|\'TIcuContainer\', but got: ' + value);
  70855. } // Here the `value.hasOwnProperty('currentCaseLViewIndex')` is a polymorphic read as it can be
  70856. // either TIcu or TIcuContainerNode. This is not ideal, but we still think it is OK because it
  70857. // will be just two cases which fits into the browser inline cache (inline cache can take up to
  70858. // 4)
  70859. const tIcu = value.hasOwnProperty('currentCaseLViewIndex') ? value : value.value;
  70860. ngDevMode && assertTIcu(tIcu);
  70861. return tIcu;
  70862. }
  70863. /**
  70864. * Store `TIcu` at a give `index`.
  70865. *
  70866. * The `TIcu` can be stored either directly (if it is nested ICU) OR
  70867. * it is stored inside tho `TIcuContainer` if it is top level ICU.
  70868. *
  70869. * The reason for this is that the top level ICU need a `TNode` so that they are part of the render
  70870. * tree, but nested ICU's have no TNode, because we don't know ahead of time if the nested ICU is
  70871. * expressed (parent ICU may have selected a case which does not contain it.)
  70872. *
  70873. * @param tView Current `TView`.
  70874. * @param index Index where the value should be stored at in `Tview.data`
  70875. * @param tIcu The TIcu to store.
  70876. */
  70877. function setTIcu(tView, index, tIcu) {
  70878. const tNode = tView.data[index];
  70879. ngDevMode && assertEqual(tNode === null || tNode.hasOwnProperty('tViews'), true, 'We expect to get \'null\'|\'TIcuContainer\'');
  70880. if (tNode === null) {
  70881. tView.data[index] = tIcu;
  70882. } else {
  70883. ngDevMode && assertTNodeType(tNode, 32
  70884. /* TNodeType.Icu */
  70885. );
  70886. tNode.value = tIcu;
  70887. }
  70888. }
  70889. /**
  70890. * Set `TNode.insertBeforeIndex` taking the `Array` into account.
  70891. *
  70892. * See `TNode.insertBeforeIndex`
  70893. */
  70894. function setTNodeInsertBeforeIndex(tNode, index) {
  70895. ngDevMode && assertTNode(tNode);
  70896. let insertBeforeIndex = tNode.insertBeforeIndex;
  70897. if (insertBeforeIndex === null) {
  70898. setI18nHandling(getInsertInFrontOfRNodeWithI18n, processI18nInsertBefore);
  70899. insertBeforeIndex = tNode.insertBeforeIndex = [null
  70900. /* may be updated to number later */
  70901. , index];
  70902. } else {
  70903. assertEqual(Array.isArray(insertBeforeIndex), true, 'Expecting array here');
  70904. insertBeforeIndex.push(index);
  70905. }
  70906. }
  70907. /**
  70908. * Create `TNode.type=TNodeType.Placeholder` node.
  70909. *
  70910. * See `TNodeType.Placeholder` for more information.
  70911. */
  70912. function createTNodePlaceholder(tView, previousTNodes, index) {
  70913. const tNode = createTNodeAtIndex(tView, index, 64
  70914. /* TNodeType.Placeholder */
  70915. , null, null);
  70916. addTNodeAndUpdateInsertBeforeIndex(previousTNodes, tNode);
  70917. return tNode;
  70918. }
  70919. /**
  70920. * Returns current ICU case.
  70921. *
  70922. * ICU cases are stored as index into the `TIcu.cases`.
  70923. * At times it is necessary to communicate that the ICU case just switched and that next ICU update
  70924. * should update all bindings regardless of the mask. In such a case the we store negative numbers
  70925. * for cases which have just been switched. This function removes the negative flag.
  70926. */
  70927. function getCurrentICUCaseIndex(tIcu, lView) {
  70928. const currentCase = lView[tIcu.currentCaseLViewIndex];
  70929. return currentCase === null ? currentCase : currentCase < 0 ? ~currentCase : currentCase;
  70930. }
  70931. function getParentFromIcuCreateOpCode(mergedCode) {
  70932. return mergedCode >>> 17
  70933. /* IcuCreateOpCode.SHIFT_PARENT */
  70934. ;
  70935. }
  70936. function getRefFromIcuCreateOpCode(mergedCode) {
  70937. return (mergedCode & 131070
  70938. /* IcuCreateOpCode.MASK_REF */
  70939. ) >>> 1
  70940. /* IcuCreateOpCode.SHIFT_REF */
  70941. ;
  70942. }
  70943. function getInstructionFromIcuCreateOpCode(mergedCode) {
  70944. return mergedCode & 1
  70945. /* IcuCreateOpCode.MASK_INSTRUCTION */
  70946. ;
  70947. }
  70948. function icuCreateOpCode(opCode, parentIdx, refIdx) {
  70949. ngDevMode && assertGreaterThanOrEqual(parentIdx, 0, 'Missing parent index');
  70950. ngDevMode && assertGreaterThan(refIdx, 0, 'Missing ref index');
  70951. return opCode | parentIdx << 17
  70952. /* IcuCreateOpCode.SHIFT_PARENT */
  70953. | refIdx << 1
  70954. /* IcuCreateOpCode.SHIFT_REF */
  70955. ;
  70956. }
  70957. /**
  70958. * @license
  70959. * Copyright Google LLC All Rights Reserved.
  70960. *
  70961. * Use of this source code is governed by an MIT-style license that can be
  70962. * found in the LICENSE file at https://angular.io/license
  70963. */
  70964. /**
  70965. * Keep track of which input bindings in `ɵɵi18nExp` have changed.
  70966. *
  70967. * This is used to efficiently update expressions in i18n only when the corresponding input has
  70968. * changed.
  70969. *
  70970. * 1) Each bit represents which of the `ɵɵi18nExp` has changed.
  70971. * 2) There are 32 bits allowed in JS.
  70972. * 3) Bit 32 is special as it is shared for all changes past 32. (In other words if you have more
  70973. * than 32 `ɵɵi18nExp` then all changes past 32nd `ɵɵi18nExp` will be mapped to same bit. This means
  70974. * that we may end up changing more than we need to. But i18n expressions with 32 bindings is rare
  70975. * so in practice it should not be an issue.)
  70976. */
  70977. let changeMask = 0b0;
  70978. /**
  70979. * Keeps track of which bit needs to be updated in `changeMask`
  70980. *
  70981. * This value gets incremented on every call to `ɵɵi18nExp`
  70982. */
  70983. let changeMaskCounter = 0;
  70984. /**
  70985. * Keep track of which input bindings in `ɵɵi18nExp` have changed.
  70986. *
  70987. * `setMaskBit` gets invoked by each call to `ɵɵi18nExp`.
  70988. *
  70989. * @param hasChange did `ɵɵi18nExp` detect a change.
  70990. */
  70991. function setMaskBit(hasChange) {
  70992. if (hasChange) {
  70993. changeMask = changeMask | 1 << Math.min(changeMaskCounter, 31);
  70994. }
  70995. changeMaskCounter++;
  70996. }
  70997. function applyI18n(tView, lView, index) {
  70998. if (changeMaskCounter > 0) {
  70999. ngDevMode && assertDefined(tView, `tView should be defined`);
  71000. const tI18n = tView.data[index]; // When `index` points to an `ɵɵi18nAttributes` then we have an array otherwise `TI18n`
  71001. const updateOpCodes = Array.isArray(tI18n) ? tI18n : tI18n.update;
  71002. const bindingsStartIndex = getBindingIndex() - changeMaskCounter - 1;
  71003. applyUpdateOpCodes(tView, lView, updateOpCodes, bindingsStartIndex, changeMask);
  71004. } // Reset changeMask & maskBit to default for the next update cycle
  71005. changeMask = 0b0;
  71006. changeMaskCounter = 0;
  71007. }
  71008. /**
  71009. * Apply `I18nCreateOpCodes` op-codes as stored in `TI18n.create`.
  71010. *
  71011. * Creates text (and comment) nodes which are internationalized.
  71012. *
  71013. * @param lView Current lView
  71014. * @param createOpCodes Set of op-codes to apply
  71015. * @param parentRNode Parent node (so that direct children can be added eagerly) or `null` if it is
  71016. * a root node.
  71017. * @param insertInFrontOf DOM node that should be used as an anchor.
  71018. */
  71019. function applyCreateOpCodes(lView, createOpCodes, parentRNode, insertInFrontOf) {
  71020. const renderer = lView[RENDERER];
  71021. for (let i = 0; i < createOpCodes.length; i++) {
  71022. const opCode = createOpCodes[i++];
  71023. const text = createOpCodes[i];
  71024. const isComment = (opCode & I18nCreateOpCode.COMMENT) === I18nCreateOpCode.COMMENT;
  71025. const appendNow = (opCode & I18nCreateOpCode.APPEND_EAGERLY) === I18nCreateOpCode.APPEND_EAGERLY;
  71026. const index = opCode >>> I18nCreateOpCode.SHIFT;
  71027. let rNode = lView[index];
  71028. if (rNode === null) {
  71029. // We only create new DOM nodes if they don't already exist: If ICU switches case back to a
  71030. // case which was already instantiated, no need to create new DOM nodes.
  71031. rNode = lView[index] = isComment ? renderer.createComment(text) : createTextNode(renderer, text);
  71032. }
  71033. if (appendNow && parentRNode !== null) {
  71034. nativeInsertBefore(renderer, parentRNode, rNode, insertInFrontOf, false);
  71035. }
  71036. }
  71037. }
  71038. /**
  71039. * Apply `I18nMutateOpCodes` OpCodes.
  71040. *
  71041. * @param tView Current `TView`
  71042. * @param mutableOpCodes Mutable OpCodes to process
  71043. * @param lView Current `LView`
  71044. * @param anchorRNode place where the i18n node should be inserted.
  71045. */
  71046. function applyMutableOpCodes(tView, mutableOpCodes, lView, anchorRNode) {
  71047. ngDevMode && assertDomNode(anchorRNode);
  71048. const renderer = lView[RENDERER]; // `rootIdx` represents the node into which all inserts happen.
  71049. let rootIdx = null; // `rootRNode` represents the real node into which we insert. This can be different from
  71050. // `lView[rootIdx]` if we have projection.
  71051. // - null we don't have a parent (as can be the case in when we are inserting into a root of
  71052. // LView which has no parent.)
  71053. // - `RElement` The element representing the root after taking projection into account.
  71054. let rootRNode;
  71055. for (let i = 0; i < mutableOpCodes.length; i++) {
  71056. const opCode = mutableOpCodes[i];
  71057. if (typeof opCode == 'string') {
  71058. const textNodeIndex = mutableOpCodes[++i];
  71059. if (lView[textNodeIndex] === null) {
  71060. ngDevMode && ngDevMode.rendererCreateTextNode++;
  71061. ngDevMode && assertIndexInRange(lView, textNodeIndex);
  71062. lView[textNodeIndex] = createTextNode(renderer, opCode);
  71063. }
  71064. } else if (typeof opCode == 'number') {
  71065. switch (opCode & 1
  71066. /* IcuCreateOpCode.MASK_INSTRUCTION */
  71067. ) {
  71068. case 0
  71069. /* IcuCreateOpCode.AppendChild */
  71070. :
  71071. const parentIdx = getParentFromIcuCreateOpCode(opCode);
  71072. if (rootIdx === null) {
  71073. // The first operation should save the `rootIdx` because the first operation
  71074. // must insert into the root. (Only subsequent operations can insert into a dynamic
  71075. // parent)
  71076. rootIdx = parentIdx;
  71077. rootRNode = nativeParentNode(renderer, anchorRNode);
  71078. }
  71079. let insertInFrontOf;
  71080. let parentRNode;
  71081. if (parentIdx === rootIdx) {
  71082. insertInFrontOf = anchorRNode;
  71083. parentRNode = rootRNode;
  71084. } else {
  71085. insertInFrontOf = null;
  71086. parentRNode = unwrapRNode(lView[parentIdx]);
  71087. } // FIXME(misko): Refactor with `processI18nText`
  71088. if (parentRNode !== null) {
  71089. // This can happen if the `LView` we are adding to is not attached to a parent `LView`.
  71090. // In such a case there is no "root" we can attach to. This is fine, as we still need to
  71091. // create the elements. When the `LView` gets later added to a parent these "root" nodes
  71092. // get picked up and added.
  71093. ngDevMode && assertDomNode(parentRNode);
  71094. const refIdx = getRefFromIcuCreateOpCode(opCode);
  71095. ngDevMode && assertGreaterThan(refIdx, HEADER_OFFSET, 'Missing ref'); // `unwrapRNode` is not needed here as all of these point to RNodes as part of the i18n
  71096. // which can't have components.
  71097. const child = lView[refIdx];
  71098. ngDevMode && assertDomNode(child);
  71099. nativeInsertBefore(renderer, parentRNode, child, insertInFrontOf, false);
  71100. const tIcu = getTIcu(tView, refIdx);
  71101. if (tIcu !== null && typeof tIcu === 'object') {
  71102. // If we just added a comment node which has ICU then that ICU may have already been
  71103. // rendered and therefore we need to re-add it here.
  71104. ngDevMode && assertTIcu(tIcu);
  71105. const caseIndex = getCurrentICUCaseIndex(tIcu, lView);
  71106. if (caseIndex !== null) {
  71107. applyMutableOpCodes(tView, tIcu.create[caseIndex], lView, lView[tIcu.anchorIdx]);
  71108. }
  71109. }
  71110. }
  71111. break;
  71112. case 1
  71113. /* IcuCreateOpCode.Attr */
  71114. :
  71115. const elementNodeIndex = opCode >>> 1
  71116. /* IcuCreateOpCode.SHIFT_REF */
  71117. ;
  71118. const attrName = mutableOpCodes[++i];
  71119. const attrValue = mutableOpCodes[++i]; // This code is used for ICU expressions only, since we don't support
  71120. // directives/components in ICUs, we don't need to worry about inputs here
  71121. setElementAttribute(renderer, getNativeByIndex(elementNodeIndex, lView), null, null, attrName, attrValue, null);
  71122. break;
  71123. default:
  71124. if (ngDevMode) {
  71125. throw new RuntimeError(700
  71126. /* RuntimeErrorCode.INVALID_I18N_STRUCTURE */
  71127. , `Unable to determine the type of mutate operation for "${opCode}"`);
  71128. }
  71129. }
  71130. } else {
  71131. switch (opCode) {
  71132. case ICU_MARKER:
  71133. const commentValue = mutableOpCodes[++i];
  71134. const commentNodeIndex = mutableOpCodes[++i];
  71135. if (lView[commentNodeIndex] === null) {
  71136. ngDevMode && assertEqual(typeof commentValue, 'string', `Expected "${commentValue}" to be a comment node value`);
  71137. ngDevMode && ngDevMode.rendererCreateComment++;
  71138. ngDevMode && assertIndexInExpandoRange(lView, commentNodeIndex);
  71139. const commentRNode = lView[commentNodeIndex] = createCommentNode(renderer, commentValue); // FIXME(misko): Attaching patch data is only needed for the root (Also add tests)
  71140. attachPatchData(commentRNode, lView);
  71141. }
  71142. break;
  71143. case ELEMENT_MARKER:
  71144. const tagName = mutableOpCodes[++i];
  71145. const elementNodeIndex = mutableOpCodes[++i];
  71146. if (lView[elementNodeIndex] === null) {
  71147. ngDevMode && assertEqual(typeof tagName, 'string', `Expected "${tagName}" to be an element node tag name`);
  71148. ngDevMode && ngDevMode.rendererCreateElement++;
  71149. ngDevMode && assertIndexInExpandoRange(lView, elementNodeIndex);
  71150. const elementRNode = lView[elementNodeIndex] = createElementNode(renderer, tagName, null); // FIXME(misko): Attaching patch data is only needed for the root (Also add tests)
  71151. attachPatchData(elementRNode, lView);
  71152. }
  71153. break;
  71154. default:
  71155. ngDevMode && throwError(`Unable to determine the type of mutate operation for "${opCode}"`);
  71156. }
  71157. }
  71158. }
  71159. }
  71160. /**
  71161. * Apply `I18nUpdateOpCodes` OpCodes
  71162. *
  71163. * @param tView Current `TView`
  71164. * @param lView Current `LView`
  71165. * @param updateOpCodes OpCodes to process
  71166. * @param bindingsStartIndex Location of the first `ɵɵi18nApply`
  71167. * @param changeMask Each bit corresponds to a `ɵɵi18nExp` (Counting backwards from
  71168. * `bindingsStartIndex`)
  71169. */
  71170. function applyUpdateOpCodes(tView, lView, updateOpCodes, bindingsStartIndex, changeMask) {
  71171. for (let i = 0; i < updateOpCodes.length; i++) {
  71172. // bit code to check if we should apply the next update
  71173. const checkBit = updateOpCodes[i]; // Number of opCodes to skip until next set of update codes
  71174. const skipCodes = updateOpCodes[++i];
  71175. if (checkBit & changeMask) {
  71176. // The value has been updated since last checked
  71177. let value = '';
  71178. for (let j = i + 1; j <= i + skipCodes; j++) {
  71179. const opCode = updateOpCodes[j];
  71180. if (typeof opCode == 'string') {
  71181. value += opCode;
  71182. } else if (typeof opCode == 'number') {
  71183. if (opCode < 0) {
  71184. // Negative opCode represent `i18nExp` values offset.
  71185. value += renderStringify(lView[bindingsStartIndex - opCode]);
  71186. } else {
  71187. const nodeIndex = opCode >>> 2
  71188. /* I18nUpdateOpCode.SHIFT_REF */
  71189. ;
  71190. switch (opCode & 3
  71191. /* I18nUpdateOpCode.MASK_OPCODE */
  71192. ) {
  71193. case 1
  71194. /* I18nUpdateOpCode.Attr */
  71195. :
  71196. const propName = updateOpCodes[++j];
  71197. const sanitizeFn = updateOpCodes[++j];
  71198. const tNodeOrTagName = tView.data[nodeIndex];
  71199. ngDevMode && assertDefined(tNodeOrTagName, 'Experting TNode or string');
  71200. if (typeof tNodeOrTagName === 'string') {
  71201. // IF we don't have a `TNode`, then we are an element in ICU (as ICU content does
  71202. // not have TNode), in which case we know that there are no directives, and hence
  71203. // we use attribute setting.
  71204. setElementAttribute(lView[RENDERER], lView[nodeIndex], null, tNodeOrTagName, propName, value, sanitizeFn);
  71205. } else {
  71206. elementPropertyInternal(tView, tNodeOrTagName, lView, propName, value, lView[RENDERER], sanitizeFn, false);
  71207. }
  71208. break;
  71209. case 0
  71210. /* I18nUpdateOpCode.Text */
  71211. :
  71212. const rText = lView[nodeIndex];
  71213. rText !== null && updateTextNode(lView[RENDERER], rText, value);
  71214. break;
  71215. case 2
  71216. /* I18nUpdateOpCode.IcuSwitch */
  71217. :
  71218. applyIcuSwitchCase(tView, getTIcu(tView, nodeIndex), lView, value);
  71219. break;
  71220. case 3
  71221. /* I18nUpdateOpCode.IcuUpdate */
  71222. :
  71223. applyIcuUpdateCase(tView, getTIcu(tView, nodeIndex), bindingsStartIndex, lView);
  71224. break;
  71225. }
  71226. }
  71227. }
  71228. }
  71229. } else {
  71230. const opCode = updateOpCodes[i + 1];
  71231. if (opCode > 0 && (opCode & 3
  71232. /* I18nUpdateOpCode.MASK_OPCODE */
  71233. ) === 3
  71234. /* I18nUpdateOpCode.IcuUpdate */
  71235. ) {
  71236. // Special case for the `icuUpdateCase`. It could be that the mask did not match, but
  71237. // we still need to execute `icuUpdateCase` because the case has changed recently due to
  71238. // previous `icuSwitchCase` instruction. (`icuSwitchCase` and `icuUpdateCase` always come in
  71239. // pairs.)
  71240. const nodeIndex = opCode >>> 2
  71241. /* I18nUpdateOpCode.SHIFT_REF */
  71242. ;
  71243. const tIcu = getTIcu(tView, nodeIndex);
  71244. const currentIndex = lView[tIcu.currentCaseLViewIndex];
  71245. if (currentIndex < 0) {
  71246. applyIcuUpdateCase(tView, tIcu, bindingsStartIndex, lView);
  71247. }
  71248. }
  71249. }
  71250. i += skipCodes;
  71251. }
  71252. }
  71253. /**
  71254. * Apply OpCodes associated with updating an existing ICU.
  71255. *
  71256. * @param tView Current `TView`
  71257. * @param tIcu Current `TIcu`
  71258. * @param bindingsStartIndex Location of the first `ɵɵi18nApply`
  71259. * @param lView Current `LView`
  71260. */
  71261. function applyIcuUpdateCase(tView, tIcu, bindingsStartIndex, lView) {
  71262. ngDevMode && assertIndexInRange(lView, tIcu.currentCaseLViewIndex);
  71263. let activeCaseIndex = lView[tIcu.currentCaseLViewIndex];
  71264. if (activeCaseIndex !== null) {
  71265. let mask = changeMask;
  71266. if (activeCaseIndex < 0) {
  71267. // Clear the flag.
  71268. // Negative number means that the ICU was freshly created and we need to force the update.
  71269. activeCaseIndex = lView[tIcu.currentCaseLViewIndex] = ~activeCaseIndex; // -1 is same as all bits on, which simulates creation since it marks all bits dirty
  71270. mask = -1;
  71271. }
  71272. applyUpdateOpCodes(tView, lView, tIcu.update[activeCaseIndex], bindingsStartIndex, mask);
  71273. }
  71274. }
  71275. /**
  71276. * Apply OpCodes associated with switching a case on ICU.
  71277. *
  71278. * This involves tearing down existing case and than building up a new case.
  71279. *
  71280. * @param tView Current `TView`
  71281. * @param tIcu Current `TIcu`
  71282. * @param lView Current `LView`
  71283. * @param value Value of the case to update to.
  71284. */
  71285. function applyIcuSwitchCase(tView, tIcu, lView, value) {
  71286. // Rebuild a new case for this ICU
  71287. const caseIndex = getCaseIndex(tIcu, value);
  71288. let activeCaseIndex = getCurrentICUCaseIndex(tIcu, lView);
  71289. if (activeCaseIndex !== caseIndex) {
  71290. applyIcuSwitchCaseRemove(tView, tIcu, lView);
  71291. lView[tIcu.currentCaseLViewIndex] = caseIndex === null ? null : ~caseIndex;
  71292. if (caseIndex !== null) {
  71293. // Add the nodes for the new case
  71294. const anchorRNode = lView[tIcu.anchorIdx];
  71295. if (anchorRNode) {
  71296. ngDevMode && assertDomNode(anchorRNode);
  71297. applyMutableOpCodes(tView, tIcu.create[caseIndex], lView, anchorRNode);
  71298. }
  71299. }
  71300. }
  71301. }
  71302. /**
  71303. * Apply OpCodes associated with tearing ICU case.
  71304. *
  71305. * This involves tearing down existing case and than building up a new case.
  71306. *
  71307. * @param tView Current `TView`
  71308. * @param tIcu Current `TIcu`
  71309. * @param lView Current `LView`
  71310. */
  71311. function applyIcuSwitchCaseRemove(tView, tIcu, lView) {
  71312. let activeCaseIndex = getCurrentICUCaseIndex(tIcu, lView);
  71313. if (activeCaseIndex !== null) {
  71314. const removeCodes = tIcu.remove[activeCaseIndex];
  71315. for (let i = 0; i < removeCodes.length; i++) {
  71316. const nodeOrIcuIndex = removeCodes[i];
  71317. if (nodeOrIcuIndex > 0) {
  71318. // Positive numbers are `RNode`s.
  71319. const rNode = getNativeByIndex(nodeOrIcuIndex, lView);
  71320. rNode !== null && nativeRemoveNode(lView[RENDERER], rNode);
  71321. } else {
  71322. // Negative numbers are ICUs
  71323. applyIcuSwitchCaseRemove(tView, getTIcu(tView, ~nodeOrIcuIndex), lView);
  71324. }
  71325. }
  71326. }
  71327. }
  71328. /**
  71329. * Returns the index of the current case of an ICU expression depending on the main binding value
  71330. *
  71331. * @param icuExpression
  71332. * @param bindingValue The value of the main binding used by this ICU expression
  71333. */
  71334. function getCaseIndex(icuExpression, bindingValue) {
  71335. let index = icuExpression.cases.indexOf(bindingValue);
  71336. if (index === -1) {
  71337. switch (icuExpression.type) {
  71338. case 1
  71339. /* IcuType.plural */
  71340. :
  71341. {
  71342. const resolvedCase = getPluralCase(bindingValue, getLocaleId());
  71343. index = icuExpression.cases.indexOf(resolvedCase);
  71344. if (index === -1 && resolvedCase !== 'other') {
  71345. index = icuExpression.cases.indexOf('other');
  71346. }
  71347. break;
  71348. }
  71349. case 0
  71350. /* IcuType.select */
  71351. :
  71352. {
  71353. index = icuExpression.cases.indexOf('other');
  71354. break;
  71355. }
  71356. }
  71357. }
  71358. return index === -1 ? null : index;
  71359. }
  71360. /**
  71361. * @license
  71362. * Copyright Google LLC All Rights Reserved.
  71363. *
  71364. * Use of this source code is governed by an MIT-style license that can be
  71365. * found in the LICENSE file at https://angular.io/license
  71366. */
  71367. function loadIcuContainerVisitor() {
  71368. const _stack = [];
  71369. let _index = -1;
  71370. let _lView;
  71371. let _removes;
  71372. /**
  71373. * Retrieves a set of root nodes from `TIcu.remove`. Used by `TNodeType.ICUContainer`
  71374. * to determine which root belong to the ICU.
  71375. *
  71376. * Example of usage.
  71377. * ```
  71378. * const nextRNode = icuContainerIteratorStart(tIcuContainerNode, lView);
  71379. * let rNode: RNode|null;
  71380. * while(rNode = nextRNode()) {
  71381. * console.log(rNode);
  71382. * }
  71383. * ```
  71384. *
  71385. * @param tIcuContainerNode Current `TIcuContainerNode`
  71386. * @param lView `LView` where the `RNode`s should be looked up.
  71387. */
  71388. function icuContainerIteratorStart(tIcuContainerNode, lView) {
  71389. _lView = lView;
  71390. while (_stack.length) _stack.pop();
  71391. ngDevMode && assertTNodeForLView(tIcuContainerNode, lView);
  71392. enterIcu(tIcuContainerNode.value, lView);
  71393. return icuContainerIteratorNext;
  71394. }
  71395. function enterIcu(tIcu, lView) {
  71396. _index = 0;
  71397. const currentCase = getCurrentICUCaseIndex(tIcu, lView);
  71398. if (currentCase !== null) {
  71399. ngDevMode && assertNumberInRange(currentCase, 0, tIcu.cases.length - 1);
  71400. _removes = tIcu.remove[currentCase];
  71401. } else {
  71402. _removes = EMPTY_ARRAY;
  71403. }
  71404. }
  71405. function icuContainerIteratorNext() {
  71406. if (_index < _removes.length) {
  71407. const removeOpCode = _removes[_index++];
  71408. ngDevMode && assertNumber(removeOpCode, 'Expecting OpCode number');
  71409. if (removeOpCode > 0) {
  71410. const rNode = _lView[removeOpCode];
  71411. ngDevMode && assertDomNode(rNode);
  71412. return rNode;
  71413. } else {
  71414. _stack.push(_index, _removes); // ICUs are represented by negative indices
  71415. const tIcuIndex = ~removeOpCode;
  71416. const tIcu = _lView[TVIEW].data[tIcuIndex];
  71417. ngDevMode && assertTIcu(tIcu);
  71418. enterIcu(tIcu, _lView);
  71419. return icuContainerIteratorNext();
  71420. }
  71421. } else {
  71422. if (_stack.length === 0) {
  71423. return null;
  71424. } else {
  71425. _removes = _stack.pop();
  71426. _index = _stack.pop();
  71427. return icuContainerIteratorNext();
  71428. }
  71429. }
  71430. }
  71431. return icuContainerIteratorStart;
  71432. }
  71433. /**
  71434. * @license
  71435. * Copyright Google LLC All Rights Reserved.
  71436. *
  71437. * Use of this source code is governed by an MIT-style license that can be
  71438. * found in the LICENSE file at https://angular.io/license
  71439. */
  71440. /**
  71441. * Converts `I18nCreateOpCodes` array into a human readable format.
  71442. *
  71443. * This function is attached to the `I18nCreateOpCodes.debug` property if `ngDevMode` is enabled.
  71444. * This function provides a human readable view of the opcodes. This is useful when debugging the
  71445. * application as well as writing more readable tests.
  71446. *
  71447. * @param this `I18nCreateOpCodes` if attached as a method.
  71448. * @param opcodes `I18nCreateOpCodes` if invoked as a function.
  71449. */
  71450. function i18nCreateOpCodesToString(opcodes) {
  71451. const createOpCodes = opcodes || (Array.isArray(this) ? this : []);
  71452. let lines = [];
  71453. for (let i = 0; i < createOpCodes.length; i++) {
  71454. const opCode = createOpCodes[i++];
  71455. const text = createOpCodes[i];
  71456. const isComment = (opCode & I18nCreateOpCode.COMMENT) === I18nCreateOpCode.COMMENT;
  71457. const appendNow = (opCode & I18nCreateOpCode.APPEND_EAGERLY) === I18nCreateOpCode.APPEND_EAGERLY;
  71458. const index = opCode >>> I18nCreateOpCode.SHIFT;
  71459. lines.push(`lView[${index}] = document.${isComment ? 'createComment' : 'createText'}(${JSON.stringify(text)});`);
  71460. if (appendNow) {
  71461. lines.push(`parent.appendChild(lView[${index}]);`);
  71462. }
  71463. }
  71464. return lines;
  71465. }
  71466. /**
  71467. * Converts `I18nUpdateOpCodes` array into a human readable format.
  71468. *
  71469. * This function is attached to the `I18nUpdateOpCodes.debug` property if `ngDevMode` is enabled.
  71470. * This function provides a human readable view of the opcodes. This is useful when debugging the
  71471. * application as well as writing more readable tests.
  71472. *
  71473. * @param this `I18nUpdateOpCodes` if attached as a method.
  71474. * @param opcodes `I18nUpdateOpCodes` if invoked as a function.
  71475. */
  71476. function i18nUpdateOpCodesToString(opcodes) {
  71477. const parser = new OpCodeParser(opcodes || (Array.isArray(this) ? this : []));
  71478. let lines = [];
  71479. function consumeOpCode(value) {
  71480. const ref = value >>> 2
  71481. /* I18nUpdateOpCode.SHIFT_REF */
  71482. ;
  71483. const opCode = value & 3
  71484. /* I18nUpdateOpCode.MASK_OPCODE */
  71485. ;
  71486. switch (opCode) {
  71487. case 0
  71488. /* I18nUpdateOpCode.Text */
  71489. :
  71490. return `(lView[${ref}] as Text).textContent = $$$`;
  71491. case 1
  71492. /* I18nUpdateOpCode.Attr */
  71493. :
  71494. const attrName = parser.consumeString();
  71495. const sanitizationFn = parser.consumeFunction();
  71496. const value = sanitizationFn ? `(${sanitizationFn})($$$)` : '$$$';
  71497. return `(lView[${ref}] as Element).setAttribute('${attrName}', ${value})`;
  71498. case 2
  71499. /* I18nUpdateOpCode.IcuSwitch */
  71500. :
  71501. return `icuSwitchCase(${ref}, $$$)`;
  71502. case 3
  71503. /* I18nUpdateOpCode.IcuUpdate */
  71504. :
  71505. return `icuUpdateCase(${ref})`;
  71506. }
  71507. throw new Error('unexpected OpCode');
  71508. }
  71509. while (parser.hasMore()) {
  71510. let mask = parser.consumeNumber();
  71511. let size = parser.consumeNumber();
  71512. const end = parser.i + size;
  71513. const statements = [];
  71514. let statement = '';
  71515. while (parser.i < end) {
  71516. let value = parser.consumeNumberOrString();
  71517. if (typeof value === 'string') {
  71518. statement += value;
  71519. } else if (value < 0) {
  71520. // Negative numbers are ref indexes
  71521. // Here `i` refers to current binding index. It is to signify that the value is relative,
  71522. // rather than absolute.
  71523. statement += '${lView[i' + value + ']}';
  71524. } else {
  71525. // Positive numbers are operations.
  71526. const opCodeText = consumeOpCode(value);
  71527. statements.push(opCodeText.replace('$$$', '`' + statement + '`') + ';');
  71528. statement = '';
  71529. }
  71530. }
  71531. lines.push(`if (mask & 0b${mask.toString(2)}) { ${statements.join(' ')} }`);
  71532. }
  71533. return lines;
  71534. }
  71535. /**
  71536. * Converts `I18nCreateOpCodes` array into a human readable format.
  71537. *
  71538. * This function is attached to the `I18nCreateOpCodes.debug` if `ngDevMode` is enabled. This
  71539. * function provides a human readable view of the opcodes. This is useful when debugging the
  71540. * application as well as writing more readable tests.
  71541. *
  71542. * @param this `I18nCreateOpCodes` if attached as a method.
  71543. * @param opcodes `I18nCreateOpCodes` if invoked as a function.
  71544. */
  71545. function icuCreateOpCodesToString(opcodes) {
  71546. const parser = new OpCodeParser(opcodes || (Array.isArray(this) ? this : []));
  71547. let lines = [];
  71548. function consumeOpCode(opCode) {
  71549. const parent = getParentFromIcuCreateOpCode(opCode);
  71550. const ref = getRefFromIcuCreateOpCode(opCode);
  71551. switch (getInstructionFromIcuCreateOpCode(opCode)) {
  71552. case 0
  71553. /* IcuCreateOpCode.AppendChild */
  71554. :
  71555. return `(lView[${parent}] as Element).appendChild(lView[${lastRef}])`;
  71556. case 1
  71557. /* IcuCreateOpCode.Attr */
  71558. :
  71559. return `(lView[${ref}] as Element).setAttribute("${parser.consumeString()}", "${parser.consumeString()}")`;
  71560. }
  71561. throw new Error('Unexpected OpCode: ' + getInstructionFromIcuCreateOpCode(opCode));
  71562. }
  71563. let lastRef = -1;
  71564. while (parser.hasMore()) {
  71565. let value = parser.consumeNumberStringOrMarker();
  71566. if (value === ICU_MARKER) {
  71567. const text = parser.consumeString();
  71568. lastRef = parser.consumeNumber();
  71569. lines.push(`lView[${lastRef}] = document.createComment("${text}")`);
  71570. } else if (value === ELEMENT_MARKER) {
  71571. const text = parser.consumeString();
  71572. lastRef = parser.consumeNumber();
  71573. lines.push(`lView[${lastRef}] = document.createElement("${text}")`);
  71574. } else if (typeof value === 'string') {
  71575. lastRef = parser.consumeNumber();
  71576. lines.push(`lView[${lastRef}] = document.createTextNode("${value}")`);
  71577. } else if (typeof value === 'number') {
  71578. const line = consumeOpCode(value);
  71579. line && lines.push(line);
  71580. } else {
  71581. throw new Error('Unexpected value');
  71582. }
  71583. }
  71584. return lines;
  71585. }
  71586. /**
  71587. * Converts `I18nRemoveOpCodes` array into a human readable format.
  71588. *
  71589. * This function is attached to the `I18nRemoveOpCodes.debug` if `ngDevMode` is enabled. This
  71590. * function provides a human readable view of the opcodes. This is useful when debugging the
  71591. * application as well as writing more readable tests.
  71592. *
  71593. * @param this `I18nRemoveOpCodes` if attached as a method.
  71594. * @param opcodes `I18nRemoveOpCodes` if invoked as a function.
  71595. */
  71596. function i18nRemoveOpCodesToString(opcodes) {
  71597. const removeCodes = opcodes || (Array.isArray(this) ? this : []);
  71598. let lines = [];
  71599. for (let i = 0; i < removeCodes.length; i++) {
  71600. const nodeOrIcuIndex = removeCodes[i];
  71601. if (nodeOrIcuIndex > 0) {
  71602. // Positive numbers are `RNode`s.
  71603. lines.push(`remove(lView[${nodeOrIcuIndex}])`);
  71604. } else {
  71605. // Negative numbers are ICUs
  71606. lines.push(`removeNestedICU(${~nodeOrIcuIndex})`);
  71607. }
  71608. }
  71609. return lines;
  71610. }
  71611. class OpCodeParser {
  71612. constructor(codes) {
  71613. this.i = 0;
  71614. this.codes = codes;
  71615. }
  71616. hasMore() {
  71617. return this.i < this.codes.length;
  71618. }
  71619. consumeNumber() {
  71620. let value = this.codes[this.i++];
  71621. assertNumber(value, 'expecting number in OpCode');
  71622. return value;
  71623. }
  71624. consumeString() {
  71625. let value = this.codes[this.i++];
  71626. assertString(value, 'expecting string in OpCode');
  71627. return value;
  71628. }
  71629. consumeFunction() {
  71630. let value = this.codes[this.i++];
  71631. if (value === null || typeof value === 'function') {
  71632. return value;
  71633. }
  71634. throw new Error('expecting function in OpCode');
  71635. }
  71636. consumeNumberOrString() {
  71637. let value = this.codes[this.i++];
  71638. if (typeof value === 'string') {
  71639. return value;
  71640. }
  71641. assertNumber(value, 'expecting number or string in OpCode');
  71642. return value;
  71643. }
  71644. consumeNumberStringOrMarker() {
  71645. let value = this.codes[this.i++];
  71646. if (typeof value === 'string' || typeof value === 'number' || value == ICU_MARKER || value == ELEMENT_MARKER) {
  71647. return value;
  71648. }
  71649. assertNumber(value, 'expecting number, string, ICU_MARKER or ELEMENT_MARKER in OpCode');
  71650. return value;
  71651. }
  71652. }
  71653. /**
  71654. * @license
  71655. * Copyright Google LLC All Rights Reserved.
  71656. *
  71657. * Use of this source code is governed by an MIT-style license that can be
  71658. * found in the LICENSE file at https://angular.io/license
  71659. */
  71660. const BINDING_REGEXP = /�(\d+):?\d*�/gi;
  71661. const ICU_REGEXP = /({\s*�\d+:?\d*�\s*,\s*\S{6}\s*,[\s\S]*})/gi;
  71662. const NESTED_ICU = /�(\d+)�/;
  71663. const ICU_BLOCK_REGEXP = /^\s*(�\d+:?\d*�)\s*,\s*(select|plural)\s*,/;
  71664. const MARKER = `�`;
  71665. const SUBTEMPLATE_REGEXP = /�\/?\*(\d+:\d+)�/gi;
  71666. const PH_REGEXP = /�(\/?[#*]\d+):?\d*�/gi;
  71667. /**
  71668. * Angular Dart introduced &ngsp; as a placeholder for non-removable space, see:
  71669. * https://github.com/dart-lang/angular/blob/0bb611387d29d65b5af7f9d2515ab571fd3fbee4/_tests/test/compiler/preserve_whitespace_test.dart#L25-L32
  71670. * In Angular Dart &ngsp; is converted to the 0xE500 PUA (Private Use Areas) unicode character
  71671. * and later on replaced by a space. We are re-implementing the same idea here, since translations
  71672. * might contain this special character.
  71673. */
  71674. const NGSP_UNICODE_REGEXP = /\uE500/g;
  71675. function replaceNgsp(value) {
  71676. return value.replace(NGSP_UNICODE_REGEXP, ' ');
  71677. }
  71678. /**
  71679. * Create dynamic nodes from i18n translation block.
  71680. *
  71681. * - Text nodes are created synchronously
  71682. * - TNodes are linked into tree lazily
  71683. *
  71684. * @param tView Current `TView`
  71685. * @parentTNodeIndex index to the parent TNode of this i18n block
  71686. * @param lView Current `LView`
  71687. * @param index Index of `ɵɵi18nStart` instruction.
  71688. * @param message Message to translate.
  71689. * @param subTemplateIndex Index into the sub template of message translation. (ie in case of
  71690. * `ngIf`) (-1 otherwise)
  71691. */
  71692. function i18nStartFirstCreatePass(tView, parentTNodeIndex, lView, index, message, subTemplateIndex) {
  71693. const rootTNode = getCurrentParentTNode();
  71694. const createOpCodes = [];
  71695. const updateOpCodes = [];
  71696. const existingTNodeStack = [[]];
  71697. if (ngDevMode) {
  71698. attachDebugGetter(createOpCodes, i18nCreateOpCodesToString);
  71699. attachDebugGetter(updateOpCodes, i18nUpdateOpCodesToString);
  71700. }
  71701. message = getTranslationForTemplate(message, subTemplateIndex);
  71702. const msgParts = replaceNgsp(message).split(PH_REGEXP);
  71703. for (let i = 0; i < msgParts.length; i++) {
  71704. let value = msgParts[i];
  71705. if ((i & 1) === 0) {
  71706. // Even indexes are text (including bindings & ICU expressions)
  71707. const parts = i18nParseTextIntoPartsAndICU(value);
  71708. for (let j = 0; j < parts.length; j++) {
  71709. let part = parts[j];
  71710. if ((j & 1) === 0) {
  71711. // `j` is odd therefore `part` is string
  71712. const text = part;
  71713. ngDevMode && assertString(text, 'Parsed ICU part should be string');
  71714. if (text !== '') {
  71715. i18nStartFirstCreatePassProcessTextNode(tView, rootTNode, existingTNodeStack[0], createOpCodes, updateOpCodes, lView, text);
  71716. }
  71717. } else {
  71718. // `j` is Even therefor `part` is an `ICUExpression`
  71719. const icuExpression = part; // Verify that ICU expression has the right shape. Translations might contain invalid
  71720. // constructions (while original messages were correct), so ICU parsing at runtime may
  71721. // not succeed (thus `icuExpression` remains a string).
  71722. // Note: we intentionally retain the error here by not using `ngDevMode`, because
  71723. // the value can change based on the locale and users aren't guaranteed to hit
  71724. // an invalid string while they're developing.
  71725. if (typeof icuExpression !== 'object') {
  71726. throw new Error(`Unable to parse ICU expression in "${message}" message.`);
  71727. }
  71728. const icuContainerTNode = createTNodeAndAddOpCode(tView, rootTNode, existingTNodeStack[0], lView, createOpCodes, ngDevMode ? `ICU ${index}:${icuExpression.mainBinding}` : '', true);
  71729. const icuNodeIndex = icuContainerTNode.index;
  71730. ngDevMode && assertGreaterThanOrEqual(icuNodeIndex, HEADER_OFFSET, 'Index must be in absolute LView offset');
  71731. icuStart(tView, lView, updateOpCodes, parentTNodeIndex, icuExpression, icuNodeIndex);
  71732. }
  71733. }
  71734. } else {
  71735. // Odd indexes are placeholders (elements and sub-templates)
  71736. // At this point value is something like: '/#1:2' (originally coming from '�/#1:2�')
  71737. const isClosing = value.charCodeAt(0) === 47
  71738. /* CharCode.SLASH */
  71739. ;
  71740. const type = value.charCodeAt(isClosing ? 1 : 0);
  71741. ngDevMode && assertOneOf(type, 42
  71742. /* CharCode.STAR */
  71743. , 35
  71744. /* CharCode.HASH */
  71745. );
  71746. const index = HEADER_OFFSET + Number.parseInt(value.substring(isClosing ? 2 : 1));
  71747. if (isClosing) {
  71748. existingTNodeStack.shift();
  71749. setCurrentTNode(getCurrentParentTNode(), false);
  71750. } else {
  71751. const tNode = createTNodePlaceholder(tView, existingTNodeStack[0], index);
  71752. existingTNodeStack.unshift([]);
  71753. setCurrentTNode(tNode, true);
  71754. }
  71755. }
  71756. }
  71757. tView.data[index] = {
  71758. create: createOpCodes,
  71759. update: updateOpCodes
  71760. };
  71761. }
  71762. /**
  71763. * Allocate space in i18n Range add create OpCode instruction to create a text or comment node.
  71764. *
  71765. * @param tView Current `TView` needed to allocate space in i18n range.
  71766. * @param rootTNode Root `TNode` of the i18n block. This node determines if the new TNode will be
  71767. * added as part of the `i18nStart` instruction or as part of the `TNode.insertBeforeIndex`.
  71768. * @param existingTNodes internal state for `addTNodeAndUpdateInsertBeforeIndex`.
  71769. * @param lView Current `LView` needed to allocate space in i18n range.
  71770. * @param createOpCodes Array storing `I18nCreateOpCodes` where new opCodes will be added.
  71771. * @param text Text to be added when the `Text` or `Comment` node will be created.
  71772. * @param isICU true if a `Comment` node for ICU (instead of `Text`) node should be created.
  71773. */
  71774. function createTNodeAndAddOpCode(tView, rootTNode, existingTNodes, lView, createOpCodes, text, isICU) {
  71775. const i18nNodeIdx = allocExpando(tView, lView, 1, null);
  71776. let opCode = i18nNodeIdx << I18nCreateOpCode.SHIFT;
  71777. let parentTNode = getCurrentParentTNode();
  71778. if (rootTNode === parentTNode) {
  71779. // FIXME(misko): A null `parentTNode` should represent when we fall of the `LView` boundary.
  71780. // (there is no parent), but in some circumstances (because we are inconsistent about how we set
  71781. // `previousOrParentTNode`) it could point to `rootTNode` So this is a work around.
  71782. parentTNode = null;
  71783. }
  71784. if (parentTNode === null) {
  71785. // If we don't have a parent that means that we can eagerly add nodes.
  71786. // If we have a parent than these nodes can't be added now (as the parent has not been created
  71787. // yet) and instead the `parentTNode` is responsible for adding it. See
  71788. // `TNode.insertBeforeIndex`
  71789. opCode |= I18nCreateOpCode.APPEND_EAGERLY;
  71790. }
  71791. if (isICU) {
  71792. opCode |= I18nCreateOpCode.COMMENT;
  71793. ensureIcuContainerVisitorLoaded(loadIcuContainerVisitor);
  71794. }
  71795. createOpCodes.push(opCode, text === null ? '' : text); // We store `{{?}}` so that when looking at debug `TNodeType.template` we can see where the
  71796. // bindings are.
  71797. const tNode = createTNodeAtIndex(tView, i18nNodeIdx, isICU ? 32
  71798. /* TNodeType.Icu */
  71799. : 1
  71800. /* TNodeType.Text */
  71801. , text === null ? ngDevMode ? '{{?}}' : '' : text, null);
  71802. addTNodeAndUpdateInsertBeforeIndex(existingTNodes, tNode);
  71803. const tNodeIdx = tNode.index;
  71804. setCurrentTNode(tNode, false
  71805. /* Text nodes are self closing */
  71806. );
  71807. if (parentTNode !== null && rootTNode !== parentTNode) {
  71808. // We are a child of deeper node (rather than a direct child of `i18nStart` instruction.)
  71809. // We have to make sure to add ourselves to the parent.
  71810. setTNodeInsertBeforeIndex(parentTNode, tNodeIdx);
  71811. }
  71812. return tNode;
  71813. }
  71814. /**
  71815. * Processes text node in i18n block.
  71816. *
  71817. * Text nodes can have:
  71818. * - Create instruction in `createOpCodes` for creating the text node.
  71819. * - Allocate spec for text node in i18n range of `LView`
  71820. * - If contains binding:
  71821. * - bindings => allocate space in i18n range of `LView` to store the binding value.
  71822. * - populate `updateOpCodes` with update instructions.
  71823. *
  71824. * @param tView Current `TView`
  71825. * @param rootTNode Root `TNode` of the i18n block. This node determines if the new TNode will
  71826. * be added as part of the `i18nStart` instruction or as part of the
  71827. * `TNode.insertBeforeIndex`.
  71828. * @param existingTNodes internal state for `addTNodeAndUpdateInsertBeforeIndex`.
  71829. * @param createOpCodes Location where the creation OpCodes will be stored.
  71830. * @param lView Current `LView`
  71831. * @param text The translated text (which may contain binding)
  71832. */
  71833. function i18nStartFirstCreatePassProcessTextNode(tView, rootTNode, existingTNodes, createOpCodes, updateOpCodes, lView, text) {
  71834. const hasBinding = text.match(BINDING_REGEXP);
  71835. const tNode = createTNodeAndAddOpCode(tView, rootTNode, existingTNodes, lView, createOpCodes, hasBinding ? null : text, false);
  71836. if (hasBinding) {
  71837. generateBindingUpdateOpCodes(updateOpCodes, text, tNode.index, null, 0, null);
  71838. }
  71839. }
  71840. /**
  71841. * See `i18nAttributes` above.
  71842. */
  71843. function i18nAttributesFirstPass(tView, index, values) {
  71844. const previousElement = getCurrentTNode();
  71845. const previousElementIndex = previousElement.index;
  71846. const updateOpCodes = [];
  71847. if (ngDevMode) {
  71848. attachDebugGetter(updateOpCodes, i18nUpdateOpCodesToString);
  71849. }
  71850. if (tView.firstCreatePass && tView.data[index] === null) {
  71851. for (let i = 0; i < values.length; i += 2) {
  71852. const attrName = values[i];
  71853. const message = values[i + 1];
  71854. if (message !== '') {
  71855. // Check if attribute value contains an ICU and throw an error if that's the case.
  71856. // ICUs in element attributes are not supported.
  71857. // Note: we intentionally retain the error here by not using `ngDevMode`, because
  71858. // the `value` can change based on the locale and users aren't guaranteed to hit
  71859. // an invalid string while they're developing.
  71860. if (ICU_REGEXP.test(message)) {
  71861. throw new Error(`ICU expressions are not supported in attributes. Message: "${message}".`);
  71862. } // i18n attributes that hit this code path are guaranteed to have bindings, because
  71863. // the compiler treats static i18n attributes as regular attribute bindings.
  71864. // Since this may not be the first i18n attribute on this element we need to pass in how
  71865. // many previous bindings there have already been.
  71866. generateBindingUpdateOpCodes(updateOpCodes, message, previousElementIndex, attrName, countBindings(updateOpCodes), null);
  71867. }
  71868. }
  71869. tView.data[index] = updateOpCodes;
  71870. }
  71871. }
  71872. /**
  71873. * Generate the OpCodes to update the bindings of a string.
  71874. *
  71875. * @param updateOpCodes Place where the update opcodes will be stored.
  71876. * @param str The string containing the bindings.
  71877. * @param destinationNode Index of the destination node which will receive the binding.
  71878. * @param attrName Name of the attribute, if the string belongs to an attribute.
  71879. * @param sanitizeFn Sanitization function used to sanitize the string after update, if necessary.
  71880. * @param bindingStart The lView index of the next expression that can be bound via an opCode.
  71881. * @returns The mask value for these bindings
  71882. */
  71883. function generateBindingUpdateOpCodes(updateOpCodes, str, destinationNode, attrName, bindingStart, sanitizeFn) {
  71884. ngDevMode && assertGreaterThanOrEqual(destinationNode, HEADER_OFFSET, 'Index must be in absolute LView offset');
  71885. const maskIndex = updateOpCodes.length; // Location of mask
  71886. const sizeIndex = maskIndex + 1; // location of size for skipping
  71887. updateOpCodes.push(null, null); // Alloc space for mask and size
  71888. const startIndex = maskIndex + 2; // location of first allocation.
  71889. if (ngDevMode) {
  71890. attachDebugGetter(updateOpCodes, i18nUpdateOpCodesToString);
  71891. }
  71892. const textParts = str.split(BINDING_REGEXP);
  71893. let mask = 0;
  71894. for (let j = 0; j < textParts.length; j++) {
  71895. const textValue = textParts[j];
  71896. if (j & 1) {
  71897. // Odd indexes are bindings
  71898. const bindingIndex = bindingStart + parseInt(textValue, 10);
  71899. updateOpCodes.push(-1 - bindingIndex);
  71900. mask = mask | toMaskBit(bindingIndex);
  71901. } else if (textValue !== '') {
  71902. // Even indexes are text
  71903. updateOpCodes.push(textValue);
  71904. }
  71905. }
  71906. updateOpCodes.push(destinationNode << 2
  71907. /* I18nUpdateOpCode.SHIFT_REF */
  71908. | (attrName ? 1
  71909. /* I18nUpdateOpCode.Attr */
  71910. : 0
  71911. /* I18nUpdateOpCode.Text */
  71912. ));
  71913. if (attrName) {
  71914. updateOpCodes.push(attrName, sanitizeFn);
  71915. }
  71916. updateOpCodes[maskIndex] = mask;
  71917. updateOpCodes[sizeIndex] = updateOpCodes.length - startIndex;
  71918. return mask;
  71919. }
  71920. /**
  71921. * Count the number of bindings in the given `opCodes`.
  71922. *
  71923. * It could be possible to speed this up, by passing the number of bindings found back from
  71924. * `generateBindingUpdateOpCodes()` to `i18nAttributesFirstPass()` but this would then require more
  71925. * complexity in the code and/or transient objects to be created.
  71926. *
  71927. * Since this function is only called once when the template is instantiated, is trivial in the
  71928. * first instance (since `opCodes` will be an empty array), and it is not common for elements to
  71929. * contain multiple i18n bound attributes, it seems like this is a reasonable compromise.
  71930. */
  71931. function countBindings(opCodes) {
  71932. let count = 0;
  71933. for (let i = 0; i < opCodes.length; i++) {
  71934. const opCode = opCodes[i]; // Bindings are negative numbers.
  71935. if (typeof opCode === 'number' && opCode < 0) {
  71936. count++;
  71937. }
  71938. }
  71939. return count;
  71940. }
  71941. /**
  71942. * Convert binding index to mask bit.
  71943. *
  71944. * Each index represents a single bit on the bit-mask. Because bit-mask only has 32 bits, we make
  71945. * the 32nd bit share all masks for all bindings higher than 32. Since it is extremely rare to
  71946. * have more than 32 bindings this will be hit very rarely. The downside of hitting this corner
  71947. * case is that we will execute binding code more often than necessary. (penalty of performance)
  71948. */
  71949. function toMaskBit(bindingIndex) {
  71950. return 1 << Math.min(bindingIndex, 31);
  71951. }
  71952. function isRootTemplateMessage(subTemplateIndex) {
  71953. return subTemplateIndex === -1;
  71954. }
  71955. /**
  71956. * Removes everything inside the sub-templates of a message.
  71957. */
  71958. function removeInnerTemplateTranslation(message) {
  71959. let match;
  71960. let res = '';
  71961. let index = 0;
  71962. let inTemplate = false;
  71963. let tagMatched;
  71964. while ((match = SUBTEMPLATE_REGEXP.exec(message)) !== null) {
  71965. if (!inTemplate) {
  71966. res += message.substring(index, match.index + match[0].length);
  71967. tagMatched = match[1];
  71968. inTemplate = true;
  71969. } else {
  71970. if (match[0] === `${MARKER}/*${tagMatched}${MARKER}`) {
  71971. index = match.index;
  71972. inTemplate = false;
  71973. }
  71974. }
  71975. }
  71976. ngDevMode && assertEqual(inTemplate, false, `Tag mismatch: unable to find the end of the sub-template in the translation "${message}"`);
  71977. res += message.slice(index);
  71978. return res;
  71979. }
  71980. /**
  71981. * Extracts a part of a message and removes the rest.
  71982. *
  71983. * This method is used for extracting a part of the message associated with a template. A
  71984. * translated message can span multiple templates.
  71985. *
  71986. * Example:
  71987. * ```
  71988. * <div i18n>Translate <span *ngIf>me</span>!</div>
  71989. * ```
  71990. *
  71991. * @param message The message to crop
  71992. * @param subTemplateIndex Index of the sub-template to extract. If undefined it returns the
  71993. * external template and removes all sub-templates.
  71994. */
  71995. function getTranslationForTemplate(message, subTemplateIndex) {
  71996. if (isRootTemplateMessage(subTemplateIndex)) {
  71997. // We want the root template message, ignore all sub-templates
  71998. return removeInnerTemplateTranslation(message);
  71999. } else {
  72000. // We want a specific sub-template
  72001. const start = message.indexOf(`:${subTemplateIndex}${MARKER}`) + 2 + subTemplateIndex.toString().length;
  72002. const end = message.search(new RegExp(`${MARKER}\\/\\*\\d+:${subTemplateIndex}${MARKER}`));
  72003. return removeInnerTemplateTranslation(message.substring(start, end));
  72004. }
  72005. }
  72006. /**
  72007. * Generate the OpCodes for ICU expressions.
  72008. *
  72009. * @param icuExpression
  72010. * @param index Index where the anchor is stored and an optional `TIcuContainerNode`
  72011. * - `lView[anchorIdx]` points to a `Comment` node representing the anchor for the ICU.
  72012. * - `tView.data[anchorIdx]` points to the `TIcuContainerNode` if ICU is root (`null` otherwise)
  72013. */
  72014. function icuStart(tView, lView, updateOpCodes, parentIdx, icuExpression, anchorIdx) {
  72015. ngDevMode && assertDefined(icuExpression, 'ICU expression must be defined');
  72016. let bindingMask = 0;
  72017. const tIcu = {
  72018. type: icuExpression.type,
  72019. currentCaseLViewIndex: allocExpando(tView, lView, 1, null),
  72020. anchorIdx,
  72021. cases: [],
  72022. create: [],
  72023. remove: [],
  72024. update: []
  72025. };
  72026. addUpdateIcuSwitch(updateOpCodes, icuExpression, anchorIdx);
  72027. setTIcu(tView, anchorIdx, tIcu);
  72028. const values = icuExpression.values;
  72029. for (let i = 0; i < values.length; i++) {
  72030. // Each value is an array of strings & other ICU expressions
  72031. const valueArr = values[i];
  72032. const nestedIcus = [];
  72033. for (let j = 0; j < valueArr.length; j++) {
  72034. const value = valueArr[j];
  72035. if (typeof value !== 'string') {
  72036. // It is an nested ICU expression
  72037. const icuIndex = nestedIcus.push(value) - 1; // Replace nested ICU expression by a comment node
  72038. valueArr[j] = `<!--�${icuIndex}�-->`;
  72039. }
  72040. }
  72041. bindingMask = parseIcuCase(tView, tIcu, lView, updateOpCodes, parentIdx, icuExpression.cases[i], valueArr.join(''), nestedIcus) | bindingMask;
  72042. }
  72043. if (bindingMask) {
  72044. addUpdateIcuUpdate(updateOpCodes, bindingMask, anchorIdx);
  72045. }
  72046. }
  72047. /**
  72048. * Parses text containing an ICU expression and produces a JSON object for it.
  72049. * Original code from closure library, modified for Angular.
  72050. *
  72051. * @param pattern Text containing an ICU expression that needs to be parsed.
  72052. *
  72053. */
  72054. function parseICUBlock(pattern) {
  72055. const cases = [];
  72056. const values = [];
  72057. let icuType = 1
  72058. /* IcuType.plural */
  72059. ;
  72060. let mainBinding = 0;
  72061. pattern = pattern.replace(ICU_BLOCK_REGEXP, function (str, binding, type) {
  72062. if (type === 'select') {
  72063. icuType = 0
  72064. /* IcuType.select */
  72065. ;
  72066. } else {
  72067. icuType = 1
  72068. /* IcuType.plural */
  72069. ;
  72070. }
  72071. mainBinding = parseInt(binding.slice(1), 10);
  72072. return '';
  72073. });
  72074. const parts = i18nParseTextIntoPartsAndICU(pattern); // Looking for (key block)+ sequence. One of the keys has to be "other".
  72075. for (let pos = 0; pos < parts.length;) {
  72076. let key = parts[pos++].trim();
  72077. if (icuType === 1
  72078. /* IcuType.plural */
  72079. ) {
  72080. // Key can be "=x", we just want "x"
  72081. key = key.replace(/\s*(?:=)?(\w+)\s*/, '$1');
  72082. }
  72083. if (key.length) {
  72084. cases.push(key);
  72085. }
  72086. const blocks = i18nParseTextIntoPartsAndICU(parts[pos++]);
  72087. if (cases.length > values.length) {
  72088. values.push(blocks);
  72089. }
  72090. } // TODO(ocombe): support ICU expressions in attributes, see #21615
  72091. return {
  72092. type: icuType,
  72093. mainBinding: mainBinding,
  72094. cases,
  72095. values
  72096. };
  72097. }
  72098. /**
  72099. * Breaks pattern into strings and top level {...} blocks.
  72100. * Can be used to break a message into text and ICU expressions, or to break an ICU expression
  72101. * into keys and cases. Original code from closure library, modified for Angular.
  72102. *
  72103. * @param pattern (sub)Pattern to be broken.
  72104. * @returns An `Array<string|IcuExpression>` where:
  72105. * - odd positions: `string` => text between ICU expressions
  72106. * - even positions: `ICUExpression` => ICU expression parsed into `ICUExpression` record.
  72107. */
  72108. function i18nParseTextIntoPartsAndICU(pattern) {
  72109. if (!pattern) {
  72110. return [];
  72111. }
  72112. let prevPos = 0;
  72113. const braceStack = [];
  72114. const results = [];
  72115. const braces = /[{}]/g; // lastIndex doesn't get set to 0 so we have to.
  72116. braces.lastIndex = 0;
  72117. let match;
  72118. while (match = braces.exec(pattern)) {
  72119. const pos = match.index;
  72120. if (match[0] == '}') {
  72121. braceStack.pop();
  72122. if (braceStack.length == 0) {
  72123. // End of the block.
  72124. const block = pattern.substring(prevPos, pos);
  72125. if (ICU_BLOCK_REGEXP.test(block)) {
  72126. results.push(parseICUBlock(block));
  72127. } else {
  72128. results.push(block);
  72129. }
  72130. prevPos = pos + 1;
  72131. }
  72132. } else {
  72133. if (braceStack.length == 0) {
  72134. const substring = pattern.substring(prevPos, pos);
  72135. results.push(substring);
  72136. prevPos = pos + 1;
  72137. }
  72138. braceStack.push('{');
  72139. }
  72140. }
  72141. const substring = pattern.substring(prevPos);
  72142. results.push(substring);
  72143. return results;
  72144. }
  72145. /**
  72146. * Parses a node, its children and its siblings, and generates the mutate & update OpCodes.
  72147. *
  72148. */
  72149. function parseIcuCase(tView, tIcu, lView, updateOpCodes, parentIdx, caseName, unsafeCaseHtml, nestedIcus) {
  72150. const create = [];
  72151. const remove = [];
  72152. const update = [];
  72153. if (ngDevMode) {
  72154. attachDebugGetter(create, icuCreateOpCodesToString);
  72155. attachDebugGetter(remove, i18nRemoveOpCodesToString);
  72156. attachDebugGetter(update, i18nUpdateOpCodesToString);
  72157. }
  72158. tIcu.cases.push(caseName);
  72159. tIcu.create.push(create);
  72160. tIcu.remove.push(remove);
  72161. tIcu.update.push(update);
  72162. const inertBodyHelper = getInertBodyHelper(getDocument());
  72163. const inertBodyElement = inertBodyHelper.getInertBodyElement(unsafeCaseHtml);
  72164. ngDevMode && assertDefined(inertBodyElement, 'Unable to generate inert body element');
  72165. const inertRootNode = getTemplateContent(inertBodyElement) || inertBodyElement;
  72166. if (inertRootNode) {
  72167. return walkIcuTree(tView, tIcu, lView, updateOpCodes, create, remove, update, inertRootNode, parentIdx, nestedIcus, 0);
  72168. } else {
  72169. return 0;
  72170. }
  72171. }
  72172. function walkIcuTree(tView, tIcu, lView, sharedUpdateOpCodes, create, remove, update, parentNode, parentIdx, nestedIcus, depth) {
  72173. let bindingMask = 0;
  72174. let currentNode = parentNode.firstChild;
  72175. while (currentNode) {
  72176. const newIndex = allocExpando(tView, lView, 1, null);
  72177. switch (currentNode.nodeType) {
  72178. case Node.ELEMENT_NODE:
  72179. const element = currentNode;
  72180. const tagName = element.tagName.toLowerCase();
  72181. if (VALID_ELEMENTS.hasOwnProperty(tagName)) {
  72182. addCreateNodeAndAppend(create, ELEMENT_MARKER, tagName, parentIdx, newIndex);
  72183. tView.data[newIndex] = tagName;
  72184. const elAttrs = element.attributes;
  72185. for (let i = 0; i < elAttrs.length; i++) {
  72186. const attr = elAttrs.item(i);
  72187. const lowerAttrName = attr.name.toLowerCase();
  72188. const hasBinding = !!attr.value.match(BINDING_REGEXP); // we assume the input string is safe, unless it's using a binding
  72189. if (hasBinding) {
  72190. if (VALID_ATTRS.hasOwnProperty(lowerAttrName)) {
  72191. if (URI_ATTRS[lowerAttrName]) {
  72192. generateBindingUpdateOpCodes(update, attr.value, newIndex, attr.name, 0, _sanitizeUrl);
  72193. } else {
  72194. generateBindingUpdateOpCodes(update, attr.value, newIndex, attr.name, 0, null);
  72195. }
  72196. } else {
  72197. ngDevMode && console.warn(`WARNING: ignoring unsafe attribute value ` + `${lowerAttrName} on element ${tagName} ` + `(see https://g.co/ng/security#xss)`);
  72198. }
  72199. } else {
  72200. addCreateAttribute(create, newIndex, attr);
  72201. }
  72202. } // Parse the children of this node (if any)
  72203. bindingMask = walkIcuTree(tView, tIcu, lView, sharedUpdateOpCodes, create, remove, update, currentNode, newIndex, nestedIcus, depth + 1) | bindingMask;
  72204. addRemoveNode(remove, newIndex, depth);
  72205. }
  72206. break;
  72207. case Node.TEXT_NODE:
  72208. const value = currentNode.textContent || '';
  72209. const hasBinding = value.match(BINDING_REGEXP);
  72210. addCreateNodeAndAppend(create, null, hasBinding ? '' : value, parentIdx, newIndex);
  72211. addRemoveNode(remove, newIndex, depth);
  72212. if (hasBinding) {
  72213. bindingMask = generateBindingUpdateOpCodes(update, value, newIndex, null, 0, null) | bindingMask;
  72214. }
  72215. break;
  72216. case Node.COMMENT_NODE:
  72217. // Check if the comment node is a placeholder for a nested ICU
  72218. const isNestedIcu = NESTED_ICU.exec(currentNode.textContent || '');
  72219. if (isNestedIcu) {
  72220. const nestedIcuIndex = parseInt(isNestedIcu[1], 10);
  72221. const icuExpression = nestedIcus[nestedIcuIndex]; // Create the comment node that will anchor the ICU expression
  72222. addCreateNodeAndAppend(create, ICU_MARKER, ngDevMode ? `nested ICU ${nestedIcuIndex}` : '', parentIdx, newIndex);
  72223. icuStart(tView, lView, sharedUpdateOpCodes, parentIdx, icuExpression, newIndex);
  72224. addRemoveNestedIcu(remove, newIndex, depth);
  72225. }
  72226. break;
  72227. }
  72228. currentNode = currentNode.nextSibling;
  72229. }
  72230. return bindingMask;
  72231. }
  72232. function addRemoveNode(remove, index, depth) {
  72233. if (depth === 0) {
  72234. remove.push(index);
  72235. }
  72236. }
  72237. function addRemoveNestedIcu(remove, index, depth) {
  72238. if (depth === 0) {
  72239. remove.push(~index); // remove ICU at `index`
  72240. remove.push(index); // remove ICU comment at `index`
  72241. }
  72242. }
  72243. function addUpdateIcuSwitch(update, icuExpression, index) {
  72244. update.push(toMaskBit(icuExpression.mainBinding), 2, -1 - icuExpression.mainBinding, index << 2
  72245. /* I18nUpdateOpCode.SHIFT_REF */
  72246. | 2
  72247. /* I18nUpdateOpCode.IcuSwitch */
  72248. );
  72249. }
  72250. function addUpdateIcuUpdate(update, bindingMask, index) {
  72251. update.push(bindingMask, 1, index << 2
  72252. /* I18nUpdateOpCode.SHIFT_REF */
  72253. | 3
  72254. /* I18nUpdateOpCode.IcuUpdate */
  72255. );
  72256. }
  72257. function addCreateNodeAndAppend(create, marker, text, appendToParentIdx, createAtIdx) {
  72258. if (marker !== null) {
  72259. create.push(marker);
  72260. }
  72261. create.push(text, createAtIdx, icuCreateOpCode(0
  72262. /* IcuCreateOpCode.AppendChild */
  72263. , appendToParentIdx, createAtIdx));
  72264. }
  72265. function addCreateAttribute(create, newIndex, attr) {
  72266. create.push(newIndex << 1
  72267. /* IcuCreateOpCode.SHIFT_REF */
  72268. | 1
  72269. /* IcuCreateOpCode.Attr */
  72270. , attr.name, attr.value);
  72271. }
  72272. /**
  72273. * @license
  72274. * Copyright Google LLC All Rights Reserved.
  72275. *
  72276. * Use of this source code is governed by an MIT-style license that can be
  72277. * found in the LICENSE file at https://angular.io/license
  72278. */
  72279. // i18nPostprocess consts
  72280. const ROOT_TEMPLATE_ID = 0;
  72281. const PP_MULTI_VALUE_PLACEHOLDERS_REGEXP = /\[(�.+?�?)\]/;
  72282. const PP_PLACEHOLDERS_REGEXP = /\[(�.+?�?)\]|(�\/?\*\d+:\d+�)/g;
  72283. const PP_ICU_VARS_REGEXP = /({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g;
  72284. const PP_ICU_PLACEHOLDERS_REGEXP = /{([A-Z0-9_]+)}/g;
  72285. const PP_ICUS_REGEXP = /�I18N_EXP_(ICU(_\d+)?)�/g;
  72286. const PP_CLOSE_TEMPLATE_REGEXP = /\/\*/;
  72287. const PP_TEMPLATE_ID_REGEXP = /\d+\:(\d+)/;
  72288. /**
  72289. * Handles message string post-processing for internationalization.
  72290. *
  72291. * Handles message string post-processing by transforming it from intermediate
  72292. * format (that might contain some markers that we need to replace) to the final
  72293. * form, consumable by i18nStart instruction. Post processing steps include:
  72294. *
  72295. * 1. Resolve all multi-value cases (like [�*1:1��#2:1�|�#4:1�|�5�])
  72296. * 2. Replace all ICU vars (like "VAR_PLURAL")
  72297. * 3. Replace all placeholders used inside ICUs in a form of {PLACEHOLDER}
  72298. * 4. Replace all ICU references with corresponding values (like �ICU_EXP_ICU_1�)
  72299. * in case multiple ICUs have the same placeholder name
  72300. *
  72301. * @param message Raw translation string for post processing
  72302. * @param replacements Set of replacements that should be applied
  72303. *
  72304. * @returns Transformed string that can be consumed by i18nStart instruction
  72305. *
  72306. * @codeGenApi
  72307. */
  72308. function i18nPostprocess(message, replacements = {}) {
  72309. /**
  72310. * Step 1: resolve all multi-value placeholders like [�#5�|�*1:1��#2:1�|�#4:1�]
  72311. *
  72312. * Note: due to the way we process nested templates (BFS), multi-value placeholders are typically
  72313. * grouped by templates, for example: [�#5�|�#6�|�#1:1�|�#3:2�] where �#5� and �#6� belong to root
  72314. * template, �#1:1� belong to nested template with index 1 and �#1:2� - nested template with index
  72315. * 3. However in real templates the order might be different: i.e. �#1:1� and/or �#3:2� may go in
  72316. * front of �#6�. The post processing step restores the right order by keeping track of the
  72317. * template id stack and looks for placeholders that belong to the currently active template.
  72318. */
  72319. let result = message;
  72320. if (PP_MULTI_VALUE_PLACEHOLDERS_REGEXP.test(message)) {
  72321. const matches = {};
  72322. const templateIdsStack = [ROOT_TEMPLATE_ID];
  72323. result = result.replace(PP_PLACEHOLDERS_REGEXP, (m, phs, tmpl) => {
  72324. const content = phs || tmpl;
  72325. const placeholders = matches[content] || [];
  72326. if (!placeholders.length) {
  72327. content.split('|').forEach(placeholder => {
  72328. const match = placeholder.match(PP_TEMPLATE_ID_REGEXP);
  72329. const templateId = match ? parseInt(match[1], 10) : ROOT_TEMPLATE_ID;
  72330. const isCloseTemplateTag = PP_CLOSE_TEMPLATE_REGEXP.test(placeholder);
  72331. placeholders.push([templateId, isCloseTemplateTag, placeholder]);
  72332. });
  72333. matches[content] = placeholders;
  72334. }
  72335. if (!placeholders.length) {
  72336. throw new Error(`i18n postprocess: unmatched placeholder - ${content}`);
  72337. }
  72338. const currentTemplateId = templateIdsStack[templateIdsStack.length - 1];
  72339. let idx = 0; // find placeholder index that matches current template id
  72340. for (let i = 0; i < placeholders.length; i++) {
  72341. if (placeholders[i][0] === currentTemplateId) {
  72342. idx = i;
  72343. break;
  72344. }
  72345. } // update template id stack based on the current tag extracted
  72346. const [templateId, isCloseTemplateTag, placeholder] = placeholders[idx];
  72347. if (isCloseTemplateTag) {
  72348. templateIdsStack.pop();
  72349. } else if (currentTemplateId !== templateId) {
  72350. templateIdsStack.push(templateId);
  72351. } // remove processed tag from the list
  72352. placeholders.splice(idx, 1);
  72353. return placeholder;
  72354. });
  72355. } // return current result if no replacements specified
  72356. if (!Object.keys(replacements).length) {
  72357. return result;
  72358. }
  72359. /**
  72360. * Step 2: replace all ICU vars (like "VAR_PLURAL")
  72361. */
  72362. result = result.replace(PP_ICU_VARS_REGEXP, (match, start, key, _type, _idx, end) => {
  72363. return replacements.hasOwnProperty(key) ? `${start}${replacements[key]}${end}` : match;
  72364. });
  72365. /**
  72366. * Step 3: replace all placeholders used inside ICUs in a form of {PLACEHOLDER}
  72367. */
  72368. result = result.replace(PP_ICU_PLACEHOLDERS_REGEXP, (match, key) => {
  72369. return replacements.hasOwnProperty(key) ? replacements[key] : match;
  72370. });
  72371. /**
  72372. * Step 4: replace all ICU references with corresponding values (like �ICU_EXP_ICU_1�) in case
  72373. * multiple ICUs have the same placeholder name
  72374. */
  72375. result = result.replace(PP_ICUS_REGEXP, (match, key) => {
  72376. if (replacements.hasOwnProperty(key)) {
  72377. const list = replacements[key];
  72378. if (!list.length) {
  72379. throw new Error(`i18n postprocess: unmatched ICU - ${match} with key: ${key}`);
  72380. }
  72381. return list.shift();
  72382. }
  72383. return match;
  72384. });
  72385. return result;
  72386. }
  72387. /**
  72388. * @license
  72389. * Copyright Google LLC All Rights Reserved.
  72390. *
  72391. * Use of this source code is governed by an MIT-style license that can be
  72392. * found in the LICENSE file at https://angular.io/license
  72393. */
  72394. /**
  72395. * Marks a block of text as translatable.
  72396. *
  72397. * The instructions `i18nStart` and `i18nEnd` mark the translation block in the template.
  72398. * The translation `message` is the value which is locale specific. The translation string may
  72399. * contain placeholders which associate inner elements and sub-templates within the translation.
  72400. *
  72401. * The translation `message` placeholders are:
  72402. * - `�{index}(:{block})�`: *Binding Placeholder*: Marks a location where an expression will be
  72403. * interpolated into. The placeholder `index` points to the expression binding index. An optional
  72404. * `block` that matches the sub-template in which it was declared.
  72405. * - `�#{index}(:{block})�`/`�/#{index}(:{block})�`: *Element Placeholder*: Marks the beginning
  72406. * and end of DOM element that were embedded in the original translation block. The placeholder
  72407. * `index` points to the element index in the template instructions set. An optional `block` that
  72408. * matches the sub-template in which it was declared.
  72409. * - `�*{index}:{block}�`/`�/*{index}:{block}�`: *Sub-template Placeholder*: Sub-templates must be
  72410. * split up and translated separately in each angular template function. The `index` points to the
  72411. * `template` instruction index. A `block` that matches the sub-template in which it was declared.
  72412. *
  72413. * @param index A unique index of the translation in the static block.
  72414. * @param messageIndex An index of the translation message from the `def.consts` array.
  72415. * @param subTemplateIndex Optional sub-template index in the `message`.
  72416. *
  72417. * @codeGenApi
  72418. */
  72419. function ɵɵi18nStart(index, messageIndex, subTemplateIndex = -1) {
  72420. const tView = getTView();
  72421. const lView = getLView();
  72422. const adjustedIndex = HEADER_OFFSET + index;
  72423. ngDevMode && assertDefined(tView, `tView should be defined`);
  72424. const message = getConstant(tView.consts, messageIndex);
  72425. const parentTNode = getCurrentParentTNode();
  72426. if (tView.firstCreatePass) {
  72427. i18nStartFirstCreatePass(tView, parentTNode === null ? 0 : parentTNode.index, lView, adjustedIndex, message, subTemplateIndex);
  72428. }
  72429. const tI18n = tView.data[adjustedIndex];
  72430. const sameViewParentTNode = parentTNode === lView[T_HOST] ? null : parentTNode;
  72431. const parentRNode = getClosestRElement(tView, sameViewParentTNode, lView); // If `parentTNode` is an `ElementContainer` than it has `<!--ng-container--->`.
  72432. // When we do inserts we have to make sure to insert in front of `<!--ng-container--->`.
  72433. const insertInFrontOf = parentTNode && parentTNode.type & 8
  72434. /* TNodeType.ElementContainer */
  72435. ? lView[parentTNode.index] : null;
  72436. applyCreateOpCodes(lView, tI18n.create, parentRNode, insertInFrontOf);
  72437. setInI18nBlock(true);
  72438. }
  72439. /**
  72440. * Translates a translation block marked by `i18nStart` and `i18nEnd`. It inserts the text/ICU nodes
  72441. * into the render tree, moves the placeholder nodes and removes the deleted nodes.
  72442. *
  72443. * @codeGenApi
  72444. */
  72445. function ɵɵi18nEnd() {
  72446. setInI18nBlock(false);
  72447. }
  72448. /**
  72449. *
  72450. * Use this instruction to create a translation block that doesn't contain any placeholder.
  72451. * It calls both {@link i18nStart} and {@link i18nEnd} in one instruction.
  72452. *
  72453. * The translation `message` is the value which is locale specific. The translation string may
  72454. * contain placeholders which associate inner elements and sub-templates within the translation.
  72455. *
  72456. * The translation `message` placeholders are:
  72457. * - `�{index}(:{block})�`: *Binding Placeholder*: Marks a location where an expression will be
  72458. * interpolated into. The placeholder `index` points to the expression binding index. An optional
  72459. * `block` that matches the sub-template in which it was declared.
  72460. * - `�#{index}(:{block})�`/`�/#{index}(:{block})�`: *Element Placeholder*: Marks the beginning
  72461. * and end of DOM element that were embedded in the original translation block. The placeholder
  72462. * `index` points to the element index in the template instructions set. An optional `block` that
  72463. * matches the sub-template in which it was declared.
  72464. * - `�*{index}:{block}�`/`�/*{index}:{block}�`: *Sub-template Placeholder*: Sub-templates must be
  72465. * split up and translated separately in each angular template function. The `index` points to the
  72466. * `template` instruction index. A `block` that matches the sub-template in which it was declared.
  72467. *
  72468. * @param index A unique index of the translation in the static block.
  72469. * @param messageIndex An index of the translation message from the `def.consts` array.
  72470. * @param subTemplateIndex Optional sub-template index in the `message`.
  72471. *
  72472. * @codeGenApi
  72473. */
  72474. function ɵɵi18n(index, messageIndex, subTemplateIndex) {
  72475. ɵɵi18nStart(index, messageIndex, subTemplateIndex);
  72476. ɵɵi18nEnd();
  72477. }
  72478. /**
  72479. * Marks a list of attributes as translatable.
  72480. *
  72481. * @param index A unique index in the static block
  72482. * @param values
  72483. *
  72484. * @codeGenApi
  72485. */
  72486. function ɵɵi18nAttributes(index, attrsIndex) {
  72487. const tView = getTView();
  72488. ngDevMode && assertDefined(tView, `tView should be defined`);
  72489. const attrs = getConstant(tView.consts, attrsIndex);
  72490. i18nAttributesFirstPass(tView, index + HEADER_OFFSET, attrs);
  72491. }
  72492. /**
  72493. * Stores the values of the bindings during each update cycle in order to determine if we need to
  72494. * update the translated nodes.
  72495. *
  72496. * @param value The binding's value
  72497. * @returns This function returns itself so that it may be chained
  72498. * (e.g. `i18nExp(ctx.name)(ctx.title)`)
  72499. *
  72500. * @codeGenApi
  72501. */
  72502. function ɵɵi18nExp(value) {
  72503. const lView = getLView();
  72504. setMaskBit(bindingUpdated(lView, nextBindingIndex(), value));
  72505. return ɵɵi18nExp;
  72506. }
  72507. /**
  72508. * Updates a translation block or an i18n attribute when the bindings have changed.
  72509. *
  72510. * @param index Index of either {@link i18nStart} (translation block) or {@link i18nAttributes}
  72511. * (i18n attribute) on which it should update the content.
  72512. *
  72513. * @codeGenApi
  72514. */
  72515. function ɵɵi18nApply(index) {
  72516. applyI18n(getTView(), getLView(), index + HEADER_OFFSET);
  72517. }
  72518. /**
  72519. * Handles message string post-processing for internationalization.
  72520. *
  72521. * Handles message string post-processing by transforming it from intermediate
  72522. * format (that might contain some markers that we need to replace) to the final
  72523. * form, consumable by i18nStart instruction. Post processing steps include:
  72524. *
  72525. * 1. Resolve all multi-value cases (like [�*1:1��#2:1�|�#4:1�|�5�])
  72526. * 2. Replace all ICU vars (like "VAR_PLURAL")
  72527. * 3. Replace all placeholders used inside ICUs in a form of {PLACEHOLDER}
  72528. * 4. Replace all ICU references with corresponding values (like �ICU_EXP_ICU_1�)
  72529. * in case multiple ICUs have the same placeholder name
  72530. *
  72531. * @param message Raw translation string for post processing
  72532. * @param replacements Set of replacements that should be applied
  72533. *
  72534. * @returns Transformed string that can be consumed by i18nStart instruction
  72535. *
  72536. * @codeGenApi
  72537. */
  72538. function ɵɵi18nPostprocess(message, replacements = {}) {
  72539. return i18nPostprocess(message, replacements);
  72540. }
  72541. /**
  72542. * @license
  72543. * Copyright Google LLC All Rights Reserved.
  72544. *
  72545. * Use of this source code is governed by an MIT-style license that can be
  72546. * found in the LICENSE file at https://angular.io/license
  72547. */
  72548. /**
  72549. * @license
  72550. * Copyright Google LLC All Rights Reserved.
  72551. *
  72552. * Use of this source code is governed by an MIT-style license that can be
  72553. * found in the LICENSE file at https://angular.io/license
  72554. */
  72555. /**
  72556. * Resolves the providers which are defined in the DirectiveDef.
  72557. *
  72558. * When inserting the tokens and the factories in their respective arrays, we can assume that
  72559. * this method is called first for the component (if any), and then for other directives on the same
  72560. * node.
  72561. * As a consequence,the providers are always processed in that order:
  72562. * 1) The view providers of the component
  72563. * 2) The providers of the component
  72564. * 3) The providers of the other directives
  72565. * This matches the structure of the injectables arrays of a view (for each node).
  72566. * So the tokens and the factories can be pushed at the end of the arrays, except
  72567. * in one case for multi providers.
  72568. *
  72569. * @param def the directive definition
  72570. * @param providers: Array of `providers`.
  72571. * @param viewProviders: Array of `viewProviders`.
  72572. */
  72573. function providersResolver(def, providers, viewProviders) {
  72574. const tView = getTView();
  72575. if (tView.firstCreatePass) {
  72576. const isComponent = isComponentDef(def); // The list of view providers is processed first, and the flags are updated
  72577. resolveProvider(viewProviders, tView.data, tView.blueprint, isComponent, true); // Then, the list of providers is processed, and the flags are updated
  72578. resolveProvider(providers, tView.data, tView.blueprint, isComponent, false);
  72579. }
  72580. }
  72581. /**
  72582. * Resolves a provider and publishes it to the DI system.
  72583. */
  72584. function resolveProvider(provider, tInjectables, lInjectablesBlueprint, isComponent, isViewProvider) {
  72585. provider = resolveForwardRef(provider);
  72586. if (Array.isArray(provider)) {
  72587. // Recursively call `resolveProvider`
  72588. // Recursion is OK in this case because this code will not be in hot-path once we implement
  72589. // cloning of the initial state.
  72590. for (let i = 0; i < provider.length; i++) {
  72591. resolveProvider(provider[i], tInjectables, lInjectablesBlueprint, isComponent, isViewProvider);
  72592. }
  72593. } else {
  72594. const tView = getTView();
  72595. const lView = getLView();
  72596. let token = isTypeProvider(provider) ? provider : resolveForwardRef(provider.provide);
  72597. let providerFactory = providerToFactory(provider);
  72598. const tNode = getCurrentTNode();
  72599. const beginIndex = tNode.providerIndexes & 1048575
  72600. /* TNodeProviderIndexes.ProvidersStartIndexMask */
  72601. ;
  72602. const endIndex = tNode.directiveStart;
  72603. const cptViewProvidersCount = tNode.providerIndexes >> 20
  72604. /* TNodeProviderIndexes.CptViewProvidersCountShift */
  72605. ;
  72606. if (isTypeProvider(provider) || !provider.multi) {
  72607. // Single provider case: the factory is created and pushed immediately
  72608. const factory = new NodeInjectorFactory(providerFactory, isViewProvider, ɵɵdirectiveInject);
  72609. const existingFactoryIndex = indexOf(token, tInjectables, isViewProvider ? beginIndex : beginIndex + cptViewProvidersCount, endIndex);
  72610. if (existingFactoryIndex === -1) {
  72611. diPublicInInjector(getOrCreateNodeInjectorForNode(tNode, lView), tView, token);
  72612. registerDestroyHooksIfSupported(tView, provider, tInjectables.length);
  72613. tInjectables.push(token);
  72614. tNode.directiveStart++;
  72615. tNode.directiveEnd++;
  72616. if (isViewProvider) {
  72617. tNode.providerIndexes += 1048576
  72618. /* TNodeProviderIndexes.CptViewProvidersCountShifter */
  72619. ;
  72620. }
  72621. lInjectablesBlueprint.push(factory);
  72622. lView.push(factory);
  72623. } else {
  72624. lInjectablesBlueprint[existingFactoryIndex] = factory;
  72625. lView[existingFactoryIndex] = factory;
  72626. }
  72627. } else {
  72628. // Multi provider case:
  72629. // We create a multi factory which is going to aggregate all the values.
  72630. // Since the output of such a factory depends on content or view injection,
  72631. // we create two of them, which are linked together.
  72632. //
  72633. // The first one (for view providers) is always in the first block of the injectables array,
  72634. // and the second one (for providers) is always in the second block.
  72635. // This is important because view providers have higher priority. When a multi token
  72636. // is being looked up, the view providers should be found first.
  72637. // Note that it is not possible to have a multi factory in the third block (directive block).
  72638. //
  72639. // The algorithm to process multi providers is as follows:
  72640. // 1) If the multi provider comes from the `viewProviders` of the component:
  72641. // a) If the special view providers factory doesn't exist, it is created and pushed.
  72642. // b) Else, the multi provider is added to the existing multi factory.
  72643. // 2) If the multi provider comes from the `providers` of the component or of another
  72644. // directive:
  72645. // a) If the multi factory doesn't exist, it is created and provider pushed into it.
  72646. // It is also linked to the multi factory for view providers, if it exists.
  72647. // b) Else, the multi provider is added to the existing multi factory.
  72648. const existingProvidersFactoryIndex = indexOf(token, tInjectables, beginIndex + cptViewProvidersCount, endIndex);
  72649. const existingViewProvidersFactoryIndex = indexOf(token, tInjectables, beginIndex, beginIndex + cptViewProvidersCount);
  72650. const doesProvidersFactoryExist = existingProvidersFactoryIndex >= 0 && lInjectablesBlueprint[existingProvidersFactoryIndex];
  72651. const doesViewProvidersFactoryExist = existingViewProvidersFactoryIndex >= 0 && lInjectablesBlueprint[existingViewProvidersFactoryIndex];
  72652. if (isViewProvider && !doesViewProvidersFactoryExist || !isViewProvider && !doesProvidersFactoryExist) {
  72653. // Cases 1.a and 2.a
  72654. diPublicInInjector(getOrCreateNodeInjectorForNode(tNode, lView), tView, token);
  72655. const factory = multiFactory(isViewProvider ? multiViewProvidersFactoryResolver : multiProvidersFactoryResolver, lInjectablesBlueprint.length, isViewProvider, isComponent, providerFactory);
  72656. if (!isViewProvider && doesViewProvidersFactoryExist) {
  72657. lInjectablesBlueprint[existingViewProvidersFactoryIndex].providerFactory = factory;
  72658. }
  72659. registerDestroyHooksIfSupported(tView, provider, tInjectables.length, 0);
  72660. tInjectables.push(token);
  72661. tNode.directiveStart++;
  72662. tNode.directiveEnd++;
  72663. if (isViewProvider) {
  72664. tNode.providerIndexes += 1048576
  72665. /* TNodeProviderIndexes.CptViewProvidersCountShifter */
  72666. ;
  72667. }
  72668. lInjectablesBlueprint.push(factory);
  72669. lView.push(factory);
  72670. } else {
  72671. // Cases 1.b and 2.b
  72672. const indexInFactory = multiFactoryAdd(lInjectablesBlueprint[isViewProvider ? existingViewProvidersFactoryIndex : existingProvidersFactoryIndex], providerFactory, !isViewProvider && isComponent);
  72673. registerDestroyHooksIfSupported(tView, provider, existingProvidersFactoryIndex > -1 ? existingProvidersFactoryIndex : existingViewProvidersFactoryIndex, indexInFactory);
  72674. }
  72675. if (!isViewProvider && isComponent && doesViewProvidersFactoryExist) {
  72676. lInjectablesBlueprint[existingViewProvidersFactoryIndex].componentProviders++;
  72677. }
  72678. }
  72679. }
  72680. }
  72681. /**
  72682. * Registers the `ngOnDestroy` hook of a provider, if the provider supports destroy hooks.
  72683. * @param tView `TView` in which to register the hook.
  72684. * @param provider Provider whose hook should be registered.
  72685. * @param contextIndex Index under which to find the context for the hook when it's being invoked.
  72686. * @param indexInFactory Only required for `multi` providers. Index of the provider in the multi
  72687. * provider factory.
  72688. */
  72689. function registerDestroyHooksIfSupported(tView, provider, contextIndex, indexInFactory) {
  72690. const providerIsTypeProvider = isTypeProvider(provider);
  72691. const providerIsClassProvider = isClassProvider(provider);
  72692. if (providerIsTypeProvider || providerIsClassProvider) {
  72693. // Resolve forward references as `useClass` can hold a forward reference.
  72694. const classToken = providerIsClassProvider ? resolveForwardRef(provider.useClass) : provider;
  72695. const prototype = classToken.prototype;
  72696. const ngOnDestroy = prototype.ngOnDestroy;
  72697. if (ngOnDestroy) {
  72698. const hooks = tView.destroyHooks || (tView.destroyHooks = []);
  72699. if (!providerIsTypeProvider && provider.multi) {
  72700. ngDevMode && assertDefined(indexInFactory, 'indexInFactory when registering multi factory destroy hook');
  72701. const existingCallbacksIndex = hooks.indexOf(contextIndex);
  72702. if (existingCallbacksIndex === -1) {
  72703. hooks.push(contextIndex, [indexInFactory, ngOnDestroy]);
  72704. } else {
  72705. hooks[existingCallbacksIndex + 1].push(indexInFactory, ngOnDestroy);
  72706. }
  72707. } else {
  72708. hooks.push(contextIndex, ngOnDestroy);
  72709. }
  72710. }
  72711. }
  72712. }
  72713. /**
  72714. * Add a factory in a multi factory.
  72715. * @returns Index at which the factory was inserted.
  72716. */
  72717. function multiFactoryAdd(multiFactory, factory, isComponentProvider) {
  72718. if (isComponentProvider) {
  72719. multiFactory.componentProviders++;
  72720. }
  72721. return multiFactory.multi.push(factory) - 1;
  72722. }
  72723. /**
  72724. * Returns the index of item in the array, but only in the begin to end range.
  72725. */
  72726. function indexOf(item, arr, begin, end) {
  72727. for (let i = begin; i < end; i++) {
  72728. if (arr[i] === item) return i;
  72729. }
  72730. return -1;
  72731. }
  72732. /**
  72733. * Use this with `multi` `providers`.
  72734. */
  72735. function multiProvidersFactoryResolver(_, tData, lData, tNode) {
  72736. return multiResolve(this.multi, []);
  72737. }
  72738. /**
  72739. * Use this with `multi` `viewProviders`.
  72740. *
  72741. * This factory knows how to concatenate itself with the existing `multi` `providers`.
  72742. */
  72743. function multiViewProvidersFactoryResolver(_, tData, lView, tNode) {
  72744. const factories = this.multi;
  72745. let result;
  72746. if (this.providerFactory) {
  72747. const componentCount = this.providerFactory.componentProviders;
  72748. const multiProviders = getNodeInjectable(lView, lView[TVIEW], this.providerFactory.index, tNode); // Copy the section of the array which contains `multi` `providers` from the component
  72749. result = multiProviders.slice(0, componentCount); // Insert the `viewProvider` instances.
  72750. multiResolve(factories, result); // Copy the section of the array which contains `multi` `providers` from other directives
  72751. for (let i = componentCount; i < multiProviders.length; i++) {
  72752. result.push(multiProviders[i]);
  72753. }
  72754. } else {
  72755. result = []; // Insert the `viewProvider` instances.
  72756. multiResolve(factories, result);
  72757. }
  72758. return result;
  72759. }
  72760. /**
  72761. * Maps an array of factories into an array of values.
  72762. */
  72763. function multiResolve(factories, result) {
  72764. for (let i = 0; i < factories.length; i++) {
  72765. const factory = factories[i];
  72766. result.push(factory());
  72767. }
  72768. return result;
  72769. }
  72770. /**
  72771. * Creates a multi factory.
  72772. */
  72773. function multiFactory(factoryFn, index, isViewProvider, isComponent, f) {
  72774. const factory = new NodeInjectorFactory(factoryFn, isViewProvider, ɵɵdirectiveInject);
  72775. factory.multi = [];
  72776. factory.index = index;
  72777. factory.componentProviders = 0;
  72778. multiFactoryAdd(factory, f, isComponent && !isViewProvider);
  72779. return factory;
  72780. }
  72781. /**
  72782. * This feature resolves the providers of a directive (or component),
  72783. * and publish them into the DI system, making it visible to others for injection.
  72784. *
  72785. * For example:
  72786. * ```ts
  72787. * class ComponentWithProviders {
  72788. * constructor(private greeter: GreeterDE) {}
  72789. *
  72790. * static ɵcmp = defineComponent({
  72791. * type: ComponentWithProviders,
  72792. * selectors: [['component-with-providers']],
  72793. * factory: () => new ComponentWithProviders(directiveInject(GreeterDE as any)),
  72794. * decls: 1,
  72795. * vars: 1,
  72796. * template: function(fs: RenderFlags, ctx: ComponentWithProviders) {
  72797. * if (fs & RenderFlags.Create) {
  72798. * ɵɵtext(0);
  72799. * }
  72800. * if (fs & RenderFlags.Update) {
  72801. * ɵɵtextInterpolate(ctx.greeter.greet());
  72802. * }
  72803. * },
  72804. * features: [ɵɵProvidersFeature([GreeterDE])]
  72805. * });
  72806. * }
  72807. * ```
  72808. *
  72809. * @param definition
  72810. *
  72811. * @codeGenApi
  72812. */
  72813. function ɵɵProvidersFeature(providers, viewProviders = []) {
  72814. return definition => {
  72815. definition.providersResolver = (def, processProvidersFn) => {
  72816. return providersResolver(def, //
  72817. processProvidersFn ? processProvidersFn(providers) : providers, //
  72818. viewProviders);
  72819. };
  72820. };
  72821. }
  72822. /**
  72823. * @license
  72824. * Copyright Google LLC All Rights Reserved.
  72825. *
  72826. * Use of this source code is governed by an MIT-style license that can be
  72827. * found in the LICENSE file at https://angular.io/license
  72828. */
  72829. /**
  72830. * Represents an instance of an `NgModule` created by an `NgModuleFactory`.
  72831. * Provides access to the `NgModule` instance and related objects.
  72832. *
  72833. * @publicApi
  72834. */
  72835. class NgModuleRef$1 {}
  72836. /**
  72837. * @publicApi
  72838. *
  72839. * @deprecated
  72840. * This class was mostly used as a part of ViewEngine-based JIT API and is no longer needed in Ivy
  72841. * JIT mode. See [JIT API changes due to ViewEngine deprecation](guide/deprecations#jit-api-changes)
  72842. * for additional context. Angular provides APIs that accept NgModule classes directly (such as
  72843. * [PlatformRef.bootstrapModule](api/core/PlatformRef#bootstrapModule) and
  72844. * [createNgModule](api/core/createNgModule)), consider switching to those APIs instead of
  72845. * using factory-based ones.
  72846. */
  72847. class NgModuleFactory$1 {}
  72848. /**
  72849. * @license
  72850. * Copyright Google LLC All Rights Reserved.
  72851. *
  72852. * Use of this source code is governed by an MIT-style license that can be
  72853. * found in the LICENSE file at https://angular.io/license
  72854. */
  72855. /**
  72856. * Returns a new NgModuleRef instance based on the NgModule class and parent injector provided.
  72857. *
  72858. * @param ngModule NgModule class.
  72859. * @param parentInjector Optional injector instance to use as a parent for the module injector. If
  72860. * not provided, `NullInjector` will be used instead.
  72861. * @returns NgModuleRef that represents an NgModule instance.
  72862. *
  72863. * @publicApi
  72864. */
  72865. function createNgModule(ngModule, parentInjector) {
  72866. return new NgModuleRef(ngModule, parentInjector !== null && parentInjector !== void 0 ? parentInjector : null);
  72867. }
  72868. /**
  72869. * The `createNgModule` function alias for backwards-compatibility.
  72870. * Please avoid using it directly and use `createNgModule` instead.
  72871. *
  72872. * @deprecated Use `createNgModule` instead.
  72873. */
  72874. const createNgModuleRef = createNgModule;
  72875. class NgModuleRef extends NgModuleRef$1 {
  72876. constructor(ngModuleType, _parent) {
  72877. super();
  72878. this._parent = _parent; // tslint:disable-next-line:require-internal-with-underscore
  72879. this._bootstrapComponents = [];
  72880. this.destroyCbs = []; // When bootstrapping a module we have a dependency graph that looks like this:
  72881. // ApplicationRef -> ComponentFactoryResolver -> NgModuleRef. The problem is that if the
  72882. // module being resolved tries to inject the ComponentFactoryResolver, it'll create a
  72883. // circular dependency which will result in a runtime error, because the injector doesn't
  72884. // exist yet. We work around the issue by creating the ComponentFactoryResolver ourselves
  72885. // and providing it, rather than letting the injector resolve it.
  72886. this.componentFactoryResolver = new ComponentFactoryResolver(this);
  72887. const ngModuleDef = getNgModuleDef(ngModuleType);
  72888. ngDevMode && assertDefined(ngModuleDef, `NgModule '${stringify(ngModuleType)}' is not a subtype of 'NgModuleType'.`);
  72889. this._bootstrapComponents = maybeUnwrapFn(ngModuleDef.bootstrap);
  72890. this._r3Injector = createInjectorWithoutInjectorInstances(ngModuleType, _parent, [{
  72891. provide: NgModuleRef$1,
  72892. useValue: this
  72893. }, {
  72894. provide: ComponentFactoryResolver$1,
  72895. useValue: this.componentFactoryResolver
  72896. }], stringify(ngModuleType), new Set(['environment'])); // We need to resolve the injector types separately from the injector creation, because
  72897. // the module might be trying to use this ref in its constructor for DI which will cause a
  72898. // circular error that will eventually error out, because the injector isn't created yet.
  72899. this._r3Injector.resolveInjectorInitializers();
  72900. this.instance = this._r3Injector.get(ngModuleType);
  72901. }
  72902. get injector() {
  72903. return this._r3Injector;
  72904. }
  72905. destroy() {
  72906. ngDevMode && assertDefined(this.destroyCbs, 'NgModule already destroyed');
  72907. const injector = this._r3Injector;
  72908. !injector.destroyed && injector.destroy();
  72909. this.destroyCbs.forEach(fn => fn());
  72910. this.destroyCbs = null;
  72911. }
  72912. onDestroy(callback) {
  72913. ngDevMode && assertDefined(this.destroyCbs, 'NgModule already destroyed');
  72914. this.destroyCbs.push(callback);
  72915. }
  72916. }
  72917. class NgModuleFactory extends NgModuleFactory$1 {
  72918. constructor(moduleType) {
  72919. super();
  72920. this.moduleType = moduleType;
  72921. }
  72922. create(parentInjector) {
  72923. return new NgModuleRef(this.moduleType, parentInjector);
  72924. }
  72925. }
  72926. class EnvironmentNgModuleRefAdapter extends NgModuleRef$1 {
  72927. constructor(providers, parent, source) {
  72928. super();
  72929. this.componentFactoryResolver = new ComponentFactoryResolver(this);
  72930. this.instance = null;
  72931. const injector = new R3Injector([...providers, {
  72932. provide: NgModuleRef$1,
  72933. useValue: this
  72934. }, {
  72935. provide: ComponentFactoryResolver$1,
  72936. useValue: this.componentFactoryResolver
  72937. }], parent || getNullInjector(), source, new Set(['environment']));
  72938. this.injector = injector;
  72939. injector.resolveInjectorInitializers();
  72940. }
  72941. destroy() {
  72942. this.injector.destroy();
  72943. }
  72944. onDestroy(callback) {
  72945. this.injector.onDestroy(callback);
  72946. }
  72947. }
  72948. /**
  72949. * Create a new environment injector.
  72950. *
  72951. * Learn more about environment injectors in
  72952. * [this guide](guide/standalone-components#environment-injectors).
  72953. *
  72954. * @param providers An array of providers.
  72955. * @param parent A parent environment injector.
  72956. * @param debugName An optional name for this injector instance, which will be used in error
  72957. * messages.
  72958. *
  72959. * @publicApi
  72960. * @developerPreview
  72961. */
  72962. function createEnvironmentInjector(providers, parent, debugName = null) {
  72963. const adapter = new EnvironmentNgModuleRefAdapter(providers, parent, debugName);
  72964. return adapter.injector;
  72965. }
  72966. /**
  72967. * @license
  72968. * Copyright Google LLC All Rights Reserved.
  72969. *
  72970. * Use of this source code is governed by an MIT-style license that can be
  72971. * found in the LICENSE file at https://angular.io/license
  72972. */
  72973. /**
  72974. * A service used by the framework to create instances of standalone injectors. Those injectors are
  72975. * created on demand in case of dynamic component instantiation and contain ambient providers
  72976. * collected from the imports graph rooted at a given standalone component.
  72977. */
  72978. class StandaloneService {
  72979. constructor(_injector) {
  72980. this._injector = _injector;
  72981. this.cachedInjectors = new Map();
  72982. }
  72983. getOrCreateStandaloneInjector(componentDef) {
  72984. if (!componentDef.standalone) {
  72985. return null;
  72986. }
  72987. if (!this.cachedInjectors.has(componentDef.id)) {
  72988. const providers = internalImportProvidersFrom(false, componentDef.type);
  72989. const standaloneInjector = providers.length > 0 ? createEnvironmentInjector([providers], this._injector, `Standalone[${componentDef.type.name}]`) : null;
  72990. this.cachedInjectors.set(componentDef.id, standaloneInjector);
  72991. }
  72992. return this.cachedInjectors.get(componentDef.id);
  72993. }
  72994. ngOnDestroy() {
  72995. try {
  72996. for (const injector of this.cachedInjectors.values()) {
  72997. if (injector !== null) {
  72998. injector.destroy();
  72999. }
  73000. }
  73001. } finally {
  73002. this.cachedInjectors.clear();
  73003. }
  73004. }
  73005. }
  73006. /** @nocollapse */
  73007. StandaloneService.ɵprov = ɵɵdefineInjectable({
  73008. token: StandaloneService,
  73009. providedIn: 'environment',
  73010. factory: () => new StandaloneService(ɵɵinject(EnvironmentInjector))
  73011. });
  73012. /**
  73013. * A feature that acts as a setup code for the {@link StandaloneService}.
  73014. *
  73015. * The most important responsibility of this feature is to expose the "getStandaloneInjector"
  73016. * function (an entry points to a standalone injector creation) on a component definition object. We
  73017. * go through the features infrastructure to make sure that the standalone injector creation logic
  73018. * is tree-shakable and not included in applications that don't use standalone components.
  73019. *
  73020. * @codeGenApi
  73021. */
  73022. function ɵɵStandaloneFeature(definition) {
  73023. definition.getStandaloneInjector = parentInjector => {
  73024. return parentInjector.get(StandaloneService).getOrCreateStandaloneInjector(definition);
  73025. };
  73026. }
  73027. /**
  73028. * @license
  73029. * Copyright Google LLC All Rights Reserved.
  73030. *
  73031. * Use of this source code is governed by an MIT-style license that can be
  73032. * found in the LICENSE file at https://angular.io/license
  73033. */
  73034. /**
  73035. * Retrieves the component instance associated with a given DOM element.
  73036. *
  73037. * @usageNotes
  73038. * Given the following DOM structure:
  73039. *
  73040. * ```html
  73041. * <app-root>
  73042. * <div>
  73043. * <child-comp></child-comp>
  73044. * </div>
  73045. * </app-root>
  73046. * ```
  73047. *
  73048. * Calling `getComponent` on `<child-comp>` will return the instance of `ChildComponent`
  73049. * associated with this DOM element.
  73050. *
  73051. * Calling the function on `<app-root>` will return the `MyApp` instance.
  73052. *
  73053. *
  73054. * @param element DOM element from which the component should be retrieved.
  73055. * @returns Component instance associated with the element or `null` if there
  73056. * is no component associated with it.
  73057. *
  73058. * @publicApi
  73059. * @globalApi ng
  73060. */
  73061. function getComponent(element) {
  73062. ngDevMode && assertDomElement(element);
  73063. const context = getLContext(element);
  73064. if (context === null) return null;
  73065. if (context.component === undefined) {
  73066. const lView = context.lView;
  73067. if (lView === null) {
  73068. return null;
  73069. }
  73070. context.component = getComponentAtNodeIndex(context.nodeIndex, lView);
  73071. }
  73072. return context.component;
  73073. }
  73074. /**
  73075. * If inside an embedded view (e.g. `*ngIf` or `*ngFor`), retrieves the context of the embedded
  73076. * view that the element is part of. Otherwise retrieves the instance of the component whose view
  73077. * owns the element (in this case, the result is the same as calling `getOwningComponent`).
  73078. *
  73079. * @param element Element for which to get the surrounding component instance.
  73080. * @returns Instance of the component that is around the element or null if the element isn't
  73081. * inside any component.
  73082. *
  73083. * @publicApi
  73084. * @globalApi ng
  73085. */
  73086. function getContext(element) {
  73087. assertDomElement(element);
  73088. const context = getLContext(element);
  73089. const lView = context ? context.lView : null;
  73090. return lView === null ? null : lView[CONTEXT];
  73091. }
  73092. /**
  73093. * Retrieves the component instance whose view contains the DOM element.
  73094. *
  73095. * For example, if `<child-comp>` is used in the template of `<app-comp>`
  73096. * (i.e. a `ViewChild` of `<app-comp>`), calling `getOwningComponent` on `<child-comp>`
  73097. * would return `<app-comp>`.
  73098. *
  73099. * @param elementOrDir DOM element, component or directive instance
  73100. * for which to retrieve the root components.
  73101. * @returns Component instance whose view owns the DOM element or null if the element is not
  73102. * part of a component view.
  73103. *
  73104. * @publicApi
  73105. * @globalApi ng
  73106. */
  73107. function getOwningComponent(elementOrDir) {
  73108. const context = getLContext(elementOrDir);
  73109. let lView = context ? context.lView : null;
  73110. if (lView === null) return null;
  73111. let parent;
  73112. while (lView[TVIEW].type === 2
  73113. /* TViewType.Embedded */
  73114. && (parent = getLViewParent(lView))) {
  73115. lView = parent;
  73116. }
  73117. return lView[FLAGS] & 256
  73118. /* LViewFlags.IsRoot */
  73119. ? null : lView[CONTEXT];
  73120. }
  73121. /**
  73122. * Retrieves all root components associated with a DOM element, directive or component instance.
  73123. * Root components are those which have been bootstrapped by Angular.
  73124. *
  73125. * @param elementOrDir DOM element, component or directive instance
  73126. * for which to retrieve the root components.
  73127. * @returns Root components associated with the target object.
  73128. *
  73129. * @publicApi
  73130. * @globalApi ng
  73131. */
  73132. function getRootComponents(elementOrDir) {
  73133. const lView = readPatchedLView(elementOrDir);
  73134. return lView !== null ? [getRootContext(lView)] : [];
  73135. }
  73136. /**
  73137. * Retrieves an `Injector` associated with an element, component or directive instance.
  73138. *
  73139. * @param elementOrDir DOM element, component or directive instance for which to
  73140. * retrieve the injector.
  73141. * @returns Injector associated with the element, component or directive instance.
  73142. *
  73143. * @publicApi
  73144. * @globalApi ng
  73145. */
  73146. function getInjector(elementOrDir) {
  73147. const context = getLContext(elementOrDir);
  73148. const lView = context ? context.lView : null;
  73149. if (lView === null) return Injector.NULL;
  73150. const tNode = lView[TVIEW].data[context.nodeIndex];
  73151. return new NodeInjector(tNode, lView);
  73152. }
  73153. /**
  73154. * Retrieve a set of injection tokens at a given DOM node.
  73155. *
  73156. * @param element Element for which the injection tokens should be retrieved.
  73157. */
  73158. function getInjectionTokens(element) {
  73159. const context = getLContext(element);
  73160. const lView = context ? context.lView : null;
  73161. if (lView === null) return [];
  73162. const tView = lView[TVIEW];
  73163. const tNode = tView.data[context.nodeIndex];
  73164. const providerTokens = [];
  73165. const startIndex = tNode.providerIndexes & 1048575
  73166. /* TNodeProviderIndexes.ProvidersStartIndexMask */
  73167. ;
  73168. const endIndex = tNode.directiveEnd;
  73169. for (let i = startIndex; i < endIndex; i++) {
  73170. let value = tView.data[i];
  73171. if (isDirectiveDefHack(value)) {
  73172. // The fact that we sometimes store Type and sometimes DirectiveDef in this location is a
  73173. // design flaw. We should always store same type so that we can be monomorphic. The issue
  73174. // is that for Components/Directives we store the def instead the type. The correct behavior
  73175. // is that we should always be storing injectable type in this location.
  73176. value = value.type;
  73177. }
  73178. providerTokens.push(value);
  73179. }
  73180. return providerTokens;
  73181. }
  73182. /**
  73183. * Retrieves directive instances associated with a given DOM node. Does not include
  73184. * component instances.
  73185. *
  73186. * @usageNotes
  73187. * Given the following DOM structure:
  73188. *
  73189. * ```html
  73190. * <app-root>
  73191. * <button my-button></button>
  73192. * <my-comp></my-comp>
  73193. * </app-root>
  73194. * ```
  73195. *
  73196. * Calling `getDirectives` on `<button>` will return an array with an instance of the `MyButton`
  73197. * directive that is associated with the DOM node.
  73198. *
  73199. * Calling `getDirectives` on `<my-comp>` will return an empty array.
  73200. *
  73201. * @param node DOM node for which to get the directives.
  73202. * @returns Array of directives associated with the node.
  73203. *
  73204. * @publicApi
  73205. * @globalApi ng
  73206. */
  73207. function getDirectives(node) {
  73208. // Skip text nodes because we can't have directives associated with them.
  73209. if (node instanceof Text) {
  73210. return [];
  73211. }
  73212. const context = getLContext(node);
  73213. const lView = context ? context.lView : null;
  73214. if (lView === null) {
  73215. return [];
  73216. }
  73217. const tView = lView[TVIEW];
  73218. const nodeIndex = context.nodeIndex;
  73219. if (!(tView === null || tView === void 0 ? void 0 : tView.data[nodeIndex])) {
  73220. return [];
  73221. }
  73222. if (context.directives === undefined) {
  73223. context.directives = getDirectivesAtNodeIndex(nodeIndex, lView, false);
  73224. } // The `directives` in this case are a named array called `LComponentView`. Clone the
  73225. // result so we don't expose an internal data structure in the user's console.
  73226. return context.directives === null ? [] : [...context.directives];
  73227. }
  73228. /**
  73229. * Returns the debug (partial) metadata for a particular directive or component instance.
  73230. * The function accepts an instance of a directive or component and returns the corresponding
  73231. * metadata.
  73232. *
  73233. * @param directiveOrComponentInstance Instance of a directive or component
  73234. * @returns metadata of the passed directive or component
  73235. *
  73236. * @publicApi
  73237. * @globalApi ng
  73238. */
  73239. function getDirectiveMetadata$1(directiveOrComponentInstance) {
  73240. const {
  73241. constructor
  73242. } = directiveOrComponentInstance;
  73243. if (!constructor) {
  73244. throw new Error('Unable to find the instance constructor');
  73245. } // In case a component inherits from a directive, we may have component and directive metadata
  73246. // To ensure we don't get the metadata of the directive, we want to call `getComponentDef` first.
  73247. const componentDef = getComponentDef(constructor);
  73248. if (componentDef) {
  73249. return {
  73250. inputs: componentDef.inputs,
  73251. outputs: componentDef.outputs,
  73252. encapsulation: componentDef.encapsulation,
  73253. changeDetection: componentDef.onPush ? ChangeDetectionStrategy.OnPush : ChangeDetectionStrategy.Default
  73254. };
  73255. }
  73256. const directiveDef = getDirectiveDef(constructor);
  73257. if (directiveDef) {
  73258. return {
  73259. inputs: directiveDef.inputs,
  73260. outputs: directiveDef.outputs
  73261. };
  73262. }
  73263. return null;
  73264. }
  73265. /**
  73266. * Retrieve map of local references.
  73267. *
  73268. * The references are retrieved as a map of local reference name to element or directive instance.
  73269. *
  73270. * @param target DOM element, component or directive instance for which to retrieve
  73271. * the local references.
  73272. */
  73273. function getLocalRefs(target) {
  73274. const context = getLContext(target);
  73275. if (context === null) return {};
  73276. if (context.localRefs === undefined) {
  73277. const lView = context.lView;
  73278. if (lView === null) {
  73279. return {};
  73280. }
  73281. context.localRefs = discoverLocalRefs(lView, context.nodeIndex);
  73282. }
  73283. return context.localRefs || {};
  73284. }
  73285. /**
  73286. * Retrieves the host element of a component or directive instance.
  73287. * The host element is the DOM element that matched the selector of the directive.
  73288. *
  73289. * @param componentOrDirective Component or directive instance for which the host
  73290. * element should be retrieved.
  73291. * @returns Host element of the target.
  73292. *
  73293. * @publicApi
  73294. * @globalApi ng
  73295. */
  73296. function getHostElement(componentOrDirective) {
  73297. return getLContext(componentOrDirective).native;
  73298. }
  73299. /**
  73300. * Retrieves the rendered text for a given component.
  73301. *
  73302. * This function retrieves the host element of a component and
  73303. * and then returns the `textContent` for that element. This implies
  73304. * that the text returned will include re-projected content of
  73305. * the component as well.
  73306. *
  73307. * @param component The component to return the content text for.
  73308. */
  73309. function getRenderedText(component) {
  73310. const hostElement = getHostElement(component);
  73311. return hostElement.textContent || '';
  73312. }
  73313. /**
  73314. * Retrieves a list of event listeners associated with a DOM element. The list does include host
  73315. * listeners, but it does not include event listeners defined outside of the Angular context
  73316. * (e.g. through `addEventListener`).
  73317. *
  73318. * @usageNotes
  73319. * Given the following DOM structure:
  73320. *
  73321. * ```html
  73322. * <app-root>
  73323. * <div (click)="doSomething()"></div>
  73324. * </app-root>
  73325. * ```
  73326. *
  73327. * Calling `getListeners` on `<div>` will return an object that looks as follows:
  73328. *
  73329. * ```ts
  73330. * {
  73331. * name: 'click',
  73332. * element: <div>,
  73333. * callback: () => doSomething(),
  73334. * useCapture: false
  73335. * }
  73336. * ```
  73337. *
  73338. * @param element Element for which the DOM listeners should be retrieved.
  73339. * @returns Array of event listeners on the DOM element.
  73340. *
  73341. * @publicApi
  73342. * @globalApi ng
  73343. */
  73344. function getListeners(element) {
  73345. ngDevMode && assertDomElement(element);
  73346. const lContext = getLContext(element);
  73347. const lView = lContext === null ? null : lContext.lView;
  73348. if (lView === null) return [];
  73349. const tView = lView[TVIEW];
  73350. const lCleanup = lView[CLEANUP];
  73351. const tCleanup = tView.cleanup;
  73352. const listeners = [];
  73353. if (tCleanup && lCleanup) {
  73354. for (let i = 0; i < tCleanup.length;) {
  73355. const firstParam = tCleanup[i++];
  73356. const secondParam = tCleanup[i++];
  73357. if (typeof firstParam === 'string') {
  73358. const name = firstParam;
  73359. const listenerElement = unwrapRNode(lView[secondParam]);
  73360. const callback = lCleanup[tCleanup[i++]];
  73361. const useCaptureOrIndx = tCleanup[i++]; // if useCaptureOrIndx is boolean then report it as is.
  73362. // if useCaptureOrIndx is positive number then it in unsubscribe method
  73363. // if useCaptureOrIndx is negative number then it is a Subscription
  73364. const type = typeof useCaptureOrIndx === 'boolean' || useCaptureOrIndx >= 0 ? 'dom' : 'output';
  73365. const useCapture = typeof useCaptureOrIndx === 'boolean' ? useCaptureOrIndx : false;
  73366. if (element == listenerElement) {
  73367. listeners.push({
  73368. element,
  73369. name,
  73370. callback,
  73371. useCapture,
  73372. type
  73373. });
  73374. }
  73375. }
  73376. }
  73377. }
  73378. listeners.sort(sortListeners);
  73379. return listeners;
  73380. }
  73381. function sortListeners(a, b) {
  73382. if (a.name == b.name) return 0;
  73383. return a.name < b.name ? -1 : 1;
  73384. }
  73385. /**
  73386. * This function should not exist because it is megamorphic and only mostly correct.
  73387. *
  73388. * See call site for more info.
  73389. */
  73390. function isDirectiveDefHack(obj) {
  73391. return obj.type !== undefined && obj.template !== undefined && obj.declaredInputs !== undefined;
  73392. }
  73393. /**
  73394. * Returns the attached `DebugNode` instance for an element in the DOM.
  73395. *
  73396. * @param element DOM element which is owned by an existing component's view.
  73397. */
  73398. function getDebugNode$1(element) {
  73399. if (ngDevMode && !(element instanceof Node)) {
  73400. throw new Error('Expecting instance of DOM Element');
  73401. }
  73402. const lContext = getLContext(element);
  73403. const lView = lContext ? lContext.lView : null;
  73404. if (lView === null) {
  73405. return null;
  73406. }
  73407. const nodeIndex = lContext.nodeIndex;
  73408. if (nodeIndex !== -1) {
  73409. const valueInLView = lView[nodeIndex]; // this means that value in the lView is a component with its own
  73410. // data. In this situation the TNode is not accessed at the same spot.
  73411. const tNode = isLView(valueInLView) ? valueInLView[T_HOST] : getTNode(lView[TVIEW], nodeIndex);
  73412. ngDevMode && assertEqual(tNode.index, nodeIndex, 'Expecting that TNode at index is same as index');
  73413. return buildDebugNode(tNode, lView);
  73414. }
  73415. return null;
  73416. }
  73417. /**
  73418. * Retrieve the component `LView` from component/element.
  73419. *
  73420. * NOTE: `LView` is a private and should not be leaked outside.
  73421. * Don't export this method to `ng.*` on window.
  73422. *
  73423. * @param target DOM element or component instance for which to retrieve the LView.
  73424. */
  73425. function getComponentLView(target) {
  73426. const lContext = getLContext(target);
  73427. const nodeIndx = lContext.nodeIndex;
  73428. const lView = lContext.lView;
  73429. ngDevMode && assertLView(lView);
  73430. const componentLView = lView[nodeIndx];
  73431. ngDevMode && assertLView(componentLView);
  73432. return componentLView;
  73433. }
  73434. /** Asserts that a value is a DOM Element. */
  73435. function assertDomElement(value) {
  73436. if (typeof Element !== 'undefined' && !(value instanceof Element)) {
  73437. throw new Error('Expecting instance of DOM Element');
  73438. }
  73439. }
  73440. /**
  73441. * @license
  73442. * Copyright Google LLC All Rights Reserved.
  73443. *
  73444. * Use of this source code is governed by an MIT-style license that can be
  73445. * found in the LICENSE file at https://angular.io/license
  73446. */
  73447. /**
  73448. * Adds decorator, constructor, and property metadata to a given type via static metadata fields
  73449. * on the type.
  73450. *
  73451. * These metadata fields can later be read with Angular's `ReflectionCapabilities` API.
  73452. *
  73453. * Calls to `setClassMetadata` can be guarded by ngDevMode, resulting in the metadata assignments
  73454. * being tree-shaken away during production builds.
  73455. */
  73456. function setClassMetadata(type, decorators, ctorParameters, propDecorators) {
  73457. return noSideEffects(() => {
  73458. const clazz = type;
  73459. if (decorators !== null) {
  73460. if (clazz.hasOwnProperty('decorators') && clazz.decorators !== undefined) {
  73461. clazz.decorators.push(...decorators);
  73462. } else {
  73463. clazz.decorators = decorators;
  73464. }
  73465. }
  73466. if (ctorParameters !== null) {
  73467. // Rather than merging, clobber the existing parameters. If other projects exist which
  73468. // use tsickle-style annotations and reflect over them in the same way, this could
  73469. // cause issues, but that is vanishingly unlikely.
  73470. clazz.ctorParameters = ctorParameters;
  73471. }
  73472. if (propDecorators !== null) {
  73473. // The property decorator objects are merged as it is possible different fields have
  73474. // different decorator types. Decorators on individual fields are not merged, as it's
  73475. // also incredibly unlikely that a field will be decorated both with an Angular
  73476. // decorator and a non-Angular decorator that's also been downleveled.
  73477. if (clazz.hasOwnProperty('propDecorators') && clazz.propDecorators !== undefined) {
  73478. clazz.propDecorators = Object.assign(Object.assign({}, clazz.propDecorators), propDecorators);
  73479. } else {
  73480. clazz.propDecorators = propDecorators;
  73481. }
  73482. }
  73483. });
  73484. }
  73485. /**
  73486. * @license
  73487. * Copyright Google LLC All Rights Reserved.
  73488. *
  73489. * Use of this source code is governed by an MIT-style license that can be
  73490. * found in the LICENSE file at https://angular.io/license
  73491. */
  73492. /**
  73493. * Bindings for pure functions are stored after regular bindings.
  73494. *
  73495. * |-------decls------|---------vars---------| |----- hostVars (dir1) ------|
  73496. * ------------------------------------------------------------------------------------------
  73497. * | nodes/refs/pipes | bindings | fn slots | injector | dir1 | host bindings | host slots |
  73498. * ------------------------------------------------------------------------------------------
  73499. * ^ ^
  73500. * TView.bindingStartIndex TView.expandoStartIndex
  73501. *
  73502. * Pure function instructions are given an offset from the binding root. Adding the offset to the
  73503. * binding root gives the first index where the bindings are stored. In component views, the binding
  73504. * root is the bindingStartIndex. In host bindings, the binding root is the expandoStartIndex +
  73505. * any directive instances + any hostVars in directives evaluated before it.
  73506. *
  73507. * See VIEW_DATA.md for more information about host binding resolution.
  73508. */
  73509. /**
  73510. * If the value hasn't been saved, calls the pure function to store and return the
  73511. * value. If it has been saved, returns the saved value.
  73512. *
  73513. * @param slotOffset the offset from binding root to the reserved slot
  73514. * @param pureFn Function that returns a value
  73515. * @param thisArg Optional calling context of pureFn
  73516. * @returns value
  73517. *
  73518. * @codeGenApi
  73519. */
  73520. function ɵɵpureFunction0(slotOffset, pureFn, thisArg) {
  73521. const bindingIndex = getBindingRoot() + slotOffset;
  73522. const lView = getLView();
  73523. return lView[bindingIndex] === NO_CHANGE ? updateBinding(lView, bindingIndex, thisArg ? pureFn.call(thisArg) : pureFn()) : getBinding(lView, bindingIndex);
  73524. }
  73525. /**
  73526. * If the value of the provided exp has changed, calls the pure function to return
  73527. * an updated value. Or if the value has not changed, returns cached value.
  73528. *
  73529. * @param slotOffset the offset from binding root to the reserved slot
  73530. * @param pureFn Function that returns an updated value
  73531. * @param exp Updated expression value
  73532. * @param thisArg Optional calling context of pureFn
  73533. * @returns Updated or cached value
  73534. *
  73535. * @codeGenApi
  73536. */
  73537. function ɵɵpureFunction1(slotOffset, pureFn, exp, thisArg) {
  73538. return pureFunction1Internal(getLView(), getBindingRoot(), slotOffset, pureFn, exp, thisArg);
  73539. }
  73540. /**
  73541. * If the value of any provided exp has changed, calls the pure function to return
  73542. * an updated value. Or if no values have changed, returns cached value.
  73543. *
  73544. * @param slotOffset the offset from binding root to the reserved slot
  73545. * @param pureFn
  73546. * @param exp1
  73547. * @param exp2
  73548. * @param thisArg Optional calling context of pureFn
  73549. * @returns Updated or cached value
  73550. *
  73551. * @codeGenApi
  73552. */
  73553. function ɵɵpureFunction2(slotOffset, pureFn, exp1, exp2, thisArg) {
  73554. return pureFunction2Internal(getLView(), getBindingRoot(), slotOffset, pureFn, exp1, exp2, thisArg);
  73555. }
  73556. /**
  73557. * If the value of any provided exp has changed, calls the pure function to return
  73558. * an updated value. Or if no values have changed, returns cached value.
  73559. *
  73560. * @param slotOffset the offset from binding root to the reserved slot
  73561. * @param pureFn
  73562. * @param exp1
  73563. * @param exp2
  73564. * @param exp3
  73565. * @param thisArg Optional calling context of pureFn
  73566. * @returns Updated or cached value
  73567. *
  73568. * @codeGenApi
  73569. */
  73570. function ɵɵpureFunction3(slotOffset, pureFn, exp1, exp2, exp3, thisArg) {
  73571. return pureFunction3Internal(getLView(), getBindingRoot(), slotOffset, pureFn, exp1, exp2, exp3, thisArg);
  73572. }
  73573. /**
  73574. * If the value of any provided exp has changed, calls the pure function to return
  73575. * an updated value. Or if no values have changed, returns cached value.
  73576. *
  73577. * @param slotOffset the offset from binding root to the reserved slot
  73578. * @param pureFn
  73579. * @param exp1
  73580. * @param exp2
  73581. * @param exp3
  73582. * @param exp4
  73583. * @param thisArg Optional calling context of pureFn
  73584. * @returns Updated or cached value
  73585. *
  73586. * @codeGenApi
  73587. */
  73588. function ɵɵpureFunction4(slotOffset, pureFn, exp1, exp2, exp3, exp4, thisArg) {
  73589. return pureFunction4Internal(getLView(), getBindingRoot(), slotOffset, pureFn, exp1, exp2, exp3, exp4, thisArg);
  73590. }
  73591. /**
  73592. * If the value of any provided exp has changed, calls the pure function to return
  73593. * an updated value. Or if no values have changed, returns cached value.
  73594. *
  73595. * @param slotOffset the offset from binding root to the reserved slot
  73596. * @param pureFn
  73597. * @param exp1
  73598. * @param exp2
  73599. * @param exp3
  73600. * @param exp4
  73601. * @param exp5
  73602. * @param thisArg Optional calling context of pureFn
  73603. * @returns Updated or cached value
  73604. *
  73605. * @codeGenApi
  73606. */
  73607. function ɵɵpureFunction5(slotOffset, pureFn, exp1, exp2, exp3, exp4, exp5, thisArg) {
  73608. const bindingIndex = getBindingRoot() + slotOffset;
  73609. const lView = getLView();
  73610. const different = bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4);
  73611. return bindingUpdated(lView, bindingIndex + 4, exp5) || different ? updateBinding(lView, bindingIndex + 5, thisArg ? pureFn.call(thisArg, exp1, exp2, exp3, exp4, exp5) : pureFn(exp1, exp2, exp3, exp4, exp5)) : getBinding(lView, bindingIndex + 5);
  73612. }
  73613. /**
  73614. * If the value of any provided exp has changed, calls the pure function to return
  73615. * an updated value. Or if no values have changed, returns cached value.
  73616. *
  73617. * @param slotOffset the offset from binding root to the reserved slot
  73618. * @param pureFn
  73619. * @param exp1
  73620. * @param exp2
  73621. * @param exp3
  73622. * @param exp4
  73623. * @param exp5
  73624. * @param exp6
  73625. * @param thisArg Optional calling context of pureFn
  73626. * @returns Updated or cached value
  73627. *
  73628. * @codeGenApi
  73629. */
  73630. function ɵɵpureFunction6(slotOffset, pureFn, exp1, exp2, exp3, exp4, exp5, exp6, thisArg) {
  73631. const bindingIndex = getBindingRoot() + slotOffset;
  73632. const lView = getLView();
  73633. const different = bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4);
  73634. return bindingUpdated2(lView, bindingIndex + 4, exp5, exp6) || different ? updateBinding(lView, bindingIndex + 6, thisArg ? pureFn.call(thisArg, exp1, exp2, exp3, exp4, exp5, exp6) : pureFn(exp1, exp2, exp3, exp4, exp5, exp6)) : getBinding(lView, bindingIndex + 6);
  73635. }
  73636. /**
  73637. * If the value of any provided exp has changed, calls the pure function to return
  73638. * an updated value. Or if no values have changed, returns cached value.
  73639. *
  73640. * @param slotOffset the offset from binding root to the reserved slot
  73641. * @param pureFn
  73642. * @param exp1
  73643. * @param exp2
  73644. * @param exp3
  73645. * @param exp4
  73646. * @param exp5
  73647. * @param exp6
  73648. * @param exp7
  73649. * @param thisArg Optional calling context of pureFn
  73650. * @returns Updated or cached value
  73651. *
  73652. * @codeGenApi
  73653. */
  73654. function ɵɵpureFunction7(slotOffset, pureFn, exp1, exp2, exp3, exp4, exp5, exp6, exp7, thisArg) {
  73655. const bindingIndex = getBindingRoot() + slotOffset;
  73656. const lView = getLView();
  73657. let different = bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4);
  73658. return bindingUpdated3(lView, bindingIndex + 4, exp5, exp6, exp7) || different ? updateBinding(lView, bindingIndex + 7, thisArg ? pureFn.call(thisArg, exp1, exp2, exp3, exp4, exp5, exp6, exp7) : pureFn(exp1, exp2, exp3, exp4, exp5, exp6, exp7)) : getBinding(lView, bindingIndex + 7);
  73659. }
  73660. /**
  73661. * If the value of any provided exp has changed, calls the pure function to return
  73662. * an updated value. Or if no values have changed, returns cached value.
  73663. *
  73664. * @param slotOffset the offset from binding root to the reserved slot
  73665. * @param pureFn
  73666. * @param exp1
  73667. * @param exp2
  73668. * @param exp3
  73669. * @param exp4
  73670. * @param exp5
  73671. * @param exp6
  73672. * @param exp7
  73673. * @param exp8
  73674. * @param thisArg Optional calling context of pureFn
  73675. * @returns Updated or cached value
  73676. *
  73677. * @codeGenApi
  73678. */
  73679. function ɵɵpureFunction8(slotOffset, pureFn, exp1, exp2, exp3, exp4, exp5, exp6, exp7, exp8, thisArg) {
  73680. const bindingIndex = getBindingRoot() + slotOffset;
  73681. const lView = getLView();
  73682. const different = bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4);
  73683. return bindingUpdated4(lView, bindingIndex + 4, exp5, exp6, exp7, exp8) || different ? updateBinding(lView, bindingIndex + 8, thisArg ? pureFn.call(thisArg, exp1, exp2, exp3, exp4, exp5, exp6, exp7, exp8) : pureFn(exp1, exp2, exp3, exp4, exp5, exp6, exp7, exp8)) : getBinding(lView, bindingIndex + 8);
  73684. }
  73685. /**
  73686. * pureFunction instruction that can support any number of bindings.
  73687. *
  73688. * If the value of any provided exp has changed, calls the pure function to return
  73689. * an updated value. Or if no values have changed, returns cached value.
  73690. *
  73691. * @param slotOffset the offset from binding root to the reserved slot
  73692. * @param pureFn A pure function that takes binding values and builds an object or array
  73693. * containing those values.
  73694. * @param exps An array of binding values
  73695. * @param thisArg Optional calling context of pureFn
  73696. * @returns Updated or cached value
  73697. *
  73698. * @codeGenApi
  73699. */
  73700. function ɵɵpureFunctionV(slotOffset, pureFn, exps, thisArg) {
  73701. return pureFunctionVInternal(getLView(), getBindingRoot(), slotOffset, pureFn, exps, thisArg);
  73702. }
  73703. /**
  73704. * Results of a pure function invocation are stored in LView in a dedicated slot that is initialized
  73705. * to NO_CHANGE. In rare situations a pure pipe might throw an exception on the very first
  73706. * invocation and not produce any valid results. In this case LView would keep holding the NO_CHANGE
  73707. * value. The NO_CHANGE is not something that we can use in expressions / bindings thus we convert
  73708. * it to `undefined`.
  73709. */
  73710. function getPureFunctionReturnValue(lView, returnValueIndex) {
  73711. ngDevMode && assertIndexInRange(lView, returnValueIndex);
  73712. const lastReturnValue = lView[returnValueIndex];
  73713. return lastReturnValue === NO_CHANGE ? undefined : lastReturnValue;
  73714. }
  73715. /**
  73716. * If the value of the provided exp has changed, calls the pure function to return
  73717. * an updated value. Or if the value has not changed, returns cached value.
  73718. *
  73719. * @param lView LView in which the function is being executed.
  73720. * @param bindingRoot Binding root index.
  73721. * @param slotOffset the offset from binding root to the reserved slot
  73722. * @param pureFn Function that returns an updated value
  73723. * @param exp Updated expression value
  73724. * @param thisArg Optional calling context of pureFn
  73725. * @returns Updated or cached value
  73726. */
  73727. function pureFunction1Internal(lView, bindingRoot, slotOffset, pureFn, exp, thisArg) {
  73728. const bindingIndex = bindingRoot + slotOffset;
  73729. return bindingUpdated(lView, bindingIndex, exp) ? updateBinding(lView, bindingIndex + 1, thisArg ? pureFn.call(thisArg, exp) : pureFn(exp)) : getPureFunctionReturnValue(lView, bindingIndex + 1);
  73730. }
  73731. /**
  73732. * If the value of any provided exp has changed, calls the pure function to return
  73733. * an updated value. Or if no values have changed, returns cached value.
  73734. *
  73735. * @param lView LView in which the function is being executed.
  73736. * @param bindingRoot Binding root index.
  73737. * @param slotOffset the offset from binding root to the reserved slot
  73738. * @param pureFn
  73739. * @param exp1
  73740. * @param exp2
  73741. * @param thisArg Optional calling context of pureFn
  73742. * @returns Updated or cached value
  73743. */
  73744. function pureFunction2Internal(lView, bindingRoot, slotOffset, pureFn, exp1, exp2, thisArg) {
  73745. const bindingIndex = bindingRoot + slotOffset;
  73746. return bindingUpdated2(lView, bindingIndex, exp1, exp2) ? updateBinding(lView, bindingIndex + 2, thisArg ? pureFn.call(thisArg, exp1, exp2) : pureFn(exp1, exp2)) : getPureFunctionReturnValue(lView, bindingIndex + 2);
  73747. }
  73748. /**
  73749. * If the value of any provided exp has changed, calls the pure function to return
  73750. * an updated value. Or if no values have changed, returns cached value.
  73751. *
  73752. * @param lView LView in which the function is being executed.
  73753. * @param bindingRoot Binding root index.
  73754. * @param slotOffset the offset from binding root to the reserved slot
  73755. * @param pureFn
  73756. * @param exp1
  73757. * @param exp2
  73758. * @param exp3
  73759. * @param thisArg Optional calling context of pureFn
  73760. * @returns Updated or cached value
  73761. */
  73762. function pureFunction3Internal(lView, bindingRoot, slotOffset, pureFn, exp1, exp2, exp3, thisArg) {
  73763. const bindingIndex = bindingRoot + slotOffset;
  73764. return bindingUpdated3(lView, bindingIndex, exp1, exp2, exp3) ? updateBinding(lView, bindingIndex + 3, thisArg ? pureFn.call(thisArg, exp1, exp2, exp3) : pureFn(exp1, exp2, exp3)) : getPureFunctionReturnValue(lView, bindingIndex + 3);
  73765. }
  73766. /**
  73767. * If the value of any provided exp has changed, calls the pure function to return
  73768. * an updated value. Or if no values have changed, returns cached value.
  73769. *
  73770. * @param lView LView in which the function is being executed.
  73771. * @param bindingRoot Binding root index.
  73772. * @param slotOffset the offset from binding root to the reserved slot
  73773. * @param pureFn
  73774. * @param exp1
  73775. * @param exp2
  73776. * @param exp3
  73777. * @param exp4
  73778. * @param thisArg Optional calling context of pureFn
  73779. * @returns Updated or cached value
  73780. *
  73781. */
  73782. function pureFunction4Internal(lView, bindingRoot, slotOffset, pureFn, exp1, exp2, exp3, exp4, thisArg) {
  73783. const bindingIndex = bindingRoot + slotOffset;
  73784. return bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4) ? updateBinding(lView, bindingIndex + 4, thisArg ? pureFn.call(thisArg, exp1, exp2, exp3, exp4) : pureFn(exp1, exp2, exp3, exp4)) : getPureFunctionReturnValue(lView, bindingIndex + 4);
  73785. }
  73786. /**
  73787. * pureFunction instruction that can support any number of bindings.
  73788. *
  73789. * If the value of any provided exp has changed, calls the pure function to return
  73790. * an updated value. Or if no values have changed, returns cached value.
  73791. *
  73792. * @param lView LView in which the function is being executed.
  73793. * @param bindingRoot Binding root index.
  73794. * @param slotOffset the offset from binding root to the reserved slot
  73795. * @param pureFn A pure function that takes binding values and builds an object or array
  73796. * containing those values.
  73797. * @param exps An array of binding values
  73798. * @param thisArg Optional calling context of pureFn
  73799. * @returns Updated or cached value
  73800. */
  73801. function pureFunctionVInternal(lView, bindingRoot, slotOffset, pureFn, exps, thisArg) {
  73802. let bindingIndex = bindingRoot + slotOffset;
  73803. let different = false;
  73804. for (let i = 0; i < exps.length; i++) {
  73805. bindingUpdated(lView, bindingIndex++, exps[i]) && (different = true);
  73806. }
  73807. return different ? updateBinding(lView, bindingIndex, pureFn.apply(thisArg, exps)) : getPureFunctionReturnValue(lView, bindingIndex);
  73808. }
  73809. /**
  73810. * @license
  73811. * Copyright Google LLC All Rights Reserved.
  73812. *
  73813. * Use of this source code is governed by an MIT-style license that can be
  73814. * found in the LICENSE file at https://angular.io/license
  73815. */
  73816. /**
  73817. * Create a pipe.
  73818. *
  73819. * @param index Pipe index where the pipe will be stored.
  73820. * @param pipeName The name of the pipe
  73821. * @returns T the instance of the pipe.
  73822. *
  73823. * @codeGenApi
  73824. */
  73825. function ɵɵpipe(index, pipeName) {
  73826. const tView = getTView();
  73827. let pipeDef;
  73828. const adjustedIndex = index + HEADER_OFFSET;
  73829. if (tView.firstCreatePass) {
  73830. // The `getPipeDef` throws if a pipe with a given name is not found
  73831. // (so we use non-null assertion below).
  73832. pipeDef = getPipeDef(pipeName, tView.pipeRegistry);
  73833. tView.data[adjustedIndex] = pipeDef;
  73834. if (pipeDef.onDestroy) {
  73835. (tView.destroyHooks || (tView.destroyHooks = [])).push(adjustedIndex, pipeDef.onDestroy);
  73836. }
  73837. } else {
  73838. pipeDef = tView.data[adjustedIndex];
  73839. }
  73840. const pipeFactory = pipeDef.factory || (pipeDef.factory = getFactoryDef(pipeDef.type, true));
  73841. const previousInjectImplementation = setInjectImplementation(ɵɵdirectiveInject);
  73842. try {
  73843. // DI for pipes is supposed to behave like directives when placed on a component
  73844. // host node, which means that we have to disable access to `viewProviders`.
  73845. const previousIncludeViewProviders = setIncludeViewProviders(false);
  73846. const pipeInstance = pipeFactory();
  73847. setIncludeViewProviders(previousIncludeViewProviders);
  73848. store(tView, getLView(), adjustedIndex, pipeInstance);
  73849. return pipeInstance;
  73850. } finally {
  73851. // we have to restore the injector implementation in finally, just in case the creation of the
  73852. // pipe throws an error.
  73853. setInjectImplementation(previousInjectImplementation);
  73854. }
  73855. }
  73856. /**
  73857. * Searches the pipe registry for a pipe with the given name. If one is found,
  73858. * returns the pipe. Otherwise, an error is thrown because the pipe cannot be resolved.
  73859. *
  73860. * @param name Name of pipe to resolve
  73861. * @param registry Full list of available pipes
  73862. * @returns Matching PipeDef
  73863. */
  73864. function getPipeDef(name, registry) {
  73865. if (registry) {
  73866. for (let i = registry.length - 1; i >= 0; i--) {
  73867. const pipeDef = registry[i];
  73868. if (name === pipeDef.name) {
  73869. return pipeDef;
  73870. }
  73871. }
  73872. }
  73873. if (ngDevMode) {
  73874. throw new RuntimeError(-302
  73875. /* RuntimeErrorCode.PIPE_NOT_FOUND */
  73876. , getPipeNotFoundErrorMessage(name));
  73877. }
  73878. }
  73879. /**
  73880. * Generates a helpful error message for the user when a pipe is not found.
  73881. *
  73882. * @param name Name of the missing pipe
  73883. * @returns The error message
  73884. */
  73885. function getPipeNotFoundErrorMessage(name) {
  73886. const lView = getLView();
  73887. const declarationLView = lView[DECLARATION_COMPONENT_VIEW];
  73888. const context = declarationLView[CONTEXT];
  73889. const hostIsStandalone = isHostComponentStandalone(lView);
  73890. const componentInfoMessage = context ? ` in the '${context.constructor.name}' component` : '';
  73891. const verifyMessage = `Verify that it is ${hostIsStandalone ? 'included in the \'@Component.imports\' of this component' : 'declared or imported in this module'}`;
  73892. const errorMessage = `The pipe '${name}' could not be found${componentInfoMessage}. ${verifyMessage}`;
  73893. return errorMessage;
  73894. }
  73895. /**
  73896. * Invokes a pipe with 1 arguments.
  73897. *
  73898. * This instruction acts as a guard to {@link PipeTransform#transform} invoking
  73899. * the pipe only when an input to the pipe changes.
  73900. *
  73901. * @param index Pipe index where the pipe was stored on creation.
  73902. * @param slotOffset the offset in the reserved slot space
  73903. * @param v1 1st argument to {@link PipeTransform#transform}.
  73904. *
  73905. * @codeGenApi
  73906. */
  73907. function ɵɵpipeBind1(index, slotOffset, v1) {
  73908. const adjustedIndex = index + HEADER_OFFSET;
  73909. const lView = getLView();
  73910. const pipeInstance = load(lView, adjustedIndex);
  73911. return isPure(lView, adjustedIndex) ? pureFunction1Internal(lView, getBindingRoot(), slotOffset, pipeInstance.transform, v1, pipeInstance) : pipeInstance.transform(v1);
  73912. }
  73913. /**
  73914. * Invokes a pipe with 2 arguments.
  73915. *
  73916. * This instruction acts as a guard to {@link PipeTransform#transform} invoking
  73917. * the pipe only when an input to the pipe changes.
  73918. *
  73919. * @param index Pipe index where the pipe was stored on creation.
  73920. * @param slotOffset the offset in the reserved slot space
  73921. * @param v1 1st argument to {@link PipeTransform#transform}.
  73922. * @param v2 2nd argument to {@link PipeTransform#transform}.
  73923. *
  73924. * @codeGenApi
  73925. */
  73926. function ɵɵpipeBind2(index, slotOffset, v1, v2) {
  73927. const adjustedIndex = index + HEADER_OFFSET;
  73928. const lView = getLView();
  73929. const pipeInstance = load(lView, adjustedIndex);
  73930. return isPure(lView, adjustedIndex) ? pureFunction2Internal(lView, getBindingRoot(), slotOffset, pipeInstance.transform, v1, v2, pipeInstance) : pipeInstance.transform(v1, v2);
  73931. }
  73932. /**
  73933. * Invokes a pipe with 3 arguments.
  73934. *
  73935. * This instruction acts as a guard to {@link PipeTransform#transform} invoking
  73936. * the pipe only when an input to the pipe changes.
  73937. *
  73938. * @param index Pipe index where the pipe was stored on creation.
  73939. * @param slotOffset the offset in the reserved slot space
  73940. * @param v1 1st argument to {@link PipeTransform#transform}.
  73941. * @param v2 2nd argument to {@link PipeTransform#transform}.
  73942. * @param v3 4rd argument to {@link PipeTransform#transform}.
  73943. *
  73944. * @codeGenApi
  73945. */
  73946. function ɵɵpipeBind3(index, slotOffset, v1, v2, v3) {
  73947. const adjustedIndex = index + HEADER_OFFSET;
  73948. const lView = getLView();
  73949. const pipeInstance = load(lView, adjustedIndex);
  73950. return isPure(lView, adjustedIndex) ? pureFunction3Internal(lView, getBindingRoot(), slotOffset, pipeInstance.transform, v1, v2, v3, pipeInstance) : pipeInstance.transform(v1, v2, v3);
  73951. }
  73952. /**
  73953. * Invokes a pipe with 4 arguments.
  73954. *
  73955. * This instruction acts as a guard to {@link PipeTransform#transform} invoking
  73956. * the pipe only when an input to the pipe changes.
  73957. *
  73958. * @param index Pipe index where the pipe was stored on creation.
  73959. * @param slotOffset the offset in the reserved slot space
  73960. * @param v1 1st argument to {@link PipeTransform#transform}.
  73961. * @param v2 2nd argument to {@link PipeTransform#transform}.
  73962. * @param v3 3rd argument to {@link PipeTransform#transform}.
  73963. * @param v4 4th argument to {@link PipeTransform#transform}.
  73964. *
  73965. * @codeGenApi
  73966. */
  73967. function ɵɵpipeBind4(index, slotOffset, v1, v2, v3, v4) {
  73968. const adjustedIndex = index + HEADER_OFFSET;
  73969. const lView = getLView();
  73970. const pipeInstance = load(lView, adjustedIndex);
  73971. return isPure(lView, adjustedIndex) ? pureFunction4Internal(lView, getBindingRoot(), slotOffset, pipeInstance.transform, v1, v2, v3, v4, pipeInstance) : pipeInstance.transform(v1, v2, v3, v4);
  73972. }
  73973. /**
  73974. * Invokes a pipe with variable number of arguments.
  73975. *
  73976. * This instruction acts as a guard to {@link PipeTransform#transform} invoking
  73977. * the pipe only when an input to the pipe changes.
  73978. *
  73979. * @param index Pipe index where the pipe was stored on creation.
  73980. * @param slotOffset the offset in the reserved slot space
  73981. * @param values Array of arguments to pass to {@link PipeTransform#transform} method.
  73982. *
  73983. * @codeGenApi
  73984. */
  73985. function ɵɵpipeBindV(index, slotOffset, values) {
  73986. const adjustedIndex = index + HEADER_OFFSET;
  73987. const lView = getLView();
  73988. const pipeInstance = load(lView, adjustedIndex);
  73989. return isPure(lView, adjustedIndex) ? pureFunctionVInternal(lView, getBindingRoot(), slotOffset, pipeInstance.transform, values, pipeInstance) : pipeInstance.transform.apply(pipeInstance, values);
  73990. }
  73991. function isPure(lView, index) {
  73992. return lView[TVIEW].data[index].pure;
  73993. }
  73994. /**
  73995. * @license
  73996. * Copyright Google LLC All Rights Reserved.
  73997. *
  73998. * Use of this source code is governed by an MIT-style license that can be
  73999. * found in the LICENSE file at https://angular.io/license
  74000. */
  74001. class EventEmitter_ extends rxjs__WEBPACK_IMPORTED_MODULE_0__.Subject {
  74002. constructor(isAsync = false) {
  74003. super();
  74004. this.__isAsync = isAsync;
  74005. }
  74006. emit(value) {
  74007. super.next(value);
  74008. }
  74009. subscribe(observerOrNext, error, complete) {
  74010. var _a, _b, _c;
  74011. let nextFn = observerOrNext;
  74012. let errorFn = error || (() => null);
  74013. let completeFn = complete;
  74014. if (observerOrNext && typeof observerOrNext === 'object') {
  74015. const observer = observerOrNext;
  74016. nextFn = (_a = observer.next) === null || _a === void 0 ? void 0 : _a.bind(observer);
  74017. errorFn = (_b = observer.error) === null || _b === void 0 ? void 0 : _b.bind(observer);
  74018. completeFn = (_c = observer.complete) === null || _c === void 0 ? void 0 : _c.bind(observer);
  74019. }
  74020. if (this.__isAsync) {
  74021. errorFn = _wrapInTimeout(errorFn);
  74022. if (nextFn) {
  74023. nextFn = _wrapInTimeout(nextFn);
  74024. }
  74025. if (completeFn) {
  74026. completeFn = _wrapInTimeout(completeFn);
  74027. }
  74028. }
  74029. const sink = super.subscribe({
  74030. next: nextFn,
  74031. error: errorFn,
  74032. complete: completeFn
  74033. });
  74034. if (observerOrNext instanceof rxjs__WEBPACK_IMPORTED_MODULE_1__.Subscription) {
  74035. observerOrNext.add(sink);
  74036. }
  74037. return sink;
  74038. }
  74039. }
  74040. function _wrapInTimeout(fn) {
  74041. return value => {
  74042. setTimeout(fn, undefined, value);
  74043. };
  74044. }
  74045. /**
  74046. * @publicApi
  74047. */
  74048. const EventEmitter = EventEmitter_;
  74049. /**
  74050. * @license
  74051. * Copyright Google LLC All Rights Reserved.
  74052. *
  74053. * Use of this source code is governed by an MIT-style license that can be
  74054. * found in the LICENSE file at https://angular.io/license
  74055. */
  74056. function symbolIterator() {
  74057. return this._results[getSymbolIterator()]();
  74058. }
  74059. /**
  74060. * An unmodifiable list of items that Angular keeps up to date when the state
  74061. * of the application changes.
  74062. *
  74063. * The type of object that {@link ViewChildren}, {@link ContentChildren}, and {@link QueryList}
  74064. * provide.
  74065. *
  74066. * Implements an iterable interface, therefore it can be used in both ES6
  74067. * javascript `for (var i of items)` loops as well as in Angular templates with
  74068. * `*ngFor="let i of myList"`.
  74069. *
  74070. * Changes can be observed by subscribing to the changes `Observable`.
  74071. *
  74072. * NOTE: In the future this class will implement an `Observable` interface.
  74073. *
  74074. * @usageNotes
  74075. * ### Example
  74076. * ```typescript
  74077. * @Component({...})
  74078. * class Container {
  74079. * @ViewChildren(Item) items:QueryList<Item>;
  74080. * }
  74081. * ```
  74082. *
  74083. * @publicApi
  74084. */
  74085. class QueryList {
  74086. /**
  74087. * @param emitDistinctChangesOnly Whether `QueryList.changes` should fire only when actual change
  74088. * has occurred. Or if it should fire when query is recomputed. (recomputing could resolve in
  74089. * the same result)
  74090. */
  74091. constructor(_emitDistinctChangesOnly = false) {
  74092. this._emitDistinctChangesOnly = _emitDistinctChangesOnly;
  74093. this.dirty = true;
  74094. this._results = [];
  74095. this._changesDetected = false;
  74096. this._changes = null;
  74097. this.length = 0;
  74098. this.first = undefined;
  74099. this.last = undefined; // This function should be declared on the prototype, but doing so there will cause the class
  74100. // declaration to have side-effects and become not tree-shakable. For this reason we do it in
  74101. // the constructor.
  74102. // [getSymbolIterator()](): Iterator<T> { ... }
  74103. const symbol = getSymbolIterator();
  74104. const proto = QueryList.prototype;
  74105. if (!proto[symbol]) proto[symbol] = symbolIterator;
  74106. }
  74107. /**
  74108. * Returns `Observable` of `QueryList` notifying the subscriber of changes.
  74109. */
  74110. get changes() {
  74111. return this._changes || (this._changes = new EventEmitter());
  74112. }
  74113. /**
  74114. * Returns the QueryList entry at `index`.
  74115. */
  74116. get(index) {
  74117. return this._results[index];
  74118. }
  74119. /**
  74120. * See
  74121. * [Array.map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map)
  74122. */
  74123. map(fn) {
  74124. return this._results.map(fn);
  74125. }
  74126. /**
  74127. * See
  74128. * [Array.filter](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter)
  74129. */
  74130. filter(fn) {
  74131. return this._results.filter(fn);
  74132. }
  74133. /**
  74134. * See
  74135. * [Array.find](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find)
  74136. */
  74137. find(fn) {
  74138. return this._results.find(fn);
  74139. }
  74140. /**
  74141. * See
  74142. * [Array.reduce](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce)
  74143. */
  74144. reduce(fn, init) {
  74145. return this._results.reduce(fn, init);
  74146. }
  74147. /**
  74148. * See
  74149. * [Array.forEach](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach)
  74150. */
  74151. forEach(fn) {
  74152. this._results.forEach(fn);
  74153. }
  74154. /**
  74155. * See
  74156. * [Array.some](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/some)
  74157. */
  74158. some(fn) {
  74159. return this._results.some(fn);
  74160. }
  74161. /**
  74162. * Returns a copy of the internal results list as an Array.
  74163. */
  74164. toArray() {
  74165. return this._results.slice();
  74166. }
  74167. toString() {
  74168. return this._results.toString();
  74169. }
  74170. /**
  74171. * Updates the stored data of the query list, and resets the `dirty` flag to `false`, so that
  74172. * on change detection, it will not notify of changes to the queries, unless a new change
  74173. * occurs.
  74174. *
  74175. * @param resultsTree The query results to store
  74176. * @param identityAccessor Optional function for extracting stable object identity from a value
  74177. * in the array. This function is executed for each element of the query result list while
  74178. * comparing current query list with the new one (provided as a first argument of the `reset`
  74179. * function) to detect if the lists are different. If the function is not provided, elements
  74180. * are compared as is (without any pre-processing).
  74181. */
  74182. reset(resultsTree, identityAccessor) {
  74183. // Cast to `QueryListInternal` so that we can mutate fields which are readonly for the usage of
  74184. // QueryList (but not for QueryList itself.)
  74185. const self = this;
  74186. self.dirty = false;
  74187. const newResultFlat = flatten(resultsTree);
  74188. if (this._changesDetected = !arrayEquals(self._results, newResultFlat, identityAccessor)) {
  74189. self._results = newResultFlat;
  74190. self.length = newResultFlat.length;
  74191. self.last = newResultFlat[this.length - 1];
  74192. self.first = newResultFlat[0];
  74193. }
  74194. }
  74195. /**
  74196. * Triggers a change event by emitting on the `changes` {@link EventEmitter}.
  74197. */
  74198. notifyOnChanges() {
  74199. if (this._changes && (this._changesDetected || !this._emitDistinctChangesOnly)) this._changes.emit(this);
  74200. }
  74201. /** internal */
  74202. setDirty() {
  74203. this.dirty = true;
  74204. }
  74205. /** internal */
  74206. destroy() {
  74207. this.changes.complete();
  74208. this.changes.unsubscribe();
  74209. }
  74210. }
  74211. Symbol.iterator;
  74212. /**
  74213. * @license
  74214. * Copyright Google LLC All Rights Reserved.
  74215. *
  74216. * Use of this source code is governed by an MIT-style license that can be
  74217. * found in the LICENSE file at https://angular.io/license
  74218. */
  74219. /**
  74220. * Represents an embedded template that can be used to instantiate embedded views.
  74221. * To instantiate embedded views based on a template, use the `ViewContainerRef`
  74222. * method `createEmbeddedView()`.
  74223. *
  74224. * Access a `TemplateRef` instance by placing a directive on an `<ng-template>`
  74225. * element (or directive prefixed with `*`). The `TemplateRef` for the embedded view
  74226. * is injected into the constructor of the directive,
  74227. * using the `TemplateRef` token.
  74228. *
  74229. * You can also use a `Query` to find a `TemplateRef` associated with
  74230. * a component or a directive.
  74231. *
  74232. * @see `ViewContainerRef`
  74233. * @see [Navigate the Component Tree with DI](guide/dependency-injection-navtree)
  74234. *
  74235. * @publicApi
  74236. */
  74237. class TemplateRef {}
  74238. /**
  74239. * @internal
  74240. * @nocollapse
  74241. */
  74242. TemplateRef.__NG_ELEMENT_ID__ = injectTemplateRef;
  74243. const ViewEngineTemplateRef = TemplateRef; // TODO(alxhub): combine interface and implementation. Currently this is challenging since something
  74244. // in g3 depends on them being separate.
  74245. const R3TemplateRef = class TemplateRef extends ViewEngineTemplateRef {
  74246. constructor(_declarationLView, _declarationTContainer, elementRef) {
  74247. super();
  74248. this._declarationLView = _declarationLView;
  74249. this._declarationTContainer = _declarationTContainer;
  74250. this.elementRef = elementRef;
  74251. }
  74252. createEmbeddedView(context, injector) {
  74253. const embeddedTView = this._declarationTContainer.tViews;
  74254. const embeddedLView = createLView(this._declarationLView, embeddedTView, context, 16
  74255. /* LViewFlags.CheckAlways */
  74256. , null, embeddedTView.declTNode, null, null, null, null, injector || null);
  74257. const declarationLContainer = this._declarationLView[this._declarationTContainer.index];
  74258. ngDevMode && assertLContainer(declarationLContainer);
  74259. embeddedLView[DECLARATION_LCONTAINER] = declarationLContainer;
  74260. const declarationViewLQueries = this._declarationLView[QUERIES];
  74261. if (declarationViewLQueries !== null) {
  74262. embeddedLView[QUERIES] = declarationViewLQueries.createEmbeddedView(embeddedTView);
  74263. }
  74264. renderView(embeddedTView, embeddedLView, context);
  74265. return new ViewRef$1(embeddedLView);
  74266. }
  74267. };
  74268. /**
  74269. * Creates a TemplateRef given a node.
  74270. *
  74271. * @returns The TemplateRef instance to use
  74272. */
  74273. function injectTemplateRef() {
  74274. return createTemplateRef(getCurrentTNode(), getLView());
  74275. }
  74276. /**
  74277. * Creates a TemplateRef and stores it on the injector.
  74278. *
  74279. * @param hostTNode The node on which a TemplateRef is requested
  74280. * @param hostLView The `LView` to which the node belongs
  74281. * @returns The TemplateRef instance or null if we can't create a TemplateRef on a given node type
  74282. */
  74283. function createTemplateRef(hostTNode, hostLView) {
  74284. if (hostTNode.type & 4
  74285. /* TNodeType.Container */
  74286. ) {
  74287. ngDevMode && assertDefined(hostTNode.tViews, 'TView must be allocated');
  74288. return new R3TemplateRef(hostLView, hostTNode, createElementRef(hostTNode, hostLView));
  74289. }
  74290. return null;
  74291. }
  74292. /**
  74293. * @license
  74294. * Copyright Google LLC All Rights Reserved.
  74295. *
  74296. * Use of this source code is governed by an MIT-style license that can be
  74297. * found in the LICENSE file at https://angular.io/license
  74298. */
  74299. /**
  74300. * Represents a container where one or more views can be attached to a component.
  74301. *
  74302. * Can contain *host views* (created by instantiating a
  74303. * component with the `createComponent()` method), and *embedded views*
  74304. * (created by instantiating a `TemplateRef` with the `createEmbeddedView()` method).
  74305. *
  74306. * A view container instance can contain other view containers,
  74307. * creating a [view hierarchy](guide/glossary#view-tree).
  74308. *
  74309. * @see `ComponentRef`
  74310. * @see `EmbeddedViewRef`
  74311. *
  74312. * @publicApi
  74313. */
  74314. class ViewContainerRef {}
  74315. /**
  74316. * @internal
  74317. * @nocollapse
  74318. */
  74319. ViewContainerRef.__NG_ELEMENT_ID__ = injectViewContainerRef;
  74320. /**
  74321. * Creates a ViewContainerRef and stores it on the injector. Or, if the ViewContainerRef
  74322. * already exists, retrieves the existing ViewContainerRef.
  74323. *
  74324. * @returns The ViewContainerRef instance to use
  74325. */
  74326. function injectViewContainerRef() {
  74327. const previousTNode = getCurrentTNode();
  74328. return createContainerRef(previousTNode, getLView());
  74329. }
  74330. const VE_ViewContainerRef = ViewContainerRef; // TODO(alxhub): cleaning up this indirection triggers a subtle bug in Closure in g3. Once the fix
  74331. // for that lands, this can be cleaned up.
  74332. const R3ViewContainerRef = class ViewContainerRef extends VE_ViewContainerRef {
  74333. constructor(_lContainer, _hostTNode, _hostLView) {
  74334. super();
  74335. this._lContainer = _lContainer;
  74336. this._hostTNode = _hostTNode;
  74337. this._hostLView = _hostLView;
  74338. }
  74339. get element() {
  74340. return createElementRef(this._hostTNode, this._hostLView);
  74341. }
  74342. get injector() {
  74343. return new NodeInjector(this._hostTNode, this._hostLView);
  74344. }
  74345. /** @deprecated No replacement */
  74346. get parentInjector() {
  74347. const parentLocation = getParentInjectorLocation(this._hostTNode, this._hostLView);
  74348. if (hasParentInjector(parentLocation)) {
  74349. const parentView = getParentInjectorView(parentLocation, this._hostLView);
  74350. const injectorIndex = getParentInjectorIndex(parentLocation);
  74351. ngDevMode && assertNodeInjector(parentView, injectorIndex);
  74352. const parentTNode = parentView[TVIEW].data[injectorIndex + 8
  74353. /* NodeInjectorOffset.TNODE */
  74354. ];
  74355. return new NodeInjector(parentTNode, parentView);
  74356. } else {
  74357. return new NodeInjector(null, this._hostLView);
  74358. }
  74359. }
  74360. clear() {
  74361. while (this.length > 0) {
  74362. this.remove(this.length - 1);
  74363. }
  74364. }
  74365. get(index) {
  74366. const viewRefs = getViewRefs(this._lContainer);
  74367. return viewRefs !== null && viewRefs[index] || null;
  74368. }
  74369. get length() {
  74370. return this._lContainer.length - CONTAINER_HEADER_OFFSET;
  74371. }
  74372. createEmbeddedView(templateRef, context, indexOrOptions) {
  74373. let index;
  74374. let injector;
  74375. if (typeof indexOrOptions === 'number') {
  74376. index = indexOrOptions;
  74377. } else if (indexOrOptions != null) {
  74378. index = indexOrOptions.index;
  74379. injector = indexOrOptions.injector;
  74380. }
  74381. const viewRef = templateRef.createEmbeddedView(context || {}, injector);
  74382. this.insert(viewRef, index);
  74383. return viewRef;
  74384. }
  74385. createComponent(componentFactoryOrType, indexOrOptions, injector, projectableNodes, environmentInjector) {
  74386. const isComponentFactory = componentFactoryOrType && !isType(componentFactoryOrType);
  74387. let index; // This function supports 2 signatures and we need to handle options correctly for both:
  74388. // 1. When first argument is a Component type. This signature also requires extra
  74389. // options to be provided as as object (more ergonomic option).
  74390. // 2. First argument is a Component factory. In this case extra options are represented as
  74391. // positional arguments. This signature is less ergonomic and will be deprecated.
  74392. if (isComponentFactory) {
  74393. if (ngDevMode) {
  74394. assertEqual(typeof indexOrOptions !== 'object', true, 'It looks like Component factory was provided as the first argument ' + 'and an options object as the second argument. This combination of arguments ' + 'is incompatible. You can either change the first argument to provide Component ' + 'type or change the second argument to be a number (representing an index at ' + 'which to insert the new component\'s host view into this container)');
  74395. }
  74396. index = indexOrOptions;
  74397. } else {
  74398. if (ngDevMode) {
  74399. assertDefined(getComponentDef(componentFactoryOrType), `Provided Component class doesn't contain Component definition. ` + `Please check whether provided class has @Component decorator.`);
  74400. assertEqual(typeof indexOrOptions !== 'number', true, 'It looks like Component type was provided as the first argument ' + 'and a number (representing an index at which to insert the new component\'s ' + 'host view into this container as the second argument. This combination of arguments ' + 'is incompatible. Please use an object as the second argument instead.');
  74401. }
  74402. const options = indexOrOptions || {};
  74403. if (ngDevMode && options.environmentInjector && options.ngModuleRef) {
  74404. throwError(`Cannot pass both environmentInjector and ngModuleRef options to createComponent().`);
  74405. }
  74406. index = options.index;
  74407. injector = options.injector;
  74408. projectableNodes = options.projectableNodes;
  74409. environmentInjector = options.environmentInjector || options.ngModuleRef;
  74410. }
  74411. const componentFactory = isComponentFactory ? componentFactoryOrType : new ComponentFactory(getComponentDef(componentFactoryOrType));
  74412. const contextInjector = injector || this.parentInjector; // If an `NgModuleRef` is not provided explicitly, try retrieving it from the DI tree.
  74413. if (!environmentInjector && componentFactory.ngModule == null) {
  74414. // For the `ComponentFactory` case, entering this logic is very unlikely, since we expect that
  74415. // an instance of a `ComponentFactory`, resolved via `ComponentFactoryResolver` would have an
  74416. // `ngModule` field. This is possible in some test scenarios and potentially in some JIT-based
  74417. // use-cases. For the `ComponentFactory` case we preserve backwards-compatibility and try
  74418. // using a provided injector first, then fall back to the parent injector of this
  74419. // `ViewContainerRef` instance.
  74420. //
  74421. // For the factory-less case, it's critical to establish a connection with the module
  74422. // injector tree (by retrieving an instance of an `NgModuleRef` and accessing its injector),
  74423. // so that a component can use DI tokens provided in MgModules. For this reason, we can not
  74424. // rely on the provided injector, since it might be detached from the DI tree (for example, if
  74425. // it was created via `Injector.create` without specifying a parent injector, or if an
  74426. // injector is retrieved from an `NgModuleRef` created via `createNgModule` using an
  74427. // NgModule outside of a module tree). Instead, we always use `ViewContainerRef`'s parent
  74428. // injector, which is normally connected to the DI tree, which includes module injector
  74429. // subtree.
  74430. const _injector = isComponentFactory ? contextInjector : this.parentInjector; // DO NOT REFACTOR. The code here used to have a `injector.get(NgModuleRef, null) ||
  74431. // undefined` expression which seems to cause internal google apps to fail. This is documented
  74432. // in the following internal bug issue: go/b/142967802
  74433. const result = _injector.get(EnvironmentInjector, null);
  74434. if (result) {
  74435. environmentInjector = result;
  74436. }
  74437. }
  74438. const componentRef = componentFactory.create(contextInjector, projectableNodes, undefined, environmentInjector);
  74439. this.insert(componentRef.hostView, index);
  74440. return componentRef;
  74441. }
  74442. insert(viewRef, index) {
  74443. const lView = viewRef._lView;
  74444. const tView = lView[TVIEW];
  74445. if (ngDevMode && viewRef.destroyed) {
  74446. throw new Error('Cannot insert a destroyed View in a ViewContainer!');
  74447. }
  74448. if (viewAttachedToContainer(lView)) {
  74449. // If view is already attached, detach it first so we clean up references appropriately.
  74450. const prevIdx = this.indexOf(viewRef); // A view might be attached either to this or a different container. The `prevIdx` for
  74451. // those cases will be:
  74452. // equal to -1 for views attached to this ViewContainerRef
  74453. // >= 0 for views attached to a different ViewContainerRef
  74454. if (prevIdx !== -1) {
  74455. this.detach(prevIdx);
  74456. } else {
  74457. const prevLContainer = lView[PARENT];
  74458. ngDevMode && assertEqual(isLContainer(prevLContainer), true, 'An attached view should have its PARENT point to a container.'); // We need to re-create a R3ViewContainerRef instance since those are not stored on
  74459. // LView (nor anywhere else).
  74460. const prevVCRef = new R3ViewContainerRef(prevLContainer, prevLContainer[T_HOST], prevLContainer[PARENT]);
  74461. prevVCRef.detach(prevVCRef.indexOf(viewRef));
  74462. }
  74463. } // Logical operation of adding `LView` to `LContainer`
  74464. const adjustedIdx = this._adjustIndex(index);
  74465. const lContainer = this._lContainer;
  74466. insertView(tView, lView, lContainer, adjustedIdx); // Physical operation of adding the DOM nodes.
  74467. const beforeNode = getBeforeNodeForView(adjustedIdx, lContainer);
  74468. const renderer = lView[RENDERER];
  74469. const parentRNode = nativeParentNode(renderer, lContainer[NATIVE]);
  74470. if (parentRNode !== null) {
  74471. addViewToContainer(tView, lContainer[T_HOST], renderer, lView, parentRNode, beforeNode);
  74472. }
  74473. viewRef.attachToViewContainerRef();
  74474. addToArray(getOrCreateViewRefs(lContainer), adjustedIdx, viewRef);
  74475. return viewRef;
  74476. }
  74477. move(viewRef, newIndex) {
  74478. if (ngDevMode && viewRef.destroyed) {
  74479. throw new Error('Cannot move a destroyed View in a ViewContainer!');
  74480. }
  74481. return this.insert(viewRef, newIndex);
  74482. }
  74483. indexOf(viewRef) {
  74484. const viewRefsArr = getViewRefs(this._lContainer);
  74485. return viewRefsArr !== null ? viewRefsArr.indexOf(viewRef) : -1;
  74486. }
  74487. remove(index) {
  74488. const adjustedIdx = this._adjustIndex(index, -1);
  74489. const detachedView = detachView(this._lContainer, adjustedIdx);
  74490. if (detachedView) {
  74491. // Before destroying the view, remove it from the container's array of `ViewRef`s.
  74492. // This ensures the view container length is updated before calling
  74493. // `destroyLView`, which could recursively call view container methods that
  74494. // rely on an accurate container length.
  74495. // (e.g. a method on this view container being called by a child directive's OnDestroy
  74496. // lifecycle hook)
  74497. removeFromArray(getOrCreateViewRefs(this._lContainer), adjustedIdx);
  74498. destroyLView(detachedView[TVIEW], detachedView);
  74499. }
  74500. }
  74501. detach(index) {
  74502. const adjustedIdx = this._adjustIndex(index, -1);
  74503. const view = detachView(this._lContainer, adjustedIdx);
  74504. const wasDetached = view && removeFromArray(getOrCreateViewRefs(this._lContainer), adjustedIdx) != null;
  74505. return wasDetached ? new ViewRef$1(view) : null;
  74506. }
  74507. _adjustIndex(index, shift = 0) {
  74508. if (index == null) {
  74509. return this.length + shift;
  74510. }
  74511. if (ngDevMode) {
  74512. assertGreaterThan(index, -1, `ViewRef index must be positive, got ${index}`); // +1 because it's legal to insert at the end.
  74513. assertLessThan(index, this.length + 1 + shift, 'index');
  74514. }
  74515. return index;
  74516. }
  74517. };
  74518. function getViewRefs(lContainer) {
  74519. return lContainer[VIEW_REFS];
  74520. }
  74521. function getOrCreateViewRefs(lContainer) {
  74522. return lContainer[VIEW_REFS] || (lContainer[VIEW_REFS] = []);
  74523. }
  74524. /**
  74525. * Creates a ViewContainerRef and stores it on the injector.
  74526. *
  74527. * @param ViewContainerRefToken The ViewContainerRef type
  74528. * @param ElementRefToken The ElementRef type
  74529. * @param hostTNode The node that is requesting a ViewContainerRef
  74530. * @param hostLView The view to which the node belongs
  74531. * @returns The ViewContainerRef instance to use
  74532. */
  74533. function createContainerRef(hostTNode, hostLView) {
  74534. ngDevMode && assertTNodeType(hostTNode, 12
  74535. /* TNodeType.AnyContainer */
  74536. | 3
  74537. /* TNodeType.AnyRNode */
  74538. );
  74539. let lContainer;
  74540. const slotValue = hostLView[hostTNode.index];
  74541. if (isLContainer(slotValue)) {
  74542. // If the host is a container, we don't need to create a new LContainer
  74543. lContainer = slotValue;
  74544. } else {
  74545. let commentNode; // If the host is an element container, the native host element is guaranteed to be a
  74546. // comment and we can reuse that comment as anchor element for the new LContainer.
  74547. // The comment node in question is already part of the DOM structure so we don't need to append
  74548. // it again.
  74549. if (hostTNode.type & 8
  74550. /* TNodeType.ElementContainer */
  74551. ) {
  74552. commentNode = unwrapRNode(slotValue);
  74553. } else {
  74554. // If the host is a regular element, we have to insert a comment node manually which will
  74555. // be used as an anchor when inserting elements. In this specific case we use low-level DOM
  74556. // manipulation to insert it.
  74557. const renderer = hostLView[RENDERER];
  74558. ngDevMode && ngDevMode.rendererCreateComment++;
  74559. commentNode = renderer.createComment(ngDevMode ? 'container' : '');
  74560. const hostNative = getNativeByTNode(hostTNode, hostLView);
  74561. const parentOfHostNative = nativeParentNode(renderer, hostNative);
  74562. nativeInsertBefore(renderer, parentOfHostNative, commentNode, nativeNextSibling(renderer, hostNative), false);
  74563. }
  74564. hostLView[hostTNode.index] = lContainer = createLContainer(slotValue, hostLView, commentNode, hostTNode);
  74565. addToViewTree(hostLView, lContainer);
  74566. }
  74567. return new R3ViewContainerRef(lContainer, hostTNode, hostLView);
  74568. }
  74569. /**
  74570. * @license
  74571. * Copyright Google LLC All Rights Reserved.
  74572. *
  74573. * Use of this source code is governed by an MIT-style license that can be
  74574. * found in the LICENSE file at https://angular.io/license
  74575. */
  74576. // Note: This hack is necessary so we don't erroneously get a circular dependency
  74577. // failure based on types.
  74578. const unusedValueExportToPlacateAjd$1 = 1;
  74579. /**
  74580. * @license
  74581. * Copyright Google LLC All Rights Reserved.
  74582. *
  74583. * Use of this source code is governed by an MIT-style license that can be
  74584. * found in the LICENSE file at https://angular.io/license
  74585. */
  74586. // Note: This hack is necessary so we don't erroneously get a circular dependency
  74587. // failure based on types.
  74588. const unusedValueExportToPlacateAjd = 1;
  74589. /**
  74590. * @license
  74591. * Copyright Google LLC All Rights Reserved.
  74592. *
  74593. * Use of this source code is governed by an MIT-style license that can be
  74594. * found in the LICENSE file at https://angular.io/license
  74595. */
  74596. const unusedValueToPlacateAjd = unusedValueExportToPlacateAjd$1 + unusedValueExportToPlacateAjd$6 + unusedValueExportToPlacateAjd$5 + unusedValueExportToPlacateAjd;
  74597. class LQuery_ {
  74598. constructor(queryList) {
  74599. this.queryList = queryList;
  74600. this.matches = null;
  74601. }
  74602. clone() {
  74603. return new LQuery_(this.queryList);
  74604. }
  74605. setDirty() {
  74606. this.queryList.setDirty();
  74607. }
  74608. }
  74609. class LQueries_ {
  74610. constructor(queries = []) {
  74611. this.queries = queries;
  74612. }
  74613. createEmbeddedView(tView) {
  74614. const tQueries = tView.queries;
  74615. if (tQueries !== null) {
  74616. const noOfInheritedQueries = tView.contentQueries !== null ? tView.contentQueries[0] : tQueries.length;
  74617. const viewLQueries = []; // An embedded view has queries propagated from a declaration view at the beginning of the
  74618. // TQueries collection and up until a first content query declared in the embedded view. Only
  74619. // propagated LQueries are created at this point (LQuery corresponding to declared content
  74620. // queries will be instantiated from the content query instructions for each directive).
  74621. for (let i = 0; i < noOfInheritedQueries; i++) {
  74622. const tQuery = tQueries.getByIndex(i);
  74623. const parentLQuery = this.queries[tQuery.indexInDeclarationView];
  74624. viewLQueries.push(parentLQuery.clone());
  74625. }
  74626. return new LQueries_(viewLQueries);
  74627. }
  74628. return null;
  74629. }
  74630. insertView(tView) {
  74631. this.dirtyQueriesWithMatches(tView);
  74632. }
  74633. detachView(tView) {
  74634. this.dirtyQueriesWithMatches(tView);
  74635. }
  74636. dirtyQueriesWithMatches(tView) {
  74637. for (let i = 0; i < this.queries.length; i++) {
  74638. if (getTQuery(tView, i).matches !== null) {
  74639. this.queries[i].setDirty();
  74640. }
  74641. }
  74642. }
  74643. }
  74644. class TQueryMetadata_ {
  74645. constructor(predicate, flags, read = null) {
  74646. this.predicate = predicate;
  74647. this.flags = flags;
  74648. this.read = read;
  74649. }
  74650. }
  74651. class TQueries_ {
  74652. constructor(queries = []) {
  74653. this.queries = queries;
  74654. }
  74655. elementStart(tView, tNode) {
  74656. ngDevMode && assertFirstCreatePass(tView, 'Queries should collect results on the first template pass only');
  74657. for (let i = 0; i < this.queries.length; i++) {
  74658. this.queries[i].elementStart(tView, tNode);
  74659. }
  74660. }
  74661. elementEnd(tNode) {
  74662. for (let i = 0; i < this.queries.length; i++) {
  74663. this.queries[i].elementEnd(tNode);
  74664. }
  74665. }
  74666. embeddedTView(tNode) {
  74667. let queriesForTemplateRef = null;
  74668. for (let i = 0; i < this.length; i++) {
  74669. const childQueryIndex = queriesForTemplateRef !== null ? queriesForTemplateRef.length : 0;
  74670. const tqueryClone = this.getByIndex(i).embeddedTView(tNode, childQueryIndex);
  74671. if (tqueryClone) {
  74672. tqueryClone.indexInDeclarationView = i;
  74673. if (queriesForTemplateRef !== null) {
  74674. queriesForTemplateRef.push(tqueryClone);
  74675. } else {
  74676. queriesForTemplateRef = [tqueryClone];
  74677. }
  74678. }
  74679. }
  74680. return queriesForTemplateRef !== null ? new TQueries_(queriesForTemplateRef) : null;
  74681. }
  74682. template(tView, tNode) {
  74683. ngDevMode && assertFirstCreatePass(tView, 'Queries should collect results on the first template pass only');
  74684. for (let i = 0; i < this.queries.length; i++) {
  74685. this.queries[i].template(tView, tNode);
  74686. }
  74687. }
  74688. getByIndex(index) {
  74689. ngDevMode && assertIndexInRange(this.queries, index);
  74690. return this.queries[index];
  74691. }
  74692. get length() {
  74693. return this.queries.length;
  74694. }
  74695. track(tquery) {
  74696. this.queries.push(tquery);
  74697. }
  74698. }
  74699. class TQuery_ {
  74700. constructor(metadata, nodeIndex = -1) {
  74701. this.metadata = metadata;
  74702. this.matches = null;
  74703. this.indexInDeclarationView = -1;
  74704. this.crossesNgTemplate = false;
  74705. /**
  74706. * A flag indicating if a given query still applies to nodes it is crossing. We use this flag
  74707. * (alongside with _declarationNodeIndex) to know when to stop applying content queries to
  74708. * elements in a template.
  74709. */
  74710. this._appliesToNextNode = true;
  74711. this._declarationNodeIndex = nodeIndex;
  74712. }
  74713. elementStart(tView, tNode) {
  74714. if (this.isApplyingToNode(tNode)) {
  74715. this.matchTNode(tView, tNode);
  74716. }
  74717. }
  74718. elementEnd(tNode) {
  74719. if (this._declarationNodeIndex === tNode.index) {
  74720. this._appliesToNextNode = false;
  74721. }
  74722. }
  74723. template(tView, tNode) {
  74724. this.elementStart(tView, tNode);
  74725. }
  74726. embeddedTView(tNode, childQueryIndex) {
  74727. if (this.isApplyingToNode(tNode)) {
  74728. this.crossesNgTemplate = true; // A marker indicating a `<ng-template>` element (a placeholder for query results from
  74729. // embedded views created based on this `<ng-template>`).
  74730. this.addMatch(-tNode.index, childQueryIndex);
  74731. return new TQuery_(this.metadata);
  74732. }
  74733. return null;
  74734. }
  74735. isApplyingToNode(tNode) {
  74736. if (this._appliesToNextNode && (this.metadata.flags & 1
  74737. /* QueryFlags.descendants */
  74738. ) !== 1
  74739. /* QueryFlags.descendants */
  74740. ) {
  74741. const declarationNodeIdx = this._declarationNodeIndex;
  74742. let parent = tNode.parent; // Determine if a given TNode is a "direct" child of a node on which a content query was
  74743. // declared (only direct children of query's host node can match with the descendants: false
  74744. // option). There are 3 main use-case / conditions to consider here:
  74745. // - <needs-target><i #target></i></needs-target>: here <i #target> parent node is a query
  74746. // host node;
  74747. // - <needs-target><ng-template [ngIf]="true"><i #target></i></ng-template></needs-target>:
  74748. // here <i #target> parent node is null;
  74749. // - <needs-target><ng-container><i #target></i></ng-container></needs-target>: here we need
  74750. // to go past `<ng-container>` to determine <i #target> parent node (but we shouldn't traverse
  74751. // up past the query's host node!).
  74752. while (parent !== null && parent.type & 8
  74753. /* TNodeType.ElementContainer */
  74754. && parent.index !== declarationNodeIdx) {
  74755. parent = parent.parent;
  74756. }
  74757. return declarationNodeIdx === (parent !== null ? parent.index : -1);
  74758. }
  74759. return this._appliesToNextNode;
  74760. }
  74761. matchTNode(tView, tNode) {
  74762. const predicate = this.metadata.predicate;
  74763. if (Array.isArray(predicate)) {
  74764. for (let i = 0; i < predicate.length; i++) {
  74765. const name = predicate[i];
  74766. this.matchTNodeWithReadOption(tView, tNode, getIdxOfMatchingSelector(tNode, name)); // Also try matching the name to a provider since strings can be used as DI tokens too.
  74767. this.matchTNodeWithReadOption(tView, tNode, locateDirectiveOrProvider(tNode, tView, name, false, false));
  74768. }
  74769. } else {
  74770. if (predicate === TemplateRef) {
  74771. if (tNode.type & 4
  74772. /* TNodeType.Container */
  74773. ) {
  74774. this.matchTNodeWithReadOption(tView, tNode, -1);
  74775. }
  74776. } else {
  74777. this.matchTNodeWithReadOption(tView, tNode, locateDirectiveOrProvider(tNode, tView, predicate, false, false));
  74778. }
  74779. }
  74780. }
  74781. matchTNodeWithReadOption(tView, tNode, nodeMatchIdx) {
  74782. if (nodeMatchIdx !== null) {
  74783. const read = this.metadata.read;
  74784. if (read !== null) {
  74785. if (read === ElementRef || read === ViewContainerRef || read === TemplateRef && tNode.type & 4
  74786. /* TNodeType.Container */
  74787. ) {
  74788. this.addMatch(tNode.index, -2);
  74789. } else {
  74790. const directiveOrProviderIdx = locateDirectiveOrProvider(tNode, tView, read, false, false);
  74791. if (directiveOrProviderIdx !== null) {
  74792. this.addMatch(tNode.index, directiveOrProviderIdx);
  74793. }
  74794. }
  74795. } else {
  74796. this.addMatch(tNode.index, nodeMatchIdx);
  74797. }
  74798. }
  74799. }
  74800. addMatch(tNodeIdx, matchIdx) {
  74801. if (this.matches === null) {
  74802. this.matches = [tNodeIdx, matchIdx];
  74803. } else {
  74804. this.matches.push(tNodeIdx, matchIdx);
  74805. }
  74806. }
  74807. }
  74808. /**
  74809. * Iterates over local names for a given node and returns directive index
  74810. * (or -1 if a local name points to an element).
  74811. *
  74812. * @param tNode static data of a node to check
  74813. * @param selector selector to match
  74814. * @returns directive index, -1 or null if a selector didn't match any of the local names
  74815. */
  74816. function getIdxOfMatchingSelector(tNode, selector) {
  74817. const localNames = tNode.localNames;
  74818. if (localNames !== null) {
  74819. for (let i = 0; i < localNames.length; i += 2) {
  74820. if (localNames[i] === selector) {
  74821. return localNames[i + 1];
  74822. }
  74823. }
  74824. }
  74825. return null;
  74826. }
  74827. function createResultByTNodeType(tNode, currentView) {
  74828. if (tNode.type & (3
  74829. /* TNodeType.AnyRNode */
  74830. | 8
  74831. /* TNodeType.ElementContainer */
  74832. )) {
  74833. return createElementRef(tNode, currentView);
  74834. } else if (tNode.type & 4
  74835. /* TNodeType.Container */
  74836. ) {
  74837. return createTemplateRef(tNode, currentView);
  74838. }
  74839. return null;
  74840. }
  74841. function createResultForNode(lView, tNode, matchingIdx, read) {
  74842. if (matchingIdx === -1) {
  74843. // if read token and / or strategy is not specified, detect it using appropriate tNode type
  74844. return createResultByTNodeType(tNode, lView);
  74845. } else if (matchingIdx === -2) {
  74846. // read a special token from a node injector
  74847. return createSpecialToken(lView, tNode, read);
  74848. } else {
  74849. // read a token
  74850. return getNodeInjectable(lView, lView[TVIEW], matchingIdx, tNode);
  74851. }
  74852. }
  74853. function createSpecialToken(lView, tNode, read) {
  74854. if (read === ElementRef) {
  74855. return createElementRef(tNode, lView);
  74856. } else if (read === TemplateRef) {
  74857. return createTemplateRef(tNode, lView);
  74858. } else if (read === ViewContainerRef) {
  74859. ngDevMode && assertTNodeType(tNode, 3
  74860. /* TNodeType.AnyRNode */
  74861. | 12
  74862. /* TNodeType.AnyContainer */
  74863. );
  74864. return createContainerRef(tNode, lView);
  74865. } else {
  74866. ngDevMode && throwError(`Special token to read should be one of ElementRef, TemplateRef or ViewContainerRef but got ${stringify(read)}.`);
  74867. }
  74868. }
  74869. /**
  74870. * A helper function that creates query results for a given view. This function is meant to do the
  74871. * processing once and only once for a given view instance (a set of results for a given view
  74872. * doesn't change).
  74873. */
  74874. function materializeViewResults(tView, lView, tQuery, queryIndex) {
  74875. const lQuery = lView[QUERIES].queries[queryIndex];
  74876. if (lQuery.matches === null) {
  74877. const tViewData = tView.data;
  74878. const tQueryMatches = tQuery.matches;
  74879. const result = [];
  74880. for (let i = 0; i < tQueryMatches.length; i += 2) {
  74881. const matchedNodeIdx = tQueryMatches[i];
  74882. if (matchedNodeIdx < 0) {
  74883. // we at the <ng-template> marker which might have results in views created based on this
  74884. // <ng-template> - those results will be in separate views though, so here we just leave
  74885. // null as a placeholder
  74886. result.push(null);
  74887. } else {
  74888. ngDevMode && assertIndexInRange(tViewData, matchedNodeIdx);
  74889. const tNode = tViewData[matchedNodeIdx];
  74890. result.push(createResultForNode(lView, tNode, tQueryMatches[i + 1], tQuery.metadata.read));
  74891. }
  74892. }
  74893. lQuery.matches = result;
  74894. }
  74895. return lQuery.matches;
  74896. }
  74897. /**
  74898. * A helper function that collects (already materialized) query results from a tree of views,
  74899. * starting with a provided LView.
  74900. */
  74901. function collectQueryResults(tView, lView, queryIndex, result) {
  74902. const tQuery = tView.queries.getByIndex(queryIndex);
  74903. const tQueryMatches = tQuery.matches;
  74904. if (tQueryMatches !== null) {
  74905. const lViewResults = materializeViewResults(tView, lView, tQuery, queryIndex);
  74906. for (let i = 0; i < tQueryMatches.length; i += 2) {
  74907. const tNodeIdx = tQueryMatches[i];
  74908. if (tNodeIdx > 0) {
  74909. result.push(lViewResults[i / 2]);
  74910. } else {
  74911. const childQueryIndex = tQueryMatches[i + 1];
  74912. const declarationLContainer = lView[-tNodeIdx];
  74913. ngDevMode && assertLContainer(declarationLContainer); // collect matches for views inserted in this container
  74914. for (let i = CONTAINER_HEADER_OFFSET; i < declarationLContainer.length; i++) {
  74915. const embeddedLView = declarationLContainer[i];
  74916. if (embeddedLView[DECLARATION_LCONTAINER] === embeddedLView[PARENT]) {
  74917. collectQueryResults(embeddedLView[TVIEW], embeddedLView, childQueryIndex, result);
  74918. }
  74919. } // collect matches for views created from this declaration container and inserted into
  74920. // different containers
  74921. if (declarationLContainer[MOVED_VIEWS] !== null) {
  74922. const embeddedLViews = declarationLContainer[MOVED_VIEWS];
  74923. for (let i = 0; i < embeddedLViews.length; i++) {
  74924. const embeddedLView = embeddedLViews[i];
  74925. collectQueryResults(embeddedLView[TVIEW], embeddedLView, childQueryIndex, result);
  74926. }
  74927. }
  74928. }
  74929. }
  74930. }
  74931. return result;
  74932. }
  74933. /**
  74934. * Refreshes a query by combining matches from all active views and removing matches from deleted
  74935. * views.
  74936. *
  74937. * @returns `true` if a query got dirty during change detection or if this is a static query
  74938. * resolving in creation mode, `false` otherwise.
  74939. *
  74940. * @codeGenApi
  74941. */
  74942. function ɵɵqueryRefresh(queryList) {
  74943. const lView = getLView();
  74944. const tView = getTView();
  74945. const queryIndex = getCurrentQueryIndex();
  74946. setCurrentQueryIndex(queryIndex + 1);
  74947. const tQuery = getTQuery(tView, queryIndex);
  74948. if (queryList.dirty && isCreationMode(lView) === ((tQuery.metadata.flags & 2
  74949. /* QueryFlags.isStatic */
  74950. ) === 2
  74951. /* QueryFlags.isStatic */
  74952. )) {
  74953. if (tQuery.matches === null) {
  74954. queryList.reset([]);
  74955. } else {
  74956. const result = tQuery.crossesNgTemplate ? collectQueryResults(tView, lView, queryIndex, []) : materializeViewResults(tView, lView, tQuery, queryIndex);
  74957. queryList.reset(result, unwrapElementRef);
  74958. queryList.notifyOnChanges();
  74959. }
  74960. return true;
  74961. }
  74962. return false;
  74963. }
  74964. /**
  74965. * Creates new QueryList, stores the reference in LView and returns QueryList.
  74966. *
  74967. * @param predicate The type for which the query will search
  74968. * @param flags Flags associated with the query
  74969. * @param read What to save in the query
  74970. *
  74971. * @codeGenApi
  74972. */
  74973. function ɵɵviewQuery(predicate, flags, read) {
  74974. ngDevMode && assertNumber(flags, 'Expecting flags');
  74975. const tView = getTView();
  74976. if (tView.firstCreatePass) {
  74977. createTQuery(tView, new TQueryMetadata_(predicate, flags, read), -1);
  74978. if ((flags & 2
  74979. /* QueryFlags.isStatic */
  74980. ) === 2
  74981. /* QueryFlags.isStatic */
  74982. ) {
  74983. tView.staticViewQueries = true;
  74984. }
  74985. }
  74986. createLQuery(tView, getLView(), flags);
  74987. }
  74988. /**
  74989. * Registers a QueryList, associated with a content query, for later refresh (part of a view
  74990. * refresh).
  74991. *
  74992. * @param directiveIndex Current directive index
  74993. * @param predicate The type for which the query will search
  74994. * @param flags Flags associated with the query
  74995. * @param read What to save in the query
  74996. * @returns QueryList<T>
  74997. *
  74998. * @codeGenApi
  74999. */
  75000. function ɵɵcontentQuery(directiveIndex, predicate, flags, read) {
  75001. ngDevMode && assertNumber(flags, 'Expecting flags');
  75002. const tView = getTView();
  75003. if (tView.firstCreatePass) {
  75004. const tNode = getCurrentTNode();
  75005. createTQuery(tView, new TQueryMetadata_(predicate, flags, read), tNode.index);
  75006. saveContentQueryAndDirectiveIndex(tView, directiveIndex);
  75007. if ((flags & 2
  75008. /* QueryFlags.isStatic */
  75009. ) === 2
  75010. /* QueryFlags.isStatic */
  75011. ) {
  75012. tView.staticContentQueries = true;
  75013. }
  75014. }
  75015. createLQuery(tView, getLView(), flags);
  75016. }
  75017. /**
  75018. * Loads a QueryList corresponding to the current view or content query.
  75019. *
  75020. * @codeGenApi
  75021. */
  75022. function ɵɵloadQuery() {
  75023. return loadQueryInternal(getLView(), getCurrentQueryIndex());
  75024. }
  75025. function loadQueryInternal(lView, queryIndex) {
  75026. ngDevMode && assertDefined(lView[QUERIES], 'LQueries should be defined when trying to load a query');
  75027. ngDevMode && assertIndexInRange(lView[QUERIES].queries, queryIndex);
  75028. return lView[QUERIES].queries[queryIndex].queryList;
  75029. }
  75030. function createLQuery(tView, lView, flags) {
  75031. const queryList = new QueryList((flags & 4
  75032. /* QueryFlags.emitDistinctChangesOnly */
  75033. ) === 4
  75034. /* QueryFlags.emitDistinctChangesOnly */
  75035. );
  75036. storeCleanupWithContext(tView, lView, queryList, queryList.destroy);
  75037. if (lView[QUERIES] === null) lView[QUERIES] = new LQueries_();
  75038. lView[QUERIES].queries.push(new LQuery_(queryList));
  75039. }
  75040. function createTQuery(tView, metadata, nodeIndex) {
  75041. if (tView.queries === null) tView.queries = new TQueries_();
  75042. tView.queries.track(new TQuery_(metadata, nodeIndex));
  75043. }
  75044. function saveContentQueryAndDirectiveIndex(tView, directiveIndex) {
  75045. const tViewContentQueries = tView.contentQueries || (tView.contentQueries = []);
  75046. const lastSavedDirectiveIndex = tViewContentQueries.length ? tViewContentQueries[tViewContentQueries.length - 1] : -1;
  75047. if (directiveIndex !== lastSavedDirectiveIndex) {
  75048. tViewContentQueries.push(tView.queries.length - 1, directiveIndex);
  75049. }
  75050. }
  75051. function getTQuery(tView, index) {
  75052. ngDevMode && assertDefined(tView.queries, 'TQueries must be defined to retrieve a TQuery');
  75053. return tView.queries.getByIndex(index);
  75054. }
  75055. /**
  75056. * @license
  75057. * Copyright Google LLC All Rights Reserved.
  75058. *
  75059. * Use of this source code is governed by an MIT-style license that can be
  75060. * found in the LICENSE file at https://angular.io/license
  75061. */
  75062. /**
  75063. * Retrieves `TemplateRef` instance from `Injector` when a local reference is placed on the
  75064. * `<ng-template>` element.
  75065. *
  75066. * @codeGenApi
  75067. */
  75068. function ɵɵtemplateRefExtractor(tNode, lView) {
  75069. return createTemplateRef(tNode, lView);
  75070. }
  75071. /**
  75072. * @license
  75073. * Copyright Google LLC All Rights Reserved.
  75074. *
  75075. * Use of this source code is governed by an MIT-style license that can be
  75076. * found in the LICENSE file at https://angular.io/license
  75077. */
  75078. /**
  75079. * @license
  75080. * Copyright Google LLC All Rights Reserved.
  75081. *
  75082. * Use of this source code is governed by an MIT-style license that can be
  75083. * found in the LICENSE file at https://angular.io/license
  75084. */
  75085. /**
  75086. * A mapping of the @angular/core API surface used in generated expressions to the actual symbols.
  75087. *
  75088. * This should be kept up to date with the public exports of @angular/core.
  75089. */
  75090. const angularCoreEnv = (() => ({
  75091. 'ɵɵattribute': ɵɵattribute,
  75092. 'ɵɵattributeInterpolate1': ɵɵattributeInterpolate1,
  75093. 'ɵɵattributeInterpolate2': ɵɵattributeInterpolate2,
  75094. 'ɵɵattributeInterpolate3': ɵɵattributeInterpolate3,
  75095. 'ɵɵattributeInterpolate4': ɵɵattributeInterpolate4,
  75096. 'ɵɵattributeInterpolate5': ɵɵattributeInterpolate5,
  75097. 'ɵɵattributeInterpolate6': ɵɵattributeInterpolate6,
  75098. 'ɵɵattributeInterpolate7': ɵɵattributeInterpolate7,
  75099. 'ɵɵattributeInterpolate8': ɵɵattributeInterpolate8,
  75100. 'ɵɵattributeInterpolateV': ɵɵattributeInterpolateV,
  75101. 'ɵɵdefineComponent': ɵɵdefineComponent,
  75102. 'ɵɵdefineDirective': ɵɵdefineDirective,
  75103. 'ɵɵdefineInjectable': ɵɵdefineInjectable,
  75104. 'ɵɵdefineInjector': ɵɵdefineInjector,
  75105. 'ɵɵdefineNgModule': ɵɵdefineNgModule,
  75106. 'ɵɵdefinePipe': ɵɵdefinePipe,
  75107. 'ɵɵdirectiveInject': ɵɵdirectiveInject,
  75108. 'ɵɵgetInheritedFactory': ɵɵgetInheritedFactory,
  75109. 'ɵɵinject': ɵɵinject,
  75110. 'ɵɵinjectAttribute': ɵɵinjectAttribute,
  75111. 'ɵɵinvalidFactory': ɵɵinvalidFactory,
  75112. 'ɵɵinvalidFactoryDep': ɵɵinvalidFactoryDep,
  75113. 'ɵɵtemplateRefExtractor': ɵɵtemplateRefExtractor,
  75114. 'ɵɵresetView': ɵɵresetView,
  75115. 'ɵɵNgOnChangesFeature': ɵɵNgOnChangesFeature,
  75116. 'ɵɵProvidersFeature': ɵɵProvidersFeature,
  75117. 'ɵɵCopyDefinitionFeature': ɵɵCopyDefinitionFeature,
  75118. 'ɵɵInheritDefinitionFeature': ɵɵInheritDefinitionFeature,
  75119. 'ɵɵStandaloneFeature': ɵɵStandaloneFeature,
  75120. 'ɵɵnextContext': ɵɵnextContext,
  75121. 'ɵɵnamespaceHTML': ɵɵnamespaceHTML,
  75122. 'ɵɵnamespaceMathML': ɵɵnamespaceMathML,
  75123. 'ɵɵnamespaceSVG': ɵɵnamespaceSVG,
  75124. 'ɵɵenableBindings': ɵɵenableBindings,
  75125. 'ɵɵdisableBindings': ɵɵdisableBindings,
  75126. 'ɵɵelementStart': ɵɵelementStart,
  75127. 'ɵɵelementEnd': ɵɵelementEnd,
  75128. 'ɵɵelement': ɵɵelement,
  75129. 'ɵɵelementContainerStart': ɵɵelementContainerStart,
  75130. 'ɵɵelementContainerEnd': ɵɵelementContainerEnd,
  75131. 'ɵɵelementContainer': ɵɵelementContainer,
  75132. 'ɵɵpureFunction0': ɵɵpureFunction0,
  75133. 'ɵɵpureFunction1': ɵɵpureFunction1,
  75134. 'ɵɵpureFunction2': ɵɵpureFunction2,
  75135. 'ɵɵpureFunction3': ɵɵpureFunction3,
  75136. 'ɵɵpureFunction4': ɵɵpureFunction4,
  75137. 'ɵɵpureFunction5': ɵɵpureFunction5,
  75138. 'ɵɵpureFunction6': ɵɵpureFunction6,
  75139. 'ɵɵpureFunction7': ɵɵpureFunction7,
  75140. 'ɵɵpureFunction8': ɵɵpureFunction8,
  75141. 'ɵɵpureFunctionV': ɵɵpureFunctionV,
  75142. 'ɵɵgetCurrentView': ɵɵgetCurrentView,
  75143. 'ɵɵrestoreView': ɵɵrestoreView,
  75144. 'ɵɵlistener': ɵɵlistener,
  75145. 'ɵɵprojection': ɵɵprojection,
  75146. 'ɵɵsyntheticHostProperty': ɵɵsyntheticHostProperty,
  75147. 'ɵɵsyntheticHostListener': ɵɵsyntheticHostListener,
  75148. 'ɵɵpipeBind1': ɵɵpipeBind1,
  75149. 'ɵɵpipeBind2': ɵɵpipeBind2,
  75150. 'ɵɵpipeBind3': ɵɵpipeBind3,
  75151. 'ɵɵpipeBind4': ɵɵpipeBind4,
  75152. 'ɵɵpipeBindV': ɵɵpipeBindV,
  75153. 'ɵɵprojectionDef': ɵɵprojectionDef,
  75154. 'ɵɵhostProperty': ɵɵhostProperty,
  75155. 'ɵɵproperty': ɵɵproperty,
  75156. 'ɵɵpropertyInterpolate': ɵɵpropertyInterpolate,
  75157. 'ɵɵpropertyInterpolate1': ɵɵpropertyInterpolate1,
  75158. 'ɵɵpropertyInterpolate2': ɵɵpropertyInterpolate2,
  75159. 'ɵɵpropertyInterpolate3': ɵɵpropertyInterpolate3,
  75160. 'ɵɵpropertyInterpolate4': ɵɵpropertyInterpolate4,
  75161. 'ɵɵpropertyInterpolate5': ɵɵpropertyInterpolate5,
  75162. 'ɵɵpropertyInterpolate6': ɵɵpropertyInterpolate6,
  75163. 'ɵɵpropertyInterpolate7': ɵɵpropertyInterpolate7,
  75164. 'ɵɵpropertyInterpolate8': ɵɵpropertyInterpolate8,
  75165. 'ɵɵpropertyInterpolateV': ɵɵpropertyInterpolateV,
  75166. 'ɵɵpipe': ɵɵpipe,
  75167. 'ɵɵqueryRefresh': ɵɵqueryRefresh,
  75168. 'ɵɵviewQuery': ɵɵviewQuery,
  75169. 'ɵɵloadQuery': ɵɵloadQuery,
  75170. 'ɵɵcontentQuery': ɵɵcontentQuery,
  75171. 'ɵɵreference': ɵɵreference,
  75172. 'ɵɵclassMap': ɵɵclassMap,
  75173. 'ɵɵclassMapInterpolate1': ɵɵclassMapInterpolate1,
  75174. 'ɵɵclassMapInterpolate2': ɵɵclassMapInterpolate2,
  75175. 'ɵɵclassMapInterpolate3': ɵɵclassMapInterpolate3,
  75176. 'ɵɵclassMapInterpolate4': ɵɵclassMapInterpolate4,
  75177. 'ɵɵclassMapInterpolate5': ɵɵclassMapInterpolate5,
  75178. 'ɵɵclassMapInterpolate6': ɵɵclassMapInterpolate6,
  75179. 'ɵɵclassMapInterpolate7': ɵɵclassMapInterpolate7,
  75180. 'ɵɵclassMapInterpolate8': ɵɵclassMapInterpolate8,
  75181. 'ɵɵclassMapInterpolateV': ɵɵclassMapInterpolateV,
  75182. 'ɵɵstyleMap': ɵɵstyleMap,
  75183. 'ɵɵstyleMapInterpolate1': ɵɵstyleMapInterpolate1,
  75184. 'ɵɵstyleMapInterpolate2': ɵɵstyleMapInterpolate2,
  75185. 'ɵɵstyleMapInterpolate3': ɵɵstyleMapInterpolate3,
  75186. 'ɵɵstyleMapInterpolate4': ɵɵstyleMapInterpolate4,
  75187. 'ɵɵstyleMapInterpolate5': ɵɵstyleMapInterpolate5,
  75188. 'ɵɵstyleMapInterpolate6': ɵɵstyleMapInterpolate6,
  75189. 'ɵɵstyleMapInterpolate7': ɵɵstyleMapInterpolate7,
  75190. 'ɵɵstyleMapInterpolate8': ɵɵstyleMapInterpolate8,
  75191. 'ɵɵstyleMapInterpolateV': ɵɵstyleMapInterpolateV,
  75192. 'ɵɵstyleProp': ɵɵstyleProp,
  75193. 'ɵɵstylePropInterpolate1': ɵɵstylePropInterpolate1,
  75194. 'ɵɵstylePropInterpolate2': ɵɵstylePropInterpolate2,
  75195. 'ɵɵstylePropInterpolate3': ɵɵstylePropInterpolate3,
  75196. 'ɵɵstylePropInterpolate4': ɵɵstylePropInterpolate4,
  75197. 'ɵɵstylePropInterpolate5': ɵɵstylePropInterpolate5,
  75198. 'ɵɵstylePropInterpolate6': ɵɵstylePropInterpolate6,
  75199. 'ɵɵstylePropInterpolate7': ɵɵstylePropInterpolate7,
  75200. 'ɵɵstylePropInterpolate8': ɵɵstylePropInterpolate8,
  75201. 'ɵɵstylePropInterpolateV': ɵɵstylePropInterpolateV,
  75202. 'ɵɵclassProp': ɵɵclassProp,
  75203. 'ɵɵadvance': ɵɵadvance,
  75204. 'ɵɵtemplate': ɵɵtemplate,
  75205. 'ɵɵtext': ɵɵtext,
  75206. 'ɵɵtextInterpolate': ɵɵtextInterpolate,
  75207. 'ɵɵtextInterpolate1': ɵɵtextInterpolate1,
  75208. 'ɵɵtextInterpolate2': ɵɵtextInterpolate2,
  75209. 'ɵɵtextInterpolate3': ɵɵtextInterpolate3,
  75210. 'ɵɵtextInterpolate4': ɵɵtextInterpolate4,
  75211. 'ɵɵtextInterpolate5': ɵɵtextInterpolate5,
  75212. 'ɵɵtextInterpolate6': ɵɵtextInterpolate6,
  75213. 'ɵɵtextInterpolate7': ɵɵtextInterpolate7,
  75214. 'ɵɵtextInterpolate8': ɵɵtextInterpolate8,
  75215. 'ɵɵtextInterpolateV': ɵɵtextInterpolateV,
  75216. 'ɵɵi18n': ɵɵi18n,
  75217. 'ɵɵi18nAttributes': ɵɵi18nAttributes,
  75218. 'ɵɵi18nExp': ɵɵi18nExp,
  75219. 'ɵɵi18nStart': ɵɵi18nStart,
  75220. 'ɵɵi18nEnd': ɵɵi18nEnd,
  75221. 'ɵɵi18nApply': ɵɵi18nApply,
  75222. 'ɵɵi18nPostprocess': ɵɵi18nPostprocess,
  75223. 'ɵɵresolveWindow': ɵɵresolveWindow,
  75224. 'ɵɵresolveDocument': ɵɵresolveDocument,
  75225. 'ɵɵresolveBody': ɵɵresolveBody,
  75226. 'ɵɵsetComponentScope': ɵɵsetComponentScope,
  75227. 'ɵɵsetNgModuleScope': ɵɵsetNgModuleScope,
  75228. 'ɵɵregisterNgModuleType': registerNgModuleType,
  75229. 'ɵɵsanitizeHtml': ɵɵsanitizeHtml,
  75230. 'ɵɵsanitizeStyle': ɵɵsanitizeStyle,
  75231. 'ɵɵsanitizeResourceUrl': ɵɵsanitizeResourceUrl,
  75232. 'ɵɵsanitizeScript': ɵɵsanitizeScript,
  75233. 'ɵɵsanitizeUrl': ɵɵsanitizeUrl,
  75234. 'ɵɵsanitizeUrlOrResourceUrl': ɵɵsanitizeUrlOrResourceUrl,
  75235. 'ɵɵtrustConstantHtml': ɵɵtrustConstantHtml,
  75236. 'ɵɵtrustConstantResourceUrl': ɵɵtrustConstantResourceUrl,
  75237. 'forwardRef': forwardRef,
  75238. 'resolveForwardRef': resolveForwardRef
  75239. }))();
  75240. let jitOptions = null;
  75241. function setJitOptions(options) {
  75242. if (jitOptions !== null) {
  75243. if (options.defaultEncapsulation !== jitOptions.defaultEncapsulation) {
  75244. ngDevMode && console.error('Provided value for `defaultEncapsulation` can not be changed once it has been set.');
  75245. return;
  75246. }
  75247. if (options.preserveWhitespaces !== jitOptions.preserveWhitespaces) {
  75248. ngDevMode && console.error('Provided value for `preserveWhitespaces` can not be changed once it has been set.');
  75249. return;
  75250. }
  75251. }
  75252. jitOptions = options;
  75253. }
  75254. function getJitOptions() {
  75255. return jitOptions;
  75256. }
  75257. function resetJitOptions() {
  75258. jitOptions = null;
  75259. }
  75260. /**
  75261. * @license
  75262. * Copyright Google LLC All Rights Reserved.
  75263. *
  75264. * Use of this source code is governed by an MIT-style license that can be
  75265. * found in the LICENSE file at https://angular.io/license
  75266. */
  75267. function patchModuleCompilation() {// Does nothing, but exists as a target for patching.
  75268. }
  75269. /**
  75270. * @license
  75271. * Copyright Google LLC All Rights Reserved.
  75272. *
  75273. * Use of this source code is governed by an MIT-style license that can be
  75274. * found in the LICENSE file at https://angular.io/license
  75275. */
  75276. function isModuleWithProviders(value) {
  75277. return value.ngModule !== undefined;
  75278. }
  75279. function isNgModule(value) {
  75280. return !!getNgModuleDef(value);
  75281. }
  75282. /**
  75283. * @license
  75284. * Copyright Google LLC All Rights Reserved.
  75285. *
  75286. * Use of this source code is governed by an MIT-style license that can be
  75287. * found in the LICENSE file at https://angular.io/license
  75288. */
  75289. const moduleQueue = [];
  75290. /**
  75291. * Enqueues moduleDef to be checked later to see if scope can be set on its
  75292. * component declarations.
  75293. */
  75294. function enqueueModuleForDelayedScoping(moduleType, ngModule) {
  75295. moduleQueue.push({
  75296. moduleType,
  75297. ngModule
  75298. });
  75299. }
  75300. let flushingModuleQueue = false;
  75301. /**
  75302. * Loops over queued module definitions, if a given module definition has all of its
  75303. * declarations resolved, it dequeues that module definition and sets the scope on
  75304. * its declarations.
  75305. */
  75306. function flushModuleScopingQueueAsMuchAsPossible() {
  75307. if (!flushingModuleQueue) {
  75308. flushingModuleQueue = true;
  75309. try {
  75310. for (let i = moduleQueue.length - 1; i >= 0; i--) {
  75311. const {
  75312. moduleType,
  75313. ngModule
  75314. } = moduleQueue[i];
  75315. if (ngModule.declarations && ngModule.declarations.every(isResolvedDeclaration)) {
  75316. // dequeue
  75317. moduleQueue.splice(i, 1);
  75318. setScopeOnDeclaredComponents(moduleType, ngModule);
  75319. }
  75320. }
  75321. } finally {
  75322. flushingModuleQueue = false;
  75323. }
  75324. }
  75325. }
  75326. /**
  75327. * Returns truthy if a declaration has resolved. If the declaration happens to be
  75328. * an array of declarations, it will recurse to check each declaration in that array
  75329. * (which may also be arrays).
  75330. */
  75331. function isResolvedDeclaration(declaration) {
  75332. if (Array.isArray(declaration)) {
  75333. return declaration.every(isResolvedDeclaration);
  75334. }
  75335. return !!resolveForwardRef(declaration);
  75336. }
  75337. /**
  75338. * Compiles a module in JIT mode.
  75339. *
  75340. * This function automatically gets called when a class has a `@NgModule` decorator.
  75341. */
  75342. function compileNgModule(moduleType, ngModule = {}) {
  75343. patchModuleCompilation();
  75344. compileNgModuleDefs(moduleType, ngModule);
  75345. if (ngModule.id !== undefined) {
  75346. registerNgModuleType(moduleType, ngModule.id);
  75347. } // Because we don't know if all declarations have resolved yet at the moment the
  75348. // NgModule decorator is executing, we're enqueueing the setting of module scope
  75349. // on its declarations to be run at a later time when all declarations for the module,
  75350. // including forward refs, have resolved.
  75351. enqueueModuleForDelayedScoping(moduleType, ngModule);
  75352. }
  75353. /**
  75354. * Compiles and adds the `ɵmod`, `ɵfac` and `ɵinj` properties to the module class.
  75355. *
  75356. * It's possible to compile a module via this API which will allow duplicate declarations in its
  75357. * root.
  75358. */
  75359. function compileNgModuleDefs(moduleType, ngModule, allowDuplicateDeclarationsInRoot = false) {
  75360. ngDevMode && assertDefined(moduleType, 'Required value moduleType');
  75361. ngDevMode && assertDefined(ngModule, 'Required value ngModule');
  75362. const declarations = flatten(ngModule.declarations || EMPTY_ARRAY);
  75363. let ngModuleDef = null;
  75364. Object.defineProperty(moduleType, NG_MOD_DEF, {
  75365. configurable: true,
  75366. get: () => {
  75367. if (ngModuleDef === null) {
  75368. if (ngDevMode && ngModule.imports && ngModule.imports.indexOf(moduleType) > -1) {
  75369. // We need to assert this immediately, because allowing it to continue will cause it to
  75370. // go into an infinite loop before we've reached the point where we throw all the errors.
  75371. throw new Error(`'${stringifyForError(moduleType)}' module can't import itself`);
  75372. }
  75373. const compiler = getCompilerFacade({
  75374. usage: 0
  75375. /* JitCompilerUsage.Decorator */
  75376. ,
  75377. kind: 'NgModule',
  75378. type: moduleType
  75379. });
  75380. ngModuleDef = compiler.compileNgModule(angularCoreEnv, `ng:///${moduleType.name}/ɵmod.js`, {
  75381. type: moduleType,
  75382. bootstrap: flatten(ngModule.bootstrap || EMPTY_ARRAY).map(resolveForwardRef),
  75383. declarations: declarations.map(resolveForwardRef),
  75384. imports: flatten(ngModule.imports || EMPTY_ARRAY).map(resolveForwardRef).map(expandModuleWithProviders),
  75385. exports: flatten(ngModule.exports || EMPTY_ARRAY).map(resolveForwardRef).map(expandModuleWithProviders),
  75386. schemas: ngModule.schemas ? flatten(ngModule.schemas) : null,
  75387. id: ngModule.id || null
  75388. }); // Set `schemas` on ngModuleDef to an empty array in JIT mode to indicate that runtime
  75389. // should verify that there are no unknown elements in a template. In AOT mode, that check
  75390. // happens at compile time and `schemas` information is not present on Component and Module
  75391. // defs after compilation (so the check doesn't happen the second time at runtime).
  75392. if (!ngModuleDef.schemas) {
  75393. ngModuleDef.schemas = [];
  75394. }
  75395. }
  75396. return ngModuleDef;
  75397. }
  75398. });
  75399. let ngFactoryDef = null;
  75400. Object.defineProperty(moduleType, NG_FACTORY_DEF, {
  75401. get: () => {
  75402. if (ngFactoryDef === null) {
  75403. const compiler = getCompilerFacade({
  75404. usage: 0
  75405. /* JitCompilerUsage.Decorator */
  75406. ,
  75407. kind: 'NgModule',
  75408. type: moduleType
  75409. });
  75410. ngFactoryDef = compiler.compileFactory(angularCoreEnv, `ng:///${moduleType.name}/ɵfac.js`, {
  75411. name: moduleType.name,
  75412. type: moduleType,
  75413. deps: reflectDependencies(moduleType),
  75414. target: compiler.FactoryTarget.NgModule,
  75415. typeArgumentCount: 0
  75416. });
  75417. }
  75418. return ngFactoryDef;
  75419. },
  75420. // Make the property configurable in dev mode to allow overriding in tests
  75421. configurable: !!ngDevMode
  75422. });
  75423. let ngInjectorDef = null;
  75424. Object.defineProperty(moduleType, NG_INJ_DEF, {
  75425. get: () => {
  75426. if (ngInjectorDef === null) {
  75427. ngDevMode && verifySemanticsOfNgModuleDef(moduleType, allowDuplicateDeclarationsInRoot);
  75428. const meta = {
  75429. name: moduleType.name,
  75430. type: moduleType,
  75431. providers: ngModule.providers || EMPTY_ARRAY,
  75432. imports: [(ngModule.imports || EMPTY_ARRAY).map(resolveForwardRef), (ngModule.exports || EMPTY_ARRAY).map(resolveForwardRef)]
  75433. };
  75434. const compiler = getCompilerFacade({
  75435. usage: 0
  75436. /* JitCompilerUsage.Decorator */
  75437. ,
  75438. kind: 'NgModule',
  75439. type: moduleType
  75440. });
  75441. ngInjectorDef = compiler.compileInjector(angularCoreEnv, `ng:///${moduleType.name}/ɵinj.js`, meta);
  75442. }
  75443. return ngInjectorDef;
  75444. },
  75445. // Make the property configurable in dev mode to allow overriding in tests
  75446. configurable: !!ngDevMode
  75447. });
  75448. }
  75449. function generateStandaloneInDeclarationsError(type, location) {
  75450. const prefix = `Unexpected "${stringifyForError(type)}" found in the "declarations" array of the`;
  75451. const suffix = `"${stringifyForError(type)}" is marked as standalone and can't be declared ` + 'in any NgModule - did you intend to import it instead (by adding it to the "imports" array)?';
  75452. return `${prefix} ${location}, ${suffix}`;
  75453. }
  75454. function verifySemanticsOfNgModuleDef(moduleType, allowDuplicateDeclarationsInRoot, importingModule) {
  75455. if (verifiedNgModule.get(moduleType)) return; // skip verifications of standalone components, directives, and pipes
  75456. if (isStandalone(moduleType)) return;
  75457. verifiedNgModule.set(moduleType, true);
  75458. moduleType = resolveForwardRef(moduleType);
  75459. let ngModuleDef;
  75460. if (importingModule) {
  75461. ngModuleDef = getNgModuleDef(moduleType);
  75462. if (!ngModuleDef) {
  75463. throw new Error(`Unexpected value '${moduleType.name}' imported by the module '${importingModule.name}'. Please add an @NgModule annotation.`);
  75464. }
  75465. } else {
  75466. ngModuleDef = getNgModuleDef(moduleType, true);
  75467. }
  75468. const errors = [];
  75469. const declarations = maybeUnwrapFn(ngModuleDef.declarations);
  75470. const imports = maybeUnwrapFn(ngModuleDef.imports);
  75471. flatten(imports).map(unwrapModuleWithProvidersImports).forEach(modOrStandaloneCmpt => {
  75472. verifySemanticsOfNgModuleImport(modOrStandaloneCmpt, moduleType);
  75473. verifySemanticsOfNgModuleDef(modOrStandaloneCmpt, false, moduleType);
  75474. });
  75475. const exports = maybeUnwrapFn(ngModuleDef.exports);
  75476. declarations.forEach(verifyDeclarationsHaveDefinitions);
  75477. declarations.forEach(verifyDirectivesHaveSelector);
  75478. declarations.forEach(declarationType => verifyNotStandalone(declarationType, moduleType));
  75479. const combinedDeclarations = [...declarations.map(resolveForwardRef), ...flatten(imports.map(computeCombinedExports)).map(resolveForwardRef)];
  75480. exports.forEach(verifyExportsAreDeclaredOrReExported);
  75481. declarations.forEach(decl => verifyDeclarationIsUnique(decl, allowDuplicateDeclarationsInRoot));
  75482. declarations.forEach(verifyComponentEntryComponentsIsPartOfNgModule);
  75483. const ngModule = getAnnotation(moduleType, 'NgModule');
  75484. if (ngModule) {
  75485. ngModule.imports && flatten(ngModule.imports).map(unwrapModuleWithProvidersImports).forEach(mod => {
  75486. verifySemanticsOfNgModuleImport(mod, moduleType);
  75487. verifySemanticsOfNgModuleDef(mod, false, moduleType);
  75488. });
  75489. ngModule.bootstrap && deepForEach(ngModule.bootstrap, verifyCorrectBootstrapType);
  75490. ngModule.bootstrap && deepForEach(ngModule.bootstrap, verifyComponentIsPartOfNgModule);
  75491. ngModule.entryComponents && deepForEach(ngModule.entryComponents, verifyComponentIsPartOfNgModule);
  75492. } // Throw Error if any errors were detected.
  75493. if (errors.length) {
  75494. throw new Error(errors.join('\n'));
  75495. } ////////////////////////////////////////////////////////////////////////////////////////////////
  75496. function verifyDeclarationsHaveDefinitions(type) {
  75497. type = resolveForwardRef(type);
  75498. const def = getComponentDef(type) || getDirectiveDef(type) || getPipeDef$1(type);
  75499. if (!def) {
  75500. errors.push(`Unexpected value '${stringifyForError(type)}' declared by the module '${stringifyForError(moduleType)}'. Please add a @Pipe/@Directive/@Component annotation.`);
  75501. }
  75502. }
  75503. function verifyDirectivesHaveSelector(type) {
  75504. type = resolveForwardRef(type);
  75505. const def = getDirectiveDef(type);
  75506. if (!getComponentDef(type) && def && def.selectors.length == 0) {
  75507. errors.push(`Directive ${stringifyForError(type)} has no selector, please add it!`);
  75508. }
  75509. }
  75510. function verifyNotStandalone(type, moduleType) {
  75511. type = resolveForwardRef(type);
  75512. const def = getComponentDef(type) || getDirectiveDef(type) || getPipeDef$1(type);
  75513. if (def === null || def === void 0 ? void 0 : def.standalone) {
  75514. const location = `"${stringifyForError(moduleType)}" NgModule`;
  75515. errors.push(generateStandaloneInDeclarationsError(type, location));
  75516. }
  75517. }
  75518. function verifyExportsAreDeclaredOrReExported(type) {
  75519. type = resolveForwardRef(type);
  75520. const kind = getComponentDef(type) && 'component' || getDirectiveDef(type) && 'directive' || getPipeDef$1(type) && 'pipe';
  75521. if (kind) {
  75522. // only checked if we are declared as Component, Directive, or Pipe
  75523. // Modules don't need to be declared or imported.
  75524. if (combinedDeclarations.lastIndexOf(type) === -1) {
  75525. // We are exporting something which we don't explicitly declare or import.
  75526. errors.push(`Can't export ${kind} ${stringifyForError(type)} from ${stringifyForError(moduleType)} as it was neither declared nor imported!`);
  75527. }
  75528. }
  75529. }
  75530. function verifyDeclarationIsUnique(type, suppressErrors) {
  75531. type = resolveForwardRef(type);
  75532. const existingModule = ownerNgModule.get(type);
  75533. if (existingModule && existingModule !== moduleType) {
  75534. if (!suppressErrors) {
  75535. const modules = [existingModule, moduleType].map(stringifyForError).sort();
  75536. errors.push(`Type ${stringifyForError(type)} is part of the declarations of 2 modules: ${modules[0]} and ${modules[1]}! ` + `Please consider moving ${stringifyForError(type)} to a higher module that imports ${modules[0]} and ${modules[1]}. ` + `You can also create a new NgModule that exports and includes ${stringifyForError(type)} then import that NgModule in ${modules[0]} and ${modules[1]}.`);
  75537. }
  75538. } else {
  75539. // Mark type as having owner.
  75540. ownerNgModule.set(type, moduleType);
  75541. }
  75542. }
  75543. function verifyComponentIsPartOfNgModule(type) {
  75544. type = resolveForwardRef(type);
  75545. const existingModule = ownerNgModule.get(type);
  75546. if (!existingModule && !isStandalone(type)) {
  75547. errors.push(`Component ${stringifyForError(type)} is not part of any NgModule or the module has not been imported into your module.`);
  75548. }
  75549. }
  75550. function verifyCorrectBootstrapType(type) {
  75551. type = resolveForwardRef(type);
  75552. if (!getComponentDef(type)) {
  75553. errors.push(`${stringifyForError(type)} cannot be used as an entry component.`);
  75554. }
  75555. if (isStandalone(type)) {
  75556. // Note: this error should be the same as the
  75557. // `NGMODULE_BOOTSTRAP_IS_STANDALONE` one in AOT compiler.
  75558. errors.push(`The \`${stringifyForError(type)}\` class is a standalone component, which can ` + `not be used in the \`@NgModule.bootstrap\` array. Use the \`bootstrapApplication\` ` + `function for bootstrap instead.`);
  75559. }
  75560. }
  75561. function verifyComponentEntryComponentsIsPartOfNgModule(type) {
  75562. type = resolveForwardRef(type);
  75563. if (getComponentDef(type)) {
  75564. // We know we are component
  75565. const component = getAnnotation(type, 'Component');
  75566. if (component && component.entryComponents) {
  75567. deepForEach(component.entryComponents, verifyComponentIsPartOfNgModule);
  75568. }
  75569. }
  75570. }
  75571. function verifySemanticsOfNgModuleImport(type, importingModule) {
  75572. type = resolveForwardRef(type);
  75573. const directiveDef = getComponentDef(type) || getDirectiveDef(type);
  75574. if (directiveDef !== null && !directiveDef.standalone) {
  75575. throw new Error(`Unexpected directive '${type.name}' imported by the module '${importingModule.name}'. Please add an @NgModule annotation.`);
  75576. }
  75577. const pipeDef = getPipeDef$1(type);
  75578. if (pipeDef !== null && !pipeDef.standalone) {
  75579. throw new Error(`Unexpected pipe '${type.name}' imported by the module '${importingModule.name}'. Please add an @NgModule annotation.`);
  75580. }
  75581. }
  75582. }
  75583. function unwrapModuleWithProvidersImports(typeOrWithProviders) {
  75584. typeOrWithProviders = resolveForwardRef(typeOrWithProviders);
  75585. return typeOrWithProviders.ngModule || typeOrWithProviders;
  75586. }
  75587. function getAnnotation(type, name) {
  75588. let annotation = null;
  75589. collect(type.__annotations__);
  75590. collect(type.decorators);
  75591. return annotation;
  75592. function collect(annotations) {
  75593. if (annotations) {
  75594. annotations.forEach(readAnnotation);
  75595. }
  75596. }
  75597. function readAnnotation(decorator) {
  75598. if (!annotation) {
  75599. const proto = Object.getPrototypeOf(decorator);
  75600. if (proto.ngMetadataName == name) {
  75601. annotation = decorator;
  75602. } else if (decorator.type) {
  75603. const proto = Object.getPrototypeOf(decorator.type);
  75604. if (proto.ngMetadataName == name) {
  75605. annotation = decorator.args[0];
  75606. }
  75607. }
  75608. }
  75609. }
  75610. }
  75611. /**
  75612. * Keep track of compiled components. This is needed because in tests we often want to compile the
  75613. * same component with more than one NgModule. This would cause an error unless we reset which
  75614. * NgModule the component belongs to. We keep the list of compiled components here so that the
  75615. * TestBed can reset it later.
  75616. */
  75617. let ownerNgModule = new WeakMap();
  75618. let verifiedNgModule = new WeakMap();
  75619. function resetCompiledComponents() {
  75620. ownerNgModule = new WeakMap();
  75621. verifiedNgModule = new WeakMap();
  75622. moduleQueue.length = 0;
  75623. }
  75624. /**
  75625. * Computes the combined declarations of explicit declarations, as well as declarations inherited by
  75626. * traversing the exports of imported modules.
  75627. * @param type
  75628. */
  75629. function computeCombinedExports(type) {
  75630. type = resolveForwardRef(type);
  75631. const ngModuleDef = getNgModuleDef(type); // a standalone component, directive or pipe
  75632. if (ngModuleDef === null) {
  75633. return [type];
  75634. }
  75635. return [...flatten(maybeUnwrapFn(ngModuleDef.exports).map(type => {
  75636. const ngModuleDef = getNgModuleDef(type);
  75637. if (ngModuleDef) {
  75638. verifySemanticsOfNgModuleDef(type, false);
  75639. return computeCombinedExports(type);
  75640. } else {
  75641. return type;
  75642. }
  75643. }))];
  75644. }
  75645. /**
  75646. * Some declared components may be compiled asynchronously, and thus may not have their
  75647. * ɵcmp set yet. If this is the case, then a reference to the module is written into
  75648. * the `ngSelectorScope` property of the declared type.
  75649. */
  75650. function setScopeOnDeclaredComponents(moduleType, ngModule) {
  75651. const declarations = flatten(ngModule.declarations || EMPTY_ARRAY);
  75652. const transitiveScopes = transitiveScopesFor(moduleType);
  75653. declarations.forEach(declaration => {
  75654. declaration = resolveForwardRef(declaration);
  75655. if (declaration.hasOwnProperty(NG_COMP_DEF)) {
  75656. // A `ɵcmp` field exists - go ahead and patch the component directly.
  75657. const component = declaration;
  75658. const componentDef = getComponentDef(component);
  75659. patchComponentDefWithScope(componentDef, transitiveScopes);
  75660. } else if (!declaration.hasOwnProperty(NG_DIR_DEF) && !declaration.hasOwnProperty(NG_PIPE_DEF)) {
  75661. // Set `ngSelectorScope` for future reference when the component compilation finishes.
  75662. declaration.ngSelectorScope = moduleType;
  75663. }
  75664. });
  75665. }
  75666. /**
  75667. * Patch the definition of a component with directives and pipes from the compilation scope of
  75668. * a given module.
  75669. */
  75670. function patchComponentDefWithScope(componentDef, transitiveScopes) {
  75671. componentDef.directiveDefs = () => Array.from(transitiveScopes.compilation.directives).map(dir => dir.hasOwnProperty(NG_COMP_DEF) ? getComponentDef(dir) : getDirectiveDef(dir)).filter(def => !!def);
  75672. componentDef.pipeDefs = () => Array.from(transitiveScopes.compilation.pipes).map(pipe => getPipeDef$1(pipe));
  75673. componentDef.schemas = transitiveScopes.schemas; // Since we avoid Components/Directives/Pipes recompiling in case there are no overrides, we
  75674. // may face a problem where previously compiled defs available to a given Component/Directive
  75675. // are cached in TView and may become stale (in case any of these defs gets recompiled). In
  75676. // order to avoid this problem, we force fresh TView to be created.
  75677. componentDef.tView = null;
  75678. }
  75679. /**
  75680. * Compute the pair of transitive scopes (compilation scope and exported scope) for a given type
  75681. * (either a NgModule or a standalone component / directive / pipe).
  75682. */
  75683. function transitiveScopesFor(type) {
  75684. if (isNgModule(type)) {
  75685. return transitiveScopesForNgModule(type);
  75686. } else if (isStandalone(type)) {
  75687. const directiveDef = getComponentDef(type) || getDirectiveDef(type);
  75688. if (directiveDef !== null) {
  75689. return {
  75690. schemas: null,
  75691. compilation: {
  75692. directives: new Set(),
  75693. pipes: new Set()
  75694. },
  75695. exported: {
  75696. directives: new Set([type]),
  75697. pipes: new Set()
  75698. }
  75699. };
  75700. }
  75701. const pipeDef = getPipeDef$1(type);
  75702. if (pipeDef !== null) {
  75703. return {
  75704. schemas: null,
  75705. compilation: {
  75706. directives: new Set(),
  75707. pipes: new Set()
  75708. },
  75709. exported: {
  75710. directives: new Set(),
  75711. pipes: new Set([type])
  75712. }
  75713. };
  75714. }
  75715. } // TODO: change the error message to be more user-facing and take standalone into account
  75716. throw new Error(`${type.name} does not have a module def (ɵmod property)`);
  75717. }
  75718. /**
  75719. * Compute the pair of transitive scopes (compilation scope and exported scope) for a given module.
  75720. *
  75721. * This operation is memoized and the result is cached on the module's definition. This function can
  75722. * be called on modules with components that have not fully compiled yet, but the result should not
  75723. * be used until they have.
  75724. *
  75725. * @param moduleType module that transitive scope should be calculated for.
  75726. */
  75727. function transitiveScopesForNgModule(moduleType) {
  75728. const def = getNgModuleDef(moduleType, true);
  75729. if (def.transitiveCompileScopes !== null) {
  75730. return def.transitiveCompileScopes;
  75731. }
  75732. const scopes = {
  75733. schemas: def.schemas || null,
  75734. compilation: {
  75735. directives: new Set(),
  75736. pipes: new Set()
  75737. },
  75738. exported: {
  75739. directives: new Set(),
  75740. pipes: new Set()
  75741. }
  75742. };
  75743. maybeUnwrapFn(def.imports).forEach(imported => {
  75744. // When this module imports another, the imported module's exported directives and pipes are
  75745. // added to the compilation scope of this module.
  75746. const importedScope = transitiveScopesFor(imported);
  75747. importedScope.exported.directives.forEach(entry => scopes.compilation.directives.add(entry));
  75748. importedScope.exported.pipes.forEach(entry => scopes.compilation.pipes.add(entry));
  75749. });
  75750. maybeUnwrapFn(def.declarations).forEach(declared => {
  75751. const declaredWithDefs = declared;
  75752. if (getPipeDef$1(declaredWithDefs)) {
  75753. scopes.compilation.pipes.add(declared);
  75754. } else {
  75755. // Either declared has a ɵcmp or ɵdir, or it's a component which hasn't
  75756. // had its template compiled yet. In either case, it gets added to the compilation's
  75757. // directives.
  75758. scopes.compilation.directives.add(declared);
  75759. }
  75760. });
  75761. maybeUnwrapFn(def.exports).forEach(exported => {
  75762. const exportedType = exported; // Either the type is a module, a pipe, or a component/directive (which may not have a
  75763. // ɵcmp as it might be compiled asynchronously).
  75764. if (isNgModule(exportedType)) {
  75765. // When this module exports another, the exported module's exported directives and pipes are
  75766. // added to both the compilation and exported scopes of this module.
  75767. const exportedScope = transitiveScopesFor(exportedType);
  75768. exportedScope.exported.directives.forEach(entry => {
  75769. scopes.compilation.directives.add(entry);
  75770. scopes.exported.directives.add(entry);
  75771. });
  75772. exportedScope.exported.pipes.forEach(entry => {
  75773. scopes.compilation.pipes.add(entry);
  75774. scopes.exported.pipes.add(entry);
  75775. });
  75776. } else if (getPipeDef$1(exportedType)) {
  75777. scopes.exported.pipes.add(exportedType);
  75778. } else {
  75779. scopes.exported.directives.add(exportedType);
  75780. }
  75781. });
  75782. def.transitiveCompileScopes = scopes;
  75783. return scopes;
  75784. }
  75785. function expandModuleWithProviders(value) {
  75786. if (isModuleWithProviders(value)) {
  75787. return value.ngModule;
  75788. }
  75789. return value;
  75790. }
  75791. /**
  75792. * @license
  75793. * Copyright Google LLC All Rights Reserved.
  75794. *
  75795. * Use of this source code is governed by an MIT-style license that can be
  75796. * found in the LICENSE file at https://angular.io/license
  75797. */
  75798. /**
  75799. * Keep track of the compilation depth to avoid reentrancy issues during JIT compilation. This
  75800. * matters in the following scenario:
  75801. *
  75802. * Consider a component 'A' that extends component 'B', both declared in module 'M'. During
  75803. * the compilation of 'A' the definition of 'B' is requested to capture the inheritance chain,
  75804. * potentially triggering compilation of 'B'. If this nested compilation were to trigger
  75805. * `flushModuleScopingQueueAsMuchAsPossible` it may happen that module 'M' is still pending in the
  75806. * queue, resulting in 'A' and 'B' to be patched with the NgModule scope. As the compilation of
  75807. * 'A' is still in progress, this would introduce a circular dependency on its compilation. To avoid
  75808. * this issue, the module scope queue is only flushed for compilations at the depth 0, to ensure
  75809. * all compilations have finished.
  75810. */
  75811. let compilationDepth = 0;
  75812. /**
  75813. * Compile an Angular component according to its decorator metadata, and patch the resulting
  75814. * component def (ɵcmp) onto the component type.
  75815. *
  75816. * Compilation may be asynchronous (due to the need to resolve URLs for the component template or
  75817. * other resources, for example). In the event that compilation is not immediate, `compileComponent`
  75818. * will enqueue resource resolution into a global queue and will fail to return the `ɵcmp`
  75819. * until the global queue has been resolved with a call to `resolveComponentResources`.
  75820. */
  75821. function compileComponent(type, metadata) {
  75822. // Initialize ngDevMode. This must be the first statement in compileComponent.
  75823. // See the `initNgDevMode` docstring for more information.
  75824. (typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode();
  75825. let ngComponentDef = null; // Metadata may have resources which need to be resolved.
  75826. maybeQueueResolutionOfComponentResources(type, metadata); // Note that we're using the same function as `Directive`, because that's only subset of metadata
  75827. // that we need to create the ngFactoryDef. We're avoiding using the component metadata
  75828. // because we'd have to resolve the asynchronous templates.
  75829. addDirectiveFactoryDef(type, metadata);
  75830. Object.defineProperty(type, NG_COMP_DEF, {
  75831. get: () => {
  75832. if (ngComponentDef === null) {
  75833. const compiler = getCompilerFacade({
  75834. usage: 0
  75835. /* JitCompilerUsage.Decorator */
  75836. ,
  75837. kind: 'component',
  75838. type: type
  75839. });
  75840. if (componentNeedsResolution(metadata)) {
  75841. const error = [`Component '${type.name}' is not resolved:`];
  75842. if (metadata.templateUrl) {
  75843. error.push(` - templateUrl: ${metadata.templateUrl}`);
  75844. }
  75845. if (metadata.styleUrls && metadata.styleUrls.length) {
  75846. error.push(` - styleUrls: ${JSON.stringify(metadata.styleUrls)}`);
  75847. }
  75848. error.push(`Did you run and wait for 'resolveComponentResources()'?`);
  75849. throw new Error(error.join('\n'));
  75850. } // This const was called `jitOptions` previously but had to be renamed to `options` because
  75851. // of a bug with Terser that caused optimized JIT builds to throw a `ReferenceError`.
  75852. // This bug was investigated in https://github.com/angular/angular-cli/issues/17264.
  75853. // We should not rename it back until https://github.com/terser/terser/issues/615 is fixed.
  75854. const options = getJitOptions();
  75855. let preserveWhitespaces = metadata.preserveWhitespaces;
  75856. if (preserveWhitespaces === undefined) {
  75857. if (options !== null && options.preserveWhitespaces !== undefined) {
  75858. preserveWhitespaces = options.preserveWhitespaces;
  75859. } else {
  75860. preserveWhitespaces = false;
  75861. }
  75862. }
  75863. let encapsulation = metadata.encapsulation;
  75864. if (encapsulation === undefined) {
  75865. if (options !== null && options.defaultEncapsulation !== undefined) {
  75866. encapsulation = options.defaultEncapsulation;
  75867. } else {
  75868. encapsulation = ViewEncapsulation$1.Emulated;
  75869. }
  75870. }
  75871. const templateUrl = metadata.templateUrl || `ng:///${type.name}/template.html`;
  75872. const meta = Object.assign(Object.assign({}, directiveMetadata(type, metadata)), {
  75873. typeSourceSpan: compiler.createParseSourceSpan('Component', type.name, templateUrl),
  75874. template: metadata.template || '',
  75875. preserveWhitespaces,
  75876. styles: metadata.styles || EMPTY_ARRAY,
  75877. animations: metadata.animations,
  75878. // JIT components are always compiled against an empty set of `declarations`. Instead, the
  75879. // `directiveDefs` and `pipeDefs` are updated at a later point:
  75880. // * for NgModule-based components, they're set when the NgModule which declares the
  75881. // component resolves in the module scoping queue
  75882. // * for standalone components, they're set just below, after `compileComponent`.
  75883. declarations: [],
  75884. changeDetection: metadata.changeDetection,
  75885. encapsulation,
  75886. interpolation: metadata.interpolation,
  75887. viewProviders: metadata.viewProviders || null,
  75888. isStandalone: !!metadata.standalone
  75889. });
  75890. compilationDepth++;
  75891. try {
  75892. if (meta.usesInheritance) {
  75893. addDirectiveDefToUndecoratedParents(type);
  75894. }
  75895. ngComponentDef = compiler.compileComponent(angularCoreEnv, templateUrl, meta);
  75896. if (metadata.standalone) {
  75897. // Patch the component definition for standalone components with `directiveDefs` and
  75898. // `pipeDefs` functions which lazily compute the directives/pipes available in the
  75899. // standalone component. Also set `dependencies` to the lazily resolved list of imports.
  75900. const imports = flatten(metadata.imports || EMPTY_ARRAY);
  75901. const {
  75902. directiveDefs,
  75903. pipeDefs
  75904. } = getStandaloneDefFunctions(type, imports);
  75905. ngComponentDef.directiveDefs = directiveDefs;
  75906. ngComponentDef.pipeDefs = pipeDefs;
  75907. ngComponentDef.dependencies = () => imports.map(resolveForwardRef);
  75908. }
  75909. } finally {
  75910. // Ensure that the compilation depth is decremented even when the compilation failed.
  75911. compilationDepth--;
  75912. }
  75913. if (compilationDepth === 0) {
  75914. // When NgModule decorator executed, we enqueued the module definition such that
  75915. // it would only dequeue and add itself as module scope to all of its declarations,
  75916. // but only if if all of its declarations had resolved. This call runs the check
  75917. // to see if any modules that are in the queue can be dequeued and add scope to
  75918. // their declarations.
  75919. flushModuleScopingQueueAsMuchAsPossible();
  75920. } // If component compilation is async, then the @NgModule annotation which declares the
  75921. // component may execute and set an ngSelectorScope property on the component type. This
  75922. // allows the component to patch itself with directiveDefs from the module after it
  75923. // finishes compiling.
  75924. if (hasSelectorScope(type)) {
  75925. const scopes = transitiveScopesFor(type.ngSelectorScope);
  75926. patchComponentDefWithScope(ngComponentDef, scopes);
  75927. }
  75928. if (metadata.schemas) {
  75929. if (metadata.standalone) {
  75930. ngComponentDef.schemas = metadata.schemas;
  75931. } else {
  75932. throw new Error(`The 'schemas' was specified for the ${stringifyForError(type)} but is only valid on a component that is standalone.`);
  75933. }
  75934. } else if (metadata.standalone) {
  75935. ngComponentDef.schemas = [];
  75936. }
  75937. }
  75938. return ngComponentDef;
  75939. },
  75940. // Make the property configurable in dev mode to allow overriding in tests
  75941. configurable: !!ngDevMode
  75942. });
  75943. }
  75944. function getDependencyTypeForError(type) {
  75945. if (getComponentDef(type)) return 'component';
  75946. if (getDirectiveDef(type)) return 'directive';
  75947. if (getPipeDef$1(type)) return 'pipe';
  75948. return 'type';
  75949. }
  75950. function verifyStandaloneImport(depType, importingType) {
  75951. if (isForwardRef(depType)) {
  75952. depType = resolveForwardRef(depType);
  75953. if (!depType) {
  75954. throw new Error(`Expected forwardRef function, imported from "${stringifyForError(importingType)}", to return a standalone entity or NgModule but got "${stringifyForError(depType) || depType}".`);
  75955. }
  75956. }
  75957. if (getNgModuleDef(depType) == null) {
  75958. const def = getComponentDef(depType) || getDirectiveDef(depType) || getPipeDef$1(depType);
  75959. if (def != null) {
  75960. // if a component, directive or pipe is imported make sure that it is standalone
  75961. if (!def.standalone) {
  75962. throw new Error(`The "${stringifyForError(depType)}" ${getDependencyTypeForError(depType)}, imported from "${stringifyForError(importingType)}", is not standalone. Did you forget to add the standalone: true flag?`);
  75963. }
  75964. } else {
  75965. // it can be either a module with provider or an unknown (not annotated) type
  75966. if (isModuleWithProviders(depType)) {
  75967. throw new Error(`A module with providers was imported from "${stringifyForError(importingType)}". Modules with providers are not supported in standalone components imports.`);
  75968. } else {
  75969. throw new Error(`The "${stringifyForError(depType)}" type, imported from "${stringifyForError(importingType)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);
  75970. }
  75971. }
  75972. }
  75973. }
  75974. /**
  75975. * Build memoized `directiveDefs` and `pipeDefs` functions for the component definition of a
  75976. * standalone component, which process `imports` and filter out directives and pipes. The use of
  75977. * memoized functions here allows for the delayed resolution of any `forwardRef`s present in the
  75978. * component's `imports`.
  75979. */
  75980. function getStandaloneDefFunctions(type, imports) {
  75981. let cachedDirectiveDefs = null;
  75982. let cachedPipeDefs = null;
  75983. const directiveDefs = () => {
  75984. if (cachedDirectiveDefs === null) {
  75985. // Standalone components are always able to self-reference, so include the component's own
  75986. // definition in its `directiveDefs`.
  75987. cachedDirectiveDefs = [getComponentDef(type)];
  75988. const seen = new Set();
  75989. for (const rawDep of imports) {
  75990. ngDevMode && verifyStandaloneImport(rawDep, type);
  75991. const dep = resolveForwardRef(rawDep);
  75992. if (seen.has(dep)) {
  75993. continue;
  75994. }
  75995. seen.add(dep);
  75996. if (!!getNgModuleDef(dep)) {
  75997. const scope = transitiveScopesFor(dep);
  75998. for (const dir of scope.exported.directives) {
  75999. const def = getComponentDef(dir) || getDirectiveDef(dir);
  76000. if (def && !seen.has(dir)) {
  76001. seen.add(dir);
  76002. cachedDirectiveDefs.push(def);
  76003. }
  76004. }
  76005. } else {
  76006. const def = getComponentDef(dep) || getDirectiveDef(dep);
  76007. if (def) {
  76008. cachedDirectiveDefs.push(def);
  76009. }
  76010. }
  76011. }
  76012. }
  76013. return cachedDirectiveDefs;
  76014. };
  76015. const pipeDefs = () => {
  76016. if (cachedPipeDefs === null) {
  76017. cachedPipeDefs = [];
  76018. const seen = new Set();
  76019. for (const rawDep of imports) {
  76020. const dep = resolveForwardRef(rawDep);
  76021. if (seen.has(dep)) {
  76022. continue;
  76023. }
  76024. seen.add(dep);
  76025. if (!!getNgModuleDef(dep)) {
  76026. const scope = transitiveScopesFor(dep);
  76027. for (const pipe of scope.exported.pipes) {
  76028. const def = getPipeDef$1(pipe);
  76029. if (def && !seen.has(pipe)) {
  76030. seen.add(pipe);
  76031. cachedPipeDefs.push(def);
  76032. }
  76033. }
  76034. } else {
  76035. const def = getPipeDef$1(dep);
  76036. if (def) {
  76037. cachedPipeDefs.push(def);
  76038. }
  76039. }
  76040. }
  76041. }
  76042. return cachedPipeDefs;
  76043. };
  76044. return {
  76045. directiveDefs,
  76046. pipeDefs
  76047. };
  76048. }
  76049. function hasSelectorScope(component) {
  76050. return component.ngSelectorScope !== undefined;
  76051. }
  76052. /**
  76053. * Compile an Angular directive according to its decorator metadata, and patch the resulting
  76054. * directive def onto the component type.
  76055. *
  76056. * In the event that compilation is not immediate, `compileDirective` will return a `Promise` which
  76057. * will resolve when compilation completes and the directive becomes usable.
  76058. */
  76059. function compileDirective(type, directive) {
  76060. let ngDirectiveDef = null;
  76061. addDirectiveFactoryDef(type, directive || {});
  76062. Object.defineProperty(type, NG_DIR_DEF, {
  76063. get: () => {
  76064. if (ngDirectiveDef === null) {
  76065. // `directive` can be null in the case of abstract directives as a base class
  76066. // that use `@Directive()` with no selector. In that case, pass empty object to the
  76067. // `directiveMetadata` function instead of null.
  76068. const meta = getDirectiveMetadata(type, directive || {});
  76069. const compiler = getCompilerFacade({
  76070. usage: 0
  76071. /* JitCompilerUsage.Decorator */
  76072. ,
  76073. kind: 'directive',
  76074. type
  76075. });
  76076. ngDirectiveDef = compiler.compileDirective(angularCoreEnv, meta.sourceMapUrl, meta.metadata);
  76077. }
  76078. return ngDirectiveDef;
  76079. },
  76080. // Make the property configurable in dev mode to allow overriding in tests
  76081. configurable: !!ngDevMode
  76082. });
  76083. }
  76084. function getDirectiveMetadata(type, metadata) {
  76085. const name = type && type.name;
  76086. const sourceMapUrl = `ng:///${name}/ɵdir.js`;
  76087. const compiler = getCompilerFacade({
  76088. usage: 0
  76089. /* JitCompilerUsage.Decorator */
  76090. ,
  76091. kind: 'directive',
  76092. type
  76093. });
  76094. const facade = directiveMetadata(type, metadata);
  76095. facade.typeSourceSpan = compiler.createParseSourceSpan('Directive', name, sourceMapUrl);
  76096. if (facade.usesInheritance) {
  76097. addDirectiveDefToUndecoratedParents(type);
  76098. }
  76099. return {
  76100. metadata: facade,
  76101. sourceMapUrl
  76102. };
  76103. }
  76104. function addDirectiveFactoryDef(type, metadata) {
  76105. let ngFactoryDef = null;
  76106. Object.defineProperty(type, NG_FACTORY_DEF, {
  76107. get: () => {
  76108. if (ngFactoryDef === null) {
  76109. const meta = getDirectiveMetadata(type, metadata);
  76110. const compiler = getCompilerFacade({
  76111. usage: 0
  76112. /* JitCompilerUsage.Decorator */
  76113. ,
  76114. kind: 'directive',
  76115. type
  76116. });
  76117. ngFactoryDef = compiler.compileFactory(angularCoreEnv, `ng:///${type.name}/ɵfac.js`, {
  76118. name: meta.metadata.name,
  76119. type: meta.metadata.type,
  76120. typeArgumentCount: 0,
  76121. deps: reflectDependencies(type),
  76122. target: compiler.FactoryTarget.Directive
  76123. });
  76124. }
  76125. return ngFactoryDef;
  76126. },
  76127. // Make the property configurable in dev mode to allow overriding in tests
  76128. configurable: !!ngDevMode
  76129. });
  76130. }
  76131. function extendsDirectlyFromObject(type) {
  76132. return Object.getPrototypeOf(type.prototype) === Object.prototype;
  76133. }
  76134. /**
  76135. * Extract the `R3DirectiveMetadata` for a particular directive (either a `Directive` or a
  76136. * `Component`).
  76137. */
  76138. function directiveMetadata(type, metadata) {
  76139. // Reflect inputs and outputs.
  76140. const reflect = getReflect();
  76141. const propMetadata = reflect.ownPropMetadata(type);
  76142. return {
  76143. name: type.name,
  76144. type: type,
  76145. selector: metadata.selector !== undefined ? metadata.selector : null,
  76146. host: metadata.host || EMPTY_OBJ,
  76147. propMetadata: propMetadata,
  76148. inputs: metadata.inputs || EMPTY_ARRAY,
  76149. outputs: metadata.outputs || EMPTY_ARRAY,
  76150. queries: extractQueriesMetadata(type, propMetadata, isContentQuery),
  76151. lifecycle: {
  76152. usesOnChanges: reflect.hasLifecycleHook(type, 'ngOnChanges')
  76153. },
  76154. typeSourceSpan: null,
  76155. usesInheritance: !extendsDirectlyFromObject(type),
  76156. exportAs: extractExportAs(metadata.exportAs),
  76157. providers: metadata.providers || null,
  76158. viewQueries: extractQueriesMetadata(type, propMetadata, isViewQuery),
  76159. isStandalone: !!metadata.standalone
  76160. };
  76161. }
  76162. /**
  76163. * Adds a directive definition to all parent classes of a type that don't have an Angular decorator.
  76164. */
  76165. function addDirectiveDefToUndecoratedParents(type) {
  76166. const objPrototype = Object.prototype;
  76167. let parent = Object.getPrototypeOf(type.prototype).constructor; // Go up the prototype until we hit `Object`.
  76168. while (parent && parent !== objPrototype) {
  76169. // Since inheritance works if the class was annotated already, we only need to add
  76170. // the def if there are no annotations and the def hasn't been created already.
  76171. if (!getDirectiveDef(parent) && !getComponentDef(parent) && shouldAddAbstractDirective(parent)) {
  76172. compileDirective(parent, null);
  76173. }
  76174. parent = Object.getPrototypeOf(parent);
  76175. }
  76176. }
  76177. function convertToR3QueryPredicate(selector) {
  76178. return typeof selector === 'string' ? splitByComma(selector) : resolveForwardRef(selector);
  76179. }
  76180. function convertToR3QueryMetadata(propertyName, ann) {
  76181. return {
  76182. propertyName: propertyName,
  76183. predicate: convertToR3QueryPredicate(ann.selector),
  76184. descendants: ann.descendants,
  76185. first: ann.first,
  76186. read: ann.read ? ann.read : null,
  76187. static: !!ann.static,
  76188. emitDistinctChangesOnly: !!ann.emitDistinctChangesOnly
  76189. };
  76190. }
  76191. function extractQueriesMetadata(type, propMetadata, isQueryAnn) {
  76192. const queriesMeta = [];
  76193. for (const field in propMetadata) {
  76194. if (propMetadata.hasOwnProperty(field)) {
  76195. const annotations = propMetadata[field];
  76196. annotations.forEach(ann => {
  76197. if (isQueryAnn(ann)) {
  76198. if (!ann.selector) {
  76199. throw new Error(`Can't construct a query for the property "${field}" of ` + `"${stringifyForError(type)}" since the query selector wasn't defined.`);
  76200. }
  76201. if (annotations.some(isInputAnnotation)) {
  76202. throw new Error(`Cannot combine @Input decorators with query decorators`);
  76203. }
  76204. queriesMeta.push(convertToR3QueryMetadata(field, ann));
  76205. }
  76206. });
  76207. }
  76208. }
  76209. return queriesMeta;
  76210. }
  76211. function extractExportAs(exportAs) {
  76212. return exportAs === undefined ? null : splitByComma(exportAs);
  76213. }
  76214. function isContentQuery(value) {
  76215. const name = value.ngMetadataName;
  76216. return name === 'ContentChild' || name === 'ContentChildren';
  76217. }
  76218. function isViewQuery(value) {
  76219. const name = value.ngMetadataName;
  76220. return name === 'ViewChild' || name === 'ViewChildren';
  76221. }
  76222. function isInputAnnotation(value) {
  76223. return value.ngMetadataName === 'Input';
  76224. }
  76225. function splitByComma(value) {
  76226. return value.split(',').map(piece => piece.trim());
  76227. }
  76228. const LIFECYCLE_HOOKS = ['ngOnChanges', 'ngOnInit', 'ngOnDestroy', 'ngDoCheck', 'ngAfterViewInit', 'ngAfterViewChecked', 'ngAfterContentInit', 'ngAfterContentChecked'];
  76229. function shouldAddAbstractDirective(type) {
  76230. const reflect = getReflect();
  76231. if (LIFECYCLE_HOOKS.some(hookName => reflect.hasLifecycleHook(type, hookName))) {
  76232. return true;
  76233. }
  76234. const propMetadata = reflect.propMetadata(type);
  76235. for (const field in propMetadata) {
  76236. const annotations = propMetadata[field];
  76237. for (let i = 0; i < annotations.length; i++) {
  76238. const current = annotations[i];
  76239. const metadataName = current.ngMetadataName;
  76240. if (isInputAnnotation(current) || isContentQuery(current) || isViewQuery(current) || metadataName === 'Output' || metadataName === 'HostBinding' || metadataName === 'HostListener') {
  76241. return true;
  76242. }
  76243. }
  76244. }
  76245. return false;
  76246. }
  76247. /**
  76248. * @license
  76249. * Copyright Google LLC All Rights Reserved.
  76250. *
  76251. * Use of this source code is governed by an MIT-style license that can be
  76252. * found in the LICENSE file at https://angular.io/license
  76253. */
  76254. function compilePipe(type, meta) {
  76255. let ngPipeDef = null;
  76256. let ngFactoryDef = null;
  76257. Object.defineProperty(type, NG_FACTORY_DEF, {
  76258. get: () => {
  76259. if (ngFactoryDef === null) {
  76260. const metadata = getPipeMetadata(type, meta);
  76261. const compiler = getCompilerFacade({
  76262. usage: 0
  76263. /* JitCompilerUsage.Decorator */
  76264. ,
  76265. kind: 'pipe',
  76266. type: metadata.type
  76267. });
  76268. ngFactoryDef = compiler.compileFactory(angularCoreEnv, `ng:///${metadata.name}/ɵfac.js`, {
  76269. name: metadata.name,
  76270. type: metadata.type,
  76271. typeArgumentCount: 0,
  76272. deps: reflectDependencies(type),
  76273. target: compiler.FactoryTarget.Pipe
  76274. });
  76275. }
  76276. return ngFactoryDef;
  76277. },
  76278. // Make the property configurable in dev mode to allow overriding in tests
  76279. configurable: !!ngDevMode
  76280. });
  76281. Object.defineProperty(type, NG_PIPE_DEF, {
  76282. get: () => {
  76283. if (ngPipeDef === null) {
  76284. const metadata = getPipeMetadata(type, meta);
  76285. const compiler = getCompilerFacade({
  76286. usage: 0
  76287. /* JitCompilerUsage.Decorator */
  76288. ,
  76289. kind: 'pipe',
  76290. type: metadata.type
  76291. });
  76292. ngPipeDef = compiler.compilePipe(angularCoreEnv, `ng:///${metadata.name}/ɵpipe.js`, metadata);
  76293. }
  76294. return ngPipeDef;
  76295. },
  76296. // Make the property configurable in dev mode to allow overriding in tests
  76297. configurable: !!ngDevMode
  76298. });
  76299. }
  76300. function getPipeMetadata(type, meta) {
  76301. return {
  76302. type: type,
  76303. name: type.name,
  76304. pipeName: meta.name,
  76305. pure: meta.pure !== undefined ? meta.pure : true,
  76306. isStandalone: !!meta.standalone
  76307. };
  76308. }
  76309. /**
  76310. * @license
  76311. * Copyright Google LLC All Rights Reserved.
  76312. *
  76313. * Use of this source code is governed by an MIT-style license that can be
  76314. * found in the LICENSE file at https://angular.io/license
  76315. */
  76316. /**
  76317. * Type of the Directive metadata.
  76318. *
  76319. * @publicApi
  76320. */
  76321. const Directive = makeDecorator('Directive', (dir = {}) => dir, undefined, undefined, (type, meta) => compileDirective(type, meta));
  76322. /**
  76323. * Component decorator and metadata.
  76324. *
  76325. * @Annotation
  76326. * @publicApi
  76327. */
  76328. const Component = makeDecorator('Component', (c = {}) => Object.assign({
  76329. changeDetection: ChangeDetectionStrategy.Default
  76330. }, c), Directive, undefined, (type, meta) => compileComponent(type, meta));
  76331. /**
  76332. * @Annotation
  76333. * @publicApi
  76334. */
  76335. const Pipe = makeDecorator('Pipe', p => Object.assign({
  76336. pure: true
  76337. }, p), undefined, undefined, (type, meta) => compilePipe(type, meta));
  76338. /**
  76339. * @Annotation
  76340. * @publicApi
  76341. */
  76342. const Input = makePropDecorator('Input', bindingPropertyName => ({
  76343. bindingPropertyName
  76344. }));
  76345. /**
  76346. * @Annotation
  76347. * @publicApi
  76348. */
  76349. const Output = makePropDecorator('Output', bindingPropertyName => ({
  76350. bindingPropertyName
  76351. }));
  76352. /**
  76353. * @Annotation
  76354. * @publicApi
  76355. */
  76356. const HostBinding = makePropDecorator('HostBinding', hostPropertyName => ({
  76357. hostPropertyName
  76358. }));
  76359. /**
  76360. * Decorator that binds a DOM event to a host listener and supplies configuration metadata.
  76361. * Angular invokes the supplied handler method when the host element emits the specified event,
  76362. * and updates the bound element with the result.
  76363. *
  76364. * If the handler method returns false, applies `preventDefault` on the bound element.
  76365. *
  76366. * @usageNotes
  76367. *
  76368. * The following example declares a directive
  76369. * that attaches a click listener to a button and counts clicks.
  76370. *
  76371. * ```ts
  76372. * @Directive({selector: 'button[counting]'})
  76373. * class CountClicks {
  76374. * numberOfClicks = 0;
  76375. *
  76376. * @HostListener('click', ['$event.target'])
  76377. * onClick(btn) {
  76378. * console.log('button', btn, 'number of clicks:', this.numberOfClicks++);
  76379. * }
  76380. * }
  76381. *
  76382. * @Component({
  76383. * selector: 'app',
  76384. * template: '<button counting>Increment</button>',
  76385. * })
  76386. * class App {}
  76387. *
  76388. * ```
  76389. *
  76390. * The following example registers another DOM event handler that listens for `Enter` key-press
  76391. * events on the global `window`.
  76392. * ``` ts
  76393. * import { HostListener, Component } from "@angular/core";
  76394. *
  76395. * @Component({
  76396. * selector: 'app',
  76397. * template: `<h1>Hello, you have pressed enter {{counter}} number of times!</h1> Press enter key
  76398. * to increment the counter.
  76399. * <button (click)="resetCounter()">Reset Counter</button>`
  76400. * })
  76401. * class AppComponent {
  76402. * counter = 0;
  76403. * @HostListener('window:keydown.enter', ['$event'])
  76404. * handleKeyDown(event: KeyboardEvent) {
  76405. * this.counter++;
  76406. * }
  76407. * resetCounter() {
  76408. * this.counter = 0;
  76409. * }
  76410. * }
  76411. * ```
  76412. * The list of valid key names for `keydown` and `keyup` events
  76413. * can be found here:
  76414. * https://www.w3.org/TR/DOM-Level-3-Events-key/#named-key-attribute-values
  76415. *
  76416. * Note that keys can also be combined, e.g. `@HostListener('keydown.shift.a')`.
  76417. *
  76418. * The global target names that can be used to prefix an event name are
  76419. * `document:`, `window:` and `body:`.
  76420. *
  76421. * @Annotation
  76422. * @publicApi
  76423. */
  76424. const HostListener = makePropDecorator('HostListener', (eventName, args) => ({
  76425. eventName,
  76426. args
  76427. }));
  76428. /**
  76429. * @license
  76430. * Copyright Google LLC All Rights Reserved.
  76431. *
  76432. * Use of this source code is governed by an MIT-style license that can be
  76433. * found in the LICENSE file at https://angular.io/license
  76434. */
  76435. /**
  76436. * @Annotation
  76437. * @publicApi
  76438. */
  76439. const NgModule = makeDecorator('NgModule', ngModule => ngModule, undefined, undefined,
  76440. /**
  76441. * Decorator that marks the following class as an NgModule, and supplies
  76442. * configuration metadata for it.
  76443. *
  76444. * * The `declarations` and `entryComponents` options configure the compiler
  76445. * with information about what belongs to the NgModule.
  76446. * * The `providers` options configures the NgModule's injector to provide
  76447. * dependencies the NgModule members.
  76448. * * The `imports` and `exports` options bring in members from other modules, and make
  76449. * this module's members available to others.
  76450. */
  76451. (type, meta) => compileNgModule(type, meta));
  76452. /**
  76453. * @license
  76454. * Copyright Google LLC All Rights Reserved.
  76455. *
  76456. * Use of this source code is governed by an MIT-style license that can be
  76457. * found in the LICENSE file at https://angular.io/license
  76458. */
  76459. /**
  76460. * @license
  76461. * Copyright Google LLC All Rights Reserved.
  76462. *
  76463. * Use of this source code is governed by an MIT-style license that can be
  76464. * found in the LICENSE file at https://angular.io/license
  76465. */
  76466. function noop(...args) {// Do nothing.
  76467. }
  76468. /**
  76469. * @license
  76470. * Copyright Google LLC All Rights Reserved.
  76471. *
  76472. * Use of this source code is governed by an MIT-style license that can be
  76473. * found in the LICENSE file at https://angular.io/license
  76474. */
  76475. /**
  76476. * The existence of this constant (in this particular file) informs the Angular compiler that the
  76477. * current program is actually @angular/core, which needs to be compiled specially.
  76478. */
  76479. const ITS_JUST_ANGULAR = true;
  76480. /**
  76481. * A [DI token](guide/glossary#di-token "DI token definition") that you can use to provide
  76482. * one or more initialization functions.
  76483. *
  76484. * The provided functions are injected at application startup and executed during
  76485. * app initialization. If any of these functions returns a Promise or an Observable, initialization
  76486. * does not complete until the Promise is resolved or the Observable is completed.
  76487. *
  76488. * You can, for example, create a factory function that loads language data
  76489. * or an external configuration, and provide that function to the `APP_INITIALIZER` token.
  76490. * The function is executed during the application bootstrap process,
  76491. * and the needed data is available on startup.
  76492. *
  76493. * @see `ApplicationInitStatus`
  76494. *
  76495. * @usageNotes
  76496. *
  76497. * The following example illustrates how to configure a multi-provider using `APP_INITIALIZER` token
  76498. * and a function returning a promise.
  76499. *
  76500. * ```
  76501. * function initializeApp(): Promise<any> {
  76502. * return new Promise((resolve, reject) => {
  76503. * // Do some asynchronous stuff
  76504. * resolve();
  76505. * });
  76506. * }
  76507. *
  76508. * @NgModule({
  76509. * imports: [BrowserModule],
  76510. * declarations: [AppComponent],
  76511. * bootstrap: [AppComponent],
  76512. * providers: [{
  76513. * provide: APP_INITIALIZER,
  76514. * useFactory: () => initializeApp,
  76515. * multi: true
  76516. * }]
  76517. * })
  76518. * export class AppModule {}
  76519. * ```
  76520. *
  76521. * It's also possible to configure a multi-provider using `APP_INITIALIZER` token and a function
  76522. * returning an observable, see an example below. Note: the `HttpClient` in this example is used for
  76523. * demo purposes to illustrate how the factory function can work with other providers available
  76524. * through DI.
  76525. *
  76526. * ```
  76527. * function initializeAppFactory(httpClient: HttpClient): () => Observable<any> {
  76528. * return () => httpClient.get("https://someUrl.com/api/user")
  76529. * .pipe(
  76530. * tap(user => { ... })
  76531. * );
  76532. * }
  76533. *
  76534. * @NgModule({
  76535. * imports: [BrowserModule, HttpClientModule],
  76536. * declarations: [AppComponent],
  76537. * bootstrap: [AppComponent],
  76538. * providers: [{
  76539. * provide: APP_INITIALIZER,
  76540. * useFactory: initializeAppFactory,
  76541. * deps: [HttpClient],
  76542. * multi: true
  76543. * }]
  76544. * })
  76545. * export class AppModule {}
  76546. * ```
  76547. *
  76548. * @publicApi
  76549. */
  76550. const APP_INITIALIZER = new InjectionToken('Application Initializer');
  76551. /**
  76552. * A class that reflects the state of running {@link APP_INITIALIZER} functions.
  76553. *
  76554. * @publicApi
  76555. */
  76556. class ApplicationInitStatus {
  76557. constructor(appInits) {
  76558. this.appInits = appInits;
  76559. this.resolve = noop;
  76560. this.reject = noop;
  76561. this.initialized = false;
  76562. this.done = false;
  76563. this.donePromise = new Promise((res, rej) => {
  76564. this.resolve = res;
  76565. this.reject = rej;
  76566. });
  76567. }
  76568. /** @internal */
  76569. runInitializers() {
  76570. if (this.initialized) {
  76571. return;
  76572. }
  76573. const asyncInitPromises = [];
  76574. const complete = () => {
  76575. this.done = true;
  76576. this.resolve();
  76577. };
  76578. if (this.appInits) {
  76579. for (let i = 0; i < this.appInits.length; i++) {
  76580. const initResult = this.appInits[i]();
  76581. if (isPromise(initResult)) {
  76582. asyncInitPromises.push(initResult);
  76583. } else if (isObservable(initResult)) {
  76584. const observableAsPromise = new Promise((resolve, reject) => {
  76585. initResult.subscribe({
  76586. complete: resolve,
  76587. error: reject
  76588. });
  76589. });
  76590. asyncInitPromises.push(observableAsPromise);
  76591. }
  76592. }
  76593. }
  76594. Promise.all(asyncInitPromises).then(() => {
  76595. complete();
  76596. }).catch(e => {
  76597. this.reject(e);
  76598. });
  76599. if (asyncInitPromises.length === 0) {
  76600. complete();
  76601. }
  76602. this.initialized = true;
  76603. }
  76604. }
  76605. ApplicationInitStatus.ɵfac = function ApplicationInitStatus_Factory(t) {
  76606. return new (t || ApplicationInitStatus)(ɵɵinject(APP_INITIALIZER, 8));
  76607. };
  76608. ApplicationInitStatus.ɵprov = /*@__PURE__*/ɵɵdefineInjectable({
  76609. token: ApplicationInitStatus,
  76610. factory: ApplicationInitStatus.ɵfac,
  76611. providedIn: 'root'
  76612. });
  76613. (function () {
  76614. (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(ApplicationInitStatus, [{
  76615. type: Injectable,
  76616. args: [{
  76617. providedIn: 'root'
  76618. }]
  76619. }], function () {
  76620. return [{
  76621. type: undefined,
  76622. decorators: [{
  76623. type: Inject,
  76624. args: [APP_INITIALIZER]
  76625. }, {
  76626. type: Optional
  76627. }]
  76628. }];
  76629. }, null);
  76630. })();
  76631. /**
  76632. * @license
  76633. * Copyright Google LLC All Rights Reserved.
  76634. *
  76635. * Use of this source code is governed by an MIT-style license that can be
  76636. * found in the LICENSE file at https://angular.io/license
  76637. */
  76638. /**
  76639. * A [DI token](guide/glossary#di-token "DI token definition") representing a unique string ID, used
  76640. * primarily for prefixing application attributes and CSS styles when
  76641. * {@link ViewEncapsulation#Emulated ViewEncapsulation.Emulated} is being used.
  76642. *
  76643. * BY default, the value is randomly generated and assigned to the application by Angular.
  76644. * To provide a custom ID value, use a DI provider <!-- TODO: provider --> to configure
  76645. * the root {@link Injector} that uses this token.
  76646. *
  76647. * @publicApi
  76648. */
  76649. const APP_ID = new InjectionToken('AppId', {
  76650. providedIn: 'root',
  76651. factory: _appIdRandomProviderFactory
  76652. });
  76653. function _appIdRandomProviderFactory() {
  76654. return `${_randomChar()}${_randomChar()}${_randomChar()}`;
  76655. }
  76656. /**
  76657. * Providers that generate a random `APP_ID_TOKEN`.
  76658. * @publicApi
  76659. */
  76660. const APP_ID_RANDOM_PROVIDER = {
  76661. provide: APP_ID,
  76662. useFactory: _appIdRandomProviderFactory,
  76663. deps: []
  76664. };
  76665. function _randomChar() {
  76666. return String.fromCharCode(97 + Math.floor(Math.random() * 25));
  76667. }
  76668. /**
  76669. * A function that is executed when a platform is initialized.
  76670. * @publicApi
  76671. */
  76672. const PLATFORM_INITIALIZER = new InjectionToken('Platform Initializer');
  76673. /**
  76674. * A token that indicates an opaque platform ID.
  76675. * @publicApi
  76676. */
  76677. const PLATFORM_ID = new InjectionToken('Platform ID', {
  76678. providedIn: 'platform',
  76679. factory: () => 'unknown' // set a default platform name, when none set explicitly
  76680. });
  76681. /**
  76682. * A [DI token](guide/glossary#di-token "DI token definition") that provides a set of callbacks to
  76683. * be called for every component that is bootstrapped.
  76684. *
  76685. * Each callback must take a `ComponentRef` instance and return nothing.
  76686. *
  76687. * `(componentRef: ComponentRef) => void`
  76688. *
  76689. * @publicApi
  76690. */
  76691. const APP_BOOTSTRAP_LISTENER = new InjectionToken('appBootstrapListener');
  76692. /**
  76693. * A [DI token](guide/glossary#di-token "DI token definition") that indicates the root directory of
  76694. * the application
  76695. * @publicApi
  76696. */
  76697. const PACKAGE_ROOT_URL = new InjectionToken('Application Packages Root URL'); // We keep this token here, rather than the animations package, so that modules that only care
  76698. // about which animations module is loaded (e.g. the CDK) can retrieve it without having to
  76699. // include extra dependencies. See #44970 for more context.
  76700. /**
  76701. * A [DI token](guide/glossary#di-token "DI token definition") that indicates which animations
  76702. * module has been loaded.
  76703. * @publicApi
  76704. */
  76705. const ANIMATION_MODULE_TYPE = new InjectionToken('AnimationModuleType');
  76706. /**
  76707. * @license
  76708. * Copyright Google LLC All Rights Reserved.
  76709. *
  76710. * Use of this source code is governed by an MIT-style license that can be
  76711. * found in the LICENSE file at https://angular.io/license
  76712. */
  76713. class Console {
  76714. log(message) {
  76715. // tslint:disable-next-line:no-console
  76716. console.log(message);
  76717. } // Note: for reporting errors use `DOM.logError()` as it is platform specific
  76718. warn(message) {
  76719. // tslint:disable-next-line:no-console
  76720. console.warn(message);
  76721. }
  76722. }
  76723. Console.ɵfac = function Console_Factory(t) {
  76724. return new (t || Console)();
  76725. };
  76726. Console.ɵprov = /*@__PURE__*/ɵɵdefineInjectable({
  76727. token: Console,
  76728. factory: Console.ɵfac,
  76729. providedIn: 'platform'
  76730. });
  76731. (function () {
  76732. (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(Console, [{
  76733. type: Injectable,
  76734. args: [{
  76735. providedIn: 'platform'
  76736. }]
  76737. }], null, null);
  76738. })();
  76739. /**
  76740. * @license
  76741. * Copyright Google LLC All Rights Reserved.
  76742. *
  76743. * Use of this source code is governed by an MIT-style license that can be
  76744. * found in the LICENSE file at https://angular.io/license
  76745. */
  76746. /**
  76747. * Work out the locale from the potential global properties.
  76748. *
  76749. * * Closure Compiler: use `goog.LOCALE`.
  76750. * * Ivy enabled: use `$localize.locale`
  76751. */
  76752. function getGlobalLocale() {
  76753. if (typeof ngI18nClosureMode !== 'undefined' && ngI18nClosureMode && typeof goog !== 'undefined' && goog.LOCALE !== 'en') {
  76754. // * The default `goog.LOCALE` value is `en`, while Angular used `en-US`.
  76755. // * In order to preserve backwards compatibility, we use Angular default value over
  76756. // Closure Compiler's one.
  76757. return goog.LOCALE;
  76758. } else {
  76759. // KEEP `typeof $localize !== 'undefined' && $localize.locale` IN SYNC WITH THE LOCALIZE
  76760. // COMPILE-TIME INLINER.
  76761. //
  76762. // * During compile time inlining of translations the expression will be replaced
  76763. // with a string literal that is the current locale. Other forms of this expression are not
  76764. // guaranteed to be replaced.
  76765. //
  76766. // * During runtime translation evaluation, the developer is required to set `$localize.locale`
  76767. // if required, or just to provide their own `LOCALE_ID` provider.
  76768. return typeof $localize !== 'undefined' && $localize.locale || DEFAULT_LOCALE_ID;
  76769. }
  76770. }
  76771. /**
  76772. * Provide this token to set the locale of your application.
  76773. * It is used for i18n extraction, by i18n pipes (DatePipe, I18nPluralPipe, CurrencyPipe,
  76774. * DecimalPipe and PercentPipe) and by ICU expressions.
  76775. *
  76776. * See the [i18n guide](guide/i18n-common-locale-id) for more information.
  76777. *
  76778. * @usageNotes
  76779. * ### Example
  76780. *
  76781. * ```typescript
  76782. * import { LOCALE_ID } from '@angular/core';
  76783. * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
  76784. * import { AppModule } from './app/app.module';
  76785. *
  76786. * platformBrowserDynamic().bootstrapModule(AppModule, {
  76787. * providers: [{provide: LOCALE_ID, useValue: 'en-US' }]
  76788. * });
  76789. * ```
  76790. *
  76791. * @publicApi
  76792. */
  76793. const LOCALE_ID = new InjectionToken('LocaleId', {
  76794. providedIn: 'root',
  76795. factory: () => inject(LOCALE_ID, InjectFlags.Optional | InjectFlags.SkipSelf) || getGlobalLocale()
  76796. });
  76797. /**
  76798. * Provide this token to set the default currency code your application uses for
  76799. * CurrencyPipe when there is no currency code passed into it. This is only used by
  76800. * CurrencyPipe and has no relation to locale currency. Defaults to USD if not configured.
  76801. *
  76802. * See the [i18n guide](guide/i18n-common-locale-id) for more information.
  76803. *
  76804. * <div class="alert is-helpful">
  76805. *
  76806. * **Deprecation notice:**
  76807. *
  76808. * The default currency code is currently always `USD` but this is deprecated from v9.
  76809. *
  76810. * **In v10 the default currency code will be taken from the current locale.**
  76811. *
  76812. * If you need the previous behavior then set it by creating a `DEFAULT_CURRENCY_CODE` provider in
  76813. * your application `NgModule`:
  76814. *
  76815. * ```ts
  76816. * {provide: DEFAULT_CURRENCY_CODE, useValue: 'USD'}
  76817. * ```
  76818. *
  76819. * </div>
  76820. *
  76821. * @usageNotes
  76822. * ### Example
  76823. *
  76824. * ```typescript
  76825. * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
  76826. * import { AppModule } from './app/app.module';
  76827. *
  76828. * platformBrowserDynamic().bootstrapModule(AppModule, {
  76829. * providers: [{provide: DEFAULT_CURRENCY_CODE, useValue: 'EUR' }]
  76830. * });
  76831. * ```
  76832. *
  76833. * @publicApi
  76834. */
  76835. const DEFAULT_CURRENCY_CODE = new InjectionToken('DefaultCurrencyCode', {
  76836. providedIn: 'root',
  76837. factory: () => USD_CURRENCY_CODE
  76838. });
  76839. /**
  76840. * Use this token at bootstrap to provide the content of your translation file (`xtb`,
  76841. * `xlf` or `xlf2`) when you want to translate your application in another language.
  76842. *
  76843. * See the [i18n guide](guide/i18n-common-merge) for more information.
  76844. *
  76845. * @usageNotes
  76846. * ### Example
  76847. *
  76848. * ```typescript
  76849. * import { TRANSLATIONS } from '@angular/core';
  76850. * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
  76851. * import { AppModule } from './app/app.module';
  76852. *
  76853. * // content of your translation file
  76854. * const translations = '....';
  76855. *
  76856. * platformBrowserDynamic().bootstrapModule(AppModule, {
  76857. * providers: [{provide: TRANSLATIONS, useValue: translations }]
  76858. * });
  76859. * ```
  76860. *
  76861. * @publicApi
  76862. */
  76863. const TRANSLATIONS = new InjectionToken('Translations');
  76864. /**
  76865. * Provide this token at bootstrap to set the format of your {@link TRANSLATIONS}: `xtb`,
  76866. * `xlf` or `xlf2`.
  76867. *
  76868. * See the [i18n guide](guide/i18n-common-merge) for more information.
  76869. *
  76870. * @usageNotes
  76871. * ### Example
  76872. *
  76873. * ```typescript
  76874. * import { TRANSLATIONS_FORMAT } from '@angular/core';
  76875. * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
  76876. * import { AppModule } from './app/app.module';
  76877. *
  76878. * platformBrowserDynamic().bootstrapModule(AppModule, {
  76879. * providers: [{provide: TRANSLATIONS_FORMAT, useValue: 'xlf' }]
  76880. * });
  76881. * ```
  76882. *
  76883. * @publicApi
  76884. */
  76885. const TRANSLATIONS_FORMAT = new InjectionToken('TranslationsFormat');
  76886. /**
  76887. * Use this enum at bootstrap as an option of `bootstrapModule` to define the strategy
  76888. * that the compiler should use in case of missing translations:
  76889. * - Error: throw if you have missing translations.
  76890. * - Warning (default): show a warning in the console and/or shell.
  76891. * - Ignore: do nothing.
  76892. *
  76893. * See the [i18n guide](guide/i18n-common-merge#report-missing-translations) for more information.
  76894. *
  76895. * @usageNotes
  76896. * ### Example
  76897. * ```typescript
  76898. * import { MissingTranslationStrategy } from '@angular/core';
  76899. * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
  76900. * import { AppModule } from './app/app.module';
  76901. *
  76902. * platformBrowserDynamic().bootstrapModule(AppModule, {
  76903. * missingTranslation: MissingTranslationStrategy.Error
  76904. * });
  76905. * ```
  76906. *
  76907. * @publicApi
  76908. */
  76909. var MissingTranslationStrategy;
  76910. (function (MissingTranslationStrategy) {
  76911. MissingTranslationStrategy[MissingTranslationStrategy["Error"] = 0] = "Error";
  76912. MissingTranslationStrategy[MissingTranslationStrategy["Warning"] = 1] = "Warning";
  76913. MissingTranslationStrategy[MissingTranslationStrategy["Ignore"] = 2] = "Ignore";
  76914. })(MissingTranslationStrategy || (MissingTranslationStrategy = {}));
  76915. /**
  76916. * @license
  76917. * Copyright Google LLC All Rights Reserved.
  76918. *
  76919. * Use of this source code is governed by an MIT-style license that can be
  76920. * found in the LICENSE file at https://angular.io/license
  76921. */
  76922. /**
  76923. * Combination of NgModuleFactory and ComponentFactories.
  76924. *
  76925. * @publicApi
  76926. *
  76927. * @deprecated
  76928. * Ivy JIT mode doesn't require accessing this symbol.
  76929. * See [JIT API changes due to ViewEngine deprecation](guide/deprecations#jit-api-changes) for
  76930. * additional context.
  76931. */
  76932. class ModuleWithComponentFactories {
  76933. constructor(ngModuleFactory, componentFactories) {
  76934. this.ngModuleFactory = ngModuleFactory;
  76935. this.componentFactories = componentFactories;
  76936. }
  76937. }
  76938. /**
  76939. * Low-level service for running the angular compiler during runtime
  76940. * to create {@link ComponentFactory}s, which
  76941. * can later be used to create and render a Component instance.
  76942. *
  76943. * Each `@NgModule` provides an own `Compiler` to its injector,
  76944. * that will use the directives/pipes of the ng module for compilation
  76945. * of components.
  76946. *
  76947. * @publicApi
  76948. *
  76949. * @deprecated
  76950. * Ivy JIT mode doesn't require accessing this symbol.
  76951. * See [JIT API changes due to ViewEngine deprecation](guide/deprecations#jit-api-changes) for
  76952. * additional context.
  76953. */
  76954. class Compiler {
  76955. /**
  76956. * Compiles the given NgModule and all of its components. All templates of the components listed
  76957. * in `entryComponents` have to be inlined.
  76958. */
  76959. compileModuleSync(moduleType) {
  76960. return new NgModuleFactory(moduleType);
  76961. }
  76962. /**
  76963. * Compiles the given NgModule and all of its components
  76964. */
  76965. compileModuleAsync(moduleType) {
  76966. return Promise.resolve(this.compileModuleSync(moduleType));
  76967. }
  76968. /**
  76969. * Same as {@link #compileModuleSync} but also creates ComponentFactories for all components.
  76970. */
  76971. compileModuleAndAllComponentsSync(moduleType) {
  76972. const ngModuleFactory = this.compileModuleSync(moduleType);
  76973. const moduleDef = getNgModuleDef(moduleType);
  76974. const componentFactories = maybeUnwrapFn(moduleDef.declarations).reduce((factories, declaration) => {
  76975. const componentDef = getComponentDef(declaration);
  76976. componentDef && factories.push(new ComponentFactory(componentDef));
  76977. return factories;
  76978. }, []);
  76979. return new ModuleWithComponentFactories(ngModuleFactory, componentFactories);
  76980. }
  76981. /**
  76982. * Same as {@link #compileModuleAsync} but also creates ComponentFactories for all components.
  76983. */
  76984. compileModuleAndAllComponentsAsync(moduleType) {
  76985. return Promise.resolve(this.compileModuleAndAllComponentsSync(moduleType));
  76986. }
  76987. /**
  76988. * Clears all caches.
  76989. */
  76990. clearCache() {}
  76991. /**
  76992. * Clears the cache for the given component/ngModule.
  76993. */
  76994. clearCacheFor(type) {}
  76995. /**
  76996. * Returns the id for a given NgModule, if one is defined and known to the compiler.
  76997. */
  76998. getModuleId(moduleType) {
  76999. return undefined;
  77000. }
  77001. }
  77002. Compiler.ɵfac = function Compiler_Factory(t) {
  77003. return new (t || Compiler)();
  77004. };
  77005. Compiler.ɵprov = /*@__PURE__*/ɵɵdefineInjectable({
  77006. token: Compiler,
  77007. factory: Compiler.ɵfac,
  77008. providedIn: 'root'
  77009. });
  77010. (function () {
  77011. (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(Compiler, [{
  77012. type: Injectable,
  77013. args: [{
  77014. providedIn: 'root'
  77015. }]
  77016. }], null, null);
  77017. })();
  77018. /**
  77019. * Token to provide CompilerOptions in the platform injector.
  77020. *
  77021. * @publicApi
  77022. */
  77023. const COMPILER_OPTIONS = new InjectionToken('compilerOptions');
  77024. /**
  77025. * A factory for creating a Compiler
  77026. *
  77027. * @publicApi
  77028. *
  77029. * @deprecated
  77030. * Ivy JIT mode doesn't require accessing this symbol.
  77031. * See [JIT API changes due to ViewEngine deprecation](guide/deprecations#jit-api-changes) for
  77032. * additional context.
  77033. */
  77034. class CompilerFactory {}
  77035. /**
  77036. * @license
  77037. * Copyright Google LLC All Rights Reserved.
  77038. *
  77039. * Use of this source code is governed by an MIT-style license that can be
  77040. * found in the LICENSE file at https://angular.io/license
  77041. */
  77042. /**
  77043. * Marks a component for check (in case of OnPush components) and synchronously
  77044. * performs change detection on the application this component belongs to.
  77045. *
  77046. * @param component Component to {@link ChangeDetectorRef#markForCheck mark for check}.
  77047. *
  77048. * @publicApi
  77049. * @globalApi ng
  77050. */
  77051. function applyChanges(component) {
  77052. ngDevMode && assertDefined(component, 'component');
  77053. markViewDirty(getComponentViewByInstance(component));
  77054. getRootComponents(component).forEach(rootComponent => detectChanges(rootComponent));
  77055. }
  77056. /**
  77057. * @license
  77058. * Copyright Google LLC All Rights Reserved.
  77059. *
  77060. * Use of this source code is governed by an MIT-style license that can be
  77061. * found in the LICENSE file at https://angular.io/license
  77062. */
  77063. /**
  77064. * This file introduces series of globally accessible debug tools
  77065. * to allow for the Angular debugging story to function.
  77066. *
  77067. * To see this in action run the following command:
  77068. *
  77069. * bazel run //packages/core/test/bundling/todo:devserver
  77070. *
  77071. * Then load `localhost:5432` and start using the console tools.
  77072. */
  77073. /**
  77074. * This value reflects the property on the window where the dev
  77075. * tools are patched (window.ng).
  77076. * */
  77077. const GLOBAL_PUBLISH_EXPANDO_KEY = 'ng';
  77078. let _published = false;
  77079. /**
  77080. * Publishes a collection of default debug tools onto`window.ng`.
  77081. *
  77082. * These functions are available globally when Angular is in development
  77083. * mode and are automatically stripped away from prod mode is on.
  77084. */
  77085. function publishDefaultGlobalUtils$1() {
  77086. if (!_published) {
  77087. _published = true;
  77088. /**
  77089. * Warning: this function is *INTERNAL* and should not be relied upon in application's code.
  77090. * The contract of the function might be changed in any release and/or the function can be
  77091. * removed completely.
  77092. */
  77093. publishGlobalUtil('ɵsetProfiler', setProfiler);
  77094. publishGlobalUtil('getDirectiveMetadata', getDirectiveMetadata$1);
  77095. publishGlobalUtil('getComponent', getComponent);
  77096. publishGlobalUtil('getContext', getContext);
  77097. publishGlobalUtil('getListeners', getListeners);
  77098. publishGlobalUtil('getOwningComponent', getOwningComponent);
  77099. publishGlobalUtil('getHostElement', getHostElement);
  77100. publishGlobalUtil('getInjector', getInjector);
  77101. publishGlobalUtil('getRootComponents', getRootComponents);
  77102. publishGlobalUtil('getDirectives', getDirectives);
  77103. publishGlobalUtil('applyChanges', applyChanges);
  77104. }
  77105. }
  77106. /**
  77107. * Publishes the given function to `window.ng` so that it can be
  77108. * used from the browser console when an application is not in production.
  77109. */
  77110. function publishGlobalUtil(name, fn) {
  77111. if (typeof COMPILED === 'undefined' || !COMPILED) {
  77112. // Note: we can't export `ng` when using closure enhanced optimization as:
  77113. // - closure declares globals itself for minified names, which sometimes clobber our `ng` global
  77114. // - we can't declare a closure extern as the namespace `ng` is already used within Google
  77115. // for typings for AngularJS (via `goog.provide('ng....')`).
  77116. const w = _global;
  77117. ngDevMode && assertDefined(fn, 'function not defined');
  77118. if (w) {
  77119. let container = w[GLOBAL_PUBLISH_EXPANDO_KEY];
  77120. if (!container) {
  77121. container = w[GLOBAL_PUBLISH_EXPANDO_KEY] = {};
  77122. }
  77123. container[name] = fn;
  77124. }
  77125. }
  77126. }
  77127. /**
  77128. * @license
  77129. * Copyright Google LLC All Rights Reserved.
  77130. *
  77131. * Use of this source code is governed by an MIT-style license that can be
  77132. * found in the LICENSE file at https://angular.io/license
  77133. */
  77134. const promise = (() => Promise.resolve(0))();
  77135. function scheduleMicroTask(fn) {
  77136. if (typeof Zone === 'undefined') {
  77137. // use promise to schedule microTask instead of use Zone
  77138. promise.then(() => {
  77139. fn && fn.apply(null, null);
  77140. });
  77141. } else {
  77142. Zone.current.scheduleMicroTask('scheduleMicrotask', fn);
  77143. }
  77144. }
  77145. /**
  77146. * @license
  77147. * Copyright Google LLC All Rights Reserved.
  77148. *
  77149. * Use of this source code is governed by an MIT-style license that can be
  77150. * found in the LICENSE file at https://angular.io/license
  77151. */
  77152. function getNativeRequestAnimationFrame() {
  77153. let nativeRequestAnimationFrame = _global['requestAnimationFrame'];
  77154. let nativeCancelAnimationFrame = _global['cancelAnimationFrame'];
  77155. if (typeof Zone !== 'undefined' && nativeRequestAnimationFrame && nativeCancelAnimationFrame) {
  77156. // use unpatched version of requestAnimationFrame(native delegate) if possible
  77157. // to avoid another Change detection
  77158. const unpatchedRequestAnimationFrame = nativeRequestAnimationFrame[Zone.__symbol__('OriginalDelegate')];
  77159. if (unpatchedRequestAnimationFrame) {
  77160. nativeRequestAnimationFrame = unpatchedRequestAnimationFrame;
  77161. }
  77162. const unpatchedCancelAnimationFrame = nativeCancelAnimationFrame[Zone.__symbol__('OriginalDelegate')];
  77163. if (unpatchedCancelAnimationFrame) {
  77164. nativeCancelAnimationFrame = unpatchedCancelAnimationFrame;
  77165. }
  77166. }
  77167. return {
  77168. nativeRequestAnimationFrame,
  77169. nativeCancelAnimationFrame
  77170. };
  77171. }
  77172. /**
  77173. * @license
  77174. * Copyright Google LLC All Rights Reserved.
  77175. *
  77176. * Use of this source code is governed by an MIT-style license that can be
  77177. * found in the LICENSE file at https://angular.io/license
  77178. */
  77179. /**
  77180. * An injectable service for executing work inside or outside of the Angular zone.
  77181. *
  77182. * The most common use of this service is to optimize performance when starting a work consisting of
  77183. * one or more asynchronous tasks that don't require UI updates or error handling to be handled by
  77184. * Angular. Such tasks can be kicked off via {@link #runOutsideAngular} and if needed, these tasks
  77185. * can reenter the Angular zone via {@link #run}.
  77186. *
  77187. * <!-- TODO: add/fix links to:
  77188. * - docs explaining zones and the use of zones in Angular and change-detection
  77189. * - link to runOutsideAngular/run (throughout this file!)
  77190. * -->
  77191. *
  77192. * @usageNotes
  77193. * ### Example
  77194. *
  77195. * ```
  77196. * import {Component, NgZone} from '@angular/core';
  77197. * import {NgIf} from '@angular/common';
  77198. *
  77199. * @Component({
  77200. * selector: 'ng-zone-demo',
  77201. * template: `
  77202. * <h2>Demo: NgZone</h2>
  77203. *
  77204. * <p>Progress: {{progress}}%</p>
  77205. * <p *ngIf="progress >= 100">Done processing {{label}} of Angular zone!</p>
  77206. *
  77207. * <button (click)="processWithinAngularZone()">Process within Angular zone</button>
  77208. * <button (click)="processOutsideOfAngularZone()">Process outside of Angular zone</button>
  77209. * `,
  77210. * })
  77211. * export class NgZoneDemo {
  77212. * progress: number = 0;
  77213. * label: string;
  77214. *
  77215. * constructor(private _ngZone: NgZone) {}
  77216. *
  77217. * // Loop inside the Angular zone
  77218. * // so the UI DOES refresh after each setTimeout cycle
  77219. * processWithinAngularZone() {
  77220. * this.label = 'inside';
  77221. * this.progress = 0;
  77222. * this._increaseProgress(() => console.log('Inside Done!'));
  77223. * }
  77224. *
  77225. * // Loop outside of the Angular zone
  77226. * // so the UI DOES NOT refresh after each setTimeout cycle
  77227. * processOutsideOfAngularZone() {
  77228. * this.label = 'outside';
  77229. * this.progress = 0;
  77230. * this._ngZone.runOutsideAngular(() => {
  77231. * this._increaseProgress(() => {
  77232. * // reenter the Angular zone and display done
  77233. * this._ngZone.run(() => { console.log('Outside Done!'); });
  77234. * });
  77235. * });
  77236. * }
  77237. *
  77238. * _increaseProgress(doneCallback: () => void) {
  77239. * this.progress += 1;
  77240. * console.log(`Current progress: ${this.progress}%`);
  77241. *
  77242. * if (this.progress < 100) {
  77243. * window.setTimeout(() => this._increaseProgress(doneCallback), 10);
  77244. * } else {
  77245. * doneCallback();
  77246. * }
  77247. * }
  77248. * }
  77249. * ```
  77250. *
  77251. * @publicApi
  77252. */
  77253. class NgZone {
  77254. constructor({
  77255. enableLongStackTrace = false,
  77256. shouldCoalesceEventChangeDetection = false,
  77257. shouldCoalesceRunChangeDetection = false
  77258. }) {
  77259. this.hasPendingMacrotasks = false;
  77260. this.hasPendingMicrotasks = false;
  77261. /**
  77262. * Whether there are no outstanding microtasks or macrotasks.
  77263. */
  77264. this.isStable = true;
  77265. /**
  77266. * Notifies when code enters Angular Zone. This gets fired first on VM Turn.
  77267. */
  77268. this.onUnstable = new EventEmitter(false);
  77269. /**
  77270. * Notifies when there is no more microtasks enqueued in the current VM Turn.
  77271. * This is a hint for Angular to do change detection, which may enqueue more microtasks.
  77272. * For this reason this event can fire multiple times per VM Turn.
  77273. */
  77274. this.onMicrotaskEmpty = new EventEmitter(false);
  77275. /**
  77276. * Notifies when the last `onMicrotaskEmpty` has run and there are no more microtasks, which
  77277. * implies we are about to relinquish VM turn.
  77278. * This event gets called just once.
  77279. */
  77280. this.onStable = new EventEmitter(false);
  77281. /**
  77282. * Notifies that an error has been delivered.
  77283. */
  77284. this.onError = new EventEmitter(false);
  77285. if (typeof Zone == 'undefined') {
  77286. throw new RuntimeError(908
  77287. /* RuntimeErrorCode.MISSING_ZONEJS */
  77288. , ngDevMode && `In this configuration Angular requires Zone.js`);
  77289. }
  77290. Zone.assertZonePatched();
  77291. const self = this;
  77292. self._nesting = 0;
  77293. self._outer = self._inner = Zone.current;
  77294. if (Zone['AsyncStackTaggingZoneSpec']) {
  77295. const AsyncStackTaggingZoneSpec = Zone['AsyncStackTaggingZoneSpec'];
  77296. self._inner = self._inner.fork(new AsyncStackTaggingZoneSpec('Angular'));
  77297. }
  77298. if (Zone['TaskTrackingZoneSpec']) {
  77299. self._inner = self._inner.fork(new Zone['TaskTrackingZoneSpec']());
  77300. }
  77301. if (enableLongStackTrace && Zone['longStackTraceZoneSpec']) {
  77302. self._inner = self._inner.fork(Zone['longStackTraceZoneSpec']);
  77303. } // if shouldCoalesceRunChangeDetection is true, all tasks including event tasks will be
  77304. // coalesced, so shouldCoalesceEventChangeDetection option is not necessary and can be skipped.
  77305. self.shouldCoalesceEventChangeDetection = !shouldCoalesceRunChangeDetection && shouldCoalesceEventChangeDetection;
  77306. self.shouldCoalesceRunChangeDetection = shouldCoalesceRunChangeDetection;
  77307. self.lastRequestAnimationFrameId = -1;
  77308. self.nativeRequestAnimationFrame = getNativeRequestAnimationFrame().nativeRequestAnimationFrame;
  77309. forkInnerZoneWithAngularBehavior(self);
  77310. }
  77311. static isInAngularZone() {
  77312. // Zone needs to be checked, because this method might be called even when NoopNgZone is used.
  77313. return typeof Zone !== 'undefined' && Zone.current.get('isAngularZone') === true;
  77314. }
  77315. static assertInAngularZone() {
  77316. if (!NgZone.isInAngularZone()) {
  77317. throw new RuntimeError(909
  77318. /* RuntimeErrorCode.UNEXPECTED_ZONE_STATE */
  77319. , ngDevMode && 'Expected to be in Angular Zone, but it is not!');
  77320. }
  77321. }
  77322. static assertNotInAngularZone() {
  77323. if (NgZone.isInAngularZone()) {
  77324. throw new RuntimeError(909
  77325. /* RuntimeErrorCode.UNEXPECTED_ZONE_STATE */
  77326. , ngDevMode && 'Expected to not be in Angular Zone, but it is!');
  77327. }
  77328. }
  77329. /**
  77330. * Executes the `fn` function synchronously within the Angular zone and returns value returned by
  77331. * the function.
  77332. *
  77333. * Running functions via `run` allows you to reenter Angular zone from a task that was executed
  77334. * outside of the Angular zone (typically started via {@link #runOutsideAngular}).
  77335. *
  77336. * Any future tasks or microtasks scheduled from within this function will continue executing from
  77337. * within the Angular zone.
  77338. *
  77339. * If a synchronous error happens it will be rethrown and not reported via `onError`.
  77340. */
  77341. run(fn, applyThis, applyArgs) {
  77342. return this._inner.run(fn, applyThis, applyArgs);
  77343. }
  77344. /**
  77345. * Executes the `fn` function synchronously within the Angular zone as a task and returns value
  77346. * returned by the function.
  77347. *
  77348. * Running functions via `run` allows you to reenter Angular zone from a task that was executed
  77349. * outside of the Angular zone (typically started via {@link #runOutsideAngular}).
  77350. *
  77351. * Any future tasks or microtasks scheduled from within this function will continue executing from
  77352. * within the Angular zone.
  77353. *
  77354. * If a synchronous error happens it will be rethrown and not reported via `onError`.
  77355. */
  77356. runTask(fn, applyThis, applyArgs, name) {
  77357. const zone = this._inner;
  77358. const task = zone.scheduleEventTask('NgZoneEvent: ' + name, fn, EMPTY_PAYLOAD, noop, noop);
  77359. try {
  77360. return zone.runTask(task, applyThis, applyArgs);
  77361. } finally {
  77362. zone.cancelTask(task);
  77363. }
  77364. }
  77365. /**
  77366. * Same as `run`, except that synchronous errors are caught and forwarded via `onError` and not
  77367. * rethrown.
  77368. */
  77369. runGuarded(fn, applyThis, applyArgs) {
  77370. return this._inner.runGuarded(fn, applyThis, applyArgs);
  77371. }
  77372. /**
  77373. * Executes the `fn` function synchronously in Angular's parent zone and returns value returned by
  77374. * the function.
  77375. *
  77376. * Running functions via {@link #runOutsideAngular} allows you to escape Angular's zone and do
  77377. * work that
  77378. * doesn't trigger Angular change-detection or is subject to Angular's error handling.
  77379. *
  77380. * Any future tasks or microtasks scheduled from within this function will continue executing from
  77381. * outside of the Angular zone.
  77382. *
  77383. * Use {@link #run} to reenter the Angular zone and do work that updates the application model.
  77384. */
  77385. runOutsideAngular(fn) {
  77386. return this._outer.run(fn);
  77387. }
  77388. }
  77389. const EMPTY_PAYLOAD = {};
  77390. function checkStable(zone) {
  77391. // TODO: @JiaLiPassion, should check zone.isCheckStableRunning to prevent
  77392. // re-entry. The case is:
  77393. //
  77394. // @Component({...})
  77395. // export class AppComponent {
  77396. // constructor(private ngZone: NgZone) {
  77397. // this.ngZone.onStable.subscribe(() => {
  77398. // this.ngZone.run(() => console.log('stable'););
  77399. // });
  77400. // }
  77401. //
  77402. // The onStable subscriber run another function inside ngZone
  77403. // which causes `checkStable()` re-entry.
  77404. // But this fix causes some issues in g3, so this fix will be
  77405. // launched in another PR.
  77406. if (zone._nesting == 0 && !zone.hasPendingMicrotasks && !zone.isStable) {
  77407. try {
  77408. zone._nesting++;
  77409. zone.onMicrotaskEmpty.emit(null);
  77410. } finally {
  77411. zone._nesting--;
  77412. if (!zone.hasPendingMicrotasks) {
  77413. try {
  77414. zone.runOutsideAngular(() => zone.onStable.emit(null));
  77415. } finally {
  77416. zone.isStable = true;
  77417. }
  77418. }
  77419. }
  77420. }
  77421. }
  77422. function delayChangeDetectionForEvents(zone) {
  77423. /**
  77424. * We also need to check _nesting here
  77425. * Consider the following case with shouldCoalesceRunChangeDetection = true
  77426. *
  77427. * ngZone.run(() => {});
  77428. * ngZone.run(() => {});
  77429. *
  77430. * We want the two `ngZone.run()` only trigger one change detection
  77431. * when shouldCoalesceRunChangeDetection is true.
  77432. * And because in this case, change detection run in async way(requestAnimationFrame),
  77433. * so we also need to check the _nesting here to prevent multiple
  77434. * change detections.
  77435. */
  77436. if (zone.isCheckStableRunning || zone.lastRequestAnimationFrameId !== -1) {
  77437. return;
  77438. }
  77439. zone.lastRequestAnimationFrameId = zone.nativeRequestAnimationFrame.call(_global, () => {
  77440. // This is a work around for https://github.com/angular/angular/issues/36839.
  77441. // The core issue is that when event coalescing is enabled it is possible for microtasks
  77442. // to get flushed too early (As is the case with `Promise.then`) between the
  77443. // coalescing eventTasks.
  77444. //
  77445. // To workaround this we schedule a "fake" eventTask before we process the
  77446. // coalescing eventTasks. The benefit of this is that the "fake" container eventTask
  77447. // will prevent the microtasks queue from getting drained in between the coalescing
  77448. // eventTask execution.
  77449. if (!zone.fakeTopEventTask) {
  77450. zone.fakeTopEventTask = Zone.root.scheduleEventTask('fakeTopEventTask', () => {
  77451. zone.lastRequestAnimationFrameId = -1;
  77452. updateMicroTaskStatus(zone);
  77453. zone.isCheckStableRunning = true;
  77454. checkStable(zone);
  77455. zone.isCheckStableRunning = false;
  77456. }, undefined, () => {}, () => {});
  77457. }
  77458. zone.fakeTopEventTask.invoke();
  77459. });
  77460. updateMicroTaskStatus(zone);
  77461. }
  77462. function forkInnerZoneWithAngularBehavior(zone) {
  77463. const delayChangeDetectionForEventsDelegate = () => {
  77464. delayChangeDetectionForEvents(zone);
  77465. };
  77466. zone._inner = zone._inner.fork({
  77467. name: 'angular',
  77468. properties: {
  77469. 'isAngularZone': true
  77470. },
  77471. onInvokeTask: (delegate, current, target, task, applyThis, applyArgs) => {
  77472. try {
  77473. onEnter(zone);
  77474. return delegate.invokeTask(target, task, applyThis, applyArgs);
  77475. } finally {
  77476. if (zone.shouldCoalesceEventChangeDetection && task.type === 'eventTask' || zone.shouldCoalesceRunChangeDetection) {
  77477. delayChangeDetectionForEventsDelegate();
  77478. }
  77479. onLeave(zone);
  77480. }
  77481. },
  77482. onInvoke: (delegate, current, target, callback, applyThis, applyArgs, source) => {
  77483. try {
  77484. onEnter(zone);
  77485. return delegate.invoke(target, callback, applyThis, applyArgs, source);
  77486. } finally {
  77487. if (zone.shouldCoalesceRunChangeDetection) {
  77488. delayChangeDetectionForEventsDelegate();
  77489. }
  77490. onLeave(zone);
  77491. }
  77492. },
  77493. onHasTask: (delegate, current, target, hasTaskState) => {
  77494. delegate.hasTask(target, hasTaskState);
  77495. if (current === target) {
  77496. // We are only interested in hasTask events which originate from our zone
  77497. // (A child hasTask event is not interesting to us)
  77498. if (hasTaskState.change == 'microTask') {
  77499. zone._hasPendingMicrotasks = hasTaskState.microTask;
  77500. updateMicroTaskStatus(zone);
  77501. checkStable(zone);
  77502. } else if (hasTaskState.change == 'macroTask') {
  77503. zone.hasPendingMacrotasks = hasTaskState.macroTask;
  77504. }
  77505. }
  77506. },
  77507. onHandleError: (delegate, current, target, error) => {
  77508. delegate.handleError(target, error);
  77509. zone.runOutsideAngular(() => zone.onError.emit(error));
  77510. return false;
  77511. }
  77512. });
  77513. }
  77514. function updateMicroTaskStatus(zone) {
  77515. if (zone._hasPendingMicrotasks || (zone.shouldCoalesceEventChangeDetection || zone.shouldCoalesceRunChangeDetection) && zone.lastRequestAnimationFrameId !== -1) {
  77516. zone.hasPendingMicrotasks = true;
  77517. } else {
  77518. zone.hasPendingMicrotasks = false;
  77519. }
  77520. }
  77521. function onEnter(zone) {
  77522. zone._nesting++;
  77523. if (zone.isStable) {
  77524. zone.isStable = false;
  77525. zone.onUnstable.emit(null);
  77526. }
  77527. }
  77528. function onLeave(zone) {
  77529. zone._nesting--;
  77530. checkStable(zone);
  77531. }
  77532. /**
  77533. * Provides a noop implementation of `NgZone` which does nothing. This zone requires explicit calls
  77534. * to framework to perform rendering.
  77535. */
  77536. class NoopNgZone {
  77537. constructor() {
  77538. this.hasPendingMicrotasks = false;
  77539. this.hasPendingMacrotasks = false;
  77540. this.isStable = true;
  77541. this.onUnstable = new EventEmitter();
  77542. this.onMicrotaskEmpty = new EventEmitter();
  77543. this.onStable = new EventEmitter();
  77544. this.onError = new EventEmitter();
  77545. }
  77546. run(fn, applyThis, applyArgs) {
  77547. return fn.apply(applyThis, applyArgs);
  77548. }
  77549. runGuarded(fn, applyThis, applyArgs) {
  77550. return fn.apply(applyThis, applyArgs);
  77551. }
  77552. runOutsideAngular(fn) {
  77553. return fn();
  77554. }
  77555. runTask(fn, applyThis, applyArgs, name) {
  77556. return fn.apply(applyThis, applyArgs);
  77557. }
  77558. }
  77559. /**
  77560. * @license
  77561. * Copyright Google LLC All Rights Reserved.
  77562. *
  77563. * Use of this source code is governed by an MIT-style license that can be
  77564. * found in the LICENSE file at https://angular.io/license
  77565. */
  77566. /**
  77567. * Internal injection token that can used to access an instance of a Testability class.
  77568. *
  77569. * This token acts as a bridge between the core bootstrap code and the `Testability` class. This is
  77570. * needed to ensure that there are no direct references to the `Testability` class, so it can be
  77571. * tree-shaken away (if not referenced). For the environments/setups when the `Testability` class
  77572. * should be available, this token is used to add a provider that references the `Testability`
  77573. * class. Otherwise, only this token is retained in a bundle, but the `Testability` class is not.
  77574. */
  77575. const TESTABILITY = new InjectionToken('');
  77576. /**
  77577. * Internal injection token to retrieve Testability getter class instance.
  77578. */
  77579. const TESTABILITY_GETTER = new InjectionToken('');
  77580. /**
  77581. * The Testability service provides testing hooks that can be accessed from
  77582. * the browser.
  77583. *
  77584. * Angular applications bootstrapped using an NgModule (via `@NgModule.bootstrap` field) will also
  77585. * instantiate Testability by default (in both development and production modes).
  77586. *
  77587. * For applications bootstrapped using the `bootstrapApplication` function, Testability is not
  77588. * included by default. You can include it into your applications by getting the list of necessary
  77589. * providers using the `provideProtractorTestingSupport()` function and adding them into the
  77590. * `options.providers` array. Example:
  77591. *
  77592. * ```typescript
  77593. * import {provideProtractorTestingSupport} from '@angular/platform-browser';
  77594. *
  77595. * await bootstrapApplication(RootComponent, providers: [provideProtractorTestingSupport()]);
  77596. * ```
  77597. *
  77598. * @publicApi
  77599. */
  77600. class Testability {
  77601. constructor(_ngZone, registry, testabilityGetter) {
  77602. this._ngZone = _ngZone;
  77603. this.registry = registry;
  77604. this._pendingCount = 0;
  77605. this._isZoneStable = true;
  77606. /**
  77607. * Whether any work was done since the last 'whenStable' callback. This is
  77608. * useful to detect if this could have potentially destabilized another
  77609. * component while it is stabilizing.
  77610. * @internal
  77611. */
  77612. this._didWork = false;
  77613. this._callbacks = [];
  77614. this.taskTrackingZone = null; // If there was no Testability logic registered in the global scope
  77615. // before, register the current testability getter as a global one.
  77616. if (!_testabilityGetter) {
  77617. setTestabilityGetter(testabilityGetter);
  77618. testabilityGetter.addToWindow(registry);
  77619. }
  77620. this._watchAngularEvents();
  77621. _ngZone.run(() => {
  77622. this.taskTrackingZone = typeof Zone == 'undefined' ? null : Zone.current.get('TaskTrackingZone');
  77623. });
  77624. }
  77625. _watchAngularEvents() {
  77626. this._ngZone.onUnstable.subscribe({
  77627. next: () => {
  77628. this._didWork = true;
  77629. this._isZoneStable = false;
  77630. }
  77631. });
  77632. this._ngZone.runOutsideAngular(() => {
  77633. this._ngZone.onStable.subscribe({
  77634. next: () => {
  77635. NgZone.assertNotInAngularZone();
  77636. scheduleMicroTask(() => {
  77637. this._isZoneStable = true;
  77638. this._runCallbacksIfReady();
  77639. });
  77640. }
  77641. });
  77642. });
  77643. }
  77644. /**
  77645. * Increases the number of pending request
  77646. * @deprecated pending requests are now tracked with zones.
  77647. */
  77648. increasePendingRequestCount() {
  77649. this._pendingCount += 1;
  77650. this._didWork = true;
  77651. return this._pendingCount;
  77652. }
  77653. /**
  77654. * Decreases the number of pending request
  77655. * @deprecated pending requests are now tracked with zones
  77656. */
  77657. decreasePendingRequestCount() {
  77658. this._pendingCount -= 1;
  77659. if (this._pendingCount < 0) {
  77660. throw new Error('pending async requests below zero');
  77661. }
  77662. this._runCallbacksIfReady();
  77663. return this._pendingCount;
  77664. }
  77665. /**
  77666. * Whether an associated application is stable
  77667. */
  77668. isStable() {
  77669. return this._isZoneStable && this._pendingCount === 0 && !this._ngZone.hasPendingMacrotasks;
  77670. }
  77671. _runCallbacksIfReady() {
  77672. if (this.isStable()) {
  77673. // Schedules the call backs in a new frame so that it is always async.
  77674. scheduleMicroTask(() => {
  77675. while (this._callbacks.length !== 0) {
  77676. let cb = this._callbacks.pop();
  77677. clearTimeout(cb.timeoutId);
  77678. cb.doneCb(this._didWork);
  77679. }
  77680. this._didWork = false;
  77681. });
  77682. } else {
  77683. // Still not stable, send updates.
  77684. let pending = this.getPendingTasks();
  77685. this._callbacks = this._callbacks.filter(cb => {
  77686. if (cb.updateCb && cb.updateCb(pending)) {
  77687. clearTimeout(cb.timeoutId);
  77688. return false;
  77689. }
  77690. return true;
  77691. });
  77692. this._didWork = true;
  77693. }
  77694. }
  77695. getPendingTasks() {
  77696. if (!this.taskTrackingZone) {
  77697. return [];
  77698. } // Copy the tasks data so that we don't leak tasks.
  77699. return this.taskTrackingZone.macroTasks.map(t => {
  77700. return {
  77701. source: t.source,
  77702. // From TaskTrackingZone:
  77703. // https://github.com/angular/zone.js/blob/master/lib/zone-spec/task-tracking.ts#L40
  77704. creationLocation: t.creationLocation,
  77705. data: t.data
  77706. };
  77707. });
  77708. }
  77709. addCallback(cb, timeout, updateCb) {
  77710. let timeoutId = -1;
  77711. if (timeout && timeout > 0) {
  77712. timeoutId = setTimeout(() => {
  77713. this._callbacks = this._callbacks.filter(cb => cb.timeoutId !== timeoutId);
  77714. cb(this._didWork, this.getPendingTasks());
  77715. }, timeout);
  77716. }
  77717. this._callbacks.push({
  77718. doneCb: cb,
  77719. timeoutId: timeoutId,
  77720. updateCb: updateCb
  77721. });
  77722. }
  77723. /**
  77724. * Wait for the application to be stable with a timeout. If the timeout is reached before that
  77725. * happens, the callback receives a list of the macro tasks that were pending, otherwise null.
  77726. *
  77727. * @param doneCb The callback to invoke when Angular is stable or the timeout expires
  77728. * whichever comes first.
  77729. * @param timeout Optional. The maximum time to wait for Angular to become stable. If not
  77730. * specified, whenStable() will wait forever.
  77731. * @param updateCb Optional. If specified, this callback will be invoked whenever the set of
  77732. * pending macrotasks changes. If this callback returns true doneCb will not be invoked
  77733. * and no further updates will be issued.
  77734. */
  77735. whenStable(doneCb, timeout, updateCb) {
  77736. if (updateCb && !this.taskTrackingZone) {
  77737. throw new Error('Task tracking zone is required when passing an update callback to ' + 'whenStable(). Is "zone.js/plugins/task-tracking" loaded?');
  77738. } // These arguments are 'Function' above to keep the public API simple.
  77739. this.addCallback(doneCb, timeout, updateCb);
  77740. this._runCallbacksIfReady();
  77741. }
  77742. /**
  77743. * Get the number of pending requests
  77744. * @deprecated pending requests are now tracked with zones
  77745. */
  77746. getPendingRequestCount() {
  77747. return this._pendingCount;
  77748. }
  77749. /**
  77750. * Registers an application with a testability hook so that it can be tracked.
  77751. * @param token token of application, root element
  77752. *
  77753. * @internal
  77754. */
  77755. registerApplication(token) {
  77756. this.registry.registerApplication(token, this);
  77757. }
  77758. /**
  77759. * Unregisters an application.
  77760. * @param token token of application, root element
  77761. *
  77762. * @internal
  77763. */
  77764. unregisterApplication(token) {
  77765. this.registry.unregisterApplication(token);
  77766. }
  77767. /**
  77768. * Find providers by name
  77769. * @param using The root element to search from
  77770. * @param provider The name of binding variable
  77771. * @param exactMatch Whether using exactMatch
  77772. */
  77773. findProviders(using, provider, exactMatch) {
  77774. // TODO(juliemr): implement.
  77775. return [];
  77776. }
  77777. }
  77778. Testability.ɵfac = function Testability_Factory(t) {
  77779. return new (t || Testability)(ɵɵinject(NgZone), ɵɵinject(TestabilityRegistry), ɵɵinject(TESTABILITY_GETTER));
  77780. };
  77781. Testability.ɵprov = /*@__PURE__*/ɵɵdefineInjectable({
  77782. token: Testability,
  77783. factory: Testability.ɵfac
  77784. });
  77785. (function () {
  77786. (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(Testability, [{
  77787. type: Injectable
  77788. }], function () {
  77789. return [{
  77790. type: NgZone
  77791. }, {
  77792. type: TestabilityRegistry
  77793. }, {
  77794. type: undefined,
  77795. decorators: [{
  77796. type: Inject,
  77797. args: [TESTABILITY_GETTER]
  77798. }]
  77799. }];
  77800. }, null);
  77801. })();
  77802. /**
  77803. * A global registry of {@link Testability} instances for specific elements.
  77804. * @publicApi
  77805. */
  77806. class TestabilityRegistry {
  77807. constructor() {
  77808. /** @internal */
  77809. this._applications = new Map();
  77810. }
  77811. /**
  77812. * Registers an application with a testability hook so that it can be tracked
  77813. * @param token token of application, root element
  77814. * @param testability Testability hook
  77815. */
  77816. registerApplication(token, testability) {
  77817. this._applications.set(token, testability);
  77818. }
  77819. /**
  77820. * Unregisters an application.
  77821. * @param token token of application, root element
  77822. */
  77823. unregisterApplication(token) {
  77824. this._applications.delete(token);
  77825. }
  77826. /**
  77827. * Unregisters all applications
  77828. */
  77829. unregisterAllApplications() {
  77830. this._applications.clear();
  77831. }
  77832. /**
  77833. * Get a testability hook associated with the application
  77834. * @param elem root element
  77835. */
  77836. getTestability(elem) {
  77837. return this._applications.get(elem) || null;
  77838. }
  77839. /**
  77840. * Get all registered testabilities
  77841. */
  77842. getAllTestabilities() {
  77843. return Array.from(this._applications.values());
  77844. }
  77845. /**
  77846. * Get all registered applications(root elements)
  77847. */
  77848. getAllRootElements() {
  77849. return Array.from(this._applications.keys());
  77850. }
  77851. /**
  77852. * Find testability of a node in the Tree
  77853. * @param elem node
  77854. * @param findInAncestors whether finding testability in ancestors if testability was not found in
  77855. * current node
  77856. */
  77857. findTestabilityInTree(elem, findInAncestors = true) {
  77858. var _a;
  77859. return (_a = _testabilityGetter === null || _testabilityGetter === void 0 ? void 0 : _testabilityGetter.findTestabilityInTree(this, elem, findInAncestors)) !== null && _a !== void 0 ? _a : null;
  77860. }
  77861. }
  77862. TestabilityRegistry.ɵfac = function TestabilityRegistry_Factory(t) {
  77863. return new (t || TestabilityRegistry)();
  77864. };
  77865. TestabilityRegistry.ɵprov = /*@__PURE__*/ɵɵdefineInjectable({
  77866. token: TestabilityRegistry,
  77867. factory: TestabilityRegistry.ɵfac,
  77868. providedIn: 'platform'
  77869. });
  77870. (function () {
  77871. (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(TestabilityRegistry, [{
  77872. type: Injectable,
  77873. args: [{
  77874. providedIn: 'platform'
  77875. }]
  77876. }], null, null);
  77877. })();
  77878. /**
  77879. * Set the {@link GetTestability} implementation used by the Angular testing framework.
  77880. * @publicApi
  77881. */
  77882. function setTestabilityGetter(getter) {
  77883. _testabilityGetter = getter;
  77884. }
  77885. let _testabilityGetter;
  77886. /**
  77887. * @license
  77888. * Copyright Google LLC All Rights Reserved.
  77889. *
  77890. * Use of this source code is governed by an MIT-style license that can be
  77891. * found in the LICENSE file at https://angular.io/license
  77892. */
  77893. let _platformInjector = null;
  77894. /**
  77895. * Internal token to indicate whether having multiple bootstrapped platform should be allowed (only
  77896. * one bootstrapped platform is allowed by default). This token helps to support SSR scenarios.
  77897. */
  77898. const ALLOW_MULTIPLE_PLATFORMS = new InjectionToken('AllowMultipleToken');
  77899. /**
  77900. * Internal token that allows to register extra callbacks that should be invoked during the
  77901. * `PlatformRef.destroy` operation. This token is needed to avoid a direct reference to the
  77902. * `PlatformRef` class (i.e. register the callback via `PlatformRef.onDestroy`), thus making the
  77903. * entire class tree-shakeable.
  77904. */
  77905. const PLATFORM_DESTROY_LISTENERS = new InjectionToken('PlatformDestroyListeners');
  77906. const NG_DEV_MODE = typeof ngDevMode === 'undefined' || ngDevMode;
  77907. function compileNgModuleFactory(injector, options, moduleType) {
  77908. ngDevMode && assertNgModuleType(moduleType);
  77909. const moduleFactory = new NgModuleFactory(moduleType); // All of the logic below is irrelevant for AOT-compiled code.
  77910. if (typeof ngJitMode !== 'undefined' && !ngJitMode) {
  77911. return Promise.resolve(moduleFactory);
  77912. }
  77913. const compilerOptions = injector.get(COMPILER_OPTIONS, []).concat(options); // Configure the compiler to use the provided options. This call may fail when multiple modules
  77914. // are bootstrapped with incompatible options, as a component can only be compiled according to
  77915. // a single set of options.
  77916. setJitOptions({
  77917. defaultEncapsulation: _lastDefined(compilerOptions.map(opts => opts.defaultEncapsulation)),
  77918. preserveWhitespaces: _lastDefined(compilerOptions.map(opts => opts.preserveWhitespaces))
  77919. });
  77920. if (isComponentResourceResolutionQueueEmpty()) {
  77921. return Promise.resolve(moduleFactory);
  77922. }
  77923. const compilerProviders = _mergeArrays(compilerOptions.map(o => o.providers)); // In case there are no compiler providers, we just return the module factory as
  77924. // there won't be any resource loader. This can happen with Ivy, because AOT compiled
  77925. // modules can be still passed through "bootstrapModule". In that case we shouldn't
  77926. // unnecessarily require the JIT compiler.
  77927. if (compilerProviders.length === 0) {
  77928. return Promise.resolve(moduleFactory);
  77929. }
  77930. const compiler = getCompilerFacade({
  77931. usage: 0
  77932. /* JitCompilerUsage.Decorator */
  77933. ,
  77934. kind: 'NgModule',
  77935. type: moduleType
  77936. });
  77937. const compilerInjector = Injector.create({
  77938. providers: compilerProviders
  77939. });
  77940. const resourceLoader = compilerInjector.get(compiler.ResourceLoader); // The resource loader can also return a string while the "resolveComponentResources"
  77941. // always expects a promise. Therefore we need to wrap the returned value in a promise.
  77942. return resolveComponentResources(url => Promise.resolve(resourceLoader.get(url))).then(() => moduleFactory);
  77943. }
  77944. function publishDefaultGlobalUtils() {
  77945. ngDevMode && publishDefaultGlobalUtils$1();
  77946. }
  77947. function isBoundToModule(cf) {
  77948. return cf.isBoundToModule;
  77949. }
  77950. /**
  77951. * A token for third-party components that can register themselves with NgProbe.
  77952. *
  77953. * @publicApi
  77954. */
  77955. class NgProbeToken {
  77956. constructor(name, token) {
  77957. this.name = name;
  77958. this.token = token;
  77959. }
  77960. }
  77961. /**
  77962. * Creates a platform.
  77963. * Platforms must be created on launch using this function.
  77964. *
  77965. * @publicApi
  77966. */
  77967. function createPlatform(injector) {
  77968. if (_platformInjector && !_platformInjector.get(ALLOW_MULTIPLE_PLATFORMS, false)) {
  77969. throw new RuntimeError(400
  77970. /* RuntimeErrorCode.MULTIPLE_PLATFORMS */
  77971. , ngDevMode && 'There can be only one platform. Destroy the previous one to create a new one.');
  77972. }
  77973. publishDefaultGlobalUtils();
  77974. _platformInjector = injector;
  77975. const platform = injector.get(PlatformRef);
  77976. runPlatformInitializers(injector);
  77977. return platform;
  77978. }
  77979. /**
  77980. * The goal of this function is to bootstrap a platform injector,
  77981. * but avoid referencing `PlatformRef` class.
  77982. * This function is needed for bootstrapping a Standalone Component.
  77983. */
  77984. function createOrReusePlatformInjector(providers = []) {
  77985. // If a platform injector already exists, it means that the platform
  77986. // is already bootstrapped and no additional actions are required.
  77987. if (_platformInjector) return _platformInjector; // Otherwise, setup a new platform injector and run platform initializers.
  77988. const injector = createPlatformInjector(providers);
  77989. _platformInjector = injector;
  77990. publishDefaultGlobalUtils();
  77991. runPlatformInitializers(injector);
  77992. return injector;
  77993. }
  77994. function runPlatformInitializers(injector) {
  77995. const inits = injector.get(PLATFORM_INITIALIZER, null);
  77996. if (inits) {
  77997. inits.forEach(init => init());
  77998. }
  77999. }
  78000. /**
  78001. * Internal create application API that implements the core application creation logic and optional
  78002. * bootstrap logic.
  78003. *
  78004. * Platforms (such as `platform-browser`) may require different set of application and platform
  78005. * providers for an application to function correctly. As a result, platforms may use this function
  78006. * internally and supply the necessary providers during the bootstrap, while exposing
  78007. * platform-specific APIs as a part of their public API.
  78008. *
  78009. * @returns A promise that returns an `ApplicationRef` instance once resolved.
  78010. */
  78011. function internalCreateApplication(config) {
  78012. const {
  78013. rootComponent,
  78014. appProviders,
  78015. platformProviders
  78016. } = config;
  78017. if (NG_DEV_MODE && rootComponent !== undefined) {
  78018. assertStandaloneComponentType(rootComponent);
  78019. }
  78020. const platformInjector = createOrReusePlatformInjector(platformProviders);
  78021. const ngZone = getNgZone('zone.js', getNgZoneOptions());
  78022. return ngZone.run(() => {
  78023. // Create root application injector based on a set of providers configured at the platform
  78024. // bootstrap level as well as providers passed to the bootstrap call by a user.
  78025. const allAppProviders = [{
  78026. provide: NgZone,
  78027. useValue: ngZone
  78028. }, ...(appProviders || []) //
  78029. ];
  78030. const envInjector = createEnvironmentInjector(allAppProviders, platformInjector, 'Environment Injector');
  78031. const exceptionHandler = envInjector.get(ErrorHandler, null);
  78032. if (NG_DEV_MODE && !exceptionHandler) {
  78033. throw new RuntimeError(402
  78034. /* RuntimeErrorCode.ERROR_HANDLER_NOT_FOUND */
  78035. , 'No `ErrorHandler` found in the Dependency Injection tree.');
  78036. }
  78037. let onErrorSubscription;
  78038. ngZone.runOutsideAngular(() => {
  78039. onErrorSubscription = ngZone.onError.subscribe({
  78040. next: error => {
  78041. exceptionHandler.handleError(error);
  78042. }
  78043. });
  78044. }); // If the whole platform is destroyed, invoke the `destroy` method
  78045. // for all bootstrapped applications as well.
  78046. const destroyListener = () => envInjector.destroy();
  78047. const onPlatformDestroyListeners = platformInjector.get(PLATFORM_DESTROY_LISTENERS);
  78048. onPlatformDestroyListeners.add(destroyListener);
  78049. envInjector.onDestroy(() => {
  78050. onErrorSubscription.unsubscribe();
  78051. onPlatformDestroyListeners.delete(destroyListener);
  78052. });
  78053. return _callAndReportToErrorHandler(exceptionHandler, ngZone, () => {
  78054. const initStatus = envInjector.get(ApplicationInitStatus);
  78055. initStatus.runInitializers();
  78056. return initStatus.donePromise.then(() => {
  78057. const localeId = envInjector.get(LOCALE_ID, DEFAULT_LOCALE_ID);
  78058. setLocaleId(localeId || DEFAULT_LOCALE_ID);
  78059. const appRef = envInjector.get(ApplicationRef);
  78060. if (rootComponent !== undefined) {
  78061. appRef.bootstrap(rootComponent);
  78062. }
  78063. return appRef;
  78064. });
  78065. });
  78066. });
  78067. }
  78068. /**
  78069. * Creates a factory for a platform. Can be used to provide or override `Providers` specific to
  78070. * your application's runtime needs, such as `PLATFORM_INITIALIZER` and `PLATFORM_ID`.
  78071. * @param parentPlatformFactory Another platform factory to modify. Allows you to compose factories
  78072. * to build up configurations that might be required by different libraries or parts of the
  78073. * application.
  78074. * @param name Identifies the new platform factory.
  78075. * @param providers A set of dependency providers for platforms created with the new factory.
  78076. *
  78077. * @publicApi
  78078. */
  78079. function createPlatformFactory(parentPlatformFactory, name, providers = []) {
  78080. const desc = `Platform: ${name}`;
  78081. const marker = new InjectionToken(desc);
  78082. return (extraProviders = []) => {
  78083. let platform = getPlatform();
  78084. if (!platform || platform.injector.get(ALLOW_MULTIPLE_PLATFORMS, false)) {
  78085. const platformProviders = [...providers, ...extraProviders, {
  78086. provide: marker,
  78087. useValue: true
  78088. }];
  78089. if (parentPlatformFactory) {
  78090. parentPlatformFactory(platformProviders);
  78091. } else {
  78092. createPlatform(createPlatformInjector(platformProviders, desc));
  78093. }
  78094. }
  78095. return assertPlatform(marker);
  78096. };
  78097. }
  78098. /**
  78099. * Checks that there is currently a platform that contains the given token as a provider.
  78100. *
  78101. * @publicApi
  78102. */
  78103. function assertPlatform(requiredToken) {
  78104. const platform = getPlatform();
  78105. if (!platform) {
  78106. throw new RuntimeError(401
  78107. /* RuntimeErrorCode.PLATFORM_NOT_FOUND */
  78108. , ngDevMode && 'No platform exists!');
  78109. }
  78110. if ((typeof ngDevMode === 'undefined' || ngDevMode) && !platform.injector.get(requiredToken, null)) {
  78111. throw new RuntimeError(400
  78112. /* RuntimeErrorCode.MULTIPLE_PLATFORMS */
  78113. , 'A platform with a different configuration has been created. Please destroy it first.');
  78114. }
  78115. return platform;
  78116. }
  78117. /**
  78118. * Helper function to create an instance of a platform injector (that maintains the 'platform'
  78119. * scope).
  78120. */
  78121. function createPlatformInjector(providers = [], name) {
  78122. return Injector.create({
  78123. name,
  78124. providers: [{
  78125. provide: INJECTOR_SCOPE,
  78126. useValue: 'platform'
  78127. }, {
  78128. provide: PLATFORM_DESTROY_LISTENERS,
  78129. useValue: new Set([() => _platformInjector = null])
  78130. }, ...providers]
  78131. });
  78132. }
  78133. /**
  78134. * Destroys the current Angular platform and all Angular applications on the page.
  78135. * Destroys all modules and listeners registered with the platform.
  78136. *
  78137. * @publicApi
  78138. */
  78139. function destroyPlatform() {
  78140. var _a;
  78141. (_a = getPlatform()) === null || _a === void 0 ? void 0 : _a.destroy();
  78142. }
  78143. /**
  78144. * Returns the current platform.
  78145. *
  78146. * @publicApi
  78147. */
  78148. function getPlatform() {
  78149. var _a;
  78150. return (_a = _platformInjector === null || _platformInjector === void 0 ? void 0 : _platformInjector.get(PlatformRef)) !== null && _a !== void 0 ? _a : null;
  78151. }
  78152. /**
  78153. * The Angular platform is the entry point for Angular on a web page.
  78154. * Each page has exactly one platform. Services (such as reflection) which are common
  78155. * to every Angular application running on the page are bound in its scope.
  78156. * A page's platform is initialized implicitly when a platform is created using a platform
  78157. * factory such as `PlatformBrowser`, or explicitly by calling the `createPlatform()` function.
  78158. *
  78159. * @publicApi
  78160. */
  78161. class PlatformRef {
  78162. /** @internal */
  78163. constructor(_injector) {
  78164. this._injector = _injector;
  78165. this._modules = [];
  78166. this._destroyListeners = [];
  78167. this._destroyed = false;
  78168. }
  78169. /**
  78170. * Creates an instance of an `@NgModule` for the given platform.
  78171. *
  78172. * @deprecated Passing NgModule factories as the `PlatformRef.bootstrapModuleFactory` function
  78173. * argument is deprecated. Use the `PlatformRef.bootstrapModule` API instead.
  78174. */
  78175. bootstrapModuleFactory(moduleFactory, options) {
  78176. // Note: We need to create the NgZone _before_ we instantiate the module,
  78177. // as instantiating the module creates some providers eagerly.
  78178. // So we create a mini parent injector that just contains the new NgZone and
  78179. // pass that as parent to the NgModuleFactory.
  78180. const ngZone = getNgZone(options === null || options === void 0 ? void 0 : options.ngZone, getNgZoneOptions(options));
  78181. const providers = [{
  78182. provide: NgZone,
  78183. useValue: ngZone
  78184. }]; // Note: Create ngZoneInjector within ngZone.run so that all of the instantiated services are
  78185. // created within the Angular zone
  78186. // Do not try to replace ngZone.run with ApplicationRef#run because ApplicationRef would then be
  78187. // created outside of the Angular zone.
  78188. return ngZone.run(() => {
  78189. const ngZoneInjector = Injector.create({
  78190. providers: providers,
  78191. parent: this.injector,
  78192. name: moduleFactory.moduleType.name
  78193. });
  78194. const moduleRef = moduleFactory.create(ngZoneInjector);
  78195. const exceptionHandler = moduleRef.injector.get(ErrorHandler, null);
  78196. if (!exceptionHandler) {
  78197. throw new RuntimeError(402
  78198. /* RuntimeErrorCode.ERROR_HANDLER_NOT_FOUND */
  78199. , ngDevMode && 'No ErrorHandler. Is platform module (BrowserModule) included?');
  78200. }
  78201. ngZone.runOutsideAngular(() => {
  78202. const subscription = ngZone.onError.subscribe({
  78203. next: error => {
  78204. exceptionHandler.handleError(error);
  78205. }
  78206. });
  78207. moduleRef.onDestroy(() => {
  78208. remove(this._modules, moduleRef);
  78209. subscription.unsubscribe();
  78210. });
  78211. });
  78212. return _callAndReportToErrorHandler(exceptionHandler, ngZone, () => {
  78213. const initStatus = moduleRef.injector.get(ApplicationInitStatus);
  78214. initStatus.runInitializers();
  78215. return initStatus.donePromise.then(() => {
  78216. // If the `LOCALE_ID` provider is defined at bootstrap then we set the value for ivy
  78217. const localeId = moduleRef.injector.get(LOCALE_ID, DEFAULT_LOCALE_ID);
  78218. setLocaleId(localeId || DEFAULT_LOCALE_ID);
  78219. this._moduleDoBootstrap(moduleRef);
  78220. return moduleRef;
  78221. });
  78222. });
  78223. });
  78224. }
  78225. /**
  78226. * Creates an instance of an `@NgModule` for a given platform.
  78227. *
  78228. * @usageNotes
  78229. * ### Simple Example
  78230. *
  78231. * ```typescript
  78232. * @NgModule({
  78233. * imports: [BrowserModule]
  78234. * })
  78235. * class MyModule {}
  78236. *
  78237. * let moduleRef = platformBrowser().bootstrapModule(MyModule);
  78238. * ```
  78239. *
  78240. */
  78241. bootstrapModule(moduleType, compilerOptions = []) {
  78242. const options = optionsReducer({}, compilerOptions);
  78243. return compileNgModuleFactory(this.injector, options, moduleType).then(moduleFactory => this.bootstrapModuleFactory(moduleFactory, options));
  78244. }
  78245. _moduleDoBootstrap(moduleRef) {
  78246. const appRef = moduleRef.injector.get(ApplicationRef);
  78247. if (moduleRef._bootstrapComponents.length > 0) {
  78248. moduleRef._bootstrapComponents.forEach(f => appRef.bootstrap(f));
  78249. } else if (moduleRef.instance.ngDoBootstrap) {
  78250. moduleRef.instance.ngDoBootstrap(appRef);
  78251. } else {
  78252. throw new RuntimeError(403
  78253. /* RuntimeErrorCode.BOOTSTRAP_COMPONENTS_NOT_FOUND */
  78254. , ngDevMode && `The module ${stringify(moduleRef.instance.constructor)} was bootstrapped, ` + `but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. ` + `Please define one of these.`);
  78255. }
  78256. this._modules.push(moduleRef);
  78257. }
  78258. /**
  78259. * Registers a listener to be called when the platform is destroyed.
  78260. */
  78261. onDestroy(callback) {
  78262. this._destroyListeners.push(callback);
  78263. }
  78264. /**
  78265. * Retrieves the platform {@link Injector}, which is the parent injector for
  78266. * every Angular application on the page and provides singleton providers.
  78267. */
  78268. get injector() {
  78269. return this._injector;
  78270. }
  78271. /**
  78272. * Destroys the current Angular platform and all Angular applications on the page.
  78273. * Destroys all modules and listeners registered with the platform.
  78274. */
  78275. destroy() {
  78276. if (this._destroyed) {
  78277. throw new RuntimeError(404
  78278. /* RuntimeErrorCode.PLATFORM_ALREADY_DESTROYED */
  78279. , ngDevMode && 'The platform has already been destroyed!');
  78280. }
  78281. this._modules.slice().forEach(module => module.destroy());
  78282. this._destroyListeners.forEach(listener => listener());
  78283. const destroyListeners = this._injector.get(PLATFORM_DESTROY_LISTENERS, null);
  78284. if (destroyListeners) {
  78285. destroyListeners.forEach(listener => listener());
  78286. destroyListeners.clear();
  78287. }
  78288. this._destroyed = true;
  78289. }
  78290. /**
  78291. * Indicates whether this instance was destroyed.
  78292. */
  78293. get destroyed() {
  78294. return this._destroyed;
  78295. }
  78296. }
  78297. PlatformRef.ɵfac = function PlatformRef_Factory(t) {
  78298. return new (t || PlatformRef)(ɵɵinject(Injector));
  78299. };
  78300. PlatformRef.ɵprov = /*@__PURE__*/ɵɵdefineInjectable({
  78301. token: PlatformRef,
  78302. factory: PlatformRef.ɵfac,
  78303. providedIn: 'platform'
  78304. });
  78305. (function () {
  78306. (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(PlatformRef, [{
  78307. type: Injectable,
  78308. args: [{
  78309. providedIn: 'platform'
  78310. }]
  78311. }], function () {
  78312. return [{
  78313. type: Injector
  78314. }];
  78315. }, null);
  78316. })(); // Transforms a set of `BootstrapOptions` (supported by the NgModule-based bootstrap APIs) ->
  78317. // `NgZoneOptions` that are recognized by the NgZone constructor. Passing no options will result in
  78318. // a set of default options returned.
  78319. function getNgZoneOptions(options) {
  78320. return {
  78321. enableLongStackTrace: typeof ngDevMode === 'undefined' ? false : !!ngDevMode,
  78322. shouldCoalesceEventChangeDetection: !!(options && options.ngZoneEventCoalescing) || false,
  78323. shouldCoalesceRunChangeDetection: !!(options && options.ngZoneRunCoalescing) || false
  78324. };
  78325. }
  78326. function getNgZone(ngZoneToUse, options) {
  78327. let ngZone;
  78328. if (ngZoneToUse === 'noop') {
  78329. ngZone = new NoopNgZone();
  78330. } else {
  78331. ngZone = (ngZoneToUse === 'zone.js' ? undefined : ngZoneToUse) || new NgZone(options);
  78332. }
  78333. return ngZone;
  78334. }
  78335. function _callAndReportToErrorHandler(errorHandler, ngZone, callback) {
  78336. try {
  78337. const result = callback();
  78338. if (isPromise(result)) {
  78339. return result.catch(e => {
  78340. ngZone.runOutsideAngular(() => errorHandler.handleError(e)); // rethrow as the exception handler might not do it
  78341. throw e;
  78342. });
  78343. }
  78344. return result;
  78345. } catch (e) {
  78346. ngZone.runOutsideAngular(() => errorHandler.handleError(e)); // rethrow as the exception handler might not do it
  78347. throw e;
  78348. }
  78349. }
  78350. function optionsReducer(dst, objs) {
  78351. if (Array.isArray(objs)) {
  78352. dst = objs.reduce(optionsReducer, dst);
  78353. } else {
  78354. dst = Object.assign(Object.assign({}, dst), objs);
  78355. }
  78356. return dst;
  78357. }
  78358. /**
  78359. * A reference to an Angular application running on a page.
  78360. *
  78361. * @usageNotes
  78362. *
  78363. * {@a is-stable-examples}
  78364. * ### isStable examples and caveats
  78365. *
  78366. * Note two important points about `isStable`, demonstrated in the examples below:
  78367. * - the application will never be stable if you start any kind
  78368. * of recurrent asynchronous task when the application starts
  78369. * (for example for a polling process, started with a `setInterval`, a `setTimeout`
  78370. * or using RxJS operators like `interval`);
  78371. * - the `isStable` Observable runs outside of the Angular zone.
  78372. *
  78373. * Let's imagine that you start a recurrent task
  78374. * (here incrementing a counter, using RxJS `interval`),
  78375. * and at the same time subscribe to `isStable`.
  78376. *
  78377. * ```
  78378. * constructor(appRef: ApplicationRef) {
  78379. * appRef.isStable.pipe(
  78380. * filter(stable => stable)
  78381. * ).subscribe(() => console.log('App is stable now');
  78382. * interval(1000).subscribe(counter => console.log(counter));
  78383. * }
  78384. * ```
  78385. * In this example, `isStable` will never emit `true`,
  78386. * and the trace "App is stable now" will never get logged.
  78387. *
  78388. * If you want to execute something when the app is stable,
  78389. * you have to wait for the application to be stable
  78390. * before starting your polling process.
  78391. *
  78392. * ```
  78393. * constructor(appRef: ApplicationRef) {
  78394. * appRef.isStable.pipe(
  78395. * first(stable => stable),
  78396. * tap(stable => console.log('App is stable now')),
  78397. * switchMap(() => interval(1000))
  78398. * ).subscribe(counter => console.log(counter));
  78399. * }
  78400. * ```
  78401. * In this example, the trace "App is stable now" will be logged
  78402. * and then the counter starts incrementing every second.
  78403. *
  78404. * Note also that this Observable runs outside of the Angular zone,
  78405. * which means that the code in the subscription
  78406. * to this Observable will not trigger the change detection.
  78407. *
  78408. * Let's imagine that instead of logging the counter value,
  78409. * you update a field of your component
  78410. * and display it in its template.
  78411. *
  78412. * ```
  78413. * constructor(appRef: ApplicationRef) {
  78414. * appRef.isStable.pipe(
  78415. * first(stable => stable),
  78416. * switchMap(() => interval(1000))
  78417. * ).subscribe(counter => this.value = counter);
  78418. * }
  78419. * ```
  78420. * As the `isStable` Observable runs outside the zone,
  78421. * the `value` field will be updated properly,
  78422. * but the template will not be refreshed!
  78423. *
  78424. * You'll have to manually trigger the change detection to update the template.
  78425. *
  78426. * ```
  78427. * constructor(appRef: ApplicationRef, cd: ChangeDetectorRef) {
  78428. * appRef.isStable.pipe(
  78429. * first(stable => stable),
  78430. * switchMap(() => interval(1000))
  78431. * ).subscribe(counter => {
  78432. * this.value = counter;
  78433. * cd.detectChanges();
  78434. * });
  78435. * }
  78436. * ```
  78437. *
  78438. * Or make the subscription callback run inside the zone.
  78439. *
  78440. * ```
  78441. * constructor(appRef: ApplicationRef, zone: NgZone) {
  78442. * appRef.isStable.pipe(
  78443. * first(stable => stable),
  78444. * switchMap(() => interval(1000))
  78445. * ).subscribe(counter => zone.run(() => this.value = counter));
  78446. * }
  78447. * ```
  78448. *
  78449. * @publicApi
  78450. */
  78451. class ApplicationRef {
  78452. /** @internal */
  78453. constructor(_zone, _injector, _exceptionHandler) {
  78454. this._zone = _zone;
  78455. this._injector = _injector;
  78456. this._exceptionHandler = _exceptionHandler;
  78457. /** @internal */
  78458. this._bootstrapListeners = [];
  78459. this._views = [];
  78460. this._runningTick = false;
  78461. this._stable = true;
  78462. this._destroyed = false;
  78463. this._destroyListeners = [];
  78464. /**
  78465. * Get a list of component types registered to this application.
  78466. * This list is populated even before the component is created.
  78467. */
  78468. this.componentTypes = [];
  78469. /**
  78470. * Get a list of components registered to this application.
  78471. */
  78472. this.components = [];
  78473. this._onMicrotaskEmptySubscription = this._zone.onMicrotaskEmpty.subscribe({
  78474. next: () => {
  78475. this._zone.run(() => {
  78476. this.tick();
  78477. });
  78478. }
  78479. });
  78480. const isCurrentlyStable = new rxjs__WEBPACK_IMPORTED_MODULE_2__.Observable(observer => {
  78481. this._stable = this._zone.isStable && !this._zone.hasPendingMacrotasks && !this._zone.hasPendingMicrotasks;
  78482. this._zone.runOutsideAngular(() => {
  78483. observer.next(this._stable);
  78484. observer.complete();
  78485. });
  78486. });
  78487. const isStable = new rxjs__WEBPACK_IMPORTED_MODULE_2__.Observable(observer => {
  78488. // Create the subscription to onStable outside the Angular Zone so that
  78489. // the callback is run outside the Angular Zone.
  78490. let stableSub;
  78491. this._zone.runOutsideAngular(() => {
  78492. stableSub = this._zone.onStable.subscribe(() => {
  78493. NgZone.assertNotInAngularZone(); // Check whether there are no pending macro/micro tasks in the next tick
  78494. // to allow for NgZone to update the state.
  78495. scheduleMicroTask(() => {
  78496. if (!this._stable && !this._zone.hasPendingMacrotasks && !this._zone.hasPendingMicrotasks) {
  78497. this._stable = true;
  78498. observer.next(true);
  78499. }
  78500. });
  78501. });
  78502. });
  78503. const unstableSub = this._zone.onUnstable.subscribe(() => {
  78504. NgZone.assertInAngularZone();
  78505. if (this._stable) {
  78506. this._stable = false;
  78507. this._zone.runOutsideAngular(() => {
  78508. observer.next(false);
  78509. });
  78510. }
  78511. });
  78512. return () => {
  78513. stableSub.unsubscribe();
  78514. unstableSub.unsubscribe();
  78515. };
  78516. });
  78517. this.isStable = (0,rxjs__WEBPACK_IMPORTED_MODULE_3__.merge)(isCurrentlyStable, isStable.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.share)()));
  78518. }
  78519. /**
  78520. * Indicates whether this instance was destroyed.
  78521. */
  78522. get destroyed() {
  78523. return this._destroyed;
  78524. }
  78525. /**
  78526. * The `EnvironmentInjector` used to create this application.
  78527. */
  78528. get injector() {
  78529. return this._injector;
  78530. }
  78531. /**
  78532. * Bootstrap a component onto the element identified by its selector or, optionally, to a
  78533. * specified element.
  78534. *
  78535. * @usageNotes
  78536. * ### Bootstrap process
  78537. *
  78538. * When bootstrapping a component, Angular mounts it onto a target DOM element
  78539. * and kicks off automatic change detection. The target DOM element can be
  78540. * provided using the `rootSelectorOrNode` argument.
  78541. *
  78542. * If the target DOM element is not provided, Angular tries to find one on a page
  78543. * using the `selector` of the component that is being bootstrapped
  78544. * (first matched element is used).
  78545. *
  78546. * ### Example
  78547. *
  78548. * Generally, we define the component to bootstrap in the `bootstrap` array of `NgModule`,
  78549. * but it requires us to know the component while writing the application code.
  78550. *
  78551. * Imagine a situation where we have to wait for an API call to decide about the component to
  78552. * bootstrap. We can use the `ngDoBootstrap` hook of the `NgModule` and call this method to
  78553. * dynamically bootstrap a component.
  78554. *
  78555. * {@example core/ts/platform/platform.ts region='componentSelector'}
  78556. *
  78557. * Optionally, a component can be mounted onto a DOM element that does not match the
  78558. * selector of the bootstrapped component.
  78559. *
  78560. * In the following example, we are providing a CSS selector to match the target element.
  78561. *
  78562. * {@example core/ts/platform/platform.ts region='cssSelector'}
  78563. *
  78564. * While in this example, we are providing reference to a DOM node.
  78565. *
  78566. * {@example core/ts/platform/platform.ts region='domNode'}
  78567. */
  78568. bootstrap(componentOrFactory, rootSelectorOrNode) {
  78569. NG_DEV_MODE && this.warnIfDestroyed();
  78570. const isComponentFactory = componentOrFactory instanceof ComponentFactory$1;
  78571. const initStatus = this._injector.get(ApplicationInitStatus);
  78572. if (!initStatus.done) {
  78573. const standalone = !isComponentFactory && isStandalone(componentOrFactory);
  78574. const errorMessage = 'Cannot bootstrap as there are still asynchronous initializers running.' + (standalone ? '' : ' Bootstrap components in the `ngDoBootstrap` method of the root module.');
  78575. throw new RuntimeError(405
  78576. /* RuntimeErrorCode.ASYNC_INITIALIZERS_STILL_RUNNING */
  78577. , NG_DEV_MODE && errorMessage);
  78578. }
  78579. let componentFactory;
  78580. if (isComponentFactory) {
  78581. componentFactory = componentOrFactory;
  78582. } else {
  78583. const resolver = this._injector.get(ComponentFactoryResolver$1);
  78584. componentFactory = resolver.resolveComponentFactory(componentOrFactory);
  78585. }
  78586. this.componentTypes.push(componentFactory.componentType); // Create a factory associated with the current module if it's not bound to some other
  78587. const ngModule = isBoundToModule(componentFactory) ? undefined : this._injector.get(NgModuleRef$1);
  78588. const selectorOrNode = rootSelectorOrNode || componentFactory.selector;
  78589. const compRef = componentFactory.create(Injector.NULL, [], selectorOrNode, ngModule);
  78590. const nativeElement = compRef.location.nativeElement;
  78591. const testability = compRef.injector.get(TESTABILITY, null);
  78592. testability === null || testability === void 0 ? void 0 : testability.registerApplication(nativeElement);
  78593. compRef.onDestroy(() => {
  78594. this.detachView(compRef.hostView);
  78595. remove(this.components, compRef);
  78596. testability === null || testability === void 0 ? void 0 : testability.unregisterApplication(nativeElement);
  78597. });
  78598. this._loadComponent(compRef);
  78599. if (typeof ngDevMode === 'undefined' || ngDevMode) {
  78600. const _console = this._injector.get(Console);
  78601. _console.log(`Angular is running in development mode. Call enableProdMode() to enable production mode.`);
  78602. }
  78603. return compRef;
  78604. }
  78605. /**
  78606. * Invoke this method to explicitly process change detection and its side-effects.
  78607. *
  78608. * In development mode, `tick()` also performs a second change detection cycle to ensure that no
  78609. * further changes are detected. If additional changes are picked up during this second cycle,
  78610. * bindings in the app have side-effects that cannot be resolved in a single change detection
  78611. * pass.
  78612. * In this case, Angular throws an error, since an Angular application can only have one change
  78613. * detection pass during which all change detection must complete.
  78614. */
  78615. tick() {
  78616. NG_DEV_MODE && this.warnIfDestroyed();
  78617. if (this._runningTick) {
  78618. throw new RuntimeError(101
  78619. /* RuntimeErrorCode.RECURSIVE_APPLICATION_REF_TICK */
  78620. , ngDevMode && 'ApplicationRef.tick is called recursively');
  78621. }
  78622. try {
  78623. this._runningTick = true;
  78624. for (let view of this._views) {
  78625. view.detectChanges();
  78626. }
  78627. if (typeof ngDevMode === 'undefined' || ngDevMode) {
  78628. for (let view of this._views) {
  78629. view.checkNoChanges();
  78630. }
  78631. }
  78632. } catch (e) {
  78633. // Attention: Don't rethrow as it could cancel subscriptions to Observables!
  78634. this._zone.runOutsideAngular(() => this._exceptionHandler.handleError(e));
  78635. } finally {
  78636. this._runningTick = false;
  78637. }
  78638. }
  78639. /**
  78640. * Attaches a view so that it will be dirty checked.
  78641. * The view will be automatically detached when it is destroyed.
  78642. * This will throw if the view is already attached to a ViewContainer.
  78643. */
  78644. attachView(viewRef) {
  78645. NG_DEV_MODE && this.warnIfDestroyed();
  78646. const view = viewRef;
  78647. this._views.push(view);
  78648. view.attachToAppRef(this);
  78649. }
  78650. /**
  78651. * Detaches a view from dirty checking again.
  78652. */
  78653. detachView(viewRef) {
  78654. NG_DEV_MODE && this.warnIfDestroyed();
  78655. const view = viewRef;
  78656. remove(this._views, view);
  78657. view.detachFromAppRef();
  78658. }
  78659. _loadComponent(componentRef) {
  78660. this.attachView(componentRef.hostView);
  78661. this.tick();
  78662. this.components.push(componentRef); // Get the listeners lazily to prevent DI cycles.
  78663. const listeners = this._injector.get(APP_BOOTSTRAP_LISTENER, []).concat(this._bootstrapListeners);
  78664. listeners.forEach(listener => listener(componentRef));
  78665. }
  78666. /** @internal */
  78667. ngOnDestroy() {
  78668. if (this._destroyed) return;
  78669. try {
  78670. // Call all the lifecycle hooks.
  78671. this._destroyListeners.forEach(listener => listener()); // Destroy all registered views.
  78672. this._views.slice().forEach(view => view.destroy());
  78673. this._onMicrotaskEmptySubscription.unsubscribe();
  78674. } finally {
  78675. // Indicate that this instance is destroyed.
  78676. this._destroyed = true; // Release all references.
  78677. this._views = [];
  78678. this._bootstrapListeners = [];
  78679. this._destroyListeners = [];
  78680. }
  78681. }
  78682. /**
  78683. * Registers a listener to be called when an instance is destroyed.
  78684. *
  78685. * @param callback A callback function to add as a listener.
  78686. * @returns A function which unregisters a listener.
  78687. *
  78688. * @internal
  78689. */
  78690. onDestroy(callback) {
  78691. NG_DEV_MODE && this.warnIfDestroyed();
  78692. this._destroyListeners.push(callback);
  78693. return () => remove(this._destroyListeners, callback);
  78694. }
  78695. /**
  78696. * Destroys an Angular application represented by this `ApplicationRef`. Calling this function
  78697. * will destroy the associated environment injectors as well as all the bootstrapped components
  78698. * with their views.
  78699. */
  78700. destroy() {
  78701. if (this._destroyed) {
  78702. throw new RuntimeError(406
  78703. /* RuntimeErrorCode.APPLICATION_REF_ALREADY_DESTROYED */
  78704. , ngDevMode && 'This instance of the `ApplicationRef` has already been destroyed.');
  78705. }
  78706. const injector = this._injector; // Check that this injector instance supports destroy operation.
  78707. if (injector.destroy && !injector.destroyed) {
  78708. // Destroying an underlying injector will trigger the `ngOnDestroy` lifecycle
  78709. // hook, which invokes the remaining cleanup actions.
  78710. injector.destroy();
  78711. }
  78712. }
  78713. /**
  78714. * Returns the number of attached views.
  78715. */
  78716. get viewCount() {
  78717. return this._views.length;
  78718. }
  78719. warnIfDestroyed() {
  78720. if (NG_DEV_MODE && this._destroyed) {
  78721. console.warn(formatRuntimeError(406
  78722. /* RuntimeErrorCode.APPLICATION_REF_ALREADY_DESTROYED */
  78723. , 'This instance of the `ApplicationRef` has already been destroyed.'));
  78724. }
  78725. }
  78726. }
  78727. ApplicationRef.ɵfac = function ApplicationRef_Factory(t) {
  78728. return new (t || ApplicationRef)(ɵɵinject(NgZone), ɵɵinject(EnvironmentInjector), ɵɵinject(ErrorHandler));
  78729. };
  78730. ApplicationRef.ɵprov = /*@__PURE__*/ɵɵdefineInjectable({
  78731. token: ApplicationRef,
  78732. factory: ApplicationRef.ɵfac,
  78733. providedIn: 'root'
  78734. });
  78735. (function () {
  78736. (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(ApplicationRef, [{
  78737. type: Injectable,
  78738. args: [{
  78739. providedIn: 'root'
  78740. }]
  78741. }], function () {
  78742. return [{
  78743. type: NgZone
  78744. }, {
  78745. type: EnvironmentInjector
  78746. }, {
  78747. type: ErrorHandler
  78748. }];
  78749. }, null);
  78750. })();
  78751. function remove(list, el) {
  78752. const index = list.indexOf(el);
  78753. if (index > -1) {
  78754. list.splice(index, 1);
  78755. }
  78756. }
  78757. function _lastDefined(args) {
  78758. for (let i = args.length - 1; i >= 0; i--) {
  78759. if (args[i] !== undefined) {
  78760. return args[i];
  78761. }
  78762. }
  78763. return undefined;
  78764. }
  78765. function _mergeArrays(parts) {
  78766. const result = [];
  78767. parts.forEach(part => part && result.push(...part));
  78768. return result;
  78769. }
  78770. /**
  78771. * @license
  78772. * Copyright Google LLC All Rights Reserved.
  78773. *
  78774. * Use of this source code is governed by an MIT-style license that can be
  78775. * found in the LICENSE file at https://angular.io/license
  78776. */
  78777. /**
  78778. * This file is used to control if the default rendering pipeline should be `ViewEngine` or `Ivy`.
  78779. *
  78780. * For more information on how to run and debug tests with either Ivy or View Engine (legacy),
  78781. * please see [BAZEL.md](./docs/BAZEL.md).
  78782. */
  78783. let _devMode = true;
  78784. let _runModeLocked = false;
  78785. /**
  78786. * Returns whether Angular is in development mode. After called once,
  78787. * the value is locked and won't change any more.
  78788. *
  78789. * By default, this is true, unless a user calls `enableProdMode` before calling this.
  78790. *
  78791. * @publicApi
  78792. */
  78793. function isDevMode() {
  78794. _runModeLocked = true;
  78795. return _devMode;
  78796. }
  78797. /**
  78798. * Disable Angular's development mode, which turns off assertions and other
  78799. * checks within the framework.
  78800. *
  78801. * One important assertion this disables verifies that a change detection pass
  78802. * does not result in additional changes to any bindings (also known as
  78803. * unidirectional data flow).
  78804. *
  78805. * @publicApi
  78806. */
  78807. function enableProdMode() {
  78808. if (_runModeLocked) {
  78809. throw new Error('Cannot enable prod mode after platform setup.');
  78810. } // The below check is there so when ngDevMode is set via terser
  78811. // `global['ngDevMode'] = false;` is also dropped.
  78812. if (typeof ngDevMode === 'undefined' || ngDevMode) {
  78813. _global['ngDevMode'] = false;
  78814. }
  78815. _devMode = false;
  78816. }
  78817. /**
  78818. * @license
  78819. * Copyright Google LLC All Rights Reserved.
  78820. *
  78821. * Use of this source code is governed by an MIT-style license that can be
  78822. * found in the LICENSE file at https://angular.io/license
  78823. */
  78824. /**
  78825. * @license
  78826. * Copyright Google LLC All Rights Reserved.
  78827. *
  78828. * Use of this source code is governed by an MIT-style license that can be
  78829. * found in the LICENSE file at https://angular.io/license
  78830. */
  78831. /**
  78832. * @license
  78833. * Copyright Google LLC All Rights Reserved.
  78834. *
  78835. * Use of this source code is governed by an MIT-style license that can be
  78836. * found in the LICENSE file at https://angular.io/license
  78837. */
  78838. /**
  78839. * Returns the NgModuleFactory with the given id (specified using [@NgModule.id
  78840. * field](api/core/NgModule#id)), if it exists and has been loaded. Factories for NgModules that do
  78841. * not specify an `id` cannot be retrieved. Throws if an NgModule cannot be found.
  78842. * @publicApi
  78843. * @deprecated Use `getNgModuleById` instead.
  78844. */
  78845. function getModuleFactory(id) {
  78846. const type = getRegisteredNgModuleType(id);
  78847. if (!type) throw noModuleError(id);
  78848. return new NgModuleFactory(type);
  78849. }
  78850. /**
  78851. * Returns the NgModule class with the given id (specified using [@NgModule.id
  78852. * field](api/core/NgModule#id)), if it exists and has been loaded. Classes for NgModules that do
  78853. * not specify an `id` cannot be retrieved. Throws if an NgModule cannot be found.
  78854. * @publicApi
  78855. */
  78856. function getNgModuleById(id) {
  78857. const type = getRegisteredNgModuleType(id);
  78858. if (!type) throw noModuleError(id);
  78859. return type;
  78860. }
  78861. function noModuleError(id) {
  78862. return new Error(`No module with ID ${id} loaded`);
  78863. }
  78864. /**
  78865. * @license
  78866. * Copyright Google LLC All Rights Reserved.
  78867. *
  78868. * Use of this source code is governed by an MIT-style license that can be
  78869. * found in the LICENSE file at https://angular.io/license
  78870. */
  78871. /**
  78872. * Base class that provides change detection functionality.
  78873. * A change-detection tree collects all views that are to be checked for changes.
  78874. * Use the methods to add and remove views from the tree, initiate change-detection,
  78875. * and explicitly mark views as _dirty_, meaning that they have changed and need to be re-rendered.
  78876. *
  78877. * @see [Using change detection hooks](guide/lifecycle-hooks#using-change-detection-hooks)
  78878. * @see [Defining custom change detection](guide/lifecycle-hooks#defining-custom-change-detection)
  78879. *
  78880. * @usageNotes
  78881. *
  78882. * The following examples demonstrate how to modify default change-detection behavior
  78883. * to perform explicit detection when needed.
  78884. *
  78885. * ### Use `markForCheck()` with `CheckOnce` strategy
  78886. *
  78887. * The following example sets the `OnPush` change-detection strategy for a component
  78888. * (`CheckOnce`, rather than the default `CheckAlways`), then forces a second check
  78889. * after an interval. See [live demo](https://plnkr.co/edit/GC512b?p=preview).
  78890. *
  78891. * <code-example path="core/ts/change_detect/change-detection.ts"
  78892. * region="mark-for-check"></code-example>
  78893. *
  78894. * ### Detach change detector to limit how often check occurs
  78895. *
  78896. * The following example defines a component with a large list of read-only data
  78897. * that is expected to change constantly, many times per second.
  78898. * To improve performance, we want to check and update the list
  78899. * less often than the changes actually occur. To do that, we detach
  78900. * the component's change detector and perform an explicit local check every five seconds.
  78901. *
  78902. * <code-example path="core/ts/change_detect/change-detection.ts" region="detach"></code-example>
  78903. *
  78904. *
  78905. * ### Reattaching a detached component
  78906. *
  78907. * The following example creates a component displaying live data.
  78908. * The component detaches its change detector from the main change detector tree
  78909. * when the `live` property is set to false, and reattaches it when the property
  78910. * becomes true.
  78911. *
  78912. * <code-example path="core/ts/change_detect/change-detection.ts" region="reattach"></code-example>
  78913. *
  78914. * @publicApi
  78915. */
  78916. class ChangeDetectorRef {}
  78917. /**
  78918. * @internal
  78919. * @nocollapse
  78920. */
  78921. ChangeDetectorRef.__NG_ELEMENT_ID__ = injectChangeDetectorRef;
  78922. /** Returns a ChangeDetectorRef (a.k.a. a ViewRef) */
  78923. function injectChangeDetectorRef(flags) {
  78924. return createViewRef(getCurrentTNode(), getLView(), (flags & 16
  78925. /* InternalInjectFlags.ForPipe */
  78926. ) === 16
  78927. /* InternalInjectFlags.ForPipe */
  78928. );
  78929. }
  78930. /**
  78931. * Creates a ViewRef and stores it on the injector as ChangeDetectorRef (public alias).
  78932. *
  78933. * @param tNode The node that is requesting a ChangeDetectorRef
  78934. * @param lView The view to which the node belongs
  78935. * @param isPipe Whether the view is being injected into a pipe.
  78936. * @returns The ChangeDetectorRef to use
  78937. */
  78938. function createViewRef(tNode, lView, isPipe) {
  78939. if (isComponentHost(tNode) && !isPipe) {
  78940. // The LView represents the location where the component is declared.
  78941. // Instead we want the LView for the component View and so we need to look it up.
  78942. const componentView = getComponentLViewByIndex(tNode.index, lView); // look down
  78943. return new ViewRef$1(componentView, componentView);
  78944. } else if (tNode.type & (3
  78945. /* TNodeType.AnyRNode */
  78946. | 12
  78947. /* TNodeType.AnyContainer */
  78948. | 32
  78949. /* TNodeType.Icu */
  78950. )) {
  78951. // The LView represents the location where the injection is requested from.
  78952. // We need to locate the containing LView (in case where the `lView` is an embedded view)
  78953. const hostComponentView = lView[DECLARATION_COMPONENT_VIEW]; // look up
  78954. return new ViewRef$1(hostComponentView, lView);
  78955. }
  78956. return null;
  78957. }
  78958. /**
  78959. * @license
  78960. * Copyright Google LLC All Rights Reserved.
  78961. *
  78962. * Use of this source code is governed by an MIT-style license that can be
  78963. * found in the LICENSE file at https://angular.io/license
  78964. */
  78965. /**
  78966. * Represents an Angular [view](guide/glossary#view "Definition").
  78967. *
  78968. * @see {@link ChangeDetectorRef#usage-notes Change detection usage}
  78969. *
  78970. * @publicApi
  78971. */
  78972. class ViewRef extends ChangeDetectorRef {}
  78973. /**
  78974. * Represents an Angular [view](guide/glossary#view) in a view container.
  78975. * An [embedded view](guide/glossary#view-tree) can be referenced from a component
  78976. * other than the hosting component whose template defines it, or it can be defined
  78977. * independently by a `TemplateRef`.
  78978. *
  78979. * Properties of elements in a view can change, but the structure (number and order) of elements in
  78980. * a view cannot. Change the structure of elements by inserting, moving, or
  78981. * removing nested views in a view container.
  78982. *
  78983. * @see `ViewContainerRef`
  78984. *
  78985. * @usageNotes
  78986. *
  78987. * The following template breaks down into two separate `TemplateRef` instances,
  78988. * an outer one and an inner one.
  78989. *
  78990. * ```
  78991. * Count: {{items.length}}
  78992. * <ul>
  78993. * <li *ngFor="let item of items">{{item}}</li>
  78994. * </ul>
  78995. * ```
  78996. *
  78997. * This is the outer `TemplateRef`:
  78998. *
  78999. * ```
  79000. * Count: {{items.length}}
  79001. * <ul>
  79002. * <ng-template ngFor let-item [ngForOf]="items"></ng-template>
  79003. * </ul>
  79004. * ```
  79005. *
  79006. * This is the inner `TemplateRef`:
  79007. *
  79008. * ```
  79009. * <li>{{item}}</li>
  79010. * ```
  79011. *
  79012. * The outer and inner `TemplateRef` instances are assembled into views as follows:
  79013. *
  79014. * ```
  79015. * <!-- ViewRef: outer-0 -->
  79016. * Count: 2
  79017. * <ul>
  79018. * <ng-template view-container-ref></ng-template>
  79019. * <!-- ViewRef: inner-1 --><li>first</li><!-- /ViewRef: inner-1 -->
  79020. * <!-- ViewRef: inner-2 --><li>second</li><!-- /ViewRef: inner-2 -->
  79021. * </ul>
  79022. * <!-- /ViewRef: outer-0 -->
  79023. * ```
  79024. * @publicApi
  79025. */
  79026. class EmbeddedViewRef extends ViewRef {}
  79027. /**
  79028. * @license
  79029. * Copyright Google LLC All Rights Reserved.
  79030. *
  79031. * Use of this source code is governed by an MIT-style license that can be
  79032. * found in the LICENSE file at https://angular.io/license
  79033. */
  79034. /**
  79035. * @license
  79036. * Copyright Google LLC All Rights Reserved.
  79037. *
  79038. * Use of this source code is governed by an MIT-style license that can be
  79039. * found in the LICENSE file at https://angular.io/license
  79040. */
  79041. // This file exists for easily patching NgModuleFactoryLoader in g3
  79042. var ng_module_factory_loader_impl = {};
  79043. /**
  79044. * @license
  79045. * Copyright Google LLC All Rights Reserved.
  79046. *
  79047. * Use of this source code is governed by an MIT-style license that can be
  79048. * found in the LICENSE file at https://angular.io/license
  79049. */
  79050. /**
  79051. * @publicApi
  79052. */
  79053. class DebugEventListener {
  79054. constructor(name, callback) {
  79055. this.name = name;
  79056. this.callback = callback;
  79057. }
  79058. }
  79059. /**
  79060. * @publicApi
  79061. */
  79062. function asNativeElements(debugEls) {
  79063. return debugEls.map(el => el.nativeElement);
  79064. }
  79065. /**
  79066. * @publicApi
  79067. */
  79068. class DebugNode {
  79069. constructor(nativeNode) {
  79070. this.nativeNode = nativeNode;
  79071. }
  79072. /**
  79073. * The `DebugElement` parent. Will be `null` if this is the root element.
  79074. */
  79075. get parent() {
  79076. const parent = this.nativeNode.parentNode;
  79077. return parent ? new DebugElement(parent) : null;
  79078. }
  79079. /**
  79080. * The host dependency injector. For example, the root element's component instance injector.
  79081. */
  79082. get injector() {
  79083. return getInjector(this.nativeNode);
  79084. }
  79085. /**
  79086. * The element's own component instance, if it has one.
  79087. */
  79088. get componentInstance() {
  79089. const nativeElement = this.nativeNode;
  79090. return nativeElement && (getComponent(nativeElement) || getOwningComponent(nativeElement));
  79091. }
  79092. /**
  79093. * An object that provides parent context for this element. Often an ancestor component instance
  79094. * that governs this element.
  79095. *
  79096. * When an element is repeated within *ngFor, the context is an `NgForOf` whose `$implicit`
  79097. * property is the value of the row instance value. For example, the `hero` in `*ngFor="let hero
  79098. * of heroes"`.
  79099. */
  79100. get context() {
  79101. return getComponent(this.nativeNode) || getContext(this.nativeNode);
  79102. }
  79103. /**
  79104. * The callbacks attached to the component's @Output properties and/or the element's event
  79105. * properties.
  79106. */
  79107. get listeners() {
  79108. return getListeners(this.nativeNode).filter(listener => listener.type === 'dom');
  79109. }
  79110. /**
  79111. * Dictionary of objects associated with template local variables (e.g. #foo), keyed by the local
  79112. * variable name.
  79113. */
  79114. get references() {
  79115. return getLocalRefs(this.nativeNode);
  79116. }
  79117. /**
  79118. * This component's injector lookup tokens. Includes the component itself plus the tokens that the
  79119. * component lists in its providers metadata.
  79120. */
  79121. get providerTokens() {
  79122. return getInjectionTokens(this.nativeNode);
  79123. }
  79124. }
  79125. /**
  79126. * @publicApi
  79127. *
  79128. * @see [Component testing scenarios](guide/testing-components-scenarios)
  79129. * @see [Basics of testing components](guide/testing-components-basics)
  79130. * @see [Testing utility APIs](guide/testing-utility-apis)
  79131. */
  79132. class DebugElement extends DebugNode {
  79133. constructor(nativeNode) {
  79134. ngDevMode && assertDomNode(nativeNode);
  79135. super(nativeNode);
  79136. }
  79137. /**
  79138. * The underlying DOM element at the root of the component.
  79139. */
  79140. get nativeElement() {
  79141. return this.nativeNode.nodeType == Node.ELEMENT_NODE ? this.nativeNode : null;
  79142. }
  79143. /**
  79144. * The element tag name, if it is an element.
  79145. */
  79146. get name() {
  79147. const context = getLContext(this.nativeNode);
  79148. const lView = context ? context.lView : null;
  79149. if (lView !== null) {
  79150. const tData = lView[TVIEW].data;
  79151. const tNode = tData[context.nodeIndex];
  79152. return tNode.value;
  79153. } else {
  79154. return this.nativeNode.nodeName;
  79155. }
  79156. }
  79157. /**
  79158. * Gets a map of property names to property values for an element.
  79159. *
  79160. * This map includes:
  79161. * - Regular property bindings (e.g. `[id]="id"`)
  79162. * - Host property bindings (e.g. `host: { '[id]': "id" }`)
  79163. * - Interpolated property bindings (e.g. `id="{{ value }}")
  79164. *
  79165. * It does not include:
  79166. * - input property bindings (e.g. `[myCustomInput]="value"`)
  79167. * - attribute bindings (e.g. `[attr.role]="menu"`)
  79168. */
  79169. get properties() {
  79170. const context = getLContext(this.nativeNode);
  79171. const lView = context ? context.lView : null;
  79172. if (lView === null) {
  79173. return {};
  79174. }
  79175. const tData = lView[TVIEW].data;
  79176. const tNode = tData[context.nodeIndex];
  79177. const properties = {}; // Collect properties from the DOM.
  79178. copyDomProperties(this.nativeElement, properties); // Collect properties from the bindings. This is needed for animation renderer which has
  79179. // synthetic properties which don't get reflected into the DOM.
  79180. collectPropertyBindings(properties, tNode, lView, tData);
  79181. return properties;
  79182. }
  79183. /**
  79184. * A map of attribute names to attribute values for an element.
  79185. */
  79186. get attributes() {
  79187. const attributes = {};
  79188. const element = this.nativeElement;
  79189. if (!element) {
  79190. return attributes;
  79191. }
  79192. const context = getLContext(element);
  79193. const lView = context ? context.lView : null;
  79194. if (lView === null) {
  79195. return {};
  79196. }
  79197. const tNodeAttrs = lView[TVIEW].data[context.nodeIndex].attrs;
  79198. const lowercaseTNodeAttrs = []; // For debug nodes we take the element's attribute directly from the DOM since it allows us
  79199. // to account for ones that weren't set via bindings (e.g. ViewEngine keeps track of the ones
  79200. // that are set through `Renderer2`). The problem is that the browser will lowercase all names,
  79201. // however since we have the attributes already on the TNode, we can preserve the case by going
  79202. // through them once, adding them to the `attributes` map and putting their lower-cased name
  79203. // into an array. Afterwards when we're going through the native DOM attributes, we can check
  79204. // whether we haven't run into an attribute already through the TNode.
  79205. if (tNodeAttrs) {
  79206. let i = 0;
  79207. while (i < tNodeAttrs.length) {
  79208. const attrName = tNodeAttrs[i]; // Stop as soon as we hit a marker. We only care about the regular attributes. Everything
  79209. // else will be handled below when we read the final attributes off the DOM.
  79210. if (typeof attrName !== 'string') break;
  79211. const attrValue = tNodeAttrs[i + 1];
  79212. attributes[attrName] = attrValue;
  79213. lowercaseTNodeAttrs.push(attrName.toLowerCase());
  79214. i += 2;
  79215. }
  79216. }
  79217. const eAttrs = element.attributes;
  79218. for (let i = 0; i < eAttrs.length; i++) {
  79219. const attr = eAttrs[i];
  79220. const lowercaseName = attr.name.toLowerCase(); // Make sure that we don't assign the same attribute both in its
  79221. // case-sensitive form and the lower-cased one from the browser.
  79222. if (lowercaseTNodeAttrs.indexOf(lowercaseName) === -1) {
  79223. // Save the lowercase name to align the behavior between browsers.
  79224. // IE preserves the case, while all other browser convert it to lower case.
  79225. attributes[lowercaseName] = attr.value;
  79226. }
  79227. }
  79228. return attributes;
  79229. }
  79230. /**
  79231. * The inline styles of the DOM element.
  79232. *
  79233. * Will be `null` if there is no `style` property on the underlying DOM element.
  79234. *
  79235. * @see [ElementCSSInlineStyle](https://developer.mozilla.org/en-US/docs/Web/API/ElementCSSInlineStyle/style)
  79236. */
  79237. get styles() {
  79238. if (this.nativeElement && this.nativeElement.style) {
  79239. return this.nativeElement.style;
  79240. }
  79241. return {};
  79242. }
  79243. /**
  79244. * A map containing the class names on the element as keys.
  79245. *
  79246. * This map is derived from the `className` property of the DOM element.
  79247. *
  79248. * Note: The values of this object will always be `true`. The class key will not appear in the KV
  79249. * object if it does not exist on the element.
  79250. *
  79251. * @see [Element.className](https://developer.mozilla.org/en-US/docs/Web/API/Element/className)
  79252. */
  79253. get classes() {
  79254. const result = {};
  79255. const element = this.nativeElement; // SVG elements return an `SVGAnimatedString` instead of a plain string for the `className`.
  79256. const className = element.className;
  79257. const classes = typeof className !== 'string' ? className.baseVal.split(' ') : className.split(' ');
  79258. classes.forEach(value => result[value] = true);
  79259. return result;
  79260. }
  79261. /**
  79262. * The `childNodes` of the DOM element as a `DebugNode` array.
  79263. *
  79264. * @see [Node.childNodes](https://developer.mozilla.org/en-US/docs/Web/API/Node/childNodes)
  79265. */
  79266. get childNodes() {
  79267. const childNodes = this.nativeNode.childNodes;
  79268. const children = [];
  79269. for (let i = 0; i < childNodes.length; i++) {
  79270. const element = childNodes[i];
  79271. children.push(getDebugNode(element));
  79272. }
  79273. return children;
  79274. }
  79275. /**
  79276. * The immediate `DebugElement` children. Walk the tree by descending through `children`.
  79277. */
  79278. get children() {
  79279. const nativeElement = this.nativeElement;
  79280. if (!nativeElement) return [];
  79281. const childNodes = nativeElement.children;
  79282. const children = [];
  79283. for (let i = 0; i < childNodes.length; i++) {
  79284. const element = childNodes[i];
  79285. children.push(getDebugNode(element));
  79286. }
  79287. return children;
  79288. }
  79289. /**
  79290. * @returns the first `DebugElement` that matches the predicate at any depth in the subtree.
  79291. */
  79292. query(predicate) {
  79293. const results = this.queryAll(predicate);
  79294. return results[0] || null;
  79295. }
  79296. /**
  79297. * @returns All `DebugElement` matches for the predicate at any depth in the subtree.
  79298. */
  79299. queryAll(predicate) {
  79300. const matches = [];
  79301. _queryAll(this, predicate, matches, true);
  79302. return matches;
  79303. }
  79304. /**
  79305. * @returns All `DebugNode` matches for the predicate at any depth in the subtree.
  79306. */
  79307. queryAllNodes(predicate) {
  79308. const matches = [];
  79309. _queryAll(this, predicate, matches, false);
  79310. return matches;
  79311. }
  79312. /**
  79313. * Triggers the event by its name if there is a corresponding listener in the element's
  79314. * `listeners` collection.
  79315. *
  79316. * If the event lacks a listener or there's some other problem, consider
  79317. * calling `nativeElement.dispatchEvent(eventObject)`.
  79318. *
  79319. * @param eventName The name of the event to trigger
  79320. * @param eventObj The _event object_ expected by the handler
  79321. *
  79322. * @see [Testing components scenarios](guide/testing-components-scenarios#trigger-event-handler)
  79323. */
  79324. triggerEventHandler(eventName, eventObj) {
  79325. const node = this.nativeNode;
  79326. const invokedListeners = [];
  79327. this.listeners.forEach(listener => {
  79328. if (listener.name === eventName) {
  79329. const callback = listener.callback;
  79330. callback.call(node, eventObj);
  79331. invokedListeners.push(callback);
  79332. }
  79333. }); // We need to check whether `eventListeners` exists, because it's something
  79334. // that Zone.js only adds to `EventTarget` in browser environments.
  79335. if (typeof node.eventListeners === 'function') {
  79336. // Note that in Ivy we wrap event listeners with a call to `event.preventDefault` in some
  79337. // cases. We use '__ngUnwrap__' as a special token that gives us access to the actual event
  79338. // listener.
  79339. node.eventListeners(eventName).forEach(listener => {
  79340. // In order to ensure that we can detect the special __ngUnwrap__ token described above, we
  79341. // use `toString` on the listener and see if it contains the token. We use this approach to
  79342. // ensure that it still worked with compiled code since it cannot remove or rename string
  79343. // literals. We also considered using a special function name (i.e. if(listener.name ===
  79344. // special)) but that was more cumbersome and we were also concerned the compiled code could
  79345. // strip the name, turning the condition in to ("" === "") and always returning true.
  79346. if (listener.toString().indexOf('__ngUnwrap__') !== -1) {
  79347. const unwrappedListener = listener('__ngUnwrap__');
  79348. return invokedListeners.indexOf(unwrappedListener) === -1 && unwrappedListener.call(node, eventObj);
  79349. }
  79350. });
  79351. }
  79352. }
  79353. }
  79354. function copyDomProperties(element, properties) {
  79355. if (element) {
  79356. // Skip own properties (as those are patched)
  79357. let obj = Object.getPrototypeOf(element);
  79358. const NodePrototype = Node.prototype;
  79359. while (obj !== null && obj !== NodePrototype) {
  79360. const descriptors = Object.getOwnPropertyDescriptors(obj);
  79361. for (let key in descriptors) {
  79362. if (!key.startsWith('__') && !key.startsWith('on')) {
  79363. // don't include properties starting with `__` and `on`.
  79364. // `__` are patched values which should not be included.
  79365. // `on` are listeners which also should not be included.
  79366. const value = element[key];
  79367. if (isPrimitiveValue(value)) {
  79368. properties[key] = value;
  79369. }
  79370. }
  79371. }
  79372. obj = Object.getPrototypeOf(obj);
  79373. }
  79374. }
  79375. }
  79376. function isPrimitiveValue(value) {
  79377. return typeof value === 'string' || typeof value === 'boolean' || typeof value === 'number' || value === null;
  79378. }
  79379. function _queryAll(parentElement, predicate, matches, elementsOnly) {
  79380. const context = getLContext(parentElement.nativeNode);
  79381. const lView = context ? context.lView : null;
  79382. if (lView !== null) {
  79383. const parentTNode = lView[TVIEW].data[context.nodeIndex];
  79384. _queryNodeChildren(parentTNode, lView, predicate, matches, elementsOnly, parentElement.nativeNode);
  79385. } else {
  79386. // If the context is null, then `parentElement` was either created with Renderer2 or native DOM
  79387. // APIs.
  79388. _queryNativeNodeDescendants(parentElement.nativeNode, predicate, matches, elementsOnly);
  79389. }
  79390. }
  79391. /**
  79392. * Recursively match the current TNode against the predicate, and goes on with the next ones.
  79393. *
  79394. * @param tNode the current TNode
  79395. * @param lView the LView of this TNode
  79396. * @param predicate the predicate to match
  79397. * @param matches the list of positive matches
  79398. * @param elementsOnly whether only elements should be searched
  79399. * @param rootNativeNode the root native node on which predicate should not be matched
  79400. */
  79401. function _queryNodeChildren(tNode, lView, predicate, matches, elementsOnly, rootNativeNode) {
  79402. ngDevMode && assertTNodeForLView(tNode, lView);
  79403. const nativeNode = getNativeByTNodeOrNull(tNode, lView); // For each type of TNode, specific logic is executed.
  79404. if (tNode.type & (3
  79405. /* TNodeType.AnyRNode */
  79406. | 8
  79407. /* TNodeType.ElementContainer */
  79408. )) {
  79409. // Case 1: the TNode is an element
  79410. // The native node has to be checked.
  79411. _addQueryMatch(nativeNode, predicate, matches, elementsOnly, rootNativeNode);
  79412. if (isComponentHost(tNode)) {
  79413. // If the element is the host of a component, then all nodes in its view have to be processed.
  79414. // Note: the component's content (tNode.child) will be processed from the insertion points.
  79415. const componentView = getComponentLViewByIndex(tNode.index, lView);
  79416. if (componentView && componentView[TVIEW].firstChild) {
  79417. _queryNodeChildren(componentView[TVIEW].firstChild, componentView, predicate, matches, elementsOnly, rootNativeNode);
  79418. }
  79419. } else {
  79420. if (tNode.child) {
  79421. // Otherwise, its children have to be processed.
  79422. _queryNodeChildren(tNode.child, lView, predicate, matches, elementsOnly, rootNativeNode);
  79423. } // We also have to query the DOM directly in order to catch elements inserted through
  79424. // Renderer2. Note that this is __not__ optimal, because we're walking similar trees multiple
  79425. // times. ViewEngine could do it more efficiently, because all the insertions go through
  79426. // Renderer2, however that's not the case in Ivy. This approach is being used because:
  79427. // 1. Matching the ViewEngine behavior would mean potentially introducing a dependency
  79428. // from `Renderer2` to Ivy which could bring Ivy code into ViewEngine.
  79429. // 2. It allows us to capture nodes that were inserted directly via the DOM.
  79430. nativeNode && _queryNativeNodeDescendants(nativeNode, predicate, matches, elementsOnly);
  79431. } // In all cases, if a dynamic container exists for this node, each view inside it has to be
  79432. // processed.
  79433. const nodeOrContainer = lView[tNode.index];
  79434. if (isLContainer(nodeOrContainer)) {
  79435. _queryNodeChildrenInContainer(nodeOrContainer, predicate, matches, elementsOnly, rootNativeNode);
  79436. }
  79437. } else if (tNode.type & 4
  79438. /* TNodeType.Container */
  79439. ) {
  79440. // Case 2: the TNode is a container
  79441. // The native node has to be checked.
  79442. const lContainer = lView[tNode.index];
  79443. _addQueryMatch(lContainer[NATIVE], predicate, matches, elementsOnly, rootNativeNode); // Each view inside the container has to be processed.
  79444. _queryNodeChildrenInContainer(lContainer, predicate, matches, elementsOnly, rootNativeNode);
  79445. } else if (tNode.type & 16
  79446. /* TNodeType.Projection */
  79447. ) {
  79448. // Case 3: the TNode is a projection insertion point (i.e. a <ng-content>).
  79449. // The nodes projected at this location all need to be processed.
  79450. const componentView = lView[DECLARATION_COMPONENT_VIEW];
  79451. const componentHost = componentView[T_HOST];
  79452. const head = componentHost.projection[tNode.projection];
  79453. if (Array.isArray(head)) {
  79454. for (let nativeNode of head) {
  79455. _addQueryMatch(nativeNode, predicate, matches, elementsOnly, rootNativeNode);
  79456. }
  79457. } else if (head) {
  79458. const nextLView = componentView[PARENT];
  79459. const nextTNode = nextLView[TVIEW].data[head.index];
  79460. _queryNodeChildren(nextTNode, nextLView, predicate, matches, elementsOnly, rootNativeNode);
  79461. }
  79462. } else if (tNode.child) {
  79463. // Case 4: the TNode is a view.
  79464. _queryNodeChildren(tNode.child, lView, predicate, matches, elementsOnly, rootNativeNode);
  79465. } // We don't want to go to the next sibling of the root node.
  79466. if (rootNativeNode !== nativeNode) {
  79467. // To determine the next node to be processed, we need to use the next or the projectionNext
  79468. // link, depending on whether the current node has been projected.
  79469. const nextTNode = tNode.flags & 4
  79470. /* TNodeFlags.isProjected */
  79471. ? tNode.projectionNext : tNode.next;
  79472. if (nextTNode) {
  79473. _queryNodeChildren(nextTNode, lView, predicate, matches, elementsOnly, rootNativeNode);
  79474. }
  79475. }
  79476. }
  79477. /**
  79478. * Process all TNodes in a given container.
  79479. *
  79480. * @param lContainer the container to be processed
  79481. * @param predicate the predicate to match
  79482. * @param matches the list of positive matches
  79483. * @param elementsOnly whether only elements should be searched
  79484. * @param rootNativeNode the root native node on which predicate should not be matched
  79485. */
  79486. function _queryNodeChildrenInContainer(lContainer, predicate, matches, elementsOnly, rootNativeNode) {
  79487. for (let i = CONTAINER_HEADER_OFFSET; i < lContainer.length; i++) {
  79488. const childView = lContainer[i];
  79489. const firstChild = childView[TVIEW].firstChild;
  79490. if (firstChild) {
  79491. _queryNodeChildren(firstChild, childView, predicate, matches, elementsOnly, rootNativeNode);
  79492. }
  79493. }
  79494. }
  79495. /**
  79496. * Match the current native node against the predicate.
  79497. *
  79498. * @param nativeNode the current native node
  79499. * @param predicate the predicate to match
  79500. * @param matches the list of positive matches
  79501. * @param elementsOnly whether only elements should be searched
  79502. * @param rootNativeNode the root native node on which predicate should not be matched
  79503. */
  79504. function _addQueryMatch(nativeNode, predicate, matches, elementsOnly, rootNativeNode) {
  79505. if (rootNativeNode !== nativeNode) {
  79506. const debugNode = getDebugNode(nativeNode);
  79507. if (!debugNode) {
  79508. return;
  79509. } // Type of the "predicate and "matches" array are set based on the value of
  79510. // the "elementsOnly" parameter. TypeScript is not able to properly infer these
  79511. // types with generics, so we manually cast the parameters accordingly.
  79512. if (elementsOnly && debugNode instanceof DebugElement && predicate(debugNode) && matches.indexOf(debugNode) === -1) {
  79513. matches.push(debugNode);
  79514. } else if (!elementsOnly && predicate(debugNode) && matches.indexOf(debugNode) === -1) {
  79515. matches.push(debugNode);
  79516. }
  79517. }
  79518. }
  79519. /**
  79520. * Match all the descendants of a DOM node against a predicate.
  79521. *
  79522. * @param nativeNode the current native node
  79523. * @param predicate the predicate to match
  79524. * @param matches the list where matches are stored
  79525. * @param elementsOnly whether only elements should be searched
  79526. */
  79527. function _queryNativeNodeDescendants(parentNode, predicate, matches, elementsOnly) {
  79528. const nodes = parentNode.childNodes;
  79529. const length = nodes.length;
  79530. for (let i = 0; i < length; i++) {
  79531. const node = nodes[i];
  79532. const debugNode = getDebugNode(node);
  79533. if (debugNode) {
  79534. if (elementsOnly && debugNode instanceof DebugElement && predicate(debugNode) && matches.indexOf(debugNode) === -1) {
  79535. matches.push(debugNode);
  79536. } else if (!elementsOnly && predicate(debugNode) && matches.indexOf(debugNode) === -1) {
  79537. matches.push(debugNode);
  79538. }
  79539. _queryNativeNodeDescendants(node, predicate, matches, elementsOnly);
  79540. }
  79541. }
  79542. }
  79543. /**
  79544. * Iterates through the property bindings for a given node and generates
  79545. * a map of property names to values. This map only contains property bindings
  79546. * defined in templates, not in host bindings.
  79547. */
  79548. function collectPropertyBindings(properties, tNode, lView, tData) {
  79549. let bindingIndexes = tNode.propertyBindings;
  79550. if (bindingIndexes !== null) {
  79551. for (let i = 0; i < bindingIndexes.length; i++) {
  79552. const bindingIndex = bindingIndexes[i];
  79553. const propMetadata = tData[bindingIndex];
  79554. const metadataParts = propMetadata.split(INTERPOLATION_DELIMITER);
  79555. const propertyName = metadataParts[0];
  79556. if (metadataParts.length > 1) {
  79557. let value = metadataParts[1];
  79558. for (let j = 1; j < metadataParts.length - 1; j++) {
  79559. value += renderStringify(lView[bindingIndex + j - 1]) + metadataParts[j + 1];
  79560. }
  79561. properties[propertyName] = value;
  79562. } else {
  79563. properties[propertyName] = lView[bindingIndex];
  79564. }
  79565. }
  79566. }
  79567. } // Need to keep the nodes in a global Map so that multiple angular apps are supported.
  79568. const _nativeNodeToDebugNode = new Map();
  79569. const NG_DEBUG_PROPERTY = '__ng_debug__';
  79570. /**
  79571. * @publicApi
  79572. */
  79573. function getDebugNode(nativeNode) {
  79574. if (nativeNode instanceof Node) {
  79575. if (!nativeNode.hasOwnProperty(NG_DEBUG_PROPERTY)) {
  79576. nativeNode[NG_DEBUG_PROPERTY] = nativeNode.nodeType == Node.ELEMENT_NODE ? new DebugElement(nativeNode) : new DebugNode(nativeNode);
  79577. }
  79578. return nativeNode[NG_DEBUG_PROPERTY];
  79579. }
  79580. return null;
  79581. } // TODO: cleanup all references to this function and remove it.
  79582. function getDebugNodeR2(_nativeNode) {
  79583. return null;
  79584. }
  79585. function getAllDebugNodes() {
  79586. return Array.from(_nativeNodeToDebugNode.values());
  79587. }
  79588. function indexDebugNode(node) {
  79589. _nativeNodeToDebugNode.set(node.nativeNode, node);
  79590. }
  79591. function removeDebugNodeFromIndex(node) {
  79592. _nativeNodeToDebugNode.delete(node.nativeNode);
  79593. }
  79594. /**
  79595. * @license
  79596. * Copyright Google LLC All Rights Reserved.
  79597. *
  79598. * Use of this source code is governed by an MIT-style license that can be
  79599. * found in the LICENSE file at https://angular.io/license
  79600. */
  79601. class DefaultIterableDifferFactory {
  79602. constructor() {}
  79603. supports(obj) {
  79604. return isListLikeIterable(obj);
  79605. }
  79606. create(trackByFn) {
  79607. return new DefaultIterableDiffer(trackByFn);
  79608. }
  79609. }
  79610. const trackByIdentity = (index, item) => item;
  79611. /**
  79612. * @deprecated v4.0.0 - Should not be part of public API.
  79613. * @publicApi
  79614. */
  79615. class DefaultIterableDiffer {
  79616. constructor(trackByFn) {
  79617. this.length = 0; // Keeps track of the used records at any point in time (during & across `_check()` calls)
  79618. this._linkedRecords = null; // Keeps track of the removed records at any point in time during `_check()` calls.
  79619. this._unlinkedRecords = null;
  79620. this._previousItHead = null;
  79621. this._itHead = null;
  79622. this._itTail = null;
  79623. this._additionsHead = null;
  79624. this._additionsTail = null;
  79625. this._movesHead = null;
  79626. this._movesTail = null;
  79627. this._removalsHead = null;
  79628. this._removalsTail = null; // Keeps track of records where custom track by is the same, but item identity has changed
  79629. this._identityChangesHead = null;
  79630. this._identityChangesTail = null;
  79631. this._trackByFn = trackByFn || trackByIdentity;
  79632. }
  79633. forEachItem(fn) {
  79634. let record;
  79635. for (record = this._itHead; record !== null; record = record._next) {
  79636. fn(record);
  79637. }
  79638. }
  79639. forEachOperation(fn) {
  79640. let nextIt = this._itHead;
  79641. let nextRemove = this._removalsHead;
  79642. let addRemoveOffset = 0;
  79643. let moveOffsets = null;
  79644. while (nextIt || nextRemove) {
  79645. // Figure out which is the next record to process
  79646. // Order: remove, add, move
  79647. const record = !nextRemove || nextIt && nextIt.currentIndex < getPreviousIndex(nextRemove, addRemoveOffset, moveOffsets) ? nextIt : nextRemove;
  79648. const adjPreviousIndex = getPreviousIndex(record, addRemoveOffset, moveOffsets);
  79649. const currentIndex = record.currentIndex; // consume the item, and adjust the addRemoveOffset and update moveDistance if necessary
  79650. if (record === nextRemove) {
  79651. addRemoveOffset--;
  79652. nextRemove = nextRemove._nextRemoved;
  79653. } else {
  79654. nextIt = nextIt._next;
  79655. if (record.previousIndex == null) {
  79656. addRemoveOffset++;
  79657. } else {
  79658. // INVARIANT: currentIndex < previousIndex
  79659. if (!moveOffsets) moveOffsets = [];
  79660. const localMovePreviousIndex = adjPreviousIndex - addRemoveOffset;
  79661. const localCurrentIndex = currentIndex - addRemoveOffset;
  79662. if (localMovePreviousIndex != localCurrentIndex) {
  79663. for (let i = 0; i < localMovePreviousIndex; i++) {
  79664. const offset = i < moveOffsets.length ? moveOffsets[i] : moveOffsets[i] = 0;
  79665. const index = offset + i;
  79666. if (localCurrentIndex <= index && index < localMovePreviousIndex) {
  79667. moveOffsets[i] = offset + 1;
  79668. }
  79669. }
  79670. const previousIndex = record.previousIndex;
  79671. moveOffsets[previousIndex] = localCurrentIndex - localMovePreviousIndex;
  79672. }
  79673. }
  79674. }
  79675. if (adjPreviousIndex !== currentIndex) {
  79676. fn(record, adjPreviousIndex, currentIndex);
  79677. }
  79678. }
  79679. }
  79680. forEachPreviousItem(fn) {
  79681. let record;
  79682. for (record = this._previousItHead; record !== null; record = record._nextPrevious) {
  79683. fn(record);
  79684. }
  79685. }
  79686. forEachAddedItem(fn) {
  79687. let record;
  79688. for (record = this._additionsHead; record !== null; record = record._nextAdded) {
  79689. fn(record);
  79690. }
  79691. }
  79692. forEachMovedItem(fn) {
  79693. let record;
  79694. for (record = this._movesHead; record !== null; record = record._nextMoved) {
  79695. fn(record);
  79696. }
  79697. }
  79698. forEachRemovedItem(fn) {
  79699. let record;
  79700. for (record = this._removalsHead; record !== null; record = record._nextRemoved) {
  79701. fn(record);
  79702. }
  79703. }
  79704. forEachIdentityChange(fn) {
  79705. let record;
  79706. for (record = this._identityChangesHead; record !== null; record = record._nextIdentityChange) {
  79707. fn(record);
  79708. }
  79709. }
  79710. diff(collection) {
  79711. if (collection == null) collection = [];
  79712. if (!isListLikeIterable(collection)) {
  79713. throw new RuntimeError(900
  79714. /* RuntimeErrorCode.INVALID_DIFFER_INPUT */
  79715. , ngDevMode && `Error trying to diff '${stringify(collection)}'. Only arrays and iterables are allowed`);
  79716. }
  79717. if (this.check(collection)) {
  79718. return this;
  79719. } else {
  79720. return null;
  79721. }
  79722. }
  79723. onDestroy() {}
  79724. check(collection) {
  79725. this._reset();
  79726. let record = this._itHead;
  79727. let mayBeDirty = false;
  79728. let index;
  79729. let item;
  79730. let itemTrackBy;
  79731. if (Array.isArray(collection)) {
  79732. this.length = collection.length;
  79733. for (let index = 0; index < this.length; index++) {
  79734. item = collection[index];
  79735. itemTrackBy = this._trackByFn(index, item);
  79736. if (record === null || !Object.is(record.trackById, itemTrackBy)) {
  79737. record = this._mismatch(record, item, itemTrackBy, index);
  79738. mayBeDirty = true;
  79739. } else {
  79740. if (mayBeDirty) {
  79741. // TODO(misko): can we limit this to duplicates only?
  79742. record = this._verifyReinsertion(record, item, itemTrackBy, index);
  79743. }
  79744. if (!Object.is(record.item, item)) this._addIdentityChange(record, item);
  79745. }
  79746. record = record._next;
  79747. }
  79748. } else {
  79749. index = 0;
  79750. iterateListLike(collection, item => {
  79751. itemTrackBy = this._trackByFn(index, item);
  79752. if (record === null || !Object.is(record.trackById, itemTrackBy)) {
  79753. record = this._mismatch(record, item, itemTrackBy, index);
  79754. mayBeDirty = true;
  79755. } else {
  79756. if (mayBeDirty) {
  79757. // TODO(misko): can we limit this to duplicates only?
  79758. record = this._verifyReinsertion(record, item, itemTrackBy, index);
  79759. }
  79760. if (!Object.is(record.item, item)) this._addIdentityChange(record, item);
  79761. }
  79762. record = record._next;
  79763. index++;
  79764. });
  79765. this.length = index;
  79766. }
  79767. this._truncate(record);
  79768. this.collection = collection;
  79769. return this.isDirty;
  79770. }
  79771. /* CollectionChanges is considered dirty if it has any additions, moves, removals, or identity
  79772. * changes.
  79773. */
  79774. get isDirty() {
  79775. return this._additionsHead !== null || this._movesHead !== null || this._removalsHead !== null || this._identityChangesHead !== null;
  79776. }
  79777. /**
  79778. * Reset the state of the change objects to show no changes. This means set previousKey to
  79779. * currentKey, and clear all of the queues (additions, moves, removals).
  79780. * Set the previousIndexes of moved and added items to their currentIndexes
  79781. * Reset the list of additions, moves and removals
  79782. *
  79783. * @internal
  79784. */
  79785. _reset() {
  79786. if (this.isDirty) {
  79787. let record;
  79788. for (record = this._previousItHead = this._itHead; record !== null; record = record._next) {
  79789. record._nextPrevious = record._next;
  79790. }
  79791. for (record = this._additionsHead; record !== null; record = record._nextAdded) {
  79792. record.previousIndex = record.currentIndex;
  79793. }
  79794. this._additionsHead = this._additionsTail = null;
  79795. for (record = this._movesHead; record !== null; record = record._nextMoved) {
  79796. record.previousIndex = record.currentIndex;
  79797. }
  79798. this._movesHead = this._movesTail = null;
  79799. this._removalsHead = this._removalsTail = null;
  79800. this._identityChangesHead = this._identityChangesTail = null; // TODO(vicb): when assert gets supported
  79801. // assert(!this.isDirty);
  79802. }
  79803. }
  79804. /**
  79805. * This is the core function which handles differences between collections.
  79806. *
  79807. * - `record` is the record which we saw at this position last time. If null then it is a new
  79808. * item.
  79809. * - `item` is the current item in the collection
  79810. * - `index` is the position of the item in the collection
  79811. *
  79812. * @internal
  79813. */
  79814. _mismatch(record, item, itemTrackBy, index) {
  79815. // The previous record after which we will append the current one.
  79816. let previousRecord;
  79817. if (record === null) {
  79818. previousRecord = this._itTail;
  79819. } else {
  79820. previousRecord = record._prev; // Remove the record from the collection since we know it does not match the item.
  79821. this._remove(record);
  79822. } // See if we have evicted the item, which used to be at some anterior position of _itHead list.
  79823. record = this._unlinkedRecords === null ? null : this._unlinkedRecords.get(itemTrackBy, null);
  79824. if (record !== null) {
  79825. // It is an item which we have evicted earlier: reinsert it back into the list.
  79826. // But first we need to check if identity changed, so we can update in view if necessary.
  79827. if (!Object.is(record.item, item)) this._addIdentityChange(record, item);
  79828. this._reinsertAfter(record, previousRecord, index);
  79829. } else {
  79830. // Attempt to see if the item is at some posterior position of _itHead list.
  79831. record = this._linkedRecords === null ? null : this._linkedRecords.get(itemTrackBy, index);
  79832. if (record !== null) {
  79833. // We have the item in _itHead at/after `index` position. We need to move it forward in the
  79834. // collection.
  79835. // But first we need to check if identity changed, so we can update in view if necessary.
  79836. if (!Object.is(record.item, item)) this._addIdentityChange(record, item);
  79837. this._moveAfter(record, previousRecord, index);
  79838. } else {
  79839. // It is a new item: add it.
  79840. record = this._addAfter(new IterableChangeRecord_(item, itemTrackBy), previousRecord, index);
  79841. }
  79842. }
  79843. return record;
  79844. }
  79845. /**
  79846. * This check is only needed if an array contains duplicates. (Short circuit of nothing dirty)
  79847. *
  79848. * Use case: `[a, a]` => `[b, a, a]`
  79849. *
  79850. * If we did not have this check then the insertion of `b` would:
  79851. * 1) evict first `a`
  79852. * 2) insert `b` at `0` index.
  79853. * 3) leave `a` at index `1` as is. <-- this is wrong!
  79854. * 3) reinsert `a` at index 2. <-- this is wrong!
  79855. *
  79856. * The correct behavior is:
  79857. * 1) evict first `a`
  79858. * 2) insert `b` at `0` index.
  79859. * 3) reinsert `a` at index 1.
  79860. * 3) move `a` at from `1` to `2`.
  79861. *
  79862. *
  79863. * Double check that we have not evicted a duplicate item. We need to check if the item type may
  79864. * have already been removed:
  79865. * The insertion of b will evict the first 'a'. If we don't reinsert it now it will be reinserted
  79866. * at the end. Which will show up as the two 'a's switching position. This is incorrect, since a
  79867. * better way to think of it is as insert of 'b' rather then switch 'a' with 'b' and then add 'a'
  79868. * at the end.
  79869. *
  79870. * @internal
  79871. */
  79872. _verifyReinsertion(record, item, itemTrackBy, index) {
  79873. let reinsertRecord = this._unlinkedRecords === null ? null : this._unlinkedRecords.get(itemTrackBy, null);
  79874. if (reinsertRecord !== null) {
  79875. record = this._reinsertAfter(reinsertRecord, record._prev, index);
  79876. } else if (record.currentIndex != index) {
  79877. record.currentIndex = index;
  79878. this._addToMoves(record, index);
  79879. }
  79880. return record;
  79881. }
  79882. /**
  79883. * Get rid of any excess {@link IterableChangeRecord_}s from the previous collection
  79884. *
  79885. * - `record` The first excess {@link IterableChangeRecord_}.
  79886. *
  79887. * @internal
  79888. */
  79889. _truncate(record) {
  79890. // Anything after that needs to be removed;
  79891. while (record !== null) {
  79892. const nextRecord = record._next;
  79893. this._addToRemovals(this._unlink(record));
  79894. record = nextRecord;
  79895. }
  79896. if (this._unlinkedRecords !== null) {
  79897. this._unlinkedRecords.clear();
  79898. }
  79899. if (this._additionsTail !== null) {
  79900. this._additionsTail._nextAdded = null;
  79901. }
  79902. if (this._movesTail !== null) {
  79903. this._movesTail._nextMoved = null;
  79904. }
  79905. if (this._itTail !== null) {
  79906. this._itTail._next = null;
  79907. }
  79908. if (this._removalsTail !== null) {
  79909. this._removalsTail._nextRemoved = null;
  79910. }
  79911. if (this._identityChangesTail !== null) {
  79912. this._identityChangesTail._nextIdentityChange = null;
  79913. }
  79914. }
  79915. /** @internal */
  79916. _reinsertAfter(record, prevRecord, index) {
  79917. if (this._unlinkedRecords !== null) {
  79918. this._unlinkedRecords.remove(record);
  79919. }
  79920. const prev = record._prevRemoved;
  79921. const next = record._nextRemoved;
  79922. if (prev === null) {
  79923. this._removalsHead = next;
  79924. } else {
  79925. prev._nextRemoved = next;
  79926. }
  79927. if (next === null) {
  79928. this._removalsTail = prev;
  79929. } else {
  79930. next._prevRemoved = prev;
  79931. }
  79932. this._insertAfter(record, prevRecord, index);
  79933. this._addToMoves(record, index);
  79934. return record;
  79935. }
  79936. /** @internal */
  79937. _moveAfter(record, prevRecord, index) {
  79938. this._unlink(record);
  79939. this._insertAfter(record, prevRecord, index);
  79940. this._addToMoves(record, index);
  79941. return record;
  79942. }
  79943. /** @internal */
  79944. _addAfter(record, prevRecord, index) {
  79945. this._insertAfter(record, prevRecord, index);
  79946. if (this._additionsTail === null) {
  79947. // TODO(vicb):
  79948. // assert(this._additionsHead === null);
  79949. this._additionsTail = this._additionsHead = record;
  79950. } else {
  79951. // TODO(vicb):
  79952. // assert(_additionsTail._nextAdded === null);
  79953. // assert(record._nextAdded === null);
  79954. this._additionsTail = this._additionsTail._nextAdded = record;
  79955. }
  79956. return record;
  79957. }
  79958. /** @internal */
  79959. _insertAfter(record, prevRecord, index) {
  79960. // TODO(vicb):
  79961. // assert(record != prevRecord);
  79962. // assert(record._next === null);
  79963. // assert(record._prev === null);
  79964. const next = prevRecord === null ? this._itHead : prevRecord._next; // TODO(vicb):
  79965. // assert(next != record);
  79966. // assert(prevRecord != record);
  79967. record._next = next;
  79968. record._prev = prevRecord;
  79969. if (next === null) {
  79970. this._itTail = record;
  79971. } else {
  79972. next._prev = record;
  79973. }
  79974. if (prevRecord === null) {
  79975. this._itHead = record;
  79976. } else {
  79977. prevRecord._next = record;
  79978. }
  79979. if (this._linkedRecords === null) {
  79980. this._linkedRecords = new _DuplicateMap();
  79981. }
  79982. this._linkedRecords.put(record);
  79983. record.currentIndex = index;
  79984. return record;
  79985. }
  79986. /** @internal */
  79987. _remove(record) {
  79988. return this._addToRemovals(this._unlink(record));
  79989. }
  79990. /** @internal */
  79991. _unlink(record) {
  79992. if (this._linkedRecords !== null) {
  79993. this._linkedRecords.remove(record);
  79994. }
  79995. const prev = record._prev;
  79996. const next = record._next; // TODO(vicb):
  79997. // assert((record._prev = null) === null);
  79998. // assert((record._next = null) === null);
  79999. if (prev === null) {
  80000. this._itHead = next;
  80001. } else {
  80002. prev._next = next;
  80003. }
  80004. if (next === null) {
  80005. this._itTail = prev;
  80006. } else {
  80007. next._prev = prev;
  80008. }
  80009. return record;
  80010. }
  80011. /** @internal */
  80012. _addToMoves(record, toIndex) {
  80013. // TODO(vicb):
  80014. // assert(record._nextMoved === null);
  80015. if (record.previousIndex === toIndex) {
  80016. return record;
  80017. }
  80018. if (this._movesTail === null) {
  80019. // TODO(vicb):
  80020. // assert(_movesHead === null);
  80021. this._movesTail = this._movesHead = record;
  80022. } else {
  80023. // TODO(vicb):
  80024. // assert(_movesTail._nextMoved === null);
  80025. this._movesTail = this._movesTail._nextMoved = record;
  80026. }
  80027. return record;
  80028. }
  80029. _addToRemovals(record) {
  80030. if (this._unlinkedRecords === null) {
  80031. this._unlinkedRecords = new _DuplicateMap();
  80032. }
  80033. this._unlinkedRecords.put(record);
  80034. record.currentIndex = null;
  80035. record._nextRemoved = null;
  80036. if (this._removalsTail === null) {
  80037. // TODO(vicb):
  80038. // assert(_removalsHead === null);
  80039. this._removalsTail = this._removalsHead = record;
  80040. record._prevRemoved = null;
  80041. } else {
  80042. // TODO(vicb):
  80043. // assert(_removalsTail._nextRemoved === null);
  80044. // assert(record._nextRemoved === null);
  80045. record._prevRemoved = this._removalsTail;
  80046. this._removalsTail = this._removalsTail._nextRemoved = record;
  80047. }
  80048. return record;
  80049. }
  80050. /** @internal */
  80051. _addIdentityChange(record, item) {
  80052. record.item = item;
  80053. if (this._identityChangesTail === null) {
  80054. this._identityChangesTail = this._identityChangesHead = record;
  80055. } else {
  80056. this._identityChangesTail = this._identityChangesTail._nextIdentityChange = record;
  80057. }
  80058. return record;
  80059. }
  80060. }
  80061. class IterableChangeRecord_ {
  80062. constructor(item, trackById) {
  80063. this.item = item;
  80064. this.trackById = trackById;
  80065. this.currentIndex = null;
  80066. this.previousIndex = null;
  80067. /** @internal */
  80068. this._nextPrevious = null;
  80069. /** @internal */
  80070. this._prev = null;
  80071. /** @internal */
  80072. this._next = null;
  80073. /** @internal */
  80074. this._prevDup = null;
  80075. /** @internal */
  80076. this._nextDup = null;
  80077. /** @internal */
  80078. this._prevRemoved = null;
  80079. /** @internal */
  80080. this._nextRemoved = null;
  80081. /** @internal */
  80082. this._nextAdded = null;
  80083. /** @internal */
  80084. this._nextMoved = null;
  80085. /** @internal */
  80086. this._nextIdentityChange = null;
  80087. }
  80088. } // A linked list of IterableChangeRecords with the same IterableChangeRecord_.item
  80089. class _DuplicateItemRecordList {
  80090. constructor() {
  80091. /** @internal */
  80092. this._head = null;
  80093. /** @internal */
  80094. this._tail = null;
  80095. }
  80096. /**
  80097. * Append the record to the list of duplicates.
  80098. *
  80099. * Note: by design all records in the list of duplicates hold the same value in record.item.
  80100. */
  80101. add(record) {
  80102. if (this._head === null) {
  80103. this._head = this._tail = record;
  80104. record._nextDup = null;
  80105. record._prevDup = null;
  80106. } else {
  80107. // TODO(vicb):
  80108. // assert(record.item == _head.item ||
  80109. // record.item is num && record.item.isNaN && _head.item is num && _head.item.isNaN);
  80110. this._tail._nextDup = record;
  80111. record._prevDup = this._tail;
  80112. record._nextDup = null;
  80113. this._tail = record;
  80114. }
  80115. } // Returns a IterableChangeRecord_ having IterableChangeRecord_.trackById == trackById and
  80116. // IterableChangeRecord_.currentIndex >= atOrAfterIndex
  80117. get(trackById, atOrAfterIndex) {
  80118. let record;
  80119. for (record = this._head; record !== null; record = record._nextDup) {
  80120. if ((atOrAfterIndex === null || atOrAfterIndex <= record.currentIndex) && Object.is(record.trackById, trackById)) {
  80121. return record;
  80122. }
  80123. }
  80124. return null;
  80125. }
  80126. /**
  80127. * Remove one {@link IterableChangeRecord_} from the list of duplicates.
  80128. *
  80129. * Returns whether the list of duplicates is empty.
  80130. */
  80131. remove(record) {
  80132. // TODO(vicb):
  80133. // assert(() {
  80134. // // verify that the record being removed is in the list.
  80135. // for (IterableChangeRecord_ cursor = _head; cursor != null; cursor = cursor._nextDup) {
  80136. // if (identical(cursor, record)) return true;
  80137. // }
  80138. // return false;
  80139. //});
  80140. const prev = record._prevDup;
  80141. const next = record._nextDup;
  80142. if (prev === null) {
  80143. this._head = next;
  80144. } else {
  80145. prev._nextDup = next;
  80146. }
  80147. if (next === null) {
  80148. this._tail = prev;
  80149. } else {
  80150. next._prevDup = prev;
  80151. }
  80152. return this._head === null;
  80153. }
  80154. }
  80155. class _DuplicateMap {
  80156. constructor() {
  80157. this.map = new Map();
  80158. }
  80159. put(record) {
  80160. const key = record.trackById;
  80161. let duplicates = this.map.get(key);
  80162. if (!duplicates) {
  80163. duplicates = new _DuplicateItemRecordList();
  80164. this.map.set(key, duplicates);
  80165. }
  80166. duplicates.add(record);
  80167. }
  80168. /**
  80169. * Retrieve the `value` using key. Because the IterableChangeRecord_ value may be one which we
  80170. * have already iterated over, we use the `atOrAfterIndex` to pretend it is not there.
  80171. *
  80172. * Use case: `[a, b, c, a, a]` if we are at index `3` which is the second `a` then asking if we
  80173. * have any more `a`s needs to return the second `a`.
  80174. */
  80175. get(trackById, atOrAfterIndex) {
  80176. const key = trackById;
  80177. const recordList = this.map.get(key);
  80178. return recordList ? recordList.get(trackById, atOrAfterIndex) : null;
  80179. }
  80180. /**
  80181. * Removes a {@link IterableChangeRecord_} from the list of duplicates.
  80182. *
  80183. * The list of duplicates also is removed from the map if it gets empty.
  80184. */
  80185. remove(record) {
  80186. const key = record.trackById;
  80187. const recordList = this.map.get(key); // Remove the list of duplicates when it gets empty
  80188. if (recordList.remove(record)) {
  80189. this.map.delete(key);
  80190. }
  80191. return record;
  80192. }
  80193. get isEmpty() {
  80194. return this.map.size === 0;
  80195. }
  80196. clear() {
  80197. this.map.clear();
  80198. }
  80199. }
  80200. function getPreviousIndex(item, addRemoveOffset, moveOffsets) {
  80201. const previousIndex = item.previousIndex;
  80202. if (previousIndex === null) return previousIndex;
  80203. let moveOffset = 0;
  80204. if (moveOffsets && previousIndex < moveOffsets.length) {
  80205. moveOffset = moveOffsets[previousIndex];
  80206. }
  80207. return previousIndex + addRemoveOffset + moveOffset;
  80208. }
  80209. /**
  80210. * @license
  80211. * Copyright Google LLC All Rights Reserved.
  80212. *
  80213. * Use of this source code is governed by an MIT-style license that can be
  80214. * found in the LICENSE file at https://angular.io/license
  80215. */
  80216. class DefaultKeyValueDifferFactory {
  80217. constructor() {}
  80218. supports(obj) {
  80219. return obj instanceof Map || isJsObject(obj);
  80220. }
  80221. create() {
  80222. return new DefaultKeyValueDiffer();
  80223. }
  80224. }
  80225. class DefaultKeyValueDiffer {
  80226. constructor() {
  80227. this._records = new Map();
  80228. this._mapHead = null; // _appendAfter is used in the check loop
  80229. this._appendAfter = null;
  80230. this._previousMapHead = null;
  80231. this._changesHead = null;
  80232. this._changesTail = null;
  80233. this._additionsHead = null;
  80234. this._additionsTail = null;
  80235. this._removalsHead = null;
  80236. this._removalsTail = null;
  80237. }
  80238. get isDirty() {
  80239. return this._additionsHead !== null || this._changesHead !== null || this._removalsHead !== null;
  80240. }
  80241. forEachItem(fn) {
  80242. let record;
  80243. for (record = this._mapHead; record !== null; record = record._next) {
  80244. fn(record);
  80245. }
  80246. }
  80247. forEachPreviousItem(fn) {
  80248. let record;
  80249. for (record = this._previousMapHead; record !== null; record = record._nextPrevious) {
  80250. fn(record);
  80251. }
  80252. }
  80253. forEachChangedItem(fn) {
  80254. let record;
  80255. for (record = this._changesHead; record !== null; record = record._nextChanged) {
  80256. fn(record);
  80257. }
  80258. }
  80259. forEachAddedItem(fn) {
  80260. let record;
  80261. for (record = this._additionsHead; record !== null; record = record._nextAdded) {
  80262. fn(record);
  80263. }
  80264. }
  80265. forEachRemovedItem(fn) {
  80266. let record;
  80267. for (record = this._removalsHead; record !== null; record = record._nextRemoved) {
  80268. fn(record);
  80269. }
  80270. }
  80271. diff(map) {
  80272. if (!map) {
  80273. map = new Map();
  80274. } else if (!(map instanceof Map || isJsObject(map))) {
  80275. throw new RuntimeError(900
  80276. /* RuntimeErrorCode.INVALID_DIFFER_INPUT */
  80277. , ngDevMode && `Error trying to diff '${stringify(map)}'. Only maps and objects are allowed`);
  80278. }
  80279. return this.check(map) ? this : null;
  80280. }
  80281. onDestroy() {}
  80282. /**
  80283. * Check the current state of the map vs the previous.
  80284. * The algorithm is optimised for when the keys do no change.
  80285. */
  80286. check(map) {
  80287. this._reset();
  80288. let insertBefore = this._mapHead;
  80289. this._appendAfter = null;
  80290. this._forEach(map, (value, key) => {
  80291. if (insertBefore && insertBefore.key === key) {
  80292. this._maybeAddToChanges(insertBefore, value);
  80293. this._appendAfter = insertBefore;
  80294. insertBefore = insertBefore._next;
  80295. } else {
  80296. const record = this._getOrCreateRecordForKey(key, value);
  80297. insertBefore = this._insertBeforeOrAppend(insertBefore, record);
  80298. }
  80299. }); // Items remaining at the end of the list have been deleted
  80300. if (insertBefore) {
  80301. if (insertBefore._prev) {
  80302. insertBefore._prev._next = null;
  80303. }
  80304. this._removalsHead = insertBefore;
  80305. for (let record = insertBefore; record !== null; record = record._nextRemoved) {
  80306. if (record === this._mapHead) {
  80307. this._mapHead = null;
  80308. }
  80309. this._records.delete(record.key);
  80310. record._nextRemoved = record._next;
  80311. record.previousValue = record.currentValue;
  80312. record.currentValue = null;
  80313. record._prev = null;
  80314. record._next = null;
  80315. }
  80316. } // Make sure tails have no next records from previous runs
  80317. if (this._changesTail) this._changesTail._nextChanged = null;
  80318. if (this._additionsTail) this._additionsTail._nextAdded = null;
  80319. return this.isDirty;
  80320. }
  80321. /**
  80322. * Inserts a record before `before` or append at the end of the list when `before` is null.
  80323. *
  80324. * Notes:
  80325. * - This method appends at `this._appendAfter`,
  80326. * - This method updates `this._appendAfter`,
  80327. * - The return value is the new value for the insertion pointer.
  80328. */
  80329. _insertBeforeOrAppend(before, record) {
  80330. if (before) {
  80331. const prev = before._prev;
  80332. record._next = before;
  80333. record._prev = prev;
  80334. before._prev = record;
  80335. if (prev) {
  80336. prev._next = record;
  80337. }
  80338. if (before === this._mapHead) {
  80339. this._mapHead = record;
  80340. }
  80341. this._appendAfter = before;
  80342. return before;
  80343. }
  80344. if (this._appendAfter) {
  80345. this._appendAfter._next = record;
  80346. record._prev = this._appendAfter;
  80347. } else {
  80348. this._mapHead = record;
  80349. }
  80350. this._appendAfter = record;
  80351. return null;
  80352. }
  80353. _getOrCreateRecordForKey(key, value) {
  80354. if (this._records.has(key)) {
  80355. const record = this._records.get(key);
  80356. this._maybeAddToChanges(record, value);
  80357. const prev = record._prev;
  80358. const next = record._next;
  80359. if (prev) {
  80360. prev._next = next;
  80361. }
  80362. if (next) {
  80363. next._prev = prev;
  80364. }
  80365. record._next = null;
  80366. record._prev = null;
  80367. return record;
  80368. }
  80369. const record = new KeyValueChangeRecord_(key);
  80370. this._records.set(key, record);
  80371. record.currentValue = value;
  80372. this._addToAdditions(record);
  80373. return record;
  80374. }
  80375. /** @internal */
  80376. _reset() {
  80377. if (this.isDirty) {
  80378. let record; // let `_previousMapHead` contain the state of the map before the changes
  80379. this._previousMapHead = this._mapHead;
  80380. for (record = this._previousMapHead; record !== null; record = record._next) {
  80381. record._nextPrevious = record._next;
  80382. } // Update `record.previousValue` with the value of the item before the changes
  80383. // We need to update all changed items (that's those which have been added and changed)
  80384. for (record = this._changesHead; record !== null; record = record._nextChanged) {
  80385. record.previousValue = record.currentValue;
  80386. }
  80387. for (record = this._additionsHead; record != null; record = record._nextAdded) {
  80388. record.previousValue = record.currentValue;
  80389. }
  80390. this._changesHead = this._changesTail = null;
  80391. this._additionsHead = this._additionsTail = null;
  80392. this._removalsHead = null;
  80393. }
  80394. } // Add the record or a given key to the list of changes only when the value has actually changed
  80395. _maybeAddToChanges(record, newValue) {
  80396. if (!Object.is(newValue, record.currentValue)) {
  80397. record.previousValue = record.currentValue;
  80398. record.currentValue = newValue;
  80399. this._addToChanges(record);
  80400. }
  80401. }
  80402. _addToAdditions(record) {
  80403. if (this._additionsHead === null) {
  80404. this._additionsHead = this._additionsTail = record;
  80405. } else {
  80406. this._additionsTail._nextAdded = record;
  80407. this._additionsTail = record;
  80408. }
  80409. }
  80410. _addToChanges(record) {
  80411. if (this._changesHead === null) {
  80412. this._changesHead = this._changesTail = record;
  80413. } else {
  80414. this._changesTail._nextChanged = record;
  80415. this._changesTail = record;
  80416. }
  80417. }
  80418. /** @internal */
  80419. _forEach(obj, fn) {
  80420. if (obj instanceof Map) {
  80421. obj.forEach(fn);
  80422. } else {
  80423. Object.keys(obj).forEach(k => fn(obj[k], k));
  80424. }
  80425. }
  80426. }
  80427. class KeyValueChangeRecord_ {
  80428. constructor(key) {
  80429. this.key = key;
  80430. this.previousValue = null;
  80431. this.currentValue = null;
  80432. /** @internal */
  80433. this._nextPrevious = null;
  80434. /** @internal */
  80435. this._next = null;
  80436. /** @internal */
  80437. this._prev = null;
  80438. /** @internal */
  80439. this._nextAdded = null;
  80440. /** @internal */
  80441. this._nextRemoved = null;
  80442. /** @internal */
  80443. this._nextChanged = null;
  80444. }
  80445. }
  80446. /**
  80447. * @license
  80448. * Copyright Google LLC All Rights Reserved.
  80449. *
  80450. * Use of this source code is governed by an MIT-style license that can be
  80451. * found in the LICENSE file at https://angular.io/license
  80452. */
  80453. function defaultIterableDiffersFactory() {
  80454. return new IterableDiffers([new DefaultIterableDifferFactory()]);
  80455. }
  80456. /**
  80457. * A repository of different iterable diffing strategies used by NgFor, NgClass, and others.
  80458. *
  80459. * @publicApi
  80460. */
  80461. class IterableDiffers {
  80462. constructor(factories) {
  80463. this.factories = factories;
  80464. }
  80465. static create(factories, parent) {
  80466. if (parent != null) {
  80467. const copied = parent.factories.slice();
  80468. factories = factories.concat(copied);
  80469. }
  80470. return new IterableDiffers(factories);
  80471. }
  80472. /**
  80473. * Takes an array of {@link IterableDifferFactory} and returns a provider used to extend the
  80474. * inherited {@link IterableDiffers} instance with the provided factories and return a new
  80475. * {@link IterableDiffers} instance.
  80476. *
  80477. * @usageNotes
  80478. * ### Example
  80479. *
  80480. * The following example shows how to extend an existing list of factories,
  80481. * which will only be applied to the injector for this component and its children.
  80482. * This step is all that's required to make a new {@link IterableDiffer} available.
  80483. *
  80484. * ```
  80485. * @Component({
  80486. * viewProviders: [
  80487. * IterableDiffers.extend([new ImmutableListDiffer()])
  80488. * ]
  80489. * })
  80490. * ```
  80491. */
  80492. static extend(factories) {
  80493. return {
  80494. provide: IterableDiffers,
  80495. useFactory: parent => {
  80496. // if parent is null, it means that we are in the root injector and we have just overridden
  80497. // the default injection mechanism for IterableDiffers, in such a case just assume
  80498. // `defaultIterableDiffersFactory`.
  80499. return IterableDiffers.create(factories, parent || defaultIterableDiffersFactory());
  80500. },
  80501. // Dependency technically isn't optional, but we can provide a better error message this way.
  80502. deps: [[IterableDiffers, new SkipSelf(), new Optional()]]
  80503. };
  80504. }
  80505. find(iterable) {
  80506. const factory = this.factories.find(f => f.supports(iterable));
  80507. if (factory != null) {
  80508. return factory;
  80509. } else {
  80510. throw new RuntimeError(901
  80511. /* RuntimeErrorCode.NO_SUPPORTING_DIFFER_FACTORY */
  80512. , ngDevMode && `Cannot find a differ supporting object '${iterable}' of type '${getTypeNameForDebugging(iterable)}'`);
  80513. }
  80514. }
  80515. }
  80516. /** @nocollapse */
  80517. IterableDiffers.ɵprov = ɵɵdefineInjectable({
  80518. token: IterableDiffers,
  80519. providedIn: 'root',
  80520. factory: defaultIterableDiffersFactory
  80521. });
  80522. function getTypeNameForDebugging(type) {
  80523. return type['name'] || typeof type;
  80524. }
  80525. /**
  80526. * @license
  80527. * Copyright Google LLC All Rights Reserved.
  80528. *
  80529. * Use of this source code is governed by an MIT-style license that can be
  80530. * found in the LICENSE file at https://angular.io/license
  80531. */
  80532. function defaultKeyValueDiffersFactory() {
  80533. return new KeyValueDiffers([new DefaultKeyValueDifferFactory()]);
  80534. }
  80535. /**
  80536. * A repository of different Map diffing strategies used by NgClass, NgStyle, and others.
  80537. *
  80538. * @publicApi
  80539. */
  80540. class KeyValueDiffers {
  80541. constructor(factories) {
  80542. this.factories = factories;
  80543. }
  80544. static create(factories, parent) {
  80545. if (parent) {
  80546. const copied = parent.factories.slice();
  80547. factories = factories.concat(copied);
  80548. }
  80549. return new KeyValueDiffers(factories);
  80550. }
  80551. /**
  80552. * Takes an array of {@link KeyValueDifferFactory} and returns a provider used to extend the
  80553. * inherited {@link KeyValueDiffers} instance with the provided factories and return a new
  80554. * {@link KeyValueDiffers} instance.
  80555. *
  80556. * @usageNotes
  80557. * ### Example
  80558. *
  80559. * The following example shows how to extend an existing list of factories,
  80560. * which will only be applied to the injector for this component and its children.
  80561. * This step is all that's required to make a new {@link KeyValueDiffer} available.
  80562. *
  80563. * ```
  80564. * @Component({
  80565. * viewProviders: [
  80566. * KeyValueDiffers.extend([new ImmutableMapDiffer()])
  80567. * ]
  80568. * })
  80569. * ```
  80570. */
  80571. static extend(factories) {
  80572. return {
  80573. provide: KeyValueDiffers,
  80574. useFactory: parent => {
  80575. // if parent is null, it means that we are in the root injector and we have just overridden
  80576. // the default injection mechanism for KeyValueDiffers, in such a case just assume
  80577. // `defaultKeyValueDiffersFactory`.
  80578. return KeyValueDiffers.create(factories, parent || defaultKeyValueDiffersFactory());
  80579. },
  80580. // Dependency technically isn't optional, but we can provide a better error message this way.
  80581. deps: [[KeyValueDiffers, new SkipSelf(), new Optional()]]
  80582. };
  80583. }
  80584. find(kv) {
  80585. const factory = this.factories.find(f => f.supports(kv));
  80586. if (factory) {
  80587. return factory;
  80588. }
  80589. throw new RuntimeError(901
  80590. /* RuntimeErrorCode.NO_SUPPORTING_DIFFER_FACTORY */
  80591. , ngDevMode && `Cannot find a differ supporting object '${kv}'`);
  80592. }
  80593. }
  80594. /** @nocollapse */
  80595. KeyValueDiffers.ɵprov = ɵɵdefineInjectable({
  80596. token: KeyValueDiffers,
  80597. providedIn: 'root',
  80598. factory: defaultKeyValueDiffersFactory
  80599. });
  80600. /**
  80601. * @license
  80602. * Copyright Google LLC All Rights Reserved.
  80603. *
  80604. * Use of this source code is governed by an MIT-style license that can be
  80605. * found in the LICENSE file at https://angular.io/license
  80606. */
  80607. /**
  80608. * Structural diffing for `Object`s and `Map`s.
  80609. */
  80610. const keyValDiff = [new DefaultKeyValueDifferFactory()];
  80611. /**
  80612. * Structural diffing for `Iterable` types such as `Array`s.
  80613. */
  80614. const iterableDiff = [new DefaultIterableDifferFactory()];
  80615. const defaultIterableDiffers = new IterableDiffers(iterableDiff);
  80616. const defaultKeyValueDiffers = new KeyValueDiffers(keyValDiff);
  80617. /**
  80618. * @license
  80619. * Copyright Google LLC All Rights Reserved.
  80620. *
  80621. * Use of this source code is governed by an MIT-style license that can be
  80622. * found in the LICENSE file at https://angular.io/license
  80623. */
  80624. /**
  80625. * @license
  80626. * Copyright Google LLC All Rights Reserved.
  80627. *
  80628. * Use of this source code is governed by an MIT-style license that can be
  80629. * found in the LICENSE file at https://angular.io/license
  80630. */
  80631. /**
  80632. * This platform has to be included in any other platform
  80633. *
  80634. * @publicApi
  80635. */
  80636. const platformCore = createPlatformFactory(null, 'core', []);
  80637. /**
  80638. * Re-exported by `BrowserModule`, which is included automatically in the root
  80639. * `AppModule` when you create a new app with the CLI `new` command. Eagerly injects
  80640. * `ApplicationRef` to instantiate it.
  80641. *
  80642. * @publicApi
  80643. */
  80644. class ApplicationModule {
  80645. // Inject ApplicationRef to make it eager...
  80646. constructor(appRef) {}
  80647. }
  80648. ApplicationModule.ɵfac = function ApplicationModule_Factory(t) {
  80649. return new (t || ApplicationModule)(ɵɵinject(ApplicationRef));
  80650. };
  80651. ApplicationModule.ɵmod = /*@__PURE__*/ɵɵdefineNgModule({
  80652. type: ApplicationModule
  80653. });
  80654. ApplicationModule.ɵinj = /*@__PURE__*/ɵɵdefineInjector({});
  80655. (function () {
  80656. (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(ApplicationModule, [{
  80657. type: NgModule
  80658. }], function () {
  80659. return [{
  80660. type: ApplicationRef
  80661. }];
  80662. }, null);
  80663. })();
  80664. /**
  80665. * @license
  80666. * Copyright Google LLC All Rights Reserved.
  80667. *
  80668. * Use of this source code is governed by an MIT-style license that can be
  80669. * found in the LICENSE file at https://angular.io/license
  80670. */
  80671. /** Coerces a value (typically a string) to a boolean. */
  80672. function coerceToBoolean(value) {
  80673. return typeof value === 'boolean' ? value : value != null && value !== 'false';
  80674. }
  80675. /**
  80676. * @license
  80677. * Copyright Google LLC All Rights Reserved.
  80678. *
  80679. * Use of this source code is governed by an MIT-style license that can be
  80680. * found in the LICENSE file at https://angular.io/license
  80681. */
  80682. // TODO(alxhub): allows tests to compile, can be removed when tests have been updated.
  80683. const ɵivyEnabled = true;
  80684. /**
  80685. * @license
  80686. * Copyright Google LLC All Rights Reserved.
  80687. *
  80688. * Use of this source code is governed by an MIT-style license that can be
  80689. * found in the LICENSE file at https://angular.io/license
  80690. */
  80691. /**
  80692. * Compiles a partial directive declaration object into a full directive definition object.
  80693. *
  80694. * @codeGenApi
  80695. */
  80696. function ɵɵngDeclareDirective(decl) {
  80697. const compiler = getCompilerFacade({
  80698. usage: 1
  80699. /* JitCompilerUsage.PartialDeclaration */
  80700. ,
  80701. kind: 'directive',
  80702. type: decl.type
  80703. });
  80704. return compiler.compileDirectiveDeclaration(angularCoreEnv, `ng:///${decl.type.name}/ɵfac.js`, decl);
  80705. }
  80706. /**
  80707. * Evaluates the class metadata declaration.
  80708. *
  80709. * @codeGenApi
  80710. */
  80711. function ɵɵngDeclareClassMetadata(decl) {
  80712. var _a, _b;
  80713. setClassMetadata(decl.type, decl.decorators, (_a = decl.ctorParameters) !== null && _a !== void 0 ? _a : null, (_b = decl.propDecorators) !== null && _b !== void 0 ? _b : null);
  80714. }
  80715. /**
  80716. * Compiles a partial component declaration object into a full component definition object.
  80717. *
  80718. * @codeGenApi
  80719. */
  80720. function ɵɵngDeclareComponent(decl) {
  80721. const compiler = getCompilerFacade({
  80722. usage: 1
  80723. /* JitCompilerUsage.PartialDeclaration */
  80724. ,
  80725. kind: 'component',
  80726. type: decl.type
  80727. });
  80728. return compiler.compileComponentDeclaration(angularCoreEnv, `ng:///${decl.type.name}/ɵcmp.js`, decl);
  80729. }
  80730. /**
  80731. * Compiles a partial pipe declaration object into a full pipe definition object.
  80732. *
  80733. * @codeGenApi
  80734. */
  80735. function ɵɵngDeclareFactory(decl) {
  80736. const compiler = getCompilerFacade({
  80737. usage: 1
  80738. /* JitCompilerUsage.PartialDeclaration */
  80739. ,
  80740. kind: getFactoryKind(decl.target),
  80741. type: decl.type
  80742. });
  80743. return compiler.compileFactoryDeclaration(angularCoreEnv, `ng:///${decl.type.name}/ɵfac.js`, decl);
  80744. }
  80745. function getFactoryKind(target) {
  80746. switch (target) {
  80747. case FactoryTarget.Directive:
  80748. return 'directive';
  80749. case FactoryTarget.Component:
  80750. return 'component';
  80751. case FactoryTarget.Injectable:
  80752. return 'injectable';
  80753. case FactoryTarget.Pipe:
  80754. return 'pipe';
  80755. case FactoryTarget.NgModule:
  80756. return 'NgModule';
  80757. }
  80758. }
  80759. /**
  80760. * Compiles a partial injectable declaration object into a full injectable definition object.
  80761. *
  80762. * @codeGenApi
  80763. */
  80764. function ɵɵngDeclareInjectable(decl) {
  80765. const compiler = getCompilerFacade({
  80766. usage: 1
  80767. /* JitCompilerUsage.PartialDeclaration */
  80768. ,
  80769. kind: 'injectable',
  80770. type: decl.type
  80771. });
  80772. return compiler.compileInjectableDeclaration(angularCoreEnv, `ng:///${decl.type.name}/ɵprov.js`, decl);
  80773. }
  80774. /**
  80775. * Compiles a partial injector declaration object into a full injector definition object.
  80776. *
  80777. * @codeGenApi
  80778. */
  80779. function ɵɵngDeclareInjector(decl) {
  80780. const compiler = getCompilerFacade({
  80781. usage: 1
  80782. /* JitCompilerUsage.PartialDeclaration */
  80783. ,
  80784. kind: 'NgModule',
  80785. type: decl.type
  80786. });
  80787. return compiler.compileInjectorDeclaration(angularCoreEnv, `ng:///${decl.type.name}/ɵinj.js`, decl);
  80788. }
  80789. /**
  80790. * Compiles a partial NgModule declaration object into a full NgModule definition object.
  80791. *
  80792. * @codeGenApi
  80793. */
  80794. function ɵɵngDeclareNgModule(decl) {
  80795. const compiler = getCompilerFacade({
  80796. usage: 1
  80797. /* JitCompilerUsage.PartialDeclaration */
  80798. ,
  80799. kind: 'NgModule',
  80800. type: decl.type
  80801. });
  80802. return compiler.compileNgModuleDeclaration(angularCoreEnv, `ng:///${decl.type.name}/ɵmod.js`, decl);
  80803. }
  80804. /**
  80805. * Compiles a partial pipe declaration object into a full pipe definition object.
  80806. *
  80807. * @codeGenApi
  80808. */
  80809. function ɵɵngDeclarePipe(decl) {
  80810. const compiler = getCompilerFacade({
  80811. usage: 1
  80812. /* JitCompilerUsage.PartialDeclaration */
  80813. ,
  80814. kind: 'pipe',
  80815. type: decl.type
  80816. });
  80817. return compiler.compilePipeDeclaration(angularCoreEnv, `ng:///${decl.type.name}/ɵpipe.js`, decl);
  80818. }
  80819. /**
  80820. * @license
  80821. * Copyright Google LLC All Rights Reserved.
  80822. *
  80823. * Use of this source code is governed by an MIT-style license that can be
  80824. * found in the LICENSE file at https://angular.io/license
  80825. */
  80826. // clang-format on
  80827. /**
  80828. * @license
  80829. * Copyright Google LLC All Rights Reserved.
  80830. *
  80831. * Use of this source code is governed by an MIT-style license that can be
  80832. * found in the LICENSE file at https://angular.io/license
  80833. */
  80834. /**
  80835. * Creates a `ComponentRef` instance based on provided component type and a set of options.
  80836. *
  80837. * @usageNotes
  80838. *
  80839. * The example below demonstrates how the `createComponent` function can be used
  80840. * to create an instance of a ComponentRef dynamically and attach it to an ApplicationRef,
  80841. * so that it gets included into change detection cycles.
  80842. *
  80843. * Note: the example uses standalone components, but the function can also be used for
  80844. * non-standalone components (declared in an NgModule) as well.
  80845. *
  80846. * ```typescript
  80847. * @Component({
  80848. * standalone: true,
  80849. * template: `Hello {{ name }}!`
  80850. * })
  80851. * class HelloComponent {
  80852. * name = 'Angular';
  80853. * }
  80854. *
  80855. * @Component({
  80856. * standalone: true,
  80857. * template: `<div id="hello-component-host"></div>`
  80858. * })
  80859. * class RootComponent {}
  80860. *
  80861. * // Bootstrap an application.
  80862. * const applicationRef = await bootstrapApplication(RootComponent);
  80863. *
  80864. * // Locate a DOM node that would be used as a host.
  80865. * const host = document.getElementById('hello-component-host');
  80866. *
  80867. * // Get an `EnvironmentInjector` instance from the `ApplicationRef`.
  80868. * const environmentInjector = applicationRef.injector;
  80869. *
  80870. * // We can now create a `ComponentRef` instance.
  80871. * const componentRef = createComponent(HelloComponent, {host, environmentInjector});
  80872. *
  80873. * // Last step is to register the newly created ref using the `ApplicationRef` instance
  80874. * // to include the component view into change detection cycles.
  80875. * applicationRef.attachView(componentRef.hostView);
  80876. * ```
  80877. *
  80878. * @param component Component class reference.
  80879. * @param options Set of options to use:
  80880. * * `environmentInjector`: An `EnvironmentInjector` instance to be used for the component, see
  80881. * additional info about it at https://angular.io/guide/standalone-components#environment-injectors.
  80882. * * `hostElement` (optional): A DOM node that should act as a host node for the component. If not
  80883. * provided, Angular creates one based on the tag name used in the component selector (and falls
  80884. * back to using `div` if selector doesn't have tag name info).
  80885. * * `elementInjector` (optional): An `ElementInjector` instance, see additional info about it at
  80886. * https://angular.io/guide/hierarchical-dependency-injection#elementinjector.
  80887. * * `projectableNodes` (optional): A list of DOM nodes that should be projected through
  80888. * [`<ng-content>`](api/core/ng-content) of the new component instance.
  80889. * @returns ComponentRef instance that represents a given Component.
  80890. *
  80891. * @publicApi
  80892. */
  80893. function createComponent(component, options) {
  80894. ngDevMode && assertComponentDef(component);
  80895. const componentDef = getComponentDef(component);
  80896. const elementInjector = options.elementInjector || getNullInjector();
  80897. const factory = new ComponentFactory(componentDef);
  80898. return factory.create(elementInjector, options.projectableNodes, options.hostElement, options.environmentInjector);
  80899. }
  80900. /**
  80901. * Creates an object that allows to retrieve component metadata.
  80902. *
  80903. * @usageNotes
  80904. *
  80905. * The example below demonstrates how to use the function and how the fields
  80906. * of the returned object map to the component metadata.
  80907. *
  80908. * ```typescript
  80909. * @Component({
  80910. * standalone: true,
  80911. * selector: 'foo-component',
  80912. * template: `
  80913. * <ng-content></ng-content>
  80914. * <ng-content select="content-selector-a"></ng-content>
  80915. * `,
  80916. * })
  80917. * class FooComponent {
  80918. * @Input('inputName') inputPropName: string;
  80919. * @Output('outputName') outputPropName = new EventEmitter<void>();
  80920. * }
  80921. *
  80922. * const mirror = reflectComponentType(FooComponent);
  80923. * expect(mirror.type).toBe(FooComponent);
  80924. * expect(mirror.selector).toBe('foo-component');
  80925. * expect(mirror.isStandalone).toBe(true);
  80926. * expect(mirror.inputs).toEqual([{propName: 'inputName', templateName: 'inputPropName'}]);
  80927. * expect(mirror.outputs).toEqual([{propName: 'outputName', templateName: 'outputPropName'}]);
  80928. * expect(mirror.ngContentSelectors).toEqual([
  80929. * '*', // first `<ng-content>` in a template, the selector defaults to `*`
  80930. * 'content-selector-a' // second `<ng-content>` in a template
  80931. * ]);
  80932. * ```
  80933. *
  80934. * @param component Component class reference.
  80935. * @returns An object that allows to retrieve component metadata.
  80936. *
  80937. * @publicApi
  80938. */
  80939. function reflectComponentType(component) {
  80940. const componentDef = getComponentDef(component);
  80941. if (!componentDef) return null;
  80942. const factory = new ComponentFactory(componentDef);
  80943. return {
  80944. get selector() {
  80945. return factory.selector;
  80946. },
  80947. get type() {
  80948. return factory.componentType;
  80949. },
  80950. get inputs() {
  80951. return factory.inputs;
  80952. },
  80953. get outputs() {
  80954. return factory.outputs;
  80955. },
  80956. get ngContentSelectors() {
  80957. return factory.ngContentSelectors;
  80958. },
  80959. get isStandalone() {
  80960. return componentDef.standalone;
  80961. }
  80962. };
  80963. }
  80964. /**
  80965. * @license
  80966. * Copyright Google LLC All Rights Reserved.
  80967. *
  80968. * Use of this source code is governed by an MIT-style license that can be
  80969. * found in the LICENSE file at https://angular.io/license
  80970. */
  80971. if (typeof ngDevMode !== 'undefined' && ngDevMode) {
  80972. // This helper is to give a reasonable error message to people upgrading to v9 that have not yet
  80973. // installed `@angular/localize` in their app.
  80974. // tslint:disable-next-line: no-toplevel-property-access
  80975. _global.$localize = _global.$localize || function () {
  80976. throw new Error('It looks like your application or one of its dependencies is using i18n.\n' + 'Angular 9 introduced a global `$localize()` function that needs to be loaded.\n' + 'Please run `ng add @angular/localize` from the Angular CLI.\n' + '(For non-CLI projects, add `import \'@angular/localize/init\';` to your `polyfills.ts` file.\n' + 'For server-side rendering applications add the import to your `main.server.ts` file.)');
  80977. };
  80978. }
  80979. /**
  80980. * @license
  80981. * Copyright Google LLC All Rights Reserved.
  80982. *
  80983. * Use of this source code is governed by an MIT-style license that can be
  80984. * found in the LICENSE file at https://angular.io/license
  80985. */
  80986. // This file only reexports content of the `src` folder. Keep it that way.
  80987. /**
  80988. * @license
  80989. * Copyright Google LLC All Rights Reserved.
  80990. *
  80991. * Use of this source code is governed by an MIT-style license that can be
  80992. * found in the LICENSE file at https://angular.io/license
  80993. */
  80994. /**
  80995. * Generated bundle index. Do not edit.
  80996. */
  80997. /***/ }),
  80998. /***/ 587:
  80999. /*!********************************************************!*\
  81000. !*** ./node_modules/@angular/forms/fesm2015/forms.mjs ***!
  81001. \********************************************************/
  81002. /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
  81003. __webpack_require__.r(__webpack_exports__);
  81004. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  81005. /* harmony export */ "AbstractControl": () => (/* binding */ AbstractControl),
  81006. /* harmony export */ "AbstractControlDirective": () => (/* binding */ AbstractControlDirective),
  81007. /* harmony export */ "AbstractFormGroupDirective": () => (/* binding */ AbstractFormGroupDirective),
  81008. /* harmony export */ "COMPOSITION_BUFFER_MODE": () => (/* binding */ COMPOSITION_BUFFER_MODE),
  81009. /* harmony export */ "CheckboxControlValueAccessor": () => (/* binding */ CheckboxControlValueAccessor),
  81010. /* harmony export */ "CheckboxRequiredValidator": () => (/* binding */ CheckboxRequiredValidator),
  81011. /* harmony export */ "ControlContainer": () => (/* binding */ ControlContainer),
  81012. /* harmony export */ "DefaultValueAccessor": () => (/* binding */ DefaultValueAccessor),
  81013. /* harmony export */ "EmailValidator": () => (/* binding */ EmailValidator),
  81014. /* harmony export */ "FormArray": () => (/* binding */ FormArray),
  81015. /* harmony export */ "FormArrayName": () => (/* binding */ FormArrayName),
  81016. /* harmony export */ "FormBuilder": () => (/* binding */ FormBuilder),
  81017. /* harmony export */ "FormControl": () => (/* binding */ FormControl),
  81018. /* harmony export */ "FormControlDirective": () => (/* binding */ FormControlDirective),
  81019. /* harmony export */ "FormControlName": () => (/* binding */ FormControlName),
  81020. /* harmony export */ "FormGroup": () => (/* binding */ FormGroup),
  81021. /* harmony export */ "FormGroupDirective": () => (/* binding */ FormGroupDirective),
  81022. /* harmony export */ "FormGroupName": () => (/* binding */ FormGroupName),
  81023. /* harmony export */ "FormRecord": () => (/* binding */ FormRecord),
  81024. /* harmony export */ "FormsModule": () => (/* binding */ FormsModule),
  81025. /* harmony export */ "MaxLengthValidator": () => (/* binding */ MaxLengthValidator),
  81026. /* harmony export */ "MaxValidator": () => (/* binding */ MaxValidator),
  81027. /* harmony export */ "MinLengthValidator": () => (/* binding */ MinLengthValidator),
  81028. /* harmony export */ "MinValidator": () => (/* binding */ MinValidator),
  81029. /* harmony export */ "NG_ASYNC_VALIDATORS": () => (/* binding */ NG_ASYNC_VALIDATORS),
  81030. /* harmony export */ "NG_VALIDATORS": () => (/* binding */ NG_VALIDATORS),
  81031. /* harmony export */ "NG_VALUE_ACCESSOR": () => (/* binding */ NG_VALUE_ACCESSOR),
  81032. /* harmony export */ "NgControl": () => (/* binding */ NgControl),
  81033. /* harmony export */ "NgControlStatus": () => (/* binding */ NgControlStatus),
  81034. /* harmony export */ "NgControlStatusGroup": () => (/* binding */ NgControlStatusGroup),
  81035. /* harmony export */ "NgForm": () => (/* binding */ NgForm),
  81036. /* harmony export */ "NgModel": () => (/* binding */ NgModel),
  81037. /* harmony export */ "NgModelGroup": () => (/* binding */ NgModelGroup),
  81038. /* harmony export */ "NgSelectOption": () => (/* binding */ NgSelectOption),
  81039. /* harmony export */ "NonNullableFormBuilder": () => (/* binding */ NonNullableFormBuilder),
  81040. /* harmony export */ "NumberValueAccessor": () => (/* binding */ NumberValueAccessor),
  81041. /* harmony export */ "PatternValidator": () => (/* binding */ PatternValidator),
  81042. /* harmony export */ "RadioControlValueAccessor": () => (/* binding */ RadioControlValueAccessor),
  81043. /* harmony export */ "RangeValueAccessor": () => (/* binding */ RangeValueAccessor),
  81044. /* harmony export */ "ReactiveFormsModule": () => (/* binding */ ReactiveFormsModule),
  81045. /* harmony export */ "RequiredValidator": () => (/* binding */ RequiredValidator),
  81046. /* harmony export */ "SelectControlValueAccessor": () => (/* binding */ SelectControlValueAccessor),
  81047. /* harmony export */ "SelectMultipleControlValueAccessor": () => (/* binding */ SelectMultipleControlValueAccessor),
  81048. /* harmony export */ "UntypedFormArray": () => (/* binding */ UntypedFormArray),
  81049. /* harmony export */ "UntypedFormBuilder": () => (/* binding */ UntypedFormBuilder),
  81050. /* harmony export */ "UntypedFormControl": () => (/* binding */ UntypedFormControl),
  81051. /* harmony export */ "UntypedFormGroup": () => (/* binding */ UntypedFormGroup),
  81052. /* harmony export */ "VERSION": () => (/* binding */ VERSION),
  81053. /* harmony export */ "Validators": () => (/* binding */ Validators),
  81054. /* harmony export */ "ɵInternalFormsSharedModule": () => (/* binding */ ɵInternalFormsSharedModule),
  81055. /* harmony export */ "ɵNgNoValidate": () => (/* binding */ ɵNgNoValidate),
  81056. /* harmony export */ "ɵNgSelectMultipleOption": () => (/* binding */ ɵNgSelectMultipleOption)
  81057. /* harmony export */ });
  81058. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 3184);
  81059. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ 6362);
  81060. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ 4383);
  81061. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs */ 4350);
  81062. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ 6942);
  81063. /**
  81064. * @license Angular v14.2.7
  81065. * (c) 2010-2022 Google LLC. https://angular.io/
  81066. * License: MIT
  81067. */
  81068. /**
  81069. * @license
  81070. * Copyright Google LLC All Rights Reserved.
  81071. *
  81072. * Use of this source code is governed by an MIT-style license that can be
  81073. * found in the LICENSE file at https://angular.io/license
  81074. */
  81075. /**
  81076. * Base class for all ControlValueAccessor classes defined in Forms package.
  81077. * Contains common logic and utility functions.
  81078. *
  81079. * Note: this is an *internal-only* class and should not be extended or used directly in
  81080. * applications code.
  81081. */
  81082. class BaseControlValueAccessor {
  81083. constructor(_renderer, _elementRef) {
  81084. this._renderer = _renderer;
  81085. this._elementRef = _elementRef;
  81086. /**
  81087. * The registered callback function called when a change or input event occurs on the input
  81088. * element.
  81089. * @nodoc
  81090. */
  81091. this.onChange = _ => {};
  81092. /**
  81093. * The registered callback function called when a blur event occurs on the input element.
  81094. * @nodoc
  81095. */
  81096. this.onTouched = () => {};
  81097. }
  81098. /**
  81099. * Helper method that sets a property on a target element using the current Renderer
  81100. * implementation.
  81101. * @nodoc
  81102. */
  81103. setProperty(key, value) {
  81104. this._renderer.setProperty(this._elementRef.nativeElement, key, value);
  81105. }
  81106. /**
  81107. * Registers a function called when the control is touched.
  81108. * @nodoc
  81109. */
  81110. registerOnTouched(fn) {
  81111. this.onTouched = fn;
  81112. }
  81113. /**
  81114. * Registers a function called when the control value changes.
  81115. * @nodoc
  81116. */
  81117. registerOnChange(fn) {
  81118. this.onChange = fn;
  81119. }
  81120. /**
  81121. * Sets the "disabled" property on the range input element.
  81122. * @nodoc
  81123. */
  81124. setDisabledState(isDisabled) {
  81125. this.setProperty('disabled', isDisabled);
  81126. }
  81127. }
  81128. BaseControlValueAccessor.ɵfac = function BaseControlValueAccessor_Factory(t) {
  81129. return new (t || BaseControlValueAccessor)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.Renderer2), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef));
  81130. };
  81131. BaseControlValueAccessor.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  81132. type: BaseControlValueAccessor
  81133. });
  81134. (function () {
  81135. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](BaseControlValueAccessor, [{
  81136. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive
  81137. }], function () {
  81138. return [{
  81139. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Renderer2
  81140. }, {
  81141. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef
  81142. }];
  81143. }, null);
  81144. })();
  81145. /**
  81146. * Base class for all built-in ControlValueAccessor classes (except DefaultValueAccessor, which is
  81147. * used in case no other CVAs can be found). We use this class to distinguish between default CVA,
  81148. * built-in CVAs and custom CVAs, so that Forms logic can recognize built-in CVAs and treat custom
  81149. * ones with higher priority (when both built-in and custom CVAs are present).
  81150. *
  81151. * Note: this is an *internal-only* class and should not be extended or used directly in
  81152. * applications code.
  81153. */
  81154. class BuiltInControlValueAccessor extends BaseControlValueAccessor {}
  81155. BuiltInControlValueAccessor.ɵfac = /* @__PURE__ */function () {
  81156. let ɵBuiltInControlValueAccessor_BaseFactory;
  81157. return function BuiltInControlValueAccessor_Factory(t) {
  81158. return (ɵBuiltInControlValueAccessor_BaseFactory || (ɵBuiltInControlValueAccessor_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](BuiltInControlValueAccessor)))(t || BuiltInControlValueAccessor);
  81159. };
  81160. }();
  81161. BuiltInControlValueAccessor.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  81162. type: BuiltInControlValueAccessor,
  81163. features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
  81164. });
  81165. (function () {
  81166. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](BuiltInControlValueAccessor, [{
  81167. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive
  81168. }], null, null);
  81169. })();
  81170. /**
  81171. * Used to provide a `ControlValueAccessor` for form controls.
  81172. *
  81173. * See `DefaultValueAccessor` for how to implement one.
  81174. *
  81175. * @publicApi
  81176. */
  81177. const NG_VALUE_ACCESSOR = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('NgValueAccessor');
  81178. /**
  81179. * @license
  81180. * Copyright Google LLC All Rights Reserved.
  81181. *
  81182. * Use of this source code is governed by an MIT-style license that can be
  81183. * found in the LICENSE file at https://angular.io/license
  81184. */
  81185. const CHECKBOX_VALUE_ACCESSOR = {
  81186. provide: NG_VALUE_ACCESSOR,
  81187. useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => CheckboxControlValueAccessor),
  81188. multi: true
  81189. };
  81190. /**
  81191. * @description
  81192. * A `ControlValueAccessor` for writing a value and listening to changes on a checkbox input
  81193. * element.
  81194. *
  81195. * @usageNotes
  81196. *
  81197. * ### Using a checkbox with a reactive form.
  81198. *
  81199. * The following example shows how to use a checkbox with a reactive form.
  81200. *
  81201. * ```ts
  81202. * const rememberLoginControl = new FormControl();
  81203. * ```
  81204. *
  81205. * ```
  81206. * <input type="checkbox" [formControl]="rememberLoginControl">
  81207. * ```
  81208. *
  81209. * @ngModule ReactiveFormsModule
  81210. * @ngModule FormsModule
  81211. * @publicApi
  81212. */
  81213. class CheckboxControlValueAccessor extends BuiltInControlValueAccessor {
  81214. /**
  81215. * Sets the "checked" property on the input element.
  81216. * @nodoc
  81217. */
  81218. writeValue(value) {
  81219. this.setProperty('checked', value);
  81220. }
  81221. }
  81222. CheckboxControlValueAccessor.ɵfac = /* @__PURE__ */function () {
  81223. let ɵCheckboxControlValueAccessor_BaseFactory;
  81224. return function CheckboxControlValueAccessor_Factory(t) {
  81225. return (ɵCheckboxControlValueAccessor_BaseFactory || (ɵCheckboxControlValueAccessor_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](CheckboxControlValueAccessor)))(t || CheckboxControlValueAccessor);
  81226. };
  81227. }();
  81228. CheckboxControlValueAccessor.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  81229. type: CheckboxControlValueAccessor,
  81230. selectors: [["input", "type", "checkbox", "formControlName", ""], ["input", "type", "checkbox", "formControl", ""], ["input", "type", "checkbox", "ngModel", ""]],
  81231. hostBindings: function CheckboxControlValueAccessor_HostBindings(rf, ctx) {
  81232. if (rf & 1) {
  81233. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("change", function CheckboxControlValueAccessor_change_HostBindingHandler($event) {
  81234. return ctx.onChange($event.target.checked);
  81235. })("blur", function CheckboxControlValueAccessor_blur_HostBindingHandler() {
  81236. return ctx.onTouched();
  81237. });
  81238. }
  81239. },
  81240. features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([CHECKBOX_VALUE_ACCESSOR]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
  81241. });
  81242. (function () {
  81243. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CheckboxControlValueAccessor, [{
  81244. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  81245. args: [{
  81246. selector: 'input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]',
  81247. host: {
  81248. '(change)': 'onChange($event.target.checked)',
  81249. '(blur)': 'onTouched()'
  81250. },
  81251. providers: [CHECKBOX_VALUE_ACCESSOR]
  81252. }]
  81253. }], null, null);
  81254. })();
  81255. /**
  81256. * @license
  81257. * Copyright Google LLC All Rights Reserved.
  81258. *
  81259. * Use of this source code is governed by an MIT-style license that can be
  81260. * found in the LICENSE file at https://angular.io/license
  81261. */
  81262. const DEFAULT_VALUE_ACCESSOR = {
  81263. provide: NG_VALUE_ACCESSOR,
  81264. useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => DefaultValueAccessor),
  81265. multi: true
  81266. };
  81267. /**
  81268. * We must check whether the agent is Android because composition events
  81269. * behave differently between iOS and Android.
  81270. */
  81271. function _isAndroid() {
  81272. const userAgent = (0,_angular_common__WEBPACK_IMPORTED_MODULE_1__["ɵgetDOM"])() ? (0,_angular_common__WEBPACK_IMPORTED_MODULE_1__["ɵgetDOM"])().getUserAgent() : '';
  81273. return /android (\d+)/.test(userAgent.toLowerCase());
  81274. }
  81275. /**
  81276. * @description
  81277. * Provide this token to control if form directives buffer IME input until
  81278. * the "compositionend" event occurs.
  81279. * @publicApi
  81280. */
  81281. const COMPOSITION_BUFFER_MODE = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('CompositionEventMode');
  81282. /**
  81283. * The default `ControlValueAccessor` for writing a value and listening to changes on input
  81284. * elements. The accessor is used by the `FormControlDirective`, `FormControlName`, and
  81285. * `NgModel` directives.
  81286. *
  81287. * {@searchKeywords ngDefaultControl}
  81288. *
  81289. * @usageNotes
  81290. *
  81291. * ### Using the default value accessor
  81292. *
  81293. * The following example shows how to use an input element that activates the default value accessor
  81294. * (in this case, a text field).
  81295. *
  81296. * ```ts
  81297. * const firstNameControl = new FormControl();
  81298. * ```
  81299. *
  81300. * ```
  81301. * <input type="text" [formControl]="firstNameControl">
  81302. * ```
  81303. *
  81304. * This value accessor is used by default for `<input type="text">` and `<textarea>` elements, but
  81305. * you could also use it for custom components that have similar behavior and do not require special
  81306. * processing. In order to attach the default value accessor to a custom element, add the
  81307. * `ngDefaultControl` attribute as shown below.
  81308. *
  81309. * ```
  81310. * <custom-input-component ngDefaultControl [(ngModel)]="value"></custom-input-component>
  81311. * ```
  81312. *
  81313. * @ngModule ReactiveFormsModule
  81314. * @ngModule FormsModule
  81315. * @publicApi
  81316. */
  81317. class DefaultValueAccessor extends BaseControlValueAccessor {
  81318. constructor(renderer, elementRef, _compositionMode) {
  81319. super(renderer, elementRef);
  81320. this._compositionMode = _compositionMode;
  81321. /** Whether the user is creating a composition string (IME events). */
  81322. this._composing = false;
  81323. if (this._compositionMode == null) {
  81324. this._compositionMode = !_isAndroid();
  81325. }
  81326. }
  81327. /**
  81328. * Sets the "value" property on the input element.
  81329. * @nodoc
  81330. */
  81331. writeValue(value) {
  81332. const normalizedValue = value == null ? '' : value;
  81333. this.setProperty('value', normalizedValue);
  81334. }
  81335. /** @internal */
  81336. _handleInput(value) {
  81337. if (!this._compositionMode || this._compositionMode && !this._composing) {
  81338. this.onChange(value);
  81339. }
  81340. }
  81341. /** @internal */
  81342. _compositionStart() {
  81343. this._composing = true;
  81344. }
  81345. /** @internal */
  81346. _compositionEnd(value) {
  81347. this._composing = false;
  81348. this._compositionMode && this.onChange(value);
  81349. }
  81350. }
  81351. DefaultValueAccessor.ɵfac = function DefaultValueAccessor_Factory(t) {
  81352. return new (t || DefaultValueAccessor)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.Renderer2), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](COMPOSITION_BUFFER_MODE, 8));
  81353. };
  81354. DefaultValueAccessor.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  81355. type: DefaultValueAccessor,
  81356. selectors: [["input", "formControlName", "", 3, "type", "checkbox"], ["textarea", "formControlName", ""], ["input", "formControl", "", 3, "type", "checkbox"], ["textarea", "formControl", ""], ["input", "ngModel", "", 3, "type", "checkbox"], ["textarea", "ngModel", ""], ["", "ngDefaultControl", ""]],
  81357. hostBindings: function DefaultValueAccessor_HostBindings(rf, ctx) {
  81358. if (rf & 1) {
  81359. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("input", function DefaultValueAccessor_input_HostBindingHandler($event) {
  81360. return ctx._handleInput($event.target.value);
  81361. })("blur", function DefaultValueAccessor_blur_HostBindingHandler() {
  81362. return ctx.onTouched();
  81363. })("compositionstart", function DefaultValueAccessor_compositionstart_HostBindingHandler() {
  81364. return ctx._compositionStart();
  81365. })("compositionend", function DefaultValueAccessor_compositionend_HostBindingHandler($event) {
  81366. return ctx._compositionEnd($event.target.value);
  81367. });
  81368. }
  81369. },
  81370. features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([DEFAULT_VALUE_ACCESSOR]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
  81371. });
  81372. (function () {
  81373. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](DefaultValueAccessor, [{
  81374. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  81375. args: [{
  81376. selector: 'input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]',
  81377. // TODO: vsavkin replace the above selector with the one below it once
  81378. // https://github.com/angular/angular/issues/3011 is implemented
  81379. // selector: '[ngModel],[formControl],[formControlName]',
  81380. host: {
  81381. '(input)': '$any(this)._handleInput($event.target.value)',
  81382. '(blur)': 'onTouched()',
  81383. '(compositionstart)': '$any(this)._compositionStart()',
  81384. '(compositionend)': '$any(this)._compositionEnd($event.target.value)'
  81385. },
  81386. providers: [DEFAULT_VALUE_ACCESSOR]
  81387. }]
  81388. }], function () {
  81389. return [{
  81390. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Renderer2
  81391. }, {
  81392. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef
  81393. }, {
  81394. type: undefined,
  81395. decorators: [{
  81396. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  81397. }, {
  81398. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
  81399. args: [COMPOSITION_BUFFER_MODE]
  81400. }]
  81401. }];
  81402. }, null);
  81403. })();
  81404. /**
  81405. * @license
  81406. * Copyright Google LLC All Rights Reserved.
  81407. *
  81408. * Use of this source code is governed by an MIT-style license that can be
  81409. * found in the LICENSE file at https://angular.io/license
  81410. */
  81411. const NG_DEV_MODE$1 = typeof ngDevMode === 'undefined' || !!ngDevMode;
  81412. function isEmptyInputValue(value) {
  81413. /**
  81414. * Check if the object is a string or array before evaluating the length attribute.
  81415. * This avoids falsely rejecting objects that contain a custom length attribute.
  81416. * For example, the object {id: 1, length: 0, width: 0} should not be returned as empty.
  81417. */
  81418. return value == null || (typeof value === 'string' || Array.isArray(value)) && value.length === 0;
  81419. }
  81420. function hasValidLength(value) {
  81421. // non-strict comparison is intentional, to check for both `null` and `undefined` values
  81422. return value != null && typeof value.length === 'number';
  81423. }
  81424. /**
  81425. * @description
  81426. * An `InjectionToken` for registering additional synchronous validators used with
  81427. * `AbstractControl`s.
  81428. *
  81429. * @see `NG_ASYNC_VALIDATORS`
  81430. *
  81431. * @usageNotes
  81432. *
  81433. * ### Providing a custom validator
  81434. *
  81435. * The following example registers a custom validator directive. Adding the validator to the
  81436. * existing collection of validators requires the `multi: true` option.
  81437. *
  81438. * ```typescript
  81439. * @Directive({
  81440. * selector: '[customValidator]',
  81441. * providers: [{provide: NG_VALIDATORS, useExisting: CustomValidatorDirective, multi: true}]
  81442. * })
  81443. * class CustomValidatorDirective implements Validator {
  81444. * validate(control: AbstractControl): ValidationErrors | null {
  81445. * return { 'custom': true };
  81446. * }
  81447. * }
  81448. * ```
  81449. *
  81450. * @publicApi
  81451. */
  81452. const NG_VALIDATORS = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('NgValidators');
  81453. /**
  81454. * @description
  81455. * An `InjectionToken` for registering additional asynchronous validators used with
  81456. * `AbstractControl`s.
  81457. *
  81458. * @see `NG_VALIDATORS`
  81459. *
  81460. * @usageNotes
  81461. *
  81462. * ### Provide a custom async validator directive
  81463. *
  81464. * The following example implements the `AsyncValidator` interface to create an
  81465. * async validator directive with a custom error key.
  81466. *
  81467. * ```typescript
  81468. * @Directive({
  81469. * selector: '[customAsyncValidator]',
  81470. * providers: [{provide: NG_ASYNC_VALIDATORS, useExisting: CustomAsyncValidatorDirective, multi:
  81471. * true}]
  81472. * })
  81473. * class CustomAsyncValidatorDirective implements AsyncValidator {
  81474. * validate(control: AbstractControl): Promise<ValidationErrors|null> {
  81475. * return Promise.resolve({'custom': true});
  81476. * }
  81477. * }
  81478. * ```
  81479. *
  81480. * @publicApi
  81481. */
  81482. const NG_ASYNC_VALIDATORS = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('NgAsyncValidators');
  81483. /**
  81484. * A regular expression that matches valid e-mail addresses.
  81485. *
  81486. * At a high level, this regexp matches e-mail addresses of the format `local-part@tld`, where:
  81487. * - `local-part` consists of one or more of the allowed characters (alphanumeric and some
  81488. * punctuation symbols).
  81489. * - `local-part` cannot begin or end with a period (`.`).
  81490. * - `local-part` cannot be longer than 64 characters.
  81491. * - `tld` consists of one or more `labels` separated by periods (`.`). For example `localhost` or
  81492. * `foo.com`.
  81493. * - A `label` consists of one or more of the allowed characters (alphanumeric, dashes (`-`) and
  81494. * periods (`.`)).
  81495. * - A `label` cannot begin or end with a dash (`-`) or a period (`.`).
  81496. * - A `label` cannot be longer than 63 characters.
  81497. * - The whole address cannot be longer than 254 characters.
  81498. *
  81499. * ## Implementation background
  81500. *
  81501. * This regexp was ported over from AngularJS (see there for git history):
  81502. * https://github.com/angular/angular.js/blob/c133ef836/src/ng/directive/input.js#L27
  81503. * It is based on the
  81504. * [WHATWG version](https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address) with
  81505. * some enhancements to incorporate more RFC rules (such as rules related to domain names and the
  81506. * lengths of different parts of the address). The main differences from the WHATWG version are:
  81507. * - Disallow `local-part` to begin or end with a period (`.`).
  81508. * - Disallow `local-part` length to exceed 64 characters.
  81509. * - Disallow total address length to exceed 254 characters.
  81510. *
  81511. * See [this commit](https://github.com/angular/angular.js/commit/f3f5cf72e) for more details.
  81512. */
  81513. const EMAIL_REGEXP = /^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;
  81514. /**
  81515. * @description
  81516. * Provides a set of built-in validators that can be used by form controls.
  81517. *
  81518. * A validator is a function that processes a `FormControl` or collection of
  81519. * controls and returns an error map or null. A null map means that validation has passed.
  81520. *
  81521. * @see [Form Validation](/guide/form-validation)
  81522. *
  81523. * @publicApi
  81524. */
  81525. class Validators {
  81526. /**
  81527. * @description
  81528. * Validator that requires the control's value to be greater than or equal to the provided number.
  81529. *
  81530. * @usageNotes
  81531. *
  81532. * ### Validate against a minimum of 3
  81533. *
  81534. * ```typescript
  81535. * const control = new FormControl(2, Validators.min(3));
  81536. *
  81537. * console.log(control.errors); // {min: {min: 3, actual: 2}}
  81538. * ```
  81539. *
  81540. * @returns A validator function that returns an error map with the
  81541. * `min` property if the validation check fails, otherwise `null`.
  81542. *
  81543. * @see `updateValueAndValidity()`
  81544. *
  81545. */
  81546. static min(min) {
  81547. return minValidator(min);
  81548. }
  81549. /**
  81550. * @description
  81551. * Validator that requires the control's value to be less than or equal to the provided number.
  81552. *
  81553. * @usageNotes
  81554. *
  81555. * ### Validate against a maximum of 15
  81556. *
  81557. * ```typescript
  81558. * const control = new FormControl(16, Validators.max(15));
  81559. *
  81560. * console.log(control.errors); // {max: {max: 15, actual: 16}}
  81561. * ```
  81562. *
  81563. * @returns A validator function that returns an error map with the
  81564. * `max` property if the validation check fails, otherwise `null`.
  81565. *
  81566. * @see `updateValueAndValidity()`
  81567. *
  81568. */
  81569. static max(max) {
  81570. return maxValidator(max);
  81571. }
  81572. /**
  81573. * @description
  81574. * Validator that requires the control have a non-empty value.
  81575. *
  81576. * @usageNotes
  81577. *
  81578. * ### Validate that the field is non-empty
  81579. *
  81580. * ```typescript
  81581. * const control = new FormControl('', Validators.required);
  81582. *
  81583. * console.log(control.errors); // {required: true}
  81584. * ```
  81585. *
  81586. * @returns An error map with the `required` property
  81587. * if the validation check fails, otherwise `null`.
  81588. *
  81589. * @see `updateValueAndValidity()`
  81590. *
  81591. */
  81592. static required(control) {
  81593. return requiredValidator(control);
  81594. }
  81595. /**
  81596. * @description
  81597. * Validator that requires the control's value be true. This validator is commonly
  81598. * used for required checkboxes.
  81599. *
  81600. * @usageNotes
  81601. *
  81602. * ### Validate that the field value is true
  81603. *
  81604. * ```typescript
  81605. * const control = new FormControl('some value', Validators.requiredTrue);
  81606. *
  81607. * console.log(control.errors); // {required: true}
  81608. * ```
  81609. *
  81610. * @returns An error map that contains the `required` property
  81611. * set to `true` if the validation check fails, otherwise `null`.
  81612. *
  81613. * @see `updateValueAndValidity()`
  81614. *
  81615. */
  81616. static requiredTrue(control) {
  81617. return requiredTrueValidator(control);
  81618. }
  81619. /**
  81620. * @description
  81621. * Validator that requires the control's value pass an email validation test.
  81622. *
  81623. * Tests the value using a [regular
  81624. * expression](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions)
  81625. * pattern suitable for common use cases. The pattern is based on the definition of a valid email
  81626. * address in the [WHATWG HTML
  81627. * specification](https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address) with
  81628. * some enhancements to incorporate more RFC rules (such as rules related to domain names and the
  81629. * lengths of different parts of the address).
  81630. *
  81631. * The differences from the WHATWG version include:
  81632. * - Disallow `local-part` (the part before the `@` symbol) to begin or end with a period (`.`).
  81633. * - Disallow `local-part` to be longer than 64 characters.
  81634. * - Disallow the whole address to be longer than 254 characters.
  81635. *
  81636. * If this pattern does not satisfy your business needs, you can use `Validators.pattern()` to
  81637. * validate the value against a different pattern.
  81638. *
  81639. * @usageNotes
  81640. *
  81641. * ### Validate that the field matches a valid email pattern
  81642. *
  81643. * ```typescript
  81644. * const control = new FormControl('bad@', Validators.email);
  81645. *
  81646. * console.log(control.errors); // {email: true}
  81647. * ```
  81648. *
  81649. * @returns An error map with the `email` property
  81650. * if the validation check fails, otherwise `null`.
  81651. *
  81652. * @see `updateValueAndValidity()`
  81653. *
  81654. */
  81655. static email(control) {
  81656. return emailValidator(control);
  81657. }
  81658. /**
  81659. * @description
  81660. * Validator that requires the length of the control's value to be greater than or equal
  81661. * to the provided minimum length. This validator is also provided by default if you use the
  81662. * the HTML5 `minlength` attribute. Note that the `minLength` validator is intended to be used
  81663. * only for types that have a numeric `length` property, such as strings or arrays. The
  81664. * `minLength` validator logic is also not invoked for values when their `length` property is 0
  81665. * (for example in case of an empty string or an empty array), to support optional controls. You
  81666. * can use the standard `required` validator if empty values should not be considered valid.
  81667. *
  81668. * @usageNotes
  81669. *
  81670. * ### Validate that the field has a minimum of 3 characters
  81671. *
  81672. * ```typescript
  81673. * const control = new FormControl('ng', Validators.minLength(3));
  81674. *
  81675. * console.log(control.errors); // {minlength: {requiredLength: 3, actualLength: 2}}
  81676. * ```
  81677. *
  81678. * ```html
  81679. * <input minlength="5">
  81680. * ```
  81681. *
  81682. * @returns A validator function that returns an error map with the
  81683. * `minlength` property if the validation check fails, otherwise `null`.
  81684. *
  81685. * @see `updateValueAndValidity()`
  81686. *
  81687. */
  81688. static minLength(minLength) {
  81689. return minLengthValidator(minLength);
  81690. }
  81691. /**
  81692. * @description
  81693. * Validator that requires the length of the control's value to be less than or equal
  81694. * to the provided maximum length. This validator is also provided by default if you use the
  81695. * the HTML5 `maxlength` attribute. Note that the `maxLength` validator is intended to be used
  81696. * only for types that have a numeric `length` property, such as strings or arrays.
  81697. *
  81698. * @usageNotes
  81699. *
  81700. * ### Validate that the field has maximum of 5 characters
  81701. *
  81702. * ```typescript
  81703. * const control = new FormControl('Angular', Validators.maxLength(5));
  81704. *
  81705. * console.log(control.errors); // {maxlength: {requiredLength: 5, actualLength: 7}}
  81706. * ```
  81707. *
  81708. * ```html
  81709. * <input maxlength="5">
  81710. * ```
  81711. *
  81712. * @returns A validator function that returns an error map with the
  81713. * `maxlength` property if the validation check fails, otherwise `null`.
  81714. *
  81715. * @see `updateValueAndValidity()`
  81716. *
  81717. */
  81718. static maxLength(maxLength) {
  81719. return maxLengthValidator(maxLength);
  81720. }
  81721. /**
  81722. * @description
  81723. * Validator that requires the control's value to match a regex pattern. This validator is also
  81724. * provided by default if you use the HTML5 `pattern` attribute.
  81725. *
  81726. * @usageNotes
  81727. *
  81728. * ### Validate that the field only contains letters or spaces
  81729. *
  81730. * ```typescript
  81731. * const control = new FormControl('1', Validators.pattern('[a-zA-Z ]*'));
  81732. *
  81733. * console.log(control.errors); // {pattern: {requiredPattern: '^[a-zA-Z ]*$', actualValue: '1'}}
  81734. * ```
  81735. *
  81736. * ```html
  81737. * <input pattern="[a-zA-Z ]*">
  81738. * ```
  81739. *
  81740. * ### Pattern matching with the global or sticky flag
  81741. *
  81742. * `RegExp` objects created with the `g` or `y` flags that are passed into `Validators.pattern`
  81743. * can produce different results on the same input when validations are run consecutively. This is
  81744. * due to how the behavior of `RegExp.prototype.test` is
  81745. * specified in [ECMA-262](https://tc39.es/ecma262/#sec-regexpbuiltinexec)
  81746. * (`RegExp` preserves the index of the last match when the global or sticky flag is used).
  81747. * Due to this behavior, it is recommended that when using
  81748. * `Validators.pattern` you **do not** pass in a `RegExp` object with either the global or sticky
  81749. * flag enabled.
  81750. *
  81751. * ```typescript
  81752. * // Not recommended (since the `g` flag is used)
  81753. * const controlOne = new FormControl('1', Validators.pattern(/foo/g));
  81754. *
  81755. * // Good
  81756. * const controlTwo = new FormControl('1', Validators.pattern(/foo/));
  81757. * ```
  81758. *
  81759. * @param pattern A regular expression to be used as is to test the values, or a string.
  81760. * If a string is passed, the `^` character is prepended and the `$` character is
  81761. * appended to the provided string (if not already present), and the resulting regular
  81762. * expression is used to test the values.
  81763. *
  81764. * @returns A validator function that returns an error map with the
  81765. * `pattern` property if the validation check fails, otherwise `null`.
  81766. *
  81767. * @see `updateValueAndValidity()`
  81768. *
  81769. */
  81770. static pattern(pattern) {
  81771. return patternValidator(pattern);
  81772. }
  81773. /**
  81774. * @description
  81775. * Validator that performs no operation.
  81776. *
  81777. * @see `updateValueAndValidity()`
  81778. *
  81779. */
  81780. static nullValidator(control) {
  81781. return nullValidator(control);
  81782. }
  81783. static compose(validators) {
  81784. return compose(validators);
  81785. }
  81786. /**
  81787. * @description
  81788. * Compose multiple async validators into a single function that returns the union
  81789. * of the individual error objects for the provided control.
  81790. *
  81791. * @returns A validator function that returns an error map with the
  81792. * merged error objects of the async validators if the validation check fails, otherwise `null`.
  81793. *
  81794. * @see `updateValueAndValidity()`
  81795. *
  81796. */
  81797. static composeAsync(validators) {
  81798. return composeAsync(validators);
  81799. }
  81800. }
  81801. /**
  81802. * Validator that requires the control's value to be greater than or equal to the provided number.
  81803. * See `Validators.min` for additional information.
  81804. */
  81805. function minValidator(min) {
  81806. return control => {
  81807. if (isEmptyInputValue(control.value) || isEmptyInputValue(min)) {
  81808. return null; // don't validate empty values to allow optional controls
  81809. }
  81810. const value = parseFloat(control.value); // Controls with NaN values after parsing should be treated as not having a
  81811. // minimum, per the HTML forms spec: https://www.w3.org/TR/html5/forms.html#attr-input-min
  81812. return !isNaN(value) && value < min ? {
  81813. 'min': {
  81814. 'min': min,
  81815. 'actual': control.value
  81816. }
  81817. } : null;
  81818. };
  81819. }
  81820. /**
  81821. * Validator that requires the control's value to be less than or equal to the provided number.
  81822. * See `Validators.max` for additional information.
  81823. */
  81824. function maxValidator(max) {
  81825. return control => {
  81826. if (isEmptyInputValue(control.value) || isEmptyInputValue(max)) {
  81827. return null; // don't validate empty values to allow optional controls
  81828. }
  81829. const value = parseFloat(control.value); // Controls with NaN values after parsing should be treated as not having a
  81830. // maximum, per the HTML forms spec: https://www.w3.org/TR/html5/forms.html#attr-input-max
  81831. return !isNaN(value) && value > max ? {
  81832. 'max': {
  81833. 'max': max,
  81834. 'actual': control.value
  81835. }
  81836. } : null;
  81837. };
  81838. }
  81839. /**
  81840. * Validator that requires the control have a non-empty value.
  81841. * See `Validators.required` for additional information.
  81842. */
  81843. function requiredValidator(control) {
  81844. return isEmptyInputValue(control.value) ? {
  81845. 'required': true
  81846. } : null;
  81847. }
  81848. /**
  81849. * Validator that requires the control's value be true. This validator is commonly
  81850. * used for required checkboxes.
  81851. * See `Validators.requiredTrue` for additional information.
  81852. */
  81853. function requiredTrueValidator(control) {
  81854. return control.value === true ? null : {
  81855. 'required': true
  81856. };
  81857. }
  81858. /**
  81859. * Validator that requires the control's value pass an email validation test.
  81860. * See `Validators.email` for additional information.
  81861. */
  81862. function emailValidator(control) {
  81863. if (isEmptyInputValue(control.value)) {
  81864. return null; // don't validate empty values to allow optional controls
  81865. }
  81866. return EMAIL_REGEXP.test(control.value) ? null : {
  81867. 'email': true
  81868. };
  81869. }
  81870. /**
  81871. * Validator that requires the length of the control's value to be greater than or equal
  81872. * to the provided minimum length. See `Validators.minLength` for additional information.
  81873. */
  81874. function minLengthValidator(minLength) {
  81875. return control => {
  81876. if (isEmptyInputValue(control.value) || !hasValidLength(control.value)) {
  81877. // don't validate empty values to allow optional controls
  81878. // don't validate values without `length` property
  81879. return null;
  81880. }
  81881. return control.value.length < minLength ? {
  81882. 'minlength': {
  81883. 'requiredLength': minLength,
  81884. 'actualLength': control.value.length
  81885. }
  81886. } : null;
  81887. };
  81888. }
  81889. /**
  81890. * Validator that requires the length of the control's value to be less than or equal
  81891. * to the provided maximum length. See `Validators.maxLength` for additional information.
  81892. */
  81893. function maxLengthValidator(maxLength) {
  81894. return control => {
  81895. return hasValidLength(control.value) && control.value.length > maxLength ? {
  81896. 'maxlength': {
  81897. 'requiredLength': maxLength,
  81898. 'actualLength': control.value.length
  81899. }
  81900. } : null;
  81901. };
  81902. }
  81903. /**
  81904. * Validator that requires the control's value to match a regex pattern.
  81905. * See `Validators.pattern` for additional information.
  81906. */
  81907. function patternValidator(pattern) {
  81908. if (!pattern) return nullValidator;
  81909. let regex;
  81910. let regexStr;
  81911. if (typeof pattern === 'string') {
  81912. regexStr = '';
  81913. if (pattern.charAt(0) !== '^') regexStr += '^';
  81914. regexStr += pattern;
  81915. if (pattern.charAt(pattern.length - 1) !== '$') regexStr += '$';
  81916. regex = new RegExp(regexStr);
  81917. } else {
  81918. regexStr = pattern.toString();
  81919. regex = pattern;
  81920. }
  81921. return control => {
  81922. if (isEmptyInputValue(control.value)) {
  81923. return null; // don't validate empty values to allow optional controls
  81924. }
  81925. const value = control.value;
  81926. return regex.test(value) ? null : {
  81927. 'pattern': {
  81928. 'requiredPattern': regexStr,
  81929. 'actualValue': value
  81930. }
  81931. };
  81932. };
  81933. }
  81934. /**
  81935. * Function that has `ValidatorFn` shape, but performs no operation.
  81936. */
  81937. function nullValidator(control) {
  81938. return null;
  81939. }
  81940. function isPresent(o) {
  81941. return o != null;
  81942. }
  81943. function toObservable(value) {
  81944. const obs = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵisPromise"])(value) ? (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.from)(value) : value;
  81945. if (NG_DEV_MODE$1 && !(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵisObservable"])(obs)) {
  81946. let errorMessage = `Expected async validator to return Promise or Observable.`; // A synchronous validator will return object or null.
  81947. if (typeof value === 'object') {
  81948. errorMessage += ' Are you using a synchronous validator where an async validator is expected?';
  81949. }
  81950. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](-1101
  81951. /* RuntimeErrorCode.WRONG_VALIDATOR_RETURN_TYPE */
  81952. , errorMessage);
  81953. }
  81954. return obs;
  81955. }
  81956. function mergeErrors(arrayOfErrors) {
  81957. let res = {}; // Not using Array.reduce here due to a Chrome 80 bug
  81958. // https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
  81959. arrayOfErrors.forEach(errors => {
  81960. res = errors != null ? Object.assign(Object.assign({}, res), errors) : res;
  81961. });
  81962. return Object.keys(res).length === 0 ? null : res;
  81963. }
  81964. function executeValidators(control, validators) {
  81965. return validators.map(validator => validator(control));
  81966. }
  81967. function isValidatorFn(validator) {
  81968. return !validator.validate;
  81969. }
  81970. /**
  81971. * Given the list of validators that may contain both functions as well as classes, return the list
  81972. * of validator functions (convert validator classes into validator functions). This is needed to
  81973. * have consistent structure in validators list before composing them.
  81974. *
  81975. * @param validators The set of validators that may contain validators both in plain function form
  81976. * as well as represented as a validator class.
  81977. */
  81978. function normalizeValidators(validators) {
  81979. return validators.map(validator => {
  81980. return isValidatorFn(validator) ? validator : c => validator.validate(c);
  81981. });
  81982. }
  81983. /**
  81984. * Merges synchronous validators into a single validator function.
  81985. * See `Validators.compose` for additional information.
  81986. */
  81987. function compose(validators) {
  81988. if (!validators) return null;
  81989. const presentValidators = validators.filter(isPresent);
  81990. if (presentValidators.length == 0) return null;
  81991. return function (control) {
  81992. return mergeErrors(executeValidators(control, presentValidators));
  81993. };
  81994. }
  81995. /**
  81996. * Accepts a list of validators of different possible shapes (`Validator` and `ValidatorFn`),
  81997. * normalizes the list (converts everything to `ValidatorFn`) and merges them into a single
  81998. * validator function.
  81999. */
  82000. function composeValidators(validators) {
  82001. return validators != null ? compose(normalizeValidators(validators)) : null;
  82002. }
  82003. /**
  82004. * Merges asynchronous validators into a single validator function.
  82005. * See `Validators.composeAsync` for additional information.
  82006. */
  82007. function composeAsync(validators) {
  82008. if (!validators) return null;
  82009. const presentValidators = validators.filter(isPresent);
  82010. if (presentValidators.length == 0) return null;
  82011. return function (control) {
  82012. const observables = executeValidators(control, presentValidators).map(toObservable);
  82013. return (0,rxjs__WEBPACK_IMPORTED_MODULE_3__.forkJoin)(observables).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(mergeErrors));
  82014. };
  82015. }
  82016. /**
  82017. * Accepts a list of async validators of different possible shapes (`AsyncValidator` and
  82018. * `AsyncValidatorFn`), normalizes the list (converts everything to `AsyncValidatorFn`) and merges
  82019. * them into a single validator function.
  82020. */
  82021. function composeAsyncValidators(validators) {
  82022. return validators != null ? composeAsync(normalizeValidators(validators)) : null;
  82023. }
  82024. /**
  82025. * Merges raw control validators with a given directive validator and returns the combined list of
  82026. * validators as an array.
  82027. */
  82028. function mergeValidators(controlValidators, dirValidator) {
  82029. if (controlValidators === null) return [dirValidator];
  82030. return Array.isArray(controlValidators) ? [...controlValidators, dirValidator] : [controlValidators, dirValidator];
  82031. }
  82032. /**
  82033. * Retrieves the list of raw synchronous validators attached to a given control.
  82034. */
  82035. function getControlValidators(control) {
  82036. return control._rawValidators;
  82037. }
  82038. /**
  82039. * Retrieves the list of raw asynchronous validators attached to a given control.
  82040. */
  82041. function getControlAsyncValidators(control) {
  82042. return control._rawAsyncValidators;
  82043. }
  82044. /**
  82045. * Accepts a singleton validator, an array, or null, and returns an array type with the provided
  82046. * validators.
  82047. *
  82048. * @param validators A validator, validators, or null.
  82049. * @returns A validators array.
  82050. */
  82051. function makeValidatorsArray(validators) {
  82052. if (!validators) return [];
  82053. return Array.isArray(validators) ? validators : [validators];
  82054. }
  82055. /**
  82056. * Determines whether a validator or validators array has a given validator.
  82057. *
  82058. * @param validators The validator or validators to compare against.
  82059. * @param validator The validator to check.
  82060. * @returns Whether the validator is present.
  82061. */
  82062. function hasValidator(validators, validator) {
  82063. return Array.isArray(validators) ? validators.includes(validator) : validators === validator;
  82064. }
  82065. /**
  82066. * Combines two arrays of validators into one. If duplicates are provided, only one will be added.
  82067. *
  82068. * @param validators The new validators.
  82069. * @param currentValidators The base array of current validators.
  82070. * @returns An array of validators.
  82071. */
  82072. function addValidators(validators, currentValidators) {
  82073. const current = makeValidatorsArray(currentValidators);
  82074. const validatorsToAdd = makeValidatorsArray(validators);
  82075. validatorsToAdd.forEach(v => {
  82076. // Note: if there are duplicate entries in the new validators array,
  82077. // only the first one would be added to the current list of validators.
  82078. // Duplicate ones would be ignored since `hasValidator` would detect
  82079. // the presence of a validator function and we update the current list in place.
  82080. if (!hasValidator(current, v)) {
  82081. current.push(v);
  82082. }
  82083. });
  82084. return current;
  82085. }
  82086. function removeValidators(validators, currentValidators) {
  82087. return makeValidatorsArray(currentValidators).filter(v => !hasValidator(validators, v));
  82088. }
  82089. /**
  82090. * @license
  82091. * Copyright Google LLC All Rights Reserved.
  82092. *
  82093. * Use of this source code is governed by an MIT-style license that can be
  82094. * found in the LICENSE file at https://angular.io/license
  82095. */
  82096. /**
  82097. * @description
  82098. * Base class for control directives.
  82099. *
  82100. * This class is only used internally in the `ReactiveFormsModule` and the `FormsModule`.
  82101. *
  82102. * @publicApi
  82103. */
  82104. class AbstractControlDirective {
  82105. constructor() {
  82106. /**
  82107. * Set of synchronous validators as they were provided while calling `setValidators` function.
  82108. * @internal
  82109. */
  82110. this._rawValidators = [];
  82111. /**
  82112. * Set of asynchronous validators as they were provided while calling `setAsyncValidators`
  82113. * function.
  82114. * @internal
  82115. */
  82116. this._rawAsyncValidators = [];
  82117. /*
  82118. * The set of callbacks to be invoked when directive instance is being destroyed.
  82119. */
  82120. this._onDestroyCallbacks = [];
  82121. }
  82122. /**
  82123. * @description
  82124. * Reports the value of the control if it is present, otherwise null.
  82125. */
  82126. get value() {
  82127. return this.control ? this.control.value : null;
  82128. }
  82129. /**
  82130. * @description
  82131. * Reports whether the control is valid. A control is considered valid if no
  82132. * validation errors exist with the current value.
  82133. * If the control is not present, null is returned.
  82134. */
  82135. get valid() {
  82136. return this.control ? this.control.valid : null;
  82137. }
  82138. /**
  82139. * @description
  82140. * Reports whether the control is invalid, meaning that an error exists in the input value.
  82141. * If the control is not present, null is returned.
  82142. */
  82143. get invalid() {
  82144. return this.control ? this.control.invalid : null;
  82145. }
  82146. /**
  82147. * @description
  82148. * Reports whether a control is pending, meaning that that async validation is occurring and
  82149. * errors are not yet available for the input value. If the control is not present, null is
  82150. * returned.
  82151. */
  82152. get pending() {
  82153. return this.control ? this.control.pending : null;
  82154. }
  82155. /**
  82156. * @description
  82157. * Reports whether the control is disabled, meaning that the control is disabled
  82158. * in the UI and is exempt from validation checks and excluded from aggregate
  82159. * values of ancestor controls. If the control is not present, null is returned.
  82160. */
  82161. get disabled() {
  82162. return this.control ? this.control.disabled : null;
  82163. }
  82164. /**
  82165. * @description
  82166. * Reports whether the control is enabled, meaning that the control is included in ancestor
  82167. * calculations of validity or value. If the control is not present, null is returned.
  82168. */
  82169. get enabled() {
  82170. return this.control ? this.control.enabled : null;
  82171. }
  82172. /**
  82173. * @description
  82174. * Reports the control's validation errors. If the control is not present, null is returned.
  82175. */
  82176. get errors() {
  82177. return this.control ? this.control.errors : null;
  82178. }
  82179. /**
  82180. * @description
  82181. * Reports whether the control is pristine, meaning that the user has not yet changed
  82182. * the value in the UI. If the control is not present, null is returned.
  82183. */
  82184. get pristine() {
  82185. return this.control ? this.control.pristine : null;
  82186. }
  82187. /**
  82188. * @description
  82189. * Reports whether the control is dirty, meaning that the user has changed
  82190. * the value in the UI. If the control is not present, null is returned.
  82191. */
  82192. get dirty() {
  82193. return this.control ? this.control.dirty : null;
  82194. }
  82195. /**
  82196. * @description
  82197. * Reports whether the control is touched, meaning that the user has triggered
  82198. * a `blur` event on it. If the control is not present, null is returned.
  82199. */
  82200. get touched() {
  82201. return this.control ? this.control.touched : null;
  82202. }
  82203. /**
  82204. * @description
  82205. * Reports the validation status of the control. Possible values include:
  82206. * 'VALID', 'INVALID', 'DISABLED', and 'PENDING'.
  82207. * If the control is not present, null is returned.
  82208. */
  82209. get status() {
  82210. return this.control ? this.control.status : null;
  82211. }
  82212. /**
  82213. * @description
  82214. * Reports whether the control is untouched, meaning that the user has not yet triggered
  82215. * a `blur` event on it. If the control is not present, null is returned.
  82216. */
  82217. get untouched() {
  82218. return this.control ? this.control.untouched : null;
  82219. }
  82220. /**
  82221. * @description
  82222. * Returns a multicasting observable that emits a validation status whenever it is
  82223. * calculated for the control. If the control is not present, null is returned.
  82224. */
  82225. get statusChanges() {
  82226. return this.control ? this.control.statusChanges : null;
  82227. }
  82228. /**
  82229. * @description
  82230. * Returns a multicasting observable of value changes for the control that emits every time the
  82231. * value of the control changes in the UI or programmatically.
  82232. * If the control is not present, null is returned.
  82233. */
  82234. get valueChanges() {
  82235. return this.control ? this.control.valueChanges : null;
  82236. }
  82237. /**
  82238. * @description
  82239. * Returns an array that represents the path from the top-level form to this control.
  82240. * Each index is the string name of the control on that level.
  82241. */
  82242. get path() {
  82243. return null;
  82244. }
  82245. /**
  82246. * Sets synchronous validators for this directive.
  82247. * @internal
  82248. */
  82249. _setValidators(validators) {
  82250. this._rawValidators = validators || [];
  82251. this._composedValidatorFn = composeValidators(this._rawValidators);
  82252. }
  82253. /**
  82254. * Sets asynchronous validators for this directive.
  82255. * @internal
  82256. */
  82257. _setAsyncValidators(validators) {
  82258. this._rawAsyncValidators = validators || [];
  82259. this._composedAsyncValidatorFn = composeAsyncValidators(this._rawAsyncValidators);
  82260. }
  82261. /**
  82262. * @description
  82263. * Synchronous validator function composed of all the synchronous validators registered with this
  82264. * directive.
  82265. */
  82266. get validator() {
  82267. return this._composedValidatorFn || null;
  82268. }
  82269. /**
  82270. * @description
  82271. * Asynchronous validator function composed of all the asynchronous validators registered with
  82272. * this directive.
  82273. */
  82274. get asyncValidator() {
  82275. return this._composedAsyncValidatorFn || null;
  82276. }
  82277. /**
  82278. * Internal function to register callbacks that should be invoked
  82279. * when directive instance is being destroyed.
  82280. * @internal
  82281. */
  82282. _registerOnDestroy(fn) {
  82283. this._onDestroyCallbacks.push(fn);
  82284. }
  82285. /**
  82286. * Internal function to invoke all registered "on destroy" callbacks.
  82287. * Note: calling this function also clears the list of callbacks.
  82288. * @internal
  82289. */
  82290. _invokeOnDestroyCallbacks() {
  82291. this._onDestroyCallbacks.forEach(fn => fn());
  82292. this._onDestroyCallbacks = [];
  82293. }
  82294. /**
  82295. * @description
  82296. * Resets the control with the provided value if the control is present.
  82297. */
  82298. reset(value = undefined) {
  82299. if (this.control) this.control.reset(value);
  82300. }
  82301. /**
  82302. * @description
  82303. * Reports whether the control with the given path has the error specified.
  82304. *
  82305. * @param errorCode The code of the error to check
  82306. * @param path A list of control names that designates how to move from the current control
  82307. * to the control that should be queried for errors.
  82308. *
  82309. * @usageNotes
  82310. * For example, for the following `FormGroup`:
  82311. *
  82312. * ```
  82313. * form = new FormGroup({
  82314. * address: new FormGroup({ street: new FormControl() })
  82315. * });
  82316. * ```
  82317. *
  82318. * The path to the 'street' control from the root form would be 'address' -> 'street'.
  82319. *
  82320. * It can be provided to this method in one of two formats:
  82321. *
  82322. * 1. An array of string control names, e.g. `['address', 'street']`
  82323. * 1. A period-delimited list of control names in one string, e.g. `'address.street'`
  82324. *
  82325. * If no path is given, this method checks for the error on the current control.
  82326. *
  82327. * @returns whether the given error is present in the control at the given path.
  82328. *
  82329. * If the control is not present, false is returned.
  82330. */
  82331. hasError(errorCode, path) {
  82332. return this.control ? this.control.hasError(errorCode, path) : false;
  82333. }
  82334. /**
  82335. * @description
  82336. * Reports error data for the control with the given path.
  82337. *
  82338. * @param errorCode The code of the error to check
  82339. * @param path A list of control names that designates how to move from the current control
  82340. * to the control that should be queried for errors.
  82341. *
  82342. * @usageNotes
  82343. * For example, for the following `FormGroup`:
  82344. *
  82345. * ```
  82346. * form = new FormGroup({
  82347. * address: new FormGroup({ street: new FormControl() })
  82348. * });
  82349. * ```
  82350. *
  82351. * The path to the 'street' control from the root form would be 'address' -> 'street'.
  82352. *
  82353. * It can be provided to this method in one of two formats:
  82354. *
  82355. * 1. An array of string control names, e.g. `['address', 'street']`
  82356. * 1. A period-delimited list of control names in one string, e.g. `'address.street'`
  82357. *
  82358. * @returns error data for that particular error. If the control or error is not present,
  82359. * null is returned.
  82360. */
  82361. getError(errorCode, path) {
  82362. return this.control ? this.control.getError(errorCode, path) : null;
  82363. }
  82364. }
  82365. /**
  82366. * @license
  82367. * Copyright Google LLC All Rights Reserved.
  82368. *
  82369. * Use of this source code is governed by an MIT-style license that can be
  82370. * found in the LICENSE file at https://angular.io/license
  82371. */
  82372. /**
  82373. * @description
  82374. * A base class that all `FormControl`-based directives extend. It binds a `FormControl`
  82375. * object to a DOM element.
  82376. *
  82377. * @publicApi
  82378. */
  82379. class NgControl extends AbstractControlDirective {
  82380. constructor() {
  82381. super(...arguments);
  82382. /**
  82383. * @description
  82384. * The parent form for the control.
  82385. *
  82386. * @internal
  82387. */
  82388. this._parent = null;
  82389. /**
  82390. * @description
  82391. * The name for the control
  82392. */
  82393. this.name = null;
  82394. /**
  82395. * @description
  82396. * The value accessor for the control
  82397. */
  82398. this.valueAccessor = null;
  82399. }
  82400. }
  82401. /**
  82402. * @license
  82403. * Copyright Google LLC All Rights Reserved.
  82404. *
  82405. * Use of this source code is governed by an MIT-style license that can be
  82406. * found in the LICENSE file at https://angular.io/license
  82407. */
  82408. /**
  82409. * @description
  82410. * A base class for directives that contain multiple registered instances of `NgControl`.
  82411. * Only used by the forms module.
  82412. *
  82413. * @publicApi
  82414. */
  82415. class ControlContainer extends AbstractControlDirective {
  82416. /**
  82417. * @description
  82418. * The top-level form directive for the control.
  82419. */
  82420. get formDirective() {
  82421. return null;
  82422. }
  82423. /**
  82424. * @description
  82425. * The path to this group.
  82426. */
  82427. get path() {
  82428. return null;
  82429. }
  82430. }
  82431. /**
  82432. * @license
  82433. * Copyright Google LLC All Rights Reserved.
  82434. *
  82435. * Use of this source code is governed by an MIT-style license that can be
  82436. * found in the LICENSE file at https://angular.io/license
  82437. */
  82438. // DO NOT REFACTOR!
  82439. // Each status is represented by a separate function to make sure that
  82440. // advanced Closure Compiler optimizations related to property renaming
  82441. // can work correctly.
  82442. class AbstractControlStatus {
  82443. constructor(cd) {
  82444. this._cd = cd;
  82445. }
  82446. get isTouched() {
  82447. var _a, _b;
  82448. return !!((_b = (_a = this._cd) === null || _a === void 0 ? void 0 : _a.control) === null || _b === void 0 ? void 0 : _b.touched);
  82449. }
  82450. get isUntouched() {
  82451. var _a, _b;
  82452. return !!((_b = (_a = this._cd) === null || _a === void 0 ? void 0 : _a.control) === null || _b === void 0 ? void 0 : _b.untouched);
  82453. }
  82454. get isPristine() {
  82455. var _a, _b;
  82456. return !!((_b = (_a = this._cd) === null || _a === void 0 ? void 0 : _a.control) === null || _b === void 0 ? void 0 : _b.pristine);
  82457. }
  82458. get isDirty() {
  82459. var _a, _b;
  82460. return !!((_b = (_a = this._cd) === null || _a === void 0 ? void 0 : _a.control) === null || _b === void 0 ? void 0 : _b.dirty);
  82461. }
  82462. get isValid() {
  82463. var _a, _b;
  82464. return !!((_b = (_a = this._cd) === null || _a === void 0 ? void 0 : _a.control) === null || _b === void 0 ? void 0 : _b.valid);
  82465. }
  82466. get isInvalid() {
  82467. var _a, _b;
  82468. return !!((_b = (_a = this._cd) === null || _a === void 0 ? void 0 : _a.control) === null || _b === void 0 ? void 0 : _b.invalid);
  82469. }
  82470. get isPending() {
  82471. var _a, _b;
  82472. return !!((_b = (_a = this._cd) === null || _a === void 0 ? void 0 : _a.control) === null || _b === void 0 ? void 0 : _b.pending);
  82473. }
  82474. get isSubmitted() {
  82475. var _a; // We check for the `submitted` field from `NgForm` and `FormGroupDirective` classes, but
  82476. // we avoid instanceof checks to prevent non-tree-shakable references to those types.
  82477. return !!((_a = this._cd) === null || _a === void 0 ? void 0 : _a.submitted);
  82478. }
  82479. }
  82480. const ngControlStatusHost = {
  82481. '[class.ng-untouched]': 'isUntouched',
  82482. '[class.ng-touched]': 'isTouched',
  82483. '[class.ng-pristine]': 'isPristine',
  82484. '[class.ng-dirty]': 'isDirty',
  82485. '[class.ng-valid]': 'isValid',
  82486. '[class.ng-invalid]': 'isInvalid',
  82487. '[class.ng-pending]': 'isPending'
  82488. };
  82489. const ngGroupStatusHost = Object.assign(Object.assign({}, ngControlStatusHost), {
  82490. '[class.ng-submitted]': 'isSubmitted'
  82491. });
  82492. /**
  82493. * @description
  82494. * Directive automatically applied to Angular form controls that sets CSS classes
  82495. * based on control status.
  82496. *
  82497. * @usageNotes
  82498. *
  82499. * ### CSS classes applied
  82500. *
  82501. * The following classes are applied as the properties become true:
  82502. *
  82503. * * ng-valid
  82504. * * ng-invalid
  82505. * * ng-pending
  82506. * * ng-pristine
  82507. * * ng-dirty
  82508. * * ng-untouched
  82509. * * ng-touched
  82510. *
  82511. * @ngModule ReactiveFormsModule
  82512. * @ngModule FormsModule
  82513. * @publicApi
  82514. */
  82515. class NgControlStatus extends AbstractControlStatus {
  82516. constructor(cd) {
  82517. super(cd);
  82518. }
  82519. }
  82520. NgControlStatus.ɵfac = function NgControlStatus_Factory(t) {
  82521. return new (t || NgControlStatus)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NgControl, 2));
  82522. };
  82523. NgControlStatus.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  82524. type: NgControlStatus,
  82525. selectors: [["", "formControlName", ""], ["", "ngModel", ""], ["", "formControl", ""]],
  82526. hostVars: 14,
  82527. hostBindings: function NgControlStatus_HostBindings(rf, ctx) {
  82528. if (rf & 2) {
  82529. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("ng-untouched", ctx.isUntouched)("ng-touched", ctx.isTouched)("ng-pristine", ctx.isPristine)("ng-dirty", ctx.isDirty)("ng-valid", ctx.isValid)("ng-invalid", ctx.isInvalid)("ng-pending", ctx.isPending);
  82530. }
  82531. },
  82532. features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
  82533. });
  82534. (function () {
  82535. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgControlStatus, [{
  82536. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  82537. args: [{
  82538. selector: '[formControlName],[ngModel],[formControl]',
  82539. host: ngControlStatusHost
  82540. }]
  82541. }], function () {
  82542. return [{
  82543. type: NgControl,
  82544. decorators: [{
  82545. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
  82546. }]
  82547. }];
  82548. }, null);
  82549. })();
  82550. /**
  82551. * @description
  82552. * Directive automatically applied to Angular form groups that sets CSS classes
  82553. * based on control status (valid/invalid/dirty/etc). On groups, this includes the additional
  82554. * class ng-submitted.
  82555. *
  82556. * @see `NgControlStatus`
  82557. *
  82558. * @ngModule ReactiveFormsModule
  82559. * @ngModule FormsModule
  82560. * @publicApi
  82561. */
  82562. class NgControlStatusGroup extends AbstractControlStatus {
  82563. constructor(cd) {
  82564. super(cd);
  82565. }
  82566. }
  82567. NgControlStatusGroup.ɵfac = function NgControlStatusGroup_Factory(t) {
  82568. return new (t || NgControlStatusGroup)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](ControlContainer, 10));
  82569. };
  82570. NgControlStatusGroup.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  82571. type: NgControlStatusGroup,
  82572. selectors: [["", "formGroupName", ""], ["", "formArrayName", ""], ["", "ngModelGroup", ""], ["", "formGroup", ""], ["form", 3, "ngNoForm", ""], ["", "ngForm", ""]],
  82573. hostVars: 16,
  82574. hostBindings: function NgControlStatusGroup_HostBindings(rf, ctx) {
  82575. if (rf & 2) {
  82576. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("ng-untouched", ctx.isUntouched)("ng-touched", ctx.isTouched)("ng-pristine", ctx.isPristine)("ng-dirty", ctx.isDirty)("ng-valid", ctx.isValid)("ng-invalid", ctx.isInvalid)("ng-pending", ctx.isPending)("ng-submitted", ctx.isSubmitted);
  82577. }
  82578. },
  82579. features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
  82580. });
  82581. (function () {
  82582. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgControlStatusGroup, [{
  82583. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  82584. args: [{
  82585. selector: '[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]',
  82586. host: ngGroupStatusHost
  82587. }]
  82588. }], function () {
  82589. return [{
  82590. type: ControlContainer,
  82591. decorators: [{
  82592. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  82593. }, {
  82594. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
  82595. }]
  82596. }];
  82597. }, null);
  82598. })();
  82599. /**
  82600. * @license
  82601. * Copyright Google LLC All Rights Reserved.
  82602. *
  82603. * Use of this source code is governed by an MIT-style license that can be
  82604. * found in the LICENSE file at https://angular.io/license
  82605. */
  82606. const formControlNameExample = `
  82607. <div [formGroup]="myGroup">
  82608. <input formControlName="firstName">
  82609. </div>
  82610. In your class:
  82611. this.myGroup = new FormGroup({
  82612. firstName: new FormControl()
  82613. });`;
  82614. const formGroupNameExample = `
  82615. <div [formGroup]="myGroup">
  82616. <div formGroupName="person">
  82617. <input formControlName="firstName">
  82618. </div>
  82619. </div>
  82620. In your class:
  82621. this.myGroup = new FormGroup({
  82622. person: new FormGroup({ firstName: new FormControl() })
  82623. });`;
  82624. const formArrayNameExample = `
  82625. <div [formGroup]="myGroup">
  82626. <div formArrayName="cities">
  82627. <div *ngFor="let city of cityArray.controls; index as i">
  82628. <input [formControlName]="i">
  82629. </div>
  82630. </div>
  82631. </div>
  82632. In your class:
  82633. this.cityArray = new FormArray([new FormControl('SF')]);
  82634. this.myGroup = new FormGroup({
  82635. cities: this.cityArray
  82636. });`;
  82637. const ngModelGroupExample = `
  82638. <form>
  82639. <div ngModelGroup="person">
  82640. <input [(ngModel)]="person.name" name="firstName">
  82641. </div>
  82642. </form>`;
  82643. const ngModelWithFormGroupExample = `
  82644. <div [formGroup]="myGroup">
  82645. <input formControlName="firstName">
  82646. <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">
  82647. </div>
  82648. `;
  82649. /**
  82650. * @license
  82651. * Copyright Google LLC All Rights Reserved.
  82652. *
  82653. * Use of this source code is governed by an MIT-style license that can be
  82654. * found in the LICENSE file at https://angular.io/license
  82655. */
  82656. function controlParentException() {
  82657. return new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](1050
  82658. /* RuntimeErrorCode.FORM_CONTROL_NAME_MISSING_PARENT */
  82659. , `formControlName must be used with a parent formGroup directive. You'll want to add a formGroup
  82660. directive and pass it an existing FormGroup instance (you can create one in your class).
  82661. Example:
  82662. ${formControlNameExample}`);
  82663. }
  82664. function ngModelGroupException() {
  82665. return new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](1051
  82666. /* RuntimeErrorCode.FORM_CONTROL_NAME_INSIDE_MODEL_GROUP */
  82667. , `formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents
  82668. that also have a "form" prefix: formGroupName, formArrayName, or formGroup.
  82669. Option 1: Update the parent to be formGroupName (reactive form strategy)
  82670. ${formGroupNameExample}
  82671. Option 2: Use ngModel instead of formControlName (template-driven strategy)
  82672. ${ngModelGroupExample}`);
  82673. }
  82674. function missingFormException() {
  82675. return new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](1052
  82676. /* RuntimeErrorCode.FORM_GROUP_MISSING_INSTANCE */
  82677. , `formGroup expects a FormGroup instance. Please pass one in.
  82678. Example:
  82679. ${formControlNameExample}`);
  82680. }
  82681. function groupParentException() {
  82682. return new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](1053
  82683. /* RuntimeErrorCode.FORM_GROUP_NAME_MISSING_PARENT */
  82684. , `formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup
  82685. directive and pass it an existing FormGroup instance (you can create one in your class).
  82686. Example:
  82687. ${formGroupNameExample}`);
  82688. }
  82689. function arrayParentException() {
  82690. return new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](1054
  82691. /* RuntimeErrorCode.FORM_ARRAY_NAME_MISSING_PARENT */
  82692. , `formArrayName must be used with a parent formGroup directive. You'll want to add a formGroup
  82693. directive and pass it an existing FormGroup instance (you can create one in your class).
  82694. Example:
  82695. ${formArrayNameExample}`);
  82696. }
  82697. const disabledAttrWarning = `
  82698. It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true
  82699. when you set up this control in your component class, the disabled attribute will actually be set in the DOM for
  82700. you. We recommend using this approach to avoid 'changed after checked' errors.
  82701. Example:
  82702. // Specify the \`disabled\` property at control creation time:
  82703. form = new FormGroup({
  82704. first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),
  82705. last: new FormControl('Drew', Validators.required)
  82706. });
  82707. // Controls can also be enabled/disabled after creation:
  82708. form.get('first')?.enable();
  82709. form.get('last')?.disable();
  82710. `;
  82711. const asyncValidatorsDroppedWithOptsWarning = `
  82712. It looks like you're constructing using a FormControl with both an options argument and an
  82713. async validators argument. Mixing these arguments will cause your async validators to be dropped.
  82714. You should either put all your validators in the options object, or in separate validators
  82715. arguments. For example:
  82716. // Using validators arguments
  82717. fc = new FormControl(42, Validators.required, myAsyncValidator);
  82718. // Using AbstractControlOptions
  82719. fc = new FormControl(42, {validators: Validators.required, asyncValidators: myAV});
  82720. // Do NOT mix them: async validators will be dropped!
  82721. fc = new FormControl(42, {validators: Validators.required}, /* Oops! */ myAsyncValidator);
  82722. `;
  82723. function ngModelWarning(directiveName) {
  82724. return `
  82725. It looks like you're using ngModel on the same form field as ${directiveName}.
  82726. Support for using the ngModel input property and ngModelChange event with
  82727. reactive form directives has been deprecated in Angular v6 and will be removed
  82728. in a future version of Angular.
  82729. For more information on this, see our API docs here:
  82730. https://angular.io/api/forms/${directiveName === 'formControl' ? 'FormControlDirective' : 'FormControlName'}#use-with-ngmodel
  82731. `;
  82732. }
  82733. function describeKey(isFormGroup, key) {
  82734. return isFormGroup ? `with name: '${key}'` : `at index: ${key}`;
  82735. }
  82736. function noControlsError(isFormGroup) {
  82737. return `
  82738. There are no form controls registered with this ${isFormGroup ? 'group' : 'array'} yet. If you're using ngModel,
  82739. you may want to check next tick (e.g. use setTimeout).
  82740. `;
  82741. }
  82742. function missingControlError(isFormGroup, key) {
  82743. return `Cannot find form control ${describeKey(isFormGroup, key)}`;
  82744. }
  82745. function missingControlValueError(isFormGroup, key) {
  82746. return `Must supply a value for form control ${describeKey(isFormGroup, key)}`;
  82747. }
  82748. /**
  82749. * @license
  82750. * Copyright Google LLC All Rights Reserved.
  82751. *
  82752. * Use of this source code is governed by an MIT-style license that can be
  82753. * found in the LICENSE file at https://angular.io/license
  82754. */
  82755. const NG_DEV_MODE = typeof ngDevMode === 'undefined' || !!ngDevMode;
  82756. /**
  82757. * Reports that a control is valid, meaning that no errors exist in the input value.
  82758. *
  82759. * @see `status`
  82760. */
  82761. const VALID = 'VALID';
  82762. /**
  82763. * Reports that a control is invalid, meaning that an error exists in the input value.
  82764. *
  82765. * @see `status`
  82766. */
  82767. const INVALID = 'INVALID';
  82768. /**
  82769. * Reports that a control is pending, meaning that that async validation is occurring and
  82770. * errors are not yet available for the input value.
  82771. *
  82772. * @see `markAsPending`
  82773. * @see `status`
  82774. */
  82775. const PENDING = 'PENDING';
  82776. /**
  82777. * Reports that a control is disabled, meaning that the control is exempt from ancestor
  82778. * calculations of validity or value.
  82779. *
  82780. * @see `markAsDisabled`
  82781. * @see `status`
  82782. */
  82783. const DISABLED = 'DISABLED';
  82784. /**
  82785. * Gets validators from either an options object or given validators.
  82786. */
  82787. function pickValidators(validatorOrOpts) {
  82788. return (isOptionsObj(validatorOrOpts) ? validatorOrOpts.validators : validatorOrOpts) || null;
  82789. }
  82790. /**
  82791. * Creates validator function by combining provided validators.
  82792. */
  82793. function coerceToValidator(validator) {
  82794. return Array.isArray(validator) ? composeValidators(validator) : validator || null;
  82795. }
  82796. /**
  82797. * Gets async validators from either an options object or given validators.
  82798. */
  82799. function pickAsyncValidators(asyncValidator, validatorOrOpts) {
  82800. if (typeof ngDevMode === 'undefined' || ngDevMode) {
  82801. if (isOptionsObj(validatorOrOpts) && asyncValidator) {
  82802. console.warn(asyncValidatorsDroppedWithOptsWarning);
  82803. }
  82804. }
  82805. return (isOptionsObj(validatorOrOpts) ? validatorOrOpts.asyncValidators : asyncValidator) || null;
  82806. }
  82807. /**
  82808. * Creates async validator function by combining provided async validators.
  82809. */
  82810. function coerceToAsyncValidator(asyncValidator) {
  82811. return Array.isArray(asyncValidator) ? composeAsyncValidators(asyncValidator) : asyncValidator || null;
  82812. }
  82813. function isOptionsObj(validatorOrOpts) {
  82814. return validatorOrOpts != null && !Array.isArray(validatorOrOpts) && typeof validatorOrOpts === 'object';
  82815. }
  82816. function assertControlPresent(parent, isGroup, key) {
  82817. const controls = parent.controls;
  82818. const collection = isGroup ? Object.keys(controls) : controls;
  82819. if (!collection.length) {
  82820. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](1000
  82821. /* RuntimeErrorCode.NO_CONTROLS */
  82822. , NG_DEV_MODE ? noControlsError(isGroup) : '');
  82823. }
  82824. if (!controls[key]) {
  82825. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](1001
  82826. /* RuntimeErrorCode.MISSING_CONTROL */
  82827. , NG_DEV_MODE ? missingControlError(isGroup, key) : '');
  82828. }
  82829. }
  82830. function assertAllValuesPresent(control, isGroup, value) {
  82831. control._forEachChild((_, key) => {
  82832. if (value[key] === undefined) {
  82833. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](1002
  82834. /* RuntimeErrorCode.MISSING_CONTROL_VALUE */
  82835. , NG_DEV_MODE ? missingControlValueError(isGroup, key) : '');
  82836. }
  82837. });
  82838. } // clang-format on
  82839. /**
  82840. * This is the base class for `FormControl`, `FormGroup`, and `FormArray`.
  82841. *
  82842. * It provides some of the shared behavior that all controls and groups of controls have, like
  82843. * running validators, calculating status, and resetting state. It also defines the properties
  82844. * that are shared between all sub-classes, like `value`, `valid`, and `dirty`. It shouldn't be
  82845. * instantiated directly.
  82846. *
  82847. * The first type parameter TValue represents the value type of the control (`control.value`).
  82848. * The optional type parameter TRawValue represents the raw value type (`control.getRawValue()`).
  82849. *
  82850. * @see [Forms Guide](/guide/forms)
  82851. * @see [Reactive Forms Guide](/guide/reactive-forms)
  82852. * @see [Dynamic Forms Guide](/guide/dynamic-form)
  82853. *
  82854. * @publicApi
  82855. */
  82856. class AbstractControl {
  82857. /**
  82858. * Initialize the AbstractControl instance.
  82859. *
  82860. * @param validators The function or array of functions that is used to determine the validity of
  82861. * this control synchronously.
  82862. * @param asyncValidators The function or array of functions that is used to determine validity of
  82863. * this control asynchronously.
  82864. */
  82865. constructor(validators, asyncValidators) {
  82866. /** @internal */
  82867. this._pendingDirty = false;
  82868. /**
  82869. * Indicates that a control has its own pending asynchronous validation in progress.
  82870. *
  82871. * @internal
  82872. */
  82873. this._hasOwnPendingAsyncValidator = false;
  82874. /** @internal */
  82875. this._pendingTouched = false;
  82876. /** @internal */
  82877. this._onCollectionChange = () => {};
  82878. this._parent = null;
  82879. /**
  82880. * A control is `pristine` if the user has not yet changed
  82881. * the value in the UI.
  82882. *
  82883. * @returns True if the user has not yet changed the value in the UI; compare `dirty`.
  82884. * Programmatic changes to a control's value do not mark it dirty.
  82885. */
  82886. this.pristine = true;
  82887. /**
  82888. * True if the control is marked as `touched`.
  82889. *
  82890. * A control is marked `touched` once the user has triggered
  82891. * a `blur` event on it.
  82892. */
  82893. this.touched = false;
  82894. /** @internal */
  82895. this._onDisabledChange = [];
  82896. this._rawValidators = validators;
  82897. this._rawAsyncValidators = asyncValidators;
  82898. this._composedValidatorFn = coerceToValidator(this._rawValidators);
  82899. this._composedAsyncValidatorFn = coerceToAsyncValidator(this._rawAsyncValidators);
  82900. }
  82901. /**
  82902. * Returns the function that is used to determine the validity of this control synchronously.
  82903. * If multiple validators have been added, this will be a single composed function.
  82904. * See `Validators.compose()` for additional information.
  82905. */
  82906. get validator() {
  82907. return this._composedValidatorFn;
  82908. }
  82909. set validator(validatorFn) {
  82910. this._rawValidators = this._composedValidatorFn = validatorFn;
  82911. }
  82912. /**
  82913. * Returns the function that is used to determine the validity of this control asynchronously.
  82914. * If multiple validators have been added, this will be a single composed function.
  82915. * See `Validators.compose()` for additional information.
  82916. */
  82917. get asyncValidator() {
  82918. return this._composedAsyncValidatorFn;
  82919. }
  82920. set asyncValidator(asyncValidatorFn) {
  82921. this._rawAsyncValidators = this._composedAsyncValidatorFn = asyncValidatorFn;
  82922. }
  82923. /**
  82924. * The parent control.
  82925. */
  82926. get parent() {
  82927. return this._parent;
  82928. }
  82929. /**
  82930. * A control is `valid` when its `status` is `VALID`.
  82931. *
  82932. * @see {@link AbstractControl.status}
  82933. *
  82934. * @returns True if the control has passed all of its validation tests,
  82935. * false otherwise.
  82936. */
  82937. get valid() {
  82938. return this.status === VALID;
  82939. }
  82940. /**
  82941. * A control is `invalid` when its `status` is `INVALID`.
  82942. *
  82943. * @see {@link AbstractControl.status}
  82944. *
  82945. * @returns True if this control has failed one or more of its validation checks,
  82946. * false otherwise.
  82947. */
  82948. get invalid() {
  82949. return this.status === INVALID;
  82950. }
  82951. /**
  82952. * A control is `pending` when its `status` is `PENDING`.
  82953. *
  82954. * @see {@link AbstractControl.status}
  82955. *
  82956. * @returns True if this control is in the process of conducting a validation check,
  82957. * false otherwise.
  82958. */
  82959. get pending() {
  82960. return this.status == PENDING;
  82961. }
  82962. /**
  82963. * A control is `disabled` when its `status` is `DISABLED`.
  82964. *
  82965. * Disabled controls are exempt from validation checks and
  82966. * are not included in the aggregate value of their ancestor
  82967. * controls.
  82968. *
  82969. * @see {@link AbstractControl.status}
  82970. *
  82971. * @returns True if the control is disabled, false otherwise.
  82972. */
  82973. get disabled() {
  82974. return this.status === DISABLED;
  82975. }
  82976. /**
  82977. * A control is `enabled` as long as its `status` is not `DISABLED`.
  82978. *
  82979. * @returns True if the control has any status other than 'DISABLED',
  82980. * false if the status is 'DISABLED'.
  82981. *
  82982. * @see {@link AbstractControl.status}
  82983. *
  82984. */
  82985. get enabled() {
  82986. return this.status !== DISABLED;
  82987. }
  82988. /**
  82989. * A control is `dirty` if the user has changed the value
  82990. * in the UI.
  82991. *
  82992. * @returns True if the user has changed the value of this control in the UI; compare `pristine`.
  82993. * Programmatic changes to a control's value do not mark it dirty.
  82994. */
  82995. get dirty() {
  82996. return !this.pristine;
  82997. }
  82998. /**
  82999. * True if the control has not been marked as touched
  83000. *
  83001. * A control is `untouched` if the user has not yet triggered
  83002. * a `blur` event on it.
  83003. */
  83004. get untouched() {
  83005. return !this.touched;
  83006. }
  83007. /**
  83008. * Reports the update strategy of the `AbstractControl` (meaning
  83009. * the event on which the control updates itself).
  83010. * Possible values: `'change'` | `'blur'` | `'submit'`
  83011. * Default value: `'change'`
  83012. */
  83013. get updateOn() {
  83014. return this._updateOn ? this._updateOn : this.parent ? this.parent.updateOn : 'change';
  83015. }
  83016. /**
  83017. * Sets the synchronous validators that are active on this control. Calling
  83018. * this overwrites any existing synchronous validators.
  83019. *
  83020. * When you add or remove a validator at run time, you must call
  83021. * `updateValueAndValidity()` for the new validation to take effect.
  83022. *
  83023. * If you want to add a new validator without affecting existing ones, consider
  83024. * using `addValidators()` method instead.
  83025. */
  83026. setValidators(validators) {
  83027. this._rawValidators = validators;
  83028. this._composedValidatorFn = coerceToValidator(validators);
  83029. }
  83030. /**
  83031. * Sets the asynchronous validators that are active on this control. Calling this
  83032. * overwrites any existing asynchronous validators.
  83033. *
  83034. * When you add or remove a validator at run time, you must call
  83035. * `updateValueAndValidity()` for the new validation to take effect.
  83036. *
  83037. * If you want to add a new validator without affecting existing ones, consider
  83038. * using `addAsyncValidators()` method instead.
  83039. */
  83040. setAsyncValidators(validators) {
  83041. this._rawAsyncValidators = validators;
  83042. this._composedAsyncValidatorFn = coerceToAsyncValidator(validators);
  83043. }
  83044. /**
  83045. * Add a synchronous validator or validators to this control, without affecting other validators.
  83046. *
  83047. * When you add or remove a validator at run time, you must call
  83048. * `updateValueAndValidity()` for the new validation to take effect.
  83049. *
  83050. * Adding a validator that already exists will have no effect. If duplicate validator functions
  83051. * are present in the `validators` array, only the first instance would be added to a form
  83052. * control.
  83053. *
  83054. * @param validators The new validator function or functions to add to this control.
  83055. */
  83056. addValidators(validators) {
  83057. this.setValidators(addValidators(validators, this._rawValidators));
  83058. }
  83059. /**
  83060. * Add an asynchronous validator or validators to this control, without affecting other
  83061. * validators.
  83062. *
  83063. * When you add or remove a validator at run time, you must call
  83064. * `updateValueAndValidity()` for the new validation to take effect.
  83065. *
  83066. * Adding a validator that already exists will have no effect.
  83067. *
  83068. * @param validators The new asynchronous validator function or functions to add to this control.
  83069. */
  83070. addAsyncValidators(validators) {
  83071. this.setAsyncValidators(addValidators(validators, this._rawAsyncValidators));
  83072. }
  83073. /**
  83074. * Remove a synchronous validator from this control, without affecting other validators.
  83075. * Validators are compared by function reference; you must pass a reference to the exact same
  83076. * validator function as the one that was originally set. If a provided validator is not found,
  83077. * it is ignored.
  83078. *
  83079. * @usageNotes
  83080. *
  83081. * ### Reference to a ValidatorFn
  83082. *
  83083. * ```
  83084. * // Reference to the RequiredValidator
  83085. * const ctrl = new FormControl<string | null>('', Validators.required);
  83086. * ctrl.removeValidators(Validators.required);
  83087. *
  83088. * // Reference to anonymous function inside MinValidator
  83089. * const minValidator = Validators.min(3);
  83090. * const ctrl = new FormControl<string | null>('', minValidator);
  83091. * expect(ctrl.hasValidator(minValidator)).toEqual(true)
  83092. * expect(ctrl.hasValidator(Validators.min(3)).toEqual(false)
  83093. *
  83094. * ctrl.removeValidators(minValidator);
  83095. * ```
  83096. *
  83097. * When you add or remove a validator at run time, you must call
  83098. * `updateValueAndValidity()` for the new validation to take effect.
  83099. *
  83100. * @param validators The validator or validators to remove.
  83101. */
  83102. removeValidators(validators) {
  83103. this.setValidators(removeValidators(validators, this._rawValidators));
  83104. }
  83105. /**
  83106. * Remove an asynchronous validator from this control, without affecting other validators.
  83107. * Validators are compared by function reference; you must pass a reference to the exact same
  83108. * validator function as the one that was originally set. If a provided validator is not found, it
  83109. * is ignored.
  83110. *
  83111. * When you add or remove a validator at run time, you must call
  83112. * `updateValueAndValidity()` for the new validation to take effect.
  83113. *
  83114. * @param validators The asynchronous validator or validators to remove.
  83115. */
  83116. removeAsyncValidators(validators) {
  83117. this.setAsyncValidators(removeValidators(validators, this._rawAsyncValidators));
  83118. }
  83119. /**
  83120. * Check whether a synchronous validator function is present on this control. The provided
  83121. * validator must be a reference to the exact same function that was provided.
  83122. *
  83123. * @usageNotes
  83124. *
  83125. * ### Reference to a ValidatorFn
  83126. *
  83127. * ```
  83128. * // Reference to the RequiredValidator
  83129. * const ctrl = new FormControl<number | null>(0, Validators.required);
  83130. * expect(ctrl.hasValidator(Validators.required)).toEqual(true)
  83131. *
  83132. * // Reference to anonymous function inside MinValidator
  83133. * const minValidator = Validators.min(3);
  83134. * const ctrl = new FormControl<number | null>(0, minValidator);
  83135. * expect(ctrl.hasValidator(minValidator)).toEqual(true)
  83136. * expect(ctrl.hasValidator(Validators.min(3)).toEqual(false)
  83137. * ```
  83138. *
  83139. * @param validator The validator to check for presence. Compared by function reference.
  83140. * @returns Whether the provided validator was found on this control.
  83141. */
  83142. hasValidator(validator) {
  83143. return hasValidator(this._rawValidators, validator);
  83144. }
  83145. /**
  83146. * Check whether an asynchronous validator function is present on this control. The provided
  83147. * validator must be a reference to the exact same function that was provided.
  83148. *
  83149. * @param validator The asynchronous validator to check for presence. Compared by function
  83150. * reference.
  83151. * @returns Whether the provided asynchronous validator was found on this control.
  83152. */
  83153. hasAsyncValidator(validator) {
  83154. return hasValidator(this._rawAsyncValidators, validator);
  83155. }
  83156. /**
  83157. * Empties out the synchronous validator list.
  83158. *
  83159. * When you add or remove a validator at run time, you must call
  83160. * `updateValueAndValidity()` for the new validation to take effect.
  83161. *
  83162. */
  83163. clearValidators() {
  83164. this.validator = null;
  83165. }
  83166. /**
  83167. * Empties out the async validator list.
  83168. *
  83169. * When you add or remove a validator at run time, you must call
  83170. * `updateValueAndValidity()` for the new validation to take effect.
  83171. *
  83172. */
  83173. clearAsyncValidators() {
  83174. this.asyncValidator = null;
  83175. }
  83176. /**
  83177. * Marks the control as `touched`. A control is touched by focus and
  83178. * blur events that do not change the value.
  83179. *
  83180. * @see `markAsUntouched()`
  83181. * @see `markAsDirty()`
  83182. * @see `markAsPristine()`
  83183. *
  83184. * @param opts Configuration options that determine how the control propagates changes
  83185. * and emits events after marking is applied.
  83186. * * `onlySelf`: When true, mark only this control. When false or not supplied,
  83187. * marks all direct ancestors. Default is false.
  83188. */
  83189. markAsTouched(opts = {}) {
  83190. this.touched = true;
  83191. if (this._parent && !opts.onlySelf) {
  83192. this._parent.markAsTouched(opts);
  83193. }
  83194. }
  83195. /**
  83196. * Marks the control and all its descendant controls as `touched`.
  83197. * @see `markAsTouched()`
  83198. */
  83199. markAllAsTouched() {
  83200. this.markAsTouched({
  83201. onlySelf: true
  83202. });
  83203. this._forEachChild(control => control.markAllAsTouched());
  83204. }
  83205. /**
  83206. * Marks the control as `untouched`.
  83207. *
  83208. * If the control has any children, also marks all children as `untouched`
  83209. * and recalculates the `touched` status of all parent controls.
  83210. *
  83211. * @see `markAsTouched()`
  83212. * @see `markAsDirty()`
  83213. * @see `markAsPristine()`
  83214. *
  83215. * @param opts Configuration options that determine how the control propagates changes
  83216. * and emits events after the marking is applied.
  83217. * * `onlySelf`: When true, mark only this control. When false or not supplied,
  83218. * marks all direct ancestors. Default is false.
  83219. */
  83220. markAsUntouched(opts = {}) {
  83221. this.touched = false;
  83222. this._pendingTouched = false;
  83223. this._forEachChild(control => {
  83224. control.markAsUntouched({
  83225. onlySelf: true
  83226. });
  83227. });
  83228. if (this._parent && !opts.onlySelf) {
  83229. this._parent._updateTouched(opts);
  83230. }
  83231. }
  83232. /**
  83233. * Marks the control as `dirty`. A control becomes dirty when
  83234. * the control's value is changed through the UI; compare `markAsTouched`.
  83235. *
  83236. * @see `markAsTouched()`
  83237. * @see `markAsUntouched()`
  83238. * @see `markAsPristine()`
  83239. *
  83240. * @param opts Configuration options that determine how the control propagates changes
  83241. * and emits events after marking is applied.
  83242. * * `onlySelf`: When true, mark only this control. When false or not supplied,
  83243. * marks all direct ancestors. Default is false.
  83244. */
  83245. markAsDirty(opts = {}) {
  83246. this.pristine = false;
  83247. if (this._parent && !opts.onlySelf) {
  83248. this._parent.markAsDirty(opts);
  83249. }
  83250. }
  83251. /**
  83252. * Marks the control as `pristine`.
  83253. *
  83254. * If the control has any children, marks all children as `pristine`,
  83255. * and recalculates the `pristine` status of all parent
  83256. * controls.
  83257. *
  83258. * @see `markAsTouched()`
  83259. * @see `markAsUntouched()`
  83260. * @see `markAsDirty()`
  83261. *
  83262. * @param opts Configuration options that determine how the control emits events after
  83263. * marking is applied.
  83264. * * `onlySelf`: When true, mark only this control. When false or not supplied,
  83265. * marks all direct ancestors. Default is false.
  83266. */
  83267. markAsPristine(opts = {}) {
  83268. this.pristine = true;
  83269. this._pendingDirty = false;
  83270. this._forEachChild(control => {
  83271. control.markAsPristine({
  83272. onlySelf: true
  83273. });
  83274. });
  83275. if (this._parent && !opts.onlySelf) {
  83276. this._parent._updatePristine(opts);
  83277. }
  83278. }
  83279. /**
  83280. * Marks the control as `pending`.
  83281. *
  83282. * A control is pending while the control performs async validation.
  83283. *
  83284. * @see {@link AbstractControl.status}
  83285. *
  83286. * @param opts Configuration options that determine how the control propagates changes and
  83287. * emits events after marking is applied.
  83288. * * `onlySelf`: When true, mark only this control. When false or not supplied,
  83289. * marks all direct ancestors. Default is false.
  83290. * * `emitEvent`: When true or not supplied (the default), the `statusChanges`
  83291. * observable emits an event with the latest status the control is marked pending.
  83292. * When false, no events are emitted.
  83293. *
  83294. */
  83295. markAsPending(opts = {}) {
  83296. this.status = PENDING;
  83297. if (opts.emitEvent !== false) {
  83298. this.statusChanges.emit(this.status);
  83299. }
  83300. if (this._parent && !opts.onlySelf) {
  83301. this._parent.markAsPending(opts);
  83302. }
  83303. }
  83304. /**
  83305. * Disables the control. This means the control is exempt from validation checks and
  83306. * excluded from the aggregate value of any parent. Its status is `DISABLED`.
  83307. *
  83308. * If the control has children, all children are also disabled.
  83309. *
  83310. * @see {@link AbstractControl.status}
  83311. *
  83312. * @param opts Configuration options that determine how the control propagates
  83313. * changes and emits events after the control is disabled.
  83314. * * `onlySelf`: When true, mark only this control. When false or not supplied,
  83315. * marks all direct ancestors. Default is false.
  83316. * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
  83317. * `valueChanges`
  83318. * observables emit events with the latest status and value when the control is disabled.
  83319. * When false, no events are emitted.
  83320. */
  83321. disable(opts = {}) {
  83322. // If parent has been marked artificially dirty we don't want to re-calculate the
  83323. // parent's dirtiness based on the children.
  83324. const skipPristineCheck = this._parentMarkedDirty(opts.onlySelf);
  83325. this.status = DISABLED;
  83326. this.errors = null;
  83327. this._forEachChild(control => {
  83328. control.disable(Object.assign(Object.assign({}, opts), {
  83329. onlySelf: true
  83330. }));
  83331. });
  83332. this._updateValue();
  83333. if (opts.emitEvent !== false) {
  83334. this.valueChanges.emit(this.value);
  83335. this.statusChanges.emit(this.status);
  83336. }
  83337. this._updateAncestors(Object.assign(Object.assign({}, opts), {
  83338. skipPristineCheck
  83339. }));
  83340. this._onDisabledChange.forEach(changeFn => changeFn(true));
  83341. }
  83342. /**
  83343. * Enables the control. This means the control is included in validation checks and
  83344. * the aggregate value of its parent. Its status recalculates based on its value and
  83345. * its validators.
  83346. *
  83347. * By default, if the control has children, all children are enabled.
  83348. *
  83349. * @see {@link AbstractControl.status}
  83350. *
  83351. * @param opts Configure options that control how the control propagates changes and
  83352. * emits events when marked as untouched
  83353. * * `onlySelf`: When true, mark only this control. When false or not supplied,
  83354. * marks all direct ancestors. Default is false.
  83355. * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
  83356. * `valueChanges`
  83357. * observables emit events with the latest status and value when the control is enabled.
  83358. * When false, no events are emitted.
  83359. */
  83360. enable(opts = {}) {
  83361. // If parent has been marked artificially dirty we don't want to re-calculate the
  83362. // parent's dirtiness based on the children.
  83363. const skipPristineCheck = this._parentMarkedDirty(opts.onlySelf);
  83364. this.status = VALID;
  83365. this._forEachChild(control => {
  83366. control.enable(Object.assign(Object.assign({}, opts), {
  83367. onlySelf: true
  83368. }));
  83369. });
  83370. this.updateValueAndValidity({
  83371. onlySelf: true,
  83372. emitEvent: opts.emitEvent
  83373. });
  83374. this._updateAncestors(Object.assign(Object.assign({}, opts), {
  83375. skipPristineCheck
  83376. }));
  83377. this._onDisabledChange.forEach(changeFn => changeFn(false));
  83378. }
  83379. _updateAncestors(opts) {
  83380. if (this._parent && !opts.onlySelf) {
  83381. this._parent.updateValueAndValidity(opts);
  83382. if (!opts.skipPristineCheck) {
  83383. this._parent._updatePristine();
  83384. }
  83385. this._parent._updateTouched();
  83386. }
  83387. }
  83388. /**
  83389. * Sets the parent of the control
  83390. *
  83391. * @param parent The new parent.
  83392. */
  83393. setParent(parent) {
  83394. this._parent = parent;
  83395. }
  83396. /**
  83397. * The raw value of this control. For most control implementations, the raw value will include
  83398. * disabled children.
  83399. */
  83400. getRawValue() {
  83401. return this.value;
  83402. }
  83403. /**
  83404. * Recalculates the value and validation status of the control.
  83405. *
  83406. * By default, it also updates the value and validity of its ancestors.
  83407. *
  83408. * @param opts Configuration options determine how the control propagates changes and emits events
  83409. * after updates and validity checks are applied.
  83410. * * `onlySelf`: When true, only update this control. When false or not supplied,
  83411. * update all direct ancestors. Default is false.
  83412. * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
  83413. * `valueChanges`
  83414. * observables emit events with the latest status and value when the control is updated.
  83415. * When false, no events are emitted.
  83416. */
  83417. updateValueAndValidity(opts = {}) {
  83418. this._setInitialStatus();
  83419. this._updateValue();
  83420. if (this.enabled) {
  83421. this._cancelExistingSubscription();
  83422. this.errors = this._runValidator();
  83423. this.status = this._calculateStatus();
  83424. if (this.status === VALID || this.status === PENDING) {
  83425. this._runAsyncValidator(opts.emitEvent);
  83426. }
  83427. }
  83428. if (opts.emitEvent !== false) {
  83429. this.valueChanges.emit(this.value);
  83430. this.statusChanges.emit(this.status);
  83431. }
  83432. if (this._parent && !opts.onlySelf) {
  83433. this._parent.updateValueAndValidity(opts);
  83434. }
  83435. }
  83436. /** @internal */
  83437. _updateTreeValidity(opts = {
  83438. emitEvent: true
  83439. }) {
  83440. this._forEachChild(ctrl => ctrl._updateTreeValidity(opts));
  83441. this.updateValueAndValidity({
  83442. onlySelf: true,
  83443. emitEvent: opts.emitEvent
  83444. });
  83445. }
  83446. _setInitialStatus() {
  83447. this.status = this._allControlsDisabled() ? DISABLED : VALID;
  83448. }
  83449. _runValidator() {
  83450. return this.validator ? this.validator(this) : null;
  83451. }
  83452. _runAsyncValidator(emitEvent) {
  83453. if (this.asyncValidator) {
  83454. this.status = PENDING;
  83455. this._hasOwnPendingAsyncValidator = true;
  83456. const obs = toObservable(this.asyncValidator(this));
  83457. this._asyncValidationSubscription = obs.subscribe(errors => {
  83458. this._hasOwnPendingAsyncValidator = false; // This will trigger the recalculation of the validation status, which depends on
  83459. // the state of the asynchronous validation (whether it is in progress or not). So, it is
  83460. // necessary that we have updated the `_hasOwnPendingAsyncValidator` boolean flag first.
  83461. this.setErrors(errors, {
  83462. emitEvent
  83463. });
  83464. });
  83465. }
  83466. }
  83467. _cancelExistingSubscription() {
  83468. if (this._asyncValidationSubscription) {
  83469. this._asyncValidationSubscription.unsubscribe();
  83470. this._hasOwnPendingAsyncValidator = false;
  83471. }
  83472. }
  83473. /**
  83474. * Sets errors on a form control when running validations manually, rather than automatically.
  83475. *
  83476. * Calling `setErrors` also updates the validity of the parent control.
  83477. *
  83478. * @param opts Configuration options that determine how the control propagates
  83479. * changes and emits events after the control errors are set.
  83480. * * `emitEvent`: When true or not supplied (the default), the `statusChanges`
  83481. * observable emits an event after the errors are set.
  83482. *
  83483. * @usageNotes
  83484. *
  83485. * ### Manually set the errors for a control
  83486. *
  83487. * ```
  83488. * const login = new FormControl('someLogin');
  83489. * login.setErrors({
  83490. * notUnique: true
  83491. * });
  83492. *
  83493. * expect(login.valid).toEqual(false);
  83494. * expect(login.errors).toEqual({ notUnique: true });
  83495. *
  83496. * login.setValue('someOtherLogin');
  83497. *
  83498. * expect(login.valid).toEqual(true);
  83499. * ```
  83500. */
  83501. setErrors(errors, opts = {}) {
  83502. this.errors = errors;
  83503. this._updateControlsErrors(opts.emitEvent !== false);
  83504. }
  83505. /**
  83506. * Retrieves a child control given the control's name or path.
  83507. *
  83508. * @param path A dot-delimited string or array of string/number values that define the path to the
  83509. * control. If a string is provided, passing it as a string literal will result in improved type
  83510. * information. Likewise, if an array is provided, passing it `as const` will cause improved type
  83511. * information to be available.
  83512. *
  83513. * @usageNotes
  83514. * ### Retrieve a nested control
  83515. *
  83516. * For example, to get a `name` control nested within a `person` sub-group:
  83517. *
  83518. * * `this.form.get('person.name');`
  83519. *
  83520. * -OR-
  83521. *
  83522. * * `this.form.get(['person', 'name'] as const);` // `as const` gives improved typings
  83523. *
  83524. * ### Retrieve a control in a FormArray
  83525. *
  83526. * When accessing an element inside a FormArray, you can use an element index.
  83527. * For example, to get a `price` control from the first element in an `items` array you can use:
  83528. *
  83529. * * `this.form.get('items.0.price');`
  83530. *
  83531. * -OR-
  83532. *
  83533. * * `this.form.get(['items', 0, 'price']);`
  83534. */
  83535. get(path) {
  83536. let currPath = path;
  83537. if (currPath == null) return null;
  83538. if (!Array.isArray(currPath)) currPath = currPath.split('.');
  83539. if (currPath.length === 0) return null;
  83540. return currPath.reduce((control, name) => control && control._find(name), this);
  83541. }
  83542. /**
  83543. * @description
  83544. * Reports error data for the control with the given path.
  83545. *
  83546. * @param errorCode The code of the error to check
  83547. * @param path A list of control names that designates how to move from the current control
  83548. * to the control that should be queried for errors.
  83549. *
  83550. * @usageNotes
  83551. * For example, for the following `FormGroup`:
  83552. *
  83553. * ```
  83554. * form = new FormGroup({
  83555. * address: new FormGroup({ street: new FormControl() })
  83556. * });
  83557. * ```
  83558. *
  83559. * The path to the 'street' control from the root form would be 'address' -> 'street'.
  83560. *
  83561. * It can be provided to this method in one of two formats:
  83562. *
  83563. * 1. An array of string control names, e.g. `['address', 'street']`
  83564. * 1. A period-delimited list of control names in one string, e.g. `'address.street'`
  83565. *
  83566. * @returns error data for that particular error. If the control or error is not present,
  83567. * null is returned.
  83568. */
  83569. getError(errorCode, path) {
  83570. const control = path ? this.get(path) : this;
  83571. return control && control.errors ? control.errors[errorCode] : null;
  83572. }
  83573. /**
  83574. * @description
  83575. * Reports whether the control with the given path has the error specified.
  83576. *
  83577. * @param errorCode The code of the error to check
  83578. * @param path A list of control names that designates how to move from the current control
  83579. * to the control that should be queried for errors.
  83580. *
  83581. * @usageNotes
  83582. * For example, for the following `FormGroup`:
  83583. *
  83584. * ```
  83585. * form = new FormGroup({
  83586. * address: new FormGroup({ street: new FormControl() })
  83587. * });
  83588. * ```
  83589. *
  83590. * The path to the 'street' control from the root form would be 'address' -> 'street'.
  83591. *
  83592. * It can be provided to this method in one of two formats:
  83593. *
  83594. * 1. An array of string control names, e.g. `['address', 'street']`
  83595. * 1. A period-delimited list of control names in one string, e.g. `'address.street'`
  83596. *
  83597. * If no path is given, this method checks for the error on the current control.
  83598. *
  83599. * @returns whether the given error is present in the control at the given path.
  83600. *
  83601. * If the control is not present, false is returned.
  83602. */
  83603. hasError(errorCode, path) {
  83604. return !!this.getError(errorCode, path);
  83605. }
  83606. /**
  83607. * Retrieves the top-level ancestor of this control.
  83608. */
  83609. get root() {
  83610. let x = this;
  83611. while (x._parent) {
  83612. x = x._parent;
  83613. }
  83614. return x;
  83615. }
  83616. /** @internal */
  83617. _updateControlsErrors(emitEvent) {
  83618. this.status = this._calculateStatus();
  83619. if (emitEvent) {
  83620. this.statusChanges.emit(this.status);
  83621. }
  83622. if (this._parent) {
  83623. this._parent._updateControlsErrors(emitEvent);
  83624. }
  83625. }
  83626. /** @internal */
  83627. _initObservables() {
  83628. this.valueChanges = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
  83629. this.statusChanges = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
  83630. }
  83631. _calculateStatus() {
  83632. if (this._allControlsDisabled()) return DISABLED;
  83633. if (this.errors) return INVALID;
  83634. if (this._hasOwnPendingAsyncValidator || this._anyControlsHaveStatus(PENDING)) return PENDING;
  83635. if (this._anyControlsHaveStatus(INVALID)) return INVALID;
  83636. return VALID;
  83637. }
  83638. /** @internal */
  83639. _anyControlsHaveStatus(status) {
  83640. return this._anyControls(control => control.status === status);
  83641. }
  83642. /** @internal */
  83643. _anyControlsDirty() {
  83644. return this._anyControls(control => control.dirty);
  83645. }
  83646. /** @internal */
  83647. _anyControlsTouched() {
  83648. return this._anyControls(control => control.touched);
  83649. }
  83650. /** @internal */
  83651. _updatePristine(opts = {}) {
  83652. this.pristine = !this._anyControlsDirty();
  83653. if (this._parent && !opts.onlySelf) {
  83654. this._parent._updatePristine(opts);
  83655. }
  83656. }
  83657. /** @internal */
  83658. _updateTouched(opts = {}) {
  83659. this.touched = this._anyControlsTouched();
  83660. if (this._parent && !opts.onlySelf) {
  83661. this._parent._updateTouched(opts);
  83662. }
  83663. }
  83664. /** @internal */
  83665. _registerOnCollectionChange(fn) {
  83666. this._onCollectionChange = fn;
  83667. }
  83668. /** @internal */
  83669. _setUpdateStrategy(opts) {
  83670. if (isOptionsObj(opts) && opts.updateOn != null) {
  83671. this._updateOn = opts.updateOn;
  83672. }
  83673. }
  83674. /**
  83675. * Check to see if parent has been marked artificially dirty.
  83676. *
  83677. * @internal
  83678. */
  83679. _parentMarkedDirty(onlySelf) {
  83680. const parentDirty = this._parent && this._parent.dirty;
  83681. return !onlySelf && !!parentDirty && !this._parent._anyControlsDirty();
  83682. }
  83683. /** @internal */
  83684. _find(name) {
  83685. return null;
  83686. }
  83687. }
  83688. /**
  83689. * @license
  83690. * Copyright Google LLC All Rights Reserved.
  83691. *
  83692. * Use of this source code is governed by an MIT-style license that can be
  83693. * found in the LICENSE file at https://angular.io/license
  83694. */
  83695. /**
  83696. * Tracks the value and validity state of a group of `FormControl` instances.
  83697. *
  83698. * A `FormGroup` aggregates the values of each child `FormControl` into one object,
  83699. * with each control name as the key. It calculates its status by reducing the status values
  83700. * of its children. For example, if one of the controls in a group is invalid, the entire
  83701. * group becomes invalid.
  83702. *
  83703. * `FormGroup` is one of the four fundamental building blocks used to define forms in Angular,
  83704. * along with `FormControl`, `FormArray`, and `FormRecord`.
  83705. *
  83706. * When instantiating a `FormGroup`, pass in a collection of child controls as the first
  83707. * argument. The key for each child registers the name for the control.
  83708. *
  83709. * `FormGroup` is intended for use cases where the keys are known ahead of time.
  83710. * If you need to dynamically add and remove controls, use {@link FormRecord} instead.
  83711. *
  83712. * `FormGroup` accepts an optional type parameter `TControl`, which is an object type with inner
  83713. * control types as values.
  83714. *
  83715. * @usageNotes
  83716. *
  83717. * ### Create a form group with 2 controls
  83718. *
  83719. * ```
  83720. * const form = new FormGroup({
  83721. * first: new FormControl('Nancy', Validators.minLength(2)),
  83722. * last: new FormControl('Drew'),
  83723. * });
  83724. *
  83725. * console.log(form.value); // {first: 'Nancy', last; 'Drew'}
  83726. * console.log(form.status); // 'VALID'
  83727. * ```
  83728. *
  83729. * ### The type argument, and optional controls
  83730. *
  83731. * `FormGroup` accepts one generic argument, which is an object containing its inner controls.
  83732. * This type will usually be inferred automatically, but you can always specify it explicitly if you
  83733. * wish.
  83734. *
  83735. * If you have controls that are optional (i.e. they can be removed, you can use the `?` in the
  83736. * type):
  83737. *
  83738. * ```
  83739. * const form = new FormGroup<{
  83740. * first: FormControl<string|null>,
  83741. * middle?: FormControl<string|null>, // Middle name is optional.
  83742. * last: FormControl<string|null>,
  83743. * }>({
  83744. * first: new FormControl('Nancy'),
  83745. * last: new FormControl('Drew'),
  83746. * });
  83747. * ```
  83748. *
  83749. * ### Create a form group with a group-level validator
  83750. *
  83751. * You include group-level validators as the second arg, or group-level async
  83752. * validators as the third arg. These come in handy when you want to perform validation
  83753. * that considers the value of more than one child control.
  83754. *
  83755. * ```
  83756. * const form = new FormGroup({
  83757. * password: new FormControl('', Validators.minLength(2)),
  83758. * passwordConfirm: new FormControl('', Validators.minLength(2)),
  83759. * }, passwordMatchValidator);
  83760. *
  83761. *
  83762. * function passwordMatchValidator(g: FormGroup) {
  83763. * return g.get('password').value === g.get('passwordConfirm').value
  83764. * ? null : {'mismatch': true};
  83765. * }
  83766. * ```
  83767. *
  83768. * Like `FormControl` instances, you choose to pass in
  83769. * validators and async validators as part of an options object.
  83770. *
  83771. * ```
  83772. * const form = new FormGroup({
  83773. * password: new FormControl('')
  83774. * passwordConfirm: new FormControl('')
  83775. * }, { validators: passwordMatchValidator, asyncValidators: otherValidator });
  83776. * ```
  83777. *
  83778. * ### Set the updateOn property for all controls in a form group
  83779. *
  83780. * The options object is used to set a default value for each child
  83781. * control's `updateOn` property. If you set `updateOn` to `'blur'` at the
  83782. * group level, all child controls default to 'blur', unless the child
  83783. * has explicitly specified a different `updateOn` value.
  83784. *
  83785. * ```ts
  83786. * const c = new FormGroup({
  83787. * one: new FormControl()
  83788. * }, { updateOn: 'blur' });
  83789. * ```
  83790. *
  83791. * ### Using a FormGroup with optional controls
  83792. *
  83793. * It is possible to have optional controls in a FormGroup. An optional control can be removed later
  83794. * using `removeControl`, and can be omitted when calling `reset`. Optional controls must be
  83795. * declared optional in the group's type.
  83796. *
  83797. * ```ts
  83798. * const c = new FormGroup<{one?: FormControl<string>}>({
  83799. * one: new FormControl('')
  83800. * });
  83801. * ```
  83802. *
  83803. * Notice that `c.value.one` has type `string|null|undefined`. This is because calling `c.reset({})`
  83804. * without providing the optional key `one` will cause it to become `null`.
  83805. *
  83806. * @publicApi
  83807. */
  83808. class FormGroup extends AbstractControl {
  83809. /**
  83810. * Creates a new `FormGroup` instance.
  83811. *
  83812. * @param controls A collection of child controls. The key for each child is the name
  83813. * under which it is registered.
  83814. *
  83815. * @param validatorOrOpts A synchronous validator function, or an array of
  83816. * such functions, or an `AbstractControlOptions` object that contains validation functions
  83817. * and a validation trigger.
  83818. *
  83819. * @param asyncValidator A single async validator or array of async validator functions
  83820. *
  83821. */
  83822. constructor(controls, validatorOrOpts, asyncValidator) {
  83823. super(pickValidators(validatorOrOpts), pickAsyncValidators(asyncValidator, validatorOrOpts));
  83824. this.controls = controls;
  83825. this._initObservables();
  83826. this._setUpdateStrategy(validatorOrOpts);
  83827. this._setUpControls();
  83828. this.updateValueAndValidity({
  83829. onlySelf: true,
  83830. // If `asyncValidator` is present, it will trigger control status change from `PENDING` to
  83831. // `VALID` or `INVALID`. The status should be broadcasted via the `statusChanges` observable,
  83832. // so we set `emitEvent` to `true` to allow that during the control creation process.
  83833. emitEvent: !!this.asyncValidator
  83834. });
  83835. }
  83836. registerControl(name, control) {
  83837. if (this.controls[name]) return this.controls[name];
  83838. this.controls[name] = control;
  83839. control.setParent(this);
  83840. control._registerOnCollectionChange(this._onCollectionChange);
  83841. return control;
  83842. }
  83843. addControl(name, control, options = {}) {
  83844. this.registerControl(name, control);
  83845. this.updateValueAndValidity({
  83846. emitEvent: options.emitEvent
  83847. });
  83848. this._onCollectionChange();
  83849. }
  83850. /**
  83851. * Remove a control from this group. In a strongly-typed group, required controls cannot be
  83852. * removed.
  83853. *
  83854. * This method also updates the value and validity of the control.
  83855. *
  83856. * @param name The control name to remove from the collection
  83857. * @param options Specifies whether this FormGroup instance should emit events after a
  83858. * control is removed.
  83859. * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
  83860. * `valueChanges` observables emit events with the latest status and value when the control is
  83861. * removed. When false, no events are emitted.
  83862. */
  83863. removeControl(name, options = {}) {
  83864. if (this.controls[name]) this.controls[name]._registerOnCollectionChange(() => {});
  83865. delete this.controls[name];
  83866. this.updateValueAndValidity({
  83867. emitEvent: options.emitEvent
  83868. });
  83869. this._onCollectionChange();
  83870. }
  83871. setControl(name, control, options = {}) {
  83872. if (this.controls[name]) this.controls[name]._registerOnCollectionChange(() => {});
  83873. delete this.controls[name];
  83874. if (control) this.registerControl(name, control);
  83875. this.updateValueAndValidity({
  83876. emitEvent: options.emitEvent
  83877. });
  83878. this._onCollectionChange();
  83879. }
  83880. contains(controlName) {
  83881. return this.controls.hasOwnProperty(controlName) && this.controls[controlName].enabled;
  83882. }
  83883. /**
  83884. * Sets the value of the `FormGroup`. It accepts an object that matches
  83885. * the structure of the group, with control names as keys.
  83886. *
  83887. * @usageNotes
  83888. * ### Set the complete value for the form group
  83889. *
  83890. * ```
  83891. * const form = new FormGroup({
  83892. * first: new FormControl(),
  83893. * last: new FormControl()
  83894. * });
  83895. *
  83896. * console.log(form.value); // {first: null, last: null}
  83897. *
  83898. * form.setValue({first: 'Nancy', last: 'Drew'});
  83899. * console.log(form.value); // {first: 'Nancy', last: 'Drew'}
  83900. * ```
  83901. *
  83902. * @throws When strict checks fail, such as setting the value of a control
  83903. * that doesn't exist or if you exclude a value of a control that does exist.
  83904. *
  83905. * @param value The new value for the control that matches the structure of the group.
  83906. * @param options Configuration options that determine how the control propagates changes
  83907. * and emits events after the value changes.
  83908. * The configuration options are passed to the {@link AbstractControl#updateValueAndValidity
  83909. * updateValueAndValidity} method.
  83910. *
  83911. * * `onlySelf`: When true, each change only affects this control, and not its parent. Default is
  83912. * false.
  83913. * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
  83914. * `valueChanges`
  83915. * observables emit events with the latest status and value when the control value is updated.
  83916. * When false, no events are emitted.
  83917. */
  83918. setValue(value, options = {}) {
  83919. assertAllValuesPresent(this, true, value);
  83920. Object.keys(value).forEach(name => {
  83921. assertControlPresent(this, true, name);
  83922. this.controls[name].setValue(value[name], {
  83923. onlySelf: true,
  83924. emitEvent: options.emitEvent
  83925. });
  83926. });
  83927. this.updateValueAndValidity(options);
  83928. }
  83929. /**
  83930. * Patches the value of the `FormGroup`. It accepts an object with control
  83931. * names as keys, and does its best to match the values to the correct controls
  83932. * in the group.
  83933. *
  83934. * It accepts both super-sets and sub-sets of the group without throwing an error.
  83935. *
  83936. * @usageNotes
  83937. * ### Patch the value for a form group
  83938. *
  83939. * ```
  83940. * const form = new FormGroup({
  83941. * first: new FormControl(),
  83942. * last: new FormControl()
  83943. * });
  83944. * console.log(form.value); // {first: null, last: null}
  83945. *
  83946. * form.patchValue({first: 'Nancy'});
  83947. * console.log(form.value); // {first: 'Nancy', last: null}
  83948. * ```
  83949. *
  83950. * @param value The object that matches the structure of the group.
  83951. * @param options Configuration options that determine how the control propagates changes and
  83952. * emits events after the value is patched.
  83953. * * `onlySelf`: When true, each change only affects this control and not its parent. Default is
  83954. * true.
  83955. * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
  83956. * `valueChanges` observables emit events with the latest status and value when the control value
  83957. * is updated. When false, no events are emitted. The configuration options are passed to
  83958. * the {@link AbstractControl#updateValueAndValidity updateValueAndValidity} method.
  83959. */
  83960. patchValue(value, options = {}) {
  83961. // Even though the `value` argument type doesn't allow `null` and `undefined` values, the
  83962. // `patchValue` can be called recursively and inner data structures might have these values, so
  83963. // we just ignore such cases when a field containing FormGroup instance receives `null` or
  83964. // `undefined` as a value.
  83965. if (value == null
  83966. /* both `null` and `undefined` */
  83967. ) return;
  83968. Object.keys(value).forEach(name => {
  83969. // The compiler cannot see through the uninstantiated conditional type of `this.controls`, so
  83970. // `as any` is required.
  83971. const control = this.controls[name];
  83972. if (control) {
  83973. control.patchValue(
  83974. /* Guaranteed to be present, due to the outer forEach. */
  83975. value[name], {
  83976. onlySelf: true,
  83977. emitEvent: options.emitEvent
  83978. });
  83979. }
  83980. });
  83981. this.updateValueAndValidity(options);
  83982. }
  83983. /**
  83984. * Resets the `FormGroup`, marks all descendants `pristine` and `untouched` and sets
  83985. * the value of all descendants to their default values, or null if no defaults were provided.
  83986. *
  83987. * You reset to a specific form state by passing in a map of states
  83988. * that matches the structure of your form, with control names as keys. The state
  83989. * is a standalone value or a form state object with both a value and a disabled
  83990. * status.
  83991. *
  83992. * @param value Resets the control with an initial value,
  83993. * or an object that defines the initial value and disabled state.
  83994. *
  83995. * @param options Configuration options that determine how the control propagates changes
  83996. * and emits events when the group is reset.
  83997. * * `onlySelf`: When true, each change only affects this control, and not its parent. Default is
  83998. * false.
  83999. * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
  84000. * `valueChanges`
  84001. * observables emit events with the latest status and value when the control is reset.
  84002. * When false, no events are emitted.
  84003. * The configuration options are passed to the {@link AbstractControl#updateValueAndValidity
  84004. * updateValueAndValidity} method.
  84005. *
  84006. * @usageNotes
  84007. *
  84008. * ### Reset the form group values
  84009. *
  84010. * ```ts
  84011. * const form = new FormGroup({
  84012. * first: new FormControl('first name'),
  84013. * last: new FormControl('last name')
  84014. * });
  84015. *
  84016. * console.log(form.value); // {first: 'first name', last: 'last name'}
  84017. *
  84018. * form.reset({ first: 'name', last: 'last name' });
  84019. *
  84020. * console.log(form.value); // {first: 'name', last: 'last name'}
  84021. * ```
  84022. *
  84023. * ### Reset the form group values and disabled status
  84024. *
  84025. * ```
  84026. * const form = new FormGroup({
  84027. * first: new FormControl('first name'),
  84028. * last: new FormControl('last name')
  84029. * });
  84030. *
  84031. * form.reset({
  84032. * first: {value: 'name', disabled: true},
  84033. * last: 'last'
  84034. * });
  84035. *
  84036. * console.log(form.value); // {last: 'last'}
  84037. * console.log(form.get('first').status); // 'DISABLED'
  84038. * ```
  84039. */
  84040. reset(value = {}, options = {}) {
  84041. this._forEachChild((control, name) => {
  84042. control.reset(value[name], {
  84043. onlySelf: true,
  84044. emitEvent: options.emitEvent
  84045. });
  84046. });
  84047. this._updatePristine(options);
  84048. this._updateTouched(options);
  84049. this.updateValueAndValidity(options);
  84050. }
  84051. /**
  84052. * The aggregate value of the `FormGroup`, including any disabled controls.
  84053. *
  84054. * Retrieves all values regardless of disabled status.
  84055. */
  84056. getRawValue() {
  84057. return this._reduceChildren({}, (acc, control, name) => {
  84058. acc[name] = control.getRawValue();
  84059. return acc;
  84060. });
  84061. }
  84062. /** @internal */
  84063. _syncPendingControls() {
  84064. let subtreeUpdated = this._reduceChildren(false, (updated, child) => {
  84065. return child._syncPendingControls() ? true : updated;
  84066. });
  84067. if (subtreeUpdated) this.updateValueAndValidity({
  84068. onlySelf: true
  84069. });
  84070. return subtreeUpdated;
  84071. }
  84072. /** @internal */
  84073. _forEachChild(cb) {
  84074. Object.keys(this.controls).forEach(key => {
  84075. // The list of controls can change (for ex. controls might be removed) while the loop
  84076. // is running (as a result of invoking Forms API in `valueChanges` subscription), so we
  84077. // have to null check before invoking the callback.
  84078. const control = this.controls[key];
  84079. control && cb(control, key);
  84080. });
  84081. }
  84082. /** @internal */
  84083. _setUpControls() {
  84084. this._forEachChild(control => {
  84085. control.setParent(this);
  84086. control._registerOnCollectionChange(this._onCollectionChange);
  84087. });
  84088. }
  84089. /** @internal */
  84090. _updateValue() {
  84091. this.value = this._reduceValue();
  84092. }
  84093. /** @internal */
  84094. _anyControls(condition) {
  84095. for (const [controlName, control] of Object.entries(this.controls)) {
  84096. if (this.contains(controlName) && condition(control)) {
  84097. return true;
  84098. }
  84099. }
  84100. return false;
  84101. }
  84102. /** @internal */
  84103. _reduceValue() {
  84104. let acc = {};
  84105. return this._reduceChildren(acc, (acc, control, name) => {
  84106. if (control.enabled || this.disabled) {
  84107. acc[name] = control.value;
  84108. }
  84109. return acc;
  84110. });
  84111. }
  84112. /** @internal */
  84113. _reduceChildren(initValue, fn) {
  84114. let res = initValue;
  84115. this._forEachChild((control, name) => {
  84116. res = fn(res, control, name);
  84117. });
  84118. return res;
  84119. }
  84120. /** @internal */
  84121. _allControlsDisabled() {
  84122. for (const controlName of Object.keys(this.controls)) {
  84123. if (this.controls[controlName].enabled) {
  84124. return false;
  84125. }
  84126. }
  84127. return Object.keys(this.controls).length > 0 || this.disabled;
  84128. }
  84129. /** @internal */
  84130. _find(name) {
  84131. return this.controls.hasOwnProperty(name) ? this.controls[name] : null;
  84132. }
  84133. }
  84134. const UntypedFormGroup = FormGroup;
  84135. const isFormGroup = control => control instanceof FormGroup;
  84136. /**
  84137. * Tracks the value and validity state of a collection of `FormControl` instances, each of which has
  84138. * the same value type.
  84139. *
  84140. * `FormRecord` is very similar to {@link FormGroup}, except it can be used with a dynamic keys,
  84141. * with controls added and removed as needed.
  84142. *
  84143. * `FormRecord` accepts one generic argument, which describes the type of the controls it contains.
  84144. *
  84145. * @usageNotes
  84146. *
  84147. * ```
  84148. * let numbers = new FormRecord({bill: new FormControl('415-123-456')});
  84149. * numbers.addControl('bob', new FormControl('415-234-567'));
  84150. * numbers.removeControl('bill');
  84151. * ```
  84152. *
  84153. * @publicApi
  84154. */
  84155. class FormRecord extends FormGroup {}
  84156. const isFormRecord = control => control instanceof FormRecord;
  84157. /**
  84158. * @license
  84159. * Copyright Google LLC All Rights Reserved.
  84160. *
  84161. * Use of this source code is governed by an MIT-style license that can be
  84162. * found in the LICENSE file at https://angular.io/license
  84163. */
  84164. function controlPath(name, parent) {
  84165. return [...parent.path, name];
  84166. }
  84167. /**
  84168. * Links a Form control and a Form directive by setting up callbacks (such as `onChange`) on both
  84169. * instances. This function is typically invoked when form directive is being initialized.
  84170. *
  84171. * @param control Form control instance that should be linked.
  84172. * @param dir Directive that should be linked with a given control.
  84173. */
  84174. function setUpControl(control, dir) {
  84175. var _a, _b;
  84176. if (typeof ngDevMode === 'undefined' || ngDevMode) {
  84177. if (!control) _throwError(dir, 'Cannot find control with');
  84178. if (!dir.valueAccessor) _throwError(dir, 'No value accessor for form control with');
  84179. }
  84180. setUpValidators(control, dir);
  84181. dir.valueAccessor.writeValue(control.value);
  84182. if (control.disabled) {
  84183. (_b = (_a = dir.valueAccessor).setDisabledState) === null || _b === void 0 ? void 0 : _b.call(_a, true);
  84184. }
  84185. setUpViewChangePipeline(control, dir);
  84186. setUpModelChangePipeline(control, dir);
  84187. setUpBlurPipeline(control, dir);
  84188. setUpDisabledChangeHandler(control, dir);
  84189. }
  84190. /**
  84191. * Reverts configuration performed by the `setUpControl` control function.
  84192. * Effectively disconnects form control with a given form directive.
  84193. * This function is typically invoked when corresponding form directive is being destroyed.
  84194. *
  84195. * @param control Form control which should be cleaned up.
  84196. * @param dir Directive that should be disconnected from a given control.
  84197. * @param validateControlPresenceOnChange Flag that indicates whether onChange handler should
  84198. * contain asserts to verify that it's not called once directive is destroyed. We need this flag
  84199. * to avoid potentially breaking changes caused by better control cleanup introduced in #39235.
  84200. */
  84201. function cleanUpControl(control, dir, validateControlPresenceOnChange = true) {
  84202. const noop = () => {
  84203. if (validateControlPresenceOnChange && (typeof ngDevMode === 'undefined' || ngDevMode)) {
  84204. _noControlError(dir);
  84205. }
  84206. }; // The `valueAccessor` field is typically defined on FromControl and FormControlName directive
  84207. // instances and there is a logic in `selectValueAccessor` function that throws if it's not the
  84208. // case. We still check the presence of `valueAccessor` before invoking its methods to make sure
  84209. // that cleanup works correctly if app code or tests are setup to ignore the error thrown from
  84210. // `selectValueAccessor`. See https://github.com/angular/angular/issues/40521.
  84211. if (dir.valueAccessor) {
  84212. dir.valueAccessor.registerOnChange(noop);
  84213. dir.valueAccessor.registerOnTouched(noop);
  84214. }
  84215. cleanUpValidators(control, dir);
  84216. if (control) {
  84217. dir._invokeOnDestroyCallbacks();
  84218. control._registerOnCollectionChange(() => {});
  84219. }
  84220. }
  84221. function registerOnValidatorChange(validators, onChange) {
  84222. validators.forEach(validator => {
  84223. if (validator.registerOnValidatorChange) validator.registerOnValidatorChange(onChange);
  84224. });
  84225. }
  84226. /**
  84227. * Sets up disabled change handler function on a given form control if ControlValueAccessor
  84228. * associated with a given directive instance supports the `setDisabledState` call.
  84229. *
  84230. * @param control Form control where disabled change handler should be setup.
  84231. * @param dir Corresponding directive instance associated with this control.
  84232. */
  84233. function setUpDisabledChangeHandler(control, dir) {
  84234. if (dir.valueAccessor.setDisabledState) {
  84235. const onDisabledChange = isDisabled => {
  84236. dir.valueAccessor.setDisabledState(isDisabled);
  84237. };
  84238. control.registerOnDisabledChange(onDisabledChange); // Register a callback function to cleanup disabled change handler
  84239. // from a control instance when a directive is destroyed.
  84240. dir._registerOnDestroy(() => {
  84241. control._unregisterOnDisabledChange(onDisabledChange);
  84242. });
  84243. }
  84244. }
  84245. /**
  84246. * Sets up sync and async directive validators on provided form control.
  84247. * This function merges validators from the directive into the validators of the control.
  84248. *
  84249. * @param control Form control where directive validators should be setup.
  84250. * @param dir Directive instance that contains validators to be setup.
  84251. */
  84252. function setUpValidators(control, dir) {
  84253. const validators = getControlValidators(control);
  84254. if (dir.validator !== null) {
  84255. control.setValidators(mergeValidators(validators, dir.validator));
  84256. } else if (typeof validators === 'function') {
  84257. // If sync validators are represented by a single validator function, we force the
  84258. // `Validators.compose` call to happen by executing the `setValidators` function with
  84259. // an array that contains that function. We need this to avoid possible discrepancies in
  84260. // validators behavior, so sync validators are always processed by the `Validators.compose`.
  84261. // Note: we should consider moving this logic inside the `setValidators` function itself, so we
  84262. // have consistent behavior on AbstractControl API level. The same applies to the async
  84263. // validators logic below.
  84264. control.setValidators([validators]);
  84265. }
  84266. const asyncValidators = getControlAsyncValidators(control);
  84267. if (dir.asyncValidator !== null) {
  84268. control.setAsyncValidators(mergeValidators(asyncValidators, dir.asyncValidator));
  84269. } else if (typeof asyncValidators === 'function') {
  84270. control.setAsyncValidators([asyncValidators]);
  84271. } // Re-run validation when validator binding changes, e.g. minlength=3 -> minlength=4
  84272. const onValidatorChange = () => control.updateValueAndValidity();
  84273. registerOnValidatorChange(dir._rawValidators, onValidatorChange);
  84274. registerOnValidatorChange(dir._rawAsyncValidators, onValidatorChange);
  84275. }
  84276. /**
  84277. * Cleans up sync and async directive validators on provided form control.
  84278. * This function reverts the setup performed by the `setUpValidators` function, i.e.
  84279. * removes directive-specific validators from a given control instance.
  84280. *
  84281. * @param control Form control from where directive validators should be removed.
  84282. * @param dir Directive instance that contains validators to be removed.
  84283. * @returns true if a control was updated as a result of this action.
  84284. */
  84285. function cleanUpValidators(control, dir) {
  84286. let isControlUpdated = false;
  84287. if (control !== null) {
  84288. if (dir.validator !== null) {
  84289. const validators = getControlValidators(control);
  84290. if (Array.isArray(validators) && validators.length > 0) {
  84291. // Filter out directive validator function.
  84292. const updatedValidators = validators.filter(validator => validator !== dir.validator);
  84293. if (updatedValidators.length !== validators.length) {
  84294. isControlUpdated = true;
  84295. control.setValidators(updatedValidators);
  84296. }
  84297. }
  84298. }
  84299. if (dir.asyncValidator !== null) {
  84300. const asyncValidators = getControlAsyncValidators(control);
  84301. if (Array.isArray(asyncValidators) && asyncValidators.length > 0) {
  84302. // Filter out directive async validator function.
  84303. const updatedAsyncValidators = asyncValidators.filter(asyncValidator => asyncValidator !== dir.asyncValidator);
  84304. if (updatedAsyncValidators.length !== asyncValidators.length) {
  84305. isControlUpdated = true;
  84306. control.setAsyncValidators(updatedAsyncValidators);
  84307. }
  84308. }
  84309. }
  84310. } // Clear onValidatorChange callbacks by providing a noop function.
  84311. const noop = () => {};
  84312. registerOnValidatorChange(dir._rawValidators, noop);
  84313. registerOnValidatorChange(dir._rawAsyncValidators, noop);
  84314. return isControlUpdated;
  84315. }
  84316. function setUpViewChangePipeline(control, dir) {
  84317. dir.valueAccessor.registerOnChange(newValue => {
  84318. control._pendingValue = newValue;
  84319. control._pendingChange = true;
  84320. control._pendingDirty = true;
  84321. if (control.updateOn === 'change') updateControl(control, dir);
  84322. });
  84323. }
  84324. function setUpBlurPipeline(control, dir) {
  84325. dir.valueAccessor.registerOnTouched(() => {
  84326. control._pendingTouched = true;
  84327. if (control.updateOn === 'blur' && control._pendingChange) updateControl(control, dir);
  84328. if (control.updateOn !== 'submit') control.markAsTouched();
  84329. });
  84330. }
  84331. function updateControl(control, dir) {
  84332. if (control._pendingDirty) control.markAsDirty();
  84333. control.setValue(control._pendingValue, {
  84334. emitModelToViewChange: false
  84335. });
  84336. dir.viewToModelUpdate(control._pendingValue);
  84337. control._pendingChange = false;
  84338. }
  84339. function setUpModelChangePipeline(control, dir) {
  84340. const onChange = (newValue, emitModelEvent) => {
  84341. // control -> view
  84342. dir.valueAccessor.writeValue(newValue); // control -> ngModel
  84343. if (emitModelEvent) dir.viewToModelUpdate(newValue);
  84344. };
  84345. control.registerOnChange(onChange); // Register a callback function to cleanup onChange handler
  84346. // from a control instance when a directive is destroyed.
  84347. dir._registerOnDestroy(() => {
  84348. control._unregisterOnChange(onChange);
  84349. });
  84350. }
  84351. /**
  84352. * Links a FormGroup or FormArray instance and corresponding Form directive by setting up validators
  84353. * present in the view.
  84354. *
  84355. * @param control FormGroup or FormArray instance that should be linked.
  84356. * @param dir Directive that provides view validators.
  84357. */
  84358. function setUpFormContainer(control, dir) {
  84359. if (control == null && (typeof ngDevMode === 'undefined' || ngDevMode)) _throwError(dir, 'Cannot find control with');
  84360. setUpValidators(control, dir);
  84361. }
  84362. /**
  84363. * Reverts the setup performed by the `setUpFormContainer` function.
  84364. *
  84365. * @param control FormGroup or FormArray instance that should be cleaned up.
  84366. * @param dir Directive that provided view validators.
  84367. * @returns true if a control was updated as a result of this action.
  84368. */
  84369. function cleanUpFormContainer(control, dir) {
  84370. return cleanUpValidators(control, dir);
  84371. }
  84372. function _noControlError(dir) {
  84373. return _throwError(dir, 'There is no FormControl instance attached to form control element with');
  84374. }
  84375. function _throwError(dir, message) {
  84376. const messageEnd = _describeControlLocation(dir);
  84377. throw new Error(`${message} ${messageEnd}`);
  84378. }
  84379. function _describeControlLocation(dir) {
  84380. const path = dir.path;
  84381. if (path && path.length > 1) return `path: '${path.join(' -> ')}'`;
  84382. if (path === null || path === void 0 ? void 0 : path[0]) return `name: '${path}'`;
  84383. return 'unspecified name attribute';
  84384. }
  84385. function _throwInvalidValueAccessorError(dir) {
  84386. const loc = _describeControlLocation(dir);
  84387. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](1200
  84388. /* RuntimeErrorCode.NG_VALUE_ACCESSOR_NOT_PROVIDED */
  84389. , `Value accessor was not provided as an array for form control with ${loc}. ` + `Check that the \`NG_VALUE_ACCESSOR\` token is configured as a \`multi: true\` provider.`);
  84390. }
  84391. function isPropertyUpdated(changes, viewModel) {
  84392. if (!changes.hasOwnProperty('model')) return false;
  84393. const change = changes['model'];
  84394. if (change.isFirstChange()) return true;
  84395. return !Object.is(viewModel, change.currentValue);
  84396. }
  84397. function isBuiltInAccessor(valueAccessor) {
  84398. // Check if a given value accessor is an instance of a class that directly extends
  84399. // `BuiltInControlValueAccessor` one.
  84400. return Object.getPrototypeOf(valueAccessor.constructor) === BuiltInControlValueAccessor;
  84401. }
  84402. function syncPendingControls(form, directives) {
  84403. form._syncPendingControls();
  84404. directives.forEach(dir => {
  84405. const control = dir.control;
  84406. if (control.updateOn === 'submit' && control._pendingChange) {
  84407. dir.viewToModelUpdate(control._pendingValue);
  84408. control._pendingChange = false;
  84409. }
  84410. });
  84411. } // TODO: vsavkin remove it once https://github.com/angular/angular/issues/3011 is implemented
  84412. function selectValueAccessor(dir, valueAccessors) {
  84413. if (!valueAccessors) return null;
  84414. if (!Array.isArray(valueAccessors) && (typeof ngDevMode === 'undefined' || ngDevMode)) _throwInvalidValueAccessorError(dir);
  84415. let defaultAccessor = undefined;
  84416. let builtinAccessor = undefined;
  84417. let customAccessor = undefined;
  84418. valueAccessors.forEach(v => {
  84419. if (v.constructor === DefaultValueAccessor) {
  84420. defaultAccessor = v;
  84421. } else if (isBuiltInAccessor(v)) {
  84422. if (builtinAccessor && (typeof ngDevMode === 'undefined' || ngDevMode)) _throwError(dir, 'More than one built-in value accessor matches form control with');
  84423. builtinAccessor = v;
  84424. } else {
  84425. if (customAccessor && (typeof ngDevMode === 'undefined' || ngDevMode)) _throwError(dir, 'More than one custom value accessor matches form control with');
  84426. customAccessor = v;
  84427. }
  84428. });
  84429. if (customAccessor) return customAccessor;
  84430. if (builtinAccessor) return builtinAccessor;
  84431. if (defaultAccessor) return defaultAccessor;
  84432. if (typeof ngDevMode === 'undefined' || ngDevMode) {
  84433. _throwError(dir, 'No valid value accessor for form control with');
  84434. }
  84435. return null;
  84436. }
  84437. function removeListItem$1(list, el) {
  84438. const index = list.indexOf(el);
  84439. if (index > -1) list.splice(index, 1);
  84440. } // TODO(kara): remove after deprecation period
  84441. function _ngModelWarning(name, type, instance, warningConfig) {
  84442. if (warningConfig === 'never') return;
  84443. if ((warningConfig === null || warningConfig === 'once') && !type._ngModelWarningSentOnce || warningConfig === 'always' && !instance._ngModelWarningSent) {
  84444. console.warn(ngModelWarning(name));
  84445. type._ngModelWarningSentOnce = true;
  84446. instance._ngModelWarningSent = true;
  84447. }
  84448. }
  84449. /**
  84450. * @license
  84451. * Copyright Google LLC All Rights Reserved.
  84452. *
  84453. * Use of this source code is governed by an MIT-style license that can be
  84454. * found in the LICENSE file at https://angular.io/license
  84455. */
  84456. const formDirectiveProvider$1 = {
  84457. provide: ControlContainer,
  84458. useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => NgForm)
  84459. };
  84460. const resolvedPromise$1 = (() => Promise.resolve())();
  84461. /**
  84462. * @description
  84463. * Creates a top-level `FormGroup` instance and binds it to a form
  84464. * to track aggregate form value and validation status.
  84465. *
  84466. * As soon as you import the `FormsModule`, this directive becomes active by default on
  84467. * all `<form>` tags. You don't need to add a special selector.
  84468. *
  84469. * You optionally export the directive into a local template variable using `ngForm` as the key
  84470. * (ex: `#myForm="ngForm"`). This is optional, but useful. Many properties from the underlying
  84471. * `FormGroup` instance are duplicated on the directive itself, so a reference to it
  84472. * gives you access to the aggregate value and validity status of the form, as well as
  84473. * user interaction properties like `dirty` and `touched`.
  84474. *
  84475. * To register child controls with the form, use `NgModel` with a `name`
  84476. * attribute. You may use `NgModelGroup` to create sub-groups within the form.
  84477. *
  84478. * If necessary, listen to the directive's `ngSubmit` event to be notified when the user has
  84479. * triggered a form submission. The `ngSubmit` event emits the original form
  84480. * submission event.
  84481. *
  84482. * In template driven forms, all `<form>` tags are automatically tagged as `NgForm`.
  84483. * To import the `FormsModule` but skip its usage in some forms,
  84484. * for example, to use native HTML5 validation, add the `ngNoForm` and the `<form>`
  84485. * tags won't create an `NgForm` directive. In reactive forms, using `ngNoForm` is
  84486. * unnecessary because the `<form>` tags are inert. In that case, you would
  84487. * refrain from using the `formGroup` directive.
  84488. *
  84489. * @usageNotes
  84490. *
  84491. * ### Listening for form submission
  84492. *
  84493. * The following example shows how to capture the form values from the "ngSubmit" event.
  84494. *
  84495. * {@example forms/ts/simpleForm/simple_form_example.ts region='Component'}
  84496. *
  84497. * ### Setting the update options
  84498. *
  84499. * The following example shows you how to change the "updateOn" option from its default using
  84500. * ngFormOptions.
  84501. *
  84502. * ```html
  84503. * <form [ngFormOptions]="{updateOn: 'blur'}">
  84504. * <input name="one" ngModel> <!-- this ngModel will update on blur -->
  84505. * </form>
  84506. * ```
  84507. *
  84508. * ### Native DOM validation UI
  84509. *
  84510. * In order to prevent the native DOM form validation UI from interfering with Angular's form
  84511. * validation, Angular automatically adds the `novalidate` attribute on any `<form>` whenever
  84512. * `FormModule` or `ReactiveFormModule` are imported into the application.
  84513. * If you want to explicitly enable native DOM validation UI with Angular forms, you can add the
  84514. * `ngNativeValidate` attribute to the `<form>` element:
  84515. *
  84516. * ```html
  84517. * <form ngNativeValidate>
  84518. * ...
  84519. * </form>
  84520. * ```
  84521. *
  84522. * @ngModule FormsModule
  84523. * @publicApi
  84524. */
  84525. class NgForm extends ControlContainer {
  84526. constructor(validators, asyncValidators) {
  84527. super();
  84528. /**
  84529. * @description
  84530. * Returns whether the form submission has been triggered.
  84531. */
  84532. this.submitted = false;
  84533. this._directives = new Set();
  84534. /**
  84535. * @description
  84536. * Event emitter for the "ngSubmit" event
  84537. */
  84538. this.ngSubmit = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
  84539. this.form = new FormGroup({}, composeValidators(validators), composeAsyncValidators(asyncValidators));
  84540. }
  84541. /** @nodoc */
  84542. ngAfterViewInit() {
  84543. this._setUpdateStrategy();
  84544. }
  84545. /**
  84546. * @description
  84547. * The directive instance.
  84548. */
  84549. get formDirective() {
  84550. return this;
  84551. }
  84552. /**
  84553. * @description
  84554. * The internal `FormGroup` instance.
  84555. */
  84556. get control() {
  84557. return this.form;
  84558. }
  84559. /**
  84560. * @description
  84561. * Returns an array representing the path to this group. Because this directive
  84562. * always lives at the top level of a form, it is always an empty array.
  84563. */
  84564. get path() {
  84565. return [];
  84566. }
  84567. /**
  84568. * @description
  84569. * Returns a map of the controls in this group.
  84570. */
  84571. get controls() {
  84572. return this.form.controls;
  84573. }
  84574. /**
  84575. * @description
  84576. * Method that sets up the control directive in this group, re-calculates its value
  84577. * and validity, and adds the instance to the internal list of directives.
  84578. *
  84579. * @param dir The `NgModel` directive instance.
  84580. */
  84581. addControl(dir) {
  84582. resolvedPromise$1.then(() => {
  84583. const container = this._findContainer(dir.path);
  84584. dir.control = container.registerControl(dir.name, dir.control);
  84585. setUpControl(dir.control, dir);
  84586. dir.control.updateValueAndValidity({
  84587. emitEvent: false
  84588. });
  84589. this._directives.add(dir);
  84590. });
  84591. }
  84592. /**
  84593. * @description
  84594. * Retrieves the `FormControl` instance from the provided `NgModel` directive.
  84595. *
  84596. * @param dir The `NgModel` directive instance.
  84597. */
  84598. getControl(dir) {
  84599. return this.form.get(dir.path);
  84600. }
  84601. /**
  84602. * @description
  84603. * Removes the `NgModel` instance from the internal list of directives
  84604. *
  84605. * @param dir The `NgModel` directive instance.
  84606. */
  84607. removeControl(dir) {
  84608. resolvedPromise$1.then(() => {
  84609. const container = this._findContainer(dir.path);
  84610. if (container) {
  84611. container.removeControl(dir.name);
  84612. }
  84613. this._directives.delete(dir);
  84614. });
  84615. }
  84616. /**
  84617. * @description
  84618. * Adds a new `NgModelGroup` directive instance to the form.
  84619. *
  84620. * @param dir The `NgModelGroup` directive instance.
  84621. */
  84622. addFormGroup(dir) {
  84623. resolvedPromise$1.then(() => {
  84624. const container = this._findContainer(dir.path);
  84625. const group = new FormGroup({});
  84626. setUpFormContainer(group, dir);
  84627. container.registerControl(dir.name, group);
  84628. group.updateValueAndValidity({
  84629. emitEvent: false
  84630. });
  84631. });
  84632. }
  84633. /**
  84634. * @description
  84635. * Removes the `NgModelGroup` directive instance from the form.
  84636. *
  84637. * @param dir The `NgModelGroup` directive instance.
  84638. */
  84639. removeFormGroup(dir) {
  84640. resolvedPromise$1.then(() => {
  84641. const container = this._findContainer(dir.path);
  84642. if (container) {
  84643. container.removeControl(dir.name);
  84644. }
  84645. });
  84646. }
  84647. /**
  84648. * @description
  84649. * Retrieves the `FormGroup` for a provided `NgModelGroup` directive instance
  84650. *
  84651. * @param dir The `NgModelGroup` directive instance.
  84652. */
  84653. getFormGroup(dir) {
  84654. return this.form.get(dir.path);
  84655. }
  84656. /**
  84657. * Sets the new value for the provided `NgControl` directive.
  84658. *
  84659. * @param dir The `NgControl` directive instance.
  84660. * @param value The new value for the directive's control.
  84661. */
  84662. updateModel(dir, value) {
  84663. resolvedPromise$1.then(() => {
  84664. const ctrl = this.form.get(dir.path);
  84665. ctrl.setValue(value);
  84666. });
  84667. }
  84668. /**
  84669. * @description
  84670. * Sets the value for this `FormGroup`.
  84671. *
  84672. * @param value The new value
  84673. */
  84674. setValue(value) {
  84675. this.control.setValue(value);
  84676. }
  84677. /**
  84678. * @description
  84679. * Method called when the "submit" event is triggered on the form.
  84680. * Triggers the `ngSubmit` emitter to emit the "submit" event as its payload.
  84681. *
  84682. * @param $event The "submit" event object
  84683. */
  84684. onSubmit($event) {
  84685. var _a;
  84686. this.submitted = true;
  84687. syncPendingControls(this.form, this._directives);
  84688. this.ngSubmit.emit($event); // Forms with `method="dialog"` have some special behavior
  84689. // that won't reload the page and that shouldn't be prevented.
  84690. return ((_a = $event === null || $event === void 0 ? void 0 : $event.target) === null || _a === void 0 ? void 0 : _a.method) === 'dialog';
  84691. }
  84692. /**
  84693. * @description
  84694. * Method called when the "reset" event is triggered on the form.
  84695. */
  84696. onReset() {
  84697. this.resetForm();
  84698. }
  84699. /**
  84700. * @description
  84701. * Resets the form to an initial value and resets its submitted status.
  84702. *
  84703. * @param value The new value for the form.
  84704. */
  84705. resetForm(value = undefined) {
  84706. this.form.reset(value);
  84707. this.submitted = false;
  84708. }
  84709. _setUpdateStrategy() {
  84710. if (this.options && this.options.updateOn != null) {
  84711. this.form._updateOn = this.options.updateOn;
  84712. }
  84713. }
  84714. _findContainer(path) {
  84715. path.pop();
  84716. return path.length ? this.form.get(path) : this.form;
  84717. }
  84718. }
  84719. NgForm.ɵfac = function NgForm_Factory(t) {
  84720. return new (t || NgForm)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NG_VALIDATORS, 10), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NG_ASYNC_VALIDATORS, 10));
  84721. };
  84722. NgForm.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  84723. type: NgForm,
  84724. selectors: [["form", 3, "ngNoForm", "", 3, "formGroup", ""], ["ng-form"], ["", "ngForm", ""]],
  84725. hostBindings: function NgForm_HostBindings(rf, ctx) {
  84726. if (rf & 1) {
  84727. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("submit", function NgForm_submit_HostBindingHandler($event) {
  84728. return ctx.onSubmit($event);
  84729. })("reset", function NgForm_reset_HostBindingHandler() {
  84730. return ctx.onReset();
  84731. });
  84732. }
  84733. },
  84734. inputs: {
  84735. options: ["ngFormOptions", "options"]
  84736. },
  84737. outputs: {
  84738. ngSubmit: "ngSubmit"
  84739. },
  84740. exportAs: ["ngForm"],
  84741. features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([formDirectiveProvider$1]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
  84742. });
  84743. (function () {
  84744. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgForm, [{
  84745. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  84746. args: [{
  84747. selector: 'form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]',
  84748. providers: [formDirectiveProvider$1],
  84749. host: {
  84750. '(submit)': 'onSubmit($event)',
  84751. '(reset)': 'onReset()'
  84752. },
  84753. outputs: ['ngSubmit'],
  84754. exportAs: 'ngForm'
  84755. }]
  84756. }], function () {
  84757. return [{
  84758. type: undefined,
  84759. decorators: [{
  84760. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  84761. }, {
  84762. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
  84763. }, {
  84764. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
  84765. args: [NG_VALIDATORS]
  84766. }]
  84767. }, {
  84768. type: undefined,
  84769. decorators: [{
  84770. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  84771. }, {
  84772. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
  84773. }, {
  84774. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
  84775. args: [NG_ASYNC_VALIDATORS]
  84776. }]
  84777. }];
  84778. }, {
  84779. options: [{
  84780. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
  84781. args: ['ngFormOptions']
  84782. }]
  84783. });
  84784. })();
  84785. /**
  84786. * @license
  84787. * Copyright Google LLC All Rights Reserved.
  84788. *
  84789. * Use of this source code is governed by an MIT-style license that can be
  84790. * found in the LICENSE file at https://angular.io/license
  84791. */
  84792. function removeListItem(list, el) {
  84793. const index = list.indexOf(el);
  84794. if (index > -1) list.splice(index, 1);
  84795. }
  84796. /**
  84797. * @license
  84798. * Copyright Google LLC All Rights Reserved.
  84799. *
  84800. * Use of this source code is governed by an MIT-style license that can be
  84801. * found in the LICENSE file at https://angular.io/license
  84802. */
  84803. function isFormControlState(formState) {
  84804. return typeof formState === 'object' && formState !== null && Object.keys(formState).length === 2 && 'value' in formState && 'disabled' in formState;
  84805. }
  84806. const FormControl = class FormControl extends AbstractControl {
  84807. constructor( // formState and defaultValue will only be null if T is nullable
  84808. formState = null, validatorOrOpts, asyncValidator) {
  84809. super(pickValidators(validatorOrOpts), pickAsyncValidators(asyncValidator, validatorOrOpts));
  84810. /** @publicApi */
  84811. this.defaultValue = null;
  84812. /** @internal */
  84813. this._onChange = [];
  84814. /** @internal */
  84815. this._pendingChange = false;
  84816. this._applyFormState(formState);
  84817. this._setUpdateStrategy(validatorOrOpts);
  84818. this._initObservables();
  84819. this.updateValueAndValidity({
  84820. onlySelf: true,
  84821. // If `asyncValidator` is present, it will trigger control status change from `PENDING` to
  84822. // `VALID` or `INVALID`.
  84823. // The status should be broadcasted via the `statusChanges` observable, so we set
  84824. // `emitEvent` to `true` to allow that during the control creation process.
  84825. emitEvent: !!this.asyncValidator
  84826. });
  84827. if (isOptionsObj(validatorOrOpts) && (validatorOrOpts.nonNullable || validatorOrOpts.initialValueIsDefault)) {
  84828. if (isFormControlState(formState)) {
  84829. this.defaultValue = formState.value;
  84830. } else {
  84831. this.defaultValue = formState;
  84832. }
  84833. }
  84834. }
  84835. setValue(value, options = {}) {
  84836. this.value = this._pendingValue = value;
  84837. if (this._onChange.length && options.emitModelToViewChange !== false) {
  84838. this._onChange.forEach(changeFn => changeFn(this.value, options.emitViewToModelChange !== false));
  84839. }
  84840. this.updateValueAndValidity(options);
  84841. }
  84842. patchValue(value, options = {}) {
  84843. this.setValue(value, options);
  84844. }
  84845. reset(formState = this.defaultValue, options = {}) {
  84846. this._applyFormState(formState);
  84847. this.markAsPristine(options);
  84848. this.markAsUntouched(options);
  84849. this.setValue(this.value, options);
  84850. this._pendingChange = false;
  84851. }
  84852. /** @internal */
  84853. _updateValue() {}
  84854. /** @internal */
  84855. _anyControls(condition) {
  84856. return false;
  84857. }
  84858. /** @internal */
  84859. _allControlsDisabled() {
  84860. return this.disabled;
  84861. }
  84862. registerOnChange(fn) {
  84863. this._onChange.push(fn);
  84864. }
  84865. /** @internal */
  84866. _unregisterOnChange(fn) {
  84867. removeListItem(this._onChange, fn);
  84868. }
  84869. registerOnDisabledChange(fn) {
  84870. this._onDisabledChange.push(fn);
  84871. }
  84872. /** @internal */
  84873. _unregisterOnDisabledChange(fn) {
  84874. removeListItem(this._onDisabledChange, fn);
  84875. }
  84876. /** @internal */
  84877. _forEachChild(cb) {}
  84878. /** @internal */
  84879. _syncPendingControls() {
  84880. if (this.updateOn === 'submit') {
  84881. if (this._pendingDirty) this.markAsDirty();
  84882. if (this._pendingTouched) this.markAsTouched();
  84883. if (this._pendingChange) {
  84884. this.setValue(this._pendingValue, {
  84885. onlySelf: true,
  84886. emitModelToViewChange: false
  84887. });
  84888. return true;
  84889. }
  84890. }
  84891. return false;
  84892. }
  84893. _applyFormState(formState) {
  84894. if (isFormControlState(formState)) {
  84895. this.value = this._pendingValue = formState.value;
  84896. formState.disabled ? this.disable({
  84897. onlySelf: true,
  84898. emitEvent: false
  84899. }) : this.enable({
  84900. onlySelf: true,
  84901. emitEvent: false
  84902. });
  84903. } else {
  84904. this.value = this._pendingValue = formState;
  84905. }
  84906. }
  84907. };
  84908. const UntypedFormControl = FormControl;
  84909. const isFormControl = control => control instanceof FormControl;
  84910. /**
  84911. * @license
  84912. * Copyright Google LLC All Rights Reserved.
  84913. *
  84914. * Use of this source code is governed by an MIT-style license that can be
  84915. * found in the LICENSE file at https://angular.io/license
  84916. */
  84917. /**
  84918. * @description
  84919. * A base class for code shared between the `NgModelGroup` and `FormGroupName` directives.
  84920. *
  84921. * @publicApi
  84922. */
  84923. class AbstractFormGroupDirective extends ControlContainer {
  84924. /** @nodoc */
  84925. ngOnInit() {
  84926. this._checkParentType(); // Register the group with its parent group.
  84927. this.formDirective.addFormGroup(this);
  84928. }
  84929. /** @nodoc */
  84930. ngOnDestroy() {
  84931. if (this.formDirective) {
  84932. // Remove the group from its parent group.
  84933. this.formDirective.removeFormGroup(this);
  84934. }
  84935. }
  84936. /**
  84937. * @description
  84938. * The `FormGroup` bound to this directive.
  84939. */
  84940. get control() {
  84941. return this.formDirective.getFormGroup(this);
  84942. }
  84943. /**
  84944. * @description
  84945. * The path to this group from the top-level directive.
  84946. */
  84947. get path() {
  84948. return controlPath(this.name == null ? this.name : this.name.toString(), this._parent);
  84949. }
  84950. /**
  84951. * @description
  84952. * The top-level directive for this group if present, otherwise null.
  84953. */
  84954. get formDirective() {
  84955. return this._parent ? this._parent.formDirective : null;
  84956. }
  84957. /** @internal */
  84958. _checkParentType() {}
  84959. }
  84960. AbstractFormGroupDirective.ɵfac = /* @__PURE__ */function () {
  84961. let ɵAbstractFormGroupDirective_BaseFactory;
  84962. return function AbstractFormGroupDirective_Factory(t) {
  84963. return (ɵAbstractFormGroupDirective_BaseFactory || (ɵAbstractFormGroupDirective_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](AbstractFormGroupDirective)))(t || AbstractFormGroupDirective);
  84964. };
  84965. }();
  84966. AbstractFormGroupDirective.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  84967. type: AbstractFormGroupDirective,
  84968. features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
  84969. });
  84970. (function () {
  84971. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AbstractFormGroupDirective, [{
  84972. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive
  84973. }], null, null);
  84974. })();
  84975. /**
  84976. * @license
  84977. * Copyright Google LLC All Rights Reserved.
  84978. *
  84979. * Use of this source code is governed by an MIT-style license that can be
  84980. * found in the LICENSE file at https://angular.io/license
  84981. */
  84982. function modelParentException() {
  84983. return new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](1350
  84984. /* RuntimeErrorCode.NGMODEL_IN_FORM_GROUP */
  84985. , `
  84986. ngModel cannot be used to register form controls with a parent formGroup directive. Try using
  84987. formGroup's partner directive "formControlName" instead. Example:
  84988. ${formControlNameExample}
  84989. Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:
  84990. Example:
  84991. ${ngModelWithFormGroupExample}`);
  84992. }
  84993. function formGroupNameException() {
  84994. return new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](1351
  84995. /* RuntimeErrorCode.NGMODEL_IN_FORM_GROUP_NAME */
  84996. , `
  84997. ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.
  84998. Option 1: Use formControlName instead of ngModel (reactive strategy):
  84999. ${formGroupNameExample}
  85000. Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):
  85001. ${ngModelGroupExample}`);
  85002. }
  85003. function missingNameException() {
  85004. return new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](1352
  85005. /* RuntimeErrorCode.NGMODEL_WITHOUT_NAME */
  85006. , `If ngModel is used within a form tag, either the name attribute must be set or the form
  85007. control must be defined as 'standalone' in ngModelOptions.
  85008. Example 1: <input [(ngModel)]="person.firstName" name="first">
  85009. Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">`);
  85010. }
  85011. function modelGroupParentException() {
  85012. return new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](1353
  85013. /* RuntimeErrorCode.NGMODELGROUP_IN_FORM_GROUP */
  85014. , `
  85015. ngModelGroup cannot be used with a parent formGroup directive.
  85016. Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):
  85017. ${formGroupNameExample}
  85018. Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):
  85019. ${ngModelGroupExample}`);
  85020. }
  85021. /**
  85022. * @license
  85023. * Copyright Google LLC All Rights Reserved.
  85024. *
  85025. * Use of this source code is governed by an MIT-style license that can be
  85026. * found in the LICENSE file at https://angular.io/license
  85027. */
  85028. const modelGroupProvider = {
  85029. provide: ControlContainer,
  85030. useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => NgModelGroup)
  85031. };
  85032. /**
  85033. * @description
  85034. * Creates and binds a `FormGroup` instance to a DOM element.
  85035. *
  85036. * This directive can only be used as a child of `NgForm` (within `<form>` tags).
  85037. *
  85038. * Use this directive to validate a sub-group of your form separately from the
  85039. * rest of your form, or if some values in your domain model make more sense
  85040. * to consume together in a nested object.
  85041. *
  85042. * Provide a name for the sub-group and it will become the key
  85043. * for the sub-group in the form's full value. If you need direct access, export the directive into
  85044. * a local template variable using `ngModelGroup` (ex: `#myGroup="ngModelGroup"`).
  85045. *
  85046. * @usageNotes
  85047. *
  85048. * ### Consuming controls in a grouping
  85049. *
  85050. * The following example shows you how to combine controls together in a sub-group
  85051. * of the form.
  85052. *
  85053. * {@example forms/ts/ngModelGroup/ng_model_group_example.ts region='Component'}
  85054. *
  85055. * @ngModule FormsModule
  85056. * @publicApi
  85057. */
  85058. class NgModelGroup extends AbstractFormGroupDirective {
  85059. constructor(parent, validators, asyncValidators) {
  85060. super();
  85061. this._parent = parent;
  85062. this._setValidators(validators);
  85063. this._setAsyncValidators(asyncValidators);
  85064. }
  85065. /** @internal */
  85066. _checkParentType() {
  85067. if (!(this._parent instanceof NgModelGroup) && !(this._parent instanceof NgForm) && (typeof ngDevMode === 'undefined' || ngDevMode)) {
  85068. throw modelGroupParentException();
  85069. }
  85070. }
  85071. }
  85072. NgModelGroup.ɵfac = function NgModelGroup_Factory(t) {
  85073. return new (t || NgModelGroup)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](ControlContainer, 5), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NG_VALIDATORS, 10), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NG_ASYNC_VALIDATORS, 10));
  85074. };
  85075. NgModelGroup.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  85076. type: NgModelGroup,
  85077. selectors: [["", "ngModelGroup", ""]],
  85078. inputs: {
  85079. name: ["ngModelGroup", "name"]
  85080. },
  85081. exportAs: ["ngModelGroup"],
  85082. features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([modelGroupProvider]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
  85083. });
  85084. (function () {
  85085. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgModelGroup, [{
  85086. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  85087. args: [{
  85088. selector: '[ngModelGroup]',
  85089. providers: [modelGroupProvider],
  85090. exportAs: 'ngModelGroup'
  85091. }]
  85092. }], function () {
  85093. return [{
  85094. type: ControlContainer,
  85095. decorators: [{
  85096. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Host
  85097. }, {
  85098. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.SkipSelf
  85099. }]
  85100. }, {
  85101. type: undefined,
  85102. decorators: [{
  85103. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  85104. }, {
  85105. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
  85106. }, {
  85107. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
  85108. args: [NG_VALIDATORS]
  85109. }]
  85110. }, {
  85111. type: undefined,
  85112. decorators: [{
  85113. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  85114. }, {
  85115. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
  85116. }, {
  85117. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
  85118. args: [NG_ASYNC_VALIDATORS]
  85119. }]
  85120. }];
  85121. }, {
  85122. name: [{
  85123. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
  85124. args: ['ngModelGroup']
  85125. }]
  85126. });
  85127. })();
  85128. /**
  85129. * @license
  85130. * Copyright Google LLC All Rights Reserved.
  85131. *
  85132. * Use of this source code is governed by an MIT-style license that can be
  85133. * found in the LICENSE file at https://angular.io/license
  85134. */
  85135. const formControlBinding$1 = {
  85136. provide: NgControl,
  85137. useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => NgModel)
  85138. };
  85139. /**
  85140. * `ngModel` forces an additional change detection run when its inputs change:
  85141. * E.g.:
  85142. * ```
  85143. * <div>{{myModel.valid}}</div>
  85144. * <input [(ngModel)]="myValue" #myModel="ngModel">
  85145. * ```
  85146. * I.e. `ngModel` can export itself on the element and then be used in the template.
  85147. * Normally, this would result in expressions before the `input` that use the exported directive
  85148. * to have an old value as they have been
  85149. * dirty checked before. As this is a very common case for `ngModel`, we added this second change
  85150. * detection run.
  85151. *
  85152. * Notes:
  85153. * - this is just one extra run no matter how many `ngModel`s have been changed.
  85154. * - this is a general problem when using `exportAs` for directives!
  85155. */
  85156. const resolvedPromise = (() => Promise.resolve())();
  85157. /**
  85158. * @description
  85159. * Creates a `FormControl` instance from a domain model and binds it
  85160. * to a form control element.
  85161. *
  85162. * The `FormControl` instance tracks the value, user interaction, and
  85163. * validation status of the control and keeps the view synced with the model. If used
  85164. * within a parent form, the directive also registers itself with the form as a child
  85165. * control.
  85166. *
  85167. * This directive is used by itself or as part of a larger form. Use the
  85168. * `ngModel` selector to activate it.
  85169. *
  85170. * It accepts a domain model as an optional `Input`. If you have a one-way binding
  85171. * to `ngModel` with `[]` syntax, changing the domain model's value in the component
  85172. * class sets the value in the view. If you have a two-way binding with `[()]` syntax
  85173. * (also known as 'banana-in-a-box syntax'), the value in the UI always syncs back to
  85174. * the domain model in your class.
  85175. *
  85176. * To inspect the properties of the associated `FormControl` (like the validity state),
  85177. * export the directive into a local template variable using `ngModel` as the key (ex:
  85178. * `#myVar="ngModel"`). You can then access the control using the directive's `control` property.
  85179. * However, the most commonly used properties (like `valid` and `dirty`) also exist on the control
  85180. * for direct access. See a full list of properties directly available in
  85181. * `AbstractControlDirective`.
  85182. *
  85183. * @see `RadioControlValueAccessor`
  85184. * @see `SelectControlValueAccessor`
  85185. *
  85186. * @usageNotes
  85187. *
  85188. * ### Using ngModel on a standalone control
  85189. *
  85190. * The following examples show a simple standalone control using `ngModel`:
  85191. *
  85192. * {@example forms/ts/simpleNgModel/simple_ng_model_example.ts region='Component'}
  85193. *
  85194. * When using the `ngModel` within `<form>` tags, you'll also need to supply a `name` attribute
  85195. * so that the control can be registered with the parent form under that name.
  85196. *
  85197. * In the context of a parent form, it's often unnecessary to include one-way or two-way binding,
  85198. * as the parent form syncs the value for you. You access its properties by exporting it into a
  85199. * local template variable using `ngForm` such as (`#f="ngForm"`). Use the variable where
  85200. * needed on form submission.
  85201. *
  85202. * If you do need to populate initial values into your form, using a one-way binding for
  85203. * `ngModel` tends to be sufficient as long as you use the exported form's value rather
  85204. * than the domain model's value on submit.
  85205. *
  85206. * ### Using ngModel within a form
  85207. *
  85208. * The following example shows controls using `ngModel` within a form:
  85209. *
  85210. * {@example forms/ts/simpleForm/simple_form_example.ts region='Component'}
  85211. *
  85212. * ### Using a standalone ngModel within a group
  85213. *
  85214. * The following example shows you how to use a standalone ngModel control
  85215. * within a form. This controls the display of the form, but doesn't contain form data.
  85216. *
  85217. * ```html
  85218. * <form>
  85219. * <input name="login" ngModel placeholder="Login">
  85220. * <input type="checkbox" ngModel [ngModelOptions]="{standalone: true}"> Show more options?
  85221. * </form>
  85222. * <!-- form value: {login: ''} -->
  85223. * ```
  85224. *
  85225. * ### Setting the ngModel `name` attribute through options
  85226. *
  85227. * The following example shows you an alternate way to set the name attribute. Here,
  85228. * an attribute identified as name is used within a custom form control component. To still be able
  85229. * to specify the NgModel's name, you must specify it using the `ngModelOptions` input instead.
  85230. *
  85231. * ```html
  85232. * <form>
  85233. * <my-custom-form-control name="Nancy" ngModel [ngModelOptions]="{name: 'user'}">
  85234. * </my-custom-form-control>
  85235. * </form>
  85236. * <!-- form value: {user: ''} -->
  85237. * ```
  85238. *
  85239. * @ngModule FormsModule
  85240. * @publicApi
  85241. */
  85242. class NgModel extends NgControl {
  85243. constructor(parent, validators, asyncValidators, valueAccessors, _changeDetectorRef) {
  85244. super();
  85245. this._changeDetectorRef = _changeDetectorRef;
  85246. this.control = new FormControl();
  85247. /** @internal */
  85248. this._registered = false;
  85249. /**
  85250. * @description
  85251. * Event emitter for producing the `ngModelChange` event after
  85252. * the view model updates.
  85253. */
  85254. this.update = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
  85255. this._parent = parent;
  85256. this._setValidators(validators);
  85257. this._setAsyncValidators(asyncValidators);
  85258. this.valueAccessor = selectValueAccessor(this, valueAccessors);
  85259. }
  85260. /** @nodoc */
  85261. ngOnChanges(changes) {
  85262. this._checkForErrors();
  85263. if (!this._registered || 'name' in changes) {
  85264. if (this._registered) {
  85265. this._checkName();
  85266. if (this.formDirective) {
  85267. // We can't call `formDirective.removeControl(this)`, because the `name` has already been
  85268. // changed. We also can't reset the name temporarily since the logic in `removeControl`
  85269. // is inside a promise and it won't run immediately. We work around it by giving it an
  85270. // object with the same shape instead.
  85271. const oldName = changes['name'].previousValue;
  85272. this.formDirective.removeControl({
  85273. name: oldName,
  85274. path: this._getPath(oldName)
  85275. });
  85276. }
  85277. }
  85278. this._setUpControl();
  85279. }
  85280. if ('isDisabled' in changes) {
  85281. this._updateDisabled(changes);
  85282. }
  85283. if (isPropertyUpdated(changes, this.viewModel)) {
  85284. this._updateValue(this.model);
  85285. this.viewModel = this.model;
  85286. }
  85287. }
  85288. /** @nodoc */
  85289. ngOnDestroy() {
  85290. this.formDirective && this.formDirective.removeControl(this);
  85291. }
  85292. /**
  85293. * @description
  85294. * Returns an array that represents the path from the top-level form to this control.
  85295. * Each index is the string name of the control on that level.
  85296. */
  85297. get path() {
  85298. return this._getPath(this.name);
  85299. }
  85300. /**
  85301. * @description
  85302. * The top-level directive for this control if present, otherwise null.
  85303. */
  85304. get formDirective() {
  85305. return this._parent ? this._parent.formDirective : null;
  85306. }
  85307. /**
  85308. * @description
  85309. * Sets the new value for the view model and emits an `ngModelChange` event.
  85310. *
  85311. * @param newValue The new value emitted by `ngModelChange`.
  85312. */
  85313. viewToModelUpdate(newValue) {
  85314. this.viewModel = newValue;
  85315. this.update.emit(newValue);
  85316. }
  85317. _setUpControl() {
  85318. this._setUpdateStrategy();
  85319. this._isStandalone() ? this._setUpStandalone() : this.formDirective.addControl(this);
  85320. this._registered = true;
  85321. }
  85322. _setUpdateStrategy() {
  85323. if (this.options && this.options.updateOn != null) {
  85324. this.control._updateOn = this.options.updateOn;
  85325. }
  85326. }
  85327. _isStandalone() {
  85328. return !this._parent || !!(this.options && this.options.standalone);
  85329. }
  85330. _setUpStandalone() {
  85331. setUpControl(this.control, this);
  85332. this.control.updateValueAndValidity({
  85333. emitEvent: false
  85334. });
  85335. }
  85336. _checkForErrors() {
  85337. if (!this._isStandalone()) {
  85338. this._checkParentType();
  85339. }
  85340. this._checkName();
  85341. }
  85342. _checkParentType() {
  85343. if (typeof ngDevMode === 'undefined' || ngDevMode) {
  85344. if (!(this._parent instanceof NgModelGroup) && this._parent instanceof AbstractFormGroupDirective) {
  85345. throw formGroupNameException();
  85346. } else if (!(this._parent instanceof NgModelGroup) && !(this._parent instanceof NgForm)) {
  85347. throw modelParentException();
  85348. }
  85349. }
  85350. }
  85351. _checkName() {
  85352. if (this.options && this.options.name) this.name = this.options.name;
  85353. if (!this._isStandalone() && !this.name && (typeof ngDevMode === 'undefined' || ngDevMode)) {
  85354. throw missingNameException();
  85355. }
  85356. }
  85357. _updateValue(value) {
  85358. resolvedPromise.then(() => {
  85359. var _a;
  85360. this.control.setValue(value, {
  85361. emitViewToModelChange: false
  85362. });
  85363. (_a = this._changeDetectorRef) === null || _a === void 0 ? void 0 : _a.markForCheck();
  85364. });
  85365. }
  85366. _updateDisabled(changes) {
  85367. const disabledValue = changes['isDisabled'].currentValue; // checking for 0 to avoid breaking change
  85368. const isDisabled = disabledValue !== 0 && (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcoerceToBoolean"])(disabledValue);
  85369. resolvedPromise.then(() => {
  85370. var _a;
  85371. if (isDisabled && !this.control.disabled) {
  85372. this.control.disable();
  85373. } else if (!isDisabled && this.control.disabled) {
  85374. this.control.enable();
  85375. }
  85376. (_a = this._changeDetectorRef) === null || _a === void 0 ? void 0 : _a.markForCheck();
  85377. });
  85378. }
  85379. _getPath(controlName) {
  85380. return this._parent ? controlPath(controlName, this._parent) : [controlName];
  85381. }
  85382. }
  85383. NgModel.ɵfac = function NgModel_Factory(t) {
  85384. return new (t || NgModel)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](ControlContainer, 9), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NG_VALIDATORS, 10), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NG_ASYNC_VALIDATORS, 10), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NG_VALUE_ACCESSOR, 10), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ChangeDetectorRef, 8));
  85385. };
  85386. NgModel.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  85387. type: NgModel,
  85388. selectors: [["", "ngModel", "", 3, "formControlName", "", 3, "formControl", ""]],
  85389. inputs: {
  85390. name: "name",
  85391. isDisabled: ["disabled", "isDisabled"],
  85392. model: ["ngModel", "model"],
  85393. options: ["ngModelOptions", "options"]
  85394. },
  85395. outputs: {
  85396. update: "ngModelChange"
  85397. },
  85398. exportAs: ["ngModel"],
  85399. features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([formControlBinding$1]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]]
  85400. });
  85401. (function () {
  85402. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgModel, [{
  85403. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  85404. args: [{
  85405. selector: '[ngModel]:not([formControlName]):not([formControl])',
  85406. providers: [formControlBinding$1],
  85407. exportAs: 'ngModel'
  85408. }]
  85409. }], function () {
  85410. return [{
  85411. type: ControlContainer,
  85412. decorators: [{
  85413. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  85414. }, {
  85415. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Host
  85416. }]
  85417. }, {
  85418. type: undefined,
  85419. decorators: [{
  85420. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  85421. }, {
  85422. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
  85423. }, {
  85424. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
  85425. args: [NG_VALIDATORS]
  85426. }]
  85427. }, {
  85428. type: undefined,
  85429. decorators: [{
  85430. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  85431. }, {
  85432. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
  85433. }, {
  85434. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
  85435. args: [NG_ASYNC_VALIDATORS]
  85436. }]
  85437. }, {
  85438. type: undefined,
  85439. decorators: [{
  85440. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  85441. }, {
  85442. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
  85443. }, {
  85444. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
  85445. args: [NG_VALUE_ACCESSOR]
  85446. }]
  85447. }, {
  85448. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ChangeDetectorRef,
  85449. decorators: [{
  85450. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  85451. }, {
  85452. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
  85453. args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__.ChangeDetectorRef]
  85454. }]
  85455. }];
  85456. }, {
  85457. name: [{
  85458. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  85459. }],
  85460. isDisabled: [{
  85461. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
  85462. args: ['disabled']
  85463. }],
  85464. model: [{
  85465. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
  85466. args: ['ngModel']
  85467. }],
  85468. options: [{
  85469. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
  85470. args: ['ngModelOptions']
  85471. }],
  85472. update: [{
  85473. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Output,
  85474. args: ['ngModelChange']
  85475. }]
  85476. });
  85477. })();
  85478. /**
  85479. * @license
  85480. * Copyright Google LLC All Rights Reserved.
  85481. *
  85482. * Use of this source code is governed by an MIT-style license that can be
  85483. * found in the LICENSE file at https://angular.io/license
  85484. */
  85485. /**
  85486. * @description
  85487. *
  85488. * Adds `novalidate` attribute to all forms by default.
  85489. *
  85490. * `novalidate` is used to disable browser's native form validation.
  85491. *
  85492. * If you want to use native validation with Angular forms, just add `ngNativeValidate` attribute:
  85493. *
  85494. * ```
  85495. * <form ngNativeValidate></form>
  85496. * ```
  85497. *
  85498. * @publicApi
  85499. * @ngModule ReactiveFormsModule
  85500. * @ngModule FormsModule
  85501. */
  85502. class ɵNgNoValidate {}
  85503. ɵNgNoValidate.ɵfac = function ɵNgNoValidate_Factory(t) {
  85504. return new (t || ɵNgNoValidate)();
  85505. };
  85506. ɵNgNoValidate.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  85507. type: ɵNgNoValidate,
  85508. selectors: [["form", 3, "ngNoForm", "", 3, "ngNativeValidate", ""]],
  85509. hostAttrs: ["novalidate", ""]
  85510. });
  85511. (function () {
  85512. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ɵNgNoValidate, [{
  85513. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  85514. args: [{
  85515. selector: 'form:not([ngNoForm]):not([ngNativeValidate])',
  85516. host: {
  85517. 'novalidate': ''
  85518. }
  85519. }]
  85520. }], null, null);
  85521. })();
  85522. /**
  85523. * @license
  85524. * Copyright Google LLC All Rights Reserved.
  85525. *
  85526. * Use of this source code is governed by an MIT-style license that can be
  85527. * found in the LICENSE file at https://angular.io/license
  85528. */
  85529. const NUMBER_VALUE_ACCESSOR = {
  85530. provide: NG_VALUE_ACCESSOR,
  85531. useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => NumberValueAccessor),
  85532. multi: true
  85533. };
  85534. /**
  85535. * @description
  85536. * The `ControlValueAccessor` for writing a number value and listening to number input changes.
  85537. * The value accessor is used by the `FormControlDirective`, `FormControlName`, and `NgModel`
  85538. * directives.
  85539. *
  85540. * @usageNotes
  85541. *
  85542. * ### Using a number input with a reactive form.
  85543. *
  85544. * The following example shows how to use a number input with a reactive form.
  85545. *
  85546. * ```ts
  85547. * const totalCountControl = new FormControl();
  85548. * ```
  85549. *
  85550. * ```
  85551. * <input type="number" [formControl]="totalCountControl">
  85552. * ```
  85553. *
  85554. * @ngModule ReactiveFormsModule
  85555. * @ngModule FormsModule
  85556. * @publicApi
  85557. */
  85558. class NumberValueAccessor extends BuiltInControlValueAccessor {
  85559. /**
  85560. * Sets the "value" property on the input element.
  85561. * @nodoc
  85562. */
  85563. writeValue(value) {
  85564. // The value needs to be normalized for IE9, otherwise it is set to 'null' when null
  85565. const normalizedValue = value == null ? '' : value;
  85566. this.setProperty('value', normalizedValue);
  85567. }
  85568. /**
  85569. * Registers a function called when the control value changes.
  85570. * @nodoc
  85571. */
  85572. registerOnChange(fn) {
  85573. this.onChange = value => {
  85574. fn(value == '' ? null : parseFloat(value));
  85575. };
  85576. }
  85577. }
  85578. NumberValueAccessor.ɵfac = /* @__PURE__ */function () {
  85579. let ɵNumberValueAccessor_BaseFactory;
  85580. return function NumberValueAccessor_Factory(t) {
  85581. return (ɵNumberValueAccessor_BaseFactory || (ɵNumberValueAccessor_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](NumberValueAccessor)))(t || NumberValueAccessor);
  85582. };
  85583. }();
  85584. NumberValueAccessor.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  85585. type: NumberValueAccessor,
  85586. selectors: [["input", "type", "number", "formControlName", ""], ["input", "type", "number", "formControl", ""], ["input", "type", "number", "ngModel", ""]],
  85587. hostBindings: function NumberValueAccessor_HostBindings(rf, ctx) {
  85588. if (rf & 1) {
  85589. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("input", function NumberValueAccessor_input_HostBindingHandler($event) {
  85590. return ctx.onChange($event.target.value);
  85591. })("blur", function NumberValueAccessor_blur_HostBindingHandler() {
  85592. return ctx.onTouched();
  85593. });
  85594. }
  85595. },
  85596. features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([NUMBER_VALUE_ACCESSOR]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
  85597. });
  85598. (function () {
  85599. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NumberValueAccessor, [{
  85600. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  85601. args: [{
  85602. selector: 'input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]',
  85603. host: {
  85604. '(input)': 'onChange($event.target.value)',
  85605. '(blur)': 'onTouched()'
  85606. },
  85607. providers: [NUMBER_VALUE_ACCESSOR]
  85608. }]
  85609. }], null, null);
  85610. })();
  85611. /**
  85612. * @license
  85613. * Copyright Google LLC All Rights Reserved.
  85614. *
  85615. * Use of this source code is governed by an MIT-style license that can be
  85616. * found in the LICENSE file at https://angular.io/license
  85617. */
  85618. const RADIO_VALUE_ACCESSOR = {
  85619. provide: NG_VALUE_ACCESSOR,
  85620. useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => RadioControlValueAccessor),
  85621. multi: true
  85622. };
  85623. function throwNameError() {
  85624. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](1202
  85625. /* RuntimeErrorCode.NAME_AND_FORM_CONTROL_NAME_MUST_MATCH */
  85626. , `
  85627. If you define both a name and a formControlName attribute on your radio button, their values
  85628. must match. Ex: <input type="radio" formControlName="food" name="food">
  85629. `);
  85630. }
  85631. /**
  85632. * Internal-only NgModule that works as a host for the `RadioControlRegistry` tree-shakable
  85633. * provider. Note: the `InternalFormsSharedModule` can not be used here directly, since it's
  85634. * declared *after* the `RadioControlRegistry` class and the `providedIn` doesn't support
  85635. * `forwardRef` logic.
  85636. */
  85637. class RadioControlRegistryModule {}
  85638. RadioControlRegistryModule.ɵfac = function RadioControlRegistryModule_Factory(t) {
  85639. return new (t || RadioControlRegistryModule)();
  85640. };
  85641. RadioControlRegistryModule.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({
  85642. type: RadioControlRegistryModule
  85643. });
  85644. RadioControlRegistryModule.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({});
  85645. (function () {
  85646. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](RadioControlRegistryModule, [{
  85647. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModule
  85648. }], null, null);
  85649. })();
  85650. /**
  85651. * @description
  85652. * Class used by Angular to track radio buttons. For internal use only.
  85653. */
  85654. class RadioControlRegistry {
  85655. constructor() {
  85656. this._accessors = [];
  85657. }
  85658. /**
  85659. * @description
  85660. * Adds a control to the internal registry. For internal use only.
  85661. */
  85662. add(control, accessor) {
  85663. this._accessors.push([control, accessor]);
  85664. }
  85665. /**
  85666. * @description
  85667. * Removes a control from the internal registry. For internal use only.
  85668. */
  85669. remove(accessor) {
  85670. for (let i = this._accessors.length - 1; i >= 0; --i) {
  85671. if (this._accessors[i][1] === accessor) {
  85672. this._accessors.splice(i, 1);
  85673. return;
  85674. }
  85675. }
  85676. }
  85677. /**
  85678. * @description
  85679. * Selects a radio button. For internal use only.
  85680. */
  85681. select(accessor) {
  85682. this._accessors.forEach(c => {
  85683. if (this._isSameGroup(c, accessor) && c[1] !== accessor) {
  85684. c[1].fireUncheck(accessor.value);
  85685. }
  85686. });
  85687. }
  85688. _isSameGroup(controlPair, accessor) {
  85689. if (!controlPair[0].control) return false;
  85690. return controlPair[0]._parent === accessor._control._parent && controlPair[1].name === accessor.name;
  85691. }
  85692. }
  85693. RadioControlRegistry.ɵfac = function RadioControlRegistry_Factory(t) {
  85694. return new (t || RadioControlRegistry)();
  85695. };
  85696. RadioControlRegistry.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
  85697. token: RadioControlRegistry,
  85698. factory: RadioControlRegistry.ɵfac,
  85699. providedIn: RadioControlRegistryModule
  85700. });
  85701. (function () {
  85702. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](RadioControlRegistry, [{
  85703. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
  85704. args: [{
  85705. providedIn: RadioControlRegistryModule
  85706. }]
  85707. }], null, null);
  85708. })();
  85709. /**
  85710. * @description
  85711. * The `ControlValueAccessor` for writing radio control values and listening to radio control
  85712. * changes. The value accessor is used by the `FormControlDirective`, `FormControlName`, and
  85713. * `NgModel` directives.
  85714. *
  85715. * @usageNotes
  85716. *
  85717. * ### Using radio buttons with reactive form directives
  85718. *
  85719. * The follow example shows how to use radio buttons in a reactive form. When using radio buttons in
  85720. * a reactive form, radio buttons in the same group should have the same `formControlName`.
  85721. * Providing a `name` attribute is optional.
  85722. *
  85723. * {@example forms/ts/reactiveRadioButtons/reactive_radio_button_example.ts region='Reactive'}
  85724. *
  85725. * @ngModule ReactiveFormsModule
  85726. * @ngModule FormsModule
  85727. * @publicApi
  85728. */
  85729. class RadioControlValueAccessor extends BuiltInControlValueAccessor {
  85730. constructor(renderer, elementRef, _registry, _injector) {
  85731. super(renderer, elementRef);
  85732. this._registry = _registry;
  85733. this._injector = _injector;
  85734. /**
  85735. * The registered callback function called when a change event occurs on the input element.
  85736. * Note: we declare `onChange` here (also used as host listener) as a function with no arguments
  85737. * to override the `onChange` function (which expects 1 argument) in the parent
  85738. * `BaseControlValueAccessor` class.
  85739. * @nodoc
  85740. */
  85741. this.onChange = () => {};
  85742. }
  85743. /** @nodoc */
  85744. ngOnInit() {
  85745. this._control = this._injector.get(NgControl);
  85746. this._checkName();
  85747. this._registry.add(this._control, this);
  85748. }
  85749. /** @nodoc */
  85750. ngOnDestroy() {
  85751. this._registry.remove(this);
  85752. }
  85753. /**
  85754. * Sets the "checked" property value on the radio input element.
  85755. * @nodoc
  85756. */
  85757. writeValue(value) {
  85758. this._state = value === this.value;
  85759. this.setProperty('checked', this._state);
  85760. }
  85761. /**
  85762. * Registers a function called when the control value changes.
  85763. * @nodoc
  85764. */
  85765. registerOnChange(fn) {
  85766. this._fn = fn;
  85767. this.onChange = () => {
  85768. fn(this.value);
  85769. this._registry.select(this);
  85770. };
  85771. }
  85772. /**
  85773. * Sets the "value" on the radio input element and unchecks it.
  85774. *
  85775. * @param value
  85776. */
  85777. fireUncheck(value) {
  85778. this.writeValue(value);
  85779. }
  85780. _checkName() {
  85781. if (this.name && this.formControlName && this.name !== this.formControlName && (typeof ngDevMode === 'undefined' || ngDevMode)) {
  85782. throwNameError();
  85783. }
  85784. if (!this.name && this.formControlName) this.name = this.formControlName;
  85785. }
  85786. }
  85787. RadioControlValueAccessor.ɵfac = function RadioControlValueAccessor_Factory(t) {
  85788. return new (t || RadioControlValueAccessor)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.Renderer2), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](RadioControlRegistry), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.Injector));
  85789. };
  85790. RadioControlValueAccessor.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  85791. type: RadioControlValueAccessor,
  85792. selectors: [["input", "type", "radio", "formControlName", ""], ["input", "type", "radio", "formControl", ""], ["input", "type", "radio", "ngModel", ""]],
  85793. hostBindings: function RadioControlValueAccessor_HostBindings(rf, ctx) {
  85794. if (rf & 1) {
  85795. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("change", function RadioControlValueAccessor_change_HostBindingHandler() {
  85796. return ctx.onChange();
  85797. })("blur", function RadioControlValueAccessor_blur_HostBindingHandler() {
  85798. return ctx.onTouched();
  85799. });
  85800. }
  85801. },
  85802. inputs: {
  85803. name: "name",
  85804. formControlName: "formControlName",
  85805. value: "value"
  85806. },
  85807. features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([RADIO_VALUE_ACCESSOR]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
  85808. });
  85809. (function () {
  85810. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](RadioControlValueAccessor, [{
  85811. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  85812. args: [{
  85813. selector: 'input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]',
  85814. host: {
  85815. '(change)': 'onChange()',
  85816. '(blur)': 'onTouched()'
  85817. },
  85818. providers: [RADIO_VALUE_ACCESSOR]
  85819. }]
  85820. }], function () {
  85821. return [{
  85822. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Renderer2
  85823. }, {
  85824. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef
  85825. }, {
  85826. type: RadioControlRegistry
  85827. }, {
  85828. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injector
  85829. }];
  85830. }, {
  85831. name: [{
  85832. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  85833. }],
  85834. formControlName: [{
  85835. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  85836. }],
  85837. value: [{
  85838. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  85839. }]
  85840. });
  85841. })();
  85842. /**
  85843. * @license
  85844. * Copyright Google LLC All Rights Reserved.
  85845. *
  85846. * Use of this source code is governed by an MIT-style license that can be
  85847. * found in the LICENSE file at https://angular.io/license
  85848. */
  85849. const RANGE_VALUE_ACCESSOR = {
  85850. provide: NG_VALUE_ACCESSOR,
  85851. useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => RangeValueAccessor),
  85852. multi: true
  85853. };
  85854. /**
  85855. * @description
  85856. * The `ControlValueAccessor` for writing a range value and listening to range input changes.
  85857. * The value accessor is used by the `FormControlDirective`, `FormControlName`, and `NgModel`
  85858. * directives.
  85859. *
  85860. * @usageNotes
  85861. *
  85862. * ### Using a range input with a reactive form
  85863. *
  85864. * The following example shows how to use a range input with a reactive form.
  85865. *
  85866. * ```ts
  85867. * const ageControl = new FormControl();
  85868. * ```
  85869. *
  85870. * ```
  85871. * <input type="range" [formControl]="ageControl">
  85872. * ```
  85873. *
  85874. * @ngModule ReactiveFormsModule
  85875. * @ngModule FormsModule
  85876. * @publicApi
  85877. */
  85878. class RangeValueAccessor extends BuiltInControlValueAccessor {
  85879. /**
  85880. * Sets the "value" property on the input element.
  85881. * @nodoc
  85882. */
  85883. writeValue(value) {
  85884. this.setProperty('value', parseFloat(value));
  85885. }
  85886. /**
  85887. * Registers a function called when the control value changes.
  85888. * @nodoc
  85889. */
  85890. registerOnChange(fn) {
  85891. this.onChange = value => {
  85892. fn(value == '' ? null : parseFloat(value));
  85893. };
  85894. }
  85895. }
  85896. RangeValueAccessor.ɵfac = /* @__PURE__ */function () {
  85897. let ɵRangeValueAccessor_BaseFactory;
  85898. return function RangeValueAccessor_Factory(t) {
  85899. return (ɵRangeValueAccessor_BaseFactory || (ɵRangeValueAccessor_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](RangeValueAccessor)))(t || RangeValueAccessor);
  85900. };
  85901. }();
  85902. RangeValueAccessor.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  85903. type: RangeValueAccessor,
  85904. selectors: [["input", "type", "range", "formControlName", ""], ["input", "type", "range", "formControl", ""], ["input", "type", "range", "ngModel", ""]],
  85905. hostBindings: function RangeValueAccessor_HostBindings(rf, ctx) {
  85906. if (rf & 1) {
  85907. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("change", function RangeValueAccessor_change_HostBindingHandler($event) {
  85908. return ctx.onChange($event.target.value);
  85909. })("input", function RangeValueAccessor_input_HostBindingHandler($event) {
  85910. return ctx.onChange($event.target.value);
  85911. })("blur", function RangeValueAccessor_blur_HostBindingHandler() {
  85912. return ctx.onTouched();
  85913. });
  85914. }
  85915. },
  85916. features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([RANGE_VALUE_ACCESSOR]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
  85917. });
  85918. (function () {
  85919. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](RangeValueAccessor, [{
  85920. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  85921. args: [{
  85922. selector: 'input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]',
  85923. host: {
  85924. '(change)': 'onChange($event.target.value)',
  85925. '(input)': 'onChange($event.target.value)',
  85926. '(blur)': 'onTouched()'
  85927. },
  85928. providers: [RANGE_VALUE_ACCESSOR]
  85929. }]
  85930. }], null, null);
  85931. })();
  85932. /**
  85933. * @license
  85934. * Copyright Google LLC All Rights Reserved.
  85935. *
  85936. * Use of this source code is governed by an MIT-style license that can be
  85937. * found in the LICENSE file at https://angular.io/license
  85938. */
  85939. /**
  85940. * Token to provide to turn off the ngModel warning on formControl and formControlName.
  85941. */
  85942. const NG_MODEL_WITH_FORM_CONTROL_WARNING = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('NgModelWithFormControlWarning');
  85943. const formControlBinding = {
  85944. provide: NgControl,
  85945. useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => FormControlDirective)
  85946. };
  85947. /**
  85948. * @description
  85949. * Synchronizes a standalone `FormControl` instance to a form control element.
  85950. *
  85951. * Note that support for using the `ngModel` input property and `ngModelChange` event with reactive
  85952. * form directives was deprecated in Angular v6 and is scheduled for removal in
  85953. * a future version of Angular.
  85954. * For details, see [Deprecated features](guide/deprecations#ngmodel-with-reactive-forms).
  85955. *
  85956. * @see [Reactive Forms Guide](guide/reactive-forms)
  85957. * @see `FormControl`
  85958. * @see `AbstractControl`
  85959. *
  85960. * @usageNotes
  85961. *
  85962. * The following example shows how to register a standalone control and set its value.
  85963. *
  85964. * {@example forms/ts/simpleFormControl/simple_form_control_example.ts region='Component'}
  85965. *
  85966. * @ngModule ReactiveFormsModule
  85967. * @publicApi
  85968. */
  85969. class FormControlDirective extends NgControl {
  85970. constructor(validators, asyncValidators, valueAccessors, _ngModelWarningConfig) {
  85971. super();
  85972. this._ngModelWarningConfig = _ngModelWarningConfig;
  85973. /** @deprecated as of v6 */
  85974. this.update = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
  85975. /**
  85976. * @description
  85977. * Instance property used to track whether an ngModel warning has been sent out for this
  85978. * particular `FormControlDirective` instance. Used to support warning config of "always".
  85979. *
  85980. * @internal
  85981. */
  85982. this._ngModelWarningSent = false;
  85983. this._setValidators(validators);
  85984. this._setAsyncValidators(asyncValidators);
  85985. this.valueAccessor = selectValueAccessor(this, valueAccessors);
  85986. }
  85987. /**
  85988. * @description
  85989. * Triggers a warning in dev mode that this input should not be used with reactive forms.
  85990. */
  85991. set isDisabled(isDisabled) {
  85992. if (typeof ngDevMode === 'undefined' || ngDevMode) {
  85993. console.warn(disabledAttrWarning);
  85994. }
  85995. }
  85996. /** @nodoc */
  85997. ngOnChanges(changes) {
  85998. if (this._isControlChanged(changes)) {
  85999. const previousForm = changes['form'].previousValue;
  86000. if (previousForm) {
  86001. cleanUpControl(previousForm, this,
  86002. /* validateControlPresenceOnChange */
  86003. false);
  86004. }
  86005. setUpControl(this.form, this);
  86006. this.form.updateValueAndValidity({
  86007. emitEvent: false
  86008. });
  86009. }
  86010. if (isPropertyUpdated(changes, this.viewModel)) {
  86011. if (typeof ngDevMode === 'undefined' || ngDevMode) {
  86012. _ngModelWarning('formControl', FormControlDirective, this, this._ngModelWarningConfig);
  86013. }
  86014. this.form.setValue(this.model);
  86015. this.viewModel = this.model;
  86016. }
  86017. }
  86018. /** @nodoc */
  86019. ngOnDestroy() {
  86020. if (this.form) {
  86021. cleanUpControl(this.form, this,
  86022. /* validateControlPresenceOnChange */
  86023. false);
  86024. }
  86025. }
  86026. /**
  86027. * @description
  86028. * Returns an array that represents the path from the top-level form to this control.
  86029. * Each index is the string name of the control on that level.
  86030. */
  86031. get path() {
  86032. return [];
  86033. }
  86034. /**
  86035. * @description
  86036. * The `FormControl` bound to this directive.
  86037. */
  86038. get control() {
  86039. return this.form;
  86040. }
  86041. /**
  86042. * @description
  86043. * Sets the new value for the view model and emits an `ngModelChange` event.
  86044. *
  86045. * @param newValue The new value for the view model.
  86046. */
  86047. viewToModelUpdate(newValue) {
  86048. this.viewModel = newValue;
  86049. this.update.emit(newValue);
  86050. }
  86051. _isControlChanged(changes) {
  86052. return changes.hasOwnProperty('form');
  86053. }
  86054. }
  86055. /**
  86056. * @description
  86057. * Static property used to track whether any ngModel warnings have been sent across
  86058. * all instances of FormControlDirective. Used to support warning config of "once".
  86059. *
  86060. * @internal
  86061. */
  86062. FormControlDirective._ngModelWarningSentOnce = false;
  86063. FormControlDirective.ɵfac = function FormControlDirective_Factory(t) {
  86064. return new (t || FormControlDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NG_VALIDATORS, 10), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NG_ASYNC_VALIDATORS, 10), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NG_VALUE_ACCESSOR, 10), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NG_MODEL_WITH_FORM_CONTROL_WARNING, 8));
  86065. };
  86066. FormControlDirective.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  86067. type: FormControlDirective,
  86068. selectors: [["", "formControl", ""]],
  86069. inputs: {
  86070. form: ["formControl", "form"],
  86071. isDisabled: ["disabled", "isDisabled"],
  86072. model: ["ngModel", "model"]
  86073. },
  86074. outputs: {
  86075. update: "ngModelChange"
  86076. },
  86077. exportAs: ["ngForm"],
  86078. features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([formControlBinding]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]]
  86079. });
  86080. (function () {
  86081. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](FormControlDirective, [{
  86082. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  86083. args: [{
  86084. selector: '[formControl]',
  86085. providers: [formControlBinding],
  86086. exportAs: 'ngForm'
  86087. }]
  86088. }], function () {
  86089. return [{
  86090. type: undefined,
  86091. decorators: [{
  86092. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  86093. }, {
  86094. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
  86095. }, {
  86096. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
  86097. args: [NG_VALIDATORS]
  86098. }]
  86099. }, {
  86100. type: undefined,
  86101. decorators: [{
  86102. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  86103. }, {
  86104. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
  86105. }, {
  86106. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
  86107. args: [NG_ASYNC_VALIDATORS]
  86108. }]
  86109. }, {
  86110. type: undefined,
  86111. decorators: [{
  86112. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  86113. }, {
  86114. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
  86115. }, {
  86116. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
  86117. args: [NG_VALUE_ACCESSOR]
  86118. }]
  86119. }, {
  86120. type: undefined,
  86121. decorators: [{
  86122. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  86123. }, {
  86124. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
  86125. args: [NG_MODEL_WITH_FORM_CONTROL_WARNING]
  86126. }]
  86127. }];
  86128. }, {
  86129. form: [{
  86130. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
  86131. args: ['formControl']
  86132. }],
  86133. isDisabled: [{
  86134. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
  86135. args: ['disabled']
  86136. }],
  86137. model: [{
  86138. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
  86139. args: ['ngModel']
  86140. }],
  86141. update: [{
  86142. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Output,
  86143. args: ['ngModelChange']
  86144. }]
  86145. });
  86146. })();
  86147. /**
  86148. * @license
  86149. * Copyright Google LLC All Rights Reserved.
  86150. *
  86151. * Use of this source code is governed by an MIT-style license that can be
  86152. * found in the LICENSE file at https://angular.io/license
  86153. */
  86154. const formDirectiveProvider = {
  86155. provide: ControlContainer,
  86156. useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => FormGroupDirective)
  86157. };
  86158. /**
  86159. * @description
  86160. *
  86161. * Binds an existing `FormGroup` or `FormRecord` to a DOM element.
  86162. *
  86163. * This directive accepts an existing `FormGroup` instance. It will then use this
  86164. * `FormGroup` instance to match any child `FormControl`, `FormGroup`/`FormRecord`,
  86165. * and `FormArray` instances to child `FormControlName`, `FormGroupName`,
  86166. * and `FormArrayName` directives.
  86167. *
  86168. * @see [Reactive Forms Guide](guide/reactive-forms)
  86169. * @see `AbstractControl`
  86170. *
  86171. * @usageNotes
  86172. * ### Register Form Group
  86173. *
  86174. * The following example registers a `FormGroup` with first name and last name controls,
  86175. * and listens for the *ngSubmit* event when the button is clicked.
  86176. *
  86177. * {@example forms/ts/simpleFormGroup/simple_form_group_example.ts region='Component'}
  86178. *
  86179. * @ngModule ReactiveFormsModule
  86180. * @publicApi
  86181. */
  86182. class FormGroupDirective extends ControlContainer {
  86183. constructor(validators, asyncValidators) {
  86184. super();
  86185. /**
  86186. * @description
  86187. * Reports whether the form submission has been triggered.
  86188. */
  86189. this.submitted = false;
  86190. /**
  86191. * Callback that should be invoked when controls in FormGroup or FormArray collection change
  86192. * (added or removed). This callback triggers corresponding DOM updates.
  86193. */
  86194. this._onCollectionChange = () => this._updateDomValue();
  86195. /**
  86196. * @description
  86197. * Tracks the list of added `FormControlName` instances
  86198. */
  86199. this.directives = [];
  86200. /**
  86201. * @description
  86202. * Tracks the `FormGroup` bound to this directive.
  86203. */
  86204. this.form = null;
  86205. /**
  86206. * @description
  86207. * Emits an event when the form submission has been triggered.
  86208. */
  86209. this.ngSubmit = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
  86210. this._setValidators(validators);
  86211. this._setAsyncValidators(asyncValidators);
  86212. }
  86213. /** @nodoc */
  86214. ngOnChanges(changes) {
  86215. this._checkFormPresent();
  86216. if (changes.hasOwnProperty('form')) {
  86217. this._updateValidators();
  86218. this._updateDomValue();
  86219. this._updateRegistrations();
  86220. this._oldForm = this.form;
  86221. }
  86222. }
  86223. /** @nodoc */
  86224. ngOnDestroy() {
  86225. if (this.form) {
  86226. cleanUpValidators(this.form, this); // Currently the `onCollectionChange` callback is rewritten each time the
  86227. // `_registerOnCollectionChange` function is invoked. The implication is that cleanup should
  86228. // happen *only* when the `onCollectionChange` callback was set by this directive instance.
  86229. // Otherwise it might cause overriding a callback of some other directive instances. We should
  86230. // consider updating this logic later to make it similar to how `onChange` callbacks are
  86231. // handled, see https://github.com/angular/angular/issues/39732 for additional info.
  86232. if (this.form._onCollectionChange === this._onCollectionChange) {
  86233. this.form._registerOnCollectionChange(() => {});
  86234. }
  86235. }
  86236. }
  86237. /**
  86238. * @description
  86239. * Returns this directive's instance.
  86240. */
  86241. get formDirective() {
  86242. return this;
  86243. }
  86244. /**
  86245. * @description
  86246. * Returns the `FormGroup` bound to this directive.
  86247. */
  86248. get control() {
  86249. return this.form;
  86250. }
  86251. /**
  86252. * @description
  86253. * Returns an array representing the path to this group. Because this directive
  86254. * always lives at the top level of a form, it always an empty array.
  86255. */
  86256. get path() {
  86257. return [];
  86258. }
  86259. /**
  86260. * @description
  86261. * Method that sets up the control directive in this group, re-calculates its value
  86262. * and validity, and adds the instance to the internal list of directives.
  86263. *
  86264. * @param dir The `FormControlName` directive instance.
  86265. */
  86266. addControl(dir) {
  86267. const ctrl = this.form.get(dir.path);
  86268. setUpControl(ctrl, dir);
  86269. ctrl.updateValueAndValidity({
  86270. emitEvent: false
  86271. });
  86272. this.directives.push(dir);
  86273. return ctrl;
  86274. }
  86275. /**
  86276. * @description
  86277. * Retrieves the `FormControl` instance from the provided `FormControlName` directive
  86278. *
  86279. * @param dir The `FormControlName` directive instance.
  86280. */
  86281. getControl(dir) {
  86282. return this.form.get(dir.path);
  86283. }
  86284. /**
  86285. * @description
  86286. * Removes the `FormControlName` instance from the internal list of directives
  86287. *
  86288. * @param dir The `FormControlName` directive instance.
  86289. */
  86290. removeControl(dir) {
  86291. cleanUpControl(dir.control || null, dir,
  86292. /* validateControlPresenceOnChange */
  86293. false);
  86294. removeListItem$1(this.directives, dir);
  86295. }
  86296. /**
  86297. * Adds a new `FormGroupName` directive instance to the form.
  86298. *
  86299. * @param dir The `FormGroupName` directive instance.
  86300. */
  86301. addFormGroup(dir) {
  86302. this._setUpFormContainer(dir);
  86303. }
  86304. /**
  86305. * Performs the necessary cleanup when a `FormGroupName` directive instance is removed from the
  86306. * view.
  86307. *
  86308. * @param dir The `FormGroupName` directive instance.
  86309. */
  86310. removeFormGroup(dir) {
  86311. this._cleanUpFormContainer(dir);
  86312. }
  86313. /**
  86314. * @description
  86315. * Retrieves the `FormGroup` for a provided `FormGroupName` directive instance
  86316. *
  86317. * @param dir The `FormGroupName` directive instance.
  86318. */
  86319. getFormGroup(dir) {
  86320. return this.form.get(dir.path);
  86321. }
  86322. /**
  86323. * Performs the necessary setup when a `FormArrayName` directive instance is added to the view.
  86324. *
  86325. * @param dir The `FormArrayName` directive instance.
  86326. */
  86327. addFormArray(dir) {
  86328. this._setUpFormContainer(dir);
  86329. }
  86330. /**
  86331. * Performs the necessary cleanup when a `FormArrayName` directive instance is removed from the
  86332. * view.
  86333. *
  86334. * @param dir The `FormArrayName` directive instance.
  86335. */
  86336. removeFormArray(dir) {
  86337. this._cleanUpFormContainer(dir);
  86338. }
  86339. /**
  86340. * @description
  86341. * Retrieves the `FormArray` for a provided `FormArrayName` directive instance.
  86342. *
  86343. * @param dir The `FormArrayName` directive instance.
  86344. */
  86345. getFormArray(dir) {
  86346. return this.form.get(dir.path);
  86347. }
  86348. /**
  86349. * Sets the new value for the provided `FormControlName` directive.
  86350. *
  86351. * @param dir The `FormControlName` directive instance.
  86352. * @param value The new value for the directive's control.
  86353. */
  86354. updateModel(dir, value) {
  86355. const ctrl = this.form.get(dir.path);
  86356. ctrl.setValue(value);
  86357. }
  86358. /**
  86359. * @description
  86360. * Method called with the "submit" event is triggered on the form.
  86361. * Triggers the `ngSubmit` emitter to emit the "submit" event as its payload.
  86362. *
  86363. * @param $event The "submit" event object
  86364. */
  86365. onSubmit($event) {
  86366. var _a;
  86367. this.submitted = true;
  86368. syncPendingControls(this.form, this.directives);
  86369. this.ngSubmit.emit($event); // Forms with `method="dialog"` have some special behavior that won't reload the page and that
  86370. // shouldn't be prevented. Note that we need to null check the `event` and the `target`, because
  86371. // some internal apps call this method directly with the wrong arguments.
  86372. return ((_a = $event === null || $event === void 0 ? void 0 : $event.target) === null || _a === void 0 ? void 0 : _a.method) === 'dialog';
  86373. }
  86374. /**
  86375. * @description
  86376. * Method called when the "reset" event is triggered on the form.
  86377. */
  86378. onReset() {
  86379. this.resetForm();
  86380. }
  86381. /**
  86382. * @description
  86383. * Resets the form to an initial value and resets its submitted status.
  86384. *
  86385. * @param value The new value for the form.
  86386. */
  86387. resetForm(value = undefined) {
  86388. this.form.reset(value);
  86389. this.submitted = false;
  86390. }
  86391. /** @internal */
  86392. _updateDomValue() {
  86393. this.directives.forEach(dir => {
  86394. const oldCtrl = dir.control;
  86395. const newCtrl = this.form.get(dir.path);
  86396. if (oldCtrl !== newCtrl) {
  86397. // Note: the value of the `dir.control` may not be defined, for example when it's a first
  86398. // `FormControl` that is added to a `FormGroup` instance (via `addControl` call).
  86399. cleanUpControl(oldCtrl || null, dir); // Check whether new control at the same location inside the corresponding `FormGroup` is an
  86400. // instance of `FormControl` and perform control setup only if that's the case.
  86401. // Note: we don't need to clear the list of directives (`this.directives`) here, it would be
  86402. // taken care of in the `removeControl` method invoked when corresponding `formControlName`
  86403. // directive instance is being removed (invoked from `FormControlName.ngOnDestroy`).
  86404. if (isFormControl(newCtrl)) {
  86405. setUpControl(newCtrl, dir);
  86406. dir.control = newCtrl;
  86407. }
  86408. }
  86409. });
  86410. this.form._updateTreeValidity({
  86411. emitEvent: false
  86412. });
  86413. }
  86414. _setUpFormContainer(dir) {
  86415. const ctrl = this.form.get(dir.path);
  86416. setUpFormContainer(ctrl, dir); // NOTE: this operation looks unnecessary in case no new validators were added in
  86417. // `setUpFormContainer` call. Consider updating this code to match the logic in
  86418. // `_cleanUpFormContainer` function.
  86419. ctrl.updateValueAndValidity({
  86420. emitEvent: false
  86421. });
  86422. }
  86423. _cleanUpFormContainer(dir) {
  86424. if (this.form) {
  86425. const ctrl = this.form.get(dir.path);
  86426. if (ctrl) {
  86427. const isControlUpdated = cleanUpFormContainer(ctrl, dir);
  86428. if (isControlUpdated) {
  86429. // Run validity check only in case a control was updated (i.e. view validators were
  86430. // removed) as removing view validators might cause validity to change.
  86431. ctrl.updateValueAndValidity({
  86432. emitEvent: false
  86433. });
  86434. }
  86435. }
  86436. }
  86437. }
  86438. _updateRegistrations() {
  86439. this.form._registerOnCollectionChange(this._onCollectionChange);
  86440. if (this._oldForm) {
  86441. this._oldForm._registerOnCollectionChange(() => {});
  86442. }
  86443. }
  86444. _updateValidators() {
  86445. setUpValidators(this.form, this);
  86446. if (this._oldForm) {
  86447. cleanUpValidators(this._oldForm, this);
  86448. }
  86449. }
  86450. _checkFormPresent() {
  86451. if (!this.form && (typeof ngDevMode === 'undefined' || ngDevMode)) {
  86452. throw missingFormException();
  86453. }
  86454. }
  86455. }
  86456. FormGroupDirective.ɵfac = function FormGroupDirective_Factory(t) {
  86457. return new (t || FormGroupDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NG_VALIDATORS, 10), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NG_ASYNC_VALIDATORS, 10));
  86458. };
  86459. FormGroupDirective.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  86460. type: FormGroupDirective,
  86461. selectors: [["", "formGroup", ""]],
  86462. hostBindings: function FormGroupDirective_HostBindings(rf, ctx) {
  86463. if (rf & 1) {
  86464. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("submit", function FormGroupDirective_submit_HostBindingHandler($event) {
  86465. return ctx.onSubmit($event);
  86466. })("reset", function FormGroupDirective_reset_HostBindingHandler() {
  86467. return ctx.onReset();
  86468. });
  86469. }
  86470. },
  86471. inputs: {
  86472. form: ["formGroup", "form"]
  86473. },
  86474. outputs: {
  86475. ngSubmit: "ngSubmit"
  86476. },
  86477. exportAs: ["ngForm"],
  86478. features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([formDirectiveProvider]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]]
  86479. });
  86480. (function () {
  86481. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](FormGroupDirective, [{
  86482. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  86483. args: [{
  86484. selector: '[formGroup]',
  86485. providers: [formDirectiveProvider],
  86486. host: {
  86487. '(submit)': 'onSubmit($event)',
  86488. '(reset)': 'onReset()'
  86489. },
  86490. exportAs: 'ngForm'
  86491. }]
  86492. }], function () {
  86493. return [{
  86494. type: undefined,
  86495. decorators: [{
  86496. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  86497. }, {
  86498. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
  86499. }, {
  86500. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
  86501. args: [NG_VALIDATORS]
  86502. }]
  86503. }, {
  86504. type: undefined,
  86505. decorators: [{
  86506. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  86507. }, {
  86508. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
  86509. }, {
  86510. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
  86511. args: [NG_ASYNC_VALIDATORS]
  86512. }]
  86513. }];
  86514. }, {
  86515. form: [{
  86516. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
  86517. args: ['formGroup']
  86518. }],
  86519. ngSubmit: [{
  86520. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Output
  86521. }]
  86522. });
  86523. })();
  86524. /**
  86525. * @license
  86526. * Copyright Google LLC All Rights Reserved.
  86527. *
  86528. * Use of this source code is governed by an MIT-style license that can be
  86529. * found in the LICENSE file at https://angular.io/license
  86530. */
  86531. const formGroupNameProvider = {
  86532. provide: ControlContainer,
  86533. useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => FormGroupName)
  86534. };
  86535. /**
  86536. * @description
  86537. *
  86538. * Syncs a nested `FormGroup` or `FormRecord` to a DOM element.
  86539. *
  86540. * This directive can only be used with a parent `FormGroupDirective`.
  86541. *
  86542. * It accepts the string name of the nested `FormGroup` or `FormRecord` to link, and
  86543. * looks for a `FormGroup` or `FormRecord` registered with that name in the parent
  86544. * `FormGroup` instance you passed into `FormGroupDirective`.
  86545. *
  86546. * Use nested form groups to validate a sub-group of a
  86547. * form separately from the rest or to group the values of certain
  86548. * controls into their own nested object.
  86549. *
  86550. * @see [Reactive Forms Guide](guide/reactive-forms)
  86551. *
  86552. * @usageNotes
  86553. *
  86554. * ### Access the group by name
  86555. *
  86556. * The following example uses the `AbstractControl.get` method to access the
  86557. * associated `FormGroup`
  86558. *
  86559. * ```ts
  86560. * this.form.get('name');
  86561. * ```
  86562. *
  86563. * ### Access individual controls in the group
  86564. *
  86565. * The following example uses the `AbstractControl.get` method to access
  86566. * individual controls within the group using dot syntax.
  86567. *
  86568. * ```ts
  86569. * this.form.get('name.first');
  86570. * ```
  86571. *
  86572. * ### Register a nested `FormGroup`.
  86573. *
  86574. * The following example registers a nested *name* `FormGroup` within an existing `FormGroup`,
  86575. * and provides methods to retrieve the nested `FormGroup` and individual controls.
  86576. *
  86577. * {@example forms/ts/nestedFormGroup/nested_form_group_example.ts region='Component'}
  86578. *
  86579. * @ngModule ReactiveFormsModule
  86580. * @publicApi
  86581. */
  86582. class FormGroupName extends AbstractFormGroupDirective {
  86583. constructor(parent, validators, asyncValidators) {
  86584. super();
  86585. this._parent = parent;
  86586. this._setValidators(validators);
  86587. this._setAsyncValidators(asyncValidators);
  86588. }
  86589. /** @internal */
  86590. _checkParentType() {
  86591. if (_hasInvalidParent(this._parent) && (typeof ngDevMode === 'undefined' || ngDevMode)) {
  86592. throw groupParentException();
  86593. }
  86594. }
  86595. }
  86596. FormGroupName.ɵfac = function FormGroupName_Factory(t) {
  86597. return new (t || FormGroupName)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](ControlContainer, 13), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NG_VALIDATORS, 10), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NG_ASYNC_VALIDATORS, 10));
  86598. };
  86599. FormGroupName.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  86600. type: FormGroupName,
  86601. selectors: [["", "formGroupName", ""]],
  86602. inputs: {
  86603. name: ["formGroupName", "name"]
  86604. },
  86605. features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([formGroupNameProvider]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
  86606. });
  86607. (function () {
  86608. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](FormGroupName, [{
  86609. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  86610. args: [{
  86611. selector: '[formGroupName]',
  86612. providers: [formGroupNameProvider]
  86613. }]
  86614. }], function () {
  86615. return [{
  86616. type: ControlContainer,
  86617. decorators: [{
  86618. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  86619. }, {
  86620. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Host
  86621. }, {
  86622. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.SkipSelf
  86623. }]
  86624. }, {
  86625. type: undefined,
  86626. decorators: [{
  86627. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  86628. }, {
  86629. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
  86630. }, {
  86631. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
  86632. args: [NG_VALIDATORS]
  86633. }]
  86634. }, {
  86635. type: undefined,
  86636. decorators: [{
  86637. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  86638. }, {
  86639. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
  86640. }, {
  86641. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
  86642. args: [NG_ASYNC_VALIDATORS]
  86643. }]
  86644. }];
  86645. }, {
  86646. name: [{
  86647. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
  86648. args: ['formGroupName']
  86649. }]
  86650. });
  86651. })();
  86652. const formArrayNameProvider = {
  86653. provide: ControlContainer,
  86654. useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => FormArrayName)
  86655. };
  86656. /**
  86657. * @description
  86658. *
  86659. * Syncs a nested `FormArray` to a DOM element.
  86660. *
  86661. * This directive is designed to be used with a parent `FormGroupDirective` (selector:
  86662. * `[formGroup]`).
  86663. *
  86664. * It accepts the string name of the nested `FormArray` you want to link, and
  86665. * will look for a `FormArray` registered with that name in the parent
  86666. * `FormGroup` instance you passed into `FormGroupDirective`.
  86667. *
  86668. * @see [Reactive Forms Guide](guide/reactive-forms)
  86669. * @see `AbstractControl`
  86670. *
  86671. * @usageNotes
  86672. *
  86673. * ### Example
  86674. *
  86675. * {@example forms/ts/nestedFormArray/nested_form_array_example.ts region='Component'}
  86676. *
  86677. * @ngModule ReactiveFormsModule
  86678. * @publicApi
  86679. */
  86680. class FormArrayName extends ControlContainer {
  86681. constructor(parent, validators, asyncValidators) {
  86682. super();
  86683. this._parent = parent;
  86684. this._setValidators(validators);
  86685. this._setAsyncValidators(asyncValidators);
  86686. }
  86687. /**
  86688. * A lifecycle method called when the directive's inputs are initialized. For internal use only.
  86689. * @throws If the directive does not have a valid parent.
  86690. * @nodoc
  86691. */
  86692. ngOnInit() {
  86693. this._checkParentType();
  86694. this.formDirective.addFormArray(this);
  86695. }
  86696. /**
  86697. * A lifecycle method called before the directive's instance is destroyed. For internal use only.
  86698. * @nodoc
  86699. */
  86700. ngOnDestroy() {
  86701. if (this.formDirective) {
  86702. this.formDirective.removeFormArray(this);
  86703. }
  86704. }
  86705. /**
  86706. * @description
  86707. * The `FormArray` bound to this directive.
  86708. */
  86709. get control() {
  86710. return this.formDirective.getFormArray(this);
  86711. }
  86712. /**
  86713. * @description
  86714. * The top-level directive for this group if present, otherwise null.
  86715. */
  86716. get formDirective() {
  86717. return this._parent ? this._parent.formDirective : null;
  86718. }
  86719. /**
  86720. * @description
  86721. * Returns an array that represents the path from the top-level form to this control.
  86722. * Each index is the string name of the control on that level.
  86723. */
  86724. get path() {
  86725. return controlPath(this.name == null ? this.name : this.name.toString(), this._parent);
  86726. }
  86727. _checkParentType() {
  86728. if (_hasInvalidParent(this._parent) && (typeof ngDevMode === 'undefined' || ngDevMode)) {
  86729. throw arrayParentException();
  86730. }
  86731. }
  86732. }
  86733. FormArrayName.ɵfac = function FormArrayName_Factory(t) {
  86734. return new (t || FormArrayName)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](ControlContainer, 13), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NG_VALIDATORS, 10), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NG_ASYNC_VALIDATORS, 10));
  86735. };
  86736. FormArrayName.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  86737. type: FormArrayName,
  86738. selectors: [["", "formArrayName", ""]],
  86739. inputs: {
  86740. name: ["formArrayName", "name"]
  86741. },
  86742. features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([formArrayNameProvider]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
  86743. });
  86744. (function () {
  86745. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](FormArrayName, [{
  86746. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  86747. args: [{
  86748. selector: '[formArrayName]',
  86749. providers: [formArrayNameProvider]
  86750. }]
  86751. }], function () {
  86752. return [{
  86753. type: ControlContainer,
  86754. decorators: [{
  86755. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  86756. }, {
  86757. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Host
  86758. }, {
  86759. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.SkipSelf
  86760. }]
  86761. }, {
  86762. type: undefined,
  86763. decorators: [{
  86764. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  86765. }, {
  86766. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
  86767. }, {
  86768. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
  86769. args: [NG_VALIDATORS]
  86770. }]
  86771. }, {
  86772. type: undefined,
  86773. decorators: [{
  86774. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  86775. }, {
  86776. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
  86777. }, {
  86778. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
  86779. args: [NG_ASYNC_VALIDATORS]
  86780. }]
  86781. }];
  86782. }, {
  86783. name: [{
  86784. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
  86785. args: ['formArrayName']
  86786. }]
  86787. });
  86788. })();
  86789. function _hasInvalidParent(parent) {
  86790. return !(parent instanceof FormGroupName) && !(parent instanceof FormGroupDirective) && !(parent instanceof FormArrayName);
  86791. }
  86792. /**
  86793. * @license
  86794. * Copyright Google LLC All Rights Reserved.
  86795. *
  86796. * Use of this source code is governed by an MIT-style license that can be
  86797. * found in the LICENSE file at https://angular.io/license
  86798. */
  86799. const controlNameBinding = {
  86800. provide: NgControl,
  86801. useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => FormControlName)
  86802. };
  86803. /**
  86804. * @description
  86805. * Syncs a `FormControl` in an existing `FormGroup` to a form control
  86806. * element by name.
  86807. *
  86808. * @see [Reactive Forms Guide](guide/reactive-forms)
  86809. * @see `FormControl`
  86810. * @see `AbstractControl`
  86811. *
  86812. * @usageNotes
  86813. *
  86814. * ### Register `FormControl` within a group
  86815. *
  86816. * The following example shows how to register multiple form controls within a form group
  86817. * and set their value.
  86818. *
  86819. * {@example forms/ts/simpleFormGroup/simple_form_group_example.ts region='Component'}
  86820. *
  86821. * To see `formControlName` examples with different form control types, see:
  86822. *
  86823. * * Radio buttons: `RadioControlValueAccessor`
  86824. * * Selects: `SelectControlValueAccessor`
  86825. *
  86826. * ### Use with ngModel is deprecated
  86827. *
  86828. * Support for using the `ngModel` input property and `ngModelChange` event with reactive
  86829. * form directives has been deprecated in Angular v6 and is scheduled for removal in
  86830. * a future version of Angular.
  86831. *
  86832. * For details, see [Deprecated features](guide/deprecations#ngmodel-with-reactive-forms).
  86833. *
  86834. * @ngModule ReactiveFormsModule
  86835. * @publicApi
  86836. */
  86837. class FormControlName extends NgControl {
  86838. constructor(parent, validators, asyncValidators, valueAccessors, _ngModelWarningConfig) {
  86839. super();
  86840. this._ngModelWarningConfig = _ngModelWarningConfig;
  86841. this._added = false;
  86842. /** @deprecated as of v6 */
  86843. this.update = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
  86844. /**
  86845. * @description
  86846. * Instance property used to track whether an ngModel warning has been sent out for this
  86847. * particular FormControlName instance. Used to support warning config of "always".
  86848. *
  86849. * @internal
  86850. */
  86851. this._ngModelWarningSent = false;
  86852. this._parent = parent;
  86853. this._setValidators(validators);
  86854. this._setAsyncValidators(asyncValidators);
  86855. this.valueAccessor = selectValueAccessor(this, valueAccessors);
  86856. }
  86857. /**
  86858. * @description
  86859. * Triggers a warning in dev mode that this input should not be used with reactive forms.
  86860. */
  86861. set isDisabled(isDisabled) {
  86862. if (typeof ngDevMode === 'undefined' || ngDevMode) {
  86863. console.warn(disabledAttrWarning);
  86864. }
  86865. }
  86866. /** @nodoc */
  86867. ngOnChanges(changes) {
  86868. if (!this._added) this._setUpControl();
  86869. if (isPropertyUpdated(changes, this.viewModel)) {
  86870. if (typeof ngDevMode === 'undefined' || ngDevMode) {
  86871. _ngModelWarning('formControlName', FormControlName, this, this._ngModelWarningConfig);
  86872. }
  86873. this.viewModel = this.model;
  86874. this.formDirective.updateModel(this, this.model);
  86875. }
  86876. }
  86877. /** @nodoc */
  86878. ngOnDestroy() {
  86879. if (this.formDirective) {
  86880. this.formDirective.removeControl(this);
  86881. }
  86882. }
  86883. /**
  86884. * @description
  86885. * Sets the new value for the view model and emits an `ngModelChange` event.
  86886. *
  86887. * @param newValue The new value for the view model.
  86888. */
  86889. viewToModelUpdate(newValue) {
  86890. this.viewModel = newValue;
  86891. this.update.emit(newValue);
  86892. }
  86893. /**
  86894. * @description
  86895. * Returns an array that represents the path from the top-level form to this control.
  86896. * Each index is the string name of the control on that level.
  86897. */
  86898. get path() {
  86899. return controlPath(this.name == null ? this.name : this.name.toString(), this._parent);
  86900. }
  86901. /**
  86902. * @description
  86903. * The top-level directive for this group if present, otherwise null.
  86904. */
  86905. get formDirective() {
  86906. return this._parent ? this._parent.formDirective : null;
  86907. }
  86908. _checkParentType() {
  86909. if (typeof ngDevMode === 'undefined' || ngDevMode) {
  86910. if (!(this._parent instanceof FormGroupName) && this._parent instanceof AbstractFormGroupDirective) {
  86911. throw ngModelGroupException();
  86912. } else if (!(this._parent instanceof FormGroupName) && !(this._parent instanceof FormGroupDirective) && !(this._parent instanceof FormArrayName)) {
  86913. throw controlParentException();
  86914. }
  86915. }
  86916. }
  86917. _setUpControl() {
  86918. this._checkParentType();
  86919. this.control = this.formDirective.addControl(this);
  86920. this._added = true;
  86921. }
  86922. }
  86923. /**
  86924. * @description
  86925. * Static property used to track whether any ngModel warnings have been sent across
  86926. * all instances of FormControlName. Used to support warning config of "once".
  86927. *
  86928. * @internal
  86929. */
  86930. FormControlName._ngModelWarningSentOnce = false;
  86931. FormControlName.ɵfac = function FormControlName_Factory(t) {
  86932. return new (t || FormControlName)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](ControlContainer, 13), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NG_VALIDATORS, 10), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NG_ASYNC_VALIDATORS, 10), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NG_VALUE_ACCESSOR, 10), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NG_MODEL_WITH_FORM_CONTROL_WARNING, 8));
  86933. };
  86934. FormControlName.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  86935. type: FormControlName,
  86936. selectors: [["", "formControlName", ""]],
  86937. inputs: {
  86938. name: ["formControlName", "name"],
  86939. isDisabled: ["disabled", "isDisabled"],
  86940. model: ["ngModel", "model"]
  86941. },
  86942. outputs: {
  86943. update: "ngModelChange"
  86944. },
  86945. features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([controlNameBinding]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]]
  86946. });
  86947. (function () {
  86948. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](FormControlName, [{
  86949. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  86950. args: [{
  86951. selector: '[formControlName]',
  86952. providers: [controlNameBinding]
  86953. }]
  86954. }], function () {
  86955. return [{
  86956. type: ControlContainer,
  86957. decorators: [{
  86958. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  86959. }, {
  86960. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Host
  86961. }, {
  86962. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.SkipSelf
  86963. }]
  86964. }, {
  86965. type: undefined,
  86966. decorators: [{
  86967. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  86968. }, {
  86969. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
  86970. }, {
  86971. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
  86972. args: [NG_VALIDATORS]
  86973. }]
  86974. }, {
  86975. type: undefined,
  86976. decorators: [{
  86977. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  86978. }, {
  86979. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
  86980. }, {
  86981. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
  86982. args: [NG_ASYNC_VALIDATORS]
  86983. }]
  86984. }, {
  86985. type: undefined,
  86986. decorators: [{
  86987. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  86988. }, {
  86989. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
  86990. }, {
  86991. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
  86992. args: [NG_VALUE_ACCESSOR]
  86993. }]
  86994. }, {
  86995. type: undefined,
  86996. decorators: [{
  86997. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  86998. }, {
  86999. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
  87000. args: [NG_MODEL_WITH_FORM_CONTROL_WARNING]
  87001. }]
  87002. }];
  87003. }, {
  87004. name: [{
  87005. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
  87006. args: ['formControlName']
  87007. }],
  87008. isDisabled: [{
  87009. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
  87010. args: ['disabled']
  87011. }],
  87012. model: [{
  87013. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
  87014. args: ['ngModel']
  87015. }],
  87016. update: [{
  87017. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Output,
  87018. args: ['ngModelChange']
  87019. }]
  87020. });
  87021. })();
  87022. /**
  87023. * @license
  87024. * Copyright Google LLC All Rights Reserved.
  87025. *
  87026. * Use of this source code is governed by an MIT-style license that can be
  87027. * found in the LICENSE file at https://angular.io/license
  87028. */
  87029. const SELECT_VALUE_ACCESSOR = {
  87030. provide: NG_VALUE_ACCESSOR,
  87031. useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => SelectControlValueAccessor),
  87032. multi: true
  87033. };
  87034. function _buildValueString$1(id, value) {
  87035. if (id == null) return `${value}`;
  87036. if (value && typeof value === 'object') value = 'Object';
  87037. return `${id}: ${value}`.slice(0, 50);
  87038. }
  87039. function _extractId$1(valueString) {
  87040. return valueString.split(':')[0];
  87041. }
  87042. /**
  87043. * @description
  87044. * The `ControlValueAccessor` for writing select control values and listening to select control
  87045. * changes. The value accessor is used by the `FormControlDirective`, `FormControlName`, and
  87046. * `NgModel` directives.
  87047. *
  87048. * @usageNotes
  87049. *
  87050. * ### Using select controls in a reactive form
  87051. *
  87052. * The following examples show how to use a select control in a reactive form.
  87053. *
  87054. * {@example forms/ts/reactiveSelectControl/reactive_select_control_example.ts region='Component'}
  87055. *
  87056. * ### Using select controls in a template-driven form
  87057. *
  87058. * To use a select in a template-driven form, simply add an `ngModel` and a `name`
  87059. * attribute to the main `<select>` tag.
  87060. *
  87061. * {@example forms/ts/selectControl/select_control_example.ts region='Component'}
  87062. *
  87063. * ### Customizing option selection
  87064. *
  87065. * Angular uses object identity to select option. It's possible for the identities of items
  87066. * to change while the data does not. This can happen, for example, if the items are produced
  87067. * from an RPC to the server, and that RPC is re-run. Even if the data hasn't changed, the
  87068. * second response will produce objects with different identities.
  87069. *
  87070. * To customize the default option comparison algorithm, `<select>` supports `compareWith` input.
  87071. * `compareWith` takes a **function** which has two arguments: `option1` and `option2`.
  87072. * If `compareWith` is given, Angular selects option by the return value of the function.
  87073. *
  87074. * ```ts
  87075. * const selectedCountriesControl = new FormControl();
  87076. * ```
  87077. *
  87078. * ```
  87079. * <select [compareWith]="compareFn" [formControl]="selectedCountriesControl">
  87080. * <option *ngFor="let country of countries" [ngValue]="country">
  87081. * {{country.name}}
  87082. * </option>
  87083. * </select>
  87084. *
  87085. * compareFn(c1: Country, c2: Country): boolean {
  87086. * return c1 && c2 ? c1.id === c2.id : c1 === c2;
  87087. * }
  87088. * ```
  87089. *
  87090. * **Note:** We listen to the 'change' event because 'input' events aren't fired
  87091. * for selects in IE, see:
  87092. * https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event#browser_compatibility
  87093. *
  87094. * @ngModule ReactiveFormsModule
  87095. * @ngModule FormsModule
  87096. * @publicApi
  87097. */
  87098. class SelectControlValueAccessor extends BuiltInControlValueAccessor {
  87099. constructor() {
  87100. super(...arguments);
  87101. /** @internal */
  87102. this._optionMap = new Map();
  87103. /** @internal */
  87104. this._idCounter = 0;
  87105. this._compareWith = Object.is;
  87106. }
  87107. /**
  87108. * @description
  87109. * Tracks the option comparison algorithm for tracking identities when
  87110. * checking for changes.
  87111. */
  87112. set compareWith(fn) {
  87113. if (typeof fn !== 'function' && (typeof ngDevMode === 'undefined' || ngDevMode)) {
  87114. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](1201
  87115. /* RuntimeErrorCode.COMPAREWITH_NOT_A_FN */
  87116. , `compareWith must be a function, but received ${JSON.stringify(fn)}`);
  87117. }
  87118. this._compareWith = fn;
  87119. }
  87120. /**
  87121. * Sets the "value" property on the select element.
  87122. * @nodoc
  87123. */
  87124. writeValue(value) {
  87125. this.value = value;
  87126. const id = this._getOptionId(value);
  87127. const valueString = _buildValueString$1(id, value);
  87128. this.setProperty('value', valueString);
  87129. }
  87130. /**
  87131. * Registers a function called when the control value changes.
  87132. * @nodoc
  87133. */
  87134. registerOnChange(fn) {
  87135. this.onChange = valueString => {
  87136. this.value = this._getOptionValue(valueString);
  87137. fn(this.value);
  87138. };
  87139. }
  87140. /** @internal */
  87141. _registerOption() {
  87142. return (this._idCounter++).toString();
  87143. }
  87144. /** @internal */
  87145. _getOptionId(value) {
  87146. for (const id of Array.from(this._optionMap.keys())) {
  87147. if (this._compareWith(this._optionMap.get(id), value)) return id;
  87148. }
  87149. return null;
  87150. }
  87151. /** @internal */
  87152. _getOptionValue(valueString) {
  87153. const id = _extractId$1(valueString);
  87154. return this._optionMap.has(id) ? this._optionMap.get(id) : valueString;
  87155. }
  87156. }
  87157. SelectControlValueAccessor.ɵfac = /* @__PURE__ */function () {
  87158. let ɵSelectControlValueAccessor_BaseFactory;
  87159. return function SelectControlValueAccessor_Factory(t) {
  87160. return (ɵSelectControlValueAccessor_BaseFactory || (ɵSelectControlValueAccessor_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](SelectControlValueAccessor)))(t || SelectControlValueAccessor);
  87161. };
  87162. }();
  87163. SelectControlValueAccessor.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  87164. type: SelectControlValueAccessor,
  87165. selectors: [["select", "formControlName", "", 3, "multiple", ""], ["select", "formControl", "", 3, "multiple", ""], ["select", "ngModel", "", 3, "multiple", ""]],
  87166. hostBindings: function SelectControlValueAccessor_HostBindings(rf, ctx) {
  87167. if (rf & 1) {
  87168. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("change", function SelectControlValueAccessor_change_HostBindingHandler($event) {
  87169. return ctx.onChange($event.target.value);
  87170. })("blur", function SelectControlValueAccessor_blur_HostBindingHandler() {
  87171. return ctx.onTouched();
  87172. });
  87173. }
  87174. },
  87175. inputs: {
  87176. compareWith: "compareWith"
  87177. },
  87178. features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([SELECT_VALUE_ACCESSOR]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
  87179. });
  87180. (function () {
  87181. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SelectControlValueAccessor, [{
  87182. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  87183. args: [{
  87184. selector: 'select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]',
  87185. host: {
  87186. '(change)': 'onChange($event.target.value)',
  87187. '(blur)': 'onTouched()'
  87188. },
  87189. providers: [SELECT_VALUE_ACCESSOR]
  87190. }]
  87191. }], null, {
  87192. compareWith: [{
  87193. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  87194. }]
  87195. });
  87196. })();
  87197. /**
  87198. * @description
  87199. * Marks `<option>` as dynamic, so Angular can be notified when options change.
  87200. *
  87201. * @see `SelectControlValueAccessor`
  87202. *
  87203. * @ngModule ReactiveFormsModule
  87204. * @ngModule FormsModule
  87205. * @publicApi
  87206. */
  87207. class NgSelectOption {
  87208. constructor(_element, _renderer, _select) {
  87209. this._element = _element;
  87210. this._renderer = _renderer;
  87211. this._select = _select;
  87212. if (this._select) this.id = this._select._registerOption();
  87213. }
  87214. /**
  87215. * @description
  87216. * Tracks the value bound to the option element. Unlike the value binding,
  87217. * ngValue supports binding to objects.
  87218. */
  87219. set ngValue(value) {
  87220. if (this._select == null) return;
  87221. this._select._optionMap.set(this.id, value);
  87222. this._setElementValue(_buildValueString$1(this.id, value));
  87223. this._select.writeValue(this._select.value);
  87224. }
  87225. /**
  87226. * @description
  87227. * Tracks simple string values bound to the option element.
  87228. * For objects, use the `ngValue` input binding.
  87229. */
  87230. set value(value) {
  87231. this._setElementValue(value);
  87232. if (this._select) this._select.writeValue(this._select.value);
  87233. }
  87234. /** @internal */
  87235. _setElementValue(value) {
  87236. this._renderer.setProperty(this._element.nativeElement, 'value', value);
  87237. }
  87238. /** @nodoc */
  87239. ngOnDestroy() {
  87240. if (this._select) {
  87241. this._select._optionMap.delete(this.id);
  87242. this._select.writeValue(this._select.value);
  87243. }
  87244. }
  87245. }
  87246. NgSelectOption.ɵfac = function NgSelectOption_Factory(t) {
  87247. return new (t || NgSelectOption)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.Renderer2), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](SelectControlValueAccessor, 9));
  87248. };
  87249. NgSelectOption.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  87250. type: NgSelectOption,
  87251. selectors: [["option"]],
  87252. inputs: {
  87253. ngValue: "ngValue",
  87254. value: "value"
  87255. }
  87256. });
  87257. (function () {
  87258. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgSelectOption, [{
  87259. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  87260. args: [{
  87261. selector: 'option'
  87262. }]
  87263. }], function () {
  87264. return [{
  87265. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef
  87266. }, {
  87267. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Renderer2
  87268. }, {
  87269. type: SelectControlValueAccessor,
  87270. decorators: [{
  87271. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  87272. }, {
  87273. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Host
  87274. }]
  87275. }];
  87276. }, {
  87277. ngValue: [{
  87278. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
  87279. args: ['ngValue']
  87280. }],
  87281. value: [{
  87282. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
  87283. args: ['value']
  87284. }]
  87285. });
  87286. })();
  87287. /**
  87288. * @license
  87289. * Copyright Google LLC All Rights Reserved.
  87290. *
  87291. * Use of this source code is governed by an MIT-style license that can be
  87292. * found in the LICENSE file at https://angular.io/license
  87293. */
  87294. const SELECT_MULTIPLE_VALUE_ACCESSOR = {
  87295. provide: NG_VALUE_ACCESSOR,
  87296. useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => SelectMultipleControlValueAccessor),
  87297. multi: true
  87298. };
  87299. function _buildValueString(id, value) {
  87300. if (id == null) return `${value}`;
  87301. if (typeof value === 'string') value = `'${value}'`;
  87302. if (value && typeof value === 'object') value = 'Object';
  87303. return `${id}: ${value}`.slice(0, 50);
  87304. }
  87305. function _extractId(valueString) {
  87306. return valueString.split(':')[0];
  87307. }
  87308. /** Mock interface for HTMLCollection */
  87309. class HTMLCollection {}
  87310. /**
  87311. * @description
  87312. * The `ControlValueAccessor` for writing multi-select control values and listening to multi-select
  87313. * control changes. The value accessor is used by the `FormControlDirective`, `FormControlName`, and
  87314. * `NgModel` directives.
  87315. *
  87316. * @see `SelectControlValueAccessor`
  87317. *
  87318. * @usageNotes
  87319. *
  87320. * ### Using a multi-select control
  87321. *
  87322. * The follow example shows you how to use a multi-select control with a reactive form.
  87323. *
  87324. * ```ts
  87325. * const countryControl = new FormControl();
  87326. * ```
  87327. *
  87328. * ```
  87329. * <select multiple name="countries" [formControl]="countryControl">
  87330. * <option *ngFor="let country of countries" [ngValue]="country">
  87331. * {{ country.name }}
  87332. * </option>
  87333. * </select>
  87334. * ```
  87335. *
  87336. * ### Customizing option selection
  87337. *
  87338. * To customize the default option comparison algorithm, `<select>` supports `compareWith` input.
  87339. * See the `SelectControlValueAccessor` for usage.
  87340. *
  87341. * @ngModule ReactiveFormsModule
  87342. * @ngModule FormsModule
  87343. * @publicApi
  87344. */
  87345. class SelectMultipleControlValueAccessor extends BuiltInControlValueAccessor {
  87346. constructor() {
  87347. super(...arguments);
  87348. /** @internal */
  87349. this._optionMap = new Map();
  87350. /** @internal */
  87351. this._idCounter = 0;
  87352. this._compareWith = Object.is;
  87353. }
  87354. /**
  87355. * @description
  87356. * Tracks the option comparison algorithm for tracking identities when
  87357. * checking for changes.
  87358. */
  87359. set compareWith(fn) {
  87360. if (typeof fn !== 'function' && (typeof ngDevMode === 'undefined' || ngDevMode)) {
  87361. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](1201
  87362. /* RuntimeErrorCode.COMPAREWITH_NOT_A_FN */
  87363. , `compareWith must be a function, but received ${JSON.stringify(fn)}`);
  87364. }
  87365. this._compareWith = fn;
  87366. }
  87367. /**
  87368. * Sets the "value" property on one or of more of the select's options.
  87369. * @nodoc
  87370. */
  87371. writeValue(value) {
  87372. this.value = value;
  87373. let optionSelectedStateSetter;
  87374. if (Array.isArray(value)) {
  87375. // convert values to ids
  87376. const ids = value.map(v => this._getOptionId(v));
  87377. optionSelectedStateSetter = (opt, o) => {
  87378. opt._setSelected(ids.indexOf(o.toString()) > -1);
  87379. };
  87380. } else {
  87381. optionSelectedStateSetter = (opt, o) => {
  87382. opt._setSelected(false);
  87383. };
  87384. }
  87385. this._optionMap.forEach(optionSelectedStateSetter);
  87386. }
  87387. /**
  87388. * Registers a function called when the control value changes
  87389. * and writes an array of the selected options.
  87390. * @nodoc
  87391. */
  87392. registerOnChange(fn) {
  87393. this.onChange = element => {
  87394. const selected = [];
  87395. const selectedOptions = element.selectedOptions;
  87396. if (selectedOptions !== undefined) {
  87397. const options = selectedOptions;
  87398. for (let i = 0; i < options.length; i++) {
  87399. const opt = options[i];
  87400. const val = this._getOptionValue(opt.value);
  87401. selected.push(val);
  87402. }
  87403. } // Degrade to use `options` when `selectedOptions` property is not available.
  87404. // Note: the `selectedOptions` is available in all supported browsers, but the Domino lib
  87405. // doesn't have it currently, see https://github.com/fgnass/domino/issues/177.
  87406. else {
  87407. const options = element.options;
  87408. for (let i = 0; i < options.length; i++) {
  87409. const opt = options[i];
  87410. if (opt.selected) {
  87411. const val = this._getOptionValue(opt.value);
  87412. selected.push(val);
  87413. }
  87414. }
  87415. }
  87416. this.value = selected;
  87417. fn(selected);
  87418. };
  87419. }
  87420. /** @internal */
  87421. _registerOption(value) {
  87422. const id = (this._idCounter++).toString();
  87423. this._optionMap.set(id, value);
  87424. return id;
  87425. }
  87426. /** @internal */
  87427. _getOptionId(value) {
  87428. for (const id of Array.from(this._optionMap.keys())) {
  87429. if (this._compareWith(this._optionMap.get(id)._value, value)) return id;
  87430. }
  87431. return null;
  87432. }
  87433. /** @internal */
  87434. _getOptionValue(valueString) {
  87435. const id = _extractId(valueString);
  87436. return this._optionMap.has(id) ? this._optionMap.get(id)._value : valueString;
  87437. }
  87438. }
  87439. SelectMultipleControlValueAccessor.ɵfac = /* @__PURE__ */function () {
  87440. let ɵSelectMultipleControlValueAccessor_BaseFactory;
  87441. return function SelectMultipleControlValueAccessor_Factory(t) {
  87442. return (ɵSelectMultipleControlValueAccessor_BaseFactory || (ɵSelectMultipleControlValueAccessor_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](SelectMultipleControlValueAccessor)))(t || SelectMultipleControlValueAccessor);
  87443. };
  87444. }();
  87445. SelectMultipleControlValueAccessor.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  87446. type: SelectMultipleControlValueAccessor,
  87447. selectors: [["select", "multiple", "", "formControlName", ""], ["select", "multiple", "", "formControl", ""], ["select", "multiple", "", "ngModel", ""]],
  87448. hostBindings: function SelectMultipleControlValueAccessor_HostBindings(rf, ctx) {
  87449. if (rf & 1) {
  87450. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("change", function SelectMultipleControlValueAccessor_change_HostBindingHandler($event) {
  87451. return ctx.onChange($event.target);
  87452. })("blur", function SelectMultipleControlValueAccessor_blur_HostBindingHandler() {
  87453. return ctx.onTouched();
  87454. });
  87455. }
  87456. },
  87457. inputs: {
  87458. compareWith: "compareWith"
  87459. },
  87460. features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([SELECT_MULTIPLE_VALUE_ACCESSOR]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
  87461. });
  87462. (function () {
  87463. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SelectMultipleControlValueAccessor, [{
  87464. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  87465. args: [{
  87466. selector: 'select[multiple][formControlName],select[multiple][formControl],select[multiple][ngModel]',
  87467. host: {
  87468. '(change)': 'onChange($event.target)',
  87469. '(blur)': 'onTouched()'
  87470. },
  87471. providers: [SELECT_MULTIPLE_VALUE_ACCESSOR]
  87472. }]
  87473. }], null, {
  87474. compareWith: [{
  87475. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  87476. }]
  87477. });
  87478. })();
  87479. /**
  87480. * @description
  87481. * Marks `<option>` as dynamic, so Angular can be notified when options change.
  87482. *
  87483. * @see `SelectMultipleControlValueAccessor`
  87484. *
  87485. * @ngModule ReactiveFormsModule
  87486. * @ngModule FormsModule
  87487. * @publicApi
  87488. */
  87489. class ɵNgSelectMultipleOption {
  87490. constructor(_element, _renderer, _select) {
  87491. this._element = _element;
  87492. this._renderer = _renderer;
  87493. this._select = _select;
  87494. if (this._select) {
  87495. this.id = this._select._registerOption(this);
  87496. }
  87497. }
  87498. /**
  87499. * @description
  87500. * Tracks the value bound to the option element. Unlike the value binding,
  87501. * ngValue supports binding to objects.
  87502. */
  87503. set ngValue(value) {
  87504. if (this._select == null) return;
  87505. this._value = value;
  87506. this._setElementValue(_buildValueString(this.id, value));
  87507. this._select.writeValue(this._select.value);
  87508. }
  87509. /**
  87510. * @description
  87511. * Tracks simple string values bound to the option element.
  87512. * For objects, use the `ngValue` input binding.
  87513. */
  87514. set value(value) {
  87515. if (this._select) {
  87516. this._value = value;
  87517. this._setElementValue(_buildValueString(this.id, value));
  87518. this._select.writeValue(this._select.value);
  87519. } else {
  87520. this._setElementValue(value);
  87521. }
  87522. }
  87523. /** @internal */
  87524. _setElementValue(value) {
  87525. this._renderer.setProperty(this._element.nativeElement, 'value', value);
  87526. }
  87527. /** @internal */
  87528. _setSelected(selected) {
  87529. this._renderer.setProperty(this._element.nativeElement, 'selected', selected);
  87530. }
  87531. /** @nodoc */
  87532. ngOnDestroy() {
  87533. if (this._select) {
  87534. this._select._optionMap.delete(this.id);
  87535. this._select.writeValue(this._select.value);
  87536. }
  87537. }
  87538. }
  87539. ɵNgSelectMultipleOption.ɵfac = function ɵNgSelectMultipleOption_Factory(t) {
  87540. return new (t || ɵNgSelectMultipleOption)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.Renderer2), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](SelectMultipleControlValueAccessor, 9));
  87541. };
  87542. ɵNgSelectMultipleOption.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  87543. type: ɵNgSelectMultipleOption,
  87544. selectors: [["option"]],
  87545. inputs: {
  87546. ngValue: "ngValue",
  87547. value: "value"
  87548. }
  87549. });
  87550. (function () {
  87551. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ɵNgSelectMultipleOption, [{
  87552. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  87553. args: [{
  87554. selector: 'option'
  87555. }]
  87556. }], function () {
  87557. return [{
  87558. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef
  87559. }, {
  87560. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Renderer2
  87561. }, {
  87562. type: SelectMultipleControlValueAccessor,
  87563. decorators: [{
  87564. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  87565. }, {
  87566. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Host
  87567. }]
  87568. }];
  87569. }, {
  87570. ngValue: [{
  87571. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
  87572. args: ['ngValue']
  87573. }],
  87574. value: [{
  87575. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
  87576. args: ['value']
  87577. }]
  87578. });
  87579. })();
  87580. /**
  87581. * @license
  87582. * Copyright Google LLC All Rights Reserved.
  87583. *
  87584. * Use of this source code is governed by an MIT-style license that can be
  87585. * found in the LICENSE file at https://angular.io/license
  87586. */
  87587. /**
  87588. * Method that updates string to integer if not already a number
  87589. *
  87590. * @param value The value to convert to integer.
  87591. * @returns value of parameter converted to number or integer.
  87592. */
  87593. function toInteger(value) {
  87594. return typeof value === 'number' ? value : parseInt(value, 10);
  87595. }
  87596. /**
  87597. * Method that ensures that provided value is a float (and converts it to float if needed).
  87598. *
  87599. * @param value The value to convert to float.
  87600. * @returns value of parameter converted to number or float.
  87601. */
  87602. function toFloat(value) {
  87603. return typeof value === 'number' ? value : parseFloat(value);
  87604. }
  87605. /**
  87606. * A base class for Validator-based Directives. The class contains common logic shared across such
  87607. * Directives.
  87608. *
  87609. * For internal use only, this class is not intended for use outside of the Forms package.
  87610. */
  87611. class AbstractValidatorDirective {
  87612. constructor() {
  87613. this._validator = nullValidator;
  87614. }
  87615. /** @nodoc */
  87616. ngOnChanges(changes) {
  87617. if (this.inputName in changes) {
  87618. const input = this.normalizeInput(changes[this.inputName].currentValue);
  87619. this._enabled = this.enabled(input);
  87620. this._validator = this._enabled ? this.createValidator(input) : nullValidator;
  87621. if (this._onChange) {
  87622. this._onChange();
  87623. }
  87624. }
  87625. }
  87626. /** @nodoc */
  87627. validate(control) {
  87628. return this._validator(control);
  87629. }
  87630. /** @nodoc */
  87631. registerOnValidatorChange(fn) {
  87632. this._onChange = fn;
  87633. }
  87634. /**
  87635. * @description
  87636. * Determines whether this validator should be active or not based on an input.
  87637. * Base class implementation checks whether an input is defined (if the value is different from
  87638. * `null` and `undefined`). Validator classes that extend this base class can override this
  87639. * function with the logic specific to a particular validator directive.
  87640. */
  87641. enabled(input) {
  87642. return input != null
  87643. /* both `null` and `undefined` */
  87644. ;
  87645. }
  87646. }
  87647. AbstractValidatorDirective.ɵfac = function AbstractValidatorDirective_Factory(t) {
  87648. return new (t || AbstractValidatorDirective)();
  87649. };
  87650. AbstractValidatorDirective.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  87651. type: AbstractValidatorDirective,
  87652. features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]]
  87653. });
  87654. (function () {
  87655. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AbstractValidatorDirective, [{
  87656. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive
  87657. }], null, null);
  87658. })();
  87659. /**
  87660. * @description
  87661. * Provider which adds `MaxValidator` to the `NG_VALIDATORS` multi-provider list.
  87662. */
  87663. const MAX_VALIDATOR = {
  87664. provide: NG_VALIDATORS,
  87665. useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => MaxValidator),
  87666. multi: true
  87667. };
  87668. /**
  87669. * A directive which installs the {@link MaxValidator} for any `formControlName`,
  87670. * `formControl`, or control with `ngModel` that also has a `max` attribute.
  87671. *
  87672. * @see [Form Validation](guide/form-validation)
  87673. *
  87674. * @usageNotes
  87675. *
  87676. * ### Adding a max validator
  87677. *
  87678. * The following example shows how to add a max validator to an input attached to an
  87679. * ngModel binding.
  87680. *
  87681. * ```html
  87682. * <input type="number" ngModel max="4">
  87683. * ```
  87684. *
  87685. * @ngModule ReactiveFormsModule
  87686. * @ngModule FormsModule
  87687. * @publicApi
  87688. */
  87689. class MaxValidator extends AbstractValidatorDirective {
  87690. constructor() {
  87691. super(...arguments);
  87692. /** @internal */
  87693. this.inputName = 'max';
  87694. /** @internal */
  87695. this.normalizeInput = input => toFloat(input);
  87696. /** @internal */
  87697. this.createValidator = max => maxValidator(max);
  87698. }
  87699. }
  87700. MaxValidator.ɵfac = /* @__PURE__ */function () {
  87701. let ɵMaxValidator_BaseFactory;
  87702. return function MaxValidator_Factory(t) {
  87703. return (ɵMaxValidator_BaseFactory || (ɵMaxValidator_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](MaxValidator)))(t || MaxValidator);
  87704. };
  87705. }();
  87706. MaxValidator.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  87707. type: MaxValidator,
  87708. selectors: [["input", "type", "number", "max", "", "formControlName", ""], ["input", "type", "number", "max", "", "formControl", ""], ["input", "type", "number", "max", "", "ngModel", ""]],
  87709. hostVars: 1,
  87710. hostBindings: function MaxValidator_HostBindings(rf, ctx) {
  87711. if (rf & 2) {
  87712. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("max", ctx._enabled ? ctx.max : null);
  87713. }
  87714. },
  87715. inputs: {
  87716. max: "max"
  87717. },
  87718. features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([MAX_VALIDATOR]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
  87719. });
  87720. (function () {
  87721. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](MaxValidator, [{
  87722. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  87723. args: [{
  87724. selector: 'input[type=number][max][formControlName],input[type=number][max][formControl],input[type=number][max][ngModel]',
  87725. providers: [MAX_VALIDATOR],
  87726. host: {
  87727. '[attr.max]': '_enabled ? max : null'
  87728. }
  87729. }]
  87730. }], null, {
  87731. max: [{
  87732. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  87733. }]
  87734. });
  87735. })();
  87736. /**
  87737. * @description
  87738. * Provider which adds `MinValidator` to the `NG_VALIDATORS` multi-provider list.
  87739. */
  87740. const MIN_VALIDATOR = {
  87741. provide: NG_VALIDATORS,
  87742. useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => MinValidator),
  87743. multi: true
  87744. };
  87745. /**
  87746. * A directive which installs the {@link MinValidator} for any `formControlName`,
  87747. * `formControl`, or control with `ngModel` that also has a `min` attribute.
  87748. *
  87749. * @see [Form Validation](guide/form-validation)
  87750. *
  87751. * @usageNotes
  87752. *
  87753. * ### Adding a min validator
  87754. *
  87755. * The following example shows how to add a min validator to an input attached to an
  87756. * ngModel binding.
  87757. *
  87758. * ```html
  87759. * <input type="number" ngModel min="4">
  87760. * ```
  87761. *
  87762. * @ngModule ReactiveFormsModule
  87763. * @ngModule FormsModule
  87764. * @publicApi
  87765. */
  87766. class MinValidator extends AbstractValidatorDirective {
  87767. constructor() {
  87768. super(...arguments);
  87769. /** @internal */
  87770. this.inputName = 'min';
  87771. /** @internal */
  87772. this.normalizeInput = input => toFloat(input);
  87773. /** @internal */
  87774. this.createValidator = min => minValidator(min);
  87775. }
  87776. }
  87777. MinValidator.ɵfac = /* @__PURE__ */function () {
  87778. let ɵMinValidator_BaseFactory;
  87779. return function MinValidator_Factory(t) {
  87780. return (ɵMinValidator_BaseFactory || (ɵMinValidator_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](MinValidator)))(t || MinValidator);
  87781. };
  87782. }();
  87783. MinValidator.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  87784. type: MinValidator,
  87785. selectors: [["input", "type", "number", "min", "", "formControlName", ""], ["input", "type", "number", "min", "", "formControl", ""], ["input", "type", "number", "min", "", "ngModel", ""]],
  87786. hostVars: 1,
  87787. hostBindings: function MinValidator_HostBindings(rf, ctx) {
  87788. if (rf & 2) {
  87789. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("min", ctx._enabled ? ctx.min : null);
  87790. }
  87791. },
  87792. inputs: {
  87793. min: "min"
  87794. },
  87795. features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([MIN_VALIDATOR]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
  87796. });
  87797. (function () {
  87798. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](MinValidator, [{
  87799. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  87800. args: [{
  87801. selector: 'input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]',
  87802. providers: [MIN_VALIDATOR],
  87803. host: {
  87804. '[attr.min]': '_enabled ? min : null'
  87805. }
  87806. }]
  87807. }], null, {
  87808. min: [{
  87809. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  87810. }]
  87811. });
  87812. })();
  87813. /**
  87814. * @description
  87815. * Provider which adds `RequiredValidator` to the `NG_VALIDATORS` multi-provider list.
  87816. */
  87817. const REQUIRED_VALIDATOR = {
  87818. provide: NG_VALIDATORS,
  87819. useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => RequiredValidator),
  87820. multi: true
  87821. };
  87822. /**
  87823. * @description
  87824. * Provider which adds `CheckboxRequiredValidator` to the `NG_VALIDATORS` multi-provider list.
  87825. */
  87826. const CHECKBOX_REQUIRED_VALIDATOR = {
  87827. provide: NG_VALIDATORS,
  87828. useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => CheckboxRequiredValidator),
  87829. multi: true
  87830. };
  87831. /**
  87832. * @description
  87833. * A directive that adds the `required` validator to any controls marked with the
  87834. * `required` attribute. The directive is provided with the `NG_VALIDATORS` multi-provider list.
  87835. *
  87836. * @see [Form Validation](guide/form-validation)
  87837. *
  87838. * @usageNotes
  87839. *
  87840. * ### Adding a required validator using template-driven forms
  87841. *
  87842. * ```
  87843. * <input name="fullName" ngModel required>
  87844. * ```
  87845. *
  87846. * @ngModule FormsModule
  87847. * @ngModule ReactiveFormsModule
  87848. * @publicApi
  87849. */
  87850. class RequiredValidator extends AbstractValidatorDirective {
  87851. constructor() {
  87852. super(...arguments);
  87853. /** @internal */
  87854. this.inputName = 'required';
  87855. /** @internal */
  87856. this.normalizeInput = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcoerceToBoolean"];
  87857. /** @internal */
  87858. this.createValidator = input => requiredValidator;
  87859. }
  87860. /** @nodoc */
  87861. enabled(input) {
  87862. return input;
  87863. }
  87864. }
  87865. RequiredValidator.ɵfac = /* @__PURE__ */function () {
  87866. let ɵRequiredValidator_BaseFactory;
  87867. return function RequiredValidator_Factory(t) {
  87868. return (ɵRequiredValidator_BaseFactory || (ɵRequiredValidator_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](RequiredValidator)))(t || RequiredValidator);
  87869. };
  87870. }();
  87871. RequiredValidator.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  87872. type: RequiredValidator,
  87873. selectors: [["", "required", "", "formControlName", "", 3, "type", "checkbox"], ["", "required", "", "formControl", "", 3, "type", "checkbox"], ["", "required", "", "ngModel", "", 3, "type", "checkbox"]],
  87874. hostVars: 1,
  87875. hostBindings: function RequiredValidator_HostBindings(rf, ctx) {
  87876. if (rf & 2) {
  87877. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("required", ctx._enabled ? "" : null);
  87878. }
  87879. },
  87880. inputs: {
  87881. required: "required"
  87882. },
  87883. features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([REQUIRED_VALIDATOR]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
  87884. });
  87885. (function () {
  87886. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](RequiredValidator, [{
  87887. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  87888. args: [{
  87889. selector: ':not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]',
  87890. providers: [REQUIRED_VALIDATOR],
  87891. host: {
  87892. '[attr.required]': '_enabled ? "" : null'
  87893. }
  87894. }]
  87895. }], null, {
  87896. required: [{
  87897. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  87898. }]
  87899. });
  87900. })();
  87901. /**
  87902. * A Directive that adds the `required` validator to checkbox controls marked with the
  87903. * `required` attribute. The directive is provided with the `NG_VALIDATORS` multi-provider list.
  87904. *
  87905. * @see [Form Validation](guide/form-validation)
  87906. *
  87907. * @usageNotes
  87908. *
  87909. * ### Adding a required checkbox validator using template-driven forms
  87910. *
  87911. * The following example shows how to add a checkbox required validator to an input attached to an
  87912. * ngModel binding.
  87913. *
  87914. * ```
  87915. * <input type="checkbox" name="active" ngModel required>
  87916. * ```
  87917. *
  87918. * @publicApi
  87919. * @ngModule FormsModule
  87920. * @ngModule ReactiveFormsModule
  87921. */
  87922. class CheckboxRequiredValidator extends RequiredValidator {
  87923. constructor() {
  87924. super(...arguments);
  87925. /** @internal */
  87926. this.createValidator = input => requiredTrueValidator;
  87927. }
  87928. }
  87929. CheckboxRequiredValidator.ɵfac = /* @__PURE__ */function () {
  87930. let ɵCheckboxRequiredValidator_BaseFactory;
  87931. return function CheckboxRequiredValidator_Factory(t) {
  87932. return (ɵCheckboxRequiredValidator_BaseFactory || (ɵCheckboxRequiredValidator_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](CheckboxRequiredValidator)))(t || CheckboxRequiredValidator);
  87933. };
  87934. }();
  87935. CheckboxRequiredValidator.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  87936. type: CheckboxRequiredValidator,
  87937. selectors: [["input", "type", "checkbox", "required", "", "formControlName", ""], ["input", "type", "checkbox", "required", "", "formControl", ""], ["input", "type", "checkbox", "required", "", "ngModel", ""]],
  87938. hostVars: 1,
  87939. hostBindings: function CheckboxRequiredValidator_HostBindings(rf, ctx) {
  87940. if (rf & 2) {
  87941. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("required", ctx._enabled ? "" : null);
  87942. }
  87943. },
  87944. features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([CHECKBOX_REQUIRED_VALIDATOR]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
  87945. });
  87946. (function () {
  87947. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CheckboxRequiredValidator, [{
  87948. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  87949. args: [{
  87950. selector: 'input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]',
  87951. providers: [CHECKBOX_REQUIRED_VALIDATOR],
  87952. host: {
  87953. '[attr.required]': '_enabled ? "" : null'
  87954. }
  87955. }]
  87956. }], null, null);
  87957. })();
  87958. /**
  87959. * @description
  87960. * Provider which adds `EmailValidator` to the `NG_VALIDATORS` multi-provider list.
  87961. */
  87962. const EMAIL_VALIDATOR = {
  87963. provide: NG_VALIDATORS,
  87964. useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => EmailValidator),
  87965. multi: true
  87966. };
  87967. /**
  87968. * A directive that adds the `email` validator to controls marked with the
  87969. * `email` attribute. The directive is provided with the `NG_VALIDATORS` multi-provider list.
  87970. *
  87971. * The email validation is based on the WHATWG HTML specification with some enhancements to
  87972. * incorporate more RFC rules. More information can be found on the [Validators.email
  87973. * page](api/forms/Validators#email).
  87974. *
  87975. * @see [Form Validation](guide/form-validation)
  87976. *
  87977. * @usageNotes
  87978. *
  87979. * ### Adding an email validator
  87980. *
  87981. * The following example shows how to add an email validator to an input attached to an ngModel
  87982. * binding.
  87983. *
  87984. * ```
  87985. * <input type="email" name="email" ngModel email>
  87986. * <input type="email" name="email" ngModel email="true">
  87987. * <input type="email" name="email" ngModel [email]="true">
  87988. * ```
  87989. *
  87990. * @publicApi
  87991. * @ngModule FormsModule
  87992. * @ngModule ReactiveFormsModule
  87993. */
  87994. class EmailValidator extends AbstractValidatorDirective {
  87995. constructor() {
  87996. super(...arguments);
  87997. /** @internal */
  87998. this.inputName = 'email';
  87999. /** @internal */
  88000. this.normalizeInput = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcoerceToBoolean"];
  88001. /** @internal */
  88002. this.createValidator = input => emailValidator;
  88003. }
  88004. /** @nodoc */
  88005. enabled(input) {
  88006. return input;
  88007. }
  88008. }
  88009. EmailValidator.ɵfac = /* @__PURE__ */function () {
  88010. let ɵEmailValidator_BaseFactory;
  88011. return function EmailValidator_Factory(t) {
  88012. return (ɵEmailValidator_BaseFactory || (ɵEmailValidator_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](EmailValidator)))(t || EmailValidator);
  88013. };
  88014. }();
  88015. EmailValidator.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  88016. type: EmailValidator,
  88017. selectors: [["", "email", "", "formControlName", ""], ["", "email", "", "formControl", ""], ["", "email", "", "ngModel", ""]],
  88018. inputs: {
  88019. email: "email"
  88020. },
  88021. features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([EMAIL_VALIDATOR]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
  88022. });
  88023. (function () {
  88024. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](EmailValidator, [{
  88025. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  88026. args: [{
  88027. selector: '[email][formControlName],[email][formControl],[email][ngModel]',
  88028. providers: [EMAIL_VALIDATOR]
  88029. }]
  88030. }], null, {
  88031. email: [{
  88032. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  88033. }]
  88034. });
  88035. })();
  88036. /**
  88037. * @description
  88038. * Provider which adds `MinLengthValidator` to the `NG_VALIDATORS` multi-provider list.
  88039. */
  88040. const MIN_LENGTH_VALIDATOR = {
  88041. provide: NG_VALIDATORS,
  88042. useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => MinLengthValidator),
  88043. multi: true
  88044. };
  88045. /**
  88046. * A directive that adds minimum length validation to controls marked with the
  88047. * `minlength` attribute. The directive is provided with the `NG_VALIDATORS` multi-provider list.
  88048. *
  88049. * @see [Form Validation](guide/form-validation)
  88050. *
  88051. * @usageNotes
  88052. *
  88053. * ### Adding a minimum length validator
  88054. *
  88055. * The following example shows how to add a minimum length validator to an input attached to an
  88056. * ngModel binding.
  88057. *
  88058. * ```html
  88059. * <input name="firstName" ngModel minlength="4">
  88060. * ```
  88061. *
  88062. * @ngModule ReactiveFormsModule
  88063. * @ngModule FormsModule
  88064. * @publicApi
  88065. */
  88066. class MinLengthValidator extends AbstractValidatorDirective {
  88067. constructor() {
  88068. super(...arguments);
  88069. /** @internal */
  88070. this.inputName = 'minlength';
  88071. /** @internal */
  88072. this.normalizeInput = input => toInteger(input);
  88073. /** @internal */
  88074. this.createValidator = minlength => minLengthValidator(minlength);
  88075. }
  88076. }
  88077. MinLengthValidator.ɵfac = /* @__PURE__ */function () {
  88078. let ɵMinLengthValidator_BaseFactory;
  88079. return function MinLengthValidator_Factory(t) {
  88080. return (ɵMinLengthValidator_BaseFactory || (ɵMinLengthValidator_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](MinLengthValidator)))(t || MinLengthValidator);
  88081. };
  88082. }();
  88083. MinLengthValidator.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  88084. type: MinLengthValidator,
  88085. selectors: [["", "minlength", "", "formControlName", ""], ["", "minlength", "", "formControl", ""], ["", "minlength", "", "ngModel", ""]],
  88086. hostVars: 1,
  88087. hostBindings: function MinLengthValidator_HostBindings(rf, ctx) {
  88088. if (rf & 2) {
  88089. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("minlength", ctx._enabled ? ctx.minlength : null);
  88090. }
  88091. },
  88092. inputs: {
  88093. minlength: "minlength"
  88094. },
  88095. features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([MIN_LENGTH_VALIDATOR]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
  88096. });
  88097. (function () {
  88098. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](MinLengthValidator, [{
  88099. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  88100. args: [{
  88101. selector: '[minlength][formControlName],[minlength][formControl],[minlength][ngModel]',
  88102. providers: [MIN_LENGTH_VALIDATOR],
  88103. host: {
  88104. '[attr.minlength]': '_enabled ? minlength : null'
  88105. }
  88106. }]
  88107. }], null, {
  88108. minlength: [{
  88109. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  88110. }]
  88111. });
  88112. })();
  88113. /**
  88114. * @description
  88115. * Provider which adds `MaxLengthValidator` to the `NG_VALIDATORS` multi-provider list.
  88116. */
  88117. const MAX_LENGTH_VALIDATOR = {
  88118. provide: NG_VALIDATORS,
  88119. useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => MaxLengthValidator),
  88120. multi: true
  88121. };
  88122. /**
  88123. * A directive that adds max length validation to controls marked with the
  88124. * `maxlength` attribute. The directive is provided with the `NG_VALIDATORS` multi-provider list.
  88125. *
  88126. * @see [Form Validation](guide/form-validation)
  88127. *
  88128. * @usageNotes
  88129. *
  88130. * ### Adding a maximum length validator
  88131. *
  88132. * The following example shows how to add a maximum length validator to an input attached to an
  88133. * ngModel binding.
  88134. *
  88135. * ```html
  88136. * <input name="firstName" ngModel maxlength="25">
  88137. * ```
  88138. *
  88139. * @ngModule ReactiveFormsModule
  88140. * @ngModule FormsModule
  88141. * @publicApi
  88142. */
  88143. class MaxLengthValidator extends AbstractValidatorDirective {
  88144. constructor() {
  88145. super(...arguments);
  88146. /** @internal */
  88147. this.inputName = 'maxlength';
  88148. /** @internal */
  88149. this.normalizeInput = input => toInteger(input);
  88150. /** @internal */
  88151. this.createValidator = maxlength => maxLengthValidator(maxlength);
  88152. }
  88153. }
  88154. MaxLengthValidator.ɵfac = /* @__PURE__ */function () {
  88155. let ɵMaxLengthValidator_BaseFactory;
  88156. return function MaxLengthValidator_Factory(t) {
  88157. return (ɵMaxLengthValidator_BaseFactory || (ɵMaxLengthValidator_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](MaxLengthValidator)))(t || MaxLengthValidator);
  88158. };
  88159. }();
  88160. MaxLengthValidator.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  88161. type: MaxLengthValidator,
  88162. selectors: [["", "maxlength", "", "formControlName", ""], ["", "maxlength", "", "formControl", ""], ["", "maxlength", "", "ngModel", ""]],
  88163. hostVars: 1,
  88164. hostBindings: function MaxLengthValidator_HostBindings(rf, ctx) {
  88165. if (rf & 2) {
  88166. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("maxlength", ctx._enabled ? ctx.maxlength : null);
  88167. }
  88168. },
  88169. inputs: {
  88170. maxlength: "maxlength"
  88171. },
  88172. features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([MAX_LENGTH_VALIDATOR]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
  88173. });
  88174. (function () {
  88175. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](MaxLengthValidator, [{
  88176. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  88177. args: [{
  88178. selector: '[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]',
  88179. providers: [MAX_LENGTH_VALIDATOR],
  88180. host: {
  88181. '[attr.maxlength]': '_enabled ? maxlength : null'
  88182. }
  88183. }]
  88184. }], null, {
  88185. maxlength: [{
  88186. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  88187. }]
  88188. });
  88189. })();
  88190. /**
  88191. * @description
  88192. * Provider which adds `PatternValidator` to the `NG_VALIDATORS` multi-provider list.
  88193. */
  88194. const PATTERN_VALIDATOR = {
  88195. provide: NG_VALIDATORS,
  88196. useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => PatternValidator),
  88197. multi: true
  88198. };
  88199. /**
  88200. * @description
  88201. * A directive that adds regex pattern validation to controls marked with the
  88202. * `pattern` attribute. The regex must match the entire control value.
  88203. * The directive is provided with the `NG_VALIDATORS` multi-provider list.
  88204. *
  88205. * @see [Form Validation](guide/form-validation)
  88206. *
  88207. * @usageNotes
  88208. *
  88209. * ### Adding a pattern validator
  88210. *
  88211. * The following example shows how to add a pattern validator to an input attached to an
  88212. * ngModel binding.
  88213. *
  88214. * ```html
  88215. * <input name="firstName" ngModel pattern="[a-zA-Z ]*">
  88216. * ```
  88217. *
  88218. * @ngModule ReactiveFormsModule
  88219. * @ngModule FormsModule
  88220. * @publicApi
  88221. */
  88222. class PatternValidator extends AbstractValidatorDirective {
  88223. constructor() {
  88224. super(...arguments);
  88225. /** @internal */
  88226. this.inputName = 'pattern';
  88227. /** @internal */
  88228. this.normalizeInput = input => input;
  88229. /** @internal */
  88230. this.createValidator = input => patternValidator(input);
  88231. }
  88232. }
  88233. PatternValidator.ɵfac = /* @__PURE__ */function () {
  88234. let ɵPatternValidator_BaseFactory;
  88235. return function PatternValidator_Factory(t) {
  88236. return (ɵPatternValidator_BaseFactory || (ɵPatternValidator_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](PatternValidator)))(t || PatternValidator);
  88237. };
  88238. }();
  88239. PatternValidator.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  88240. type: PatternValidator,
  88241. selectors: [["", "pattern", "", "formControlName", ""], ["", "pattern", "", "formControl", ""], ["", "pattern", "", "ngModel", ""]],
  88242. hostVars: 1,
  88243. hostBindings: function PatternValidator_HostBindings(rf, ctx) {
  88244. if (rf & 2) {
  88245. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("pattern", ctx._enabled ? ctx.pattern : null);
  88246. }
  88247. },
  88248. inputs: {
  88249. pattern: "pattern"
  88250. },
  88251. features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([PATTERN_VALIDATOR]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
  88252. });
  88253. (function () {
  88254. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PatternValidator, [{
  88255. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  88256. args: [{
  88257. selector: '[pattern][formControlName],[pattern][formControl],[pattern][ngModel]',
  88258. providers: [PATTERN_VALIDATOR],
  88259. host: {
  88260. '[attr.pattern]': '_enabled ? pattern : null'
  88261. }
  88262. }]
  88263. }], null, {
  88264. pattern: [{
  88265. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  88266. }]
  88267. });
  88268. })();
  88269. /**
  88270. * @license
  88271. * Copyright Google LLC All Rights Reserved.
  88272. *
  88273. * Use of this source code is governed by an MIT-style license that can be
  88274. * found in the LICENSE file at https://angular.io/license
  88275. */
  88276. const SHARED_FORM_DIRECTIVES = [ɵNgNoValidate, NgSelectOption, ɵNgSelectMultipleOption, DefaultValueAccessor, NumberValueAccessor, RangeValueAccessor, CheckboxControlValueAccessor, SelectControlValueAccessor, SelectMultipleControlValueAccessor, RadioControlValueAccessor, NgControlStatus, NgControlStatusGroup, RequiredValidator, MinLengthValidator, MaxLengthValidator, PatternValidator, CheckboxRequiredValidator, EmailValidator, MinValidator, MaxValidator];
  88277. const TEMPLATE_DRIVEN_DIRECTIVES = [NgModel, NgModelGroup, NgForm];
  88278. const REACTIVE_DRIVEN_DIRECTIVES = [FormControlDirective, FormGroupDirective, FormControlName, FormGroupName, FormArrayName];
  88279. /**
  88280. * Internal module used for sharing directives between FormsModule and ReactiveFormsModule
  88281. */
  88282. class ɵInternalFormsSharedModule {}
  88283. ɵInternalFormsSharedModule.ɵfac = function ɵInternalFormsSharedModule_Factory(t) {
  88284. return new (t || ɵInternalFormsSharedModule)();
  88285. };
  88286. ɵInternalFormsSharedModule.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({
  88287. type: ɵInternalFormsSharedModule,
  88288. declarations: [ɵNgNoValidate, NgSelectOption, ɵNgSelectMultipleOption, DefaultValueAccessor, NumberValueAccessor, RangeValueAccessor, CheckboxControlValueAccessor, SelectControlValueAccessor, SelectMultipleControlValueAccessor, RadioControlValueAccessor, NgControlStatus, NgControlStatusGroup, RequiredValidator, MinLengthValidator, MaxLengthValidator, PatternValidator, CheckboxRequiredValidator, EmailValidator, MinValidator, MaxValidator],
  88289. imports: [RadioControlRegistryModule],
  88290. exports: [ɵNgNoValidate, NgSelectOption, ɵNgSelectMultipleOption, DefaultValueAccessor, NumberValueAccessor, RangeValueAccessor, CheckboxControlValueAccessor, SelectControlValueAccessor, SelectMultipleControlValueAccessor, RadioControlValueAccessor, NgControlStatus, NgControlStatusGroup, RequiredValidator, MinLengthValidator, MaxLengthValidator, PatternValidator, CheckboxRequiredValidator, EmailValidator, MinValidator, MaxValidator]
  88291. });
  88292. ɵInternalFormsSharedModule.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({
  88293. imports: [RadioControlRegistryModule]
  88294. });
  88295. (function () {
  88296. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ɵInternalFormsSharedModule, [{
  88297. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModule,
  88298. args: [{
  88299. declarations: SHARED_FORM_DIRECTIVES,
  88300. imports: [RadioControlRegistryModule],
  88301. exports: SHARED_FORM_DIRECTIVES
  88302. }]
  88303. }], null, null);
  88304. })();
  88305. /**
  88306. * @license
  88307. * Copyright Google LLC All Rights Reserved.
  88308. *
  88309. * Use of this source code is governed by an MIT-style license that can be
  88310. * found in the LICENSE file at https://angular.io/license
  88311. */
  88312. /**
  88313. * Exports the required providers and directives for template-driven forms,
  88314. * making them available for import by NgModules that import this module.
  88315. *
  88316. * Providers associated with this module:
  88317. * * `RadioControlRegistry`
  88318. *
  88319. * @see [Forms Overview](/guide/forms-overview)
  88320. * @see [Template-driven Forms Guide](/guide/forms)
  88321. *
  88322. * @publicApi
  88323. */
  88324. class FormsModule {}
  88325. FormsModule.ɵfac = function FormsModule_Factory(t) {
  88326. return new (t || FormsModule)();
  88327. };
  88328. FormsModule.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({
  88329. type: FormsModule,
  88330. declarations: [NgModel, NgModelGroup, NgForm],
  88331. exports: [ɵInternalFormsSharedModule, NgModel, NgModelGroup, NgForm]
  88332. });
  88333. FormsModule.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({
  88334. imports: [ɵInternalFormsSharedModule]
  88335. });
  88336. (function () {
  88337. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](FormsModule, [{
  88338. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModule,
  88339. args: [{
  88340. declarations: TEMPLATE_DRIVEN_DIRECTIVES,
  88341. exports: [ɵInternalFormsSharedModule, TEMPLATE_DRIVEN_DIRECTIVES]
  88342. }]
  88343. }], null, null);
  88344. })();
  88345. /**
  88346. * Exports the required infrastructure and directives for reactive forms,
  88347. * making them available for import by NgModules that import this module.
  88348. *
  88349. * Providers associated with this module:
  88350. * * `FormBuilder`
  88351. * * `RadioControlRegistry`
  88352. *
  88353. * @see [Forms Overview](guide/forms-overview)
  88354. * @see [Reactive Forms Guide](guide/reactive-forms)
  88355. *
  88356. * @publicApi
  88357. */
  88358. class ReactiveFormsModule {
  88359. /**
  88360. * @description
  88361. * Provides options for configuring the reactive forms module.
  88362. *
  88363. * @param opts An object of configuration options
  88364. * * `warnOnNgModelWithFormControl` Configures when to emit a warning when an `ngModel`
  88365. * binding is used with reactive form directives.
  88366. */
  88367. static withConfig(opts) {
  88368. return {
  88369. ngModule: ReactiveFormsModule,
  88370. providers: [{
  88371. provide: NG_MODEL_WITH_FORM_CONTROL_WARNING,
  88372. useValue: opts.warnOnNgModelWithFormControl
  88373. }]
  88374. };
  88375. }
  88376. }
  88377. ReactiveFormsModule.ɵfac = function ReactiveFormsModule_Factory(t) {
  88378. return new (t || ReactiveFormsModule)();
  88379. };
  88380. ReactiveFormsModule.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({
  88381. type: ReactiveFormsModule,
  88382. declarations: [FormControlDirective, FormGroupDirective, FormControlName, FormGroupName, FormArrayName],
  88383. exports: [ɵInternalFormsSharedModule, FormControlDirective, FormGroupDirective, FormControlName, FormGroupName, FormArrayName]
  88384. });
  88385. ReactiveFormsModule.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({
  88386. imports: [ɵInternalFormsSharedModule]
  88387. });
  88388. (function () {
  88389. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ReactiveFormsModule, [{
  88390. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModule,
  88391. args: [{
  88392. declarations: [REACTIVE_DRIVEN_DIRECTIVES],
  88393. exports: [ɵInternalFormsSharedModule, REACTIVE_DRIVEN_DIRECTIVES]
  88394. }]
  88395. }], null, null);
  88396. })();
  88397. /**
  88398. * @license
  88399. * Copyright Google LLC All Rights Reserved.
  88400. *
  88401. * Use of this source code is governed by an MIT-style license that can be
  88402. * found in the LICENSE file at https://angular.io/license
  88403. */
  88404. /**
  88405. * Tracks the value and validity state of an array of `FormControl`,
  88406. * `FormGroup` or `FormArray` instances.
  88407. *
  88408. * A `FormArray` aggregates the values of each child `FormControl` into an array.
  88409. * It calculates its status by reducing the status values of its children. For example, if one of
  88410. * the controls in a `FormArray` is invalid, the entire array becomes invalid.
  88411. *
  88412. * `FormArray` accepts one generic argument, which is the type of the controls inside.
  88413. * If you need a heterogenous array, use {@link UntypedFormArray}.
  88414. *
  88415. * `FormArray` is one of the four fundamental building blocks used to define forms in Angular,
  88416. * along with `FormControl`, `FormGroup`, and `FormRecord`.
  88417. *
  88418. * @usageNotes
  88419. *
  88420. * ### Create an array of form controls
  88421. *
  88422. * ```
  88423. * const arr = new FormArray([
  88424. * new FormControl('Nancy', Validators.minLength(2)),
  88425. * new FormControl('Drew'),
  88426. * ]);
  88427. *
  88428. * console.log(arr.value); // ['Nancy', 'Drew']
  88429. * console.log(arr.status); // 'VALID'
  88430. * ```
  88431. *
  88432. * ### Create a form array with array-level validators
  88433. *
  88434. * You include array-level validators and async validators. These come in handy
  88435. * when you want to perform validation that considers the value of more than one child
  88436. * control.
  88437. *
  88438. * The two types of validators are passed in separately as the second and third arg
  88439. * respectively, or together as part of an options object.
  88440. *
  88441. * ```
  88442. * const arr = new FormArray([
  88443. * new FormControl('Nancy'),
  88444. * new FormControl('Drew')
  88445. * ], {validators: myValidator, asyncValidators: myAsyncValidator});
  88446. * ```
  88447. *
  88448. * ### Set the updateOn property for all controls in a form array
  88449. *
  88450. * The options object is used to set a default value for each child
  88451. * control's `updateOn` property. If you set `updateOn` to `'blur'` at the
  88452. * array level, all child controls default to 'blur', unless the child
  88453. * has explicitly specified a different `updateOn` value.
  88454. *
  88455. * ```ts
  88456. * const arr = new FormArray([
  88457. * new FormControl()
  88458. * ], {updateOn: 'blur'});
  88459. * ```
  88460. *
  88461. * ### Adding or removing controls from a form array
  88462. *
  88463. * To change the controls in the array, use the `push`, `insert`, `removeAt` or `clear` methods
  88464. * in `FormArray` itself. These methods ensure the controls are properly tracked in the
  88465. * form's hierarchy. Do not modify the array of `AbstractControl`s used to instantiate
  88466. * the `FormArray` directly, as that result in strange and unexpected behavior such
  88467. * as broken change detection.
  88468. *
  88469. * @publicApi
  88470. */
  88471. class FormArray extends AbstractControl {
  88472. /**
  88473. * Creates a new `FormArray` instance.
  88474. *
  88475. * @param controls An array of child controls. Each child control is given an index
  88476. * where it is registered.
  88477. *
  88478. * @param validatorOrOpts A synchronous validator function, or an array of
  88479. * such functions, or an `AbstractControlOptions` object that contains validation functions
  88480. * and a validation trigger.
  88481. *
  88482. * @param asyncValidator A single async validator or array of async validator functions
  88483. *
  88484. */
  88485. constructor(controls, validatorOrOpts, asyncValidator) {
  88486. super(pickValidators(validatorOrOpts), pickAsyncValidators(asyncValidator, validatorOrOpts));
  88487. this.controls = controls;
  88488. this._initObservables();
  88489. this._setUpdateStrategy(validatorOrOpts);
  88490. this._setUpControls();
  88491. this.updateValueAndValidity({
  88492. onlySelf: true,
  88493. // If `asyncValidator` is present, it will trigger control status change from `PENDING` to
  88494. // `VALID` or `INVALID`.
  88495. // The status should be broadcasted via the `statusChanges` observable, so we set `emitEvent`
  88496. // to `true` to allow that during the control creation process.
  88497. emitEvent: !!this.asyncValidator
  88498. });
  88499. }
  88500. /**
  88501. * Get the `AbstractControl` at the given `index` in the array.
  88502. *
  88503. * @param index Index in the array to retrieve the control. If `index` is negative, it will wrap
  88504. * around from the back, and if index is greatly negative (less than `-length`), the result is
  88505. * undefined. This behavior is the same as `Array.at(index)`.
  88506. */
  88507. at(index) {
  88508. return this.controls[this._adjustIndex(index)];
  88509. }
  88510. /**
  88511. * Insert a new `AbstractControl` at the end of the array.
  88512. *
  88513. * @param control Form control to be inserted
  88514. * @param options Specifies whether this FormArray instance should emit events after a new
  88515. * control is added.
  88516. * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
  88517. * `valueChanges` observables emit events with the latest status and value when the control is
  88518. * inserted. When false, no events are emitted.
  88519. */
  88520. push(control, options = {}) {
  88521. this.controls.push(control);
  88522. this._registerControl(control);
  88523. this.updateValueAndValidity({
  88524. emitEvent: options.emitEvent
  88525. });
  88526. this._onCollectionChange();
  88527. }
  88528. /**
  88529. * Insert a new `AbstractControl` at the given `index` in the array.
  88530. *
  88531. * @param index Index in the array to insert the control. If `index` is negative, wraps around
  88532. * from the back. If `index` is greatly negative (less than `-length`), prepends to the array.
  88533. * This behavior is the same as `Array.splice(index, 0, control)`.
  88534. * @param control Form control to be inserted
  88535. * @param options Specifies whether this FormArray instance should emit events after a new
  88536. * control is inserted.
  88537. * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
  88538. * `valueChanges` observables emit events with the latest status and value when the control is
  88539. * inserted. When false, no events are emitted.
  88540. */
  88541. insert(index, control, options = {}) {
  88542. this.controls.splice(index, 0, control);
  88543. this._registerControl(control);
  88544. this.updateValueAndValidity({
  88545. emitEvent: options.emitEvent
  88546. });
  88547. }
  88548. /**
  88549. * Remove the control at the given `index` in the array.
  88550. *
  88551. * @param index Index in the array to remove the control. If `index` is negative, wraps around
  88552. * from the back. If `index` is greatly negative (less than `-length`), removes the first
  88553. * element. This behavior is the same as `Array.splice(index, 1)`.
  88554. * @param options Specifies whether this FormArray instance should emit events after a
  88555. * control is removed.
  88556. * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
  88557. * `valueChanges` observables emit events with the latest status and value when the control is
  88558. * removed. When false, no events are emitted.
  88559. */
  88560. removeAt(index, options = {}) {
  88561. // Adjust the index, then clamp it at no less than 0 to prevent undesired underflows.
  88562. let adjustedIndex = this._adjustIndex(index);
  88563. if (adjustedIndex < 0) adjustedIndex = 0;
  88564. if (this.controls[adjustedIndex]) this.controls[adjustedIndex]._registerOnCollectionChange(() => {});
  88565. this.controls.splice(adjustedIndex, 1);
  88566. this.updateValueAndValidity({
  88567. emitEvent: options.emitEvent
  88568. });
  88569. }
  88570. /**
  88571. * Replace an existing control.
  88572. *
  88573. * @param index Index in the array to replace the control. If `index` is negative, wraps around
  88574. * from the back. If `index` is greatly negative (less than `-length`), replaces the first
  88575. * element. This behavior is the same as `Array.splice(index, 1, control)`.
  88576. * @param control The `AbstractControl` control to replace the existing control
  88577. * @param options Specifies whether this FormArray instance should emit events after an
  88578. * existing control is replaced with a new one.
  88579. * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
  88580. * `valueChanges` observables emit events with the latest status and value when the control is
  88581. * replaced with a new one. When false, no events are emitted.
  88582. */
  88583. setControl(index, control, options = {}) {
  88584. // Adjust the index, then clamp it at no less than 0 to prevent undesired underflows.
  88585. let adjustedIndex = this._adjustIndex(index);
  88586. if (adjustedIndex < 0) adjustedIndex = 0;
  88587. if (this.controls[adjustedIndex]) this.controls[adjustedIndex]._registerOnCollectionChange(() => {});
  88588. this.controls.splice(adjustedIndex, 1);
  88589. if (control) {
  88590. this.controls.splice(adjustedIndex, 0, control);
  88591. this._registerControl(control);
  88592. }
  88593. this.updateValueAndValidity({
  88594. emitEvent: options.emitEvent
  88595. });
  88596. this._onCollectionChange();
  88597. }
  88598. /**
  88599. * Length of the control array.
  88600. */
  88601. get length() {
  88602. return this.controls.length;
  88603. }
  88604. /**
  88605. * Sets the value of the `FormArray`. It accepts an array that matches
  88606. * the structure of the control.
  88607. *
  88608. * This method performs strict checks, and throws an error if you try
  88609. * to set the value of a control that doesn't exist or if you exclude the
  88610. * value of a control.
  88611. *
  88612. * @usageNotes
  88613. * ### Set the values for the controls in the form array
  88614. *
  88615. * ```
  88616. * const arr = new FormArray([
  88617. * new FormControl(),
  88618. * new FormControl()
  88619. * ]);
  88620. * console.log(arr.value); // [null, null]
  88621. *
  88622. * arr.setValue(['Nancy', 'Drew']);
  88623. * console.log(arr.value); // ['Nancy', 'Drew']
  88624. * ```
  88625. *
  88626. * @param value Array of values for the controls
  88627. * @param options Configure options that determine how the control propagates changes and
  88628. * emits events after the value changes
  88629. *
  88630. * * `onlySelf`: When true, each change only affects this control, and not its parent. Default
  88631. * is false.
  88632. * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
  88633. * `valueChanges`
  88634. * observables emit events with the latest status and value when the control value is updated.
  88635. * When false, no events are emitted.
  88636. * The configuration options are passed to the {@link AbstractControl#updateValueAndValidity
  88637. * updateValueAndValidity} method.
  88638. */
  88639. setValue(value, options = {}) {
  88640. assertAllValuesPresent(this, false, value);
  88641. value.forEach((newValue, index) => {
  88642. assertControlPresent(this, false, index);
  88643. this.at(index).setValue(newValue, {
  88644. onlySelf: true,
  88645. emitEvent: options.emitEvent
  88646. });
  88647. });
  88648. this.updateValueAndValidity(options);
  88649. }
  88650. /**
  88651. * Patches the value of the `FormArray`. It accepts an array that matches the
  88652. * structure of the control, and does its best to match the values to the correct
  88653. * controls in the group.
  88654. *
  88655. * It accepts both super-sets and sub-sets of the array without throwing an error.
  88656. *
  88657. * @usageNotes
  88658. * ### Patch the values for controls in a form array
  88659. *
  88660. * ```
  88661. * const arr = new FormArray([
  88662. * new FormControl(),
  88663. * new FormControl()
  88664. * ]);
  88665. * console.log(arr.value); // [null, null]
  88666. *
  88667. * arr.patchValue(['Nancy']);
  88668. * console.log(arr.value); // ['Nancy', null]
  88669. * ```
  88670. *
  88671. * @param value Array of latest values for the controls
  88672. * @param options Configure options that determine how the control propagates changes and
  88673. * emits events after the value changes
  88674. *
  88675. * * `onlySelf`: When true, each change only affects this control, and not its parent. Default
  88676. * is false.
  88677. * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
  88678. * `valueChanges` observables emit events with the latest status and value when the control
  88679. * value is updated. When false, no events are emitted. The configuration options are passed to
  88680. * the {@link AbstractControl#updateValueAndValidity updateValueAndValidity} method.
  88681. */
  88682. patchValue(value, options = {}) {
  88683. // Even though the `value` argument type doesn't allow `null` and `undefined` values, the
  88684. // `patchValue` can be called recursively and inner data structures might have these values,
  88685. // so we just ignore such cases when a field containing FormArray instance receives `null` or
  88686. // `undefined` as a value.
  88687. if (value == null
  88688. /* both `null` and `undefined` */
  88689. ) return;
  88690. value.forEach((newValue, index) => {
  88691. if (this.at(index)) {
  88692. this.at(index).patchValue(newValue, {
  88693. onlySelf: true,
  88694. emitEvent: options.emitEvent
  88695. });
  88696. }
  88697. });
  88698. this.updateValueAndValidity(options);
  88699. }
  88700. /**
  88701. * Resets the `FormArray` and all descendants are marked `pristine` and `untouched`, and the
  88702. * value of all descendants to null or null maps.
  88703. *
  88704. * You reset to a specific form state by passing in an array of states
  88705. * that matches the structure of the control. The state is a standalone value
  88706. * or a form state object with both a value and a disabled status.
  88707. *
  88708. * @usageNotes
  88709. * ### Reset the values in a form array
  88710. *
  88711. * ```ts
  88712. * const arr = new FormArray([
  88713. * new FormControl(),
  88714. * new FormControl()
  88715. * ]);
  88716. * arr.reset(['name', 'last name']);
  88717. *
  88718. * console.log(arr.value); // ['name', 'last name']
  88719. * ```
  88720. *
  88721. * ### Reset the values in a form array and the disabled status for the first control
  88722. *
  88723. * ```
  88724. * arr.reset([
  88725. * {value: 'name', disabled: true},
  88726. * 'last'
  88727. * ]);
  88728. *
  88729. * console.log(arr.value); // ['last']
  88730. * console.log(arr.at(0).status); // 'DISABLED'
  88731. * ```
  88732. *
  88733. * @param value Array of values for the controls
  88734. * @param options Configure options that determine how the control propagates changes and
  88735. * emits events after the value changes
  88736. *
  88737. * * `onlySelf`: When true, each change only affects this control, and not its parent. Default
  88738. * is false.
  88739. * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
  88740. * `valueChanges`
  88741. * observables emit events with the latest status and value when the control is reset.
  88742. * When false, no events are emitted.
  88743. * The configuration options are passed to the {@link AbstractControl#updateValueAndValidity
  88744. * updateValueAndValidity} method.
  88745. */
  88746. reset(value = [], options = {}) {
  88747. this._forEachChild((control, index) => {
  88748. control.reset(value[index], {
  88749. onlySelf: true,
  88750. emitEvent: options.emitEvent
  88751. });
  88752. });
  88753. this._updatePristine(options);
  88754. this._updateTouched(options);
  88755. this.updateValueAndValidity(options);
  88756. }
  88757. /**
  88758. * The aggregate value of the array, including any disabled controls.
  88759. *
  88760. * Reports all values regardless of disabled status.
  88761. */
  88762. getRawValue() {
  88763. return this.controls.map(control => control.getRawValue());
  88764. }
  88765. /**
  88766. * Remove all controls in the `FormArray`.
  88767. *
  88768. * @param options Specifies whether this FormArray instance should emit events after all
  88769. * controls are removed.
  88770. * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
  88771. * `valueChanges` observables emit events with the latest status and value when all controls
  88772. * in this FormArray instance are removed. When false, no events are emitted.
  88773. *
  88774. * @usageNotes
  88775. * ### Remove all elements from a FormArray
  88776. *
  88777. * ```ts
  88778. * const arr = new FormArray([
  88779. * new FormControl(),
  88780. * new FormControl()
  88781. * ]);
  88782. * console.log(arr.length); // 2
  88783. *
  88784. * arr.clear();
  88785. * console.log(arr.length); // 0
  88786. * ```
  88787. *
  88788. * It's a simpler and more efficient alternative to removing all elements one by one:
  88789. *
  88790. * ```ts
  88791. * const arr = new FormArray([
  88792. * new FormControl(),
  88793. * new FormControl()
  88794. * ]);
  88795. *
  88796. * while (arr.length) {
  88797. * arr.removeAt(0);
  88798. * }
  88799. * ```
  88800. */
  88801. clear(options = {}) {
  88802. if (this.controls.length < 1) return;
  88803. this._forEachChild(control => control._registerOnCollectionChange(() => {}));
  88804. this.controls.splice(0);
  88805. this.updateValueAndValidity({
  88806. emitEvent: options.emitEvent
  88807. });
  88808. }
  88809. /**
  88810. * Adjusts a negative index by summing it with the length of the array. For very negative
  88811. * indices, the result may remain negative.
  88812. * @internal
  88813. */
  88814. _adjustIndex(index) {
  88815. return index < 0 ? index + this.length : index;
  88816. }
  88817. /** @internal */
  88818. _syncPendingControls() {
  88819. let subtreeUpdated = this.controls.reduce((updated, child) => {
  88820. return child._syncPendingControls() ? true : updated;
  88821. }, false);
  88822. if (subtreeUpdated) this.updateValueAndValidity({
  88823. onlySelf: true
  88824. });
  88825. return subtreeUpdated;
  88826. }
  88827. /** @internal */
  88828. _forEachChild(cb) {
  88829. this.controls.forEach((control, index) => {
  88830. cb(control, index);
  88831. });
  88832. }
  88833. /** @internal */
  88834. _updateValue() {
  88835. this.value = this.controls.filter(control => control.enabled || this.disabled).map(control => control.value);
  88836. }
  88837. /** @internal */
  88838. _anyControls(condition) {
  88839. return this.controls.some(control => control.enabled && condition(control));
  88840. }
  88841. /** @internal */
  88842. _setUpControls() {
  88843. this._forEachChild(control => this._registerControl(control));
  88844. }
  88845. /** @internal */
  88846. _allControlsDisabled() {
  88847. for (const control of this.controls) {
  88848. if (control.enabled) return false;
  88849. }
  88850. return this.controls.length > 0 || this.disabled;
  88851. }
  88852. _registerControl(control) {
  88853. control.setParent(this);
  88854. control._registerOnCollectionChange(this._onCollectionChange);
  88855. }
  88856. /** @internal */
  88857. _find(name) {
  88858. var _a;
  88859. return (_a = this.at(name)) !== null && _a !== void 0 ? _a : null;
  88860. }
  88861. }
  88862. const UntypedFormArray = FormArray;
  88863. const isFormArray = control => control instanceof FormArray;
  88864. /**
  88865. * @license
  88866. * Copyright Google LLC All Rights Reserved.
  88867. *
  88868. * Use of this source code is governed by an MIT-style license that can be
  88869. * found in the LICENSE file at https://angular.io/license
  88870. */
  88871. function isAbstractControlOptions(options) {
  88872. return !!options && (options.asyncValidators !== undefined || options.validators !== undefined || options.updateOn !== undefined);
  88873. } // clang-format on
  88874. /**
  88875. * @description
  88876. * Creates an `AbstractControl` from a user-specified configuration.
  88877. *
  88878. * The `FormBuilder` provides syntactic sugar that shortens creating instances of a
  88879. * `FormControl`, `FormGroup`, or `FormArray`. It reduces the amount of boilerplate needed to
  88880. * build complex forms.
  88881. *
  88882. * @see [Reactive Forms Guide](guide/reactive-forms)
  88883. *
  88884. * @publicApi
  88885. */
  88886. class FormBuilder {
  88887. constructor() {
  88888. this.useNonNullable = false;
  88889. }
  88890. /**
  88891. * @description
  88892. * Returns a FormBuilder in which automatically constructed @see FormControl} elements
  88893. * have `{nonNullable: true}` and are non-nullable.
  88894. *
  88895. * **Constructing non-nullable controls**
  88896. *
  88897. * When constructing a control, it will be non-nullable, and will reset to its initial value.
  88898. *
  88899. * ```ts
  88900. * let nnfb = new FormBuilder().nonNullable;
  88901. * let name = nnfb.control('Alex'); // FormControl<string>
  88902. * name.reset();
  88903. * console.log(name); // 'Alex'
  88904. * ```
  88905. *
  88906. * **Constructing non-nullable groups or arrays**
  88907. *
  88908. * When constructing a group or array, all automatically created inner controls will be
  88909. * non-nullable, and will reset to their initial values.
  88910. *
  88911. * ```ts
  88912. * let nnfb = new FormBuilder().nonNullable;
  88913. * let name = nnfb.group({who: 'Alex'}); // FormGroup<{who: FormControl<string>}>
  88914. * name.reset();
  88915. * console.log(name); // {who: 'Alex'}
  88916. * ```
  88917. * **Constructing *nullable* fields on groups or arrays**
  88918. *
  88919. * It is still possible to have a nullable field. In particular, any `FormControl` which is
  88920. * *already* constructed will not be altered. For example:
  88921. *
  88922. * ```ts
  88923. * let nnfb = new FormBuilder().nonNullable;
  88924. * // FormGroup<{who: FormControl<string|null>}>
  88925. * let name = nnfb.group({who: new FormControl('Alex')});
  88926. * name.reset(); console.log(name); // {who: null}
  88927. * ```
  88928. *
  88929. * Because the inner control is constructed explicitly by the caller, the builder has
  88930. * no control over how it is created, and cannot exclude the `null`.
  88931. */
  88932. get nonNullable() {
  88933. const nnfb = new FormBuilder();
  88934. nnfb.useNonNullable = true;
  88935. return nnfb;
  88936. }
  88937. group(controls, options = null) {
  88938. const reducedControls = this._reduceControls(controls);
  88939. let newOptions = {};
  88940. if (isAbstractControlOptions(options)) {
  88941. // `options` are `AbstractControlOptions`
  88942. newOptions = options;
  88943. } else if (options !== null) {
  88944. // `options` are legacy form group options
  88945. newOptions.validators = options.validator;
  88946. newOptions.asyncValidators = options.asyncValidator;
  88947. }
  88948. return new FormGroup(reducedControls, newOptions);
  88949. }
  88950. /**
  88951. * @description
  88952. * Constructs a new `FormRecord` instance. Accepts a single generic argument, which is an object
  88953. * containing all the keys and corresponding inner control types.
  88954. *
  88955. * @param controls A collection of child controls. The key for each child is the name
  88956. * under which it is registered.
  88957. *
  88958. * @param options Configuration options object for the `FormRecord`. The object should have the
  88959. * `AbstractControlOptions` type and might contain the following fields:
  88960. * * `validators`: A synchronous validator function, or an array of validator functions.
  88961. * * `asyncValidators`: A single async validator or array of async validator functions.
  88962. * * `updateOn`: The event upon which the control should be updated (options: 'change' | 'blur'
  88963. * | submit').
  88964. */
  88965. record(controls, options = null) {
  88966. const reducedControls = this._reduceControls(controls); // Cast to `any` because the inferred types are not as specific as Element.
  88967. return new FormRecord(reducedControls, options);
  88968. }
  88969. /**
  88970. * @description
  88971. * Constructs a new `FormControl` with the given state, validators and options. Sets
  88972. * `{nonNullable: true}` in the options to get a non-nullable control. Otherwise, the
  88973. * control will be nullable. Accepts a single generic argument, which is the type of the
  88974. * control's value.
  88975. *
  88976. * @param formState Initializes the control with an initial state value, or
  88977. * with an object that contains both a value and a disabled status.
  88978. *
  88979. * @param validatorOrOpts A synchronous validator function, or an array of
  88980. * such functions, or a `FormControlOptions` object that contains
  88981. * validation functions and a validation trigger.
  88982. *
  88983. * @param asyncValidator A single async validator or array of async validator
  88984. * functions.
  88985. *
  88986. * @usageNotes
  88987. *
  88988. * ### Initialize a control as disabled
  88989. *
  88990. * The following example returns a control with an initial value in a disabled state.
  88991. *
  88992. * <code-example path="forms/ts/formBuilder/form_builder_example.ts" region="disabled-control">
  88993. * </code-example>
  88994. */
  88995. control(formState, validatorOrOpts, asyncValidator) {
  88996. let newOptions = {};
  88997. if (!this.useNonNullable) {
  88998. return new FormControl(formState, validatorOrOpts, asyncValidator);
  88999. }
  89000. if (isAbstractControlOptions(validatorOrOpts)) {
  89001. // If the second argument is options, then they are copied.
  89002. newOptions = validatorOrOpts;
  89003. } else {
  89004. // If the other arguments are validators, they are copied into an options object.
  89005. newOptions.validators = validatorOrOpts;
  89006. newOptions.asyncValidators = asyncValidator;
  89007. }
  89008. return new FormControl(formState, Object.assign(Object.assign({}, newOptions), {
  89009. nonNullable: true
  89010. }));
  89011. }
  89012. /**
  89013. * Constructs a new `FormArray` from the given array of configurations,
  89014. * validators and options. Accepts a single generic argument, which is the type of each control
  89015. * inside the array.
  89016. *
  89017. * @param controls An array of child controls or control configs. Each child control is given an
  89018. * index when it is registered.
  89019. *
  89020. * @param validatorOrOpts A synchronous validator function, or an array of such functions, or an
  89021. * `AbstractControlOptions` object that contains
  89022. * validation functions and a validation trigger.
  89023. *
  89024. * @param asyncValidator A single async validator or array of async validator functions.
  89025. */
  89026. array(controls, validatorOrOpts, asyncValidator) {
  89027. const createdControls = controls.map(c => this._createControl(c)); // Cast to `any` because the inferred types are not as specific as Element.
  89028. return new FormArray(createdControls, validatorOrOpts, asyncValidator);
  89029. }
  89030. /** @internal */
  89031. _reduceControls(controls) {
  89032. const createdControls = {};
  89033. Object.keys(controls).forEach(controlName => {
  89034. createdControls[controlName] = this._createControl(controls[controlName]);
  89035. });
  89036. return createdControls;
  89037. }
  89038. /** @internal */
  89039. _createControl(controls) {
  89040. if (controls instanceof FormControl) {
  89041. return controls;
  89042. } else if (controls instanceof AbstractControl) {
  89043. // A control; just return it
  89044. return controls;
  89045. } else if (Array.isArray(controls)) {
  89046. // ControlConfig Tuple
  89047. const value = controls[0];
  89048. const validator = controls.length > 1 ? controls[1] : null;
  89049. const asyncValidator = controls.length > 2 ? controls[2] : null;
  89050. return this.control(value, validator, asyncValidator);
  89051. } else {
  89052. // T or FormControlState<T>
  89053. return this.control(controls);
  89054. }
  89055. }
  89056. }
  89057. FormBuilder.ɵfac = function FormBuilder_Factory(t) {
  89058. return new (t || FormBuilder)();
  89059. };
  89060. FormBuilder.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
  89061. token: FormBuilder,
  89062. factory: FormBuilder.ɵfac,
  89063. providedIn: ReactiveFormsModule
  89064. });
  89065. (function () {
  89066. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](FormBuilder, [{
  89067. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
  89068. args: [{
  89069. providedIn: ReactiveFormsModule
  89070. }]
  89071. }], null, null);
  89072. })();
  89073. /**
  89074. * @description
  89075. * `NonNullableFormBuilder` is similar to {@link FormBuilder}, but automatically constructed
  89076. * {@link FormControl} elements have `{nonNullable: true}` and are non-nullable.
  89077. *
  89078. * @publicApi
  89079. */
  89080. class NonNullableFormBuilder {}
  89081. NonNullableFormBuilder.ɵfac = function NonNullableFormBuilder_Factory(t) {
  89082. return new (t || NonNullableFormBuilder)();
  89083. };
  89084. NonNullableFormBuilder.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
  89085. token: NonNullableFormBuilder,
  89086. factory: function () {
  89087. return (() => (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(FormBuilder).nonNullable)();
  89088. },
  89089. providedIn: ReactiveFormsModule
  89090. });
  89091. (function () {
  89092. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NonNullableFormBuilder, [{
  89093. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
  89094. args: [{
  89095. providedIn: ReactiveFormsModule,
  89096. useFactory: () => (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(FormBuilder).nonNullable
  89097. }]
  89098. }], null, null);
  89099. })();
  89100. /**
  89101. * UntypedFormBuilder is the same as @see FormBuilder, but it provides untyped controls.
  89102. */
  89103. class UntypedFormBuilder extends FormBuilder {
  89104. group(controlsConfig, options = null) {
  89105. return super.group(controlsConfig, options);
  89106. }
  89107. /**
  89108. * Like `FormBuilder#control`, except the resulting control is untyped.
  89109. */
  89110. control(formState, validatorOrOpts, asyncValidator) {
  89111. return super.control(formState, validatorOrOpts, asyncValidator);
  89112. }
  89113. /**
  89114. * Like `FormBuilder#array`, except the resulting array is untyped.
  89115. */
  89116. array(controlsConfig, validatorOrOpts, asyncValidator) {
  89117. return super.array(controlsConfig, validatorOrOpts, asyncValidator);
  89118. }
  89119. }
  89120. UntypedFormBuilder.ɵfac = /* @__PURE__ */function () {
  89121. let ɵUntypedFormBuilder_BaseFactory;
  89122. return function UntypedFormBuilder_Factory(t) {
  89123. return (ɵUntypedFormBuilder_BaseFactory || (ɵUntypedFormBuilder_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](UntypedFormBuilder)))(t || UntypedFormBuilder);
  89124. };
  89125. }();
  89126. UntypedFormBuilder.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
  89127. token: UntypedFormBuilder,
  89128. factory: UntypedFormBuilder.ɵfac,
  89129. providedIn: ReactiveFormsModule
  89130. });
  89131. (function () {
  89132. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](UntypedFormBuilder, [{
  89133. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
  89134. args: [{
  89135. providedIn: ReactiveFormsModule
  89136. }]
  89137. }], null, null);
  89138. })();
  89139. /**
  89140. * @license
  89141. * Copyright Google LLC All Rights Reserved.
  89142. *
  89143. * Use of this source code is governed by an MIT-style license that can be
  89144. * found in the LICENSE file at https://angular.io/license
  89145. */
  89146. /**
  89147. * @publicApi
  89148. */
  89149. const VERSION = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.Version('14.2.7');
  89150. /**
  89151. * @license
  89152. * Copyright Google LLC All Rights Reserved.
  89153. *
  89154. * Use of this source code is governed by an MIT-style license that can be
  89155. * found in the LICENSE file at https://angular.io/license
  89156. */
  89157. /**
  89158. * @license
  89159. * Copyright Google LLC All Rights Reserved.
  89160. *
  89161. * Use of this source code is governed by an MIT-style license that can be
  89162. * found in the LICENSE file at https://angular.io/license
  89163. */
  89164. // This file only reexports content of the `src` folder. Keep it that way.
  89165. /**
  89166. * @license
  89167. * Copyright Google LLC All Rights Reserved.
  89168. *
  89169. * Use of this source code is governed by an MIT-style license that can be
  89170. * found in the LICENSE file at https://angular.io/license
  89171. */
  89172. /**
  89173. * Generated bundle index. Do not edit.
  89174. */
  89175. /***/ }),
  89176. /***/ 8150:
  89177. /*!**********************************************************************************************!*\
  89178. !*** ./node_modules/@angular/platform-browser-dynamic/fesm2015/platform-browser-dynamic.mjs ***!
  89179. \**********************************************************************************************/
  89180. /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
  89181. __webpack_require__.r(__webpack_exports__);
  89182. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  89183. /* harmony export */ "JitCompilerFactory": () => (/* binding */ JitCompilerFactory),
  89184. /* harmony export */ "RESOURCE_CACHE_PROVIDER": () => (/* binding */ RESOURCE_CACHE_PROVIDER),
  89185. /* harmony export */ "VERSION": () => (/* binding */ VERSION),
  89186. /* harmony export */ "platformBrowserDynamic": () => (/* binding */ platformBrowserDynamic),
  89187. /* harmony export */ "ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS": () => (/* binding */ INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS),
  89188. /* harmony export */ "ɵplatformCoreDynamic": () => (/* binding */ platformCoreDynamic)
  89189. /* harmony export */ });
  89190. /* harmony import */ var _angular_compiler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/compiler */ 8305);
  89191. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 3184);
  89192. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common */ 6362);
  89193. /* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/platform-browser */ 318);
  89194. /**
  89195. * @license Angular v14.2.7
  89196. * (c) 2010-2022 Google LLC. https://angular.io/
  89197. * License: MIT
  89198. */
  89199. /**
  89200. * @license
  89201. * Copyright Google LLC All Rights Reserved.
  89202. *
  89203. * Use of this source code is governed by an MIT-style license that can be
  89204. * found in the LICENSE file at https://angular.io/license
  89205. */
  89206. const ERROR_COLLECTOR_TOKEN = new _angular_core__WEBPACK_IMPORTED_MODULE_1__.InjectionToken('ErrorCollector');
  89207. /**
  89208. * A default provider for {@link PACKAGE_ROOT_URL} that maps to '/'.
  89209. */
  89210. const DEFAULT_PACKAGE_URL_PROVIDER = {
  89211. provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__.PACKAGE_ROOT_URL,
  89212. useValue: '/'
  89213. };
  89214. const COMPILER_PROVIDERS = [{
  89215. provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Compiler,
  89216. useFactory: () => new _angular_core__WEBPACK_IMPORTED_MODULE_1__.Compiler()
  89217. }];
  89218. /**
  89219. * @publicApi
  89220. *
  89221. * @deprecated
  89222. * Ivy JIT mode doesn't require accessing this symbol.
  89223. * See [JIT API changes due to ViewEngine deprecation](guide/deprecations#jit-api-changes) for
  89224. * additional context.
  89225. */
  89226. class JitCompilerFactory {
  89227. /* @internal */
  89228. constructor(defaultOptions) {
  89229. const compilerOptions = {
  89230. useJit: true,
  89231. defaultEncapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_1__.ViewEncapsulation.Emulated,
  89232. missingTranslation: _angular_core__WEBPACK_IMPORTED_MODULE_1__.MissingTranslationStrategy.Warning
  89233. };
  89234. this._defaultOptions = [compilerOptions, ...defaultOptions];
  89235. }
  89236. createCompiler(options = []) {
  89237. const opts = _mergeOptions(this._defaultOptions.concat(options));
  89238. const injector = _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injector.create([COMPILER_PROVIDERS, {
  89239. provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__.CompilerConfig,
  89240. useFactory: () => {
  89241. return new _angular_compiler__WEBPACK_IMPORTED_MODULE_0__.CompilerConfig({
  89242. // let explicit values from the compiler options overwrite options
  89243. // from the app providers
  89244. useJit: opts.useJit,
  89245. jitDevMode: (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.isDevMode)(),
  89246. // let explicit values from the compiler options overwrite options
  89247. // from the app providers
  89248. defaultEncapsulation: opts.defaultEncapsulation,
  89249. missingTranslation: opts.missingTranslation,
  89250. preserveWhitespaces: opts.preserveWhitespaces
  89251. });
  89252. },
  89253. deps: []
  89254. }, opts.providers]);
  89255. return injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_1__.Compiler);
  89256. }
  89257. }
  89258. function _mergeOptions(optionsArr) {
  89259. return {
  89260. useJit: _lastDefined(optionsArr.map(options => options.useJit)),
  89261. defaultEncapsulation: _lastDefined(optionsArr.map(options => options.defaultEncapsulation)),
  89262. providers: _mergeArrays(optionsArr.map(options => options.providers)),
  89263. missingTranslation: _lastDefined(optionsArr.map(options => options.missingTranslation)),
  89264. preserveWhitespaces: _lastDefined(optionsArr.map(options => options.preserveWhitespaces))
  89265. };
  89266. }
  89267. function _lastDefined(args) {
  89268. for (let i = args.length - 1; i >= 0; i--) {
  89269. if (args[i] !== undefined) {
  89270. return args[i];
  89271. }
  89272. }
  89273. return undefined;
  89274. }
  89275. function _mergeArrays(parts) {
  89276. const result = [];
  89277. parts.forEach(part => part && result.push(...part));
  89278. return result;
  89279. }
  89280. /**
  89281. * @license
  89282. * Copyright Google LLC All Rights Reserved.
  89283. *
  89284. * Use of this source code is governed by an MIT-style license that can be
  89285. * found in the LICENSE file at https://angular.io/license
  89286. */
  89287. /**
  89288. * A platform that included corePlatform and the compiler.
  89289. *
  89290. * @publicApi
  89291. */
  89292. const platformCoreDynamic = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.createPlatformFactory)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.platformCore, 'coreDynamic', [{
  89293. provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__.COMPILER_OPTIONS,
  89294. useValue: {},
  89295. multi: true
  89296. }, {
  89297. provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__.CompilerFactory,
  89298. useClass: JitCompilerFactory,
  89299. deps: [_angular_core__WEBPACK_IMPORTED_MODULE_1__.COMPILER_OPTIONS]
  89300. }]);
  89301. /**
  89302. * @license
  89303. * Copyright Google LLC All Rights Reserved.
  89304. *
  89305. * Use of this source code is governed by an MIT-style license that can be
  89306. * found in the LICENSE file at https://angular.io/license
  89307. */
  89308. class ResourceLoaderImpl extends _angular_compiler__WEBPACK_IMPORTED_MODULE_0__.ResourceLoader {
  89309. get(url) {
  89310. let resolve;
  89311. let reject;
  89312. const promise = new Promise((res, rej) => {
  89313. resolve = res;
  89314. reject = rej;
  89315. });
  89316. const xhr = new XMLHttpRequest();
  89317. xhr.open('GET', url, true);
  89318. xhr.responseType = 'text';
  89319. xhr.onload = function () {
  89320. // responseText is the old-school way of retrieving response (supported by IE8 & 9)
  89321. // response/responseType properties were introduced in ResourceLoader Level2 spec (supported
  89322. // by IE10)
  89323. const response = xhr.response || xhr.responseText; // normalize IE9 bug (https://bugs.jquery.com/ticket/1450)
  89324. let status = xhr.status === 1223 ? 204 : xhr.status; // fix status code when it is 0 (0 status is undocumented).
  89325. // Occurs when accessing file resources or on Android 4.1 stock browser
  89326. // while retrieving files from application cache.
  89327. if (status === 0) {
  89328. status = response ? 200 : 0;
  89329. }
  89330. if (200 <= status && status <= 300) {
  89331. resolve(response);
  89332. } else {
  89333. reject(`Failed to load ${url}`);
  89334. }
  89335. };
  89336. xhr.onerror = function () {
  89337. reject(`Failed to load ${url}`);
  89338. };
  89339. xhr.send();
  89340. return promise;
  89341. }
  89342. }
  89343. ResourceLoaderImpl.ɵfac = /* @__PURE__ */function () {
  89344. let ɵResourceLoaderImpl_BaseFactory;
  89345. return function ResourceLoaderImpl_Factory(t) {
  89346. return (ɵResourceLoaderImpl_BaseFactory || (ɵResourceLoaderImpl_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](ResourceLoaderImpl)))(t || ResourceLoaderImpl);
  89347. };
  89348. }();
  89349. ResourceLoaderImpl.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
  89350. token: ResourceLoaderImpl,
  89351. factory: ResourceLoaderImpl.ɵfac
  89352. });
  89353. (function () {
  89354. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](ResourceLoaderImpl, [{
  89355. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injectable
  89356. }], null, null);
  89357. })();
  89358. /**
  89359. * @license
  89360. * Copyright Google LLC All Rights Reserved.
  89361. *
  89362. * Use of this source code is governed by an MIT-style license that can be
  89363. * found in the LICENSE file at https://angular.io/license
  89364. */
  89365. /**
  89366. * @publicApi
  89367. */
  89368. const INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS = [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_2__["ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS"], {
  89369. provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__.COMPILER_OPTIONS,
  89370. useValue: {
  89371. providers: [{
  89372. provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__.ResourceLoader,
  89373. useClass: ResourceLoaderImpl,
  89374. deps: []
  89375. }]
  89376. },
  89377. multi: true
  89378. }, {
  89379. provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__.PLATFORM_ID,
  89380. useValue: _angular_common__WEBPACK_IMPORTED_MODULE_3__["ɵPLATFORM_BROWSER_ID"]
  89381. }];
  89382. /**
  89383. * @license
  89384. * Copyright Google LLC All Rights Reserved.
  89385. *
  89386. * Use of this source code is governed by an MIT-style license that can be
  89387. * found in the LICENSE file at https://angular.io/license
  89388. */
  89389. /**
  89390. * An implementation of ResourceLoader that uses a template cache to avoid doing an actual
  89391. * ResourceLoader.
  89392. *
  89393. * The template cache needs to be built and loaded into window.$templateCache
  89394. * via a separate mechanism.
  89395. *
  89396. * @publicApi
  89397. *
  89398. * @deprecated This was previously necessary in some cases to test AOT-compiled components with View
  89399. * Engine, but is no longer since Ivy.
  89400. */
  89401. class CachedResourceLoader extends _angular_compiler__WEBPACK_IMPORTED_MODULE_0__.ResourceLoader {
  89402. constructor() {
  89403. super();
  89404. this._cache = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵglobal"].$templateCache;
  89405. if (this._cache == null) {
  89406. throw new Error('CachedResourceLoader: Template cache was not found in $templateCache.');
  89407. }
  89408. }
  89409. get(url) {
  89410. if (this._cache.hasOwnProperty(url)) {
  89411. return Promise.resolve(this._cache[url]);
  89412. } else {
  89413. return Promise.reject('CachedResourceLoader: Did not find cached template for ' + url);
  89414. }
  89415. }
  89416. }
  89417. /**
  89418. * @license
  89419. * Copyright Google LLC All Rights Reserved.
  89420. *
  89421. * Use of this source code is governed by an MIT-style license that can be
  89422. * found in the LICENSE file at https://angular.io/license
  89423. */
  89424. /**
  89425. * @license
  89426. * Copyright Google LLC All Rights Reserved.
  89427. *
  89428. * Use of this source code is governed by an MIT-style license that can be
  89429. * found in the LICENSE file at https://angular.io/license
  89430. */
  89431. /**
  89432. * @publicApi
  89433. */
  89434. const VERSION = new _angular_core__WEBPACK_IMPORTED_MODULE_1__.Version('14.2.7');
  89435. /**
  89436. * @license
  89437. * Copyright Google LLC All Rights Reserved.
  89438. *
  89439. * Use of this source code is governed by an MIT-style license that can be
  89440. * found in the LICENSE file at https://angular.io/license
  89441. */
  89442. /**
  89443. * @publicApi
  89444. *
  89445. * @deprecated This was previously necessary in some cases to test AOT-compiled components with View
  89446. * Engine, but is no longer since Ivy.
  89447. */
  89448. const RESOURCE_CACHE_PROVIDER = [{
  89449. provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__.ResourceLoader,
  89450. useClass: CachedResourceLoader,
  89451. deps: []
  89452. }];
  89453. /**
  89454. * @publicApi
  89455. */
  89456. const platformBrowserDynamic = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.createPlatformFactory)(platformCoreDynamic, 'browserDynamic', INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);
  89457. /**
  89458. * @license
  89459. * Copyright Google LLC All Rights Reserved.
  89460. *
  89461. * Use of this source code is governed by an MIT-style license that can be
  89462. * found in the LICENSE file at https://angular.io/license
  89463. */
  89464. // This file only reexports content of the `src` folder. Keep it that way.
  89465. /**
  89466. * @license
  89467. * Copyright Google LLC All Rights Reserved.
  89468. *
  89469. * Use of this source code is governed by an MIT-style license that can be
  89470. * found in the LICENSE file at https://angular.io/license
  89471. */
  89472. /**
  89473. * Generated bundle index. Do not edit.
  89474. */
  89475. /***/ }),
  89476. /***/ 318:
  89477. /*!******************************************************************************!*\
  89478. !*** ./node_modules/@angular/platform-browser/fesm2015/platform-browser.mjs ***!
  89479. \******************************************************************************/
  89480. /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
  89481. __webpack_require__.r(__webpack_exports__);
  89482. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  89483. /* harmony export */ "BrowserModule": () => (/* binding */ BrowserModule),
  89484. /* harmony export */ "BrowserTransferStateModule": () => (/* binding */ BrowserTransferStateModule),
  89485. /* harmony export */ "By": () => (/* binding */ By),
  89486. /* harmony export */ "DomSanitizer": () => (/* binding */ DomSanitizer),
  89487. /* harmony export */ "EVENT_MANAGER_PLUGINS": () => (/* binding */ EVENT_MANAGER_PLUGINS),
  89488. /* harmony export */ "EventManager": () => (/* binding */ EventManager),
  89489. /* harmony export */ "HAMMER_GESTURE_CONFIG": () => (/* binding */ HAMMER_GESTURE_CONFIG),
  89490. /* harmony export */ "HAMMER_LOADER": () => (/* binding */ HAMMER_LOADER),
  89491. /* harmony export */ "HammerGestureConfig": () => (/* binding */ HammerGestureConfig),
  89492. /* harmony export */ "HammerModule": () => (/* binding */ HammerModule),
  89493. /* harmony export */ "Meta": () => (/* binding */ Meta),
  89494. /* harmony export */ "Title": () => (/* binding */ Title),
  89495. /* harmony export */ "TransferState": () => (/* binding */ TransferState),
  89496. /* harmony export */ "VERSION": () => (/* binding */ VERSION),
  89497. /* harmony export */ "bootstrapApplication": () => (/* binding */ bootstrapApplication),
  89498. /* harmony export */ "createApplication": () => (/* binding */ createApplication),
  89499. /* harmony export */ "disableDebugTools": () => (/* binding */ disableDebugTools),
  89500. /* harmony export */ "enableDebugTools": () => (/* binding */ enableDebugTools),
  89501. /* harmony export */ "makeStateKey": () => (/* binding */ makeStateKey),
  89502. /* harmony export */ "platformBrowser": () => (/* binding */ platformBrowser),
  89503. /* harmony export */ "provideProtractorTestingSupport": () => (/* binding */ provideProtractorTestingSupport),
  89504. /* harmony export */ "ɵBrowserDomAdapter": () => (/* binding */ BrowserDomAdapter),
  89505. /* harmony export */ "ɵBrowserGetTestability": () => (/* binding */ BrowserGetTestability),
  89506. /* harmony export */ "ɵDomEventsPlugin": () => (/* binding */ DomEventsPlugin),
  89507. /* harmony export */ "ɵDomRendererFactory2": () => (/* binding */ DomRendererFactory2),
  89508. /* harmony export */ "ɵDomSanitizerImpl": () => (/* binding */ DomSanitizerImpl),
  89509. /* harmony export */ "ɵDomSharedStylesHost": () => (/* binding */ DomSharedStylesHost),
  89510. /* harmony export */ "ɵHammerGesturesPlugin": () => (/* binding */ HammerGesturesPlugin),
  89511. /* harmony export */ "ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS": () => (/* binding */ INTERNAL_BROWSER_PLATFORM_PROVIDERS),
  89512. /* harmony export */ "ɵKeyEventsPlugin": () => (/* binding */ KeyEventsPlugin),
  89513. /* harmony export */ "ɵNAMESPACE_URIS": () => (/* binding */ NAMESPACE_URIS),
  89514. /* harmony export */ "ɵSharedStylesHost": () => (/* binding */ SharedStylesHost),
  89515. /* harmony export */ "ɵTRANSITION_ID": () => (/* binding */ TRANSITION_ID),
  89516. /* harmony export */ "ɵescapeHtml": () => (/* binding */ escapeHtml),
  89517. /* harmony export */ "ɵflattenStyles": () => (/* binding */ flattenStyles),
  89518. /* harmony export */ "ɵgetDOM": () => (/* reexport safe */ _angular_common__WEBPACK_IMPORTED_MODULE_0__["ɵgetDOM"]),
  89519. /* harmony export */ "ɵinitDomAdapter": () => (/* binding */ initDomAdapter),
  89520. /* harmony export */ "ɵshimContentAttribute": () => (/* binding */ shimContentAttribute),
  89521. /* harmony export */ "ɵshimHostAttribute": () => (/* binding */ shimHostAttribute)
  89522. /* harmony export */ });
  89523. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/common */ 6362);
  89524. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 3184);
  89525. /**
  89526. * @license Angular v14.2.7
  89527. * (c) 2010-2022 Google LLC. https://angular.io/
  89528. * License: MIT
  89529. */
  89530. /**
  89531. * @license
  89532. * Copyright Google LLC All Rights Reserved.
  89533. *
  89534. * Use of this source code is governed by an MIT-style license that can be
  89535. * found in the LICENSE file at https://angular.io/license
  89536. */
  89537. /**
  89538. * Provides DOM operations in any browser environment.
  89539. *
  89540. * @security Tread carefully! Interacting with the DOM directly is dangerous and
  89541. * can introduce XSS risks.
  89542. */
  89543. class GenericBrowserDomAdapter extends _angular_common__WEBPACK_IMPORTED_MODULE_0__["ɵDomAdapter"] {
  89544. constructor() {
  89545. super(...arguments);
  89546. this.supportsDOMEvents = true;
  89547. }
  89548. }
  89549. /**
  89550. * @license
  89551. * Copyright Google LLC All Rights Reserved.
  89552. *
  89553. * Use of this source code is governed by an MIT-style license that can be
  89554. * found in the LICENSE file at https://angular.io/license
  89555. */
  89556. /**
  89557. * A `DomAdapter` powered by full browser DOM APIs.
  89558. *
  89559. * @security Tread carefully! Interacting with the DOM directly is dangerous and
  89560. * can introduce XSS risks.
  89561. */
  89562. /* tslint:disable:requireParameterType no-console */
  89563. class BrowserDomAdapter extends GenericBrowserDomAdapter {
  89564. static makeCurrent() {
  89565. (0,_angular_common__WEBPACK_IMPORTED_MODULE_0__["ɵsetRootDomAdapter"])(new BrowserDomAdapter());
  89566. }
  89567. onAndCancel(el, evt, listener) {
  89568. el.addEventListener(evt, listener, false); // Needed to follow Dart's subscription semantic, until fix of
  89569. // https://code.google.com/p/dart/issues/detail?id=17406
  89570. return () => {
  89571. el.removeEventListener(evt, listener, false);
  89572. };
  89573. }
  89574. dispatchEvent(el, evt) {
  89575. el.dispatchEvent(evt);
  89576. }
  89577. remove(node) {
  89578. if (node.parentNode) {
  89579. node.parentNode.removeChild(node);
  89580. }
  89581. }
  89582. createElement(tagName, doc) {
  89583. doc = doc || this.getDefaultDocument();
  89584. return doc.createElement(tagName);
  89585. }
  89586. createHtmlDocument() {
  89587. return document.implementation.createHTMLDocument('fakeTitle');
  89588. }
  89589. getDefaultDocument() {
  89590. return document;
  89591. }
  89592. isElementNode(node) {
  89593. return node.nodeType === Node.ELEMENT_NODE;
  89594. }
  89595. isShadowRoot(node) {
  89596. return node instanceof DocumentFragment;
  89597. }
  89598. /** @deprecated No longer being used in Ivy code. To be removed in version 14. */
  89599. getGlobalEventTarget(doc, target) {
  89600. if (target === 'window') {
  89601. return window;
  89602. }
  89603. if (target === 'document') {
  89604. return doc;
  89605. }
  89606. if (target === 'body') {
  89607. return doc.body;
  89608. }
  89609. return null;
  89610. }
  89611. getBaseHref(doc) {
  89612. const href = getBaseElementHref();
  89613. return href == null ? null : relativePath(href);
  89614. }
  89615. resetBaseElement() {
  89616. baseElement = null;
  89617. }
  89618. getUserAgent() {
  89619. return window.navigator.userAgent;
  89620. }
  89621. getCookie(name) {
  89622. return (0,_angular_common__WEBPACK_IMPORTED_MODULE_0__["ɵparseCookieValue"])(document.cookie, name);
  89623. }
  89624. }
  89625. let baseElement = null;
  89626. function getBaseElementHref() {
  89627. baseElement = baseElement || document.querySelector('base');
  89628. return baseElement ? baseElement.getAttribute('href') : null;
  89629. } // based on urlUtils.js in AngularJS 1
  89630. let urlParsingNode;
  89631. function relativePath(url) {
  89632. urlParsingNode = urlParsingNode || document.createElement('a');
  89633. urlParsingNode.setAttribute('href', url);
  89634. const pathName = urlParsingNode.pathname;
  89635. return pathName.charAt(0) === '/' ? pathName : `/${pathName}`;
  89636. }
  89637. /**
  89638. * @license
  89639. * Copyright Google LLC All Rights Reserved.
  89640. *
  89641. * Use of this source code is governed by an MIT-style license that can be
  89642. * found in the LICENSE file at https://angular.io/license
  89643. */
  89644. /**
  89645. * An id that identifies a particular application being bootstrapped, that should
  89646. * match across the client/server boundary.
  89647. */
  89648. const TRANSITION_ID = new _angular_core__WEBPACK_IMPORTED_MODULE_1__.InjectionToken('TRANSITION_ID');
  89649. function appInitializerFactory(transitionId, document, injector) {
  89650. return () => {
  89651. // Wait for all application initializers to be completed before removing the styles set by
  89652. // the server.
  89653. injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_1__.ApplicationInitStatus).donePromise.then(() => {
  89654. const dom = (0,_angular_common__WEBPACK_IMPORTED_MODULE_0__["ɵgetDOM"])();
  89655. const styles = document.querySelectorAll(`style[ng-transition="${transitionId}"]`);
  89656. for (let i = 0; i < styles.length; i++) {
  89657. dom.remove(styles[i]);
  89658. }
  89659. });
  89660. };
  89661. }
  89662. const SERVER_TRANSITION_PROVIDERS = [{
  89663. provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__.APP_INITIALIZER,
  89664. useFactory: appInitializerFactory,
  89665. deps: [TRANSITION_ID, _angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT, _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injector],
  89666. multi: true
  89667. }];
  89668. /**
  89669. * @license
  89670. * Copyright Google LLC All Rights Reserved.
  89671. *
  89672. * Use of this source code is governed by an MIT-style license that can be
  89673. * found in the LICENSE file at https://angular.io/license
  89674. */
  89675. class BrowserGetTestability {
  89676. addToWindow(registry) {
  89677. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵglobal"].getAngularTestability = (elem, findInAncestors = true) => {
  89678. const testability = registry.findTestabilityInTree(elem, findInAncestors);
  89679. if (testability == null) {
  89680. throw new Error('Could not find testability for element.');
  89681. }
  89682. return testability;
  89683. };
  89684. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵglobal"].getAllAngularTestabilities = () => registry.getAllTestabilities();
  89685. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵglobal"].getAllAngularRootElements = () => registry.getAllRootElements();
  89686. const whenAllStable = (callback
  89687. /** TODO #9100 */
  89688. ) => {
  89689. const testabilities = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵglobal"].getAllAngularTestabilities();
  89690. let count = testabilities.length;
  89691. let didWork = false;
  89692. const decrement = function (didWork_
  89693. /** TODO #9100 */
  89694. ) {
  89695. didWork = didWork || didWork_;
  89696. count--;
  89697. if (count == 0) {
  89698. callback(didWork);
  89699. }
  89700. };
  89701. testabilities.forEach(function (testability
  89702. /** TODO #9100 */
  89703. ) {
  89704. testability.whenStable(decrement);
  89705. });
  89706. };
  89707. if (!_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵglobal"].frameworkStabilizers) {
  89708. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵglobal"].frameworkStabilizers = [];
  89709. }
  89710. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵglobal"].frameworkStabilizers.push(whenAllStable);
  89711. }
  89712. findTestabilityInTree(registry, elem, findInAncestors) {
  89713. if (elem == null) {
  89714. return null;
  89715. }
  89716. const t = registry.getTestability(elem);
  89717. if (t != null) {
  89718. return t;
  89719. } else if (!findInAncestors) {
  89720. return null;
  89721. }
  89722. if ((0,_angular_common__WEBPACK_IMPORTED_MODULE_0__["ɵgetDOM"])().isShadowRoot(elem)) {
  89723. return this.findTestabilityInTree(registry, elem.host, true);
  89724. }
  89725. return this.findTestabilityInTree(registry, elem.parentElement, true);
  89726. }
  89727. }
  89728. /**
  89729. * A factory for `HttpXhrBackend` that uses the `XMLHttpRequest` browser API.
  89730. */
  89731. class BrowserXhr {
  89732. build() {
  89733. return new XMLHttpRequest();
  89734. }
  89735. }
  89736. BrowserXhr.ɵfac = function BrowserXhr_Factory(t) {
  89737. return new (t || BrowserXhr)();
  89738. };
  89739. BrowserXhr.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
  89740. token: BrowserXhr,
  89741. factory: BrowserXhr.ɵfac
  89742. });
  89743. (function () {
  89744. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](BrowserXhr, [{
  89745. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injectable
  89746. }], null, null);
  89747. })();
  89748. /**
  89749. * @license
  89750. * Copyright Google LLC All Rights Reserved.
  89751. *
  89752. * Use of this source code is governed by an MIT-style license that can be
  89753. * found in the LICENSE file at https://angular.io/license
  89754. */
  89755. /**
  89756. * The injection token for the event-manager plug-in service.
  89757. *
  89758. * @publicApi
  89759. */
  89760. const EVENT_MANAGER_PLUGINS = new _angular_core__WEBPACK_IMPORTED_MODULE_1__.InjectionToken('EventManagerPlugins');
  89761. /**
  89762. * An injectable service that provides event management for Angular
  89763. * through a browser plug-in.
  89764. *
  89765. * @publicApi
  89766. */
  89767. class EventManager {
  89768. /**
  89769. * Initializes an instance of the event-manager service.
  89770. */
  89771. constructor(plugins, _zone) {
  89772. this._zone = _zone;
  89773. this._eventNameToPlugin = new Map();
  89774. plugins.forEach(p => p.manager = this);
  89775. this._plugins = plugins.slice().reverse();
  89776. }
  89777. /**
  89778. * Registers a handler for a specific element and event.
  89779. *
  89780. * @param element The HTML element to receive event notifications.
  89781. * @param eventName The name of the event to listen for.
  89782. * @param handler A function to call when the notification occurs. Receives the
  89783. * event object as an argument.
  89784. * @returns A callback function that can be used to remove the handler.
  89785. */
  89786. addEventListener(element, eventName, handler) {
  89787. const plugin = this._findPluginFor(eventName);
  89788. return plugin.addEventListener(element, eventName, handler);
  89789. }
  89790. /**
  89791. * Registers a global handler for an event in a target view.
  89792. *
  89793. * @param target A target for global event notifications. One of "window", "document", or "body".
  89794. * @param eventName The name of the event to listen for.
  89795. * @param handler A function to call when the notification occurs. Receives the
  89796. * event object as an argument.
  89797. * @returns A callback function that can be used to remove the handler.
  89798. * @deprecated No longer being used in Ivy code. To be removed in version 14.
  89799. */
  89800. addGlobalEventListener(target, eventName, handler) {
  89801. const plugin = this._findPluginFor(eventName);
  89802. return plugin.addGlobalEventListener(target, eventName, handler);
  89803. }
  89804. /**
  89805. * Retrieves the compilation zone in which event listeners are registered.
  89806. */
  89807. getZone() {
  89808. return this._zone;
  89809. }
  89810. /** @internal */
  89811. _findPluginFor(eventName) {
  89812. const plugin = this._eventNameToPlugin.get(eventName);
  89813. if (plugin) {
  89814. return plugin;
  89815. }
  89816. const plugins = this._plugins;
  89817. for (let i = 0; i < plugins.length; i++) {
  89818. const plugin = plugins[i];
  89819. if (plugin.supports(eventName)) {
  89820. this._eventNameToPlugin.set(eventName, plugin);
  89821. return plugin;
  89822. }
  89823. }
  89824. throw new Error(`No event manager plugin found for event ${eventName}`);
  89825. }
  89826. }
  89827. EventManager.ɵfac = function EventManager_Factory(t) {
  89828. return new (t || EventManager)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](EVENT_MANAGER_PLUGINS), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.NgZone));
  89829. };
  89830. EventManager.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
  89831. token: EventManager,
  89832. factory: EventManager.ɵfac
  89833. });
  89834. (function () {
  89835. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](EventManager, [{
  89836. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injectable
  89837. }], function () {
  89838. return [{
  89839. type: undefined,
  89840. decorators: [{
  89841. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Inject,
  89842. args: [EVENT_MANAGER_PLUGINS]
  89843. }]
  89844. }, {
  89845. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.NgZone
  89846. }];
  89847. }, null);
  89848. })();
  89849. class EventManagerPlugin {
  89850. constructor(_doc) {
  89851. this._doc = _doc;
  89852. }
  89853. addGlobalEventListener(element, eventName, handler) {
  89854. const target = (0,_angular_common__WEBPACK_IMPORTED_MODULE_0__["ɵgetDOM"])().getGlobalEventTarget(this._doc, element);
  89855. if (!target) {
  89856. throw new Error(`Unsupported event target ${target} for event ${eventName}`);
  89857. }
  89858. return this.addEventListener(target, eventName, handler);
  89859. }
  89860. }
  89861. /**
  89862. * @license
  89863. * Copyright Google LLC All Rights Reserved.
  89864. *
  89865. * Use of this source code is governed by an MIT-style license that can be
  89866. * found in the LICENSE file at https://angular.io/license
  89867. */
  89868. class SharedStylesHost {
  89869. constructor() {
  89870. /** @internal */
  89871. this._stylesSet = new Set();
  89872. }
  89873. addStyles(styles) {
  89874. const additions = new Set();
  89875. styles.forEach(style => {
  89876. if (!this._stylesSet.has(style)) {
  89877. this._stylesSet.add(style);
  89878. additions.add(style);
  89879. }
  89880. });
  89881. this.onStylesAdded(additions);
  89882. }
  89883. onStylesAdded(additions) {}
  89884. getAllStyles() {
  89885. return Array.from(this._stylesSet);
  89886. }
  89887. }
  89888. SharedStylesHost.ɵfac = function SharedStylesHost_Factory(t) {
  89889. return new (t || SharedStylesHost)();
  89890. };
  89891. SharedStylesHost.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
  89892. token: SharedStylesHost,
  89893. factory: SharedStylesHost.ɵfac
  89894. });
  89895. (function () {
  89896. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](SharedStylesHost, [{
  89897. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injectable
  89898. }], null, null);
  89899. })();
  89900. class DomSharedStylesHost extends SharedStylesHost {
  89901. constructor(_doc) {
  89902. super();
  89903. this._doc = _doc; // Maps all registered host nodes to a list of style nodes that have been added to the host node.
  89904. this._hostNodes = new Map();
  89905. this._hostNodes.set(_doc.head, []);
  89906. }
  89907. _addStylesToHost(styles, host, styleNodes) {
  89908. styles.forEach(style => {
  89909. const styleEl = this._doc.createElement('style');
  89910. styleEl.textContent = style;
  89911. styleNodes.push(host.appendChild(styleEl));
  89912. });
  89913. }
  89914. addHost(hostNode) {
  89915. const styleNodes = [];
  89916. this._addStylesToHost(this._stylesSet, hostNode, styleNodes);
  89917. this._hostNodes.set(hostNode, styleNodes);
  89918. }
  89919. removeHost(hostNode) {
  89920. const styleNodes = this._hostNodes.get(hostNode);
  89921. if (styleNodes) {
  89922. styleNodes.forEach(removeStyle);
  89923. }
  89924. this._hostNodes.delete(hostNode);
  89925. }
  89926. onStylesAdded(additions) {
  89927. this._hostNodes.forEach((styleNodes, hostNode) => {
  89928. this._addStylesToHost(additions, hostNode, styleNodes);
  89929. });
  89930. }
  89931. ngOnDestroy() {
  89932. this._hostNodes.forEach(styleNodes => styleNodes.forEach(removeStyle));
  89933. }
  89934. }
  89935. DomSharedStylesHost.ɵfac = function DomSharedStylesHost_Factory(t) {
  89936. return new (t || DomSharedStylesHost)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT));
  89937. };
  89938. DomSharedStylesHost.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
  89939. token: DomSharedStylesHost,
  89940. factory: DomSharedStylesHost.ɵfac
  89941. });
  89942. (function () {
  89943. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](DomSharedStylesHost, [{
  89944. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injectable
  89945. }], function () {
  89946. return [{
  89947. type: undefined,
  89948. decorators: [{
  89949. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Inject,
  89950. args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT]
  89951. }]
  89952. }];
  89953. }, null);
  89954. })();
  89955. function removeStyle(styleNode) {
  89956. (0,_angular_common__WEBPACK_IMPORTED_MODULE_0__["ɵgetDOM"])().remove(styleNode);
  89957. }
  89958. /**
  89959. * @license
  89960. * Copyright Google LLC All Rights Reserved.
  89961. *
  89962. * Use of this source code is governed by an MIT-style license that can be
  89963. * found in the LICENSE file at https://angular.io/license
  89964. */
  89965. const NAMESPACE_URIS = {
  89966. 'svg': 'http://www.w3.org/2000/svg',
  89967. 'xhtml': 'http://www.w3.org/1999/xhtml',
  89968. 'xlink': 'http://www.w3.org/1999/xlink',
  89969. 'xml': 'http://www.w3.org/XML/1998/namespace',
  89970. 'xmlns': 'http://www.w3.org/2000/xmlns/',
  89971. 'math': 'http://www.w3.org/1998/MathML/'
  89972. };
  89973. const COMPONENT_REGEX = /%COMP%/g;
  89974. const NG_DEV_MODE$1 = typeof ngDevMode === 'undefined' || !!ngDevMode;
  89975. const COMPONENT_VARIABLE = '%COMP%';
  89976. const HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
  89977. const CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;
  89978. function shimContentAttribute(componentShortId) {
  89979. return CONTENT_ATTR.replace(COMPONENT_REGEX, componentShortId);
  89980. }
  89981. function shimHostAttribute(componentShortId) {
  89982. return HOST_ATTR.replace(COMPONENT_REGEX, componentShortId);
  89983. }
  89984. function flattenStyles(compId, styles, target) {
  89985. for (let i = 0; i < styles.length; i++) {
  89986. let style = styles[i];
  89987. if (Array.isArray(style)) {
  89988. flattenStyles(compId, style, target);
  89989. } else {
  89990. style = style.replace(COMPONENT_REGEX, compId);
  89991. target.push(style);
  89992. }
  89993. }
  89994. return target;
  89995. }
  89996. function decoratePreventDefault(eventHandler) {
  89997. // `DebugNode.triggerEventHandler` needs to know if the listener was created with
  89998. // decoratePreventDefault or is a listener added outside the Angular context so it can handle the
  89999. // two differently. In the first case, the special '__ngUnwrap__' token is passed to the unwrap
  90000. // the listener (see below).
  90001. return event => {
  90002. // Ivy uses '__ngUnwrap__' as a special token that allows us to unwrap the function
  90003. // so that it can be invoked programmatically by `DebugNode.triggerEventHandler`. The debug_node
  90004. // can inspect the listener toString contents for the existence of this special token. Because
  90005. // the token is a string literal, it is ensured to not be modified by compiled code.
  90006. if (event === '__ngUnwrap__') {
  90007. return eventHandler;
  90008. }
  90009. const allowDefaultBehavior = eventHandler(event);
  90010. if (allowDefaultBehavior === false) {
  90011. // TODO(tbosch): move preventDefault into event plugins...
  90012. event.preventDefault();
  90013. event.returnValue = false;
  90014. }
  90015. return undefined;
  90016. };
  90017. }
  90018. let hasLoggedNativeEncapsulationWarning = false;
  90019. class DomRendererFactory2 {
  90020. constructor(eventManager, sharedStylesHost, appId) {
  90021. this.eventManager = eventManager;
  90022. this.sharedStylesHost = sharedStylesHost;
  90023. this.appId = appId;
  90024. this.rendererByCompId = new Map();
  90025. this.defaultRenderer = new DefaultDomRenderer2(eventManager);
  90026. }
  90027. createRenderer(element, type) {
  90028. if (!element || !type) {
  90029. return this.defaultRenderer;
  90030. }
  90031. switch (type.encapsulation) {
  90032. case _angular_core__WEBPACK_IMPORTED_MODULE_1__.ViewEncapsulation.Emulated:
  90033. {
  90034. let renderer = this.rendererByCompId.get(type.id);
  90035. if (!renderer) {
  90036. renderer = new EmulatedEncapsulationDomRenderer2(this.eventManager, this.sharedStylesHost, type, this.appId);
  90037. this.rendererByCompId.set(type.id, renderer);
  90038. }
  90039. renderer.applyToHost(element);
  90040. return renderer;
  90041. }
  90042. // @ts-ignore TODO: Remove as part of FW-2290. TS complains about us dealing with an enum
  90043. // value that is not known (but previously was the value for ViewEncapsulation.Native)
  90044. case 1:
  90045. case _angular_core__WEBPACK_IMPORTED_MODULE_1__.ViewEncapsulation.ShadowDom:
  90046. // TODO(FW-2290): remove the `case 1:` fallback logic and the warning in v12.
  90047. if ((typeof ngDevMode === 'undefined' || ngDevMode) && // @ts-ignore TODO: Remove as part of FW-2290. TS complains about us dealing with an
  90048. // enum value that is not known (but previously was the value for
  90049. // ViewEncapsulation.Native)
  90050. !hasLoggedNativeEncapsulationWarning && type.encapsulation === 1) {
  90051. hasLoggedNativeEncapsulationWarning = true;
  90052. console.warn('ViewEncapsulation.Native is no longer supported. Falling back to ViewEncapsulation.ShadowDom. The fallback will be removed in v12.');
  90053. }
  90054. return new ShadowDomRenderer(this.eventManager, this.sharedStylesHost, element, type);
  90055. default:
  90056. {
  90057. if (!this.rendererByCompId.has(type.id)) {
  90058. const styles = flattenStyles(type.id, type.styles, []);
  90059. this.sharedStylesHost.addStyles(styles);
  90060. this.rendererByCompId.set(type.id, this.defaultRenderer);
  90061. }
  90062. return this.defaultRenderer;
  90063. }
  90064. }
  90065. }
  90066. begin() {}
  90067. end() {}
  90068. }
  90069. DomRendererFactory2.ɵfac = function DomRendererFactory2_Factory(t) {
  90070. return new (t || DomRendererFactory2)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](EventManager), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](DomSharedStylesHost), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.APP_ID));
  90071. };
  90072. DomRendererFactory2.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
  90073. token: DomRendererFactory2,
  90074. factory: DomRendererFactory2.ɵfac
  90075. });
  90076. (function () {
  90077. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](DomRendererFactory2, [{
  90078. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injectable
  90079. }], function () {
  90080. return [{
  90081. type: EventManager
  90082. }, {
  90083. type: DomSharedStylesHost
  90084. }, {
  90085. type: undefined,
  90086. decorators: [{
  90087. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Inject,
  90088. args: [_angular_core__WEBPACK_IMPORTED_MODULE_1__.APP_ID]
  90089. }]
  90090. }];
  90091. }, null);
  90092. })();
  90093. class DefaultDomRenderer2 {
  90094. constructor(eventManager) {
  90095. this.eventManager = eventManager;
  90096. this.data = Object.create(null);
  90097. this.destroyNode = null;
  90098. }
  90099. destroy() {}
  90100. createElement(name, namespace) {
  90101. if (namespace) {
  90102. // TODO: `|| namespace` was added in
  90103. // https://github.com/angular/angular/commit/2b9cc8503d48173492c29f5a271b61126104fbdb to
  90104. // support how Ivy passed around the namespace URI rather than short name at the time. It did
  90105. // not, however extend the support to other parts of the system (setAttribute, setAttribute,
  90106. // and the ServerRenderer). We should decide what exactly the semantics for dealing with
  90107. // namespaces should be and make it consistent.
  90108. // Related issues:
  90109. // https://github.com/angular/angular/issues/44028
  90110. // https://github.com/angular/angular/issues/44883
  90111. return document.createElementNS(NAMESPACE_URIS[namespace] || namespace, name);
  90112. }
  90113. return document.createElement(name);
  90114. }
  90115. createComment(value) {
  90116. return document.createComment(value);
  90117. }
  90118. createText(value) {
  90119. return document.createTextNode(value);
  90120. }
  90121. appendChild(parent, newChild) {
  90122. const targetParent = isTemplateNode(parent) ? parent.content : parent;
  90123. targetParent.appendChild(newChild);
  90124. }
  90125. insertBefore(parent, newChild, refChild) {
  90126. if (parent) {
  90127. const targetParent = isTemplateNode(parent) ? parent.content : parent;
  90128. targetParent.insertBefore(newChild, refChild);
  90129. }
  90130. }
  90131. removeChild(parent, oldChild) {
  90132. if (parent) {
  90133. parent.removeChild(oldChild);
  90134. }
  90135. }
  90136. selectRootElement(selectorOrNode, preserveContent) {
  90137. let el = typeof selectorOrNode === 'string' ? document.querySelector(selectorOrNode) : selectorOrNode;
  90138. if (!el) {
  90139. throw new Error(`The selector "${selectorOrNode}" did not match any elements`);
  90140. }
  90141. if (!preserveContent) {
  90142. el.textContent = '';
  90143. }
  90144. return el;
  90145. }
  90146. parentNode(node) {
  90147. return node.parentNode;
  90148. }
  90149. nextSibling(node) {
  90150. return node.nextSibling;
  90151. }
  90152. setAttribute(el, name, value, namespace) {
  90153. if (namespace) {
  90154. name = namespace + ':' + name;
  90155. const namespaceUri = NAMESPACE_URIS[namespace];
  90156. if (namespaceUri) {
  90157. el.setAttributeNS(namespaceUri, name, value);
  90158. } else {
  90159. el.setAttribute(name, value);
  90160. }
  90161. } else {
  90162. el.setAttribute(name, value);
  90163. }
  90164. }
  90165. removeAttribute(el, name, namespace) {
  90166. if (namespace) {
  90167. const namespaceUri = NAMESPACE_URIS[namespace];
  90168. if (namespaceUri) {
  90169. el.removeAttributeNS(namespaceUri, name);
  90170. } else {
  90171. el.removeAttribute(`${namespace}:${name}`);
  90172. }
  90173. } else {
  90174. el.removeAttribute(name);
  90175. }
  90176. }
  90177. addClass(el, name) {
  90178. el.classList.add(name);
  90179. }
  90180. removeClass(el, name) {
  90181. el.classList.remove(name);
  90182. }
  90183. setStyle(el, style, value, flags) {
  90184. if (flags & (_angular_core__WEBPACK_IMPORTED_MODULE_1__.RendererStyleFlags2.DashCase | _angular_core__WEBPACK_IMPORTED_MODULE_1__.RendererStyleFlags2.Important)) {
  90185. el.style.setProperty(style, value, flags & _angular_core__WEBPACK_IMPORTED_MODULE_1__.RendererStyleFlags2.Important ? 'important' : '');
  90186. } else {
  90187. el.style[style] = value;
  90188. }
  90189. }
  90190. removeStyle(el, style, flags) {
  90191. if (flags & _angular_core__WEBPACK_IMPORTED_MODULE_1__.RendererStyleFlags2.DashCase) {
  90192. el.style.removeProperty(style);
  90193. } else {
  90194. // IE requires '' instead of null
  90195. // see https://github.com/angular/angular/issues/7916
  90196. el.style[style] = '';
  90197. }
  90198. }
  90199. setProperty(el, name, value) {
  90200. NG_DEV_MODE$1 && checkNoSyntheticProp(name, 'property');
  90201. el[name] = value;
  90202. }
  90203. setValue(node, value) {
  90204. node.nodeValue = value;
  90205. }
  90206. listen(target, event, callback) {
  90207. NG_DEV_MODE$1 && checkNoSyntheticProp(event, 'listener');
  90208. if (typeof target === 'string') {
  90209. return this.eventManager.addGlobalEventListener(target, event, decoratePreventDefault(callback));
  90210. }
  90211. return this.eventManager.addEventListener(target, event, decoratePreventDefault(callback));
  90212. }
  90213. }
  90214. const AT_CHARCODE = (() => '@'.charCodeAt(0))();
  90215. function checkNoSyntheticProp(name, nameKind) {
  90216. if (name.charCodeAt(0) === AT_CHARCODE) {
  90217. throw new Error(`Unexpected synthetic ${nameKind} ${name} found. Please make sure that:
  90218. - Either \`BrowserAnimationsModule\` or \`NoopAnimationsModule\` are imported in your application.
  90219. - There is corresponding configuration for the animation named \`${name}\` defined in the \`animations\` field of the \`@Component\` decorator (see https://angular.io/api/core/Component#animations).`);
  90220. }
  90221. }
  90222. function isTemplateNode(node) {
  90223. return node.tagName === 'TEMPLATE' && node.content !== undefined;
  90224. }
  90225. class EmulatedEncapsulationDomRenderer2 extends DefaultDomRenderer2 {
  90226. constructor(eventManager, sharedStylesHost, component, appId) {
  90227. super(eventManager);
  90228. this.component = component;
  90229. const styles = flattenStyles(appId + '-' + component.id, component.styles, []);
  90230. sharedStylesHost.addStyles(styles);
  90231. this.contentAttr = shimContentAttribute(appId + '-' + component.id);
  90232. this.hostAttr = shimHostAttribute(appId + '-' + component.id);
  90233. }
  90234. applyToHost(element) {
  90235. super.setAttribute(element, this.hostAttr, '');
  90236. }
  90237. createElement(parent, name) {
  90238. const el = super.createElement(parent, name);
  90239. super.setAttribute(el, this.contentAttr, '');
  90240. return el;
  90241. }
  90242. }
  90243. class ShadowDomRenderer extends DefaultDomRenderer2 {
  90244. constructor(eventManager, sharedStylesHost, hostEl, component) {
  90245. super(eventManager);
  90246. this.sharedStylesHost = sharedStylesHost;
  90247. this.hostEl = hostEl;
  90248. this.shadowRoot = hostEl.attachShadow({
  90249. mode: 'open'
  90250. });
  90251. this.sharedStylesHost.addHost(this.shadowRoot);
  90252. const styles = flattenStyles(component.id, component.styles, []);
  90253. for (let i = 0; i < styles.length; i++) {
  90254. const styleEl = document.createElement('style');
  90255. styleEl.textContent = styles[i];
  90256. this.shadowRoot.appendChild(styleEl);
  90257. }
  90258. }
  90259. nodeOrShadowRoot(node) {
  90260. return node === this.hostEl ? this.shadowRoot : node;
  90261. }
  90262. destroy() {
  90263. this.sharedStylesHost.removeHost(this.shadowRoot);
  90264. }
  90265. appendChild(parent, newChild) {
  90266. return super.appendChild(this.nodeOrShadowRoot(parent), newChild);
  90267. }
  90268. insertBefore(parent, newChild, refChild) {
  90269. return super.insertBefore(this.nodeOrShadowRoot(parent), newChild, refChild);
  90270. }
  90271. removeChild(parent, oldChild) {
  90272. return super.removeChild(this.nodeOrShadowRoot(parent), oldChild);
  90273. }
  90274. parentNode(node) {
  90275. return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(node)));
  90276. }
  90277. }
  90278. /**
  90279. * @license
  90280. * Copyright Google LLC All Rights Reserved.
  90281. *
  90282. * Use of this source code is governed by an MIT-style license that can be
  90283. * found in the LICENSE file at https://angular.io/license
  90284. */
  90285. class DomEventsPlugin extends EventManagerPlugin {
  90286. constructor(doc) {
  90287. super(doc);
  90288. } // This plugin should come last in the list of plugins, because it accepts all
  90289. // events.
  90290. supports(eventName) {
  90291. return true;
  90292. }
  90293. addEventListener(element, eventName, handler) {
  90294. element.addEventListener(eventName, handler, false);
  90295. return () => this.removeEventListener(element, eventName, handler);
  90296. }
  90297. removeEventListener(target, eventName, callback) {
  90298. return target.removeEventListener(eventName, callback);
  90299. }
  90300. }
  90301. DomEventsPlugin.ɵfac = function DomEventsPlugin_Factory(t) {
  90302. return new (t || DomEventsPlugin)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT));
  90303. };
  90304. DomEventsPlugin.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
  90305. token: DomEventsPlugin,
  90306. factory: DomEventsPlugin.ɵfac
  90307. });
  90308. (function () {
  90309. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](DomEventsPlugin, [{
  90310. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injectable
  90311. }], function () {
  90312. return [{
  90313. type: undefined,
  90314. decorators: [{
  90315. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Inject,
  90316. args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT]
  90317. }]
  90318. }];
  90319. }, null);
  90320. })();
  90321. /**
  90322. * @license
  90323. * Copyright Google LLC All Rights Reserved.
  90324. *
  90325. * Use of this source code is governed by an MIT-style license that can be
  90326. * found in the LICENSE file at https://angular.io/license
  90327. */
  90328. /**
  90329. * Defines supported modifiers for key events.
  90330. */
  90331. const MODIFIER_KEYS = ['alt', 'control', 'meta', 'shift']; // The following values are here for cross-browser compatibility and to match the W3C standard
  90332. // cf https://www.w3.org/TR/DOM-Level-3-Events-key/
  90333. const _keyMap = {
  90334. '\b': 'Backspace',
  90335. '\t': 'Tab',
  90336. '\x7F': 'Delete',
  90337. '\x1B': 'Escape',
  90338. 'Del': 'Delete',
  90339. 'Esc': 'Escape',
  90340. 'Left': 'ArrowLeft',
  90341. 'Right': 'ArrowRight',
  90342. 'Up': 'ArrowUp',
  90343. 'Down': 'ArrowDown',
  90344. 'Menu': 'ContextMenu',
  90345. 'Scroll': 'ScrollLock',
  90346. 'Win': 'OS'
  90347. };
  90348. /**
  90349. * Retrieves modifiers from key-event objects.
  90350. */
  90351. const MODIFIER_KEY_GETTERS = {
  90352. 'alt': event => event.altKey,
  90353. 'control': event => event.ctrlKey,
  90354. 'meta': event => event.metaKey,
  90355. 'shift': event => event.shiftKey
  90356. };
  90357. /**
  90358. * @publicApi
  90359. * A browser plug-in that provides support for handling of key events in Angular.
  90360. */
  90361. class KeyEventsPlugin extends EventManagerPlugin {
  90362. /**
  90363. * Initializes an instance of the browser plug-in.
  90364. * @param doc The document in which key events will be detected.
  90365. */
  90366. constructor(doc) {
  90367. super(doc);
  90368. }
  90369. /**
  90370. * Reports whether a named key event is supported.
  90371. * @param eventName The event name to query.
  90372. * @return True if the named key event is supported.
  90373. */
  90374. supports(eventName) {
  90375. return KeyEventsPlugin.parseEventName(eventName) != null;
  90376. }
  90377. /**
  90378. * Registers a handler for a specific element and key event.
  90379. * @param element The HTML element to receive event notifications.
  90380. * @param eventName The name of the key event to listen for.
  90381. * @param handler A function to call when the notification occurs. Receives the
  90382. * event object as an argument.
  90383. * @returns The key event that was registered.
  90384. */
  90385. addEventListener(element, eventName, handler) {
  90386. const parsedEvent = KeyEventsPlugin.parseEventName(eventName);
  90387. const outsideHandler = KeyEventsPlugin.eventCallback(parsedEvent['fullKey'], handler, this.manager.getZone());
  90388. return this.manager.getZone().runOutsideAngular(() => {
  90389. return (0,_angular_common__WEBPACK_IMPORTED_MODULE_0__["ɵgetDOM"])().onAndCancel(element, parsedEvent['domEventName'], outsideHandler);
  90390. });
  90391. }
  90392. /**
  90393. * Parses the user provided full keyboard event definition and normalizes it for
  90394. * later internal use. It ensures the string is all lowercase, converts special
  90395. * characters to a standard spelling, and orders all the values consistently.
  90396. *
  90397. * @param eventName The name of the key event to listen for.
  90398. * @returns an object with the full, normalized string, and the dom event name
  90399. * or null in the case when the event doesn't match a keyboard event.
  90400. */
  90401. static parseEventName(eventName) {
  90402. const parts = eventName.toLowerCase().split('.');
  90403. const domEventName = parts.shift();
  90404. if (parts.length === 0 || !(domEventName === 'keydown' || domEventName === 'keyup')) {
  90405. return null;
  90406. }
  90407. const key = KeyEventsPlugin._normalizeKey(parts.pop());
  90408. let fullKey = '';
  90409. let codeIX = parts.indexOf('code');
  90410. if (codeIX > -1) {
  90411. parts.splice(codeIX, 1);
  90412. fullKey = 'code.';
  90413. }
  90414. MODIFIER_KEYS.forEach(modifierName => {
  90415. const index = parts.indexOf(modifierName);
  90416. if (index > -1) {
  90417. parts.splice(index, 1);
  90418. fullKey += modifierName + '.';
  90419. }
  90420. });
  90421. fullKey += key;
  90422. if (parts.length != 0 || key.length === 0) {
  90423. // returning null instead of throwing to let another plugin process the event
  90424. return null;
  90425. } // NOTE: Please don't rewrite this as so, as it will break JSCompiler property renaming.
  90426. // The code must remain in the `result['domEventName']` form.
  90427. // return {domEventName, fullKey};
  90428. const result = {};
  90429. result['domEventName'] = domEventName;
  90430. result['fullKey'] = fullKey;
  90431. return result;
  90432. }
  90433. /**
  90434. * Determines whether the actual keys pressed match the configured key code string.
  90435. * The `fullKeyCode` event is normalized in the `parseEventName` method when the
  90436. * event is attached to the DOM during the `addEventListener` call. This is unseen
  90437. * by the end user and is normalized for internal consistency and parsing.
  90438. *
  90439. * @param event The keyboard event.
  90440. * @param fullKeyCode The normalized user defined expected key event string
  90441. * @returns boolean.
  90442. */
  90443. static matchEventFullKeyCode(event, fullKeyCode) {
  90444. let keycode = _keyMap[event.key] || event.key;
  90445. let key = '';
  90446. if (fullKeyCode.indexOf('code.') > -1) {
  90447. keycode = event.code;
  90448. key = 'code.';
  90449. } // the keycode could be unidentified so we have to check here
  90450. if (keycode == null || !keycode) return false;
  90451. keycode = keycode.toLowerCase();
  90452. if (keycode === ' ') {
  90453. keycode = 'space'; // for readability
  90454. } else if (keycode === '.') {
  90455. keycode = 'dot'; // because '.' is used as a separator in event names
  90456. }
  90457. MODIFIER_KEYS.forEach(modifierName => {
  90458. if (modifierName !== keycode) {
  90459. const modifierGetter = MODIFIER_KEY_GETTERS[modifierName];
  90460. if (modifierGetter(event)) {
  90461. key += modifierName + '.';
  90462. }
  90463. }
  90464. });
  90465. key += keycode;
  90466. return key === fullKeyCode;
  90467. }
  90468. /**
  90469. * Configures a handler callback for a key event.
  90470. * @param fullKey The event name that combines all simultaneous keystrokes.
  90471. * @param handler The function that responds to the key event.
  90472. * @param zone The zone in which the event occurred.
  90473. * @returns A callback function.
  90474. */
  90475. static eventCallback(fullKey, handler, zone) {
  90476. return event => {
  90477. if (KeyEventsPlugin.matchEventFullKeyCode(event, fullKey)) {
  90478. zone.runGuarded(() => handler(event));
  90479. }
  90480. };
  90481. }
  90482. /** @internal */
  90483. static _normalizeKey(keyName) {
  90484. // TODO: switch to a Map if the mapping grows too much
  90485. switch (keyName) {
  90486. case 'esc':
  90487. return 'escape';
  90488. default:
  90489. return keyName;
  90490. }
  90491. }
  90492. }
  90493. KeyEventsPlugin.ɵfac = function KeyEventsPlugin_Factory(t) {
  90494. return new (t || KeyEventsPlugin)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT));
  90495. };
  90496. KeyEventsPlugin.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
  90497. token: KeyEventsPlugin,
  90498. factory: KeyEventsPlugin.ɵfac
  90499. });
  90500. (function () {
  90501. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](KeyEventsPlugin, [{
  90502. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injectable
  90503. }], function () {
  90504. return [{
  90505. type: undefined,
  90506. decorators: [{
  90507. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Inject,
  90508. args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT]
  90509. }]
  90510. }];
  90511. }, null);
  90512. })();
  90513. /**
  90514. * @license
  90515. * Copyright Google LLC All Rights Reserved.
  90516. *
  90517. * Use of this source code is governed by an MIT-style license that can be
  90518. * found in the LICENSE file at https://angular.io/license
  90519. */
  90520. const NG_DEV_MODE = typeof ngDevMode === 'undefined' || !!ngDevMode;
  90521. /**
  90522. * Bootstraps an instance of an Angular application and renders a standalone component as the
  90523. * application's root component. More information about standalone components can be found in [this
  90524. * guide](guide/standalone-components).
  90525. *
  90526. * @usageNotes
  90527. * The root component passed into this function *must* be a standalone one (should have the
  90528. * `standalone: true` flag in the `@Component` decorator config).
  90529. *
  90530. * ```typescript
  90531. * @Component({
  90532. * standalone: true,
  90533. * template: 'Hello world!'
  90534. * })
  90535. * class RootComponent {}
  90536. *
  90537. * const appRef: ApplicationRef = await bootstrapApplication(RootComponent);
  90538. * ```
  90539. *
  90540. * You can add the list of providers that should be available in the application injector by
  90541. * specifying the `providers` field in an object passed as the second argument:
  90542. *
  90543. * ```typescript
  90544. * await bootstrapApplication(RootComponent, {
  90545. * providers: [
  90546. * {provide: BACKEND_URL, useValue: 'https://yourdomain.com/api'}
  90547. * ]
  90548. * });
  90549. * ```
  90550. *
  90551. * The `importProvidersFrom` helper method can be used to collect all providers from any
  90552. * existing NgModule (and transitively from all NgModules that it imports):
  90553. *
  90554. * ```typescript
  90555. * await bootstrapApplication(RootComponent, {
  90556. * providers: [
  90557. * importProvidersFrom(SomeNgModule)
  90558. * ]
  90559. * });
  90560. * ```
  90561. *
  90562. * Note: the `bootstrapApplication` method doesn't include [Testability](api/core/Testability) by
  90563. * default. You can add [Testability](api/core/Testability) by getting the list of necessary
  90564. * providers using `provideProtractorTestingSupport()` function and adding them into the `providers`
  90565. * array, for example:
  90566. *
  90567. * ```typescript
  90568. * import {provideProtractorTestingSupport} from '@angular/platform-browser';
  90569. *
  90570. * await bootstrapApplication(RootComponent, {providers: [provideProtractorTestingSupport()]});
  90571. * ```
  90572. *
  90573. * @param rootComponent A reference to a standalone component that should be rendered.
  90574. * @param options Extra configuration for the bootstrap operation, see `ApplicationConfig` for
  90575. * additional info.
  90576. * @returns A promise that returns an `ApplicationRef` instance once resolved.
  90577. *
  90578. * @publicApi
  90579. * @developerPreview
  90580. */
  90581. function bootstrapApplication(rootComponent, options) {
  90582. return (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵinternalCreateApplication"])(Object.assign({
  90583. rootComponent
  90584. }, createProvidersConfig(options)));
  90585. }
  90586. /**
  90587. * Create an instance of an Angular application without bootstrapping any components. This is useful
  90588. * for the situation where one wants to decouple application environment creation (a platform and
  90589. * associated injectors) from rendering components on a screen. Components can be subsequently
  90590. * bootstrapped on the returned `ApplicationRef`.
  90591. *
  90592. * @param options Extra configuration for the application environment, see `ApplicationConfig` for
  90593. * additional info.
  90594. * @returns A promise that returns an `ApplicationRef` instance once resolved.
  90595. *
  90596. * @publicApi
  90597. * @developerPreview
  90598. */
  90599. function createApplication(options) {
  90600. return (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵinternalCreateApplication"])(createProvidersConfig(options));
  90601. }
  90602. function createProvidersConfig(options) {
  90603. var _a;
  90604. return {
  90605. appProviders: [...BROWSER_MODULE_PROVIDERS, ...((_a = options === null || options === void 0 ? void 0 : options.providers) !== null && _a !== void 0 ? _a : [])],
  90606. platformProviders: INTERNAL_BROWSER_PLATFORM_PROVIDERS
  90607. };
  90608. }
  90609. /**
  90610. * Returns a set of providers required to setup [Testability](api/core/Testability) for an
  90611. * application bootstrapped using the `bootstrapApplication` function. The set of providers is
  90612. * needed to support testing an application with Protractor (which relies on the Testability APIs
  90613. * to be present).
  90614. *
  90615. * @returns An array of providers required to setup Testability for an application and make it
  90616. * available for testing using Protractor.
  90617. *
  90618. * @developerPreview
  90619. * @publicApi
  90620. */
  90621. function provideProtractorTestingSupport() {
  90622. // Return a copy to prevent changes to the original array in case any in-place
  90623. // alterations are performed to the `provideProtractorTestingSupport` call results in app code.
  90624. return [...TESTABILITY_PROVIDERS];
  90625. }
  90626. function initDomAdapter() {
  90627. BrowserDomAdapter.makeCurrent();
  90628. }
  90629. function errorHandler() {
  90630. return new _angular_core__WEBPACK_IMPORTED_MODULE_1__.ErrorHandler();
  90631. }
  90632. function _document() {
  90633. // Tell ivy about the global document
  90634. (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetDocument"])(document);
  90635. return document;
  90636. }
  90637. const INTERNAL_BROWSER_PLATFORM_PROVIDERS = [{
  90638. provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__.PLATFORM_ID,
  90639. useValue: _angular_common__WEBPACK_IMPORTED_MODULE_0__["ɵPLATFORM_BROWSER_ID"]
  90640. }, {
  90641. provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__.PLATFORM_INITIALIZER,
  90642. useValue: initDomAdapter,
  90643. multi: true
  90644. }, {
  90645. provide: _angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT,
  90646. useFactory: _document,
  90647. deps: []
  90648. }];
  90649. /**
  90650. * A factory function that returns a `PlatformRef` instance associated with browser service
  90651. * providers.
  90652. *
  90653. * @publicApi
  90654. */
  90655. const platformBrowser = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.createPlatformFactory)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.platformCore, 'browser', INTERNAL_BROWSER_PLATFORM_PROVIDERS);
  90656. /**
  90657. * Internal marker to signal whether providers from the `BrowserModule` are already present in DI.
  90658. * This is needed to avoid loading `BrowserModule` providers twice. We can't rely on the
  90659. * `BrowserModule` presence itself, since the standalone-based bootstrap just imports
  90660. * `BrowserModule` providers without referencing the module itself.
  90661. */
  90662. const BROWSER_MODULE_PROVIDERS_MARKER = new _angular_core__WEBPACK_IMPORTED_MODULE_1__.InjectionToken(NG_DEV_MODE ? 'BrowserModule Providers Marker' : '');
  90663. const TESTABILITY_PROVIDERS = [{
  90664. provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵTESTABILITY_GETTER"],
  90665. useClass: BrowserGetTestability,
  90666. deps: []
  90667. }, {
  90668. provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵTESTABILITY"],
  90669. useClass: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Testability,
  90670. deps: [_angular_core__WEBPACK_IMPORTED_MODULE_1__.NgZone, _angular_core__WEBPACK_IMPORTED_MODULE_1__.TestabilityRegistry, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵTESTABILITY_GETTER"]]
  90671. }, {
  90672. provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Testability,
  90673. useClass: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Testability,
  90674. deps: [_angular_core__WEBPACK_IMPORTED_MODULE_1__.NgZone, _angular_core__WEBPACK_IMPORTED_MODULE_1__.TestabilityRegistry, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵTESTABILITY_GETTER"]]
  90675. }];
  90676. const BROWSER_MODULE_PROVIDERS = [{
  90677. provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵINJECTOR_SCOPE"],
  90678. useValue: 'root'
  90679. }, {
  90680. provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__.ErrorHandler,
  90681. useFactory: errorHandler,
  90682. deps: []
  90683. }, {
  90684. provide: EVENT_MANAGER_PLUGINS,
  90685. useClass: DomEventsPlugin,
  90686. multi: true,
  90687. deps: [_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT, _angular_core__WEBPACK_IMPORTED_MODULE_1__.NgZone, _angular_core__WEBPACK_IMPORTED_MODULE_1__.PLATFORM_ID]
  90688. }, {
  90689. provide: EVENT_MANAGER_PLUGINS,
  90690. useClass: KeyEventsPlugin,
  90691. multi: true,
  90692. deps: [_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT]
  90693. }, {
  90694. provide: DomRendererFactory2,
  90695. useClass: DomRendererFactory2,
  90696. deps: [EventManager, DomSharedStylesHost, _angular_core__WEBPACK_IMPORTED_MODULE_1__.APP_ID]
  90697. }, {
  90698. provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__.RendererFactory2,
  90699. useExisting: DomRendererFactory2
  90700. }, {
  90701. provide: SharedStylesHost,
  90702. useExisting: DomSharedStylesHost
  90703. }, {
  90704. provide: DomSharedStylesHost,
  90705. useClass: DomSharedStylesHost,
  90706. deps: [_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT]
  90707. }, {
  90708. provide: EventManager,
  90709. useClass: EventManager,
  90710. deps: [EVENT_MANAGER_PLUGINS, _angular_core__WEBPACK_IMPORTED_MODULE_1__.NgZone]
  90711. }, {
  90712. provide: _angular_common__WEBPACK_IMPORTED_MODULE_0__.XhrFactory,
  90713. useClass: BrowserXhr,
  90714. deps: []
  90715. }, NG_DEV_MODE ? {
  90716. provide: BROWSER_MODULE_PROVIDERS_MARKER,
  90717. useValue: true
  90718. } : []];
  90719. /**
  90720. * Exports required infrastructure for all Angular apps.
  90721. * Included by default in all Angular apps created with the CLI
  90722. * `new` command.
  90723. * Re-exports `CommonModule` and `ApplicationModule`, making their
  90724. * exports and providers available to all apps.
  90725. *
  90726. * @publicApi
  90727. */
  90728. class BrowserModule {
  90729. constructor(providersAlreadyPresent) {
  90730. if (NG_DEV_MODE && providersAlreadyPresent) {
  90731. throw new Error(`Providers from the \`BrowserModule\` have already been loaded. If you need access ` + `to common directives such as NgIf and NgFor, import the \`CommonModule\` instead.`);
  90732. }
  90733. }
  90734. /**
  90735. * Configures a browser-based app to transition from a server-rendered app, if
  90736. * one is present on the page.
  90737. *
  90738. * @param params An object containing an identifier for the app to transition.
  90739. * The ID must match between the client and server versions of the app.
  90740. * @returns The reconfigured `BrowserModule` to import into the app's root `AppModule`.
  90741. */
  90742. static withServerTransition(params) {
  90743. return {
  90744. ngModule: BrowserModule,
  90745. providers: [{
  90746. provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__.APP_ID,
  90747. useValue: params.appId
  90748. }, {
  90749. provide: TRANSITION_ID,
  90750. useExisting: _angular_core__WEBPACK_IMPORTED_MODULE_1__.APP_ID
  90751. }, SERVER_TRANSITION_PROVIDERS]
  90752. };
  90753. }
  90754. }
  90755. BrowserModule.ɵfac = function BrowserModule_Factory(t) {
  90756. return new (t || BrowserModule)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](BROWSER_MODULE_PROVIDERS_MARKER, 12));
  90757. };
  90758. BrowserModule.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({
  90759. type: BrowserModule,
  90760. exports: [_angular_common__WEBPACK_IMPORTED_MODULE_0__.CommonModule, _angular_core__WEBPACK_IMPORTED_MODULE_1__.ApplicationModule]
  90761. });
  90762. BrowserModule.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({
  90763. providers: [...BROWSER_MODULE_PROVIDERS, ...TESTABILITY_PROVIDERS],
  90764. imports: [_angular_common__WEBPACK_IMPORTED_MODULE_0__.CommonModule, _angular_core__WEBPACK_IMPORTED_MODULE_1__.ApplicationModule]
  90765. });
  90766. (function () {
  90767. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](BrowserModule, [{
  90768. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.NgModule,
  90769. args: [{
  90770. providers: [...BROWSER_MODULE_PROVIDERS, ...TESTABILITY_PROVIDERS],
  90771. exports: [_angular_common__WEBPACK_IMPORTED_MODULE_0__.CommonModule, _angular_core__WEBPACK_IMPORTED_MODULE_1__.ApplicationModule]
  90772. }]
  90773. }], function () {
  90774. return [{
  90775. type: undefined,
  90776. decorators: [{
  90777. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Optional
  90778. }, {
  90779. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.SkipSelf
  90780. }, {
  90781. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Inject,
  90782. args: [BROWSER_MODULE_PROVIDERS_MARKER]
  90783. }]
  90784. }];
  90785. }, null);
  90786. })();
  90787. /**
  90788. * @license
  90789. * Copyright Google LLC All Rights Reserved.
  90790. *
  90791. * Use of this source code is governed by an MIT-style license that can be
  90792. * found in the LICENSE file at https://angular.io/license
  90793. */
  90794. /**
  90795. * Factory to create a `Meta` service instance for the current DOM document.
  90796. */
  90797. function createMeta() {
  90798. return new Meta((0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"])(_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT));
  90799. }
  90800. /**
  90801. * A service for managing HTML `<meta>` tags.
  90802. *
  90803. * Properties of the `MetaDefinition` object match the attributes of the
  90804. * HTML `<meta>` tag. These tags define document metadata that is important for
  90805. * things like configuring a Content Security Policy, defining browser compatibility
  90806. * and security settings, setting HTTP Headers, defining rich content for social sharing,
  90807. * and Search Engine Optimization (SEO).
  90808. *
  90809. * To identify specific `<meta>` tags in a document, use an attribute selection
  90810. * string in the format `"tag_attribute='value string'"`.
  90811. * For example, an `attrSelector` value of `"name='description'"` matches a tag
  90812. * whose `name` attribute has the value `"description"`.
  90813. * Selectors are used with the `querySelector()` Document method,
  90814. * in the format `meta[{attrSelector}]`.
  90815. *
  90816. * @see [HTML meta tag](https://developer.mozilla.org/docs/Web/HTML/Element/meta)
  90817. * @see [Document.querySelector()](https://developer.mozilla.org/docs/Web/API/Document/querySelector)
  90818. *
  90819. *
  90820. * @publicApi
  90821. */
  90822. class Meta {
  90823. constructor(_doc) {
  90824. this._doc = _doc;
  90825. this._dom = (0,_angular_common__WEBPACK_IMPORTED_MODULE_0__["ɵgetDOM"])();
  90826. }
  90827. /**
  90828. * Retrieves or creates a specific `<meta>` tag element in the current HTML document.
  90829. * In searching for an existing tag, Angular attempts to match the `name` or `property` attribute
  90830. * values in the provided tag definition, and verifies that all other attribute values are equal.
  90831. * If an existing element is found, it is returned and is not modified in any way.
  90832. * @param tag The definition of a `<meta>` element to match or create.
  90833. * @param forceCreation True to create a new element without checking whether one already exists.
  90834. * @returns The existing element with the same attributes and values if found,
  90835. * the new element if no match is found, or `null` if the tag parameter is not defined.
  90836. */
  90837. addTag(tag, forceCreation = false) {
  90838. if (!tag) return null;
  90839. return this._getOrCreateElement(tag, forceCreation);
  90840. }
  90841. /**
  90842. * Retrieves or creates a set of `<meta>` tag elements in the current HTML document.
  90843. * In searching for an existing tag, Angular attempts to match the `name` or `property` attribute
  90844. * values in the provided tag definition, and verifies that all other attribute values are equal.
  90845. * @param tags An array of tag definitions to match or create.
  90846. * @param forceCreation True to create new elements without checking whether they already exist.
  90847. * @returns The matching elements if found, or the new elements.
  90848. */
  90849. addTags(tags, forceCreation = false) {
  90850. if (!tags) return [];
  90851. return tags.reduce((result, tag) => {
  90852. if (tag) {
  90853. result.push(this._getOrCreateElement(tag, forceCreation));
  90854. }
  90855. return result;
  90856. }, []);
  90857. }
  90858. /**
  90859. * Retrieves a `<meta>` tag element in the current HTML document.
  90860. * @param attrSelector The tag attribute and value to match against, in the format
  90861. * `"tag_attribute='value string'"`.
  90862. * @returns The matching element, if any.
  90863. */
  90864. getTag(attrSelector) {
  90865. if (!attrSelector) return null;
  90866. return this._doc.querySelector(`meta[${attrSelector}]`) || null;
  90867. }
  90868. /**
  90869. * Retrieves a set of `<meta>` tag elements in the current HTML document.
  90870. * @param attrSelector The tag attribute and value to match against, in the format
  90871. * `"tag_attribute='value string'"`.
  90872. * @returns The matching elements, if any.
  90873. */
  90874. getTags(attrSelector) {
  90875. if (!attrSelector) return [];
  90876. const list
  90877. /*NodeList*/
  90878. = this._doc.querySelectorAll(`meta[${attrSelector}]`);
  90879. return list ? [].slice.call(list) : [];
  90880. }
  90881. /**
  90882. * Modifies an existing `<meta>` tag element in the current HTML document.
  90883. * @param tag The tag description with which to replace the existing tag content.
  90884. * @param selector A tag attribute and value to match against, to identify
  90885. * an existing tag. A string in the format `"tag_attribute=`value string`"`.
  90886. * If not supplied, matches a tag with the same `name` or `property` attribute value as the
  90887. * replacement tag.
  90888. * @return The modified element.
  90889. */
  90890. updateTag(tag, selector) {
  90891. if (!tag) return null;
  90892. selector = selector || this._parseSelector(tag);
  90893. const meta = this.getTag(selector);
  90894. if (meta) {
  90895. return this._setMetaElementAttributes(tag, meta);
  90896. }
  90897. return this._getOrCreateElement(tag, true);
  90898. }
  90899. /**
  90900. * Removes an existing `<meta>` tag element from the current HTML document.
  90901. * @param attrSelector A tag attribute and value to match against, to identify
  90902. * an existing tag. A string in the format `"tag_attribute=`value string`"`.
  90903. */
  90904. removeTag(attrSelector) {
  90905. this.removeTagElement(this.getTag(attrSelector));
  90906. }
  90907. /**
  90908. * Removes an existing `<meta>` tag element from the current HTML document.
  90909. * @param meta The tag definition to match against to identify an existing tag.
  90910. */
  90911. removeTagElement(meta) {
  90912. if (meta) {
  90913. this._dom.remove(meta);
  90914. }
  90915. }
  90916. _getOrCreateElement(meta, forceCreation = false) {
  90917. if (!forceCreation) {
  90918. const selector = this._parseSelector(meta); // It's allowed to have multiple elements with the same name so it's not enough to
  90919. // just check that element with the same name already present on the page. We also need to
  90920. // check if element has tag attributes
  90921. const elem = this.getTags(selector).filter(elem => this._containsAttributes(meta, elem))[0];
  90922. if (elem !== undefined) return elem;
  90923. }
  90924. const element = this._dom.createElement('meta');
  90925. this._setMetaElementAttributes(meta, element);
  90926. const head = this._doc.getElementsByTagName('head')[0];
  90927. head.appendChild(element);
  90928. return element;
  90929. }
  90930. _setMetaElementAttributes(tag, el) {
  90931. Object.keys(tag).forEach(prop => el.setAttribute(this._getMetaKeyMap(prop), tag[prop]));
  90932. return el;
  90933. }
  90934. _parseSelector(tag) {
  90935. const attr = tag.name ? 'name' : 'property';
  90936. return `${attr}="${tag[attr]}"`;
  90937. }
  90938. _containsAttributes(tag, elem) {
  90939. return Object.keys(tag).every(key => elem.getAttribute(this._getMetaKeyMap(key)) === tag[key]);
  90940. }
  90941. _getMetaKeyMap(prop) {
  90942. return META_KEYS_MAP[prop] || prop;
  90943. }
  90944. }
  90945. Meta.ɵfac = function Meta_Factory(t) {
  90946. return new (t || Meta)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT));
  90947. };
  90948. Meta.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
  90949. token: Meta,
  90950. factory: function Meta_Factory(t) {
  90951. let r = null;
  90952. if (t) {
  90953. r = new t();
  90954. } else {
  90955. r = createMeta();
  90956. }
  90957. return r;
  90958. },
  90959. providedIn: 'root'
  90960. });
  90961. (function () {
  90962. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](Meta, [{
  90963. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injectable,
  90964. args: [{
  90965. providedIn: 'root',
  90966. useFactory: createMeta,
  90967. deps: []
  90968. }]
  90969. }], function () {
  90970. return [{
  90971. type: undefined,
  90972. decorators: [{
  90973. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Inject,
  90974. args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT]
  90975. }]
  90976. }];
  90977. }, null);
  90978. })();
  90979. /**
  90980. * Mapping for MetaDefinition properties with their correct meta attribute names
  90981. */
  90982. const META_KEYS_MAP = {
  90983. httpEquiv: 'http-equiv'
  90984. };
  90985. /**
  90986. * @license
  90987. * Copyright Google LLC All Rights Reserved.
  90988. *
  90989. * Use of this source code is governed by an MIT-style license that can be
  90990. * found in the LICENSE file at https://angular.io/license
  90991. */
  90992. /**
  90993. * Factory to create Title service.
  90994. */
  90995. function createTitle() {
  90996. return new Title((0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"])(_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT));
  90997. }
  90998. /**
  90999. * A service that can be used to get and set the title of a current HTML document.
  91000. *
  91001. * Since an Angular application can't be bootstrapped on the entire HTML document (`<html>` tag)
  91002. * it is not possible to bind to the `text` property of the `HTMLTitleElement` elements
  91003. * (representing the `<title>` tag). Instead, this service can be used to set and get the current
  91004. * title value.
  91005. *
  91006. * @publicApi
  91007. */
  91008. class Title {
  91009. constructor(_doc) {
  91010. this._doc = _doc;
  91011. }
  91012. /**
  91013. * Get the title of the current HTML document.
  91014. */
  91015. getTitle() {
  91016. return this._doc.title;
  91017. }
  91018. /**
  91019. * Set the title of the current HTML document.
  91020. * @param newTitle
  91021. */
  91022. setTitle(newTitle) {
  91023. this._doc.title = newTitle || '';
  91024. }
  91025. }
  91026. Title.ɵfac = function Title_Factory(t) {
  91027. return new (t || Title)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT));
  91028. };
  91029. Title.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
  91030. token: Title,
  91031. factory: function Title_Factory(t) {
  91032. let r = null;
  91033. if (t) {
  91034. r = new t();
  91035. } else {
  91036. r = createTitle();
  91037. }
  91038. return r;
  91039. },
  91040. providedIn: 'root'
  91041. });
  91042. (function () {
  91043. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](Title, [{
  91044. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injectable,
  91045. args: [{
  91046. providedIn: 'root',
  91047. useFactory: createTitle,
  91048. deps: []
  91049. }]
  91050. }], function () {
  91051. return [{
  91052. type: undefined,
  91053. decorators: [{
  91054. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Inject,
  91055. args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT]
  91056. }]
  91057. }];
  91058. }, null);
  91059. })();
  91060. /**
  91061. * @license
  91062. * Copyright Google LLC All Rights Reserved.
  91063. *
  91064. * Use of this source code is governed by an MIT-style license that can be
  91065. * found in the LICENSE file at https://angular.io/license
  91066. */
  91067. const CAMEL_CASE_REGEXP = /([A-Z])/g;
  91068. const DASH_CASE_REGEXP = /-([a-z])/g;
  91069. function camelCaseToDashCase(input) {
  91070. return input.replace(CAMEL_CASE_REGEXP, (...m) => '-' + m[1].toLowerCase());
  91071. }
  91072. function dashCaseToCamelCase(input) {
  91073. return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
  91074. }
  91075. /**
  91076. * Exports the value under a given `name` in the global property `ng`. For example `ng.probe` if
  91077. * `name` is `'probe'`.
  91078. * @param name Name under which it will be exported. Keep in mind this will be a property of the
  91079. * global `ng` object.
  91080. * @param value The value to export.
  91081. */
  91082. function exportNgVar(name, value) {
  91083. if (typeof COMPILED === 'undefined' || !COMPILED) {
  91084. // Note: we can't export `ng` when using closure enhanced optimization as:
  91085. // - closure declares globals itself for minified names, which sometimes clobber our `ng` global
  91086. // - we can't declare a closure extern as the namespace `ng` is already used within Google
  91087. // for typings for angularJS (via `goog.provide('ng....')`).
  91088. const ng = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵglobal"].ng = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵglobal"].ng || {};
  91089. ng[name] = value;
  91090. }
  91091. }
  91092. /**
  91093. * @license
  91094. * Copyright Google LLC All Rights Reserved.
  91095. *
  91096. * Use of this source code is governed by an MIT-style license that can be
  91097. * found in the LICENSE file at https://angular.io/license
  91098. */
  91099. const win = typeof window !== 'undefined' && window || {};
  91100. /**
  91101. * @license
  91102. * Copyright Google LLC All Rights Reserved.
  91103. *
  91104. * Use of this source code is governed by an MIT-style license that can be
  91105. * found in the LICENSE file at https://angular.io/license
  91106. */
  91107. class ChangeDetectionPerfRecord {
  91108. constructor(msPerTick, numTicks) {
  91109. this.msPerTick = msPerTick;
  91110. this.numTicks = numTicks;
  91111. }
  91112. }
  91113. /**
  91114. * Entry point for all Angular profiling-related debug tools. This object
  91115. * corresponds to the `ng.profiler` in the dev console.
  91116. */
  91117. class AngularProfiler {
  91118. constructor(ref) {
  91119. this.appRef = ref.injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_1__.ApplicationRef);
  91120. } // tslint:disable:no-console
  91121. /**
  91122. * Exercises change detection in a loop and then prints the average amount of
  91123. * time in milliseconds how long a single round of change detection takes for
  91124. * the current state of the UI. It runs a minimum of 5 rounds for a minimum
  91125. * of 500 milliseconds.
  91126. *
  91127. * Optionally, a user may pass a `config` parameter containing a map of
  91128. * options. Supported options are:
  91129. *
  91130. * `record` (boolean) - causes the profiler to record a CPU profile while
  91131. * it exercises the change detector. Example:
  91132. *
  91133. * ```
  91134. * ng.profiler.timeChangeDetection({record: true})
  91135. * ```
  91136. */
  91137. timeChangeDetection(config) {
  91138. const record = config && config['record'];
  91139. const profileName = 'Change Detection'; // Profiler is not available in Android browsers without dev tools opened
  91140. const isProfilerAvailable = win.console.profile != null;
  91141. if (record && isProfilerAvailable) {
  91142. win.console.profile(profileName);
  91143. }
  91144. const start = performanceNow();
  91145. let numTicks = 0;
  91146. while (numTicks < 5 || performanceNow() - start < 500) {
  91147. this.appRef.tick();
  91148. numTicks++;
  91149. }
  91150. const end = performanceNow();
  91151. if (record && isProfilerAvailable) {
  91152. win.console.profileEnd(profileName);
  91153. }
  91154. const msPerTick = (end - start) / numTicks;
  91155. win.console.log(`ran ${numTicks} change detection cycles`);
  91156. win.console.log(`${msPerTick.toFixed(2)} ms per check`);
  91157. return new ChangeDetectionPerfRecord(msPerTick, numTicks);
  91158. }
  91159. }
  91160. function performanceNow() {
  91161. return win.performance && win.performance.now ? win.performance.now() : new Date().getTime();
  91162. }
  91163. /**
  91164. * @license
  91165. * Copyright Google LLC All Rights Reserved.
  91166. *
  91167. * Use of this source code is governed by an MIT-style license that can be
  91168. * found in the LICENSE file at https://angular.io/license
  91169. */
  91170. const PROFILER_GLOBAL_NAME = 'profiler';
  91171. /**
  91172. * Enabled Angular debug tools that are accessible via your browser's
  91173. * developer console.
  91174. *
  91175. * Usage:
  91176. *
  91177. * 1. Open developer console (e.g. in Chrome Ctrl + Shift + j)
  91178. * 1. Type `ng.` (usually the console will show auto-complete suggestion)
  91179. * 1. Try the change detection profiler `ng.profiler.timeChangeDetection()`
  91180. * then hit Enter.
  91181. *
  91182. * @publicApi
  91183. */
  91184. function enableDebugTools(ref) {
  91185. exportNgVar(PROFILER_GLOBAL_NAME, new AngularProfiler(ref));
  91186. return ref;
  91187. }
  91188. /**
  91189. * Disables Angular tools.
  91190. *
  91191. * @publicApi
  91192. */
  91193. function disableDebugTools() {
  91194. exportNgVar(PROFILER_GLOBAL_NAME, null);
  91195. }
  91196. /**
  91197. * @license
  91198. * Copyright Google LLC All Rights Reserved.
  91199. *
  91200. * Use of this source code is governed by an MIT-style license that can be
  91201. * found in the LICENSE file at https://angular.io/license
  91202. */
  91203. function escapeHtml(text) {
  91204. const escapedText = {
  91205. '&': '&a;',
  91206. '"': '&q;',
  91207. '\'': '&s;',
  91208. '<': '&l;',
  91209. '>': '&g;'
  91210. };
  91211. return text.replace(/[&"'<>]/g, s => escapedText[s]);
  91212. }
  91213. function unescapeHtml(text) {
  91214. const unescapedText = {
  91215. '&a;': '&',
  91216. '&q;': '"',
  91217. '&s;': '\'',
  91218. '&l;': '<',
  91219. '&g;': '>'
  91220. };
  91221. return text.replace(/&[^;]+;/g, s => unescapedText[s]);
  91222. }
  91223. /**
  91224. * Create a `StateKey<T>` that can be used to store value of type T with `TransferState`.
  91225. *
  91226. * Example:
  91227. *
  91228. * ```
  91229. * const COUNTER_KEY = makeStateKey<number>('counter');
  91230. * let value = 10;
  91231. *
  91232. * transferState.set(COUNTER_KEY, value);
  91233. * ```
  91234. *
  91235. * @publicApi
  91236. */
  91237. function makeStateKey(key) {
  91238. return key;
  91239. }
  91240. /**
  91241. * A key value store that is transferred from the application on the server side to the application
  91242. * on the client side.
  91243. *
  91244. * The `TransferState` is available as an injectable token.
  91245. * On the client, just inject this token using DI and use it, it will be lazily initialized.
  91246. * On the server it's already included if `renderApplication` function is used. Otherwise, import
  91247. * the `ServerTransferStateModule` module to make the `TransferState` available.
  91248. *
  91249. * The values in the store are serialized/deserialized using JSON.stringify/JSON.parse. So only
  91250. * boolean, number, string, null and non-class objects will be serialized and deserialized in a
  91251. * non-lossy manner.
  91252. *
  91253. * @publicApi
  91254. */
  91255. class TransferState {
  91256. constructor() {
  91257. this.store = {};
  91258. this.onSerializeCallbacks = {};
  91259. }
  91260. /**
  91261. * Get the value corresponding to a key. Return `defaultValue` if key is not found.
  91262. */
  91263. get(key, defaultValue) {
  91264. return this.store[key] !== undefined ? this.store[key] : defaultValue;
  91265. }
  91266. /**
  91267. * Set the value corresponding to a key.
  91268. */
  91269. set(key, value) {
  91270. this.store[key] = value;
  91271. }
  91272. /**
  91273. * Remove a key from the store.
  91274. */
  91275. remove(key) {
  91276. delete this.store[key];
  91277. }
  91278. /**
  91279. * Test whether a key exists in the store.
  91280. */
  91281. hasKey(key) {
  91282. return this.store.hasOwnProperty(key);
  91283. }
  91284. /**
  91285. * Indicates whether the state is empty.
  91286. */
  91287. get isEmpty() {
  91288. return Object.keys(this.store).length === 0;
  91289. }
  91290. /**
  91291. * Register a callback to provide the value for a key when `toJson` is called.
  91292. */
  91293. onSerialize(key, callback) {
  91294. this.onSerializeCallbacks[key] = callback;
  91295. }
  91296. /**
  91297. * Serialize the current state of the store to JSON.
  91298. */
  91299. toJson() {
  91300. // Call the onSerialize callbacks and put those values into the store.
  91301. for (const key in this.onSerializeCallbacks) {
  91302. if (this.onSerializeCallbacks.hasOwnProperty(key)) {
  91303. try {
  91304. this.store[key] = this.onSerializeCallbacks[key]();
  91305. } catch (e) {
  91306. console.warn('Exception in onSerialize callback: ', e);
  91307. }
  91308. }
  91309. }
  91310. return JSON.stringify(this.store);
  91311. }
  91312. }
  91313. TransferState.ɵfac = function TransferState_Factory(t) {
  91314. return new (t || TransferState)();
  91315. };
  91316. TransferState.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
  91317. token: TransferState,
  91318. factory: function () {
  91319. return (() => {
  91320. const doc = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.inject)(_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT);
  91321. const appId = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.APP_ID);
  91322. const state = new TransferState();
  91323. state.store = retrieveTransferredState(doc, appId);
  91324. return state;
  91325. })();
  91326. },
  91327. providedIn: 'root'
  91328. });
  91329. (function () {
  91330. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](TransferState, [{
  91331. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injectable,
  91332. args: [{
  91333. providedIn: 'root',
  91334. useFactory: () => {
  91335. const doc = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.inject)(_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT);
  91336. const appId = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.APP_ID);
  91337. const state = new TransferState();
  91338. state.store = retrieveTransferredState(doc, appId);
  91339. return state;
  91340. }
  91341. }]
  91342. }], null, null);
  91343. })();
  91344. function retrieveTransferredState(doc, appId) {
  91345. // Locate the script tag with the JSON data transferred from the server.
  91346. // The id of the script tag is set to the Angular appId + 'state'.
  91347. const script = doc.getElementById(appId + '-state');
  91348. let initialState = {};
  91349. if (script && script.textContent) {
  91350. try {
  91351. // Avoid using any here as it triggers lint errors in google3 (any is not allowed).
  91352. initialState = JSON.parse(unescapeHtml(script.textContent));
  91353. } catch (e) {
  91354. console.warn('Exception while restoring TransferState for app ' + appId, e);
  91355. }
  91356. }
  91357. return initialState;
  91358. }
  91359. /**
  91360. * NgModule to install on the client side while using the `TransferState` to transfer state from
  91361. * server to client.
  91362. *
  91363. * @publicApi
  91364. * @deprecated no longer needed, you can inject the `TransferState` in an app without providing
  91365. * this module.
  91366. */
  91367. class BrowserTransferStateModule {}
  91368. BrowserTransferStateModule.ɵfac = function BrowserTransferStateModule_Factory(t) {
  91369. return new (t || BrowserTransferStateModule)();
  91370. };
  91371. BrowserTransferStateModule.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({
  91372. type: BrowserTransferStateModule
  91373. });
  91374. BrowserTransferStateModule.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({});
  91375. (function () {
  91376. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](BrowserTransferStateModule, [{
  91377. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.NgModule,
  91378. args: [{}]
  91379. }], null, null);
  91380. })();
  91381. /**
  91382. * @license
  91383. * Copyright Google LLC All Rights Reserved.
  91384. *
  91385. * Use of this source code is governed by an MIT-style license that can be
  91386. * found in the LICENSE file at https://angular.io/license
  91387. */
  91388. /**
  91389. * Predicates for use with {@link DebugElement}'s query functions.
  91390. *
  91391. * @publicApi
  91392. */
  91393. class By {
  91394. /**
  91395. * Match all nodes.
  91396. *
  91397. * @usageNotes
  91398. * ### Example
  91399. *
  91400. * {@example platform-browser/dom/debug/ts/by/by.ts region='by_all'}
  91401. */
  91402. static all() {
  91403. return () => true;
  91404. }
  91405. /**
  91406. * Match elements by the given CSS selector.
  91407. *
  91408. * @usageNotes
  91409. * ### Example
  91410. *
  91411. * {@example platform-browser/dom/debug/ts/by/by.ts region='by_css'}
  91412. */
  91413. static css(selector) {
  91414. return debugElement => {
  91415. return debugElement.nativeElement != null ? elementMatches(debugElement.nativeElement, selector) : false;
  91416. };
  91417. }
  91418. /**
  91419. * Match nodes that have the given directive present.
  91420. *
  91421. * @usageNotes
  91422. * ### Example
  91423. *
  91424. * {@example platform-browser/dom/debug/ts/by/by.ts region='by_directive'}
  91425. */
  91426. static directive(type) {
  91427. return debugNode => debugNode.providerTokens.indexOf(type) !== -1;
  91428. }
  91429. }
  91430. function elementMatches(n, selector) {
  91431. if ((0,_angular_common__WEBPACK_IMPORTED_MODULE_0__["ɵgetDOM"])().isElementNode(n)) {
  91432. return n.matches && n.matches(selector) || n.msMatchesSelector && n.msMatchesSelector(selector) || n.webkitMatchesSelector && n.webkitMatchesSelector(selector);
  91433. }
  91434. return false;
  91435. }
  91436. /**
  91437. * @license
  91438. * Copyright Google LLC All Rights Reserved.
  91439. *
  91440. * Use of this source code is governed by an MIT-style license that can be
  91441. * found in the LICENSE file at https://angular.io/license
  91442. */
  91443. /**
  91444. * Supported HammerJS recognizer event names.
  91445. */
  91446. const EVENT_NAMES = {
  91447. // pan
  91448. 'pan': true,
  91449. 'panstart': true,
  91450. 'panmove': true,
  91451. 'panend': true,
  91452. 'pancancel': true,
  91453. 'panleft': true,
  91454. 'panright': true,
  91455. 'panup': true,
  91456. 'pandown': true,
  91457. // pinch
  91458. 'pinch': true,
  91459. 'pinchstart': true,
  91460. 'pinchmove': true,
  91461. 'pinchend': true,
  91462. 'pinchcancel': true,
  91463. 'pinchin': true,
  91464. 'pinchout': true,
  91465. // press
  91466. 'press': true,
  91467. 'pressup': true,
  91468. // rotate
  91469. 'rotate': true,
  91470. 'rotatestart': true,
  91471. 'rotatemove': true,
  91472. 'rotateend': true,
  91473. 'rotatecancel': true,
  91474. // swipe
  91475. 'swipe': true,
  91476. 'swipeleft': true,
  91477. 'swiperight': true,
  91478. 'swipeup': true,
  91479. 'swipedown': true,
  91480. // tap
  91481. 'tap': true,
  91482. 'doubletap': true
  91483. };
  91484. /**
  91485. * DI token for providing [HammerJS](https://hammerjs.github.io/) support to Angular.
  91486. * @see `HammerGestureConfig`
  91487. *
  91488. * @ngModule HammerModule
  91489. * @publicApi
  91490. */
  91491. const HAMMER_GESTURE_CONFIG = new _angular_core__WEBPACK_IMPORTED_MODULE_1__.InjectionToken('HammerGestureConfig');
  91492. /**
  91493. * Injection token used to provide a {@link HammerLoader} to Angular.
  91494. *
  91495. * @publicApi
  91496. */
  91497. const HAMMER_LOADER = new _angular_core__WEBPACK_IMPORTED_MODULE_1__.InjectionToken('HammerLoader');
  91498. /**
  91499. * An injectable [HammerJS Manager](https://hammerjs.github.io/api/#hammermanager)
  91500. * for gesture recognition. Configures specific event recognition.
  91501. * @publicApi
  91502. */
  91503. class HammerGestureConfig {
  91504. constructor() {
  91505. /**
  91506. * A set of supported event names for gestures to be used in Angular.
  91507. * Angular supports all built-in recognizers, as listed in
  91508. * [HammerJS documentation](https://hammerjs.github.io/).
  91509. */
  91510. this.events = [];
  91511. /**
  91512. * Maps gesture event names to a set of configuration options
  91513. * that specify overrides to the default values for specific properties.
  91514. *
  91515. * The key is a supported event name to be configured,
  91516. * and the options object contains a set of properties, with override values
  91517. * to be applied to the named recognizer event.
  91518. * For example, to disable recognition of the rotate event, specify
  91519. * `{"rotate": {"enable": false}}`.
  91520. *
  91521. * Properties that are not present take the HammerJS default values.
  91522. * For information about which properties are supported for which events,
  91523. * and their allowed and default values, see
  91524. * [HammerJS documentation](https://hammerjs.github.io/).
  91525. *
  91526. */
  91527. this.overrides = {};
  91528. }
  91529. /**
  91530. * Creates a [HammerJS Manager](https://hammerjs.github.io/api/#hammermanager)
  91531. * and attaches it to a given HTML element.
  91532. * @param element The element that will recognize gestures.
  91533. * @returns A HammerJS event-manager object.
  91534. */
  91535. buildHammer(element) {
  91536. const mc = new Hammer(element, this.options);
  91537. mc.get('pinch').set({
  91538. enable: true
  91539. });
  91540. mc.get('rotate').set({
  91541. enable: true
  91542. });
  91543. for (const eventName in this.overrides) {
  91544. mc.get(eventName).set(this.overrides[eventName]);
  91545. }
  91546. return mc;
  91547. }
  91548. }
  91549. HammerGestureConfig.ɵfac = function HammerGestureConfig_Factory(t) {
  91550. return new (t || HammerGestureConfig)();
  91551. };
  91552. HammerGestureConfig.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
  91553. token: HammerGestureConfig,
  91554. factory: HammerGestureConfig.ɵfac
  91555. });
  91556. (function () {
  91557. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](HammerGestureConfig, [{
  91558. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injectable
  91559. }], null, null);
  91560. })();
  91561. /**
  91562. * Event plugin that adds Hammer support to an application.
  91563. *
  91564. * @ngModule HammerModule
  91565. */
  91566. class HammerGesturesPlugin extends EventManagerPlugin {
  91567. constructor(doc, _config, console, loader) {
  91568. super(doc);
  91569. this._config = _config;
  91570. this.console = console;
  91571. this.loader = loader;
  91572. this._loaderPromise = null;
  91573. }
  91574. supports(eventName) {
  91575. if (!EVENT_NAMES.hasOwnProperty(eventName.toLowerCase()) && !this.isCustomEvent(eventName)) {
  91576. return false;
  91577. }
  91578. if (!window.Hammer && !this.loader) {
  91579. if (typeof ngDevMode === 'undefined' || ngDevMode) {
  91580. this.console.warn(`The "${eventName}" event cannot be bound because Hammer.JS is not ` + `loaded and no custom loader has been specified.`);
  91581. }
  91582. return false;
  91583. }
  91584. return true;
  91585. }
  91586. addEventListener(element, eventName, handler) {
  91587. const zone = this.manager.getZone();
  91588. eventName = eventName.toLowerCase(); // If Hammer is not present but a loader is specified, we defer adding the event listener
  91589. // until Hammer is loaded.
  91590. if (!window.Hammer && this.loader) {
  91591. this._loaderPromise = this._loaderPromise || zone.runOutsideAngular(() => this.loader()); // This `addEventListener` method returns a function to remove the added listener.
  91592. // Until Hammer is loaded, the returned function needs to *cancel* the registration rather
  91593. // than remove anything.
  91594. let cancelRegistration = false;
  91595. let deregister = () => {
  91596. cancelRegistration = true;
  91597. };
  91598. zone.runOutsideAngular(() => this._loaderPromise.then(() => {
  91599. // If Hammer isn't actually loaded when the custom loader resolves, give up.
  91600. if (!window.Hammer) {
  91601. if (typeof ngDevMode === 'undefined' || ngDevMode) {
  91602. this.console.warn(`The custom HAMMER_LOADER completed, but Hammer.JS is not present.`);
  91603. }
  91604. deregister = () => {};
  91605. return;
  91606. }
  91607. if (!cancelRegistration) {
  91608. // Now that Hammer is loaded and the listener is being loaded for real,
  91609. // the deregistration function changes from canceling registration to
  91610. // removal.
  91611. deregister = this.addEventListener(element, eventName, handler);
  91612. }
  91613. }).catch(() => {
  91614. if (typeof ngDevMode === 'undefined' || ngDevMode) {
  91615. this.console.warn(`The "${eventName}" event cannot be bound because the custom ` + `Hammer.JS loader failed.`);
  91616. }
  91617. deregister = () => {};
  91618. })); // Return a function that *executes* `deregister` (and not `deregister` itself) so that we
  91619. // can change the behavior of `deregister` once the listener is added. Using a closure in
  91620. // this way allows us to avoid any additional data structures to track listener removal.
  91621. return () => {
  91622. deregister();
  91623. };
  91624. }
  91625. return zone.runOutsideAngular(() => {
  91626. // Creating the manager bind events, must be done outside of angular
  91627. const mc = this._config.buildHammer(element);
  91628. const callback = function (eventObj) {
  91629. zone.runGuarded(function () {
  91630. handler(eventObj);
  91631. });
  91632. };
  91633. mc.on(eventName, callback);
  91634. return () => {
  91635. mc.off(eventName, callback); // destroy mc to prevent memory leak
  91636. if (typeof mc.destroy === 'function') {
  91637. mc.destroy();
  91638. }
  91639. };
  91640. });
  91641. }
  91642. isCustomEvent(eventName) {
  91643. return this._config.events.indexOf(eventName) > -1;
  91644. }
  91645. }
  91646. HammerGesturesPlugin.ɵfac = function HammerGesturesPlugin_Factory(t) {
  91647. return new (t || HammerGesturesPlugin)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](HAMMER_GESTURE_CONFIG), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵConsole"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](HAMMER_LOADER, 8));
  91648. };
  91649. HammerGesturesPlugin.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
  91650. token: HammerGesturesPlugin,
  91651. factory: HammerGesturesPlugin.ɵfac
  91652. });
  91653. (function () {
  91654. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](HammerGesturesPlugin, [{
  91655. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injectable
  91656. }], function () {
  91657. return [{
  91658. type: undefined,
  91659. decorators: [{
  91660. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Inject,
  91661. args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT]
  91662. }]
  91663. }, {
  91664. type: HammerGestureConfig,
  91665. decorators: [{
  91666. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Inject,
  91667. args: [HAMMER_GESTURE_CONFIG]
  91668. }]
  91669. }, {
  91670. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵConsole"]
  91671. }, {
  91672. type: undefined,
  91673. decorators: [{
  91674. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Optional
  91675. }, {
  91676. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Inject,
  91677. args: [HAMMER_LOADER]
  91678. }]
  91679. }];
  91680. }, null);
  91681. })();
  91682. /**
  91683. * Adds support for HammerJS.
  91684. *
  91685. * Import this module at the root of your application so that Angular can work with
  91686. * HammerJS to detect gesture events.
  91687. *
  91688. * Note that applications still need to include the HammerJS script itself. This module
  91689. * simply sets up the coordination layer between HammerJS and Angular's EventManager.
  91690. *
  91691. * @publicApi
  91692. */
  91693. class HammerModule {}
  91694. HammerModule.ɵfac = function HammerModule_Factory(t) {
  91695. return new (t || HammerModule)();
  91696. };
  91697. HammerModule.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({
  91698. type: HammerModule
  91699. });
  91700. HammerModule.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({
  91701. providers: [{
  91702. provide: EVENT_MANAGER_PLUGINS,
  91703. useClass: HammerGesturesPlugin,
  91704. multi: true,
  91705. deps: [_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT, HAMMER_GESTURE_CONFIG, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵConsole"], [new _angular_core__WEBPACK_IMPORTED_MODULE_1__.Optional(), HAMMER_LOADER]]
  91706. }, {
  91707. provide: HAMMER_GESTURE_CONFIG,
  91708. useClass: HammerGestureConfig,
  91709. deps: []
  91710. }]
  91711. });
  91712. (function () {
  91713. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](HammerModule, [{
  91714. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.NgModule,
  91715. args: [{
  91716. providers: [{
  91717. provide: EVENT_MANAGER_PLUGINS,
  91718. useClass: HammerGesturesPlugin,
  91719. multi: true,
  91720. deps: [_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT, HAMMER_GESTURE_CONFIG, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵConsole"], [new _angular_core__WEBPACK_IMPORTED_MODULE_1__.Optional(), HAMMER_LOADER]]
  91721. }, {
  91722. provide: HAMMER_GESTURE_CONFIG,
  91723. useClass: HammerGestureConfig,
  91724. deps: []
  91725. }]
  91726. }]
  91727. }], null, null);
  91728. })();
  91729. /**
  91730. * @license
  91731. * Copyright Google LLC All Rights Reserved.
  91732. *
  91733. * Use of this source code is governed by an MIT-style license that can be
  91734. * found in the LICENSE file at https://angular.io/license
  91735. */
  91736. /**
  91737. * DomSanitizer helps preventing Cross Site Scripting Security bugs (XSS) by sanitizing
  91738. * values to be safe to use in the different DOM contexts.
  91739. *
  91740. * For example, when binding a URL in an `<a [href]="someValue">` hyperlink, `someValue` will be
  91741. * sanitized so that an attacker cannot inject e.g. a `javascript:` URL that would execute code on
  91742. * the website.
  91743. *
  91744. * In specific situations, it might be necessary to disable sanitization, for example if the
  91745. * application genuinely needs to produce a `javascript:` style link with a dynamic value in it.
  91746. * Users can bypass security by constructing a value with one of the `bypassSecurityTrust...`
  91747. * methods, and then binding to that value from the template.
  91748. *
  91749. * These situations should be very rare, and extraordinary care must be taken to avoid creating a
  91750. * Cross Site Scripting (XSS) security bug!
  91751. *
  91752. * When using `bypassSecurityTrust...`, make sure to call the method as early as possible and as
  91753. * close as possible to the source of the value, to make it easy to verify no security bug is
  91754. * created by its use.
  91755. *
  91756. * It is not required (and not recommended) to bypass security if the value is safe, e.g. a URL that
  91757. * does not start with a suspicious protocol, or an HTML snippet that does not contain dangerous
  91758. * code. The sanitizer leaves safe values intact.
  91759. *
  91760. * @security Calling any of the `bypassSecurityTrust...` APIs disables Angular's built-in
  91761. * sanitization for the value passed in. Carefully check and audit all values and code paths going
  91762. * into this call. Make sure any user data is appropriately escaped for this security context.
  91763. * For more detail, see the [Security Guide](https://g.co/ng/security).
  91764. *
  91765. * @publicApi
  91766. */
  91767. class DomSanitizer {}
  91768. DomSanitizer.ɵfac = function DomSanitizer_Factory(t) {
  91769. return new (t || DomSanitizer)();
  91770. };
  91771. DomSanitizer.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
  91772. token: DomSanitizer,
  91773. factory: function DomSanitizer_Factory(t) {
  91774. let r = null;
  91775. if (t) {
  91776. r = new (t || DomSanitizer)();
  91777. } else {
  91778. r = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](DomSanitizerImpl);
  91779. }
  91780. return r;
  91781. },
  91782. providedIn: 'root'
  91783. });
  91784. (function () {
  91785. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](DomSanitizer, [{
  91786. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injectable,
  91787. args: [{
  91788. providedIn: 'root',
  91789. useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(() => DomSanitizerImpl)
  91790. }]
  91791. }], null, null);
  91792. })();
  91793. function domSanitizerImplFactory(injector) {
  91794. return new DomSanitizerImpl(injector.get(_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT));
  91795. }
  91796. class DomSanitizerImpl extends DomSanitizer {
  91797. constructor(_doc) {
  91798. super();
  91799. this._doc = _doc;
  91800. }
  91801. sanitize(ctx, value) {
  91802. if (value == null) return null;
  91803. switch (ctx) {
  91804. case _angular_core__WEBPACK_IMPORTED_MODULE_1__.SecurityContext.NONE:
  91805. return value;
  91806. case _angular_core__WEBPACK_IMPORTED_MODULE_1__.SecurityContext.HTML:
  91807. if ((0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵallowSanitizationBypassAndThrow"])(value, "HTML"
  91808. /* BypassType.Html */
  91809. )) {
  91810. return (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵunwrapSafeValue"])(value);
  91811. }
  91812. return (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵ_sanitizeHtml"])(this._doc, String(value)).toString();
  91813. case _angular_core__WEBPACK_IMPORTED_MODULE_1__.SecurityContext.STYLE:
  91814. if ((0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵallowSanitizationBypassAndThrow"])(value, "Style"
  91815. /* BypassType.Style */
  91816. )) {
  91817. return (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵunwrapSafeValue"])(value);
  91818. }
  91819. return value;
  91820. case _angular_core__WEBPACK_IMPORTED_MODULE_1__.SecurityContext.SCRIPT:
  91821. if ((0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵallowSanitizationBypassAndThrow"])(value, "Script"
  91822. /* BypassType.Script */
  91823. )) {
  91824. return (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵunwrapSafeValue"])(value);
  91825. }
  91826. throw new Error('unsafe value used in a script context');
  91827. case _angular_core__WEBPACK_IMPORTED_MODULE_1__.SecurityContext.URL:
  91828. if ((0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵallowSanitizationBypassAndThrow"])(value, "URL"
  91829. /* BypassType.Url */
  91830. )) {
  91831. return (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵunwrapSafeValue"])(value);
  91832. }
  91833. return (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵ_sanitizeUrl"])(String(value));
  91834. case _angular_core__WEBPACK_IMPORTED_MODULE_1__.SecurityContext.RESOURCE_URL:
  91835. if ((0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵallowSanitizationBypassAndThrow"])(value, "ResourceURL"
  91836. /* BypassType.ResourceUrl */
  91837. )) {
  91838. return (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵunwrapSafeValue"])(value);
  91839. }
  91840. throw new Error('unsafe value used in a resource URL context (see https://g.co/ng/security#xss)');
  91841. default:
  91842. throw new Error(`Unexpected SecurityContext ${ctx} (see https://g.co/ng/security#xss)`);
  91843. }
  91844. }
  91845. bypassSecurityTrustHtml(value) {
  91846. return (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵbypassSanitizationTrustHtml"])(value);
  91847. }
  91848. bypassSecurityTrustStyle(value) {
  91849. return (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵbypassSanitizationTrustStyle"])(value);
  91850. }
  91851. bypassSecurityTrustScript(value) {
  91852. return (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵbypassSanitizationTrustScript"])(value);
  91853. }
  91854. bypassSecurityTrustUrl(value) {
  91855. return (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵbypassSanitizationTrustUrl"])(value);
  91856. }
  91857. bypassSecurityTrustResourceUrl(value) {
  91858. return (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵbypassSanitizationTrustResourceUrl"])(value);
  91859. }
  91860. }
  91861. DomSanitizerImpl.ɵfac = function DomSanitizerImpl_Factory(t) {
  91862. return new (t || DomSanitizerImpl)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT));
  91863. };
  91864. DomSanitizerImpl.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
  91865. token: DomSanitizerImpl,
  91866. factory: function DomSanitizerImpl_Factory(t) {
  91867. let r = null;
  91868. if (t) {
  91869. r = new t();
  91870. } else {
  91871. r = domSanitizerImplFactory(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.Injector));
  91872. }
  91873. return r;
  91874. },
  91875. providedIn: 'root'
  91876. });
  91877. (function () {
  91878. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](DomSanitizerImpl, [{
  91879. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injectable,
  91880. args: [{
  91881. providedIn: 'root',
  91882. useFactory: domSanitizerImplFactory,
  91883. deps: [_angular_core__WEBPACK_IMPORTED_MODULE_1__.Injector]
  91884. }]
  91885. }], function () {
  91886. return [{
  91887. type: undefined,
  91888. decorators: [{
  91889. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Inject,
  91890. args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT]
  91891. }]
  91892. }];
  91893. }, null);
  91894. })();
  91895. /**
  91896. * @license
  91897. * Copyright Google LLC All Rights Reserved.
  91898. *
  91899. * Use of this source code is governed by an MIT-style license that can be
  91900. * found in the LICENSE file at https://angular.io/license
  91901. */
  91902. /**
  91903. * @license
  91904. * Copyright Google LLC All Rights Reserved.
  91905. *
  91906. * Use of this source code is governed by an MIT-style license that can be
  91907. * found in the LICENSE file at https://angular.io/license
  91908. */
  91909. /**
  91910. * @publicApi
  91911. */
  91912. const VERSION = new _angular_core__WEBPACK_IMPORTED_MODULE_1__.Version('14.2.7');
  91913. /**
  91914. * @license
  91915. * Copyright Google LLC All Rights Reserved.
  91916. *
  91917. * Use of this source code is governed by an MIT-style license that can be
  91918. * found in the LICENSE file at https://angular.io/license
  91919. */
  91920. /**
  91921. * @license
  91922. * Copyright Google LLC All Rights Reserved.
  91923. *
  91924. * Use of this source code is governed by an MIT-style license that can be
  91925. * found in the LICENSE file at https://angular.io/license
  91926. */
  91927. // This file only reexports content of the `src` folder. Keep it that way.
  91928. /**
  91929. * @license
  91930. * Copyright Google LLC All Rights Reserved.
  91931. *
  91932. * Use of this source code is governed by an MIT-style license that can be
  91933. * found in the LICENSE file at https://angular.io/license
  91934. */
  91935. /**
  91936. * Generated bundle index. Do not edit.
  91937. */
  91938. /***/ }),
  91939. /***/ 2816:
  91940. /*!**********************************************************!*\
  91941. !*** ./node_modules/@angular/router/fesm2015/router.mjs ***!
  91942. \**********************************************************/
  91943. /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
  91944. __webpack_require__.r(__webpack_exports__);
  91945. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  91946. /* harmony export */ "ActivatedRoute": () => (/* binding */ ActivatedRoute),
  91947. /* harmony export */ "ActivatedRouteSnapshot": () => (/* binding */ ActivatedRouteSnapshot),
  91948. /* harmony export */ "ActivationEnd": () => (/* binding */ ActivationEnd),
  91949. /* harmony export */ "ActivationStart": () => (/* binding */ ActivationStart),
  91950. /* harmony export */ "BaseRouteReuseStrategy": () => (/* binding */ BaseRouteReuseStrategy),
  91951. /* harmony export */ "ChildActivationEnd": () => (/* binding */ ChildActivationEnd),
  91952. /* harmony export */ "ChildActivationStart": () => (/* binding */ ChildActivationStart),
  91953. /* harmony export */ "ChildrenOutletContexts": () => (/* binding */ ChildrenOutletContexts),
  91954. /* harmony export */ "DefaultTitleStrategy": () => (/* binding */ DefaultTitleStrategy),
  91955. /* harmony export */ "DefaultUrlSerializer": () => (/* binding */ DefaultUrlSerializer),
  91956. /* harmony export */ "GuardsCheckEnd": () => (/* binding */ GuardsCheckEnd),
  91957. /* harmony export */ "GuardsCheckStart": () => (/* binding */ GuardsCheckStart),
  91958. /* harmony export */ "NavigationCancel": () => (/* binding */ NavigationCancel),
  91959. /* harmony export */ "NavigationEnd": () => (/* binding */ NavigationEnd),
  91960. /* harmony export */ "NavigationError": () => (/* binding */ NavigationError),
  91961. /* harmony export */ "NavigationStart": () => (/* binding */ NavigationStart),
  91962. /* harmony export */ "NoPreloading": () => (/* binding */ NoPreloading),
  91963. /* harmony export */ "OutletContext": () => (/* binding */ OutletContext),
  91964. /* harmony export */ "PRIMARY_OUTLET": () => (/* binding */ PRIMARY_OUTLET),
  91965. /* harmony export */ "PreloadAllModules": () => (/* binding */ PreloadAllModules),
  91966. /* harmony export */ "PreloadingStrategy": () => (/* binding */ PreloadingStrategy),
  91967. /* harmony export */ "ROUTER_CONFIGURATION": () => (/* binding */ ROUTER_CONFIGURATION),
  91968. /* harmony export */ "ROUTER_INITIALIZER": () => (/* binding */ ROUTER_INITIALIZER),
  91969. /* harmony export */ "ROUTES": () => (/* binding */ ROUTES),
  91970. /* harmony export */ "ResolveEnd": () => (/* binding */ ResolveEnd),
  91971. /* harmony export */ "ResolveStart": () => (/* binding */ ResolveStart),
  91972. /* harmony export */ "RouteConfigLoadEnd": () => (/* binding */ RouteConfigLoadEnd),
  91973. /* harmony export */ "RouteConfigLoadStart": () => (/* binding */ RouteConfigLoadStart),
  91974. /* harmony export */ "RouteReuseStrategy": () => (/* binding */ RouteReuseStrategy),
  91975. /* harmony export */ "Router": () => (/* binding */ Router),
  91976. /* harmony export */ "RouterEvent": () => (/* binding */ RouterEvent),
  91977. /* harmony export */ "RouterLink": () => (/* binding */ RouterLink),
  91978. /* harmony export */ "RouterLinkActive": () => (/* binding */ RouterLinkActive),
  91979. /* harmony export */ "RouterLinkWithHref": () => (/* binding */ RouterLinkWithHref),
  91980. /* harmony export */ "RouterModule": () => (/* binding */ RouterModule),
  91981. /* harmony export */ "RouterOutlet": () => (/* binding */ RouterOutlet),
  91982. /* harmony export */ "RouterPreloader": () => (/* binding */ RouterPreloader),
  91983. /* harmony export */ "RouterState": () => (/* binding */ RouterState),
  91984. /* harmony export */ "RouterStateSnapshot": () => (/* binding */ RouterStateSnapshot),
  91985. /* harmony export */ "RoutesRecognized": () => (/* binding */ RoutesRecognized),
  91986. /* harmony export */ "Scroll": () => (/* binding */ Scroll),
  91987. /* harmony export */ "TitleStrategy": () => (/* binding */ TitleStrategy),
  91988. /* harmony export */ "UrlHandlingStrategy": () => (/* binding */ UrlHandlingStrategy),
  91989. /* harmony export */ "UrlSegment": () => (/* binding */ UrlSegment),
  91990. /* harmony export */ "UrlSegmentGroup": () => (/* binding */ UrlSegmentGroup),
  91991. /* harmony export */ "UrlSerializer": () => (/* binding */ UrlSerializer),
  91992. /* harmony export */ "UrlTree": () => (/* binding */ UrlTree),
  91993. /* harmony export */ "VERSION": () => (/* binding */ VERSION),
  91994. /* harmony export */ "convertToParamMap": () => (/* binding */ convertToParamMap),
  91995. /* harmony export */ "createUrlTreeFromSnapshot": () => (/* binding */ createUrlTreeFromSnapshot),
  91996. /* harmony export */ "defaultUrlMatcher": () => (/* binding */ defaultUrlMatcher),
  91997. /* harmony export */ "provideRouter": () => (/* binding */ provideRouter),
  91998. /* harmony export */ "provideRoutes": () => (/* binding */ provideRoutes),
  91999. /* harmony export */ "withDebugTracing": () => (/* binding */ withDebugTracing),
  92000. /* harmony export */ "withDisabledInitialNavigation": () => (/* binding */ withDisabledInitialNavigation),
  92001. /* harmony export */ "withEnabledBlockingInitialNavigation": () => (/* binding */ withEnabledBlockingInitialNavigation),
  92002. /* harmony export */ "withInMemoryScrolling": () => (/* binding */ withInMemoryScrolling),
  92003. /* harmony export */ "withPreloading": () => (/* binding */ withPreloading),
  92004. /* harmony export */ "withRouterConfig": () => (/* binding */ withRouterConfig),
  92005. /* harmony export */ "ɵEmptyOutletComponent": () => (/* binding */ ɵEmptyOutletComponent),
  92006. /* harmony export */ "ɵROUTER_PROVIDERS": () => (/* binding */ ROUTER_PROVIDERS),
  92007. /* harmony export */ "ɵassignExtraOptionsToRouter": () => (/* binding */ assignExtraOptionsToRouter),
  92008. /* harmony export */ "ɵflatten": () => (/* binding */ flatten),
  92009. /* harmony export */ "ɵwithPreloading": () => (/* binding */ withPreloading)
  92010. /* harmony export */ });
  92011. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 3184);
  92012. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ 4383);
  92013. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ 4139);
  92014. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs */ 4505);
  92015. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rxjs */ 213);
  92016. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! rxjs */ 9193);
  92017. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! rxjs */ 5828);
  92018. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! rxjs */ 2160);
  92019. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! rxjs */ 6800);
  92020. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! rxjs */ 6587);
  92021. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! rxjs */ 2378);
  92022. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! rxjs */ 6439);
  92023. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! rxjs */ 4483);
  92024. /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! rxjs */ 2218);
  92025. /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! @angular/common */ 6362);
  92026. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ 6942);
  92027. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rxjs/operators */ 9095);
  92028. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! rxjs/operators */ 3910);
  92029. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! rxjs/operators */ 5722);
  92030. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! rxjs/operators */ 9151);
  92031. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! rxjs/operators */ 522);
  92032. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! rxjs/operators */ 5670);
  92033. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! rxjs/operators */ 1133);
  92034. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! rxjs/operators */ 8759);
  92035. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! rxjs/operators */ 7418);
  92036. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! rxjs/operators */ 2647);
  92037. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! rxjs/operators */ 5690);
  92038. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! rxjs/operators */ 5050);
  92039. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! rxjs/operators */ 9701);
  92040. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! rxjs/operators */ 7760);
  92041. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! rxjs/operators */ 9361);
  92042. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! rxjs/operators */ 4661);
  92043. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! rxjs/operators */ 8331);
  92044. /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! rxjs/operators */ 6675);
  92045. /* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! @angular/platform-browser */ 318);
  92046. /**
  92047. * @license Angular v14.2.7
  92048. * (c) 2010-2022 Google LLC. https://angular.io/
  92049. * License: MIT
  92050. */
  92051. /**
  92052. * @license
  92053. * Copyright Google LLC All Rights Reserved.
  92054. *
  92055. * Use of this source code is governed by an MIT-style license that can be
  92056. * found in the LICENSE file at https://angular.io/license
  92057. */
  92058. /**
  92059. * The primary routing outlet.
  92060. *
  92061. * @publicApi
  92062. */
  92063. const PRIMARY_OUTLET = 'primary';
  92064. /**
  92065. * A private symbol used to store the value of `Route.title` inside the `Route.data` if it is a
  92066. * static string or `Route.resolve` if anything else. This allows us to reuse the existing route
  92067. * data/resolvers to support the title feature without new instrumentation in the `Router` pipeline.
  92068. */
  92069. const RouteTitleKey = Symbol('RouteTitle');
  92070. class ParamsAsMap {
  92071. constructor(params) {
  92072. this.params = params || {};
  92073. }
  92074. has(name) {
  92075. return Object.prototype.hasOwnProperty.call(this.params, name);
  92076. }
  92077. get(name) {
  92078. if (this.has(name)) {
  92079. const v = this.params[name];
  92080. return Array.isArray(v) ? v[0] : v;
  92081. }
  92082. return null;
  92083. }
  92084. getAll(name) {
  92085. if (this.has(name)) {
  92086. const v = this.params[name];
  92087. return Array.isArray(v) ? v : [v];
  92088. }
  92089. return [];
  92090. }
  92091. get keys() {
  92092. return Object.keys(this.params);
  92093. }
  92094. }
  92095. /**
  92096. * Converts a `Params` instance to a `ParamMap`.
  92097. * @param params The instance to convert.
  92098. * @returns The new map instance.
  92099. *
  92100. * @publicApi
  92101. */
  92102. function convertToParamMap(params) {
  92103. return new ParamsAsMap(params);
  92104. }
  92105. /**
  92106. * Matches the route configuration (`route`) against the actual URL (`segments`).
  92107. *
  92108. * When no matcher is defined on a `Route`, this is the matcher used by the Router by default.
  92109. *
  92110. * @param segments The remaining unmatched segments in the current navigation
  92111. * @param segmentGroup The current segment group being matched
  92112. * @param route The `Route` to match against.
  92113. *
  92114. * @see UrlMatchResult
  92115. * @see Route
  92116. *
  92117. * @returns The resulting match information or `null` if the `route` should not match.
  92118. * @publicApi
  92119. */
  92120. function defaultUrlMatcher(segments, segmentGroup, route) {
  92121. const parts = route.path.split('/');
  92122. if (parts.length > segments.length) {
  92123. // The actual URL is shorter than the config, no match
  92124. return null;
  92125. }
  92126. if (route.pathMatch === 'full' && (segmentGroup.hasChildren() || parts.length < segments.length)) {
  92127. // The config is longer than the actual URL but we are looking for a full match, return null
  92128. return null;
  92129. }
  92130. const posParams = {}; // Check each config part against the actual URL
  92131. for (let index = 0; index < parts.length; index++) {
  92132. const part = parts[index];
  92133. const segment = segments[index];
  92134. const isParameter = part.startsWith(':');
  92135. if (isParameter) {
  92136. posParams[part.substring(1)] = segment;
  92137. } else if (part !== segment.path) {
  92138. // The actual URL part does not match the config, no match
  92139. return null;
  92140. }
  92141. }
  92142. return {
  92143. consumed: segments.slice(0, parts.length),
  92144. posParams
  92145. };
  92146. }
  92147. /**
  92148. * @license
  92149. * Copyright Google LLC All Rights Reserved.
  92150. *
  92151. * Use of this source code is governed by an MIT-style license that can be
  92152. * found in the LICENSE file at https://angular.io/license
  92153. */
  92154. function shallowEqualArrays(a, b) {
  92155. if (a.length !== b.length) return false;
  92156. for (let i = 0; i < a.length; ++i) {
  92157. if (!shallowEqual(a[i], b[i])) return false;
  92158. }
  92159. return true;
  92160. }
  92161. function shallowEqual(a, b) {
  92162. // While `undefined` should never be possible, it would sometimes be the case in IE 11
  92163. // and pre-chromium Edge. The check below accounts for this edge case.
  92164. const k1 = a ? Object.keys(a) : undefined;
  92165. const k2 = b ? Object.keys(b) : undefined;
  92166. if (!k1 || !k2 || k1.length != k2.length) {
  92167. return false;
  92168. }
  92169. let key;
  92170. for (let i = 0; i < k1.length; i++) {
  92171. key = k1[i];
  92172. if (!equalArraysOrString(a[key], b[key])) {
  92173. return false;
  92174. }
  92175. }
  92176. return true;
  92177. }
  92178. /**
  92179. * Test equality for arrays of strings or a string.
  92180. */
  92181. function equalArraysOrString(a, b) {
  92182. if (Array.isArray(a) && Array.isArray(b)) {
  92183. if (a.length !== b.length) return false;
  92184. const aSorted = [...a].sort();
  92185. const bSorted = [...b].sort();
  92186. return aSorted.every((val, index) => bSorted[index] === val);
  92187. } else {
  92188. return a === b;
  92189. }
  92190. }
  92191. /**
  92192. * Flattens single-level nested arrays.
  92193. */
  92194. function flatten(arr) {
  92195. return Array.prototype.concat.apply([], arr);
  92196. }
  92197. /**
  92198. * Return the last element of an array.
  92199. */
  92200. function last(a) {
  92201. return a.length > 0 ? a[a.length - 1] : null;
  92202. }
  92203. /**
  92204. * Verifys all booleans in an array are `true`.
  92205. */
  92206. function and(bools) {
  92207. return !bools.some(v => !v);
  92208. }
  92209. function forEach(map, callback) {
  92210. for (const prop in map) {
  92211. if (map.hasOwnProperty(prop)) {
  92212. callback(map[prop], prop);
  92213. }
  92214. }
  92215. }
  92216. function wrapIntoObservable(value) {
  92217. if ((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵisObservable"])(value)) {
  92218. return value;
  92219. }
  92220. if ((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵisPromise"])(value)) {
  92221. // Use `Promise.resolve()` to wrap promise-like instances.
  92222. // Required ie when a Resolver returns a AngularJS `$q` promise to correctly trigger the
  92223. // change detection.
  92224. return (0,rxjs__WEBPACK_IMPORTED_MODULE_1__.from)(Promise.resolve(value));
  92225. }
  92226. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(value);
  92227. }
  92228. /**
  92229. * @license
  92230. * Copyright Google LLC All Rights Reserved.
  92231. *
  92232. * Use of this source code is governed by an MIT-style license that can be
  92233. * found in the LICENSE file at https://angular.io/license
  92234. */
  92235. const NG_DEV_MODE$9 = typeof ngDevMode === 'undefined' || ngDevMode;
  92236. function createEmptyUrlTree() {
  92237. return new UrlTree(new UrlSegmentGroup([], {}), {}, null);
  92238. }
  92239. const pathCompareMap = {
  92240. 'exact': equalSegmentGroups,
  92241. 'subset': containsSegmentGroup
  92242. };
  92243. const paramCompareMap = {
  92244. 'exact': equalParams,
  92245. 'subset': containsParams,
  92246. 'ignored': () => true
  92247. };
  92248. function containsTree(container, containee, options) {
  92249. return pathCompareMap[options.paths](container.root, containee.root, options.matrixParams) && paramCompareMap[options.queryParams](container.queryParams, containee.queryParams) && !(options.fragment === 'exact' && container.fragment !== containee.fragment);
  92250. }
  92251. function equalParams(container, containee) {
  92252. // TODO: This does not handle array params correctly.
  92253. return shallowEqual(container, containee);
  92254. }
  92255. function equalSegmentGroups(container, containee, matrixParams) {
  92256. if (!equalPath(container.segments, containee.segments)) return false;
  92257. if (!matrixParamsMatch(container.segments, containee.segments, matrixParams)) {
  92258. return false;
  92259. }
  92260. if (container.numberOfChildren !== containee.numberOfChildren) return false;
  92261. for (const c in containee.children) {
  92262. if (!container.children[c]) return false;
  92263. if (!equalSegmentGroups(container.children[c], containee.children[c], matrixParams)) return false;
  92264. }
  92265. return true;
  92266. }
  92267. function containsParams(container, containee) {
  92268. return Object.keys(containee).length <= Object.keys(container).length && Object.keys(containee).every(key => equalArraysOrString(container[key], containee[key]));
  92269. }
  92270. function containsSegmentGroup(container, containee, matrixParams) {
  92271. return containsSegmentGroupHelper(container, containee, containee.segments, matrixParams);
  92272. }
  92273. function containsSegmentGroupHelper(container, containee, containeePaths, matrixParams) {
  92274. if (container.segments.length > containeePaths.length) {
  92275. const current = container.segments.slice(0, containeePaths.length);
  92276. if (!equalPath(current, containeePaths)) return false;
  92277. if (containee.hasChildren()) return false;
  92278. if (!matrixParamsMatch(current, containeePaths, matrixParams)) return false;
  92279. return true;
  92280. } else if (container.segments.length === containeePaths.length) {
  92281. if (!equalPath(container.segments, containeePaths)) return false;
  92282. if (!matrixParamsMatch(container.segments, containeePaths, matrixParams)) return false;
  92283. for (const c in containee.children) {
  92284. if (!container.children[c]) return false;
  92285. if (!containsSegmentGroup(container.children[c], containee.children[c], matrixParams)) {
  92286. return false;
  92287. }
  92288. }
  92289. return true;
  92290. } else {
  92291. const current = containeePaths.slice(0, container.segments.length);
  92292. const next = containeePaths.slice(container.segments.length);
  92293. if (!equalPath(container.segments, current)) return false;
  92294. if (!matrixParamsMatch(container.segments, current, matrixParams)) return false;
  92295. if (!container.children[PRIMARY_OUTLET]) return false;
  92296. return containsSegmentGroupHelper(container.children[PRIMARY_OUTLET], containee, next, matrixParams);
  92297. }
  92298. }
  92299. function matrixParamsMatch(containerPaths, containeePaths, options) {
  92300. return containeePaths.every((containeeSegment, i) => {
  92301. return paramCompareMap[options](containerPaths[i].parameters, containeeSegment.parameters);
  92302. });
  92303. }
  92304. /**
  92305. * @description
  92306. *
  92307. * Represents the parsed URL.
  92308. *
  92309. * Since a router state is a tree, and the URL is nothing but a serialized state, the URL is a
  92310. * serialized tree.
  92311. * UrlTree is a data structure that provides a lot of affordances in dealing with URLs
  92312. *
  92313. * @usageNotes
  92314. * ### Example
  92315. *
  92316. * ```
  92317. * @Component({templateUrl:'template.html'})
  92318. * class MyComponent {
  92319. * constructor(router: Router) {
  92320. * const tree: UrlTree =
  92321. * router.parseUrl('/team/33/(user/victor//support:help)?debug=true#fragment');
  92322. * const f = tree.fragment; // return 'fragment'
  92323. * const q = tree.queryParams; // returns {debug: 'true'}
  92324. * const g: UrlSegmentGroup = tree.root.children[PRIMARY_OUTLET];
  92325. * const s: UrlSegment[] = g.segments; // returns 2 segments 'team' and '33'
  92326. * g.children[PRIMARY_OUTLET].segments; // returns 2 segments 'user' and 'victor'
  92327. * g.children['support'].segments; // return 1 segment 'help'
  92328. * }
  92329. * }
  92330. * ```
  92331. *
  92332. * @publicApi
  92333. */
  92334. class UrlTree {
  92335. /** @internal */
  92336. constructor(
  92337. /** The root segment group of the URL tree */
  92338. root,
  92339. /** The query params of the URL */
  92340. queryParams,
  92341. /** The fragment of the URL */
  92342. fragment) {
  92343. this.root = root;
  92344. this.queryParams = queryParams;
  92345. this.fragment = fragment;
  92346. }
  92347. get queryParamMap() {
  92348. if (!this._queryParamMap) {
  92349. this._queryParamMap = convertToParamMap(this.queryParams);
  92350. }
  92351. return this._queryParamMap;
  92352. }
  92353. /** @docsNotRequired */
  92354. toString() {
  92355. return DEFAULT_SERIALIZER.serialize(this);
  92356. }
  92357. }
  92358. /**
  92359. * @description
  92360. *
  92361. * Represents the parsed URL segment group.
  92362. *
  92363. * See `UrlTree` for more information.
  92364. *
  92365. * @publicApi
  92366. */
  92367. class UrlSegmentGroup {
  92368. constructor(
  92369. /** The URL segments of this group. See `UrlSegment` for more information */
  92370. segments,
  92371. /** The list of children of this group */
  92372. children) {
  92373. this.segments = segments;
  92374. this.children = children;
  92375. /** The parent node in the url tree */
  92376. this.parent = null;
  92377. forEach(children, (v, k) => v.parent = this);
  92378. }
  92379. /** Whether the segment has child segments */
  92380. hasChildren() {
  92381. return this.numberOfChildren > 0;
  92382. }
  92383. /** Number of child segments */
  92384. get numberOfChildren() {
  92385. return Object.keys(this.children).length;
  92386. }
  92387. /** @docsNotRequired */
  92388. toString() {
  92389. return serializePaths(this);
  92390. }
  92391. }
  92392. /**
  92393. * @description
  92394. *
  92395. * Represents a single URL segment.
  92396. *
  92397. * A UrlSegment is a part of a URL between the two slashes. It contains a path and the matrix
  92398. * parameters associated with the segment.
  92399. *
  92400. * @usageNotes
  92401. * ### Example
  92402. *
  92403. * ```
  92404. * @Component({templateUrl:'template.html'})
  92405. * class MyComponent {
  92406. * constructor(router: Router) {
  92407. * const tree: UrlTree = router.parseUrl('/team;id=33');
  92408. * const g: UrlSegmentGroup = tree.root.children[PRIMARY_OUTLET];
  92409. * const s: UrlSegment[] = g.segments;
  92410. * s[0].path; // returns 'team'
  92411. * s[0].parameters; // returns {id: 33}
  92412. * }
  92413. * }
  92414. * ```
  92415. *
  92416. * @publicApi
  92417. */
  92418. class UrlSegment {
  92419. constructor(
  92420. /** The path part of a URL segment */
  92421. path,
  92422. /** The matrix parameters associated with a segment */
  92423. parameters) {
  92424. this.path = path;
  92425. this.parameters = parameters;
  92426. }
  92427. get parameterMap() {
  92428. if (!this._parameterMap) {
  92429. this._parameterMap = convertToParamMap(this.parameters);
  92430. }
  92431. return this._parameterMap;
  92432. }
  92433. /** @docsNotRequired */
  92434. toString() {
  92435. return serializePath(this);
  92436. }
  92437. }
  92438. function equalSegments(as, bs) {
  92439. return equalPath(as, bs) && as.every((a, i) => shallowEqual(a.parameters, bs[i].parameters));
  92440. }
  92441. function equalPath(as, bs) {
  92442. if (as.length !== bs.length) return false;
  92443. return as.every((a, i) => a.path === bs[i].path);
  92444. }
  92445. function mapChildrenIntoArray(segment, fn) {
  92446. let res = [];
  92447. forEach(segment.children, (child, childOutlet) => {
  92448. if (childOutlet === PRIMARY_OUTLET) {
  92449. res = res.concat(fn(child, childOutlet));
  92450. }
  92451. });
  92452. forEach(segment.children, (child, childOutlet) => {
  92453. if (childOutlet !== PRIMARY_OUTLET) {
  92454. res = res.concat(fn(child, childOutlet));
  92455. }
  92456. });
  92457. return res;
  92458. }
  92459. /**
  92460. * @description
  92461. *
  92462. * Serializes and deserializes a URL string into a URL tree.
  92463. *
  92464. * The url serialization strategy is customizable. You can
  92465. * make all URLs case insensitive by providing a custom UrlSerializer.
  92466. *
  92467. * See `DefaultUrlSerializer` for an example of a URL serializer.
  92468. *
  92469. * @publicApi
  92470. */
  92471. class UrlSerializer {}
  92472. UrlSerializer.ɵfac = function UrlSerializer_Factory(t) {
  92473. return new (t || UrlSerializer)();
  92474. };
  92475. UrlSerializer.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
  92476. token: UrlSerializer,
  92477. factory: function () {
  92478. return (() => new DefaultUrlSerializer())();
  92479. },
  92480. providedIn: 'root'
  92481. });
  92482. (function () {
  92483. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](UrlSerializer, [{
  92484. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
  92485. args: [{
  92486. providedIn: 'root',
  92487. useFactory: () => new DefaultUrlSerializer()
  92488. }]
  92489. }], null, null);
  92490. })();
  92491. /**
  92492. * @description
  92493. *
  92494. * A default implementation of the `UrlSerializer`.
  92495. *
  92496. * Example URLs:
  92497. *
  92498. * ```
  92499. * /inbox/33(popup:compose)
  92500. * /inbox/33;open=true/messages/44
  92501. * ```
  92502. *
  92503. * DefaultUrlSerializer uses parentheses to serialize secondary segments (e.g., popup:compose), the
  92504. * colon syntax to specify the outlet, and the ';parameter=value' syntax (e.g., open=true) to
  92505. * specify route specific parameters.
  92506. *
  92507. * @publicApi
  92508. */
  92509. class DefaultUrlSerializer {
  92510. /** Parses a url into a `UrlTree` */
  92511. parse(url) {
  92512. const p = new UrlParser(url);
  92513. return new UrlTree(p.parseRootSegment(), p.parseQueryParams(), p.parseFragment());
  92514. }
  92515. /** Converts a `UrlTree` into a url */
  92516. serialize(tree) {
  92517. const segment = `/${serializeSegment(tree.root, true)}`;
  92518. const query = serializeQueryParams(tree.queryParams);
  92519. const fragment = typeof tree.fragment === `string` ? `#${encodeUriFragment(tree.fragment)}` : '';
  92520. return `${segment}${query}${fragment}`;
  92521. }
  92522. }
  92523. const DEFAULT_SERIALIZER = new DefaultUrlSerializer();
  92524. function serializePaths(segment) {
  92525. return segment.segments.map(p => serializePath(p)).join('/');
  92526. }
  92527. function serializeSegment(segment, root) {
  92528. if (!segment.hasChildren()) {
  92529. return serializePaths(segment);
  92530. }
  92531. if (root) {
  92532. const primary = segment.children[PRIMARY_OUTLET] ? serializeSegment(segment.children[PRIMARY_OUTLET], false) : '';
  92533. const children = [];
  92534. forEach(segment.children, (v, k) => {
  92535. if (k !== PRIMARY_OUTLET) {
  92536. children.push(`${k}:${serializeSegment(v, false)}`);
  92537. }
  92538. });
  92539. return children.length > 0 ? `${primary}(${children.join('//')})` : primary;
  92540. } else {
  92541. const children = mapChildrenIntoArray(segment, (v, k) => {
  92542. if (k === PRIMARY_OUTLET) {
  92543. return [serializeSegment(segment.children[PRIMARY_OUTLET], false)];
  92544. }
  92545. return [`${k}:${serializeSegment(v, false)}`];
  92546. }); // use no parenthesis if the only child is a primary outlet route
  92547. if (Object.keys(segment.children).length === 1 && segment.children[PRIMARY_OUTLET] != null) {
  92548. return `${serializePaths(segment)}/${children[0]}`;
  92549. }
  92550. return `${serializePaths(segment)}/(${children.join('//')})`;
  92551. }
  92552. }
  92553. /**
  92554. * Encodes a URI string with the default encoding. This function will only ever be called from
  92555. * `encodeUriQuery` or `encodeUriSegment` as it's the base set of encodings to be used. We need
  92556. * a custom encoding because encodeURIComponent is too aggressive and encodes stuff that doesn't
  92557. * have to be encoded per https://url.spec.whatwg.org.
  92558. */
  92559. function encodeUriString(s) {
  92560. return encodeURIComponent(s).replace(/%40/g, '@').replace(/%3A/gi, ':').replace(/%24/g, '$').replace(/%2C/gi, ',');
  92561. }
  92562. /**
  92563. * This function should be used to encode both keys and values in a query string key/value. In
  92564. * the following URL, you need to call encodeUriQuery on "k" and "v":
  92565. *
  92566. * http://www.site.org/html;mk=mv?k=v#f
  92567. */
  92568. function encodeUriQuery(s) {
  92569. return encodeUriString(s).replace(/%3B/gi, ';');
  92570. }
  92571. /**
  92572. * This function should be used to encode a URL fragment. In the following URL, you need to call
  92573. * encodeUriFragment on "f":
  92574. *
  92575. * http://www.site.org/html;mk=mv?k=v#f
  92576. */
  92577. function encodeUriFragment(s) {
  92578. return encodeURI(s);
  92579. }
  92580. /**
  92581. * This function should be run on any URI segment as well as the key and value in a key/value
  92582. * pair for matrix params. In the following URL, you need to call encodeUriSegment on "html",
  92583. * "mk", and "mv":
  92584. *
  92585. * http://www.site.org/html;mk=mv?k=v#f
  92586. */
  92587. function encodeUriSegment(s) {
  92588. return encodeUriString(s).replace(/\(/g, '%28').replace(/\)/g, '%29').replace(/%26/gi, '&');
  92589. }
  92590. function decode(s) {
  92591. return decodeURIComponent(s);
  92592. } // Query keys/values should have the "+" replaced first, as "+" in a query string is " ".
  92593. // decodeURIComponent function will not decode "+" as a space.
  92594. function decodeQuery(s) {
  92595. return decode(s.replace(/\+/g, '%20'));
  92596. }
  92597. function serializePath(path) {
  92598. return `${encodeUriSegment(path.path)}${serializeMatrixParams(path.parameters)}`;
  92599. }
  92600. function serializeMatrixParams(params) {
  92601. return Object.keys(params).map(key => `;${encodeUriSegment(key)}=${encodeUriSegment(params[key])}`).join('');
  92602. }
  92603. function serializeQueryParams(params) {
  92604. const strParams = Object.keys(params).map(name => {
  92605. const value = params[name];
  92606. return Array.isArray(value) ? value.map(v => `${encodeUriQuery(name)}=${encodeUriQuery(v)}`).join('&') : `${encodeUriQuery(name)}=${encodeUriQuery(value)}`;
  92607. }).filter(s => !!s);
  92608. return strParams.length ? `?${strParams.join('&')}` : '';
  92609. }
  92610. const SEGMENT_RE = /^[^\/()?;=#]+/;
  92611. function matchSegments(str) {
  92612. const match = str.match(SEGMENT_RE);
  92613. return match ? match[0] : '';
  92614. }
  92615. const QUERY_PARAM_RE = /^[^=?&#]+/; // Return the name of the query param at the start of the string or an empty string
  92616. function matchQueryParams(str) {
  92617. const match = str.match(QUERY_PARAM_RE);
  92618. return match ? match[0] : '';
  92619. }
  92620. const QUERY_PARAM_VALUE_RE = /^[^&#]+/; // Return the value of the query param at the start of the string or an empty string
  92621. function matchUrlQueryParamValue(str) {
  92622. const match = str.match(QUERY_PARAM_VALUE_RE);
  92623. return match ? match[0] : '';
  92624. }
  92625. class UrlParser {
  92626. constructor(url) {
  92627. this.url = url;
  92628. this.remaining = url;
  92629. }
  92630. parseRootSegment() {
  92631. this.consumeOptional('/');
  92632. if (this.remaining === '' || this.peekStartsWith('?') || this.peekStartsWith('#')) {
  92633. return new UrlSegmentGroup([], {});
  92634. } // The root segment group never has segments
  92635. return new UrlSegmentGroup([], this.parseChildren());
  92636. }
  92637. parseQueryParams() {
  92638. const params = {};
  92639. if (this.consumeOptional('?')) {
  92640. do {
  92641. this.parseQueryParam(params);
  92642. } while (this.consumeOptional('&'));
  92643. }
  92644. return params;
  92645. }
  92646. parseFragment() {
  92647. return this.consumeOptional('#') ? decodeURIComponent(this.remaining) : null;
  92648. }
  92649. parseChildren() {
  92650. if (this.remaining === '') {
  92651. return {};
  92652. }
  92653. this.consumeOptional('/');
  92654. const segments = [];
  92655. if (!this.peekStartsWith('(')) {
  92656. segments.push(this.parseSegment());
  92657. }
  92658. while (this.peekStartsWith('/') && !this.peekStartsWith('//') && !this.peekStartsWith('/(')) {
  92659. this.capture('/');
  92660. segments.push(this.parseSegment());
  92661. }
  92662. let children = {};
  92663. if (this.peekStartsWith('/(')) {
  92664. this.capture('/');
  92665. children = this.parseParens(true);
  92666. }
  92667. let res = {};
  92668. if (this.peekStartsWith('(')) {
  92669. res = this.parseParens(false);
  92670. }
  92671. if (segments.length > 0 || Object.keys(children).length > 0) {
  92672. res[PRIMARY_OUTLET] = new UrlSegmentGroup(segments, children);
  92673. }
  92674. return res;
  92675. } // parse a segment with its matrix parameters
  92676. // ie `name;k1=v1;k2`
  92677. parseSegment() {
  92678. const path = matchSegments(this.remaining);
  92679. if (path === '' && this.peekStartsWith(';')) {
  92680. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4009
  92681. /* RuntimeErrorCode.EMPTY_PATH_WITH_PARAMS */
  92682. , NG_DEV_MODE$9 && `Empty path url segment cannot have parameters: '${this.remaining}'.`);
  92683. }
  92684. this.capture(path);
  92685. return new UrlSegment(decode(path), this.parseMatrixParams());
  92686. }
  92687. parseMatrixParams() {
  92688. const params = {};
  92689. while (this.consumeOptional(';')) {
  92690. this.parseParam(params);
  92691. }
  92692. return params;
  92693. }
  92694. parseParam(params) {
  92695. const key = matchSegments(this.remaining);
  92696. if (!key) {
  92697. return;
  92698. }
  92699. this.capture(key);
  92700. let value = '';
  92701. if (this.consumeOptional('=')) {
  92702. const valueMatch = matchSegments(this.remaining);
  92703. if (valueMatch) {
  92704. value = valueMatch;
  92705. this.capture(value);
  92706. }
  92707. }
  92708. params[decode(key)] = decode(value);
  92709. } // Parse a single query parameter `name[=value]`
  92710. parseQueryParam(params) {
  92711. const key = matchQueryParams(this.remaining);
  92712. if (!key) {
  92713. return;
  92714. }
  92715. this.capture(key);
  92716. let value = '';
  92717. if (this.consumeOptional('=')) {
  92718. const valueMatch = matchUrlQueryParamValue(this.remaining);
  92719. if (valueMatch) {
  92720. value = valueMatch;
  92721. this.capture(value);
  92722. }
  92723. }
  92724. const decodedKey = decodeQuery(key);
  92725. const decodedVal = decodeQuery(value);
  92726. if (params.hasOwnProperty(decodedKey)) {
  92727. // Append to existing values
  92728. let currentVal = params[decodedKey];
  92729. if (!Array.isArray(currentVal)) {
  92730. currentVal = [currentVal];
  92731. params[decodedKey] = currentVal;
  92732. }
  92733. currentVal.push(decodedVal);
  92734. } else {
  92735. // Create a new value
  92736. params[decodedKey] = decodedVal;
  92737. }
  92738. } // parse `(a/b//outlet_name:c/d)`
  92739. parseParens(allowPrimary) {
  92740. const segments = {};
  92741. this.capture('(');
  92742. while (!this.consumeOptional(')') && this.remaining.length > 0) {
  92743. const path = matchSegments(this.remaining);
  92744. const next = this.remaining[path.length]; // if is is not one of these characters, then the segment was unescaped
  92745. // or the group was not closed
  92746. if (next !== '/' && next !== ')' && next !== ';') {
  92747. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4010
  92748. /* RuntimeErrorCode.UNPARSABLE_URL */
  92749. , NG_DEV_MODE$9 && `Cannot parse url '${this.url}'`);
  92750. }
  92751. let outletName = undefined;
  92752. if (path.indexOf(':') > -1) {
  92753. outletName = path.slice(0, path.indexOf(':'));
  92754. this.capture(outletName);
  92755. this.capture(':');
  92756. } else if (allowPrimary) {
  92757. outletName = PRIMARY_OUTLET;
  92758. }
  92759. const children = this.parseChildren();
  92760. segments[outletName] = Object.keys(children).length === 1 ? children[PRIMARY_OUTLET] : new UrlSegmentGroup([], children);
  92761. this.consumeOptional('//');
  92762. }
  92763. return segments;
  92764. }
  92765. peekStartsWith(str) {
  92766. return this.remaining.startsWith(str);
  92767. } // Consumes the prefix when it is present and returns whether it has been consumed
  92768. consumeOptional(str) {
  92769. if (this.peekStartsWith(str)) {
  92770. this.remaining = this.remaining.substring(str.length);
  92771. return true;
  92772. }
  92773. return false;
  92774. }
  92775. capture(str) {
  92776. if (!this.consumeOptional(str)) {
  92777. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4011
  92778. /* RuntimeErrorCode.UNEXPECTED_VALUE_IN_URL */
  92779. , NG_DEV_MODE$9 && `Expected "${str}".`);
  92780. }
  92781. }
  92782. }
  92783. function createRoot(rootCandidate) {
  92784. return rootCandidate.segments.length > 0 ? new UrlSegmentGroup([], {
  92785. [PRIMARY_OUTLET]: rootCandidate
  92786. }) : rootCandidate;
  92787. }
  92788. /**
  92789. * Recursively merges primary segment children into their parents and also drops empty children
  92790. * (those which have no segments and no children themselves). The latter prevents serializing a
  92791. * group into something like `/a(aux:)`, where `aux` is an empty child segment.
  92792. */
  92793. function squashSegmentGroup(segmentGroup) {
  92794. const newChildren = {};
  92795. for (const childOutlet of Object.keys(segmentGroup.children)) {
  92796. const child = segmentGroup.children[childOutlet];
  92797. const childCandidate = squashSegmentGroup(child); // don't add empty children
  92798. if (childCandidate.segments.length > 0 || childCandidate.hasChildren()) {
  92799. newChildren[childOutlet] = childCandidate;
  92800. }
  92801. }
  92802. const s = new UrlSegmentGroup(segmentGroup.segments, newChildren);
  92803. return mergeTrivialChildren(s);
  92804. }
  92805. /**
  92806. * When possible, merges the primary outlet child into the parent `UrlSegmentGroup`.
  92807. *
  92808. * When a segment group has only one child which is a primary outlet, merges that child into the
  92809. * parent. That is, the child segment group's segments are merged into the `s` and the child's
  92810. * children become the children of `s`. Think of this like a 'squash', merging the child segment
  92811. * group into the parent.
  92812. */
  92813. function mergeTrivialChildren(s) {
  92814. if (s.numberOfChildren === 1 && s.children[PRIMARY_OUTLET]) {
  92815. const c = s.children[PRIMARY_OUTLET];
  92816. return new UrlSegmentGroup(s.segments.concat(c.segments), c.children);
  92817. }
  92818. return s;
  92819. }
  92820. function isUrlTree(v) {
  92821. return v instanceof UrlTree;
  92822. }
  92823. /**
  92824. * @license
  92825. * Copyright Google LLC All Rights Reserved.
  92826. *
  92827. * Use of this source code is governed by an MIT-style license that can be
  92828. * found in the LICENSE file at https://angular.io/license
  92829. */
  92830. const NG_DEV_MODE$8 = typeof ngDevMode === 'undefined' || ngDevMode;
  92831. /**
  92832. * Creates a `UrlTree` relative to an `ActivatedRouteSnapshot`.
  92833. *
  92834. * @publicApi
  92835. *
  92836. *
  92837. * @param relativeTo The `ActivatedRouteSnapshot` to apply the commands to
  92838. * @param commands An array of URL fragments with which to construct the new URL tree.
  92839. * If the path is static, can be the literal URL string. For a dynamic path, pass an array of path
  92840. * segments, followed by the parameters for each segment.
  92841. * The fragments are applied to the one provided in the `relativeTo` parameter.
  92842. * @param queryParams The query parameters for the `UrlTree`. `null` if the `UrlTree` does not have
  92843. * any query parameters.
  92844. * @param fragment The fragment for the `UrlTree`. `null` if the `UrlTree` does not have a fragment.
  92845. *
  92846. * @usageNotes
  92847. *
  92848. * ```
  92849. * // create /team/33/user/11
  92850. * createUrlTreeFromSnapshot(snapshot, ['/team', 33, 'user', 11]);
  92851. *
  92852. * // create /team/33;expand=true/user/11
  92853. * createUrlTreeFromSnapshot(snapshot, ['/team', 33, {expand: true}, 'user', 11]);
  92854. *
  92855. * // you can collapse static segments like this (this works only with the first passed-in value):
  92856. * createUrlTreeFromSnapshot(snapshot, ['/team/33/user', userId]);
  92857. *
  92858. * // If the first segment can contain slashes, and you do not want the router to split it,
  92859. * // you can do the following:
  92860. * createUrlTreeFromSnapshot(snapshot, [{segmentPath: '/one/two'}]);
  92861. *
  92862. * // create /team/33/(user/11//right:chat)
  92863. * createUrlTreeFromSnapshot(snapshot, ['/team', 33, {outlets: {primary: 'user/11', right:
  92864. * 'chat'}}], null, null);
  92865. *
  92866. * // remove the right secondary node
  92867. * createUrlTreeFromSnapshot(snapshot, ['/team', 33, {outlets: {primary: 'user/11', right: null}}]);
  92868. *
  92869. * // For the examples below, assume the current URL is for the `/team/33/user/11` and the
  92870. * `ActivatedRouteSnapshot` points to `user/11`:
  92871. *
  92872. * // navigate to /team/33/user/11/details
  92873. * createUrlTreeFromSnapshot(snapshot, ['details']);
  92874. *
  92875. * // navigate to /team/33/user/22
  92876. * createUrlTreeFromSnapshot(snapshot, ['../22']);
  92877. *
  92878. * // navigate to /team/44/user/22
  92879. * createUrlTreeFromSnapshot(snapshot, ['../../team/44/user/22']);
  92880. * ```
  92881. */
  92882. function createUrlTreeFromSnapshot(relativeTo, commands, queryParams = null, fragment = null) {
  92883. const relativeToUrlSegmentGroup = createSegmentGroupFromRoute(relativeTo);
  92884. return createUrlTreeFromSegmentGroup(relativeToUrlSegmentGroup, commands, queryParams, fragment);
  92885. }
  92886. function createSegmentGroupFromRoute(route) {
  92887. let targetGroup;
  92888. function createSegmentGroupFromRouteRecursive(currentRoute) {
  92889. const childOutlets = {};
  92890. for (const childSnapshot of currentRoute.children) {
  92891. const root = createSegmentGroupFromRouteRecursive(childSnapshot);
  92892. childOutlets[childSnapshot.outlet] = root;
  92893. }
  92894. const segmentGroup = new UrlSegmentGroup(currentRoute.url, childOutlets);
  92895. if (currentRoute === route) {
  92896. targetGroup = segmentGroup;
  92897. }
  92898. return segmentGroup;
  92899. }
  92900. const rootCandidate = createSegmentGroupFromRouteRecursive(route.root);
  92901. const rootSegmentGroup = createRoot(rootCandidate);
  92902. return targetGroup !== null && targetGroup !== void 0 ? targetGroup : rootSegmentGroup;
  92903. }
  92904. function createUrlTreeFromSegmentGroup(relativeTo, commands, queryParams, fragment) {
  92905. let root = relativeTo;
  92906. while (root.parent) {
  92907. root = root.parent;
  92908. } // There are no commands so the `UrlTree` goes to the same path as the one created from the
  92909. // `UrlSegmentGroup`. All we need to do is update the `queryParams` and `fragment` without
  92910. // applying any other logic.
  92911. if (commands.length === 0) {
  92912. return tree(root, root, root, queryParams, fragment);
  92913. }
  92914. const nav = computeNavigation(commands);
  92915. if (nav.toRoot()) {
  92916. return tree(root, root, new UrlSegmentGroup([], {}), queryParams, fragment);
  92917. }
  92918. const position = findStartingPositionForTargetGroup(nav, root, relativeTo);
  92919. const newSegmentGroup = position.processChildren ? updateSegmentGroupChildren(position.segmentGroup, position.index, nav.commands) : updateSegmentGroup(position.segmentGroup, position.index, nav.commands);
  92920. return tree(root, position.segmentGroup, newSegmentGroup, queryParams, fragment);
  92921. }
  92922. function createUrlTree(route, urlTree, commands, queryParams, fragment) {
  92923. var _a, _b;
  92924. if (commands.length === 0) {
  92925. return tree(urlTree.root, urlTree.root, urlTree.root, queryParams, fragment);
  92926. }
  92927. const nav = computeNavigation(commands);
  92928. if (nav.toRoot()) {
  92929. return tree(urlTree.root, urlTree.root, new UrlSegmentGroup([], {}), queryParams, fragment);
  92930. }
  92931. function createTreeUsingPathIndex(lastPathIndex) {
  92932. var _a;
  92933. const startingPosition = findStartingPosition(nav, urlTree, (_a = route.snapshot) === null || _a === void 0 ? void 0 : _a._urlSegment, lastPathIndex);
  92934. const segmentGroup = startingPosition.processChildren ? updateSegmentGroupChildren(startingPosition.segmentGroup, startingPosition.index, nav.commands) : updateSegmentGroup(startingPosition.segmentGroup, startingPosition.index, nav.commands);
  92935. return tree(urlTree.root, startingPosition.segmentGroup, segmentGroup, queryParams, fragment);
  92936. } // Note: The types should disallow `snapshot` from being `undefined` but due to test mocks, this
  92937. // may be the case. Since we try to access it at an earlier point before the refactor to add the
  92938. // warning for `relativeLinkResolution: 'legacy'`, this may cause failures in tests where it
  92939. // didn't before.
  92940. const result = createTreeUsingPathIndex((_a = route.snapshot) === null || _a === void 0 ? void 0 : _a._lastPathIndex); // Check if application is relying on `relativeLinkResolution: 'legacy'`
  92941. if (typeof ngDevMode === 'undefined' || !!ngDevMode) {
  92942. const correctedResult = createTreeUsingPathIndex((_b = route.snapshot) === null || _b === void 0 ? void 0 : _b._correctedLastPathIndex);
  92943. if (correctedResult.toString() !== result.toString()) {
  92944. console.warn(`relativeLinkResolution: 'legacy' is deprecated and will be removed in a future version of Angular. The link to ${result.toString()} will change to ${correctedResult.toString()} if the code is not updated before then.`);
  92945. }
  92946. }
  92947. return result;
  92948. }
  92949. function isMatrixParams(command) {
  92950. return typeof command === 'object' && command != null && !command.outlets && !command.segmentPath;
  92951. }
  92952. /**
  92953. * Determines if a given command has an `outlets` map. When we encounter a command
  92954. * with an outlets k/v map, we need to apply each outlet individually to the existing segment.
  92955. */
  92956. function isCommandWithOutlets(command) {
  92957. return typeof command === 'object' && command != null && command.outlets;
  92958. }
  92959. function tree(oldRoot, oldSegmentGroup, newSegmentGroup, queryParams, fragment) {
  92960. let qp = {};
  92961. if (queryParams) {
  92962. forEach(queryParams, (value, name) => {
  92963. qp[name] = Array.isArray(value) ? value.map(v => `${v}`) : `${value}`;
  92964. });
  92965. }
  92966. let rootCandidate;
  92967. if (oldRoot === oldSegmentGroup) {
  92968. rootCandidate = newSegmentGroup;
  92969. } else {
  92970. rootCandidate = replaceSegment(oldRoot, oldSegmentGroup, newSegmentGroup);
  92971. }
  92972. const newRoot = createRoot(squashSegmentGroup(rootCandidate));
  92973. return new UrlTree(newRoot, qp, fragment);
  92974. }
  92975. /**
  92976. * Replaces the `oldSegment` which is located in some child of the `current` with the `newSegment`.
  92977. * This also has the effect of creating new `UrlSegmentGroup` copies to update references. This
  92978. * shouldn't be necessary but the fallback logic for an invalid ActivatedRoute in the creation uses
  92979. * the Router's current url tree. If we don't create new segment groups, we end up modifying that
  92980. * value.
  92981. */
  92982. function replaceSegment(current, oldSegment, newSegment) {
  92983. const children = {};
  92984. forEach(current.children, (c, outletName) => {
  92985. if (c === oldSegment) {
  92986. children[outletName] = newSegment;
  92987. } else {
  92988. children[outletName] = replaceSegment(c, oldSegment, newSegment);
  92989. }
  92990. });
  92991. return new UrlSegmentGroup(current.segments, children);
  92992. }
  92993. class Navigation {
  92994. constructor(isAbsolute, numberOfDoubleDots, commands) {
  92995. this.isAbsolute = isAbsolute;
  92996. this.numberOfDoubleDots = numberOfDoubleDots;
  92997. this.commands = commands;
  92998. if (isAbsolute && commands.length > 0 && isMatrixParams(commands[0])) {
  92999. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4003
  93000. /* RuntimeErrorCode.ROOT_SEGMENT_MATRIX_PARAMS */
  93001. , NG_DEV_MODE$8 && 'Root segment cannot have matrix parameters');
  93002. }
  93003. const cmdWithOutlet = commands.find(isCommandWithOutlets);
  93004. if (cmdWithOutlet && cmdWithOutlet !== last(commands)) {
  93005. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4004
  93006. /* RuntimeErrorCode.MISPLACED_OUTLETS_COMMAND */
  93007. , NG_DEV_MODE$8 && '{outlets:{}} has to be the last command');
  93008. }
  93009. }
  93010. toRoot() {
  93011. return this.isAbsolute && this.commands.length === 1 && this.commands[0] == '/';
  93012. }
  93013. }
  93014. /** Transforms commands to a normalized `Navigation` */
  93015. function computeNavigation(commands) {
  93016. if (typeof commands[0] === 'string' && commands.length === 1 && commands[0] === '/') {
  93017. return new Navigation(true, 0, commands);
  93018. }
  93019. let numberOfDoubleDots = 0;
  93020. let isAbsolute = false;
  93021. const res = commands.reduce((res, cmd, cmdIdx) => {
  93022. if (typeof cmd === 'object' && cmd != null) {
  93023. if (cmd.outlets) {
  93024. const outlets = {};
  93025. forEach(cmd.outlets, (commands, name) => {
  93026. outlets[name] = typeof commands === 'string' ? commands.split('/') : commands;
  93027. });
  93028. return [...res, {
  93029. outlets
  93030. }];
  93031. }
  93032. if (cmd.segmentPath) {
  93033. return [...res, cmd.segmentPath];
  93034. }
  93035. }
  93036. if (!(typeof cmd === 'string')) {
  93037. return [...res, cmd];
  93038. }
  93039. if (cmdIdx === 0) {
  93040. cmd.split('/').forEach((urlPart, partIndex) => {
  93041. if (partIndex == 0 && urlPart === '.') {// skip './a'
  93042. } else if (partIndex == 0 && urlPart === '') {
  93043. // '/a'
  93044. isAbsolute = true;
  93045. } else if (urlPart === '..') {
  93046. // '../a'
  93047. numberOfDoubleDots++;
  93048. } else if (urlPart != '') {
  93049. res.push(urlPart);
  93050. }
  93051. });
  93052. return res;
  93053. }
  93054. return [...res, cmd];
  93055. }, []);
  93056. return new Navigation(isAbsolute, numberOfDoubleDots, res);
  93057. }
  93058. class Position {
  93059. constructor(segmentGroup, processChildren, index) {
  93060. this.segmentGroup = segmentGroup;
  93061. this.processChildren = processChildren;
  93062. this.index = index;
  93063. }
  93064. }
  93065. function findStartingPositionForTargetGroup(nav, root, target) {
  93066. if (nav.isAbsolute) {
  93067. return new Position(root, true, 0);
  93068. }
  93069. if (!target) {
  93070. // `NaN` is used only to maintain backwards compatibility with incorrectly mocked
  93071. // `ActivatedRouteSnapshot` in tests. In prior versions of this code, the position here was
  93072. // determined based on an internal property that was rarely mocked, resulting in `NaN`. In
  93073. // reality, this code path should _never_ be touched since `target` is not allowed to be falsey.
  93074. return new Position(root, false, NaN);
  93075. }
  93076. if (target.parent === null) {
  93077. return new Position(target, true, 0);
  93078. }
  93079. const modifier = isMatrixParams(nav.commands[0]) ? 0 : 1;
  93080. const index = target.segments.length - 1 + modifier;
  93081. return createPositionApplyingDoubleDots(target, index, nav.numberOfDoubleDots);
  93082. }
  93083. function findStartingPosition(nav, tree, segmentGroup, lastPathIndex) {
  93084. if (nav.isAbsolute) {
  93085. return new Position(tree.root, true, 0);
  93086. }
  93087. if (lastPathIndex === -1) {
  93088. // Pathless ActivatedRoute has _lastPathIndex === -1 but should not process children
  93089. // see issue #26224, #13011, #35687
  93090. // However, if the ActivatedRoute is the root we should process children like above.
  93091. const processChildren = segmentGroup === tree.root;
  93092. return new Position(segmentGroup, processChildren, 0);
  93093. }
  93094. const modifier = isMatrixParams(nav.commands[0]) ? 0 : 1;
  93095. const index = lastPathIndex + modifier;
  93096. return createPositionApplyingDoubleDots(segmentGroup, index, nav.numberOfDoubleDots);
  93097. }
  93098. function createPositionApplyingDoubleDots(group, index, numberOfDoubleDots) {
  93099. let g = group;
  93100. let ci = index;
  93101. let dd = numberOfDoubleDots;
  93102. while (dd > ci) {
  93103. dd -= ci;
  93104. g = g.parent;
  93105. if (!g) {
  93106. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4005
  93107. /* RuntimeErrorCode.INVALID_DOUBLE_DOTS */
  93108. , NG_DEV_MODE$8 && 'Invalid number of \'../\'');
  93109. }
  93110. ci = g.segments.length;
  93111. }
  93112. return new Position(g, false, ci - dd);
  93113. }
  93114. function getOutlets(commands) {
  93115. if (isCommandWithOutlets(commands[0])) {
  93116. return commands[0].outlets;
  93117. }
  93118. return {
  93119. [PRIMARY_OUTLET]: commands
  93120. };
  93121. }
  93122. function updateSegmentGroup(segmentGroup, startIndex, commands) {
  93123. if (!segmentGroup) {
  93124. segmentGroup = new UrlSegmentGroup([], {});
  93125. }
  93126. if (segmentGroup.segments.length === 0 && segmentGroup.hasChildren()) {
  93127. return updateSegmentGroupChildren(segmentGroup, startIndex, commands);
  93128. }
  93129. const m = prefixedWith(segmentGroup, startIndex, commands);
  93130. const slicedCommands = commands.slice(m.commandIndex);
  93131. if (m.match && m.pathIndex < segmentGroup.segments.length) {
  93132. const g = new UrlSegmentGroup(segmentGroup.segments.slice(0, m.pathIndex), {});
  93133. g.children[PRIMARY_OUTLET] = new UrlSegmentGroup(segmentGroup.segments.slice(m.pathIndex), segmentGroup.children);
  93134. return updateSegmentGroupChildren(g, 0, slicedCommands);
  93135. } else if (m.match && slicedCommands.length === 0) {
  93136. return new UrlSegmentGroup(segmentGroup.segments, {});
  93137. } else if (m.match && !segmentGroup.hasChildren()) {
  93138. return createNewSegmentGroup(segmentGroup, startIndex, commands);
  93139. } else if (m.match) {
  93140. return updateSegmentGroupChildren(segmentGroup, 0, slicedCommands);
  93141. } else {
  93142. return createNewSegmentGroup(segmentGroup, startIndex, commands);
  93143. }
  93144. }
  93145. function updateSegmentGroupChildren(segmentGroup, startIndex, commands) {
  93146. if (commands.length === 0) {
  93147. return new UrlSegmentGroup(segmentGroup.segments, {});
  93148. } else {
  93149. const outlets = getOutlets(commands);
  93150. const children = {};
  93151. forEach(outlets, (commands, outlet) => {
  93152. if (typeof commands === 'string') {
  93153. commands = [commands];
  93154. }
  93155. if (commands !== null) {
  93156. children[outlet] = updateSegmentGroup(segmentGroup.children[outlet], startIndex, commands);
  93157. }
  93158. });
  93159. forEach(segmentGroup.children, (child, childOutlet) => {
  93160. if (outlets[childOutlet] === undefined) {
  93161. children[childOutlet] = child;
  93162. }
  93163. });
  93164. return new UrlSegmentGroup(segmentGroup.segments, children);
  93165. }
  93166. }
  93167. function prefixedWith(segmentGroup, startIndex, commands) {
  93168. let currentCommandIndex = 0;
  93169. let currentPathIndex = startIndex;
  93170. const noMatch = {
  93171. match: false,
  93172. pathIndex: 0,
  93173. commandIndex: 0
  93174. };
  93175. while (currentPathIndex < segmentGroup.segments.length) {
  93176. if (currentCommandIndex >= commands.length) return noMatch;
  93177. const path = segmentGroup.segments[currentPathIndex];
  93178. const command = commands[currentCommandIndex]; // Do not try to consume command as part of the prefixing if it has outlets because it can
  93179. // contain outlets other than the one being processed. Consuming the outlets command would
  93180. // result in other outlets being ignored.
  93181. if (isCommandWithOutlets(command)) {
  93182. break;
  93183. }
  93184. const curr = `${command}`;
  93185. const next = currentCommandIndex < commands.length - 1 ? commands[currentCommandIndex + 1] : null;
  93186. if (currentPathIndex > 0 && curr === undefined) break;
  93187. if (curr && next && typeof next === 'object' && next.outlets === undefined) {
  93188. if (!compare(curr, next, path)) return noMatch;
  93189. currentCommandIndex += 2;
  93190. } else {
  93191. if (!compare(curr, {}, path)) return noMatch;
  93192. currentCommandIndex++;
  93193. }
  93194. currentPathIndex++;
  93195. }
  93196. return {
  93197. match: true,
  93198. pathIndex: currentPathIndex,
  93199. commandIndex: currentCommandIndex
  93200. };
  93201. }
  93202. function createNewSegmentGroup(segmentGroup, startIndex, commands) {
  93203. const paths = segmentGroup.segments.slice(0, startIndex);
  93204. let i = 0;
  93205. while (i < commands.length) {
  93206. const command = commands[i];
  93207. if (isCommandWithOutlets(command)) {
  93208. const children = createNewSegmentChildren(command.outlets);
  93209. return new UrlSegmentGroup(paths, children);
  93210. } // if we start with an object literal, we need to reuse the path part from the segment
  93211. if (i === 0 && isMatrixParams(commands[0])) {
  93212. const p = segmentGroup.segments[startIndex];
  93213. paths.push(new UrlSegment(p.path, stringify(commands[0])));
  93214. i++;
  93215. continue;
  93216. }
  93217. const curr = isCommandWithOutlets(command) ? command.outlets[PRIMARY_OUTLET] : `${command}`;
  93218. const next = i < commands.length - 1 ? commands[i + 1] : null;
  93219. if (curr && next && isMatrixParams(next)) {
  93220. paths.push(new UrlSegment(curr, stringify(next)));
  93221. i += 2;
  93222. } else {
  93223. paths.push(new UrlSegment(curr, {}));
  93224. i++;
  93225. }
  93226. }
  93227. return new UrlSegmentGroup(paths, {});
  93228. }
  93229. function createNewSegmentChildren(outlets) {
  93230. const children = {};
  93231. forEach(outlets, (commands, outlet) => {
  93232. if (typeof commands === 'string') {
  93233. commands = [commands];
  93234. }
  93235. if (commands !== null) {
  93236. children[outlet] = createNewSegmentGroup(new UrlSegmentGroup([], {}), 0, commands);
  93237. }
  93238. });
  93239. return children;
  93240. }
  93241. function stringify(params) {
  93242. const res = {};
  93243. forEach(params, (v, k) => res[k] = `${v}`);
  93244. return res;
  93245. }
  93246. function compare(path, params, segment) {
  93247. return path == segment.path && shallowEqual(params, segment.parameters);
  93248. }
  93249. /**
  93250. * @license
  93251. * Copyright Google LLC All Rights Reserved.
  93252. *
  93253. * Use of this source code is governed by an MIT-style license that can be
  93254. * found in the LICENSE file at https://angular.io/license
  93255. */
  93256. /**
  93257. * Base for events the router goes through, as opposed to events tied to a specific
  93258. * route. Fired one time for any given navigation.
  93259. *
  93260. * The following code shows how a class subscribes to router events.
  93261. *
  93262. * ```ts
  93263. * import {Event, RouterEvent, Router} from '@angular/router';
  93264. *
  93265. * class MyService {
  93266. * constructor(public router: Router) {
  93267. * router.events.pipe(
  93268. * filter((e: Event): e is RouterEvent => e instanceof RouterEvent)
  93269. * ).subscribe((e: RouterEvent) => {
  93270. * // Do something
  93271. * });
  93272. * }
  93273. * }
  93274. * ```
  93275. *
  93276. * @see `Event`
  93277. * @see [Router events summary](guide/router-reference#router-events)
  93278. * @publicApi
  93279. */
  93280. class RouterEvent {
  93281. constructor(
  93282. /** A unique ID that the router assigns to every router navigation. */
  93283. id,
  93284. /** The URL that is the destination for this navigation. */
  93285. url) {
  93286. this.id = id;
  93287. this.url = url;
  93288. }
  93289. }
  93290. /**
  93291. * An event triggered when a navigation starts.
  93292. *
  93293. * @publicApi
  93294. */
  93295. class NavigationStart extends RouterEvent {
  93296. constructor(
  93297. /** @docsNotRequired */
  93298. id,
  93299. /** @docsNotRequired */
  93300. url,
  93301. /** @docsNotRequired */
  93302. navigationTrigger = 'imperative',
  93303. /** @docsNotRequired */
  93304. restoredState = null) {
  93305. super(id, url);
  93306. this.type = 0
  93307. /* EventType.NavigationStart */
  93308. ;
  93309. this.navigationTrigger = navigationTrigger;
  93310. this.restoredState = restoredState;
  93311. }
  93312. /** @docsNotRequired */
  93313. toString() {
  93314. return `NavigationStart(id: ${this.id}, url: '${this.url}')`;
  93315. }
  93316. }
  93317. /**
  93318. * An event triggered when a navigation ends successfully.
  93319. *
  93320. * @see `NavigationStart`
  93321. * @see `NavigationCancel`
  93322. * @see `NavigationError`
  93323. *
  93324. * @publicApi
  93325. */
  93326. class NavigationEnd extends RouterEvent {
  93327. constructor(
  93328. /** @docsNotRequired */
  93329. id,
  93330. /** @docsNotRequired */
  93331. url,
  93332. /** @docsNotRequired */
  93333. urlAfterRedirects) {
  93334. super(id, url);
  93335. this.urlAfterRedirects = urlAfterRedirects;
  93336. this.type = 1
  93337. /* EventType.NavigationEnd */
  93338. ;
  93339. }
  93340. /** @docsNotRequired */
  93341. toString() {
  93342. return `NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`;
  93343. }
  93344. }
  93345. /**
  93346. * An event triggered when a navigation is canceled, directly or indirectly.
  93347. * This can happen for several reasons including when a route guard
  93348. * returns `false` or initiates a redirect by returning a `UrlTree`.
  93349. *
  93350. * @see `NavigationStart`
  93351. * @see `NavigationEnd`
  93352. * @see `NavigationError`
  93353. *
  93354. * @publicApi
  93355. */
  93356. class NavigationCancel extends RouterEvent {
  93357. constructor(
  93358. /** @docsNotRequired */
  93359. id,
  93360. /** @docsNotRequired */
  93361. url,
  93362. /**
  93363. * A description of why the navigation was cancelled. For debug purposes only. Use `code`
  93364. * instead for a stable cancellation reason that can be used in production.
  93365. */
  93366. reason,
  93367. /**
  93368. * A code to indicate why the navigation was canceled. This cancellation code is stable for
  93369. * the reason and can be relied on whereas the `reason` string could change and should not be
  93370. * used in production.
  93371. */
  93372. code) {
  93373. super(id, url);
  93374. this.reason = reason;
  93375. this.code = code;
  93376. this.type = 2
  93377. /* EventType.NavigationCancel */
  93378. ;
  93379. }
  93380. /** @docsNotRequired */
  93381. toString() {
  93382. return `NavigationCancel(id: ${this.id}, url: '${this.url}')`;
  93383. }
  93384. }
  93385. /**
  93386. * An event triggered when a navigation fails due to an unexpected error.
  93387. *
  93388. * @see `NavigationStart`
  93389. * @see `NavigationEnd`
  93390. * @see `NavigationCancel`
  93391. *
  93392. * @publicApi
  93393. */
  93394. class NavigationError extends RouterEvent {
  93395. constructor(
  93396. /** @docsNotRequired */
  93397. id,
  93398. /** @docsNotRequired */
  93399. url,
  93400. /** @docsNotRequired */
  93401. error,
  93402. /**
  93403. * The target of the navigation when the error occurred.
  93404. *
  93405. * Note that this can be `undefined` because an error could have occurred before the
  93406. * `RouterStateSnapshot` was created for the navigation.
  93407. */
  93408. target) {
  93409. super(id, url);
  93410. this.error = error;
  93411. this.target = target;
  93412. this.type = 3
  93413. /* EventType.NavigationError */
  93414. ;
  93415. }
  93416. /** @docsNotRequired */
  93417. toString() {
  93418. return `NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`;
  93419. }
  93420. }
  93421. /**
  93422. * An event triggered when routes are recognized.
  93423. *
  93424. * @publicApi
  93425. */
  93426. class RoutesRecognized extends RouterEvent {
  93427. constructor(
  93428. /** @docsNotRequired */
  93429. id,
  93430. /** @docsNotRequired */
  93431. url,
  93432. /** @docsNotRequired */
  93433. urlAfterRedirects,
  93434. /** @docsNotRequired */
  93435. state) {
  93436. super(id, url);
  93437. this.urlAfterRedirects = urlAfterRedirects;
  93438. this.state = state;
  93439. this.type = 4
  93440. /* EventType.RoutesRecognized */
  93441. ;
  93442. }
  93443. /** @docsNotRequired */
  93444. toString() {
  93445. return `RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`;
  93446. }
  93447. }
  93448. /**
  93449. * An event triggered at the start of the Guard phase of routing.
  93450. *
  93451. * @see `GuardsCheckEnd`
  93452. *
  93453. * @publicApi
  93454. */
  93455. class GuardsCheckStart extends RouterEvent {
  93456. constructor(
  93457. /** @docsNotRequired */
  93458. id,
  93459. /** @docsNotRequired */
  93460. url,
  93461. /** @docsNotRequired */
  93462. urlAfterRedirects,
  93463. /** @docsNotRequired */
  93464. state) {
  93465. super(id, url);
  93466. this.urlAfterRedirects = urlAfterRedirects;
  93467. this.state = state;
  93468. this.type = 7
  93469. /* EventType.GuardsCheckStart */
  93470. ;
  93471. }
  93472. toString() {
  93473. return `GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`;
  93474. }
  93475. }
  93476. /**
  93477. * An event triggered at the end of the Guard phase of routing.
  93478. *
  93479. * @see `GuardsCheckStart`
  93480. *
  93481. * @publicApi
  93482. */
  93483. class GuardsCheckEnd extends RouterEvent {
  93484. constructor(
  93485. /** @docsNotRequired */
  93486. id,
  93487. /** @docsNotRequired */
  93488. url,
  93489. /** @docsNotRequired */
  93490. urlAfterRedirects,
  93491. /** @docsNotRequired */
  93492. state,
  93493. /** @docsNotRequired */
  93494. shouldActivate) {
  93495. super(id, url);
  93496. this.urlAfterRedirects = urlAfterRedirects;
  93497. this.state = state;
  93498. this.shouldActivate = shouldActivate;
  93499. this.type = 8
  93500. /* EventType.GuardsCheckEnd */
  93501. ;
  93502. }
  93503. toString() {
  93504. return `GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`;
  93505. }
  93506. }
  93507. /**
  93508. * An event triggered at the start of the Resolve phase of routing.
  93509. *
  93510. * Runs in the "resolve" phase whether or not there is anything to resolve.
  93511. * In future, may change to only run when there are things to be resolved.
  93512. *
  93513. * @see `ResolveEnd`
  93514. *
  93515. * @publicApi
  93516. */
  93517. class ResolveStart extends RouterEvent {
  93518. constructor(
  93519. /** @docsNotRequired */
  93520. id,
  93521. /** @docsNotRequired */
  93522. url,
  93523. /** @docsNotRequired */
  93524. urlAfterRedirects,
  93525. /** @docsNotRequired */
  93526. state) {
  93527. super(id, url);
  93528. this.urlAfterRedirects = urlAfterRedirects;
  93529. this.state = state;
  93530. this.type = 5
  93531. /* EventType.ResolveStart */
  93532. ;
  93533. }
  93534. toString() {
  93535. return `ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`;
  93536. }
  93537. }
  93538. /**
  93539. * An event triggered at the end of the Resolve phase of routing.
  93540. * @see `ResolveStart`.
  93541. *
  93542. * @publicApi
  93543. */
  93544. class ResolveEnd extends RouterEvent {
  93545. constructor(
  93546. /** @docsNotRequired */
  93547. id,
  93548. /** @docsNotRequired */
  93549. url,
  93550. /** @docsNotRequired */
  93551. urlAfterRedirects,
  93552. /** @docsNotRequired */
  93553. state) {
  93554. super(id, url);
  93555. this.urlAfterRedirects = urlAfterRedirects;
  93556. this.state = state;
  93557. this.type = 6
  93558. /* EventType.ResolveEnd */
  93559. ;
  93560. }
  93561. toString() {
  93562. return `ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`;
  93563. }
  93564. }
  93565. /**
  93566. * An event triggered before lazy loading a route configuration.
  93567. *
  93568. * @see `RouteConfigLoadEnd`
  93569. *
  93570. * @publicApi
  93571. */
  93572. class RouteConfigLoadStart {
  93573. constructor(
  93574. /** @docsNotRequired */
  93575. route) {
  93576. this.route = route;
  93577. this.type = 9
  93578. /* EventType.RouteConfigLoadStart */
  93579. ;
  93580. }
  93581. toString() {
  93582. return `RouteConfigLoadStart(path: ${this.route.path})`;
  93583. }
  93584. }
  93585. /**
  93586. * An event triggered when a route has been lazy loaded.
  93587. *
  93588. * @see `RouteConfigLoadStart`
  93589. *
  93590. * @publicApi
  93591. */
  93592. class RouteConfigLoadEnd {
  93593. constructor(
  93594. /** @docsNotRequired */
  93595. route) {
  93596. this.route = route;
  93597. this.type = 10
  93598. /* EventType.RouteConfigLoadEnd */
  93599. ;
  93600. }
  93601. toString() {
  93602. return `RouteConfigLoadEnd(path: ${this.route.path})`;
  93603. }
  93604. }
  93605. /**
  93606. * An event triggered at the start of the child-activation
  93607. * part of the Resolve phase of routing.
  93608. * @see `ChildActivationEnd`
  93609. * @see `ResolveStart`
  93610. *
  93611. * @publicApi
  93612. */
  93613. class ChildActivationStart {
  93614. constructor(
  93615. /** @docsNotRequired */
  93616. snapshot) {
  93617. this.snapshot = snapshot;
  93618. this.type = 11
  93619. /* EventType.ChildActivationStart */
  93620. ;
  93621. }
  93622. toString() {
  93623. const path = this.snapshot.routeConfig && this.snapshot.routeConfig.path || '';
  93624. return `ChildActivationStart(path: '${path}')`;
  93625. }
  93626. }
  93627. /**
  93628. * An event triggered at the end of the child-activation part
  93629. * of the Resolve phase of routing.
  93630. * @see `ChildActivationStart`
  93631. * @see `ResolveStart`
  93632. * @publicApi
  93633. */
  93634. class ChildActivationEnd {
  93635. constructor(
  93636. /** @docsNotRequired */
  93637. snapshot) {
  93638. this.snapshot = snapshot;
  93639. this.type = 12
  93640. /* EventType.ChildActivationEnd */
  93641. ;
  93642. }
  93643. toString() {
  93644. const path = this.snapshot.routeConfig && this.snapshot.routeConfig.path || '';
  93645. return `ChildActivationEnd(path: '${path}')`;
  93646. }
  93647. }
  93648. /**
  93649. * An event triggered at the start of the activation part
  93650. * of the Resolve phase of routing.
  93651. * @see `ActivationEnd`
  93652. * @see `ResolveStart`
  93653. *
  93654. * @publicApi
  93655. */
  93656. class ActivationStart {
  93657. constructor(
  93658. /** @docsNotRequired */
  93659. snapshot) {
  93660. this.snapshot = snapshot;
  93661. this.type = 13
  93662. /* EventType.ActivationStart */
  93663. ;
  93664. }
  93665. toString() {
  93666. const path = this.snapshot.routeConfig && this.snapshot.routeConfig.path || '';
  93667. return `ActivationStart(path: '${path}')`;
  93668. }
  93669. }
  93670. /**
  93671. * An event triggered at the end of the activation part
  93672. * of the Resolve phase of routing.
  93673. * @see `ActivationStart`
  93674. * @see `ResolveStart`
  93675. *
  93676. * @publicApi
  93677. */
  93678. class ActivationEnd {
  93679. constructor(
  93680. /** @docsNotRequired */
  93681. snapshot) {
  93682. this.snapshot = snapshot;
  93683. this.type = 14
  93684. /* EventType.ActivationEnd */
  93685. ;
  93686. }
  93687. toString() {
  93688. const path = this.snapshot.routeConfig && this.snapshot.routeConfig.path || '';
  93689. return `ActivationEnd(path: '${path}')`;
  93690. }
  93691. }
  93692. /**
  93693. * An event triggered by scrolling.
  93694. *
  93695. * @publicApi
  93696. */
  93697. class Scroll {
  93698. constructor(
  93699. /** @docsNotRequired */
  93700. routerEvent,
  93701. /** @docsNotRequired */
  93702. position,
  93703. /** @docsNotRequired */
  93704. anchor) {
  93705. this.routerEvent = routerEvent;
  93706. this.position = position;
  93707. this.anchor = anchor;
  93708. this.type = 15
  93709. /* EventType.Scroll */
  93710. ;
  93711. }
  93712. toString() {
  93713. const pos = this.position ? `${this.position[0]}, ${this.position[1]}` : null;
  93714. return `Scroll(anchor: '${this.anchor}', position: '${pos}')`;
  93715. }
  93716. }
  93717. function stringifyEvent(routerEvent) {
  93718. var _a, _b, _c, _d;
  93719. if (!('type' in routerEvent)) {
  93720. return `Unknown Router Event: ${routerEvent.constructor.name}`;
  93721. }
  93722. switch (routerEvent.type) {
  93723. case 14
  93724. /* EventType.ActivationEnd */
  93725. :
  93726. return `ActivationEnd(path: '${((_a = routerEvent.snapshot.routeConfig) === null || _a === void 0 ? void 0 : _a.path) || ''}')`;
  93727. case 13
  93728. /* EventType.ActivationStart */
  93729. :
  93730. return `ActivationStart(path: '${((_b = routerEvent.snapshot.routeConfig) === null || _b === void 0 ? void 0 : _b.path) || ''}')`;
  93731. case 12
  93732. /* EventType.ChildActivationEnd */
  93733. :
  93734. return `ChildActivationEnd(path: '${((_c = routerEvent.snapshot.routeConfig) === null || _c === void 0 ? void 0 : _c.path) || ''}')`;
  93735. case 11
  93736. /* EventType.ChildActivationStart */
  93737. :
  93738. return `ChildActivationStart(path: '${((_d = routerEvent.snapshot.routeConfig) === null || _d === void 0 ? void 0 : _d.path) || ''}')`;
  93739. case 8
  93740. /* EventType.GuardsCheckEnd */
  93741. :
  93742. return `GuardsCheckEnd(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}', state: ${routerEvent.state}, shouldActivate: ${routerEvent.shouldActivate})`;
  93743. case 7
  93744. /* EventType.GuardsCheckStart */
  93745. :
  93746. return `GuardsCheckStart(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}', state: ${routerEvent.state})`;
  93747. case 2
  93748. /* EventType.NavigationCancel */
  93749. :
  93750. return `NavigationCancel(id: ${routerEvent.id}, url: '${routerEvent.url}')`;
  93751. case 1
  93752. /* EventType.NavigationEnd */
  93753. :
  93754. return `NavigationEnd(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}')`;
  93755. case 3
  93756. /* EventType.NavigationError */
  93757. :
  93758. return `NavigationError(id: ${routerEvent.id}, url: '${routerEvent.url}', error: ${routerEvent.error})`;
  93759. case 0
  93760. /* EventType.NavigationStart */
  93761. :
  93762. return `NavigationStart(id: ${routerEvent.id}, url: '${routerEvent.url}')`;
  93763. case 6
  93764. /* EventType.ResolveEnd */
  93765. :
  93766. return `ResolveEnd(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}', state: ${routerEvent.state})`;
  93767. case 5
  93768. /* EventType.ResolveStart */
  93769. :
  93770. return `ResolveStart(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}', state: ${routerEvent.state})`;
  93771. case 10
  93772. /* EventType.RouteConfigLoadEnd */
  93773. :
  93774. return `RouteConfigLoadEnd(path: ${routerEvent.route.path})`;
  93775. case 9
  93776. /* EventType.RouteConfigLoadStart */
  93777. :
  93778. return `RouteConfigLoadStart(path: ${routerEvent.route.path})`;
  93779. case 4
  93780. /* EventType.RoutesRecognized */
  93781. :
  93782. return `RoutesRecognized(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}', state: ${routerEvent.state})`;
  93783. case 15
  93784. /* EventType.Scroll */
  93785. :
  93786. const pos = routerEvent.position ? `${routerEvent.position[0]}, ${routerEvent.position[1]}` : null;
  93787. return `Scroll(anchor: '${routerEvent.anchor}', position: '${pos}')`;
  93788. }
  93789. }
  93790. /**
  93791. * @license
  93792. * Copyright Google LLC All Rights Reserved.
  93793. *
  93794. * Use of this source code is governed by an MIT-style license that can be
  93795. * found in the LICENSE file at https://angular.io/license
  93796. */
  93797. class Tree {
  93798. constructor(root) {
  93799. this._root = root;
  93800. }
  93801. get root() {
  93802. return this._root.value;
  93803. }
  93804. /**
  93805. * @internal
  93806. */
  93807. parent(t) {
  93808. const p = this.pathFromRoot(t);
  93809. return p.length > 1 ? p[p.length - 2] : null;
  93810. }
  93811. /**
  93812. * @internal
  93813. */
  93814. children(t) {
  93815. const n = findNode(t, this._root);
  93816. return n ? n.children.map(t => t.value) : [];
  93817. }
  93818. /**
  93819. * @internal
  93820. */
  93821. firstChild(t) {
  93822. const n = findNode(t, this._root);
  93823. return n && n.children.length > 0 ? n.children[0].value : null;
  93824. }
  93825. /**
  93826. * @internal
  93827. */
  93828. siblings(t) {
  93829. const p = findPath(t, this._root);
  93830. if (p.length < 2) return [];
  93831. const c = p[p.length - 2].children.map(c => c.value);
  93832. return c.filter(cc => cc !== t);
  93833. }
  93834. /**
  93835. * @internal
  93836. */
  93837. pathFromRoot(t) {
  93838. return findPath(t, this._root).map(s => s.value);
  93839. }
  93840. } // DFS for the node matching the value
  93841. function findNode(value, node) {
  93842. if (value === node.value) return node;
  93843. for (const child of node.children) {
  93844. const node = findNode(value, child);
  93845. if (node) return node;
  93846. }
  93847. return null;
  93848. } // Return the path to the node with the given value using DFS
  93849. function findPath(value, node) {
  93850. if (value === node.value) return [node];
  93851. for (const child of node.children) {
  93852. const path = findPath(value, child);
  93853. if (path.length) {
  93854. path.unshift(node);
  93855. return path;
  93856. }
  93857. }
  93858. return [];
  93859. }
  93860. class TreeNode {
  93861. constructor(value, children) {
  93862. this.value = value;
  93863. this.children = children;
  93864. }
  93865. toString() {
  93866. return `TreeNode(${this.value})`;
  93867. }
  93868. } // Return the list of T indexed by outlet name
  93869. function nodeChildrenAsMap(node) {
  93870. const map = {};
  93871. if (node) {
  93872. node.children.forEach(child => map[child.value.outlet] = child);
  93873. }
  93874. return map;
  93875. }
  93876. /**
  93877. * @license
  93878. * Copyright Google LLC All Rights Reserved.
  93879. *
  93880. * Use of this source code is governed by an MIT-style license that can be
  93881. * found in the LICENSE file at https://angular.io/license
  93882. */
  93883. /**
  93884. * Represents the state of the router as a tree of activated routes.
  93885. *
  93886. * @usageNotes
  93887. *
  93888. * Every node in the route tree is an `ActivatedRoute` instance
  93889. * that knows about the "consumed" URL segments, the extracted parameters,
  93890. * and the resolved data.
  93891. * Use the `ActivatedRoute` properties to traverse the tree from any node.
  93892. *
  93893. * The following fragment shows how a component gets the root node
  93894. * of the current state to establish its own route tree:
  93895. *
  93896. * ```
  93897. * @Component({templateUrl:'template.html'})
  93898. * class MyComponent {
  93899. * constructor(router: Router) {
  93900. * const state: RouterState = router.routerState;
  93901. * const root: ActivatedRoute = state.root;
  93902. * const child = root.firstChild;
  93903. * const id: Observable<string> = child.params.map(p => p.id);
  93904. * //...
  93905. * }
  93906. * }
  93907. * ```
  93908. *
  93909. * @see `ActivatedRoute`
  93910. * @see [Getting route information](guide/router#getting-route-information)
  93911. *
  93912. * @publicApi
  93913. */
  93914. class RouterState extends Tree {
  93915. /** @internal */
  93916. constructor(root,
  93917. /** The current snapshot of the router state */
  93918. snapshot) {
  93919. super(root);
  93920. this.snapshot = snapshot;
  93921. setRouterState(this, root);
  93922. }
  93923. toString() {
  93924. return this.snapshot.toString();
  93925. }
  93926. }
  93927. function createEmptyState(urlTree, rootComponent) {
  93928. const snapshot = createEmptyStateSnapshot(urlTree, rootComponent);
  93929. const emptyUrl = new rxjs__WEBPACK_IMPORTED_MODULE_3__.BehaviorSubject([new UrlSegment('', {})]);
  93930. const emptyParams = new rxjs__WEBPACK_IMPORTED_MODULE_3__.BehaviorSubject({});
  93931. const emptyData = new rxjs__WEBPACK_IMPORTED_MODULE_3__.BehaviorSubject({});
  93932. const emptyQueryParams = new rxjs__WEBPACK_IMPORTED_MODULE_3__.BehaviorSubject({});
  93933. const fragment = new rxjs__WEBPACK_IMPORTED_MODULE_3__.BehaviorSubject('');
  93934. const activated = new ActivatedRoute(emptyUrl, emptyParams, emptyQueryParams, fragment, emptyData, PRIMARY_OUTLET, rootComponent, snapshot.root);
  93935. activated.snapshot = snapshot.root;
  93936. return new RouterState(new TreeNode(activated, []), snapshot);
  93937. }
  93938. function createEmptyStateSnapshot(urlTree, rootComponent) {
  93939. const emptyParams = {};
  93940. const emptyData = {};
  93941. const emptyQueryParams = {};
  93942. const fragment = '';
  93943. const activated = new ActivatedRouteSnapshot([], emptyParams, emptyQueryParams, fragment, emptyData, PRIMARY_OUTLET, rootComponent, null, urlTree.root, -1, {});
  93944. return new RouterStateSnapshot('', new TreeNode(activated, []));
  93945. }
  93946. /**
  93947. * Provides access to information about a route associated with a component
  93948. * that is loaded in an outlet.
  93949. * Use to traverse the `RouterState` tree and extract information from nodes.
  93950. *
  93951. * The following example shows how to construct a component using information from a
  93952. * currently activated route.
  93953. *
  93954. * Note: the observables in this class only emit when the current and previous values differ based
  93955. * on shallow equality. For example, changing deeply nested properties in resolved `data` will not
  93956. * cause the `ActivatedRoute.data` `Observable` to emit a new value.
  93957. *
  93958. * {@example router/activated-route/module.ts region="activated-route"
  93959. * header="activated-route.component.ts"}
  93960. *
  93961. * @see [Getting route information](guide/router#getting-route-information)
  93962. *
  93963. * @publicApi
  93964. */
  93965. class ActivatedRoute {
  93966. /** @internal */
  93967. constructor(
  93968. /** An observable of the URL segments matched by this route. */
  93969. url,
  93970. /** An observable of the matrix parameters scoped to this route. */
  93971. params,
  93972. /** An observable of the query parameters shared by all the routes. */
  93973. queryParams,
  93974. /** An observable of the URL fragment shared by all the routes. */
  93975. fragment,
  93976. /** An observable of the static and resolved data of this route. */
  93977. data,
  93978. /** The outlet name of the route, a constant. */
  93979. outlet,
  93980. /** The component of the route, a constant. */
  93981. component, futureSnapshot) {
  93982. var _a, _b;
  93983. this.url = url;
  93984. this.params = params;
  93985. this.queryParams = queryParams;
  93986. this.fragment = fragment;
  93987. this.data = data;
  93988. this.outlet = outlet;
  93989. this.component = component;
  93990. /** An Observable of the resolved route title */
  93991. this.title = (_b = (_a = this.data) === null || _a === void 0 ? void 0 : _a.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(d => d[RouteTitleKey]))) !== null && _b !== void 0 ? _b : (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(undefined);
  93992. this._futureSnapshot = futureSnapshot;
  93993. }
  93994. /** The configuration used to match this route. */
  93995. get routeConfig() {
  93996. return this._futureSnapshot.routeConfig;
  93997. }
  93998. /** The root of the router state. */
  93999. get root() {
  94000. return this._routerState.root;
  94001. }
  94002. /** The parent of this route in the router state tree. */
  94003. get parent() {
  94004. return this._routerState.parent(this);
  94005. }
  94006. /** The first child of this route in the router state tree. */
  94007. get firstChild() {
  94008. return this._routerState.firstChild(this);
  94009. }
  94010. /** The children of this route in the router state tree. */
  94011. get children() {
  94012. return this._routerState.children(this);
  94013. }
  94014. /** The path from the root of the router state tree to this route. */
  94015. get pathFromRoot() {
  94016. return this._routerState.pathFromRoot(this);
  94017. }
  94018. /**
  94019. * An Observable that contains a map of the required and optional parameters
  94020. * specific to the route.
  94021. * The map supports retrieving single and multiple values from the same parameter.
  94022. */
  94023. get paramMap() {
  94024. if (!this._paramMap) {
  94025. this._paramMap = this.params.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(p => convertToParamMap(p)));
  94026. }
  94027. return this._paramMap;
  94028. }
  94029. /**
  94030. * An Observable that contains a map of the query parameters available to all routes.
  94031. * The map supports retrieving single and multiple values from the query parameter.
  94032. */
  94033. get queryParamMap() {
  94034. if (!this._queryParamMap) {
  94035. this._queryParamMap = this.queryParams.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(p => convertToParamMap(p)));
  94036. }
  94037. return this._queryParamMap;
  94038. }
  94039. toString() {
  94040. return this.snapshot ? this.snapshot.toString() : `Future(${this._futureSnapshot})`;
  94041. }
  94042. }
  94043. /**
  94044. * Returns the inherited params, data, and resolve for a given route.
  94045. * By default, this only inherits values up to the nearest path-less or component-less route.
  94046. * @internal
  94047. */
  94048. function inheritedParamsDataResolve(route, paramsInheritanceStrategy = 'emptyOnly') {
  94049. const pathFromRoot = route.pathFromRoot;
  94050. let inheritingStartingFrom = 0;
  94051. if (paramsInheritanceStrategy !== 'always') {
  94052. inheritingStartingFrom = pathFromRoot.length - 1;
  94053. while (inheritingStartingFrom >= 1) {
  94054. const current = pathFromRoot[inheritingStartingFrom];
  94055. const parent = pathFromRoot[inheritingStartingFrom - 1]; // current route is an empty path => inherits its parent's params and data
  94056. if (current.routeConfig && current.routeConfig.path === '') {
  94057. inheritingStartingFrom--; // parent is componentless => current route should inherit its params and data
  94058. } else if (!parent.component) {
  94059. inheritingStartingFrom--;
  94060. } else {
  94061. break;
  94062. }
  94063. }
  94064. }
  94065. return flattenInherited(pathFromRoot.slice(inheritingStartingFrom));
  94066. }
  94067. /** @internal */
  94068. function flattenInherited(pathFromRoot) {
  94069. return pathFromRoot.reduce((res, curr) => {
  94070. var _a;
  94071. const params = Object.assign(Object.assign({}, res.params), curr.params);
  94072. const data = Object.assign(Object.assign({}, res.data), curr.data);
  94073. const resolve = Object.assign(Object.assign(Object.assign(Object.assign({}, curr.data), res.resolve), (_a = curr.routeConfig) === null || _a === void 0 ? void 0 : _a.data), curr._resolvedData);
  94074. return {
  94075. params,
  94076. data,
  94077. resolve
  94078. };
  94079. }, {
  94080. params: {},
  94081. data: {},
  94082. resolve: {}
  94083. });
  94084. }
  94085. /**
  94086. * @description
  94087. *
  94088. * Contains the information about a route associated with a component loaded in an
  94089. * outlet at a particular moment in time. ActivatedRouteSnapshot can also be used to
  94090. * traverse the router state tree.
  94091. *
  94092. * The following example initializes a component with route information extracted
  94093. * from the snapshot of the root node at the time of creation.
  94094. *
  94095. * ```
  94096. * @Component({templateUrl:'./my-component.html'})
  94097. * class MyComponent {
  94098. * constructor(route: ActivatedRoute) {
  94099. * const id: string = route.snapshot.params.id;
  94100. * const url: string = route.snapshot.url.join('');
  94101. * const user = route.snapshot.data.user;
  94102. * }
  94103. * }
  94104. * ```
  94105. *
  94106. * @publicApi
  94107. */
  94108. class ActivatedRouteSnapshot {
  94109. /** @internal */
  94110. constructor(
  94111. /** The URL segments matched by this route */
  94112. url,
  94113. /**
  94114. * The matrix parameters scoped to this route.
  94115. *
  94116. * You can compute all params (or data) in the router state or to get params outside
  94117. * of an activated component by traversing the `RouterState` tree as in the following
  94118. * example:
  94119. * ```
  94120. * collectRouteParams(router: Router) {
  94121. * let params = {};
  94122. * let stack: ActivatedRouteSnapshot[] = [router.routerState.snapshot.root];
  94123. * while (stack.length > 0) {
  94124. * const route = stack.pop()!;
  94125. * params = {...params, ...route.params};
  94126. * stack.push(...route.children);
  94127. * }
  94128. * return params;
  94129. * }
  94130. * ```
  94131. */
  94132. params,
  94133. /** The query parameters shared by all the routes */
  94134. queryParams,
  94135. /** The URL fragment shared by all the routes */
  94136. fragment,
  94137. /** The static and resolved data of this route */
  94138. data,
  94139. /** The outlet name of the route */
  94140. outlet,
  94141. /** The component of the route */
  94142. component, routeConfig, urlSegment, lastPathIndex, resolve, correctedLastPathIndex) {
  94143. var _a;
  94144. this.url = url;
  94145. this.params = params;
  94146. this.queryParams = queryParams;
  94147. this.fragment = fragment;
  94148. this.data = data;
  94149. this.outlet = outlet;
  94150. this.component = component;
  94151. /** The resolved route title */
  94152. this.title = (_a = this.data) === null || _a === void 0 ? void 0 : _a[RouteTitleKey];
  94153. this.routeConfig = routeConfig;
  94154. this._urlSegment = urlSegment;
  94155. this._lastPathIndex = lastPathIndex;
  94156. this._correctedLastPathIndex = correctedLastPathIndex !== null && correctedLastPathIndex !== void 0 ? correctedLastPathIndex : lastPathIndex;
  94157. this._resolve = resolve;
  94158. }
  94159. /** The root of the router state */
  94160. get root() {
  94161. return this._routerState.root;
  94162. }
  94163. /** The parent of this route in the router state tree */
  94164. get parent() {
  94165. return this._routerState.parent(this);
  94166. }
  94167. /** The first child of this route in the router state tree */
  94168. get firstChild() {
  94169. return this._routerState.firstChild(this);
  94170. }
  94171. /** The children of this route in the router state tree */
  94172. get children() {
  94173. return this._routerState.children(this);
  94174. }
  94175. /** The path from the root of the router state tree to this route */
  94176. get pathFromRoot() {
  94177. return this._routerState.pathFromRoot(this);
  94178. }
  94179. get paramMap() {
  94180. if (!this._paramMap) {
  94181. this._paramMap = convertToParamMap(this.params);
  94182. }
  94183. return this._paramMap;
  94184. }
  94185. get queryParamMap() {
  94186. if (!this._queryParamMap) {
  94187. this._queryParamMap = convertToParamMap(this.queryParams);
  94188. }
  94189. return this._queryParamMap;
  94190. }
  94191. toString() {
  94192. const url = this.url.map(segment => segment.toString()).join('/');
  94193. const matched = this.routeConfig ? this.routeConfig.path : '';
  94194. return `Route(url:'${url}', path:'${matched}')`;
  94195. }
  94196. }
  94197. /**
  94198. * @description
  94199. *
  94200. * Represents the state of the router at a moment in time.
  94201. *
  94202. * This is a tree of activated route snapshots. Every node in this tree knows about
  94203. * the "consumed" URL segments, the extracted parameters, and the resolved data.
  94204. *
  94205. * The following example shows how a component is initialized with information
  94206. * from the snapshot of the root node's state at the time of creation.
  94207. *
  94208. * ```
  94209. * @Component({templateUrl:'template.html'})
  94210. * class MyComponent {
  94211. * constructor(router: Router) {
  94212. * const state: RouterState = router.routerState;
  94213. * const snapshot: RouterStateSnapshot = state.snapshot;
  94214. * const root: ActivatedRouteSnapshot = snapshot.root;
  94215. * const child = root.firstChild;
  94216. * const id: Observable<string> = child.params.map(p => p.id);
  94217. * //...
  94218. * }
  94219. * }
  94220. * ```
  94221. *
  94222. * @publicApi
  94223. */
  94224. class RouterStateSnapshot extends Tree {
  94225. /** @internal */
  94226. constructor(
  94227. /** The url from which this snapshot was created */
  94228. url, root) {
  94229. super(root);
  94230. this.url = url;
  94231. setRouterState(this, root);
  94232. }
  94233. toString() {
  94234. return serializeNode(this._root);
  94235. }
  94236. }
  94237. function setRouterState(state, node) {
  94238. node.value._routerState = state;
  94239. node.children.forEach(c => setRouterState(state, c));
  94240. }
  94241. function serializeNode(node) {
  94242. const c = node.children.length > 0 ? ` { ${node.children.map(serializeNode).join(', ')} } ` : '';
  94243. return `${node.value}${c}`;
  94244. }
  94245. /**
  94246. * The expectation is that the activate route is created with the right set of parameters.
  94247. * So we push new values into the observables only when they are not the initial values.
  94248. * And we detect that by checking if the snapshot field is set.
  94249. */
  94250. function advanceActivatedRoute(route) {
  94251. if (route.snapshot) {
  94252. const currentSnapshot = route.snapshot;
  94253. const nextSnapshot = route._futureSnapshot;
  94254. route.snapshot = nextSnapshot;
  94255. if (!shallowEqual(currentSnapshot.queryParams, nextSnapshot.queryParams)) {
  94256. route.queryParams.next(nextSnapshot.queryParams);
  94257. }
  94258. if (currentSnapshot.fragment !== nextSnapshot.fragment) {
  94259. route.fragment.next(nextSnapshot.fragment);
  94260. }
  94261. if (!shallowEqual(currentSnapshot.params, nextSnapshot.params)) {
  94262. route.params.next(nextSnapshot.params);
  94263. }
  94264. if (!shallowEqualArrays(currentSnapshot.url, nextSnapshot.url)) {
  94265. route.url.next(nextSnapshot.url);
  94266. }
  94267. if (!shallowEqual(currentSnapshot.data, nextSnapshot.data)) {
  94268. route.data.next(nextSnapshot.data);
  94269. }
  94270. } else {
  94271. route.snapshot = route._futureSnapshot; // this is for resolved data
  94272. route.data.next(route._futureSnapshot.data);
  94273. }
  94274. }
  94275. function equalParamsAndUrlSegments(a, b) {
  94276. const equalUrlParams = shallowEqual(a.params, b.params) && equalSegments(a.url, b.url);
  94277. const parentsMismatch = !a.parent !== !b.parent;
  94278. return equalUrlParams && !parentsMismatch && (!a.parent || equalParamsAndUrlSegments(a.parent, b.parent));
  94279. }
  94280. /**
  94281. * @license
  94282. * Copyright Google LLC All Rights Reserved.
  94283. *
  94284. * Use of this source code is governed by an MIT-style license that can be
  94285. * found in the LICENSE file at https://angular.io/license
  94286. */
  94287. function createRouterState(routeReuseStrategy, curr, prevState) {
  94288. const root = createNode(routeReuseStrategy, curr._root, prevState ? prevState._root : undefined);
  94289. return new RouterState(root, curr);
  94290. }
  94291. function createNode(routeReuseStrategy, curr, prevState) {
  94292. // reuse an activated route that is currently displayed on the screen
  94293. if (prevState && routeReuseStrategy.shouldReuseRoute(curr.value, prevState.value.snapshot)) {
  94294. const value = prevState.value;
  94295. value._futureSnapshot = curr.value;
  94296. const children = createOrReuseChildren(routeReuseStrategy, curr, prevState);
  94297. return new TreeNode(value, children);
  94298. } else {
  94299. if (routeReuseStrategy.shouldAttach(curr.value)) {
  94300. // retrieve an activated route that is used to be displayed, but is not currently displayed
  94301. const detachedRouteHandle = routeReuseStrategy.retrieve(curr.value);
  94302. if (detachedRouteHandle !== null) {
  94303. const tree = detachedRouteHandle.route;
  94304. tree.value._futureSnapshot = curr.value;
  94305. tree.children = curr.children.map(c => createNode(routeReuseStrategy, c));
  94306. return tree;
  94307. }
  94308. }
  94309. const value = createActivatedRoute(curr.value);
  94310. const children = curr.children.map(c => createNode(routeReuseStrategy, c));
  94311. return new TreeNode(value, children);
  94312. }
  94313. }
  94314. function createOrReuseChildren(routeReuseStrategy, curr, prevState) {
  94315. return curr.children.map(child => {
  94316. for (const p of prevState.children) {
  94317. if (routeReuseStrategy.shouldReuseRoute(child.value, p.value.snapshot)) {
  94318. return createNode(routeReuseStrategy, child, p);
  94319. }
  94320. }
  94321. return createNode(routeReuseStrategy, child);
  94322. });
  94323. }
  94324. function createActivatedRoute(c) {
  94325. return new ActivatedRoute(new rxjs__WEBPACK_IMPORTED_MODULE_3__.BehaviorSubject(c.url), new rxjs__WEBPACK_IMPORTED_MODULE_3__.BehaviorSubject(c.params), new rxjs__WEBPACK_IMPORTED_MODULE_3__.BehaviorSubject(c.queryParams), new rxjs__WEBPACK_IMPORTED_MODULE_3__.BehaviorSubject(c.fragment), new rxjs__WEBPACK_IMPORTED_MODULE_3__.BehaviorSubject(c.data), c.outlet, c.component, c);
  94326. }
  94327. /**
  94328. * @license
  94329. * Copyright Google LLC All Rights Reserved.
  94330. *
  94331. * Use of this source code is governed by an MIT-style license that can be
  94332. * found in the LICENSE file at https://angular.io/license
  94333. */
  94334. const NAVIGATION_CANCELING_ERROR = 'ngNavigationCancelingError';
  94335. function redirectingNavigationError(urlSerializer, redirect) {
  94336. const {
  94337. redirectTo,
  94338. navigationBehaviorOptions
  94339. } = isUrlTree(redirect) ? {
  94340. redirectTo: redirect,
  94341. navigationBehaviorOptions: undefined
  94342. } : redirect;
  94343. const error = navigationCancelingError(ngDevMode && `Redirecting to "${urlSerializer.serialize(redirectTo)}"`, 0
  94344. /* NavigationCancellationCode.Redirect */
  94345. , redirect);
  94346. error.url = redirectTo;
  94347. error.navigationBehaviorOptions = navigationBehaviorOptions;
  94348. return error;
  94349. }
  94350. function navigationCancelingError(message, code, redirectUrl) {
  94351. const error = new Error('NavigationCancelingError: ' + (message || ''));
  94352. error[NAVIGATION_CANCELING_ERROR] = true;
  94353. error.cancellationCode = code;
  94354. if (redirectUrl) {
  94355. error.url = redirectUrl;
  94356. }
  94357. return error;
  94358. }
  94359. function isRedirectingNavigationCancelingError$1(error) {
  94360. return isNavigationCancelingError$1(error) && isUrlTree(error.url);
  94361. }
  94362. function isNavigationCancelingError$1(error) {
  94363. return error && error[NAVIGATION_CANCELING_ERROR];
  94364. }
  94365. /**
  94366. * @license
  94367. * Copyright Google LLC All Rights Reserved.
  94368. *
  94369. * Use of this source code is governed by an MIT-style license that can be
  94370. * found in the LICENSE file at https://angular.io/license
  94371. */
  94372. /**
  94373. * Store contextual information about a `RouterOutlet`
  94374. *
  94375. * @publicApi
  94376. */
  94377. class OutletContext {
  94378. constructor() {
  94379. this.outlet = null;
  94380. this.route = null;
  94381. /**
  94382. * @deprecated Passing a resolver to retrieve a component factory is not required and is
  94383. * deprecated since v14.
  94384. */
  94385. this.resolver = null;
  94386. this.injector = null;
  94387. this.children = new ChildrenOutletContexts();
  94388. this.attachRef = null;
  94389. }
  94390. }
  94391. /**
  94392. * Store contextual information about the children (= nested) `RouterOutlet`
  94393. *
  94394. * @publicApi
  94395. */
  94396. class ChildrenOutletContexts {
  94397. constructor() {
  94398. // contexts for child outlets, by name.
  94399. this.contexts = new Map();
  94400. }
  94401. /** Called when a `RouterOutlet` directive is instantiated */
  94402. onChildOutletCreated(childName, outlet) {
  94403. const context = this.getOrCreateContext(childName);
  94404. context.outlet = outlet;
  94405. this.contexts.set(childName, context);
  94406. }
  94407. /**
  94408. * Called when a `RouterOutlet` directive is destroyed.
  94409. * We need to keep the context as the outlet could be destroyed inside a NgIf and might be
  94410. * re-created later.
  94411. */
  94412. onChildOutletDestroyed(childName) {
  94413. const context = this.getContext(childName);
  94414. if (context) {
  94415. context.outlet = null;
  94416. context.attachRef = null;
  94417. }
  94418. }
  94419. /**
  94420. * Called when the corresponding route is deactivated during navigation.
  94421. * Because the component get destroyed, all children outlet are destroyed.
  94422. */
  94423. onOutletDeactivated() {
  94424. const contexts = this.contexts;
  94425. this.contexts = new Map();
  94426. return contexts;
  94427. }
  94428. onOutletReAttached(contexts) {
  94429. this.contexts = contexts;
  94430. }
  94431. getOrCreateContext(childName) {
  94432. let context = this.getContext(childName);
  94433. if (!context) {
  94434. context = new OutletContext();
  94435. this.contexts.set(childName, context);
  94436. }
  94437. return context;
  94438. }
  94439. getContext(childName) {
  94440. return this.contexts.get(childName) || null;
  94441. }
  94442. }
  94443. ChildrenOutletContexts.ɵfac = function ChildrenOutletContexts_Factory(t) {
  94444. return new (t || ChildrenOutletContexts)();
  94445. };
  94446. ChildrenOutletContexts.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
  94447. token: ChildrenOutletContexts,
  94448. factory: ChildrenOutletContexts.ɵfac,
  94449. providedIn: 'root'
  94450. });
  94451. (function () {
  94452. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ChildrenOutletContexts, [{
  94453. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
  94454. args: [{
  94455. providedIn: 'root'
  94456. }]
  94457. }], null, null);
  94458. })();
  94459. /**
  94460. * @license
  94461. * Copyright Google LLC All Rights Reserved.
  94462. *
  94463. * Use of this source code is governed by an MIT-style license that can be
  94464. * found in the LICENSE file at https://angular.io/license
  94465. */
  94466. const NG_DEV_MODE$7 = typeof ngDevMode === 'undefined' || ngDevMode;
  94467. /**
  94468. * @description
  94469. *
  94470. * Acts as a placeholder that Angular dynamically fills based on the current router state.
  94471. *
  94472. * Each outlet can have a unique name, determined by the optional `name` attribute.
  94473. * The name cannot be set or changed dynamically. If not set, default value is "primary".
  94474. *
  94475. * ```
  94476. * <router-outlet></router-outlet>
  94477. * <router-outlet name='left'></router-outlet>
  94478. * <router-outlet name='right'></router-outlet>
  94479. * ```
  94480. *
  94481. * Named outlets can be the targets of secondary routes.
  94482. * The `Route` object for a secondary route has an `outlet` property to identify the target outlet:
  94483. *
  94484. * `{path: <base-path>, component: <component>, outlet: <target_outlet_name>}`
  94485. *
  94486. * Using named outlets and secondary routes, you can target multiple outlets in
  94487. * the same `RouterLink` directive.
  94488. *
  94489. * The router keeps track of separate branches in a navigation tree for each named outlet and
  94490. * generates a representation of that tree in the URL.
  94491. * The URL for a secondary route uses the following syntax to specify both the primary and secondary
  94492. * routes at the same time:
  94493. *
  94494. * `http://base-path/primary-route-path(outlet-name:route-path)`
  94495. *
  94496. * A router outlet emits an activate event when a new component is instantiated,
  94497. * deactivate event when a component is destroyed.
  94498. * An attached event emits when the `RouteReuseStrategy` instructs the outlet to reattach the
  94499. * subtree, and the detached event emits when the `RouteReuseStrategy` instructs the outlet to
  94500. * detach the subtree.
  94501. *
  94502. * ```
  94503. * <router-outlet
  94504. * (activate)='onActivate($event)'
  94505. * (deactivate)='onDeactivate($event)'
  94506. * (attach)='onAttach($event)'
  94507. * (detach)='onDetach($event)'></router-outlet>
  94508. * ```
  94509. *
  94510. * @see [Routing tutorial](guide/router-tutorial-toh#named-outlets "Example of a named
  94511. * outlet and secondary route configuration").
  94512. * @see `RouterLink`
  94513. * @see `Route`
  94514. * @ngModule RouterModule
  94515. *
  94516. * @publicApi
  94517. */
  94518. class RouterOutlet {
  94519. constructor(parentContexts, location, name, changeDetector, environmentInjector) {
  94520. this.parentContexts = parentContexts;
  94521. this.location = location;
  94522. this.changeDetector = changeDetector;
  94523. this.environmentInjector = environmentInjector;
  94524. this.activated = null;
  94525. this._activatedRoute = null;
  94526. this.activateEvents = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
  94527. this.deactivateEvents = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
  94528. /**
  94529. * Emits an attached component instance when the `RouteReuseStrategy` instructs to re-attach a
  94530. * previously detached subtree.
  94531. **/
  94532. this.attachEvents = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
  94533. /**
  94534. * Emits a detached component instance when the `RouteReuseStrategy` instructs to detach the
  94535. * subtree.
  94536. */
  94537. this.detachEvents = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
  94538. this.name = name || PRIMARY_OUTLET;
  94539. parentContexts.onChildOutletCreated(this.name, this);
  94540. }
  94541. /** @nodoc */
  94542. ngOnDestroy() {
  94543. var _a; // Ensure that the registered outlet is this one before removing it on the context.
  94544. if (((_a = this.parentContexts.getContext(this.name)) === null || _a === void 0 ? void 0 : _a.outlet) === this) {
  94545. this.parentContexts.onChildOutletDestroyed(this.name);
  94546. }
  94547. }
  94548. /** @nodoc */
  94549. ngOnInit() {
  94550. if (!this.activated) {
  94551. // If the outlet was not instantiated at the time the route got activated we need to populate
  94552. // the outlet when it is initialized (ie inside a NgIf)
  94553. const context = this.parentContexts.getContext(this.name);
  94554. if (context && context.route) {
  94555. if (context.attachRef) {
  94556. // `attachRef` is populated when there is an existing component to mount
  94557. this.attach(context.attachRef, context.route);
  94558. } else {
  94559. // otherwise the component defined in the configuration is created
  94560. this.activateWith(context.route, context.injector);
  94561. }
  94562. }
  94563. }
  94564. }
  94565. get isActivated() {
  94566. return !!this.activated;
  94567. }
  94568. /**
  94569. * @returns The currently activated component instance.
  94570. * @throws An error if the outlet is not activated.
  94571. */
  94572. get component() {
  94573. if (!this.activated) throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4012
  94574. /* RuntimeErrorCode.OUTLET_NOT_ACTIVATED */
  94575. , NG_DEV_MODE$7 && 'Outlet is not activated');
  94576. return this.activated.instance;
  94577. }
  94578. get activatedRoute() {
  94579. if (!this.activated) throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4012
  94580. /* RuntimeErrorCode.OUTLET_NOT_ACTIVATED */
  94581. , NG_DEV_MODE$7 && 'Outlet is not activated');
  94582. return this._activatedRoute;
  94583. }
  94584. get activatedRouteData() {
  94585. if (this._activatedRoute) {
  94586. return this._activatedRoute.snapshot.data;
  94587. }
  94588. return {};
  94589. }
  94590. /**
  94591. * Called when the `RouteReuseStrategy` instructs to detach the subtree
  94592. */
  94593. detach() {
  94594. if (!this.activated) throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4012
  94595. /* RuntimeErrorCode.OUTLET_NOT_ACTIVATED */
  94596. , NG_DEV_MODE$7 && 'Outlet is not activated');
  94597. this.location.detach();
  94598. const cmp = this.activated;
  94599. this.activated = null;
  94600. this._activatedRoute = null;
  94601. this.detachEvents.emit(cmp.instance);
  94602. return cmp;
  94603. }
  94604. /**
  94605. * Called when the `RouteReuseStrategy` instructs to re-attach a previously detached subtree
  94606. */
  94607. attach(ref, activatedRoute) {
  94608. this.activated = ref;
  94609. this._activatedRoute = activatedRoute;
  94610. this.location.insert(ref.hostView);
  94611. this.attachEvents.emit(ref.instance);
  94612. }
  94613. deactivate() {
  94614. if (this.activated) {
  94615. const c = this.component;
  94616. this.activated.destroy();
  94617. this.activated = null;
  94618. this._activatedRoute = null;
  94619. this.deactivateEvents.emit(c);
  94620. }
  94621. }
  94622. activateWith(activatedRoute, resolverOrInjector) {
  94623. if (this.isActivated) {
  94624. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4013
  94625. /* RuntimeErrorCode.OUTLET_ALREADY_ACTIVATED */
  94626. , NG_DEV_MODE$7 && 'Cannot activate an already activated outlet');
  94627. }
  94628. this._activatedRoute = activatedRoute;
  94629. const location = this.location;
  94630. const snapshot = activatedRoute._futureSnapshot;
  94631. const component = snapshot.component;
  94632. const childContexts = this.parentContexts.getOrCreateContext(this.name).children;
  94633. const injector = new OutletInjector(activatedRoute, childContexts, location.injector);
  94634. if (resolverOrInjector && isComponentFactoryResolver(resolverOrInjector)) {
  94635. const factory = resolverOrInjector.resolveComponentFactory(component);
  94636. this.activated = location.createComponent(factory, location.length, injector);
  94637. } else {
  94638. const environmentInjector = resolverOrInjector !== null && resolverOrInjector !== void 0 ? resolverOrInjector : this.environmentInjector;
  94639. this.activated = location.createComponent(component, {
  94640. index: location.length,
  94641. injector,
  94642. environmentInjector
  94643. });
  94644. } // Calling `markForCheck` to make sure we will run the change detection when the
  94645. // `RouterOutlet` is inside a `ChangeDetectionStrategy.OnPush` component.
  94646. this.changeDetector.markForCheck();
  94647. this.activateEvents.emit(this.activated.instance);
  94648. }
  94649. }
  94650. RouterOutlet.ɵfac = function RouterOutlet_Factory(t) {
  94651. return new (t || RouterOutlet)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](ChildrenOutletContexts), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinjectAttribute"]('name'), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.EnvironmentInjector));
  94652. };
  94653. RouterOutlet.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  94654. type: RouterOutlet,
  94655. selectors: [["router-outlet"]],
  94656. outputs: {
  94657. activateEvents: "activate",
  94658. deactivateEvents: "deactivate",
  94659. attachEvents: "attach",
  94660. detachEvents: "detach"
  94661. },
  94662. exportAs: ["outlet"],
  94663. standalone: true
  94664. });
  94665. (function () {
  94666. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](RouterOutlet, [{
  94667. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  94668. args: [{
  94669. selector: 'router-outlet',
  94670. exportAs: 'outlet',
  94671. standalone: true
  94672. }]
  94673. }], function () {
  94674. return [{
  94675. type: ChildrenOutletContexts
  94676. }, {
  94677. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef
  94678. }, {
  94679. type: undefined,
  94680. decorators: [{
  94681. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Attribute,
  94682. args: ['name']
  94683. }]
  94684. }, {
  94685. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ChangeDetectorRef
  94686. }, {
  94687. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.EnvironmentInjector
  94688. }];
  94689. }, {
  94690. activateEvents: [{
  94691. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Output,
  94692. args: ['activate']
  94693. }],
  94694. deactivateEvents: [{
  94695. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Output,
  94696. args: ['deactivate']
  94697. }],
  94698. attachEvents: [{
  94699. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Output,
  94700. args: ['attach']
  94701. }],
  94702. detachEvents: [{
  94703. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Output,
  94704. args: ['detach']
  94705. }]
  94706. });
  94707. })();
  94708. class OutletInjector {
  94709. constructor(route, childContexts, parent) {
  94710. this.route = route;
  94711. this.childContexts = childContexts;
  94712. this.parent = parent;
  94713. }
  94714. get(token, notFoundValue) {
  94715. if (token === ActivatedRoute) {
  94716. return this.route;
  94717. }
  94718. if (token === ChildrenOutletContexts) {
  94719. return this.childContexts;
  94720. }
  94721. return this.parent.get(token, notFoundValue);
  94722. }
  94723. }
  94724. function isComponentFactoryResolver(item) {
  94725. return !!item.resolveComponentFactory;
  94726. }
  94727. /**
  94728. * @license
  94729. * Copyright Google LLC All Rights Reserved.
  94730. *
  94731. * Use of this source code is governed by an MIT-style license that can be
  94732. * found in the LICENSE file at https://angular.io/license
  94733. */
  94734. /**
  94735. * This component is used internally within the router to be a placeholder when an empty
  94736. * router-outlet is needed. For example, with a config such as:
  94737. *
  94738. * `{path: 'parent', outlet: 'nav', children: [...]}`
  94739. *
  94740. * In order to render, there needs to be a component on this config, which will default
  94741. * to this `EmptyOutletComponent`.
  94742. */
  94743. class ɵEmptyOutletComponent {}
  94744. ɵEmptyOutletComponent.ɵfac = function ɵEmptyOutletComponent_Factory(t) {
  94745. return new (t || ɵEmptyOutletComponent)();
  94746. };
  94747. ɵEmptyOutletComponent.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
  94748. type: ɵEmptyOutletComponent,
  94749. selectors: [["ng-component"]],
  94750. standalone: true,
  94751. features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵStandaloneFeature"]],
  94752. decls: 1,
  94753. vars: 0,
  94754. template: function ɵEmptyOutletComponent_Template(rf, ctx) {
  94755. if (rf & 1) {
  94756. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "router-outlet");
  94757. }
  94758. },
  94759. dependencies: [RouterOutlet],
  94760. encapsulation: 2
  94761. });
  94762. (function () {
  94763. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ɵEmptyOutletComponent, [{
  94764. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Component,
  94765. args: [{
  94766. template: `<router-outlet></router-outlet>`,
  94767. imports: [RouterOutlet],
  94768. standalone: true
  94769. }]
  94770. }], null, null);
  94771. })();
  94772. /**
  94773. * @license
  94774. * Copyright Google LLC All Rights Reserved.
  94775. *
  94776. * Use of this source code is governed by an MIT-style license that can be
  94777. * found in the LICENSE file at https://angular.io/license
  94778. */
  94779. /**
  94780. * Creates an `EnvironmentInjector` if the `Route` has providers and one does not already exist
  94781. * and returns the injector. Otherwise, if the `Route` does not have `providers`, returns the
  94782. * `currentInjector`.
  94783. *
  94784. * @param route The route that might have providers
  94785. * @param currentInjector The parent injector of the `Route`
  94786. */
  94787. function getOrCreateRouteInjectorIfNeeded(route, currentInjector) {
  94788. var _a;
  94789. if (route.providers && !route._injector) {
  94790. route._injector = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.createEnvironmentInjector)(route.providers, currentInjector, `Route: ${route.path}`);
  94791. }
  94792. return (_a = route._injector) !== null && _a !== void 0 ? _a : currentInjector;
  94793. }
  94794. function getLoadedRoutes(route) {
  94795. return route._loadedRoutes;
  94796. }
  94797. function getLoadedInjector(route) {
  94798. return route._loadedInjector;
  94799. }
  94800. function getLoadedComponent(route) {
  94801. return route._loadedComponent;
  94802. }
  94803. function getProvidersInjector(route) {
  94804. return route._injector;
  94805. }
  94806. function validateConfig(config, parentPath = '', requireStandaloneComponents = false) {
  94807. // forEach doesn't iterate undefined values
  94808. for (let i = 0; i < config.length; i++) {
  94809. const route = config[i];
  94810. const fullPath = getFullPath(parentPath, route);
  94811. validateNode(route, fullPath, requireStandaloneComponents);
  94812. }
  94813. }
  94814. function assertStandalone(fullPath, component) {
  94815. if (component && !(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵisStandalone"])(component)) {
  94816. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4014
  94817. /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */
  94818. , `Invalid configuration of route '${fullPath}'. The component must be standalone.`);
  94819. }
  94820. }
  94821. function validateNode(route, fullPath, requireStandaloneComponents) {
  94822. if (typeof ngDevMode === 'undefined' || ngDevMode) {
  94823. if (!route) {
  94824. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4014
  94825. /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */
  94826. , `
  94827. Invalid configuration of route '${fullPath}': Encountered undefined route.
  94828. The reason might be an extra comma.
  94829. Example:
  94830. const routes: Routes = [
  94831. { path: '', redirectTo: '/dashboard', pathMatch: 'full' },
  94832. { path: 'dashboard', component: DashboardComponent },, << two commas
  94833. { path: 'detail/:id', component: HeroDetailComponent }
  94834. ];
  94835. `);
  94836. }
  94837. if (Array.isArray(route)) {
  94838. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4014
  94839. /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */
  94840. , `Invalid configuration of route '${fullPath}': Array cannot be specified`);
  94841. }
  94842. if (!route.component && !route.loadComponent && !route.children && !route.loadChildren && route.outlet && route.outlet !== PRIMARY_OUTLET) {
  94843. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4014
  94844. /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */
  94845. , `Invalid configuration of route '${fullPath}': a componentless route without children or loadChildren cannot have a named outlet set`);
  94846. }
  94847. if (route.redirectTo && route.children) {
  94848. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4014
  94849. /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */
  94850. , `Invalid configuration of route '${fullPath}': redirectTo and children cannot be used together`);
  94851. }
  94852. if (route.redirectTo && route.loadChildren) {
  94853. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4014
  94854. /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */
  94855. , `Invalid configuration of route '${fullPath}': redirectTo and loadChildren cannot be used together`);
  94856. }
  94857. if (route.children && route.loadChildren) {
  94858. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4014
  94859. /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */
  94860. , `Invalid configuration of route '${fullPath}': children and loadChildren cannot be used together`);
  94861. }
  94862. if (route.redirectTo && (route.component || route.loadComponent)) {
  94863. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4014
  94864. /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */
  94865. , `Invalid configuration of route '${fullPath}': redirectTo and component/loadComponent cannot be used together`);
  94866. }
  94867. if (route.component && route.loadComponent) {
  94868. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4014
  94869. /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */
  94870. , `Invalid configuration of route '${fullPath}': component and loadComponent cannot be used together`);
  94871. }
  94872. if (route.redirectTo && route.canActivate) {
  94873. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4014
  94874. /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */
  94875. , `Invalid configuration of route '${fullPath}': redirectTo and canActivate cannot be used together. Redirects happen before activation ` + `so canActivate will never be executed.`);
  94876. }
  94877. if (route.path && route.matcher) {
  94878. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4014
  94879. /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */
  94880. , `Invalid configuration of route '${fullPath}': path and matcher cannot be used together`);
  94881. }
  94882. if (route.redirectTo === void 0 && !route.component && !route.loadComponent && !route.children && !route.loadChildren) {
  94883. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4014
  94884. /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */
  94885. , `Invalid configuration of route '${fullPath}'. One of the following must be provided: component, loadComponent, redirectTo, children or loadChildren`);
  94886. }
  94887. if (route.path === void 0 && route.matcher === void 0) {
  94888. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4014
  94889. /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */
  94890. , `Invalid configuration of route '${fullPath}': routes must have either a path or a matcher specified`);
  94891. }
  94892. if (typeof route.path === 'string' && route.path.charAt(0) === '/') {
  94893. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4014
  94894. /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */
  94895. , `Invalid configuration of route '${fullPath}': path cannot start with a slash`);
  94896. }
  94897. if (route.path === '' && route.redirectTo !== void 0 && route.pathMatch === void 0) {
  94898. const exp = `The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.`;
  94899. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4014
  94900. /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */
  94901. , `Invalid configuration of route '{path: "${fullPath}", redirectTo: "${route.redirectTo}"}': please provide 'pathMatch'. ${exp}`);
  94902. }
  94903. if (requireStandaloneComponents) {
  94904. assertStandalone(fullPath, route.component);
  94905. }
  94906. }
  94907. if (route.children) {
  94908. validateConfig(route.children, fullPath, requireStandaloneComponents);
  94909. }
  94910. }
  94911. function getFullPath(parentPath, currentRoute) {
  94912. if (!currentRoute) {
  94913. return parentPath;
  94914. }
  94915. if (!parentPath && !currentRoute.path) {
  94916. return '';
  94917. } else if (parentPath && !currentRoute.path) {
  94918. return `${parentPath}/`;
  94919. } else if (!parentPath && currentRoute.path) {
  94920. return currentRoute.path;
  94921. } else {
  94922. return `${parentPath}/${currentRoute.path}`;
  94923. }
  94924. }
  94925. /**
  94926. * Makes a copy of the config and adds any default required properties.
  94927. */
  94928. function standardizeConfig(r) {
  94929. const children = r.children && r.children.map(standardizeConfig);
  94930. const c = children ? Object.assign(Object.assign({}, r), {
  94931. children
  94932. }) : Object.assign({}, r);
  94933. if (!c.component && !c.loadComponent && (children || c.loadChildren) && c.outlet && c.outlet !== PRIMARY_OUTLET) {
  94934. c.component = ɵEmptyOutletComponent;
  94935. }
  94936. return c;
  94937. }
  94938. /** Returns the `route.outlet` or PRIMARY_OUTLET if none exists. */
  94939. function getOutlet(route) {
  94940. return route.outlet || PRIMARY_OUTLET;
  94941. }
  94942. /**
  94943. * Sorts the `routes` such that the ones with an outlet matching `outletName` come first.
  94944. * The order of the configs is otherwise preserved.
  94945. */
  94946. function sortByMatchingOutlets(routes, outletName) {
  94947. const sortedConfig = routes.filter(r => getOutlet(r) === outletName);
  94948. sortedConfig.push(...routes.filter(r => getOutlet(r) !== outletName));
  94949. return sortedConfig;
  94950. }
  94951. /**
  94952. * Gets the first injector in the snapshot's parent tree.
  94953. *
  94954. * If the `Route` has a static list of providers, the returned injector will be the one created from
  94955. * those. If it does not exist, the returned injector may come from the parents, which may be from a
  94956. * loaded config or their static providers.
  94957. *
  94958. * Returns `null` if there is neither this nor any parents have a stored injector.
  94959. *
  94960. * Generally used for retrieving the injector to use for getting tokens for guards/resolvers and
  94961. * also used for getting the correct injector to use for creating components.
  94962. */
  94963. function getClosestRouteInjector(snapshot) {
  94964. var _a;
  94965. if (!snapshot) return null; // If the current route has its own injector, which is created from the static providers on the
  94966. // route itself, we should use that. Otherwise, we start at the parent since we do not want to
  94967. // include the lazy loaded injector from this route.
  94968. if ((_a = snapshot.routeConfig) === null || _a === void 0 ? void 0 : _a._injector) {
  94969. return snapshot.routeConfig._injector;
  94970. }
  94971. for (let s = snapshot.parent; s; s = s.parent) {
  94972. const route = s.routeConfig; // Note that the order here is important. `_loadedInjector` stored on the route with
  94973. // `loadChildren: () => NgModule` so it applies to child routes with priority. The `_injector`
  94974. // is created from the static providers on that parent route, so it applies to the children as
  94975. // well, but only if there is no lazy loaded NgModuleRef injector.
  94976. if (route === null || route === void 0 ? void 0 : route._loadedInjector) return route._loadedInjector;
  94977. if (route === null || route === void 0 ? void 0 : route._injector) return route._injector;
  94978. }
  94979. return null;
  94980. }
  94981. /**
  94982. * @license
  94983. * Copyright Google LLC All Rights Reserved.
  94984. *
  94985. * Use of this source code is governed by an MIT-style license that can be
  94986. * found in the LICENSE file at https://angular.io/license
  94987. */
  94988. const activateRoutes = (rootContexts, routeReuseStrategy, forwardEvent) => (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(t => {
  94989. new ActivateRoutes(routeReuseStrategy, t.targetRouterState, t.currentRouterState, forwardEvent).activate(rootContexts);
  94990. return t;
  94991. });
  94992. class ActivateRoutes {
  94993. constructor(routeReuseStrategy, futureState, currState, forwardEvent) {
  94994. this.routeReuseStrategy = routeReuseStrategy;
  94995. this.futureState = futureState;
  94996. this.currState = currState;
  94997. this.forwardEvent = forwardEvent;
  94998. }
  94999. activate(parentContexts) {
  95000. const futureRoot = this.futureState._root;
  95001. const currRoot = this.currState ? this.currState._root : null;
  95002. this.deactivateChildRoutes(futureRoot, currRoot, parentContexts);
  95003. advanceActivatedRoute(this.futureState.root);
  95004. this.activateChildRoutes(futureRoot, currRoot, parentContexts);
  95005. } // De-activate the child route that are not re-used for the future state
  95006. deactivateChildRoutes(futureNode, currNode, contexts) {
  95007. const children = nodeChildrenAsMap(currNode); // Recurse on the routes active in the future state to de-activate deeper children
  95008. futureNode.children.forEach(futureChild => {
  95009. const childOutletName = futureChild.value.outlet;
  95010. this.deactivateRoutes(futureChild, children[childOutletName], contexts);
  95011. delete children[childOutletName];
  95012. }); // De-activate the routes that will not be re-used
  95013. forEach(children, (v, childName) => {
  95014. this.deactivateRouteAndItsChildren(v, contexts);
  95015. });
  95016. }
  95017. deactivateRoutes(futureNode, currNode, parentContext) {
  95018. const future = futureNode.value;
  95019. const curr = currNode ? currNode.value : null;
  95020. if (future === curr) {
  95021. // Reusing the node, check to see if the children need to be de-activated
  95022. if (future.component) {
  95023. // If we have a normal route, we need to go through an outlet.
  95024. const context = parentContext.getContext(future.outlet);
  95025. if (context) {
  95026. this.deactivateChildRoutes(futureNode, currNode, context.children);
  95027. }
  95028. } else {
  95029. // if we have a componentless route, we recurse but keep the same outlet map.
  95030. this.deactivateChildRoutes(futureNode, currNode, parentContext);
  95031. }
  95032. } else {
  95033. if (curr) {
  95034. // Deactivate the current route which will not be re-used
  95035. this.deactivateRouteAndItsChildren(currNode, parentContext);
  95036. }
  95037. }
  95038. }
  95039. deactivateRouteAndItsChildren(route, parentContexts) {
  95040. // If there is no component, the Route is never attached to an outlet (because there is no
  95041. // component to attach).
  95042. if (route.value.component && this.routeReuseStrategy.shouldDetach(route.value.snapshot)) {
  95043. this.detachAndStoreRouteSubtree(route, parentContexts);
  95044. } else {
  95045. this.deactivateRouteAndOutlet(route, parentContexts);
  95046. }
  95047. }
  95048. detachAndStoreRouteSubtree(route, parentContexts) {
  95049. const context = parentContexts.getContext(route.value.outlet);
  95050. const contexts = context && route.value.component ? context.children : parentContexts;
  95051. const children = nodeChildrenAsMap(route);
  95052. for (const childOutlet of Object.keys(children)) {
  95053. this.deactivateRouteAndItsChildren(children[childOutlet], contexts);
  95054. }
  95055. if (context && context.outlet) {
  95056. const componentRef = context.outlet.detach();
  95057. const contexts = context.children.onOutletDeactivated();
  95058. this.routeReuseStrategy.store(route.value.snapshot, {
  95059. componentRef,
  95060. route,
  95061. contexts
  95062. });
  95063. }
  95064. }
  95065. deactivateRouteAndOutlet(route, parentContexts) {
  95066. const context = parentContexts.getContext(route.value.outlet); // The context could be `null` if we are on a componentless route but there may still be
  95067. // children that need deactivating.
  95068. const contexts = context && route.value.component ? context.children : parentContexts;
  95069. const children = nodeChildrenAsMap(route);
  95070. for (const childOutlet of Object.keys(children)) {
  95071. this.deactivateRouteAndItsChildren(children[childOutlet], contexts);
  95072. }
  95073. if (context && context.outlet) {
  95074. // Destroy the component
  95075. context.outlet.deactivate(); // Destroy the contexts for all the outlets that were in the component
  95076. context.children.onOutletDeactivated(); // Clear the information about the attached component on the context but keep the reference to
  95077. // the outlet.
  95078. context.attachRef = null;
  95079. context.resolver = null;
  95080. context.route = null;
  95081. }
  95082. }
  95083. activateChildRoutes(futureNode, currNode, contexts) {
  95084. const children = nodeChildrenAsMap(currNode);
  95085. futureNode.children.forEach(c => {
  95086. this.activateRoutes(c, children[c.value.outlet], contexts);
  95087. this.forwardEvent(new ActivationEnd(c.value.snapshot));
  95088. });
  95089. if (futureNode.children.length) {
  95090. this.forwardEvent(new ChildActivationEnd(futureNode.value.snapshot));
  95091. }
  95092. }
  95093. activateRoutes(futureNode, currNode, parentContexts) {
  95094. var _a;
  95095. const future = futureNode.value;
  95096. const curr = currNode ? currNode.value : null;
  95097. advanceActivatedRoute(future); // reusing the node
  95098. if (future === curr) {
  95099. if (future.component) {
  95100. // If we have a normal route, we need to go through an outlet.
  95101. const context = parentContexts.getOrCreateContext(future.outlet);
  95102. this.activateChildRoutes(futureNode, currNode, context.children);
  95103. } else {
  95104. // if we have a componentless route, we recurse but keep the same outlet map.
  95105. this.activateChildRoutes(futureNode, currNode, parentContexts);
  95106. }
  95107. } else {
  95108. if (future.component) {
  95109. // if we have a normal route, we need to place the component into the outlet and recurse.
  95110. const context = parentContexts.getOrCreateContext(future.outlet);
  95111. if (this.routeReuseStrategy.shouldAttach(future.snapshot)) {
  95112. const stored = this.routeReuseStrategy.retrieve(future.snapshot);
  95113. this.routeReuseStrategy.store(future.snapshot, null);
  95114. context.children.onOutletReAttached(stored.contexts);
  95115. context.attachRef = stored.componentRef;
  95116. context.route = stored.route.value;
  95117. if (context.outlet) {
  95118. // Attach right away when the outlet has already been instantiated
  95119. // Otherwise attach from `RouterOutlet.ngOnInit` when it is instantiated
  95120. context.outlet.attach(stored.componentRef, stored.route.value);
  95121. }
  95122. advanceActivatedRoute(stored.route.value);
  95123. this.activateChildRoutes(futureNode, null, context.children);
  95124. } else {
  95125. const injector = getClosestRouteInjector(future.snapshot);
  95126. const cmpFactoryResolver = (_a = injector === null || injector === void 0 ? void 0 : injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_0__.ComponentFactoryResolver)) !== null && _a !== void 0 ? _a : null;
  95127. context.attachRef = null;
  95128. context.route = future;
  95129. context.resolver = cmpFactoryResolver;
  95130. context.injector = injector;
  95131. if (context.outlet) {
  95132. // Activate the outlet when it has already been instantiated
  95133. // Otherwise it will get activated from its `ngOnInit` when instantiated
  95134. context.outlet.activateWith(future, context.injector);
  95135. }
  95136. this.activateChildRoutes(futureNode, null, context.children);
  95137. }
  95138. } else {
  95139. // if we have a componentless route, we recurse but keep the same outlet map.
  95140. this.activateChildRoutes(futureNode, null, parentContexts);
  95141. }
  95142. }
  95143. }
  95144. }
  95145. /**
  95146. * @license
  95147. * Copyright Google LLC All Rights Reserved.
  95148. *
  95149. * Use of this source code is governed by an MIT-style license that can be
  95150. * found in the LICENSE file at https://angular.io/license
  95151. */
  95152. class CanActivate {
  95153. constructor(path) {
  95154. this.path = path;
  95155. this.route = this.path[this.path.length - 1];
  95156. }
  95157. }
  95158. class CanDeactivate {
  95159. constructor(component, route) {
  95160. this.component = component;
  95161. this.route = route;
  95162. }
  95163. }
  95164. function getAllRouteGuards(future, curr, parentContexts) {
  95165. const futureRoot = future._root;
  95166. const currRoot = curr ? curr._root : null;
  95167. return getChildRouteGuards(futureRoot, currRoot, parentContexts, [futureRoot.value]);
  95168. }
  95169. function getCanActivateChild(p) {
  95170. const canActivateChild = p.routeConfig ? p.routeConfig.canActivateChild : null;
  95171. if (!canActivateChild || canActivateChild.length === 0) return null;
  95172. return {
  95173. node: p,
  95174. guards: canActivateChild
  95175. };
  95176. }
  95177. function getTokenOrFunctionIdentity(tokenOrFunction, injector) {
  95178. const NOT_FOUND = Symbol();
  95179. const result = injector.get(tokenOrFunction, NOT_FOUND);
  95180. if (result === NOT_FOUND) {
  95181. if (typeof tokenOrFunction === 'function' && !(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵisInjectable"])(tokenOrFunction)) {
  95182. // We think the token is just a function so return it as-is
  95183. return tokenOrFunction;
  95184. } else {
  95185. // This will throw the not found error
  95186. return injector.get(tokenOrFunction);
  95187. }
  95188. }
  95189. return result;
  95190. }
  95191. function getChildRouteGuards(futureNode, currNode, contexts, futurePath, checks = {
  95192. canDeactivateChecks: [],
  95193. canActivateChecks: []
  95194. }) {
  95195. const prevChildren = nodeChildrenAsMap(currNode); // Process the children of the future route
  95196. futureNode.children.forEach(c => {
  95197. getRouteGuards(c, prevChildren[c.value.outlet], contexts, futurePath.concat([c.value]), checks);
  95198. delete prevChildren[c.value.outlet];
  95199. }); // Process any children left from the current route (not active for the future route)
  95200. forEach(prevChildren, (v, k) => deactivateRouteAndItsChildren(v, contexts.getContext(k), checks));
  95201. return checks;
  95202. }
  95203. function getRouteGuards(futureNode, currNode, parentContexts, futurePath, checks = {
  95204. canDeactivateChecks: [],
  95205. canActivateChecks: []
  95206. }) {
  95207. const future = futureNode.value;
  95208. const curr = currNode ? currNode.value : null;
  95209. const context = parentContexts ? parentContexts.getContext(futureNode.value.outlet) : null; // reusing the node
  95210. if (curr && future.routeConfig === curr.routeConfig) {
  95211. const shouldRun = shouldRunGuardsAndResolvers(curr, future, future.routeConfig.runGuardsAndResolvers);
  95212. if (shouldRun) {
  95213. checks.canActivateChecks.push(new CanActivate(futurePath));
  95214. } else {
  95215. // we need to set the data
  95216. future.data = curr.data;
  95217. future._resolvedData = curr._resolvedData;
  95218. } // If we have a component, we need to go through an outlet.
  95219. if (future.component) {
  95220. getChildRouteGuards(futureNode, currNode, context ? context.children : null, futurePath, checks); // if we have a componentless route, we recurse but keep the same outlet map.
  95221. } else {
  95222. getChildRouteGuards(futureNode, currNode, parentContexts, futurePath, checks);
  95223. }
  95224. if (shouldRun && context && context.outlet && context.outlet.isActivated) {
  95225. checks.canDeactivateChecks.push(new CanDeactivate(context.outlet.component, curr));
  95226. }
  95227. } else {
  95228. if (curr) {
  95229. deactivateRouteAndItsChildren(currNode, context, checks);
  95230. }
  95231. checks.canActivateChecks.push(new CanActivate(futurePath)); // If we have a component, we need to go through an outlet.
  95232. if (future.component) {
  95233. getChildRouteGuards(futureNode, null, context ? context.children : null, futurePath, checks); // if we have a componentless route, we recurse but keep the same outlet map.
  95234. } else {
  95235. getChildRouteGuards(futureNode, null, parentContexts, futurePath, checks);
  95236. }
  95237. }
  95238. return checks;
  95239. }
  95240. function shouldRunGuardsAndResolvers(curr, future, mode) {
  95241. if (typeof mode === 'function') {
  95242. return mode(curr, future);
  95243. }
  95244. switch (mode) {
  95245. case 'pathParamsChange':
  95246. return !equalPath(curr.url, future.url);
  95247. case 'pathParamsOrQueryParamsChange':
  95248. return !equalPath(curr.url, future.url) || !shallowEqual(curr.queryParams, future.queryParams);
  95249. case 'always':
  95250. return true;
  95251. case 'paramsOrQueryParamsChange':
  95252. return !equalParamsAndUrlSegments(curr, future) || !shallowEqual(curr.queryParams, future.queryParams);
  95253. case 'paramsChange':
  95254. default:
  95255. return !equalParamsAndUrlSegments(curr, future);
  95256. }
  95257. }
  95258. function deactivateRouteAndItsChildren(route, context, checks) {
  95259. const children = nodeChildrenAsMap(route);
  95260. const r = route.value;
  95261. forEach(children, (node, childName) => {
  95262. if (!r.component) {
  95263. deactivateRouteAndItsChildren(node, context, checks);
  95264. } else if (context) {
  95265. deactivateRouteAndItsChildren(node, context.children.getContext(childName), checks);
  95266. } else {
  95267. deactivateRouteAndItsChildren(node, null, checks);
  95268. }
  95269. });
  95270. if (!r.component) {
  95271. checks.canDeactivateChecks.push(new CanDeactivate(null, r));
  95272. } else if (context && context.outlet && context.outlet.isActivated) {
  95273. checks.canDeactivateChecks.push(new CanDeactivate(context.outlet.component, r));
  95274. } else {
  95275. checks.canDeactivateChecks.push(new CanDeactivate(null, r));
  95276. }
  95277. }
  95278. /**
  95279. * @license
  95280. * Copyright Google LLC All Rights Reserved.
  95281. *
  95282. * Use of this source code is governed by an MIT-style license that can be
  95283. * found in the LICENSE file at https://angular.io/license
  95284. */
  95285. /**
  95286. * Simple function check, but generic so type inference will flow. Example:
  95287. *
  95288. * function product(a: number, b: number) {
  95289. * return a * b;
  95290. * }
  95291. *
  95292. * if (isFunction<product>(fn)) {
  95293. * return fn(1, 2);
  95294. * } else {
  95295. * throw "Must provide the `product` function";
  95296. * }
  95297. */
  95298. function isFunction(v) {
  95299. return typeof v === 'function';
  95300. }
  95301. function isBoolean(v) {
  95302. return typeof v === 'boolean';
  95303. }
  95304. function isCanLoad(guard) {
  95305. return guard && isFunction(guard.canLoad);
  95306. }
  95307. function isCanActivate(guard) {
  95308. return guard && isFunction(guard.canActivate);
  95309. }
  95310. function isCanActivateChild(guard) {
  95311. return guard && isFunction(guard.canActivateChild);
  95312. }
  95313. function isCanDeactivate(guard) {
  95314. return guard && isFunction(guard.canDeactivate);
  95315. }
  95316. function isCanMatch(guard) {
  95317. return guard && isFunction(guard.canMatch);
  95318. }
  95319. function isRedirectingNavigationCancelingError(error) {
  95320. return isNavigationCancelingError(error) && isUrlTree(error.url);
  95321. }
  95322. function isNavigationCancelingError(error) {
  95323. return error && error[NAVIGATION_CANCELING_ERROR];
  95324. }
  95325. function isEmptyError(e) {
  95326. return e instanceof rxjs__WEBPACK_IMPORTED_MODULE_5__.EmptyError || (e === null || e === void 0 ? void 0 : e.name) === 'EmptyError';
  95327. }
  95328. /**
  95329. * @license
  95330. * Copyright Google LLC All Rights Reserved.
  95331. *
  95332. * Use of this source code is governed by an MIT-style license that can be
  95333. * found in the LICENSE file at https://angular.io/license
  95334. */
  95335. const INITIAL_VALUE = Symbol('INITIAL_VALUE');
  95336. function prioritizedGuardValue() {
  95337. return (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.switchMap)(obs => {
  95338. return (0,rxjs__WEBPACK_IMPORTED_MODULE_7__.combineLatest)(obs.map(o => o.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.take)(1), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.startWith)(INITIAL_VALUE)))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(results => {
  95339. for (const result of results) {
  95340. if (result === true) {
  95341. // If result is true, check the next one
  95342. continue;
  95343. } else if (result === INITIAL_VALUE) {
  95344. // If guard has not finished, we need to stop processing.
  95345. return INITIAL_VALUE;
  95346. } else if (result === false || result instanceof UrlTree) {
  95347. // Result finished and was not true. Return the result.
  95348. // Note that we only allow false/UrlTree. Other values are considered invalid and
  95349. // ignored.
  95350. return result;
  95351. }
  95352. } // Everything resolved to true. Return true.
  95353. return true;
  95354. }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.filter)(item => item !== INITIAL_VALUE), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.take)(1));
  95355. });
  95356. }
  95357. /**
  95358. * @license
  95359. * Copyright Google LLC All Rights Reserved.
  95360. *
  95361. * Use of this source code is governed by an MIT-style license that can be
  95362. * found in the LICENSE file at https://angular.io/license
  95363. */
  95364. function checkGuards(injector, forwardEvent) {
  95365. return (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.mergeMap)(t => {
  95366. const {
  95367. targetSnapshot,
  95368. currentSnapshot,
  95369. guards: {
  95370. canActivateChecks,
  95371. canDeactivateChecks
  95372. }
  95373. } = t;
  95374. if (canDeactivateChecks.length === 0 && canActivateChecks.length === 0) {
  95375. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(Object.assign(Object.assign({}, t), {
  95376. guardsResult: true
  95377. }));
  95378. }
  95379. return runCanDeactivateChecks(canDeactivateChecks, targetSnapshot, currentSnapshot, injector).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.mergeMap)(canDeactivate => {
  95380. return canDeactivate && isBoolean(canDeactivate) ? runCanActivateChecks(targetSnapshot, canActivateChecks, injector, forwardEvent) : (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(canDeactivate);
  95381. }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(guardsResult => Object.assign(Object.assign({}, t), {
  95382. guardsResult
  95383. })));
  95384. });
  95385. }
  95386. function runCanDeactivateChecks(checks, futureRSS, currRSS, injector) {
  95387. return (0,rxjs__WEBPACK_IMPORTED_MODULE_1__.from)(checks).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.mergeMap)(check => runCanDeactivate(check.component, check.route, currRSS, futureRSS, injector)), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.first)(result => {
  95388. return result !== true;
  95389. }, true));
  95390. }
  95391. function runCanActivateChecks(futureSnapshot, checks, injector, forwardEvent) {
  95392. return (0,rxjs__WEBPACK_IMPORTED_MODULE_1__.from)(checks).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.concatMap)(check => {
  95393. return (0,rxjs__WEBPACK_IMPORTED_MODULE_14__.concat)(fireChildActivationStart(check.route.parent, forwardEvent), fireActivationStart(check.route, forwardEvent), runCanActivateChild(futureSnapshot, check.path, injector), runCanActivate(futureSnapshot, check.route, injector));
  95394. }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.first)(result => {
  95395. return result !== true;
  95396. }, true));
  95397. }
  95398. /**
  95399. * This should fire off `ActivationStart` events for each route being activated at this
  95400. * level.
  95401. * In other words, if you're activating `a` and `b` below, `path` will contain the
  95402. * `ActivatedRouteSnapshot`s for both and we will fire `ActivationStart` for both. Always
  95403. * return
  95404. * `true` so checks continue to run.
  95405. */
  95406. function fireActivationStart(snapshot, forwardEvent) {
  95407. if (snapshot !== null && forwardEvent) {
  95408. forwardEvent(new ActivationStart(snapshot));
  95409. }
  95410. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(true);
  95411. }
  95412. /**
  95413. * This should fire off `ChildActivationStart` events for each route being activated at this
  95414. * level.
  95415. * In other words, if you're activating `a` and `b` below, `path` will contain the
  95416. * `ActivatedRouteSnapshot`s for both and we will fire `ChildActivationStart` for both. Always
  95417. * return
  95418. * `true` so checks continue to run.
  95419. */
  95420. function fireChildActivationStart(snapshot, forwardEvent) {
  95421. if (snapshot !== null && forwardEvent) {
  95422. forwardEvent(new ChildActivationStart(snapshot));
  95423. }
  95424. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(true);
  95425. }
  95426. function runCanActivate(futureRSS, futureARS, injector) {
  95427. const canActivate = futureARS.routeConfig ? futureARS.routeConfig.canActivate : null;
  95428. if (!canActivate || canActivate.length === 0) return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(true);
  95429. const canActivateObservables = canActivate.map(canActivate => {
  95430. return (0,rxjs__WEBPACK_IMPORTED_MODULE_15__.defer)(() => {
  95431. var _a;
  95432. const closestInjector = (_a = getClosestRouteInjector(futureARS)) !== null && _a !== void 0 ? _a : injector;
  95433. const guard = getTokenOrFunctionIdentity(canActivate, closestInjector);
  95434. const guardVal = isCanActivate(guard) ? guard.canActivate(futureARS, futureRSS) : closestInjector.runInContext(() => guard(futureARS, futureRSS));
  95435. return wrapIntoObservable(guardVal).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.first)());
  95436. });
  95437. });
  95438. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(canActivateObservables).pipe(prioritizedGuardValue());
  95439. }
  95440. function runCanActivateChild(futureRSS, path, injector) {
  95441. const futureARS = path[path.length - 1];
  95442. const canActivateChildGuards = path.slice(0, path.length - 1).reverse().map(p => getCanActivateChild(p)).filter(_ => _ !== null);
  95443. const canActivateChildGuardsMapped = canActivateChildGuards.map(d => {
  95444. return (0,rxjs__WEBPACK_IMPORTED_MODULE_15__.defer)(() => {
  95445. const guardsMapped = d.guards.map(canActivateChild => {
  95446. var _a;
  95447. const closestInjector = (_a = getClosestRouteInjector(d.node)) !== null && _a !== void 0 ? _a : injector;
  95448. const guard = getTokenOrFunctionIdentity(canActivateChild, closestInjector);
  95449. const guardVal = isCanActivateChild(guard) ? guard.canActivateChild(futureARS, futureRSS) : closestInjector.runInContext(() => guard(futureARS, futureRSS));
  95450. return wrapIntoObservable(guardVal).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.first)());
  95451. });
  95452. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(guardsMapped).pipe(prioritizedGuardValue());
  95453. });
  95454. });
  95455. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(canActivateChildGuardsMapped).pipe(prioritizedGuardValue());
  95456. }
  95457. function runCanDeactivate(component, currARS, currRSS, futureRSS, injector) {
  95458. const canDeactivate = currARS && currARS.routeConfig ? currARS.routeConfig.canDeactivate : null;
  95459. if (!canDeactivate || canDeactivate.length === 0) return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(true);
  95460. const canDeactivateObservables = canDeactivate.map(c => {
  95461. var _a;
  95462. const closestInjector = (_a = getClosestRouteInjector(currARS)) !== null && _a !== void 0 ? _a : injector;
  95463. const guard = getTokenOrFunctionIdentity(c, closestInjector);
  95464. const guardVal = isCanDeactivate(guard) ? guard.canDeactivate(component, currARS, currRSS, futureRSS) : closestInjector.runInContext(() => guard(component, currARS, currRSS, futureRSS));
  95465. return wrapIntoObservable(guardVal).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.first)());
  95466. });
  95467. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(canDeactivateObservables).pipe(prioritizedGuardValue());
  95468. }
  95469. function runCanLoadGuards(injector, route, segments, urlSerializer) {
  95470. const canLoad = route.canLoad;
  95471. if (canLoad === undefined || canLoad.length === 0) {
  95472. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(true);
  95473. }
  95474. const canLoadObservables = canLoad.map(injectionToken => {
  95475. const guard = getTokenOrFunctionIdentity(injectionToken, injector);
  95476. const guardVal = isCanLoad(guard) ? guard.canLoad(route, segments) : injector.runInContext(() => guard(route, segments));
  95477. return wrapIntoObservable(guardVal);
  95478. });
  95479. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(canLoadObservables).pipe(prioritizedGuardValue(), redirectIfUrlTree(urlSerializer));
  95480. }
  95481. function redirectIfUrlTree(urlSerializer) {
  95482. return (0,rxjs__WEBPACK_IMPORTED_MODULE_16__.pipe)((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.tap)(result => {
  95483. if (!isUrlTree(result)) return;
  95484. throw redirectingNavigationError(urlSerializer, result);
  95485. }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(result => result === true));
  95486. }
  95487. function runCanMatchGuards(injector, route, segments, urlSerializer) {
  95488. const canMatch = route.canMatch;
  95489. if (!canMatch || canMatch.length === 0) return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(true);
  95490. const canMatchObservables = canMatch.map(injectionToken => {
  95491. const guard = getTokenOrFunctionIdentity(injectionToken, injector);
  95492. const guardVal = isCanMatch(guard) ? guard.canMatch(route, segments) : injector.runInContext(() => guard(route, segments));
  95493. return wrapIntoObservable(guardVal);
  95494. });
  95495. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(canMatchObservables).pipe(prioritizedGuardValue(), redirectIfUrlTree(urlSerializer));
  95496. }
  95497. /**
  95498. * @license
  95499. * Copyright Google LLC All Rights Reserved.
  95500. *
  95501. * Use of this source code is governed by an MIT-style license that can be
  95502. * found in the LICENSE file at https://angular.io/license
  95503. */
  95504. const noMatch$1 = {
  95505. matched: false,
  95506. consumedSegments: [],
  95507. remainingSegments: [],
  95508. parameters: {},
  95509. positionalParamSegments: {}
  95510. };
  95511. function matchWithChecks(segmentGroup, route, segments, injector, urlSerializer) {
  95512. const result = match(segmentGroup, route, segments);
  95513. if (!result.matched) {
  95514. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(result);
  95515. } // Only create the Route's `EnvironmentInjector` if it matches the attempted
  95516. // navigation
  95517. injector = getOrCreateRouteInjectorIfNeeded(route, injector);
  95518. return runCanMatchGuards(injector, route, segments, urlSerializer).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(v => v === true ? result : Object.assign({}, noMatch$1)));
  95519. }
  95520. function match(segmentGroup, route, segments) {
  95521. var _a;
  95522. if (route.path === '') {
  95523. if (route.pathMatch === 'full' && (segmentGroup.hasChildren() || segments.length > 0)) {
  95524. return Object.assign({}, noMatch$1);
  95525. }
  95526. return {
  95527. matched: true,
  95528. consumedSegments: [],
  95529. remainingSegments: segments,
  95530. parameters: {},
  95531. positionalParamSegments: {}
  95532. };
  95533. }
  95534. const matcher = route.matcher || defaultUrlMatcher;
  95535. const res = matcher(segments, segmentGroup, route);
  95536. if (!res) return Object.assign({}, noMatch$1);
  95537. const posParams = {};
  95538. forEach(res.posParams, (v, k) => {
  95539. posParams[k] = v.path;
  95540. });
  95541. const parameters = res.consumed.length > 0 ? Object.assign(Object.assign({}, posParams), res.consumed[res.consumed.length - 1].parameters) : posParams;
  95542. return {
  95543. matched: true,
  95544. consumedSegments: res.consumed,
  95545. remainingSegments: segments.slice(res.consumed.length),
  95546. // TODO(atscott): investigate combining parameters and positionalParamSegments
  95547. parameters,
  95548. positionalParamSegments: (_a = res.posParams) !== null && _a !== void 0 ? _a : {}
  95549. };
  95550. }
  95551. function split(segmentGroup, consumedSegments, slicedSegments, config, relativeLinkResolution = 'corrected') {
  95552. if (slicedSegments.length > 0 && containsEmptyPathMatchesWithNamedOutlets(segmentGroup, slicedSegments, config)) {
  95553. const s = new UrlSegmentGroup(consumedSegments, createChildrenForEmptyPaths(segmentGroup, consumedSegments, config, new UrlSegmentGroup(slicedSegments, segmentGroup.children)));
  95554. s._sourceSegment = segmentGroup;
  95555. s._segmentIndexShift = consumedSegments.length;
  95556. return {
  95557. segmentGroup: s,
  95558. slicedSegments: []
  95559. };
  95560. }
  95561. if (slicedSegments.length === 0 && containsEmptyPathMatches(segmentGroup, slicedSegments, config)) {
  95562. const s = new UrlSegmentGroup(segmentGroup.segments, addEmptyPathsToChildrenIfNeeded(segmentGroup, consumedSegments, slicedSegments, config, segmentGroup.children, relativeLinkResolution));
  95563. s._sourceSegment = segmentGroup;
  95564. s._segmentIndexShift = consumedSegments.length;
  95565. return {
  95566. segmentGroup: s,
  95567. slicedSegments
  95568. };
  95569. }
  95570. const s = new UrlSegmentGroup(segmentGroup.segments, segmentGroup.children);
  95571. s._sourceSegment = segmentGroup;
  95572. s._segmentIndexShift = consumedSegments.length;
  95573. return {
  95574. segmentGroup: s,
  95575. slicedSegments
  95576. };
  95577. }
  95578. function addEmptyPathsToChildrenIfNeeded(segmentGroup, consumedSegments, slicedSegments, routes, children, relativeLinkResolution) {
  95579. const res = {};
  95580. for (const r of routes) {
  95581. if (emptyPathMatch(segmentGroup, slicedSegments, r) && !children[getOutlet(r)]) {
  95582. const s = new UrlSegmentGroup([], {});
  95583. s._sourceSegment = segmentGroup;
  95584. if (relativeLinkResolution === 'legacy') {
  95585. s._segmentIndexShift = segmentGroup.segments.length;
  95586. if (typeof ngDevMode === 'undefined' || !!ngDevMode) {
  95587. s._segmentIndexShiftCorrected = consumedSegments.length;
  95588. }
  95589. } else {
  95590. s._segmentIndexShift = consumedSegments.length;
  95591. }
  95592. res[getOutlet(r)] = s;
  95593. }
  95594. }
  95595. return Object.assign(Object.assign({}, children), res);
  95596. }
  95597. function createChildrenForEmptyPaths(segmentGroup, consumedSegments, routes, primarySegment) {
  95598. const res = {};
  95599. res[PRIMARY_OUTLET] = primarySegment;
  95600. primarySegment._sourceSegment = segmentGroup;
  95601. primarySegment._segmentIndexShift = consumedSegments.length;
  95602. for (const r of routes) {
  95603. if (r.path === '' && getOutlet(r) !== PRIMARY_OUTLET) {
  95604. const s = new UrlSegmentGroup([], {});
  95605. s._sourceSegment = segmentGroup;
  95606. s._segmentIndexShift = consumedSegments.length;
  95607. res[getOutlet(r)] = s;
  95608. }
  95609. }
  95610. return res;
  95611. }
  95612. function containsEmptyPathMatchesWithNamedOutlets(segmentGroup, slicedSegments, routes) {
  95613. return routes.some(r => emptyPathMatch(segmentGroup, slicedSegments, r) && getOutlet(r) !== PRIMARY_OUTLET);
  95614. }
  95615. function containsEmptyPathMatches(segmentGroup, slicedSegments, routes) {
  95616. return routes.some(r => emptyPathMatch(segmentGroup, slicedSegments, r));
  95617. }
  95618. function emptyPathMatch(segmentGroup, slicedSegments, r) {
  95619. if ((segmentGroup.hasChildren() || slicedSegments.length > 0) && r.pathMatch === 'full') {
  95620. return false;
  95621. }
  95622. return r.path === '';
  95623. }
  95624. /**
  95625. * Determines if `route` is a path match for the `rawSegment`, `segments`, and `outlet` without
  95626. * verifying that its children are a full match for the remainder of the `rawSegment` children as
  95627. * well.
  95628. */
  95629. function isImmediateMatch(route, rawSegment, segments, outlet) {
  95630. // We allow matches to empty paths when the outlets differ so we can match a url like `/(b:b)` to
  95631. // a config like
  95632. // * `{path: '', children: [{path: 'b', outlet: 'b'}]}`
  95633. // or even
  95634. // * `{path: '', outlet: 'a', children: [{path: 'b', outlet: 'b'}]`
  95635. //
  95636. // The exception here is when the segment outlet is for the primary outlet. This would
  95637. // result in a match inside the named outlet because all children there are written as primary
  95638. // outlets. So we need to prevent child named outlet matches in a url like `/b` in a config like
  95639. // * `{path: '', outlet: 'x' children: [{path: 'b'}]}`
  95640. // This should only match if the url is `/(x:b)`.
  95641. if (getOutlet(route) !== outlet && (outlet === PRIMARY_OUTLET || !emptyPathMatch(rawSegment, segments, route))) {
  95642. return false;
  95643. }
  95644. if (route.path === '**') {
  95645. return true;
  95646. }
  95647. return match(rawSegment, route, segments).matched;
  95648. }
  95649. function noLeftoversInUrl(segmentGroup, segments, outlet) {
  95650. return segments.length === 0 && !segmentGroup.children[outlet];
  95651. }
  95652. /**
  95653. * @license
  95654. * Copyright Google LLC All Rights Reserved.
  95655. *
  95656. * Use of this source code is governed by an MIT-style license that can be
  95657. * found in the LICENSE file at https://angular.io/license
  95658. */
  95659. const NG_DEV_MODE$6 = typeof ngDevMode === 'undefined' || ngDevMode;
  95660. class NoMatch$1 {
  95661. constructor(segmentGroup) {
  95662. this.segmentGroup = segmentGroup || null;
  95663. }
  95664. }
  95665. class AbsoluteRedirect {
  95666. constructor(urlTree) {
  95667. this.urlTree = urlTree;
  95668. }
  95669. }
  95670. function noMatch(segmentGroup) {
  95671. return (0,rxjs__WEBPACK_IMPORTED_MODULE_18__.throwError)(new NoMatch$1(segmentGroup));
  95672. }
  95673. function absoluteRedirect(newTree) {
  95674. return (0,rxjs__WEBPACK_IMPORTED_MODULE_18__.throwError)(new AbsoluteRedirect(newTree));
  95675. }
  95676. function namedOutletsRedirect(redirectTo) {
  95677. return (0,rxjs__WEBPACK_IMPORTED_MODULE_18__.throwError)(new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4000
  95678. /* RuntimeErrorCode.NAMED_OUTLET_REDIRECT */
  95679. , NG_DEV_MODE$6 && `Only absolute redirects can have named outlets. redirectTo: '${redirectTo}'`));
  95680. }
  95681. function canLoadFails(route) {
  95682. return (0,rxjs__WEBPACK_IMPORTED_MODULE_18__.throwError)(navigationCancelingError(NG_DEV_MODE$6 && `Cannot load children because the guard of the route "path: '${route.path}'" returned false`, 3
  95683. /* NavigationCancellationCode.GuardRejected */
  95684. ));
  95685. }
  95686. /**
  95687. * Returns the `UrlTree` with the redirection applied.
  95688. *
  95689. * Lazy modules are loaded along the way.
  95690. */
  95691. function applyRedirects$1(injector, configLoader, urlSerializer, urlTree, config) {
  95692. return new ApplyRedirects(injector, configLoader, urlSerializer, urlTree, config).apply();
  95693. }
  95694. class ApplyRedirects {
  95695. constructor(injector, configLoader, urlSerializer, urlTree, config) {
  95696. this.injector = injector;
  95697. this.configLoader = configLoader;
  95698. this.urlSerializer = urlSerializer;
  95699. this.urlTree = urlTree;
  95700. this.config = config;
  95701. this.allowRedirects = true;
  95702. }
  95703. apply() {
  95704. const splitGroup = split(this.urlTree.root, [], [], this.config).segmentGroup; // TODO(atscott): creating a new segment removes the _sourceSegment _segmentIndexShift, which is
  95705. // only necessary to prevent failures in tests which assert exact object matches. The `split` is
  95706. // now shared between `applyRedirects` and `recognize` but only the `recognize` step needs these
  95707. // properties. Before the implementations were merged, the `applyRedirects` would not assign
  95708. // them. We should be able to remove this logic as a "breaking change" but should do some more
  95709. // investigation into the failures first.
  95710. const rootSegmentGroup = new UrlSegmentGroup(splitGroup.segments, splitGroup.children);
  95711. const expanded$ = this.expandSegmentGroup(this.injector, this.config, rootSegmentGroup, PRIMARY_OUTLET);
  95712. const urlTrees$ = expanded$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(rootSegmentGroup => {
  95713. return this.createUrlTree(squashSegmentGroup(rootSegmentGroup), this.urlTree.queryParams, this.urlTree.fragment);
  95714. }));
  95715. return urlTrees$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_19__.catchError)(e => {
  95716. if (e instanceof AbsoluteRedirect) {
  95717. // After an absolute redirect we do not apply any more redirects!
  95718. // If this implementation changes, update the documentation note in `redirectTo`.
  95719. this.allowRedirects = false; // we need to run matching, so we can fetch all lazy-loaded modules
  95720. return this.match(e.urlTree);
  95721. }
  95722. if (e instanceof NoMatch$1) {
  95723. throw this.noMatchError(e);
  95724. }
  95725. throw e;
  95726. }));
  95727. }
  95728. match(tree) {
  95729. const expanded$ = this.expandSegmentGroup(this.injector, this.config, tree.root, PRIMARY_OUTLET);
  95730. const mapped$ = expanded$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(rootSegmentGroup => {
  95731. return this.createUrlTree(squashSegmentGroup(rootSegmentGroup), tree.queryParams, tree.fragment);
  95732. }));
  95733. return mapped$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_19__.catchError)(e => {
  95734. if (e instanceof NoMatch$1) {
  95735. throw this.noMatchError(e);
  95736. }
  95737. throw e;
  95738. }));
  95739. }
  95740. noMatchError(e) {
  95741. return new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4002
  95742. /* RuntimeErrorCode.NO_MATCH */
  95743. , NG_DEV_MODE$6 && `Cannot match any routes. URL Segment: '${e.segmentGroup}'`);
  95744. }
  95745. createUrlTree(rootCandidate, queryParams, fragment) {
  95746. const root = createRoot(rootCandidate);
  95747. return new UrlTree(root, queryParams, fragment);
  95748. }
  95749. expandSegmentGroup(injector, routes, segmentGroup, outlet) {
  95750. if (segmentGroup.segments.length === 0 && segmentGroup.hasChildren()) {
  95751. return this.expandChildren(injector, routes, segmentGroup).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(children => new UrlSegmentGroup([], children)));
  95752. }
  95753. return this.expandSegment(injector, segmentGroup, routes, segmentGroup.segments, outlet, true);
  95754. } // Recursively expand segment groups for all the child outlets
  95755. expandChildren(injector, routes, segmentGroup) {
  95756. // Expand outlets one at a time, starting with the primary outlet. We need to do it this way
  95757. // because an absolute redirect from the primary outlet takes precedence.
  95758. const childOutlets = [];
  95759. for (const child of Object.keys(segmentGroup.children)) {
  95760. if (child === 'primary') {
  95761. childOutlets.unshift(child);
  95762. } else {
  95763. childOutlets.push(child);
  95764. }
  95765. }
  95766. return (0,rxjs__WEBPACK_IMPORTED_MODULE_1__.from)(childOutlets).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.concatMap)(childOutlet => {
  95767. const child = segmentGroup.children[childOutlet]; // Sort the routes so routes with outlets that match the segment appear
  95768. // first, followed by routes for other outlets, which might match if they have an
  95769. // empty path.
  95770. const sortedRoutes = sortByMatchingOutlets(routes, childOutlet);
  95771. return this.expandSegmentGroup(injector, sortedRoutes, child, childOutlet).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(s => ({
  95772. segment: s,
  95773. outlet: childOutlet
  95774. })));
  95775. }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.scan)((children, expandedChild) => {
  95776. children[expandedChild.outlet] = expandedChild.segment;
  95777. return children;
  95778. }, {}), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.last)());
  95779. }
  95780. expandSegment(injector, segmentGroup, routes, segments, outlet, allowRedirects) {
  95781. return (0,rxjs__WEBPACK_IMPORTED_MODULE_1__.from)(routes).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.concatMap)(r => {
  95782. const expanded$ = this.expandSegmentAgainstRoute(injector, segmentGroup, routes, r, segments, outlet, allowRedirects);
  95783. return expanded$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_19__.catchError)(e => {
  95784. if (e instanceof NoMatch$1) {
  95785. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(null);
  95786. }
  95787. throw e;
  95788. }));
  95789. }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.first)(s => !!s), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_19__.catchError)((e, _) => {
  95790. if (isEmptyError(e)) {
  95791. if (noLeftoversInUrl(segmentGroup, segments, outlet)) {
  95792. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(new UrlSegmentGroup([], {}));
  95793. }
  95794. return noMatch(segmentGroup);
  95795. }
  95796. throw e;
  95797. }));
  95798. }
  95799. expandSegmentAgainstRoute(injector, segmentGroup, routes, route, paths, outlet, allowRedirects) {
  95800. if (!isImmediateMatch(route, segmentGroup, paths, outlet)) {
  95801. return noMatch(segmentGroup);
  95802. }
  95803. if (route.redirectTo === undefined) {
  95804. return this.matchSegmentAgainstRoute(injector, segmentGroup, route, paths, outlet);
  95805. }
  95806. if (allowRedirects && this.allowRedirects) {
  95807. return this.expandSegmentAgainstRouteUsingRedirect(injector, segmentGroup, routes, route, paths, outlet);
  95808. }
  95809. return noMatch(segmentGroup);
  95810. }
  95811. expandSegmentAgainstRouteUsingRedirect(injector, segmentGroup, routes, route, segments, outlet) {
  95812. if (route.path === '**') {
  95813. return this.expandWildCardWithParamsAgainstRouteUsingRedirect(injector, routes, route, outlet);
  95814. }
  95815. return this.expandRegularSegmentAgainstRouteUsingRedirect(injector, segmentGroup, routes, route, segments, outlet);
  95816. }
  95817. expandWildCardWithParamsAgainstRouteUsingRedirect(injector, routes, route, outlet) {
  95818. const newTree = this.applyRedirectCommands([], route.redirectTo, {});
  95819. if (route.redirectTo.startsWith('/')) {
  95820. return absoluteRedirect(newTree);
  95821. }
  95822. return this.lineralizeSegments(route, newTree).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.mergeMap)(newSegments => {
  95823. const group = new UrlSegmentGroup(newSegments, {});
  95824. return this.expandSegment(injector, group, routes, newSegments, outlet, false);
  95825. }));
  95826. }
  95827. expandRegularSegmentAgainstRouteUsingRedirect(injector, segmentGroup, routes, route, segments, outlet) {
  95828. const {
  95829. matched,
  95830. consumedSegments,
  95831. remainingSegments,
  95832. positionalParamSegments
  95833. } = match(segmentGroup, route, segments);
  95834. if (!matched) return noMatch(segmentGroup);
  95835. const newTree = this.applyRedirectCommands(consumedSegments, route.redirectTo, positionalParamSegments);
  95836. if (route.redirectTo.startsWith('/')) {
  95837. return absoluteRedirect(newTree);
  95838. }
  95839. return this.lineralizeSegments(route, newTree).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.mergeMap)(newSegments => {
  95840. return this.expandSegment(injector, segmentGroup, routes, newSegments.concat(remainingSegments), outlet, false);
  95841. }));
  95842. }
  95843. matchSegmentAgainstRoute(injector, rawSegmentGroup, route, segments, outlet) {
  95844. if (route.path === '**') {
  95845. // Only create the Route's `EnvironmentInjector` if it matches the attempted navigation
  95846. injector = getOrCreateRouteInjectorIfNeeded(route, injector);
  95847. if (route.loadChildren) {
  95848. const loaded$ = route._loadedRoutes ? (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)({
  95849. routes: route._loadedRoutes,
  95850. injector: route._loadedInjector
  95851. }) : this.configLoader.loadChildren(injector, route);
  95852. return loaded$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(cfg => {
  95853. route._loadedRoutes = cfg.routes;
  95854. route._loadedInjector = cfg.injector;
  95855. return new UrlSegmentGroup(segments, {});
  95856. }));
  95857. }
  95858. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(new UrlSegmentGroup(segments, {}));
  95859. }
  95860. return matchWithChecks(rawSegmentGroup, route, segments, injector, this.urlSerializer).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.switchMap)(({
  95861. matched,
  95862. consumedSegments,
  95863. remainingSegments
  95864. }) => {
  95865. var _a;
  95866. if (!matched) return noMatch(rawSegmentGroup); // If the route has an injector created from providers, we should start using that.
  95867. injector = (_a = route._injector) !== null && _a !== void 0 ? _a : injector;
  95868. const childConfig$ = this.getChildConfig(injector, route, segments);
  95869. return childConfig$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.mergeMap)(routerConfig => {
  95870. var _a;
  95871. const childInjector = (_a = routerConfig.injector) !== null && _a !== void 0 ? _a : injector;
  95872. const childConfig = routerConfig.routes;
  95873. const {
  95874. segmentGroup: splitSegmentGroup,
  95875. slicedSegments
  95876. } = split(rawSegmentGroup, consumedSegments, remainingSegments, childConfig); // See comment on the other call to `split` about why this is necessary.
  95877. const segmentGroup = new UrlSegmentGroup(splitSegmentGroup.segments, splitSegmentGroup.children);
  95878. if (slicedSegments.length === 0 && segmentGroup.hasChildren()) {
  95879. const expanded$ = this.expandChildren(childInjector, childConfig, segmentGroup);
  95880. return expanded$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(children => new UrlSegmentGroup(consumedSegments, children)));
  95881. }
  95882. if (childConfig.length === 0 && slicedSegments.length === 0) {
  95883. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(new UrlSegmentGroup(consumedSegments, {}));
  95884. }
  95885. const matchedOnOutlet = getOutlet(route) === outlet;
  95886. const expanded$ = this.expandSegment(childInjector, segmentGroup, childConfig, slicedSegments, matchedOnOutlet ? PRIMARY_OUTLET : outlet, true);
  95887. return expanded$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(cs => new UrlSegmentGroup(consumedSegments.concat(cs.segments), cs.children)));
  95888. }));
  95889. }));
  95890. }
  95891. getChildConfig(injector, route, segments) {
  95892. if (route.children) {
  95893. // The children belong to the same module
  95894. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)({
  95895. routes: route.children,
  95896. injector
  95897. });
  95898. }
  95899. if (route.loadChildren) {
  95900. // lazy children belong to the loaded module
  95901. if (route._loadedRoutes !== undefined) {
  95902. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)({
  95903. routes: route._loadedRoutes,
  95904. injector: route._loadedInjector
  95905. });
  95906. }
  95907. return runCanLoadGuards(injector, route, segments, this.urlSerializer).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.mergeMap)(shouldLoadResult => {
  95908. if (shouldLoadResult) {
  95909. return this.configLoader.loadChildren(injector, route).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.tap)(cfg => {
  95910. route._loadedRoutes = cfg.routes;
  95911. route._loadedInjector = cfg.injector;
  95912. }));
  95913. }
  95914. return canLoadFails(route);
  95915. }));
  95916. }
  95917. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)({
  95918. routes: [],
  95919. injector
  95920. });
  95921. }
  95922. lineralizeSegments(route, urlTree) {
  95923. let res = [];
  95924. let c = urlTree.root;
  95925. while (true) {
  95926. res = res.concat(c.segments);
  95927. if (c.numberOfChildren === 0) {
  95928. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(res);
  95929. }
  95930. if (c.numberOfChildren > 1 || !c.children[PRIMARY_OUTLET]) {
  95931. return namedOutletsRedirect(route.redirectTo);
  95932. }
  95933. c = c.children[PRIMARY_OUTLET];
  95934. }
  95935. }
  95936. applyRedirectCommands(segments, redirectTo, posParams) {
  95937. return this.applyRedirectCreateUrlTree(redirectTo, this.urlSerializer.parse(redirectTo), segments, posParams);
  95938. }
  95939. applyRedirectCreateUrlTree(redirectTo, urlTree, segments, posParams) {
  95940. const newRoot = this.createSegmentGroup(redirectTo, urlTree.root, segments, posParams);
  95941. return new UrlTree(newRoot, this.createQueryParams(urlTree.queryParams, this.urlTree.queryParams), urlTree.fragment);
  95942. }
  95943. createQueryParams(redirectToParams, actualParams) {
  95944. const res = {};
  95945. forEach(redirectToParams, (v, k) => {
  95946. const copySourceValue = typeof v === 'string' && v.startsWith(':');
  95947. if (copySourceValue) {
  95948. const sourceName = v.substring(1);
  95949. res[k] = actualParams[sourceName];
  95950. } else {
  95951. res[k] = v;
  95952. }
  95953. });
  95954. return res;
  95955. }
  95956. createSegmentGroup(redirectTo, group, segments, posParams) {
  95957. const updatedSegments = this.createSegments(redirectTo, group.segments, segments, posParams);
  95958. let children = {};
  95959. forEach(group.children, (child, name) => {
  95960. children[name] = this.createSegmentGroup(redirectTo, child, segments, posParams);
  95961. });
  95962. return new UrlSegmentGroup(updatedSegments, children);
  95963. }
  95964. createSegments(redirectTo, redirectToSegments, actualSegments, posParams) {
  95965. return redirectToSegments.map(s => s.path.startsWith(':') ? this.findPosParam(redirectTo, s, posParams) : this.findOrReturn(s, actualSegments));
  95966. }
  95967. findPosParam(redirectTo, redirectToUrlSegment, posParams) {
  95968. const pos = posParams[redirectToUrlSegment.path.substring(1)];
  95969. if (!pos) throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4001
  95970. /* RuntimeErrorCode.MISSING_REDIRECT */
  95971. , NG_DEV_MODE$6 && `Cannot redirect to '${redirectTo}'. Cannot find '${redirectToUrlSegment.path}'.`);
  95972. return pos;
  95973. }
  95974. findOrReturn(redirectToUrlSegment, actualSegments) {
  95975. let idx = 0;
  95976. for (const s of actualSegments) {
  95977. if (s.path === redirectToUrlSegment.path) {
  95978. actualSegments.splice(idx);
  95979. return s;
  95980. }
  95981. idx++;
  95982. }
  95983. return redirectToUrlSegment;
  95984. }
  95985. }
  95986. /**
  95987. * @license
  95988. * Copyright Google LLC All Rights Reserved.
  95989. *
  95990. * Use of this source code is governed by an MIT-style license that can be
  95991. * found in the LICENSE file at https://angular.io/license
  95992. */
  95993. function applyRedirects(environmentInjector, configLoader, urlSerializer, config) {
  95994. return (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.switchMap)(t => applyRedirects$1(environmentInjector, configLoader, urlSerializer, t.extractedUrl, config).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(urlAfterRedirects => Object.assign(Object.assign({}, t), {
  95995. urlAfterRedirects
  95996. }))));
  95997. }
  95998. /**
  95999. * @license
  96000. * Copyright Google LLC All Rights Reserved.
  96001. *
  96002. * Use of this source code is governed by an MIT-style license that can be
  96003. * found in the LICENSE file at https://angular.io/license
  96004. */
  96005. const NG_DEV_MODE$5 = typeof ngDevMode === 'undefined' || !!ngDevMode;
  96006. class NoMatch {}
  96007. function newObservableError(e) {
  96008. // TODO(atscott): This pattern is used throughout the router code and can be `throwError` instead.
  96009. return new rxjs__WEBPACK_IMPORTED_MODULE_22__.Observable(obs => obs.error(e));
  96010. }
  96011. function recognize$1(injector, rootComponentType, config, urlTree, url, urlSerializer, paramsInheritanceStrategy = 'emptyOnly', relativeLinkResolution = 'legacy') {
  96012. return new Recognizer(injector, rootComponentType, config, urlTree, url, paramsInheritanceStrategy, relativeLinkResolution, urlSerializer).recognize().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.switchMap)(result => {
  96013. if (result === null) {
  96014. return newObservableError(new NoMatch());
  96015. } else {
  96016. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(result);
  96017. }
  96018. }));
  96019. }
  96020. class Recognizer {
  96021. constructor(injector, rootComponentType, config, urlTree, url, paramsInheritanceStrategy, relativeLinkResolution, urlSerializer) {
  96022. this.injector = injector;
  96023. this.rootComponentType = rootComponentType;
  96024. this.config = config;
  96025. this.urlTree = urlTree;
  96026. this.url = url;
  96027. this.paramsInheritanceStrategy = paramsInheritanceStrategy;
  96028. this.relativeLinkResolution = relativeLinkResolution;
  96029. this.urlSerializer = urlSerializer;
  96030. }
  96031. recognize() {
  96032. const rootSegmentGroup = split(this.urlTree.root, [], [], this.config.filter(c => c.redirectTo === undefined), this.relativeLinkResolution).segmentGroup;
  96033. return this.processSegmentGroup(this.injector, this.config, rootSegmentGroup, PRIMARY_OUTLET).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(children => {
  96034. if (children === null) {
  96035. return null;
  96036. } // Use Object.freeze to prevent readers of the Router state from modifying it outside of a
  96037. // navigation, resulting in the router being out of sync with the browser.
  96038. const root = new ActivatedRouteSnapshot([], Object.freeze({}), Object.freeze(Object.assign({}, this.urlTree.queryParams)), this.urlTree.fragment, {}, PRIMARY_OUTLET, this.rootComponentType, null, this.urlTree.root, -1, {});
  96039. const rootNode = new TreeNode(root, children);
  96040. const routeState = new RouterStateSnapshot(this.url, rootNode);
  96041. this.inheritParamsAndData(routeState._root);
  96042. return routeState;
  96043. }));
  96044. }
  96045. inheritParamsAndData(routeNode) {
  96046. const route = routeNode.value;
  96047. const i = inheritedParamsDataResolve(route, this.paramsInheritanceStrategy);
  96048. route.params = Object.freeze(i.params);
  96049. route.data = Object.freeze(i.data);
  96050. routeNode.children.forEach(n => this.inheritParamsAndData(n));
  96051. }
  96052. processSegmentGroup(injector, config, segmentGroup, outlet) {
  96053. if (segmentGroup.segments.length === 0 && segmentGroup.hasChildren()) {
  96054. return this.processChildren(injector, config, segmentGroup);
  96055. }
  96056. return this.processSegment(injector, config, segmentGroup, segmentGroup.segments, outlet);
  96057. }
  96058. /**
  96059. * Matches every child outlet in the `segmentGroup` to a `Route` in the config. Returns `null` if
  96060. * we cannot find a match for _any_ of the children.
  96061. *
  96062. * @param config - The `Routes` to match against
  96063. * @param segmentGroup - The `UrlSegmentGroup` whose children need to be matched against the
  96064. * config.
  96065. */
  96066. processChildren(injector, config, segmentGroup) {
  96067. return (0,rxjs__WEBPACK_IMPORTED_MODULE_1__.from)(Object.keys(segmentGroup.children)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.concatMap)(childOutlet => {
  96068. const child = segmentGroup.children[childOutlet]; // Sort the config so that routes with outlets that match the one being activated
  96069. // appear first, followed by routes for other outlets, which might match if they have
  96070. // an empty path.
  96071. const sortedConfig = sortByMatchingOutlets(config, childOutlet);
  96072. return this.processSegmentGroup(injector, sortedConfig, child, childOutlet);
  96073. }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.scan)((children, outletChildren) => {
  96074. if (!children || !outletChildren) return null;
  96075. children.push(...outletChildren);
  96076. return children;
  96077. }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_23__.takeWhile)(children => children !== null), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_24__.defaultIfEmpty)(null), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.last)(), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(children => {
  96078. if (children === null) return null; // Because we may have matched two outlets to the same empty path segment, we can have
  96079. // multiple activated results for the same outlet. We should merge the children of
  96080. // these results so the final return value is only one `TreeNode` per outlet.
  96081. const mergedChildren = mergeEmptyPathMatches(children);
  96082. if (NG_DEV_MODE$5) {
  96083. // This should really never happen - we are only taking the first match for each
  96084. // outlet and merge the empty path matches.
  96085. checkOutletNameUniqueness(mergedChildren);
  96086. }
  96087. sortActivatedRouteSnapshots(mergedChildren);
  96088. return mergedChildren;
  96089. }));
  96090. }
  96091. processSegment(injector, routes, segmentGroup, segments, outlet) {
  96092. return (0,rxjs__WEBPACK_IMPORTED_MODULE_1__.from)(routes).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.concatMap)(r => {
  96093. var _a;
  96094. return this.processSegmentAgainstRoute((_a = r._injector) !== null && _a !== void 0 ? _a : injector, r, segmentGroup, segments, outlet);
  96095. }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.first)(x => !!x), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_19__.catchError)(e => {
  96096. if (isEmptyError(e)) {
  96097. if (noLeftoversInUrl(segmentGroup, segments, outlet)) {
  96098. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)([]);
  96099. }
  96100. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(null);
  96101. }
  96102. throw e;
  96103. }));
  96104. }
  96105. processSegmentAgainstRoute(injector, route, rawSegment, segments, outlet) {
  96106. var _a, _b;
  96107. if (route.redirectTo || !isImmediateMatch(route, rawSegment, segments, outlet)) return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(null);
  96108. let matchResult;
  96109. if (route.path === '**') {
  96110. const params = segments.length > 0 ? last(segments).parameters : {};
  96111. const pathIndexShift = getPathIndexShift(rawSegment) + segments.length;
  96112. const snapshot = new ActivatedRouteSnapshot(segments, params, Object.freeze(Object.assign({}, this.urlTree.queryParams)), this.urlTree.fragment, getData(route), getOutlet(route), (_b = (_a = route.component) !== null && _a !== void 0 ? _a : route._loadedComponent) !== null && _b !== void 0 ? _b : null, route, getSourceSegmentGroup(rawSegment), pathIndexShift, getResolve(route), // NG_DEV_MODE is used to prevent the getCorrectedPathIndexShift function from affecting
  96113. // production bundle size. This value is intended only to surface a warning to users
  96114. // depending on `relativeLinkResolution: 'legacy'` in dev mode.
  96115. NG_DEV_MODE$5 ? getCorrectedPathIndexShift(rawSegment) + segments.length : pathIndexShift);
  96116. matchResult = (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)({
  96117. snapshot,
  96118. consumedSegments: [],
  96119. remainingSegments: []
  96120. });
  96121. } else {
  96122. matchResult = matchWithChecks(rawSegment, route, segments, injector, this.urlSerializer).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(({
  96123. matched,
  96124. consumedSegments,
  96125. remainingSegments,
  96126. parameters
  96127. }) => {
  96128. var _a, _b;
  96129. if (!matched) {
  96130. return null;
  96131. }
  96132. const pathIndexShift = getPathIndexShift(rawSegment) + consumedSegments.length;
  96133. const snapshot = new ActivatedRouteSnapshot(consumedSegments, parameters, Object.freeze(Object.assign({}, this.urlTree.queryParams)), this.urlTree.fragment, getData(route), getOutlet(route), (_b = (_a = route.component) !== null && _a !== void 0 ? _a : route._loadedComponent) !== null && _b !== void 0 ? _b : null, route, getSourceSegmentGroup(rawSegment), pathIndexShift, getResolve(route), NG_DEV_MODE$5 ? getCorrectedPathIndexShift(rawSegment) + consumedSegments.length : pathIndexShift);
  96134. return {
  96135. snapshot,
  96136. consumedSegments,
  96137. remainingSegments
  96138. };
  96139. }));
  96140. }
  96141. return matchResult.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.switchMap)(result => {
  96142. var _a, _b;
  96143. if (result === null) {
  96144. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(null);
  96145. }
  96146. const {
  96147. snapshot,
  96148. consumedSegments,
  96149. remainingSegments
  96150. } = result; // If the route has an injector created from providers, we should start using that.
  96151. injector = (_a = route._injector) !== null && _a !== void 0 ? _a : injector;
  96152. const childInjector = (_b = route._loadedInjector) !== null && _b !== void 0 ? _b : injector;
  96153. const childConfig = getChildConfig(route);
  96154. const {
  96155. segmentGroup,
  96156. slicedSegments
  96157. } = split(rawSegment, consumedSegments, remainingSegments, // Filter out routes with redirectTo because we are trying to create activated route
  96158. // snapshots and don't handle redirects here. That should have been done in
  96159. // `applyRedirects`.
  96160. childConfig.filter(c => c.redirectTo === undefined), this.relativeLinkResolution);
  96161. if (slicedSegments.length === 0 && segmentGroup.hasChildren()) {
  96162. return this.processChildren(childInjector, childConfig, segmentGroup).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(children => {
  96163. if (children === null) {
  96164. return null;
  96165. }
  96166. return [new TreeNode(snapshot, children)];
  96167. }));
  96168. }
  96169. if (childConfig.length === 0 && slicedSegments.length === 0) {
  96170. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)([new TreeNode(snapshot, [])]);
  96171. }
  96172. const matchedOnOutlet = getOutlet(route) === outlet; // If we matched a config due to empty path match on a different outlet, we need to
  96173. // continue passing the current outlet for the segment rather than switch to PRIMARY.
  96174. // Note that we switch to primary when we have a match because outlet configs look like
  96175. // this: {path: 'a', outlet: 'a', children: [
  96176. // {path: 'b', component: B},
  96177. // {path: 'c', component: C},
  96178. // ]}
  96179. // Notice that the children of the named outlet are configured with the primary outlet
  96180. return this.processSegment(childInjector, childConfig, segmentGroup, slicedSegments, matchedOnOutlet ? PRIMARY_OUTLET : outlet).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(children => {
  96181. if (children === null) {
  96182. return null;
  96183. }
  96184. return [new TreeNode(snapshot, children)];
  96185. }));
  96186. }));
  96187. }
  96188. }
  96189. function sortActivatedRouteSnapshots(nodes) {
  96190. nodes.sort((a, b) => {
  96191. if (a.value.outlet === PRIMARY_OUTLET) return -1;
  96192. if (b.value.outlet === PRIMARY_OUTLET) return 1;
  96193. return a.value.outlet.localeCompare(b.value.outlet);
  96194. });
  96195. }
  96196. function getChildConfig(route) {
  96197. if (route.children) {
  96198. return route.children;
  96199. }
  96200. if (route.loadChildren) {
  96201. return route._loadedRoutes;
  96202. }
  96203. return [];
  96204. }
  96205. function hasEmptyPathConfig(node) {
  96206. const config = node.value.routeConfig;
  96207. return config && config.path === '' && config.redirectTo === undefined;
  96208. }
  96209. /**
  96210. * Finds `TreeNode`s with matching empty path route configs and merges them into `TreeNode` with
  96211. * the children from each duplicate. This is necessary because different outlets can match a
  96212. * single empty path route config and the results need to then be merged.
  96213. */
  96214. function mergeEmptyPathMatches(nodes) {
  96215. const result = []; // The set of nodes which contain children that were merged from two duplicate empty path nodes.
  96216. const mergedNodes = new Set();
  96217. for (const node of nodes) {
  96218. if (!hasEmptyPathConfig(node)) {
  96219. result.push(node);
  96220. continue;
  96221. }
  96222. const duplicateEmptyPathNode = result.find(resultNode => node.value.routeConfig === resultNode.value.routeConfig);
  96223. if (duplicateEmptyPathNode !== undefined) {
  96224. duplicateEmptyPathNode.children.push(...node.children);
  96225. mergedNodes.add(duplicateEmptyPathNode);
  96226. } else {
  96227. result.push(node);
  96228. }
  96229. } // For each node which has children from multiple sources, we need to recompute a new `TreeNode`
  96230. // by also merging those children. This is necessary when there are multiple empty path configs
  96231. // in a row. Put another way: whenever we combine children of two nodes, we need to also check
  96232. // if any of those children can be combined into a single node as well.
  96233. for (const mergedNode of mergedNodes) {
  96234. const mergedChildren = mergeEmptyPathMatches(mergedNode.children);
  96235. result.push(new TreeNode(mergedNode.value, mergedChildren));
  96236. }
  96237. return result.filter(n => !mergedNodes.has(n));
  96238. }
  96239. function checkOutletNameUniqueness(nodes) {
  96240. const names = {};
  96241. nodes.forEach(n => {
  96242. const routeWithSameOutletName = names[n.value.outlet];
  96243. if (routeWithSameOutletName) {
  96244. const p = routeWithSameOutletName.url.map(s => s.toString()).join('/');
  96245. const c = n.value.url.map(s => s.toString()).join('/');
  96246. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4006
  96247. /* RuntimeErrorCode.TWO_SEGMENTS_WITH_SAME_OUTLET */
  96248. , NG_DEV_MODE$5 && `Two segments cannot have the same outlet name: '${p}' and '${c}'.`);
  96249. }
  96250. names[n.value.outlet] = n.value;
  96251. });
  96252. }
  96253. function getSourceSegmentGroup(segmentGroup) {
  96254. let s = segmentGroup;
  96255. while (s._sourceSegment) {
  96256. s = s._sourceSegment;
  96257. }
  96258. return s;
  96259. }
  96260. function getPathIndexShift(segmentGroup) {
  96261. var _a, _b;
  96262. let s = segmentGroup;
  96263. let res = (_a = s._segmentIndexShift) !== null && _a !== void 0 ? _a : 0;
  96264. while (s._sourceSegment) {
  96265. s = s._sourceSegment;
  96266. res += (_b = s._segmentIndexShift) !== null && _b !== void 0 ? _b : 0;
  96267. }
  96268. return res - 1;
  96269. }
  96270. function getCorrectedPathIndexShift(segmentGroup) {
  96271. var _a, _b, _c, _d;
  96272. let s = segmentGroup;
  96273. let res = (_b = (_a = s._segmentIndexShiftCorrected) !== null && _a !== void 0 ? _a : s._segmentIndexShift) !== null && _b !== void 0 ? _b : 0;
  96274. while (s._sourceSegment) {
  96275. s = s._sourceSegment;
  96276. res += (_d = (_c = s._segmentIndexShiftCorrected) !== null && _c !== void 0 ? _c : s._segmentIndexShift) !== null && _d !== void 0 ? _d : 0;
  96277. }
  96278. return res - 1;
  96279. }
  96280. function getData(route) {
  96281. return route.data || {};
  96282. }
  96283. function getResolve(route) {
  96284. return route.resolve || {};
  96285. }
  96286. /**
  96287. * @license
  96288. * Copyright Google LLC All Rights Reserved.
  96289. *
  96290. * Use of this source code is governed by an MIT-style license that can be
  96291. * found in the LICENSE file at https://angular.io/license
  96292. */
  96293. function recognize(injector, rootComponentType, config, serializer, paramsInheritanceStrategy, relativeLinkResolution) {
  96294. return (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.mergeMap)(t => recognize$1(injector, rootComponentType, config, t.urlAfterRedirects, serializer.serialize(t.urlAfterRedirects), serializer, paramsInheritanceStrategy, relativeLinkResolution).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(targetSnapshot => Object.assign(Object.assign({}, t), {
  96295. targetSnapshot
  96296. }))));
  96297. }
  96298. /**
  96299. * @license
  96300. * Copyright Google LLC All Rights Reserved.
  96301. *
  96302. * Use of this source code is governed by an MIT-style license that can be
  96303. * found in the LICENSE file at https://angular.io/license
  96304. */
  96305. function resolveData(paramsInheritanceStrategy, injector) {
  96306. return (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.mergeMap)(t => {
  96307. const {
  96308. targetSnapshot,
  96309. guards: {
  96310. canActivateChecks
  96311. }
  96312. } = t;
  96313. if (!canActivateChecks.length) {
  96314. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(t);
  96315. }
  96316. let canActivateChecksResolved = 0;
  96317. return (0,rxjs__WEBPACK_IMPORTED_MODULE_1__.from)(canActivateChecks).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.concatMap)(check => runResolve(check.route, targetSnapshot, paramsInheritanceStrategy, injector)), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.tap)(() => canActivateChecksResolved++), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_25__.takeLast)(1), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.mergeMap)(_ => canActivateChecksResolved === canActivateChecks.length ? (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(t) : rxjs__WEBPACK_IMPORTED_MODULE_26__.EMPTY));
  96318. });
  96319. }
  96320. function runResolve(futureARS, futureRSS, paramsInheritanceStrategy, injector) {
  96321. const config = futureARS.routeConfig;
  96322. const resolve = futureARS._resolve;
  96323. if ((config === null || config === void 0 ? void 0 : config.title) !== undefined && !hasStaticTitle(config)) {
  96324. resolve[RouteTitleKey] = config.title;
  96325. }
  96326. return resolveNode(resolve, futureARS, futureRSS, injector).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(resolvedData => {
  96327. futureARS._resolvedData = resolvedData;
  96328. futureARS.data = inheritedParamsDataResolve(futureARS, paramsInheritanceStrategy).resolve;
  96329. if (config && hasStaticTitle(config)) {
  96330. futureARS.data[RouteTitleKey] = config.title;
  96331. }
  96332. return null;
  96333. }));
  96334. }
  96335. function resolveNode(resolve, futureARS, futureRSS, injector) {
  96336. const keys = getDataKeys(resolve);
  96337. if (keys.length === 0) {
  96338. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)({});
  96339. }
  96340. const data = {};
  96341. return (0,rxjs__WEBPACK_IMPORTED_MODULE_1__.from)(keys).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.mergeMap)(key => getResolver(resolve[key], futureARS, futureRSS, injector).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.first)(), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.tap)(value => {
  96342. data[key] = value;
  96343. }))), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_25__.takeLast)(1), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_27__.mapTo)(data), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_19__.catchError)(e => isEmptyError(e) ? rxjs__WEBPACK_IMPORTED_MODULE_26__.EMPTY : (0,rxjs__WEBPACK_IMPORTED_MODULE_18__.throwError)(e)));
  96344. }
  96345. function getDataKeys(obj) {
  96346. return [...Object.keys(obj), ...Object.getOwnPropertySymbols(obj)];
  96347. }
  96348. function getResolver(injectionToken, futureARS, futureRSS, injector) {
  96349. var _a;
  96350. const closestInjector = (_a = getClosestRouteInjector(futureARS)) !== null && _a !== void 0 ? _a : injector;
  96351. const resolver = getTokenOrFunctionIdentity(injectionToken, closestInjector);
  96352. const resolverValue = resolver.resolve ? resolver.resolve(futureARS, futureRSS) : closestInjector.runInContext(() => resolver(futureARS, futureRSS));
  96353. return wrapIntoObservable(resolverValue);
  96354. }
  96355. function hasStaticTitle(config) {
  96356. return typeof config.title === 'string' || config.title === null;
  96357. }
  96358. /**
  96359. * @license
  96360. * Copyright Google LLC All Rights Reserved.
  96361. *
  96362. * Use of this source code is governed by an MIT-style license that can be
  96363. * found in the LICENSE file at https://angular.io/license
  96364. */
  96365. /**
  96366. * Perform a side effect through a switchMap for every emission on the source Observable,
  96367. * but return an Observable that is identical to the source. It's essentially the same as
  96368. * the `tap` operator, but if the side effectful `next` function returns an ObservableInput,
  96369. * it will wait before continuing with the original value.
  96370. */
  96371. function switchTap(next) {
  96372. return (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.switchMap)(v => {
  96373. const nextResult = next(v);
  96374. if (nextResult) {
  96375. return (0,rxjs__WEBPACK_IMPORTED_MODULE_1__.from)(nextResult).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(() => v));
  96376. }
  96377. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(v);
  96378. });
  96379. }
  96380. /**
  96381. * @license
  96382. * Copyright Google LLC All Rights Reserved.
  96383. *
  96384. * Use of this source code is governed by an MIT-style license that can be
  96385. * found in the LICENSE file at https://angular.io/license
  96386. */
  96387. /**
  96388. * Provides a strategy for setting the page title after a router navigation.
  96389. *
  96390. * The built-in implementation traverses the router state snapshot and finds the deepest primary
  96391. * outlet with `title` property. Given the `Routes` below, navigating to
  96392. * `/base/child(popup:aux)` would result in the document title being set to "child".
  96393. * ```
  96394. * [
  96395. * {path: 'base', title: 'base', children: [
  96396. * {path: 'child', title: 'child'},
  96397. * ],
  96398. * {path: 'aux', outlet: 'popup', title: 'popupTitle'}
  96399. * ]
  96400. * ```
  96401. *
  96402. * This class can be used as a base class for custom title strategies. That is, you can create your
  96403. * own class that extends the `TitleStrategy`. Note that in the above example, the `title`
  96404. * from the named outlet is never used. However, a custom strategy might be implemented to
  96405. * incorporate titles in named outlets.
  96406. *
  96407. * @publicApi
  96408. * @see [Page title guide](guide/router#setting-the-page-title)
  96409. */
  96410. class TitleStrategy {
  96411. /**
  96412. * @returns The `title` of the deepest primary route.
  96413. */
  96414. buildTitle(snapshot) {
  96415. var _a;
  96416. let pageTitle;
  96417. let route = snapshot.root;
  96418. while (route !== undefined) {
  96419. pageTitle = (_a = this.getResolvedTitleForRoute(route)) !== null && _a !== void 0 ? _a : pageTitle;
  96420. route = route.children.find(child => child.outlet === PRIMARY_OUTLET);
  96421. }
  96422. return pageTitle;
  96423. }
  96424. /**
  96425. * Given an `ActivatedRouteSnapshot`, returns the final value of the
  96426. * `Route.title` property, which can either be a static string or a resolved value.
  96427. */
  96428. getResolvedTitleForRoute(snapshot) {
  96429. return snapshot.data[RouteTitleKey];
  96430. }
  96431. }
  96432. TitleStrategy.ɵfac = function TitleStrategy_Factory(t) {
  96433. return new (t || TitleStrategy)();
  96434. };
  96435. TitleStrategy.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
  96436. token: TitleStrategy,
  96437. factory: function () {
  96438. return (() => (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(DefaultTitleStrategy))();
  96439. },
  96440. providedIn: 'root'
  96441. });
  96442. (function () {
  96443. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](TitleStrategy, [{
  96444. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
  96445. args: [{
  96446. providedIn: 'root',
  96447. useFactory: () => (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(DefaultTitleStrategy)
  96448. }]
  96449. }], null, null);
  96450. })();
  96451. /**
  96452. * The default `TitleStrategy` used by the router that updates the title using the `Title` service.
  96453. */
  96454. class DefaultTitleStrategy extends TitleStrategy {
  96455. constructor(title) {
  96456. super();
  96457. this.title = title;
  96458. }
  96459. /**
  96460. * Sets the title of the browser to the given value.
  96461. *
  96462. * @param title The `pageTitle` from the deepest primary route.
  96463. */
  96464. updateTitle(snapshot) {
  96465. const title = this.buildTitle(snapshot);
  96466. if (title !== undefined) {
  96467. this.title.setTitle(title);
  96468. }
  96469. }
  96470. }
  96471. DefaultTitleStrategy.ɵfac = function DefaultTitleStrategy_Factory(t) {
  96472. return new (t || DefaultTitleStrategy)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_platform_browser__WEBPACK_IMPORTED_MODULE_28__.Title));
  96473. };
  96474. DefaultTitleStrategy.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
  96475. token: DefaultTitleStrategy,
  96476. factory: DefaultTitleStrategy.ɵfac,
  96477. providedIn: 'root'
  96478. });
  96479. (function () {
  96480. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](DefaultTitleStrategy, [{
  96481. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
  96482. args: [{
  96483. providedIn: 'root'
  96484. }]
  96485. }], function () {
  96486. return [{
  96487. type: _angular_platform_browser__WEBPACK_IMPORTED_MODULE_28__.Title
  96488. }];
  96489. }, null);
  96490. })();
  96491. /**
  96492. * @license
  96493. * Copyright Google LLC All Rights Reserved.
  96494. *
  96495. * Use of this source code is governed by an MIT-style license that can be
  96496. * found in the LICENSE file at https://angular.io/license
  96497. */
  96498. /**
  96499. * Exists to aid internal migration off of the deprecated relativeLinkResolution option.
  96500. */
  96501. function assignRelativeLinkResolution(router) {}
  96502. /**
  96503. * @license
  96504. * Copyright Google LLC All Rights Reserved.
  96505. *
  96506. * Use of this source code is governed by an MIT-style license that can be
  96507. * found in the LICENSE file at https://angular.io/license
  96508. */
  96509. /**
  96510. * @description
  96511. *
  96512. * Provides a way to customize when activated routes get reused.
  96513. *
  96514. * @publicApi
  96515. */
  96516. class RouteReuseStrategy {}
  96517. /**
  96518. * @description
  96519. *
  96520. * This base route reuse strategy only reuses routes when the matched router configs are
  96521. * identical. This prevents components from being destroyed and recreated
  96522. * when just the route parameters, query parameters or fragment change
  96523. * (that is, the existing component is _reused_).
  96524. *
  96525. * This strategy does not store any routes for later reuse.
  96526. *
  96527. * Angular uses this strategy by default.
  96528. *
  96529. *
  96530. * It can be used as a base class for custom route reuse strategies, i.e. you can create your own
  96531. * class that extends the `BaseRouteReuseStrategy` one.
  96532. * @publicApi
  96533. */
  96534. class BaseRouteReuseStrategy {
  96535. /**
  96536. * Whether the given route should detach for later reuse.
  96537. * Always returns false for `BaseRouteReuseStrategy`.
  96538. * */
  96539. shouldDetach(route) {
  96540. return false;
  96541. }
  96542. /**
  96543. * A no-op; the route is never stored since this strategy never detaches routes for later re-use.
  96544. */
  96545. store(route, detachedTree) {}
  96546. /** Returns `false`, meaning the route (and its subtree) is never reattached */
  96547. shouldAttach(route) {
  96548. return false;
  96549. }
  96550. /** Returns `null` because this strategy does not store routes for later re-use. */
  96551. retrieve(route) {
  96552. return null;
  96553. }
  96554. /**
  96555. * Determines if a route should be reused.
  96556. * This strategy returns `true` when the future route config and current route config are
  96557. * identical.
  96558. */
  96559. shouldReuseRoute(future, curr) {
  96560. return future.routeConfig === curr.routeConfig;
  96561. }
  96562. }
  96563. class DefaultRouteReuseStrategy extends BaseRouteReuseStrategy {}
  96564. /**
  96565. * @license
  96566. * Copyright Google LLC All Rights Reserved.
  96567. *
  96568. * Use of this source code is governed by an MIT-style license that can be
  96569. * found in the LICENSE file at https://angular.io/license
  96570. */
  96571. const NG_DEV_MODE$4 = typeof ngDevMode === 'undefined' || !!ngDevMode;
  96572. /**
  96573. * A [DI token](guide/glossary/#di-token) for the router service.
  96574. *
  96575. * @publicApi
  96576. */
  96577. const ROUTER_CONFIGURATION = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken(NG_DEV_MODE$4 ? 'router config' : '', {
  96578. providedIn: 'root',
  96579. factory: () => ({})
  96580. });
  96581. /**
  96582. * @license
  96583. * Copyright Google LLC All Rights Reserved.
  96584. *
  96585. * Use of this source code is governed by an MIT-style license that can be
  96586. * found in the LICENSE file at https://angular.io/license
  96587. */
  96588. const NG_DEV_MODE$3 = typeof ngDevMode === 'undefined' || !!ngDevMode;
  96589. /**
  96590. * The [DI token](guide/glossary/#di-token) for a router configuration.
  96591. *
  96592. * `ROUTES` is a low level API for router configuration via dependency injection.
  96593. *
  96594. * We recommend that in almost all cases to use higher level APIs such as `RouterModule.forRoot()`,
  96595. * `RouterModule.forChild()`, `provideRoutes`, or `Router.resetConfig()`.
  96596. *
  96597. * @publicApi
  96598. */
  96599. const ROUTES = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('ROUTES');
  96600. class RouterConfigLoader {
  96601. constructor(injector, compiler) {
  96602. this.injector = injector;
  96603. this.compiler = compiler;
  96604. this.componentLoaders = new WeakMap();
  96605. this.childrenLoaders = new WeakMap();
  96606. }
  96607. loadComponent(route) {
  96608. if (this.componentLoaders.get(route)) {
  96609. return this.componentLoaders.get(route);
  96610. } else if (route._loadedComponent) {
  96611. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(route._loadedComponent);
  96612. }
  96613. if (this.onLoadStartListener) {
  96614. this.onLoadStartListener(route);
  96615. }
  96616. const loadRunner = wrapIntoObservable(route.loadComponent()).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.tap)(component => {
  96617. var _a;
  96618. if (this.onLoadEndListener) {
  96619. this.onLoadEndListener(route);
  96620. }
  96621. NG_DEV_MODE$3 && assertStandalone((_a = route.path) !== null && _a !== void 0 ? _a : '', component);
  96622. route._loadedComponent = component;
  96623. }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_29__.finalize)(() => {
  96624. this.componentLoaders.delete(route);
  96625. })); // Use custom ConnectableObservable as share in runners pipe increasing the bundle size too much
  96626. const loader = new rxjs__WEBPACK_IMPORTED_MODULE_30__.ConnectableObservable(loadRunner, () => new rxjs__WEBPACK_IMPORTED_MODULE_31__.Subject()).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_32__.refCount)());
  96627. this.componentLoaders.set(route, loader);
  96628. return loader;
  96629. }
  96630. loadChildren(parentInjector, route) {
  96631. if (this.childrenLoaders.get(route)) {
  96632. return this.childrenLoaders.get(route);
  96633. } else if (route._loadedRoutes) {
  96634. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)({
  96635. routes: route._loadedRoutes,
  96636. injector: route._loadedInjector
  96637. });
  96638. }
  96639. if (this.onLoadStartListener) {
  96640. this.onLoadStartListener(route);
  96641. }
  96642. const moduleFactoryOrRoutes$ = this.loadModuleFactoryOrRoutes(route.loadChildren);
  96643. const loadRunner = moduleFactoryOrRoutes$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(factoryOrRoutes => {
  96644. if (this.onLoadEndListener) {
  96645. this.onLoadEndListener(route);
  96646. } // This injector comes from the `NgModuleRef` when lazy loading an `NgModule`. There is no
  96647. // injector associated with lazy loading a `Route` array.
  96648. let injector;
  96649. let rawRoutes;
  96650. let requireStandaloneComponents = false;
  96651. if (Array.isArray(factoryOrRoutes)) {
  96652. rawRoutes = factoryOrRoutes;
  96653. requireStandaloneComponents = true;
  96654. } else {
  96655. injector = factoryOrRoutes.create(parentInjector).injector; // When loading a module that doesn't provide `RouterModule.forChild()` preloader
  96656. // will get stuck in an infinite loop. The child module's Injector will look to
  96657. // its parent `Injector` when it doesn't find any ROUTES so it will return routes
  96658. // for it's parent module instead.
  96659. rawRoutes = flatten(injector.get(ROUTES, [], _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectFlags.Self | _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectFlags.Optional));
  96660. }
  96661. const routes = rawRoutes.map(standardizeConfig);
  96662. NG_DEV_MODE$3 && validateConfig(routes, route.path, requireStandaloneComponents);
  96663. return {
  96664. routes,
  96665. injector
  96666. };
  96667. }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_29__.finalize)(() => {
  96668. this.childrenLoaders.delete(route);
  96669. })); // Use custom ConnectableObservable as share in runners pipe increasing the bundle size too much
  96670. const loader = new rxjs__WEBPACK_IMPORTED_MODULE_30__.ConnectableObservable(loadRunner, () => new rxjs__WEBPACK_IMPORTED_MODULE_31__.Subject()).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_32__.refCount)());
  96671. this.childrenLoaders.set(route, loader);
  96672. return loader;
  96673. }
  96674. loadModuleFactoryOrRoutes(loadChildren) {
  96675. return wrapIntoObservable(loadChildren()).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.mergeMap)(t => {
  96676. if (t instanceof _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModuleFactory || Array.isArray(t)) {
  96677. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(t);
  96678. } else {
  96679. return (0,rxjs__WEBPACK_IMPORTED_MODULE_1__.from)(this.compiler.compileModuleAsync(t));
  96680. }
  96681. }));
  96682. }
  96683. }
  96684. RouterConfigLoader.ɵfac = function RouterConfigLoader_Factory(t) {
  96685. return new (t || RouterConfigLoader)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.Injector), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.Compiler));
  96686. };
  96687. RouterConfigLoader.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
  96688. token: RouterConfigLoader,
  96689. factory: RouterConfigLoader.ɵfac,
  96690. providedIn: 'root'
  96691. });
  96692. (function () {
  96693. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](RouterConfigLoader, [{
  96694. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
  96695. args: [{
  96696. providedIn: 'root'
  96697. }]
  96698. }], function () {
  96699. return [{
  96700. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injector
  96701. }, {
  96702. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Compiler
  96703. }];
  96704. }, null);
  96705. })();
  96706. /**
  96707. * @license
  96708. * Copyright Google LLC All Rights Reserved.
  96709. *
  96710. * Use of this source code is governed by an MIT-style license that can be
  96711. * found in the LICENSE file at https://angular.io/license
  96712. */
  96713. /**
  96714. * @description
  96715. *
  96716. * Provides a way to migrate AngularJS applications to Angular.
  96717. *
  96718. * @publicApi
  96719. */
  96720. class UrlHandlingStrategy {}
  96721. /**
  96722. * @publicApi
  96723. */
  96724. class DefaultUrlHandlingStrategy {
  96725. shouldProcessUrl(url) {
  96726. return true;
  96727. }
  96728. extract(url) {
  96729. return url;
  96730. }
  96731. merge(newUrlPart, wholeUrl) {
  96732. return newUrlPart;
  96733. }
  96734. }
  96735. /**
  96736. * @license
  96737. * Copyright Google LLC All Rights Reserved.
  96738. *
  96739. * Use of this source code is governed by an MIT-style license that can be
  96740. * found in the LICENSE file at https://angular.io/license
  96741. */
  96742. const NG_DEV_MODE$2 = typeof ngDevMode === 'undefined' || !!ngDevMode;
  96743. function defaultErrorHandler(error) {
  96744. throw error;
  96745. }
  96746. function defaultMalformedUriErrorHandler(error, urlSerializer, url) {
  96747. return urlSerializer.parse('/');
  96748. }
  96749. /**
  96750. * The equivalent `IsActiveMatchOptions` options for `Router.isActive` is called with `true`
  96751. * (exact = true).
  96752. */
  96753. const exactMatchOptions = {
  96754. paths: 'exact',
  96755. fragment: 'ignored',
  96756. matrixParams: 'ignored',
  96757. queryParams: 'exact'
  96758. };
  96759. /**
  96760. * The equivalent `IsActiveMatchOptions` options for `Router.isActive` is called with `false`
  96761. * (exact = false).
  96762. */
  96763. const subsetMatchOptions = {
  96764. paths: 'subset',
  96765. fragment: 'ignored',
  96766. matrixParams: 'ignored',
  96767. queryParams: 'subset'
  96768. };
  96769. function assignExtraOptionsToRouter(opts, router) {
  96770. if (opts.errorHandler) {
  96771. router.errorHandler = opts.errorHandler;
  96772. }
  96773. if (opts.malformedUriErrorHandler) {
  96774. router.malformedUriErrorHandler = opts.malformedUriErrorHandler;
  96775. }
  96776. if (opts.onSameUrlNavigation) {
  96777. router.onSameUrlNavigation = opts.onSameUrlNavigation;
  96778. }
  96779. if (opts.paramsInheritanceStrategy) {
  96780. router.paramsInheritanceStrategy = opts.paramsInheritanceStrategy;
  96781. }
  96782. if (opts.relativeLinkResolution) {
  96783. router.relativeLinkResolution = opts.relativeLinkResolution;
  96784. }
  96785. if (opts.urlUpdateStrategy) {
  96786. router.urlUpdateStrategy = opts.urlUpdateStrategy;
  96787. }
  96788. if (opts.canceledNavigationResolution) {
  96789. router.canceledNavigationResolution = opts.canceledNavigationResolution;
  96790. }
  96791. }
  96792. function setupRouter() {
  96793. var _a, _b;
  96794. const urlSerializer = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(UrlSerializer);
  96795. const contexts = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(ChildrenOutletContexts);
  96796. const location = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_common__WEBPACK_IMPORTED_MODULE_33__.Location);
  96797. const injector = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.Injector);
  96798. const compiler = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.Compiler);
  96799. const config = (_a = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(ROUTES, {
  96800. optional: true
  96801. })) !== null && _a !== void 0 ? _a : [];
  96802. const opts = (_b = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(ROUTER_CONFIGURATION, {
  96803. optional: true
  96804. })) !== null && _b !== void 0 ? _b : {};
  96805. const defaultTitleStrategy = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(DefaultTitleStrategy);
  96806. const titleStrategy = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(TitleStrategy, {
  96807. optional: true
  96808. });
  96809. const urlHandlingStrategy = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(UrlHandlingStrategy, {
  96810. optional: true
  96811. });
  96812. const routeReuseStrategy = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(RouteReuseStrategy, {
  96813. optional: true
  96814. });
  96815. const router = new Router(null, urlSerializer, contexts, location, injector, compiler, flatten(config));
  96816. if (urlHandlingStrategy) {
  96817. router.urlHandlingStrategy = urlHandlingStrategy;
  96818. }
  96819. if (routeReuseStrategy) {
  96820. router.routeReuseStrategy = routeReuseStrategy;
  96821. }
  96822. router.titleStrategy = titleStrategy !== null && titleStrategy !== void 0 ? titleStrategy : defaultTitleStrategy;
  96823. assignExtraOptionsToRouter(opts, router);
  96824. assignRelativeLinkResolution(router);
  96825. return router;
  96826. }
  96827. /**
  96828. * @description
  96829. *
  96830. * A service that provides navigation among views and URL manipulation capabilities.
  96831. *
  96832. * @see `Route`.
  96833. * @see [Routing and Navigation Guide](guide/router).
  96834. *
  96835. * @ngModule RouterModule
  96836. *
  96837. * @publicApi
  96838. */
  96839. class Router {
  96840. /**
  96841. * Creates the router service.
  96842. */
  96843. // TODO: vsavkin make internal after the final is out.
  96844. constructor(rootComponentType, urlSerializer, rootContexts, location, injector, compiler, config) {
  96845. this.rootComponentType = rootComponentType;
  96846. this.urlSerializer = urlSerializer;
  96847. this.rootContexts = rootContexts;
  96848. this.location = location;
  96849. this.config = config;
  96850. this.lastSuccessfulNavigation = null;
  96851. this.currentNavigation = null;
  96852. this.disposed = false;
  96853. this.navigationId = 0;
  96854. /**
  96855. * The id of the currently active page in the router.
  96856. * Updated to the transition's target id on a successful navigation.
  96857. *
  96858. * This is used to track what page the router last activated. When an attempted navigation fails,
  96859. * the router can then use this to compute how to restore the state back to the previously active
  96860. * page.
  96861. */
  96862. this.currentPageId = 0;
  96863. this.isNgZoneEnabled = false;
  96864. /**
  96865. * An event stream for routing events in this NgModule.
  96866. */
  96867. this.events = new rxjs__WEBPACK_IMPORTED_MODULE_31__.Subject();
  96868. /**
  96869. * A handler for navigation errors in this NgModule.
  96870. */
  96871. this.errorHandler = defaultErrorHandler;
  96872. /**
  96873. * A handler for errors thrown by `Router.parseUrl(url)`
  96874. * when `url` contains an invalid character.
  96875. * The most common case is a `%` sign
  96876. * that's not encoded and is not part of a percent encoded sequence.
  96877. */
  96878. this.malformedUriErrorHandler = defaultMalformedUriErrorHandler;
  96879. /**
  96880. * True if at least one navigation event has occurred,
  96881. * false otherwise.
  96882. */
  96883. this.navigated = false;
  96884. this.lastSuccessfulId = -1;
  96885. /**
  96886. * Hook that enables you to pause navigation after the preactivation phase.
  96887. * Used by `RouterModule`.
  96888. *
  96889. * @internal
  96890. */
  96891. this.afterPreactivation = () => (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(void 0);
  96892. /**
  96893. * A strategy for extracting and merging URLs.
  96894. * Used for AngularJS to Angular migrations.
  96895. */
  96896. this.urlHandlingStrategy = new DefaultUrlHandlingStrategy();
  96897. /**
  96898. * A strategy for re-using routes.
  96899. */
  96900. this.routeReuseStrategy = new DefaultRouteReuseStrategy();
  96901. /**
  96902. * How to handle a navigation request to the current URL. One of:
  96903. *
  96904. * - `'ignore'` : The router ignores the request.
  96905. * - `'reload'` : The router reloads the URL. Use to implement a "refresh" feature.
  96906. *
  96907. * Note that this only configures whether the Route reprocesses the URL and triggers related
  96908. * action and events like redirects, guards, and resolvers. By default, the router re-uses a
  96909. * component instance when it re-navigates to the same component type without visiting a different
  96910. * component first. This behavior is configured by the `RouteReuseStrategy`. In order to reload
  96911. * routed components on same url navigation, you need to set `onSameUrlNavigation` to `'reload'`
  96912. * _and_ provide a `RouteReuseStrategy` which returns `false` for `shouldReuseRoute`.
  96913. */
  96914. this.onSameUrlNavigation = 'ignore';
  96915. /**
  96916. * How to merge parameters, data, resolved data, and title from parent to child
  96917. * routes. One of:
  96918. *
  96919. * - `'emptyOnly'` : Inherit parent parameters, data, and resolved data
  96920. * for path-less or component-less routes.
  96921. * - `'always'` : Inherit parent parameters, data, and resolved data
  96922. * for all child routes.
  96923. */
  96924. this.paramsInheritanceStrategy = 'emptyOnly';
  96925. /**
  96926. * Determines when the router updates the browser URL.
  96927. * By default (`"deferred"`), updates the browser URL after navigation has finished.
  96928. * Set to `'eager'` to update the browser URL at the beginning of navigation.
  96929. * You can choose to update early so that, if navigation fails,
  96930. * you can show an error message with the URL that failed.
  96931. */
  96932. this.urlUpdateStrategy = 'deferred';
  96933. /**
  96934. * Enables a bug fix that corrects relative link resolution in components with empty paths.
  96935. * @see `RouterModule`
  96936. *
  96937. * @deprecated
  96938. */
  96939. this.relativeLinkResolution = 'corrected';
  96940. /**
  96941. * Configures how the Router attempts to restore state when a navigation is cancelled.
  96942. *
  96943. * 'replace' - Always uses `location.replaceState` to set the browser state to the state of the
  96944. * router before the navigation started. This means that if the URL of the browser is updated
  96945. * _before_ the navigation is canceled, the Router will simply replace the item in history rather
  96946. * than trying to restore to the previous location in the session history. This happens most
  96947. * frequently with `urlUpdateStrategy: 'eager'` and navigations with the browser back/forward
  96948. * buttons.
  96949. *
  96950. * 'computed' - Will attempt to return to the same index in the session history that corresponds
  96951. * to the Angular route when the navigation gets cancelled. For example, if the browser back
  96952. * button is clicked and the navigation is cancelled, the Router will trigger a forward navigation
  96953. * and vice versa.
  96954. *
  96955. * Note: the 'computed' option is incompatible with any `UrlHandlingStrategy` which only
  96956. * handles a portion of the URL because the history restoration navigates to the previous place in
  96957. * the browser history rather than simply resetting a portion of the URL.
  96958. *
  96959. * The default value is `replace`.
  96960. *
  96961. */
  96962. this.canceledNavigationResolution = 'replace';
  96963. const onLoadStart = r => this.triggerEvent(new RouteConfigLoadStart(r));
  96964. const onLoadEnd = r => this.triggerEvent(new RouteConfigLoadEnd(r));
  96965. this.configLoader = injector.get(RouterConfigLoader);
  96966. this.configLoader.onLoadEndListener = onLoadEnd;
  96967. this.configLoader.onLoadStartListener = onLoadStart;
  96968. this.ngModule = injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModuleRef);
  96969. this.console = injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵConsole"]);
  96970. const ngZone = injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone);
  96971. this.isNgZoneEnabled = ngZone instanceof _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone && _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone.isInAngularZone();
  96972. this.resetConfig(config);
  96973. this.currentUrlTree = createEmptyUrlTree();
  96974. this.rawUrlTree = this.currentUrlTree;
  96975. this.browserUrlTree = this.currentUrlTree;
  96976. this.routerState = createEmptyState(this.currentUrlTree, this.rootComponentType);
  96977. this.transitions = new rxjs__WEBPACK_IMPORTED_MODULE_3__.BehaviorSubject({
  96978. id: 0,
  96979. targetPageId: 0,
  96980. currentUrlTree: this.currentUrlTree,
  96981. currentRawUrl: this.currentUrlTree,
  96982. extractedUrl: this.urlHandlingStrategy.extract(this.currentUrlTree),
  96983. urlAfterRedirects: this.urlHandlingStrategy.extract(this.currentUrlTree),
  96984. rawUrl: this.currentUrlTree,
  96985. extras: {},
  96986. resolve: null,
  96987. reject: null,
  96988. promise: Promise.resolve(true),
  96989. source: 'imperative',
  96990. restoredState: null,
  96991. currentSnapshot: this.routerState.snapshot,
  96992. targetSnapshot: null,
  96993. currentRouterState: this.routerState,
  96994. targetRouterState: null,
  96995. guards: {
  96996. canActivateChecks: [],
  96997. canDeactivateChecks: []
  96998. },
  96999. guardsResult: null
  97000. });
  97001. this.navigations = this.setupNavigations(this.transitions);
  97002. this.processNavigations();
  97003. }
  97004. /**
  97005. * The ɵrouterPageId of whatever page is currently active in the browser history. This is
  97006. * important for computing the target page id for new navigations because we need to ensure each
  97007. * page id in the browser history is 1 more than the previous entry.
  97008. */
  97009. get browserPageId() {
  97010. var _a;
  97011. return (_a = this.location.getState()) === null || _a === void 0 ? void 0 : _a.ɵrouterPageId;
  97012. }
  97013. setupNavigations(transitions) {
  97014. const eventsSubject = this.events;
  97015. return transitions.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.filter)(t => t.id !== 0), // Extract URL
  97016. (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(t => Object.assign(Object.assign({}, t), {
  97017. extractedUrl: this.urlHandlingStrategy.extract(t.rawUrl)
  97018. })), // Using switchMap so we cancel executing navigations when a new one comes in
  97019. (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.switchMap)(overallTransitionState => {
  97020. let completed = false;
  97021. let errored = false;
  97022. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(overallTransitionState).pipe( // Store the Navigation object
  97023. (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.tap)(t => {
  97024. this.currentNavigation = {
  97025. id: t.id,
  97026. initialUrl: t.rawUrl,
  97027. extractedUrl: t.extractedUrl,
  97028. trigger: t.source,
  97029. extras: t.extras,
  97030. previousNavigation: this.lastSuccessfulNavigation ? Object.assign(Object.assign({}, this.lastSuccessfulNavigation), {
  97031. previousNavigation: null
  97032. }) : null
  97033. };
  97034. }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.switchMap)(t => {
  97035. const browserUrlTree = this.browserUrlTree.toString();
  97036. const urlTransition = !this.navigated || t.extractedUrl.toString() !== browserUrlTree || // Navigations which succeed or ones which fail and are cleaned up
  97037. // correctly should result in `browserUrlTree` and `currentUrlTree`
  97038. // matching. If this is not the case, assume something went wrong and
  97039. // try processing the URL again.
  97040. browserUrlTree !== this.currentUrlTree.toString();
  97041. const processCurrentUrl = (this.onSameUrlNavigation === 'reload' ? true : urlTransition) && this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl);
  97042. if (processCurrentUrl) {
  97043. // If the source of the navigation is from a browser event, the URL is
  97044. // already updated. We already need to sync the internal state.
  97045. if (isBrowserTriggeredNavigation(t.source)) {
  97046. this.browserUrlTree = t.extractedUrl;
  97047. }
  97048. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(t).pipe( // Fire NavigationStart event
  97049. (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.switchMap)(t => {
  97050. const transition = this.transitions.getValue();
  97051. eventsSubject.next(new NavigationStart(t.id, this.serializeUrl(t.extractedUrl), t.source, t.restoredState));
  97052. if (transition !== this.transitions.getValue()) {
  97053. return rxjs__WEBPACK_IMPORTED_MODULE_26__.EMPTY;
  97054. } // This delay is required to match old behavior that forced
  97055. // navigation to always be async
  97056. return Promise.resolve(t);
  97057. }), // ApplyRedirects
  97058. applyRedirects(this.ngModule.injector, this.configLoader, this.urlSerializer, this.config), // Update the currentNavigation
  97059. // `urlAfterRedirects` is guaranteed to be set after this point
  97060. (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.tap)(t => {
  97061. this.currentNavigation = Object.assign(Object.assign({}, this.currentNavigation), {
  97062. finalUrl: t.urlAfterRedirects
  97063. });
  97064. overallTransitionState.urlAfterRedirects = t.urlAfterRedirects;
  97065. }), // Recognize
  97066. recognize(this.ngModule.injector, this.rootComponentType, this.config, this.urlSerializer, this.paramsInheritanceStrategy, this.relativeLinkResolution), // Update URL if in `eager` update mode
  97067. (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.tap)(t => {
  97068. overallTransitionState.targetSnapshot = t.targetSnapshot;
  97069. if (this.urlUpdateStrategy === 'eager') {
  97070. if (!t.extras.skipLocationChange) {
  97071. const rawUrl = this.urlHandlingStrategy.merge(t.urlAfterRedirects, t.rawUrl);
  97072. this.setBrowserUrl(rawUrl, t);
  97073. }
  97074. this.browserUrlTree = t.urlAfterRedirects;
  97075. } // Fire RoutesRecognized
  97076. const routesRecognized = new RoutesRecognized(t.id, this.serializeUrl(t.extractedUrl), this.serializeUrl(t.urlAfterRedirects), t.targetSnapshot);
  97077. eventsSubject.next(routesRecognized);
  97078. }));
  97079. } else {
  97080. const processPreviousUrl = urlTransition && this.rawUrlTree && this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree);
  97081. /* When the current URL shouldn't be processed, but the previous one
  97082. * was, we handle this "error condition" by navigating to the
  97083. * previously successful URL, but leaving the URL intact.*/
  97084. if (processPreviousUrl) {
  97085. const {
  97086. id,
  97087. extractedUrl,
  97088. source,
  97089. restoredState,
  97090. extras
  97091. } = t;
  97092. const navStart = new NavigationStart(id, this.serializeUrl(extractedUrl), source, restoredState);
  97093. eventsSubject.next(navStart);
  97094. const targetSnapshot = createEmptyState(extractedUrl, this.rootComponentType).snapshot;
  97095. overallTransitionState = Object.assign(Object.assign({}, t), {
  97096. targetSnapshot,
  97097. urlAfterRedirects: extractedUrl,
  97098. extras: Object.assign(Object.assign({}, extras), {
  97099. skipLocationChange: false,
  97100. replaceUrl: false
  97101. })
  97102. });
  97103. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(overallTransitionState);
  97104. } else {
  97105. /* When neither the current or previous URL can be processed, do
  97106. * nothing other than update router's internal reference to the
  97107. * current "settled" URL. This way the next navigation will be coming
  97108. * from the current URL in the browser.
  97109. */
  97110. this.rawUrlTree = t.rawUrl;
  97111. t.resolve(null);
  97112. return rxjs__WEBPACK_IMPORTED_MODULE_26__.EMPTY;
  97113. }
  97114. }
  97115. }), // --- GUARDS ---
  97116. (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.tap)(t => {
  97117. const guardsStart = new GuardsCheckStart(t.id, this.serializeUrl(t.extractedUrl), this.serializeUrl(t.urlAfterRedirects), t.targetSnapshot);
  97118. this.triggerEvent(guardsStart);
  97119. }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(t => {
  97120. overallTransitionState = Object.assign(Object.assign({}, t), {
  97121. guards: getAllRouteGuards(t.targetSnapshot, t.currentSnapshot, this.rootContexts)
  97122. });
  97123. return overallTransitionState;
  97124. }), checkGuards(this.ngModule.injector, evt => this.triggerEvent(evt)), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.tap)(t => {
  97125. overallTransitionState.guardsResult = t.guardsResult;
  97126. if (isUrlTree(t.guardsResult)) {
  97127. throw redirectingNavigationError(this.urlSerializer, t.guardsResult);
  97128. }
  97129. const guardsEnd = new GuardsCheckEnd(t.id, this.serializeUrl(t.extractedUrl), this.serializeUrl(t.urlAfterRedirects), t.targetSnapshot, !!t.guardsResult);
  97130. this.triggerEvent(guardsEnd);
  97131. }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.filter)(t => {
  97132. if (!t.guardsResult) {
  97133. this.restoreHistory(t);
  97134. this.cancelNavigationTransition(t, '', 3
  97135. /* NavigationCancellationCode.GuardRejected */
  97136. );
  97137. return false;
  97138. }
  97139. return true;
  97140. }), // --- RESOLVE ---
  97141. switchTap(t => {
  97142. if (t.guards.canActivateChecks.length) {
  97143. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(t).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.tap)(t => {
  97144. const resolveStart = new ResolveStart(t.id, this.serializeUrl(t.extractedUrl), this.serializeUrl(t.urlAfterRedirects), t.targetSnapshot);
  97145. this.triggerEvent(resolveStart);
  97146. }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.switchMap)(t => {
  97147. let dataResolved = false;
  97148. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(t).pipe(resolveData(this.paramsInheritanceStrategy, this.ngModule.injector), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.tap)({
  97149. next: () => dataResolved = true,
  97150. complete: () => {
  97151. if (!dataResolved) {
  97152. this.restoreHistory(t);
  97153. this.cancelNavigationTransition(t, NG_DEV_MODE$2 ? `At least one route resolver didn't emit any value.` : '', 2
  97154. /* NavigationCancellationCode.NoDataFromResolver */
  97155. );
  97156. }
  97157. }
  97158. }));
  97159. }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.tap)(t => {
  97160. const resolveEnd = new ResolveEnd(t.id, this.serializeUrl(t.extractedUrl), this.serializeUrl(t.urlAfterRedirects), t.targetSnapshot);
  97161. this.triggerEvent(resolveEnd);
  97162. }));
  97163. }
  97164. return undefined;
  97165. }), // --- LOAD COMPONENTS ---
  97166. switchTap(t => {
  97167. const loadComponents = route => {
  97168. var _a;
  97169. const loaders = [];
  97170. if (((_a = route.routeConfig) === null || _a === void 0 ? void 0 : _a.loadComponent) && !route.routeConfig._loadedComponent) {
  97171. loaders.push(this.configLoader.loadComponent(route.routeConfig).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.tap)(loadedComponent => {
  97172. route.component = loadedComponent;
  97173. }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(() => void 0)));
  97174. }
  97175. for (const child of route.children) {
  97176. loaders.push(...loadComponents(child));
  97177. }
  97178. return loaders;
  97179. };
  97180. return (0,rxjs__WEBPACK_IMPORTED_MODULE_7__.combineLatest)(loadComponents(t.targetSnapshot.root)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_24__.defaultIfEmpty)(), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.take)(1));
  97181. }), switchTap(() => this.afterPreactivation()), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(t => {
  97182. const targetRouterState = createRouterState(this.routeReuseStrategy, t.targetSnapshot, t.currentRouterState);
  97183. overallTransitionState = Object.assign(Object.assign({}, t), {
  97184. targetRouterState
  97185. });
  97186. return overallTransitionState;
  97187. }),
  97188. /* Once here, we are about to activate synchronously. The assumption is
  97189. this will succeed, and user code may read from the Router service.
  97190. Therefore before activation, we need to update router properties storing
  97191. the current URL and the RouterState, as well as updated the browser URL.
  97192. All this should happen *before* activating. */
  97193. (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.tap)(t => {
  97194. this.currentUrlTree = t.urlAfterRedirects;
  97195. this.rawUrlTree = this.urlHandlingStrategy.merge(t.urlAfterRedirects, t.rawUrl);
  97196. this.routerState = t.targetRouterState;
  97197. if (this.urlUpdateStrategy === 'deferred') {
  97198. if (!t.extras.skipLocationChange) {
  97199. this.setBrowserUrl(this.rawUrlTree, t);
  97200. }
  97201. this.browserUrlTree = t.urlAfterRedirects;
  97202. }
  97203. }), activateRoutes(this.rootContexts, this.routeReuseStrategy, evt => this.triggerEvent(evt)), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.tap)({
  97204. next() {
  97205. completed = true;
  97206. },
  97207. complete() {
  97208. completed = true;
  97209. }
  97210. }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_29__.finalize)(() => {
  97211. var _a;
  97212. /* When the navigation stream finishes either through error or success,
  97213. * we set the `completed` or `errored` flag. However, there are some
  97214. * situations where we could get here without either of those being set.
  97215. * For instance, a redirect during NavigationStart. Therefore, this is a
  97216. * catch-all to make sure the NavigationCancel event is fired when a
  97217. * navigation gets cancelled but not caught by other means. */
  97218. if (!completed && !errored) {
  97219. const cancelationReason = NG_DEV_MODE$2 ? `Navigation ID ${overallTransitionState.id} is not equal to the current navigation id ${this.navigationId}` : '';
  97220. this.cancelNavigationTransition(overallTransitionState, cancelationReason, 1
  97221. /* NavigationCancellationCode.SupersededByNewNavigation */
  97222. );
  97223. } // Only clear current navigation if it is still set to the one that
  97224. // finalized.
  97225. if (((_a = this.currentNavigation) === null || _a === void 0 ? void 0 : _a.id) === overallTransitionState.id) {
  97226. this.currentNavigation = null;
  97227. }
  97228. }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_19__.catchError)(e => {
  97229. var _a;
  97230. errored = true;
  97231. /* This error type is issued during Redirect, and is handled as a
  97232. * cancellation rather than an error. */
  97233. if (isNavigationCancelingError$1(e)) {
  97234. if (!isRedirectingNavigationCancelingError$1(e)) {
  97235. // Set property only if we're not redirecting. If we landed on a page
  97236. // and redirect to `/` route, the new navigation is going to see the
  97237. // `/` isn't a change from the default currentUrlTree and won't
  97238. // navigate. This is only applicable with initial navigation, so
  97239. // setting `navigated` only when not redirecting resolves this
  97240. // scenario.
  97241. this.navigated = true;
  97242. this.restoreHistory(overallTransitionState, true);
  97243. }
  97244. const navCancel = new NavigationCancel(overallTransitionState.id, this.serializeUrl(overallTransitionState.extractedUrl), e.message, e.cancellationCode);
  97245. eventsSubject.next(navCancel); // When redirecting, we need to delay resolving the navigation
  97246. // promise and push it to the redirect navigation
  97247. if (!isRedirectingNavigationCancelingError$1(e)) {
  97248. overallTransitionState.resolve(false);
  97249. } else {
  97250. const mergedTree = this.urlHandlingStrategy.merge(e.url, this.rawUrlTree);
  97251. const extras = {
  97252. skipLocationChange: overallTransitionState.extras.skipLocationChange,
  97253. // The URL is already updated at this point if we have 'eager' URL
  97254. // updates or if the navigation was triggered by the browser (back
  97255. // button, URL bar, etc). We want to replace that item in history
  97256. // if the navigation is rejected.
  97257. replaceUrl: this.urlUpdateStrategy === 'eager' || isBrowserTriggeredNavigation(overallTransitionState.source)
  97258. };
  97259. this.scheduleNavigation(mergedTree, 'imperative', null, extras, {
  97260. resolve: overallTransitionState.resolve,
  97261. reject: overallTransitionState.reject,
  97262. promise: overallTransitionState.promise
  97263. });
  97264. }
  97265. /* All other errors should reset to the router's internal URL reference
  97266. * to the pre-error state. */
  97267. } else {
  97268. this.restoreHistory(overallTransitionState, true);
  97269. const navError = new NavigationError(overallTransitionState.id, this.serializeUrl(overallTransitionState.extractedUrl), e, (_a = overallTransitionState.targetSnapshot) !== null && _a !== void 0 ? _a : undefined);
  97270. eventsSubject.next(navError);
  97271. try {
  97272. overallTransitionState.resolve(this.errorHandler(e));
  97273. } catch (ee) {
  97274. overallTransitionState.reject(ee);
  97275. }
  97276. }
  97277. return rxjs__WEBPACK_IMPORTED_MODULE_26__.EMPTY;
  97278. })); // TODO(jasonaden): remove cast once g3 is on updated TypeScript
  97279. }));
  97280. }
  97281. /**
  97282. * @internal
  97283. * TODO: this should be removed once the constructor of the router made internal
  97284. */
  97285. resetRootComponentType(rootComponentType) {
  97286. this.rootComponentType = rootComponentType; // TODO: vsavkin router 4.0 should make the root component set to null
  97287. // this will simplify the lifecycle of the router.
  97288. this.routerState.root.component = this.rootComponentType;
  97289. }
  97290. setTransition(t) {
  97291. this.transitions.next(Object.assign(Object.assign({}, this.transitions.value), t));
  97292. }
  97293. /**
  97294. * Sets up the location change listener and performs the initial navigation.
  97295. */
  97296. initialNavigation() {
  97297. this.setUpLocationChangeListener();
  97298. if (this.navigationId === 0) {
  97299. this.navigateByUrl(this.location.path(true), {
  97300. replaceUrl: true
  97301. });
  97302. }
  97303. }
  97304. /**
  97305. * Sets up the location change listener. This listener detects navigations triggered from outside
  97306. * the Router (the browser back/forward buttons, for example) and schedules a corresponding Router
  97307. * navigation so that the correct events, guards, etc. are triggered.
  97308. */
  97309. setUpLocationChangeListener() {
  97310. // Don't need to use Zone.wrap any more, because zone.js
  97311. // already patch onPopState, so location change callback will
  97312. // run into ngZone
  97313. if (!this.locationSubscription) {
  97314. this.locationSubscription = this.location.subscribe(event => {
  97315. const source = event['type'] === 'popstate' ? 'popstate' : 'hashchange';
  97316. if (source === 'popstate') {
  97317. // The `setTimeout` was added in #12160 and is likely to support Angular/AngularJS
  97318. // hybrid apps.
  97319. setTimeout(() => {
  97320. var _a;
  97321. const extras = {
  97322. replaceUrl: true
  97323. }; // Navigations coming from Angular router have a navigationId state
  97324. // property. When this exists, restore the state.
  97325. const state = ((_a = event.state) === null || _a === void 0 ? void 0 : _a.navigationId) ? event.state : null;
  97326. if (state) {
  97327. const stateCopy = Object.assign({}, state);
  97328. delete stateCopy.navigationId;
  97329. delete stateCopy.ɵrouterPageId;
  97330. if (Object.keys(stateCopy).length !== 0) {
  97331. extras.state = stateCopy;
  97332. }
  97333. }
  97334. const urlTree = this.parseUrl(event['url']);
  97335. this.scheduleNavigation(urlTree, source, state, extras);
  97336. }, 0);
  97337. }
  97338. });
  97339. }
  97340. }
  97341. /** The current URL. */
  97342. get url() {
  97343. return this.serializeUrl(this.currentUrlTree);
  97344. }
  97345. /**
  97346. * Returns the current `Navigation` object when the router is navigating,
  97347. * and `null` when idle.
  97348. */
  97349. getCurrentNavigation() {
  97350. return this.currentNavigation;
  97351. }
  97352. /** @internal */
  97353. triggerEvent(event) {
  97354. this.events.next(event);
  97355. }
  97356. /**
  97357. * Resets the route configuration used for navigation and generating links.
  97358. *
  97359. * @param config The route array for the new configuration.
  97360. *
  97361. * @usageNotes
  97362. *
  97363. * ```
  97364. * router.resetConfig([
  97365. * { path: 'team/:id', component: TeamCmp, children: [
  97366. * { path: 'simple', component: SimpleCmp },
  97367. * { path: 'user/:name', component: UserCmp }
  97368. * ]}
  97369. * ]);
  97370. * ```
  97371. */
  97372. resetConfig(config) {
  97373. NG_DEV_MODE$2 && validateConfig(config);
  97374. this.config = config.map(standardizeConfig);
  97375. this.navigated = false;
  97376. this.lastSuccessfulId = -1;
  97377. }
  97378. /** @nodoc */
  97379. ngOnDestroy() {
  97380. this.dispose();
  97381. }
  97382. /** Disposes of the router. */
  97383. dispose() {
  97384. this.transitions.complete();
  97385. if (this.locationSubscription) {
  97386. this.locationSubscription.unsubscribe();
  97387. this.locationSubscription = undefined;
  97388. }
  97389. this.disposed = true;
  97390. }
  97391. /**
  97392. * Appends URL segments to the current URL tree to create a new URL tree.
  97393. *
  97394. * @param commands An array of URL fragments with which to construct the new URL tree.
  97395. * If the path is static, can be the literal URL string. For a dynamic path, pass an array of path
  97396. * segments, followed by the parameters for each segment.
  97397. * The fragments are applied to the current URL tree or the one provided in the `relativeTo`
  97398. * property of the options object, if supplied.
  97399. * @param navigationExtras Options that control the navigation strategy.
  97400. * @returns The new URL tree.
  97401. *
  97402. * @usageNotes
  97403. *
  97404. * ```
  97405. * // create /team/33/user/11
  97406. * router.createUrlTree(['/team', 33, 'user', 11]);
  97407. *
  97408. * // create /team/33;expand=true/user/11
  97409. * router.createUrlTree(['/team', 33, {expand: true}, 'user', 11]);
  97410. *
  97411. * // you can collapse static segments like this (this works only with the first passed-in value):
  97412. * router.createUrlTree(['/team/33/user', userId]);
  97413. *
  97414. * // If the first segment can contain slashes, and you do not want the router to split it,
  97415. * // you can do the following:
  97416. * router.createUrlTree([{segmentPath: '/one/two'}]);
  97417. *
  97418. * // create /team/33/(user/11//right:chat)
  97419. * router.createUrlTree(['/team', 33, {outlets: {primary: 'user/11', right: 'chat'}}]);
  97420. *
  97421. * // remove the right secondary node
  97422. * router.createUrlTree(['/team', 33, {outlets: {primary: 'user/11', right: null}}]);
  97423. *
  97424. * // assuming the current url is `/team/33/user/11` and the route points to `user/11`
  97425. *
  97426. * // navigate to /team/33/user/11/details
  97427. * router.createUrlTree(['details'], {relativeTo: route});
  97428. *
  97429. * // navigate to /team/33/user/22
  97430. * router.createUrlTree(['../22'], {relativeTo: route});
  97431. *
  97432. * // navigate to /team/44/user/22
  97433. * router.createUrlTree(['../../team/44/user/22'], {relativeTo: route});
  97434. *
  97435. * Note that a value of `null` or `undefined` for `relativeTo` indicates that the
  97436. * tree should be created relative to the root.
  97437. * ```
  97438. */
  97439. createUrlTree(commands, navigationExtras = {}) {
  97440. const {
  97441. relativeTo,
  97442. queryParams,
  97443. fragment,
  97444. queryParamsHandling,
  97445. preserveFragment
  97446. } = navigationExtras;
  97447. const a = relativeTo || this.routerState.root;
  97448. const f = preserveFragment ? this.currentUrlTree.fragment : fragment;
  97449. let q = null;
  97450. switch (queryParamsHandling) {
  97451. case 'merge':
  97452. q = Object.assign(Object.assign({}, this.currentUrlTree.queryParams), queryParams);
  97453. break;
  97454. case 'preserve':
  97455. q = this.currentUrlTree.queryParams;
  97456. break;
  97457. default:
  97458. q = queryParams || null;
  97459. }
  97460. if (q !== null) {
  97461. q = this.removeEmptyProps(q);
  97462. }
  97463. return createUrlTree(a, this.currentUrlTree, commands, q, f !== null && f !== void 0 ? f : null);
  97464. }
  97465. /**
  97466. * Navigates to a view using an absolute route path.
  97467. *
  97468. * @param url An absolute path for a defined route. The function does not apply any delta to the
  97469. * current URL.
  97470. * @param extras An object containing properties that modify the navigation strategy.
  97471. *
  97472. * @returns A Promise that resolves to 'true' when navigation succeeds,
  97473. * to 'false' when navigation fails, or is rejected on error.
  97474. *
  97475. * @usageNotes
  97476. *
  97477. * The following calls request navigation to an absolute path.
  97478. *
  97479. * ```
  97480. * router.navigateByUrl("/team/33/user/11");
  97481. *
  97482. * // Navigate without updating the URL
  97483. * router.navigateByUrl("/team/33/user/11", { skipLocationChange: true });
  97484. * ```
  97485. *
  97486. * @see [Routing and Navigation guide](guide/router)
  97487. *
  97488. */
  97489. navigateByUrl(url, extras = {
  97490. skipLocationChange: false
  97491. }) {
  97492. if (typeof ngDevMode === 'undefined' || ngDevMode && this.isNgZoneEnabled && !_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone.isInAngularZone()) {
  97493. this.console.warn(`Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?`);
  97494. }
  97495. const urlTree = isUrlTree(url) ? url : this.parseUrl(url);
  97496. const mergedTree = this.urlHandlingStrategy.merge(urlTree, this.rawUrlTree);
  97497. return this.scheduleNavigation(mergedTree, 'imperative', null, extras);
  97498. }
  97499. /**
  97500. * Navigate based on the provided array of commands and a starting point.
  97501. * If no starting route is provided, the navigation is absolute.
  97502. *
  97503. * @param commands An array of URL fragments with which to construct the target URL.
  97504. * If the path is static, can be the literal URL string. For a dynamic path, pass an array of path
  97505. * segments, followed by the parameters for each segment.
  97506. * The fragments are applied to the current URL or the one provided in the `relativeTo` property
  97507. * of the options object, if supplied.
  97508. * @param extras An options object that determines how the URL should be constructed or
  97509. * interpreted.
  97510. *
  97511. * @returns A Promise that resolves to `true` when navigation succeeds, to `false` when navigation
  97512. * fails,
  97513. * or is rejected on error.
  97514. *
  97515. * @usageNotes
  97516. *
  97517. * The following calls request navigation to a dynamic route path relative to the current URL.
  97518. *
  97519. * ```
  97520. * router.navigate(['team', 33, 'user', 11], {relativeTo: route});
  97521. *
  97522. * // Navigate without updating the URL, overriding the default behavior
  97523. * router.navigate(['team', 33, 'user', 11], {relativeTo: route, skipLocationChange: true});
  97524. * ```
  97525. *
  97526. * @see [Routing and Navigation guide](guide/router)
  97527. *
  97528. */
  97529. navigate(commands, extras = {
  97530. skipLocationChange: false
  97531. }) {
  97532. validateCommands(commands);
  97533. return this.navigateByUrl(this.createUrlTree(commands, extras), extras);
  97534. }
  97535. /** Serializes a `UrlTree` into a string */
  97536. serializeUrl(url) {
  97537. return this.urlSerializer.serialize(url);
  97538. }
  97539. /** Parses a string into a `UrlTree` */
  97540. parseUrl(url) {
  97541. let urlTree;
  97542. try {
  97543. urlTree = this.urlSerializer.parse(url);
  97544. } catch (e) {
  97545. urlTree = this.malformedUriErrorHandler(e, this.urlSerializer, url);
  97546. }
  97547. return urlTree;
  97548. }
  97549. isActive(url, matchOptions) {
  97550. let options;
  97551. if (matchOptions === true) {
  97552. options = Object.assign({}, exactMatchOptions);
  97553. } else if (matchOptions === false) {
  97554. options = Object.assign({}, subsetMatchOptions);
  97555. } else {
  97556. options = matchOptions;
  97557. }
  97558. if (isUrlTree(url)) {
  97559. return containsTree(this.currentUrlTree, url, options);
  97560. }
  97561. const urlTree = this.parseUrl(url);
  97562. return containsTree(this.currentUrlTree, urlTree, options);
  97563. }
  97564. removeEmptyProps(params) {
  97565. return Object.keys(params).reduce((result, key) => {
  97566. const value = params[key];
  97567. if (value !== null && value !== undefined) {
  97568. result[key] = value;
  97569. }
  97570. return result;
  97571. }, {});
  97572. }
  97573. processNavigations() {
  97574. this.navigations.subscribe(t => {
  97575. var _a;
  97576. this.navigated = true;
  97577. this.lastSuccessfulId = t.id;
  97578. this.currentPageId = t.targetPageId;
  97579. this.events.next(new NavigationEnd(t.id, this.serializeUrl(t.extractedUrl), this.serializeUrl(this.currentUrlTree)));
  97580. this.lastSuccessfulNavigation = this.currentNavigation;
  97581. (_a = this.titleStrategy) === null || _a === void 0 ? void 0 : _a.updateTitle(this.routerState.snapshot);
  97582. t.resolve(true);
  97583. }, e => {
  97584. this.console.warn(`Unhandled Navigation Error: ${e}`);
  97585. });
  97586. }
  97587. scheduleNavigation(rawUrl, source, restoredState, extras, priorPromise) {
  97588. var _a, _b;
  97589. if (this.disposed) {
  97590. return Promise.resolve(false);
  97591. }
  97592. let resolve;
  97593. let reject;
  97594. let promise;
  97595. if (priorPromise) {
  97596. resolve = priorPromise.resolve;
  97597. reject = priorPromise.reject;
  97598. promise = priorPromise.promise;
  97599. } else {
  97600. promise = new Promise((res, rej) => {
  97601. resolve = res;
  97602. reject = rej;
  97603. });
  97604. }
  97605. const id = ++this.navigationId;
  97606. let targetPageId;
  97607. if (this.canceledNavigationResolution === 'computed') {
  97608. const isInitialPage = this.currentPageId === 0;
  97609. if (isInitialPage) {
  97610. restoredState = this.location.getState();
  97611. } // If the `ɵrouterPageId` exist in the state then `targetpageId` should have the value of
  97612. // `ɵrouterPageId`. This is the case for something like a page refresh where we assign the
  97613. // target id to the previously set value for that page.
  97614. if (restoredState && restoredState.ɵrouterPageId) {
  97615. targetPageId = restoredState.ɵrouterPageId;
  97616. } else {
  97617. // If we're replacing the URL or doing a silent navigation, we do not want to increment the
  97618. // page id because we aren't pushing a new entry to history.
  97619. if (extras.replaceUrl || extras.skipLocationChange) {
  97620. targetPageId = (_a = this.browserPageId) !== null && _a !== void 0 ? _a : 0;
  97621. } else {
  97622. targetPageId = ((_b = this.browserPageId) !== null && _b !== void 0 ? _b : 0) + 1;
  97623. }
  97624. }
  97625. } else {
  97626. // This is unused when `canceledNavigationResolution` is not computed.
  97627. targetPageId = 0;
  97628. }
  97629. this.setTransition({
  97630. id,
  97631. targetPageId,
  97632. source,
  97633. restoredState,
  97634. currentUrlTree: this.currentUrlTree,
  97635. currentRawUrl: this.rawUrlTree,
  97636. rawUrl,
  97637. extras,
  97638. resolve,
  97639. reject,
  97640. promise,
  97641. currentSnapshot: this.routerState.snapshot,
  97642. currentRouterState: this.routerState
  97643. }); // Make sure that the error is propagated even though `processNavigations` catch
  97644. // handler does not rethrow
  97645. return promise.catch(e => {
  97646. return Promise.reject(e);
  97647. });
  97648. }
  97649. setBrowserUrl(url, t) {
  97650. const path = this.urlSerializer.serialize(url);
  97651. const state = Object.assign(Object.assign({}, t.extras.state), this.generateNgRouterState(t.id, t.targetPageId));
  97652. if (this.location.isCurrentPathEqualTo(path) || !!t.extras.replaceUrl) {
  97653. this.location.replaceState(path, '', state);
  97654. } else {
  97655. this.location.go(path, '', state);
  97656. }
  97657. }
  97658. /**
  97659. * Performs the necessary rollback action to restore the browser URL to the
  97660. * state before the transition.
  97661. */
  97662. restoreHistory(t, restoringFromCaughtError = false) {
  97663. var _a, _b;
  97664. if (this.canceledNavigationResolution === 'computed') {
  97665. const targetPagePosition = this.currentPageId - t.targetPageId; // The navigator change the location before triggered the browser event,
  97666. // so we need to go back to the current url if the navigation is canceled.
  97667. // Also, when navigation gets cancelled while using url update strategy eager, then we need to
  97668. // go back. Because, when `urlUpdateStrategy` is `eager`; `setBrowserUrl` method is called
  97669. // before any verification.
  97670. const browserUrlUpdateOccurred = t.source === 'popstate' || this.urlUpdateStrategy === 'eager' || this.currentUrlTree === ((_a = this.currentNavigation) === null || _a === void 0 ? void 0 : _a.finalUrl);
  97671. if (browserUrlUpdateOccurred && targetPagePosition !== 0) {
  97672. this.location.historyGo(targetPagePosition);
  97673. } else if (this.currentUrlTree === ((_b = this.currentNavigation) === null || _b === void 0 ? void 0 : _b.finalUrl) && targetPagePosition === 0) {
  97674. // We got to the activation stage (where currentUrlTree is set to the navigation's
  97675. // finalUrl), but we weren't moving anywhere in history (skipLocationChange or replaceUrl).
  97676. // We still need to reset the router state back to what it was when the navigation started.
  97677. this.resetState(t); // TODO(atscott): resetting the `browserUrlTree` should really be done in `resetState`.
  97678. // Investigate if this can be done by running TGP.
  97679. this.browserUrlTree = t.currentUrlTree;
  97680. this.resetUrlToCurrentUrlTree();
  97681. } else {// The browser URL and router state was not updated before the navigation cancelled so
  97682. // there's no restoration needed.
  97683. }
  97684. } else if (this.canceledNavigationResolution === 'replace') {
  97685. // TODO(atscott): It seems like we should _always_ reset the state here. It would be a no-op
  97686. // for `deferred` navigations that haven't change the internal state yet because guards
  97687. // reject. For 'eager' navigations, it seems like we also really should reset the state
  97688. // because the navigation was cancelled. Investigate if this can be done by running TGP.
  97689. if (restoringFromCaughtError) {
  97690. this.resetState(t);
  97691. }
  97692. this.resetUrlToCurrentUrlTree();
  97693. }
  97694. }
  97695. resetState(t) {
  97696. this.routerState = t.currentRouterState;
  97697. this.currentUrlTree = t.currentUrlTree; // Note here that we use the urlHandlingStrategy to get the reset `rawUrlTree` because it may be
  97698. // configured to handle only part of the navigation URL. This means we would only want to reset
  97699. // the part of the navigation handled by the Angular router rather than the whole URL. In
  97700. // addition, the URLHandlingStrategy may be configured to specifically preserve parts of the URL
  97701. // when merging, such as the query params so they are not lost on a refresh.
  97702. this.rawUrlTree = this.urlHandlingStrategy.merge(this.currentUrlTree, t.rawUrl);
  97703. }
  97704. resetUrlToCurrentUrlTree() {
  97705. this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree), '', this.generateNgRouterState(this.lastSuccessfulId, this.currentPageId));
  97706. }
  97707. cancelNavigationTransition(t, reason, code) {
  97708. const navCancel = new NavigationCancel(t.id, this.serializeUrl(t.extractedUrl), reason, code);
  97709. this.triggerEvent(navCancel);
  97710. t.resolve(false);
  97711. }
  97712. generateNgRouterState(navigationId, routerPageId) {
  97713. if (this.canceledNavigationResolution === 'computed') {
  97714. return {
  97715. navigationId,
  97716. ɵrouterPageId: routerPageId
  97717. };
  97718. }
  97719. return {
  97720. navigationId
  97721. };
  97722. }
  97723. }
  97724. Router.ɵfac = function Router_Factory(t) {
  97725. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinvalidFactory"]();
  97726. };
  97727. Router.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
  97728. token: Router,
  97729. factory: function () {
  97730. return setupRouter();
  97731. },
  97732. providedIn: 'root'
  97733. });
  97734. (function () {
  97735. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](Router, [{
  97736. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
  97737. args: [{
  97738. providedIn: 'root',
  97739. useFactory: setupRouter
  97740. }]
  97741. }], function () {
  97742. return [{
  97743. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Type
  97744. }, {
  97745. type: UrlSerializer
  97746. }, {
  97747. type: ChildrenOutletContexts
  97748. }, {
  97749. type: _angular_common__WEBPACK_IMPORTED_MODULE_33__.Location
  97750. }, {
  97751. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injector
  97752. }, {
  97753. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Compiler
  97754. }, {
  97755. type: undefined
  97756. }];
  97757. }, null);
  97758. })();
  97759. function validateCommands(commands) {
  97760. for (let i = 0; i < commands.length; i++) {
  97761. const cmd = commands[i];
  97762. if (cmd == null) {
  97763. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4008
  97764. /* RuntimeErrorCode.NULLISH_COMMAND */
  97765. , NG_DEV_MODE$2 && `The requested path contains ${cmd} segment at index ${i}`);
  97766. }
  97767. }
  97768. }
  97769. function isBrowserTriggeredNavigation(source) {
  97770. return source !== 'imperative';
  97771. }
  97772. /**
  97773. * @description
  97774. *
  97775. * When applied to an element in a template, makes that element a link
  97776. * that initiates navigation to a route. Navigation opens one or more routed components
  97777. * in one or more `<router-outlet>` locations on the page.
  97778. *
  97779. * Given a route configuration `[{ path: 'user/:name', component: UserCmp }]`,
  97780. * the following creates a static link to the route:
  97781. * `<a routerLink="/user/bob">link to user component</a>`
  97782. *
  97783. * You can use dynamic values to generate the link.
  97784. * For a dynamic link, pass an array of path segments,
  97785. * followed by the params for each segment.
  97786. * For example, `['/team', teamId, 'user', userName, {details: true}]`
  97787. * generates a link to `/team/11/user/bob;details=true`.
  97788. *
  97789. * Multiple static segments can be merged into one term and combined with dynamic segments.
  97790. * For example, `['/team/11/user', userName, {details: true}]`
  97791. *
  97792. * The input that you provide to the link is treated as a delta to the current URL.
  97793. * For instance, suppose the current URL is `/user/(box//aux:team)`.
  97794. * The link `<a [routerLink]="['/user/jim']">Jim</a>` creates the URL
  97795. * `/user/(jim//aux:team)`.
  97796. * See {@link Router#createUrlTree createUrlTree} for more information.
  97797. *
  97798. * @usageNotes
  97799. *
  97800. * You can use absolute or relative paths in a link, set query parameters,
  97801. * control how parameters are handled, and keep a history of navigation states.
  97802. *
  97803. * ### Relative link paths
  97804. *
  97805. * The first segment name can be prepended with `/`, `./`, or `../`.
  97806. * * If the first segment begins with `/`, the router looks up the route from the root of the
  97807. * app.
  97808. * * If the first segment begins with `./`, or doesn't begin with a slash, the router
  97809. * looks in the children of the current activated route.
  97810. * * If the first segment begins with `../`, the router goes up one level in the route tree.
  97811. *
  97812. * ### Setting and handling query params and fragments
  97813. *
  97814. * The following link adds a query parameter and a fragment to the generated URL:
  97815. *
  97816. * ```
  97817. * <a [routerLink]="['/user/bob']" [queryParams]="{debug: true}" fragment="education">
  97818. * link to user component
  97819. * </a>
  97820. * ```
  97821. * By default, the directive constructs the new URL using the given query parameters.
  97822. * The example generates the link: `/user/bob?debug=true#education`.
  97823. *
  97824. * You can instruct the directive to handle query parameters differently
  97825. * by specifying the `queryParamsHandling` option in the link.
  97826. * Allowed values are:
  97827. *
  97828. * - `'merge'`: Merge the given `queryParams` into the current query params.
  97829. * - `'preserve'`: Preserve the current query params.
  97830. *
  97831. * For example:
  97832. *
  97833. * ```
  97834. * <a [routerLink]="['/user/bob']" [queryParams]="{debug: true}" queryParamsHandling="merge">
  97835. * link to user component
  97836. * </a>
  97837. * ```
  97838. *
  97839. * See {@link UrlCreationOptions.queryParamsHandling UrlCreationOptions#queryParamsHandling}.
  97840. *
  97841. * ### Preserving navigation history
  97842. *
  97843. * You can provide a `state` value to be persisted to the browser's
  97844. * [`History.state` property](https://developer.mozilla.org/en-US/docs/Web/API/History#Properties).
  97845. * For example:
  97846. *
  97847. * ```
  97848. * <a [routerLink]="['/user/bob']" [state]="{tracingId: 123}">
  97849. * link to user component
  97850. * </a>
  97851. * ```
  97852. *
  97853. * Use {@link Router.getCurrentNavigation() Router#getCurrentNavigation} to retrieve a saved
  97854. * navigation-state value. For example, to capture the `tracingId` during the `NavigationStart`
  97855. * event:
  97856. *
  97857. * ```
  97858. * // Get NavigationStart events
  97859. * router.events.pipe(filter(e => e instanceof NavigationStart)).subscribe(e => {
  97860. * const navigation = router.getCurrentNavigation();
  97861. * tracingService.trace({id: navigation.extras.state.tracingId});
  97862. * });
  97863. * ```
  97864. *
  97865. * @ngModule RouterModule
  97866. *
  97867. * @publicApi
  97868. */
  97869. class RouterLink {
  97870. constructor(router, route, tabIndexAttribute, renderer, el) {
  97871. this.router = router;
  97872. this.route = route;
  97873. this.tabIndexAttribute = tabIndexAttribute;
  97874. this.renderer = renderer;
  97875. this.el = el;
  97876. this._preserveFragment = false;
  97877. this._skipLocationChange = false;
  97878. this._replaceUrl = false;
  97879. this.commands = null;
  97880. /** @internal */
  97881. this.onChanges = new rxjs__WEBPACK_IMPORTED_MODULE_31__.Subject();
  97882. this.setTabIndexIfNotOnNativeEl('0');
  97883. }
  97884. /**
  97885. * Passed to {@link Router#createUrlTree Router#createUrlTree} as part of the
  97886. * `UrlCreationOptions`.
  97887. * @see {@link UrlCreationOptions#preserveFragment UrlCreationOptions#preserveFragment}
  97888. * @see {@link Router#createUrlTree Router#createUrlTree}
  97889. */
  97890. set preserveFragment(preserveFragment) {
  97891. this._preserveFragment = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcoerceToBoolean"])(preserveFragment);
  97892. }
  97893. get preserveFragment() {
  97894. return this._preserveFragment;
  97895. }
  97896. /**
  97897. * Passed to {@link Router#navigateByUrl Router#navigateByUrl} as part of the
  97898. * `NavigationBehaviorOptions`.
  97899. * @see {@link NavigationBehaviorOptions#skipLocationChange NavigationBehaviorOptions#skipLocationChange}
  97900. * @see {@link Router#navigateByUrl Router#navigateByUrl}
  97901. */
  97902. set skipLocationChange(skipLocationChange) {
  97903. this._skipLocationChange = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcoerceToBoolean"])(skipLocationChange);
  97904. }
  97905. get skipLocationChange() {
  97906. return this._skipLocationChange;
  97907. }
  97908. /**
  97909. * Passed to {@link Router#navigateByUrl Router#navigateByUrl} as part of the
  97910. * `NavigationBehaviorOptions`.
  97911. * @see {@link NavigationBehaviorOptions#replaceUrl NavigationBehaviorOptions#replaceUrl}
  97912. * @see {@link Router#navigateByUrl Router#navigateByUrl}
  97913. */
  97914. set replaceUrl(replaceUrl) {
  97915. this._replaceUrl = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcoerceToBoolean"])(replaceUrl);
  97916. }
  97917. get replaceUrl() {
  97918. return this._replaceUrl;
  97919. }
  97920. /**
  97921. * Modifies the tab index if there was not a tabindex attribute on the element during
  97922. * instantiation.
  97923. */
  97924. setTabIndexIfNotOnNativeEl(newTabIndex) {
  97925. if (this.tabIndexAttribute != null
  97926. /* both `null` and `undefined` */
  97927. ) {
  97928. return;
  97929. }
  97930. const renderer = this.renderer;
  97931. const nativeElement = this.el.nativeElement;
  97932. if (newTabIndex !== null) {
  97933. renderer.setAttribute(nativeElement, 'tabindex', newTabIndex);
  97934. } else {
  97935. renderer.removeAttribute(nativeElement, 'tabindex');
  97936. }
  97937. }
  97938. /** @nodoc */
  97939. ngOnChanges(changes) {
  97940. // This is subscribed to by `RouterLinkActive` so that it knows to update when there are changes
  97941. // to the RouterLinks it's tracking.
  97942. this.onChanges.next(this);
  97943. }
  97944. /**
  97945. * Commands to pass to {@link Router#createUrlTree Router#createUrlTree}.
  97946. * - **array**: commands to pass to {@link Router#createUrlTree Router#createUrlTree}.
  97947. * - **string**: shorthand for array of commands with just the string, i.e. `['/route']`
  97948. * - **null|undefined**: effectively disables the `routerLink`
  97949. * @see {@link Router#createUrlTree Router#createUrlTree}
  97950. */
  97951. set routerLink(commands) {
  97952. if (commands != null) {
  97953. this.commands = Array.isArray(commands) ? commands : [commands];
  97954. this.setTabIndexIfNotOnNativeEl('0');
  97955. } else {
  97956. this.commands = null;
  97957. this.setTabIndexIfNotOnNativeEl(null);
  97958. }
  97959. }
  97960. /** @nodoc */
  97961. onClick() {
  97962. if (this.urlTree === null) {
  97963. return true;
  97964. }
  97965. const extras = {
  97966. skipLocationChange: this.skipLocationChange,
  97967. replaceUrl: this.replaceUrl,
  97968. state: this.state
  97969. };
  97970. this.router.navigateByUrl(this.urlTree, extras);
  97971. return true;
  97972. }
  97973. get urlTree() {
  97974. if (this.commands === null) {
  97975. return null;
  97976. }
  97977. return this.router.createUrlTree(this.commands, {
  97978. // If the `relativeTo` input is not defined, we want to use `this.route` by default.
  97979. // Otherwise, we should use the value provided by the user in the input.
  97980. relativeTo: this.relativeTo !== undefined ? this.relativeTo : this.route,
  97981. queryParams: this.queryParams,
  97982. fragment: this.fragment,
  97983. queryParamsHandling: this.queryParamsHandling,
  97984. preserveFragment: this.preserveFragment
  97985. });
  97986. }
  97987. }
  97988. RouterLink.ɵfac = function RouterLink_Factory(t) {
  97989. return new (t || RouterLink)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](Router), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](ActivatedRoute), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinjectAttribute"]('tabindex'), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.Renderer2), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef));
  97990. };
  97991. RouterLink.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  97992. type: RouterLink,
  97993. selectors: [["", "routerLink", "", 5, "a", 5, "area"]],
  97994. hostBindings: function RouterLink_HostBindings(rf, ctx) {
  97995. if (rf & 1) {
  97996. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function RouterLink_click_HostBindingHandler() {
  97997. return ctx.onClick();
  97998. });
  97999. }
  98000. },
  98001. inputs: {
  98002. queryParams: "queryParams",
  98003. fragment: "fragment",
  98004. queryParamsHandling: "queryParamsHandling",
  98005. state: "state",
  98006. relativeTo: "relativeTo",
  98007. preserveFragment: "preserveFragment",
  98008. skipLocationChange: "skipLocationChange",
  98009. replaceUrl: "replaceUrl",
  98010. routerLink: "routerLink"
  98011. },
  98012. standalone: true,
  98013. features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]]
  98014. });
  98015. (function () {
  98016. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](RouterLink, [{
  98017. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  98018. args: [{
  98019. selector: ':not(a):not(area)[routerLink]',
  98020. standalone: true
  98021. }]
  98022. }], function () {
  98023. return [{
  98024. type: Router
  98025. }, {
  98026. type: ActivatedRoute
  98027. }, {
  98028. type: undefined,
  98029. decorators: [{
  98030. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Attribute,
  98031. args: ['tabindex']
  98032. }]
  98033. }, {
  98034. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Renderer2
  98035. }, {
  98036. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef
  98037. }];
  98038. }, {
  98039. queryParams: [{
  98040. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  98041. }],
  98042. fragment: [{
  98043. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  98044. }],
  98045. queryParamsHandling: [{
  98046. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  98047. }],
  98048. state: [{
  98049. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  98050. }],
  98051. relativeTo: [{
  98052. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  98053. }],
  98054. preserveFragment: [{
  98055. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  98056. }],
  98057. skipLocationChange: [{
  98058. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  98059. }],
  98060. replaceUrl: [{
  98061. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  98062. }],
  98063. routerLink: [{
  98064. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  98065. }],
  98066. onClick: [{
  98067. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.HostListener,
  98068. args: ['click']
  98069. }]
  98070. });
  98071. })();
  98072. /**
  98073. * @description
  98074. *
  98075. * Lets you link to specific routes in your app.
  98076. *
  98077. * See `RouterLink` for more information.
  98078. *
  98079. * @ngModule RouterModule
  98080. *
  98081. * @publicApi
  98082. */
  98083. class RouterLinkWithHref {
  98084. constructor(router, route, locationStrategy) {
  98085. this.router = router;
  98086. this.route = route;
  98087. this.locationStrategy = locationStrategy;
  98088. this._preserveFragment = false;
  98089. this._skipLocationChange = false;
  98090. this._replaceUrl = false;
  98091. this.commands = null; // the url displayed on the anchor element.
  98092. // @HostBinding('attr.href') is used rather than @HostBinding() because it removes the
  98093. // href attribute when it becomes `null`.
  98094. this.href = null;
  98095. /** @internal */
  98096. this.onChanges = new rxjs__WEBPACK_IMPORTED_MODULE_31__.Subject();
  98097. this.subscription = router.events.subscribe(s => {
  98098. if (s instanceof NavigationEnd) {
  98099. this.updateTargetUrlAndHref();
  98100. }
  98101. });
  98102. }
  98103. /**
  98104. * Passed to {@link Router#createUrlTree Router#createUrlTree} as part of the
  98105. * `UrlCreationOptions`.
  98106. * @see {@link UrlCreationOptions#preserveFragment UrlCreationOptions#preserveFragment}
  98107. * @see {@link Router#createUrlTree Router#createUrlTree}
  98108. */
  98109. set preserveFragment(preserveFragment) {
  98110. this._preserveFragment = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcoerceToBoolean"])(preserveFragment);
  98111. }
  98112. get preserveFragment() {
  98113. return this._preserveFragment;
  98114. }
  98115. /**
  98116. * Passed to {@link Router#navigateByUrl Router#navigateByUrl} as part of the
  98117. * `NavigationBehaviorOptions`.
  98118. * @see {@link NavigationBehaviorOptions#skipLocationChange NavigationBehaviorOptions#skipLocationChange}
  98119. * @see {@link Router#navigateByUrl Router#navigateByUrl}
  98120. */
  98121. set skipLocationChange(skipLocationChange) {
  98122. this._skipLocationChange = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcoerceToBoolean"])(skipLocationChange);
  98123. }
  98124. get skipLocationChange() {
  98125. return this._skipLocationChange;
  98126. }
  98127. /**
  98128. * Passed to {@link Router#navigateByUrl Router#navigateByUrl} as part of the
  98129. * `NavigationBehaviorOptions`.
  98130. * @see {@link NavigationBehaviorOptions#replaceUrl NavigationBehaviorOptions#replaceUrl}
  98131. * @see {@link Router#navigateByUrl Router#navigateByUrl}
  98132. */
  98133. set replaceUrl(replaceUrl) {
  98134. this._replaceUrl = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcoerceToBoolean"])(replaceUrl);
  98135. }
  98136. get replaceUrl() {
  98137. return this._replaceUrl;
  98138. }
  98139. /**
  98140. * Commands to pass to {@link Router#createUrlTree Router#createUrlTree}.
  98141. * - **array**: commands to pass to {@link Router#createUrlTree Router#createUrlTree}.
  98142. * - **string**: shorthand for array of commands with just the string, i.e. `['/route']`
  98143. * - **null|undefined**: Disables the link by removing the `href`
  98144. * @see {@link Router#createUrlTree Router#createUrlTree}
  98145. */
  98146. set routerLink(commands) {
  98147. if (commands != null) {
  98148. this.commands = Array.isArray(commands) ? commands : [commands];
  98149. } else {
  98150. this.commands = null;
  98151. }
  98152. }
  98153. /** @nodoc */
  98154. ngOnChanges(changes) {
  98155. this.updateTargetUrlAndHref();
  98156. this.onChanges.next(this);
  98157. }
  98158. /** @nodoc */
  98159. ngOnDestroy() {
  98160. this.subscription.unsubscribe();
  98161. }
  98162. /** @nodoc */
  98163. onClick(button, ctrlKey, shiftKey, altKey, metaKey) {
  98164. if (button !== 0 || ctrlKey || shiftKey || altKey || metaKey) {
  98165. return true;
  98166. }
  98167. if (typeof this.target === 'string' && this.target != '_self' || this.urlTree === null) {
  98168. return true;
  98169. }
  98170. const extras = {
  98171. skipLocationChange: this.skipLocationChange,
  98172. replaceUrl: this.replaceUrl,
  98173. state: this.state
  98174. };
  98175. this.router.navigateByUrl(this.urlTree, extras);
  98176. return false;
  98177. }
  98178. updateTargetUrlAndHref() {
  98179. this.href = this.urlTree !== null ? this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)) : null;
  98180. }
  98181. get urlTree() {
  98182. if (this.commands === null) {
  98183. return null;
  98184. }
  98185. return this.router.createUrlTree(this.commands, {
  98186. // If the `relativeTo` input is not defined, we want to use `this.route` by default.
  98187. // Otherwise, we should use the value provided by the user in the input.
  98188. relativeTo: this.relativeTo !== undefined ? this.relativeTo : this.route,
  98189. queryParams: this.queryParams,
  98190. fragment: this.fragment,
  98191. queryParamsHandling: this.queryParamsHandling,
  98192. preserveFragment: this.preserveFragment
  98193. });
  98194. }
  98195. }
  98196. RouterLinkWithHref.ɵfac = function RouterLinkWithHref_Factory(t) {
  98197. return new (t || RouterLinkWithHref)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](Router), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](ActivatedRoute), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_common__WEBPACK_IMPORTED_MODULE_33__.LocationStrategy));
  98198. };
  98199. RouterLinkWithHref.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  98200. type: RouterLinkWithHref,
  98201. selectors: [["a", "routerLink", ""], ["area", "routerLink", ""]],
  98202. hostVars: 2,
  98203. hostBindings: function RouterLinkWithHref_HostBindings(rf, ctx) {
  98204. if (rf & 1) {
  98205. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function RouterLinkWithHref_click_HostBindingHandler($event) {
  98206. return ctx.onClick($event.button, $event.ctrlKey, $event.shiftKey, $event.altKey, $event.metaKey);
  98207. });
  98208. }
  98209. if (rf & 2) {
  98210. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("target", ctx.target)("href", ctx.href, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"]);
  98211. }
  98212. },
  98213. inputs: {
  98214. target: "target",
  98215. queryParams: "queryParams",
  98216. fragment: "fragment",
  98217. queryParamsHandling: "queryParamsHandling",
  98218. state: "state",
  98219. relativeTo: "relativeTo",
  98220. preserveFragment: "preserveFragment",
  98221. skipLocationChange: "skipLocationChange",
  98222. replaceUrl: "replaceUrl",
  98223. routerLink: "routerLink"
  98224. },
  98225. standalone: true,
  98226. features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]]
  98227. });
  98228. (function () {
  98229. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](RouterLinkWithHref, [{
  98230. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  98231. args: [{
  98232. selector: 'a[routerLink],area[routerLink]',
  98233. standalone: true
  98234. }]
  98235. }], function () {
  98236. return [{
  98237. type: Router
  98238. }, {
  98239. type: ActivatedRoute
  98240. }, {
  98241. type: _angular_common__WEBPACK_IMPORTED_MODULE_33__.LocationStrategy
  98242. }];
  98243. }, {
  98244. target: [{
  98245. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.HostBinding,
  98246. args: ['attr.target']
  98247. }, {
  98248. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  98249. }],
  98250. queryParams: [{
  98251. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  98252. }],
  98253. fragment: [{
  98254. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  98255. }],
  98256. queryParamsHandling: [{
  98257. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  98258. }],
  98259. state: [{
  98260. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  98261. }],
  98262. relativeTo: [{
  98263. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  98264. }],
  98265. href: [{
  98266. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.HostBinding,
  98267. args: ['attr.href']
  98268. }],
  98269. preserveFragment: [{
  98270. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  98271. }],
  98272. skipLocationChange: [{
  98273. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  98274. }],
  98275. replaceUrl: [{
  98276. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  98277. }],
  98278. routerLink: [{
  98279. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  98280. }],
  98281. onClick: [{
  98282. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.HostListener,
  98283. args: ['click', ['$event.button', '$event.ctrlKey', '$event.shiftKey', '$event.altKey', '$event.metaKey']]
  98284. }]
  98285. });
  98286. })();
  98287. /**
  98288. * @license
  98289. * Copyright Google LLC All Rights Reserved.
  98290. *
  98291. * Use of this source code is governed by an MIT-style license that can be
  98292. * found in the LICENSE file at https://angular.io/license
  98293. */
  98294. /**
  98295. *
  98296. * @description
  98297. *
  98298. * Tracks whether the linked route of an element is currently active, and allows you
  98299. * to specify one or more CSS classes to add to the element when the linked route
  98300. * is active.
  98301. *
  98302. * Use this directive to create a visual distinction for elements associated with an active route.
  98303. * For example, the following code highlights the word "Bob" when the router
  98304. * activates the associated route:
  98305. *
  98306. * ```
  98307. * <a routerLink="/user/bob" routerLinkActive="active-link">Bob</a>
  98308. * ```
  98309. *
  98310. * Whenever the URL is either '/user' or '/user/bob', the "active-link" class is
  98311. * added to the anchor tag. If the URL changes, the class is removed.
  98312. *
  98313. * You can set more than one class using a space-separated string or an array.
  98314. * For example:
  98315. *
  98316. * ```
  98317. * <a routerLink="/user/bob" routerLinkActive="class1 class2">Bob</a>
  98318. * <a routerLink="/user/bob" [routerLinkActive]="['class1', 'class2']">Bob</a>
  98319. * ```
  98320. *
  98321. * To add the classes only when the URL matches the link exactly, add the option `exact: true`:
  98322. *
  98323. * ```
  98324. * <a routerLink="/user/bob" routerLinkActive="active-link" [routerLinkActiveOptions]="{exact:
  98325. * true}">Bob</a>
  98326. * ```
  98327. *
  98328. * To directly check the `isActive` status of the link, assign the `RouterLinkActive`
  98329. * instance to a template variable.
  98330. * For example, the following checks the status without assigning any CSS classes:
  98331. *
  98332. * ```
  98333. * <a routerLink="/user/bob" routerLinkActive #rla="routerLinkActive">
  98334. * Bob {{ rla.isActive ? '(already open)' : ''}}
  98335. * </a>
  98336. * ```
  98337. *
  98338. * You can apply the `RouterLinkActive` directive to an ancestor of linked elements.
  98339. * For example, the following sets the active-link class on the `<div>` parent tag
  98340. * when the URL is either '/user/jim' or '/user/bob'.
  98341. *
  98342. * ```
  98343. * <div routerLinkActive="active-link" [routerLinkActiveOptions]="{exact: true}">
  98344. * <a routerLink="/user/jim">Jim</a>
  98345. * <a routerLink="/user/bob">Bob</a>
  98346. * </div>
  98347. * ```
  98348. *
  98349. * The `RouterLinkActive` directive can also be used to set the aria-current attribute
  98350. * to provide an alternative distinction for active elements to visually impaired users.
  98351. *
  98352. * For example, the following code adds the 'active' class to the Home Page link when it is
  98353. * indeed active and in such case also sets its aria-current attribute to 'page':
  98354. *
  98355. * ```
  98356. * <a routerLink="/" routerLinkActive="active" ariaCurrentWhenActive="page">Home Page</a>
  98357. * ```
  98358. *
  98359. * @ngModule RouterModule
  98360. *
  98361. * @publicApi
  98362. */
  98363. class RouterLinkActive {
  98364. constructor(router, element, renderer, cdr, link, linkWithHref) {
  98365. this.router = router;
  98366. this.element = element;
  98367. this.renderer = renderer;
  98368. this.cdr = cdr;
  98369. this.link = link;
  98370. this.linkWithHref = linkWithHref;
  98371. this.classes = [];
  98372. this.isActive = false;
  98373. /**
  98374. * Options to configure how to determine if the router link is active.
  98375. *
  98376. * These options are passed to the `Router.isActive()` function.
  98377. *
  98378. * @see Router.isActive
  98379. */
  98380. this.routerLinkActiveOptions = {
  98381. exact: false
  98382. };
  98383. /**
  98384. *
  98385. * You can use the output `isActiveChange` to get notified each time the link becomes
  98386. * active or inactive.
  98387. *
  98388. * Emits:
  98389. * true -> Route is active
  98390. * false -> Route is inactive
  98391. *
  98392. * ```
  98393. * <a
  98394. * routerLink="/user/bob"
  98395. * routerLinkActive="active-link"
  98396. * (isActiveChange)="this.onRouterLinkActive($event)">Bob</a>
  98397. * ```
  98398. */
  98399. this.isActiveChange = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
  98400. this.routerEventsSubscription = router.events.subscribe(s => {
  98401. if (s instanceof NavigationEnd) {
  98402. this.update();
  98403. }
  98404. });
  98405. }
  98406. /** @nodoc */
  98407. ngAfterContentInit() {
  98408. // `of(null)` is used to force subscribe body to execute once immediately (like `startWith`).
  98409. (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(this.links.changes, this.linksWithHrefs.changes, (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(null)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_34__.mergeAll)()).subscribe(_ => {
  98410. this.update();
  98411. this.subscribeToEachLinkOnChanges();
  98412. });
  98413. }
  98414. subscribeToEachLinkOnChanges() {
  98415. var _a;
  98416. (_a = this.linkInputChangesSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
  98417. const allLinkChanges = [...this.links.toArray(), ...this.linksWithHrefs.toArray(), this.link, this.linkWithHref].filter(link => !!link).map(link => link.onChanges);
  98418. this.linkInputChangesSubscription = (0,rxjs__WEBPACK_IMPORTED_MODULE_1__.from)(allLinkChanges).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_34__.mergeAll)()).subscribe(link => {
  98419. if (this.isActive !== this.isLinkActive(this.router)(link)) {
  98420. this.update();
  98421. }
  98422. });
  98423. }
  98424. set routerLinkActive(data) {
  98425. const classes = Array.isArray(data) ? data : data.split(' ');
  98426. this.classes = classes.filter(c => !!c);
  98427. }
  98428. /** @nodoc */
  98429. ngOnChanges(changes) {
  98430. this.update();
  98431. }
  98432. /** @nodoc */
  98433. ngOnDestroy() {
  98434. var _a;
  98435. this.routerEventsSubscription.unsubscribe();
  98436. (_a = this.linkInputChangesSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
  98437. }
  98438. update() {
  98439. if (!this.links || !this.linksWithHrefs || !this.router.navigated) return;
  98440. Promise.resolve().then(() => {
  98441. const hasActiveLinks = this.hasActiveLinks();
  98442. if (this.isActive !== hasActiveLinks) {
  98443. this.isActive = hasActiveLinks;
  98444. this.cdr.markForCheck();
  98445. this.classes.forEach(c => {
  98446. if (hasActiveLinks) {
  98447. this.renderer.addClass(this.element.nativeElement, c);
  98448. } else {
  98449. this.renderer.removeClass(this.element.nativeElement, c);
  98450. }
  98451. });
  98452. if (hasActiveLinks && this.ariaCurrentWhenActive !== undefined) {
  98453. this.renderer.setAttribute(this.element.nativeElement, 'aria-current', this.ariaCurrentWhenActive.toString());
  98454. } else {
  98455. this.renderer.removeAttribute(this.element.nativeElement, 'aria-current');
  98456. } // Emit on isActiveChange after classes are updated
  98457. this.isActiveChange.emit(hasActiveLinks);
  98458. }
  98459. });
  98460. }
  98461. isLinkActive(router) {
  98462. const options = isActiveMatchOptions(this.routerLinkActiveOptions) ? this.routerLinkActiveOptions : // While the types should disallow `undefined` here, it's possible without strict inputs
  98463. this.routerLinkActiveOptions.exact || false;
  98464. return link => link.urlTree ? router.isActive(link.urlTree, options) : false;
  98465. }
  98466. hasActiveLinks() {
  98467. const isActiveCheckFn = this.isLinkActive(this.router);
  98468. return this.link && isActiveCheckFn(this.link) || this.linkWithHref && isActiveCheckFn(this.linkWithHref) || this.links.some(isActiveCheckFn) || this.linksWithHrefs.some(isActiveCheckFn);
  98469. }
  98470. }
  98471. RouterLinkActive.ɵfac = function RouterLinkActive_Factory(t) {
  98472. return new (t || RouterLinkActive)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](Router), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.Renderer2), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](RouterLink, 8), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](RouterLinkWithHref, 8));
  98473. };
  98474. RouterLinkActive.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
  98475. type: RouterLinkActive,
  98476. selectors: [["", "routerLinkActive", ""]],
  98477. contentQueries: function RouterLinkActive_ContentQueries(rf, ctx, dirIndex) {
  98478. if (rf & 1) {
  98479. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵcontentQuery"](dirIndex, RouterLink, 5);
  98480. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵcontentQuery"](dirIndex, RouterLinkWithHref, 5);
  98481. }
  98482. if (rf & 2) {
  98483. let _t;
  98484. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.links = _t);
  98485. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.linksWithHrefs = _t);
  98486. }
  98487. },
  98488. inputs: {
  98489. routerLinkActiveOptions: "routerLinkActiveOptions",
  98490. ariaCurrentWhenActive: "ariaCurrentWhenActive",
  98491. routerLinkActive: "routerLinkActive"
  98492. },
  98493. outputs: {
  98494. isActiveChange: "isActiveChange"
  98495. },
  98496. exportAs: ["routerLinkActive"],
  98497. standalone: true,
  98498. features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]]
  98499. });
  98500. (function () {
  98501. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](RouterLinkActive, [{
  98502. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
  98503. args: [{
  98504. selector: '[routerLinkActive]',
  98505. exportAs: 'routerLinkActive',
  98506. standalone: true
  98507. }]
  98508. }], function () {
  98509. return [{
  98510. type: Router
  98511. }, {
  98512. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef
  98513. }, {
  98514. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Renderer2
  98515. }, {
  98516. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ChangeDetectorRef
  98517. }, {
  98518. type: RouterLink,
  98519. decorators: [{
  98520. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  98521. }]
  98522. }, {
  98523. type: RouterLinkWithHref,
  98524. decorators: [{
  98525. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  98526. }]
  98527. }];
  98528. }, {
  98529. links: [{
  98530. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ContentChildren,
  98531. args: [RouterLink, {
  98532. descendants: true
  98533. }]
  98534. }],
  98535. linksWithHrefs: [{
  98536. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ContentChildren,
  98537. args: [RouterLinkWithHref, {
  98538. descendants: true
  98539. }]
  98540. }],
  98541. routerLinkActiveOptions: [{
  98542. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  98543. }],
  98544. ariaCurrentWhenActive: [{
  98545. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  98546. }],
  98547. isActiveChange: [{
  98548. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Output
  98549. }],
  98550. routerLinkActive: [{
  98551. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
  98552. }]
  98553. });
  98554. })();
  98555. /**
  98556. * Use instead of `'paths' in options` to be compatible with property renaming
  98557. */
  98558. function isActiveMatchOptions(options) {
  98559. return !!options.paths;
  98560. }
  98561. /**
  98562. * @license
  98563. * Copyright Google LLC All Rights Reserved.
  98564. *
  98565. * Use of this source code is governed by an MIT-style license that can be
  98566. * found in the LICENSE file at https://angular.io/license
  98567. */
  98568. /**
  98569. * @description
  98570. *
  98571. * Provides a preloading strategy.
  98572. *
  98573. * @publicApi
  98574. */
  98575. class PreloadingStrategy {}
  98576. /**
  98577. * @description
  98578. *
  98579. * Provides a preloading strategy that preloads all modules as quickly as possible.
  98580. *
  98581. * ```
  98582. * RouterModule.forRoot(ROUTES, {preloadingStrategy: PreloadAllModules})
  98583. * ```
  98584. *
  98585. * @publicApi
  98586. */
  98587. class PreloadAllModules {
  98588. preload(route, fn) {
  98589. return fn().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_19__.catchError)(() => (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(null)));
  98590. }
  98591. }
  98592. PreloadAllModules.ɵfac = function PreloadAllModules_Factory(t) {
  98593. return new (t || PreloadAllModules)();
  98594. };
  98595. PreloadAllModules.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
  98596. token: PreloadAllModules,
  98597. factory: PreloadAllModules.ɵfac,
  98598. providedIn: 'root'
  98599. });
  98600. (function () {
  98601. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PreloadAllModules, [{
  98602. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
  98603. args: [{
  98604. providedIn: 'root'
  98605. }]
  98606. }], null, null);
  98607. })();
  98608. /**
  98609. * @description
  98610. *
  98611. * Provides a preloading strategy that does not preload any modules.
  98612. *
  98613. * This strategy is enabled by default.
  98614. *
  98615. * @publicApi
  98616. */
  98617. class NoPreloading {
  98618. preload(route, fn) {
  98619. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(null);
  98620. }
  98621. }
  98622. NoPreloading.ɵfac = function NoPreloading_Factory(t) {
  98623. return new (t || NoPreloading)();
  98624. };
  98625. NoPreloading.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
  98626. token: NoPreloading,
  98627. factory: NoPreloading.ɵfac,
  98628. providedIn: 'root'
  98629. });
  98630. (function () {
  98631. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NoPreloading, [{
  98632. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
  98633. args: [{
  98634. providedIn: 'root'
  98635. }]
  98636. }], null, null);
  98637. })();
  98638. /**
  98639. * The preloader optimistically loads all router configurations to
  98640. * make navigations into lazily-loaded sections of the application faster.
  98641. *
  98642. * The preloader runs in the background. When the router bootstraps, the preloader
  98643. * starts listening to all navigation events. After every such event, the preloader
  98644. * will check if any configurations can be loaded lazily.
  98645. *
  98646. * If a route is protected by `canLoad` guards, the preloaded will not load it.
  98647. *
  98648. * @publicApi
  98649. */
  98650. class RouterPreloader {
  98651. constructor(router, compiler, injector, preloadingStrategy, loader) {
  98652. this.router = router;
  98653. this.injector = injector;
  98654. this.preloadingStrategy = preloadingStrategy;
  98655. this.loader = loader;
  98656. }
  98657. setUpPreloading() {
  98658. this.subscription = this.router.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.filter)(e => e instanceof NavigationEnd), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.concatMap)(() => this.preload())).subscribe(() => {});
  98659. }
  98660. preload() {
  98661. return this.processRoutes(this.injector, this.router.config);
  98662. }
  98663. /** @nodoc */
  98664. ngOnDestroy() {
  98665. if (this.subscription) {
  98666. this.subscription.unsubscribe();
  98667. }
  98668. }
  98669. processRoutes(injector, routes) {
  98670. var _a, _b, _c;
  98671. const res = [];
  98672. for (const route of routes) {
  98673. if (route.providers && !route._injector) {
  98674. route._injector = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.createEnvironmentInjector)(route.providers, injector, `Route: ${route.path}`);
  98675. }
  98676. const injectorForCurrentRoute = (_a = route._injector) !== null && _a !== void 0 ? _a : injector;
  98677. const injectorForChildren = (_b = route._loadedInjector) !== null && _b !== void 0 ? _b : injectorForCurrentRoute; // Note that `canLoad` is only checked as a condition that prevents `loadChildren` and not
  98678. // `loadComponent`. `canLoad` guards only block loading of child routes by design. This
  98679. // happens as a consequence of needing to descend into children for route matching immediately
  98680. // while component loading is deferred until route activation. Because `canLoad` guards can
  98681. // have side effects, we cannot execute them here so we instead skip preloading altogether
  98682. // when present. Lastly, it remains to be decided whether `canLoad` should behave this way
  98683. // at all. Code splitting and lazy loading is separate from client-side authorization checks
  98684. // and should not be used as a security measure to prevent loading of code.
  98685. if (route.loadChildren && !route._loadedRoutes && route.canLoad === undefined || route.loadComponent && !route._loadedComponent) {
  98686. res.push(this.preloadConfig(injectorForCurrentRoute, route));
  98687. } else if (route.children || route._loadedRoutes) {
  98688. res.push(this.processRoutes(injectorForChildren, (_c = route.children) !== null && _c !== void 0 ? _c : route._loadedRoutes));
  98689. }
  98690. }
  98691. return (0,rxjs__WEBPACK_IMPORTED_MODULE_1__.from)(res).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_34__.mergeAll)());
  98692. }
  98693. preloadConfig(injector, route) {
  98694. return this.preloadingStrategy.preload(route, () => {
  98695. let loadedChildren$;
  98696. if (route.loadChildren && route.canLoad === undefined) {
  98697. loadedChildren$ = this.loader.loadChildren(injector, route);
  98698. } else {
  98699. loadedChildren$ = (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(null);
  98700. }
  98701. const recursiveLoadChildren$ = loadedChildren$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.mergeMap)(config => {
  98702. var _a;
  98703. if (config === null) {
  98704. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(void 0);
  98705. }
  98706. route._loadedRoutes = config.routes;
  98707. route._loadedInjector = config.injector; // If the loaded config was a module, use that as the module/module injector going
  98708. // forward. Otherwise, continue using the current module/module injector.
  98709. return this.processRoutes((_a = config.injector) !== null && _a !== void 0 ? _a : injector, config.routes);
  98710. }));
  98711. if (route.loadComponent && !route._loadedComponent) {
  98712. const loadComponent$ = this.loader.loadComponent(route);
  98713. return (0,rxjs__WEBPACK_IMPORTED_MODULE_1__.from)([recursiveLoadChildren$, loadComponent$]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_34__.mergeAll)());
  98714. } else {
  98715. return recursiveLoadChildren$;
  98716. }
  98717. });
  98718. }
  98719. }
  98720. RouterPreloader.ɵfac = function RouterPreloader_Factory(t) {
  98721. return new (t || RouterPreloader)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](Router), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.Compiler), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.EnvironmentInjector), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](PreloadingStrategy), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](RouterConfigLoader));
  98722. };
  98723. RouterPreloader.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
  98724. token: RouterPreloader,
  98725. factory: RouterPreloader.ɵfac,
  98726. providedIn: 'root'
  98727. });
  98728. (function () {
  98729. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](RouterPreloader, [{
  98730. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
  98731. args: [{
  98732. providedIn: 'root'
  98733. }]
  98734. }], function () {
  98735. return [{
  98736. type: Router
  98737. }, {
  98738. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Compiler
  98739. }, {
  98740. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.EnvironmentInjector
  98741. }, {
  98742. type: PreloadingStrategy
  98743. }, {
  98744. type: RouterConfigLoader
  98745. }];
  98746. }, null);
  98747. })();
  98748. const ROUTER_SCROLLER = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('');
  98749. class RouterScroller {
  98750. constructor(router,
  98751. /** @docsNotRequired */
  98752. viewportScroller, options = {}) {
  98753. this.router = router;
  98754. this.viewportScroller = viewportScroller;
  98755. this.options = options;
  98756. this.lastId = 0;
  98757. this.lastSource = 'imperative';
  98758. this.restoredId = 0;
  98759. this.store = {}; // Default both options to 'disabled'
  98760. options.scrollPositionRestoration = options.scrollPositionRestoration || 'disabled';
  98761. options.anchorScrolling = options.anchorScrolling || 'disabled';
  98762. }
  98763. init() {
  98764. // we want to disable the automatic scrolling because having two places
  98765. // responsible for scrolling results race conditions, especially given
  98766. // that browser don't implement this behavior consistently
  98767. if (this.options.scrollPositionRestoration !== 'disabled') {
  98768. this.viewportScroller.setHistoryScrollRestoration('manual');
  98769. }
  98770. this.routerEventsSubscription = this.createScrollEvents();
  98771. this.scrollEventsSubscription = this.consumeScrollEvents();
  98772. }
  98773. createScrollEvents() {
  98774. return this.router.events.subscribe(e => {
  98775. if (e instanceof NavigationStart) {
  98776. // store the scroll position of the current stable navigations.
  98777. this.store[this.lastId] = this.viewportScroller.getScrollPosition();
  98778. this.lastSource = e.navigationTrigger;
  98779. this.restoredId = e.restoredState ? e.restoredState.navigationId : 0;
  98780. } else if (e instanceof NavigationEnd) {
  98781. this.lastId = e.id;
  98782. this.scheduleScrollEvent(e, this.router.parseUrl(e.urlAfterRedirects).fragment);
  98783. }
  98784. });
  98785. }
  98786. consumeScrollEvents() {
  98787. return this.router.events.subscribe(e => {
  98788. if (!(e instanceof Scroll)) return; // a popstate event. The pop state event will always ignore anchor scrolling.
  98789. if (e.position) {
  98790. if (this.options.scrollPositionRestoration === 'top') {
  98791. this.viewportScroller.scrollToPosition([0, 0]);
  98792. } else if (this.options.scrollPositionRestoration === 'enabled') {
  98793. this.viewportScroller.scrollToPosition(e.position);
  98794. } // imperative navigation "forward"
  98795. } else {
  98796. if (e.anchor && this.options.anchorScrolling === 'enabled') {
  98797. this.viewportScroller.scrollToAnchor(e.anchor);
  98798. } else if (this.options.scrollPositionRestoration !== 'disabled') {
  98799. this.viewportScroller.scrollToPosition([0, 0]);
  98800. }
  98801. }
  98802. });
  98803. }
  98804. scheduleScrollEvent(routerEvent, anchor) {
  98805. this.router.triggerEvent(new Scroll(routerEvent, this.lastSource === 'popstate' ? this.store[this.restoredId] : null, anchor));
  98806. }
  98807. /** @nodoc */
  98808. ngOnDestroy() {
  98809. if (this.routerEventsSubscription) {
  98810. this.routerEventsSubscription.unsubscribe();
  98811. }
  98812. if (this.scrollEventsSubscription) {
  98813. this.scrollEventsSubscription.unsubscribe();
  98814. }
  98815. }
  98816. }
  98817. RouterScroller.ɵfac = function RouterScroller_Factory(t) {
  98818. _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinvalidFactory"]();
  98819. };
  98820. RouterScroller.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
  98821. token: RouterScroller,
  98822. factory: RouterScroller.ɵfac
  98823. });
  98824. (function () {
  98825. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](RouterScroller, [{
  98826. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable
  98827. }], function () {
  98828. return [{
  98829. type: Router
  98830. }, {
  98831. type: _angular_common__WEBPACK_IMPORTED_MODULE_33__.ViewportScroller
  98832. }, {
  98833. type: undefined
  98834. }];
  98835. }, null);
  98836. })();
  98837. /**
  98838. * @license
  98839. * Copyright Google LLC All Rights Reserved.
  98840. *
  98841. * Use of this source code is governed by an MIT-style license that can be
  98842. * found in the LICENSE file at https://angular.io/license
  98843. */
  98844. const NG_DEV_MODE$1 = typeof ngDevMode === 'undefined' || ngDevMode;
  98845. /**
  98846. * Sets up providers necessary to enable `Router` functionality for the application.
  98847. * Allows to configure a set of routes as well as extra features that should be enabled.
  98848. *
  98849. * @usageNotes
  98850. *
  98851. * Basic example of how you can add a Router to your application:
  98852. * ```
  98853. * const appRoutes: Routes = [];
  98854. * bootstrapApplication(AppComponent, {
  98855. * providers: [provideRouter(appRoutes)]
  98856. * });
  98857. * ```
  98858. *
  98859. * You can also enable optional features in the Router by adding functions from the `RouterFeatures`
  98860. * type:
  98861. * ```
  98862. * const appRoutes: Routes = [];
  98863. * bootstrapApplication(AppComponent,
  98864. * {
  98865. * providers: [
  98866. * provideRouter(appRoutes,
  98867. * withDebugTracing(),
  98868. * withRouterConfig({paramsInheritanceStrategy: 'always'}))
  98869. * ]
  98870. * }
  98871. * );
  98872. * ```
  98873. *
  98874. * @see `RouterFeatures`
  98875. *
  98876. * @publicApi
  98877. * @developerPreview
  98878. * @param routes A set of `Route`s to use for the application routing table.
  98879. * @param features Optional features to configure additional router behaviors.
  98880. * @returns A set of providers to setup a Router.
  98881. */
  98882. function provideRouter(routes, ...features) {
  98883. return [provideRoutes(routes), {
  98884. provide: ActivatedRoute,
  98885. useFactory: rootRoute,
  98886. deps: [Router]
  98887. }, {
  98888. provide: _angular_core__WEBPACK_IMPORTED_MODULE_0__.APP_BOOTSTRAP_LISTENER,
  98889. multi: true,
  98890. useFactory: getBootstrapListener
  98891. }, features.map(feature => feature.ɵproviders) // TODO: All options used by the `assignExtraOptionsToRouter` factory need to be reviewed for
  98892. // how we want them to be configured. This API doesn't currently have a way to configure them
  98893. // and we should decide what the _best_ way to do that is rather than just sticking with the
  98894. // status quo of how it's done today.
  98895. ];
  98896. }
  98897. function rootRoute(router) {
  98898. return router.routerState.root;
  98899. }
  98900. /**
  98901. * Helper function to create an object that represents a Router feature.
  98902. */
  98903. function routerFeature(kind, providers) {
  98904. return {
  98905. ɵkind: kind,
  98906. ɵproviders: providers
  98907. };
  98908. }
  98909. /**
  98910. * Registers a [DI provider](guide/glossary#provider) for a set of routes.
  98911. * @param routes The route configuration to provide.
  98912. *
  98913. * @usageNotes
  98914. *
  98915. * ```
  98916. * @NgModule({
  98917. * providers: [provideRoutes(ROUTES)]
  98918. * })
  98919. * class LazyLoadedChildModule {}
  98920. * ```
  98921. *
  98922. * @publicApi
  98923. */
  98924. function provideRoutes(routes) {
  98925. return [{
  98926. provide: ROUTES,
  98927. multi: true,
  98928. useValue: routes
  98929. }];
  98930. }
  98931. /**
  98932. * Enables customizable scrolling behavior for router navigations.
  98933. *
  98934. * @usageNotes
  98935. *
  98936. * Basic example of how you can enable scrolling feature:
  98937. * ```
  98938. * const appRoutes: Routes = [];
  98939. * bootstrapApplication(AppComponent,
  98940. * {
  98941. * providers: [
  98942. * provideRouter(appRoutes, withInMemoryScrolling())
  98943. * ]
  98944. * }
  98945. * );
  98946. * ```
  98947. *
  98948. * @see `provideRouter`
  98949. * @see `ViewportScroller`
  98950. *
  98951. * @publicApi
  98952. * @developerPreview
  98953. * @param options Set of configuration parameters to customize scrolling behavior, see
  98954. * `InMemoryScrollingOptions` for additional information.
  98955. * @returns A set of providers for use with `provideRouter`.
  98956. */
  98957. function withInMemoryScrolling(options = {}) {
  98958. const providers = [{
  98959. provide: ROUTER_SCROLLER,
  98960. useFactory: () => {
  98961. const router = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(Router);
  98962. const viewportScroller = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_common__WEBPACK_IMPORTED_MODULE_33__.ViewportScroller);
  98963. return new RouterScroller(router, viewportScroller, options);
  98964. }
  98965. }];
  98966. return routerFeature(4
  98967. /* RouterFeatureKind.InMemoryScrollingFeature */
  98968. , providers);
  98969. }
  98970. function getBootstrapListener() {
  98971. const injector = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.Injector);
  98972. return bootstrappedComponentRef => {
  98973. var _a, _b;
  98974. const ref = injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_0__.ApplicationRef);
  98975. if (bootstrappedComponentRef !== ref.components[0]) {
  98976. return;
  98977. }
  98978. const router = injector.get(Router);
  98979. const bootstrapDone = injector.get(BOOTSTRAP_DONE);
  98980. if (injector.get(INITIAL_NAVIGATION) === 1
  98981. /* InitialNavigation.EnabledNonBlocking */
  98982. ) {
  98983. router.initialNavigation();
  98984. }
  98985. (_a = injector.get(ROUTER_PRELOADER, null, _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectFlags.Optional)) === null || _a === void 0 ? void 0 : _a.setUpPreloading();
  98986. (_b = injector.get(ROUTER_SCROLLER, null, _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectFlags.Optional)) === null || _b === void 0 ? void 0 : _b.init();
  98987. router.resetRootComponentType(ref.componentTypes[0]);
  98988. bootstrapDone.next();
  98989. bootstrapDone.complete();
  98990. };
  98991. }
  98992. /**
  98993. * A subject used to indicate that the bootstrapping phase is done. When initial navigation is
  98994. * `enabledBlocking`, the first navigation waits until bootstrapping is finished before continuing
  98995. * to the activation phase.
  98996. */
  98997. const BOOTSTRAP_DONE = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken(NG_DEV_MODE$1 ? 'bootstrap done indicator' : '', {
  98998. factory: () => {
  98999. return new rxjs__WEBPACK_IMPORTED_MODULE_31__.Subject();
  99000. }
  99001. });
  99002. const INITIAL_NAVIGATION = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken(NG_DEV_MODE$1 ? 'initial navigation' : '', {
  99003. providedIn: 'root',
  99004. factory: () => 1
  99005. /* InitialNavigation.EnabledNonBlocking */
  99006. });
  99007. /**
  99008. * Configures initial navigation to start before the root component is created.
  99009. *
  99010. * The bootstrap is blocked until the initial navigation is complete. This value is required for
  99011. * [server-side rendering](guide/universal) to work.
  99012. *
  99013. * @usageNotes
  99014. *
  99015. * Basic example of how you can enable this navigation behavior:
  99016. * ```
  99017. * const appRoutes: Routes = [];
  99018. * bootstrapApplication(AppComponent,
  99019. * {
  99020. * providers: [
  99021. * provideRouter(appRoutes, withEnabledBlockingInitialNavigation())
  99022. * ]
  99023. * }
  99024. * );
  99025. * ```
  99026. *
  99027. * @see `provideRouter`
  99028. *
  99029. * @publicApi
  99030. * @developerPreview
  99031. * @returns A set of providers for use with `provideRouter`.
  99032. */
  99033. function withEnabledBlockingInitialNavigation() {
  99034. const providers = [{
  99035. provide: INITIAL_NAVIGATION,
  99036. useValue: 0
  99037. /* InitialNavigation.EnabledBlocking */
  99038. }, {
  99039. provide: _angular_core__WEBPACK_IMPORTED_MODULE_0__.APP_INITIALIZER,
  99040. multi: true,
  99041. deps: [_angular_core__WEBPACK_IMPORTED_MODULE_0__.Injector],
  99042. useFactory: injector => {
  99043. const locationInitialized = injector.get(_angular_common__WEBPACK_IMPORTED_MODULE_33__.LOCATION_INITIALIZED, Promise.resolve());
  99044. let initNavigation = false;
  99045. /**
  99046. * Performs the given action once the router finishes its next/current navigation.
  99047. *
  99048. * If the navigation is canceled or errors without a redirect, the navigation is considered
  99049. * complete. If the `NavigationEnd` event emits, the navigation is also considered complete.
  99050. */
  99051. function afterNextNavigation(action) {
  99052. const router = injector.get(Router);
  99053. router.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.filter)(e => e instanceof NavigationEnd || e instanceof NavigationCancel || e instanceof NavigationError), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(e => {
  99054. if (e instanceof NavigationEnd) {
  99055. // Navigation assumed to succeed if we get `ActivationStart`
  99056. return true;
  99057. }
  99058. const redirecting = e instanceof NavigationCancel ? e.code === 0
  99059. /* NavigationCancellationCode.Redirect */
  99060. || e.code === 1
  99061. /* NavigationCancellationCode.SupersededByNewNavigation */
  99062. : false;
  99063. return redirecting ? null : false;
  99064. }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.filter)(result => result !== null), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.take)(1)).subscribe(() => {
  99065. action();
  99066. });
  99067. }
  99068. return () => {
  99069. return locationInitialized.then(() => {
  99070. return new Promise(resolve => {
  99071. const router = injector.get(Router);
  99072. const bootstrapDone = injector.get(BOOTSTRAP_DONE);
  99073. afterNextNavigation(() => {
  99074. // Unblock APP_INITIALIZER in case the initial navigation was canceled or errored
  99075. // without a redirect.
  99076. resolve(true);
  99077. initNavigation = true;
  99078. });
  99079. router.afterPreactivation = () => {
  99080. // Unblock APP_INITIALIZER once we get to `afterPreactivation`. At this point, we
  99081. // assume activation will complete successfully (even though this is not
  99082. // guaranteed).
  99083. resolve(true); // only the initial navigation should be delayed until bootstrapping is done.
  99084. if (!initNavigation) {
  99085. return bootstrapDone.closed ? (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(void 0) : bootstrapDone; // subsequent navigations should not be delayed
  99086. } else {
  99087. return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(void 0);
  99088. }
  99089. };
  99090. router.initialNavigation();
  99091. });
  99092. });
  99093. };
  99094. }
  99095. }];
  99096. return routerFeature(2
  99097. /* RouterFeatureKind.EnabledBlockingInitialNavigationFeature */
  99098. , providers);
  99099. }
  99100. /**
  99101. * Disables initial navigation.
  99102. *
  99103. * Use if there is a reason to have more control over when the router starts its initial navigation
  99104. * due to some complex initialization logic.
  99105. *
  99106. * @usageNotes
  99107. *
  99108. * Basic example of how you can disable initial navigation:
  99109. * ```
  99110. * const appRoutes: Routes = [];
  99111. * bootstrapApplication(AppComponent,
  99112. * {
  99113. * providers: [
  99114. * provideRouter(appRoutes, withDisabledInitialNavigation())
  99115. * ]
  99116. * }
  99117. * );
  99118. * ```
  99119. *
  99120. * @see `provideRouter`
  99121. *
  99122. * @returns A set of providers for use with `provideRouter`.
  99123. *
  99124. * @publicApi
  99125. * @developerPreview
  99126. */
  99127. function withDisabledInitialNavigation() {
  99128. const providers = [{
  99129. provide: _angular_core__WEBPACK_IMPORTED_MODULE_0__.APP_INITIALIZER,
  99130. multi: true,
  99131. useFactory: () => {
  99132. const router = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(Router);
  99133. return () => {
  99134. router.setUpLocationChangeListener();
  99135. };
  99136. }
  99137. }, {
  99138. provide: INITIAL_NAVIGATION,
  99139. useValue: 2
  99140. /* InitialNavigation.Disabled */
  99141. }];
  99142. return routerFeature(3
  99143. /* RouterFeatureKind.DisabledInitialNavigationFeature */
  99144. , providers);
  99145. }
  99146. /**
  99147. * Enables logging of all internal navigation events to the console.
  99148. * Extra logging might be useful for debugging purposes to inspect Router event sequence.
  99149. *
  99150. * @usageNotes
  99151. *
  99152. * Basic example of how you can enable debug tracing:
  99153. * ```
  99154. * const appRoutes: Routes = [];
  99155. * bootstrapApplication(AppComponent,
  99156. * {
  99157. * providers: [
  99158. * provideRouter(appRoutes, withDebugTracing())
  99159. * ]
  99160. * }
  99161. * );
  99162. * ```
  99163. *
  99164. * @see `provideRouter`
  99165. *
  99166. * @returns A set of providers for use with `provideRouter`.
  99167. *
  99168. * @publicApi
  99169. * @developerPreview
  99170. */
  99171. function withDebugTracing() {
  99172. let providers = [];
  99173. if (NG_DEV_MODE$1) {
  99174. providers = [{
  99175. provide: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ENVIRONMENT_INITIALIZER,
  99176. multi: true,
  99177. useFactory: () => {
  99178. const router = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(Router);
  99179. return () => router.events.subscribe(e => {
  99180. var _a, _b; // tslint:disable:no-console
  99181. (_a = console.group) === null || _a === void 0 ? void 0 : _a.call(console, `Router Event: ${e.constructor.name}`);
  99182. console.log(stringifyEvent(e));
  99183. console.log(e);
  99184. (_b = console.groupEnd) === null || _b === void 0 ? void 0 : _b.call(console); // tslint:enable:no-console
  99185. });
  99186. }
  99187. }];
  99188. } else {
  99189. providers = [];
  99190. }
  99191. return routerFeature(1
  99192. /* RouterFeatureKind.DebugTracingFeature */
  99193. , providers);
  99194. }
  99195. const ROUTER_PRELOADER = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken(NG_DEV_MODE$1 ? 'router preloader' : '');
  99196. /**
  99197. * Allows to configure a preloading strategy to use. The strategy is configured by providing a
  99198. * reference to a class that implements a `PreloadingStrategy`.
  99199. *
  99200. * @usageNotes
  99201. *
  99202. * Basic example of how you can configure preloading:
  99203. * ```
  99204. * const appRoutes: Routes = [];
  99205. * bootstrapApplication(AppComponent,
  99206. * {
  99207. * providers: [
  99208. * provideRouter(appRoutes, withPreloading(PreloadAllModules))
  99209. * ]
  99210. * }
  99211. * );
  99212. * ```
  99213. *
  99214. * @see `provideRouter`
  99215. *
  99216. * @param preloadingStrategy A reference to a class that implements a `PreloadingStrategy` that
  99217. * should be used.
  99218. * @returns A set of providers for use with `provideRouter`.
  99219. *
  99220. * @publicApi
  99221. * @developerPreview
  99222. */
  99223. function withPreloading(preloadingStrategy) {
  99224. const providers = [{
  99225. provide: ROUTER_PRELOADER,
  99226. useExisting: RouterPreloader
  99227. }, {
  99228. provide: PreloadingStrategy,
  99229. useExisting: preloadingStrategy
  99230. }];
  99231. return routerFeature(0
  99232. /* RouterFeatureKind.PreloadingFeature */
  99233. , providers);
  99234. }
  99235. /**
  99236. * Allows to provide extra parameters to configure Router.
  99237. *
  99238. * @usageNotes
  99239. *
  99240. * Basic example of how you can provide extra configuration options:
  99241. * ```
  99242. * const appRoutes: Routes = [];
  99243. * bootstrapApplication(AppComponent,
  99244. * {
  99245. * providers: [
  99246. * provideRouter(appRoutes, withRouterConfig({
  99247. * onSameUrlNavigation: 'reload'
  99248. * }))
  99249. * ]
  99250. * }
  99251. * );
  99252. * ```
  99253. *
  99254. * @see `provideRouter`
  99255. *
  99256. * @param options A set of parameters to configure Router, see `RouterConfigOptions` for
  99257. * additional information.
  99258. * @returns A set of providers for use with `provideRouter`.
  99259. *
  99260. * @publicApi
  99261. * @developerPreview
  99262. */
  99263. function withRouterConfig(options) {
  99264. const providers = [{
  99265. provide: ROUTER_CONFIGURATION,
  99266. useValue: options
  99267. }];
  99268. return routerFeature(5
  99269. /* RouterFeatureKind.RouterConfigurationFeature */
  99270. , providers);
  99271. }
  99272. /**
  99273. * @license
  99274. * Copyright Google LLC All Rights Reserved.
  99275. *
  99276. * Use of this source code is governed by an MIT-style license that can be
  99277. * found in the LICENSE file at https://angular.io/license
  99278. */
  99279. const NG_DEV_MODE = typeof ngDevMode === 'undefined' || ngDevMode;
  99280. /**
  99281. * The directives defined in the `RouterModule`.
  99282. */
  99283. const ROUTER_DIRECTIVES = [RouterOutlet, RouterLink, RouterLinkWithHref, RouterLinkActive, ɵEmptyOutletComponent];
  99284. /**
  99285. * @docsNotRequired
  99286. */
  99287. const ROUTER_FORROOT_GUARD = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken(NG_DEV_MODE ? 'router duplicate forRoot guard' : 'ROUTER_FORROOT_GUARD'); // TODO(atscott): All of these except `ActivatedRoute` are `providedIn: 'root'`. They are only kept
  99288. // here to avoid a breaking change whereby the provider order matters based on where the
  99289. // `RouterModule`/`RouterTestingModule` is imported. These can/should be removed as a "breaking"
  99290. // change in a major version.
  99291. const ROUTER_PROVIDERS = [_angular_common__WEBPACK_IMPORTED_MODULE_33__.Location, {
  99292. provide: UrlSerializer,
  99293. useClass: DefaultUrlSerializer
  99294. }, {
  99295. provide: Router,
  99296. useFactory: setupRouter
  99297. }, ChildrenOutletContexts, {
  99298. provide: ActivatedRoute,
  99299. useFactory: rootRoute,
  99300. deps: [Router]
  99301. }, RouterConfigLoader];
  99302. function routerNgProbeToken() {
  99303. return new _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgProbeToken('Router', Router);
  99304. }
  99305. /**
  99306. * @description
  99307. *
  99308. * Adds directives and providers for in-app navigation among views defined in an application.
  99309. * Use the Angular `Router` service to declaratively specify application states and manage state
  99310. * transitions.
  99311. *
  99312. * You can import this NgModule multiple times, once for each lazy-loaded bundle.
  99313. * However, only one `Router` service can be active.
  99314. * To ensure this, there are two ways to register routes when importing this module:
  99315. *
  99316. * * The `forRoot()` method creates an `NgModule` that contains all the directives, the given
  99317. * routes, and the `Router` service itself.
  99318. * * The `forChild()` method creates an `NgModule` that contains all the directives and the given
  99319. * routes, but does not include the `Router` service.
  99320. *
  99321. * @see [Routing and Navigation guide](guide/router) for an
  99322. * overview of how the `Router` service should be used.
  99323. *
  99324. * @publicApi
  99325. */
  99326. class RouterModule {
  99327. constructor(guard) {}
  99328. /**
  99329. * Creates and configures a module with all the router providers and directives.
  99330. * Optionally sets up an application listener to perform an initial navigation.
  99331. *
  99332. * When registering the NgModule at the root, import as follows:
  99333. *
  99334. * ```
  99335. * @NgModule({
  99336. * imports: [RouterModule.forRoot(ROUTES)]
  99337. * })
  99338. * class MyNgModule {}
  99339. * ```
  99340. *
  99341. * @param routes An array of `Route` objects that define the navigation paths for the application.
  99342. * @param config An `ExtraOptions` configuration object that controls how navigation is performed.
  99343. * @return The new `NgModule`.
  99344. *
  99345. */
  99346. static forRoot(routes, config) {
  99347. return {
  99348. ngModule: RouterModule,
  99349. providers: [ROUTER_PROVIDERS, NG_DEV_MODE ? (config === null || config === void 0 ? void 0 : config.enableTracing) ? withDebugTracing().ɵproviders : [] : [], provideRoutes(routes), {
  99350. provide: ROUTER_FORROOT_GUARD,
  99351. useFactory: provideForRootGuard,
  99352. deps: [[Router, new _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional(), new _angular_core__WEBPACK_IMPORTED_MODULE_0__.SkipSelf()]]
  99353. }, {
  99354. provide: ROUTER_CONFIGURATION,
  99355. useValue: config ? config : {}
  99356. }, (config === null || config === void 0 ? void 0 : config.useHash) ? provideHashLocationStrategy() : providePathLocationStrategy(), provideRouterScroller(), (config === null || config === void 0 ? void 0 : config.preloadingStrategy) ? withPreloading(config.preloadingStrategy).ɵproviders : [], {
  99357. provide: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgProbeToken,
  99358. multi: true,
  99359. useFactory: routerNgProbeToken
  99360. }, (config === null || config === void 0 ? void 0 : config.initialNavigation) ? provideInitialNavigation(config) : [], provideRouterInitializer()]
  99361. };
  99362. }
  99363. /**
  99364. * Creates a module with all the router directives and a provider registering routes,
  99365. * without creating a new Router service.
  99366. * When registering for submodules and lazy-loaded submodules, create the NgModule as follows:
  99367. *
  99368. * ```
  99369. * @NgModule({
  99370. * imports: [RouterModule.forChild(ROUTES)]
  99371. * })
  99372. * class MyNgModule {}
  99373. * ```
  99374. *
  99375. * @param routes An array of `Route` objects that define the navigation paths for the submodule.
  99376. * @return The new NgModule.
  99377. *
  99378. */
  99379. static forChild(routes) {
  99380. return {
  99381. ngModule: RouterModule,
  99382. providers: [provideRoutes(routes)]
  99383. };
  99384. }
  99385. }
  99386. RouterModule.ɵfac = function RouterModule_Factory(t) {
  99387. return new (t || RouterModule)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](ROUTER_FORROOT_GUARD, 8));
  99388. };
  99389. RouterModule.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({
  99390. type: RouterModule,
  99391. imports: [RouterOutlet, RouterLink, RouterLinkWithHref, RouterLinkActive, ɵEmptyOutletComponent],
  99392. exports: [RouterOutlet, RouterLink, RouterLinkWithHref, RouterLinkActive, ɵEmptyOutletComponent]
  99393. });
  99394. RouterModule.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({
  99395. imports: [ɵEmptyOutletComponent]
  99396. });
  99397. (function () {
  99398. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](RouterModule, [{
  99399. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModule,
  99400. args: [{
  99401. imports: ROUTER_DIRECTIVES,
  99402. exports: ROUTER_DIRECTIVES
  99403. }]
  99404. }], function () {
  99405. return [{
  99406. type: undefined,
  99407. decorators: [{
  99408. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
  99409. }, {
  99410. type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
  99411. args: [ROUTER_FORROOT_GUARD]
  99412. }]
  99413. }];
  99414. }, null);
  99415. })();
  99416. /**
  99417. * For internal use by `RouterModule` only. Note that this differs from `withInMemoryRouterScroller`
  99418. * because it reads from the `ExtraOptions` which should not be used in the standalone world.
  99419. */
  99420. function provideRouterScroller() {
  99421. return {
  99422. provide: ROUTER_SCROLLER,
  99423. useFactory: () => {
  99424. const router = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(Router);
  99425. const viewportScroller = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_common__WEBPACK_IMPORTED_MODULE_33__.ViewportScroller);
  99426. const config = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(ROUTER_CONFIGURATION);
  99427. if (config.scrollOffset) {
  99428. viewportScroller.setOffset(config.scrollOffset);
  99429. }
  99430. return new RouterScroller(router, viewportScroller, config);
  99431. }
  99432. };
  99433. } // Note: For internal use only with `RouterModule`. Standalone setup via `provideRouter` should
  99434. // provide hash location directly via `{provide: LocationStrategy, useClass: HashLocationStrategy}`.
  99435. function provideHashLocationStrategy() {
  99436. return {
  99437. provide: _angular_common__WEBPACK_IMPORTED_MODULE_33__.LocationStrategy,
  99438. useClass: _angular_common__WEBPACK_IMPORTED_MODULE_33__.HashLocationStrategy
  99439. };
  99440. } // Note: For internal use only with `RouterModule`. Standalone setup via `provideRouter` does not
  99441. // need this at all because `PathLocationStrategy` is the default factory for `LocationStrategy`.
  99442. function providePathLocationStrategy() {
  99443. return {
  99444. provide: _angular_common__WEBPACK_IMPORTED_MODULE_33__.LocationStrategy,
  99445. useClass: _angular_common__WEBPACK_IMPORTED_MODULE_33__.PathLocationStrategy
  99446. };
  99447. }
  99448. function provideForRootGuard(router) {
  99449. if (NG_DEV_MODE && router) {
  99450. throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4007
  99451. /* RuntimeErrorCode.FOR_ROOT_CALLED_TWICE */
  99452. , `The Router was provided more than once. This can happen if 'forRoot' is used outside of the root injector.` + ` Lazy loaded modules should use RouterModule.forChild() instead.`);
  99453. }
  99454. return 'guarded';
  99455. } // Note: For internal use only with `RouterModule`. Standalone router setup with `provideRouter`
  99456. // users call `withXInitialNavigation` directly.
  99457. function provideInitialNavigation(config) {
  99458. return [config.initialNavigation === 'disabled' ? withDisabledInitialNavigation().ɵproviders : [], config.initialNavigation === 'enabledBlocking' ? withEnabledBlockingInitialNavigation().ɵproviders : []];
  99459. } // TODO(atscott): This should not be in the public API
  99460. /**
  99461. * A [DI token](guide/glossary/#di-token) for the router initializer that
  99462. * is called after the app is bootstrapped.
  99463. *
  99464. * @publicApi
  99465. */
  99466. const ROUTER_INITIALIZER = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken(NG_DEV_MODE ? 'Router Initializer' : '');
  99467. function provideRouterInitializer() {
  99468. return [// ROUTER_INITIALIZER token should be removed. It's public API but shouldn't be. We can just
  99469. // have `getBootstrapListener` directly attached to APP_BOOTSTRAP_LISTENER.
  99470. {
  99471. provide: ROUTER_INITIALIZER,
  99472. useFactory: getBootstrapListener
  99473. }, {
  99474. provide: _angular_core__WEBPACK_IMPORTED_MODULE_0__.APP_BOOTSTRAP_LISTENER,
  99475. multi: true,
  99476. useExisting: ROUTER_INITIALIZER
  99477. }];
  99478. }
  99479. /**
  99480. * @license
  99481. * Copyright Google LLC All Rights Reserved.
  99482. *
  99483. * Use of this source code is governed by an MIT-style license that can be
  99484. * found in the LICENSE file at https://angular.io/license
  99485. */
  99486. /**
  99487. * @publicApi
  99488. */
  99489. const VERSION = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.Version('14.2.7');
  99490. /**
  99491. * @license
  99492. * Copyright Google LLC All Rights Reserved.
  99493. *
  99494. * Use of this source code is governed by an MIT-style license that can be
  99495. * found in the LICENSE file at https://angular.io/license
  99496. */
  99497. /**
  99498. * @license
  99499. * Copyright Google LLC All Rights Reserved.
  99500. *
  99501. * Use of this source code is governed by an MIT-style license that can be
  99502. * found in the LICENSE file at https://angular.io/license
  99503. */
  99504. /**
  99505. * @license
  99506. * Copyright Google LLC All Rights Reserved.
  99507. *
  99508. * Use of this source code is governed by an MIT-style license that can be
  99509. * found in the LICENSE file at https://angular.io/license
  99510. */
  99511. // This file only reexports content of the `src` folder. Keep it that way.
  99512. /**
  99513. * @license
  99514. * Copyright Google LLC All Rights Reserved.
  99515. *
  99516. * Use of this source code is governed by an MIT-style license that can be
  99517. * found in the LICENSE file at https://angular.io/license
  99518. */
  99519. /**
  99520. * Generated bundle index. Do not edit.
  99521. */
  99522. /***/ }),
  99523. /***/ 9397:
  99524. /*!****************************************************************************************!*\
  99525. !*** ./node_modules/@fortawesome/angular-fontawesome/fesm2015/angular-fontawesome.mjs ***!
  99526. \****************************************************************************************/
  99527. /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
  99528. __webpack_require__.r(__webpack_exports__);
  99529. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  99530. /* harmony export */ "FaConfig": () => (/* binding */ FaConfig),
  99531. /* harmony export */ "FaDuotoneIconComponent": () => (/* binding */ FaDuotoneIconComponent),
  99532. /* harmony export */ "FaIconComponent": () => (/* binding */ FaIconComponent),
  99533. /* harmony export */ "FaIconLibrary": () => (/* binding */ FaIconLibrary),
  99534. /* harmony export */ "FaLayersComponent": () => (/* binding */ FaLayersComponent),
  99535. /* harmony export */ "FaLayersCounterComponent": () => (/* binding */ FaLayersCounterComponent),
  99536. /* harmony export */ "FaLayersTextComponent": () => (/* binding */ FaLayersTextComponent),
  99537. /* harmony export */ "FaStackComponent": () => (/* binding */ FaStackComponent),
  99538. /* harmony export */ "FaStackItemSizeDirective": () => (/* binding */ FaStackItemSizeDirective),
  99539. /* harmony export */ "FontAwesomeModule": () => (/* binding */ FontAwesomeModule)
  99540. /* harmony export */ });
  99541. /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 3184);
  99542. /* harmony import */ var _fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @fortawesome/fontawesome-svg-core */ 8722);
  99543. /* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/platform-browser */ 318);
  99544. const _c0 = ["*"];
  99545. const faWarnIfIconDefinitionMissing = iconSpec => {
  99546. throw new Error(`Could not find icon with iconName=${iconSpec.iconName} and prefix=${iconSpec.prefix} in the icon library.`);
  99547. };
  99548. const faWarnIfIconSpecMissing = () => {
  99549. throw new Error('Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.');
  99550. };
  99551. /**
  99552. * Fontawesome class list.
  99553. * Returns classes array by props.
  99554. */
  99555. const faClassList = props => {
  99556. const classes = {
  99557. 'fa-spin': props.spin,
  99558. 'fa-pulse': props.pulse,
  99559. 'fa-fw': props.fixedWidth,
  99560. 'fa-border': props.border,
  99561. 'fa-inverse': props.inverse,
  99562. 'fa-layers-counter': props.counter,
  99563. 'fa-flip-horizontal': props.flip === 'horizontal' || props.flip === 'both',
  99564. 'fa-flip-vertical': props.flip === 'vertical' || props.flip === 'both',
  99565. [`fa-${props.size}`]: props.size !== null,
  99566. [`fa-rotate-${props.rotate}`]: props.rotate !== null,
  99567. [`fa-pull-${props.pull}`]: props.pull !== null,
  99568. [`fa-stack-${props.stackItemSize}`]: props.stackItemSize != null
  99569. };
  99570. return Object.keys(classes).map(key => classes[key] ? key : null).filter(key => key);
  99571. };
  99572. /**
  99573. * Returns if is IconLookup or not.
  99574. */
  99575. const isIconLookup = i => i.prefix !== undefined && i.iconName !== undefined;
  99576. /**
  99577. * Normalizing icon spec.
  99578. */
  99579. const faNormalizeIconSpec = (iconSpec, defaultPrefix) => {
  99580. if (isIconLookup(iconSpec)) {
  99581. return iconSpec;
  99582. }
  99583. if (Array.isArray(iconSpec) && iconSpec.length === 2) {
  99584. return {
  99585. prefix: iconSpec[0],
  99586. iconName: iconSpec[1]
  99587. };
  99588. }
  99589. if (typeof iconSpec === 'string') {
  99590. return {
  99591. prefix: defaultPrefix,
  99592. iconName: iconSpec
  99593. };
  99594. }
  99595. };
  99596. class FaConfig {
  99597. constructor() {
  99598. /**
  99599. * Default prefix to use, when one is not provided with the icon name.
  99600. *
  99601. * @default 'fas'
  99602. */
  99603. this.defaultPrefix = 'fas';
  99604. /**
  99605. * Provides a fallback icon to use whilst main icon is being loaded asynchronously.
  99606. * When value is null, then fa-icon component will throw an error if icon input is missing.
  99607. * When value is not null, then the provided icon will be used as a fallback icon if icon input is missing.
  99608. *
  99609. * @default null
  99610. */
  99611. this.fallbackIcon = null;
  99612. }
  99613. }
  99614. FaConfig.ɵfac = function FaConfig_Factory(t) {
  99615. return new (t || FaConfig)();
  99616. };
  99617. FaConfig.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
  99618. token: FaConfig,
  99619. factory: FaConfig.ɵfac,
  99620. providedIn: 'root'
  99621. });
  99622. (function () {
  99623. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](FaConfig, [{
  99624. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injectable,
  99625. args: [{
  99626. providedIn: 'root'
  99627. }]
  99628. }], null, null);
  99629. })();
  99630. class FaIconLibrary {
  99631. constructor() {
  99632. this.definitions = {};
  99633. }
  99634. addIcons(...icons) {
  99635. for (const icon of icons) {
  99636. if (!(icon.prefix in this.definitions)) {
  99637. this.definitions[icon.prefix] = {};
  99638. }
  99639. this.definitions[icon.prefix][icon.iconName] = icon;
  99640. for (const alias of icon.icon[2]) {
  99641. if (typeof alias === 'string') {
  99642. this.definitions[icon.prefix][alias] = icon;
  99643. }
  99644. }
  99645. }
  99646. }
  99647. addIconPacks(...packs) {
  99648. for (const pack of packs) {
  99649. const icons = Object.keys(pack).map(key => pack[key]);
  99650. this.addIcons(...icons);
  99651. }
  99652. }
  99653. getIconDefinition(prefix, name) {
  99654. if (prefix in this.definitions && name in this.definitions[prefix]) {
  99655. return this.definitions[prefix][name];
  99656. }
  99657. return null;
  99658. }
  99659. }
  99660. FaIconLibrary.ɵfac = function FaIconLibrary_Factory(t) {
  99661. return new (t || FaIconLibrary)();
  99662. };
  99663. FaIconLibrary.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
  99664. token: FaIconLibrary,
  99665. factory: FaIconLibrary.ɵfac,
  99666. providedIn: 'root'
  99667. });
  99668. (function () {
  99669. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](FaIconLibrary, [{
  99670. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injectable,
  99671. args: [{
  99672. providedIn: 'root'
  99673. }]
  99674. }], null, null);
  99675. })();
  99676. class FaStackItemSizeDirective {
  99677. constructor() {
  99678. /**
  99679. * Specify whether icon inside {@link FaStackComponent} should be rendered in
  99680. * regular size (1x) or as a larger icon (2x).
  99681. */
  99682. this.stackItemSize = '1x';
  99683. }
  99684. ngOnChanges(changes) {
  99685. if ('size' in changes) {
  99686. throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. ' + 'Set size on the enclosing fa-stack instead: <fa-stack size="4x">...</fa-stack>.');
  99687. }
  99688. }
  99689. }
  99690. FaStackItemSizeDirective.ɵfac = function FaStackItemSizeDirective_Factory(t) {
  99691. return new (t || FaStackItemSizeDirective)();
  99692. };
  99693. FaStackItemSizeDirective.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({
  99694. type: FaStackItemSizeDirective,
  99695. selectors: [["fa-icon", "stackItemSize", ""], ["fa-duotone-icon", "stackItemSize", ""]],
  99696. inputs: {
  99697. stackItemSize: "stackItemSize",
  99698. size: "size"
  99699. },
  99700. features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵNgOnChangesFeature"]]
  99701. });
  99702. (function () {
  99703. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](FaStackItemSizeDirective, [{
  99704. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Directive,
  99705. args: [{
  99706. // eslint-disable-next-line @angular-eslint/directive-selector
  99707. selector: 'fa-icon[stackItemSize],fa-duotone-icon[stackItemSize]'
  99708. }]
  99709. }], null, {
  99710. stackItemSize: [{
  99711. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  99712. }],
  99713. size: [{
  99714. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  99715. }]
  99716. });
  99717. })();
  99718. class FaStackComponent {
  99719. constructor(renderer, elementRef) {
  99720. this.renderer = renderer;
  99721. this.elementRef = elementRef;
  99722. }
  99723. ngOnInit() {
  99724. this.renderer.addClass(this.elementRef.nativeElement, 'fa-stack');
  99725. }
  99726. ngOnChanges(changes) {
  99727. if ('size' in changes) {
  99728. if (changes.size.currentValue != null) {
  99729. this.renderer.addClass(this.elementRef.nativeElement, `fa-${changes.size.currentValue}`);
  99730. }
  99731. if (changes.size.previousValue != null) {
  99732. this.renderer.removeClass(this.elementRef.nativeElement, `fa-${changes.size.previousValue}`);
  99733. }
  99734. }
  99735. }
  99736. }
  99737. FaStackComponent.ɵfac = function FaStackComponent_Factory(t) {
  99738. return new (t || FaStackComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.Renderer2), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.ElementRef));
  99739. };
  99740. FaStackComponent.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
  99741. type: FaStackComponent,
  99742. selectors: [["fa-stack"]],
  99743. inputs: {
  99744. size: "size"
  99745. },
  99746. features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵNgOnChangesFeature"]],
  99747. ngContentSelectors: _c0,
  99748. decls: 1,
  99749. vars: 0,
  99750. template: function FaStackComponent_Template(rf, ctx) {
  99751. if (rf & 1) {
  99752. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵprojectionDef"]();
  99753. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵprojection"](0);
  99754. }
  99755. },
  99756. encapsulation: 2
  99757. });
  99758. (function () {
  99759. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](FaStackComponent, [{
  99760. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Component,
  99761. args: [{
  99762. selector: 'fa-stack',
  99763. template: `<ng-content></ng-content>`
  99764. }]
  99765. }], function () {
  99766. return [{
  99767. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Renderer2
  99768. }, {
  99769. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.ElementRef
  99770. }];
  99771. }, {
  99772. size: [{
  99773. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  99774. }]
  99775. });
  99776. })();
  99777. class FaIconComponent {
  99778. constructor(sanitizer, config, iconLibrary, stackItem, stack) {
  99779. this.sanitizer = sanitizer;
  99780. this.config = config;
  99781. this.iconLibrary = iconLibrary;
  99782. this.stackItem = stackItem;
  99783. this.classes = [];
  99784. if (stack != null && stackItem == null) {
  99785. console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into ' + 'fa-stack. Example: <fa-icon stackItemSize="2x"></fa-icon>.');
  99786. }
  99787. }
  99788. ngOnChanges(changes) {
  99789. if (this.icon == null && this.config.fallbackIcon == null) {
  99790. return faWarnIfIconSpecMissing();
  99791. }
  99792. let iconToBeRendered = null;
  99793. if (this.icon == null) {
  99794. iconToBeRendered = this.config.fallbackIcon;
  99795. } else {
  99796. iconToBeRendered = this.icon;
  99797. }
  99798. if (changes) {
  99799. const iconDefinition = this.findIconDefinition(iconToBeRendered);
  99800. if (iconDefinition != null) {
  99801. const params = this.buildParams();
  99802. this.renderIcon(iconDefinition, params);
  99803. }
  99804. }
  99805. }
  99806. /**
  99807. * Programmatically trigger rendering of the icon.
  99808. *
  99809. * This method is useful, when creating {@link FaIconComponent} dynamically or
  99810. * changing its inputs programmatically as in these cases icon won't be
  99811. * re-rendered automatically.
  99812. */
  99813. render() {
  99814. this.ngOnChanges({});
  99815. }
  99816. findIconDefinition(i) {
  99817. const lookup = faNormalizeIconSpec(i, this.config.defaultPrefix);
  99818. if ('icon' in lookup) {
  99819. return lookup;
  99820. }
  99821. const definition = this.iconLibrary.getIconDefinition(lookup.prefix, lookup.iconName);
  99822. if (definition != null) {
  99823. return definition;
  99824. }
  99825. faWarnIfIconDefinitionMissing(lookup);
  99826. return null;
  99827. }
  99828. buildParams() {
  99829. const classOpts = {
  99830. flip: this.flip,
  99831. spin: this.spin,
  99832. pulse: this.pulse,
  99833. border: this.border,
  99834. inverse: this.inverse,
  99835. size: this.size || null,
  99836. pull: this.pull || null,
  99837. rotate: this.rotate || null,
  99838. fixedWidth: typeof this.fixedWidth === 'boolean' ? this.fixedWidth : this.config.fixedWidth,
  99839. stackItemSize: this.stackItem != null ? this.stackItem.stackItemSize : null
  99840. };
  99841. const parsedTransform = typeof this.transform === 'string' ? _fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_0__.parse.transform(this.transform) : this.transform;
  99842. return {
  99843. title: this.title,
  99844. transform: parsedTransform,
  99845. classes: [...faClassList(classOpts), ...this.classes],
  99846. mask: this.mask != null ? this.findIconDefinition(this.mask) : null,
  99847. styles: this.styles != null ? this.styles : {},
  99848. symbol: this.symbol,
  99849. attributes: {
  99850. role: this.a11yRole
  99851. }
  99852. };
  99853. }
  99854. renderIcon(definition, params) {
  99855. const renderedIcon = (0,_fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_0__.icon)(definition, params);
  99856. this.renderedIconHTML = this.sanitizer.bypassSecurityTrustHtml(renderedIcon.html.join('\n'));
  99857. }
  99858. }
  99859. FaIconComponent.ɵfac = function FaIconComponent_Factory(t) {
  99860. return new (t || FaIconComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_platform_browser__WEBPACK_IMPORTED_MODULE_2__.DomSanitizer), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](FaConfig), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](FaIconLibrary), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](FaStackItemSizeDirective, 8), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](FaStackComponent, 8));
  99861. };
  99862. FaIconComponent.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
  99863. type: FaIconComponent,
  99864. selectors: [["fa-icon"]],
  99865. hostAttrs: [1, "ng-fa-icon"],
  99866. hostVars: 2,
  99867. hostBindings: function FaIconComponent_HostBindings(rf, ctx) {
  99868. if (rf & 2) {
  99869. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵhostProperty"]("innerHTML", ctx.renderedIconHTML, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsanitizeHtml"]);
  99870. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵattribute"]("title", ctx.title);
  99871. }
  99872. },
  99873. inputs: {
  99874. icon: "icon",
  99875. title: "title",
  99876. spin: "spin",
  99877. pulse: "pulse",
  99878. mask: "mask",
  99879. styles: "styles",
  99880. flip: "flip",
  99881. size: "size",
  99882. pull: "pull",
  99883. border: "border",
  99884. inverse: "inverse",
  99885. symbol: "symbol",
  99886. rotate: "rotate",
  99887. fixedWidth: "fixedWidth",
  99888. classes: "classes",
  99889. transform: "transform",
  99890. a11yRole: "a11yRole"
  99891. },
  99892. features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵNgOnChangesFeature"]],
  99893. decls: 0,
  99894. vars: 0,
  99895. template: function FaIconComponent_Template(rf, ctx) {},
  99896. encapsulation: 2
  99897. });
  99898. (function () {
  99899. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](FaIconComponent, [{
  99900. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Component,
  99901. args: [{
  99902. selector: 'fa-icon',
  99903. template: ``,
  99904. host: {
  99905. class: 'ng-fa-icon',
  99906. '[attr.title]': 'title'
  99907. }
  99908. }]
  99909. }], function () {
  99910. return [{
  99911. type: _angular_platform_browser__WEBPACK_IMPORTED_MODULE_2__.DomSanitizer
  99912. }, {
  99913. type: FaConfig
  99914. }, {
  99915. type: FaIconLibrary
  99916. }, {
  99917. type: FaStackItemSizeDirective,
  99918. decorators: [{
  99919. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Optional
  99920. }]
  99921. }, {
  99922. type: FaStackComponent,
  99923. decorators: [{
  99924. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Optional
  99925. }]
  99926. }];
  99927. }, {
  99928. icon: [{
  99929. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  99930. }],
  99931. title: [{
  99932. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  99933. }],
  99934. spin: [{
  99935. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  99936. }],
  99937. pulse: [{
  99938. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  99939. }],
  99940. mask: [{
  99941. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  99942. }],
  99943. styles: [{
  99944. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  99945. }],
  99946. flip: [{
  99947. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  99948. }],
  99949. size: [{
  99950. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  99951. }],
  99952. pull: [{
  99953. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  99954. }],
  99955. border: [{
  99956. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  99957. }],
  99958. inverse: [{
  99959. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  99960. }],
  99961. symbol: [{
  99962. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  99963. }],
  99964. rotate: [{
  99965. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  99966. }],
  99967. fixedWidth: [{
  99968. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  99969. }],
  99970. classes: [{
  99971. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  99972. }],
  99973. transform: [{
  99974. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  99975. }],
  99976. a11yRole: [{
  99977. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  99978. }],
  99979. renderedIconHTML: [{
  99980. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.HostBinding,
  99981. args: ['innerHTML']
  99982. }]
  99983. });
  99984. })();
  99985. class FaDuotoneIconComponent extends FaIconComponent {
  99986. findIconDefinition(i) {
  99987. const definition = super.findIconDefinition(i);
  99988. if (definition != null && !Array.isArray(definition.icon[4])) {
  99989. throw new Error('The specified icon does not appear to be a Duotone icon. ' + 'Check that you specified the correct style: ' + `<fa-duotone-icon [icon]="['fad', '${definition.iconName}']"></fa-duotone-icon> ` + `or use: <fa-icon icon="${definition.iconName}"></fa-icon> instead.`);
  99990. }
  99991. return definition;
  99992. }
  99993. buildParams() {
  99994. const params = super.buildParams();
  99995. if (this.swapOpacity === true || this.swapOpacity === 'true') {
  99996. params.classes.push('fa-swap-opacity');
  99997. }
  99998. if (this.primaryOpacity != null) {
  99999. params.styles['--fa-primary-opacity'] = this.primaryOpacity.toString();
  100000. }
  100001. if (this.secondaryOpacity != null) {
  100002. params.styles['--fa-secondary-opacity'] = this.secondaryOpacity.toString();
  100003. }
  100004. if (this.primaryColor != null) {
  100005. params.styles['--fa-primary-color'] = this.primaryColor;
  100006. }
  100007. if (this.secondaryColor != null) {
  100008. params.styles['--fa-secondary-color'] = this.secondaryColor;
  100009. }
  100010. return params;
  100011. }
  100012. }
  100013. FaDuotoneIconComponent.ɵfac = /* @__PURE__ */function () {
  100014. let ɵFaDuotoneIconComponent_BaseFactory;
  100015. return function FaDuotoneIconComponent_Factory(t) {
  100016. return (ɵFaDuotoneIconComponent_BaseFactory || (ɵFaDuotoneIconComponent_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](FaDuotoneIconComponent)))(t || FaDuotoneIconComponent);
  100017. };
  100018. }();
  100019. FaDuotoneIconComponent.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
  100020. type: FaDuotoneIconComponent,
  100021. selectors: [["fa-duotone-icon"]],
  100022. inputs: {
  100023. swapOpacity: "swapOpacity",
  100024. primaryOpacity: "primaryOpacity",
  100025. secondaryOpacity: "secondaryOpacity",
  100026. primaryColor: "primaryColor",
  100027. secondaryColor: "secondaryColor"
  100028. },
  100029. features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]],
  100030. decls: 0,
  100031. vars: 0,
  100032. template: function FaDuotoneIconComponent_Template(rf, ctx) {},
  100033. encapsulation: 2
  100034. });
  100035. (function () {
  100036. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](FaDuotoneIconComponent, [{
  100037. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Component,
  100038. args: [{
  100039. selector: 'fa-duotone-icon',
  100040. template: ``
  100041. }]
  100042. }], null, {
  100043. swapOpacity: [{
  100044. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  100045. }],
  100046. primaryOpacity: [{
  100047. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  100048. }],
  100049. secondaryOpacity: [{
  100050. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  100051. }],
  100052. primaryColor: [{
  100053. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  100054. }],
  100055. secondaryColor: [{
  100056. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  100057. }]
  100058. });
  100059. })();
  100060. /**
  100061. * Warns if parent component not existing.
  100062. */
  100063. const faWarnIfParentNotExist = (parent, parentName, childName) => {
  100064. if (!parent) {
  100065. throw new Error(`${childName} should be used as child of ${parentName} only.`);
  100066. }
  100067. };
  100068. /**
  100069. * Fontawesome layers.
  100070. */
  100071. class FaLayersComponent {
  100072. constructor(renderer, elementRef, config) {
  100073. this.renderer = renderer;
  100074. this.elementRef = elementRef;
  100075. this.config = config;
  100076. }
  100077. ngOnInit() {
  100078. this.renderer.addClass(this.elementRef.nativeElement, 'fa-layers');
  100079. this.fixedWidth = typeof this.fixedWidth === 'boolean' ? this.fixedWidth : this.config.fixedWidth;
  100080. }
  100081. ngOnChanges(changes) {
  100082. if ('size' in changes) {
  100083. if (changes.size.currentValue != null) {
  100084. this.renderer.addClass(this.elementRef.nativeElement, `fa-${changes.size.currentValue}`);
  100085. }
  100086. if (changes.size.previousValue != null) {
  100087. this.renderer.removeClass(this.elementRef.nativeElement, `fa-${changes.size.previousValue}`);
  100088. }
  100089. }
  100090. }
  100091. }
  100092. FaLayersComponent.ɵfac = function FaLayersComponent_Factory(t) {
  100093. return new (t || FaLayersComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.Renderer2), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](FaConfig));
  100094. };
  100095. FaLayersComponent.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
  100096. type: FaLayersComponent,
  100097. selectors: [["fa-layers"]],
  100098. hostVars: 2,
  100099. hostBindings: function FaLayersComponent_HostBindings(rf, ctx) {
  100100. if (rf & 2) {
  100101. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassProp"]("fa-fw", ctx.fixedWidth);
  100102. }
  100103. },
  100104. inputs: {
  100105. size: "size",
  100106. fixedWidth: "fixedWidth"
  100107. },
  100108. features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵNgOnChangesFeature"]],
  100109. ngContentSelectors: _c0,
  100110. decls: 1,
  100111. vars: 0,
  100112. template: function FaLayersComponent_Template(rf, ctx) {
  100113. if (rf & 1) {
  100114. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵprojectionDef"]();
  100115. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵprojection"](0);
  100116. }
  100117. },
  100118. encapsulation: 2
  100119. });
  100120. (function () {
  100121. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](FaLayersComponent, [{
  100122. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Component,
  100123. args: [{
  100124. selector: 'fa-layers',
  100125. template: `<ng-content></ng-content>`
  100126. }]
  100127. }], function () {
  100128. return [{
  100129. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Renderer2
  100130. }, {
  100131. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.ElementRef
  100132. }, {
  100133. type: FaConfig
  100134. }];
  100135. }, {
  100136. size: [{
  100137. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  100138. }],
  100139. fixedWidth: [{
  100140. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  100141. }, {
  100142. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.HostBinding,
  100143. args: ['class.fa-fw']
  100144. }]
  100145. });
  100146. })();
  100147. class FaLayersCounterComponent {
  100148. constructor(parent, sanitizer) {
  100149. this.parent = parent;
  100150. this.sanitizer = sanitizer;
  100151. this.classes = [];
  100152. faWarnIfParentNotExist(this.parent, 'FaLayersComponent', this.constructor.name);
  100153. }
  100154. ngOnChanges(changes) {
  100155. if (changes) {
  100156. const params = this.buildParams();
  100157. this.updateContent(params);
  100158. }
  100159. }
  100160. buildParams() {
  100161. const classes = [];
  100162. if (this.classes != null) {
  100163. classes.push(...this.classes);
  100164. }
  100165. if (this.position != null) {
  100166. classes.push(`fa-layers-${this.position}`);
  100167. }
  100168. return {
  100169. title: this.title,
  100170. classes,
  100171. styles: this.styles
  100172. };
  100173. }
  100174. updateContent(params) {
  100175. this.renderedHTML = this.sanitizer.bypassSecurityTrustHtml((0,_fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_0__.counter)(this.content || '', params).html.join(''));
  100176. }
  100177. }
  100178. FaLayersCounterComponent.ɵfac = function FaLayersCounterComponent_Factory(t) {
  100179. return new (t || FaLayersCounterComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](FaLayersComponent, 8), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_platform_browser__WEBPACK_IMPORTED_MODULE_2__.DomSanitizer));
  100180. };
  100181. FaLayersCounterComponent.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
  100182. type: FaLayersCounterComponent,
  100183. selectors: [["fa-layers-counter"]],
  100184. hostAttrs: [1, "ng-fa-layers-counter"],
  100185. hostVars: 1,
  100186. hostBindings: function FaLayersCounterComponent_HostBindings(rf, ctx) {
  100187. if (rf & 2) {
  100188. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵhostProperty"]("innerHTML", ctx.renderedHTML, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsanitizeHtml"]);
  100189. }
  100190. },
  100191. inputs: {
  100192. content: "content",
  100193. title: "title",
  100194. styles: "styles",
  100195. classes: "classes",
  100196. position: "position"
  100197. },
  100198. features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵNgOnChangesFeature"]],
  100199. decls: 0,
  100200. vars: 0,
  100201. template: function FaLayersCounterComponent_Template(rf, ctx) {},
  100202. encapsulation: 2
  100203. });
  100204. (function () {
  100205. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](FaLayersCounterComponent, [{
  100206. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Component,
  100207. args: [{
  100208. selector: 'fa-layers-counter',
  100209. template: '',
  100210. host: {
  100211. class: 'ng-fa-layers-counter'
  100212. }
  100213. }]
  100214. }], function () {
  100215. return [{
  100216. type: FaLayersComponent,
  100217. decorators: [{
  100218. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Optional
  100219. }]
  100220. }, {
  100221. type: _angular_platform_browser__WEBPACK_IMPORTED_MODULE_2__.DomSanitizer
  100222. }];
  100223. }, {
  100224. content: [{
  100225. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  100226. }],
  100227. title: [{
  100228. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  100229. }],
  100230. styles: [{
  100231. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  100232. }],
  100233. classes: [{
  100234. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  100235. }],
  100236. position: [{
  100237. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  100238. }],
  100239. renderedHTML: [{
  100240. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.HostBinding,
  100241. args: ['innerHTML']
  100242. }]
  100243. });
  100244. })();
  100245. class FaLayersTextComponent {
  100246. constructor(parent, sanitizer) {
  100247. this.parent = parent;
  100248. this.sanitizer = sanitizer;
  100249. this.classes = [];
  100250. faWarnIfParentNotExist(this.parent, 'FaLayersComponent', this.constructor.name);
  100251. }
  100252. ngOnChanges(changes) {
  100253. if (changes) {
  100254. const params = this.buildParams();
  100255. this.updateContent(params);
  100256. }
  100257. }
  100258. /**
  100259. * Updating params by component props.
  100260. */
  100261. buildParams() {
  100262. const classOpts = {
  100263. flip: this.flip,
  100264. spin: this.spin,
  100265. pulse: this.pulse,
  100266. border: this.border,
  100267. inverse: this.inverse,
  100268. size: this.size || null,
  100269. pull: this.pull || null,
  100270. rotate: this.rotate || null,
  100271. fixedWidth: this.fixedWidth
  100272. };
  100273. const parsedTransform = typeof this.transform === 'string' ? _fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_0__.parse.transform(this.transform) : this.transform;
  100274. return {
  100275. transform: parsedTransform,
  100276. classes: [...faClassList(classOpts), ...this.classes],
  100277. title: this.title,
  100278. styles: this.styles
  100279. };
  100280. }
  100281. updateContent(params) {
  100282. this.renderedHTML = this.sanitizer.bypassSecurityTrustHtml((0,_fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_0__.text)(this.content || '', params).html.join('\n'));
  100283. }
  100284. }
  100285. FaLayersTextComponent.ɵfac = function FaLayersTextComponent_Factory(t) {
  100286. return new (t || FaLayersTextComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](FaLayersComponent, 8), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_platform_browser__WEBPACK_IMPORTED_MODULE_2__.DomSanitizer));
  100287. };
  100288. FaLayersTextComponent.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
  100289. type: FaLayersTextComponent,
  100290. selectors: [["fa-layers-text"]],
  100291. hostAttrs: [1, "ng-fa-layers-text"],
  100292. hostVars: 1,
  100293. hostBindings: function FaLayersTextComponent_HostBindings(rf, ctx) {
  100294. if (rf & 2) {
  100295. _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵhostProperty"]("innerHTML", ctx.renderedHTML, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsanitizeHtml"]);
  100296. }
  100297. },
  100298. inputs: {
  100299. content: "content",
  100300. title: "title",
  100301. styles: "styles",
  100302. classes: "classes",
  100303. spin: "spin",
  100304. pulse: "pulse",
  100305. flip: "flip",
  100306. size: "size",
  100307. pull: "pull",
  100308. border: "border",
  100309. inverse: "inverse",
  100310. rotate: "rotate",
  100311. fixedWidth: "fixedWidth",
  100312. transform: "transform"
  100313. },
  100314. features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵNgOnChangesFeature"]],
  100315. decls: 0,
  100316. vars: 0,
  100317. template: function FaLayersTextComponent_Template(rf, ctx) {},
  100318. encapsulation: 2
  100319. });
  100320. (function () {
  100321. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](FaLayersTextComponent, [{
  100322. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Component,
  100323. args: [{
  100324. selector: 'fa-layers-text',
  100325. template: '',
  100326. host: {
  100327. class: 'ng-fa-layers-text'
  100328. }
  100329. }]
  100330. }], function () {
  100331. return [{
  100332. type: FaLayersComponent,
  100333. decorators: [{
  100334. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Optional
  100335. }]
  100336. }, {
  100337. type: _angular_platform_browser__WEBPACK_IMPORTED_MODULE_2__.DomSanitizer
  100338. }];
  100339. }, {
  100340. content: [{
  100341. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  100342. }],
  100343. title: [{
  100344. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  100345. }],
  100346. styles: [{
  100347. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  100348. }],
  100349. classes: [{
  100350. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  100351. }],
  100352. spin: [{
  100353. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  100354. }],
  100355. pulse: [{
  100356. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  100357. }],
  100358. flip: [{
  100359. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  100360. }],
  100361. size: [{
  100362. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  100363. }],
  100364. pull: [{
  100365. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  100366. }],
  100367. border: [{
  100368. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  100369. }],
  100370. inverse: [{
  100371. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  100372. }],
  100373. rotate: [{
  100374. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  100375. }],
  100376. fixedWidth: [{
  100377. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  100378. }],
  100379. transform: [{
  100380. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
  100381. }],
  100382. renderedHTML: [{
  100383. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.HostBinding,
  100384. args: ['innerHTML']
  100385. }]
  100386. });
  100387. })();
  100388. class FontAwesomeModule {}
  100389. FontAwesomeModule.ɵfac = function FontAwesomeModule_Factory(t) {
  100390. return new (t || FontAwesomeModule)();
  100391. };
  100392. FontAwesomeModule.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({
  100393. type: FontAwesomeModule,
  100394. declarations: [FaIconComponent, FaDuotoneIconComponent, FaLayersComponent, FaLayersTextComponent, FaLayersCounterComponent, FaStackComponent, FaStackItemSizeDirective],
  100395. exports: [FaIconComponent, FaDuotoneIconComponent, FaLayersComponent, FaLayersTextComponent, FaLayersCounterComponent, FaStackComponent, FaStackItemSizeDirective]
  100396. });
  100397. FontAwesomeModule.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({});
  100398. (function () {
  100399. (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](FontAwesomeModule, [{
  100400. type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.NgModule,
  100401. args: [{
  100402. declarations: [FaIconComponent, FaDuotoneIconComponent, FaLayersComponent, FaLayersTextComponent, FaLayersCounterComponent, FaStackComponent, FaStackItemSizeDirective],
  100403. exports: [FaIconComponent, FaDuotoneIconComponent, FaLayersComponent, FaLayersTextComponent, FaLayersCounterComponent, FaStackComponent, FaStackItemSizeDirective]
  100404. }]
  100405. }], null, null);
  100406. })();
  100407. /**
  100408. * Generated bundle index. Do not edit.
  100409. */
  100410. /***/ }),
  100411. /***/ 8722:
  100412. /*!******************************************************************!*\
  100413. !*** ./node_modules/@fortawesome/fontawesome-svg-core/index.mjs ***!
  100414. \******************************************************************/
  100415. /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
  100416. __webpack_require__.r(__webpack_exports__);
  100417. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  100418. /* harmony export */ "api": () => (/* binding */ api),
  100419. /* harmony export */ "config": () => (/* binding */ config$1),
  100420. /* harmony export */ "counter": () => (/* binding */ counter),
  100421. /* harmony export */ "dom": () => (/* binding */ dom$1),
  100422. /* harmony export */ "findIconDefinition": () => (/* binding */ findIconDefinition$1),
  100423. /* harmony export */ "icon": () => (/* binding */ icon),
  100424. /* harmony export */ "layer": () => (/* binding */ layer),
  100425. /* harmony export */ "library": () => (/* binding */ library$1),
  100426. /* harmony export */ "noAuto": () => (/* binding */ noAuto$1),
  100427. /* harmony export */ "parse": () => (/* binding */ parse$1),
  100428. /* harmony export */ "text": () => (/* binding */ text),
  100429. /* harmony export */ "toHtml": () => (/* binding */ toHtml$1)
  100430. /* harmony export */ });
  100431. function ownKeys(object, enumerableOnly) {
  100432. var keys = Object.keys(object);
  100433. if (Object.getOwnPropertySymbols) {
  100434. var symbols = Object.getOwnPropertySymbols(object);
  100435. enumerableOnly && (symbols = symbols.filter(function (sym) {
  100436. return Object.getOwnPropertyDescriptor(object, sym).enumerable;
  100437. })), keys.push.apply(keys, symbols);
  100438. }
  100439. return keys;
  100440. }
  100441. function _objectSpread2(target) {
  100442. for (var i = 1; i < arguments.length; i++) {
  100443. var source = null != arguments[i] ? arguments[i] : {};
  100444. i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
  100445. _defineProperty(target, key, source[key]);
  100446. }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
  100447. Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
  100448. });
  100449. }
  100450. return target;
  100451. }
  100452. function _typeof(obj) {
  100453. "@babel/helpers - typeof";
  100454. return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
  100455. return typeof obj;
  100456. } : function (obj) {
  100457. return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
  100458. }, _typeof(obj);
  100459. }
  100460. function _wrapRegExp() {
  100461. _wrapRegExp = function (re, groups) {
  100462. return new BabelRegExp(re, void 0, groups);
  100463. };
  100464. var _super = RegExp.prototype,
  100465. _groups = new WeakMap();
  100466. function BabelRegExp(re, flags, groups) {
  100467. var _this = new RegExp(re, flags);
  100468. return _groups.set(_this, groups || _groups.get(re)), _setPrototypeOf(_this, BabelRegExp.prototype);
  100469. }
  100470. function buildGroups(result, re) {
  100471. var g = _groups.get(re);
  100472. return Object.keys(g).reduce(function (groups, name) {
  100473. return groups[name] = result[g[name]], groups;
  100474. }, Object.create(null));
  100475. }
  100476. return _inherits(BabelRegExp, RegExp), BabelRegExp.prototype.exec = function (str) {
  100477. var result = _super.exec.call(this, str);
  100478. return result && (result.groups = buildGroups(result, this)), result;
  100479. }, BabelRegExp.prototype[Symbol.replace] = function (str, substitution) {
  100480. if ("string" == typeof substitution) {
  100481. var groups = _groups.get(this);
  100482. return _super[Symbol.replace].call(this, str, substitution.replace(/\$<([^>]+)>/g, function (_, name) {
  100483. return "$" + groups[name];
  100484. }));
  100485. }
  100486. if ("function" == typeof substitution) {
  100487. var _this = this;
  100488. return _super[Symbol.replace].call(this, str, function () {
  100489. var args = arguments;
  100490. return "object" != typeof args[args.length - 1] && (args = [].slice.call(args)).push(buildGroups(args, _this)), substitution.apply(this, args);
  100491. });
  100492. }
  100493. return _super[Symbol.replace].call(this, str, substitution);
  100494. }, _wrapRegExp.apply(this, arguments);
  100495. }
  100496. function _classCallCheck(instance, Constructor) {
  100497. if (!(instance instanceof Constructor)) {
  100498. throw new TypeError("Cannot call a class as a function");
  100499. }
  100500. }
  100501. function _defineProperties(target, props) {
  100502. for (var i = 0; i < props.length; i++) {
  100503. var descriptor = props[i];
  100504. descriptor.enumerable = descriptor.enumerable || false;
  100505. descriptor.configurable = true;
  100506. if ("value" in descriptor) descriptor.writable = true;
  100507. Object.defineProperty(target, descriptor.key, descriptor);
  100508. }
  100509. }
  100510. function _createClass(Constructor, protoProps, staticProps) {
  100511. if (protoProps) _defineProperties(Constructor.prototype, protoProps);
  100512. if (staticProps) _defineProperties(Constructor, staticProps);
  100513. Object.defineProperty(Constructor, "prototype", {
  100514. writable: false
  100515. });
  100516. return Constructor;
  100517. }
  100518. function _defineProperty(obj, key, value) {
  100519. if (key in obj) {
  100520. Object.defineProperty(obj, key, {
  100521. value: value,
  100522. enumerable: true,
  100523. configurable: true,
  100524. writable: true
  100525. });
  100526. } else {
  100527. obj[key] = value;
  100528. }
  100529. return obj;
  100530. }
  100531. function _inherits(subClass, superClass) {
  100532. if (typeof superClass !== "function" && superClass !== null) {
  100533. throw new TypeError("Super expression must either be null or a function");
  100534. }
  100535. subClass.prototype = Object.create(superClass && superClass.prototype, {
  100536. constructor: {
  100537. value: subClass,
  100538. writable: true,
  100539. configurable: true
  100540. }
  100541. });
  100542. Object.defineProperty(subClass, "prototype", {
  100543. writable: false
  100544. });
  100545. if (superClass) _setPrototypeOf(subClass, superClass);
  100546. }
  100547. function _setPrototypeOf(o, p) {
  100548. _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
  100549. o.__proto__ = p;
  100550. return o;
  100551. };
  100552. return _setPrototypeOf(o, p);
  100553. }
  100554. function _slicedToArray(arr, i) {
  100555. return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
  100556. }
  100557. function _toConsumableArray(arr) {
  100558. return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
  100559. }
  100560. function _arrayWithoutHoles(arr) {
  100561. if (Array.isArray(arr)) return _arrayLikeToArray(arr);
  100562. }
  100563. function _arrayWithHoles(arr) {
  100564. if (Array.isArray(arr)) return arr;
  100565. }
  100566. function _iterableToArray(iter) {
  100567. if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
  100568. }
  100569. function _iterableToArrayLimit(arr, i) {
  100570. var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
  100571. if (_i == null) return;
  100572. var _arr = [];
  100573. var _n = true;
  100574. var _d = false;
  100575. var _s, _e;
  100576. try {
  100577. for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
  100578. _arr.push(_s.value);
  100579. if (i && _arr.length === i) break;
  100580. }
  100581. } catch (err) {
  100582. _d = true;
  100583. _e = err;
  100584. } finally {
  100585. try {
  100586. if (!_n && _i["return"] != null) _i["return"]();
  100587. } finally {
  100588. if (_d) throw _e;
  100589. }
  100590. }
  100591. return _arr;
  100592. }
  100593. function _unsupportedIterableToArray(o, minLen) {
  100594. if (!o) return;
  100595. if (typeof o === "string") return _arrayLikeToArray(o, minLen);
  100596. var n = Object.prototype.toString.call(o).slice(8, -1);
  100597. if (n === "Object" && o.constructor) n = o.constructor.name;
  100598. if (n === "Map" || n === "Set") return Array.from(o);
  100599. if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
  100600. }
  100601. function _arrayLikeToArray(arr, len) {
  100602. if (len == null || len > arr.length) len = arr.length;
  100603. for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
  100604. return arr2;
  100605. }
  100606. function _nonIterableSpread() {
  100607. throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
  100608. }
  100609. function _nonIterableRest() {
  100610. throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
  100611. }
  100612. var noop = function noop() {};
  100613. var _WINDOW = {};
  100614. var _DOCUMENT = {};
  100615. var _MUTATION_OBSERVER = null;
  100616. var _PERFORMANCE = {
  100617. mark: noop,
  100618. measure: noop
  100619. };
  100620. try {
  100621. if (typeof window !== 'undefined') _WINDOW = window;
  100622. if (typeof document !== 'undefined') _DOCUMENT = document;
  100623. if (typeof MutationObserver !== 'undefined') _MUTATION_OBSERVER = MutationObserver;
  100624. if (typeof performance !== 'undefined') _PERFORMANCE = performance;
  100625. } catch (e) {}
  100626. var _ref = _WINDOW.navigator || {},
  100627. _ref$userAgent = _ref.userAgent,
  100628. userAgent = _ref$userAgent === void 0 ? '' : _ref$userAgent;
  100629. var WINDOW = _WINDOW;
  100630. var DOCUMENT = _DOCUMENT;
  100631. var MUTATION_OBSERVER = _MUTATION_OBSERVER;
  100632. var PERFORMANCE = _PERFORMANCE;
  100633. var IS_BROWSER = !!WINDOW.document;
  100634. var IS_DOM = !!DOCUMENT.documentElement && !!DOCUMENT.head && typeof DOCUMENT.addEventListener === 'function' && typeof DOCUMENT.createElement === 'function';
  100635. var IS_IE = ~userAgent.indexOf('MSIE') || ~userAgent.indexOf('Trident/');
  100636. var _familyProxy, _familyProxy2, _familyProxy3, _familyProxy4, _familyProxy5;
  100637. var NAMESPACE_IDENTIFIER = '___FONT_AWESOME___';
  100638. var UNITS_IN_GRID = 16;
  100639. var DEFAULT_CSS_PREFIX = 'fa';
  100640. var DEFAULT_REPLACEMENT_CLASS = 'svg-inline--fa';
  100641. var DATA_FA_I2SVG = 'data-fa-i2svg';
  100642. var DATA_FA_PSEUDO_ELEMENT = 'data-fa-pseudo-element';
  100643. var DATA_FA_PSEUDO_ELEMENT_PENDING = 'data-fa-pseudo-element-pending';
  100644. var DATA_PREFIX = 'data-prefix';
  100645. var DATA_ICON = 'data-icon';
  100646. var HTML_CLASS_I2SVG_BASE_CLASS = 'fontawesome-i2svg';
  100647. var MUTATION_APPROACH_ASYNC = 'async';
  100648. var TAGNAMES_TO_SKIP_FOR_PSEUDOELEMENTS = ['HTML', 'HEAD', 'STYLE', 'SCRIPT'];
  100649. var PRODUCTION = function () {
  100650. try {
  100651. return "development" === 'production';
  100652. } catch (e) {
  100653. return false;
  100654. }
  100655. }();
  100656. var FAMILY_CLASSIC = 'classic';
  100657. var FAMILY_SHARP = 'sharp';
  100658. var FAMILIES = [FAMILY_CLASSIC, FAMILY_SHARP];
  100659. function familyProxy(obj) {
  100660. // Defaults to the classic family if family is not available
  100661. return new Proxy(obj, {
  100662. get: function get(target, prop) {
  100663. return prop in target ? target[prop] : target[FAMILY_CLASSIC];
  100664. }
  100665. });
  100666. }
  100667. var PREFIX_TO_STYLE = familyProxy((_familyProxy = {}, _defineProperty(_familyProxy, FAMILY_CLASSIC, {
  100668. 'fa': 'solid',
  100669. 'fas': 'solid',
  100670. 'fa-solid': 'solid',
  100671. 'far': 'regular',
  100672. 'fa-regular': 'regular',
  100673. 'fal': 'light',
  100674. 'fa-light': 'light',
  100675. 'fat': 'thin',
  100676. 'fa-thin': 'thin',
  100677. 'fad': 'duotone',
  100678. 'fa-duotone': 'duotone',
  100679. 'fab': 'brands',
  100680. 'fa-brands': 'brands',
  100681. 'fak': 'kit',
  100682. 'fa-kit': 'kit'
  100683. }), _defineProperty(_familyProxy, FAMILY_SHARP, {
  100684. 'fa': 'solid',
  100685. 'fass': 'solid',
  100686. 'fa-solid': 'solid'
  100687. }), _familyProxy));
  100688. var STYLE_TO_PREFIX = familyProxy((_familyProxy2 = {}, _defineProperty(_familyProxy2, FAMILY_CLASSIC, {
  100689. 'solid': 'fas',
  100690. 'regular': 'far',
  100691. 'light': 'fal',
  100692. 'thin': 'fat',
  100693. 'duotone': 'fad',
  100694. 'brands': 'fab',
  100695. 'kit': 'fak'
  100696. }), _defineProperty(_familyProxy2, FAMILY_SHARP, {
  100697. 'solid': 'fass'
  100698. }), _familyProxy2));
  100699. var PREFIX_TO_LONG_STYLE = familyProxy((_familyProxy3 = {}, _defineProperty(_familyProxy3, FAMILY_CLASSIC, {
  100700. 'fab': 'fa-brands',
  100701. 'fad': 'fa-duotone',
  100702. 'fak': 'fa-kit',
  100703. 'fal': 'fa-light',
  100704. 'far': 'fa-regular',
  100705. 'fas': 'fa-solid',
  100706. 'fat': 'fa-thin'
  100707. }), _defineProperty(_familyProxy3, FAMILY_SHARP, {
  100708. 'fass': 'fa-solid'
  100709. }), _familyProxy3));
  100710. var LONG_STYLE_TO_PREFIX = familyProxy((_familyProxy4 = {}, _defineProperty(_familyProxy4, FAMILY_CLASSIC, {
  100711. 'fa-brands': 'fab',
  100712. 'fa-duotone': 'fad',
  100713. 'fa-kit': 'fak',
  100714. 'fa-light': 'fal',
  100715. 'fa-regular': 'far',
  100716. 'fa-solid': 'fas',
  100717. 'fa-thin': 'fat'
  100718. }), _defineProperty(_familyProxy4, FAMILY_SHARP, {
  100719. 'fa-solid': 'fass'
  100720. }), _familyProxy4));
  100721. var ICON_SELECTION_SYNTAX_PATTERN = /fa(s|r|l|t|d|b|k|ss)?[\-\ ]/; // eslint-disable-line no-useless-escape
  100722. var LAYERS_TEXT_CLASSNAME = 'fa-layers-text';
  100723. var FONT_FAMILY_PATTERN = /Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i; // TODO: this needs to support fass
  100724. // TODO: do we need to handle font-weight for kit SVG pseudo-elements?
  100725. var FONT_WEIGHT_TO_PREFIX = familyProxy((_familyProxy5 = {}, _defineProperty(_familyProxy5, FAMILY_CLASSIC, {
  100726. '900': 'fas',
  100727. '400': 'far',
  100728. 'normal': 'far',
  100729. '300': 'fal',
  100730. '100': 'fat'
  100731. }), _defineProperty(_familyProxy5, FAMILY_SHARP, {
  100732. '900': 'fass'
  100733. }), _familyProxy5));
  100734. var oneToTen = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
  100735. var oneToTwenty = oneToTen.concat([11, 12, 13, 14, 15, 16, 17, 18, 19, 20]);
  100736. var ATTRIBUTES_WATCHED_FOR_MUTATION = ['class', 'data-prefix', 'data-icon', 'data-fa-transform', 'data-fa-mask'];
  100737. var DUOTONE_CLASSES = {
  100738. GROUP: 'duotone-group',
  100739. SWAP_OPACITY: 'swap-opacity',
  100740. PRIMARY: 'primary',
  100741. SECONDARY: 'secondary'
  100742. };
  100743. var prefixes = new Set();
  100744. Object.keys(STYLE_TO_PREFIX[FAMILY_CLASSIC]).map(prefixes.add.bind(prefixes));
  100745. Object.keys(STYLE_TO_PREFIX[FAMILY_SHARP]).map(prefixes.add.bind(prefixes));
  100746. var RESERVED_CLASSES = [].concat(FAMILIES, _toConsumableArray(prefixes), ['2xs', 'xs', 'sm', 'lg', 'xl', '2xl', 'beat', 'border', 'fade', 'beat-fade', 'bounce', 'flip-both', 'flip-horizontal', 'flip-vertical', 'flip', 'fw', 'inverse', 'layers-counter', 'layers-text', 'layers', 'li', 'pull-left', 'pull-right', 'pulse', 'rotate-180', 'rotate-270', 'rotate-90', 'rotate-by', 'shake', 'spin-pulse', 'spin-reverse', 'spin', 'stack-1x', 'stack-2x', 'stack', 'ul', DUOTONE_CLASSES.GROUP, DUOTONE_CLASSES.SWAP_OPACITY, DUOTONE_CLASSES.PRIMARY, DUOTONE_CLASSES.SECONDARY]).concat(oneToTen.map(function (n) {
  100747. return "".concat(n, "x");
  100748. })).concat(oneToTwenty.map(function (n) {
  100749. return "w-".concat(n);
  100750. }));
  100751. var initial = WINDOW.FontAwesomeConfig || {};
  100752. function getAttrConfig(attr) {
  100753. var element = DOCUMENT.querySelector('script[' + attr + ']');
  100754. if (element) {
  100755. return element.getAttribute(attr);
  100756. }
  100757. }
  100758. function coerce(val) {
  100759. // Getting an empty string will occur if the attribute is set on the HTML tag but without a value
  100760. // We'll assume that this is an indication that it should be toggled to true
  100761. if (val === '') return true;
  100762. if (val === 'false') return false;
  100763. if (val === 'true') return true;
  100764. return val;
  100765. }
  100766. if (DOCUMENT && typeof DOCUMENT.querySelector === 'function') {
  100767. var attrs = [['data-family-prefix', 'familyPrefix'], ['data-css-prefix', 'cssPrefix'], ['data-family-default', 'familyDefault'], ['data-style-default', 'styleDefault'], ['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-mutate-approach', 'mutateApproach'], ['data-keep-original-source', 'keepOriginalSource'], ['data-measure-performance', 'measurePerformance'], ['data-show-missing-icons', 'showMissingIcons']];
  100768. attrs.forEach(function (_ref) {
  100769. var _ref2 = _slicedToArray(_ref, 2),
  100770. attr = _ref2[0],
  100771. key = _ref2[1];
  100772. var val = coerce(getAttrConfig(attr));
  100773. if (val !== undefined && val !== null) {
  100774. initial[key] = val;
  100775. }
  100776. });
  100777. }
  100778. var _default = {
  100779. styleDefault: 'solid',
  100780. familyDefault: 'classic',
  100781. cssPrefix: DEFAULT_CSS_PREFIX,
  100782. replacementClass: DEFAULT_REPLACEMENT_CLASS,
  100783. autoReplaceSvg: true,
  100784. autoAddCss: true,
  100785. autoA11y: true,
  100786. searchPseudoElements: false,
  100787. observeMutations: true,
  100788. mutateApproach: 'async',
  100789. keepOriginalSource: true,
  100790. measurePerformance: false,
  100791. showMissingIcons: true
  100792. }; // familyPrefix is deprecated but we must still support it if present
  100793. if (initial.familyPrefix) {
  100794. initial.cssPrefix = initial.familyPrefix;
  100795. }
  100796. var _config = _objectSpread2(_objectSpread2({}, _default), initial);
  100797. if (!_config.autoReplaceSvg) _config.observeMutations = false;
  100798. var config = {};
  100799. Object.keys(_default).forEach(function (key) {
  100800. Object.defineProperty(config, key, {
  100801. enumerable: true,
  100802. set: function set(val) {
  100803. _config[key] = val;
  100804. _onChangeCb.forEach(function (cb) {
  100805. return cb(config);
  100806. });
  100807. },
  100808. get: function get() {
  100809. return _config[key];
  100810. }
  100811. });
  100812. }); // familyPrefix is deprecated as of 6.2.0 and should be removed in 7.0.0
  100813. Object.defineProperty(config, 'familyPrefix', {
  100814. enumerable: true,
  100815. set: function set(val) {
  100816. _config.cssPrefix = val;
  100817. _onChangeCb.forEach(function (cb) {
  100818. return cb(config);
  100819. });
  100820. },
  100821. get: function get() {
  100822. return _config.cssPrefix;
  100823. }
  100824. });
  100825. WINDOW.FontAwesomeConfig = config;
  100826. var _onChangeCb = [];
  100827. function onChange(cb) {
  100828. _onChangeCb.push(cb);
  100829. return function () {
  100830. _onChangeCb.splice(_onChangeCb.indexOf(cb), 1);
  100831. };
  100832. }
  100833. var d = UNITS_IN_GRID;
  100834. var meaninglessTransform = {
  100835. size: 16,
  100836. x: 0,
  100837. y: 0,
  100838. rotate: 0,
  100839. flipX: false,
  100840. flipY: false
  100841. };
  100842. function insertCss(css) {
  100843. if (!css || !IS_DOM) {
  100844. return;
  100845. }
  100846. var style = DOCUMENT.createElement('style');
  100847. style.setAttribute('type', 'text/css');
  100848. style.innerHTML = css;
  100849. var headChildren = DOCUMENT.head.childNodes;
  100850. var beforeChild = null;
  100851. for (var i = headChildren.length - 1; i > -1; i--) {
  100852. var child = headChildren[i];
  100853. var tagName = (child.tagName || '').toUpperCase();
  100854. if (['STYLE', 'LINK'].indexOf(tagName) > -1) {
  100855. beforeChild = child;
  100856. }
  100857. }
  100858. DOCUMENT.head.insertBefore(style, beforeChild);
  100859. return css;
  100860. }
  100861. var idPool = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
  100862. function nextUniqueId() {
  100863. var size = 12;
  100864. var id = '';
  100865. while (size-- > 0) {
  100866. id += idPool[Math.random() * 62 | 0];
  100867. }
  100868. return id;
  100869. }
  100870. function toArray(obj) {
  100871. var array = [];
  100872. for (var i = (obj || []).length >>> 0; i--;) {
  100873. array[i] = obj[i];
  100874. }
  100875. return array;
  100876. }
  100877. function classArray(node) {
  100878. if (node.classList) {
  100879. return toArray(node.classList);
  100880. } else {
  100881. return (node.getAttribute('class') || '').split(' ').filter(function (i) {
  100882. return i;
  100883. });
  100884. }
  100885. }
  100886. function htmlEscape(str) {
  100887. return "".concat(str).replace(/&/g, '&amp;').replace(/"/g, '&quot;').replace(/'/g, '&#39;').replace(/</g, '&lt;').replace(/>/g, '&gt;');
  100888. }
  100889. function joinAttributes(attributes) {
  100890. return Object.keys(attributes || {}).reduce(function (acc, attributeName) {
  100891. return acc + "".concat(attributeName, "=\"").concat(htmlEscape(attributes[attributeName]), "\" ");
  100892. }, '').trim();
  100893. }
  100894. function joinStyles(styles) {
  100895. return Object.keys(styles || {}).reduce(function (acc, styleName) {
  100896. return acc + "".concat(styleName, ": ").concat(styles[styleName].trim(), ";");
  100897. }, '');
  100898. }
  100899. function transformIsMeaningful(transform) {
  100900. return transform.size !== meaninglessTransform.size || transform.x !== meaninglessTransform.x || transform.y !== meaninglessTransform.y || transform.rotate !== meaninglessTransform.rotate || transform.flipX || transform.flipY;
  100901. }
  100902. function transformForSvg(_ref) {
  100903. var transform = _ref.transform,
  100904. containerWidth = _ref.containerWidth,
  100905. iconWidth = _ref.iconWidth;
  100906. var outer = {
  100907. transform: "translate(".concat(containerWidth / 2, " 256)")
  100908. };
  100909. var innerTranslate = "translate(".concat(transform.x * 32, ", ").concat(transform.y * 32, ") ");
  100910. var innerScale = "scale(".concat(transform.size / 16 * (transform.flipX ? -1 : 1), ", ").concat(transform.size / 16 * (transform.flipY ? -1 : 1), ") ");
  100911. var innerRotate = "rotate(".concat(transform.rotate, " 0 0)");
  100912. var inner = {
  100913. transform: "".concat(innerTranslate, " ").concat(innerScale, " ").concat(innerRotate)
  100914. };
  100915. var path = {
  100916. transform: "translate(".concat(iconWidth / 2 * -1, " -256)")
  100917. };
  100918. return {
  100919. outer: outer,
  100920. inner: inner,
  100921. path: path
  100922. };
  100923. }
  100924. function transformForCss(_ref2) {
  100925. var transform = _ref2.transform,
  100926. _ref2$width = _ref2.width,
  100927. width = _ref2$width === void 0 ? UNITS_IN_GRID : _ref2$width,
  100928. _ref2$height = _ref2.height,
  100929. height = _ref2$height === void 0 ? UNITS_IN_GRID : _ref2$height,
  100930. _ref2$startCentered = _ref2.startCentered,
  100931. startCentered = _ref2$startCentered === void 0 ? false : _ref2$startCentered;
  100932. var val = '';
  100933. if (startCentered && IS_IE) {
  100934. val += "translate(".concat(transform.x / d - width / 2, "em, ").concat(transform.y / d - height / 2, "em) ");
  100935. } else if (startCentered) {
  100936. val += "translate(calc(-50% + ".concat(transform.x / d, "em), calc(-50% + ").concat(transform.y / d, "em)) ");
  100937. } else {
  100938. val += "translate(".concat(transform.x / d, "em, ").concat(transform.y / d, "em) ");
  100939. }
  100940. val += "scale(".concat(transform.size / d * (transform.flipX ? -1 : 1), ", ").concat(transform.size / d * (transform.flipY ? -1 : 1), ") ");
  100941. val += "rotate(".concat(transform.rotate, "deg) ");
  100942. return val;
  100943. }
  100944. var baseStyles = ":root, :host {\n --fa-font-solid: normal 900 1em/1 \"Font Awesome 6 Solid\";\n --fa-font-regular: normal 400 1em/1 \"Font Awesome 6 Regular\";\n --fa-font-light: normal 300 1em/1 \"Font Awesome 6 Light\";\n --fa-font-thin: normal 100 1em/1 \"Font Awesome 6 Thin\";\n --fa-font-duotone: normal 900 1em/1 \"Font Awesome 6 Duotone\";\n --fa-font-sharp-solid: normal 900 1em/1 \"Font Awesome 6 Sharp\";\n --fa-font-brands: normal 400 1em/1 \"Font Awesome 6 Brands\";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-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-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\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-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: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\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-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\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: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n transition-delay: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\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@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 -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, none));\n transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\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 z-index: var(--fa-stack-z-index, auto);\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: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}";
  100945. function css() {
  100946. var dcp = DEFAULT_CSS_PREFIX;
  100947. var drc = DEFAULT_REPLACEMENT_CLASS;
  100948. var fp = config.cssPrefix;
  100949. var rc = config.replacementClass;
  100950. var s = baseStyles;
  100951. if (fp !== dcp || rc !== drc) {
  100952. var dPatt = new RegExp("\\.".concat(dcp, "\\-"), 'g');
  100953. var customPropPatt = new RegExp("\\--".concat(dcp, "\\-"), 'g');
  100954. var rPatt = new RegExp("\\.".concat(drc), 'g');
  100955. s = s.replace(dPatt, ".".concat(fp, "-")).replace(customPropPatt, "--".concat(fp, "-")).replace(rPatt, ".".concat(rc));
  100956. }
  100957. return s;
  100958. }
  100959. var _cssInserted = false;
  100960. function ensureCss() {
  100961. if (config.autoAddCss && !_cssInserted) {
  100962. insertCss(css());
  100963. _cssInserted = true;
  100964. }
  100965. }
  100966. var InjectCSS = {
  100967. mixout: function mixout() {
  100968. return {
  100969. dom: {
  100970. css: css,
  100971. insertCss: ensureCss
  100972. }
  100973. };
  100974. },
  100975. hooks: function hooks() {
  100976. return {
  100977. beforeDOMElementCreation: function beforeDOMElementCreation() {
  100978. ensureCss();
  100979. },
  100980. beforeI2svg: function beforeI2svg() {
  100981. ensureCss();
  100982. }
  100983. };
  100984. }
  100985. };
  100986. var w = WINDOW || {};
  100987. if (!w[NAMESPACE_IDENTIFIER]) w[NAMESPACE_IDENTIFIER] = {};
  100988. if (!w[NAMESPACE_IDENTIFIER].styles) w[NAMESPACE_IDENTIFIER].styles = {};
  100989. if (!w[NAMESPACE_IDENTIFIER].hooks) w[NAMESPACE_IDENTIFIER].hooks = {};
  100990. if (!w[NAMESPACE_IDENTIFIER].shims) w[NAMESPACE_IDENTIFIER].shims = [];
  100991. var namespace = w[NAMESPACE_IDENTIFIER];
  100992. var functions = [];
  100993. var listener = function listener() {
  100994. DOCUMENT.removeEventListener('DOMContentLoaded', listener);
  100995. loaded = 1;
  100996. functions.map(function (fn) {
  100997. return fn();
  100998. });
  100999. };
  101000. var loaded = false;
  101001. if (IS_DOM) {
  101002. loaded = (DOCUMENT.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(DOCUMENT.readyState);
  101003. if (!loaded) DOCUMENT.addEventListener('DOMContentLoaded', listener);
  101004. }
  101005. function domready(fn) {
  101006. if (!IS_DOM) return;
  101007. loaded ? setTimeout(fn, 0) : functions.push(fn);
  101008. }
  101009. function toHtml(abstractNodes) {
  101010. var tag = abstractNodes.tag,
  101011. _abstractNodes$attrib = abstractNodes.attributes,
  101012. attributes = _abstractNodes$attrib === void 0 ? {} : _abstractNodes$attrib,
  101013. _abstractNodes$childr = abstractNodes.children,
  101014. children = _abstractNodes$childr === void 0 ? [] : _abstractNodes$childr;
  101015. if (typeof abstractNodes === 'string') {
  101016. return htmlEscape(abstractNodes);
  101017. } else {
  101018. return "<".concat(tag, " ").concat(joinAttributes(attributes), ">").concat(children.map(toHtml).join(''), "</").concat(tag, ">");
  101019. }
  101020. }
  101021. function iconFromMapping(mapping, prefix, iconName) {
  101022. if (mapping && mapping[prefix] && mapping[prefix][iconName]) {
  101023. return {
  101024. prefix: prefix,
  101025. iconName: iconName,
  101026. icon: mapping[prefix][iconName]
  101027. };
  101028. }
  101029. }
  101030. /**
  101031. * Internal helper to bind a function known to have 4 arguments
  101032. * to a given context.
  101033. */
  101034. var bindInternal4 = function bindInternal4(func, thisContext) {
  101035. return function (a, b, c, d) {
  101036. return func.call(thisContext, a, b, c, d);
  101037. };
  101038. };
  101039. /**
  101040. * # Reduce
  101041. *
  101042. * A fast object `.reduce()` implementation.
  101043. *
  101044. * @param {Object} subject The object to reduce over.
  101045. * @param {Function} fn The reducer function.
  101046. * @param {mixed} initialValue The initial value for the reducer, defaults to subject[0].
  101047. * @param {Object} thisContext The context for the reducer.
  101048. * @return {mixed} The final result.
  101049. */
  101050. var reduce = function fastReduceObject(subject, fn, initialValue, thisContext) {
  101051. var keys = Object.keys(subject),
  101052. length = keys.length,
  101053. iterator = thisContext !== undefined ? bindInternal4(fn, thisContext) : fn,
  101054. i,
  101055. key,
  101056. result;
  101057. if (initialValue === undefined) {
  101058. i = 1;
  101059. result = subject[keys[0]];
  101060. } else {
  101061. i = 0;
  101062. result = initialValue;
  101063. }
  101064. for (; i < length; i++) {
  101065. key = keys[i];
  101066. result = iterator(result, subject[key], key, subject);
  101067. }
  101068. return result;
  101069. };
  101070. /**
  101071. * ucs2decode() and codePointAt() are both works of Mathias Bynens and licensed under MIT
  101072. *
  101073. * Copyright Mathias Bynens <https://mathiasbynens.be/>
  101074. * Permission is hereby granted, free of charge, to any person obtaining
  101075. * a copy of this software and associated documentation files (the
  101076. * "Software"), to deal in the Software without restriction, including
  101077. * without limitation the rights to use, copy, modify, merge, publish,
  101078. * distribute, sublicense, and/or sell copies of the Software, and to
  101079. * permit persons to whom the Software is furnished to do so, subject to
  101080. * the following conditions:
  101081. * The above copyright notice and this permission notice shall be
  101082. * included in all copies or substantial portions of the Software.
  101083. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  101084. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  101085. * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  101086. * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  101087. * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  101088. * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  101089. * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  101090. */
  101091. function ucs2decode(string) {
  101092. var output = [];
  101093. var counter = 0;
  101094. var length = string.length;
  101095. while (counter < length) {
  101096. var value = string.charCodeAt(counter++);
  101097. if (value >= 0xD800 && value <= 0xDBFF && counter < length) {
  101098. var extra = string.charCodeAt(counter++);
  101099. if ((extra & 0xFC00) == 0xDC00) {
  101100. // eslint-disable-line eqeqeq
  101101. output.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);
  101102. } else {
  101103. output.push(value);
  101104. counter--;
  101105. }
  101106. } else {
  101107. output.push(value);
  101108. }
  101109. }
  101110. return output;
  101111. }
  101112. function toHex(unicode) {
  101113. var decoded = ucs2decode(unicode);
  101114. return decoded.length === 1 ? decoded[0].toString(16) : null;
  101115. }
  101116. function codePointAt(string, index) {
  101117. var size = string.length;
  101118. var first = string.charCodeAt(index);
  101119. var second;
  101120. if (first >= 0xD800 && first <= 0xDBFF && size > index + 1) {
  101121. second = string.charCodeAt(index + 1);
  101122. if (second >= 0xDC00 && second <= 0xDFFF) {
  101123. return (first - 0xD800) * 0x400 + second - 0xDC00 + 0x10000;
  101124. }
  101125. }
  101126. return first;
  101127. }
  101128. function normalizeIcons(icons) {
  101129. return Object.keys(icons).reduce(function (acc, iconName) {
  101130. var icon = icons[iconName];
  101131. var expanded = !!icon.icon;
  101132. if (expanded) {
  101133. acc[icon.iconName] = icon.icon;
  101134. } else {
  101135. acc[iconName] = icon;
  101136. }
  101137. return acc;
  101138. }, {});
  101139. }
  101140. function defineIcons(prefix, icons) {
  101141. var params = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  101142. var _params$skipHooks = params.skipHooks,
  101143. skipHooks = _params$skipHooks === void 0 ? false : _params$skipHooks;
  101144. var normalized = normalizeIcons(icons);
  101145. if (typeof namespace.hooks.addPack === 'function' && !skipHooks) {
  101146. namespace.hooks.addPack(prefix, normalizeIcons(icons));
  101147. } else {
  101148. namespace.styles[prefix] = _objectSpread2(_objectSpread2({}, namespace.styles[prefix] || {}), normalized);
  101149. }
  101150. /**
  101151. * Font Awesome 4 used the prefix of `fa` for all icons. With the introduction
  101152. * of new styles we needed to differentiate between them. Prefix `fa` is now an alias
  101153. * for `fas` so we'll ease the upgrade process for our users by automatically defining
  101154. * this as well.
  101155. */
  101156. if (prefix === 'fas') {
  101157. defineIcons('fa', icons);
  101158. }
  101159. }
  101160. var duotonePathRe = [/*#__PURE__*/_wrapRegExp(/path d="((?:(?!")[\s\S])+)".*path d="((?:(?!")[\s\S])+)"/, {
  101161. d1: 1,
  101162. d2: 2
  101163. }), /*#__PURE__*/_wrapRegExp(/path class="((?:(?!")[\s\S])+)".*d="((?:(?!")[\s\S])+)".*path class="((?:(?!")[\s\S])+)".*d="((?:(?!")[\s\S])+)"/, {
  101164. cls1: 1,
  101165. d1: 2,
  101166. cls2: 3,
  101167. d2: 4
  101168. }), /*#__PURE__*/_wrapRegExp(/path class="((?:(?!")[\s\S])+)".*d="((?:(?!")[\s\S])+)"/, {
  101169. cls1: 1,
  101170. d1: 2
  101171. })];
  101172. var _LONG_STYLE, _PREFIXES, _PREFIXES_FOR_FAMILY;
  101173. var styles = namespace.styles,
  101174. shims = namespace.shims;
  101175. var LONG_STYLE = (_LONG_STYLE = {}, _defineProperty(_LONG_STYLE, FAMILY_CLASSIC, Object.values(PREFIX_TO_LONG_STYLE[FAMILY_CLASSIC])), _defineProperty(_LONG_STYLE, FAMILY_SHARP, Object.values(PREFIX_TO_LONG_STYLE[FAMILY_SHARP])), _LONG_STYLE);
  101176. var _defaultUsablePrefix = null;
  101177. var _byUnicode = {};
  101178. var _byLigature = {};
  101179. var _byOldName = {};
  101180. var _byOldUnicode = {};
  101181. var _byAlias = {};
  101182. var PREFIXES = (_PREFIXES = {}, _defineProperty(_PREFIXES, FAMILY_CLASSIC, Object.keys(PREFIX_TO_STYLE[FAMILY_CLASSIC])), _defineProperty(_PREFIXES, FAMILY_SHARP, Object.keys(PREFIX_TO_STYLE[FAMILY_SHARP])), _PREFIXES);
  101183. function isReserved(name) {
  101184. return ~RESERVED_CLASSES.indexOf(name);
  101185. }
  101186. function getIconName(cssPrefix, cls) {
  101187. var parts = cls.split('-');
  101188. var prefix = parts[0];
  101189. var iconName = parts.slice(1).join('-');
  101190. if (prefix === cssPrefix && iconName !== '' && !isReserved(iconName)) {
  101191. return iconName;
  101192. } else {
  101193. return null;
  101194. }
  101195. }
  101196. var build = function build() {
  101197. var lookup = function lookup(reducer) {
  101198. return reduce(styles, function (o, style, prefix) {
  101199. o[prefix] = reduce(style, reducer, {});
  101200. return o;
  101201. }, {});
  101202. };
  101203. _byUnicode = lookup(function (acc, icon, iconName) {
  101204. if (icon[3]) {
  101205. acc[icon[3]] = iconName;
  101206. }
  101207. if (icon[2]) {
  101208. var aliases = icon[2].filter(function (a) {
  101209. return typeof a === 'number';
  101210. });
  101211. aliases.forEach(function (alias) {
  101212. acc[alias.toString(16)] = iconName;
  101213. });
  101214. }
  101215. return acc;
  101216. });
  101217. _byLigature = lookup(function (acc, icon, iconName) {
  101218. acc[iconName] = iconName;
  101219. if (icon[2]) {
  101220. var aliases = icon[2].filter(function (a) {
  101221. return typeof a === 'string';
  101222. });
  101223. aliases.forEach(function (alias) {
  101224. acc[alias] = iconName;
  101225. });
  101226. }
  101227. return acc;
  101228. });
  101229. _byAlias = lookup(function (acc, icon, iconName) {
  101230. var aliases = icon[2];
  101231. acc[iconName] = iconName;
  101232. aliases.forEach(function (alias) {
  101233. acc[alias] = iconName;
  101234. });
  101235. return acc;
  101236. }); // If we have a Kit, we can't determine if regular is available since we
  101237. // could be auto-fetching it. We'll have to assume that it is available.
  101238. var hasRegular = 'far' in styles || config.autoFetchSvg;
  101239. var shimLookups = reduce(shims, function (acc, shim) {
  101240. var maybeNameMaybeUnicode = shim[0];
  101241. var prefix = shim[1];
  101242. var iconName = shim[2];
  101243. if (prefix === 'far' && !hasRegular) {
  101244. prefix = 'fas';
  101245. }
  101246. if (typeof maybeNameMaybeUnicode === 'string') {
  101247. acc.names[maybeNameMaybeUnicode] = {
  101248. prefix: prefix,
  101249. iconName: iconName
  101250. };
  101251. }
  101252. if (typeof maybeNameMaybeUnicode === 'number') {
  101253. acc.unicodes[maybeNameMaybeUnicode.toString(16)] = {
  101254. prefix: prefix,
  101255. iconName: iconName
  101256. };
  101257. }
  101258. return acc;
  101259. }, {
  101260. names: {},
  101261. unicodes: {}
  101262. });
  101263. _byOldName = shimLookups.names;
  101264. _byOldUnicode = shimLookups.unicodes;
  101265. _defaultUsablePrefix = getCanonicalPrefix(config.styleDefault, {
  101266. family: config.familyDefault
  101267. });
  101268. };
  101269. onChange(function (c) {
  101270. _defaultUsablePrefix = getCanonicalPrefix(c.styleDefault, {
  101271. family: config.familyDefault
  101272. });
  101273. });
  101274. build();
  101275. function byUnicode(prefix, unicode) {
  101276. return (_byUnicode[prefix] || {})[unicode];
  101277. }
  101278. function byLigature(prefix, ligature) {
  101279. return (_byLigature[prefix] || {})[ligature];
  101280. }
  101281. function byAlias(prefix, alias) {
  101282. return (_byAlias[prefix] || {})[alias];
  101283. }
  101284. function byOldName(name) {
  101285. return _byOldName[name] || {
  101286. prefix: null,
  101287. iconName: null
  101288. };
  101289. }
  101290. function byOldUnicode(unicode) {
  101291. var oldUnicode = _byOldUnicode[unicode];
  101292. var newUnicode = byUnicode('fas', unicode);
  101293. return oldUnicode || (newUnicode ? {
  101294. prefix: 'fas',
  101295. iconName: newUnicode
  101296. } : null) || {
  101297. prefix: null,
  101298. iconName: null
  101299. };
  101300. }
  101301. function getDefaultUsablePrefix() {
  101302. return _defaultUsablePrefix;
  101303. }
  101304. var emptyCanonicalIcon = function emptyCanonicalIcon() {
  101305. return {
  101306. prefix: null,
  101307. iconName: null,
  101308. rest: []
  101309. };
  101310. };
  101311. function getCanonicalPrefix(styleOrPrefix) {
  101312. var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  101313. var _params$family = params.family,
  101314. family = _params$family === void 0 ? FAMILY_CLASSIC : _params$family;
  101315. var style = PREFIX_TO_STYLE[family][styleOrPrefix];
  101316. var prefix = STYLE_TO_PREFIX[family][styleOrPrefix] || STYLE_TO_PREFIX[family][style];
  101317. var defined = styleOrPrefix in namespace.styles ? styleOrPrefix : null;
  101318. return prefix || defined || null;
  101319. }
  101320. var PREFIXES_FOR_FAMILY = (_PREFIXES_FOR_FAMILY = {}, _defineProperty(_PREFIXES_FOR_FAMILY, FAMILY_CLASSIC, Object.keys(PREFIX_TO_LONG_STYLE[FAMILY_CLASSIC])), _defineProperty(_PREFIXES_FOR_FAMILY, FAMILY_SHARP, Object.keys(PREFIX_TO_LONG_STYLE[FAMILY_SHARP])), _PREFIXES_FOR_FAMILY);
  101321. function getCanonicalIcon(values) {
  101322. var _famProps;
  101323. var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  101324. var _params$skipLookups = params.skipLookups,
  101325. skipLookups = _params$skipLookups === void 0 ? false : _params$skipLookups;
  101326. var famProps = (_famProps = {}, _defineProperty(_famProps, FAMILY_CLASSIC, "".concat(config.cssPrefix, "-").concat(FAMILY_CLASSIC)), _defineProperty(_famProps, FAMILY_SHARP, "".concat(config.cssPrefix, "-").concat(FAMILY_SHARP)), _famProps);
  101327. var givenPrefix = null;
  101328. var family = FAMILY_CLASSIC;
  101329. if (values.includes(famProps[FAMILY_CLASSIC]) || values.some(function (v) {
  101330. return PREFIXES_FOR_FAMILY[FAMILY_CLASSIC].includes(v);
  101331. })) {
  101332. family = FAMILY_CLASSIC;
  101333. }
  101334. if (values.includes(famProps[FAMILY_SHARP]) || values.some(function (v) {
  101335. return PREFIXES_FOR_FAMILY[FAMILY_SHARP].includes(v);
  101336. })) {
  101337. family = FAMILY_SHARP;
  101338. }
  101339. var canonical = values.reduce(function (acc, cls) {
  101340. var iconName = getIconName(config.cssPrefix, cls);
  101341. if (styles[cls]) {
  101342. cls = LONG_STYLE[family].includes(cls) ? LONG_STYLE_TO_PREFIX[family][cls] : cls;
  101343. givenPrefix = cls;
  101344. acc.prefix = cls;
  101345. } else if (PREFIXES[family].indexOf(cls) > -1) {
  101346. givenPrefix = cls;
  101347. acc.prefix = getCanonicalPrefix(cls, {
  101348. family: family
  101349. });
  101350. } else if (iconName) {
  101351. acc.iconName = iconName;
  101352. } else if (cls !== config.replacementClass && cls !== famProps[FAMILY_CLASSIC] && cls !== famProps[FAMILY_SHARP]) {
  101353. acc.rest.push(cls);
  101354. }
  101355. if (!skipLookups && acc.prefix && acc.iconName) {
  101356. var shim = givenPrefix === 'fa' ? byOldName(acc.iconName) : {};
  101357. var aliasIconName = byAlias(acc.prefix, acc.iconName);
  101358. if (shim.prefix) {
  101359. givenPrefix = null;
  101360. }
  101361. acc.iconName = shim.iconName || aliasIconName || acc.iconName;
  101362. acc.prefix = shim.prefix || acc.prefix;
  101363. if (acc.prefix === 'far' && !styles['far'] && styles['fas'] && !config.autoFetchSvg) {
  101364. // Allow a fallback from the regular style to solid if regular is not available
  101365. // but only if we aren't auto-fetching SVGs
  101366. acc.prefix = 'fas';
  101367. }
  101368. }
  101369. return acc;
  101370. }, emptyCanonicalIcon());
  101371. if (values.includes('fa-brands') || values.includes('fab')) {
  101372. canonical.prefix = 'fab';
  101373. }
  101374. if (values.includes('fa-duotone') || values.includes('fad')) {
  101375. canonical.prefix = 'fad';
  101376. }
  101377. if (!canonical.prefix && family === FAMILY_SHARP && (styles['fass'] || config.autoFetchSvg)) {
  101378. canonical.prefix = 'fass';
  101379. canonical.iconName = byAlias(canonical.prefix, canonical.iconName) || canonical.iconName;
  101380. }
  101381. if (canonical.prefix === 'fa' || givenPrefix === 'fa') {
  101382. // The fa prefix is not canonical. So if it has made it through until this point
  101383. // we will shift it to the correct prefix.
  101384. canonical.prefix = getDefaultUsablePrefix() || 'fas';
  101385. }
  101386. return canonical;
  101387. }
  101388. var Library = /*#__PURE__*/function () {
  101389. function Library() {
  101390. _classCallCheck(this, Library);
  101391. this.definitions = {};
  101392. }
  101393. _createClass(Library, [{
  101394. key: "add",
  101395. value: function add() {
  101396. var _this = this;
  101397. for (var _len = arguments.length, definitions = new Array(_len), _key = 0; _key < _len; _key++) {
  101398. definitions[_key] = arguments[_key];
  101399. }
  101400. var additions = definitions.reduce(this._pullDefinitions, {});
  101401. Object.keys(additions).forEach(function (key) {
  101402. _this.definitions[key] = _objectSpread2(_objectSpread2({}, _this.definitions[key] || {}), additions[key]);
  101403. defineIcons(key, additions[key]); // TODO can we stop doing this? We can't get the icons by 'fa-solid' any longer so this probably needs to change
  101404. var longPrefix = PREFIX_TO_LONG_STYLE[FAMILY_CLASSIC][key];
  101405. if (longPrefix) defineIcons(longPrefix, additions[key]);
  101406. build();
  101407. });
  101408. }
  101409. }, {
  101410. key: "reset",
  101411. value: function reset() {
  101412. this.definitions = {};
  101413. }
  101414. }, {
  101415. key: "_pullDefinitions",
  101416. value: function _pullDefinitions(additions, definition) {
  101417. var normalized = definition.prefix && definition.iconName && definition.icon ? {
  101418. 0: definition
  101419. } : definition;
  101420. Object.keys(normalized).map(function (key) {
  101421. var _normalized$key = normalized[key],
  101422. prefix = _normalized$key.prefix,
  101423. iconName = _normalized$key.iconName,
  101424. icon = _normalized$key.icon;
  101425. var aliases = icon[2];
  101426. if (!additions[prefix]) additions[prefix] = {};
  101427. if (aliases.length > 0) {
  101428. aliases.forEach(function (alias) {
  101429. if (typeof alias === 'string') {
  101430. additions[prefix][alias] = icon;
  101431. }
  101432. });
  101433. }
  101434. additions[prefix][iconName] = icon;
  101435. });
  101436. return additions;
  101437. }
  101438. }]);
  101439. return Library;
  101440. }();
  101441. var _plugins = [];
  101442. var _hooks = {};
  101443. var providers = {};
  101444. var defaultProviderKeys = Object.keys(providers);
  101445. function registerPlugins(nextPlugins, _ref) {
  101446. var obj = _ref.mixoutsTo;
  101447. _plugins = nextPlugins;
  101448. _hooks = {};
  101449. Object.keys(providers).forEach(function (k) {
  101450. if (defaultProviderKeys.indexOf(k) === -1) {
  101451. delete providers[k];
  101452. }
  101453. });
  101454. _plugins.forEach(function (plugin) {
  101455. var mixout = plugin.mixout ? plugin.mixout() : {};
  101456. Object.keys(mixout).forEach(function (tk) {
  101457. if (typeof mixout[tk] === 'function') {
  101458. obj[tk] = mixout[tk];
  101459. }
  101460. if (_typeof(mixout[tk]) === 'object') {
  101461. Object.keys(mixout[tk]).forEach(function (sk) {
  101462. if (!obj[tk]) {
  101463. obj[tk] = {};
  101464. }
  101465. obj[tk][sk] = mixout[tk][sk];
  101466. });
  101467. }
  101468. });
  101469. if (plugin.hooks) {
  101470. var hooks = plugin.hooks();
  101471. Object.keys(hooks).forEach(function (hook) {
  101472. if (!_hooks[hook]) {
  101473. _hooks[hook] = [];
  101474. }
  101475. _hooks[hook].push(hooks[hook]);
  101476. });
  101477. }
  101478. if (plugin.provides) {
  101479. plugin.provides(providers);
  101480. }
  101481. });
  101482. return obj;
  101483. }
  101484. function chainHooks(hook, accumulator) {
  101485. for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
  101486. args[_key - 2] = arguments[_key];
  101487. }
  101488. var hookFns = _hooks[hook] || [];
  101489. hookFns.forEach(function (hookFn) {
  101490. accumulator = hookFn.apply(null, [accumulator].concat(args)); // eslint-disable-line no-useless-call
  101491. });
  101492. return accumulator;
  101493. }
  101494. function callHooks(hook) {
  101495. for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
  101496. args[_key2 - 1] = arguments[_key2];
  101497. }
  101498. var hookFns = _hooks[hook] || [];
  101499. hookFns.forEach(function (hookFn) {
  101500. hookFn.apply(null, args);
  101501. });
  101502. return undefined;
  101503. }
  101504. function callProvided() {
  101505. var hook = arguments[0];
  101506. var args = Array.prototype.slice.call(arguments, 1);
  101507. return providers[hook] ? providers[hook].apply(null, args) : undefined;
  101508. }
  101509. function findIconDefinition(iconLookup) {
  101510. if (iconLookup.prefix === 'fa') {
  101511. iconLookup.prefix = 'fas';
  101512. }
  101513. var iconName = iconLookup.iconName;
  101514. var prefix = iconLookup.prefix || getDefaultUsablePrefix();
  101515. if (!iconName) return;
  101516. iconName = byAlias(prefix, iconName) || iconName;
  101517. return iconFromMapping(library.definitions, prefix, iconName) || iconFromMapping(namespace.styles, prefix, iconName);
  101518. }
  101519. var library = new Library();
  101520. var noAuto = function noAuto() {
  101521. config.autoReplaceSvg = false;
  101522. config.observeMutations = false;
  101523. callHooks('noAuto');
  101524. };
  101525. var dom = {
  101526. i2svg: function i2svg() {
  101527. var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  101528. if (IS_DOM) {
  101529. callHooks('beforeI2svg', params);
  101530. callProvided('pseudoElements2svg', params);
  101531. return callProvided('i2svg', params);
  101532. } else {
  101533. return Promise.reject('Operation requires a DOM of some kind.');
  101534. }
  101535. },
  101536. watch: function watch() {
  101537. var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  101538. var autoReplaceSvgRoot = params.autoReplaceSvgRoot;
  101539. if (config.autoReplaceSvg === false) {
  101540. config.autoReplaceSvg = true;
  101541. }
  101542. config.observeMutations = true;
  101543. domready(function () {
  101544. autoReplace({
  101545. autoReplaceSvgRoot: autoReplaceSvgRoot
  101546. });
  101547. callHooks('watch', params);
  101548. });
  101549. }
  101550. };
  101551. var parse = {
  101552. icon: function icon(_icon) {
  101553. if (_icon === null) {
  101554. return null;
  101555. }
  101556. if (_typeof(_icon) === 'object' && _icon.prefix && _icon.iconName) {
  101557. return {
  101558. prefix: _icon.prefix,
  101559. iconName: byAlias(_icon.prefix, _icon.iconName) || _icon.iconName
  101560. };
  101561. }
  101562. if (Array.isArray(_icon) && _icon.length === 2) {
  101563. var iconName = _icon[1].indexOf('fa-') === 0 ? _icon[1].slice(3) : _icon[1];
  101564. var prefix = getCanonicalPrefix(_icon[0]);
  101565. return {
  101566. prefix: prefix,
  101567. iconName: byAlias(prefix, iconName) || iconName
  101568. };
  101569. }
  101570. if (typeof _icon === 'string' && (_icon.indexOf("".concat(config.cssPrefix, "-")) > -1 || _icon.match(ICON_SELECTION_SYNTAX_PATTERN))) {
  101571. var canonicalIcon = getCanonicalIcon(_icon.split(' '), {
  101572. skipLookups: true
  101573. });
  101574. return {
  101575. prefix: canonicalIcon.prefix || getDefaultUsablePrefix(),
  101576. iconName: byAlias(canonicalIcon.prefix, canonicalIcon.iconName) || canonicalIcon.iconName
  101577. };
  101578. }
  101579. if (typeof _icon === 'string') {
  101580. var _prefix = getDefaultUsablePrefix();
  101581. return {
  101582. prefix: _prefix,
  101583. iconName: byAlias(_prefix, _icon) || _icon
  101584. };
  101585. }
  101586. }
  101587. };
  101588. var api = {
  101589. noAuto: noAuto,
  101590. config: config,
  101591. dom: dom,
  101592. parse: parse,
  101593. library: library,
  101594. findIconDefinition: findIconDefinition,
  101595. toHtml: toHtml
  101596. };
  101597. var autoReplace = function autoReplace() {
  101598. var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  101599. var _params$autoReplaceSv = params.autoReplaceSvgRoot,
  101600. autoReplaceSvgRoot = _params$autoReplaceSv === void 0 ? DOCUMENT : _params$autoReplaceSv;
  101601. if ((Object.keys(namespace.styles).length > 0 || config.autoFetchSvg) && IS_DOM && config.autoReplaceSvg) api.dom.i2svg({
  101602. node: autoReplaceSvgRoot
  101603. });
  101604. };
  101605. function domVariants(val, abstractCreator) {
  101606. Object.defineProperty(val, 'abstract', {
  101607. get: abstractCreator
  101608. });
  101609. Object.defineProperty(val, 'html', {
  101610. get: function get() {
  101611. return val.abstract.map(function (a) {
  101612. return toHtml(a);
  101613. });
  101614. }
  101615. });
  101616. Object.defineProperty(val, 'node', {
  101617. get: function get() {
  101618. if (!IS_DOM) return;
  101619. var container = DOCUMENT.createElement('div');
  101620. container.innerHTML = val.html;
  101621. return container.children;
  101622. }
  101623. });
  101624. return val;
  101625. }
  101626. function asIcon(_ref) {
  101627. var children = _ref.children,
  101628. main = _ref.main,
  101629. mask = _ref.mask,
  101630. attributes = _ref.attributes,
  101631. styles = _ref.styles,
  101632. transform = _ref.transform;
  101633. if (transformIsMeaningful(transform) && main.found && !mask.found) {
  101634. var width = main.width,
  101635. height = main.height;
  101636. var offset = {
  101637. x: width / height / 2,
  101638. y: 0.5
  101639. };
  101640. attributes['style'] = joinStyles(_objectSpread2(_objectSpread2({}, styles), {}, {
  101641. 'transform-origin': "".concat(offset.x + transform.x / 16, "em ").concat(offset.y + transform.y / 16, "em")
  101642. }));
  101643. }
  101644. return [{
  101645. tag: 'svg',
  101646. attributes: attributes,
  101647. children: children
  101648. }];
  101649. }
  101650. function asSymbol(_ref) {
  101651. var prefix = _ref.prefix,
  101652. iconName = _ref.iconName,
  101653. children = _ref.children,
  101654. attributes = _ref.attributes,
  101655. symbol = _ref.symbol;
  101656. var id = symbol === true ? "".concat(prefix, "-").concat(config.cssPrefix, "-").concat(iconName) : symbol;
  101657. return [{
  101658. tag: 'svg',
  101659. attributes: {
  101660. style: 'display: none;'
  101661. },
  101662. children: [{
  101663. tag: 'symbol',
  101664. attributes: _objectSpread2(_objectSpread2({}, attributes), {}, {
  101665. id: id
  101666. }),
  101667. children: children
  101668. }]
  101669. }];
  101670. }
  101671. function makeInlineSvgAbstract(params) {
  101672. var _params$icons = params.icons,
  101673. main = _params$icons.main,
  101674. mask = _params$icons.mask,
  101675. prefix = params.prefix,
  101676. iconName = params.iconName,
  101677. transform = params.transform,
  101678. symbol = params.symbol,
  101679. title = params.title,
  101680. maskId = params.maskId,
  101681. titleId = params.titleId,
  101682. extra = params.extra,
  101683. _params$watchable = params.watchable,
  101684. watchable = _params$watchable === void 0 ? false : _params$watchable;
  101685. var _ref = mask.found ? mask : main,
  101686. width = _ref.width,
  101687. height = _ref.height;
  101688. var isUploadedIcon = prefix === 'fak';
  101689. var attrClass = [config.replacementClass, iconName ? "".concat(config.cssPrefix, "-").concat(iconName) : ''].filter(function (c) {
  101690. return extra.classes.indexOf(c) === -1;
  101691. }).filter(function (c) {
  101692. return c !== '' || !!c;
  101693. }).concat(extra.classes).join(' ');
  101694. var content = {
  101695. children: [],
  101696. attributes: _objectSpread2(_objectSpread2({}, extra.attributes), {}, {
  101697. 'data-prefix': prefix,
  101698. 'data-icon': iconName,
  101699. 'class': attrClass,
  101700. 'role': extra.attributes.role || 'img',
  101701. 'xmlns': 'http://www.w3.org/2000/svg',
  101702. 'viewBox': "0 0 ".concat(width, " ").concat(height)
  101703. })
  101704. };
  101705. var uploadedIconWidthStyle = isUploadedIcon && !~extra.classes.indexOf('fa-fw') ? {
  101706. width: "".concat(width / height * 16 * 0.0625, "em")
  101707. } : {};
  101708. if (watchable) {
  101709. content.attributes[DATA_FA_I2SVG] = '';
  101710. }
  101711. if (title) {
  101712. content.children.push({
  101713. tag: 'title',
  101714. attributes: {
  101715. id: content.attributes['aria-labelledby'] || "title-".concat(titleId || nextUniqueId())
  101716. },
  101717. children: [title]
  101718. });
  101719. delete content.attributes.title;
  101720. }
  101721. var args = _objectSpread2(_objectSpread2({}, content), {}, {
  101722. prefix: prefix,
  101723. iconName: iconName,
  101724. main: main,
  101725. mask: mask,
  101726. maskId: maskId,
  101727. transform: transform,
  101728. symbol: symbol,
  101729. styles: _objectSpread2(_objectSpread2({}, uploadedIconWidthStyle), extra.styles)
  101730. });
  101731. var _ref2 = mask.found && main.found ? callProvided('generateAbstractMask', args) || {
  101732. children: [],
  101733. attributes: {}
  101734. } : callProvided('generateAbstractIcon', args) || {
  101735. children: [],
  101736. attributes: {}
  101737. },
  101738. children = _ref2.children,
  101739. attributes = _ref2.attributes;
  101740. args.children = children;
  101741. args.attributes = attributes;
  101742. if (symbol) {
  101743. return asSymbol(args);
  101744. } else {
  101745. return asIcon(args);
  101746. }
  101747. }
  101748. function makeLayersTextAbstract(params) {
  101749. var content = params.content,
  101750. width = params.width,
  101751. height = params.height,
  101752. transform = params.transform,
  101753. title = params.title,
  101754. extra = params.extra,
  101755. _params$watchable2 = params.watchable,
  101756. watchable = _params$watchable2 === void 0 ? false : _params$watchable2;
  101757. var attributes = _objectSpread2(_objectSpread2(_objectSpread2({}, extra.attributes), title ? {
  101758. 'title': title
  101759. } : {}), {}, {
  101760. 'class': extra.classes.join(' ')
  101761. });
  101762. if (watchable) {
  101763. attributes[DATA_FA_I2SVG] = '';
  101764. }
  101765. var styles = _objectSpread2({}, extra.styles);
  101766. if (transformIsMeaningful(transform)) {
  101767. styles['transform'] = transformForCss({
  101768. transform: transform,
  101769. startCentered: true,
  101770. width: width,
  101771. height: height
  101772. });
  101773. styles['-webkit-transform'] = styles['transform'];
  101774. }
  101775. var styleString = joinStyles(styles);
  101776. if (styleString.length > 0) {
  101777. attributes['style'] = styleString;
  101778. }
  101779. var val = [];
  101780. val.push({
  101781. tag: 'span',
  101782. attributes: attributes,
  101783. children: [content]
  101784. });
  101785. if (title) {
  101786. val.push({
  101787. tag: 'span',
  101788. attributes: {
  101789. class: 'sr-only'
  101790. },
  101791. children: [title]
  101792. });
  101793. }
  101794. return val;
  101795. }
  101796. function makeLayersCounterAbstract(params) {
  101797. var content = params.content,
  101798. title = params.title,
  101799. extra = params.extra;
  101800. var attributes = _objectSpread2(_objectSpread2(_objectSpread2({}, extra.attributes), title ? {
  101801. 'title': title
  101802. } : {}), {}, {
  101803. 'class': extra.classes.join(' ')
  101804. });
  101805. var styleString = joinStyles(extra.styles);
  101806. if (styleString.length > 0) {
  101807. attributes['style'] = styleString;
  101808. }
  101809. var val = [];
  101810. val.push({
  101811. tag: 'span',
  101812. attributes: attributes,
  101813. children: [content]
  101814. });
  101815. if (title) {
  101816. val.push({
  101817. tag: 'span',
  101818. attributes: {
  101819. class: 'sr-only'
  101820. },
  101821. children: [title]
  101822. });
  101823. }
  101824. return val;
  101825. }
  101826. var styles$1 = namespace.styles;
  101827. function asFoundIcon(icon) {
  101828. var width = icon[0];
  101829. var height = icon[1];
  101830. var _icon$slice = icon.slice(4),
  101831. _icon$slice2 = _slicedToArray(_icon$slice, 1),
  101832. vectorData = _icon$slice2[0];
  101833. var element = null;
  101834. if (Array.isArray(vectorData)) {
  101835. element = {
  101836. tag: 'g',
  101837. attributes: {
  101838. class: "".concat(config.cssPrefix, "-").concat(DUOTONE_CLASSES.GROUP)
  101839. },
  101840. children: [{
  101841. tag: 'path',
  101842. attributes: {
  101843. class: "".concat(config.cssPrefix, "-").concat(DUOTONE_CLASSES.SECONDARY),
  101844. fill: 'currentColor',
  101845. d: vectorData[0]
  101846. }
  101847. }, {
  101848. tag: 'path',
  101849. attributes: {
  101850. class: "".concat(config.cssPrefix, "-").concat(DUOTONE_CLASSES.PRIMARY),
  101851. fill: 'currentColor',
  101852. d: vectorData[1]
  101853. }
  101854. }]
  101855. };
  101856. } else {
  101857. element = {
  101858. tag: 'path',
  101859. attributes: {
  101860. fill: 'currentColor',
  101861. d: vectorData
  101862. }
  101863. };
  101864. }
  101865. return {
  101866. found: true,
  101867. width: width,
  101868. height: height,
  101869. icon: element
  101870. };
  101871. }
  101872. var missingIconResolutionMixin = {
  101873. found: false,
  101874. width: 512,
  101875. height: 512
  101876. };
  101877. function maybeNotifyMissing(iconName, prefix) {
  101878. if (!PRODUCTION && !config.showMissingIcons && iconName) {
  101879. console.error("Icon with name \"".concat(iconName, "\" and prefix \"").concat(prefix, "\" is missing."));
  101880. }
  101881. }
  101882. function findIcon(iconName, prefix) {
  101883. var givenPrefix = prefix;
  101884. if (prefix === 'fa' && config.styleDefault !== null) {
  101885. prefix = getDefaultUsablePrefix();
  101886. }
  101887. return new Promise(function (resolve, reject) {
  101888. var val = {
  101889. found: false,
  101890. width: 512,
  101891. height: 512,
  101892. icon: callProvided('missingIconAbstract') || {}
  101893. };
  101894. if (givenPrefix === 'fa') {
  101895. var shim = byOldName(iconName) || {};
  101896. iconName = shim.iconName || iconName;
  101897. prefix = shim.prefix || prefix;
  101898. }
  101899. if (iconName && prefix && styles$1[prefix] && styles$1[prefix][iconName]) {
  101900. var icon = styles$1[prefix][iconName];
  101901. return resolve(asFoundIcon(icon));
  101902. }
  101903. maybeNotifyMissing(iconName, prefix);
  101904. resolve(_objectSpread2(_objectSpread2({}, missingIconResolutionMixin), {}, {
  101905. icon: config.showMissingIcons && iconName ? callProvided('missingIconAbstract') || {} : {}
  101906. }));
  101907. });
  101908. }
  101909. var noop$1 = function noop() {};
  101910. var p = config.measurePerformance && PERFORMANCE && PERFORMANCE.mark && PERFORMANCE.measure ? PERFORMANCE : {
  101911. mark: noop$1,
  101912. measure: noop$1
  101913. };
  101914. var preamble = "FA \"6.2.0\"";
  101915. var begin = function begin(name) {
  101916. p.mark("".concat(preamble, " ").concat(name, " begins"));
  101917. return function () {
  101918. return end(name);
  101919. };
  101920. };
  101921. var end = function end(name) {
  101922. p.mark("".concat(preamble, " ").concat(name, " ends"));
  101923. p.measure("".concat(preamble, " ").concat(name), "".concat(preamble, " ").concat(name, " begins"), "".concat(preamble, " ").concat(name, " ends"));
  101924. };
  101925. var perf = {
  101926. begin: begin,
  101927. end: end
  101928. };
  101929. var noop$2 = function noop() {};
  101930. function isWatched(node) {
  101931. var i2svg = node.getAttribute ? node.getAttribute(DATA_FA_I2SVG) : null;
  101932. return typeof i2svg === 'string';
  101933. }
  101934. function hasPrefixAndIcon(node) {
  101935. var prefix = node.getAttribute ? node.getAttribute(DATA_PREFIX) : null;
  101936. var icon = node.getAttribute ? node.getAttribute(DATA_ICON) : null;
  101937. return prefix && icon;
  101938. }
  101939. function hasBeenReplaced(node) {
  101940. return node && node.classList && node.classList.contains && node.classList.contains(config.replacementClass);
  101941. }
  101942. function getMutator() {
  101943. if (config.autoReplaceSvg === true) {
  101944. return mutators.replace;
  101945. }
  101946. var mutator = mutators[config.autoReplaceSvg];
  101947. return mutator || mutators.replace;
  101948. }
  101949. function createElementNS(tag) {
  101950. return DOCUMENT.createElementNS('http://www.w3.org/2000/svg', tag);
  101951. }
  101952. function createElement(tag) {
  101953. return DOCUMENT.createElement(tag);
  101954. }
  101955. function convertSVG(abstractObj) {
  101956. var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  101957. var _params$ceFn = params.ceFn,
  101958. ceFn = _params$ceFn === void 0 ? abstractObj.tag === 'svg' ? createElementNS : createElement : _params$ceFn;
  101959. if (typeof abstractObj === 'string') {
  101960. return DOCUMENT.createTextNode(abstractObj);
  101961. }
  101962. var tag = ceFn(abstractObj.tag);
  101963. Object.keys(abstractObj.attributes || []).forEach(function (key) {
  101964. tag.setAttribute(key, abstractObj.attributes[key]);
  101965. });
  101966. var children = abstractObj.children || [];
  101967. children.forEach(function (child) {
  101968. tag.appendChild(convertSVG(child, {
  101969. ceFn: ceFn
  101970. }));
  101971. });
  101972. return tag;
  101973. }
  101974. function nodeAsComment(node) {
  101975. var comment = " ".concat(node.outerHTML, " ");
  101976. /* BEGIN.ATTRIBUTION */
  101977. comment = "".concat(comment, "Font Awesome fontawesome.com ");
  101978. /* END.ATTRIBUTION */
  101979. return comment;
  101980. }
  101981. var mutators = {
  101982. replace: function replace(mutation) {
  101983. var node = mutation[0];
  101984. if (node.parentNode) {
  101985. mutation[1].forEach(function (abstract) {
  101986. node.parentNode.insertBefore(convertSVG(abstract), node);
  101987. });
  101988. if (node.getAttribute(DATA_FA_I2SVG) === null && config.keepOriginalSource) {
  101989. var comment = DOCUMENT.createComment(nodeAsComment(node));
  101990. node.parentNode.replaceChild(comment, node);
  101991. } else {
  101992. node.remove();
  101993. }
  101994. }
  101995. },
  101996. nest: function nest(mutation) {
  101997. var node = mutation[0];
  101998. var abstract = mutation[1]; // If we already have a replaced node we do not want to continue nesting within it.
  101999. // Short-circuit to the standard replacement
  102000. if (~classArray(node).indexOf(config.replacementClass)) {
  102001. return mutators.replace(mutation);
  102002. }
  102003. var forSvg = new RegExp("".concat(config.cssPrefix, "-.*"));
  102004. delete abstract[0].attributes.id;
  102005. if (abstract[0].attributes.class) {
  102006. var splitClasses = abstract[0].attributes.class.split(' ').reduce(function (acc, cls) {
  102007. if (cls === config.replacementClass || cls.match(forSvg)) {
  102008. acc.toSvg.push(cls);
  102009. } else {
  102010. acc.toNode.push(cls);
  102011. }
  102012. return acc;
  102013. }, {
  102014. toNode: [],
  102015. toSvg: []
  102016. });
  102017. abstract[0].attributes.class = splitClasses.toSvg.join(' ');
  102018. if (splitClasses.toNode.length === 0) {
  102019. node.removeAttribute('class');
  102020. } else {
  102021. node.setAttribute('class', splitClasses.toNode.join(' '));
  102022. }
  102023. }
  102024. var newInnerHTML = abstract.map(function (a) {
  102025. return toHtml(a);
  102026. }).join('\n');
  102027. node.setAttribute(DATA_FA_I2SVG, '');
  102028. node.innerHTML = newInnerHTML;
  102029. }
  102030. };
  102031. function performOperationSync(op) {
  102032. op();
  102033. }
  102034. function perform(mutations, callback) {
  102035. var callbackFunction = typeof callback === 'function' ? callback : noop$2;
  102036. if (mutations.length === 0) {
  102037. callbackFunction();
  102038. } else {
  102039. var frame = performOperationSync;
  102040. if (config.mutateApproach === MUTATION_APPROACH_ASYNC) {
  102041. frame = WINDOW.requestAnimationFrame || performOperationSync;
  102042. }
  102043. frame(function () {
  102044. var mutator = getMutator();
  102045. var mark = perf.begin('mutate');
  102046. mutations.map(mutator);
  102047. mark();
  102048. callbackFunction();
  102049. });
  102050. }
  102051. }
  102052. var disabled = false;
  102053. function disableObservation() {
  102054. disabled = true;
  102055. }
  102056. function enableObservation() {
  102057. disabled = false;
  102058. }
  102059. var mo = null;
  102060. function observe(options) {
  102061. if (!MUTATION_OBSERVER) {
  102062. return;
  102063. }
  102064. if (!config.observeMutations) {
  102065. return;
  102066. }
  102067. var _options$treeCallback = options.treeCallback,
  102068. treeCallback = _options$treeCallback === void 0 ? noop$2 : _options$treeCallback,
  102069. _options$nodeCallback = options.nodeCallback,
  102070. nodeCallback = _options$nodeCallback === void 0 ? noop$2 : _options$nodeCallback,
  102071. _options$pseudoElemen = options.pseudoElementsCallback,
  102072. pseudoElementsCallback = _options$pseudoElemen === void 0 ? noop$2 : _options$pseudoElemen,
  102073. _options$observeMutat = options.observeMutationsRoot,
  102074. observeMutationsRoot = _options$observeMutat === void 0 ? DOCUMENT : _options$observeMutat;
  102075. mo = new MUTATION_OBSERVER(function (objects) {
  102076. if (disabled) return;
  102077. var defaultPrefix = getDefaultUsablePrefix();
  102078. toArray(objects).forEach(function (mutationRecord) {
  102079. if (mutationRecord.type === 'childList' && mutationRecord.addedNodes.length > 0 && !isWatched(mutationRecord.addedNodes[0])) {
  102080. if (config.searchPseudoElements) {
  102081. pseudoElementsCallback(mutationRecord.target);
  102082. }
  102083. treeCallback(mutationRecord.target);
  102084. }
  102085. if (mutationRecord.type === 'attributes' && mutationRecord.target.parentNode && config.searchPseudoElements) {
  102086. pseudoElementsCallback(mutationRecord.target.parentNode);
  102087. }
  102088. if (mutationRecord.type === 'attributes' && isWatched(mutationRecord.target) && ~ATTRIBUTES_WATCHED_FOR_MUTATION.indexOf(mutationRecord.attributeName)) {
  102089. if (mutationRecord.attributeName === 'class' && hasPrefixAndIcon(mutationRecord.target)) {
  102090. var _getCanonicalIcon = getCanonicalIcon(classArray(mutationRecord.target)),
  102091. prefix = _getCanonicalIcon.prefix,
  102092. iconName = _getCanonicalIcon.iconName;
  102093. mutationRecord.target.setAttribute(DATA_PREFIX, prefix || defaultPrefix);
  102094. if (iconName) mutationRecord.target.setAttribute(DATA_ICON, iconName);
  102095. } else if (hasBeenReplaced(mutationRecord.target)) {
  102096. nodeCallback(mutationRecord.target);
  102097. }
  102098. }
  102099. });
  102100. });
  102101. if (!IS_DOM) return;
  102102. mo.observe(observeMutationsRoot, {
  102103. childList: true,
  102104. attributes: true,
  102105. characterData: true,
  102106. subtree: true
  102107. });
  102108. }
  102109. function disconnect() {
  102110. if (!mo) return;
  102111. mo.disconnect();
  102112. }
  102113. function styleParser(node) {
  102114. var style = node.getAttribute('style');
  102115. var val = [];
  102116. if (style) {
  102117. val = style.split(';').reduce(function (acc, style) {
  102118. var styles = style.split(':');
  102119. var prop = styles[0];
  102120. var value = styles.slice(1);
  102121. if (prop && value.length > 0) {
  102122. acc[prop] = value.join(':').trim();
  102123. }
  102124. return acc;
  102125. }, {});
  102126. }
  102127. return val;
  102128. }
  102129. function classParser(node) {
  102130. var existingPrefix = node.getAttribute('data-prefix');
  102131. var existingIconName = node.getAttribute('data-icon');
  102132. var innerText = node.innerText !== undefined ? node.innerText.trim() : '';
  102133. var val = getCanonicalIcon(classArray(node));
  102134. if (!val.prefix) {
  102135. val.prefix = getDefaultUsablePrefix();
  102136. }
  102137. if (existingPrefix && existingIconName) {
  102138. val.prefix = existingPrefix;
  102139. val.iconName = existingIconName;
  102140. }
  102141. if (val.iconName && val.prefix) {
  102142. return val;
  102143. }
  102144. if (val.prefix && innerText.length > 0) {
  102145. val.iconName = byLigature(val.prefix, node.innerText) || byUnicode(val.prefix, toHex(node.innerText));
  102146. }
  102147. if (!val.iconName && config.autoFetchSvg && node.firstChild && node.firstChild.nodeType === Node.TEXT_NODE) {
  102148. val.iconName = node.firstChild.data;
  102149. }
  102150. return val;
  102151. }
  102152. function attributesParser(node) {
  102153. var extraAttributes = toArray(node.attributes).reduce(function (acc, attr) {
  102154. if (acc.name !== 'class' && acc.name !== 'style') {
  102155. acc[attr.name] = attr.value;
  102156. }
  102157. return acc;
  102158. }, {});
  102159. var title = node.getAttribute('title');
  102160. var titleId = node.getAttribute('data-fa-title-id');
  102161. if (config.autoA11y) {
  102162. if (title) {
  102163. extraAttributes['aria-labelledby'] = "".concat(config.replacementClass, "-title-").concat(titleId || nextUniqueId());
  102164. } else {
  102165. extraAttributes['aria-hidden'] = 'true';
  102166. extraAttributes['focusable'] = 'false';
  102167. }
  102168. }
  102169. return extraAttributes;
  102170. }
  102171. function blankMeta() {
  102172. return {
  102173. iconName: null,
  102174. title: null,
  102175. titleId: null,
  102176. prefix: null,
  102177. transform: meaninglessTransform,
  102178. symbol: false,
  102179. mask: {
  102180. iconName: null,
  102181. prefix: null,
  102182. rest: []
  102183. },
  102184. maskId: null,
  102185. extra: {
  102186. classes: [],
  102187. styles: {},
  102188. attributes: {}
  102189. }
  102190. };
  102191. }
  102192. function parseMeta(node) {
  102193. var parser = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {
  102194. styleParser: true
  102195. };
  102196. var _classParser = classParser(node),
  102197. iconName = _classParser.iconName,
  102198. prefix = _classParser.prefix,
  102199. extraClasses = _classParser.rest;
  102200. var extraAttributes = attributesParser(node);
  102201. var pluginMeta = chainHooks('parseNodeAttributes', {}, node);
  102202. var extraStyles = parser.styleParser ? styleParser(node) : [];
  102203. return _objectSpread2({
  102204. iconName: iconName,
  102205. title: node.getAttribute('title'),
  102206. titleId: node.getAttribute('data-fa-title-id'),
  102207. prefix: prefix,
  102208. transform: meaninglessTransform,
  102209. mask: {
  102210. iconName: null,
  102211. prefix: null,
  102212. rest: []
  102213. },
  102214. maskId: null,
  102215. symbol: false,
  102216. extra: {
  102217. classes: extraClasses,
  102218. styles: extraStyles,
  102219. attributes: extraAttributes
  102220. }
  102221. }, pluginMeta);
  102222. }
  102223. var styles$2 = namespace.styles;
  102224. function generateMutation(node) {
  102225. var nodeMeta = config.autoReplaceSvg === 'nest' ? parseMeta(node, {
  102226. styleParser: false
  102227. }) : parseMeta(node);
  102228. if (~nodeMeta.extra.classes.indexOf(LAYERS_TEXT_CLASSNAME)) {
  102229. return callProvided('generateLayersText', node, nodeMeta);
  102230. } else {
  102231. return callProvided('generateSvgReplacementMutation', node, nodeMeta);
  102232. }
  102233. }
  102234. var knownPrefixes = new Set();
  102235. FAMILIES.map(function (family) {
  102236. knownPrefixes.add("fa-".concat(family));
  102237. });
  102238. Object.keys(PREFIX_TO_STYLE[FAMILY_CLASSIC]).map(knownPrefixes.add.bind(knownPrefixes));
  102239. Object.keys(PREFIX_TO_STYLE[FAMILY_SHARP]).map(knownPrefixes.add.bind(knownPrefixes));
  102240. knownPrefixes = _toConsumableArray(knownPrefixes);
  102241. function onTree(root) {
  102242. var callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
  102243. if (!IS_DOM) return Promise.resolve();
  102244. var htmlClassList = DOCUMENT.documentElement.classList;
  102245. var hclAdd = function hclAdd(suffix) {
  102246. return htmlClassList.add("".concat(HTML_CLASS_I2SVG_BASE_CLASS, "-").concat(suffix));
  102247. };
  102248. var hclRemove = function hclRemove(suffix) {
  102249. return htmlClassList.remove("".concat(HTML_CLASS_I2SVG_BASE_CLASS, "-").concat(suffix));
  102250. };
  102251. var prefixes = config.autoFetchSvg ? knownPrefixes : FAMILIES.map(function (f) {
  102252. return "fa-".concat(f);
  102253. }).concat(Object.keys(styles$2));
  102254. if (!prefixes.includes('fa')) {
  102255. prefixes.push('fa');
  102256. }
  102257. var prefixesDomQuery = [".".concat(LAYERS_TEXT_CLASSNAME, ":not([").concat(DATA_FA_I2SVG, "])")].concat(prefixes.map(function (p) {
  102258. return ".".concat(p, ":not([").concat(DATA_FA_I2SVG, "])");
  102259. })).join(', ');
  102260. if (prefixesDomQuery.length === 0) {
  102261. return Promise.resolve();
  102262. }
  102263. var candidates = [];
  102264. try {
  102265. candidates = toArray(root.querySelectorAll(prefixesDomQuery));
  102266. } catch (e) {// noop
  102267. }
  102268. if (candidates.length > 0) {
  102269. hclAdd('pending');
  102270. hclRemove('complete');
  102271. } else {
  102272. return Promise.resolve();
  102273. }
  102274. var mark = perf.begin('onTree');
  102275. var mutations = candidates.reduce(function (acc, node) {
  102276. try {
  102277. var mutation = generateMutation(node);
  102278. if (mutation) {
  102279. acc.push(mutation);
  102280. }
  102281. } catch (e) {
  102282. if (!PRODUCTION) {
  102283. if (e.name === 'MissingIcon') {
  102284. console.error(e);
  102285. }
  102286. }
  102287. }
  102288. return acc;
  102289. }, []);
  102290. return new Promise(function (resolve, reject) {
  102291. Promise.all(mutations).then(function (resolvedMutations) {
  102292. perform(resolvedMutations, function () {
  102293. hclAdd('active');
  102294. hclAdd('complete');
  102295. hclRemove('pending');
  102296. if (typeof callback === 'function') callback();
  102297. mark();
  102298. resolve();
  102299. });
  102300. }).catch(function (e) {
  102301. mark();
  102302. reject(e);
  102303. });
  102304. });
  102305. }
  102306. function onNode(node) {
  102307. var callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
  102308. generateMutation(node).then(function (mutation) {
  102309. if (mutation) {
  102310. perform([mutation], callback);
  102311. }
  102312. });
  102313. }
  102314. function resolveIcons(next) {
  102315. return function (maybeIconDefinition) {
  102316. var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  102317. var iconDefinition = (maybeIconDefinition || {}).icon ? maybeIconDefinition : findIconDefinition(maybeIconDefinition || {});
  102318. var mask = params.mask;
  102319. if (mask) {
  102320. mask = (mask || {}).icon ? mask : findIconDefinition(mask || {});
  102321. }
  102322. return next(iconDefinition, _objectSpread2(_objectSpread2({}, params), {}, {
  102323. mask: mask
  102324. }));
  102325. };
  102326. }
  102327. var render = function render(iconDefinition) {
  102328. var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  102329. var _params$transform = params.transform,
  102330. transform = _params$transform === void 0 ? meaninglessTransform : _params$transform,
  102331. _params$symbol = params.symbol,
  102332. symbol = _params$symbol === void 0 ? false : _params$symbol,
  102333. _params$mask = params.mask,
  102334. mask = _params$mask === void 0 ? null : _params$mask,
  102335. _params$maskId = params.maskId,
  102336. maskId = _params$maskId === void 0 ? null : _params$maskId,
  102337. _params$title = params.title,
  102338. title = _params$title === void 0 ? null : _params$title,
  102339. _params$titleId = params.titleId,
  102340. titleId = _params$titleId === void 0 ? null : _params$titleId,
  102341. _params$classes = params.classes,
  102342. classes = _params$classes === void 0 ? [] : _params$classes,
  102343. _params$attributes = params.attributes,
  102344. attributes = _params$attributes === void 0 ? {} : _params$attributes,
  102345. _params$styles = params.styles,
  102346. styles = _params$styles === void 0 ? {} : _params$styles;
  102347. if (!iconDefinition) return;
  102348. var prefix = iconDefinition.prefix,
  102349. iconName = iconDefinition.iconName,
  102350. icon = iconDefinition.icon;
  102351. return domVariants(_objectSpread2({
  102352. type: 'icon'
  102353. }, iconDefinition), function () {
  102354. callHooks('beforeDOMElementCreation', {
  102355. iconDefinition: iconDefinition,
  102356. params: params
  102357. });
  102358. if (config.autoA11y) {
  102359. if (title) {
  102360. attributes['aria-labelledby'] = "".concat(config.replacementClass, "-title-").concat(titleId || nextUniqueId());
  102361. } else {
  102362. attributes['aria-hidden'] = 'true';
  102363. attributes['focusable'] = 'false';
  102364. }
  102365. }
  102366. return makeInlineSvgAbstract({
  102367. icons: {
  102368. main: asFoundIcon(icon),
  102369. mask: mask ? asFoundIcon(mask.icon) : {
  102370. found: false,
  102371. width: null,
  102372. height: null,
  102373. icon: {}
  102374. }
  102375. },
  102376. prefix: prefix,
  102377. iconName: iconName,
  102378. transform: _objectSpread2(_objectSpread2({}, meaninglessTransform), transform),
  102379. symbol: symbol,
  102380. title: title,
  102381. maskId: maskId,
  102382. titleId: titleId,
  102383. extra: {
  102384. attributes: attributes,
  102385. styles: styles,
  102386. classes: classes
  102387. }
  102388. });
  102389. });
  102390. };
  102391. var ReplaceElements = {
  102392. mixout: function mixout() {
  102393. return {
  102394. icon: resolveIcons(render)
  102395. };
  102396. },
  102397. hooks: function hooks() {
  102398. return {
  102399. mutationObserverCallbacks: function mutationObserverCallbacks(accumulator) {
  102400. accumulator.treeCallback = onTree;
  102401. accumulator.nodeCallback = onNode;
  102402. return accumulator;
  102403. }
  102404. };
  102405. },
  102406. provides: function provides(providers$$1) {
  102407. providers$$1.i2svg = function (params) {
  102408. var _params$node = params.node,
  102409. node = _params$node === void 0 ? DOCUMENT : _params$node,
  102410. _params$callback = params.callback,
  102411. callback = _params$callback === void 0 ? function () {} : _params$callback;
  102412. return onTree(node, callback);
  102413. };
  102414. providers$$1.generateSvgReplacementMutation = function (node, nodeMeta) {
  102415. var iconName = nodeMeta.iconName,
  102416. title = nodeMeta.title,
  102417. titleId = nodeMeta.titleId,
  102418. prefix = nodeMeta.prefix,
  102419. transform = nodeMeta.transform,
  102420. symbol = nodeMeta.symbol,
  102421. mask = nodeMeta.mask,
  102422. maskId = nodeMeta.maskId,
  102423. extra = nodeMeta.extra;
  102424. return new Promise(function (resolve, reject) {
  102425. Promise.all([findIcon(iconName, prefix), mask.iconName ? findIcon(mask.iconName, mask.prefix) : Promise.resolve({
  102426. found: false,
  102427. width: 512,
  102428. height: 512,
  102429. icon: {}
  102430. })]).then(function (_ref) {
  102431. var _ref2 = _slicedToArray(_ref, 2),
  102432. main = _ref2[0],
  102433. mask = _ref2[1];
  102434. resolve([node, makeInlineSvgAbstract({
  102435. icons: {
  102436. main: main,
  102437. mask: mask
  102438. },
  102439. prefix: prefix,
  102440. iconName: iconName,
  102441. transform: transform,
  102442. symbol: symbol,
  102443. maskId: maskId,
  102444. title: title,
  102445. titleId: titleId,
  102446. extra: extra,
  102447. watchable: true
  102448. })]);
  102449. }).catch(reject);
  102450. });
  102451. };
  102452. providers$$1.generateAbstractIcon = function (_ref3) {
  102453. var children = _ref3.children,
  102454. attributes = _ref3.attributes,
  102455. main = _ref3.main,
  102456. transform = _ref3.transform,
  102457. styles = _ref3.styles;
  102458. var styleString = joinStyles(styles);
  102459. if (styleString.length > 0) {
  102460. attributes['style'] = styleString;
  102461. }
  102462. var nextChild;
  102463. if (transformIsMeaningful(transform)) {
  102464. nextChild = callProvided('generateAbstractTransformGrouping', {
  102465. main: main,
  102466. transform: transform,
  102467. containerWidth: main.width,
  102468. iconWidth: main.width
  102469. });
  102470. }
  102471. children.push(nextChild || main.icon);
  102472. return {
  102473. children: children,
  102474. attributes: attributes
  102475. };
  102476. };
  102477. }
  102478. };
  102479. var Layers = {
  102480. mixout: function mixout() {
  102481. return {
  102482. layer: function layer(assembler) {
  102483. var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  102484. var _params$classes = params.classes,
  102485. classes = _params$classes === void 0 ? [] : _params$classes;
  102486. return domVariants({
  102487. type: 'layer'
  102488. }, function () {
  102489. callHooks('beforeDOMElementCreation', {
  102490. assembler: assembler,
  102491. params: params
  102492. });
  102493. var children = [];
  102494. assembler(function (args) {
  102495. Array.isArray(args) ? args.map(function (a) {
  102496. children = children.concat(a.abstract);
  102497. }) : children = children.concat(args.abstract);
  102498. });
  102499. return [{
  102500. tag: 'span',
  102501. attributes: {
  102502. class: ["".concat(config.cssPrefix, "-layers")].concat(_toConsumableArray(classes)).join(' ')
  102503. },
  102504. children: children
  102505. }];
  102506. });
  102507. }
  102508. };
  102509. }
  102510. };
  102511. var LayersCounter = {
  102512. mixout: function mixout() {
  102513. return {
  102514. counter: function counter(content) {
  102515. var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  102516. var _params$title = params.title,
  102517. title = _params$title === void 0 ? null : _params$title,
  102518. _params$classes = params.classes,
  102519. classes = _params$classes === void 0 ? [] : _params$classes,
  102520. _params$attributes = params.attributes,
  102521. attributes = _params$attributes === void 0 ? {} : _params$attributes,
  102522. _params$styles = params.styles,
  102523. styles = _params$styles === void 0 ? {} : _params$styles;
  102524. return domVariants({
  102525. type: 'counter',
  102526. content: content
  102527. }, function () {
  102528. callHooks('beforeDOMElementCreation', {
  102529. content: content,
  102530. params: params
  102531. });
  102532. return makeLayersCounterAbstract({
  102533. content: content.toString(),
  102534. title: title,
  102535. extra: {
  102536. attributes: attributes,
  102537. styles: styles,
  102538. classes: ["".concat(config.cssPrefix, "-layers-counter")].concat(_toConsumableArray(classes))
  102539. }
  102540. });
  102541. });
  102542. }
  102543. };
  102544. }
  102545. };
  102546. var LayersText = {
  102547. mixout: function mixout() {
  102548. return {
  102549. text: function text(content) {
  102550. var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  102551. var _params$transform = params.transform,
  102552. transform = _params$transform === void 0 ? meaninglessTransform : _params$transform,
  102553. _params$title = params.title,
  102554. title = _params$title === void 0 ? null : _params$title,
  102555. _params$classes = params.classes,
  102556. classes = _params$classes === void 0 ? [] : _params$classes,
  102557. _params$attributes = params.attributes,
  102558. attributes = _params$attributes === void 0 ? {} : _params$attributes,
  102559. _params$styles = params.styles,
  102560. styles = _params$styles === void 0 ? {} : _params$styles;
  102561. return domVariants({
  102562. type: 'text',
  102563. content: content
  102564. }, function () {
  102565. callHooks('beforeDOMElementCreation', {
  102566. content: content,
  102567. params: params
  102568. });
  102569. return makeLayersTextAbstract({
  102570. content: content,
  102571. transform: _objectSpread2(_objectSpread2({}, meaninglessTransform), transform),
  102572. title: title,
  102573. extra: {
  102574. attributes: attributes,
  102575. styles: styles,
  102576. classes: ["".concat(config.cssPrefix, "-layers-text")].concat(_toConsumableArray(classes))
  102577. }
  102578. });
  102579. });
  102580. }
  102581. };
  102582. },
  102583. provides: function provides(providers$$1) {
  102584. providers$$1.generateLayersText = function (node, nodeMeta) {
  102585. var title = nodeMeta.title,
  102586. transform = nodeMeta.transform,
  102587. extra = nodeMeta.extra;
  102588. var width = null;
  102589. var height = null;
  102590. if (IS_IE) {
  102591. var computedFontSize = parseInt(getComputedStyle(node).fontSize, 10);
  102592. var boundingClientRect = node.getBoundingClientRect();
  102593. width = boundingClientRect.width / computedFontSize;
  102594. height = boundingClientRect.height / computedFontSize;
  102595. }
  102596. if (config.autoA11y && !title) {
  102597. extra.attributes['aria-hidden'] = 'true';
  102598. }
  102599. return Promise.resolve([node, makeLayersTextAbstract({
  102600. content: node.innerHTML,
  102601. width: width,
  102602. height: height,
  102603. transform: transform,
  102604. title: title,
  102605. extra: extra,
  102606. watchable: true
  102607. })]);
  102608. };
  102609. }
  102610. };
  102611. var CLEAN_CONTENT_PATTERN = new RegExp("\"", 'ug');
  102612. var SECONDARY_UNICODE_RANGE = [1105920, 1112319];
  102613. function hexValueFromContent(content) {
  102614. var cleaned = content.replace(CLEAN_CONTENT_PATTERN, '');
  102615. var codePoint = codePointAt(cleaned, 0);
  102616. var isPrependTen = codePoint >= SECONDARY_UNICODE_RANGE[0] && codePoint <= SECONDARY_UNICODE_RANGE[1];
  102617. var isDoubled = cleaned.length === 2 ? cleaned[0] === cleaned[1] : false;
  102618. return {
  102619. value: isDoubled ? toHex(cleaned[0]) : toHex(cleaned),
  102620. isSecondary: isPrependTen || isDoubled
  102621. };
  102622. }
  102623. function replaceForPosition(node, position) {
  102624. var pendingAttribute = "".concat(DATA_FA_PSEUDO_ELEMENT_PENDING).concat(position.replace(':', '-'));
  102625. return new Promise(function (resolve, reject) {
  102626. if (node.getAttribute(pendingAttribute) !== null) {
  102627. // This node is already being processed
  102628. return resolve();
  102629. }
  102630. var children = toArray(node.children);
  102631. var alreadyProcessedPseudoElement = children.filter(function (c) {
  102632. return c.getAttribute(DATA_FA_PSEUDO_ELEMENT) === position;
  102633. })[0];
  102634. var styles = WINDOW.getComputedStyle(node, position);
  102635. var fontFamily = styles.getPropertyValue('font-family').match(FONT_FAMILY_PATTERN);
  102636. var fontWeight = styles.getPropertyValue('font-weight');
  102637. var content = styles.getPropertyValue('content');
  102638. if (alreadyProcessedPseudoElement && !fontFamily) {
  102639. // If we've already processed it but the current computed style does not result in a font-family,
  102640. // that probably means that a class name that was previously present to make the icon has been
  102641. // removed. So we now should delete the icon.
  102642. node.removeChild(alreadyProcessedPseudoElement);
  102643. return resolve();
  102644. } else if (fontFamily && content !== 'none' && content !== '') {
  102645. var _content = styles.getPropertyValue('content');
  102646. var family = ~['Sharp'].indexOf(fontFamily[2]) ? FAMILY_SHARP : FAMILY_CLASSIC;
  102647. var prefix = ~['Solid', 'Regular', 'Light', 'Thin', 'Duotone', 'Brands', 'Kit'].indexOf(fontFamily[2]) ? STYLE_TO_PREFIX[family][fontFamily[2].toLowerCase()] : FONT_WEIGHT_TO_PREFIX[family][fontWeight];
  102648. var _hexValueFromContent = hexValueFromContent(_content),
  102649. hexValue = _hexValueFromContent.value,
  102650. isSecondary = _hexValueFromContent.isSecondary;
  102651. var isV4 = fontFamily[0].startsWith('FontAwesome');
  102652. var iconName = byUnicode(prefix, hexValue);
  102653. var iconIdentifier = iconName;
  102654. if (isV4) {
  102655. var iconName4 = byOldUnicode(hexValue);
  102656. if (iconName4.iconName && iconName4.prefix) {
  102657. iconName = iconName4.iconName;
  102658. prefix = iconName4.prefix;
  102659. }
  102660. } // Only convert the pseudo element in this ::before/::after position into an icon if we haven't
  102661. // already done so with the same prefix and iconName
  102662. if (iconName && !isSecondary && (!alreadyProcessedPseudoElement || alreadyProcessedPseudoElement.getAttribute(DATA_PREFIX) !== prefix || alreadyProcessedPseudoElement.getAttribute(DATA_ICON) !== iconIdentifier)) {
  102663. node.setAttribute(pendingAttribute, iconIdentifier);
  102664. if (alreadyProcessedPseudoElement) {
  102665. // Delete the old one, since we're replacing it with a new one
  102666. node.removeChild(alreadyProcessedPseudoElement);
  102667. }
  102668. var meta = blankMeta();
  102669. var extra = meta.extra;
  102670. extra.attributes[DATA_FA_PSEUDO_ELEMENT] = position;
  102671. findIcon(iconName, prefix).then(function (main) {
  102672. var abstract = makeInlineSvgAbstract(_objectSpread2(_objectSpread2({}, meta), {}, {
  102673. icons: {
  102674. main: main,
  102675. mask: emptyCanonicalIcon()
  102676. },
  102677. prefix: prefix,
  102678. iconName: iconIdentifier,
  102679. extra: extra,
  102680. watchable: true
  102681. }));
  102682. var element = DOCUMENT.createElement('svg');
  102683. if (position === '::before') {
  102684. node.insertBefore(element, node.firstChild);
  102685. } else {
  102686. node.appendChild(element);
  102687. }
  102688. element.outerHTML = abstract.map(function (a) {
  102689. return toHtml(a);
  102690. }).join('\n');
  102691. node.removeAttribute(pendingAttribute);
  102692. resolve();
  102693. }).catch(reject);
  102694. } else {
  102695. resolve();
  102696. }
  102697. } else {
  102698. resolve();
  102699. }
  102700. });
  102701. }
  102702. function replace(node) {
  102703. return Promise.all([replaceForPosition(node, '::before'), replaceForPosition(node, '::after')]);
  102704. }
  102705. function processable(node) {
  102706. return node.parentNode !== document.head && !~TAGNAMES_TO_SKIP_FOR_PSEUDOELEMENTS.indexOf(node.tagName.toUpperCase()) && !node.getAttribute(DATA_FA_PSEUDO_ELEMENT) && (!node.parentNode || node.parentNode.tagName !== 'svg');
  102707. }
  102708. function searchPseudoElements(root) {
  102709. if (!IS_DOM) return;
  102710. return new Promise(function (resolve, reject) {
  102711. var operations = toArray(root.querySelectorAll('*')).filter(processable).map(replace);
  102712. var end = perf.begin('searchPseudoElements');
  102713. disableObservation();
  102714. Promise.all(operations).then(function () {
  102715. end();
  102716. enableObservation();
  102717. resolve();
  102718. }).catch(function () {
  102719. end();
  102720. enableObservation();
  102721. reject();
  102722. });
  102723. });
  102724. }
  102725. var PseudoElements = {
  102726. hooks: function hooks() {
  102727. return {
  102728. mutationObserverCallbacks: function mutationObserverCallbacks(accumulator) {
  102729. accumulator.pseudoElementsCallback = searchPseudoElements;
  102730. return accumulator;
  102731. }
  102732. };
  102733. },
  102734. provides: function provides(providers$$1) {
  102735. providers$$1.pseudoElements2svg = function (params) {
  102736. var _params$node = params.node,
  102737. node = _params$node === void 0 ? DOCUMENT : _params$node;
  102738. if (config.searchPseudoElements) {
  102739. searchPseudoElements(node);
  102740. }
  102741. };
  102742. }
  102743. };
  102744. var _unwatched = false;
  102745. var MutationObserver$1 = {
  102746. mixout: function mixout() {
  102747. return {
  102748. dom: {
  102749. unwatch: function unwatch() {
  102750. disableObservation();
  102751. _unwatched = true;
  102752. }
  102753. }
  102754. };
  102755. },
  102756. hooks: function hooks() {
  102757. return {
  102758. bootstrap: function bootstrap() {
  102759. observe(chainHooks('mutationObserverCallbacks', {}));
  102760. },
  102761. noAuto: function noAuto() {
  102762. disconnect();
  102763. },
  102764. watch: function watch(params) {
  102765. var observeMutationsRoot = params.observeMutationsRoot;
  102766. if (_unwatched) {
  102767. enableObservation();
  102768. } else {
  102769. observe(chainHooks('mutationObserverCallbacks', {
  102770. observeMutationsRoot: observeMutationsRoot
  102771. }));
  102772. }
  102773. }
  102774. };
  102775. }
  102776. };
  102777. var parseTransformString = function parseTransformString(transformString) {
  102778. var transform = {
  102779. size: 16,
  102780. x: 0,
  102781. y: 0,
  102782. flipX: false,
  102783. flipY: false,
  102784. rotate: 0
  102785. };
  102786. return transformString.toLowerCase().split(' ').reduce(function (acc, n) {
  102787. var parts = n.toLowerCase().split('-');
  102788. var first = parts[0];
  102789. var rest = parts.slice(1).join('-');
  102790. if (first && rest === 'h') {
  102791. acc.flipX = true;
  102792. return acc;
  102793. }
  102794. if (first && rest === 'v') {
  102795. acc.flipY = true;
  102796. return acc;
  102797. }
  102798. rest = parseFloat(rest);
  102799. if (isNaN(rest)) {
  102800. return acc;
  102801. }
  102802. switch (first) {
  102803. case 'grow':
  102804. acc.size = acc.size + rest;
  102805. break;
  102806. case 'shrink':
  102807. acc.size = acc.size - rest;
  102808. break;
  102809. case 'left':
  102810. acc.x = acc.x - rest;
  102811. break;
  102812. case 'right':
  102813. acc.x = acc.x + rest;
  102814. break;
  102815. case 'up':
  102816. acc.y = acc.y - rest;
  102817. break;
  102818. case 'down':
  102819. acc.y = acc.y + rest;
  102820. break;
  102821. case 'rotate':
  102822. acc.rotate = acc.rotate + rest;
  102823. break;
  102824. }
  102825. return acc;
  102826. }, transform);
  102827. };
  102828. var PowerTransforms = {
  102829. mixout: function mixout() {
  102830. return {
  102831. parse: {
  102832. transform: function transform(transformString) {
  102833. return parseTransformString(transformString);
  102834. }
  102835. }
  102836. };
  102837. },
  102838. hooks: function hooks() {
  102839. return {
  102840. parseNodeAttributes: function parseNodeAttributes(accumulator, node) {
  102841. var transformString = node.getAttribute('data-fa-transform');
  102842. if (transformString) {
  102843. accumulator.transform = parseTransformString(transformString);
  102844. }
  102845. return accumulator;
  102846. }
  102847. };
  102848. },
  102849. provides: function provides(providers) {
  102850. providers.generateAbstractTransformGrouping = function (_ref) {
  102851. var main = _ref.main,
  102852. transform = _ref.transform,
  102853. containerWidth = _ref.containerWidth,
  102854. iconWidth = _ref.iconWidth;
  102855. var outer = {
  102856. transform: "translate(".concat(containerWidth / 2, " 256)")
  102857. };
  102858. var innerTranslate = "translate(".concat(transform.x * 32, ", ").concat(transform.y * 32, ") ");
  102859. var innerScale = "scale(".concat(transform.size / 16 * (transform.flipX ? -1 : 1), ", ").concat(transform.size / 16 * (transform.flipY ? -1 : 1), ") ");
  102860. var innerRotate = "rotate(".concat(transform.rotate, " 0 0)");
  102861. var inner = {
  102862. transform: "".concat(innerTranslate, " ").concat(innerScale, " ").concat(innerRotate)
  102863. };
  102864. var path = {
  102865. transform: "translate(".concat(iconWidth / 2 * -1, " -256)")
  102866. };
  102867. var operations = {
  102868. outer: outer,
  102869. inner: inner,
  102870. path: path
  102871. };
  102872. return {
  102873. tag: 'g',
  102874. attributes: _objectSpread2({}, operations.outer),
  102875. children: [{
  102876. tag: 'g',
  102877. attributes: _objectSpread2({}, operations.inner),
  102878. children: [{
  102879. tag: main.icon.tag,
  102880. children: main.icon.children,
  102881. attributes: _objectSpread2(_objectSpread2({}, main.icon.attributes), operations.path)
  102882. }]
  102883. }]
  102884. };
  102885. };
  102886. }
  102887. };
  102888. var ALL_SPACE = {
  102889. x: 0,
  102890. y: 0,
  102891. width: '100%',
  102892. height: '100%'
  102893. };
  102894. function fillBlack(abstract) {
  102895. var force = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  102896. if (abstract.attributes && (abstract.attributes.fill || force)) {
  102897. abstract.attributes.fill = 'black';
  102898. }
  102899. return abstract;
  102900. }
  102901. function deGroup(abstract) {
  102902. if (abstract.tag === 'g') {
  102903. return abstract.children;
  102904. } else {
  102905. return [abstract];
  102906. }
  102907. }
  102908. var Masks = {
  102909. hooks: function hooks() {
  102910. return {
  102911. parseNodeAttributes: function parseNodeAttributes(accumulator, node) {
  102912. var maskData = node.getAttribute('data-fa-mask');
  102913. var mask = !maskData ? emptyCanonicalIcon() : getCanonicalIcon(maskData.split(' ').map(function (i) {
  102914. return i.trim();
  102915. }));
  102916. if (!mask.prefix) {
  102917. mask.prefix = getDefaultUsablePrefix();
  102918. }
  102919. accumulator.mask = mask;
  102920. accumulator.maskId = node.getAttribute('data-fa-mask-id');
  102921. return accumulator;
  102922. }
  102923. };
  102924. },
  102925. provides: function provides(providers) {
  102926. providers.generateAbstractMask = function (_ref) {
  102927. var children = _ref.children,
  102928. attributes = _ref.attributes,
  102929. main = _ref.main,
  102930. mask = _ref.mask,
  102931. explicitMaskId = _ref.maskId,
  102932. transform = _ref.transform;
  102933. var mainWidth = main.width,
  102934. mainPath = main.icon;
  102935. var maskWidth = mask.width,
  102936. maskPath = mask.icon;
  102937. var trans = transformForSvg({
  102938. transform: transform,
  102939. containerWidth: maskWidth,
  102940. iconWidth: mainWidth
  102941. });
  102942. var maskRect = {
  102943. tag: 'rect',
  102944. attributes: _objectSpread2(_objectSpread2({}, ALL_SPACE), {}, {
  102945. fill: 'white'
  102946. })
  102947. };
  102948. var maskInnerGroupChildrenMixin = mainPath.children ? {
  102949. children: mainPath.children.map(fillBlack)
  102950. } : {};
  102951. var maskInnerGroup = {
  102952. tag: 'g',
  102953. attributes: _objectSpread2({}, trans.inner),
  102954. children: [fillBlack(_objectSpread2({
  102955. tag: mainPath.tag,
  102956. attributes: _objectSpread2(_objectSpread2({}, mainPath.attributes), trans.path)
  102957. }, maskInnerGroupChildrenMixin))]
  102958. };
  102959. var maskOuterGroup = {
  102960. tag: 'g',
  102961. attributes: _objectSpread2({}, trans.outer),
  102962. children: [maskInnerGroup]
  102963. };
  102964. var maskId = "mask-".concat(explicitMaskId || nextUniqueId());
  102965. var clipId = "clip-".concat(explicitMaskId || nextUniqueId());
  102966. var maskTag = {
  102967. tag: 'mask',
  102968. attributes: _objectSpread2(_objectSpread2({}, ALL_SPACE), {}, {
  102969. id: maskId,
  102970. maskUnits: 'userSpaceOnUse',
  102971. maskContentUnits: 'userSpaceOnUse'
  102972. }),
  102973. children: [maskRect, maskOuterGroup]
  102974. };
  102975. var defs = {
  102976. tag: 'defs',
  102977. children: [{
  102978. tag: 'clipPath',
  102979. attributes: {
  102980. id: clipId
  102981. },
  102982. children: deGroup(maskPath)
  102983. }, maskTag]
  102984. };
  102985. children.push(defs, {
  102986. tag: 'rect',
  102987. attributes: _objectSpread2({
  102988. fill: 'currentColor',
  102989. 'clip-path': "url(#".concat(clipId, ")"),
  102990. mask: "url(#".concat(maskId, ")")
  102991. }, ALL_SPACE)
  102992. });
  102993. return {
  102994. children: children,
  102995. attributes: attributes
  102996. };
  102997. };
  102998. }
  102999. };
  103000. var MissingIconIndicator = {
  103001. provides: function provides(providers) {
  103002. var reduceMotion = false;
  103003. if (WINDOW.matchMedia) {
  103004. reduceMotion = WINDOW.matchMedia('(prefers-reduced-motion: reduce)').matches;
  103005. }
  103006. providers.missingIconAbstract = function () {
  103007. var gChildren = [];
  103008. var FILL = {
  103009. fill: 'currentColor'
  103010. };
  103011. var ANIMATION_BASE = {
  103012. attributeType: 'XML',
  103013. repeatCount: 'indefinite',
  103014. dur: '2s'
  103015. }; // Ring
  103016. gChildren.push({
  103017. tag: 'path',
  103018. attributes: _objectSpread2(_objectSpread2({}, FILL), {}, {
  103019. 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'
  103020. })
  103021. });
  103022. var OPACITY_ANIMATE = _objectSpread2(_objectSpread2({}, ANIMATION_BASE), {}, {
  103023. attributeName: 'opacity'
  103024. });
  103025. var dot = {
  103026. tag: 'circle',
  103027. attributes: _objectSpread2(_objectSpread2({}, FILL), {}, {
  103028. cx: '256',
  103029. cy: '364',
  103030. r: '28'
  103031. }),
  103032. children: []
  103033. };
  103034. if (!reduceMotion) {
  103035. dot.children.push({
  103036. tag: 'animate',
  103037. attributes: _objectSpread2(_objectSpread2({}, ANIMATION_BASE), {}, {
  103038. attributeName: 'r',
  103039. values: '28;14;28;28;14;28;'
  103040. })
  103041. }, {
  103042. tag: 'animate',
  103043. attributes: _objectSpread2(_objectSpread2({}, OPACITY_ANIMATE), {}, {
  103044. values: '1;0;1;1;0;1;'
  103045. })
  103046. });
  103047. }
  103048. gChildren.push(dot);
  103049. gChildren.push({
  103050. tag: 'path',
  103051. attributes: _objectSpread2(_objectSpread2({}, FILL), {}, {
  103052. opacity: '1',
  103053. 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'
  103054. }),
  103055. children: reduceMotion ? [] : [{
  103056. tag: 'animate',
  103057. attributes: _objectSpread2(_objectSpread2({}, OPACITY_ANIMATE), {}, {
  103058. values: '1;0;0;0;0;1;'
  103059. })
  103060. }]
  103061. });
  103062. if (!reduceMotion) {
  103063. // Exclamation
  103064. gChildren.push({
  103065. tag: 'path',
  103066. attributes: _objectSpread2(_objectSpread2({}, FILL), {}, {
  103067. opacity: '0',
  103068. 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'
  103069. }),
  103070. children: [{
  103071. tag: 'animate',
  103072. attributes: _objectSpread2(_objectSpread2({}, OPACITY_ANIMATE), {}, {
  103073. values: '0;0;1;1;0;0;'
  103074. })
  103075. }]
  103076. });
  103077. }
  103078. return {
  103079. tag: 'g',
  103080. attributes: {
  103081. 'class': 'missing'
  103082. },
  103083. children: gChildren
  103084. };
  103085. };
  103086. }
  103087. };
  103088. var SvgSymbols = {
  103089. hooks: function hooks() {
  103090. return {
  103091. parseNodeAttributes: function parseNodeAttributes(accumulator, node) {
  103092. var symbolData = node.getAttribute('data-fa-symbol');
  103093. var symbol = symbolData === null ? false : symbolData === '' ? true : symbolData;
  103094. accumulator['symbol'] = symbol;
  103095. return accumulator;
  103096. }
  103097. };
  103098. }
  103099. };
  103100. var plugins = [InjectCSS, ReplaceElements, Layers, LayersCounter, LayersText, PseudoElements, MutationObserver$1, PowerTransforms, Masks, MissingIconIndicator, SvgSymbols];
  103101. registerPlugins(plugins, {
  103102. mixoutsTo: api
  103103. });
  103104. var noAuto$1 = api.noAuto;
  103105. var config$1 = api.config;
  103106. var library$1 = api.library;
  103107. var dom$1 = api.dom;
  103108. var parse$1 = api.parse;
  103109. var findIconDefinition$1 = api.findIconDefinition;
  103110. var toHtml$1 = api.toHtml;
  103111. var icon = api.icon;
  103112. var layer = api.layer;
  103113. var text = api.text;
  103114. var counter = api.counter;
  103115. /***/ }),
  103116. /***/ 2257:
  103117. /*!*******************************************************************!*\
  103118. !*** ./node_modules/@fortawesome/free-brands-svg-icons/index.mjs ***!
  103119. \*******************************************************************/
  103120. /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
  103121. __webpack_require__.r(__webpack_exports__);
  103122. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  103123. /* harmony export */ "fa42Group": () => (/* binding */ fa42Group),
  103124. /* harmony export */ "fa500px": () => (/* binding */ fa500px),
  103125. /* harmony export */ "faAccessibleIcon": () => (/* binding */ faAccessibleIcon),
  103126. /* harmony export */ "faAccusoft": () => (/* binding */ faAccusoft),
  103127. /* harmony export */ "faAdn": () => (/* binding */ faAdn),
  103128. /* harmony export */ "faAdversal": () => (/* binding */ faAdversal),
  103129. /* harmony export */ "faAffiliatetheme": () => (/* binding */ faAffiliatetheme),
  103130. /* harmony export */ "faAirbnb": () => (/* binding */ faAirbnb),
  103131. /* harmony export */ "faAlgolia": () => (/* binding */ faAlgolia),
  103132. /* harmony export */ "faAlipay": () => (/* binding */ faAlipay),
  103133. /* harmony export */ "faAmazon": () => (/* binding */ faAmazon),
  103134. /* harmony export */ "faAmazonPay": () => (/* binding */ faAmazonPay),
  103135. /* harmony export */ "faAmilia": () => (/* binding */ faAmilia),
  103136. /* harmony export */ "faAndroid": () => (/* binding */ faAndroid),
  103137. /* harmony export */ "faAngellist": () => (/* binding */ faAngellist),
  103138. /* harmony export */ "faAngrycreative": () => (/* binding */ faAngrycreative),
  103139. /* harmony export */ "faAngular": () => (/* binding */ faAngular),
  103140. /* harmony export */ "faAppStore": () => (/* binding */ faAppStore),
  103141. /* harmony export */ "faAppStoreIos": () => (/* binding */ faAppStoreIos),
  103142. /* harmony export */ "faApper": () => (/* binding */ faApper),
  103143. /* harmony export */ "faApple": () => (/* binding */ faApple),
  103144. /* harmony export */ "faApplePay": () => (/* binding */ faApplePay),
  103145. /* harmony export */ "faArtstation": () => (/* binding */ faArtstation),
  103146. /* harmony export */ "faAsymmetrik": () => (/* binding */ faAsymmetrik),
  103147. /* harmony export */ "faAtlassian": () => (/* binding */ faAtlassian),
  103148. /* harmony export */ "faAudible": () => (/* binding */ faAudible),
  103149. /* harmony export */ "faAutoprefixer": () => (/* binding */ faAutoprefixer),
  103150. /* harmony export */ "faAvianex": () => (/* binding */ faAvianex),
  103151. /* harmony export */ "faAviato": () => (/* binding */ faAviato),
  103152. /* harmony export */ "faAws": () => (/* binding */ faAws),
  103153. /* harmony export */ "faBandcamp": () => (/* binding */ faBandcamp),
  103154. /* harmony export */ "faBattleNet": () => (/* binding */ faBattleNet),
  103155. /* harmony export */ "faBehance": () => (/* binding */ faBehance),
  103156. /* harmony export */ "faBehanceSquare": () => (/* binding */ faBehanceSquare),
  103157. /* harmony export */ "faBilibili": () => (/* binding */ faBilibili),
  103158. /* harmony export */ "faBimobject": () => (/* binding */ faBimobject),
  103159. /* harmony export */ "faBitbucket": () => (/* binding */ faBitbucket),
  103160. /* harmony export */ "faBitcoin": () => (/* binding */ faBitcoin),
  103161. /* harmony export */ "faBity": () => (/* binding */ faBity),
  103162. /* harmony export */ "faBlackTie": () => (/* binding */ faBlackTie),
  103163. /* harmony export */ "faBlackberry": () => (/* binding */ faBlackberry),
  103164. /* harmony export */ "faBlogger": () => (/* binding */ faBlogger),
  103165. /* harmony export */ "faBloggerB": () => (/* binding */ faBloggerB),
  103166. /* harmony export */ "faBluetooth": () => (/* binding */ faBluetooth),
  103167. /* harmony export */ "faBluetoothB": () => (/* binding */ faBluetoothB),
  103168. /* harmony export */ "faBootstrap": () => (/* binding */ faBootstrap),
  103169. /* harmony export */ "faBots": () => (/* binding */ faBots),
  103170. /* harmony export */ "faBtc": () => (/* binding */ faBtc),
  103171. /* harmony export */ "faBuffer": () => (/* binding */ faBuffer),
  103172. /* harmony export */ "faBuromobelexperte": () => (/* binding */ faBuromobelexperte),
  103173. /* harmony export */ "faBuyNLarge": () => (/* binding */ faBuyNLarge),
  103174. /* harmony export */ "faBuysellads": () => (/* binding */ faBuysellads),
  103175. /* harmony export */ "faCanadianMapleLeaf": () => (/* binding */ faCanadianMapleLeaf),
  103176. /* harmony export */ "faCcAmazonPay": () => (/* binding */ faCcAmazonPay),
  103177. /* harmony export */ "faCcAmex": () => (/* binding */ faCcAmex),
  103178. /* harmony export */ "faCcApplePay": () => (/* binding */ faCcApplePay),
  103179. /* harmony export */ "faCcDinersClub": () => (/* binding */ faCcDinersClub),
  103180. /* harmony export */ "faCcDiscover": () => (/* binding */ faCcDiscover),
  103181. /* harmony export */ "faCcJcb": () => (/* binding */ faCcJcb),
  103182. /* harmony export */ "faCcMastercard": () => (/* binding */ faCcMastercard),
  103183. /* harmony export */ "faCcPaypal": () => (/* binding */ faCcPaypal),
  103184. /* harmony export */ "faCcStripe": () => (/* binding */ faCcStripe),
  103185. /* harmony export */ "faCcVisa": () => (/* binding */ faCcVisa),
  103186. /* harmony export */ "faCentercode": () => (/* binding */ faCentercode),
  103187. /* harmony export */ "faCentos": () => (/* binding */ faCentos),
  103188. /* harmony export */ "faChrome": () => (/* binding */ faChrome),
  103189. /* harmony export */ "faChromecast": () => (/* binding */ faChromecast),
  103190. /* harmony export */ "faCloudflare": () => (/* binding */ faCloudflare),
  103191. /* harmony export */ "faCloudscale": () => (/* binding */ faCloudscale),
  103192. /* harmony export */ "faCloudsmith": () => (/* binding */ faCloudsmith),
  103193. /* harmony export */ "faCloudversify": () => (/* binding */ faCloudversify),
  103194. /* harmony export */ "faCmplid": () => (/* binding */ faCmplid),
  103195. /* harmony export */ "faCodepen": () => (/* binding */ faCodepen),
  103196. /* harmony export */ "faCodiepie": () => (/* binding */ faCodiepie),
  103197. /* harmony export */ "faConfluence": () => (/* binding */ faConfluence),
  103198. /* harmony export */ "faConnectdevelop": () => (/* binding */ faConnectdevelop),
  103199. /* harmony export */ "faContao": () => (/* binding */ faContao),
  103200. /* harmony export */ "faCottonBureau": () => (/* binding */ faCottonBureau),
  103201. /* harmony export */ "faCpanel": () => (/* binding */ faCpanel),
  103202. /* harmony export */ "faCreativeCommons": () => (/* binding */ faCreativeCommons),
  103203. /* harmony export */ "faCreativeCommonsBy": () => (/* binding */ faCreativeCommonsBy),
  103204. /* harmony export */ "faCreativeCommonsNc": () => (/* binding */ faCreativeCommonsNc),
  103205. /* harmony export */ "faCreativeCommonsNcEu": () => (/* binding */ faCreativeCommonsNcEu),
  103206. /* harmony export */ "faCreativeCommonsNcJp": () => (/* binding */ faCreativeCommonsNcJp),
  103207. /* harmony export */ "faCreativeCommonsNd": () => (/* binding */ faCreativeCommonsNd),
  103208. /* harmony export */ "faCreativeCommonsPd": () => (/* binding */ faCreativeCommonsPd),
  103209. /* harmony export */ "faCreativeCommonsPdAlt": () => (/* binding */ faCreativeCommonsPdAlt),
  103210. /* harmony export */ "faCreativeCommonsRemix": () => (/* binding */ faCreativeCommonsRemix),
  103211. /* harmony export */ "faCreativeCommonsSa": () => (/* binding */ faCreativeCommonsSa),
  103212. /* harmony export */ "faCreativeCommonsSampling": () => (/* binding */ faCreativeCommonsSampling),
  103213. /* harmony export */ "faCreativeCommonsSamplingPlus": () => (/* binding */ faCreativeCommonsSamplingPlus),
  103214. /* harmony export */ "faCreativeCommonsShare": () => (/* binding */ faCreativeCommonsShare),
  103215. /* harmony export */ "faCreativeCommonsZero": () => (/* binding */ faCreativeCommonsZero),
  103216. /* harmony export */ "faCriticalRole": () => (/* binding */ faCriticalRole),
  103217. /* harmony export */ "faCss3": () => (/* binding */ faCss3),
  103218. /* harmony export */ "faCss3Alt": () => (/* binding */ faCss3Alt),
  103219. /* harmony export */ "faCuttlefish": () => (/* binding */ faCuttlefish),
  103220. /* harmony export */ "faDAndD": () => (/* binding */ faDAndD),
  103221. /* harmony export */ "faDAndDBeyond": () => (/* binding */ faDAndDBeyond),
  103222. /* harmony export */ "faDailymotion": () => (/* binding */ faDailymotion),
  103223. /* harmony export */ "faDashcube": () => (/* binding */ faDashcube),
  103224. /* harmony export */ "faDeezer": () => (/* binding */ faDeezer),
  103225. /* harmony export */ "faDelicious": () => (/* binding */ faDelicious),
  103226. /* harmony export */ "faDeploydog": () => (/* binding */ faDeploydog),
  103227. /* harmony export */ "faDeskpro": () => (/* binding */ faDeskpro),
  103228. /* harmony export */ "faDev": () => (/* binding */ faDev),
  103229. /* harmony export */ "faDeviantart": () => (/* binding */ faDeviantart),
  103230. /* harmony export */ "faDhl": () => (/* binding */ faDhl),
  103231. /* harmony export */ "faDiaspora": () => (/* binding */ faDiaspora),
  103232. /* harmony export */ "faDigg": () => (/* binding */ faDigg),
  103233. /* harmony export */ "faDigitalOcean": () => (/* binding */ faDigitalOcean),
  103234. /* harmony export */ "faDiscord": () => (/* binding */ faDiscord),
  103235. /* harmony export */ "faDiscourse": () => (/* binding */ faDiscourse),
  103236. /* harmony export */ "faDochub": () => (/* binding */ faDochub),
  103237. /* harmony export */ "faDocker": () => (/* binding */ faDocker),
  103238. /* harmony export */ "faDraft2digital": () => (/* binding */ faDraft2digital),
  103239. /* harmony export */ "faDribbble": () => (/* binding */ faDribbble),
  103240. /* harmony export */ "faDribbbleSquare": () => (/* binding */ faDribbbleSquare),
  103241. /* harmony export */ "faDropbox": () => (/* binding */ faDropbox),
  103242. /* harmony export */ "faDrupal": () => (/* binding */ faDrupal),
  103243. /* harmony export */ "faDyalog": () => (/* binding */ faDyalog),
  103244. /* harmony export */ "faEarlybirds": () => (/* binding */ faEarlybirds),
  103245. /* harmony export */ "faEbay": () => (/* binding */ faEbay),
  103246. /* harmony export */ "faEdge": () => (/* binding */ faEdge),
  103247. /* harmony export */ "faEdgeLegacy": () => (/* binding */ faEdgeLegacy),
  103248. /* harmony export */ "faElementor": () => (/* binding */ faElementor),
  103249. /* harmony export */ "faEllo": () => (/* binding */ faEllo),
  103250. /* harmony export */ "faEmber": () => (/* binding */ faEmber),
  103251. /* harmony export */ "faEmpire": () => (/* binding */ faEmpire),
  103252. /* harmony export */ "faEnvira": () => (/* binding */ faEnvira),
  103253. /* harmony export */ "faErlang": () => (/* binding */ faErlang),
  103254. /* harmony export */ "faEthereum": () => (/* binding */ faEthereum),
  103255. /* harmony export */ "faEtsy": () => (/* binding */ faEtsy),
  103256. /* harmony export */ "faEvernote": () => (/* binding */ faEvernote),
  103257. /* harmony export */ "faExpeditedssl": () => (/* binding */ faExpeditedssl),
  103258. /* harmony export */ "faFacebook": () => (/* binding */ faFacebook),
  103259. /* harmony export */ "faFacebookF": () => (/* binding */ faFacebookF),
  103260. /* harmony export */ "faFacebookMessenger": () => (/* binding */ faFacebookMessenger),
  103261. /* harmony export */ "faFacebookSquare": () => (/* binding */ faFacebookSquare),
  103262. /* harmony export */ "faFantasyFlightGames": () => (/* binding */ faFantasyFlightGames),
  103263. /* harmony export */ "faFedex": () => (/* binding */ faFedex),
  103264. /* harmony export */ "faFedora": () => (/* binding */ faFedora),
  103265. /* harmony export */ "faFigma": () => (/* binding */ faFigma),
  103266. /* harmony export */ "faFirefox": () => (/* binding */ faFirefox),
  103267. /* harmony export */ "faFirefoxBrowser": () => (/* binding */ faFirefoxBrowser),
  103268. /* harmony export */ "faFirstOrder": () => (/* binding */ faFirstOrder),
  103269. /* harmony export */ "faFirstOrderAlt": () => (/* binding */ faFirstOrderAlt),
  103270. /* harmony export */ "faFirstdraft": () => (/* binding */ faFirstdraft),
  103271. /* harmony export */ "faFlickr": () => (/* binding */ faFlickr),
  103272. /* harmony export */ "faFlipboard": () => (/* binding */ faFlipboard),
  103273. /* harmony export */ "faFly": () => (/* binding */ faFly),
  103274. /* harmony export */ "faFontAwesome": () => (/* binding */ faFontAwesome),
  103275. /* harmony export */ "faFontAwesomeAlt": () => (/* binding */ faFontAwesomeAlt),
  103276. /* harmony export */ "faFontAwesomeFlag": () => (/* binding */ faFontAwesomeFlag),
  103277. /* harmony export */ "faFontAwesomeLogoFull": () => (/* binding */ faFontAwesomeLogoFull),
  103278. /* harmony export */ "faFonticons": () => (/* binding */ faFonticons),
  103279. /* harmony export */ "faFonticonsFi": () => (/* binding */ faFonticonsFi),
  103280. /* harmony export */ "faFortAwesome": () => (/* binding */ faFortAwesome),
  103281. /* harmony export */ "faFortAwesomeAlt": () => (/* binding */ faFortAwesomeAlt),
  103282. /* harmony export */ "faForumbee": () => (/* binding */ faForumbee),
  103283. /* harmony export */ "faFoursquare": () => (/* binding */ faFoursquare),
  103284. /* harmony export */ "faFreeCodeCamp": () => (/* binding */ faFreeCodeCamp),
  103285. /* harmony export */ "faFreebsd": () => (/* binding */ faFreebsd),
  103286. /* harmony export */ "faFulcrum": () => (/* binding */ faFulcrum),
  103287. /* harmony export */ "faGalacticRepublic": () => (/* binding */ faGalacticRepublic),
  103288. /* harmony export */ "faGalacticSenate": () => (/* binding */ faGalacticSenate),
  103289. /* harmony export */ "faGetPocket": () => (/* binding */ faGetPocket),
  103290. /* harmony export */ "faGg": () => (/* binding */ faGg),
  103291. /* harmony export */ "faGgCircle": () => (/* binding */ faGgCircle),
  103292. /* harmony export */ "faGit": () => (/* binding */ faGit),
  103293. /* harmony export */ "faGitAlt": () => (/* binding */ faGitAlt),
  103294. /* harmony export */ "faGitSquare": () => (/* binding */ faGitSquare),
  103295. /* harmony export */ "faGithub": () => (/* binding */ faGithub),
  103296. /* harmony export */ "faGithubAlt": () => (/* binding */ faGithubAlt),
  103297. /* harmony export */ "faGithubSquare": () => (/* binding */ faGithubSquare),
  103298. /* harmony export */ "faGitkraken": () => (/* binding */ faGitkraken),
  103299. /* harmony export */ "faGitlab": () => (/* binding */ faGitlab),
  103300. /* harmony export */ "faGitlabSquare": () => (/* binding */ faGitlabSquare),
  103301. /* harmony export */ "faGitter": () => (/* binding */ faGitter),
  103302. /* harmony export */ "faGlide": () => (/* binding */ faGlide),
  103303. /* harmony export */ "faGlideG": () => (/* binding */ faGlideG),
  103304. /* harmony export */ "faGofore": () => (/* binding */ faGofore),
  103305. /* harmony export */ "faGolang": () => (/* binding */ faGolang),
  103306. /* harmony export */ "faGoodreads": () => (/* binding */ faGoodreads),
  103307. /* harmony export */ "faGoodreadsG": () => (/* binding */ faGoodreadsG),
  103308. /* harmony export */ "faGoogle": () => (/* binding */ faGoogle),
  103309. /* harmony export */ "faGoogleDrive": () => (/* binding */ faGoogleDrive),
  103310. /* harmony export */ "faGooglePay": () => (/* binding */ faGooglePay),
  103311. /* harmony export */ "faGooglePlay": () => (/* binding */ faGooglePlay),
  103312. /* harmony export */ "faGooglePlus": () => (/* binding */ faGooglePlus),
  103313. /* harmony export */ "faGooglePlusG": () => (/* binding */ faGooglePlusG),
  103314. /* harmony export */ "faGooglePlusSquare": () => (/* binding */ faGooglePlusSquare),
  103315. /* harmony export */ "faGoogleWallet": () => (/* binding */ faGoogleWallet),
  103316. /* harmony export */ "faGratipay": () => (/* binding */ faGratipay),
  103317. /* harmony export */ "faGrav": () => (/* binding */ faGrav),
  103318. /* harmony export */ "faGripfire": () => (/* binding */ faGripfire),
  103319. /* harmony export */ "faGrunt": () => (/* binding */ faGrunt),
  103320. /* harmony export */ "faGuilded": () => (/* binding */ faGuilded),
  103321. /* harmony export */ "faGulp": () => (/* binding */ faGulp),
  103322. /* harmony export */ "faHackerNews": () => (/* binding */ faHackerNews),
  103323. /* harmony export */ "faHackerNewsSquare": () => (/* binding */ faHackerNewsSquare),
  103324. /* harmony export */ "faHackerrank": () => (/* binding */ faHackerrank),
  103325. /* harmony export */ "faHashnode": () => (/* binding */ faHashnode),
  103326. /* harmony export */ "faHips": () => (/* binding */ faHips),
  103327. /* harmony export */ "faHireAHelper": () => (/* binding */ faHireAHelper),
  103328. /* harmony export */ "faHive": () => (/* binding */ faHive),
  103329. /* harmony export */ "faHooli": () => (/* binding */ faHooli),
  103330. /* harmony export */ "faHornbill": () => (/* binding */ faHornbill),
  103331. /* harmony export */ "faHotjar": () => (/* binding */ faHotjar),
  103332. /* harmony export */ "faHouzz": () => (/* binding */ faHouzz),
  103333. /* harmony export */ "faHtml5": () => (/* binding */ faHtml5),
  103334. /* harmony export */ "faHubspot": () => (/* binding */ faHubspot),
  103335. /* harmony export */ "faIdeal": () => (/* binding */ faIdeal),
  103336. /* harmony export */ "faImdb": () => (/* binding */ faImdb),
  103337. /* harmony export */ "faInnosoft": () => (/* binding */ faInnosoft),
  103338. /* harmony export */ "faInstagram": () => (/* binding */ faInstagram),
  103339. /* harmony export */ "faInstagramSquare": () => (/* binding */ faInstagramSquare),
  103340. /* harmony export */ "faInstalod": () => (/* binding */ faInstalod),
  103341. /* harmony export */ "faIntercom": () => (/* binding */ faIntercom),
  103342. /* harmony export */ "faInternetExplorer": () => (/* binding */ faInternetExplorer),
  103343. /* harmony export */ "faInvision": () => (/* binding */ faInvision),
  103344. /* harmony export */ "faIoxhost": () => (/* binding */ faIoxhost),
  103345. /* harmony export */ "faItchIo": () => (/* binding */ faItchIo),
  103346. /* harmony export */ "faItunes": () => (/* binding */ faItunes),
  103347. /* harmony export */ "faItunesNote": () => (/* binding */ faItunesNote),
  103348. /* harmony export */ "faJava": () => (/* binding */ faJava),
  103349. /* harmony export */ "faJediOrder": () => (/* binding */ faJediOrder),
  103350. /* harmony export */ "faJenkins": () => (/* binding */ faJenkins),
  103351. /* harmony export */ "faJira": () => (/* binding */ faJira),
  103352. /* harmony export */ "faJoget": () => (/* binding */ faJoget),
  103353. /* harmony export */ "faJoomla": () => (/* binding */ faJoomla),
  103354. /* harmony export */ "faJs": () => (/* binding */ faJs),
  103355. /* harmony export */ "faJsSquare": () => (/* binding */ faJsSquare),
  103356. /* harmony export */ "faJsfiddle": () => (/* binding */ faJsfiddle),
  103357. /* harmony export */ "faKaggle": () => (/* binding */ faKaggle),
  103358. /* harmony export */ "faKeybase": () => (/* binding */ faKeybase),
  103359. /* harmony export */ "faKeycdn": () => (/* binding */ faKeycdn),
  103360. /* harmony export */ "faKickstarter": () => (/* binding */ faKickstarter),
  103361. /* harmony export */ "faKickstarterK": () => (/* binding */ faKickstarterK),
  103362. /* harmony export */ "faKorvue": () => (/* binding */ faKorvue),
  103363. /* harmony export */ "faLaravel": () => (/* binding */ faLaravel),
  103364. /* harmony export */ "faLastfm": () => (/* binding */ faLastfm),
  103365. /* harmony export */ "faLastfmSquare": () => (/* binding */ faLastfmSquare),
  103366. /* harmony export */ "faLeanpub": () => (/* binding */ faLeanpub),
  103367. /* harmony export */ "faLess": () => (/* binding */ faLess),
  103368. /* harmony export */ "faLine": () => (/* binding */ faLine),
  103369. /* harmony export */ "faLinkedin": () => (/* binding */ faLinkedin),
  103370. /* harmony export */ "faLinkedinIn": () => (/* binding */ faLinkedinIn),
  103371. /* harmony export */ "faLinode": () => (/* binding */ faLinode),
  103372. /* harmony export */ "faLinux": () => (/* binding */ faLinux),
  103373. /* harmony export */ "faLyft": () => (/* binding */ faLyft),
  103374. /* harmony export */ "faMagento": () => (/* binding */ faMagento),
  103375. /* harmony export */ "faMailchimp": () => (/* binding */ faMailchimp),
  103376. /* harmony export */ "faMandalorian": () => (/* binding */ faMandalorian),
  103377. /* harmony export */ "faMarkdown": () => (/* binding */ faMarkdown),
  103378. /* harmony export */ "faMastodon": () => (/* binding */ faMastodon),
  103379. /* harmony export */ "faMaxcdn": () => (/* binding */ faMaxcdn),
  103380. /* harmony export */ "faMdb": () => (/* binding */ faMdb),
  103381. /* harmony export */ "faMedapps": () => (/* binding */ faMedapps),
  103382. /* harmony export */ "faMedium": () => (/* binding */ faMedium),
  103383. /* harmony export */ "faMediumM": () => (/* binding */ faMediumM),
  103384. /* harmony export */ "faMedrt": () => (/* binding */ faMedrt),
  103385. /* harmony export */ "faMeetup": () => (/* binding */ faMeetup),
  103386. /* harmony export */ "faMegaport": () => (/* binding */ faMegaport),
  103387. /* harmony export */ "faMendeley": () => (/* binding */ faMendeley),
  103388. /* harmony export */ "faMeta": () => (/* binding */ faMeta),
  103389. /* harmony export */ "faMicroblog": () => (/* binding */ faMicroblog),
  103390. /* harmony export */ "faMicrosoft": () => (/* binding */ faMicrosoft),
  103391. /* harmony export */ "faMix": () => (/* binding */ faMix),
  103392. /* harmony export */ "faMixcloud": () => (/* binding */ faMixcloud),
  103393. /* harmony export */ "faMixer": () => (/* binding */ faMixer),
  103394. /* harmony export */ "faMizuni": () => (/* binding */ faMizuni),
  103395. /* harmony export */ "faModx": () => (/* binding */ faModx),
  103396. /* harmony export */ "faMonero": () => (/* binding */ faMonero),
  103397. /* harmony export */ "faNapster": () => (/* binding */ faNapster),
  103398. /* harmony export */ "faNeos": () => (/* binding */ faNeos),
  103399. /* harmony export */ "faNfcDirectional": () => (/* binding */ faNfcDirectional),
  103400. /* harmony export */ "faNfcSymbol": () => (/* binding */ faNfcSymbol),
  103401. /* harmony export */ "faNimblr": () => (/* binding */ faNimblr),
  103402. /* harmony export */ "faNode": () => (/* binding */ faNode),
  103403. /* harmony export */ "faNodeJs": () => (/* binding */ faNodeJs),
  103404. /* harmony export */ "faNpm": () => (/* binding */ faNpm),
  103405. /* harmony export */ "faNs8": () => (/* binding */ faNs8),
  103406. /* harmony export */ "faNutritionix": () => (/* binding */ faNutritionix),
  103407. /* harmony export */ "faOctopusDeploy": () => (/* binding */ faOctopusDeploy),
  103408. /* harmony export */ "faOdnoklassniki": () => (/* binding */ faOdnoklassniki),
  103409. /* harmony export */ "faOdnoklassnikiSquare": () => (/* binding */ faOdnoklassnikiSquare),
  103410. /* harmony export */ "faOldRepublic": () => (/* binding */ faOldRepublic),
  103411. /* harmony export */ "faOpencart": () => (/* binding */ faOpencart),
  103412. /* harmony export */ "faOpenid": () => (/* binding */ faOpenid),
  103413. /* harmony export */ "faOpera": () => (/* binding */ faOpera),
  103414. /* harmony export */ "faOptinMonster": () => (/* binding */ faOptinMonster),
  103415. /* harmony export */ "faOrcid": () => (/* binding */ faOrcid),
  103416. /* harmony export */ "faOsi": () => (/* binding */ faOsi),
  103417. /* harmony export */ "faPadlet": () => (/* binding */ faPadlet),
  103418. /* harmony export */ "faPage4": () => (/* binding */ faPage4),
  103419. /* harmony export */ "faPagelines": () => (/* binding */ faPagelines),
  103420. /* harmony export */ "faPalfed": () => (/* binding */ faPalfed),
  103421. /* harmony export */ "faPatreon": () => (/* binding */ faPatreon),
  103422. /* harmony export */ "faPaypal": () => (/* binding */ faPaypal),
  103423. /* harmony export */ "faPerbyte": () => (/* binding */ faPerbyte),
  103424. /* harmony export */ "faPeriscope": () => (/* binding */ faPeriscope),
  103425. /* harmony export */ "faPhabricator": () => (/* binding */ faPhabricator),
  103426. /* harmony export */ "faPhoenixFramework": () => (/* binding */ faPhoenixFramework),
  103427. /* harmony export */ "faPhoenixSquadron": () => (/* binding */ faPhoenixSquadron),
  103428. /* harmony export */ "faPhp": () => (/* binding */ faPhp),
  103429. /* harmony export */ "faPiedPiper": () => (/* binding */ faPiedPiper),
  103430. /* harmony export */ "faPiedPiperAlt": () => (/* binding */ faPiedPiperAlt),
  103431. /* harmony export */ "faPiedPiperHat": () => (/* binding */ faPiedPiperHat),
  103432. /* harmony export */ "faPiedPiperPp": () => (/* binding */ faPiedPiperPp),
  103433. /* harmony export */ "faPiedPiperSquare": () => (/* binding */ faPiedPiperSquare),
  103434. /* harmony export */ "faPinterest": () => (/* binding */ faPinterest),
  103435. /* harmony export */ "faPinterestP": () => (/* binding */ faPinterestP),
  103436. /* harmony export */ "faPinterestSquare": () => (/* binding */ faPinterestSquare),
  103437. /* harmony export */ "faPix": () => (/* binding */ faPix),
  103438. /* harmony export */ "faPlaystation": () => (/* binding */ faPlaystation),
  103439. /* harmony export */ "faProductHunt": () => (/* binding */ faProductHunt),
  103440. /* harmony export */ "faPushed": () => (/* binding */ faPushed),
  103441. /* harmony export */ "faPython": () => (/* binding */ faPython),
  103442. /* harmony export */ "faQq": () => (/* binding */ faQq),
  103443. /* harmony export */ "faQuinscape": () => (/* binding */ faQuinscape),
  103444. /* harmony export */ "faQuora": () => (/* binding */ faQuora),
  103445. /* harmony export */ "faRProject": () => (/* binding */ faRProject),
  103446. /* harmony export */ "faRaspberryPi": () => (/* binding */ faRaspberryPi),
  103447. /* harmony export */ "faRavelry": () => (/* binding */ faRavelry),
  103448. /* harmony export */ "faReact": () => (/* binding */ faReact),
  103449. /* harmony export */ "faReacteurope": () => (/* binding */ faReacteurope),
  103450. /* harmony export */ "faReadme": () => (/* binding */ faReadme),
  103451. /* harmony export */ "faRebel": () => (/* binding */ faRebel),
  103452. /* harmony export */ "faRedRiver": () => (/* binding */ faRedRiver),
  103453. /* harmony export */ "faReddit": () => (/* binding */ faReddit),
  103454. /* harmony export */ "faRedditAlien": () => (/* binding */ faRedditAlien),
  103455. /* harmony export */ "faRedditSquare": () => (/* binding */ faRedditSquare),
  103456. /* harmony export */ "faRedhat": () => (/* binding */ faRedhat),
  103457. /* harmony export */ "faRendact": () => (/* binding */ faRendact),
  103458. /* harmony export */ "faRenren": () => (/* binding */ faRenren),
  103459. /* harmony export */ "faReplyd": () => (/* binding */ faReplyd),
  103460. /* harmony export */ "faResearchgate": () => (/* binding */ faResearchgate),
  103461. /* harmony export */ "faResolving": () => (/* binding */ faResolving),
  103462. /* harmony export */ "faRev": () => (/* binding */ faRev),
  103463. /* harmony export */ "faRocketchat": () => (/* binding */ faRocketchat),
  103464. /* harmony export */ "faRockrms": () => (/* binding */ faRockrms),
  103465. /* harmony export */ "faRust": () => (/* binding */ faRust),
  103466. /* harmony export */ "faSafari": () => (/* binding */ faSafari),
  103467. /* harmony export */ "faSalesforce": () => (/* binding */ faSalesforce),
  103468. /* harmony export */ "faSass": () => (/* binding */ faSass),
  103469. /* harmony export */ "faSchlix": () => (/* binding */ faSchlix),
  103470. /* harmony export */ "faScreenpal": () => (/* binding */ faScreenpal),
  103471. /* harmony export */ "faScribd": () => (/* binding */ faScribd),
  103472. /* harmony export */ "faSearchengin": () => (/* binding */ faSearchengin),
  103473. /* harmony export */ "faSellcast": () => (/* binding */ faSellcast),
  103474. /* harmony export */ "faSellsy": () => (/* binding */ faSellsy),
  103475. /* harmony export */ "faServicestack": () => (/* binding */ faServicestack),
  103476. /* harmony export */ "faShirtsinbulk": () => (/* binding */ faShirtsinbulk),
  103477. /* harmony export */ "faShopify": () => (/* binding */ faShopify),
  103478. /* harmony export */ "faShopware": () => (/* binding */ faShopware),
  103479. /* harmony export */ "faSimplybuilt": () => (/* binding */ faSimplybuilt),
  103480. /* harmony export */ "faSistrix": () => (/* binding */ faSistrix),
  103481. /* harmony export */ "faSith": () => (/* binding */ faSith),
  103482. /* harmony export */ "faSitrox": () => (/* binding */ faSitrox),
  103483. /* harmony export */ "faSketch": () => (/* binding */ faSketch),
  103484. /* harmony export */ "faSkyatlas": () => (/* binding */ faSkyatlas),
  103485. /* harmony export */ "faSkype": () => (/* binding */ faSkype),
  103486. /* harmony export */ "faSlack": () => (/* binding */ faSlack),
  103487. /* harmony export */ "faSlackHash": () => (/* binding */ faSlackHash),
  103488. /* harmony export */ "faSlideshare": () => (/* binding */ faSlideshare),
  103489. /* harmony export */ "faSnapchat": () => (/* binding */ faSnapchat),
  103490. /* harmony export */ "faSnapchatGhost": () => (/* binding */ faSnapchatGhost),
  103491. /* harmony export */ "faSnapchatSquare": () => (/* binding */ faSnapchatSquare),
  103492. /* harmony export */ "faSoundcloud": () => (/* binding */ faSoundcloud),
  103493. /* harmony export */ "faSourcetree": () => (/* binding */ faSourcetree),
  103494. /* harmony export */ "faSpaceAwesome": () => (/* binding */ faSpaceAwesome),
  103495. /* harmony export */ "faSpeakap": () => (/* binding */ faSpeakap),
  103496. /* harmony export */ "faSpeakerDeck": () => (/* binding */ faSpeakerDeck),
  103497. /* harmony export */ "faSpotify": () => (/* binding */ faSpotify),
  103498. /* harmony export */ "faSquareBehance": () => (/* binding */ faSquareBehance),
  103499. /* harmony export */ "faSquareDribbble": () => (/* binding */ faSquareDribbble),
  103500. /* harmony export */ "faSquareFacebook": () => (/* binding */ faSquareFacebook),
  103501. /* harmony export */ "faSquareFontAwesome": () => (/* binding */ faSquareFontAwesome),
  103502. /* harmony export */ "faSquareFontAwesomeStroke": () => (/* binding */ faSquareFontAwesomeStroke),
  103503. /* harmony export */ "faSquareGit": () => (/* binding */ faSquareGit),
  103504. /* harmony export */ "faSquareGithub": () => (/* binding */ faSquareGithub),
  103505. /* harmony export */ "faSquareGitlab": () => (/* binding */ faSquareGitlab),
  103506. /* harmony export */ "faSquareGooglePlus": () => (/* binding */ faSquareGooglePlus),
  103507. /* harmony export */ "faSquareHackerNews": () => (/* binding */ faSquareHackerNews),
  103508. /* harmony export */ "faSquareInstagram": () => (/* binding */ faSquareInstagram),
  103509. /* harmony export */ "faSquareJs": () => (/* binding */ faSquareJs),
  103510. /* harmony export */ "faSquareLastfm": () => (/* binding */ faSquareLastfm),
  103511. /* harmony export */ "faSquareOdnoklassniki": () => (/* binding */ faSquareOdnoklassniki),
  103512. /* harmony export */ "faSquarePiedPiper": () => (/* binding */ faSquarePiedPiper),
  103513. /* harmony export */ "faSquarePinterest": () => (/* binding */ faSquarePinterest),
  103514. /* harmony export */ "faSquareReddit": () => (/* binding */ faSquareReddit),
  103515. /* harmony export */ "faSquareSnapchat": () => (/* binding */ faSquareSnapchat),
  103516. /* harmony export */ "faSquareSteam": () => (/* binding */ faSquareSteam),
  103517. /* harmony export */ "faSquareTumblr": () => (/* binding */ faSquareTumblr),
  103518. /* harmony export */ "faSquareTwitter": () => (/* binding */ faSquareTwitter),
  103519. /* harmony export */ "faSquareViadeo": () => (/* binding */ faSquareViadeo),
  103520. /* harmony export */ "faSquareVimeo": () => (/* binding */ faSquareVimeo),
  103521. /* harmony export */ "faSquareWhatsapp": () => (/* binding */ faSquareWhatsapp),
  103522. /* harmony export */ "faSquareXing": () => (/* binding */ faSquareXing),
  103523. /* harmony export */ "faSquareYoutube": () => (/* binding */ faSquareYoutube),
  103524. /* harmony export */ "faSquarespace": () => (/* binding */ faSquarespace),
  103525. /* harmony export */ "faStackExchange": () => (/* binding */ faStackExchange),
  103526. /* harmony export */ "faStackOverflow": () => (/* binding */ faStackOverflow),
  103527. /* harmony export */ "faStackpath": () => (/* binding */ faStackpath),
  103528. /* harmony export */ "faStaylinked": () => (/* binding */ faStaylinked),
  103529. /* harmony export */ "faSteam": () => (/* binding */ faSteam),
  103530. /* harmony export */ "faSteamSquare": () => (/* binding */ faSteamSquare),
  103531. /* harmony export */ "faSteamSymbol": () => (/* binding */ faSteamSymbol),
  103532. /* harmony export */ "faStickerMule": () => (/* binding */ faStickerMule),
  103533. /* harmony export */ "faStrava": () => (/* binding */ faStrava),
  103534. /* harmony export */ "faStripe": () => (/* binding */ faStripe),
  103535. /* harmony export */ "faStripeS": () => (/* binding */ faStripeS),
  103536. /* harmony export */ "faStudiovinari": () => (/* binding */ faStudiovinari),
  103537. /* harmony export */ "faStumbleupon": () => (/* binding */ faStumbleupon),
  103538. /* harmony export */ "faStumbleuponCircle": () => (/* binding */ faStumbleuponCircle),
  103539. /* harmony export */ "faSuperpowers": () => (/* binding */ faSuperpowers),
  103540. /* harmony export */ "faSupple": () => (/* binding */ faSupple),
  103541. /* harmony export */ "faSuse": () => (/* binding */ faSuse),
  103542. /* harmony export */ "faSwift": () => (/* binding */ faSwift),
  103543. /* harmony export */ "faSymfony": () => (/* binding */ faSymfony),
  103544. /* harmony export */ "faTeamspeak": () => (/* binding */ faTeamspeak),
  103545. /* harmony export */ "faTelegram": () => (/* binding */ faTelegram),
  103546. /* harmony export */ "faTelegramPlane": () => (/* binding */ faTelegramPlane),
  103547. /* harmony export */ "faTencentWeibo": () => (/* binding */ faTencentWeibo),
  103548. /* harmony export */ "faTheRedYeti": () => (/* binding */ faTheRedYeti),
  103549. /* harmony export */ "faThemeco": () => (/* binding */ faThemeco),
  103550. /* harmony export */ "faThemeisle": () => (/* binding */ faThemeisle),
  103551. /* harmony export */ "faThinkPeaks": () => (/* binding */ faThinkPeaks),
  103552. /* harmony export */ "faTiktok": () => (/* binding */ faTiktok),
  103553. /* harmony export */ "faTradeFederation": () => (/* binding */ faTradeFederation),
  103554. /* harmony export */ "faTrello": () => (/* binding */ faTrello),
  103555. /* harmony export */ "faTumblr": () => (/* binding */ faTumblr),
  103556. /* harmony export */ "faTumblrSquare": () => (/* binding */ faTumblrSquare),
  103557. /* harmony export */ "faTwitch": () => (/* binding */ faTwitch),
  103558. /* harmony export */ "faTwitter": () => (/* binding */ faTwitter),
  103559. /* harmony export */ "faTwitterSquare": () => (/* binding */ faTwitterSquare),
  103560. /* harmony export */ "faTypo3": () => (/* binding */ faTypo3),
  103561. /* harmony export */ "faUber": () => (/* binding */ faUber),
  103562. /* harmony export */ "faUbuntu": () => (/* binding */ faUbuntu),
  103563. /* harmony export */ "faUikit": () => (/* binding */ faUikit),
  103564. /* harmony export */ "faUmbraco": () => (/* binding */ faUmbraco),
  103565. /* harmony export */ "faUncharted": () => (/* binding */ faUncharted),
  103566. /* harmony export */ "faUniregistry": () => (/* binding */ faUniregistry),
  103567. /* harmony export */ "faUnity": () => (/* binding */ faUnity),
  103568. /* harmony export */ "faUnsplash": () => (/* binding */ faUnsplash),
  103569. /* harmony export */ "faUntappd": () => (/* binding */ faUntappd),
  103570. /* harmony export */ "faUps": () => (/* binding */ faUps),
  103571. /* harmony export */ "faUsb": () => (/* binding */ faUsb),
  103572. /* harmony export */ "faUsps": () => (/* binding */ faUsps),
  103573. /* harmony export */ "faUssunnah": () => (/* binding */ faUssunnah),
  103574. /* harmony export */ "faVaadin": () => (/* binding */ faVaadin),
  103575. /* harmony export */ "faViacoin": () => (/* binding */ faViacoin),
  103576. /* harmony export */ "faViadeo": () => (/* binding */ faViadeo),
  103577. /* harmony export */ "faViadeoSquare": () => (/* binding */ faViadeoSquare),
  103578. /* harmony export */ "faViber": () => (/* binding */ faViber),
  103579. /* harmony export */ "faVimeo": () => (/* binding */ faVimeo),
  103580. /* harmony export */ "faVimeoSquare": () => (/* binding */ faVimeoSquare),
  103581. /* harmony export */ "faVimeoV": () => (/* binding */ faVimeoV),
  103582. /* harmony export */ "faVine": () => (/* binding */ faVine),
  103583. /* harmony export */ "faVk": () => (/* binding */ faVk),
  103584. /* harmony export */ "faVnv": () => (/* binding */ faVnv),
  103585. /* harmony export */ "faVuejs": () => (/* binding */ faVuejs),
  103586. /* harmony export */ "faWatchmanMonitoring": () => (/* binding */ faWatchmanMonitoring),
  103587. /* harmony export */ "faWaze": () => (/* binding */ faWaze),
  103588. /* harmony export */ "faWeebly": () => (/* binding */ faWeebly),
  103589. /* harmony export */ "faWeibo": () => (/* binding */ faWeibo),
  103590. /* harmony export */ "faWeixin": () => (/* binding */ faWeixin),
  103591. /* harmony export */ "faWhatsapp": () => (/* binding */ faWhatsapp),
  103592. /* harmony export */ "faWhatsappSquare": () => (/* binding */ faWhatsappSquare),
  103593. /* harmony export */ "faWhmcs": () => (/* binding */ faWhmcs),
  103594. /* harmony export */ "faWikipediaW": () => (/* binding */ faWikipediaW),
  103595. /* harmony export */ "faWindows": () => (/* binding */ faWindows),
  103596. /* harmony export */ "faWirsindhandwerk": () => (/* binding */ faWirsindhandwerk),
  103597. /* harmony export */ "faWix": () => (/* binding */ faWix),
  103598. /* harmony export */ "faWizardsOfTheCoast": () => (/* binding */ faWizardsOfTheCoast),
  103599. /* harmony export */ "faWodu": () => (/* binding */ faWodu),
  103600. /* harmony export */ "faWolfPackBattalion": () => (/* binding */ faWolfPackBattalion),
  103601. /* harmony export */ "faWordpress": () => (/* binding */ faWordpress),
  103602. /* harmony export */ "faWordpressSimple": () => (/* binding */ faWordpressSimple),
  103603. /* harmony export */ "faWpbeginner": () => (/* binding */ faWpbeginner),
  103604. /* harmony export */ "faWpexplorer": () => (/* binding */ faWpexplorer),
  103605. /* harmony export */ "faWpforms": () => (/* binding */ faWpforms),
  103606. /* harmony export */ "faWpressr": () => (/* binding */ faWpressr),
  103607. /* harmony export */ "faWsh": () => (/* binding */ faWsh),
  103608. /* harmony export */ "faXbox": () => (/* binding */ faXbox),
  103609. /* harmony export */ "faXing": () => (/* binding */ faXing),
  103610. /* harmony export */ "faXingSquare": () => (/* binding */ faXingSquare),
  103611. /* harmony export */ "faYCombinator": () => (/* binding */ faYCombinator),
  103612. /* harmony export */ "faYahoo": () => (/* binding */ faYahoo),
  103613. /* harmony export */ "faYammer": () => (/* binding */ faYammer),
  103614. /* harmony export */ "faYandex": () => (/* binding */ faYandex),
  103615. /* harmony export */ "faYandexInternational": () => (/* binding */ faYandexInternational),
  103616. /* harmony export */ "faYarn": () => (/* binding */ faYarn),
  103617. /* harmony export */ "faYelp": () => (/* binding */ faYelp),
  103618. /* harmony export */ "faYoast": () => (/* binding */ faYoast),
  103619. /* harmony export */ "faYoutube": () => (/* binding */ faYoutube),
  103620. /* harmony export */ "faYoutubeSquare": () => (/* binding */ faYoutubeSquare),
  103621. /* harmony export */ "faZhihu": () => (/* binding */ faZhihu),
  103622. /* harmony export */ "fab": () => (/* binding */ icons),
  103623. /* harmony export */ "prefix": () => (/* binding */ prefix)
  103624. /* harmony export */ });
  103625. var prefix = "fab";
  103626. var faMonero = {
  103627. prefix: 'fab',
  103628. iconName: 'monero',
  103629. icon: [496, 512, [], "f3d0", "M352 384h108.4C417 455.9 338.1 504 248 504S79 455.9 35.6 384H144V256.2L248 361l104-105v128zM88 336V128l159.4 159.4L408 128v208h74.8c8.5-25.1 13.2-52 13.2-80C496 119 385 8 248 8S0 119 0 256c0 28 4.6 54.9 13.2 80H88z"]
  103630. };
  103631. var faHooli = {
  103632. prefix: 'fab',
  103633. iconName: 'hooli',
  103634. icon: [640, 512, [], "f427", "M144.5 352l38.3.8c-13.2-4.6-26-10.2-38.3-16.8zm57.7-5.3v5.3l-19.4.8c36.5 12.5 69.9 14.2 94.7 7.2-19.9.2-45.8-2.6-75.3-13.3zm408.9-115.2c15.9 0 28.9-12.9 28.9-28.9s-12.9-24.5-28.9-24.5c-15.9 0-28.9 8.6-28.9 24.5s12.9 28.9 28.9 28.9zm-29 120.5H640V241.5h-57.9zm-73.7 0h57.9V156.7L508.4 184zm-31-119.4c-18.2-18.2-50.4-17.1-50.4-17.1s-32.3-1.1-50.4 17.1c-18.2 18.2-16.8 33.9-16.8 52.6s-1.4 34.3 16.8 52.5 50.4 17.1 50.4 17.1 32.3 1.1 50.4-17.1c18.2-18.2 16.8-33.8 16.8-52.5-.1-18.8 1.3-34.5-16.8-52.6zm-39.8 71.9c0 3.6-1.8 12.5-10.7 12.5s-10.7-8.9-10.7-12.5v-40.4c0-8.7 7.3-10.9 10.7-10.9s10.7 2.1 10.7 10.9zm-106.2-71.9c-18.2-18.2-50.4-17.1-50.4-17.1s-32.2-1.1-50.4 17.1c-1.9 1.9-3.7 3.9-5.3 6-38.2-29.6-72.5-46.5-102.1-61.1v-20.7l-22.5 10.6c-54.4-22.1-89-18.2-97.3.1 0 0-24.9 32.8 61.8 110.8V352h57.9v-28.6c-6.5-4.2-13-8.7-19.4-13.6-14.8-11.2-27.4-21.6-38.4-31.4v-31c13.1 14.7 30.5 31.4 53.4 50.3l4.5 3.6v-29.8c0-6.9 1.7-18.2 10.8-18.2s10.6 6.9 10.6 15V317c18 12.2 37.3 22.1 57.7 29.6v-93.9c0-18.7-13.4-37.4-40.6-37.4-15.8-.1-30.5 8.2-38.5 21.9v-54.3c41.9 20.9 83.9 46.5 99.9 58.3-10.2 14.6-9.3 28.1-9.3 43.7 0 18.7-1.4 34.3 16.8 52.5s50.4 17.1 50.4 17.1 32.3 1.1 50.4-17.1c18.2-18.2 16.7-33.8 16.7-52.5 0-18.5 1.5-34.2-16.7-52.3zM65.2 184v63.3c-48.7-54.5-38.9-76-35.2-79.1 13.5-11.4 37.5-8 64.4 2.1zm226.5 120.5c0 3.6-1.8 12.5-10.7 12.5s-10.7-8.9-10.7-12.5v-40.4c0-8.7 7.3-10.9 10.7-10.9s10.7 2.1 10.7 10.9z"]
  103635. };
  103636. var faYelp = {
  103637. prefix: 'fab',
  103638. iconName: 'yelp',
  103639. icon: [384, 512, [], "f1e9", "M42.9 240.32l99.62 48.61c19.2 9.4 16.2 37.51-4.5 42.71L30.5 358.45a22.79 22.79 0 0 1-28.21-19.6 197.16 197.16 0 0 1 9-85.32 22.8 22.8 0 0 1 31.61-13.21zm44 239.25a199.45 199.45 0 0 0 79.42 32.11A22.78 22.78 0 0 0 192.94 490l3.9-110.82c.7-21.3-25.5-31.91-39.81-16.1l-74.21 82.4a22.82 22.82 0 0 0 4.09 34.09zm145.34-109.92l58.81 94a22.93 22.93 0 0 0 34 5.5 198.36 198.36 0 0 0 52.71-67.61A23 23 0 0 0 364.17 370l-105.42-34.26c-20.31-6.5-37.81 15.8-26.51 33.91zm148.33-132.23a197.44 197.44 0 0 0-50.41-69.31 22.85 22.85 0 0 0-34 4.4l-62 91.92c-11.9 17.7 4.7 40.61 25.2 34.71L366 268.63a23 23 0 0 0 14.61-31.21zM62.11 30.18a22.86 22.86 0 0 0-9.9 32l104.12 180.44c11.7 20.2 42.61 11.9 42.61-11.4V22.88a22.67 22.67 0 0 0-24.5-22.8 320.37 320.37 0 0 0-112.33 30.1z"]
  103640. };
  103641. var faCcVisa = {
  103642. prefix: 'fab',
  103643. iconName: 'cc-visa',
  103644. icon: [576, 512, [], "f1f0", "M470.1 231.3s7.6 37.2 9.3 45H446c3.3-8.9 16-43.5 16-43.5-.2.3 3.3-9.1 5.3-14.9l2.8 13.4zM576 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h480c26.5 0 48 21.5 48 48zM152.5 331.2L215.7 176h-42.5l-39.3 106-4.3-21.5-14-71.4c-2.3-9.9-9.4-12.7-18.2-13.1H32.7l-.7 3.1c15.8 4 29.9 9.8 42.2 17.1l35.8 135h42.5zm94.4.2L272.1 176h-40.2l-25.1 155.4h40.1zm139.9-50.8c.2-17.7-10.6-31.2-33.7-42.3-14.1-7.1-22.7-11.9-22.7-19.2.2-6.6 7.3-13.4 23.1-13.4 13.1-.3 22.7 2.8 29.9 5.9l3.6 1.7 5.5-33.6c-7.9-3.1-20.5-6.6-36-6.6-39.7 0-67.6 21.2-67.8 51.4-.3 22.3 20 34.7 35.2 42.2 15.5 7.6 20.8 12.6 20.8 19.3-.2 10.4-12.6 15.2-24.1 15.2-16 0-24.6-2.5-37.7-8.3l-5.3-2.5-5.6 34.9c9.4 4.3 26.8 8.1 44.8 8.3 42.2.1 69.7-20.8 70-53zM528 331.4L495.6 176h-31.1c-9.6 0-16.9 2.8-21 12.9l-59.7 142.5H426s6.9-19.2 8.4-23.3H486c1.2 5.5 4.8 23.3 4.8 23.3H528z"]
  103645. };
  103646. var faLastfm = {
  103647. prefix: 'fab',
  103648. iconName: 'lastfm',
  103649. icon: [512, 512, [], "f202", "M225.8 367.1l-18.8-51s-30.5 34-76.2 34c-40.5 0-69.2-35.2-69.2-91.5 0-72.1 36.4-97.9 72.1-97.9 66.5 0 74.8 53.3 100.9 134.9 18.8 56.9 54 102.6 155.4 102.6 72.7 0 122-22.3 122-80.9 0-72.9-62.7-80.6-115-92.1-25.8-5.9-33.4-16.4-33.4-34 0-19.9 15.8-31.7 41.6-31.7 28.2 0 43.4 10.6 45.7 35.8l58.6-7c-4.7-52.8-41.1-74.5-100.9-74.5-52.8 0-104.4 19.9-104.4 83.9 0 39.9 19.4 65.1 68 76.8 44.9 10.6 79.8 13.8 79.8 45.7 0 21.7-21.1 30.5-61 30.5-59.2 0-83.9-31.1-97.9-73.9-32-96.8-43.6-163-161.3-163C45.7 113.8 0 168.3 0 261c0 89.1 45.7 137.2 127.9 137.2 66.2 0 97.9-31.1 97.9-31.1z"]
  103650. };
  103651. var faShopware = {
  103652. prefix: 'fab',
  103653. iconName: 'shopware',
  103654. icon: [512, 512, [], "f5b5", "M403.5 455.41A246.17 246.17 0 0 1 256 504C118.81 504 8 393 8 256 8 118.81 119 8 256 8a247.39 247.39 0 0 1 165.7 63.5 3.57 3.57 0 0 1-2.86 6.18A418.62 418.62 0 0 0 362.13 74c-129.36 0-222.4 53.47-222.4 155.35 0 109 92.13 145.88 176.83 178.73 33.64 13 65.4 25.36 87 41.59a3.58 3.58 0 0 1 0 5.72zM503 233.09a3.64 3.64 0 0 0-1.27-2.44c-51.76-43-93.62-60.48-144.48-60.48-84.13 0-80.25 52.17-80.25 53.63 0 42.6 52.06 62 112.34 84.49 31.07 11.59 63.19 23.57 92.68 39.93a3.57 3.57 0 0 0 5-1.82A249 249 0 0 0 503 233.09z"]
  103655. };
  103656. var faCreativeCommonsNc = {
  103657. prefix: 'fab',
  103658. iconName: 'creative-commons-nc',
  103659. icon: [496, 512, [], "f4e8", "M247.6 8C387.4 8 496 115.9 496 256c0 147.2-118.5 248-248.4 248C113.1 504 0 393.2 0 256 0 123.1 104.7 8 247.6 8zM55.8 189.1c-7.4 20.4-11.1 42.7-11.1 66.9 0 110.9 92.1 202.4 203.7 202.4 122.4 0 177.2-101.8 178.5-104.1l-93.4-41.6c-7.7 37.1-41.2 53-68.2 55.4v38.1h-28.8V368c-27.5-.3-52.6-10.2-75.3-29.7l34.1-34.5c31.7 29.4 86.4 31.8 86.4-2.2 0-6.2-2.2-11.2-6.6-15.1-14.2-6-1.8-.1-219.3-97.4zM248.4 52.3c-38.4 0-112.4 8.7-170.5 93l94.8 42.5c10-31.3 40.4-42.9 63.8-44.3v-38.1h28.8v38.1c22.7 1.2 43.4 8.9 62 23L295 199.7c-42.7-29.9-83.5-8-70 11.1 53.4 24.1 43.8 19.8 93 41.6l127.1 56.7c4.1-17.4 6.2-35.1 6.2-53.1 0-57-19.8-105-59.3-143.9-39.3-39.9-87.2-59.8-143.6-59.8z"]
  103660. };
  103661. var faAws = {
  103662. prefix: 'fab',
  103663. iconName: 'aws',
  103664. icon: [640, 512, [], "f375", "M180.41 203.01c-.72 22.65 10.6 32.68 10.88 39.05a8.164 8.164 0 0 1-4.1 6.27l-12.8 8.96a10.66 10.66 0 0 1-5.63 1.92c-.43-.02-8.19 1.83-20.48-25.61a78.608 78.608 0 0 1-62.61 29.45c-16.28.89-60.4-9.24-58.13-56.21-1.59-38.28 34.06-62.06 70.93-60.05 7.1.02 21.6.37 46.99 6.27v-15.62c2.69-26.46-14.7-46.99-44.81-43.91-2.4.01-19.4-.5-45.84 10.11-7.36 3.38-8.3 2.82-10.75 2.82-7.41 0-4.36-21.48-2.94-24.2 5.21-6.4 35.86-18.35 65.94-18.18a76.857 76.857 0 0 1 55.69 17.28 70.285 70.285 0 0 1 17.67 52.36l-.01 69.29zM93.99 235.4c32.43-.47 46.16-19.97 49.29-30.47 2.46-10.05 2.05-16.41 2.05-27.4-9.67-2.32-23.59-4.85-39.56-4.87-15.15-1.14-42.82 5.63-41.74 32.26-1.24 16.79 11.12 31.4 29.96 30.48zm170.92 23.05c-7.86.72-11.52-4.86-12.68-10.37l-49.8-164.65c-.97-2.78-1.61-5.65-1.92-8.58a4.61 4.61 0 0 1 3.86-5.25c.24-.04-2.13 0 22.25 0 8.78-.88 11.64 6.03 12.55 10.37l35.72 140.83 33.16-140.83c.53-3.22 2.94-11.07 12.8-10.24h17.16c2.17-.18 11.11-.5 12.68 10.37l33.42 142.63L420.98 80.1c.48-2.18 2.72-11.37 12.68-10.37h19.72c.85-.13 6.15-.81 5.25 8.58-.43 1.85 3.41-10.66-52.75 169.9-1.15 5.51-4.82 11.09-12.68 10.37h-18.69c-10.94 1.15-12.51-9.66-12.68-10.75L328.67 110.7l-32.78 136.99c-.16 1.09-1.73 11.9-12.68 10.75h-18.3zm273.48 5.63c-5.88.01-33.92-.3-57.36-12.29a12.802 12.802 0 0 1-7.81-11.91v-10.75c0-8.45 6.2-6.9 8.83-5.89 10.04 4.06 16.48 7.14 28.81 9.6 36.65 7.53 52.77-2.3 56.72-4.48 13.15-7.81 14.19-25.68 5.25-34.95-10.48-8.79-15.48-9.12-53.13-21-4.64-1.29-43.7-13.61-43.79-52.36-.61-28.24 25.05-56.18 69.52-55.95 12.67-.01 46.43 4.13 55.57 15.62 1.35 2.09 2.02 4.55 1.92 7.04v10.11c0 4.44-1.62 6.66-4.87 6.66-7.71-.86-21.39-11.17-49.16-10.75-6.89-.36-39.89.91-38.41 24.97-.43 18.96 26.61 26.07 29.7 26.89 36.46 10.97 48.65 12.79 63.12 29.58 17.14 22.25 7.9 48.3 4.35 55.44-19.08 37.49-68.42 34.44-69.26 34.42zm40.2 104.86c-70.03 51.72-171.69 79.25-258.49 79.25A469.127 469.127 0 0 1 2.83 327.46c-6.53-5.89-.77-13.96 7.17-9.47a637.37 637.37 0 0 0 316.88 84.12 630.22 630.22 0 0 0 241.59-49.55c11.78-5 21.77 7.8 10.12 16.38zm29.19-33.29c-8.96-11.52-59.28-5.38-81.81-2.69-6.79.77-7.94-5.12-1.79-9.47 40.07-28.17 105.88-20.1 113.44-10.63 7.55 9.47-2.05 75.41-39.56 106.91-5.76 4.87-11.27 2.3-8.71-4.1 8.44-21.25 27.39-68.49 18.43-80.02z"]
  103665. };
  103666. var faRedhat = {
  103667. prefix: 'fab',
  103668. iconName: 'redhat',
  103669. icon: [512, 512, [], "f7bc", "M341.52 285.56c33.65 0 82.34-6.94 82.34-47 .22-6.74.86-1.82-20.88-96.24-4.62-19.15-8.68-27.84-42.31-44.65-26.09-13.34-82.92-35.37-99.73-35.37-15.66 0-20.2 20.17-38.87 20.17-18 0-31.31-15.06-48.12-15.06-16.14 0-26.66 11-34.78 33.62-27.5 77.55-26.28 74.27-26.12 78.27 0 24.8 97.64 106.11 228.47 106.11M429 254.84c4.65 22 4.65 24.35 4.65 27.25 0 37.66-42.33 58.56-98 58.56-125.74.08-235.91-73.65-235.91-122.33a49.55 49.55 0 0 1 4.06-19.72C58.56 200.86 0 208.93 0 260.63c0 84.67 200.63 189 359.49 189 121.79 0 152.51-55.08 152.51-98.58 0-34.21-29.59-73.05-82.93-96.24"]
  103670. };
  103671. var faYoast = {
  103672. prefix: 'fab',
  103673. iconName: 'yoast',
  103674. icon: [448, 512, [], "f2b1", "M91.3 76h186l-7 18.9h-179c-39.7 0-71.9 31.6-71.9 70.3v205.4c0 35.4 24.9 70.3 84 70.3V460H91.3C41.2 460 0 419.8 0 370.5V165.2C0 115.9 40.7 76 91.3 76zm229.1-56h66.5C243.1 398.1 241.2 418.9 202.2 459.3c-20.8 21.6-49.3 31.7-78.3 32.7v-51.1c49.2-7.7 64.6-49.9 64.6-75.3 0-20.1.6-12.6-82.1-223.2h61.4L218.2 299 320.4 20zM448 161.5V460H234c6.6-9.6 10.7-16.3 12.1-19.4h182.5V161.5c0-32.5-17.1-51.9-48.2-62.9l6.7-17.6c41.7 13.6 60.9 43.1 60.9 80.5z"]
  103675. };
  103676. var faCloudflare = {
  103677. prefix: 'fab',
  103678. iconName: 'cloudflare',
  103679. icon: [640, 512, [], "e07d", "M407.906,319.913l-230.8-2.928a4.58,4.58,0,0,1-3.632-1.926,4.648,4.648,0,0,1-.494-4.147,6.143,6.143,0,0,1,5.361-4.076L411.281,303.9c27.631-1.26,57.546-23.574,68.022-50.784l13.286-34.542a7.944,7.944,0,0,0,.524-2.936,7.735,7.735,0,0,0-.164-1.631A151.91,151.91,0,0,0,201.257,198.4,68.12,68.12,0,0,0,94.2,269.59C41.924,271.106,0,313.728,0,366.12a96.054,96.054,0,0,0,1.029,13.958,4.508,4.508,0,0,0,4.445,3.871l426.1.051c.043,0,.08-.019.122-.02a5.606,5.606,0,0,0,5.271-4l3.273-11.265c3.9-13.4,2.448-25.8-4.1-34.9C430.124,325.423,420.09,320.487,407.906,319.913ZM513.856,221.1c-2.141,0-4.271.062-6.391.164a3.771,3.771,0,0,0-3.324,2.653l-9.077,31.193c-3.9,13.4-2.449,25.786,4.1,34.89,6.02,8.4,16.054,13.323,28.238,13.9l49.2,2.939a4.491,4.491,0,0,1,3.51,1.894,4.64,4.64,0,0,1,.514,4.169,6.153,6.153,0,0,1-5.351,4.075l-51.125,2.939c-27.754,1.27-57.669,23.574-68.145,50.784l-3.695,9.606a2.716,2.716,0,0,0,2.427,3.68c.046,0,.088.017.136.017h175.91a4.69,4.69,0,0,0,4.539-3.37,124.807,124.807,0,0,0,4.682-34C640,277.3,583.524,221.1,513.856,221.1Z"]
  103680. };
  103681. var faUps = {
  103682. prefix: 'fab',
  103683. iconName: 'ups',
  103684. icon: [384, 512, [], "f7e0", "M103.2 303c-5.2 3.6-32.6 13.1-32.6-19V180H37.9v102.6c0 74.9 80.2 51.1 97.9 39V180h-32.6zM4 74.82v220.9c0 103.7 74.9 135.2 187.7 184.1 112.4-48.9 187.7-80.2 187.7-184.1V74.82c-116.3-61.6-281.8-49.6-375.4 0zm358.1 220.9c0 86.6-53.2 113.6-170.4 165.3-117.5-51.8-170.5-78.7-170.5-165.3v-126.4c102.3-93.8 231.6-100 340.9-89.8zm-209.6-107.4v212.8h32.7v-68.7c24.4 7.3 71.7-2.6 71.7-78.5 0-97.4-80.7-80.92-104.4-65.6zm32.7 117.3v-100.3c8.4-4.2 38.4-12.7 38.4 49.3 0 67.9-36.4 51.8-38.4 51zm79.1-86.4c.1 47.3 51.6 42.5 52.2 70.4.6 23.5-30.4 23-50.8 4.9v30.1c36.2 21.5 81.9 8.1 83.2-33.5 1.7-51.5-54.1-46.6-53.4-73.2.6-20.3 30.6-20.5 48.5-2.2v-28.4c-28.5-22-79.9-9.2-79.7 31.9z"]
  103685. };
  103686. var faWpexplorer = {
  103687. prefix: 'fab',
  103688. iconName: 'wpexplorer',
  103689. icon: [512, 512, [], "f2de", "M512 256c0 141.2-114.7 256-256 256C114.8 512 0 397.3 0 256S114.7 0 256 0s256 114.7 256 256zm-32 0c0-123.2-100.3-224-224-224C132.5 32 32 132.5 32 256s100.5 224 224 224 224-100.5 224-224zM160.9 124.6l86.9 37.1-37.1 86.9-86.9-37.1 37.1-86.9zm110 169.1l46.6 94h-14.6l-50-100-48.9 100h-14l51.1-106.9-22.3-9.4 6-14 68.6 29.1-6 14.3-16.5-7.1zm-11.8-116.3l68.6 29.4-29.4 68.3L230 246l29.1-68.6zm80.3 42.9l54.6 23.1-23.4 54.3-54.3-23.1 23.1-54.3z"]
  103690. };
  103691. var faDyalog = {
  103692. prefix: 'fab',
  103693. iconName: 'dyalog',
  103694. icon: [416, 512, [], "f399", "M0 32v119.2h64V96h107.2C284.6 96 352 176.2 352 255.9 352 332 293.4 416 171.2 416H0v64h171.2C331.9 480 416 367.3 416 255.9c0-58.7-22.1-113.4-62.3-154.3C308.9 56 245.7 32 171.2 32H0z"]
  103695. };
  103696. var faBity = {
  103697. prefix: 'fab',
  103698. iconName: 'bity',
  103699. icon: [496, 512, [], "f37a", "M78.4 67.2C173.8-22 324.5-24 421.5 71c14.3 14.1-6.4 37.1-22.4 21.5-84.8-82.4-215.8-80.3-298.9-3.2-16.3 15.1-36.5-8.3-21.8-22.1zm98.9 418.6c19.3 5.7 29.3-23.6 7.9-30C73 421.9 9.4 306.1 37.7 194.8c5-19.6-24.9-28.1-30.2-7.1-32.1 127.4 41.1 259.8 169.8 298.1zm148.1-2c121.9-40.2 192.9-166.9 164.4-291-4.5-19.7-34.9-13.8-30 7.9 24.2 107.7-37.1 217.9-143.2 253.4-21.2 7-10.4 36 8.8 29.7zm-62.9-79l.2-71.8c0-8.2-6.6-14.8-14.8-14.8-8.2 0-14.8 6.7-14.8 14.8l-.2 71.8c0 8.2 6.6 14.8 14.8 14.8s14.8-6.6 14.8-14.8zm71-269c2.1 90.9 4.7 131.9-85.5 132.5-92.5-.7-86.9-44.3-85.5-132.5 0-21.8-32.5-19.6-32.5 0v71.6c0 69.3 60.7 90.9 118 90.1 57.3.8 118-20.8 118-90.1v-71.6c0-19.6-32.5-21.8-32.5 0z"]
  103700. };
  103701. var faStackpath = {
  103702. prefix: 'fab',
  103703. iconName: 'stackpath',
  103704. icon: [448, 512, [], "f842", "M244.6 232.4c0 8.5-4.26 20.49-21.34 20.49h-19.61v-41.47h19.61c17.13 0 21.34 12.36 21.34 20.98zM448 32v448H0V32zM151.3 287.84c0-21.24-12.12-34.54-46.72-44.85-20.57-7.41-26-10.91-26-18.63s7-14.61 20.41-14.61c14.09 0 20.79 8.45 20.79 18.35h30.7l.19-.57c.5-19.57-15.06-41.65-51.12-41.65-23.37 0-52.55 10.75-52.55 38.29 0 19.4 9.25 31.29 50.74 44.37 17.26 6.15 21.91 10.4 21.91 19.48 0 15.2-19.13 14.23-19.47 14.23-20.4 0-25.65-9.1-25.65-21.9h-30.8l-.18.56c-.68 31.32 28.38 45.22 56.63 45.22 29.98 0 51.12-13.55 51.12-38.29zm125.38-55.63c0-25.3-18.43-45.46-53.42-45.46h-51.78v138.18h32.17v-47.36h19.61c30.25 0 53.42-15.95 53.42-45.36zM297.94 325L347 186.78h-31.09L268 325zm106.52-138.22h-31.09L325.46 325h29.94z"]
  103705. };
  103706. var faBuysellads = {
  103707. prefix: 'fab',
  103708. iconName: 'buysellads',
  103709. icon: [448, 512, [], "f20d", "M224 150.7l42.9 160.7h-85.8L224 150.7zM448 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-65.3 325.3l-94.5-298.7H159.8L65.3 405.3H156l111.7-91.6 24.2 91.6h90.8z"]
  103710. };
  103711. var faFirstOrder = {
  103712. prefix: 'fab',
  103713. iconName: 'first-order',
  103714. icon: [448, 512, [], "f2b0", "M12.9 229.2c.1-.1.2-.3.3-.4 0 .1 0 .3-.1.4h-.2zM224 96.6c-7.1 0-14.6.6-21.4 1.7l3.7 67.4-22-64c-14.3 3.7-27.7 9.4-40 16.6l29.4 61.4-45.1-50.9c-11.4 8.9-21.7 19.1-30.6 30.9l50.6 45.4-61.1-29.7c-7.1 12.3-12.9 25.7-16.6 40l64.3 22.6-68-4c-.9 7.1-1.4 14.6-1.4 22s.6 14.6 1.4 21.7l67.7-4-64 22.6c3.7 14.3 9.4 27.7 16.6 40.3l61.1-29.7L97.7 352c8.9 11.7 19.1 22.3 30.9 30.9l44.9-50.9-29.5 61.4c12.3 7.4 25.7 13.1 40 16.9l22.3-64.6-4 68c7.1 1.1 14.6 1.7 21.7 1.7 7.4 0 14.6-.6 21.7-1.7l-4-68.6 22.6 65.1c14.3-4 27.7-9.4 40-16.9L274.9 332l44.9 50.9c11.7-8.9 22-19.1 30.6-30.9l-50.6-45.1 61.1 29.4c7.1-12.3 12.9-25.7 16.6-40.3l-64-22.3 67.4 4c1.1-7.1 1.4-14.3 1.4-21.7s-.3-14.9-1.4-22l-67.7 4 64-22.3c-3.7-14.3-9.1-28-16.6-40.3l-60.9 29.7 50.6-45.4c-8.9-11.7-19.1-22-30.6-30.9l-45.1 50.9 29.4-61.1c-12.3-7.4-25.7-13.1-40-16.9L241.7 166l4-67.7c-7.1-1.2-14.3-1.7-21.7-1.7zM443.4 128v256L224 512 4.6 384V128L224 0l219.4 128zm-17.1 10.3L224 20.9 21.7 138.3v235.1L224 491.1l202.3-117.7V138.3zM224 37.1l187.7 109.4v218.9L224 474.9 36.3 365.4V146.6L224 37.1zm0 50.9c-92.3 0-166.9 75.1-166.9 168 0 92.6 74.6 167.7 166.9 167.7 92 0 166.9-75.1 166.9-167.7 0-92.9-74.9-168-166.9-168z"]
  103715. };
  103716. var faModx = {
  103717. prefix: 'fab',
  103718. iconName: 'modx',
  103719. icon: [448, 512, [], "f285", "M356 241.8l36.7 23.7V480l-133-83.8L356 241.8zM440 75H226.3l-23 37.8 153.5 96.5L440 75zm-89 142.8L55.2 32v214.5l46 29L351 217.8zM97 294.2L8 437h213.7l125-200.5L97 294.2z"]
  103720. };
  103721. var faGuilded = {
  103722. prefix: 'fab',
  103723. iconName: 'guilded',
  103724. icon: [448, 512, [], "e07e", "M443.427,64H4.571c0,103.26,22.192,180.06,43.418,222.358C112.046,414.135,224,448,225.256,448a312.824,312.824,0,0,0,140.55-103.477c25.907-33.923,53.1-87.19,65.916-145.761H171.833c4.14,36.429,22.177,67.946,45.1,86.944h88.589c-17.012,28.213-48.186,54.4-80.456,69.482-31.232-13.259-69.09-46.544-96.548-98.362-26.726-53.833-27.092-105.883-27.092-105.883H437.573A625.91,625.91,0,0,0,443.427,64Z"]
  103725. };
  103726. var faVnv = {
  103727. prefix: 'fab',
  103728. iconName: 'vnv',
  103729. icon: [640, 512, [], "f40b", "M104.9 352c-34.1 0-46.4-30.4-46.4-30.4L2.6 210.1S-7.8 192 13 192h32.8c10.4 0 13.2 8.7 18.8 18.1l36.7 74.5s5.2 13.1 21.1 13.1 21.1-13.1 21.1-13.1l36.7-74.5c5.6-9.5 8.4-18.1 18.8-18.1h32.8c20.8 0 10.4 18.1 10.4 18.1l-55.8 111.5S174.2 352 140 352h-35.1zm395 0c-34.1 0-46.4-30.4-46.4-30.4l-55.9-111.5S387.2 192 408 192h32.8c10.4 0 13.2 8.7 18.8 18.1l36.7 74.5s5.2 13.1 21.1 13.1 21.1-13.1 21.1-13.1l36.8-74.5c5.6-9.5 8.4-18.1 18.8-18.1H627c20.8 0 10.4 18.1 10.4 18.1l-55.9 111.5S569.3 352 535.1 352h-35.2zM337.6 192c34.1 0 46.4 30.4 46.4 30.4l55.9 111.5s10.4 18.1-10.4 18.1h-32.8c-10.4 0-13.2-8.7-18.8-18.1l-36.7-74.5s-5.2-13.1-21.1-13.1c-15.9 0-21.1 13.1-21.1 13.1l-36.7 74.5c-5.6 9.4-8.4 18.1-18.8 18.1h-32.9c-20.8 0-10.4-18.1-10.4-18.1l55.9-111.5s12.2-30.4 46.4-30.4h35.1z"]
  103730. };
  103731. var faSquareJs = {
  103732. prefix: 'fab',
  103733. iconName: 'square-js',
  103734. icon: [448, 512, ["js-square"], "f3b9", "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-48zM243.8 381.4c0 43.6-25.6 63.5-62.9 63.5-33.7 0-53.2-17.4-63.2-38.5l34.3-20.7c6.6 11.7 12.6 21.6 27.1 21.6 13.8 0 22.6-5.4 22.6-26.5V237.7h42.1v143.7zm99.6 63.5c-39.1 0-64.4-18.6-76.7-43l34.3-19.8c9 14.7 20.8 25.6 41.5 25.6 17.4 0 28.6-8.7 28.6-20.8 0-14.4-11.4-19.5-30.7-28l-10.5-4.5c-30.4-12.9-50.5-29.2-50.5-63.5 0-31.6 24.1-55.6 61.6-55.6 26.8 0 46 9.3 59.8 33.7L368 290c-7.2-12.9-15-18-27.1-18-12.3 0-20.1 7.8-20.1 18 0 12.6 7.8 17.7 25.9 25.6l10.5 4.5c35.8 15.3 55.9 31 55.9 66.2 0 37.8-29.8 58.6-69.7 58.6z"]
  103735. };
  103736. var faJsSquare = faSquareJs;
  103737. var faMicrosoft = {
  103738. prefix: 'fab',
  103739. iconName: 'microsoft',
  103740. icon: [448, 512, [], "f3ca", "M0 32h214.6v214.6H0V32zm233.4 0H448v214.6H233.4V32zM0 265.4h214.6V480H0V265.4zm233.4 0H448V480H233.4V265.4z"]
  103741. };
  103742. var faQq = {
  103743. prefix: 'fab',
  103744. iconName: 'qq',
  103745. icon: [448, 512, [], "f1d6", "M433.754 420.445c-11.526 1.393-44.86-52.741-44.86-52.741 0 31.345-16.136 72.247-51.051 101.786 16.842 5.192 54.843 19.167 45.803 34.421-7.316 12.343-125.51 7.881-159.632 4.037-34.122 3.844-152.316 8.306-159.632-4.037-9.045-15.25 28.918-29.214 45.783-34.415-34.92-29.539-51.059-70.445-51.059-101.792 0 0-33.334 54.134-44.859 52.741-5.37-.65-12.424-29.644 9.347-99.704 10.261-33.024 21.995-60.478 40.144-105.779C60.683 98.063 108.982.006 224 0c113.737.006 163.156 96.133 160.264 214.963 18.118 45.223 29.912 72.85 40.144 105.778 21.768 70.06 14.716 99.053 9.346 99.704z"]
  103746. };
  103747. var faOrcid = {
  103748. prefix: 'fab',
  103749. iconName: 'orcid',
  103750. icon: [512, 512, [], "f8d2", "M294.75 188.19h-45.92V342h47.47c67.62 0 83.12-51.34 83.12-76.91 0-41.64-26.54-76.9-84.67-76.9zM256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm-80.79 360.76h-29.84v-207.5h29.84zm-14.92-231.14a19.57 19.57 0 1 1 19.57-19.57 19.64 19.64 0 0 1-19.57 19.57zM300 369h-81V161.26h80.6c76.73 0 110.44 54.83 110.44 103.85C410 318.39 368.38 369 300 369z"]
  103751. };
  103752. var faJava = {
  103753. prefix: 'fab',
  103754. iconName: 'java',
  103755. icon: [384, 512, [], "f4e4", "M277.74 312.9c9.8-6.7 23.4-12.5 23.4-12.5s-38.7 7-77.2 10.2c-47.1 3.9-97.7 4.7-123.1 1.3-60.1-8 33-30.1 33-30.1s-36.1-2.4-80.6 19c-52.5 25.4 130 37 224.5 12.1zm-85.4-32.1c-19-42.7-83.1-80.2 0-145.8C296 53.2 242.84 0 242.84 0c21.5 84.5-75.6 110.1-110.7 162.6-23.9 35.9 11.7 74.4 60.2 118.2zm114.6-176.2c.1 0-175.2 43.8-91.5 140.2 24.7 28.4-6.5 54-6.5 54s62.7-32.4 33.9-72.9c-26.9-37.8-47.5-56.6 64.1-121.3zm-6.1 270.5a12.19 12.19 0 0 1-2 2.6c128.3-33.7 81.1-118.9 19.8-97.3a17.33 17.33 0 0 0-8.2 6.3 70.45 70.45 0 0 1 11-3c31-6.5 75.5 41.5-20.6 91.4zM348 437.4s14.5 11.9-15.9 21.2c-57.9 17.5-240.8 22.8-291.6.7-18.3-7.9 16-19 26.8-21.3 11.2-2.4 17.7-2 17.7-2-20.3-14.3-131.3 28.1-56.4 40.2C232.84 509.4 401 461.3 348 437.4zM124.44 396c-78.7 22 47.9 67.4 148.1 24.5a185.89 185.89 0 0 1-28.2-13.8c-44.7 8.5-65.4 9.1-106 4.5-33.5-3.8-13.9-15.2-13.9-15.2zm179.8 97.2c-78.7 14.8-175.8 13.1-233.3 3.6 0-.1 11.8 9.7 72.4 13.6 92.2 5.9 233.8-3.3 237.1-46.9 0 0-6.4 16.5-76.2 29.7zM260.64 353c-59.2 11.4-93.5 11.1-136.8 6.6-33.5-3.5-11.6-19.7-11.6-19.7-86.8 28.8 48.2 61.4 169.5 25.9a60.37 60.37 0 0 1-21.1-12.8z"]
  103756. };
  103757. var faInvision = {
  103758. prefix: 'fab',
  103759. iconName: 'invision',
  103760. icon: [448, 512, [], "f7b0", "M407.4 32H40.6C18.2 32 0 50.2 0 72.6v366.8C0 461.8 18.2 480 40.6 480h366.8c22.4 0 40.6-18.2 40.6-40.6V72.6c0-22.4-18.2-40.6-40.6-40.6zM176.1 145.6c.4 23.4-22.4 27.3-26.6 27.4-14.9 0-27.1-12-27.1-27 .1-35.2 53.1-35.5 53.7-.4zM332.8 377c-65.6 0-34.1-74-25-106.6 14.1-46.4-45.2-59-59.9.7l-25.8 103.3H177l8.1-32.5c-31.5 51.8-94.6 44.4-94.6-4.3.1-14.3.9-14 23-104.1H81.7l9.7-35.6h76.4c-33.6 133.7-32.6 126.9-32.9 138.2 0 20.9 40.9 13.5 57.4-23.2l19.8-79.4h-32.3l9.7-35.6h68.8l-8.9 40.5c40.5-75.5 127.9-47.8 101.8 38-14.2 51.1-14.6 50.7-14.9 58.8 0 15.5 17.5 22.6 31.8-16.9L386 325c-10.5 36.7-29.4 52-53.2 52z"]
  103761. };
  103762. var faCreativeCommonsPdAlt = {
  103763. prefix: 'fab',
  103764. iconName: 'creative-commons-pd-alt',
  103765. icon: [496, 512, [], "f4ed", "M247.6 8C104.7 8 0 123.1 0 256c0 138.5 113.6 248 247.6 248C377.5 504 496 403.1 496 256 496 118.1 389.4 8 247.6 8zm.8 450.8c-112.5 0-203.7-93-203.7-202.8 0-105.4 85.5-203.3 203.7-203.3 112.6 0 202.9 89.5 202.8 203.3 0 121.7-99.6 202.8-202.8 202.8zM316.7 186h-53.2v137.2h53.2c21.4 0 70-5.1 70-68.6 0-63.4-48.6-68.6-70-68.6zm.8 108.5h-19.9v-79.7l19.4-.1c3.8 0 35-2.1 35 39.9 0 24.6-10.5 39.9-34.5 39.9zM203.7 186h-68.2v137.3h34.6V279h27c54.1 0 57.1-37.5 57.1-46.5 0-31-16.8-46.5-50.5-46.5zm-4.9 67.3h-29.2v-41.6h28.3c30.9 0 28.8 41.6.9 41.6z"]
  103766. };
  103767. var faCentercode = {
  103768. prefix: 'fab',
  103769. iconName: 'centercode',
  103770. icon: [512, 512, [], "f380", "M329.2 268.6c-3.8 35.2-35.4 60.6-70.6 56.8-35.2-3.8-60.6-35.4-56.8-70.6 3.8-35.2 35.4-60.6 70.6-56.8 35.1 3.8 60.6 35.4 56.8 70.6zm-85.8 235.1C96.7 496-8.2 365.5 10.1 224.3c11.2-86.6 65.8-156.9 139.1-192 161-77.1 349.7 37.4 354.7 216.6 4.1 147-118.4 262.2-260.5 254.8zm179.9-180c27.9-118-160.5-205.9-237.2-234.2-57.5 56.3-69.1 188.6-33.8 344.4 68.8 15.8 169.1-26.4 271-110.2z"]
  103771. };
  103772. var faGlideG = {
  103773. prefix: 'fab',
  103774. iconName: 'glide-g',
  103775. icon: [448, 512, [], "f2a6", "M407.1 211.2c-3.5-1.4-11.6-3.8-15.4-3.8-37.1 0-62.2 16.8-93.5 34.5l-.9-.9c7-47.3 23.5-91.9 23.5-140.4C320.8 29.1 282.6 0 212.4 0 97.3 0 39 113.7 39 198.4 39 286.3 90.3 335 177.6 335c12 0 11-1 11 3.8-16.9 128.9-90.8 133.1-90.8 94.6 0-39.2 45-58.6 45.5-61-.3-12.2-47-27.6-58.9-27.6-33.9.1-52.4 51.2-52.4 79.3C32 476 64.8 512 117.5 512c77.4 0 134-77.8 151.4-145.4 15.1-60.5 11.2-63.3 19.7-67.6 32.2-16.2 57.5-27 93.8-27 17.8 0 30.5 3.7 58.9 8.4 2.9 0 6.7-2.9 6.7-5.8 0-8-33.4-60.5-40.9-63.4zm-175.3-84.4c-9.3 44.7-18.6 89.6-27.8 134.3-2.3 10.2-13.3 7.8-22 7.8-38.3 0-49-41.8-49-73.1 0-47 18-109.3 61.8-133.4 7-4.1 14.8-6.7 22.6-6.7 18.6 0 20 13.3 20 28.7-.1 14.3-2.7 28.5-5.6 42.4z"]
  103776. };
  103777. var faDrupal = {
  103778. prefix: 'fab',
  103779. iconName: 'drupal',
  103780. icon: [448, 512, [], "f1a9", "M303.973,108.136C268.2,72.459,234.187,38.35,224.047,0c-9.957,38.35-44.25,72.459-80.019,108.136C90.467,161.7,29.716,222.356,29.716,313.436c-2.337,107.3,82.752,196.18,190.053,198.517S415.948,429.2,418.285,321.9q.091-4.231,0-8.464C418.285,222.356,357.534,161.7,303.973,108.136Zm-174.326,223a130.282,130.282,0,0,0-15.211,24.153,4.978,4.978,0,0,1-3.319,2.766h-1.659c-4.333,0-9.219-8.481-9.219-8.481h0c-1.29-2.028-2.489-4.149-3.687-6.361l-.83-1.752c-11.247-25.72-1.475-62.318-1.475-62.318h0a160.585,160.585,0,0,1,23.231-49.873A290.8,290.8,0,0,1,138.5,201.613l9.219,9.219,43.512,44.434a4.979,4.979,0,0,1,0,6.638L145.78,312.33h0Zm96.612,127.311a67.2,67.2,0,0,1-49.781-111.915c14.2-16.871,31.528-33.464,50.334-55.313,22.309,23.785,36.875,40.1,51.164,57.986a28.413,28.413,0,0,1,2.95,4.425,65.905,65.905,0,0,1,11.984,37.981,66.651,66.651,0,0,1-66.466,66.836ZM352.371,351.6h0a7.743,7.743,0,0,1-6.176,5.347H344.9a11.249,11.249,0,0,1-6.269-5.07h0a348.21,348.21,0,0,0-39.456-48.952L281.387,284.49,222.3,223.185a497.888,497.888,0,0,1-35.4-36.322,12.033,12.033,0,0,0-.922-1.382,35.4,35.4,0,0,1-4.7-9.219V174.51a31.346,31.346,0,0,1,9.218-27.656c11.432-11.431,22.955-22.954,33.833-34.939,11.984,13.275,24.8,26,37.428,38.627h0a530.991,530.991,0,0,1,69.6,79.1,147.494,147.494,0,0,1,27.011,83.8A134.109,134.109,0,0,1,352.371,351.6Z"]
  103781. };
  103782. var faHireAHelper = {
  103783. prefix: 'fab',
  103784. iconName: 'hire-a-helper',
  103785. icon: [512, 512, [], "f3b0", "M443.1 0H71.9C67.9 37.3 37.4 67.8 0 71.7v371.5c37.4 4.9 66 32.4 71.9 68.8h372.2c3-36.4 32.5-65.8 67.9-69.8V71.7c-36.4-5.9-65-35.3-68.9-71.7zm-37 404.9c-36.3 0-18.8-2-55.1-2-35.8 0-21 2-56.1 2-5.9 0-4.9-8.2 0-9.8 22.8-7.6 22.9-10.2 24.6-12.8 10.4-15.6 5.9-83 5.9-113 0-5.3-6.4-12.8-13.8-12.8H200.4c-7.4 0-13.8 7.5-13.8 12.8 0 30-4.5 97.4 5.9 113 1.7 2.5 1.8 5.2 24.6 12.8 4.9 1.6 6 9.8 0 9.8-35.1 0-20.3-2-56.1-2-36.3 0-18.8 2-55.1 2-7.9 0-5.8-10.8 0-10.8 10.2-3.4 13.5-3.5 21.7-13.8 7.7-12.9 7.9-44.4 7.9-127.8V151.3c0-22.2-12.2-28.3-28.6-32.4-8.8-2.2-4-11.8 1-11.8 36.5 0 20.6 2 57.1 2 32.7 0 16.5-2 49.2-2 3.3 0 8.5 8.3 1 10.8-4.9 1.6-27.6 3.7-27.6 39.3 0 45.6-.2 55.8 1 68.8 0 1.3 2.3 12.8 12.8 12.8h109.2c10.5 0 12.8-11.5 12.8-12.8 1.2-13 1-23.2 1-68.8 0-35.6-22.7-37.7-27.6-39.3-7.5-2.5-2.3-10.8 1-10.8 32.7 0 16.5 2 49.2 2 36.5 0 20.6-2 57.1-2 4.9 0 9.9 9.6 1 11.8-16.4 4.1-28.6 10.3-28.6 32.4v101.2c0 83.4.1 114.9 7.9 127.8 8.2 10.2 11.4 10.4 21.7 13.8 5.8 0 7.8 10.8 0 10.8z"]
  103786. };
  103787. var faCreativeCommonsBy = {
  103788. prefix: 'fab',
  103789. iconName: 'creative-commons-by',
  103790. icon: [496, 512, [], "f4e7", "M314.9 194.4v101.4h-28.3v120.5h-77.1V295.9h-28.3V194.4c0-4.4 1.6-8.2 4.6-11.3 3.1-3.1 6.9-4.7 11.3-4.7H299c4.1 0 7.8 1.6 11.1 4.7 3.1 3.2 4.8 6.9 4.8 11.3zm-101.5-63.7c0-23.3 11.5-35 34.5-35s34.5 11.7 34.5 35c0 23-11.5 34.5-34.5 34.5s-34.5-11.5-34.5-34.5zM247.6 8C389.4 8 496 118.1 496 256c0 147.1-118.5 248-248.4 248C113.6 504 0 394.5 0 256 0 123.1 104.7 8 247.6 8zm.8 44.7C130.2 52.7 44.7 150.6 44.7 256c0 109.8 91.2 202.8 203.7 202.8 103.2 0 202.8-81.1 202.8-202.8.1-113.8-90.2-203.3-202.8-203.3z"]
  103791. };
  103792. var faUnity = {
  103793. prefix: 'fab',
  103794. iconName: 'unity',
  103795. icon: [448, 512, [], "e049", "M243.583 91.6027L323.695 138.384C326.575 140.026 326.68 144.583 323.695 146.225L228.503 201.854C225.623 203.55 222.22 203.444 219.549 201.854L124.357 146.225C121.425 144.636 121.373 139.973 124.357 138.384L204.417 91.6027V0L0 119.417V358.252L78.3843 312.477V218.914C78.3319 215.576 82.2066 213.192 85.0865 214.993L180.279 270.622C183.159 272.318 184.782 275.338 184.782 278.464V389.669C184.834 393.007 180.959 395.391 178.079 393.589L97.9673 346.808L19.583 392.583L224 512L428.417 392.583L350.033 346.808L269.921 393.589C267.093 395.338 263.114 393.06 263.218 389.669V278.464C263.218 275.126 265.051 272.159 267.721 270.622L362.914 214.993C365.741 213.245 369.72 215.47 369.616 218.914V312.477L448 358.252V119.417L243.583 0V91.6027Z"]
  103796. };
  103797. var faWhmcs = {
  103798. prefix: 'fab',
  103799. iconName: 'whmcs',
  103800. icon: [448, 512, [], "f40d", "M448 161v-21.3l-28.5-8.8-2.2-10.4 20.1-20.7L427 80.4l-29 7.5-7.2-7.5 7.5-28.2-19.1-11.6-21.3 21-10.7-3.2-7-26.4h-22.6l-6.2 26.4-12.1 3.2-19.7-21-19.4 11 8.1 27.7-8.1 8.4-28.5-7.5-11 19.1 20.7 21-2.9 10.4-28.5 7.8-.3 21.7 28.8 7.5 2.4 12.1-20.1 19.9 10.4 18.5 29.6-7.5 7.2 8.6-8.1 26.9 19.9 11.6 19.4-20.4 11.6 2.9 6.7 28.5 22.6.3 6.7-28.8 11.6-3.5 20.7 21.6 20.4-12.1-8.8-28 7.8-8.1 28.8 8.8 10.3-20.1-20.9-18.8 2.2-12.1 29.1-7zm-119.2 45.2c-31.3 0-56.8-25.4-56.8-56.8s25.4-56.8 56.8-56.8 56.8 25.4 56.8 56.8c0 31.5-25.4 56.8-56.8 56.8zm72.3 16.4l46.9 14.5V277l-55.1 13.4-4.1 22.7 38.9 35.3-19.2 37.9-54-16.7-14.6 15.2 16.7 52.5-38.3 22.7-38.9-40.5-21.7 6.6-12.6 54-42.4-.5-12.6-53.6-21.7-5.6-36.4 38.4-37.4-21.7 15.2-50.5-13.7-16.1-55.5 14.1-19.7-34.8 37.9-37.4-4.8-22.8-54-14.1.5-40.9L54 219.9l5.7-19.7-38.9-39.4L41.5 125l53.6 14.1 15.2-15.7-15.2-52 36.4-20.7 36.8 39.4L191 84l11.6-52H245l11.6 45.9L234 72l-6.3-1.7-3.3 5.7-11 19.1-3.3 5.6 4.6 4.6 17.2 17.4-.3 1-23.8 6.5-6.2 1.7-.1 6.4-.2 12.9C153.8 161.6 118 204 118 254.7c0 58.3 47.3 105.7 105.7 105.7 50.5 0 92.7-35.4 103.2-82.8l13.2.2 6.9.1 1.6-6.7 5.6-24 1.9-.6 17.1 17.8 4.7 4.9 5.8-3.4 20.4-12.1 5.8-3.5-2-6.5-6.8-21.2z"]
  103801. };
  103802. var faRocketchat = {
  103803. prefix: 'fab',
  103804. iconName: 'rocketchat',
  103805. icon: [576, 512, [], "f3e8", "M284.046,224.8a34.114,34.114,0,1,0,34.317,34.113A34.217,34.217,0,0,0,284.046,224.8Zm-110.45,0a34.114,34.114,0,1,0,34.317,34.113A34.217,34.217,0,0,0,173.6,224.8Zm220.923,0a34.114,34.114,0,1,0,34.317,34.113A34.215,34.215,0,0,0,394.519,224.8Zm153.807-55.319c-15.535-24.172-37.31-45.57-64.681-63.618-52.886-34.817-122.374-54-195.666-54a405.975,405.975,0,0,0-72.032,6.357,238.524,238.524,0,0,0-49.51-36.588C99.684-11.7,40.859.711,11.135,11.421A14.291,14.291,0,0,0,5.58,34.782C26.542,56.458,61.222,99.3,52.7,138.252c-33.142,33.9-51.112,74.776-51.112,117.337,0,43.372,17.97,84.248,51.112,118.148,8.526,38.956-26.154,81.816-47.116,103.491a14.284,14.284,0,0,0,5.555,23.34c29.724,10.709,88.549,23.147,155.324-10.2a238.679,238.679,0,0,0,49.51-36.589A405.972,405.972,0,0,0,288,460.14c73.313,0,142.8-19.159,195.667-53.975,27.371-18.049,49.145-39.426,64.679-63.619,17.309-26.923,26.07-55.916,26.07-86.125C574.394,225.4,565.634,196.43,548.326,169.485ZM284.987,409.9a345.65,345.65,0,0,1-89.446-11.5l-20.129,19.393a184.366,184.366,0,0,1-37.138,27.585,145.767,145.767,0,0,1-52.522,14.87c.983-1.771,1.881-3.563,2.842-5.356q30.258-55.68,16.325-100.078c-32.992-25.962-52.778-59.2-52.778-95.4,0-83.1,104.254-150.469,232.846-150.469s232.867,67.373,232.867,150.469C517.854,342.525,413.6,409.9,284.987,409.9Z"]
  103806. };
  103807. var faVk = {
  103808. prefix: 'fab',
  103809. iconName: 'vk',
  103810. icon: [448, 512, [], "f189", "M31.4907 63.4907C0 94.9813 0 145.671 0 247.04V264.96C0 366.329 0 417.019 31.4907 448.509C62.9813 480 113.671 480 215.04 480H232.96C334.329 480 385.019 480 416.509 448.509C448 417.019 448 366.329 448 264.96V247.04C448 145.671 448 94.9813 416.509 63.4907C385.019 32 334.329 32 232.96 32H215.04C113.671 32 62.9813 32 31.4907 63.4907ZM75.6 168.267H126.747C128.427 253.76 166.133 289.973 196 297.44V168.267H244.16V242C273.653 238.827 304.64 205.227 315.093 168.267H363.253C359.313 187.435 351.46 205.583 340.186 221.579C328.913 237.574 314.461 251.071 297.733 261.227C316.41 270.499 332.907 283.63 346.132 299.751C359.357 315.873 369.01 334.618 374.453 354.747H321.44C316.555 337.262 306.614 321.61 292.865 309.754C279.117 297.899 262.173 290.368 244.16 288.107V354.747H238.373C136.267 354.747 78.0267 284.747 75.6 168.267Z"]
  103811. };
  103812. var faUntappd = {
  103813. prefix: 'fab',
  103814. iconName: 'untappd',
  103815. icon: [640, 512, [], "f405", "M401.3 49.9c-79.8 160.1-84.6 152.5-87.9 173.2l-5.2 32.8c-1.9 12-6.6 23.5-13.7 33.4L145.6 497.1c-7.6 10.6-20.4 16.2-33.4 14.6-40.3-5-77.8-32.2-95.3-68.5-5.7-11.8-4.5-25.8 3.1-36.4l148.9-207.9c7.1-9.9 16.4-18 27.2-23.7l29.3-15.5c18.5-9.8 9.7-11.9 135.6-138.9 1-4.8 1-7.3 3.6-8 3-.7 6.6-1 6.3-4.6l-.4-4.6c-.2-1.9 1.3-3.6 3.2-3.6 4.5-.1 13.2 1.2 25.6 10 12.3 8.9 16.4 16.8 17.7 21.1.6 1.8-.6 3.7-2.4 4.2l-4.5 1.1c-3.4.9-2.5 4.4-2.3 7.4.1 2.8-2.3 3.6-6.5 6.1zM230.1 36.4c3.4.9 2.5 4.4 2.3 7.4-.2 2.7 2.1 3.5 6.4 6 7.9 15.9 15.3 30.5 22.2 44 .7 1.3 2.3 1.5 3.3.5 11.2-12 24.6-26.2 40.5-42.6 1.3-1.4 1.4-3.5.1-4.9-8-8.2-16.5-16.9-25.6-26.1-1-4.7-1-7.3-3.6-8-3-.8-6.6-1-6.3-4.6.3-3.3 1.4-8.1-2.8-8.2-4.5-.1-13.2 1.1-25.6 10-12.3 8.9-16.4 16.8-17.7 21.1-1.4 4.2 3.6 4.6 6.8 5.4zM620 406.7L471.2 198.8c-13.2-18.5-26.6-23.4-56.4-39.1-11.2-5.9-14.2-10.9-30.5-28.9-1-1.1-2.9-.9-3.6.5-46.3 88.8-47.1 82.8-49 94.8-1.7 10.7-1.3 20 .3 29.8 1.9 12 6.6 23.5 13.7 33.4l148.9 207.9c7.6 10.6 20.2 16.2 33.1 14.7 40.3-4.9 78-32 95.7-68.6 5.4-11.9 4.3-25.9-3.4-36.6z"]
  103816. };
  103817. var faMailchimp = {
  103818. prefix: 'fab',
  103819. iconName: 'mailchimp',
  103820. icon: [448, 512, [], "f59e", "M330.61 243.52a36.15 36.15 0 0 1 9.3 0c1.66-3.83 1.95-10.43.45-17.61-2.23-10.67-5.25-17.14-11.48-16.13s-6.47 8.74-4.24 19.42c1.26 6 3.49 11.14 6 14.32zM277.05 252c4.47 2 7.2 3.26 8.28 2.13 1.89-1.94-3.48-9.39-12.12-13.09a31.44 31.44 0 0 0-30.61 3.68c-3 2.18-5.81 5.22-5.41 7.06.85 3.74 10-2.71 22.6-3.48 7-.44 12.8 1.75 17.26 3.71zm-9 5.13c-9.07 1.42-15 6.53-13.47 10.1.9.34 1.17.81 5.21-.81a37 37 0 0 1 18.72-1.95c2.92.34 4.31.52 4.94-.49 1.46-2.22-5.71-8-15.39-6.85zm54.17 17.1c3.38-6.87-10.9-13.93-14.3-7s10.92 13.88 14.32 6.97zm15.66-20.47c-7.66-.13-7.95 15.8-.26 15.93s7.98-15.81.28-15.96zm-218.79 78.9c-1.32.31-6 1.45-8.47-2.35-5.2-8 11.11-20.38 3-35.77-9.1-17.47-27.82-13.54-35.05-5.54-8.71 9.6-8.72 23.54-5 24.08 4.27.57 4.08-6.47 7.38-11.63a12.83 12.83 0 0 1 17.85-3.72c11.59 7.59 1.37 17.76 2.28 28.62 1.39 16.68 18.42 16.37 21.58 9a2.08 2.08 0 0 0-.2-2.33c.03.89.68-1.3-3.35-.39zm299.72-17.07c-3.35-11.73-2.57-9.22-6.78-20.52 2.45-3.67 15.29-24-3.07-43.25-10.4-10.92-33.9-16.54-41.1-18.54-1.5-11.39 4.65-58.7-21.52-83 20.79-21.55 33.76-45.29 33.73-65.65-.06-39.16-48.15-51-107.42-26.47l-12.55 5.33c-.06-.05-22.71-22.27-23.05-22.57C169.5-18-41.77 216.81 25.78 273.85l14.76 12.51a72.49 72.49 0 0 0-4.1 33.5c3.36 33.4 36 60.42 67.53 60.38 57.73 133.06 267.9 133.28 322.29 3 1.74-4.47 9.11-24.61 9.11-42.38s-10.09-25.27-16.53-25.27zm-316 48.16c-22.82-.61-47.46-21.15-49.91-45.51-6.17-61.31 74.26-75.27 84-12.33 4.54 29.64-4.67 58.49-34.12 57.81zM84.3 249.55C69.14 252.5 55.78 261.09 47.6 273c-4.88-4.07-14-12-15.59-15-13.01-24.85 14.24-73 33.3-100.21C112.42 90.56 186.19 39.68 220.36 48.91c5.55 1.57 23.94 22.89 23.94 22.89s-34.15 18.94-65.8 45.35c-42.66 32.85-74.89 80.59-94.2 132.4zM323.18 350.7s-35.74 5.3-69.51-7.07c6.21-20.16 27 6.1 96.4-13.81 15.29-4.38 35.37-13 51-25.35a102.85 102.85 0 0 1 7.12 24.28c3.66-.66 14.25-.52 11.44 18.1-3.29 19.87-11.73 36-25.93 50.84A106.86 106.86 0 0 1 362.55 421a132.45 132.45 0 0 1-20.34 8.58c-53.51 17.48-108.3-1.74-126-43a66.33 66.33 0 0 1-3.55-9.74c-7.53-27.2-1.14-59.83 18.84-80.37 1.23-1.31 2.48-2.85 2.48-4.79a8.45 8.45 0 0 0-1.92-4.54c-7-10.13-31.19-27.4-26.33-60.83 3.5-24 24.49-40.91 44.07-39.91l5 .29c8.48.5 15.89 1.59 22.88 1.88 11.69.5 22.2-1.19 34.64-11.56 4.2-3.5 7.57-6.54 13.26-7.51a17.45 17.45 0 0 1 13.6 2.24c10 6.64 11.4 22.73 11.92 34.49.29 6.72 1.1 23 1.38 27.63.63 10.67 3.43 12.17 9.11 14 3.19 1.05 6.15 1.83 10.51 3.06 13.21 3.71 21 7.48 26 12.31a16.38 16.38 0 0 1 4.74 9.29c1.56 11.37-8.82 25.4-36.31 38.16-46.71 21.68-93.68 14.45-100.48 13.68-20.15-2.71-31.63 23.32-19.55 41.15 22.64 33.41 122.4 20 151.37-21.35.69-1 .12-1.59-.73-1-41.77 28.58-97.06 38.21-128.46 26-4.77-1.85-14.73-6.44-15.94-16.67 43.6 13.49 71 .74 71 .74s2.03-2.79-.56-2.53zm-68.47-5.7zm-83.4-187.5c16.74-19.35 37.36-36.18 55.83-45.63a.73.73 0 0 1 1 1c-1.46 2.66-4.29 8.34-5.19 12.65a.75.75 0 0 0 1.16.79c11.49-7.83 31.48-16.22 49-17.3a.77.77 0 0 1 .52 1.38 41.86 41.86 0 0 0-7.71 7.74.75.75 0 0 0 .59 1.19c12.31.09 29.66 4.4 41 10.74.76.43.22 1.91-.64 1.72-69.55-15.94-123.08 18.53-134.5 26.83a.76.76 0 0 1-1-1.12z"]
  103821. };
  103822. var faCss3Alt = {
  103823. prefix: 'fab',
  103824. iconName: 'css3-alt',
  103825. icon: [384, 512, [], "f38b", "M0 32l34.9 395.8L192 480l157.1-52.2L384 32H0zm313.1 80l-4.8 47.3L193 208.6l-.3.1h111.5l-12.8 146.6-98.2 28.7-98.8-29.2-6.4-73.9h48.9l3.2 38.3 52.6 13.3 54.7-15.4 3.7-61.6-166.3-.5v-.1l-.2.1-3.6-46.3L193.1 162l6.5-2.7H76.7L70.9 112h242.2z"]
  103826. };
  103827. var faSquareReddit = {
  103828. prefix: 'fab',
  103829. iconName: 'square-reddit',
  103830. icon: [448, 512, ["reddit-square"], "f1a2", "M283.2 345.5c2.7 2.7 2.7 6.8 0 9.2-24.5 24.5-93.8 24.6-118.4 0-2.7-2.4-2.7-6.5 0-9.2 2.4-2.4 6.5-2.4 8.9 0 18.7 19.2 81 19.6 100.5 0 2.4-2.3 6.6-2.3 9 0zm-91.3-53.8c0-14.9-11.9-26.8-26.5-26.8-14.9 0-26.8 11.9-26.8 26.8 0 14.6 11.9 26.5 26.8 26.5 14.6 0 26.5-11.9 26.5-26.5zm90.7-26.8c-14.6 0-26.5 11.9-26.5 26.8 0 14.6 11.9 26.5 26.5 26.5 14.9 0 26.8-11.9 26.8-26.5 0-14.9-11.9-26.8-26.8-26.8zM448 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-99.7 140.6c-10.1 0-19 4.2-25.6 10.7-24.1-16.7-56.5-27.4-92.5-28.6l18.7-84.2 59.5 13.4c0 14.6 11.9 26.5 26.5 26.5 14.9 0 26.8-12.2 26.8-26.8 0-14.6-11.9-26.8-26.8-26.8-10.4 0-19.3 6.2-23.8 14.9l-65.7-14.6c-3.3-.9-6.5 1.5-7.4 4.8l-20.5 92.8c-35.7 1.5-67.8 12.2-91.9 28.9-6.5-6.8-15.8-11-25.9-11-37.5 0-49.8 50.4-15.5 67.5-1.2 5.4-1.8 11-1.8 16.7 0 56.5 63.7 102.3 141.9 102.3 78.5 0 142.2-45.8 142.2-102.3 0-5.7-.6-11.6-2.1-17 33.6-17.2 21.2-67.2-16.1-67.2z"]
  103831. };
  103832. var faRedditSquare = faSquareReddit;
  103833. var faVimeoV = {
  103834. prefix: 'fab',
  103835. iconName: 'vimeo-v',
  103836. icon: [448, 512, [], "f27d", "M447.8 153.6c-2 43.6-32.4 103.3-91.4 179.1-60.9 79.2-112.4 118.8-154.6 118.8-26.1 0-48.2-24.1-66.3-72.3C100.3 250 85.3 174.3 56.2 174.3c-3.4 0-15.1 7.1-35.2 21.1L0 168.2c51.6-45.3 100.9-95.7 131.8-98.5 34.9-3.4 56.3 20.5 64.4 71.5 28.7 181.5 41.4 208.9 93.6 126.7 18.7-29.6 28.8-52.1 30.2-67.6 4.8-45.9-35.8-42.8-63.3-31 22-72.1 64.1-107.1 126.2-105.1 45.8 1.2 67.5 31.1 64.9 89.4z"]
  103837. };
  103838. var faContao = {
  103839. prefix: 'fab',
  103840. iconName: 'contao',
  103841. icon: [512, 512, [], "f26d", "M45.4 305c14.4 67.1 26.4 129 68.2 175H34c-18.7 0-34-15.2-34-34V66c0-18.7 15.2-34 34-34h57.7C77.9 44.6 65.6 59.2 54.8 75.6c-45.4 70-27 146.8-9.4 229.4zM478 32h-90.2c21.4 21.4 39.2 49.5 52.7 84.1l-137.1 29.3c-14.9-29-37.8-53.3-82.6-43.9-24.6 5.3-41 19.3-48.3 34.6-8.8 18.7-13.2 39.8 8.2 140.3 21.1 100.2 33.7 117.7 49.5 131.2 12.9 11.1 33.4 17 58.3 11.7 44.5-9.4 55.7-40.7 57.4-73.2l137.4-29.6c3.2 71.5-18.7 125.2-57.4 163.6H478c18.7 0 34-15.2 34-34V66c0-18.8-15.2-34-34-34z"]
  103842. };
  103843. var faSquareFontAwesome = {
  103844. prefix: 'fab',
  103845. iconName: 'square-font-awesome',
  103846. icon: [448, 512, [], "e5ad", "M384.5,32.5h-320c-35.3,0-64,28.7-64,64v320c0,35.3,28.7,64,64,64h320c35.3,0,64-28.7,64-64v-320 C448.5,61.2,419.8,32.5,384.5,32.5z M336.5,312.5c-31.6,11.2-41.2,16-59.8,16c-31.4,0-43.2-16-74.6-16c-10.2,0-18.2,1.6-25.6,4v-32 c7.4-2.2,15.4-4,25.6-4c31.2,0,43.2,16,74.6,16c10.2,0,17.8-1.4,27.8-4.6v-96c-10,3.2-17.6,4.6-27.8,4.6c-31.4,0-43.2-16-74.6-16 c-25.4,0-37.4,10.4-57.6,14.4v153.6c0,8.8-7.2,16-16,16c-8.8,0-16-7.2-16-16v-192c0-8.8,7.2-16,16-16c8.8,0,16,7.2,16,16v6.4 c20.2-4,32.2-14.4,57.6-14.4c31.2,0,43.2,16,74.6,16c18.6,0,28.2-4.8,59.8-16V312.5z"]
  103847. };
  103848. var faDeskpro = {
  103849. prefix: 'fab',
  103850. iconName: 'deskpro',
  103851. icon: [480, 512, [], "f38f", "M205.9 512l31.1-38.4c12.3-.2 25.6-1.4 36.5-6.6 38.9-18.6 38.4-61.9 38.3-63.8-.1-5-.8-4.4-28.9-37.4H362c-.2 50.1-7.3 68.5-10.2 75.7-9.4 23.7-43.9 62.8-95.2 69.4-8.7 1.1-32.8 1.2-50.7 1.1zm200.4-167.7c38.6 0 58.5-13.6 73.7-30.9l-175.5-.3-17.4 31.3 119.2-.1zm-43.6-223.9v168.3h-73.5l-32.7 55.5H250c-52.3 0-58.1-56.5-58.3-58.9-1.2-13.2-21.3-11.6-20.1 1.8 1.4 15.8 8.8 40 26.4 57.1h-91c-25.5 0-110.8-26.8-107-114V16.9C0 .9 9.7.3 15 .1h82c.2 0 .3.1.5.1 4.3-.4 50.1-2.1 50.1 43.7 0 13.3 20.2 13.4 20.2 0 0-18.2-5.5-32.8-15.8-43.7h84.2c108.7-.4 126.5 79.4 126.5 120.2zm-132.5 56l64 29.3c13.3-45.5-42.2-71.7-64-29.3z"]
  103852. };
  103853. var faSistrix = {
  103854. prefix: 'fab',
  103855. iconName: 'sistrix',
  103856. icon: [448, 512, [], "f3ee", "M448 449L301.2 300.2c20-27.9 31.9-62.2 31.9-99.2 0-93.1-74.7-168.9-166.5-168.9C74.7 32 0 107.8 0 200.9s74.7 168.9 166.5 168.9c39.8 0 76.3-14.2 105-37.9l146 148.1 30.5-31zM166.5 330.8c-70.6 0-128.1-58.3-128.1-129.9S95.9 71 166.5 71s128.1 58.3 128.1 129.9-57.4 129.9-128.1 129.9z"]
  103857. };
  103858. var faSquareInstagram = {
  103859. prefix: 'fab',
  103860. iconName: 'square-instagram',
  103861. icon: [448, 512, ["instagram-square"], "e055", "M224,202.66A53.34,53.34,0,1,0,277.36,256,53.38,53.38,0,0,0,224,202.66Zm124.71-41a54,54,0,0,0-30.41-30.41c-21-8.29-71-6.43-94.3-6.43s-73.25-1.93-94.31,6.43a54,54,0,0,0-30.41,30.41c-8.28,21-6.43,71.05-6.43,94.33S91,329.26,99.32,350.33a54,54,0,0,0,30.41,30.41c21,8.29,71,6.43,94.31,6.43s73.24,1.93,94.3-6.43a54,54,0,0,0,30.41-30.41c8.35-21,6.43-71.05,6.43-94.33S357.1,182.74,348.75,161.67ZM224,338a82,82,0,1,1,82-82A81.9,81.9,0,0,1,224,338Zm85.38-148.3a19.14,19.14,0,1,1,19.13-19.14A19.1,19.1,0,0,1,309.42,189.74ZM400,32H48A48,48,0,0,0,0,80V432a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V80A48,48,0,0,0,400,32ZM382.88,322c-1.29,25.63-7.14,48.34-25.85,67s-41.4,24.63-67,25.85c-26.41,1.49-105.59,1.49-132,0-25.63-1.29-48.26-7.15-67-25.85s-24.63-41.42-25.85-67c-1.49-26.42-1.49-105.61,0-132,1.29-25.63,7.07-48.34,25.85-67s41.47-24.56,67-25.78c26.41-1.49,105.59-1.49,132,0,25.63,1.29,48.33,7.15,67,25.85s24.63,41.42,25.85,67.05C384.37,216.44,384.37,295.56,382.88,322Z"]
  103862. };
  103863. var faInstagramSquare = faSquareInstagram;
  103864. var faBattleNet = {
  103865. prefix: 'fab',
  103866. iconName: 'battle-net',
  103867. icon: [512, 512, [], "f835", "M448.61 225.62c26.87.18 35.57-7.43 38.92-12.37 12.47-16.32-7.06-47.6-52.85-71.33 17.76-33.58 30.11-63.68 36.34-85.3 3.38-11.83 1.09-19 .45-20.25-1.72 10.52-15.85 48.46-48.2 100.05-25-11.22-56.52-20.1-93.77-23.8-8.94-16.94-34.88-63.86-60.48-88.93C252.18 7.14 238.7 1.07 228.18.22h-.05c-13.83-1.55-22.67 5.85-27.4 11-17.2 18.53-24.33 48.87-25 84.07-7.24-12.35-17.17-24.63-28.5-25.93h-.18c-20.66-3.48-38.39 29.22-36 81.29-38.36 1.38-71 5.75-93 11.23-9.9 2.45-16.22 7.27-17.76 9.72 1-.38 22.4-9.22 111.56-9.22 5.22 53 29.75 101.82 26 93.19-9.73 15.4-38.24 62.36-47.31 97.7-5.87 22.88-4.37 37.61.15 47.14 5.57 12.75 16.41 16.72 23.2 18.26 25 5.71 55.38-3.63 86.7-21.14-7.53 12.84-13.9 28.51-9.06 39.34 7.31 19.65 44.49 18.66 88.44-9.45 20.18 32.18 40.07 57.94 55.7 74.12a39.79 39.79 0 0 0 8.75 7.09c5.14 3.21 8.58 3.37 8.58 3.37-8.24-6.75-34-38-62.54-91.78 22.22-16 45.65-38.87 67.47-69.27 122.82 4.6 143.29-24.76 148-31.64 14.67-19.88 3.43-57.44-57.32-93.69zm-77.85 106.22c23.81-37.71 30.34-67.77 29.45-92.33 27.86 17.57 47.18 37.58 49.06 58.83 1.14 12.93-8.1 29.12-78.51 33.5zM216.9 387.69c9.76-6.23 19.53-13.12 29.2-20.49 6.68 13.33 13.6 26.1 20.6 38.19-40.6 21.86-68.84 12.76-49.8-17.7zm215-171.35c-10.29-5.34-21.16-10.34-32.38-15.05a722.459 722.459 0 0 0 22.74-36.9c39.06 24.1 45.9 53.18 9.64 51.95zM279.18 398c-5.51-11.35-11-23.5-16.5-36.44 43.25 1.27 62.42-18.73 63.28-20.41 0 .07-25 15.64-62.53 12.25a718.78 718.78 0 0 0 85.06-84q13.06-15.31 24.93-31.11c-.36-.29-1.54-3-16.51-12-51.7 60.27-102.34 98-132.75 115.92-20.59-11.18-40.84-31.78-55.71-61.49-20-39.92-30-82.39-31.57-116.07 12.3.91 25.27 2.17 38.85 3.88-22.29 36.8-14.39 63-13.47 64.23 0-.07-.95-29.17 20.14-59.57a695.23 695.23 0 0 0 44.67 152.84c.93-.38 1.84.88 18.67-8.25-26.33-74.47-33.76-138.17-34-173.43 20-12.42 48.18-19.8 81.63-17.81 44.57 2.67 86.36 15.25 116.32 30.71q-10.69 15.66-23.33 32.47C365.63 152 339.1 145.84 337.5 146c.11 0 25.9 14.07 41.52 47.22a717.63 717.63 0 0 0-115.34-31.71 646.608 646.608 0 0 0-39.39-6.05c-.07.45-1.81 1.85-2.16 20.33C300 190.28 358.78 215.68 389.36 233c.74 23.55-6.95 51.61-25.41 79.57-24.6 37.31-56.39 67.23-84.77 85.43zm27.4-287c-44.56-1.66-73.58 7.43-94.69 20.67 2-52.3 21.31-76.38 38.21-75.28C267 52.15 305 108.55 306.58 111zm-130.65 3.1c.48 12.11 1.59 24.62 3.21 37.28-14.55-.85-28.74-1.25-42.4-1.26-.08 3.24-.12-51 24.67-49.59h.09c5.76 1.09 10.63 6.88 14.43 13.57zm-28.06 162c20.76 39.7 43.3 60.57 65.25 72.31-46.79 24.76-77.53 20-84.92 4.51-.2-.21-11.13-15.3 19.67-76.81zm210.06 74.8"]
  103868. };
  103869. var faTheRedYeti = {
  103870. prefix: 'fab',
  103871. iconName: 'the-red-yeti',
  103872. icon: [512, 512, [], "f69d", "M488.23 241.7l20.7 7.1c-9.6-23.9-23.9-37-31.7-44.8l7.1-18.2c.2 0 12.3-27.8-2.5-30.7-.6-11.3-6.6-27-18.4-27-7.6-10.6-17.7-12.3-30.7-5.9a122.2 122.2 0 0 0-25.3 16.5c-5.3-6.4-3 .4-3-29.8-37.1-24.3-45.4-11.7-74.8 3l.5.5a239.36 239.36 0 0 0-68.4-13.3c-5.5-8.7-18.6-19.1-25.1-25.1l24.8 7.1c-5.5-5.5-26.8-12.9-34.2-15.2 18.2-4.1 29.8-20.8 42.5-33-34.9-10.1-67.9-5.9-97.9 11.8l12-44.2L182 0c-31.6 24.2-33 41.9-33.7 45.5-.9-2.4-6.3-19.6-15.2-27a35.12 35.12 0 0 0-.5 25.3c3 8.4 5.9 14.8 8.4 18.9-16-3.3-28.3-4.9-49.2 0h-3.7l33 14.3a194.26 194.26 0 0 0-46.7 67.4l-1.7 8.4 1.7 1.7 7.6-4.7c-3.3 11.6-5.3 19.4-6.6 25.8a200.18 200.18 0 0 0-27.8 40.3c-15 1-31.8 10.8-40.3 14.3l3 3.4 28.8 1c-.5 1-.7 2.2-1.2 3.2-7.3 6.4-39.8 37.7-33 80.7l20.2-22.4c.5 1.7.7 3.4 1.2 5.2 0 25.5.4 89.6 64.9 150.5 43.6 40 96 60.2 157.5 60.2 121.7 0 223-87.3 223-211.5 6.8-9.7-1.2 3 16.7-25.1l13 14.3 2.5-.5A181.84 181.84 0 0 0 495 255a44.74 44.74 0 0 0-6.8-13.3zM398 111.2l-.5 21.9c5.5 18.1 16.9 17.2 22.4 17.2l-3.4-4.7 22.4-5.4a242.44 242.44 0 0 1-27 0c12.8-2.1 33.3-29 43-11.3 3.4 7.6 6.4 17.2 9.3 27.8l1.7-5.9a56.38 56.38 0 0 1-1.7-15.2c5.4.5 8.8 3.4 9.3 10.1.5 6.4 1.7 14.8 3.4 25.3l4.7-11.3c4.6 0 4.5-3.6-2.5 20.7-20.9-8.7-35.1-8.4-46.5-8.4l18.2-16c-25.3 8.2-33 10.8-54.8 20.9-1.1-5.4-5-13.5-16-19.9-3.2 3.8-2.8.9-.7 14.8h-2.5a62.32 62.32 0 0 0-8.4-23.1l4.2-3.4c8.4-7.1 11.8-14.3 10.6-21.9-.5-6.4-5.4-13.5-13.5-20.7 5.6-3.4 15.2-.4 28.3 8.5zm-39.6-10.1c2.7 1.9 11.4 5.4 18.9 17.2 4.2 8.4 4 9.8 3.4 11.1-.5 2.4-.5 4.3-3 7.1-1.7 2.5-5.4 4.7-11.8 7.6-7.6-13-16.5-23.6-27.8-31.2zM91 143.1l1.2-1.7c1.2-2.9 4.2-7.6 9.3-15.2l2.5-3.4-13 12.3 5.4-4.7-10.1 9.3-4.2 1.2c12.3-24.1 23.1-41.3 32.5-50.2 9.3-9.3 16-16 20.2-19.4l-6.4 1.2c-11.3-4.2-19.4-7.1-24.8-8.4 2.5-.5 3.7-.5 3.2-.5 10.3 0 17.5.5 20.9 1.2a52.35 52.35 0 0 0 16 2.5l.5-1.7-8.4-35.8 13.5 29a42.89 42.89 0 0 0 5.9-14.3c1.7-6.4 5.4-13 10.1-19.4s7.6-10.6 9.3-11.3a234.68 234.68 0 0 0-6.4 25.3l-1.7 7.1-.5 4.7 2.5 2.5C190.4 39.9 214 34 239.8 34.5l21.1.5c-11.8 13.5-27.8 21.9-48.5 24.8a201.26 201.26 0 0 1-23.4 2.9l-.2-.5-2.5-1.2a20.75 20.75 0 0 0-14 2c-2.5-.2-4.9-.5-7.1-.7l-2.5 1.7.5 1.2c2 .2 3.9.5 6.2.7l-2 3.4 3.4-.5-10.6 11.3c-4.2 3-5.4 6.4-4.2 9.3l5.4-3.4h1.2a39.4 39.4 0 0 1 25.3-15.2v-3c6.4.5 13 1 19.4 1.2 6.4 0 8.4.5 5.4 1.2a189.6 189.6 0 0 1 20.7 13.5c13.5 10.1 23.6 21.9 30 35.4 8.8 18.2 13.5 37.1 13.5 56.6a141.13 141.13 0 0 1-3 28.3 209.91 209.91 0 0 1-16 46l2.5.5c18.2-19.7 41.9-16 49.2-16l-6.4 5.9 22.4 17.7-1.7 30.7c-5.4-12.3-16.5-21.1-33-27.8 16.5 14.8 23.6 21.1 21.9 20.2-4.8-2.8-3.5-1.9-10.8-3.7 4.1 4.1 17.5 18.8 18.2 20.7l.2.2-.2.2c0 1.8 1.6-1.2-14 22.9-75.2-15.3-106.27-42.7-141.2-63.2l11.8 1.2c-11.8-18.5-15.6-17.7-38.4-26.1L149 225c-8.8-3-18.2-3-28.3.5l7.6-10.6-1.2-1.7c-14.9 4.3-19.8 9.2-22.6 11.3-1.1-5.5-2.8-12.4-12.3-28.8l-1.2 27-13.2-5c1.5-25.2 5.4-50.5 13.2-74.6zm276.5 330c-49.9 25-56.1 22.4-59 23.9-29.8-11.8-50.9-31.7-63.5-58.8l30 16.5c-9.8-9.3-18.3-16.5-38.4-44.3l11.8 23.1-17.7-7.6c14.2 21.1 23.5 51.7 66.6 73.5-120.8 24.2-199-72.1-200.9-74.3a262.57 262.57 0 0 0 35.4 24.8c3.4 1.7 7.1 2.5 10.1 1.2l-16-20.7c9.2 4.2 9.5 4.5 69.1 29-42.5-20.7-73.8-40.8-93.2-60.2-.5 6.4-1.2 10.1-1.2 10.1a80.25 80.25 0 0 1 20.7 26.6c-39-18.9-57.6-47.6-71.3-82.6 49.9 55.1 118.9 37.5 120.5 37.1 34.8 16.4 69.9 23.6 113.9 10.6 3.3 0 20.3 17 25.3 39.1l4.2-3-2.5-23.6c9 9 24.9 22.6 34.4 13-15.6-5.3-23.5-9.5-29.5-31.7 4.6 4.2 7.6 9 27.8 15l1.2-1.2-10.5-14.2c11.7-4.8-3.5 1 32-10.8 4.3 34.3 9 49.2.7 89.5zm115.3-214.4l-2.5.5 3 9.3c-3.5 5.9-23.7 44.3-71.6 79.7-39.5 29.8-76.6 39.1-80.9 40.3l-7.6-7.1-1.2 3 14.3 16-7.1-4.7 3.4 4.2h-1.2l-21.9-13.5 9.3 26.6-19-27.9-1.2 2.5 7.6 29c-6.1-8.2-21-32.6-56.8-39.6l32.5 21.2a214.82 214.82 0 0 1-93.2-6.4c-4.2-1.2-8.9-2.5-13.5-4.2l1.2-3-44.8-22.4 26.1 22.4c-57.7 9.1-113-25.4-126.4-83.4l-2.5-16.4-22.27 22.3c19.5-57.5 25.6-57.9 51.4-70.1-9.1-5.3-1.6-3.3-38.4-9.3 15.8-5.8 33-15.4 73 5.2a18.5 18.5 0 0 1 3.7-1.7c.6-3.2.4-.8 1-11.8 3.9 10 3.6 8.7 3 9.3l1.7.5c12.7-6.5 8.9-4.5 17-8.9l-5.4 13.5 22.3-5.8-8.4 8.4 2.5 2.5c4.5-1.8 30.3 3.4 40.8 16l-23.6-2.5c39.4 23 51.5 54 55.8 69.6l1.7-1.2c-2.8-22.3-12.4-33.9-16-40.1 4.2 5 39.2 34.6 110.4 46-11.3-.5-23.1 5.4-34.9 18.9l46.7-20.2-9.3 21.9c7.6-10.1 14.8-23.6 21.2-39.6v-.5l1.2-3-1.2 16c13.5-41.8 25.3-78.5 35.4-109.7l13.5-27.8v-2l-5.4-4.2h10.1l5.9 4.2 2.5-1.2-3.4-16 12.3 18.9 41.8-20.2-14.8 13 .5 2.9 17.7-.5a184 184 0 0 1 33 4.2l-23.6 2.5-1.2 3 26.6 23.1a254.21 254.21 0 0 1 27 32c-11.2-3.3-10.3-3.4-21.2-3.4l12.3 32.5zm-6.1-71.3l-3.9 13-14.3-11.8zm-254.8 7.1c1.7 10.6 4.7 17.7 8.8 21.9-9.3 6.6-27.5 13.9-46.5 16l.5 1.2a50.22 50.22 0 0 0 24.8-2.5l-7.1 13c4.2-1.7 10.1-7.1 17.7-14.8 11.9-5.5 12.7-5.1 20.2-16-12.7-6.4-15.7-13.7-18.4-18.8zm3.7-102.3c-6.4-3.4-10.6 3-12.3 18.9s2.5 29.5 11.8 39.6 18.2 10.6 26.1 3 3.4-23.6-11.3-47.7a39.57 39.57 0 0 0-14.27-13.8zm-4.7 46.3c5.4 2.2 10.5 1.9 12.3-10.6v-4.7l-1.2.5c-4.3-3.1-2.5-4.5-1.7-6.2l.5-.5c-.9-1.2-5-8.1-12.5 4.7-.5-13.5.5-21.9 3-24.8 1.2-2.5 4.7-1.2 11.3 4.2 6.4 5.4 11.3 16 15.2 32.5 6.5 28-19.8 26.2-26.9 4.9zm-45-5.5c1.6.3 9.3-1.1 9.3-14.8h-.5c-5.4-1.1-2.2-5.5-.7-5.9-1.7-3-3.4-4.2-5.4-4.7-8.1 0-11.6 12.7-8.1 21.2a7.51 7.51 0 0 0 5.43 4.2zM216 82.9l-2.5.5.5 3a48.94 48.94 0 0 1 26.1 5.9c-2.5-5.5-10-14.3-28.3-14.3l.5 2.5zm-71.8 49.4c21.7 16.8 16.5 21.4 46.5 23.6l-2.9-4.7a42.67 42.67 0 0 0 14.8-28.3c1.7-16-1.2-29.5-8.8-41.3l13-7.6a2.26 2.26 0 0 0-.5-1.7 14.21 14.21 0 0 0-13.5 1.7c-12.7 6.7-28 20.9-29 22.4-1.7 1.7-3.4 5.9-5.4 13.5a99.61 99.61 0 0 0-2.9 23.6c-4.7-8-10.5-6.4-19.9-5.9l7.1 7.6c-16.5 0-23.3 15.4-23.6 16 6.8 0 4.6-7.6 30-12.3-4.3-6.3-3.3-5-4.9-6.6zm18.7-18.7c1.2-7.6 3.4-13 6.4-17.2 5.4-6.4 10.6-10.1 16-11.8 4.2-1.7 7.1 1.2 10.1 9.3a72.14 72.14 0 0 1 3 25.3c-.5 9.3-3.4 17.2-8.4 23.1-2.9 3.4-5.4 5.9-6.4 7.6a39.21 39.21 0 0 1-11.3-.5l-7.1-3.4-5.4-6.4c.8-10 1.3-18.8 3.1-26zm42 56.1c-34.8 14.4-34.7 14-36.1 14.3-20.8 4.7-19-24.4-18.9-24.8l5.9-1.2-.5-2.5c-20.2-2.6-31 4.2-32.5 4.9.5.5 3 3.4 5.9 9.3 4.2-6.4 8.8-10.1 15.2-10.6a83.47 83.47 0 0 0 1.7 33.7c.1.5 2.6 17.4 27.5 24.1 11.3 3 27 1.2 48.9-5.4l-9.2.5c-4.2-14.8-6.4-24.8-5.9-29.5 11.3-8.8 21.9-11.3 30.7-7.6h2.5l-11.8-7.6-7.1.5c-5.9 1.2-12.3 4.2-19.4 8.4z"]
  103873. };
  103874. var faSquareHackerNews = {
  103875. prefix: 'fab',
  103876. iconName: 'square-hacker-news',
  103877. icon: [448, 512, ["hacker-news-square"], "f3af", "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-48zM21.2 229.2H21c.1-.1.2-.3.3-.4 0 .1 0 .3-.1.4zm218 53.9V384h-31.4V281.3L128 128h37.3c52.5 98.3 49.2 101.2 59.3 125.6 12.3-27 5.8-24.4 60.6-125.6H320l-80.8 155.1z"]
  103878. };
  103879. var faHackerNewsSquare = faSquareHackerNews;
  103880. var faEdge = {
  103881. prefix: 'fab',
  103882. iconName: 'edge',
  103883. icon: [512, 512, [], "f282", "M120.1 37.44C161.1 12.23 207.7-.7753 255 .0016C423 .0016 512 123.8 512 219.5C511.9 252.2 499 283.4 476.1 306.7C453.2 329.9 422.1 343.2 389.4 343.7C314.2 343.7 297.9 320.6 297.9 311.7C297.9 307.9 299.1 305.5 302.7 302.3L303.7 301.1L304.1 299.5C314.6 288 320 273.3 320 257.9C320 179.2 237.8 115.2 136 115.2C98.46 114.9 61.46 124.1 28.48 142.1C55.48 84.58 111.2 44.5 119.8 38.28C120.6 37.73 120.1 37.44 120.1 37.44V37.44zM135.7 355.5C134.3 385.5 140.3 415.5 152.1 442.7C165.7 469.1 184.8 493.7 208.6 512C149.1 500.5 97.11 468.1 59.2 422.7C21.12 376.3 0 318.4 0 257.9C0 206.7 62.4 163.5 136 163.5C172.6 162.9 208.4 174.4 237.8 196.2L234.2 197.4C182.7 215 135.7 288.1 135.7 355.5V355.5zM469.8 400L469.1 400.1C457.3 418.9 443.2 435.2 426.9 449.6C396.1 477.6 358.8 495.1 318.1 499.5C299.5 499.8 281.3 496.3 264.3 488.1C238.7 477.8 217.2 458.1 202.7 435.1C188.3 411.2 181.6 383.4 183.7 355.5C183.1 335.4 189.1 315.2 198.7 297.3C212.6 330.4 236.2 358.6 266.3 378.1C296.4 397.6 331.8 407.6 367.7 406.7C398.7 407 429.8 400 457.9 386.2L459.8 385.3C463.7 383 467.5 381.4 471.4 385.3C475.9 390.2 473.2 394.5 470.2 399.3C470 399.5 469.9 399.8 469.8 400V400z"]
  103884. };
  103885. var faNapster = {
  103886. prefix: 'fab',
  103887. iconName: 'napster',
  103888. icon: [496, 512, [], "f3d2", "M298.3 373.6c-14.2 13.6-31.3 24.1-50.4 30.5-19-6.4-36.2-16.9-50.3-30.5h100.7zm44-199.6c20-16.9 43.6-29.2 69.6-36.2V299c0 219.4-328 217.6-328 .3V137.7c25.9 6.9 49.6 19.6 69.5 36.4 56.8-40 132.5-39.9 188.9-.1zm-208.8-58.5c64.4-60 164.3-60.1 228.9-.2-7.1 3.5-13.9 7.3-20.6 11.5-58.7-30.5-129.2-30.4-187.9.1-6.3-4-13.9-8.2-20.4-11.4zM43.8 93.2v69.3c-58.4 36.5-58.4 121.1.1 158.3 26.4 245.1 381.7 240.3 407.6 1.5l.3-1.7c58.7-36.3 58.9-121.7.2-158.2V93.2c-17.3.5-34 3-50.1 7.4-82-91.5-225.5-91.5-307.5.1-16.3-4.4-33.1-7-50.6-7.5zM259.2 352s36-.3 61.3-1.5c10.2-.5 21.1-4 25.5-6.5 26.3-15.1 25.4-39.2 26.2-47.4-79.5-.6-99.9-3.9-113 55.4zm-135.5-55.3c.8 8.2-.1 32.3 26.2 47.4 4.4 2.5 15.2 6 25.5 6.5 25.3 1.1 61.3 1.5 61.3 1.5-13.2-59.4-33.7-56.1-113-55.4zm169.1 123.4c-3.2-5.3-6.9-7.3-6.9-7.3-24.8 7.3-52.2 6.9-75.9 0 0 0-2.9 1.5-6.4 6.6-2.8 4.1-3.7 9.6-3.7 9.6 29.1 17.6 67.1 17.6 96.2 0-.1-.1-.3-4-3.3-8.9z"]
  103889. };
  103890. var faSquareSnapchat = {
  103891. prefix: 'fab',
  103892. iconName: 'square-snapchat',
  103893. icon: [448, 512, ["snapchat-square"], "f2ad", "M384,32H64A64,64,0,0,0,0,96V416a64,64,0,0,0,64,64H384a64,64,0,0,0,64-64V96A64,64,0,0,0,384,32Zm-3.907,319.309-.083.1a32.364,32.364,0,0,1-8.717,6.823,90.26,90.26,0,0,1-20.586,8.2,12.694,12.694,0,0,0-3.852,1.76c-2.158,1.909-2.1,4.64-4.4,8.55a23.137,23.137,0,0,1-6.84,7.471c-6.707,4.632-14.244,4.923-22.23,5.23-7.214.274-15.39.581-24.729,3.669-3.761,1.245-7.753,3.694-12.377,6.533-11.265,6.9-26.68,16.353-52.3,16.353s-40.925-9.4-52.106-16.279c-4.657-2.888-8.675-5.362-12.543-6.64-9.339-3.08-17.516-3.4-24.729-3.67-7.986-.307-15.523-.6-22.231-5.229a23.085,23.085,0,0,1-6.01-6.11c-3.2-4.632-2.855-7.8-5.254-9.895a13.428,13.428,0,0,0-4.1-1.834,89.986,89.986,0,0,1-20.313-8.127,32.905,32.905,0,0,1-8.3-6.284c-6.583-6.757-8.276-14.776-5.686-21.824,3.436-9.338,11.571-12.111,19.4-16.262,14.776-8.027,26.348-18.055,34.433-29.884a68.236,68.236,0,0,0,5.985-10.567c.789-2.158.772-3.329.241-4.416a7.386,7.386,0,0,0-2.208-2.217c-2.532-1.676-5.113-3.353-6.882-4.5-3.27-2.141-5.868-3.818-7.529-4.98-6.267-4.383-10.65-9.04-13.4-14.245a28.4,28.4,0,0,1-1.369-23.584c4.134-10.924,14.469-17.706,26.978-17.706a37.141,37.141,0,0,1,7.845.83c.689.15,1.37.307,2.042.482-.108-7.43.058-15.357.722-23.119,2.358-27.261,11.912-41.589,21.874-52.994a86.836,86.836,0,0,1,22.28-17.931C188.254,100.383,205.312,96,224,96s35.828,4.383,50.944,13.016a87.169,87.169,0,0,1,22.239,17.9c9.961,11.406,19.516,25.709,21.874,52.995a231.194,231.194,0,0,1,.713,23.118c.673-.174,1.362-.332,2.051-.481a37.131,37.131,0,0,1,7.844-.83c12.5,0,22.82,6.782,26.971,17.706a28.37,28.37,0,0,1-1.4,23.559c-2.74,5.2-7.123,9.861-13.39,14.244-1.668,1.187-4.258,2.864-7.529,4.981-1.835,1.187-4.541,2.947-7.164,4.682a6.856,6.856,0,0,0-1.951,2.034c-.506,1.046-.539,2.191.166,4.208a69.015,69.015,0,0,0,6.085,10.792c8.268,12.1,20.188,22.313,35.454,30.407,1.486.772,2.98,1.5,4.441,2.258.722.332,1.569.763,2.491,1.3,4.9,2.723,9.2,6.01,11.455,12.153C387.821,336.915,386.269,344.7,380.093,351.309Zm-16.719-18.461c-50.313-24.314-58.332-61.918-58.689-64.749-.431-3.379-.921-6.035,2.806-9.472,3.594-3.328,19.541-13.19,23.965-16.278,7.33-5.114,10.534-10.219,8.16-16.495-1.66-4.316-5.686-5.976-9.961-5.976a18.5,18.5,0,0,0-3.993.448c-8.035,1.743-15.838,5.769-20.354,6.857a7.1,7.1,0,0,1-1.66.224c-2.408,0-3.279-1.071-3.088-3.968.564-8.783,1.759-25.925.373-41.937-1.884-22.032-8.99-32.948-17.432-42.6-4.051-4.624-23.135-24.654-59.536-24.654S168.53,134.359,164.479,139c-8.434,9.654-15.531,20.57-17.432,42.6-1.386,16.013-.141,33.147.373,41.937.166,2.756-.68,3.968-3.088,3.968a7.1,7.1,0,0,1-1.66-.224c-4.507-1.087-12.31-5.113-20.346-6.856a18.494,18.494,0,0,0-3.993-.449c-4.25,0-8.3,1.636-9.961,5.977-2.374,6.276.847,11.381,8.168,16.494,4.425,3.088,20.371,12.958,23.966,16.279,3.719,3.437,3.237,6.093,2.805,9.471-.356,2.79-8.384,40.394-58.689,64.749-2.946,1.428-7.96,4.45.88,9.331,13.88,7.628,23.111,6.807,30.3,11.43,6.093,3.927,2.5,12.394,6.923,15.449,5.454,3.76,21.583-.266,42.335,6.6,17.433,5.744,28.116,22.015,58.963,22.015s41.788-16.3,58.938-21.973c20.795-6.865,36.89-2.839,42.336-6.6,4.433-3.055.822-11.522,6.923-15.448,7.181-4.624,16.411-3.8,30.3-11.472C371.36,337.355,366.346,334.333,363.374,332.848Z"]
  103894. };
  103895. var faSnapchatSquare = faSquareSnapchat;
  103896. var faGooglePlusG = {
  103897. prefix: 'fab',
  103898. iconName: 'google-plus-g',
  103899. icon: [640, 512, [], "f0d5", "M386.061 228.496c1.834 9.692 3.143 19.384 3.143 31.956C389.204 370.205 315.599 448 204.8 448c-106.084 0-192-85.915-192-192s85.916-192 192-192c51.864 0 95.083 18.859 128.611 50.292l-52.126 50.03c-14.145-13.621-39.028-29.599-76.485-29.599-65.484 0-118.92 54.221-118.92 121.277 0 67.056 53.436 121.277 118.92 121.277 75.961 0 104.513-54.745 108.965-82.773H204.8v-66.009h181.261zm185.406 6.437V179.2h-56.001v55.733h-55.733v56.001h55.733v55.733h56.001v-55.733H627.2v-56.001h-55.733z"]
  103900. };
  103901. var faArtstation = {
  103902. prefix: 'fab',
  103903. iconName: 'artstation',
  103904. icon: [512, 512, [], "f77a", "M2 377.4l43 74.3A51.35 51.35 0 0 0 90.9 480h285.4l-59.2-102.6zM501.8 350L335.6 59.3A51.38 51.38 0 0 0 290.2 32h-88.4l257.3 447.6 40.7-70.5c1.9-3.2 21-29.7 2-59.1zM275 304.5l-115.5-200L44 304.5z"]
  103905. };
  103906. var faMarkdown = {
  103907. prefix: 'fab',
  103908. iconName: 'markdown',
  103909. icon: [640, 512, [], "f60f", "M593.8 59.1H46.2C20.7 59.1 0 79.8 0 105.2v301.5c0 25.5 20.7 46.2 46.2 46.2h547.7c25.5 0 46.2-20.7 46.1-46.1V105.2c0-25.4-20.7-46.1-46.2-46.1zM338.5 360.6H277v-120l-61.5 76.9-61.5-76.9v120H92.3V151.4h61.5l61.5 76.9 61.5-76.9h61.5v209.2zm135.3 3.1L381.5 256H443V151.4h61.5V256H566z"]
  103910. };
  103911. var faSourcetree = {
  103912. prefix: 'fab',
  103913. iconName: 'sourcetree',
  103914. icon: [448, 512, [], "f7d3", "M427.2 203c0-112.1-90.9-203-203-203C112.1-.2 21.2 90.6 21 202.6A202.86 202.86 0 0 0 161.5 396v101.7a14.3 14.3 0 0 0 14.3 14.3h96.4a14.3 14.3 0 0 0 14.3-14.3V396.1A203.18 203.18 0 0 0 427.2 203zm-271.6 0c0-90.8 137.3-90.8 137.3 0-.1 89.9-137.3 91-137.3 0z"]
  103915. };
  103916. var faGooglePlus = {
  103917. prefix: 'fab',
  103918. iconName: 'google-plus',
  103919. icon: [512, 512, [], "f2b3", "M256,8C119.1,8,8,119.1,8,256S119.1,504,256,504,504,392.9,504,256,392.9,8,256,8ZM185.3,380a124,124,0,0,1,0-248c31.3,0,60.1,11,83,32.3l-33.6,32.6c-13.2-12.9-31.3-19.1-49.4-19.1-42.9,0-77.2,35.5-77.2,78.1S142.3,334,185.3,334c32.6,0,64.9-19.1,70.1-53.3H185.3V238.1H302.2a109.2,109.2,0,0,1,1.9,20.7c0,70.8-47.5,121.2-118.8,121.2ZM415.5,273.8v35.5H380V273.8H344.5V238.3H380V202.8h35.5v35.5h35.2v35.5Z"]
  103920. };
  103921. var faDiaspora = {
  103922. prefix: 'fab',
  103923. iconName: 'diaspora',
  103924. icon: [512, 512, [], "f791", "M251.64 354.55c-1.4 0-88 119.9-88.7 119.9S76.34 414 76 413.25s86.6-125.7 86.6-127.4c0-2.2-129.6-44-137.6-47.1-1.3-.5 31.4-101.8 31.7-102.1.6-.7 144.4 47 145.5 47 .4 0 .9-.6 1-1.3.4-2 1-148.6 1.7-149.6.8-1.2 104.5-.7 105.1-.3 1.5 1 3.5 156.1 6.1 156.1 1.4 0 138.7-47 139.3-46.3.8.9 31.9 102.2 31.5 102.6-.9.9-140.2 47.1-140.6 48.8-.3 1.4 82.8 122.1 82.5 122.9s-85.5 63.5-86.3 63.5c-1-.2-89-125.5-90.9-125.5z"]
  103925. };
  103926. var faFoursquare = {
  103927. prefix: 'fab',
  103928. iconName: 'foursquare',
  103929. icon: [368, 512, [], "f180", "M323.1 3H49.9C12.4 3 0 31.3 0 49.1v433.8c0 20.3 12.1 27.7 18.2 30.1 6.2 2.5 22.8 4.6 32.9-7.1C180 356.5 182.2 354 182.2 354c3.1-3.4 3.4-3.1 6.8-3.1h83.4c35.1 0 40.6-25.2 44.3-39.7l48.6-243C373.8 25.8 363.1 3 323.1 3zm-16.3 73.8l-11.4 59.7c-1.2 6.5-9.5 13.2-16.9 13.2H172.1c-12 0-20.6 8.3-20.6 20.3v13c0 12 8.6 20.6 20.6 20.6h90.4c8.3 0 16.6 9.2 14.8 18.2-1.8 8.9-10.5 53.8-11.4 58.8-.9 4.9-6.8 13.5-16.9 13.5h-73.5c-13.5 0-17.2 1.8-26.5 12.6 0 0-8.9 11.4-89.5 108.3-.9.9-1.8.6-1.8-.3V75.9c0-7.7 6.8-16.6 16.6-16.6h219c8.2 0 15.6 7.7 13.5 17.5z"]
  103930. };
  103931. var faStackOverflow = {
  103932. prefix: 'fab',
  103933. iconName: 'stack-overflow',
  103934. icon: [384, 512, [], "f16c", "M290.7 311L95 269.7 86.8 309l195.7 41zm51-87L188.2 95.7l-25.5 30.8 153.5 128.3zm-31.2 39.7L129.2 179l-16.7 36.5L293.7 300zM262 32l-32 24 119.3 160.3 32-24zm20.5 328h-200v39.7h200zm39.7 80H42.7V320h-40v160h359.5V320h-40z"]
  103935. };
  103936. var faGithubAlt = {
  103937. prefix: 'fab',
  103938. iconName: 'github-alt',
  103939. icon: [480, 512, [], "f113", "M186.1 328.7c0 20.9-10.9 55.1-36.7 55.1s-36.7-34.2-36.7-55.1 10.9-55.1 36.7-55.1 36.7 34.2 36.7 55.1zM480 278.2c0 31.9-3.2 65.7-17.5 95-37.9 76.6-142.1 74.8-216.7 74.8-75.8 0-186.2 2.7-225.6-74.8-14.6-29-20.2-63.1-20.2-95 0-41.9 13.9-81.5 41.5-113.6-5.2-15.8-7.7-32.4-7.7-48.8 0-21.5 4.9-32.3 14.6-51.8 45.3 0 74.3 9 108.8 36 29-6.9 58.8-10 88.7-10 27 0 54.2 2.9 80.4 9.2 34-26.7 63-35.2 107.8-35.2 9.8 19.5 14.6 30.3 14.6 51.8 0 16.4-2.6 32.7-7.7 48.2 27.5 32.4 39 72.3 39 114.2zm-64.3 50.5c0-43.9-26.7-82.6-73.5-82.6-18.9 0-37 3.4-56 6-14.9 2.3-29.8 3.2-45.1 3.2-15.2 0-30.1-.9-45.1-3.2-18.7-2.6-37-6-56-6-46.8 0-73.5 38.7-73.5 82.6 0 87.8 80.4 101.3 150.4 101.3h48.2c70.3 0 150.6-13.4 150.6-101.3zm-82.6-55.1c-25.8 0-36.7 34.2-36.7 55.1s10.9 55.1 36.7 55.1 36.7-34.2 36.7-55.1-10.9-55.1-36.7-55.1z"]
  103940. };
  103941. var faPhoenixSquadron = {
  103942. prefix: 'fab',
  103943. iconName: 'phoenix-squadron',
  103944. icon: [512, 512, [], "f511", "M96 63.38C142.49 27.25 201.55 7.31 260.51 8.81c29.58-.38 59.11 5.37 86.91 15.33-24.13-4.63-49-6.34-73.38-2.45C231.17 27 191 48.84 162.21 80.87c5.67-1 10.78-3.67 16-5.86 18.14-7.87 37.49-13.26 57.23-14.83 19.74-2.13 39.64-.43 59.28 1.92-14.42 2.79-29.12 4.57-43 9.59-34.43 11.07-65.27 33.16-86.3 62.63-13.8 19.71-23.63 42.86-24.67 67.13-.35 16.49 5.22 34.81 19.83 44a53.27 53.27 0 0 0 37.52 6.74c15.45-2.46 30.07-8.64 43.6-16.33 11.52-6.82 22.67-14.55 32-24.25 3.79-3.22 2.53-8.45 2.62-12.79-2.12-.34-4.38-1.11-6.3.3a203 203 0 0 1-35.82 15.37c-20 6.17-42.16 8.46-62.1.78 12.79 1.73 26.06.31 37.74-5.44 20.23-9.72 36.81-25.2 54.44-38.77a526.57 526.57 0 0 1 88.9-55.31c25.71-12 52.94-22.78 81.57-24.12-15.63 13.72-32.15 26.52-46.78 41.38-14.51 14-27.46 29.5-40.11 45.18-3.52 4.6-8.95 6.94-13.58 10.16a150.7 150.7 0 0 0-51.89 60.1c-9.33 19.68-14.5 41.85-11.77 63.65 1.94 13.69 8.71 27.59 20.9 34.91 12.9 8 29.05 8.07 43.48 5.1 32.8-7.45 61.43-28.89 81-55.84 20.44-27.52 30.52-62.2 29.16-96.35-.52-7.5-1.57-15-1.66-22.49 8 19.48 14.82 39.71 16.65 60.83 2 14.28.75 28.76-1.62 42.9-1.91 11-5.67 21.51-7.78 32.43a165 165 0 0 0 39.34-81.07 183.64 183.64 0 0 0-14.21-104.64c20.78 32 32.34 69.58 35.71 107.48.49 12.73.49 25.51 0 38.23A243.21 243.21 0 0 1 482 371.34c-26.12 47.34-68 85.63-117.19 108-78.29 36.23-174.68 31.32-248-14.68A248.34 248.34 0 0 1 25.36 366 238.34 238.34 0 0 1 0 273.08v-31.34C3.93 172 40.87 105.82 96 63.38m222 80.33a79.13 79.13 0 0 0 16-4.48c5-1.77 9.24-5.94 10.32-11.22-8.96 4.99-17.98 9.92-26.32 15.7z"]
  103945. };
  103946. var faPagelines = {
  103947. prefix: 'fab',
  103948. iconName: 'pagelines',
  103949. icon: [384, 512, [], "f18c", "M384 312.7c-55.1 136.7-187.1 54-187.1 54-40.5 81.8-107.4 134.4-184.6 134.7-16.1 0-16.6-24.4 0-24.4 64.4-.3 120.5-42.7 157.2-110.1-41.1 15.9-118.6 27.9-161.6-82.2 109-44.9 159.1 11.2 178.3 45.5 9.9-24.4 17-50.9 21.6-79.7 0 0-139.7 21.9-149.5-98.1 119.1-47.9 152.6 76.7 152.6 76.7 1.6-16.7 3.3-52.6 3.3-53.4 0 0-106.3-73.7-38.1-165.2 124.6 43 61.4 162.4 61.4 162.4.5 1.6.5 23.8 0 33.4 0 0 45.2-89 136.4-57.5-4.2 134-141.9 106.4-141.9 106.4-4.4 27.4-11.2 53.4-20 77.5 0 0 83-91.8 172-20z"]
  103950. };
  103951. var faAlgolia = {
  103952. prefix: 'fab',
  103953. iconName: 'algolia',
  103954. icon: [448, 512, [], "f36c", "M229.3 182.6c-49.3 0-89.2 39.9-89.2 89.2 0 49.3 39.9 89.2 89.2 89.2s89.2-39.9 89.2-89.2c0-49.3-40-89.2-89.2-89.2zm62.7 56.6l-58.9 30.6c-1.8.9-3.8-.4-3.8-2.3V201c0-1.5 1.3-2.7 2.7-2.6 26.2 1 48.9 15.7 61.1 37.1.7 1.3.2 3-1.1 3.7zM389.1 32H58.9C26.4 32 0 58.4 0 90.9V421c0 32.6 26.4 59 58.9 59H389c32.6 0 58.9-26.4 58.9-58.9V90.9C448 58.4 421.6 32 389.1 32zm-202.6 84.7c0-10.8 8.7-19.5 19.5-19.5h45.3c10.8 0 19.5 8.7 19.5 19.5v15.4c0 1.8-1.7 3-3.3 2.5-12.3-3.4-25.1-5.1-38.1-5.1-13.5 0-26.7 1.8-39.4 5.5-1.7.5-3.4-.8-3.4-2.5v-15.8zm-84.4 37l9.2-9.2c7.6-7.6 19.9-7.6 27.5 0l7.7 7.7c1.1 1.1 1 3-.3 4-6.2 4.5-12.1 9.4-17.6 14.9-5.4 5.4-10.4 11.3-14.8 17.4-1 1.3-2.9 1.5-4 .3l-7.7-7.7c-7.6-7.5-7.6-19.8 0-27.4zm127.2 244.8c-70 0-126.6-56.7-126.6-126.6s56.7-126.6 126.6-126.6c70 0 126.6 56.6 126.6 126.6 0 69.8-56.7 126.6-126.6 126.6z"]
  103955. };
  103956. var faRedRiver = {
  103957. prefix: 'fab',
  103958. iconName: 'red-river',
  103959. icon: [448, 512, [], "f3e3", "M353.2 32H94.8C42.4 32 0 74.4 0 126.8v258.4C0 437.6 42.4 480 94.8 480h258.4c52.4 0 94.8-42.4 94.8-94.8V126.8c0-52.4-42.4-94.8-94.8-94.8zM144.9 200.9v56.3c0 27-21.9 48.9-48.9 48.9V151.9c0-13.2 10.7-23.9 23.9-23.9h154.2c0 27-21.9 48.9-48.9 48.9h-56.3c-12.3-.6-24.6 11.6-24 24zm176.3 72h-56.3c-12.3-.6-24.6 11.6-24 24v56.3c0 27-21.9 48.9-48.9 48.9V247.9c0-13.2 10.7-23.9 23.9-23.9h154.2c0 27-21.9 48.9-48.9 48.9z"]
  103960. };
  103961. var faCreativeCommonsSa = {
  103962. prefix: 'fab',
  103963. iconName: 'creative-commons-sa',
  103964. icon: [496, 512, [], "f4ef", "M247.6 8C389.4 8 496 118.1 496 256c0 147.1-118.5 248-248.4 248C113.6 504 0 394.5 0 256 0 123.1 104.7 8 247.6 8zm.8 44.7C130.2 52.7 44.7 150.6 44.7 256c0 109.8 91.2 202.8 203.7 202.8 103.2 0 202.8-81.1 202.8-202.8.1-113.8-90.2-203.3-202.8-203.3zM137.7 221c13-83.9 80.5-95.7 108.9-95.7 99.8 0 127.5 82.5 127.5 134.2 0 63.6-41 132.9-128.9 132.9-38.9 0-99.1-20-109.4-97h62.5c1.5 30.1 19.6 45.2 54.5 45.2 23.3 0 58-18.2 58-82.8 0-82.5-49.1-80.6-56.7-80.6-33.1 0-51.7 14.6-55.8 43.8h18.2l-49.2 49.2-49-49.2h19.4z"]
  103965. };
  103966. var faSafari = {
  103967. prefix: 'fab',
  103968. iconName: 'safari',
  103969. icon: [512, 512, [], "f267", "M274.69,274.69l-37.38-37.38L166,346ZM256,8C119,8,8,119,8,256S119,504,256,504,504,393,504,256,393,8,256,8ZM411.85,182.79l14.78-6.13A8,8,0,0,1,437.08,181h0a8,8,0,0,1-4.33,10.46L418,197.57a8,8,0,0,1-10.45-4.33h0A8,8,0,0,1,411.85,182.79ZM314.43,94l6.12-14.78A8,8,0,0,1,331,74.92h0a8,8,0,0,1,4.33,10.45l-6.13,14.78a8,8,0,0,1-10.45,4.33h0A8,8,0,0,1,314.43,94ZM256,60h0a8,8,0,0,1,8,8V84a8,8,0,0,1-8,8h0a8,8,0,0,1-8-8V68A8,8,0,0,1,256,60ZM181,74.92a8,8,0,0,1,10.46,4.33L197.57,94a8,8,0,1,1-14.78,6.12l-6.13-14.78A8,8,0,0,1,181,74.92Zm-63.58,42.49h0a8,8,0,0,1,11.31,0L140,128.72A8,8,0,0,1,140,140h0a8,8,0,0,1-11.31,0l-11.31-11.31A8,8,0,0,1,117.41,117.41ZM60,256h0a8,8,0,0,1,8-8H84a8,8,0,0,1,8,8h0a8,8,0,0,1-8,8H68A8,8,0,0,1,60,256Zm40.15,73.21-14.78,6.13A8,8,0,0,1,74.92,331h0a8,8,0,0,1,4.33-10.46L94,314.43a8,8,0,0,1,10.45,4.33h0A8,8,0,0,1,100.15,329.21Zm4.33-136h0A8,8,0,0,1,94,197.57l-14.78-6.12A8,8,0,0,1,74.92,181h0a8,8,0,0,1,10.45-4.33l14.78,6.13A8,8,0,0,1,104.48,193.24ZM197.57,418l-6.12,14.78a8,8,0,0,1-14.79-6.12l6.13-14.78A8,8,0,1,1,197.57,418ZM264,444a8,8,0,0,1-8,8h0a8,8,0,0,1-8-8V428a8,8,0,0,1,8-8h0a8,8,0,0,1,8,8Zm67-6.92h0a8,8,0,0,1-10.46-4.33L314.43,418a8,8,0,0,1,4.33-10.45h0a8,8,0,0,1,10.45,4.33l6.13,14.78A8,8,0,0,1,331,437.08Zm63.58-42.49h0a8,8,0,0,1-11.31,0L372,383.28A8,8,0,0,1,372,372h0a8,8,0,0,1,11.31,0l11.31,11.31A8,8,0,0,1,394.59,394.59ZM286.25,286.25,110.34,401.66,225.75,225.75,401.66,110.34ZM437.08,331h0a8,8,0,0,1-10.45,4.33l-14.78-6.13a8,8,0,0,1-4.33-10.45h0A8,8,0,0,1,418,314.43l14.78,6.12A8,8,0,0,1,437.08,331ZM444,264H428a8,8,0,0,1-8-8h0a8,8,0,0,1,8-8h16a8,8,0,0,1,8,8h0A8,8,0,0,1,444,264Z"]
  103970. };
  103971. var faGoogle = {
  103972. prefix: 'fab',
  103973. iconName: 'google',
  103974. icon: [488, 512, [], "f1a0", "M488 261.8C488 403.3 391.1 504 248 504 110.8 504 0 393.2 0 256S110.8 8 248 8c66.8 0 123 24.5 166.3 64.9l-67.5 64.9C258.5 52.6 94.3 116.6 94.3 256c0 86.5 69.1 156.6 153.7 156.6 98.2 0 135-70.4 140.8-106.9H248v-85.3h236.1c2.3 12.7 3.9 24.9 3.9 41.4z"]
  103975. };
  103976. var faSquareFontAwesomeStroke = {
  103977. prefix: 'fab',
  103978. iconName: 'square-font-awesome-stroke',
  103979. icon: [448, 512, ["font-awesome-alt"], "f35c", "M201.6,152c-25.4,0-37.4,10.4-57.6,14.4V160c0-8.8-7.2-16-16-16s-16,7.2-16,16v192c0,0.8,0.1,1.6,0.2,2.4 c0.1,0.4,0.1,0.8,0.2,1.2c1.6,7.1,8,12.4,15.6,12.4s14-5.3,15.6-12.4c0.1-0.4,0.2-0.8,0.2-1.2c0.1-0.8,0.2-1.6,0.2-2.4V198.4 c4-0.8,7.7-1.8,11.2-3c14.3-4.7,26-11.4,46.4-11.4c31.4,0,43.2,16,74.6,16c8.9,0,15.9-1.1,24.2-3.5c1.2-0.3,2.4-0.7,3.6-1.1v96 c-10,3.2-17.6,4.6-27.8,4.6c-31.4,0-43.4-16-74.6-16c-10.2,0-18.2,1.8-25.6,4v32c7.4-2.4,15.4-4,25.6-4c31.4,0,43.2,16,74.6,16 c18.6,0,28.2-4.8,59.8-16V152c-31.6,11.2-41.2,16-59.8,16C244.8,168,232.8,152,201.6,152z M384,32H64C28.7,32,0,60.7,0,96v320 c0,35.3,28.7,64,64,64h320c35.3,0,64-28.7,64-64V96C448,60.7,419.3,32,384,32z M416,416c0,17.6-14.4,32-32,32H64 c-17.6,0-32-14.4-32-32V96c0-17.6,14.4-32,32-32h320c17.6,0,32,14.4,32,32V416z"]
  103980. };
  103981. var faFontAwesomeAlt = faSquareFontAwesomeStroke;
  103982. var faAtlassian = {
  103983. prefix: 'fab',
  103984. iconName: 'atlassian',
  103985. icon: [512, 512, [], "f77b", "M152.2 236.4c-7.7-8.2-19.7-7.7-24.8 2.8L1.6 490.2c-5 10 2.4 21.7 13.4 21.7h175c5.8.1 11-3.2 13.4-8.4 37.9-77.8 15.1-196.3-51.2-267.1zM244.4 8.1c-122.3 193.4-8.5 348.6 65 495.5 2.5 5.1 7.7 8.4 13.4 8.4H497c11.2 0 18.4-11.8 13.4-21.7 0 0-234.5-470.6-240.4-482.3-5.3-10.6-18.8-10.8-25.6.1z"]
  103986. };
  103987. var faLinkedinIn = {
  103988. prefix: 'fab',
  103989. iconName: 'linkedin-in',
  103990. icon: [448, 512, [], "f0e1", "M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"]
  103991. };
  103992. var faDigitalOcean = {
  103993. prefix: 'fab',
  103994. iconName: 'digital-ocean',
  103995. icon: [512, 512, [], "f391", "M87 481.8h73.7v-73.6H87zM25.4 346.6v61.6H87v-61.6zm466.2-169.7c-23-74.2-82.4-133.3-156.6-156.6C164.9-32.8 8 93.7 8 255.9h95.8c0-101.8 101-180.5 208.1-141.7 39.7 14.3 71.5 46.1 85.8 85.7 39.1 107-39.7 207.8-141.4 208v.3h-.3V504c162.6 0 288.8-156.8 235.6-327.1zm-235.3 231v-95.3h-95.6v95.6H256v-.3z"]
  103996. };
  103997. var faNimblr = {
  103998. prefix: 'fab',
  103999. iconName: 'nimblr',
  104000. icon: [384, 512, [], "f5a8", "M246.6 299.29c15.57 0 27.15 11.46 27.15 27s-11.62 27-27.15 27c-15.7 0-27.15-11.57-27.15-27s11.55-27 27.15-27zM113 326.25c0-15.61 11.68-27 27.15-27s27.15 11.46 27.15 27-11.47 27-27.15 27c-15.44 0-27.15-11.31-27.15-27M191.76 159C157 159 89.45 178.77 59.25 227L14 0v335.48C14 433.13 93.61 512 191.76 512s177.76-78.95 177.76-176.52S290.13 159 191.76 159zm0 308.12c-73.27 0-132.51-58.9-132.51-131.59s59.24-131.59 132.51-131.59 132.51 58.86 132.51 131.54S265 467.07 191.76 467.07z"]
  104001. };
  104002. var faChromecast = {
  104003. prefix: 'fab',
  104004. iconName: 'chromecast',
  104005. icon: [512, 512, [], "f838", "M447.8,64H64c-23.6,0-42.7,19.1-42.7,42.7v63.9H64v-63.9h383.8v298.6H298.6V448H448c23.6,0,42.7-19.1,42.7-42.7V106.7 C490.7,83.1,471.4,64,447.8,64z M21.3,383.6L21.3,383.6l0,63.9h63.9C85.2,412.2,56.6,383.6,21.3,383.6L21.3,383.6z M21.3,298.6V341 c58.9,0,106.6,48.1,106.6,107h42.7C170.7,365.6,103.7,298.7,21.3,298.6z M213.4,448h42.7c-0.5-129.5-105.3-234.3-234.8-234.6l0,42.4 C127.3,255.6,213.3,342,213.4,448z"]
  104006. };
  104007. var faEvernote = {
  104008. prefix: 'fab',
  104009. iconName: 'evernote',
  104010. icon: [384, 512, [], "f839", "M120.82 132.21c1.6 22.31-17.55 21.59-21.61 21.59-68.93 0-73.64-1-83.58 3.34-.56.22-.74 0-.37-.37L123.79 46.45c.38-.37.6-.22.38.37-4.35 9.99-3.35 15.09-3.35 85.39zm79 308c-14.68-37.08 13-76.93 52.52-76.62 17.49 0 22.6 23.21 7.95 31.42-6.19 3.3-24.95 1.74-25.14 19.2-.05 17.09 19.67 25 31.2 24.89A45.64 45.64 0 0 0 312 393.45v-.08c0-11.63-7.79-47.22-47.54-55.34-7.72-1.54-65-6.35-68.35-50.52-3.74 16.93-17.4 63.49-43.11 69.09-8.74 1.94-69.68 7.64-112.92-36.77 0 0-18.57-15.23-28.23-57.95-3.38-15.75-9.28-39.7-11.14-62 0-18 11.14-30.45 25.07-32.2 81 0 90 2.32 101-7.8 9.82-9.24 7.8-15.5 7.8-102.78 1-8.3 7.79-30.81 53.41-24.14 6 .86 31.91 4.18 37.48 30.64l64.26 11.15c20.43 3.71 70.94 7 80.6 57.94 22.66 121.09 8.91 238.46 7.8 238.46C362.15 485.53 267.06 480 267.06 480c-18.95-.23-54.25-9.4-67.27-39.83zm80.94-204.84c-1 1.92-2.2 6 .85 7 14.09 4.93 39.75 6.84 45.88 5.53 3.11-.25 3.05-4.43 2.48-6.65-3.53-21.85-40.83-26.5-49.24-5.92z"]
  104011. };
  104012. var faHackerNews = {
  104013. prefix: 'fab',
  104014. iconName: 'hacker-news',
  104015. icon: [448, 512, [], "f1d4", "M0 32v448h448V32H0zm21.2 197.2H21c.1-.1.2-.3.3-.4 0 .1 0 .3-.1.4zm218 53.9V384h-31.4V281.3L128 128h37.3c52.5 98.3 49.2 101.2 59.3 125.6 12.3-27 5.8-24.4 60.6-125.6H320l-80.8 155.1z"]
  104016. };
  104017. var faCreativeCommonsSampling = {
  104018. prefix: 'fab',
  104019. iconName: 'creative-commons-sampling',
  104020. icon: [496, 512, [], "f4f0", "M247.6 8C389.4 8 496 118.1 496 256c0 147.1-118.5 248-248.4 248C113.6 504 0 394.5 0 256 0 123.1 104.7 8 247.6 8zm.8 44.7C130.2 52.7 44.7 150.6 44.7 256c0 109.8 91.2 202.8 203.7 202.8 103.2 0 202.8-81.1 202.8-202.8.1-113.8-90.2-203.3-202.8-203.3zm3.6 53.2c2.8-.3 11.5 1 11.5 11.5l6.6 107.2 4.9-59.3c0-6 4.7-10.6 10.6-10.6 5.9 0 10.6 4.7 10.6 10.6 0 2.5-.5-5.7 5.7 81.5l5.8-64.2c.3-2.9 2.9-9.3 10.2-9.3 3.8 0 9.9 2.3 10.6 8.9l11.5 96.5 5.3-12.8c1.8-4.4 5.2-6.6 10.2-6.6h58v21.3h-50.9l-18.2 44.3c-3.9 9.9-19.5 9.1-20.8-3.1l-4-31.9-7.5 92.6c-.3 3-3 9.3-10.2 9.3-3 0-9.8-2.1-10.6-9.3 0-1.9.6 5.8-6.2-77.9l-5.3 72.2c-1.1 4.8-4.8 9.3-10.6 9.3-2.9 0-9.8-2-10.6-9.3 0-1.9.5 6.7-5.8-87.7l-5.8 94.8c0 6.3-3.6 12.4-10.6 12.4-5.2 0-10.6-4.1-10.6-12l-5.8-87.7c-5.8 92.5-5.3 84-5.3 85.9-1.1 4.8-4.8 9.3-10.6 9.3-3 0-9.8-2.1-10.6-9.3 0-.7-.4-1.1-.4-2.6l-6.2-88.6L182 348c-.7 6.5-6.7 9.3-10.6 9.3-5.8 0-9.6-4.1-10.6-8.9L149.7 272c-2 4-3.5 8.4-11.1 8.4H87.2v-21.3H132l13.7-27.9c4.4-9.9 18.2-7.2 19.9 2.7l3.1 20.4 8.4-97.9c0-6 4.8-10.6 10.6-10.6.5 0 10.6-.2 10.6 12.4l4.9 69.1 6.6-92.6c0-10.1 9.5-10.6 10.2-10.6.6 0 10.6.7 10.6 10.6l5.3 80.6 6.2-97.9c.1-1.1-.6-10.3 9.9-11.5z"]
  104021. };
  104022. var faAdversal = {
  104023. prefix: 'fab',
  104024. iconName: 'adversal',
  104025. icon: [512, 512, [], "f36a", "M482.1 32H28.7C5.8 32 0 37.9 0 60.9v390.2C0 474.4 5.8 480 28.7 480h453.4c24.4 0 29.9-5.2 29.9-29.7V62.2c0-24.6-5.4-30.2-29.9-30.2zM178.4 220.3c-27.5-20.2-72.1-8.7-84.2 23.4-4.3 11.1-9.3 9.5-17.5 8.3-9.7-1.5-17.2-3.2-22.5-5.5-28.8-11.4 8.6-55.3 24.9-64.3 41.1-21.4 83.4-22.2 125.3-4.8 40.9 16.8 34.5 59.2 34.5 128.5 2.7 25.8-4.3 58.3 9.3 88.8 1.9 4.4.4 7.9-2.7 10.7-8.4 6.7-39.3 2.2-46.6-7.4-1.9-2.2-1.8-3.6-3.9-6.2-3.6-3.9-7.3-2.2-11.9 1-57.4 36.4-140.3 21.4-147-43.3-3.1-29.3 12.4-57.1 39.6-71 38.2-19.5 112.2-11.8 114-30.9 1.1-10.2-1.9-20.1-11.3-27.3zm286.7 222c0 15.1-11.1 9.9-17.8 9.9H52.4c-7.4 0-18.2 4.8-17.8-10.7.4-13.9 10.5-9.1 17.1-9.1 132.3-.4 264.5-.4 396.8 0 6.8 0 16.6-4.4 16.6 9.9zm3.8-340.5v291c0 5.7-.7 13.9-8.1 13.9-12.4-.4-27.5 7.1-36.1-5.6-5.8-8.7-7.8-4-12.4-1.2-53.4 29.7-128.1 7.1-144.4-85.2-6.1-33.4-.7-67.1 15.7-100 11.8-23.9 56.9-76.1 136.1-30.5v-71c0-26.2-.1-26.2 26-26.2 3.1 0 6.6.4 9.7 0 10.1-.8 13.6 4.4 13.6 14.3-.1.2-.1.3-.1.5zm-51.5 232.3c-19.5 47.6-72.9 43.3-90 5.2-15.1-33.3-15.5-68.2.4-101.5 16.3-34.1 59.7-35.7 81.5-4.8 20.6 28.8 14.9 84.6 8.1 101.1zm-294.8 35.3c-7.5-1.3-33-3.3-33.7-27.8-.4-13.9 7.8-23 19.8-25.8 24.4-5.9 49.3-9.9 73.7-14.7 8.9-2 7.4 4.4 7.8 9.5 1.4 33-26.1 59.2-67.6 58.8z"]
  104026. };
  104027. var faCreativeCommons = {
  104028. prefix: 'fab',
  104029. iconName: 'creative-commons',
  104030. icon: [496, 512, [], "f25e", "M245.83 214.87l-33.22 17.28c-9.43-19.58-25.24-19.93-27.46-19.93-22.13 0-33.22 14.61-33.22 43.84 0 23.57 9.21 43.84 33.22 43.84 14.47 0 24.65-7.09 30.57-21.26l30.55 15.5c-6.17 11.51-25.69 38.98-65.1 38.98-22.6 0-73.96-10.32-73.96-77.05 0-58.69 43-77.06 72.63-77.06 30.72-.01 52.7 11.95 65.99 35.86zm143.05 0l-32.78 17.28c-9.5-19.77-25.72-19.93-27.9-19.93-22.14 0-33.22 14.61-33.22 43.84 0 23.55 9.23 43.84 33.22 43.84 14.45 0 24.65-7.09 30.54-21.26l31 15.5c-2.1 3.75-21.39 38.98-65.09 38.98-22.69 0-73.96-9.87-73.96-77.05 0-58.67 42.97-77.06 72.63-77.06 30.71-.01 52.58 11.95 65.56 35.86zM247.56 8.05C104.74 8.05 0 123.11 0 256.05c0 138.49 113.6 248 247.56 248 129.93 0 248.44-100.87 248.44-248 0-137.87-106.62-248-248.44-248zm.87 450.81c-112.54 0-203.7-93.04-203.7-202.81 0-105.42 85.43-203.27 203.72-203.27 112.53 0 202.82 89.46 202.82 203.26-.01 121.69-99.68 202.82-202.84 202.82z"]
  104031. };
  104032. var faWatchmanMonitoring = {
  104033. prefix: 'fab',
  104034. iconName: 'watchman-monitoring',
  104035. icon: [512, 512, [], "e087", "M256,16C123.452,16,16,123.452,16,256S123.452,496,256,496,496,388.548,496,256,388.548,16,256,16ZM121.69,429.122C70.056,388.972,36.741,326.322,36.741,256a218.519,218.519,0,0,1,9.587-64.122l102.9-17.895-.121,10.967-13.943,2.013s-.144,12.5-.144,19.549a12.778,12.778,0,0,0,4.887,10.349l9.468,7.4Zm105.692-283.27,8.48-7.618s6.934-5.38-.143-9.344c-7.188-4.024-39.53-34.5-39.53-34.5-5.348-5.477-8.257-7.347-15.46,0,0,0-32.342,30.474-39.529,34.5-7.078,3.964-.144,9.344-.144,9.344l8.481,7.618-.048,4.369L75.982,131.045c39.644-56.938,105.532-94.3,180.018-94.3A218.754,218.754,0,0,1,420.934,111.77l-193.512,37.7Zm34.063,329.269-33.9-250.857,9.467-7.4a12.778,12.778,0,0,0,4.888-10.349c0-7.044-.144-19.549-.144-19.549l-13.943-2.013-.116-10.474,241.711,31.391A218.872,218.872,0,0,1,475.259,256C475.259,375.074,379.831,472.212,261.445,475.121Z"]
  104036. };
  104037. var faFonticons = {
  104038. prefix: 'fab',
  104039. iconName: 'fonticons',
  104040. icon: [448, 512, [], "f280", "M0 32v448h448V32zm187 140.9c-18.4 0-19 9.9-19 27.4v23.3c0 2.4-3.5 4.4-.6 4.4h67.4l-11.1 37.3H168v112.9c0 5.8-2 6.7 3.2 7.3l43.5 4.1v25.1H84V389l21.3-2c5.2-.6 6.7-2.3 6.7-7.9V267.7c0-2.3-2.9-2.3-5.8-2.3H84V228h28v-21c0-49.6 26.5-70 77.3-70 34.1 0 64.7 8.2 64.7 52.8l-50.7 6.1c.3-18.7-4.4-23-16.3-23zm74.3 241.8v-25.1l20.4-2.6c5.2-.6 7.6-1.7 7.6-7.3V271.8c0-4.1-2.9-6.7-6.7-7.9l-24.2-6.4 6.7-29.5h80.2v151.7c0 5.8-2.6 6.4 2.9 7.3l15.7 2.6v25.1zm80.8-255.5l9 33.2-7.3 7.3-31.2-16.6-31.2 16.6-7.3-7.3 9-33.2-21.8-24.2 3.5-9.6h27.7l15.5-28h9.3l15.5 28h27.7l3.5 9.6z"]
  104041. };
  104042. var faWeixin = {
  104043. prefix: 'fab',
  104044. iconName: 'weixin',
  104045. icon: [576, 512, [], "f1d7", "M385.2 167.6c6.4 0 12.6.3 18.8 1.1C387.4 90.3 303.3 32 207.7 32 100.5 32 13 104.8 13 197.4c0 53.4 29.3 97.5 77.9 131.6l-19.3 58.6 68-34.1c24.4 4.8 43.8 9.7 68.2 9.7 6.2 0 12.1-.3 18.3-.8-4-12.9-6.2-26.6-6.2-40.8-.1-84.9 72.9-154 165.3-154zm-104.5-52.9c14.5 0 24.2 9.7 24.2 24.4 0 14.5-9.7 24.2-24.2 24.2-14.8 0-29.3-9.7-29.3-24.2.1-14.7 14.6-24.4 29.3-24.4zm-136.4 48.6c-14.5 0-29.3-9.7-29.3-24.2 0-14.8 14.8-24.4 29.3-24.4 14.8 0 24.4 9.7 24.4 24.4 0 14.6-9.6 24.2-24.4 24.2zM563 319.4c0-77.9-77.9-141.3-165.4-141.3-92.7 0-165.4 63.4-165.4 141.3S305 460.7 397.6 460.7c19.3 0 38.9-5.1 58.6-9.9l53.4 29.3-14.8-48.6C534 402.1 563 363.2 563 319.4zm-219.1-24.5c-9.7 0-19.3-9.7-19.3-19.6 0-9.7 9.7-19.3 19.3-19.3 14.8 0 24.4 9.7 24.4 19.3 0 10-9.7 19.6-24.4 19.6zm107.1 0c-9.7 0-19.3-9.7-19.3-19.6 0-9.7 9.7-19.3 19.3-19.3 14.5 0 24.4 9.7 24.4 19.3.1 10-9.9 19.6-24.4 19.6z"]
  104046. };
  104047. var faShirtsinbulk = {
  104048. prefix: 'fab',
  104049. iconName: 'shirtsinbulk',
  104050. icon: [448, 512, [], "f214", "M100 410.3l30.6 13.4 4.4-9.9-30.6-13.4zm39.4 17.5l30.6 13.4 4.4-9.9-30.6-13.4zm172.1-14l4.4 9.9 30.6-13.4-4.4-9.9zM179.1 445l30.3 13.7 4.4-9.9-30.3-13.4zM60.4 392.8L91 406.2l4.4-9.6-30.6-13.7zm211.4 38.5l4.4 9.9 30.6-13.4-4.4-9.9zm-39.3 17.5l4.4 9.9 30.6-13.7-4.4-9.6zm118.4-52.2l4.4 9.6 30.6-13.4-4.4-9.9zM170 46.6h-33.5v10.5H170zm-47.2 0H89.2v10.5h33.5zm-47.3 0H42.3v10.5h33.3zm141.5 0h-33.2v10.5H217zm94.5 0H278v10.5h33.5zm47.3 0h-33.5v10.5h33.5zm-94.6 0H231v10.5h33.2zm141.5 0h-33.3v10.5h33.3zM52.8 351.1H42v33.5h10.8zm70-215.9H89.2v10.5h33.5zm-70 10.6h22.8v-10.5H42v33.5h10.8zm168.9 228.6c50.5 0 91.3-40.8 91.3-91.3 0-50.2-40.8-91.3-91.3-91.3-50.2 0-91.3 41.1-91.3 91.3 0 50.5 41.1 91.3 91.3 91.3zm-48.2-111.1c0-25.4 29.5-31.8 49.6-31.8 16.9 0 29.2 5.8 44.3 12l-8.8 16.9h-.9c-6.4-9.9-24.8-13.1-35.6-13.1-9 0-29.8 1.8-29.8 14.9 0 21.6 78.5-10.2 78.5 37.9 0 25.4-31.5 31.2-51 31.2-18.1 0-32.4-2.9-47.2-12.2l9-18.4h.9c6.1 12.2 23.6 14.9 35.9 14.9 8.7 0 32.7-1.2 32.7-14.3 0-26.1-77.6 6.3-77.6-38zM52.8 178.4H42V212h10.8zm342.4 206.2H406v-33.5h-10.8zM52.8 307.9H42v33.5h10.8zM0 3.7v406l221.7 98.6L448 409.7V3.7zm418.8 387.1L222 476.5 29.2 390.8V120.7h389.7v270.1zm0-299.3H29.2V32.9h389.7v58.6zm-366 130.1H42v33.5h10.8zm0 43.2H42v33.5h10.8zM170 135.2h-33.5v10.5H170zm225.2 163.1H406v-33.5h-10.8zm0-43.2H406v-33.5h-10.8zM217 135.2h-33.2v10.5H217zM395.2 212H406v-33.5h-10.8zm0 129.5H406V308h-10.8zm-131-206.3H231v10.5h33.2zm47.3 0H278v10.5h33.5zm83.7 33.6H406v-33.5h-33.5v10.5h22.8zm-36.4-33.6h-33.5v10.5h33.5z"]
  104051. };
  104052. var faCodepen = {
  104053. prefix: 'fab',
  104054. iconName: 'codepen',
  104055. icon: [512, 512, [], "f1cb", "M502.285 159.704l-234-156c-7.987-4.915-16.511-4.96-24.571 0l-234 156C3.714 163.703 0 170.847 0 177.989v155.999c0 7.143 3.714 14.286 9.715 18.286l234 156.022c7.987 4.915 16.511 4.96 24.571 0l234-156.022c6-3.999 9.715-11.143 9.715-18.286V177.989c-.001-7.142-3.715-14.286-9.716-18.285zM278 63.131l172.286 114.858-76.857 51.429L278 165.703V63.131zm-44 0v102.572l-95.429 63.715-76.857-51.429L234 63.131zM44 219.132l55.143 36.857L44 292.846v-73.714zm190 229.715L61.714 333.989l76.857-51.429L234 346.275v102.572zm22-140.858l-77.715-52 77.715-52 77.715 52-77.715 52zm22 140.858V346.275l95.429-63.715 76.857 51.429L278 448.847zm190-156.001l-55.143-36.857L468 219.132v73.714z"]
  104056. };
  104057. var faGitAlt = {
  104058. prefix: 'fab',
  104059. iconName: 'git-alt',
  104060. icon: [448, 512, [], "f841", "M439.55 236.05L244 40.45a28.87 28.87 0 0 0-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 0 1-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 0 0 0 40.81l195.61 195.6a28.86 28.86 0 0 0 40.8 0l194.69-194.69a28.86 28.86 0 0 0 0-40.81z"]
  104061. };
  104062. var faLyft = {
  104063. prefix: 'fab',
  104064. iconName: 'lyft',
  104065. icon: [512, 512, [], "f3c3", "M0 81.1h77.8v208.7c0 33.1 15 52.8 27.2 61-12.7 11.1-51.2 20.9-80.2-2.8C7.8 334 0 310.7 0 289V81.1zm485.9 173.5v-22h23.8v-76.8h-26.1c-10.1-46.3-51.2-80.7-100.3-80.7-56.6 0-102.7 46-102.7 102.7V357c16 2.3 35.4-.3 51.7-14 17.1-14 24.8-37.2 24.8-59v-6.7h38.8v-76.8h-38.8v-23.3c0-34.6 52.2-34.6 52.2 0v77.1c0 56.6 46 102.7 102.7 102.7v-76.5c-14.5 0-26.1-11.7-26.1-25.9zm-294.3-99v113c0 15.4-23.8 15.4-23.8 0v-113H91v132.7c0 23.8 8 54 45 63.9 37 9.8 58.2-10.6 58.2-10.6-2.1 13.4-14.5 23.3-34.9 25.3-15.5 1.6-35.2-3.6-45-7.8v70.3c25.1 7.5 51.5 9.8 77.6 4.7 47.1-9.1 76.8-48.4 76.8-100.8V155.1h-77.1v.5z"]
  104066. };
  104067. var faRev = {
  104068. prefix: 'fab',
  104069. iconName: 'rev',
  104070. icon: [448, 512, [], "f5b2", "M289.67 274.89a65.57 65.57 0 1 1-65.56-65.56 65.64 65.64 0 0 1 65.56 65.56zm139.55-5.05h-.13a204.69 204.69 0 0 0-74.32-153l-45.38 26.2a157.07 157.07 0 0 1 71.81 131.84C381.2 361.5 310.73 432 224.11 432S67 361.5 67 274.88c0-81.88 63-149.27 143-156.43v39.12l108.77-62.79L210 32v38.32c-106.7 7.25-191 96-191 204.57 0 111.59 89.12 202.29 200.06 205v.11h210.16V269.84z"]
  104071. };
  104072. var faWindows = {
  104073. prefix: 'fab',
  104074. iconName: 'windows',
  104075. icon: [448, 512, [], "f17a", "M0 93.7l183.6-25.3v177.4H0V93.7zm0 324.6l183.6 25.3V268.4H0v149.9zm203.8 28L448 480V268.4H203.8v177.9zm0-380.6v180.1H448V32L203.8 65.7z"]
  104076. };
  104077. var faWizardsOfTheCoast = {
  104078. prefix: 'fab',
  104079. iconName: 'wizards-of-the-coast',
  104080. icon: [640, 512, [], "f730", "M219.19 345.69c-1.9 1.38-11.07 8.44-.26 23.57 4.64 6.42 14.11 12.79 21.73 6.55 6.5-4.88 7.35-12.92.26-23.04-5.47-7.76-14.28-12.88-21.73-7.08zm336.75 75.94c-.34 1.7-.55 1.67.79 0 2.09-4.19 4.19-10.21 4.98-19.9 3.14-38.49-40.33-71.49-101.34-78.03-54.73-6.02-124.38 9.17-188.8 60.49l-.26 1.57c2.62 4.98 4.98 10.74 3.4 21.21l.79.26c63.89-58.4 131.19-77.25 184.35-73.85 58.4 3.67 100.03 34.04 100.03 68.08-.01 9.96-2.63 15.72-3.94 20.17zM392.28 240.42c.79 7.07 4.19 10.21 9.17 10.47 5.5.26 9.43-2.62 10.47-6.55.79-3.4 2.09-29.85 2.09-29.85s-11.26 6.55-14.93 10.47c-3.66 3.68-7.33 8.39-6.8 15.46zm-50.02-151.1C137.75 89.32 13.1 226.8.79 241.2c-1.05.52-1.31.79.79 1.31 60.49 16.5 155.81 81.18 196.13 202.16l1.05.26c55.25-69.92 140.88-128.05 236.99-128.05 80.92 0 130.15 42.16 130.15 80.39 0 18.33-6.55 33.52-22.26 46.35 0 .96-.2.79.79.79 14.66-10.74 27.5-28.8 27.5-48.18 0-22.78-12.05-38.23-12.05-38.23 7.07 7.07 10.74 16.24 10.74 16.24 5.76-40.85 26.97-62.32 26.97-62.32-2.36-9.69-6.81-17.81-6.81-17.81 7.59 8.12 14.4 27.5 14.4 41.37 0 10.47-3.4 22.78-12.57 31.95l.26.52c8.12-4.98 16.5-16.76 16.5-37.97 0-15.71-4.71-25.92-4.71-25.92 5.76-5.24 11.26-9.17 15.97-11.78.79 3.4 2.09 9.69 2.36 14.93 0 1.05.79 1.83 1.05 0 .79-5.76-.26-16.24-.26-16.5 6.02-3.14 9.69-4.45 9.69-4.45C617.74 176 489.43 89.32 342.26 89.32zm-99.24 289.62c-11.06 8.99-24.2 4.08-30.64-4.19-7.45-9.58-6.76-24.09 4.19-32.47 14.85-11.35 27.08-.49 31.16 5.5.28.39 12.13 16.57-4.71 31.16zm2.09-136.43l9.43-17.81 11.78 70.96-12.57 6.02-24.62-28.8 14.14-26.71 3.67 4.45-1.83-8.11zm18.59 117.58l-.26-.26c2.05-4.1-2.5-6.61-17.54-31.69-1.31-2.36-3.14-2.88-4.45-2.62l-.26-.52c7.86-5.76 15.45-10.21 25.4-15.71l.52.26c1.31 1.83 2.09 2.88 3.4 4.71l-.26.52c-1.05-.26-2.36-.79-5.24.26-2.09.79-7.86 3.67-12.31 7.59v1.31c1.57 2.36 3.93 6.55 5.76 9.69h.26c10.05-6.28 7.56-4.55 11.52-7.86h.26c.52 1.83.52 1.83 1.83 5.5l-.26.26c-3.06.61-4.65.34-11.52 5.5v.26c9.46 17.02 11.01 16.75 12.57 15.97l.26.26c-2.34 1.59-6.27 4.21-9.68 6.57zm55.26-32.47c-3.14 1.57-6.02 2.88-9.95 4.98l-.26-.26c1.29-2.59 1.16-2.71-11.78-32.47l-.26-.26c-.15 0-8.9 3.65-9.95 7.33h-.52l-1.05-5.76.26-.52c7.29-4.56 25.53-11.64 27.76-12.57l.52.26 3.14 4.98-.26.52c-3.53-1.76-7.35.76-12.31 2.62v.26c12.31 32.01 12.67 30.64 14.66 30.64v.25zm44.77-16.5c-4.19 1.05-5.24 1.31-9.69 2.88l-.26-.26.52-4.45c-1.05-3.4-3.14-11.52-3.67-13.62l-.26-.26c-3.4.79-8.9 2.62-12.83 3.93l-.26.26c.79 2.62 3.14 9.95 4.19 13.88.79 2.36 1.83 2.88 2.88 3.14v.52c-3.67 1.05-7.07 2.62-10.21 3.93l-.26-.26c1.05-1.31 1.05-2.88.26-4.98-1.05-3.14-8.12-23.83-9.17-27.23-.52-1.83-1.57-3.14-2.62-3.14v-.52c3.14-1.05 6.02-2.09 10.74-3.4l.26.26-.26 4.71c1.31 3.93 2.36 7.59 3.14 9.69h.26c3.93-1.31 9.43-2.88 12.83-3.93l.26-.26-2.62-9.43c-.52-1.83-1.05-3.4-2.62-3.93v-.26c4.45-1.05 7.33-1.83 10.74-2.36l.26.26c-1.05 1.31-1.05 2.88-.52 4.45 1.57 6.28 4.71 20.43 6.28 26.45.54 2.62 1.85 3.41 2.63 3.93zm32.21-6.81l-.26.26c-4.71.52-14.14 2.36-22.52 4.19l-.26-.26.79-4.19c-1.57-7.86-3.4-18.59-4.98-26.19-.26-1.83-.79-2.88-2.62-3.67l.79-.52c9.17-1.57 20.16-2.36 24.88-2.62l.26.26c.52 2.36.79 3.14 1.57 5.5l-.26.26c-1.14-1.14-3.34-3.2-16.24-.79l-.26.26c.26 1.57 1.05 6.55 1.57 9.95l.26.26c9.52-1.68 4.76-.06 10.74-2.36h.26c0 1.57-.26 1.83-.26 5.24h-.26c-4.81-1.03-2.15-.9-10.21 0l-.26.26c.26 2.09 1.57 9.43 2.09 12.57l.26.26c1.15.38 14.21-.65 16.24-4.71h.26c-.53 2.38-1.05 4.21-1.58 6.04zm10.74-44.51c-4.45 2.36-8.12 2.88-11 2.88-.25.02-11.41 1.09-17.54-9.95-6.74-10.79-.98-25.2 5.5-31.69 8.8-8.12 23.35-10.1 28.54-17.02 8.03-10.33-13.04-22.31-29.59-5.76l-2.62-2.88 5.24-16.24c25.59-1.57 45.2-3.04 50.02 16.24.79 3.14 0 9.43-.26 12.05 0 2.62-1.83 18.85-2.09 23.04-.52 4.19-.79 18.33-.79 20.69.26 2.36.52 4.19 1.57 5.5 1.57 1.83 5.76 1.83 5.76 1.83l-.79 4.71c-11.82-1.07-10.28-.59-20.43-1.05-3.22-5.15-2.23-3.28-4.19-7.86 0 .01-4.19 3.94-7.33 5.51zm37.18 21.21c-6.35-10.58-19.82-7.16-21.73 5.5-2.63 17.08 14.3 19.79 20.69 10.21l.26.26c-.52 1.83-1.83 6.02-1.83 6.28l-.52.52c-10.3 6.87-28.5-2.5-25.66-18.59 1.94-10.87 14.44-18.93 28.8-9.95l.26.52c0 1.06-.27 3.41-.27 5.25zm5.77-87.73v-6.55c.69 0 19.65 3.28 27.76 7.33l-1.57 17.54s10.21-9.43 15.45-10.74c5.24-1.57 14.93 7.33 14.93 7.33l-11.26 11.26c-12.07-6.35-19.59-.08-20.69.79-5.29 38.72-8.6 42.17 4.45 46.09l-.52 4.71c-17.55-4.29-18.53-4.5-36.92-7.33l.79-4.71c7.25 0 7.48-5.32 7.59-6.81 0 0 4.98-53.16 4.98-55.25-.02-2.87-4.99-3.66-4.99-3.66zm10.99 114.44c-8.12-2.09-14.14-11-10.74-20.69 3.14-9.43 12.31-12.31 18.85-10.21 9.17 2.62 12.83 11.78 10.74 19.38-2.61 8.9-9.42 13.87-18.85 11.52zm42.16 9.69c-2.36-.52-7.07-2.36-8.64-2.88v-.26l1.57-1.83c.59-8.24.59-7.27.26-7.59-4.82-1.81-6.66-2.36-7.07-2.36-1.31 1.83-2.88 4.45-3.67 5.5l-.79 3.4v.26c-1.31-.26-3.93-1.31-6.02-1.57v-.26l2.62-1.83c3.4-4.71 9.95-14.14 13.88-20.16v-2.09l.52-.26c2.09.79 5.5 2.09 7.59 2.88.48.48.18-1.87-1.05 25.14-.24 1.81.02 2.6.8 3.91zm-4.71-89.82c11.25-18.27 30.76-16.19 34.04-3.4L539.7 198c2.34-6.25-2.82-9.9-4.45-11.26l1.83-3.67c12.22 10.37 16.38 13.97 22.52 20.43-25.91 73.07-30.76 80.81-24.62 84.32l-1.83 4.45c-6.37-3.35-8.9-4.42-17.81-8.64l2.09-6.81c-.26-.26-3.93 3.93-9.69 3.67-19.06-1.3-22.89-31.75-9.67-52.9zm29.33 79.34c0-5.71-6.34-7.89-7.86-5.24-1.31 2.09 1.05 4.98 2.88 8.38 1.57 2.62 2.62 6.28 1.05 9.43-2.64 6.34-12.4 5.31-15.45-.79 0-.7-.27.09 1.83-4.71l.79-.26c-.57 5.66 6.06 9.61 8.38 4.98 1.05-2.09-.52-5.5-2.09-8.38-1.57-2.62-3.67-6.28-1.83-9.69 2.72-5.06 11.25-4.47 14.66 2.36v.52l-2.36 3.4zm21.21 13.36c-1.96-3.27-.91-2.14-4.45-4.71h-.26c-2.36 4.19-5.76 10.47-8.64 16.24-1.31 2.36-1.05 3.4-.79 3.93l-.26.26-5.76-4.45.26-.26 2.09-1.31c3.14-5.76 6.55-12.05 9.17-17.02v-.26c-2.64-1.98-1.22-1.51-6.02-1.83v-.26l3.14-3.4h.26c3.67 2.36 9.95 6.81 12.31 8.9l.26.26-1.31 3.91zm27.23-44.26l-2.88-2.88c.79-2.36 1.83-4.98 2.09-7.59.75-9.74-11.52-11.84-11.52-4.98 0 4.98 7.86 19.38 7.86 27.76 0 10.21-5.76 15.71-13.88 16.5-8.38.79-20.16-10.47-20.16-10.47l4.98-14.4 2.88 2.09c-2.97 17.8 17.68 20.37 13.35 5.24-1.06-4.02-18.75-34.2 2.09-38.23 13.62-2.36 23.04 16.5 23.04 16.5l-7.85 10.46zm35.62-10.21c-11-30.38-60.49-127.53-191.95-129.62-53.42-1.05-94.27 15.45-132.76 37.97l85.63-9.17-91.39 20.69 25.14 19.64-3.93-16.5c7.5-1.71 39.15-8.45 66.77-8.9l-22.26 80.39c13.61-.7 18.97-8.98 19.64-22.78l4.98-1.05.26 26.71c-22.46 3.21-37.3 6.69-49.49 9.95l13.09-43.21-61.54-36.66 2.36 8.12 10.21 4.98c6.28 18.59 19.38 56.56 20.43 58.66 1.95 4.28 3.16 5.78 12.05 4.45l1.05 4.98c-16.08 4.86-23.66 7.61-39.02 14.4l-2.36-4.71c4.4-2.94 8.73-3.94 5.5-12.83-23.7-62.5-21.48-58.14-22.78-59.44l2.36-4.45 33.52 67.3c-3.84-11.87 1.68 1.69-32.99-78.82l-41.9 88.51 4.71-13.88-35.88-42.16 27.76 93.48-11.78 8.38C95 228.58 101.05 231.87 93.23 231.52c-5.5-.26-13.62 5.5-13.62 5.5L74.63 231c30.56-23.53 31.62-24.33 58.4-42.68l4.19 7.07s-5.76 4.19-7.86 7.07c-5.9 9.28 1.67 13.28 61.8 75.68l-18.85-58.92 39.8-10.21 25.66 30.64 4.45-12.31-4.98-24.62 13.09-3.4.52 3.14 3.67-10.47-94.27 29.33 11.26-4.98-13.62-42.42 17.28-9.17 30.11 36.14 28.54-13.09c-1.41-7.47-2.47-14.5-4.71-19.64l17.28 13.88 4.71-2.09-59.18-42.68 23.08 11.5c18.98-6.07 25.23-7.47 32.21-9.69l2.62 11c-12.55 12.55 1.43 16.82 6.55 19.38l-13.62-61.01 12.05 28.28c4.19-1.31 7.33-2.09 7.33-2.09l2.62 8.64s-3.14 1.05-6.28 2.09l8.9 20.95 33.78-65.73-20.69 61.01c42.42-24.09 81.44-36.66 131.98-35.88 67.04 1.05 167.33 40.85 199.8 139.83.78 2.1-.01 2.63-.79.27zM203.48 152.43s1.83-.52 4.19-1.31l9.43 7.59c-.4 0-3.44-.25-11.26 2.36l-2.36-8.64zm143.76 38.5c-1.57-.6-26.46-4.81-33.26 20.69l21.73 17.02 11.53-37.71zM318.43 67.07c-58.4 0-106.05 12.05-114.96 14.4v.79c8.38 2.09 14.4 4.19 21.21 11.78l1.57.26c6.55-1.83 48.97-13.88 110.24-13.88 180.16 0 301.67 116.79 301.67 223.37v9.95c0 1.31.79 2.62 1.05.52.52-2.09.79-8.64.79-19.64.26-83.79-96.63-227.55-321.57-227.55zm211.06 169.68c1.31-5.76 0-12.31-7.33-13.09-9.62-1.13-16.14 23.79-17.02 33.52-.79 5.5-1.31 14.93 6.02 14.93 4.68-.01 9.72-.91 18.33-35.36zm-61.53 42.95c-2.62-.79-9.43-.79-12.57 10.47-1.83 6.81.52 13.35 6.02 14.66 3.67 1.05 8.9.52 11.78-10.74 2.62-9.94-1.83-13.61-5.23-14.39zM491 300.65c1.83.52 3.14 1.05 5.76 1.83 0-1.83.52-8.38.79-12.05-1.05 1.31-5.5 8.12-6.55 9.95v.27z"]
  104081. };
  104082. var faSquareViadeo = {
  104083. prefix: 'fab',
  104084. iconName: 'square-viadeo',
  104085. icon: [448, 512, ["viadeo-square"], "f2aa", "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-48zM280.7 381.2c-42.4 46.2-120 46.6-162.4 0-68-73.6-19.8-196.1 81.2-196.1 13.3 0 26.6 2.1 39.1 6.7-4.3 8.4-7.3 17.6-8.4 27.1-9.7-4.1-20.2-6-30.7-6-48.8 0-84.6 41.7-84.6 88.9 0 43 28.5 78.7 69.5 85.9 61.5-24 72.9-117.6 72.9-175 0-7.3 0-14.8-.6-22.1-11.2-32.9-26.6-64.6-44.2-94.5 27.1 18.3 41.9 62.5 44.2 94.1v.4c7.7 22.5 11.8 46.2 11.8 70 0 54.1-21.9 99-68.3 128.2l-2.4.2c50 1 86.2-38.6 86.2-87.2 0-12.2-2.1-24.3-6.9-35.7 9.5-1.9 18.5-5.6 26.4-10.5 15.3 36.6 12.6 87.3-22.8 125.6zM309 233.7c-13.3 0-25.1-7.1-34.4-16.1 21.9-12 49.6-30.7 62.3-53 1.5-3 4.1-8.6 4.5-12-12.5 27.9-44.2 49.8-73.9 56.7-4.7-7.3-7.5-15.5-7.5-24.3 0-10.3 5.2-24.1 12.9-31.6 21.6-20.5 53-8.5 72.4-50 32.5 46.2 13.1 130.3-36.3 130.3z"]
  104086. };
  104087. var faViadeoSquare = faSquareViadeo;
  104088. var faMeetup = {
  104089. prefix: 'fab',
  104090. iconName: 'meetup',
  104091. icon: [512, 512, [], "f2e0", "M99 414.3c1.1 5.7-2.3 11.1-8 12.3-5.4 1.1-10.9-2.3-12-8-1.1-5.4 2.3-11.1 7.7-12.3 5.4-1.2 11.1 2.3 12.3 8zm143.1 71.4c-6.3 4.6-8 13.4-3.7 20 4.6 6.6 13.4 8.3 20 3.7 6.3-4.6 8-13.4 3.4-20-4.2-6.5-13.1-8.3-19.7-3.7zm-86-462.3c6.3-1.4 10.3-7.7 8.9-14-1.1-6.6-7.4-10.6-13.7-9.1-6.3 1.4-10.3 7.7-9.1 14 1.4 6.6 7.6 10.6 13.9 9.1zM34.4 226.3c-10-6.9-23.7-4.3-30.6 6-6.9 10-4.3 24 5.7 30.9 10 7.1 23.7 4.6 30.6-5.7 6.9-10.4 4.3-24.1-5.7-31.2zm272-170.9c10.6-6.3 13.7-20 7.7-30.3-6.3-10.6-19.7-14-30-7.7s-13.7 20-7.4 30.6c6 10.3 19.4 13.7 29.7 7.4zm-191.1 58c7.7-5.4 9.4-16 4.3-23.7s-15.7-9.4-23.1-4.3c-7.7 5.4-9.4 16-4.3 23.7 5.1 7.8 15.6 9.5 23.1 4.3zm372.3 156c-7.4 1.7-12.3 9.1-10.6 16.9 1.4 7.4 8.9 12.3 16.3 10.6 7.4-1.4 12.3-8.9 10.6-16.6-1.5-7.4-8.9-12.3-16.3-10.9zm39.7-56.8c-1.1-5.7-6.6-9.1-12-8-5.7 1.1-9.1 6.9-8 12.6 1.1 5.4 6.6 9.1 12.3 8 5.4-1.5 9.1-6.9 7.7-12.6zM447 138.9c-8.6 6-10.6 17.7-4.9 26.3 5.7 8.6 17.4 10.6 26 4.9 8.3-6 10.3-17.7 4.6-26.3-5.7-8.7-17.4-10.9-25.7-4.9zm-6.3 139.4c26.3 43.1 15.1 100-26.3 129.1-17.4 12.3-37.1 17.7-56.9 17.1-12 47.1-69.4 64.6-105.1 32.6-1.1.9-2.6 1.7-3.7 2.9-39.1 27.1-92.3 17.4-119.4-22.3-9.7-14.3-14.6-30.6-15.1-46.9-65.4-10.9-90-94-41.1-139.7-28.3-46.9.6-107.4 53.4-114.9C151.6 70 234.1 38.6 290.1 82c67.4-22.3 136.3 29.4 130.9 101.1 41.1 12.6 52.8 66.9 19.7 95.2zm-70 74.3c-3.1-20.6-40.9-4.6-43.1-27.1-3.1-32 43.7-101.1 40-128-3.4-24-19.4-29.1-33.4-29.4-13.4-.3-16.9 2-21.4 4.6-2.9 1.7-6.6 4.9-11.7-.3-6.3-6-11.1-11.7-19.4-12.9-12.3-2-17.7 2-26.6 9.7-3.4 2.9-12 12.9-20 9.1-3.4-1.7-15.4-7.7-24-11.4-16.3-7.1-40 4.6-48.6 20-12.9 22.9-38 113.1-41.7 125.1-8.6 26.6 10.9 48.6 36.9 47.1 11.1-.6 18.3-4.6 25.4-17.4 4-7.4 41.7-107.7 44.6-112.6 2-3.4 8.9-8 14.6-5.1 5.7 3.1 6.9 9.4 6 15.1-1.1 9.7-28 70.9-28.9 77.7-3.4 22.9 26.9 26.6 38.6 4 3.7-7.1 45.7-92.6 49.4-98.3 4.3-6.3 7.4-8.3 11.7-8 3.1 0 8.3.9 7.1 10.9-1.4 9.4-35.1 72.3-38.9 87.7-4.6 20.6 6.6 41.4 24.9 50.6 11.4 5.7 62.5 15.7 58.5-11.1zm5.7 92.3c-10.3 7.4-12.9 22-5.7 32.6 7.1 10.6 21.4 13.1 32 6 10.6-7.4 13.1-22 6-32.6-7.4-10.6-21.7-13.5-32.3-6z"]
  104092. };
  104093. var faCentos = {
  104094. prefix: 'fab',
  104095. iconName: 'centos',
  104096. icon: [448, 512, [], "f789", "M289.6 97.5l31.6 31.7-76.3 76.5V97.5zm-162.4 31.7l76.3 76.5V97.5h-44.7zm41.5-41.6h44.7v127.9l10.8 10.8 10.8-10.8V87.6h44.7L224.2 32zm26.2 168.1l-10.8-10.8H55.5v-44.8L0 255.7l55.5 55.6v-44.8h128.6l10.8-10.8zm79.3-20.7h107.9v-44.8l-31.6-31.7zm173.3 20.7L392 200.1v44.8H264.3l-10.8 10.8 10.8 10.8H392v44.8l55.5-55.6zM65.4 176.2l32.5-31.7 90.3 90.5h15.3v-15.3l-90.3-90.5 31.6-31.7H65.4zm316.7-78.7h-78.5l31.6 31.7-90.3 90.5V235h15.3l90.3-90.5 31.6 31.7zM203.5 413.9V305.8l-76.3 76.5 31.6 31.7h44.7zM65.4 235h108.8l-76.3-76.5-32.5 31.7zm316.7 100.2l-31.6 31.7-90.3-90.5h-15.3v15.3l90.3 90.5-31.6 31.7h78.5zm0-58.8H274.2l76.3 76.5 31.6-31.7zm-60.9 105.8l-76.3-76.5v108.1h44.7zM97.9 352.9l76.3-76.5H65.4v44.8zm181.8 70.9H235V295.9l-10.8-10.8-10.8 10.8v127.9h-44.7l55.5 55.6zm-166.5-41.6l90.3-90.5v-15.3h-15.3l-90.3 90.5-32.5-31.7v78.7h79.4z"]
  104097. };
  104098. var faAdn = {
  104099. prefix: 'fab',
  104100. iconName: 'adn',
  104101. icon: [496, 512, [], "f170", "M248 167.5l64.9 98.8H183.1l64.9-98.8zM496 256c0 136.9-111.1 248-248 248S0 392.9 0 256 111.1 8 248 8s248 111.1 248 248zm-99.8 82.7L248 115.5 99.8 338.7h30.4l33.6-51.7h168.6l33.6 51.7h30.2z"]
  104102. };
  104103. var faCloudsmith = {
  104104. prefix: 'fab',
  104105. iconName: 'cloudsmith',
  104106. icon: [332, 512, [], "f384", "M332.5 419.9c0 46.4-37.6 84.1-84 84.1s-84-37.7-84-84.1 37.6-84 84-84 84 37.6 84 84zm-84-243.9c46.4 0 80-37.6 80-84s-33.6-84-80-84-88 37.6-88 84-29.6 76-76 76-84 41.6-84 88 37.6 80 84 80 84-33.6 84-80 33.6-80 80-80z"]
  104107. };
  104108. var faPiedPiperAlt = {
  104109. prefix: 'fab',
  104110. iconName: 'pied-piper-alt',
  104111. icon: [576, 512, [], "f1a8", "M244 246c-3.2-2-6.3-2.9-10.1-2.9-6.6 0-12.6 3.2-19.3 3.7l1.7 4.9zm135.9 197.9c-19 0-64.1 9.5-79.9 19.8l6.9 45.1c35.7 6.1 70.1 3.6 106-9.8-4.8-10-23.5-55.1-33-55.1zM340.8 177c6.6 2.8 11.5 9.2 22.7 22.1 2-1.4 7.5-5.2 7.5-8.6 0-4.9-11.8-13.2-13.2-23 11.2-5.7 25.2-6 37.6-8.9 68.1-16.4 116.3-52.9 146.8-116.7C548.3 29.3 554 16.1 554.6 2l-2 2.6c-28.4 50-33 63.2-81.3 100-31.9 24.4-69.2 40.2-106.6 54.6l-6.3-.3v-21.8c-19.6 1.6-19.7-14.6-31.6-23-18.7 20.6-31.6 40.8-58.9 51.1-12.7 4.8-19.6 10-25.9 21.8 34.9-16.4 91.2-13.5 98.8-10zM555.5 0l-.6 1.1-.3.9.6-.6zm-59.2 382.1c-33.9-56.9-75.3-118.4-150-115.5l-.3-6c-1.1-13.5 32.8 3.2 35.1-31l-14.4 7.2c-19.8-45.7-8.6-54.3-65.5-54.3-14.7 0-26.7 1.7-41.4 4.6 2.9 18.6 2.2 36.7-10.9 50.3l19.5 5.5c-1.7 3.2-2.9 6.3-2.9 9.8 0 21 42.8 2.9 42.8 33.6 0 18.4-36.8 60.1-54.9 60.1-8 0-53.7-50-53.4-60.1l.3-4.6 52.3-11.5c13-2.6 12.3-22.7-2.9-22.7-3.7 0-43.1 9.2-49.4 10.6-2-5.2-7.5-14.1-13.8-14.1-3.2 0-6.3 3.2-9.5 4-9.2 2.6-31 2.9-21.5 20.1L15.9 298.5c-5.5 1.1-8.9 6.3-8.9 11.8 0 6 5.5 10.9 11.5 10.9 8 0 131.3-28.4 147.4-32.2 2.6 3.2 4.6 6.3 7.8 8.6 20.1 14.4 59.8 85.9 76.4 85.9 24.1 0 58-22.4 71.3-41.9 3.2-4.3 6.9-7.5 12.4-6.9.6 13.8-31.6 34.2-33 43.7-1.4 10.2-1 35.2-.3 41.1 26.7 8.1 52-3.6 77.9-2.9 4.3-21 10.6-41.9 9.8-63.5l-.3-9.5c-1.4-34.2-10.9-38.5-34.8-58.6-1.1-1.1-2.6-2.6-3.7-4 2.2-1.4 1.1-1 4.6-1.7 88.5 0 56.3 183.6 111.5 229.9 33.1-15 72.5-27.9 103.5-47.2-29-25.6-52.6-45.7-72.7-79.9zm-196.2 46.1v27.2l11.8-3.4-2.9-23.8zm-68.7-150.4l24.1 61.2 21-13.8-31.3-50.9zm84.4 154.9l2 12.4c9-1.5 58.4-6.6 58.4-14.1 0-1.4-.6-3.2-.9-4.6-26.8 0-36.9 3.8-59.5 6.3z"]
  104112. };
  104113. var faSquareDribbble = {
  104114. prefix: 'fab',
  104115. iconName: 'square-dribbble',
  104116. icon: [448, 512, ["dribbble-square"], "f397", "M90.2 228.2c8.9-42.4 37.4-77.7 75.7-95.7 3.6 4.9 28 38.8 50.7 79-64 17-120.3 16.8-126.4 16.7zM314.6 154c-33.6-29.8-79.3-41.1-122.6-30.6 3.8 5.1 28.6 38.9 51 80 48.6-18.3 69.1-45.9 71.6-49.4zM140.1 364c40.5 31.6 93.3 36.7 137.3 18-2-12-10-53.8-29.2-103.6-55.1 18.8-93.8 56.4-108.1 85.6zm98.8-108.2c-3.4-7.8-7.2-15.5-11.1-23.2C159.6 253 93.4 252.2 87.4 252c0 1.4-.1 2.8-.1 4.2 0 35.1 13.3 67.1 35.1 91.4 22.2-37.9 67.1-77.9 116.5-91.8zm34.9 16.3c17.9 49.1 25.1 89.1 26.5 97.4 30.7-20.7 52.5-53.6 58.6-91.6-4.6-1.5-42.3-12.7-85.1-5.8zm-20.3-48.4c4.8 9.8 8.3 17.8 12 26.8 45.5-5.7 90.7 3.4 95.2 4.4-.3-32.3-11.8-61.9-30.9-85.1-2.9 3.9-25.8 33.2-76.3 53.9zM448 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-64 176c0-88.2-71.8-160-160-160S64 167.8 64 256s71.8 160 160 160 160-71.8 160-160z"]
  104117. };
  104118. var faDribbbleSquare = faSquareDribbble;
  104119. var faCodiepie = {
  104120. prefix: 'fab',
  104121. iconName: 'codiepie',
  104122. icon: [472, 512, [], "f284", "M422.5 202.9c30.7 0 33.5 53.1-.3 53.1h-10.8v44.3h-26.6v-97.4h37.7zM472 352.6C429.9 444.5 350.4 504 248 504 111 504 0 393 0 256S111 8 248 8c97.4 0 172.8 53.7 218.2 138.4l-186 108.8L472 352.6zm-38.5 12.5l-60.3-30.7c-27.1 44.3-70.4 71.4-122.4 71.4-82.5 0-149.2-66.7-149.2-148.9 0-82.5 66.7-149.2 149.2-149.2 48.4 0 88.9 23.5 116.9 63.4l59.5-34.6c-40.7-62.6-104.7-100-179.2-100-121.2 0-219.5 98.3-219.5 219.5S126.8 475.5 248 475.5c78.6 0 146.5-42.1 185.5-110.4z"]
  104123. };
  104124. var faNode = {
  104125. prefix: 'fab',
  104126. iconName: 'node',
  104127. icon: [640, 512, [], "f419", "M316.3 452c-2.1 0-4.2-.6-6.1-1.6L291 439c-2.9-1.6-1.5-2.2-.5-2.5 3.8-1.3 4.6-1.6 8.7-4 .4-.2 1-.1 1.4.1l14.8 8.8c.5.3 1.3.3 1.8 0L375 408c.5-.3.9-.9.9-1.6v-66.7c0-.7-.3-1.3-.9-1.6l-57.8-33.3c-.5-.3-1.2-.3-1.8 0l-57.8 33.3c-.6.3-.9 1-.9 1.6v66.7c0 .6.4 1.2.9 1.5l15.8 9.1c8.6 4.3 13.9-.8 13.9-5.8v-65.9c0-.9.7-1.7 1.7-1.7h7.3c.9 0 1.7.7 1.7 1.7v65.9c0 11.5-6.2 18-17.1 18-3.3 0-6 0-13.3-3.6l-15.2-8.7c-3.7-2.2-6.1-6.2-6.1-10.5v-66.7c0-4.3 2.3-8.4 6.1-10.5l57.8-33.4c3.7-2.1 8.5-2.1 12.1 0l57.8 33.4c3.7 2.2 6.1 6.2 6.1 10.5v66.7c0 4.3-2.3 8.4-6.1 10.5l-57.8 33.4c-1.7 1.1-3.8 1.7-6 1.7zm46.7-65.8c0-12.5-8.4-15.8-26.2-18.2-18-2.4-19.8-3.6-19.8-7.8 0-3.5 1.5-8.1 14.8-8.1 11.9 0 16.3 2.6 18.1 10.6.2.8.8 1.3 1.6 1.3h7.5c.5 0 .9-.2 1.2-.5.3-.4.5-.8.4-1.3-1.2-13.8-10.3-20.2-28.8-20.2-16.5 0-26.3 7-26.3 18.6 0 12.7 9.8 16.1 25.6 17.7 18.9 1.9 20.4 4.6 20.4 8.3 0 6.5-5.2 9.2-17.4 9.2-15.3 0-18.7-3.8-19.8-11.4-.1-.8-.8-1.4-1.7-1.4h-7.5c-.9 0-1.7.7-1.7 1.7 0 9.7 5.3 21.3 30.6 21.3 18.5 0 29-7.2 29-19.8zm54.5-50.1c0 6.1-5 11.1-11.1 11.1s-11.1-5-11.1-11.1c0-6.3 5.2-11.1 11.1-11.1 6-.1 11.1 4.8 11.1 11.1zm-1.8 0c0-5.2-4.2-9.3-9.4-9.3-5.1 0-9.3 4.1-9.3 9.3 0 5.2 4.2 9.4 9.3 9.4 5.2-.1 9.4-4.3 9.4-9.4zm-4.5 6.2h-2.6c-.1-.6-.5-3.8-.5-3.9-.2-.7-.4-1.1-1.3-1.1h-2.2v5h-2.4v-12.5h4.3c1.5 0 4.4 0 4.4 3.3 0 2.3-1.5 2.8-2.4 3.1 1.7.1 1.8 1.2 2.1 2.8.1 1 .3 2.7.6 3.3zm-2.8-8.8c0-1.7-1.2-1.7-1.8-1.7h-2v3.5h1.9c1.6 0 1.9-1.1 1.9-1.8zM137.3 191c0-2.7-1.4-5.1-3.7-6.4l-61.3-35.3c-1-.6-2.2-.9-3.4-1h-.6c-1.2 0-2.3.4-3.4 1L3.7 184.6C1.4 185.9 0 188.4 0 191l.1 95c0 1.3.7 2.5 1.8 3.2 1.1.7 2.5.7 3.7 0L42 268.3c2.3-1.4 3.7-3.8 3.7-6.4v-44.4c0-2.6 1.4-5.1 3.7-6.4l15.5-8.9c1.2-.7 2.4-1 3.7-1 1.3 0 2.6.3 3.7 1l15.5 8.9c2.3 1.3 3.7 3.8 3.7 6.4v44.4c0 2.6 1.4 5.1 3.7 6.4l36.4 20.9c1.1.7 2.6.7 3.7 0 1.1-.6 1.8-1.9 1.8-3.2l.2-95zM472.5 87.3v176.4c0 2.6-1.4 5.1-3.7 6.4l-61.3 35.4c-2.3 1.3-5.1 1.3-7.4 0l-61.3-35.4c-2.3-1.3-3.7-3.8-3.7-6.4v-70.8c0-2.6 1.4-5.1 3.7-6.4l61.3-35.4c2.3-1.3 5.1-1.3 7.4 0l15.3 8.8c1.7 1 3.9-.3 3.9-2.2v-94c0-2.8 3-4.6 5.5-3.2l36.5 20.4c2.3 1.2 3.8 3.7 3.8 6.4zm-46 128.9c0-.7-.4-1.3-.9-1.6l-21-12.2c-.6-.3-1.3-.3-1.9 0l-21 12.2c-.6.3-.9.9-.9 1.6v24.3c0 .7.4 1.3.9 1.6l21 12.1c.6.3 1.3.3 1.8 0l21-12.1c.6-.3.9-.9.9-1.6v-24.3zm209.8-.7c2.3-1.3 3.7-3.8 3.7-6.4V192c0-2.6-1.4-5.1-3.7-6.4l-60.9-35.4c-2.3-1.3-5.1-1.3-7.4 0l-61.3 35.4c-2.3 1.3-3.7 3.8-3.7 6.4v70.8c0 2.7 1.4 5.1 3.7 6.4l60.9 34.7c2.2 1.3 5 1.3 7.3 0l36.8-20.5c2.5-1.4 2.5-5 0-6.4L550 241.6c-1.2-.7-1.9-1.9-1.9-3.2v-22.2c0-1.3.7-2.5 1.9-3.2l19.2-11.1c1.1-.7 2.6-.7 3.7 0l19.2 11.1c1.1.7 1.9 1.9 1.9 3.2v17.4c0 2.8 3.1 4.6 5.6 3.2l36.7-21.3zM559 219c-.4.3-.7.7-.7 1.2v13.6c0 .5.3 1 .7 1.2l11.8 6.8c.4.3 1 .3 1.4 0L584 235c.4-.3.7-.7.7-1.2v-13.6c0-.5-.3-1-.7-1.2l-11.8-6.8c-.4-.3-1-.3-1.4 0L559 219zm-254.2 43.5v-70.4c0-2.6-1.6-5.1-3.9-6.4l-61.1-35.2c-2.1-1.2-5-1.4-7.4 0l-61.1 35.2c-2.3 1.3-3.9 3.7-3.9 6.4v70.4c0 2.8 1.9 5.2 4 6.4l61.2 35.2c2.4 1.4 5.2 1.3 7.4 0l61-35.2c1.8-1 3.1-2.7 3.6-4.7.1-.5.2-1.1.2-1.7zm-74.3-124.9l-.8.5h1.1l-.3-.5zm76.2 130.2l-.4-.7v.9l.4-.2z"]
  104128. };
  104129. var faMix = {
  104130. prefix: 'fab',
  104131. iconName: 'mix',
  104132. icon: [448, 512, [], "f3cb", "M0 64v348.9c0 56.2 88 58.1 88 0V174.3c7.9-52.9 88-50.4 88 6.5v175.3c0 57.9 96 58 96 0V240c5.3-54.7 88-52.5 88 4.3v23.8c0 59.9 88 56.6 88 0V64H0z"]
  104133. };
  104134. var faSteam = {
  104135. prefix: 'fab',
  104136. iconName: 'steam',
  104137. icon: [496, 512, [], "f1b6", "M496 256c0 137-111.2 248-248.4 248-113.8 0-209.6-76.3-239-180.4l95.2 39.3c6.4 32.1 34.9 56.4 68.9 56.4 39.2 0 71.9-32.4 70.2-73.5l84.5-60.2c52.1 1.3 95.8-40.9 95.8-93.5 0-51.6-42-93.5-93.7-93.5s-93.7 42-93.7 93.5v1.2L176.6 279c-15.5-.9-30.7 3.4-43.5 12.1L0 236.1C10.2 108.4 117.1 8 247.6 8 384.8 8 496 119 496 256zM155.7 384.3l-30.5-12.6a52.79 52.79 0 0 0 27.2 25.8c26.9 11.2 57.8-1.6 69-28.4 5.4-13 5.5-27.3.1-40.3-5.4-13-15.5-23.2-28.5-28.6-12.9-5.4-26.7-5.2-38.9-.6l31.5 13c19.8 8.2 29.2 30.9 20.9 50.7-8.3 19.9-31 29.2-50.8 21zm173.8-129.9c-34.4 0-62.4-28-62.4-62.3s28-62.3 62.4-62.3 62.4 28 62.4 62.3-27.9 62.3-62.4 62.3zm.1-15.6c25.9 0 46.9-21 46.9-46.8 0-25.9-21-46.8-46.9-46.8s-46.9 21-46.9 46.8c.1 25.8 21.1 46.8 46.9 46.8z"]
  104138. };
  104139. var faCcApplePay = {
  104140. prefix: 'fab',
  104141. iconName: 'cc-apple-pay',
  104142. icon: [576, 512, [], "f416", "M302.2 218.4c0 17.2-10.5 27.1-29 27.1h-24.3v-54.2h24.4c18.4 0 28.9 9.8 28.9 27.1zm47.5 62.6c0 8.3 7.2 13.7 18.5 13.7 14.4 0 25.2-9.1 25.2-21.9v-7.7l-23.5 1.5c-13.3.9-20.2 5.8-20.2 14.4zM576 79v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V79c0-26.5 21.5-48 48-48h480c26.5 0 48 21.5 48 48zM127.8 197.2c8.4.7 16.8-4.2 22.1-10.4 5.2-6.4 8.6-15 7.7-23.7-7.4.3-16.6 4.9-21.9 11.3-4.8 5.5-8.9 14.4-7.9 22.8zm60.6 74.5c-.2-.2-19.6-7.6-19.8-30-.2-18.7 15.3-27.7 16-28.2-8.8-13-22.4-14.4-27.1-14.7-12.2-.7-22.6 6.9-28.4 6.9-5.9 0-14.7-6.6-24.3-6.4-12.5.2-24.2 7.3-30.5 18.6-13.1 22.6-3.4 56 9.3 74.4 6.2 9.1 13.7 19.1 23.5 18.7 9.3-.4 13-6 24.2-6 11.3 0 14.5 6 24.3 5.9 10.2-.2 16.5-9.1 22.8-18.2 6.9-10.4 9.8-20.4 10-21zm135.4-53.4c0-26.6-18.5-44.8-44.9-44.8h-51.2v136.4h21.2v-46.6h29.3c26.8 0 45.6-18.4 45.6-45zm90 23.7c0-19.7-15.8-32.4-40-32.4-22.5 0-39.1 12.9-39.7 30.5h19.1c1.6-8.4 9.4-13.9 20-13.9 13 0 20.2 6 20.2 17.2v7.5l-26.4 1.6c-24.6 1.5-37.9 11.6-37.9 29.1 0 17.7 13.7 29.4 33.4 29.4 13.3 0 25.6-6.7 31.2-17.4h.4V310h19.6v-68zM516 210.9h-21.5l-24.9 80.6h-.4l-24.9-80.6H422l35.9 99.3-1.9 6c-3.2 10.2-8.5 14.2-17.9 14.2-1.7 0-4.9-.2-6.2-.3v16.4c1.2.4 6.5.5 8.1.5 20.7 0 30.4-7.9 38.9-31.8L516 210.9z"]
  104143. };
  104144. var faScribd = {
  104145. prefix: 'fab',
  104146. iconName: 'scribd',
  104147. icon: [384, 512, [], "f28a", "M42.3 252.7c-16.1-19-24.7-45.9-24.8-79.9 0-100.4 75.2-153.1 167.2-153.1 98.6-1.6 156.8 49 184.3 70.6l-50.5 72.1-37.3-24.6 26.9-38.6c-36.5-24-79.4-36.5-123-35.8-50.7-.8-111.7 27.2-111.7 76.2 0 18.7 11.2 20.7 28.6 15.6 23.3-5.3 41.9.6 55.8 14 26.4 24.3 23.2 67.6-.7 91.9-29.2 29.5-85.2 27.3-114.8-8.4zm317.7 5.9c-15.5-18.8-38.9-29.4-63.2-28.6-38.1-2-71.1 28-70.5 67.2-.7 16.8 6 33 18.4 44.3 14.1 13.9 33 19.7 56.3 14.4 17.4-5.1 28.6-3.1 28.6 15.6 0 4.3-.5 8.5-1.4 12.7-16.7 40.9-59.5 64.4-121.4 64.4-51.9.2-102.4-16.4-144.1-47.3l33.7-39.4-35.6-27.4L0 406.3l15.4 13.8c52.5 46.8 120.4 72.5 190.7 72.2 51.4 0 94.4-10.5 133.6-44.1 57.1-51.4 54.2-149.2 20.3-189.6z"]
  104148. };
  104149. var faOpenid = {
  104150. prefix: 'fab',
  104151. iconName: 'openid',
  104152. icon: [448, 512, [], "f19b", "M271.5 432l-68 32C88.5 453.7 0 392.5 0 318.2c0-71.5 82.5-131 191.7-144.3v43c-71.5 12.5-124 53-124 101.3 0 51 58.5 93.3 135.7 103v-340l68-33.2v384zM448 291l-131.3-28.5 36.8-20.7c-19.5-11.5-43.5-20-70-24.8v-43c46.2 5.5 87.7 19.5 120.3 39.3l35-19.8L448 291z"]
  104153. };
  104154. var faInstalod = {
  104155. prefix: 'fab',
  104156. iconName: 'instalod',
  104157. icon: [512, 512, [], "e081", "M153.384,480H387.113L502.554,275.765,204.229,333.211ZM504.726,240.078,387.113,32H155.669L360.23,267.9ZM124.386,48.809,7.274,256,123.236,461.154,225.627,165.561Z"]
  104158. };
  104159. var faExpeditedssl = {
  104160. prefix: 'fab',
  104161. iconName: 'expeditedssl',
  104162. icon: [496, 512, [], "f23e", "M248 43.4C130.6 43.4 35.4 138.6 35.4 256S130.6 468.6 248 468.6 460.6 373.4 460.6 256 365.4 43.4 248 43.4zm-97.4 132.9c0-53.7 43.7-97.4 97.4-97.4s97.4 43.7 97.4 97.4v26.6c0 5-3.9 8.9-8.9 8.9h-17.7c-5 0-8.9-3.9-8.9-8.9v-26.6c0-82.1-124-82.1-124 0v26.6c0 5-3.9 8.9-8.9 8.9h-17.7c-5 0-8.9-3.9-8.9-8.9v-26.6zM389.7 380c0 9.7-8 17.7-17.7 17.7H124c-9.7 0-17.7-8-17.7-17.7V238.3c0-9.7 8-17.7 17.7-17.7h248c9.7 0 17.7 8 17.7 17.7V380zm-248-137.3v132.9c0 2.5-1.9 4.4-4.4 4.4h-8.9c-2.5 0-4.4-1.9-4.4-4.4V242.7c0-2.5 1.9-4.4 4.4-4.4h8.9c2.5 0 4.4 1.9 4.4 4.4zm141.7 48.7c0 13-7.2 24.4-17.7 30.4v31.6c0 5-3.9 8.9-8.9 8.9h-17.7c-5 0-8.9-3.9-8.9-8.9v-31.6c-10.5-6.1-17.7-17.4-17.7-30.4 0-19.7 15.8-35.4 35.4-35.4s35.5 15.8 35.5 35.4zM248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 478.3C121 486.3 17.7 383 17.7 256S121 25.7 248 25.7 478.3 129 478.3 256 375 486.3 248 486.3z"]
  104163. };
  104164. var faSellcast = {
  104165. prefix: 'fab',
  104166. iconName: 'sellcast',
  104167. icon: [448, 512, [], "f2da", "M353.4 32H94.7C42.6 32 0 74.6 0 126.6v258.7C0 437.4 42.6 480 94.7 480h258.7c52.1 0 94.7-42.6 94.7-94.6V126.6c0-52-42.6-94.6-94.7-94.6zm-50 316.4c-27.9 48.2-89.9 64.9-138.2 37.2-22.9 39.8-54.9 8.6-42.3-13.2l15.7-27.2c5.9-10.3 19.2-13.9 29.5-7.9 18.6 10.8-.1-.1 18.5 10.7 27.6 15.9 63.4 6.3 79.4-21.3 15.9-27.6 6.3-63.4-21.3-79.4-17.8-10.2-.6-.4-18.6-10.6-24.6-14.2-3.4-51.9 21.6-37.5 18.6 10.8-.1-.1 18.5 10.7 48.4 28 65.1 90.3 37.2 138.5zm21.8-208.8c-17 29.5-16.3 28.8-19 31.5-6.5 6.5-16.3 8.7-26.5 3.6-18.6-10.8.1.1-18.5-10.7-27.6-15.9-63.4-6.3-79.4 21.3s-6.3 63.4 21.3 79.4c0 0 18.5 10.6 18.6 10.6 24.6 14.2 3.4 51.9-21.6 37.5-18.6-10.8.1.1-18.5-10.7-48.2-27.8-64.9-90.1-37.1-138.4 27.9-48.2 89.9-64.9 138.2-37.2l4.8-8.4c14.3-24.9 52-3.3 37.7 21.5z"]
  104168. };
  104169. var faSquareTwitter = {
  104170. prefix: 'fab',
  104171. iconName: 'square-twitter',
  104172. icon: [448, 512, ["twitter-square"], "f081", "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-48.9 158.8c.2 2.8.2 5.7.2 8.5 0 86.7-66 186.6-186.6 186.6-37.2 0-71.7-10.8-100.7-29.4 5.3.6 10.4.8 15.8.8 30.7 0 58.9-10.4 81.4-28-28.8-.6-53-19.5-61.3-45.5 10.1 1.5 19.2 1.5 29.6-1.2-30-6.1-52.5-32.5-52.5-64.4v-.8c8.7 4.9 18.9 7.9 29.6 8.3a65.447 65.447 0 0 1-29.2-54.6c0-12.2 3.2-23.4 8.9-33.1 32.3 39.8 80.8 65.8 135.2 68.6-9.3-44.5 24-80.6 64-80.6 18.9 0 35.9 7.9 47.9 20.7 14.8-2.8 29-8.3 41.6-15.8-4.9 15.2-15.2 28-28.8 36.1 13.2-1.4 26-5.1 37.8-10.2-8.9 13.1-20.1 24.7-32.9 34z"]
  104173. };
  104174. var faTwitterSquare = faSquareTwitter;
  104175. var faRProject = {
  104176. prefix: 'fab',
  104177. iconName: 'r-project',
  104178. icon: [581, 512, [], "f4f7", "M581 226.6C581 119.1 450.9 32 290.5 32S0 119.1 0 226.6C0 322.4 103.3 402 239.4 418.1V480h99.1v-61.5c24.3-2.7 47.6-7.4 69.4-13.9L448 480h112l-67.4-113.7c54.5-35.4 88.4-84.9 88.4-139.7zm-466.8 14.5c0-73.5 98.9-133 220.8-133s211.9 40.7 211.9 133c0 50.1-26.5 85-70.3 106.4-2.4-1.6-4.7-2.9-6.4-3.7-10.2-5.2-27.8-10.5-27.8-10.5s86.6-6.4 86.6-92.7-90.6-87.9-90.6-87.9h-199V361c-74.1-21.5-125.2-67.1-125.2-119.9zm225.1 38.3v-55.6c57.8 0 87.8-6.8 87.8 27.3 0 36.5-38.2 28.3-87.8 28.3zm-.9 72.5H365c10.8 0 18.9 11.7 24 19.2-16.1 1.9-33 2.8-50.6 2.9v-22.1z"]
  104179. };
  104180. var faDelicious = {
  104181. prefix: 'fab',
  104182. iconName: 'delicious',
  104183. icon: [448, 512, [], "f1a5", "M446.5 68c-.4-1.5-.9-3-1.4-4.5-.9-2.5-2-4.8-3.3-7.1-1.4-2.4-3-4.8-4.7-6.9-2.1-2.5-4.4-4.8-6.9-6.8-1.1-.9-2.2-1.7-3.3-2.5-1.3-.9-2.6-1.7-4-2.4-1.8-1-3.6-1.8-5.5-2.5-1.7-.7-3.5-1.3-5.4-1.7-3.8-1-7.9-1.5-12-1.5H48C21.5 32 0 53.5 0 80v352c0 4.1.5 8.2 1.5 12 2 7.7 5.8 14.6 11 20.3 1 1.1 2.1 2.2 3.3 3.3 5.7 5.2 12.6 9 20.3 11 3.8 1 7.9 1.5 12 1.5h352c26.5 0 48-21.5 48-48V80c-.1-4.1-.6-8.2-1.6-12zM416 432c0 8.8-7.2 16-16 16H224V256H32V80c0-8.8 7.2-16 16-16h176v192h192z"]
  104184. };
  104185. var faFreebsd = {
  104186. prefix: 'fab',
  104187. iconName: 'freebsd',
  104188. icon: [448, 512, [], "f3a4", "M303.7 96.2c11.1-11.1 115.5-77 139.2-53.2 23.7 23.7-42.1 128.1-53.2 139.2-11.1 11.1-39.4.9-63.1-22.9-23.8-23.7-34.1-52-22.9-63.1zM109.9 68.1C73.6 47.5 22 24.6 5.6 41.1c-16.6 16.6 7.1 69.4 27.9 105.7 18.5-32.2 44.8-59.3 76.4-78.7zM406.7 174c3.3 11.3 2.7 20.7-2.7 26.1-20.3 20.3-87.5-27-109.3-70.1-18-32.3-11.1-53.4 14.9-48.7 5.7-3.6 12.3-7.6 19.6-11.6-29.8-15.5-63.6-24.3-99.5-24.3-119.1 0-215.6 96.5-215.6 215.6 0 119 96.5 215.6 215.6 215.6S445.3 380.1 445.3 261c0-38.4-10.1-74.5-27.7-105.8-3.9 7-7.6 13.3-10.9 18.8z"]
  104189. };
  104190. var faVuejs = {
  104191. prefix: 'fab',
  104192. iconName: 'vuejs',
  104193. icon: [448, 512, [], "f41f", "M356.9 64.3H280l-56 88.6-48-88.6H0L224 448 448 64.3h-91.1zm-301.2 32h53.8L224 294.5 338.4 96.3h53.8L224 384.5 55.7 96.3z"]
  104194. };
  104195. var faAccusoft = {
  104196. prefix: 'fab',
  104197. iconName: 'accusoft',
  104198. icon: [640, 512, [], "f369", "M322.1 252v-1l-51.2-65.8s-12 1.6-25 15.1c-9 9.3-242.1 239.1-243.4 240.9-7 10 1.6 6.8 15.7 1.7.8 0 114.5-36.6 114.5-36.6.5-.6-.1-.1.6-.6-.4-5.1-.8-26.2-1-27.7-.6-5.2 2.2-6.9 7-8.9l92.6-33.8c.6-.8 88.5-81.7 90.2-83.3zm160.1 120.1c13.3 16.1 20.7 13.3 30.8 9.3 3.2-1.2 115.4-47.6 117.8-48.9 8-4.3-1.7-16.7-7.2-23.4-2.1-2.5-205.1-245.6-207.2-248.3-9.7-12.2-14.3-12.9-38.4-12.8-10.2 0-106.8.5-116.5.6-19.2.1-32.9-.3-19.2 16.9C250 75 476.5 365.2 482.2 372.1zm152.7 1.6c-2.3-.3-24.6-4.7-38-7.2 0 0-115 50.4-117.5 51.6-16 7.3-26.9-3.2-36.7-14.6l-57.1-74c-5.4-.9-60.4-9.6-65.3-9.3-3.1.2-9.6.8-14.4 2.9-4.9 2.1-145.2 52.8-150.2 54.7-5.1 2-11.4 3.6-11.1 7.6.2 2.5 2 2.6 4.6 3.5 2.7.8 300.9 67.6 308 69.1 15.6 3.3 38.5 10.5 53.6 1.7 2.1-1.2 123.8-76.4 125.8-77.8 5.4-4 4.3-6.8-1.7-8.2z"]
  104199. };
  104200. var faIoxhost = {
  104201. prefix: 'fab',
  104202. iconName: 'ioxhost',
  104203. icon: [640, 512, [], "f208", "M616 160h-67.3C511.2 70.7 422.9 8 320 8 183 8 72 119 72 256c0 16.4 1.6 32.5 4.7 48H24c-13.3 0-24 10.8-24 24 0 13.3 10.7 24 24 24h67.3c37.5 89.3 125.8 152 228.7 152 137 0 248-111 248-248 0-16.4-1.6-32.5-4.7-48H616c13.3 0 24-10.8 24-24 0-13.3-10.7-24-24-24zm-96 96c0 110.5-89.5 200-200 200-75.7 0-141.6-42-175.5-104H424c13.3 0 24-10.8 24-24 0-13.3-10.7-24-24-24H125.8c-3.8-15.4-5.8-31.4-5.8-48 0-110.5 89.5-200 200-200 75.7 0 141.6 42 175.5 104H216c-13.3 0-24 10.8-24 24 0 13.3 10.7 24 24 24h298.2c3.8 15.4 5.8 31.4 5.8 48zm-304-24h208c13.3 0 24 10.7 24 24 0 13.2-10.7 24-24 24H216c-13.3 0-24-10.7-24-24 0-13.2 10.7-24 24-24z"]
  104204. };
  104205. var faFonticonsFi = {
  104206. prefix: 'fab',
  104207. iconName: 'fonticons-fi',
  104208. icon: [384, 512, [], "f3a2", "M114.4 224h92.4l-15.2 51.2h-76.4V433c0 8-2.8 9.2 4.4 10l59.6 5.6V483H0v-35.2l29.2-2.8c7.2-.8 9.2-3.2 9.2-10.8V278.4c0-3.2-4-3.2-8-3.2H0V224h38.4v-28.8c0-68 36.4-96 106-96 46.8 0 88.8 11.2 88.8 72.4l-69.6 8.4c.4-25.6-6-31.6-22.4-31.6-25.2 0-26 13.6-26 37.6v32c0 3.2-4.8 6-.8 6zM384 483H243.2v-34.4l28-3.6c7.2-.8 10.4-2.4 10.4-10V287c0-5.6-4-9.2-9.2-10.8l-33.2-8.8 9.2-40.4h110v208c0 8-3.6 8.8 4 10l21.6 3.6V483zm-30-347.2l12.4 45.6-10 10-42.8-22.8-42.8 22.8-10-10 12.4-45.6-30-36.4 4.8-10h38L307.2 51H320l21.2 38.4h38l4.8 13.2-30 33.2z"]
  104209. };
  104210. var faAppStore = {
  104211. prefix: 'fab',
  104212. iconName: 'app-store',
  104213. icon: [512, 512, [], "f36f", "M255.9 120.9l9.1-15.7c5.6-9.8 18.1-13.1 27.9-7.5 9.8 5.6 13.1 18.1 7.5 27.9l-87.5 151.5h63.3c20.5 0 32 24.1 23.1 40.8H113.8c-11.3 0-20.4-9.1-20.4-20.4 0-11.3 9.1-20.4 20.4-20.4h52l66.6-115.4-20.8-36.1c-5.6-9.8-2.3-22.2 7.5-27.9 9.8-5.6 22.2-2.3 27.9 7.5l8.9 15.7zm-78.7 218l-19.6 34c-5.6 9.8-18.1 13.1-27.9 7.5-9.8-5.6-13.1-18.1-7.5-27.9l14.6-25.2c16.4-5.1 29.8-1.2 40.4 11.6zm168.9-61.7h53.1c11.3 0 20.4 9.1 20.4 20.4 0 11.3-9.1 20.4-20.4 20.4h-29.5l19.9 34.5c5.6 9.8 2.3 22.2-7.5 27.9-9.8 5.6-22.2 2.3-27.9-7.5-33.5-58.1-58.7-101.6-75.4-130.6-17.1-29.5-4.9-59.1 7.2-69.1 13.4 23 33.4 57.7 60.1 104zM256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm216 248c0 118.7-96.1 216-216 216-118.7 0-216-96.1-216-216 0-118.7 96.1-216 216-216 118.7 0 216 96.1 216 216z"]
  104214. };
  104215. var faCcMastercard = {
  104216. prefix: 'fab',
  104217. iconName: 'cc-mastercard',
  104218. icon: [576, 512, [], "f1f1", "M482.9 410.3c0 6.8-4.6 11.7-11.2 11.7-6.8 0-11.2-5.2-11.2-11.7 0-6.5 4.4-11.7 11.2-11.7 6.6 0 11.2 5.2 11.2 11.7zm-310.8-11.7c-7.1 0-11.2 5.2-11.2 11.7 0 6.5 4.1 11.7 11.2 11.7 6.5 0 10.9-4.9 10.9-11.7-.1-6.5-4.4-11.7-10.9-11.7zm117.5-.3c-5.4 0-8.7 3.5-9.5 8.7h19.1c-.9-5.7-4.4-8.7-9.6-8.7zm107.8.3c-6.8 0-10.9 5.2-10.9 11.7 0 6.5 4.1 11.7 10.9 11.7 6.8 0 11.2-4.9 11.2-11.7 0-6.5-4.4-11.7-11.2-11.7zm105.9 26.1c0 .3.3.5.3 1.1 0 .3-.3.5-.3 1.1-.3.3-.3.5-.5.8-.3.3-.5.5-1.1.5-.3.3-.5.3-1.1.3-.3 0-.5 0-1.1-.3-.3 0-.5-.3-.8-.5-.3-.3-.5-.5-.5-.8-.3-.5-.3-.8-.3-1.1 0-.5 0-.8.3-1.1 0-.5.3-.8.5-1.1.3-.3.5-.3.8-.5.5-.3.8-.3 1.1-.3.5 0 .8 0 1.1.3.5.3.8.3 1.1.5s.2.6.5 1.1zm-2.2 1.4c.5 0 .5-.3.8-.3.3-.3.3-.5.3-.8 0-.3 0-.5-.3-.8-.3 0-.5-.3-1.1-.3h-1.6v3.5h.8V426h.3l1.1 1.4h.8l-1.1-1.3zM576 81v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V81c0-26.5 21.5-48 48-48h480c26.5 0 48 21.5 48 48zM64 220.6c0 76.5 62.1 138.5 138.5 138.5 27.2 0 53.9-8.2 76.5-23.1-72.9-59.3-72.4-171.2 0-230.5-22.6-15-49.3-23.1-76.5-23.1-76.4-.1-138.5 62-138.5 138.2zm224 108.8c70.5-55 70.2-162.2 0-217.5-70.2 55.3-70.5 162.6 0 217.5zm-142.3 76.3c0-8.7-5.7-14.4-14.7-14.7-4.6 0-9.5 1.4-12.8 6.5-2.4-4.1-6.5-6.5-12.2-6.5-3.8 0-7.6 1.4-10.6 5.4V392h-8.2v36.7h8.2c0-18.9-2.5-30.2 9-30.2 10.2 0 8.2 10.2 8.2 30.2h7.9c0-18.3-2.5-30.2 9-30.2 10.2 0 8.2 10 8.2 30.2h8.2v-23zm44.9-13.7h-7.9v4.4c-2.7-3.3-6.5-5.4-11.7-5.4-10.3 0-18.2 8.2-18.2 19.3 0 11.2 7.9 19.3 18.2 19.3 5.2 0 9-1.9 11.7-5.4v4.6h7.9V392zm40.5 25.6c0-15-22.9-8.2-22.9-15.2 0-5.7 11.9-4.8 18.5-1.1l3.3-6.5c-9.4-6.1-30.2-6-30.2 8.2 0 14.3 22.9 8.3 22.9 15 0 6.3-13.5 5.8-20.7.8l-3.5 6.3c11.2 7.6 32.6 6 32.6-7.5zm35.4 9.3l-2.2-6.8c-3.8 2.1-12.2 4.4-12.2-4.1v-16.6h13.1V392h-13.1v-11.2h-8.2V392h-7.6v7.3h7.6V416c0 17.6 17.3 14.4 22.6 10.9zm13.3-13.4h27.5c0-16.2-7.4-22.6-17.4-22.6-10.6 0-18.2 7.9-18.2 19.3 0 20.5 22.6 23.9 33.8 14.2l-3.8-6c-7.8 6.4-19.6 5.8-21.9-4.9zm59.1-21.5c-4.6-2-11.6-1.8-15.2 4.4V392h-8.2v36.7h8.2V408c0-11.6 9.5-10.1 12.8-8.4l2.4-7.6zm10.6 18.3c0-11.4 11.6-15.1 20.7-8.4l3.8-6.5c-11.6-9.1-32.7-4.1-32.7 15 0 19.8 22.4 23.8 32.7 15l-3.8-6.5c-9.2 6.5-20.7 2.6-20.7-8.6zm66.7-18.3H408v4.4c-8.3-11-29.9-4.8-29.9 13.9 0 19.2 22.4 24.7 29.9 13.9v4.6h8.2V392zm33.7 0c-2.4-1.2-11-2.9-15.2 4.4V392h-7.9v36.7h7.9V408c0-11 9-10.3 12.8-8.4l2.4-7.6zm40.3-14.9h-7.9v19.3c-8.2-10.9-29.9-5.1-29.9 13.9 0 19.4 22.5 24.6 29.9 13.9v4.6h7.9v-51.7zm7.6-75.1v4.6h.8V302h1.9v-.8h-4.6v.8h1.9zm6.6 123.8c0-.5 0-1.1-.3-1.6-.3-.3-.5-.8-.8-1.1-.3-.3-.8-.5-1.1-.8-.5 0-1.1-.3-1.6-.3-.3 0-.8.3-1.4.3-.5.3-.8.5-1.1.8-.5.3-.8.8-.8 1.1-.3.5-.3 1.1-.3 1.6 0 .3 0 .8.3 1.4 0 .3.3.8.8 1.1.3.3.5.5 1.1.8.5.3 1.1.3 1.4.3.5 0 1.1 0 1.6-.3.3-.3.8-.5 1.1-.8.3-.3.5-.8.8-1.1.3-.6.3-1.1.3-1.4zm3.2-124.7h-1.4l-1.6 3.5-1.6-3.5h-1.4v5.4h.8v-4.1l1.6 3.5h1.1l1.4-3.5v4.1h1.1v-5.4zm4.4-80.5c0-76.2-62.1-138.3-138.5-138.3-27.2 0-53.9 8.2-76.5 23.1 72.1 59.3 73.2 171.5 0 230.5 22.6 15 49.5 23.1 76.5 23.1 76.4.1 138.5-61.9 138.5-138.4z"]
  104219. };
  104220. var faItunesNote = {
  104221. prefix: 'fab',
  104222. iconName: 'itunes-note',
  104223. icon: [384, 512, [], "f3b5", "M381.9 388.2c-6.4 27.4-27.2 42.8-55.1 48-24.5 4.5-44.9 5.6-64.5-10.2-23.9-20.1-24.2-53.4-2.7-74.4 17-16.2 40.9-19.5 76.8-25.8 6-1.1 11.2-2.5 15.6-7.4 6.4-7.2 4.4-4.1 4.4-163.2 0-11.2-5.5-14.3-17-12.3-8.2 1.4-185.7 34.6-185.7 34.6-10.2 2.2-13.4 5.2-13.4 16.7 0 234.7 1.1 223.9-2.5 239.5-4.2 18.2-15.4 31.9-30.2 39.5-16.8 9.3-47.2 13.4-63.4 10.4-43.2-8.1-58.4-58-29.1-86.6 17-16.2 40.9-19.5 76.8-25.8 6-1.1 11.2-2.5 15.6-7.4 10.1-11.5 1.8-256.6 5.2-270.2.8-5.2 3-9.6 7.1-12.9 4.2-3.5 11.8-5.5 13.4-5.5 204-38.2 228.9-43.1 232.4-43.1 11.5-.8 18.1 6 18.1 17.6.2 344.5 1.1 326-1.8 338.5z"]
  104224. };
  104225. var faGolang = {
  104226. prefix: 'fab',
  104227. iconName: 'golang',
  104228. icon: [640, 512, [], "e40f", "M400.1 194.8C389.2 197.6 380.2 199.1 371 202.4C363.7 204.3 356.3 206.3 347.8 208.5L347.2 208.6C343 209.8 342.6 209.9 338.7 205.4C334 200.1 330.6 196.7 324.1 193.5C304.4 183.9 285.4 186.7 267.7 198.2C246.5 211.9 235.6 232.2 235.9 257.4C236.2 282.4 253.3 302.9 277.1 306.3C299.1 309.1 316.9 301.7 330.9 285.8C333 283.2 334.9 280.5 337 277.5V277.5L337 277.5C337.8 276.5 338.5 275.4 339.3 274.2H279.2C272.7 274.2 271.1 270.2 273.3 264.9C277.3 255.2 284.8 239 289.2 230.9C290.1 229.1 292.3 225.1 296.1 225.1H397.2C401.7 211.7 409 198.2 418.8 185.4C441.5 155.5 468.1 139.9 506 133.4C537.8 127.8 567.7 130.9 594.9 149.3C619.5 166.1 634.7 188.9 638.8 218.8C644.1 260.9 631.9 295.1 602.1 324.4C582.4 345.3 557.2 358.4 528.2 364.3C522.6 365.3 517.1 365.8 511.7 366.3C508.8 366.5 506 366.8 503.2 367.1C474.9 366.5 449 358.4 427.2 339.7C411.9 326.4 401.3 310.1 396.1 291.2C392.4 298.5 388.1 305.6 382.1 312.3C360.5 341.9 331.2 360.3 294.2 365.2C263.6 369.3 235.3 363.4 210.3 344.7C187.3 327.2 174.2 304.2 170.8 275.5C166.7 241.5 176.7 210.1 197.2 184.2C219.4 155.2 248.7 136.8 284.5 130.3C313.8 124.1 341.8 128.4 367.1 145.6C383.6 156.5 395.4 171.4 403.2 189.5C405.1 192.3 403.8 193.9 400.1 194.8zM48.3 200.4C47.05 200.4 46.74 199.8 47.36 198.8L53.91 190.4C54.53 189.5 56.09 188.9 57.34 188.9H168.6C169.8 188.9 170.1 189.8 169.5 190.7L164.2 198.8C163.6 199.8 162 200.7 161.1 200.7L48.3 200.4zM1.246 229.1C0 229.1-.3116 228.4 .3116 227.5L6.855 219.1C7.479 218.2 9.037 217.5 10.28 217.5H152.4C153.6 217.5 154.2 218.5 153.9 219.4L151.4 226.9C151.1 228.1 149.9 228.8 148.6 228.8L1.246 229.1zM75.72 255.9C75.1 256.8 75.41 257.7 76.65 257.7L144.6 258C145.5 258 146.8 257.1 146.8 255.9L147.4 248.4C147.4 247.1 146.8 246.2 145.5 246.2H83.2C81.95 246.2 80.71 247.1 80.08 248.1L75.72 255.9zM577.2 237.9C577 235.3 576.9 233.1 576.5 230.9C570.9 200.1 542.5 182.6 512.9 189.5C483.9 196 465.2 214.4 458.4 243.7C452.8 268 464.6 292.6 487 302.6C504.2 310.1 521.3 309.2 537.8 300.7C562.4 287.1 575.8 268 577.4 241.2C577.3 240 577.3 238.9 577.2 237.9z"]
  104229. };
  104230. var faKickstarter = {
  104231. prefix: 'fab',
  104232. iconName: 'kickstarter',
  104233. icon: [448, 512, [], "f3bb", "M400 480H48c-26.4 0-48-21.6-48-48V80c0-26.4 21.6-48 48-48h352c26.4 0 48 21.6 48 48v352c0 26.4-21.6 48-48 48zM199.6 178.5c0-30.7-17.6-45.1-39.7-45.1-25.8 0-40 19.8-40 44.5v154.8c0 25.8 13.7 45.6 40.5 45.6 21.5 0 39.2-14 39.2-45.6v-41.8l60.6 75.7c12.3 14.9 39 16.8 55.8 0 14.6-15.1 14.8-36.8 4-50.4l-49.1-62.8 40.5-58.7c9.4-13.5 9.5-34.5-5.6-49.1-16.4-15.9-44.6-17.3-61.4 7l-44.8 64.7v-38.8z"]
  104234. };
  104235. var faGrav = {
  104236. prefix: 'fab',
  104237. iconName: 'grav',
  104238. icon: [512, 512, [], "f2d6", "M301.1 212c4.4 4.4 4.4 11.9 0 16.3l-9.7 9.7c-4.4 4.7-11.9 4.7-16.6 0l-10.5-10.5c-4.4-4.7-4.4-11.9 0-16.6l9.7-9.7c4.4-4.4 11.9-4.4 16.6 0l10.5 10.8zm-30.2-19.7c3-3 3-7.8 0-10.5-2.8-3-7.5-3-10.5 0-2.8 2.8-2.8 7.5 0 10.5 3.1 2.8 7.8 2.8 10.5 0zm-26 5.3c-3 2.8-3 7.5 0 10.2 2.8 3 7.5 3 10.5 0 2.8-2.8 2.8-7.5 0-10.2-3-3-7.7-3-10.5 0zm72.5-13.3c-19.9-14.4-33.8-43.2-11.9-68.1 21.6-24.9 40.7-17.2 59.8.8 11.9 11.3 29.3 24.9 17.2 48.2-12.5 23.5-45.1 33.2-65.1 19.1zm47.7-44.5c-8.9-10-23.3 6.9-15.5 16.1 7.4 9 32.1 2.4 15.5-16.1zM504 256c0 137-111 248-248 248S8 393 8 256 119 8 256 8s248 111 248 248zm-66.2 42.6c2.5-16.1-20.2-16.6-25.2-25.7-13.6-24.1-27.7-36.8-54.5-30.4 11.6-8 23.5-6.1 23.5-6.1.3-6.4 0-13-9.4-24.9 3.9-12.5.3-22.4.3-22.4 15.5-8.6 26.8-24.4 29.1-43.2 3.6-31-18.8-59.2-49.8-62.8-22.1-2.5-43.7 7.7-54.3 25.7-23.2 40.1 1.4 70.9 22.4 81.4-14.4-1.4-34.3-11.9-40.1-34.3-6.6-25.7 2.8-49.8 8.9-61.4 0 0-4.4-5.8-8-8.9 0 0-13.8 0-24.6 5.3 11.9-15.2 25.2-14.4 25.2-14.4 0-6.4-.6-14.9-3.6-21.6-5.4-11-23.8-12.9-31.7 2.8.1-.2.3-.4.4-.5-5 11.9-1.1 55.9 16.9 87.2-2.5 1.4-9.1 6.1-13 10-21.6 9.7-56.2 60.3-56.2 60.3-28.2 10.8-77.2 50.9-70.6 79.7.3 3 1.4 5.5 3 7.5-2.8 2.2-5.5 5-8.3 8.3-11.9 13.8-5.3 35.2 17.7 24.4 15.8-7.2 29.6-20.2 36.3-30.4 0 0-5.5-5-16.3-4.4 27.7-6.6 34.3-9.4 46.2-9.1 8 3.9 8-34.3 8-34.3 0-14.7-2.2-31-11.1-41.5 12.5 12.2 29.1 32.7 28 60.6-.8 18.3-15.2 23-15.2 23-9.1 16.6-43.2 65.9-30.4 106 0 0-9.7-14.9-10.2-22.1-17.4 19.4-46.5 52.3-24.6 64.5 26.6 14.7 108.8-88.6 126.2-142.3 34.6-20.8 55.4-47.3 63.9-65 22 43.5 95.3 94.5 101.1 59z"]
  104239. };
  104240. var faWeibo = {
  104241. prefix: 'fab',
  104242. iconName: 'weibo',
  104243. icon: [512, 512, [], "f18a", "M407 177.6c7.6-24-13.4-46.8-37.4-41.7-22 4.8-28.8-28.1-7.1-32.8 50.1-10.9 92.3 37.1 76.5 84.8-6.8 21.2-38.8 10.8-32-10.3zM214.8 446.7C108.5 446.7 0 395.3 0 310.4c0-44.3 28-95.4 76.3-143.7C176 67 279.5 65.8 249.9 161c-4 13.1 12.3 5.7 12.3 6 79.5-33.6 140.5-16.8 114 51.4-3.7 9.4 1.1 10.9 8.3 13.1 135.7 42.3 34.8 215.2-169.7 215.2zm143.7-146.3c-5.4-55.7-78.5-94-163.4-85.7-84.8 8.6-148.8 60.3-143.4 116s78.5 94 163.4 85.7c84.8-8.6 148.8-60.3 143.4-116zM347.9 35.1c-25.9 5.6-16.8 43.7 8.3 38.3 72.3-15.2 134.8 52.8 111.7 124-7.4 24.2 29.1 37 37.4 12 31.9-99.8-55.1-195.9-157.4-174.3zm-78.5 311c-17.1 38.8-66.8 60-109.1 46.3-40.8-13.1-58-53.4-40.3-89.7 17.7-35.4 63.1-55.4 103.4-45.1 42 10.8 63.1 50.2 46 88.5zm-86.3-30c-12.9-5.4-30 .3-38 12.9-8.3 12.9-4.3 28 8.6 34 13.1 6 30.8.3 39.1-12.9 8-13.1 3.7-28.3-9.7-34zm32.6-13.4c-5.1-1.7-11.4.6-14.3 5.4-2.9 5.1-1.4 10.6 3.7 12.9 5.1 2 11.7-.3 14.6-5.4 2.8-5.2 1.1-10.9-4-12.9z"]
  104244. };
  104245. var faUncharted = {
  104246. prefix: 'fab',
  104247. iconName: 'uncharted',
  104248. icon: [448, 512, [], "e084", "M171.73,232.813A5.381,5.381,0,0,0,176.7,229.5,48.081,48.081,0,0,1,191.6,204.244c1.243-.828,1.657-2.484,1.657-4.141a4.22,4.22,0,0,0-2.071-3.312L74.429,128.473,148.958,85a9.941,9.941,0,0,0,4.968-8.281,9.108,9.108,0,0,0-4.968-8.281L126.6,55.6a9.748,9.748,0,0,0-9.523,0l-100.2,57.966a9.943,9.943,0,0,0-4.969,8.281V236.954a9.109,9.109,0,0,0,4.969,8.281L39.235,258.07a8.829,8.829,0,0,0,4.968,1.242,9.4,9.4,0,0,0,6.625-2.484,10.8,10.8,0,0,0,2.9-7.039V164.5L169.66,232.4A4.5,4.5,0,0,0,171.73,232.813ZM323.272,377.73a12.478,12.478,0,0,0-4.969,1.242l-74.528,43.062V287.882c0-2.9-2.9-5.8-6.211-4.555a53.036,53.036,0,0,1-28.984.414,4.86,4.86,0,0,0-6.21,4.555V421.619l-74.529-43.061a8.83,8.83,0,0,0-4.969-1.242,9.631,9.631,0,0,0-9.523,9.523v26.085a9.107,9.107,0,0,0,4.969,8.281l100.2,57.553A8.829,8.829,0,0,0,223.486,480a11.027,11.027,0,0,0,4.969-1.242l100.2-57.553a9.941,9.941,0,0,0,4.968-8.281V386.839C332.8,382.285,328.24,377.73,323.272,377.73ZM286.007,78a23,23,0,1,0-23-23A23,23,0,0,0,286.007,78Zm63.627-10.086a23,23,0,1,0,23,23A23,23,0,0,0,349.634,67.914ZM412.816,151.6a23,23,0,1,0-23-23A23,23,0,0,0,412.816,151.6Zm-63.182-9.2a23,23,0,1,0,23,23A23,23,0,0,0,349.634,142.4Zm-63.627,83.244a23,23,0,1,0-23-23A23,23,0,0,0,286.007,225.648Zm-62.074,36.358a23,23,0,1,0-23-23A23,23,0,0,0,223.933,262.006Zm188.883-82.358a23,23,0,1,0,23,23A23,23,0,0,0,412.816,179.648Zm0,72.272a23,23,0,1,0,23,23A23,23,0,0,0,412.816,251.92Z"]
  104249. };
  104250. var faFirstdraft = {
  104251. prefix: 'fab',
  104252. iconName: 'firstdraft',
  104253. icon: [384, 512, [], "f3a1", "M384 192h-64v128H192v128H0v-25.6h166.4v-128h128v-128H384V192zm-25.6 38.4v128h-128v128H64V512h192V384h128V230.4h-25.6zm25.6 192h-89.6V512H320v-64h64v-25.6zM0 0v384h128V256h128V128h128V0H0z"]
  104254. };
  104255. var faSquareYoutube = {
  104256. prefix: 'fab',
  104257. iconName: 'square-youtube',
  104258. icon: [448, 512, [61798, "youtube-square"], "f431", "M186.8 202.1l95.2 54.1-95.2 54.1V202.1zM448 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-42 176.3s0-59.6-7.6-88.2c-4.2-15.8-16.5-28.2-32.2-32.4C337.9 128 224 128 224 128s-113.9 0-142.2 7.7c-15.7 4.2-28 16.6-32.2 32.4-7.6 28.5-7.6 88.2-7.6 88.2s0 59.6 7.6 88.2c4.2 15.8 16.5 27.7 32.2 31.9C110.1 384 224 384 224 384s113.9 0 142.2-7.7c15.7-4.2 28-16.1 32.2-31.9 7.6-28.5 7.6-88.1 7.6-88.1z"]
  104259. };
  104260. var faYoutubeSquare = faSquareYoutube;
  104261. var faWikipediaW = {
  104262. prefix: 'fab',
  104263. iconName: 'wikipedia-w',
  104264. icon: [640, 512, [], "f266", "M640 51.2l-.3 12.2c-28.1.8-45 15.8-55.8 40.3-25 57.8-103.3 240-155.3 358.6H415l-81.9-193.1c-32.5 63.6-68.3 130-99.2 193.1-.3.3-15 0-15-.3C172 352.3 122.8 243.4 75.8 133.4 64.4 106.7 26.4 63.4.2 63.7c0-3.1-.3-10-.3-14.2h161.9v13.9c-19.2 1.1-52.8 13.3-43.3 34.2 21.9 49.7 103.6 240.3 125.6 288.6 15-29.7 57.8-109.2 75.3-142.8-13.9-28.3-58.6-133.9-72.8-160-9.7-17.8-36.1-19.4-55.8-19.7V49.8l142.5.3v13.1c-19.4.6-38.1 7.8-29.4 26.1 18.9 40 30.6 68.1 48.1 104.7 5.6-10.8 34.7-69.4 48.1-100.8 8.9-20.6-3.9-28.6-38.6-29.4.3-3.6 0-10.3.3-13.6 44.4-.3 111.1-.3 123.1-.6v13.6c-22.5.8-45.8 12.8-58.1 31.7l-59.2 122.8c6.4 16.1 63.3 142.8 69.2 156.7L559.2 91.8c-8.6-23.1-36.4-28.1-47.2-28.3V49.6l127.8 1.1.2.5z"]
  104265. };
  104266. var faWpressr = {
  104267. prefix: 'fab',
  104268. iconName: 'wpressr',
  104269. icon: [496, 512, ["rendact"], "f3e4", "M248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm171.33 158.6c-15.18 34.51-30.37 69.02-45.63 103.5-2.44 5.51-6.89 8.24-12.97 8.24-23.02-.01-46.03.06-69.05-.05-5.12-.03-8.25 1.89-10.34 6.72-10.19 23.56-20.63 47-30.95 70.5-1.54 3.51-4.06 5.29-7.92 5.29-45.94-.01-91.87-.02-137.81 0-3.13 0-5.63-1.15-7.72-3.45-11.21-12.33-22.46-24.63-33.68-36.94-2.69-2.95-2.79-6.18-1.21-9.73 8.66-19.54 17.27-39.1 25.89-58.66 12.93-29.35 25.89-58.69 38.75-88.08 1.7-3.88 4.28-5.68 8.54-5.65 14.24.1 28.48.02 42.72.05 6.24.01 9.2 4.84 6.66 10.59-13.6 30.77-27.17 61.55-40.74 92.33-5.72 12.99-11.42 25.99-17.09 39-3.91 8.95 7.08 11.97 10.95 5.6.23-.37-1.42 4.18 30.01-67.69 1.36-3.1 3.41-4.4 6.77-4.39 15.21.08 30.43.02 45.64.04 5.56.01 7.91 3.64 5.66 8.75-8.33 18.96-16.71 37.9-24.98 56.89-4.98 11.43 8.08 12.49 11.28 5.33.04-.08 27.89-63.33 32.19-73.16 2.02-4.61 5.44-6.51 10.35-6.5 26.43.05 52.86 0 79.29.05 12.44.02 13.93-13.65 3.9-13.64-25.26.03-50.52.02-75.78.02-6.27 0-7.84-2.47-5.27-8.27 5.78-13.06 11.59-26.11 17.3-39.21 1.73-3.96 4.52-5.79 8.84-5.78 23.09.06 25.98.02 130.78.03 6.08-.01 8.03 2.79 5.62 8.27z"]
  104270. };
  104271. var faRendact = faWpressr;
  104272. var faAngellist = {
  104273. prefix: 'fab',
  104274. iconName: 'angellist',
  104275. icon: [448, 512, [], "f209", "M347.1 215.4c11.7-32.6 45.4-126.9 45.4-157.1 0-26.6-15.7-48.9-43.7-48.9-44.6 0-84.6 131.7-97.1 163.1C242 144 196.6 0 156.6 0c-31.1 0-45.7 22.9-45.7 51.7 0 35.3 34.2 126.8 46.6 162-6.3-2.3-13.1-4.3-20-4.3-23.4 0-48.3 29.1-48.3 52.6 0 8.9 4.9 21.4 8 29.7-36.9 10-51.1 34.6-51.1 71.7C46 435.6 114.4 512 210.6 512c118 0 191.4-88.6 191.4-202.9 0-43.1-6.9-82-54.9-93.7zM311.7 108c4-12.3 21.1-64.3 37.1-64.3 8.6 0 10.9 8.9 10.9 16 0 19.1-38.6 124.6-47.1 148l-34-6 33.1-93.7zM142.3 48.3c0-11.9 14.5-45.7 46.3 47.1l34.6 100.3c-15.6-1.3-27.7-3-35.4 1.4-10.9-28.8-45.5-119.7-45.5-148.8zM140 244c29.3 0 67.1 94.6 67.1 107.4 0 5.1-4.9 11.4-10.6 11.4-20.9 0-76.9-76.9-76.9-97.7.1-7.7 12.7-21.1 20.4-21.1zm184.3 186.3c-29.1 32-66.3 48.6-109.7 48.6-59.4 0-106.3-32.6-128.9-88.3-17.1-43.4 3.8-68.3 20.6-68.3 11.4 0 54.3 60.3 54.3 73.1 0 4.9-7.7 8.3-11.7 8.3-16.1 0-22.4-15.5-51.1-51.4-29.7 29.7 20.5 86.9 58.3 86.9 26.1 0 43.1-24.2 38-42 3.7 0 8.3.3 11.7-.6 1.1 27.1 9.1 59.4 41.7 61.7 0-.9 2-7.1 2-7.4 0-17.4-10.6-32.6-10.6-50.3 0-28.3 21.7-55.7 43.7-71.7 8-6 17.7-9.7 27.1-13.1 9.7-3.7 20-8 27.4-15.4-1.1-11.2-5.7-21.1-16.9-21.1-27.7 0-120.6 4-120.6-39.7 0-6.7.1-13.1 17.4-13.1 32.3 0 114.3 8 138.3 29.1 18.1 16.1 24.3 113.2-31 174.7zm-98.6-126c9.7 3.1 19.7 4 29.7 6-7.4 5.4-14 12-20.3 19.1-2.8-8.5-6.2-16.8-9.4-25.1z"]
  104276. };
  104277. var faGalacticRepublic = {
  104278. prefix: 'fab',
  104279. iconName: 'galactic-republic',
  104280. icon: [496, 512, [], "f50c", "M248 504C111.25 504 0 392.75 0 256S111.25 8 248 8s248 111.25 248 248-111.25 248-248 248zm0-479.47C120.37 24.53 16.53 128.37 16.53 256S120.37 487.47 248 487.47 479.47 383.63 479.47 256 375.63 24.53 248 24.53zm27.62 21.81v24.62a185.933 185.933 0 0 1 83.57 34.54l17.39-17.36c-28.75-22.06-63.3-36.89-100.96-41.8zm-55.37.07c-37.64 4.94-72.16 19.8-100.88 41.85l17.28 17.36h.08c24.07-17.84 52.55-30.06 83.52-34.67V46.41zm12.25 50.17v82.87c-10.04 2.03-19.42 5.94-27.67 11.42l-58.62-58.59-21.93 21.93 58.67 58.67c-5.47 8.23-9.45 17.59-11.47 27.62h-82.9v31h82.9c2.02 10.02 6.01 19.31 11.47 27.54l-58.67 58.69 21.93 21.93 58.62-58.62a77.873 77.873 0 0 0 27.67 11.47v82.9h31v-82.9c10.05-2.03 19.37-6.06 27.62-11.55l58.67 58.69 21.93-21.93-58.67-58.69c5.46-8.23 9.47-17.52 11.5-27.54h82.87v-31h-82.87c-2.02-10.02-6.03-19.38-11.5-27.62l58.67-58.67-21.93-21.93-58.67 58.67c-8.25-5.49-17.57-9.47-27.62-11.5V96.58h-31zm183.24 30.72l-17.36 17.36a186.337 186.337 0 0 1 34.67 83.67h24.62c-4.95-37.69-19.83-72.29-41.93-101.03zm-335.55.13c-22.06 28.72-36.91 63.26-41.85 100.91h24.65c4.6-30.96 16.76-59.45 34.59-83.52l-17.39-17.39zM38.34 283.67c4.92 37.64 19.75 72.18 41.8 100.9l17.36-17.39c-17.81-24.07-29.92-52.57-34.51-83.52H38.34zm394.7 0c-4.61 30.99-16.8 59.5-34.67 83.6l17.36 17.36c22.08-28.74 36.98-63.29 41.93-100.96h-24.62zM136.66 406.38l-17.36 17.36c28.73 22.09 63.3 36.98 100.96 41.93v-24.64c-30.99-4.63-59.53-16.79-83.6-34.65zm222.53.05c-24.09 17.84-52.58 30.08-83.57 34.67v24.57c37.67-4.92 72.21-19.79 100.96-41.85l-17.31-17.39h-.08z"]
  104281. };
  104282. var faNfcDirectional = {
  104283. prefix: 'fab',
  104284. iconName: 'nfc-directional',
  104285. icon: [512, 512, [], "e530", "M211.8 488.6C213.4 491.1 213.9 494.2 213.2 497.1C212.6 500 210.8 502.6 208.3 504.2C205.7 505.8 202.7 506.3 199.7 505.7C138.3 491.8 84.1 455.8 47.53 404.5C10.97 353.2-5.395 290.3 1.57 227.7C8.536 165 38.34 107.2 85.29 65.21C132.2 23.2 193-.0131 256 0C257.5 0 258.1 .2931 260.3 .8627C261.7 1.432 262.1 2.267 264 3.319C265.1 4.371 265.9 5.619 266.5 6.993C267 8.367 267.3 9.839 267.3 11.32V112.3L291.8 86.39C292.8 85.31 294 84.44 295.4 83.84C296.7 83.23 298.2 82.9 299.7 82.86C301.2 82.81 302.6 83.06 304 83.59C305.4 84.12 306.7 84.92 307.8 85.94C308.8 86.96 309.7 88.18 310.3 89.54C310.9 90.89 311.3 92.35 311.3 93.84C311.3 95.32 311.1 96.8 310.6 98.18C310 99.57 309.2 100.8 308.2 101.9L264.2 148.5C263.1 149.6 261.9 150.5 260.5 151.1C259 151.7 257.5 152 255.1 152C254.5 152 252.9 151.7 251.5 151.1C250.1 150.5 248.8 149.6 247.8 148.5L203.7 101.9C201.7 99.74 200.6 96.83 200.7 93.84C200.7 90.84 202 87.1 204.2 85.94C206.4 83.88 209.3 82.77 212.3 82.86C215.3 82.94 218.1 84.21 220.2 86.39L244.7 112.4V22.89C188.3 25.64 134.9 48.73 94.23 87.87C53.58 127 28.49 179.6 23.61 235.8C18.73 292 34.38 348.1 67.68 393.7C100.1 439.2 149.7 471.2 204.7 483.6C207.6 484.3 210.2 486.1 211.8 488.6L211.8 488.6zM171.4 126.1C170.6 127.4 169.5 128.5 168.3 129.3C147.8 143.2 131.1 161.9 119.5 183.8C107.9 205.7 101.8 230.1 101.8 254.9C101.8 279.7 107.9 304.1 119.5 325.1C131.1 347.9 147.8 366.6 168.3 380.5C170.8 382.2 172.5 384.8 173 387.8C173.6 390.7 172.1 393.8 171.3 396.2C169.6 398.7 166.1 400.4 164 400.1C161.1 401.5 158 400.9 155.6 399.2C132 383.2 112.8 361.7 99.46 336.5C86.15 311.4 79.19 283.4 79.19 254.9C79.19 226.5 86.15 198.4 99.46 173.3C112.8 148.1 132 126.6 155.6 110.6C156.8 109.8 158.2 109.2 159.6 108.8C161.1 108.5 162.6 108.5 164.1 108.8C165.5 109 166.9 109.6 168.2 110.4C169.5 111.2 170.5 112.3 171.4 113.5C172.2 114.7 172.8 116.1 173.1 117.6C173.4 119.1 173.4 120.6 173.1 122C172.8 123.5 172.3 124.9 171.4 126.1H171.4zM340.9 383.5C341.7 382.3 342.8 381.2 343.1 380.4V380.3C364.4 366.3 381.1 347.6 392.7 325.7C404.2 303.9 410.2 279.5 410.2 254.8C410.2 230.1 404.2 205.7 392.7 183.8C381.1 161.1 364.4 143.3 343.1 129.3C342.8 128.5 341.7 127.4 340.9 126.2C340.1 124.9 339.5 123.5 339.3 122.1C338.1 120.6 339 119.1 339.3 117.7C339.6 116.2 340.2 114.8 341 113.6C341.9 112.4 342.1 111.3 344.2 110.5C345.4 109.7 346.8 109.2 348.3 108.9C349.8 108.6 351.2 108.6 352.7 108.9C354.2 109.2 355.5 109.8 356.8 110.7C380.2 126.7 399.5 148.2 412.7 173.3C426 198.4 432.1 226.4 432.1 254.8C432.1 283.3 426 311.3 412.7 336.4C399.5 361.5 380.2 383 356.8 399C355.5 399.9 354.2 400.5 352.7 400.8C351.2 401.1 349.8 401.1 348.3 400.8C346.8 400.5 345.4 399.1 344.2 399.2C342.1 398.4 341.9 397.3 341 396.1C340.2 394.9 339.6 393.5 339.3 392C339 390.6 338.1 389.1 339.3 387.6C339.5 386.2 340.1 384.8 340.9 383.5V383.5zM312.3 6.307C368.5 19.04 418.7 50.28 455 95.01C485.4 132.6 504.6 178 510.3 226C515.9 274 507.9 322.7 487.1 366.3C466.2 409.9 433.5 446.8 392.6 472.6C351.7 498.3 304.4 512 256 512C254.5 512 253.1 511.7 251.7 511.1C250.3 510.6 249.1 509.7 248 508.7C246.1 507.6 246.1 506.4 245.6 505C245 503.6 244.7 502.2 244.7 500.7V401.5L220.2 427.5C218.1 429.7 215.3 430.1 212.3 431.1C209.3 431.2 206.4 430 204.2 427.1C202 425.9 200.7 423.1 200.7 420.1C200.6 417.1 201.7 414.2 203.7 412L247.8 365.4C249.1 363.2 252.9 362 255.1 362C259.1 362 262 363.2 264.2 365.4L308.2 412C310.3 414.2 311.4 417.1 311.3 420.1C311.2 423.1 309.9 425.9 307.8 427.1C305.6 430 302.7 431.2 299.7 431.1C296.7 430.1 293.8 429.7 291.8 427.5L267.3 401.6V489.1C323.7 486.3 377.1 463.3 417.8 424.1C458.5 384.1 483.6 332.4 488.5 276.2C493.3 219.1 477.7 163.9 444.4 118.3C411.1 72.75 362.4 40.79 307.4 28.36C305.9 28.03 304.6 27.42 303.3 26.57C302.1 25.71 301.1 24.63 300.3 23.37C299.5 22.12 298.1 20.72 298.7 19.26C298.5 17.8 298.5 16.3 298.8 14.85C299.2 13.41 299.8 12.04 300.6 10.82C301.5 9.61 302.6 8.577 303.8 7.784C305.1 6.99 306.5 6.451 307.9 6.198C309.4 5.945 310.9 5.982 312.3 6.307L312.3 6.307zM353.1 256.1C353.1 287.5 335.6 317.2 303.8 339.6C301.7 341.1 299 341.9 296.4 341.6C293.7 341.4 291.2 340.3 289.4 338.4L219.3 268.6C217.1 266.5 215.1 263.6 215.9 260.6C215.9 257.6 217.1 254.7 219.2 252.6C221.4 250.5 224.2 249.3 227.2 249.3C230.2 249.3 233.1 250.5 235.2 252.6L298.3 315.4C319.1 298.3 330.5 277.5 330.5 256.1C330.5 232.2 316.4 209.1 290.8 191C288.3 189.3 286.7 186.7 286.2 183.7C285.7 180.8 286.3 177.7 288.1 175.3C289.8 172.8 292.4 171.2 295.4 170.7C298.3 170.2 301.4 170.8 303.8 172.6C335.6 195 353.1 224.7 353.1 256.1V256.1zM216.7 341.5C213.7 342 210.7 341.3 208.2 339.6C176.5 317.2 158.1 287.5 158.1 256.1C158.1 224.7 176.5 195 208.2 172.6C210.4 171 213.1 170.3 215.7 170.5C218.4 170.8 220.8 171.9 222.7 173.8L292.8 243.6C294.9 245.7 296.1 248.6 296.1 251.6C296.1 254.6 294.1 257.4 292.8 259.6C290.7 261.7 287.8 262.9 284.9 262.9C281.9 262.9 278.1 261.7 276.9 259.6L213.8 196.7C192.9 214 181.6 234.7 181.6 256.1C181.6 279.1 195.7 303.1 221.3 321.1C223.7 322.9 225.4 325.5 225.9 328.5C226.4 331.4 225.7 334.4 224 336.9C222.3 339.3 219.6 341 216.7 341.5L216.7 341.5z"]
  104286. };
  104287. var faSkype = {
  104288. prefix: 'fab',
  104289. iconName: 'skype',
  104290. icon: [448, 512, [], "f17e", "M424.7 299.8c2.9-14 4.7-28.9 4.7-43.8 0-113.5-91.9-205.3-205.3-205.3-14.9 0-29.7 1.7-43.8 4.7C161.3 40.7 137.7 32 112 32 50.2 32 0 82.2 0 144c0 25.7 8.7 49.3 23.3 68.2-2.9 14-4.7 28.9-4.7 43.8 0 113.5 91.9 205.3 205.3 205.3 14.9 0 29.7-1.7 43.8-4.7 19 14.6 42.6 23.3 68.2 23.3 61.8 0 112-50.2 112-112 .1-25.6-8.6-49.2-23.2-68.1zm-194.6 91.5c-65.6 0-120.5-29.2-120.5-65 0-16 9-30.6 29.5-30.6 31.2 0 34.1 44.9 88.1 44.9 25.7 0 42.3-11.4 42.3-26.3 0-18.7-16-21.6-42-28-62.5-15.4-117.8-22-117.8-87.2 0-59.2 58.6-81.1 109.1-81.1 55.1 0 110.8 21.9 110.8 55.4 0 16.9-11.4 31.8-30.3 31.8-28.3 0-29.2-33.5-75-33.5-25.7 0-42 7-42 22.5 0 19.8 20.8 21.8 69.1 33 41.4 9.3 90.7 26.8 90.7 77.6 0 59.1-57.1 86.5-112 86.5z"]
  104291. };
  104292. var faJoget = {
  104293. prefix: 'fab',
  104294. iconName: 'joget',
  104295. icon: [496, 512, [], "f3b7", "M378.1 45C337.6 19.9 292.6 8 248.2 8 165 8 83.8 49.9 36.9 125.9c-71.9 116.6-35.6 269.3 81 341.2s269.3 35.6 341.2-80.9c71.9-116.6 35.6-269.4-81-341.2zm51.8 323.2c-40.4 65.5-110.4 101.5-182 101.5-6.8 0-13.6-.4-20.4-1-9-13.6-19.9-33.3-23.7-42.4-5.7-13.7-27.2-45.6 31.2-67.1 51.7-19.1 176.7-16.5 208.8-17.6-4 9-8.6 17.9-13.9 26.6zm-200.8-86.3c-55.5-1.4-81.7-20.8-58.5-48.2s51.1-40.7 68.9-51.2c17.9-10.5 27.3-33.7-23.6-29.7C87.3 161.5 48.6 252.1 37.6 293c-8.8-49.7-.1-102.7 28.5-149.1C128 43.4 259.6 12.2 360.1 74.1c74.8 46.1 111.2 130.9 99.3 212.7-24.9-.5-179.3-3.6-230.3-4.9zm183.8-54.8c-22.7-6-57 11.3-86.7 27.2-29.7 15.8-31.1 8.2-31.1 8.2s40.2-28.1 50.7-34.5 31.9-14 13.4-24.6c-3.2-1.8-6.7-2.7-10.4-2.7-17.8 0-41.5 18.7-67.5 35.6-31.5 20.5-65.3 31.3-65.3 31.3l169.5-1.6 46.5-23.4s3.6-9.5-19.1-15.5z"]
  104296. };
  104297. var faFedora = {
  104298. prefix: 'fab',
  104299. iconName: 'fedora',
  104300. icon: [448, 512, [], "f798", "M.0413 255.8C.1219 132.2 100.3 32 224 32C347.7 32 448 132.3 448 256C448 379.7 347.8 479.9 224.1 480H50.93C22.84 480 .0832 457.3 .0416 429.2H0V255.8H.0413zM342.6 192.7C342.6 153 307 124.2 269.4 124.2C234.5 124.2 203.6 150.5 199.3 184.1C199.1 187.9 198.9 189.1 198.9 192.6C198.8 213.7 198.9 235.4 198.1 257C199 283.1 199.1 309.1 198.1 333.6C198.1 360.7 178.7 379.1 153.4 379.1C128.1 379.1 107.6 358.9 107.6 333.6C108.1 305.9 130.2 288.3 156.1 287.5H156.3L182.6 287.3V250L156.3 250.2C109.2 249.8 71.72 286.7 70.36 333.6C70.36 379.2 107.9 416.5 153.4 416.5C196.4 416.5 232.1 382.9 236 340.9L236.2 287.4L268.8 287.1C294.1 287.3 293.8 249.3 268.6 249.8L236.2 250.1C236.2 243.7 236.3 237.3 236.3 230.9C236.4 218.2 236.4 205.5 236.2 192.7C236.3 176.2 252 161.5 269.4 161.5C286.9 161.5 305.3 170.2 305.3 192.7C305.3 195.9 305.2 197.8 305 199C303.1 209.5 310.2 219.4 320.7 220.9C331.3 222.4 340.9 214.8 341.9 204.3C342.5 200.1 342.6 196.4 342.6 192.7H342.6z"]
  104301. };
  104302. var faStripeS = {
  104303. prefix: 'fab',
  104304. iconName: 'stripe-s',
  104305. icon: [384, 512, [], "f42a", "M155.3 154.6c0-22.3 18.6-30.9 48.4-30.9 43.4 0 98.5 13.3 141.9 36.7V26.1C298.3 7.2 251.1 0 203.8 0 88.1 0 11 60.4 11 161.4c0 157.9 216.8 132.3 216.8 200.4 0 26.4-22.9 34.9-54.7 34.9-47.2 0-108.2-19.5-156.1-45.5v128.5a396.09 396.09 0 0 0 156 32.4c118.6 0 200.3-51 200.3-153.6 0-170.2-218-139.7-218-203.9z"]
  104306. };
  104307. var faMeta = {
  104308. prefix: 'fab',
  104309. iconName: 'meta',
  104310. icon: [640, 512, [], "e49b", "M640 317.9C640 409.2 600.6 466.4 529.7 466.4C467.1 466.4 433.9 431.8 372.8 329.8L341.4 277.2C333.1 264.7 326.9 253 320.2 242.2C300.1 276 273.1 325.2 273.1 325.2C206.1 441.8 168.5 466.4 116.2 466.4C43.42 466.4 0 409.1 0 320.5C0 177.5 79.78 42.4 183.9 42.4C234.1 42.4 277.7 67.08 328.7 131.9C365.8 81.8 406.8 42.4 459.3 42.4C558.4 42.4 640 168.1 640 317.9H640zM287.4 192.2C244.5 130.1 216.5 111.7 183 111.7C121.1 111.7 69.22 217.8 69.22 321.7C69.22 370.2 87.7 397.4 118.8 397.4C149 397.4 167.8 378.4 222 293.6C222 293.6 246.7 254.5 287.4 192.2V192.2zM531.2 397.4C563.4 397.4 578.1 369.9 578.1 322.5C578.1 198.3 523.8 97.08 454.9 97.08C421.7 97.08 393.8 123 360 175.1C369.4 188.9 379.1 204.1 389.3 220.5L426.8 282.9C485.5 377 500.3 397.4 531.2 397.4L531.2 397.4z"]
  104311. };
  104312. var faLaravel = {
  104313. prefix: 'fab',
  104314. iconName: 'laravel',
  104315. icon: [512, 512, [], "f3bd", "M504.4,115.83a5.72,5.72,0,0,0-.28-.68,8.52,8.52,0,0,0-.53-1.25,6,6,0,0,0-.54-.71,9.36,9.36,0,0,0-.72-.94c-.23-.22-.52-.4-.77-.6a8.84,8.84,0,0,0-.9-.68L404.4,55.55a8,8,0,0,0-8,0L300.12,111h0a8.07,8.07,0,0,0-.88.69,7.68,7.68,0,0,0-.78.6,8.23,8.23,0,0,0-.72.93c-.17.24-.39.45-.54.71a9.7,9.7,0,0,0-.52,1.25c-.08.23-.21.44-.28.68a8.08,8.08,0,0,0-.28,2.08V223.18l-80.22,46.19V63.44a7.8,7.8,0,0,0-.28-2.09c-.06-.24-.2-.45-.28-.68a8.35,8.35,0,0,0-.52-1.24c-.14-.26-.37-.47-.54-.72a9.36,9.36,0,0,0-.72-.94,9.46,9.46,0,0,0-.78-.6,9.8,9.8,0,0,0-.88-.68h0L115.61,1.07a8,8,0,0,0-8,0L11.34,56.49h0a6.52,6.52,0,0,0-.88.69,7.81,7.81,0,0,0-.79.6,8.15,8.15,0,0,0-.71.93c-.18.25-.4.46-.55.72a7.88,7.88,0,0,0-.51,1.24,6.46,6.46,0,0,0-.29.67,8.18,8.18,0,0,0-.28,2.1v329.7a8,8,0,0,0,4,6.95l192.5,110.84a8.83,8.83,0,0,0,1.33.54c.21.08.41.2.63.26a7.92,7.92,0,0,0,4.1,0c.2-.05.37-.16.55-.22a8.6,8.6,0,0,0,1.4-.58L404.4,400.09a8,8,0,0,0,4-6.95V287.88l92.24-53.11a8,8,0,0,0,4-7V117.92A8.63,8.63,0,0,0,504.4,115.83ZM111.6,17.28h0l80.19,46.15-80.2,46.18L31.41,63.44Zm88.25,60V278.6l-46.53,26.79-33.69,19.4V123.5l46.53-26.79Zm0,412.78L23.37,388.5V77.32L57.06,96.7l46.52,26.8V338.68a6.94,6.94,0,0,0,.12.9,8,8,0,0,0,.16,1.18h0a5.92,5.92,0,0,0,.38.9,6.38,6.38,0,0,0,.42,1v0a8.54,8.54,0,0,0,.6.78,7.62,7.62,0,0,0,.66.84l0,0c.23.22.52.38.77.58a8.93,8.93,0,0,0,.86.66l0,0,0,0,92.19,52.18Zm8-106.17-80.06-45.32,84.09-48.41,92.26-53.11,80.13,46.13-58.8,33.56Zm184.52,4.57L215.88,490.11V397.8L346.6,323.2l45.77-26.15Zm0-119.13L358.68,250l-46.53-26.79V131.79l33.69,19.4L392.37,178Zm8-105.28-80.2-46.17,80.2-46.16,80.18,46.15Zm8,105.28V178L455,151.19l33.68-19.4v91.39h0Z"]
  104316. };
  104317. var faHotjar = {
  104318. prefix: 'fab',
  104319. iconName: 'hotjar',
  104320. icon: [448, 512, [], "f3b1", "M414.9 161.5C340.2 29 121.1 0 121.1 0S222.2 110.4 93 197.7C11.3 252.8-21 324.4 14 402.6c26.8 59.9 83.5 84.3 144.6 93.4-29.2-55.1-6.6-122.4-4.1-129.6 57.1 86.4 165 0 110.8-93.9 71 15.4 81.6 138.6 27.1 215.5 80.5-25.3 134.1-88.9 148.8-145.6 15.5-59.3 3.7-127.9-26.3-180.9z"]
  104321. };
  104322. var faBluetoothB = {
  104323. prefix: 'fab',
  104324. iconName: 'bluetooth-b',
  104325. icon: [320, 512, [], "f294", "M196.48 260.023l92.626-103.333L143.125 0v206.33l-86.111-86.111-31.406 31.405 108.061 108.399L25.608 368.422l31.406 31.405 86.111-86.111L145.84 512l148.552-148.644-97.912-103.333zm40.86-102.996l-49.977 49.978-.338-100.295 50.315 50.317zM187.363 313.04l49.977 49.978-50.315 50.316.338-100.294z"]
  104326. };
  104327. var faStickerMule = {
  104328. prefix: 'fab',
  104329. iconName: 'sticker-mule',
  104330. icon: [576, 512, [], "f3f7", "M561.7 199.6c-1.3.3.3 0 0 0zm-6.2-77.4c-7.7-22.3-5.1-7.2-13.4-36.9-1.6-6.5-3.6-14.5-6.2-20-4.4-8.7-4.6-7.5-4.6-9.5 0-5.3 30.7-45.3 19-46.9-5.7-.6-12.2 11.6-20.6 17-8.6 4.2-8 5-10.3 5-2.6 0-5.7-3-6.2-5-2-5.7 1.9-25.9-3.6-25.9-3.6 0-12.3 24.8-17 25.8-5.2 1.3-27.9-11.4-75.1 18-25.3 13.2-86.9 65.2-87 65.3-6.7 4.7-20 4.7-35.5 16-44.4 30.1-109.6 9.4-110.7 9-110.6-26.8-128-15.2-159 11.5-20.8 17.9-23.7 36.5-24.2 38.9-4.2 20.4 5.2 48.3 6.7 64.3 1.8 19.3-2.7 17.7 7.7 98.3.5 1 4.1 0 5.1 1.5 0 8.4-3.8 12.1-4.1 13-1.5 4.5-1.5 10.5 0 16 2.3 8.2 8.2 37.2 8.2 46.9 0 41.8.4 44 2.6 49.4 3.9 10 12.5 9.1 17 12 3.1 3.5-.5 8.5 1 12.5.5 2 3.6 4 6.2 5 9.2 3.6 27 .3 29.9-2.5 1.6-1.5.5-4.5 3.1-5 5.1 0 10.8-.5 14.4-2.5 5.1-2.5 4.1-6 1.5-10.5-.4-.8-7-13.3-9.8-16-2.1-2-5.1-3-7.2-4.5-5.8-4.9-10.3-19.4-10.3-19.5-4.6-19.4-10.3-46.3-4.1-66.8 4.6-17.2 39.5-87.7 39.6-87.8 4.1-6.5 17-11.5 27.3-7 6 1.9 19.3 22 65.4 30.9 47.9 8.7 97.4-2 112.2-2 2.8 2-1.9 13-.5 38.9 0 26.4-.4 13.7-4.1 29.9-2.2 9.7 3.4 23.2-1.5 46.9-1.4 9.8-9.9 32.7-8.2 43.4.5 1 1 2 1.5 3.5.5 4.5 1.5 8.5 4.6 10 7.3 3.6 12-3.5 9.8 11.5-.7 3.1-2.6 12 1.5 15 4.4 3.7 30.6 3.4 36.5.5 2.6-1.5 1.6-4.5 6.4-7.4 1.9-.9 11.3-.4 11.3-6.5.3-1.8-9.2-19.9-9.3-20-2.6-3.5-9.2-4.5-11.3-8-6.9-10.1-1.7-52.6.5-59.4 3-11 5.6-22.4 8.7-32.4 11-42.5 10.3-50.6 16.5-68.3.8-1.8 6.4-23.1 10.3-29.9 9.3-17 21.7-32.4 33.5-47.4 18-22.9 34-46.9 52-69.8 6.1-7 8.2-13.7 18-8 10.8 5.7 21.6 7 31.9 17 14.6 12.8 10.2 18.2 11.8 22.9 1.5 5 7.7 10.5 14.9 9.5 10.4-2 13-2.5 13.4-2.5 2.6-.5 5.7-5 7.2-8 3.1-5.5 7.2-9 7.2-16.5 0-7.7-.4-2.8-20.6-52.9z"]
  104331. };
  104332. var faCreativeCommonsZero = {
  104333. prefix: 'fab',
  104334. iconName: 'creative-commons-zero',
  104335. icon: [496, 512, [], "f4f3", "M247.6 8C389.4 8 496 118.1 496 256c0 147.1-118.5 248-248.4 248C113.6 504 0 394.5 0 256 0 123.1 104.7 8 247.6 8zm.8 44.7C130.2 52.7 44.7 150.6 44.7 256c0 109.8 91.2 202.8 203.7 202.8 103.2 0 202.8-81.1 202.8-202.8.1-113.8-90.2-203.3-202.8-203.3zm-.4 60.5c-81.9 0-102.5 77.3-102.5 142.8 0 65.5 20.6 142.8 102.5 142.8S350.5 321.5 350.5 256c0-65.5-20.6-142.8-102.5-142.8zm0 53.9c3.3 0 6.4.5 9.2 1.2 5.9 5.1 8.8 12.1 3.1 21.9l-54.5 100.2c-1.7-12.7-1.9-25.1-1.9-34.4 0-28.8 2-88.9 44.1-88.9zm40.8 46.2c2.9 15.4 3.3 31.4 3.3 42.7 0 28.9-2 88.9-44.1 88.9-13.5 0-32.6-7.7-20.1-26.4l60.9-105.2z"]
  104336. };
  104337. var faHips = {
  104338. prefix: 'fab',
  104339. iconName: 'hips',
  104340. icon: [640, 512, [], "f452", "M251.6 157.6c0-1.9-.9-2.8-2.8-2.8h-40.9c-1.6 0-2.7 1.4-2.7 2.8v201.8c0 1.4 1.1 2.8 2.7 2.8h40.9c1.9 0 2.8-.9 2.8-2.8zM156.5 168c-16.1-11.8-36.3-17.9-60.3-18-18.1-.1-34.6 3.7-49.8 11.4V80.2c0-1.8-.9-2.7-2.8-2.7H2.7c-1.8 0-2.7.9-2.7 2.7v279.2c0 1.9.9 2.8 2.7 2.8h41c1.9 0 2.8-.9 2.8-2.8V223.3c0-.8-2.8-27 45.8-27 48.5 0 45.8 26.1 45.8 27v122.6c0 9 7.3 16.3 16.4 16.3h27.3c1.8 0 2.7-.9 2.7-2.8V223.3c0-23.4-9.3-41.8-28-55.3zm478.4 110.1c-6.8-15.7-18.4-27-34.9-34.1l-57.6-25.3c-8.6-3.6-9.2-11.2-2.6-16.1 7.4-5.5 44.3-13.9 84 6.8 1.7 1 4-.3 4-2.4v-44.7c0-1.3-.6-2.1-1.9-2.6-17.7-6.6-36.1-9.9-55.1-9.9-26.5 0-45.3 5.8-58.5 15.4-.5.4-28.4 20-22.7 53.7 3.4 19.6 15.8 34.2 37.2 43.6l53.6 23.5c11.6 5.1 15.2 13.3 12.2 21.2-3.7 9.1-13.2 13.6-36.5 13.6-24.3 0-44.7-8.9-58.4-19.1-2.1-1.4-4.4.2-4.4 2.3v34.4c0 10.4 4.9 17.3 14.6 20.7 15.6 5.5 31.6 8.2 48.2 8.2 12.7 0 25.8-1.2 36.3-4.3.7-.3 36-8.9 45.6-45.8 3.5-13.5 2.4-26.5-3.1-39.1zM376.2 149.8c-31.7 0-104.2 20.1-104.2 103.5v183.5c0 .8.6 2.7 2.7 2.7h40.9c1.9 0 2.8-.9 2.8-2.7V348c16.5 12.7 35.8 19.1 57.7 19.1 60.5 0 108.7-48.5 108.7-108.7.1-60.3-48.2-108.6-108.6-108.6zm0 170.9c-17.2 0-31.9-6.1-44-18.2-12.2-12.2-18.2-26.8-18.2-44 0-34.5 27.6-62.2 62.2-62.2 34.5 0 62.2 27.6 62.2 62.2.1 34.3-27.3 62.2-62.2 62.2zM228.3 72.5c-15.9 0-28.8 12.9-28.9 28.9 0 15.6 12.7 28.9 28.9 28.9s28.9-13.1 28.9-28.9c0-16.2-13-28.9-28.9-28.9z"]
  104341. };
  104342. var faBehance = {
  104343. prefix: 'fab',
  104344. iconName: 'behance',
  104345. icon: [576, 512, [], "f1b4", "M232 237.2c31.8-15.2 48.4-38.2 48.4-74 0-70.6-52.6-87.8-113.3-87.8H0v354.4h171.8c64.4 0 124.9-30.9 124.9-102.9 0-44.5-21.1-77.4-64.7-89.7zM77.9 135.9H151c28.1 0 53.4 7.9 53.4 40.5 0 30.1-19.7 42.2-47.5 42.2h-79v-82.7zm83.3 233.7H77.9V272h84.9c34.3 0 56 14.3 56 50.6 0 35.8-25.9 47-57.6 47zm358.5-240.7H376V94h143.7v34.9zM576 305.2c0-75.9-44.4-139.2-124.9-139.2-78.2 0-131.3 58.8-131.3 135.8 0 79.9 50.3 134.7 131.3 134.7 61.3 0 101-27.6 120.1-86.3H509c-6.7 21.9-34.3 33.5-55.7 33.5-41.3 0-63-24.2-63-65.3h185.1c.3-4.2.6-8.7.6-13.2zM390.4 274c2.3-33.7 24.7-54.8 58.5-54.8 35.4 0 53.2 20.8 56.2 54.8H390.4z"]
  104346. };
  104347. var faReddit = {
  104348. prefix: 'fab',
  104349. iconName: 'reddit',
  104350. icon: [512, 512, [], "f1a1", "M201.5 305.5c-13.8 0-24.9-11.1-24.9-24.6 0-13.8 11.1-24.9 24.9-24.9 13.6 0 24.6 11.1 24.6 24.9 0 13.6-11.1 24.6-24.6 24.6zM504 256c0 137-111 248-248 248S8 393 8 256 119 8 256 8s248 111 248 248zm-132.3-41.2c-9.4 0-17.7 3.9-23.8 10-22.4-15.5-52.6-25.5-86.1-26.6l17.4-78.3 55.4 12.5c0 13.6 11.1 24.6 24.6 24.6 13.8 0 24.9-11.3 24.9-24.9s-11.1-24.9-24.9-24.9c-9.7 0-18 5.8-22.1 13.8l-61.2-13.6c-3-.8-6.1 1.4-6.9 4.4l-19.1 86.4c-33.2 1.4-63.1 11.3-85.5 26.8-6.1-6.4-14.7-10.2-24.1-10.2-34.9 0-46.3 46.9-14.4 62.8-1.1 5-1.7 10.2-1.7 15.5 0 52.6 59.2 95.2 132 95.2 73.1 0 132.3-42.6 132.3-95.2 0-5.3-.6-10.8-1.9-15.8 31.3-16 19.8-62.5-14.9-62.5zM302.8 331c-18.2 18.2-76.1 17.9-93.6 0-2.2-2.2-6.1-2.2-8.3 0-2.5 2.5-2.5 6.4 0 8.6 22.8 22.8 87.3 22.8 110.2 0 2.5-2.2 2.5-6.1 0-8.6-2.2-2.2-6.1-2.2-8.3 0zm7.7-75c-13.6 0-24.6 11.1-24.6 24.9 0 13.6 11.1 24.6 24.6 24.6 13.8 0 24.9-11.1 24.9-24.6 0-13.8-11-24.9-24.9-24.9z"]
  104351. };
  104352. var faDiscord = {
  104353. prefix: 'fab',
  104354. iconName: 'discord',
  104355. icon: [640, 512, [], "f392", "M524.531,69.836a1.5,1.5,0,0,0-.764-.7A485.065,485.065,0,0,0,404.081,32.03a1.816,1.816,0,0,0-1.923.91,337.461,337.461,0,0,0-14.9,30.6,447.848,447.848,0,0,0-134.426,0,309.541,309.541,0,0,0-15.135-30.6,1.89,1.89,0,0,0-1.924-.91A483.689,483.689,0,0,0,116.085,69.137a1.712,1.712,0,0,0-.788.676C39.068,183.651,18.186,294.69,28.43,404.354a2.016,2.016,0,0,0,.765,1.375A487.666,487.666,0,0,0,176.02,479.918a1.9,1.9,0,0,0,2.063-.676A348.2,348.2,0,0,0,208.12,430.4a1.86,1.86,0,0,0-1.019-2.588,321.173,321.173,0,0,1-45.868-21.853,1.885,1.885,0,0,1-.185-3.126c3.082-2.309,6.166-4.711,9.109-7.137a1.819,1.819,0,0,1,1.9-.256c96.229,43.917,200.41,43.917,295.5,0a1.812,1.812,0,0,1,1.924.233c2.944,2.426,6.027,4.851,9.132,7.16a1.884,1.884,0,0,1-.162,3.126,301.407,301.407,0,0,1-45.89,21.83,1.875,1.875,0,0,0-1,2.611,391.055,391.055,0,0,0,30.014,48.815,1.864,1.864,0,0,0,2.063.7A486.048,486.048,0,0,0,610.7,405.729a1.882,1.882,0,0,0,.765-1.352C623.729,277.594,590.933,167.465,524.531,69.836ZM222.491,337.58c-28.972,0-52.844-26.587-52.844-59.239S193.056,219.1,222.491,219.1c29.665,0,53.306,26.82,52.843,59.239C275.334,310.993,251.924,337.58,222.491,337.58Zm195.38,0c-28.971,0-52.843-26.587-52.843-59.239S388.437,219.1,417.871,219.1c29.667,0,53.307,26.82,52.844,59.239C470.715,310.993,447.538,337.58,417.871,337.58Z"]
  104356. };
  104357. var faChrome = {
  104358. prefix: 'fab',
  104359. iconName: 'chrome',
  104360. icon: [512, 512, [], "f268", "M0 256C0 209.4 12.47 165.6 34.27 127.1L144.1 318.3C166 357.5 207.9 384 256 384C270.3 384 283.1 381.7 296.8 377.4L220.5 509.6C95.9 492.3 0 385.3 0 256zM365.1 321.6C377.4 302.4 384 279.1 384 256C384 217.8 367.2 183.5 340.7 160H493.4C505.4 189.6 512 222.1 512 256C512 397.4 397.4 511.1 256 512L365.1 321.6zM477.8 128H256C193.1 128 142.3 172.1 130.5 230.7L54.19 98.47C101 38.53 174 0 256 0C350.8 0 433.5 51.48 477.8 128V128zM168 256C168 207.4 207.4 168 256 168C304.6 168 344 207.4 344 256C344 304.6 304.6 344 256 344C207.4 344 168 304.6 168 256z"]
  104361. };
  104362. var faAppStoreIos = {
  104363. prefix: 'fab',
  104364. iconName: 'app-store-ios',
  104365. icon: [448, 512, [], "f370", "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-48zM127 384.5c-5.5 9.6-17.8 12.8-27.3 7.3-9.6-5.5-12.8-17.8-7.3-27.3l14.3-24.7c16.1-4.9 29.3-1.1 39.6 11.4L127 384.5zm138.9-53.9H84c-11 0-20-9-20-20s9-20 20-20h51l65.4-113.2-20.5-35.4c-5.5-9.6-2.2-21.8 7.3-27.3 9.6-5.5 21.8-2.2 27.3 7.3l8.9 15.4 8.9-15.4c5.5-9.6 17.8-12.8 27.3-7.3 9.6 5.5 12.8 17.8 7.3 27.3l-85.8 148.6h62.1c20.2 0 31.5 23.7 22.7 40zm98.1 0h-29l19.6 33.9c5.5 9.6 2.2 21.8-7.3 27.3-9.6 5.5-21.8 2.2-27.3-7.3-32.9-56.9-57.5-99.7-74-128.1-16.7-29-4.8-58 7.1-67.8 13.1 22.7 32.7 56.7 58.9 102h52c11 0 20 9 20 20 0 11.1-9 20-20 20z"]
  104366. };
  104367. var faCcDiscover = {
  104368. prefix: 'fab',
  104369. iconName: 'cc-discover',
  104370. icon: [576, 512, [], "f1f2", "M520.4 196.1c0-7.9-5.5-12.1-15.6-12.1h-4.9v24.9h4.7c10.3 0 15.8-4.4 15.8-12.8zM528 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-44.1 138.9c22.6 0 52.9-4.1 52.9 24.4 0 12.6-6.6 20.7-18.7 23.2l25.8 34.4h-19.6l-22.2-32.8h-2.2v32.8h-16zm-55.9.1h45.3v14H444v18.2h28.3V217H444v22.2h29.3V253H428zm-68.7 0l21.9 55.2 22.2-55.2h17.5l-35.5 84.2h-8.6l-35-84.2zm-55.9-3c24.7 0 44.6 20 44.6 44.6 0 24.7-20 44.6-44.6 44.6-24.7 0-44.6-20-44.6-44.6 0-24.7 20-44.6 44.6-44.6zm-49.3 6.1v19c-20.1-20.1-46.8-4.7-46.8 19 0 25 27.5 38.5 46.8 19.2v19c-29.7 14.3-63.3-5.7-63.3-38.2 0-31.2 33.1-53 63.3-38zm-97.2 66.3c11.4 0 22.4-15.3-3.3-24.4-15-5.5-20.2-11.4-20.2-22.7 0-23.2 30.6-31.4 49.7-14.3l-8.4 10.8c-10.4-11.6-24.9-6.2-24.9 2.5 0 4.4 2.7 6.9 12.3 10.3 18.2 6.6 23.6 12.5 23.6 25.6 0 29.5-38.8 37.4-56.6 11.3l10.3-9.9c3.7 7.1 9.9 10.8 17.5 10.8zM55.4 253H32v-82h23.4c26.1 0 44.1 17 44.1 41.1 0 18.5-13.2 40.9-44.1 40.9zm67.5 0h-16v-82h16zM544 433c0 8.2-6.8 15-15 15H128c189.6-35.6 382.7-139.2 416-160zM74.1 191.6c-5.2-4.9-11.6-6.6-21.9-6.6H48v54.2h4.2c10.3 0 17-2 21.9-6.4 5.7-5.2 8.9-12.8 8.9-20.7s-3.2-15.5-8.9-20.5z"]
  104371. };
  104372. var faWpbeginner = {
  104373. prefix: 'fab',
  104374. iconName: 'wpbeginner',
  104375. icon: [512, 512, [], "f297", "M462.799 322.374C519.01 386.682 466.961 480 370.944 480c-39.602 0-78.824-17.687-100.142-50.04-6.887.356-22.702.356-29.59 0C219.848 462.381 180.588 480 141.069 480c-95.49 0-148.348-92.996-91.855-157.626C-29.925 190.523 80.479 32 256.006 32c175.632 0 285.87 158.626 206.793 290.374zm-339.647-82.972h41.529v-58.075h-41.529v58.075zm217.18 86.072v-23.839c-60.506 20.915-132.355 9.198-187.589-33.971l.246 24.897c51.101 46.367 131.746 57.875 187.343 32.913zm-150.753-86.072h166.058v-58.075H189.579v58.075z"]
  104376. };
  104377. var faConfluence = {
  104378. prefix: 'fab',
  104379. iconName: 'confluence',
  104380. icon: [512, 512, [], "f78d", "M2.3 412.2c-4.5 7.6-2.1 17.5 5.5 22.2l105.9 65.2c7.7 4.7 17.7 2.4 22.4-5.3 0-.1.1-.2.1-.2 67.1-112.2 80.5-95.9 280.9-.7 8.1 3.9 17.8.4 21.7-7.7.1-.1.1-.3.2-.4l50.4-114.1c3.6-8.1-.1-17.6-8.1-21.3-22.2-10.4-66.2-31.2-105.9-50.3C127.5 179 44.6 345.3 2.3 412.2zm507.4-312.1c4.5-7.6 2.1-17.5-5.5-22.2L398.4 12.8c-7.5-5-17.6-3.1-22.6 4.4-.2.3-.4.6-.6 1-67.3 112.6-81.1 95.6-280.6.9-8.1-3.9-17.8-.4-21.7 7.7-.1.1-.1.3-.2.4L22.2 141.3c-3.6 8.1.1 17.6 8.1 21.3 22.2 10.4 66.3 31.2 106 50.4 248 120 330.8-45.4 373.4-112.9z"]
  104381. };
  104382. var faMdb = {
  104383. prefix: 'fab',
  104384. iconName: 'mdb',
  104385. icon: [576, 512, [], "f8ca", "M17.37 160.41L7 352h43.91l5.59-79.83L84.43 352h44.71l25.54-77.43 4.79 77.43H205l-12.79-191.59H146.7L106 277.74 63.67 160.41zm281 0h-47.9V352h47.9s95 .8 94.2-95.79c-.78-94.21-94.18-95.78-94.18-95.78zm-1.2 146.46V204.78s46 4.27 46.8 50.57-46.78 51.54-46.78 51.54zm238.29-74.24a56.16 56.16 0 0 0 8-38.31c-5.34-35.76-55.08-34.32-55.08-34.32h-51.9v191.58H482s87 4.79 87-63.85c0-43.14-33.52-55.08-33.52-55.08zm-51.9-31.94s13.57-1.59 16 9.59c1.43 6.66-4 12-4 12h-12v-21.57zm-.1 109.46l.1-24.92V267h.08s41.58-4.73 41.19 22.43c-.33 25.65-41.35 20.74-41.35 20.74z"]
  104386. };
  104387. var faDochub = {
  104388. prefix: 'fab',
  104389. iconName: 'dochub',
  104390. icon: [416, 512, [], "f394", "M397.9 160H256V19.6L397.9 160zM304 192v130c0 66.8-36.5 100.1-113.3 100.1H96V84.8h94.7c12 0 23.1.8 33.1 2.5v-84C212.9 1.1 201.4 0 189.2 0H0v512h189.2C329.7 512 400 447.4 400 318.1V192h-96z"]
  104391. };
  104392. var faAccessibleIcon = {
  104393. prefix: 'fab',
  104394. iconName: 'accessible-icon',
  104395. icon: [448, 512, [62107], "f368", "M423.9 255.8L411 413.1c-3.3 40.7-63.9 35.1-60.6-4.9l10-122.5-41.1 2.3c10.1 20.7 15.8 43.9 15.8 68.5 0 41.2-16.1 78.7-42.3 106.5l-39.3-39.3c57.9-63.7 13.1-167.2-74-167.2-25.9 0-49.5 9.9-67.2 26L73 243.2c22-20.7 50.1-35.1 81.4-40.2l75.3-85.7-42.6-24.8-51.6 46c-30 26.8-70.6-18.5-40.5-45.4l68-60.7c9.8-8.8 24.1-10.2 35.5-3.6 0 0 139.3 80.9 139.5 81.1 16.2 10.1 20.7 36 6.1 52.6L285.7 229l106.1-5.9c18.5-1.1 33.6 14.4 32.1 32.7zm-64.9-154c28.1 0 50.9-22.8 50.9-50.9C409.9 22.8 387.1 0 359 0c-28.1 0-50.9 22.8-50.9 50.9 0 28.1 22.8 50.9 50.9 50.9zM179.6 456.5c-80.6 0-127.4-90.6-82.7-156.1l-39.7-39.7C36.4 287 24 320.3 24 356.4c0 130.7 150.7 201.4 251.4 122.5l-39.7-39.7c-16 10.9-35.3 17.3-56.1 17.3z"]
  104396. };
  104397. var faEbay = {
  104398. prefix: 'fab',
  104399. iconName: 'ebay',
  104400. icon: [640, 512, [], "f4f4", "M606 189.5l-54.8 109.9-54.9-109.9h-37.5l10.9 20.6c-11.5-19-35.9-26-63.3-26-31.8 0-67.9 8.7-71.5 43.1h33.7c1.4-13.8 15.7-21.8 35-21.8 26 0 41 9.6 41 33v3.4c-12.7 0-28 .1-41.7.4-42.4.9-69.6 10-76.7 34.4 1-5.2 1.5-10.6 1.5-16.2 0-52.1-39.7-76.2-75.4-76.2-21.3 0-43 5.5-58.7 24.2v-80.6h-32.1v169.5c0 10.3-.6 22.9-1.1 33.1h31.5c.7-6.3 1.1-12.9 1.1-19.5 13.6 16.6 35.4 24.9 58.7 24.9 36.9 0 64.9-21.9 73.3-54.2-.5 2.8-.7 5.8-.7 9 0 24.1 21.1 45 60.6 45 26.6 0 45.8-5.7 61.9-25.5 0 6.6.3 13.3 1.1 20.2h29.8c-.7-8.2-1-17.5-1-26.8v-65.6c0-9.3-1.7-17.2-4.8-23.8l61.5 116.1-28.5 54.1h35.9L640 189.5zM243.7 313.8c-29.6 0-50.2-21.5-50.2-53.8 0-32.4 20.6-53.8 50.2-53.8 29.8 0 50.2 21.4 50.2 53.8 0 32.3-20.4 53.8-50.2 53.8zm200.9-47.3c0 30-17.9 48.4-51.6 48.4-25.1 0-35-13.4-35-25.8 0-19.1 18.1-24.4 47.2-25.3 13.1-.5 27.6-.6 39.4-.6zm-411.9 1.6h128.8v-8.5c0-51.7-33.1-75.4-78.4-75.4-56.8 0-83 30.8-83 77.6 0 42.5 25.3 74 82.5 74 31.4 0 68-11.7 74.4-46.1h-33.1c-12 35.8-87.7 36.7-91.2-21.6zm95-21.4H33.3c6.9-56.6 92.1-54.7 94.4 0z"]
  104401. };
  104402. var faAmazon = {
  104403. prefix: 'fab',
  104404. iconName: 'amazon',
  104405. icon: [448, 512, [], "f270", "M257.2 162.7c-48.7 1.8-169.5 15.5-169.5 117.5 0 109.5 138.3 114 183.5 43.2 6.5 10.2 35.4 37.5 45.3 46.8l56.8-56S341 288.9 341 261.4V114.3C341 89 316.5 32 228.7 32 140.7 32 94 87 94 136.3l73.5 6.8c16.3-49.5 54.2-49.5 54.2-49.5 40.7-.1 35.5 29.8 35.5 69.1zm0 86.8c0 80-84.2 68-84.2 17.2 0-47.2 50.5-56.7 84.2-57.8v40.6zm136 163.5c-7.7 10-70 67-174.5 67S34.2 408.5 9.7 379c-6.8-7.7 1-11.3 5.5-8.3C88.5 415.2 203 488.5 387.7 401c7.5-3.7 13.3 2 5.5 12zm39.8 2.2c-6.5 15.8-16 26.8-21.2 31-5.5 4.5-9.5 2.7-6.5-3.8s19.3-46.5 12.7-55c-6.5-8.3-37-4.3-48-3.2-10.8 1-13 2-14-.3-2.3-5.7 21.7-15.5 37.5-17.5 15.7-1.8 41-.8 46 5.7 3.7 5.1 0 27.1-6.5 43.1z"]
  104406. };
  104407. var faUnsplash = {
  104408. prefix: 'fab',
  104409. iconName: 'unsplash',
  104410. icon: [448, 512, [], "e07c", "M448,230.17V480H0V230.17H141.13V355.09H306.87V230.17ZM306.87,32H141.13V156.91H306.87Z"]
  104411. };
  104412. var faYarn = {
  104413. prefix: 'fab',
  104414. iconName: 'yarn',
  104415. icon: [496, 512, [], "f7e3", "M393.9 345.2c-39 9.3-48.4 32.1-104 47.4 0 0-2.7 4-10.4 5.8-13.4 3.3-63.9 6-68.5 6.1-12.4.1-19.9-3.2-22-8.2-6.4-15.3 9.2-22 9.2-22-8.1-5-9-9.9-9.8-8.1-2.4 5.8-3.6 20.1-10.1 26.5-8.8 8.9-25.5 5.9-35.3.8-10.8-5.7.8-19.2.8-19.2s-5.8 3.4-10.5-3.6c-6-9.3-17.1-37.3 11.5-62-1.3-10.1-4.6-53.7 40.6-85.6 0 0-20.6-22.8-12.9-43.3 5-13.4 7-13.3 8.6-13.9 5.7-2.2 11.3-4.6 15.4-9.1 20.6-22.2 46.8-18 46.8-18s12.4-37.8 23.9-30.4c3.5 2.3 16.3 30.6 16.3 30.6s13.6-7.9 15.1-5c8.2 16 9.2 46.5 5.6 65.1-6.1 30.6-21.4 47.1-27.6 57.5-1.4 2.4 16.5 10 27.8 41.3 10.4 28.6 1.1 52.7 2.8 55.3.8 1.4 13.7.8 36.4-13.2 12.8-7.9 28.1-16.9 45.4-17 16.7-.5 17.6 19.2 4.9 22.2zM496 256c0 136.9-111.1 248-248 248S0 392.9 0 256 111.1 8 248 8s248 111.1 248 248zm-79.3 75.2c-1.7-13.6-13.2-23-28-22.8-22 .3-40.5 11.7-52.8 19.2-4.8 3-8.9 5.2-12.4 6.8 3.1-44.5-22.5-73.1-28.7-79.4 7.8-11.3 18.4-27.8 23.4-53.2 4.3-21.7 3-55.5-6.9-74.5-1.6-3.1-7.4-11.2-21-7.4-9.7-20-13-22.1-15.6-23.8-1.1-.7-23.6-16.4-41.4 28-12.2.9-31.3 5.3-47.5 22.8-2 2.2-5.9 3.8-10.1 5.4h.1c-8.4 3-12.3 9.9-16.9 22.3-6.5 17.4.2 34.6 6.8 45.7-17.8 15.9-37 39.8-35.7 82.5-34 36-11.8 73-5.6 79.6-1.6 11.1 3.7 19.4 12 23.8 12.6 6.7 30.3 9.6 43.9 2.8 4.9 5.2 13.8 10.1 30 10.1 6.8 0 58-2.9 72.6-6.5 6.8-1.6 11.5-4.5 14.6-7.1 9.8-3.1 36.8-12.3 62.2-28.7 18-11.7 24.2-14.2 37.6-17.4 12.9-3.2 21-15.1 19.4-28.2z"]
  104416. };
  104417. var faSquareSteam = {
  104418. prefix: 'fab',
  104419. iconName: 'square-steam',
  104420. icon: [448, 512, ["steam-square"], "f1b7", "M185.2 356.5c7.7-18.5-1-39.7-19.6-47.4l-29.5-12.2c11.4-4.3 24.3-4.5 36.4.5 12.2 5.1 21.6 14.6 26.7 26.7 5 12.2 5 25.6-.1 37.7-10.5 25.1-39.4 37-64.6 26.5-11.6-4.8-20.4-13.6-25.4-24.2l28.5 11.8c18.6 7.8 39.9-.9 47.6-19.4zM400 32H48C21.5 32 0 53.5 0 80v160.7l116.6 48.1c12-8.2 26.2-12.1 40.7-11.3l55.4-80.2v-1.1c0-48.2 39.3-87.5 87.6-87.5s87.6 39.3 87.6 87.5c0 49.2-40.9 88.7-89.6 87.5l-79 56.3c1.6 38.5-29.1 68.8-65.7 68.8-31.8 0-58.5-22.7-64.5-52.7L0 319.2V432c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-99.7 222.5c-32.2 0-58.4-26.1-58.4-58.3s26.2-58.3 58.4-58.3 58.4 26.2 58.4 58.3-26.2 58.3-58.4 58.3zm.1-14.6c24.2 0 43.9-19.6 43.9-43.8 0-24.2-19.6-43.8-43.9-43.8-24.2 0-43.9 19.6-43.9 43.8 0 24.2 19.7 43.8 43.9 43.8z"]
  104421. };
  104422. var faSteamSquare = faSquareSteam;
  104423. var fa500px = {
  104424. prefix: 'fab',
  104425. iconName: '500px',
  104426. icon: [448, 512, [], "f26e", "M103.3 344.3c-6.5-14.2-6.9-18.3 7.4-23.1 25.6-8 8 9.2 43.2 49.2h.3v-93.9c1.2-50.2 44-92.2 97.7-92.2 53.9 0 97.7 43.5 97.7 96.8 0 63.4-60.8 113.2-128.5 93.3-10.5-4.2-2.1-31.7 8.5-28.6 53 0 89.4-10.1 89.4-64.4 0-61-77.1-89.6-116.9-44.6-23.5 26.4-17.6 42.1-17.6 157.6 50.7 31 118.3 22 160.4-20.1 24.8-24.8 38.5-58 38.5-93 0-35.2-13.8-68.2-38.8-93.3-24.8-24.8-57.8-38.5-93.3-38.5s-68.8 13.8-93.5 38.5c-.3.3-16 16.5-21.2 23.9l-.5.6c-3.3 4.7-6.3 9.1-20.1 6.1-6.9-1.7-14.3-5.8-14.3-11.8V20c0-5 3.9-10.5 10.5-10.5h241.3c8.3 0 8.3 11.6 8.3 15.1 0 3.9 0 15.1-8.3 15.1H130.3v132.9h.3c104.2-109.8 282.8-36 282.8 108.9 0 178.1-244.8 220.3-310.1 62.8zm63.3-260.8c-.5 4.2 4.6 24.5 14.6 20.6C306 56.6 384 144.5 390.6 144.5c4.8 0 22.8-15.3 14.3-22.8-93.2-89-234.5-57-238.3-38.2zM393 414.7C283 524.6 94 475.5 61 310.5c0-12.2-30.4-7.4-28.9 3.3 24 173.4 246 256.9 381.6 121.3 6.9-7.8-12.6-28.4-20.7-20.4zM213.6 306.6c0 4 4.3 7.3 5.5 8.5 3 3 6.1 4.4 8.5 4.4 3.8 0 2.6.2 22.3-19.5 19.6 19.3 19.1 19.5 22.3 19.5 5.4 0 18.5-10.4 10.7-18.2L265.6 284l18.2-18.2c6.3-6.8-10.1-21.8-16.2-15.7L249.7 268c-18.6-18.8-18.4-19.5-21.5-19.5-5 0-18 11.7-12.4 17.3L234 284c-18.1 17.9-20.4 19.2-20.4 22.6z"]
  104427. };
  104428. var faSquareVimeo = {
  104429. prefix: 'fab',
  104430. iconName: 'square-vimeo',
  104431. icon: [448, 512, ["vimeo-square"], "f194", "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-16.2 149.6c-1.4 31.1-23.2 73.8-65.3 127.9-43.5 56.5-80.3 84.8-110.4 84.8-18.7 0-34.4-17.2-47.3-51.6-25.2-92.3-35.9-146.4-56.7-146.4-2.4 0-10.8 5-25.1 15.1L64 192c36.9-32.4 72.1-68.4 94.1-70.4 24.9-2.4 40.2 14.6 46 51.1 20.5 129.6 29.6 149.2 66.8 90.5 13.4-21.2 20.6-37.2 21.5-48.3 3.4-32.8-25.6-30.6-45.2-22.2 15.7-51.5 45.8-76.5 90.1-75.1 32.9 1 48.4 22.4 46.5 64z"]
  104432. };
  104433. var faVimeoSquare = faSquareVimeo;
  104434. var faAsymmetrik = {
  104435. prefix: 'fab',
  104436. iconName: 'asymmetrik',
  104437. icon: [576, 512, [], "f372", "M517.5 309.2c38.8-40 58.1-80 58.5-116.1.8-65.5-59.4-118.2-169.4-135C277.9 38.4 118.1 73.6 0 140.5 52 114 110.6 92.3 170.7 82.3c74.5-20.5 153-25.4 221.3-14.8C544.5 91.3 588.8 195 490.8 299.2c-10.2 10.8-22 21.1-35 30.6L304.9 103.4 114.7 388.9c-65.6-29.4-76.5-90.2-19.1-151.2 20.8-22.2 48.3-41.9 79.5-58.1 20-12.2 39.7-22.6 62-30.7-65.1 20.3-122.7 52.9-161.6 92.9-27.7 28.6-41.4 57.1-41.7 82.9-.5 35.1 23.4 65.1 68.4 83l-34.5 51.7h101.6l22-34.4c22.2 1 45.3 0 68.6-2.7l-22.8 37.1h135.5L340 406.3c18.6-5.3 36.9-11.5 54.5-18.7l45.9 71.8H542L468.6 349c18.5-12.1 35-25.5 48.9-39.8zm-187.6 80.5l-25-40.6-32.7 53.3c-23.4 3.5-46.7 5.1-69.2 4.4l101.9-159.3 78.7 123c-17.2 7.4-35.3 13.9-53.7 19.2z"]
  104438. };
  104439. var faFontAwesome = {
  104440. prefix: 'fab',
  104441. iconName: 'font-awesome',
  104442. icon: [448, 512, [62501, 62694, "font-awesome-flag", "font-awesome-logo-full"], "f2b4", "M448 48V384C385 407 366 416 329 416C266 416 242 384 179 384C159 384 143 388 128 392V328C143 324 159 320 179 320C242 320 266 352 329 352C349 352 364 349 384 343V135C364 141 349 144 329 144C266 144 242 112 179 112C128 112 104 133 64 141V448C64 466 50 480 32 480S0 466 0 448V64C0 46 14 32 32 32S64 46 64 64V77C104 69 128 48 179 48C242 48 266 80 329 80C366 80 385 71 448 48Z"]
  104443. };
  104444. var faFontAwesomeFlag = faFontAwesome;
  104445. var faFontAwesomeLogoFull = faFontAwesome;
  104446. var faGratipay = {
  104447. prefix: 'fab',
  104448. iconName: 'gratipay',
  104449. icon: [496, 512, [], "f184", "M248 8C111.1 8 0 119.1 0 256s111.1 248 248 248 248-111.1 248-248S384.9 8 248 8zm114.6 226.4l-113 152.7-112.7-152.7c-8.7-11.9-19.1-50.4 13.6-72 28.1-18.1 54.6-4.2 68.5 11.9 15.9 17.9 46.6 16.9 61.7 0 13.9-16.1 40.4-30 68.1-11.9 32.9 21.6 22.6 60 13.8 72z"]
  104450. };
  104451. var faApple = {
  104452. prefix: 'fab',
  104453. iconName: 'apple',
  104454. icon: [384, 512, [], "f179", "M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z"]
  104455. };
  104456. var faHive = {
  104457. prefix: 'fab',
  104458. iconName: 'hive',
  104459. icon: [512, 512, [], "e07f", "M260.353,254.878,131.538,33.1a2.208,2.208,0,0,0-3.829.009L.3,254.887A2.234,2.234,0,0,0,.3,257.122L129.116,478.9a2.208,2.208,0,0,0,3.83-.009L260.358,257.113A2.239,2.239,0,0,0,260.353,254.878Zm39.078-25.713a2.19,2.19,0,0,0,1.9,1.111h66.509a2.226,2.226,0,0,0,1.9-3.341L259.115,33.111a2.187,2.187,0,0,0-1.9-1.111H190.707a2.226,2.226,0,0,0-1.9,3.341ZM511.7,254.886,384.9,33.112A2.2,2.2,0,0,0,382.99,32h-66.6a2.226,2.226,0,0,0-1.906,3.34L440.652,256,314.481,476.66a2.226,2.226,0,0,0,1.906,3.34h66.6a2.2,2.2,0,0,0,1.906-1.112L511.7,257.114A2.243,2.243,0,0,0,511.7,254.886ZM366.016,284.917H299.508a2.187,2.187,0,0,0-1.9,1.111l-108.8,190.631a2.226,2.226,0,0,0,1.9,3.341h66.509a2.187,2.187,0,0,0,1.9-1.111l108.8-190.631A2.226,2.226,0,0,0,366.016,284.917Z"]
  104460. };
  104461. var faGitkraken = {
  104462. prefix: 'fab',
  104463. iconName: 'gitkraken',
  104464. icon: [592, 512, [], "f3a6", "M565.7 118.1c-2.3-6.1-9.3-9.2-15.3-6.6-5.7 2.4-8.5 8.9-6.3 14.6 10.9 29 16.9 60.5 16.9 93.3 0 134.6-100.3 245.7-230.2 262.7V358.4c7.9-1.5 15.5-3.6 23-6.2v104c106.7-25.9 185.9-122.1 185.9-236.8 0-91.8-50.8-171.8-125.8-213.3-5.7-3.2-13-.9-15.9 5-2.7 5.5-.6 12.2 4.7 15.1 67.9 37.6 113.9 110 113.9 193.2 0 93.3-57.9 173.1-139.8 205.4v-92.2c14.2-4.5 24.9-17.7 24.9-33.5 0-13.1-6.8-24.4-17.3-30.5 8.3-79.5 44.5-58.6 44.5-83.9V170c0-38-87.9-161.8-129-164.7-2.5-.2-5-.2-7.6 0C251.1 8.3 163.2 132 163.2 170v14.8c0 25.3 36.3 4.3 44.5 83.9-10.6 6.1-17.3 17.4-17.3 30.5 0 15.8 10.6 29 24.8 33.5v92.2c-81.9-32.2-139.8-112-139.8-205.4 0-83.1 46-155.5 113.9-193.2 5.4-3 7.4-9.6 4.7-15.1-2.9-5.9-10.1-8.2-15.9-5-75 41.5-125.8 121.5-125.8 213.3 0 114.7 79.2 210.8 185.9 236.8v-104c7.6 2.5 15.1 4.6 23 6.2v123.7C131.4 465.2 31 354.1 31 219.5c0-32.8 6-64.3 16.9-93.3 2.2-5.8-.6-12.2-6.3-14.6-6-2.6-13 .4-15.3 6.6C14.5 149.7 8 183.8 8 219.5c0 155.1 122.6 281.6 276.3 287.8V361.4c6.8.4 15 .5 23.4 0v145.8C461.4 501.1 584 374.6 584 219.5c0-35.7-6.5-69.8-18.3-101.4zM365.9 275.5c13 0 23.7 10.5 23.7 23.7 0 13.1-10.6 23.7-23.7 23.7-13 0-23.7-10.5-23.7-23.7 0-13.1 10.6-23.7 23.7-23.7zm-139.8 47.3c-13.2 0-23.7-10.7-23.7-23.7s10.5-23.7 23.7-23.7c13.1 0 23.7 10.6 23.7 23.7 0 13-10.5 23.7-23.7 23.7z"]
  104465. };
  104466. var faKeybase = {
  104467. prefix: 'fab',
  104468. iconName: 'keybase',
  104469. icon: [448, 512, [], "f4f5", "M286.17 419a18 18 0 1 0 18 18 18 18 0 0 0-18-18zm111.92-147.6c-9.5-14.62-39.37-52.45-87.26-73.71q-9.1-4.06-18.38-7.27a78.43 78.43 0 0 0-47.88-104.13c-12.41-4.1-23.33-6-32.41-5.77-.6-2-1.89-11 9.4-35L198.66 32l-5.48 7.56c-8.69 12.06-16.92 23.55-24.34 34.89a51 51 0 0 0-8.29-1.25c-41.53-2.45-39-2.33-41.06-2.33-50.61 0-50.75 52.12-50.75 45.88l-2.36 36.68c-1.61 27 19.75 50.21 47.63 51.85l8.93.54a214 214 0 0 0-46.29 35.54C14 304.66 14 374 14 429.77v33.64l23.32-29.8a148.6 148.6 0 0 0 14.56 37.56c5.78 10.13 14.87 9.45 19.64 7.33 4.21-1.87 10-6.92 3.75-20.11a178.29 178.29 0 0 1-15.76-53.13l46.82-59.83-24.66 74.11c58.23-42.4 157.38-61.76 236.25-38.59 34.2 10.05 67.45.69 84.74-23.84.72-1 1.2-2.16 1.85-3.22a156.09 156.09 0 0 1 2.8 28.43c0 23.3-3.69 52.93-14.88 81.64-2.52 6.46 1.76 14.5 8.6 15.74 7.42 1.57 15.33-3.1 18.37-11.15C429 443 434 414 434 382.32c0-38.58-13-77.46-35.91-110.92zM142.37 128.58l-15.7-.93-1.39 21.79 13.13.78a93 93 0 0 0 .32 19.57l-22.38-1.34a12.28 12.28 0 0 1-11.76-12.79L107 119c1-12.17 13.87-11.27 13.26-11.32l29.11 1.73a144.35 144.35 0 0 0-7 19.17zm148.42 172.18a10.51 10.51 0 0 1-14.35-1.39l-9.68-11.49-34.42 27a8.09 8.09 0 0 1-11.13-1.08l-15.78-18.64a7.38 7.38 0 0 1 1.34-10.34l34.57-27.18-14.14-16.74-17.09 13.45a7.75 7.75 0 0 1-10.59-1s-3.72-4.42-3.8-4.53a7.38 7.38 0 0 1 1.37-10.34L214 225.19s-18.51-22-18.6-22.14a9.56 9.56 0 0 1 1.74-13.42 10.38 10.38 0 0 1 14.3 1.37l81.09 96.32a9.58 9.58 0 0 1-1.74 13.44zM187.44 419a18 18 0 1 0 18 18 18 18 0 0 0-18-18z"]
  104470. };
  104471. var faApplePay = {
  104472. prefix: 'fab',
  104473. iconName: 'apple-pay',
  104474. icon: [640, 512, [], "f415", "M116.9 158.5c-7.5 8.9-19.5 15.9-31.5 14.9-1.5-12 4.4-24.8 11.3-32.6 7.5-9.1 20.6-15.6 31.3-16.1 1.2 12.4-3.7 24.7-11.1 33.8m10.9 17.2c-17.4-1-32.3 9.9-40.5 9.9-8.4 0-21-9.4-34.8-9.1-17.9.3-34.5 10.4-43.6 26.5-18.8 32.3-4.9 80 13.3 106.3 8.9 13 19.5 27.3 33.5 26.8 13.3-.5 18.5-8.6 34.5-8.6 16.1 0 20.8 8.6 34.8 8.4 14.5-.3 23.6-13 32.5-26 10.1-14.8 14.3-29.1 14.5-29.9-.3-.3-28-10.9-28.3-42.9-.3-26.8 21.9-39.5 22.9-40.3-12.5-18.6-32-20.6-38.8-21.1m100.4-36.2v194.9h30.3v-66.6h41.9c38.3 0 65.1-26.3 65.1-64.3s-26.4-64-64.1-64h-73.2zm30.3 25.5h34.9c26.3 0 41.3 14 41.3 38.6s-15 38.8-41.4 38.8h-34.8V165zm162.2 170.9c19 0 36.6-9.6 44.6-24.9h.6v23.4h28v-97c0-28.1-22.5-46.3-57.1-46.3-32.1 0-55.9 18.4-56.8 43.6h27.3c2.3-12 13.4-19.9 28.6-19.9 18.5 0 28.9 8.6 28.9 24.5v10.8l-37.8 2.3c-35.1 2.1-54.1 16.5-54.1 41.5.1 25.2 19.7 42 47.8 42zm8.2-23.1c-16.1 0-26.4-7.8-26.4-19.6 0-12.3 9.9-19.4 28.8-20.5l33.6-2.1v11c0 18.2-15.5 31.2-36 31.2zm102.5 74.6c29.5 0 43.4-11.3 55.5-45.4L640 193h-30.8l-35.6 115.1h-.6L537.4 193h-31.6L557 334.9l-2.8 8.6c-4.6 14.6-12.1 20.3-25.5 20.3-2.4 0-7-.3-8.9-.5v23.4c1.8.4 9.3.7 11.6.7z"]
  104475. };
  104476. var faPadlet = {
  104477. prefix: 'fab',
  104478. iconName: 'padlet',
  104479. icon: [640, 512, [], "e4a0", "M297.9 0L298 .001C305.6 .1078 312.4 4.72 315.5 11.78L447.5 320.3L447.8 320.2L448 320.6L445.2 330.6L402.3 488.6C398.6 504.8 382.6 514.9 366.5 511.2L298.1 495.6L229.6 511.2C213.5 514.9 197.5 504.8 193.8 488.6L150.9 330.6L148.2 320.6L148.3 320.2L280.4 11.78C283.4 4.797 290.3 .1837 297.9 .0006L297.9 0zM160.1 322.1L291.1 361.2L298 483.7L305.9 362.2L436.5 322.9L436.7 322.8L305.7 347.9L297.1 27.72L291.9 347.9L160.1 322.1zM426 222.6L520.4 181.6H594.2L437.2 429.2L468.8 320.2L426 222.6zM597.5 181.4L638.9 257.6C642.9 265.1 635 273.5 627.3 269.8L579.7 247.1L597.5 181.4zM127.3 318.5L158.7 430L1.61 154.5C-4.292 144.1 7.128 132.5 17.55 138.3L169.4 222.5L127.3 318.5z"]
  104480. };
  104481. var faAmazonPay = {
  104482. prefix: 'fab',
  104483. iconName: 'amazon-pay',
  104484. icon: [640, 512, [], "f42c", "M14 325.3c2.3-4.2 5.2-4.9 9.7-2.5 10.4 5.6 20.6 11.4 31.2 16.7a595.88 595.88 0 0 0 127.4 46.3 616.61 616.61 0 0 0 63.2 11.8 603.33 603.33 0 0 0 95 5.2c17.4-.4 34.8-1.8 52.1-3.8a603.66 603.66 0 0 0 163.3-42.8c2.9-1.2 5.9-2 9.1-1.2 6.7 1.8 9 9 4.1 13.9a70 70 0 0 1-9.6 7.4c-30.7 21.1-64.2 36.4-99.6 47.9a473.31 473.31 0 0 1-75.1 17.6 431 431 0 0 1-53.2 4.8 21.3 21.3 0 0 0-2.5.3H308a21.3 21.3 0 0 0-2.5-.3c-3.6-.2-7.2-.3-10.7-.4a426.3 426.3 0 0 1-50.4-5.3A448.4 448.4 0 0 1 164 420a443.33 443.33 0 0 1-145.6-87c-1.8-1.6-3-3.8-4.4-5.7zM172 65.1l-4.3.6a80.92 80.92 0 0 0-38 15.1c-2.4 1.7-4.6 3.5-7.1 5.4a4.29 4.29 0 0 1-.4-1.4c-.4-2.7-.8-5.5-1.3-8.2-.7-4.6-3-6.6-7.6-6.6h-11.5c-6.9 0-8.2 1.3-8.2 8.2v209.3c0 1 0 2 .1 3 .2 3 2 4.9 4.9 5 7 .1 14.1.1 21.1 0 2.9 0 4.7-2 5-5 .1-1 .1-2 .1-3v-72.4c1.1.9 1.7 1.4 2.2 1.9 17.9 14.9 38.5 19.8 61 15.4 20.4-4 34.6-16.5 43.8-34.9 7-13.9 9.9-28.7 10.3-44.1.5-17.1-1.2-33.9-8.1-49.8-8.5-19.6-22.6-32.5-43.9-36.9-3.2-.7-6.5-1-9.8-1.5-2.8-.1-5.5-.1-8.3-.1zM124.6 107a3.48 3.48 0 0 1 1.7-3.3c13.7-9.5 28.8-14.5 45.6-13.2 14.9 1.1 27.1 8.4 33.5 25.9 3.9 10.7 4.9 21.8 4.9 33 0 10.4-.8 20.6-4 30.6-6.8 21.3-22.4 29.4-42.6 28.5-14-.6-26.2-6-37.4-13.9a3.57 3.57 0 0 1-1.7-3.3c.1-14.1 0-28.1 0-42.2s.1-28 0-42.1zm205.7-41.9c-1 .1-2 .3-2.9.4a148 148 0 0 0-28.9 4.1c-6.1 1.6-12 3.8-17.9 5.8-3.6 1.2-5.4 3.8-5.3 7.7.1 3.3-.1 6.6 0 9.9.1 4.8 2.1 6.1 6.8 4.9 7.8-2 15.6-4.2 23.5-5.7 12.3-2.3 24.7-3.3 37.2-1.4 6.5 1 12.6 2.9 16.8 8.4 3.7 4.8 5.1 10.5 5.3 16.4.3 8.3.2 16.6.3 24.9a7.84 7.84 0 0 1-.2 1.4c-.5-.1-.9 0-1.3-.1a180.56 180.56 0 0 0-32-4.9c-11.3-.6-22.5.1-33.3 3.9-12.9 4.5-23.3 12.3-29.4 24.9-4.7 9.8-5.4 20.2-3.9 30.7 2 14 9 24.8 21.4 31.7 11.9 6.6 24.8 7.4 37.9 5.4 15.1-2.3 28.5-8.7 40.3-18.4a7.36 7.36 0 0 1 1.6-1.1c.6 3.8 1.1 7.4 1.8 11 .6 3.1 2.5 5.1 5.4 5.2 5.4.1 10.9.1 16.3 0a4.84 4.84 0 0 0 4.8-4.7 26.2 26.2 0 0 0 .1-2.8v-106a80 80 0 0 0-.9-12.9c-1.9-12.9-7.4-23.5-19-30.4-6.7-4-14.1-6-21.8-7.1-3.6-.5-7.2-.8-10.8-1.3-3.9.1-7.9.1-11.9.1zm35 127.7a3.33 3.33 0 0 1-1.5 3c-11.2 8.1-23.5 13.5-37.4 14.9-5.7.6-11.4.4-16.8-1.8a20.08 20.08 0 0 1-12.4-13.3 32.9 32.9 0 0 1-.1-19.4c2.5-8.3 8.4-13 16.4-15.6a61.33 61.33 0 0 1 24.8-2.2c8.4.7 16.6 2.3 25 3.4 1.6.2 2.1 1 2.1 2.6-.1 4.8 0 9.5 0 14.3s-.2 9.4-.1 14.1zm259.9 129.4c-1-5-4.8-6.9-9.1-8.3a88.42 88.42 0 0 0-21-3.9 147.32 147.32 0 0 0-39.2 1.9c-14.3 2.7-27.9 7.3-40 15.6a13.75 13.75 0 0 0-3.7 3.5 5.11 5.11 0 0 0-.5 4c.4 1.5 2.1 1.9 3.6 1.8a16.2 16.2 0 0 0 2.2-.1c7.8-.8 15.5-1.7 23.3-2.5 11.4-1.1 22.9-1.8 34.3-.9a71.64 71.64 0 0 1 14.4 2.7c5.1 1.4 7.4 5.2 7.6 10.4.4 8-1.4 15.7-3.5 23.3-4.1 15.4-10 30.3-15.8 45.1a17.6 17.6 0 0 0-1 3c-.5 2.9 1.2 4.8 4.1 4.1a10.56 10.56 0 0 0 4.8-2.5 145.91 145.91 0 0 0 12.7-13.4c12.8-16.4 20.3-35.3 24.7-55.6.8-3.6 1.4-7.3 2.1-10.9v-17.3zM493.1 199q-19.35-53.55-38.7-107.2c-2-5.7-4.2-11.3-6.3-16.9-1.1-2.9-3.2-4.8-6.4-4.8-7.6-.1-15.2-.2-22.9-.1-2.5 0-3.7 2-3.2 4.5a43.1 43.1 0 0 0 1.9 6.1q29.4 72.75 59.1 145.5c1.7 4.1 2.1 7.6.2 11.8-3.3 7.3-5.9 15-9.3 22.3-3 6.5-8 11.4-15.2 13.3a42.13 42.13 0 0 1-15.4 1.1c-2.5-.2-5-.8-7.5-1-3.4-.2-5.1 1.3-5.2 4.8q-.15 5 0 9.9c.1 5.5 2 8 7.4 8.9a108.18 108.18 0 0 0 16.9 2c17.1.4 30.7-6.5 39.5-21.4a131.63 131.63 0 0 0 9.2-18.4q35.55-89.7 70.6-179.6a26.62 26.62 0 0 0 1.6-5.5c.4-2.8-.9-4.4-3.7-4.4-6.6-.1-13.3 0-19.9 0a7.54 7.54 0 0 0-7.7 5.2c-.5 1.4-1.1 2.7-1.6 4.1l-34.8 100c-2.5 7.2-5.1 14.5-7.7 22.2-.4-1.1-.6-1.7-.9-2.4z"]
  104485. };
  104486. var faSquareGithub = {
  104487. prefix: 'fab',
  104488. iconName: 'square-github',
  104489. icon: [448, 512, ["github-square"], "f092", "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-48zM277.3 415.7c-8.4 1.5-11.5-3.7-11.5-8 0-5.4.2-33 .2-55.3 0-15.6-5.2-25.5-11.3-30.7 37-4.1 76-9.2 76-73.1 0-18.2-6.5-27.3-17.1-39 1.7-4.3 7.4-22-1.7-45-13.9-4.3-45.7 17.9-45.7 17.9-13.2-3.7-27.5-5.6-41.6-5.6-14.1 0-28.4 1.9-41.6 5.6 0 0-31.8-22.2-45.7-17.9-9.1 22.9-3.5 40.6-1.7 45-10.6 11.7-15.6 20.8-15.6 39 0 63.6 37.3 69 74.3 73.1-4.8 4.3-9.1 11.7-10.6 22.3-9.5 4.3-33.8 11.7-48.3-13.9-9.1-15.8-25.5-17.1-25.5-17.1-16.2-.2-1.1 10.2-1.1 10.2 10.8 5 18.4 24.2 18.4 24.2 9.7 29.7 56.1 19.7 56.1 19.7 0 13.9.2 36.5.2 40.6 0 4.3-3 9.5-11.5 8-66-22.1-112.2-84.9-112.2-158.3 0-91.8 70.2-161.5 162-161.5S388 165.6 388 257.4c.1 73.4-44.7 136.3-110.7 158.3zm-98.1-61.1c-1.9.4-3.7-.4-3.9-1.7-.2-1.5 1.1-2.8 3-3.2 1.9-.2 3.7.6 3.9 1.9.3 1.3-1 2.6-3 3zm-9.5-.9c0 1.3-1.5 2.4-3.5 2.4-2.2.2-3.7-.9-3.7-2.4 0-1.3 1.5-2.4 3.5-2.4 1.9-.2 3.7.9 3.7 2.4zm-13.7-1.1c-.4 1.3-2.4 1.9-4.1 1.3-1.9-.4-3.2-1.9-2.8-3.2.4-1.3 2.4-1.9 4.1-1.5 2 .6 3.3 2.1 2.8 3.4zm-12.3-5.4c-.9 1.1-2.8.9-4.3-.6-1.5-1.3-1.9-3.2-.9-4.1.9-1.1 2.8-.9 4.3.6 1.3 1.3 1.8 3.3.9 4.1zm-9.1-9.1c-.9.6-2.6 0-3.7-1.5s-1.1-3.2 0-3.9c1.1-.9 2.8-.2 3.7 1.3 1.1 1.5 1.1 3.3 0 4.1zm-6.5-9.7c-.9.9-2.4.4-3.5-.6-1.1-1.3-1.3-2.8-.4-3.5.9-.9 2.4-.4 3.5.6 1.1 1.3 1.3 2.8.4 3.5zm-6.7-7.4c-.4.9-1.7 1.1-2.8.4-1.3-.6-1.9-1.7-1.5-2.6.4-.6 1.5-.9 2.8-.4 1.3.7 1.9 1.8 1.5 2.6z"]
  104490. };
  104491. var faGithubSquare = faSquareGithub;
  104492. var faStumbleupon = {
  104493. prefix: 'fab',
  104494. iconName: 'stumbleupon',
  104495. icon: [512, 512, [], "f1a4", "M502.9 266v69.7c0 62.1-50.3 112.4-112.4 112.4-61.8 0-112.4-49.8-112.4-111.3v-70.2l34.3 16 51.1-15.2V338c0 14.7 12 26.5 26.7 26.5S417 352.7 417 338v-72h85.9zm-224.7-58.2l34.3 16 51.1-15.2V173c0-60.5-51.1-109-112.1-109-60.8 0-112.1 48.2-112.1 108.2v162.4c0 14.9-12 26.7-26.7 26.7S86 349.5 86 334.6V266H0v69.7C0 397.7 50.3 448 112.4 448c61.6 0 112.4-49.5 112.4-110.8V176.9c0-14.7 12-26.7 26.7-26.7s26.7 12 26.7 26.7v30.9z"]
  104496. };
  104497. var faFedex = {
  104498. prefix: 'fab',
  104499. iconName: 'fedex',
  104500. icon: [640, 512, [], "f797", "M586 284.5l53.3-59.9h-62.4l-21.7 24.8-22.5-24.8H414v-16h56.1v-48.1H318.9V236h-.5c-9.6-11-21.5-14.8-35.4-14.8-28.4 0-49.8 19.4-57.3 44.9-18-59.4-97.4-57.6-121.9-14v-24.2H49v-26.2h60v-41.1H0V345h49v-77.5h48.9c-1.5 5.7-2.3 11.8-2.3 18.2 0 73.1 102.6 91.4 130.2 23.7h-42c-14.7 20.9-45.8 8.9-45.8-14.6h85.5c3.7 30.5 27.4 56.9 60.1 56.9 14.1 0 27-6.9 34.9-18.6h.5V345h212.2l22.1-25 22.3 25H640l-54-60.5zm-446.7-16.6c6.1-26.3 41.7-25.6 46.5 0h-46.5zm153.4 48.9c-34.6 0-34-62.8 0-62.8 32.6 0 34.5 62.8 0 62.8zm167.8 19.1h-94.4V169.4h95v30.2H405v33.9h55.5v28.1h-56.1v44.7h56.1v29.6zm-45.9-39.8v-24.4h56.1v-44l50.7 57-50.7 57v-45.6h-56.1zm138.6 10.3l-26.1 29.5H489l45.6-51.2-45.6-51.2h39.7l26.6 29.3 25.6-29.3h38.5l-45.4 51 46 51.4h-40.5l-26.3-29.5z"]
  104501. };
  104502. var faPhoenixFramework = {
  104503. prefix: 'fab',
  104504. iconName: 'phoenix-framework',
  104505. icon: [640, 512, [], "f3dc", "M212.9 344.3c3.8-.1 22.8-1.4 25.6-2.2-2.4-2.6-43.6-1-68-49.6-4.3-8.6-7.5-17.6-6.4-27.6 2.9-25.5 32.9-30 52-18.5 36 21.6 63.3 91.3 113.7 97.5 37 4.5 84.6-17 108.2-45.4-.6-.1-.8-.2-1-.1-.4.1-.8.2-1.1.3-33.3 12.1-94.3 9.7-134.7-14.8-37.6-22.8-53.1-58.7-51.8-74.6 1.8-21.3 22.9-23.2 35.9-19.6 14.4 3.9 24.4 17.6 38.9 27.4 15.6 10.4 32.9 13.7 51.3 10.3 14.9-2.7 34.4-12.3 36.5-14.5-1.1-.1-1.8-.1-2.5-.2-6.2-.6-12.4-.8-18.5-1.7C279.8 194.5 262.1 47.4 138.5 37.9 94.2 34.5 39.1 46 2.2 72.9c-.8.6-1.5 1.2-2.2 1.8.1.2.1.3.2.5.8 0 1.6-.1 2.4-.2 6.3-1 12.5-.8 18.7.3 23.8 4.3 47.7 23.1 55.9 76.5 5.3 34.3-.7 50.8 8 86.1 19 77.1 91 107.6 127.7 106.4zM75.3 64.9c-.9-1-.9-1.2-1.3-2 12.1-2.6 24.2-4.1 36.6-4.8-1.1 14.7-22.2 21.3-35.3 6.8zm196.9 350.5c-42.8 1.2-92-26.7-123.5-61.4-4.6-5-16.8-20.2-18.6-23.4l.4-.4c6.6 4.1 25.7 18.6 54.8 27 24.2 7 48.1 6.3 71.6-3.3 22.7-9.3 41-.5 43.1 2.9-18.5 3.8-20.1 4.4-24 7.9-5.1 4.4-4.6 11.7 7 17.2 26.2 12.4 63-2.8 97.2 25.4 2.4 2 8.1 7.8 10.1 10.7-.1.2-.3.3-.4.5-4.8-1.5-16.4-7.5-40.2-9.3-24.7-2-46.3 5.3-77.5 6.2zm174.8-252c16.4-5.2 41.3-13.4 66.5-3.3 16.1 6.5 26.2 18.7 32.1 34.6 3.5 9.4 5.1 19.7 5.1 28.7-.2 0-.4 0-.6.1-.2-.4-.4-.9-.5-1.3-5-22-29.9-43.8-67.6-29.9-50.2 18.6-130.4 9.7-176.9-48-.7-.9-2.4-1.7-1.3-3.2.1-.2 2.1.6 3 1.3 18.1 13.4 38.3 21.9 60.3 26.2 30.5 6.1 54.6 2.9 79.9-5.2zm102.7 117.5c-32.4.2-33.8 50.1-103.6 64.4-18.2 3.7-38.7 4.6-44.9 4.2v-.4c2.8-1.5 14.7-2.6 29.7-16.6 7.9-7.3 15.3-15.1 22.8-22.9 19.5-20.2 41.4-42.2 81.9-39 23.1 1.8 29.3 8.2 36.1 12.7.3.2.4.5.7.9-.5 0-.7.1-.9 0-7-2.7-14.3-3.3-21.8-3.3zm-12.3-24.1c-.1.2-.1.4-.2.6-28.9-4.4-48-7.9-68.5 4-17 9.9-31.4 20.5-62 24.4-27.1 3.4-45.1 2.4-66.1-8-.3-.2-.6-.4-1-.6 0-.2.1-.3.1-.5 24.9 3.8 36.4 5.1 55.5-5.8 22.3-12.9 40.1-26.6 71.3-31 29.6-4.1 51.3 2.5 70.9 16.9zM268.6 97.3c-.6-.6-1.1-1.2-2.1-2.3 7.6 0 29.7-1.2 53.4 8.4 19.7 8 32.2 21 50.2 32.9 11.1 7.3 23.4 9.3 36.4 8.1 4.3-.4 8.5-1.2 12.8-1.7.4-.1.9 0 1.5.3-.6.4-1.2.9-1.8 1.2-8.1 4-16.7 6.3-25.6 7.1-26.1 2.6-50.3-3.7-73.4-15.4-19.3-9.9-36.4-22.9-51.4-38.6zM640 335.7c-3.5 3.1-22.7 11.6-42.7 5.3-12.3-3.9-19.5-14.9-31.6-24.1-10-7.6-20.9-7.9-28.1-8.4.6-.8.9-1.2 1.2-1.4 14.8-9.2 30.5-12.2 47.3-6.5 12.5 4.2 19.2 13.5 30.4 24.2 10.8 10.4 21 9.9 23.1 10.5.1-.1.2 0 .4.4zm-212.5 137c2.2 1.2 1.6 1.5 1.5 2-18.5-1.4-33.9-7.6-46.8-22.2-21.8-24.7-41.7-27.9-48.6-29.7.5-.2.8-.4 1.1-.4 13.1.1 26.1.7 38.9 3.9 25.3 6.4 35 25.4 41.6 35.3 3.2 4.8 7.3 8.3 12.3 11.1z"]
  104506. };
  104507. var faShopify = {
  104508. prefix: 'fab',
  104509. iconName: 'shopify',
  104510. icon: [448, 512, [], "e057", "M388.32,104.1a4.66,4.66,0,0,0-4.4-4c-2,0-37.23-.8-37.23-.8s-21.61-20.82-29.62-28.83V503.2L442.76,472S388.72,106.5,388.32,104.1ZM288.65,70.47a116.67,116.67,0,0,0-7.21-17.61C271,32.85,255.42,22,237,22a15,15,0,0,0-4,.4c-.4-.8-1.2-1.2-1.6-2C223.4,11.63,213,7.63,200.58,8c-24,.8-48,18-67.25,48.83-13.61,21.62-24,48.84-26.82,70.06-27.62,8.4-46.83,14.41-47.23,14.81-14,4.4-14.41,4.8-16,18-1.2,10-38,291.82-38,291.82L307.86,504V65.67a41.66,41.66,0,0,0-4.4.4S297.86,67.67,288.65,70.47ZM233.41,87.69c-16,4.8-33.63,10.4-50.84,15.61,4.8-18.82,14.41-37.63,25.62-50,4.4-4.4,10.41-9.61,17.21-12.81C232.21,54.86,233.81,74.48,233.41,87.69ZM200.58,24.44A27.49,27.49,0,0,1,215,28c-6.4,3.2-12.81,8.41-18.81,14.41-15.21,16.42-26.82,42-31.62,66.45-14.42,4.41-28.83,8.81-42,12.81C131.33,83.28,163.75,25.24,200.58,24.44ZM154.15,244.61c1.6,25.61,69.25,31.22,73.25,91.66,2.8,47.64-25.22,80.06-65.65,82.47-48.83,3.2-75.65-25.62-75.65-25.62l10.4-44s26.82,20.42,48.44,18.82c14-.8,19.22-12.41,18.81-20.42-2-33.62-57.24-31.62-60.84-86.86-3.2-46.44,27.22-93.27,94.47-97.68,26-1.6,39.23,4.81,39.23,4.81L221.4,225.39s-17.21-8-37.63-6.4C154.15,221,153.75,239.8,154.15,244.61ZM249.42,82.88c0-12-1.6-29.22-7.21-43.63,18.42,3.6,27.22,24,31.23,36.43Q262.63,78.68,249.42,82.88Z"]
  104511. };
  104512. var faNeos = {
  104513. prefix: 'fab',
  104514. iconName: 'neos',
  104515. icon: [512, 512, [], "f612", "M415.44 512h-95.11L212.12 357.46v91.1L125.69 512H28V29.82L68.47 0h108.05l123.74 176.13V63.45L386.69 0h97.69v461.5zM38.77 35.27V496l72-52.88V194l215.5 307.64h84.79l52.35-38.17h-78.27L69 13zm82.54 466.61l80-58.78v-101l-79.76-114.4v220.94L49 501.89h72.34zM80.63 10.77l310.6 442.57h82.37V10.77h-79.75v317.56L170.91 10.77zM311 191.65l72 102.81V15.93l-72 53v122.72z"]
  104516. };
  104517. var faHackerrank = {
  104518. prefix: 'fab',
  104519. iconName: 'hackerrank',
  104520. icon: [512, 512, [], "f5f7", "M477.5 128C463 103.05 285.13 0 256.16 0S49.25 102.79 34.84 128s-14.49 230.8 0 256 192.38 128 221.32 128S463 409.08 477.49 384s14.51-231 .01-256zM316.13 414.22c-4 0-40.91-35.77-38-38.69.87-.87 6.26-1.48 17.55-1.83 0-26.23.59-68.59.94-86.32 0-2-.44-3.43-.44-5.85h-79.93c0 7.1-.46 36.2 1.37 72.88.23 4.54-1.58 6-5.74 5.94-10.13 0-20.27-.11-30.41-.08-4.1 0-5.87-1.53-5.74-6.11.92-33.44 3-84-.15-212.67v-3.17c-9.67-.35-16.38-1-17.26-1.84-2.92-2.92 34.54-38.69 38.49-38.69s41.17 35.78 38.27 38.69c-.87.87-7.9 1.49-16.77 1.84v3.16c-2.42 25.75-2 79.59-2.63 105.39h80.26c0-4.55.39-34.74-1.2-83.64-.1-3.39.95-5.17 4.21-5.2 11.07-.08 22.15-.13 33.23-.06 3.46 0 4.57 1.72 4.5 5.38C333 354.64 336 341.29 336 373.69c8.87.35 16.82 1 17.69 1.84 2.88 2.91-33.62 38.69-37.58 38.69z"]
  104521. };
  104522. var faResearchgate = {
  104523. prefix: 'fab',
  104524. iconName: 'researchgate',
  104525. icon: [448, 512, [], "f4f8", "M0 32v448h448V32H0zm262.2 334.4c-6.6 3-33.2 6-50-14.2-9.2-10.6-25.3-33.3-42.2-63.6-8.9 0-14.7 0-21.4-.6v46.4c0 23.5 6 21.2 25.8 23.9v8.1c-6.9-.3-23.1-.8-35.6-.8-13.1 0-26.1.6-33.6.8v-8.1c15.5-2.9 22-1.3 22-23.9V225c0-22.6-6.4-21-22-23.9V193c25.8 1 53.1-.6 70.9-.6 31.7 0 55.9 14.4 55.9 45.6 0 21.1-16.7 42.2-39.2 47.5 13.6 24.2 30 45.6 42.2 58.9 7.2 7.8 17.2 14.7 27.2 14.7v7.3zm22.9-135c-23.3 0-32.2-15.7-32.2-32.2V167c0-12.2 8.8-30.4 34-30.4s30.4 17.9 30.4 17.9l-10.7 7.2s-5.5-12.5-19.7-12.5c-7.9 0-19.7 7.3-19.7 19.7v26.8c0 13.4 6.6 23.3 17.9 23.3 14.1 0 21.5-10.9 21.5-26.8h-17.9v-10.7h30.4c0 20.5 4.7 49.9-34 49.9zm-116.5 44.7c-9.4 0-13.6-.3-20-.8v-69.7c6.4-.6 15-.6 22.5-.6 23.3 0 37.2 12.2 37.2 34.5 0 21.9-15 36.6-39.7 36.6z"]
  104526. };
  104527. var faSwift = {
  104528. prefix: 'fab',
  104529. iconName: 'swift',
  104530. icon: [448, 512, [], "f8e1", "M448 156.09c0-4.51-.08-9-.2-13.52a196.31 196.31 0 0 0-2.58-29.42 99.62 99.62 0 0 0-9.22-28A94.08 94.08 0 0 0 394.84 44a99.17 99.17 0 0 0-28-9.22 195 195 0 0 0-29.43-2.59c-4.51-.12-9-.17-13.52-.2H124.14c-4.51 0-9 .08-13.52.2-2.45.07-4.91.15-7.37.27a171.68 171.68 0 0 0-22.06 2.32 103.06 103.06 0 0 0-21.21 6.1q-3.46 1.45-6.81 3.12a94.66 94.66 0 0 0-18.39 12.32c-1.88 1.61-3.69 3.28-5.43 5A93.86 93.86 0 0 0 12 85.17a99.45 99.45 0 0 0-9.22 28 196.31 196.31 0 0 0-2.54 29.4c-.13 4.51-.18 9-.21 13.52v199.83c0 4.51.08 9 .21 13.51a196.08 196.08 0 0 0 2.58 29.42 99.3 99.3 0 0 0 9.22 28A94.31 94.31 0 0 0 53.17 468a99.47 99.47 0 0 0 28 9.21 195 195 0 0 0 29.43 2.59c4.5.12 9 .17 13.52.2H323.91c4.51 0 9-.08 13.52-.2a196.59 196.59 0 0 0 29.44-2.59 99.57 99.57 0 0 0 28-9.21A94.22 94.22 0 0 0 436 426.84a99.3 99.3 0 0 0 9.22-28 194.79 194.79 0 0 0 2.59-29.42c.12-4.5.17-9 .2-13.51V172.14c-.01-5.35-.01-10.7-.01-16.05zm-69.88 241c-20-38.93-57.23-29.27-76.31-19.47-1.72 1-3.48 2-5.25 3l-.42.25c-39.5 21-92.53 22.54-145.85-.38A234.64 234.64 0 0 1 45 290.12a230.63 230.63 0 0 0 39.17 23.37c56.36 26.4 113 24.49 153 0-57-43.85-104.6-101-141.09-147.22a197.09 197.09 0 0 1-18.78-25.9c43.7 40 112.7 90.22 137.48 104.12-52.57-55.49-98.89-123.94-96.72-121.74 82.79 83.42 159.18 130.59 159.18 130.59 2.88 1.58 5 2.85 6.73 4a127.44 127.44 0 0 0 4.16-12.47c13.22-48.33-1.66-103.58-35.31-149.2C329.61 141.75 375 229.34 356.4 303.42c-.44 1.73-.95 3.4-1.44 5.09 38.52 47.4 28.04 98.17 23.13 88.59z"]
  104531. };
  104532. var faAngular = {
  104533. prefix: 'fab',
  104534. iconName: 'angular',
  104535. icon: [448, 512, [], "f420", "M185.7 268.1h76.2l-38.1-91.6-38.1 91.6zM223.8 32L16 106.4l31.8 275.7 176 97.9 176-97.9 31.8-275.7zM354 373.8h-48.6l-26.2-65.4H168.6l-26.2 65.4H93.7L223.8 81.5z"]
  104536. };
  104537. var faSpeakap = {
  104538. prefix: 'fab',
  104539. iconName: 'speakap',
  104540. icon: [448, 512, [], "f3f3", "M64 391.78C-15.41 303.59-8 167.42 80.64 87.64s224.8-73 304.21 15.24 72 224.36-16.64 304.14c-18.74 16.87 64 43.09 42 52.26-82.06 34.21-253.91 35-346.23-67.5zm213.31-211.6l38.5-40.86c-9.61-8.89-32-26.83-76.17-27.6-52.33-.91-95.86 28.3-96.77 80-.2 11.33.29 36.72 29.42 54.83 34.46 21.42 86.52 21.51 86 52.26-.37 21.28-26.42 25.81-38.59 25.6-3-.05-30.23-.46-47.61-24.62l-40 42.61c28.16 27 59 32.62 83.49 33.05 10.23.18 96.42.33 97.84-81 .28-15.81-2.07-39.72-28.86-56.59-34.36-21.64-85-19.45-84.43-49.75.41-23.25 31-25.37 37.53-25.26.43 0 26.62.26 39.62 17.37z"]
  104541. };
  104542. var faAngrycreative = {
  104543. prefix: 'fab',
  104544. iconName: 'angrycreative',
  104545. icon: [640, 512, [], "f36e", "M640 238.2l-3.2 28.2-34.5 2.3-2 18.1 34.5-2.3-3.2 28.2-34.4 2.2-2.3 20.1 34.4-2.2-3 26.1-64.7 4.1 12.7-113.2L527 365.2l-31.9 2-23.8-117.8 30.3-2 13.6 79.4 31.7-82.4 93.1-6.2zM426.8 371.5l28.3-1.8L468 249.6l-28.4 1.9-12.8 120zM162 388.1l-19.4-36-3.5 37.4-28.2 1.7 2.7-29.1c-11 18-32 34.3-56.9 35.8C23.9 399.9-3 377 .3 339.7c2.6-29.3 26.7-62.8 67.5-65.4 37.7-2.4 47.6 23.2 51.3 28.8l2.8-30.8 38.9-2.5c20.1-1.3 38.7 3.7 42.5 23.7l2.6-26.6 64.8-4.2-2.7 27.9-36.4 2.4-1.7 17.9 36.4-2.3-2.7 27.9-36.4 2.3-1.9 19.9 36.3-2.3-2.1 20.8 55-117.2 23.8-1.6L370.4 369l8.9-85.6-22.3 1.4 2.9-27.9 75-4.9-3 28-24.3 1.6-9.7 91.9-58 3.7-4.3-15.6-39.4 2.5-8 16.3-126.2 7.7zm-44.3-70.2l-26.4 1.7C84.6 307.2 76.9 303 65 303.8c-19 1.2-33.3 17.5-34.6 33.3-1.4 16 7.3 32.5 28.7 31.2 12.8-.8 21.3-8.6 28.9-18.9l27-1.7 2.7-29.8zm56.1-7.7c1.2-12.9-7.6-13.6-26.1-12.4l-2.7 28.5c14.2-.9 27.5-2.1 28.8-16.1zm21.1 70.8l5.8-60c-5 13.5-14.7 21.1-27.9 26.6l22.1 33.4zm135.4-45l-7.9-37.8-15.8 39.3 23.7-1.5zm-170.1-74.6l-4.3-17.5-39.6 2.6-8.1 18.2-31.9 2.1 57-121.9 23.9-1.6 30.7 102 9.9-104.7 27-1.8 37.8 63.6 6.5-66.6 28.5-1.9-4 41.2c7.4-13.5 22.9-44.7 63.6-47.5 40.5-2.8 52.4 29.3 53.4 30.3l3.3-32 39.3-2.7c12.7-.9 27.8.3 36.3 9.7l-4.4-11.9 32.2-2.2 12.9 43.2 23-45.7 31-2.2-43.6 78.4-4.8 44.3-28.4 1.9 4.8-44.3-15.8-43c1 22.3-9.2 40.1-32 49.6l25.2 38.8-36.4 2.4-19.2-36.8-4 38.3-28.4 1.9 3.3-31.5c-6.7 9.3-19.7 35.4-59.6 38-26.2 1.7-45.6-10.3-55.4-39.2l-4 40.3-25 1.6-37.6-63.3-6.3 66.2-56.8 3.7zm276.6-82.1c10.2-.7 17.5-2.1 21.6-4.3 4.5-2.4 7-6.4 7.6-12.1.6-5.3-.6-8.8-3.4-10.4-3.6-2.1-10.6-2.8-22.9-2l-2.9 28.8zM327.7 214c5.6 5.9 12.7 8.5 21.3 7.9 4.7-.3 9.1-1.8 13.3-4.1 5.5-3 10.6-8 15.1-14.3l-34.2 2.3 2.4-23.9 63.1-4.3 1.2-12-31.2 2.1c-4.1-3.7-7.8-6.6-11.1-8.1-4-1.7-8.1-2.8-12.2-2.5-8 .5-15.3 3.6-22 9.2-7.7 6.4-12 14.5-12.9 24.4-1.1 9.6 1.4 17.3 7.2 23.3zm-201.3 8.2l23.8-1.6-8.3-37.6-15.5 39.2z"]
  104546. };
  104547. var faYCombinator = {
  104548. prefix: 'fab',
  104549. iconName: 'y-combinator',
  104550. icon: [448, 512, [], "f23b", "M448 32v448H0V32h448zM236 287.5L313.5 142h-32.7L235 233c-4.7 9.3-9 18.3-12.8 26.8L210 233l-45.2-91h-35l76.7 143.8v94.5H236v-92.8z"]
  104551. };
  104552. var faEmpire = {
  104553. prefix: 'fab',
  104554. iconName: 'empire',
  104555. icon: [496, 512, [], "f1d1", "M287.6 54.2c-10.8-2.2-22.1-3.3-33.5-3.6V32.4c78.1 2.2 146.1 44 184.6 106.6l-15.8 9.1c-6.1-9.7-12.7-18.8-20.2-27.1l-18 15.5c-26-29.6-61.4-50.7-101.9-58.4l4.8-23.9zM53.4 322.4l23-7.7c-6.4-18.3-10-38.2-10-58.7s3.3-40.4 9.7-58.7l-22.7-7.7c3.6-10.8 8.3-21.3 13.6-31l-15.8-9.1C34 181 24.1 217.5 24.1 256s10 75 27.1 106.6l15.8-9.1c-5.3-10-9.7-20.3-13.6-31.1zM213.1 434c-40.4-8-75.8-29.1-101.9-58.7l-18 15.8c-7.5-8.6-14.4-17.7-20.2-27.4l-16 9.4c38.5 62.3 106.8 104.3 184.9 106.6v-18.3c-11.3-.3-22.7-1.7-33.5-3.6l4.7-23.8zM93.3 120.9l18 15.5c26-29.6 61.4-50.7 101.9-58.4l-4.7-23.8c10.8-2.2 22.1-3.3 33.5-3.6V32.4C163.9 34.6 95.9 76.4 57.4 139l15.8 9.1c6-9.7 12.6-18.9 20.1-27.2zm309.4 270.2l-18-15.8c-26 29.6-61.4 50.7-101.9 58.7l4.7 23.8c-10.8 1.9-22.1 3.3-33.5 3.6v18.3c78.1-2.2 146.4-44.3 184.9-106.6l-16.1-9.4c-5.7 9.7-12.6 18.8-20.1 27.4zM496 256c0 137-111 248-248 248S0 393 0 256 111 8 248 8s248 111 248 248zm-12.2 0c0-130.1-105.7-235.8-235.8-235.8S12.2 125.9 12.2 256 117.9 491.8 248 491.8 483.8 386.1 483.8 256zm-39-106.6l-15.8 9.1c5.3 9.7 10 20.2 13.6 31l-22.7 7.7c6.4 18.3 9.7 38.2 9.7 58.7s-3.6 40.4-10 58.7l23 7.7c-3.9 10.8-8.3 21-13.6 31l15.8 9.1C462 331 471.9 294.5 471.9 256s-9.9-75-27.1-106.6zm-183 177.7c16.3-3.3 30.4-11.6 40.7-23.5l51.2 44.8c11.9-13.6 21.3-29.3 27.1-46.8l-64.2-22.1c2.5-7.5 3.9-15.2 3.9-23.5s-1.4-16.1-3.9-23.5l64.5-22.1c-6.1-17.4-15.5-33.2-27.4-46.8l-51.2 44.8c-10.2-11.9-24.4-20.5-40.7-23.8l13.3-66.4c-8.6-1.9-17.7-2.8-27.1-2.8-9.4 0-18.5.8-27.1 2.8l13.3 66.4c-16.3 3.3-30.4 11.9-40.7 23.8l-51.2-44.8c-11.9 13.6-21.3 29.3-27.4 46.8l64.5 22.1c-2.5 7.5-3.9 15.2-3.9 23.5s1.4 16.1 3.9 23.5l-64.2 22.1c5.8 17.4 15.2 33.2 27.1 46.8l51.2-44.8c10.2 11.9 24.4 20.2 40.7 23.5l-13.3 66.7c8.6 1.7 17.7 2.8 27.1 2.8 9.4 0 18.5-1.1 27.1-2.8l-13.3-66.7z"]
  104556. };
  104557. var faEnvira = {
  104558. prefix: 'fab',
  104559. iconName: 'envira',
  104560. icon: [448, 512, [], "f299", "M0 32c477.6 0 366.6 317.3 367.1 366.3L448 480h-26l-70.4-71.2c-39 4.2-124.4 34.5-214.4-37C47 300.3 52 214.7 0 32zm79.7 46c-49.7-23.5-5.2 9.2-5.2 9.2 45.2 31.2 66 73.7 90.2 119.9 31.5 60.2 79 139.7 144.2 167.7 65 28 34.2 12.5 6-8.5-28.2-21.2-68.2-87-91-130.2-31.7-60-61-118.6-144.2-158.1z"]
  104561. };
  104562. var faSquareGitlab = {
  104563. prefix: 'fab',
  104564. iconName: 'square-gitlab',
  104565. icon: [448, 512, ["gitlab-square"], "e5ae", "M48 32H400C426.5 32 448 53.5 448 80V432C448 458.5 426.5 480 400 480H48C21.5 480 0 458.5 0 432V80C0 53.5 21.5 32 48 32zM382.1 224.9L337.5 108.5C336.6 106.2 334.9 104.2 332.9 102.9C331.3 101.9 329.5 101.3 327.7 101.1C325.9 100.9 324 101.2 322.3 101.8C320.6 102.5 319 103.5 317.8 104.9C316.6 106.3 315.7 107.9 315.2 109.7L285 201.9H162.1L132.9 109.7C132.4 107.9 131.4 106.3 130.2 104.9C128.1 103.6 127.4 102.5 125.7 101.9C123.1 101.2 122.1 100.1 120.3 101.1C118.5 101.3 116.7 101.9 115.1 102.9C113.1 104.2 111.5 106.2 110.6 108.5L65.94 224.9L65.47 226.1C59.05 242.9 58.26 261.3 63.22 278.6C68.18 295.9 78.62 311.1 92.97 321.9L93.14 322L93.52 322.3L161.4 373.2L215.6 414.1C217.1 415.1 220.9 416.9 223.9 416.9C226.9 416.9 229.9 415.1 232.3 414.1L286.4 373.2L354.8 322L355 321.9C369.4 311 379.8 295.8 384.8 278.6C389.7 261.3 388.1 242.9 382.5 226.1L382.1 224.9z"]
  104566. };
  104567. var faGitlabSquare = faSquareGitlab;
  104568. var faStudiovinari = {
  104569. prefix: 'fab',
  104570. iconName: 'studiovinari',
  104571. icon: [512, 512, [], "f3f8", "M480.3 187.7l4.2 28v28l-25.1 44.1-39.8 78.4-56.1 67.5-79.1 37.8-17.7 24.5-7.7 12-9.6 4s17.3-63.6 19.4-63.6c2.1 0 20.3.7 20.3.7l66.7-38.6-92.5 26.1-55.9 36.8-22.8 28-6.6 1.4 20.8-73.6 6.9-5.5 20.7 12.9 88.3-45.2 56.8-51.5 14.8-68.4-125.4 23.3 15.2-18.2-173.4-53.3 81.9-10.5-166-122.9L133.5 108 32.2 0l252.9 126.6-31.5-38L378 163 234.7 64l18.7 38.4-49.6-18.1L158.3 0l194.6 122L310 66.2l108 96.4 12-8.9-21-16.4 4.2-37.8L451 89.1l29.2 24.7 11.5 4.2-7 6.2 8.5 12-13.1 7.4-10.3 20.2 10.5 23.9z"]
  104572. };
  104573. var faPiedPiper = {
  104574. prefix: 'fab',
  104575. iconName: 'pied-piper',
  104576. icon: [480, 512, [], "f2ae", "M455.93,23.2C429.23,30,387.79,51.69,341.35,90.66A206,206,0,0,0,240,64C125.13,64,32,157.12,32,272s93.13,208,208,208,208-93.13,208-208a207.25,207.25,0,0,0-58.75-144.81,155.35,155.35,0,0,0-17,27.4A176.16,176.16,0,0,1,417.1,272c0,97.66-79.44,177.11-177.09,177.11a175.81,175.81,0,0,1-87.63-23.4c82.94-107.33,150.79-37.77,184.31-226.65,5.79-32.62,28-94.26,126.23-160.18C471,33.45,465.35,20.8,455.93,23.2ZM125,406.4A176.66,176.66,0,0,1,62.9,272C62.9,174.34,142.35,94.9,240,94.9a174,174,0,0,1,76.63,17.75C250.64,174.76,189.77,265.52,125,406.4Z"]
  104577. };
  104578. var faWordpress = {
  104579. prefix: 'fab',
  104580. iconName: 'wordpress',
  104581. icon: [512, 512, [], "f19a", "M61.7 169.4l101.5 278C92.2 413 43.3 340.2 43.3 256c0-30.9 6.6-60.1 18.4-86.6zm337.9 75.9c0-26.3-9.4-44.5-17.5-58.7-10.8-17.5-20.9-32.4-20.9-49.9 0-19.6 14.8-37.8 35.7-37.8.9 0 1.8.1 2.8.2-37.9-34.7-88.3-55.9-143.7-55.9-74.3 0-139.7 38.1-177.8 95.9 5 .2 9.7.3 13.7.3 22.2 0 56.7-2.7 56.7-2.7 11.5-.7 12.8 16.2 1.4 17.5 0 0-11.5 1.3-24.3 2l77.5 230.4L249.8 247l-33.1-90.8c-11.5-.7-22.3-2-22.3-2-11.5-.7-10.1-18.2 1.3-17.5 0 0 35.1 2.7 56 2.7 22.2 0 56.7-2.7 56.7-2.7 11.5-.7 12.8 16.2 1.4 17.5 0 0-11.5 1.3-24.3 2l76.9 228.7 21.2-70.9c9-29.4 16-50.5 16-68.7zm-139.9 29.3l-63.8 185.5c19.1 5.6 39.2 8.7 60.1 8.7 24.8 0 48.5-4.3 70.6-12.1-.6-.9-1.1-1.9-1.5-2.9l-65.4-179.2zm183-120.7c.9 6.8 1.4 14 1.4 21.9 0 21.6-4 45.8-16.2 76.2l-65 187.9C426.2 403 468.7 334.5 468.7 256c0-37-9.4-71.8-26-102.1zM504 256c0 136.8-111.3 248-248 248C119.2 504 8 392.7 8 256 8 119.2 119.2 8 256 8c136.7 0 248 111.2 248 248zm-11.4 0c0-130.5-106.2-236.6-236.6-236.6C125.5 19.4 19.4 125.5 19.4 256S125.6 492.6 256 492.6c130.5 0 236.6-106.1 236.6-236.6z"]
  104582. };
  104583. var faProductHunt = {
  104584. prefix: 'fab',
  104585. iconName: 'product-hunt',
  104586. icon: [512, 512, [], "f288", "M326.3 218.8c0 20.5-16.7 37.2-37.2 37.2h-70.3v-74.4h70.3c20.5 0 37.2 16.7 37.2 37.2zM504 256c0 137-111 248-248 248S8 393 8 256 119 8 256 8s248 111 248 248zm-128.1-37.2c0-47.9-38.9-86.8-86.8-86.8H169.2v248h49.6v-74.4h70.3c47.9 0 86.8-38.9 86.8-86.8z"]
  104587. };
  104588. var faFirefox = {
  104589. prefix: 'fab',
  104590. iconName: 'firefox',
  104591. icon: [512, 512, [], "f269", "M503.52,241.48c-.12-1.56-.24-3.12-.24-4.68v-.12l-.36-4.68v-.12a245.86,245.86,0,0,0-7.32-41.15c0-.12,0-.12-.12-.24l-1.08-4c-.12-.24-.12-.48-.24-.6-.36-1.2-.72-2.52-1.08-3.72-.12-.24-.12-.6-.24-.84-.36-1.2-.72-2.4-1.08-3.48-.12-.36-.24-.6-.36-1-.36-1.2-.72-2.28-1.2-3.48l-.36-1.08c-.36-1.08-.84-2.28-1.2-3.36a8.27,8.27,0,0,0-.36-1c-.48-1.08-.84-2.28-1.32-3.36-.12-.24-.24-.6-.36-.84-.48-1.2-1-2.28-1.44-3.48,0-.12-.12-.24-.12-.36-1.56-3.84-3.24-7.68-5-11.4l-.36-.72c-.48-1-.84-1.8-1.32-2.64-.24-.48-.48-1.08-.72-1.56-.36-.84-.84-1.56-1.2-2.4-.36-.6-.6-1.2-1-1.8s-.84-1.44-1.2-2.28c-.36-.6-.72-1.32-1.08-1.92s-.84-1.44-1.2-2.16a18.07,18.07,0,0,0-1.2-2c-.36-.72-.84-1.32-1.2-2s-.84-1.32-1.2-2-.84-1.32-1.2-1.92-.84-1.44-1.32-2.16a15.63,15.63,0,0,0-1.2-1.8L463.2,119a15.63,15.63,0,0,0-1.2-1.8c-.48-.72-1.08-1.56-1.56-2.28-.36-.48-.72-1.08-1.08-1.56l-1.8-2.52c-.36-.48-.6-.84-1-1.32-1-1.32-1.8-2.52-2.76-3.72a248.76,248.76,0,0,0-23.51-26.64A186.82,186.82,0,0,0,412,62.46c-4-3.48-8.16-6.72-12.48-9.84a162.49,162.49,0,0,0-24.6-15.12c-2.4-1.32-4.8-2.52-7.2-3.72a254,254,0,0,0-55.43-19.56c-1.92-.36-3.84-.84-5.64-1.2h-.12c-1-.12-1.8-.36-2.76-.48a236.35,236.35,0,0,0-38-4H255.14a234.62,234.62,0,0,0-45.48,5c-33.59,7.08-63.23,21.24-82.91,39-1.08,1-1.92,1.68-2.4,2.16l-.48.48H124l-.12.12.12-.12a.12.12,0,0,0,.12-.12l-.12.12a.42.42,0,0,1,.24-.12c14.64-8.76,34.92-16,49.44-19.56l5.88-1.44c.36-.12.84-.12,1.2-.24,1.68-.36,3.36-.72,5.16-1.08.24,0,.6-.12.84-.12C250.94,20.94,319.34,40.14,367,85.61a171.49,171.49,0,0,1,26.88,32.76c30.36,49.2,27.48,111.11,3.84,147.59-34.44,53-111.35,71.27-159,24.84a84.19,84.19,0,0,1-25.56-59,74.05,74.05,0,0,1,6.24-31c1.68-3.84,13.08-25.67,18.24-24.59-13.08-2.76-37.55,2.64-54.71,28.19-15.36,22.92-14.52,58.2-5,83.28a132.85,132.85,0,0,1-12.12-39.24c-12.24-82.55,43.31-153,94.31-170.51-27.48-24-96.47-22.31-147.71,15.36-29.88,22-51.23,53.16-62.51,90.36,1.68-20.88,9.6-52.08,25.8-83.88-17.16,8.88-39,37-49.8,62.88-15.6,37.43-21,82.19-16.08,124.79.36,3.24.72,6.36,1.08,9.6,19.92,117.11,122,206.38,244.78,206.38C392.77,503.42,504,392.19,504,255,503.88,250.48,503.76,245.92,503.52,241.48Z"]
  104592. };
  104593. var faLinode = {
  104594. prefix: 'fab',
  104595. iconName: 'linode',
  104596. icon: [448, 512, [], "f2b8", "M366.036,186.867l-59.5,36.871-.838,36.871-29.329-19.273-39.384,24.3c2.238,55.211,2.483,59.271,2.51,59.5l-97.2,65.359L127.214,285.748l108.1-62.01L195.09,197.761l-75.417,38.547L98.723,93.015,227.771,43.574,136.432,0,10.737,39.385,38.39,174.3l41.9,32.681L48.445,222.062,69.394,323.457,98.723,351.11,77.774,363.679l16.76,78.769L160.733,512c-10.8-74.842-11.658-78.641-11.725-78.773l77.925-55.3c16.759-12.57,15.083-10.894,15.083-10.894l.838,24.3,33.519,28.491-.838-77.093,46.927-33.519,26.815-18.435-2.514,36.033,25.139,17.6,6.7-74.579,58.657-43.575Z"]
  104597. };
  104598. var faGoodreads = {
  104599. prefix: 'fab',
  104600. iconName: 'goodreads',
  104601. icon: [448, 512, [], "f3a8", "M299.9 191.2c5.1 37.3-4.7 79-35.9 100.7-22.3 15.5-52.8 14.1-70.8 5.7-37.1-17.3-49.5-58.6-46.8-97.2 4.3-60.9 40.9-87.9 75.3-87.5 46.9-.2 71.8 31.8 78.2 78.3zM448 88v336c0 30.9-25.1 56-56 56H56c-30.9 0-56-25.1-56-56V88c0-30.9 25.1-56 56-56h336c30.9 0 56 25.1 56 56zM330 313.2s-.1-34-.1-217.3h-29v40.3c-.8.3-1.2-.5-1.6-1.2-9.6-20.7-35.9-46.3-76-46-51.9.4-87.2 31.2-100.6 77.8-4.3 14.9-5.8 30.1-5.5 45.6 1.7 77.9 45.1 117.8 112.4 115.2 28.9-1.1 54.5-17 69-45.2.5-1 1.1-1.9 1.7-2.9.2.1.4.1.6.2.3 3.8.2 30.7.1 34.5-.2 14.8-2 29.5-7.2 43.5-7.8 21-22.3 34.7-44.5 39.5-17.8 3.9-35.6 3.8-53.2-1.2-21.5-6.1-36.5-19-41.1-41.8-.3-1.6-1.3-1.3-2.3-1.3h-26.8c.8 10.6 3.2 20.3 8.5 29.2 24.2 40.5 82.7 48.5 128.2 37.4 49.9-12.3 67.3-54.9 67.4-106.3z"]
  104602. };
  104603. var faSquareOdnoklassniki = {
  104604. prefix: 'fab',
  104605. iconName: 'square-odnoklassniki',
  104606. icon: [448, 512, ["odnoklassniki-square"], "f264", "M184.2 177.1c0-22.1 17.9-40 39.8-40s39.8 17.9 39.8 40c0 22-17.9 39.8-39.8 39.8s-39.8-17.9-39.8-39.8zM448 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-305.1 97.1c0 44.6 36.4 80.9 81.1 80.9s81.1-36.2 81.1-80.9c0-44.8-36.4-81.1-81.1-81.1s-81.1 36.2-81.1 81.1zm174.5 90.7c-4.6-9.1-17.3-16.8-34.1-3.6 0 0-22.7 18-59.3 18s-59.3-18-59.3-18c-16.8-13.2-29.5-5.5-34.1 3.6-7.9 16.1 1.1 23.7 21.4 37 17.3 11.1 41.2 15.2 56.6 16.8l-12.9 12.9c-18.2 18-35.5 35.5-47.7 47.7-17.6 17.6 10.7 45.8 28.4 28.6l47.7-47.9c18.2 18.2 35.7 35.7 47.7 47.9 17.6 17.2 46-10.7 28.6-28.6l-47.7-47.7-13-12.9c15.5-1.6 39.1-5.9 56.2-16.8 20.4-13.3 29.3-21 21.5-37z"]
  104607. };
  104608. var faOdnoklassnikiSquare = faSquareOdnoklassniki;
  104609. var faJsfiddle = {
  104610. prefix: 'fab',
  104611. iconName: 'jsfiddle',
  104612. icon: [576, 512, [], "f1cc", "M510.634 237.462c-4.727-2.621-5.664-5.748-6.381-10.776-2.352-16.488-3.539-33.619-9.097-49.095-35.895-99.957-153.99-143.386-246.849-91.646-27.37 15.25-48.971 36.369-65.493 63.903-3.184-1.508-5.458-2.71-7.824-3.686-30.102-12.421-59.049-10.121-85.331 9.167-25.531 18.737-36.422 44.548-32.676 76.408.355 3.025-1.967 7.621-4.514 9.545-39.712 29.992-56.031 78.065-41.902 124.615 13.831 45.569 57.514 79.796 105.608 81.433 30.291 1.031 60.637.546 90.959.539 84.041-.021 168.09.531 252.12-.48 52.664-.634 96.108-36.873 108.212-87.293 11.54-48.074-11.144-97.3-56.832-122.634zm21.107 156.88c-18.23 22.432-42.343 35.253-71.28 35.65-56.874.781-113.767.23-170.652.23 0 .7-163.028.159-163.728.154-43.861-.332-76.739-19.766-95.175-59.995-18.902-41.245-4.004-90.848 34.186-116.106 9.182-6.073 12.505-11.566 10.096-23.136-5.49-26.361 4.453-47.956 26.42-62.981 22.987-15.723 47.422-16.146 72.034-3.083 10.269 5.45 14.607 11.564 22.198-2.527 14.222-26.399 34.557-46.727 60.671-61.294 97.46-54.366 228.37 7.568 230.24 132.697.122 8.15 2.412 12.428 9.848 15.894 57.56 26.829 74.456 96.122 35.142 144.497zm-87.789-80.499c-5.848 31.157-34.622 55.096-66.666 55.095-16.953-.001-32.058-6.545-44.079-17.705-27.697-25.713-71.141-74.98-95.937-93.387-20.056-14.888-41.99-12.333-60.272 3.782-49.996 44.071 15.859 121.775 67.063 77.188 4.548-3.96 7.84-9.543 12.744-12.844 8.184-5.509 20.766-.884 13.168 10.622-17.358 26.284-49.33 38.197-78.863 29.301-28.897-8.704-48.84-35.968-48.626-70.179 1.225-22.485 12.364-43.06 35.414-55.965 22.575-12.638 46.369-13.146 66.991 2.474C295.68 280.7 320.467 323.97 352.185 343.47c24.558 15.099 54.254 7.363 68.823-17.506 28.83-49.209-34.592-105.016-78.868-63.46-3.989 3.744-6.917 8.932-11.41 11.72-10.975 6.811-17.333-4.113-12.809-10.353 20.703-28.554 50.464-40.44 83.271-28.214 31.429 11.714 49.108 44.366 42.76 78.186z"]
  104613. };
  104614. var faSith = {
  104615. prefix: 'fab',
  104616. iconName: 'sith',
  104617. icon: [448, 512, [], "f512", "M0 32l69.71 118.75-58.86-11.52 69.84 91.03a146.741 146.741 0 0 0 0 51.45l-69.84 91.03 58.86-11.52L0 480l118.75-69.71-11.52 58.86 91.03-69.84c17.02 3.04 34.47 3.04 51.48 0l91.03 69.84-11.52-58.86L448 480l-69.71-118.78 58.86 11.52-69.84-91.03c3.03-17.01 3.04-34.44 0-51.45l69.84-91.03-58.86 11.52L448 32l-118.75 69.71 11.52-58.9-91.06 69.87c-8.5-1.52-17.1-2.29-25.71-2.29s-17.21.78-25.71 2.29l-91.06-69.87 11.52 58.9L0 32zm224 99.78c31.8 0 63.6 12.12 87.85 36.37 48.5 48.5 48.49 127.21 0 175.7s-127.2 48.46-175.7-.03c-48.5-48.5-48.49-127.21 0-175.7 24.24-24.25 56.05-36.34 87.85-36.34zm0 36.66c-22.42 0-44.83 8.52-61.92 25.61-34.18 34.18-34.19 89.68 0 123.87s89.65 34.18 123.84 0c34.18-34.18 34.19-89.68 0-123.87-17.09-17.09-39.5-25.61-61.92-25.61z"]
  104618. };
  104619. var faThemeisle = {
  104620. prefix: 'fab',
  104621. iconName: 'themeisle',
  104622. icon: [512, 512, [], "f2b2", "M208 88.286c0-10 6.286-21.714 17.715-21.714 11.142 0 17.714 11.714 17.714 21.714 0 10.285-6.572 21.714-17.714 21.714C214.286 110 208 98.571 208 88.286zm304 160c0 36.001-11.429 102.286-36.286 129.714-22.858 24.858-87.428 61.143-120.857 70.572l-1.143.286v32.571c0 16.286-12.572 30.571-29.143 30.571-10 0-19.429-5.714-24.572-14.286-5.427 8.572-14.856 14.286-24.856 14.286-10 0-19.429-5.714-24.858-14.286-5.142 8.572-14.571 14.286-24.57 14.286-10.286 0-19.429-5.714-24.858-14.286-5.143 8.572-14.571 14.286-24.571 14.286-18.857 0-29.429-15.714-29.429-32.857-16.286 12.285-35.715 19.428-56.571 19.428-22 0-43.429-8.285-60.286-22.857 10.285-.286 20.571-2.286 30.285-5.714-20.857-5.714-39.428-18.857-52-36.286 21.37 4.645 46.209 1.673 67.143-11.143-22-22-56.571-58.857-68.572-87.428C1.143 321.714 0 303.714 0 289.429c0-49.714 20.286-160 86.286-160 10.571 0 18.857 4.858 23.143 14.857a158.792 158.792 0 0 1 12-15.428c2-2.572 5.714-5.429 7.143-8.286 7.999-12.571 11.714-21.142 21.714-34C182.571 45.428 232 17.143 285.143 17.143c6 0 12 .285 17.714 1.143C313.714 6.571 328.857 0 344.572 0c14.571 0 29.714 6 40 16.286.857.858 1.428 2.286 1.428 3.428 0 3.714-10.285 13.429-12.857 16.286 4.286 1.429 15.714 6.858 15.714 12 0 2.857-2.857 5.143-4.571 7.143 31.429 27.714 49.429 67.143 56.286 108 4.286-5.143 10.285-8.572 17.143-8.572 10.571 0 20.857 7.144 28.571 14.001C507.143 187.143 512 221.714 512 248.286zM188 89.428c0 18.286 12.571 37.143 32.286 37.143 19.714 0 32.285-18.857 32.285-37.143 0-18-12.571-36.857-32.285-36.857-19.715 0-32.286 18.858-32.286 36.857zM237.714 194c0-19.714 3.714-39.143 8.571-58.286-52.039 79.534-13.531 184.571 68.858 184.571 21.428 0 42.571-7.714 60-20 2-7.429 3.714-14.857 3.714-22.572 0-14.286-6.286-21.428-20.572-21.428-4.571 0-9.143.857-13.429 1.714-63.343 12.668-107.142 3.669-107.142-63.999zm-41.142 254.858c0-11.143-8.858-20.857-20.286-20.857-11.429 0-20 9.715-20 20.857v32.571c0 11.143 8.571 21.142 20 21.142 11.428 0 20.286-9.715 20.286-21.142v-32.571zm49.143 0c0-11.143-8.572-20.857-20-20.857-11.429 0-20.286 9.715-20.286 20.857v32.571c0 11.143 8.857 21.142 20.286 21.142 11.428 0 20-10 20-21.142v-32.571zm49.713 0c0-11.143-8.857-20.857-20.285-20.857-11.429 0-20.286 9.715-20.286 20.857v32.571c0 11.143 8.857 21.142 20.286 21.142 11.428 0 20.285-9.715 20.285-21.142v-32.571zm49.715 0c0-11.143-8.857-20.857-20.286-20.857-11.428 0-20.286 9.715-20.286 20.857v32.571c0 11.143 8.858 21.142 20.286 21.142 11.429 0 20.286-10 20.286-21.142v-32.571zM421.714 286c-30.857 59.142-90.285 102.572-158.571 102.572-96.571 0-160.571-84.572-160.571-176.572 0-16.857 2-33.429 6-49.714-20 33.715-29.714 72.572-29.714 111.429 0 60.286 24.857 121.715 71.429 160.857 5.143-9.714 14.857-16.286 26-16.286 10 0 19.428 5.714 24.571 14.286 5.429-8.571 14.571-14.286 24.858-14.286 10 0 19.428 5.714 24.571 14.286 5.429-8.571 14.857-14.286 24.858-14.286 10 0 19.428 5.714 24.857 14.286 5.143-8.571 14.571-14.286 24.572-14.286 10.857 0 20.857 6.572 25.714 16 43.427-36.286 68.569-92 71.426-148.286zm10.572-99.714c0-53.714-34.571-105.714-92.572-105.714-30.285 0-58.571 15.143-78.857 36.857C240.862 183.812 233.41 254 302.286 254c28.805 0 97.357-28.538 84.286 36.857 28.857-26 45.714-65.714 45.714-104.571z"]
  104623. };
  104624. var faPage4 = {
  104625. prefix: 'fab',
  104626. iconName: 'page4',
  104627. icon: [496, 512, [], "f3d7", "M248 504C111 504 0 393 0 256S111 8 248 8c20.9 0 41.3 2.6 60.7 7.5L42.3 392H248v112zm0-143.6V146.8L98.6 360.4H248zm96 31.6v92.7c45.7-19.2 84.5-51.7 111.4-92.7H344zm57.4-138.2l-21.2 8.4 21.2 8.3v-16.7zm-20.3 54.5c-6.7 0-8 6.3-8 12.9v7.7h16.2v-10c0-5.9-2.3-10.6-8.2-10.6zM496 256c0 37.3-8.2 72.7-23 104.4H344V27.3C433.3 64.8 496 153.1 496 256zM360.4 143.6h68.2V96h-13.9v32.6h-13.9V99h-13.9v29.6h-12.7V96h-13.9v47.6zm68.1 185.3H402v-11c0-15.4-5.6-25.2-20.9-25.2-15.4 0-20.7 10.6-20.7 25.9v25.3h68.2v-15zm0-103l-68.2 29.7V268l68.2 29.5v-16.6l-14.4-5.7v-26.5l14.4-5.9v-16.9zm-4.8-68.5h-35.6V184H402v-12.2h11c8.6 15.8 1.3 35.3-18.6 35.3-22.5 0-28.3-25.3-15.5-37.7l-11.6-10.6c-16.2 17.5-12.2 63.9 27.1 63.9 34 0 44.7-35.9 29.3-65.3z"]
  104628. };
  104629. var faHashnode = {
  104630. prefix: 'fab',
  104631. iconName: 'hashnode',
  104632. icon: [512, 512, [], "e499", "M35.19 171.1C-11.72 217.1-11.72 294 35.19 340.9L171.1 476.8C217.1 523.7 294 523.7 340.9 476.8L476.8 340.9C523.7 294 523.7 217.1 476.8 171.1L340.9 35.19C294-11.72 217.1-11.72 171.1 35.19L35.19 171.1zM315.5 315.5C282.6 348.3 229.4 348.3 196.6 315.5C163.7 282.6 163.7 229.4 196.6 196.6C229.4 163.7 282.6 163.7 315.5 196.6C348.3 229.4 348.3 282.6 315.5 315.5z"]
  104633. };
  104634. var faReact = {
  104635. prefix: 'fab',
  104636. iconName: 'react',
  104637. icon: [512, 512, [], "f41b", "M418.2 177.2c-5.4-1.8-10.8-3.5-16.2-5.1.9-3.7 1.7-7.4 2.5-11.1 12.3-59.6 4.2-107.5-23.1-123.3-26.3-15.1-69.2.6-112.6 38.4-4.3 3.7-8.5 7.6-12.5 11.5-2.7-2.6-5.5-5.2-8.3-7.7-45.5-40.4-91.1-57.4-118.4-41.5-26.2 15.2-34 60.3-23 116.7 1.1 5.6 2.3 11.1 3.7 16.7-6.4 1.8-12.7 3.8-18.6 5.9C38.3 196.2 0 225.4 0 255.6c0 31.2 40.8 62.5 96.3 81.5 4.5 1.5 9 3 13.6 4.3-1.5 6-2.8 11.9-4 18-10.5 55.5-2.3 99.5 23.9 114.6 27 15.6 72.4-.4 116.6-39.1 3.5-3.1 7-6.3 10.5-9.7 4.4 4.3 9 8.4 13.6 12.4 42.8 36.8 85.1 51.7 111.2 36.6 27-15.6 35.8-62.9 24.4-120.5-.9-4.4-1.9-8.9-3-13.5 3.2-.9 6.3-1.9 9.4-2.9 57.7-19.1 99.5-50 99.5-81.7 0-30.3-39.4-59.7-93.8-78.4zM282.9 92.3c37.2-32.4 71.9-45.1 87.7-36 16.9 9.7 23.4 48.9 12.8 100.4-.7 3.4-1.4 6.7-2.3 10-22.2-5-44.7-8.6-67.3-10.6-13-18.6-27.2-36.4-42.6-53.1 3.9-3.7 7.7-7.2 11.7-10.7zM167.2 307.5c5.1 8.7 10.3 17.4 15.8 25.9-15.6-1.7-31.1-4.2-46.4-7.5 4.4-14.4 9.9-29.3 16.3-44.5 4.6 8.8 9.3 17.5 14.3 26.1zm-30.3-120.3c14.4-3.2 29.7-5.8 45.6-7.8-5.3 8.3-10.5 16.8-15.4 25.4-4.9 8.5-9.7 17.2-14.2 26-6.3-14.9-11.6-29.5-16-43.6zm27.4 68.9c6.6-13.8 13.8-27.3 21.4-40.6s15.8-26.2 24.4-38.9c15-1.1 30.3-1.7 45.9-1.7s31 .6 45.9 1.7c8.5 12.6 16.6 25.5 24.3 38.7s14.9 26.7 21.7 40.4c-6.7 13.8-13.9 27.4-21.6 40.8-7.6 13.3-15.7 26.2-24.2 39-14.9 1.1-30.4 1.6-46.1 1.6s-30.9-.5-45.6-1.4c-8.7-12.7-16.9-25.7-24.6-39s-14.8-26.8-21.5-40.6zm180.6 51.2c5.1-8.8 9.9-17.7 14.6-26.7 6.4 14.5 12 29.2 16.9 44.3-15.5 3.5-31.2 6.2-47 8 5.4-8.4 10.5-17 15.5-25.6zm14.4-76.5c-4.7-8.8-9.5-17.6-14.5-26.2-4.9-8.5-10-16.9-15.3-25.2 16.1 2 31.5 4.7 45.9 8-4.6 14.8-10 29.2-16.1 43.4zM256.2 118.3c10.5 11.4 20.4 23.4 29.6 35.8-19.8-.9-39.7-.9-59.5 0 9.8-12.9 19.9-24.9 29.9-35.8zM140.2 57c16.8-9.8 54.1 4.2 93.4 39 2.5 2.2 5 4.6 7.6 7-15.5 16.7-29.8 34.5-42.9 53.1-22.6 2-45 5.5-67.2 10.4-1.3-5.1-2.4-10.3-3.5-15.5-9.4-48.4-3.2-84.9 12.6-94zm-24.5 263.6c-4.2-1.2-8.3-2.5-12.4-3.9-21.3-6.7-45.5-17.3-63-31.2-10.1-7-16.9-17.8-18.8-29.9 0-18.3 31.6-41.7 77.2-57.6 5.7-2 11.5-3.8 17.3-5.5 6.8 21.7 15 43 24.5 63.6-9.6 20.9-17.9 42.5-24.8 64.5zm116.6 98c-16.5 15.1-35.6 27.1-56.4 35.3-11.1 5.3-23.9 5.8-35.3 1.3-15.9-9.2-22.5-44.5-13.5-92 1.1-5.6 2.3-11.2 3.7-16.7 22.4 4.8 45 8.1 67.9 9.8 13.2 18.7 27.7 36.6 43.2 53.4-3.2 3.1-6.4 6.1-9.6 8.9zm24.5-24.3c-10.2-11-20.4-23.2-30.3-36.3 9.6.4 19.5.6 29.5.6 10.3 0 20.4-.2 30.4-.7-9.2 12.7-19.1 24.8-29.6 36.4zm130.7 30c-.9 12.2-6.9 23.6-16.5 31.3-15.9 9.2-49.8-2.8-86.4-34.2-4.2-3.6-8.4-7.5-12.7-11.5 15.3-16.9 29.4-34.8 42.2-53.6 22.9-1.9 45.7-5.4 68.2-10.5 1 4.1 1.9 8.2 2.7 12.2 4.9 21.6 5.7 44.1 2.5 66.3zm18.2-107.5c-2.8.9-5.6 1.8-8.5 2.6-7-21.8-15.6-43.1-25.5-63.8 9.6-20.4 17.7-41.4 24.5-62.9 5.2 1.5 10.2 3.1 15 4.7 46.6 16 79.3 39.8 79.3 58 0 19.6-34.9 44.9-84.8 61.4zm-149.7-15c25.3 0 45.8-20.5 45.8-45.8s-20.5-45.8-45.8-45.8c-25.3 0-45.8 20.5-45.8 45.8s20.5 45.8 45.8 45.8z"]
  104638. };
  104639. var faCcPaypal = {
  104640. prefix: 'fab',
  104641. iconName: 'cc-paypal',
  104642. icon: [576, 512, [], "f1f4", "M186.3 258.2c0 12.2-9.7 21.5-22 21.5-9.2 0-16-5.2-16-15 0-12.2 9.5-22 21.7-22 9.3 0 16.3 5.7 16.3 15.5zM80.5 209.7h-4.7c-1.5 0-3 1-3.2 2.7l-4.3 26.7 8.2-.3c11 0 19.5-1.5 21.5-14.2 2.3-13.4-6.2-14.9-17.5-14.9zm284 0H360c-1.8 0-3 1-3.2 2.7l-4.2 26.7 8-.3c13 0 22-3 22-18-.1-10.6-9.6-11.1-18.1-11.1zM576 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h480c26.5 0 48 21.5 48 48zM128.3 215.4c0-21-16.2-28-34.7-28h-40c-2.5 0-5 2-5.2 4.7L32 294.2c-.3 2 1.2 4 3.2 4h19c2.7 0 5.2-2.9 5.5-5.7l4.5-26.6c1-7.2 13.2-4.7 18-4.7 28.6 0 46.1-17 46.1-45.8zm84.2 8.8h-19c-3.8 0-4 5.5-4.2 8.2-5.8-8.5-14.2-10-23.7-10-24.5 0-43.2 21.5-43.2 45.2 0 19.5 12.2 32.2 31.7 32.2 9 0 20.2-4.9 26.5-11.9-.5 1.5-1 4.7-1 6.2 0 2.3 1 4 3.2 4H200c2.7 0 5-2.9 5.5-5.7l10.2-64.3c.3-1.9-1.2-3.9-3.2-3.9zm40.5 97.9l63.7-92.6c.5-.5.5-1 .5-1.7 0-1.7-1.5-3.5-3.2-3.5h-19.2c-1.7 0-3.5 1-4.5 2.5l-26.5 39-11-37.5c-.8-2.2-3-4-5.5-4h-18.7c-1.7 0-3.2 1.8-3.2 3.5 0 1.2 19.5 56.8 21.2 62.1-2.7 3.8-20.5 28.6-20.5 31.6 0 1.8 1.5 3.2 3.2 3.2h19.2c1.8-.1 3.5-1.1 4.5-2.6zm159.3-106.7c0-21-16.2-28-34.7-28h-39.7c-2.7 0-5.2 2-5.5 4.7l-16.2 102c-.2 2 1.3 4 3.2 4h20.5c2 0 3.5-1.5 4-3.2l4.5-29c1-7.2 13.2-4.7 18-4.7 28.4 0 45.9-17 45.9-45.8zm84.2 8.8h-19c-3.8 0-4 5.5-4.3 8.2-5.5-8.5-14-10-23.7-10-24.5 0-43.2 21.5-43.2 45.2 0 19.5 12.2 32.2 31.7 32.2 9.3 0 20.5-4.9 26.5-11.9-.3 1.5-1 4.7-1 6.2 0 2.3 1 4 3.2 4H484c2.7 0 5-2.9 5.5-5.7l10.2-64.3c.3-1.9-1.2-3.9-3.2-3.9zm47.5-33.3c0-2-1.5-3.5-3.2-3.5h-18.5c-1.5 0-3 1.2-3.2 2.7l-16.2 104-.3.5c0 1.8 1.5 3.5 3.5 3.5h16.5c2.5 0 5-2.9 5.2-5.7L544 191.2v-.3zm-90 51.8c-12.2 0-21.7 9.7-21.7 22 0 9.7 7 15 16.2 15 12 0 21.7-9.2 21.7-21.5.1-9.8-6.9-15.5-16.2-15.5z"]
  104643. };
  104644. var faSquarespace = {
  104645. prefix: 'fab',
  104646. iconName: 'squarespace',
  104647. icon: [512, 512, [], "f5be", "M186.12 343.34c-9.65 9.65-9.65 25.29 0 34.94 9.65 9.65 25.29 9.65 34.94 0L378.24 221.1c19.29-19.29 50.57-19.29 69.86 0s19.29 50.57 0 69.86L293.95 445.1c19.27 19.29 50.53 19.31 69.82.04l.04-.04 119.25-119.24c38.59-38.59 38.59-101.14 0-139.72-38.59-38.59-101.15-38.59-139.72 0l-157.22 157.2zm244.53-104.8c-9.65-9.65-25.29-9.65-34.93 0l-157.2 157.18c-19.27 19.29-50.53 19.31-69.82.05l-.05-.05c-9.64-9.64-25.27-9.65-34.92-.01l-.01.01c-9.65 9.64-9.66 25.28-.02 34.93l.02.02c38.58 38.57 101.14 38.57 139.72 0l157.2-157.2c9.65-9.65 9.65-25.29.01-34.93zm-261.99 87.33l157.18-157.18c9.64-9.65 9.64-25.29 0-34.94-9.64-9.64-25.27-9.64-34.91 0L133.72 290.93c-19.28 19.29-50.56 19.3-69.85.01l-.01-.01c-19.29-19.28-19.31-50.54-.03-69.84l.03-.03L218.03 66.89c-19.28-19.29-50.55-19.3-69.85-.02l-.02.02L28.93 186.14c-38.58 38.59-38.58 101.14 0 139.72 38.6 38.59 101.13 38.59 139.73.01zm-87.33-52.4c9.64 9.64 25.27 9.64 34.91 0l157.21-157.19c19.28-19.29 50.55-19.3 69.84-.02l.02.02c9.65 9.65 25.29 9.65 34.93 0 9.65-9.65 9.65-25.29 0-34.93-38.59-38.59-101.13-38.59-139.72 0L81.33 238.54c-9.65 9.64-9.65 25.28-.01 34.93h.01z"]
  104648. };
  104649. var faCcStripe = {
  104650. prefix: 'fab',
  104651. iconName: 'cc-stripe',
  104652. icon: [576, 512, [], "f1f5", "M492.4 220.8c-8.9 0-18.7 6.7-18.7 22.7h36.7c0-16-9.3-22.7-18-22.7zM375 223.4c-8.2 0-13.3 2.9-17 7l.2 52.8c3.5 3.7 8.5 6.7 16.8 6.7 13.1 0 21.9-14.3 21.9-33.4 0-18.6-9-33.2-21.9-33.1zM528 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-48zM122.2 281.1c0 25.6-20.3 40.1-49.9 40.3-12.2 0-25.6-2.4-38.8-8.1v-33.9c12 6.4 27.1 11.3 38.9 11.3 7.9 0 13.6-2.1 13.6-8.7 0-17-54-10.6-54-49.9 0-25.2 19.2-40.2 48-40.2 11.8 0 23.5 1.8 35.3 6.5v33.4c-10.8-5.8-24.5-9.1-35.3-9.1-7.5 0-12.1 2.2-12.1 7.7 0 16 54.3 8.4 54.3 50.7zm68.8-56.6h-27V275c0 20.9 22.5 14.4 27 12.6v28.9c-4.7 2.6-13.3 4.7-24.9 4.7-21.1 0-36.9-15.5-36.9-36.5l.2-113.9 34.7-7.4v30.8H191zm74 2.4c-4.5-1.5-18.7-3.6-27.1 7.4v84.4h-35.5V194.2h30.7l2.2 10.5c8.3-15.3 24.9-12.2 29.6-10.5h.1zm44.1 91.8h-35.7V194.2h35.7zm0-142.9l-35.7 7.6v-28.9l35.7-7.6zm74.1 145.5c-12.4 0-20-5.3-25.1-9l-.1 40.2-35.5 7.5V194.2h31.3l1.8 8.8c4.9-4.5 13.9-11.1 27.8-11.1 24.9 0 48.4 22.5 48.4 63.8 0 45.1-23.2 65.5-48.6 65.6zm160.4-51.5h-69.5c1.6 16.6 13.8 21.5 27.6 21.5 14.1 0 25.2-3 34.9-7.9V312c-9.7 5.3-22.4 9.2-39.4 9.2-34.6 0-58.8-21.7-58.8-64.5 0-36.2 20.5-64.9 54.3-64.9 33.7 0 51.3 28.7 51.3 65.1 0 3.5-.3 10.9-.4 12.9z"]
  104653. };
  104654. var faCreativeCommonsShare = {
  104655. prefix: 'fab',
  104656. iconName: 'creative-commons-share',
  104657. icon: [496, 512, [], "f4f2", "M247.6 8C389.4 8 496 118.1 496 256c0 147.1-118.5 248-248.4 248C113.6 504 0 394.5 0 256 0 123.1 104.7 8 247.6 8zm.8 44.7C130.2 52.7 44.7 150.6 44.7 256c0 109.8 91.2 202.8 203.7 202.8 103.2 0 202.8-81.1 202.8-202.8.1-113.8-90.2-203.3-202.8-203.3zm101 132.4c7.8 0 13.7 6.1 13.7 13.7v182.5c0 7.7-6.1 13.7-13.7 13.7H214.3c-7.7 0-13.7-6-13.7-13.7v-54h-54c-7.8 0-13.7-6-13.7-13.7V131.1c0-8.2 6.6-12.7 12.4-13.7h136.4c7.7 0 13.7 6 13.7 13.7v54h54zM159.9 300.3h40.7V198.9c0-7.4 5.8-12.6 12-13.7h55.8v-40.3H159.9v155.4zm176.2-88.1H227.6v155.4h108.5V212.2z"]
  104658. };
  104659. var faBitcoin = {
  104660. prefix: 'fab',
  104661. iconName: 'bitcoin',
  104662. icon: [512, 512, [], "f379", "M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zm-141.651-35.33c4.937-32.999-20.191-50.739-54.55-62.573l11.146-44.702-27.213-6.781-10.851 43.524c-7.154-1.783-14.502-3.464-21.803-5.13l10.929-43.81-27.198-6.781-11.153 44.686c-5.922-1.349-11.735-2.682-17.377-4.084l.031-.14-37.53-9.37-7.239 29.062s20.191 4.627 19.765 4.913c11.022 2.751 13.014 10.044 12.68 15.825l-12.696 50.925c.76.194 1.744.473 2.829.907-.907-.225-1.876-.473-2.876-.713l-17.796 71.338c-1.349 3.348-4.767 8.37-12.471 6.464.271.395-19.78-4.937-19.78-4.937l-13.51 31.147 35.414 8.827c6.588 1.651 13.045 3.379 19.4 5.006l-11.262 45.213 27.182 6.781 11.153-44.733a1038.209 1038.209 0 0 0 21.687 5.627l-11.115 44.523 27.213 6.781 11.262-45.128c46.404 8.781 81.299 5.239 95.986-36.727 11.836-33.79-.589-53.281-25.004-65.991 17.78-4.098 31.174-15.792 34.747-39.949zm-62.177 87.179c-8.41 33.79-65.308 15.523-83.755 10.943l14.944-59.899c18.446 4.603 77.6 13.717 68.811 48.956zm8.417-87.667c-7.673 30.736-55.031 15.12-70.393 11.292l13.548-54.327c15.363 3.828 64.836 10.973 56.845 43.035z"]
  104663. };
  104664. var faKeycdn = {
  104665. prefix: 'fab',
  104666. iconName: 'keycdn',
  104667. icon: [512, 512, [], "f3ba", "M63.8 409.3l60.5-59c32.1 42.8 71.1 66 126.6 67.4 30.5.7 60.3-7 86.4-22.4 5.1 5.3 18.5 19.5 20.9 22-32.2 20.7-69.6 31.1-108.1 30.2-43.3-1.1-84.6-16.7-117.7-44.4.3-.6-38.2 37.5-38.6 37.9 9.5 29.8-13.1 62.4-46.3 62.4C20.7 503.3 0 481.7 0 454.9c0-34.3 33.1-56.6 63.8-45.6zm354.9-252.4c19.1 31.3 29.6 67.4 28.7 104-1.1 44.8-19 87.5-48.6 121 .3.3 23.8 25.2 24.1 25.5 9.6-1.3 19.2 2 25.9 9.1 11.3 12 10.9 30.9-1.1 42.4-12 11.3-30.9 10.9-42.4-1.1-6.7-7-9.4-16.8-7.6-26.3-24.9-26.6-44.4-47.2-44.4-47.2 42.7-34.1 63.3-79.6 64.4-124.2.7-28.9-7.2-57.2-21.1-82.2l22.1-21zM104 53.1c6.7 7 9.4 16.8 7.6 26.3l45.9 48.1c-4.7 3.8-13.3 10.4-22.8 21.3-25.4 28.5-39.6 64.8-40.7 102.9-.7 28.9 6.1 57.2 20 82.4l-22 21.5C72.7 324 63.1 287.9 64.2 250.9c1-44.6 18.3-87.6 47.5-121.1l-25.3-26.4c-9.6 1.3-19.2-2-25.9-9.1-11.3-12-10.9-30.9 1.1-42.4C73.5 40.7 92.2 41 104 53.1zM464.9 8c26 0 47.1 22.4 47.1 48.3S490.9 104 464.9 104c-6.3.1-14-1.1-15.9-1.8l-62.9 59.7c-32.7-43.6-76.7-65.9-126.9-67.2-30.5-.7-60.3 6.8-86.2 22.4l-21.1-22C184.1 74.3 221.5 64 260 64.9c43.3 1.1 84.6 16.7 117.7 44.6l41.1-38.6c-1.5-4.7-2.2-9.6-2.2-14.5C416.5 29.7 438.9 8 464.9 8zM256.7 113.4c5.5 0 10.9.4 16.4 1.1 78.1 9.8 133.4 81.1 123.8 159.1-9.8 78.1-81.1 133.4-159.1 123.8-78.1-9.8-133.4-81.1-123.8-159.2 9.3-72.4 70.1-124.6 142.7-124.8zm-59 119.4c.6 22.7 12.2 41.8 32.4 52.2l-11 51.7h73.7l-11-51.7c20.1-10.9 32.1-29 32.4-52.2-.4-32.8-25.8-57.5-58.3-58.3-32.1.8-57.3 24.8-58.2 58.3zM256 160"]
  104668. };
  104669. var faOpera = {
  104670. prefix: 'fab',
  104671. iconName: 'opera',
  104672. icon: [496, 512, [], "f26a", "M313.9 32.7c-170.2 0-252.6 223.8-147.5 355.1 36.5 45.4 88.6 75.6 147.5 75.6 36.3 0 70.3-11.1 99.4-30.4-43.8 39.2-101.9 63-165.3 63-3.9 0-8 0-11.9-.3C104.6 489.6 0 381.1 0 248 0 111 111 0 248 0h.8c63.1.3 120.7 24.1 164.4 63.1-29-19.4-63.1-30.4-99.3-30.4zm101.8 397.7c-40.9 24.7-90.7 23.6-132-5.8 56.2-20.5 97.7-91.6 97.7-176.6 0-84.7-41.2-155.8-97.4-176.6 41.8-29.2 91.2-30.3 132.9-5 105.9 98.7 105.5 265.7-1.2 364z"]
  104673. };
  104674. var faItchIo = {
  104675. prefix: 'fab',
  104676. iconName: 'itch-io',
  104677. icon: [512, 512, [], "f83a", "M71.92 34.77C50.2 47.67 7.4 96.84 7 109.73v21.34c0 27.06 25.29 50.84 48.25 50.84 27.57 0 50.54-22.85 50.54-50 0 27.12 22.18 50 49.76 50s49-22.85 49-50c0 27.12 23.59 50 51.16 50h.5c27.57 0 51.16-22.85 51.16-50 0 27.12 21.47 50 49 50s49.76-22.85 49.76-50c0 27.12 23 50 50.54 50 23 0 48.25-23.78 48.25-50.84v-21.34c-.4-12.9-43.2-62.07-64.92-75C372.56 32.4 325.76 32 256 32S91.14 33.1 71.92 34.77zm132.32 134.39c-22 38.4-77.9 38.71-99.85.25-13.17 23.14-43.17 32.07-56 27.66-3.87 40.15-13.67 237.13 17.73 269.15 80 18.67 302.08 18.12 379.76 0 31.65-32.27 21.32-232 17.75-269.15-12.92 4.44-42.88-4.6-56-27.66-22 38.52-77.85 38.1-99.85-.24-7.1 12.49-23.05 28.94-51.76 28.94a57.54 57.54 0 0 1-51.75-28.94zm-41.58 53.77c16.47 0 31.09 0 49.22 19.78a436.91 436.91 0 0 1 88.18 0C318.22 223 332.85 223 349.31 223c52.33 0 65.22 77.53 83.87 144.45 17.26 62.15-5.52 63.67-33.95 63.73-42.15-1.57-65.49-32.18-65.49-62.79-39.25 6.43-101.93 8.79-155.55 0 0 30.61-23.34 61.22-65.49 62.79-28.42-.06-51.2-1.58-33.94-63.73 18.67-67 31.56-144.45 83.88-144.45zM256 270.79s-44.38 40.77-52.35 55.21l29-1.17v25.32c0 1.55 21.34.16 23.33.16 11.65.54 23.31 1 23.31-.16v-25.28l29 1.17c-8-14.48-52.35-55.24-52.35-55.24z"]
  104678. };
  104679. var faUmbraco = {
  104680. prefix: 'fab',
  104681. iconName: 'umbraco',
  104682. icon: [510, 512, [], "f8e8", "M255.35 8C118.36 7.83 7.14 118.72 7 255.68c-.07 137 111 248.2 248 248.27 136.85 0 247.82-110.7 248-247.67S392.34 8.17 255.35 8zm145 266q-1.14 40.68-14 65t-43.51 35q-30.61 10.7-85.45 10.47h-4.6q-54.78.22-85.44-10.47t-43.52-35q-12.85-24.36-14-65a224.81 224.81 0 0 1 0-30.71 418.37 418.37 0 0 1 3.6-43.88c1.88-13.39 3.57-22.58 5.4-32 1-4.88 1.28-6.42 1.82-8.45a5.09 5.09 0 0 1 4.9-3.89h.69l32 5a5.07 5.07 0 0 1 4.16 5 5 5 0 0 1 0 .77l-1.7 8.78q-2.41 13.25-4.84 33.68a380.62 380.62 0 0 0-2.64 42.15q-.28 40.43 8.13 59.83a43.87 43.87 0 0 0 31.31 25.18A243 243 0 0 0 250 340.6h10.25a242.64 242.64 0 0 0 57.27-5.16 43.86 43.86 0 0 0 31.15-25.23q8.53-19.42 8.13-59.78a388 388 0 0 0-2.6-42.15q-2.48-20.38-4.89-33.68l-1.69-8.78a5 5 0 0 1 0-.77 5 5 0 0 1 4.2-5l32-5h.82a5 5 0 0 1 4.9 3.89c.55 2.05.81 3.57 1.83 8.45 1.82 9.62 3.52 18.78 5.39 32a415.71 415.71 0 0 1 3.61 43.88 228.06 228.06 0 0 1-.04 30.73z"]
  104683. };
  104684. var faGalacticSenate = {
  104685. prefix: 'fab',
  104686. iconName: 'galactic-senate',
  104687. icon: [512, 512, [], "f50d", "M249.86 33.48v26.07C236.28 80.17 226 168.14 225.39 274.9c11.74-15.62 19.13-33.33 19.13-48.24v-16.88c-.03-5.32.75-10.53 2.19-15.65.65-2.14 1.39-4.08 2.62-5.82 1.23-1.75 3.43-3.79 6.68-3.79 3.24 0 5.45 2.05 6.68 3.79 1.23 1.75 1.97 3.68 2.62 5.82 1.44 5.12 2.22 10.33 2.19 15.65v16.88c0 14.91 7.39 32.62 19.13 48.24-.63-106.76-10.91-194.73-24.49-215.35V33.48h-12.28zm-26.34 147.77c-9.52 2.15-18.7 5.19-27.46 9.08 8.9 16.12 9.76 32.64 1.71 37.29-8 4.62-21.85-4.23-31.36-19.82-11.58 8.79-21.88 19.32-30.56 31.09 14.73 9.62 22.89 22.92 18.32 30.66-4.54 7.7-20.03 7.14-35.47-.96-5.78 13.25-9.75 27.51-11.65 42.42 9.68.18 18.67 2.38 26.18 6.04 17.78-.3 32.77-1.96 40.49-4.22 5.55-26.35 23.02-48.23 46.32-59.51.73-25.55 1.88-49.67 3.48-72.07zm64.96 0c1.59 22.4 2.75 46.52 3.47 72.07 23.29 11.28 40.77 33.16 46.32 59.51 7.72 2.26 22.71 3.92 40.49 4.22 7.51-3.66 16.5-5.85 26.18-6.04-1.9-14.91-5.86-29.17-11.65-42.42-15.44 8.1-30.93 8.66-35.47.96-4.57-7.74 3.6-21.05 18.32-30.66-8.68-11.77-18.98-22.3-30.56-31.09-9.51 15.59-23.36 24.44-31.36 19.82-8.05-4.65-7.19-21.16 1.71-37.29a147.49 147.49 0 0 0-27.45-9.08zm-32.48 8.6c-3.23 0-5.86 8.81-6.09 19.93h-.05v16.88c0 41.42-49.01 95.04-93.49 95.04-52 0-122.75-1.45-156.37 29.17v2.51c9.42 17.12 20.58 33.17 33.18 47.97C45.7 380.26 84.77 360.4 141.2 360c45.68 1.02 79.03 20.33 90.76 40.87.01.01-.01.04 0 .05 7.67 2.14 15.85 3.23 24.04 3.21 8.19.02 16.37-1.07 24.04-3.21.01-.01-.01-.04 0-.05 11.74-20.54 45.08-39.85 90.76-40.87 56.43.39 95.49 20.26 108.02 41.35 12.6-14.8 23.76-30.86 33.18-47.97v-2.51c-33.61-30.62-104.37-29.17-156.37-29.17-44.48 0-93.49-53.62-93.49-95.04v-16.88h-.05c-.23-11.12-2.86-19.93-6.09-19.93zm0 96.59c22.42 0 40.6 18.18 40.6 40.6s-18.18 40.65-40.6 40.65-40.6-18.23-40.6-40.65c0-22.42 18.18-40.6 40.6-40.6zm0 7.64c-18.19 0-32.96 14.77-32.96 32.96S237.81 360 256 360s32.96-14.77 32.96-32.96-14.77-32.96-32.96-32.96zm0 6.14c14.81 0 26.82 12.01 26.82 26.82s-12.01 26.82-26.82 26.82-26.82-12.01-26.82-26.82 12.01-26.82 26.82-26.82zm-114.8 66.67c-10.19.07-21.6.36-30.5 1.66.43 4.42 1.51 18.63 7.11 29.76 9.11-2.56 18.36-3.9 27.62-3.9 41.28.94 71.48 34.35 78.26 74.47l.11 4.7c10.4 1.91 21.19 2.94 32.21 2.94 11.03 0 21.81-1.02 32.21-2.94l.11-4.7c6.78-40.12 36.98-73.53 78.26-74.47 9.26 0 18.51 1.34 27.62 3.9 5.6-11.13 6.68-25.34 7.11-29.76-8.9-1.3-20.32-1.58-30.5-1.66-18.76.42-35.19 4.17-48.61 9.67-12.54 16.03-29.16 30.03-49.58 33.07-.09.02-.17.04-.27.05-.05.01-.11.04-.16.05-5.24 1.07-10.63 1.6-16.19 1.6-5.55 0-10.95-.53-16.19-1.6-.05-.01-.11-.04-.16-.05-.1-.02-.17-.04-.27-.05-20.42-3.03-37.03-17.04-49.58-33.07-13.42-5.49-29.86-9.25-48.61-9.67z"]
  104688. };
  104689. var faUbuntu = {
  104690. prefix: 'fab',
  104691. iconName: 'ubuntu',
  104692. icon: [496, 512, [], "f7df", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm52.7 93c8.8-15.2 28.3-20.5 43.5-11.7 15.3 8.8 20.5 28.3 11.7 43.6-8.8 15.2-28.3 20.5-43.5 11.7-15.3-8.9-20.5-28.4-11.7-43.6zM87.4 287.9c-17.6 0-31.9-14.3-31.9-31.9 0-17.6 14.3-31.9 31.9-31.9 17.6 0 31.9 14.3 31.9 31.9 0 17.6-14.3 31.9-31.9 31.9zm28.1 3.1c22.3-17.9 22.4-51.9 0-69.9 8.6-32.8 29.1-60.7 56.5-79.1l23.7 39.6c-51.5 36.3-51.5 112.5 0 148.8L172 370c-27.4-18.3-47.8-46.3-56.5-79zm228.7 131.7c-15.3 8.8-34.7 3.6-43.5-11.7-8.8-15.3-3.6-34.8 11.7-43.6 15.2-8.8 34.7-3.6 43.5 11.7 8.8 15.3 3.6 34.8-11.7 43.6zm.3-69.5c-26.7-10.3-56.1 6.6-60.5 35-5.2 1.4-48.9 14.3-96.7-9.4l22.5-40.3c57 26.5 123.4-11.7 128.9-74.4l46.1.7c-2.3 34.5-17.3 65.5-40.3 88.4zm-5.9-105.3c-5.4-62-71.3-101.2-128.9-74.4l-22.5-40.3c47.9-23.7 91.5-10.8 96.7-9.4 4.4 28.3 33.8 45.3 60.5 35 23.1 22.9 38 53.9 40.2 88.5l-46 .6z"]
  104693. };
  104694. var faDraft2digital = {
  104695. prefix: 'fab',
  104696. iconName: 'draft2digital',
  104697. icon: [480, 512, [], "f396", "M480 398.1l-144-82.2v64.7h-91.3c30.8-35 81.8-95.9 111.8-149.3 35.2-62.6 16.1-123.4-12.8-153.3-4.4-4.6-62.2-62.9-166-41.2-59.1 12.4-89.4 43.4-104.3 67.3-13.1 20.9-17 39.8-18.2 47.7-5.5 33 19.4 67.1 56.7 67.1 31.7 0 57.3-25.7 57.3-57.4 0-27.1-19.7-52.1-48-56.8 1.8-7.3 17.7-21.1 26.3-24.7 41.1-17.3 78 5.2 83.3 33.5 8.3 44.3-37.1 90.4-69.7 127.6C84.5 328.1 18.3 396.8 0 415.9l336-.1V480zM369.9 371l47.1 27.2-47.1 27.2zM134.2 161.4c0 12.4-10 22.4-22.4 22.4s-22.4-10-22.4-22.4 10-22.4 22.4-22.4 22.4 10.1 22.4 22.4zM82.5 380.5c25.6-27.4 97.7-104.7 150.8-169.9 35.1-43.1 40.3-82.4 28.4-112.7-7.4-18.8-17.5-30.2-24.3-35.7 45.3 2.1 68 23.4 82.2 38.3 0 0 42.4 48.2 5.8 113.3-37 65.9-110.9 147.5-128.5 166.7z"]
  104698. };
  104699. var faStripe = {
  104700. prefix: 'fab',
  104701. iconName: 'stripe',
  104702. icon: [640, 512, [], "f429", "M165 144.7l-43.3 9.2-.2 142.4c0 26.3 19.8 43.3 46.1 43.3 14.6 0 25.3-2.7 31.2-5.9v-33.8c-5.7 2.3-33.7 10.5-33.7-15.7V221h33.7v-37.8h-33.7zm89.1 51.6l-2.7-13.1H213v153.2h44.3V233.3c10.5-13.8 28.2-11.1 33.9-9.3v-40.8c-6-2.1-26.7-6-37.1 13.1zm92.3-72.3l-44.6 9.5v36.2l44.6-9.5zM44.9 228.3c0-6.9 5.8-9.6 15.1-9.7 13.5 0 30.7 4.1 44.2 11.4v-41.8c-14.7-5.8-29.4-8.1-44.1-8.1-36 0-60 18.8-60 50.2 0 49.2 67.5 41.2 67.5 62.4 0 8.2-7.1 10.9-17 10.9-14.7 0-33.7-6.1-48.6-14.2v40c16.5 7.1 33.2 10.1 48.5 10.1 36.9 0 62.3-15.8 62.3-47.8 0-52.9-67.9-43.4-67.9-63.4zM640 261.6c0-45.5-22-81.4-64.2-81.4s-67.9 35.9-67.9 81.1c0 53.5 30.3 78.2 73.5 78.2 21.2 0 37.1-4.8 49.2-11.5v-33.4c-12.1 6.1-26 9.8-43.6 9.8-17.3 0-32.5-6.1-34.5-26.9h86.9c.2-2.3.6-11.6.6-15.9zm-87.9-16.8c0-20 12.3-28.4 23.4-28.4 10.9 0 22.5 8.4 22.5 28.4zm-112.9-64.6c-17.4 0-28.6 8.2-34.8 13.9l-2.3-11H363v204.8l44.4-9.4.1-50.2c6.4 4.7 15.9 11.2 31.4 11.2 31.8 0 60.8-23.2 60.8-79.6.1-51.6-29.3-79.7-60.5-79.7zm-10.6 122.5c-10.4 0-16.6-3.8-20.9-8.4l-.3-66c4.6-5.1 11-8.8 21.2-8.8 16.2 0 27.4 18.2 27.4 41.4.1 23.9-10.9 41.8-27.4 41.8zm-126.7 33.7h44.6V183.2h-44.6z"]
  104703. };
  104704. var faHouzz = {
  104705. prefix: 'fab',
  104706. iconName: 'houzz',
  104707. icon: [448, 512, [], "f27c", "M275.9 330.7H171.3V480H17V32h109.5v104.5l305.1 85.6V480H275.9z"]
  104708. };
  104709. var faGg = {
  104710. prefix: 'fab',
  104711. iconName: 'gg',
  104712. icon: [512, 512, [], "f260", "M179.2 230.4l102.4 102.4-102.4 102.4L0 256 179.2 76.8l44.8 44.8-25.6 25.6-19.2-19.2-128 128 128 128 51.5-51.5-77.1-76.5 25.6-25.6zM332.8 76.8L230.4 179.2l102.4 102.4 25.6-25.6-77.1-76.5 51.5-51.5 128 128-128 128-19.2-19.2-25.6 25.6 44.8 44.8L512 256 332.8 76.8z"]
  104713. };
  104714. var faDhl = {
  104715. prefix: 'fab',
  104716. iconName: 'dhl',
  104717. icon: [640, 512, [], "f790", "M238 301.2h58.7L319 271h-58.7L238 301.2zM0 282.9v6.4h81.8l4.7-6.4H0zM172.9 271c-8.7 0-6-3.6-4.6-5.5 2.8-3.8 7.6-10.4 10.4-14.1 2.8-3.7 2.8-5.9-2.8-5.9h-51l-41.1 55.8h100.1c33.1 0 51.5-22.5 57.2-30.3h-68.2zm317.5-6.9l39.3-53.4h-62.2l-39.3 53.4h62.2zM95.3 271H0v6.4h90.6l4.7-6.4zm111-26.6c-2.8 3.8-7.5 10.4-10.3 14.2-1.4 2-4.1 5.5 4.6 5.5h45.6s7.3-10 13.5-18.4c8.4-11.4.7-35-29.2-35H112.6l-20.4 27.8h111.4c5.6 0 5.5 2.2 2.7 5.9zM0 301.2h73.1l4.7-6.4H0v6.4zm323 0h58.7L404 271h-58.7c-.1 0-22.3 30.2-22.3 30.2zm222 .1h95v-6.4h-90.3l-4.7 6.4zm22.3-30.3l-4.7 6.4H640V271h-72.7zm-13.5 18.3H640v-6.4h-81.5l-4.7 6.4zm-164.2-78.6l-22.5 30.6h-26.2l22.5-30.6h-58.7l-39.3 53.4H409l39.3-53.4h-58.7zm33.5 60.3s-4.3 5.9-6.4 8.7c-7.4 10-.9 21.6 23.2 21.6h94.3l22.3-30.3H423.1z"]
  104718. };
  104719. var faSquarePinterest = {
  104720. prefix: 'fab',
  104721. iconName: 'square-pinterest',
  104722. icon: [448, 512, ["pinterest-square"], "f0d3", "M448 80v352c0 26.5-21.5 48-48 48H154.4c9.8-16.4 22.4-40 27.4-59.3 3-11.5 15.3-58.4 15.3-58.4 8 15.3 31.4 28.2 56.3 28.2 74.1 0 127.4-68.1 127.4-152.7 0-81.1-66.2-141.8-151.4-141.8-106 0-162.2 71.1-162.2 148.6 0 36 19.2 80.8 49.8 95.1 4.7 2.2 7.1 1.2 8.2-3.3.8-3.4 5-20.1 6.8-27.8.6-2.5.3-4.6-1.7-7-10.1-12.3-18.3-34.9-18.3-56 0-54.2 41-106.6 110.9-106.6 60.3 0 102.6 41.1 102.6 99.9 0 66.4-33.5 112.4-77.2 112.4-24.1 0-42.1-19.9-36.4-44.4 6.9-29.2 20.3-60.7 20.3-81.8 0-53-75.5-45.7-75.5 25 0 21.7 7.3 36.5 7.3 36.5-31.4 132.8-36.1 134.5-29.6 192.6l2.2.8H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48z"]
  104723. };
  104724. var faPinterestSquare = faSquarePinterest;
  104725. var faXing = {
  104726. prefix: 'fab',
  104727. iconName: 'xing',
  104728. icon: [384, 512, [], "f168", "M162.7 210c-1.8 3.3-25.2 44.4-70.1 123.5-4.9 8.3-10.8 12.5-17.7 12.5H9.8c-7.7 0-12.1-7.5-8.5-14.4l69-121.3c.2 0 .2-.1 0-.3l-43.9-75.6c-4.3-7.8.3-14.1 8.5-14.1H100c7.3 0 13.3 4.1 18 12.2l44.7 77.5zM382.6 46.1l-144 253v.3L330.2 466c3.9 7.1.2 14.1-8.5 14.1h-65.2c-7.6 0-13.6-4-18-12.2l-92.4-168.5c3.3-5.8 51.5-90.8 144.8-255.2 4.6-8.1 10.4-12.2 17.5-12.2h65.7c8 0 12.3 6.7 8.5 14.1z"]
  104729. };
  104730. var faBlackberry = {
  104731. prefix: 'fab',
  104732. iconName: 'blackberry',
  104733. icon: [512, 512, [], "f37b", "M166 116.9c0 23.4-16.4 49.1-72.5 49.1H23.4l21-88.8h67.8c42.1 0 53.8 23.3 53.8 39.7zm126.2-39.7h-67.8L205.7 166h70.1c53.8 0 70.1-25.7 70.1-49.1.1-16.4-11.6-39.7-53.7-39.7zM88.8 208.1H21L0 296.9h70.1c56.1 0 72.5-23.4 72.5-49.1 0-16.3-11.7-39.7-53.8-39.7zm180.1 0h-67.8l-18.7 88.8h70.1c53.8 0 70.1-23.4 70.1-49.1 0-16.3-11.7-39.7-53.7-39.7zm189.3-53.8h-67.8l-18.7 88.8h70.1c53.8 0 70.1-23.4 70.1-49.1.1-16.3-11.6-39.7-53.7-39.7zm-28 137.9h-67.8L343.7 381h70.1c56.1 0 70.1-23.4 70.1-49.1 0-16.3-11.6-39.7-53.7-39.7zM240.8 346H173l-18.7 88.8h70.1c56.1 0 70.1-25.7 70.1-49.1.1-16.3-11.6-39.7-53.7-39.7z"]
  104734. };
  104735. var faCreativeCommonsPd = {
  104736. prefix: 'fab',
  104737. iconName: 'creative-commons-pd',
  104738. icon: [496, 512, [], "f4ec", "M248 8C111 8 0 119.1 0 256c0 137 111 248 248 248s248-111 248-248C496 119.1 385 8 248 8zm0 449.5c-139.2 0-235.8-138-190.2-267.9l78.8 35.1c-2.1 10.5-3.3 21.5-3.3 32.9 0 99 73.9 126.9 120.4 126.9 22.9 0 53.5-6.7 79.4-29.5L297 311.1c-5.5 6.3-17.6 16.7-36.3 16.7-37.8 0-53.7-39.9-53.9-71.9 230.4 102.6 216.5 96.5 217.9 96.8-34.3 62.4-100.6 104.8-176.7 104.8zm194.2-150l-224-100c18.8-34 54.9-30.7 74.7-11l40.4-41.6c-27.1-23.3-58-27.5-78.1-27.5-47.4 0-80.9 20.5-100.7 51.6l-74.9-33.4c36.1-54.9 98.1-91.2 168.5-91.2 111.1 0 201.5 90.4 201.5 201.5 0 18-2.4 35.4-6.8 52-.3-.1-.4-.2-.6-.4z"]
  104739. };
  104740. var faPlaystation = {
  104741. prefix: 'fab',
  104742. iconName: 'playstation',
  104743. icon: [576, 512, [], "f3df", "M570.9 372.3c-11.3 14.2-38.8 24.3-38.8 24.3L327 470.2v-54.3l150.9-53.8c17.1-6.1 19.8-14.8 5.8-19.4-13.9-4.6-39.1-3.3-56.2 2.9L327 381.1v-56.4c23.2-7.8 47.1-13.6 75.7-16.8 40.9-4.5 90.9.6 130.2 15.5 44.2 14 49.2 34.7 38 48.9zm-224.4-92.5v-139c0-16.3-3-31.3-18.3-35.6-11.7-3.8-19 7.1-19 23.4v347.9l-93.8-29.8V32c39.9 7.4 98 24.9 129.2 35.4C424.1 94.7 451 128.7 451 205.2c0 74.5-46 102.8-104.5 74.6zM43.2 410.2c-45.4-12.8-53-39.5-32.3-54.8 19.1-14.2 51.7-24.9 51.7-24.9l134.5-47.8v54.5l-96.8 34.6c-17.1 6.1-19.7 14.8-5.8 19.4 13.9 4.6 39.1 3.3 56.2-2.9l46.4-16.9v48.8c-51.6 9.3-101.4 7.3-153.9-10z"]
  104744. };
  104745. var faQuinscape = {
  104746. prefix: 'fab',
  104747. iconName: 'quinscape',
  104748. icon: [512, 512, [], "f459", "M313.6 474.6h-1a158.1 158.1 0 0 1 0-316.2c94.9 0 168.2 83.1 157 176.6 4 5.1 8.2 9.6 11.2 15.3 13.4-30.3 20.3-62.4 20.3-97.7C501.1 117.5 391.6 8 256.5 8S12 117.5 12 252.6s109.5 244.6 244.5 244.6a237.36 237.36 0 0 0 70.4-10.1c-5.2-3.5-8.9-8.1-13.3-12.5zm-.1-.1l.4.1zm78.4-168.9a99.2 99.2 0 1 0 99.2 99.2 99.18 99.18 0 0 0-99.2-99.2z"]
  104749. };
  104750. var faLess = {
  104751. prefix: 'fab',
  104752. iconName: 'less',
  104753. icon: [640, 512, [], "f41d", "M612.7 219c0-20.5 3.2-32.6 3.2-54.6 0-34.2-12.6-45.2-40.5-45.2h-20.5v24.2h6.3c14.2 0 17.3 4.7 17.3 22.1 0 16.3-1.6 32.6-1.6 51.5 0 24.2 7.9 33.6 23.6 37.3v1.6c-15.8 3.7-23.6 13.1-23.6 37.3 0 18.9 1.6 34.2 1.6 51.5 0 17.9-3.7 22.6-17.3 22.6v.5h-6.3V393h20.5c27.8 0 40.5-11 40.5-45.2 0-22.6-3.2-34.2-3.2-54.6 0-11 6.8-22.6 27.3-23.6v-27.3c-20.5-.7-27.3-12.3-27.3-23.3zm-105.6 32c-15.8-6.3-30.5-10-30.5-20.5 0-7.9 6.3-12.6 17.9-12.6s22.1 4.7 33.6 13.1l21-27.8c-13.1-10-31-20.5-55.2-20.5-35.7 0-59.9 20.5-59.9 49.4 0 25.7 22.6 38.9 41.5 46.2 16.3 6.3 32.1 11.6 32.1 22.1 0 7.9-6.3 13.1-20.5 13.1-13.1 0-26.3-5.3-40.5-16.3l-21 30.5c15.8 13.1 39.9 22.1 59.9 22.1 42 0 64.6-22.1 64.6-51s-22.5-41-43-47.8zm-358.9 59.4c-3.7 0-8.4-3.2-8.4-13.1V119.1H65.2c-28.4 0-41 11-41 45.2 0 22.6 3.2 35.2 3.2 54.6 0 11-6.8 22.6-27.3 23.6v27.3c20.5.5 27.3 12.1 27.3 23.1 0 19.4-3.2 31-3.2 53.6 0 34.2 12.6 45.2 40.5 45.2h20.5v-24.2h-6.3c-13.1 0-17.3-5.3-17.3-22.6s1.6-32.1 1.6-51.5c0-24.2-7.9-33.6-23.6-37.3v-1.6c15.8-3.7 23.6-13.1 23.6-37.3 0-18.9-1.6-34.2-1.6-51.5s3.7-22.1 17.3-22.1H93v150.8c0 32.1 11 53.1 43.1 53.1 10 0 17.9-1.6 23.6-3.7l-5.3-34.2c-3.1.8-4.6.8-6.2.8zM379.9 251c-16.3-6.3-31-10-31-20.5 0-7.9 6.3-12.6 17.9-12.6 11.6 0 22.1 4.7 33.6 13.1l21-27.8c-13.1-10-31-20.5-55.2-20.5-35.7 0-59.9 20.5-59.9 49.4 0 25.7 22.6 38.9 41.5 46.2 16.3 6.3 32.1 11.6 32.1 22.1 0 7.9-6.3 13.1-20.5 13.1-13.1 0-26.3-5.3-40.5-16.3l-20.5 30.5c15.8 13.1 39.9 22.1 59.9 22.1 42 0 64.6-22.1 64.6-51 .1-28.9-22.5-41-43-47.8zm-155-68.8c-38.4 0-75.1 32.1-74.1 82.5 0 52 34.2 82.5 79.3 82.5 18.9 0 39.9-6.8 56.2-17.9l-15.8-27.8c-11.6 6.8-22.6 10-34.2 10-21 0-37.3-10-41.5-34.2H290c.5-3.7 1.6-11 1.6-19.4.6-42.6-22.6-75.7-66.7-75.7zm-30 66.2c3.2-21 15.8-31 30.5-31 18.9 0 26.3 13.1 26.3 31h-56.8z"]
  104754. };
  104755. var faBloggerB = {
  104756. prefix: 'fab',
  104757. iconName: 'blogger-b',
  104758. icon: [448, 512, [], "f37d", "M446.6 222.7c-1.8-8-6.8-15.4-12.5-18.5-1.8-1-13-2.2-25-2.7-20.1-.9-22.3-1.3-28.7-5-10.1-5.9-12.8-12.3-12.9-29.5-.1-33-13.8-63.7-40.9-91.3-19.3-19.7-40.9-33-65.5-40.5-5.9-1.8-19.1-2.4-63.3-2.9-69.4-.8-84.8.6-108.4 10C45.9 59.5 14.7 96.1 3.3 142.9 1.2 151.7.7 165.8.2 246.8c-.6 101.5.1 116.4 6.4 136.5 15.6 49.6 59.9 86.3 104.4 94.3 14.8 2.7 197.3 3.3 216 .8 32.5-4.4 58-17.5 81.9-41.9 17.3-17.7 28.1-36.8 35.2-62.1 4.9-17.6 4.5-142.8 2.5-151.7zm-322.1-63.6c7.8-7.9 10-8.2 58.8-8.2 43.9 0 45.4.1 51.8 3.4 9.3 4.7 13.4 11.3 13.4 21.9 0 9.5-3.8 16.2-12.3 21.6-4.6 2.9-7.3 3.1-50.3 3.3-26.5.2-47.7-.4-50.8-1.2-16.6-4.7-22.8-28.5-10.6-40.8zm191.8 199.8l-14.9 2.4-77.5.9c-68.1.8-87.3-.4-90.9-2-7.1-3.1-13.8-11.7-14.9-19.4-1.1-7.3 2.6-17.3 8.2-22.4 7.1-6.4 10.2-6.6 97.3-6.7 89.6-.1 89.1-.1 97.6 7.8 12.1 11.3 9.5 31.2-4.9 39.4z"]
  104759. };
  104760. var faOpencart = {
  104761. prefix: 'fab',
  104762. iconName: 'opencart',
  104763. icon: [640, 512, [], "f23d", "M423.3 440.7c0 25.3-20.3 45.6-45.6 45.6s-45.8-20.3-45.8-45.6 20.6-45.8 45.8-45.8c25.4 0 45.6 20.5 45.6 45.8zm-253.9-45.8c-25.3 0-45.6 20.6-45.6 45.8s20.3 45.6 45.6 45.6 45.8-20.3 45.8-45.6-20.5-45.8-45.8-45.8zm291.7-270C158.9 124.9 81.9 112.1 0 25.7c34.4 51.7 53.3 148.9 373.1 144.2 333.3-5 130 86.1 70.8 188.9 186.7-166.7 319.4-233.9 17.2-233.9z"]
  104764. };
  104765. var faVine = {
  104766. prefix: 'fab',
  104767. iconName: 'vine',
  104768. icon: [384, 512, [], "f1ca", "M384 254.7v52.1c-18.4 4.2-36.9 6.1-52.1 6.1-36.9 77.4-103 143.8-125.1 156.2-14 7.9-27.1 8.4-42.7-.8C137 452 34.2 367.7 0 102.7h74.5C93.2 261.8 139 343.4 189.3 404.5c27.9-27.9 54.8-65.1 75.6-106.9-49.8-25.3-80.1-80.9-80.1-145.6 0-65.6 37.7-115.1 102.2-115.1 114.9 0 106.2 127.9 81.6 181.5 0 0-46.4 9.2-63.5-20.5 3.4-11.3 8.2-30.8 8.2-48.5 0-31.3-11.3-46.6-28.4-46.6-18.2 0-30.8 17.1-30.8 50 .1 79.2 59.4 118.7 129.9 101.9z"]
  104769. };
  104770. var faPaypal = {
  104771. prefix: 'fab',
  104772. iconName: 'paypal',
  104773. icon: [384, 512, [], "f1ed", "M111.4 295.9c-3.5 19.2-17.4 108.7-21.5 134-.3 1.8-1 2.5-3 2.5H12.3c-7.6 0-13.1-6.6-12.1-13.9L58.8 46.6c1.5-9.6 10.1-16.9 20-16.9 152.3 0 165.1-3.7 204 11.4 60.1 23.3 65.6 79.5 44 140.3-21.5 62.6-72.5 89.5-140.1 90.3-43.4.7-69.5-7-75.3 24.2zM357.1 152c-1.8-1.3-2.5-1.8-3 1.3-2 11.4-5.1 22.5-8.8 33.6-39.9 113.8-150.5 103.9-204.5 103.9-6.1 0-10.1 3.3-10.9 9.4-22.6 140.4-27.1 169.7-27.1 169.7-1 7.1 3.5 12.9 10.6 12.9h63.5c8.6 0 15.7-6.3 17.4-14.9.7-5.4-1.1 6.1 14.4-91.3 4.6-22 14.3-19.7 29.3-19.7 71 0 126.4-28.8 142.9-112.3 6.5-34.8 4.6-71.4-23.8-92.6z"]
  104774. };
  104775. var faGitlab = {
  104776. prefix: 'fab',
  104777. iconName: 'gitlab',
  104778. icon: [512, 512, [], "f296", "M503.5 204.6L502.8 202.8L433.1 21.02C431.7 17.45 429.2 14.43 425.9 12.38C423.5 10.83 420.8 9.865 417.9 9.57C415 9.275 412.2 9.653 409.5 10.68C406.8 11.7 404.4 13.34 402.4 15.46C400.5 17.58 399.1 20.13 398.3 22.9L351.3 166.9H160.8L113.7 22.9C112.9 20.13 111.5 17.59 109.6 15.47C107.6 13.35 105.2 11.72 102.5 10.7C99.86 9.675 96.98 9.295 94.12 9.587C91.26 9.878 88.51 10.83 86.08 12.38C82.84 14.43 80.33 17.45 78.92 21.02L9.267 202.8L8.543 204.6C-1.484 230.8-2.72 259.6 5.023 286.6C12.77 313.5 29.07 337.3 51.47 354.2L51.74 354.4L52.33 354.8L158.3 434.3L210.9 474L242.9 498.2C246.6 500.1 251.2 502.5 255.9 502.5C260.6 502.5 265.2 500.1 268.9 498.2L300.9 474L353.5 434.3L460.2 354.4L460.5 354.1C482.9 337.2 499.2 313.5 506.1 286.6C514.7 259.6 513.5 230.8 503.5 204.6z"]
  104779. };
  104780. var faTypo3 = {
  104781. prefix: 'fab',
  104782. iconName: 'typo3',
  104783. icon: [448, 512, [], "f42b", "M178.7 78.4c0-24.7 5.4-32.4 13.9-39.4-69.5 8.5-149.3 34-176.3 66.4-5.4 7.7-9.3 20.8-9.3 37.1C7 246 113.8 480 191.1 480c36.3 0 97.3-59.5 146.7-139-7 2.3-11.6 2.3-18.5 2.3-57.2 0-140.6-198.5-140.6-264.9zM301.5 32c-30.1 0-41.7 5.4-41.7 36.3 0 66.4 53.8 198.5 101.7 198.5 26.3 0 78.8-99.7 78.8-182.3 0-40.9-67-52.5-138.8-52.5z"]
  104784. };
  104785. var faRedditAlien = {
  104786. prefix: 'fab',
  104787. iconName: 'reddit-alien',
  104788. icon: [512, 512, [], "f281", "M440.3 203.5c-15 0-28.2 6.2-37.9 15.9-35.7-24.7-83.8-40.6-137.1-42.3L293 52.3l88.2 19.8c0 21.6 17.6 39.2 39.2 39.2 22 0 39.7-18.1 39.7-39.7s-17.6-39.7-39.7-39.7c-15.4 0-28.7 9.3-35.3 22l-97.4-21.6c-4.9-1.3-9.7 2.2-11 7.1L246.3 177c-52.9 2.2-100.5 18.1-136.3 42.8-9.7-10.1-23.4-16.3-38.4-16.3-55.6 0-73.8 74.6-22.9 100.1-1.8 7.9-2.6 16.3-2.6 24.7 0 83.8 94.4 151.7 210.3 151.7 116.4 0 210.8-67.9 210.8-151.7 0-8.4-.9-17.2-3.1-25.1 49.9-25.6 31.5-99.7-23.8-99.7zM129.4 308.9c0-22 17.6-39.7 39.7-39.7 21.6 0 39.2 17.6 39.2 39.7 0 21.6-17.6 39.2-39.2 39.2-22 .1-39.7-17.6-39.7-39.2zm214.3 93.5c-36.4 36.4-139.1 36.4-175.5 0-4-3.5-4-9.7 0-13.7 3.5-3.5 9.7-3.5 13.2 0 27.8 28.5 120 29 149 0 3.5-3.5 9.7-3.5 13.2 0 4.1 4 4.1 10.2.1 13.7zm-.8-54.2c-21.6 0-39.2-17.6-39.2-39.2 0-22 17.6-39.7 39.2-39.7 22 0 39.7 17.6 39.7 39.7-.1 21.5-17.7 39.2-39.7 39.2z"]
  104789. };
  104790. var faYahoo = {
  104791. prefix: 'fab',
  104792. iconName: 'yahoo',
  104793. icon: [512, 512, [], "f19e", "M223.69,141.06,167,284.23,111,141.06H14.93L120.76,390.19,82.19,480h94.17L317.27,141.06Zm105.4,135.79a58.22,58.22,0,1,0,58.22,58.22A58.22,58.22,0,0,0,329.09,276.85ZM394.65,32l-93,223.47H406.44L499.07,32Z"]
  104794. };
  104795. var faDailymotion = {
  104796. prefix: 'fab',
  104797. iconName: 'dailymotion',
  104798. icon: [448, 512, [], "e052", "M298.93,267a48.4,48.4,0,0,0-24.36-6.21q-19.83,0-33.44,13.27t-13.61,33.42q0,21.16,13.28,34.6t33.43,13.44q20.5,0,34.11-13.78T322,307.47A47.13,47.13,0,0,0,315.9,284,44.13,44.13,0,0,0,298.93,267ZM0,32V480H448V32ZM374.71,405.26h-53.1V381.37h-.67q-15.79,26.2-55.78,26.2-27.56,0-48.89-13.1a88.29,88.29,0,0,1-32.94-35.77q-11.6-22.68-11.59-50.89,0-27.56,11.76-50.22a89.9,89.9,0,0,1,32.93-35.78q21.18-13.09,47.72-13.1a80.87,80.87,0,0,1,29.74,5.21q13.28,5.21,25,17V153l55.79-12.09Z"]
  104799. };
  104800. var faAffiliatetheme = {
  104801. prefix: 'fab',
  104802. iconName: 'affiliatetheme',
  104803. icon: [512, 512, [], "f36b", "M159.7 237.4C108.4 308.3 43.1 348.2 14 326.6-15.2 304.9 2.8 230 54.2 159.1c51.3-70.9 116.6-110.8 145.7-89.2 29.1 21.6 11.1 96.6-40.2 167.5zm351.2-57.3C437.1 303.5 319 367.8 246.4 323.7c-25-15.2-41.3-41.2-49-73.8-33.6 64.8-92.8 113.8-164.1 133.2 49.8 59.3 124.1 96.9 207 96.9 150 0 271.6-123.1 271.6-274.9.1-8.5-.3-16.8-1-25z"]
  104804. };
  104805. var faPiedPiperPp = {
  104806. prefix: 'fab',
  104807. iconName: 'pied-piper-pp',
  104808. icon: [448, 512, [], "f1a7", "M205.3 174.6c0 21.1-14.2 38.1-31.7 38.1-7.1 0-12.8-1.2-17.2-3.7v-68c4.4-2.7 10.1-4.2 17.2-4.2 17.5 0 31.7 16.9 31.7 37.8zm52.6 67c-7.1 0-12.8 1.5-17.2 4.2v68c4.4 2.5 10.1 3.7 17.2 3.7 17.4 0 31.7-16.9 31.7-37.8 0-21.1-14.3-38.1-31.7-38.1zM448 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 48zM185 255.1c41 0 74.2-35.6 74.2-79.6 0-44-33.2-79.6-74.2-79.6-12 0-24.1 3.2-34.6 8.8h-45.7V311l51.8-10.1v-50.6c8.6 3.1 18.1 4.8 28.5 4.8zm158.4 25.3c0-44-33.2-79.6-73.9-79.6-3.2 0-6.4.2-9.6.7-3.7 12.5-10.1 23.8-19.2 33.4-13.8 15-32.2 23.8-51.8 24.8V416l51.8-10.1v-50.6c8.6 3.2 18.2 4.7 28.7 4.7 40.8 0 74-35.6 74-79.6z"]
  104809. };
  104810. var faBootstrap = {
  104811. prefix: 'fab',
  104812. iconName: 'bootstrap',
  104813. icon: [576, 512, [], "f836", "M333.5,201.4c0-22.1-15.6-34.3-43-34.3h-50.4v71.2h42.5C315.4,238.2,333.5,225,333.5,201.4z M517,188.6 c-9.5-30.9-10.9-68.8-9.8-98.1c1.1-30.5-22.7-58.5-54.7-58.5H123.7c-32.1,0-55.8,28.1-54.7,58.5c1,29.3-0.3,67.2-9.8,98.1 c-9.6,31-25.7,50.6-52.2,53.1v28.5c26.4,2.5,42.6,22.1,52.2,53.1c9.5,30.9,10.9,68.8,9.8,98.1c-1.1,30.5,22.7,58.5,54.7,58.5h328.7 c32.1,0,55.8-28.1,54.7-58.5c-1-29.3,0.3-67.2,9.8-98.1c9.6-31,25.7-50.6,52.1-53.1v-28.5C542.7,239.2,526.5,219.6,517,188.6z M300.2,375.1h-97.9V136.8h97.4c43.3,0,71.7,23.4,71.7,59.4c0,25.3-19.1,47.9-43.5,51.8v1.3c33.2,3.6,55.5,26.6,55.5,58.3 C383.4,349.7,352.1,375.1,300.2,375.1z M290.2,266.4h-50.1v78.4h52.3c34.2,0,52.3-13.7,52.3-39.5 C344.7,279.6,326.1,266.4,290.2,266.4z"]
  104814. };
  104815. var faOdnoklassniki = {
  104816. prefix: 'fab',
  104817. iconName: 'odnoklassniki',
  104818. icon: [320, 512, [], "f263", "M275.1 334c-27.4 17.4-65.1 24.3-90 26.9l20.9 20.6 76.3 76.3c27.9 28.6-17.5 73.3-45.7 45.7-19.1-19.4-47.1-47.4-76.3-76.6L84 503.4c-28.2 27.5-73.6-17.6-45.4-45.7 19.4-19.4 47.1-47.4 76.3-76.3l20.6-20.6c-24.6-2.6-62.9-9.1-90.6-26.9-32.6-21-46.9-33.3-34.3-59 7.4-14.6 27.7-26.9 54.6-5.7 0 0 36.3 28.9 94.9 28.9s94.9-28.9 94.9-28.9c26.9-21.1 47.1-8.9 54.6 5.7 12.4 25.7-1.9 38-34.5 59.1zM30.3 129.7C30.3 58 88.6 0 160 0s129.7 58 129.7 129.7c0 71.4-58.3 129.4-129.7 129.4s-129.7-58-129.7-129.4zm66 0c0 35.1 28.6 63.7 63.7 63.7s63.7-28.6 63.7-63.7c0-35.4-28.6-64-63.7-64s-63.7 28.6-63.7 64z"]
  104819. };
  104820. var faNfcSymbol = {
  104821. prefix: 'fab',
  104822. iconName: 'nfc-symbol',
  104823. icon: [576, 512, [], "e531", "M392.9 32.43C400.6 31.1 408.6 32.89 414.1 37.41C498.2 96.14 544 173.7 544 255.1C544 338.2 498.2 415.9 414.1 474.6C409.3 478.6 402.4 480.5 395.5 479.9C388.5 479.3 382 476.3 377.1 471.4L193.7 288.7C188.1 283.2 185 275.7 184.1 267.8C184.1 260 188.1 252.5 193.6 246.9C199.2 241.4 206.7 238.2 214.5 238.2C222.4 238.2 229.9 241.3 235.4 246.8L400.5 411.2C455.1 366.5 484.8 312 484.8 255.1C484.8 193.5 447.9 132.9 380.9 85.76C374.5 81.24 370.1 74.35 368.8 66.62C367.4 58.89 369.2 50.94 373.8 44.53C378.3 38.12 385.2 33.77 392.9 32.43V32.43zM186.9 479.6C179.2 480.9 171.3 479.1 164.8 474.6C81.67 415.9 35.84 338.2 35.84 255.1C35.84 173.7 81.67 96.14 164.8 37.41C170.5 33.4 177.4 31.53 184.4 32.12C191.3 32.71 197.8 35.72 202.7 40.63L386.1 223.3C391.7 228.8 394.8 236.3 394.8 244.2C394.9 251.1 391.8 259.5 386.2 265.1C380.7 270.6 373.2 273.8 365.3 273.8C357.5 273.8 349.1 270.7 344.4 265.2L179.3 100.7C124.7 145.9 95.03 199.9 95.03 255.1C95.03 318.5 131.9 379.1 198.1 426.2C205.4 430.8 209.7 437.6 211.1 445.4C212.4 453.1 210.6 461.1 206.1 467.5C201.6 473.9 194.7 478.2 186.9 479.6V479.6z"]
  104824. };
  104825. var faEthereum = {
  104826. prefix: 'fab',
  104827. iconName: 'ethereum',
  104828. icon: [320, 512, [], "f42e", "M311.9 260.8L160 353.6 8 260.8 160 0l151.9 260.8zM160 383.4L8 290.6 160 512l152-221.4-152 92.8z"]
  104829. };
  104830. var faSpeakerDeck = {
  104831. prefix: 'fab',
  104832. iconName: 'speaker-deck',
  104833. icon: [512, 512, [], "f83c", "M213.86 296H100a100 100 0 0 1 0-200h132.84a40 40 0 0 1 0 80H98c-26.47 0-26.45 40 0 40h113.82a100 100 0 0 1 0 200H40a40 40 0 0 1 0-80h173.86c26.48 0 26.46-40 0-40zM298 416a120.21 120.21 0 0 0 51.11-80h64.55a19.83 19.83 0 0 0 19.66-20V196a19.83 19.83 0 0 0-19.66-20H296.42a60.77 60.77 0 0 0 0-80h136.93c43.44 0 78.65 35.82 78.65 80v160c0 44.18-35.21 80-78.65 80z"]
  104834. };
  104835. var faCreativeCommonsNcEu = {
  104836. prefix: 'fab',
  104837. iconName: 'creative-commons-nc-eu',
  104838. icon: [496, 512, [], "f4e9", "M247.7 8C103.6 8 0 124.8 0 256c0 136.3 111.7 248 247.7 248C377.9 504 496 403.1 496 256 496 117 388.4 8 247.7 8zm.6 450.7c-112 0-203.6-92.5-203.6-202.7 0-23.2 3.7-45.2 10.9-66l65.7 29.1h-4.7v29.5h23.3c0 6.2-.4 3.2-.4 19.5h-22.8v29.5h27c11.4 67 67.2 101.3 124.6 101.3 26.6 0 50.6-7.9 64.8-15.8l-10-46.1c-8.7 4.6-28.2 10.8-47.3 10.8-28.2 0-58.1-10.9-67.3-50.2h90.3l128.3 56.8c-1.5 2.1-56.2 104.3-178.8 104.3zm-16.7-190.6l-.5-.4.9.4h-.4zm77.2-19.5h3.7v-29.5h-70.3l-28.6-12.6c2.5-5.5 5.4-10.5 8.8-14.3 12.9-15.8 31.1-22.4 51.1-22.4 18.3 0 35.3 5.4 46.1 10l11.6-47.3c-15-6.6-37-12.4-62.3-12.4-39 0-72.2 15.8-95.9 42.3-5.3 6.1-9.8 12.9-13.9 20.1l-81.6-36.1c64.6-96.8 157.7-93.6 170.7-93.6 113 0 203 90.2 203 203.4 0 18.7-2.1 36.3-6.3 52.9l-136.1-60.5z"]
  104839. };
  104840. var faPatreon = {
  104841. prefix: 'fab',
  104842. iconName: 'patreon',
  104843. icon: [512, 512, [], "f3d9", "M512 194.8c0 101.3-82.4 183.8-183.8 183.8-101.7 0-184.4-82.4-184.4-183.8 0-101.6 82.7-184.3 184.4-184.3C429.6 10.5 512 93.2 512 194.8zM0 501.5h90v-491H0v491z"]
  104844. };
  104845. var faAvianex = {
  104846. prefix: 'fab',
  104847. iconName: 'avianex',
  104848. icon: [512, 512, [], "f374", "M453.1 32h-312c-38.9 0-76.2 31.2-83.3 69.7L1.2 410.3C-5.9 448.8 19.9 480 58.9 480h312c38.9 0 76.2-31.2 83.3-69.7l56.7-308.5c7-38.6-18.8-69.8-57.8-69.8zm-58.2 347.3l-32 13.5-115.4-110c-14.7 10-29.2 19.5-41.7 27.1l22.1 64.2-17.9 12.7-40.6-61-52.4-48.1 15.7-15.4 58 31.1c9.3-10.5 20.8-22.6 32.8-34.9L203 228.9l-68.8-99.8 18.8-28.9 8.9-4.8L265 207.8l4.9 4.5c19.4-18.8 33.8-32.4 33.8-32.4 7.7-6.5 21.5-2.9 30.7 7.9 9 10.5 10.6 24.7 2.7 31.3-1.8 1.3-15.5 11.4-35.3 25.6l4.5 7.3 94.9 119.4-6.3 7.9z"]
  104849. };
  104850. var faEllo = {
  104851. prefix: 'fab',
  104852. iconName: 'ello',
  104853. icon: [496, 512, [], "f5f1", "M248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm143.84 285.2C375.31 358.51 315.79 404.8 248 404.8s-127.31-46.29-143.84-111.6c-1.65-7.44 2.48-15.71 9.92-17.36 7.44-1.65 15.71 2.48 17.36 9.92 14.05 52.91 62 90.11 116.56 90.11s102.51-37.2 116.56-90.11c1.65-7.44 9.92-12.4 17.36-9.92 7.44 1.65 12.4 9.92 9.92 17.36z"]
  104854. };
  104855. var faGofore = {
  104856. prefix: 'fab',
  104857. iconName: 'gofore',
  104858. icon: [400, 512, [], "f3a7", "M324 319.8h-13.2v34.7c-24.5 23.1-56.3 35.8-89.9 35.8-73.2 0-132.4-60.2-132.4-134.4 0-74.1 59.2-134.4 132.4-134.4 35.3 0 68.6 14 93.6 39.4l62.3-63.3C335 55.3 279.7 32 220.7 32 98 32 0 132.6 0 256c0 122.5 97 224 220.7 224 63.2 0 124.5-26.2 171-82.5-2-27.6-13.4-77.7-67.7-77.7zm-12.1-112.5H205.6v89H324c33.5 0 60.5 15.1 76 41.8v-30.6c0-65.2-40.4-100.2-88.1-100.2z"]
  104859. };
  104860. var faBimobject = {
  104861. prefix: 'fab',
  104862. iconName: 'bimobject',
  104863. icon: [448, 512, [], "f378", "M416 32H32C14.4 32 0 46.4 0 64v384c0 17.6 14.4 32 32 32h384c17.6 0 32-14.4 32-32V64c0-17.6-14.4-32-32-32zm-64 257.4c0 49.4-11.4 82.6-103.8 82.6h-16.9c-44.1 0-62.4-14.9-70.4-38.8h-.9V368H96V136h64v74.7h1.1c4.6-30.5 39.7-38.8 69.7-38.8h17.3c92.4 0 103.8 33.1 103.8 82.5v35zm-64-28.9v22.9c0 21.7-3.4 33.8-38.4 33.8h-45.3c-28.9 0-44.1-6.5-44.1-35.7v-19c0-29.3 15.2-35.7 44.1-35.7h45.3c35-.2 38.4 12 38.4 33.7z"]
  104864. };
  104865. var faFacebookF = {
  104866. prefix: 'fab',
  104867. iconName: 'facebook-f',
  104868. icon: [320, 512, [], "f39e", "M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z"]
  104869. };
  104870. var faSquareGooglePlus = {
  104871. prefix: 'fab',
  104872. iconName: 'square-google-plus',
  104873. icon: [448, 512, ["google-plus-square"], "f0d4", "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-48zM164 356c-55.3 0-100-44.7-100-100s44.7-100 100-100c27 0 49.5 9.8 67 26.2l-27.1 26.1c-7.4-7.1-20.3-15.4-39.8-15.4-34.1 0-61.9 28.2-61.9 63.2 0 34.9 27.8 63.2 61.9 63.2 39.6 0 54.4-28.5 56.8-43.1H164v-34.4h94.4c1 5 1.6 10.1 1.6 16.6 0 57.1-38.3 97.6-96 97.6zm220-81.8h-29v29h-29.2v-29h-29V245h29v-29H355v29h29v29.2z"]
  104874. };
  104875. var faGooglePlusSquare = faSquareGooglePlus;
  104876. var faMandalorian = {
  104877. prefix: 'fab',
  104878. iconName: 'mandalorian',
  104879. icon: [448, 512, [], "f50f", "M232.27 511.89c-1-3.26-1.69-15.83-1.39-24.58.55-15.89 1-24.72 1.4-28.76.64-6.2 2.87-20.72 3.28-21.38.6-1 .4-27.87-.24-33.13-.31-2.58-.63-11.9-.69-20.73-.13-16.47-.53-20.12-2.73-24.76-1.1-2.32-1.23-3.84-1-11.43a92.38 92.38 0 0 0-.34-12.71c-2-13-3.46-27.7-3.25-33.9s.43-7.15 2.06-9.67c3.05-4.71 6.51-14 8.62-23.27 2.26-9.86 3.88-17.18 4.59-20.74a109.54 109.54 0 0 1 4.42-15.05c2.27-6.25 2.49-15.39.37-15.39-.3 0-1.38 1.22-2.41 2.71s-4.76 4.8-8.29 7.36c-8.37 6.08-11.7 9.39-12.66 12.58s-1 7.23-.16 7.76c.34.21 1.29 2.4 2.11 4.88a28.83 28.83 0 0 1 .72 15.36c-.39 1.77-1 5.47-1.46 8.23s-1 6.46-1.25 8.22a9.85 9.85 0 0 1-1.55 4.26c-1 1-1.14.91-2.05-.53a14.87 14.87 0 0 1-1.44-4.75c-.25-1.74-1.63-7.11-3.08-11.93-3.28-10.9-3.52-16.15-1-21a14.24 14.24 0 0 0 1.67-4.61c0-2.39-2.2-5.32-7.41-9.89-7-6.18-8.63-7.92-10.23-11.3-1.71-3.6-3.06-4.06-4.54-1.54-1.78 3-2.6 9.11-3 22l-.34 12.19 2 2.25c3.21 3.7 12.07 16.45 13.78 19.83 3.41 6.74 4.34 11.69 4.41 23.56s.95 22.75 2 24.71c.36.66.51 1.35.34 1.52s.41 2.09 1.29 4.27a38.14 38.14 0 0 1 2.06 9 91 91 0 0 0 1.71 10.37c2.23 9.56 2.77 14.08 2.39 20.14-.2 3.27-.53 11.07-.73 17.32-1.31 41.76-1.85 58-2 61.21-.12 2-.39 11.51-.6 21.07-.36 16.3-1.3 27.37-2.42 28.65-.64.73-8.07-4.91-12.52-9.49-3.75-3.87-4-4.79-2.83-9.95.7-3 2.26-18.29 3.33-32.62.36-4.78.81-10.5 1-12.71.83-9.37 1.66-20.35 2.61-34.78.56-8.46 1.33-16.44 1.72-17.73s.89-9.89 1.13-19.11l.43-16.77-2.26-4.3c-1.72-3.28-4.87-6.94-13.22-15.34-6-6.07-11.84-12.3-12.91-13.85l-1.95-2.81.75-10.9c1.09-15.71 1.1-48.57 0-59.06l-.89-8.7-3.28-4.52c-5.86-8.08-5.8-7.75-6.22-33.27-.1-6.07-.38-11.5-.63-12.06-.83-1.87-3.05-2.66-8.54-3.05-8.86-.62-11-1.9-23.85-14.55-6.15-6-12.34-12-13.75-13.19-2.81-2.42-2.79-2-.56-9.63l1.35-4.65-1.69-3a32.22 32.22 0 0 0-2.59-4.07c-1.33-1.51-5.5-10.89-6-13.49a4.24 4.24 0 0 1 .87-3.9c2.23-2.86 3.4-5.68 4.45-10.73 2.33-11.19 7.74-26.09 10.6-29.22 3.18-3.47 7.7-1 9.41 5 1.34 4.79 1.37 9.79.1 18.55a101.2 101.2 0 0 0-1 11.11c0 4 .19 4.69 2.25 7.39 3.33 4.37 7.73 7.41 15.2 10.52a18.67 18.67 0 0 1 4.72 2.85c11.17 10.72 18.62 16.18 22.95 16.85 5.18.8 8 4.54 10 13.39 1.31 5.65 4 11.14 5.46 11.14a9.38 9.38 0 0 0 3.33-1.39c2-1.22 2.25-1.73 2.25-4.18a132.88 132.88 0 0 0-2-17.84c-.37-1.66-.78-4.06-.93-5.35s-.61-3.85-1-5.69c-2.55-11.16-3.65-15.46-4.1-16-1.55-2-4.08-10.2-4.93-15.92-1.64-11.11-4-14.23-12.91-17.39A43.15 43.15 0 0 1 165.24 78c-1.15-1-4-3.22-6.35-5.06s-4.41-3.53-4.6-3.76a22.7 22.7 0 0 0-2.69-2c-6.24-4.22-8.84-7-11.26-12l-2.44-5-.22-13-.22-13 6.91-6.55c3.95-3.75 8.48-7.35 10.59-8.43 3.31-1.69 4.45-1.89 11.37-2 8.53-.19 10.12 0 11.66 1.56s1.36 6.4-.29 8.5a6.66 6.66 0 0 0-1.34 2.32c0 .58-2.61 4.91-5.42 9a30.39 30.39 0 0 0-2.37 6.82c20.44 13.39 21.55 3.77 14.07 29L194 66.92c3.11-8.66 6.47-17.26 8.61-26.22.29-7.63-12-4.19-15.4-8.68-2.33-5.93 3.13-14.18 6.06-19.2 1.6-2.34 6.62-4.7 8.82-4.15.88.22 4.16-.35 7.37-1.28a45.3 45.3 0 0 1 7.55-1.68 29.57 29.57 0 0 0 6-1.29c3.65-1.11 4.5-1.17 6.35-.4a29.54 29.54 0 0 0 5.82 1.36 18.18 18.18 0 0 1 6 1.91 22.67 22.67 0 0 0 5 2.17c2.51.68 3 .57 7.05-1.67l4.35-2.4L268.32 5c10.44-.4 10.81-.47 15.26-2.68L288.16 0l2.46 1.43c1.76 1 3.14 2.73 4.85 6 2.36 4.51 2.38 4.58 1.37 7.37-.88 2.44-.89 3.3-.1 6.39a35.76 35.76 0 0 0 2.1 5.91 13.55 13.55 0 0 1 1.31 4c.31 4.33 0 5.3-2.41 6.92-2.17 1.47-7 7.91-7 9.34a14.77 14.77 0 0 1-1.07 3c-5 11.51-6.76 13.56-14.26 17-9.2 4.2-12.3 5.19-16.21 5.19-3.1 0-4 .25-4.54 1.26a18.33 18.33 0 0 1-4.09 3.71 13.62 13.62 0 0 0-4.38 4.78 5.89 5.89 0 0 1-2.49 2.91 6.88 6.88 0 0 0-2.45 1.71 67.62 67.62 0 0 1-7 5.38c-3.33 2.34-6.87 5-7.87 6A7.27 7.27 0 0 1 224 100a5.76 5.76 0 0 0-2.13 1.65c-1.31 1.39-1.49 2.11-1.14 4.6a36.45 36.45 0 0 0 1.42 5.88c1.32 3.8 1.31 7.86 0 10.57s-.89 6.65 1.35 9.59c2 2.63 2.16 4.56.71 8.84a33.45 33.45 0 0 0-1.06 8.91c0 4.88.22 6.28 1.46 8.38s1.82 2.48 3.24 2.32c2-.23 2.3-1.05 4.71-12.12 2.18-10 3.71-11.92 13.76-17.08 2.94-1.51 7.46-4 10-5.44s6.79-3.69 9.37-4.91a40.09 40.09 0 0 0 15.22-11.67c7.11-8.79 10-16.22 12.85-33.3a18.37 18.37 0 0 1 2.86-7.73 20.39 20.39 0 0 0 2.89-7.31c1-5.3 2.85-9.08 5.58-11.51 4.7-4.18 6-1.09 4.59 10.87-.46 3.86-1.1 10.33-1.44 14.38l-.61 7.36 4.45 4.09 4.45 4.09.11 8.42c.06 4.63.47 9.53.92 10.89l.82 2.47-6.43 6.28c-8.54 8.33-12.88 13.93-16.76 21.61-1.77 3.49-3.74 7.11-4.38 8-2.18 3.11-6.46 13-8.76 20.26l-2.29 7.22-7 6.49c-3.83 3.57-8 7.25-9.17 8.17-3.05 2.32-4.26 5.15-4.26 10a14.62 14.62 0 0 0 1.59 7.26 42 42 0 0 1 2.09 4.83 9.28 9.28 0 0 0 1.57 2.89c1.4 1.59 1.92 16.12.83 23.22-.68 4.48-3.63 12-4.7 12-1.79 0-4.06 9.27-5.07 20.74-.18 2-.62 5.94-1 8.7s-1 10-1.35 16.05c-.77 12.22-.19 18.77 2 23.15 3.41 6.69.52 12.69-11 22.84l-4 3.49.07 5.19a40.81 40.81 0 0 0 1.14 8.87c4.61 16 4.73 16.92 4.38 37.13-.46 26.4-.26 40.27.63 44.15a61.31 61.31 0 0 1 1.08 7c.17 2 .66 5.33 1.08 7.36.47 2.26.78 11 .79 22.74v19.06l-1.81 2.63c-2.71 3.91-15.11 13.54-15.49 12.29zm29.53-45.11c-.18-.3-.33-6.87-.33-14.59 0-14.06-.89-27.54-2.26-34.45-.4-2-.81-9.7-.9-17.06-.15-11.93-1.4-24.37-2.64-26.38-.66-1.07-3-17.66-3-21.3 0-4.23 1-6 5.28-9.13s4.86-3.14 5.48-.72c.28 1.1 1.45 5.62 2.6 10 3.93 15.12 4.14 16.27 4.05 21.74-.1 5.78-.13 6.13-1.74 17.73-1 7.07-1.17 12.39-1 28.43.17 19.4-.64 35.73-2 41.27-.71 2.78-2.8 5.48-3.43 4.43zm-71-37.58a101 101 0 0 1-1.73-10.79 100.5 100.5 0 0 0-1.73-10.79 37.53 37.53 0 0 1-1-6.49c-.31-3.19-.91-7.46-1.33-9.48-1-4.79-3.35-19.35-3.42-21.07 0-.74-.34-4.05-.7-7.36-.67-6.21-.84-27.67-.22-28.29 1-1 6.63 2.76 11.33 7.43l5.28 5.25-.45 6.47c-.25 3.56-.6 10.23-.78 14.83s-.49 9.87-.67 11.71-.61 9.36-.94 16.72c-.79 17.41-1.94 31.29-2.65 32a.62.62 0 0 1-1-.14zm-87.18-266.59c21.07 12.79 17.84 14.15 28.49 17.66 13 4.29 18.87 7.13 23.15 16.87C111.6 233.28 86.25 255 78.55 268c-31 52-6 101.59 62.75 87.21-14.18 29.23-78 28.63-98.68-4.9-24.68-39.95-22.09-118.3 61-187.66zm210.79 179c56.66 6.88 82.32-37.74 46.54-89.23 0 0-26.87-29.34-64.28-68 3-15.45 9.49-32.12 30.57-53.82 89.2 63.51 92 141.61 92.46 149.36 4.3 70.64-78.7 91.18-105.29 61.71z"]
  104880. };
  104881. var faFirstOrderAlt = {
  104882. prefix: 'fab',
  104883. iconName: 'first-order-alt',
  104884. icon: [496, 512, [], "f50a", "M248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm0 488.21C115.34 496.21 7.79 388.66 7.79 256S115.34 15.79 248 15.79 488.21 123.34 488.21 256 380.66 496.21 248 496.21zm0-459.92C126.66 36.29 28.29 134.66 28.29 256S126.66 475.71 248 475.71 467.71 377.34 467.71 256 369.34 36.29 248 36.29zm0 431.22c-116.81 0-211.51-94.69-211.51-211.51S131.19 44.49 248 44.49 459.51 139.19 459.51 256 364.81 467.51 248 467.51zm186.23-162.98a191.613 191.613 0 0 1-20.13 48.69l-74.13-35.88 61.48 54.82a193.515 193.515 0 0 1-37.2 37.29l-54.8-61.57 35.88 74.27a190.944 190.944 0 0 1-48.63 20.23l-27.29-78.47 4.79 82.93c-8.61 1.18-17.4 1.8-26.33 1.8s-17.72-.62-26.33-1.8l4.76-82.46-27.15 78.03a191.365 191.365 0 0 1-48.65-20.2l35.93-74.34-54.87 61.64a193.85 193.85 0 0 1-37.22-37.28l61.59-54.9-74.26 35.93a191.638 191.638 0 0 1-20.14-48.69l77.84-27.11-82.23 4.76c-1.16-8.57-1.78-17.32-1.78-26.21 0-9 .63-17.84 1.82-26.51l82.38 4.77-77.94-27.16a191.726 191.726 0 0 1 20.23-48.67l74.22 35.92-61.52-54.86a193.85 193.85 0 0 1 37.28-37.22l54.76 61.53-35.83-74.17a191.49 191.49 0 0 1 48.65-20.13l26.87 77.25-4.71-81.61c8.61-1.18 17.39-1.8 26.32-1.8s17.71.62 26.32 1.8l-4.74 82.16 27.05-77.76c17.27 4.5 33.6 11.35 48.63 20.17l-35.82 74.12 54.72-61.47a193.13 193.13 0 0 1 37.24 37.23l-61.45 54.77 74.12-35.86a191.515 191.515 0 0 1 20.2 48.65l-77.81 27.1 82.24-4.75c1.19 8.66 1.82 17.5 1.82 26.49 0 8.88-.61 17.63-1.78 26.19l-82.12-4.75 77.72 27.09z"]
  104885. };
  104886. var faOsi = {
  104887. prefix: 'fab',
  104888. iconName: 'osi',
  104889. icon: [512, 512, [], "f41a", "M8 266.44C10.3 130.64 105.4 34 221.8 18.34c138.8-18.6 255.6 75.8 278 201.1 21.3 118.8-44 230-151.6 274-9.3 3.8-14.4 1.7-18-7.7q-26.7-69.45-53.4-139c-3.1-8.1-1-13.2 7-16.8 24.2-11 39.3-29.4 43.3-55.8a71.47 71.47 0 0 0-64.5-82.2c-39-3.4-71.8 23.7-77.5 59.7-5.2 33 11.1 63.7 41.9 77.7 9.6 4.4 11.5 8.6 7.8 18.4q-26.85 69.9-53.7 139.9c-2.6 6.9-8.3 9.3-15.5 6.5-52.6-20.3-101.4-61-130.8-119-24.9-49.2-25.2-87.7-26.8-108.7zm20.9-1.9c.4 6.6.6 14.3 1.3 22.1 6.3 71.9 49.6 143.5 131 183.1 3.2 1.5 4.4.8 5.6-2.3q22.35-58.65 45-117.3c1.3-3.3.6-4.8-2.4-6.7-31.6-19.9-47.3-48.5-45.6-86 1-21.6 9.3-40.5 23.8-56.3 30-32.7 77-39.8 115.5-17.6a91.64 91.64 0 0 1 45.2 90.4c-3.6 30.6-19.3 53.9-45.7 69.8-2.7 1.6-3.5 2.9-2.3 6q22.8 58.8 45.2 117.7c1.2 3.1 2.4 3.8 5.6 2.3 35.5-16.6 65.2-40.3 88.1-72 34.8-48.2 49.1-101.9 42.3-161-13.7-117.5-119.4-214.8-255.5-198-106.1 13-195.3 102.5-197.1 225.8z"]
  104890. };
  104891. var faGoogleWallet = {
  104892. prefix: 'fab',
  104893. iconName: 'google-wallet',
  104894. icon: [448, 512, [], "f1ee", "M156.8 126.8c37.6 60.6 64.2 113.1 84.3 162.5-8.3 33.8-18.8 66.5-31.3 98.3-13.2-52.3-26.5-101.3-56-148.5 6.5-36.4 2.3-73.6 3-112.3zM109.3 200H16.1c-6.5 0-10.5 7.5-6.5 12.7C51.8 267 81.3 330.5 101.3 400h103.5c-16.2-69.7-38.7-133.7-82.5-193.5-3-4-8-6.5-13-6.5zm47.8-88c68.5 108 130 234.5 138.2 368H409c-12-138-68.4-265-143.2-368H157.1zm251.8-68.5c-1.8-6.8-8.2-11.5-15.2-11.5h-88.3c-5.3 0-9 5-7.8 10.3 13.2 46.5 22.3 95.5 26.5 146 48.2 86.2 79.7 178.3 90.6 270.8 15.8-60.5 25.3-133.5 25.3-203 0-73.6-12.1-145.1-31.1-212.6z"]
  104895. };
  104896. var faDAndDBeyond = {
  104897. prefix: 'fab',
  104898. iconName: 'd-and-d-beyond',
  104899. icon: [640, 512, [], "f6ca", "M313.8 241.5c13.8 0 21-10.1 24.8-17.9-1-1.1-5-4.2-7.4-6.6-2.4 4.3-8.2 10.7-13.9 10.7-10.2 0-15.4-14.7-3.2-26.6-.5-.2-4.3-1.8-8 2.4 0-3 1-5.1 2.1-6.6-3.5 1.3-9.8 5.6-11.4 7.9.2-5.8 1.6-7.5.6-9l-.2-.2s-8.5 5.6-9.3 14.7c0 0 1.1-1.6 2.1-1.9.6-.3 1.3 0 .6 1.9-.2.6-5.8 15.7 5.1 26-.6-1.6-1.9-7.6 2.4-1.9-.3.1 5.8 7.1 15.7 7.1zm52.4-21.1c0-4-4.9-4.4-5.6-4.5 2 3.9.9 7.5.2 9 2.5-.4 5.4-1.6 5.4-4.5zm10.3 5.2c0-6.4-6.2-11.4-13.5-10.7 8 1.3 5.6 13.8-5 11.4 3.7-2.6 3.2-9.9-1.3-12.5 1.4 4.2-3 8.2-7.4 4.6-2.4-1.9-8-6.6-10.6-8.6-2.4-2.1-5.5-1-6.6-1.8-1.3-1.1-.5-3.8-2.2-5-1.6-.8-3-.3-4.8-1-1.6-.6-2.7-1.9-2.6-3.5-2.5 4.4 3.4 6.3 4.5 8.5 1 1.9-.8 4.8 4 8.5 14.8 11.6 9.1 8 10.4 18.1.6 4.3 4.2 6.7 6.4 7.4-2.1-1.9-2.9-6.4 0-9.3 0 13.9 19.2 13.3 23.1 6.4-2.4 1.1-7-.2-9-1.9 7.7 1 14.2-4.1 14.6-10.6zm-39.4-18.4c2 .8 1.6.7 6.4 4.5 10.2-24.5 21.7-15.7 22-15.5 2.2-1.9 9.8-3.8 13.8-2.7-2.4-2.7-7.5-6.2-13.3-6.2-4.7 0-7.4 2.2-8 1.3-.8-1.4 3.2-3.4 3.2-3.4-5.4.2-9.6 6.7-11.2 5.9-1.1-.5 1.4-3.7 1.4-3.7-5.1 2.9-9.3 9.1-10.2 13 4.6-5.8 13.8-9.8 19.7-9-10.5.5-19.5 9.7-23.8 15.8zm242.5 51.9c-20.7 0-40 1.3-50.3 2.1l7.4 8.2v77.2l-7.4 8.2c10.4.8 30.9 2.1 51.6 2.1 42.1 0 59.1-20.7 59.1-48.9 0-29.3-23.2-48.9-60.4-48.9zm-15.1 75.6v-53.3c30.1-3.3 46.8 3.8 46.8 26.3 0 25.6-21.4 30.2-46.8 27zM301.6 181c-1-3.4-.2-6.9 1.1-9.4 1 3 2.6 6.4 7.5 9-.5-2.4-.2-5.6.5-8-1.4-5.4 2.1-9.9 6.4-9.9 6.9 0 8.5 8.8 4.7 14.4 2.1 3.2 5.5 5.6 7.7 7.8 3.2-3.7 5.5-9.5 5.5-13.8 0-8.2-5.5-15.9-16.7-16.5-20-.9-20.2 16.6-20 18.9.5 5.2 3.4 7.8 3.3 7.5zm-.4 6c-.5 1.8-7 3.7-10.2 6.9 4.8-1 7-.2 7.8 1.8.5 1.4-.2 3.4-.5 5.6 1.6-1.8 7-5.5 11-6.2-1-.3-3.4-.8-4.3-.8 2.9-3.4 9.3-4.5 12.8-3.7-2.2-.2-6.7 1.1-8.5 2.6 1.6.3 3 .6 4.3 1.1-2.1.8-4.8 3.4-5.8 6.1 7-5 13.1 5.2 7 8.2.8.2 2.7 0 3.5-.5-.3 1.1-1.9 3-3 3.4 2.9 0 7-1.9 8.2-4.6 0 0-1.8.6-2.6-.2s.3-4.3.3-4.3c-2.3 2.9-3.4-1.3-1.3-4.2-1-.3-3.5-.6-4.6-.5 3.2-1.1 10.4-1.8 11.2-.3.6 1.1-1 3.4-1 3.4 4-.5 8.3 1.1 6.7 5.1 2.9-1.4 5.5-5.9 4.8-10.4-.3 1-1.6 2.4-2.9 2.7.2-1.4-1-2.2-1.9-2.6 1.7-9.6-14.6-14.2-14.1-23.9-1 1.3-1.8 5-.8 7.1 2.7 3.2 8.7 6.7 10.1 12.2-2.6-6.4-15.1-11.4-14.6-20.2-1.6 1.6-2.6 7.8-1.3 11 2.4 1.4 4.5 3.8 4.8 6.1-2.2-5.1-11.4-6.1-13.9-12.2-.6 2.2-.3 5 1 6.7 0 0-2.2-.8-7-.6 1.7.6 5.1 3.5 4.8 5.2zm25.9 7.4c-2.7 0-3.5-2.1-4.2-4.3 3.3 1.3 4.2 4.3 4.2 4.3zm38.9 3.7l-1-.6c-1.1-1-2.9-1.4-4.7-1.4-2.9 0-5.8 1.3-7.5 3.4-.8.8-1.4 1.8-2.1 2.6v15.7c3.5 2.6 7.1-2.9 3-7.2 1.5.3 4.6 2.7 5.1 3.2 0 0 2.6-.5 5-.5 2.1 0 3.9.3 5.6 1.1V196c-1.1.5-2.2 1-2.7 1.4zM79.9 305.9c17.2-4.6 16.2-18 16.2-19.9 0-20.6-24.1-25-37-25H3l8.3 8.6v29.5H0l11.4 14.6V346L3 354.6c61.7 0 73.8 1.5 86.4-5.9 6.7-4 9.9-9.8 9.9-17.6 0-5.1 2.6-18.8-19.4-25.2zm-41.3-27.5c20 0 29.6-.8 29.6 9.1v3c0 12.1-19 8.8-29.6 8.8zm0 59.2V315c12.2 0 32.7-2.3 32.7 8.8v4.5h.2c0 11.2-12.5 9.3-32.9 9.3zm101.2-19.3l23.1.2v-.2l14.1-21.2h-37.2v-14.9h52.4l-14.1-21v-.2l-73.5.2 7.4 8.2v77.1l-7.4 8.2h81.2l14.1-21.2-60.1.2zm214.7-60.1c-73.9 0-77.5 99.3-.3 99.3 77.9 0 74.1-99.3.3-99.3zm-.3 77.5c-37.4 0-36.9-55.3.2-55.3 36.8.1 38.8 55.3-.2 55.3zm-91.3-8.3l44.1-66.2h-41.7l6.1 7.2-20.5 37.2h-.3l-21-37.2 6.4-7.2h-44.9l44.1 65.8.2 19.4-7.7 8.2h42.6l-7.2-8.2zm-28.4-151.3c1.6 1.3 2.9 2.4 2.9 6.6v38.8c0 4.2-.8 5.3-2.7 6.4-.1.1-7.5 4.5-7.9 4.6h35.1c10 0 17.4-1.5 26-8.6-.6-5 .2-9.5.8-12 0-.2-1.8 1.4-2.7 3.5 0-5.7 1.6-15.4 9.6-20.5-.1 0-3.7-.8-9 1.1 2-3.1 10-7.9 10.4-7.9-8.2-26-38-22.9-32.2-22.9-30.9 0-32.6.3-39.9-4 .1.8.5 8.2 9.6 14.9zm21.5 5.5c4.6 0 23.1-3.3 23.1 17.3 0 20.7-18.4 17.3-23.1 17.3zm228.9 79.6l7 8.3V312h-.3c-5.4-14.4-42.3-41.5-45.2-50.9h-31.6l7.4 8.5v76.9l-7.2 8.3h39l-7.4-8.2v-47.4h.3c3.7 10.6 44.5 42.9 48.5 55.6h21.3v-85.2l7.4-8.3zm-106.7-96.1c-32.2 0-32.8.2-39.9-4 .1.7.5 8.3 9.6 14.9 3.1 2 2.9 4.3 2.9 9.5 1.8-1.1 3.8-2.2 6.1-3-1.1 1.1-2.7 2.7-3.5 4.5 1-1.1 7.5-5.1 14.6-3.5-1.6.3-4 1.1-6.1 2.9.1 0 2.1-1.1 7.5-.3v-4.3c4.7 0 23.1-3.4 23.1 17.3 0 20.5-18.5 17.3-19.7 17.3 5.7 4.4 5.8 12 2.2 16.3h.3c33.4 0 36.7-27.3 36.7-34 0-3.8-1.1-32-33.8-33.6z"]
  104900. };
  104901. var faPeriscope = {
  104902. prefix: 'fab',
  104903. iconName: 'periscope',
  104904. icon: [448, 512, [], "f3da", "M370 63.6C331.4 22.6 280.5 0 226.6 0 111.9 0 18.5 96.2 18.5 214.4c0 75.1 57.8 159.8 82.7 192.7C137.8 455.5 192.6 512 226.6 512c41.6 0 112.9-94.2 120.9-105 24.6-33.1 82-118.3 82-192.6 0-56.5-21.1-110.1-59.5-150.8zM226.6 493.9c-42.5 0-190-167.3-190-279.4 0-107.4 83.9-196.3 190-196.3 100.8 0 184.7 89 184.7 196.3.1 112.1-147.4 279.4-184.7 279.4zM338 206.8c0 59.1-51.1 109.7-110.8 109.7-100.6 0-150.7-108.2-92.9-181.8v.4c0 24.5 20.1 44.4 44.8 44.4 24.7 0 44.8-19.9 44.8-44.4 0-18.2-11.1-33.8-26.9-40.7 76.6-19.2 141 39.3 141 112.4z"]
  104905. };
  104906. var faFulcrum = {
  104907. prefix: 'fab',
  104908. iconName: 'fulcrum',
  104909. icon: [320, 512, [], "f50b", "M95.75 164.14l-35.38 43.55L25 164.14l35.38-43.55zM144.23 0l-20.54 198.18L72.72 256l51 57.82L144.23 512V300.89L103.15 256l41.08-44.89zm79.67 164.14l35.38 43.55 35.38-43.55-35.38-43.55zm-48.48 47L216.5 256l-41.08 44.89V512L196 313.82 247 256l-51-57.82L175.42 0z"]
  104910. };
  104911. var faCloudscale = {
  104912. prefix: 'fab',
  104913. iconName: 'cloudscale',
  104914. icon: [448, 512, [], "f383", "M318.1 154l-9.4 7.6c-22.5-19.3-51.5-33.6-83.3-33.6C153.8 128 96 188.8 96 260.3c0 6.6.4 13.1 1.4 19.4-2-56 41.8-97.4 92.6-97.4 24.2 0 46.2 9.4 62.6 24.7l-25.2 20.4c-8.3-.9-16.8 1.8-23.1 8.1-11.1 11-11.1 28.9 0 40 11.1 11 28.9 11 40 0 6.3-6.3 9-14.9 8.1-23.1l75.2-88.8c6.3-6.5-3.3-15.9-9.5-9.6zm-83.8 111.5c-5.6 5.5-14.6 5.5-20.2 0-5.6-5.6-5.6-14.6 0-20.2s14.6-5.6 20.2 0 5.6 14.7 0 20.2zM224 32C100.5 32 0 132.5 0 256s100.5 224 224 224 224-100.5 224-224S347.5 32 224 32zm0 384c-88.2 0-160-71.8-160-160S135.8 96 224 96s160 71.8 160 160-71.8 160-160 160z"]
  104915. };
  104916. var faForumbee = {
  104917. prefix: 'fab',
  104918. iconName: 'forumbee',
  104919. icon: [448, 512, [], "f211", "M5.8 309.7C2 292.7 0 275.5 0 258.3 0 135 99.8 35 223.1 35c16.6 0 33.3 2 49.3 5.5C149 87.5 51.9 186 5.8 309.7zm392.9-189.2C385 103 369 87.8 350.9 75.2c-149.6 44.3-266.3 162.1-309.7 312 12.5 18.1 28 35.6 45.2 49 43.1-151.3 161.2-271.7 312.3-315.7zm15.8 252.7c15.2-25.1 25.4-53.7 29.5-82.8-79.4 42.9-145 110.6-187.6 190.3 30-4.4 58.9-15.3 84.6-31.3 35 13.1 70.9 24.3 107 33.6-9.3-36.5-20.4-74.5-33.5-109.8zm29.7-145.5c-2.6-19.5-7.9-38.7-15.8-56.8C290.5 216.7 182 327.5 137.1 466c18.1 7.6 37 12.5 56.6 15.2C240 367.1 330.5 274.4 444.2 227.7z"]
  104920. };
  104921. var faMizuni = {
  104922. prefix: 'fab',
  104923. iconName: 'mizuni',
  104924. icon: [496, 512, [], "f3cc", "M248 8C111 8 0 119.1 0 256c0 137 111 248 248 248s248-111 248-248C496 119.1 385 8 248 8zm-80 351.9c-31.4 10.6-58.8 27.3-80 48.2V136c0-22.1 17.9-40 40-40s40 17.9 40 40v223.9zm120-9.9c-12.9-2-26.2-3.1-39.8-3.1-13.8 0-27.2 1.1-40.2 3.1V136c0-22.1 17.9-40 40-40s40 17.9 40 40v214zm120 57.7c-21.2-20.8-48.6-37.4-80-48V136c0-22.1 17.9-40 40-40s40 17.9 40 40v271.7z"]
  104925. };
  104926. var faSchlix = {
  104927. prefix: 'fab',
  104928. iconName: 'schlix',
  104929. icon: [448, 512, [], "f3ea", "M350.5 157.7l-54.2-46.1 73.4-39 78.3 44.2-97.5 40.9zM192 122.1l45.7-28.2 34.7 34.6-55.4 29-25-35.4zm-65.1 6.6l31.9-22.1L176 135l-36.7 22.5-12.4-28.8zm-23.3 88.2l-8.8-34.8 29.6-18.3 13.1 35.3-33.9 17.8zm-21.2-83.7l23.9-18.1 8.9 24-26.7 18.3-6.1-24.2zM59 206.5l-3.6-28.4 22.3-15.5 6.1 28.7L59 206.5zm-30.6 16.6l20.8-12.8 3.3 33.4-22.9 12-1.2-32.6zM1.4 268l19.2-10.2.4 38.2-21 8.8L1.4 268zm59.1 59.3l-28.3 8.3-1.6-46.8 25.1-10.7 4.8 49.2zM99 263.2l-31.1 13-5.2-40.8L90.1 221l8.9 42.2zM123.2 377l-41.6 5.9-8.1-63.5 35.2-10.8 14.5 68.4zm28.5-139.9l21.2 57.1-46.2 13.6-13.7-54.1 38.7-16.6zm85.7 230.5l-70.9-3.3-24.3-95.8 55.2-8.6 40 107.7zm-84.9-279.7l42.2-22.4 28 45.9-50.8 21.3-19.4-44.8zm41 94.9l61.3-18.7 52.8 86.6-79.8 11.3-34.3-79.2zm51.4-85.6l67.3-28.8 65.5 65.4-88.6 26.2-44.2-62.8z"]
  104930. };
  104931. var faSquareXing = {
  104932. prefix: 'fab',
  104933. iconName: 'square-xing',
  104934. icon: [448, 512, ["xing-square"], "f169", "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-48zM140.4 320.2H93.8c-5.5 0-8.7-5.3-6-10.3l49.3-86.7c.1 0 .1-.1 0-.2l-31.4-54c-3-5.6.2-10.1 6-10.1h46.6c5.2 0 9.5 2.9 12.9 8.7l31.9 55.3c-1.3 2.3-18 31.7-50.1 88.2-3.5 6.2-7.7 9.1-12.6 9.1zm219.7-214.1L257.3 286.8v.2l65.5 119c2.8 5.1.1 10.1-6 10.1h-46.6c-5.5 0-9.7-2.9-12.9-8.7l-66-120.3c2.3-4.1 36.8-64.9 103.4-182.3 3.3-5.8 7.4-8.7 12.5-8.7h46.9c5.7-.1 8.8 4.7 6 10z"]
  104935. };
  104936. var faXingSquare = faSquareXing;
  104937. var faBandcamp = {
  104938. prefix: 'fab',
  104939. iconName: 'bandcamp',
  104940. icon: [512, 512, [], "f2d5", "M256,8C119,8,8,119,8,256S119,504,256,504,504,393,504,256,393,8,256,8Zm48.2,326.1h-181L207.9,178h181Z"]
  104941. };
  104942. var faWpforms = {
  104943. prefix: 'fab',
  104944. iconName: 'wpforms',
  104945. icon: [448, 512, [], "f298", "M448 75.2v361.7c0 24.3-19 43.2-43.2 43.2H43.2C19.3 480 0 461.4 0 436.8V75.2C0 51.1 18.8 32 43.2 32h361.7c24 0 43.1 18.8 43.1 43.2zm-37.3 361.6V75.2c0-3-2.6-5.8-5.8-5.8h-9.3L285.3 144 224 94.1 162.8 144 52.5 69.3h-9.3c-3.2 0-5.8 2.8-5.8 5.8v361.7c0 3 2.6 5.8 5.8 5.8h361.7c3.2.1 5.8-2.7 5.8-5.8zM150.2 186v37H76.7v-37h73.5zm0 74.4v37.3H76.7v-37.3h73.5zm11.1-147.3l54-43.7H96.8l64.5 43.7zm210 72.9v37h-196v-37h196zm0 74.4v37.3h-196v-37.3h196zm-84.6-147.3l64.5-43.7H232.8l53.9 43.7zM371.3 335v37.3h-99.4V335h99.4z"]
  104946. };
  104947. var faCloudversify = {
  104948. prefix: 'fab',
  104949. iconName: 'cloudversify',
  104950. icon: [616, 512, [], "f385", "M148.6 304c8.2 68.5 67.4 115.5 146 111.3 51.2 43.3 136.8 45.8 186.4-5.6 69.2 1.1 118.5-44.6 131.5-99.5 14.8-62.5-18.2-132.5-92.1-155.1-33-88.1-131.4-101.5-186.5-85-57.3 17.3-84.3 53.2-99.3 109.7-7.8 2.7-26.5 8.9-45 24.1 11.7 0 15.2 8.9 15.2 19.5v20.4c0 10.7-8.7 19.5-19.5 19.5h-20.2c-10.7 0-19.5-6-19.5-16.7V240H98.8C95 240 88 244.3 88 251.9v40.4c0 6.4 5.3 11.8 11.7 11.8h48.9zm227.4 8c-10.7 46.3 21.7 72.4 55.3 86.8C324.1 432.6 259.7 348 296 288c-33.2 21.6-33.7 71.2-29.2 92.9-17.9-12.4-53.8-32.4-57.4-79.8-3-39.9 21.5-75.7 57-93.9C297 191.4 369.9 198.7 400 248c-14.1-48-53.8-70.1-101.8-74.8 30.9-30.7 64.4-50.3 114.2-43.7 69.8 9.3 133.2 82.8 67.7 150.5 35-16.3 48.7-54.4 47.5-76.9l10.5 19.6c11.8 22 15.2 47.6 9.4 72-9.2 39-40.6 68.8-79.7 76.5-32.1 6.3-83.1-5.1-91.8-59.2zM128 208H88.2c-8.9 0-16.2-7.3-16.2-16.2v-39.6c0-8.9 7.3-16.2 16.2-16.2H128c8.9 0 16.2 7.3 16.2 16.2v39.6c0 8.9-7.3 16.2-16.2 16.2zM10.1 168C4.5 168 0 163.5 0 157.9v-27.8c0-5.6 4.5-10.1 10.1-10.1h27.7c5.5 0 10.1 4.5 10.1 10.1v27.8c0 5.6-4.5 10.1-10.1 10.1H10.1zM168 142.7v-21.4c0-5.1 4.2-9.3 9.3-9.3h21.4c5.1 0 9.3 4.2 9.3 9.3v21.4c0 5.1-4.2 9.3-9.3 9.3h-21.4c-5.1 0-9.3-4.2-9.3-9.3zM56 235.5v25c0 6.3-5.1 11.5-11.4 11.5H19.4C13.1 272 8 266.8 8 260.5v-25c0-6.3 5.1-11.5 11.4-11.5h25.1c6.4 0 11.5 5.2 11.5 11.5z"]
  104951. };
  104952. var faUsps = {
  104953. prefix: 'fab',
  104954. iconName: 'usps',
  104955. icon: [576, 512, [], "f7e1", "M460.3 241.7c25.8-41.3 15.2-48.8-11.7-48.8h-27c-.1 0-1.5-1.4-10.9 8-11.2 5.6-37.9 6.3-37.9 8.7 0 4.5 70.3-3.1 88.1 0 9.5 1.5-1.5 20.4-4.4 32-.5 4.5 2.4 2.3 3.8.1zm-112.1 22.6c64-21.3 97.3-23.9 102-26.2 4.4-2.9-4.4-6.6-26.2-5.8-51.7 2.2-137.6 37.1-172.6 53.9l-30.7-93.3h196.6c-2.7-28.2-152.9-22.6-337.9-22.6L27 415.8c196.4-97.3 258.9-130.3 321.2-151.5zM94.7 96c253.3 53.7 330 65.7 332.1 85.2 36.4 0 45.9 0 52.4 6.6 21.1 19.7-14.6 67.7-14.6 67.7-4.4 2.9-406.4 160.2-406.4 160.2h423.1L549 96z"]
  104956. };
  104957. var faMegaport = {
  104958. prefix: 'fab',
  104959. iconName: 'megaport',
  104960. icon: [496, 512, [], "f5a3", "M214.5 209.6v66.2l33.5 33.5 33.3-33.3v-66.4l-33.4-33.4zM248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm145.1 414.4L367 441.6l-26-19.2v-65.5l-33.4-33.4-33.4 33.4v65.5L248 441.6l-26.1-19.2v-65.5l-33.4-33.4-33.5 33.4v65.5l-26.1 19.2-26.1-19.2v-87l59.5-59.5V188l59.5-59.5V52.9l26.1-19.2L274 52.9v75.6l59.5 59.5v87.6l59.7 59.7v87.1z"]
  104961. };
  104962. var faMagento = {
  104963. prefix: 'fab',
  104964. iconName: 'magento',
  104965. icon: [448, 512, [], "f3c4", "M445.7 127.9V384l-63.4 36.5V164.7L223.8 73.1 65.2 164.7l.4 255.9L2.3 384V128.1L224.2 0l221.5 127.9zM255.6 420.5L224 438.9l-31.8-18.2v-256l-63.3 36.6.1 255.9 94.9 54.9 95.1-54.9v-256l-63.4-36.6v255.9z"]
  104966. };
  104967. var faSpotify = {
  104968. prefix: 'fab',
  104969. iconName: 'spotify',
  104970. icon: [496, 512, [], "f1bc", "M248 8C111.1 8 0 119.1 0 256s111.1 248 248 248 248-111.1 248-248S384.9 8 248 8zm100.7 364.9c-4.2 0-6.8-1.3-10.7-3.6-62.4-37.6-135-39.2-206.7-24.5-3.9 1-9 2.6-11.9 2.6-9.7 0-15.8-7.7-15.8-15.8 0-10.3 6.1-15.2 13.6-16.8 81.9-18.1 165.6-16.5 237 26.2 6.1 3.9 9.7 7.4 9.7 16.5s-7.1 15.4-15.2 15.4zm26.9-65.6c-5.2 0-8.7-2.3-12.3-4.2-62.5-37-155.7-51.9-238.6-29.4-4.8 1.3-7.4 2.6-11.9 2.6-10.7 0-19.4-8.7-19.4-19.4s5.2-17.8 15.5-20.7c27.8-7.8 56.2-13.6 97.8-13.6 64.9 0 127.6 16.1 177 45.5 8.1 4.8 11.3 11 11.3 19.7-.1 10.8-8.5 19.5-19.4 19.5zm31-76.2c-5.2 0-8.4-1.3-12.9-3.9-71.2-42.5-198.5-52.7-280.9-29.7-3.6 1-8.1 2.6-12.9 2.6-13.2 0-23.3-10.3-23.3-23.6 0-13.6 8.4-21.3 17.4-23.9 35.2-10.3 74.6-15.2 117.5-15.2 73 0 149.5 15.2 205.4 47.8 7.8 4.5 12.9 10.7 12.9 22.6 0 13.6-11 23.3-23.2 23.3z"]
  104971. };
  104972. var faOptinMonster = {
  104973. prefix: 'fab',
  104974. iconName: 'optin-monster',
  104975. icon: [576, 512, [], "f23c", "M572.6 421.4c5.6-9.5 4.7-15.2-5.4-11.6-3-4.9-7-9.5-11.1-13.8 2.9-9.7-.7-14.2-10.8-9.2-4.6-3.2-10.3-6.5-15.9-9.2 0-15.1-11.6-11.6-17.6-5.7-10.4-1.5-18.7-.3-26.8 5.7.3-6.5.3-13 .3-19.7 12.6 0 40.2-11 45.9-36.2 1.4-6.8 1.6-13.8-.3-21.9-3-13.5-14.3-21.3-25.1-25.7-.8-5.9-7.6-14.3-14.9-15.9s-12.4 4.9-14.1 10.3c-8.5 0-19.2 2.8-21.1 8.4-5.4-.5-11.1-1.4-16.8-1.9 2.7-1.9 5.4-3.5 8.4-4.6 5.4-9.2 14.6-11.4 25.7-11.6V256c19.5-.5 43-5.9 53.8-18.1 12.7-13.8 14.6-37.3 12.4-55.1-2.4-17.3-9.7-37.6-24.6-48.1-8.4-5.9-21.6-.8-22.7 9.5-2.2 19.6 1.2 30-38.6 25.1-10.3-23.8-24.6-44.6-42.7-60C341 49.6 242.9 55.5 166.4 71.7c19.7 4.6 41.1 8.6 59.7 16.5-26.2 2.4-52.7 11.3-76.2 23.2-32.8 17-44 29.9-56.7 42.4 14.9-2.2 28.9-5.1 43.8-3.8-9.7 5.4-18.4 12.2-26.5 20-25.8.9-23.8-5.3-26.2-25.9-1.1-10.5-14.3-15.4-22.7-9.7-28.1 19.9-33.5 79.9-12.2 103.5 10.8 12.2 35.1 17.3 54.9 17.8-.3 1.1-.3 1.9-.3 2.7 10.8.5 19.5 2.7 24.6 11.6 3 1.1 5.7 2.7 8.1 4.6-5.4.5-11.1 1.4-16.5 1.9-3.3-6.6-13.7-8.1-21.1-8.1-1.6-5.7-6.5-12.2-14.1-10.3-6.8 1.9-14.1 10-14.9 15.9-22.5 9.5-30.1 26.8-25.1 47.6 5.3 24.8 33 36.2 45.9 36.2v19.7c-6.6-5-14.3-7.5-26.8-5.7-5.5-5.5-17.3-10.1-17.3 5.7-5.9 2.7-11.4 5.9-15.9 9.2-9.8-4.9-13.6-1.7-11.1 9.2-4.1 4.3-7.8 8.6-11.1 13.8-10.2-3.7-11 2.2-5.4 11.6-1.1 3.5-1.6 7-1.9 10.8-.5 31.6 44.6 64 73.5 65.1 17.3.5 34.6-8.4 43-23.5 113.2 4.9 226.7 4.1 340.2 0 8.1 15.1 25.4 24.3 42.7 23.5 29.2-1.1 74.3-33.5 73.5-65.1.2-3.7-.7-7.2-1.7-10.7zm-73.8-254c1.1-3 2.4-8.4 2.4-14.6 0-5.9 6.8-8.1 14.1-.8 11.1 11.6 14.9 40.5 13.8 51.1-4.1-13.6-13-29-30.3-35.7zm-4.6 6.7c19.5 6.2 28.6 27.6 29.7 48.9-1.1 2.7-3 5.4-4.9 7.6-5.7 5.9-15.4 10-26.2 12.2 4.3-21.3.3-47.3-12.7-63 4.9-.8 10.9-2.4 14.1-5.7zm-24.1 6.8c13.8 11.9 20 39.2 14.1 63.5-4.1.5-8.1.8-11.6.8-1.9-21.9-6.8-44-14.3-64.6 3.7.3 8.1.3 11.8.3zM47.5 203c-1.1-10.5 2.4-39.5 13.8-51.1 7-7.3 14.1-5.1 14.1.8 0 6.2 1.4 11.6 2.4 14.6-17.3 6.8-26.2 22.2-30.3 35.7zm9.7 27.6c-1.9-2.2-3.5-4.9-4.9-7.6 1.4-21.3 10.3-42.7 29.7-48.9 3.2 3.2 9.2 4.9 14.1 5.7-13 15.7-17 41.6-12.7 63-10.8-2.2-20.5-6-26.2-12.2zm47.9 14.6c-4.1 0-8.1-.3-12.7-.8-4.6-18.6-1.9-38.9 5.4-53v.3l12.2-5.1c4.9-1.9 9.7-3.8 14.9-4.9-10.7 19.7-17.4 41.3-19.8 63.5zm184-162.7c41.9 0 76.2 34 76.2 75.9 0 42.2-34.3 76.2-76.2 76.2s-76.2-34-76.2-76.2c0-41.8 34.3-75.9 76.2-75.9zm115.6 174.3c-.3 17.8-7 48.9-23 57-13.2 6.6-6.5-7.5-16.5-58.1 13.3.3 26.6.3 39.5 1.1zm-54-1.6c.8 4.9 3.8 40.3-1.6 41.9-11.6 3.5-40 4.3-51.1-1.1-4.1-3-4.6-35.9-4.3-41.1v.3c18.9-.3 38.1-.3 57 0zM278.3 309c-13 3.5-41.6 4.1-54.6-1.6-6.5-2.7-3.8-42.4-1.9-51.6 19.2-.5 38.4-.5 57.8-.8v.3c1.1 8.3 3.3 51.2-1.3 53.7zm-106.5-51.1c12.2-.8 24.6-1.4 36.8-1.6-2.4 15.4-3 43.5-4.9 52.2-1.1 6.8-4.3 6.8-9.7 4.3-21.9-9.8-27.6-35.2-22.2-54.9zm-35.4 31.3c7.8-1.1 15.7-1.9 23.5-2.7 1.6 6.2 3.8 11.9 7 17.6 10 17 44 35.7 45.1 7 6.2 14.9 40.8 12.2 54.9 10.8 15.7-1.4 23.8-1.4 26.8-14.3 12.4 4.3 30.8 4.1 44 3 11.3-.8 20.8-.5 24.6-8.9 1.1 5.1 1.9 11.6 4.6 16.8 10.8 21.3 37.3 1.4 46.8-31.6 8.6.8 17.6 1.9 26.5 2.7-.4 1.3-3.8 7.3 7.3 11.6-47.6 47-95.7 87.8-163.2 107-63.2-20.8-112.1-59.5-155.9-106.5 9.6-3.4 10.4-8.8 8-12.5zm-21.6 172.5c-3.8 17.8-21.9 29.7-39.7 28.9-19.2-.8-46.5-17-59.2-36.5-2.7-31.1 43.8-61.3 66.2-54.6 14.9 4.3 27.8 30.8 33.5 54 0 3-.3 5.7-.8 8.2zm-8.7-66c-.5-13.5-.5-27-.3-40.5h.3c2.7-1.6 5.7-3.8 7.8-6.5 6.5-1.6 13-5.1 15.1-9.2 3.3-7.1-7-7.5-5.4-12.4 2.7-1.1 5.7-2.2 7.8-3.5 29.2 29.2 58.6 56.5 97.3 77-36.8 11.3-72.4 27.6-105.9 47-1.2-18.6-7.7-35.9-16.7-51.9zm337.6 64.6c-103 3.5-206.2 4.1-309.4 0 0 .3 0 .3-.3.3v-.3h.3c35.1-21.6 72.2-39.2 112.4-50.8 11.6 5.1 23 9.5 34.9 13.2 2.2.8 2.2.8 4.3 0 14.3-4.1 28.4-9.2 42.2-15.4 41.5 11.7 78.8 31.7 115.6 53zm10.5-12.4c-35.9-19.5-73-35.9-111.9-47.6 38.1-20 71.9-47.3 103.5-76.7 2.2 1.4 4.6 2.4 7.6 3.2 0 .8.3 1.9.5 2.4-4.6 2.7-7.8 6.2-5.9 10.3 2.2 3.8 8.6 7.6 15.1 8.9 2.4 2.7 5.1 5.1 8.1 6.8 0 13.8-.3 27.6-.8 41.3l.3-.3c-9.3 15.9-15.5 37-16.5 51.7zm105.9 6.2c-12.7 19.5-40 35.7-59.2 36.5-19.3.9-40.5-13.2-40.5-37 5.7-23.2 18.9-49.7 33.5-54 22.7-6.9 69.2 23.4 66.2 54.5zM372.9 75.2c-3.8-72.1-100.8-79.7-126-23.5 44.6-24.3 90.3-15.7 126 23.5zM74.8 407.1c-15.7 1.6-49.5 25.4-49.5 43.2 0 11.6 15.7 19.5 32.2 14.9 12.2-3.2 31.1-17.6 35.9-27.3 6-11.6-3.7-32.7-18.6-30.8zm215.9-176.2c28.6 0 51.9-21.6 51.9-48.4 0-36.1-40.5-58.1-72.2-44.3 9.5 3 16.5 11.6 16.5 21.6 0 23.3-33.3 32-46.5 11.3-7.3 34.1 19.4 59.8 50.3 59.8zM68 474.1c.5 6.5 12.2 12.7 21.6 9.5 6.8-2.7 14.6-10.5 17.3-16.2 3-7-1.1-20-9.7-18.4-8.9 1.6-29.7 16.7-29.2 25.1zm433.2-67c-14.9-1.9-24.6 19.2-18.9 30.8 4.9 9.7 24.1 24.1 36.2 27.3 16.5 4.6 32.2-3.2 32.2-14.9 0-17.8-33.8-41.6-49.5-43.2zM478.8 449c-8.4-1.6-12.4 11.3-9.5 18.4 2.4 5.7 10.3 13.5 17.3 16.2 9.2 3.2 21.1-3 21.3-9.5.9-8.4-20.2-23.5-29.1-25.1z"]
  104976. };
  104977. var faFly = {
  104978. prefix: 'fab',
  104979. iconName: 'fly',
  104980. icon: [384, 512, [], "f417", "M197.8 427.8c12.9 11.7 33.7 33.3 33.2 50.7 0 .8-.1 1.6-.1 2.5-1.8 19.8-18.8 31.1-39.1 31-25-.1-39.9-16.8-38.7-35.8 1-16.2 20.5-36.7 32.4-47.6 2.3-2.1 2.7-2.7 5.6-3.6 3.4 0 3.9.3 6.7 2.8zM331.9 67.3c-16.3-25.7-38.6-40.6-63.3-52.1C243.1 4.5 214-.2 192 0c-44.1 0-71.2 13.2-81.1 17.3C57.3 45.2 26.5 87.2 28 158.6c7.1 82.2 97 176 155.8 233.8 1.7 1.6 4.5 4.5 6.2 5.1l3.3.1c2.1-.7 1.8-.5 3.5-2.1 52.3-49.2 140.7-145.8 155.9-215.7 7-39.2 3.1-72.5-20.8-112.5zM186.8 351.9c-28-51.1-65.2-130.7-69.3-189-3.4-47.5 11.4-131.2 69.3-136.7v325.7zM328.7 180c-16.4 56.8-77.3 128-118.9 170.3C237.6 298.4 275 217 277 158.4c1.6-45.9-9.8-105.8-48-131.4 88.8 18.3 115.5 98.1 99.7 153z"]
  104981. };
  104982. var faAviato = {
  104983. prefix: 'fab',
  104984. iconName: 'aviato',
  104985. icon: [640, 512, [], "f421", "M107.2 283.5l-19-41.8H36.1l-19 41.8H0l62.2-131.4 62.2 131.4h-17.2zm-45-98.1l-19.6 42.5h39.2l-19.6-42.5zm112.7 102.4l-62.2-131.4h17.1l45.1 96 45.1-96h17l-62.1 131.4zm80.6-4.3V156.4H271v127.1h-15.5zm209.1-115.6v115.6h-17.3V167.9h-41.2v-11.5h99.6v11.5h-41.1zM640 218.8c0 9.2-1.7 17.8-5.1 25.8-3.4 8-8.2 15.1-14.2 21.1-6 6-13.1 10.8-21.1 14.2-8 3.4-16.6 5.1-25.8 5.1s-17.8-1.7-25.8-5.1c-8-3.4-15.1-8.2-21.1-14.2-6-6-10.8-13-14.2-21.1-3.4-8-5.1-16.6-5.1-25.8s1.7-17.8 5.1-25.8c3.4-8 8.2-15.1 14.2-21.1 6-6 13-8.4 21.1-11.9 8-3.4 16.6-5.1 25.8-5.1s17.8 1.7 25.8 5.1c8 3.4 15.1 5.8 21.1 11.9 6 6 10.7 13.1 14.2 21.1 3.4 8 5.1 16.6 5.1 25.8zm-15.5 0c0-7.3-1.3-14-3.9-20.3-2.6-6.3-6.2-11.7-10.8-16.3-4.6-4.6-10-8.2-16.2-10.9-6.2-2.7-12.8-4-19.8-4s-13.6 1.3-19.8 4c-6.2 2.7-11.6 6.3-16.2 10.9-4.6 4.6-8.2 10-10.8 16.3-2.6 6.3-3.9 13.1-3.9 20.3 0 7.3 1.3 14 3.9 20.3 2.6 6.3 6.2 11.7 10.8 16.3 4.6 4.6 10 8.2 16.2 10.9 6.2 2.7 12.8 4 19.8 4s13.6-1.3 19.8-4c6.2-2.7 11.6-6.3 16.2-10.9 4.6-4.6 8.2-10 10.8-16.3 2.6-6.3 3.9-13.1 3.9-20.3zm-94.8 96.7v-6.3l88.9-10-242.9 13.4c.6-2.2 1.1-4.6 1.4-7.2.3-2 .5-4.2.6-6.5l64.8-8.1-64.9 1.9c0-.4-.1-.7-.1-1.1-2.8-17.2-25.5-23.7-25.5-23.7l-1.1-26.3h23.8l19 41.8h17.1L348.6 152l-62.2 131.4h17.1l19-41.8h23.6L345 268s-22.7 6.5-25.5 23.7c-.1.3-.1.7-.1 1.1l-64.9-1.9 64.8 8.1c.1 2.3.3 4.4.6 6.5.3 2.6.8 5 1.4 7.2L78.4 299.2l88.9 10v6.3c-5.9.9-10.5 6-10.5 12.2 0 6.8 5.6 12.4 12.4 12.4 6.8 0 12.4-5.6 12.4-12.4 0-6.2-4.6-11.3-10.5-12.2v-5.8l80.3 9v5.4c-5.7 1.1-9.9 6.2-9.9 12.1 0 6.8 5.6 10.2 12.4 10.2 6.8 0 12.4-3.4 12.4-10.2 0-6-4.3-11-9.9-12.1v-4.9l28.4 3.2v23.7h-5.9V360h5.9v-6.6h5v6.6h5.9v-13.8h-5.9V323l38.3 4.3c8.1 11.4 19 13.6 19 13.6l-.1 6.7-5.1.2-.1 12.1h4.1l.1-5h5.2l.1 5h4.1l-.1-12.1-5.1-.2-.1-6.7s10.9-2.1 19-13.6l38.3-4.3v23.2h-5.9V360h5.9v-6.6h5v6.6h5.9v-13.8h-5.9v-23.7l28.4-3.2v4.9c-5.7 1.1-9.9 6.2-9.9 12.1 0 6.8 5.6 10.2 12.4 10.2 6.8 0 12.4-3.4 12.4-10.2 0-6-4.3-11-9.9-12.1v-5.4l80.3-9v5.8c-5.9.9-10.5 6-10.5 12.2 0 6.8 5.6 12.4 12.4 12.4 6.8 0 12.4-5.6 12.4-12.4-.2-6.3-4.7-11.4-10.7-12.3zm-200.8-87.6l19.6-42.5 19.6 42.5h-17.9l-1.7-40.3-1.7 40.3h-17.9z"]
  104986. };
  104987. var faItunes = {
  104988. prefix: 'fab',
  104989. iconName: 'itunes',
  104990. icon: [448, 512, [], "f3b4", "M223.6 80.3C129 80.3 52.5 157 52.5 251.5S129 422.8 223.6 422.8s171.2-76.7 171.2-171.2c0-94.6-76.7-171.3-171.2-171.3zm79.4 240c-3.2 13.6-13.5 21.2-27.3 23.8-12.1 2.2-22.2 2.8-31.9-5-11.8-10-12-26.4-1.4-36.8 8.4-8 20.3-9.6 38-12.8 3-.5 5.6-1.2 7.7-3.7 3.2-3.6 2.2-2 2.2-80.8 0-5.6-2.7-7.1-8.4-6.1-4 .7-91.9 17.1-91.9 17.1-5 1.1-6.7 2.6-6.7 8.3 0 116.1.5 110.8-1.2 118.5-2.1 9-7.6 15.8-14.9 19.6-8.3 4.6-23.4 6.6-31.4 5.2-21.4-4-28.9-28.7-14.4-42.9 8.4-8 20.3-9.6 38-12.8 3-.5 5.6-1.2 7.7-3.7 5-5.7.9-127 2.6-133.7.4-2.6 1.5-4.8 3.5-6.4 2.1-1.7 5.8-2.7 6.7-2.7 101-19 113.3-21.4 115.1-21.4 5.7-.4 9 3 9 8.7-.1 170.6.4 161.4-1 167.6zM345.2 32H102.8C45.9 32 0 77.9 0 134.8v242.4C0 434.1 45.9 480 102.8 480h242.4c57 0 102.8-45.9 102.8-102.8V134.8C448 77.9 402.1 32 345.2 32zM223.6 444c-106.3 0-192.5-86.2-192.5-192.5S117.3 59 223.6 59s192.5 86.2 192.5 192.5S329.9 444 223.6 444z"]
  104991. };
  104992. var faCuttlefish = {
  104993. prefix: 'fab',
  104994. iconName: 'cuttlefish',
  104995. icon: [440, 512, [], "f38c", "M344 305.5c-17.5 31.6-57.4 54.5-96 54.5-56.6 0-104-47.4-104-104s47.4-104 104-104c38.6 0 78.5 22.9 96 54.5 13.7-50.9 41.7-93.3 87-117.8C385.7 39.1 320.5 8 248 8 111 8 0 119 0 256s111 248 248 248c72.5 0 137.7-31.1 183-80.7-45.3-24.5-73.3-66.9-87-117.8z"]
  104996. };
  104997. var faBlogger = {
  104998. prefix: 'fab',
  104999. iconName: 'blogger',
  105000. icon: [448, 512, [], "f37c", "M162.4 196c4.8-4.9 6.2-5.1 36.4-5.1 27.2 0 28.1.1 32.1 2.1 5.8 2.9 8.3 7 8.3 13.6 0 5.9-2.4 10-7.6 13.4-2.8 1.8-4.5 1.9-31.1 2.1-16.4.1-29.5-.2-31.5-.8-10.3-2.9-14.1-17.7-6.6-25.3zm61.4 94.5c-53.9 0-55.8.2-60.2 4.1-3.5 3.1-5.7 9.4-5.1 13.9.7 4.7 4.8 10.1 9.2 12 2.2 1 14.1 1.7 56.3 1.2l47.9-.6 9.2-1.5c9-5.1 10.5-17.4 3.1-24.4-5.3-4.7-5-4.7-60.4-4.7zm223.4 130.1c-3.5 28.4-23 50.4-51.1 57.5-7.2 1.8-9.7 1.9-172.9 1.8-157.8 0-165.9-.1-172-1.8-8.4-2.2-15.6-5.5-22.3-10-5.6-3.8-13.9-11.8-17-16.4-3.8-5.6-8.2-15.3-10-22C.1 423 0 420.3 0 256.3 0 93.2 0 89.7 1.8 82.6 8.1 57.9 27.7 39 53 33.4c7.3-1.6 332.1-1.9 340-.3 21.2 4.3 37.9 17.1 47.6 36.4 7.7 15.3 7-1.5 7.3 180.6.2 115.8 0 164.5-.7 170.5zm-85.4-185.2c-1.1-5-4.2-9.6-7.7-11.5-1.1-.6-8-1.3-15.5-1.7-12.4-.6-13.8-.8-17.8-3.1-6.2-3.6-7.9-7.6-8-18.3 0-20.4-8.5-39.4-25.3-56.5-12-12.2-25.3-20.5-40.6-25.1-3.6-1.1-11.8-1.5-39.2-1.8-42.9-.5-52.5.4-67.1 6.2-27 10.7-46.3 33.4-53.4 62.4-1.3 5.4-1.6 14.2-1.9 64.3-.4 62.8 0 72.1 4 84.5 9.7 30.7 37.1 53.4 64.6 58.4 9.2 1.7 122.2 2.1 133.7.5 20.1-2.7 35.9-10.8 50.7-25.9 10.7-10.9 17.4-22.8 21.8-38.5 3.2-10.9 2.9-88.4 1.7-93.9z"]
  105001. };
  105002. var faFlickr = {
  105003. prefix: 'fab',
  105004. iconName: 'flickr',
  105005. icon: [448, 512, [], "f16e", "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-48zM144.5 319c-35.1 0-63.5-28.4-63.5-63.5s28.4-63.5 63.5-63.5 63.5 28.4 63.5 63.5-28.4 63.5-63.5 63.5zm159 0c-35.1 0-63.5-28.4-63.5-63.5s28.4-63.5 63.5-63.5 63.5 28.4 63.5 63.5-28.4 63.5-63.5 63.5z"]
  105006. };
  105007. var faViber = {
  105008. prefix: 'fab',
  105009. iconName: 'viber',
  105010. icon: [512, 512, [], "f409", "M444 49.9C431.3 38.2 379.9.9 265.3.4c0 0-135.1-8.1-200.9 52.3C27.8 89.3 14.9 143 13.5 209.5c-1.4 66.5-3.1 191.1 117 224.9h.1l-.1 51.6s-.8 20.9 13 25.1c16.6 5.2 26.4-10.7 42.3-27.8 8.7-9.4 20.7-23.2 29.8-33.7 82.2 6.9 145.3-8.9 152.5-11.2 16.6-5.4 110.5-17.4 125.7-142 15.8-128.6-7.6-209.8-49.8-246.5zM457.9 287c-12.9 104-89 110.6-103 115.1-6 1.9-61.5 15.7-131.2 11.2 0 0-52 62.7-68.2 79-5.3 5.3-11.1 4.8-11-5.7 0-6.9.4-85.7.4-85.7-.1 0-.1 0 0 0-101.8-28.2-95.8-134.3-94.7-189.8 1.1-55.5 11.6-101 42.6-131.6 55.7-50.5 170.4-43 170.4-43 96.9.4 143.3 29.6 154.1 39.4 35.7 30.6 53.9 103.8 40.6 211.1zm-139-80.8c.4 8.6-12.5 9.2-12.9.6-1.1-22-11.4-32.7-32.6-33.9-8.6-.5-7.8-13.4.7-12.9 27.9 1.5 43.4 17.5 44.8 46.2zm20.3 11.3c1-42.4-25.5-75.6-75.8-79.3-8.5-.6-7.6-13.5.9-12.9 58 4.2 88.9 44.1 87.8 92.5-.1 8.6-13.1 8.2-12.9-.3zm47 13.4c.1 8.6-12.9 8.7-12.9.1-.6-81.5-54.9-125.9-120.8-126.4-8.5-.1-8.5-12.9 0-12.9 73.7.5 133 51.4 133.7 139.2zM374.9 329v.2c-10.8 19-31 40-51.8 33.3l-.2-.3c-21.1-5.9-70.8-31.5-102.2-56.5-16.2-12.8-31-27.9-42.4-42.4-10.3-12.9-20.7-28.2-30.8-46.6-21.3-38.5-26-55.7-26-55.7-6.7-20.8 14.2-41 33.3-51.8h.2c9.2-4.8 18-3.2 23.9 3.9 0 0 12.4 14.8 17.7 22.1 5 6.8 11.7 17.7 15.2 23.8 6.1 10.9 2.3 22-3.7 26.6l-12 9.6c-6.1 4.9-5.3 14-5.3 14s17.8 67.3 84.3 84.3c0 0 9.1.8 14-5.3l9.6-12c4.6-6 15.7-9.8 26.6-3.7 14.7 8.3 33.4 21.2 45.8 32.9 7 5.7 8.6 14.4 3.8 23.6z"]
  105011. };
  105012. var faSoundcloud = {
  105013. prefix: 'fab',
  105014. iconName: 'soundcloud',
  105015. icon: [640, 512, [], "f1be", "M111.4 256.3l5.8 65-5.8 68.3c-.3 2.5-2.2 4.4-4.4 4.4s-4.2-1.9-4.2-4.4l-5.6-68.3 5.6-65c0-2.2 1.9-4.2 4.2-4.2 2.2 0 4.1 2 4.4 4.2zm21.4-45.6c-2.8 0-4.7 2.2-5 5l-5 105.6 5 68.3c.3 2.8 2.2 5 5 5 2.5 0 4.7-2.2 4.7-5l5.8-68.3-5.8-105.6c0-2.8-2.2-5-4.7-5zm25.5-24.1c-3.1 0-5.3 2.2-5.6 5.3l-4.4 130 4.4 67.8c.3 3.1 2.5 5.3 5.6 5.3 2.8 0 5.3-2.2 5.3-5.3l5.3-67.8-5.3-130c0-3.1-2.5-5.3-5.3-5.3zM7.2 283.2c-1.4 0-2.2 1.1-2.5 2.5L0 321.3l4.7 35c.3 1.4 1.1 2.5 2.5 2.5s2.2-1.1 2.5-2.5l5.6-35-5.6-35.6c-.3-1.4-1.1-2.5-2.5-2.5zm23.6-21.9c-1.4 0-2.5 1.1-2.5 2.5l-6.4 57.5 6.4 56.1c0 1.7 1.1 2.8 2.5 2.8s2.5-1.1 2.8-2.5l7.2-56.4-7.2-57.5c-.3-1.4-1.4-2.5-2.8-2.5zm25.3-11.4c-1.7 0-3.1 1.4-3.3 3.3L47 321.3l5.8 65.8c.3 1.7 1.7 3.1 3.3 3.1 1.7 0 3.1-1.4 3.1-3.1l6.9-65.8-6.9-68.1c0-1.9-1.4-3.3-3.1-3.3zm25.3-2.2c-1.9 0-3.6 1.4-3.6 3.6l-5.8 70 5.8 67.8c0 2.2 1.7 3.6 3.6 3.6s3.6-1.4 3.9-3.6l6.4-67.8-6.4-70c-.3-2.2-2-3.6-3.9-3.6zm241.4-110.9c-1.1-.8-2.8-1.4-4.2-1.4-2.2 0-4.2.8-5.6 1.9-1.9 1.7-3.1 4.2-3.3 6.7v.8l-3.3 176.7 1.7 32.5 1.7 31.7c.3 4.7 4.2 8.6 8.9 8.6s8.6-3.9 8.6-8.6l3.9-64.2-3.9-177.5c-.4-3-2-5.8-4.5-7.2zm-26.7 15.3c-1.4-.8-2.8-1.4-4.4-1.4s-3.1.6-4.4 1.4c-2.2 1.4-3.6 3.9-3.6 6.7l-.3 1.7-2.8 160.8s0 .3 3.1 65.6v.3c0 1.7.6 3.3 1.7 4.7 1.7 1.9 3.9 3.1 6.4 3.1 2.2 0 4.2-1.1 5.6-2.5 1.7-1.4 2.5-3.3 2.5-5.6l.3-6.7 3.1-58.6-3.3-162.8c-.3-2.8-1.7-5.3-3.9-6.7zm-111.4 22.5c-3.1 0-5.8 2.8-5.8 6.1l-4.4 140.6 4.4 67.2c.3 3.3 2.8 5.8 5.8 5.8 3.3 0 5.8-2.5 6.1-5.8l5-67.2-5-140.6c-.2-3.3-2.7-6.1-6.1-6.1zm376.7 62.8c-10.8 0-21.1 2.2-30.6 6.1-6.4-70.8-65.8-126.4-138.3-126.4-17.8 0-35 3.3-50.3 9.4-6.1 2.2-7.8 4.4-7.8 9.2v249.7c0 5 3.9 8.6 8.6 9.2h218.3c43.3 0 78.6-35 78.6-78.3.1-43.6-35.2-78.9-78.5-78.9zm-296.7-60.3c-4.2 0-7.5 3.3-7.8 7.8l-3.3 136.7 3.3 65.6c.3 4.2 3.6 7.5 7.8 7.5 4.2 0 7.5-3.3 7.5-7.5l3.9-65.6-3.9-136.7c-.3-4.5-3.3-7.8-7.5-7.8zm-53.6-7.8c-3.3 0-6.4 3.1-6.4 6.7l-3.9 145.3 3.9 66.9c.3 3.6 3.1 6.4 6.4 6.4 3.6 0 6.4-2.8 6.7-6.4l4.4-66.9-4.4-145.3c-.3-3.6-3.1-6.7-6.7-6.7zm26.7 3.4c-3.9 0-6.9 3.1-6.9 6.9L227 321.3l3.9 66.4c.3 3.9 3.1 6.9 6.9 6.9s6.9-3.1 6.9-6.9l4.2-66.4-4.2-141.7c0-3.9-3-6.9-6.9-6.9z"]
  105016. };
  105017. var faDigg = {
  105018. prefix: 'fab',
  105019. iconName: 'digg',
  105020. icon: [512, 512, [], "f1a6", "M81.7 172.3H0v174.4h132.7V96h-51v76.3zm0 133.4H50.9v-92.3h30.8v92.3zm297.2-133.4v174.4h81.8v28.5h-81.8V416H512V172.3H378.9zm81.8 133.4h-30.8v-92.3h30.8v92.3zm-235.6 41h82.1v28.5h-82.1V416h133.3V172.3H225.1v174.4zm51.2-133.3h30.8v92.3h-30.8v-92.3zM153.3 96h51.3v51h-51.3V96zm0 76.3h51.3v174.4h-51.3V172.3z"]
  105021. };
  105022. var faTencentWeibo = {
  105023. prefix: 'fab',
  105024. iconName: 'tencent-weibo',
  105025. icon: [384, 512, [], "f1d5", "M72.3 495.8c1.4 19.9-27.6 22.2-29.7 2.9C31 368.8 73.7 259.2 144 185.5c-15.6-34 9.2-77.1 50.6-77.1 30.3 0 55.1 24.6 55.1 55.1 0 44-49.5 70.8-86.9 45.1-65.7 71.3-101.4 169.8-90.5 287.2zM192 .1C66.1.1-12.3 134.3 43.7 242.4 52.4 259.8 79 246.9 70 229 23.7 136.4 91 29.8 192 29.8c75.4 0 136.9 61.4 136.9 136.9 0 90.8-86.9 153.9-167.7 133.1-19.1-4.1-25.6 24.4-6.6 29.1 110.7 23.2 204-60 204-162.3C358.6 74.7 284 .1 192 .1z"]
  105026. };
  105027. var faSymfony = {
  105028. prefix: 'fab',
  105029. iconName: 'symfony',
  105030. icon: [512, 512, [], "f83d", "M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm133.74 143.54c-11.47.41-19.4-6.45-19.77-16.87-.27-9.18 6.68-13.44 6.53-18.85-.23-6.55-10.16-6.82-12.87-6.67-39.78 1.29-48.59 57-58.89 113.85 21.43 3.15 36.65-.72 45.14-6.22 12-7.75-3.34-15.72-1.42-24.56 4-18.16 32.55-19 32 5.3-.36 17.86-25.92 41.81-77.6 35.7-10.76 59.52-18.35 115-58.2 161.72-29 34.46-58.4 39.82-71.58 40.26-24.65.85-41-12.31-41.58-29.84-.56-17 14.45-26.26 24.31-26.59 21.89-.75 30.12 25.67 14.88 34-12.09 9.71.11 12.61 2.05 12.55 10.42-.36 17.34-5.51 22.18-9 24-20 33.24-54.86 45.35-118.35 8.19-49.66 17-78 18.23-82-16.93-12.75-27.08-28.55-49.85-34.72-15.61-4.23-25.12-.63-31.81 7.83-7.92 10-5.29 23 2.37 30.7l12.63 14c15.51 17.93 24 31.87 20.8 50.62-5.06 29.93-40.72 52.9-82.88 39.94-36-11.11-42.7-36.56-38.38-50.62 7.51-24.15 42.36-11.72 34.62 13.6-2.79 8.6-4.92 8.68-6.28 13.07-4.56 14.77 41.85 28.4 51-1.39 4.47-14.52-5.3-21.71-22.25-39.85-28.47-31.75-16-65.49 2.95-79.67C204.23 140.13 251.94 197 262 205.29c37.17-109 100.53-105.46 102.43-105.53 25.16-.81 44.19 10.59 44.83 28.65.25 7.69-4.17 22.59-19.52 23.13z"]
  105031. };
  105032. var faMaxcdn = {
  105033. prefix: 'fab',
  105034. iconName: 'maxcdn',
  105035. icon: [512, 512, [], "f136", "M461.1 442.7h-97.4L415.6 200c2.3-10.2.9-19.5-4.4-25.7-5-6.1-13.7-9.6-24.2-9.6h-49.3l-59.5 278h-97.4l59.5-278h-83.4l-59.5 278H0l59.5-278-44.6-95.4H387c39.4 0 75.3 16.3 98.3 44.9 23.3 28.6 31.8 67.4 23.6 105.9l-47.8 222.6z"]
  105036. };
  105037. var faEtsy = {
  105038. prefix: 'fab',
  105039. iconName: 'etsy',
  105040. icon: [384, 512, [], "f2d7", "M384 348c-1.75 10.75-13.75 110-15.5 132-117.879-4.299-219.895-4.743-368.5 0v-25.5c45.457-8.948 60.627-8.019 61-35.25 1.793-72.322 3.524-244.143 0-322-1.029-28.46-12.13-26.765-61-36v-25.5c73.886 2.358 255.933 8.551 362.999-3.75-3.5 38.25-7.75 126.5-7.75 126.5H332C320.947 115.665 313.241 68 277.25 68h-137c-10.25 0-10.75 3.5-10.75 9.75V241.5c58 .5 88.5-2.5 88.5-2.5 29.77-.951 27.56-8.502 40.75-65.251h25.75c-4.407 101.351-3.91 61.829-1.75 160.25H257c-9.155-40.086-9.065-61.045-39.501-61.5 0 0-21.5-2-88-2v139c0 26 14.25 38.25 44.25 38.25H263c63.636 0 66.564-24.996 98.751-99.75H384z"]
  105041. };
  105042. var faFacebookMessenger = {
  105043. prefix: 'fab',
  105044. iconName: 'facebook-messenger',
  105045. icon: [512, 512, [], "f39f", "M256.55 8C116.52 8 8 110.34 8 248.57c0 72.3 29.71 134.78 78.07 177.94 8.35 7.51 6.63 11.86 8.05 58.23A19.92 19.92 0 0 0 122 502.31c52.91-23.3 53.59-25.14 62.56-22.7C337.85 521.8 504 423.7 504 248.57 504 110.34 396.59 8 256.55 8zm149.24 185.13l-73 115.57a37.37 37.37 0 0 1-53.91 9.93l-58.08-43.47a15 15 0 0 0-18 0l-78.37 59.44c-10.46 7.93-24.16-4.6-17.11-15.67l73-115.57a37.36 37.36 0 0 1 53.91-9.93l58.06 43.46a15 15 0 0 0 18 0l78.41-59.38c10.44-7.98 24.14 4.54 17.09 15.62z"]
  105046. };
  105047. var faAudible = {
  105048. prefix: 'fab',
  105049. iconName: 'audible',
  105050. icon: [640, 512, [], "f373", "M640 199.9v54l-320 200L0 254v-54l320 200 320-200.1zm-194.5 72l47.1-29.4c-37.2-55.8-100.7-92.6-172.7-92.6-72 0-135.5 36.7-172.6 92.4h.3c2.5-2.3 5.1-4.5 7.7-6.7 89.7-74.4 219.4-58.1 290.2 36.3zm-220.1 18.8c16.9-11.9 36.5-18.7 57.4-18.7 34.4 0 65.2 18.4 86.4 47.6l45.4-28.4c-20.9-29.9-55.6-49.5-94.8-49.5-38.9 0-73.4 19.4-94.4 49zM103.6 161.1c131.8-104.3 318.2-76.4 417.5 62.1l.7 1 48.8-30.4C517.1 112.1 424.8 58.1 319.9 58.1c-103.5 0-196.6 53.5-250.5 135.6 9.9-10.5 22.7-23.5 34.2-32.6zm467 32.7z"]
  105051. };
  105052. var faThinkPeaks = {
  105053. prefix: 'fab',
  105054. iconName: 'think-peaks',
  105055. icon: [576, 512, [], "f731", "M465.4 409.4l87.1-150.2-32-.3-55.1 95L259.2 0 23 407.4l32 .3L259.2 55.6zm-355.3-44.1h32.1l117.4-202.5L463 511.9l32.5.1-235.8-404.6z"]
  105056. };
  105057. var faBilibili = {
  105058. prefix: 'fab',
  105059. iconName: 'bilibili',
  105060. icon: [512, 512, [], "e3d9", "M488.6 104.1C505.3 122.2 513 143.8 511.9 169.8V372.2C511.5 398.6 502.7 420.3 485.4 437.3C468.2 454.3 446.3 463.2 419.9 464H92.02C65.57 463.2 43.81 454.2 26.74 436.8C9.682 419.4 .7667 396.5 0 368.2V169.8C.7667 143.8 9.682 122.2 26.74 104.1C43.81 87.75 65.57 78.77 92.02 78H121.4L96.05 52.19C90.3 46.46 87.42 39.19 87.42 30.4C87.42 21.6 90.3 14.34 96.05 8.603C101.8 2.868 109.1 0 117.9 0C126.7 0 134 2.868 139.8 8.603L213.1 78H301.1L375.6 8.603C381.7 2.868 389.2 0 398 0C406.8 0 414.1 2.868 419.9 8.603C425.6 14.34 428.5 21.6 428.5 30.4C428.5 39.19 425.6 46.46 419.9 52.19L394.6 78L423.9 78C450.3 78.77 471.9 87.75 488.6 104.1H488.6zM449.8 173.8C449.4 164.2 446.1 156.4 439.1 150.3C433.9 144.2 425.1 140.9 416.4 140.5H96.05C86.46 140.9 78.6 144.2 72.47 150.3C66.33 156.4 63.07 164.2 62.69 173.8V368.2C62.69 377.4 65.95 385.2 72.47 391.7C78.99 398.2 86.85 401.5 96.05 401.5H416.4C425.6 401.5 433.4 398.2 439.7 391.7C446 385.2 449.4 377.4 449.8 368.2L449.8 173.8zM185.5 216.5C191.8 222.8 195.2 230.6 195.6 239.7V273C195.2 282.2 191.9 289.9 185.8 296.2C179.6 302.5 171.8 305.7 162.2 305.7C152.6 305.7 144.7 302.5 138.6 296.2C132.5 289.9 129.2 282.2 128.8 273V239.7C129.2 230.6 132.6 222.8 138.9 216.5C145.2 210.2 152.1 206.9 162.2 206.5C171.4 206.9 179.2 210.2 185.5 216.5H185.5zM377 216.5C383.3 222.8 386.7 230.6 387.1 239.7V273C386.7 282.2 383.4 289.9 377.3 296.2C371.2 302.5 363.3 305.7 353.7 305.7C344.1 305.7 336.3 302.5 330.1 296.2C323.1 289.9 320.7 282.2 320.4 273V239.7C320.7 230.6 324.1 222.8 330.4 216.5C336.7 210.2 344.5 206.9 353.7 206.5C362.9 206.9 370.7 210.2 377 216.5H377z"]
  105061. };
  105062. var faErlang = {
  105063. prefix: 'fab',
  105064. iconName: 'erlang',
  105065. icon: [640, 512, [], "f39d", "M87.2 53.5H0v405h100.4c-49.7-52.6-78.8-125.3-78.7-212.1-.1-76.7 24-142.7 65.5-192.9zm238.2 9.7c-45.9.1-85.1 33.5-89.2 83.2h169.9c-1.1-49.7-34.5-83.1-80.7-83.2zm230.7-9.6h.3l-.1-.1zm.3 0c31.4 42.7 48.7 97.5 46.2 162.7.5 6 .5 11.7 0 24.1H230.2c-.2 109.7 38.9 194.9 138.6 195.3 68.5-.3 118-51 151.9-106.1l96.4 48.2c-17.4 30.9-36.5 57.8-57.9 80.8H640v-405z"]
  105066. };
  105067. var faCottonBureau = {
  105068. prefix: 'fab',
  105069. iconName: 'cotton-bureau',
  105070. icon: [512, 512, [], "f89e", "M474.31 330.41c-23.66 91.85-94.23 144.59-201.9 148.35V429.6c0-48 26.41-74.39 74.39-74.39 62 0 99.2-37.2 99.2-99.21 0-61.37-36.53-98.28-97.38-99.06-33-69.32-146.5-64.65-177.24 0C110.52 157.72 74 194.63 74 256c0 62.13 37.27 99.41 99.4 99.41 48 0 74.55 26.23 74.55 74.39V479c-134.43-5-211.1-85.07-211.1-223 0-141.82 81.35-223.2 223.2-223.2 114.77 0 189.84 53.2 214.69 148.81H500C473.88 71.51 388.22 8 259.82 8 105 8 12 101.19 12 255.82 12 411.14 105.19 504.34 259.82 504c128.27 0 213.87-63.81 239.67-173.59zM357 182.33c41.37 3.45 64.2 29 64.2 73.67 0 48-26.43 74.41-74.4 74.41-28.61 0-49.33-9.59-61.59-27.33 83.06-16.55 75.59-99.67 71.79-120.75zm-81.68 97.36c-2.46-10.34-16.33-87 56.23-97 2.27 10.09 16.52 87.11-56.26 97zM260 132c28.61 0 49 9.67 61.44 27.61-28.36 5.48-49.36 20.59-61.59 43.45-12.23-22.86-33.23-38-61.6-43.45 12.41-17.69 33.27-27.35 61.57-27.35zm-71.52 50.72c73.17 10.57 58.91 86.81 56.49 97-72.41-9.84-59-86.95-56.25-97zM173.2 330.41c-48 0-74.4-26.4-74.4-74.41 0-44.36 22.86-70 64.22-73.67-6.75 37.2-1.38 106.53 71.65 120.75-12.14 17.63-32.84 27.3-61.14 27.3zm53.21 12.39A80.8 80.8 0 0 0 260 309.25c7.77 14.49 19.33 25.54 33.82 33.55a80.28 80.28 0 0 0-33.58 33.83c-8-14.5-19.07-26.23-33.56-33.83z"]
  105071. };
  105072. var faDashcube = {
  105073. prefix: 'fab',
  105074. iconName: 'dashcube',
  105075. icon: [448, 512, [], "f210", "M326.6 104H110.4c-51.1 0-91.2 43.3-91.2 93.5V427c0 50.5 40.1 85 91.2 85h227.2c51.1 0 91.2-34.5 91.2-85V0L326.6 104zM153.9 416.5c-17.7 0-32.4-15.1-32.4-32.8V240.8c0-17.7 14.7-32.5 32.4-32.5h140.7c17.7 0 32 14.8 32 32.5v123.5l51.1 52.3H153.9z"]
  105076. };
  105077. var fa42Group = {
  105078. prefix: 'fab',
  105079. iconName: '42-group',
  105080. icon: [640, 512, ["innosoft"], "e080", "M320 96V416C341.011 416 361.818 411.861 381.23 403.821C400.641 395.78 418.28 383.995 433.138 369.138C447.995 354.28 459.78 336.641 467.821 317.23C475.861 297.818 480 277.011 480 256C480 234.989 475.861 214.182 467.821 194.771C459.78 175.359 447.995 157.72 433.138 142.863C418.28 128.005 400.641 116.22 381.23 108.179C361.818 100.139 341.011 96 320 96ZM0 256L160.002 416L320.003 256L160.002 96L0 256ZM480 256C480 277.011 484.138 297.818 492.179 317.23C500.219 336.643 512.005 354.28 526.862 369.138C541.72 383.995 559.357 395.781 578.77 403.821C598.182 411.862 618.989 416 640 416V96C597.565 96 556.869 112.858 526.862 142.863C496.857 172.869 480 213.565 480 256Z"]
  105081. };
  105082. var faInnosoft = fa42Group;
  105083. var faStackExchange = {
  105084. prefix: 'fab',
  105085. iconName: 'stack-exchange',
  105086. icon: [448, 512, [], "f18d", "M17.7 332.3h412.7v22c0 37.7-29.3 68-65.3 68h-19L259.3 512v-89.7H83c-36 0-65.3-30.3-65.3-68v-22zm0-23.6h412.7v-85H17.7v85zm0-109.4h412.7v-85H17.7v85zM365 0H83C47 0 17.7 30.3 17.7 67.7V90h412.7V67.7C430.3 30.3 401 0 365 0z"]
  105087. };
  105088. var faElementor = {
  105089. prefix: 'fab',
  105090. iconName: 'elementor',
  105091. icon: [512, 512, [], "f430", "M.361 256C.361 397 114 511 255 511C397 511 511 397 511 256C511 116 397 2.05 255 2.05C114 2.05 .361 116 .361 256zM192 150V363H149V150H192zM234 150H362V193H234V150zM362 235V278H234V235H362zM234 320H362V363H234V320z"]
  105092. };
  105093. var faSquarePiedPiper = {
  105094. prefix: 'fab',
  105095. iconName: 'square-pied-piper',
  105096. icon: [448, 512, ["pied-piper-square"], "e01e", "M32 419L0 479.2l.8-328C.8 85.3 54 32 120 32h327.2c-93 28.9-189.9 94.2-253.9 168.6C122.7 282 82.6 338 32 419M448 32S305.2 98.8 261.6 199.1c-23.2 53.6-28.9 118.1-71 158.6-28.9 27.8-69.8 38.2-105.3 56.3-23.2 12-66.4 40.5-84.9 66h328.4c66 0 119.3-53.3 119.3-119.2-.1 0-.1-328.8-.1-328.8z"]
  105097. };
  105098. var faPiedPiperSquare = faSquarePiedPiper;
  105099. var faCreativeCommonsNd = {
  105100. prefix: 'fab',
  105101. iconName: 'creative-commons-nd',
  105102. icon: [496, 512, [], "f4eb", "M247.6 8C389.4 8 496 118.1 496 256c0 147.1-118.5 248-248.4 248C113.6 504 0 394.5 0 256 0 123.1 104.7 8 247.6 8zm.8 44.7C130.2 52.7 44.7 150.6 44.7 256c0 109.8 91.2 202.8 203.7 202.8 103.2 0 202.8-81.1 202.8-202.8.1-113.8-90.2-203.3-202.8-203.3zm94 144.3v42.5H162.1V197h180.3zm0 79.8v42.5H162.1v-42.5h180.3z"]
  105103. };
  105104. var faPalfed = {
  105105. prefix: 'fab',
  105106. iconName: 'palfed',
  105107. icon: [576, 512, [], "f3d8", "M384.9 193.9c0-47.4-55.2-44.2-95.4-29.8-1.3 39.4-2.5 80.7-3 119.8.7 2.8 2.6 6.2 15.1 6.2 36.8 0 83.4-42.8 83.3-96.2zm-194.5 72.2c.2 0 6.5-2.7 11.2-2.7 26.6 0 20.7 44.1-14.4 44.1-21.5 0-37.1-18.1-37.1-43 0-42 42.9-95.6 100.7-126.5 1-12.4 3-22 10.5-28.2 11.2-9 26.6-3.5 29.5 11.1 72.2-22.2 135.2 1 135.2 72 0 77.9-79.3 152.6-140.1 138.2-.1 39.4.9 74.4 2.7 100v.2c.2 3.4.6 12.5-5.3 19.1-9.6 10.6-33.4 10-36.4-22.3-4.1-44.4.2-206.1 1.4-242.5-21.5 15-58.5 50.3-58.5 75.9.2 2.5.4 4 .6 4.6zM8 181.1s-.1 37.4 38.4 37.4h30l22.4 217.2s0 44.3 44.7 44.3h288.9s44.7-.4 44.7-44.3l22.4-217.2h30s38.4 1.2 38.4-37.4c0 0 .1-37.4-38.4-37.4h-30.1c-7.3-25.6-30.2-74.3-119.4-74.3h-28V50.3s-2.7-18.4-21.1-18.4h-85.8s-21.1 0-21.1 18.4v19.1h-28.1s-105 4.2-120.5 74.3h-29S8 142.5 8 181.1z"]
  105108. };
  105109. var faSuperpowers = {
  105110. prefix: 'fab',
  105111. iconName: 'superpowers',
  105112. icon: [448, 512, [], "f2dd", "M448 32c-83.3 11-166.8 22-250 33-92 12.5-163.3 86.7-169 180-3.3 55.5 18 109.5 57.8 148.2L0 480c83.3-11 166.5-22 249.8-33 91.8-12.5 163.3-86.8 168.7-179.8 3.5-55.5-18-109.5-57.7-148.2L448 32zm-79.7 232.3c-4.2 79.5-74 139.2-152.8 134.5-79.5-4.7-140.7-71-136.3-151 4.5-79.2 74.3-139.3 153-134.5 79.3 4.7 140.5 71 136.1 151z"]
  105113. };
  105114. var faResolving = {
  105115. prefix: 'fab',
  105116. iconName: 'resolving',
  105117. icon: [496, 512, [], "f3e7", "M281.2 278.2c46-13.3 49.6-23.5 44-43.4L314 195.5c-6.1-20.9-18.4-28.1-71.1-12.8L54.7 236.8l28.6 98.6 197.9-57.2zM248.5 8C131.4 8 33.2 88.7 7.2 197.5l221.9-63.9c34.8-10.2 54.2-11.7 79.3-8.2 36.3 6.1 52.7 25 61.4 55.2l10.7 37.8c8.2 28.1 1 50.6-23.5 73.6-19.4 17.4-31.2 24.5-61.4 33.2L203 351.8l220.4 27.1 9.7 34.2-48.1 13.3-286.8-37.3 23 80.2c36.8 22 80.3 34.7 126.3 34.7 137 0 248.5-111.4 248.5-248.3C497 119.4 385.5 8 248.5 8zM38.3 388.6L0 256.8c0 48.5 14.3 93.4 38.3 131.8z"]
  105118. };
  105119. var faXbox = {
  105120. prefix: 'fab',
  105121. iconName: 'xbox',
  105122. icon: [512, 512, [], "f412", "M369.9 318.2c44.3 54.3 64.7 98.8 54.4 118.7-7.9 15.1-56.7 44.6-92.6 55.9-29.6 9.3-68.4 13.3-100.4 10.2-38.2-3.7-76.9-17.4-110.1-39C93.3 445.8 87 438.3 87 423.4c0-29.9 32.9-82.3 89.2-142.1 32-33.9 76.5-73.7 81.4-72.6 9.4 2.1 84.3 75.1 112.3 109.5zM188.6 143.8c-29.7-26.9-58.1-53.9-86.4-63.4-15.2-5.1-16.3-4.8-28.7 8.1-29.2 30.4-53.5 79.7-60.3 122.4-5.4 34.2-6.1 43.8-4.2 60.5 5.6 50.5 17.3 85.4 40.5 120.9 9.5 14.6 12.1 17.3 9.3 9.9-4.2-11-.3-37.5 9.5-64 14.3-39 53.9-112.9 120.3-194.4zm311.6 63.5C483.3 127.3 432.7 77 425.6 77c-7.3 0-24.2 6.5-36 13.9-23.3 14.5-41 31.4-64.3 52.8C367.7 197 427.5 283.1 448.2 346c6.8 20.7 9.7 41.1 7.4 52.3-1.7 8.5-1.7 8.5 1.4 4.6 6.1-7.7 19.9-31.3 25.4-43.5 7.4-16.2 15-40.2 18.6-58.7 4.3-22.5 3.9-70.8-.8-93.4zM141.3 43C189 40.5 251 77.5 255.6 78.4c.7.1 10.4-4.2 21.6-9.7 63.9-31.1 94-25.8 107.4-25.2-63.9-39.3-152.7-50-233.9-11.7-23.4 11.1-24 11.9-9.4 11.2z"]
  105123. };
  105124. var faSearchengin = {
  105125. prefix: 'fab',
  105126. iconName: 'searchengin',
  105127. icon: [460, 512, [], "f3eb", "M220.6 130.3l-67.2 28.2V43.2L98.7 233.5l54.7-24.2v130.3l67.2-209.3zm-83.2-96.7l-1.3 4.7-15.2 52.9C80.6 106.7 52 145.8 52 191.5c0 52.3 34.3 95.9 83.4 105.5v53.6C57.5 340.1 0 272.4 0 191.6c0-80.5 59.8-147.2 137.4-158zm311.4 447.2c-11.2 11.2-23.1 12.3-28.6 10.5-5.4-1.8-27.1-19.9-60.4-44.4-33.3-24.6-33.6-35.7-43-56.7-9.4-20.9-30.4-42.6-57.5-52.4l-9.7-14.7c-24.7 16.9-53 26.9-81.3 28.7l2.1-6.6 15.9-49.5c46.5-11.9 80.9-54 80.9-104.2 0-54.5-38.4-102.1-96-107.1V32.3C254.4 37.4 320 106.8 320 191.6c0 33.6-11.2 64.7-29 90.4l14.6 9.6c9.8 27.1 31.5 48 52.4 57.4s32.2 9.7 56.8 43c24.6 33.2 42.7 54.9 44.5 60.3s.7 17.3-10.5 28.5zm-9.9-17.9c0-4.4-3.6-8-8-8s-8 3.6-8 8 3.6 8 8 8 8-3.6 8-8z"]
  105128. };
  105129. var faTiktok = {
  105130. prefix: 'fab',
  105131. iconName: 'tiktok',
  105132. icon: [448, 512, [], "e07b", "M448,209.91a210.06,210.06,0,0,1-122.77-39.25V349.38A162.55,162.55,0,1,1,185,188.31V278.2a74.62,74.62,0,1,0,52.23,71.18V0l88,0a121.18,121.18,0,0,0,1.86,22.17h0A122.18,122.18,0,0,0,381,102.39a121.43,121.43,0,0,0,67,20.14Z"]
  105133. };
  105134. var faSquareFacebook = {
  105135. prefix: 'fab',
  105136. iconName: 'square-facebook',
  105137. icon: [448, 512, ["facebook-square"], "f082", "M400 32H48A48 48 0 0 0 0 80v352a48 48 0 0 0 48 48h137.25V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.27c-30.81 0-40.42 19.12-40.42 38.73V256h68.78l-11 71.69h-57.78V480H400a48 48 0 0 0 48-48V80a48 48 0 0 0-48-48z"]
  105138. };
  105139. var faFacebookSquare = faSquareFacebook;
  105140. var faRenren = {
  105141. prefix: 'fab',
  105142. iconName: 'renren',
  105143. icon: [512, 512, [], "f18b", "M214 169.1c0 110.4-61 205.4-147.6 247.4C30 373.2 8 317.7 8 256.6 8 133.9 97.1 32.2 214 12.5v156.6zM255 504c-42.9 0-83.3-11-118.5-30.4C193.7 437.5 239.9 382.9 255 319c15.5 63.9 61.7 118.5 118.8 154.7C338.7 493 298.3 504 255 504zm190.6-87.5C359 374.5 298 279.6 298 169.1V12.5c116.9 19.7 206 121.4 206 244.1 0 61.1-22 116.6-58.4 159.9z"]
  105144. };
  105145. var faLinux = {
  105146. prefix: 'fab',
  105147. iconName: 'linux',
  105148. icon: [448, 512, [], "f17c", "M220.8 123.3c1 .5 1.8 1.7 3 1.7 1.1 0 2.8-.4 2.9-1.5.2-1.4-1.9-2.3-3.2-2.9-1.7-.7-3.9-1-5.5-.1-.4.2-.8.7-.6 1.1.3 1.3 2.3 1.1 3.4 1.7zm-21.9 1.7c1.2 0 2-1.2 3-1.7 1.1-.6 3.1-.4 3.5-1.6.2-.4-.2-.9-.6-1.1-1.6-.9-3.8-.6-5.5.1-1.3.6-3.4 1.5-3.2 2.9.1 1 1.8 1.5 2.8 1.4zM420 403.8c-3.6-4-5.3-11.6-7.2-19.7-1.8-8.1-3.9-16.8-10.5-22.4-1.3-1.1-2.6-2.1-4-2.9-1.3-.8-2.7-1.5-4.1-2 9.2-27.3 5.6-54.5-3.7-79.1-11.4-30.1-31.3-56.4-46.5-74.4-17.1-21.5-33.7-41.9-33.4-72C311.1 85.4 315.7.1 234.8 0 132.4-.2 158 103.4 156.9 135.2c-1.7 23.4-6.4 41.8-22.5 64.7-18.9 22.5-45.5 58.8-58.1 96.7-6 17.9-8.8 36.1-6.2 53.3-6.5 5.8-11.4 14.7-16.6 20.2-4.2 4.3-10.3 5.9-17 8.3s-14 6-18.5 14.5c-2.1 3.9-2.8 8.1-2.8 12.4 0 3.9.6 7.9 1.2 11.8 1.2 8.1 2.5 15.7.8 20.8-5.2 14.4-5.9 24.4-2.2 31.7 3.8 7.3 11.4 10.5 20.1 12.3 17.3 3.6 40.8 2.7 59.3 12.5 19.8 10.4 39.9 14.1 55.9 10.4 11.6-2.6 21.1-9.6 25.9-20.2 12.5-.1 26.3-5.4 48.3-6.6 14.9-1.2 33.6 5.3 55.1 4.1.6 2.3 1.4 4.6 2.5 6.7v.1c8.3 16.7 23.8 24.3 40.3 23 16.6-1.3 34.1-11 48.3-27.9 13.6-16.4 36-23.2 50.9-32.2 7.4-4.5 13.4-10.1 13.9-18.3.4-8.2-4.4-17.3-15.5-29.7zM223.7 87.3c9.8-22.2 34.2-21.8 44-.4 6.5 14.2 3.6 30.9-4.3 40.4-1.6-.8-5.9-2.6-12.6-4.9 1.1-1.2 3.1-2.7 3.9-4.6 4.8-11.8-.2-27-9.1-27.3-7.3-.5-13.9 10.8-11.8 23-4.1-2-9.4-3.5-13-4.4-1-6.9-.3-14.6 2.9-21.8zM183 75.8c10.1 0 20.8 14.2 19.1 33.5-3.5 1-7.1 2.5-10.2 4.6 1.2-8.9-3.3-20.1-9.6-19.6-8.4.7-9.8 21.2-1.8 28.1 1 .8 1.9-.2-5.9 5.5-15.6-14.6-10.5-52.1 8.4-52.1zm-13.6 60.7c6.2-4.6 13.6-10 14.1-10.5 4.7-4.4 13.5-14.2 27.9-14.2 7.1 0 15.6 2.3 25.9 8.9 6.3 4.1 11.3 4.4 22.6 9.3 8.4 3.5 13.7 9.7 10.5 18.2-2.6 7.1-11 14.4-22.7 18.1-11.1 3.6-19.8 16-38.2 14.9-3.9-.2-7-1-9.6-2.1-8-3.5-12.2-10.4-20-15-8.6-4.8-13.2-10.4-14.7-15.3-1.4-4.9 0-9 4.2-12.3zm3.3 334c-2.7 35.1-43.9 34.4-75.3 18-29.9-15.8-68.6-6.5-76.5-21.9-2.4-4.7-2.4-12.7 2.6-26.4v-.2c2.4-7.6.6-16-.6-23.9-1.2-7.8-1.8-15 .9-20 3.5-6.7 8.5-9.1 14.8-11.3 10.3-3.7 11.8-3.4 19.6-9.9 5.5-5.7 9.5-12.9 14.3-18 5.1-5.5 10-8.1 17.7-6.9 8.1 1.2 15.1 6.8 21.9 16l19.6 35.6c9.5 19.9 43.1 48.4 41 68.9zm-1.4-25.9c-4.1-6.6-9.6-13.6-14.4-19.6 7.1 0 14.2-2.2 16.7-8.9 2.3-6.2 0-14.9-7.4-24.9-13.5-18.2-38.3-32.5-38.3-32.5-13.5-8.4-21.1-18.7-24.6-29.9s-3-23.3-.3-35.2c5.2-22.9 18.6-45.2 27.2-59.2 2.3-1.7.8 3.2-8.7 20.8-8.5 16.1-24.4 53.3-2.6 82.4.6-20.7 5.5-41.8 13.8-61.5 12-27.4 37.3-74.9 39.3-112.7 1.1.8 4.6 3.2 6.2 4.1 4.6 2.7 8.1 6.7 12.6 10.3 12.4 10 28.5 9.2 42.4 1.2 6.2-3.5 11.2-7.5 15.9-9 9.9-3.1 17.8-8.6 22.3-15 7.7 30.4 25.7 74.3 37.2 95.7 6.1 11.4 18.3 35.5 23.6 64.6 3.3-.1 7 .4 10.9 1.4 13.8-35.7-11.7-74.2-23.3-84.9-4.7-4.6-4.9-6.6-2.6-6.5 12.6 11.2 29.2 33.7 35.2 59 2.8 11.6 3.3 23.7.4 35.7 16.4 6.8 35.9 17.9 30.7 34.8-2.2-.1-3.2 0-4.2 0 3.2-10.1-3.9-17.6-22.8-26.1-19.6-8.6-36-8.6-38.3 12.5-12.1 4.2-18.3 14.7-21.4 27.3-2.8 11.2-3.6 24.7-4.4 39.9-.5 7.7-3.6 18-6.8 29-32.1 22.9-76.7 32.9-114.3 7.2zm257.4-11.5c-.9 16.8-41.2 19.9-63.2 46.5-13.2 15.7-29.4 24.4-43.6 25.5s-26.5-4.8-33.7-19.3c-4.7-11.1-2.4-23.1 1.1-36.3 3.7-14.2 9.2-28.8 9.9-40.6.8-15.2 1.7-28.5 4.2-38.7 2.6-10.3 6.6-17.2 13.7-21.1.3-.2.7-.3 1-.5.8 13.2 7.3 26.6 18.8 29.5 12.6 3.3 30.7-7.5 38.4-16.3 9-.3 15.7-.9 22.6 5.1 9.9 8.5 7.1 30.3 17.1 41.6 10.6 11.6 14 19.5 13.7 24.6zM173.3 148.7c2 1.9 4.7 4.5 8 7.1 6.6 5.2 15.8 10.6 27.3 10.6 11.6 0 22.5-5.9 31.8-10.8 4.9-2.6 10.9-7 14.8-10.4s5.9-6.3 3.1-6.6-2.6 2.6-6 5.1c-4.4 3.2-9.7 7.4-13.9 9.8-7.4 4.2-19.5 10.2-29.9 10.2s-18.7-4.8-24.9-9.7c-3.1-2.5-5.7-5-7.7-6.9-1.5-1.4-1.9-4.6-4.3-4.9-1.4-.1-1.8 3.7 1.7 6.5z"]
  105149. };
  105150. var faGlide = {
  105151. prefix: 'fab',
  105152. iconName: 'glide',
  105153. icon: [448, 512, [], "f2a5", "M252.8 148.6c0 8.8-1.6 17.7-3.4 26.4-5.8 27.8-11.6 55.8-17.3 83.6-1.4 6.3-8.3 4.9-13.7 4.9-23.8 0-30.5-26-30.5-45.5 0-29.3 11.2-68.1 38.5-83.1 4.3-2.5 9.2-4.2 14.1-4.2 11.4 0 12.3 8.3 12.3 17.9zM448 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-64 187c0-5.1-20.8-37.7-25.5-39.5-2.2-.9-7.2-2.3-9.6-2.3-23.1 0-38.7 10.5-58.2 21.5l-.5-.5c4.3-29.4 14.6-57.2 14.6-87.4 0-44.6-23.8-62.7-67.5-62.7-71.7 0-108 70.8-108 123.5 0 54.7 32 85 86.3 85 7.5 0 6.9-.6 6.9 2.3-10.5 80.3-56.5 82.9-56.5 58.9 0-24.4 28-36.5 28.3-38-.2-7.6-29.3-17.2-36.7-17.2-21.1 0-32.7 33-32.7 50.6 0 32.3 20.4 54.7 53.3 54.7 48.2 0 83.4-49.7 94.3-91.7 9.4-37.7 7-39.4 12.3-42.1 20-10.1 35.8-16.8 58.4-16.8 11.1 0 19 2.3 36.7 5.2 1.8.1 4.1-1.7 4.1-3.5z"]
  105154. };
  105155. var faLinkedin = {
  105156. prefix: 'fab',
  105157. iconName: 'linkedin',
  105158. icon: [448, 512, [], "f08c", "M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"]
  105159. };
  105160. var faHubspot = {
  105161. prefix: 'fab',
  105162. iconName: 'hubspot',
  105163. icon: [512, 512, [], "f3b2", "M267.4 211.6c-25.1 23.7-40.8 57.3-40.8 94.6 0 29.3 9.7 56.3 26 78L203.1 434c-4.4-1.6-9.1-2.5-14-2.5-10.8 0-20.9 4.2-28.5 11.8-7.6 7.6-11.8 17.8-11.8 28.6s4.2 20.9 11.8 28.5c7.6 7.6 17.8 11.6 28.5 11.6 10.8 0 20.9-3.9 28.6-11.6 7.6-7.6 11.8-17.8 11.8-28.5 0-4.2-.6-8.2-1.9-12.1l50-50.2c22 16.9 49.4 26.9 79.3 26.9 71.9 0 130-58.3 130-130.2 0-65.2-47.7-119.2-110.2-128.7V116c17.5-7.4 28.2-23.8 28.2-42.9 0-26.1-20.9-47.9-47-47.9S311.2 47 311.2 73.1c0 19.1 10.7 35.5 28.2 42.9v61.2c-15.2 2.1-29.6 6.7-42.7 13.6-27.6-20.9-117.5-85.7-168.9-124.8 1.2-4.4 2-9 2-13.8C129.8 23.4 106.3 0 77.4 0 48.6 0 25.2 23.4 25.2 52.2c0 28.9 23.4 52.3 52.2 52.3 9.8 0 18.9-2.9 26.8-7.6l163.2 114.7zm89.5 163.6c-38.1 0-69-30.9-69-69s30.9-69 69-69 69 30.9 69 69-30.9 69-69 69z"]
  105164. };
  105165. var faDeploydog = {
  105166. prefix: 'fab',
  105167. iconName: 'deploydog',
  105168. icon: [512, 512, [], "f38e", "M382.2 136h51.7v239.6h-51.7v-20.7c-19.8 24.8-52.8 24.1-73.8 14.7-26.2-11.7-44.3-38.1-44.3-71.8 0-29.8 14.8-57.9 43.3-70.8 20.2-9.1 52.7-10.6 74.8 12.9V136zm-64.7 161.8c0 18.2 13.6 33.5 33.2 33.5 19.8 0 33.2-16.4 33.2-32.9 0-17.1-13.7-33.2-33.2-33.2-19.6 0-33.2 16.4-33.2 32.6zM188.5 136h51.7v239.6h-51.7v-20.7c-19.8 24.8-52.8 24.1-73.8 14.7-26.2-11.7-44.3-38.1-44.3-71.8 0-29.8 14.8-57.9 43.3-70.8 20.2-9.1 52.7-10.6 74.8 12.9V136zm-64.7 161.8c0 18.2 13.6 33.5 33.2 33.5 19.8 0 33.2-16.4 33.2-32.9 0-17.1-13.7-33.2-33.2-33.2-19.7 0-33.2 16.4-33.2 32.6zM448 96c17.5 0 32 14.4 32 32v256c0 17.5-14.4 32-32 32H64c-17.5 0-32-14.4-32-32V128c0-17.5 14.4-32 32-32h384m0-32H64C28.8 64 0 92.8 0 128v256c0 35.2 28.8 64 64 64h384c35.2 0 64-28.8 64-64V128c0-35.2-28.8-64-64-64z"]
  105169. };
  105170. var faTwitch = {
  105171. prefix: 'fab',
  105172. iconName: 'twitch',
  105173. icon: [512, 512, [], "f1e8", "M391.17,103.47H352.54v109.7h38.63ZM285,103H246.37V212.75H285ZM120.83,0,24.31,91.42V420.58H140.14V512l96.53-91.42h77.25L487.69,256V0ZM449.07,237.75l-77.22,73.12H294.61l-67.6,64v-64H140.14V36.58H449.07Z"]
  105174. };
  105175. var faRavelry = {
  105176. prefix: 'fab',
  105177. iconName: 'ravelry',
  105178. icon: [512, 512, [], "f2d9", "M498.252,234.223c-1.208-10.34-1.7-20.826-3.746-31a310.306,310.306,0,0,0-9.622-36.6,184.068,184.068,0,0,0-30.874-57.5,251.154,251.154,0,0,0-18.818-21.689,237.362,237.362,0,0,0-47.113-36.116A240.8,240.8,0,0,0,331.356,26.65c-11.018-3.1-22.272-5.431-33.515-7.615-6.78-1.314-13.749-1.667-20.627-2.482-.316-.036-.6-.358-.9-.553q-16.143.009-32.288.006c-2.41.389-4.808.925-7.236,1.15a179.331,179.331,0,0,0-34.256,7.1,221.5,221.5,0,0,0-39.768,16.355,281.385,281.385,0,0,0-38.08,24.158c-6.167,4.61-12.268,9.36-17.974,14.518C96.539,88.494,86.34,97.72,76.785,107.555a243.878,243.878,0,0,0-33.648,43.95,206.488,206.488,0,0,0-20.494,44.6,198.2,198.2,0,0,0-7.691,34.759A201.13,201.13,0,0,0,13.4,266.385a299.716,299.716,0,0,0,4.425,40.24,226.865,226.865,0,0,0,16.73,53.3,210.543,210.543,0,0,0,24,39.528,213.589,213.589,0,0,0,26.358,28.416A251.313,251.313,0,0,0,126.7,458.455a287.831,287.831,0,0,0,55.9,25.277,269.5,269.5,0,0,0,40.641,9.835c6.071,1.01,12.275,1.253,18.412,1.873a4.149,4.149,0,0,1,1.19.56h32.289c2.507-.389,5-.937,7.527-1.143,16.336-1.332,32.107-5.335,47.489-10.717A219.992,219.992,0,0,0,379.1,460.322c9.749-6.447,19.395-13.077,28.737-20.1,5.785-4.348,10.988-9.5,16.3-14.457,3.964-3.7,7.764-7.578,11.51-11.5a232.162,232.162,0,0,0,31.427-41.639c9.542-16.045,17.355-32.905,22.3-50.926,2.859-10.413,4.947-21.045,7.017-31.652,1.032-5.279,1.251-10.723,1.87-16.087.036-.317.358-.6.552-.9V236.005A9.757,9.757,0,0,1,498.252,234.223Zm-161.117-1.15s-16.572-2.98-28.47-2.98c-27.2,0-33.57,14.9-33.57,37.04V360.8H201.582V170.062H275.1v31.931c8.924-26.822,26.771-36.189,62.04-36.189Z"]
  105179. };
  105180. var faMixer = {
  105181. prefix: 'fab',
  105182. iconName: 'mixer',
  105183. icon: [512, 512, [], "e056", "M114.57,76.07a45.71,45.71,0,0,0-67.51-6.41c-17.58,16.18-19,43.52-4.75,62.77l91.78,123L41.76,379.58c-14.23,19.25-13.11,46.59,4.74,62.77A45.71,45.71,0,0,0,114,435.94L242.89,262.7a12.14,12.14,0,0,0,0-14.23ZM470.24,379.58,377.91,255.45l91.78-123c14.22-19.25,12.83-46.59-4.75-62.77a45.71,45.71,0,0,0-67.51,6.41l-128,172.12a12.14,12.14,0,0,0,0,14.23L398,435.94a45.71,45.71,0,0,0,67.51,6.41C483.35,426.17,484.47,398.83,470.24,379.58Z"]
  105184. };
  105185. var faSquareLastfm = {
  105186. prefix: 'fab',
  105187. iconName: 'square-lastfm',
  105188. icon: [448, 512, ["lastfm-square"], "f203", "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-92.2 312.9c-63.4 0-85.4-28.6-97.1-64.1-16.3-51-21.5-84.3-63-84.3-22.4 0-45.1 16.1-45.1 61.2 0 35.2 18 57.2 43.3 57.2 28.6 0 47.6-21.3 47.6-21.3l11.7 31.9s-19.8 19.4-61.2 19.4c-51.3 0-79.9-30.1-79.9-85.8 0-57.9 28.6-92 82.5-92 73.5 0 80.8 41.4 100.8 101.9 8.8 26.8 24.2 46.2 61.2 46.2 24.9 0 38.1-5.5 38.1-19.1 0-19.9-21.8-22-49.9-28.6-30.4-7.3-42.5-23.1-42.5-48 0-40 32.3-52.4 65.2-52.4 37.4 0 60.1 13.6 63 46.6l-36.7 4.4c-1.5-15.8-11-22.4-28.6-22.4-16.1 0-26 7.3-26 19.8 0 11 4.8 17.6 20.9 21.3 32.7 7.1 71.8 12 71.8 57.5.1 36.7-30.7 50.6-76.1 50.6z"]
  105189. };
  105190. var faLastfmSquare = faSquareLastfm;
  105191. var faVimeo = {
  105192. prefix: 'fab',
  105193. iconName: 'vimeo',
  105194. icon: [448, 512, [], "f40a", "M403.2 32H44.8C20.1 32 0 52.1 0 76.8v358.4C0 459.9 20.1 480 44.8 480h358.4c24.7 0 44.8-20.1 44.8-44.8V76.8c0-24.7-20.1-44.8-44.8-44.8zM377 180.8c-1.4 31.5-23.4 74.7-66 129.4-44 57.2-81.3 85.8-111.7 85.8-18.9 0-34.8-17.4-47.9-52.3-25.5-93.3-36.4-148-57.4-148-2.4 0-10.9 5.1-25.4 15.2l-15.2-19.6c37.3-32.8 72.9-69.2 95.2-71.2 25.2-2.4 40.7 14.8 46.5 51.7 20.7 131.2 29.9 151 67.6 91.6 13.5-21.4 20.8-37.7 21.8-48.9 3.5-33.2-25.9-30.9-45.8-22.4 15.9-52.1 46.3-77.4 91.2-76 33.3.9 49 22.5 47.1 64.7z"]
  105195. };
  105196. var faMendeley = {
  105197. prefix: 'fab',
  105198. iconName: 'mendeley',
  105199. icon: [640, 512, [], "f7b3", "M624.6 325.2c-12.3-12.4-29.7-19.2-48.4-17.2-43.3-1-49.7-34.9-37.5-98.8 22.8-57.5-14.9-131.5-87.4-130.8-77.4.7-81.7 82-130.9 82-48.1 0-54-81.3-130.9-82-72.9-.8-110.1 73.3-87.4 130.8 12.2 63.9 5.8 97.8-37.5 98.8-21.2-2.3-37 6.5-53 22.5-19.9 19.7-19.3 94.8 42.6 102.6 47.1 5.9 81.6-42.9 61.2-87.8-47.3-103.7 185.9-106.1 146.5-8.2-.1.1-.2.2-.3.4-26.8 42.8 6.8 97.4 58.8 95.2 52.1 2.1 85.4-52.6 58.8-95.2-.1-.2-.2-.3-.3-.4-39.4-97.9 193.8-95.5 146.5 8.2-4.6 10-6.7 21.3-5.7 33 4.9 53.4 68.7 74.1 104.9 35.2 17.8-14.8 23.1-65.6 0-88.3zm-303.9-19.1h-.6c-43.4 0-62.8-37.5-62.8-62.8 0-34.7 28.2-62.8 62.8-62.8h.6c34.7 0 62.8 28.1 62.8 62.8 0 25-19.2 62.8-62.8 62.8z"]
  105200. };
  105201. var faUniregistry = {
  105202. prefix: 'fab',
  105203. iconName: 'uniregistry',
  105204. icon: [384, 512, [], "f404", "M192 480c39.5 0 76.2-11.8 106.8-32.2H85.3C115.8 468.2 152.5 480 192 480zm-89.1-193.1v-12.4H0v12.4c0 2.5 0 5 .1 7.4h103.1c-.2-2.4-.3-4.9-.3-7.4zm20.5 57H8.5c2.6 8.5 5.8 16.8 9.6 24.8h138.3c-12.9-5.7-24.1-14.2-33-24.8zm-17.7-34.7H1.3c.9 7.6 2.2 15 3.9 22.3h109.7c-4-6.9-7.2-14.4-9.2-22.3zm-2.8-69.3H0v17.3h102.9zm0-173.2H0v4.9h102.9zm0-34.7H0v2.5h102.9zm0 69.3H0v7.4h102.9zm0 104H0v14.8h102.9zm0-69.3H0v9.9h102.9zm0 34.6H0V183h102.9zm166.2 160.9h109.7c1.8-7.3 3.1-14.7 3.9-22.3H278.3c-2.1 7.9-5.2 15.4-9.2 22.3zm12-185.7H384V136H281.1zm0 37.2H384v-12.4H281.1zm0-74.3H384v-7.4H281.1zm0-76.7v2.5H384V32zm-203 410.9h227.7c11.8-8.7 22.7-18.6 32.2-29.7H44.9c9.6 11 21.4 21 33.2 29.7zm203-371.3H384v-4.9H281.1zm0 148.5H384v-14.8H281.1zM38.8 405.7h305.3c6.7-8.5 12.6-17.6 17.8-27.2H23c5.2 9.6 9.2 18.7 15.8 27.2zm188.8-37.1H367c3.7-8 5.8-16.2 8.5-24.8h-115c-8.8 10.7-20.1 19.2-32.9 24.8zm53.5-81.7c0 2.5-.1 5-.4 7.4h103.1c.1-2.5.2-4.9.2-7.4v-12.4H281.1zm0-29.7H384v-17.3H281.1z"]
  105205. };
  105206. var faFigma = {
  105207. prefix: 'fab',
  105208. iconName: 'figma',
  105209. icon: [384, 512, [], "f799", "M14 95.7924C14 42.8877 56.8878 0 109.793 0H274.161C327.066 0 369.954 42.8877 369.954 95.7924C369.954 129.292 352.758 158.776 326.711 175.897C352.758 193.019 369.954 222.502 369.954 256.002C369.954 308.907 327.066 351.795 274.161 351.795H272.081C247.279 351.795 224.678 342.369 207.666 326.904V415.167C207.666 468.777 163.657 512 110.309 512C57.5361 512 14 469.243 14 416.207C14 382.709 31.1945 353.227 57.2392 336.105C31.1945 318.983 14 289.5 14 256.002C14 222.502 31.196 193.019 57.2425 175.897C31.196 158.776 14 129.292 14 95.7924ZM176.288 191.587H109.793C74.2172 191.587 45.3778 220.427 45.3778 256.002C45.3778 291.44 73.9948 320.194 109.381 320.416C109.518 320.415 109.655 320.415 109.793 320.415H176.288V191.587ZM207.666 256.002C207.666 291.577 236.505 320.417 272.081 320.417H274.161C309.737 320.417 338.576 291.577 338.576 256.002C338.576 220.427 309.737 191.587 274.161 191.587H272.081C236.505 191.587 207.666 220.427 207.666 256.002ZM109.793 351.795C109.655 351.795 109.518 351.794 109.381 351.794C73.9948 352.015 45.3778 380.769 45.3778 416.207C45.3778 451.652 74.6025 480.622 110.309 480.622C146.591 480.622 176.288 451.186 176.288 415.167V351.795H109.793ZM109.793 31.3778C74.2172 31.3778 45.3778 60.2173 45.3778 95.7924C45.3778 131.368 74.2172 160.207 109.793 160.207H176.288V31.3778H109.793ZM207.666 160.207H274.161C309.737 160.207 338.576 131.368 338.576 95.7924C338.576 60.2173 309.737 31.3778 274.161 31.3778H207.666V160.207Z"]
  105210. };
  105211. var faCreativeCommonsRemix = {
  105212. prefix: 'fab',
  105213. iconName: 'creative-commons-remix',
  105214. icon: [496, 512, [], "f4ee", "M247.6 8C389.4 8 496 118.1 496 256c0 147.1-118.5 248-248.4 248C113.6 504 0 394.5 0 256 0 123.1 104.7 8 247.6 8zm.8 44.7C130.2 52.7 44.7 150.6 44.7 256c0 109.8 91.2 202.8 203.7 202.8 103.2 0 202.8-81.1 202.8-202.8.1-113.8-90.2-203.3-202.8-203.3zm161.7 207.7l4.9 2.2v70c-7.2 3.6-63.4 27.5-67.3 28.8-6.5-1.8-113.7-46.8-137.3-56.2l-64.2 26.6-63.3-27.5v-63.8l59.3-24.8c-.7-.7-.4 5-.4-70.4l67.3-29.7L361 178.5v61.6l49.1 20.3zm-70.4 81.5v-43.8h-.4v-1.8l-113.8-46.5V295l113.8 46.9v-.4l.4.4zm7.5-57.6l39.9-16.4-36.8-15.5-39 16.4 35.9 15.5zm52.3 38.1v-43L355.2 298v43.4l44.3-19z"]
  105215. };
  105216. var faCcAmazonPay = {
  105217. prefix: 'fab',
  105218. iconName: 'cc-amazon-pay',
  105219. icon: [576, 512, [], "f42d", "M124.7 201.8c.1-11.8 0-23.5 0-35.3v-35.3c0-1.3.4-2 1.4-2.7 11.5-8 24.1-12.1 38.2-11.1 12.5.9 22.7 7 28.1 21.7 3.3 8.9 4.1 18.2 4.1 27.7 0 8.7-.7 17.3-3.4 25.6-5.7 17.8-18.7 24.7-35.7 23.9-11.7-.5-21.9-5-31.4-11.7-.9-.8-1.4-1.6-1.3-2.8zm154.9 14.6c4.6 1.8 9.3 2 14.1 1.5 11.6-1.2 21.9-5.7 31.3-12.5.9-.6 1.3-1.3 1.3-2.5-.1-3.9 0-7.9 0-11.8 0-4-.1-8 0-12 0-1.4-.4-2-1.8-2.2-7-.9-13.9-2.2-20.9-2.9-7-.6-14-.3-20.8 1.9-6.7 2.2-11.7 6.2-13.7 13.1-1.6 5.4-1.6 10.8.1 16.2 1.6 5.5 5.2 9.2 10.4 11.2zM576 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h480c26.5 0 48 21.5 48 48zm-207.5 23.9c.4 1.7.9 3.4 1.6 5.1 16.5 40.6 32.9 81.3 49.5 121.9 1.4 3.5 1.7 6.4.2 9.9-2.8 6.2-4.9 12.6-7.8 18.7-2.6 5.5-6.7 9.5-12.7 11.2-4.2 1.1-8.5 1.3-12.9.9-2.1-.2-4.2-.7-6.3-.8-2.8-.2-4.2 1.1-4.3 4-.1 2.8-.1 5.6 0 8.3.1 4.6 1.6 6.7 6.2 7.5 4.7.8 9.4 1.6 14.2 1.7 14.3.3 25.7-5.4 33.1-17.9 2.9-4.9 5.6-10.1 7.7-15.4 19.8-50.1 39.5-100.3 59.2-150.5.6-1.5 1.1-3 1.3-4.6.4-2.4-.7-3.6-3.1-3.7-5.6-.1-11.1 0-16.7 0-3.1 0-5.3 1.4-6.4 4.3-.4 1.1-.9 2.3-1.3 3.4l-29.1 83.7c-2.1 6.1-4.2 12.1-6.5 18.6-.4-.9-.6-1.4-.8-1.9-10.8-29.9-21.6-59.9-32.4-89.8-1.7-4.7-3.5-9.5-5.3-14.2-.9-2.5-2.7-4-5.4-4-6.4-.1-12.8-.2-19.2-.1-2.2 0-3.3 1.6-2.8 3.7zM242.4 206c1.7 11.7 7.6 20.8 18 26.6 9.9 5.5 20.7 6.2 31.7 4.6 12.7-1.9 23.9-7.3 33.8-15.5.4-.3.8-.6 1.4-1 .5 3.2.9 6.2 1.5 9.2.5 2.6 2.1 4.3 4.5 4.4 4.6.1 9.1.1 13.7 0 2.3-.1 3.8-1.6 4-3.9.1-.8.1-1.6.1-2.3v-88.8c0-3.6-.2-7.2-.7-10.8-1.6-10.8-6.2-19.7-15.9-25.4-5.6-3.3-11.8-5-18.2-5.9-3-.4-6-.7-9.1-1.1h-10c-.8.1-1.6.3-2.5.3-8.2.4-16.3 1.4-24.2 3.5-5.1 1.3-10 3.2-15 4.9-3 1-4.5 3.2-4.4 6.5.1 2.8-.1 5.6 0 8.3.1 4.1 1.8 5.2 5.7 4.1 6.5-1.7 13.1-3.5 19.7-4.8 10.3-1.9 20.7-2.7 31.1-1.2 5.4.8 10.5 2.4 14.1 7 3.1 4 4.2 8.8 4.4 13.7.3 6.9.2 13.9.3 20.8 0 .4-.1.7-.2 1.2-.4 0-.8 0-1.1-.1-8.8-2.1-17.7-3.6-26.8-4.1-9.5-.5-18.9.1-27.9 3.2-10.8 3.8-19.5 10.3-24.6 20.8-4.1 8.3-4.6 17-3.4 25.8zM98.7 106.9v175.3c0 .8 0 1.7.1 2.5.2 2.5 1.7 4.1 4.1 4.2 5.9.1 11.8.1 17.7 0 2.5 0 4-1.7 4.1-4.1.1-.8.1-1.7.1-2.5v-60.7c.9.7 1.4 1.2 1.9 1.6 15 12.5 32.2 16.6 51.1 12.9 17.1-3.4 28.9-13.9 36.7-29.2 5.8-11.6 8.3-24.1 8.7-37 .5-14.3-1-28.4-6.8-41.7-7.1-16.4-18.9-27.3-36.7-30.9-2.7-.6-5.5-.8-8.2-1.2h-7c-1.2.2-2.4.3-3.6.5-11.7 1.4-22.3 5.8-31.8 12.7-2 1.4-3.9 3-5.9 4.5-.1-.5-.3-.8-.4-1.2-.4-2.3-.7-4.6-1.1-6.9-.6-3.9-2.5-5.5-6.4-5.6h-9.7c-5.9-.1-6.9 1-6.9 6.8zM493.6 339c-2.7-.7-5.1 0-7.6 1-43.9 18.4-89.5 30.2-136.8 35.8-14.5 1.7-29.1 2.8-43.7 3.2-26.6.7-53.2-.8-79.6-4.3-17.8-2.4-35.5-5.7-53-9.9-37-8.9-72.7-21.7-106.7-38.8-8.8-4.4-17.4-9.3-26.1-14-3.8-2.1-6.2-1.5-8.2 2.1v1.7c1.2 1.6 2.2 3.4 3.7 4.8 36 32.2 76.6 56.5 122 72.9 21.9 7.9 44.4 13.7 67.3 17.5 14 2.3 28 3.8 42.2 4.5 3 .1 6 .2 9 .4.7 0 1.4.2 2.1.3h17.7c.7-.1 1.4-.3 2.1-.3 14.9-.4 29.8-1.8 44.6-4 21.4-3.2 42.4-8.1 62.9-14.7 29.6-9.6 57.7-22.4 83.4-40.1 2.8-1.9 5.7-3.8 8-6.2 4.3-4.4 2.3-10.4-3.3-11.9zm50.4-27.7c-.8-4.2-4-5.8-7.6-7-5.7-1.9-11.6-2.8-17.6-3.3-11-.9-22-.4-32.8 1.6-12 2.2-23.4 6.1-33.5 13.1-1.2.8-2.4 1.8-3.1 3-.6.9-.7 2.3-.5 3.4.3 1.3 1.7 1.6 3 1.5.6 0 1.2 0 1.8-.1l19.5-2.1c9.6-.9 19.2-1.5 28.8-.8 4.1.3 8.1 1.2 12 2.2 4.3 1.1 6.2 4.4 6.4 8.7.3 6.7-1.2 13.1-2.9 19.5-3.5 12.9-8.3 25.4-13.3 37.8-.3.8-.7 1.7-.8 2.5-.4 2.5 1 4 3.4 3.5 1.4-.3 3-1.1 4-2.1 3.7-3.6 7.5-7.2 10.6-11.2 10.7-13.8 17-29.6 20.7-46.6.7-3 1.2-6.1 1.7-9.1.2-4.7.2-9.6.2-14.5z"]
  105220. };
  105221. var faDropbox = {
  105222. prefix: 'fab',
  105223. iconName: 'dropbox',
  105224. icon: [528, 512, [], "f16b", "M264.4 116.3l-132 84.3 132 84.3-132 84.3L0 284.1l132.3-84.3L0 116.3 132.3 32l132.1 84.3zM131.6 395.7l132-84.3 132 84.3-132 84.3-132-84.3zm132.8-111.6l132-84.3-132-83.6L395.7 32 528 116.3l-132.3 84.3L528 284.8l-132.3 84.3-131.3-85z"]
  105225. };
  105226. var faInstagram = {
  105227. prefix: 'fab',
  105228. iconName: 'instagram',
  105229. icon: [448, 512, [], "f16d", "M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"]
  105230. };
  105231. var faCmplid = {
  105232. prefix: 'fab',
  105233. iconName: 'cmplid',
  105234. icon: [640, 512, [], "e360", "M226.119,388.165a3.816,3.816,0,0,0-2.294-3.5,3.946,3.946,0,0,0-1.629-.385L72.6,384.3a19.243,19.243,0,0,1-17.924-26.025L81.585,255.692a35.72,35.72,0,0,1,32.373-26H262.525a7.07,7.07,0,0,0,6.392-5.194l10.769-41.131a3.849,3.849,0,0,0-2.237-4.937,3.755,3.755,0,0,0-1.377-.261c-.063,0-.126,0-.189.005H127.38a106.8,106.8,0,0,0-96.99,77.1L3.483,358.824A57.469,57.469,0,0,0,57.314,436q1.43,0,2.86-.072H208.742a7.131,7.131,0,0,0,6.391-5.193L225.839,389.6A3.82,3.82,0,0,0,226.119,388.165ZM306.658,81.2a3.861,3.861,0,0,0,.251-1.367A3.813,3.813,0,0,0,303.079,76c-.064,0-.128,0-.192,0h-41A7.034,7.034,0,0,0,255.5,81.2l-21.347,80.915h51.131ZM180.364,368.249H231.5L263.452,245.69H212.321ZM511.853,79.723a3.809,3.809,0,0,0-3.8-3.661c-.058,0-.137,0-.23.007h-41a7.1,7.1,0,0,0-6.584,5.129L368.91,430.634a3.54,3.54,0,0,0-.262,1.335,3.873,3.873,0,0,0,3.864,3.863c.056,0,.112,0,.169,0h41a7.068,7.068,0,0,0,6.392-5.193L511.533,81.2A3.624,3.624,0,0,0,511.853,79.723ZM324.649,384.47h-41a7.2,7.2,0,0,0-6.392,5.194L266.52,430.8a3.662,3.662,0,0,0-.268,1.374A3.783,3.783,0,0,0,270.023,436c.06,0,.166,0,.3-.012h40.905a7.036,7.036,0,0,0,6.391-5.193l10.769-41.131a3.75,3.75,0,0,0-3.445-5.208c-.108,0-.217,0-.326.014Zm311.324-308.4h-41a7.066,7.066,0,0,0-6.392,5.129l-91.46,349.436a4.073,4.073,0,0,0-.229,1.347,3.872,3.872,0,0,0,3.863,3.851c.056,0,.112,0,.169,0h40.968a7.1,7.1,0,0,0,6.392-5.193L639.68,81.2a3.624,3.624,0,0,0,.32-1.475,3.841,3.841,0,0,0-3.821-3.564c-.068,0-.137,0-.206.006ZM371.562,225.236l10.8-41.1a4.369,4.369,0,0,0,.227-1.388,3.869,3.869,0,0,0-3.861-3.842c-.057,0-.113,0-.169,0h-41.1a7.292,7.292,0,0,0-6.391,5.226l-10.834,41.1a4.417,4.417,0,0,0-.26,1.493c0,.069,0,.138,0,.206a3.776,3.776,0,0,0,3.757,3.507c.076,0,.18,0,.3-.012h41.129A7.034,7.034,0,0,0,371.562,225.236Z"]
  105235. };
  105236. var faFacebook = {
  105237. prefix: 'fab',
  105238. iconName: 'facebook',
  105239. icon: [512, 512, [62000], "f09a", "M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z"]
  105240. };
  105241. var faGripfire = {
  105242. prefix: 'fab',
  105243. iconName: 'gripfire',
  105244. icon: [384, 512, [], "f3ac", "M112.5 301.4c0-73.8 105.1-122.5 105.1-203 0-47.1-34-88-39.1-90.4.4 3.3.6 6.7.6 10C179.1 110.1 32 171.9 32 286.6c0 49.8 32.2 79.2 66.5 108.3 65.1 46.7 78.1 71.4 78.1 86.6 0 10.1-4.8 17-4.8 22.3 13.1-16.7 17.4-31.9 17.5-46.4 0-29.6-21.7-56.3-44.2-86.5-16-22.3-32.6-42.6-32.6-69.5zm205.3-39c-12.1-66.8-78-124.4-94.7-130.9l4 7.2c2.4 5.1 3.4 10.9 3.4 17.1 0 44.7-54.2 111.2-56.6 116.7-2.2 5.1-3.2 10.5-3.2 15.8 0 20.1 15.2 42.1 17.9 42.1 2.4 0 56.6-55.4 58.1-87.7 6.4 11.7 9.1 22.6 9.1 33.4 0 41.2-41.8 96.9-41.8 96.9 0 11.6 31.9 53.2 35.5 53.2 1 0 2.2-1.4 3.2-2.4 37.9-39.3 67.3-85 67.3-136.8 0-8-.7-16.2-2.2-24.6z"]
  105245. };
  105246. var faJediOrder = {
  105247. prefix: 'fab',
  105248. iconName: 'jedi-order',
  105249. icon: [448, 512, [], "f50e", "M398.5 373.6c95.9-122.1 17.2-233.1 17.2-233.1 45.4 85.8-41.4 170.5-41.4 170.5 105-171.5-60.5-271.5-60.5-271.5 96.9 72.7-10.1 190.7-10.1 190.7 85.8 158.4-68.6 230.1-68.6 230.1s-.4-16.9-2.2-85.7c4.3 4.5 34.5 36.2 34.5 36.2l-24.2-47.4 62.6-9.1-62.6-9.1 20.2-55.5-31.4 45.9c-2.2-87.7-7.8-305.1-7.9-306.9v-2.4 1-1 2.4c0 1-5.6 219-7.9 306.9l-31.4-45.9 20.2 55.5-62.6 9.1 62.6 9.1-24.2 47.4 34.5-36.2c-1.8 68.8-2.2 85.7-2.2 85.7s-154.4-71.7-68.6-230.1c0 0-107-118.1-10.1-190.7 0 0-165.5 99.9-60.5 271.5 0 0-86.8-84.8-41.4-170.5 0 0-78.7 111 17.2 233.1 0 0-26.2-16.1-49.4-77.7 0 0 16.9 183.3 222 185.7h4.1c205-2.4 222-185.7 222-185.7-23.6 61.5-49.9 77.7-49.9 77.7z"]
  105250. };
  105251. var faUikit = {
  105252. prefix: 'fab',
  105253. iconName: 'uikit',
  105254. icon: [448, 512, [], "f403", "M443.9 128v256L218 512 0 384V169.7l87.6 45.1v117l133.5 75.5 135.8-75.5v-151l-101.1-57.6 87.6-53.1L443.9 128zM308.6 49.1L223.8 0l-88.6 54.8 86 47.3 87.4-53z"]
  105255. };
  105256. var faFortAwesomeAlt = {
  105257. prefix: 'fab',
  105258. iconName: 'fort-awesome-alt',
  105259. icon: [512, 512, [], "f3a3", "M208 237.4h-22.2c-2.1 0-3.7 1.6-3.7 3.7v51.7c0 2.1 1.6 3.7 3.7 3.7H208c2.1 0 3.7-1.6 3.7-3.7v-51.7c0-2.1-1.6-3.7-3.7-3.7zm118.2 0H304c-2.1 0-3.7 1.6-3.7 3.7v51.7c0 2.1 1.6 3.7 3.7 3.7h22.2c2.1 0 3.7-1.6 3.7-3.7v-51.7c-.1-2.1-1.7-3.7-3.7-3.7zm132-125.1c-2.3-3.2-4.6-6.4-7.1-9.5-9.8-12.5-20.8-24-32.8-34.4-4.5-3.9-9.1-7.6-13.9-11.2-1.6-1.2-3.2-2.3-4.8-3.5C372 34.1 340.3 20 306 13c-16.2-3.3-32.9-5-50-5s-33.9 1.7-50 5c-34.3 7.1-66 21.2-93.3 40.8-1.6 1.1-3.2 2.3-4.8 3.5-4.8 3.6-9.4 7.3-13.9 11.2-3 2.6-5.9 5.3-8.8 8s-5.7 5.5-8.4 8.4c-5.5 5.7-10.7 11.8-15.6 18-2.4 3.1-4.8 6.3-7.1 9.5C25.2 153 8.3 202.5 8.3 256c0 2 .1 4 .1 6 .1.7.1 1.3.1 2 .1 1.3.1 2.7.2 4 0 .8.1 1.5.1 2.3 0 1.3.1 2.5.2 3.7.1.8.1 1.6.2 2.4.1 1.1.2 2.3.3 3.5 0 .8.1 1.6.2 2.4.1 1.2.3 2.4.4 3.6.1.8.2 1.5.3 2.3.1 1.3.3 2.6.5 3.9.1.6.2 1.3.3 1.9l.9 5.7c.1.6.2 1.1.3 1.7.3 1.3.5 2.7.8 4 .2.8.3 1.6.5 2.4.2 1 .5 2.1.7 3.2.2.9.4 1.7.6 2.6.2 1 .4 2 .7 3 .2.9.5 1.8.7 2.7.3 1 .5 1.9.8 2.9.3.9.5 1.8.8 2.7.2.9.5 1.9.8 2.8s.5 1.8.8 2.7c.3 1 .6 1.9.9 2.8.6 1.6 1.1 3.3 1.7 4.9.4 1 .7 1.9 1 2.8.3 1 .7 2 1.1 3 .3.8.6 1.5.9 2.3l1.2 3c.3.7.6 1.5.9 2.2.4 1 .9 2 1.3 3l.9 2.1c.5 1 .9 2 1.4 3 .3.7.6 1.3.9 2 .5 1 1 2.1 1.5 3.1.2.6.5 1.1.8 1.7.6 1.1 1.1 2.2 1.7 3.3.1.2.2.3.3.5 2.2 4.1 4.4 8.2 6.8 12.2.2.4.5.8.7 1.2.7 1.1 1.3 2.2 2 3.3.3.5.6.9.9 1.4.6 1.1 1.3 2.1 2 3.2.3.5.6.9.9 1.4.7 1.1 1.4 2.1 2.1 3.2.2.4.5.8.8 1.2.7 1.1 1.5 2.2 2.3 3.3.2.2.3.5.5.7 37.5 51.7 94.4 88.5 160 99.4.9.1 1.7.3 2.6.4 1 .2 2.1.4 3.1.5s1.9.3 2.8.4c1 .2 2 .3 3 .4.9.1 1.9.2 2.9.3s1.9.2 2.9.3 2.1.2 3.1.3c.9.1 1.8.1 2.7.2 1.1.1 2.3.1 3.4.2.8 0 1.7.1 2.5.1 1.3 0 2.6.1 3.9.1.7.1 1.4.1 2.1.1 2 .1 4 .1 6 .1s4-.1 6-.1c.7 0 1.4-.1 2.1-.1 1.3 0 2.6 0 3.9-.1.8 0 1.7-.1 2.5-.1 1.1-.1 2.3-.1 3.4-.2.9 0 1.8-.1 2.7-.2 1-.1 2.1-.2 3.1-.3s1.9-.2 2.9-.3c.9-.1 1.9-.2 2.9-.3s2-.3 3-.4 1.9-.3 2.8-.4c1-.2 2.1-.3 3.1-.5.9-.1 1.7-.3 2.6-.4 65.6-11 122.5-47.7 160.1-102.4.2-.2.3-.5.5-.7.8-1.1 1.5-2.2 2.3-3.3.2-.4.5-.8.8-1.2.7-1.1 1.4-2.1 2.1-3.2.3-.5.6-.9.9-1.4.6-1.1 1.3-2.1 2-3.2.3-.5.6-.9.9-1.4.7-1.1 1.3-2.2 2-3.3.2-.4.5-.8.7-1.2 2.4-4 4.6-8.1 6.8-12.2.1-.2.2-.3.3-.5.6-1.1 1.1-2.2 1.7-3.3.2-.6.5-1.1.8-1.7.5-1 1-2.1 1.5-3.1.3-.7.6-1.3.9-2 .5-1 1-2 1.4-3l.9-2.1c.5-1 .9-2 1.3-3 .3-.7.6-1.5.9-2.2l1.2-3c.3-.8.6-1.5.9-2.3.4-1 .7-2 1.1-3s.7-1.9 1-2.8c.6-1.6 1.2-3.3 1.7-4.9.3-1 .6-1.9.9-2.8s.5-1.8.8-2.7c.2-.9.5-1.9.8-2.8s.6-1.8.8-2.7c.3-1 .5-1.9.8-2.9.2-.9.5-1.8.7-2.7.2-1 .5-2 .7-3 .2-.9.4-1.7.6-2.6.2-1 .5-2.1.7-3.2.2-.8.3-1.6.5-2.4.3-1.3.6-2.7.8-4 .1-.6.2-1.1.3-1.7l.9-5.7c.1-.6.2-1.3.3-1.9.1-1.3.3-2.6.5-3.9.1-.8.2-1.5.3-2.3.1-1.2.3-2.4.4-3.6 0-.8.1-1.6.2-2.4.1-1.1.2-2.3.3-3.5.1-.8.1-1.6.2-2.4.1 1.7.1.5.2-.7 0-.8.1-1.5.1-2.3.1-1.3.2-2.7.2-4 .1-.7.1-1.3.1-2 .1-2 .1-4 .1-6 0-53.5-16.9-103-45.8-143.7zM448 371.5c-9.4 15.5-20.6 29.9-33.6 42.9-20.6 20.6-44.5 36.7-71.2 48-13.9 5.8-28.2 10.3-42.9 13.2v-75.8c0-58.6-88.6-58.6-88.6 0v75.8c-14.7-2.9-29-7.3-42.9-13.2-26.7-11.3-50.6-27.4-71.2-48-13-13-24.2-27.4-33.6-42.9v-71.3c0-2.1 1.6-3.7 3.7-3.7h22.1c2.1 0 3.7 1.6 3.7 3.7V326h29.6V182c0-2.1 1.6-3.7 3.7-3.7h22.1c2.1 0 3.7 1.6 3.7 3.7v25.9h29.5V182c0-2.1 1.6-3.7 3.7-3.7H208c2.1 0 3.7 1.6 3.7 3.7v25.9h29.5V182c0-4.8 6.5-3.7 9.5-3.7V88.1c-4.4-2-7.4-6.7-7.4-11.5 0-16.8 25.4-16.8 25.4 0 0 4.8-3 9.4-7.4 11.5V92c6.3-1.4 12.7-2.3 19.2-2.3 9.4 0 18.4 3.5 26.3 3.5 7.2 0 15.2-3.5 19.4-3.5 2.1 0 3.7 1.6 3.7 3.7v48.4c0 5.6-18.7 6.5-22.4 6.5-8.6 0-16.6-3.5-25.4-3.5-7 0-14.1 1.2-20.8 2.8v30.7c3 0 9.5-1.1 9.5 3.7v25.9h29.5V182c0-2.1 1.6-3.7 3.7-3.7h22.2c2.1 0 3.7 1.6 3.7 3.7v25.9h29.5V182c0-2.1 1.6-3.7 3.7-3.7h22.1c2.1 0 3.7 1.6 3.7 3.7v144h29.5v-25.8c0-2.1 1.6-3.7 3.7-3.7h22.2c2.1 0 3.7 1.6 3.7 3.7z"]
  105260. };
  105261. var faPhabricator = {
  105262. prefix: 'fab',
  105263. iconName: 'phabricator',
  105264. icon: [496, 512, [], "f3db", "M323 262.1l-.1-13s21.7-19.8 21.1-21.2l-9.5-20c-.6-1.4-29.5-.5-29.5-.5l-9.4-9.3s.2-28.5-1.2-29.1l-20.1-9.2c-1.4-.6-20.7 21-20.7 21l-13.1-.2s-20.5-21.4-21.9-20.8l-20 8.3c-1.4.5.2 28.9.2 28.9l-9.1 9.1s-29.2-.9-29.7.4l-8.1 19.8c-.6 1.4 21 21 21 21l.1 12.9s-21.7 19.8-21.1 21.2l9.5 20c.6 1.4 29.5.5 29.5.5l9.4 9.3s-.2 31.8 1.2 32.3l20.1 8.3c1.4.6 20.7-23.5 20.7-23.5l13.1.2s20.5 23.8 21.8 23.3l20-7.5c1.4-.6-.2-32.1-.2-32.1l9.1-9.1s29.2.9 29.7-.5l8.1-19.8c.7-1.1-20.9-20.7-20.9-20.7zm-44.9-8.7c.7 17.1-12.8 31.6-30.1 32.4-17.3.8-32.1-12.5-32.8-29.6-.7-17.1 12.8-31.6 30.1-32.3 17.3-.8 32.1 12.5 32.8 29.5zm201.2-37.9l-97-97-.1.1c-75.1-73.3-195.4-72.8-269.8 1.6-50.9 51-27.8 27.9-95.7 95.3-22.3 22.3-22.3 58.7 0 81 69.9 69.4 46.4 46 97.4 97l.1-.1c75.1 73.3 195.4 72.9 269.8-1.6 51-50.9 27.9-27.9 95.3-95.3 22.3-22.3 22.3-58.7 0-81zM140.4 363.8c-59.6-59.5-59.6-156 0-215.5 59.5-59.6 156-59.5 215.6 0 59.5 59.5 59.6 156 0 215.6-59.6 59.5-156 59.4-215.6-.1z"]
  105265. };
  105266. var faUssunnah = {
  105267. prefix: 'fab',
  105268. iconName: 'ussunnah',
  105269. icon: [512, 512, [], "f407", "M156.8 285.1l5.7 14.4h-8.2c-1.3-3.2-3.1-7.7-3.8-9.5-2.5-6.3-1.1-8.4 0-10 1.9-2.7 3.2-4.4 3.6-5.2 0 2.2.8 5.7 2.7 10.3zm297.3 18.8c-2.1 13.8-5.7 27.1-10.5 39.7l43 23.4-44.8-18.8c-5.3 13.2-12 25.6-19.9 37.2l34.2 30.2-36.8-26.4c-8.4 11.8-18 22.6-28.7 32.3l24.9 34.7-28.1-31.8c-11 9.6-23.1 18-36.1 25.1l15.7 37.2-19.3-35.3c-13.1 6.8-27 12.1-41.6 15.9l6.7 38.4-10.5-37.4c-14.3 3.4-29.2 5.3-44.5 5.4L256 512l-1.9-38.4c-15.3-.1-30.2-2-44.5-5.3L199 505.6l6.7-38.2c-14.6-3.7-28.6-9.1-41.7-15.8l-19.2 35.1 15.6-37c-13-7-25.2-15.4-36.2-25.1l-27.9 31.6 24.7-34.4c-10.7-9.7-20.4-20.5-28.8-32.3l-36.5 26.2 33.9-29.9c-7.9-11.6-14.6-24.1-20-37.3l-44.4 18.7L67.8 344c-4.8-12.7-8.4-26.1-10.5-39.9l-51 9 50.3-14.2c-1.1-8.5-1.7-17.1-1.7-25.9 0-4.7.2-9.4.5-14.1L0 256l56-2.8c1.3-13.1 3.8-25.8 7.5-38.1L6.4 199l58.9 10.4c4-12 9.1-23.5 15.2-34.4l-55.1-30 58.3 24.6C90 159 97.2 149.2 105.3 140L55.8 96.4l53.9 38.7c8.1-8.6 17-16.5 26.6-23.6l-40-55.6 45.6 51.6c9.5-6.6 19.7-12.3 30.3-17.2l-27.3-64.9 33.8 62.1c10.5-4.4 21.4-7.9 32.7-10.4L199 6.4l19.5 69.2c11-2.1 22.3-3.2 33.8-3.4L256 0l3.6 72.2c11.5.2 22.8 1.4 33.8 3.5L313 6.4l-12.4 70.7c11.3 2.6 22.2 6.1 32.6 10.5l33.9-62.2-27.4 65.1c10.6 4.9 20.7 10.7 30.2 17.2l45.8-51.8-40.1 55.9c9.5 7.1 18.4 15 26.5 23.6l54.2-38.9-49.7 43.9c8 9.1 15.2 18.9 21.5 29.4l58.7-24.7-55.5 30.2c6.1 10.9 11.1 22.3 15.1 34.3l59.3-10.4-57.5 16.2c3.7 12.2 6.2 24.9 7.5 37.9L512 256l-56 2.8c.3 4.6.5 9.3.5 14.1 0 8.7-.6 17.3-1.6 25.8l50.7 14.3-51.5-9.1zm-21.8-31c0-97.5-79-176.5-176.5-176.5s-176.5 79-176.5 176.5 79 176.5 176.5 176.5 176.5-79 176.5-176.5zm-24 0c0 84.3-68.3 152.6-152.6 152.6s-152.6-68.3-152.6-152.6 68.3-152.6 152.6-152.6 152.6 68.3 152.6 152.6zM195 241c0 2.1 1.3 3.8 3.6 5.1 3.3 1.9 6.2 4.6 8.2 8.2 2.8-5.7 4.3-9.5 4.3-11.2 0-2.2-1.1-4.4-3.2-7-2.1-2.5-3.2-5.2-3.3-7.7-6.5 6.8-9.6 10.9-9.6 12.6zm-40.7-19c0 2.1 1.3 3.8 3.6 5.1 3.5 1.9 6.2 4.6 8.2 8.2 2.8-5.7 4.3-9.5 4.3-11.2 0-2.2-1.1-4.4-3.2-7-2.1-2.5-3.2-5.2-3.3-7.7-6.5 6.8-9.6 10.9-9.6 12.6zm-19 0c0 2.1 1.3 3.8 3.6 5.1 3.3 1.9 6.2 4.6 8.2 8.2 2.8-5.7 4.3-9.5 4.3-11.2 0-2.2-1.1-4.4-3.2-7-2.1-2.5-3.2-5.2-3.3-7.7-6.4 6.8-9.6 10.9-9.6 12.6zm204.9 87.9c-8.4-3-8.7-6.8-8.7-15.6V182c-8.2 12.5-14.2 18.6-18 18.6 6.3 14.4 9.5 23.9 9.5 28.3v64.3c0 2.2-2.2 6.5-4.7 6.5h-18c-2.8-7.5-10.2-26.9-15.3-40.3-2 2.5-7.2 9.2-10.7 13.7 2.4 1.6 4.1 3.6 5.2 6.3 2.6 6.7 6.4 16.5 7.9 20.2h-9.2c-3.9-10.4-9.6-25.4-11.8-31.1-2 2.5-7.2 9.2-10.7 13.7 2.4 1.6 4.1 3.6 5.2 6.3.8 2 2.8 7.3 4.3 10.9H256c-1.5-4.1-5.6-14.6-8.4-22-2 2.5-7.2 9.2-10.7 13.7 2.5 1.6 4.3 3.6 5.2 6.3.2.6.5 1.4.6 1.7H225c-4.6-13.9-11.4-27.7-11.4-34.1 0-2.2.3-5.1 1.1-8.2-8.8 10.8-14 15.9-14 25 0 7.5 10.4 28.3 10.4 33.3 0 1.7-.5 3.3-1.4 4.9-9.6-12.7-15.5-20.7-18.8-20.7h-12l-11.2-28c-3.8-9.6-5.7-16-5.7-18.8 0-3.8.5-7.7 1.7-12.2-1 1.3-3.7 4.7-5.5 7.1-.8-2.1-3.1-7.7-4.6-11.5-2.1 2.5-7.5 9.1-11.2 13.6.9 2.3 3.3 8.1 4.9 12.2-2.5 3.3-9.1 11.8-13.6 17.7-4 5.3-5.8 13.3-2.7 21.8 2.5 6.7 2 7.9-1.7 14.1H191c5.5 0 14.3 14 15.5 22 13.2-16 15.4-19.6 16.8-21.6h107c3.9 0 7.2-1.9 9.9-5.8zm20.1-26.6V181.7c-9 12.5-15.9 18.6-20.7 18.6 7.1 14.4 10.7 23.9 10.7 28.3v66.3c0 17.5 8.6 20.4 24 20.4 8.1 0 12.5-.8 13.7-2.7-4.3-1.6-7.6-2.5-9.9-3.3-8.1-3.2-17.8-7.4-17.8-26z"]
  105270. };
  105271. var faEarlybirds = {
  105272. prefix: 'fab',
  105273. iconName: 'earlybirds',
  105274. icon: [480, 512, [], "f39a", "M313.2 47.5c1.2-13 21.3-14 36.6-8.7.9.3 26.2 9.7 19 15.2-27.9-7.4-56.4 18.2-55.6-6.5zm-201 6.9c30.7-8.1 62 20 61.1-7.1-1.3-14.2-23.4-15.3-40.2-9.6-1 .3-28.7 10.5-20.9 16.7zM319.4 160c-8.8 0-16 7.2-16 16s7.2 16 16 16 16-7.2 16-16-7.2-16-16-16zm-159.7 0c-8.8 0-16 7.2-16 16s7.2 16 16 16 16-7.2 16-16-7.2-16-16-16zm318.5 163.2c-9.9 24-40.7 11-63.9-1.2-13.5 69.1-58.1 111.4-126.3 124.2.3.9-2-.1 24 1 33.6 1.4 63.8-3.1 97.4-8-19.8-13.8-11.4-37.1-9.8-38.1 1.4-.9 14.7 1.7 21.6 11.5 8.6-12.5 28.4-14.8 30.2-13.6 1.6 1.1 6.6 20.9-6.9 34.6 4.7-.9 8.2-1.6 9.8-2.1 2.6-.8 17.7 11.3 3.1 13.3-14.3 2.3-22.6 5.1-47.1 10.8-45.9 10.7-85.9 11.8-117.7 12.8l1 11.6c3.8 18.1-23.4 24.3-27.6 6.2.8 17.9-27.1 21.8-28.4-1l-.5 5.3c-.7 18.4-28.4 17.9-28.3-.6-7.5 13.5-28.1 6.8-26.4-8.5l1.2-12.4c-36.7.9-59.7 3.1-61.8 3.1-20.9 0-20.9-31.6 0-31.6 2.4 0 27.7 1.3 63.2 2.8-61.1-15.5-103.7-55-114.9-118.2-25 12.8-57.5 26.8-68.2.8-10.5-25.4 21.5-42.6 66.8-73.4.7-6.6 1.6-13.3 2.7-19.8-14.4-19.6-11.6-36.3-16.1-60.4-16.8 2.4-23.2-9.1-23.6-23.1.3-7.3 2.1-14.9 2.4-15.4 1.1-1.8 10.1-2 12.7-2.6 6-31.7 50.6-33.2 90.9-34.5 19.7-21.8 45.2-41.5 80.9-48.3C203.3 29 215.2 8.5 216.2 8c1.7-.8 21.2 4.3 26.3 23.2 5.2-8.8 18.3-11.4 19.6-10.7 1.1.6 6.4 15-4.9 25.9 40.3 3.5 72.2 24.7 96 50.7 36.1 1.5 71.8 5.9 77.1 34 2.7.6 11.6.8 12.7 2.6.3.5 2.1 8.1 2.4 15.4-.5 13.9-6.8 25.4-23.6 23.1-3.2 17.3-2.7 32.9-8.7 47.7 2.4 11.7 4 23.8 4.8 36.4 37 25.4 70.3 42.5 60.3 66.9zM207.4 159.9c.9-44-37.9-42.2-78.6-40.3-21.7 1-38.9 1.9-45.5 13.9-11.4 20.9 5.9 92.9 23.2 101.2 9.8 4.7 73.4 7.9 86.3-7.1 8.2-9.4 15-49.4 14.6-67.7zm52 58.3c-4.3-12.4-6-30.1-15.3-32.7-2-.5-9-.5-11 0-10 2.8-10.8 22.1-17 37.2 15.4 0 19.3 9.7 23.7 9.7 4.3 0 6.3-11.3 19.6-14.2zm135.7-84.7c-6.6-12.1-24.8-12.9-46.5-13.9-40.2-1.9-78.2-3.8-77.3 40.3-.5 18.3 5 58.3 13.2 67.8 13 14.9 76.6 11.8 86.3 7.1 15.8-7.6 36.5-78.9 24.3-101.3z"]
  105275. };
  105276. var faTradeFederation = {
  105277. prefix: 'fab',
  105278. iconName: 'trade-federation',
  105279. icon: [496, 512, [], "f513", "M248 8.8c-137 0-248 111-248 248s111 248 248 248 248-111 248-248-111-248-248-248zm0 482.8c-129.7 0-234.8-105.1-234.8-234.8S118.3 22 248 22s234.8 105.1 234.8 234.8S377.7 491.6 248 491.6zm155.1-328.5v-46.8H209.3V198H54.2l36.7 46h117.7v196.8h48.8V245h83.3v-47h-83.3v-34.8h145.7zm-73.3 45.1v23.9h-82.9v197.4h-26.8V232.1H96.3l-20.1-23.9h143.9v-80.6h171.8V152h-145v56.2zm-161.3-69l-12.4-20.7 2.1 23.8-23.5 5.4 23.3 5.4-2.1 24 12.3-20.5 22.2 9.5-15.7-18.1 15.8-18.1zm-29.6-19.7l9.3-11.5-12.7 5.9-8-12.4 1.7 13.9-14.3 3.8 13.7 2.7-.8 14.7 6.8-12.2 13.8 5.3zm165.4 145.2l-13.1 5.6-7.3-12.2 1.3 14.2-13.9 3.2 13.9 3.2-1.2 14.2 7.3-12.2 13.1 5.5-9.4-10.7zm106.9-77.2l-20.9 9.1-12-19.6 2.2 22.7-22.3 5.4 22.2 4.9-1.8 22.9 11.5-19.6 21.2 8.8-15.1-17zM248 29.9c-125.3 0-226.9 101.6-226.9 226.9S122.7 483.7 248 483.7s226.9-101.6 226.9-226.9S373.3 29.9 248 29.9zM342.6 196v51h-83.3v195.7h-52.7V245.9H89.9l-40-49.9h157.4v-81.6h197.8v50.7H259.4V196zM248 43.2c60.3 0 114.8 25 153.6 65.2H202.5V190H45.1C73.1 104.8 153.4 43.2 248 43.2zm0 427.1c-117.9 0-213.6-95.6-213.6-213.5 0-21.2 3.1-41.8 8.9-61.1L87.1 252h114.7v196.8h64.6V253h83.3v-62.7h-83.2v-19.2h145.6v-50.8c30.8 37 49.3 84.6 49.3 136.5.1 117.9-95.5 213.5-213.4 213.5zM178.8 275l-11-21.4 1.7 24.5-23.7 3.9 23.8 5.9-3.7 23.8 13-20.9 21.5 10.8-15.8-18.8 16.9-17.1z"]
  105280. };
  105281. var faAutoprefixer = {
  105282. prefix: 'fab',
  105283. iconName: 'autoprefixer',
  105284. icon: [640, 512, [], "f41c", "M318.4 16l-161 480h77.5l25.4-81.4h119.5L405 496h77.5L318.4 16zm-40.3 341.9l41.2-130.4h1.5l40.9 130.4h-83.6zM640 405l-10-31.4L462.1 358l19.4 56.5L640 405zm-462.1-47L10 373.7 0 405l158.5 9.4 19.4-56.4z"]
  105285. };
  105286. var faWhatsapp = {
  105287. prefix: 'fab',
  105288. iconName: 'whatsapp',
  105289. icon: [448, 512, [], "f232", "M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"]
  105290. };
  105291. var faSlideshare = {
  105292. prefix: 'fab',
  105293. iconName: 'slideshare',
  105294. icon: [512, 512, [], "f1e7", "M187.7 153.7c-34 0-61.7 25.7-61.7 57.7 0 31.7 27.7 57.7 61.7 57.7s61.7-26 61.7-57.7c0-32-27.7-57.7-61.7-57.7zm143.4 0c-34 0-61.7 25.7-61.7 57.7 0 31.7 27.7 57.7 61.7 57.7 34.3 0 61.7-26 61.7-57.7.1-32-27.4-57.7-61.7-57.7zm156.6 90l-6 4.3V49.7c0-27.4-20.6-49.7-46-49.7H76.6c-25.4 0-46 22.3-46 49.7V248c-2-1.4-4.3-2.9-6.3-4.3-15.1-10.6-25.1 4-16 17.7 18.3 22.6 53.1 50.3 106.3 72C58.3 525.1 252 555.7 248.9 457.5c0-.7.3-56.6.3-96.6 5.1 1.1 9.4 2.3 13.7 3.1 0 39.7.3 92.8.3 93.5-3.1 98.3 190.6 67.7 134.3-124 53.1-21.7 88-49.4 106.3-72 9.1-13.8-.9-28.3-16.1-17.8zm-30.5 19.2c-68.9 37.4-128.3 31.1-160.6 29.7-23.7-.9-32.6 9.1-33.7 24.9-10.3-7.7-18.6-15.5-20.3-17.1-5.1-5.4-13.7-8-27.1-7.7-31.7 1.1-89.7 7.4-157.4-28V72.3c0-34.9 8.9-45.7 40.6-45.7h317.7c30.3 0 40.9 12.9 40.9 45.7v190.6z"]
  105295. };
  105296. var faGooglePlay = {
  105297. prefix: 'fab',
  105298. iconName: 'google-play',
  105299. icon: [512, 512, [], "f3ab", "M325.3 234.3L104.6 13l280.8 161.2-60.1 60.1zM47 0C34 6.8 25.3 19.2 25.3 35.3v441.3c0 16.1 8.7 28.5 21.7 35.3l256.6-256L47 0zm425.2 225.6l-58.9-34.1-65.7 64.5 65.7 64.5 60.1-34.1c18-14.3 18-46.5-1.2-60.8zM104.6 499l280.8-161.2-60.1-60.1L104.6 499z"]
  105300. };
  105301. var faViadeo = {
  105302. prefix: 'fab',
  105303. iconName: 'viadeo',
  105304. icon: [448, 512, [], "f2a9", "M276.2 150.5v.7C258.3 98.6 233.6 47.8 205.4 0c43.3 29.2 67 100 70.8 150.5zm32.7 121.7c7.6 18.2 11 37.5 11 57 0 77.7-57.8 141-137.8 139.4l3.8-.3c74.2-46.7 109.3-118.6 109.3-205.1 0-38.1-6.5-75.9-18.9-112 1 11.7 1 23.7 1 35.4 0 91.8-18.1 241.6-116.6 280C95 455.2 49.4 398 49.4 329.2c0-75.6 57.4-142.3 135.4-142.3 16.8 0 33.7 3.1 49.1 9.6 1.7-15.1 6.5-29.9 13.4-43.3-19.9-7.2-41.2-10.7-62.5-10.7-161.5 0-238.7 195.9-129.9 313.7 67.9 74.6 192 73.9 259.8 0 56.6-61.3 60.9-142.4 36.4-201-12.7 8-27.1 13.9-42.2 17zM418.1 11.7c-31 66.5-81.3 47.2-115.8 80.1-12.4 12-20.6 34-20.6 50.5 0 14.1 4.5 27.1 12 38.8 47.4-11 98.3-46 118.2-90.7-.7 5.5-4.8 14.4-7.2 19.2-20.3 35.7-64.6 65.6-99.7 84.9 14.8 14.4 33.7 25.8 55 25.8 79 0 110.1-134.6 58.1-208.6z"]
  105305. };
  105306. var faLine = {
  105307. prefix: 'fab',
  105308. iconName: 'line',
  105309. icon: [448, 512, [], "f3c0", "M272.1 204.2v71.1c0 1.8-1.4 3.2-3.2 3.2h-11.4c-1.1 0-2.1-.6-2.6-1.3l-32.6-44v42.2c0 1.8-1.4 3.2-3.2 3.2h-11.4c-1.8 0-3.2-1.4-3.2-3.2v-71.1c0-1.8 1.4-3.2 3.2-3.2H219c1 0 2.1.5 2.6 1.4l32.6 44v-42.2c0-1.8 1.4-3.2 3.2-3.2h11.4c1.8-.1 3.3 1.4 3.3 3.1zm-82-3.2h-11.4c-1.8 0-3.2 1.4-3.2 3.2v71.1c0 1.8 1.4 3.2 3.2 3.2h11.4c1.8 0 3.2-1.4 3.2-3.2v-71.1c0-1.7-1.4-3.2-3.2-3.2zm-27.5 59.6h-31.1v-56.4c0-1.8-1.4-3.2-3.2-3.2h-11.4c-1.8 0-3.2 1.4-3.2 3.2v71.1c0 .9.3 1.6.9 2.2.6.5 1.3.9 2.2.9h45.7c1.8 0 3.2-1.4 3.2-3.2v-11.4c0-1.7-1.4-3.2-3.1-3.2zM332.1 201h-45.7c-1.7 0-3.2 1.4-3.2 3.2v71.1c0 1.7 1.4 3.2 3.2 3.2h45.7c1.8 0 3.2-1.4 3.2-3.2v-11.4c0-1.8-1.4-3.2-3.2-3.2H301v-12h31.1c1.8 0 3.2-1.4 3.2-3.2V234c0-1.8-1.4-3.2-3.2-3.2H301v-12h31.1c1.8 0 3.2-1.4 3.2-3.2v-11.4c-.1-1.7-1.5-3.2-3.2-3.2zM448 113.7V399c-.1 44.8-36.8 81.1-81.7 81H81c-44.8-.1-81.1-36.9-81-81.7V113c.1-44.8 36.9-81.1 81.7-81H367c44.8.1 81.1 36.8 81 81.7zm-61.6 122.6c0-73-73.2-132.4-163.1-132.4-89.9 0-163.1 59.4-163.1 132.4 0 65.4 58 120.2 136.4 130.6 19.1 4.1 16.9 11.1 12.6 36.8-.7 4.1-3.3 16.1 14.1 8.8 17.4-7.3 93.9-55.3 128.2-94.7 23.6-26 34.9-52.3 34.9-81.5z"]
  105310. };
  105311. var faGoogleDrive = {
  105312. prefix: 'fab',
  105313. iconName: 'google-drive',
  105314. icon: [512, 512, [], "f3aa", "M339 314.9L175.4 32h161.2l163.6 282.9H339zm-137.5 23.6L120.9 480h310.5L512 338.5H201.5zM154.1 67.4L0 338.5 80.6 480 237 208.8 154.1 67.4z"]
  105315. };
  105316. var faServicestack = {
  105317. prefix: 'fab',
  105318. iconName: 'servicestack',
  105319. icon: [496, 512, [], "f3ec", "M88 216c81.7 10.2 273.7 102.3 304 232H0c99.5-8.1 184.5-137 88-232zm32-152c32.3 35.6 47.7 83.9 46.4 133.6C249.3 231.3 373.7 321.3 400 448h96C455.3 231.9 222.8 79.5 120 64z"]
  105320. };
  105321. var faSimplybuilt = {
  105322. prefix: 'fab',
  105323. iconName: 'simplybuilt',
  105324. icon: [512, 512, [], "f215", "M481.2 64h-106c-14.5 0-26.6 11.8-26.6 26.3v39.6H163.3V90.3c0-14.5-12-26.3-26.6-26.3h-106C16.1 64 4.3 75.8 4.3 90.3v331.4c0 14.5 11.8 26.3 26.6 26.3h450.4c14.8 0 26.6-11.8 26.6-26.3V90.3c-.2-14.5-12-26.3-26.7-26.3zM149.8 355.8c-36.6 0-66.4-29.7-66.4-66.4 0-36.9 29.7-66.6 66.4-66.6 36.9 0 66.6 29.7 66.6 66.6 0 36.7-29.7 66.4-66.6 66.4zm212.4 0c-36.9 0-66.6-29.7-66.6-66.6 0-36.6 29.7-66.4 66.6-66.4 36.6 0 66.4 29.7 66.4 66.4 0 36.9-29.8 66.6-66.4 66.6z"]
  105325. };
  105326. var faBitbucket = {
  105327. prefix: 'fab',
  105328. iconName: 'bitbucket',
  105329. icon: [512, 512, [61810], "f171", "M22.2 32A16 16 0 0 0 6 47.8a26.35 26.35 0 0 0 .2 2.8l67.9 412.1a21.77 21.77 0 0 0 21.3 18.2h325.7a16 16 0 0 0 16-13.4L505 50.7a16 16 0 0 0-13.2-18.3 24.58 24.58 0 0 0-2.8-.2L22.2 32zm285.9 297.8h-104l-28.1-147h157.3l-25.2 147z"]
  105330. };
  105331. var faImdb = {
  105332. prefix: 'fab',
  105333. iconName: 'imdb',
  105334. icon: [448, 512, [], "f2d8", "M89.5 323.6H53.93V186.2H89.5V323.6zM156.1 250.5L165.2 186.2H211.5V323.6H180.5V230.9L167.1 323.6H145.8L132.8 232.9L132.7 323.6H101.5V186.2H147.6C148.1 194.5 150.4 204.3 151.9 215.6L156.1 250.5zM223.7 323.6V186.2H250.3C267.3 186.2 277.3 187.1 283.3 188.6C289.4 190.3 294 192.8 297.2 196.5C300.3 199.8 302.3 203.1 303 208.5C303.9 212.9 304.4 221.6 304.4 234.7V282.9C304.4 295.2 303.7 303.4 302.5 307.6C301.4 311.7 299.4 315 296.5 317.3C293.7 319.7 290.1 321.4 285.8 322.3C281.6 323.1 275.2 323.6 266.7 323.6H223.7zM259.2 209.7V299.1C264.3 299.1 267.5 298.1 268.6 296.8C269.7 294.8 270.4 289.2 270.4 280.1V226.8C270.4 220.6 270.3 216.6 269.7 214.8C269.4 213 268.5 211.8 267.1 210.1C265.7 210.1 263 209.7 259.2 209.7V209.7zM316.5 323.6V186.2H350.6V230.1C353.5 227.7 356.7 225.2 360.1 223.5C363.7 222 368.9 221.1 372.9 221.1C377.7 221.1 381.8 221.9 385.2 223.3C388.6 224.8 391.2 226.8 393.2 229.5C394.9 232.1 395.9 234.8 396.3 237.3C396.7 239.9 396.1 245.3 396.1 253.5V292.1C396.1 300.3 396.3 306.4 395.3 310.5C394.2 314.5 391.5 318.1 387.5 320.1C383.4 324 378.6 325.4 372.9 325.4C368.9 325.4 363.7 324.5 360.2 322.9C356.7 321.1 353.5 318.4 350.6 314.9L348.5 323.6L316.5 323.6zM361.6 302.9C362.3 301.1 362.6 296.9 362.6 290.4V255C362.6 249.4 362.3 245.5 361.5 243.8C360.8 241.9 357.8 241.1 355.7 241.1C353.7 241.1 352.3 241.9 351.6 243.4C351 244.9 350.6 248.8 350.6 255V291.4C350.6 297.5 351 301.4 351.8 303C352.4 304.7 353.9 305.5 355.9 305.5C358.1 305.5 360.1 304.7 361.6 302.9L361.6 302.9zM418.4 32.04C434.1 33.27 447.1 47.28 447.1 63.92V448.1C447.1 464.5 435.2 478.5 418.9 479.1C418.6 479.1 418.4 480 418.1 480H29.88C29.6 480 29.32 479.1 29.04 479.9C13.31 478.5 1.093 466.1 0 449.7L.0186 61.78C1.081 45.88 13.82 33.09 30.26 31.1H417.7C417.9 31.1 418.2 32.01 418.4 32.04L418.4 32.04zM30.27 41.26C19 42.01 10.02 51.01 9.257 62.4V449.7C9.63 455.1 11.91 460.2 15.7 464C19.48 467.9 24.51 470.3 29.89 470.7H418.1C429.6 469.7 438.7 459.1 438.7 448.1V63.91C438.7 58.17 436.6 52.65 432.7 48.45C428.8 44.24 423.4 41.67 417.7 41.26L30.27 41.26z"]
  105335. };
  105336. var faDeezer = {
  105337. prefix: 'fab',
  105338. iconName: 'deezer',
  105339. icon: [576, 512, [], "e077", "M451.46,244.71H576V172H451.46Zm0-173.89v72.67H576V70.82Zm0,275.06H576V273.2H451.46ZM0,447.09H124.54V374.42H0Zm150.47,0H275V374.42H150.47Zm150.52,0H425.53V374.42H301Zm150.47,0H576V374.42H451.46ZM301,345.88H425.53V273.2H301Zm-150.52,0H275V273.2H150.47Zm0-101.17H275V172H150.47Z"]
  105340. };
  105341. var faRaspberryPi = {
  105342. prefix: 'fab',
  105343. iconName: 'raspberry-pi',
  105344. icon: [407, 512, [], "f7bb", "M372 232.5l-3.7-6.5c.1-46.4-21.4-65.3-46.5-79.7 7.6-2 15.4-3.6 17.6-13.2 13.1-3.3 15.8-9.4 17.1-15.8 3.4-2.3 14.8-8.7 13.6-19.7 6.4-4.4 10-10.1 8.1-18.1 6.9-7.5 8.7-13.7 5.8-19.4 8.3-10.3 4.6-15.6 1.1-20.9 6.2-11.2.7-23.2-16.6-21.2-6.9-10.1-21.9-7.8-24.2-7.8-2.6-3.2-6-6-16.5-4.7-6.8-6.1-14.4-5-22.3-2.1-9.3-7.3-15.5-1.4-22.6.8C271.6.6 269 5.5 263.5 7.6c-12.3-2.6-16.1 3-22 8.9l-6.9-.1c-18.6 10.8-27.8 32.8-31.1 44.1-3.3-11.3-12.5-33.3-31.1-44.1l-6.9.1c-5.9-5.9-9.7-11.5-22-8.9-5.6-2-8.1-7-19.4-3.4-4.6-1.4-8.9-4.4-13.9-4.3-2.6.1-5.5 1-8.7 3.5-7.9-3-15.5-4-22.3 2.1-10.5-1.3-14 1.4-16.5 4.7-2.3 0-17.3-2.3-24.2 7.8C21.2 16 15.8 28 22 39.2c-3.5 5.4-7.2 10.7 1.1 20.9-2.9 5.7-1.1 11.9 5.8 19.4-1.8 8 1.8 13.7 8.1 18.1-1.2 11 10.2 17.4 13.6 19.7 1.3 6.4 4 12.4 17.1 15.8 2.2 9.5 10 11.2 17.6 13.2-25.1 14.4-46.6 33.3-46.5 79.7l-3.7 6.5c-28.8 17.2-54.7 72.7-14.2 117.7 2.6 14.1 7.1 24.2 11 35.4 5.9 45.2 44.5 66.3 54.6 68.8 14.9 11.2 30.8 21.8 52.2 29.2C159 504.2 181 512 203 512h1c22.1 0 44-7.8 64.2-28.4 21.5-7.4 37.3-18 52.2-29.2 10.2-2.5 48.7-23.6 54.6-68.8 3.9-11.2 8.4-21.3 11-35.4 40.6-45.1 14.7-100.5-14-117.7zm-22.2-8c-1.5 18.7-98.9-65.1-82.1-67.9 45.7-7.5 83.6 19.2 82.1 67.9zm-43 93.1c-24.5 15.8-59.8 5.6-78.8-22.8s-14.6-64.2 9.9-80c24.5-15.8 59.8-5.6 78.8 22.8s14.6 64.2-9.9 80zM238.9 29.3c.8 4.2 1.8 6.8 2.9 7.6 5.4-5.8 9.8-11.7 16.8-17.3 0 3.3-1.7 6.8 2.5 9.4 3.7-5 8.8-9.5 15.5-13.3-3.2 5.6-.6 7.3 1.2 9.6 5.1-4.4 10-8.8 19.4-12.3-2.6 3.1-6.2 6.2-2.4 9.8 5.3-3.3 10.6-6.6 23.1-8.9-2.8 3.1-8.7 6.3-5.1 9.4 6.6-2.5 14-4.4 22.1-5.4-3.9 3.2-7.1 6.3-3.9 8.8 7.1-2.2 16.9-5.1 26.4-2.6l-6 6.1c-.7.8 14.1.6 23.9.8-3.6 5-7.2 9.7-9.3 18.2 1 1 5.8.4 10.4 0-4.7 9.9-12.8 12.3-14.7 16.6 2.9 2.2 6.8 1.6 11.2.1-3.4 6.9-10.4 11.7-16 17.3 1.4 1 3.9 1.6 9.7.9-5.2 5.5-11.4 10.5-18.8 15 1.3 1.5 5.8 1.5 10 1.6-6.7 6.5-15.3 9.9-23.4 14.2 4 2.7 6.9 2.1 10 2.1-5.7 4.7-15.4 7.1-24.4 10 1.7 2.7 3.4 3.4 7.1 4.1-9.5 5.3-23.2 2.9-27 5.6.9 2.7 3.6 4.4 6.7 5.8-15.4.9-57.3-.6-65.4-32.3 15.7-17.3 44.4-37.5 93.7-62.6-38.4 12.8-73 30-102 53.5-34.3-15.9-10.8-55.9 5.8-71.8zm-34.4 114.6c24.2-.3 54.1 17.8 54 34.7-.1 15-21 27.1-53.8 26.9-32.1-.4-53.7-15.2-53.6-29.8 0-11.9 26.2-32.5 53.4-31.8zm-123-12.8c3.7-.7 5.4-1.5 7.1-4.1-9-2.8-18.7-5.3-24.4-10 3.1 0 6 .7 10-2.1-8.1-4.3-16.7-7.7-23.4-14.2 4.2-.1 8.7 0 10-1.6-7.4-4.5-13.6-9.5-18.8-15 5.8.7 8.3.1 9.7-.9-5.6-5.6-12.7-10.4-16-17.3 4.3 1.5 8.3 2 11.2-.1-1.9-4.2-10-6.7-14.7-16.6 4.6.4 9.4 1 10.4 0-2.1-8.5-5.8-13.3-9.3-18.2 9.8-.1 24.6 0 23.9-.8l-6-6.1c9.5-2.5 19.3.4 26.4 2.6 3.2-2.5-.1-5.6-3.9-8.8 8.1 1.1 15.4 2.9 22.1 5.4 3.5-3.1-2.3-6.3-5.1-9.4 12.5 2.3 17.8 5.6 23.1 8.9 3.8-3.6.2-6.7-2.4-9.8 9.4 3.4 14.3 7.9 19.4 12.3 1.7-2.3 4.4-4 1.2-9.6 6.7 3.8 11.8 8.3 15.5 13.3 4.1-2.6 2.5-6.2 2.5-9.4 7 5.6 11.4 11.5 16.8 17.3 1.1-.8 2-3.4 2.9-7.6 16.6 15.9 40.1 55.9 6 71.8-29-23.5-63.6-40.7-102-53.5 49.3 25 78 45.3 93.7 62.6-8 31.8-50 33.2-65.4 32.3 3.1-1.4 5.8-3.2 6.7-5.8-4-2.8-17.6-.4-27.2-5.6zm60.1 24.1c16.8 2.8-80.6 86.5-82.1 67.9-1.5-48.7 36.5-75.5 82.1-67.9zM38.2 342c-23.7-18.8-31.3-73.7 12.6-98.3 26.5-7 9 107.8-12.6 98.3zm91 98.2c-13.3 7.9-45.8 4.7-68.8-27.9-15.5-27.4-13.5-55.2-2.6-63.4 16.3-9.8 41.5 3.4 60.9 25.6 16.9 20 24.6 55.3 10.5 65.7zm-26.4-119.7c-24.5-15.8-28.9-51.6-9.9-80s54.3-38.6 78.8-22.8 28.9 51.6 9.9 80c-19.1 28.4-54.4 38.6-78.8 22.8zM205 496c-29.4 1.2-58.2-23.7-57.8-32.3-.4-12.7 35.8-22.6 59.3-22 23.7-1 55.6 7.5 55.7 18.9.5 11-28.8 35.9-57.2 35.4zm58.9-124.9c.2 29.7-26.2 53.8-58.8 54-32.6.2-59.2-23.8-59.4-53.4v-.6c-.2-29.7 26.2-53.8 58.8-54 32.6-.2 59.2 23.8 59.4 53.4v.6zm82.2 42.7c-25.3 34.6-59.6 35.9-72.3 26.3-13.3-12.4-3.2-50.9 15.1-72 20.9-23.3 43.3-38.5 58.9-26.6 10.5 10.3 16.7 49.1-1.7 72.3zm22.9-73.2c-21.5 9.4-39-105.3-12.6-98.3 43.9 24.7 36.3 79.6 12.6 98.3z"]
  105345. };
  105346. var faJira = {
  105347. prefix: 'fab',
  105348. iconName: 'jira',
  105349. icon: [496, 512, [], "f7b1", "M490 241.7C417.1 169 320.6 71.8 248.5 0 83 164.9 6 241.7 6 241.7c-7.9 7.9-7.9 20.7 0 28.7C138.8 402.7 67.8 331.9 248.5 512c379.4-378 15.7-16.7 241.5-241.7 8-7.9 8-20.7 0-28.6zm-241.5 90l-76-75.7 76-75.7 76 75.7-76 75.7z"]
  105350. };
  105351. var faDocker = {
  105352. prefix: 'fab',
  105353. iconName: 'docker',
  105354. icon: [640, 512, [], "f395", "M349.9 236.3h-66.1v-59.4h66.1v59.4zm0-204.3h-66.1v60.7h66.1V32zm78.2 144.8H362v59.4h66.1v-59.4zm-156.3-72.1h-66.1v60.1h66.1v-60.1zm78.1 0h-66.1v60.1h66.1v-60.1zm276.8 100c-14.4-9.7-47.6-13.2-73.1-8.4-3.3-24-16.7-44.9-41.1-63.7l-14-9.3-9.3 14c-18.4 27.8-23.4 73.6-3.7 103.8-8.7 4.7-25.8 11.1-48.4 10.7H2.4c-8.7 50.8 5.8 116.8 44 162.1 37.1 43.9 92.7 66.2 165.4 66.2 157.4 0 273.9-72.5 328.4-204.2 21.4.4 67.6.1 91.3-45.2 1.5-2.5 6.6-13.2 8.5-17.1l-13.3-8.9zm-511.1-27.9h-66v59.4h66.1v-59.4zm78.1 0h-66.1v59.4h66.1v-59.4zm78.1 0h-66.1v59.4h66.1v-59.4zm-78.1-72.1h-66.1v60.1h66.1v-60.1z"]
  105355. };
  105356. var faScreenpal = {
  105357. prefix: 'fab',
  105358. iconName: 'screenpal',
  105359. icon: [512, 512, [], "e570", "M233.5 22.49C233.5 10.07 243.6 0 256 0C268.4 0 278.5 10.07 278.5 22.49C278.5 34.91 268.4 44.98 256 44.98C243.6 44.98 233.5 34.91 233.5 22.49zM313.4 259C313.4 290.7 287.7 316.4 256 316.4C224.3 316.4 198.6 290.7 198.6 259C198.6 227.3 224.3 201.6 256 201.6C287.7 201.6 313.4 227.3 313.4 259zM337.2 350C359.5 330.1 373.7 302.7 377.1 273H496.6C493.1 334.4 466.2 392.2 421.4 434.4C376.7 476.6 317.5 500.2 256 500.2C194.5 500.2 135.3 476.6 90.56 434.4C45.83 392.2 18.94 334.4 15.39 273H135.1C138.5 302.7 152.7 330.1 175 350C197.3 369.9 226.2 380.9 256.1 380.9C285.1 380.9 314.8 369.9 337.2 350zM73.14 140.3C73.54 152.7 63.81 163.1 51.39 163.5C38.97 163.9 28.59 154.2 28.18 141.8C27.78 129.3 37.52 118.9 49.94 118.5C62.35 118.1 72.74 127.9 73.14 140.3zM438.9 141C438.9 128.6 448.9 118.5 461.4 118.5C473.8 118.5 483.8 128.6 483.8 141C483.8 153.5 473.8 163.5 461.4 163.5C448.9 163.5 438.9 153.5 438.9 141zM317.9 95.27C300.6 109.1 278.7 118.1 256 118.1C233.3 118.1 211.4 109.1 194.1 95.27C176.8 80.55 165.3 60.18 161.7 37.78C176.8 31.37 192.5 26.52 208.6 23.31C208.6 35.88 213.6 47.93 222.5 56.82C231.4 65.7 243.4 70.7 256 70.7C268.6 70.7 280.6 65.7 289.5 56.82C298.4 47.93 303.4 35.88 303.4 23.31C319.5 26.52 335.2 31.37 350.3 37.78C346.7 60.18 335.2 80.55 317.9 95.27H317.9zM82.78 231C61.42 238.6 38.06 238.4 16.86 230.4C18.82 214.1 22.46 198.1 27.71 182.5C33.1 185.6 39.05 187.6 45.22 188.5C51.39 189.3 57.67 188.9 63.68 187.3C69.69 185.6 75.33 182.9 80.27 179.1C85.21 175.3 89.36 170.6 92.47 165.2C95.58 159.8 97.61 153.8 98.42 147.7C99.23 141.5 98.83 135.2 97.22 129.2C95.61 123.2 92.83 117.6 89.04 112.6C85.25 107.7 80.53 103.5 75.14 100.4C85.96 88.11 98.01 76.94 111.1 67.07C128.7 81.42 140.6 101.6 144.7 123.9C148.8 146.2 144.8 169.3 133.5 188.9C122.1 208.5 104.1 223.4 82.78 231V231zM429.2 231.1C407.9 223.5 389.9 208.5 378.5 188.9C367.2 169.3 363.3 146.2 367.4 123.9C371.5 101.7 383.4 81.54 400.9 67.19C414 77.04 426.1 88.21 436.9 100.5C426.2 106.9 418.5 117.2 415.4 129.3C412.2 141.3 413.1 154.1 420.2 164.9C426.4 175.7 436.6 183.6 448.6 186.9C460.6 190.2 473.5 188.6 484.3 182.6C489.6 198.1 493.2 214.2 495.2 230.4C473.1 238.5 450.6 238.7 429.2 231.1L429.2 231.1z"]
  105360. };
  105361. var faBluetooth = {
  105362. prefix: 'fab',
  105363. iconName: 'bluetooth',
  105364. icon: [448, 512, [], "f293", "M292.6 171.1L249.7 214l-.3-86 43.2 43.1m-43.2 219.8l43.1-43.1-42.9-42.9-.2 86zM416 259.4C416 465 344.1 512 230.9 512S32 465 32 259.4 115.4 0 228.6 0 416 53.9 416 259.4zm-158.5 0l79.4-88.6L211.8 36.5v176.9L138 139.6l-27 26.9 92.7 93-92.7 93 26.9 26.9 73.8-73.8 2.3 170 127.4-127.5-83.9-88.7z"]
  105365. };
  105366. var faGitter = {
  105367. prefix: 'fab',
  105368. iconName: 'gitter',
  105369. icon: [384, 512, [], "f426", "M66.4 322.5H16V0h50.4v322.5zM166.9 76.1h-50.4V512h50.4V76.1zm100.6 0h-50.4V512h50.4V76.1zM368 76h-50.4v247H368V76z"]
  105370. };
  105371. var faDAndD = {
  105372. prefix: 'fab',
  105373. iconName: 'd-and-d',
  105374. icon: [576, 512, [], "f38d", "M82.5 98.9c-.6-17.2 2-33.8 12.7-48.2.3 7.4 1.2 14.5 4.2 21.6 5.9-27.5 19.7-49.3 42.3-65.5-1.9 5.9-3.5 11.8-3 17.7 8.7-7.4 18.8-17.8 44.4-22.7 14.7-2.8 29.7-2 42.1 1 38.5 9.3 61 34.3 69.7 72.3 5.3 23.1.7 45-8.3 66.4-5.2 12.4-12 24.4-20.7 35.1-2-1.9-3.9-3.8-5.8-5.6-42.8-40.8-26.8-25.2-37.4-37.4-1.1-1.2-1-2.2-.1-3.6 8.3-13.5 11.8-28.2 10-44-1.1-9.8-4.3-18.9-11.3-26.2-14.5-15.3-39.2-15-53.5.6-11.4 12.5-14.1 27.4-10.9 43.6.2 1.3.4 2.7 0 3.9-3.4 13.7-4.6 27.6-2.5 41.6.1.5.1 1.1.1 1.6 0 .3-.1.5-.2 1.1-21.8-11-36-28.3-43.2-52.2-8.3 17.8-11.1 35.5-6.6 54.1-15.6-15.2-21.3-34.3-22-55.2zm469.6 123.2c-11.6-11.6-25-20.4-40.1-26.6-12.8-5.2-26-7.9-39.9-7.1-10 .6-19.6 3.1-29 6.4-2.5.9-5.1 1.6-7.7 2.2-4.9 1.2-7.3-3.1-4.7-6.8 3.2-4.6 3.4-4.2 15-12 .6-.4 1.2-.8 2.2-1.5h-2.5c-.6 0-1.2.2-1.9.3-19.3 3.3-30.7 15.5-48.9 29.6-10.4 8.1-13.8 3.8-12-.5 1.4-3.5 3.3-6.7 5.1-10 1-1.8 2.3-3.4 3.5-5.1-.2-.2-.5-.3-.7-.5-27 18.3-46.7 42.4-57.7 73.3.3.3.7.6 1 .9.3-.6.5-1.2.9-1.7 10.4-12.1 22.8-21.8 36.6-29.8 18.2-10.6 37.5-18.3 58.7-20.2 4.3-.4 8.7-.1 13.1-.1-1.8.7-3.5.9-5.3 1.1-18.5 2.4-35.5 9-51.5 18.5-30.2 17.9-54.5 42.2-75.1 70.4-.3.4-.4.9-.7 1.3 14.5 5.3 24 17.3 36.1 25.6.2-.1.3-.2.4-.4l1.2-2.7c12.2-26.9 27-52.3 46.7-74.5 16.7-18.8 38-25.3 62.5-20 5.9 1.3 11.4 4.4 17.2 6.8 2.3-1.4 5.1-3.2 8-4.7 8.4-4.3 17.4-7 26.7-9 14.7-3.1 29.5-4.9 44.5-1.3v-.5c-.5-.4-1.2-.8-1.7-1.4zM316.7 397.6c-39.4-33-22.8-19.5-42.7-35.6-.8.9 0-.2-1.9 3-11.2 19.1-25.5 35.3-44 47.6-10.3 6.8-21.5 11.8-34.1 11.8-21.6 0-38.2-9.5-49.4-27.8-12-19.5-13.3-40.7-8.2-62.6 7.8-33.8 30.1-55.2 38.6-64.3-18.7-6.2-33 1.7-46.4 13.9.8-13.9 4.3-26.2 11.8-37.3-24.3 10.6-45.9 25-64.8 43.9-.3-5.8 5.4-43.7 5.6-44.7.3-2.7-.6-5.3-3-7.4-24.2 24.7-44.5 51.8-56.1 84.6 7.4-5.9 14.9-11.4 23.6-16.2-8.3 22.3-19.6 52.8-7.8 101.1 4.6 19 11.9 36.8 24.1 52.3 2.9 3.7 6.3 6.9 9.5 10.3.2-.2.4-.3.6-.5-1.4-7-2.2-14.1-1.5-21.9 2.2 3.2 3.9 6 5.9 8.6 12.6 16 28.7 27.4 47.2 35.6 25 11.3 51.1 13.3 77.9 8.6 54.9-9.7 90.7-48.6 116-98.8 1-1.8.6-2.9-.9-4.2zm172-46.4c-9.5-3.1-22.2-4.2-28.7-2.9 9.9 4 14.1 6.6 18.8 12 12.6 14.4 10.4 34.7-5.4 45.6-11.7 8.1-24.9 10.5-38.9 9.1-1.2-.1-2.3-.4-3-.6 2.8-3.7 6-7 8.1-10.8 9.4-16.8 5.4-42.1-8.7-56.1-2.1-2.1-4.6-3.9-7-5.9-.3 1.3-.1 2.1.1 2.8 4.2 16.6-8.1 32.4-24.8 31.8-7.6-.3-13.9-3.8-19.6-8.5-19.5-16.1-39.1-32.1-58.5-48.3-5.9-4.9-12.5-8.1-20.1-8.7-4.6-.4-9.3-.6-13.9-.9-5.9-.4-8.8-2.8-10.4-8.4-.9-3.4-1.5-6.8-2.2-10.2-1.5-8.1-6.2-13-14.3-14.2-4.4-.7-8.9-1-13.3-1.5-13-1.4-19.8-7.4-22.6-20.3-5 11-1.6 22.4 7.3 29.9 4.5 3.8 9.3 7.3 13.8 11.2 4.6 3.8 7.4 8.7 7.9 14.8.4 4.7.8 9.5 1.8 14.1 2.2 10.6 8.9 18.4 17 25.1 16.5 13.7 33 27.3 49.5 41.1 17.9 15 13.9 32.8 13 56-.9 22.9 12.2 42.9 33.5 51.2 1 .4 2 .6 3.6 1.1-15.7-18.2-10.1-44.1.7-52.3.3 2.2.4 4.3.9 6.4 9.4 44.1 45.4 64.2 85 56.9 16-2.9 30.6-8.9 42.9-19.8 2-1.8 3.7-4.1 5.9-6.5-19.3 4.6-35.8.1-50.9-10.6.7-.3 1.3-.3 1.9-.3 21.3 1.8 40.6-3.4 57-17.4 19.5-16.6 26.6-42.9 17.4-66-8.3-20.1-23.6-32.3-43.8-38.9zM99.4 179.3c-5.3-9.2-13.2-15.6-22.1-21.3 13.7-.5 26.6.2 39.6 3.7-7-12.2-8.5-24.7-5-38.7 5.3 11.9 13.7 20.1 23.6 26.8 19.7 13.2 35.7 19.6 46.7 30.2 3.4 3.3 6.3 7.1 9.6 10.9-.8-2.1-1.4-4.1-2.2-6-5-10.6-13-18.6-22.6-25-1.8-1.2-2.8-2.5-3.4-4.5-3.3-12.5-3-25.1-.7-37.6 1-5.5 2.8-10.9 4.5-16.3.8-2.4 2.3-4.6 4-6.6.6 6.9 0 25.5 19.6 46 10.8 11.3 22.4 21.9 33.9 32.7 9 8.5 18.3 16.7 25.5 26.8 1.1 1.6 2.2 3.3 3.8 4.7-5-13-14.2-24.1-24.2-33.8-9.6-9.3-19.4-18.4-29.2-27.4-3.3-3-4.6-6.7-5.1-10.9-1.2-10.4 0-20.6 4.3-30.2.5-1 1.1-2 1.9-3.3.5 4.2.6 7.9 1.4 11.6 4.8 23.1 20.4 36.3 49.3 63.5 10 9.4 19.3 19.2 25.6 31.6 4.8 9.3 7.3 19 5.7 29.6-.1.6.5 1.7 1.1 2 6.2 2.6 10 6.9 9.7 14.3 7.7-2.6 12.5-8 16.4-14.5 4.2 20.2-9.1 50.3-27.2 58.7.4-4.5 5-23.4-16.5-27.7-6.8-1.3-12.8-1.3-22.9-2.1 4.7-9 10.4-20.6.5-22.4-24.9-4.6-52.8 1.9-57.8 4.6 8.2.4 16.3 1 23.5 3.3-2 6.5-4 12.7-5.8 18.9-1.9 6.5 2.1 14.6 9.3 9.6 1.2-.9 2.3-1.9 3.3-2.7-3.1 17.9-2.9 15.9-2.8 18.3.3 10.2 9.5 7.8 15.7 7.3-2.5 11.8-29.5 27.3-45.4 25.8 7-4.7 12.7-10.3 15.9-17.9-6.5.8-12.9 1.6-19.2 2.4l-.3-.9c4.7-3.4 8-7.8 10.2-13.1 8.7-21.1-3.6-38-25-39.9-9.1-.8-17.8.8-25.9 5.5 6.2-15.6 17.2-26.6 32.6-34.5-15.2-4.3-8.9-2.7-24.6-6.3 14.6-9.3 30.2-13.2 46.5-14.6-5.2-3.2-48.1-3.6-70.2 20.9 7.9 1.4 15.5 2.8 23.2 4.2-23.8 7-44 19.7-62.4 35.6 1.1-4.8 2.7-9.5 3.3-14.3.6-4.5.8-9.2.1-13.6-1.5-9.4-8.9-15.1-19.7-16.3-7.9-.9-15.6.1-23.3 1.3-.9.1-1.7.3-2.9 0 15.8-14.8 36-21.7 53.1-33.5 6-4.5 6.8-8.2 3-14.9zm128.4 26.8c3.3 16 12.6 25.5 23.8 24.3-4.6-11.3-12.1-19.5-23.8-24.3z"]
  105375. };
  105376. var faMicroblog = {
  105377. prefix: 'fab',
  105378. iconName: 'microblog',
  105379. icon: [448, 512, [], "e01a", "M399.36,362.23c29.49-34.69,47.1-78.34,47.1-125.79C446.46,123.49,346.86,32,224,32S1.54,123.49,1.54,236.44,101.14,440.87,224,440.87a239.28,239.28,0,0,0,79.44-13.44,7.18,7.18,0,0,1,8.12,2.56c18.58,25.09,47.61,42.74,79.89,49.92a4.42,4.42,0,0,0,5.22-3.43,4.37,4.37,0,0,0-.85-3.62,87,87,0,0,1,3.69-110.69ZM329.52,212.4l-57.3,43.49L293,324.75a6.5,6.5,0,0,1-9.94,7.22L224,290.92,164.94,332a6.51,6.51,0,0,1-9.95-7.22l20.79-68.86-57.3-43.49a6.5,6.5,0,0,1,3.8-11.68l71.88-1.51,23.66-67.92a6.5,6.5,0,0,1,12.28,0l23.66,67.92,71.88,1.51a6.5,6.5,0,0,1,3.88,11.68Z"]
  105380. };
  105381. var faCcDinersClub = {
  105382. prefix: 'fab',
  105383. iconName: 'cc-diners-club',
  105384. icon: [576, 512, [], "f24c", "M239.7 79.9c-96.9 0-175.8 78.6-175.8 175.8 0 96.9 78.9 175.8 175.8 175.8 97.2 0 175.8-78.9 175.8-175.8 0-97.2-78.6-175.8-175.8-175.8zm-39.9 279.6c-41.7-15.9-71.4-56.4-71.4-103.8s29.7-87.9 71.4-104.1v207.9zm79.8.3V151.6c41.7 16.2 71.4 56.7 71.4 104.1s-29.7 87.9-71.4 104.1zM528 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-48zM329.7 448h-90.3c-106.2 0-193.8-85.5-193.8-190.2C45.6 143.2 133.2 64 239.4 64h90.3c105 0 200.7 79.2 200.7 193.8 0 104.7-95.7 190.2-200.7 190.2z"]
  105385. };
  105386. var faGgCircle = {
  105387. prefix: 'fab',
  105388. iconName: 'gg-circle',
  105389. icon: [512, 512, [], "f261", "M257 8C120 8 9 119 9 256s111 248 248 248 248-111 248-248S394 8 257 8zm-49.5 374.8L81.8 257.1l125.7-125.7 35.2 35.4-24.2 24.2-11.1-11.1-77.2 77.2 77.2 77.2 26.6-26.6-53.1-52.9 24.4-24.4 77.2 77.2-75 75.2zm99-2.2l-35.2-35.2 24.1-24.4 11.1 11.1 77.2-77.2-77.2-77.2-26.5 26.5 53.1 52.9-24.4 24.4-77.2-77.2 75-75L432.2 255 306.5 380.6z"]
  105390. };
  105391. var faPiedPiperHat = {
  105392. prefix: 'fab',
  105393. iconName: 'pied-piper-hat',
  105394. icon: [640, 512, [], "f4e5", "M640 24.9c-80.8 53.6-89.4 92.5-96.4 104.4-6.7 12.2-11.7 60.3-23.3 83.6-11.7 23.6-54.2 42.2-66.1 50-11.7 7.8-28.3 38.1-41.9 64.2-108.1-4.4-167.4 38.8-259.2 93.6 29.4-9.7 43.3-16.7 43.3-16.7 94.2-36 139.3-68.3 281.1-49.2 1.1 0 1.9.6 2.8.8 3.9 2.2 5.3 6.9 3.1 10.8l-53.9 95.8c-2.5 4.7-7.8 7.2-13.1 6.1-126.8-23.8-226.9 17.3-318.9 18.6C24.1 488 0 453.4 0 451.8c0-1.1.6-1.7 1.7-1.7 0 0 38.3 0 103.1-15.3C178.4 294.5 244 245.4 315.4 245.4c0 0 71.7 0 90.6 61.9 22.8-39.7 28.3-49.2 28.3-49.2 5.3-9.4 35-77.2 86.4-141.4 51.5-64 90.4-79.9 119.3-91.8z"]
  105395. };
  105396. var faKickstarterK = {
  105397. prefix: 'fab',
  105398. iconName: 'kickstarter-k',
  105399. icon: [384, 512, [], "f3bc", "M147.3 114.4c0-56.2-32.5-82.4-73.4-82.4C26.2 32 0 68.2 0 113.4v283c0 47.3 25.3 83.4 74.9 83.4 39.8 0 72.4-25.6 72.4-83.4v-76.5l112.1 138.3c22.7 27.2 72.1 30.7 103.2 0 27-27.6 27.3-67.4 7.4-92.2l-90.8-114.8 74.9-107.4c17.4-24.7 17.5-63.1-10.4-89.8-30.3-29-82.4-31.6-113.6 12.8L147.3 185v-70.6z"]
  105400. };
  105401. var faYandex = {
  105402. prefix: 'fab',
  105403. iconName: 'yandex',
  105404. icon: [256, 512, [], "f413", "M153.1 315.8L65.7 512H2l96-209.8c-45.1-22.9-75.2-64.4-75.2-141.1C22.7 53.7 90.8 0 171.7 0H254v512h-55.1V315.8h-45.8zm45.8-269.3h-29.4c-44.4 0-87.4 29.4-87.4 114.6 0 82.3 39.4 108.8 87.4 108.8h29.4V46.5z"]
  105405. };
  105406. var faReadme = {
  105407. prefix: 'fab',
  105408. iconName: 'readme',
  105409. icon: [576, 512, [], "f4d5", "M528.3 46.5H388.5c-48.1 0-89.9 33.3-100.4 80.3-10.6-47-52.3-80.3-100.4-80.3H48c-26.5 0-48 21.5-48 48v245.8c0 26.5 21.5 48 48 48h89.7c102.2 0 132.7 24.4 147.3 75 .7 2.8 5.2 2.8 6 0 14.7-50.6 45.2-75 147.3-75H528c26.5 0 48-21.5 48-48V94.6c0-26.4-21.3-47.9-47.7-48.1zM242 311.9c0 1.9-1.5 3.5-3.5 3.5H78.2c-1.9 0-3.5-1.5-3.5-3.5V289c0-1.9 1.5-3.5 3.5-3.5h160.4c1.9 0 3.5 1.5 3.5 3.5v22.9zm0-60.9c0 1.9-1.5 3.5-3.5 3.5H78.2c-1.9 0-3.5-1.5-3.5-3.5v-22.9c0-1.9 1.5-3.5 3.5-3.5h160.4c1.9 0 3.5 1.5 3.5 3.5V251zm0-60.9c0 1.9-1.5 3.5-3.5 3.5H78.2c-1.9 0-3.5-1.5-3.5-3.5v-22.9c0-1.9 1.5-3.5 3.5-3.5h160.4c1.9 0 3.5 1.5 3.5 3.5v22.9zm259.3 121.7c0 1.9-1.5 3.5-3.5 3.5H337.5c-1.9 0-3.5-1.5-3.5-3.5v-22.9c0-1.9 1.5-3.5 3.5-3.5h160.4c1.9 0 3.5 1.5 3.5 3.5v22.9zm0-60.9c0 1.9-1.5 3.5-3.5 3.5H337.5c-1.9 0-3.5-1.5-3.5-3.5V228c0-1.9 1.5-3.5 3.5-3.5h160.4c1.9 0 3.5 1.5 3.5 3.5v22.9zm0-60.9c0 1.9-1.5 3.5-3.5 3.5H337.5c-1.9 0-3.5-1.5-3.5-3.5v-22.8c0-1.9 1.5-3.5 3.5-3.5h160.4c1.9 0 3.5 1.5 3.5 3.5V190z"]
  105410. };
  105411. var faHtml5 = {
  105412. prefix: 'fab',
  105413. iconName: 'html5',
  105414. icon: [384, 512, [], "f13b", "M0 32l34.9 395.8L191.5 480l157.6-52.2L384 32H0zm308.2 127.9H124.4l4.1 49.4h175.6l-13.6 148.4-97.9 27v.3h-1.1l-98.7-27.3-6-75.8h47.7L138 320l53.5 14.5 53.7-14.5 6-62.2H84.3L71.5 112.2h241.1l-4.4 47.7z"]
  105415. };
  105416. var faSellsy = {
  105417. prefix: 'fab',
  105418. iconName: 'sellsy',
  105419. icon: [640, 512, [], "f213", "M539.71 237.308c3.064-12.257 4.29-24.821 4.29-37.384C544 107.382 468.618 32 376.076 32c-77.22 0-144.634 53.012-163.02 127.781-15.322-13.176-34.934-20.53-55.157-20.53-46.271 0-83.962 37.69-83.962 83.961 0 7.354.92 15.015 3.065 22.369-42.9 20.225-70.785 63.738-70.785 111.234C6.216 424.843 61.68 480 129.401 480h381.198c67.72 0 123.184-55.157 123.184-123.184.001-56.384-38.916-106.025-94.073-119.508zM199.88 401.554c0 8.274-7.048 15.321-15.321 15.321H153.61c-8.274 0-15.321-7.048-15.321-15.321V290.626c0-8.273 7.048-15.321 15.321-15.321h30.949c8.274 0 15.321 7.048 15.321 15.321v110.928zm89.477 0c0 8.274-7.048 15.321-15.322 15.321h-30.949c-8.274 0-15.321-7.048-15.321-15.321V270.096c0-8.274 7.048-15.321 15.321-15.321h30.949c8.274 0 15.322 7.048 15.322 15.321v131.458zm89.477 0c0 8.274-7.047 15.321-15.321 15.321h-30.949c-8.274 0-15.322-7.048-15.322-15.321V238.84c0-8.274 7.048-15.321 15.322-15.321h30.949c8.274 0 15.321 7.048 15.321 15.321v162.714zm87.027 0c0 8.274-7.048 15.321-15.322 15.321h-28.497c-8.274 0-15.321-7.048-15.321-15.321V176.941c0-8.579 7.047-15.628 15.321-15.628h28.497c8.274 0 15.322 7.048 15.322 15.628v224.613z"]
  105420. };
  105421. var faSass = {
  105422. prefix: 'fab',
  105423. iconName: 'sass',
  105424. icon: [640, 512, [], "f41e", "M301.84 378.92c-.3.6-.6 1.08 0 0zm249.13-87a131.16 131.16 0 0 0-58 13.5c-5.9-11.9-12-22.3-13-30.1-1.2-9.1-2.5-14.5-1.1-25.3s7.7-26.1 7.6-27.2-1.4-6.6-14.3-6.7-24 2.5-25.29 5.9a122.83 122.83 0 0 0-5.3 19.1c-2.3 11.7-25.79 53.5-39.09 75.3-4.4-8.5-8.1-16-8.9-22-1.2-9.1-2.5-14.5-1.1-25.3s7.7-26.1 7.6-27.2-1.4-6.6-14.29-6.7-24 2.5-25.3 5.9-2.7 11.4-5.3 19.1-33.89 77.3-42.08 95.4c-4.2 9.2-7.8 16.6-10.4 21.6-.4.8-.7 1.3-.9 1.7.3-.5.5-1 .5-.8-2.2 4.3-3.5 6.7-3.5 6.7v.1c-1.7 3.2-3.6 6.1-4.5 6.1-.6 0-1.9-8.4.3-19.9 4.7-24.2 15.8-61.8 15.7-63.1-.1-.7 2.1-7.2-7.3-10.7-9.1-3.3-12.4 2.2-13.2 2.2s-1.4 2-1.4 2 10.1-42.4-19.39-42.4c-18.4 0-44 20.2-56.58 38.5-7.9 4.3-25 13.6-43 23.5-6.9 3.8-14 7.7-20.7 11.4-.5-.5-.9-1-1.4-1.5-35.79-38.2-101.87-65.2-99.07-116.5 1-18.7 7.5-67.8 127.07-127.4 98-48.8 176.35-35.4 189.84-5.6 19.4 42.5-41.89 121.6-143.66 133-38.79 4.3-59.18-10.7-64.28-16.3-5.3-5.9-6.1-6.2-8.1-5.1-3.3 1.8-1.2 7 0 10.1 3 7.9 15.5 21.9 36.79 28.9 18.7 6.1 64.18 9.5 119.17-11.8 61.78-23.8 109.87-90.1 95.77-145.6C386.52 18.32 293-.18 204.57 31.22c-52.69 18.7-109.67 48.1-150.66 86.4-48.69 45.6-56.48 85.3-53.28 101.9 11.39 58.9 92.57 97.3 125.06 125.7-1.6.9-3.1 1.7-4.5 2.5-16.29 8.1-78.18 40.5-93.67 74.7-17.5 38.8 2.9 66.6 16.29 70.4 41.79 11.6 84.58-9.3 107.57-43.6s20.2-79.1 9.6-99.5c-.1-.3-.3-.5-.4-.8 4.2-2.5 8.5-5 12.8-7.5 8.29-4.9 16.39-9.4 23.49-13.3-4 10.8-6.9 23.8-8.4 42.6-1.8 22 7.3 50.5 19.1 61.7 5.2 4.9 11.49 5 15.39 5 13.8 0 20-11.4 26.89-25 8.5-16.6 16-35.9 16-35.9s-9.4 52.2 16.3 52.2c9.39 0 18.79-12.1 23-18.3v.1s.2-.4.7-1.2c1-1.5 1.5-2.4 1.5-2.4v-.3c3.8-6.5 12.1-21.4 24.59-46 16.2-31.8 31.69-71.5 31.69-71.5a201.24 201.24 0 0 0 6.2 25.8c2.8 9.5 8.7 19.9 13.4 30-3.8 5.2-6.1 8.2-6.1 8.2a.31.31 0 0 0 .1.2c-3 4-6.4 8.3-9.9 12.5-12.79 15.2-28 32.6-30 37.6-2.4 5.9-1.8 10.3 2.8 13.7 3.4 2.6 9.4 3 15.69 2.5 11.5-.8 19.6-3.6 23.5-5.4a82.2 82.2 0 0 0 20.19-10.6c12.5-9.2 20.1-22.4 19.4-39.8-.4-9.6-3.5-19.2-7.3-28.2 1.1-1.6 2.3-3.3 3.4-5C434.8 301.72 450.1 270 450.1 270a201.24 201.24 0 0 0 6.2 25.8c2.4 8.1 7.09 17 11.39 25.7-18.59 15.1-30.09 32.6-34.09 44.1-7.4 21.3-1.6 30.9 9.3 33.1 4.9 1 11.9-1.3 17.1-3.5a79.46 79.46 0 0 0 21.59-11.1c12.5-9.2 24.59-22.1 23.79-39.6-.3-7.9-2.5-15.8-5.4-23.4 15.7-6.6 36.09-10.2 62.09-7.2 55.68 6.5 66.58 41.3 64.48 55.8s-13.8 22.6-17.7 25-5.1 3.3-4.8 5.1c.5 2.6 2.3 2.5 5.6 1.9 4.6-.8 29.19-11.8 30.29-38.7 1.6-34-31.09-71.4-89-71.1zm-429.18 144.7c-18.39 20.1-44.19 27.7-55.28 21.3C54.61 451 59.31 421.42 82 400c13.8-13 31.59-25 43.39-32.4 2.7-1.6 6.6-4 11.4-6.9.8-.5 1.2-.7 1.2-.7.9-.6 1.9-1.1 2.9-1.7 8.29 30.4.3 57.2-19.1 78.3zm134.36-91.4c-6.4 15.7-19.89 55.7-28.09 53.6-7-1.8-11.3-32.3-1.4-62.3 5-15.1 15.6-33.1 21.9-40.1 10.09-11.3 21.19-14.9 23.79-10.4 3.5 5.9-12.2 49.4-16.2 59.2zm111 53c-2.7 1.4-5.2 2.3-6.4 1.6-.9-.5 1.1-2.4 1.1-2.4s13.9-14.9 19.4-21.7c3.2-4 6.9-8.7 10.89-13.9 0 .5.1 1 .1 1.6-.13 17.9-17.32 30-25.12 34.8zm85.58-19.5c-2-1.4-1.7-6.1 5-20.7 2.6-5.7 8.59-15.3 19-24.5a36.18 36.18 0 0 1 1.9 10.8c-.1 22.5-16.2 30.9-25.89 34.4z"]
  105425. };
  105426. var faWirsindhandwerk = {
  105427. prefix: 'fab',
  105428. iconName: 'wirsindhandwerk',
  105429. icon: [512, 512, ["wsh"], "e2d0", "M50.77161,479.81213h83.36071V367.84741l-83.36071,47.009Zm329.04675,0h82.35022V414.85645l-82.35022-47.009Zm.00568-448V251.568L256.1759,179.1861,134.50378,251.568V31.81213H50.77161V392.60565L256.1759,270.31909,462.16858,392.60565V31.81213Z"]
  105430. };
  105431. var faWsh = faWirsindhandwerk;
  105432. var faBuromobelexperte = {
  105433. prefix: 'fab',
  105434. iconName: 'buromobelexperte',
  105435. icon: [448, 512, [], "f37f", "M0 32v128h128V32H0zm120 120H8V40h112v112zm40-120v128h128V32H160zm120 120H168V40h112v112zm40-120v128h128V32H320zm120 120H328V40h112v112zM0 192v128h128V192H0zm120 120H8V200h112v112zm40-120v128h128V192H160zm120 120H168V200h112v112zm40-120v128h128V192H320zm120 120H328V200h112v112zM0 352v128h128V352H0zm120 120H8V360h112v112zm40-120v128h128V352H160zm120 120H168V360h112v112zm40-120v128h128V352H320z"]
  105436. };
  105437. var faSalesforce = {
  105438. prefix: 'fab',
  105439. iconName: 'salesforce',
  105440. icon: [640, 512, [], "f83b", "M248.89 245.64h-26.35c.69-5.16 3.32-14.12 13.64-14.12 6.75 0 11.97 3.82 12.71 14.12zm136.66-13.88c-.47 0-14.11-1.77-14.11 20s13.63 20 14.11 20c13 0 14.11-13.54 14.11-20 0-21.76-13.66-20-14.11-20zm-243.22 23.76a8.63 8.63 0 0 0-3.29 7.29c0 4.78 2.08 6.05 3.29 7.05 4.7 3.7 15.07 2.12 20.93.95v-16.94c-5.32-1.07-16.73-1.96-20.93 1.65zM640 232c0 87.58-80 154.39-165.36 136.43-18.37 33-70.73 70.75-132.2 41.63-41.16 96.05-177.89 92.18-213.81-5.17C8.91 428.78-50.19 266.52 53.36 205.61 18.61 126.18 76 32 167.67 32a124.24 124.24 0 0 1 98.56 48.7c20.7-21.4 49.4-34.81 81.15-34.81 42.34 0 79 23.52 98.8 58.57C539 63.78 640 132.69 640 232zm-519.55 31.8c0-11.76-11.69-15.17-17.87-17.17-5.27-2.11-13.41-3.51-13.41-8.94 0-9.46 17-6.66 25.17-2.12 0 0 1.17.71 1.64-.47.24-.7 2.36-6.58 2.59-7.29a1.13 1.13 0 0 0-.7-1.41c-12.33-7.63-40.7-8.51-40.7 12.7 0 12.46 11.49 15.44 17.88 17.17 4.72 1.58 13.17 3 13.17 8.7 0 4-3.53 7.06-9.17 7.06a31.76 31.76 0 0 1-19-6.35c-.47-.23-1.42-.71-1.65.71l-2.4 7.47c-.47.94.23 1.18.23 1.41 1.75 1.4 10.3 6.59 22.82 6.59 13.17 0 21.4-7.06 21.4-18.11zm32-42.58c-10.13 0-18.66 3.17-21.4 5.18a1 1 0 0 0-.24 1.41l2.59 7.06a1 1 0 0 0 1.18.7c.65 0 6.8-4 16.93-4 4 0 7.06.71 9.18 2.36 3.6 2.8 3.06 8.29 3.06 10.58-4.79-.3-19.11-3.44-29.41 3.76a16.92 16.92 0 0 0-7.34 14.54c0 5.9 1.51 10.4 6.59 14.35 12.24 8.16 36.28 2 38.1 1.41 1.58-.32 3.53-.66 3.53-1.88v-33.88c.04-4.61.32-21.64-22.78-21.64zM199 200.24a1.11 1.11 0 0 0-1.18-1.18H188a1.11 1.11 0 0 0-1.17 1.18v79a1.11 1.11 0 0 0 1.17 1.18h9.88a1.11 1.11 0 0 0 1.18-1.18zm55.75 28.93c-2.1-2.31-6.79-7.53-17.65-7.53-3.51 0-14.16.23-20.7 8.94-6.35 7.63-6.58 18.11-6.58 21.41 0 3.12.15 14.26 7.06 21.17 2.64 2.91 9.06 8.23 22.81 8.23 10.82 0 16.47-2.35 18.58-3.76.47-.24.71-.71.24-1.88l-2.35-6.83a1.26 1.26 0 0 0-1.41-.7c-2.59.94-6.35 2.82-15.29 2.82-17.42 0-16.85-14.74-16.94-16.7h37.17a1.23 1.23 0 0 0 1.17-.94c-.29 0 2.07-14.7-6.09-24.23zm36.69 52.69c13.17 0 21.41-7.06 21.41-18.11 0-11.76-11.7-15.17-17.88-17.17-4.14-1.66-13.41-3.38-13.41-8.94 0-3.76 3.29-6.35 8.47-6.35a38.11 38.11 0 0 1 16.7 4.23s1.18.71 1.65-.47c.23-.7 2.35-6.58 2.58-7.29a1.13 1.13 0 0 0-.7-1.41c-7.91-4.9-16.74-4.94-20.23-4.94-12 0-20.46 7.29-20.46 17.64 0 12.46 11.48 15.44 17.87 17.17 6.11 2 13.17 3.26 13.17 8.7 0 4-3.52 7.06-9.17 7.06a31.8 31.8 0 0 1-19-6.35 1 1 0 0 0-1.65.71l-2.35 7.52c-.47.94.23 1.18.23 1.41 1.72 1.4 10.33 6.59 22.79 6.59zM357.09 224c0-.71-.24-1.18-1.18-1.18h-11.76c0-.14.94-8.94 4.47-12.47 4.16-4.15 11.76-1.64 12-1.64 1.17.47 1.41 0 1.64-.47l2.83-7.77c.7-.94 0-1.17-.24-1.41-5.09-2-17.35-2.87-24.46 4.24-5.48 5.48-7 13.92-8 19.52h-8.47a1.28 1.28 0 0 0-1.17 1.18l-1.42 7.76c0 .7.24 1.17 1.18 1.17h8.23c-8.51 47.9-8.75 50.21-10.35 55.52-1.08 3.62-3.29 6.9-5.88 7.76-.09 0-3.88 1.68-9.64-.24 0 0-.94-.47-1.41.71-.24.71-2.59 6.82-2.83 7.53s0 1.41.47 1.41c5.11 2 13 1.77 17.88 0 6.28-2.28 9.72-7.89 11.53-12.94 2.75-7.71 2.81-9.79 11.76-59.74h12.23a1.29 1.29 0 0 0 1.18-1.18zm53.39 16c-.56-1.68-5.1-18.11-25.17-18.11-15.25 0-23 10-25.16 18.11-1 3-3.18 14 0 23.52.09.3 4.41 18.12 25.16 18.12 14.95 0 22.9-9.61 25.17-18.12 3.21-9.61 1.01-20.52 0-23.52zm45.4-16.7c-5-1.65-16.62-1.9-22.11 5.41v-4.47a1.11 1.11 0 0 0-1.18-1.17h-9.4a1.11 1.11 0 0 0-1.18 1.17v55.28a1.12 1.12 0 0 0 1.18 1.18h9.64a1.12 1.12 0 0 0 1.18-1.18v-27.77c0-2.91.05-11.37 4.46-15.05 4.9-4.9 12-3.36 13.41-3.06a1.57 1.57 0 0 0 1.41-.94 74 74 0 0 0 3.06-8 1.16 1.16 0 0 0-.47-1.41zm46.81 54.1l-2.12-7.29c-.47-1.18-1.41-.71-1.41-.71-4.23 1.82-10.15 1.89-11.29 1.89-4.64 0-17.17-1.13-17.17-19.76 0-6.23 1.85-19.76 16.47-19.76a34.85 34.85 0 0 1 11.52 1.65s.94.47 1.18-.71c.94-2.59 1.64-4.47 2.59-7.53.23-.94-.47-1.17-.71-1.17-11.59-3.87-22.34-2.53-27.76 0-1.59.74-16.23 6.49-16.23 27.52 0 2.9-.58 30.11 28.94 30.11a44.45 44.45 0 0 0 15.52-2.83 1.3 1.3 0 0 0 .47-1.42zm53.87-39.52c-.8-3-5.37-16.23-22.35-16.23-16 0-23.52 10.11-25.64 18.59a38.58 38.58 0 0 0-1.65 11.76c0 25.87 18.84 29.4 29.88 29.4 10.82 0 16.46-2.35 18.58-3.76.47-.24.71-.71.24-1.88l-2.36-6.83a1.26 1.26 0 0 0-1.41-.7c-2.59.94-6.35 2.82-15.29 2.82-17.42 0-16.85-14.74-16.93-16.7h37.16a1.25 1.25 0 0 0 1.18-.94c-.24-.01.94-7.07-1.41-15.54zm-23.29-6.35c-10.33 0-13 9-13.64 14.12H546c-.88-11.92-7.62-14.13-12.73-14.13z"]
  105441. };
  105442. var faOctopusDeploy = {
  105443. prefix: 'fab',
  105444. iconName: 'octopus-deploy',
  105445. icon: [512, 512, [], "e082", "M455.6,349.2c-45.891-39.09-36.67-77.877-16.095-128.11C475.16,134.04,415.967,34.14,329.93,8.3,237.04-19.6,134.252,24.341,99.677,117.147a180.862,180.862,0,0,0-10.988,73.544c1.733,29.543,14.717,52.97,24.09,80.3,17.2,50.161-28.1,92.743-66.662,117.582-46.806,30.2-36.319,39.857-8.428,41.858,23.378,1.68,44.478-4.548,65.265-15.045,9.2-4.647,40.687-18.931,45.13-28.588C135.9,413.388,111.122,459.5,126.621,488.9c19.1,36.229,67.112-31.77,76.709-45.812,8.591-12.572,42.963-81.279,63.627-46.926,18.865,31.361,8.6,76.391,35.738,104.622,32.854,34.2,51.155-18.312,51.412-44.221.163-16.411-6.1-95.852,29.9-59.944C405.428,418,436.912,467.8,472.568,463.642c38.736-4.516-22.123-67.967-28.262-78.695,5.393,4.279,53.665,34.128,53.818,9.52C498.234,375.678,468.039,359.8,455.6,349.2Z"]
  105446. };
  105447. var faMedapps = {
  105448. prefix: 'fab',
  105449. iconName: 'medapps',
  105450. icon: [320, 512, [], "f3c6", "M118.3 238.4c3.5-12.5 6.9-33.6 13.2-33.6 8.3 1.8 9.6 23.4 18.6 36.6 4.6-23.5 5.3-85.1 14.1-86.7 9-.7 19.7 66.5 22 77.5 9.9 4.1 48.9 6.6 48.9 6.6 1.9 7.3-24 7.6-40 7.8-4.6 14.8-5.4 27.7-11.4 28-4.7.2-8.2-28.8-17.5-49.6l-9.4 65.5c-4.4 13-15.5-22.5-21.9-39.3-3.3-.1-62.4-1.6-47.6-7.8l31-5zM228 448c21.2 0 21.2-32 0-32H92c-21.2 0-21.2 32 0 32h136zm-24 64c21.2 0 21.2-32 0-32h-88c-21.2 0-21.2 32 0 32h88zm34.2-141.5c3.2-18.9 5.2-36.4 11.9-48.8 7.9-14.7 16.1-28.1 24-41 24.6-40.4 45.9-75.2 45.9-125.5C320 69.6 248.2 0 160 0S0 69.6 0 155.2c0 50.2 21.3 85.1 45.9 125.5 7.9 12.9 16 26.3 24 41 6.7 12.5 8.7 29.8 11.9 48.9 3.5 21 36.1 15.7 32.6-5.1-3.6-21.7-5.6-40.7-15.3-58.6C66.5 246.5 33 211.3 33 155.2 33 87.3 90 32 160 32s127 55.3 127 123.2c0 56.1-33.5 91.3-66.1 151.6-9.7 18-11.7 37.4-15.3 58.6-3.4 20.6 29 26.4 32.6 5.1z"]
  105451. };
  105452. var faNs8 = {
  105453. prefix: 'fab',
  105454. iconName: 'ns8',
  105455. icon: [640, 512, [], "f3d5", "M104.324,269.172h26.067V242.994H104.324Zm52.466-26.178-.055-26.178v-.941a39.325,39.325,0,0,0-78.644.941v.166h26.4v-.166a12.98,12.98,0,0,1,25.956,0v26.178Zm52.356,25.846a91.1,91.1,0,0,1-91.1,91.1h-.609a91.1,91.1,0,0,1-91.1-91.1H0v.166A117.33,117.33,0,0,0,117.44,386.28h.775A117.331,117.331,0,0,0,235.49,268.84V242.828H209.146Zm-157.233,0a65.362,65.362,0,0,0,130.723,0H156.292a39.023,39.023,0,0,1-78.035,0V242.883H51.968v-26.62A65.42,65.42,0,0,1,182.8,217.48v25.293h26.344V217.48a91.761,91.761,0,0,0-183.522,0v25.4H51.913Zm418.4-71.173c13.67,0,24.573,6.642,30.052,18.264l.719,1.549,23.245-11.511-.609-1.439c-8.025-19.26-28.5-31.27-53.407-31.27-23.134,0-43.611,11.4-50.972,28.447-.123,26.876-.158,23.9,0,24.85,4.7,11.013,14.555,19.37,28.668,24.241a102.033,102.033,0,0,0,19.813,3.984c5.479.72,10.626,1.384,15.829,3.1,6.364,2.1,10.46,5.257,12.84,9.851v9.851c-3.708,7.527-13.781,12.342-25.791,12.342-14.334,0-25.956-6.918-31.933-19.039l-.72-1.494L415.026,280.9l.553,1.439c7.915,19.426,29.609,32.044,55.289,32.044,23.632,0,44.608-11.4,52.3-28.447l.166-25.9-.166-.664c-4.87-11.014-15.219-19.647-28.944-24.241-7.693-2.712-14.335-3.6-20.7-4.427a83.777,83.777,0,0,1-14.832-2.878c-6.31-1.937-10.4-5.092-12.619-9.63v-8.412C449.45,202.427,458.969,197.667,470.315,197.667ZM287.568,311.344h26.067v-68.4H287.568Zm352.266-53.3c-2.933-6.254-8.3-12.01-15.441-16.714A37.99,37.99,0,0,0,637.4,226l.166-25.347-.166-.664C630.038,184,610.667,173.26,589.25,173.26S548.461,184,541.1,199.992l-.166,25.347.166.664a39.643,39.643,0,0,0,13.006,15.331c-7.2,4.7-12.508,10.46-15.441,16.714l-.166,28.889.166.72c7.582,15.994,27.893,26.731,50.585,26.731s43.057-10.737,50.584-26.731l.166-28.89Zm-73.22-50.806c3.6-6.31,12.563-10.516,22.58-10.516s19.038,4.206,22.636,10.516v13.725c-3.542,6.2-12.563,10.349-22.636,10.349s-19.094-4.15-22.58-10.349Zm47.319,72.169c-3.764,6.641-13.338,10.9-24.683,10.9-11.125,0-20.976-4.372-24.684-10.9V263.25c3.708-6.309,13.5-10.515,24.684-10.515,11.345,0,20.919,4.15,24.683,10.515ZM376.4,265.962l-59.827-89.713h-29v40.623h26.51v.387l62.539,94.085H402.3V176.249H376.4Z"]
  105456. };
  105457. var faPinterestP = {
  105458. prefix: 'fab',
  105459. iconName: 'pinterest-p',
  105460. icon: [384, 512, [], "f231", "M204 6.5C101.4 6.5 0 74.9 0 185.6 0 256 39.6 296 63.6 296c9.9 0 15.6-27.6 15.6-35.4 0-9.3-23.7-29.1-23.7-67.8 0-80.4 61.2-137.4 140.4-137.4 68.1 0 118.5 38.7 118.5 109.8 0 53.1-21.3 152.7-90.3 152.7-24.9 0-46.2-18-46.2-43.8 0-37.8 26.4-74.4 26.4-113.4 0-66.2-93.9-54.2-93.9 25.8 0 16.8 2.1 35.4 9.6 50.7-13.8 59.4-42 147.9-42 209.1 0 18.9 2.7 37.5 4.5 56.4 3.4 3.8 1.7 3.4 6.9 1.5 50.4-69 48.6-82.5 71.4-172.8 12.3 23.4 44.1 36 69.3 36 106.2 0 153.9-103.5 153.9-196.8C384 71.3 298.2 6.5 204 6.5z"]
  105461. };
  105462. var faApper = {
  105463. prefix: 'fab',
  105464. iconName: 'apper',
  105465. icon: [640, 512, [], "f371", "M42.1 239.1c22.2 0 29 2.8 33.5 14.6h.8v-22.9c0-11.3-4.8-15.4-17.9-15.4-11.3 0-14.4 2.5-15.1 12.8H4.8c.3-13.9 1.5-19.1 5.8-24.4C17.9 195 29.5 192 56.7 192c33 0 47.1 5 53.9 18.9 2 4.3 4 15.6 4 23.7v76.3H76.3l1.3-19.1h-1c-5.3 15.6-13.6 20.4-35.5 20.4-30.3 0-41.1-10.1-41.1-37.3 0-25.2 12.3-35.8 42.1-35.8zm17.1 48.1c13.1 0 16.9-3 16.9-13.4 0-9.1-4.3-11.6-19.6-11.6-13.1 0-17.9 3-17.9 12.1-.1 10.4 3.7 12.9 20.6 12.9zm77.8-94.9h38.3l-1.5 20.6h.8c9.1-17.1 15.9-20.9 37.5-20.9 14.4 0 24.7 3 31.5 9.1 9.8 8.6 12.8 20.4 12.8 48.1 0 30-3 43.1-12.1 52.9-6.8 7.3-16.4 10.1-33.2 10.1-20.4 0-29.2-5.5-33.8-21.2h-.8v70.3H137v-169zm80.9 60.7c0-27.5-3.3-32.5-20.7-32.5-16.9 0-20.7 5-20.7 28.7 0 28 3.5 33.5 21.2 33.5 16.4 0 20.2-5.6 20.2-29.7zm57.9-60.7h38.3l-1.5 20.6h.8c9.1-17.1 15.9-20.9 37.5-20.9 14.4 0 24.7 3 31.5 9.1 9.8 8.6 12.8 20.4 12.8 48.1 0 30-3 43.1-12.1 52.9-6.8 7.3-16.4 10.1-33.3 10.1-20.4 0-29.2-5.5-33.8-21.2h-.8v70.3h-39.5v-169zm80.9 60.7c0-27.5-3.3-32.5-20.7-32.5-16.9 0-20.7 5-20.7 28.7 0 28 3.5 33.5 21.2 33.5 16.4 0 20.2-5.6 20.2-29.7zm53.8-3.8c0-25.4 3.3-37.8 12.3-45.8 8.8-8.1 22.2-11.3 45.1-11.3 42.8 0 55.7 12.8 55.7 55.7v11.1h-75.3c-.3 2-.3 4-.3 4.8 0 16.9 4.5 21.9 20.1 21.9 13.9 0 17.9-3 17.9-13.9h37.5v2.3c0 9.8-2.5 18.9-6.8 24.7-7.3 9.8-19.6 13.6-44.3 13.6-27.5 0-41.6-3.3-50.6-12.3-8.5-8.5-11.3-21.3-11.3-50.8zm76.4-11.6c-.3-1.8-.3-3.3-.3-3.8 0-12.3-3.3-14.6-19.6-14.6-14.4 0-17.1 3-18.1 15.1l-.3 3.3h38.3zm55.6-45.3h38.3l-1.8 19.9h.7c6.8-14.9 14.4-20.2 29.7-20.2 10.8 0 19.1 3.3 23.4 9.3 5.3 7.3 6.8 14.4 6.8 34 0 1.5 0 5 .2 9.3h-35c.3-1.8.3-3.3.3-4 0-15.4-2-19.4-10.3-19.4-6.3 0-10.8 3.3-13.1 9.3-1 3-1 4.3-1 12.3v68h-38.3V192.3z"]
  105466. };
  105467. var faFortAwesome = {
  105468. prefix: 'fab',
  105469. iconName: 'fort-awesome',
  105470. icon: [512, 512, [], "f286", "M489.2 287.9h-27.4c-2.6 0-4.6 2-4.6 4.6v32h-36.6V146.2c0-2.6-2-4.6-4.6-4.6h-27.4c-2.6 0-4.6 2-4.6 4.6v32h-36.6v-32c0-2.6-2-4.6-4.6-4.6h-27.4c-2.6 0-4.6 2-4.6 4.6v32h-36.6v-32c0-6-8-4.6-11.7-4.6v-38c8.3-2 17.1-3.4 25.7-3.4 10.9 0 20.9 4.3 31.4 4.3 4.6 0 27.7-1.1 27.7-8v-60c0-2.6-2-4.6-4.6-4.6-5.1 0-15.1 4.3-24 4.3-9.7 0-20.9-4.3-32.6-4.3-8 0-16 1.1-23.7 2.9v-4.9c5.4-2.6 9.1-8.3 9.1-14.3 0-20.7-31.4-20.8-31.4 0 0 6 3.7 11.7 9.1 14.3v111.7c-3.7 0-11.7-1.4-11.7 4.6v32h-36.6v-32c0-2.6-2-4.6-4.6-4.6h-27.4c-2.6 0-4.6 2-4.6 4.6v32H128v-32c0-2.6-2-4.6-4.6-4.6H96c-2.6 0-4.6 2-4.6 4.6v178.3H54.8v-32c0-2.6-2-4.6-4.6-4.6H22.8c-2.6 0-4.6 2-4.6 4.6V512h182.9v-96c0-72.6 109.7-72.6 109.7 0v96h182.9V292.5c.1-2.6-1.9-4.6-4.5-4.6zm-288.1-4.5c0 2.6-2 4.6-4.6 4.6h-27.4c-2.6 0-4.6-2-4.6-4.6v-64c0-2.6 2-4.6 4.6-4.6h27.4c2.6 0 4.6 2 4.6 4.6v64zm146.4 0c0 2.6-2 4.6-4.6 4.6h-27.4c-2.6 0-4.6-2-4.6-4.6v-64c0-2.6 2-4.6 4.6-4.6h27.4c2.6 0 4.6 2 4.6 4.6v64z"]
  105471. };
  105472. var faWaze = {
  105473. prefix: 'fab',
  105474. iconName: 'waze',
  105475. icon: [512, 512, [], "f83f", "M502.17 201.67C516.69 287.53 471.23 369.59 389 409.8c13 34.1-12.4 70.2-48.32 70.2a51.68 51.68 0 0 1-51.57-49c-6.44.19-64.2 0-76.33-.64A51.69 51.69 0 0 1 159 479.92c-33.86-1.36-57.95-34.84-47-67.92-37.21-13.11-72.54-34.87-99.62-70.8-13-17.28-.48-41.8 20.84-41.8 46.31 0 32.22-54.17 43.15-110.26C94.8 95.2 193.12 32 288.09 32c102.48 0 197.15 70.67 214.08 169.67zM373.51 388.28c42-19.18 81.33-56.71 96.29-102.14 40.48-123.09-64.15-228-181.71-228-83.45 0-170.32 55.42-186.07 136-9.53 48.91 5 131.35-68.75 131.35C58.21 358.6 91.6 378.11 127 389.54c24.66-21.8 63.87-15.47 79.83 14.34 14.22 1 79.19 1.18 87.9.82a51.69 51.69 0 0 1 78.78-16.42zM205.12 187.13c0-34.74 50.84-34.75 50.84 0s-50.84 34.74-50.84 0zm116.57 0c0-34.74 50.86-34.75 50.86 0s-50.86 34.75-50.86 0zm-122.61 70.69c-3.44-16.94 22.18-22.18 25.62-5.21l.06.28c4.14 21.42 29.85 44 64.12 43.07 35.68-.94 59.25-22.21 64.11-42.77 4.46-16.05 28.6-10.36 25.47 6-5.23 22.18-31.21 62-91.46 62.9-42.55 0-80.88-27.84-87.9-64.25z"]
  105476. };
  105477. var faCcJcb = {
  105478. prefix: 'fab',
  105479. iconName: 'cc-jcb',
  105480. icon: [576, 512, [], "f24b", "M431.5 244.3V212c41.2 0 38.5.2 38.5.2 7.3 1.3 13.3 7.3 13.3 16 0 8.8-6 14.5-13.3 15.8-1.2.4-3.3.3-38.5.3zm42.8 20.2c-2.8-.7-3.3-.5-42.8-.5v35c39.6 0 40 .2 42.8-.5 7.5-1.5 13.5-8 13.5-17 0-8.7-6-15.5-13.5-17zM576 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h480c26.5 0 48 21.5 48 48zM182 192.3h-57c0 67.1 10.7 109.7-35.8 109.7-19.5 0-38.8-5.7-57.2-14.8v28c30 8.3 68 8.3 68 8.3 97.9 0 82-47.7 82-131.2zm178.5 4.5c-63.4-16-165-14.9-165 59.3 0 77.1 108.2 73.6 165 59.2V287C312.9 311.7 253 309 253 256s59.8-55.6 107.5-31.2v-28zM544 286.5c0-18.5-16.5-30.5-38-32v-.8c19.5-2.7 30.3-15.5 30.3-30.2 0-19-15.7-30-37-31 0 0 6.3-.3-120.3-.3v127.5h122.7c24.3.1 42.3-12.9 42.3-33.2z"]
  105481. };
  105482. var faSnapchat = {
  105483. prefix: 'fab',
  105484. iconName: 'snapchat',
  105485. icon: [512, 512, [62124, "snapchat-ghost"], "f2ab", "M496.926,366.6c-3.373-9.176-9.8-14.086-17.112-18.153-1.376-.806-2.641-1.451-3.72-1.947-2.182-1.128-4.414-2.22-6.634-3.373-22.8-12.09-40.609-27.341-52.959-45.42a102.889,102.889,0,0,1-9.089-16.12c-1.054-3.013-1-4.724-.248-6.287a10.221,10.221,0,0,1,2.914-3.038c3.918-2.591,7.96-5.22,10.7-6.993,4.885-3.162,8.754-5.667,11.246-7.44,9.362-6.547,15.909-13.5,20-21.278a42.371,42.371,0,0,0,2.1-35.191c-6.2-16.318-21.613-26.449-40.287-26.449a55.543,55.543,0,0,0-11.718,1.24c-1.029.224-2.059.459-3.063.72.174-11.16-.074-22.94-1.066-34.534-3.522-40.758-17.794-62.123-32.674-79.16A130.167,130.167,0,0,0,332.1,36.443C309.515,23.547,283.91,17,256,17S202.6,23.547,180,36.443a129.735,129.735,0,0,0-33.281,26.783c-14.88,17.038-29.152,38.44-32.673,79.161-.992,11.594-1.24,23.435-1.079,34.533-1-.26-2.021-.5-3.051-.719a55.461,55.461,0,0,0-11.717-1.24c-18.687,0-34.125,10.131-40.3,26.449a42.423,42.423,0,0,0,2.046,35.228c4.105,7.774,10.652,14.731,20.014,21.278,2.48,1.736,6.361,4.24,11.246,7.44,2.641,1.711,6.5,4.216,10.28,6.72a11.054,11.054,0,0,1,3.3,3.311c.794,1.624.818,3.373-.36,6.6a102.02,102.02,0,0,1-8.94,15.785c-12.077,17.669-29.363,32.648-51.434,44.639C32.355,348.608,20.2,352.75,15.069,366.7c-3.868,10.528-1.339,22.506,8.494,32.6a49.137,49.137,0,0,0,12.4,9.387,134.337,134.337,0,0,0,30.342,12.139,20.024,20.024,0,0,1,6.126,2.741c3.583,3.137,3.075,7.861,7.849,14.78a34.468,34.468,0,0,0,8.977,9.127c10.019,6.919,21.278,7.353,33.207,7.811,10.776.41,22.989.881,36.939,5.481,5.778,1.91,11.78,5.605,18.736,9.92C194.842,480.951,217.707,495,255.973,495s61.292-14.123,78.118-24.428c6.907-4.24,12.872-7.9,18.489-9.758,13.949-4.613,26.163-5.072,36.939-5.481,11.928-.459,23.187-.893,33.206-7.812a34.584,34.584,0,0,0,10.218-11.16c3.434-5.84,3.348-9.919,6.572-12.771a18.971,18.971,0,0,1,5.753-2.629A134.893,134.893,0,0,0,476.02,408.71a48.344,48.344,0,0,0,13.019-10.193l.124-.149C498.389,388.5,500.708,376.867,496.926,366.6Zm-34.013,18.277c-20.745,11.458-34.533,10.23-45.259,17.137-9.114,5.865-3.72,18.513-10.342,23.076-8.134,5.617-32.177-.4-63.239,9.858-25.618,8.469-41.961,32.822-88.038,32.822s-62.036-24.3-88.076-32.884c-31-10.255-55.092-4.241-63.239-9.858-6.609-4.563-1.24-17.211-10.341-23.076-10.739-6.907-24.527-5.679-45.26-17.075-13.206-7.291-5.716-11.8-1.314-13.937,75.143-36.381,87.133-92.552,87.666-96.719.645-5.046,1.364-9.014-4.191-14.148-5.369-4.96-29.189-19.7-35.8-24.316-10.937-7.638-15.748-15.264-12.2-24.638,2.48-6.485,8.531-8.928,14.879-8.928a27.643,27.643,0,0,1,5.965.67c12,2.6,23.659,8.617,30.392,10.242a10.749,10.749,0,0,0,2.48.335c3.6,0,4.86-1.811,4.612-5.927-.768-13.132-2.628-38.725-.558-62.644,2.84-32.909,13.442-49.215,26.04-63.636,6.051-6.932,34.484-36.976,88.857-36.976s82.88,29.92,88.931,36.827c12.611,14.421,23.225,30.727,26.04,63.636,2.071,23.919.285,49.525-.558,62.644-.285,4.327,1.017,5.927,4.613,5.927a10.648,10.648,0,0,0,2.48-.335c6.745-1.624,18.4-7.638,30.4-10.242a27.641,27.641,0,0,1,5.964-.67c6.386,0,12.4,2.48,14.88,8.928,3.546,9.374-1.24,17-12.189,24.639-6.609,4.612-30.429,19.343-35.8,24.315-5.568,5.134-4.836,9.1-4.191,14.149.533,4.228,12.511,60.4,87.666,96.718C468.629,373.011,476.119,377.524,462.913,384.877Z"]
  105486. };
  105487. var faSnapchatGhost = faSnapchat;
  105488. var faFantasyFlightGames = {
  105489. prefix: 'fab',
  105490. iconName: 'fantasy-flight-games',
  105491. icon: [512, 512, [], "f6dc", "M256 32.86L32.86 256 256 479.14 479.14 256 256 32.86zM88.34 255.83c1.96-2 11.92-12.3 96.49-97.48 41.45-41.75 86.19-43.77 119.77-18.69 24.63 18.4 62.06 58.9 62.15 59 .68.74 1.07 2.86.58 3.38-11.27 11.84-22.68 23.54-33.5 34.69-34.21-32.31-40.52-38.24-48.51-43.95-17.77-12.69-41.4-10.13-56.98 5.1-2.17 2.13-1.79 3.43.12 5.35 2.94 2.95 28.1 28.33 35.09 35.78-11.95 11.6-23.66 22.97-35.69 34.66-12.02-12.54-24.48-25.53-36.54-38.11-21.39 21.09-41.69 41.11-61.85 60.99zm234.82 101.6c-35.49 35.43-78.09 38.14-106.99 20.47-22.08-13.5-39.38-32.08-72.93-66.84 12.05-12.37 23.79-24.42 35.37-36.31 33.02 31.91 37.06 36.01 44.68 42.09 18.48 14.74 42.52 13.67 59.32-1.8 3.68-3.39 3.69-3.64.14-7.24-10.59-10.73-21.19-21.44-31.77-32.18-1.32-1.34-3.03-2.48-.8-4.69 10.79-10.71 21.48-21.52 32.21-32.29.26-.26.65-.38 1.91-1.07 12.37 12.87 24.92 25.92 37.25 38.75 21.01-20.73 41.24-40.68 61.25-60.42 13.68 13.4 27.13 26.58 40.86 40.03-20.17 20.86-81.68 82.71-100.5 101.5zM256 0L0 256l256 256 256-256L256 0zM16 256L256 16l240 240-240 240L16 256z"]
  105492. };
  105493. var faRust = {
  105494. prefix: 'fab',
  105495. iconName: 'rust',
  105496. icon: [512, 512, [], "e07a", "M508.52,249.75,486.7,236.24c-.17-2-.34-3.93-.55-5.88l18.72-17.5a7.35,7.35,0,0,0-2.44-12.25l-24-9c-.54-1.88-1.08-3.78-1.67-5.64l15-20.83a7.35,7.35,0,0,0-4.79-11.54l-25.42-4.15c-.9-1.73-1.79-3.45-2.73-5.15l10.68-23.42a7.35,7.35,0,0,0-6.95-10.39l-25.82.91q-1.79-2.22-3.61-4.4L439,81.84A7.36,7.36,0,0,0,430.16,73L405,78.93q-2.17-1.83-4.4-3.61l.91-25.82a7.35,7.35,0,0,0-10.39-7L367.7,53.23c-1.7-.94-3.43-1.84-5.15-2.73L358.4,25.08a7.35,7.35,0,0,0-11.54-4.79L326,35.26c-1.86-.59-3.75-1.13-5.64-1.67l-9-24a7.35,7.35,0,0,0-12.25-2.44l-17.5,18.72c-1.95-.21-3.91-.38-5.88-.55L262.25,3.48a7.35,7.35,0,0,0-12.5,0L236.24,25.3c-2,.17-3.93.34-5.88.55L212.86,7.13a7.35,7.35,0,0,0-12.25,2.44l-9,24c-1.89.55-3.79,1.08-5.66,1.68l-20.82-15a7.35,7.35,0,0,0-11.54,4.79l-4.15,25.41c-1.73.9-3.45,1.79-5.16,2.73L120.88,42.55a7.35,7.35,0,0,0-10.39,7l.92,25.81c-1.49,1.19-3,2.39-4.42,3.61L81.84,73A7.36,7.36,0,0,0,73,81.84L78.93,107c-1.23,1.45-2.43,2.93-3.62,4.41l-25.81-.91a7.42,7.42,0,0,0-6.37,3.26,7.35,7.35,0,0,0-.57,7.13l10.66,23.41c-.94,1.7-1.83,3.43-2.73,5.16L25.08,153.6a7.35,7.35,0,0,0-4.79,11.54l15,20.82c-.59,1.87-1.13,3.77-1.68,5.66l-24,9a7.35,7.35,0,0,0-2.44,12.25l18.72,17.5c-.21,1.95-.38,3.91-.55,5.88L3.48,249.75a7.35,7.35,0,0,0,0,12.5L25.3,275.76c.17,2,.34,3.92.55,5.87L7.13,299.13a7.35,7.35,0,0,0,2.44,12.25l24,9c.55,1.89,1.08,3.78,1.68,5.65l-15,20.83a7.35,7.35,0,0,0,4.79,11.54l25.42,4.15c.9,1.72,1.79,3.45,2.73,5.14L42.56,391.12a7.35,7.35,0,0,0,.57,7.13,7.13,7.13,0,0,0,6.37,3.26l25.83-.91q1.77,2.22,3.6,4.4L73,430.16A7.36,7.36,0,0,0,81.84,439L107,433.07q2.18,1.83,4.41,3.61l-.92,25.82a7.35,7.35,0,0,0,10.39,6.95l23.43-10.68c1.69.94,3.42,1.83,5.14,2.73l4.15,25.42a7.34,7.34,0,0,0,11.54,4.78l20.83-15c1.86.6,3.76,1.13,5.65,1.68l9,24a7.36,7.36,0,0,0,12.25,2.44l17.5-18.72c1.95.21,3.92.38,5.88.55l13.51,21.82a7.35,7.35,0,0,0,12.5,0l13.51-21.82c2-.17,3.93-.34,5.88-.56l17.5,18.73a7.36,7.36,0,0,0,12.25-2.44l9-24c1.89-.55,3.78-1.08,5.65-1.68l20.82,15a7.34,7.34,0,0,0,11.54-4.78l4.15-25.42c1.72-.9,3.45-1.79,5.15-2.73l23.42,10.68a7.35,7.35,0,0,0,10.39-6.95l-.91-25.82q2.22-1.79,4.4-3.61L430.16,439a7.36,7.36,0,0,0,8.84-8.84L433.07,405q1.83-2.17,3.61-4.4l25.82.91a7.23,7.23,0,0,0,6.37-3.26,7.35,7.35,0,0,0,.58-7.13L458.77,367.7c.94-1.7,1.83-3.43,2.73-5.15l25.42-4.15a7.35,7.35,0,0,0,4.79-11.54l-15-20.83c.59-1.87,1.13-3.76,1.67-5.65l24-9a7.35,7.35,0,0,0,2.44-12.25l-18.72-17.5c.21-1.95.38-3.91.55-5.87l21.82-13.51a7.35,7.35,0,0,0,0-12.5Zm-151,129.08A13.91,13.91,0,0,0,341,389.51l-7.64,35.67A187.51,187.51,0,0,1,177,424.44l-7.64-35.66a13.87,13.87,0,0,0-16.46-10.68l-31.51,6.76a187.38,187.38,0,0,1-16.26-19.21H258.3c1.72,0,2.89-.29,2.89-1.91V309.55c0-1.57-1.17-1.91-2.89-1.91H213.47l.05-34.35H262c4.41,0,23.66,1.28,29.79,25.87,1.91,7.55,6.17,32.14,9.06,40,2.89,8.82,14.6,26.46,27.1,26.46H407a187.3,187.3,0,0,1-17.34,20.09Zm25.77,34.49A15.24,15.24,0,1,1,368,398.08h.44A15.23,15.23,0,0,1,383.24,413.32Zm-225.62-.68a15.24,15.24,0,1,1-15.25-15.25h.45A15.25,15.25,0,0,1,157.62,412.64ZM69.57,234.15l32.83-14.6a13.88,13.88,0,0,0,7.06-18.33L102.69,186h26.56V305.73H75.65A187.65,187.65,0,0,1,69.57,234.15ZM58.31,198.09a15.24,15.24,0,0,1,15.23-15.25H74a15.24,15.24,0,1,1-15.67,15.24Zm155.16,24.49.05-35.32h63.26c3.28,0,23.07,3.77,23.07,18.62,0,12.29-15.19,16.7-27.68,16.7ZM399,306.71c-9.8,1.13-20.63-4.12-22-10.09-5.78-32.49-15.39-39.4-30.57-51.4,18.86-11.95,38.46-29.64,38.46-53.26,0-25.52-17.49-41.59-29.4-49.48-16.76-11-35.28-13.23-40.27-13.23H116.32A187.49,187.49,0,0,1,221.21,70.06l23.47,24.6a13.82,13.82,0,0,0,19.6.44l26.26-25a187.51,187.51,0,0,1,128.37,91.43l-18,40.57A14,14,0,0,0,408,220.43l34.59,15.33a187.12,187.12,0,0,1,.4,32.54H423.71c-1.91,0-2.69,1.27-2.69,3.13v8.82C421,301,409.31,305.58,399,306.71ZM240,60.21A15.24,15.24,0,0,1,255.21,45h.45A15.24,15.24,0,1,1,240,60.21ZM436.84,214a15.24,15.24,0,1,1,0-30.48h.44a15.24,15.24,0,0,1-.44,30.48Z"]
  105497. };
  105498. var faWix = {
  105499. prefix: 'fab',
  105500. iconName: 'wix',
  105501. icon: [640, 512, [], "f5cf", "M393.38 131.69c0 13.03 2.08 32.69-28.68 43.83-9.52 3.45-15.95 9.66-15.95 9.66 0-31 4.72-42.22 17.4-48.86 9.75-5.11 27.23-4.63 27.23-4.63zm-115.8 35.54l-34.24 132.66-28.48-108.57c-7.69-31.99-20.81-48.53-48.43-48.53-27.37 0-40.66 16.18-48.43 48.53L89.52 299.89 55.28 167.23C49.73 140.51 23.86 128.96 0 131.96l65.57 247.93s21.63 1.56 32.46-3.96c14.22-7.25 20.98-12.84 29.59-46.57 7.67-30.07 29.11-118.41 31.12-124.7 4.76-14.94 11.09-13.81 15.4 0 1.97 6.3 23.45 94.63 31.12 124.7 8.6 33.73 15.37 39.32 29.59 46.57 10.82 5.52 32.46 3.96 32.46 3.96l65.57-247.93c-24.42-3.07-49.82 8.93-55.3 35.27zm115.78 5.21s-4.1 6.34-13.46 11.57c-6.01 3.36-11.78 5.64-17.97 8.61-15.14 7.26-13.18 13.95-13.18 35.2v152.07s16.55 2.09 27.37-3.43c13.93-7.1 17.13-13.95 17.26-44.78V181.41l-.02.01v-8.98zm163.44 84.08L640 132.78s-35.11-5.98-52.5 9.85c-13.3 12.1-24.41 29.55-54.18 72.47-.47.73-6.25 10.54-13.07 0-29.29-42.23-40.8-60.29-54.18-72.47-17.39-15.83-52.5-9.85-52.5-9.85l83.2 123.74-82.97 123.36s36.57 4.62 53.95-11.21c11.49-10.46 17.58-20.37 52.51-70.72 6.81-10.52 12.57-.77 13.07 0 29.4 42.38 39.23 58.06 53.14 70.72 17.39 15.83 53.32 11.21 53.32 11.21L556.8 256.52z"]
  105502. };
  105503. var faSquareBehance = {
  105504. prefix: 'fab',
  105505. iconName: 'square-behance',
  105506. icon: [448, 512, ["behance-square"], "f1b5", "M186.5 293c0 19.3-14 25.4-31.2 25.4h-45.1v-52.9h46c18.6.1 30.3 7.8 30.3 27.5zm-7.7-82.3c0-17.7-13.7-21.9-28.9-21.9h-39.6v44.8H153c15.1 0 25.8-6.6 25.8-22.9zm132.3 23.2c-18.3 0-30.5 11.4-31.7 29.7h62.2c-1.7-18.5-11.3-29.7-30.5-29.7zM448 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 48zM271.7 185h77.8v-18.9h-77.8V185zm-43 110.3c0-24.1-11.4-44.9-35-51.6 17.2-8.2 26.2-17.7 26.2-37 0-38.2-28.5-47.5-61.4-47.5H68v192h93.1c34.9-.2 67.6-16.9 67.6-55.9zM380 280.5c0-41.1-24.1-75.4-67.6-75.4-42.4 0-71.1 31.8-71.1 73.6 0 43.3 27.3 73 71.1 73 33.2 0 54.7-14.9 65.1-46.8h-33.7c-3.7 11.9-18.6 18.1-30.2 18.1-22.4 0-34.1-13.1-34.1-35.3h100.2c.1-2.3.3-4.8.3-7.2z"]
  105507. };
  105508. var faBehanceSquare = faSquareBehance;
  105509. var faSupple = {
  105510. prefix: 'fab',
  105511. iconName: 'supple',
  105512. icon: [640, 512, [], "f3f9", "M640 262.5c0 64.1-109 116.1-243.5 116.1-24.8 0-48.6-1.8-71.1-5 7.7.4 15.5.6 23.4.6 134.5 0 243.5-56.9 243.5-127.1 0-29.4-19.1-56.4-51.2-78 60 21.1 98.9 55.1 98.9 93.4zM47.7 227.9c-.1-70.2 108.8-127.3 243.3-127.6 7.9 0 15.6.2 23.3.5-22.5-3.2-46.3-4.9-71-4.9C108.8 96.3-.1 148.5 0 212.6c.1 38.3 39.1 72.3 99.3 93.3-32.3-21.5-51.5-48.6-51.6-78zm60.2 39.9s10.5 13.2 29.3 13.2c17.9 0 28.4-11.5 28.4-25.1 0-28-40.2-25.1-40.2-39.7 0-5.4 5.3-9.1 12.5-9.1 5.7 0 11.3 2.6 11.3 6.6v3.9h14.2v-7.9c0-12.1-15.4-16.8-25.4-16.8-16.5 0-28.5 10.2-28.5 24.1 0 26.6 40.2 25.4 40.2 39.9 0 6.6-5.8 10.1-12.3 10.1-11.9 0-20.7-10.1-20.7-10.1l-8.8 10.9zm120.8-73.6v54.4c0 11.3-7.1 17.8-17.8 17.8-10.7 0-17.8-6.5-17.8-17.7v-54.5h-15.8v55c0 18.9 13.4 31.9 33.7 31.9 20.1 0 33.4-13 33.4-31.9v-55h-15.7zm34.4 85.4h15.8v-29.5h15.5c16 0 27.2-11.5 27.2-28.1s-11.2-27.8-27.2-27.8h-39.1v13.4h7.8v72zm15.8-43v-29.1h12.9c8.7 0 13.7 5.7 13.7 14.4 0 8.9-5.1 14.7-14 14.7h-12.6zm57 43h15.8v-29.5h15.5c16 0 27.2-11.5 27.2-28.1s-11.2-27.8-27.2-27.8h-39.1v13.4h7.8v72zm15.7-43v-29.1h12.9c8.7 0 13.7 5.7 13.7 14.4 0 8.9-5 14.7-14 14.7h-12.6zm57.1 34.8c0 5.8 2.4 8.2 8.2 8.2h37.6c5.8 0 8.2-2.4 8.2-8.2v-13h-14.3v5.2c0 1.7-1 2.6-2.6 2.6h-18.6c-1.7 0-2.6-1-2.6-2.6v-61.2c0-5.7-2.4-8.2-8.2-8.2H401v13.4h5.2c1.7 0 2.6 1 2.6 2.6v61.2zm63.4 0c0 5.8 2.4 8.2 8.2 8.2H519c5.7 0 8.2-2.4 8.2-8.2v-13h-14.3v5.2c0 1.7-1 2.6-2.6 2.6h-19.7c-1.7 0-2.6-1-2.6-2.6v-20.3h27.7v-13.4H488v-22.4h19.2c1.7 0 2.6 1 2.6 2.6v5.2H524v-13c0-5.7-2.5-8.2-8.2-8.2h-51.6v13.4h7.8v63.9zm58.9-76v5.9h1.6v-5.9h2.7v-1.2h-7v1.2h2.7zm5.7-1.2v7.1h1.5v-5.7l2.3 5.7h1.3l2.3-5.7v5.7h1.5v-7.1h-2.3l-2.1 5.1-2.1-5.1h-2.4z"]
  105513. };
  105514. var faRebel = {
  105515. prefix: 'fab',
  105516. iconName: 'rebel',
  105517. icon: [512, 512, [], "f1d0", "M256.5 504C117.2 504 9 387.8 13.2 249.9 16 170.7 56.4 97.7 129.7 49.5c.3 0 1.9-.6 1.1.8-5.8 5.5-111.3 129.8-14.1 226.4 49.8 49.5 90 2.5 90 2.5 38.5-50.1-.6-125.9-.6-125.9-10-24.9-45.7-40.1-45.7-40.1l28.8-31.8c24.4 10.5 43.2 38.7 43.2 38.7.8-29.6-21.9-61.4-21.9-61.4L255.1 8l44.3 50.1c-20.5 28.8-21.9 62.6-21.9 62.6 13.8-23 43.5-39.3 43.5-39.3l28.5 31.8c-27.4 8.9-45.4 39.9-45.4 39.9-15.8 28.5-27.1 89.4.6 127.3 32.4 44.6 87.7-2.8 87.7-2.8 102.7-91.9-10.5-225-10.5-225-6.1-5.5.8-2.8.8-2.8 50.1 36.5 114.6 84.4 116.2 204.8C500.9 400.2 399 504 256.5 504z"]
  105518. };
  105519. var faCss3 = {
  105520. prefix: 'fab',
  105521. iconName: 'css3',
  105522. icon: [512, 512, [], "f13c", "M480 32l-64 368-223.3 80L0 400l19.6-94.8h82l-8 40.6L210 390.2l134.1-44.4 18.8-97.1H29.5l16-82h333.7l10.5-52.7H56.3l16.3-82H480z"]
  105523. };
  105524. var faStaylinked = {
  105525. prefix: 'fab',
  105526. iconName: 'staylinked',
  105527. icon: [440, 512, [], "f3f5", "M382.7 292.5l2.7 2.7-170-167.3c-3.5-3.5-9.7-3.7-13.8-.5L144.3 171c-4.2 3.2-4.6 8.7-1.1 12.2l68.1 64.3c3.6 3.5 9.9 3.7 14 .5l.1-.1c4.1-3.2 10.4-3 14 .5l84 81.3c3.6 3.5 3.2 9-.9 12.2l-93.2 74c-4.2 3.3-10.5 3.1-14.2-.4L63.2 268c-3.5-3.5-9.7-3.7-13.9-.5L3.5 302.4c-4.2 3.2-4.7 8.7-1.2 12.2L211 510.7s7.4 6.8 17.3-.8l198-163.9c4-3.2 4.4-8.7.7-12.2zm54.5-83.4L226.7 2.5c-1.5-1.2-8-5.5-16.3 1.1L3.6 165.7c-4.2 3.2-4.8 8.7-1.2 12.2l42.3 41.7 171.7 165.1c3.7 3.5 10.1 3.7 14.3.4l50.2-38.8-.3-.3 7.7-6c4.2-3.2 4.6-8.7.9-12.2l-57.1-54.4c-3.6-3.5-10-3.7-14.2-.5l-.1.1c-4.2 3.2-10.5 3.1-14.2-.4L109 180.8c-3.6-3.5-3.1-8.9 1.1-12.2l92.2-71.5c4.1-3.2 10.3-3 13.9.5l160.4 159c3.7 3.5 10 3.7 14.1.5l45.8-35.8c4.1-3.2 4.4-8.7.7-12.2z"]
  105528. };
  105529. var faKaggle = {
  105530. prefix: 'fab',
  105531. iconName: 'kaggle',
  105532. icon: [320, 512, [], "f5fa", "M304.2 501.5L158.4 320.3 298.2 185c2.6-2.7 1.7-10.5-5.3-10.5h-69.2c-3.5 0-7 1.8-10.5 5.3L80.9 313.5V7.5q0-7.5-7.5-7.5H21.5Q14 0 14 7.5v497q0 7.5 7.5 7.5h51.9q7.5 0 7.5-7.5v-109l30.8-29.3 110.5 140.6c3 3.5 6.5 5.3 10.5 5.3h66.9q5.25 0 6-3z"]
  105533. };
  105534. var faSpaceAwesome = {
  105535. prefix: 'fab',
  105536. iconName: 'space-awesome',
  105537. icon: [512, 512, [], "e5ac", "M96 256H128V512H0V352H32V320H64V288H96V256zM512 352V512H384V256H416V288H448V320H480V352H512zM320 64H352V448H320V416H192V448H160V64H192V32H224V0H288V32H320V64zM288 128H224V192H288V128z"]
  105538. };
  105539. var faDeviantart = {
  105540. prefix: 'fab',
  105541. iconName: 'deviantart',
  105542. icon: [320, 512, [], "f1bd", "M320 93.2l-98.2 179.1 7.4 9.5H320v127.7H159.1l-13.5 9.2-43.7 84c-.3 0-8.6 8.6-9.2 9.2H0v-93.2l93.2-179.4-7.4-9.2H0V102.5h156l13.5-9.2 43.7-84c.3 0 8.6-8.6 9.2-9.2H320v93.1z"]
  105543. };
  105544. var faCpanel = {
  105545. prefix: 'fab',
  105546. iconName: 'cpanel',
  105547. icon: [640, 512, [], "f388", "M210.3 220.2c-5.6-24.8-26.9-41.2-51-41.2h-37c-7.1 0-12.5 4.5-14.3 10.9L73.1 320l24.7-.1c6.8 0 12.3-4.5 14.2-10.7l25.8-95.7h19.8c8.4 0 16.2 5.6 18.3 14.8 2.5 10.9-5.9 22.6-18.3 22.6h-10.3c-7 0-12.5 4.6-14.3 10.8l-6.4 23.8h32c37.2 0 58.3-36.2 51.7-65.3zm-156.5 28h18.6c6.9 0 12.4-4.4 14.3-10.9l6.2-23.6h-40C30 213.7 9 227.8 1.7 254.8-7 288.6 18.5 320 52 320h12.4l7.1-26.1c1.2-4.4-2.2-8.3-6.4-8.3H53.8c-24.7 0-24.9-37.4 0-37.4zm247.5-34.8h-77.9l-3.5 13.4c-2.4 9.6 4.5 18.5 14.2 18.5h57.5c4 0 2.4 4.3 2.1 5.3l-8.6 31.8c-.4 1.4-.9 5.3-5.5 5.3h-34.9c-5.3 0-5.3-7.9 0-7.9h21.6c6.8 0 12.3-4.6 14.2-10.8l3.5-13.2h-48.4c-39.2 0-43.6 63.8-.7 63.8l57.5.2c11.2 0 20.6-7.2 23.4-17.8l14-51.8c4.8-19.2-9.7-36.8-28.5-36.8zM633.1 179h-18.9c-4.9 0-9.2 3.2-10.4 7.9L568.2 320c20.7 0 39.8-13.8 44.9-34.5l26.5-98.2c1.2-4.3-2-8.3-6.5-8.3zm-236.3 34.7v.1h-48.3l-26.2 98c-1.2 4.4 2.2 8.3 6.4 8.3h18.9c4.8 0 9.2-3 10.4-7.8l17.2-64H395c12.5 0 21.4 11.8 18.1 23.4l-10.6 40c-1.2 4.3 1.9 8.3 6.4 8.3H428c4.6 0 9.1-2.9 10.3-7.8l8.8-33.1c9-33.1-15.9-65.4-50.3-65.4zm98.3 74.6c-3.6 0-6-3.4-5.1-6.7l8-30c.9-3.9 3.7-6 7.8-6h32.9c2.6 0 4.6 2.4 3.9 5.1l-.7 2.6c-.6 2-1.9 3-3.9 3h-21.6c-7 0-12.6 4.6-14.2 10.8l-3.5 13h53.4c10.5 0 20.3-6.6 23.2-17.6l3.2-12c4.9-19.1-9.3-36.8-28.3-36.8h-47.3c-17.9 0-33.8 12-38.6 29.6l-10.8 40c-5 17.7 8.3 36.7 28.3 36.7h66.7c6.8 0 12.3-4.5 14.2-10.7l5.7-21z"]
  105548. };
  105549. var faGoodreadsG = {
  105550. prefix: 'fab',
  105551. iconName: 'goodreads-g',
  105552. icon: [384, 512, [], "f3a9", "M42.6 403.3h2.8c12.7 0 25.5 0 38.2.1 1.6 0 3.1-.4 3.6 2.1 7.1 34.9 30 54.6 62.9 63.9 26.9 7.6 54.1 7.8 81.3 1.8 33.8-7.4 56-28.3 68-60.4 8-21.5 10.7-43.8 11-66.5.1-5.8.3-47-.2-52.8l-.9-.3c-.8 1.5-1.7 2.9-2.5 4.4-22.1 43.1-61.3 67.4-105.4 69.1-103 4-169.4-57-172-176.2-.5-23.7 1.8-46.9 8.3-69.7C58.3 47.7 112.3.6 191.6 0c61.3-.4 101.5 38.7 116.2 70.3.5 1.1 1.3 2.3 2.4 1.9V10.6h44.3c0 280.3.1 332.2.1 332.2-.1 78.5-26.7 143.7-103 162.2-69.5 16.9-159 4.8-196-57.2-8-13.5-11.8-28.3-13-44.5zM188.9 36.5c-52.5-.5-108.5 40.7-115 133.8-4.1 59 14.8 122.2 71.5 148.6 27.6 12.9 74.3 15 108.3-8.7 47.6-33.2 62.7-97 54.8-154-9.7-71.1-47.8-120-119.6-119.7z"]
  105553. };
  105554. var faSquareGit = {
  105555. prefix: 'fab',
  105556. iconName: 'square-git',
  105557. icon: [448, 512, ["git-square"], "f1d2", "M100.59 334.24c48.57 3.31 58.95 2.11 58.95 11.94 0 20-65.55 20.06-65.55 1.52.01-5.09 3.29-9.4 6.6-13.46zm27.95-116.64c-32.29 0-33.75 44.47-.75 44.47 32.51 0 31.71-44.47.75-44.47zM448 80v352a48 48 0 0 1-48 48H48a48 48 0 0 1-48-48V80a48 48 0 0 1 48-48h352a48 48 0 0 1 48 48zm-227 69.31c0 14.49 8.38 22.88 22.86 22.88 14.74 0 23.13-8.39 23.13-22.88S258.62 127 243.88 127c-14.48 0-22.88 7.84-22.88 22.31zM199.18 195h-49.55c-25-6.55-81.56-4.85-81.56 46.75 0 18.8 9.4 32 21.85 38.11C74.23 294.23 66.8 301 66.8 310.6c0 6.87 2.79 13.22 11.18 16.76-8.9 8.4-14 14.48-14 25.92C64 373.35 81.53 385 127.52 385c44.22 0 69.87-16.51 69.87-45.73 0-36.67-28.23-35.32-94.77-39.38l8.38-13.43c17 4.74 74.19 6.23 74.19-42.43 0-11.69-4.83-19.82-9.4-25.67l23.38-1.78zm84.34 109.84l-13-1.78c-3.82-.51-4.07-1-4.07-5.09V192.52h-52.6l-2.79 20.57c15.75 5.55 17 4.86 17 10.17V298c0 5.62-.31 4.58-17 6.87v20.06h72.42zM384 315l-6.87-22.37c-40.93 15.37-37.85-12.41-37.85-16.73v-60.72h37.85v-25.41h-35.82c-2.87 0-2 2.52-2-38.63h-24.18c-2.79 27.7-11.68 38.88-34 41.42v22.62c20.47 0 19.82-.85 19.82 2.54v66.57c0 28.72 11.43 40.91 41.67 40.91 14.45 0 30.45-4.83 41.38-10.2z"]
  105558. };
  105559. var faGitSquare = faSquareGit;
  105560. var faSquareTumblr = {
  105561. prefix: 'fab',
  105562. iconName: 'square-tumblr',
  105563. icon: [448, 512, ["tumblr-square"], "f174", "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-82.3 364.2c-8.5 9.1-31.2 19.8-60.9 19.8-75.5 0-91.9-55.5-91.9-87.9v-90h-29.7c-3.4 0-6.2-2.8-6.2-6.2v-42.5c0-4.5 2.8-8.5 7.1-10 38.8-13.7 50.9-47.5 52.7-73.2.5-6.9 4.1-10.2 10-10.2h44.3c3.4 0 6.2 2.8 6.2 6.2v72h51.9c3.4 0 6.2 2.8 6.2 6.2v51.1c0 3.4-2.8 6.2-6.2 6.2h-52.1V321c0 21.4 14.8 33.5 42.5 22.4 3-1.2 5.6-2 8-1.4 2.2.5 3.6 2.1 4.6 4.9l13.8 40.2c1 3.2 2 6.7-.3 9.1z"]
  105564. };
  105565. var faTumblrSquare = faSquareTumblr;
  105566. var faTrello = {
  105567. prefix: 'fab',
  105568. iconName: 'trello',
  105569. icon: [448, 512, [], "f181", "M392.3 32H56.1C25.1 32 0 57.1 0 88c-.1 0 0-4 0 336 0 30.9 25.1 56 56 56h336.2c30.8-.2 55.7-25.2 55.7-56V88c.1-30.8-24.8-55.8-55.6-56zM197 371.3c-.2 14.7-12.1 26.6-26.9 26.6H87.4c-14.8.1-26.9-11.8-27-26.6V117.1c0-14.8 12-26.9 26.9-26.9h82.9c14.8 0 26.9 12 26.9 26.9v254.2zm193.1-112c0 14.8-12 26.9-26.9 26.9h-81c-14.8 0-26.9-12-26.9-26.9V117.2c0-14.8 12-26.9 26.8-26.9h81.1c14.8 0 26.9 12 26.9 26.9v142.1z"]
  105570. };
  105571. var faCreativeCommonsNcJp = {
  105572. prefix: 'fab',
  105573. iconName: 'creative-commons-nc-jp',
  105574. icon: [496, 512, [], "f4ea", "M247.7 8C103.6 8 0 124.8 0 256c0 136.4 111.8 248 247.7 248C377.9 504 496 403.2 496 256 496 117.2 388.5 8 247.7 8zm.6 450.7c-112 0-203.6-92.5-203.6-202.7 0-21.1 3-41.2 9-60.3l127 56.5h-27.9v38.6h58.1l5.7 11.8v18.7h-63.8V360h63.8v56h61.7v-56h64.2v-35.7l81 36.1c-1.5 2.2-57.1 98.3-175.2 98.3zm87.6-137.3h-57.6v-18.7l2.9-5.6 54.7 24.3zm6.5-51.4v-17.8h-38.6l63-116H301l-43.4 96-23-10.2-39.6-85.7h-65.8l27.3 51-81.9-36.5c27.8-44.1 82.6-98.1 173.7-98.1 112.8 0 203 90 203 203.4 0 21-2.7 40.6-7.9 59l-101-45.1z"]
  105575. };
  105576. var faGetPocket = {
  105577. prefix: 'fab',
  105578. iconName: 'get-pocket',
  105579. icon: [448, 512, [], "f265", "M407.6 64h-367C18.5 64 0 82.5 0 104.6v135.2C0 364.5 99.7 464 224.2 464c124 0 223.8-99.5 223.8-224.2V104.6c0-22.4-17.7-40.6-40.4-40.6zm-162 268.5c-12.4 11.8-31.4 11.1-42.4 0C89.5 223.6 88.3 227.4 88.3 209.3c0-16.9 13.8-30.7 30.7-30.7 17 0 16.1 3.8 105.2 89.3 90.6-86.9 88.6-89.3 105.5-89.3 16.9 0 30.7 13.8 30.7 30.7 0 17.8-2.9 15.7-114.8 123.2z"]
  105580. };
  105581. var faPerbyte = {
  105582. prefix: 'fab',
  105583. iconName: 'perbyte',
  105584. icon: [448, 512, [], "e083", "M305.314,284.578H246.6V383.3h58.711q24.423,0,38.193-13.77t13.77-36.11q0-21.826-14.032-35.335T305.314,284.578ZM149.435,128.7H90.724v98.723h58.711q24.42,0,38.19-13.773t13.77-36.107q0-21.826-14.029-35.338T149.435,128.7ZM366.647,32H81.353A81.445,81.445,0,0,0,0,113.352V398.647A81.445,81.445,0,0,0,81.353,480H366.647A81.445,81.445,0,0,0,448,398.647V113.352A81.445,81.445,0,0,0,366.647,32Zm63.635,366.647a63.706,63.706,0,0,1-63.635,63.635H81.353a63.706,63.706,0,0,1-63.635-63.635V113.352A63.706,63.706,0,0,1,81.353,49.718H366.647a63.706,63.706,0,0,1,63.635,63.634ZM305.314,128.7H246.6v98.723h58.711q24.423,0,38.193-13.773t13.77-36.107q0-21.826-14.032-35.338T305.314,128.7Z"]
  105585. };
  105586. var faGrunt = {
  105587. prefix: 'fab',
  105588. iconName: 'grunt',
  105589. icon: [384, 512, [], "f3ad", "M61.3 189.3c-1.1 10 5.2 19.1 5.2 19.1.7-7.5 2.2-12.8 4-16.6.4 10.3 3.2 23.5 12.8 34.1 6.9 7.6 35.6 23.3 54.9 6.1 1 2.4 2.1 5.3 3 8.5 2.9 10.3-2.7 25.3-2.7 25.3s15.1-17.1 13.9-32.5c10.8-.5 21.4-8.4 21.1-19.5 0 0-18.9 10.4-35.5-8.8-9.7-11.2-40.9-42-83.1-31.8 4.3 1 8.9 2.4 13.5 4.1h-.1c-4.2 2-6.5 7.1-7 12zm28.3-1.8c19.5 11 37.4 25.7 44.9 37-5.7 3.3-21.7 10.4-38-1.7-10.3-7.6-9.8-26.2-6.9-35.3zm142.1 45.8c-1.2 15.5 13.9 32.5 13.9 32.5s-5.6-15-2.7-25.3c.9-3.2 2-6 3-8.5 19.3 17.3 48 1.5 54.8-6.1 9.6-10.6 12.3-23.8 12.8-34.1 1.8 3.8 3.4 9.1 4 16.6 0 0 6.4-9.1 5.2-19.1-.6-5-2.9-10-7-11.8h-.1c4.6-1.8 9.2-3.2 13.5-4.1-42.3-10.2-73.4 20.6-83.1 31.8-16.7 19.2-35.5 8.8-35.5 8.8-.2 10.9 10.4 18.9 21.2 19.3zm62.7-45.8c3 9.1 3.4 27.7-7 35.4-16.3 12.1-32.2 5-37.9 1.6 7.5-11.4 25.4-26 44.9-37zM160 418.5h-29.4c-5.5 0-8.2 1.6-9.5 2.9-1.9 2-2.2 4.7-.9 8.1 3.5 9.1 11.4 16.5 13.7 18.6 3.1 2.7 7.5 4.3 11.8 4.3 4.4 0 8.3-1.7 11-4.6 7.5-8.2 11.9-17.1 13-19.8.6-1.5 1.3-4.5-.9-6.8-1.8-1.8-4.7-2.7-8.8-2.7zm189.2-101.2c-2.4 17.9-13 33.8-24.6 43.7-3.1-22.7-3.7-55.5-3.7-62.4 0-14.7 9.5-24.5 12.2-26.1 2.5-1.5 5.4-3 8.3-4.6 18-9.6 40.4-21.6 40.4-43.7 0-16.2-9.3-23.2-15.4-27.8-.8-.6-1.5-1.1-2.2-1.7-2.1-1.7-3.7-3-4.3-4.4-4.4-9.8-3.6-34.2-1.7-37.6.6-.6 16.7-20.9 11.8-39.2-2-7.4-6.9-13.3-14.1-17-5.3-2.7-11.9-4.2-19.5-4.5-.1-2-.5-3.9-.9-5.9-.6-2.6-1.1-5.3-.9-8.1.4-4.7.8-9 2.2-11.3 8.4-13.3 28.8-17.6 29-17.6l12.3-2.4-8.1-9.5c-.1-.2-17.3-17.5-46.3-17.5-7.9 0-16 1.3-24.1 3.9-24.2 7.8-42.9 30.5-49.4 39.3-3.1-1-6.3-1.9-9.6-2.7-4.2-15.8 9-38.5 9-38.5s-13.6-3-33.7 15.2c-2.6-6.5-8.1-20.5-1.8-37.2C184.6 10.1 177.2 26 175 40.4c-7.6-5.4-6.7-23.1-7.2-27.6-7.5.9-29.2 21.9-28.2 48.3-2 .5-3.9 1.1-5.9 1.7-6.5-8.8-25.1-31.5-49.4-39.3-7.9-2.2-16-3.5-23.9-3.5-29 0-46.1 17.3-46.3 17.5L6 46.9l12.3 2.4c.2 0 20.6 4.3 29 17.6 1.4 2.2 1.8 6.6 2.2 11.3.2 2.8-.4 5.5-.9 8.1-.4 1.9-.8 3.9-.9 5.9-7.7.3-14.2 1.8-19.5 4.5-7.2 3.7-12.1 9.6-14.1 17-5 18.2 11.2 38.5 11.8 39.2 1.9 3.4 2.7 27.8-1.7 37.6-.6 1.4-2.2 2.7-4.3 4.4-.7.5-1.4 1.1-2.2 1.7-6.1 4.6-15.4 11.7-15.4 27.8 0 22.1 22.4 34.1 40.4 43.7 3 1.6 5.8 3.1 8.3 4.6 2.7 1.6 12.2 11.4 12.2 26.1 0 6.9-.6 39.7-3.7 62.4-11.6-9.9-22.2-25.9-24.6-43.8 0 0-29.2 22.6-20.6 70.8 5.2 29.5 23.2 46.1 47 54.7 8.8 19.1 29.4 45.7 67.3 49.6C143 504.3 163 512 192.2 512h.2c29.1 0 49.1-7.7 63.6-19.5 37.9-3.9 58.5-30.5 67.3-49.6 23.8-8.7 41.7-25.2 47-54.7 8.2-48.4-21.1-70.9-21.1-70.9zM305.7 37.7c5.6-1.8 11.6-2.7 17.7-2.7 11 0 19.9 3 24.7 5-3.1 1.4-6.4 3.2-9.7 5.3-2.4-.4-5.6-.8-9.2-.8-10.5 0-20.5 3.1-28.7 8.9-12.3 8.7-18 16.9-20.7 22.4-2.2-1.3-4.5-2.5-7.1-3.7-1.6-.8-3.1-1.5-4.7-2.2 6.1-9.1 19.9-26.5 37.7-32.2zm21 18.2c-.8 1-1.6 2.1-2.3 3.2-3.3 5.2-3.9 11.6-4.4 17.8-.5 6.4-1.1 12.5-4.4 17-4.2.8-8.1 1.7-11.5 2.7-2.3-3.1-5.6-7-10.5-11.2 1.4-4.8 5.5-16.1 13.5-22.5 5.6-4.3 12.2-6.7 19.6-7zM45.6 45.3c-3.3-2.2-6.6-4-9.7-5.3 4.8-2 13.7-5 24.7-5 6.1 0 12 .9 17.7 2.7 17.8 5.8 31.6 23.2 37.7 32.1-1.6.7-3.2 1.4-4.8 2.2-2.5 1.2-4.9 2.5-7.1 3.7-2.6-5.4-8.3-13.7-20.7-22.4-8.3-5.8-18.2-8.9-28.8-8.9-3.4.1-6.6.5-9 .9zm44.7 40.1c-4.9 4.2-8.3 8-10.5 11.2-3.4-.9-7.3-1.9-11.5-2.7C65 89.5 64.5 83.4 64 77c-.5-6.2-1.1-12.6-4.4-17.8-.7-1.1-1.5-2.2-2.3-3.2 7.4.3 14 2.6 19.5 7 8 6.3 12.1 17.6 13.5 22.4zM58.1 259.9c-2.7-1.6-5.6-3.1-8.4-4.6-14.9-8-30.2-16.3-30.2-30.5 0-11.1 4.3-14.6 8.9-18.2l.5-.4c.7-.6 1.4-1.2 2.2-1.8-.9 7.2-1.9 13.3-2.7 14.9 0 0 12.1-15 15.7-44.3 1.4-11.5-1.1-34.3-5.1-43 .2 4.9 0 9.8-.3 14.4-.4-.8-.8-1.6-1.3-2.2-3.2-4-11.8-17.5-9.4-26.6.9-3.5 3.1-6 6.7-7.8 3.8-1.9 8.8-2.9 15.1-2.9 12.3 0 25.9 3.7 32.9 6 25.1 8 55.4 30.9 64.1 37.7.2.2.4.3.4.3l5.6 3.9-3.5-5.8c-.2-.3-19.1-31.4-53.2-46.5 2-2.9 7.4-8.1 21.6-15.1 21.4-10.5 46.5-15.8 74.3-15.8 27.9 0 52.9 5.3 74.3 15.8 14.2 6.9 19.6 12.2 21.6 15.1-34 15.1-52.9 46.2-53.1 46.5l-3.5 5.8 5.6-3.9s.2-.1.4-.3c8.7-6.8 39-29.8 64.1-37.7 7-2.2 20.6-6 32.9-6 6.3 0 11.3 1 15.1 2.9 3.5 1.8 5.7 4.4 6.7 7.8 2.5 9.1-6.1 22.6-9.4 26.6-.5.6-.9 1.3-1.3 2.2-.3-4.6-.5-9.5-.3-14.4-4 8.8-6.5 31.5-5.1 43 3.6 29.3 15.7 44.3 15.7 44.3-.8-1.6-1.8-7.7-2.7-14.9.7.6 1.5 1.2 2.2 1.8l.5.4c4.6 3.7 8.9 7.1 8.9 18.2 0 14.2-15.4 22.5-30.2 30.5-2.9 1.5-5.7 3.1-8.4 4.6-8.7 5-18 16.7-19.1 34.2-.9 14.6.9 49.9 3.4 75.9-12.4 4.8-26.7 6.4-39.7 6.8-2-4.1-3.9-8.5-5.5-13.1-.7-2-19.6-51.1-26.4-62.2 5.5 39 17.5 73.7 23.5 89.6-3.5-.5-7.3-.7-11.7-.7h-117c-4.4 0-8.3.3-11.7.7 6-15.9 18.1-50.6 23.5-89.6-6.8 11.2-25.7 60.3-26.4 62.2-1.6 4.6-3.5 9-5.5 13.1-13-.4-27.2-2-39.7-6.8 2.5-26 4.3-61.2 3.4-75.9-.9-17.4-10.3-29.2-19-34.2zM34.8 404.6c-12.1-20-8.7-54.1-3.7-59.1 10.9 34.4 47.2 44.3 74.4 45.4-2.7 4.2-5.2 7.6-7 10l-1.4 1.4c-7.2 7.8-8.6 18.5-4.1 31.8-22.7-.1-46.3-9.8-58.2-29.5zm45.7 43.5c6 1.1 12.2 1.9 18.6 2.4 3.5 8 7.4 15.9 12.3 23.1-14.4-5.9-24.4-16-30.9-25.5zM192 498.2c-60.6-.1-78.3-45.8-84.9-64.7-3.7-10.5-3.4-18.2.9-23.1 2.9-3.3 9.5-7.2 24.6-7.2h118.8c15.1 0 21.8 3.9 24.6 7.2 4.2 4.8 4.5 12.6.9 23.1-6.6 18.8-24.3 64.6-84.9 64.7zm80.6-24.6c4.9-7.2 8.8-15.1 12.3-23.1 6.4-.5 12.6-1.3 18.6-2.4-6.5 9.5-16.5 19.6-30.9 25.5zm76.6-69c-12 19.7-35.6 29.3-58.1 29.7 4.5-13.3 3.1-24.1-4.1-31.8-.4-.5-.9-1-1.4-1.5-1.8-2.4-4.3-5.8-7-10 27.2-1.2 63.5-11 74.4-45.4 5 5 8.4 39.1-3.8 59zM191.9 187.7h.2c12.7-.1 27.2-17.8 27.2-17.8-9.9 6-18.8 8.1-27.3 8.3-8.5-.2-17.4-2.3-27.3-8.3 0 0 14.5 17.6 27.2 17.8zm61.7 230.7h-29.4c-4.2 0-7.2.9-8.9 2.7-2.2 2.3-1.5 5.2-.9 6.7 1 2.6 5.5 11.3 13 19.3 2.7 2.9 6.6 4.5 11 4.5s8.7-1.6 11.8-4.2c2.3-2 10.2-9.2 13.7-18.1 1.3-3.3 1-6-.9-7.9-1.3-1.3-4-2.9-9.4-3z"]
  105590. };
  105591. var faWeebly = {
  105592. prefix: 'fab',
  105593. iconName: 'weebly',
  105594. icon: [512, 512, [], "f5cc", "M425.09 65.83c-39.88 0-73.28 25.73-83.66 64.33-18.16-58.06-65.5-64.33-84.95-64.33-19.78 0-66.8 6.28-85.28 64.33-10.38-38.6-43.45-64.33-83.66-64.33C38.59 65.83 0 99.72 0 143.03c0 28.96 4.18 33.27 77.17 233.48 22.37 60.57 67.77 69.35 92.74 69.35 39.23 0 70.04-19.46 85.93-53.98 15.89 34.83 46.69 54.29 85.93 54.29 24.97 0 70.36-9.1 92.74-69.67 76.55-208.65 77.5-205.58 77.5-227.2.63-48.32-36.01-83.47-86.92-83.47zm26.34 114.81l-65.57 176.44c-7.92 21.49-21.22 37.22-46.24 37.22-23.44 0-37.38-12.41-44.03-33.9l-39.28-117.42h-.95L216.08 360.4c-6.96 21.5-20.9 33.6-44.02 33.6-25.02 0-38.33-15.74-46.24-37.22L60.88 181.55c-5.38-14.83-7.92-23.91-7.92-34.5 0-16.34 15.84-29.36 38.33-29.36 18.69 0 31.99 11.8 36.11 29.05l44.03 139.82h.95l44.66-136.79c6.02-19.67 16.47-32.08 38.96-32.08s32.94 12.11 38.96 32.08l44.66 136.79h.95l44.03-139.82c4.12-17.25 17.42-29.05 36.11-29.05 22.17 0 38.33 13.32 38.33 35.71-.32 7.87-4.12 16.04-7.61 27.24z"]
  105595. };
  105596. var faConnectdevelop = {
  105597. prefix: 'fab',
  105598. iconName: 'connectdevelop',
  105599. icon: [576, 512, [], "f20e", "M550.5 241l-50.089-86.786c1.071-2.142 1.875-4.553 1.875-7.232 0-8.036-6.696-14.733-14.732-15.001l-55.447-95.893c.536-1.607 1.071-3.214 1.071-4.821 0-8.571-6.964-15.268-15.268-15.268-4.821 0-8.839 2.143-11.786 5.625H299.518C296.839 18.143 292.821 16 288 16s-8.839 2.143-11.518 5.625H170.411C167.464 18.143 163.447 16 158.625 16c-8.303 0-15.268 6.696-15.268 15.268 0 1.607.536 3.482 1.072 4.821l-55.983 97.233c-5.356 2.41-9.107 7.5-9.107 13.661 0 .535.268 1.071.268 1.607l-53.304 92.143c-7.232 1.339-12.59 7.5-12.59 15 0 7.232 5.089 13.393 12.054 15l55.179 95.358c-.536 1.607-.804 2.946-.804 4.821 0 7.232 5.089 13.393 12.054 14.732l51.697 89.732c-.536 1.607-1.071 3.482-1.071 5.357 0 8.571 6.964 15.268 15.268 15.268 4.821 0 8.839-2.143 11.518-5.357h106.875C279.161 493.857 283.447 496 288 496s8.839-2.143 11.518-5.357h107.143c2.678 2.946 6.696 4.821 10.982 4.821 8.571 0 15.268-6.964 15.268-15.268 0-1.607-.267-2.946-.803-4.285l51.697-90.268c6.964-1.339 12.054-7.5 12.054-14.732 0-1.607-.268-3.214-.804-4.821l54.911-95.358c6.964-1.339 12.322-7.5 12.322-15-.002-7.232-5.092-13.393-11.788-14.732zM153.535 450.732l-43.66-75.803h43.66v75.803zm0-83.839h-43.66c-.268-1.071-.804-2.142-1.339-3.214l44.999-47.41v50.624zm0-62.411l-50.357 53.304c-1.339-.536-2.679-1.34-4.018-1.607L43.447 259.75c.535-1.339.535-2.679.535-4.018s0-2.41-.268-3.482l51.965-90c2.679-.268 5.357-1.072 7.768-2.679l50.089 51.965v92.946zm0-102.322l-45.803-47.41c1.339-2.143 2.143-4.821 2.143-7.767 0-.268-.268-.804-.268-1.072l43.928-15.804v72.053zm0-80.625l-43.66 15.804 43.66-75.536v59.732zm326.519 39.108l.804 1.339L445.5 329.125l-63.75-67.232 98.036-101.518.268.268zM291.75 355.107l11.518 11.786H280.5l11.25-11.786zm-.268-11.25l-83.303-85.446 79.553-84.375 83.036 87.589-79.286 82.232zm5.357 5.893l79.286-82.232 67.5 71.25-5.892 28.125H313.714l-16.875-17.143zM410.411 44.393c1.071.536 2.142 1.072 3.482 1.34l57.857 100.714v.536c0 2.946.803 5.624 2.143 7.767L376.393 256l-83.035-87.589L410.411 44.393zm-9.107-2.143L287.732 162.518l-57.054-60.268 166.339-60h4.287zm-123.483 0c2.678 2.678 6.16 4.285 10.179 4.285s7.5-1.607 10.179-4.285h75L224.786 95.821 173.893 42.25h103.928zm-116.249 5.625l1.071-2.142a33.834 33.834 0 0 0 2.679-.804l51.161 53.84-54.911 19.821V47.875zm0 79.286l60.803-21.964 59.732 63.214-79.553 84.107-40.982-42.053v-83.304zm0 92.678L198 257.607l-36.428 38.304v-76.072zm0 87.858l42.053-44.464 82.768 85.982-17.143 17.678H161.572v-59.196zm6.964 162.053c-1.607-1.607-3.482-2.678-5.893-3.482l-1.071-1.607v-89.732h99.91l-91.607 94.821h-1.339zm129.911 0c-2.679-2.41-6.428-4.285-10.447-4.285s-7.767 1.875-10.447 4.285h-96.429l91.607-94.821h38.304l91.607 94.821H298.447zm120-11.786l-4.286 7.5c-1.339.268-2.41.803-3.482 1.339l-89.196-91.875h114.376l-17.412 83.036zm12.856-22.232l12.858-60.803h21.964l-34.822 60.803zm34.822-68.839h-20.357l4.553-21.16 17.143 18.214c-.535.803-1.071 1.874-1.339 2.946zm66.161-107.411l-55.447 96.697c-1.339.535-2.679 1.071-4.018 1.874l-20.625-21.964 34.554-163.928 45.803 79.286c-.267 1.339-.803 2.678-.803 4.285 0 1.339.268 2.411.536 3.75z"]
  105600. };
  105601. var faLeanpub = {
  105602. prefix: 'fab',
  105603. iconName: 'leanpub',
  105604. icon: [576, 512, [], "f212", "M386.539 111.485l15.096 248.955-10.979-.275c-36.232-.824-71.64 8.783-102.657 27.997-31.016-19.214-66.424-27.997-102.657-27.997-45.564 0-82.07 10.705-123.516 27.723L93.117 129.6c28.546-11.803 61.484-18.115 92.226-18.115 41.173 0 73.836 13.175 102.657 42.544 27.723-28.271 59.013-41.721 98.539-42.544zM569.07 448c-25.526 0-47.485-5.215-70.542-15.645-34.31-15.645-69.993-24.978-107.871-24.978-38.977 0-74.934 12.901-102.657 40.623-27.723-27.723-63.68-40.623-102.657-40.623-37.878 0-73.561 9.333-107.871 24.978C55.239 442.236 32.731 448 8.303 448H6.93L49.475 98.859C88.726 76.626 136.486 64 181.775 64 218.83 64 256.984 71.685 288 93.095 319.016 71.685 357.17 64 394.225 64c45.289 0 93.049 12.626 132.3 34.859L569.07 448zm-43.368-44.741l-34.036-280.246c-30.742-13.999-67.248-21.41-101.009-21.41-38.428 0-74.385 12.077-102.657 38.702-28.272-26.625-64.228-38.702-102.657-38.702-33.761 0-70.267 7.411-101.009 21.41L50.298 403.259c47.211-19.487 82.894-33.486 135.045-33.486 37.604 0 70.817 9.606 102.657 29.644 31.84-20.038 65.052-29.644 102.657-29.644 52.151 0 87.834 13.999 135.045 33.486z"]
  105605. };
  105606. var faBlackTie = {
  105607. prefix: 'fab',
  105608. iconName: 'black-tie',
  105609. icon: [448, 512, [], "f27e", "M0 32v448h448V32H0zm316.5 325.2L224 445.9l-92.5-88.7 64.5-184-64.5-86.6h184.9L252 173.2l64.5 184z"]
  105610. };
  105611. var faThemeco = {
  105612. prefix: 'fab',
  105613. iconName: 'themeco',
  105614. icon: [448, 512, [], "f5c6", "M202.9 8.43c9.9-5.73 26-5.82 35.95-.21L430 115.85c10 5.6 18 19.44 18 30.86V364c0 11.44-8.06 25.29-18 31L238.81 503.74c-9.93 5.66-26 5.57-35.85-.21L17.86 395.12C8 389.34 0 375.38 0 364V146.71c0-11.44 8-25.36 17.91-31.08zm-77.4 199.83c-15.94 0-31.89.14-47.83.14v101.45H96.8V280h28.7c49.71 0 49.56-71.74 0-71.74zm140.14 100.29l-30.73-34.64c37-7.51 34.8-65.23-10.87-65.51-16.09 0-32.17-.14-48.26-.14v101.59h19.13v-33.91h18.41l29.56 33.91h22.76zm-41.59-82.32c23.34 0 23.26 32.46 0 32.46h-29.13v-32.46zm-95.56-1.6c21.18 0 21.11 38.85 0 38.85H96.18v-38.84zm192.65-18.25c-68.46 0-71 105.8 0 105.8 69.48-.01 69.41-105.8 0-105.8zm0 17.39c44.12 0 44.8 70.86 0 70.86s-44.43-70.86 0-70.86z"]
  105615. };
  105616. var faPython = {
  105617. prefix: 'fab',
  105618. iconName: 'python',
  105619. icon: [448, 512, [], "f3e2", "M439.8 200.5c-7.7-30.9-22.3-54.2-53.4-54.2h-40.1v47.4c0 36.8-31.2 67.8-66.8 67.8H172.7c-29.2 0-53.4 25-53.4 54.3v101.8c0 29 25.2 46 53.4 54.3 33.8 9.9 66.3 11.7 106.8 0 26.9-7.8 53.4-23.5 53.4-54.3v-40.7H226.2v-13.6h160.2c31.1 0 42.6-21.7 53.4-54.2 11.2-33.5 10.7-65.7 0-108.6zM286.2 404c11.1 0 20.1 9.1 20.1 20.3 0 11.3-9 20.4-20.1 20.4-11 0-20.1-9.2-20.1-20.4.1-11.3 9.1-20.3 20.1-20.3zM167.8 248.1h106.8c29.7 0 53.4-24.5 53.4-54.3V91.9c0-29-24.4-50.7-53.4-55.6-35.8-5.9-74.7-5.6-106.8.1-45.2 8-53.4 24.7-53.4 55.6v40.7h106.9v13.6h-147c-31.1 0-58.3 18.7-66.8 54.2-9.8 40.7-10.2 66.1 0 108.6 7.6 31.6 25.7 54.2 56.8 54.2H101v-48.8c0-35.3 30.5-66.4 66.8-66.4zm-6.7-142.6c-11.1 0-20.1-9.1-20.1-20.3.1-11.3 9-20.4 20.1-20.4 11 0 20.1 9.2 20.1 20.4s-9 20.3-20.1 20.3z"]
  105620. };
  105621. var faAndroid = {
  105622. prefix: 'fab',
  105623. iconName: 'android',
  105624. icon: [576, 512, [], "f17b", "M420.55,301.93a24,24,0,1,1,24-24,24,24,0,0,1-24,24m-265.1,0a24,24,0,1,1,24-24,24,24,0,0,1-24,24m273.7-144.48,47.94-83a10,10,0,1,0-17.27-10h0l-48.54,84.07a301.25,301.25,0,0,0-246.56,0L116.18,64.45a10,10,0,1,0-17.27,10h0l47.94,83C64.53,202.22,8.24,285.55,0,384H576c-8.24-98.45-64.54-181.78-146.85-226.55"]
  105625. };
  105626. var faBots = {
  105627. prefix: 'fab',
  105628. iconName: 'bots',
  105629. icon: [640, 512, [], "e340", "M86.344,197.834a51.767,51.767,0,0,0-41.57,20.058V156.018a8.19,8.19,0,0,0-8.19-8.19H8.19A8.19,8.19,0,0,0,0,156.018V333.551a8.189,8.189,0,0,0,8.19,8.189H36.584a8.189,8.189,0,0,0,8.19-8.189v-8.088c11.628,13.373,25.874,19.769,41.573,19.769,34.6,0,61.922-26.164,61.922-73.843C148.266,225.452,121.229,197.834,86.344,197.834ZM71.516,305.691c-9.593,0-21.221-4.942-26.745-12.5V250.164c5.528-7.558,17.152-12.791,26.745-12.791,17.734,0,31.107,13.082,31.107,34.013C102.623,292.609,89.25,305.691,71.516,305.691Zm156.372-59.032a17.4,17.4,0,1,0,17.4,17.4A17.4,17.4,0,0,0,227.888,246.659ZM273.956,156.7V112.039a13.308,13.308,0,1,0-10.237,0V156.7a107.49,107.49,0,1,0,10.237,0Zm85.993,107.367c0,30.531-40.792,55.281-91.112,55.281s-91.111-24.75-91.111-55.281,40.792-55.281,91.111-55.281S359.949,233.532,359.949,264.062Zm-50.163,17.4a17.4,17.4,0,1,0-17.4-17.4h0A17.4,17.4,0,0,0,309.786,281.466ZM580.7,250.455c-14.828-2.617-22.387-3.78-22.387-9.885,0-5.523,7.268-9.884,17.735-9.884a65.56,65.56,0,0,1,34.484,10.1,8.171,8.171,0,0,0,11.288-2.468c.07-.11.138-.221.2-.333l8.611-14.886a8.2,8.2,0,0,0-2.867-11.123,99.863,99.863,0,0,0-52.014-14.138c-38.956,0-60.179,21.514-60.179,46.225,0,36.342,33.725,41.864,57.563,45.642,13.373,2.326,24.13,4.361,24.13,11.048,0,6.4-5.523,10.757-18.9,10.757-13.552,0-30.994-6.222-42.623-13.579a8.206,8.206,0,0,0-11.335,2.491c-.035.054-.069.108-.1.164l-10.2,16.891a8.222,8.222,0,0,0,2.491,11.066c15.224,10.3,37.663,16.692,59.441,16.692,40.409,0,63.957-19.769,63.957-46.515C640,260.63,604.537,254.816,580.7,250.455Zm-95.928,60.787a8.211,8.211,0,0,0-9.521-5.938,23.168,23.168,0,0,1-4.155.387c-7.849,0-12.5-6.106-12.5-14.245V240.28h20.349a8.143,8.143,0,0,0,8.141-8.143V209.466a8.143,8.143,0,0,0-8.141-8.143H458.594V171.091a8.143,8.143,0,0,0-8.143-8.143H422.257a8.143,8.143,0,0,0-8.143,8.143h0v30.232H399a8.143,8.143,0,0,0-8.143,8.143h0v22.671A8.143,8.143,0,0,0,399,240.28h15.115v63.667c0,27.037,15.408,41.282,43.9,41.282,12.183,0,21.383-2.2,27.6-5.446a8.161,8.161,0,0,0,4.145-9.278Z"]
  105630. };
  105631. var faFreeCodeCamp = {
  105632. prefix: 'fab',
  105633. iconName: 'free-code-camp',
  105634. icon: [576, 512, [], "f2c5", "M97.22,96.21c10.36-10.65,16-17.12,16-21.9,0-2.76-1.92-5.51-3.83-7.42A14.81,14.81,0,0,0,101,64.05c-8.48,0-20.92,8.79-35.84,25.69C23.68,137,2.51,182.81,3.37,250.34s17.47,117,54.06,161.87C76.22,435.86,90.62,448,100.9,448a13.55,13.55,0,0,0,8.37-3.84c1.91-2.76,3.81-5.63,3.81-8.38,0-5.63-3.86-12.2-13.2-20.55-44.45-42.33-67.32-97-67.48-165C32.25,188.8,54,137.83,97.22,96.21ZM239.47,420.07c.58.37.91.55.91.55Zm93.79.55.17-.13C333.24,420.62,333.17,420.67,333.26,420.62Zm3.13-158.18c-16.24-4.15,50.41-82.89-68.05-177.17,0,0,15.54,49.38-62.83,159.57-74.27,104.35,23.46,168.73,34,175.23-6.73-4.35-47.4-35.7,9.55-128.64,11-18.3,25.53-34.87,43.5-72.16,0,0,15.91,22.45,7.6,71.13C287.7,364,354,342.91,355,343.94c22.75,26.78-17.72,73.51-21.58,76.55,5.49-3.65,117.71-78,33-188.1C360.43,238.4,352.62,266.59,336.39,262.44ZM510.88,89.69C496,72.79,483.52,64,475,64a14.81,14.81,0,0,0-8.39,2.84c-1.91,1.91-3.83,4.66-3.83,7.42,0,4.78,5.6,11.26,16,21.9,43.23,41.61,65,92.59,64.82,154.06-.16,68-23,122.63-67.48,165-9.34,8.35-13.18,14.92-13.2,20.55,0,2.75,1.9,5.62,3.81,8.38A13.61,13.61,0,0,0,475.1,448c10.28,0,24.68-12.13,43.47-35.79,36.59-44.85,53.14-94.38,54.06-161.87S552.32,137,510.88,89.69Z"]
  105635. };
  105636. var faHornbill = {
  105637. prefix: 'fab',
  105638. iconName: 'hornbill',
  105639. icon: [512, 512, [], "f592", "M76.38 370.3a37.8 37.8 0 1 1-32.07-32.42c-78.28-111.35 52-190.53 52-190.53-5.86 43-8.24 91.16-8.24 91.16-67.31 41.49.93 64.06 39.81 72.87a140.38 140.38 0 0 0 131.66 91.94c1.92 0 3.77-.21 5.67-.28l.11 18.86c-99.22 1.39-158.7-29.14-188.94-51.6zm108-327.7A37.57 37.57 0 0 0 181 21.45a37.95 37.95 0 1 0-31.17 54.22c-22.55 29.91-53.83 89.57-52.42 190l21.84-.15c0-.9-.14-1.77-.14-2.68A140.42 140.42 0 0 1 207 132.71c8-37.71 30.7-114.3 73.8-44.29 0 0 48.14 2.38 91.18 8.24 0 0-77.84-128-187.59-54.06zm304.19 134.17a37.94 37.94 0 1 0-53.84-28.7C403 126.13 344.89 99 251.28 100.33l.14 22.5c2.7-.15 5.39-.41 8.14-.41a140.37 140.37 0 0 1 130.49 88.76c39.1 9 105.06 31.58 38.46 72.54 0 0-2.34 48.13-8.21 91.16 0 0 133.45-81.16 49-194.61a37.45 37.45 0 0 0 19.31-3.5zM374.06 436.24c21.43-32.46 46.42-89.69 45.14-179.66l-19.52.14c.08 2.06.3 4.07.3 6.15a140.34 140.34 0 0 1-91.39 131.45c-8.85 38.95-31.44 106.66-72.77 39.49 0 0-48.12-2.34-91.19-8.22 0 0 79.92 131.34 191.9 51a37.5 37.5 0 0 0 3.64 14 37.93 37.93 0 1 0 33.89-54.29z"]
  105640. };
  105641. var faJs = {
  105642. prefix: 'fab',
  105643. iconName: 'js',
  105644. icon: [448, 512, [], "f3b8", "M0 32v448h448V32H0zm243.8 349.4c0 43.6-25.6 63.5-62.9 63.5-33.7 0-53.2-17.4-63.2-38.5l34.3-20.7c6.6 11.7 12.6 21.6 27.1 21.6 13.8 0 22.6-5.4 22.6-26.5V237.7h42.1v143.7zm99.6 63.5c-39.1 0-64.4-18.6-76.7-43l34.3-19.8c9 14.7 20.8 25.6 41.5 25.6 17.4 0 28.6-8.7 28.6-20.8 0-14.4-11.4-19.5-30.7-28l-10.5-4.5c-30.4-12.9-50.5-29.2-50.5-63.5 0-31.6 24.1-55.6 61.6-55.6 26.8 0 46 9.3 59.8 33.7L368 290c-7.2-12.9-15-18-27.1-18-12.3 0-20.1 7.8-20.1 18 0 12.6 7.8 17.7 25.9 25.6l10.5 4.5c35.8 15.3 55.9 31 55.9 66.2 0 37.8-29.8 58.6-69.7 58.6z"]
  105645. };
  105646. var faIdeal = {
  105647. prefix: 'fab',
  105648. iconName: 'ideal',
  105649. icon: [576, 512, [], "e013", "M125.61,165.48a49.07,49.07,0,1,0,49.06,49.06A49.08,49.08,0,0,0,125.61,165.48ZM86.15,425.84h78.94V285.32H86.15Zm151.46-211.6c0-20-10-22.53-18.74-22.53H204.82V237.5h14.05C228.62,237.5,237.61,234.69,237.61,214.24Zm201.69,46V168.93h22.75V237.5h33.69C486.5,113.08,388.61,86.19,299.67,86.19H204.84V169h14c25.6,0,41.5,17.35,41.5,45.26,0,28.81-15.52,46-41.5,46h-14V425.88h94.83c144.61,0,194.94-67.16,196.72-165.64Zm-109.75,0H273.3V169h54.43v22.73H296v10.58h30V225H296V237.5h33.51Zm74.66,0-5.16-17.67H369.31l-5.18,17.67H340.47L368,168.92h32.35l27.53,91.34ZM299.65,32H32V480H299.65c161.85,0,251-79.73,251-224.52C550.62,172,518,32,299.65,32Zm0,426.92H53.07V53.07H299.65c142.1,0,229.9,64.61,229.9,202.41C529.55,389.57,448.55,458.92,299.65,458.92Zm83.86-264.85L376,219.88H392.4l-7.52-25.81Z"]
  105650. };
  105651. var faGit = {
  105652. prefix: 'fab',
  105653. iconName: 'git',
  105654. icon: [512, 512, [], "f1d3", "M216.29 158.39H137C97 147.9 6.51 150.63 6.51 233.18c0 30.09 15 51.23 35 61-25.1 23-37 33.85-37 49.21 0 11 4.47 21.14 17.89 26.81C8.13 383.61 0 393.35 0 411.65c0 32.11 28.05 50.82 101.63 50.82 70.75 0 111.79-26.42 111.79-73.18 0-58.66-45.16-56.5-151.63-63l13.43-21.55c27.27 7.58 118.7 10 118.7-67.89 0-18.7-7.73-31.71-15-41.07l37.41-2.84zm-63.42 241.9c0 32.06-104.89 32.1-104.89 2.43 0-8.14 5.27-15 10.57-21.54 77.71 5.3 94.32 3.37 94.32 19.11zm-50.81-134.58c-52.8 0-50.46-71.16 1.2-71.16 49.54 0 50.82 71.16-1.2 71.16zm133.3 100.51v-32.1c26.75-3.66 27.24-2 27.24-11V203.61c0-8.5-2.05-7.38-27.24-16.26l4.47-32.92H324v168.71c0 6.51.4 7.32 6.51 8.14l20.73 2.84v32.1zm52.45-244.31c-23.17 0-36.59-13.43-36.59-36.61s13.42-35.77 36.59-35.77c23.58 0 37 12.62 37 35.77s-13.42 36.61-37 36.61zM512 350.46c-17.49 8.53-43.1 16.26-66.28 16.26-48.38 0-66.67-19.5-66.67-65.46V194.75c0-5.42 1.05-4.06-31.71-4.06V154.5c35.78-4.07 50-22 54.47-66.27h38.63c0 65.83-1.34 61.81 3.26 61.81H501v40.65h-60.56v97.15c0 6.92-4.92 51.41 60.57 26.84z"]
  105655. };
  105656. var faDev = {
  105657. prefix: 'fab',
  105658. iconName: 'dev',
  105659. icon: [448, 512, [], "f6cc", "M120.12 208.29c-3.88-2.9-7.77-4.35-11.65-4.35H91.03v104.47h17.45c3.88 0 7.77-1.45 11.65-4.35 3.88-2.9 5.82-7.25 5.82-13.06v-69.65c-.01-5.8-1.96-10.16-5.83-13.06zM404.1 32H43.9C19.7 32 .06 51.59 0 75.8v360.4C.06 460.41 19.7 480 43.9 480h360.2c24.21 0 43.84-19.59 43.9-43.8V75.8c-.06-24.21-19.7-43.8-43.9-43.8zM154.2 291.19c0 18.81-11.61 47.31-48.36 47.25h-46.4V172.98h47.38c35.44 0 47.36 28.46 47.37 47.28l.01 70.93zm100.68-88.66H201.6v38.42h32.57v29.57H201.6v38.41h53.29v29.57h-62.18c-11.16.29-20.44-8.53-20.72-19.69V193.7c-.27-11.15 8.56-20.41 19.71-20.69h63.19l-.01 29.52zm103.64 115.29c-13.2 30.75-36.85 24.63-47.44 0l-38.53-144.8h32.57l29.71 113.72 29.57-113.72h32.58l-38.46 144.8z"]
  105660. };
  105661. var faSketch = {
  105662. prefix: 'fab',
  105663. iconName: 'sketch',
  105664. icon: [512, 512, [], "f7c6", "M27.5 162.2L9 187.1h90.5l6.9-130.7-78.9 105.8zM396.3 45.7L267.7 32l135.7 147.2-7.1-133.5zM112.2 218.3l-11.2-22H9.9L234.8 458zm2-31.2h284l-81.5-88.5L256.3 33zm297.3 9.1L277.6 458l224.8-261.7h-90.9zM415.4 69L406 56.4l.9 17.3 6.1 113.4h90.3zM113.5 93.5l-4.6 85.6L244.7 32 116.1 45.7zm287.7 102.7h-290l42.4 82.9L256.3 480l144.9-283.8z"]
  105665. };
  105666. var faYandexInternational = {
  105667. prefix: 'fab',
  105668. iconName: 'yandex-international',
  105669. icon: [320, 512, [], "f414", "M129.5 512V345.9L18.5 48h55.8l81.8 229.7L250.2 0h51.3L180.8 347.8V512h-51.3z"]
  105670. };
  105671. var faCcAmex = {
  105672. prefix: 'fab',
  105673. iconName: 'cc-amex',
  105674. icon: [576, 512, [], "f1f3", "M48 480C21.49 480 0 458.5 0 432V80C0 53.49 21.49 32 48 32H528C554.5 32 576 53.49 576 80V82.43H500.5L483.5 130L466.6 82.43H369.4V145.6L341.3 82.43H262.7L181 267.1H246.8V430.9H450.5L482.4 395.8L514.3 430.9H576V432C576 458.5 554.5 480 528 480H48zM482.6 364L440.4 410.3H390.5L458 338.6L390.5 266.1H441.9L483.4 312.8L525.4 266.1H576L508 338.2L576 410.3H524.6L482.6 364zM576 296.9V380.2L536.7 338.3L576 296.9zM307.6 377.1H390.6V410.3H268.6V267.1H390.6V300.2H307.6V322.6H388.5V354.9H307.6V377.2V377.1zM537.3 145.7L500.4 246.3H466L429.2 146V246.3H390.5V103H451.7L483.6 192.3L515.8 103H576V246.3H537.3V145.7zM334.5 217.6H268.6L256.7 246.3H213.7L276.1 103H327.3L390.6 246.3H346.5L334.5 217.6zM301.5 138.5L282 185.4H320.9L301.5 138.5z"]
  105675. };
  105676. var faUber = {
  105677. prefix: 'fab',
  105678. iconName: 'uber',
  105679. icon: [448, 512, [], "f402", "M414.1 32H33.9C15.2 32 0 47.2 0 65.9V446c0 18.8 15.2 34 33.9 34H414c18.7 0 33.9-15.2 33.9-33.9V65.9C448 47.2 432.8 32 414.1 32zM237.6 391.1C163 398.6 96.4 344.2 88.9 269.6h94.4V290c0 3.7 3 6.8 6.8 6.8H258c3.7 0 6.8-3 6.8-6.8v-67.9c0-3.7-3-6.8-6.8-6.8h-67.9c-3.7 0-6.8 3-6.8 6.8v20.4H88.9c7-69.4 65.4-122.2 135.1-122.2 69.7 0 128.1 52.8 135.1 122.2 7.5 74.5-46.9 141.1-121.5 148.6z"]
  105680. };
  105681. var faGithub = {
  105682. prefix: 'fab',
  105683. iconName: 'github',
  105684. icon: [496, 512, [], "f09b", "M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"]
  105685. };
  105686. var faPhp = {
  105687. prefix: 'fab',
  105688. iconName: 'php',
  105689. icon: [640, 512, [], "f457", "M320 104.5c171.4 0 303.2 72.2 303.2 151.5S491.3 407.5 320 407.5c-171.4 0-303.2-72.2-303.2-151.5S148.7 104.5 320 104.5m0-16.8C143.3 87.7 0 163 0 256s143.3 168.3 320 168.3S640 349 640 256 496.7 87.7 320 87.7zM218.2 242.5c-7.9 40.5-35.8 36.3-70.1 36.3l13.7-70.6c38 0 63.8-4.1 56.4 34.3zM97.4 350.3h36.7l8.7-44.8c41.1 0 66.6 3 90.2-19.1 26.1-24 32.9-66.7 14.3-88.1-9.7-11.2-25.3-16.7-46.5-16.7h-70.7L97.4 350.3zm185.7-213.6h36.5l-8.7 44.8c31.5 0 60.7-2.3 74.8 10.7 14.8 13.6 7.7 31-8.3 113.1h-37c15.4-79.4 18.3-86 12.7-92-5.4-5.8-17.7-4.6-47.4-4.6l-18.8 96.6h-36.5l32.7-168.6zM505 242.5c-8 41.1-36.7 36.3-70.1 36.3l13.7-70.6c38.2 0 63.8-4.1 56.4 34.3zM384.2 350.3H421l8.7-44.8c43.2 0 67.1 2.5 90.2-19.1 26.1-24 32.9-66.7 14.3-88.1-9.7-11.2-25.3-16.7-46.5-16.7H417l-32.8 168.7z"]
  105690. };
  105691. var faAlipay = {
  105692. prefix: 'fab',
  105693. iconName: 'alipay',
  105694. icon: [448, 512, [], "f642", "M377.74 32H70.26C31.41 32 0 63.41 0 102.26v307.48C0 448.59 31.41 480 70.26 480h307.48c38.52 0 69.76-31.08 70.26-69.6-45.96-25.62-110.59-60.34-171.6-88.44-32.07 43.97-84.14 81-148.62 81-70.59 0-93.73-45.3-97.04-76.37-3.97-39.01 14.88-81.5 99.52-81.5 35.38 0 79.35 10.25 127.13 24.96 16.53-30.09 26.45-60.34 26.45-60.34h-178.2v-16.7h92.08v-31.24H88.28v-19.01h109.44V92.34h50.92v50.42h109.44v19.01H248.63v31.24h88.77s-15.21 46.62-38.35 90.92c48.93 16.7 100.01 36.04 148.62 52.74V102.26C447.83 63.57 416.43 32 377.74 32zM47.28 322.95c.99 20.17 10.25 53.73 69.93 53.73 52.07 0 92.58-39.68 117.87-72.9-44.63-18.68-84.48-31.41-109.44-31.41-67.45 0-79.35 33.06-78.36 50.58z"]
  105695. };
  105696. var faYoutube = {
  105697. prefix: 'fab',
  105698. iconName: 'youtube',
  105699. icon: [576, 512, [61802], "f167", "M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"]
  105700. };
  105701. var faSkyatlas = {
  105702. prefix: 'fab',
  105703. iconName: 'skyatlas',
  105704. icon: [640, 512, [], "f216", "M640 329.3c0 65.9-52.5 114.4-117.5 114.4-165.9 0-196.6-249.7-359.7-249.7-146.9 0-147.1 212.2 5.6 212.2 42.5 0 90.9-17.8 125.3-42.5 5.6-4.1 16.9-16.3 22.8-16.3s10.9 5 10.9 10.9c0 7.8-13.1 19.1-18.7 24.1-40.9 35.6-100.3 61.2-154.7 61.2-83.4.1-154-59-154-144.9s67.5-149.1 152.8-149.1c185.3 0 222.5 245.9 361.9 245.9 99.9 0 94.8-139.7 3.4-139.7-17.5 0-35 11.6-46.9 11.6-8.4 0-15.9-7.2-15.9-15.6 0-11.6 5.3-23.7 5.3-36.3 0-66.6-50.9-114.7-116.9-114.7-53.1 0-80 36.9-88.8 36.9-6.2 0-11.2-5-11.2-11.2 0-5.6 4.1-10.3 7.8-14.4 25.3-28.8 64.7-43.7 102.8-43.7 79.4 0 139.1 58.4 139.1 137.8 0 6.9-.3 13.7-1.2 20.6 11.9-3.1 24.1-4.7 35.9-4.7 60.7 0 111.9 45.3 111.9 107.2z"]
  105705. };
  105706. var faFirefoxBrowser = {
  105707. prefix: 'fab',
  105708. iconName: 'firefox-browser',
  105709. icon: [512, 512, [], "e007", "M130.22 127.548C130.38 127.558 130.3 127.558 130.22 127.548V127.548ZM481.64 172.898C471.03 147.398 449.56 119.898 432.7 111.168C446.42 138.058 454.37 165.048 457.4 185.168C457.405 185.306 457.422 185.443 457.45 185.578C429.87 116.828 383.098 89.1089 344.9 28.7479C329.908 5.05792 333.976 3.51792 331.82 4.08792L331.7 4.15792C284.99 30.1109 256.365 82.5289 249.12 126.898C232.503 127.771 216.219 131.895 201.19 139.035C199.838 139.649 198.736 140.706 198.066 142.031C197.396 143.356 197.199 144.87 197.506 146.323C197.7 147.162 198.068 147.951 198.586 148.639C199.103 149.327 199.76 149.899 200.512 150.318C201.264 150.737 202.096 150.993 202.954 151.071C203.811 151.148 204.676 151.045 205.491 150.768L206.011 150.558C221.511 143.255 238.408 139.393 255.541 139.238C318.369 138.669 352.698 183.262 363.161 201.528C350.161 192.378 326.811 183.338 304.341 187.248C392.081 231.108 368.541 381.784 246.951 376.448C187.487 373.838 149.881 325.467 146.421 285.648C146.421 285.648 157.671 243.698 227.041 243.698C234.541 243.698 255.971 222.778 256.371 216.698C256.281 214.698 213.836 197.822 197.281 181.518C188.434 172.805 184.229 168.611 180.511 165.458C178.499 163.75 176.392 162.158 174.201 160.688C168.638 141.231 168.399 120.638 173.51 101.058C148.45 112.468 128.96 130.508 114.8 146.428H114.68C105.01 134.178 105.68 93.7779 106.25 85.3479C106.13 84.8179 99.022 89.0159 98.1 89.6579C89.5342 95.7103 81.5528 102.55 74.26 110.088C57.969 126.688 30.128 160.242 18.76 211.318C14.224 231.701 12 255.739 12 263.618C12 398.318 121.21 507.508 255.92 507.508C376.56 507.508 478.939 420.281 496.35 304.888C507.922 228.192 481.64 173.82 481.64 172.898Z"]
  105710. };
  105711. var faReplyd = {
  105712. prefix: 'fab',
  105713. iconName: 'replyd',
  105714. icon: [448, 512, [], "f3e6", "M320 480H128C57.6 480 0 422.4 0 352V160C0 89.6 57.6 32 128 32h192c70.4 0 128 57.6 128 128v192c0 70.4-57.6 128-128 128zM193.4 273.2c-6.1-2-11.6-3.1-16.4-3.1-7.2 0-13.5 1.9-18.9 5.6-5.4 3.7-9.6 9-12.8 15.8h-1.1l-4.2-18.3h-28v138.9h36.1v-89.7c1.5-5.4 4.4-9.8 8.7-13.2 4.3-3.4 9.8-5.1 16.2-5.1 4.6 0 9.8 1 15.6 3.1l4.8-34zm115.2 103.4c-3.2 2.4-7.7 4.8-13.7 7.1-6 2.3-12.8 3.5-20.4 3.5-12.2 0-21.1-3-26.5-8.9-5.5-5.9-8.5-14.7-9-26.4h83.3c.9-4.8 1.6-9.4 2.1-13.9.5-4.4.7-8.6.7-12.5 0-10.7-1.6-19.7-4.7-26.9-3.2-7.2-7.3-13-12.5-17.2-5.2-4.3-11.1-7.3-17.8-9.2-6.7-1.8-13.5-2.8-20.6-2.8-21.1 0-37.5 6.1-49.2 18.3s-17.5 30.5-17.5 55c0 22.8 5.2 40.7 15.6 53.7 10.4 13.1 26.8 19.6 49.2 19.6 10.7 0 20.9-1.5 30.4-4.6 9.5-3.1 17.1-6.8 22.6-11.2l-12-23.6zm-21.8-70.3c3.8 5.4 5.3 13.1 4.6 23.1h-51.7c.9-9.4 3.7-17 8.2-22.6 4.5-5.6 11.5-8.5 21-8.5 8.2-.1 14.1 2.6 17.9 8zm79.9 2.5c4.1 3.9 9.4 5.8 16.1 5.8 7 0 12.6-1.9 16.7-5.8s6.1-9.1 6.1-15.6-2-11.6-6.1-15.4c-4.1-3.8-9.6-5.7-16.7-5.7-6.7 0-12 1.9-16.1 5.7-4.1 3.8-6.1 8.9-6.1 15.4s2 11.7 6.1 15.6zm0 100.5c4.1 3.9 9.4 5.8 16.1 5.8 7 0 12.6-1.9 16.7-5.8s6.1-9.1 6.1-15.6-2-11.6-6.1-15.4c-4.1-3.8-9.6-5.7-16.7-5.7-6.7 0-12 1.9-16.1 5.7-4.1 3.8-6.1 8.9-6.1 15.4 0 6.6 2 11.7 6.1 15.6z"]
  105715. };
  105716. var faSuse = {
  105717. prefix: 'fab',
  105718. iconName: 'suse',
  105719. icon: [640, 512, [], "f7d6", "M471.08 102.66s-.3 18.3-.3 20.3c-9.1-3-74.4-24.1-135.7-26.3-51.9-1.8-122.8-4.3-223 57.3-19.4 12.4-73.9 46.1-99.6 109.7C7 277-.12 307 7 335.06a111 111 0 0 0 16.5 35.7c17.4 25 46.6 41.6 78.1 44.4 44.4 3.9 78.1-16 90-53.3 8.2-25.8 0-63.6-31.5-82.9-25.6-15.7-53.3-12.1-69.2-1.6-13.9 9.2-21.8 23.5-21.6 39.2.3 27.8 24.3 42.6 41.5 42.6a49 49 0 0 0 15.8-2.7c6.5-1.8 13.3-6.5 13.3-14.9 0-12.1-11.6-14.8-16.8-13.9-2.9.5-4.5 2-11.8 2.4-2-.2-12-3.1-12-14V316c.2-12.3 13.2-18 25.5-16.9 32.3 2.8 47.7 40.7 28.5 65.7-18.3 23.7-76.6 23.2-99.7-20.4-26-49.2 12.7-111.2 87-98.4 33.2 5.7 83.6 35.5 102.4 104.3h45.9c-5.7-17.6-8.9-68.3 42.7-68.3 56.7 0 63.9 39.9 79.8 68.3H460c-12.8-18.3-21.7-38.7-18.9-55.8 5.6-33.8 39.7-18.4 82.4-17.4 66.5.4 102.1-27 103.1-28 3.7-3.1 6.5-15.8 7-17.7 1.3-5.1-3.2-2.4-3.2-2.4-8.7 5.2-30.5 15.2-50.9 15.6-25.3.5-76.2-25.4-81.6-28.2-.3-.4.1 1.2-11-25.5 88.4 58.3 118.3 40.5 145.2 21.7.8-.6 4.3-2.9 3.6-5.7-13.8-48.1-22.4-62.7-34.5-69.6-37-21.6-125-34.7-129.2-35.3.1-.1-.9-.3-.9.7zm60.4 72.8a37.54 37.54 0 0 1 38.9-36.3c33.4 1.2 48.8 42.3 24.4 65.2-24.2 22.7-64.4 4.6-63.3-28.9zm38.6-25.3a26.27 26.27 0 1 0 25.4 27.2 26.19 26.19 0 0 0-25.4-27.2zm4.3 28.8c-15.4 0-15.4-15.6 0-15.6s15.4 15.64 0 15.64z"]
  105720. };
  105721. var faJenkins = {
  105722. prefix: 'fab',
  105723. iconName: 'jenkins',
  105724. icon: [512, 512, [], "f3b6", "M487.1 425c-1.4-11.2-19-23.1-28.2-31.9-5.1-5-29-23.1-30.4-29.9-1.4-6.6 9.7-21.5 13.3-28.9 5.1-10.7 8.8-23.7 11.3-32.6 18.8-66.1 20.7-156.9-6.2-211.2-10.2-20.6-38.6-49-56.4-62.5-42-31.7-119.6-35.3-170.1-16.6-14.1 5.2-27.8 9.8-40.1 17.1-33.1 19.4-68.3 32.5-78.1 71.6-24.2 10.8-31.5 41.8-30.3 77.8.2 7 4.1 15.8 2.7 22.4-.7 3.3-5.2 7.6-6.1 9.8-11.6 27.7-2.3 64 11.1 83.7 8.1 11.9 21.5 22.4 39.2 25.2.7 10.6 3.3 19.7 8.2 30.4 3.1 6.8 14.7 19 10.4 27.7-2.2 4.4-21 13.8-27.3 17.6C89 407.2 73.7 415 54.2 429c-12.6 9-32.3 10.2-29.2 31.1 2.1 14.1 10.1 31.6 14.7 45.8.7 2 1.4 4.1 2.1 6h422c4.9-15.3 9.7-30.9 14.6-47.2 3.4-11.4 10.2-27.8 8.7-39.7zM205.9 33.7c1.8-.5 3.4.7 4.9 2.4-.2 5.2-5.4 5.1-8.9 6.8-5.4 6.7-13.4 9.8-20 17.2-6.8 7.5-14.4 27.7-23.4 30-4.5 1.1-9.7-.8-13.6-.5-10.4.7-17.7 6-28.3 7.5 13.6-29.9 56.1-54 89.3-63.4zm-104.8 93.6c13.5-14.9 32.1-24.1 54.8-25.9 11.7 29.7-8.4 65-.9 97.6 2.3 9.9 10.2 25.4-2.4 25.7.3-28.3-34.8-46.3-61.3-29.6-1.8-21.5-4.9-51.7 9.8-67.8zm36.7 200.2c-1-4.1-2.7-12.9-2.3-15.1 1.6-8.7 17.1-12.5 11-24.7-11.3-.1-13.8 10.2-24.1 11.3-26.7 2.6-45.6-35.4-44.4-58.4 1-19.5 17.6-38.2 40.1-35.8 16 1.8 21.4 19.2 24.5 34.7 9.2.5 22.5-.4 26.9-7.6-.6-17.5-8.8-31.6-8.2-47.7 1-30.3 17.5-57.6 4.8-87.4 13.6-30.9 53.5-55.3 83.1-70 36.6-18.3 94.9-3.7 129.3 15.8 19.7 11.1 34.4 32.7 48.3 50.7-19.5-5.8-36.1 4.2-33.1 20.3 16.3-14.9 44.2-.2 52.5 16.4 7.9 15.8 7.8 39.3 9 62.8 2.9 57-10.4 115.9-39.1 157.1-7.7 11-14.1 23-24.9 30.6-26 18.2-65.4 34.7-99.2 23.4-44.7-15-65-44.8-89.5-78.8.7 18.7 13.8 34.1 26.8 48.4 11.3 12.5 25 26.6 39.7 32.4-12.3-2.9-31.1-3.8-36.2 7.2-28.6-1.9-55.1-4.8-68.7-24.2-10.6-15.4-21.4-41.4-26.3-61.4zm222 124.1c4.1-3 11.1-2.9 17.4-3.6-5.4-2.7-13-3.7-19.3-2.2-.1-4.2-2-6.8-3.2-10.2 10.6-3.8 35.5-28.5 49.6-20.3 6.7 3.9 9.5 26.2 10.1 37 .4 9-.8 18-4.5 22.8-18.8-.6-35.8-2.8-50.7-7 .9-6.1-1-12.1.6-16.5zm-17.2-20c-16.8.8-26-1.2-38.3-10.8.2-.8 1.4-.5 1.5-1.4 18 8 40.8-3.3 59-4.9-7.9 5.1-14.6 11.6-22.2 17.1zm-12.1 33.2c-1.6-9.4-3.5-12-2.8-20.2 25-16.6 29.7 28.6 2.8 20.2zM226 438.6c-11.6-.7-48.1-14-38.5-23.7 9.4 6.5 27.5 4.9 41.3 7.3.8 4.4-2.8 10.2-2.8 16.4zM57.7 497.1c-4.3-12.7-9.2-25.1-14.8-36.9 30.8-23.8 65.3-48.9 102.2-63.5 2.8-1.1 23.2 25.4 26.2 27.6 16.5 11.7 37 21 56.2 30.2 1.2 8.8 3.9 20.2 8.7 35.5.7 2.3 1.4 4.7 2.2 7.2H57.7zm240.6 5.7h-.8c.3-.2.5-.4.8-.5v.5zm7.5-5.7c2.1-1.4 4.3-2.8 6.4-4.3 1.1 1.4 2.2 2.8 3.2 4.3h-9.6zm15.1-24.7c-10.8 7.3-20.6 18.3-33.3 25.2-6 3.3-27 11.7-33.4 10.2-3.6-.8-3.9-5.3-5.4-9.5-3.1-9-10.1-23.4-10.8-37-.8-17.2-2.5-46 16-42.4 14.9 2.9 32.3 9.7 43.9 16.1 7.1 3.9 11.1 8.6 21.9 9.5-.1 1.4-.1 2.8-.2 4.3-5.9 3.9-15.3 3.8-21.8 7.1 9.5.4 17 2.7 23.5 5.9-.1 3.4-.3 7-.4 10.6zm53.4 24.7h-14c-.1-3.2-2.8-5.8-6.1-5.8s-5.9 2.6-6.1 5.8h-17.4c-2.8-4.4-5.7-8.6-8.9-12.5 2.1-2.2 4-4.7 6-6.9 9 3.7 14.8-4.9 21.7-4.2 7.9.8 14.2 11.7 25.4 11l-.6 12.6zm8.7 0c.2-4 .4-7.8.6-11.5 15.6-7.3 29 1.3 35.7 11.5H383zm83.4-37c-2.3 11.2-5.8 24-9.9 37.1-.2-.1-.4-.1-.6-.1H428c.6-1.1 1.2-2.2 1.9-3.3-2.6-6.1-9-8.7-10.9-15.5 12.1-22.7 6.5-93.4-24.2-78.5 4.3-6.3 15.6-11.5 20.8-19.3 13 10.4 20.8 20.3 33.2 31.4 6.8 6 20 13.3 21.4 23.1.8 5.5-2.6 18.9-3.8 25.1zM222.2 130.5c5.4-14.9 27.2-34.7 45-32 7.7 1.2 18 8.2 12.2 17.7-30.2-7-45.2 12.6-54.4 33.1-8.1-2-4.9-13.1-2.8-18.8zm184.1 63.1c8.2-3.6 22.4-.7 29.6-5.3-4.2-11.5-10.3-21.4-9.3-37.7.5 0 1 0 1.4.1 6.8 14.2 12.7 29.2 21.4 41.7-5.7 13.5-43.6 25.4-43.1 1.2zm20.4-43zm-117.2 45.7c-6.8-10.9-19-32.5-14.5-45.3 6.5 11.9 8.6 24.4 17.8 33.3 4.1 4 12.2 9 8.2 20.2-.9 2.7-7.8 8.6-11.7 9.7-14.4 4.3-47.9.9-36.6-17.1 11.9.7 27.9 7.8 36.8-.8zm27.3 70c3.8 6.6 1.4 18.7 12.1 20.6 20.2 3.4 43.6-12.3 58.1-17.8 9-15.2-.8-20.7-8.9-30.5-16.6-20-38.8-44.8-38-74.7 6.7-4.9 7.3 7.4 8.2 9.7 8.7 20.3 30.4 46.2 46.3 63.5 3.9 4.3 10.3 8.4 11 11.2 2.1 8.2-5.4 18-4.5 23.5-21.7 13.9-45.8 29.1-81.4 25.6-7.4-6.7-10.3-21.4-2.9-31.1zm-201.3-9.2c-6.8-3.9-8.4-21-16.4-21.4-11.4-.7-9.3 22.2-9.3 35.5-7.8-7.1-9.2-29.1-3.5-40.3-6.6-3.2-9.5 3.6-13.1 5.9 4.7-34.1 49.8-15.8 42.3 20.3zm299.6 28.8c-10.1 19.2-24.4 40.4-54 41-.6-6.2-1.1-15.6 0-19.4 22.7-2.2 36.6-13.7 54-21.6zm-141.9 12.4c18.9 9.9 53.6 11 79.3 10.2 1.4 5.6 1.3 12.6 1.4 19.4-33 1.8-72-6.4-80.7-29.6zm92.2 46.7c-1.7 4.3-5.3 9.3-9.8 11.1-12.1 4.9-45.6 8.7-62.4-.3-10.7-5.7-17.5-18.5-23.4-26-2.8-3.6-16.9-12.9-.2-12.9 13.1 32.7 58 29 95.8 28.1z"]
  105725. };
  105726. var faTwitter = {
  105727. prefix: 'fab',
  105728. iconName: 'twitter',
  105729. icon: [512, 512, [], "f099", "M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"]
  105730. };
  105731. var faRockrms = {
  105732. prefix: 'fab',
  105733. iconName: 'rockrms',
  105734. icon: [496, 512, [], "f3e9", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm157.4 419.5h-90l-112-131.3c-17.9-20.4-3.9-56.1 26.6-56.1h75.3l-84.6-99.3-84.3 98.9h-90L193.5 67.2c14.4-18.4 41.3-17.3 54.5 0l157.7 185.1c19 22.8 2 57.2-27.6 56.1-.6 0-74.2.2-74.2.2l101.5 118.9z"]
  105735. };
  105736. var faPinterest = {
  105737. prefix: 'fab',
  105738. iconName: 'pinterest',
  105739. icon: [496, 512, [], "f0d2", "M496 256c0 137-111 248-248 248-25.6 0-50.2-3.9-73.4-11.1 10.1-16.5 25.2-43.5 30.8-65 3-11.6 15.4-59 15.4-59 8.1 15.4 31.7 28.5 56.8 28.5 74.8 0 128.7-68.8 128.7-154.3 0-81.9-66.9-143.2-152.9-143.2-107 0-163.9 71.8-163.9 150.1 0 36.4 19.4 81.7 50.3 96.1 4.7 2.2 7.2 1.2 8.3-3.3.8-3.4 5-20.3 6.9-28.1.6-2.5.3-4.7-1.7-7.1-10.1-12.5-18.3-35.3-18.3-56.6 0-54.7 41.4-107.6 112-107.6 60.9 0 103.6 41.5 103.6 100.9 0 67.1-33.9 113.6-78 113.6-24.3 0-42.6-20.1-36.7-44.8 7-29.5 20.5-61.3 20.5-82.6 0-19-10.2-34.9-31.4-34.9-24.9 0-44.9 25.7-44.9 60.2 0 22 7.4 36.8 7.4 36.8s-24.5 103.8-29 123.2c-5 21.4-3 51.6-.9 71.2C65.4 450.9 0 361.1 0 256 0 119 111 8 248 8s248 111 248 248z"]
  105740. };
  105741. var faBuffer = {
  105742. prefix: 'fab',
  105743. iconName: 'buffer',
  105744. icon: [448, 512, [], "f837", "M427.84 380.67l-196.5 97.82a18.6 18.6 0 0 1-14.67 0L20.16 380.67c-4-2-4-5.28 0-7.29L67.22 350a18.65 18.65 0 0 1 14.69 0l134.76 67a18.51 18.51 0 0 0 14.67 0l134.76-67a18.62 18.62 0 0 1 14.68 0l47.06 23.43c4.05 1.96 4.05 5.24 0 7.24zm0-136.53l-47.06-23.43a18.62 18.62 0 0 0-14.68 0l-134.76 67.08a18.68 18.68 0 0 1-14.67 0L81.91 220.71a18.65 18.65 0 0 0-14.69 0l-47.06 23.43c-4 2-4 5.29 0 7.31l196.51 97.8a18.6 18.6 0 0 0 14.67 0l196.5-97.8c4.05-2.02 4.05-5.3 0-7.31zM20.16 130.42l196.5 90.29a20.08 20.08 0 0 0 14.67 0l196.51-90.29c4-1.86 4-4.89 0-6.74L231.33 33.4a19.88 19.88 0 0 0-14.67 0l-196.5 90.28c-4.05 1.85-4.05 4.88 0 6.74z"]
  105745. };
  105746. var faNpm = {
  105747. prefix: 'fab',
  105748. iconName: 'npm',
  105749. icon: [576, 512, [], "f3d4", "M288 288h-32v-64h32v64zm288-128v192H288v32H160v-32H0V160h576zm-416 32H32v128h64v-96h32v96h32V192zm160 0H192v160h64v-32h64V192zm224 0H352v128h64v-96h32v96h32v-96h32v96h32V192z"]
  105750. };
  105751. var faYammer = {
  105752. prefix: 'fab',
  105753. iconName: 'yammer',
  105754. icon: [512, 512, [], "f840", "M500.676,159.486a12.779,12.779,0,0,0-6.4-8.282,13.954,13.954,0,0,0-10.078-1.125L457.8,156.7l-.043-.2-22.3,5.785-1.243.333-.608-2.17A369.037,369.037,0,0,0,347.538,4.289a14.1,14.1,0,0,0-19.784-.463l-102.9,102.747H24.947A24.9,24.9,0,0,0,0,131.417V380.38a24.963,24.963,0,0,0,24.918,24.9H224.986L328.072,508a13.667,13.667,0,0,0,19.327,0c.126-.126.249-.255.37-.385a368.025,368.025,0,0,0,69.577-107.374,403.45,403.45,0,0,0,17.3-50.8v-.028l20.406,5.336.029-.073L483.345,362a20.253,20.253,0,0,0,2.619.5,13.359,13.359,0,0,0,4.139-.072,13.5,13.5,0,0,0,10.515-9.924,415.855,415.855,0,0,0,.058-193.013ZM337.125,24.65l.013.014h-.013Zm-110.2,165.161L174.311,281.1a11.338,11.338,0,0,0-1.489,5.655v46.189a22.04,22.04,0,0,1-22.041,22h-3.4A22.068,22.068,0,0,1,125.3,332.962V287.294a11.532,11.532,0,0,0-1.388-5.51l-51.6-92.2a21.988,21.988,0,0,1,19.264-32.726h3.268a22.059,22.059,0,0,1,19.611,11.916l36.357,70.281,37.515-70.512a22.066,22.066,0,0,1,38.556-.695,21.7,21.7,0,0,1,0,21.967ZM337.145,24.673a348.147,348.147,0,0,1,75.8,141.335l.564,1.952-114.134,29.6V131.417a25.006,25.006,0,0,0-24.947-24.9H255.067Zm60.5,367.305v-.043l-.014.014a347.19,347.19,0,0,1-60.177,95.227l-82.2-81.893h19.177a24.978,24.978,0,0,0,24.947-24.9v-66.2l114.6,29.862A385.191,385.191,0,0,1,397.648,391.978Zm84-52.45.015.014-50.618-13.131L299.379,292.1V219.572l119.746-30.99,4.468-1.157,39.54-10.253,18.511-4.816A393,393,0,0,1,481.644,339.528Z"]
  105755. };
  105756. var faBtc = {
  105757. prefix: 'fab',
  105758. iconName: 'btc',
  105759. icon: [384, 512, [], "f15a", "M310.204 242.638c27.73-14.18 45.377-39.39 41.28-81.3-5.358-57.351-52.458-76.573-114.85-81.929V0h-48.528v77.203c-12.605 0-25.525.315-38.444.63V0h-48.528v79.409c-17.842.539-38.622.276-97.37 0v51.678c38.314-.678 58.417-3.14 63.023 21.427v217.429c-2.925 19.492-18.524 16.685-53.255 16.071L3.765 443.68c88.481 0 97.37.315 97.37.315V512h48.528v-67.06c13.234.315 26.154.315 38.444.315V512h48.528v-68.005c81.299-4.412 135.647-24.894 142.895-101.467 5.671-61.446-23.32-88.862-69.326-99.89zM150.608 134.553c27.415 0 113.126-8.507 113.126 48.528 0 54.515-85.71 48.212-113.126 48.212v-96.74zm0 251.776V279.821c32.772 0 133.127-9.138 133.127 53.255-.001 60.186-100.355 53.253-133.127 53.253z"]
  105760. };
  105761. var faDribbble = {
  105762. prefix: 'fab',
  105763. iconName: 'dribbble',
  105764. icon: [512, 512, [], "f17d", "M256 8C119.252 8 8 119.252 8 256s111.252 248 248 248 248-111.252 248-248S392.748 8 256 8zm163.97 114.366c29.503 36.046 47.369 81.957 47.835 131.955-6.984-1.477-77.018-15.682-147.502-6.818-5.752-14.041-11.181-26.393-18.617-41.614 78.321-31.977 113.818-77.482 118.284-83.523zM396.421 97.87c-3.81 5.427-35.697 48.286-111.021 76.519-34.712-63.776-73.185-116.168-79.04-124.008 67.176-16.193 137.966 1.27 190.061 47.489zm-230.48-33.25c5.585 7.659 43.438 60.116 78.537 122.509-99.087 26.313-186.36 25.934-195.834 25.809C62.38 147.205 106.678 92.573 165.941 64.62zM44.17 256.323c0-2.166.043-4.322.108-6.473 9.268.19 111.92 1.513 217.706-30.146 6.064 11.868 11.857 23.915 17.174 35.949-76.599 21.575-146.194 83.527-180.531 142.306C64.794 360.405 44.17 310.73 44.17 256.323zm81.807 167.113c22.127-45.233 82.178-103.622 167.579-132.756 29.74 77.283 42.039 142.053 45.189 160.638-68.112 29.013-150.015 21.053-212.768-27.882zm248.38 8.489c-2.171-12.886-13.446-74.897-41.152-151.033 66.38-10.626 124.7 6.768 131.947 9.055-9.442 58.941-43.273 109.844-90.795 141.978z"]
  105765. };
  105766. var faStumbleuponCircle = {
  105767. prefix: 'fab',
  105768. iconName: 'stumbleupon-circle',
  105769. icon: [496, 512, [], "f1a3", "M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 177.5c-9.8 0-17.8 8-17.8 17.8v106.9c0 40.9-33.9 73.9-74.9 73.9-41.4 0-74.9-33.5-74.9-74.9v-46.5h57.3v45.8c0 10 8 17.8 17.8 17.8s17.8-7.9 17.8-17.8V200.1c0-40 34.2-72.1 74.7-72.1 40.7 0 74.7 32.3 74.7 72.6v23.7l-34.1 10.1-22.9-10.7v-20.6c.1-9.6-7.9-17.6-17.7-17.6zm167.6 123.6c0 41.4-33.5 74.9-74.9 74.9-41.2 0-74.9-33.2-74.9-74.2V263l22.9 10.7 34.1-10.1v47.1c0 9.8 8 17.6 17.8 17.6s17.8-7.9 17.8-17.6v-48h57.3c-.1 45.9-.1 46.4-.1 46.4z"]
  105770. };
  105771. var faInternetExplorer = {
  105772. prefix: 'fab',
  105773. iconName: 'internet-explorer',
  105774. icon: [512, 512, [], "f26b", "M483.049 159.706c10.855-24.575 21.424-60.438 21.424-87.871 0-72.722-79.641-98.371-209.673-38.577-107.632-7.181-211.221 73.67-237.098 186.457 30.852-34.862 78.271-82.298 121.977-101.158C125.404 166.85 79.128 228.002 43.992 291.725 23.246 329.651 0 390.94 0 436.747c0 98.575 92.854 86.5 180.251 42.006 31.423 15.43 66.559 15.573 101.695 15.573 97.124 0 184.249-54.294 216.814-146.022H377.927c-52.509 88.593-196.819 52.996-196.819-47.436H509.9c6.407-43.581-1.655-95.715-26.851-141.162zM64.559 346.877c17.711 51.15 53.703 95.871 100.266 123.304-88.741 48.94-173.267 29.096-100.266-123.304zm115.977-108.873c2-55.151 50.276-94.871 103.98-94.871 53.418 0 101.981 39.72 103.981 94.871H180.536zm184.536-187.6c21.425-10.287 48.563-22.003 72.558-22.003 31.422 0 54.274 21.717 54.274 53.722 0 20.003-7.427 49.007-14.569 67.867-26.28-42.292-65.986-81.584-112.263-99.586z"]
  105775. };
  105776. var faTelegram = {
  105777. prefix: 'fab',
  105778. iconName: 'telegram',
  105779. icon: [496, 512, [62462, "telegram-plane"], "f2c6", "M248,8C111.033,8,0,119.033,0,256S111.033,504,248,504,496,392.967,496,256,384.967,8,248,8ZM362.952,176.66c-3.732,39.215-19.881,134.378-28.1,178.3-3.476,18.584-10.322,24.816-16.948,25.425-14.4,1.326-25.338-9.517-39.287-18.661-21.827-14.308-34.158-23.215-55.346-37.177-24.485-16.135-8.612-25,5.342-39.5,3.652-3.793,67.107-61.51,68.335-66.746.153-.655.3-3.1-1.154-4.384s-3.59-.849-5.135-.5q-3.283.746-104.608,69.142-14.845,10.194-26.894,9.934c-8.855-.191-25.888-5.006-38.551-9.123-15.531-5.048-27.875-7.717-26.8-16.291q.84-6.7,18.45-13.7,108.446-47.248,144.628-62.3c68.872-28.647,83.183-33.623,92.511-33.789,2.052-.034,6.639.474,9.61,2.885a10.452,10.452,0,0,1,3.53,6.716A43.765,43.765,0,0,1,362.952,176.66Z"]
  105780. };
  105781. var faTelegramPlane = faTelegram;
  105782. var faOldRepublic = {
  105783. prefix: 'fab',
  105784. iconName: 'old-republic',
  105785. icon: [496, 512, [], "f510", "M235.76 10.23c7.5-.31 15-.28 22.5-.09 3.61.14 7.2.4 10.79.73 4.92.27 9.79 1.03 14.67 1.62 2.93.43 5.83.98 8.75 1.46 7.9 1.33 15.67 3.28 23.39 5.4 12.24 3.47 24.19 7.92 35.76 13.21 26.56 12.24 50.94 29.21 71.63 49.88 20.03 20.09 36.72 43.55 48.89 69.19 1.13 2.59 2.44 5.1 3.47 7.74 2.81 6.43 5.39 12.97 7.58 19.63 4.14 12.33 7.34 24.99 9.42 37.83.57 3.14 1.04 6.3 1.4 9.47.55 3.83.94 7.69 1.18 11.56.83 8.34.84 16.73.77 25.1-.07 4.97-.26 9.94-.75 14.89-.24 3.38-.51 6.76-.98 10.12-.39 2.72-.63 5.46-1.11 8.17-.9 5.15-1.7 10.31-2.87 15.41-4.1 18.5-10.3 36.55-18.51 53.63-15.77 32.83-38.83 62.17-67.12 85.12a246.503 246.503 0 0 1-56.91 34.86c-6.21 2.68-12.46 5.25-18.87 7.41-3.51 1.16-7.01 2.38-10.57 3.39-6.62 1.88-13.29 3.64-20.04 5-4.66.91-9.34 1.73-14.03 2.48-5.25.66-10.5 1.44-15.79 1.74-6.69.66-13.41.84-20.12.81-6.82.03-13.65-.12-20.45-.79-3.29-.23-6.57-.5-9.83-.95-2.72-.39-5.46-.63-8.17-1.11-4.12-.72-8.25-1.37-12.35-2.22-4.25-.94-8.49-1.89-12.69-3.02-8.63-2.17-17.08-5.01-25.41-8.13-10.49-4.12-20.79-8.75-30.64-14.25-2.14-1.15-4.28-2.29-6.35-3.57-11.22-6.58-21.86-14.1-31.92-22.34-34.68-28.41-61.41-66.43-76.35-108.7-3.09-8.74-5.71-17.65-7.8-26.68-1.48-6.16-2.52-12.42-3.58-18.66-.4-2.35-.61-4.73-.95-7.09-.6-3.96-.75-7.96-1.17-11.94-.8-9.47-.71-18.99-.51-28.49.14-3.51.34-7.01.7-10.51.31-3.17.46-6.37.92-9.52.41-2.81.65-5.65 1.16-8.44.7-3.94 1.3-7.9 2.12-11.82 3.43-16.52 8.47-32.73 15.26-48.18 1.15-2.92 2.59-5.72 3.86-8.59 8.05-16.71 17.9-32.56 29.49-47.06 20-25.38 45.1-46.68 73.27-62.47 7.5-4.15 15.16-8.05 23.07-11.37 15.82-6.88 32.41-11.95 49.31-15.38 3.51-.67 7.04-1.24 10.56-1.85 2.62-.47 5.28-.7 7.91-1.08 3.53-.53 7.1-.68 10.65-1.04 2.46-.24 4.91-.36 7.36-.51m8.64 24.41c-9.23.1-18.43.99-27.57 2.23-7.3 1.08-14.53 2.6-21.71 4.3-13.91 3.5-27.48 8.34-40.46 14.42-10.46 4.99-20.59 10.7-30.18 17.22-4.18 2.92-8.4 5.8-12.34 9.03-5.08 3.97-9.98 8.17-14.68 12.59-2.51 2.24-4.81 4.7-7.22 7.06-28.22 28.79-48.44 65.39-57.5 104.69-2.04 8.44-3.54 17.02-4.44 25.65-1.1 8.89-1.44 17.85-1.41 26.8.11 7.14.38 14.28 1.22 21.37.62 7.12 1.87 14.16 3.2 21.18 1.07 4.65 2.03 9.32 3.33 13.91 6.29 23.38 16.5 45.7 30.07 65.75 8.64 12.98 18.78 24.93 29.98 35.77 16.28 15.82 35.05 29.04 55.34 39.22 7.28 3.52 14.66 6.87 22.27 9.63 5.04 1.76 10.06 3.57 15.22 4.98 11.26 3.23 22.77 5.6 34.39 7.06 2.91.29 5.81.61 8.72.9 13.82 1.08 27.74 1 41.54-.43 4.45-.6 8.92-.99 13.35-1.78 3.63-.67 7.28-1.25 10.87-2.1 4.13-.98 8.28-1.91 12.36-3.07 26.5-7.34 51.58-19.71 73.58-36.2 15.78-11.82 29.96-25.76 42.12-41.28 3.26-4.02 6.17-8.31 9.13-12.55 3.39-5.06 6.58-10.25 9.6-15.54 2.4-4.44 4.74-8.91 6.95-13.45 5.69-12.05 10.28-24.62 13.75-37.49 2.59-10.01 4.75-20.16 5.9-30.45 1.77-13.47 1.94-27.1 1.29-40.65-.29-3.89-.67-7.77-1-11.66-2.23-19.08-6.79-37.91-13.82-55.8-5.95-15.13-13.53-29.63-22.61-43.13-12.69-18.8-28.24-35.68-45.97-49.83-25.05-20-54.47-34.55-85.65-42.08-7.78-1.93-15.69-3.34-23.63-4.45-3.91-.59-7.85-.82-11.77-1.24-7.39-.57-14.81-.72-22.22-.58zM139.26 83.53c13.3-8.89 28.08-15.38 43.3-20.18-3.17 1.77-6.44 3.38-9.53 5.29-11.21 6.68-21.52 14.9-30.38 24.49-6.8 7.43-12.76 15.73-17.01 24.89-3.29 6.86-5.64 14.19-6.86 21.71-.93 4.85-1.3 9.81-1.17 14.75.13 13.66 4.44 27.08 11.29 38.82 5.92 10.22 13.63 19.33 22.36 27.26 4.85 4.36 10.24 8.09 14.95 12.6 2.26 2.19 4.49 4.42 6.43 6.91 2.62 3.31 4.89 6.99 5.99 11.1.9 3.02.66 6.2.69 9.31.02 4.1-.04 8.2.03 12.3.14 3.54-.02 7.09.11 10.63.08 2.38.02 4.76.05 7.14.16 5.77.06 11.53.15 17.3.11 2.91.02 5.82.13 8.74.03 1.63.13 3.28-.03 4.91-.91.12-1.82.18-2.73.16-10.99 0-21.88-2.63-31.95-6.93-6-2.7-11.81-5.89-17.09-9.83-5.75-4.19-11.09-8.96-15.79-14.31-6.53-7.24-11.98-15.39-16.62-23.95-1.07-2.03-2.24-4.02-3.18-6.12-1.16-2.64-2.62-5.14-3.67-7.82-4.05-9.68-6.57-19.94-8.08-30.31-.49-4.44-1.09-8.88-1.2-13.35-.7-15.73.84-31.55 4.67-46.82 2.12-8.15 4.77-16.18 8.31-23.83 6.32-14.2 15.34-27.18 26.3-38.19 6.28-6.2 13.13-11.84 20.53-16.67zm175.37-20.12c2.74.74 5.41 1.74 8.09 2.68 6.36 2.33 12.68 4.84 18.71 7.96 13.11 6.44 25.31 14.81 35.82 24.97 10.2 9.95 18.74 21.6 25.14 34.34 1.28 2.75 2.64 5.46 3.81 8.26 6.31 15.1 10 31.26 11.23 47.57.41 4.54.44 9.09.45 13.64.07 11.64-1.49 23.25-4.3 34.53-1.97 7.27-4.35 14.49-7.86 21.18-3.18 6.64-6.68 13.16-10.84 19.24-6.94 10.47-15.6 19.87-25.82 27.22-10.48 7.64-22.64 13.02-35.4 15.38-3.51.69-7.08 1.08-10.66 1.21-1.85.06-3.72.16-5.56-.1-.28-2.15 0-4.31-.01-6.46-.03-3.73.14-7.45.1-11.17.19-7.02.02-14.05.21-21.07.03-2.38-.03-4.76.03-7.14.17-5.07-.04-10.14.14-15.21.1-2.99-.24-6.04.51-8.96.66-2.5 1.78-4.86 3.09-7.08 4.46-7.31 11.06-12.96 17.68-18.26 5.38-4.18 10.47-8.77 15.02-13.84 7.68-8.37 14.17-17.88 18.78-28.27 2.5-5.93 4.52-12.1 5.55-18.46.86-4.37 1.06-8.83 1.01-13.27-.02-7.85-1.4-15.65-3.64-23.17-1.75-5.73-4.27-11.18-7.09-16.45-3.87-6.93-8.65-13.31-13.96-19.2-9.94-10.85-21.75-19.94-34.6-27.1-1.85-1.02-3.84-1.82-5.63-2.97zm-100.8 58.45c.98-1.18 1.99-2.33 3.12-3.38-.61.93-1.27 1.81-1.95 2.68-3.1 3.88-5.54 8.31-7.03 13.06-.87 3.27-1.68 6.6-1.73 10-.07 2.52-.08 5.07.32 7.57 1.13 7.63 4.33 14.85 8.77 21.12 2 2.7 4.25 5.27 6.92 7.33 1.62 1.27 3.53 2.09 5.34 3.05 3.11 1.68 6.32 3.23 9.07 5.48 2.67 2.09 4.55 5.33 4.4 8.79-.01 73.67 0 147.34-.01 221.02 0 1.35-.08 2.7.04 4.04.13 1.48.82 2.83 1.47 4.15.86 1.66 1.78 3.34 3.18 4.62.85.77 1.97 1.4 3.15 1.24 1.5-.2 2.66-1.35 3.45-2.57.96-1.51 1.68-3.16 2.28-4.85.76-2.13.44-4.42.54-6.63.14-4.03-.02-8.06.14-12.09.03-5.89.03-11.77.06-17.66.14-3.62.03-7.24.11-10.86.15-4.03-.02-8.06.14-12.09.03-5.99.03-11.98.07-17.97.14-3.62.02-7.24.11-10.86.14-3.93-.02-7.86.14-11.78.03-5.99.03-11.98.06-17.97.16-3.94-.01-7.88.19-11.82.29 1.44.13 2.92.22 4.38.19 3.61.42 7.23.76 10.84.32 3.44.44 6.89.86 10.32.37 3.1.51 6.22.95 9.31.57 4.09.87 8.21 1.54 12.29 1.46 9.04 2.83 18.11 5.09 26.99 1.13 4.82 2.4 9.61 4 14.3 2.54 7.9 5.72 15.67 10.31 22.62 1.73 2.64 3.87 4.98 6.1 7.21.27.25.55.51.88.71.6.25 1.31-.07 1.7-.57.71-.88 1.17-1.94 1.7-2.93 4.05-7.8 8.18-15.56 12.34-23.31.7-1.31 1.44-2.62 2.56-3.61 1.75-1.57 3.84-2.69 5.98-3.63 2.88-1.22 5.9-2.19 9.03-2.42 6.58-.62 13.11.75 19.56 1.85 3.69.58 7.4 1.17 11.13 1.41 3.74.1 7.48.05 11.21-.28 8.55-.92 16.99-2.96 24.94-6.25 5.3-2.24 10.46-4.83 15.31-7.93 11.46-7.21 21.46-16.57 30.04-27.01 1.17-1.42 2.25-2.9 3.46-4.28-1.2 3.24-2.67 6.37-4.16 9.48-1.25 2.9-2.84 5.61-4.27 8.42-5.16 9.63-11.02 18.91-17.75 27.52-4.03 5.21-8.53 10.05-13.33 14.57-6.64 6.05-14.07 11.37-22.43 14.76-8.21 3.37-17.31 4.63-26.09 3.29-3.56-.58-7.01-1.69-10.41-2.88-2.79-.97-5.39-2.38-8.03-3.69-3.43-1.71-6.64-3.81-9.71-6.08 2.71 3.06 5.69 5.86 8.7 8.61 4.27 3.76 8.74 7.31 13.63 10.23 3.98 2.45 8.29 4.4 12.84 5.51 1.46.37 2.96.46 4.45.6-1.25 1.1-2.63 2.04-3.99 2.98-9.61 6.54-20.01 11.86-30.69 16.43-20.86 8.7-43.17 13.97-65.74 15.34-4.66.24-9.32.36-13.98.36-4.98-.11-9.97-.13-14.92-.65-11.2-.76-22.29-2.73-33.17-5.43-10.35-2.71-20.55-6.12-30.3-10.55-8.71-3.86-17.12-8.42-24.99-13.79-1.83-1.31-3.74-2.53-5.37-4.08 6.6-1.19 13.03-3.39 18.99-6.48 5.74-2.86 10.99-6.66 15.63-11.07 2.24-2.19 4.29-4.59 6.19-7.09-3.43 2.13-6.93 4.15-10.62 5.78-4.41 2.16-9.07 3.77-13.81 5.02-5.73 1.52-11.74 1.73-17.61 1.14-8.13-.95-15.86-4.27-22.51-8.98-4.32-2.94-8.22-6.43-11.96-10.06-9.93-10.16-18.2-21.81-25.66-33.86-3.94-6.27-7.53-12.75-11.12-19.22-1.05-2.04-2.15-4.05-3.18-6.1 2.85 2.92 5.57 5.97 8.43 8.88 8.99 8.97 18.56 17.44 29.16 24.48 7.55 4.9 15.67 9.23 24.56 11.03 3.11.73 6.32.47 9.47.81 2.77.28 5.56.2 8.34.3 5.05.06 10.11.04 15.16-.16 3.65-.16 7.27-.66 10.89-1.09 2.07-.25 4.11-.71 6.14-1.2 3.88-.95 8.11-.96 11.83.61 4.76 1.85 8.44 5.64 11.38 9.71 2.16 3.02 4.06 6.22 5.66 9.58 1.16 2.43 2.46 4.79 3.55 7.26 1 2.24 2.15 4.42 3.42 6.52.67 1.02 1.4 2.15 2.62 2.55 1.06-.75 1.71-1.91 2.28-3.03 2.1-4.16 3.42-8.65 4.89-13.05 2.02-6.59 3.78-13.27 5.19-20.02 2.21-9.25 3.25-18.72 4.54-28.13.56-3.98.83-7.99 1.31-11.97.87-10.64 1.9-21.27 2.24-31.94.08-1.86.24-3.71.25-5.57.01-4.35.25-8.69.22-13.03-.01-2.38-.01-4.76 0-7.13.05-5.07-.2-10.14-.22-15.21-.2-6.61-.71-13.2-1.29-19.78-.73-5.88-1.55-11.78-3.12-17.51-2.05-7.75-5.59-15.03-9.8-21.82-3.16-5.07-6.79-9.88-11.09-14.03-3.88-3.86-8.58-7.08-13.94-8.45-1.5-.41-3.06-.45-4.59-.64.07-2.99.7-5.93 1.26-8.85 1.59-7.71 3.8-15.3 6.76-22.6 1.52-4.03 3.41-7.9 5.39-11.72 3.45-6.56 7.62-12.79 12.46-18.46zm31.27 1.7c.35-.06.71-.12 1.07-.19.19 1.79.09 3.58.1 5.37v38.13c-.01 1.74.13 3.49-.15 5.22-.36-.03-.71-.05-1.06-.05-.95-3.75-1.72-7.55-2.62-11.31-.38-1.53-.58-3.09-1.07-4.59-1.7-.24-3.43-.17-5.15-.2-5.06-.01-10.13 0-15.19-.01-1.66-.01-3.32.09-4.98-.03-.03-.39-.26-.91.16-1.18 1.28-.65 2.72-.88 4.06-1.35 3.43-1.14 6.88-2.16 10.31-3.31 1.39-.48 2.9-.72 4.16-1.54.04-.56.02-1.13-.05-1.68-1.23-.55-2.53-.87-3.81-1.28-3.13-1.03-6.29-1.96-9.41-3.02-1.79-.62-3.67-1-5.41-1.79-.03-.37-.07-.73-.11-1.09 5.09-.19 10.2.06 15.3-.12 3.36-.13 6.73.08 10.09-.07.12-.39.26-.77.37-1.16 1.08-4.94 2.33-9.83 3.39-14.75zm5.97-.2c.36.05.72.12 1.08.2.98 3.85 1.73 7.76 2.71 11.61.36 1.42.56 2.88 1.03 4.27 2.53.18 5.07-.01 7.61.05 5.16.12 10.33.12 15.49.07.76-.01 1.52.03 2.28.08-.04.36-.07.72-.1 1.08-1.82.83-3.78 1.25-5.67 1.89-3.73 1.23-7.48 2.39-11.22 3.57-.57.17-1.12.42-1.67.64-.15.55-.18 1.12-.12 1.69.87.48 1.82.81 2.77 1.09 4.88 1.52 9.73 3.14 14.63 4.6.38.13.78.27 1.13.49.4.27.23.79.15 1.18-1.66.13-3.31.03-4.97.04-5.17.01-10.33-.01-15.5.01-1.61.03-3.22-.02-4.82.21-.52 1.67-.72 3.42-1.17 5.11-.94 3.57-1.52 7.24-2.54 10.78-.36.01-.71.02-1.06.06-.29-1.73-.15-3.48-.15-5.22v-38.13c.02-1.78-.08-3.58.11-5.37zM65.05 168.33c1.12-2.15 2.08-4.4 3.37-6.46-1.82 7.56-2.91 15.27-3.62 23-.8 7.71-.85 15.49-.54 23.23 1.05 19.94 5.54 39.83 14.23 57.88 2.99 5.99 6.35 11.83 10.5 17.11 6.12 7.47 12.53 14.76 19.84 21.09 4.8 4.1 9.99 7.78 15.54 10.8 3.27 1.65 6.51 3.39 9.94 4.68 5.01 2.03 10.19 3.61 15.42 4.94 3.83.96 7.78 1.41 11.52 2.71 5 1.57 9.47 4.61 13.03 8.43 4.93 5.23 8.09 11.87 10.2 18.67.99 2.9 1.59 5.91 2.17 8.92.15.75.22 1.52.16 2.29-6.5 2.78-13.26 5.06-20.26 6.18-4.11.78-8.29.99-12.46 1.08-10.25.24-20.47-1.76-30.12-5.12-3.74-1.42-7.49-2.85-11.03-4.72-8.06-3.84-15.64-8.7-22.46-14.46-2.92-2.55-5.83-5.13-8.4-8.03-9.16-9.83-16.3-21.41-21.79-33.65-2.39-5.55-4.61-11.18-6.37-16.96-1.17-3.94-2.36-7.89-3.26-11.91-.75-2.94-1.22-5.95-1.87-8.92-.46-2.14-.69-4.32-1.03-6.48-.85-5.43-1.28-10.93-1.33-16.43.11-6.18.25-12.37 1.07-18.5.4-2.86.67-5.74 1.15-8.6.98-5.7 2.14-11.37 3.71-16.93 3.09-11.65 7.48-22.95 12.69-33.84zm363.73-6.44c1.1 1.66 1.91 3.48 2.78 5.26 2.1 4.45 4.24 8.9 6.02 13.49 7.61 18.76 12.3 38.79 13.04 59.05.02 1.76.07 3.52.11 5.29.13 9.57-1.27 19.09-3.18 28.45-.73 3.59-1.54 7.17-2.58 10.69-4.04 14.72-10 29-18.41 41.78-8.21 12.57-19.01 23.55-31.84 31.41-5.73 3.59-11.79 6.64-18.05 9.19-5.78 2.19-11.71 4.03-17.8 5.11-6.4 1.05-12.91 1.52-19.4 1.23-7.92-.48-15.78-2.07-23.21-4.85-1.94-.8-3.94-1.46-5.84-2.33-.21-1.51.25-2.99.53-4.46 1.16-5.74 3.03-11.36 5.7-16.58 2.37-4.51 5.52-8.65 9.46-11.9 2.43-2.05 5.24-3.61 8.16-4.83 3.58-1.5 7.47-1.97 11.24-2.83 7.23-1.71 14.37-3.93 21.15-7 10.35-4.65 19.71-11.38 27.65-19.46 1.59-1.61 3.23-3.18 4.74-4.87 3.37-3.76 6.71-7.57 9.85-11.53 7.48-10.07 12.82-21.59 16.71-33.48 1.58-5.3 3.21-10.6 4.21-16.05.63-2.87 1.04-5.78 1.52-8.68.87-6.09 1.59-12.22 1.68-18.38.12-6.65.14-13.32-.53-19.94-.73-7.99-1.87-15.96-3.71-23.78z"]
  105786. };
  105787. var faSquareWhatsapp = {
  105788. prefix: 'fab',
  105789. iconName: 'square-whatsapp',
  105790. icon: [448, 512, ["whatsapp-square"], "f40c", "M224 122.8c-72.7 0-131.8 59.1-131.9 131.8 0 24.9 7 49.2 20.2 70.1l3.1 5-13.3 48.6 49.9-13.1 4.8 2.9c20.2 12 43.4 18.4 67.1 18.4h.1c72.6 0 133.3-59.1 133.3-131.8 0-35.2-15.2-68.3-40.1-93.2-25-25-58-38.7-93.2-38.7zm77.5 188.4c-3.3 9.3-19.1 17.7-26.7 18.8-12.6 1.9-22.4.9-47.5-9.9-39.7-17.2-65.7-57.2-67.7-59.8-2-2.6-16.2-21.5-16.2-41s10.2-29.1 13.9-33.1c3.6-4 7.9-5 10.6-5 2.6 0 5.3 0 7.6.1 2.4.1 5.7-.9 8.9 6.8 3.3 7.9 11.2 27.4 12.2 29.4s1.7 4.3.3 6.9c-7.6 15.2-15.7 14.6-11.6 21.6 15.3 26.3 30.6 35.4 53.9 47.1 4 2 6.3 1.7 8.6-1 2.3-2.6 9.9-11.6 12.5-15.5 2.6-4 5.3-3.3 8.9-2 3.6 1.3 23.1 10.9 27.1 12.9s6.6 3 7.6 4.6c.9 1.9.9 9.9-2.4 19.1zM400 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-48zM223.9 413.2c-26.6 0-52.7-6.7-75.8-19.3L64 416l22.5-82.2c-13.9-24-21.2-51.3-21.2-79.3C65.4 167.1 136.5 96 223.9 96c42.4 0 82.2 16.5 112.2 46.5 29.9 30 47.9 69.8 47.9 112.2 0 87.4-72.7 158.5-160.1 158.5z"]
  105791. };
  105792. var faWhatsappSquare = faSquareWhatsapp;
  105793. var faNodeJs = {
  105794. prefix: 'fab',
  105795. iconName: 'node-js',
  105796. icon: [448, 512, [], "f3d3", "M224 508c-6.7 0-13.5-1.8-19.4-5.2l-61.7-36.5c-9.2-5.2-4.7-7-1.7-8 12.3-4.3 14.8-5.2 27.9-12.7 1.4-.8 3.2-.5 4.6.4l47.4 28.1c1.7 1 4.1 1 5.7 0l184.7-106.6c1.7-1 2.8-3 2.8-5V149.3c0-2.1-1.1-4-2.9-5.1L226.8 37.7c-1.7-1-4-1-5.7 0L36.6 144.3c-1.8 1-2.9 3-2.9 5.1v213.1c0 2 1.1 4 2.9 4.9l50.6 29.2c27.5 13.7 44.3-2.4 44.3-18.7V167.5c0-3 2.4-5.3 5.4-5.3h23.4c2.9 0 5.4 2.3 5.4 5.3V378c0 36.6-20 57.6-54.7 57.6-10.7 0-19.1 0-42.5-11.6l-48.4-27.9C8.1 389.2.7 376.3.7 362.4V149.3c0-13.8 7.4-26.8 19.4-33.7L204.6 9c11.7-6.6 27.2-6.6 38.8 0l184.7 106.7c12 6.9 19.4 19.8 19.4 33.7v213.1c0 13.8-7.4 26.7-19.4 33.7L243.4 502.8c-5.9 3.4-12.6 5.2-19.4 5.2zm149.1-210.1c0-39.9-27-50.5-83.7-58-57.4-7.6-63.2-11.5-63.2-24.9 0-11.1 4.9-25.9 47.4-25.9 37.9 0 51.9 8.2 57.7 33.8.5 2.4 2.7 4.2 5.2 4.2h24c1.5 0 2.9-.6 3.9-1.7s1.5-2.6 1.4-4.1c-3.7-44.1-33-64.6-92.2-64.6-52.7 0-84.1 22.2-84.1 59.5 0 40.4 31.3 51.6 81.8 56.6 60.5 5.9 65.2 14.8 65.2 26.7 0 20.6-16.6 29.4-55.5 29.4-48.9 0-59.6-12.3-63.2-36.6-.4-2.6-2.6-4.5-5.3-4.5h-23.9c-3 0-5.3 2.4-5.3 5.3 0 31.1 16.9 68.2 97.8 68.2 58.4-.1 92-23.2 92-63.4z"]
  105797. };
  105798. var faEdgeLegacy = {
  105799. prefix: 'fab',
  105800. iconName: 'edge-legacy',
  105801. icon: [512, 512, [], "e078", "M25.71,228.16l.35-.48c0,.16,0,.32-.07.48Zm460.58,15.51c0-44-7.76-84.46-28.81-122.4C416.5,47.88,343.91,8,258.89,8,119,7.72,40.62,113.21,26.06,227.68c42.42-61.31,117.07-121.38,220.37-125,0,0,109.67,0,99.42,105H170c6.37-37.39,18.55-59,34.34-78.93-75.05,34.9-121.85,96.1-120.75,188.32.83,71.45,50.13,144.84,120.75,172,83.35,31.84,192.77,7.2,240.13-21.33V363.31C363.6,419.8,173.6,424.23,172.21,295.74H486.29V243.67Z"]
  105802. };
  105803. var faSlack = {
  105804. prefix: 'fab',
  105805. iconName: 'slack',
  105806. icon: [448, 512, [62447, "slack-hash"], "f198", "M94.12 315.1c0 25.9-21.16 47.06-47.06 47.06S0 341 0 315.1c0-25.9 21.16-47.06 47.06-47.06h47.06v47.06zm23.72 0c0-25.9 21.16-47.06 47.06-47.06s47.06 21.16 47.06 47.06v117.84c0 25.9-21.16 47.06-47.06 47.06s-47.06-21.16-47.06-47.06V315.1zm47.06-188.98c-25.9 0-47.06-21.16-47.06-47.06S139 32 164.9 32s47.06 21.16 47.06 47.06v47.06H164.9zm0 23.72c25.9 0 47.06 21.16 47.06 47.06s-21.16 47.06-47.06 47.06H47.06C21.16 243.96 0 222.8 0 196.9s21.16-47.06 47.06-47.06H164.9zm188.98 47.06c0-25.9 21.16-47.06 47.06-47.06 25.9 0 47.06 21.16 47.06 47.06s-21.16 47.06-47.06 47.06h-47.06V196.9zm-23.72 0c0 25.9-21.16 47.06-47.06 47.06-25.9 0-47.06-21.16-47.06-47.06V79.06c0-25.9 21.16-47.06 47.06-47.06 25.9 0 47.06 21.16 47.06 47.06V196.9zM283.1 385.88c25.9 0 47.06 21.16 47.06 47.06 0 25.9-21.16 47.06-47.06 47.06-25.9 0-47.06-21.16-47.06-47.06v-47.06h47.06zm0-23.72c-25.9 0-47.06-21.16-47.06-47.06 0-25.9 21.16-47.06 47.06-47.06h117.84c25.9 0 47.06 21.16 47.06 47.06 0 25.9-21.16 47.06-47.06 47.06H283.1z"]
  105807. };
  105808. var faSlackHash = faSlack;
  105809. var faMedrt = {
  105810. prefix: 'fab',
  105811. iconName: 'medrt',
  105812. icon: [544, 512, [], "f3c8", "M113.7 256c0 121.8 83.9 222.8 193.5 241.1-18.7 4.5-38.2 6.9-58.2 6.9C111.4 504 0 393 0 256S111.4 8 248.9 8c20.1 0 39.6 2.4 58.2 6.9C197.5 33.2 113.7 134.2 113.7 256m297.4 100.3c-77.7 55.4-179.6 47.5-240.4-14.6 5.5 14.1 12.7 27.7 21.7 40.5 61.6 88.2 182.4 109.3 269.7 47 87.3-62.3 108.1-184.3 46.5-272.6-9-12.9-19.3-24.3-30.5-34.2 37.4 78.8 10.7 178.5-67 233.9m-218.8-244c-1.4 1-2.7 2.1-4 3.1 64.3-17.8 135.9 4 178.9 60.5 35.7 47 42.9 106.6 24.4 158 56.7-56.2 67.6-142.1 22.3-201.8-50-65.5-149.1-74.4-221.6-19.8M296 224c-4.4 0-8-3.6-8-8v-40c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v40c0 4.4-3.6 8-8 8h-40c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h40c4.4 0 8 3.6 8 8v40c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-40c0-4.4 3.6-8 8-8h40c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8h-40z"]
  105813. };
  105814. var faUsb = {
  105815. prefix: 'fab',
  105816. iconName: 'usb',
  105817. icon: [640, 512, [], "f287", "M641.5 256c0 3.1-1.7 6.1-4.5 7.5L547.9 317c-1.4.8-2.8 1.4-4.5 1.4-1.4 0-3.1-.3-4.5-1.1-2.8-1.7-4.5-4.5-4.5-7.8v-35.6H295.7c25.3 39.6 40.5 106.9 69.6 106.9H392V354c0-5 3.9-8.9 8.9-8.9H490c5 0 8.9 3.9 8.9 8.9v89.1c0 5-3.9 8.9-8.9 8.9h-89.1c-5 0-8.9-3.9-8.9-8.9v-26.7h-26.7c-75.4 0-81.1-142.5-124.7-142.5H140.3c-8.1 30.6-35.9 53.5-69 53.5C32 327.3 0 295.3 0 256s32-71.3 71.3-71.3c33.1 0 61 22.8 69 53.5 39.1 0 43.9 9.5 74.6-60.4C255 88.7 273 95.7 323.8 95.7c7.5-20.9 27-35.6 50.4-35.6 29.5 0 53.5 23.9 53.5 53.5s-23.9 53.5-53.5 53.5c-23.4 0-42.9-14.8-50.4-35.6H294c-29.1 0-44.3 67.4-69.6 106.9h310.1v-35.6c0-3.3 1.7-6.1 4.5-7.8 2.8-1.7 6.4-1.4 8.9.3l89.1 53.5c2.8 1.1 4.5 4.1 4.5 7.2z"]
  105818. };
  105819. var faTumblr = {
  105820. prefix: 'fab',
  105821. iconName: 'tumblr',
  105822. icon: [320, 512, [], "f173", "M309.8 480.3c-13.6 14.5-50 31.7-97.4 31.7-120.8 0-147-88.8-147-140.6v-144H17.9c-5.5 0-10-4.5-10-10v-68c0-7.2 4.5-13.6 11.3-16 62-21.8 81.5-76 84.3-117.1.8-11 6.5-16.3 16.1-16.3h70.9c5.5 0 10 4.5 10 10v115.2h83c5.5 0 10 4.4 10 9.9v81.7c0 5.5-4.5 10-10 10h-83.4V360c0 34.2 23.7 53.6 68 35.8 4.8-1.9 9-3.2 12.7-2.2 3.5.9 5.8 3.4 7.4 7.9l22 64.3c1.8 5 3.3 10.6-.4 14.5z"]
  105823. };
  105824. var faVaadin = {
  105825. prefix: 'fab',
  105826. iconName: 'vaadin',
  105827. icon: [448, 512, [], "f408", "M224.5 140.7c1.5-17.6 4.9-52.7 49.8-52.7h98.6c20.7 0 32.1-7.8 32.1-21.6V54.1c0-12.2 9.3-22.1 21.5-22.1S448 41.9 448 54.1v36.5c0 42.9-21.5 62-66.8 62H280.7c-30.1 0-33 14.7-33 27.1 0 1.3-.1 2.5-.2 3.7-.7 12.3-10.9 22.2-23.4 22.2s-22.7-9.8-23.4-22.2c-.1-1.2-.2-2.4-.2-3.7 0-12.3-3-27.1-33-27.1H66.8c-45.3 0-66.8-19.1-66.8-62V54.1C0 41.9 9.4 32 21.6 32s21.5 9.9 21.5 22.1v12.3C43.1 80.2 54.5 88 75.2 88h98.6c44.8 0 48.3 35.1 49.8 52.7h.9zM224 456c11.5 0 21.4-7 25.7-16.3 1.1-1.8 97.1-169.6 98.2-171.4 11.9-19.6-3.2-44.3-27.2-44.3-13.9 0-23.3 6.4-29.8 20.3L224 362l-66.9-117.7c-6.4-13.9-15.9-20.3-29.8-20.3-24 0-39.1 24.6-27.2 44.3 1.1 1.9 97.1 169.6 98.2 171.4 4.3 9.3 14.2 16.3 25.7 16.3z"]
  105828. };
  105829. var faQuora = {
  105830. prefix: 'fab',
  105831. iconName: 'quora',
  105832. icon: [448, 512, [], "f2c4", "M440.5 386.7h-29.3c-1.5 13.5-10.5 30.8-33 30.8-20.5 0-35.3-14.2-49.5-35.8 44.2-34.2 74.7-87.5 74.7-153C403.5 111.2 306.8 32 205 32 105.3 32 7.3 111.7 7.3 228.7c0 134.1 131.3 221.6 249 189C276 451.3 302 480 351.5 480c81.8 0 90.8-75.3 89-93.3zM297 329.2C277.5 300 253.3 277 205.5 277c-30.5 0-54.3 10-69 22.8l12.2 24.3c6.2-3 13-4 19.8-4 35.5 0 53.7 30.8 69.2 61.3-10 3-20.7 4.2-32.7 4.2-75 0-107.5-53-107.5-156.7C97.5 124.5 130 71 205 71c76.2 0 108.7 53.5 108.7 157.7.1 41.8-5.4 75.6-16.7 100.5z"]
  105833. };
  105834. var faReacteurope = {
  105835. prefix: 'fab',
  105836. iconName: 'reacteurope',
  105837. icon: [576, 512, [], "f75d", "M250.6 211.74l5.8-4.1 5.8 4.1-2.1-6.8 5.7-4.3-7.1-.1-2.3-6.8-2.3 6.8-7.2.1 5.7 4.3zm63.7 0l5.8-4.1 5.8 4.1-2.1-6.8 5.7-4.3-7.2-.1-2.3-6.8-2.3 6.8-7.2.1 5.7 4.3zm-91.3 50.5h-3.4c-4.8 0-3.8 4-3.8 12.1 0 4.7-2.3 6.1-5.8 6.1s-5.8-1.4-5.8-6.1v-36.6c0-4.7 2.3-6.1 5.8-6.1s5.8 1.4 5.8 6.1c0 7.2-.7 10.5 3.8 10.5h3.4c4.7-.1 3.8-3.9 3.8-12.3 0-9.9-6.7-14.1-16.8-14.1h-.2c-10.1 0-16.8 4.2-16.8 14.1V276c0 10.4 6.7 14.1 16.8 14.1h.2c10.1 0 16.8-3.8 16.8-14.1 0-9.86 1.1-13.76-3.8-13.76zm-80.7 17.4h-14.7v-19.3H139c2.5 0 3.8-1.3 3.8-3.8v-2.1c0-2.5-1.3-3.8-3.8-3.8h-11.4v-18.3H142c2.5 0 3.8-1.3 3.8-3.8v-2.1c0-2.5-1.3-3.8-3.8-3.8h-21.7c-2.4-.1-3.7 1.3-3.7 3.8v59.1c0 2.5 1.3 3.8 3.8 3.8h21.9c2.5 0 3.8-1.3 3.8-3.8v-2.1c0-2.5-1.3-3.8-3.8-3.8zm-42-18.5c4.6-2 7.3-6 7.3-12.4v-11.9c0-10.1-6.7-14.1-16.8-14.1H77.4c-2.5 0-3.8 1.3-3.8 3.8v59.1c0 2.5 1.3 3.8 3.8 3.8h3.4c2.5 0 3.8-1.3 3.8-3.8v-22.9h5.6l7.4 23.5a4.1 4.1 0 0 0 4.3 3.2h3.3c2.8 0 4-1.8 3.2-4.4zm-3.8-14c0 4.8-2.5 6.1-6.1 6.1h-5.8v-20.9h5.8c3.6 0 6.1 1.3 6.1 6.1zM176 226a3.82 3.82 0 0 0-4.2-3.4h-6.9a3.68 3.68 0 0 0-4 3.4l-11 59.2c-.5 2.7.9 4.1 3.4 4.1h3a3.74 3.74 0 0 0 4.1-3.5l1.8-11.3h12.2l1.8 11.3a3.74 3.74 0 0 0 4.1 3.5h3.5c2.6 0 3.9-1.4 3.4-4.1zm-12.3 39.3l4.7-29.7 4.7 29.7zm89.3 20.2v-53.2h7.5c2.5 0 3.8-1.3 3.8-3.8v-2.1c0-2.5-1.3-3.8-3.8-3.8h-25.8c-2.5 0-3.8 1.3-3.8 3.8v2.1c0 2.5 1.3 3.8 3.8 3.8h7.3v53.2c0 2.5 1.3 3.8 3.8 3.8h3.4c2.5.04 3.8-1.3 3.8-3.76zm248-.8h-19.4V258h16.1a1.89 1.89 0 0 0 2-2v-.8a1.89 1.89 0 0 0-2-2h-16.1v-25.8h19.1a1.89 1.89 0 0 0 2-2v-.8a1.77 1.77 0 0 0-2-1.9h-22.2a1.62 1.62 0 0 0-2 1.8v63a1.81 1.81 0 0 0 2 1.9H501a1.81 1.81 0 0 0 2-1.9v-.8a1.84 1.84 0 0 0-2-1.96zm-93.1-62.9h-.8c-10.1 0-15.3 4.7-15.3 14.1V276c0 9.3 5.2 14.1 15.3 14.1h.8c10.1 0 15.3-4.8 15.3-14.1v-40.1c0-9.36-5.2-14.06-15.3-14.06zm10.2 52.4c-.1 8-3 11.1-10.5 11.1s-10.5-3.1-10.5-11.1v-36.6c0-7.9 3-11.1 10.5-11.1s10.5 3.2 10.5 11.1zm-46.5-14.5c6.1-1.6 9.2-6.1 9.2-13.3v-9.7c0-9.4-5.2-14.1-15.3-14.1h-13.7a1.81 1.81 0 0 0-2 1.9v63a1.81 1.81 0 0 0 2 1.9h1.2a1.74 1.74 0 0 0 1.9-1.9v-26.9h11.6l10.4 27.2a2.32 2.32 0 0 0 2.3 1.5h1.5c1.4 0 2-1 1.5-2.3zm-6.4-3.9H355v-28.5h10.2c7.5 0 10.5 3.1 10.5 11.1v6.4c0 7.84-3 11.04-10.5 11.04zm85.9-33.1h-13.7a1.62 1.62 0 0 0-2 1.8v63a1.81 1.81 0 0 0 2 1.9h1.2a1.74 1.74 0 0 0 1.9-1.9v-26.1h10.6c10.1 0 15.3-4.8 15.3-14.1v-10.5c0-9.4-5.2-14.1-15.3-14.1zm10.2 22.8c0 7.9-3 11.1-10.5 11.1h-10.2v-29.2h10.2c7.5-.1 10.5 3.1 10.5 11zM259.5 308l-2.3-6.8-2.3 6.8-7.1.1 5.7 4.3-2.1 6.8 5.8-4.1 5.8 4.1-2.1-6.8 5.7-4.3zm227.6-136.1a364.42 364.42 0 0 0-35.6-11.3c19.6-78 11.6-134.7-22.3-153.9C394.7-12.66 343.3 11 291 61.94q5.1 4.95 10.2 10.2c82.5-80 119.6-53.5 120.9-52.8 22.4 12.7 36 55.8 15.5 137.8a587.83 587.83 0 0 0-84.6-13C281.1 43.64 212.4 2 170.8 2 140 2 127 23 123.2 29.74c-18.1 32-13.3 84.2.1 133.8-70.5 20.3-120.7 54.1-120.3 95 .5 59.6 103.2 87.8 122.1 92.8-20.5 81.9-10.1 135.6 22.3 153.9 28 15.8 75.1 6 138.2-55.2q-5.1-4.95-10.2-10.2c-82.5 80-119.7 53.5-120.9 52.8-22.3-12.6-36-55.6-15.5-137.9 12.4 2.9 41.8 9.5 84.6 13 71.9 100.4 140.6 142 182.1 142 30.8 0 43.8-21 47.6-27.7 18-31.9 13.3-84.1-.1-133.8 152.3-43.8 156.2-130.2 33.9-176.3zM135.9 36.84c2.9-5.1 11.9-20.3 34.9-20.3 36.8 0 98.8 39.6 163.3 126.2a714 714 0 0 0-93.9.9 547.76 547.76 0 0 1 42.2-52.4Q277.3 86 272.2 81a598.25 598.25 0 0 0-50.7 64.2 569.69 569.69 0 0 0-84.4 14.6c-.2-1.4-24.3-82.2-1.2-123zm304.8 438.3c-2.9 5.1-11.8 20.3-34.9 20.3-36.7 0-98.7-39.4-163.3-126.2a695.38 695.38 0 0 0 93.9-.9 547.76 547.76 0 0 1-42.2 52.4q5.1 5.25 10.2 10.2a588.47 588.47 0 0 0 50.7-64.2c47.3-4.7 80.3-13.5 84.4-14.6 22.7 84.4 4.5 117 1.2 123zm9.1-138.6c-3.6-11.9-7.7-24.1-12.4-36.4a12.67 12.67 0 0 1-10.7-5.7l-.1.1a19.61 19.61 0 0 1-5.4 3.6c5.7 14.3 10.6 28.4 14.7 42.2a535.3 535.3 0 0 1-72 13c3.5-5.3 17.2-26.2 32.2-54.2a24.6 24.6 0 0 1-6-3.2c-1.1 1.2-3.6 4.2-10.9 4.2-6.2 11.2-17.4 30.9-33.9 55.2a711.91 711.91 0 0 1-112.4 1c-7.9-11.2-21.5-31.1-36.8-57.8a21 21 0 0 1-3-1.5c-1.9 1.6-3.9 3.2-12.6 3.2 6.3 11.2 17.5 30.7 33.8 54.6a548.81 548.81 0 0 1-72.2-11.7q5.85-21 14.1-42.9c-3.2 0-5.4.2-8.4-1a17.58 17.58 0 0 1-6.9 1c-4.9 13.4-9.1 26.5-12.7 39.4C-31.7 297-12.1 216 126.7 175.64c3.6 11.9 7.7 24.1 12.4 36.4 10.4 0 12.9 3.4 14.4 5.3a12 12 0 0 1 2.3-2.2c-5.8-14.7-10.9-29.2-15.2-43.3 7-1.8 32.4-8.4 72-13-15.9 24.3-26.7 43.9-32.8 55.3a14.22 14.22 0 0 1 6.4 8 23.42 23.42 0 0 1 10.2-8.4c6.5-11.7 17.9-31.9 34.8-56.9a711.72 711.72 0 0 1 112.4-1c31.5 44.6 28.9 48.1 42.5 64.5a21.42 21.42 0 0 1 10.4-7.4c-6.4-11.4-17.6-31-34.3-55.5 40.4 4.1 65 10 72.2 11.7-4 14.4-8.9 29.2-14.6 44.2a20.74 20.74 0 0 1 6.8 4.3l.1.1a12.72 12.72 0 0 1 8.9-5.6c4.9-13.4 9.2-26.6 12.8-39.5a359.71 359.71 0 0 1 34.5 11c106.1 39.9 74 87.9 72.6 90.4-19.8 35.1-80.1 55.2-105.7 62.5zm-114.4-114h-1.2a1.74 1.74 0 0 0-1.9 1.9v49.8c0 7.9-2.6 11.1-10.1 11.1s-10.1-3.1-10.1-11.1v-49.8a1.69 1.69 0 0 0-1.9-1.9H309a1.81 1.81 0 0 0-2 1.9v51.5c0 9.6 5 14.1 15.1 14.1h.4c10.1 0 15.1-4.6 15.1-14.1v-51.5a2 2 0 0 0-2.2-1.9zM321.7 308l-2.3-6.8-2.3 6.8-7.1.1 5.7 4.3-2.1 6.8 5.8-4.1 5.8 4.1-2.1-6.8 5.7-4.3zm-31.1 7.4l-2.3-6.8-2.3 6.8-7.1.1 5.7 4.3-2.1 6.8 5.8-4.1 5.8 4.1-2.1-6.8 5.7-4.3zm5.1-30.8h-19.4v-26.7h16.1a1.89 1.89 0 0 0 2-2v-.8a1.89 1.89 0 0 0-2-2h-16.1v-25.8h19.1a1.89 1.89 0 0 0 2-2v-.8a1.77 1.77 0 0 0-2-1.9h-22.2a1.81 1.81 0 0 0-2 1.9v63a1.81 1.81 0 0 0 2 1.9h22.5a1.77 1.77 0 0 0 2-1.9v-.8a1.83 1.83 0 0 0-2-2.06zm-7.4-99.4L286 192l-7.1.1 5.7 4.3-2.1 6.8 5.8-4.1 5.8 4.1-2.1-6.8 5.7-4.3-7.1-.1z"]
  105838. };
  105839. var faMedium = {
  105840. prefix: 'fab',
  105841. iconName: 'medium',
  105842. icon: [640, 512, [62407, "medium-m"], "f23a", "M180.5,74.262C80.813,74.262,0,155.633,0,256S80.819,437.738,180.5,437.738,361,356.373,361,256,280.191,74.262,180.5,74.262Zm288.25,10.646c-49.845,0-90.245,76.619-90.245,171.095s40.406,171.1,90.251,171.1,90.251-76.619,90.251-171.1H559C559,161.5,518.6,84.908,468.752,84.908Zm139.506,17.821c-17.526,0-31.735,68.628-31.735,153.274s14.2,153.274,31.735,153.274S640,340.631,640,256C640,171.351,625.785,102.729,608.258,102.729Z"]
  105843. };
  105844. var faMediumM = faMedium;
  105845. var faAmilia = {
  105846. prefix: 'fab',
  105847. iconName: 'amilia',
  105848. icon: [448, 512, [], "f36d", "M240.1 32c-61.9 0-131.5 16.9-184.2 55.4-5.1 3.1-9.1 9.2-7.2 19.4 1.1 5.1 5.1 27.4 10.2 39.6 4.1 10.2 14.2 10.2 20.3 6.1 32.5-22.3 96.5-47.7 152.3-47.7 57.9 0 58.9 28.4 58.9 73.1v38.5C203 227.7 78.2 251 46.7 264.2 11.2 280.5 16.3 357.7 16.3 376s15.2 104 124.9 104c47.8 0 113.7-20.7 153.3-42.1v25.4c0 3 2.1 8.2 6.1 9.1 3.1 1 50.7 2 59.9 2s62.5.3 66.5-.7c4.1-1 5.1-6.1 5.1-9.1V168c-.1-80.3-57.9-136-192-136zm50.2 348c-21.4 13.2-48.7 24.4-79.1 24.4-52.8 0-58.9-33.5-59-44.7 0-12.2-3-42.7 18.3-52.9 24.3-13.2 75.1-29.4 119.8-33.5z"]
  105849. };
  105850. var faMixcloud = {
  105851. prefix: 'fab',
  105852. iconName: 'mixcloud',
  105853. icon: [640, 512, [], "f289", "M212.98 346.566H179.789V195.114L185.973 173.47H175.262L137.127 346.566H76.1069L37.7323 173.47H27.276L33.1913 195.114V346.566H0V165H65.6506L102.248 338.096H110.747L147.329 165H212.98L212.98 346.566ZM544.459 283.589L458.434 345.655V307.534L531.329 255.776L458.434 204.017V165.896L544.459 228.231H553.721L640 165.896V204.017L566.866 255.776L640 307.549V345.655L553.721 283.589H544.459ZM430.157 272.311H248.113V239.255H430.157V272.311Z"]
  105854. };
  105855. var faFlipboard = {
  105856. prefix: 'fab',
  105857. iconName: 'flipboard',
  105858. icon: [448, 512, [], "f44d", "M0 32v448h448V32H0zm358.4 179.2h-89.6v89.6h-89.6v89.6H89.6V121.6h268.8v89.6z"]
  105859. };
  105860. var faViacoin = {
  105861. prefix: 'fab',
  105862. iconName: 'viacoin',
  105863. icon: [384, 512, [], "f237", "M384 32h-64l-80.7 192h-94.5L64 32H0l48 112H0v48h68.5l13.8 32H0v48h102.8L192 480l89.2-208H384v-48h-82.3l13.8-32H384v-48h-48l48-112zM192 336l-27-64h54l-27 64z"]
  105864. };
  105865. var faCriticalRole = {
  105866. prefix: 'fab',
  105867. iconName: 'critical-role',
  105868. icon: [448, 512, [], "f6c9", "M225.82 0c.26.15 216.57 124.51 217.12 124.72 3 1.18 3.7 3.46 3.7 6.56q-.11 125.17 0 250.36a5.88 5.88 0 0 1-3.38 5.78c-21.37 12-207.86 118.29-218.93 124.58h-3C142 466.34 3.08 386.56 2.93 386.48a3.29 3.29 0 0 1-1.88-3.24c0-.87 0-225.94-.05-253.1a5 5 0 0 1 2.93-4.93C27.19 112.11 213.2 6 224.07 0zM215.4 20.42l-.22-.16Q118.06 75.55 21 130.87c0 .12.08.23.13.35l30.86 11.64c-7.71 6-8.32 6-10.65 5.13-.1 0-24.17-9.28-26.8-10v230.43c.88-1.41 64.07-110.91 64.13-111 1.62-2.82 3-1.92 9.12-1.52 1.4.09 1.48.22.78 1.42-41.19 71.33-36.4 63-67.48 116.94-.81 1.4-.61 1.13 1.25 1.13h186.5c1.44 0 1.69-.23 1.7-1.64v-8.88c0-1.34 2.36-.81-18.37-1-7.46-.07-14.14-3.22-21.38-12.7-7.38-9.66-14.62-19.43-21.85-29.21-2.28-3.08-3.45-2.38-16.76-2.38-1.75 0-1.78 0-1.76 1.82.29 26.21.15 25.27 1 32.66.52 4.37 2.16 4.2 9.69 4.81 3.14.26 3.88 4.08.52 4.92-1.57.39-31.6.51-33.67-.1a2.42 2.42 0 0 1 .3-4.73c3.29-.76 6.16.81 6.66-4.44 1.3-13.66 1.17-9 1.1-79.42 0-10.82-.35-12.58-5.36-13.55-1.22-.24-3.54-.16-4.69-.55-2.88-1-2-4.84 1.77-4.85 33.67 0 46.08-1.07 56.06 4.86 7.74 4.61 12 11.48 12.51 20.4.88 14.59-6.51 22.35-15 32.59a1.46 1.46 0 0 0 0 2.22c2.6 3.25 5 6.63 7.71 9.83 27.56 33.23 24.11 30.54 41.28 33.06.89.13 1-.42 1-1.15v-11c0-1 .32-1.43 1.41-1.26a72.37 72.37 0 0 0 23.58-.3c1.08-.15 1.5.2 1.48 1.33 0 .11.88 26.69.87 26.8-.05 1.52.67 1.62 1.89 1.62h186.71Q386.51 304.6 346 234.33c2.26-.66-.4 0 6.69-1.39 2-.39 2.05-.41 3.11 1.44 7.31 12.64 77.31 134 77.37 134.06V138c-1.72.5-103.3 38.72-105.76 39.68-1.08.42-1.55.2-1.91-.88-.63-1.9-1.34-3.76-2.09-5.62-.32-.79-.09-1.13.65-1.39.1 0 95.53-35.85 103-38.77-65.42-37.57-130.56-75-196-112.6l86.82 150.39-.28.33c-9.57-.9-10.46-1.6-11.8-3.94-1-1.69-73.5-127.71-82-142.16-9.1 14.67-83.56 146.21-85.37 146.32-2.93.17-5.88.08-9.25.08q43.25-74.74 86.18-149zm51.93 129.92a37.68 37.68 0 0 0 5.54-.85c1.69-.3 2.53.2 2.6 1.92 0 .11.07 19.06-.86 20.45s-1.88 1.22-2.6-.19c-5-9.69 6.22-9.66-39.12-12-.7 0-1 .23-1 .93 0 .13 3.72 122 3.73 122.11 0 .89.52 1.2 1.21 1.51a83.92 83.92 0 0 1 8.7 4.05c7.31 4.33 11.38 10.84 12.41 19.31 1.44 11.8-2.77 35.77-32.21 37.14-2.75.13-28.26 1.08-34.14-23.25-4.66-19.26 8.26-32.7 19.89-36.4a2.45 2.45 0 0 0 2-2.66c.1-5.63 3-107.1 3.71-121.35.05-1.08-.62-1.16-1.35-1.15-32.35.52-36.75-.34-40.22 8.52-2.42 6.18-4.14 1.32-3.95.23q1.59-9 3.31-18c.4-2.11 1.43-2.61 3.43-1.86 5.59 2.11 6.72 1.7 37.25 1.92 1.73 0 1.78-.08 1.82-1.85.68-27.49.58-22.59 1-29.55a2.69 2.69 0 0 0-1.63-2.8c-5.6-2.91-8.75-7.55-8.9-13.87-.35-14.81 17.72-21.67 27.38-11.51 6.84 7.19 5.8 18.91-2.45 24.15a4.35 4.35 0 0 0-2.22 4.34c0 .59-.11-4.31 1 30.05 0 .9.43 1.12 1.24 1.11.1 0 23-.09 34.47-.37zM68.27 141.7c19.84-4.51 32.68-.56 52.49 1.69 2.76.31 3.74 1.22 3.62 4-.21 5-1.16 22.33-1.24 23.15a2.65 2.65 0 0 1-1.63 2.34c-4.06 1.7-3.61-4.45-4-7.29-3.13-22.43-73.87-32.7-74.63 25.4-.31 23.92 17 53.63 54.08 50.88 27.24-2 19-20.19 24.84-20.47a2.72 2.72 0 0 1 3 3.36c-1.83 10.85-3.42 18.95-3.45 19.15-1.54 9.17-86.7 22.09-93.35-42.06-2.71-25.85 10.44-53.37 40.27-60.15zm80 87.67h-19.49a2.57 2.57 0 0 1-2.66-1.79c2.38-3.75 5.89.92 5.86-6.14-.08-25.75.21-38 .23-40.1 0-3.42-.53-4.65-3.32-4.94-7-.72-3.11-3.37-1.11-3.38 11.84-.1 22.62-.18 30.05.72 8.77 1.07 16.71 12.63 7.93 22.62-2 2.25-4 4.42-6.14 6.73.95 1.15 6.9 8.82 17.28 19.68 2.66 2.78 6.15 3.51 9.88 3.13a2.21 2.21 0 0 0 2.23-2.12c.3-3.42.26 4.73.45-40.58 0-5.65-.34-6.58-3.23-6.83-3.95-.35-4-2.26-.69-3.37l19.09-.09c.32 0 4.49.53 1 3.38 0 .05-.16 0-.24 0-3.61.26-3.94 1-4 4.62-.27 43.93.07 40.23.41 42.82.11.84.27 2.23 5.1 2.14 2.49 0 3.86 3.37 0 3.4-10.37.08-20.74 0-31.11.07-10.67 0-13.47-6.2-24.21-20.82-1.6-2.18-8.31-2.36-8.2-.37.88 16.47 0 17.78 4 17.67 4.75-.1 4.73 3.57.83 3.55zm275-10.15c-1.21 7.13.17 10.38-5.3 10.34-61.55-.42-47.82-.22-50.72-.31a18.4 18.4 0 0 1-3.63-.73c-2.53-.6 1.48-1.23-.38-5.6-1.43-3.37-2.78-6.78-4.11-10.19a1.94 1.94 0 0 0-2-1.44 138 138 0 0 0-14.58.07 2.23 2.23 0 0 0-1.62 1.06c-1.58 3.62-3.07 7.29-4.51 11-1.27 3.23 7.86 1.32 12.19 2.16 3 .57 4.53 3.72.66 3.73H322.9c-2.92 0-3.09-3.15-.74-3.21a6.3 6.3 0 0 0 5.92-3.47c1.5-3 2.8-6 4.11-9.09 18.18-42.14 17.06-40.17 18.42-41.61a1.83 1.83 0 0 1 3 0c2.93 3.34 18.4 44.71 23.62 51.92 2 2.7 5.74 2 6.36 2 3.61.13 4-1.11 4.13-4.29.09-1.87.08 1.17.07-41.24 0-4.46-2.36-3.74-5.55-4.27-.26 0-2.56-.63-.08-3.06.21-.2-.89-.24 21.7-.15 2.32 0 5.32 2.75-1.21 3.45a2.56 2.56 0 0 0-2.66 2.83c-.07 1.63-.19 38.89.29 41.21a3.06 3.06 0 0 0 3.23 2.43c13.25.43 14.92.44 16-3.41 1.67-5.78 4.13-2.52 3.73-.19zm-104.72 64.37c-4.24 0-4.42-3.39-.61-3.41 35.91-.16 28.11.38 37.19-.65 1.68-.19 2.38.24 2.25 1.89-.26 3.39-.64 6.78-1 10.16-.25 2.16-3.2 2.61-3.4-.15-.38-5.31-2.15-4.45-15.63-5.08-1.58-.07-1.64 0-1.64 1.52V304c0 1.65 0 1.6 1.62 1.47 3.12-.25 10.31.34 15.69-1.52.47-.16 3.3-1.79 3.07 1.76 0 .21-.76 10.35-1.18 11.39-.53 1.29-1.88 1.51-2.58.32-1.17-2 0-5.08-3.71-5.3-15.42-.9-12.91-2.55-12.91 6 0 12.25-.76 16.11 3.89 16.24 16.64.48 14.4 0 16.43-5.71.84-2.37 3.5-1.77 3.18.58-.44 3.21-.85 6.43-1.23 9.64 0 .36-.16 2.4-4.66 2.39-37.16-.08-34.54-.19-35.21-.31-2.72-.51-2.2-3 .22-3.45 1.1-.19 4 .54 4.16-2.56 2.44-56.22-.07-51.34-3.91-51.33zm-.41-109.52c2.46.61 3.13 1.76 2.95 4.65-.33 5.3-.34 9-.55 9.69-.66 2.23-3.15 2.12-3.34-.27-.38-4.81-3.05-7.82-7.57-9.15-26.28-7.73-32.81 15.46-27.17 30.22 5.88 15.41 22 15.92 28.86 13.78 5.92-1.85 5.88-6.5 6.91-7.58 1.23-1.3 2.25-1.84 3.12 1.1 0 .1.57 11.89-6 12.75-1.6.21-19.38 3.69-32.68-3.39-21-11.19-16.74-35.47-6.88-45.33 14-14.06 39.91-7.06 42.32-6.47zM289.8 280.14c3.28 0 3.66 3 .16 3.43-2.61.32-5-.42-5 5.46 0 2-.19 29.05.4 41.45.11 2.29 1.15 3.52 3.44 3.65 22 1.21 14.95-1.65 18.79-6.34 1.83-2.24 2.76.84 2.76 1.08.35 13.62-4 12.39-5.19 12.4l-38.16-.19c-1.93-.23-2.06-3-.42-3.38 2-.48 4.94.4 5.13-2.8 1-15.87.57-44.65.34-47.81-.27-3.77-2.8-3.27-5.68-3.71-2.47-.38-2-3.22.34-3.22 1.45-.02 17.97-.03 23.09-.02zm-31.63-57.79c.07 4.08 2.86 3.46 6 3.58 2.61.1 2.53 3.41-.07 3.43-6.48 0-13.7 0-21.61-.06-3.84 0-3.38-3.35 0-3.37 4.49 0 3.24 1.61 3.41-45.54 0-5.08-3.27-3.54-4.72-4.23-2.58-1.23-1.36-3.09.41-3.15 1.29 0 20.19-.41 21.17.21s1.87 1.65-.42 2.86c-1 .52-3.86-.28-4.15 2.47 0 .21-.82 1.63-.07 43.8zm-36.91 274.27a2.93 2.93 0 0 0 3.26 0c17-9.79 182-103.57 197.42-112.51-.14-.43 11.26-.18-181.52-.27-1.22 0-1.57.37-1.53 1.56 0 .1 1.25 44.51 1.22 50.38a28.33 28.33 0 0 1-1.36 7.71c-.55 1.83.38-.5-13.5 32.23-.73 1.72-1 2.21-2-.08-4.19-10.34-8.28-20.72-12.57-31a23.6 23.6 0 0 1-2-10.79c.16-2.46.8-16.12 1.51-48 0-1.95 0-2-2-2h-183c2.58 1.63 178.32 102.57 196 112.76zm-90.9-188.75c0 2.4.36 2.79 2.76 3 11.54 1.17 21 3.74 25.64-7.32 6-14.46 2.66-34.41-12.48-38.84-2-.59-16-2.76-15.94 1.51.05 8.04.01 11.61.02 41.65zm105.75-15.05c0 2.13 1.07 38.68 1.09 39.13.34 9.94-25.58 5.77-25.23-2.59.08-2 1.37-37.42 1.1-39.43-14.1 7.44-14.42 40.21 6.44 48.8a17.9 17.9 0 0 0 22.39-7.07c4.91-7.76 6.84-29.47-5.43-39a2.53 2.53 0 0 1-.36.12zm-12.28-198c-9.83 0-9.73 14.75-.07 14.87s10.1-14.88.07-14.91zm-80.15 103.83c0 1.8.41 2.4 2.17 2.58 13.62 1.39 12.51-11 12.16-13.36-1.69-11.22-14.38-10.2-14.35-7.81.05 4.5-.03 13.68.02 18.59zm212.32 6.4l-6.1-15.84c-2.16 5.48-4.16 10.57-6.23 15.84z"]
  105869. };
  105870. var faSitrox = {
  105871. prefix: 'fab',
  105872. iconName: 'sitrox',
  105873. icon: [448, 512, [], "e44a", "M212.439 0.00846128V0H448V128H64C64 57.6008 141.755 0.475338 212.439 0.00846128ZM237.256 192V192.007C307.135 192.475 384 249.6 384 320H210.809V319.995C140.915 319.563 64 262.424 64 192H237.256ZM235.565 511.993C306.251 511.521 384 454.399 384 384H0V512H235.565V511.993Z"]
  105874. };
  105875. var faDiscourse = {
  105876. prefix: 'fab',
  105877. iconName: 'discourse',
  105878. icon: [448, 512, [], "f393", "M225.9 32C103.3 32 0 130.5 0 252.1 0 256 .1 480 .1 480l225.8-.2c122.7 0 222.1-102.3 222.1-223.9C448 134.3 348.6 32 225.9 32zM224 384c-19.4 0-37.9-4.3-54.4-12.1L88.5 392l22.9-75c-9.8-18.1-15.4-38.9-15.4-61 0-70.7 57.3-128 128-128s128 57.3 128 128-57.3 128-128 128z"]
  105879. };
  105880. var faJoomla = {
  105881. prefix: 'fab',
  105882. iconName: 'joomla',
  105883. icon: [448, 512, [], "f1aa", "M.6 92.1C.6 58.8 27.4 32 60.4 32c30 0 54.5 21.9 59.2 50.2 32.6-7.6 67.1.6 96.5 30l-44.3 44.3c-20.5-20.5-42.6-16.3-55.4-3.5-14.3 14.3-14.3 37.9 0 52.2l99.5 99.5-44 44.3c-87.7-87.2-49.7-49.7-99.8-99.7-26.8-26.5-35-64.8-24.8-98.9C20.4 144.6.6 120.7.6 92.1zm129.5 116.4l44.3 44.3c10-10 89.7-89.7 99.7-99.8 14.3-14.3 37.6-14.3 51.9 0 12.8 12.8 17 35-3.5 55.4l44 44.3c31.2-31.2 38.5-67.6 28.9-101.2 29.2-4.1 51.9-29.2 51.9-59.5 0-33.2-26.8-60.1-59.8-60.1-30.3 0-55.4 22.5-59.5 51.6-33.8-9.9-71.7-1.5-98.3 25.1-18.3 19.1-71.1 71.5-99.6 99.9zm266.3 152.2c8.2-32.7-.9-68.5-26.3-93.9-11.8-12.2 5 4.7-99.5-99.7l-44.3 44.3 99.7 99.7c14.3 14.3 14.3 37.6 0 51.9-12.8 12.8-35 17-55.4-3.5l-44 44.3c27.6 30.2 68 38.8 102.7 28 5.5 27.4 29.7 48.1 58.9 48.1 33 0 59.8-26.8 59.8-60.1 0-30.2-22.5-55-51.6-59.1zm-84.3-53.1l-44-44.3c-87 86.4-50.4 50.4-99.7 99.8-14.3 14.3-37.6 14.3-51.9 0-13.1-13.4-16.9-35.3 3.2-55.4l-44-44.3c-30.2 30.2-38 65.2-29.5 98.3-26.7 6-46.2 29.9-46.2 58.2C0 453.2 26.8 480 59.8 480c28.6 0 52.5-19.8 58.6-46.7 32.7 8.2 68.5-.6 94.2-26 32.1-32 12.2-12.4 99.5-99.7z"]
  105884. };
  105885. var faMastodon = {
  105886. prefix: 'fab',
  105887. iconName: 'mastodon',
  105888. icon: [448, 512, [], "f4f6", "M433 179.11c0-97.2-63.71-125.7-63.71-125.7-62.52-28.7-228.56-28.4-290.48 0 0 0-63.72 28.5-63.72 125.7 0 115.7-6.6 259.4 105.63 289.1 40.51 10.7 75.32 13 103.33 11.4 50.81-2.8 79.32-18.1 79.32-18.1l-1.7-36.9s-36.31 11.4-77.12 10.1c-40.41-1.4-83-4.4-89.63-54a102.54 102.54 0 0 1-.9-13.9c85.63 20.9 158.65 9.1 178.75 6.7 56.12-6.7 105-41.3 111.23-72.9 9.8-49.8 9-121.5 9-121.5zm-75.12 125.2h-46.63v-114.2c0-49.7-64-51.6-64 6.9v62.5h-46.33V197c0-58.5-64-56.6-64-6.9v114.2H90.19c0-122.1-5.2-147.9 18.41-175 25.9-28.9 79.82-30.8 103.83 6.1l11.6 19.5 11.6-19.5c24.11-37.1 78.12-34.8 103.83-6.1 23.71 27.3 18.4 53 18.4 175z"]
  105889. };
  105890. var faAirbnb = {
  105891. prefix: 'fab',
  105892. iconName: 'airbnb',
  105893. icon: [448, 512, [], "f834", "M224 373.12c-25.24-31.67-40.08-59.43-45-83.18-22.55-88 112.61-88 90.06 0-5.45 24.25-20.29 52-45 83.18zm138.15 73.23c-42.06 18.31-83.67-10.88-119.3-50.47 103.9-130.07 46.11-200-18.85-200-54.92 0-85.16 46.51-73.28 100.5 6.93 29.19 25.23 62.39 54.43 99.5-32.53 36.05-60.55 52.69-85.15 54.92-50 7.43-89.11-41.06-71.3-91.09 15.1-39.16 111.72-231.18 115.87-241.56 15.75-30.07 25.56-57.4 59.38-57.4 32.34 0 43.4 25.94 60.37 59.87 36 70.62 89.35 177.48 114.84 239.09 13.17 33.07-1.37 71.29-37.01 86.64zm47-136.12C280.27 35.93 273.13 32 224 32c-45.52 0-64.87 31.67-84.66 72.79C33.18 317.1 22.89 347.19 22 349.81-3.22 419.14 48.74 480 111.63 480c21.71 0 60.61-6.06 112.37-62.4 58.68 63.78 101.26 62.4 112.37 62.4 62.89.05 114.85-60.86 89.61-130.19.02-3.89-16.82-38.9-16.82-39.58z"]
  105894. };
  105895. var faWolfPackBattalion = {
  105896. prefix: 'fab',
  105897. iconName: 'wolf-pack-battalion',
  105898. icon: [512, 512, [], "f514", "M267.73 471.53l10.56 15.84 5.28-12.32 5.28 7V512c21.06-7.92 21.11-66.86 25.51-97.21 4.62-31.89-.88-92.81 81.37-149.11-8.88-23.61-12-49.43-2.64-80.05C421 189 447 196.21 456.43 239.73l-30.35 8.36c11.15 23 17 46.76 13.2 72.14L412 313.18l-6.16 33.43-18.47-7-8.8 33.39-19.35-7 26.39 21.11 8.8-28.15L419 364.2l7-35.63 26.39 14.52c.25-20 7-58.06-8.8-84.45l26.39 5.28c4-22.07-2.38-39.21-7.92-56.74l22.43 9.68c-.44-25.07-29.94-56.79-61.58-58.5-20.22-1.09-56.74-25.17-54.1-51.9 2-19.87 17.45-42.62 43.11-49.7-44 36.51-9.68 67.3 5.28 73.46 4.4-11.44 17.54-69.08 0-130.2-40.39 22.87-89.65 65.1-93.2 147.79l-58 38.71-3.52 93.25L369.78 220l7 7-17.59 3.52-44 38.71-15.84-5.28-28.1 49.25-3.52 119.64 21.11 15.84-32.55 15.84-32.55-15.84 21.11-15.84-3.52-119.64-28.15-49.26-15.84 5.28-44-38.71-17.58-3.51 7-7 107.33 59.82-3.52-93.25-58.06-38.71C185 65.1 135.77 22.87 95.3 0c-17.54 61.12-4.4 118.76 0 130.2 15-6.16 49.26-36.95 5.28-73.46 25.66 7.08 41.15 29.83 43.11 49.7 2.63 26.74-33.88 50.81-54.1 51.9-31.65 1.72-61.15 33.44-61.59 58.51l22.43-9.68c-5.54 17.53-11.91 34.67-7.92 56.74l26.39-5.28c-15.76 26.39-9.05 64.43-8.8 84.45l26.39-14.52 7 35.63 24.63-5.28 8.8 28.15L153.35 366 134 373l-8.8-33.43-18.47 7-6.16-33.43-27.27 7c-3.82-25.38 2-49.1 13.2-72.14l-30.35-8.36c9.4-43.52 35.47-50.77 63.34-54.1 9.36 30.62 6.24 56.45-2.64 80.05 82.25 56.3 76.75 117.23 81.37 149.11 4.4 30.35 4.45 89.29 25.51 97.21v-29.83l5.28-7 5.28 12.32 10.56-15.84 11.44 21.11 11.43-21.1zm79.17-95L331.06 366c7.47-4.36 13.76-8.42 19.35-12.32-.6 7.22-.27 13.84-3.51 22.84zm28.15-49.26c-.4 10.94-.9 21.66-1.76 31.67-7.85-1.86-15.57-3.8-21.11-7 8.24-7.94 15.55-16.32 22.87-24.68zm24.63 5.28c0-13.43-2.05-24.21-5.28-33.43a235 235 0 0 1-18.47 27.27zm3.52-80.94c19.44 12.81 27.8 33.66 29.91 56.3-12.32-4.53-24.63-9.31-36.95-10.56 5.06-12 6.65-28.14 7-45.74zm-1.76-45.74c.81 14.3 1.84 28.82 1.76 42.23 19.22-8.11 29.78-9.72 44-14.08-10.61-18.96-27.2-25.53-45.76-28.16zM165.68 376.52L181.52 366c-7.47-4.36-13.76-8.42-19.35-12.32.6 7.26.27 13.88 3.51 22.88zm-28.15-49.26c.4 10.94.9 21.66 1.76 31.67 7.85-1.86 15.57-3.8 21.11-7-8.24-7.93-15.55-16.31-22.87-24.67zm-24.64 5.28c0-13.43 2-24.21 5.28-33.43a235 235 0 0 0 18.47 27.27zm-3.52-80.94c-19.44 12.81-27.8 33.66-29.91 56.3 12.32-4.53 24.63-9.31 37-10.56-5-12-6.65-28.14-7-45.74zm1.76-45.74c-.81 14.3-1.84 28.82-1.76 42.23-19.22-8.11-29.78-9.72-44-14.08 10.63-18.95 27.23-25.52 45.76-28.15z"]
  105899. };
  105900. var faBuyNLarge = {
  105901. prefix: 'fab',
  105902. iconName: 'buy-n-large',
  105903. icon: [576, 512, [], "f8a6", "M288 32C133.27 32 7.79 132.32 7.79 256S133.27 480 288 480s280.21-100.32 280.21-224S442.73 32 288 32zm-85.39 357.19L64.1 390.55l77.25-290.74h133.44c63.15 0 84.93 28.65 78 72.84a60.24 60.24 0 0 1-1.5 6.85 77.39 77.39 0 0 0-17.21-1.93c-42.35 0-76.69 33.88-76.69 75.65 0 37.14 27.14 68 62.93 74.45-18.24 37.16-56.16 60.92-117.71 61.52zM358 207.11h32l-22.16 90.31h-35.41l-11.19-35.63-7.83 35.63h-37.83l26.63-90.31h31.34l15 36.75zm145.86 182.08H306.79L322.63 328a78.8 78.8 0 0 0 11.47.83c42.34 0 76.69-33.87 76.69-75.65 0-32.65-21-60.46-50.38-71.06l21.33-82.35h92.5l-53.05 205.36h103.87zM211.7 269.39H187l-13.8 56.47h24.7c16.14 0 32.11-3.18 37.94-26.65 5.56-22.31-7.99-29.82-24.14-29.82zM233 170h-21.34L200 217.71h21.37c18 0 35.38-14.64 39.21-30.14C265.23 168.71 251.07 170 233 170z"]
  105904. };
  105905. var faGulp = {
  105906. prefix: 'fab',
  105907. iconName: 'gulp',
  105908. icon: [256, 512, [], "f3ae", "M209.8 391.1l-14.1 24.6-4.6 80.2c0 8.9-28.3 16.1-63.1 16.1s-63.1-7.2-63.1-16.1l-5.8-79.4-14.9-25.4c41.2 17.3 126 16.7 165.6 0zm-196-253.3l13.6 125.5c5.9-20 20.8-47 40-55.2 6.3-2.7 12.7-2.7 18.7.9 5.2 3 9.6 9.3 10.1 11.8 1.2 6.5-2 9.1-4.5 9.1-3 0-5.3-4.6-6.8-7.3-4.1-7.3-10.3-7.6-16.9-2.8-6.9 5-12.9 13.4-17.1 20.7-5.1 8.8-9.4 18.5-12 28.2-1.5 5.6-2.9 14.6-.6 19.9 1 2.2 2.5 3.6 4.9 3.6 5 0 12.3-6.6 15.8-10.1 4.5-4.5 10.3-11.5 12.5-16l5.2-15.5c2.6-6.8 9.9-5.6 9.9 0 0 10.2-3.7 13.6-10 34.7-5.8 19.5-7.6 25.8-7.6 25.8-.7 2.8-3.4 7.5-6.3 7.5-1.2 0-2.1-.4-2.6-1.2-1-1.4-.9-5.3-.8-6.3.2-3.2 6.3-22.2 7.3-25.2-2 2.2-4.1 4.4-6.4 6.6-5.4 5.1-14.1 11.8-21.5 11.8-3.4 0-5.6-.9-7.7-2.4l7.6 79.6c2 5 39.2 17.1 88.2 17.1 49.1 0 86.3-12.2 88.2-17.1l10.9-94.6c-5.7 5.2-12.3 11.6-19.6 14.8-5.4 2.3-17.4 3.8-17.4-5.7 0-5.2 9.1-14.8 14.4-21.5 1.4-1.7 4.7-5.9 4.7-8.1 0-2.9-6-2.2-11.7 2.5-3.2 2.7-6.2 6.3-8.7 9.7-4.3 6-6.6 11.2-8.5 15.5-6.2 14.2-4.1 8.6-9.1 22-5 13.3-4.2 11.8-5.2 14-.9 1.9-2.2 3.5-4 4.5-1.9 1-4.5.9-6.1-.3-.9-.6-1.3-1.9-1.3-3.7 0-.9.1-1.8.3-2.7 1.5-6.1 7.8-18.1 15-34.3 1.6-3.7 1-2.6.8-2.3-6.2 6-10.9 8.9-14.4 10.5-5.8 2.6-13 2.6-14.5-4.1-.1-.4-.1-.8-.2-1.2-11.8 9.2-24.3 11.7-20-8.1-4.6 8.2-12.6 14.9-22.4 14.9-4.1 0-7.1-1.4-8.6-5.1-2.3-5.5 1.3-14.9 4.6-23.8 1.7-4.5 4-9.9 7.1-16.2 1.6-3.4 4.2-5.4 7.6-4.5.6.2 1.1.4 1.6.7 2.6 1.8 1.6 4.5.3 7.2-3.8 7.5-7.1 13-9.3 20.8-.9 3.3-2 9 1.5 9 2.4 0 4.7-.8 6.9-2.4 4.6-3.4 8.3-8.5 11.1-13.5 2-3.6 4.4-8.3 5.6-12.3.5-1.7 1.1-3.3 1.8-4.8 1.1-2.5 2.6-5.1 5.2-5.1 1.3 0 2.4.5 3.2 1.5 1.7 2.2 1.3 4.5.4 6.9-2 5.6-4.7 10.6-6.9 16.7-1.3 3.5-2.7 8-2.7 11.7 0 3.4 3.7 2.6 6.8 1.2 2.4-1.1 4.8-2.8 6.8-4.5 1.2-4.9.9-3.8 26.4-68.2 1.3-3.3 3.7-4.7 6.1-4.7 1.2 0 2.2.4 3.2 1.1 1.7 1.3 1.7 4.1 1 6.2-.7 1.9-.6 1.3-4.5 10.5-5.2 12.1-8.6 20.8-13.2 31.9-1.9 4.6-7.7 18.9-8.7 22.3-.6 2.2-1.3 5.8 1 5.8 5.4 0 19.3-13.1 23.1-17 .2-.3.5-.4.9-.6.6-1.9 1.2-3.7 1.7-5.5 1.4-3.8 2.7-8.2 5.3-11.3.8-1 1.7-1.6 2.7-1.6 2.8 0 4.2 1.2 4.2 4 0 1.1-.7 5.1-1.1 6.2 1.4-1.5 2.9-3 4.5-4.5 15-13.9 25.7-6.8 25.7.2 0 7.4-8.9 17.7-13.8 23.4-1.6 1.9-4.9 5.4-5 6.4 0 1.3.9 1.8 2.2 1.8 2 0 6.4-3.5 8-4.7 5-3.9 11.8-9.9 16.6-14.1l14.8-136.8c-30.5 17.1-197.6 17.2-228.3.2zm229.7-8.5c0 21-231.2 21-231.2 0 0-8.8 51.8-15.9 115.6-15.9 9 0 17.8.1 26.3.4l12.6-48.7L228.1.6c1.4-1.4 5.8-.2 9.9 3.5s6.6 7.9 5.3 9.3l-.1.1L185.9 74l-10 40.7c39.9 2.6 67.6 8.1 67.6 14.6zm-69.4 4.6c0-.8-.9-1.5-2.5-2.1l-.2.8c0 1.3-5 2.4-11.1 2.4s-11.1-1.1-11.1-2.4c0-.1 0-.2.1-.3l.2-.7c-1.8.6-3 1.4-3 2.3 0 2.1 6.2 3.7 13.7 3.7 7.7.1 13.9-1.6 13.9-3.7z"]
  105909. };
  105910. var faCreativeCommonsSamplingPlus = {
  105911. prefix: 'fab',
  105912. iconName: 'creative-commons-sampling-plus',
  105913. icon: [496, 512, [], "f4f1", "M247.6 8C389.4 8 496 118.1 496 256c0 147.1-118.5 248-248.4 248C113.6 504 0 394.5 0 256 0 123.1 104.7 8 247.6 8zm.8 44.7C130.2 52.7 44.7 150.6 44.7 256c0 109.8 91.2 202.8 203.7 202.8 103.2 0 202.8-81.1 202.8-202.8.1-113.8-90.2-203.3-202.8-203.3zm107 205.6c-4.7 0-9 2.8-10.7 7.2l-4 9.5-11-92.8c-1.7-13.9-22-13.4-23.1.4l-4.3 51.4-5.2-68.8c-1.1-14.3-22.1-14.2-23.2 0l-3.5 44.9-5.9-94.3c-.9-14.5-22.3-14.4-23.2 0l-5.1 83.7-4.3-66.3c-.9-14.4-22.2-14.4-23.2 0l-5.3 80.2-4.1-57c-1.1-14.3-22-14.3-23.2-.2l-7.7 89.8-1.8-12.2c-1.7-11.4-17.1-13.6-22-3.3l-13.2 27.7H87.5v23.2h51.3c4.4 0 8.4-2.5 10.4-6.4l10.7 73.1c2 13.5 21.9 13 23.1-.7l3.8-43.6 5.7 78.3c1.1 14.4 22.3 14.2 23.2-.1l4.6-70.4 4.8 73.3c.9 14.4 22.3 14.4 23.2-.1l4.9-80.5 4.5 71.8c.9 14.3 22.1 14.5 23.2.2l4.6-58.6 4.9 64.4c1.1 14.3 22 14.2 23.1.1l6.8-83 2.7 22.3c1.4 11.8 17.7 14.1 22.3 3.1l18-43.4h50.5V258l-58.4.3zm-78 5.2h-21.9v21.9c0 4.1-3.3 7.5-7.5 7.5-4.1 0-7.5-3.3-7.5-7.5v-21.9h-21.9c-4.1 0-7.5-3.3-7.5-7.5 0-4.1 3.4-7.5 7.5-7.5h21.9v-21.9c0-4.1 3.4-7.5 7.5-7.5s7.5 3.3 7.5 7.5v21.9h21.9c4.1 0 7.5 3.3 7.5 7.5 0 4.1-3.4 7.5-7.5 7.5z"]
  105914. };
  105915. var faStrava = {
  105916. prefix: 'fab',
  105917. iconName: 'strava',
  105918. icon: [384, 512, [], "f428", "M158.4 0L7 292h89.2l62.2-116.1L220.1 292h88.5zm150.2 292l-43.9 88.2-44.6-88.2h-67.6l112.2 220 111.5-220z"]
  105919. };
  105920. var faEmber = {
  105921. prefix: 'fab',
  105922. iconName: 'ember',
  105923. icon: [640, 512, [], "f423", "M639.9 254.6c-1.1-10.7-10.7-6.8-10.7-6.8s-15.6 12.1-29.3 10.7c-13.7-1.3-9.4-32-9.4-32s3-28.1-5.1-30.4c-8.1-2.4-18 7.3-18 7.3s-12.4 13.7-18.3 31.2l-1.6.5s1.9-30.6-.3-37.6c-1.6-3.5-16.4-3.2-18.8 3s-14.2 49.2-15 67.2c0 0-23.1 19.6-43.3 22.8s-25-9.4-25-9.4 54.8-15.3 52.9-59.1-44.2-27.6-49-24c-4.6 3.5-29.4 18.4-36.6 59.7-.2 1.4-.7 7.5-.7 7.5s-21.2 14.2-33 18c0 0 33-55.6-7.3-80.9-11.4-6.8-21.3-.5-27.2 5.3 13.6-17.3 46.4-64.2 36.9-105.2-5.8-24.4-18-27.1-29.2-23.1-17 6.7-23.5 16.7-23.5 16.7s-22 32-27.1 79.5-12.6 105.1-12.6 105.1-10.5 10.2-20.2 10.7-5.4-28.7-5.4-28.7 7.5-44.6 7-52.1-1.1-11.6-9.9-14.2c-8.9-2.7-18.5 8.6-18.5 8.6s-25.5 38.7-27.7 44.6l-1.3 2.4-1.3-1.6s18-52.7.8-53.5-28.5 18.8-28.5 18.8-19.6 32.8-20.4 36.5l-1.3-1.6s8.1-38.2 6.4-47.6c-1.6-9.4-10.5-7.5-10.5-7.5s-11.3-1.3-14.2 5.9-13.7 55.3-15 70.7c0 0-28.2 20.2-46.8 20.4-18.5.3-16.7-11.8-16.7-11.8s68-23.3 49.4-69.2c-8.3-11.8-18-15.5-31.7-15.3-13.7.3-30.3 8.6-41.3 33.3-5.3 11.8-6.8 23-7.8 31.5 0 0-12.3 2.4-18.8-2.9s-10 0-10 0-11.2 14-.1 18.3 28.1 6.1 28.1 6.1c1.6 7.5 6.2 19.5 19.6 29.7 20.2 15.3 58.8-1.3 58.8-1.3l15.9-8.8s.5 14.6 12.1 16.7 16.4 1 36.5-47.9c11.8-25 12.6-23.6 12.6-23.6l1.3-.3s-9.1 46.8-5.6 59.7C187.7 319.4 203 318 203 318s8.3 2.4 15-21.2 19.6-49.9 19.6-49.9h1.6s-5.6 48.1 3 63.7 30.9 5.3 30.9 5.3 15.6-7.8 18-10.2c0 0 18.5 15.8 44.6 12.9 58.3-11.5 79.1-25.9 79.1-25.9s10 24.4 41.1 26.7c35.5 2.7 54.8-18.6 54.8-18.6s-.3 13.5 12.1 18.6 20.7-22.8 20.7-22.8l20.7-57.2h1.9s1.1 37.3 21.5 43.2 47-13.7 47-13.7 6.4-3.5 5.3-14.3zm-578 5.3c.8-32 21.8-45.9 29-39 7.3 7 4.6 22-9.1 31.4-13.7 9.5-19.9 7.6-19.9 7.6zm272.8-123.8s19.1-49.7 23.6-25.5-40 96.2-40 96.2c.5-16.2 16.4-70.7 16.4-70.7zm22.8 138.4c-12.6 33-43.3 19.6-43.3 19.6s-3.5-11.8 6.4-44.9 33.3-20.2 33.3-20.2 16.2 12.4 3.6 45.5zm84.6-14.6s-3-10.5 8.1-30.6c11-20.2 19.6-9.1 19.6-9.1s9.4 10.2-1.3 25.5-26.4 14.2-26.4 14.2z"]
  105924. };
  105925. var faCanadianMapleLeaf = {
  105926. prefix: 'fab',
  105927. iconName: 'canadian-maple-leaf',
  105928. icon: [512, 512, [], "f785", "M383.8 351.7c2.5-2.5 105.2-92.4 105.2-92.4l-17.5-7.5c-10-4.9-7.4-11.5-5-17.4 2.4-7.6 20.1-67.3 20.1-67.3s-47.7 10-57.7 12.5c-7.5 2.4-10-2.5-12.5-7.5s-15-32.4-15-32.4-52.6 59.9-55.1 62.3c-10 7.5-20.1 0-17.6-10 0-10 27.6-129.6 27.6-129.6s-30.1 17.4-40.1 22.4c-7.5 5-12.6 5-17.6-5C293.5 72.3 255.9 0 255.9 0s-37.5 72.3-42.5 79.8c-5 10-10 10-17.6 5-10-5-40.1-22.4-40.1-22.4S183.3 182 183.3 192c2.5 10-7.5 17.5-17.6 10-2.5-2.5-55.1-62.3-55.1-62.3S98.1 167 95.6 172s-5 9.9-12.5 7.5C73 177 25.4 167 25.4 167s17.6 59.7 20.1 67.3c2.4 6 5 12.5-5 17.4L23 259.3s102.6 89.9 105.2 92.4c5.1 5 10 7.5 5.1 22.5-5.1 15-10.1 35.1-10.1 35.1s95.2-20.1 105.3-22.6c8.7-.9 18.3 2.5 18.3 12.5S241 512 241 512h30s-5.8-102.7-5.8-112.8 9.5-13.4 18.4-12.5c10 2.5 105.2 22.6 105.2 22.6s-5-20.1-10-35.1 0-17.5 5-22.5z"]
  105929. };
  105930. var faTeamspeak = {
  105931. prefix: 'fab',
  105932. iconName: 'teamspeak',
  105933. icon: [512, 512, [], "f4f9", "M244.2 346.79c2.4-12.3-12-30-32.4-48.7-20.9-19.2-48.2-39.1-63.4-46.6-21.7-12-41.7-1.8-46.3 22.7-5 26.2 0 51.4 14.5 73.9 10.2 15.5 25.4 22.7 43.4 24 11.6.6 52.5 2.2 61.7-1 11.9-4.3 20.1-11.8 22.5-24.3zm205 20.8a5.22 5.22 0 0 0-8.3 2.4c-8 25.4-44.7 112.5-172.1 121.5-149.7 10.5 80.3 43.6 145.4-6.4 22.7-17.4 47.6-35 46.6-85.4-.4-10.1-4.9-26.69-11.6-32.1zm62-122.4c-.3-18.9-8.6-33.4-26-42.2-2.9-1.3-5-2.7-5.9-6.4A222.64 222.64 0 0 0 438.9 103c-1.1-1.5-3.5-3.2-2.2-5 8.5-11.5-.3-18-7-24.4Q321.4-31.11 177.4 13.09c-40.1 12.3-73.9 35.6-102 67.4-4 4.3-6.7 9.1-3 14.5 3 4 1.3 6.2-1 9.3C51.6 132 38.2 162.59 32.1 196c-.7 4.3-2.9 6-6.4 7.8-14.2 7-22.5 18.5-24.9 34L0 264.29v20.9c0 30.8 21 50.4 51.8 49 7.7-.3 11.7-4.3 12-11.5 2-77.5-2.4-95.4 3.7-125.8C92.1 72.39 234.3 5 345.3 65.39 411.4 102 445.7 159 447.6 234.79c.8 28.2 0 56.5 0 84.6 0 7 2.2 12.5 9.4 14.2 24.1 5 49.2-12 53.2-36.7 2.9-17.1 1-34.5 1-51.7zm-159.6 131.5c36.5 2.8 59.3-28.5 58.4-60.5-2.1-45.2-66.2-16.5-87.8-8-73.2 28.1-45 54.9-22.2 60.8z"]
  105934. };
  105935. var faPushed = {
  105936. prefix: 'fab',
  105937. iconName: 'pushed',
  105938. icon: [432, 512, [], "f3e1", "M407 111.9l-98.5-9 14-33.4c10.4-23.5-10.8-40.4-28.7-37L22.5 76.9c-15.1 2.7-26 18.3-21.4 36.6l105.1 348.3c6.5 21.3 36.7 24.2 47.7 7l35.3-80.8 235.2-231.3c16.4-16.8 4.3-42.9-17.4-44.8zM297.6 53.6c5.1-.7 7.5 2.5 5.2 7.4L286 100.9 108.6 84.6l189-31zM22.7 107.9c-3.1-5.1 1-10 6.1-9.1l248.7 22.7-96.9 230.7L22.7 107.9zM136 456.4c-2.6 4-7.9 3.1-9.4-1.2L43.5 179.7l127.7 197.6c-7 15-35.2 79.1-35.2 79.1zm272.8-314.5L210.1 337.3l89.7-213.7 106.4 9.7c4 1.1 5.7 5.3 2.6 8.6z"]
  105939. };
  105940. var faWordpressSimple = {
  105941. prefix: 'fab',
  105942. iconName: 'wordpress-simple',
  105943. icon: [512, 512, [], "f411", "M256 8C119.3 8 8 119.2 8 256c0 136.7 111.3 248 248 248s248-111.3 248-248C504 119.2 392.7 8 256 8zM33 256c0-32.3 6.9-63 19.3-90.7l106.4 291.4C84.3 420.5 33 344.2 33 256zm223 223c-21.9 0-43-3.2-63-9.1l66.9-194.4 68.5 187.8c.5 1.1 1 2.1 1.6 3.1-23.1 8.1-48 12.6-74 12.6zm30.7-327.5c13.4-.7 25.5-2.1 25.5-2.1 12-1.4 10.6-19.1-1.4-18.4 0 0-36.1 2.8-59.4 2.8-21.9 0-58.7-2.8-58.7-2.8-12-.7-13.4 17.7-1.4 18.4 0 0 11.4 1.4 23.4 2.1l34.7 95.2L200.6 393l-81.2-241.5c13.4-.7 25.5-2.1 25.5-2.1 12-1.4 10.6-19.1-1.4-18.4 0 0-36.1 2.8-59.4 2.8-4.2 0-9.1-.1-14.4-.3C109.6 73 178.1 33 256 33c58 0 110.9 22.2 150.6 58.5-1-.1-1.9-.2-2.9-.2-21.9 0-37.4 19.1-37.4 39.6 0 18.4 10.6 33.9 21.9 52.3 8.5 14.8 18.4 33.9 18.4 61.5 0 19.1-7.3 41.2-17 72.1l-22.2 74.3-80.7-239.6zm81.4 297.2l68.1-196.9c12.7-31.8 17-57.2 17-79.9 0-8.2-.5-15.8-1.5-22.9 17.4 31.8 27.3 68.2 27.3 107 0 82.3-44.6 154.1-110.9 192.7z"]
  105944. };
  105945. var faNutritionix = {
  105946. prefix: 'fab',
  105947. iconName: 'nutritionix',
  105948. icon: [400, 512, [], "f3d6", "M88 8.1S221.4-.1 209 112.5c0 0 19.1-74.9 103-40.6 0 0-17.7 74-88 56 0 0 14.6-54.6 66.1-56.6 0 0-39.9-10.3-82.1 48.8 0 0-19.8-94.5-93.6-99.7 0 0 75.2 19.4 77.6 107.5 0 .1-106.4 7-104-119.8zm312 315.6c0 48.5-9.7 95.3-32 132.3-42.2 30.9-105 48-168 48-62.9 0-125.8-17.1-168-48C9.7 419 0 372.2 0 323.7 0 275.3 17.7 229 40 192c42.2-30.9 97.1-48.6 160-48.6 63 0 117.8 17.6 160 48.6 22.3 37 40 83.3 40 131.7zM120 428c0-15.5-12.5-28-28-28s-28 12.5-28 28 12.5 28 28 28 28-12.5 28-28zm0-66.2c0-15.5-12.5-28-28-28s-28 12.5-28 28 12.5 28 28 28 28-12.5 28-28zm0-66.2c0-15.5-12.5-28-28-28s-28 12.5-28 28 12.5 28 28 28 28-12.5 28-28zM192 428c0-15.5-12.5-28-28-28s-28 12.5-28 28 12.5 28 28 28 28-12.5 28-28zm0-66.2c0-15.5-12.5-28-28-28s-28 12.5-28 28 12.5 28 28 28 28-12.5 28-28zm0-66.2c0-15.5-12.5-28-28-28s-28 12.5-28 28 12.5 28 28 28 28-12.5 28-28zM264 428c0-15.5-12.5-28-28-28s-28 12.5-28 28 12.5 28 28 28 28-12.5 28-28zm0-66.2c0-15.5-12.5-28-28-28s-28 12.5-28 28 12.5 28 28 28 28-12.5 28-28zm0-66.2c0-15.5-12.5-28-28-28s-28 12.5-28 28 12.5 28 28 28 28-12.5 28-28zM336 428c0-15.5-12.5-28-28-28s-28 12.5-28 28 12.5 28 28 28 28-12.5 28-28zm0-66.2c0-15.5-12.5-28-28-28s-28 12.5-28 28 12.5 28 28 28 28-12.5 28-28zm0-66.2c0-15.5-12.5-28-28-28s-28 12.5-28 28 12.5 28 28 28 28-12.5 28-28zm24-39.6c-4.8-22.3-7.4-36.9-16-56-38.8-19.9-90.5-32-144-32S94.8 180.1 56 200c-8.8 19.5-11.2 33.9-16 56 42.2-7.9 98.7-14.8 160-14.8s117.8 6.9 160 14.8z"]
  105949. };
  105950. var faWodu = {
  105951. prefix: 'fab',
  105952. iconName: 'wodu',
  105953. icon: [640, 512, [], "e088", "M178.414 339.706H141.1L112.166 223.475h-.478L83.228 339.706H45.2L0 168.946H37.548L64.574 285.177h.478L94.707 168.946h35.157l29.178 117.667h.479L187.5 168.946h36.831zM271.4 212.713c38.984 0 64.1 25.828 64.1 65.291 0 39.222-25.111 65.05-64.1 65.05-38.743 0-63.855-25.828-63.855-65.05C207.547 238.541 232.659 212.713 271.4 212.713zm0 104.753c23.2 0 30.133-19.852 30.133-39.462 0-19.852-6.934-39.7-30.133-39.7-27.7 0-29.894 19.85-29.894 39.7C241.508 297.614 248.443 317.466 271.4 317.466zM435.084 323.922h-.478c-7.893 13.392-21.765 19.132-37.548 19.132-37.31 0-55.485-32.045-55.485-66.246 0-33.243 18.415-64.095 54.767-64.095 14.589 0 28.938 6.218 36.831 18.416h.24V168.946h33.96v170.76H435.084zM405.428 238.3c-22.24 0-29.894 19.134-29.894 39.463 0 19.371 8.848 39.7 29.894 39.7 22.482 0 29.178-19.613 29.178-39.94C434.606 257.436 427.432 238.3 405.428 238.3zM592.96 339.706H560.673V322.487h-.718c-8.609 13.87-23.436 20.567-37.786 20.567-36.113 0-45.2-20.328-45.2-50.941V216.061h33.959V285.9c0 20.329 5.979 30.372 21.765 30.372 18.415 0 26.306-10.283 26.306-35.393V216.061H592.96zM602.453 302.876H640v36.83H602.453z"]
  105954. };
  105955. var faGooglePay = {
  105956. prefix: 'fab',
  105957. iconName: 'google-pay',
  105958. icon: [640, 512, [], "e079", "M105.72,215v41.25h57.1a49.66,49.66,0,0,1-21.14,32.6c-9.54,6.55-21.72,10.28-36,10.28-27.6,0-50.93-18.91-59.3-44.22a65.61,65.61,0,0,1,0-41l0,0c8.37-25.46,31.7-44.37,59.3-44.37a56.43,56.43,0,0,1,40.51,16.08L176.47,155a101.24,101.24,0,0,0-70.75-27.84,105.55,105.55,0,0,0-94.38,59.11,107.64,107.64,0,0,0,0,96.18v.15a105.41,105.41,0,0,0,94.38,59c28.47,0,52.55-9.53,70-25.91,20-18.61,31.41-46.15,31.41-78.91A133.76,133.76,0,0,0,205.38,215Zm389.41-4c-10.13-9.38-23.93-14.14-41.39-14.14-22.46,0-39.34,8.34-50.5,24.86l20.85,13.26q11.45-17,31.26-17a34.05,34.05,0,0,1,22.75,8.79A28.14,28.14,0,0,1,487.79,248v5.51c-9.1-5.07-20.55-7.75-34.64-7.75-16.44,0-29.65,3.88-39.49,11.77s-14.82,18.31-14.82,31.56a39.74,39.74,0,0,0,13.94,31.27c9.25,8.34,21,12.51,34.79,12.51,16.29,0,29.21-7.3,39-21.89h1v17.72h22.61V250C510.25,233.45,505.26,220.34,495.13,211ZM475.9,300.3a37.32,37.32,0,0,1-26.57,11.16A28.61,28.61,0,0,1,431,305.21a19.41,19.41,0,0,1-7.77-15.63c0-7,3.22-12.81,9.54-17.42s14.53-7,24.07-7C470,265,480.3,268,487.64,273.94,487.64,284.07,483.68,292.85,475.9,300.3Zm-93.65-142A55.71,55.71,0,0,0,341.74,142H279.07V328.74H302.7V253.1h39c16,0,29.5-5.36,40.51-15.93.88-.89,1.76-1.79,2.65-2.68A54.45,54.45,0,0,0,382.25,158.26Zm-16.58,62.23a30.65,30.65,0,0,1-23.34,9.68H302.7V165h39.63a32,32,0,0,1,22.6,9.23A33.18,33.18,0,0,1,365.67,220.49ZM614.31,201,577.77,292.7h-.45L539.9,201H514.21L566,320.55l-29.35,64.32H561L640,201Z"]
  105959. };
  105960. var faIntercom = {
  105961. prefix: 'fab',
  105962. iconName: 'intercom',
  105963. icon: [448, 512, [], "f7af", "M392 32H56C25.1 32 0 57.1 0 88v336c0 30.9 25.1 56 56 56h336c30.9 0 56-25.1 56-56V88c0-30.9-25.1-56-56-56zm-108.3 82.1c0-19.8 29.9-19.8 29.9 0v199.5c0 19.8-29.9 19.8-29.9 0V114.1zm-74.6-7.5c0-19.8 29.9-19.8 29.9 0v216.5c0 19.8-29.9 19.8-29.9 0V106.6zm-74.7 7.5c0-19.8 29.9-19.8 29.9 0v199.5c0 19.8-29.9 19.8-29.9 0V114.1zM59.7 144c0-19.8 29.9-19.8 29.9 0v134.3c0 19.8-29.9 19.8-29.9 0V144zm323.4 227.8c-72.8 63-241.7 65.4-318.1 0-15-12.8 4.4-35.5 19.4-22.7 65.9 55.3 216.1 53.9 279.3 0 14.9-12.9 34.3 9.8 19.4 22.7zm5.2-93.5c0 19.8-29.9 19.8-29.9 0V144c0-19.8 29.9-19.8 29.9 0v134.3z"]
  105964. };
  105965. var faZhihu = {
  105966. prefix: 'fab',
  105967. iconName: 'zhihu',
  105968. icon: [640, 512, [], "f63f", "M170.54 148.13v217.54l23.43.01 7.71 26.37 42.01-26.37h49.53V148.13H170.54zm97.75 193.93h-27.94l-27.9 17.51-5.08-17.47-11.9-.04V171.75h72.82v170.31zm-118.46-94.39H97.5c1.74-27.1 2.2-51.59 2.2-73.46h51.16s1.97-22.56-8.58-22.31h-88.5c3.49-13.12 7.87-26.66 13.12-40.67 0 0-24.07 0-32.27 21.57-3.39 8.9-13.21 43.14-30.7 78.12 5.89-.64 25.37-1.18 36.84-22.21 2.11-5.89 2.51-6.66 5.14-14.53h28.87c0 10.5-1.2 66.88-1.68 73.44H20.83c-11.74 0-15.56 23.62-15.56 23.62h65.58C66.45 321.1 42.83 363.12 0 396.34c20.49 5.85 40.91-.93 51-9.9 0 0 22.98-20.9 35.59-69.25l53.96 64.94s7.91-26.89-1.24-39.99c-7.58-8.92-28.06-33.06-36.79-41.81L87.9 311.95c4.36-13.98 6.99-27.55 7.87-40.67h61.65s-.09-23.62-7.59-23.62v.01zm412.02-1.6c20.83-25.64 44.98-58.57 44.98-58.57s-18.65-14.8-27.38-4.06c-6 8.15-36.83 48.2-36.83 48.2l19.23 14.43zm-150.09-59.09c-9.01-8.25-25.91 2.13-25.91 2.13s39.52 55.04 41.12 57.45l19.46-13.73s-25.67-37.61-34.66-45.86h-.01zM640 258.35c-19.78 0-130.91.93-131.06.93v-101c4.81 0 12.42-.4 22.85-1.2 40.88-2.41 70.13-4 87.77-4.81 0 0 12.22-27.19-.59-33.44-3.07-1.18-23.17 4.58-23.17 4.58s-165.22 16.49-232.36 18.05c1.6 8.82 7.62 17.08 15.78 19.55 13.31 3.48 22.69 1.7 49.15.89 24.83-1.6 43.68-2.43 56.51-2.43v99.81H351.41s2.82 22.31 25.51 22.85h107.94v70.92c0 13.97-11.19 21.99-24.48 21.12-14.08.11-26.08-1.15-41.69-1.81 1.99 3.97 6.33 14.39 19.31 21.84 9.88 4.81 16.17 6.57 26.02 6.57 29.56 0 45.67-17.28 44.89-45.31v-73.32h122.36c9.68 0 8.7-23.78 8.7-23.78l.03-.01z"]
  105969. };
  105970. var faKorvue = {
  105971. prefix: 'fab',
  105972. iconName: 'korvue',
  105973. icon: [446, 512, [], "f42f", "M386.5 34h-327C26.8 34 0 60.8 0 93.5v327.1C0 453.2 26.8 480 59.5 480h327.1c33 0 59.5-26.8 59.5-59.5v-327C446 60.8 419.2 34 386.5 34zM87.1 120.8h96v116l61.8-116h110.9l-81.2 132H87.1v-132zm161.8 272.1l-65.7-113.6v113.6h-96V262.1h191.5l88.6 130.8H248.9z"]
  105974. };
  105975. var faPix = {
  105976. prefix: 'fab',
  105977. iconName: 'pix',
  105978. icon: [512, 512, [], "e43a", "M242.4 292.5C247.8 287.1 257.1 287.1 262.5 292.5L339.5 369.5C353.7 383.7 372.6 391.5 392.6 391.5H407.7L310.6 488.6C280.3 518.1 231.1 518.1 200.8 488.6L103.3 391.2H112.6C132.6 391.2 151.5 383.4 165.7 369.2L242.4 292.5zM262.5 218.9C256.1 224.4 247.9 224.5 242.4 218.9L165.7 142.2C151.5 127.1 132.6 120.2 112.6 120.2H103.3L200.7 22.76C231.1-7.586 280.3-7.586 310.6 22.76L407.8 119.9H392.6C372.6 119.9 353.7 127.7 339.5 141.9L262.5 218.9zM112.6 142.7C126.4 142.7 139.1 148.3 149.7 158.1L226.4 234.8C233.6 241.1 243 245.6 252.5 245.6C261.9 245.6 271.3 241.1 278.5 234.8L355.5 157.8C365.3 148.1 378.8 142.5 392.6 142.5H430.3L488.6 200.8C518.9 231.1 518.9 280.3 488.6 310.6L430.3 368.9H392.6C378.8 368.9 365.3 363.3 355.5 353.5L278.5 276.5C264.6 262.6 240.3 262.6 226.4 276.6L149.7 353.2C139.1 363 126.4 368.6 112.6 368.6H80.78L22.76 310.6C-7.586 280.3-7.586 231.1 22.76 200.8L80.78 142.7H112.6z"]
  105979. };
  105980. var faSteamSymbol = {
  105981. prefix: 'fab',
  105982. iconName: 'steam-symbol',
  105983. icon: [448, 512, [], "f3f6", "M395.5 177.5c0 33.8-27.5 61-61 61-33.8 0-61-27.3-61-61s27.3-61 61-61c33.5 0 61 27.2 61 61zm52.5.2c0 63-51 113.8-113.7 113.8L225 371.3c-4 43-40.5 76.8-84.5 76.8-40.5 0-74.7-28.8-83-67L0 358V250.7L97.2 290c15.1-9.2 32.2-13.3 52-11.5l71-101.7c.5-62.3 51.5-112.8 114-112.8C397 64 448 115 448 177.7zM203 363c0-34.7-27.8-62.5-62.5-62.5-4.5 0-9 .5-13.5 1.5l26 10.5c25.5 10.2 38 39 27.7 64.5-10.2 25.5-39.2 38-64.7 27.5-10.2-4-20.5-8.3-30.7-12.2 10.5 19.7 31.2 33.2 55.2 33.2 34.7 0 62.5-27.8 62.5-62.5zm207.5-185.3c0-42-34.3-76.2-76.2-76.2-42.3 0-76.5 34.2-76.5 76.2 0 42.2 34.3 76.2 76.5 76.2 41.9.1 76.2-33.9 76.2-76.2z"]
  105984. };
  105985. var icons = {
  105986. faMonero: faMonero,
  105987. faHooli: faHooli,
  105988. faYelp: faYelp,
  105989. faCcVisa: faCcVisa,
  105990. faLastfm: faLastfm,
  105991. faShopware: faShopware,
  105992. faCreativeCommonsNc: faCreativeCommonsNc,
  105993. faAws: faAws,
  105994. faRedhat: faRedhat,
  105995. faYoast: faYoast,
  105996. faCloudflare: faCloudflare,
  105997. faUps: faUps,
  105998. faWpexplorer: faWpexplorer,
  105999. faDyalog: faDyalog,
  106000. faBity: faBity,
  106001. faStackpath: faStackpath,
  106002. faBuysellads: faBuysellads,
  106003. faFirstOrder: faFirstOrder,
  106004. faModx: faModx,
  106005. faGuilded: faGuilded,
  106006. faVnv: faVnv,
  106007. faSquareJs: faSquareJs,
  106008. faJsSquare: faJsSquare,
  106009. faMicrosoft: faMicrosoft,
  106010. faQq: faQq,
  106011. faOrcid: faOrcid,
  106012. faJava: faJava,
  106013. faInvision: faInvision,
  106014. faCreativeCommonsPdAlt: faCreativeCommonsPdAlt,
  106015. faCentercode: faCentercode,
  106016. faGlideG: faGlideG,
  106017. faDrupal: faDrupal,
  106018. faHireAHelper: faHireAHelper,
  106019. faCreativeCommonsBy: faCreativeCommonsBy,
  106020. faUnity: faUnity,
  106021. faWhmcs: faWhmcs,
  106022. faRocketchat: faRocketchat,
  106023. faVk: faVk,
  106024. faUntappd: faUntappd,
  106025. faMailchimp: faMailchimp,
  106026. faCss3Alt: faCss3Alt,
  106027. faSquareReddit: faSquareReddit,
  106028. faRedditSquare: faRedditSquare,
  106029. faVimeoV: faVimeoV,
  106030. faContao: faContao,
  106031. faSquareFontAwesome: faSquareFontAwesome,
  106032. faDeskpro: faDeskpro,
  106033. faSistrix: faSistrix,
  106034. faSquareInstagram: faSquareInstagram,
  106035. faInstagramSquare: faInstagramSquare,
  106036. faBattleNet: faBattleNet,
  106037. faTheRedYeti: faTheRedYeti,
  106038. faSquareHackerNews: faSquareHackerNews,
  106039. faHackerNewsSquare: faHackerNewsSquare,
  106040. faEdge: faEdge,
  106041. faNapster: faNapster,
  106042. faSquareSnapchat: faSquareSnapchat,
  106043. faSnapchatSquare: faSnapchatSquare,
  106044. faGooglePlusG: faGooglePlusG,
  106045. faArtstation: faArtstation,
  106046. faMarkdown: faMarkdown,
  106047. faSourcetree: faSourcetree,
  106048. faGooglePlus: faGooglePlus,
  106049. faDiaspora: faDiaspora,
  106050. faFoursquare: faFoursquare,
  106051. faStackOverflow: faStackOverflow,
  106052. faGithubAlt: faGithubAlt,
  106053. faPhoenixSquadron: faPhoenixSquadron,
  106054. faPagelines: faPagelines,
  106055. faAlgolia: faAlgolia,
  106056. faRedRiver: faRedRiver,
  106057. faCreativeCommonsSa: faCreativeCommonsSa,
  106058. faSafari: faSafari,
  106059. faGoogle: faGoogle,
  106060. faSquareFontAwesomeStroke: faSquareFontAwesomeStroke,
  106061. faFontAwesomeAlt: faFontAwesomeAlt,
  106062. faAtlassian: faAtlassian,
  106063. faLinkedinIn: faLinkedinIn,
  106064. faDigitalOcean: faDigitalOcean,
  106065. faNimblr: faNimblr,
  106066. faChromecast: faChromecast,
  106067. faEvernote: faEvernote,
  106068. faHackerNews: faHackerNews,
  106069. faCreativeCommonsSampling: faCreativeCommonsSampling,
  106070. faAdversal: faAdversal,
  106071. faCreativeCommons: faCreativeCommons,
  106072. faWatchmanMonitoring: faWatchmanMonitoring,
  106073. faFonticons: faFonticons,
  106074. faWeixin: faWeixin,
  106075. faShirtsinbulk: faShirtsinbulk,
  106076. faCodepen: faCodepen,
  106077. faGitAlt: faGitAlt,
  106078. faLyft: faLyft,
  106079. faRev: faRev,
  106080. faWindows: faWindows,
  106081. faWizardsOfTheCoast: faWizardsOfTheCoast,
  106082. faSquareViadeo: faSquareViadeo,
  106083. faViadeoSquare: faViadeoSquare,
  106084. faMeetup: faMeetup,
  106085. faCentos: faCentos,
  106086. faAdn: faAdn,
  106087. faCloudsmith: faCloudsmith,
  106088. faPiedPiperAlt: faPiedPiperAlt,
  106089. faSquareDribbble: faSquareDribbble,
  106090. faDribbbleSquare: faDribbbleSquare,
  106091. faCodiepie: faCodiepie,
  106092. faNode: faNode,
  106093. faMix: faMix,
  106094. faSteam: faSteam,
  106095. faCcApplePay: faCcApplePay,
  106096. faScribd: faScribd,
  106097. faOpenid: faOpenid,
  106098. faInstalod: faInstalod,
  106099. faExpeditedssl: faExpeditedssl,
  106100. faSellcast: faSellcast,
  106101. faSquareTwitter: faSquareTwitter,
  106102. faTwitterSquare: faTwitterSquare,
  106103. faRProject: faRProject,
  106104. faDelicious: faDelicious,
  106105. faFreebsd: faFreebsd,
  106106. faVuejs: faVuejs,
  106107. faAccusoft: faAccusoft,
  106108. faIoxhost: faIoxhost,
  106109. faFonticonsFi: faFonticonsFi,
  106110. faAppStore: faAppStore,
  106111. faCcMastercard: faCcMastercard,
  106112. faItunesNote: faItunesNote,
  106113. faGolang: faGolang,
  106114. faKickstarter: faKickstarter,
  106115. faGrav: faGrav,
  106116. faWeibo: faWeibo,
  106117. faUncharted: faUncharted,
  106118. faFirstdraft: faFirstdraft,
  106119. faSquareYoutube: faSquareYoutube,
  106120. faYoutubeSquare: faYoutubeSquare,
  106121. faWikipediaW: faWikipediaW,
  106122. faWpressr: faWpressr,
  106123. faRendact: faRendact,
  106124. faAngellist: faAngellist,
  106125. faGalacticRepublic: faGalacticRepublic,
  106126. faNfcDirectional: faNfcDirectional,
  106127. faSkype: faSkype,
  106128. faJoget: faJoget,
  106129. faFedora: faFedora,
  106130. faStripeS: faStripeS,
  106131. faMeta: faMeta,
  106132. faLaravel: faLaravel,
  106133. faHotjar: faHotjar,
  106134. faBluetoothB: faBluetoothB,
  106135. faStickerMule: faStickerMule,
  106136. faCreativeCommonsZero: faCreativeCommonsZero,
  106137. faHips: faHips,
  106138. faBehance: faBehance,
  106139. faReddit: faReddit,
  106140. faDiscord: faDiscord,
  106141. faChrome: faChrome,
  106142. faAppStoreIos: faAppStoreIos,
  106143. faCcDiscover: faCcDiscover,
  106144. faWpbeginner: faWpbeginner,
  106145. faConfluence: faConfluence,
  106146. faMdb: faMdb,
  106147. faDochub: faDochub,
  106148. faAccessibleIcon: faAccessibleIcon,
  106149. faEbay: faEbay,
  106150. faAmazon: faAmazon,
  106151. faUnsplash: faUnsplash,
  106152. faYarn: faYarn,
  106153. faSquareSteam: faSquareSteam,
  106154. faSteamSquare: faSteamSquare,
  106155. fa500px: fa500px,
  106156. faSquareVimeo: faSquareVimeo,
  106157. faVimeoSquare: faVimeoSquare,
  106158. faAsymmetrik: faAsymmetrik,
  106159. faFontAwesome: faFontAwesome,
  106160. faFontAwesomeFlag: faFontAwesomeFlag,
  106161. faFontAwesomeLogoFull: faFontAwesomeLogoFull,
  106162. faGratipay: faGratipay,
  106163. faApple: faApple,
  106164. faHive: faHive,
  106165. faGitkraken: faGitkraken,
  106166. faKeybase: faKeybase,
  106167. faApplePay: faApplePay,
  106168. faPadlet: faPadlet,
  106169. faAmazonPay: faAmazonPay,
  106170. faSquareGithub: faSquareGithub,
  106171. faGithubSquare: faGithubSquare,
  106172. faStumbleupon: faStumbleupon,
  106173. faFedex: faFedex,
  106174. faPhoenixFramework: faPhoenixFramework,
  106175. faShopify: faShopify,
  106176. faNeos: faNeos,
  106177. faHackerrank: faHackerrank,
  106178. faResearchgate: faResearchgate,
  106179. faSwift: faSwift,
  106180. faAngular: faAngular,
  106181. faSpeakap: faSpeakap,
  106182. faAngrycreative: faAngrycreative,
  106183. faYCombinator: faYCombinator,
  106184. faEmpire: faEmpire,
  106185. faEnvira: faEnvira,
  106186. faSquareGitlab: faSquareGitlab,
  106187. faGitlabSquare: faGitlabSquare,
  106188. faStudiovinari: faStudiovinari,
  106189. faPiedPiper: faPiedPiper,
  106190. faWordpress: faWordpress,
  106191. faProductHunt: faProductHunt,
  106192. faFirefox: faFirefox,
  106193. faLinode: faLinode,
  106194. faGoodreads: faGoodreads,
  106195. faSquareOdnoklassniki: faSquareOdnoklassniki,
  106196. faOdnoklassnikiSquare: faOdnoklassnikiSquare,
  106197. faJsfiddle: faJsfiddle,
  106198. faSith: faSith,
  106199. faThemeisle: faThemeisle,
  106200. faPage4: faPage4,
  106201. faHashnode: faHashnode,
  106202. faReact: faReact,
  106203. faCcPaypal: faCcPaypal,
  106204. faSquarespace: faSquarespace,
  106205. faCcStripe: faCcStripe,
  106206. faCreativeCommonsShare: faCreativeCommonsShare,
  106207. faBitcoin: faBitcoin,
  106208. faKeycdn: faKeycdn,
  106209. faOpera: faOpera,
  106210. faItchIo: faItchIo,
  106211. faUmbraco: faUmbraco,
  106212. faGalacticSenate: faGalacticSenate,
  106213. faUbuntu: faUbuntu,
  106214. faDraft2digital: faDraft2digital,
  106215. faStripe: faStripe,
  106216. faHouzz: faHouzz,
  106217. faGg: faGg,
  106218. faDhl: faDhl,
  106219. faSquarePinterest: faSquarePinterest,
  106220. faPinterestSquare: faPinterestSquare,
  106221. faXing: faXing,
  106222. faBlackberry: faBlackberry,
  106223. faCreativeCommonsPd: faCreativeCommonsPd,
  106224. faPlaystation: faPlaystation,
  106225. faQuinscape: faQuinscape,
  106226. faLess: faLess,
  106227. faBloggerB: faBloggerB,
  106228. faOpencart: faOpencart,
  106229. faVine: faVine,
  106230. faPaypal: faPaypal,
  106231. faGitlab: faGitlab,
  106232. faTypo3: faTypo3,
  106233. faRedditAlien: faRedditAlien,
  106234. faYahoo: faYahoo,
  106235. faDailymotion: faDailymotion,
  106236. faAffiliatetheme: faAffiliatetheme,
  106237. faPiedPiperPp: faPiedPiperPp,
  106238. faBootstrap: faBootstrap,
  106239. faOdnoklassniki: faOdnoklassniki,
  106240. faNfcSymbol: faNfcSymbol,
  106241. faEthereum: faEthereum,
  106242. faSpeakerDeck: faSpeakerDeck,
  106243. faCreativeCommonsNcEu: faCreativeCommonsNcEu,
  106244. faPatreon: faPatreon,
  106245. faAvianex: faAvianex,
  106246. faEllo: faEllo,
  106247. faGofore: faGofore,
  106248. faBimobject: faBimobject,
  106249. faFacebookF: faFacebookF,
  106250. faSquareGooglePlus: faSquareGooglePlus,
  106251. faGooglePlusSquare: faGooglePlusSquare,
  106252. faMandalorian: faMandalorian,
  106253. faFirstOrderAlt: faFirstOrderAlt,
  106254. faOsi: faOsi,
  106255. faGoogleWallet: faGoogleWallet,
  106256. faDAndDBeyond: faDAndDBeyond,
  106257. faPeriscope: faPeriscope,
  106258. faFulcrum: faFulcrum,
  106259. faCloudscale: faCloudscale,
  106260. faForumbee: faForumbee,
  106261. faMizuni: faMizuni,
  106262. faSchlix: faSchlix,
  106263. faSquareXing: faSquareXing,
  106264. faXingSquare: faXingSquare,
  106265. faBandcamp: faBandcamp,
  106266. faWpforms: faWpforms,
  106267. faCloudversify: faCloudversify,
  106268. faUsps: faUsps,
  106269. faMegaport: faMegaport,
  106270. faMagento: faMagento,
  106271. faSpotify: faSpotify,
  106272. faOptinMonster: faOptinMonster,
  106273. faFly: faFly,
  106274. faAviato: faAviato,
  106275. faItunes: faItunes,
  106276. faCuttlefish: faCuttlefish,
  106277. faBlogger: faBlogger,
  106278. faFlickr: faFlickr,
  106279. faViber: faViber,
  106280. faSoundcloud: faSoundcloud,
  106281. faDigg: faDigg,
  106282. faTencentWeibo: faTencentWeibo,
  106283. faSymfony: faSymfony,
  106284. faMaxcdn: faMaxcdn,
  106285. faEtsy: faEtsy,
  106286. faFacebookMessenger: faFacebookMessenger,
  106287. faAudible: faAudible,
  106288. faThinkPeaks: faThinkPeaks,
  106289. faBilibili: faBilibili,
  106290. faErlang: faErlang,
  106291. faCottonBureau: faCottonBureau,
  106292. faDashcube: faDashcube,
  106293. fa42Group: fa42Group,
  106294. faInnosoft: faInnosoft,
  106295. faStackExchange: faStackExchange,
  106296. faElementor: faElementor,
  106297. faSquarePiedPiper: faSquarePiedPiper,
  106298. faPiedPiperSquare: faPiedPiperSquare,
  106299. faCreativeCommonsNd: faCreativeCommonsNd,
  106300. faPalfed: faPalfed,
  106301. faSuperpowers: faSuperpowers,
  106302. faResolving: faResolving,
  106303. faXbox: faXbox,
  106304. faSearchengin: faSearchengin,
  106305. faTiktok: faTiktok,
  106306. faSquareFacebook: faSquareFacebook,
  106307. faFacebookSquare: faFacebookSquare,
  106308. faRenren: faRenren,
  106309. faLinux: faLinux,
  106310. faGlide: faGlide,
  106311. faLinkedin: faLinkedin,
  106312. faHubspot: faHubspot,
  106313. faDeploydog: faDeploydog,
  106314. faTwitch: faTwitch,
  106315. faRavelry: faRavelry,
  106316. faMixer: faMixer,
  106317. faSquareLastfm: faSquareLastfm,
  106318. faLastfmSquare: faLastfmSquare,
  106319. faVimeo: faVimeo,
  106320. faMendeley: faMendeley,
  106321. faUniregistry: faUniregistry,
  106322. faFigma: faFigma,
  106323. faCreativeCommonsRemix: faCreativeCommonsRemix,
  106324. faCcAmazonPay: faCcAmazonPay,
  106325. faDropbox: faDropbox,
  106326. faInstagram: faInstagram,
  106327. faCmplid: faCmplid,
  106328. faFacebook: faFacebook,
  106329. faGripfire: faGripfire,
  106330. faJediOrder: faJediOrder,
  106331. faUikit: faUikit,
  106332. faFortAwesomeAlt: faFortAwesomeAlt,
  106333. faPhabricator: faPhabricator,
  106334. faUssunnah: faUssunnah,
  106335. faEarlybirds: faEarlybirds,
  106336. faTradeFederation: faTradeFederation,
  106337. faAutoprefixer: faAutoprefixer,
  106338. faWhatsapp: faWhatsapp,
  106339. faSlideshare: faSlideshare,
  106340. faGooglePlay: faGooglePlay,
  106341. faViadeo: faViadeo,
  106342. faLine: faLine,
  106343. faGoogleDrive: faGoogleDrive,
  106344. faServicestack: faServicestack,
  106345. faSimplybuilt: faSimplybuilt,
  106346. faBitbucket: faBitbucket,
  106347. faImdb: faImdb,
  106348. faDeezer: faDeezer,
  106349. faRaspberryPi: faRaspberryPi,
  106350. faJira: faJira,
  106351. faDocker: faDocker,
  106352. faScreenpal: faScreenpal,
  106353. faBluetooth: faBluetooth,
  106354. faGitter: faGitter,
  106355. faDAndD: faDAndD,
  106356. faMicroblog: faMicroblog,
  106357. faCcDinersClub: faCcDinersClub,
  106358. faGgCircle: faGgCircle,
  106359. faPiedPiperHat: faPiedPiperHat,
  106360. faKickstarterK: faKickstarterK,
  106361. faYandex: faYandex,
  106362. faReadme: faReadme,
  106363. faHtml5: faHtml5,
  106364. faSellsy: faSellsy,
  106365. faSass: faSass,
  106366. faWirsindhandwerk: faWirsindhandwerk,
  106367. faWsh: faWsh,
  106368. faBuromobelexperte: faBuromobelexperte,
  106369. faSalesforce: faSalesforce,
  106370. faOctopusDeploy: faOctopusDeploy,
  106371. faMedapps: faMedapps,
  106372. faNs8: faNs8,
  106373. faPinterestP: faPinterestP,
  106374. faApper: faApper,
  106375. faFortAwesome: faFortAwesome,
  106376. faWaze: faWaze,
  106377. faCcJcb: faCcJcb,
  106378. faSnapchat: faSnapchat,
  106379. faSnapchatGhost: faSnapchatGhost,
  106380. faFantasyFlightGames: faFantasyFlightGames,
  106381. faRust: faRust,
  106382. faWix: faWix,
  106383. faSquareBehance: faSquareBehance,
  106384. faBehanceSquare: faBehanceSquare,
  106385. faSupple: faSupple,
  106386. faRebel: faRebel,
  106387. faCss3: faCss3,
  106388. faStaylinked: faStaylinked,
  106389. faKaggle: faKaggle,
  106390. faSpaceAwesome: faSpaceAwesome,
  106391. faDeviantart: faDeviantart,
  106392. faCpanel: faCpanel,
  106393. faGoodreadsG: faGoodreadsG,
  106394. faSquareGit: faSquareGit,
  106395. faGitSquare: faGitSquare,
  106396. faSquareTumblr: faSquareTumblr,
  106397. faTumblrSquare: faTumblrSquare,
  106398. faTrello: faTrello,
  106399. faCreativeCommonsNcJp: faCreativeCommonsNcJp,
  106400. faGetPocket: faGetPocket,
  106401. faPerbyte: faPerbyte,
  106402. faGrunt: faGrunt,
  106403. faWeebly: faWeebly,
  106404. faConnectdevelop: faConnectdevelop,
  106405. faLeanpub: faLeanpub,
  106406. faBlackTie: faBlackTie,
  106407. faThemeco: faThemeco,
  106408. faPython: faPython,
  106409. faAndroid: faAndroid,
  106410. faBots: faBots,
  106411. faFreeCodeCamp: faFreeCodeCamp,
  106412. faHornbill: faHornbill,
  106413. faJs: faJs,
  106414. faIdeal: faIdeal,
  106415. faGit: faGit,
  106416. faDev: faDev,
  106417. faSketch: faSketch,
  106418. faYandexInternational: faYandexInternational,
  106419. faCcAmex: faCcAmex,
  106420. faUber: faUber,
  106421. faGithub: faGithub,
  106422. faPhp: faPhp,
  106423. faAlipay: faAlipay,
  106424. faYoutube: faYoutube,
  106425. faSkyatlas: faSkyatlas,
  106426. faFirefoxBrowser: faFirefoxBrowser,
  106427. faReplyd: faReplyd,
  106428. faSuse: faSuse,
  106429. faJenkins: faJenkins,
  106430. faTwitter: faTwitter,
  106431. faRockrms: faRockrms,
  106432. faPinterest: faPinterest,
  106433. faBuffer: faBuffer,
  106434. faNpm: faNpm,
  106435. faYammer: faYammer,
  106436. faBtc: faBtc,
  106437. faDribbble: faDribbble,
  106438. faStumbleuponCircle: faStumbleuponCircle,
  106439. faInternetExplorer: faInternetExplorer,
  106440. faTelegram: faTelegram,
  106441. faTelegramPlane: faTelegramPlane,
  106442. faOldRepublic: faOldRepublic,
  106443. faSquareWhatsapp: faSquareWhatsapp,
  106444. faWhatsappSquare: faWhatsappSquare,
  106445. faNodeJs: faNodeJs,
  106446. faEdgeLegacy: faEdgeLegacy,
  106447. faSlack: faSlack,
  106448. faSlackHash: faSlackHash,
  106449. faMedrt: faMedrt,
  106450. faUsb: faUsb,
  106451. faTumblr: faTumblr,
  106452. faVaadin: faVaadin,
  106453. faQuora: faQuora,
  106454. faReacteurope: faReacteurope,
  106455. faMedium: faMedium,
  106456. faMediumM: faMediumM,
  106457. faAmilia: faAmilia,
  106458. faMixcloud: faMixcloud,
  106459. faFlipboard: faFlipboard,
  106460. faViacoin: faViacoin,
  106461. faCriticalRole: faCriticalRole,
  106462. faSitrox: faSitrox,
  106463. faDiscourse: faDiscourse,
  106464. faJoomla: faJoomla,
  106465. faMastodon: faMastodon,
  106466. faAirbnb: faAirbnb,
  106467. faWolfPackBattalion: faWolfPackBattalion,
  106468. faBuyNLarge: faBuyNLarge,
  106469. faGulp: faGulp,
  106470. faCreativeCommonsSamplingPlus: faCreativeCommonsSamplingPlus,
  106471. faStrava: faStrava,
  106472. faEmber: faEmber,
  106473. faCanadianMapleLeaf: faCanadianMapleLeaf,
  106474. faTeamspeak: faTeamspeak,
  106475. faPushed: faPushed,
  106476. faWordpressSimple: faWordpressSimple,
  106477. faNutritionix: faNutritionix,
  106478. faWodu: faWodu,
  106479. faGooglePay: faGooglePay,
  106480. faIntercom: faIntercom,
  106481. faZhihu: faZhihu,
  106482. faKorvue: faKorvue,
  106483. faPix: faPix,
  106484. faSteamSymbol: faSteamSymbol
  106485. };
  106486. /***/ }),
  106487. /***/ 2898:
  106488. /*!********************************************************************!*\
  106489. !*** ./node_modules/@fortawesome/free-regular-svg-icons/index.mjs ***!
  106490. \********************************************************************/
  106491. /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
  106492. __webpack_require__.r(__webpack_exports__);
  106493. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  106494. /* harmony export */ "faAddressBook": () => (/* binding */ faAddressBook),
  106495. /* harmony export */ "faAddressCard": () => (/* binding */ faAddressCard),
  106496. /* harmony export */ "faAngry": () => (/* binding */ faAngry),
  106497. /* harmony export */ "faArrowAltCircleDown": () => (/* binding */ faArrowAltCircleDown),
  106498. /* harmony export */ "faArrowAltCircleLeft": () => (/* binding */ faArrowAltCircleLeft),
  106499. /* harmony export */ "faArrowAltCircleRight": () => (/* binding */ faArrowAltCircleRight),
  106500. /* harmony export */ "faArrowAltCircleUp": () => (/* binding */ faArrowAltCircleUp),
  106501. /* harmony export */ "faBarChart": () => (/* binding */ faBarChart),
  106502. /* harmony export */ "faBell": () => (/* binding */ faBell),
  106503. /* harmony export */ "faBellSlash": () => (/* binding */ faBellSlash),
  106504. /* harmony export */ "faBookmark": () => (/* binding */ faBookmark),
  106505. /* harmony export */ "faBuilding": () => (/* binding */ faBuilding),
  106506. /* harmony export */ "faCalendar": () => (/* binding */ faCalendar),
  106507. /* harmony export */ "faCalendarAlt": () => (/* binding */ faCalendarAlt),
  106508. /* harmony export */ "faCalendarCheck": () => (/* binding */ faCalendarCheck),
  106509. /* harmony export */ "faCalendarDays": () => (/* binding */ faCalendarDays),
  106510. /* harmony export */ "faCalendarMinus": () => (/* binding */ faCalendarMinus),
  106511. /* harmony export */ "faCalendarPlus": () => (/* binding */ faCalendarPlus),
  106512. /* harmony export */ "faCalendarTimes": () => (/* binding */ faCalendarTimes),
  106513. /* harmony export */ "faCalendarXmark": () => (/* binding */ faCalendarXmark),
  106514. /* harmony export */ "faCaretSquareDown": () => (/* binding */ faCaretSquareDown),
  106515. /* harmony export */ "faCaretSquareLeft": () => (/* binding */ faCaretSquareLeft),
  106516. /* harmony export */ "faCaretSquareRight": () => (/* binding */ faCaretSquareRight),
  106517. /* harmony export */ "faCaretSquareUp": () => (/* binding */ faCaretSquareUp),
  106518. /* harmony export */ "faChartBar": () => (/* binding */ faChartBar),
  106519. /* harmony export */ "faCheckCircle": () => (/* binding */ faCheckCircle),
  106520. /* harmony export */ "faCheckSquare": () => (/* binding */ faCheckSquare),
  106521. /* harmony export */ "faChessBishop": () => (/* binding */ faChessBishop),
  106522. /* harmony export */ "faChessKing": () => (/* binding */ faChessKing),
  106523. /* harmony export */ "faChessKnight": () => (/* binding */ faChessKnight),
  106524. /* harmony export */ "faChessPawn": () => (/* binding */ faChessPawn),
  106525. /* harmony export */ "faChessQueen": () => (/* binding */ faChessQueen),
  106526. /* harmony export */ "faChessRook": () => (/* binding */ faChessRook),
  106527. /* harmony export */ "faCircle": () => (/* binding */ faCircle),
  106528. /* harmony export */ "faCircleCheck": () => (/* binding */ faCircleCheck),
  106529. /* harmony export */ "faCircleDot": () => (/* binding */ faCircleDot),
  106530. /* harmony export */ "faCircleDown": () => (/* binding */ faCircleDown),
  106531. /* harmony export */ "faCircleLeft": () => (/* binding */ faCircleLeft),
  106532. /* harmony export */ "faCirclePause": () => (/* binding */ faCirclePause),
  106533. /* harmony export */ "faCirclePlay": () => (/* binding */ faCirclePlay),
  106534. /* harmony export */ "faCircleQuestion": () => (/* binding */ faCircleQuestion),
  106535. /* harmony export */ "faCircleRight": () => (/* binding */ faCircleRight),
  106536. /* harmony export */ "faCircleStop": () => (/* binding */ faCircleStop),
  106537. /* harmony export */ "faCircleUp": () => (/* binding */ faCircleUp),
  106538. /* harmony export */ "faCircleUser": () => (/* binding */ faCircleUser),
  106539. /* harmony export */ "faCircleXmark": () => (/* binding */ faCircleXmark),
  106540. /* harmony export */ "faClipboard": () => (/* binding */ faClipboard),
  106541. /* harmony export */ "faClock": () => (/* binding */ faClock),
  106542. /* harmony export */ "faClockFour": () => (/* binding */ faClockFour),
  106543. /* harmony export */ "faClone": () => (/* binding */ faClone),
  106544. /* harmony export */ "faClosedCaptioning": () => (/* binding */ faClosedCaptioning),
  106545. /* harmony export */ "faComment": () => (/* binding */ faComment),
  106546. /* harmony export */ "faCommentAlt": () => (/* binding */ faCommentAlt),
  106547. /* harmony export */ "faCommentDots": () => (/* binding */ faCommentDots),
  106548. /* harmony export */ "faCommenting": () => (/* binding */ faCommenting),
  106549. /* harmony export */ "faComments": () => (/* binding */ faComments),
  106550. /* harmony export */ "faCompass": () => (/* binding */ faCompass),
  106551. /* harmony export */ "faContactBook": () => (/* binding */ faContactBook),
  106552. /* harmony export */ "faContactCard": () => (/* binding */ faContactCard),
  106553. /* harmony export */ "faCopy": () => (/* binding */ faCopy),
  106554. /* harmony export */ "faCopyright": () => (/* binding */ faCopyright),
  106555. /* harmony export */ "faCreditCard": () => (/* binding */ faCreditCard),
  106556. /* harmony export */ "faCreditCardAlt": () => (/* binding */ faCreditCardAlt),
  106557. /* harmony export */ "faDizzy": () => (/* binding */ faDizzy),
  106558. /* harmony export */ "faDotCircle": () => (/* binding */ faDotCircle),
  106559. /* harmony export */ "faDriversLicense": () => (/* binding */ faDriversLicense),
  106560. /* harmony export */ "faEdit": () => (/* binding */ faEdit),
  106561. /* harmony export */ "faEnvelope": () => (/* binding */ faEnvelope),
  106562. /* harmony export */ "faEnvelopeOpen": () => (/* binding */ faEnvelopeOpen),
  106563. /* harmony export */ "faEye": () => (/* binding */ faEye),
  106564. /* harmony export */ "faEyeSlash": () => (/* binding */ faEyeSlash),
  106565. /* harmony export */ "faFaceAngry": () => (/* binding */ faFaceAngry),
  106566. /* harmony export */ "faFaceDizzy": () => (/* binding */ faFaceDizzy),
  106567. /* harmony export */ "faFaceFlushed": () => (/* binding */ faFaceFlushed),
  106568. /* harmony export */ "faFaceFrown": () => (/* binding */ faFaceFrown),
  106569. /* harmony export */ "faFaceFrownOpen": () => (/* binding */ faFaceFrownOpen),
  106570. /* harmony export */ "faFaceGrimace": () => (/* binding */ faFaceGrimace),
  106571. /* harmony export */ "faFaceGrin": () => (/* binding */ faFaceGrin),
  106572. /* harmony export */ "faFaceGrinBeam": () => (/* binding */ faFaceGrinBeam),
  106573. /* harmony export */ "faFaceGrinBeamSweat": () => (/* binding */ faFaceGrinBeamSweat),
  106574. /* harmony export */ "faFaceGrinHearts": () => (/* binding */ faFaceGrinHearts),
  106575. /* harmony export */ "faFaceGrinSquint": () => (/* binding */ faFaceGrinSquint),
  106576. /* harmony export */ "faFaceGrinSquintTears": () => (/* binding */ faFaceGrinSquintTears),
  106577. /* harmony export */ "faFaceGrinStars": () => (/* binding */ faFaceGrinStars),
  106578. /* harmony export */ "faFaceGrinTears": () => (/* binding */ faFaceGrinTears),
  106579. /* harmony export */ "faFaceGrinTongue": () => (/* binding */ faFaceGrinTongue),
  106580. /* harmony export */ "faFaceGrinTongueSquint": () => (/* binding */ faFaceGrinTongueSquint),
  106581. /* harmony export */ "faFaceGrinTongueWink": () => (/* binding */ faFaceGrinTongueWink),
  106582. /* harmony export */ "faFaceGrinWide": () => (/* binding */ faFaceGrinWide),
  106583. /* harmony export */ "faFaceGrinWink": () => (/* binding */ faFaceGrinWink),
  106584. /* harmony export */ "faFaceKiss": () => (/* binding */ faFaceKiss),
  106585. /* harmony export */ "faFaceKissBeam": () => (/* binding */ faFaceKissBeam),
  106586. /* harmony export */ "faFaceKissWinkHeart": () => (/* binding */ faFaceKissWinkHeart),
  106587. /* harmony export */ "faFaceLaugh": () => (/* binding */ faFaceLaugh),
  106588. /* harmony export */ "faFaceLaughBeam": () => (/* binding */ faFaceLaughBeam),
  106589. /* harmony export */ "faFaceLaughSquint": () => (/* binding */ faFaceLaughSquint),
  106590. /* harmony export */ "faFaceLaughWink": () => (/* binding */ faFaceLaughWink),
  106591. /* harmony export */ "faFaceMeh": () => (/* binding */ faFaceMeh),
  106592. /* harmony export */ "faFaceMehBlank": () => (/* binding */ faFaceMehBlank),
  106593. /* harmony export */ "faFaceRollingEyes": () => (/* binding */ faFaceRollingEyes),
  106594. /* harmony export */ "faFaceSadCry": () => (/* binding */ faFaceSadCry),
  106595. /* harmony export */ "faFaceSadTear": () => (/* binding */ faFaceSadTear),
  106596. /* harmony export */ "faFaceSmile": () => (/* binding */ faFaceSmile),
  106597. /* harmony export */ "faFaceSmileBeam": () => (/* binding */ faFaceSmileBeam),
  106598. /* harmony export */ "faFaceSmileWink": () => (/* binding */ faFaceSmileWink),
  106599. /* harmony export */ "faFaceSurprise": () => (/* binding */ faFaceSurprise),
  106600. /* harmony export */ "faFaceTired": () => (/* binding */ faFaceTired),
  106601. /* harmony export */ "faFile": () => (/* binding */ faFile),
  106602. /* harmony export */ "faFileAlt": () => (/* binding */ faFileAlt),
  106603. /* harmony export */ "faFileArchive": () => (/* binding */ faFileArchive),
  106604. /* harmony export */ "faFileAudio": () => (/* binding */ faFileAudio),
  106605. /* harmony export */ "faFileClipboard": () => (/* binding */ faFileClipboard),
  106606. /* harmony export */ "faFileCode": () => (/* binding */ faFileCode),
  106607. /* harmony export */ "faFileExcel": () => (/* binding */ faFileExcel),
  106608. /* harmony export */ "faFileImage": () => (/* binding */ faFileImage),
  106609. /* harmony export */ "faFileLines": () => (/* binding */ faFileLines),
  106610. /* harmony export */ "faFilePdf": () => (/* binding */ faFilePdf),
  106611. /* harmony export */ "faFilePowerpoint": () => (/* binding */ faFilePowerpoint),
  106612. /* harmony export */ "faFileText": () => (/* binding */ faFileText),
  106613. /* harmony export */ "faFileVideo": () => (/* binding */ faFileVideo),
  106614. /* harmony export */ "faFileWord": () => (/* binding */ faFileWord),
  106615. /* harmony export */ "faFileZipper": () => (/* binding */ faFileZipper),
  106616. /* harmony export */ "faFlag": () => (/* binding */ faFlag),
  106617. /* harmony export */ "faFloppyDisk": () => (/* binding */ faFloppyDisk),
  106618. /* harmony export */ "faFlushed": () => (/* binding */ faFlushed),
  106619. /* harmony export */ "faFolder": () => (/* binding */ faFolder),
  106620. /* harmony export */ "faFolderBlank": () => (/* binding */ faFolderBlank),
  106621. /* harmony export */ "faFolderClosed": () => (/* binding */ faFolderClosed),
  106622. /* harmony export */ "faFolderOpen": () => (/* binding */ faFolderOpen),
  106623. /* harmony export */ "faFontAwesome": () => (/* binding */ faFontAwesome),
  106624. /* harmony export */ "faFontAwesomeFlag": () => (/* binding */ faFontAwesomeFlag),
  106625. /* harmony export */ "faFontAwesomeLogoFull": () => (/* binding */ faFontAwesomeLogoFull),
  106626. /* harmony export */ "faFrown": () => (/* binding */ faFrown),
  106627. /* harmony export */ "faFrownOpen": () => (/* binding */ faFrownOpen),
  106628. /* harmony export */ "faFutbol": () => (/* binding */ faFutbol),
  106629. /* harmony export */ "faFutbolBall": () => (/* binding */ faFutbolBall),
  106630. /* harmony export */ "faGem": () => (/* binding */ faGem),
  106631. /* harmony export */ "faGrimace": () => (/* binding */ faGrimace),
  106632. /* harmony export */ "faGrin": () => (/* binding */ faGrin),
  106633. /* harmony export */ "faGrinAlt": () => (/* binding */ faGrinAlt),
  106634. /* harmony export */ "faGrinBeam": () => (/* binding */ faGrinBeam),
  106635. /* harmony export */ "faGrinBeamSweat": () => (/* binding */ faGrinBeamSweat),
  106636. /* harmony export */ "faGrinHearts": () => (/* binding */ faGrinHearts),
  106637. /* harmony export */ "faGrinSquint": () => (/* binding */ faGrinSquint),
  106638. /* harmony export */ "faGrinSquintTears": () => (/* binding */ faGrinSquintTears),
  106639. /* harmony export */ "faGrinStars": () => (/* binding */ faGrinStars),
  106640. /* harmony export */ "faGrinTears": () => (/* binding */ faGrinTears),
  106641. /* harmony export */ "faGrinTongue": () => (/* binding */ faGrinTongue),
  106642. /* harmony export */ "faGrinTongueSquint": () => (/* binding */ faGrinTongueSquint),
  106643. /* harmony export */ "faGrinTongueWink": () => (/* binding */ faGrinTongueWink),
  106644. /* harmony export */ "faGrinWink": () => (/* binding */ faGrinWink),
  106645. /* harmony export */ "faHand": () => (/* binding */ faHand),
  106646. /* harmony export */ "faHandBackFist": () => (/* binding */ faHandBackFist),
  106647. /* harmony export */ "faHandLizard": () => (/* binding */ faHandLizard),
  106648. /* harmony export */ "faHandPaper": () => (/* binding */ faHandPaper),
  106649. /* harmony export */ "faHandPeace": () => (/* binding */ faHandPeace),
  106650. /* harmony export */ "faHandPointDown": () => (/* binding */ faHandPointDown),
  106651. /* harmony export */ "faHandPointLeft": () => (/* binding */ faHandPointLeft),
  106652. /* harmony export */ "faHandPointRight": () => (/* binding */ faHandPointRight),
  106653. /* harmony export */ "faHandPointUp": () => (/* binding */ faHandPointUp),
  106654. /* harmony export */ "faHandPointer": () => (/* binding */ faHandPointer),
  106655. /* harmony export */ "faHandRock": () => (/* binding */ faHandRock),
  106656. /* harmony export */ "faHandScissors": () => (/* binding */ faHandScissors),
  106657. /* harmony export */ "faHandSpock": () => (/* binding */ faHandSpock),
  106658. /* harmony export */ "faHandshake": () => (/* binding */ faHandshake),
  106659. /* harmony export */ "faHardDrive": () => (/* binding */ faHardDrive),
  106660. /* harmony export */ "faHdd": () => (/* binding */ faHdd),
  106661. /* harmony export */ "faHeart": () => (/* binding */ faHeart),
  106662. /* harmony export */ "faHospital": () => (/* binding */ faHospital),
  106663. /* harmony export */ "faHospitalAlt": () => (/* binding */ faHospitalAlt),
  106664. /* harmony export */ "faHospitalWide": () => (/* binding */ faHospitalWide),
  106665. /* harmony export */ "faHourglass": () => (/* binding */ faHourglass),
  106666. /* harmony export */ "faHourglass2": () => (/* binding */ faHourglass2),
  106667. /* harmony export */ "faHourglassEmpty": () => (/* binding */ faHourglassEmpty),
  106668. /* harmony export */ "faHourglassHalf": () => (/* binding */ faHourglassHalf),
  106669. /* harmony export */ "faIdBadge": () => (/* binding */ faIdBadge),
  106670. /* harmony export */ "faIdCard": () => (/* binding */ faIdCard),
  106671. /* harmony export */ "faImage": () => (/* binding */ faImage),
  106672. /* harmony export */ "faImages": () => (/* binding */ faImages),
  106673. /* harmony export */ "faKeyboard": () => (/* binding */ faKeyboard),
  106674. /* harmony export */ "faKiss": () => (/* binding */ faKiss),
  106675. /* harmony export */ "faKissBeam": () => (/* binding */ faKissBeam),
  106676. /* harmony export */ "faKissWinkHeart": () => (/* binding */ faKissWinkHeart),
  106677. /* harmony export */ "faLaugh": () => (/* binding */ faLaugh),
  106678. /* harmony export */ "faLaughBeam": () => (/* binding */ faLaughBeam),
  106679. /* harmony export */ "faLaughSquint": () => (/* binding */ faLaughSquint),
  106680. /* harmony export */ "faLaughWink": () => (/* binding */ faLaughWink),
  106681. /* harmony export */ "faLemon": () => (/* binding */ faLemon),
  106682. /* harmony export */ "faLifeRing": () => (/* binding */ faLifeRing),
  106683. /* harmony export */ "faLightbulb": () => (/* binding */ faLightbulb),
  106684. /* harmony export */ "faListAlt": () => (/* binding */ faListAlt),
  106685. /* harmony export */ "faMap": () => (/* binding */ faMap),
  106686. /* harmony export */ "faMeh": () => (/* binding */ faMeh),
  106687. /* harmony export */ "faMehBlank": () => (/* binding */ faMehBlank),
  106688. /* harmony export */ "faMehRollingEyes": () => (/* binding */ faMehRollingEyes),
  106689. /* harmony export */ "faMessage": () => (/* binding */ faMessage),
  106690. /* harmony export */ "faMinusSquare": () => (/* binding */ faMinusSquare),
  106691. /* harmony export */ "faMoneyBill1": () => (/* binding */ faMoneyBill1),
  106692. /* harmony export */ "faMoneyBillAlt": () => (/* binding */ faMoneyBillAlt),
  106693. /* harmony export */ "faMoon": () => (/* binding */ faMoon),
  106694. /* harmony export */ "faNewspaper": () => (/* binding */ faNewspaper),
  106695. /* harmony export */ "faNoteSticky": () => (/* binding */ faNoteSticky),
  106696. /* harmony export */ "faObjectGroup": () => (/* binding */ faObjectGroup),
  106697. /* harmony export */ "faObjectUngroup": () => (/* binding */ faObjectUngroup),
  106698. /* harmony export */ "faPaperPlane": () => (/* binding */ faPaperPlane),
  106699. /* harmony export */ "faPaste": () => (/* binding */ faPaste),
  106700. /* harmony export */ "faPauseCircle": () => (/* binding */ faPauseCircle),
  106701. /* harmony export */ "faPenToSquare": () => (/* binding */ faPenToSquare),
  106702. /* harmony export */ "faPlayCircle": () => (/* binding */ faPlayCircle),
  106703. /* harmony export */ "faPlusSquare": () => (/* binding */ faPlusSquare),
  106704. /* harmony export */ "faQuestionCircle": () => (/* binding */ faQuestionCircle),
  106705. /* harmony export */ "faRectangleList": () => (/* binding */ faRectangleList),
  106706. /* harmony export */ "faRectangleTimes": () => (/* binding */ faRectangleTimes),
  106707. /* harmony export */ "faRectangleXmark": () => (/* binding */ faRectangleXmark),
  106708. /* harmony export */ "faRegistered": () => (/* binding */ faRegistered),
  106709. /* harmony export */ "faSadCry": () => (/* binding */ faSadCry),
  106710. /* harmony export */ "faSadTear": () => (/* binding */ faSadTear),
  106711. /* harmony export */ "faSave": () => (/* binding */ faSave),
  106712. /* harmony export */ "faShareFromSquare": () => (/* binding */ faShareFromSquare),
  106713. /* harmony export */ "faShareSquare": () => (/* binding */ faShareSquare),
  106714. /* harmony export */ "faSmile": () => (/* binding */ faSmile),
  106715. /* harmony export */ "faSmileBeam": () => (/* binding */ faSmileBeam),
  106716. /* harmony export */ "faSmileWink": () => (/* binding */ faSmileWink),
  106717. /* harmony export */ "faSnowflake": () => (/* binding */ faSnowflake),
  106718. /* harmony export */ "faSoccerBall": () => (/* binding */ faSoccerBall),
  106719. /* harmony export */ "faSquare": () => (/* binding */ faSquare),
  106720. /* harmony export */ "faSquareCaretDown": () => (/* binding */ faSquareCaretDown),
  106721. /* harmony export */ "faSquareCaretLeft": () => (/* binding */ faSquareCaretLeft),
  106722. /* harmony export */ "faSquareCaretRight": () => (/* binding */ faSquareCaretRight),
  106723. /* harmony export */ "faSquareCaretUp": () => (/* binding */ faSquareCaretUp),
  106724. /* harmony export */ "faSquareCheck": () => (/* binding */ faSquareCheck),
  106725. /* harmony export */ "faSquareFull": () => (/* binding */ faSquareFull),
  106726. /* harmony export */ "faSquareMinus": () => (/* binding */ faSquareMinus),
  106727. /* harmony export */ "faSquarePlus": () => (/* binding */ faSquarePlus),
  106728. /* harmony export */ "faStar": () => (/* binding */ faStar),
  106729. /* harmony export */ "faStarHalf": () => (/* binding */ faStarHalf),
  106730. /* harmony export */ "faStarHalfAlt": () => (/* binding */ faStarHalfAlt),
  106731. /* harmony export */ "faStarHalfStroke": () => (/* binding */ faStarHalfStroke),
  106732. /* harmony export */ "faStickyNote": () => (/* binding */ faStickyNote),
  106733. /* harmony export */ "faStopCircle": () => (/* binding */ faStopCircle),
  106734. /* harmony export */ "faSun": () => (/* binding */ faSun),
  106735. /* harmony export */ "faSurprise": () => (/* binding */ faSurprise),
  106736. /* harmony export */ "faThumbsDown": () => (/* binding */ faThumbsDown),
  106737. /* harmony export */ "faThumbsUp": () => (/* binding */ faThumbsUp),
  106738. /* harmony export */ "faTimesCircle": () => (/* binding */ faTimesCircle),
  106739. /* harmony export */ "faTimesRectangle": () => (/* binding */ faTimesRectangle),
  106740. /* harmony export */ "faTired": () => (/* binding */ faTired),
  106741. /* harmony export */ "faTrashAlt": () => (/* binding */ faTrashAlt),
  106742. /* harmony export */ "faTrashCan": () => (/* binding */ faTrashCan),
  106743. /* harmony export */ "faUser": () => (/* binding */ faUser),
  106744. /* harmony export */ "faUserCircle": () => (/* binding */ faUserCircle),
  106745. /* harmony export */ "faVcard": () => (/* binding */ faVcard),
  106746. /* harmony export */ "faWindowClose": () => (/* binding */ faWindowClose),
  106747. /* harmony export */ "faWindowMaximize": () => (/* binding */ faWindowMaximize),
  106748. /* harmony export */ "faWindowMinimize": () => (/* binding */ faWindowMinimize),
  106749. /* harmony export */ "faWindowRestore": () => (/* binding */ faWindowRestore),
  106750. /* harmony export */ "faXmarkCircle": () => (/* binding */ faXmarkCircle),
  106751. /* harmony export */ "far": () => (/* binding */ icons),
  106752. /* harmony export */ "prefix": () => (/* binding */ prefix)
  106753. /* harmony export */ });
  106754. var prefix = "far";
  106755. var faTrashCan = {
  106756. prefix: 'far',
  106757. iconName: 'trash-can',
  106758. icon: [448, 512, [61460, "trash-alt"], "f2ed", "M160 400C160 408.8 152.8 416 144 416C135.2 416 128 408.8 128 400V192C128 183.2 135.2 176 144 176C152.8 176 160 183.2 160 192V400zM240 400C240 408.8 232.8 416 224 416C215.2 416 208 408.8 208 400V192C208 183.2 215.2 176 224 176C232.8 176 240 183.2 240 192V400zM320 400C320 408.8 312.8 416 304 416C295.2 416 288 408.8 288 400V192C288 183.2 295.2 176 304 176C312.8 176 320 183.2 320 192V400zM317.5 24.94L354.2 80H424C437.3 80 448 90.75 448 104C448 117.3 437.3 128 424 128H416V432C416 476.2 380.2 512 336 512H112C67.82 512 32 476.2 32 432V128H24C10.75 128 0 117.3 0 104C0 90.75 10.75 80 24 80H93.82L130.5 24.94C140.9 9.357 158.4 0 177.1 0H270.9C289.6 0 307.1 9.358 317.5 24.94H317.5zM151.5 80H296.5L277.5 51.56C276 49.34 273.5 48 270.9 48H177.1C174.5 48 171.1 49.34 170.5 51.56L151.5 80zM80 432C80 449.7 94.33 464 112 464H336C353.7 464 368 449.7 368 432V128H80V432z"]
  106759. };
  106760. var faTrashAlt = faTrashCan;
  106761. var faMessage = {
  106762. prefix: 'far',
  106763. iconName: 'message',
  106764. icon: [512, 512, ["comment-alt"], "f27a", "M447.1 0h-384c-35.25 0-64 28.75-64 63.1v287.1c0 35.25 28.75 63.1 64 63.1h96v83.98c0 9.836 11.02 15.55 19.12 9.7l124.9-93.68h144c35.25 0 64-28.75 64-63.1V63.1C511.1 28.75 483.2 0 447.1 0zM464 352c0 8.75-7.25 16-16 16h-160l-80 60v-60H64c-8.75 0-16-7.25-16-16V64c0-8.75 7.25-16 16-16h384c8.75 0 16 7.25 16 16V352z"]
  106765. };
  106766. var faCommentAlt = faMessage;
  106767. var faFileLines = {
  106768. prefix: 'far',
  106769. iconName: 'file-lines',
  106770. icon: [384, 512, [128441, 128462, 61686, "file-alt", "file-text"], "f15c", "M365.3 93.38l-74.63-74.64C278.6 6.742 262.3 0 245.4 0L64-.0001c-35.35 0-64 28.65-64 64l.0065 384c0 35.34 28.65 64 64 64H320c35.2 0 64-28.8 64-64V138.6C384 121.7 377.3 105.4 365.3 93.38zM336 448c0 8.836-7.164 16-16 16H64.02c-8.838 0-16-7.164-16-16L48 64.13c0-8.836 7.164-16 16-16h160L224 128c0 17.67 14.33 32 32 32h79.1V448zM96 280C96 293.3 106.8 304 120 304h144C277.3 304 288 293.3 288 280S277.3 256 264 256h-144C106.8 256 96 266.8 96 280zM264 352h-144C106.8 352 96 362.8 96 376s10.75 24 24 24h144c13.25 0 24-10.75 24-24S277.3 352 264 352z"]
  106771. };
  106772. var faFileAlt = faFileLines;
  106773. var faFileText = faFileLines;
  106774. var faCalendarDays = {
  106775. prefix: 'far',
  106776. iconName: 'calendar-days',
  106777. icon: [448, 512, ["calendar-alt"], "f073", "M152 64H296V24C296 10.75 306.7 0 320 0C333.3 0 344 10.75 344 24V64H384C419.3 64 448 92.65 448 128V448C448 483.3 419.3 512 384 512H64C28.65 512 0 483.3 0 448V128C0 92.65 28.65 64 64 64H104V24C104 10.75 114.7 0 128 0C141.3 0 152 10.75 152 24V64zM48 248H128V192H48V248zM48 296V360H128V296H48zM176 296V360H272V296H176zM320 296V360H400V296H320zM400 192H320V248H400V192zM400 408H320V464H384C392.8 464 400 456.8 400 448V408zM272 408H176V464H272V408zM128 408H48V448C48 456.8 55.16 464 64 464H128V408zM272 192H176V248H272V192z"]
  106778. };
  106779. var faCalendarAlt = faCalendarDays;
  106780. var faHandPointRight = {
  106781. prefix: 'far',
  106782. iconName: 'hand-point-right',
  106783. icon: [512, 512, [], "f0a4", "M320 408c0-6.428-.8457-12.66-2.434-18.6C338.2 376.7 352 353.9 352 328c0-6.428-.8457-12.66-2.434-18.6C370.2 296.7 384 273.9 384 248c0-2.705-.1484-5.373-.4414-8H440C479.7 240 512 207.7 512 168S479.7 96 440 96H243.7C227.5 76.51 203.2 64 176 64H126.1C94.02 64 64.47 81.1 49 108.6L17.65 164.5C6.104 185.1 0 208.4 0 231.8v107.9C0 417.1 64.6 480 144 480h104C287.7 480 320 447.7 320 408zM280 304c13.23 0 24 10.78 24 24S293.2 352 280 352H232.1C218.9 352 208 341.2 208 328S218.8 304 232 304H280zM312 224c13.23 0 24 10.78 24 24S325.2 272 312 272h-48c-3.029 0-5.875-.7012-8.545-1.73C260.7 259.9 264 248.4 264 236V224H312zM440 144c13.23 0 24 10.78 24 24S453.2 192 440 192h-176V152c0-2.686-.5566-5.217-.793-7.84C263.5 144.2 263.7 144 264 144H440zM48 339.7V231.8c0-15.25 3.984-30.41 11.52-43.88l31.34-55.78C97.84 119.7 111.4 112 126.1 112H176c22.06 0 40 17.94 40 40v84c0 15.44-12.56 28-28 28S160 251.4 160 236V184C160 170.8 149.3 160 136 160S112 170.8 112 184v52c0 33.23 21.58 61.25 51.36 71.54C161.3 314 160 320.9 160 328c0 5.041 1.166 9.836 2.178 14.66C137.4 354 120 378.1 120 408c0 7.684 1.557 14.94 3.836 21.87C80.56 420.9 48 383.9 48 339.7zM192 432c-13.23 0-24-10.78-24-24S178.8 384 192 384h56c13.23 0 24 10.78 24 24s-10.77 24-24 24H192z"]
  106784. };
  106785. var faFaceSmileBeam = {
  106786. prefix: 'far',
  106787. iconName: 'face-smile-beam',
  106788. icon: [512, 512, [128522, "smile-beam"], "f5b8", "M256 352C293.2 352 319.2 334.5 334.4 318.1C343.3 308.4 358.5 307.7 368.3 316.7C378 325.7 378.6 340.9 369.6 350.6C347.7 374.5 309.7 400 256 400C202.3 400 164.3 374.5 142.4 350.6C133.4 340.9 133.1 325.7 143.7 316.7C153.5 307.7 168.7 308.4 177.6 318.1C192.8 334.5 218.8 352 256 352zM217.6 228.8L217.6 228.8L217.4 228.5C217.2 228.3 217 228 216.7 227.6C216 226.8 215.1 225.7 213.9 224.3C211.4 221.4 207.9 217.7 203.7 213.1C194.9 206.2 184.8 200 176 200C167.2 200 157.1 206.2 148.3 213.1C144.1 217.7 140.6 221.4 138.1 224.3C136.9 225.7 135.1 226.8 135.3 227.6C134.1 228 134.8 228.3 134.6 228.5L134.4 228.8L134.4 228.8C132.3 231.6 128.7 232.7 125.5 231.6C122.2 230.5 120 227.4 120 224C120 206.1 126.7 188.4 136.6 175.2C146.4 162.2 160.5 152 176 152C191.5 152 205.6 162.2 215.4 175.2C225.3 188.4 232 206.1 232 224C232 227.4 229.8 230.5 226.5 231.6C223.3 232.7 219.7 231.6 217.6 228.8V228.8zM377.6 228.8L377.4 228.5C377.2 228.3 377 228 376.7 227.6C376 226.8 375.1 225.7 373.9 224.3C371.4 221.4 367.9 217.7 363.7 213.1C354.9 206.2 344.8 200 336 200C327.2 200 317.1 206.2 308.3 213.1C304.1 217.7 300.6 221.4 298.1 224.3C296.9 225.7 295.1 226.8 295.3 227.6C294.1 228 294.8 228.3 294.6 228.5L294.4 228.8L294.4 228.8C292.3 231.6 288.7 232.7 285.5 231.6C282.2 230.5 280 227.4 280 224C280 206.1 286.7 188.4 296.6 175.2C306.4 162.2 320.5 152 336 152C351.5 152 365.6 162.2 375.4 175.2C385.3 188.4 392 206.1 392 224C392 227.4 389.8 230.5 386.5 231.6C383.3 232.7 379.7 231.6 377.6 228.8L377.6 228.8zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"]
  106789. };
  106790. var faSmileBeam = faFaceSmileBeam;
  106791. var faFaceGrinStars = {
  106792. prefix: 'far',
  106793. iconName: 'face-grin-stars',
  106794. icon: [512, 512, [129321, "grin-stars"], "f587", "M199.8 167.3L237.9 172.3C240.1 172.7 243.5 174.8 244.5 177.8C245.4 180.7 244.6 183.9 242.4 186L214.5 212.5L221.5 250.3C222 253.4 220.8 256.4 218.3 258.2C215.8 260.1 212.5 260.3 209.8 258.8L175.1 240.5L142.2 258.8C139.5 260.3 136.2 260.1 133.7 258.2C131.2 256.4 129.1 253.4 130.5 250.3L137.5 212.5L109.6 186C107.4 183.9 106.6 180.7 107.5 177.8C108.5 174.8 111 172.7 114.1 172.3L152.2 167.3L168.8 132.6C170.1 129.8 172.9 128 175.1 128C179.1 128 181.9 129.8 183.2 132.6L199.8 167.3zM359.8 167.3L397.9 172.3C400.1 172.7 403.5 174.8 404.5 177.8C405.4 180.7 404.6 183.9 402.4 186L374.5 212.5L381.5 250.3C382 253.4 380.8 256.4 378.3 258.2C375.8 260.1 372.5 260.3 369.8 258.8L336 240.5L302.2 258.8C299.5 260.3 296.2 260.1 293.7 258.2C291.2 256.4 289.1 253.4 290.5 250.3L297.5 212.5L269.6 186C267.4 183.9 266.6 180.7 267.5 177.8C268.5 174.8 271 172.7 274.1 172.3L312.2 167.3L328.8 132.6C330.1 129.8 332.9 128 336 128C339.1 128 341.9 129.8 343.2 132.6L359.8 167.3zM349.5 308.4C368.2 303.1 385.4 320.4 374.1 336.5C350.4 374.6 306.3 399.1 255.9 399.1C205.6 399.1 161.5 374.6 136.9 336.5C126.5 320.4 143.7 303.1 162.3 308.4C191.3 315.1 222.8 318.8 255.9 318.8C289 318.8 320.6 315.1 349.5 308.4zM0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464z"]
  106795. };
  106796. var faGrinStars = faFaceGrinStars;
  106797. var faAddressBook = {
  106798. prefix: 'far',
  106799. iconName: 'address-book',
  106800. icon: [512, 512, [62138, "contact-book"], "f2b9", "M272 288h-64C163.8 288 128 323.8 128 368C128 376.8 135.2 384 144 384h192c8.836 0 16-7.164 16-16C352 323.8 316.2 288 272 288zM240 256c35.35 0 64-28.65 64-64s-28.65-64-64-64c-35.34 0-64 28.65-64 64S204.7 256 240 256zM496 320H480v96h16c8.836 0 16-7.164 16-16v-64C512 327.2 504.8 320 496 320zM496 64H480v96h16C504.8 160 512 152.8 512 144v-64C512 71.16 504.8 64 496 64zM496 192H480v96h16C504.8 288 512 280.8 512 272v-64C512 199.2 504.8 192 496 192zM384 0H96C60.65 0 32 28.65 32 64v384c0 35.35 28.65 64 64 64h288c35.35 0 64-28.65 64-64V64C448 28.65 419.3 0 384 0zM400 448c0 8.836-7.164 16-16 16H96c-8.836 0-16-7.164-16-16V64c0-8.838 7.164-16 16-16h288c8.836 0 16 7.162 16 16V448z"]
  106801. };
  106802. var faContactBook = faAddressBook;
  106803. var faComments = {
  106804. prefix: 'far',
  106805. iconName: 'comments',
  106806. icon: [640, 512, [128490, 61670], "f086", "M208 0C322.9 0 416 78.8 416 176C416 273.2 322.9 352 208 352C189.3 352 171.2 349.7 153.9 345.8C123.3 364.8 79.13 384 24.95 384C14.97 384 5.93 378.1 2.018 368.9C-1.896 359.7-.0074 349.1 6.739 341.9C7.26 341.5 29.38 317.4 45.73 285.9C17.18 255.8 0 217.6 0 176C0 78.8 93.13 0 208 0zM164.6 298.1C179.2 302.3 193.8 304 208 304C296.2 304 368 246.6 368 176C368 105.4 296.2 48 208 48C119.8 48 48 105.4 48 176C48 211.2 65.71 237.2 80.57 252.9L104.1 277.8L88.31 308.1C84.74 314.1 80.73 321.9 76.55 328.5C94.26 323.4 111.7 315.5 128.7 304.1L145.4 294.6L164.6 298.1zM441.6 128.2C552 132.4 640 209.5 640 304C640 345.6 622.8 383.8 594.3 413.9C610.6 445.4 632.7 469.5 633.3 469.9C640 477.1 641.9 487.7 637.1 496.9C634.1 506.1 625 512 615 512C560.9 512 516.7 492.8 486.1 473.8C468.8 477.7 450.7 480 432 480C350 480 279.1 439.8 245.2 381.5C262.5 379.2 279.1 375.3 294.9 369.9C322.9 407.1 373.9 432 432 432C446.2 432 460.8 430.3 475.4 426.1L494.6 422.6L511.3 432.1C528.3 443.5 545.7 451.4 563.5 456.5C559.3 449.9 555.3 442.1 551.7 436.1L535.9 405.8L559.4 380.9C574.3 365.3 592 339.2 592 304C592 237.7 528.7 183.1 447.1 176.6L448 176C448 159.5 445.8 143.5 441.6 128.2H441.6z"]
  106807. };
  106808. var faPaste = {
  106809. prefix: 'far',
  106810. iconName: 'paste',
  106811. icon: [512, 512, ["file-clipboard"], "f0ea", "M502.6 198.6l-61.25-61.25C435.4 131.4 427.3 128 418.8 128H256C220.7 128 191.1 156.7 192 192l.0065 255.1C192 483.3 220.7 512 256 512h192c35.2 0 64-28.8 64-64l.0098-226.7C512 212.8 508.6 204.6 502.6 198.6zM464 448c0 8.836-7.164 16-16 16h-192c-8.838 0-16-7.164-16-16L240 192.1c0-8.836 7.164-16 16-16h128L384 224c0 17.67 14.33 32 32 32h48.01V448zM317.7 96C310.6 68.45 285.8 48 256 48H215.2C211.3 20.93 188.1 0 160 0C131.9 0 108.7 20.93 104.8 48H64c-35.35 0-64 28.65-64 64V384c0 35.34 28.65 64 64 64h96v-48H64c-8.836 0-16-7.164-16-16V112C48 103.2 55.18 96 64 96h16v16c0 17.67 14.33 32 32 32h61.35C190 115.4 220.6 96 256 96H317.7zM160 72c-8.822 0-16-7.176-16-16s7.178-16 16-16s16 7.176 16 16S168.8 72 160 72z"]
  106812. };
  106813. var faFileClipboard = faPaste;
  106814. var faFaceGrinTongueSquint = {
  106815. prefix: 'far',
  106816. iconName: 'face-grin-tongue-squint',
  106817. icon: [512, 512, [128541, "grin-tongue-squint"], "f58a", "M116 157.1C116 148.2 125.6 142.4 133.5 146.7L223.4 194.6C234.1 200.3 234.1 215.7 223.4 221.4L133.5 269.3C125.6 273.6 116 267.8 116 258.9C116 256.1 116.1 253.4 118.8 251.2L154.8 208L118.8 164.8C116.1 162.6 116 159.9 116 157.1V157.1zM378.5 146.7C386.4 142.4 396 148.2 396 157.1C396 159.9 395 162.6 393.2 164.8L357.2 208L393.2 251.2C395 253.4 396 256.1 396 258.9C396 267.8 386.4 273.6 378.5 269.3L288.6 221.4C277.9 215.7 277.9 200.3 288.6 194.6L378.5 146.7zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 337.7 95.13 408.4 163.7 442.4C161.3 434 160 425.2 160 416V392.7C135.1 375.1 116.9 351.3 105.2 323.5C100.2 311.7 112.2 301 124.5 304.8C164.1 316.9 208.9 323.8 256.3 323.8C303.7 323.8 348.4 316.9 388.1 304.8C400.4 301 412.4 311.7 407.4 323.5C395.6 351.5 376.3 375.5 352 393.1V416C352 425.2 350.7 434 348.3 442.4C416.9 408.4 464 337.7 464 255.1C464 141.1 370.9 47.1 256 47.1L256 48zM320 416V378.6C320 363.9 308.1 352 293.4 352H291.4C280.1 352 270.3 359.9 267.8 370.9C264.1 383.5 247 383.5 244.2 370.9C241.7 359.9 231.9 352 220.6 352H218.6C203.9 352 192 363.9 192 378.6V416C192 451.3 220.7 480 256 480C291.3 480 320 451.3 320 416z"]
  106818. };
  106819. var faGrinTongueSquint = faFaceGrinTongueSquint;
  106820. var faFaceFlushed = {
  106821. prefix: 'far',
  106822. iconName: 'face-flushed',
  106823. icon: [512, 512, [128563, "flushed"], "f579", "M320 336C333.3 336 344 346.7 344 360C344 373.3 333.3 384 320 384H192C178.7 384 168 373.3 168 360C168 346.7 178.7 336 192 336H320zM136.4 224C136.4 210.7 147.1 200 160.4 200C173.6 200 184.4 210.7 184.4 224C184.4 237.3 173.6 248 160.4 248C147.1 248 136.4 237.3 136.4 224zM80 224C80 179.8 115.8 144 160 144C204.2 144 240 179.8 240 224C240 268.2 204.2 304 160 304C115.8 304 80 268.2 80 224zM160 272C186.5 272 208 250.5 208 224C208 197.5 186.5 176 160 176C133.5 176 112 197.5 112 224C112 250.5 133.5 272 160 272zM376.4 224C376.4 237.3 365.6 248 352.4 248C339.1 248 328.4 237.3 328.4 224C328.4 210.7 339.1 200 352.4 200C365.6 200 376.4 210.7 376.4 224zM432 224C432 268.2 396.2 304 352 304C307.8 304 272 268.2 272 224C272 179.8 307.8 144 352 144C396.2 144 432 179.8 432 224zM352 176C325.5 176 304 197.5 304 224C304 250.5 325.5 272 352 272C378.5 272 400 250.5 400 224C400 197.5 378.5 176 352 176zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464z"]
  106824. };
  106825. var faFlushed = faFaceFlushed;
  106826. var faSquareCaretRight = {
  106827. prefix: 'far',
  106828. iconName: 'square-caret-right',
  106829. icon: [448, 512, ["caret-square-right"], "f152", "M200.3 142.4C193.3 135.9 183.1 134.2 174.4 138C165.7 141.8 160 150.5 160 159.1v192C160 361.5 165.7 370.2 174.4 374c8.719 3.812 18.91 2.094 25.91-4.375l104-96C309.2 269.1 312 262.7 312 256s-2.812-13.09-7.719-17.62L200.3 142.4zM384 32H64C28.66 32 0 60.66 0 96v320c0 35.34 28.66 64 64 64h320c35.34 0 64-28.66 64-64V96C448 60.66 419.3 32 384 32zM400 416c0 8.82-7.18 16-16 16H64c-8.82 0-16-7.18-16-16V96c0-8.82 7.18-16 16-16h320c8.82 0 16 7.18 16 16V416z"]
  106830. };
  106831. var faCaretSquareRight = faSquareCaretRight;
  106832. var faSquareMinus = {
  106833. prefix: 'far',
  106834. iconName: 'square-minus',
  106835. icon: [448, 512, [61767, "minus-square"], "f146", "M312 232C325.3 232 336 242.7 336 256C336 269.3 325.3 280 312 280H136C122.7 280 112 269.3 112 256C112 242.7 122.7 232 136 232H312zM0 96C0 60.65 28.65 32 64 32H384C419.3 32 448 60.65 448 96V416C448 451.3 419.3 480 384 480H64C28.65 480 0 451.3 0 416V96zM48 96V416C48 424.8 55.16 432 64 432H384C392.8 432 400 424.8 400 416V96C400 87.16 392.8 80 384 80H64C55.16 80 48 87.16 48 96z"]
  106836. };
  106837. var faMinusSquare = faSquareMinus;
  106838. var faCompass = {
  106839. prefix: 'far',
  106840. iconName: 'compass',
  106841. icon: [512, 512, [129517], "f14e", "M306.7 325.1L162.4 380.6C142.1 388.1 123.9 369 131.4 349.6L186.9 205.3C190.1 196.8 196.8 190.1 205.3 186.9L349.6 131.4C369 123.9 388.1 142.1 380.6 162.4L325.1 306.7C321.9 315.2 315.2 321.9 306.7 325.1V325.1zM255.1 224C238.3 224 223.1 238.3 223.1 256C223.1 273.7 238.3 288 255.1 288C273.7 288 288 273.7 288 256C288 238.3 273.7 224 255.1 224V224zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"]
  106842. };
  106843. var faSquareCaretDown = {
  106844. prefix: 'far',
  106845. iconName: 'square-caret-down',
  106846. icon: [448, 512, ["caret-square-down"], "f150", "M320 192H128C118.5 192 109.8 197.7 105.1 206.4C102.2 215.1 103.9 225.3 110.4 232.3l96 104C210.9 341.2 217.3 344 224 344s13.09-2.812 17.62-7.719l96-104c6.469-7 8.188-17.19 4.375-25.91C338.2 197.7 329.5 192 320 192zM384 32H64C28.65 32 0 60.66 0 96v320c0 35.34 28.65 64 64 64h320c35.35 0 64-28.66 64-64V96C448 60.66 419.3 32 384 32zM400 416c0 8.82-7.178 16-16 16H64c-8.822 0-16-7.18-16-16V96c0-8.82 7.178-16 16-16h320c8.822 0 16 7.18 16 16V416z"]
  106847. };
  106848. var faCaretSquareDown = faSquareCaretDown;
  106849. var faFaceKissBeam = {
  106850. prefix: 'far',
  106851. iconName: 'face-kiss-beam',
  106852. icon: [512, 512, [128537, "kiss-beam"], "f597", "M304.7 297.7C308.9 302.8 312 309.1 312 316C312 322.9 308.9 329.2 304.7 334.3C300.4 339.5 294.5 344 287.9 347.7C285.2 349.3 282.3 350.7 279.2 352C282.3 353.3 285.2 354.7 287.9 356.3C294.5 359.1 300.4 364.5 304.7 369.7C308.9 374.8 312 381.1 312 388C312 394.9 308.9 401.2 304.7 406.3C300.4 411.5 294.5 416 287.9 419.7C274.7 427.1 257.4 432 240 432C236.4 432 233.2 429.5 232.3 426C231.3 422.5 232.9 418.8 236.1 417L236.1 417L236.3 416.9C236.5 416.8 236.8 416.6 237.2 416.3C238 415.9 239.2 415.1 240.6 414.2C243.4 412.4 247.2 409.7 250.8 406.6C254.6 403.5 258 400 260.5 396.6C262.1 393 264 390.2 264 388C264 385.8 262.1 382.1 260.5 379.4C258 375.1 254.6 372.5 250.8 369.4C247.2 366.3 243.4 363.6 240.6 361.8C239.2 360.9 238 360.1 237.2 359.7C236.8 359.4 236.5 359.2 236.3 359.1L236.1 358.1L236.1 358.1C233.6 357.6 232 354.9 232 352C232 349.1 233.6 346.4 236.1 345L236.1 345L236.3 344.9C236.5 344.8 236.8 344.6 237.2 344.3C238 343.9 239.2 343.1 240.6 342.2C243.4 340.4 247.2 337.7 250.8 334.6C254.6 331.5 258 328.1 260.5 324.6C262.1 321 264 318.2 264 316C264 313.8 262.1 310.1 260.5 307.4C258 303.1 254.6 300.5 250.8 297.4C247.2 294.3 243.4 291.6 240.6 289.8C239.2 288.9 238 288.1 237.2 287.7C236.8 287.4 236.5 287.2 236.3 287.1L236.1 286.1L236.1 286.1C232.9 285.2 231.3 281.5 232.3 277.1C233.2 274.5 236.4 272 240 272C257.4 272 274.7 276.9 287.9 284.3C294.5 287.1 300.4 292.5 304.7 297.7L304.7 297.7zM217.6 228.8L217.6 228.8L217.4 228.5C217.2 228.3 217 228 216.7 227.6C216 226.8 215.1 225.7 213.9 224.3C211.4 221.4 207.9 217.7 203.7 213.1C194.9 206.2 184.8 200 176 200C167.2 200 157.1 206.2 148.3 213.1C144.1 217.7 140.6 221.4 138.1 224.3C136.9 225.7 135.1 226.8 135.3 227.6C134.1 228 134.8 228.3 134.6 228.5L134.4 228.8L134.4 228.8C132.3 231.6 128.7 232.7 125.5 231.6C122.2 230.5 120 227.4 120 224C120 206.1 126.7 188.4 136.6 175.2C146.4 162.2 160.5 152 176 152C191.5 152 205.6 162.2 215.4 175.2C225.3 188.4 232 206.1 232 224C232 227.4 229.8 230.5 226.5 231.6C223.3 232.7 219.7 231.6 217.6 228.8V228.8zM377.6 228.8L377.4 228.5C377.2 228.3 377 228 376.7 227.6C376 226.8 375.1 225.7 373.9 224.3C371.4 221.4 367.9 217.7 363.7 213.1C354.9 206.2 344.8 200 336 200C327.2 200 317.1 206.2 308.3 213.1C304.1 217.7 300.6 221.4 298.1 224.3C296.9 225.7 295.1 226.8 295.3 227.6C294.1 228 294.8 228.3 294.6 228.5L294.4 228.8L294.4 228.8C292.3 231.6 288.7 232.7 285.5 231.6C282.2 230.5 280 227.4 280 224C280 206.1 286.7 188.4 296.6 175.2C306.4 162.2 320.5 152 336 152C351.5 152 365.6 162.2 375.4 175.2C385.3 188.4 392 206.1 392 224C392 227.4 389.8 230.5 386.5 231.6C383.3 232.7 379.7 231.6 377.6 228.8L377.6 228.8zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"]
  106853. };
  106854. var faKissBeam = faFaceKissBeam;
  106855. var faLightbulb = {
  106856. prefix: 'far',
  106857. iconName: 'lightbulb',
  106858. icon: [384, 512, [128161], "f0eb", "M112.1 454.3c0 6.297 1.816 12.44 5.284 17.69l17.14 25.69c5.25 7.875 17.17 14.28 26.64 14.28h61.67c9.438 0 21.36-6.401 26.61-14.28l17.08-25.68c2.938-4.438 5.348-12.37 5.348-17.7L272 415.1h-160L112.1 454.3zM192 0C90.02 .3203 16 82.97 16 175.1c0 44.38 16.44 84.84 43.56 115.8c16.53 18.84 42.34 58.23 52.22 91.45c.0313 .25 .0938 .5166 .125 .7823h160.2c.0313-.2656 .0938-.5166 .125-.7823c9.875-33.22 35.69-72.61 52.22-91.45C351.6 260.8 368 220.4 368 175.1C368 78.8 289.2 .0039 192 0zM288.4 260.1c-15.66 17.85-35.04 46.3-49.05 75.89h-94.61c-14.01-29.59-33.39-58.04-49.04-75.88C75.24 236.8 64 206.1 64 175.1C64 113.3 112.1 48.25 191.1 48C262.6 48 320 105.4 320 175.1C320 206.1 308.8 236.8 288.4 260.1zM176 80C131.9 80 96 115.9 96 160c0 8.844 7.156 16 16 16S128 168.8 128 160c0-26.47 21.53-48 48-48c8.844 0 16-7.148 16-15.99S184.8 80 176 80z"]
  106859. };
  106860. var faFlag = {
  106861. prefix: 'far',
  106862. iconName: 'flag',
  106863. icon: [512, 512, [127988, 61725], "f024", "M476.3 0c-6.365 0-13.01 1.35-19.34 4.233c-45.69 20.86-79.56 27.94-107.8 27.94c-59.96 0-94.81-31.86-163.9-31.87c-34.63 0-77.87 8.003-137.2 32.05V24C48 10.75 37.25 0 24 0S0 10.75 0 24v464C0 501.3 10.75 512 24 512s24-10.75 24-24v-104c53.59-23.86 96.02-31.81 132.8-31.81c73.63 0 124.9 31.78 198.6 31.78c31.91 0 68.02-5.971 111.1-23.09C504.1 355.9 512 344.4 512 332.1V30.73C512 11.1 495.3 0 476.3 0zM464 319.8c-30.31 10.82-58.08 16.1-84.6 16.1c-30.8 0-58.31-7-87.44-14.41c-32.01-8.141-68.29-17.37-111.1-17.37c-42.35 0-85.99 9.09-132.8 27.73V84.14l18.03-7.301c47.39-19.2 86.38-28.54 119.2-28.54c28.24 .0039 49.12 6.711 73.31 14.48c25.38 8.148 54.13 17.39 90.58 17.39c35.43 0 72.24-8.496 114.9-26.61V319.8z"]
  106864. };
  106865. var faSquareCheck = {
  106866. prefix: 'far',
  106867. iconName: 'square-check',
  106868. icon: [448, 512, [9745, 9989, 61510, "check-square"], "f14a", "M211.8 339.8C200.9 350.7 183.1 350.7 172.2 339.8L108.2 275.8C97.27 264.9 97.27 247.1 108.2 236.2C119.1 225.3 136.9 225.3 147.8 236.2L192 280.4L300.2 172.2C311.1 161.3 328.9 161.3 339.8 172.2C350.7 183.1 350.7 200.9 339.8 211.8L211.8 339.8zM0 96C0 60.65 28.65 32 64 32H384C419.3 32 448 60.65 448 96V416C448 451.3 419.3 480 384 480H64C28.65 480 0 451.3 0 416V96zM48 96V416C48 424.8 55.16 432 64 432H384C392.8 432 400 424.8 400 416V96C400 87.16 392.8 80 384 80H64C55.16 80 48 87.16 48 96z"]
  106869. };
  106870. var faCheckSquare = faSquareCheck;
  106871. var faCircleDot = {
  106872. prefix: 'far',
  106873. iconName: 'circle-dot',
  106874. icon: [512, 512, [128280, "dot-circle"], "f192", "M160 256C160 202.1 202.1 160 256 160C309 160 352 202.1 352 256C352 309 309 352 256 352C202.1 352 160 309 160 256zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"]
  106875. };
  106876. var faDotCircle = faCircleDot;
  106877. var faFaceDizzy = {
  106878. prefix: 'far',
  106879. iconName: 'face-dizzy',
  106880. icon: [512, 512, ["dizzy"], "f567", "M192 352C192 316.7 220.7 288 256 288C291.3 288 320 316.7 320 352C320 387.3 291.3 416 256 416C220.7 416 192 387.3 192 352zM103 135C112.4 125.7 127.6 125.7 136.1 135L160 158.1L183 135C192.4 125.7 207.6 125.7 216.1 135C226.3 144.4 226.3 159.6 216.1 168.1L193.9 192L216.1 215C226.3 224.4 226.3 239.6 216.1 248.1C207.6 258.3 192.4 258.3 183 248.1L160 225.9L136.1 248.1C127.6 258.3 112.4 258.3 103 248.1C93.66 239.6 93.66 224.4 103 215L126.1 192L103 168.1C93.66 159.6 93.66 144.4 103 135V135zM295 135C304.4 125.7 319.6 125.7 328.1 135L352 158.1L375 135C384.4 125.7 399.6 125.7 408.1 135C418.3 144.4 418.3 159.6 408.1 168.1L385.9 192L408.1 215C418.3 224.4 418.3 239.6 408.1 248.1C399.6 258.3 384.4 258.3 375 248.1L352 225.9L328.1 248.1C319.6 258.3 304.4 258.3 295 248.1C285.7 239.6 285.7 224.4 295 215L318.1 192L295 168.1C285.7 159.6 285.7 144.4 295 135V135zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"]
  106881. };
  106882. var faDizzy = faFaceDizzy;
  106883. var faFutbol = {
  106884. prefix: 'far',
  106885. iconName: 'futbol',
  106886. icon: [512, 512, [9917, "futbol-ball", "soccer-ball"], "f1e3", "M177.1 228.6L207.9 320h96.5l29.62-91.38L256 172.1L177.1 228.6zM255.1 0C114.6 0 .0001 114.6 .0001 256S114.6 512 256 512s255.1-114.6 255.1-255.1S397.4 0 255.1 0zM435.2 361.1l-103.9-1.578l-30.67 99.52C286.2 462.2 271.3 464 256 464s-30.19-1.773-44.56-4.93L180.8 359.6L76.83 361.1c-14.93-25.35-24.79-54.01-27.8-84.72L134.3 216.4L100.7 118.1c19.85-22.34 44.32-40.45 72.04-52.62L256 128l83.29-62.47c27.72 12.17 52.19 30.27 72.04 52.62L377.7 216.4l85.23 59.97C459.1 307.1 450.1 335.8 435.2 361.1z"]
  106887. };
  106888. var faFutbolBall = faFutbol;
  106889. var faSoccerBall = faFutbol;
  106890. var faPenToSquare = {
  106891. prefix: 'far',
  106892. iconName: 'pen-to-square',
  106893. icon: [512, 512, ["edit"], "f044", "M373.1 24.97C401.2-3.147 446.8-3.147 474.9 24.97L487 37.09C515.1 65.21 515.1 110.8 487 138.9L289.8 336.2C281.1 344.8 270.4 351.1 258.6 354.5L158.6 383.1C150.2 385.5 141.2 383.1 135 376.1C128.9 370.8 126.5 361.8 128.9 353.4L157.5 253.4C160.9 241.6 167.2 230.9 175.8 222.2L373.1 24.97zM440.1 58.91C431.6 49.54 416.4 49.54 407 58.91L377.9 88L424 134.1L453.1 104.1C462.5 95.6 462.5 80.4 453.1 71.03L440.1 58.91zM203.7 266.6L186.9 325.1L245.4 308.3C249.4 307.2 252.9 305.1 255.8 302.2L390.1 168L344 121.9L209.8 256.2C206.9 259.1 204.8 262.6 203.7 266.6zM200 64C213.3 64 224 74.75 224 88C224 101.3 213.3 112 200 112H88C65.91 112 48 129.9 48 152V424C48 446.1 65.91 464 88 464H360C382.1 464 400 446.1 400 424V312C400 298.7 410.7 288 424 288C437.3 288 448 298.7 448 312V424C448 472.6 408.6 512 360 512H88C39.4 512 0 472.6 0 424V152C0 103.4 39.4 64 88 64H200z"]
  106894. };
  106895. var faEdit = faPenToSquare;
  106896. var faHourglassHalf = {
  106897. prefix: 'far',
  106898. iconName: 'hourglass-half',
  106899. icon: [384, 512, ["hourglass-2"], "f252", "M0 24C0 10.75 10.75 0 24 0H360C373.3 0 384 10.75 384 24C384 37.25 373.3 48 360 48H352V66.98C352 107.3 335.1 145.1 307.5 174.5L225.9 256L307.5 337.5C335.1 366 352 404.7 352 445V464H360C373.3 464 384 474.7 384 488C384 501.3 373.3 512 360 512H24C10.75 512 0 501.3 0 488C0 474.7 10.75 464 24 464H32V445C32 404.7 48.01 366 76.52 337.5L158.1 256L76.52 174.5C48.01 145.1 32 107.3 32 66.98V48H24C10.75 48 0 37.25 0 24V24zM99.78 384H284.2C281 379.6 277.4 375.4 273.5 371.5L192 289.9L110.5 371.5C106.6 375.4 102.1 379.6 99.78 384H99.78zM284.2 128C296.1 110.4 304 89.03 304 66.98V48H80V66.98C80 89.03 87 110.4 99.78 128H284.2z"]
  106900. };
  106901. var faHourglass2 = faHourglassHalf;
  106902. var faEyeSlash = {
  106903. prefix: 'far',
  106904. iconName: 'eye-slash',
  106905. icon: [640, 512, [], "f070", "M150.7 92.77C195 58.27 251.8 32 320 32C400.8 32 465.5 68.84 512.6 112.6C559.4 156 590.7 207.1 605.5 243.7C608.8 251.6 608.8 260.4 605.5 268.3C592.1 300.6 565.2 346.1 525.6 386.7L630.8 469.1C641.2 477.3 643.1 492.4 634.9 502.8C626.7 513.2 611.6 515.1 601.2 506.9L9.196 42.89C-1.236 34.71-3.065 19.63 5.112 9.196C13.29-1.236 28.37-3.065 38.81 5.112L150.7 92.77zM189.8 123.5L235.8 159.5C258.3 139.9 287.8 128 320 128C390.7 128 448 185.3 448 256C448 277.2 442.9 297.1 433.8 314.7L487.6 356.9C521.1 322.8 545.9 283.1 558.6 256C544.1 225.1 518.4 183.5 479.9 147.7C438.8 109.6 385.2 79.1 320 79.1C269.5 79.1 225.1 97.73 189.8 123.5L189.8 123.5zM394.9 284.2C398.2 275.4 400 265.9 400 255.1C400 211.8 364.2 175.1 320 175.1C319.3 175.1 318.7 176 317.1 176C319.3 181.1 320 186.5 320 191.1C320 202.2 317.6 211.8 313.4 220.3L394.9 284.2zM404.3 414.5L446.2 447.5C409.9 467.1 367.8 480 320 480C239.2 480 174.5 443.2 127.4 399.4C80.62 355.1 49.34 304 34.46 268.3C31.18 260.4 31.18 251.6 34.46 243.7C44 220.8 60.29 191.2 83.09 161.5L120.8 191.2C102.1 214.5 89.76 237.6 81.45 255.1C95.02 286 121.6 328.5 160.1 364.3C201.2 402.4 254.8 432 320 432C350.7 432 378.8 425.4 404.3 414.5H404.3zM192 255.1C192 253.1 192.1 250.3 192.3 247.5L248.4 291.7C258.9 312.8 278.5 328.6 302 333.1L358.2 378.2C346.1 381.1 333.3 384 319.1 384C249.3 384 191.1 326.7 191.1 255.1H192z"]
  106906. };
  106907. var faHand = {
  106908. prefix: 'far',
  106909. iconName: 'hand',
  106910. icon: [512, 512, [129306, 9995, "hand-paper"], "f256", "M408 80c-3.994 0-7.91 .3262-11.73 .9551c-9.586-28.51-36.57-49.11-68.27-49.11c-6.457 0-12.72 .8555-18.68 2.457C296.6 13.73 273.9 0 248 0C222.1 0 199.3 13.79 186.6 34.44C180.7 32.85 174.5 32 168.1 32C128.4 32 96.01 64.3 96.01 104v121.6C90.77 224.6 85.41 224 80.01 224c-.0026 0 .0026 0 0 0C36.43 224 0 259.2 0 304.1c0 20.29 7.558 39.52 21.46 54.45l81.25 87.24C141.9 487.9 197.4 512 254.9 512h33.08C393.9 512 480 425.9 480 320V152C480 112.3 447.7 80 408 80zM432 320c0 79.41-64.59 144-143.1 144H254.9c-44.41 0-86.83-18.46-117.1-50.96l-79.76-85.63c-6.202-6.659-9.406-15.4-9.406-23.1c0-22.16 18.53-31.4 31.35-31.4c8.56 0 17.1 3.416 23.42 10.18l26.72 28.69C131.8 312.7 133.9 313.4 135.9 313.4c4.106 0 8.064-3.172 8.064-8.016V104c0-13.25 10.75-24 23.1-24c13.25 0 23.1 10.75 23.1 24v152C192 264.8 199.2 272 208 272s15.1-7.163 15.1-15.1L224 72c0-13.25 10.75-24 23.1-24c13.25 0 23.1 10.75 23.1 24v184C272 264.8 279.2 272 288 272s15.99-7.164 15.99-15.1l.0077-152.2c0-13.25 10.75-24 23.1-24c13.25 0 23.1 10.75 23.1 24v152.2C352 264.8 359.2 272 368 272s15.1-7.163 15.1-15.1V152c0-13.25 10.75-24 23.1-24c13.25 0 23.1 10.75 23.1 24V320z"]
  106911. };
  106912. var faHandPaper = faHand;
  106913. var faHandSpock = {
  106914. prefix: 'far',
  106915. iconName: 'hand-spock',
  106916. icon: [576, 512, [128406], "f259", "M234.9 48.02c10.43 0 20.72 5.834 24.13 19.17l47.33 184.1c2.142 8.456 9.174 12.62 16.21 12.62c7.326 0 14.66-4.505 16.51-13.37l31.72-155.1c2.921-14.09 13.76-20.57 24.67-20.57c13.01 0 26.14 9.19 26.14 25.62c0 2.19-.2333 4.508-.7313 6.951l-28.48 139.2c-.2389 1.156-.3514 2.265-.3514 3.323c0 8.644 7.504 13.9 14.86 13.9c5.869 0 11.65-3.341 13.46-10.98l24.73-104.2c.2347-.9802 4.12-19.76 24.28-19.76c13.21 0 26.64 9.4 26.64 24.79c0 2.168-.2665 4.455-.8378 6.852l-48.06 204.7c-13.59 57.85-65.15 98.74-124.5 98.74l-48.79-.0234c-40.7-.0196-79.86-15.58-109.5-43.51l-75.93-71.55c-5.938-5.584-8.419-11.1-8.419-18.2c0-13.88 12.45-26.69 26.38-26.69c5.756 0 11.76 2.182 17.26 7.376l51.08 48.14c1.682 1.569 3.599 2.249 5.448 2.249c4.192 0 8.04-3.49 8.04-8.001c0-23.76-3.372-47.39-10.12-70.28L142 161.1C141.2 159.1 140.8 156.3 140.8 153.7c0-15.23 13.48-24.82 26.75-24.82c10.11 0 20.1 5.559 23.94 18.42l31.22 105.8c2.231 7.546 8.029 10.8 13.9 10.8c7.752 0 15.64-5.659 15.64-14.57c0-1.339-.1783-2.752-.562-4.23L209.3 80.06C208.7 77.45 208.3 74.97 208.3 72.62C208.3 57.33 221.7 48.02 234.9 48.02zM234.9 0C201.5 0 160.4 25.24 160.4 72.72c0 2.807 .1579 5.632 .4761 8.463C129.9 83.9 92.84 108.9 92.84 153.8c0 7.175 1.038 14.47 3.148 21.68l24.33 81.94C115.8 256.5 111.1 256 106.4 256C65.74 256 32 290.6 32 330.8c0 19.59 8.162 38.58 23.6 53.1l75.89 71.51c38.68 36.45 89.23 56.53 142.3 56.56L322.6 512c82.1 0 152.5-55.83 171.3-135.8l48.06-204.7C543.3 165.7 544 159.7 544 153.9c0-54.55-49.55-72.95-74.59-72.95c-.7689 0-1.534 .0117-2.297 .0352c-10.49-39.43-46.46-54.11-71.62-54.11c-34.1 0-64.45 24.19-71.63 58.83L319.2 108.5l-13.7-53.29C297.1 22.22 268.7 0 234.9 0z"]
  106917. };
  106918. var faFaceKiss = {
  106919. prefix: 'far',
  106920. iconName: 'face-kiss',
  106921. icon: [512, 512, [128535, "kiss"], "f596", "M304.7 281.7C308.9 286.8 312 293.1 312 300C312 306.9 308.9 313.2 304.7 318.3C300.4 323.5 294.5 328 287.9 331.7C285.2 333.3 282.3 334.7 279.2 336C282.3 337.3 285.2 338.7 287.9 340.3C294.5 343.1 300.4 348.5 304.7 353.7C308.9 358.8 312 365.1 312 372C312 378.9 308.9 385.2 304.7 390.3C300.4 395.5 294.5 400 287.9 403.7C274.7 411.1 257.4 416 240 416C236.4 416 233.2 413.5 232.3 410C231.3 406.5 232.9 402.8 236.1 401L236.1 401L236.3 400.9C236.5 400.8 236.8 400.6 237.2 400.3C238 399.9 239.2 399.1 240.6 398.2C243.4 396.4 247.2 393.7 250.8 390.6C254.6 387.5 258 384 260.5 380.6C262.1 377 264 374.2 264 372C264 369.8 262.1 366.1 260.5 363.4C258 359.1 254.6 356.5 250.8 353.4C247.2 350.3 243.4 347.6 240.6 345.8C239.2 344.9 238 344.1 237.2 343.7L236.5 343.2L236.3 343.1L236.1 342.1L236.1 342.1C233.6 341.6 232 338.9 232 336C232 333.1 233.6 330.4 236.1 329L236.1 329L236.3 328.9C236.5 328.8 236.8 328.6 237.2 328.3C238 327.9 239.2 327.1 240.6 326.2C243.4 324.4 247.2 321.7 250.8 318.6C254.6 315.5 258 312.1 260.5 308.6C262.1 305 264 302.2 264 300C264 297.8 262.1 294.1 260.5 291.4C258 287.1 254.6 284.5 250.8 281.4C247.2 278.3 243.4 275.6 240.6 273.8C239.2 272.9 238 272.1 237.2 271.7C236.8 271.4 236.5 271.2 236.3 271.1L236.1 270.1L236.1 270.1C232.9 269.2 231.3 265.5 232.3 261.1C233.2 258.5 236.4 256 240 256C257.4 256 274.7 260.9 287.9 268.3C294.5 271.1 300.4 276.5 304.7 281.7V281.7zM208.4 208C208.4 225.7 194 240 176.4 240C158.7 240 144.4 225.7 144.4 208C144.4 190.3 158.7 176 176.4 176C194 176 208.4 190.3 208.4 208zM304.4 208C304.4 190.3 318.7 176 336.4 176C354 176 368.4 190.3 368.4 208C368.4 225.7 354 240 336.4 240C318.7 240 304.4 225.7 304.4 208zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"]
  106922. };
  106923. var faKiss = faFaceKiss;
  106924. var faFaceGrinTongue = {
  106925. prefix: 'far',
  106926. iconName: 'face-grin-tongue',
  106927. icon: [512, 512, [128539, "grin-tongue"], "f589", "M144.4 208C144.4 190.3 158.7 176 176.4 176C194 176 208.4 190.3 208.4 208C208.4 225.7 194 240 176.4 240C158.7 240 144.4 225.7 144.4 208zM368.4 208C368.4 225.7 354 240 336.4 240C318.7 240 304.4 225.7 304.4 208C304.4 190.3 318.7 176 336.4 176C354 176 368.4 190.3 368.4 208zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 337.7 95.13 408.4 163.7 442.4C161.3 434 160 425.2 160 416V363.6C151.1 355.6 143.3 346.5 136.9 336.5C126.5 320.4 143.7 303.1 162.3 308.4C191.3 315.1 222.8 318.8 255.9 318.8C289 318.8 320.6 315.1 349.5 308.4C368.2 303.1 385.4 320.4 374.1 336.5C368.6 346.4 360.8 355.5 352 363.5V416C352 425.2 350.7 434 348.3 442.4C416.9 408.4 464 337.7 464 256C464 141.1 370.9 48 255.1 48H256zM320 416V378.6C320 363.9 308.1 352 293.4 352H291.4C280.1 352 270.3 359.9 267.8 370.9C264.1 383.5 247 383.5 244.2 370.9C241.7 359.9 231.9 352 220.6 352H218.6C203.9 352 192 363.9 192 378.6V416C192 451.3 220.7 480 256 480C291.3 480 320 451.3 320 416z"]
  106928. };
  106929. var faGrinTongue = faFaceGrinTongue;
  106930. var faChessBishop = {
  106931. prefix: 'far',
  106932. iconName: 'chess-bishop',
  106933. icon: [320, 512, [9821], "f43a", "M296 464H23.1C10.75 464 0 474.7 0 487.1S10.75 512 23.1 512h272C309.3 512 320 501.3 320 488S309.3 464 296 464zM0 304c0 51.63 30.12 85.25 64 96v32h48v-67.13l-33.5-10.63C63.75 349.5 48 333.9 48 304c0-84.1 93.2-206.5 112.6-206.5c19.63 0 60.01 67.18 70.28 85.8l-66.13 66.13c-3.125 3.125-4.688 7.219-4.688 11.31S161.6 268.9 164.8 272L176 283.2c3.125 3.125 7.219 4.688 11.31 4.688s8.188-1.562 11.31-4.688L253 229C264.4 256.8 272 283.5 272 304c0 29.88-15.75 45.5-30.5 50.25L208 364.9V432H256v-32c33.88-10.75 64-44.38 64-96c0-73.38-67.75-197.2-120.6-241.5C213.4 59.12 224 47 224 32c0-17.62-14.38-32-32-32H128C110.4 0 96 14.38 96 32c0 15 10.62 27.12 24.62 30.5C67.75 106.8 0 230.6 0 304z"]
  106934. };
  106935. var faFaceGrinWink = {
  106936. prefix: 'far',
  106937. iconName: 'face-grin-wink',
  106938. icon: [512, 512, ["grin-wink"], "f58c", "M349.5 308.4C368.2 303.1 385.4 320.4 374.1 336.5C350.4 374.6 306.3 399.1 255.9 399.1C205.6 399.1 161.5 374.6 136.9 336.5C126.5 320.4 143.7 303.1 162.3 308.4C191.3 315.1 222.8 318.8 255.9 318.8C289 318.8 320.6 315.1 349.5 308.4zM208.4 208C208.4 225.7 194 240 176.4 240C158.7 240 144.4 225.7 144.4 208C144.4 190.3 158.7 176 176.4 176C194 176 208.4 190.3 208.4 208zM281.9 230.6C273.9 223 273.5 210.4 281 202.3C295.6 186.8 316.3 180 335.6 180C354.1 180 375.7 186.8 390.2 202.3C397.8 210.4 397.4 223 389.3 230.6C381.2 238.1 368.6 237.7 361 229.7C355.6 223.8 346.3 220 335.6 220C324.1 220 315.7 223.8 310.2 229.7C302.7 237.7 290 238.1 281.9 230.6zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"]
  106939. };
  106940. var faGrinWink = faFaceGrinWink;
  106941. var faFaceGrinWide = {
  106942. prefix: 'far',
  106943. iconName: 'face-grin-wide',
  106944. icon: [512, 512, [128515, "grin-alt"], "f581", "M349.5 308.4C368.2 303.1 385.4 320.4 374.1 336.5C350.4 374.6 306.3 399.1 255.9 399.1C205.6 399.1 161.5 374.6 136.9 336.5C126.5 320.4 143.7 303.1 162.3 308.4C191.3 315.1 222.8 318.8 255.9 318.8C289 318.8 320.6 315.1 349.5 308.4zM224 192C224 227.3 209.7 256 192 256C174.3 256 160 227.3 160 192C160 156.7 174.3 128 192 128C209.7 128 224 156.7 224 192zM288 192C288 156.7 302.3 128 320 128C337.7 128 352 156.7 352 192C352 227.3 337.7 256 320 256C302.3 256 288 227.3 288 192zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"]
  106945. };
  106946. var faGrinAlt = faFaceGrinWide;
  106947. var faFaceFrownOpen = {
  106948. prefix: 'far',
  106949. iconName: 'face-frown-open',
  106950. icon: [512, 512, [128550, "frown-open"], "f57a", "M179.3 369.3C166.1 374.5 153.1 365.1 158.4 352.9C175.1 314.7 214.3 287.8 259.9 287.8C305.6 287.8 344.8 314.7 361.4 352.1C366.7 365.2 352.9 374.5 340.6 369.3C316.2 359 288.8 353.2 259.9 353.2C231 353.2 203.7 358.1 179.3 369.3L179.3 369.3zM208.4 208C208.4 225.7 194 240 176.4 240C158.7 240 144.4 225.7 144.4 208C144.4 190.3 158.7 176 176.4 176C194 176 208.4 190.3 208.4 208zM304.4 208C304.4 190.3 318.7 176 336.4 176C354 176 368.4 190.3 368.4 208C368.4 225.7 354 240 336.4 240C318.7 240 304.4 225.7 304.4 208zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"]
  106951. };
  106952. var faFrownOpen = faFaceFrownOpen;
  106953. var faHandPointUp = {
  106954. prefix: 'far',
  106955. iconName: 'hand-point-up',
  106956. icon: [448, 512, [9757], "f0a6", "M376 192c-6.428 0-12.66 .8457-18.6 2.434C344.7 173.8 321.9 160 296 160c-6.428 0-12.66 .8457-18.6 2.434C264.7 141.8 241.9 128 216 128C213.3 128 210.6 128.1 208 128.4V72C208 32.3 175.7 0 136 0S64 32.3 64 72v196.3C44.51 284.5 32 308.8 32 336v49.88c0 32.1 17.1 61.65 44.63 77.12l55.83 31.35C153.1 505.9 176.4 512 199.8 512h107.9C385.1 512 448 447.4 448 368V264C448 224.3 415.7 192 376 192zM272 232c0-13.23 10.78-24 24-24S320 218.8 320 232v47.91C320 293.1 309.2 304 296 304S272 293.2 272 280V232zM192 200C192 186.8 202.8 176 216 176s24 10.77 24 24v48c0 3.029-.7012 5.875-1.73 8.545C227.9 251.3 216.4 248 204 248H192V200zM112 72c0-13.23 10.78-24 24-24S160 58.77 160 72v176H120c-2.686 0-5.217 .5566-7.84 .793C112.2 248.5 112 248.3 112 248V72zM307.7 464H199.8c-15.25 0-30.41-3.984-43.88-11.52l-55.78-31.34C87.72 414.2 80 400.6 80 385.9V336c0-22.06 17.94-40 40-40h84c15.44 0 28 12.56 28 28S219.4 352 204 352H152C138.8 352 128 362.8 128 376s10.75 24 24 24h52c33.23 0 61.25-21.58 71.54-51.36C282 350.7 288.9 352 296 352c5.041 0 9.836-1.166 14.66-2.178C322 374.6 346.1 392 376 392c7.684 0 14.94-1.557 21.87-3.836C388.9 431.4 351.9 464 307.7 464zM400 320c0 13.23-10.78 24-24 24S352 333.2 352 320V264c0-13.23 10.78-24 24-24s24 10.77 24 24V320z"]
  106957. };
  106958. var faBookmark = {
  106959. prefix: 'far',
  106960. iconName: 'bookmark',
  106961. icon: [384, 512, [128278, 61591], "f02e", "M336 0h-288C21.49 0 0 21.49 0 48v431.9c0 24.7 26.79 40.08 48.12 27.64L192 423.6l143.9 83.93C357.2 519.1 384 504.6 384 479.9V48C384 21.49 362.5 0 336 0zM336 452L192 368l-144 84V54C48 50.63 50.63 48 53.1 48h276C333.4 48 336 50.63 336 54V452z"]
  106962. };
  106963. var faHandPointDown = {
  106964. prefix: 'far',
  106965. iconName: 'hand-point-down',
  106966. icon: [448, 512, [], "f0a7", "M448 248V144C448 64.6 385.1 0 307.7 0H199.8C176.4 0 153.1 6.104 132.5 17.65L76.63 49C49.1 64.47 32 94.02 32 126.1V176c0 27.23 12.51 51.53 32 67.69V440C64 479.7 96.3 512 136 512s72-32.3 72-72v-56.44C210.6 383.9 213.3 384 216 384c25.95 0 48.73-13.79 61.4-34.43C283.3 351.2 289.6 352 296 352c25.95 0 48.73-13.79 61.4-34.43C363.3 319.2 369.6 320 376 320C415.7 320 448 287.7 448 248zM272 232c0-13.23 10.78-24 24-24S320 218.9 320 232.1V280c0 13.23-10.78 24-24 24S272 293.2 272 280V232zM192 264h12c12.39 0 23.93-3.264 34.27-8.545C239.3 258.1 240 260.1 240 264v48c0 13.23-10.78 24-24 24S192 325.2 192 312V264zM112 264c0-.2813 .1504-.5137 .1602-.793C114.8 263.4 117.3 264 120 264H160v176c0 13.23-10.78 24-24 24S112 453.2 112 440V264zM397.9 123.8C390.9 121.6 383.7 120 376 120c-29.04 0-53.96 17.37-65.34 42.18C305.8 161.2 301 160 296 160c-7.139 0-13.96 1.273-20.46 3.355C265.2 133.6 237.2 112 204 112H152C138.8 112 128 122.8 128 136S138.8 160 152 160h52c15.44 0 28 12.56 28 28S219.4 216 204 216H120C97.94 216 80 198.1 80 176V126.1c0-14.77 7.719-28.28 20.16-35.27l55.78-31.34C169.4 51.98 184.6 48 199.8 48h107.9C351.9 48 388.9 80.56 397.9 123.8zM400 248c0 13.23-10.78 24-24 24S352 261.2 352 248V192c0-13.23 10.78-24 24-24S400 178.8 400 192V248z"]
  106967. };
  106968. var faFolder = {
  106969. prefix: 'far',
  106970. iconName: 'folder',
  106971. icon: [512, 512, [128193, 128447, 61716, "folder-blank"], "f07b", "M447.1 96h-172.1L226.7 50.75C214.7 38.74 198.5 32 181.5 32H63.1c-35.35 0-64 28.66-64 64v320c0 35.34 28.65 64 64 64h384c35.35 0 64-28.66 64-64V160C511.1 124.7 483.3 96 447.1 96zM463.1 416c0 8.824-7.178 16-16 16h-384c-8.822 0-16-7.176-16-16V96c0-8.824 7.178-16 16-16h117.5c4.273 0 8.293 1.664 11.31 4.688L255.1 144h192c8.822 0 16 7.176 16 16V416z"]
  106972. };
  106973. var faFolderBlank = faFolder;
  106974. var faUser = {
  106975. prefix: 'far',
  106976. iconName: 'user',
  106977. icon: [448, 512, [128100, 62144], "f007", "M272 304h-96C78.8 304 0 382.8 0 480c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32C448 382.8 369.2 304 272 304zM48.99 464C56.89 400.9 110.8 352 176 352h96c65.16 0 119.1 48.95 127 112H48.99zM224 256c70.69 0 128-57.31 128-128c0-70.69-57.31-128-128-128S96 57.31 96 128C96 198.7 153.3 256 224 256zM224 48c44.11 0 80 35.89 80 80c0 44.11-35.89 80-80 80S144 172.1 144 128C144 83.89 179.9 48 224 48z"]
  106978. };
  106979. var faSquareCaretLeft = {
  106980. prefix: 'far',
  106981. iconName: 'square-caret-left',
  106982. icon: [448, 512, ["caret-square-left"], "f191", "M384 32H64C28.66 32 0 60.66 0 96v320c0 35.34 28.66 64 64 64h320c35.34 0 64-28.66 64-64V96C448 60.66 419.3 32 384 32zM400 416c0 8.82-7.18 16-16 16H64c-8.82 0-16-7.18-16-16V96c0-8.82 7.18-16 16-16h320c8.82 0 16 7.18 16 16V416zM273.6 138c-8.719-3.812-18.91-2.094-25.91 4.375l-104 96C138.8 242.9 136 249.3 136 256s2.812 13.09 7.719 17.62l104 96c7 6.469 17.19 8.188 25.91 4.375C282.3 370.2 288 361.5 288 352V160C288 150.5 282.3 141.8 273.6 138z"]
  106983. };
  106984. var faCaretSquareLeft = faSquareCaretLeft;
  106985. var faStar = {
  106986. prefix: 'far',
  106987. iconName: 'star',
  106988. icon: [576, 512, [11088, 61446], "f005", "M287.9 0C297.1 0 305.5 5.25 309.5 13.52L378.1 154.8L531.4 177.5C540.4 178.8 547.8 185.1 550.7 193.7C553.5 202.4 551.2 211.9 544.8 218.2L433.6 328.4L459.9 483.9C461.4 492.9 457.7 502.1 450.2 507.4C442.8 512.7 432.1 513.4 424.9 509.1L287.9 435.9L150.1 509.1C142.9 513.4 133.1 512.7 125.6 507.4C118.2 502.1 114.5 492.9 115.1 483.9L142.2 328.4L31.11 218.2C24.65 211.9 22.36 202.4 25.2 193.7C28.03 185.1 35.5 178.8 44.49 177.5L197.7 154.8L266.3 13.52C270.4 5.249 278.7 0 287.9 0L287.9 0zM287.9 78.95L235.4 187.2C231.9 194.3 225.1 199.3 217.3 200.5L98.98 217.9L184.9 303C190.4 308.5 192.9 316.4 191.6 324.1L171.4 443.7L276.6 387.5C283.7 383.7 292.2 383.7 299.2 387.5L404.4 443.7L384.2 324.1C382.9 316.4 385.5 308.5 391 303L476.9 217.9L358.6 200.5C350.7 199.3 343.9 194.3 340.5 187.2L287.9 78.95z"]
  106989. };
  106990. var faChessKnight = {
  106991. prefix: 'far',
  106992. iconName: 'chess-knight',
  106993. icon: [384, 512, [9822], "f441", "M44 320.6l14.5 6.5c-17.01 20.24-26.44 45.91-26.44 72.35C32.06 399.7 32.12 432 32.12 432h48v-32c0-24.75 14-47.5 36.13-58.63l38.13-23.37c13.25-6.625 21.75-20.25 21.75-35.13v-58.75l-15.37 9C155.6 235.8 151.9 240.4 150.5 245.9L143 271c-2.25 7.625-8 13.88-15.38 16.75L117.1 292C114 293.3 110.7 293.9 107.4 293.9c-3.626 0-7.263-.7514-10.66-2.254L63.5 276.9C54.12 272.6 48 263.2 48 252.9V140.5c0-5.125 2.125-10.12 5.75-13.88l7.375-7.375L49.5 96C48.5 94.12 48 92 48 89.88C48 84.38 52.38 80 57.88 80h105c86.75 0 156.1 70.38 156.1 157.1V432h48.06l-.0625-194.9C367.9 124 276 32 162.9 32H57.88C25.88 32 0 57.88 0 89.88c0 8.5 1.75 16.88 5.125 24.62C1.75 122.8 0 131.6 0 140.5v112.4C0 282.2 17.25 308.8 44 320.6zM80.12 164c0 11 8.875 20 20 20c11 0 20-9 20-20s-9-20-20-20C89 144 80.12 153 80.12 164zM360 464H23.1C10.75 464 0 474.7 0 487.1S10.75 512 23.1 512H360C373.3 512 384 501.3 384 488S373.3 464 360 464z"]
  106994. };
  106995. var faFaceLaughSquint = {
  106996. prefix: 'far',
  106997. iconName: 'face-laugh-squint',
  106998. icon: [512, 512, ["laugh-squint"], "f59b", "M130.7 313.9C126.5 300.4 137.8 288 151.1 288H364.5C378.7 288 389.9 300.4 385.8 313.9C368.1 368.4 318.2 408 258.2 408C198.2 408 147.5 368.4 130.7 313.9V313.9zM223.4 178.6C234.1 184.3 234.1 199.7 223.4 205.4L133.5 253.3C125.6 257.6 116 251.8 116 242.9C116 240.1 116.1 237.4 118.8 235.2L154.8 192L118.8 148.8C116.1 146.6 116 143.9 116 141.1C116 132.2 125.6 126.4 133.5 130.7L223.4 178.6zM393.2 148.8L357.2 192L393.2 235.2C395 237.4 396 240.1 396 242.9C396 251.8 386.4 257.6 378.5 253.3L288.6 205.4C277.9 199.7 277.9 184.3 288.6 178.6L378.5 130.7C386.4 126.4 396 132.2 396 141.1C396 143.9 395 146.6 393.2 148.8V148.8zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"]
  106999. };
  107000. var faLaughSquint = faFaceLaughSquint;
  107001. var faFaceLaugh = {
  107002. prefix: 'far',
  107003. iconName: 'face-laugh',
  107004. icon: [512, 512, ["laugh"], "f599", "M130.7 313.9C126.5 300.4 137.8 288 151.1 288H364.5C378.7 288 389.9 300.4 385.8 313.9C368.1 368.4 318.2 408 258.2 408C198.2 408 147.5 368.4 130.7 313.9V313.9zM208.4 192C208.4 209.7 194 224 176.4 224C158.7 224 144.4 209.7 144.4 192C144.4 174.3 158.7 160 176.4 160C194 160 208.4 174.3 208.4 192zM304.4 192C304.4 174.3 318.7 160 336.4 160C354 160 368.4 174.3 368.4 192C368.4 209.7 354 224 336.4 224C318.7 224 304.4 209.7 304.4 192zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"]
  107005. };
  107006. var faLaugh = faFaceLaugh;
  107007. var faFolderOpen = {
  107008. prefix: 'far',
  107009. iconName: 'folder-open',
  107010. icon: [576, 512, [128194, 128449, 61717], "f07c", "M572.6 270.3l-96 192C471.2 473.2 460.1 480 447.1 480H64c-35.35 0-64-28.66-64-64V96c0-35.34 28.65-64 64-64h117.5c16.97 0 33.25 6.742 45.26 18.75L275.9 96H416c35.35 0 64 28.66 64 64v32h-48V160c0-8.824-7.178-16-16-16H256L192.8 84.69C189.8 81.66 185.8 80 181.5 80H64C55.18 80 48 87.18 48 96v288l71.16-142.3C124.6 230.8 135.7 224 147.8 224h396.2C567.7 224 583.2 249 572.6 270.3z"]
  107011. };
  107012. var faClipboard = {
  107013. prefix: 'far',
  107014. iconName: 'clipboard',
  107015. icon: [384, 512, [128203], "f328", "M320 64h-49.61C262.1 27.48 230.7 0 192 0S121 27.48 113.6 64H64C28.65 64 0 92.66 0 128v320c0 35.34 28.65 64 64 64h256c35.35 0 64-28.66 64-64V128C384 92.66 355.3 64 320 64zM192 48c13.23 0 24 10.77 24 24S205.2 96 192 96S168 85.23 168 72S178.8 48 192 48zM336 448c0 8.82-7.178 16-16 16H64c-8.822 0-16-7.18-16-16V128c0-8.82 7.178-16 16-16h18.26C80.93 117.1 80 122.4 80 128v16C80 152.8 87.16 160 96 160h192c8.836 0 16-7.164 16-16V128c0-5.559-.9316-10.86-2.264-16H320c8.822 0 16 7.18 16 16V448z"]
  107016. };
  107017. var faChessQueen = {
  107018. prefix: 'far',
  107019. iconName: 'chess-queen',
  107020. icon: [512, 512, [9819], "f445", "M256 112c30.88 0 56-25.12 56-56S286.9 0 256 0S199.1 25.12 199.1 56S225.1 112 256 112zM511.1 197.4c0-5.178-2.509-10.2-7.096-13.26L476.4 168.2c-2.5-1.75-5.497-2.62-8.497-2.62c-5.501 .125-10.63 2.87-13.75 7.245c-9.001 12-23.16 19.13-38.16 19.13c-3.125 0-6.089-.2528-9.089-.8778c-23.13-4.25-38.88-26.25-38.88-49.75C367.1 134 361.1 128 354.6 128h-38.75c-6.001 0-11.63 4-12.88 9.875C298.2 160.1 278.7 176 255.1 176c-22.75 0-42.25-15.88-47-38.12C207.7 132 202.2 128 196.1 128h-38.75C149.1 128 143.1 134 143.1 141.4c0 18.49-13.66 50.62-47.95 50.62c-15.13 0-29.3-7.118-38.3-19.24C54.6 168.4 49.66 165.7 44.15 165.6c-3 0-5.931 .8951-8.432 2.645l-28.63 16C2.509 187.2 0 192.3 0 197.4c0 2.438 .5583 4.901 1.72 7.185L109.9 432h53.13L69.85 236.4C78.35 238.8 87.11 240 95.98 240c2.432 0 56.83 1.503 84.76-52.5C198.1 210.5 226.6 224 255.9 224c29.38 0 57.01-13.38 75.26-36.25C336.1 197.6 360.6 240 416 240c8.751 0 17.5-1.125 26-3.5L349 432h53.13l108.1-227.4C511.4 202.3 511.1 199.8 511.1 197.4zM424 464H87.98c-13.26 0-24 10.75-24 23.1S74.72 512 87.98 512h336c13.26 0 24-10.75 24-23.1S437.3 464 424 464z"]
  107021. };
  107022. var faHandBackFist = {
  107023. prefix: 'far',
  107024. iconName: 'hand-back-fist',
  107025. icon: [448, 512, ["hand-rock"], "f255", "M377.1 68.05C364.4 50.65 343.7 40 321.2 40h-13.53c-3.518 0-7.039 .2754-10.53 .8184C284.8 31.33 269.6 26 253.5 26H240c-3.977 0-7.904 .3691-11.75 1.084C216.7 10.71 197.6 0 176 0H160C124.7 0 96 28.65 96 64v49.71L63.04 143.3C43.3 160 32 184.6 32 210.9v78.97c0 32.1 17.11 61.65 44.65 77.12L112 386.9v101.1C112 501.3 122.7 512 135.1 512S160 501.3 160 488v-129.9c-1.316-.6543-2.775-.9199-4.062-1.639l-55.78-31.34C87.72 318.2 80 304.6 80 289.9V210.9c0-12.31 5.281-23.77 14.5-31.39L112 163.8V208C112 216.8 119.2 224 128 224s16-7.156 16-16V64c0-8.828 7.188-16 16-16h16C184.8 48 192 55.17 192 64v16c0 9.578 7.942 16.04 16.15 16.04c6.432 0 12.31-4.018 14.73-10.17C223.3 84.84 228.3 74 240 74h13.53c20.97 0 17.92 19.58 34.27 19.58c8.177 0 9.9-5.584 19.88-5.584h13.53c25.54 0 18.27 28.23 38.66 28.23c.1562 0 .3125-.002 .4668-.0078L375.4 116C388.1 116 400 127.7 400 142V272c0 36.15-19.54 67.32-48 83.69v132.3C352 501.3 362.7 512 375.1 512S400 501.3 400 488v-108.1C430.1 352.8 448 313.6 448 272V142C448 102.1 416.8 69.44 377.1 68.05z"]
  107026. };
  107027. var faHandRock = faHandBackFist;
  107028. var faSquareCaretUp = {
  107029. prefix: 'far',
  107030. iconName: 'square-caret-up',
  107031. icon: [448, 512, ["caret-square-up"], "f151", "M241.6 175.7C237.1 170.8 230.7 168 224 168S210.9 170.8 206.4 175.7l-96 104c-6.469 7-8.188 17.19-4.375 25.91C109.8 314.3 118.5 320 127.1 320h192c9.531 0 18.16-5.656 22-14.38c3.813-8.719 2.094-18.91-4.375-25.91L241.6 175.7zM384 32H64C28.65 32 0 60.66 0 96v320c0 35.34 28.65 64 64 64h320c35.35 0 64-28.66 64-64V96C448 60.66 419.3 32 384 32zM400 416c0 8.82-7.178 16-16 16H64c-8.822 0-16-7.18-16-16V96c0-8.82 7.178-16 16-16h320c8.822 0 16 7.18 16 16V416z"]
  107032. };
  107033. var faCaretSquareUp = faSquareCaretUp;
  107034. var faChartBar = {
  107035. prefix: 'far',
  107036. iconName: 'chart-bar',
  107037. icon: [512, 512, ["bar-chart"], "f080", "M24 32C37.25 32 48 42.75 48 56V408C48 421.3 58.75 432 72 432H488C501.3 432 512 442.7 512 456C512 469.3 501.3 480 488 480H72C32.24 480 0 447.8 0 408V56C0 42.75 10.75 32 24 32zM128 136C128 122.7 138.7 112 152 112H360C373.3 112 384 122.7 384 136C384 149.3 373.3 160 360 160H152C138.7 160 128 149.3 128 136zM296 208C309.3 208 320 218.7 320 232C320 245.3 309.3 256 296 256H152C138.7 256 128 245.3 128 232C128 218.7 138.7 208 152 208H296zM424 304C437.3 304 448 314.7 448 328C448 341.3 437.3 352 424 352H152C138.7 352 128 341.3 128 328C128 314.7 138.7 304 152 304H424z"]
  107038. };
  107039. var faBarChart = faChartBar;
  107040. var faWindowRestore = {
  107041. prefix: 'far',
  107042. iconName: 'window-restore',
  107043. icon: [512, 512, [], "f2d2", "M432 48H208C190.3 48 176 62.33 176 80V96H128V80C128 35.82 163.8 0 208 0H432C476.2 0 512 35.82 512 80V304C512 348.2 476.2 384 432 384H416V336H432C449.7 336 464 321.7 464 304V80C464 62.33 449.7 48 432 48zM320 128C355.3 128 384 156.7 384 192V448C384 483.3 355.3 512 320 512H64C28.65 512 0 483.3 0 448V192C0 156.7 28.65 128 64 128H320zM64 464H320C328.8 464 336 456.8 336 448V256H48V448C48 456.8 55.16 464 64 464z"]
  107044. };
  107045. var faSquarePlus = {
  107046. prefix: 'far',
  107047. iconName: 'square-plus',
  107048. icon: [448, 512, [61846, "plus-square"], "f0fe", "M200 344V280H136C122.7 280 112 269.3 112 256C112 242.7 122.7 232 136 232H200V168C200 154.7 210.7 144 224 144C237.3 144 248 154.7 248 168V232H312C325.3 232 336 242.7 336 256C336 269.3 325.3 280 312 280H248V344C248 357.3 237.3 368 224 368C210.7 368 200 357.3 200 344zM0 96C0 60.65 28.65 32 64 32H384C419.3 32 448 60.65 448 96V416C448 451.3 419.3 480 384 480H64C28.65 480 0 451.3 0 416V96zM48 96V416C48 424.8 55.16 432 64 432H384C392.8 432 400 424.8 400 416V96C400 87.16 392.8 80 384 80H64C55.16 80 48 87.16 48 96z"]
  107049. };
  107050. var faPlusSquare = faSquarePlus;
  107051. var faImage = {
  107052. prefix: 'far',
  107053. iconName: 'image',
  107054. icon: [512, 512, [], "f03e", "M152 120c-26.51 0-48 21.49-48 48s21.49 48 48 48s48-21.49 48-48S178.5 120 152 120zM447.1 32h-384C28.65 32-.0091 60.65-.0091 96v320c0 35.35 28.65 64 63.1 64h384c35.35 0 64-28.65 64-64V96C511.1 60.65 483.3 32 447.1 32zM463.1 409.3l-136.8-185.9C323.8 218.8 318.1 216 312 216c-6.113 0-11.82 2.768-15.21 7.379l-106.6 144.1l-37.09-46.1c-3.441-4.279-8.934-6.809-14.77-6.809c-5.842 0-11.33 2.529-14.78 6.809l-75.52 93.81c0-.0293 0 .0293 0 0L47.99 96c0-8.822 7.178-16 16-16h384c8.822 0 16 7.178 16 16V409.3z"]
  107055. };
  107056. var faFolderClosed = {
  107057. prefix: 'far',
  107058. iconName: 'folder-closed',
  107059. icon: [512, 512, [], "e185", "M448 96h-172.1L226.7 50.75C214.7 38.74 198.5 32 181.5 32H64C28.65 32 0 60.66 0 96v320c0 35.34 28.65 64 64 64h384c35.35 0 64-28.66 64-64V160C512 124.7 483.3 96 448 96zM64 80h117.5c4.273 0 8.293 1.664 11.31 4.688L256 144h192c8.822 0 16 7.176 16 16v32h-416V96C48 87.18 55.18 80 64 80zM448 432H64c-8.822 0-16-7.176-16-16V240h416V416C464 424.8 456.8 432 448 432z"]
  107060. };
  107061. var faLemon = {
  107062. prefix: 'far',
  107063. iconName: 'lemon',
  107064. icon: [448, 512, [127819], "f094", "M439.9 144.6c15.34-26.38 8.372-62.41-16.96-87.62c-25.21-25.32-61.22-32.26-87.61-16.95c-9.044 5.218-27.15 3.702-48.08 1.968c-50.78-4.327-127.4-10.73-207.6 69.56C-.6501 191.9 5.801 268.5 10.07 319.3c1.749 20.96 3.28 39.07-1.984 48.08c-15.35 26.4-8.357 62.45 16.92 87.57c16.26 16.37 37.05 25.09 56.83 25.09c10.89 0 21.46-2.64 30.83-8.092c9.013-5.249 27.12-3.718 48.08-1.968c50.69 4.233 127.4 10.7 207.6-69.56c80.27-80.28 73.82-156.9 69.56-207.7C436.2 171.8 434.7 153.7 439.9 144.6zM398.4 120.5c-12.87 22.09-10.67 48.41-8.326 76.25c4.155 49.3 8.841 105.2-55.67 169.7c-64.53 64.49-120.5 59.78-169.7 55.68c-27.85-2.328-54.12-4.53-76.26 8.311c-6.139 3.64-19.17 1.031-29.58-9.451c-10.39-10.33-12.95-23.35-9.372-29.49c12.87-22.09 10.67-48.41 8.326-76.25C53.72 265.1 49.04 210.1 113.5 145.5c48.27-48.27 91.71-57.8 131.2-57.8c13.28 0 26.12 1.078 38.52 2.125c27.9 2.359 54.17 4.561 76.26-8.311c6.123-3.577 19.18-1.031 29.49 9.357C399.4 101.2 402 114.4 398.4 120.5zM239.5 124.1c2.156 8.561-3.062 17.25-11.62 19.43C183.6 154.7 122.7 215.6 111.6 259.9C109.7 267.1 103.2 271.1 96.05 271.1c-1.281 0-2.593-.1562-3.905-.4687C83.58 269.3 78.4 260.6 80.52 252.1C94.67 195.8 163.8 126.7 220.1 112.5C228.8 110.4 237.3 115.5 239.5 124.1z"]
  107065. };
  107066. var faHandshake = {
  107067. prefix: 'far',
  107068. iconName: 'handshake',
  107069. icon: [640, 512, [], "f2b5", "M506.1 127.1c-17.97-20.17-61.46-61.65-122.7-71.1c-22.5-3.354-45.39 3.606-63.41 18.21C302 60.47 279.1 53.42 256.5 56.86C176.8 69.17 126.7 136.2 124.6 139.1c-7.844 10.69-5.531 25.72 5.125 33.57c4.281 3.157 9.281 4.657 14.19 4.657c7.406 0 14.69-3.375 19.38-9.782c.4062-.5626 40.19-53.91 100.5-63.23c7.457-.9611 14.98 .67 21.56 4.483L227.2 168.2C214.8 180.5 207.1 196.1 207.1 214.5c0 17.5 6.812 33.94 19.16 46.29C239.5 273.2 255.9 279.1 273.4 279.1s33.94-6.813 46.31-19.19l11.35-11.35l124.2 100.9c2.312 1.875 2.656 5.251 .5 7.97l-27.69 35.75c-1.844 2.25-5.25 2.594-7.156 1.063l-22.22-18.69l-26.19 27.75c-2.344 2.875-5.344 3.563-6.906 3.719c-1.656 .1562-4.562 .125-6.812-1.719l-32.41-27.66L310.7 392.3l-2.812 2.938c-5.844 7.157-14.09 11.66-23.28 12.6c-9.469 .8126-18.25-1.75-24.5-6.782L170.3 319.8H96V128.3L0 128.3v255.6l64 .0404c11.74 0 21.57-6.706 27.14-16.14h60.64l77.06 69.66C243.7 449.6 261.9 456 280.8 456c2.875 0 5.781-.125 8.656-.4376c13.62-1.406 26.41-6.063 37.47-13.5l.9062 .8126c12.03 9.876 27.28 14.41 42.69 12.78c13.19-1.375 25.28-7.032 33.91-15.35c21.09 8.188 46.09 2.344 61.25-16.47l27.69-35.75c18.47-22.82 14.97-56.48-7.844-75.01l-120.3-97.76l8.381-8.382c9.375-9.376 9.375-24.57 0-33.94c-9.375-9.376-24.56-9.376-33.94 0L285.8 226.8C279.2 233.5 267.7 233.5 261.1 226.8c-3.312-3.282-5.125-7.657-5.125-12.31c0-4.688 1.812-9.064 5.281-12.53l85.91-87.64c7.812-7.845 18.53-11.75 28.94-10.03c59.75 9.22 100.2 62.73 100.6 63.29c3.088 4.155 7.264 6.946 11.84 8.376H544v175.1c0 17.67 14.33 32.05 31.1 32.05L640 384V128.1L506.1 127.1zM48 352c-8.75 0-16-7.245-16-15.99c0-8.876 7.25-15.99 16-15.99S64 327.2 64 336.1C64 344.8 56.75 352 48 352zM592 352c-8.75 0-16-7.245-16-15.99c0-8.876 7.25-15.99 16-15.99s16 7.117 16 15.99C608 344.8 600.8 352 592 352z"]
  107070. };
  107071. var faGem = {
  107072. prefix: 'far',
  107073. iconName: 'gem',
  107074. icon: [512, 512, [128142], "f3a5", "M507.9 196.4l-104-153.8C399.4 35.95 391.1 32 384 32H127.1C120 32 112.6 35.95 108.1 42.56l-103.1 153.8c-6.312 9.297-5.281 21.72 2.406 29.89l231.1 246.2C243.1 477.3 249.4 480 256 480s12.94-2.734 17.47-7.547l232-246.2C513.2 218.1 514.2 205.7 507.9 196.4zM382.5 96.59L446.1 192h-140.1L382.5 96.59zM256 178.9L177.6 80h156.7L256 178.9zM129.5 96.59L205.1 192H65.04L129.5 96.59zM256 421L85.42 240h341.2L256 421z"]
  107075. };
  107076. var faCirclePlay = {
  107077. prefix: 'far',
  107078. iconName: 'circle-play',
  107079. icon: [512, 512, [61469, "play-circle"], "f144", "M188.3 147.1C195.8 142.8 205.1 142.1 212.5 147.5L356.5 235.5C363.6 239.9 368 247.6 368 256C368 264.4 363.6 272.1 356.5 276.5L212.5 364.5C205.1 369 195.8 369.2 188.3 364.9C180.7 360.7 176 352.7 176 344V167.1C176 159.3 180.7 151.3 188.3 147.1V147.1zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"]
  107080. };
  107081. var faPlayCircle = faCirclePlay;
  107082. var faCircleCheck = {
  107083. prefix: 'far',
  107084. iconName: 'circle-check',
  107085. icon: [512, 512, [61533, "check-circle"], "f058", "M243.8 339.8C232.9 350.7 215.1 350.7 204.2 339.8L140.2 275.8C129.3 264.9 129.3 247.1 140.2 236.2C151.1 225.3 168.9 225.3 179.8 236.2L224 280.4L332.2 172.2C343.1 161.3 360.9 161.3 371.8 172.2C382.7 183.1 382.7 200.9 371.8 211.8L243.8 339.8zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"]
  107086. };
  107087. var faCheckCircle = faCircleCheck;
  107088. var faCircleStop = {
  107089. prefix: 'far',
  107090. iconName: 'circle-stop',
  107091. icon: [512, 512, [62094, "stop-circle"], "f28d", "M328 160h-144C170.8 160 160 170.8 160 184v144C160 341.2 170.8 352 184 352h144c13.2 0 24-10.8 24-24v-144C352 170.8 341.2 160 328 160zM256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 464c-114.7 0-208-93.31-208-208S141.3 48 256 48s208 93.31 208 208S370.7 464 256 464z"]
  107092. };
  107093. var faStopCircle = faCircleStop;
  107094. var faIdBadge = {
  107095. prefix: 'far',
  107096. iconName: 'id-badge',
  107097. icon: [384, 512, [], "f2c1", "M320 0H64C28.65 0 0 28.65 0 64v384c0 35.35 28.65 64 64 64h256c35.35 0 64-28.65 64-64V64C384 28.65 355.3 0 320 0zM336 448c0 8.836-7.164 16-16 16H64c-8.836 0-16-7.164-16-16V64c0-8.838 7.164-16 16-16h64V64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32V48h64c8.836 0 16 7.162 16 16V448zM192 288c35.35 0 64-28.65 64-64s-28.65-64-64-64C156.7 160 128 188.7 128 224S156.7 288 192 288zM224 320H160c-44.18 0-80 35.82-80 80C80 408.8 87.16 416 96 416h192c8.836 0 16-7.164 16-16C304 355.8 268.2 320 224 320z"]
  107098. };
  107099. var faFaceLaughBeam = {
  107100. prefix: 'far',
  107101. iconName: 'face-laugh-beam',
  107102. icon: [512, 512, [128513, "laugh-beam"], "f59a", "M130.7 313.9C126.5 300.4 137.8 288 151.1 288H364.5C378.7 288 389.9 300.4 385.8 313.9C368.1 368.4 318.2 408 258.2 408C198.2 408 147.5 368.4 130.7 313.9V313.9zM217.6 228.8L217.6 228.8L217.4 228.5C217.2 228.3 217 228 216.7 227.6C216 226.8 215.1 225.7 213.9 224.3C211.4 221.4 207.9 217.7 203.7 213.1C194.9 206.2 184.8 200 176 200C167.2 200 157.1 206.2 148.3 213.1C144.1 217.7 140.6 221.4 138.1 224.3C136.9 225.7 135.1 226.8 135.3 227.6C134.1 228 134.8 228.3 134.6 228.5L134.4 228.8L134.4 228.8C132.3 231.6 128.7 232.7 125.5 231.6C122.2 230.5 120 227.4 120 224C120 206.1 126.7 188.4 136.6 175.2C146.4 162.2 160.5 152 176 152C191.5 152 205.6 162.2 215.4 175.2C225.3 188.4 232 206.1 232 224C232 227.4 229.8 230.5 226.5 231.6C223.3 232.7 219.7 231.6 217.6 228.8V228.8zM377.6 228.8L377.4 228.5C377.2 228.3 377 228 376.7 227.6C376 226.8 375.1 225.7 373.9 224.3C371.4 221.4 367.9 217.7 363.7 213.1C354.9 206.2 344.8 200 336 200C327.2 200 317.1 206.2 308.3 213.1C304.1 217.7 300.6 221.4 298.1 224.3C296.9 225.7 295.1 226.8 295.3 227.6C294.1 228 294.8 228.3 294.6 228.5L294.4 228.8L294.4 228.8C292.3 231.6 288.7 232.7 285.5 231.6C282.2 230.5 280 227.4 280 224C280 206.1 286.7 188.4 296.6 175.2C306.4 162.2 320.5 152 336 152C351.5 152 365.6 162.2 375.4 175.2C385.3 188.4 392 206.1 392 224C392 227.4 389.8 230.5 386.5 231.6C383.3 232.7 379.7 231.6 377.6 228.8L377.6 228.8zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"]
  107103. };
  107104. var faLaughBeam = faFaceLaughBeam;
  107105. var faRegistered = {
  107106. prefix: 'far',
  107107. iconName: 'registered',
  107108. icon: [512, 512, [174], "f25d", "M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 464c-114.7 0-208-93.31-208-208S141.3 48 256 48s208 93.31 208 208S370.7 464 256 464zM352 208c0-44.13-35.88-80-80-80L184 128c-13.25 0-24 10.75-24 24v208c0 13.25 10.75 24 24 24s24-10.75 24-24v-72h59.79l38.46 82.19C310.3 378.9 319 384 328 384c3.438 0 6.875-.7187 10.19-2.25c12-5.625 17.16-19.91 11.56-31.94l-34.87-74.5C337.1 261.1 352 236.3 352 208zM272 240h-64v-64h64c17.66 0 32 14.34 32 32S289.7 240 272 240z"]
  107109. };
  107110. var faAddressCard = {
  107111. prefix: 'far',
  107112. iconName: 'address-card',
  107113. icon: [576, 512, [62140, "contact-card", "vcard"], "f2bb", "M208 256c35.35 0 64-28.65 64-64c0-35.35-28.65-64-64-64s-64 28.65-64 64C144 227.3 172.7 256 208 256zM464 232h-96c-13.25 0-24 10.75-24 24s10.75 24 24 24h96c13.25 0 24-10.75 24-24S477.3 232 464 232zM240 288h-64C131.8 288 96 323.8 96 368C96 376.8 103.2 384 112 384h192c8.836 0 16-7.164 16-16C320 323.8 284.2 288 240 288zM464 152h-96c-13.25 0-24 10.75-24 24s10.75 24 24 24h96c13.25 0 24-10.75 24-24S477.3 152 464 152zM512 32H64C28.65 32 0 60.65 0 96v320c0 35.35 28.65 64 64 64h448c35.35 0 64-28.65 64-64V96C576 60.65 547.3 32 512 32zM528 416c0 8.822-7.178 16-16 16H64c-8.822 0-16-7.178-16-16V96c0-8.822 7.178-16 16-16h448c8.822 0 16 7.178 16 16V416z"]
  107114. };
  107115. var faContactCard = faAddressCard;
  107116. var faVcard = faAddressCard;
  107117. var faFaceTired = {
  107118. prefix: 'far',
  107119. iconName: 'face-tired',
  107120. icon: [512, 512, [128555, "tired"], "f5c8", "M176.5 320.3C196.1 302.1 223.8 288 256 288C288.2 288 315.9 302.1 335.5 320.3C354.5 338.1 368 362 368 384C368 389.4 365.3 394.4 360.8 397.4C356.2 400.3 350.5 400.8 345.6 398.7L328.4 391.1C305.6 381.2 280.9 376 256 376C231.1 376 206.4 381.2 183.6 391.1L166.4 398.7C161.5 400.8 155.8 400.3 151.2 397.4C146.7 394.4 144 389.4 144 384C144 362 157.5 338.1 176.5 320.3zM223.4 194.6C234.1 200.3 234.1 215.7 223.4 221.4L133.5 269.3C125.6 273.6 116 267.8 116 258.9C116 256.1 116.1 253.4 118.8 251.2L154.8 208L118.8 164.8C116.1 162.6 116 159.9 116 157.1C116 148.2 125.6 142.4 133.5 146.7L223.4 194.6zM393.2 164.8L357.2 208L393.2 251.2C395 253.4 396 256.1 396 258.9C396 267.8 386.4 273.6 378.5 269.3L288.6 221.4C277.9 215.7 277.9 200.3 288.6 194.6L378.5 146.7C386.4 142.4 396 148.2 396 157.1C396 159.9 395 162.6 393.2 164.8zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"]
  107121. };
  107122. var faTired = faFaceTired;
  107123. var faFontAwesome = {
  107124. prefix: 'far',
  107125. iconName: 'font-awesome',
  107126. icon: [448, 512, [62501, 62694, "font-awesome-flag", "font-awesome-logo-full"], "f2b4", "M448 48V384c-63.09 22.54-82.34 32-119.5 32c-62.82 0-86.6-32-149.3-32c-21.69 0-38.48 3.791-53.74 8.766C110.1 397.5 96 386.1 96 371.7v-.7461c0-9.275 5.734-17.6 14.42-20.86C129.1 342.8 150.2 336 179.2 336c62.73 0 86.51 32 149.3 32c25.5 0 42.85-4.604 71.47-14.7v-240C379.2 120.6 357.7 128 328.5 128c-.0039 0 .0039 0 0 0c-62.81 0-86.61-32-149.3-32C122.1 96 98.8 122.1 48 126.1V456C48 469.3 37.25 480 24 480S0 469.3 0 456V56C0 42.74 10.75 32 24 32S48 42.74 48 56v22.99C98.8 74.14 122.1 48 179.2 48c62.77 0 86.45 32 149.3 32C366.1 80 386.8 69.85 448 48z"]
  107127. };
  107128. var faFontAwesomeFlag = faFontAwesome;
  107129. var faFontAwesomeLogoFull = faFontAwesome;
  107130. var faFaceSmileWink = {
  107131. prefix: 'far',
  107132. iconName: 'face-smile-wink',
  107133. icon: [512, 512, [128521, "smile-wink"], "f4da", "M256 352C293.2 352 319.2 334.5 334.4 318.1C343.3 308.4 358.5 307.7 368.3 316.7C378 325.7 378.6 340.9 369.6 350.6C347.7 374.5 309.7 400 256 400C202.3 400 164.3 374.5 142.4 350.6C133.4 340.9 133.1 325.7 143.7 316.7C153.5 307.7 168.7 308.4 177.6 318.1C192.8 334.5 218.8 352 256 352zM208.4 208C208.4 225.7 194 240 176.4 240C158.7 240 144.4 225.7 144.4 208C144.4 190.3 158.7 176 176.4 176C194 176 208.4 190.3 208.4 208zM281.9 230.6C273.9 223 273.5 210.4 281 202.3C295.6 186.8 316.3 180 335.6 180C354.1 180 375.7 186.8 390.2 202.3C397.8 210.4 397.4 223 389.3 230.6C381.2 238.1 368.6 237.7 361 229.7C355.6 223.8 346.3 220 335.6 220C324.1 220 315.7 223.8 310.2 229.7C302.7 237.7 290 238.1 281.9 230.6zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"]
  107134. };
  107135. var faSmileWink = faFaceSmileWink;
  107136. var faFileWord = {
  107137. prefix: 'far',
  107138. iconName: 'file-word',
  107139. icon: [384, 512, [], "f1c2", "M365.3 93.38l-74.63-74.64C278.6 6.742 262.3 0 245.4 0H64C28.65 0 0 28.65 0 64l.0065 384c0 35.34 28.65 64 64 64H320c35.2 0 64-28.8 64-64V138.6C384 121.7 377.3 105.4 365.3 93.38zM336 448c0 8.836-7.164 16-16 16H64.02c-8.838 0-16-7.164-16-16L48 64.13c0-8.836 7.164-16 16-16h160L224 128c0 17.67 14.33 32 32 32h79.1V448zM214.6 248C211.3 238.4 202.2 232 192 232s-19.25 6.406-22.62 16L144.7 318.1l-25.89-77.66C114.6 227.8 101 221.2 88.41 225.2C75.83 229.4 69.05 243 73.23 255.6l48 144C124.5 409.3 133.5 415.9 143.8 416c10.17 0 19.45-6.406 22.83-16L192 328.1L217.4 400C220.8 409.6 229.8 416 240 416c10.27-.0938 19.53-6.688 22.77-16.41l48-144c4.188-12.59-2.594-26.16-15.17-30.38c-12.61-4.125-26.2 2.594-30.36 15.19l-25.89 77.66L214.6 248z"]
  107140. };
  107141. var faFilePowerpoint = {
  107142. prefix: 'far',
  107143. iconName: 'file-powerpoint',
  107144. icon: [384, 512, [], "f1c4", "M365.3 93.38l-74.63-74.64C278.6 6.742 262.3 0 245.4 0H64C28.65 0 0 28.65 0 64l.0065 384c0 35.34 28.65 64 64 64H320c35.2 0 64-28.8 64-64V138.6C384 121.7 377.3 105.4 365.3 93.38zM336 448c0 8.836-7.164 16-16 16H64.02c-8.838 0-16-7.164-16-16L48 64.13c0-8.836 7.164-16 16-16h160L224 128c0 17.67 14.33 32 32 32h79.1V448zM200 224H128C119.2 224 112 231.2 112 240v168c0 13.25 10.75 24 24 24S160 421.3 160 408v-32h44c44.21 0 79.73-37.95 75.69-82.98C276.1 253.2 240 224 200 224zM204 328H160V272h44c15.44 0 28 12.56 28 28S219.4 328 204 328z"]
  107145. };
  107146. var faEnvelopeOpen = {
  107147. prefix: 'far',
  107148. iconName: 'envelope-open',
  107149. icon: [512, 512, [62135], "f2b6", "M493.6 163c-24.88-19.62-45.5-35.37-164.3-121.6C312.7 29.21 279.7 0 256.4 0H255.6C232.3 0 199.3 29.21 182.6 41.38C63.88 127.6 43.25 143.4 18.38 163C6.75 172 0 186 0 200.8v247.2C0 483.3 28.65 512 64 512h384c35.35 0 64-28.67 64-64.01V200.8C512 186 505.3 172 493.6 163zM464 448c0 8.822-7.178 16-16 16H64c-8.822 0-16-7.178-16-16V276.7l136.1 113.4C204.3 406.8 229.8 416 256 416s51.75-9.211 71.97-26.01L464 276.7V448zM464 214.2l-166.8 138.1c-23.19 19.28-59.34 19.27-82.47 .0156L48 214.2l.1055-13.48c23.24-18.33 42.25-32.97 162.9-120.6c3.082-2.254 6.674-5.027 10.63-8.094C229.4 65.99 246.7 52.59 256 48.62c9.312 3.973 26.62 17.37 34.41 23.41c3.959 3.066 7.553 5.84 10.76 8.186C421.6 167.7 440.7 182.4 464 200.8V214.2z"]
  107150. };
  107151. var faFileZipper = {
  107152. prefix: 'far',
  107153. iconName: 'file-zipper',
  107154. icon: [384, 512, ["file-archive"], "f1c6", "M365.3 93.38l-74.63-74.64C278.6 6.742 262.3 0 245.4 0L64-.0001c-35.35 0-64 28.65-64 64l.0065 384c0 35.34 28.65 64 64 64H320c35.2 0 64-28.8 64-64V138.6C384 121.7 377.3 105.4 365.3 93.38zM336 448c0 8.836-7.164 16-16 16H64.02c-8.838 0-16-7.164-16-16L48 64.13c0-8.836 7.164-16 16-16h48V64h64V48.13h48.01L224 128c0 17.67 14.33 32 32 32h79.1V448zM176 96h-64v32h64V96zM176 160h-64v32h64V160zM176 224h-64l-30.56 116.5C73.51 379.5 103.7 416 144.3 416c40.26 0 70.45-36.3 62.68-75.15L176 224zM160 368H128c-8.836 0-16-7.164-16-16s7.164-16 16-16h32c8.836 0 16 7.164 16 16S168.8 368 160 368z"]
  107155. };
  107156. var faFileArchive = faFileZipper;
  107157. var faSquare = {
  107158. prefix: 'far',
  107159. iconName: 'square',
  107160. icon: [448, 512, [9632, 9723, 9724, 61590], "f0c8", "M384 32C419.3 32 448 60.65 448 96V416C448 451.3 419.3 480 384 480H64C28.65 480 0 451.3 0 416V96C0 60.65 28.65 32 64 32H384zM384 80H64C55.16 80 48 87.16 48 96V416C48 424.8 55.16 432 64 432H384C392.8 432 400 424.8 400 416V96C400 87.16 392.8 80 384 80z"]
  107161. };
  107162. var faSnowflake = {
  107163. prefix: 'far',
  107164. iconName: 'snowflake',
  107165. icon: [512, 512, [10052, 10054], "f2dc", "M484.4 294.4c1.715 6.402 .6758 12.89-2.395 18.21s-8.172 9.463-14.57 11.18l-31.46 8.43l32.96 19.03C480.4 357.8 484.4 372.5 477.8 384s-21.38 15.41-32.86 8.783l-32.96-19.03l8.43 31.46c3.432 12.81-4.162 25.96-16.97 29.39s-25.96-4.162-29.39-16.97l-20.85-77.82L280 297.6v84.49l56.97 56.97c9.375 9.375 9.375 24.56 0 33.94C332.3 477.7 326.1 480 320 480s-12.28-2.344-16.97-7.031L280 449.9V488c0 13.25-10.75 24-24 24s-24-10.75-24-24v-38.06l-23.03 23.03c-9.375 9.375-24.56 9.375-33.94 0s-9.375-24.56 0-33.94L232 382.1V297.6l-73.17 42.25l-20.85 77.82c-3.432 12.81-16.58 20.4-29.39 16.97s-20.4-16.58-16.97-29.39l8.43-31.46l-32.96 19.03C55.61 399.4 40.85 395.5 34.22 384s-2.615-26.16 8.859-32.79l32.96-19.03l-31.46-8.43c-12.81-3.432-20.4-16.58-16.97-29.39s16.58-20.4 29.39-16.97l77.82 20.85L208 255.1L134.8 213.8L57.01 234.6C44.2 238 31.05 230.4 27.62 217.6s4.162-25.96 16.97-29.39l31.46-8.432L43.08 160.8C31.61 154.2 27.6 139.5 34.22 128s21.38-15.41 32.86-8.785l32.96 19.03L91.62 106.8C88.18 93.98 95.78 80.83 108.6 77.39s25.96 4.162 29.39 16.97l20.85 77.82L232 214.4V129.9L175 72.97c-9.375-9.375-9.375-24.56 0-33.94s24.56-9.375 33.94 0L232 62.06V24C232 10.75 242.8 0 256 0s24 10.75 24 24v38.06l23.03-23.03c9.375-9.375 24.56-9.375 33.94 0s9.375 24.56 0 33.94L280 129.9v84.49l73.17-42.25l20.85-77.82c3.432-12.81 16.58-20.4 29.39-16.97c6.402 1.715 11.5 5.861 14.57 11.18s4.109 11.81 2.395 18.21l-8.43 31.46l32.96-19.03C456.4 112.6 471.2 116.5 477.8 128s2.615 26.16-8.859 32.78l-32.96 19.03l31.46 8.432c12.81 3.432 20.4 16.58 16.97 29.39s-16.58 20.4-29.39 16.97l-77.82-20.85L304 255.1l73.17 42.25l77.82-20.85C467.8 273.1 480.1 281.6 484.4 294.4z"]
  107166. };
  107167. var faNewspaper = {
  107168. prefix: 'far',
  107169. iconName: 'newspaper',
  107170. icon: [512, 512, [128240], "f1ea", "M456 32h-304C121.1 32 96 57.13 96 88v320c0 13.22-10.77 24-24 24S48 421.2 48 408V112c0-13.25-10.75-24-24-24S0 98.75 0 112v296C0 447.7 32.3 480 72 480h352c48.53 0 88-39.47 88-88v-304C512 57.13 486.9 32 456 32zM464 392c0 22.06-17.94 40-40 40H139.9C142.5 424.5 144 416.4 144 408v-320c0-4.406 3.594-8 8-8h304c4.406 0 8 3.594 8 8V392zM264 272h-64C186.8 272 176 282.8 176 296S186.8 320 200 320h64C277.3 320 288 309.3 288 296S277.3 272 264 272zM408 272h-64C330.8 272 320 282.8 320 296S330.8 320 344 320h64c13.25 0 24-10.75 24-24S421.3 272 408 272zM264 352h-64c-13.25 0-24 10.75-24 24s10.75 24 24 24h64c13.25 0 24-10.75 24-24S277.3 352 264 352zM408 352h-64C330.8 352 320 362.8 320 376s10.75 24 24 24h64c13.25 0 24-10.75 24-24S421.3 352 408 352zM400 112h-192c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h192c17.67 0 32-14.33 32-32v-64C432 126.3 417.7 112 400 112z"]
  107171. };
  107172. var faFaceKissWinkHeart = {
  107173. prefix: 'far',
  107174. iconName: 'face-kiss-wink-heart',
  107175. icon: [512, 512, [128536, "kiss-wink-heart"], "f598", "M345.3 472.1C347.3 479.7 350.9 486.4 355.7 491.8C325.1 504.8 291.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 285.3 507.1 313.4 498 339.7C486.9 334.1 474.5 333.1 461.8 334.6C459.7 329.4 457 324.6 453.9 320.1C460.5 299.9 464 278.4 464 256C464 141.1 370.9 48 256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C285.4 464 313.5 457.9 338.9 446.8L345.3 472.1zM288.7 334.3C284.4 339.5 278.5 344 271.9 347.7C269.2 349.3 266.3 350.7 263.2 352C266.3 353.3 269.2 354.7 271.9 356.3C278.5 359.1 284.4 364.5 288.7 369.7C292.9 374.8 296 381.1 296 388C296 394.9 292.9 401.2 288.7 406.3C284.4 411.5 278.5 416 271.9 419.7C258.7 427.1 241.4 432 224 432C220.4 432 217.2 429.5 216.3 426C215.3 422.5 216.9 418.8 220.1 417L220.1 417L220.3 416.9C220.5 416.8 220.8 416.6 221.2 416.3C222 415.9 223.2 415.1 224.6 414.2C227.4 412.4 231.2 409.7 234.8 406.6C238.6 403.5 242 400 244.5 396.6C246.1 393 248 390.2 248 388C248 385.8 246.1 382.1 244.5 379.4C242 375.1 238.6 372.5 234.8 369.4C231.2 366.3 227.4 363.6 224.6 361.8C223.2 360.9 222 360.1 221.2 359.7C220.8 359.4 220.5 359.2 220.3 359.1L220.1 358.1L220.1 358.1C217.6 357.6 216 354.9 216 352C216 349.1 217.6 346.4 220.1 345L220.1 345L220.3 344.9C220.5 344.8 220.8 344.6 221.2 344.3C222 343.9 223.2 343.1 224.6 342.2C227.4 340.4 231.2 337.7 234.8 334.6C238.6 331.5 242 328.1 244.5 324.6C246.1 321 248 318.2 248 316C248 313.8 246.1 310.1 244.5 307.4C242 303.1 238.6 300.5 234.8 297.4C231.2 294.3 227.4 291.6 224.6 289.8C223.2 288.9 222 288.1 221.2 287.7C220.8 287.4 220.5 287.2 220.3 287.1L220.1 286.1L220.1 286.1C216.9 285.2 215.3 281.5 216.3 277.1C217.2 274.5 220.4 272 224 272C241.4 272 258.7 276.9 271.9 284.3C278.5 287.1 284.4 292.5 288.7 297.7C292.9 302.8 296 309.1 296 316C296 322.9 292.9 329.2 288.7 334.3V334.3zM144.4 208C144.4 190.3 158.7 176 176.4 176C194 176 208.4 190.3 208.4 208C208.4 225.7 194 240 176.4 240C158.7 240 144.4 225.7 144.4 208zM335.6 220C324.1 220 315.7 223.8 310.2 229.7C302.7 237.7 290 238.1 281.9 230.6C273.9 223 273.5 210.4 281 202.3C295.6 186.8 316.3 180 335.6 180C354.1 180 375.7 186.8 390.2 202.3C397.8 210.4 397.4 223 389.3 230.6C381.2 238.1 368.6 237.7 361 229.7C355.6 223.8 346.3 220 335.6 220zM439.4 373.3L459.5 367.6C481.7 361.4 504.6 375.2 510.6 398.4C516.5 421.7 503.3 445.6 481.1 451.8L396.1 475.6C387.5 478 378.6 472.9 376.3 464.2L353.4 374.9C347.5 351.6 360.7 327.7 382.9 321.5C405.2 315.3 428 329.1 433.1 352.3L439.4 373.3z"]
  107176. };
  107177. var faKissWinkHeart = faFaceKissWinkHeart;
  107178. var faStarHalfStroke = {
  107179. prefix: 'far',
  107180. iconName: 'star-half-stroke',
  107181. icon: [576, 512, ["star-half-alt"], "f5c0", "M378.1 154.8L531.4 177.5C540.4 178.8 547.8 185.1 550.7 193.7C553.5 202.4 551.2 211.9 544.8 218.2L433.6 328.4L459.9 483.9C461.4 492.9 457.7 502.1 450.2 507.4C442.8 512.7 432.1 513.4 424.9 509.1L287.9 435.9L150.1 509.1C142.9 513.4 133.1 512.7 125.6 507.4C118.2 502.1 114.5 492.9 115.1 483.9L142.2 328.4L31.11 218.2C24.65 211.9 22.36 202.4 25.2 193.7C28.03 185.1 35.5 178.8 44.49 177.5L197.7 154.8L266.3 13.52C270.4 5.249 278.7 0 287.9 0C297.1 0 305.5 5.25 309.5 13.52L378.1 154.8zM287.1 384.7C291.9 384.7 295.7 385.6 299.2 387.5L404.4 443.7L384.2 324.1C382.9 316.4 385.5 308.5 391 303L476.9 217.9L358.6 200.5C350.7 199.3 343.9 194.3 340.5 187.2L287.1 79.09L287.1 384.7z"]
  107182. };
  107183. var faStarHalfAlt = faStarHalfStroke;
  107184. var faFileExcel = {
  107185. prefix: 'far',
  107186. iconName: 'file-excel',
  107187. icon: [384, 512, [], "f1c3", "M365.3 93.38l-74.63-74.64C278.6 6.742 262.3 0 245.4 0H64C28.65 0 0 28.65 0 64l.0065 384c0 35.34 28.65 64 64 64H320c35.2 0 64-28.8 64-64V138.6C384 121.7 377.3 105.4 365.3 93.38zM336 448c0 8.836-7.164 16-16 16H64.02c-8.838 0-16-7.164-16-16L48 64.13c0-8.836 7.164-16 16-16h160L224 128c0 17.67 14.33 32 32 32h79.1V448zM229.1 233.3L192 280.9L154.9 233.3C146.8 222.8 131.8 220.9 121.3 229.1C110.8 237.2 108.9 252.3 117.1 262.8L161.6 320l-44.53 57.25c-8.156 10.47-6.25 25.56 4.188 33.69C125.7 414.3 130.8 416 135.1 416c7.156 0 14.25-3.188 18.97-9.25L192 359.1l37.06 47.65C233.8 412.8 240.9 416 248 416c5.125 0 10.31-1.656 14.72-5.062c10.44-8.125 12.34-23.22 4.188-33.69L222.4 320l44.53-57.25c8.156-10.47 6.25-25.56-4.188-33.69C252.2 220.9 237.2 222.8 229.1 233.3z"]
  107188. };
  107189. var faFaceGrinBeam = {
  107190. prefix: 'far',
  107191. iconName: 'face-grin-beam',
  107192. icon: [512, 512, [128516, "grin-beam"], "f582", "M349.5 308.4C368.2 303.1 385.4 320.4 374.1 336.5C350.4 374.6 306.3 399.1 255.9 399.1C205.6 399.1 161.5 374.6 136.9 336.5C126.5 320.4 143.7 303.1 162.3 308.4C191.3 315.1 222.8 318.8 255.9 318.8C289 318.8 320.6 315.1 349.5 308.4zM217.6 228.8L217.6 228.8L217.4 228.5C217.2 228.3 217 228 216.7 227.6C216 226.8 215.1 225.7 213.9 224.3C211.4 221.4 207.9 217.7 203.7 213.1C194.9 206.2 184.8 200 176 200C167.2 200 157.1 206.2 148.3 213.1C144.1 217.7 140.6 221.4 138.1 224.3C136.9 225.7 135.1 226.8 135.3 227.6C134.1 228 134.8 228.3 134.6 228.5L134.4 228.8L134.4 228.8C132.3 231.6 128.7 232.7 125.5 231.6C122.2 230.5 120 227.4 120 224C120 206.1 126.7 188.4 136.6 175.2C146.4 162.2 160.5 152 176 152C191.5 152 205.6 162.2 215.4 175.2C225.3 188.4 232 206.1 232 224C232 227.4 229.8 230.5 226.5 231.6C223.3 232.7 219.7 231.6 217.6 228.8V228.8zM377.6 228.8L377.4 228.5C377.2 228.3 377 228 376.7 227.6C376 226.8 375.1 225.7 373.9 224.3C371.4 221.4 367.9 217.7 363.7 213.1C354.9 206.2 344.8 200 336 200C327.2 200 317.1 206.2 308.3 213.1C304.1 217.7 300.6 221.4 298.1 224.3C296.9 225.7 295.1 226.8 295.3 227.6C294.1 228 294.8 228.3 294.6 228.5L294.4 228.8L294.4 228.8C292.3 231.6 288.7 232.7 285.5 231.6C282.2 230.5 280 227.4 280 224C280 206.1 286.7 188.4 296.6 175.2C306.4 162.2 320.5 152 336 152C351.5 152 365.6 162.2 375.4 175.2C385.3 188.4 392 206.1 392 224C392 227.4 389.8 230.5 386.5 231.6C383.3 232.7 379.7 231.6 377.6 228.8L377.6 228.8zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"]
  107193. };
  107194. var faGrinBeam = faFaceGrinBeam;
  107195. var faObjectUngroup = {
  107196. prefix: 'far',
  107197. iconName: 'object-ungroup',
  107198. icon: [640, 512, [], "f248", "M64 0C90.86 0 113.9 16.55 123.3 40H324.7C334.1 16.55 357.1 0 384 0C419.3 0 448 28.65 448 64C448 90.86 431.5 113.9 408 123.3V228.7C431.5 238.1 448 261.1 448 288C448 323.3 419.3 352 384 352C357.1 352 334.1 335.5 324.7 312H123.3C113.9 335.5 90.86 352 64 352C28.65 352 0 323.3 0 288C0 261.1 16.55 238.1 40 228.7V123.3C16.55 113.9 0 90.86 0 64C0 28.65 28.65 0 64 0V0zM64 80C72.84 80 80 72.84 80 64C80 56.1 74.28 49.54 66.75 48.24C65.86 48.08 64.94 48 64 48C55.16 48 48 55.16 48 64C48 64.07 48 64.14 48 64.21C48.01 65.07 48.09 65.92 48.24 66.75C49.54 74.28 56.1 80 64 80zM384 48C383.1 48 382.1 48.08 381.2 48.24C373.7 49.54 368 56.1 368 64C368 72.84 375.2 80 384 80C391.9 80 398.5 74.28 399.8 66.75C399.9 65.86 400 64.94 400 64C400 55.16 392.8 48 384 48V48zM324.7 88H123.3C116.9 104 104 116.9 88 123.3V228.7C104 235.1 116.9 247.1 123.3 264H324.7C331.1 247.1 343.1 235.1 360 228.7V123.3C343.1 116.9 331.1 104 324.7 88zM400 288C400 287.1 399.9 286.1 399.8 285.2C398.5 277.7 391.9 272 384 272C375.2 272 368 279.2 368 288C368 295.9 373.7 302.5 381.2 303.8C382.1 303.9 383.1 304 384 304C392.8 304 400 296.8 400 288zM64 272C56.1 272 49.54 277.7 48.24 285.2C48.08 286.1 48 287.1 48 288C48 296.8 55.16 304 64 304L64.22 303.1C65.08 303.1 65.93 303.9 66.75 303.8C74.28 302.5 80 295.9 80 288C80 279.2 72.84 272 64 272zM471.3 248C465.8 235.9 457.8 225.2 448 216.4V200H516.7C526.1 176.5 549.1 160 576 160C611.3 160 640 188.7 640 224C640 250.9 623.5 273.9 600 283.3V388.7C623.5 398.1 640 421.1 640 448C640 483.3 611.3 512 576 512C549.1 512 526.1 495.5 516.7 472H315.3C305.9 495.5 282.9 512 256 512C220.7 512 192 483.3 192 448C192 421.1 208.5 398.1 232 388.7V352H280V388.7C296 395.1 308.9 407.1 315.3 424H516.7C523.1 407.1 535.1 395.1 552 388.7V283.3C535.1 276.9 523.1 264 516.7 248H471.3zM592 224C592 215.2 584.8 208 576 208C575.1 208 574.1 208.1 573.2 208.2C565.7 209.5 560 216.1 560 224C560 232.8 567.2 240 576 240C583.9 240 590.5 234.3 591.8 226.8C591.9 225.9 592 224.9 592 224zM240 448C240 456.8 247.2 464 256 464C256.9 464 257.9 463.9 258.8 463.8C266.3 462.5 272 455.9 272 448C272 439.2 264.8 432 256 432C248.1 432 241.5 437.7 240.2 445.2C240.1 446.1 240 447.1 240 448zM573.2 463.8C574.1 463.9 575.1 464 576 464C584.8 464 592 456.8 592 448C592 447.1 591.9 446.2 591.8 445.3L591.8 445.2C590.5 437.7 583.9 432 576 432C567.2 432 560 439.2 560 448C560 455.9 565.7 462.5 573.2 463.8V463.8z"]
  107199. };
  107200. var faCircleRight = {
  107201. prefix: 'far',
  107202. iconName: 'circle-right',
  107203. icon: [512, 512, [61838, "arrow-alt-circle-right"], "f35a", "M280.2 150.2C273.1 143.8 262.1 142.2 254.3 146.1S239.1 158.5 239.1 167.1l.002 56L152 224C138.8 224 128 234.8 128 248v16C128 277.3 138.8 288 152 288L240 287.1v56c0 9.531 5.656 18.16 14.38 22c8.75 3.812 18.91 2.094 25.91-4.375l96-88.75C381.2 268.3 384 261.9 384 255.2c-.3125-7.781-2.875-13.25-7.844-17.75L280.2 150.2zM256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 464c-114.7 0-208-93.31-208-208S141.3 48 256 48s208 93.31 208 208S370.7 464 256 464z"]
  107204. };
  107205. var faArrowAltCircleRight = faCircleRight;
  107206. var faFaceRollingEyes = {
  107207. prefix: 'far',
  107208. iconName: 'face-rolling-eyes',
  107209. icon: [512, 512, [128580, "meh-rolling-eyes"], "f5a5", "M168 376C168 362.7 178.7 352 192 352H320C333.3 352 344 362.7 344 376C344 389.3 333.3 400 320 400H192C178.7 400 168 389.3 168 376zM80 224C80 179.8 115.8 144 160 144C204.2 144 240 179.8 240 224C240 268.2 204.2 304 160 304C115.8 304 80 268.2 80 224zM160 272C186.5 272 208 250.5 208 224C208 209.7 201.7 196.8 191.8 188C191.9 189.3 192 190.6 192 192C192 209.7 177.7 224 160 224C142.3 224 128 209.7 128 192C128 190.6 128.1 189.3 128.2 188C118.3 196.8 112 209.7 112 224C112 250.5 133.5 272 160 272V272zM272 224C272 179.8 307.8 144 352 144C396.2 144 432 179.8 432 224C432 268.2 396.2 304 352 304C307.8 304 272 268.2 272 224zM352 272C378.5 272 400 250.5 400 224C400 209.7 393.7 196.8 383.8 188C383.9 189.3 384 190.6 384 192C384 209.7 369.7 224 352 224C334.3 224 320 209.7 320 192C320 190.6 320.1 189.3 320.2 188C310.3 196.8 304 209.7 304 224C304 250.5 325.5 272 352 272zM0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464z"]
  107210. };
  107211. var faMehRollingEyes = faFaceRollingEyes;
  107212. var faObjectGroup = {
  107213. prefix: 'far',
  107214. iconName: 'object-group',
  107215. icon: [576, 512, [], "f247", "M128 160C128 142.3 142.3 128 160 128H288C305.7 128 320 142.3 320 160V256C320 273.7 305.7 288 288 288H160C142.3 288 128 273.7 128 256V160zM288 320C323.3 320 352 291.3 352 256V224H416C433.7 224 448 238.3 448 256V352C448 369.7 433.7 384 416 384H288C270.3 384 256 369.7 256 352V320H288zM48 115.8C38.18 106.1 32 94.22 32 80C32 53.49 53.49 32 80 32C94.22 32 106.1 38.18 115.8 48H460.2C469 38.18 481.8 32 496 32C522.5 32 544 53.49 544 80C544 94.22 537.8 106.1 528 115.8V396.2C537.8 405 544 417.8 544 432C544 458.5 522.5 480 496 480C481.8 480 469 473.8 460.2 464H115.8C106.1 473.8 94.22 480 80 480C53.49 480 32 458.5 32 432C32 417.8 38.18 405 48 396.2V115.8zM96 125.3V386.7C109.6 391.6 120.4 402.4 125.3 416H450.7C455.6 402.4 466.4 391.6 480 386.7V125.3C466.4 120.4 455.6 109.6 450.7 96H125.3C120.4 109.6 109.6 120.4 96 125.3z"]
  107216. };
  107217. var faHeart = {
  107218. prefix: 'far',
  107219. iconName: 'heart',
  107220. icon: [512, 512, [128153, 128154, 128155, 128156, 128420, 129293, 129294, 129505, 9829, 10084, 61578], "f004", "M244 84L255.1 96L267.1 84.02C300.6 51.37 347 36.51 392.6 44.1C461.5 55.58 512 115.2 512 185.1V190.9C512 232.4 494.8 272.1 464.4 300.4L283.7 469.1C276.2 476.1 266.3 480 256 480C245.7 480 235.8 476.1 228.3 469.1L47.59 300.4C17.23 272.1 0 232.4 0 190.9V185.1C0 115.2 50.52 55.58 119.4 44.1C164.1 36.51 211.4 51.37 244 84C243.1 84 244 84.01 244 84L244 84zM255.1 163.9L210.1 117.1C188.4 96.28 157.6 86.4 127.3 91.44C81.55 99.07 48 138.7 48 185.1V190.9C48 219.1 59.71 246.1 80.34 265.3L256 429.3L431.7 265.3C452.3 246.1 464 219.1 464 190.9V185.1C464 138.7 430.4 99.07 384.7 91.44C354.4 86.4 323.6 96.28 301.9 117.1L255.1 163.9z"]
  107221. };
  107222. var faFaceSurprise = {
  107223. prefix: 'far',
  107224. iconName: 'face-surprise',
  107225. icon: [512, 512, [128558, "surprise"], "f5c2", "M144.4 208C144.4 190.3 158.7 176 176.4 176C194 176 208.4 190.3 208.4 208C208.4 225.7 194 240 176.4 240C158.7 240 144.4 225.7 144.4 208zM368.4 208C368.4 225.7 354 240 336.4 240C318.7 240 304.4 225.7 304.4 208C304.4 190.3 318.7 176 336.4 176C354 176 368.4 190.3 368.4 208zM192 352C192 316.7 220.7 288 256 288C291.3 288 320 316.7 320 352C320 387.3 291.3 416 256 416C220.7 416 192 387.3 192 352zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"]
  107226. };
  107227. var faSurprise = faFaceSurprise;
  107228. var faCirclePause = {
  107229. prefix: 'far',
  107230. iconName: 'circle-pause',
  107231. icon: [512, 512, [62092, "pause-circle"], "f28b", "M200 160C186.8 160 176 170.8 176 184v144C176 341.3 186.8 352 200 352S224 341.3 224 328v-144C224 170.8 213.3 160 200 160zM312 160C298.8 160 288 170.8 288 184v144c0 13.25 10.75 24 24 24s24-10.75 24-24v-144C336 170.8 325.3 160 312 160zM256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 464c-114.7 0-208-93.31-208-208S141.3 48 256 48s208 93.31 208 208S370.7 464 256 464z"]
  107232. };
  107233. var faPauseCircle = faCirclePause;
  107234. var faCircle = {
  107235. prefix: 'far',
  107236. iconName: 'circle',
  107237. icon: [512, 512, [128308, 128309, 128992, 128993, 128994, 128995, 128996, 9679, 9898, 9899, 11044, 61708, 61915], "f111", "M512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"]
  107238. };
  107239. var faCircleUp = {
  107240. prefix: 'far',
  107241. iconName: 'circle-up',
  107242. icon: [512, 512, [61467, "arrow-alt-circle-up"], "f35b", "M272.9 135.7C268.3 130.8 261.9 128 255.2 128C247.5 128.3 241.1 130.9 237.5 135.8l-87.25 96C143.8 238.9 142.2 249 146.1 257.7C149.9 266.4 158.5 272 167.1 272h56L224 360c0 13.25 10.75 24 24 24h16c13.25 0 23.1-10.75 23.1-24L287.1 272h56c9.531 0 18.16-5.656 22-14.38c3.811-8.75 2.092-18.91-4.377-25.91L272.9 135.7zM256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 464c-114.7 0-208-93.31-208-208S141.3 48 256 48s208 93.31 208 208S370.7 464 256 464z"]
  107243. };
  107244. var faArrowAltCircleUp = faCircleUp;
  107245. var faFileAudio = {
  107246. prefix: 'far',
  107247. iconName: 'file-audio',
  107248. icon: [384, 512, [], "f1c7", "M365.3 93.38l-74.63-74.64C278.6 6.742 262.3 0 245.4 0L64-.0001c-35.35 0-64 28.65-64 64l.0065 384c0 35.34 28.65 64 64 64H320c35.2 0 64-28.8 64-64V138.6C384 121.7 377.3 105.4 365.3 93.38zM336 448c0 8.836-7.164 16-16 16H64.02c-8.838 0-16-7.164-16-16L48 64.13c0-8.836 7.164-16 16-16h160L224 128c0 17.67 14.33 32 32 32h79.1V448zM171.5 259.5L136 296H92C85.38 296 80 301.4 80 308v56C80 370.7 85.38 376 92 376H136l35.5 36.5C179.1 420 192 414.8 192 404v-136C192 257.3 179.1 251.9 171.5 259.5zM235.1 260.7c-6.25 6.25-6.25 16.38 0 22.62C235.3 283.5 256 305.1 256 336c0 30.94-20.77 52.53-20.91 52.69c-6.25 6.25-6.25 16.38 0 22.62C238.2 414.4 242.3 416 246.4 416s8.188-1.562 11.31-4.688C258.1 410.1 288 380.5 288 336s-29.05-74.06-30.28-75.31C251.5 254.4 241.3 254.4 235.1 260.7z"]
  107249. };
  107250. var faFileImage = {
  107251. prefix: 'far',
  107252. iconName: 'file-image',
  107253. icon: [384, 512, [128443], "f1c5", "M365.3 93.38l-74.63-74.64C278.6 6.742 262.3 0 245.4 0H64C28.65 0 0 28.65 0 64l.0065 384c0 35.34 28.65 64 64 64H320c35.2 0 64-28.8 64-64V138.6C384 121.7 377.3 105.4 365.3 93.38zM336 448c0 8.836-7.164 16-16 16H64.02c-8.838 0-16-7.164-16-16L48 64.13c0-8.836 7.164-16 16-16h160L224 128c0 17.67 14.33 32 32 32h79.1V448zM215.3 292c-4.68 0-9.051 2.34-11.65 6.234L164 357.8l-11.68-17.53C149.7 336.3 145.3 334 140.7 334c-4.682 0-9.053 2.34-11.65 6.234l-46.67 70c-2.865 4.297-3.131 9.82-.6953 14.37C84.09 429.2 88.84 432 93.1 432h196c5.163 0 9.907-2.844 12.34-7.395c2.436-4.551 2.17-10.07-.6953-14.37l-74.67-112C224.4 294.3 220 292 215.3 292zM128 288c17.67 0 32-14.33 32-32S145.7 224 128 224S96 238.3 96 256S110.3 288 128 288z"]
  107254. };
  107255. var faCircleQuestion = {
  107256. prefix: 'far',
  107257. iconName: 'circle-question',
  107258. icon: [512, 512, [62108, "question-circle"], "f059", "M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 464c-114.7 0-208-93.31-208-208S141.3 48 256 48s208 93.31 208 208S370.7 464 256 464zM256 336c-18 0-32 14-32 32s13.1 32 32 32c17.1 0 32-14 32-32S273.1 336 256 336zM289.1 128h-51.1C199 128 168 159 168 198c0 13 11 24 24 24s24-11 24-24C216 186 225.1 176 237.1 176h51.1C301.1 176 312 186 312 198c0 8-4 14.1-11 18.1L244 251C236 256 232 264 232 272V288c0 13 11 24 24 24S280 301 280 288V286l45.1-28c21-13 34-36 34-60C360 159 329 128 289.1 128z"]
  107259. };
  107260. var faQuestionCircle = faCircleQuestion;
  107261. var faFaceMehBlank = {
  107262. prefix: 'far',
  107263. iconName: 'face-meh-blank',
  107264. icon: [512, 512, [128566, "meh-blank"], "f5a4", "M208.4 208C208.4 225.7 194 240 176.4 240C158.7 240 144.4 225.7 144.4 208C144.4 190.3 158.7 176 176.4 176C194 176 208.4 190.3 208.4 208zM304.4 208C304.4 190.3 318.7 176 336.4 176C354 176 368.4 190.3 368.4 208C368.4 225.7 354 240 336.4 240C318.7 240 304.4 225.7 304.4 208zM0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"]
  107265. };
  107266. var faMehBlank = faFaceMehBlank;
  107267. var faEye = {
  107268. prefix: 'far',
  107269. iconName: 'eye',
  107270. icon: [576, 512, [128065], "f06e", "M160 256C160 185.3 217.3 128 288 128C358.7 128 416 185.3 416 256C416 326.7 358.7 384 288 384C217.3 384 160 326.7 160 256zM288 336C332.2 336 368 300.2 368 256C368 211.8 332.2 176 288 176C287.3 176 286.7 176 285.1 176C287.3 181.1 288 186.5 288 192C288 227.3 259.3 256 224 256C218.5 256 213.1 255.3 208 253.1C208 254.7 208 255.3 208 255.1C208 300.2 243.8 336 288 336L288 336zM95.42 112.6C142.5 68.84 207.2 32 288 32C368.8 32 433.5 68.84 480.6 112.6C527.4 156 558.7 207.1 573.5 243.7C576.8 251.6 576.8 260.4 573.5 268.3C558.7 304 527.4 355.1 480.6 399.4C433.5 443.2 368.8 480 288 480C207.2 480 142.5 443.2 95.42 399.4C48.62 355.1 17.34 304 2.461 268.3C-.8205 260.4-.8205 251.6 2.461 243.7C17.34 207.1 48.62 156 95.42 112.6V112.6zM288 80C222.8 80 169.2 109.6 128.1 147.7C89.6 183.5 63.02 225.1 49.44 256C63.02 286 89.6 328.5 128.1 364.3C169.2 402.4 222.8 432 288 432C353.2 432 406.8 402.4 447.9 364.3C486.4 328.5 512.1 286 526.6 256C512.1 225.1 486.4 183.5 447.9 147.7C406.8 109.6 353.2 80 288 80V80z"]
  107271. };
  107272. var faFaceSadCry = {
  107273. prefix: 'far',
  107274. iconName: 'face-sad-cry',
  107275. icon: [512, 512, [128557, "sad-cry"], "f5b3", "M159.6 220C148.1 220 139.7 223.8 134.2 229.7C126.7 237.7 114 238.1 105.1 230.6C97.89 223 97.48 210.4 105 202.3C119.6 186.8 140.3 180 159.6 180C178.1 180 199.7 186.8 214.2 202.3C221.8 210.4 221.4 223 213.3 230.6C205.2 238.1 192.6 237.7 185 229.7C179.6 223.8 170.3 220 159.6 220zM297.9 230.6C289.9 223 289.5 210.4 297 202.3C311.6 186.8 332.3 180 351.6 180C370.1 180 391.7 186.8 406.2 202.3C413.8 210.4 413.4 223 405.3 230.6C397.2 238.1 384.6 237.7 377 229.7C371.6 223.8 362.3 220 351.6 220C340.1 220 331.7 223.8 326.2 229.7C318.7 237.7 306 238.1 297.9 230.6zM208 320C208 293.5 229.5 272 256 272C282.5 272 304 293.5 304 320V352C304 378.5 282.5 400 256 400C229.5 400 208 378.5 208 352V320zM0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM400 406.1C439.4 368.2 464 314.1 464 256C464 141.1 370.9 48 256 48C141.1 48 48 141.1 48 256C48 314.1 72.55 368.2 112 406.1V288C112 274.7 122.7 264 136 264C149.3 264 160 274.7 160 288V440.6C188.7 455.5 221.4 464 256 464C290.6 464 323.3 455.5 352 440.6V288C352 274.7 362.7 264 376 264C389.3 264 400 274.7 400 288V406.1z"]
  107276. };
  107277. var faSadCry = faFaceSadCry;
  107278. var faFileCode = {
  107279. prefix: 'far',
  107280. iconName: 'file-code',
  107281. icon: [384, 512, [], "f1c9", "M162.1 257.8c-7.812-7.812-20.47-7.812-28.28 0l-48 48c-7.812 7.812-7.812 20.5 0 28.31l48 48C137.8 386.1 142.9 388 148 388s10.23-1.938 14.14-5.844c7.812-7.812 7.812-20.5 0-28.31L128.3 320l33.86-33.84C169.1 278.3 169.1 265.7 162.1 257.8zM365.3 93.38l-74.63-74.64C278.6 6.742 262.3 0 245.4 0H64C28.65 0 0 28.65 0 64l.0065 384c0 35.34 28.65 64 64 64H320c35.2 0 64-28.8 64-64V138.6C384 121.7 377.3 105.4 365.3 93.38zM336 448c0 8.836-7.164 16-16 16H64.02c-8.838 0-16-7.164-16-16L48 64.13c0-8.836 7.164-16 16-16h160L224 128c0 17.67 14.33 32 32 32h79.1V448zM221.9 257.8c-7.812 7.812-7.812 20.5 0 28.31L255.7 320l-33.86 33.84c-7.812 7.812-7.812 20.5 0 28.31C225.8 386.1 230.9 388 236 388s10.23-1.938 14.14-5.844l48-48c7.812-7.812 7.812-20.5 0-28.31l-48-48C242.3 250 229.7 250 221.9 257.8z"]
  107282. };
  107283. var faWindowMaximize = {
  107284. prefix: 'far',
  107285. iconName: 'window-maximize',
  107286. icon: [512, 512, [128470], "f2d0", "M7.724 65.49C13.36 55.11 21.79 46.47 32 40.56C39.63 36.15 48.25 33.26 57.46 32.33C59.61 32.11 61.79 32 64 32H448C483.3 32 512 60.65 512 96V416C512 451.3 483.3 480 448 480H64C28.65 480 0 451.3 0 416V96C0 93.79 .112 91.61 .3306 89.46C1.204 80.85 3.784 72.75 7.724 65.49V65.49zM48 416C48 424.8 55.16 432 64 432H448C456.8 432 464 424.8 464 416V224H48V416z"]
  107287. };
  107288. var faFaceFrown = {
  107289. prefix: 'far',
  107290. iconName: 'face-frown',
  107291. icon: [512, 512, [9785, "frown"], "f119", "M143.9 398.6C131.4 394.1 124.9 380.3 129.4 367.9C146.9 319.4 198.9 288 256 288C313.1 288 365.1 319.4 382.6 367.9C387.1 380.3 380.6 394.1 368.1 398.6C355.7 403.1 341.9 396.6 337.4 384.1C328.2 358.5 297.2 336 256 336C214.8 336 183.8 358.5 174.6 384.1C170.1 396.6 156.3 403.1 143.9 398.6V398.6zM208.4 208C208.4 225.7 194 240 176.4 240C158.7 240 144.4 225.7 144.4 208C144.4 190.3 158.7 176 176.4 176C194 176 208.4 190.3 208.4 208zM304.4 208C304.4 190.3 318.7 176 336.4 176C354 176 368.4 190.3 368.4 208C368.4 225.7 354 240 336.4 240C318.7 240 304.4 225.7 304.4 208zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"]
  107292. };
  107293. var faFrown = faFaceFrown;
  107294. var faFloppyDisk = {
  107295. prefix: 'far',
  107296. iconName: 'floppy-disk',
  107297. icon: [448, 512, [128190, 128426, "save"], "f0c7", "M224 256c-35.2 0-64 28.8-64 64c0 35.2 28.8 64 64 64c35.2 0 64-28.8 64-64C288 284.8 259.2 256 224 256zM433.1 129.1l-83.9-83.9C341.1 37.06 328.8 32 316.1 32H64C28.65 32 0 60.65 0 96v320c0 35.35 28.65 64 64 64h320c35.35 0 64-28.65 64-64V163.9C448 151.2 442.9 138.9 433.1 129.1zM128 80h144V160H128V80zM400 416c0 8.836-7.164 16-16 16H64c-8.836 0-16-7.164-16-16V96c0-8.838 7.164-16 16-16h16v104c0 13.25 10.75 24 24 24h192C309.3 208 320 197.3 320 184V83.88l78.25 78.25C399.4 163.2 400 164.8 400 166.3V416z"]
  107298. };
  107299. var faSave = faFloppyDisk;
  107300. var faCommentDots = {
  107301. prefix: 'far',
  107302. iconName: 'comment-dots',
  107303. icon: [512, 512, [128172, 62075, "commenting"], "f4ad", "M144 208C126.3 208 112 222.2 112 239.1C112 257.7 126.3 272 144 272s31.1-14.25 31.1-32S161.8 208 144 208zM256 207.1c-17.75 0-31.1 14.25-31.1 32s14.25 31.1 31.1 31.1s31.1-14.25 31.1-31.1S273.8 207.1 256 207.1zM368 208c-17.75 0-31.1 14.25-31.1 32s14.25 32 31.1 32c17.75 0 31.99-14.25 31.99-32C400 222.2 385.8 208 368 208zM256 31.1c-141.4 0-255.1 93.12-255.1 208c0 47.62 19.91 91.25 52.91 126.3c-14.87 39.5-45.87 72.88-46.37 73.25c-6.624 7-8.373 17.25-4.624 26C5.818 474.2 14.38 480 24 480c61.49 0 109.1-25.75 139.1-46.25c28.87 9 60.16 14.25 92.9 14.25c141.4 0 255.1-93.13 255.1-207.1S397.4 31.1 256 31.1zM256 400c-26.75 0-53.12-4.125-78.36-12.12l-22.75-7.125L135.4 394.5c-14.25 10.12-33.87 21.38-57.49 29c7.374-12.12 14.37-25.75 19.87-40.25l10.62-28l-20.62-21.87C69.81 314.1 48.06 282.2 48.06 240c0-88.25 93.24-160 207.1-160s207.1 71.75 207.1 160S370.8 400 256 400z"]
  107304. };
  107305. var faCommenting = faCommentDots;
  107306. var faFaceGrinSquint = {
  107307. prefix: 'far',
  107308. iconName: 'face-grin-squint',
  107309. icon: [512, 512, [128518, "grin-squint"], "f585", "M349.5 308.4C368.2 303.1 385.4 320.4 374.1 336.5C350.4 374.6 306.3 399.1 255.9 399.1C205.6 399.1 161.5 374.6 136.9 336.5C126.5 320.4 143.7 303.1 162.3 308.4C191.3 315.1 222.8 318.8 255.9 318.8C289 318.8 320.6 315.1 349.5 308.4zM223.4 194.6C234.1 200.3 234.1 215.7 223.4 221.4L133.5 269.3C125.6 273.6 116 267.8 116 258.9C116 256.1 116.1 253.4 118.8 251.2L154.8 208L118.8 164.8C116.1 162.6 116 159.9 116 157.1C116 148.2 125.6 142.4 133.5 146.7L223.4 194.6zM393.2 164.8L357.2 208L393.2 251.2C395 253.4 396 256.1 396 258.9C396 267.8 386.4 273.6 378.5 269.3L288.6 221.4C277.9 215.7 277.9 200.3 288.6 194.6L378.5 146.7C386.4 142.4 396 148.2 396 157.1C396 159.9 395 162.6 393.2 164.8zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"]
  107310. };
  107311. var faGrinSquint = faFaceGrinSquint;
  107312. var faHandPointer = {
  107313. prefix: 'far',
  107314. iconName: 'hand-pointer',
  107315. icon: [448, 512, [], "f25a", "M208 288C199.2 288 192 295.2 192 304v96C192 408.8 199.2 416 208 416s16-7.164 16-16v-96C224 295.2 216.8 288 208 288zM272 288C263.2 288 256 295.2 256 304v96c0 8.836 7.162 16 15.1 16S288 408.8 288 400l-.0013-96C287.1 295.2 280.8 288 272 288zM376.9 201.2c-13.74-17.12-34.8-27.45-56.92-27.45h-13.72c-3.713 0-7.412 .291-11.07 .8652C282.7 165.1 267.4 160 251.4 160h-11.44V72c0-39.7-32.31-72-72.01-72c-39.7 0-71.98 32.3-71.98 72v168.5C84.85 235.1 75.19 235.4 69.83 235.4c-44.35 0-69.83 37.23-69.83 69.85c0 14.99 4.821 29.51 13.99 41.69l78.14 104.2C120.7 489.3 166.2 512 213.7 512h109.7c6.309 0 12.83-.957 18.14-2.645c28.59-5.447 53.87-19.41 73.17-40.44C436.1 446.3 448 416.2 448 384.2V274.3C448 234.6 416.3 202.3 376.9 201.2zM400 384.2c0 19.62-7.219 38.06-20.44 52.06c-12.53 13.66-29.03 22.67-49.69 26.56C327.4 463.6 325.3 464 323.4 464H213.7c-32.56 0-63.65-15.55-83.18-41.59L52.36 318.2C49.52 314.4 48.02 309.8 48.02 305.2c0-16.32 14.5-21.75 21.72-21.75c4.454 0 12.01 1.55 17.34 8.703l28.12 37.5c3.093 4.105 7.865 6.419 12.8 6.419c11.94 0 16.01-10.7 16.01-16.01V72c0-13.23 10.78-24 23.1-24c13.22 0 24 10.77 24 24v130.7c0 6.938 5.451 16.01 16.03 16.01C219.5 218.7 220.1 208 237.7 208h13.72c21.5 0 18.56 19.21 34.7 19.21c8.063 0 9.805-5.487 20.15-5.487h13.72c26.96 0 17.37 27.43 40.77 27.43l14.07-.0037c13.88 0 25.16 11.28 25.16 25.14V384.2zM336 288C327.2 288 320 295.2 320 304v96c0 8.836 7.164 16 16 16s16-7.164 16-16v-96C352 295.2 344.8 288 336 288z"]
  107316. };
  107317. var faHandScissors = {
  107318. prefix: 'far',
  107319. iconName: 'hand-scissors',
  107320. icon: [512, 512, [], "f257", "M270.1 480h97.92C447.4 480 512 417.1 512 339.7V231.8c0-23.45-6.106-46.73-17.66-67.33l-31.35-55.85C447.5 81.1 417.1 64 385.9 64h-46.97c-26.63 0-51.56 11.63-68.4 31.93l-15.46 18.71L127.3 68.44C119 65.46 110.5 64.05 102.1 64.05c-30.02 0-58.37 18.06-69.41 47.09C15.06 156.8 46.19 194 76.75 204.9l2.146 .7637L68.79 206.4C30.21 209 0 241.2 0 279.3c0 39.7 33.27 72.09 73.92 72.09c1.745 0 3.501-.0605 5.268-.1833l88.79-6.135v8.141c0 22.11 10.55 43.11 28.05 56.74C197.4 448.8 230.2 480 270.1 480zM269.1 432c-14.34 0-26-11.03-26-24.62c0 0 .0403-14.31 .0403-14.71c0-6.894-4.102-14.2-10.67-16.39c-10.39-3.5-17.38-12.78-17.38-23.06v-13.53c0-16.98 13.7-16.4 13.7-29.89c0-9.083-7.392-15.96-15.96-15.96c-.3646 0-.7311 .0125-1.099 .0377c0 0-138.1 9.505-138.7 9.505c-14.32 0-25.93-11.04-25.93-24.49c0-13.28 10.7-23.74 24.1-24.64l163.2-11.28c2.674-.1882 14.92-2.907 14.92-16.18c0-6.675-4.284-12.58-10.65-14.85L92.84 159.7C85.39 156.1 75.97 149.4 75.97 136.7c0-11.14 9.249-24.66 25.97-24.66c3.043 0 6.141 .5115 9.166 1.59l234.1 85.03c1.801 .6581 3.644 .9701 5.456 .9701c8.96 0 16-7.376 16-15.1c0-6.514-4.068-12.69-10.59-15.04l-64.81-23.47l15.34-18.56C315.2 117.3 326.6 112 338.9 112h46.97c14.77 0 28.28 7.719 35.27 20.16L452.5 188c7.531 13.41 11.52 28.56 11.52 43.81v107.9c0 50.91-43.06 92.31-96 92.31H269.1z"]
  107321. };
  107322. var faFaceGrinTears = {
  107323. prefix: 'far',
  107324. iconName: 'face-grin-tears',
  107325. icon: [640, 512, [128514, "grin-tears"], "f588", "M519.4 334.4C522.7 342.5 527.8 352.1 535.9 361.1C539.9 365 544.1 368.4 548.6 371.4C506.4 454.8 419.9 512 319.1 512C220.1 512 133.6 454.8 91.4 371.4C95.87 368.4 100.1 365 104.1 361.1C112.2 352.1 117.3 342.5 120.6 334.4C121.8 331.5 122.9 328.6 123.9 325.5C152.5 406.2 229.5 464 319.1 464C410.5 464 487.5 406.2 516.1 325.5C517.1 328.6 518.2 331.5 519.4 334.4V334.4zM319.1 47.1C218.6 47.1 134.2 120.5 115.7 216.5C109.1 213.4 101.4 212.2 93.4 213.3C86.59 214.3 77.18 215.7 66.84 217.7C85.31 94.5 191.6 0 319.1 0C448.4 0 554.7 94.5 573.2 217.7C562.8 215.7 553.4 214.3 546.6 213.3C538.6 212.2 530.9 213.4 524.2 216.5C505.8 120.5 421.4 48 319.1 48V47.1zM78.5 341.1C59.98 356.7 32.01 355.5 14.27 337.7C-4.442 319-4.825 288.9 13.55 270.6C22.19 261.9 43.69 255.4 64.05 250.1C77.02 248.2 89.53 246.2 97.94 245C103.3 244.2 107.8 248.7 106.1 254.1C103.9 275.6 95.58 324.3 81.43 338.4C80.49 339.4 79.51 340.3 78.5 341.1V341.1zM561.5 341.1C560.7 340.5 559.1 339.8 559.2 339.1C559 338.9 558.8 338.7 558.6 338.4C544.4 324.3 536.1 275.6 533 254.1C532.2 248.7 536.7 244.2 542.1 245C543.1 245.2 544.2 245.3 545.4 245.5C553.6 246.7 564.6 248.5 575.1 250.1C596.3 255.4 617.8 261.9 626.4 270.6C644.8 288.9 644.4 319 625.7 337.7C607.1 355.5 580 356.7 561.5 341.1L561.5 341.1zM319.9 399.1C269.6 399.1 225.5 374.6 200.9 336.5C190.5 320.4 207.7 303.1 226.3 308.4C255.3 315.1 286.8 318.8 319.9 318.8C353 318.8 384.6 315.1 413.5 308.4C432.2 303.1 449.4 320.4 438.1 336.5C414.4 374.6 370.3 399.1 319.9 399.1zM281.6 228.8L281.4 228.5C281.2 228.3 281 228 280.7 227.6C280 226.8 279.1 225.7 277.9 224.3C275.4 221.4 271.9 217.7 267.7 213.1C258.9 206.2 248.8 200 239.1 200C231.2 200 221.1 206.2 212.3 213.1C208.1 217.7 204.6 221.4 202.1 224.3C200.9 225.7 199.1 226.8 199.3 227.6C198.1 228 198.8 228.3 198.6 228.5L198.4 228.8L198.4 228.8C196.3 231.6 192.7 232.7 189.5 231.6C186.2 230.5 183.1 227.4 183.1 224C183.1 206.1 190.7 188.4 200.6 175.2C210.4 162.2 224.5 152 239.1 152C255.5 152 269.6 162.2 279.4 175.2C289.3 188.4 295.1 206.1 295.1 224C295.1 227.4 293.8 230.5 290.5 231.6C287.3 232.7 283.7 231.6 281.6 228.8L281.6 228.8zM441.6 228.8L441.6 228.8L441.4 228.5C441.2 228.3 441 228 440.7 227.6C440 226.8 439.1 225.7 437.9 224.3C435.4 221.4 431.9 217.7 427.7 213.1C418.9 206.2 408.8 200 400 200C391.2 200 381.1 206.2 372.3 213.1C368.1 217.7 364.6 221.4 362.1 224.3C360.9 225.7 359.1 226.8 359.3 227.6C358.1 228 358.8 228.3 358.6 228.5L358.4 228.8L358.4 228.8C356.3 231.6 352.7 232.7 349.5 231.6C346.2 230.5 344 227.4 344 223.1C344 206.1 350.7 188.4 360.6 175.2C370.4 162.2 384.5 151.1 400 151.1C415.5 151.1 429.6 162.2 439.4 175.2C449.3 188.4 456 206.1 456 223.1C456 227.4 453.8 230.5 450.5 231.6C447.3 232.7 443.7 231.6 441.6 228.8V228.8z"]
  107326. };
  107327. var faGrinTears = faFaceGrinTears;
  107328. var faCalendarXmark = {
  107329. prefix: 'far',
  107330. iconName: 'calendar-xmark',
  107331. icon: [448, 512, ["calendar-times"], "f273", "M257.9 328L304.1 375C314.3 384.4 314.3 399.6 304.1 408.1C295.6 418.3 280.4 418.3 271 408.1L224 361.9L176.1 408.1C167.6 418.3 152.4 418.3 143 408.1C133.7 399.6 133.7 384.4 143 375L190.1 328L143 280.1C133.7 271.6 133.7 256.4 143 247C152.4 237.7 167.6 237.7 176.1 247L224 294.1L271 247C280.4 237.7 295.6 237.7 304.1 247C314.3 256.4 314.3 271.6 304.1 280.1L257.9 328zM128 0C141.3 0 152 10.75 152 24V64H296V24C296 10.75 306.7 0 320 0C333.3 0 344 10.75 344 24V64H384C419.3 64 448 92.65 448 128V448C448 483.3 419.3 512 384 512H64C28.65 512 0 483.3 0 448V128C0 92.65 28.65 64 64 64H104V24C104 10.75 114.7 0 128 0zM400 192H48V448C48 456.8 55.16 464 64 464H384C392.8 464 400 456.8 400 448V192z"]
  107332. };
  107333. var faCalendarTimes = faCalendarXmark;
  107334. var faFileVideo = {
  107335. prefix: 'far',
  107336. iconName: 'file-video',
  107337. icon: [384, 512, [], "f1c8", "M365.3 93.38l-74.63-74.64C278.6 6.742 262.3 0 245.4 0H64C28.65 0 0 28.65 0 64l.0065 384c0 35.34 28.65 64 64 64H320c35.2 0 64-28.8 64-64V138.6C384 121.7 377.3 105.4 365.3 93.38zM336 448c0 8.836-7.164 16-16 16H64.02c-8.838 0-16-7.164-16-16L48 64.13c0-8.836 7.164-16 16-16h160L224 128c0 17.67 14.33 32 32 32h79.1V448zM240 288c0-17.67-14.33-32-32-32h-96c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-16.52l43.84 30.2C292.3 403.5 304 397.6 304 387.4V284.6c0-10.16-11.64-16.16-20.16-10.32L240 304.5V288z"]
  107338. };
  107339. var faFilePdf = {
  107340. prefix: 'far',
  107341. iconName: 'file-pdf',
  107342. icon: [384, 512, [], "f1c1", "M320 464C328.8 464 336 456.8 336 448V416H384V448C384 483.3 355.3 512 320 512H64C28.65 512 0 483.3 0 448V416H48V448C48 456.8 55.16 464 64 464H320zM256 160C238.3 160 224 145.7 224 128V48H64C55.16 48 48 55.16 48 64V192H0V64C0 28.65 28.65 0 64 0H229.5C246.5 0 262.7 6.743 274.7 18.75L365.3 109.3C377.3 121.3 384 137.5 384 154.5V192H336V160H256zM88 224C118.9 224 144 249.1 144 280C144 310.9 118.9 336 88 336H80V368C80 376.8 72.84 384 64 384C55.16 384 48 376.8 48 368V240C48 231.2 55.16 224 64 224H88zM112 280C112 266.7 101.3 256 88 256H80V304H88C101.3 304 112 293.3 112 280zM160 240C160 231.2 167.2 224 176 224H200C226.5 224 248 245.5 248 272V336C248 362.5 226.5 384 200 384H176C167.2 384 160 376.8 160 368V240zM192 352H200C208.8 352 216 344.8 216 336V272C216 263.2 208.8 256 200 256H192V352zM336 224C344.8 224 352 231.2 352 240C352 248.8 344.8 256 336 256H304V288H336C344.8 288 352 295.2 352 304C352 312.8 344.8 320 336 320H304V368C304 376.8 296.8 384 288 384C279.2 384 272 376.8 272 368V240C272 231.2 279.2 224 288 224H336z"]
  107343. };
  107344. var faComment = {
  107345. prefix: 'far',
  107346. iconName: 'comment',
  107347. icon: [512, 512, [128489, 61669], "f075", "M256 32C114.6 32 .0272 125.1 .0272 240c0 47.63 19.91 91.25 52.91 126.2c-14.88 39.5-45.87 72.88-46.37 73.25c-6.625 7-8.375 17.25-4.625 26C5.818 474.2 14.38 480 24 480c61.5 0 109.1-25.75 139.1-46.25C191.1 442.8 223.3 448 256 448c141.4 0 255.1-93.13 255.1-208S397.4 32 256 32zM256.1 400c-26.75 0-53.12-4.125-78.38-12.12l-22.75-7.125l-19.5 13.75c-14.25 10.12-33.88 21.38-57.5 29c7.375-12.12 14.37-25.75 19.88-40.25l10.62-28l-20.62-21.87C69.82 314.1 48.07 282.2 48.07 240c0-88.25 93.25-160 208-160s208 71.75 208 160S370.8 400 256.1 400z"]
  107348. };
  107349. var faEnvelope = {
  107350. prefix: 'far',
  107351. iconName: 'envelope',
  107352. icon: [512, 512, [128386, 9993, 61443], "f0e0", "M0 128C0 92.65 28.65 64 64 64H448C483.3 64 512 92.65 512 128V384C512 419.3 483.3 448 448 448H64C28.65 448 0 419.3 0 384V128zM48 128V150.1L220.5 291.7C241.1 308.7 270.9 308.7 291.5 291.7L464 150.1V127.1C464 119.2 456.8 111.1 448 111.1H64C55.16 111.1 48 119.2 48 127.1L48 128zM48 212.2V384C48 392.8 55.16 400 64 400H448C456.8 400 464 392.8 464 384V212.2L322 328.8C283.6 360.3 228.4 360.3 189.1 328.8L48 212.2z"]
  107353. };
  107354. var faHourglass = {
  107355. prefix: 'far',
  107356. iconName: 'hourglass',
  107357. icon: [384, 512, [9203, 62032, "hourglass-empty"], "f254", "M360 0C373.3 0 384 10.75 384 24C384 37.25 373.3 48 360 48H352V66.98C352 107.3 335.1 145.1 307.5 174.5L225.9 256L307.5 337.5C335.1 366 352 404.7 352 445V464H360C373.3 464 384 474.7 384 488C384 501.3 373.3 512 360 512H24C10.75 512 0 501.3 0 488C0 474.7 10.75 464 24 464H32V445C32 404.7 48.01 366 76.52 337.5L158.1 256L76.52 174.5C48.01 145.1 32 107.3 32 66.98V48H24C10.75 48 0 37.25 0 24C0 10.75 10.75 0 24 0L360 0zM192 289.9L110.5 371.5C90.96 390.1 80 417.4 80 445V464H304V445C304 417.4 293 390.1 273.5 371.5L192 289.9zM192 222.1L273.5 140.5C293 121 304 94.56 304 66.98V47.1H80V66.98C80 94.56 90.96 121 110.5 140.5L192 222.1z"]
  107358. };
  107359. var faHourglassEmpty = faHourglass;
  107360. var faCalendarCheck = {
  107361. prefix: 'far',
  107362. iconName: 'calendar-check',
  107363. icon: [448, 512, [], "f274", "M216.1 408.1C207.6 418.3 192.4 418.3 183 408.1L119 344.1C109.7 335.6 109.7 320.4 119 311C128.4 301.7 143.6 301.7 152.1 311L200 358.1L295 263C304.4 253.7 319.6 253.7 328.1 263C338.3 272.4 338.3 287.6 328.1 296.1L216.1 408.1zM128 0C141.3 0 152 10.75 152 24V64H296V24C296 10.75 306.7 0 320 0C333.3 0 344 10.75 344 24V64H384C419.3 64 448 92.65 448 128V448C448 483.3 419.3 512 384 512H64C28.65 512 0 483.3 0 448V128C0 92.65 28.65 64 64 64H104V24C104 10.75 114.7 0 128 0zM400 192H48V448C48 456.8 55.16 464 64 464H384C392.8 464 400 456.8 400 448V192z"]
  107364. };
  107365. var faHardDrive = {
  107366. prefix: 'far',
  107367. iconName: 'hard-drive',
  107368. icon: [512, 512, [128436, "hdd"], "f0a0", "M304 344c-13.25 0-24 10.74-24 24c0 13.25 10.75 24 24 24c13.26 0 24-10.75 24-24C328 354.7 317.3 344 304 344zM448 32h-384c-35.35 0-64 28.65-64 64v320c0 35.35 28.65 64 64 64h384c35.35 0 64-28.65 64-64V96C512 60.65 483.3 32 448 32zM464 416c0 8.822-7.178 16-16 16H64c-8.822 0-16-7.178-16-16v-96c0-8.822 7.178-16 16-16h384C456.8 304 464 311.2 464 320V416zM464 258.3C458.9 256.9 453.6 256 448 256H64C58.44 256 53.14 256.9 48 258.3V96c0-8.822 7.178-16 16-16h384c8.822 0 16 7.178 16 16V258.3zM400 344c-13.25 0-24 10.74-24 24c0 13.25 10.75 24 24 24c13.26 0 24-10.75 24-24C424 354.7 413.3 344 400 344z"]
  107369. };
  107370. var faHdd = faHardDrive;
  107371. var faFaceGrinSquintTears = {
  107372. prefix: 'far',
  107373. iconName: 'face-grin-squint-tears',
  107374. icon: [512, 512, [129315, "grin-squint-tears"], "f586", "M426.8 14.18C446-5.046 477.5-4.646 497.1 14.92C516.6 34.49 517 65.95 497.8 85.18C483 99.97 432.2 108.8 409.6 111.9C403.1 112.8 399.2 108 400.1 102.4C403.3 79.94 412 28.97 426.8 14.18H426.8zM74.98 74.98C158.2-8.253 284.5-22.19 382.2 33.17C380.6 37.96 379.3 42.81 378.1 47.52C375 59.67 372.6 72.08 370.8 82.52C290.1 28.93 180.1 37.74 108.9 108.9C37.75 180.1 28.94 290 82.49 370.8C72.01 372.6 59.6 374.1 47.46 378.1C42.76 379.3 37.93 380.6 33.15 382.1C-22.19 284.5-8.245 158.2 74.98 74.98V74.98zM478.8 129.9C534.2 227.5 520.2 353.8 437 437C353.8 520.3 227.5 534.2 129.8 478.8C131.3 474 132.7 469.2 133.9 464.5C136.1 452.3 139.4 439.9 141.2 429.5C221.9 483.1 331.9 474.3 403.1 403.1C474.3 331.9 483.1 221.1 429.5 141.2C439.1 139.4 452.4 137 464.5 133.9C469.2 132.7 474.1 131.4 478.8 129.9L478.8 129.9zM359.2 226.9C369.3 210.6 393 210 397 228.8C406.6 273.1 393.4 322.3 357.8 357.9C322.2 393.5 273 406.7 228.6 397.1C209.9 393.1 210.5 369.4 226.8 359.3C252 343.6 276.1 323.9 300.4 300.5C323.8 277.1 343.5 252.1 359.2 226.9L359.2 226.9zM189.5 235.7C201.1 232.1 211.1 242.1 208.5 254.6L178.8 352.1C176.2 360.7 165.4 363.4 159 357C157.1 355 155.8 352.5 155.6 349.7L150.5 293.6L94.43 288.5C91.66 288.3 89.07 287.1 87.1 285.1C80.76 278.7 83.46 267.9 92.05 265.3L189.5 235.7zM288.5 94.43L293.6 150.5L349.7 155.6C352.5 155.8 355 157.1 357 159C363.4 165.4 360.7 176.2 352.1 178.8L254.6 208.5C242.1 211.1 232.1 201.1 235.7 189.5L265.3 92.05C267.9 83.46 278.7 80.76 285.1 87.1C287.1 89.07 288.3 91.66 288.5 94.43V94.43zM14.18 426.8C28.97 412 79.85 403.2 102.4 400.1C108 399.2 112.8 403.1 111.9 409.6C108.7 432.1 99.97 483 85.18 497.8C65.95 517 34.5 516.6 14.93 497.1C-4.645 477.5-5.046 446 14.18 426.8H14.18z"]
  107375. };
  107376. var faGrinSquintTears = faFaceGrinSquintTears;
  107377. var faRectangleList = {
  107378. prefix: 'far',
  107379. iconName: 'rectangle-list',
  107380. icon: [576, 512, ["list-alt"], "f022", "M128 192C110.3 192 96 177.7 96 160C96 142.3 110.3 128 128 128C145.7 128 160 142.3 160 160C160 177.7 145.7 192 128 192zM200 160C200 146.7 210.7 136 224 136H448C461.3 136 472 146.7 472 160C472 173.3 461.3 184 448 184H224C210.7 184 200 173.3 200 160zM200 256C200 242.7 210.7 232 224 232H448C461.3 232 472 242.7 472 256C472 269.3 461.3 280 448 280H224C210.7 280 200 269.3 200 256zM200 352C200 338.7 210.7 328 224 328H448C461.3 328 472 338.7 472 352C472 365.3 461.3 376 448 376H224C210.7 376 200 365.3 200 352zM128 224C145.7 224 160 238.3 160 256C160 273.7 145.7 288 128 288C110.3 288 96 273.7 96 256C96 238.3 110.3 224 128 224zM128 384C110.3 384 96 369.7 96 352C96 334.3 110.3 320 128 320C145.7 320 160 334.3 160 352C160 369.7 145.7 384 128 384zM0 96C0 60.65 28.65 32 64 32H512C547.3 32 576 60.65 576 96V416C576 451.3 547.3 480 512 480H64C28.65 480 0 451.3 0 416V96zM48 96V416C48 424.8 55.16 432 64 432H512C520.8 432 528 424.8 528 416V96C528 87.16 520.8 80 512 80H64C55.16 80 48 87.16 48 96z"]
  107381. };
  107382. var faListAlt = faRectangleList;
  107383. var faCalendarPlus = {
  107384. prefix: 'far',
  107385. iconName: 'calendar-plus',
  107386. icon: [448, 512, [], "f271", "M224 232C237.3 232 248 242.7 248 256V304H296C309.3 304 320 314.7 320 328C320 341.3 309.3 352 296 352H248V400C248 413.3 237.3 424 224 424C210.7 424 200 413.3 200 400V352H152C138.7 352 128 341.3 128 328C128 314.7 138.7 304 152 304H200V256C200 242.7 210.7 232 224 232zM152 64H296V24C296 10.75 306.7 0 320 0C333.3 0 344 10.75 344 24V64H384C419.3 64 448 92.65 448 128V448C448 483.3 419.3 512 384 512H64C28.65 512 0 483.3 0 448V128C0 92.65 28.65 64 64 64H104V24C104 10.75 114.7 0 128 0C141.3 0 152 10.75 152 24V64zM48 448C48 456.8 55.16 464 64 464H384C392.8 464 400 456.8 400 448V192H48V448z"]
  107387. };
  107388. var faCircleLeft = {
  107389. prefix: 'far',
  107390. iconName: 'circle-left',
  107391. icon: [512, 512, [61840, "arrow-alt-circle-left"], "f359", "M360 224L272 224v-56c0-9.531-5.656-18.16-14.38-22C248.9 142.2 238.7 143.9 231.7 150.4l-96 88.75C130.8 243.7 128 250.1 128 256.8c.3125 7.781 2.875 13.25 7.844 17.75l96 87.25c7.031 6.406 17.19 8.031 25.88 4.188s14.28-12.44 14.28-21.94l-.002-56L360 288C373.3 288 384 277.3 384 264v-16C384 234.8 373.3 224 360 224zM256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 464c-114.7 0-208-93.31-208-208S141.3 48 256 48s208 93.31 208 208S370.7 464 256 464z"]
  107392. };
  107393. var faArrowAltCircleLeft = faCircleLeft;
  107394. var faMoneyBill1 = {
  107395. prefix: 'far',
  107396. iconName: 'money-bill-1',
  107397. icon: [576, 512, ["money-bill-alt"], "f3d1", "M400 256C400 317.9 349.9 368 288 368C226.1 368 176 317.9 176 256C176 194.1 226.1 144 288 144C349.9 144 400 194.1 400 256zM272 224V288H264C255.2 288 248 295.2 248 304C248 312.8 255.2 320 264 320H312C320.8 320 328 312.8 328 304C328 295.2 320.8 288 312 288H304V208C304 199.2 296.8 192 288 192H272C263.2 192 256 199.2 256 208C256 216.8 263.2 224 272 224zM0 128C0 92.65 28.65 64 64 64H512C547.3 64 576 92.65 576 128V384C576 419.3 547.3 448 512 448H64C28.65 448 0 419.3 0 384V128zM48 176V336C83.35 336 112 364.7 112 400H464C464 364.7 492.7 336 528 336V176C492.7 176 464 147.3 464 112H112C112 147.3 83.35 176 48 176z"]
  107398. };
  107399. var faMoneyBillAlt = faMoneyBill1;
  107400. var faClock = {
  107401. prefix: 'far',
  107402. iconName: 'clock',
  107403. icon: [512, 512, [128339, "clock-four"], "f017", "M232 120C232 106.7 242.7 96 256 96C269.3 96 280 106.7 280 120V243.2L365.3 300C376.3 307.4 379.3 322.3 371.1 333.3C364.6 344.3 349.7 347.3 338.7 339.1L242.7 275.1C236 271.5 232 264 232 255.1L232 120zM256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0zM48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48C141.1 48 48 141.1 48 256z"]
  107404. };
  107405. var faClockFour = faClock;
  107406. var faKeyboard = {
  107407. prefix: 'far',
  107408. iconName: 'keyboard',
  107409. icon: [576, 512, [9000], "f11c", "M512 64H64C28.65 64 0 92.65 0 128v256c0 35.35 28.65 64 64 64h448c35.35 0 64-28.65 64-64V128C576 92.65 547.3 64 512 64zM528 384c0 8.822-7.178 16-16 16H64c-8.822 0-16-7.178-16-16V128c0-8.822 7.178-16 16-16h448c8.822 0 16 7.178 16 16V384zM140 152h-24c-6.656 0-12 5.344-12 12v24c0 6.656 5.344 12 12 12h24c6.656 0 12-5.344 12-12v-24C152 157.3 146.7 152 140 152zM196 200h24c6.656 0 12-5.344 12-12v-24c0-6.656-5.344-12-12-12h-24c-6.656 0-12 5.344-12 12v24C184 194.7 189.3 200 196 200zM276 200h24c6.656 0 12-5.344 12-12v-24c0-6.656-5.344-12-12-12h-24c-6.656 0-12 5.344-12 12v24C264 194.7 269.3 200 276 200zM356 200h24c6.656 0 12-5.344 12-12v-24c0-6.656-5.344-12-12-12h-24c-6.656 0-12 5.344-12 12v24C344 194.7 349.3 200 356 200zM460 152h-24c-6.656 0-12 5.344-12 12v24c0 6.656 5.344 12 12 12h24c6.656 0 12-5.344 12-12v-24C472 157.3 466.7 152 460 152zM140 232h-24c-6.656 0-12 5.344-12 12v24c0 6.656 5.344 12 12 12h24c6.656 0 12-5.344 12-12v-24C152 237.3 146.7 232 140 232zM196 280h24c6.656 0 12-5.344 12-12v-24c0-6.656-5.344-12-12-12h-24c-6.656 0-12 5.344-12 12v24C184 274.7 189.3 280 196 280zM276 280h24c6.656 0 12-5.344 12-12v-24c0-6.656-5.344-12-12-12h-24c-6.656 0-12 5.344-12 12v24C264 274.7 269.3 280 276 280zM356 280h24c6.656 0 12-5.344 12-12v-24c0-6.656-5.344-12-12-12h-24c-6.656 0-12 5.344-12 12v24C344 274.7 349.3 280 356 280zM460 232h-24c-6.656 0-12 5.344-12 12v24c0 6.656 5.344 12 12 12h24c6.656 0 12-5.344 12-12v-24C472 237.3 466.7 232 460 232zM400 320h-224C167.1 320 160 327.1 160 336V352c0 8.875 7.125 16 16 16h224c8.875 0 16-7.125 16-16v-16C416 327.1 408.9 320 400 320z"]
  107410. };
  107411. var faClosedCaptioning = {
  107412. prefix: 'far',
  107413. iconName: 'closed-captioning',
  107414. icon: [576, 512, [], "f20a", "M512 32H64C28.65 32 0 60.65 0 96v320c0 35.35 28.65 64 64 64h448c35.35 0 64-28.65 64-64V96C576 60.65 547.3 32 512 32zM528 416c0 8.822-7.178 16-16 16H64c-8.822 0-16-7.178-16-16V96c0-8.822 7.178-16 16-16h448c8.822 0 16 7.178 16 16V416zM236.5 222.1c9.375 9.375 24.56 9.375 33.94 0c9.375-9.375 9.375-24.56 0-33.94c-37.44-37.44-98.31-37.44-135.7 0C116.5 206.2 106.5 230.4 106.5 256s9.1 49.75 28.12 67.88c18.72 18.72 43.28 28.08 67.87 28.08s49.16-9.359 67.87-28.08c9.375-9.375 9.375-24.56 0-33.94c-9.375-9.375-24.56-9.375-33.94 0c-18.69 18.72-49.19 18.72-67.87 0C159.5 280.9 154.5 268.8 154.5 256s5-24.88 14.06-33.94C187.3 203.3 217.8 203.3 236.5 222.1zM428.5 222.1c9.375 9.375 24.56 9.375 33.94 0c9.375-9.375 9.375-24.56 0-33.94c-37.44-37.44-98.31-37.44-135.7 0C308.5 206.2 298.5 230.4 298.5 256s9.1 49.75 28.12 67.88c18.72 18.72 43.28 28.08 67.87 28.08s49.16-9.359 67.87-28.08c9.375-9.375 9.375-24.56 0-33.94c-9.375-9.375-24.56-9.375-33.94 0c-18.69 18.72-49.19 18.72-67.87 0C351.5 280.9 346.5 268.8 346.5 256s5-24.88 14.06-33.94C379.3 203.3 409.8 203.3 428.5 222.1z"]
  107415. };
  107416. var faImages = {
  107417. prefix: 'far',
  107418. iconName: 'images',
  107419. icon: [576, 512, [], "f302", "M512 32H160c-35.35 0-64 28.65-64 64v224c0 35.35 28.65 64 64 64H512c35.35 0 64-28.65 64-64V96C576 60.65 547.3 32 512 32zM528 320c0 8.822-7.178 16-16 16h-16l-109.3-160.9C383.7 170.7 378.7 168 373.3 168c-5.352 0-10.35 2.672-13.31 7.125l-62.74 94.11L274.9 238.6C271.9 234.4 267.1 232 262 232c-5.109 0-9.914 2.441-12.93 6.574L176 336H160c-8.822 0-16-7.178-16-16V96c0-8.822 7.178-16 16-16H512c8.822 0 16 7.178 16 16V320zM224 112c-17.67 0-32 14.33-32 32s14.33 32 32 32c17.68 0 32-14.33 32-32S241.7 112 224 112zM456 480H120C53.83 480 0 426.2 0 360v-240C0 106.8 10.75 96 24 96S48 106.8 48 120v240c0 39.7 32.3 72 72 72h336c13.25 0 24 10.75 24 24S469.3 480 456 480z"]
  107420. };
  107421. var faFaceGrin = {
  107422. prefix: 'far',
  107423. iconName: 'face-grin',
  107424. icon: [512, 512, [128512, "grin"], "f580", "M349.5 308.4C368.2 303.1 385.4 320.4 374.1 336.5C350.4 374.6 306.3 399.1 255.9 399.1C205.6 399.1 161.5 374.6 136.9 336.5C126.5 320.4 143.7 303.1 162.3 308.4C191.3 315.1 222.8 318.8 255.9 318.8C289 318.8 320.6 315.1 349.5 308.4zM208.4 208C208.4 225.7 194 240 176.4 240C158.7 240 144.4 225.7 144.4 208C144.4 190.3 158.7 176 176.4 176C194 176 208.4 190.3 208.4 208zM304.4 208C304.4 190.3 318.7 176 336.4 176C354 176 368.4 190.3 368.4 208C368.4 225.7 354 240 336.4 240C318.7 240 304.4 225.7 304.4 208zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"]
  107425. };
  107426. var faGrin = faFaceGrin;
  107427. var faFaceMeh = {
  107428. prefix: 'far',
  107429. iconName: 'face-meh',
  107430. icon: [512, 512, [128528, "meh"], "f11a", "M144.4 208C144.4 190.3 158.7 176 176.4 176C194 176 208.4 190.3 208.4 208C208.4 225.7 194 240 176.4 240C158.7 240 144.4 225.7 144.4 208zM368.4 208C368.4 225.7 354 240 336.4 240C318.7 240 304.4 225.7 304.4 208C304.4 190.3 318.7 176 336.4 176C354 176 368.4 190.3 368.4 208zM328 328C341.3 328 352 338.7 352 352C352 365.3 341.3 376 328 376H184C170.7 376 160 365.3 160 352C160 338.7 170.7 328 184 328H328zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464z"]
  107431. };
  107432. var faMeh = faFaceMeh;
  107433. var faIdCard = {
  107434. prefix: 'far',
  107435. iconName: 'id-card',
  107436. icon: [576, 512, [62147, "drivers-license"], "f2c2", "M368 344h96c13.25 0 24-10.75 24-24s-10.75-24-24-24h-96c-13.25 0-24 10.75-24 24S354.8 344 368 344zM208 320c35.35 0 64-28.65 64-64c0-35.35-28.65-64-64-64s-64 28.65-64 64C144 291.3 172.7 320 208 320zM512 32H64C28.65 32 0 60.65 0 96v320c0 35.35 28.65 64 64 64h448c35.35 0 64-28.65 64-64V96C576 60.65 547.3 32 512 32zM528 416c0 8.822-7.178 16-16 16h-192c0-44.18-35.82-80-80-80h-64C131.8 352 96 387.8 96 432H64c-8.822 0-16-7.178-16-16V160h480V416zM368 264h96c13.25 0 24-10.75 24-24s-10.75-24-24-24h-96c-13.25 0-24 10.75-24 24S354.8 264 368 264z"]
  107437. };
  107438. var faDriversLicense = faIdCard;
  107439. var faSun = {
  107440. prefix: 'far',
  107441. iconName: 'sun',
  107442. icon: [512, 512, [9728], "f185", "M505.2 324.8l-47.73-68.78l47.75-68.81c7.359-10.62 8.797-24.12 3.844-36.06c-4.969-11.94-15.52-20.44-28.22-22.72l-82.39-14.88l-14.89-82.41c-2.281-12.72-10.76-23.25-22.69-28.22c-11.97-4.936-25.42-3.498-36.12 3.844L256 54.49L187.2 6.709C176.5-.6016 163.1-2.039 151.1 2.896c-11.92 4.971-20.4 15.5-22.7 28.19l-14.89 82.44L31.15 128.4C18.42 130.7 7.854 139.2 2.9 151.2C-2.051 163.1-.5996 176.6 6.775 187.2l47.73 68.78l-47.75 68.81c-7.359 10.62-8.795 24.12-3.844 36.06c4.969 11.94 15.52 20.44 28.22 22.72l82.39 14.88l14.89 82.41c2.297 12.72 10.78 23.25 22.7 28.22c11.95 4.906 25.44 3.531 36.09-3.844L256 457.5l68.83 47.78C331.3 509.7 338.8 512 346.3 512c4.906 0 9.859-.9687 14.56-2.906c11.92-4.969 20.4-15.5 22.7-28.19l14.89-82.44l82.37-14.88c12.73-2.281 23.3-10.78 28.25-22.75C514.1 348.9 512.6 335.4 505.2 324.8zM456.8 339.2l-99.61 18l-18 99.63L256 399.1L172.8 456.8l-18-99.63l-99.61-18L112.9 255.1L55.23 172.8l99.61-18l18-99.63L256 112.9l83.15-57.75l18.02 99.66l99.61 18L399.1 255.1L456.8 339.2zM256 143.1c-61.85 0-111.1 50.14-111.1 111.1c0 61.85 50.15 111.1 111.1 111.1s111.1-50.14 111.1-111.1C367.1 194.1 317.8 143.1 256 143.1zM256 319.1c-35.28 0-63.99-28.71-63.99-63.99S220.7 192 256 192s63.99 28.71 63.99 63.1S291.3 319.1 256 319.1z"]
  107443. };
  107444. var faFaceLaughWink = {
  107445. prefix: 'far',
  107446. iconName: 'face-laugh-wink',
  107447. icon: [512, 512, ["laugh-wink"], "f59c", "M130.7 313.9C126.5 300.4 137.8 288 151.1 288H364.5C378.7 288 389.9 300.4 385.8 313.9C368.1 368.4 318.2 408 258.2 408C198.2 408 147.5 368.4 130.7 313.9V313.9zM208.4 192C208.4 209.7 194 224 176.4 224C158.7 224 144.4 209.7 144.4 192C144.4 174.3 158.7 160 176.4 160C194 160 208.4 174.3 208.4 192zM281.9 214.6C273.9 207 273.5 194.4 281 186.3C295.6 170.8 316.3 164 335.6 164C354.1 164 375.7 170.8 390.2 186.3C397.8 194.4 397.4 207 389.3 214.6C381.2 222.1 368.6 221.7 361 213.7C355.6 207.8 346.3 204 335.6 204C324.1 204 315.7 207.8 310.2 213.7C302.7 221.7 290 222.1 281.9 214.6zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"]
  107448. };
  107449. var faLaughWink = faFaceLaughWink;
  107450. var faCircleDown = {
  107451. prefix: 'far',
  107452. iconName: 'circle-down',
  107453. icon: [512, 512, [61466, "arrow-alt-circle-down"], "f358", "M344 240h-56L287.1 152c0-13.25-10.75-24-24-24h-16C234.7 128 223.1 138.8 223.1 152L224 240h-56c-9.531 0-18.16 5.656-22 14.38C142.2 263.1 143.9 273.3 150.4 280.3l88.75 96C243.7 381.2 250.1 384 256.8 384c7.781-.3125 13.25-2.875 17.75-7.844l87.25-96c6.406-7.031 8.031-17.19 4.188-25.88S353.5 240 344 240zM256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 464c-114.7 0-208-93.31-208-208S141.3 48 256 48s208 93.31 208 208S370.7 464 256 464z"]
  107454. };
  107455. var faArrowAltCircleDown = faCircleDown;
  107456. var faThumbsDown = {
  107457. prefix: 'far',
  107458. iconName: 'thumbs-down',
  107459. icon: [512, 512, [128078, 61576], "f165", "M128 288V64.03c0-17.67-14.33-31.1-32-31.1H32c-17.67 0-32 14.33-32 31.1v223.1c0 17.67 14.33 31.1 32 31.1h64C113.7 320 128 305.7 128 288zM481.5 229.1c1.234-5.092 1.875-10.32 1.875-15.64c0-22.7-11.44-43.13-29.28-55.28c.4219-3.015 .6406-6.076 .6406-9.122c0-22.32-11.06-42.6-28.83-54.83c-2.438-34.71-31.47-62.2-66.8-62.2h-52.53c-35.94 0-71.55 11.87-100.3 33.41L169.6 92.93c-6.285 4.71-9.596 11.85-9.596 19.13c0 12.76 10.29 24.04 24.03 24.04c5.013 0 10.07-1.565 14.38-4.811l36.66-27.51c20.48-15.34 45.88-23.81 71.5-23.81h52.53c10.45 0 18.97 8.497 18.97 18.95c0 3.5-1.11 4.94-1.11 9.456c0 26.97 29.77 17.91 29.77 40.64c0 9.254-6.392 10.96-6.392 22.25c0 13.97 10.85 21.95 19.58 23.59c8.953 1.671 15.45 9.481 15.45 18.56c0 13.04-11.39 13.37-11.39 28.91c0 12.54 9.702 23.08 22.36 23.94C456.2 266.1 464 275.2 464 284.1c0 10.43-8.516 18.93-18.97 18.93H307.4c-12.44 0-24 10.02-24 23.1c0 4.038 1.02 8.078 3.066 11.72C304.4 371.7 312 403.8 312 411.2c0 8.044-5.984 20.79-22.06 20.79c-12.53 0-14.27-.9059-24.94-28.07c-24.75-62.91-61.74-99.9-80.98-99.9c-13.8 0-24.02 11.27-24.02 23.99c0 7.041 3.083 14.02 9.016 18.76C238.1 402 211.4 480 289.9 480C333.8 480 360 445 360 411.2c0-12.7-5.328-35.21-14.83-59.33h99.86C481.1 351.9 512 321.9 512 284.1C512 261.8 499.9 241 481.5 229.1z"]
  107460. };
  107461. var faChessPawn = {
  107462. prefix: 'far',
  107463. iconName: 'chess-pawn',
  107464. icon: [320, 512, [9823], "f443", "M296 463.1H23.1c-13.25 0-23.1 10.75-23.1 24s10.75 24 23.1 24h272c13.25 0 23.1-10.75 23.1-23.1S309.3 463.1 296 463.1zM55.1 287.1L80 287.1v29.5c0 40.25-3.5 81.25-23.38 114.5h53.5C125.1 394.1 128 354.6 128 317.5v-29.5h64v29.5c0 37.13 2.875 77.5 17.88 114.5h53.5C243.5 398.7 240 357.7 240 317.5V287.1l24-.0001C277.3 287.1 288 277.3 288 263.1c0-13.25-10.75-24-23.1-24H241c23.75-21.88 38.1-53.12 38.1-87.1c0-9.393-1.106-19.05-3.451-28.86C272.3 105.4 244.9 32 159.1 32C93.75 32 40 85.75 40 151.1c0 34.88 15.12 66.12 39 88H55.1C42.75 239.1 32 250.7 32 263.1C32 277.3 42.75 287.1 55.1 287.1zM160 79.1c39.75 0 72 32.25 72 72S199.8 223.1 160 223.1S88 191.7 88 151.1S120.2 79.1 160 79.1z"]
  107465. };
  107466. var faCreditCard = {
  107467. prefix: 'far',
  107468. iconName: 'credit-card',
  107469. icon: [576, 512, [128179, 62083, "credit-card-alt"], "f09d", "M168 336C181.3 336 192 346.7 192 360C192 373.3 181.3 384 168 384H120C106.7 384 96 373.3 96 360C96 346.7 106.7 336 120 336H168zM360 336C373.3 336 384 346.7 384 360C384 373.3 373.3 384 360 384H248C234.7 384 224 373.3 224 360C224 346.7 234.7 336 248 336H360zM512 32C547.3 32 576 60.65 576 96V416C576 451.3 547.3 480 512 480H64C28.65 480 0 451.3 0 416V96C0 60.65 28.65 32 64 32H512zM512 80H64C55.16 80 48 87.16 48 96V128H528V96C528 87.16 520.8 80 512 80zM528 224H48V416C48 424.8 55.16 432 64 432H512C520.8 432 528 424.8 528 416V224z"]
  107470. };
  107471. var faCreditCardAlt = faCreditCard;
  107472. var faBell = {
  107473. prefix: 'far',
  107474. iconName: 'bell',
  107475. icon: [448, 512, [128276, 61602], "f0f3", "M256 32V49.88C328.5 61.39 384 124.2 384 200V233.4C384 278.8 399.5 322.9 427.8 358.4L442.7 377C448.5 384.2 449.6 394.1 445.6 402.4C441.6 410.7 433.2 416 424 416H24C14.77 416 6.365 410.7 2.369 402.4C-1.628 394.1-.504 384.2 5.26 377L20.17 358.4C48.54 322.9 64 278.8 64 233.4V200C64 124.2 119.5 61.39 192 49.88V32C192 14.33 206.3 0 224 0C241.7 0 256 14.33 256 32V32zM216 96C158.6 96 112 142.6 112 200V233.4C112 281.3 98.12 328 72.31 368H375.7C349.9 328 336 281.3 336 233.4V200C336 142.6 289.4 96 232 96H216zM288 448C288 464.1 281.3 481.3 269.3 493.3C257.3 505.3 240.1 512 224 512C207 512 190.7 505.3 178.7 493.3C166.7 481.3 160 464.1 160 448H288z"]
  107476. };
  107477. var faFile = {
  107478. prefix: 'far',
  107479. iconName: 'file',
  107480. icon: [384, 512, [128196, 128459, 61462], "f15b", "M0 64C0 28.65 28.65 0 64 0H229.5C246.5 0 262.7 6.743 274.7 18.75L365.3 109.3C377.3 121.3 384 137.5 384 154.5V448C384 483.3 355.3 512 320 512H64C28.65 512 0 483.3 0 448V64zM336 448V160H256C238.3 160 224 145.7 224 128V48H64C55.16 48 48 55.16 48 64V448C48 456.8 55.16 464 64 464H320C328.8 464 336 456.8 336 448z"]
  107481. };
  107482. var faHospital = {
  107483. prefix: 'far',
  107484. iconName: 'hospital',
  107485. icon: [640, 512, [127973, 62589, "hospital-alt", "hospital-wide"], "f0f8", "M296 96C296 87.16 303.2 80 312 80H328C336.8 80 344 87.16 344 96V120H368C376.8 120 384 127.2 384 136V152C384 160.8 376.8 168 368 168H344V192C344 200.8 336.8 208 328 208H312C303.2 208 296 200.8 296 192V168H272C263.2 168 256 160.8 256 152V136C256 127.2 263.2 120 272 120H296V96zM408 0C447.8 0 480 32.24 480 72V80H568C607.8 80 640 112.2 640 152V440C640 479.8 607.8 512 568 512H71.98C32.19 512 0 479.8 0 440V152C0 112.2 32.24 80 72 80H160V72C160 32.24 192.2 0 232 0L408 0zM480 128V464H568C581.3 464 592 453.3 592 440V336H536C522.7 336 512 325.3 512 312C512 298.7 522.7 288 536 288H592V240H536C522.7 240 512 229.3 512 216C512 202.7 522.7 192 536 192H592V152C592 138.7 581.3 128 568 128H480zM48 152V192H104C117.3 192 128 202.7 128 216C128 229.3 117.3 240 104 240H48V288H104C117.3 288 128 298.7 128 312C128 325.3 117.3 336 104 336H48V440C48 453.3 58.74 464 71.98 464H160V128H72C58.75 128 48 138.7 48 152V152zM208 464H272V400C272 373.5 293.5 352 320 352C346.5 352 368 373.5 368 400V464H432V72C432 58.75 421.3 48 408 48H232C218.7 48 208 58.75 208 72V464z"]
  107486. };
  107487. var faHospitalAlt = faHospital;
  107488. var faHospitalWide = faHospital;
  107489. var faChessRook = {
  107490. prefix: 'far',
  107491. iconName: 'chess-rook',
  107492. icon: [384, 512, [9820], "f447", "M360 464H23.1C10.75 464 0 474.7 0 487.1S10.75 512 23.1 512H360C373.3 512 384 501.3 384 488S373.3 464 360 464zM345.1 32h-308C17 32 0 49 0 70v139.4C0 218.8 4 227.5 11 233.6L48 265.8c0 8.885 .0504 17.64 .0504 26.46c0 39.32-1.001 79.96-11.93 139.8h49C94.95 374.3 96.11 333.3 96.11 285.5C96.11 270.7 96 255.1 96 238.2L48 196.5V80h64V128H160V80h64V128h48V80h64v116.5L288 238.2c0 16.77-.1124 32.25-.1124 47.1c0 47.79 1.164 89.15 10.99 146.7h49c-10.92-59.83-11.93-100.6-11.93-139.9C335.9 283.3 336 274.6 336 265.8l37-32.13C380 227.5 384 218.8 384 209.4V70C384 49 367 32 345.1 32zM192 224C174.4 224 160 238.4 160 256v64h64V256C224 238.4 209.6 224 192 224z"]
  107493. };
  107494. var faStarHalf = {
  107495. prefix: 'far',
  107496. iconName: 'star-half',
  107497. icon: [576, 512, [61731], "f089", "M293.3 .6123C304.2 3.118 311.9 12.82 311.9 24V408.7C311.9 417.5 307.1 425.7 299.2 429.8L150.1 509.1C142.9 513.4 133.1 512.7 125.6 507.4C118.2 502.1 114.5 492.1 115.1 483.9L142.2 328.4L31.11 218.3C24.65 211.9 22.36 202.4 25.2 193.7C28.03 185.1 35.5 178.8 44.49 177.5L197.7 154.8L266.3 13.52C271.2 3.46 282.4-1.893 293.3 .6127L293.3 .6123zM263.9 128.4L235.4 187.2C231.9 194.3 225.1 199.3 217.3 200.5L98.98 217.9L184.9 303C190.4 308.5 192.9 316.4 191.6 324.1L171.4 443.7L263.9 394.3L263.9 128.4z"]
  107498. };
  107499. var faChessKing = {
  107500. prefix: 'far',
  107501. iconName: 'chess-king',
  107502. icon: [448, 512, [9818], "f43f", "M391.9 464H55.95c-13.25 0-23.1 10.75-23.1 23.1S42.7 512 55.95 512h335.1c13.25 0 23.1-10.75 23.1-23.1S405.2 464 391.9 464zM448 216c0-11.82-3.783-23.51-11.08-33.17c-10.3-14.39-27-22.88-44.73-22.88L247.9 160V104h31.1c13.2 0 24.06-10.8 24.06-24S293.1 56 279.9 56h-31.1V23.1C247.9 10.8 237.2 0 223.1 0S199.9 10.8 199.9 23.1V56H167.9c-13.2 0-23.97 10.8-23.97 24S154.7 104 167.9 104h31.1V160H55.95C24.72 160 0 185.3 0 215.9C0 221.6 .8893 227.4 2.704 233L68.45 432h50.5L48.33 218.4C48.09 217.6 47.98 216.9 47.98 216.1C47.98 212.3 50.93 208 55.95 208h335.9c6.076 0 8.115 5.494 8.115 8.113c0 .6341-.078 1.269-.2405 1.887L328.8 432h50.62l65.1-199.2C447.2 227.3 448 221.7 448 216z"]
  107503. };
  107504. var faCircleUser = {
  107505. prefix: 'far',
  107506. iconName: 'circle-user',
  107507. icon: [512, 512, [62142, "user-circle"], "f2bd", "M256 112c-48.6 0-88 39.4-88 88C168 248.6 207.4 288 256 288s88-39.4 88-88C344 151.4 304.6 112 256 112zM256 240c-22.06 0-40-17.95-40-40C216 177.9 233.9 160 256 160s40 17.94 40 40C296 222.1 278.1 240 256 240zM256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 464c-46.73 0-89.76-15.68-124.5-41.79C148.8 389 182.4 368 220.2 368h71.69c37.75 0 71.31 21.01 88.68 54.21C345.8 448.3 302.7 464 256 464zM416.2 388.5C389.2 346.3 343.2 320 291.8 320H220.2c-51.36 0-97.35 26.25-124.4 68.48C65.96 352.5 48 306.3 48 256c0-114.7 93.31-208 208-208s208 93.31 208 208C464 306.3 446 352.5 416.2 388.5z"]
  107508. };
  107509. var faUserCircle = faCircleUser;
  107510. var faCopy = {
  107511. prefix: 'far',
  107512. iconName: 'copy',
  107513. icon: [512, 512, [], "f0c5", "M502.6 70.63l-61.25-61.25C435.4 3.371 427.2 0 418.7 0H255.1c-35.35 0-64 28.66-64 64l.0195 256C192 355.4 220.7 384 256 384h192c35.2 0 64-28.8 64-64V93.25C512 84.77 508.6 76.63 502.6 70.63zM464 320c0 8.836-7.164 16-16 16H255.1c-8.838 0-16-7.164-16-16L239.1 64.13c0-8.836 7.164-16 16-16h128L384 96c0 17.67 14.33 32 32 32h47.1V320zM272 448c0 8.836-7.164 16-16 16H63.1c-8.838 0-16-7.164-16-16L47.98 192.1c0-8.836 7.164-16 16-16H160V128H63.99c-35.35 0-64 28.65-64 64l.0098 256C.002 483.3 28.66 512 64 512h192c35.2 0 64-28.8 64-64v-32h-47.1L272 448z"]
  107514. };
  107515. var faShareFromSquare = {
  107516. prefix: 'far',
  107517. iconName: 'share-from-square',
  107518. icon: [576, 512, [61509, "share-square"], "f14d", "M568.5 142.6l-144-135.1c-9.625-9.156-24.81-8.656-33.91 .9687c-9.125 9.625-8.688 24.81 .9687 33.91l100.1 94.56h-163.4C287.5 134.2 249.7 151 221 179.4C192 208.2 176 246.7 176 288v87.1c0 13.25 10.75 23.1 24 23.1S224 389.3 224 376V288c0-28.37 10.94-54.84 30.78-74.5C274.3 194.2 298.9 183 328 184h163.6l-100.1 94.56c-9.656 9.094-10.09 24.28-.9687 33.91c4.719 4.1 11.06 7.531 17.44 7.531c5.906 0 11.84-2.156 16.47-6.562l144-135.1C573.3 172.9 576 166.6 576 160S573.3 147.1 568.5 142.6zM360 384c-13.25 0-24 10.75-24 23.1v47.1c0 4.406-3.594 7.1-8 7.1h-272c-4.406 0-8-3.594-8-7.1V184c0-4.406 3.594-7.1 8-7.1H112c13.25 0 24-10.75 24-23.1s-10.75-23.1-24-23.1H56c-30.88 0-56 25.12-56 55.1v271.1C0 486.9 25.13 512 56 512h272c30.88 0 56-25.12 56-55.1v-47.1C384 394.8 373.3 384 360 384z"]
  107519. };
  107520. var faShareSquare = faShareFromSquare;
  107521. var faCopyright = {
  107522. prefix: 'far',
  107523. iconName: 'copyright',
  107524. icon: [512, 512, [169], "f1f9", "M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 464c-114.7 0-208-93.31-208-208S141.3 48 256 48s208 93.31 208 208S370.7 464 256 464zM255.1 176C255.1 176 255.1 176 255.1 176c21.06 0 40.92 8.312 55.83 23.38c9.375 9.344 24.53 9.5 33.97 .1562c9.406-9.344 9.469-24.53 .1562-33.97c-24-24.22-55.95-37.56-89.95-37.56c0 0 .0313 0 0 0c-33.97 0-65.95 13.34-89.95 37.56c-49.44 49.88-49.44 131 0 180.9c24 24.22 55.98 37.56 89.95 37.56c.0313 0 0 0 0 0c34 0 65.95-13.34 89.95-37.56c9.312-9.438 9.25-24.62-.1562-33.97c-9.438-9.312-24.59-9.219-33.97 .1562c-14.91 15.06-34.77 23.38-55.83 23.38c0 0 .0313 0 0 0c-21.09 0-40.95-8.312-55.89-23.38c-30.94-31.22-30.94-82.03 0-113.3C214.2 184.3 234 176 255.1 176z"]
  107525. };
  107526. var faMap = {
  107527. prefix: 'far',
  107528. iconName: 'map',
  107529. icon: [576, 512, [128506, 62072], "f279", "M565.6 36.24C572.1 40.72 576 48.11 576 56V392C576 401.1 569.8 410.9 560.5 414.4L392.5 478.4C387.4 480.4 381.7 480.5 376.4 478.8L192.5 417.5L32.54 478.4C25.17 481.2 16.88 480.2 10.38 475.8C3.882 471.3 0 463.9 0 456V120C0 110 6.15 101.1 15.46 97.57L183.5 33.57C188.6 31.6 194.3 31.48 199.6 33.23L383.5 94.52L543.5 33.57C550.8 30.76 559.1 31.76 565.6 36.24H565.6zM48 421.2L168 375.5V90.83L48 136.5V421.2zM360 137.3L216 89.3V374.7L360 422.7V137.3zM408 421.2L528 375.5V90.83L408 136.5V421.2z"]
  107530. };
  107531. var faBellSlash = {
  107532. prefix: 'far',
  107533. iconName: 'bell-slash',
  107534. icon: [640, 512, [128277, 61943], "f1f6", "M183.6 118.6C206.5 82.58 244.1 56.84 288 49.88V32C288 14.33 302.3 .0003 320 .0003C337.7 .0003 352 14.33 352 32V49.88C424.5 61.39 480 124.2 480 200V233.4C480 278.8 495.5 322.9 523.8 358.4L538.7 377C543.1 383.5 545.4 392.2 542.6 400L630.8 469.1C641.2 477.3 643.1 492.4 634.9 502.8C626.7 513.2 611.6 515.1 601.2 506.9L9.196 42.89C-1.236 34.71-3.065 19.63 5.112 9.196C13.29-1.236 28.37-3.065 38.81 5.112L183.6 118.6zM221.7 148.4L450.7 327.1C438.4 298.2 432 266.1 432 233.4V200C432 142.6 385.4 96 328 96H312C273.3 96 239.6 117.1 221.7 148.4V148.4zM160 233.4V222.1L206.7 258.9C202.7 297.7 189.5 335.2 168.3 368H345.2L406.2 416H120C110.8 416 102.4 410.7 98.37 402.4C94.37 394.1 95.5 384.2 101.3 377L116.2 358.4C144.5 322.9 160 278.8 160 233.4V233.4zM384 448C384 464.1 377.3 481.3 365.3 493.3C353.3 505.3 336.1 512 320 512C303 512 286.7 505.3 274.7 493.3C262.7 481.3 256 464.1 256 448H384z"]
  107535. };
  107536. var faHandLizard = {
  107537. prefix: 'far',
  107538. iconName: 'hand-lizard',
  107539. icon: [512, 512, [], "f258", "M512 331.8V424c0 13.25-10.75 24-24 24c-13.25 0-24-10.75-24-24v-92.17c0-10.09-3.031-19.8-8.766-28.08l-118.6-170.5C327.4 119.1 312.2 112 295.1 112H53.32c-2.5 0-5.25 2.453-5.313 4.172c-.2969 9.5 3.156 18.47 9.75 25.28C64.36 148.3 73.2 152 82.67 152h161.8c17.09 0 33.4 8.281 43.4 22.14c9.984 13.88 12.73 31.83 7.328 48.05l-9.781 29.34C278.2 273.3 257.8 288 234.9 288H138.7C129.2 288 120.4 291.8 113.8 298.5c-6.594 6.812-10.05 15.78-9.75 25.28C104.1 325.5 106.8 328 109.3 328h156.6c5.188 0 10.14 1.688 14.3 4.797l78.22 58.67c6.031 4.531 9.594 11.66 9.594 19.2L367.1 424c0 13.25-10.75 24-24 24s-24-10.75-24-24v-1.328L257.8 376H109.3c-28.48 0-52.39-22.72-53.28-50.64c-.7187-22.61 7.531-43.98 23.23-60.2C94.1 248.9 116.1 240 138.7 240h96.19c2.297 0 4.328-1.469 5.063-3.656l9.781-29.33c.7031-2.141-.0156-3.797-.7344-4.797C248.2 201.2 246.9 200 244.6 200H82.67c-22.58 0-43.67-8.938-59.39-25.16C7.575 158.6-.6755 137.3 .0433 114.6C.9339 86.72 24.84 64 53.32 64h242.7c31.94 0 61.86 15.67 80.05 41.92l118.6 170.5C506 292.8 512 311.9 512 331.8z"]
  107540. };
  107541. var faFaceSmile = {
  107542. prefix: 'far',
  107543. iconName: 'face-smile',
  107544. icon: [512, 512, [128578, "smile"], "f118", "M256 352C293.2 352 319.2 334.5 334.4 318.1C343.3 308.4 358.5 307.7 368.3 316.7C378 325.7 378.6 340.9 369.6 350.6C347.7 374.5 309.7 400 256 400C202.3 400 164.3 374.5 142.4 350.6C133.4 340.9 133.1 325.7 143.7 316.7C153.5 307.7 168.7 308.4 177.6 318.1C192.8 334.5 218.8 352 256 352zM208.4 208C208.4 225.7 194 240 176.4 240C158.7 240 144.4 225.7 144.4 208C144.4 190.3 158.7 176 176.4 176C194 176 208.4 190.3 208.4 208zM304.4 208C304.4 190.3 318.7 176 336.4 176C354 176 368.4 190.3 368.4 208C368.4 225.7 354 240 336.4 240C318.7 240 304.4 225.7 304.4 208zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"]
  107545. };
  107546. var faSmile = faFaceSmile;
  107547. var faHandPeace = {
  107548. prefix: 'far',
  107549. iconName: 'hand-peace',
  107550. icon: [512, 512, [9996], "f25b", "M412 160c-8.326 0-16.3 1.51-23.68 4.27C375.1 151.8 358.9 144 340 144c-11.64 0-22.44 3.223-32.03 8.418l11.12-68.95c.6228-3.874 .9243-7.725 .9243-11.53c0-36.08-28.91-71.95-72.09-71.95c-34.68 0-65.31 25.16-71.03 60.54L173.4 82.22L168.9 72.77c-12.4-25.75-38.07-40.78-64.89-40.78c-40.8 0-72.01 33.28-72.01 72.07c0 10.48 2.296 21.11 7.144 31.18L89.05 238.9C64.64 250.4 48 275.7 48 303.1v80c0 22.06 10.4 43.32 27.83 56.86l45.95 35.74c29.35 22.83 65.98 35.41 103.2 35.41l78.81 .0352C400.9 512 480 432.1 480 335.8v-107.5C480 189.6 447.9 160 412 160zM320 212.3C320 201.1 328.1 192 340 192c11.02 0 20 9.078 20 20.25v55.5C360 278.9 351 288 340 288C328.1 288 320 278.9 320 267.8V212.3zM247.9 47.98c12.05 0 24.13 9.511 24.13 23.98c0 1.277-.1022 2.57-.3134 3.871L248.4 220.5C240.7 217.6 232.4 215.1 223.9 215.1c0 0 .002 0 0 0c-4.475 0-8.967 .4199-13.38 1.254l-10.55 1.627l24.32-150.7C226.2 56.42 236.4 47.98 247.9 47.98zM79.1 104c0-13.27 10.79-24.04 24.02-24.04c8.937 0 17.5 5.023 21.61 13.61l61.29 127.3L137.3 228.5L82.38 114.4C80.76 111.1 79.1 107.5 79.1 104zM303.8 464l-78.81-.0352c-26.56 0-52.72-8.984-73.69-25.3l-45.97-35.75C99.47 398.4 96 391.3 96 383.1v-80c0-11.23 7.969-21.11 17.59-23.22l105.3-16.23C220.6 264.2 222.3 263.1 223.9 263.1c11.91 0 24.09 9.521 24.09 24.06c0 11.04-7.513 20.95-17.17 23.09L172.8 319c-12.03 1.633-20.78 11.92-20.78 23.75c0 20.21 18.82 24.08 23.7 24.08c2.645 0 64.61-8.619 65.54-8.826c23.55-5.227 41.51-22.23 49.73-43.64C303.3 327.5 320.6 336 340 336c8.326 0 16.31-1.51 23.69-4.27C376 344.2 393.1 352 412 352c.1992 0 10.08-.4453 18.65-2.92C423.9 413.5 369.9 464 303.8 464zM432 283.8C432 294.9 423 304 412 304c-11.02 0-20-9.078-20-20.25v-55.5C392 217.1 400.1 208 412 208c11.02 0 20 9.078 20 20.25V283.8z"]
  107551. };
  107552. var faFaceGrinHearts = {
  107553. prefix: 'far',
  107554. iconName: 'face-grin-hearts',
  107555. icon: [512, 512, [128525, "grin-hearts"], "f584", "M349.5 308.4C368.2 303.1 385.4 320.4 374.1 336.5C350.4 374.6 306.3 399.1 255.9 399.1C205.6 399.1 161.5 374.6 136.9 336.5C126.5 320.4 143.7 303.1 162.3 308.4C191.3 315.1 222.8 318.8 255.9 318.8C289 318.8 320.6 315.1 349.5 308.4zM238.9 177.1L221.4 243C219.1 251.6 210.4 256.6 201.8 254.3L136.7 236.9C118.9 232.1 108.4 213.8 113.1 196.1C117.9 178.3 136.2 167.7 153.1 172.5L170.1 176.8L174.4 160.7C179.2 142.9 197.5 132.4 215.3 137.1C233.1 141.9 243.6 160.2 238.9 177.1H238.9zM341.9 176.8L358 172.5C375.8 167.7 394.1 178.3 398.9 196.1C403.6 213.8 393.1 232.1 375.3 236.9L310.2 254.3C301.6 256.6 292.9 251.6 290.6 243L273.1 177.1C268.4 160.2 278.9 141.9 296.7 137.1C314.5 132.4 332.8 142.9 337.6 160.7L341.9 176.8zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"]
  107556. };
  107557. var faGrinHearts = faFaceGrinHearts;
  107558. var faBuilding = {
  107559. prefix: 'far',
  107560. iconName: 'building',
  107561. icon: [384, 512, [127970, 61687], "f1ad", "M88 104C88 95.16 95.16 88 104 88H152C160.8 88 168 95.16 168 104V152C168 160.8 160.8 168 152 168H104C95.16 168 88 160.8 88 152V104zM280 88C288.8 88 296 95.16 296 104V152C296 160.8 288.8 168 280 168H232C223.2 168 216 160.8 216 152V104C216 95.16 223.2 88 232 88H280zM88 232C88 223.2 95.16 216 104 216H152C160.8 216 168 223.2 168 232V280C168 288.8 160.8 296 152 296H104C95.16 296 88 288.8 88 280V232zM280 216C288.8 216 296 223.2 296 232V280C296 288.8 288.8 296 280 296H232C223.2 296 216 288.8 216 280V232C216 223.2 223.2 216 232 216H280zM0 64C0 28.65 28.65 0 64 0H320C355.3 0 384 28.65 384 64V448C384 483.3 355.3 512 320 512H64C28.65 512 0 483.3 0 448V64zM48 64V448C48 456.8 55.16 464 64 464H144V400C144 373.5 165.5 352 192 352C218.5 352 240 373.5 240 400V464H320C328.8 464 336 456.8 336 448V64C336 55.16 328.8 48 320 48H64C55.16 48 48 55.16 48 64z"]
  107562. };
  107563. var faFaceGrinBeamSweat = {
  107564. prefix: 'far',
  107565. iconName: 'face-grin-beam-sweat',
  107566. icon: [512, 512, [128517, "grin-beam-sweat"], "f583", "M464 128C437.5 128 416 107 416 81.01C416 76.01 417.8 69.74 420.6 62.87C420.9 62.17 421.2 61.46 421.6 60.74C430.5 40.51 448.1 15.86 457.6 3.281C460.8-1.094 467.2-1.094 470.4 3.281C483.4 20.65 512 61.02 512 81.01C512 102.7 497.1 120.8 476.8 126.3C472.7 127.4 468.4 128 464 128L464 128zM391.1 50.53C387.8 58.57 384 69.57 384 81.01C384 84.1 384.3 88.91 384.9 92.72C349.4 64.71 304.7 48 256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 219.7 454.7 185.5 438.3 155.8C446.4 158.5 455.1 160 464 160C473.6 160 482.8 158.3 491.4 155.2C504.7 186.2 512 220.2 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 .0002 256 .0002C307.4 .0002 355.3 15.15 395.4 41.23C393.9 44.32 392.4 47.43 391.1 50.53V50.53zM255.9 399.1C205.6 399.1 161.5 374.6 136.9 336.5C126.5 320.4 143.7 303.1 162.3 308.4C191.3 315.1 222.8 318.9 255.9 318.9C289 318.9 320.6 315.1 349.5 308.4C368.2 303.1 385.4 320.4 374.1 336.5C350.4 374.6 306.3 399.1 255.9 399.1zM217.6 228.8L217.4 228.5C217.2 228.3 217 228 216.7 227.6C216 226.8 215.1 225.7 213.9 224.3C211.4 221.4 207.9 217.7 203.7 213.1C194.9 206.2 184.8 200 176 200C167.2 200 157.1 206.2 148.3 213.1C144.1 217.7 140.6 221.4 138.1 224.3C136.9 225.7 135.1 226.8 135.3 227.6C134.1 228 134.8 228.3 134.6 228.5L134.4 228.8L134.4 228.8C132.3 231.6 128.7 232.7 125.5 231.6C122.2 230.5 119.1 227.4 119.1 224C119.1 206.1 126.7 188.4 136.6 175.2C146.4 162.2 160.5 152 175.1 152C191.5 152 205.6 162.2 215.4 175.2C225.3 188.4 231.1 206.1 231.1 224C231.1 227.4 229.8 230.5 226.5 231.6C223.3 232.7 219.7 231.6 217.6 228.8L217.6 228.8zM377.6 228.8L377.6 228.8L377.4 228.5C377.2 228.3 377 228 376.7 227.6C376 226.8 375.1 225.7 373.9 224.3C371.4 221.4 367.9 217.7 363.7 213.1C354.9 206.2 344.8 200 336 200C327.2 200 317.1 206.2 308.3 213.1C304.1 217.7 300.6 221.4 298.1 224.3C296.9 225.7 295.1 226.8 295.3 227.6C294.1 228 294.8 228.3 294.6 228.5L294.4 228.8L294.4 228.8C292.3 231.6 288.7 232.7 285.5 231.6C282.2 230.5 280 227.4 280 224C280 206.1 286.7 188.4 296.6 175.2C306.4 162.2 320.5 152 336 152C351.5 152 365.6 162.2 375.4 175.2C385.3 188.4 392 206.1 392 224C392 227.4 389.8 230.5 386.5 231.6C383.3 232.7 379.7 231.6 377.6 228.8V228.8z"]
  107567. };
  107568. var faGrinBeamSweat = faFaceGrinBeamSweat;
  107569. var faMoon = {
  107570. prefix: 'far',
  107571. iconName: 'moon',
  107572. icon: [512, 512, [127769, 9214], "f186", "M421.6 379.9c-.6641 0-1.35 .0625-2.049 .1953c-11.24 2.143-22.37 3.17-33.32 3.17c-94.81 0-174.1-77.14-174.1-175.5c0-63.19 33.79-121.3 88.73-152.6c8.467-4.812 6.339-17.66-3.279-19.44c-11.2-2.078-29.53-3.746-40.9-3.746C132.3 31.1 32 132.2 32 256c0 123.6 100.1 224 223.8 224c69.04 0 132.1-31.45 173.8-82.93C435.3 389.1 429.1 379.9 421.6 379.9zM255.8 432C158.9 432 80 353 80 256c0-76.32 48.77-141.4 116.7-165.8C175.2 125 163.2 165.6 163.2 207.8c0 99.44 65.13 183.9 154.9 212.8C298.5 428.1 277.4 432 255.8 432z"]
  107573. };
  107574. var faCalendar = {
  107575. prefix: 'far',
  107576. iconName: 'calendar',
  107577. icon: [448, 512, [128197, 128198], "f133", "M152 64H296V24C296 10.75 306.7 0 320 0C333.3 0 344 10.75 344 24V64H384C419.3 64 448 92.65 448 128V448C448 483.3 419.3 512 384 512H64C28.65 512 0 483.3 0 448V128C0 92.65 28.65 64 64 64H104V24C104 10.75 114.7 0 128 0C141.3 0 152 10.75 152 24V64zM48 448C48 456.8 55.16 464 64 464H384C392.8 464 400 456.8 400 448V192H48V448z"]
  107578. };
  107579. var faFaceGrinTongueWink = {
  107580. prefix: 'far',
  107581. iconName: 'face-grin-tongue-wink',
  107582. icon: [512, 512, [128540, "grin-tongue-wink"], "f58b", "M159.6 220C148.1 220 139.7 223.8 134.2 229.7C126.7 237.7 114 238.1 105.9 230.6C97.89 223 97.48 210.4 105 202.3C119.6 186.8 140.3 180 159.6 180C178.1 180 199.7 186.8 214.2 202.3C221.8 210.4 221.4 223 213.3 230.6C205.2 238.1 192.6 237.7 185 229.7C179.6 223.8 170.3 220 159.6 220zM312.4 208C312.4 194.7 323.1 184 336.4 184C349.6 184 360.4 194.7 360.4 208C360.4 221.3 349.6 232 336.4 232C323.1 232 312.4 221.3 312.4 208zM256 208C256 163.8 291.8 128 336 128C380.2 128 416 163.8 416 208C416 252.2 380.2 288 336 288C291.8 288 256 252.2 256 208zM336 256C362.5 256 384 234.5 384 208C384 181.5 362.5 160 336 160C309.5 160 288 181.5 288 208C288 234.5 309.5 256 336 256zM0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM348.3 442.4C416.9 408.4 464 337.7 464 256C464 141.1 370.9 48 256 48C141.1 48 48 141.1 48 256C48 337.7 95.13 408.4 163.7 442.4C161.3 434 160 425.2 160 416V363.6C151.1 355.6 143.3 346.5 136.9 336.5C126.5 320.4 143.7 303.1 162.3 308.4C191.3 315.1 222.8 318.8 255.9 318.8C289 318.8 320.6 315.1 349.5 308.4C368.2 303.1 385.4 320.4 374.1 336.5C368.6 346.4 360.8 355.5 352 363.5V416C352 425.2 350.7 434 348.3 442.4H348.3zM320 416V378.6C320 363.9 308.1 352 293.4 352H291.4C280.1 352 270.3 359.9 267.8 370.9C264.1 383.5 247 383.5 244.2 370.9C241.7 359.9 231.9 352 220.6 352H218.6C203.9 352 192 363.9 192 378.6V416C192 451.3 220.7 480 256 480C291.3 480 320 451.3 320 416z"]
  107583. };
  107584. var faGrinTongueWink = faFaceGrinTongueWink;
  107585. var faClone = {
  107586. prefix: 'far',
  107587. iconName: 'clone',
  107588. icon: [512, 512, [], "f24d", "M64 464H288C296.8 464 304 456.8 304 448V384H352V448C352 483.3 323.3 512 288 512H64C28.65 512 0 483.3 0 448V224C0 188.7 28.65 160 64 160H128V208H64C55.16 208 48 215.2 48 224V448C48 456.8 55.16 464 64 464zM160 64C160 28.65 188.7 0 224 0H448C483.3 0 512 28.65 512 64V288C512 323.3 483.3 352 448 352H224C188.7 352 160 323.3 160 288V64zM224 304H448C456.8 304 464 296.8 464 288V64C464 55.16 456.8 48 448 48H224C215.2 48 208 55.16 208 64V288C208 296.8 215.2 304 224 304z"]
  107589. };
  107590. var faFaceAngry = {
  107591. prefix: 'far',
  107592. iconName: 'face-angry',
  107593. icon: [512, 512, [128544, "angry"], "f556", "M328.4 393.5C318.7 402.6 303.5 402.1 294.5 392.4C287.1 384.5 274.4 376 256 376C237.6 376 224.9 384.5 217.5 392.4C208.5 402.1 193.3 402.6 183.6 393.5C173.9 384.5 173.4 369.3 182.5 359.6C196.7 344.3 221.4 328 256 328C290.6 328 315.3 344.3 329.5 359.6C338.6 369.3 338.1 384.5 328.4 393.5zM144.4 240C144.4 231.2 147.9 223.2 153.7 217.4L122.9 207.2C114.6 204.4 110 195.3 112.8 186.9C115.6 178.6 124.7 174 133.1 176.8L229.1 208.8C237.4 211.6 241.1 220.7 239.2 229.1C236.4 237.4 227.3 241.1 218.9 239.2L208.1 235.6C208.3 237 208.4 238.5 208.4 240C208.4 257.7 194 272 176.4 272C158.7 272 144.4 257.7 144.4 240V240zM368.4 240C368.4 257.7 354 272 336.4 272C318.7 272 304.4 257.7 304.4 240C304.4 238.4 304.5 236.8 304.7 235.3L293.1 239.2C284.7 241.1 275.6 237.4 272.8 229.1C270 220.7 274.6 211.6 282.9 208.8L378.9 176.8C387.3 174 396.4 178.6 399.2 186.9C401.1 195.3 397.4 204.4 389.1 207.2L358.9 217.2C364.7 223 368.4 231.1 368.4 240H368.4zM0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464z"]
  107594. };
  107595. var faAngry = faFaceAngry;
  107596. var faRectangleXmark = {
  107597. prefix: 'far',
  107598. iconName: 'rectangle-xmark',
  107599. icon: [512, 512, [62164, "rectangle-times", "times-rectangle", "window-close"], "f410", "M175 175C184.4 165.7 199.6 165.7 208.1 175L255.1 222.1L303 175C312.4 165.7 327.6 165.7 336.1 175C346.3 184.4 346.3 199.6 336.1 208.1L289.9 255.1L336.1 303C346.3 312.4 346.3 327.6 336.1 336.1C327.6 346.3 312.4 346.3 303 336.1L255.1 289.9L208.1 336.1C199.6 346.3 184.4 346.3 175 336.1C165.7 327.6 165.7 312.4 175 303L222.1 255.1L175 208.1C165.7 199.6 165.7 184.4 175 175V175zM0 96C0 60.65 28.65 32 64 32H448C483.3 32 512 60.65 512 96V416C512 451.3 483.3 480 448 480H64C28.65 480 0 451.3 0 416V96zM48 96V416C48 424.8 55.16 432 64 432H448C456.8 432 464 424.8 464 416V96C464 87.16 456.8 80 448 80H64C55.16 80 48 87.16 48 96z"]
  107600. };
  107601. var faRectangleTimes = faRectangleXmark;
  107602. var faTimesRectangle = faRectangleXmark;
  107603. var faWindowClose = faRectangleXmark;
  107604. var faPaperPlane = {
  107605. prefix: 'far',
  107606. iconName: 'paper-plane',
  107607. icon: [512, 512, [61913], "f1d8", "M501.6 4.186c-7.594-5.156-17.41-5.594-25.44-1.063L12.12 267.1C4.184 271.7-.5037 280.3 .0431 289.4c.5469 9.125 6.234 17.16 14.66 20.69l153.3 64.38v113.5c0 8.781 4.797 16.84 12.5 21.06C184.1 511 188 512 191.1 512c4.516 0 9.038-1.281 12.99-3.812l111.2-71.46l98.56 41.4c2.984 1.25 6.141 1.875 9.297 1.875c4.078 0 8.141-1.031 11.78-3.094c6.453-3.625 10.88-10.06 11.95-17.38l64-432C513.1 18.44 509.1 9.373 501.6 4.186zM369.3 119.2l-187.1 208.9L78.23 284.7L369.3 119.2zM215.1 444v-49.36l46.45 19.51L215.1 444zM404.8 421.9l-176.6-74.19l224.6-249.5L404.8 421.9z"]
  107608. };
  107609. var faLifeRing = {
  107610. prefix: 'far',
  107611. iconName: 'life-ring',
  107612. icon: [512, 512, [], "f1cd", "M464.1 431C474.3 440.4 474.3 455.6 464.1 464.1C455.6 474.3 440.4 474.3 431 464.1L419.3 453.2C374.9 489.9 318.1 512 256 512C193.9 512 137.1 489.9 92.74 453.2L80.97 464.1C71.6 474.3 56.4 474.3 47.03 464.1C37.66 455.6 37.66 440.4 47.03 431L58.8 419.3C22.08 374.9 0 318.1 0 256C0 193.9 22.08 137.1 58.8 92.74L47.03 80.97C37.66 71.6 37.66 56.4 47.03 47.03C56.4 37.66 71.6 37.66 80.97 47.03L92.74 58.8C137.1 22.08 193.9 0 256 0C318.1 0 374.9 22.08 419.3 58.8L431 47.03C440.4 37.66 455.6 37.66 464.1 47.03C474.3 56.4 474.3 71.6 464.1 80.97L453.2 92.74C489.9 137.1 512 193.9 512 256C512 318.1 489.9 374.9 453.2 419.3L464.1 431zM304.8 338.7C290.5 347.2 273.8 352 256 352C238.2 352 221.5 347.2 207.2 338.7L126.9 419.1C162.3 447.2 207.2 464 256 464C304.8 464 349.7 447.2 385.1 419.1L304.8 338.7zM464 256C464 207.2 447.2 162.3 419.1 126.9L338.7 207.2C347.2 221.5 352 238.2 352 256C352 273.8 347.2 290.5 338.7 304.8L419.1 385.1C447.2 349.7 464 304.8 464 256V256zM256 48C207.2 48 162.3 64.8 126.9 92.93L207.2 173.3C221.5 164.8 238.2 160 256 160C273.8 160 290.5 164.8 304.8 173.3L385.1 92.93C349.7 64.8 304.8 48 256 48V48zM173.3 304.8C164.8 290.5 160 273.8 160 256C160 238.2 164.8 221.5 173.3 207.2L92.93 126.9C64.8 162.3 48 207.2 48 256C48 304.8 64.8 349.7 92.93 385.1L173.3 304.8zM256 208C229.5 208 208 229.5 208 256C208 282.5 229.5 304 256 304C282.5 304 304 282.5 304 256C304 229.5 282.5 208 256 208z"]
  107613. };
  107614. var faFaceGrimace = {
  107615. prefix: 'far',
  107616. iconName: 'face-grimace',
  107617. icon: [512, 512, [128556, "grimace"], "f57f", "M344 288C374.9 288 400 313.1 400 344C400 374.9 374.9 400 344 400H168C137.1 400 112 374.9 112 344C112 313.1 137.1 288 168 288H344zM168 320C154.7 320 144 330.7 144 344C144 357.3 154.7 368 168 368H176V320H168zM208 368H240V320H208V368zM304 320H272V368H304V320zM336 368H344C357.3 368 368 357.3 368 344C368 330.7 357.3 320 344 320H336V368zM208.4 208C208.4 225.7 194 240 176.4 240C158.7 240 144.4 225.7 144.4 208C144.4 190.3 158.7 176 176.4 176C194 176 208.4 190.3 208.4 208zM304.4 208C304.4 190.3 318.7 176 336.4 176C354 176 368.4 190.3 368.4 208C368.4 225.7 354 240 336.4 240C318.7 240 304.4 225.7 304.4 208zM0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"]
  107618. };
  107619. var faGrimace = faFaceGrimace;
  107620. var faCalendarMinus = {
  107621. prefix: 'far',
  107622. iconName: 'calendar-minus',
  107623. icon: [448, 512, [], "f272", "M152 352C138.7 352 128 341.3 128 328C128 314.7 138.7 304 152 304H296C309.3 304 320 314.7 320 328C320 341.3 309.3 352 296 352H152zM128 0C141.3 0 152 10.75 152 24V64H296V24C296 10.75 306.7 0 320 0C333.3 0 344 10.75 344 24V64H384C419.3 64 448 92.65 448 128V448C448 483.3 419.3 512 384 512H64C28.65 512 0 483.3 0 448V128C0 92.65 28.65 64 64 64H104V24C104 10.75 114.7 0 128 0zM400 192H48V448C48 456.8 55.16 464 64 464H384C392.8 464 400 456.8 400 448V192z"]
  107624. };
  107625. var faCircleXmark = {
  107626. prefix: 'far',
  107627. iconName: 'circle-xmark',
  107628. icon: [512, 512, [61532, "times-circle", "xmark-circle"], "f057", "M175 175C184.4 165.7 199.6 165.7 208.1 175L255.1 222.1L303 175C312.4 165.7 327.6 165.7 336.1 175C346.3 184.4 346.3 199.6 336.1 208.1L289.9 255.1L336.1 303C346.3 312.4 346.3 327.6 336.1 336.1C327.6 346.3 312.4 346.3 303 336.1L255.1 289.9L208.1 336.1C199.6 346.3 184.4 346.3 175 336.1C165.7 327.6 165.7 312.4 175 303L222.1 255.1L175 208.1C165.7 199.6 165.7 184.4 175 175V175zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"]
  107629. };
  107630. var faTimesCircle = faCircleXmark;
  107631. var faXmarkCircle = faCircleXmark;
  107632. var faThumbsUp = {
  107633. prefix: 'far',
  107634. iconName: 'thumbs-up',
  107635. icon: [512, 512, [128077, 61575], "f164", "M96 191.1H32c-17.67 0-32 14.33-32 31.1v223.1c0 17.67 14.33 31.1 32 31.1h64c17.67 0 32-14.33 32-31.1V223.1C128 206.3 113.7 191.1 96 191.1zM512 227c0-36.89-30.05-66.92-66.97-66.92h-99.86C354.7 135.1 360 113.5 360 100.8c0-33.8-26.2-68.78-70.06-68.78c-46.61 0-59.36 32.44-69.61 58.5c-31.66 80.5-60.33 66.39-60.33 93.47c0 12.84 10.36 23.99 24.02 23.99c5.256 0 10.55-1.721 14.97-5.26c76.76-61.37 57.97-122.7 90.95-122.7c16.08 0 22.06 12.75 22.06 20.79c0 7.404-7.594 39.55-25.55 71.59c-2.046 3.646-3.066 7.686-3.066 11.72c0 13.92 11.43 23.1 24 23.1h137.6C455.5 208.1 464 216.6 464 227c0 9.809-7.766 18.03-17.67 18.71c-12.66 .8593-22.36 11.4-22.36 23.94c0 15.47 11.39 15.95 11.39 28.91c0 25.37-35.03 12.34-35.03 42.15c0 11.22 6.392 13.03 6.392 22.25c0 22.66-29.77 13.76-29.77 40.64c0 4.515 1.11 5.961 1.11 9.456c0 10.45-8.516 18.95-18.97 18.95h-52.53c-25.62 0-51.02-8.466-71.5-23.81l-36.66-27.51c-4.315-3.245-9.37-4.811-14.38-4.811c-13.85 0-24.03 11.38-24.03 24.04c0 7.287 3.312 14.42 9.596 19.13l36.67 27.52C235 468.1 270.6 480 306.6 480h52.53c35.33 0 64.36-27.49 66.8-62.2c17.77-12.23 28.83-32.51 28.83-54.83c0-3.046-.2187-6.107-.6406-9.122c17.84-12.15 29.28-32.58 29.28-55.28c0-5.311-.6406-10.54-1.875-15.64C499.9 270.1 512 250.2 512 227z"]
  107636. };
  107637. var faWindowMinimize = {
  107638. prefix: 'far',
  107639. iconName: 'window-minimize',
  107640. icon: [512, 512, [128469], "f2d1", "M0 456C0 442.7 10.75 432 24 432H488C501.3 432 512 442.7 512 456C512 469.3 501.3 480 488 480H24C10.75 480 0 469.3 0 456z"]
  107641. };
  107642. var faSquareFull = {
  107643. prefix: 'far',
  107644. iconName: 'square-full',
  107645. icon: [512, 512, [128997, 128998, 128999, 129000, 129001, 129002, 129003, 11035, 11036], "f45c", "M512 0V512H0V0H512zM464 48H48V464H464V48z"]
  107646. };
  107647. var faNoteSticky = {
  107648. prefix: 'far',
  107649. iconName: 'note-sticky',
  107650. icon: [448, 512, [62026, "sticky-note"], "f249", "M384 32H64.01C28.66 32 .0085 60.65 .0065 96L0 415.1C-.002 451.3 28.65 480 64 480h232.1c25.46 0 49.88-10.12 67.89-28.12l55.88-55.89C437.9 377.1 448 353.6 448 328.1V96C448 60.8 419.2 32 384 32zM52.69 427.3C50.94 425.6 48 421.8 48 416l.0195-319.1C48.02 87.18 55.2 80 64.02 80H384c8.674 0 16 7.328 16 16v192h-88C281.1 288 256 313.1 256 344v88H64C58.23 432 54.44 429.1 52.69 427.3zM330.1 417.9C322.9 425.1 313.8 429.6 304 431.2V344c0-4.406 3.594-8 8-8h87.23c-1.617 9.812-6.115 18.88-13.29 26.05L330.1 417.9z"]
  107651. };
  107652. var faStickyNote = faNoteSticky;
  107653. var faFaceSadTear = {
  107654. prefix: 'far',
  107655. iconName: 'face-sad-tear',
  107656. icon: [512, 512, [128546, "sad-tear"], "f5b4", "M169.6 291.3C172.8 286.9 179.2 286.9 182.4 291.3C195.6 308.6 223.1 349 223.1 369C223.1 395 202.5 416 175.1 416C149.5 416 127.1 395 127.1 369C127.1 349 156.6 308.6 169.6 291.3H169.6zM368 346.8C377.9 355.6 378.7 370.8 369.9 380.7C361 390.6 345.9 391.4 335.1 382.6C314.7 363.5 286.7 352 256 352C242.7 352 232 341.3 232 328C232 314.7 242.7 304 256 304C299 304 338.3 320.2 368 346.8L368 346.8zM335.6 176C353.3 176 367.6 190.3 367.6 208C367.6 225.7 353.3 240 335.6 240C317.1 240 303.6 225.7 303.6 208C303.6 190.3 317.1 176 335.6 176zM175.6 240C157.1 240 143.6 225.7 143.6 208C143.6 190.3 157.1 176 175.6 176C193.3 176 207.6 190.3 207.6 208C207.6 225.7 193.3 240 175.6 240zM256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0zM175.9 448C200.5 458.3 227.6 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48C141.1 48 48 141.1 48 256C48 308.7 67.59 356.8 99.88 393.4C110.4 425.4 140.9 447.9 175.9 448V448z"]
  107657. };
  107658. var faSadTear = faFaceSadTear;
  107659. var faHandPointLeft = {
  107660. prefix: 'far',
  107661. iconName: 'hand-point-left',
  107662. icon: [512, 512, [], "f0a5", "M264 480h104c79.4 0 144-62.95 144-140.3V231.8c0-23.44-6.104-46.73-17.65-67.35L462.1 108.6C447.5 81.1 417.1 64 385.9 64H336c-27.23 0-51.53 12.51-67.69 32H72C32.3 96 0 128.3 0 168S32.3 240 72 240h56.44C128.1 242.6 128 245.3 128 248c0 25.95 13.79 48.73 34.43 61.4C160.8 315.3 160 321.6 160 328c0 25.95 13.79 48.73 34.43 61.4C192.8 395.3 192 401.6 192 408C192 447.7 224.3 480 264 480zM280 304c13.23 0 24 10.78 24 24S293.1 352 279.9 352H232c-13.23 0-24-10.78-24-24S218.8 304 232 304H280zM248 224v12c0 12.39 3.264 23.93 8.545 34.27C253.9 271.3 251 272 248 272h-48C186.8 272 176 261.2 176 248S186.8 224 200 224H248zM248 144c.2813 0 .5137 .1504 .793 .1602C248.6 146.8 248 149.3 248 152V192h-176C58.77 192 48 181.2 48 168S58.77 144 72 144H248zM388.2 429.9C390.4 422.9 392 415.7 392 408c0-29.04-17.37-53.96-42.18-65.34C350.8 337.8 352 333 352 328c0-7.139-1.273-13.96-3.355-20.46C378.4 297.2 400 269.2 400 236V184C400 170.8 389.3 160 376 160S352 170.8 352 184v52c0 15.44-12.56 28-28 28S296 251.4 296 236V152c0-22.06 17.94-40 40-40h49.88c14.77 0 28.28 7.719 35.27 20.16l31.34 55.78C460 201.4 464 216.6 464 231.8v107.9C464 383.9 431.4 420.9 388.2 429.9zM264 432c-13.23 0-24-10.78-24-24S250.8 384 264 384H320c13.23 0 24 10.78 24 24S333.2 432 320 432H264z"]
  107663. };
  107664. var icons = {
  107665. faTrashCan: faTrashCan,
  107666. faTrashAlt: faTrashAlt,
  107667. faMessage: faMessage,
  107668. faCommentAlt: faCommentAlt,
  107669. faFileLines: faFileLines,
  107670. faFileAlt: faFileAlt,
  107671. faFileText: faFileText,
  107672. faCalendarDays: faCalendarDays,
  107673. faCalendarAlt: faCalendarAlt,
  107674. faHandPointRight: faHandPointRight,
  107675. faFaceSmileBeam: faFaceSmileBeam,
  107676. faSmileBeam: faSmileBeam,
  107677. faFaceGrinStars: faFaceGrinStars,
  107678. faGrinStars: faGrinStars,
  107679. faAddressBook: faAddressBook,
  107680. faContactBook: faContactBook,
  107681. faComments: faComments,
  107682. faPaste: faPaste,
  107683. faFileClipboard: faFileClipboard,
  107684. faFaceGrinTongueSquint: faFaceGrinTongueSquint,
  107685. faGrinTongueSquint: faGrinTongueSquint,
  107686. faFaceFlushed: faFaceFlushed,
  107687. faFlushed: faFlushed,
  107688. faSquareCaretRight: faSquareCaretRight,
  107689. faCaretSquareRight: faCaretSquareRight,
  107690. faSquareMinus: faSquareMinus,
  107691. faMinusSquare: faMinusSquare,
  107692. faCompass: faCompass,
  107693. faSquareCaretDown: faSquareCaretDown,
  107694. faCaretSquareDown: faCaretSquareDown,
  107695. faFaceKissBeam: faFaceKissBeam,
  107696. faKissBeam: faKissBeam,
  107697. faLightbulb: faLightbulb,
  107698. faFlag: faFlag,
  107699. faSquareCheck: faSquareCheck,
  107700. faCheckSquare: faCheckSquare,
  107701. faCircleDot: faCircleDot,
  107702. faDotCircle: faDotCircle,
  107703. faFaceDizzy: faFaceDizzy,
  107704. faDizzy: faDizzy,
  107705. faFutbol: faFutbol,
  107706. faFutbolBall: faFutbolBall,
  107707. faSoccerBall: faSoccerBall,
  107708. faPenToSquare: faPenToSquare,
  107709. faEdit: faEdit,
  107710. faHourglassHalf: faHourglassHalf,
  107711. faHourglass2: faHourglass2,
  107712. faEyeSlash: faEyeSlash,
  107713. faHand: faHand,
  107714. faHandPaper: faHandPaper,
  107715. faHandSpock: faHandSpock,
  107716. faFaceKiss: faFaceKiss,
  107717. faKiss: faKiss,
  107718. faFaceGrinTongue: faFaceGrinTongue,
  107719. faGrinTongue: faGrinTongue,
  107720. faChessBishop: faChessBishop,
  107721. faFaceGrinWink: faFaceGrinWink,
  107722. faGrinWink: faGrinWink,
  107723. faFaceGrinWide: faFaceGrinWide,
  107724. faGrinAlt: faGrinAlt,
  107725. faFaceFrownOpen: faFaceFrownOpen,
  107726. faFrownOpen: faFrownOpen,
  107727. faHandPointUp: faHandPointUp,
  107728. faBookmark: faBookmark,
  107729. faHandPointDown: faHandPointDown,
  107730. faFolder: faFolder,
  107731. faFolderBlank: faFolderBlank,
  107732. faUser: faUser,
  107733. faSquareCaretLeft: faSquareCaretLeft,
  107734. faCaretSquareLeft: faCaretSquareLeft,
  107735. faStar: faStar,
  107736. faChessKnight: faChessKnight,
  107737. faFaceLaughSquint: faFaceLaughSquint,
  107738. faLaughSquint: faLaughSquint,
  107739. faFaceLaugh: faFaceLaugh,
  107740. faLaugh: faLaugh,
  107741. faFolderOpen: faFolderOpen,
  107742. faClipboard: faClipboard,
  107743. faChessQueen: faChessQueen,
  107744. faHandBackFist: faHandBackFist,
  107745. faHandRock: faHandRock,
  107746. faSquareCaretUp: faSquareCaretUp,
  107747. faCaretSquareUp: faCaretSquareUp,
  107748. faChartBar: faChartBar,
  107749. faBarChart: faBarChart,
  107750. faWindowRestore: faWindowRestore,
  107751. faSquarePlus: faSquarePlus,
  107752. faPlusSquare: faPlusSquare,
  107753. faImage: faImage,
  107754. faFolderClosed: faFolderClosed,
  107755. faLemon: faLemon,
  107756. faHandshake: faHandshake,
  107757. faGem: faGem,
  107758. faCirclePlay: faCirclePlay,
  107759. faPlayCircle: faPlayCircle,
  107760. faCircleCheck: faCircleCheck,
  107761. faCheckCircle: faCheckCircle,
  107762. faCircleStop: faCircleStop,
  107763. faStopCircle: faStopCircle,
  107764. faIdBadge: faIdBadge,
  107765. faFaceLaughBeam: faFaceLaughBeam,
  107766. faLaughBeam: faLaughBeam,
  107767. faRegistered: faRegistered,
  107768. faAddressCard: faAddressCard,
  107769. faContactCard: faContactCard,
  107770. faVcard: faVcard,
  107771. faFaceTired: faFaceTired,
  107772. faTired: faTired,
  107773. faFontAwesome: faFontAwesome,
  107774. faFontAwesomeFlag: faFontAwesomeFlag,
  107775. faFontAwesomeLogoFull: faFontAwesomeLogoFull,
  107776. faFaceSmileWink: faFaceSmileWink,
  107777. faSmileWink: faSmileWink,
  107778. faFileWord: faFileWord,
  107779. faFilePowerpoint: faFilePowerpoint,
  107780. faEnvelopeOpen: faEnvelopeOpen,
  107781. faFileZipper: faFileZipper,
  107782. faFileArchive: faFileArchive,
  107783. faSquare: faSquare,
  107784. faSnowflake: faSnowflake,
  107785. faNewspaper: faNewspaper,
  107786. faFaceKissWinkHeart: faFaceKissWinkHeart,
  107787. faKissWinkHeart: faKissWinkHeart,
  107788. faStarHalfStroke: faStarHalfStroke,
  107789. faStarHalfAlt: faStarHalfAlt,
  107790. faFileExcel: faFileExcel,
  107791. faFaceGrinBeam: faFaceGrinBeam,
  107792. faGrinBeam: faGrinBeam,
  107793. faObjectUngroup: faObjectUngroup,
  107794. faCircleRight: faCircleRight,
  107795. faArrowAltCircleRight: faArrowAltCircleRight,
  107796. faFaceRollingEyes: faFaceRollingEyes,
  107797. faMehRollingEyes: faMehRollingEyes,
  107798. faObjectGroup: faObjectGroup,
  107799. faHeart: faHeart,
  107800. faFaceSurprise: faFaceSurprise,
  107801. faSurprise: faSurprise,
  107802. faCirclePause: faCirclePause,
  107803. faPauseCircle: faPauseCircle,
  107804. faCircle: faCircle,
  107805. faCircleUp: faCircleUp,
  107806. faArrowAltCircleUp: faArrowAltCircleUp,
  107807. faFileAudio: faFileAudio,
  107808. faFileImage: faFileImage,
  107809. faCircleQuestion: faCircleQuestion,
  107810. faQuestionCircle: faQuestionCircle,
  107811. faFaceMehBlank: faFaceMehBlank,
  107812. faMehBlank: faMehBlank,
  107813. faEye: faEye,
  107814. faFaceSadCry: faFaceSadCry,
  107815. faSadCry: faSadCry,
  107816. faFileCode: faFileCode,
  107817. faWindowMaximize: faWindowMaximize,
  107818. faFaceFrown: faFaceFrown,
  107819. faFrown: faFrown,
  107820. faFloppyDisk: faFloppyDisk,
  107821. faSave: faSave,
  107822. faCommentDots: faCommentDots,
  107823. faCommenting: faCommenting,
  107824. faFaceGrinSquint: faFaceGrinSquint,
  107825. faGrinSquint: faGrinSquint,
  107826. faHandPointer: faHandPointer,
  107827. faHandScissors: faHandScissors,
  107828. faFaceGrinTears: faFaceGrinTears,
  107829. faGrinTears: faGrinTears,
  107830. faCalendarXmark: faCalendarXmark,
  107831. faCalendarTimes: faCalendarTimes,
  107832. faFileVideo: faFileVideo,
  107833. faFilePdf: faFilePdf,
  107834. faComment: faComment,
  107835. faEnvelope: faEnvelope,
  107836. faHourglass: faHourglass,
  107837. faHourglassEmpty: faHourglassEmpty,
  107838. faCalendarCheck: faCalendarCheck,
  107839. faHardDrive: faHardDrive,
  107840. faHdd: faHdd,
  107841. faFaceGrinSquintTears: faFaceGrinSquintTears,
  107842. faGrinSquintTears: faGrinSquintTears,
  107843. faRectangleList: faRectangleList,
  107844. faListAlt: faListAlt,
  107845. faCalendarPlus: faCalendarPlus,
  107846. faCircleLeft: faCircleLeft,
  107847. faArrowAltCircleLeft: faArrowAltCircleLeft,
  107848. faMoneyBill1: faMoneyBill1,
  107849. faMoneyBillAlt: faMoneyBillAlt,
  107850. faClock: faClock,
  107851. faClockFour: faClockFour,
  107852. faKeyboard: faKeyboard,
  107853. faClosedCaptioning: faClosedCaptioning,
  107854. faImages: faImages,
  107855. faFaceGrin: faFaceGrin,
  107856. faGrin: faGrin,
  107857. faFaceMeh: faFaceMeh,
  107858. faMeh: faMeh,
  107859. faIdCard: faIdCard,
  107860. faDriversLicense: faDriversLicense,
  107861. faSun: faSun,
  107862. faFaceLaughWink: faFaceLaughWink,
  107863. faLaughWink: faLaughWink,
  107864. faCircleDown: faCircleDown,
  107865. faArrowAltCircleDown: faArrowAltCircleDown,
  107866. faThumbsDown: faThumbsDown,
  107867. faChessPawn: faChessPawn,
  107868. faCreditCard: faCreditCard,
  107869. faCreditCardAlt: faCreditCardAlt,
  107870. faBell: faBell,
  107871. faFile: faFile,
  107872. faHospital: faHospital,
  107873. faHospitalAlt: faHospitalAlt,
  107874. faHospitalWide: faHospitalWide,
  107875. faChessRook: faChessRook,
  107876. faStarHalf: faStarHalf,
  107877. faChessKing: faChessKing,
  107878. faCircleUser: faCircleUser,
  107879. faUserCircle: faUserCircle,
  107880. faCopy: faCopy,
  107881. faShareFromSquare: faShareFromSquare,
  107882. faShareSquare: faShareSquare,
  107883. faCopyright: faCopyright,
  107884. faMap: faMap,
  107885. faBellSlash: faBellSlash,
  107886. faHandLizard: faHandLizard,
  107887. faFaceSmile: faFaceSmile,
  107888. faSmile: faSmile,
  107889. faHandPeace: faHandPeace,
  107890. faFaceGrinHearts: faFaceGrinHearts,
  107891. faGrinHearts: faGrinHearts,
  107892. faBuilding: faBuilding,
  107893. faFaceGrinBeamSweat: faFaceGrinBeamSweat,
  107894. faGrinBeamSweat: faGrinBeamSweat,
  107895. faMoon: faMoon,
  107896. faCalendar: faCalendar,
  107897. faFaceGrinTongueWink: faFaceGrinTongueWink,
  107898. faGrinTongueWink: faGrinTongueWink,
  107899. faClone: faClone,
  107900. faFaceAngry: faFaceAngry,
  107901. faAngry: faAngry,
  107902. faRectangleXmark: faRectangleXmark,
  107903. faRectangleTimes: faRectangleTimes,
  107904. faTimesRectangle: faTimesRectangle,
  107905. faWindowClose: faWindowClose,
  107906. faPaperPlane: faPaperPlane,
  107907. faLifeRing: faLifeRing,
  107908. faFaceGrimace: faFaceGrimace,
  107909. faGrimace: faGrimace,
  107910. faCalendarMinus: faCalendarMinus,
  107911. faCircleXmark: faCircleXmark,
  107912. faTimesCircle: faTimesCircle,
  107913. faXmarkCircle: faXmarkCircle,
  107914. faThumbsUp: faThumbsUp,
  107915. faWindowMinimize: faWindowMinimize,
  107916. faSquareFull: faSquareFull,
  107917. faNoteSticky: faNoteSticky,
  107918. faStickyNote: faStickyNote,
  107919. faFaceSadTear: faFaceSadTear,
  107920. faSadTear: faSadTear,
  107921. faHandPointLeft: faHandPointLeft
  107922. };
  107923. /***/ }),
  107924. /***/ 9306:
  107925. /*!******************************************************************!*\
  107926. !*** ./node_modules/@fortawesome/free-solid-svg-icons/index.mjs ***!
  107927. \******************************************************************/
  107928. /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
  107929. __webpack_require__.r(__webpack_exports__);
  107930. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  107931. /* harmony export */ "fa0": () => (/* binding */ fa0),
  107932. /* harmony export */ "fa1": () => (/* binding */ fa1),
  107933. /* harmony export */ "fa2": () => (/* binding */ fa2),
  107934. /* harmony export */ "fa3": () => (/* binding */ fa3),
  107935. /* harmony export */ "fa4": () => (/* binding */ fa4),
  107936. /* harmony export */ "fa5": () => (/* binding */ fa5),
  107937. /* harmony export */ "fa6": () => (/* binding */ fa6),
  107938. /* harmony export */ "fa7": () => (/* binding */ fa7),
  107939. /* harmony export */ "fa8": () => (/* binding */ fa8),
  107940. /* harmony export */ "fa9": () => (/* binding */ fa9),
  107941. /* harmony export */ "faA": () => (/* binding */ faA),
  107942. /* harmony export */ "faAd": () => (/* binding */ faAd),
  107943. /* harmony export */ "faAdd": () => (/* binding */ faAdd),
  107944. /* harmony export */ "faAddressBook": () => (/* binding */ faAddressBook),
  107945. /* harmony export */ "faAddressCard": () => (/* binding */ faAddressCard),
  107946. /* harmony export */ "faAdjust": () => (/* binding */ faAdjust),
  107947. /* harmony export */ "faAirFreshener": () => (/* binding */ faAirFreshener),
  107948. /* harmony export */ "faAlignCenter": () => (/* binding */ faAlignCenter),
  107949. /* harmony export */ "faAlignJustify": () => (/* binding */ faAlignJustify),
  107950. /* harmony export */ "faAlignLeft": () => (/* binding */ faAlignLeft),
  107951. /* harmony export */ "faAlignRight": () => (/* binding */ faAlignRight),
  107952. /* harmony export */ "faAllergies": () => (/* binding */ faAllergies),
  107953. /* harmony export */ "faAmbulance": () => (/* binding */ faAmbulance),
  107954. /* harmony export */ "faAmericanSignLanguageInterpreting": () => (/* binding */ faAmericanSignLanguageInterpreting),
  107955. /* harmony export */ "faAnchor": () => (/* binding */ faAnchor),
  107956. /* harmony export */ "faAnchorCircleCheck": () => (/* binding */ faAnchorCircleCheck),
  107957. /* harmony export */ "faAnchorCircleExclamation": () => (/* binding */ faAnchorCircleExclamation),
  107958. /* harmony export */ "faAnchorCircleXmark": () => (/* binding */ faAnchorCircleXmark),
  107959. /* harmony export */ "faAnchorLock": () => (/* binding */ faAnchorLock),
  107960. /* harmony export */ "faAngleDoubleDown": () => (/* binding */ faAngleDoubleDown),
  107961. /* harmony export */ "faAngleDoubleLeft": () => (/* binding */ faAngleDoubleLeft),
  107962. /* harmony export */ "faAngleDoubleRight": () => (/* binding */ faAngleDoubleRight),
  107963. /* harmony export */ "faAngleDoubleUp": () => (/* binding */ faAngleDoubleUp),
  107964. /* harmony export */ "faAngleDown": () => (/* binding */ faAngleDown),
  107965. /* harmony export */ "faAngleLeft": () => (/* binding */ faAngleLeft),
  107966. /* harmony export */ "faAngleRight": () => (/* binding */ faAngleRight),
  107967. /* harmony export */ "faAngleUp": () => (/* binding */ faAngleUp),
  107968. /* harmony export */ "faAnglesDown": () => (/* binding */ faAnglesDown),
  107969. /* harmony export */ "faAnglesLeft": () => (/* binding */ faAnglesLeft),
  107970. /* harmony export */ "faAnglesRight": () => (/* binding */ faAnglesRight),
  107971. /* harmony export */ "faAnglesUp": () => (/* binding */ faAnglesUp),
  107972. /* harmony export */ "faAngry": () => (/* binding */ faAngry),
  107973. /* harmony export */ "faAnkh": () => (/* binding */ faAnkh),
  107974. /* harmony export */ "faAppleAlt": () => (/* binding */ faAppleAlt),
  107975. /* harmony export */ "faAppleWhole": () => (/* binding */ faAppleWhole),
  107976. /* harmony export */ "faArchive": () => (/* binding */ faArchive),
  107977. /* harmony export */ "faArchway": () => (/* binding */ faArchway),
  107978. /* harmony export */ "faAreaChart": () => (/* binding */ faAreaChart),
  107979. /* harmony export */ "faArrowAltCircleDown": () => (/* binding */ faArrowAltCircleDown),
  107980. /* harmony export */ "faArrowAltCircleLeft": () => (/* binding */ faArrowAltCircleLeft),
  107981. /* harmony export */ "faArrowAltCircleRight": () => (/* binding */ faArrowAltCircleRight),
  107982. /* harmony export */ "faArrowAltCircleUp": () => (/* binding */ faArrowAltCircleUp),
  107983. /* harmony export */ "faArrowCircleDown": () => (/* binding */ faArrowCircleDown),
  107984. /* harmony export */ "faArrowCircleLeft": () => (/* binding */ faArrowCircleLeft),
  107985. /* harmony export */ "faArrowCircleRight": () => (/* binding */ faArrowCircleRight),
  107986. /* harmony export */ "faArrowCircleUp": () => (/* binding */ faArrowCircleUp),
  107987. /* harmony export */ "faArrowDown": () => (/* binding */ faArrowDown),
  107988. /* harmony export */ "faArrowDown19": () => (/* binding */ faArrowDown19),
  107989. /* harmony export */ "faArrowDown91": () => (/* binding */ faArrowDown91),
  107990. /* harmony export */ "faArrowDownAZ": () => (/* binding */ faArrowDownAZ),
  107991. /* harmony export */ "faArrowDownLong": () => (/* binding */ faArrowDownLong),
  107992. /* harmony export */ "faArrowDownShortWide": () => (/* binding */ faArrowDownShortWide),
  107993. /* harmony export */ "faArrowDownUpAcrossLine": () => (/* binding */ faArrowDownUpAcrossLine),
  107994. /* harmony export */ "faArrowDownUpLock": () => (/* binding */ faArrowDownUpLock),
  107995. /* harmony export */ "faArrowDownWideShort": () => (/* binding */ faArrowDownWideShort),
  107996. /* harmony export */ "faArrowDownZA": () => (/* binding */ faArrowDownZA),
  107997. /* harmony export */ "faArrowLeft": () => (/* binding */ faArrowLeft),
  107998. /* harmony export */ "faArrowLeftLong": () => (/* binding */ faArrowLeftLong),
  107999. /* harmony export */ "faArrowLeftRotate": () => (/* binding */ faArrowLeftRotate),
  108000. /* harmony export */ "faArrowPointer": () => (/* binding */ faArrowPointer),
  108001. /* harmony export */ "faArrowRight": () => (/* binding */ faArrowRight),
  108002. /* harmony export */ "faArrowRightArrowLeft": () => (/* binding */ faArrowRightArrowLeft),
  108003. /* harmony export */ "faArrowRightFromBracket": () => (/* binding */ faArrowRightFromBracket),
  108004. /* harmony export */ "faArrowRightFromFile": () => (/* binding */ faArrowRightFromFile),
  108005. /* harmony export */ "faArrowRightLong": () => (/* binding */ faArrowRightLong),
  108006. /* harmony export */ "faArrowRightRotate": () => (/* binding */ faArrowRightRotate),
  108007. /* harmony export */ "faArrowRightToBracket": () => (/* binding */ faArrowRightToBracket),
  108008. /* harmony export */ "faArrowRightToCity": () => (/* binding */ faArrowRightToCity),
  108009. /* harmony export */ "faArrowRightToFile": () => (/* binding */ faArrowRightToFile),
  108010. /* harmony export */ "faArrowRotateBack": () => (/* binding */ faArrowRotateBack),
  108011. /* harmony export */ "faArrowRotateBackward": () => (/* binding */ faArrowRotateBackward),
  108012. /* harmony export */ "faArrowRotateForward": () => (/* binding */ faArrowRotateForward),
  108013. /* harmony export */ "faArrowRotateLeft": () => (/* binding */ faArrowRotateLeft),
  108014. /* harmony export */ "faArrowRotateRight": () => (/* binding */ faArrowRotateRight),
  108015. /* harmony export */ "faArrowTrendDown": () => (/* binding */ faArrowTrendDown),
  108016. /* harmony export */ "faArrowTrendUp": () => (/* binding */ faArrowTrendUp),
  108017. /* harmony export */ "faArrowTurnDown": () => (/* binding */ faArrowTurnDown),
  108018. /* harmony export */ "faArrowTurnRight": () => (/* binding */ faArrowTurnRight),
  108019. /* harmony export */ "faArrowTurnUp": () => (/* binding */ faArrowTurnUp),
  108020. /* harmony export */ "faArrowUp": () => (/* binding */ faArrowUp),
  108021. /* harmony export */ "faArrowUp19": () => (/* binding */ faArrowUp19),
  108022. /* harmony export */ "faArrowUp91": () => (/* binding */ faArrowUp91),
  108023. /* harmony export */ "faArrowUpAZ": () => (/* binding */ faArrowUpAZ),
  108024. /* harmony export */ "faArrowUpFromBracket": () => (/* binding */ faArrowUpFromBracket),
  108025. /* harmony export */ "faArrowUpFromGroundWater": () => (/* binding */ faArrowUpFromGroundWater),
  108026. /* harmony export */ "faArrowUpFromWaterPump": () => (/* binding */ faArrowUpFromWaterPump),
  108027. /* harmony export */ "faArrowUpLong": () => (/* binding */ faArrowUpLong),
  108028. /* harmony export */ "faArrowUpRightDots": () => (/* binding */ faArrowUpRightDots),
  108029. /* harmony export */ "faArrowUpRightFromSquare": () => (/* binding */ faArrowUpRightFromSquare),
  108030. /* harmony export */ "faArrowUpShortWide": () => (/* binding */ faArrowUpShortWide),
  108031. /* harmony export */ "faArrowUpWideShort": () => (/* binding */ faArrowUpWideShort),
  108032. /* harmony export */ "faArrowUpZA": () => (/* binding */ faArrowUpZA),
  108033. /* harmony export */ "faArrows": () => (/* binding */ faArrows),
  108034. /* harmony export */ "faArrowsAlt": () => (/* binding */ faArrowsAlt),
  108035. /* harmony export */ "faArrowsAltH": () => (/* binding */ faArrowsAltH),
  108036. /* harmony export */ "faArrowsAltV": () => (/* binding */ faArrowsAltV),
  108037. /* harmony export */ "faArrowsDownToLine": () => (/* binding */ faArrowsDownToLine),
  108038. /* harmony export */ "faArrowsDownToPeople": () => (/* binding */ faArrowsDownToPeople),
  108039. /* harmony export */ "faArrowsH": () => (/* binding */ faArrowsH),
  108040. /* harmony export */ "faArrowsLeftRight": () => (/* binding */ faArrowsLeftRight),
  108041. /* harmony export */ "faArrowsLeftRightToLine": () => (/* binding */ faArrowsLeftRightToLine),
  108042. /* harmony export */ "faArrowsRotate": () => (/* binding */ faArrowsRotate),
  108043. /* harmony export */ "faArrowsSpin": () => (/* binding */ faArrowsSpin),
  108044. /* harmony export */ "faArrowsSplitUpAndLeft": () => (/* binding */ faArrowsSplitUpAndLeft),
  108045. /* harmony export */ "faArrowsToCircle": () => (/* binding */ faArrowsToCircle),
  108046. /* harmony export */ "faArrowsToDot": () => (/* binding */ faArrowsToDot),
  108047. /* harmony export */ "faArrowsToEye": () => (/* binding */ faArrowsToEye),
  108048. /* harmony export */ "faArrowsTurnRight": () => (/* binding */ faArrowsTurnRight),
  108049. /* harmony export */ "faArrowsTurnToDots": () => (/* binding */ faArrowsTurnToDots),
  108050. /* harmony export */ "faArrowsUpDown": () => (/* binding */ faArrowsUpDown),
  108051. /* harmony export */ "faArrowsUpDownLeftRight": () => (/* binding */ faArrowsUpDownLeftRight),
  108052. /* harmony export */ "faArrowsUpToLine": () => (/* binding */ faArrowsUpToLine),
  108053. /* harmony export */ "faArrowsV": () => (/* binding */ faArrowsV),
  108054. /* harmony export */ "faAslInterpreting": () => (/* binding */ faAslInterpreting),
  108055. /* harmony export */ "faAssistiveListeningSystems": () => (/* binding */ faAssistiveListeningSystems),
  108056. /* harmony export */ "faAsterisk": () => (/* binding */ faAsterisk),
  108057. /* harmony export */ "faAt": () => (/* binding */ faAt),
  108058. /* harmony export */ "faAtlas": () => (/* binding */ faAtlas),
  108059. /* harmony export */ "faAtom": () => (/* binding */ faAtom),
  108060. /* harmony export */ "faAudioDescription": () => (/* binding */ faAudioDescription),
  108061. /* harmony export */ "faAustralSign": () => (/* binding */ faAustralSign),
  108062. /* harmony export */ "faAutomobile": () => (/* binding */ faAutomobile),
  108063. /* harmony export */ "faAward": () => (/* binding */ faAward),
  108064. /* harmony export */ "faB": () => (/* binding */ faB),
  108065. /* harmony export */ "faBaby": () => (/* binding */ faBaby),
  108066. /* harmony export */ "faBabyCarriage": () => (/* binding */ faBabyCarriage),
  108067. /* harmony export */ "faBackspace": () => (/* binding */ faBackspace),
  108068. /* harmony export */ "faBackward": () => (/* binding */ faBackward),
  108069. /* harmony export */ "faBackwardFast": () => (/* binding */ faBackwardFast),
  108070. /* harmony export */ "faBackwardStep": () => (/* binding */ faBackwardStep),
  108071. /* harmony export */ "faBacon": () => (/* binding */ faBacon),
  108072. /* harmony export */ "faBacteria": () => (/* binding */ faBacteria),
  108073. /* harmony export */ "faBacterium": () => (/* binding */ faBacterium),
  108074. /* harmony export */ "faBagShopping": () => (/* binding */ faBagShopping),
  108075. /* harmony export */ "faBahai": () => (/* binding */ faBahai),
  108076. /* harmony export */ "faBahtSign": () => (/* binding */ faBahtSign),
  108077. /* harmony export */ "faBalanceScale": () => (/* binding */ faBalanceScale),
  108078. /* harmony export */ "faBalanceScaleLeft": () => (/* binding */ faBalanceScaleLeft),
  108079. /* harmony export */ "faBalanceScaleRight": () => (/* binding */ faBalanceScaleRight),
  108080. /* harmony export */ "faBan": () => (/* binding */ faBan),
  108081. /* harmony export */ "faBanSmoking": () => (/* binding */ faBanSmoking),
  108082. /* harmony export */ "faBandAid": () => (/* binding */ faBandAid),
  108083. /* harmony export */ "faBandage": () => (/* binding */ faBandage),
  108084. /* harmony export */ "faBank": () => (/* binding */ faBank),
  108085. /* harmony export */ "faBarChart": () => (/* binding */ faBarChart),
  108086. /* harmony export */ "faBarcode": () => (/* binding */ faBarcode),
  108087. /* harmony export */ "faBars": () => (/* binding */ faBars),
  108088. /* harmony export */ "faBarsProgress": () => (/* binding */ faBarsProgress),
  108089. /* harmony export */ "faBarsStaggered": () => (/* binding */ faBarsStaggered),
  108090. /* harmony export */ "faBaseball": () => (/* binding */ faBaseball),
  108091. /* harmony export */ "faBaseballBall": () => (/* binding */ faBaseballBall),
  108092. /* harmony export */ "faBaseballBatBall": () => (/* binding */ faBaseballBatBall),
  108093. /* harmony export */ "faBasketShopping": () => (/* binding */ faBasketShopping),
  108094. /* harmony export */ "faBasketball": () => (/* binding */ faBasketball),
  108095. /* harmony export */ "faBasketballBall": () => (/* binding */ faBasketballBall),
  108096. /* harmony export */ "faBath": () => (/* binding */ faBath),
  108097. /* harmony export */ "faBathtub": () => (/* binding */ faBathtub),
  108098. /* harmony export */ "faBattery": () => (/* binding */ faBattery),
  108099. /* harmony export */ "faBattery0": () => (/* binding */ faBattery0),
  108100. /* harmony export */ "faBattery2": () => (/* binding */ faBattery2),
  108101. /* harmony export */ "faBattery3": () => (/* binding */ faBattery3),
  108102. /* harmony export */ "faBattery4": () => (/* binding */ faBattery4),
  108103. /* harmony export */ "faBattery5": () => (/* binding */ faBattery5),
  108104. /* harmony export */ "faBatteryCar": () => (/* binding */ faBatteryCar),
  108105. /* harmony export */ "faBatteryEmpty": () => (/* binding */ faBatteryEmpty),
  108106. /* harmony export */ "faBatteryFull": () => (/* binding */ faBatteryFull),
  108107. /* harmony export */ "faBatteryHalf": () => (/* binding */ faBatteryHalf),
  108108. /* harmony export */ "faBatteryQuarter": () => (/* binding */ faBatteryQuarter),
  108109. /* harmony export */ "faBatteryThreeQuarters": () => (/* binding */ faBatteryThreeQuarters),
  108110. /* harmony export */ "faBed": () => (/* binding */ faBed),
  108111. /* harmony export */ "faBedPulse": () => (/* binding */ faBedPulse),
  108112. /* harmony export */ "faBeer": () => (/* binding */ faBeer),
  108113. /* harmony export */ "faBeerMugEmpty": () => (/* binding */ faBeerMugEmpty),
  108114. /* harmony export */ "faBell": () => (/* binding */ faBell),
  108115. /* harmony export */ "faBellConcierge": () => (/* binding */ faBellConcierge),
  108116. /* harmony export */ "faBellSlash": () => (/* binding */ faBellSlash),
  108117. /* harmony export */ "faBezierCurve": () => (/* binding */ faBezierCurve),
  108118. /* harmony export */ "faBible": () => (/* binding */ faBible),
  108119. /* harmony export */ "faBicycle": () => (/* binding */ faBicycle),
  108120. /* harmony export */ "faBiking": () => (/* binding */ faBiking),
  108121. /* harmony export */ "faBinoculars": () => (/* binding */ faBinoculars),
  108122. /* harmony export */ "faBiohazard": () => (/* binding */ faBiohazard),
  108123. /* harmony export */ "faBirthdayCake": () => (/* binding */ faBirthdayCake),
  108124. /* harmony export */ "faBitcoinSign": () => (/* binding */ faBitcoinSign),
  108125. /* harmony export */ "faBlackboard": () => (/* binding */ faBlackboard),
  108126. /* harmony export */ "faBlender": () => (/* binding */ faBlender),
  108127. /* harmony export */ "faBlenderPhone": () => (/* binding */ faBlenderPhone),
  108128. /* harmony export */ "faBlind": () => (/* binding */ faBlind),
  108129. /* harmony export */ "faBlog": () => (/* binding */ faBlog),
  108130. /* harmony export */ "faBold": () => (/* binding */ faBold),
  108131. /* harmony export */ "faBolt": () => (/* binding */ faBolt),
  108132. /* harmony export */ "faBoltLightning": () => (/* binding */ faBoltLightning),
  108133. /* harmony export */ "faBomb": () => (/* binding */ faBomb),
  108134. /* harmony export */ "faBone": () => (/* binding */ faBone),
  108135. /* harmony export */ "faBong": () => (/* binding */ faBong),
  108136. /* harmony export */ "faBook": () => (/* binding */ faBook),
  108137. /* harmony export */ "faBookAtlas": () => (/* binding */ faBookAtlas),
  108138. /* harmony export */ "faBookBible": () => (/* binding */ faBookBible),
  108139. /* harmony export */ "faBookBookmark": () => (/* binding */ faBookBookmark),
  108140. /* harmony export */ "faBookDead": () => (/* binding */ faBookDead),
  108141. /* harmony export */ "faBookJournalWhills": () => (/* binding */ faBookJournalWhills),
  108142. /* harmony export */ "faBookMedical": () => (/* binding */ faBookMedical),
  108143. /* harmony export */ "faBookOpen": () => (/* binding */ faBookOpen),
  108144. /* harmony export */ "faBookOpenReader": () => (/* binding */ faBookOpenReader),
  108145. /* harmony export */ "faBookQuran": () => (/* binding */ faBookQuran),
  108146. /* harmony export */ "faBookReader": () => (/* binding */ faBookReader),
  108147. /* harmony export */ "faBookSkull": () => (/* binding */ faBookSkull),
  108148. /* harmony export */ "faBookTanakh": () => (/* binding */ faBookTanakh),
  108149. /* harmony export */ "faBookmark": () => (/* binding */ faBookmark),
  108150. /* harmony export */ "faBorderAll": () => (/* binding */ faBorderAll),
  108151. /* harmony export */ "faBorderNone": () => (/* binding */ faBorderNone),
  108152. /* harmony export */ "faBorderStyle": () => (/* binding */ faBorderStyle),
  108153. /* harmony export */ "faBorderTopLeft": () => (/* binding */ faBorderTopLeft),
  108154. /* harmony export */ "faBoreHole": () => (/* binding */ faBoreHole),
  108155. /* harmony export */ "faBottleDroplet": () => (/* binding */ faBottleDroplet),
  108156. /* harmony export */ "faBottleWater": () => (/* binding */ faBottleWater),
  108157. /* harmony export */ "faBowlFood": () => (/* binding */ faBowlFood),
  108158. /* harmony export */ "faBowlRice": () => (/* binding */ faBowlRice),
  108159. /* harmony export */ "faBowlingBall": () => (/* binding */ faBowlingBall),
  108160. /* harmony export */ "faBox": () => (/* binding */ faBox),
  108161. /* harmony export */ "faBoxArchive": () => (/* binding */ faBoxArchive),
  108162. /* harmony export */ "faBoxOpen": () => (/* binding */ faBoxOpen),
  108163. /* harmony export */ "faBoxTissue": () => (/* binding */ faBoxTissue),
  108164. /* harmony export */ "faBoxes": () => (/* binding */ faBoxes),
  108165. /* harmony export */ "faBoxesAlt": () => (/* binding */ faBoxesAlt),
  108166. /* harmony export */ "faBoxesPacking": () => (/* binding */ faBoxesPacking),
  108167. /* harmony export */ "faBoxesStacked": () => (/* binding */ faBoxesStacked),
  108168. /* harmony export */ "faBraille": () => (/* binding */ faBraille),
  108169. /* harmony export */ "faBrain": () => (/* binding */ faBrain),
  108170. /* harmony export */ "faBrazilianRealSign": () => (/* binding */ faBrazilianRealSign),
  108171. /* harmony export */ "faBreadSlice": () => (/* binding */ faBreadSlice),
  108172. /* harmony export */ "faBridge": () => (/* binding */ faBridge),
  108173. /* harmony export */ "faBridgeCircleCheck": () => (/* binding */ faBridgeCircleCheck),
  108174. /* harmony export */ "faBridgeCircleExclamation": () => (/* binding */ faBridgeCircleExclamation),
  108175. /* harmony export */ "faBridgeCircleXmark": () => (/* binding */ faBridgeCircleXmark),
  108176. /* harmony export */ "faBridgeLock": () => (/* binding */ faBridgeLock),
  108177. /* harmony export */ "faBridgeWater": () => (/* binding */ faBridgeWater),
  108178. /* harmony export */ "faBriefcase": () => (/* binding */ faBriefcase),
  108179. /* harmony export */ "faBriefcaseClock": () => (/* binding */ faBriefcaseClock),
  108180. /* harmony export */ "faBriefcaseMedical": () => (/* binding */ faBriefcaseMedical),
  108181. /* harmony export */ "faBroadcastTower": () => (/* binding */ faBroadcastTower),
  108182. /* harmony export */ "faBroom": () => (/* binding */ faBroom),
  108183. /* harmony export */ "faBroomBall": () => (/* binding */ faBroomBall),
  108184. /* harmony export */ "faBrush": () => (/* binding */ faBrush),
  108185. /* harmony export */ "faBucket": () => (/* binding */ faBucket),
  108186. /* harmony export */ "faBug": () => (/* binding */ faBug),
  108187. /* harmony export */ "faBugSlash": () => (/* binding */ faBugSlash),
  108188. /* harmony export */ "faBugs": () => (/* binding */ faBugs),
  108189. /* harmony export */ "faBuilding": () => (/* binding */ faBuilding),
  108190. /* harmony export */ "faBuildingCircleArrowRight": () => (/* binding */ faBuildingCircleArrowRight),
  108191. /* harmony export */ "faBuildingCircleCheck": () => (/* binding */ faBuildingCircleCheck),
  108192. /* harmony export */ "faBuildingCircleExclamation": () => (/* binding */ faBuildingCircleExclamation),
  108193. /* harmony export */ "faBuildingCircleXmark": () => (/* binding */ faBuildingCircleXmark),
  108194. /* harmony export */ "faBuildingColumns": () => (/* binding */ faBuildingColumns),
  108195. /* harmony export */ "faBuildingFlag": () => (/* binding */ faBuildingFlag),
  108196. /* harmony export */ "faBuildingLock": () => (/* binding */ faBuildingLock),
  108197. /* harmony export */ "faBuildingNgo": () => (/* binding */ faBuildingNgo),
  108198. /* harmony export */ "faBuildingShield": () => (/* binding */ faBuildingShield),
  108199. /* harmony export */ "faBuildingUn": () => (/* binding */ faBuildingUn),
  108200. /* harmony export */ "faBuildingUser": () => (/* binding */ faBuildingUser),
  108201. /* harmony export */ "faBuildingWheat": () => (/* binding */ faBuildingWheat),
  108202. /* harmony export */ "faBullhorn": () => (/* binding */ faBullhorn),
  108203. /* harmony export */ "faBullseye": () => (/* binding */ faBullseye),
  108204. /* harmony export */ "faBurger": () => (/* binding */ faBurger),
  108205. /* harmony export */ "faBurn": () => (/* binding */ faBurn),
  108206. /* harmony export */ "faBurst": () => (/* binding */ faBurst),
  108207. /* harmony export */ "faBus": () => (/* binding */ faBus),
  108208. /* harmony export */ "faBusAlt": () => (/* binding */ faBusAlt),
  108209. /* harmony export */ "faBusSimple": () => (/* binding */ faBusSimple),
  108210. /* harmony export */ "faBusinessTime": () => (/* binding */ faBusinessTime),
  108211. /* harmony export */ "faC": () => (/* binding */ faC),
  108212. /* harmony export */ "faCab": () => (/* binding */ faCab),
  108213. /* harmony export */ "faCableCar": () => (/* binding */ faCableCar),
  108214. /* harmony export */ "faCake": () => (/* binding */ faCake),
  108215. /* harmony export */ "faCakeCandles": () => (/* binding */ faCakeCandles),
  108216. /* harmony export */ "faCalculator": () => (/* binding */ faCalculator),
  108217. /* harmony export */ "faCalendar": () => (/* binding */ faCalendar),
  108218. /* harmony export */ "faCalendarAlt": () => (/* binding */ faCalendarAlt),
  108219. /* harmony export */ "faCalendarCheck": () => (/* binding */ faCalendarCheck),
  108220. /* harmony export */ "faCalendarDay": () => (/* binding */ faCalendarDay),
  108221. /* harmony export */ "faCalendarDays": () => (/* binding */ faCalendarDays),
  108222. /* harmony export */ "faCalendarMinus": () => (/* binding */ faCalendarMinus),
  108223. /* harmony export */ "faCalendarPlus": () => (/* binding */ faCalendarPlus),
  108224. /* harmony export */ "faCalendarTimes": () => (/* binding */ faCalendarTimes),
  108225. /* harmony export */ "faCalendarWeek": () => (/* binding */ faCalendarWeek),
  108226. /* harmony export */ "faCalendarXmark": () => (/* binding */ faCalendarXmark),
  108227. /* harmony export */ "faCamera": () => (/* binding */ faCamera),
  108228. /* harmony export */ "faCameraAlt": () => (/* binding */ faCameraAlt),
  108229. /* harmony export */ "faCameraRetro": () => (/* binding */ faCameraRetro),
  108230. /* harmony export */ "faCameraRotate": () => (/* binding */ faCameraRotate),
  108231. /* harmony export */ "faCampground": () => (/* binding */ faCampground),
  108232. /* harmony export */ "faCancel": () => (/* binding */ faCancel),
  108233. /* harmony export */ "faCandyCane": () => (/* binding */ faCandyCane),
  108234. /* harmony export */ "faCannabis": () => (/* binding */ faCannabis),
  108235. /* harmony export */ "faCapsules": () => (/* binding */ faCapsules),
  108236. /* harmony export */ "faCar": () => (/* binding */ faCar),
  108237. /* harmony export */ "faCarAlt": () => (/* binding */ faCarAlt),
  108238. /* harmony export */ "faCarBattery": () => (/* binding */ faCarBattery),
  108239. /* harmony export */ "faCarBurst": () => (/* binding */ faCarBurst),
  108240. /* harmony export */ "faCarCrash": () => (/* binding */ faCarCrash),
  108241. /* harmony export */ "faCarOn": () => (/* binding */ faCarOn),
  108242. /* harmony export */ "faCarRear": () => (/* binding */ faCarRear),
  108243. /* harmony export */ "faCarSide": () => (/* binding */ faCarSide),
  108244. /* harmony export */ "faCarTunnel": () => (/* binding */ faCarTunnel),
  108245. /* harmony export */ "faCaravan": () => (/* binding */ faCaravan),
  108246. /* harmony export */ "faCaretDown": () => (/* binding */ faCaretDown),
  108247. /* harmony export */ "faCaretLeft": () => (/* binding */ faCaretLeft),
  108248. /* harmony export */ "faCaretRight": () => (/* binding */ faCaretRight),
  108249. /* harmony export */ "faCaretSquareDown": () => (/* binding */ faCaretSquareDown),
  108250. /* harmony export */ "faCaretSquareLeft": () => (/* binding */ faCaretSquareLeft),
  108251. /* harmony export */ "faCaretSquareRight": () => (/* binding */ faCaretSquareRight),
  108252. /* harmony export */ "faCaretSquareUp": () => (/* binding */ faCaretSquareUp),
  108253. /* harmony export */ "faCaretUp": () => (/* binding */ faCaretUp),
  108254. /* harmony export */ "faCarriageBaby": () => (/* binding */ faCarriageBaby),
  108255. /* harmony export */ "faCarrot": () => (/* binding */ faCarrot),
  108256. /* harmony export */ "faCartArrowDown": () => (/* binding */ faCartArrowDown),
  108257. /* harmony export */ "faCartFlatbed": () => (/* binding */ faCartFlatbed),
  108258. /* harmony export */ "faCartFlatbedSuitcase": () => (/* binding */ faCartFlatbedSuitcase),
  108259. /* harmony export */ "faCartPlus": () => (/* binding */ faCartPlus),
  108260. /* harmony export */ "faCartShopping": () => (/* binding */ faCartShopping),
  108261. /* harmony export */ "faCashRegister": () => (/* binding */ faCashRegister),
  108262. /* harmony export */ "faCat": () => (/* binding */ faCat),
  108263. /* harmony export */ "faCediSign": () => (/* binding */ faCediSign),
  108264. /* harmony export */ "faCentSign": () => (/* binding */ faCentSign),
  108265. /* harmony export */ "faCertificate": () => (/* binding */ faCertificate),
  108266. /* harmony export */ "faChain": () => (/* binding */ faChain),
  108267. /* harmony export */ "faChainBroken": () => (/* binding */ faChainBroken),
  108268. /* harmony export */ "faChainSlash": () => (/* binding */ faChainSlash),
  108269. /* harmony export */ "faChair": () => (/* binding */ faChair),
  108270. /* harmony export */ "faChalkboard": () => (/* binding */ faChalkboard),
  108271. /* harmony export */ "faChalkboardTeacher": () => (/* binding */ faChalkboardTeacher),
  108272. /* harmony export */ "faChalkboardUser": () => (/* binding */ faChalkboardUser),
  108273. /* harmony export */ "faChampagneGlasses": () => (/* binding */ faChampagneGlasses),
  108274. /* harmony export */ "faChargingStation": () => (/* binding */ faChargingStation),
  108275. /* harmony export */ "faChartArea": () => (/* binding */ faChartArea),
  108276. /* harmony export */ "faChartBar": () => (/* binding */ faChartBar),
  108277. /* harmony export */ "faChartColumn": () => (/* binding */ faChartColumn),
  108278. /* harmony export */ "faChartGantt": () => (/* binding */ faChartGantt),
  108279. /* harmony export */ "faChartLine": () => (/* binding */ faChartLine),
  108280. /* harmony export */ "faChartPie": () => (/* binding */ faChartPie),
  108281. /* harmony export */ "faChartSimple": () => (/* binding */ faChartSimple),
  108282. /* harmony export */ "faCheck": () => (/* binding */ faCheck),
  108283. /* harmony export */ "faCheckCircle": () => (/* binding */ faCheckCircle),
  108284. /* harmony export */ "faCheckDouble": () => (/* binding */ faCheckDouble),
  108285. /* harmony export */ "faCheckSquare": () => (/* binding */ faCheckSquare),
  108286. /* harmony export */ "faCheckToSlot": () => (/* binding */ faCheckToSlot),
  108287. /* harmony export */ "faCheese": () => (/* binding */ faCheese),
  108288. /* harmony export */ "faChess": () => (/* binding */ faChess),
  108289. /* harmony export */ "faChessBishop": () => (/* binding */ faChessBishop),
  108290. /* harmony export */ "faChessBoard": () => (/* binding */ faChessBoard),
  108291. /* harmony export */ "faChessKing": () => (/* binding */ faChessKing),
  108292. /* harmony export */ "faChessKnight": () => (/* binding */ faChessKnight),
  108293. /* harmony export */ "faChessPawn": () => (/* binding */ faChessPawn),
  108294. /* harmony export */ "faChessQueen": () => (/* binding */ faChessQueen),
  108295. /* harmony export */ "faChessRook": () => (/* binding */ faChessRook),
  108296. /* harmony export */ "faChevronCircleDown": () => (/* binding */ faChevronCircleDown),
  108297. /* harmony export */ "faChevronCircleLeft": () => (/* binding */ faChevronCircleLeft),
  108298. /* harmony export */ "faChevronCircleRight": () => (/* binding */ faChevronCircleRight),
  108299. /* harmony export */ "faChevronCircleUp": () => (/* binding */ faChevronCircleUp),
  108300. /* harmony export */ "faChevronDown": () => (/* binding */ faChevronDown),
  108301. /* harmony export */ "faChevronLeft": () => (/* binding */ faChevronLeft),
  108302. /* harmony export */ "faChevronRight": () => (/* binding */ faChevronRight),
  108303. /* harmony export */ "faChevronUp": () => (/* binding */ faChevronUp),
  108304. /* harmony export */ "faChild": () => (/* binding */ faChild),
  108305. /* harmony export */ "faChildDress": () => (/* binding */ faChildDress),
  108306. /* harmony export */ "faChildReaching": () => (/* binding */ faChildReaching),
  108307. /* harmony export */ "faChildRifle": () => (/* binding */ faChildRifle),
  108308. /* harmony export */ "faChildren": () => (/* binding */ faChildren),
  108309. /* harmony export */ "faChurch": () => (/* binding */ faChurch),
  108310. /* harmony export */ "faCircle": () => (/* binding */ faCircle),
  108311. /* harmony export */ "faCircleArrowDown": () => (/* binding */ faCircleArrowDown),
  108312. /* harmony export */ "faCircleArrowLeft": () => (/* binding */ faCircleArrowLeft),
  108313. /* harmony export */ "faCircleArrowRight": () => (/* binding */ faCircleArrowRight),
  108314. /* harmony export */ "faCircleArrowUp": () => (/* binding */ faCircleArrowUp),
  108315. /* harmony export */ "faCircleCheck": () => (/* binding */ faCircleCheck),
  108316. /* harmony export */ "faCircleChevronDown": () => (/* binding */ faCircleChevronDown),
  108317. /* harmony export */ "faCircleChevronLeft": () => (/* binding */ faCircleChevronLeft),
  108318. /* harmony export */ "faCircleChevronRight": () => (/* binding */ faCircleChevronRight),
  108319. /* harmony export */ "faCircleChevronUp": () => (/* binding */ faCircleChevronUp),
  108320. /* harmony export */ "faCircleDollarToSlot": () => (/* binding */ faCircleDollarToSlot),
  108321. /* harmony export */ "faCircleDot": () => (/* binding */ faCircleDot),
  108322. /* harmony export */ "faCircleDown": () => (/* binding */ faCircleDown),
  108323. /* harmony export */ "faCircleExclamation": () => (/* binding */ faCircleExclamation),
  108324. /* harmony export */ "faCircleH": () => (/* binding */ faCircleH),
  108325. /* harmony export */ "faCircleHalfStroke": () => (/* binding */ faCircleHalfStroke),
  108326. /* harmony export */ "faCircleInfo": () => (/* binding */ faCircleInfo),
  108327. /* harmony export */ "faCircleLeft": () => (/* binding */ faCircleLeft),
  108328. /* harmony export */ "faCircleMinus": () => (/* binding */ faCircleMinus),
  108329. /* harmony export */ "faCircleNodes": () => (/* binding */ faCircleNodes),
  108330. /* harmony export */ "faCircleNotch": () => (/* binding */ faCircleNotch),
  108331. /* harmony export */ "faCirclePause": () => (/* binding */ faCirclePause),
  108332. /* harmony export */ "faCirclePlay": () => (/* binding */ faCirclePlay),
  108333. /* harmony export */ "faCirclePlus": () => (/* binding */ faCirclePlus),
  108334. /* harmony export */ "faCircleQuestion": () => (/* binding */ faCircleQuestion),
  108335. /* harmony export */ "faCircleRadiation": () => (/* binding */ faCircleRadiation),
  108336. /* harmony export */ "faCircleRight": () => (/* binding */ faCircleRight),
  108337. /* harmony export */ "faCircleStop": () => (/* binding */ faCircleStop),
  108338. /* harmony export */ "faCircleUp": () => (/* binding */ faCircleUp),
  108339. /* harmony export */ "faCircleUser": () => (/* binding */ faCircleUser),
  108340. /* harmony export */ "faCircleXmark": () => (/* binding */ faCircleXmark),
  108341. /* harmony export */ "faCity": () => (/* binding */ faCity),
  108342. /* harmony export */ "faClapperboard": () => (/* binding */ faClapperboard),
  108343. /* harmony export */ "faClinicMedical": () => (/* binding */ faClinicMedical),
  108344. /* harmony export */ "faClipboard": () => (/* binding */ faClipboard),
  108345. /* harmony export */ "faClipboardCheck": () => (/* binding */ faClipboardCheck),
  108346. /* harmony export */ "faClipboardList": () => (/* binding */ faClipboardList),
  108347. /* harmony export */ "faClipboardQuestion": () => (/* binding */ faClipboardQuestion),
  108348. /* harmony export */ "faClipboardUser": () => (/* binding */ faClipboardUser),
  108349. /* harmony export */ "faClock": () => (/* binding */ faClock),
  108350. /* harmony export */ "faClockFour": () => (/* binding */ faClockFour),
  108351. /* harmony export */ "faClockRotateLeft": () => (/* binding */ faClockRotateLeft),
  108352. /* harmony export */ "faClone": () => (/* binding */ faClone),
  108353. /* harmony export */ "faClose": () => (/* binding */ faClose),
  108354. /* harmony export */ "faClosedCaptioning": () => (/* binding */ faClosedCaptioning),
  108355. /* harmony export */ "faCloud": () => (/* binding */ faCloud),
  108356. /* harmony export */ "faCloudArrowDown": () => (/* binding */ faCloudArrowDown),
  108357. /* harmony export */ "faCloudArrowUp": () => (/* binding */ faCloudArrowUp),
  108358. /* harmony export */ "faCloudBolt": () => (/* binding */ faCloudBolt),
  108359. /* harmony export */ "faCloudDownload": () => (/* binding */ faCloudDownload),
  108360. /* harmony export */ "faCloudDownloadAlt": () => (/* binding */ faCloudDownloadAlt),
  108361. /* harmony export */ "faCloudMeatball": () => (/* binding */ faCloudMeatball),
  108362. /* harmony export */ "faCloudMoon": () => (/* binding */ faCloudMoon),
  108363. /* harmony export */ "faCloudMoonRain": () => (/* binding */ faCloudMoonRain),
  108364. /* harmony export */ "faCloudRain": () => (/* binding */ faCloudRain),
  108365. /* harmony export */ "faCloudShowersHeavy": () => (/* binding */ faCloudShowersHeavy),
  108366. /* harmony export */ "faCloudShowersWater": () => (/* binding */ faCloudShowersWater),
  108367. /* harmony export */ "faCloudSun": () => (/* binding */ faCloudSun),
  108368. /* harmony export */ "faCloudSunRain": () => (/* binding */ faCloudSunRain),
  108369. /* harmony export */ "faCloudUpload": () => (/* binding */ faCloudUpload),
  108370. /* harmony export */ "faCloudUploadAlt": () => (/* binding */ faCloudUploadAlt),
  108371. /* harmony export */ "faClover": () => (/* binding */ faClover),
  108372. /* harmony export */ "faCny": () => (/* binding */ faCny),
  108373. /* harmony export */ "faCocktail": () => (/* binding */ faCocktail),
  108374. /* harmony export */ "faCode": () => (/* binding */ faCode),
  108375. /* harmony export */ "faCodeBranch": () => (/* binding */ faCodeBranch),
  108376. /* harmony export */ "faCodeCommit": () => (/* binding */ faCodeCommit),
  108377. /* harmony export */ "faCodeCompare": () => (/* binding */ faCodeCompare),
  108378. /* harmony export */ "faCodeFork": () => (/* binding */ faCodeFork),
  108379. /* harmony export */ "faCodeMerge": () => (/* binding */ faCodeMerge),
  108380. /* harmony export */ "faCodePullRequest": () => (/* binding */ faCodePullRequest),
  108381. /* harmony export */ "faCoffee": () => (/* binding */ faCoffee),
  108382. /* harmony export */ "faCog": () => (/* binding */ faCog),
  108383. /* harmony export */ "faCogs": () => (/* binding */ faCogs),
  108384. /* harmony export */ "faCoins": () => (/* binding */ faCoins),
  108385. /* harmony export */ "faColonSign": () => (/* binding */ faColonSign),
  108386. /* harmony export */ "faColumns": () => (/* binding */ faColumns),
  108387. /* harmony export */ "faComment": () => (/* binding */ faComment),
  108388. /* harmony export */ "faCommentAlt": () => (/* binding */ faCommentAlt),
  108389. /* harmony export */ "faCommentDollar": () => (/* binding */ faCommentDollar),
  108390. /* harmony export */ "faCommentDots": () => (/* binding */ faCommentDots),
  108391. /* harmony export */ "faCommentMedical": () => (/* binding */ faCommentMedical),
  108392. /* harmony export */ "faCommentSlash": () => (/* binding */ faCommentSlash),
  108393. /* harmony export */ "faCommentSms": () => (/* binding */ faCommentSms),
  108394. /* harmony export */ "faCommenting": () => (/* binding */ faCommenting),
  108395. /* harmony export */ "faComments": () => (/* binding */ faComments),
  108396. /* harmony export */ "faCommentsDollar": () => (/* binding */ faCommentsDollar),
  108397. /* harmony export */ "faCompactDisc": () => (/* binding */ faCompactDisc),
  108398. /* harmony export */ "faCompass": () => (/* binding */ faCompass),
  108399. /* harmony export */ "faCompassDrafting": () => (/* binding */ faCompassDrafting),
  108400. /* harmony export */ "faCompress": () => (/* binding */ faCompress),
  108401. /* harmony export */ "faCompressAlt": () => (/* binding */ faCompressAlt),
  108402. /* harmony export */ "faCompressArrowsAlt": () => (/* binding */ faCompressArrowsAlt),
  108403. /* harmony export */ "faComputer": () => (/* binding */ faComputer),
  108404. /* harmony export */ "faComputerMouse": () => (/* binding */ faComputerMouse),
  108405. /* harmony export */ "faConciergeBell": () => (/* binding */ faConciergeBell),
  108406. /* harmony export */ "faContactBook": () => (/* binding */ faContactBook),
  108407. /* harmony export */ "faContactCard": () => (/* binding */ faContactCard),
  108408. /* harmony export */ "faCookie": () => (/* binding */ faCookie),
  108409. /* harmony export */ "faCookieBite": () => (/* binding */ faCookieBite),
  108410. /* harmony export */ "faCopy": () => (/* binding */ faCopy),
  108411. /* harmony export */ "faCopyright": () => (/* binding */ faCopyright),
  108412. /* harmony export */ "faCouch": () => (/* binding */ faCouch),
  108413. /* harmony export */ "faCow": () => (/* binding */ faCow),
  108414. /* harmony export */ "faCreditCard": () => (/* binding */ faCreditCard),
  108415. /* harmony export */ "faCreditCardAlt": () => (/* binding */ faCreditCardAlt),
  108416. /* harmony export */ "faCrop": () => (/* binding */ faCrop),
  108417. /* harmony export */ "faCropAlt": () => (/* binding */ faCropAlt),
  108418. /* harmony export */ "faCropSimple": () => (/* binding */ faCropSimple),
  108419. /* harmony export */ "faCross": () => (/* binding */ faCross),
  108420. /* harmony export */ "faCrosshairs": () => (/* binding */ faCrosshairs),
  108421. /* harmony export */ "faCrow": () => (/* binding */ faCrow),
  108422. /* harmony export */ "faCrown": () => (/* binding */ faCrown),
  108423. /* harmony export */ "faCrutch": () => (/* binding */ faCrutch),
  108424. /* harmony export */ "faCruzeiroSign": () => (/* binding */ faCruzeiroSign),
  108425. /* harmony export */ "faCube": () => (/* binding */ faCube),
  108426. /* harmony export */ "faCubes": () => (/* binding */ faCubes),
  108427. /* harmony export */ "faCubesStacked": () => (/* binding */ faCubesStacked),
  108428. /* harmony export */ "faCut": () => (/* binding */ faCut),
  108429. /* harmony export */ "faCutlery": () => (/* binding */ faCutlery),
  108430. /* harmony export */ "faD": () => (/* binding */ faD),
  108431. /* harmony export */ "faDashboard": () => (/* binding */ faDashboard),
  108432. /* harmony export */ "faDatabase": () => (/* binding */ faDatabase),
  108433. /* harmony export */ "faDeaf": () => (/* binding */ faDeaf),
  108434. /* harmony export */ "faDeafness": () => (/* binding */ faDeafness),
  108435. /* harmony export */ "faDedent": () => (/* binding */ faDedent),
  108436. /* harmony export */ "faDeleteLeft": () => (/* binding */ faDeleteLeft),
  108437. /* harmony export */ "faDemocrat": () => (/* binding */ faDemocrat),
  108438. /* harmony export */ "faDesktop": () => (/* binding */ faDesktop),
  108439. /* harmony export */ "faDesktopAlt": () => (/* binding */ faDesktopAlt),
  108440. /* harmony export */ "faDharmachakra": () => (/* binding */ faDharmachakra),
  108441. /* harmony export */ "faDiagnoses": () => (/* binding */ faDiagnoses),
  108442. /* harmony export */ "faDiagramNext": () => (/* binding */ faDiagramNext),
  108443. /* harmony export */ "faDiagramPredecessor": () => (/* binding */ faDiagramPredecessor),
  108444. /* harmony export */ "faDiagramProject": () => (/* binding */ faDiagramProject),
  108445. /* harmony export */ "faDiagramSuccessor": () => (/* binding */ faDiagramSuccessor),
  108446. /* harmony export */ "faDiamond": () => (/* binding */ faDiamond),
  108447. /* harmony export */ "faDiamondTurnRight": () => (/* binding */ faDiamondTurnRight),
  108448. /* harmony export */ "faDice": () => (/* binding */ faDice),
  108449. /* harmony export */ "faDiceD20": () => (/* binding */ faDiceD20),
  108450. /* harmony export */ "faDiceD6": () => (/* binding */ faDiceD6),
  108451. /* harmony export */ "faDiceFive": () => (/* binding */ faDiceFive),
  108452. /* harmony export */ "faDiceFour": () => (/* binding */ faDiceFour),
  108453. /* harmony export */ "faDiceOne": () => (/* binding */ faDiceOne),
  108454. /* harmony export */ "faDiceSix": () => (/* binding */ faDiceSix),
  108455. /* harmony export */ "faDiceThree": () => (/* binding */ faDiceThree),
  108456. /* harmony export */ "faDiceTwo": () => (/* binding */ faDiceTwo),
  108457. /* harmony export */ "faDigging": () => (/* binding */ faDigging),
  108458. /* harmony export */ "faDigitalTachograph": () => (/* binding */ faDigitalTachograph),
  108459. /* harmony export */ "faDirections": () => (/* binding */ faDirections),
  108460. /* harmony export */ "faDisease": () => (/* binding */ faDisease),
  108461. /* harmony export */ "faDisplay": () => (/* binding */ faDisplay),
  108462. /* harmony export */ "faDivide": () => (/* binding */ faDivide),
  108463. /* harmony export */ "faDizzy": () => (/* binding */ faDizzy),
  108464. /* harmony export */ "faDna": () => (/* binding */ faDna),
  108465. /* harmony export */ "faDog": () => (/* binding */ faDog),
  108466. /* harmony export */ "faDollar": () => (/* binding */ faDollar),
  108467. /* harmony export */ "faDollarSign": () => (/* binding */ faDollarSign),
  108468. /* harmony export */ "faDolly": () => (/* binding */ faDolly),
  108469. /* harmony export */ "faDollyBox": () => (/* binding */ faDollyBox),
  108470. /* harmony export */ "faDollyFlatbed": () => (/* binding */ faDollyFlatbed),
  108471. /* harmony export */ "faDonate": () => (/* binding */ faDonate),
  108472. /* harmony export */ "faDongSign": () => (/* binding */ faDongSign),
  108473. /* harmony export */ "faDoorClosed": () => (/* binding */ faDoorClosed),
  108474. /* harmony export */ "faDoorOpen": () => (/* binding */ faDoorOpen),
  108475. /* harmony export */ "faDotCircle": () => (/* binding */ faDotCircle),
  108476. /* harmony export */ "faDove": () => (/* binding */ faDove),
  108477. /* harmony export */ "faDownLeftAndUpRightToCenter": () => (/* binding */ faDownLeftAndUpRightToCenter),
  108478. /* harmony export */ "faDownLong": () => (/* binding */ faDownLong),
  108479. /* harmony export */ "faDownload": () => (/* binding */ faDownload),
  108480. /* harmony export */ "faDraftingCompass": () => (/* binding */ faDraftingCompass),
  108481. /* harmony export */ "faDragon": () => (/* binding */ faDragon),
  108482. /* harmony export */ "faDrawPolygon": () => (/* binding */ faDrawPolygon),
  108483. /* harmony export */ "faDriversLicense": () => (/* binding */ faDriversLicense),
  108484. /* harmony export */ "faDroplet": () => (/* binding */ faDroplet),
  108485. /* harmony export */ "faDropletSlash": () => (/* binding */ faDropletSlash),
  108486. /* harmony export */ "faDrum": () => (/* binding */ faDrum),
  108487. /* harmony export */ "faDrumSteelpan": () => (/* binding */ faDrumSteelpan),
  108488. /* harmony export */ "faDrumstickBite": () => (/* binding */ faDrumstickBite),
  108489. /* harmony export */ "faDumbbell": () => (/* binding */ faDumbbell),
  108490. /* harmony export */ "faDumpster": () => (/* binding */ faDumpster),
  108491. /* harmony export */ "faDumpsterFire": () => (/* binding */ faDumpsterFire),
  108492. /* harmony export */ "faDungeon": () => (/* binding */ faDungeon),
  108493. /* harmony export */ "faE": () => (/* binding */ faE),
  108494. /* harmony export */ "faEarDeaf": () => (/* binding */ faEarDeaf),
  108495. /* harmony export */ "faEarListen": () => (/* binding */ faEarListen),
  108496. /* harmony export */ "faEarth": () => (/* binding */ faEarth),
  108497. /* harmony export */ "faEarthAfrica": () => (/* binding */ faEarthAfrica),
  108498. /* harmony export */ "faEarthAmerica": () => (/* binding */ faEarthAmerica),
  108499. /* harmony export */ "faEarthAmericas": () => (/* binding */ faEarthAmericas),
  108500. /* harmony export */ "faEarthAsia": () => (/* binding */ faEarthAsia),
  108501. /* harmony export */ "faEarthEurope": () => (/* binding */ faEarthEurope),
  108502. /* harmony export */ "faEarthOceania": () => (/* binding */ faEarthOceania),
  108503. /* harmony export */ "faEdit": () => (/* binding */ faEdit),
  108504. /* harmony export */ "faEgg": () => (/* binding */ faEgg),
  108505. /* harmony export */ "faEject": () => (/* binding */ faEject),
  108506. /* harmony export */ "faElevator": () => (/* binding */ faElevator),
  108507. /* harmony export */ "faEllipsis": () => (/* binding */ faEllipsis),
  108508. /* harmony export */ "faEllipsisH": () => (/* binding */ faEllipsisH),
  108509. /* harmony export */ "faEllipsisV": () => (/* binding */ faEllipsisV),
  108510. /* harmony export */ "faEllipsisVertical": () => (/* binding */ faEllipsisVertical),
  108511. /* harmony export */ "faEnvelope": () => (/* binding */ faEnvelope),
  108512. /* harmony export */ "faEnvelopeCircleCheck": () => (/* binding */ faEnvelopeCircleCheck),
  108513. /* harmony export */ "faEnvelopeOpen": () => (/* binding */ faEnvelopeOpen),
  108514. /* harmony export */ "faEnvelopeOpenText": () => (/* binding */ faEnvelopeOpenText),
  108515. /* harmony export */ "faEnvelopeSquare": () => (/* binding */ faEnvelopeSquare),
  108516. /* harmony export */ "faEnvelopesBulk": () => (/* binding */ faEnvelopesBulk),
  108517. /* harmony export */ "faEquals": () => (/* binding */ faEquals),
  108518. /* harmony export */ "faEraser": () => (/* binding */ faEraser),
  108519. /* harmony export */ "faEthernet": () => (/* binding */ faEthernet),
  108520. /* harmony export */ "faEur": () => (/* binding */ faEur),
  108521. /* harmony export */ "faEuro": () => (/* binding */ faEuro),
  108522. /* harmony export */ "faEuroSign": () => (/* binding */ faEuroSign),
  108523. /* harmony export */ "faExchange": () => (/* binding */ faExchange),
  108524. /* harmony export */ "faExchangeAlt": () => (/* binding */ faExchangeAlt),
  108525. /* harmony export */ "faExclamation": () => (/* binding */ faExclamation),
  108526. /* harmony export */ "faExclamationCircle": () => (/* binding */ faExclamationCircle),
  108527. /* harmony export */ "faExclamationTriangle": () => (/* binding */ faExclamationTriangle),
  108528. /* harmony export */ "faExpand": () => (/* binding */ faExpand),
  108529. /* harmony export */ "faExpandAlt": () => (/* binding */ faExpandAlt),
  108530. /* harmony export */ "faExpandArrowsAlt": () => (/* binding */ faExpandArrowsAlt),
  108531. /* harmony export */ "faExplosion": () => (/* binding */ faExplosion),
  108532. /* harmony export */ "faExternalLink": () => (/* binding */ faExternalLink),
  108533. /* harmony export */ "faExternalLinkAlt": () => (/* binding */ faExternalLinkAlt),
  108534. /* harmony export */ "faExternalLinkSquare": () => (/* binding */ faExternalLinkSquare),
  108535. /* harmony export */ "faExternalLinkSquareAlt": () => (/* binding */ faExternalLinkSquareAlt),
  108536. /* harmony export */ "faEye": () => (/* binding */ faEye),
  108537. /* harmony export */ "faEyeDropper": () => (/* binding */ faEyeDropper),
  108538. /* harmony export */ "faEyeDropperEmpty": () => (/* binding */ faEyeDropperEmpty),
  108539. /* harmony export */ "faEyeLowVision": () => (/* binding */ faEyeLowVision),
  108540. /* harmony export */ "faEyeSlash": () => (/* binding */ faEyeSlash),
  108541. /* harmony export */ "faEyedropper": () => (/* binding */ faEyedropper),
  108542. /* harmony export */ "faF": () => (/* binding */ faF),
  108543. /* harmony export */ "faFaceAngry": () => (/* binding */ faFaceAngry),
  108544. /* harmony export */ "faFaceDizzy": () => (/* binding */ faFaceDizzy),
  108545. /* harmony export */ "faFaceFlushed": () => (/* binding */ faFaceFlushed),
  108546. /* harmony export */ "faFaceFrown": () => (/* binding */ faFaceFrown),
  108547. /* harmony export */ "faFaceFrownOpen": () => (/* binding */ faFaceFrownOpen),
  108548. /* harmony export */ "faFaceGrimace": () => (/* binding */ faFaceGrimace),
  108549. /* harmony export */ "faFaceGrin": () => (/* binding */ faFaceGrin),
  108550. /* harmony export */ "faFaceGrinBeam": () => (/* binding */ faFaceGrinBeam),
  108551. /* harmony export */ "faFaceGrinBeamSweat": () => (/* binding */ faFaceGrinBeamSweat),
  108552. /* harmony export */ "faFaceGrinHearts": () => (/* binding */ faFaceGrinHearts),
  108553. /* harmony export */ "faFaceGrinSquint": () => (/* binding */ faFaceGrinSquint),
  108554. /* harmony export */ "faFaceGrinSquintTears": () => (/* binding */ faFaceGrinSquintTears),
  108555. /* harmony export */ "faFaceGrinStars": () => (/* binding */ faFaceGrinStars),
  108556. /* harmony export */ "faFaceGrinTears": () => (/* binding */ faFaceGrinTears),
  108557. /* harmony export */ "faFaceGrinTongue": () => (/* binding */ faFaceGrinTongue),
  108558. /* harmony export */ "faFaceGrinTongueSquint": () => (/* binding */ faFaceGrinTongueSquint),
  108559. /* harmony export */ "faFaceGrinTongueWink": () => (/* binding */ faFaceGrinTongueWink),
  108560. /* harmony export */ "faFaceGrinWide": () => (/* binding */ faFaceGrinWide),
  108561. /* harmony export */ "faFaceGrinWink": () => (/* binding */ faFaceGrinWink),
  108562. /* harmony export */ "faFaceKiss": () => (/* binding */ faFaceKiss),
  108563. /* harmony export */ "faFaceKissBeam": () => (/* binding */ faFaceKissBeam),
  108564. /* harmony export */ "faFaceKissWinkHeart": () => (/* binding */ faFaceKissWinkHeart),
  108565. /* harmony export */ "faFaceLaugh": () => (/* binding */ faFaceLaugh),
  108566. /* harmony export */ "faFaceLaughBeam": () => (/* binding */ faFaceLaughBeam),
  108567. /* harmony export */ "faFaceLaughSquint": () => (/* binding */ faFaceLaughSquint),
  108568. /* harmony export */ "faFaceLaughWink": () => (/* binding */ faFaceLaughWink),
  108569. /* harmony export */ "faFaceMeh": () => (/* binding */ faFaceMeh),
  108570. /* harmony export */ "faFaceMehBlank": () => (/* binding */ faFaceMehBlank),
  108571. /* harmony export */ "faFaceRollingEyes": () => (/* binding */ faFaceRollingEyes),
  108572. /* harmony export */ "faFaceSadCry": () => (/* binding */ faFaceSadCry),
  108573. /* harmony export */ "faFaceSadTear": () => (/* binding */ faFaceSadTear),
  108574. /* harmony export */ "faFaceSmile": () => (/* binding */ faFaceSmile),
  108575. /* harmony export */ "faFaceSmileBeam": () => (/* binding */ faFaceSmileBeam),
  108576. /* harmony export */ "faFaceSmileWink": () => (/* binding */ faFaceSmileWink),
  108577. /* harmony export */ "faFaceSurprise": () => (/* binding */ faFaceSurprise),
  108578. /* harmony export */ "faFaceTired": () => (/* binding */ faFaceTired),
  108579. /* harmony export */ "faFan": () => (/* binding */ faFan),
  108580. /* harmony export */ "faFastBackward": () => (/* binding */ faFastBackward),
  108581. /* harmony export */ "faFastForward": () => (/* binding */ faFastForward),
  108582. /* harmony export */ "faFaucet": () => (/* binding */ faFaucet),
  108583. /* harmony export */ "faFaucetDrip": () => (/* binding */ faFaucetDrip),
  108584. /* harmony export */ "faFax": () => (/* binding */ faFax),
  108585. /* harmony export */ "faFeather": () => (/* binding */ faFeather),
  108586. /* harmony export */ "faFeatherAlt": () => (/* binding */ faFeatherAlt),
  108587. /* harmony export */ "faFeatherPointed": () => (/* binding */ faFeatherPointed),
  108588. /* harmony export */ "faFeed": () => (/* binding */ faFeed),
  108589. /* harmony export */ "faFemale": () => (/* binding */ faFemale),
  108590. /* harmony export */ "faFerry": () => (/* binding */ faFerry),
  108591. /* harmony export */ "faFighterJet": () => (/* binding */ faFighterJet),
  108592. /* harmony export */ "faFile": () => (/* binding */ faFile),
  108593. /* harmony export */ "faFileAlt": () => (/* binding */ faFileAlt),
  108594. /* harmony export */ "faFileArchive": () => (/* binding */ faFileArchive),
  108595. /* harmony export */ "faFileArrowDown": () => (/* binding */ faFileArrowDown),
  108596. /* harmony export */ "faFileArrowUp": () => (/* binding */ faFileArrowUp),
  108597. /* harmony export */ "faFileAudio": () => (/* binding */ faFileAudio),
  108598. /* harmony export */ "faFileCircleCheck": () => (/* binding */ faFileCircleCheck),
  108599. /* harmony export */ "faFileCircleExclamation": () => (/* binding */ faFileCircleExclamation),
  108600. /* harmony export */ "faFileCircleMinus": () => (/* binding */ faFileCircleMinus),
  108601. /* harmony export */ "faFileCirclePlus": () => (/* binding */ faFileCirclePlus),
  108602. /* harmony export */ "faFileCircleQuestion": () => (/* binding */ faFileCircleQuestion),
  108603. /* harmony export */ "faFileCircleXmark": () => (/* binding */ faFileCircleXmark),
  108604. /* harmony export */ "faFileClipboard": () => (/* binding */ faFileClipboard),
  108605. /* harmony export */ "faFileCode": () => (/* binding */ faFileCode),
  108606. /* harmony export */ "faFileContract": () => (/* binding */ faFileContract),
  108607. /* harmony export */ "faFileCsv": () => (/* binding */ faFileCsv),
  108608. /* harmony export */ "faFileDownload": () => (/* binding */ faFileDownload),
  108609. /* harmony export */ "faFileEdit": () => (/* binding */ faFileEdit),
  108610. /* harmony export */ "faFileExcel": () => (/* binding */ faFileExcel),
  108611. /* harmony export */ "faFileExport": () => (/* binding */ faFileExport),
  108612. /* harmony export */ "faFileImage": () => (/* binding */ faFileImage),
  108613. /* harmony export */ "faFileImport": () => (/* binding */ faFileImport),
  108614. /* harmony export */ "faFileInvoice": () => (/* binding */ faFileInvoice),
  108615. /* harmony export */ "faFileInvoiceDollar": () => (/* binding */ faFileInvoiceDollar),
  108616. /* harmony export */ "faFileLines": () => (/* binding */ faFileLines),
  108617. /* harmony export */ "faFileMedical": () => (/* binding */ faFileMedical),
  108618. /* harmony export */ "faFileMedicalAlt": () => (/* binding */ faFileMedicalAlt),
  108619. /* harmony export */ "faFilePdf": () => (/* binding */ faFilePdf),
  108620. /* harmony export */ "faFilePen": () => (/* binding */ faFilePen),
  108621. /* harmony export */ "faFilePowerpoint": () => (/* binding */ faFilePowerpoint),
  108622. /* harmony export */ "faFilePrescription": () => (/* binding */ faFilePrescription),
  108623. /* harmony export */ "faFileShield": () => (/* binding */ faFileShield),
  108624. /* harmony export */ "faFileSignature": () => (/* binding */ faFileSignature),
  108625. /* harmony export */ "faFileText": () => (/* binding */ faFileText),
  108626. /* harmony export */ "faFileUpload": () => (/* binding */ faFileUpload),
  108627. /* harmony export */ "faFileVideo": () => (/* binding */ faFileVideo),
  108628. /* harmony export */ "faFileWaveform": () => (/* binding */ faFileWaveform),
  108629. /* harmony export */ "faFileWord": () => (/* binding */ faFileWord),
  108630. /* harmony export */ "faFileZipper": () => (/* binding */ faFileZipper),
  108631. /* harmony export */ "faFill": () => (/* binding */ faFill),
  108632. /* harmony export */ "faFillDrip": () => (/* binding */ faFillDrip),
  108633. /* harmony export */ "faFilm": () => (/* binding */ faFilm),
  108634. /* harmony export */ "faFilter": () => (/* binding */ faFilter),
  108635. /* harmony export */ "faFilterCircleDollar": () => (/* binding */ faFilterCircleDollar),
  108636. /* harmony export */ "faFilterCircleXmark": () => (/* binding */ faFilterCircleXmark),
  108637. /* harmony export */ "faFingerprint": () => (/* binding */ faFingerprint),
  108638. /* harmony export */ "faFire": () => (/* binding */ faFire),
  108639. /* harmony export */ "faFireAlt": () => (/* binding */ faFireAlt),
  108640. /* harmony export */ "faFireBurner": () => (/* binding */ faFireBurner),
  108641. /* harmony export */ "faFireExtinguisher": () => (/* binding */ faFireExtinguisher),
  108642. /* harmony export */ "faFireFlameCurved": () => (/* binding */ faFireFlameCurved),
  108643. /* harmony export */ "faFireFlameSimple": () => (/* binding */ faFireFlameSimple),
  108644. /* harmony export */ "faFirstAid": () => (/* binding */ faFirstAid),
  108645. /* harmony export */ "faFish": () => (/* binding */ faFish),
  108646. /* harmony export */ "faFishFins": () => (/* binding */ faFishFins),
  108647. /* harmony export */ "faFistRaised": () => (/* binding */ faFistRaised),
  108648. /* harmony export */ "faFlag": () => (/* binding */ faFlag),
  108649. /* harmony export */ "faFlagCheckered": () => (/* binding */ faFlagCheckered),
  108650. /* harmony export */ "faFlagUsa": () => (/* binding */ faFlagUsa),
  108651. /* harmony export */ "faFlask": () => (/* binding */ faFlask),
  108652. /* harmony export */ "faFlaskVial": () => (/* binding */ faFlaskVial),
  108653. /* harmony export */ "faFloppyDisk": () => (/* binding */ faFloppyDisk),
  108654. /* harmony export */ "faFlorinSign": () => (/* binding */ faFlorinSign),
  108655. /* harmony export */ "faFlushed": () => (/* binding */ faFlushed),
  108656. /* harmony export */ "faFolder": () => (/* binding */ faFolder),
  108657. /* harmony export */ "faFolderBlank": () => (/* binding */ faFolderBlank),
  108658. /* harmony export */ "faFolderClosed": () => (/* binding */ faFolderClosed),
  108659. /* harmony export */ "faFolderMinus": () => (/* binding */ faFolderMinus),
  108660. /* harmony export */ "faFolderOpen": () => (/* binding */ faFolderOpen),
  108661. /* harmony export */ "faFolderPlus": () => (/* binding */ faFolderPlus),
  108662. /* harmony export */ "faFolderTree": () => (/* binding */ faFolderTree),
  108663. /* harmony export */ "faFont": () => (/* binding */ faFont),
  108664. /* harmony export */ "faFontAwesome": () => (/* binding */ faFontAwesome),
  108665. /* harmony export */ "faFontAwesomeFlag": () => (/* binding */ faFontAwesomeFlag),
  108666. /* harmony export */ "faFontAwesomeLogoFull": () => (/* binding */ faFontAwesomeLogoFull),
  108667. /* harmony export */ "faFootball": () => (/* binding */ faFootball),
  108668. /* harmony export */ "faFootballBall": () => (/* binding */ faFootballBall),
  108669. /* harmony export */ "faForward": () => (/* binding */ faForward),
  108670. /* harmony export */ "faForwardFast": () => (/* binding */ faForwardFast),
  108671. /* harmony export */ "faForwardStep": () => (/* binding */ faForwardStep),
  108672. /* harmony export */ "faFrancSign": () => (/* binding */ faFrancSign),
  108673. /* harmony export */ "faFrog": () => (/* binding */ faFrog),
  108674. /* harmony export */ "faFrown": () => (/* binding */ faFrown),
  108675. /* harmony export */ "faFrownOpen": () => (/* binding */ faFrownOpen),
  108676. /* harmony export */ "faFunnelDollar": () => (/* binding */ faFunnelDollar),
  108677. /* harmony export */ "faFutbol": () => (/* binding */ faFutbol),
  108678. /* harmony export */ "faFutbolBall": () => (/* binding */ faFutbolBall),
  108679. /* harmony export */ "faG": () => (/* binding */ faG),
  108680. /* harmony export */ "faGamepad": () => (/* binding */ faGamepad),
  108681. /* harmony export */ "faGasPump": () => (/* binding */ faGasPump),
  108682. /* harmony export */ "faGauge": () => (/* binding */ faGauge),
  108683. /* harmony export */ "faGaugeHigh": () => (/* binding */ faGaugeHigh),
  108684. /* harmony export */ "faGaugeMed": () => (/* binding */ faGaugeMed),
  108685. /* harmony export */ "faGaugeSimple": () => (/* binding */ faGaugeSimple),
  108686. /* harmony export */ "faGaugeSimpleHigh": () => (/* binding */ faGaugeSimpleHigh),
  108687. /* harmony export */ "faGaugeSimpleMed": () => (/* binding */ faGaugeSimpleMed),
  108688. /* harmony export */ "faGavel": () => (/* binding */ faGavel),
  108689. /* harmony export */ "faGbp": () => (/* binding */ faGbp),
  108690. /* harmony export */ "faGear": () => (/* binding */ faGear),
  108691. /* harmony export */ "faGears": () => (/* binding */ faGears),
  108692. /* harmony export */ "faGem": () => (/* binding */ faGem),
  108693. /* harmony export */ "faGenderless": () => (/* binding */ faGenderless),
  108694. /* harmony export */ "faGhost": () => (/* binding */ faGhost),
  108695. /* harmony export */ "faGift": () => (/* binding */ faGift),
  108696. /* harmony export */ "faGifts": () => (/* binding */ faGifts),
  108697. /* harmony export */ "faGlassCheers": () => (/* binding */ faGlassCheers),
  108698. /* harmony export */ "faGlassMartini": () => (/* binding */ faGlassMartini),
  108699. /* harmony export */ "faGlassMartiniAlt": () => (/* binding */ faGlassMartiniAlt),
  108700. /* harmony export */ "faGlassWater": () => (/* binding */ faGlassWater),
  108701. /* harmony export */ "faGlassWaterDroplet": () => (/* binding */ faGlassWaterDroplet),
  108702. /* harmony export */ "faGlassWhiskey": () => (/* binding */ faGlassWhiskey),
  108703. /* harmony export */ "faGlasses": () => (/* binding */ faGlasses),
  108704. /* harmony export */ "faGlobe": () => (/* binding */ faGlobe),
  108705. /* harmony export */ "faGlobeAfrica": () => (/* binding */ faGlobeAfrica),
  108706. /* harmony export */ "faGlobeAmericas": () => (/* binding */ faGlobeAmericas),
  108707. /* harmony export */ "faGlobeAsia": () => (/* binding */ faGlobeAsia),
  108708. /* harmony export */ "faGlobeEurope": () => (/* binding */ faGlobeEurope),
  108709. /* harmony export */ "faGlobeOceania": () => (/* binding */ faGlobeOceania),
  108710. /* harmony export */ "faGolfBall": () => (/* binding */ faGolfBall),
  108711. /* harmony export */ "faGolfBallTee": () => (/* binding */ faGolfBallTee),
  108712. /* harmony export */ "faGopuram": () => (/* binding */ faGopuram),
  108713. /* harmony export */ "faGraduationCap": () => (/* binding */ faGraduationCap),
  108714. /* harmony export */ "faGreaterThan": () => (/* binding */ faGreaterThan),
  108715. /* harmony export */ "faGreaterThanEqual": () => (/* binding */ faGreaterThanEqual),
  108716. /* harmony export */ "faGrimace": () => (/* binding */ faGrimace),
  108717. /* harmony export */ "faGrin": () => (/* binding */ faGrin),
  108718. /* harmony export */ "faGrinAlt": () => (/* binding */ faGrinAlt),
  108719. /* harmony export */ "faGrinBeam": () => (/* binding */ faGrinBeam),
  108720. /* harmony export */ "faGrinBeamSweat": () => (/* binding */ faGrinBeamSweat),
  108721. /* harmony export */ "faGrinHearts": () => (/* binding */ faGrinHearts),
  108722. /* harmony export */ "faGrinSquint": () => (/* binding */ faGrinSquint),
  108723. /* harmony export */ "faGrinSquintTears": () => (/* binding */ faGrinSquintTears),
  108724. /* harmony export */ "faGrinStars": () => (/* binding */ faGrinStars),
  108725. /* harmony export */ "faGrinTears": () => (/* binding */ faGrinTears),
  108726. /* harmony export */ "faGrinTongue": () => (/* binding */ faGrinTongue),
  108727. /* harmony export */ "faGrinTongueSquint": () => (/* binding */ faGrinTongueSquint),
  108728. /* harmony export */ "faGrinTongueWink": () => (/* binding */ faGrinTongueWink),
  108729. /* harmony export */ "faGrinWink": () => (/* binding */ faGrinWink),
  108730. /* harmony export */ "faGrip": () => (/* binding */ faGrip),
  108731. /* harmony export */ "faGripHorizontal": () => (/* binding */ faGripHorizontal),
  108732. /* harmony export */ "faGripLines": () => (/* binding */ faGripLines),
  108733. /* harmony export */ "faGripLinesVertical": () => (/* binding */ faGripLinesVertical),
  108734. /* harmony export */ "faGripVertical": () => (/* binding */ faGripVertical),
  108735. /* harmony export */ "faGroupArrowsRotate": () => (/* binding */ faGroupArrowsRotate),
  108736. /* harmony export */ "faGuaraniSign": () => (/* binding */ faGuaraniSign),
  108737. /* harmony export */ "faGuitar": () => (/* binding */ faGuitar),
  108738. /* harmony export */ "faGun": () => (/* binding */ faGun),
  108739. /* harmony export */ "faH": () => (/* binding */ faH),
  108740. /* harmony export */ "faHSquare": () => (/* binding */ faHSquare),
  108741. /* harmony export */ "faHamburger": () => (/* binding */ faHamburger),
  108742. /* harmony export */ "faHammer": () => (/* binding */ faHammer),
  108743. /* harmony export */ "faHamsa": () => (/* binding */ faHamsa),
  108744. /* harmony export */ "faHand": () => (/* binding */ faHand),
  108745. /* harmony export */ "faHandBackFist": () => (/* binding */ faHandBackFist),
  108746. /* harmony export */ "faHandDots": () => (/* binding */ faHandDots),
  108747. /* harmony export */ "faHandFist": () => (/* binding */ faHandFist),
  108748. /* harmony export */ "faHandHolding": () => (/* binding */ faHandHolding),
  108749. /* harmony export */ "faHandHoldingDollar": () => (/* binding */ faHandHoldingDollar),
  108750. /* harmony export */ "faHandHoldingDroplet": () => (/* binding */ faHandHoldingDroplet),
  108751. /* harmony export */ "faHandHoldingHand": () => (/* binding */ faHandHoldingHand),
  108752. /* harmony export */ "faHandHoldingHeart": () => (/* binding */ faHandHoldingHeart),
  108753. /* harmony export */ "faHandHoldingMedical": () => (/* binding */ faHandHoldingMedical),
  108754. /* harmony export */ "faHandHoldingUsd": () => (/* binding */ faHandHoldingUsd),
  108755. /* harmony export */ "faHandHoldingWater": () => (/* binding */ faHandHoldingWater),
  108756. /* harmony export */ "faHandLizard": () => (/* binding */ faHandLizard),
  108757. /* harmony export */ "faHandMiddleFinger": () => (/* binding */ faHandMiddleFinger),
  108758. /* harmony export */ "faHandPaper": () => (/* binding */ faHandPaper),
  108759. /* harmony export */ "faHandPeace": () => (/* binding */ faHandPeace),
  108760. /* harmony export */ "faHandPointDown": () => (/* binding */ faHandPointDown),
  108761. /* harmony export */ "faHandPointLeft": () => (/* binding */ faHandPointLeft),
  108762. /* harmony export */ "faHandPointRight": () => (/* binding */ faHandPointRight),
  108763. /* harmony export */ "faHandPointUp": () => (/* binding */ faHandPointUp),
  108764. /* harmony export */ "faHandPointer": () => (/* binding */ faHandPointer),
  108765. /* harmony export */ "faHandRock": () => (/* binding */ faHandRock),
  108766. /* harmony export */ "faHandScissors": () => (/* binding */ faHandScissors),
  108767. /* harmony export */ "faHandSparkles": () => (/* binding */ faHandSparkles),
  108768. /* harmony export */ "faHandSpock": () => (/* binding */ faHandSpock),
  108769. /* harmony export */ "faHandcuffs": () => (/* binding */ faHandcuffs),
  108770. /* harmony export */ "faHands": () => (/* binding */ faHands),
  108771. /* harmony export */ "faHandsAmericanSignLanguageInterpreting": () => (/* binding */ faHandsAmericanSignLanguageInterpreting),
  108772. /* harmony export */ "faHandsAslInterpreting": () => (/* binding */ faHandsAslInterpreting),
  108773. /* harmony export */ "faHandsBound": () => (/* binding */ faHandsBound),
  108774. /* harmony export */ "faHandsBubbles": () => (/* binding */ faHandsBubbles),
  108775. /* harmony export */ "faHandsClapping": () => (/* binding */ faHandsClapping),
  108776. /* harmony export */ "faHandsHelping": () => (/* binding */ faHandsHelping),
  108777. /* harmony export */ "faHandsHolding": () => (/* binding */ faHandsHolding),
  108778. /* harmony export */ "faHandsHoldingChild": () => (/* binding */ faHandsHoldingChild),
  108779. /* harmony export */ "faHandsHoldingCircle": () => (/* binding */ faHandsHoldingCircle),
  108780. /* harmony export */ "faHandsPraying": () => (/* binding */ faHandsPraying),
  108781. /* harmony export */ "faHandsWash": () => (/* binding */ faHandsWash),
  108782. /* harmony export */ "faHandshake": () => (/* binding */ faHandshake),
  108783. /* harmony export */ "faHandshakeAlt": () => (/* binding */ faHandshakeAlt),
  108784. /* harmony export */ "faHandshakeAltSlash": () => (/* binding */ faHandshakeAltSlash),
  108785. /* harmony export */ "faHandshakeAngle": () => (/* binding */ faHandshakeAngle),
  108786. /* harmony export */ "faHandshakeSimple": () => (/* binding */ faHandshakeSimple),
  108787. /* harmony export */ "faHandshakeSimpleSlash": () => (/* binding */ faHandshakeSimpleSlash),
  108788. /* harmony export */ "faHandshakeSlash": () => (/* binding */ faHandshakeSlash),
  108789. /* harmony export */ "faHanukiah": () => (/* binding */ faHanukiah),
  108790. /* harmony export */ "faHardDrive": () => (/* binding */ faHardDrive),
  108791. /* harmony export */ "faHardHat": () => (/* binding */ faHardHat),
  108792. /* harmony export */ "faHardOfHearing": () => (/* binding */ faHardOfHearing),
  108793. /* harmony export */ "faHashtag": () => (/* binding */ faHashtag),
  108794. /* harmony export */ "faHatCowboy": () => (/* binding */ faHatCowboy),
  108795. /* harmony export */ "faHatCowboySide": () => (/* binding */ faHatCowboySide),
  108796. /* harmony export */ "faHatHard": () => (/* binding */ faHatHard),
  108797. /* harmony export */ "faHatWizard": () => (/* binding */ faHatWizard),
  108798. /* harmony export */ "faHaykal": () => (/* binding */ faHaykal),
  108799. /* harmony export */ "faHdd": () => (/* binding */ faHdd),
  108800. /* harmony export */ "faHeadSideCough": () => (/* binding */ faHeadSideCough),
  108801. /* harmony export */ "faHeadSideCoughSlash": () => (/* binding */ faHeadSideCoughSlash),
  108802. /* harmony export */ "faHeadSideMask": () => (/* binding */ faHeadSideMask),
  108803. /* harmony export */ "faHeadSideVirus": () => (/* binding */ faHeadSideVirus),
  108804. /* harmony export */ "faHeader": () => (/* binding */ faHeader),
  108805. /* harmony export */ "faHeading": () => (/* binding */ faHeading),
  108806. /* harmony export */ "faHeadphones": () => (/* binding */ faHeadphones),
  108807. /* harmony export */ "faHeadphonesAlt": () => (/* binding */ faHeadphonesAlt),
  108808. /* harmony export */ "faHeadphonesSimple": () => (/* binding */ faHeadphonesSimple),
  108809. /* harmony export */ "faHeadset": () => (/* binding */ faHeadset),
  108810. /* harmony export */ "faHeart": () => (/* binding */ faHeart),
  108811. /* harmony export */ "faHeartBroken": () => (/* binding */ faHeartBroken),
  108812. /* harmony export */ "faHeartCircleBolt": () => (/* binding */ faHeartCircleBolt),
  108813. /* harmony export */ "faHeartCircleCheck": () => (/* binding */ faHeartCircleCheck),
  108814. /* harmony export */ "faHeartCircleExclamation": () => (/* binding */ faHeartCircleExclamation),
  108815. /* harmony export */ "faHeartCircleMinus": () => (/* binding */ faHeartCircleMinus),
  108816. /* harmony export */ "faHeartCirclePlus": () => (/* binding */ faHeartCirclePlus),
  108817. /* harmony export */ "faHeartCircleXmark": () => (/* binding */ faHeartCircleXmark),
  108818. /* harmony export */ "faHeartCrack": () => (/* binding */ faHeartCrack),
  108819. /* harmony export */ "faHeartMusicCameraBolt": () => (/* binding */ faHeartMusicCameraBolt),
  108820. /* harmony export */ "faHeartPulse": () => (/* binding */ faHeartPulse),
  108821. /* harmony export */ "faHeartbeat": () => (/* binding */ faHeartbeat),
  108822. /* harmony export */ "faHelicopter": () => (/* binding */ faHelicopter),
  108823. /* harmony export */ "faHelicopterSymbol": () => (/* binding */ faHelicopterSymbol),
  108824. /* harmony export */ "faHelmetSafety": () => (/* binding */ faHelmetSafety),
  108825. /* harmony export */ "faHelmetUn": () => (/* binding */ faHelmetUn),
  108826. /* harmony export */ "faHighlighter": () => (/* binding */ faHighlighter),
  108827. /* harmony export */ "faHiking": () => (/* binding */ faHiking),
  108828. /* harmony export */ "faHillAvalanche": () => (/* binding */ faHillAvalanche),
  108829. /* harmony export */ "faHillRockslide": () => (/* binding */ faHillRockslide),
  108830. /* harmony export */ "faHippo": () => (/* binding */ faHippo),
  108831. /* harmony export */ "faHistory": () => (/* binding */ faHistory),
  108832. /* harmony export */ "faHockeyPuck": () => (/* binding */ faHockeyPuck),
  108833. /* harmony export */ "faHollyBerry": () => (/* binding */ faHollyBerry),
  108834. /* harmony export */ "faHome": () => (/* binding */ faHome),
  108835. /* harmony export */ "faHomeAlt": () => (/* binding */ faHomeAlt),
  108836. /* harmony export */ "faHomeLg": () => (/* binding */ faHomeLg),
  108837. /* harmony export */ "faHomeLgAlt": () => (/* binding */ faHomeLgAlt),
  108838. /* harmony export */ "faHomeUser": () => (/* binding */ faHomeUser),
  108839. /* harmony export */ "faHorse": () => (/* binding */ faHorse),
  108840. /* harmony export */ "faHorseHead": () => (/* binding */ faHorseHead),
  108841. /* harmony export */ "faHospital": () => (/* binding */ faHospital),
  108842. /* harmony export */ "faHospitalAlt": () => (/* binding */ faHospitalAlt),
  108843. /* harmony export */ "faHospitalSymbol": () => (/* binding */ faHospitalSymbol),
  108844. /* harmony export */ "faHospitalUser": () => (/* binding */ faHospitalUser),
  108845. /* harmony export */ "faHospitalWide": () => (/* binding */ faHospitalWide),
  108846. /* harmony export */ "faHotTub": () => (/* binding */ faHotTub),
  108847. /* harmony export */ "faHotTubPerson": () => (/* binding */ faHotTubPerson),
  108848. /* harmony export */ "faHotdog": () => (/* binding */ faHotdog),
  108849. /* harmony export */ "faHotel": () => (/* binding */ faHotel),
  108850. /* harmony export */ "faHourglass": () => (/* binding */ faHourglass),
  108851. /* harmony export */ "faHourglass1": () => (/* binding */ faHourglass1),
  108852. /* harmony export */ "faHourglass2": () => (/* binding */ faHourglass2),
  108853. /* harmony export */ "faHourglass3": () => (/* binding */ faHourglass3),
  108854. /* harmony export */ "faHourglassEmpty": () => (/* binding */ faHourglassEmpty),
  108855. /* harmony export */ "faHourglassEnd": () => (/* binding */ faHourglassEnd),
  108856. /* harmony export */ "faHourglassHalf": () => (/* binding */ faHourglassHalf),
  108857. /* harmony export */ "faHourglassStart": () => (/* binding */ faHourglassStart),
  108858. /* harmony export */ "faHouse": () => (/* binding */ faHouse),
  108859. /* harmony export */ "faHouseChimney": () => (/* binding */ faHouseChimney),
  108860. /* harmony export */ "faHouseChimneyCrack": () => (/* binding */ faHouseChimneyCrack),
  108861. /* harmony export */ "faHouseChimneyMedical": () => (/* binding */ faHouseChimneyMedical),
  108862. /* harmony export */ "faHouseChimneyUser": () => (/* binding */ faHouseChimneyUser),
  108863. /* harmony export */ "faHouseChimneyWindow": () => (/* binding */ faHouseChimneyWindow),
  108864. /* harmony export */ "faHouseCircleCheck": () => (/* binding */ faHouseCircleCheck),
  108865. /* harmony export */ "faHouseCircleExclamation": () => (/* binding */ faHouseCircleExclamation),
  108866. /* harmony export */ "faHouseCircleXmark": () => (/* binding */ faHouseCircleXmark),
  108867. /* harmony export */ "faHouseCrack": () => (/* binding */ faHouseCrack),
  108868. /* harmony export */ "faHouseDamage": () => (/* binding */ faHouseDamage),
  108869. /* harmony export */ "faHouseFire": () => (/* binding */ faHouseFire),
  108870. /* harmony export */ "faHouseFlag": () => (/* binding */ faHouseFlag),
  108871. /* harmony export */ "faHouseFloodWater": () => (/* binding */ faHouseFloodWater),
  108872. /* harmony export */ "faHouseFloodWaterCircleArrowRight": () => (/* binding */ faHouseFloodWaterCircleArrowRight),
  108873. /* harmony export */ "faHouseLaptop": () => (/* binding */ faHouseLaptop),
  108874. /* harmony export */ "faHouseLock": () => (/* binding */ faHouseLock),
  108875. /* harmony export */ "faHouseMedical": () => (/* binding */ faHouseMedical),
  108876. /* harmony export */ "faHouseMedicalCircleCheck": () => (/* binding */ faHouseMedicalCircleCheck),
  108877. /* harmony export */ "faHouseMedicalCircleExclamation": () => (/* binding */ faHouseMedicalCircleExclamation),
  108878. /* harmony export */ "faHouseMedicalCircleXmark": () => (/* binding */ faHouseMedicalCircleXmark),
  108879. /* harmony export */ "faHouseMedicalFlag": () => (/* binding */ faHouseMedicalFlag),
  108880. /* harmony export */ "faHouseSignal": () => (/* binding */ faHouseSignal),
  108881. /* harmony export */ "faHouseTsunami": () => (/* binding */ faHouseTsunami),
  108882. /* harmony export */ "faHouseUser": () => (/* binding */ faHouseUser),
  108883. /* harmony export */ "faHryvnia": () => (/* binding */ faHryvnia),
  108884. /* harmony export */ "faHryvniaSign": () => (/* binding */ faHryvniaSign),
  108885. /* harmony export */ "faHurricane": () => (/* binding */ faHurricane),
  108886. /* harmony export */ "faI": () => (/* binding */ faI),
  108887. /* harmony export */ "faICursor": () => (/* binding */ faICursor),
  108888. /* harmony export */ "faIceCream": () => (/* binding */ faIceCream),
  108889. /* harmony export */ "faIcicles": () => (/* binding */ faIcicles),
  108890. /* harmony export */ "faIcons": () => (/* binding */ faIcons),
  108891. /* harmony export */ "faIdBadge": () => (/* binding */ faIdBadge),
  108892. /* harmony export */ "faIdCard": () => (/* binding */ faIdCard),
  108893. /* harmony export */ "faIdCardAlt": () => (/* binding */ faIdCardAlt),
  108894. /* harmony export */ "faIdCardClip": () => (/* binding */ faIdCardClip),
  108895. /* harmony export */ "faIgloo": () => (/* binding */ faIgloo),
  108896. /* harmony export */ "faIls": () => (/* binding */ faIls),
  108897. /* harmony export */ "faImage": () => (/* binding */ faImage),
  108898. /* harmony export */ "faImagePortrait": () => (/* binding */ faImagePortrait),
  108899. /* harmony export */ "faImages": () => (/* binding */ faImages),
  108900. /* harmony export */ "faInbox": () => (/* binding */ faInbox),
  108901. /* harmony export */ "faIndent": () => (/* binding */ faIndent),
  108902. /* harmony export */ "faIndianRupee": () => (/* binding */ faIndianRupee),
  108903. /* harmony export */ "faIndianRupeeSign": () => (/* binding */ faIndianRupeeSign),
  108904. /* harmony export */ "faIndustry": () => (/* binding */ faIndustry),
  108905. /* harmony export */ "faInfinity": () => (/* binding */ faInfinity),
  108906. /* harmony export */ "faInfo": () => (/* binding */ faInfo),
  108907. /* harmony export */ "faInfoCircle": () => (/* binding */ faInfoCircle),
  108908. /* harmony export */ "faInr": () => (/* binding */ faInr),
  108909. /* harmony export */ "faInstitution": () => (/* binding */ faInstitution),
  108910. /* harmony export */ "faItalic": () => (/* binding */ faItalic),
  108911. /* harmony export */ "faJ": () => (/* binding */ faJ),
  108912. /* harmony export */ "faJar": () => (/* binding */ faJar),
  108913. /* harmony export */ "faJarWheat": () => (/* binding */ faJarWheat),
  108914. /* harmony export */ "faJedi": () => (/* binding */ faJedi),
  108915. /* harmony export */ "faJetFighter": () => (/* binding */ faJetFighter),
  108916. /* harmony export */ "faJetFighterUp": () => (/* binding */ faJetFighterUp),
  108917. /* harmony export */ "faJoint": () => (/* binding */ faJoint),
  108918. /* harmony export */ "faJournalWhills": () => (/* binding */ faJournalWhills),
  108919. /* harmony export */ "faJpy": () => (/* binding */ faJpy),
  108920. /* harmony export */ "faJugDetergent": () => (/* binding */ faJugDetergent),
  108921. /* harmony export */ "faK": () => (/* binding */ faK),
  108922. /* harmony export */ "faKaaba": () => (/* binding */ faKaaba),
  108923. /* harmony export */ "faKey": () => (/* binding */ faKey),
  108924. /* harmony export */ "faKeyboard": () => (/* binding */ faKeyboard),
  108925. /* harmony export */ "faKhanda": () => (/* binding */ faKhanda),
  108926. /* harmony export */ "faKipSign": () => (/* binding */ faKipSign),
  108927. /* harmony export */ "faKiss": () => (/* binding */ faKiss),
  108928. /* harmony export */ "faKissBeam": () => (/* binding */ faKissBeam),
  108929. /* harmony export */ "faKissWinkHeart": () => (/* binding */ faKissWinkHeart),
  108930. /* harmony export */ "faKitMedical": () => (/* binding */ faKitMedical),
  108931. /* harmony export */ "faKitchenSet": () => (/* binding */ faKitchenSet),
  108932. /* harmony export */ "faKiwiBird": () => (/* binding */ faKiwiBird),
  108933. /* harmony export */ "faKrw": () => (/* binding */ faKrw),
  108934. /* harmony export */ "faL": () => (/* binding */ faL),
  108935. /* harmony export */ "faLadderWater": () => (/* binding */ faLadderWater),
  108936. /* harmony export */ "faLandMineOn": () => (/* binding */ faLandMineOn),
  108937. /* harmony export */ "faLandmark": () => (/* binding */ faLandmark),
  108938. /* harmony export */ "faLandmarkAlt": () => (/* binding */ faLandmarkAlt),
  108939. /* harmony export */ "faLandmarkDome": () => (/* binding */ faLandmarkDome),
  108940. /* harmony export */ "faLandmarkFlag": () => (/* binding */ faLandmarkFlag),
  108941. /* harmony export */ "faLanguage": () => (/* binding */ faLanguage),
  108942. /* harmony export */ "faLaptop": () => (/* binding */ faLaptop),
  108943. /* harmony export */ "faLaptopCode": () => (/* binding */ faLaptopCode),
  108944. /* harmony export */ "faLaptopFile": () => (/* binding */ faLaptopFile),
  108945. /* harmony export */ "faLaptopHouse": () => (/* binding */ faLaptopHouse),
  108946. /* harmony export */ "faLaptopMedical": () => (/* binding */ faLaptopMedical),
  108947. /* harmony export */ "faLariSign": () => (/* binding */ faLariSign),
  108948. /* harmony export */ "faLaugh": () => (/* binding */ faLaugh),
  108949. /* harmony export */ "faLaughBeam": () => (/* binding */ faLaughBeam),
  108950. /* harmony export */ "faLaughSquint": () => (/* binding */ faLaughSquint),
  108951. /* harmony export */ "faLaughWink": () => (/* binding */ faLaughWink),
  108952. /* harmony export */ "faLayerGroup": () => (/* binding */ faLayerGroup),
  108953. /* harmony export */ "faLeaf": () => (/* binding */ faLeaf),
  108954. /* harmony export */ "faLeftLong": () => (/* binding */ faLeftLong),
  108955. /* harmony export */ "faLeftRight": () => (/* binding */ faLeftRight),
  108956. /* harmony export */ "faLegal": () => (/* binding */ faLegal),
  108957. /* harmony export */ "faLemon": () => (/* binding */ faLemon),
  108958. /* harmony export */ "faLessThan": () => (/* binding */ faLessThan),
  108959. /* harmony export */ "faLessThanEqual": () => (/* binding */ faLessThanEqual),
  108960. /* harmony export */ "faLevelDown": () => (/* binding */ faLevelDown),
  108961. /* harmony export */ "faLevelDownAlt": () => (/* binding */ faLevelDownAlt),
  108962. /* harmony export */ "faLevelUp": () => (/* binding */ faLevelUp),
  108963. /* harmony export */ "faLevelUpAlt": () => (/* binding */ faLevelUpAlt),
  108964. /* harmony export */ "faLifeRing": () => (/* binding */ faLifeRing),
  108965. /* harmony export */ "faLightbulb": () => (/* binding */ faLightbulb),
  108966. /* harmony export */ "faLineChart": () => (/* binding */ faLineChart),
  108967. /* harmony export */ "faLinesLeaning": () => (/* binding */ faLinesLeaning),
  108968. /* harmony export */ "faLink": () => (/* binding */ faLink),
  108969. /* harmony export */ "faLinkSlash": () => (/* binding */ faLinkSlash),
  108970. /* harmony export */ "faLiraSign": () => (/* binding */ faLiraSign),
  108971. /* harmony export */ "faList": () => (/* binding */ faList),
  108972. /* harmony export */ "faList12": () => (/* binding */ faList12),
  108973. /* harmony export */ "faListAlt": () => (/* binding */ faListAlt),
  108974. /* harmony export */ "faListCheck": () => (/* binding */ faListCheck),
  108975. /* harmony export */ "faListDots": () => (/* binding */ faListDots),
  108976. /* harmony export */ "faListNumeric": () => (/* binding */ faListNumeric),
  108977. /* harmony export */ "faListOl": () => (/* binding */ faListOl),
  108978. /* harmony export */ "faListSquares": () => (/* binding */ faListSquares),
  108979. /* harmony export */ "faListUl": () => (/* binding */ faListUl),
  108980. /* harmony export */ "faLitecoinSign": () => (/* binding */ faLitecoinSign),
  108981. /* harmony export */ "faLocation": () => (/* binding */ faLocation),
  108982. /* harmony export */ "faLocationArrow": () => (/* binding */ faLocationArrow),
  108983. /* harmony export */ "faLocationCrosshairs": () => (/* binding */ faLocationCrosshairs),
  108984. /* harmony export */ "faLocationDot": () => (/* binding */ faLocationDot),
  108985. /* harmony export */ "faLocationPin": () => (/* binding */ faLocationPin),
  108986. /* harmony export */ "faLocationPinLock": () => (/* binding */ faLocationPinLock),
  108987. /* harmony export */ "faLock": () => (/* binding */ faLock),
  108988. /* harmony export */ "faLockOpen": () => (/* binding */ faLockOpen),
  108989. /* harmony export */ "faLocust": () => (/* binding */ faLocust),
  108990. /* harmony export */ "faLongArrowAltDown": () => (/* binding */ faLongArrowAltDown),
  108991. /* harmony export */ "faLongArrowAltLeft": () => (/* binding */ faLongArrowAltLeft),
  108992. /* harmony export */ "faLongArrowAltRight": () => (/* binding */ faLongArrowAltRight),
  108993. /* harmony export */ "faLongArrowAltUp": () => (/* binding */ faLongArrowAltUp),
  108994. /* harmony export */ "faLongArrowDown": () => (/* binding */ faLongArrowDown),
  108995. /* harmony export */ "faLongArrowLeft": () => (/* binding */ faLongArrowLeft),
  108996. /* harmony export */ "faLongArrowRight": () => (/* binding */ faLongArrowRight),
  108997. /* harmony export */ "faLongArrowUp": () => (/* binding */ faLongArrowUp),
  108998. /* harmony export */ "faLowVision": () => (/* binding */ faLowVision),
  108999. /* harmony export */ "faLuggageCart": () => (/* binding */ faLuggageCart),
  109000. /* harmony export */ "faLungs": () => (/* binding */ faLungs),
  109001. /* harmony export */ "faLungsVirus": () => (/* binding */ faLungsVirus),
  109002. /* harmony export */ "faM": () => (/* binding */ faM),
  109003. /* harmony export */ "faMagic": () => (/* binding */ faMagic),
  109004. /* harmony export */ "faMagicWandSparkles": () => (/* binding */ faMagicWandSparkles),
  109005. /* harmony export */ "faMagnet": () => (/* binding */ faMagnet),
  109006. /* harmony export */ "faMagnifyingGlass": () => (/* binding */ faMagnifyingGlass),
  109007. /* harmony export */ "faMagnifyingGlassArrowRight": () => (/* binding */ faMagnifyingGlassArrowRight),
  109008. /* harmony export */ "faMagnifyingGlassChart": () => (/* binding */ faMagnifyingGlassChart),
  109009. /* harmony export */ "faMagnifyingGlassDollar": () => (/* binding */ faMagnifyingGlassDollar),
  109010. /* harmony export */ "faMagnifyingGlassLocation": () => (/* binding */ faMagnifyingGlassLocation),
  109011. /* harmony export */ "faMagnifyingGlassMinus": () => (/* binding */ faMagnifyingGlassMinus),
  109012. /* harmony export */ "faMagnifyingGlassPlus": () => (/* binding */ faMagnifyingGlassPlus),
  109013. /* harmony export */ "faMailBulk": () => (/* binding */ faMailBulk),
  109014. /* harmony export */ "faMailForward": () => (/* binding */ faMailForward),
  109015. /* harmony export */ "faMailReply": () => (/* binding */ faMailReply),
  109016. /* harmony export */ "faMailReplyAll": () => (/* binding */ faMailReplyAll),
  109017. /* harmony export */ "faMale": () => (/* binding */ faMale),
  109018. /* harmony export */ "faManatSign": () => (/* binding */ faManatSign),
  109019. /* harmony export */ "faMap": () => (/* binding */ faMap),
  109020. /* harmony export */ "faMapLocation": () => (/* binding */ faMapLocation),
  109021. /* harmony export */ "faMapLocationDot": () => (/* binding */ faMapLocationDot),
  109022. /* harmony export */ "faMapMarked": () => (/* binding */ faMapMarked),
  109023. /* harmony export */ "faMapMarkedAlt": () => (/* binding */ faMapMarkedAlt),
  109024. /* harmony export */ "faMapMarker": () => (/* binding */ faMapMarker),
  109025. /* harmony export */ "faMapMarkerAlt": () => (/* binding */ faMapMarkerAlt),
  109026. /* harmony export */ "faMapPin": () => (/* binding */ faMapPin),
  109027. /* harmony export */ "faMapSigns": () => (/* binding */ faMapSigns),
  109028. /* harmony export */ "faMarker": () => (/* binding */ faMarker),
  109029. /* harmony export */ "faMars": () => (/* binding */ faMars),
  109030. /* harmony export */ "faMarsAndVenus": () => (/* binding */ faMarsAndVenus),
  109031. /* harmony export */ "faMarsAndVenusBurst": () => (/* binding */ faMarsAndVenusBurst),
  109032. /* harmony export */ "faMarsDouble": () => (/* binding */ faMarsDouble),
  109033. /* harmony export */ "faMarsStroke": () => (/* binding */ faMarsStroke),
  109034. /* harmony export */ "faMarsStrokeH": () => (/* binding */ faMarsStrokeH),
  109035. /* harmony export */ "faMarsStrokeRight": () => (/* binding */ faMarsStrokeRight),
  109036. /* harmony export */ "faMarsStrokeUp": () => (/* binding */ faMarsStrokeUp),
  109037. /* harmony export */ "faMarsStrokeV": () => (/* binding */ faMarsStrokeV),
  109038. /* harmony export */ "faMartiniGlass": () => (/* binding */ faMartiniGlass),
  109039. /* harmony export */ "faMartiniGlassCitrus": () => (/* binding */ faMartiniGlassCitrus),
  109040. /* harmony export */ "faMartiniGlassEmpty": () => (/* binding */ faMartiniGlassEmpty),
  109041. /* harmony export */ "faMask": () => (/* binding */ faMask),
  109042. /* harmony export */ "faMaskFace": () => (/* binding */ faMaskFace),
  109043. /* harmony export */ "faMaskVentilator": () => (/* binding */ faMaskVentilator),
  109044. /* harmony export */ "faMasksTheater": () => (/* binding */ faMasksTheater),
  109045. /* harmony export */ "faMattressPillow": () => (/* binding */ faMattressPillow),
  109046. /* harmony export */ "faMaximize": () => (/* binding */ faMaximize),
  109047. /* harmony export */ "faMedal": () => (/* binding */ faMedal),
  109048. /* harmony export */ "faMedkit": () => (/* binding */ faMedkit),
  109049. /* harmony export */ "faMeh": () => (/* binding */ faMeh),
  109050. /* harmony export */ "faMehBlank": () => (/* binding */ faMehBlank),
  109051. /* harmony export */ "faMehRollingEyes": () => (/* binding */ faMehRollingEyes),
  109052. /* harmony export */ "faMemory": () => (/* binding */ faMemory),
  109053. /* harmony export */ "faMenorah": () => (/* binding */ faMenorah),
  109054. /* harmony export */ "faMercury": () => (/* binding */ faMercury),
  109055. /* harmony export */ "faMessage": () => (/* binding */ faMessage),
  109056. /* harmony export */ "faMeteor": () => (/* binding */ faMeteor),
  109057. /* harmony export */ "faMicrochip": () => (/* binding */ faMicrochip),
  109058. /* harmony export */ "faMicrophone": () => (/* binding */ faMicrophone),
  109059. /* harmony export */ "faMicrophoneAlt": () => (/* binding */ faMicrophoneAlt),
  109060. /* harmony export */ "faMicrophoneAltSlash": () => (/* binding */ faMicrophoneAltSlash),
  109061. /* harmony export */ "faMicrophoneLines": () => (/* binding */ faMicrophoneLines),
  109062. /* harmony export */ "faMicrophoneLinesSlash": () => (/* binding */ faMicrophoneLinesSlash),
  109063. /* harmony export */ "faMicrophoneSlash": () => (/* binding */ faMicrophoneSlash),
  109064. /* harmony export */ "faMicroscope": () => (/* binding */ faMicroscope),
  109065. /* harmony export */ "faMillSign": () => (/* binding */ faMillSign),
  109066. /* harmony export */ "faMinimize": () => (/* binding */ faMinimize),
  109067. /* harmony export */ "faMinus": () => (/* binding */ faMinus),
  109068. /* harmony export */ "faMinusCircle": () => (/* binding */ faMinusCircle),
  109069. /* harmony export */ "faMinusSquare": () => (/* binding */ faMinusSquare),
  109070. /* harmony export */ "faMitten": () => (/* binding */ faMitten),
  109071. /* harmony export */ "faMobile": () => (/* binding */ faMobile),
  109072. /* harmony export */ "faMobileAlt": () => (/* binding */ faMobileAlt),
  109073. /* harmony export */ "faMobileAndroid": () => (/* binding */ faMobileAndroid),
  109074. /* harmony export */ "faMobileAndroidAlt": () => (/* binding */ faMobileAndroidAlt),
  109075. /* harmony export */ "faMobileButton": () => (/* binding */ faMobileButton),
  109076. /* harmony export */ "faMobilePhone": () => (/* binding */ faMobilePhone),
  109077. /* harmony export */ "faMobileRetro": () => (/* binding */ faMobileRetro),
  109078. /* harmony export */ "faMobileScreen": () => (/* binding */ faMobileScreen),
  109079. /* harmony export */ "faMobileScreenButton": () => (/* binding */ faMobileScreenButton),
  109080. /* harmony export */ "faMoneyBill": () => (/* binding */ faMoneyBill),
  109081. /* harmony export */ "faMoneyBill1": () => (/* binding */ faMoneyBill1),
  109082. /* harmony export */ "faMoneyBill1Wave": () => (/* binding */ faMoneyBill1Wave),
  109083. /* harmony export */ "faMoneyBillAlt": () => (/* binding */ faMoneyBillAlt),
  109084. /* harmony export */ "faMoneyBillTransfer": () => (/* binding */ faMoneyBillTransfer),
  109085. /* harmony export */ "faMoneyBillTrendUp": () => (/* binding */ faMoneyBillTrendUp),
  109086. /* harmony export */ "faMoneyBillWave": () => (/* binding */ faMoneyBillWave),
  109087. /* harmony export */ "faMoneyBillWaveAlt": () => (/* binding */ faMoneyBillWaveAlt),
  109088. /* harmony export */ "faMoneyBillWheat": () => (/* binding */ faMoneyBillWheat),
  109089. /* harmony export */ "faMoneyBills": () => (/* binding */ faMoneyBills),
  109090. /* harmony export */ "faMoneyCheck": () => (/* binding */ faMoneyCheck),
  109091. /* harmony export */ "faMoneyCheckAlt": () => (/* binding */ faMoneyCheckAlt),
  109092. /* harmony export */ "faMoneyCheckDollar": () => (/* binding */ faMoneyCheckDollar),
  109093. /* harmony export */ "faMonument": () => (/* binding */ faMonument),
  109094. /* harmony export */ "faMoon": () => (/* binding */ faMoon),
  109095. /* harmony export */ "faMortarBoard": () => (/* binding */ faMortarBoard),
  109096. /* harmony export */ "faMortarPestle": () => (/* binding */ faMortarPestle),
  109097. /* harmony export */ "faMosque": () => (/* binding */ faMosque),
  109098. /* harmony export */ "faMosquito": () => (/* binding */ faMosquito),
  109099. /* harmony export */ "faMosquitoNet": () => (/* binding */ faMosquitoNet),
  109100. /* harmony export */ "faMotorcycle": () => (/* binding */ faMotorcycle),
  109101. /* harmony export */ "faMound": () => (/* binding */ faMound),
  109102. /* harmony export */ "faMountain": () => (/* binding */ faMountain),
  109103. /* harmony export */ "faMountainCity": () => (/* binding */ faMountainCity),
  109104. /* harmony export */ "faMountainSun": () => (/* binding */ faMountainSun),
  109105. /* harmony export */ "faMouse": () => (/* binding */ faMouse),
  109106. /* harmony export */ "faMousePointer": () => (/* binding */ faMousePointer),
  109107. /* harmony export */ "faMugHot": () => (/* binding */ faMugHot),
  109108. /* harmony export */ "faMugSaucer": () => (/* binding */ faMugSaucer),
  109109. /* harmony export */ "faMultiply": () => (/* binding */ faMultiply),
  109110. /* harmony export */ "faMuseum": () => (/* binding */ faMuseum),
  109111. /* harmony export */ "faMusic": () => (/* binding */ faMusic),
  109112. /* harmony export */ "faN": () => (/* binding */ faN),
  109113. /* harmony export */ "faNairaSign": () => (/* binding */ faNairaSign),
  109114. /* harmony export */ "faNavicon": () => (/* binding */ faNavicon),
  109115. /* harmony export */ "faNetworkWired": () => (/* binding */ faNetworkWired),
  109116. /* harmony export */ "faNeuter": () => (/* binding */ faNeuter),
  109117. /* harmony export */ "faNewspaper": () => (/* binding */ faNewspaper),
  109118. /* harmony export */ "faNotEqual": () => (/* binding */ faNotEqual),
  109119. /* harmony export */ "faNoteSticky": () => (/* binding */ faNoteSticky),
  109120. /* harmony export */ "faNotesMedical": () => (/* binding */ faNotesMedical),
  109121. /* harmony export */ "faO": () => (/* binding */ faO),
  109122. /* harmony export */ "faObjectGroup": () => (/* binding */ faObjectGroup),
  109123. /* harmony export */ "faObjectUngroup": () => (/* binding */ faObjectUngroup),
  109124. /* harmony export */ "faOilCan": () => (/* binding */ faOilCan),
  109125. /* harmony export */ "faOilWell": () => (/* binding */ faOilWell),
  109126. /* harmony export */ "faOm": () => (/* binding */ faOm),
  109127. /* harmony export */ "faOtter": () => (/* binding */ faOtter),
  109128. /* harmony export */ "faOutdent": () => (/* binding */ faOutdent),
  109129. /* harmony export */ "faP": () => (/* binding */ faP),
  109130. /* harmony export */ "faPager": () => (/* binding */ faPager),
  109131. /* harmony export */ "faPaintBrush": () => (/* binding */ faPaintBrush),
  109132. /* harmony export */ "faPaintRoller": () => (/* binding */ faPaintRoller),
  109133. /* harmony export */ "faPaintbrush": () => (/* binding */ faPaintbrush),
  109134. /* harmony export */ "faPalette": () => (/* binding */ faPalette),
  109135. /* harmony export */ "faPallet": () => (/* binding */ faPallet),
  109136. /* harmony export */ "faPanorama": () => (/* binding */ faPanorama),
  109137. /* harmony export */ "faPaperPlane": () => (/* binding */ faPaperPlane),
  109138. /* harmony export */ "faPaperclip": () => (/* binding */ faPaperclip),
  109139. /* harmony export */ "faParachuteBox": () => (/* binding */ faParachuteBox),
  109140. /* harmony export */ "faParagraph": () => (/* binding */ faParagraph),
  109141. /* harmony export */ "faParking": () => (/* binding */ faParking),
  109142. /* harmony export */ "faPassport": () => (/* binding */ faPassport),
  109143. /* harmony export */ "faPastafarianism": () => (/* binding */ faPastafarianism),
  109144. /* harmony export */ "faPaste": () => (/* binding */ faPaste),
  109145. /* harmony export */ "faPause": () => (/* binding */ faPause),
  109146. /* harmony export */ "faPauseCircle": () => (/* binding */ faPauseCircle),
  109147. /* harmony export */ "faPaw": () => (/* binding */ faPaw),
  109148. /* harmony export */ "faPeace": () => (/* binding */ faPeace),
  109149. /* harmony export */ "faPen": () => (/* binding */ faPen),
  109150. /* harmony export */ "faPenAlt": () => (/* binding */ faPenAlt),
  109151. /* harmony export */ "faPenClip": () => (/* binding */ faPenClip),
  109152. /* harmony export */ "faPenFancy": () => (/* binding */ faPenFancy),
  109153. /* harmony export */ "faPenNib": () => (/* binding */ faPenNib),
  109154. /* harmony export */ "faPenRuler": () => (/* binding */ faPenRuler),
  109155. /* harmony export */ "faPenSquare": () => (/* binding */ faPenSquare),
  109156. /* harmony export */ "faPenToSquare": () => (/* binding */ faPenToSquare),
  109157. /* harmony export */ "faPencil": () => (/* binding */ faPencil),
  109158. /* harmony export */ "faPencilAlt": () => (/* binding */ faPencilAlt),
  109159. /* harmony export */ "faPencilRuler": () => (/* binding */ faPencilRuler),
  109160. /* harmony export */ "faPencilSquare": () => (/* binding */ faPencilSquare),
  109161. /* harmony export */ "faPeopleArrows": () => (/* binding */ faPeopleArrows),
  109162. /* harmony export */ "faPeopleArrowsLeftRight": () => (/* binding */ faPeopleArrowsLeftRight),
  109163. /* harmony export */ "faPeopleCarry": () => (/* binding */ faPeopleCarry),
  109164. /* harmony export */ "faPeopleCarryBox": () => (/* binding */ faPeopleCarryBox),
  109165. /* harmony export */ "faPeopleGroup": () => (/* binding */ faPeopleGroup),
  109166. /* harmony export */ "faPeopleLine": () => (/* binding */ faPeopleLine),
  109167. /* harmony export */ "faPeoplePulling": () => (/* binding */ faPeoplePulling),
  109168. /* harmony export */ "faPeopleRobbery": () => (/* binding */ faPeopleRobbery),
  109169. /* harmony export */ "faPeopleRoof": () => (/* binding */ faPeopleRoof),
  109170. /* harmony export */ "faPepperHot": () => (/* binding */ faPepperHot),
  109171. /* harmony export */ "faPercent": () => (/* binding */ faPercent),
  109172. /* harmony export */ "faPercentage": () => (/* binding */ faPercentage),
  109173. /* harmony export */ "faPerson": () => (/* binding */ faPerson),
  109174. /* harmony export */ "faPersonArrowDownToLine": () => (/* binding */ faPersonArrowDownToLine),
  109175. /* harmony export */ "faPersonArrowUpFromLine": () => (/* binding */ faPersonArrowUpFromLine),
  109176. /* harmony export */ "faPersonBiking": () => (/* binding */ faPersonBiking),
  109177. /* harmony export */ "faPersonBooth": () => (/* binding */ faPersonBooth),
  109178. /* harmony export */ "faPersonBreastfeeding": () => (/* binding */ faPersonBreastfeeding),
  109179. /* harmony export */ "faPersonBurst": () => (/* binding */ faPersonBurst),
  109180. /* harmony export */ "faPersonCane": () => (/* binding */ faPersonCane),
  109181. /* harmony export */ "faPersonChalkboard": () => (/* binding */ faPersonChalkboard),
  109182. /* harmony export */ "faPersonCircleCheck": () => (/* binding */ faPersonCircleCheck),
  109183. /* harmony export */ "faPersonCircleExclamation": () => (/* binding */ faPersonCircleExclamation),
  109184. /* harmony export */ "faPersonCircleMinus": () => (/* binding */ faPersonCircleMinus),
  109185. /* harmony export */ "faPersonCirclePlus": () => (/* binding */ faPersonCirclePlus),
  109186. /* harmony export */ "faPersonCircleQuestion": () => (/* binding */ faPersonCircleQuestion),
  109187. /* harmony export */ "faPersonCircleXmark": () => (/* binding */ faPersonCircleXmark),
  109188. /* harmony export */ "faPersonDigging": () => (/* binding */ faPersonDigging),
  109189. /* harmony export */ "faPersonDotsFromLine": () => (/* binding */ faPersonDotsFromLine),
  109190. /* harmony export */ "faPersonDress": () => (/* binding */ faPersonDress),
  109191. /* harmony export */ "faPersonDressBurst": () => (/* binding */ faPersonDressBurst),
  109192. /* harmony export */ "faPersonDrowning": () => (/* binding */ faPersonDrowning),
  109193. /* harmony export */ "faPersonFalling": () => (/* binding */ faPersonFalling),
  109194. /* harmony export */ "faPersonFallingBurst": () => (/* binding */ faPersonFallingBurst),
  109195. /* harmony export */ "faPersonHalfDress": () => (/* binding */ faPersonHalfDress),
  109196. /* harmony export */ "faPersonHarassing": () => (/* binding */ faPersonHarassing),
  109197. /* harmony export */ "faPersonHiking": () => (/* binding */ faPersonHiking),
  109198. /* harmony export */ "faPersonMilitaryPointing": () => (/* binding */ faPersonMilitaryPointing),
  109199. /* harmony export */ "faPersonMilitaryRifle": () => (/* binding */ faPersonMilitaryRifle),
  109200. /* harmony export */ "faPersonMilitaryToPerson": () => (/* binding */ faPersonMilitaryToPerson),
  109201. /* harmony export */ "faPersonPraying": () => (/* binding */ faPersonPraying),
  109202. /* harmony export */ "faPersonPregnant": () => (/* binding */ faPersonPregnant),
  109203. /* harmony export */ "faPersonRays": () => (/* binding */ faPersonRays),
  109204. /* harmony export */ "faPersonRifle": () => (/* binding */ faPersonRifle),
  109205. /* harmony export */ "faPersonRunning": () => (/* binding */ faPersonRunning),
  109206. /* harmony export */ "faPersonShelter": () => (/* binding */ faPersonShelter),
  109207. /* harmony export */ "faPersonSkating": () => (/* binding */ faPersonSkating),
  109208. /* harmony export */ "faPersonSkiing": () => (/* binding */ faPersonSkiing),
  109209. /* harmony export */ "faPersonSkiingNordic": () => (/* binding */ faPersonSkiingNordic),
  109210. /* harmony export */ "faPersonSnowboarding": () => (/* binding */ faPersonSnowboarding),
  109211. /* harmony export */ "faPersonSwimming": () => (/* binding */ faPersonSwimming),
  109212. /* harmony export */ "faPersonThroughWindow": () => (/* binding */ faPersonThroughWindow),
  109213. /* harmony export */ "faPersonWalking": () => (/* binding */ faPersonWalking),
  109214. /* harmony export */ "faPersonWalkingArrowLoopLeft": () => (/* binding */ faPersonWalkingArrowLoopLeft),
  109215. /* harmony export */ "faPersonWalkingArrowRight": () => (/* binding */ faPersonWalkingArrowRight),
  109216. /* harmony export */ "faPersonWalkingDashedLineArrowRight": () => (/* binding */ faPersonWalkingDashedLineArrowRight),
  109217. /* harmony export */ "faPersonWalkingLuggage": () => (/* binding */ faPersonWalkingLuggage),
  109218. /* harmony export */ "faPersonWalkingWithCane": () => (/* binding */ faPersonWalkingWithCane),
  109219. /* harmony export */ "faPesetaSign": () => (/* binding */ faPesetaSign),
  109220. /* harmony export */ "faPesoSign": () => (/* binding */ faPesoSign),
  109221. /* harmony export */ "faPhone": () => (/* binding */ faPhone),
  109222. /* harmony export */ "faPhoneAlt": () => (/* binding */ faPhoneAlt),
  109223. /* harmony export */ "faPhoneFlip": () => (/* binding */ faPhoneFlip),
  109224. /* harmony export */ "faPhoneSlash": () => (/* binding */ faPhoneSlash),
  109225. /* harmony export */ "faPhoneSquare": () => (/* binding */ faPhoneSquare),
  109226. /* harmony export */ "faPhoneSquareAlt": () => (/* binding */ faPhoneSquareAlt),
  109227. /* harmony export */ "faPhoneVolume": () => (/* binding */ faPhoneVolume),
  109228. /* harmony export */ "faPhotoFilm": () => (/* binding */ faPhotoFilm),
  109229. /* harmony export */ "faPhotoVideo": () => (/* binding */ faPhotoVideo),
  109230. /* harmony export */ "faPieChart": () => (/* binding */ faPieChart),
  109231. /* harmony export */ "faPiggyBank": () => (/* binding */ faPiggyBank),
  109232. /* harmony export */ "faPills": () => (/* binding */ faPills),
  109233. /* harmony export */ "faPingPongPaddleBall": () => (/* binding */ faPingPongPaddleBall),
  109234. /* harmony export */ "faPizzaSlice": () => (/* binding */ faPizzaSlice),
  109235. /* harmony export */ "faPlaceOfWorship": () => (/* binding */ faPlaceOfWorship),
  109236. /* harmony export */ "faPlane": () => (/* binding */ faPlane),
  109237. /* harmony export */ "faPlaneArrival": () => (/* binding */ faPlaneArrival),
  109238. /* harmony export */ "faPlaneCircleCheck": () => (/* binding */ faPlaneCircleCheck),
  109239. /* harmony export */ "faPlaneCircleExclamation": () => (/* binding */ faPlaneCircleExclamation),
  109240. /* harmony export */ "faPlaneCircleXmark": () => (/* binding */ faPlaneCircleXmark),
  109241. /* harmony export */ "faPlaneDeparture": () => (/* binding */ faPlaneDeparture),
  109242. /* harmony export */ "faPlaneLock": () => (/* binding */ faPlaneLock),
  109243. /* harmony export */ "faPlaneSlash": () => (/* binding */ faPlaneSlash),
  109244. /* harmony export */ "faPlaneUp": () => (/* binding */ faPlaneUp),
  109245. /* harmony export */ "faPlantWilt": () => (/* binding */ faPlantWilt),
  109246. /* harmony export */ "faPlateWheat": () => (/* binding */ faPlateWheat),
  109247. /* harmony export */ "faPlay": () => (/* binding */ faPlay),
  109248. /* harmony export */ "faPlayCircle": () => (/* binding */ faPlayCircle),
  109249. /* harmony export */ "faPlug": () => (/* binding */ faPlug),
  109250. /* harmony export */ "faPlugCircleBolt": () => (/* binding */ faPlugCircleBolt),
  109251. /* harmony export */ "faPlugCircleCheck": () => (/* binding */ faPlugCircleCheck),
  109252. /* harmony export */ "faPlugCircleExclamation": () => (/* binding */ faPlugCircleExclamation),
  109253. /* harmony export */ "faPlugCircleMinus": () => (/* binding */ faPlugCircleMinus),
  109254. /* harmony export */ "faPlugCirclePlus": () => (/* binding */ faPlugCirclePlus),
  109255. /* harmony export */ "faPlugCircleXmark": () => (/* binding */ faPlugCircleXmark),
  109256. /* harmony export */ "faPlus": () => (/* binding */ faPlus),
  109257. /* harmony export */ "faPlusCircle": () => (/* binding */ faPlusCircle),
  109258. /* harmony export */ "faPlusMinus": () => (/* binding */ faPlusMinus),
  109259. /* harmony export */ "faPlusSquare": () => (/* binding */ faPlusSquare),
  109260. /* harmony export */ "faPodcast": () => (/* binding */ faPodcast),
  109261. /* harmony export */ "faPoll": () => (/* binding */ faPoll),
  109262. /* harmony export */ "faPollH": () => (/* binding */ faPollH),
  109263. /* harmony export */ "faPoo": () => (/* binding */ faPoo),
  109264. /* harmony export */ "faPooBolt": () => (/* binding */ faPooBolt),
  109265. /* harmony export */ "faPooStorm": () => (/* binding */ faPooStorm),
  109266. /* harmony export */ "faPoop": () => (/* binding */ faPoop),
  109267. /* harmony export */ "faPortrait": () => (/* binding */ faPortrait),
  109268. /* harmony export */ "faPoundSign": () => (/* binding */ faPoundSign),
  109269. /* harmony export */ "faPowerOff": () => (/* binding */ faPowerOff),
  109270. /* harmony export */ "faPray": () => (/* binding */ faPray),
  109271. /* harmony export */ "faPrayingHands": () => (/* binding */ faPrayingHands),
  109272. /* harmony export */ "faPrescription": () => (/* binding */ faPrescription),
  109273. /* harmony export */ "faPrescriptionBottle": () => (/* binding */ faPrescriptionBottle),
  109274. /* harmony export */ "faPrescriptionBottleAlt": () => (/* binding */ faPrescriptionBottleAlt),
  109275. /* harmony export */ "faPrescriptionBottleMedical": () => (/* binding */ faPrescriptionBottleMedical),
  109276. /* harmony export */ "faPrint": () => (/* binding */ faPrint),
  109277. /* harmony export */ "faProcedures": () => (/* binding */ faProcedures),
  109278. /* harmony export */ "faProjectDiagram": () => (/* binding */ faProjectDiagram),
  109279. /* harmony export */ "faPumpMedical": () => (/* binding */ faPumpMedical),
  109280. /* harmony export */ "faPumpSoap": () => (/* binding */ faPumpSoap),
  109281. /* harmony export */ "faPuzzlePiece": () => (/* binding */ faPuzzlePiece),
  109282. /* harmony export */ "faQ": () => (/* binding */ faQ),
  109283. /* harmony export */ "faQrcode": () => (/* binding */ faQrcode),
  109284. /* harmony export */ "faQuestion": () => (/* binding */ faQuestion),
  109285. /* harmony export */ "faQuestionCircle": () => (/* binding */ faQuestionCircle),
  109286. /* harmony export */ "faQuidditch": () => (/* binding */ faQuidditch),
  109287. /* harmony export */ "faQuidditchBroomBall": () => (/* binding */ faQuidditchBroomBall),
  109288. /* harmony export */ "faQuoteLeft": () => (/* binding */ faQuoteLeft),
  109289. /* harmony export */ "faQuoteLeftAlt": () => (/* binding */ faQuoteLeftAlt),
  109290. /* harmony export */ "faQuoteRight": () => (/* binding */ faQuoteRight),
  109291. /* harmony export */ "faQuoteRightAlt": () => (/* binding */ faQuoteRightAlt),
  109292. /* harmony export */ "faQuran": () => (/* binding */ faQuran),
  109293. /* harmony export */ "faR": () => (/* binding */ faR),
  109294. /* harmony export */ "faRadiation": () => (/* binding */ faRadiation),
  109295. /* harmony export */ "faRadiationAlt": () => (/* binding */ faRadiationAlt),
  109296. /* harmony export */ "faRadio": () => (/* binding */ faRadio),
  109297. /* harmony export */ "faRainbow": () => (/* binding */ faRainbow),
  109298. /* harmony export */ "faRandom": () => (/* binding */ faRandom),
  109299. /* harmony export */ "faRankingStar": () => (/* binding */ faRankingStar),
  109300. /* harmony export */ "faReceipt": () => (/* binding */ faReceipt),
  109301. /* harmony export */ "faRecordVinyl": () => (/* binding */ faRecordVinyl),
  109302. /* harmony export */ "faRectangleAd": () => (/* binding */ faRectangleAd),
  109303. /* harmony export */ "faRectangleList": () => (/* binding */ faRectangleList),
  109304. /* harmony export */ "faRectangleTimes": () => (/* binding */ faRectangleTimes),
  109305. /* harmony export */ "faRectangleXmark": () => (/* binding */ faRectangleXmark),
  109306. /* harmony export */ "faRecycle": () => (/* binding */ faRecycle),
  109307. /* harmony export */ "faRedo": () => (/* binding */ faRedo),
  109308. /* harmony export */ "faRedoAlt": () => (/* binding */ faRedoAlt),
  109309. /* harmony export */ "faRefresh": () => (/* binding */ faRefresh),
  109310. /* harmony export */ "faRegistered": () => (/* binding */ faRegistered),
  109311. /* harmony export */ "faRemove": () => (/* binding */ faRemove),
  109312. /* harmony export */ "faRemoveFormat": () => (/* binding */ faRemoveFormat),
  109313. /* harmony export */ "faReorder": () => (/* binding */ faReorder),
  109314. /* harmony export */ "faRepeat": () => (/* binding */ faRepeat),
  109315. /* harmony export */ "faReply": () => (/* binding */ faReply),
  109316. /* harmony export */ "faReplyAll": () => (/* binding */ faReplyAll),
  109317. /* harmony export */ "faRepublican": () => (/* binding */ faRepublican),
  109318. /* harmony export */ "faRestroom": () => (/* binding */ faRestroom),
  109319. /* harmony export */ "faRetweet": () => (/* binding */ faRetweet),
  109320. /* harmony export */ "faRibbon": () => (/* binding */ faRibbon),
  109321. /* harmony export */ "faRightFromBracket": () => (/* binding */ faRightFromBracket),
  109322. /* harmony export */ "faRightLeft": () => (/* binding */ faRightLeft),
  109323. /* harmony export */ "faRightLong": () => (/* binding */ faRightLong),
  109324. /* harmony export */ "faRightToBracket": () => (/* binding */ faRightToBracket),
  109325. /* harmony export */ "faRing": () => (/* binding */ faRing),
  109326. /* harmony export */ "faRmb": () => (/* binding */ faRmb),
  109327. /* harmony export */ "faRoad": () => (/* binding */ faRoad),
  109328. /* harmony export */ "faRoadBarrier": () => (/* binding */ faRoadBarrier),
  109329. /* harmony export */ "faRoadBridge": () => (/* binding */ faRoadBridge),
  109330. /* harmony export */ "faRoadCircleCheck": () => (/* binding */ faRoadCircleCheck),
  109331. /* harmony export */ "faRoadCircleExclamation": () => (/* binding */ faRoadCircleExclamation),
  109332. /* harmony export */ "faRoadCircleXmark": () => (/* binding */ faRoadCircleXmark),
  109333. /* harmony export */ "faRoadLock": () => (/* binding */ faRoadLock),
  109334. /* harmony export */ "faRoadSpikes": () => (/* binding */ faRoadSpikes),
  109335. /* harmony export */ "faRobot": () => (/* binding */ faRobot),
  109336. /* harmony export */ "faRocket": () => (/* binding */ faRocket),
  109337. /* harmony export */ "faRodAsclepius": () => (/* binding */ faRodAsclepius),
  109338. /* harmony export */ "faRodSnake": () => (/* binding */ faRodSnake),
  109339. /* harmony export */ "faRotate": () => (/* binding */ faRotate),
  109340. /* harmony export */ "faRotateBack": () => (/* binding */ faRotateBack),
  109341. /* harmony export */ "faRotateBackward": () => (/* binding */ faRotateBackward),
  109342. /* harmony export */ "faRotateForward": () => (/* binding */ faRotateForward),
  109343. /* harmony export */ "faRotateLeft": () => (/* binding */ faRotateLeft),
  109344. /* harmony export */ "faRotateRight": () => (/* binding */ faRotateRight),
  109345. /* harmony export */ "faRouble": () => (/* binding */ faRouble),
  109346. /* harmony export */ "faRoute": () => (/* binding */ faRoute),
  109347. /* harmony export */ "faRss": () => (/* binding */ faRss),
  109348. /* harmony export */ "faRssSquare": () => (/* binding */ faRssSquare),
  109349. /* harmony export */ "faRub": () => (/* binding */ faRub),
  109350. /* harmony export */ "faRuble": () => (/* binding */ faRuble),
  109351. /* harmony export */ "faRubleSign": () => (/* binding */ faRubleSign),
  109352. /* harmony export */ "faRug": () => (/* binding */ faRug),
  109353. /* harmony export */ "faRuler": () => (/* binding */ faRuler),
  109354. /* harmony export */ "faRulerCombined": () => (/* binding */ faRulerCombined),
  109355. /* harmony export */ "faRulerHorizontal": () => (/* binding */ faRulerHorizontal),
  109356. /* harmony export */ "faRulerVertical": () => (/* binding */ faRulerVertical),
  109357. /* harmony export */ "faRunning": () => (/* binding */ faRunning),
  109358. /* harmony export */ "faRupee": () => (/* binding */ faRupee),
  109359. /* harmony export */ "faRupeeSign": () => (/* binding */ faRupeeSign),
  109360. /* harmony export */ "faRupiahSign": () => (/* binding */ faRupiahSign),
  109361. /* harmony export */ "faS": () => (/* binding */ faS),
  109362. /* harmony export */ "faSackDollar": () => (/* binding */ faSackDollar),
  109363. /* harmony export */ "faSackXmark": () => (/* binding */ faSackXmark),
  109364. /* harmony export */ "faSadCry": () => (/* binding */ faSadCry),
  109365. /* harmony export */ "faSadTear": () => (/* binding */ faSadTear),
  109366. /* harmony export */ "faSailboat": () => (/* binding */ faSailboat),
  109367. /* harmony export */ "faSatellite": () => (/* binding */ faSatellite),
  109368. /* harmony export */ "faSatelliteDish": () => (/* binding */ faSatelliteDish),
  109369. /* harmony export */ "faSave": () => (/* binding */ faSave),
  109370. /* harmony export */ "faScaleBalanced": () => (/* binding */ faScaleBalanced),
  109371. /* harmony export */ "faScaleUnbalanced": () => (/* binding */ faScaleUnbalanced),
  109372. /* harmony export */ "faScaleUnbalancedFlip": () => (/* binding */ faScaleUnbalancedFlip),
  109373. /* harmony export */ "faSchool": () => (/* binding */ faSchool),
  109374. /* harmony export */ "faSchoolCircleCheck": () => (/* binding */ faSchoolCircleCheck),
  109375. /* harmony export */ "faSchoolCircleExclamation": () => (/* binding */ faSchoolCircleExclamation),
  109376. /* harmony export */ "faSchoolCircleXmark": () => (/* binding */ faSchoolCircleXmark),
  109377. /* harmony export */ "faSchoolFlag": () => (/* binding */ faSchoolFlag),
  109378. /* harmony export */ "faSchoolLock": () => (/* binding */ faSchoolLock),
  109379. /* harmony export */ "faScissors": () => (/* binding */ faScissors),
  109380. /* harmony export */ "faScrewdriver": () => (/* binding */ faScrewdriver),
  109381. /* harmony export */ "faScrewdriverWrench": () => (/* binding */ faScrewdriverWrench),
  109382. /* harmony export */ "faScroll": () => (/* binding */ faScroll),
  109383. /* harmony export */ "faScrollTorah": () => (/* binding */ faScrollTorah),
  109384. /* harmony export */ "faSdCard": () => (/* binding */ faSdCard),
  109385. /* harmony export */ "faSearch": () => (/* binding */ faSearch),
  109386. /* harmony export */ "faSearchDollar": () => (/* binding */ faSearchDollar),
  109387. /* harmony export */ "faSearchLocation": () => (/* binding */ faSearchLocation),
  109388. /* harmony export */ "faSearchMinus": () => (/* binding */ faSearchMinus),
  109389. /* harmony export */ "faSearchPlus": () => (/* binding */ faSearchPlus),
  109390. /* harmony export */ "faSection": () => (/* binding */ faSection),
  109391. /* harmony export */ "faSeedling": () => (/* binding */ faSeedling),
  109392. /* harmony export */ "faServer": () => (/* binding */ faServer),
  109393. /* harmony export */ "faShapes": () => (/* binding */ faShapes),
  109394. /* harmony export */ "faShare": () => (/* binding */ faShare),
  109395. /* harmony export */ "faShareAlt": () => (/* binding */ faShareAlt),
  109396. /* harmony export */ "faShareAltSquare": () => (/* binding */ faShareAltSquare),
  109397. /* harmony export */ "faShareFromSquare": () => (/* binding */ faShareFromSquare),
  109398. /* harmony export */ "faShareNodes": () => (/* binding */ faShareNodes),
  109399. /* harmony export */ "faShareSquare": () => (/* binding */ faShareSquare),
  109400. /* harmony export */ "faSheetPlastic": () => (/* binding */ faSheetPlastic),
  109401. /* harmony export */ "faShekel": () => (/* binding */ faShekel),
  109402. /* harmony export */ "faShekelSign": () => (/* binding */ faShekelSign),
  109403. /* harmony export */ "faSheqel": () => (/* binding */ faSheqel),
  109404. /* harmony export */ "faSheqelSign": () => (/* binding */ faSheqelSign),
  109405. /* harmony export */ "faShield": () => (/* binding */ faShield),
  109406. /* harmony export */ "faShieldAlt": () => (/* binding */ faShieldAlt),
  109407. /* harmony export */ "faShieldBlank": () => (/* binding */ faShieldBlank),
  109408. /* harmony export */ "faShieldCat": () => (/* binding */ faShieldCat),
  109409. /* harmony export */ "faShieldDog": () => (/* binding */ faShieldDog),
  109410. /* harmony export */ "faShieldHalved": () => (/* binding */ faShieldHalved),
  109411. /* harmony export */ "faShieldHeart": () => (/* binding */ faShieldHeart),
  109412. /* harmony export */ "faShieldVirus": () => (/* binding */ faShieldVirus),
  109413. /* harmony export */ "faShip": () => (/* binding */ faShip),
  109414. /* harmony export */ "faShippingFast": () => (/* binding */ faShippingFast),
  109415. /* harmony export */ "faShirt": () => (/* binding */ faShirt),
  109416. /* harmony export */ "faShoePrints": () => (/* binding */ faShoePrints),
  109417. /* harmony export */ "faShop": () => (/* binding */ faShop),
  109418. /* harmony export */ "faShopLock": () => (/* binding */ faShopLock),
  109419. /* harmony export */ "faShopSlash": () => (/* binding */ faShopSlash),
  109420. /* harmony export */ "faShoppingBag": () => (/* binding */ faShoppingBag),
  109421. /* harmony export */ "faShoppingBasket": () => (/* binding */ faShoppingBasket),
  109422. /* harmony export */ "faShoppingCart": () => (/* binding */ faShoppingCart),
  109423. /* harmony export */ "faShower": () => (/* binding */ faShower),
  109424. /* harmony export */ "faShrimp": () => (/* binding */ faShrimp),
  109425. /* harmony export */ "faShuffle": () => (/* binding */ faShuffle),
  109426. /* harmony export */ "faShuttleSpace": () => (/* binding */ faShuttleSpace),
  109427. /* harmony export */ "faShuttleVan": () => (/* binding */ faShuttleVan),
  109428. /* harmony export */ "faSign": () => (/* binding */ faSign),
  109429. /* harmony export */ "faSignHanging": () => (/* binding */ faSignHanging),
  109430. /* harmony export */ "faSignIn": () => (/* binding */ faSignIn),
  109431. /* harmony export */ "faSignInAlt": () => (/* binding */ faSignInAlt),
  109432. /* harmony export */ "faSignLanguage": () => (/* binding */ faSignLanguage),
  109433. /* harmony export */ "faSignOut": () => (/* binding */ faSignOut),
  109434. /* harmony export */ "faSignOutAlt": () => (/* binding */ faSignOutAlt),
  109435. /* harmony export */ "faSignal": () => (/* binding */ faSignal),
  109436. /* harmony export */ "faSignal5": () => (/* binding */ faSignal5),
  109437. /* harmony export */ "faSignalPerfect": () => (/* binding */ faSignalPerfect),
  109438. /* harmony export */ "faSignature": () => (/* binding */ faSignature),
  109439. /* harmony export */ "faSigning": () => (/* binding */ faSigning),
  109440. /* harmony export */ "faSignsPost": () => (/* binding */ faSignsPost),
  109441. /* harmony export */ "faSimCard": () => (/* binding */ faSimCard),
  109442. /* harmony export */ "faSink": () => (/* binding */ faSink),
  109443. /* harmony export */ "faSitemap": () => (/* binding */ faSitemap),
  109444. /* harmony export */ "faSkating": () => (/* binding */ faSkating),
  109445. /* harmony export */ "faSkiing": () => (/* binding */ faSkiing),
  109446. /* harmony export */ "faSkiingNordic": () => (/* binding */ faSkiingNordic),
  109447. /* harmony export */ "faSkull": () => (/* binding */ faSkull),
  109448. /* harmony export */ "faSkullCrossbones": () => (/* binding */ faSkullCrossbones),
  109449. /* harmony export */ "faSlash": () => (/* binding */ faSlash),
  109450. /* harmony export */ "faSleigh": () => (/* binding */ faSleigh),
  109451. /* harmony export */ "faSliders": () => (/* binding */ faSliders),
  109452. /* harmony export */ "faSlidersH": () => (/* binding */ faSlidersH),
  109453. /* harmony export */ "faSmile": () => (/* binding */ faSmile),
  109454. /* harmony export */ "faSmileBeam": () => (/* binding */ faSmileBeam),
  109455. /* harmony export */ "faSmileWink": () => (/* binding */ faSmileWink),
  109456. /* harmony export */ "faSmog": () => (/* binding */ faSmog),
  109457. /* harmony export */ "faSmoking": () => (/* binding */ faSmoking),
  109458. /* harmony export */ "faSmokingBan": () => (/* binding */ faSmokingBan),
  109459. /* harmony export */ "faSms": () => (/* binding */ faSms),
  109460. /* harmony export */ "faSnowboarding": () => (/* binding */ faSnowboarding),
  109461. /* harmony export */ "faSnowflake": () => (/* binding */ faSnowflake),
  109462. /* harmony export */ "faSnowman": () => (/* binding */ faSnowman),
  109463. /* harmony export */ "faSnowplow": () => (/* binding */ faSnowplow),
  109464. /* harmony export */ "faSoap": () => (/* binding */ faSoap),
  109465. /* harmony export */ "faSoccerBall": () => (/* binding */ faSoccerBall),
  109466. /* harmony export */ "faSocks": () => (/* binding */ faSocks),
  109467. /* harmony export */ "faSolarPanel": () => (/* binding */ faSolarPanel),
  109468. /* harmony export */ "faSort": () => (/* binding */ faSort),
  109469. /* harmony export */ "faSortAlphaAsc": () => (/* binding */ faSortAlphaAsc),
  109470. /* harmony export */ "faSortAlphaDesc": () => (/* binding */ faSortAlphaDesc),
  109471. /* harmony export */ "faSortAlphaDown": () => (/* binding */ faSortAlphaDown),
  109472. /* harmony export */ "faSortAlphaDownAlt": () => (/* binding */ faSortAlphaDownAlt),
  109473. /* harmony export */ "faSortAlphaUp": () => (/* binding */ faSortAlphaUp),
  109474. /* harmony export */ "faSortAlphaUpAlt": () => (/* binding */ faSortAlphaUpAlt),
  109475. /* harmony export */ "faSortAmountAsc": () => (/* binding */ faSortAmountAsc),
  109476. /* harmony export */ "faSortAmountDesc": () => (/* binding */ faSortAmountDesc),
  109477. /* harmony export */ "faSortAmountDown": () => (/* binding */ faSortAmountDown),
  109478. /* harmony export */ "faSortAmountDownAlt": () => (/* binding */ faSortAmountDownAlt),
  109479. /* harmony export */ "faSortAmountUp": () => (/* binding */ faSortAmountUp),
  109480. /* harmony export */ "faSortAmountUpAlt": () => (/* binding */ faSortAmountUpAlt),
  109481. /* harmony export */ "faSortAsc": () => (/* binding */ faSortAsc),
  109482. /* harmony export */ "faSortDesc": () => (/* binding */ faSortDesc),
  109483. /* harmony export */ "faSortDown": () => (/* binding */ faSortDown),
  109484. /* harmony export */ "faSortNumericAsc": () => (/* binding */ faSortNumericAsc),
  109485. /* harmony export */ "faSortNumericDesc": () => (/* binding */ faSortNumericDesc),
  109486. /* harmony export */ "faSortNumericDown": () => (/* binding */ faSortNumericDown),
  109487. /* harmony export */ "faSortNumericDownAlt": () => (/* binding */ faSortNumericDownAlt),
  109488. /* harmony export */ "faSortNumericUp": () => (/* binding */ faSortNumericUp),
  109489. /* harmony export */ "faSortNumericUpAlt": () => (/* binding */ faSortNumericUpAlt),
  109490. /* harmony export */ "faSortUp": () => (/* binding */ faSortUp),
  109491. /* harmony export */ "faSpa": () => (/* binding */ faSpa),
  109492. /* harmony export */ "faSpaceShuttle": () => (/* binding */ faSpaceShuttle),
  109493. /* harmony export */ "faSpaghettiMonsterFlying": () => (/* binding */ faSpaghettiMonsterFlying),
  109494. /* harmony export */ "faSpellCheck": () => (/* binding */ faSpellCheck),
  109495. /* harmony export */ "faSpider": () => (/* binding */ faSpider),
  109496. /* harmony export */ "faSpinner": () => (/* binding */ faSpinner),
  109497. /* harmony export */ "faSplotch": () => (/* binding */ faSplotch),
  109498. /* harmony export */ "faSpoon": () => (/* binding */ faSpoon),
  109499. /* harmony export */ "faSprayCan": () => (/* binding */ faSprayCan),
  109500. /* harmony export */ "faSprayCanSparkles": () => (/* binding */ faSprayCanSparkles),
  109501. /* harmony export */ "faSprout": () => (/* binding */ faSprout),
  109502. /* harmony export */ "faSquare": () => (/* binding */ faSquare),
  109503. /* harmony export */ "faSquareArrowUpRight": () => (/* binding */ faSquareArrowUpRight),
  109504. /* harmony export */ "faSquareCaretDown": () => (/* binding */ faSquareCaretDown),
  109505. /* harmony export */ "faSquareCaretLeft": () => (/* binding */ faSquareCaretLeft),
  109506. /* harmony export */ "faSquareCaretRight": () => (/* binding */ faSquareCaretRight),
  109507. /* harmony export */ "faSquareCaretUp": () => (/* binding */ faSquareCaretUp),
  109508. /* harmony export */ "faSquareCheck": () => (/* binding */ faSquareCheck),
  109509. /* harmony export */ "faSquareEnvelope": () => (/* binding */ faSquareEnvelope),
  109510. /* harmony export */ "faSquareFull": () => (/* binding */ faSquareFull),
  109511. /* harmony export */ "faSquareH": () => (/* binding */ faSquareH),
  109512. /* harmony export */ "faSquareMinus": () => (/* binding */ faSquareMinus),
  109513. /* harmony export */ "faSquareNfi": () => (/* binding */ faSquareNfi),
  109514. /* harmony export */ "faSquareParking": () => (/* binding */ faSquareParking),
  109515. /* harmony export */ "faSquarePen": () => (/* binding */ faSquarePen),
  109516. /* harmony export */ "faSquarePersonConfined": () => (/* binding */ faSquarePersonConfined),
  109517. /* harmony export */ "faSquarePhone": () => (/* binding */ faSquarePhone),
  109518. /* harmony export */ "faSquarePhoneFlip": () => (/* binding */ faSquarePhoneFlip),
  109519. /* harmony export */ "faSquarePlus": () => (/* binding */ faSquarePlus),
  109520. /* harmony export */ "faSquarePollHorizontal": () => (/* binding */ faSquarePollHorizontal),
  109521. /* harmony export */ "faSquarePollVertical": () => (/* binding */ faSquarePollVertical),
  109522. /* harmony export */ "faSquareRootAlt": () => (/* binding */ faSquareRootAlt),
  109523. /* harmony export */ "faSquareRootVariable": () => (/* binding */ faSquareRootVariable),
  109524. /* harmony export */ "faSquareRss": () => (/* binding */ faSquareRss),
  109525. /* harmony export */ "faSquareShareNodes": () => (/* binding */ faSquareShareNodes),
  109526. /* harmony export */ "faSquareUpRight": () => (/* binding */ faSquareUpRight),
  109527. /* harmony export */ "faSquareVirus": () => (/* binding */ faSquareVirus),
  109528. /* harmony export */ "faSquareXmark": () => (/* binding */ faSquareXmark),
  109529. /* harmony export */ "faStaffAesculapius": () => (/* binding */ faStaffAesculapius),
  109530. /* harmony export */ "faStaffSnake": () => (/* binding */ faStaffSnake),
  109531. /* harmony export */ "faStairs": () => (/* binding */ faStairs),
  109532. /* harmony export */ "faStamp": () => (/* binding */ faStamp),
  109533. /* harmony export */ "faStapler": () => (/* binding */ faStapler),
  109534. /* harmony export */ "faStar": () => (/* binding */ faStar),
  109535. /* harmony export */ "faStarAndCrescent": () => (/* binding */ faStarAndCrescent),
  109536. /* harmony export */ "faStarHalf": () => (/* binding */ faStarHalf),
  109537. /* harmony export */ "faStarHalfAlt": () => (/* binding */ faStarHalfAlt),
  109538. /* harmony export */ "faStarHalfStroke": () => (/* binding */ faStarHalfStroke),
  109539. /* harmony export */ "faStarOfDavid": () => (/* binding */ faStarOfDavid),
  109540. /* harmony export */ "faStarOfLife": () => (/* binding */ faStarOfLife),
  109541. /* harmony export */ "faStepBackward": () => (/* binding */ faStepBackward),
  109542. /* harmony export */ "faStepForward": () => (/* binding */ faStepForward),
  109543. /* harmony export */ "faSterlingSign": () => (/* binding */ faSterlingSign),
  109544. /* harmony export */ "faStethoscope": () => (/* binding */ faStethoscope),
  109545. /* harmony export */ "faStickyNote": () => (/* binding */ faStickyNote),
  109546. /* harmony export */ "faStop": () => (/* binding */ faStop),
  109547. /* harmony export */ "faStopCircle": () => (/* binding */ faStopCircle),
  109548. /* harmony export */ "faStopwatch": () => (/* binding */ faStopwatch),
  109549. /* harmony export */ "faStopwatch20": () => (/* binding */ faStopwatch20),
  109550. /* harmony export */ "faStore": () => (/* binding */ faStore),
  109551. /* harmony export */ "faStoreAlt": () => (/* binding */ faStoreAlt),
  109552. /* harmony export */ "faStoreAltSlash": () => (/* binding */ faStoreAltSlash),
  109553. /* harmony export */ "faStoreSlash": () => (/* binding */ faStoreSlash),
  109554. /* harmony export */ "faStream": () => (/* binding */ faStream),
  109555. /* harmony export */ "faStreetView": () => (/* binding */ faStreetView),
  109556. /* harmony export */ "faStrikethrough": () => (/* binding */ faStrikethrough),
  109557. /* harmony export */ "faStroopwafel": () => (/* binding */ faStroopwafel),
  109558. /* harmony export */ "faSubscript": () => (/* binding */ faSubscript),
  109559. /* harmony export */ "faSubtract": () => (/* binding */ faSubtract),
  109560. /* harmony export */ "faSubway": () => (/* binding */ faSubway),
  109561. /* harmony export */ "faSuitcase": () => (/* binding */ faSuitcase),
  109562. /* harmony export */ "faSuitcaseMedical": () => (/* binding */ faSuitcaseMedical),
  109563. /* harmony export */ "faSuitcaseRolling": () => (/* binding */ faSuitcaseRolling),
  109564. /* harmony export */ "faSun": () => (/* binding */ faSun),
  109565. /* harmony export */ "faSunPlantWilt": () => (/* binding */ faSunPlantWilt),
  109566. /* harmony export */ "faSuperscript": () => (/* binding */ faSuperscript),
  109567. /* harmony export */ "faSurprise": () => (/* binding */ faSurprise),
  109568. /* harmony export */ "faSwatchbook": () => (/* binding */ faSwatchbook),
  109569. /* harmony export */ "faSwimmer": () => (/* binding */ faSwimmer),
  109570. /* harmony export */ "faSwimmingPool": () => (/* binding */ faSwimmingPool),
  109571. /* harmony export */ "faSynagogue": () => (/* binding */ faSynagogue),
  109572. /* harmony export */ "faSync": () => (/* binding */ faSync),
  109573. /* harmony export */ "faSyncAlt": () => (/* binding */ faSyncAlt),
  109574. /* harmony export */ "faSyringe": () => (/* binding */ faSyringe),
  109575. /* harmony export */ "faT": () => (/* binding */ faT),
  109576. /* harmony export */ "faTShirt": () => (/* binding */ faTShirt),
  109577. /* harmony export */ "faTable": () => (/* binding */ faTable),
  109578. /* harmony export */ "faTableCells": () => (/* binding */ faTableCells),
  109579. /* harmony export */ "faTableCellsLarge": () => (/* binding */ faTableCellsLarge),
  109580. /* harmony export */ "faTableColumns": () => (/* binding */ faTableColumns),
  109581. /* harmony export */ "faTableList": () => (/* binding */ faTableList),
  109582. /* harmony export */ "faTableTennis": () => (/* binding */ faTableTennis),
  109583. /* harmony export */ "faTableTennisPaddleBall": () => (/* binding */ faTableTennisPaddleBall),
  109584. /* harmony export */ "faTablet": () => (/* binding */ faTablet),
  109585. /* harmony export */ "faTabletAlt": () => (/* binding */ faTabletAlt),
  109586. /* harmony export */ "faTabletAndroid": () => (/* binding */ faTabletAndroid),
  109587. /* harmony export */ "faTabletButton": () => (/* binding */ faTabletButton),
  109588. /* harmony export */ "faTabletScreenButton": () => (/* binding */ faTabletScreenButton),
  109589. /* harmony export */ "faTablets": () => (/* binding */ faTablets),
  109590. /* harmony export */ "faTachographDigital": () => (/* binding */ faTachographDigital),
  109591. /* harmony export */ "faTachometer": () => (/* binding */ faTachometer),
  109592. /* harmony export */ "faTachometerAlt": () => (/* binding */ faTachometerAlt),
  109593. /* harmony export */ "faTachometerAltAverage": () => (/* binding */ faTachometerAltAverage),
  109594. /* harmony export */ "faTachometerAltFast": () => (/* binding */ faTachometerAltFast),
  109595. /* harmony export */ "faTachometerAverage": () => (/* binding */ faTachometerAverage),
  109596. /* harmony export */ "faTachometerFast": () => (/* binding */ faTachometerFast),
  109597. /* harmony export */ "faTag": () => (/* binding */ faTag),
  109598. /* harmony export */ "faTags": () => (/* binding */ faTags),
  109599. /* harmony export */ "faTanakh": () => (/* binding */ faTanakh),
  109600. /* harmony export */ "faTape": () => (/* binding */ faTape),
  109601. /* harmony export */ "faTarp": () => (/* binding */ faTarp),
  109602. /* harmony export */ "faTarpDroplet": () => (/* binding */ faTarpDroplet),
  109603. /* harmony export */ "faTasks": () => (/* binding */ faTasks),
  109604. /* harmony export */ "faTasksAlt": () => (/* binding */ faTasksAlt),
  109605. /* harmony export */ "faTaxi": () => (/* binding */ faTaxi),
  109606. /* harmony export */ "faTeeth": () => (/* binding */ faTeeth),
  109607. /* harmony export */ "faTeethOpen": () => (/* binding */ faTeethOpen),
  109608. /* harmony export */ "faTeletype": () => (/* binding */ faTeletype),
  109609. /* harmony export */ "faTelevision": () => (/* binding */ faTelevision),
  109610. /* harmony export */ "faTemperature0": () => (/* binding */ faTemperature0),
  109611. /* harmony export */ "faTemperature1": () => (/* binding */ faTemperature1),
  109612. /* harmony export */ "faTemperature2": () => (/* binding */ faTemperature2),
  109613. /* harmony export */ "faTemperature3": () => (/* binding */ faTemperature3),
  109614. /* harmony export */ "faTemperature4": () => (/* binding */ faTemperature4),
  109615. /* harmony export */ "faTemperatureArrowDown": () => (/* binding */ faTemperatureArrowDown),
  109616. /* harmony export */ "faTemperatureArrowUp": () => (/* binding */ faTemperatureArrowUp),
  109617. /* harmony export */ "faTemperatureDown": () => (/* binding */ faTemperatureDown),
  109618. /* harmony export */ "faTemperatureEmpty": () => (/* binding */ faTemperatureEmpty),
  109619. /* harmony export */ "faTemperatureFull": () => (/* binding */ faTemperatureFull),
  109620. /* harmony export */ "faTemperatureHalf": () => (/* binding */ faTemperatureHalf),
  109621. /* harmony export */ "faTemperatureHigh": () => (/* binding */ faTemperatureHigh),
  109622. /* harmony export */ "faTemperatureLow": () => (/* binding */ faTemperatureLow),
  109623. /* harmony export */ "faTemperatureQuarter": () => (/* binding */ faTemperatureQuarter),
  109624. /* harmony export */ "faTemperatureThreeQuarters": () => (/* binding */ faTemperatureThreeQuarters),
  109625. /* harmony export */ "faTemperatureUp": () => (/* binding */ faTemperatureUp),
  109626. /* harmony export */ "faTenge": () => (/* binding */ faTenge),
  109627. /* harmony export */ "faTengeSign": () => (/* binding */ faTengeSign),
  109628. /* harmony export */ "faTent": () => (/* binding */ faTent),
  109629. /* harmony export */ "faTentArrowDownToLine": () => (/* binding */ faTentArrowDownToLine),
  109630. /* harmony export */ "faTentArrowLeftRight": () => (/* binding */ faTentArrowLeftRight),
  109631. /* harmony export */ "faTentArrowTurnLeft": () => (/* binding */ faTentArrowTurnLeft),
  109632. /* harmony export */ "faTentArrowsDown": () => (/* binding */ faTentArrowsDown),
  109633. /* harmony export */ "faTents": () => (/* binding */ faTents),
  109634. /* harmony export */ "faTerminal": () => (/* binding */ faTerminal),
  109635. /* harmony export */ "faTextHeight": () => (/* binding */ faTextHeight),
  109636. /* harmony export */ "faTextSlash": () => (/* binding */ faTextSlash),
  109637. /* harmony export */ "faTextWidth": () => (/* binding */ faTextWidth),
  109638. /* harmony export */ "faTh": () => (/* binding */ faTh),
  109639. /* harmony export */ "faThLarge": () => (/* binding */ faThLarge),
  109640. /* harmony export */ "faThList": () => (/* binding */ faThList),
  109641. /* harmony export */ "faTheaterMasks": () => (/* binding */ faTheaterMasks),
  109642. /* harmony export */ "faThermometer": () => (/* binding */ faThermometer),
  109643. /* harmony export */ "faThermometer0": () => (/* binding */ faThermometer0),
  109644. /* harmony export */ "faThermometer1": () => (/* binding */ faThermometer1),
  109645. /* harmony export */ "faThermometer2": () => (/* binding */ faThermometer2),
  109646. /* harmony export */ "faThermometer3": () => (/* binding */ faThermometer3),
  109647. /* harmony export */ "faThermometer4": () => (/* binding */ faThermometer4),
  109648. /* harmony export */ "faThermometerEmpty": () => (/* binding */ faThermometerEmpty),
  109649. /* harmony export */ "faThermometerFull": () => (/* binding */ faThermometerFull),
  109650. /* harmony export */ "faThermometerHalf": () => (/* binding */ faThermometerHalf),
  109651. /* harmony export */ "faThermometerQuarter": () => (/* binding */ faThermometerQuarter),
  109652. /* harmony export */ "faThermometerThreeQuarters": () => (/* binding */ faThermometerThreeQuarters),
  109653. /* harmony export */ "faThumbTack": () => (/* binding */ faThumbTack),
  109654. /* harmony export */ "faThumbsDown": () => (/* binding */ faThumbsDown),
  109655. /* harmony export */ "faThumbsUp": () => (/* binding */ faThumbsUp),
  109656. /* harmony export */ "faThumbtack": () => (/* binding */ faThumbtack),
  109657. /* harmony export */ "faThunderstorm": () => (/* binding */ faThunderstorm),
  109658. /* harmony export */ "faTicket": () => (/* binding */ faTicket),
  109659. /* harmony export */ "faTicketAlt": () => (/* binding */ faTicketAlt),
  109660. /* harmony export */ "faTicketSimple": () => (/* binding */ faTicketSimple),
  109661. /* harmony export */ "faTimeline": () => (/* binding */ faTimeline),
  109662. /* harmony export */ "faTimes": () => (/* binding */ faTimes),
  109663. /* harmony export */ "faTimesCircle": () => (/* binding */ faTimesCircle),
  109664. /* harmony export */ "faTimesRectangle": () => (/* binding */ faTimesRectangle),
  109665. /* harmony export */ "faTimesSquare": () => (/* binding */ faTimesSquare),
  109666. /* harmony export */ "faTint": () => (/* binding */ faTint),
  109667. /* harmony export */ "faTintSlash": () => (/* binding */ faTintSlash),
  109668. /* harmony export */ "faTired": () => (/* binding */ faTired),
  109669. /* harmony export */ "faToggleOff": () => (/* binding */ faToggleOff),
  109670. /* harmony export */ "faToggleOn": () => (/* binding */ faToggleOn),
  109671. /* harmony export */ "faToilet": () => (/* binding */ faToilet),
  109672. /* harmony export */ "faToiletPaper": () => (/* binding */ faToiletPaper),
  109673. /* harmony export */ "faToiletPaperSlash": () => (/* binding */ faToiletPaperSlash),
  109674. /* harmony export */ "faToiletPortable": () => (/* binding */ faToiletPortable),
  109675. /* harmony export */ "faToiletsPortable": () => (/* binding */ faToiletsPortable),
  109676. /* harmony export */ "faToolbox": () => (/* binding */ faToolbox),
  109677. /* harmony export */ "faTools": () => (/* binding */ faTools),
  109678. /* harmony export */ "faTooth": () => (/* binding */ faTooth),
  109679. /* harmony export */ "faTorah": () => (/* binding */ faTorah),
  109680. /* harmony export */ "faToriiGate": () => (/* binding */ faToriiGate),
  109681. /* harmony export */ "faTornado": () => (/* binding */ faTornado),
  109682. /* harmony export */ "faTowerBroadcast": () => (/* binding */ faTowerBroadcast),
  109683. /* harmony export */ "faTowerCell": () => (/* binding */ faTowerCell),
  109684. /* harmony export */ "faTowerObservation": () => (/* binding */ faTowerObservation),
  109685. /* harmony export */ "faTractor": () => (/* binding */ faTractor),
  109686. /* harmony export */ "faTrademark": () => (/* binding */ faTrademark),
  109687. /* harmony export */ "faTrafficLight": () => (/* binding */ faTrafficLight),
  109688. /* harmony export */ "faTrailer": () => (/* binding */ faTrailer),
  109689. /* harmony export */ "faTrain": () => (/* binding */ faTrain),
  109690. /* harmony export */ "faTrainSubway": () => (/* binding */ faTrainSubway),
  109691. /* harmony export */ "faTrainTram": () => (/* binding */ faTrainTram),
  109692. /* harmony export */ "faTram": () => (/* binding */ faTram),
  109693. /* harmony export */ "faTransgender": () => (/* binding */ faTransgender),
  109694. /* harmony export */ "faTransgenderAlt": () => (/* binding */ faTransgenderAlt),
  109695. /* harmony export */ "faTrash": () => (/* binding */ faTrash),
  109696. /* harmony export */ "faTrashAlt": () => (/* binding */ faTrashAlt),
  109697. /* harmony export */ "faTrashArrowUp": () => (/* binding */ faTrashArrowUp),
  109698. /* harmony export */ "faTrashCan": () => (/* binding */ faTrashCan),
  109699. /* harmony export */ "faTrashCanArrowUp": () => (/* binding */ faTrashCanArrowUp),
  109700. /* harmony export */ "faTrashRestore": () => (/* binding */ faTrashRestore),
  109701. /* harmony export */ "faTrashRestoreAlt": () => (/* binding */ faTrashRestoreAlt),
  109702. /* harmony export */ "faTree": () => (/* binding */ faTree),
  109703. /* harmony export */ "faTreeCity": () => (/* binding */ faTreeCity),
  109704. /* harmony export */ "faTriangleCircleSquare": () => (/* binding */ faTriangleCircleSquare),
  109705. /* harmony export */ "faTriangleExclamation": () => (/* binding */ faTriangleExclamation),
  109706. /* harmony export */ "faTrophy": () => (/* binding */ faTrophy),
  109707. /* harmony export */ "faTrowel": () => (/* binding */ faTrowel),
  109708. /* harmony export */ "faTrowelBricks": () => (/* binding */ faTrowelBricks),
  109709. /* harmony export */ "faTruck": () => (/* binding */ faTruck),
  109710. /* harmony export */ "faTruckArrowRight": () => (/* binding */ faTruckArrowRight),
  109711. /* harmony export */ "faTruckDroplet": () => (/* binding */ faTruckDroplet),
  109712. /* harmony export */ "faTruckFast": () => (/* binding */ faTruckFast),
  109713. /* harmony export */ "faTruckField": () => (/* binding */ faTruckField),
  109714. /* harmony export */ "faTruckFieldUn": () => (/* binding */ faTruckFieldUn),
  109715. /* harmony export */ "faTruckFront": () => (/* binding */ faTruckFront),
  109716. /* harmony export */ "faTruckLoading": () => (/* binding */ faTruckLoading),
  109717. /* harmony export */ "faTruckMedical": () => (/* binding */ faTruckMedical),
  109718. /* harmony export */ "faTruckMonster": () => (/* binding */ faTruckMonster),
  109719. /* harmony export */ "faTruckMoving": () => (/* binding */ faTruckMoving),
  109720. /* harmony export */ "faTruckPickup": () => (/* binding */ faTruckPickup),
  109721. /* harmony export */ "faTruckPlane": () => (/* binding */ faTruckPlane),
  109722. /* harmony export */ "faTruckRampBox": () => (/* binding */ faTruckRampBox),
  109723. /* harmony export */ "faTry": () => (/* binding */ faTry),
  109724. /* harmony export */ "faTshirt": () => (/* binding */ faTshirt),
  109725. /* harmony export */ "faTty": () => (/* binding */ faTty),
  109726. /* harmony export */ "faTurkishLira": () => (/* binding */ faTurkishLira),
  109727. /* harmony export */ "faTurkishLiraSign": () => (/* binding */ faTurkishLiraSign),
  109728. /* harmony export */ "faTurnDown": () => (/* binding */ faTurnDown),
  109729. /* harmony export */ "faTurnUp": () => (/* binding */ faTurnUp),
  109730. /* harmony export */ "faTv": () => (/* binding */ faTv),
  109731. /* harmony export */ "faTvAlt": () => (/* binding */ faTvAlt),
  109732. /* harmony export */ "faU": () => (/* binding */ faU),
  109733. /* harmony export */ "faUmbrella": () => (/* binding */ faUmbrella),
  109734. /* harmony export */ "faUmbrellaBeach": () => (/* binding */ faUmbrellaBeach),
  109735. /* harmony export */ "faUnderline": () => (/* binding */ faUnderline),
  109736. /* harmony export */ "faUndo": () => (/* binding */ faUndo),
  109737. /* harmony export */ "faUndoAlt": () => (/* binding */ faUndoAlt),
  109738. /* harmony export */ "faUniversalAccess": () => (/* binding */ faUniversalAccess),
  109739. /* harmony export */ "faUniversity": () => (/* binding */ faUniversity),
  109740. /* harmony export */ "faUnlink": () => (/* binding */ faUnlink),
  109741. /* harmony export */ "faUnlock": () => (/* binding */ faUnlock),
  109742. /* harmony export */ "faUnlockAlt": () => (/* binding */ faUnlockAlt),
  109743. /* harmony export */ "faUnlockKeyhole": () => (/* binding */ faUnlockKeyhole),
  109744. /* harmony export */ "faUnsorted": () => (/* binding */ faUnsorted),
  109745. /* harmony export */ "faUpDown": () => (/* binding */ faUpDown),
  109746. /* harmony export */ "faUpDownLeftRight": () => (/* binding */ faUpDownLeftRight),
  109747. /* harmony export */ "faUpLong": () => (/* binding */ faUpLong),
  109748. /* harmony export */ "faUpRightAndDownLeftFromCenter": () => (/* binding */ faUpRightAndDownLeftFromCenter),
  109749. /* harmony export */ "faUpRightFromSquare": () => (/* binding */ faUpRightFromSquare),
  109750. /* harmony export */ "faUpload": () => (/* binding */ faUpload),
  109751. /* harmony export */ "faUsd": () => (/* binding */ faUsd),
  109752. /* harmony export */ "faUser": () => (/* binding */ faUser),
  109753. /* harmony export */ "faUserAlt": () => (/* binding */ faUserAlt),
  109754. /* harmony export */ "faUserAltSlash": () => (/* binding */ faUserAltSlash),
  109755. /* harmony export */ "faUserAstronaut": () => (/* binding */ faUserAstronaut),
  109756. /* harmony export */ "faUserCheck": () => (/* binding */ faUserCheck),
  109757. /* harmony export */ "faUserCircle": () => (/* binding */ faUserCircle),
  109758. /* harmony export */ "faUserClock": () => (/* binding */ faUserClock),
  109759. /* harmony export */ "faUserCog": () => (/* binding */ faUserCog),
  109760. /* harmony export */ "faUserDoctor": () => (/* binding */ faUserDoctor),
  109761. /* harmony export */ "faUserEdit": () => (/* binding */ faUserEdit),
  109762. /* harmony export */ "faUserFriends": () => (/* binding */ faUserFriends),
  109763. /* harmony export */ "faUserGear": () => (/* binding */ faUserGear),
  109764. /* harmony export */ "faUserGraduate": () => (/* binding */ faUserGraduate),
  109765. /* harmony export */ "faUserGroup": () => (/* binding */ faUserGroup),
  109766. /* harmony export */ "faUserInjured": () => (/* binding */ faUserInjured),
  109767. /* harmony export */ "faUserLarge": () => (/* binding */ faUserLarge),
  109768. /* harmony export */ "faUserLargeSlash": () => (/* binding */ faUserLargeSlash),
  109769. /* harmony export */ "faUserLock": () => (/* binding */ faUserLock),
  109770. /* harmony export */ "faUserMd": () => (/* binding */ faUserMd),
  109771. /* harmony export */ "faUserMinus": () => (/* binding */ faUserMinus),
  109772. /* harmony export */ "faUserNinja": () => (/* binding */ faUserNinja),
  109773. /* harmony export */ "faUserNurse": () => (/* binding */ faUserNurse),
  109774. /* harmony export */ "faUserPen": () => (/* binding */ faUserPen),
  109775. /* harmony export */ "faUserPlus": () => (/* binding */ faUserPlus),
  109776. /* harmony export */ "faUserSecret": () => (/* binding */ faUserSecret),
  109777. /* harmony export */ "faUserShield": () => (/* binding */ faUserShield),
  109778. /* harmony export */ "faUserSlash": () => (/* binding */ faUserSlash),
  109779. /* harmony export */ "faUserTag": () => (/* binding */ faUserTag),
  109780. /* harmony export */ "faUserTie": () => (/* binding */ faUserTie),
  109781. /* harmony export */ "faUserTimes": () => (/* binding */ faUserTimes),
  109782. /* harmony export */ "faUserXmark": () => (/* binding */ faUserXmark),
  109783. /* harmony export */ "faUsers": () => (/* binding */ faUsers),
  109784. /* harmony export */ "faUsersBetweenLines": () => (/* binding */ faUsersBetweenLines),
  109785. /* harmony export */ "faUsersCog": () => (/* binding */ faUsersCog),
  109786. /* harmony export */ "faUsersGear": () => (/* binding */ faUsersGear),
  109787. /* harmony export */ "faUsersLine": () => (/* binding */ faUsersLine),
  109788. /* harmony export */ "faUsersRays": () => (/* binding */ faUsersRays),
  109789. /* harmony export */ "faUsersRectangle": () => (/* binding */ faUsersRectangle),
  109790. /* harmony export */ "faUsersSlash": () => (/* binding */ faUsersSlash),
  109791. /* harmony export */ "faUsersViewfinder": () => (/* binding */ faUsersViewfinder),
  109792. /* harmony export */ "faUtensilSpoon": () => (/* binding */ faUtensilSpoon),
  109793. /* harmony export */ "faUtensils": () => (/* binding */ faUtensils),
  109794. /* harmony export */ "faV": () => (/* binding */ faV),
  109795. /* harmony export */ "faVanShuttle": () => (/* binding */ faVanShuttle),
  109796. /* harmony export */ "faVault": () => (/* binding */ faVault),
  109797. /* harmony export */ "faVcard": () => (/* binding */ faVcard),
  109798. /* harmony export */ "faVectorSquare": () => (/* binding */ faVectorSquare),
  109799. /* harmony export */ "faVenus": () => (/* binding */ faVenus),
  109800. /* harmony export */ "faVenusDouble": () => (/* binding */ faVenusDouble),
  109801. /* harmony export */ "faVenusMars": () => (/* binding */ faVenusMars),
  109802. /* harmony export */ "faVest": () => (/* binding */ faVest),
  109803. /* harmony export */ "faVestPatches": () => (/* binding */ faVestPatches),
  109804. /* harmony export */ "faVial": () => (/* binding */ faVial),
  109805. /* harmony export */ "faVialCircleCheck": () => (/* binding */ faVialCircleCheck),
  109806. /* harmony export */ "faVialVirus": () => (/* binding */ faVialVirus),
  109807. /* harmony export */ "faVials": () => (/* binding */ faVials),
  109808. /* harmony export */ "faVideo": () => (/* binding */ faVideo),
  109809. /* harmony export */ "faVideoCamera": () => (/* binding */ faVideoCamera),
  109810. /* harmony export */ "faVideoSlash": () => (/* binding */ faVideoSlash),
  109811. /* harmony export */ "faVihara": () => (/* binding */ faVihara),
  109812. /* harmony export */ "faVirus": () => (/* binding */ faVirus),
  109813. /* harmony export */ "faVirusCovid": () => (/* binding */ faVirusCovid),
  109814. /* harmony export */ "faVirusCovidSlash": () => (/* binding */ faVirusCovidSlash),
  109815. /* harmony export */ "faVirusSlash": () => (/* binding */ faVirusSlash),
  109816. /* harmony export */ "faViruses": () => (/* binding */ faViruses),
  109817. /* harmony export */ "faVoicemail": () => (/* binding */ faVoicemail),
  109818. /* harmony export */ "faVolcano": () => (/* binding */ faVolcano),
  109819. /* harmony export */ "faVolleyball": () => (/* binding */ faVolleyball),
  109820. /* harmony export */ "faVolleyballBall": () => (/* binding */ faVolleyballBall),
  109821. /* harmony export */ "faVolumeControlPhone": () => (/* binding */ faVolumeControlPhone),
  109822. /* harmony export */ "faVolumeDown": () => (/* binding */ faVolumeDown),
  109823. /* harmony export */ "faVolumeHigh": () => (/* binding */ faVolumeHigh),
  109824. /* harmony export */ "faVolumeLow": () => (/* binding */ faVolumeLow),
  109825. /* harmony export */ "faVolumeMute": () => (/* binding */ faVolumeMute),
  109826. /* harmony export */ "faVolumeOff": () => (/* binding */ faVolumeOff),
  109827. /* harmony export */ "faVolumeTimes": () => (/* binding */ faVolumeTimes),
  109828. /* harmony export */ "faVolumeUp": () => (/* binding */ faVolumeUp),
  109829. /* harmony export */ "faVolumeXmark": () => (/* binding */ faVolumeXmark),
  109830. /* harmony export */ "faVoteYea": () => (/* binding */ faVoteYea),
  109831. /* harmony export */ "faVrCardboard": () => (/* binding */ faVrCardboard),
  109832. /* harmony export */ "faW": () => (/* binding */ faW),
  109833. /* harmony export */ "faWalkieTalkie": () => (/* binding */ faWalkieTalkie),
  109834. /* harmony export */ "faWalking": () => (/* binding */ faWalking),
  109835. /* harmony export */ "faWallet": () => (/* binding */ faWallet),
  109836. /* harmony export */ "faWandMagic": () => (/* binding */ faWandMagic),
  109837. /* harmony export */ "faWandMagicSparkles": () => (/* binding */ faWandMagicSparkles),
  109838. /* harmony export */ "faWandSparkles": () => (/* binding */ faWandSparkles),
  109839. /* harmony export */ "faWarehouse": () => (/* binding */ faWarehouse),
  109840. /* harmony export */ "faWarning": () => (/* binding */ faWarning),
  109841. /* harmony export */ "faWater": () => (/* binding */ faWater),
  109842. /* harmony export */ "faWaterLadder": () => (/* binding */ faWaterLadder),
  109843. /* harmony export */ "faWaveSquare": () => (/* binding */ faWaveSquare),
  109844. /* harmony export */ "faWeight": () => (/* binding */ faWeight),
  109845. /* harmony export */ "faWeightHanging": () => (/* binding */ faWeightHanging),
  109846. /* harmony export */ "faWeightScale": () => (/* binding */ faWeightScale),
  109847. /* harmony export */ "faWheatAlt": () => (/* binding */ faWheatAlt),
  109848. /* harmony export */ "faWheatAwn": () => (/* binding */ faWheatAwn),
  109849. /* harmony export */ "faWheatAwnCircleExclamation": () => (/* binding */ faWheatAwnCircleExclamation),
  109850. /* harmony export */ "faWheelchair": () => (/* binding */ faWheelchair),
  109851. /* harmony export */ "faWheelchairAlt": () => (/* binding */ faWheelchairAlt),
  109852. /* harmony export */ "faWheelchairMove": () => (/* binding */ faWheelchairMove),
  109853. /* harmony export */ "faWhiskeyGlass": () => (/* binding */ faWhiskeyGlass),
  109854. /* harmony export */ "faWifi": () => (/* binding */ faWifi),
  109855. /* harmony export */ "faWifi3": () => (/* binding */ faWifi3),
  109856. /* harmony export */ "faWifiStrong": () => (/* binding */ faWifiStrong),
  109857. /* harmony export */ "faWind": () => (/* binding */ faWind),
  109858. /* harmony export */ "faWindowClose": () => (/* binding */ faWindowClose),
  109859. /* harmony export */ "faWindowMaximize": () => (/* binding */ faWindowMaximize),
  109860. /* harmony export */ "faWindowMinimize": () => (/* binding */ faWindowMinimize),
  109861. /* harmony export */ "faWindowRestore": () => (/* binding */ faWindowRestore),
  109862. /* harmony export */ "faWineBottle": () => (/* binding */ faWineBottle),
  109863. /* harmony export */ "faWineGlass": () => (/* binding */ faWineGlass),
  109864. /* harmony export */ "faWineGlassAlt": () => (/* binding */ faWineGlassAlt),
  109865. /* harmony export */ "faWineGlassEmpty": () => (/* binding */ faWineGlassEmpty),
  109866. /* harmony export */ "faWon": () => (/* binding */ faWon),
  109867. /* harmony export */ "faWonSign": () => (/* binding */ faWonSign),
  109868. /* harmony export */ "faWorm": () => (/* binding */ faWorm),
  109869. /* harmony export */ "faWrench": () => (/* binding */ faWrench),
  109870. /* harmony export */ "faX": () => (/* binding */ faX),
  109871. /* harmony export */ "faXRay": () => (/* binding */ faXRay),
  109872. /* harmony export */ "faXmark": () => (/* binding */ faXmark),
  109873. /* harmony export */ "faXmarkCircle": () => (/* binding */ faXmarkCircle),
  109874. /* harmony export */ "faXmarkSquare": () => (/* binding */ faXmarkSquare),
  109875. /* harmony export */ "faXmarksLines": () => (/* binding */ faXmarksLines),
  109876. /* harmony export */ "faY": () => (/* binding */ faY),
  109877. /* harmony export */ "faYen": () => (/* binding */ faYen),
  109878. /* harmony export */ "faYenSign": () => (/* binding */ faYenSign),
  109879. /* harmony export */ "faYinYang": () => (/* binding */ faYinYang),
  109880. /* harmony export */ "faZ": () => (/* binding */ faZ),
  109881. /* harmony export */ "faZap": () => (/* binding */ faZap),
  109882. /* harmony export */ "fas": () => (/* binding */ icons),
  109883. /* harmony export */ "prefix": () => (/* binding */ prefix)
  109884. /* harmony export */ });
  109885. var prefix = "fas";
  109886. var fa0 = {
  109887. prefix: 'fas',
  109888. iconName: '0',
  109889. icon: [320, 512, [], "30", "M0 192C0 103.6 71.6 32 160 32s160 71.6 160 160V320c0 88.4-71.6 160-160 160S0 408.4 0 320V192zM160 96c-53 0-96 43-96 96V320c0 53 43 96 96 96s96-43 96-96V192c0-53-43-96-96-96z"]
  109890. };
  109891. var fa1 = {
  109892. prefix: 'fas',
  109893. iconName: '1',
  109894. icon: [256, 512, [], "31", "M160 64c0-11.8-6.5-22.6-16.9-28.2s-23-5-32.9 1.6l-96 64C-.5 111.2-4.4 131 5.4 145.8s29.7 18.7 44.4 8.9L96 123.8V416H32c-17.7 0-32 14.3-32 32s14.3 32 32 32h96 96c17.7 0 32-14.3 32-32s-14.3-32-32-32H160V64z"]
  109895. };
  109896. var fa2 = {
  109897. prefix: 'fas',
  109898. iconName: '2',
  109899. icon: [320, 512, [], "32", "M142.9 96c-21.5 0-42.2 8.5-57.4 23.8L54.6 150.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L40.2 74.5C67.5 47.3 104.4 32 142.9 32C223 32 288 97 288 177.1c0 38.5-15.3 75.4-42.5 102.6L109.3 416H288c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-12.9 0-24.6-7.8-29.6-19.8s-2.2-25.7 6.9-34.9L200.2 234.5c15.2-15.2 23.8-35.9 23.8-57.4c0-44.8-36.3-81.1-81.1-81.1z"]
  109900. };
  109901. var fa3 = {
  109902. prefix: 'fas',
  109903. iconName: '3',
  109904. icon: [448, 512, [], "33", "M64 64c0-17.7 14.3-32 32-32H336c13.2 0 25 8.1 29.8 20.4s1.5 26.3-8.2 35.2L226.3 208H248c75.1 0 136 60.9 136 136s-60.9 136-136 136H169.4c-42.4 0-81.2-24-100.2-61.9l-1.9-3.8c-7.9-15.8-1.5-35 14.3-42.9s35-1.5 42.9 14.3l1.9 3.8c8.1 16.3 24.8 26.5 42.9 26.5H248c39.8 0 72-32.2 72-72s-32.2-72-72-72H144c-13.2 0-25-8.1-29.8-20.4s-1.5-26.3 8.2-35.2L253.7 96H96C78.3 96 64 81.7 64 64z"]
  109905. };
  109906. var fa4 = {
  109907. prefix: 'fas',
  109908. iconName: '4',
  109909. icon: [384, 512, [], "34", "M189 77.6c7.5-16 .7-35.1-15.3-42.6s-35.1-.7-42.6 15.3L3 322.4c-4.7 9.9-3.9 21.5 1.9 30.8S21 368 32 368H256v80c0 17.7 14.3 32 32 32s32-14.3 32-32V368h32c17.7 0 32-14.3 32-32s-14.3-32-32-32H320V160c0-17.7-14.3-32-32-32s-32 14.3-32 32V304H82.4L189 77.6z"]
  109910. };
  109911. var fa5 = {
  109912. prefix: 'fas',
  109913. iconName: '5',
  109914. icon: [320, 512, [], "35", "M32.5 58.3C35.3 43.1 48.5 32 64 32H256c17.7 0 32 14.3 32 32s-14.3 32-32 32H90.7L70.3 208H184c75.1 0 136 60.9 136 136s-60.9 136-136 136H100.5c-39.4 0-75.4-22.3-93-57.5l-4.1-8.2c-7.9-15.8-1.5-35 14.3-42.9s35-1.5 42.9 14.3l4.1 8.2c6.8 13.6 20.6 22.1 35.8 22.1H184c39.8 0 72-32.2 72-72s-32.2-72-72-72H32c-9.5 0-18.5-4.2-24.6-11.5s-8.6-16.9-6.9-26.2l32-176z"]
  109915. };
  109916. var fa6 = {
  109917. prefix: 'fas',
  109918. iconName: '6',
  109919. icon: [320, 512, [], "36", "M232.4 84.7c11.4-13.5 9.7-33.7-3.8-45.1s-33.7-9.7-45.1 3.8L38.6 214.7C14.7 242.9 1.1 278.4 .1 315.2c0 1.4-.1 2.9-.1 4.3c0 .2 0 .3 0 .5c0 88.4 71.6 160 160 160s160-71.6 160-160c0-85.5-67.1-155.4-151.5-159.8l63.9-75.6zM64 320c0-53 43-96 96-96s96 43 96 96s-43 96-96 96s-96-43-96-96z"]
  109920. };
  109921. var fa7 = {
  109922. prefix: 'fas',
  109923. iconName: '7',
  109924. icon: [320, 512, [], "37", "M0 64C0 46.3 14.3 32 32 32H288c11.5 0 22 6.1 27.7 16.1s5.7 22.2-.1 32.1l-224 384c-8.9 15.3-28.5 20.4-43.8 11.5s-20.4-28.5-11.5-43.8L232.3 96H32C14.3 96 0 81.7 0 64z"]
  109925. };
  109926. var fa8 = {
  109927. prefix: 'fas',
  109928. iconName: '8',
  109929. icon: [320, 512, [], "38", "M304 160c0-70.7-57.3-128-128-128H144C73.3 32 16 89.3 16 160c0 34.6 13.7 66 36 89C20.5 272.3 0 309.8 0 352c0 70.7 57.3 128 128 128h64c70.7 0 128-57.3 128-128c0-42.2-20.5-79.7-52-103c22.3-23 36-54.4 36-89zM176.1 288H192c35.3 0 64 28.7 64 64s-28.7 64-64 64H128c-35.3 0-64-28.7-64-64s28.7-64 64-64h15.9c0 0 .1 0 .1 0h32c0 0 .1 0 .1 0zm0-64c0 0 0 0 0 0H144c0 0 0 0 0 0c-35.3 0-64-28.7-64-64c0-35.3 28.7-64 64-64h32c35.3 0 64 28.7 64 64c0 35.3-28.6 64-64 64z"]
  109930. };
  109931. var fa9 = {
  109932. prefix: 'fas',
  109933. iconName: '9',
  109934. icon: [320, 512, [], "39", "M64 192c0 53 43 96 96 96s96-43 96-96s-43-96-96-96s-96 43-96 96zm87.5 159.8C67.1 347.4 0 277.5 0 192C0 103.6 71.6 32 160 32s160 71.6 160 160c0 2.6-.1 5.3-.2 7.9c-1.7 35.7-15.2 70-38.4 97.4l-145 171.4c-11.4 13.5-31.6 15.2-45.1 3.8s-15.2-31.6-3.8-45.1l63.9-75.6z"]
  109935. };
  109936. var faFillDrip = {
  109937. prefix: 'fas',
  109938. iconName: 'fill-drip',
  109939. icon: [576, 512, [], "f576", "M41.4 9.4C53.9-3.1 74.1-3.1 86.6 9.4L168 90.7l53.1-53.1c28.1-28.1 73.7-28.1 101.8 0L474.3 189.1c28.1 28.1 28.1 73.7 0 101.8L283.9 481.4c-37.5 37.5-98.3 37.5-135.8 0L30.6 363.9c-37.5-37.5-37.5-98.3 0-135.8L122.7 136 41.4 54.6c-12.5-12.5-12.5-32.8 0-45.3zm176 221.3L168 181.3 75.9 273.4c-4.2 4.2-7 9.3-8.4 14.6H386.7l42.3-42.3c3.1-3.1 3.1-8.2 0-11.3L277.7 82.9c-3.1-3.1-8.2-3.1-11.3 0L213.3 136l49.4 49.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0zM512 512c-35.3 0-64-28.7-64-64c0-25.2 32.6-79.6 51.2-108.7c6-9.4 19.5-9.4 25.5 0C543.4 368.4 576 422.8 576 448c0 35.3-28.7 64-64 64z"]
  109940. };
  109941. var faArrowsToCircle = {
  109942. prefix: 'fas',
  109943. iconName: 'arrows-to-circle',
  109944. icon: [640, 512, [], "e4bd", "M9.4 9.4C21.9-3.1 42.1-3.1 54.6 9.4L160 114.7V96c0-17.7 14.3-32 32-32s32 14.3 32 32v96c0 4.3-.9 8.5-2.4 12.2c-1.6 3.7-3.8 7.3-6.9 10.3l-.1 .1c-3.1 3-6.6 5.3-10.3 6.9c-3.8 1.6-7.9 2.4-12.2 2.4H96c-17.7 0-32-14.3-32-32s14.3-32 32-32h18.7L9.4 54.6C-3.1 42.1-3.1 21.9 9.4 9.4zM384 256c0 35.3-28.7 64-64 64s-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64zM114.7 352H96c-17.7 0-32-14.3-32-32s14.3-32 32-32h96 0l.1 0c8.8 0 16.7 3.6 22.5 9.3l.1 .1c3 3.1 5.3 6.6 6.9 10.3c1.6 3.8 2.4 7.9 2.4 12.2v96c0 17.7-14.3 32-32 32s-32-14.3-32-32V397.3L54.6 502.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L114.7 352zM416 96c0-17.7 14.3-32 32-32s32 14.3 32 32v18.7L585.4 9.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3L525.3 160H544c17.7 0 32 14.3 32 32s-14.3 32-32 32H448c-8.8 0-16.8-3.6-22.6-9.3l-.1-.1c-3-3.1-5.3-6.6-6.9-10.3s-2.4-7.8-2.4-12.2l0-.1v0V96zM525.3 352L630.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L480 397.3V416c0 17.7-14.3 32-32 32s-32-14.3-32-32V320v0c0 0 0-.1 0-.1c0-4.3 .9-8.4 2.4-12.2c1.6-3.8 3.9-7.3 6.9-10.4c5.8-5.8 13.7-9.3 22.5-9.4c0 0 .1 0 .1 0h0 96c17.7 0 32 14.3 32 32s-14.3 32-32 32H525.3z"]
  109945. };
  109946. var faCircleChevronRight = {
  109947. prefix: 'fas',
  109948. iconName: 'circle-chevron-right',
  109949. icon: [512, 512, ["chevron-circle-right"], "f138", "M0 256C0 397.4 114.6 512 256 512s256-114.6 256-256S397.4 0 256 0S0 114.6 0 256zM241 377c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l87-87-87-87c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L345 239c9.4 9.4 9.4 24.6 0 33.9L241 377z"]
  109950. };
  109951. var faChevronCircleRight = faCircleChevronRight;
  109952. var faAt = {
  109953. prefix: 'fas',
  109954. iconName: 'at',
  109955. icon: [512, 512, [61946], "40", "M256 64C150 64 64 150 64 256s86 192 192 192c17.7 0 32 14.3 32 32s-14.3 32-32 32C114.6 512 0 397.4 0 256S114.6 0 256 0S512 114.6 512 256v32c0 53-43 96-96 96c-29.3 0-55.6-13.2-73.2-33.9C320 371.1 289.5 384 256 384c-70.7 0-128-57.3-128-128s57.3-128 128-128c27.9 0 53.7 8.9 74.7 24.1c5.7-5 13.1-8.1 21.3-8.1c17.7 0 32 14.3 32 32v80 32c0 17.7 14.3 32 32 32s32-14.3 32-32V256c0-106-86-192-192-192zm64 192c0-35.3-28.7-64-64-64s-64 28.7-64 64s28.7 64 64 64s64-28.7 64-64z"]
  109956. };
  109957. var faTrashCan = {
  109958. prefix: 'fas',
  109959. iconName: 'trash-can',
  109960. icon: [448, 512, [61460, "trash-alt"], "f2ed", "M135.2 17.7C140.6 6.8 151.7 0 163.8 0H284.2c12.1 0 23.2 6.8 28.6 17.7L320 32h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 96 0 81.7 0 64S14.3 32 32 32h96l7.2-14.3zM32 128H416V448c0 35.3-28.7 64-64 64H96c-35.3 0-64-28.7-64-64V128zm96 64c-8.8 0-16 7.2-16 16V432c0 8.8 7.2 16 16 16s16-7.2 16-16V208c0-8.8-7.2-16-16-16zm96 0c-8.8 0-16 7.2-16 16V432c0 8.8 7.2 16 16 16s16-7.2 16-16V208c0-8.8-7.2-16-16-16zm96 0c-8.8 0-16 7.2-16 16V432c0 8.8 7.2 16 16 16s16-7.2 16-16V208c0-8.8-7.2-16-16-16z"]
  109961. };
  109962. var faTrashAlt = faTrashCan;
  109963. var faTextHeight = {
  109964. prefix: 'fas',
  109965. iconName: 'text-height',
  109966. icon: [576, 512, [], "f034", "M32 32C14.3 32 0 46.3 0 64v64c0 17.7 14.3 32 32 32s32-14.3 32-32V96h64l0 320H96c-17.7 0-32 14.3-32 32s14.3 32 32 32H224c17.7 0 32-14.3 32-32s-14.3-32-32-32H192l0-320h64v32c0 17.7 14.3 32 32 32s32-14.3 32-32V64c0-17.7-14.3-32-32-32H160 32zm470.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-64 64c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8h32V352H416c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l64 64c12.5 12.5 32.8 12.5 45.3 0l64-64c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8H512V160h32c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-64-64z"]
  109967. };
  109968. var faUserXmark = {
  109969. prefix: 'fas',
  109970. iconName: 'user-xmark',
  109971. icon: [640, 512, ["user-times"], "f235", "M352 128c0 70.7-57.3 128-128 128s-128-57.3-128-128S153.3 0 224 0s128 57.3 128 128zM0 482.3C0 383.8 79.8 304 178.3 304h91.4C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3zM471 143c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z"]
  109972. };
  109973. var faUserTimes = faUserXmark;
  109974. var faStethoscope = {
  109975. prefix: 'fas',
  109976. iconName: 'stethoscope',
  109977. icon: [576, 512, [129658], "f0f1", "M142.4 21.9c5.6 16.8-3.5 34.9-20.2 40.5L96 71.1V192c0 53 43 96 96 96s96-43 96-96V71.1l-26.1-8.7c-16.8-5.6-25.8-23.7-20.2-40.5s23.7-25.8 40.5-20.2l26.1 8.7C334.4 19.1 352 43.5 352 71.1V192c0 77.2-54.6 141.6-127.3 156.7C231 404.6 278.4 448 336 448c61.9 0 112-50.1 112-112V265.3c-28.3-12.3-48-40.5-48-73.3c0-44.2 35.8-80 80-80s80 35.8 80 80c0 32.8-19.7 61-48 73.3V336c0 97.2-78.8 176-176 176c-92.9 0-168.9-71.9-175.5-163.1C87.2 334.2 32 269.6 32 192V71.1c0-27.5 17.6-52 43.8-60.7l26.1-8.7c16.8-5.6 34.9 3.5 40.5 20.2zM480 224c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32z"]
  109978. };
  109979. var faMessage = {
  109980. prefix: 'fas',
  109981. iconName: 'message',
  109982. icon: [512, 512, ["comment-alt"], "f27a", "M64 0C28.7 0 0 28.7 0 64V352c0 35.3 28.7 64 64 64h96v80c0 6.1 3.4 11.6 8.8 14.3s11.9 2.1 16.8-1.5L309.3 416H448c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H64z"]
  109983. };
  109984. var faCommentAlt = faMessage;
  109985. var faInfo = {
  109986. prefix: 'fas',
  109987. iconName: 'info',
  109988. icon: [192, 512, [], "f129", "M144 80c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zM0 224c0-17.7 14.3-32 32-32H96c17.7 0 32 14.3 32 32V448h32c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H64V256H32c-17.7 0-32-14.3-32-32z"]
  109989. };
  109990. var faDownLeftAndUpRightToCenter = {
  109991. prefix: 'fas',
  109992. iconName: 'down-left-and-up-right-to-center',
  109993. icon: [512, 512, ["compress-alt"], "f422", "M473 7c-9.4-9.4-24.6-9.4-33.9 0l-87 87L313 55c-6.9-6.9-17.2-8.9-26.2-5.2S272 62.3 272 72V216c0 13.3 10.7 24 24 24H440c9.7 0 18.5-5.8 22.2-14.8s1.7-19.3-5.2-26.2l-39-39 87-87c9.4-9.4 9.4-24.6 0-33.9L473 7zM216 272H72c-9.7 0-18.5 5.8-22.2 14.8s-1.7 19.3 5.2 26.2l39 39L7 439c-9.4 9.4-9.4 24.6 0 33.9l32 32c9.4 9.4 24.6 9.4 33.9 0l87-87 39 39c6.9 6.9 17.2 8.9 26.2 5.2s14.8-12.5 14.8-22.2V296c0-13.3-10.7-24-24-24z"]
  109994. };
  109995. var faCompressAlt = faDownLeftAndUpRightToCenter;
  109996. var faExplosion = {
  109997. prefix: 'fas',
  109998. iconName: 'explosion',
  109999. icon: [576, 512, [], "e4e9", "M499.6 11.3c6.7-10.7 20.5-14.5 31.7-8.5s15.8 19.5 10.6 31L404.8 338.6c2.2 2.3 4.3 4.7 6.3 7.1l97.2-54.7c10.5-5.9 23.6-3.1 30.9 6.4s6.3 23-2.2 31.5l-87 87H378.5c-13.2-37.3-48.7-64-90.5-64s-77.4 26.7-90.5 64H117.8L42.3 363.7c-9.7-6.7-13.1-19.6-7.9-30.3s17.4-15.9 28.7-12.4l97.2 30.4c3-3.9 6.1-7.7 9.4-11.3L107.4 236.3c-6.1-10.1-3.9-23.1 5.1-30.7s22.2-7.5 31.1 .1L246 293.6c1.5-.4 3-.8 4.5-1.1l13.6-142.7c1.2-12.3 11.5-21.7 23.9-21.7s22.7 9.4 23.9 21.7l13.5 141.9L499.6 11.3zM64 448v0H512v0h32c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H64zM288 0c13.3 0 24 10.7 24 24V72c0 13.3-10.7 24-24 24s-24-10.7-24-24V24c0-13.3 10.7-24 24-24z"]
  110000. };
  110001. var faFileLines = {
  110002. prefix: 'fas',
  110003. iconName: 'file-lines',
  110004. icon: [384, 512, [128441, 128462, 61686, "file-alt", "file-text"], "f15c", "M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]
  110005. };
  110006. var faFileAlt = faFileLines;
  110007. var faFileText = faFileLines;
  110008. var faWaveSquare = {
  110009. prefix: 'fas',
  110010. iconName: 'wave-square',
  110011. icon: [640, 512, [], "f83e", "M128 64c0-17.7 14.3-32 32-32H320c17.7 0 32 14.3 32 32V416h96V256c0-17.7 14.3-32 32-32H608c17.7 0 32 14.3 32 32s-14.3 32-32 32H512V448c0 17.7-14.3 32-32 32H320c-17.7 0-32-14.3-32-32V96H192V256c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32h96V64z"]
  110012. };
  110013. var faRing = {
  110014. prefix: 'fas',
  110015. iconName: 'ring',
  110016. icon: [512, 512, [], "f70b", "M64 208c0 7.8 4.4 18.7 17.1 30.3C126.5 214.1 188.9 200 256 200s129.5 14.1 174.9 38.3C443.6 226.7 448 215.8 448 208c0-12.3-10.8-32-47.9-50.6C364.9 139.8 314 128 256 128s-108.9 11.8-144.1 29.4C74.8 176 64 195.7 64 208zm192 40c-47 0-89.3 7.6-122.9 19.7C166.3 280.2 208.8 288 256 288s89.7-7.8 122.9-20.3C345.3 255.6 303 248 256 248zM0 208c0-49.6 39.4-85.8 83.3-107.8C129.1 77.3 190.3 64 256 64s126.9 13.3 172.7 36.2c43.9 22 83.3 58.2 83.3 107.8v96c0 49.6-39.4 85.8-83.3 107.8C382.9 434.7 321.7 448 256 448s-126.9-13.3-172.7-36.2C39.4 389.8 0 353.6 0 304V208z"]
  110017. };
  110018. var faBuildingUn = {
  110019. prefix: 'fas',
  110020. iconName: 'building-un',
  110021. icon: [384, 512, [], "e4d9", "M48 0C21.5 0 0 21.5 0 48V464c0 26.5 21.5 48 48 48h96V432c0-26.5 21.5-48 48-48s48 21.5 48 48v80h96c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48H48zM64 240c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V240zm112-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V240c0-8.8 7.2-16 16-16zm80 16c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H272c-8.8 0-16-7.2-16-16V240zM237.3 71.1l34.7 52V80c0-8.8 7.2-16 16-16s16 7.2 16 16v96c0 7.1-4.6 13.3-11.4 15.3s-14-.6-17.9-6.4l-34.7-52V176c0 8.8-7.2 16-16 16s-16-7.2-16-16V80c0-7.1 4.6-13.3 11.4-15.3s14 .6 17.9 6.4zM112 80v64c0 8.8 7.2 16 16 16s16-7.2 16-16V80c0-8.8 7.2-16 16-16s16 7.2 16 16v64c0 26.5-21.5 48-48 48s-48-21.5-48-48V80c0-8.8 7.2-16 16-16s16 7.2 16 16z"]
  110022. };
  110023. var faDiceThree = {
  110024. prefix: 'fas',
  110025. iconName: 'dice-three',
  110026. icon: [448, 512, [9858], "f527", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm64 160c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zm128 64c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zm64 128c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]
  110027. };
  110028. var faCalendarDays = {
  110029. prefix: 'fas',
  110030. iconName: 'calendar-days',
  110031. icon: [448, 512, ["calendar-alt"], "f073", "M128 0c17.7 0 32 14.3 32 32V64H288V32c0-17.7 14.3-32 32-32s32 14.3 32 32V64h48c26.5 0 48 21.5 48 48v48H0V112C0 85.5 21.5 64 48 64H96V32c0-17.7 14.3-32 32-32zM0 192H448V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V192zm64 80v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16H80c-8.8 0-16 7.2-16 16zm128 0v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16H208c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16H336zM64 400v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V400c0-8.8-7.2-16-16-16H80c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V400c0-8.8-7.2-16-16-16H208zm112 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V400c0-8.8-7.2-16-16-16H336c-8.8 0-16 7.2-16 16z"]
  110032. };
  110033. var faCalendarAlt = faCalendarDays;
  110034. var faAnchorCircleCheck = {
  110035. prefix: 'fas',
  110036. iconName: 'anchor-circle-check',
  110037. icon: [640, 512, [], "e4aa", "M256 96c0-17.7 14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32s-32-14.3-32-32zm85.1 80C367 158.8 384 129.4 384 96c0-53-43-96-96-96s-96 43-96 96c0 33.4 17 62.8 42.9 80H224c-17.7 0-32 14.3-32 32s14.3 32 32 32h32V448H208c-53 0-96-43-96-96v-6.1l7 7c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L97 263c-9.4-9.4-24.6-9.4-33.9 0L7 319c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l7-7V352c0 88.4 71.6 160 160 160h80 80c8.2 0 16.3-.6 24.2-1.8c-22.2-16.2-40.4-37.5-53-62.2H320V368 240h32c17.7 0 32-14.3 32-32s-14.3-32-32-32H341.1zM640 368c0-79.5-64.5-144-144-144s-144 64.5-144 144s64.5 144 144 144s144-64.5 144-144zm-76.7-43.3c6.2 6.2 6.2 16.4 0 22.6l-72 72c-6.2 6.2-16.4 6.2-22.6 0l-40-40c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L480 385.4l60.7-60.7c6.2-6.2 16.4-6.2 22.6 0z"]
  110038. };
  110039. var faBuildingCircleArrowRight = {
  110040. prefix: 'fas',
  110041. iconName: 'building-circle-arrow-right',
  110042. icon: [640, 512, [], "e4d1", "M0 48C0 21.5 21.5 0 48 0H336c26.5 0 48 21.5 48 48V232.2c-39.1 32.3-64 81.1-64 135.8c0 49.5 20.4 94.2 53.3 126.2C364.5 505.1 351.1 512 336 512H240V432c0-26.5-21.5-48-48-48s-48 21.5-48 48v80H48c-26.5 0-48-21.5-48-48V48zM80 224c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V240c0-8.8-7.2-16-16-16H80zm80 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V240c0-8.8-7.2-16-16-16H176c-8.8 0-16 7.2-16 16zm112-16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V240c0-8.8-7.2-16-16-16H272zM64 112v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V112c0-8.8-7.2-16-16-16H80c-8.8 0-16 7.2-16 16zM176 96c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V112c0-8.8-7.2-16-16-16H176zm80 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V112c0-8.8-7.2-16-16-16H272c-8.8 0-16 7.2-16 16zM640 368c0 79.5-64.5 144-144 144s-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144zM492.7 300.7c-6.2 6.2-6.2 16.4 0 22.6L521.4 352H432c-8.8 0-16 7.2-16 16s7.2 16 16 16h89.4l-28.7 28.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l56-56c6.2-6.2 6.2-16.4 0-22.6l-56-56c-6.2-6.2-16.4-6.2-22.6 0z"]
  110043. };
  110044. var faVolleyball = {
  110045. prefix: 'fas',
  110046. iconName: 'volleyball',
  110047. icon: [512, 512, [127952, "volleyball-ball"], "f45f", "M511.8 267.4c-26.1 8.7-53.4 13.8-81 15.1c9.2-105.3-31.5-204.2-103.2-272.4C434.1 41.1 512 139.5 512 256c0 3.8-.1 7.6-.2 11.4zm-3.9 34.7c-5.8 32-17.6 62-34.2 88.7c-97.5 48.5-217.7 42.6-311.9-24.5c23.7-36.2 55.4-67.7 94.5-91.8c79.9 43.2 170.1 50.8 251.6 27.6zm-236-55.5c-2.5-90.9-41.1-172.7-101.9-231.7C196.8 5.2 225.8 0 256 0c2.7 0 5.3 0 7.9 .1c90.8 60.2 145.7 167.2 134.7 282.3c-43.1-2.4-86.4-14.1-126.8-35.9zM138 28.8c20.6 18.3 38.7 39.4 53.7 62.6C95.9 136.1 30.6 220.8 7.3 316.9C2.5 297.4 0 277 0 256C0 157.2 56 71.5 138 28.8zm69.6 90.5c19.5 38.6 31 81.9 32.3 127.7C162.5 294.6 110.9 368.9 90.2 451C66 430.4 45.6 405.4 30.4 377.2c6.7-108.7 71.9-209.9 177.1-257.9zM256 512c-50.7 0-98-14.7-137.8-40.2c5.6-27 14.8-53.1 27.4-77.7C232.2 454.6 338.1 468.8 433 441c-46 44-108.3 71-177 71z"]
  110048. };
  110049. var faVolleyballBall = faVolleyball;
  110050. var faArrowsUpToLine = {
  110051. prefix: 'fas',
  110052. iconName: 'arrows-up-to-line',
  110053. icon: [640, 512, [], "e4c2", "M64 96l512 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L64 32C46.3 32 32 46.3 32 64s14.3 32 32 32zM41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L128 237.3 128 448c0 17.7 14.3 32 32 32s32-14.3 32-32l0-210.7 41.4 41.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-96-96c-12.5-12.5-32.8-12.5-45.3 0l-96 96zm320 45.3c12.5 12.5 32.8 12.5 45.3 0L448 237.3 448 448c0 17.7 14.3 32 32 32s32-14.3 32-32l0-210.7 41.4 41.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-96-96c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3z"]
  110054. };
  110055. var faSortDown = {
  110056. prefix: 'fas',
  110057. iconName: 'sort-down',
  110058. icon: [320, 512, ["sort-desc"], "f0dd", "M182.6 470.6c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-9.2-9.2-11.9-22.9-6.9-34.9s16.6-19.8 29.6-19.8H288c12.9 0 24.6 7.8 29.6 19.8s2.2 25.7-6.9 34.9l-128 128z"]
  110059. };
  110060. var faSortDesc = faSortDown;
  110061. var faCircleMinus = {
  110062. prefix: 'fas',
  110063. iconName: 'circle-minus',
  110064. icon: [512, 512, ["minus-circle"], "f056", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM184 232H328c13.3 0 24 10.7 24 24s-10.7 24-24 24H184c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]
  110065. };
  110066. var faMinusCircle = faCircleMinus;
  110067. var faDoorOpen = {
  110068. prefix: 'fas',
  110069. iconName: 'door-open',
  110070. icon: [576, 512, [], "f52b", "M320 32c0-9.9-4.5-19.2-12.3-25.2S289.8-1.4 280.2 1l-179.9 45C79 51.3 64 70.5 64 92.5V448H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H96 288h32V480 32zM256 256c0 17.7-10.7 32-24 32s-24-14.3-24-32s10.7-32 24-32s24 14.3 24 32zm96-128h96V480v32h32 64c17.7 0 32-14.3 32-32s-14.3-32-32-32H512V128c0-35.3-28.7-64-64-64H352v64z"]
  110071. };
  110072. var faRightFromBracket = {
  110073. prefix: 'fas',
  110074. iconName: 'right-from-bracket',
  110075. icon: [512, 512, ["sign-out-alt"], "f2f5", "M160 96c17.7 0 32-14.3 32-32s-14.3-32-32-32H96C43 32 0 75 0 128V384c0 53 43 96 96 96h64c17.7 0 32-14.3 32-32s-14.3-32-32-32H96c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32h64zM504.5 273.4c4.8-4.5 7.5-10.8 7.5-17.4s-2.7-12.9-7.5-17.4l-144-136c-7-6.6-17.2-8.4-26-4.6s-14.5 12.5-14.5 22v72H192c-17.7 0-32 14.3-32 32l0 64c0 17.7 14.3 32 32 32H320v72c0 9.6 5.7 18.2 14.5 22s19 2 26-4.6l144-136z"]
  110076. };
  110077. var faSignOutAlt = faRightFromBracket;
  110078. var faAtom = {
  110079. prefix: 'fas',
  110080. iconName: 'atom',
  110081. icon: [448, 512, [9883], "f5d2", "M258.9 412.3c-16.7 33.8-31 35.7-34.9 35.7s-18.1-1.9-34.9-35.7c11.4-3.9 23.1-8.4 34.9-13.5c11.8 5.1 23.4 9.7 34.9 13.5zM252.8 312c-9.7 5.8-19.3 11.2-28.8 16c-9.4-4.8-19-10.2-28.8-16c-12.1-7.3-23.6-14.8-34.2-22.4c-.7-10.8-1-22-1-33.6s.4-22.7 1-33.6c10.6-7.6 22.1-15.1 34.2-22.4c9.7-5.8 19.3-11.2 28.8-16c9.4 4.8 19 10.2 28.8 16c12.1 7.3 23.6 14.8 34.2 22.4c.7 10.8 1 22 1 33.6s-.4 22.7-1 33.6c-10.6 7.6-22.1 15.1-34.2 22.4zm184.8 72c20.7-37.1 9.4-82.8-23.6-128c33-45.2 44.3-90.9 23.6-128c-20.2-36.3-62.5-49.3-115.2-43.2C300.4 32.7 266.8 0 224 0s-76.4 32.7-98.4 84.8c-52.7-6.1-95 6.8-115.2 43.2C-10.3 165.1 1 210.8 34 256C1 301.2-10.3 346.9 10.4 384c20.2 36.3 62.5 49.3 115.2 43.2c22 52.1 55.7 84.8 98.4 84.8s76.4-32.7 98.4-84.8c52.7 6.1 95-6.8 115.2-43.2zm-67.8-79.2c18.9 30.2 14.2 44 11.9 48.1c-1.6 2.9-8.4 13-40.2 11.7c2.8-13.1 5-26.9 6.7-41.2c7.6-6.1 14.8-12.3 21.6-18.6zm11.9-145.7c2.3 4.2 7 17.9-11.9 48.1c-6.8-6.3-14-12.5-21.6-18.6c-1.7-14.3-3.9-28-6.7-41.2c31.8-1.4 38.6 8.7 40.2 11.7zM224 64c3.9 0 18.1 1.9 34.9 35.7c-11.4 3.9-23.1 8.4-34.9 13.5c-11.8-5.1-23.4-9.7-34.9-13.5C205.9 65.9 220.1 64 224 64zM106.5 147.5c-2.8 13.1-5 26.9-6.7 41.2c-7.6 6.1-14.8 12.3-21.6 18.6C59.4 177 64 163.3 66.3 159.1c1.6-2.9 8.4-13 40.2-11.7zM66.3 352.9c-2.3-4.2-7-17.9 11.9-48.1c6.8 6.3 14 12.5 21.6 18.6c1.7 14.2 3.9 28 6.7 41.2c-31.8 1.4-38.6-8.7-40.2-11.7zM224 288c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32z"]
  110082. };
  110083. var faSoap = {
  110084. prefix: 'fas',
  110085. iconName: 'soap',
  110086. icon: [512, 512, [129532], "e06e", "M208 96c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zM320 256c35.3 0 64-28.7 64-64s-28.7-64-64-64s-64 28.7-64 64s28.7 64 64 64zM416 32c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zm0 160c0 27.6-11.7 52.5-30.4 70.1C422.1 275.7 448 310.8 448 352c0 53-43 96-96 96H160c-53 0-96-43-96-96s43-96 96-96h88.4c-15.2-17-24.4-39.4-24.4-64H96c-53 0-96 43-96 96V416c0 53 43 96 96 96H416c53 0 96-43 96-96V288c0-53-43-96-96-96zM160 288c-35.3 0-64 28.7-64 64s28.7 64 64 64H352c35.3 0 64-28.7 64-64s-28.7-64-64-64H320 160z"]
  110087. };
  110088. var faIcons = {
  110089. prefix: 'fas',
  110090. iconName: 'icons',
  110091. icon: [576, 512, ["heart-music-camera-bolt"], "f86d", "M532.3 7.3C539.7 13.3 544 22.4 544 32V176c0 26.5-28.7 48-64 48s-64-21.5-64-48s28.7-48 64-48V71L384 90.2V208c0 26.5-28.7 48-64 48s-64-21.5-64-48s28.7-48 64-48V64c0-15.3 10.8-28.4 25.7-31.4l160-32c9.4-1.9 19.1 .6 26.6 6.6zM106.7 304l11.8-17.8c5.9-8.9 15.9-14.2 26.6-14.2h61.7c10.7 0 20.7 5.3 26.6 14.2L245.3 304H272c26.5 0 48 21.5 48 48V464c0 26.5-21.5 48-48 48H80c-26.5 0-48-21.5-48-48V352c0-26.5 21.5-48 48-48h26.7zM224 408c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM510.7 278.3L472.3 368H528c6.7 0 12.6 4.1 15 10.4s.6 13.3-4.4 17.7l-128 112c-5.6 4.9-13.9 5.3-19.9 .9s-8.2-12.4-5.3-19.2L423.7 400H368c-6.7 0-12.6-4.1-15-10.4s-.6-13.3 4.4-17.7l128-112c5.6-4.9 13.9-5.3 19.9-.9s8.2 12.4 5.3 19.2zm-339-59.2c-6.5 6.5-17 6.5-23 0L51.9 119.2c-28-29-26.5-76.9 5-103.9c27-23.5 68.4-19 93.4 6.5l10 10.5 9.5-10.5c25-25.5 65.9-30 93.9-6.5c31 27 32.5 74.9 4.5 103.9l-96.4 99.9z"]
  110092. };
  110093. var faHeartMusicCameraBolt = faIcons;
  110094. var faMicrophoneLinesSlash = {
  110095. prefix: 'fas',
  110096. iconName: 'microphone-lines-slash',
  110097. icon: [640, 512, ["microphone-alt-slash"], "f539", "M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L472.1 344.7c15.2-26 23.9-56.3 23.9-88.7V216c0-13.3-10.7-24-24-24s-24 10.7-24 24v24 16c0 21.2-5.1 41.1-14.2 58.7L416 300.8V256H358.9l-34.5-27c2.9-3.1 7-5 11.6-5h80V192H336c-8.8 0-16-7.2-16-16s7.2-16 16-16h80V128H336c-8.8 0-16-7.2-16-16s7.2-16 16-16h80c0-53-43-96-96-96s-96 43-96 96v54.3L38.8 5.1zm362.5 407l-43.1-33.9C346.1 382 333.3 384 320 384c-70.7 0-128-57.3-128-128v-8.7L144.7 210c-.5 1.9-.7 3.9-.7 6v40c0 89.1 66.2 162.7 152 174.4V464H248c-13.3 0-24 10.7-24 24s10.7 24 24 24h72 72c13.3 0 24-10.7 24-24s-10.7-24-24-24H344V430.4c20.4-2.8 39.7-9.1 57.3-18.2z"]
  110098. };
  110099. var faMicrophoneAltSlash = faMicrophoneLinesSlash;
  110100. var faBridgeCircleCheck = {
  110101. prefix: 'fas',
  110102. iconName: 'bridge-circle-check',
  110103. icon: [640, 512, [], "e4c9", "M64 32C46.3 32 32 46.3 32 64s14.3 32 32 32h40v64H32V288c53 0 96 43 96 96v64c0 17.7 14.3 32 32 32h32c17.7 0 32-14.3 32-32V384c0-53 43-96 96-96c6.3 0 12.4 .6 18.3 1.7C367.1 231.8 426.9 192 496 192c42.5 0 81.6 15.1 112 40.2V160H536V96h40c17.7 0 32-14.3 32-32s-14.3-32-32-32H64zM488 96v64H408V96h80zM360 96v64H280V96h80zM232 96v64H152V96h80zM640 368c0-79.5-64.5-144-144-144s-144 64.5-144 144s64.5 144 144 144s144-64.5 144-144zm-76.7-43.3c6.2 6.2 6.2 16.4 0 22.6l-72 72c-6.2 6.2-16.4 6.2-22.6 0l-40-40c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L480 385.4l60.7-60.7c6.2-6.2 16.4-6.2 22.6 0z"]
  110104. };
  110105. var faPumpMedical = {
  110106. prefix: 'fas',
  110107. iconName: 'pump-medical',
  110108. icon: [448, 512, [], "e06a", "M128 32v96H256V96h60.1c4.2 0 8.3 1.7 11.3 4.7l33.9 33.9c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L372.7 55.4c-15-15-35.4-23.4-56.6-23.4H256c0-17.7-14.3-32-32-32H160c-17.7 0-32 14.3-32 32zM117.4 160c-33.3 0-61 25.5-63.8 58.7L35 442.7C31.9 480 61.3 512 98.8 512H285.2c37.4 0 66.9-32 63.8-69.3l-18.7-224c-2.8-33.2-30.5-58.7-63.8-58.7H117.4zM216 280v32h32c13.3 0 24 10.7 24 24s-10.7 24-24 24H216v32c0 13.3-10.7 24-24 24s-24-10.7-24-24V360H136c-13.3 0-24-10.7-24-24s10.7-24 24-24h32V280c0-13.3 10.7-24 24-24s24 10.7 24 24z"]
  110109. };
  110110. var faFingerprint = {
  110111. prefix: 'fas',
  110112. iconName: 'fingerprint',
  110113. icon: [512, 512, [], "f577", "M48 256C48 141.1 141.1 48 256 48c69.3 0 130.6 33.8 168.5 86c7.8 10.7 22.8 13.1 33.5 5.3s13.1-22.8 5.3-33.5C416.8 41.7 341.3 0 256 0C114.6 0 0 114.6 0 256v8c0 13.3 10.7 24 24 24s24-10.7 24-24v-8zm458.5-52.9c-2.7-13-15.5-21.3-28.4-18.5s-21.3 15.5-18.5 28.4c2.9 13.9 4.5 28.3 4.5 43.1v8c0 13.3 10.7 24 24 24s24-10.7 24-24v-8c0-18.1-1.9-35.8-5.5-52.9zM222.1 128.2c10.8-2.9 22.1-4.4 33.9-4.4c73 0 132.2 59.2 132.2 132.2c0 31.1-1.9 62.4-3.9 86c-1 11.8-2 21.6-2.7 28.4c-.4 3.4-.7 6.1-.9 7.9l-.2 2-.1 .5 0 .1 0 0 0 0c-1.6 13.2 7.7 25.1 20.8 26.8s25.1-7.7 26.8-20.8l-23.8-3c23.8 3 23.8 3 23.8 3l0 0 0 0 0 0 0-.2 .1-.6 .3-2.2c.2-1.9 .5-4.8 .9-8.3c.8-7.2 1.8-17.4 2.8-29.6c2-24.4 4.1-57.1 4.1-90c0-99.5-80.7-180.2-180.2-180.2c-15.9 0-31.4 2.1-46.2 6c-12.8 3.4-20.5 16.5-17.1 29.3s16.5 20.5 29.3 17.1zm-74.5 52.1c7.6-10.9 5-25.8-5.9-33.4s-25.8-5-33.4 5.9C87.9 182 75.8 217.6 75.8 256c0 30.1-3.8 58.6-7.6 79.7c-1.9 10.5-3.8 19.1-5.2 24.9c-.7 2.9-1.3 5.2-1.7 6.7c-.2 .7-.3 1.3-.4 1.6l-.1 .4 0 .1 0 0c-3.6 12.7 3.7 26 16.5 29.7s26-3.7 29.7-16.5L83.8 376c23.1 6.6 23.1 6.6 23.1 6.6l0 0 0 0 0-.1 0-.2 .2-.6c.1-.5 .3-1.2 .6-2.1c.5-1.8 1.2-4.4 1.9-7.7c1.6-6.6 3.7-16.1 5.8-27.6c4.2-22.9 8.4-54.4 8.4-88.3c0-28.2 8.8-54.3 23.8-75.7zM256 200c30.9 0 56 25.1 56 56c0 47.1-2.7 86.3-5.5 113.6c-1.4 13.7-2.7 24.3-3.7 31.6c-.5 3.6-.9 6.3-1.2 8.1c-.1 .9-.2 1.6-.3 2l-.1 .5 0 .1 0 0 0 0 0 0c-2.3 13.1 6.5 25.5 19.5 27.8s25.5-6.4 27.8-19.5L324.8 416c23.6 4.1 23.6 4.1 23.6 4.1l0 0 0 0 0-.1 0-.2 .1-.7c.1-.6 .2-1.4 .4-2.4c.3-2.1 .8-5.1 1.3-9c1.1-7.8 2.5-19.1 4-33.4c2.9-28.7 5.7-69.5 5.7-118.4c0-57.4-46.6-104-104-104s-104 46.6-104 104c0 46.7-3.9 83.4-7.7 108.4c-1.9 12.5-3.8 21.9-5.2 28.2c-.7 3.1-1.3 5.5-1.6 6.9c-.2 .7-.3 1.3-.4 1.6l-.1 .3c-3.6 12.7 3.7 26 16.5 29.7s26-3.7 29.7-16.5L160 408c23.1 6.6 23.1 6.6 23.1 6.6l0 0 0 0 0-.1 .1-.2 .2-.7c.1-.5 .3-1.3 .6-2.3c.5-2 1.2-4.8 2-8.4c1.6-7.2 3.7-17.8 5.8-31.3c3-19.2 5.9-44.6 7.3-75.3c.6-12.6 .9-26 .9-40.3c0-30.9 25.1-56 56-56zm24 56c0-13.3-10.7-24-24-24s-24 10.7-24 24c0 45.4-2.6 83.4-6.3 114.5L202 478.3l0 0c-5.3 12.1 .1 26.2 12.2 31.6c12.1 5.4 26.3-.1 31.7-12.2L224 488c21.9 9.7 21.9 9.7 21.9 9.7l0 0 0 0 0-.1 .1-.3 .4-.9c.3-.8 .7-1.8 1.2-3.1c1-2.7 2.4-6.5 4-11.5c3.3-10.1 7.5-24.9 11.7-44.7C271.8 397.3 280 337.6 280 256zM225.7 370.5s0 0 0 0L256 232 225.7 370.5zm0 0c-2.7 22.5-5.9 41.3-9.2 56.6c-3.8 18.2-7.6 31.3-10.3 39.8c-1.4 4.2-2.5 7.3-3.2 9.2c-.4 .9-.6 1.6-.8 2l-.1 .4 23.6-107.9z"]
  110114. };
  110115. var faHandPointRight = {
  110116. prefix: 'fas',
  110117. iconName: 'hand-point-right',
  110118. icon: [512, 512, [], "f0a4", "M480 96c17.7 0 32 14.3 32 32s-14.3 32-32 32l-208 0 0-64 208 0zM320 288c17.7 0 32 14.3 32 32s-14.3 32-32 32H256c-17.7 0-32-14.3-32-32s14.3-32 32-32h64zm64-64c0 17.7-14.3 32-32 32H304c-17.7 0-32-14.3-32-32s14.3-32 32-32h48c17.7 0 32 14.3 32 32zM288 384c17.7 0 32 14.3 32 32s-14.3 32-32 32H224c-17.7 0-32-14.3-32-32s14.3-32 32-32h64zm-88-96l.6 0c-5.4 9.4-8.6 20.3-8.6 32c0 13.2 4 25.4 10.8 35.6C177.9 364.3 160 388.1 160 416c0 11.7 3.1 22.6 8.6 32H160C71.6 448 0 376.4 0 288l0-61.7c0-42.4 16.9-83.1 46.9-113.1l11.6-11.6C82.5 77.5 115.1 64 149 64l27 0c35.3 0 64 28.7 64 64v88c0 22.1-17.9 40-40 40s-40-17.9-40-40V160c0-8.8-7.2-16-16-16s-16 7.2-16 16v56c0 39.8 32.2 72 72 72z"]
  110119. };
  110120. var faMagnifyingGlassLocation = {
  110121. prefix: 'fas',
  110122. iconName: 'magnifying-glass-location',
  110123. icon: [512, 512, ["search-location"], "f689", "M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM288 176c0-44.2-35.8-80-80-80s-80 35.8-80 80c0 48.8 46.5 111.6 68.6 138.6c6 7.3 16.8 7.3 22.7 0c22.1-27 68.6-89.8 68.6-138.6zm-48 0c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32z"]
  110124. };
  110125. var faSearchLocation = faMagnifyingGlassLocation;
  110126. var faForwardStep = {
  110127. prefix: 'fas',
  110128. iconName: 'forward-step',
  110129. icon: [320, 512, ["step-forward"], "f051", "M52.5 440.6c-9.5 7.9-22.8 9.7-34.1 4.4S0 428.4 0 416V96C0 83.6 7.2 72.3 18.4 67s24.5-3.6 34.1 4.4l192 160L256 241V96c0-17.7 14.3-32 32-32s32 14.3 32 32V416c0 17.7-14.3 32-32 32s-32-14.3-32-32V271l-11.5 9.6-192 160z"]
  110130. };
  110131. var faStepForward = faForwardStep;
  110132. var faFaceSmileBeam = {
  110133. prefix: 'fas',
  110134. iconName: 'face-smile-beam',
  110135. icon: [512, 512, [128522, "smile-beam"], "f5b8", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM164.1 325.5C182 346.2 212.6 368 256 368s74-21.8 91.9-42.5c5.8-6.7 15.9-7.4 22.6-1.6s7.4 15.9 1.6 22.6C349.8 372.1 311.1 400 256 400s-93.8-27.9-116.1-53.5c-5.8-6.7-5.1-16.8 1.6-22.6s16.8-5.1 22.6 1.6zm53.5-96.7l0 0 0 0-.2-.2c-.2-.2-.4-.5-.7-.9c-.6-.8-1.6-2-2.8-3.4c-2.5-2.8-6-6.6-10.2-10.3c-8.8-7.8-18.8-14-27.7-14s-18.9 6.2-27.7 14c-4.2 3.7-7.7 7.5-10.2 10.3c-1.2 1.4-2.2 2.6-2.8 3.4c-.3 .4-.6 .7-.7 .9l-.2 .2 0 0 0 0 0 0c-2.1 2.8-5.7 3.9-8.9 2.8s-5.5-4.1-5.5-7.6c0-17.9 6.7-35.6 16.6-48.8c9.8-13 23.9-23.2 39.4-23.2s29.6 10.2 39.4 23.2c9.9 13.2 16.6 30.9 16.6 48.8c0 3.4-2.2 6.5-5.5 7.6s-6.9 0-8.9-2.8l0 0 0 0zm160 0l0 0-.2-.2c-.2-.2-.4-.5-.7-.9c-.6-.8-1.6-2-2.8-3.4c-2.5-2.8-6-6.6-10.2-10.3c-8.8-7.8-18.8-14-27.7-14s-18.9 6.2-27.7 14c-4.2 3.7-7.7 7.5-10.2 10.3c-1.2 1.4-2.2 2.6-2.8 3.4c-.3 .4-.6 .7-.7 .9l-.2 .2 0 0 0 0 0 0c-2.1 2.8-5.7 3.9-8.9 2.8s-5.5-4.1-5.5-7.6c0-17.9 6.7-35.6 16.6-48.8c9.8-13 23.9-23.2 39.4-23.2s29.6 10.2 39.4 23.2c9.9 13.2 16.6 30.9 16.6 48.8c0 3.4-2.2 6.5-5.5 7.6s-6.9 0-8.9-2.8l0 0 0 0 0 0z"]
  110136. };
  110137. var faSmileBeam = faFaceSmileBeam;
  110138. var faFlagCheckered = {
  110139. prefix: 'fas',
  110140. iconName: 'flag-checkered',
  110141. icon: [512, 512, [127937], "f11e", "M32 0C46.3 0 58.4 9.4 62.5 22.3l.1 0-.1 .1 .1 .3 0-.4C89.8 11.5 128.1 0 168 0c38.8 0 74.6 9.1 105.7 17C306 25.2 332.9 32 360 32c26.8 0 52.9-6.8 73-14.1c9.9-3.6 17.9-7.2 23.4-9.8c2.7-1.3 4.8-2.4 6.2-3.1c.7-.4 1.1-.6 1.4-.8l.2-.1c9.9-5.6 22.1-5.6 31.9 .2S512 20.6 512 32V320c0 12.1-6.8 23.2-17.7 28.6L480 320c14.3 28.6 14.3 28.6 14.3 28.6l0 0 0 0-.1 0-.2 .1-.7 .4c-.6 .3-1.5 .7-2.5 1.2c-2.2 1-5.2 2.4-9 4c-7.7 3.3-18.5 7.6-31.5 11.9C424.5 374.9 388.8 384 352 384c-37 0-65.2-9.4-89-17.3l-1-.3c-24-8-43.7-14.4-70-14.4c-27.9 0-64.7 7.2-96.2 15c-12.1 3-23 6-31.8 8.6V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V352 72 32C0 14.3 14.3 0 32 0zM64 158.4c17.5-4.9 40.4-10.7 64-15.2V68.8c-15 3.3-29.3 8.1-42 13c-8.5 3.4-16 6.7-22 9.6v67zm0 80v70.8c5.1-1.4 10.6-2.8 16.2-4.2c14.3-3.6 30.8-7.3 47.8-10.4V223.1c21.9-4.2 44.4-7.1 64-7.1c5.6 0 10.9 .2 16 .7v71.9c29.5 2.2 53 10 73.3 16.8l.9 .3c2 .7 3.9 1.3 5.8 1.9v-69-1.4c19 5.9 39.1 10.8 64 10.8c5.3 0 10.7-.2 16-.6v71.9c22-2 43.9-7.6 61.9-13.6c6.8-2.3 12.9-4.6 18.1-6.6V229.2c-20.9 7.5-49.9 15.8-80 18.1v-80c30.1-2.3 59.1-10.6 80-18.1V80.5c-21.6 7.3-49.5 14.3-80 15.4v71.5c-5.3 .4-10.7 .6-16 .6c-24.9 0-45-4.9-64-10.8V86.5c-9.3-2.1-18.3-4.4-27-6.7l-3.1-.8c-17.4-4.4-33.8-8.5-49.9-11.3v69c-5.1-.4-10.4-.7-16-.7c-19.6 0-42.1 3-64 7.1v80c-23.6 4.5-46.5 10.3-64 15.2zM208 136.7v80c24.4 2.1 44.3 8.7 64.2 15.3l0 0c5.2 1.7 10.5 3.5 15.8 5.2v-80c-5.3-1.7-10.6-3.4-15.8-5.2l0 0c-19.9-6.6-39.8-13.2-64.2-15.3z"]
  110142. };
  110143. var faFootball = {
  110144. prefix: 'fas',
  110145. iconName: 'football',
  110146. icon: [512, 512, [127944, "football-ball"], "f44e", "M247.5 25.4c-13.5 3.3-26.4 7.2-38.6 11.7C142.9 61.6 96.7 103.6 66 153.6c-18.3 29.8-30.9 62.3-39.2 95.4L264.5 486.6c13.5-3.3 26.4-7.2 38.6-11.7c66-24.5 112.2-66.5 142.9-116.5c18.3-29.8 30.9-62.3 39.1-95.3L247.5 25.4zM495.2 205.3c6.1-56.8 1.4-112.2-7.7-156.4c-2.7-12.9-13-22.9-26.1-25.1c-58.2-9.7-109.9-12-155.6-7.9L495.2 205.3zM206.1 496L16.8 306.7c-6.1 56.8-1.4 112.2 7.7 156.4c2.7 12.9 13 22.9 26.1 25.1c58.2 9.7 109.9 12 155.6 7.9zm54.6-331.3c6.2-6.2 16.4-6.2 22.6 0l64 64c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0l-64-64c-6.2-6.2-6.2-16.4 0-22.6zm-48 48c6.2-6.2 16.4-6.2 22.6 0l64 64c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0l-64-64c-6.2-6.2-6.2-16.4 0-22.6zm-48 48c6.2-6.2 16.4-6.2 22.6 0l64 64c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0l-64-64c-6.2-6.2-6.2-16.4 0-22.6z"]
  110147. };
  110148. var faFootballBall = faFootball;
  110149. var faSchoolCircleExclamation = {
  110150. prefix: 'fas',
  110151. iconName: 'school-circle-exclamation',
  110152. icon: [640, 512, [], "e56c", "M337.8 5.4C327-1.8 313-1.8 302.2 5.4l-139 92.7L37.6 126C15.6 130.9 0 150.3 0 172.8V464c0 26.5 21.5 48 48 48H320v0H256V416c0-35.3 28.7-64 64-64l.3 0h.5c3.4-37.7 18.7-72.1 42.2-99.1C350.2 260 335.6 264 320 264c-48.6 0-88-39.4-88-88s39.4-88 88-88s88 39.4 88 88c0 18.3-5.6 35.3-15.1 49.4c29-21 64.6-33.4 103.1-33.4c59.5 0 112.1 29.6 144 74.8V172.8c0-22.5-15.6-42-37.6-46.9L476.8 98.1 337.8 5.4zM96 192h32c8.8 0 16 7.2 16 16v64c0 8.8-7.2 16-16 16H96c-8.8 0-16-7.2-16-16V208c0-8.8 7.2-16 16-16zm0 128h32c8.8 0 16 7.2 16 16v64c0 8.8-7.2 16-16 16H96c-8.8 0-16-7.2-16-16V336c0-8.8 7.2-16 16-16zM320 128c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16s-7.2-16-16-16H336V144c0-8.8-7.2-16-16-16zM496 512c79.5 0 144-64.5 144-144s-64.5-144-144-144s-144 64.5-144 144s64.5 144 144 144zm0-48c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm0-192c8.8 0 16 7.2 16 16v80c0 8.8-7.2 16-16 16s-16-7.2-16-16V288c0-8.8 7.2-16 16-16z"]
  110153. };
  110154. var faCrop = {
  110155. prefix: 'fas',
  110156. iconName: 'crop',
  110157. icon: [512, 512, [], "f125", "M448 109.3l54.6-54.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L402.7 64 160 64v64l178.7 0L128 338.7V32c0-17.7-14.3-32-32-32S64 14.3 64 32V64H32C14.3 64 0 78.3 0 96s14.3 32 32 32H64V384c0 35.3 28.7 64 64 64H352V384H173.3L384 173.3 384 480c0 17.7 14.3 32 32 32s32-14.3 32-32V448h32c17.7 0 32-14.3 32-32s-14.3-32-32-32H448l0-274.7z"]
  110158. };
  110159. var faAnglesDown = {
  110160. prefix: 'fas',
  110161. iconName: 'angles-down',
  110162. icon: [448, 512, ["angle-double-down"], "f103", "M246.6 470.6c-12.5 12.5-32.8 12.5-45.3 0l-160-160c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L224 402.7 361.4 265.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-160 160zm160-352l-160 160c-12.5 12.5-32.8 12.5-45.3 0l-160-160c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L224 210.7 361.4 73.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3z"]
  110163. };
  110164. var faAngleDoubleDown = faAnglesDown;
  110165. var faUsersRectangle = {
  110166. prefix: 'fas',
  110167. iconName: 'users-rectangle',
  110168. icon: [640, 512, [], "e594", "M96 0C43 0 0 43 0 96V416c0 53 43 96 96 96H544c53 0 96-43 96-96V96c0-53-43-96-96-96H96zM64 96c0-17.7 14.3-32 32-32H544c17.7 0 32 14.3 32 32V416c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V96zm159.8 80c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM96 309.3c0 14.7 11.9 26.7 26.7 26.7h56.1c8-34.1 32.8-61.7 65.2-73.6c-7.5-4.1-16.2-6.4-25.3-6.4H149.3C119.9 256 96 279.9 96 309.3zM461.2 336h56.1c14.7 0 26.7-11.9 26.7-26.7c0-29.5-23.9-53.3-53.3-53.3H421.3c-9.2 0-17.8 2.3-25.3 6.4c32.4 11.9 57.2 39.5 65.2 73.6zM372 289c-3.9-.7-7.9-1-12-1H280c-4.1 0-8.1 .3-12 1c-26 4.4-47.3 22.7-55.9 47c-2.7 7.5-4.1 15.6-4.1 24c0 13.3 10.7 24 24 24H408c13.3 0 24-10.7 24-24c0-8.4-1.4-16.5-4.1-24c-8.6-24.3-29.9-42.6-55.9-47zM512 176c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM320 256c35.3 0 64-28.7 64-64s-28.7-64-64-64s-64 28.7-64 64s28.7 64 64 64z"]
  110169. };
  110170. var faPeopleRoof = {
  110171. prefix: 'fas',
  110172. iconName: 'people-roof',
  110173. icon: [640, 512, [], "e537", "M335.5 4l288 160c15.4 8.6 21 28.1 12.4 43.5s-28.1 21-43.5 12.4L320 68.6 47.5 220c-15.4 8.6-34.9 3-43.5-12.4s-3-34.9 12.4-43.5L304.5 4c9.7-5.4 21.4-5.4 31.1 0zM320 240c-22.1 0-40-17.9-40-40s17.9-40 40-40s40 17.9 40 40s-17.9 40-40 40zM144 336c-22.1 0-40-17.9-40-40s17.9-40 40-40s40 17.9 40 40s-17.9 40-40 40zm392-40c0 22.1-17.9 40-40 40s-40-17.9-40-40s17.9-40 40-40s40 17.9 40 40zM226.9 491.4L200 441.5V480c0 17.7-14.3 32-32 32H120c-17.7 0-32-14.3-32-32V441.5L61.1 491.4c-6.3 11.7-20.8 16-32.5 9.8s-16-20.8-9.8-32.5l37.9-70.3c15.3-28.5 45.1-46.3 77.5-46.3h19.5c16.3 0 31.9 4.5 45.4 12.6l33.6-62.3c15.3-28.5 45.1-46.3 77.5-46.3h19.5c32.4 0 62.1 17.8 77.5 46.3l33.6 62.3c13.5-8.1 29.1-12.6 45.4-12.6h19.5c32.4 0 62.1 17.8 77.5 46.3l37.9 70.3c6.3 11.7 1.9 26.2-9.8 32.5s-26.2 1.9-32.5-9.8L552 441.5V480c0 17.7-14.3 32-32 32H472c-17.7 0-32-14.3-32-32V441.5l-26.9 49.9c-6.3 11.7-20.8 16-32.5 9.8s-16-20.8-9.8-32.5l36.3-67.5c-1.7-1.7-3.2-3.6-4.3-5.8L376 345.5V400c0 17.7-14.3 32-32 32H296c-17.7 0-32-14.3-32-32V345.5l-26.9 49.9c-1.2 2.2-2.6 4.1-4.3 5.8l36.3 67.5c6.3 11.7 1.9 26.2-9.8 32.5s-26.2 1.9-32.5-9.8z"]
  110174. };
  110175. var faPeopleLine = {
  110176. prefix: 'fas',
  110177. iconName: 'people-line',
  110178. icon: [640, 512, [], "e534", "M360 72c0-22.1-17.9-40-40-40s-40 17.9-40 40s17.9 40 40 40s40-17.9 40-40zM144 208c22.1 0 40-17.9 40-40s-17.9-40-40-40s-40 17.9-40 40s17.9 40 40 40zM32 416c-17.7 0-32 14.3-32 32s14.3 32 32 32H608c17.7 0 32-14.3 32-32s-14.3-32-32-32H32zM496 208c22.1 0 40-17.9 40-40s-17.9-40-40-40s-40 17.9-40 40s17.9 40 40 40zM200 313.5l26.9 49.9c6.3 11.7 20.8 16 32.5 9.8s16-20.8 9.8-32.5l-36.3-67.5c1.7-1.7 3.2-3.6 4.3-5.8L264 217.5V272c0 17.7 14.3 32 32 32h48c17.7 0 32-14.3 32-32V217.5l26.9 49.9c1.2 2.2 2.6 4.1 4.3 5.8l-36.3 67.5c-6.3 11.7-1.9 26.2 9.8 32.5s26.2 1.9 32.5-9.8L440 313.5V352c0 17.7 14.3 32 32 32h48c17.7 0 32-14.3 32-32V313.5l26.9 49.9c6.3 11.7 20.8 16 32.5 9.8s16-20.8 9.8-32.5l-37.9-70.3c-15.3-28.5-45.1-46.3-77.5-46.3H486.2c-16.3 0-31.9 4.5-45.4 12.6l-33.6-62.3c-15.3-28.5-45.1-46.3-77.5-46.3H310.2c-32.4 0-62.1 17.8-77.5 46.3l-33.6 62.3c-13.5-8.1-29.1-12.6-45.4-12.6H134.2c-32.4 0-62.1 17.8-77.5 46.3L18.9 340.6c-6.3 11.7-1.9 26.2 9.8 32.5s26.2 1.9 32.5-9.8L88 313.5V352c0 17.7 14.3 32 32 32h48c17.7 0 32-14.3 32-32V313.5z"]
  110179. };
  110180. var faBeerMugEmpty = {
  110181. prefix: 'fas',
  110182. iconName: 'beer-mug-empty',
  110183. icon: [512, 512, ["beer"], "f0fc", "M32 64c0-17.7 14.3-32 32-32H352c17.7 0 32 14.3 32 32V96h51.2c42.4 0 76.8 34.4 76.8 76.8V274.9c0 30.4-17.9 57.9-45.6 70.2L384 381.7V416c0 35.3-28.7 64-64 64H96c-35.3 0-64-28.7-64-64V64zM384 311.6l56.4-25.1c4.6-2.1 7.6-6.6 7.6-11.7V172.8c0-7.1-5.7-12.8-12.8-12.8H384V311.6zM160 144c0-8.8-7.2-16-16-16s-16 7.2-16 16V368c0 8.8 7.2 16 16 16s16-7.2 16-16V144zm64 0c0-8.8-7.2-16-16-16s-16 7.2-16 16V368c0 8.8 7.2 16 16 16s16-7.2 16-16V144zm64 0c0-8.8-7.2-16-16-16s-16 7.2-16 16V368c0 8.8 7.2 16 16 16s16-7.2 16-16V144z"]
  110184. };
  110185. var faBeer = faBeerMugEmpty;
  110186. var faDiagramPredecessor = {
  110187. prefix: 'fas',
  110188. iconName: 'diagram-predecessor',
  110189. icon: [512, 512, [], "e477", "M448 416l0-64L64 352l0 64 384 0zm0 64L64 480c-35.3 0-64-28.7-64-64l0-64c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 64c0 35.3-28.7 64-64 64zM288 160c0 35.3-28.7 64-64 64L64 224c-35.3 0-64-28.7-64-64L0 96C0 60.7 28.7 32 64 32l144 0 16 0 144 0c44.2 0 80 35.8 80 80l0 16 38.1 0c21.4 0 32.1 25.9 17 41L433 239c-9.4 9.4-24.6 9.4-33.9 0L329 169c-15.1-15.1-4.4-41 17-41l38.1 0 0-16c0-8.8-7.2-16-16-16l-80 0 0 64z"]
  110190. };
  110191. var faArrowUpLong = {
  110192. prefix: 'fas',
  110193. iconName: 'arrow-up-long',
  110194. icon: [384, 512, ["long-arrow-up"], "f176", "M214.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 109.3V480c0 17.7 14.3 32 32 32s32-14.3 32-32V109.3l73.4 73.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-128-128z"]
  110195. };
  110196. var faLongArrowUp = faArrowUpLong;
  110197. var faFireFlameSimple = {
  110198. prefix: 'fas',
  110199. iconName: 'fire-flame-simple',
  110200. icon: [384, 512, ["burn"], "f46a", "M372.5 256.5l-.7-1.9C337.8 160.8 282 76.5 209.1 8.5l-3.3-3C202.1 2 197.1 0 192 0s-10.1 2-13.8 5.5l-3.3 3C102 76.5 46.2 160.8 12.2 254.6l-.7 1.9C3.9 277.3 0 299.4 0 321.6C0 426.7 86.8 512 192 512s192-85.3 192-190.4c0-22.2-3.9-44.2-11.5-65.1zm-90.8 49.5c4.1 9.3 6.2 19.4 6.2 29.5c0 53-43 96.5-96 96.5s-96-43.5-96-96.5c0-10.1 2.1-20.3 6.2-29.5l1.9-4.3c15.8-35.4 37.9-67.7 65.3-95.1l8.9-8.9c3.6-3.6 8.5-5.6 13.6-5.6s10 2 13.6 5.6l8.9 8.9c27.4 27.4 49.6 59.7 65.3 95.1l1.9 4.3z"]
  110201. };
  110202. var faBurn = faFireFlameSimple;
  110203. var faPerson = {
  110204. prefix: 'fas',
  110205. iconName: 'person',
  110206. icon: [320, 512, [129485, "male"], "f183", "M208 48c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zM152 352V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V256.9L59.4 304.5c-9.1 15.1-28.8 20-43.9 10.9s-20-28.8-10.9-43.9l58.3-97c17.4-28.9 48.6-46.6 82.3-46.6h29.7c33.7 0 64.9 17.7 82.3 46.6l58.3 97c9.1 15.1 4.2 34.8-10.9 43.9s-34.8 4.2-43.9-10.9L232 256.9V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V352H152z"]
  110207. };
  110208. var faMale = faPerson;
  110209. var faLaptop = {
  110210. prefix: 'fas',
  110211. iconName: 'laptop',
  110212. icon: [640, 512, [128187], "f109", "M128 32C92.7 32 64 60.7 64 96V352h64V96H512V352h64V96c0-35.3-28.7-64-64-64H128zM19.2 384C8.6 384 0 392.6 0 403.2C0 445.6 34.4 480 76.8 480H563.2c42.4 0 76.8-34.4 76.8-76.8c0-10.6-8.6-19.2-19.2-19.2H19.2z"]
  110213. };
  110214. var faFileCsv = {
  110215. prefix: 'fas',
  110216. iconName: 'file-csv',
  110217. icon: [384, 512, [], "f6dd", "M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM80 224H96c22.1 0 40 17.9 40 40v8c0 8.8-7.2 16-16 16s-16-7.2-16-16v-8c0-4.4-3.6-8-8-8H80c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8H96c4.4 0 8-3.6 8-8v-8c0-8.8 7.2-16 16-16s16 7.2 16 16v8c0 22.1-17.9 40-40 40H80c-22.1 0-40-17.9-40-40V264c0-22.1 17.9-40 40-40zm72 46.4c0-25.6 20.8-46.4 46.4-46.4H216c8.8 0 16 7.2 16 16s-7.2 16-16 16H198.4c-7.9 0-14.4 6.4-14.4 14.4c0 5.2 2.8 9.9 7.2 12.5l25.4 14.5c14.4 8.3 23.4 23.6 23.4 40.3c0 25.6-20.8 46.4-46.4 46.4H168c-8.8 0-16-7.2-16-16s7.2-16 16-16h25.6c7.9 0 14.4-6.4 14.4-14.4c0-5.2-2.8-9.9-7.2-12.5l-25.4-14.5C160.9 302.4 152 287 152 270.4zM280 240v31.6c0 23 5.5 45.6 16 66c10.5-20.3 16-42.9 16-66V240c0-8.8 7.2-16 16-16s16 7.2 16 16v31.6c0 34.7-10.3 68.7-29.6 97.6l-5.1 7.7c-3 4.5-8 7.1-13.3 7.1s-10.3-2.7-13.3-7.1l-5.1-7.7c-19.3-28.9-29.6-62.9-29.6-97.6V240c0-8.8 7.2-16 16-16s16 7.2 16 16z"]
  110218. };
  110219. var faMenorah = {
  110220. prefix: 'fas',
  110221. iconName: 'menorah',
  110222. icon: [640, 512, [], "f676", "M20.8 7.4C22.8 2.9 27.1 0 32 0s9.2 2.9 11.2 7.4L61.3 49.7c1.8 4.1 2.7 8.6 2.7 13.1V64c0 17.7-14.3 32-32 32S0 81.7 0 64V62.8c0-4.5 .9-8.9 2.7-13.1L20.8 7.4zm96 0C118.8 2.9 123.1 0 128 0s9.2 2.9 11.2 7.4l18.2 42.4c1.8 4.1 2.7 8.6 2.7 13.1V64c0 17.7-14.3 32-32 32s-32-14.3-32-32V62.8c0-4.5 .9-8.9 2.7-13.1L116.8 7.4zm77.8 42.4L212.8 7.4C214.8 2.9 219.1 0 224 0s9.2 2.9 11.2 7.4l18.2 42.4c1.8 4.1 2.7 8.6 2.7 13.1V64c0 17.7-14.3 32-32 32s-32-14.3-32-32V62.8c0-4.5 .9-8.9 2.7-13.1zM308.8 7.4C310.8 2.9 315.1 0 320 0s9.2 2.9 11.2 7.4l18.2 42.4c1.8 4.1 2.7 8.6 2.7 13.1V64c0 17.7-14.3 32-32 32s-32-14.3-32-32V62.8c0-4.5 .9-8.9 2.7-13.1L308.8 7.4zm77.8 42.4L404.8 7.4C406.8 2.9 411.1 0 416 0s9.2 2.9 11.2 7.4l18.2 42.4c1.8 4.1 2.7 8.6 2.7 13.1V64c0 17.7-14.3 32-32 32s-32-14.3-32-32V62.8c0-4.5 .9-8.9 2.7-13.1zM500.8 7.4C502.8 2.9 507.1 0 512 0s9.2 2.9 11.2 7.4l18.2 42.4c1.8 4.1 2.7 8.6 2.7 13.1V64c0 17.7-14.3 32-32 32s-32-14.3-32-32V62.8c0-4.5 .9-8.9 2.7-13.1L500.8 7.4zm77.8 42.4L596.8 7.4C598.8 2.9 603.1 0 608 0s9.2 2.9 11.2 7.4l18.2 42.4c1.8 4.1 2.7 8.6 2.7 13.1V64c0 17.7-14.3 32-32 32s-32-14.3-32-32V62.8c0-4.5 .9-8.9 2.7-13.1zM32 128c17.7 0 32 14.3 32 32V288c0 17.7 14.3 32 32 32H288V160c0-17.7 14.3-32 32-32s32 14.3 32 32V320H544c17.7 0 32-14.3 32-32V160c0-17.7 14.3-32 32-32s32 14.3 32 32V288c0 53-43 96-96 96H352v64H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H320 160c-17.7 0-32-14.3-32-32s14.3-32 32-32H288V384H96c-53 0-96-43-96-96V160c0-17.7 14.3-32 32-32zm96 0c17.7 0 32 14.3 32 32v96 32H96V256 160c0-17.7 14.3-32 32-32zm96 0c17.7 0 32 14.3 32 32v96 32H192V256 160c0-17.7 14.3-32 32-32zm192 0c17.7 0 32 14.3 32 32v96 32H384V256 160c0-17.7 14.3-32 32-32zm96 0c17.7 0 32 14.3 32 32v96 32H480V256 160c0-17.7 14.3-32 32-32z"]
  110223. };
  110224. var faTruckPlane = {
  110225. prefix: 'fas',
  110226. iconName: 'truck-plane',
  110227. icon: [640, 512, [], "e58f", "M200 0c-30.6 0-56 54.7-56 86.1V192.5L7.8 274.3C2.9 277.2 0 282.4 0 288v64c0 5.1 2.4 9.8 6.4 12.8s9.3 3.9 14.1 2.5l123.4-37v81.2l-50 40c-3.8 3-6 7.6-6 12.5v32c0 5.1 2.5 10 6.6 13s9.5 3.8 14.4 2.2L200 480.9 290.4 511c-1.6-4.7-2.4-9.8-2.4-15V463.4c-18.2-10.5-30.7-29.7-31.9-51.8l-.1-.1V408 325.5 184l0-1.1 0 0V86.1C256 54.7 231.5 0 200 0zm88 176V400c0 20.9 13.4 38.7 32 45.3V488c0 13.3 10.7 24 24 24h16c13.3 0 24-10.7 24-24V448H544v40c0 13.3 10.7 24 24 24h16c13.3 0 24-10.7 24-24V445.3c18.6-6.6 32-24.4 32-45.3V176c0-26.5-21.5-48-48-48H336c-26.5 0-48 21.5-48 48zm79.8 78.7c3.3-8.7 11.2-14.7 20.5-14.7H539.7c9.2 0 17.2 6 20.5 14.7L576 304H352l15.8-49.3zM568 400c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zM384 376c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24z"]
  110228. };
  110229. var faRecordVinyl = {
  110230. prefix: 'fas',
  110231. iconName: 'record-vinyl',
  110232. icon: [512, 512, [], "f8d9", "M512 256c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM256 352c-53 0-96-43-96-96s43-96 96-96s96 43 96 96s-43 96-96 96zm0 32c70.7 0 128-57.3 128-128s-57.3-128-128-128s-128 57.3-128 128s57.3 128 128 128zm0-96c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32z"]
  110233. };
  110234. var faFaceGrinStars = {
  110235. prefix: 'fas',
  110236. iconName: 'face-grin-stars',
  110237. icon: [512, 512, [129321, "grin-stars"], "f587", "M512 256c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM403 336.5c5.1-11.8-6.9-22.4-19.2-18.7C345.3 329.4 301.9 336 256 336s-89.3-6.6-127.8-18.2c-12.3-3.7-24.3 7-19.2 18.7c24.5 56.9 81.1 96.7 147 96.7s122.5-39.8 147-96.7zM160 120c-3.1 0-5.9 1.8-7.2 4.6l-16.6 34.7-38.1 5c-3.1 .4-5.6 2.5-6.6 5.5s-.1 6.2 2.1 8.3l27.9 26.5-7 37.8c-.6 3 .7 6.1 3.2 7.9s5.8 2 8.5 .6L160 232.5l33.8 18.3c2.7 1.5 6 1.3 8.5-.6s3.7-4.9 3.2-7.9l-7-37.8L226.4 178c2.2-2.1 3.1-5.3 2.1-8.3s-3.5-5.1-6.6-5.5l-38.1-5-16.6-34.7c-1.3-2.8-4.1-4.6-7.2-4.6zm192 0c-3.1 0-5.9 1.8-7.2 4.6l-16.6 34.7-38.1 5c-3.1 .4-5.6 2.5-6.6 5.5s-.1 6.2 2.1 8.3l27.9 26.5-7 37.8c-.6 3 .7 6.1 3.2 7.9s5.8 2 8.5 .6L352 232.5l33.8 18.3c2.7 1.5 6 1.3 8.5-.6s3.7-4.9 3.2-7.9l-7-37.8L418.4 178c2.2-2.1 3.1-5.3 2.1-8.3s-3.5-5.1-6.6-5.5l-38.1-5-16.6-34.7c-1.3-2.8-4.1-4.6-7.2-4.6z"]
  110238. };
  110239. var faGrinStars = faFaceGrinStars;
  110240. var faBong = {
  110241. prefix: 'fas',
  110242. iconName: 'bong',
  110243. icon: [512, 512, [], "f55c", "M192 208.5c0 29.1-15.6 53.9-37.2 67.8c-17.2 11.1-31.5 26.1-41.7 43.7H334.9c-10.2-17.6-24.5-32.6-41.7-43.7c-21.6-13.9-37.2-38.7-37.2-67.8V64H192V208.5zM320 64V208.5c0 5.7 3.1 10.9 7.9 14c11.2 7.2 21.5 15.5 30.9 24.8L398.1 208l-7-7c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l24 24 24 24c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-7-7-43.3 43.3C406 314.1 416 347.9 416 384c0 39.4-11.9 76.1-32.2 106.5c-9.6 14.4-26.5 21.5-43.8 21.5H108.1c-17.3 0-34.2-7.1-43.8-21.5C43.9 460.1 32 423.4 32 384c0-67.8 35.1-127.3 88.1-161.5c4.8-3.1 7.9-8.3 7.9-14V64c-17.7 0-32-14.3-32-32s14.3-32 32-32h16H304h16c17.7 0 32 14.3 32 32s-14.3 32-32 32z"]
  110244. };
  110245. var faSpaghettiMonsterFlying = {
  110246. prefix: 'fas',
  110247. iconName: 'spaghetti-monster-flying',
  110248. icon: [640, 512, ["pastafarianism"], "f67b", "M208 64c0-8.8-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16s16-7.2 16-16zm48 0c0 16.2-6 31.1-16 42.3l15.6 31.2c18.7-6 39.9-9.5 64.4-9.5s45.8 3.5 64.4 9.5L400 106.3C390 95.1 384 80.2 384 64c0-35.3 28.7-64 64-64s64 28.7 64 64s-28.7 64-64 64c-1.7 0-3.4-.1-5.1-.2L427.8 158c21.1 13.6 37.7 30.2 51.4 46.4c7.1 8.3 13.5 16.6 19.3 24l1.4 1.8c6.3 8.1 11.6 14.8 16.7 20.4C527.3 262.3 532.7 264 536 264c2.5 0 4.3-.6 7.1-3.3c3.7-3.5 7.1-8.8 12.5-17.4l.6-.9c4.6-7.4 11-17.6 19.4-25.7c9.7-9.3 22.9-16.7 40.4-16.7c13.3 0 24 10.7 24 24s-10.7 24-24 24c-2.5 0-4.3 .6-7.1 3.3c-3.7 3.5-7.1 8.8-12.5 17.4l-.6 .9c-4.6 7.4-11 17.6-19.4 25.7c-9.7 9.3-22.9 16.7-40.4 16.7c-18.5 0-32.9-8.5-44.3-18.6c-3.1 4-6.6 8.3-10.5 12.7c1.4 4.3 2.8 8.5 4 12.5c.9 3 1.8 5.8 2.6 8.6c3 9.8 5.5 18.2 8.6 25.9c3.9 9.8 7.4 15.4 10.8 18.5c2.6 2.4 5.9 4.3 12.8 4.3c8.7 0 16.9-4.2 33.7-13.2c15-8 35.7-18.8 62.3-18.8c13.3 0 24 10.7 24 24s-10.7 24-24 24c-13.4 0-24.7 5.2-39.7 13.2c-1 .6-2.1 1.1-3.2 1.7C559.9 414 541.4 424 520 424c-18.4 0-33.6-6.1-45.5-17.2c-11.1-10.3-17.9-23.7-22.7-36c-3.6-9-6.7-19.1-9.5-28.5c-16.4 12.3-36.1 23.6-58.9 31.3c3.6 10.8 8.4 23.5 14.4 36.2c7.5 15.9 16.2 30.4 25.8 40.5C433 460.5 441.2 464 448 464c13.3 0 24 10.7 24 24s-10.7 24-24 24c-25.2 0-45-13.5-59.5-28.8c-14.5-15.4-25.7-34.9-34.2-53c-8-17-14.1-33.8-18.3-46.9c-5.2 .4-10.6 .6-16 .6s-10.8-.2-16-.6c-4.2 13-10.3 29.9-18.3 46.9c-8.5 18.1-19.8 37.6-34.2 53C237 498.5 217.2 512 192 512c-13.3 0-24-10.7-24-24s10.7-24 24-24c6.8 0 15-3.5 24.5-13.7c9.5-10.1 18.3-24.6 25.8-40.5c5.9-12.6 10.7-25.4 14.4-36.2c-22.8-7.7-42.5-19-58.9-31.3c-2.9 9.4-6 19.5-9.5 28.5c-4.8 12.2-11.6 25.6-22.7 36C153.6 417.9 138.4 424 120 424c-21.4 0-39.9-10-53.1-17.1l0 0c-1.1-.6-2.2-1.2-3.2-1.7c-15-8-26.3-13.2-39.7-13.2c-13.3 0-24-10.7-24-24s10.7-24 24-24c26.6 0 47.3 10.8 62.3 18.8c16.8 9 25 13.2 33.7 13.2c6.8 0 10.2-1.9 12.8-4.3c3.4-3.2 7-8.8 10.8-18.5c3-7.7 5.6-16.1 8.6-25.9c.8-2.7 1.7-5.6 2.6-8.6c1.2-4 2.6-8.2 4-12.5c-3.9-4.5-7.4-8.8-10.5-12.7C136.9 303.5 122.5 312 104 312c-17.5 0-30.7-7.4-40.4-16.7c-8.4-8.1-14.8-18.3-19.4-25.7l-.6-.9c-5.4-8.6-8.8-13.9-12.5-17.4c-2.8-2.7-4.6-3.3-7.1-3.3c-13.3 0-24-10.7-24-24s10.7-24 24-24c17.5 0 30.7 7.4 40.4 16.7c8.4 8.1 14.8 18.3 19.4 25.7l.6 .9c5.4 8.6 8.8 13.9 12.5 17.4c2.8 2.7 4.6 3.3 7.1 3.3c3.3 0 8.7-1.7 19.4-13.4c5.1-5.6 10.4-12.3 16.7-20.4l1.4-1.8c5.8-7.4 12.2-15.7 19.3-24c13.8-16.2 30.3-32.8 51.4-46.4l-15.1-30.2c-1.7 .1-3.4 .2-5.1 .2c-35.3 0-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64zm208 0c0-8.8-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16s16-7.2 16-16z"]
  110249. };
  110250. var faPastafarianism = faSpaghettiMonsterFlying;
  110251. var faArrowDownUpAcrossLine = {
  110252. prefix: 'fas',
  110253. iconName: 'arrow-down-up-across-line',
  110254. icon: [576, 512, [], "e4af", "M137.4 502.6c12.5 12.5 32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 402.7V288H544c17.7 0 32-14.3 32-32s-14.3-32-32-32H448V109.3l41.4 41.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-96-96c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L384 109.3V224H192 128 32c-17.7 0-32 14.3-32 32s14.3 32 32 32h96V402.7L86.6 361.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96zM128 192h64V64c0-17.7-14.3-32-32-32s-32 14.3-32 32V192zM448 320H384V448c0 17.7 14.3 32 32 32s32-14.3 32-32V320z"]
  110255. };
  110256. var faSpoon = {
  110257. prefix: 'fas',
  110258. iconName: 'spoon',
  110259. icon: [512, 512, [129348, 61873, "utensil-spoon"], "f2e5", "M245.8 220.9c-14.5-17.6-21.8-39.2-21.8-60.8C224 80 320 0 416 0c53 0 96 43 96 96c0 96-80 192-160.2 192c-21.6 0-43.2-7.3-60.8-21.8L54.6 502.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L245.8 220.9z"]
  110260. };
  110261. var faUtensilSpoon = faSpoon;
  110262. var faJarWheat = {
  110263. prefix: 'fas',
  110264. iconName: 'jar-wheat',
  110265. icon: [320, 512, [], "e517", "M32 32C32 14.3 46.3 0 64 0H256c17.7 0 32 14.3 32 32s-14.3 32-32 32H64C46.3 64 32 49.7 32 32zM0 160c0-35.3 28.7-64 64-64H256c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V160zm112 0H69.8c-3.2 0-5.8 2.6-5.8 5.8C64 198 90 224 122.2 224H144h32 21.8c32.1 0 58.2-26 58.2-58.2c0-3.2-2.6-5.8-5.8-5.8H208c-19.1 0-36.3 8.4-48 21.7c-11.7-13.3-28.9-21.7-48-21.7zm48 117.7c-11.7-13.3-28.9-21.7-48-21.7H69.8c-3.2 0-5.8 2.6-5.8 5.8C64 294 90 320 122.2 320H144h32 21.8c32.1 0 58.2-26 58.2-58.2c0-3.2-2.6-5.8-5.8-5.8H208c-19.1 0-36.3 8.4-48 21.7zM112 352H69.8c-3.2 0-5.8 2.6-5.8 5.8C64 390 90 416 122.2 416H144v32c0 8.8 7.2 16 16 16s16-7.2 16-16V416h21.8c32.1 0 58.2-26 58.2-58.2c0-3.2-2.6-5.8-5.8-5.8H208c-19.1 0-36.3 8.4-48 21.7c-11.7-13.3-28.9-21.7-48-21.7z"]
  110266. };
  110267. var faEnvelopesBulk = {
  110268. prefix: 'fas',
  110269. iconName: 'envelopes-bulk',
  110270. icon: [576, 512, ["mail-bulk"], "f674", "M96 0C78.3 0 64 14.3 64 32V224h96V192c0-35.3 28.7-64 64-64H448V32c0-17.7-14.3-32-32-32H96zM224 160c-17.7 0-32 14.3-32 32v32h96c35.3 0 64 28.7 64 64V416H544c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32H224zm240 64h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H464c-8.8 0-16-7.2-16-16V240c0-8.8 7.2-16 16-16zM32 256c-17.7 0-32 14.3-32 32v13L155.1 415.9c1.4 1 3.1 1.6 4.9 1.6s3.5-.6 4.9-1.6L320 301V288c0-17.7-14.3-32-32-32H32zm288 84.8L184 441.6c-6.9 5.1-15.3 7.9-24 7.9s-17-2.8-24-7.9L0 340.8V480c0 17.7 14.3 32 32 32H288c17.7 0 32-14.3 32-32V340.8z"]
  110271. };
  110272. var faMailBulk = faEnvelopesBulk;
  110273. var faFileCircleExclamation = {
  110274. prefix: 'fas',
  110275. iconName: 'file-circle-exclamation',
  110276. icon: [576, 512, [], "e4eb", "M0 64C0 28.7 28.7 0 64 0H224V128c0 17.7 14.3 32 32 32H384v38.6C310.1 219.5 256 287.4 256 368c0 59.1 29.1 111.3 73.7 143.3c-3.2 .5-6.4 .7-9.7 .7H64c-35.3 0-64-28.7-64-64V64zm384 64H256V0L384 128zm48 384c-79.5 0-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144zm0-48c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24zm0-192c-8.8 0-16 7.2-16 16v80c0 8.8 7.2 16 16 16s16-7.2 16-16V288c0-8.8-7.2-16-16-16z"]
  110277. };
  110278. var faCircleH = {
  110279. prefix: 'fas',
  110280. iconName: 'circle-h',
  110281. icon: [512, 512, [9405, "hospital-symbol"], "f47e", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM368 152V256 360c0 13.3-10.7 24-24 24s-24-10.7-24-24V280H192l0 80c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-208c0-13.3 10.7-24 24-24s24 10.7 24 24v80H320V152c0-13.3 10.7-24 24-24s24 10.7 24 24z"]
  110282. };
  110283. var faHospitalSymbol = faCircleH;
  110284. var faPager = {
  110285. prefix: 'fas',
  110286. iconName: 'pager',
  110287. icon: [512, 512, [128223], "f815", "M0 128C0 92.7 28.7 64 64 64H448c35.3 0 64 28.7 64 64V384c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128zm64 32v64c0 17.7 14.3 32 32 32H416c17.7 0 32-14.3 32-32V160c0-17.7-14.3-32-32-32H96c-17.7 0-32 14.3-32 32zM80 320c-13.3 0-24 10.7-24 24s10.7 24 24 24h56c13.3 0 24-10.7 24-24s-10.7-24-24-24H80zm136 0c-13.3 0-24 10.7-24 24s10.7 24 24 24h48c13.3 0 24-10.7 24-24s-10.7-24-24-24H216z"]
  110288. };
  110289. var faAddressBook = {
  110290. prefix: 'fas',
  110291. iconName: 'address-book',
  110292. icon: [512, 512, [62138, "contact-book"], "f2b9", "M96 0C60.7 0 32 28.7 32 64V448c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H96zM208 288h64c44.2 0 80 35.8 80 80c0 8.8-7.2 16-16 16H144c-8.8 0-16-7.2-16-16c0-44.2 35.8-80 80-80zm96-96c0 35.3-28.7 64-64 64s-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64zM512 80c0-8.8-7.2-16-16-16s-16 7.2-16 16v64c0 8.8 7.2 16 16 16s16-7.2 16-16V80zM496 192c-8.8 0-16 7.2-16 16v64c0 8.8 7.2 16 16 16s16-7.2 16-16V208c0-8.8-7.2-16-16-16zm16 144c0-8.8-7.2-16-16-16s-16 7.2-16 16v64c0 8.8 7.2 16 16 16s16-7.2 16-16V336z"]
  110293. };
  110294. var faContactBook = faAddressBook;
  110295. var faStrikethrough = {
  110296. prefix: 'fas',
  110297. iconName: 'strikethrough',
  110298. icon: [512, 512, [], "f0cc", "M161.3 144c3.2-17.2 14-30.1 33.7-38.6c21.1-9 51.8-12.3 88.6-6.5c11.9 1.9 48.8 9.1 60.1 12c17.1 4.5 34.6-5.6 39.2-22.7s-5.6-34.6-22.7-39.2c-14.3-3.8-53.6-11.4-66.6-13.4c-44.7-7-88.3-4.2-123.7 10.9c-36.5 15.6-64.4 44.8-71.8 87.3c-.1 .6-.2 1.1-.2 1.7c-2.8 23.9 .5 45.6 10.1 64.6c4.5 9 10.2 16.9 16.7 23.9H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H270.1c-.1 0-.3-.1-.4-.1l-1.1-.3c-36-10.8-65.2-19.6-85.2-33.1c-9.3-6.3-15-12.6-18.2-19.1c-3.1-6.1-5.2-14.6-3.8-27.4zM348.9 337.2c2.7 6.5 4.4 15.8 1.9 30.1c-3 17.6-13.8 30.8-33.9 39.4c-21.1 9-51.7 12.3-88.5 6.5c-18-2.9-49.1-13.5-74.4-22.1c-5.6-1.9-11-3.7-15.9-5.4c-16.8-5.6-34.9 3.5-40.5 20.3s3.5 34.9 20.3 40.5c3.6 1.2 7.9 2.7 12.7 4.3l0 0 0 0c24.9 8.5 63.6 21.7 87.6 25.6l0 0 .2 0c44.7 7 88.3 4.2 123.7-10.9c36.5-15.6 64.4-44.8 71.8-87.3c3.6-21 2.7-40.4-3.1-58.1H335.1c7 5.6 11.4 11.2 13.9 17.2z"]
  110299. };
  110300. var faK = {
  110301. prefix: 'fas',
  110302. iconName: 'k',
  110303. icon: [320, 512, [107], "4b", "M311 86.3c12.3-12.7 12-32.9-.7-45.2s-32.9-12-45.2 .7l-155.2 160L64 249V64c0-17.7-14.3-32-32-32S0 46.3 0 64V328 448c0 17.7 14.3 32 32 32s32-14.3 32-32V341l64.7-66.7 133 192c10.1 14.5 30 18.1 44.5 8.1s18.1-30 8.1-44.5L174.1 227.4 311 86.3z"]
  110304. };
  110305. var faLandmarkFlag = {
  110306. prefix: 'fas',
  110307. iconName: 'landmark-flag',
  110308. icon: [512, 512, [], "e51c", "M272 0h80c8.8 0 16 7.2 16 16V80c0 8.8-7.2 16-16 16H272v32H464c17.7 0 32 14.3 32 32s-14.3 32-32 32H48c-17.7 0-32-14.3-32-32s14.3-32 32-32H240V16c0-8.8 7.2-16 16-16h16zM64 224h64V416h40V224h64V416h48V224h64V416h40V224h64V420.3c.6 .3 1.2 .7 1.8 1.1l48 32c11.7 7.8 17 22.4 12.9 35.9S494.1 512 480 512H32c-14.1 0-26.5-9.2-30.6-22.7s1.1-28.1 12.9-35.9l48-32c.6-.4 1.2-.7 1.8-1.1V224z"]
  110309. };
  110310. var faPencil = {
  110311. prefix: 'fas',
  110312. iconName: 'pencil',
  110313. icon: [512, 512, [9999, 61504, "pencil-alt"], "f303", "M421.7 220.3l-11.3 11.3-22.6 22.6-205 205c-6.6 6.6-14.8 11.5-23.8 14.1L30.8 511c-8.4 2.5-17.5 .2-23.7-6.1S-1.5 489.7 1 481.2L38.7 353.1c2.6-9 7.5-17.2 14.1-23.8l205-205 22.6-22.6 11.3-11.3 33.9 33.9 62.1 62.1 33.9 33.9zM96 353.9l-9.3 9.3c-.9 .9-1.6 2.1-2 3.4l-25.3 86 86-25.3c1.3-.4 2.5-1.1 3.4-2l9.3-9.3H112c-8.8 0-16-7.2-16-16V353.9zM453.3 19.3l39.4 39.4c25 25 25 65.5 0 90.5l-14.5 14.5-22.6 22.6-11.3 11.3-33.9-33.9-62.1-62.1L314.3 67.7l11.3-11.3 22.6-22.6 14.5-14.5c25-25 65.5-25 90.5 0z"]
  110314. };
  110315. var faPencilAlt = faPencil;
  110316. var faBackward = {
  110317. prefix: 'fas',
  110318. iconName: 'backward',
  110319. icon: [512, 512, [9194], "f04a", "M459.5 440.6c9.5 7.9 22.8 9.7 34.1 4.4s18.4-16.6 18.4-29V96c0-12.4-7.2-23.7-18.4-29s-24.5-3.6-34.1 4.4L288 214.3V256v41.7L459.5 440.6zM256 352V256 128 96c0-12.4-7.2-23.7-18.4-29s-24.5-3.6-34.1 4.4l-192 160C4.2 237.5 0 246.5 0 256s4.2 18.5 11.5 24.6l192 160c9.5 7.9 22.8 9.7 34.1 4.4s18.4-16.6 18.4-29V352z"]
  110320. };
  110321. var faCaretRight = {
  110322. prefix: 'fas',
  110323. iconName: 'caret-right',
  110324. icon: [256, 512, [], "f0da", "M246.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-9.2-9.2-22.9-11.9-34.9-6.9s-19.8 16.6-19.8 29.6l0 256c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l128-128z"]
  110325. };
  110326. var faComments = {
  110327. prefix: 'fas',
  110328. iconName: 'comments',
  110329. icon: [640, 512, [128490, 61670], "f086", "M208 352c114.9 0 208-78.8 208-176S322.9 0 208 0S0 78.8 0 176c0 38.6 14.7 74.3 39.6 103.4c-3.5 9.4-8.7 17.7-14.2 24.7c-4.8 6.2-9.7 11-13.3 14.3c-1.8 1.6-3.3 2.9-4.3 3.7c-.5 .4-.9 .7-1.1 .8l-.2 .2 0 0 0 0C1 327.2-1.4 334.4 .8 340.9S9.1 352 16 352c21.8 0 43.8-5.6 62.1-12.5c9.2-3.5 17.8-7.4 25.3-11.4C134.1 343.3 169.8 352 208 352zM448 176c0 112.3-99.1 196.9-216.5 207C255.8 457.4 336.4 512 432 512c38.2 0 73.9-8.7 104.7-23.9c7.5 4 16 7.9 25.2 11.4c18.3 6.9 40.3 12.5 62.1 12.5c6.9 0 13.1-4.5 15.2-11.1c2.1-6.6-.2-13.8-5.8-17.9l0 0 0 0-.2-.2c-.2-.2-.6-.4-1.1-.8c-1-.8-2.5-2-4.3-3.7c-3.6-3.3-8.5-8.1-13.3-14.3c-5.5-7-10.7-15.4-14.2-24.7c24.9-29 39.6-64.7 39.6-103.4c0-92.8-84.9-168.9-192.6-175.5c.4 5.1 .6 10.3 .6 15.5z"]
  110330. };
  110331. var faPaste = {
  110332. prefix: 'fas',
  110333. iconName: 'paste',
  110334. icon: [512, 512, ["file-clipboard"], "f0ea", "M160 0c-23.7 0-44.4 12.9-55.4 32H48C21.5 32 0 53.5 0 80V400c0 26.5 21.5 48 48 48H192V176c0-44.2 35.8-80 80-80h48V80c0-26.5-21.5-48-48-48H215.4C204.4 12.9 183.7 0 160 0zM272 128c-26.5 0-48 21.5-48 48V448v16c0 26.5 21.5 48 48 48H464c26.5 0 48-21.5 48-48V256H416c-17.7 0-32-14.3-32-32V128H320 272zM160 88c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm256 40v96h96l-96-96z"]
  110335. };
  110336. var faFileClipboard = faPaste;
  110337. var faCodePullRequest = {
  110338. prefix: 'fas',
  110339. iconName: 'code-pull-request',
  110340. icon: [512, 512, [], "e13c", "M305.8 2.1C314.4 5.9 320 14.5 320 24V64h16c70.7 0 128 57.3 128 128V358.7c28.3 12.3 48 40.5 48 73.3c0 44.2-35.8 80-80 80s-80-35.8-80-80c0-32.8 19.7-61 48-73.3V192c0-35.3-28.7-64-64-64H320v40c0 9.5-5.6 18.1-14.2 21.9s-18.8 2.3-25.8-4.1l-80-72c-5.1-4.6-7.9-11-7.9-17.8s2.9-13.3 7.9-17.8l80-72c7-6.3 17.2-7.9 25.8-4.1zM104 80c0-13.3-10.7-24-24-24S56 66.7 56 80s10.7 24 24 24s24-10.7 24-24zm8 73.3V358.7c28.3 12.3 48 40.5 48 73.3c0 44.2-35.8 80-80 80s-80-35.8-80-80c0-32.8 19.7-61 48-73.3V153.3C19.7 141 0 112.8 0 80C0 35.8 35.8 0 80 0s80 35.8 80 80c0 32.8-19.7 61-48 73.3zM104 432c0-13.3-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24s24-10.7 24-24zm328 24c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24z"]
  110341. };
  110342. var faClipboardList = {
  110343. prefix: 'fas',
  110344. iconName: 'clipboard-list',
  110345. icon: [384, 512, [], "f46d", "M101.5 64C114.6 26.7 150.2 0 192 0s77.4 26.7 90.5 64H320c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128C0 92.7 28.7 64 64 64h37.5zM224 96c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zM160 368c0 8.8 7.2 16 16 16H304c8.8 0 16-7.2 16-16s-7.2-16-16-16H176c-8.8 0-16 7.2-16 16zM96 392c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24zm64-120c0 8.8 7.2 16 16 16H304c8.8 0 16-7.2 16-16s-7.2-16-16-16H176c-8.8 0-16 7.2-16 16zM96 296c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24z"]
  110346. };
  110347. var faTruckRampBox = {
  110348. prefix: 'fas',
  110349. iconName: 'truck-ramp-box',
  110350. icon: [640, 512, ["truck-loading"], "f4de", "M640 0V400c0 61.9-50.1 112-112 112c-61 0-110.5-48.7-112-109.3L48.4 502.9c-17.1 4.6-34.6-5.4-39.3-22.5s5.4-34.6 22.5-39.3L352 353.8V64c0-35.3 28.7-64 64-64H640zM576 400c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM23.1 207.7c-4.6-17.1 5.6-34.6 22.6-39.2l46.4-12.4 20.7 77.3c2.3 8.5 11.1 13.6 19.6 11.3l30.9-8.3c8.5-2.3 13.6-11.1 11.3-19.6l-20.7-77.3 46.4-12.4c17.1-4.6 34.6 5.6 39.2 22.6l41.4 154.5c4.6 17.1-5.6 34.6-22.6 39.2L103.7 384.9c-17.1 4.6-34.6-5.6-39.2-22.6L23.1 207.7z"]
  110351. };
  110352. var faTruckLoading = faTruckRampBox;
  110353. var faUserCheck = {
  110354. prefix: 'fas',
  110355. iconName: 'user-check',
  110356. icon: [640, 512, [], "f4fc", "M352 128c0 70.7-57.3 128-128 128s-128-57.3-128-128S153.3 0 224 0s128 57.3 128 128zM0 482.3C0 383.8 79.8 304 178.3 304h91.4C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3zM625 177L497 305c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L591 143c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]
  110357. };
  110358. var faVialVirus = {
  110359. prefix: 'fas',
  110360. iconName: 'vial-virus',
  110361. icon: [512, 512, [], "e597", "M32 32C14.3 32 0 46.3 0 64S14.3 96 32 96V384c0 53 43 96 96 96c28.6 0 54.2-12.5 71.8-32.3c.1-14.2 5.6-28.3 16.4-39.1c.2-.2 .1-.6-.2-.6c-30.9 0-56-25.1-56-56s25.1-56 56-56c.3 0 .4-.4 .2-.6c-21.9-21.9-21.9-57.3 0-79.2c2.4-2.4 5-4.6 7.8-6.5V96c17.7 0 32-14.3 32-32s-14.3-32-32-32H160 96 32zM96 192V96h64v96H96zM216 376c28.8 0 43.2 34.8 22.9 55.2c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0c20.4-20.4 55.2-5.9 55.2 22.9c0 13.3 10.7 24 24 24s24-10.7 24-24c0-28.8 34.8-43.2 55.2-22.9c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9C444.8 410.8 459.2 376 488 376c13.3 0 24-10.7 24-24s-10.7-24-24-24c-28.8 0-43.2-34.8-22.9-55.2c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0C410.8 259.2 376 244.8 376 216c0-13.3-10.7-24-24-24s-24 10.7-24 24c0 28.8-34.8 43.2-55.2 22.9c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9c20.4 20.4 5.9 55.2-22.9 55.2c-13.3 0-24 10.7-24 24s10.7 24 24 24zm104-24c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zm88 32c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24z"]
  110362. };
  110363. var faSheetPlastic = {
  110364. prefix: 'fas',
  110365. iconName: 'sheet-plastic',
  110366. icon: [384, 512, [], "e571", "M0 448c0 35.3 28.7 64 64 64H224V384c0-17.7 14.3-32 32-32H384V64c0-35.3-28.7-64-64-64H64C28.7 0 0 28.7 0 64V448zM171.3 75.3l-96 96c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l96-96c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6zm96 32l-160 160c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l160-160c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6zM384 384H256V512L384 384z"]
  110367. };
  110368. var faBlog = {
  110369. prefix: 'fas',
  110370. iconName: 'blog',
  110371. icon: [512, 512, [], "f781", "M192 32c0 17.7 14.3 32 32 32c123.7 0 224 100.3 224 224c0 17.7 14.3 32 32 32s32-14.3 32-32C512 128.9 383.1 0 224 0c-17.7 0-32 14.3-32 32zm0 96c0 17.7 14.3 32 32 32c70.7 0 128 57.3 128 128c0 17.7 14.3 32 32 32s32-14.3 32-32c0-106-86-192-192-192c-17.7 0-32 14.3-32 32zM96 144c0-26.5-21.5-48-48-48S0 117.5 0 144V368c0 79.5 64.5 144 144 144s144-64.5 144-144s-64.5-144-144-144H128v96h16c26.5 0 48 21.5 48 48s-21.5 48-48 48s-48-21.5-48-48V144z"]
  110372. };
  110373. var faUserNinja = {
  110374. prefix: 'fas',
  110375. iconName: 'user-ninja',
  110376. icon: [448, 512, [129399], "f504", "M224 256c-57.2 0-105.6-37.5-122-89.3c-1.1 1.3-2.2 2.6-3.5 3.8c-15.8 15.8-38.8 20.7-53.6 22.1c-8.1 .8-14.6-5.7-13.8-13.8c1.4-14.7 6.3-37.8 22.1-53.6c5.8-5.8 12.6-10.1 19.6-13.4c-7-3.2-13.8-7.6-19.6-13.4C37.4 82.7 32.6 59.7 31.1 44.9c-.8-8.1 5.7-14.6 13.8-13.8c14.7 1.4 37.8 6.3 53.6 22.1c4.8 4.8 8.7 10.4 11.7 16.1C131.4 28.2 174.4 0 224 0c70.7 0 128 57.3 128 128s-57.3 128-128 128zM0 482.3C0 396 61.3 324.1 142.7 307.6l68.5 91.4c6.4 8.5 19.2 8.5 25.6 0l68.5-91.4C386.7 324.1 448 396 448 482.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3zM160 96c-8.8 0-16 7.2-16 16s7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H160z"]
  110377. };
  110378. var faPersonArrowUpFromLine = {
  110379. prefix: 'fas',
  110380. iconName: 'person-arrow-up-from-line',
  110381. icon: [640, 512, [], "e539", "M192 96c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zm-8 352V352h16v96H184zm-64 0H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H152h80H608c17.7 0 32-14.3 32-32s-14.3-32-32-32H264V256.9l28.6 47.5c9.1 15.1 28.8 20 43.9 10.9s20-28.8 10.9-43.9l-58.3-97c-17.4-28.9-48.6-46.6-82.3-46.6H177.1c-33.7 0-64.9 17.7-82.3 46.6l-58.3 97c-9.1 15.1-4.2 34.8 10.9 43.9s34.8 4.2 43.9-10.9L120 256.9V448zM598.6 121.4l-80-80c-12.5-12.5-32.8-12.5-45.3 0l-80 80c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L464 141.3 464 384c0 17.7 14.3 32 32 32s32-14.3 32-32V141.3l25.4 25.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3z"]
  110382. };
  110383. var faScrollTorah = {
  110384. prefix: 'fas',
  110385. iconName: 'scroll-torah',
  110386. icon: [640, 512, ["torah"], "f6a0", "M96 480V32C96 14.3 74.5 0 48 0S0 14.3 0 32V480c0 17.7 21.5 32 48 32s48-14.3 48-32zM512 32H128V480H512V32zM592 0c-26.5 0-48 14.3-48 32V480c0 17.7 21.5 32 48 32s48-14.3 48-32V32c0-17.7-21.5-32-48-32zM196 313.7c0-3.2 .9-6.4 2.5-9.2L226.7 256l-28.3-48.5c-1.6-2.8-2.5-6-2.5-9.2c0-10.1 8.2-18.3 18.3-18.3H271l31.4-53.9c3.6-6.3 10.3-10.1 17.6-10.1s13.9 3.8 17.6 10.1L369 180h56.7c10.1 0 18.3 8.2 18.3 18.3c0 3.2-.9 6.4-2.5 9.2L413.3 256l28.3 48.5c1.6 2.8 2.5 6 2.5 9.2c0 10.1-8.2 18.3-18.3 18.3H369l-31.4 53.9c-3.6 6.3-10.3 10.1-17.6 10.1s-13.9-3.8-17.6-10.1L271 332H214.3c-10.1 0-18.3-8.2-18.3-18.3zm124 54.7L341.2 332H298.8L320 368.4zM254.5 256l30.3 52h70.4l30.3-52-30.3-52H284.8l-30.3 52zm144.9 23.8L383 308h32.8l-16.4-28.2zM415.8 204H383l16.4 28.2L415.8 204zM320 143.6L298.8 180h42.4L320 143.6zM224.2 204l16.4 28.2L257 204H224.2zM257 308l-16.4-28.2L224.2 308H257z"]
  110387. };
  110388. var faTorah = faScrollTorah;
  110389. var faBroomBall = {
  110390. prefix: 'fas',
  110391. iconName: 'broom-ball',
  110392. icon: [640, 512, ["quidditch", "quidditch-broom-ball"], "f458", "M633.3 12.4c10.8 14 8.3 34.1-5.6 44.9l-144 112-72 56L403 232l28.3 36.3c3.7 4.8 4.4 11.2 1.8 16.7s-8.1 9-14.1 9.1l-48 .9L292.3 194.2l12.5-46.3c1.6-5.9 6.3-10.3 12.3-11.5s12 1.1 15.8 5.8l30.8 39.4 8.7-6.8 72-56 144-112c13.9-10.9 34.1-8.3 44.9 5.6zM269.1 476.3c-55.5 43.4-215 34.2-252.3 31.4c-5.1-.4-9.7-2.9-12.8-7s-4.5-9.1-3.6-14.1c.5-3.2 1.3-7.2 2.2-12.1c3-16.5 10.8-31.6 21.9-44.1l73.5-82.5c3.1-3.5 3.2-8.6 .4-12.3s-7.9-4.7-12-2.6L47.3 353.5c-6.3 3.3-13.4-2.7-11-9.4c14.3-39.9 32.7-76.9 55.5-94.7c57.7-45.1 175.3-35.5 175.3-35.5l78.8 100.9s-19.1 116.4-76.8 161.5zM496 512c-44.2 0-80-35.8-80-80s35.8-80 80-80s80 35.8 80 80s-35.8 80-80 80z"]
  110393. };
  110394. var faQuidditch = faBroomBall;
  110395. var faQuidditchBroomBall = faBroomBall;
  110396. var faToggleOff = {
  110397. prefix: 'fas',
  110398. iconName: 'toggle-off',
  110399. icon: [576, 512, [], "f204", "M384 128c70.7 0 128 57.3 128 128s-57.3 128-128 128H192c-70.7 0-128-57.3-128-128s57.3-128 128-128H384zM576 256c0-106-86-192-192-192H192C86 64 0 150 0 256S86 448 192 448H384c106 0 192-86 192-192zM192 352c53 0 96-43 96-96s-43-96-96-96s-96 43-96 96s43 96 96 96z"]
  110400. };
  110401. var faBoxArchive = {
  110402. prefix: 'fas',
  110403. iconName: 'box-archive',
  110404. icon: [512, 512, ["archive"], "f187", "M32 32H480c17.7 0 32 14.3 32 32V96c0 17.7-14.3 32-32 32H32C14.3 128 0 113.7 0 96V64C0 46.3 14.3 32 32 32zm0 128H480V416c0 35.3-28.7 64-64 64H96c-35.3 0-64-28.7-64-64V160zm128 80c0 8.8 7.2 16 16 16H336c8.8 0 16-7.2 16-16s-7.2-16-16-16H176c-8.8 0-16 7.2-16 16z"]
  110405. };
  110406. var faArchive = faBoxArchive;
  110407. var faPersonDrowning = {
  110408. prefix: 'fas',
  110409. iconName: 'person-drowning',
  110410. icon: [576, 512, [], "e545", "M192 64c0-17.7-14.3-32-32-32s-32 14.3-32 32V96.2c0 54.1 23.5 104 62.2 138.3l-21 146.7c7.8 2.1 15.5 3.3 22.8 3.3c21.1 0 42-8.5 59.2-20.3c22.1-15.5 51.6-15.5 73.7 0c12.4 8.5 26.1 14.8 39.7 18l17.7-97.6c10.7-1.2 21.3-3.1 31.9-5.5l105-23.9c17.2-3.9 28-21.1 24.1-38.3s-21.1-28-38.3-24.1L400 216.6c-41 9.3-83.7 7.5-123.7-5.2c-50.2-16-84.3-62.6-84.3-115.3V64zM320 192c35.3 0 64-28.7 64-64s-28.7-64-64-64s-64 28.7-64 64s28.7 64 64 64zM306.5 389.9c-11.1-7.9-25.9-7.9-37 0C247 405.4 219.5 416 192 416c-26.9 0-55.3-10.8-77.4-26.1l0 0c-11.9-8.5-28.1-7.8-39.2 1.7c-14.4 11.9-32.5 21-50.6 25.2c-17.2 4-27.9 21.2-23.9 38.4s21.2 27.9 38.4 23.9c24.5-5.7 44.9-16.5 58.2-25C126.5 469.7 159 480 192 480c31.9 0 60.6-9.9 80.4-18.9c5.8-2.7 11.1-5.3 15.6-7.7c4.5 2.4 9.7 5.1 15.6 7.7c19.8 9 48.6 18.9 80.4 18.9c33 0 65.5-10.3 94.5-25.8c13.4 8.4 33.7 19.3 58.2 25c17.2 4 34.4-6.7 38.4-23.9s-6.7-34.4-23.9-38.4c-18.1-4.2-36.2-13.3-50.6-25.2c-11.1-9.4-27.3-10.1-39.2-1.7l0 0C439.4 405.2 410.9 416 384 416c-27.5 0-55-10.6-77.5-26.1z"]
  110411. };
  110412. var faArrowDown91 = {
  110413. prefix: 'fas',
  110414. iconName: 'arrow-down-9-1',
  110415. icon: [576, 512, ["sort-numeric-desc", "sort-numeric-down-alt"], "f886", "M160 480c9 0 17.5-3.8 23.6-10.4l88-96c11.9-13 11.1-33.3-2-45.2s-33.3-11.1-45.2 2L192 365.7V64c0-17.7-14.3-32-32-32s-32 14.3-32 32V365.7L95.6 330.4c-11.9-13-32.2-13.9-45.2-2s-13.9 32.2-2 45.2l88 96C142.5 476.2 151 480 160 480zM352 320c0 17.7 14.3 32 32 32h16v64H384c-17.7 0-32 14.3-32 32s14.3 32 32 32h48 48c17.7 0 32-14.3 32-32s-14.3-32-32-32H464V320c0-17.7-14.3-32-32-32H384c-17.7 0-32 14.3-32 32zm93.7-171.1c-4.2 2-8.8 3.1-13.7 3.1c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32c0 12.8-7.5 23.8-18.3 28.9zm-40.7 54.9l-6.8 9.2c-10.5 14.2-7.5 34.2 6.7 44.8s34.2 7.5 44.8-6.7l48.8-65.8c14-18.9 21.5-41.7 21.5-65.2c0-48.6-39.4-88-88-88s-88 39.4-88 88c0 39.2 25.6 72.4 61.1 83.8z"]
  110416. };
  110417. var faSortNumericDesc = faArrowDown91;
  110418. var faSortNumericDownAlt = faArrowDown91;
  110419. var faFaceGrinTongueSquint = {
  110420. prefix: 'fas',
  110421. iconName: 'face-grin-tongue-squint',
  110422. icon: [512, 512, [128541, "grin-tongue-squint"], "f58a", "M0 256C0 368.9 73.1 464.7 174.5 498.8C165.3 484 160 466.6 160 448V400.7c-24-17.5-43.1-41.4-54.8-69.2c-5-11.8 7-22.5 19.3-18.7c39.7 12.2 84.5 19 131.8 19s92.1-6.8 131.8-19c12.3-3.8 24.3 6.9 19.3 18.7c-11.8 28-31.1 52-55.4 69.6V448c0 18.6-5.3 36-14.5 50.8C438.9 464.7 512 368.9 512 256C512 114.6 397.4 0 256 0S0 114.6 0 256zM116 141.1c0-9 9.6-14.7 17.5-10.5l89.9 47.9c10.7 5.7 10.7 21.1 0 26.8l-89.9 47.9c-7.9 4.2-17.5-1.5-17.5-10.5c0-2.8 1-5.5 2.8-7.6l36-43.2-36-43.2c-1.8-2.1-2.8-4.8-2.8-7.6zm262.5-10.5c7.9-4.2 17.5 1.5 17.5 10.5c0 2.8-1 5.5-2.8 7.6l-36 43.2 36 43.2c1.8 2.1 2.8 4.8 2.8 7.6c0 9-9.6 14.7-17.5 10.5l-89.9-47.9c-10.7-5.7-10.7-21.1 0-26.8l89.9-47.9zM320 448V402.6c0-14.7-11.9-26.6-26.6-26.6h-2c-11.3 0-21.1 7.9-23.6 18.9c-2.8 12.6-20.8 12.6-23.6 0c-2.5-11.1-12.3-18.9-23.6-18.9h-2c-14.7 0-26.6 11.9-26.6 26.6V448c0 35.3 28.7 64 64 64s64-28.7 64-64z"]
  110423. };
  110424. var faGrinTongueSquint = faFaceGrinTongueSquint;
  110425. var faSprayCan = {
  110426. prefix: 'fas',
  110427. iconName: 'spray-can',
  110428. icon: [512, 512, [], "f5bd", "M128 0h64c17.7 0 32 14.3 32 32v96H96V32c0-17.7 14.3-32 32-32zM0 256c0-53 43-96 96-96H224c53 0 96 43 96 96V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V256zm240 80c0-44.2-35.8-80-80-80s-80 35.8-80 80s35.8 80 80 80s80-35.8 80-80zM320 64c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zm64 32c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zM512 64c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zM480 192c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zm32 64c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zM384 192c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]
  110429. };
  110430. var faTruckMonster = {
  110431. prefix: 'fas',
  110432. iconName: 'truck-monster',
  110433. icon: [640, 512, [], "f63b", "M288 64v64H416L368 64H288zM419.2 25.6L496 128h80c17.7 0 32 14.3 32 32v64c17.7 0 32 14.3 32 32s-14.3 32-32 32c-29.2-38.9-75.7-64-128-64s-98.8 25.1-128 64H288c-29.2-38.9-75.7-64-128-64s-98.8 25.1-128 64c-17.7 0-32-14.3-32-32s14.3-32 32-32V160c0-17.7 14.3-32 32-32H224V48c0-26.5 21.5-48 48-48h96c20.1 0 39.1 9.5 51.2 25.6zM152 256h16c12.1 0 22.1 8.9 23.8 20.6c7.6 2.2 14.9 5.3 21.7 9c9.4-7 22.8-6.3 31.3 2.3l11.3 11.3c8.6 8.6 9.3 21.9 2.3 31.3c3.7 6.8 6.8 14.1 9 21.7c11.6 1.7 20.6 11.7 20.6 23.8v16c0 12.1-8.9 22.1-20.6 23.8c-2.2 7.6-5.3 14.9-9 21.7c7 9.4 6.3 22.8-2.3 31.3l-11.3 11.3c-8.6 8.6-21.9 9.3-31.3 2.2c-6.8 3.7-14.1 6.8-21.7 9C190.1 503.1 180.1 512 168 512H152c-12.1 0-22.1-8.9-23.8-20.6c-7.6-2.2-14.9-5.3-21.7-9c-9.4 7.1-22.8 6.3-31.3-2.2L63.8 468.9c-8.6-8.6-9.3-21.9-2.3-31.3c-3.7-6.9-6.8-14.1-9-21.8C40.9 414.1 32 404.1 32 392V376c0-12.1 8.9-22.1 20.6-23.8c2.2-7.6 5.3-14.9 9-21.8c-7-9.4-6.3-22.8 2.3-31.3l11.3-11.3c8.6-8.6 21.9-9.3 31.3-2.3c6.8-3.7 14.1-6.8 21.7-9c1.7-11.6 11.7-20.6 23.8-20.6zm8 176c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zM448.2 276.6c1.7-11.6 11.7-20.6 23.8-20.6h16c12.1 0 22.1 8.9 23.8 20.6c7.6 2.2 14.9 5.3 21.8 9c9.4-7 22.8-6.3 31.3 2.3l11.3 11.3c8.6 8.6 9.3 21.9 2.2 31.3c3.7 6.8 6.8 14.1 9 21.7c11.6 1.7 20.6 11.7 20.6 23.8v16c0 12.1-8.9 22.1-20.6 23.8c-2.2 7.6-5.3 14.9-9 21.7c7 9.4 6.3 22.8-2.2 31.3l-11.3 11.3c-8.6 8.6-21.9 9.3-31.3 2.2c-6.9 3.7-14.1 6.8-21.8 9C510.1 503.1 500.1 512 488 512H472c-12.1 0-22.1-8.9-23.8-20.6c-7.6-2.2-14.9-5.3-21.7-9c-9.4 7.1-22.8 6.3-31.3-2.2l-11.3-11.3c-8.6-8.6-9.3-21.9-2.2-31.3c-3.7-6.9-6.8-14.1-9-21.8C360.9 414.1 352 404.1 352 392V376c0-12.1 8.9-22.1 20.6-23.8c2.2-7.6 5.3-14.9 9-21.8c-7-9.4-6.3-22.8 2.2-31.3l11.3-11.3c8.6-8.6 21.9-9.3 31.3-2.3c6.8-3.7 14.1-6.8 21.7-9zM528 384c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48z"]
  110434. };
  110435. var faW = {
  110436. prefix: 'fas',
  110437. iconName: 'w',
  110438. icon: [576, 512, [119], "57", "M20.8 34c16.5-6.2 35 2.2 41.2 18.7l110.2 294L257.3 55c4-13.7 16.5-23 30.7-23s26.7 9.4 30.7 23l85.1 291.7L514 52.8c6.2-16.5 24.6-24.9 41.2-18.7s24.9 24.7 18.7 41.2l-144 384c-4.8 12.9-17.4 21.3-31.2 20.7s-25.7-9.8-29.5-23L288 178.3 206.7 457c-3.9 13.2-15.8 22.5-29.5 23s-26.3-7.8-31.2-20.7L2 75.2C-4.2 58.7 4.2 40.2 20.8 34z"]
  110439. };
  110440. var faEarthAfrica = {
  110441. prefix: 'fas',
  110442. iconName: 'earth-africa',
  110443. icon: [512, 512, [127757, "globe-africa"], "f57c", "M177.8 63.2l10 17.4c2.8 4.8 4.2 10.3 4.2 15.9v41.4c0 3.9 1.6 7.7 4.3 10.4c6.2 6.2 16.5 5.7 22-1.2l13.6-17c4.7-5.9 12.9-7.7 19.6-4.3l15.2 7.6c3.4 1.7 7.2 2.6 11 2.6c6.5 0 12.8-2.6 17.4-7.2l3.9-3.9c2.9-2.9 7.3-3.6 11-1.8l29.2 14.6c7.8 3.9 12.6 11.8 12.6 20.5c0 10.5-7.1 19.6-17.3 22.2l-35.4 8.8c-7.4 1.8-15.1 1.5-22.3-.9l-32-10.7c-3.3-1.1-6.7-1.7-10.2-1.7c-7 0-13.8 2.3-19.4 6.5L176 212c-10.1 7.6-16 19.4-16 32v28c0 26.5 21.5 48 48 48h32c8.8 0 16 7.2 16 16v48c0 17.7 14.3 32 32 32c10.1 0 19.6-4.7 25.6-12.8l25.6-34.1c8.3-11.1 12.8-24.6 12.8-38.4V318.6c0-3.9 2.6-7.3 6.4-8.2l5.3-1.3c11.9-3 20.3-13.7 20.3-26c0-7.1-2.8-13.9-7.8-18.9l-33.5-33.5c-3.7-3.7-3.7-9.7 0-13.4c5.7-5.7 14.1-7.7 21.8-5.1l14.1 4.7c12.3 4.1 25.7-1.5 31.5-13c3.5-7 11.2-10.8 18.9-9.2l27.4 5.5C432 112.4 351.5 48 256 48c-27.7 0-54 5.4-78.2 15.2zM512 256c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256z"]
  110444. };
  110445. var faGlobeAfrica = faEarthAfrica;
  110446. var faRainbow = {
  110447. prefix: 'fas',
  110448. iconName: 'rainbow',
  110449. icon: [640, 512, [127752], "f75b", "M320 96C178.6 96 64 210.6 64 352v96c0 17.7-14.3 32-32 32s-32-14.3-32-32V352C0 175.3 143.3 32 320 32s320 143.3 320 320v96c0 17.7-14.3 32-32 32s-32-14.3-32-32V352C576 210.6 461.4 96 320 96zm0 192c-35.3 0-64 28.7-64 64v96c0 17.7-14.3 32-32 32s-32-14.3-32-32V352c0-70.7 57.3-128 128-128s128 57.3 128 128v96c0 17.7-14.3 32-32 32s-32-14.3-32-32V352c0-35.3-28.7-64-64-64zM160 352v96c0 17.7-14.3 32-32 32s-32-14.3-32-32V352c0-123.7 100.3-224 224-224s224 100.3 224 224v96c0 17.7-14.3 32-32 32s-32-14.3-32-32V352c0-88.4-71.6-160-160-160s-160 71.6-160 160z"]
  110450. };
  110451. var faCircleNotch = {
  110452. prefix: 'fas',
  110453. iconName: 'circle-notch',
  110454. icon: [512, 512, [], "f1ce", "M222.7 32.1c5 16.9-4.6 34.8-21.5 39.8C121.8 95.6 64 169.1 64 256c0 106 86 192 192 192s192-86 192-192c0-86.9-57.8-160.4-137.1-184.1c-16.9-5-26.6-22.9-21.5-39.8s22.9-26.6 39.8-21.5C434.9 42.1 512 140 512 256c0 141.4-114.6 256-256 256S0 397.4 0 256C0 140 77.1 42.1 182.9 10.6c16.9-5 34.8 4.6 39.8 21.5z"]
  110455. };
  110456. var faTabletScreenButton = {
  110457. prefix: 'fas',
  110458. iconName: 'tablet-screen-button',
  110459. icon: [448, 512, ["tablet-alt"], "f3fa", "M0 64C0 28.7 28.7 0 64 0H384c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64zM256 448c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zM384 64H64V384H384V64z"]
  110460. };
  110461. var faTabletAlt = faTabletScreenButton;
  110462. var faPaw = {
  110463. prefix: 'fas',
  110464. iconName: 'paw',
  110465. icon: [512, 512, [], "f1b0", "M226.5 92.9c14.3 42.9-.3 86.2-32.6 96.8s-70.1-15.6-84.4-58.5s.3-86.2 32.6-96.8s70.1 15.6 84.4 58.5zM100.4 198.6c18.9 32.4 14.3 70.1-10.2 84.1s-59.7-.9-78.5-33.3S-2.7 179.3 21.8 165.3s59.7 .9 78.5 33.3zM69.2 401.2C121.6 259.9 214.7 224 256 224s134.4 35.9 186.8 177.2c3.6 9.7 5.2 20.1 5.2 30.5v1.6c0 25.8-20.9 46.7-46.7 46.7c-11.5 0-22.9-1.4-34-4.2l-88-22c-15.3-3.8-31.3-3.8-46.6 0l-88 22c-11.1 2.8-22.5 4.2-34 4.2C84.9 480 64 459.1 64 433.3v-1.6c0-10.4 1.6-20.8 5.2-30.5zM421.8 282.7c-24.5-14-29.1-51.7-10.2-84.1s54-47.3 78.5-33.3s29.1 51.7 10.2 84.1s-54 47.3-78.5 33.3zM310.1 189.7c-32.3-10.6-46.9-53.9-32.6-96.8s52.1-69.1 84.4-58.5s46.9 53.9 32.6 96.8s-52.1 69.1-84.4 58.5z"]
  110466. };
  110467. var faCloud = {
  110468. prefix: 'fas',
  110469. iconName: 'cloud',
  110470. icon: [640, 512, [9729], "f0c2", "M0 336c0 79.5 64.5 144 144 144H512c70.7 0 128-57.3 128-128c0-61.9-44-113.6-102.4-125.4c4.1-10.7 6.4-22.4 6.4-34.6c0-53-43-96-96-96c-19.7 0-38.1 6-53.3 16.2C367 64.2 315.3 32 256 32C167.6 32 96 103.6 96 192c0 2.7 .1 5.4 .2 8.1C40.2 219.8 0 273.2 0 336z"]
  110471. };
  110472. var faTrowelBricks = {
  110473. prefix: 'fas',
  110474. iconName: 'trowel-bricks',
  110475. icon: [512, 512, [], "e58a", "M240.8 4.8C250.3 10.6 256 20.9 256 32v72h89c3.6-13.8 16.1-24 31-24h88c26.5 0 48 21.5 48 48s-21.5 48-48 48H376c-14.9 0-27.4-10.2-31-24H256v72c0 11.1-5.7 21.4-15.2 27.2s-21.2 6.4-31.1 1.4l-192-96C6.8 151.2 0 140.1 0 128s6.8-23.2 17.7-28.6l192-96c9.9-5 21.7-4.4 31.1 1.4zM288 256c0-17.7 14.3-32 32-32H480c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32H320c-17.7 0-32-14.3-32-32V256zM32 384h96c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32V416c0-17.7 14.3-32 32-32zm192 0H480c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32H224c-17.7 0-32-14.3-32-32V416c0-17.7 14.3-32 32-32z"]
  110476. };
  110477. var faFaceFlushed = {
  110478. prefix: 'fas',
  110479. iconName: 'face-flushed',
  110480. icon: [512, 512, [128563, "flushed"], "f579", "M512 256c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM176 384c0 8.8 7.2 16 16 16H320c8.8 0 16-7.2 16-16s-7.2-16-16-16H192c-8.8 0-16 7.2-16 16zm-16-88c39.8 0 72-32.2 72-72s-32.2-72-72-72s-72 32.2-72 72s32.2 72 72 72zm264-72c0-39.8-32.2-72-72-72s-72 32.2-72 72s32.2 72 72 72s72-32.2 72-72zm-240 0c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24zm192 0c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24z"]
  110481. };
  110482. var faFlushed = faFaceFlushed;
  110483. var faHospitalUser = {
  110484. prefix: 'fas',
  110485. iconName: 'hospital-user',
  110486. icon: [576, 512, [], "f80d", "M48 0C21.5 0 0 21.5 0 48V256H144c8.8 0 16 7.2 16 16s-7.2 16-16 16H0v64H144c8.8 0 16 7.2 16 16s-7.2 16-16 16H0v80c0 26.5 21.5 48 48 48H265.9c-6.3-10.2-9.9-22.2-9.9-35.1c0-46.9 25.8-87.8 64-109.2V271.8 48c0-26.5-21.5-48-48-48H48zM152 64h16c8.8 0 16 7.2 16 16v24h24c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H184v24c0 8.8-7.2 16-16 16H152c-8.8 0-16-7.2-16-16V152H112c-8.8 0-16-7.2-16-16V120c0-8.8 7.2-16 16-16h24V80c0-8.8 7.2-16 16-16zM512 272c0-44.2-35.8-80-80-80s-80 35.8-80 80s35.8 80 80 80s80-35.8 80-80zM288 477.1c0 19.3 15.6 34.9 34.9 34.9H541.1c19.3 0 34.9-15.6 34.9-34.9c0-51.4-41.7-93.1-93.1-93.1H381.1c-51.4 0-93.1 41.7-93.1 93.1z"]
  110487. };
  110488. var faTentArrowLeftRight = {
  110489. prefix: 'fas',
  110490. iconName: 'tent-arrow-left-right',
  110491. icon: [640, 512, [], "e57f", "M520.1 6.2c-9.9-8.9-25-8.1-33.9 1.8s-8.1 25 1.8 33.9L521.5 72 118.5 72l33.5-30.2c9.9-8.9 10.7-24 1.8-33.9s-24-10.7-33.9-1.8l-80 72C34.9 82.7 32 89.2 32 96s2.9 13.3 7.9 17.8l80 72c9.9 8.9 25 8.1 33.9-1.8s8.1-25-1.8-33.9L118.5 120l402.9 0-33.5 30.2c-9.9 8.9-10.7 24-1.8 33.9s24 10.7 33.9 1.8l80-72c5.1-4.6 7.9-11 7.9-17.8s-2.9-13.3-7.9-17.8l-80-72zM339.4 166.5c-11.5-8.7-27.3-8.7-38.8 0l-168 128c-6.6 5-11 12.5-12.3 20.7l-24 160c-1.4 9.2 1.3 18.6 7.4 25.6s14.9 11.1 24.2 11.1H320V352l96 160h96c9.3 0 18.2-4.1 24.2-11.1s8.8-16.4 7.4-25.6l-24-160c-1.2-8.2-5.6-15.7-12.3-20.7l-168-128z"]
  110492. };
  110493. var faGavel = {
  110494. prefix: 'fas',
  110495. iconName: 'gavel',
  110496. icon: [512, 512, ["legal"], "f0e3", "M318.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-120 120c-12.5 12.5-12.5 32.8 0 45.3l16 16c12.5 12.5 32.8 12.5 45.3 0l4-4L325.4 293.4l-4 4c-12.5 12.5-12.5 32.8 0 45.3l16 16c12.5 12.5 32.8 12.5 45.3 0l120-120c12.5-12.5 12.5-32.8 0-45.3l-16-16c-12.5-12.5-32.8-12.5-45.3 0l-4 4L330.6 74.6l4-4c12.5-12.5 12.5-32.8 0-45.3l-16-16zm-152 288c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3l48 48c12.5 12.5 32.8 12.5 45.3 0l112-112c12.5-12.5 12.5-32.8 0-45.3l-1.4-1.4L272 285.3 226.7 240 168 298.7l-1.4-1.4z"]
  110497. };
  110498. var faLegal = faGavel;
  110499. var faBinoculars = {
  110500. prefix: 'fas',
  110501. iconName: 'binoculars',
  110502. icon: [512, 512, [], "f1e5", "M128 32h32c17.7 0 32 14.3 32 32V96H96V64c0-17.7 14.3-32 32-32zm64 96V448c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32V388.9c0-34.6 9.4-68.6 27.2-98.3C40.9 267.8 49.7 242.4 53 216L60.5 156c2-16 15.6-28 31.8-28H192zm227.8 0c16.1 0 29.8 12 31.8 28L459 216c3.3 26.4 12.1 51.8 25.8 74.6c17.8 29.7 27.2 63.7 27.2 98.3V448c0 17.7-14.3 32-32 32H352c-17.7 0-32-14.3-32-32V128h99.8zM320 64c0-17.7 14.3-32 32-32h32c17.7 0 32 14.3 32 32V96H320V64zm-32 64V288H224V128h64z"]
  110503. };
  110504. var faMicrophoneSlash = {
  110505. prefix: 'fas',
  110506. iconName: 'microphone-slash',
  110507. icon: [640, 512, [], "f131", "M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L472.1 344.7c15.2-26 23.9-56.3 23.9-88.7V216c0-13.3-10.7-24-24-24s-24 10.7-24 24v40c0 21.2-5.1 41.1-14.2 58.7L416 300.8V96c0-53-43-96-96-96s-96 43-96 96v54.3L38.8 5.1zM344 430.4c20.4-2.8 39.7-9.1 57.3-18.2l-43.1-33.9C346.1 382 333.3 384 320 384c-70.7 0-128-57.3-128-128v-8.7L144.7 210c-.5 1.9-.7 3.9-.7 6v40c0 89.1 66.2 162.7 152 174.4V464H248c-13.3 0-24 10.7-24 24s10.7 24 24 24h72 72c13.3 0 24-10.7 24-24s-10.7-24-24-24H344V430.4z"]
  110508. };
  110509. var faBoxTissue = {
  110510. prefix: 'fas',
  110511. iconName: 'box-tissue',
  110512. icon: [512, 512, [], "e05b", "M92.5 0H208c40 0 52 24 64 48s24 48 64 48h85.2C436 96 448 108 448 122.8c0 3.4-.7 6.8-1.9 10L409.6 224 384 288H128l-16-64L64.9 35.4c-.6-2.3-.9-4.6-.9-6.9C64 12.8 76.8 0 92.5 0zM79 224l16 64H80c-8.8 0-16 7.2-16 16s7.2 16 16 16h48H384h48c8.8 0 16-7.2 16-16s-7.2-16-16-16H418.5l25.6-64H464c26.5 0 48 21.5 48 48V384H0V272c0-26.5 21.5-48 48-48H79zM0 416H512v48c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V416z"]
  110513. };
  110514. var faMotorcycle = {
  110515. prefix: 'fas',
  110516. iconName: 'motorcycle',
  110517. icon: [640, 512, [127949], "f21c", "M280 32c-13.3 0-24 10.7-24 24s10.7 24 24 24h57.7l16.4 30.3L256 192l-45.3-45.3c-12-12-28.3-18.7-45.3-18.7H64c-17.7 0-32 14.3-32 32v32h96c88.4 0 160 71.6 160 160c0 11-1.1 21.7-3.2 32h70.4c-2.1-10.3-3.2-21-3.2-32c0-52.2 25-98.6 63.7-127.8l15.4 28.6C402.4 276.3 384 312 384 352c0 70.7 57.3 128 128 128s128-57.3 128-128s-57.3-128-128-128c-13.5 0-26.5 2.1-38.7 6L418.2 128H480c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32H459.6c-7.5 0-14.7 2.6-20.5 7.4L391.7 78.9l-14-26c-7-12.9-20.5-21-35.2-21H280zM462.7 311.2l28.2 52.2c6.3 11.7 20.9 16 32.5 9.7s16-20.9 9.7-32.5l-28.2-52.2c2.3-.3 4.7-.4 7.1-.4c35.3 0 64 28.7 64 64s-28.7 64-64 64s-64-28.7-64-64c0-15.5 5.5-29.7 14.7-40.8zM187.3 376c-9.5 23.5-32.5 40-59.3 40c-35.3 0-64-28.7-64-64s28.7-64 64-64c26.9 0 49.9 16.5 59.3 40h66.4C242.5 268.8 190.5 224 128 224C57.3 224 0 281.3 0 352s57.3 128 128 128c62.5 0 114.5-44.8 125.8-104H187.3zM128 384c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32z"]
  110518. };
  110519. var faBellConcierge = {
  110520. prefix: 'fas',
  110521. iconName: 'bell-concierge',
  110522. icon: [512, 512, [128718, "concierge-bell"], "f562", "M216 64c-13.3 0-24 10.7-24 24s10.7 24 24 24h16v33.3C119.6 157.2 32 252.4 32 368H480c0-115.6-87.6-210.8-200-222.7V112h16c13.3 0 24-10.7 24-24s-10.7-24-24-24H256 216zM24 400c-13.3 0-24 10.7-24 24s10.7 24 24 24H488c13.3 0 24-10.7 24-24s-10.7-24-24-24H24z"]
  110523. };
  110524. var faConciergeBell = faBellConcierge;
  110525. var faPenRuler = {
  110526. prefix: 'fas',
  110527. iconName: 'pen-ruler',
  110528. icon: [512, 512, ["pencil-ruler"], "f5ae", "M469.3 19.3l23.4 23.4c25 25 25 65.5 0 90.5l-56.4 56.4L322.3 75.7l56.4-56.4c25-25 65.5-25 90.5 0zM44.9 353.2L299.7 98.3 413.7 212.3 158.8 467.1c-6.7 6.7-15.1 11.6-24.2 14.2l-104 29.7c-8.4 2.4-17.4 .1-23.6-6.1s-8.5-15.2-6.1-23.6l29.7-104c2.6-9.2 7.5-17.5 14.2-24.2zM249.4 103.4L103.4 249.4 16 161.9c-18.7-18.7-18.7-49.1 0-67.9L94.1 16c18.7-18.7 49.1-18.7 67.9 0l19.8 19.8c-.3 .3-.7 .6-1 .9l-64 64c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l64-64c.3-.3 .6-.7 .9-1l45.1 45.1zM408.6 262.6l45.1 45.1c-.3 .3-.7 .6-1 .9l-64 64c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l64-64c.3-.3 .6-.7 .9-1L496 350.1c18.7 18.7 18.7 49.1 0 67.9L417.9 496c-18.7 18.7-49.1 18.7-67.9 0l-87.4-87.4L408.6 262.6z"]
  110529. };
  110530. var faPencilRuler = faPenRuler;
  110531. var faPeopleArrows = {
  110532. prefix: 'fas',
  110533. iconName: 'people-arrows',
  110534. icon: [640, 512, ["people-arrows-left-right"], "e068", "M192 64c0 35.3-28.7 64-64 64s-64-28.7-64-64S92.7 0 128 0s64 28.7 64 64zM25.9 233.4C29.3 191.9 64 160 105.6 160h44.8c27 0 51 13.4 65.5 34.1c-2.7 1.9-5.2 4-7.5 6.3l-64 64c-21.9 21.9-21.9 57.3 0 79.2L192 391.2V464c0 26.5-21.5 48-48 48H112c-26.5 0-48-21.5-48-48V348.3c-26.5-9.5-44.7-35.8-42.2-65.6l4.1-49.3zM576 64c0 35.3-28.7 64-64 64s-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64zM431.6 200.4c-2.3-2.3-4.9-4.4-7.5-6.3c14.5-20.7 38.6-34.1 65.5-34.1h44.8c41.6 0 76.3 31.9 79.7 73.4l4.1 49.3c2.5 29.8-15.7 56.1-42.2 65.6V464c0 26.5-21.5 48-48 48H496c-26.5 0-48-21.5-48-48V391.2l47.6-47.6c21.9-21.9 21.9-57.3 0-79.2l-64-64zM272 240v32h96V240c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2l64 64c9.4 9.4 9.4 24.6 0 33.9l-64 64c-6.9 6.9-17.2 8.9-26.2 5.2s-14.8-12.5-14.8-22.2V336H272v32c0 9.7-5.8 18.5-14.8 22.2s-19.3 1.7-26.2-5.2l-64-64c-9.4-9.4-9.4-24.6 0-33.9l64-64c6.9-6.9 17.2-8.9 26.2-5.2s14.8 12.5 14.8 22.2z"]
  110535. };
  110536. var faPeopleArrowsLeftRight = faPeopleArrows;
  110537. var faMarsAndVenusBurst = {
  110538. prefix: 'fas',
  110539. iconName: 'mars-and-venus-burst',
  110540. icon: [640, 512, [], "e523", "M504 0c-9.7 0-18.5 5.8-22.2 14.8s-1.7 19.3 5.2 26.2l39 39-22.2 22.2C475.9 78.4 439.6 64 400 64c-88.4 0-160 71.6-160 160c0 80.2 59.1 146.7 136.1 158.2c0 .6-.1 1.2-.1 1.8v.4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .3 .4 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3H352c-13.3 0-24 10.7-24 24s10.7 24 24 24h24v.2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0l24 0H376c0 13.3 10.7 24 24 24s24-10.7 24-24H400l24 0v0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1V486 486v-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1V485 485v-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1V484v-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1V483v-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1V481v-.1-.1-.1-.1-.1-.1-.1-.1V480v-.1-.1-.1-.1-.1-.1-.1V479v-.1-.1-.1-.1-.1-.1-.1V478v-.1-.1-.1-.1-.1-.1V477v-.1-.1-.1-.1-.1-.1V476v-.1-.1-.1-.1-.1-.1V475v-.1-.2-.2-.2-.2-.2V474v-.2-.2-.2-.2-.2V473v-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2V470v-.2-.2-.2-.2-.2V469v-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2V467v-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2V463v-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2V459v-.2-.2-.2-.2-.2-.2-.2-.2V457v-.2-.2-.2-.2V456h24c13.3 0 24-10.7 24-24s-10.7-24-24-24H424v-.3-.3-.3-.3-.3-.3-.3-.3-.3-.3-.3-.3-.3-.3V403v-.3-.3V402v-.3-.3V401v-.3-.3V400v-.3-.3-.3-.3-.3-.3-.3-.3-.3-.3-.3-.3-.3-.4-.3-.4-.4-.4-.4V393v-.4-.4-.4-.4-.4-.4-.4-.4-.4-.4-.4-.4-.4V388v-.4-.4-.4-.4-.4-.4-.4-.4-.4-.4V384c0-.6 0-1.2-.1-1.8c77-11.6 136.1-78 136.1-158.2c0-31.4-9-60.7-24.7-85.4L560 113.9l39 39c6.9 6.9 17.2 8.9 26.2 5.2s14.8-12.5 14.8-22.2V24c0-13.3-10.7-24-24-24H504zM400 320c-53 0-96-43-96-96s43-96 96-96s96 43 96 96s-43 96-96 96zM190.9 18.1C188.4 12 182.6 8 176 8s-12.4 4-14.9 10.1l-29.4 74L55.6 68.9c-6.3-1.9-13.1 .2-17.2 5.3s-4.6 12.2-1.4 17.9l39.5 69.1L10.9 206.4c-5.4 3.7-8 10.3-6.5 16.7s6.7 11.2 13.1 12.2l78.7 12.2L90.6 327c-.5 6.5 3.1 12.7 9 15.5s12.9 1.8 17.8-2.6L176 286.1l58.6 53.9c4.1 3.8 9.9 5.1 15.2 3.6C223.6 310.8 208 269.2 208 224c0-60.8 28.3-115 72.4-150.2L220.3 92.1l-29.4-74z"]
  110541. };
  110542. var faSquareCaretRight = {
  110543. prefix: 'fas',
  110544. iconName: 'square-caret-right',
  110545. icon: [448, 512, ["caret-square-right"], "f152", "M448 96c0-35.3-28.7-64-64-64L64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320zM320 256c0 6.7-2.8 13-7.7 17.6l-112 104c-7 6.5-17.2 8.2-25.9 4.4s-14.4-12.5-14.4-22l0-208c0-9.5 5.7-18.2 14.4-22s18.9-2.1 25.9 4.4l112 104c4.9 4.5 7.7 10.9 7.7 17.6z"]
  110546. };
  110547. var faCaretSquareRight = faSquareCaretRight;
  110548. var faScissors = {
  110549. prefix: 'fas',
  110550. iconName: 'scissors',
  110551. icon: [512, 512, [9984, 9986, 9988, "cut"], "f0c4", "M256 192l-39.5-39.5c4.9-12.6 7.5-26.2 7.5-40.5C224 50.1 173.9 0 112 0S0 50.1 0 112s50.1 112 112 112c14.3 0 27.9-2.7 40.5-7.5L192 256l-39.5 39.5c-12.6-4.9-26.2-7.5-40.5-7.5C50.1 288 0 338.1 0 400s50.1 112 112 112s112-50.1 112-112c0-14.3-2.7-27.9-7.5-40.5L499.2 76.8c7.1-7.1 7.1-18.5 0-25.6c-28.3-28.3-74.1-28.3-102.4 0L256 192zm22.6 150.6L396.8 460.8c28.3 28.3 74.1 28.3 102.4 0c7.1-7.1 7.1-18.5 0-25.6L342.6 278.6l-64 64zM160 112c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zM112 448c-26.5 0-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48z"]
  110552. };
  110553. var faCut = faScissors;
  110554. var faSunPlantWilt = {
  110555. prefix: 'fas',
  110556. iconName: 'sun-plant-wilt',
  110557. icon: [640, 512, [], "e57a", "M160 0c-6.3 0-12 3.7-14.6 9.5L120.6 64.9 63.9 43.2c-5.9-2.3-12.6-.8-17 3.6s-5.9 11.1-3.6 17l21.7 56.7L9.5 145.4C3.7 148 0 153.7 0 160s3.7 12 9.5 14.6l55.4 24.8L43.2 256.1c-2.3 5.9-.8 12.6 3.6 17s11.1 5.9 17 3.6l56.7-21.7 24.8 55.4c2.6 5.8 8.3 9.5 14.6 9.5s12-3.7 14.6-9.5l24.8-55.4 56.7 21.7c5.9 2.3 12.6 .8 17-3.6s5.9-11.1 3.6-17l-21.7-56.7 55.4-24.8c5.8-2.6 9.5-8.3 9.5-14.6s-3.7-12-9.5-14.6l-55.4-24.8 21.7-56.7c2.3-5.9 .8-12.6-3.6-17s-11.1-5.9-17-3.6L199.4 64.9 174.6 9.5C172 3.7 166.3 0 160 0zm0 224c-35.3 0-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64s-28.7 64-64 64zm32-64c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zm312 16c0-17.7 14.3-32 32-32s32 14.3 32 32v53.4c-14.8 7.7-24 23.1-24 44.6c0 16.8 16 44 37.4 67.2c5.8 6.2 15.5 6.2 21.2 0C624 318 640 290.7 640 274c0-21.5-9.2-37-24-44.6V176c0-44.2-35.8-80-80-80s-80 35.8-80 80v22.7c-9.8-4.3-20.6-6.7-32-6.7c-44.2 0-80 35.8-80 80v21.4c-14.8 7.7-24 23.1-24 44.6c0 16.8 16 44 37.4 67.2c5.8 6.2 15.5 6.2 21.2 0C400 382 416 354.7 416 338c0-21.5-9.2-37-24-44.6V272c0-17.7 14.3-32 32-32s32 14.3 32 32v8V448H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H608c17.7 0 32-14.3 32-32s-14.3-32-32-32H504V280v-8V176z"]
  110558. };
  110559. var faToiletsPortable = {
  110560. prefix: 'fas',
  110561. iconName: 'toilets-portable',
  110562. icon: [576, 512, [], "e584", "M32 0H224c17.7 0 32 14.3 32 32V64H0V32C0 14.3 14.3 0 32 0zM0 96H24 232h24v24V488c0 13.3-10.7 24-24 24s-24-10.7-24-24v-8H48v8c0 13.3-10.7 24-24 24s-24-10.7-24-24V120 96zM192 224c-8.8 0-16 7.2-16 16v64c0 8.8 7.2 16 16 16s16-7.2 16-16V240c0-8.8-7.2-16-16-16zM352 0H544c17.7 0 32 14.3 32 32V64H320V32c0-17.7 14.3-32 32-32zM320 96h24H552h24v24V488c0 13.3-10.7 24-24 24s-24-10.7-24-24v-8H368v8c0 13.3-10.7 24-24 24s-24-10.7-24-24V120 96zM512 224c-8.8 0-16 7.2-16 16v64c0 8.8 7.2 16 16 16s16-7.2 16-16V240c0-8.8-7.2-16-16-16z"]
  110563. };
  110564. var faHockeyPuck = {
  110565. prefix: 'fas',
  110566. iconName: 'hockey-puck',
  110567. icon: [512, 512, [], "f453", "M256 256C114.6 256 0 213 0 160s114.6-96 256-96s256 43 256 96s-114.6 96-256 96zm192.3 1.8c24.7-9.3 46.9-21 63.7-35.6V352c0 53-114.6 96-256 96S0 405 0 352V222.3c16.8 14.6 39 26.3 63.7 35.6C114.5 276.9 182.5 288 256 288s141.5-11.1 192.3-30.2z"]
  110568. };
  110569. var faTable = {
  110570. prefix: 'fas',
  110571. iconName: 'table',
  110572. icon: [512, 512, [], "f0ce", "M64 256V160H224v96H64zm0 64H224v96H64V320zm224 96V320H448v96H288zM448 256H288V160H448v96zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64z"]
  110573. };
  110574. var faMagnifyingGlassArrowRight = {
  110575. prefix: 'fas',
  110576. iconName: 'magnifying-glass-arrow-right',
  110577. icon: [512, 512, [], "e521", "M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM241 119c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l31 31H120c-13.3 0-24 10.7-24 24s10.7 24 24 24H238.1l-31 31c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l72-72c9.4-9.4 9.4-24.6 0-33.9l-72-72z"]
  110578. };
  110579. var faTachographDigital = {
  110580. prefix: 'fas',
  110581. iconName: 'tachograph-digital',
  110582. icon: [640, 512, ["digital-tachograph"], "f566", "M64 64C28.7 64 0 92.7 0 128V384c0 35.3 28.7 64 64 64H576c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64H64zm32 64H320c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32zM64 368c0-8.8 7.2-16 16-16H336c8.8 0 16 7.2 16 16s-7.2 16-16 16H80c-8.8 0-16-7.2-16-16zm320 0c0-8.8 7.2-16 16-16H560c8.8 0 16 7.2 16 16s-7.2 16-16 16H400c-8.8 0-16-7.2-16-16zM80 320c-8.8 0-16-7.2-16-16s7.2-16 16-16s16 7.2 16 16s-7.2 16-16 16zm80-16c0 8.8-7.2 16-16 16s-16-7.2-16-16s7.2-16 16-16s16 7.2 16 16zm48 16c-8.8 0-16-7.2-16-16s7.2-16 16-16s16 7.2 16 16s-7.2 16-16 16zm80-16c0 8.8-7.2 16-16 16s-16-7.2-16-16s7.2-16 16-16s16 7.2 16 16zm48 16c-8.8 0-16-7.2-16-16s7.2-16 16-16s16 7.2 16 16s-7.2 16-16 16z"]
  110583. };
  110584. var faDigitalTachograph = faTachographDigital;
  110585. var faUsersSlash = {
  110586. prefix: 'fas',
  110587. iconName: 'users-slash',
  110588. icon: [640, 512, [], "e073", "M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L440.6 320H618.7c11.8 0 21.3-9.6 21.3-21.3C640 239.8 592.2 192 533.3 192H490.7c-15.9 0-31 3.5-44.6 9.7c1.3 7.2 1.9 14.7 1.9 22.3c0 30.2-10.5 58-28 79.9l-25.2-19.7C408.1 267.7 416 246.8 416 224c0-53-43-96-96-96c-31.1 0-58.7 14.8-76.3 37.7l-40.6-31.8c13-14.2 20.9-33.1 20.9-53.9c0-44.2-35.8-80-80-80C116.3 0 91.9 14.1 77.5 35.5L38.8 5.1zM106.7 192C47.8 192 0 239.8 0 298.7C0 310.4 9.6 320 21.3 320H234.7c.2 0 .4 0 .7 0c-20.6-18.2-35.2-42.8-40.8-70.8L121.8 192H106.7zM261.3 352C187.7 352 128 411.7 128 485.3c0 14.7 11.9 26.7 26.7 26.7H485.3c10.5 0 19.5-6 23.9-14.8L324.9 352H261.3zM512 160c44.2 0 80-35.8 80-80s-35.8-80-80-80s-80 35.8-80 80s35.8 80 80 80z"]
  110589. };
  110590. var faClover = {
  110591. prefix: 'fas',
  110592. iconName: 'clover',
  110593. icon: [448, 512, [], "e139", "M173.3 32C139.4 32 112 59.4 112 93.3v4.9c0 12 3.3 23.7 9.4 34l18.8 31.3c1.1 1.8 1.2 3.1 1 4.2c-.2 1.2-.8 2.5-2 3.6s-2.4 1.8-3.6 2c-1 .2-2.4 .1-4.2-1l-31.3-18.8c-10.3-6.2-22-9.4-34-9.4H61.3C27.4 144 0 171.4 0 205.3c0 16.2 6.5 31.8 17.9 43.3l1.2 1.2c3.4 3.4 3.4 9 0 12.4l-1.2 1.2C6.5 274.9 0 290.5 0 306.7C0 340.6 27.4 368 61.3 368h4.9c12 0 23.7-3.3 34-9.4l31.3-18.8c1.8-1.1 3.1-1.2 4.2-1c1.2 .2 2.5 .8 3.6 2s1.8 2.4 2 3.6c.2 1 .1 2.4-1 4.2l-18.8 31.3c-6.2 10.3-9.4 22-9.4 34v4.9c0 33.8 27.4 61.3 61.3 61.3c16.2 0 31.8-6.5 43.3-17.9l1.2-1.2c3.4-3.4 9-3.4 12.4 0l1.2 1.2c11.5 11.5 27.1 17.9 43.3 17.9c33.8 0 61.3-27.4 61.3-61.3v-4.9c0-12-3.3-23.7-9.4-34l-18.8-31.3c-1.1-1.8-1.2-3.1-1-4.2c.2-1.2 .8-2.5 2-3.6s2.4-1.8 3.6-2c1-.2 2.4-.1 4.2 1l31.3 18.8c10.3 6.2 22 9.4 34 9.4h4.9c33.8 0 61.3-27.4 61.3-61.3c0-16.2-6.5-31.8-17.9-43.3l-1.2-1.2c-3.4-3.4-3.4-9 0-12.4l1.2-1.2c11.5-11.5 17.9-27.1 17.9-43.3c0-33.8-27.4-61.3-61.3-61.3h-4.9c-12 0-23.7 3.3-34 9.4l-31.3 18.8c-1.8 1.1-3.1 1.2-4.2 1c-1.2-.2-2.5-.8-3.6-2s-1.8-2.4-2-3.6c-.2-1-.1-2.4 1-4.2l18.8-31.3c6.2-10.3 9.4-22 9.4-34V93.3C336 59.4 308.6 32 274.7 32c-16.2 0-31.8 6.5-43.3 17.9l-1.2 1.2c-3.4 3.4-9 3.4-12.4 0l-1.2-1.2C205.1 38.5 189.5 32 173.3 32z"]
  110594. };
  110595. var faReply = {
  110596. prefix: 'fas',
  110597. iconName: 'reply',
  110598. icon: [512, 512, [61714, "mail-reply"], "f3e5", "M205 34.8c11.5 5.1 19 16.6 19 29.2v64H336c97.2 0 176 78.8 176 176c0 113.3-81.5 163.9-100.2 174.1c-2.5 1.4-5.3 1.9-8.1 1.9c-10.9 0-19.7-8.9-19.7-19.7c0-7.5 4.3-14.4 9.8-19.5c9.4-8.8 22.2-26.4 22.2-56.7c0-53-43-96-96-96H224v64c0 12.6-7.4 24.1-19 29.2s-25 3-34.4-5.4l-160-144C3.9 225.7 0 217.1 0 208s3.9-17.7 10.6-23.8l160-144c9.4-8.5 22.9-10.6 34.4-5.4z"]
  110599. };
  110600. var faMailReply = faReply;
  110601. var faStarAndCrescent = {
  110602. prefix: 'fas',
  110603. iconName: 'star-and-crescent',
  110604. icon: [576, 512, [9770], "f699", "M32 256C32 114.6 146.6 0 288 0c33 0 64.6 6.3 93.6 17.7c7.4 2.9 11.5 10.7 9.8 18.4s-8.8 13-16.7 12.4c-4.8-.3-9.7-.5-14.6-.5c-114.9 0-208 93.1-208 208s93.1 208 208 208c4.9 0 9.8-.2 14.6-.5c7.9-.5 15 4.7 16.7 12.4s-2.4 15.5-9.8 18.4C352.6 505.7 321 512 288 512C146.6 512 32 397.4 32 256zM407.4 137.4c3.5-7.1 13.7-7.1 17.2 0l31.5 63.8c1.4 2.8 4.1 4.8 7.2 5.3l70.4 10.2c7.9 1.1 11 10.8 5.3 16.4l-50.9 49.6c-2.3 2.2-3.3 5.4-2.8 8.5l12 70.1c1.3 7.8-6.9 13.8-13.9 10.1l-63-33.1c-2.8-1.5-6.1-1.5-8.9 0l-63 33.1c-7 3.7-15.3-2.3-13.9-10.1l12-70.1c.5-3.1-.5-6.3-2.8-8.5L293 233.1c-5.7-5.6-2.6-15.2 5.3-16.4l70.4-10.2c3.1-.5 5.8-2.4 7.2-5.3l31.5-63.8z"]
  110605. };
  110606. var faHouseFire = {
  110607. prefix: 'fas',
  110608. iconName: 'house-fire',
  110609. icon: [640, 512, [], "e50c", "M288 350.1l0 1.9H256c-17.7 0-32 14.3-32 32v64 24c0 22.1-17.9 40-40 40H160 128.1c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2H104c-22.1 0-40-17.9-40-40V360c0-.9 0-1.9 .1-2.8V287.6H32c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L447.3 128.1c-12.3-1-25 3-34.8 11.7c-35.4 31.6-65.6 67.7-87.3 102.8C304.3 276.5 288 314.9 288 350.1zM453.5 163.8c19.7 17.8 38.2 37 55.5 57.7c7.9-9.9 16.8-20.7 26.5-29.5c5.6-5.1 14.4-5.1 20 0c24.7 22.7 45.6 52.7 60.4 81.1c14.5 28 24.2 56.7 24.2 76.9C640 437.9 568.7 512 480 512c-89.7 0-160-74.2-160-161.9c0-26.4 12.7-58.6 32.4-90.6c20-32.4 48.1-66.1 81.4-95.8c5.6-5 14.2-5 19.8 0zM530 433c30-21 38-63 20-96c-2-4-4-8-7-12l-36 42s-58-74-62-79c-30 37-45 58-45 82c0 49 36 78 81 78c18 0 34-5 49-15z"]
  110610. };
  110611. var faSquareMinus = {
  110612. prefix: 'fas',
  110613. iconName: 'square-minus',
  110614. icon: [448, 512, [61767, "minus-square"], "f146", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm88 200H296c13.3 0 24 10.7 24 24s-10.7 24-24 24H152c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]
  110615. };
  110616. var faMinusSquare = faSquareMinus;
  110617. var faHelicopter = {
  110618. prefix: 'fas',
  110619. iconName: 'helicopter',
  110620. icon: [640, 512, [128641], "f533", "M128 32c0-17.7 14.3-32 32-32H544c17.7 0 32 14.3 32 32s-14.3 32-32 32H384v64h32c88.4 0 160 71.6 160 160v64c0 17.7-14.3 32-32 32H384 304c-10.1 0-19.6-4.7-25.6-12.8L192 256 47.2 198.1c-9.5-3.8-16.7-12-19.2-22L5 83.9C2.4 73.8 10.1 64 20.5 64H48c10.1 0 19.6 4.7 25.6 12.8L112 128H320V64H160c-17.7 0-32-14.3-32-32zM384 320H512V288c0-53-43-96-96-96H384V320zM630.6 425.4c12.5 12.5 12.5 32.8 0 45.3l-3.9 3.9c-24 24-56.6 37.5-90.5 37.5H256c-17.7 0-32-14.3-32-32s14.3-32 32-32H536.2c17 0 33.3-6.7 45.3-18.7l3.9-3.9c12.5-12.5 32.8-12.5 45.3 0z"]
  110621. };
  110622. var faCompass = {
  110623. prefix: 'fas',
  110624. iconName: 'compass',
  110625. icon: [512, 512, [129517], "f14e", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zm50.7-186.9L162.4 380.6c-19.4 7.5-38.5-11.6-31-31l55.5-144.3c3.3-8.5 9.9-15.1 18.4-18.4l144.3-55.5c19.4-7.5 38.5 11.6 31 31L325.1 306.7c-3.2 8.5-9.9 15.1-18.4 18.4zM288 256c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32z"]
  110626. };
  110627. var faSquareCaretDown = {
  110628. prefix: 'fas',
  110629. iconName: 'square-caret-down',
  110630. icon: [448, 512, ["caret-square-down"], "f150", "M384 480c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0zM224 352c-6.7 0-13-2.8-17.6-7.7l-104-112c-6.5-7-8.2-17.2-4.4-25.9s12.5-14.4 22-14.4l208 0c9.5 0 18.2 5.7 22 14.4s2.1 18.9-4.4 25.9l-104 112c-4.5 4.9-10.9 7.7-17.6 7.7z"]
  110631. };
  110632. var faCaretSquareDown = faSquareCaretDown;
  110633. var faFileCircleQuestion = {
  110634. prefix: 'fas',
  110635. iconName: 'file-circle-question',
  110636. icon: [576, 512, [], "e4ef", "M0 64C0 28.7 28.7 0 64 0H224V128c0 17.7 14.3 32 32 32H384v38.6C310.1 219.5 256 287.4 256 368c0 59.1 29.1 111.3 73.7 143.3c-3.2 .5-6.4 .7-9.7 .7H64c-35.3 0-64-28.7-64-64V64zm384 64H256V0L384 128zm48 384c-79.5 0-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144zm0-48c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24zM368 321.6V328c0 8.8 7.2 16 16 16s16-7.2 16-16v-6.4c0-5.3 4.3-9.6 9.6-9.6h40.5c7.7 0 13.9 6.2 13.9 13.9c0 5.2-2.9 9.9-7.4 12.3l-32 16.8c-5.3 2.8-8.6 8.2-8.6 14.2V384c0 8.8 7.2 16 16 16s16-7.2 16-16v-5.1l23.5-12.3c15.1-7.9 24.5-23.6 24.5-40.6c0-25.4-20.6-45.9-45.9-45.9H409.6c-23 0-41.6 18.6-41.6 41.6z"]
  110637. };
  110638. var faLaptopCode = {
  110639. prefix: 'fas',
  110640. iconName: 'laptop-code',
  110641. icon: [640, 512, [], "f5fc", "M64 96c0-35.3 28.7-64 64-64H512c35.3 0 64 28.7 64 64V352H512V96H128V352H64V96zM0 403.2C0 392.6 8.6 384 19.2 384H620.8c10.6 0 19.2 8.6 19.2 19.2c0 42.4-34.4 76.8-76.8 76.8H76.8C34.4 480 0 445.6 0 403.2zM281 209l-31 31 31 31c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-48-48c-9.4-9.4-9.4-24.6 0-33.9l48-48c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9zM393 175l48 48c9.4 9.4 9.4 24.6 0 33.9l-48 48c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l31-31-31-31c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0z"]
  110642. };
  110643. var faSwatchbook = {
  110644. prefix: 'fas',
  110645. iconName: 'swatchbook',
  110646. icon: [512, 512, [], "f5c3", "M0 32C0 14.3 14.3 0 32 0H160c17.7 0 32 14.3 32 32V416c0 53-43 96-96 96s-96-43-96-96V32zM223.6 425.9c.3-3.3 .4-6.6 .4-9.9V154l75.4-75.4c12.5-12.5 32.8-12.5 45.3 0l90.5 90.5c12.5 12.5 12.5 32.8 0 45.3L223.6 425.9zM182.8 512l192-192H480c17.7 0 32 14.3 32 32V480c0 17.7-14.3 32-32 32H182.8zM128 64H64v64h64V64zM64 192v64h64V192H64zM96 440c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24z"]
  110647. };
  110648. var faPrescriptionBottle = {
  110649. prefix: 'fas',
  110650. iconName: 'prescription-bottle',
  110651. icon: [384, 512, [], "f485", "M0 32C0 14.3 14.3 0 32 0H352c17.7 0 32 14.3 32 32V64c0 17.7-14.3 32-32 32H32C14.3 96 0 81.7 0 64V32zm32 96H352V448c0 35.3-28.7 64-64 64H96c-35.3 0-64-28.7-64-64V416H144c8.8 0 16-7.2 16-16s-7.2-16-16-16H32V320H144c8.8 0 16-7.2 16-16s-7.2-16-16-16H32V224H144c8.8 0 16-7.2 16-16s-7.2-16-16-16H32V128z"]
  110652. };
  110653. var faBars = {
  110654. prefix: 'fas',
  110655. iconName: 'bars',
  110656. icon: [448, 512, ["navicon"], "f0c9", "M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"]
  110657. };
  110658. var faNavicon = faBars;
  110659. var faPeopleGroup = {
  110660. prefix: 'fas',
  110661. iconName: 'people-group',
  110662. icon: [640, 512, [], "e533", "M184 88c0 30.9-25.1 56-56 56s-56-25.1-56-56s25.1-56 56-56s56 25.1 56 56zM64 245.7C54 256.9 48 271.8 48 288s6 31.1 16 42.3V245.7zm144.4-49.3C178.7 222.7 160 261.2 160 304c0 34.3 12 65.8 32 90.5V416c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V389.2C26.2 371.2 0 332.7 0 288c0-61.9 50.1-112 112-112h32c24 0 46.2 7.5 64.4 20.3zM448 416V394.5c20-24.7 32-56.2 32-90.5c0-42.8-18.7-81.3-48.4-107.7C449.8 183.5 472 176 496 176h32c61.9 0 112 50.1 112 112c0 44.7-26.2 83.2-64 101.2V416c0 17.7-14.3 32-32 32H480c-17.7 0-32-14.3-32-32zM568 88c0 30.9-25.1 56-56 56s-56-25.1-56-56s25.1-56 56-56s56 25.1 56 56zm8 157.7v84.7c10-11.3 16-26.1 16-42.3s-6-31.1-16-42.3zM320 160c-35.3 0-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64s-28.7 64-64 64zM240 304c0 16.2 6 31 16 42.3V261.7c-10 11.3-16 26.1-16 42.3zm144-42.3v84.7c10-11.3 16-26.1 16-42.3s-6-31.1-16-42.3zM448 304c0 44.7-26.2 83.2-64 101.2V448c0 17.7-14.3 32-32 32H288c-17.7 0-32-14.3-32-32V405.2c-37.8-18-64-56.5-64-101.2c0-61.9 50.1-112 112-112h32c61.9 0 112 50.1 112 112z"]
  110663. };
  110664. var faHourglassEnd = {
  110665. prefix: 'fas',
  110666. iconName: 'hourglass-end',
  110667. icon: [384, 512, [8987, "hourglass-3"], "f253", "M32 0C14.3 0 0 14.3 0 32S14.3 64 32 64V75c0 42.4 16.9 83.1 46.9 113.1L146.7 256 78.9 323.9C48.9 353.9 32 394.6 32 437v11c-17.7 0-32 14.3-32 32s14.3 32 32 32H64 320h32c17.7 0 32-14.3 32-32s-14.3-32-32-32V437c0-42.4-16.9-83.1-46.9-113.1L237.3 256l67.9-67.9c30-30 46.9-70.7 46.9-113.1V64c17.7 0 32-14.3 32-32s-14.3-32-32-32H320 64 32zM96 75V64H288V75c0 25.5-10.1 49.9-28.1 67.9L192 210.7l-67.9-67.9C106.1 124.9 96 100.4 96 75z"]
  110668. };
  110669. var faHourglass3 = faHourglassEnd;
  110670. var faHeartCrack = {
  110671. prefix: 'fas',
  110672. iconName: 'heart-crack',
  110673. icon: [512, 512, [128148, "heart-broken"], "f7a9", "M119.4 44.1c23.3-3.9 46.8-1.9 68.6 5.3l49.8 77.5-75.4 75.4c-1.5 1.5-2.4 3.6-2.3 5.8s1 4.2 2.6 5.7l112 104c2.9 2.7 7.4 2.9 10.5 .3s3.8-7 1.7-10.4l-60.4-98.1 90.7-75.6c2.6-2.1 3.5-5.7 2.4-8.8L296.8 61.8c28.5-16.7 62.4-23.2 95.7-17.6C461.5 55.6 512 115.2 512 185.1v5.8c0 41.5-17.2 81.2-47.6 109.5L283.7 469.1c-7.5 7-17.4 10.9-27.7 10.9s-20.2-3.9-27.7-10.9L47.6 300.4C17.2 272.1 0 232.4 0 190.9v-5.8c0-69.9 50.5-129.5 119.4-141z"]
  110674. };
  110675. var faHeartBroken = faHeartCrack;
  110676. var faSquareUpRight = {
  110677. prefix: 'fas',
  110678. iconName: 'square-up-right',
  110679. icon: [448, 512, [8599, "external-link-square-alt"], "f360", "M384 32c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96C0 60.7 28.7 32 64 32H384zM160 160c-6.5 0-12.3 3.9-14.8 9.9s-1.1 12.9 3.5 17.4l40 40-71 71C114 302 112 306.9 112 312s2 10 5.7 13.7l36.7 36.7c3.6 3.6 8.5 5.7 13.7 5.7s10-2 13.7-5.7l71-71 40 40c4.6 4.6 11.5 5.9 17.4 3.5s9.9-8.3 9.9-14.8V176c0-8.8-7.2-16-16-16H160z"]
  110680. };
  110681. var faExternalLinkSquareAlt = faSquareUpRight;
  110682. var faFaceKissBeam = {
  110683. prefix: 'fas',
  110684. iconName: 'face-kiss-beam',
  110685. icon: [512, 512, [128537, "kiss-beam"], "f597", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zm48.7-198.3c4.3 5.1 7.3 11.4 7.3 18.3s-3.1 13.2-7.3 18.3c-4.3 5.2-10.1 9.7-16.7 13.4c-2.7 1.5-5.7 3-8.7 4.3c3.1 1.3 6 2.7 8.7 4.3c6.6 3.7 12.5 8.2 16.7 13.4c4.3 5.1 7.3 11.4 7.3 18.3s-3.1 13.2-7.3 18.3c-4.3 5.2-10.1 9.7-16.7 13.4C274.7 443.1 257.4 448 240 448c-3.6 0-6.8-2.5-7.7-6s.6-7.2 3.8-9l0 0 0 0 0 0 0 0 .2-.1c.2-.1 .5-.3 .9-.5c.8-.5 2-1.2 3.4-2.1c2.8-1.9 6.5-4.5 10.2-7.6c3.7-3.1 7.2-6.6 9.6-10.1c2.5-3.5 3.5-6.4 3.5-8.6s-1-5-3.5-8.6c-2.5-3.5-5.9-6.9-9.6-10.1c-3.7-3.1-7.4-5.7-10.2-7.6c-1.4-.9-2.6-1.6-3.4-2.1c-.4-.2-.7-.4-.9-.5l-.2-.1 0 0 0 0 0 0c-2.5-1.4-4.1-4.1-4.1-7s1.6-5.6 4.1-7l0 0 0 0 0 0 0 0 0 0 .2-.1 .3-.2 .6-.4c.8-.5 2-1.2 3.4-2.1c2.8-1.9 6.5-4.5 10.2-7.6c3.7-3.1 7.2-6.6 9.6-10.1c2.5-3.5 3.5-6.4 3.5-8.6s-1-5-3.5-8.6c-2.5-3.5-5.9-6.9-9.6-10.1c-3.7-3.1-7.4-5.7-10.2-7.6c-1.4-.9-2.6-1.6-3.4-2.1l-.4-.3-.5-.3-.2-.1 0 0 0 0 0 0c-3.2-1.8-4.7-5.5-3.8-9s4.1-6 7.7-6c17.4 0 34.7 4.9 47.9 12.3c6.6 3.7 12.5 8.2 16.7 13.4zm-87.1-84.9l0 0 0 0-.2-.2c-.2-.2-.4-.5-.7-.9c-.6-.8-1.6-2-2.8-3.4c-2.5-2.8-6-6.6-10.2-10.3c-8.8-7.8-18.8-14-27.7-14s-18.9 6.2-27.7 14c-4.2 3.7-7.7 7.5-10.2 10.3c-1.2 1.4-2.2 2.6-2.8 3.4c-.3 .4-.6 .7-.7 .9l-.2 .2 0 0 0 0 0 0c-2.1 2.8-5.7 3.9-8.9 2.8s-5.5-4.1-5.5-7.6c0-17.9 6.7-35.6 16.6-48.8c9.8-13 23.9-23.2 39.4-23.2s29.6 10.2 39.4 23.2c9.9 13.2 16.6 30.9 16.6 48.8c0 3.4-2.2 6.5-5.5 7.6s-6.9 0-8.9-2.8l0 0 0 0zm160 0l0 0-.2-.2c-.2-.2-.4-.5-.7-.9c-.6-.8-1.6-2-2.8-3.4c-2.5-2.8-6-6.6-10.2-10.3c-8.8-7.8-18.8-14-27.7-14s-18.9 6.2-27.7 14c-4.2 3.7-7.7 7.5-10.2 10.3c-1.2 1.4-2.2 2.6-2.8 3.4c-.3 .4-.6 .7-.7 .9l-.2 .2 0 0 0 0 0 0c-2.1 2.8-5.7 3.9-8.9 2.8s-5.5-4.1-5.5-7.6c0-17.9 6.7-35.6 16.6-48.8c9.8-13 23.9-23.2 39.4-23.2s29.6 10.2 39.4 23.2c9.9 13.2 16.6 30.9 16.6 48.8c0 3.4-2.2 6.5-5.5 7.6s-6.9 0-8.9-2.8l0 0 0 0 0 0z"]
  110686. };
  110687. var faKissBeam = faFaceKissBeam;
  110688. var faFilm = {
  110689. prefix: 'fas',
  110690. iconName: 'film',
  110691. icon: [512, 512, [127902], "f008", "M0 96C0 60.7 28.7 32 64 32H448c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zM48 368v32c0 8.8 7.2 16 16 16H96c8.8 0 16-7.2 16-16V368c0-8.8-7.2-16-16-16H64c-8.8 0-16 7.2-16 16zm368-16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V368c0-8.8-7.2-16-16-16H416zM48 240v32c0 8.8 7.2 16 16 16H96c8.8 0 16-7.2 16-16V240c0-8.8-7.2-16-16-16H64c-8.8 0-16 7.2-16 16zm368-16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V240c0-8.8-7.2-16-16-16H416zM48 112v32c0 8.8 7.2 16 16 16H96c8.8 0 16-7.2 16-16V112c0-8.8-7.2-16-16-16H64c-8.8 0-16 7.2-16 16zM416 96c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V112c0-8.8-7.2-16-16-16H416zM160 128v64c0 17.7 14.3 32 32 32H320c17.7 0 32-14.3 32-32V128c0-17.7-14.3-32-32-32H192c-17.7 0-32 14.3-32 32zm32 160c-17.7 0-32 14.3-32 32v64c0 17.7 14.3 32 32 32H320c17.7 0 32-14.3 32-32V320c0-17.7-14.3-32-32-32H192z"]
  110692. };
  110693. var faRulerHorizontal = {
  110694. prefix: 'fas',
  110695. iconName: 'ruler-horizontal',
  110696. icon: [640, 512, [], "f547", "M0 336c0 26.5 21.5 48 48 48l544 0c26.5 0 48-21.5 48-48l0-160c0-26.5-21.5-48-48-48l-64 0 0 80c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-80-64 0 0 80c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-80-64 0 0 80c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-80-64 0 0 80c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-80-64 0 0 80c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-80-64 0c-26.5 0-48 21.5-48 48L0 336z"]
  110697. };
  110698. var faPeopleRobbery = {
  110699. prefix: 'fas',
  110700. iconName: 'people-robbery',
  110701. icon: [576, 512, [], "e536", "M488.2 59.1C478.1 99.6 441.7 128 400 128s-78.1-28.4-88.2-68.9L303 24.2C298.8 7.1 281.4-3.3 264.2 1S236.7 22.6 241 39.8l8.7 34.9c11 44 40.2 79.6 78.3 99.6V480c0 17.7 14.3 32 32 32s32-14.3 32-32V352h16V480c0 17.7 14.3 32 32 32s32-14.3 32-32V174.3c38.1-20 67.3-55.6 78.3-99.6L559 39.8c4.3-17.1-6.1-34.5-23.3-38.8S501.2 7.1 497 24.2l-8.7 34.9zM400 96c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zM80 96c26.5 0 48-21.5 48-48s-21.5-48-48-48S32 21.5 32 48s21.5 48 48 48zm-8 32c-35.3 0-64 28.7-64 64v96l0 .6V480c0 17.7 14.3 32 32 32s32-14.3 32-32V352H88V480c0 17.7 14.3 32 32 32s32-14.3 32-32V252.7l13 20.5c5.9 9.2 16.1 14.9 27 14.9h48c17.7 0 32-14.3 32-32s-14.3-32-32-32H209.6l-37.4-58.9C157.6 142 132.1 128 104.7 128H72z"]
  110702. };
  110703. var faLightbulb = {
  110704. prefix: 'fas',
  110705. iconName: 'lightbulb',
  110706. icon: [384, 512, [128161], "f0eb", "M272 384c9.6-31.9 29.5-59.1 49.2-86.2l0 0c5.2-7.1 10.4-14.2 15.4-21.4c19.8-28.5 31.4-63 31.4-100.3C368 78.8 289.2 0 192 0S16 78.8 16 176c0 37.3 11.6 71.9 31.4 100.3c5 7.2 10.2 14.3 15.4 21.4l0 0c19.8 27.1 39.7 54.4 49.2 86.2H272zM192 512c44.2 0 80-35.8 80-80V416H112v16c0 44.2 35.8 80 80 80zM112 176c0 8.8-7.2 16-16 16s-16-7.2-16-16c0-61.9 50.1-112 112-112c8.8 0 16 7.2 16 16s-7.2 16-16 16c-44.2 0-80 35.8-80 80z"]
  110707. };
  110708. var faCaretLeft = {
  110709. prefix: 'fas',
  110710. iconName: 'caret-left',
  110711. icon: [256, 512, [], "f0d9", "M9.4 278.6c-12.5-12.5-12.5-32.8 0-45.3l128-128c9.2-9.2 22.9-11.9 34.9-6.9s19.8 16.6 19.8 29.6l0 256c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9l-128-128z"]
  110712. };
  110713. var faCircleExclamation = {
  110714. prefix: 'fas',
  110715. iconName: 'circle-exclamation',
  110716. icon: [512, 512, ["exclamation-circle"], "f06a", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zm0-384c13.3 0 24 10.7 24 24V264c0 13.3-10.7 24-24 24s-24-10.7-24-24V152c0-13.3 10.7-24 24-24zm32 224c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32z"]
  110717. };
  110718. var faExclamationCircle = faCircleExclamation;
  110719. var faSchoolCircleXmark = {
  110720. prefix: 'fas',
  110721. iconName: 'school-circle-xmark',
  110722. icon: [640, 512, [], "e56d", "M337.8 5.4C327-1.8 313-1.8 302.2 5.4l-139 92.7L37.6 126C15.6 130.9 0 150.3 0 172.8V464c0 26.5 21.5 48 48 48H320v0H256V416c0-35.3 28.7-64 64-64l.3 0h.5c3.4-37.7 18.7-72.1 42.2-99.1C350.2 260 335.6 264 320 264c-48.6 0-88-39.4-88-88s39.4-88 88-88s88 39.4 88 88c0 18.3-5.6 35.3-15.1 49.4c29-21 64.6-33.4 103.1-33.4c59.5 0 112.1 29.6 144 74.8V172.8c0-22.5-15.6-42-37.6-46.9L476.8 98.1 337.8 5.4zM96 192h32c8.8 0 16 7.2 16 16v64c0 8.8-7.2 16-16 16H96c-8.8 0-16-7.2-16-16V208c0-8.8 7.2-16 16-16zm0 128h32c8.8 0 16 7.2 16 16v64c0 8.8-7.2 16-16 16H96c-8.8 0-16-7.2-16-16V336c0-8.8 7.2-16 16-16zM320 128c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16s-7.2-16-16-16H336V144c0-8.8-7.2-16-16-16zM496 512c79.5 0 144-64.5 144-144s-64.5-144-144-144s-144 64.5-144 144s64.5 144 144 144zm22.6-144l36.7 36.7c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L496 390.6l-36.7 36.7c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6L473.4 368l-36.7-36.7c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L496 345.4l36.7-36.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6L518.6 368z"]
  110723. };
  110724. var faArrowRightFromBracket = {
  110725. prefix: 'fas',
  110726. iconName: 'arrow-right-from-bracket',
  110727. icon: [576, 512, ["sign-out"], "f08b", "M534.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L434.7 224 224 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l210.7 0-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l128-128zM192 96c17.7 0 32-14.3 32-32s-14.3-32-32-32l-64 0c-53 0-96 43-96 96l0 256c0 53 43 96 96 96l64 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-64 0c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l64 0z"]
  110728. };
  110729. var faSignOut = faArrowRightFromBracket;
  110730. var faCircleChevronDown = {
  110731. prefix: 'fas',
  110732. iconName: 'circle-chevron-down',
  110733. icon: [512, 512, ["chevron-circle-down"], "f13a", "M256 0C114.6 0 0 114.6 0 256S114.6 512 256 512s256-114.6 256-256S397.4 0 256 0zM135 241c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l87 87 87-87c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9L273 345c-9.4 9.4-24.6 9.4-33.9 0L135 241z"]
  110734. };
  110735. var faChevronCircleDown = faCircleChevronDown;
  110736. var faUnlockKeyhole = {
  110737. prefix: 'fas',
  110738. iconName: 'unlock-keyhole',
  110739. icon: [448, 512, ["unlock-alt"], "f13e", "M224 64c-44.2 0-80 35.8-80 80v48H384c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V256c0-35.3 28.7-64 64-64H80V144C80 64.5 144.5 0 224 0c57.5 0 107 33.7 130.1 82.3c7.6 16 .8 35.1-15.2 42.6s-35.1 .8-42.6-15.2C283.4 82.6 255.9 64 224 64zm32 320c17.7 0 32-14.3 32-32s-14.3-32-32-32H192c-17.7 0-32 14.3-32 32s14.3 32 32 32h64z"]
  110740. };
  110741. var faUnlockAlt = faUnlockKeyhole;
  110742. var faCloudShowersHeavy = {
  110743. prefix: 'fas',
  110744. iconName: 'cloud-showers-heavy',
  110745. icon: [576, 512, [], "f740", "M128 320c-53 0-96-43-96-96c0-42.5 27.6-78.6 65.9-91.2C96.7 126.1 96 119.1 96 112C96 50.1 146.1 0 208 0c43.1 0 80.5 24.3 99.2 60c14.7-17.1 36.5-28 60.8-28c44.2 0 80 35.8 80 80c0 5.5-.6 10.8-1.6 16c.5 0 1.1 0 1.6 0c53 0 96 43 96 96s-43 96-96 96H128zm-14.5 33.9c12.2 5.2 17.8 19.3 12.6 31.5l-48 112c-5.2 12.2-19.3 17.8-31.5 12.6s-17.8-19.3-12.6-31.5l48-112c5.2-12.2 19.3-17.8 31.5-12.6zm120 0c12.2 5.2 17.8 19.3 12.6 31.5l-48 112c-5.2 12.2-19.3 17.8-31.5 12.6s-17.8-19.3-12.6-31.5l48-112c5.2-12.2 19.3-17.8 31.5-12.6zm244.6 31.5l-48 112c-5.2 12.2-19.3 17.8-31.5 12.6s-17.8-19.3-12.6-31.5l48-112c5.2-12.2 19.3-17.8 31.5-12.6s17.8 19.3 12.6 31.5zM345.5 353.9c12.2 5.2 17.8 19.3 12.6 31.5l-48 112c-5.2 12.2-19.3 17.8-31.5 12.6s-17.8-19.3-12.6-31.5l48-112c5.2-12.2 19.3-17.8 31.5-12.6z"]
  110746. };
  110747. var faHeadphonesSimple = {
  110748. prefix: 'fas',
  110749. iconName: 'headphones-simple',
  110750. icon: [512, 512, ["headphones-alt"], "f58f", "M256 80C141.1 80 48 173.1 48 288V392c0 13.3-10.7 24-24 24s-24-10.7-24-24V288C0 146.6 114.6 32 256 32s256 114.6 256 256V392c0 13.3-10.7 24-24 24s-24-10.7-24-24V288c0-114.9-93.1-208-208-208zM80 352c0-35.3 28.7-64 64-64h16c17.7 0 32 14.3 32 32V448c0 17.7-14.3 32-32 32H144c-35.3 0-64-28.7-64-64V352zm288-64c35.3 0 64 28.7 64 64v64c0 35.3-28.7 64-64 64H352c-17.7 0-32-14.3-32-32V320c0-17.7 14.3-32 32-32h16z"]
  110751. };
  110752. var faHeadphonesAlt = faHeadphonesSimple;
  110753. var faSitemap = {
  110754. prefix: 'fas',
  110755. iconName: 'sitemap',
  110756. icon: [576, 512, [], "f0e8", "M208 80c0-26.5 21.5-48 48-48h64c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48h-8v40H464c30.9 0 56 25.1 56 56v32h8c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H464c-26.5 0-48-21.5-48-48V368c0-26.5 21.5-48 48-48h8V288c0-4.4-3.6-8-8-8H312v40h8c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H256c-26.5 0-48-21.5-48-48V368c0-26.5 21.5-48 48-48h8V280H112c-4.4 0-8 3.6-8 8v32h8c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V368c0-26.5 21.5-48 48-48h8V288c0-30.9 25.1-56 56-56H264V192h-8c-26.5 0-48-21.5-48-48V80z"]
  110757. };
  110758. var faCircleDollarToSlot = {
  110759. prefix: 'fas',
  110760. iconName: 'circle-dollar-to-slot',
  110761. icon: [512, 512, ["donate"], "f4b9", "M326.7 403.7c-22.1 8-45.9 12.3-70.7 12.3s-48.7-4.4-70.7-12.3c-.3-.1-.5-.2-.8-.3c-30-11-56.8-28.7-78.6-51.4C70 314.6 48 263.9 48 208C48 93.1 141.1 0 256 0S464 93.1 464 208c0 55.9-22 106.6-57.9 144c-1 1-2 2.1-3 3.1c-21.4 21.4-47.4 38.1-76.3 48.6zM256 91.9c-11.1 0-20.1 9-20.1 20.1v6c-5.6 1.2-10.9 2.9-15.9 5.1c-15 6.8-27.9 19.4-31.1 37.7c-1.8 10.2-.8 20 3.4 29c4.2 8.8 10.7 15 17.3 19.5c11.6 7.9 26.9 12.5 38.6 16l2.2 .7c13.9 4.2 23.4 7.4 29.3 11.7c2.5 1.8 3.4 3.2 3.8 4c.3 .8 .9 2.6 .2 6.7c-.6 3.5-2.5 6.4-8 8.8c-6.1 2.6-16 3.9-28.8 1.9c-6-1-16.7-4.6-26.2-7.9l0 0 0 0 0 0c-2.2-.7-4.3-1.5-6.4-2.1c-10.5-3.5-21.8 2.2-25.3 12.7s2.2 21.8 12.7 25.3c1.2 .4 2.7 .9 4.4 1.5c7.9 2.7 20.3 6.9 29.8 9.1V304c0 11.1 9 20.1 20.1 20.1s20.1-9 20.1-20.1v-5.5c5.4-1 10.5-2.5 15.4-4.6c15.7-6.7 28.4-19.7 31.6-38.7c1.8-10.4 1-20.3-3-29.4c-3.9-9-10.2-15.6-16.9-20.5c-12.2-8.8-28.3-13.7-40.4-17.4l-.8-.2c-14.2-4.3-23.8-7.3-29.9-11.4c-2.6-1.8-3.4-3-3.6-3.5c-.2-.3-.7-1.6-.1-5c.3-1.9 1.9-5.2 8.2-8.1c6.4-2.9 16.4-4.5 28.6-2.6c4.3 .7 17.9 3.3 21.7 4.3c10.7 2.8 21.6-3.5 24.5-14.2s-3.5-21.6-14.2-24.5c-4.4-1.2-14.4-3.2-21-4.4V112c0-11.1-9-20.1-20.1-20.1zM48 352H64c19.5 25.9 44 47.7 72.2 64H64v32H256 448V416H375.8c28.2-16.3 52.8-38.1 72.2-64h16c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V400c0-26.5 21.5-48 48-48z"]
  110762. };
  110763. var faDonate = faCircleDollarToSlot;
  110764. var faMemory = {
  110765. prefix: 'fas',
  110766. iconName: 'memory',
  110767. icon: [576, 512, [], "f538", "M64 64C28.7 64 0 92.7 0 128v7.4c0 6.8 4.4 12.6 10.1 16.3C23.3 160.3 32 175.1 32 192s-8.7 31.7-21.9 40.3C4.4 236 0 241.8 0 248.6V320H576V248.6c0-6.8-4.4-12.6-10.1-16.3C552.7 223.7 544 208.9 544 192s8.7-31.7 21.9-40.3c5.7-3.7 10.1-9.5 10.1-16.3V128c0-35.3-28.7-64-64-64H64zM576 352H0v64c0 17.7 14.3 32 32 32H80V416c0-8.8 7.2-16 16-16s16 7.2 16 16v32h96V416c0-8.8 7.2-16 16-16s16 7.2 16 16v32h96V416c0-8.8 7.2-16 16-16s16 7.2 16 16v32h96V416c0-8.8 7.2-16 16-16s16 7.2 16 16v32h48c17.7 0 32-14.3 32-32V352zM192 160v64c0 17.7-14.3 32-32 32s-32-14.3-32-32V160c0-17.7 14.3-32 32-32s32 14.3 32 32zm128 0v64c0 17.7-14.3 32-32 32s-32-14.3-32-32V160c0-17.7 14.3-32 32-32s32 14.3 32 32zm128 0v64c0 17.7-14.3 32-32 32s-32-14.3-32-32V160c0-17.7 14.3-32 32-32s32 14.3 32 32z"]
  110768. };
  110769. var faRoadSpikes = {
  110770. prefix: 'fas',
  110771. iconName: 'road-spikes',
  110772. icon: [640, 512, [], "e568", "M64 116.8c0-15.8 20.5-22 29.3-8.9L192 256V116.8c0-15.8 20.5-22 29.3-8.9L320 256V116.8c0-15.8 20.5-22 29.3-8.9L448 256V116.8c0-15.8 20.5-22 29.3-8.9L606.8 302.2c14.2 21.3-1.1 49.7-26.6 49.7H512 448 384 320 256 192 64V116.8zM32 384H608c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]
  110773. };
  110774. var faFireBurner = {
  110775. prefix: 'fas',
  110776. iconName: 'fire-burner',
  110777. icon: [640, 512, [], "e4f1", "M293.5 3.8c19.7 17.8 38.2 37 55.5 57.7c7.9-9.9 16.8-20.7 26.5-29.5c5.6-5.1 14.4-5.1 20 0c24.7 22.7 45.6 52.7 60.4 81.1c14.5 28 24.2 58.8 24.2 79C480 280 408.7 352 320 352c-89.7 0-160-72.1-160-159.8c0-26.4 12.7-60.7 32.4-92.6c20-32.4 48.1-66.1 81.4-95.8c2.8-2.5 6.4-3.8 10-3.7c3.5 0 7 1.3 9.8 3.8zM370 273c30-21 38-63 20-96c-2-4-4-8-7-12l-36 42s-58-74-62-79c-30 37-45 58-45 82c0 49 36 78 81 78c18 0 34-5 49-15zM32 288c0-17.7 14.3-32 32-32H96c17.7 0 32 14.3 32 32s-14.3 32-32 32v64H544V320c-17.7 0-32-14.3-32-32s14.3-32 32-32h32c17.7 0 32 14.3 32 32v96c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32V416c0-17.7 14.3-32 32-32V288zM320 480c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm160-32c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zM192 480c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32z"]
  110778. };
  110779. var faFlag = {
  110780. prefix: 'fas',
  110781. iconName: 'flag',
  110782. icon: [512, 512, [127988, 61725], "f024", "M64 32V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V32C0 14.3 14.3 0 32 0S64 14.3 64 32zm40.8 302.8c-3 .9-6 1.7-8.8 2.6V13.5C121.5 6.4 153 0 184 0c36.5 0 68.3 9.1 95.6 16.9l1.3 .4C309.4 25.4 333.3 32 360 32c26.8 0 52.9-6.8 73-14.1c9.9-3.6 17.9-7.2 23.4-9.8c2.7-1.3 4.8-2.4 6.2-3.1c.7-.4 1.1-.6 1.4-.8l.2-.1c9.9-5.6 22.1-5.6 31.9 .2S512 20.6 512 32V288c0 12.1-6.8 23.2-17.7 28.6L480 288c14.3 28.6 14.3 28.6 14.3 28.6l0 0 0 0-.1 0-.2 .1-.7 .4c-.6 .3-1.5 .7-2.5 1.2c-2.2 1-5.2 2.4-9 4c-7.7 3.3-18.5 7.6-31.5 11.9C424.5 342.9 388.8 352 352 352c-37 0-65.2-9.4-89-17.3l-1-.3c-24-8-43.7-14.4-70-14.4c-27.5 0-60.1 7-87.2 14.8z"]
  110783. };
  110784. var faHanukiah = {
  110785. prefix: 'fas',
  110786. iconName: 'hanukiah',
  110787. icon: [640, 512, [128334], "f6e6", "M314.2 3.3C309.1 12.1 296 36.6 296 56c0 13.3 10.7 24 24 24s24-10.7 24-24c0-19.4-13.1-43.9-18.2-52.7C324.6 1.2 322.4 0 320 0s-4.6 1.2-5.8 3.3zm-288 48C21.1 60.1 8 84.6 8 104c0 13.3 10.7 24 24 24s24-10.7 24-24c0-19.4-13.1-43.9-18.2-52.7C36.6 49.2 34.4 48 32 48s-4.6 1.2-5.8 3.3zM88 104c0 13.3 10.7 24 24 24s24-10.7 24-24c0-19.4-13.1-43.9-18.2-52.7c-1.2-2.1-3.4-3.3-5.8-3.3s-4.6 1.2-5.8 3.3C101.1 60.1 88 84.6 88 104zm82.2-52.7C165.1 60.1 152 84.6 152 104c0 13.3 10.7 24 24 24s24-10.7 24-24c0-19.4-13.1-43.9-18.2-52.7c-1.2-2.1-3.4-3.3-5.8-3.3s-4.6 1.2-5.8 3.3zM216 104c0 13.3 10.7 24 24 24s24-10.7 24-24c0-19.4-13.1-43.9-18.2-52.7c-1.2-2.1-3.4-3.3-5.8-3.3s-4.6 1.2-5.8 3.3C229.1 60.1 216 84.6 216 104zM394.2 51.3C389.1 60.1 376 84.6 376 104c0 13.3 10.7 24 24 24s24-10.7 24-24c0-19.4-13.1-43.9-18.2-52.7c-1.2-2.1-3.4-3.3-5.8-3.3s-4.6 1.2-5.8 3.3zM440 104c0 13.3 10.7 24 24 24s24-10.7 24-24c0-19.4-13.1-43.9-18.2-52.7c-1.2-2.1-3.4-3.3-5.8-3.3s-4.6 1.2-5.8 3.3C453.1 60.1 440 84.6 440 104zm82.2-52.7C517.1 60.1 504 84.6 504 104c0 13.3 10.7 24 24 24s24-10.7 24-24c0-19.4-13.1-43.9-18.2-52.7c-1.2-2.1-3.4-3.3-5.8-3.3s-4.6 1.2-5.8 3.3zM584 104c0 13.3 10.7 24 24 24s24-10.7 24-24c0-19.4-13.1-43.9-18.2-52.7c-1.2-2.1-3.4-3.3-5.8-3.3s-4.6 1.2-5.8 3.3C597.1 60.1 584 84.6 584 104zM112 160c-8.8 0-16 7.2-16 16v96 16h32V272 176c0-8.8-7.2-16-16-16zm64 0c-8.8 0-16 7.2-16 16v96 16h32V272 176c0-8.8-7.2-16-16-16zm64 0c-8.8 0-16 7.2-16 16v96 16h32V272 176c0-8.8-7.2-16-16-16zm160 0c-8.8 0-16 7.2-16 16v96 16h32V272 176c0-8.8-7.2-16-16-16zm64 0c-8.8 0-16 7.2-16 16v96 16h32V272 176c0-8.8-7.2-16-16-16zm64 0c-8.8 0-16 7.2-16 16v96 16h32V272 176c0-8.8-7.2-16-16-16zM352 144c0-17.7-14.3-32-32-32s-32 14.3-32 32V320H96c-17.7 0-32-14.3-32-32V192c0-17.7-14.3-32-32-32s-32 14.3-32 32v96c0 53 43 96 96 96H288v64H160c-17.7 0-32 14.3-32 32s14.3 32 32 32H320 480c17.7 0 32-14.3 32-32s-14.3-32-32-32H352V384H544c53 0 96-43 96-96V192c0-17.7-14.3-32-32-32s-32 14.3-32 32v96c0 17.7-14.3 32-32 32H352V144z"]
  110788. };
  110789. var faFeather = {
  110790. prefix: 'fas',
  110791. iconName: 'feather',
  110792. icon: [512, 512, [129718], "f52d", "M278.5 215.6L23 471c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l57-57h68c49.7 0 97.9-14.4 139-41c11.1-7.2 5.5-23-7.8-23c-5.1 0-9.2-4.1-9.2-9.2c0-4.1 2.7-7.6 6.5-8.8l81-24.3c2.5-.8 4.8-2.1 6.7-4l22.4-22.4c10.1-10.1 2.9-27.3-11.3-27.3l-32.2 0c-5.1 0-9.2-4.1-9.2-9.2c0-4.1 2.7-7.6 6.5-8.8l112-33.6c4-1.2 7.4-3.9 9.3-7.7C506.4 207.6 512 184.1 512 160c0-41-16.3-80.3-45.3-109.3l-5.5-5.5C432.3 16.3 393 0 352 0s-80.3 16.3-109.3 45.3L139 149C91 197 64 262.1 64 330v55.3L253.6 195.8c6.2-6.2 16.4-6.2 22.6 0c5.4 5.4 6.1 13.6 2.2 19.8z"]
  110793. };
  110794. var faVolumeLow = {
  110795. prefix: 'fas',
  110796. iconName: 'volume-low',
  110797. icon: [448, 512, [128264, "volume-down"], "f027", "M301.1 34.8C312.6 40 320 51.4 320 64V448c0 12.6-7.4 24-18.9 29.2s-25 3.1-34.4-5.3L131.8 352H64c-35.3 0-64-28.7-64-64V224c0-35.3 28.7-64 64-64h67.8L266.7 40.1c9.4-8.4 22.9-10.4 34.4-5.3zM412.6 181.5C434.1 199.1 448 225.9 448 256s-13.9 56.9-35.4 74.5c-10.3 8.4-25.4 6.8-33.8-3.5s-6.8-25.4 3.5-33.8C393.1 284.4 400 271 400 256s-6.9-28.4-17.7-37.3c-10.3-8.4-11.8-23.5-3.5-33.8s23.5-11.8 33.8-3.5z"]
  110798. };
  110799. var faVolumeDown = faVolumeLow;
  110800. var faCommentSlash = {
  110801. prefix: 'fas',
  110802. iconName: 'comment-slash',
  110803. icon: [640, 512, [], "f4b3", "M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L512.9 376.7C552.2 340.2 576 292.3 576 240C576 125.1 461.4 32 320 32c-67.7 0-129.3 21.4-175.1 56.3L38.8 5.1zM64 240c0 45.1 17.7 86.8 47.7 120.9c-1.9 24.5-11.4 46.3-21.4 62.9c-5.5 9.2-11.1 16.6-15.2 21.6c-2.1 2.5-3.7 4.4-4.9 5.7c-.6 .6-1 1.1-1.3 1.4l-.3 .3 0 0 0 0 0 0 0 0c-4.6 4.6-5.9 11.4-3.4 17.4c2.5 6 8.3 9.9 14.8 9.9c28.7 0 57.6-8.9 81.6-19.3c22.9-10 42.4-21.9 54.3-30.6c31.8 11.5 67 17.9 104.1 17.9c37 0 72.3-6.4 104-17.9L82.9 161.3C70.7 185.6 64 212.2 64 240z"]
  110804. };
  110805. var faCloudSunRain = {
  110806. prefix: 'fas',
  110807. iconName: 'cloud-sun-rain',
  110808. icon: [640, 512, [127782], "f743", "M137.9 3c-4.5-3.2-10.3-3.9-15.4-1.8s-8.8 6.7-9.7 12.2L98.7 98.7 13.4 112.8c-5.5 .9-10.1 4.6-12.2 9.7S-.2 133.4 3 137.9l50.3 70.3L3 278.5c-3.2 4.5-3.9 10.3-1.8 15.4s6.7 8.8 12.2 9.7l85.3 14.1L112.8 403c.9 5.5 4.6 10.1 9.7 12.2s10.9 1.4 15.4-1.8l55.2-39.5c-19.9-21.9-32.3-50.8-33.1-82.6c-17.6-10.2-32.2-26.1-40.6-46.3c-20.3-49 3-105.1 52-125.4c29.4-12.2 61.4-8.7 86.7 6.7c13.1-21.8 32.5-39.4 55.8-50.3L303.6 13.4c-.9-5.5-4.6-10.1-9.7-12.2S282.9-.2 278.5 3L208.2 53.3 137.9 3zM291.4 415.9c-2.5 .6-5.1 .6-7.6-.1c1.4 0 2.8 .1 4.2 .1h3.5zm-46.3-260c-17.3-12.2-40.4-15.6-61.5-6.9c-32.7 13.5-48.2 51-34.6 83.6c3.6 8.7 8.9 16.1 15.3 22.2c10.6-39.7 39.9-71.8 77.8-86.4c.8-4.3 1.8-8.4 3-12.5zM277.4 420c-11-7.4-25.9-4.4-33.3 6.7l-32 48c-7.4 11-4.4 25.9 6.7 33.3s25.9 4.4 33.3-6.7l32-48c7.4-11 4.4-25.9-6.7-33.3zm96 0c-11-7.4-25.9-4.4-33.3 6.7l-32 48c-7.4 11-4.4 25.9 6.7 33.3s25.9 4.4 33.3-6.7l32-48c7.4-11 4.4-25.9-6.7-33.3zm96 0c-11-7.4-25.9-4.4-33.3 6.7l-32 48c-7.4 11-4.4 25.9 6.7 33.3s25.9 4.4 33.3-6.7l32-48c7.4-11 4.4-25.9-6.7-33.3zm96 0c-11-7.4-25.9-4.4-33.3 6.7l-32 48c-7.4 11-4.4 25.9 6.7 33.3s25.9 4.4 33.3-6.7l32-48c7.4-11 4.4-25.9-6.7-33.3zm74.5-116.1c0-39.3-28.4-72.1-65.8-78.7c1.2-5.6 1.9-11.3 1.9-17.2c0-44.2-35.8-80-80-80c-17 0-32.8 5.3-45.8 14.4C433.3 114.6 402.8 96 368 96c-53 0-96 43-96 96l0 1.3c-45.4 7.6-80 47.1-80 94.6c0 53 43 96 96 96H559.9c44.2 0 80-35.8 80-80z"]
  110809. };
  110810. var faCompress = {
  110811. prefix: 'fas',
  110812. iconName: 'compress',
  110813. icon: [448, 512, [], "f066", "M160 64c0-17.7-14.3-32-32-32s-32 14.3-32 32v64H32c-17.7 0-32 14.3-32 32s14.3 32 32 32h96c17.7 0 32-14.3 32-32V64zM32 320c-17.7 0-32 14.3-32 32s14.3 32 32 32H96v64c0 17.7 14.3 32 32 32s32-14.3 32-32V352c0-17.7-14.3-32-32-32H32zM352 64c0-17.7-14.3-32-32-32s-32 14.3-32 32v96c0 17.7 14.3 32 32 32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H352V64zM320 320c-17.7 0-32 14.3-32 32v96c0 17.7 14.3 32 32 32s32-14.3 32-32V384h64c17.7 0 32-14.3 32-32s-14.3-32-32-32H320z"]
  110814. };
  110815. var faWheatAwn = {
  110816. prefix: 'fas',
  110817. iconName: 'wheat-awn',
  110818. icon: [512, 512, ["wheat-alt"], "e2cd", "M505 41c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0L383 95c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l88-88zM305.5 27.3c-6.2-6.2-16.4-6.2-22.6 0L271.5 38.6c-37.5 37.5-37.5 98.3 0 135.8l10.4 10.4-30.5 30.5c-3.4-27.3-15.5-53.8-36.5-74.8l-11.3-11.3c-6.2-6.2-16.4-6.2-22.6 0l-11.3 11.3c-37.5 37.5-37.5 98.3 0 135.8l10.4 10.4-30.5 30.5c-3.4-27.3-15.5-53.8-36.5-74.8L101.8 231c-6.2-6.2-16.4-6.2-22.6 0L67.9 242.3c-37.5 37.5-37.5 98.3 0 135.8l10.4 10.4L9.4 457.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l68.9-68.9 12.2 12.2c37.5 37.5 98.3 37.5 135.8 0l11.3-11.3c6.2-6.2 6.2-16.4 0-22.6l-11.3-11.3c-21.8-21.8-49.6-34.1-78.1-36.9l31.9-31.9 12.2 12.2c37.5 37.5 98.3 37.5 135.8 0l11.3-11.3c6.2-6.2 6.2-16.4 0-22.6l-11.3-11.3c-21.8-21.8-49.6-34.1-78.1-36.9l31.9-31.9 12.2 12.2c37.5 37.5 98.3 37.5 135.8 0L486.5 231c6.2-6.2 6.2-16.4 0-22.6L475.2 197c-5.2-5.2-10.6-9.8-16.4-13.9L505 137c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-59.4 59.4c-20.6-4.4-42-3.7-62.3 2.1c6.1-21.3 6.6-43.8 1.4-65.3L409 41c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0L329.1 52.9c-3.7-5-7.8-9.8-12.4-14.3L305.5 27.3z"]
  110819. };
  110820. var faWheatAlt = faWheatAwn;
  110821. var faAnkh = {
  110822. prefix: 'fas',
  110823. iconName: 'ankh',
  110824. icon: [320, 512, [9765], "f644", "M96 128c0-35.3 28.7-64 64-64s64 28.7 64 64c0 41.6-20.7 76.6-46.6 104.1c-5.9 6.2-11.8 11.8-17.4 16.7c-5.6-4.9-11.5-10.5-17.4-16.7C116.7 204.6 96 169.6 96 128zM160 0C89.3 0 32 57.3 32 128c0 52.4 21.5 95.5 46.8 128H32c-17.7 0-32 14.3-32 32s14.3 32 32 32h96V480c0 17.7 14.3 32 32 32s32-14.3 32-32V320h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H241.2c25.4-32.5 46.8-75.6 46.8-128C288 57.3 230.7 0 160 0z"]
  110825. };
  110826. var faHandsHoldingChild = {
  110827. prefix: 'fas',
  110828. iconName: 'hands-holding-child',
  110829. icon: [640, 512, [], "e4fa", "M320 80c-22.1 0-40-17.9-40-40s17.9-40 40-40s40 17.9 40 40s-17.9 40-40 40zm44.7 84.3L375.8 253c1.6 13.2-7.7 25.1-20.8 26.8s-25.1-7.7-26.8-20.8l-4.4-35h-7.6l-4.4 35c-1.6 13.2-13.6 22.5-26.8 20.8s-22.5-13.6-20.8-26.8l11.1-88.8L255.5 181c-10.1 8.6-25.3 7.3-33.8-2.8s-7.3-25.3 2.8-33.8l27.9-23.6C271.3 104.8 295.3 96 320 96s48.7 8.8 67.6 24.7l27.9 23.6c10.1 8.6 11.4 23.7 2.8 33.8s-23.7 11.4-33.8 2.8l-19.8-16.7zM40 64c22.1 0 40 17.9 40 40v40 80 40.2c0 17 6.7 33.3 18.7 45.3l51.1 51.1c8.3 8.3 21.3 9.6 31 3.1c12.9-8.6 14.7-26.9 3.7-37.8l-15.2-15.2-32-32c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l32 32 15.2 15.2 0 0 25.3 25.3c21 21 32.8 49.5 32.8 79.2V464c0 26.5-21.5 48-48 48H173.3c-17 0-33.3-6.7-45.3-18.7L28.1 393.4C10.1 375.4 0 351 0 325.5V224 160 104C0 81.9 17.9 64 40 64zm560 0c22.1 0 40 17.9 40 40v56 64V325.5c0 25.5-10.1 49.9-28.1 67.9L512 493.3c-12 12-28.3 18.7-45.3 18.7H400c-26.5 0-48-21.5-48-48V385.1c0-29.7 11.8-58.2 32.8-79.2l25.3-25.3 0 0 15.2-15.2 32-32c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-32 32-15.2 15.2c-11 11-9.2 29.2 3.7 37.8c9.7 6.5 22.7 5.2 31-3.1l51.1-51.1c12-12 18.7-28.3 18.7-45.3V224 144 104c0-22.1 17.9-40 40-40z"]
  110830. };
  110831. var faAsterisk = {
  110832. prefix: 'fas',
  110833. iconName: 'asterisk',
  110834. icon: [384, 512, [10033, 61545], "2a", "M192 32c17.7 0 32 14.3 32 32V199.5l111.5-66.9c15.2-9.1 34.8-4.2 43.9 11s4.2 34.8-11 43.9L254.2 256l114.3 68.6c15.2 9.1 20.1 28.7 11 43.9s-28.7 20.1-43.9 11L224 312.5V448c0 17.7-14.3 32-32 32s-32-14.3-32-32V312.5L48.5 379.4c-15.2 9.1-34.8 4.2-43.9-11s-4.2-34.8 11-43.9L129.8 256 15.5 187.4c-15.2-9.1-20.1-28.7-11-43.9s28.7-20.1 43.9-11L160 199.5V64c0-17.7 14.3-32 32-32z"]
  110835. };
  110836. var faSquareCheck = {
  110837. prefix: 'fas',
  110838. iconName: 'square-check',
  110839. icon: [448, 512, [9745, 9989, 61510, "check-square"], "f14a", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM337 209L209 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L303 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]
  110840. };
  110841. var faCheckSquare = faSquareCheck;
  110842. var faPesetaSign = {
  110843. prefix: 'fas',
  110844. iconName: 'peseta-sign',
  110845. icon: [384, 512, [], "e221", "M64 32C46.3 32 32 46.3 32 64v96c-17.7 0-32 14.3-32 32s14.3 32 32 32l0 96V448c0 17.7 14.3 32 32 32s32-14.3 32-32V352h96c77.4 0 142-55 156.8-128H352c17.7 0 32-14.3 32-32s-14.3-32-32-32h-3.2C334 87 269.4 32 192 32H64zM282.5 160H96V96h96c41.8 0 77.4 26.7 90.5 64zM96 224H282.5c-13.2 37.3-48.7 64-90.5 64H96V224z"]
  110846. };
  110847. var faHeading = {
  110848. prefix: 'fas',
  110849. iconName: 'heading',
  110850. icon: [448, 512, ["header"], "f1dc", "M0 64C0 46.3 14.3 32 32 32H80h48c17.7 0 32 14.3 32 32s-14.3 32-32 32H112V208H336V96H320c-17.7 0-32-14.3-32-32s14.3-32 32-32h48 48c17.7 0 32 14.3 32 32s-14.3 32-32 32H400V240 416h16c17.7 0 32 14.3 32 32s-14.3 32-32 32H368 320c-17.7 0-32-14.3-32-32s14.3-32 32-32h16V272H112V416h16c17.7 0 32 14.3 32 32s-14.3 32-32 32H80 32c-17.7 0-32-14.3-32-32s14.3-32 32-32H48V240 96H32C14.3 96 0 81.7 0 64z"]
  110851. };
  110852. var faHeader = faHeading;
  110853. var faGhost = {
  110854. prefix: 'fas',
  110855. iconName: 'ghost',
  110856. icon: [384, 512, [128123], "f6e2", "M50.8 452.1L19.2 477.4c-2.1 1.7-4.7 2.6-7.4 2.6C5.3 480 0 474.7 0 468.2V192C0 86 86 0 192 0S384 86 384 192V468.2c0 6.5-5.3 11.8-11.8 11.8c-2.7 0-5.3-.9-7.4-2.6l-31.6-25.3c-3.3-2.7-7.5-4.1-11.8-4.1c-5.9 0-11.5 2.8-15 7.5l-37.6 50.1c-3 4-7.8 6.4-12.8 6.4s-9.8-2.4-12.8-6.4l-38.4-51.2c-3-4-7.8-6.4-12.8-6.4s-9.8 2.4-12.8 6.4l-38.4 51.2c-3 4-7.8 6.4-12.8 6.4s-9.8-2.4-12.8-6.4L77.6 455.5c-3.6-4.7-9.1-7.5-15-7.5c-4.3 0-8.4 1.5-11.7 4.1zM160 192c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zm96 32c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32z"]
  110857. };
  110858. var faList = {
  110859. prefix: 'fas',
  110860. iconName: 'list',
  110861. icon: [512, 512, ["list-squares"], "f03a", "M40 48C26.7 48 16 58.7 16 72v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V72c0-13.3-10.7-24-24-24H40zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zM16 232v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V232c0-13.3-10.7-24-24-24H40c-13.3 0-24 10.7-24 24zM40 368c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V392c0-13.3-10.7-24-24-24H40z"]
  110862. };
  110863. var faListSquares = faList;
  110864. var faSquarePhoneFlip = {
  110865. prefix: 'fas',
  110866. iconName: 'square-phone-flip',
  110867. icon: [448, 512, ["phone-square-alt"], "f87b", "M384 32c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96C0 60.7 28.7 32 64 32H384zm-90.7 96.7c-9.7-2.6-19.9 2.3-23.7 11.6l-20 48c-3.4 8.2-1 17.6 5.8 23.2L280 231.7c-16.6 35.2-45.1 63.7-80.3 80.3l-20.2-24.7c-5.6-6.8-15-9.2-23.2-5.8l-48 20c-9.3 3.9-14.2 14-11.6 23.7l12 44C111.1 378 119 384 128 384c123.7 0 224-100.3 224-224c0-9-6-16.9-14.7-19.3l-44-12z"]
  110868. };
  110869. var faPhoneSquareAlt = faSquarePhoneFlip;
  110870. var faCartPlus = {
  110871. prefix: 'fas',
  110872. iconName: 'cart-plus',
  110873. icon: [576, 512, [], "f217", "M24 0C10.7 0 0 10.7 0 24S10.7 48 24 48H76.1l60.3 316.5c2.2 11.3 12.1 19.5 23.6 19.5H488c13.3 0 24-10.7 24-24s-10.7-24-24-24H179.9l-9.1-48h317c14.3 0 26.9-9.5 30.8-23.3l54-192C578.3 52.3 563 32 541.8 32H122l-2.4-12.5C117.4 8.2 107.5 0 96 0H24zM176 512c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zm336-48c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM252 160c0-11 9-20 20-20h44V96c0-11 9-20 20-20s20 9 20 20v44h44c11 0 20 9 20 20s-9 20-20 20H356v44c0 11-9 20-20 20s-20-9-20-20V180H272c-11 0-20-9-20-20z"]
  110874. };
  110875. var faGamepad = {
  110876. prefix: 'fas',
  110877. iconName: 'gamepad',
  110878. icon: [640, 512, [], "f11b", "M192 64C86 64 0 150 0 256S86 448 192 448H448c106 0 192-86 192-192s-86-192-192-192H192zM496 248c-22.1 0-40-17.9-40-40s17.9-40 40-40s40 17.9 40 40s-17.9 40-40 40zm-24 56c0 22.1-17.9 40-40 40s-40-17.9-40-40s17.9-40 40-40s40 17.9 40 40zM168 200c0-13.3 10.7-24 24-24s24 10.7 24 24v32h32c13.3 0 24 10.7 24 24s-10.7 24-24 24H216v32c0 13.3-10.7 24-24 24s-24-10.7-24-24V280H136c-13.3 0-24-10.7-24-24s10.7-24 24-24h32V200z"]
  110879. };
  110880. var faCircleDot = {
  110881. prefix: 'fas',
  110882. iconName: 'circle-dot',
  110883. icon: [512, 512, [128280, "dot-circle"], "f192", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zm0-160c-53 0-96-43-96-96s43-96 96-96s96 43 96 96s-43 96-96 96z"]
  110884. };
  110885. var faDotCircle = faCircleDot;
  110886. var faFaceDizzy = {
  110887. prefix: 'fas',
  110888. iconName: 'face-dizzy',
  110889. icon: [512, 512, ["dizzy"], "f567", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zm0-96c-35.3 0-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64s-28.7 64-64 64zM100.7 132.7c6.2-6.2 16.4-6.2 22.6 0L160 169.4l36.7-36.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6L182.6 192l36.7 36.7c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L160 214.6l-36.7 36.7c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6L137.4 192l-36.7-36.7c-6.2-6.2-6.2-16.4 0-22.6zm192 0c6.2-6.2 16.4-6.2 22.6 0L352 169.4l36.7-36.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6L374.6 192l36.7 36.7c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L352 214.6l-36.7 36.7c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6L329.4 192l-36.7-36.7c-6.2-6.2-6.2-16.4 0-22.6z"]
  110890. };
  110891. var faDizzy = faFaceDizzy;
  110892. var faEgg = {
  110893. prefix: 'fas',
  110894. iconName: 'egg',
  110895. icon: [384, 512, [129370], "f7fb", "M192 496C86 496 0 410 0 304C0 192 96 16 192 16s192 176 192 288c0 106-86 192-192 192zM156.5 138l0 0 0 0 0 0c5.5-6.9 4.4-17-2.5-22.5s-17-4.4-22.5 2.5L144 128c-12.5-10-12.5-10-12.5-10l0 0 0 0-.1 .1-.2 .2-.6 .8c-.5 .7-1.3 1.7-2.2 3c-1.9 2.6-4.5 6.3-7.7 11c-6.3 9.4-14.6 23-23 39.7C81.1 206.1 64 252.6 64 304c0 8.8 7.2 16 16 16s16-7.2 16-16c0-44.6 14.9-86.1 30.3-116.8c7.6-15.3 15.3-27.7 21-36.3c2.8-4.3 5.2-7.6 6.8-9.8c.8-1.1 1.4-1.9 1.8-2.4l.4-.6 .1-.1 0 0z"]
  110896. };
  110897. var faHouseMedicalCircleXmark = {
  110898. prefix: 'fas',
  110899. iconName: 'house-medical-circle-xmark',
  110900. icon: [640, 512, [], "e513", "M320 368c0 59.5 29.5 112.1 74.8 144H128.1c-35.3 0-64-28.7-64-64V287.6H32c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L522.1 193.9c-8.5-1.3-17.3-1.9-26.1-1.9c-54.7 0-103.5 24.9-135.8 64H320V208c0-8.8-7.2-16-16-16H272c-8.8 0-16 7.2-16 16v48H208c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h48v48c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16zM496 512c-79.5 0-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144zm22.6-144l36.7-36.7c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L496 345.4l-36.7-36.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6L473.4 368l-36.7 36.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L496 390.6l36.7 36.7c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L518.6 368z"]
  110901. };
  110902. var faCampground = {
  110903. prefix: 'fas',
  110904. iconName: 'campground',
  110905. icon: [576, 512, [9978], "f6bb", "M377 52c11-13.8 8.8-33.9-5-45s-33.9-8.8-45 5L288 60.8 249 12c-11-13.8-31.2-16-45-5s-16 31.2-5 45l48 60L12.3 405.4C4.3 415.4 0 427.7 0 440.4V464c0 26.5 21.5 48 48 48H288 528c26.5 0 48-21.5 48-48V440.4c0-12.7-4.3-25.1-12.3-35L329 112l48-60zM288 448H168.5L288 291.7 407.5 448H288z"]
  110906. };
  110907. var faFolderPlus = {
  110908. prefix: 'fas',
  110909. iconName: 'folder-plus',
  110910. icon: [512, 512, [], "f65e", "M512 416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96C0 60.7 28.7 32 64 32H181.5c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 28.3 18.7 45.3 18.7H448c35.3 0 64 28.7 64 64V416zM232 376c0 13.3 10.7 24 24 24s24-10.7 24-24V312h64c13.3 0 24-10.7 24-24s-10.7-24-24-24H280V200c0-13.3-10.7-24-24-24s-24 10.7-24 24v64H168c-13.3 0-24 10.7-24 24s10.7 24 24 24h64v64z"]
  110911. };
  110912. var faFutbol = {
  110913. prefix: 'fas',
  110914. iconName: 'futbol',
  110915. icon: [512, 512, [9917, "futbol-ball", "soccer-ball"], "f1e3", "M417.3 360.1l-71.6-4.8c-5.2-.3-10.3 1.1-14.5 4.2s-7.2 7.4-8.4 12.5l-17.6 69.6C289.5 445.8 273 448 256 448s-33.5-2.2-49.2-6.4L189.2 372c-1.3-5-4.3-9.4-8.4-12.5s-9.3-4.5-14.5-4.2l-71.6 4.8c-17.6-27.2-28.5-59.2-30.4-93.6L125 228.3c4.4-2.8 7.6-7 9.2-11.9s1.4-10.2-.5-15l-26.7-66.6C128 109.2 155.3 89 186.7 76.9l55.2 46c4 3.3 9 5.1 14.1 5.1s10.2-1.8 14.1-5.1l55.2-46c31.3 12.1 58.7 32.3 79.6 57.9l-26.7 66.6c-1.9 4.8-2.1 10.1-.5 15s4.9 9.1 9.2 11.9l60.7 38.2c-1.9 34.4-12.8 66.4-30.4 93.6zM256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zm14.1-325.7c-8.4-6.1-19.8-6.1-28.2 0L194 221c-8.4 6.1-11.9 16.9-8.7 26.8l18.3 56.3c3.2 9.9 12.4 16.6 22.8 16.6h59.2c10.4 0 19.6-6.7 22.8-16.6l18.3-56.3c3.2-9.9-.3-20.7-8.7-26.8l-47.9-34.8z"]
  110916. };
  110917. var faFutbolBall = faFutbol;
  110918. var faSoccerBall = faFutbol;
  110919. var faPaintbrush = {
  110920. prefix: 'fas',
  110921. iconName: 'paintbrush',
  110922. icon: [576, 512, [128396, "paint-brush"], "f1fc", "M371.3 367.1c27.3-3.9 51.9-19.4 67.2-42.9L600.2 74.1c12.6-19.5 9.4-45.3-7.6-61.2S549.7-4.4 531.1 9.6L294.4 187.2c-24 18-38.2 46.1-38.4 76.1L371.3 367.1zm-19.6 25.4l-116-104.4C175.9 290.3 128 339.6 128 400c0 3.9 .2 7.8 .6 11.6c1.8 17.5-10.2 36.4-27.8 36.4H96c-17.7 0-32 14.3-32 32s14.3 32 32 32H240c61.9 0 112-50.1 112-112c0-2.5-.1-5-.2-7.5z"]
  110923. };
  110924. var faPaintBrush = faPaintbrush;
  110925. var faLock = {
  110926. prefix: 'fas',
  110927. iconName: 'lock',
  110928. icon: [448, 512, [128274], "f023", "M144 144v48H304V144c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192V144C80 64.5 144.5 0 224 0s144 64.5 144 144v48h16c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V256c0-35.3 28.7-64 64-64H80z"]
  110929. };
  110930. var faGasPump = {
  110931. prefix: 'fas',
  110932. iconName: 'gas-pump',
  110933. icon: [512, 512, [9981], "f52f", "M32 64C32 28.7 60.7 0 96 0H256c35.3 0 64 28.7 64 64V256h8c48.6 0 88 39.4 88 88v32c0 13.3 10.7 24 24 24s24-10.7 24-24V222c-27.6-7.1-48-32.2-48-62V96L384 64c-8.8-8.8-8.8-23.2 0-32s23.2-8.8 32 0l77.3 77.3c12 12 18.7 28.3 18.7 45.3V168v24 32V376c0 39.8-32.2 72-72 72s-72-32.2-72-72V344c0-22.1-17.9-40-40-40h-8V448c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32V64zM96 80v96c0 8.8 7.2 16 16 16H240c8.8 0 16-7.2 16-16V80c0-8.8-7.2-16-16-16H112c-8.8 0-16 7.2-16 16z"]
  110934. };
  110935. var faHotTubPerson = {
  110936. prefix: 'fas',
  110937. iconName: 'hot-tub-person',
  110938. icon: [512, 512, ["hot-tub"], "f593", "M272 24c0-13.3-10.7-24-24-24s-24 10.7-24 24v5.2c0 34 14.4 66.4 39.7 89.2l16.4 14.8c15.2 13.7 23.8 33.1 23.8 53.5V200c0 13.3 10.7 24 24 24s24-10.7 24-24V186.8c0-34-14.4-66.4-39.7-89.2L295.8 82.8C280.7 69.1 272 49.7 272 29.2V24zM0 320v16V448c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V320c0-35.3-28.7-64-64-64H277.3c-13.8 0-27.3-4.5-38.4-12.8l-85.3-64C137 166.7 116.8 160 96 160c-53 0-96 43-96 96v64zm128 16v96c0 8.8-7.2 16-16 16s-16-7.2-16-16V336c0-8.8 7.2-16 16-16s16 7.2 16 16zm80-16c8.8 0 16 7.2 16 16v96c0 8.8-7.2 16-16 16s-16-7.2-16-16V336c0-8.8 7.2-16 16-16zm112 16v96c0 8.8-7.2 16-16 16s-16-7.2-16-16V336c0-8.8 7.2-16 16-16s16 7.2 16 16zm80-16c8.8 0 16 7.2 16 16v96c0 8.8-7.2 16-16 16s-16-7.2-16-16V336c0-8.8 7.2-16 16-16zM360 0c-13.3 0-24 10.7-24 24v5.2c0 34 14.4 66.4 39.7 89.2l16.4 14.8c15.2 13.7 23.8 33.1 23.8 53.5V200c0 13.3 10.7 24 24 24s24-10.7 24-24V186.8c0-34-14.4-66.4-39.7-89.2L407.8 82.8C392.7 69.1 384 49.7 384 29.2V24c0-13.3-10.7-24-24-24zM64 128c35.3 0 64-28.7 64-64S99.3 0 64 0S0 28.7 0 64s28.7 64 64 64z"]
  110939. };
  110940. var faHotTub = faHotTubPerson;
  110941. var faMapLocation = {
  110942. prefix: 'fas',
  110943. iconName: 'map-location',
  110944. icon: [576, 512, ["map-marked"], "f59f", "M302.8 312C334.9 271.9 408 174.6 408 120C408 53.7 354.3 0 288 0S168 53.7 168 120c0 54.6 73.1 151.9 105.2 192c7.7 9.6 22 9.6 29.6 0zM416 503l144.9-58c9.1-3.6 15.1-12.5 15.1-22.3V152c0-17-17.1-28.6-32.9-22.3l-116 46.4c-.5 1.2-1 2.5-1.5 3.7c-2.9 6.8-6.1 13.7-9.6 20.6V503zM15.1 187.3C6 191 0 199.8 0 209.6V480.4c0 17 17.1 28.6 32.9 22.3L160 451.8V200.4c-3.5-6.9-6.7-13.8-9.6-20.6c-5.6-13.2-10.4-27.4-12.8-41.5l-122.6 49zM384 255c-20.5 31.3-42.3 59.6-56.2 77c-20.5 25.6-59.1 25.6-79.6 0c-13.9-17.4-35.7-45.7-56.2-77V449.4l192 54.9V255z"]
  110945. };
  110946. var faMapMarked = faMapLocation;
  110947. var faHouseFloodWater = {
  110948. prefix: 'fas',
  110949. iconName: 'house-flood-water',
  110950. icon: [576, 512, [], "e50e", "M306.8 6.1C295.6-2 280.4-2 269.2 6.1l-176 128c-11.2 8.2-15.9 22.6-11.6 35.8S98.1 192 112 192h16v73c1.7 1 3.3 2 4.9 3.1c18 12.4 40.1 20.3 59.2 20.3c21.1 0 42-8.5 59.2-20.3c22.1-15.5 51.6-15.5 73.7 0c18.4 12.7 39.6 20.3 59.2 20.3c19 0 41.2-7.9 59.2-20.3c1.5-1 3-2 4.5-2.9l-.3-73.2H464c13.9 0 26.1-8.9 30.4-22.1s-.4-27.6-11.6-35.8l-176-128zM269.5 309.9C247 325.4 219.5 336 192 336c-26.9 0-55.3-10.8-77.4-26.1l0 0c-11.9-8.5-28.1-7.8-39.2 1.7c-14.4 11.9-32.5 21-50.6 25.2c-17.2 4-27.9 21.2-23.9 38.4s21.2 27.9 38.4 23.9c24.5-5.7 44.9-16.5 58.2-25C126.5 389.7 159 400 192 400c31.9 0 60.6-9.9 80.4-18.9c5.8-2.7 11.1-5.3 15.6-7.7c4.5 2.4 9.7 5.1 15.6 7.7c19.8 9 48.6 18.9 80.4 18.9c33 0 65.5-10.3 94.5-25.8c13.4 8.4 33.7 19.3 58.2 25c17.2 4 34.4-6.7 38.4-23.9s-6.7-34.4-23.9-38.4c-18.1-4.2-36.2-13.3-50.6-25.2c-11.1-9.5-27.3-10.1-39.2-1.7l0 0C439.4 325.2 410.9 336 384 336c-27.5 0-55-10.6-77.5-26.1c-11.1-7.9-25.9-7.9-37 0zM384 448c-27.5 0-55-10.6-77.5-26.1c-11.1-7.9-25.9-7.9-37 0C247 437.4 219.5 448 192 448c-26.9 0-55.3-10.8-77.4-26.1l0 0c-11.9-8.5-28.1-7.8-39.2 1.7c-14.4 11.9-32.5 21-50.6 25.2c-17.2 4-27.9 21.2-23.9 38.4s21.2 27.9 38.4 23.9c24.5-5.7 44.9-16.5 58.2-25C126.5 501.7 159 512 192 512c31.9 0 60.6-9.9 80.4-18.9c5.8-2.7 11.1-5.3 15.6-7.7c4.5 2.4 9.7 5.1 15.6 7.7c19.8 9 48.6 18.9 80.4 18.9c33 0 65.5-10.3 94.5-25.8c13.4 8.4 33.7 19.3 58.2 25c17.2 4 34.4-6.7 38.4-23.9s-6.7-34.4-23.9-38.4c-18.1-4.2-36.2-13.3-50.6-25.2c-11.1-9.4-27.3-10.1-39.2-1.7l0 0C439.4 437.2 410.9 448 384 448z"]
  110951. };
  110952. var faTree = {
  110953. prefix: 'fas',
  110954. iconName: 'tree',
  110955. icon: [448, 512, [127794], "f1bb", "M210.6 5.9L62 169.4c-3.9 4.2-6 9.8-6 15.5C56 197.7 66.3 208 79.1 208H104L30.6 281.4c-4.2 4.2-6.6 10-6.6 16C24 309.9 34.1 320 46.6 320H80L5.4 409.5C1.9 413.7 0 419 0 424.5c0 13 10.5 23.5 23.5 23.5H192v32c0 17.7 14.3 32 32 32s32-14.3 32-32V448H424.5c13 0 23.5-10.5 23.5-23.5c0-5.5-1.9-10.8-5.4-15L368 320h33.4c12.5 0 22.6-10.1 22.6-22.6c0-6-2.4-11.8-6.6-16L344 208h24.9c12.7 0 23.1-10.3 23.1-23.1c0-5.7-2.1-11.3-6-15.5L237.4 5.9C234 2.1 229.1 0 224 0s-10 2.1-13.4 5.9z"]
  110956. };
  110957. var faBridgeLock = {
  110958. prefix: 'fas',
  110959. iconName: 'bridge-lock',
  110960. icon: [640, 512, [], "e4cc", "M32 64c0-17.7 14.3-32 32-32H576c17.7 0 32 14.3 32 32s-14.3 32-32 32H536v64h-8c-61.9 0-112 50.1-112 112v24.6c-9.9 5.8-18.2 14.1-23.8 24.1c-17.6-20-43.4-32.7-72.2-32.7c-53 0-96 43-96 96v64c0 17.7-14.3 32-32 32H160c-17.7 0-32-14.3-32-32V384c0-53-43-96-96-96V160h72V96H64C46.3 96 32 81.7 32 64zM408 96v64h80V96H408zm-48 64V96H280v64h80zM152 96v64h80V96H152zM528 240c-17.7 0-32 14.3-32 32v48h64V272c0-17.7-14.3-32-32-32zm-80 32c0-44.2 35.8-80 80-80s80 35.8 80 80v48c17.7 0 32 14.3 32 32V480c0 17.7-14.3 32-32 32H448c-17.7 0-32-14.3-32-32V352c0-17.7 14.3-32 32-32V272z"]
  110961. };
  110962. var faSackDollar = {
  110963. prefix: 'fas',
  110964. iconName: 'sack-dollar',
  110965. icon: [512, 512, [128176], "f81d", "M320 96H192L144.6 24.9C137.5 14.2 145.1 0 157.9 0H354.1c12.8 0 20.4 14.2 13.3 24.9L320 96zM192 128H320c3.8 2.5 8.1 5.3 13 8.4C389.7 172.7 512 250.9 512 416c0 53-43 96-96 96H96c-53 0-96-43-96-96C0 250.9 122.3 172.7 179 136.4l0 0 0 0c4.8-3.1 9.2-5.9 13-8.4zm84.1 96c0-11.1-9-20.1-20.1-20.1s-20.1 9-20.1 20.1v6c-5.6 1.2-10.9 2.9-15.9 5.1c-15 6.8-27.9 19.4-31.1 37.7c-1.8 10.2-.8 20 3.4 29c4.2 8.8 10.7 15 17.3 19.5c11.6 7.9 26.9 12.5 38.6 16l2.2 .7c13.9 4.2 23.4 7.4 29.3 11.7c2.5 1.8 3.4 3.2 3.8 4.1c.3 .8 .9 2.6 .2 6.7c-.6 3.5-2.5 6.4-8 8.8c-6.1 2.6-16 3.9-28.8 1.9c-6-1-16.7-4.6-26.2-7.9l0 0 0 0 0 0 0 0c-2.2-.8-4.3-1.5-6.3-2.1c-10.5-3.5-21.8 2.2-25.3 12.7s2.2 21.8 12.7 25.3c1.2 .4 2.7 .9 4.4 1.5c7.9 2.7 20.3 6.9 29.8 9.1V416c0 11.1 9 20.1 20.1 20.1s20.1-9 20.1-20.1v-5.5c5.4-1 10.5-2.5 15.4-4.6c15.7-6.7 28.4-19.7 31.6-38.7c1.8-10.4 1-20.3-3-29.4c-3.9-9-10.2-15.6-16.9-20.5c-12.2-8.8-28.3-13.7-40.4-17.4l-.8-.2c-14.2-4.3-23.8-7.3-29.9-11.4c-2.6-1.8-3.4-3-3.6-3.5c-.2-.3-.7-1.6-.1-5c.3-1.9 1.9-5.2 8.2-8.1c6.4-2.9 16.4-4.5 28.6-2.6c4.3 .7 17.9 3.3 21.7 4.3c10.7 2.8 21.6-3.5 24.5-14.2s-3.5-21.6-14.2-24.5c-4.4-1.2-14.4-3.2-21-4.4V224z"]
  110966. };
  110967. var faPenToSquare = {
  110968. prefix: 'fas',
  110969. iconName: 'pen-to-square',
  110970. icon: [512, 512, ["edit"], "f044", "M471.6 21.7c-21.9-21.9-57.3-21.9-79.2 0L362.3 51.7l97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2L471.6 21.7zm-299.2 220c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.8 15.7-7.4 21.9-13.5L437.7 172.3 339.7 74.3 172.4 241.7zM96 64C43 64 0 107 0 160V416c0 53 43 96 96 96H352c53 0 96-43 96-96V320c0-17.7-14.3-32-32-32s-32 14.3-32 32v96c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H96z"]
  110971. };
  110972. var faEdit = faPenToSquare;
  110973. var faCarSide = {
  110974. prefix: 'fas',
  110975. iconName: 'car-side',
  110976. icon: [640, 512, [128663], "f5e4", "M171.3 96H224v96H111.3l30.4-75.9C146.5 104 158.2 96 171.3 96zM272 192V96h81.2c9.7 0 18.9 4.4 25 12l67.2 84H272zm256.2 1L428.2 68c-18.2-22.8-45.8-36-75-36H171.3c-39.3 0-74.6 23.9-89.1 60.3L40.6 196.4C16.8 205.8 0 228.9 0 256V368c0 17.7 14.3 32 32 32H65.3c7.6 45.4 47.1 80 94.7 80s87.1-34.6 94.7-80H385.3c7.6 45.4 47.1 80 94.7 80s87.1-34.6 94.7-80H608c17.7 0 32-14.3 32-32V320c0-65.2-48.8-119-111.8-127zm-2.9 207c-6.6 18.6-24.4 32-45.3 32s-38.7-13.4-45.3-32c-1.8-5-2.7-10.4-2.7-16c0-26.5 21.5-48 48-48s48 21.5 48 48c0 5.6-1 11-2.7 16zM160 432c-20.9 0-38.7-13.4-45.3-32c-1.8-5-2.7-10.4-2.7-16c0-26.5 21.5-48 48-48s48 21.5 48 48c0 5.6-1 11-2.7 16c-6.6 18.6-24.4 32-45.3 32z"]
  110977. };
  110978. var faShareNodes = {
  110979. prefix: 'fas',
  110980. iconName: 'share-nodes',
  110981. icon: [448, 512, ["share-alt"], "f1e0", "M352 224c53 0 96-43 96-96s-43-96-96-96s-96 43-96 96c0 4 .2 8 .7 11.9l-94.1 47C145.4 170.2 121.9 160 96 160c-53 0-96 43-96 96s43 96 96 96c25.9 0 49.4-10.2 66.6-26.9l94.1 47c-.5 3.9-.7 7.8-.7 11.9c0 53 43 96 96 96s96-43 96-96s-43-96-96-96c-25.9 0-49.4 10.2-66.6 26.9l-94.1-47c.5-3.9 .7-7.8 .7-11.9s-.2-8-.7-11.9l94.1-47C302.6 213.8 326.1 224 352 224z"]
  110982. };
  110983. var faShareAlt = faShareNodes;
  110984. var faHeartCircleMinus = {
  110985. prefix: 'fas',
  110986. iconName: 'heart-circle-minus',
  110987. icon: [576, 512, [], "e4ff", "M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9l2.6-2.4C267.2 438.6 256 404.6 256 368c0-97.2 78.8-176 176-176c28.3 0 55 6.7 78.7 18.5c.9-6.5 1.3-13 1.3-19.6v-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1v5.8c0 41.5 17.2 81.2 47.6 109.5zM576 368c0-79.5-64.5-144-144-144s-144 64.5-144 144s64.5 144 144 144s144-64.5 144-144zm-64 0c0 8.8-7.2 16-16 16H368c-8.8 0-16-7.2-16-16s7.2-16 16-16H496c8.8 0 16 7.2 16 16z"]
  110988. };
  110989. var faHourglassHalf = {
  110990. prefix: 'fas',
  110991. iconName: 'hourglass-half',
  110992. icon: [384, 512, ["hourglass-2"], "f252", "M32 0C14.3 0 0 14.3 0 32S14.3 64 32 64V75c0 42.4 16.9 83.1 46.9 113.1L146.7 256 78.9 323.9C48.9 353.9 32 394.6 32 437v11c-17.7 0-32 14.3-32 32s14.3 32 32 32H64 320h32c17.7 0 32-14.3 32-32s-14.3-32-32-32V437c0-42.4-16.9-83.1-46.9-113.1L237.3 256l67.9-67.9c30-30 46.9-70.7 46.9-113.1V64c17.7 0 32-14.3 32-32s-14.3-32-32-32H320 64 32zM96 75V64H288V75c0 19-5.6 37.4-16 53H112c-10.3-15.6-16-34-16-53zm16 309c3.5-5.3 7.6-10.3 12.1-14.9L192 301.3l67.9 67.9c4.6 4.6 8.6 9.6 12.2 14.9H112z"]
  110993. };
  110994. var faHourglass2 = faHourglassHalf;
  110995. var faMicroscope = {
  110996. prefix: 'fas',
  110997. iconName: 'microscope',
  110998. icon: [512, 512, [128300], "f610", "M168 32c0-17.7 14.3-32 32-32h16c17.7 0 32 14.3 32 32h8c17.7 0 32 14.3 32 32V288c0 17.7-14.3 32-32 32h-8c0 17.7-14.3 32-32 32H200c-17.7 0-32-14.3-32-32h-8c-17.7 0-32-14.3-32-32V64c0-17.7 14.3-32 32-32l8 0zM32 448H320c70.7 0 128-57.3 128-128s-57.3-128-128-128V128c106 0 192 86 192 192c0 49.2-18.5 94-48.9 128H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H320 32c-17.7 0-32-14.3-32-32s14.3-32 32-32zm80-64H304c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]
  110999. };
  111000. var faSink = {
  111001. prefix: 'fas',
  111002. iconName: 'sink',
  111003. icon: [512, 512, [], "e06d", "M288 96c0-17.7 14.3-32 32-32s32 14.3 32 32s14.3 32 32 32s32-14.3 32-32c0-53-43-96-96-96s-96 43-96 96V288H160V264c0-30.9-25.1-56-56-56H56c-13.3 0-24 10.7-24 24s10.7 24 24 24h48c4.4 0 8 3.6 8 8v24H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H256 480c17.7 0 32-14.3 32-32s-14.3-32-32-32H400V264c0-4.4 3.6-8 8-8h56c13.3 0 24-10.7 24-24s-10.7-24-24-24H408c-30.9 0-56 25.1-56 56v24H288V96zM480 416V384H32v32c0 53 43 96 96 96H384c53 0 96-43 96-96z"]
  111004. };
  111005. var faBagShopping = {
  111006. prefix: 'fas',
  111007. iconName: 'bag-shopping',
  111008. icon: [448, 512, ["shopping-bag"], "f290", "M160 112c0-35.3 28.7-64 64-64s64 28.7 64 64v48H160V112zm-48 48H48c-26.5 0-48 21.5-48 48V416c0 53 43 96 96 96H352c53 0 96-43 96-96V208c0-26.5-21.5-48-48-48H336V112C336 50.1 285.9 0 224 0S112 50.1 112 112v48zm24 96c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm200-24c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24z"]
  111009. };
  111010. var faShoppingBag = faBagShopping;
  111011. var faArrowDownZA = {
  111012. prefix: 'fas',
  111013. iconName: 'arrow-down-z-a',
  111014. icon: [576, 512, ["sort-alpha-desc", "sort-alpha-down-alt"], "f881", "M183.6 469.6C177.5 476.2 169 480 160 480s-17.5-3.8-23.6-10.4l-88-96c-11.9-13-11.1-33.3 2-45.2s33.3-11.1 45.2 2L128 365.7V64c0-17.7 14.3-32 32-32s32 14.3 32 32V365.7l32.4-35.4c11.9-13 32.2-13.9 45.2-2s13.9 32.2 2 45.2l-88 96zM320 64c0-17.7 14.3-32 32-32H480c12.9 0 24.6 7.8 29.6 19.8s2.2 25.7-6.9 34.9L429.3 160H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H352c-12.9 0-24.6-7.8-29.6-19.8s-2.2-25.7 6.9-34.9L402.7 96H352c-17.7 0-32-14.3-32-32zm96 192c12.1 0 23.2 6.8 28.6 17.7l64 128 16 32c7.9 15.8 1.5 35-14.3 42.9s-35 1.5-42.9-14.3L460.2 448H371.8l-7.2 14.3c-7.9 15.8-27.1 22.2-42.9 14.3s-22.2-27.1-14.3-42.9l16-32 64-128c5.4-10.8 16.5-17.7 28.6-17.7zM395.8 400h40.4L416 359.6 395.8 400z"]
  111015. };
  111016. var faSortAlphaDesc = faArrowDownZA;
  111017. var faSortAlphaDownAlt = faArrowDownZA;
  111018. var faMitten = {
  111019. prefix: 'fas',
  111020. iconName: 'mitten',
  111021. icon: [448, 512, [], "f7b5", "M352 384H64L5.4 178.9C1.8 166.4 0 153.4 0 140.3C0 62.8 62.8 0 140.3 0h3.4c66 0 123.5 44.9 139.5 108.9l31.4 125.8 17.6-20.1C344.8 200.2 362.9 192 382 192h2.8c34.9 0 63.3 28.3 63.3 63.3c0 15.9-6 31.2-16.8 42.9L352 384zM32 448c0-17.7 14.3-32 32-32H352c17.7 0 32 14.3 32 32v32c0 17.7-14.3 32-32 32H64c-17.7 0-32-14.3-32-32V448z"]
  111022. };
  111023. var faPersonRays = {
  111024. prefix: 'fas',
  111025. iconName: 'person-rays',
  111026. icon: [512, 512, [], "e54d", "M304 48c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zM248 352V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V256.9l-28.6 47.5c-9.1 15.1-28.8 20-43.9 10.9s-20-28.8-10.9-43.9l58.3-97c17.4-28.9 48.6-46.6 82.3-46.6h29.7c33.7 0 64.9 17.7 82.3 46.6l58.3 97c9.1 15.1 4.2 34.8-10.9 43.9s-34.8 4.2-43.9-10.9L328 256.9V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V352H248zM7 7C16.4-2.3 31.6-2.3 41 7l80 80c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0L7 41C-2.3 31.6-2.3 16.4 7 7zM471 7c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-80 80c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9L471 7zM7 505c-9.4-9.4-9.4-24.6 0-33.9l80-80c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9L41 505c-9.4 9.4-24.6 9.4-33.9 0zm464 0l-80-80c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l80 80c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0z"]
  111027. };
  111028. var faUsers = {
  111029. prefix: 'fas',
  111030. iconName: 'users',
  111031. icon: [640, 512, [], "f0c0", "M144 160c-44.2 0-80-35.8-80-80S99.8 0 144 0s80 35.8 80 80s-35.8 80-80 80zm368 0c-44.2 0-80-35.8-80-80s35.8-80 80-80s80 35.8 80 80s-35.8 80-80 80zM0 298.7C0 239.8 47.8 192 106.7 192h42.7c15.9 0 31 3.5 44.6 9.7c-1.3 7.2-1.9 14.7-1.9 22.3c0 38.2 16.8 72.5 43.3 96c-.2 0-.4 0-.7 0H21.3C9.6 320 0 310.4 0 298.7zM405.3 320c-.2 0-.4 0-.7 0c26.6-23.5 43.3-57.8 43.3-96c0-7.6-.7-15-1.9-22.3c13.6-6.3 28.7-9.7 44.6-9.7h42.7C592.2 192 640 239.8 640 298.7c0 11.8-9.6 21.3-21.3 21.3H405.3zM416 224c0 53-43 96-96 96s-96-43-96-96s43-96 96-96s96 43 96 96zM128 485.3C128 411.7 187.7 352 261.3 352H378.7C452.3 352 512 411.7 512 485.3c0 14.7-11.9 26.7-26.7 26.7H154.7c-14.7 0-26.7-11.9-26.7-26.7z"]
  111032. };
  111033. var faEyeSlash = {
  111034. prefix: 'fas',
  111035. iconName: 'eye-slash',
  111036. icon: [640, 512, [], "f070", "M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c5.2-11.8 8-24.8 8-38.5c0-53-43-96-96-96c-2.8 0-5.6 .1-8.4 .4c5.3 9.3 8.4 20.1 8.4 31.6c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zm223.1 298L373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5z"]
  111037. };
  111038. var faFlaskVial = {
  111039. prefix: 'fas',
  111040. iconName: 'flask-vial',
  111041. icon: [640, 512, [], "e4f3", "M175 389.4c-9.8 16-15 34.3-15 53.1c-10 3.5-20.8 5.5-32 5.5c-53 0-96-43-96-96V64C14.3 64 0 49.7 0 32S14.3 0 32 0H96h64 64c17.7 0 32 14.3 32 32s-14.3 32-32 32V309.9l-49 79.6zM96 64v96h64V64H96zM352 0H480h32c17.7 0 32 14.3 32 32s-14.3 32-32 32V214.9L629.7 406.2c6.7 10.9 10.3 23.5 10.3 36.4c0 38.3-31.1 69.4-69.4 69.4H261.4c-38.3 0-69.4-31.1-69.4-69.4c0-12.8 3.6-25.4 10.3-36.4L320 214.9V64c-17.7 0-32-14.3-32-32s14.3-32 32-32h32zm32 64V224c0 5.9-1.6 11.7-4.7 16.8L330.5 320h171l-48.8-79.2c-3.1-5-4.7-10.8-4.7-16.8V64H384z"]
  111042. };
  111043. var faHand = {
  111044. prefix: 'fas',
  111045. iconName: 'hand',
  111046. icon: [512, 512, [129306, 9995, "hand-paper"], "f256", "M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V240c0 8.8-7.2 16-16 16s-16-7.2-16-16V64c0-17.7-14.3-32-32-32s-32 14.3-32 32V336c0 1.5 0 3.1 .1 4.6L67.6 283c-16-15.2-41.3-14.6-56.6 1.4s-14.6 41.3 1.4 56.6L124.8 448c43.1 41.1 100.4 64 160 64H304c97.2 0 176-78.8 176-176V128c0-17.7-14.3-32-32-32s-32 14.3-32 32V240c0 8.8-7.2 16-16 16s-16-7.2-16-16V64c0-17.7-14.3-32-32-32s-32 14.3-32 32V240c0 8.8-7.2 16-16 16s-16-7.2-16-16V32z"]
  111047. };
  111048. var faHandPaper = faHand;
  111049. var faOm = {
  111050. prefix: 'fas',
  111051. iconName: 'om',
  111052. icon: [512, 512, [128329], "f679", "M379.3 4.7c-6.2-6.2-16.4-6.2-22.6 0l-16 16c-6.2 6.2-6.2 16.4 0 22.6l16 16c6.2 6.2 16.4 6.2 22.6 0l16-16c6.2-6.2 6.2-16.4 0-22.6l-16-16zM115.2 169.6c8-6 17.9-9.6 28.8-9.6c26.5 0 48 21.5 48 48s-21.5 48-48 48H109.8c-7.6 0-13.8 6.2-13.8 13.8c0 1.5 .2 2.9 .7 4.4l8 24c4.4 13.1 16.6 21.9 30.4 21.9H144h16c35.3 0 64 28.7 64 64s-28.7 64-64 64c-50.8 0-82.7-21.5-102.2-42.8c-9.9-10.8-16.6-21.6-20.9-29.7c-2.1-4-3.6-7.3-4.5-9.6c-.5-1.1-.8-2-1-2.5l-.2-.5 0-.1c-2.6-7.8-10.7-12.3-18.7-10.5C4.4 354.2-.9 361.8 .1 370L16 368C.1 370 .1 370 .1 370l0 0 0 0 0 .1 .1 .4c0 .3 .1 .8 .2 1.3c.2 1.1 .4 2.7 .8 4.6c.8 3.9 2 9.4 3.9 15.9c3.8 13 10.3 30.4 21.3 48C48.7 476.2 89.4 512 160 512c70.7 0 128-57.3 128-128c0-23.3-6.2-45.2-17.1-64h22.6c25.5 0 49.9-10.1 67.9-28.1l26.5-26.5c6-6 14.1-9.4 22.6-9.4H416c17.7 0 32 14.3 32 32v96c0 17.7-14.3 32-32 32c-25.7 0-41.4-12.5-51.2-25.6c-5-6.7-8.4-13.4-10.5-18.6c-1.1-2.5-1.8-4.6-2.2-6c-.2-.7-.4-1.2-.5-1.5l-.1-.3 0 0c0 0 0 0 0 0c-1.9-7.3-8.6-12.4-16.2-12.1c-7.6 .3-13.9 5.9-15.1 13.4L336 368c-15.8-2.6-15.8-2.6-15.8-2.6l0 0 0 0 0 .1-.1 .3c0 .3-.1 .6-.2 1.1c-.1 .9-.3 2.1-.4 3.6c-.3 3-.6 7.3-.6 12.4c0 10.1 1.1 23.9 5.8 38.1c4.8 14.3 13.4 29.3 28.6 40.7C368.7 473.3 389.3 480 416 480c53 0 96-43 96-96V288c0-53-43-96-96-96h-5.5c-25.5 0-49.9 10.1-67.9 28.1l-26.5 26.5c-6 6-14.1 9.4-22.6 9.4H245.2c6.9-14.5 10.8-30.8 10.8-48c0-61.9-50.1-112-112-112c-25.2 0-48.5 8.3-67.2 22.4c-14.1 10.6-17 30.7-6.4 44.8s30.7 17 44.8 6.4zM280.9 66.7c-6-4-14-3.5-19.5 1.3s-7 12.7-3.7 19.2L272 80c-14.3 7.2-14.3 7.2-14.3 7.2l0 0 0 0 0 .1 .1 .2 .4 .7c.3 .6 .8 1.4 1.4 2.4c1.2 2 2.9 4.8 5.1 8.2c4.4 6.7 11.1 15.5 20 24.4C302.4 141.1 330.3 160 368 160c31.2 0 56.6-10.4 73.9-20.2c8.7-5 15.6-9.9 20.4-13.8c2.4-1.9 4.3-3.6 5.7-4.9c.7-.6 1.3-1.2 1.7-1.6l.6-.5 .2-.2 .1-.1 0 0 0 0c0 0 0 0-22.6-22.6l22.6 22.6c12.5-12.5 12.5-32.8 0-45.3c-12.4-12.4-32.6-12.5-45.1-.2c-.1 .1-.2 .2-.5 .4c-.5 .5-1.5 1.3-2.8 2.4c-2.7 2.2-6.8 5.2-12.1 8.2C399.4 90.4 384.8 96 368 96c-20.8 0-42.4-7-59.5-14.6c-8.4-3.7-15.4-7.5-20.3-10.3c-2.4-1.4-4.3-2.5-5.6-3.3c-.6-.4-1.1-.7-1.4-.9l-.3-.2 0 0 0 0 0 0z"]
  111053. };
  111054. var faWorm = {
  111055. prefix: 'fas',
  111056. iconName: 'worm',
  111057. icon: [448, 512, [], "e599", "M224 96c0-53 43-96 96-96h38.4C407.9 0 448 40.1 448 89.6V176v16V376c0 75.1-60.9 136-136 136s-136-60.9-136-136V296c0-22.1-17.9-40-40-40s-40 17.9-40 40V464c0 26.5-21.5 48-48 48s-48-21.5-48-48V296c0-75.1 60.9-136 136-136s136 60.9 136 136v80c0 22.1 17.9 40 40 40s40-17.9 40-40V192H320c-53 0-96-43-96-96zm144-8c0-13.3-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24s24-10.7 24-24z"]
  111058. };
  111059. var faHouseCircleXmark = {
  111060. prefix: 'fas',
  111061. iconName: 'house-circle-xmark',
  111062. icon: [640, 512, [], "e50b", "M320.7 351.7C329 262.1 404.3 192 496 192c8.9 0 17.6 .7 26.1 1.9L309.5 7c-6-5-14-7-21-7s-15 1-22 8L10 231.5c-7 7-10 15-10 24c0 18 14 32.1 32 32.1h32V480c0 17.7 14.3 32 32 32H192c17.7 0 32-14.3 32-32V383.7c0-17.7 14.3-32 32-32h64l.7 0zM496 512c79.5 0 144-64.5 144-144s-64.5-144-144-144s-144 64.5-144 144s64.5 144 144 144zm59.3-180.7L518.6 368l36.7 36.7c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L496 390.6l-36.7 36.7c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6L473.4 368l-36.7-36.7c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L496 345.4l36.7-36.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6z"]
  111063. };
  111064. var faPlug = {
  111065. prefix: 'fas',
  111066. iconName: 'plug',
  111067. icon: [384, 512, [128268], "f1e6", "M96 0C78.3 0 64 14.3 64 32v96h64V32c0-17.7-14.3-32-32-32zM288 0c-17.7 0-32 14.3-32 32v96h64V32c0-17.7-14.3-32-32-32zM32 160c-17.7 0-32 14.3-32 32s14.3 32 32 32v32c0 77.4 55 142 128 156.8V480c0 17.7 14.3 32 32 32s32-14.3 32-32V412.8C297 398 352 333.4 352 256V224c17.7 0 32-14.3 32-32s-14.3-32-32-32H32z"]
  111068. };
  111069. var faChevronUp = {
  111070. prefix: 'fas',
  111071. iconName: 'chevron-up',
  111072. icon: [512, 512, [], "f077", "M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"]
  111073. };
  111074. var faHandSpock = {
  111075. prefix: 'fas',
  111076. iconName: 'hand-spock',
  111077. icon: [576, 512, [128406], "f259", "M246.9 23.7C242.3 6.6 224.8-3.5 207.7 1.1s-27.2 22.1-22.6 39.2L238 237.8c2.5 9.2-4.5 18.2-14 18.2c-6.4 0-12-4.2-13.9-10.3L166.6 102.7c-5.1-16.9-23-26.4-39.9-21.3s-26.4 23-21.3 39.9l62.8 206.4c2.4 7.9-7.2 13.8-13.2 8.1L99.6 283c-16-15.2-41.3-14.6-56.6 1.4s-14.6 41.3 1.4 56.6L156.8 448c43.1 41.1 100.4 64 160 64h10.9 8.2c.1 0 .1-.1 .1-.1s.1-.1 .1-.1c58.3-3.5 108.6-43.2 125.3-99.7l81.2-275c5-16.9-4.7-34.7-21.6-39.8s-34.7 4.7-39.8 21.6L443.5 247.1c-1.6 5.3-6.4 8.9-12 8.9c-7.9 0-13.8-7.3-12.2-15.1l36-170.3c3.7-17.3-7.4-34.3-24.7-37.9s-34.3 7.4-37.9 24.7L355.1 235.1c-2.6 12.2-13.3 20.9-25.8 20.9c-11.9 0-22.4-8-25.4-19.5l-57-212.8z"]
  111078. };
  111079. var faStopwatch = {
  111080. prefix: 'fas',
  111081. iconName: 'stopwatch',
  111082. icon: [448, 512, [9201], "f2f2", "M176 0c-17.7 0-32 14.3-32 32s14.3 32 32 32h16V98.4C92.3 113.8 16 200 16 304c0 114.9 93.1 208 208 208s208-93.1 208-208c0-41.8-12.3-80.7-33.5-113.2l24.1-24.1c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L355.7 143c-28.1-23-62.2-38.8-99.7-44.6V64h16c17.7 0 32-14.3 32-32s-14.3-32-32-32H224 176zm72 192V320c0 13.3-10.7 24-24 24s-24-10.7-24-24V192c0-13.3 10.7-24 24-24s24 10.7 24 24z"]
  111083. };
  111084. var faFaceKiss = {
  111085. prefix: 'fas',
  111086. iconName: 'face-kiss',
  111087. icon: [512, 512, [128535, "kiss"], "f596", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zm48.7-198.3c4.3 5.1 7.3 11.4 7.3 18.3s-3.1 13.2-7.3 18.3c-4.3 5.2-10.1 9.7-16.7 13.4c-2.7 1.5-5.7 3-8.7 4.3c3.1 1.3 6 2.7 8.7 4.3c6.6 3.7 12.5 8.2 16.7 13.4c4.3 5.1 7.3 11.4 7.3 18.3s-3.1 13.2-7.3 18.3c-4.3 5.2-10.1 9.7-16.7 13.4C274.7 443.1 257.4 448 240 448c-3.6 0-6.8-2.5-7.7-6s.6-7.2 3.8-9l0 0 0 0 0 0 0 0 .2-.1c.2-.1 .5-.3 .9-.5c.8-.5 2-1.2 3.4-2.1c2.8-1.9 6.5-4.5 10.2-7.6c3.7-3.1 7.2-6.6 9.6-10.1c2.5-3.5 3.5-6.4 3.5-8.6s-1-5-3.5-8.6c-2.5-3.5-5.9-6.9-9.6-10.1c-3.7-3.1-7.4-5.7-10.2-7.6c-1.4-.9-2.6-1.6-3.4-2.1c-.4-.2-.7-.4-.9-.5l-.2-.1 0 0 0 0 0 0c-2.5-1.4-4.1-4.1-4.1-7s1.6-5.6 4.1-7l0 0 0 0 0 0 0 0 0 0 .2-.1 .3-.2 .6-.4c.8-.5 2-1.2 3.4-2.1c2.8-1.9 6.5-4.5 10.2-7.6c3.7-3.1 7.2-6.6 9.6-10.1c2.5-3.5 3.5-6.4 3.5-8.6s-1-5-3.5-8.6c-2.5-3.5-5.9-6.9-9.6-10.1c-3.7-3.1-7.4-5.7-10.2-7.6c-1.4-.9-2.6-1.6-3.4-2.1l-.4-.3-.5-.3-.2-.1 0 0 0 0 0 0c-3.2-1.8-4.7-5.5-3.8-9s4.1-6 7.7-6c17.4 0 34.7 4.9 47.9 12.3c6.6 3.7 12.5 8.2 16.7 13.4zM208.4 208c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zm128 32c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]
  111088. };
  111089. var faKiss = faFaceKiss;
  111090. var faBridgeCircleXmark = {
  111091. prefix: 'fas',
  111092. iconName: 'bridge-circle-xmark',
  111093. icon: [640, 512, [], "e4cb", "M64 32C46.3 32 32 46.3 32 64s14.3 32 32 32h40v64H32V288c53 0 96 43 96 96v64c0 17.7 14.3 32 32 32h32c17.7 0 32-14.3 32-32V384c0-53 43-96 96-96c6.3 0 12.4 .6 18.3 1.7C367.1 231.8 426.9 192 496 192c42.5 0 81.6 15.1 112 40.2V160H536V96h40c17.7 0 32-14.3 32-32s-14.3-32-32-32H64zM488 96v64H408V96h80zM360 96v64H280V96h80zM232 96v64H152V96h80zM496 512c79.5 0 144-64.5 144-144s-64.5-144-144-144s-144 64.5-144 144s64.5 144 144 144zm59.3-180.7L518.6 368l36.7 36.7c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L496 390.6l-36.7 36.7c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6L473.4 368l-36.7-36.7c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L496 345.4l36.7-36.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6z"]
  111094. };
  111095. var faFaceGrinTongue = {
  111096. prefix: 'fas',
  111097. iconName: 'face-grin-tongue',
  111098. icon: [512, 512, [128539, "grin-tongue"], "f589", "M0 256C0 368.9 73.1 464.7 174.5 498.8C165.3 484 160 466.6 160 448V400.7c-24-17.5-43.1-41.4-54.8-69.2c-5-11.8 7-22.5 19.3-18.7c39.7 12.2 84.5 19 131.8 19s92.1-6.8 131.8-19c12.3-3.8 24.3 6.9 19.3 18.7c-11.8 28-31.1 52-55.4 69.6V448c0 18.6-5.3 36-14.5 50.8C438.9 464.7 512 368.9 512 256C512 114.6 397.4 0 256 0S0 114.6 0 256zm176.4-16c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zm192-32c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zM320 448V402.6c0-14.7-11.9-26.6-26.6-26.6h-2c-11.3 0-21.1 7.9-23.6 18.9c-2.8 12.6-20.8 12.6-23.6 0c-2.5-11.1-12.3-18.9-23.6-18.9h-2c-14.7 0-26.6 11.9-26.6 26.6V448c0 35.3 28.7 64 64 64s64-28.7 64-64z"]
  111099. };
  111100. var faGrinTongue = faFaceGrinTongue;
  111101. var faChessBishop = {
  111102. prefix: 'fas',
  111103. iconName: 'chess-bishop',
  111104. icon: [320, 512, [9821], "f43a", "M128 0C110.3 0 96 14.3 96 32c0 16.1 11.9 29.4 27.4 31.7C78.4 106.8 8 190 8 288c0 47.4 30.8 72.3 56 84.7V416H256V372.7c25.2-12.5 56-37.4 56-84.7c0-37.3-10.2-72.4-25.3-104.1l-99.4 99.4c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6L270.8 154.6c-23.2-38.1-51.8-69.5-74.2-90.9C212.1 61.4 224 48.1 224 32c0-17.7-14.3-32-32-32H128zM32 448c-17.7 0-32 14.3-32 32s14.3 32 32 32H288c17.7 0 32-14.3 32-32s-14.3-32-32-32H32z"]
  111105. };
  111106. var faFaceGrinWink = {
  111107. prefix: 'fas',
  111108. iconName: 'face-grin-wink',
  111109. icon: [512, 512, ["grin-wink"], "f58c", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM388.1 312.8c12.3-3.8 24.3 6.9 19.3 18.7C382.4 390.6 324.2 432 256.3 432s-126.2-41.4-151.1-100.5c-5-11.8 7-22.5 19.3-18.7c39.7 12.2 84.5 19 131.8 19s92.1-6.8 131.8-19zm-16.9-79.2c-17.6-23.5-52.8-23.5-70.4 0c-5.3 7.1-15.3 8.5-22.4 3.2s-8.5-15.3-3.2-22.4c30.4-40.5 91.2-40.5 121.6 0c5.3 7.1 3.9 17.1-3.2 22.4s-17.1 3.9-22.4-3.2zM176.4 240c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]
  111110. };
  111111. var faGrinWink = faFaceGrinWink;
  111112. var faEarDeaf = {
  111113. prefix: 'fas',
  111114. iconName: 'ear-deaf',
  111115. icon: [512, 512, ["deaf", "deafness", "hard-of-hearing"], "f2a4", "M502.6 54.6l-40 40c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l40-40c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3zm-320 320l-128 128c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l128-128c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3zM240 128c-57.6 0-105.1 43.6-111.3 99.5c-1.9 17.6-17.8 30.2-35.3 28.3s-30.2-17.8-28.3-35.3C74.8 132.5 149.4 64 240 64c97.2 0 176 78.8 176 176c0 46-17.7 87.9-46.6 119.3c-12 13-17.4 24.8-17.4 34.7V400c0 61.9-50.1 112-112 112c-17.7 0-32-14.3-32-32s14.3-32 32-32c26.5 0 48-21.5 48-48v-6.1c0-32.9 17.4-59.6 34.4-78c18.4-20 29.6-46.6 29.6-75.9c0-61.9-50.1-112-112-112zm0 80c-17.7 0-32 14.3-32 32c0 13.3-10.7 24-24 24s-24-10.7-24-24c0-44.2 35.8-80 80-80s80 35.8 80 80c0 13.3-10.7 24-24 24s-24-10.7-24-24c0-17.7-14.3-32-32-32z"]
  111116. };
  111117. var faDeaf = faEarDeaf;
  111118. var faDeafness = faEarDeaf;
  111119. var faHardOfHearing = faEarDeaf;
  111120. var faRoadCircleCheck = {
  111121. prefix: 'fas',
  111122. iconName: 'road-circle-check',
  111123. icon: [640, 512, [], "e564", "M213.2 32H288V96c0 17.7 14.3 32 32 32s32-14.3 32-32V32h74.8c27.1 0 51.3 17.1 60.3 42.6l42.7 120.6c-10.9-2.1-22.2-3.2-33.8-3.2c-59.5 0-112.1 29.6-144 74.8V224c0-17.7-14.3-32-32-32s-32 14.3-32 32v64c0 17.7 14.3 32 32 32c2.3 0 4.6-.3 6.8-.7c-4.5 15.5-6.8 31.8-6.8 48.7c0 5.4 .2 10.7 .7 16l-.7 0c-17.7 0-32 14.3-32 32v64H86.6C56.5 480 32 455.5 32 425.4c0-6.2 1.1-12.4 3.1-18.2L152.9 74.6C162 49.1 186.1 32 213.2 32zM640 368c0 79.5-64.5 144-144 144s-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144zm-76.7-43.3c-6.2-6.2-16.4-6.2-22.6 0L480 385.4l-28.7-28.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l40 40c6.2 6.2 16.4 6.2 22.6 0l72-72c6.2-6.2 6.2-16.4 0-22.6z"]
  111124. };
  111125. var faDiceFive = {
  111126. prefix: 'fas',
  111127. iconName: 'dice-five',
  111128. icon: [448, 512, [9860], "f523", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm64 160c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zm32 160c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zm64-64c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zM352 160c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zM320 384c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]
  111129. };
  111130. var faSquareRss = {
  111131. prefix: 'fas',
  111132. iconName: 'square-rss',
  111133. icon: [448, 512, ["rss-square"], "f143", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM96 136c0-13.3 10.7-24 24-24c137 0 248 111 248 248c0 13.3-10.7 24-24 24s-24-10.7-24-24c0-110.5-89.5-200-200-200c-13.3 0-24-10.7-24-24zm0 96c0-13.3 10.7-24 24-24c83.9 0 152 68.1 152 152c0 13.3-10.7 24-24 24s-24-10.7-24-24c0-57.4-46.6-104-104-104c-13.3 0-24-10.7-24-24zm64 120c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32z"]
  111134. };
  111135. var faRssSquare = faSquareRss;
  111136. var faLandMineOn = {
  111137. prefix: 'fas',
  111138. iconName: 'land-mine-on',
  111139. icon: [640, 512, [], "e51b", "M344 24V168c0 13.3-10.7 24-24 24s-24-10.7-24-24V24c0-13.3 10.7-24 24-24s24 10.7 24 24zM192 320c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32v32H192V320zm-77.3 90.5c8.1-16.3 24.8-26.5 42.9-26.5H482.3c18.2 0 34.8 10.3 42.9 26.5l27.6 55.2C563.5 487 548 512 524.2 512H115.8c-23.8 0-39.3-25-28.6-46.3l27.6-55.2zM36.3 138.3c7.5-10.9 22.5-13.6 33.4-6.1l104 72c10.9 7.5 13.6 22.5 6.1 33.4s-22.5 13.6-33.4 6.1l-104-72c-10.9-7.5-13.6-22.5-6.1-33.4zm534.1-6.1c10.9-7.5 25.8-4.8 33.4 6.1s4.8 25.8-6.1 33.4l-104 72c-10.9 7.5-25.8 4.8-33.4-6.1s-4.8-25.8 6.1-33.4l104-72z"]
  111140. };
  111141. var faICursor = {
  111142. prefix: 'fas',
  111143. iconName: 'i-cursor',
  111144. icon: [256, 512, [], "f246", "M.1 29.3C-1.4 47 11.7 62.4 29.3 63.9l8 .7C70.5 67.3 96 95 96 128.3V224H64c-17.7 0-32 14.3-32 32s14.3 32 32 32H96v95.7c0 33.3-25.5 61-58.7 63.8l-8 .7C11.7 449.6-1.4 465 .1 482.7s16.9 30.7 34.5 29.2l8-.7c34.1-2.8 64.2-18.9 85.4-42.9c21.2 24 51.2 40.1 85.4 42.9l8 .7c17.6 1.5 33.1-11.6 34.5-29.2s-11.6-33.1-29.2-34.5l-8-.7C185.5 444.7 160 417 160 383.7V288h32c17.7 0 32-14.3 32-32s-14.3-32-32-32H160V128.3c0-33.3 25.5-61 58.7-63.8l8-.7c17.6-1.5 30.7-16.9 29.2-34.5S239-1.4 221.3 .1l-8 .7C179.2 3.6 149.2 19.7 128 43.7c-21.2-24-51.2-40-85.4-42.9l-8-.7C17-1.4 1.6 11.7 .1 29.3z"]
  111145. };
  111146. var faStamp = {
  111147. prefix: 'fas',
  111148. iconName: 'stamp',
  111149. icon: [512, 512, [], "f5bf", "M312 201.8c0-17.4 9.2-33.2 19.9-47C344.5 138.5 352 118.1 352 96c0-53-43-96-96-96s-96 43-96 96c0 22.1 7.5 42.5 20.1 58.8c10.7 13.8 19.9 29.6 19.9 47c0 29.9-24.3 54.2-54.2 54.2H112C50.1 256 0 306.1 0 368c0 20.9 13.4 38.7 32 45.3V464c0 26.5 21.5 48 48 48H432c26.5 0 48-21.5 48-48V413.3c18.6-6.6 32-24.4 32-45.3c0-61.9-50.1-112-112-112H366.2c-29.9 0-54.2-24.3-54.2-54.2zM416 416v32H96V416H416z"]
  111150. };
  111151. var faStairs = {
  111152. prefix: 'fas',
  111153. iconName: 'stairs',
  111154. icon: [576, 512, [], "e289", "M384 64c0-17.7 14.3-32 32-32H544c17.7 0 32 14.3 32 32s-14.3 32-32 32H448v96c0 17.7-14.3 32-32 32H320v96c0 17.7-14.3 32-32 32H192v96c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32h96V320c0-17.7 14.3-32 32-32h96V192c0-17.7 14.3-32 32-32h96V64z"]
  111155. };
  111156. var faI = {
  111157. prefix: 'fas',
  111158. iconName: 'i',
  111159. icon: [320, 512, [105], "49", "M32 32C14.3 32 0 46.3 0 64S14.3 96 32 96h96V416H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H288c17.7 0 32-14.3 32-32s-14.3-32-32-32H192V96h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H160 32z"]
  111160. };
  111161. var faHryvniaSign = {
  111162. prefix: 'fas',
  111163. iconName: 'hryvnia-sign',
  111164. icon: [384, 512, [8372, "hryvnia"], "f6f2", "M121.9 116.2C138.3 103.1 158.7 96 179.6 96H223c27.1 0 49 21.9 49 49c0 11.5-4 22.4-11.1 31H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H155.5l-50.6 28.9c-1.7 1-3.4 2-5.1 3.1H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H52.3c-2.8 9.9-4.3 20.4-4.3 31c0 62.4 50.6 113 113 113h43.4c35.5 0 70-12.1 97.7-34.3L308 441c13.8-11 16-31.2 5-45s-31.2-16-45-5l-5.9 4.7c-16.4 13.1-36.7 20.2-57.7 20.2H161c-27.1 0-49-21.9-49-49c0-11.5 4-22.4 11.1-31H352c17.7 0 32-14.3 32-32s-14.3-32-32-32H228.5l50.6-28.9c1.7-1 3.4-2 5.1-3.1H352c17.7 0 32-14.3 32-32s-14.3-32-32-32H331.7c2.8-10 4.3-20.4 4.3-31c0-62.4-50.6-113-113-113H179.6c-35.5 0-70 12.1-97.7 34.3L76 71c-13.8 11-16 31.2-5 45s31.2 16 45 5l5.9-4.7z"]
  111165. };
  111166. var faHryvnia = faHryvniaSign;
  111167. var faPills = {
  111168. prefix: 'fas',
  111169. iconName: 'pills',
  111170. icon: [576, 512, [], "f484", "M112 96c-26.5 0-48 21.5-48 48V256h96V144c0-26.5-21.5-48-48-48zM0 144C0 82.1 50.1 32 112 32s112 50.1 112 112V368c0 61.9-50.1 112-112 112S0 429.9 0 368V144zM554.9 399.4c-7.1 12.3-23.7 13.1-33.8 3.1L333.5 214.9c-10-10-9.3-26.7 3.1-33.8C360 167.7 387.1 160 416 160c88.4 0 160 71.6 160 160c0 28.9-7.7 56-21.1 79.4zm-59.5 59.5C472 472.3 444.9 480 416 480c-88.4 0-160-71.6-160-160c0-28.9 7.7-56 21.1-79.4c7.1-12.3 23.7-13.1 33.8-3.1L498.5 425.1c10 10 9.3 26.7-3.1 33.8z"]
  111171. };
  111172. var faFaceGrinWide = {
  111173. prefix: 'fas',
  111174. iconName: 'face-grin-wide',
  111175. icon: [512, 512, [128515, "grin-alt"], "f581", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM383.8 317.8c12.3-3.7 24.3 7 19.2 18.7c-24.5 56.9-81.1 96.7-147 96.7s-122.5-39.8-147-96.7c-5.1-11.8 6.9-22.4 19.2-18.7C166.7 329.4 210.1 336 256 336s89.3-6.6 127.8-18.2zM208 192c0 35.3-14.3 64-32 64s-32-28.7-32-64s14.3-64 32-64s32 28.7 32 64zm128 64c-17.7 0-32-28.7-32-64s14.3-64 32-64s32 28.7 32 64s-14.3 64-32 64z"]
  111176. };
  111177. var faGrinAlt = faFaceGrinWide;
  111178. var faTooth = {
  111179. prefix: 'fas',
  111180. iconName: 'tooth',
  111181. icon: [384, 512, [129463], "f5c9", "M154.1 52.1C137.3 39.1 116.7 32 95.5 32C42.7 32 0 74.7 0 127.5v6.2c0 15.8 3.7 31.3 10.7 45.5l23.5 47.1c4.5 8.9 7.6 18.4 9.4 28.2L80.4 460.2c2 11.2 11.6 19.4 22.9 19.8s21.4-7.4 24-18.4l28.9-121.3C160.2 323.7 175 312 192 312s31.8 11.7 35.8 28.3l28.9 121.3c2.6 11.1 12.7 18.8 24 18.4s20.9-8.6 22.9-19.8l36.7-205.8c1.8-9.8 4.9-19.3 9.4-28.2l23.5-47.1c7.1-14.1 10.7-29.7 10.7-45.5v-2.1c0-55-44.6-99.6-99.6-99.6c-24.1 0-47.4 8.8-65.6 24.6l-3.2 2.8 19.5 15.2c7 5.4 8.2 15.5 2.8 22.5s-15.5 8.2-22.5 2.8l-24.4-19-37-28.8z"]
  111182. };
  111183. var faV = {
  111184. prefix: 'fas',
  111185. iconName: 'v',
  111186. icon: [448, 512, [118], "56", "M51.7 34.5c16.3-6.8 35 .9 41.8 17.2L224 364.8 354.5 51.7c6.8-16.3 25.5-24 41.8-17.2s24 25.5 17.2 41.8l-160 384c-5 11.9-16.6 19.7-29.5 19.7s-24.6-7.8-29.5-19.7l-160-384c-6.8-16.3 .9-35 17.2-41.8z"]
  111187. };
  111188. var faBicycle = {
  111189. prefix: 'fas',
  111190. iconName: 'bicycle',
  111191. icon: [640, 512, [128690], "f206", "M312 32c-13.3 0-24 10.7-24 24s10.7 24 24 24h25.7l34.6 64H222.9l-27.4-38C191 99.7 183.7 96 176 96H120c-13.3 0-24 10.7-24 24s10.7 24 24 24h43.7l22.1 30.7-26.6 53.1c-10-2.5-20.5-3.8-31.2-3.8C57.3 224 0 281.3 0 352s57.3 128 128 128c65.3 0 119.1-48.9 127-112h49c8.5 0 16.3-4.5 20.7-11.8l84.8-143.5 21.7 40.1C402.4 276.3 384 312 384 352c0 70.7 57.3 128 128 128s128-57.3 128-128s-57.3-128-128-128c-13.5 0-26.5 2.1-38.7 6L375.4 48.8C369.8 38.4 359 32 347.2 32H312zM458.6 303.7l32.3 59.7c6.3 11.7 20.9 16 32.5 9.7s16-20.9 9.7-32.5l-32.3-59.7c3.6-.6 7.4-.9 11.2-.9c39.8 0 72 32.2 72 72s-32.2 72-72 72s-72-32.2-72-72c0-18.6 7-35.5 18.6-48.3zM133.2 368h65c-7.3 32.1-36 56-70.2 56c-39.8 0-72-32.2-72-72s32.2-72 72-72c1.7 0 3.4 .1 5.1 .2l-24.2 48.5c-9 18.1 4.1 39.4 24.3 39.4zm33.7-48l50.7-101.3 72.9 101.2-.1 .1H166.8zm90.6-128H365.9L317 274.8 257.4 192z"]
  111192. };
  111193. var faStaffSnake = {
  111194. prefix: 'fas',
  111195. iconName: 'staff-snake',
  111196. icon: [384, 512, ["rod-asclepius", "rod-snake", "staff-aesculapius"], "e579", "M222.6 43.2l-.2 4.8H288c53 0 96 43 96 96s-43 96-96 96H248V160h40c8.8 0 16-7.2 16-16s-7.2-16-16-16H248 220l-4.5 144H256c53 0 96 43 96 96s-43 96-96 96H240V384h16c8.8 0 16-7.2 16-16s-7.2-16-16-16H213l-3.1 99.5L208.5 495l0 1c-.3 8.9-7.6 16-16.5 16s-16.2-7.1-16.5-16l0-1-1-31H136c-22.1 0-40-17.9-40-40s17.9-40 40-40h36l-1-32H152c-53 0-96-43-96-96c0-47.6 34.6-87.1 80-94.7V256c0 8.8 7.2 16 16 16h16.5L164 128H136 122.6c-9 18.9-28.3 32-50.6 32H56c-30.9 0-56-25.1-56-56S25.1 48 56 48h8 8 89.5l-.1-4.8L161 32c0-.7 0-1.3 0-1.9c.5-16.6 14.1-30 31-30s30.5 13.4 31 30c0 .6 0 1.3 0 1.9l-.4 11.2zM64 112c8.8 0 16-7.2 16-16s-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16z"]
  111197. };
  111198. var faRodAsclepius = faStaffSnake;
  111199. var faRodSnake = faStaffSnake;
  111200. var faStaffAesculapius = faStaffSnake;
  111201. var faHeadSideCoughSlash = {
  111202. prefix: 'fas',
  111203. iconName: 'head-side-cough-slash',
  111204. icon: [640, 512, [], "e062", "M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L440.3 319.8c22.3-2.1 39.7-20.8 39.7-43.7c0-10-3.4-19.6-9.6-27.4l-42-52.6c-8.3-10.3-12.8-23-15-36.1C398.2 69.3 319.2 0 224 0H201.7C157 0 115.7 14.5 82.2 39.2L38.8 5.1zM0 201.7c0 44.8 18.3 91.5 46.5 127.7C56.9 342.8 64 358.8 64 375.8V480c0 17.7 14.3 32 32 32H256c17.7 0 32-14.3 32-32h64c32.8 0 59.9-24.7 63.6-56.6l-9.4-7.4H352c-17.7 0-32-14.3-32-32c0-10.5 5.1-19.9 12.9-25.7L20.8 112.4C7.5 139.3 0 169.6 0 201.7zM632 288c0-13.3-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24s24-10.7 24-24zm-88 72c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24zm64 48c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24z"]
  111205. };
  111206. var faTruckMedical = {
  111207. prefix: 'fas',
  111208. iconName: 'truck-medical',
  111209. icon: [640, 512, [128657, "ambulance"], "f0f9", "M48 0C21.5 0 0 21.5 0 48V368c0 26.5 21.5 48 48 48H64c0 53 43 96 96 96s96-43 96-96H384c0 53 43 96 96 96s96-43 96-96h32c17.7 0 32-14.3 32-32s-14.3-32-32-32V288 256 237.3c0-17-6.7-33.3-18.7-45.3L512 114.7c-12-12-28.3-18.7-45.3-18.7H416V48c0-26.5-21.5-48-48-48H48zM416 160h50.7L544 237.3V256H416V160zM208 416c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zm272 48c-26.5 0-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48zM112 144c0-8.8 7.2-16 16-16h48V80c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16v48h48c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H240v48c0 8.8-7.2 16-16 16H192c-8.8 0-16-7.2-16-16V192H128c-8.8 0-16-7.2-16-16V144z"]
  111210. };
  111211. var faAmbulance = faTruckMedical;
  111212. var faWheatAwnCircleExclamation = {
  111213. prefix: 'fas',
  111214. iconName: 'wheat-awn-circle-exclamation',
  111215. icon: [640, 512, [], "e598", "M505 41c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0L383 95c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l88-88zM305.5 27.3c-6.2-6.2-16.4-6.2-22.6 0L271.5 38.6c-37.5 37.5-37.5 98.3 0 135.8l10.4 10.4-30.5 30.5c-3.4-27.3-15.5-53.8-36.5-74.8l-11.3-11.3c-6.2-6.2-16.4-6.2-22.6 0l-11.3 11.3c-37.5 37.5-37.5 98.3 0 135.8l10.4 10.4-30.5 30.5c-3.4-27.3-15.5-53.8-36.5-74.8L101.8 231c-6.2-6.2-16.4-6.2-22.6 0L67.9 242.3c-37.5 37.5-37.5 98.3 0 135.8l10.4 10.4L9.4 457.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l68.9-68.9 12.2 12.2c37.5 37.5 98.3 37.5 135.8 0l11.3-11.3c6.2-6.2 6.2-16.4 0-22.6l-11.3-11.3c-21.8-21.8-49.6-34.1-78.1-36.9l31.9-31.9 12.2 12.2c22.5 22.5 53.3 31.5 82.4 27c0-1 0-2.1 0-3.1c0-33.1 9.1-64.1 25-90.6c-15.5-8.7-32.5-13.8-49.8-15.5l31.9-31.9 12.2 12.2c6 6 12.6 11.1 19.7 15.2c27.5-34 67.3-57.5 112.6-63.8c-4.1-3.8-8.4-7.3-12.9-10.5L505 137c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-59.4 59.4c-20.6-4.4-42-3.7-62.3 2.1c6.1-21.3 6.6-43.8 1.4-65.3L409 41c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0L329.1 52.9c-3.7-5-7.8-9.8-12.4-14.3L305.5 27.3zM496 512c79.5 0 144-64.5 144-144s-64.5-144-144-144s-144 64.5-144 144s64.5 144 144 144zm0-48c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm0-192c8.8 0 16 7.2 16 16v80c0 8.8-7.2 16-16 16s-16-7.2-16-16V288c0-8.8 7.2-16 16-16z"]
  111216. };
  111217. var faSnowman = {
  111218. prefix: 'fas',
  111219. iconName: 'snowman',
  111220. icon: [576, 512, [9731, 9924], "f7d0", "M373.1 140.6c-2 3.9-1.6 8.6 1.2 12c7 8.5 12.9 18.1 17.2 28.4L440 160.2V120c0-13.3 10.7-24 24-24s24 10.7 24 24v19.6l22.5-9.7c12.2-5.2 26.3 .4 31.5 12.6s-.4 26.3-12.6 31.5l-56 24-73.6 31.5c-.5 9.5-2.1 18.6-4.8 27.3c-1.2 3.8-.1 8 2.8 10.8C428.7 296.9 448 338.2 448 384c0 44.7-18.3 85-47.8 114.1c-9.9 9.7-23.7 13.9-37.5 13.9H213.3c-13.9 0-27.7-4.2-37.5-13.9C146.3 469 128 428.7 128 384c0-45.8 19.3-87.1 50.1-116.3c2.9-2.8 4-6.9 2.8-10.8c-2.7-8.7-4.3-17.9-4.8-27.3l-73.6-31.5-56-24c-12.2-5.2-17.8-19.3-12.6-31.5s19.3-17.8 31.5-12.6L88 139.6V120c0-13.3 10.7-24 24-24s24 10.7 24 24v40.2L184.6 181c4.3-10.3 10.1-19.9 17.2-28.4c2.8-3.4 3.3-8.1 1.2-12C196 127.2 192 112.1 192 96c0-53 43-96 96-96s96 43 96 96c0 16.1-4 31.2-10.9 44.6zM256 96c8.8 0 16-7.2 16-16s-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16zm48 128c0-8.8-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16s16-7.2 16-16zm-16 80c8.8 0 16-7.2 16-16s-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16zm16 48c0-8.8-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16s16-7.2 16-16zM320 96c8.8 0 16-7.2 16-16s-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16zm-48 24v3.2c0 3.2 .8 6.3 2.3 9l9 16.9c.9 1.7 2.7 2.8 4.7 2.8s3.8-1.1 4.7-2.8l9-16.9c1.5-2.8 2.3-5.9 2.3-9V120c0-8.8-7.2-16-16-16s-16 7.2-16 16z"]
  111221. };
  111222. var faMortarPestle = {
  111223. prefix: 'fas',
  111224. iconName: 'mortar-pestle',
  111225. icon: [512, 512, [], "f5a7", "M504.3 11.1C493.3-1.6 474.5-3.7 461 6.2L252.3 160H397.3L502.6 54.6c11.8-11.8 12.6-30.8 1.6-43.5zM32 192c-17.7 0-32 14.3-32 32s14.3 32 32 32c0 82.5 43.4 147.7 123.9 176.2c-11.1 13.9-19.4 30.3-23.9 48.1C127.6 497.4 142.3 512 160 512H352c17.7 0 32.4-14.6 28.1-31.7c-4.5-17.8-12.8-34.1-23.9-48.1C436.6 403.7 480 338.5 480 256c17.7 0 32-14.3 32-32s-14.3-32-32-32H32z"]
  111226. };
  111227. var faRoadBarrier = {
  111228. prefix: 'fas',
  111229. iconName: 'road-barrier',
  111230. icon: [640, 512, [], "e562", "M32 32C14.3 32 0 46.3 0 64V448c0 17.7 14.3 32 32 32s32-14.3 32-32V266.3L149.2 96H64V64c0-17.7-14.3-32-32-32zM405.2 96H330.8l-5.4 10.7L234.8 288h74.3l5.4-10.7L405.2 96zM362.8 288h74.3l5.4-10.7L533.2 96H458.8l-5.4 10.7L362.8 288zM202.8 96l-5.4 10.7L106.8 288h74.3l5.4-10.7L277.2 96H202.8zm288 192H576V448c0 17.7 14.3 32 32 32s32-14.3 32-32V64c0-17.7-14.3-32-32-32s-32 14.3-32 32v53.7L490.8 288z"]
  111231. };
  111232. var faSchool = {
  111233. prefix: 'fas',
  111234. iconName: 'school',
  111235. icon: [640, 512, [127979], "f549", "M337.8 5.4C327-1.8 313-1.8 302.2 5.4l-139 92.7L37.6 126C15.6 130.9 0 150.3 0 172.8V464c0 26.5 21.5 48 48 48H592c26.5 0 48-21.5 48-48V172.8c0-22.5-15.6-42-37.6-46.9L476.8 98.1 337.8 5.4zM256 416c0-35.3 28.7-64 64-64s64 28.7 64 64v96H256V416zM96 192h32c8.8 0 16 7.2 16 16v64c0 8.8-7.2 16-16 16H96c-8.8 0-16-7.2-16-16V208c0-8.8 7.2-16 16-16zm400 16c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v64c0 8.8-7.2 16-16 16H512c-8.8 0-16-7.2-16-16V208zM96 320h32c8.8 0 16 7.2 16 16v64c0 8.8-7.2 16-16 16H96c-8.8 0-16-7.2-16-16V336c0-8.8 7.2-16 16-16zm400 16c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v64c0 8.8-7.2 16-16 16H512c-8.8 0-16-7.2-16-16V336zM408 176c0 48.6-39.4 88-88 88s-88-39.4-88-88s39.4-88 88-88s88 39.4 88 88zm-88-48c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16s-7.2-16-16-16H336V144c0-8.8-7.2-16-16-16z"]
  111236. };
  111237. var faIgloo = {
  111238. prefix: 'fas',
  111239. iconName: 'igloo',
  111240. icon: [576, 512, [], "f7ae", "M320 33.8V160H48.5C100.2 82.8 188.1 32 288 32c10.8 0 21.5 .6 32 1.8zM352 160V39.1C424.9 55.7 487.2 99.8 527.5 160H352zM29.9 192H96V320H0c0-46 10.8-89.4 29.9-128zM192 320H128V192H448V320H384v32H576v80c0 26.5-21.5 48-48 48H352V352c0-35.3-28.7-64-64-64s-64 28.7-64 64V480H48c-26.5 0-48-21.5-48-48V352H192V320zm288 0V192h66.1c19.2 38.6 29.9 82 29.9 128H480z"]
  111241. };
  111242. var faJoint = {
  111243. prefix: 'fas',
  111244. iconName: 'joint',
  111245. icon: [640, 512, [], "f595", "M448 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V43c0 55.2 21.9 108.1 60.9 147.1l21 21c9 9 14.1 21.2 14.1 33.9v11c0 17.7 14.3 32 32 32s32-14.3 32-32V245c0-29.7-11.8-58.2-32.8-79.2l-21-21C463.2 117.8 448 81.2 448 43V32zM576 256c0 17.7 14.3 32 32 32s32-14.3 32-32V245c0-55.2-21.9-108.1-60.9-147.1l-21-21c-9-9-14.1-21.2-14.1-33.9V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V43c0 29.7 11.8 58.2 32.8 79.2l21 21c27 27 42.2 63.6 42.2 101.8v11zM229.8 360c-4.7-2.3-10-2.7-15.2-2c-37.8 5.6-75.2 14.3-106.9 22.8C81.3 388 58.3 395.1 42 400.4c-8.2 2.7-14.7 4.9-19.2 6.5c-2.3 .8-4 1.4-5.2 1.8l-1.3 .5C6.8 412.5 0 421.4 0 432s6.8 19.5 16.3 22.7l1.3 .5c1.2 .4 3 1.1 5.2 1.8c4.5 1.6 11 3.8 19.2 6.5c16.3 5.4 39.2 12.5 65.7 19.6C160.3 497.3 228.8 512 288 512h67.3c4.1 0 6.3-5.1 3.6-8.3L256.5 380.8c-7.4-8.9-16.5-15.9-26.7-20.8zM445 512h19 51.3c4.1 0 6.3-5.1 3.6-8.3L416.5 380.8C401.3 362.5 378.8 352 355 352H336 288c-1.1 0-2.3 0-3.4 0c-4.1 0-6.2 5.1-3.5 8.3L383.5 483.2C398.7 501.5 421.2 512 445 512zm-3.9-151.7L543.5 483.2c14.6 17.5 35.9 27.9 58.6 28.7c21.1-1.1 37.9-18.6 37.9-39.9V392c0-22.1-17.9-40-40-40H444.7c-4.1 0-6.3 5.1-3.6 8.3z"]
  111246. };
  111247. var faAngleRight = {
  111248. prefix: 'fas',
  111249. iconName: 'angle-right',
  111250. icon: [320, 512, [8250], "f105", "M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"]
  111251. };
  111252. var faHorse = {
  111253. prefix: 'fas',
  111254. iconName: 'horse',
  111255. icon: [576, 512, [128014], "f6f0", "M448 238.1V160h16l9.8 19.6c12.5 25.1 42.2 36.4 68.3 26c20.5-8.2 33.9-28 33.9-50.1V80c0-19.1-8.4-36.3-21.7-48H560c8.8 0 16-7.2 16-16s-7.2-16-16-16H480 448C377.3 0 320 57.3 320 128H224 203.2 148.8c-30.7 0-57.6 16.3-72.5 40.8C33.2 174.5 0 211.4 0 256v56c0 13.3 10.7 24 24 24s24-10.7 24-24V256c0-13.4 6.6-25.2 16.7-32.5c1.6 13 6.3 25.4 13.6 36.4l28.2 42.4c8.3 12.4 6.4 28.7-1.2 41.6c-16.5 28-20.6 62.2-10 93.9l17.5 52.4c4.4 13.1 16.6 21.9 30.4 21.9h33.7c21.8 0 37.3-21.4 30.4-42.1l-20.8-62.5c-2.1-6.4-.5-13.4 4.3-18.2l12.7-12.7c13.2-13.2 20.6-31.1 20.6-49.7c0-2.3-.1-4.6-.3-6.9l84 24c4.1 1.2 8.2 2.1 12.3 2.8V480c0 17.7 14.3 32 32 32h32c17.7 0 32-14.3 32-32V315.7c19.2-19.2 31.5-45.7 32-75.7h0v-1.9zM496 96c-8.8 0-16-7.2-16-16s7.2-16 16-16s16 7.2 16 16s-7.2 16-16 16z"]
  111256. };
  111257. var faQ = {
  111258. prefix: 'fas',
  111259. iconName: 'q',
  111260. icon: [512, 512, [113], "51", "M96 256c0 88.4 71.6 160 160 160c28.9 0 56-7.7 79.4-21.1l-72-86.4c-11.3-13.6-9.5-33.8 4.1-45.1s33.8-9.5 45.1 4.1l70.9 85.1C403.9 325.8 416 292.3 416 256c0-88.4-71.6-160-160-160S96 167.6 96 256zM376.9 444.6C342 467 300.5 480 256 480C132.3 480 32 379.7 32 256S132.3 32 256 32s224 100.3 224 224c0 56.1-20.6 107.4-54.7 146.7l47.3 56.8c11.3 13.6 9.5 33.8-4.1 45.1s-33.8 9.5-45.1-4.1l-46.6-55.9z"]
  111261. };
  111262. var faG = {
  111263. prefix: 'fas',
  111264. iconName: 'g',
  111265. icon: [448, 512, [103], "47", "M224 96C135.6 96 64 167.6 64 256s71.6 160 160 160c77.4 0 142-55 156.8-128H256c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32c0 123.7-100.3 224-224 224S0 379.7 0 256S100.3 32 224 32c57.4 0 109.7 21.6 149.3 57c13.2 11.8 14.3 32 2.5 45.2s-32 14.3-45.2 2.5C302.3 111.4 265 96 224 96z"]
  111266. };
  111267. var faNotesMedical = {
  111268. prefix: 'fas',
  111269. iconName: 'notes-medical',
  111270. icon: [512, 512, [], "f481", "M96 352V96c0-35.3 28.7-64 64-64H416c35.3 0 64 28.7 64 64V293.5c0 17-6.7 33.3-18.7 45.3l-58.5 58.5c-12 12-28.3 18.7-45.3 18.7H160c-35.3 0-64-28.7-64-64zM272 128c-8.8 0-16 7.2-16 16v48H208c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h48v48c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V256h48c8.8 0 16-7.2 16-16V208c0-8.8-7.2-16-16-16H320V144c0-8.8-7.2-16-16-16H272zm24 336c13.3 0 24 10.7 24 24s-10.7 24-24 24H136C60.9 512 0 451.1 0 376V152c0-13.3 10.7-24 24-24s24 10.7 24 24l0 224c0 48.6 39.4 88 88 88H296z"]
  111271. };
  111272. var faTemperatureHalf = {
  111273. prefix: 'fas',
  111274. iconName: 'temperature-half',
  111275. icon: [320, 512, [127777, "temperature-2", "thermometer-2", "thermometer-half"], "f2c9", "M160 64c-26.5 0-48 21.5-48 48V276.5c0 17.3-7.1 31.9-15.3 42.5C86.2 332.6 80 349.5 80 368c0 44.2 35.8 80 80 80s80-35.8 80-80c0-18.5-6.2-35.4-16.7-48.9c-8.2-10.6-15.3-25.2-15.3-42.5V112c0-26.5-21.5-48-48-48zM48 112C48 50.2 98.1 0 160 0s112 50.1 112 112V276.5c0 .1 .1 .3 .2 .6c.2 .6 .8 1.6 1.7 2.8c18.9 24.4 30.1 55 30.1 88.1c0 79.5-64.5 144-144 144S16 447.5 16 368c0-33.2 11.2-63.8 30.1-88.1c.9-1.2 1.5-2.2 1.7-2.8c.1-.3 .2-.5 .2-.6V112zM208 368c0 26.5-21.5 48-48 48s-48-21.5-48-48c0-20.9 13.4-38.7 32-45.3V200c0-8.8 7.2-16 16-16s16 7.2 16 16V322.7c18.6 6.6 32 24.4 32 45.3z"]
  111276. };
  111277. var faTemperature2 = faTemperatureHalf;
  111278. var faThermometer2 = faTemperatureHalf;
  111279. var faThermometerHalf = faTemperatureHalf;
  111280. var faDongSign = {
  111281. prefix: 'fas',
  111282. iconName: 'dong-sign',
  111283. icon: [384, 512, [], "e169", "M288 32c-17.7 0-32 14.3-32 32l-32 0c-17.7 0-32 14.3-32 32s14.3 32 32 32h32v49.1c-18.8-10.9-40.7-17.1-64-17.1c-70.7 0-128 57.3-128 128s57.3 128 128 128c24.5 0 47.4-6.9 66.8-18.8c5 11.1 16.2 18.8 29.2 18.8c17.7 0 32-14.3 32-32V288 128c17.7 0 32-14.3 32-32s-14.3-32-32-32c0-17.7-14.3-32-32-32zM256 288c0 35.3-28.7 64-64 64s-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64zM32 448c-17.7 0-32 14.3-32 32s14.3 32 32 32H352c17.7 0 32-14.3 32-32s-14.3-32-32-32H32z"]
  111284. };
  111285. var faCapsules = {
  111286. prefix: 'fas',
  111287. iconName: 'capsules',
  111288. icon: [576, 512, [], "f46b", "M64 144c0-26.5 21.5-48 48-48s48 21.5 48 48V256H64V144zM0 144V368c0 61.9 50.1 112 112 112s112-50.1 112-112V189.6c1.8 19.1 8.2 38 19.8 54.8L372.3 431.7c35.5 51.7 105.3 64.3 156 28.1s63-107.5 27.5-159.2L427.3 113.3C391.8 61.5 321.9 49 271.3 85.2c-28 20-44.3 50.8-47.3 83V144c0-61.9-50.1-112-112-112S0 82.1 0 144zm296.6 64.2c-16-23.3-10-55.3 11.9-71c21.2-15.1 50.5-10.3 66 12.2l67 97.6L361.6 303l-65-94.8zM491 407.7c-.8 .6-1.6 1.1-2.4 1.6l4-2.8c-.5 .4-1 .8-1.6 1.2z"]
  111289. };
  111290. var faPooStorm = {
  111291. prefix: 'fas',
  111292. iconName: 'poo-storm',
  111293. icon: [448, 512, ["poo-bolt"], "f75a", "M236.9 .2c-5.5-.7-11 1.4-14.5 5.7s-4.6 10.1-2.8 15.3c2.8 8.2 4.3 16.9 4.3 26.1c0 44.3-35.8 80.1-80 80.1c-1.4 0-2.8 .2-4 .5H128c-35.3 0-64 28.7-64 64c0 12.4 3.5 24 9.7 33.8C31.6 234.3 0 271.5 0 316c0 49.1 38.5 89.2 86.9 91.9c-1.8-2.9-3.4-6.1-4.5-9.4c-6-17.5-.5-36.9 13.6-48.5L238.2 233.6c15.6-12.8 37.9-12.7 53.5 .1s20.3 35.1 11.3 53.4l-26 53.2h16.3c18.1 0 34.3 11.7 40.3 29.2c4.5 13.1 2.6 27.3-4.6 38.4h27c50.8 0 92-41.2 92-92c0-44.5-31.6-81.7-73.7-90.2c6.1-9.8 9.7-21.4 9.7-33.8c0-35.3-28.7-64-64-64h-5.7c3.7-10.2 5.7-21.1 5.7-32.6c0-48.7-36.1-88.9-83.1-95.2zm34.2 259.2c-6-4.6-14.3-4.4-20.1 .4l-133.4 112c-5.2 4.3-7 11.4-4.7 17.7s8.3 10.5 15 10.5h54.7l-42.5 89.1c-3.2 6.8-1.3 14.9 4.7 19.5s14.3 4.4 20.1-.4l133.4-112c5.1-4.3 7-11.4 4.7-17.7s-8.3-10.5-15-10.5H233.3l42.5-89.1c3.2-6.8 1.3-14.9-4.7-19.5z"]
  111294. };
  111295. var faPooBolt = faPooStorm;
  111296. var faFaceFrownOpen = {
  111297. prefix: 'fas',
  111298. iconName: 'face-frown-open',
  111299. icon: [512, 512, [128550, "frown-open"], "f57a", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM176.4 240c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zm192-32c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zm-186 174.5c-12.4 5.2-26.5-4.1-21.1-16.4c16-36.6 52.4-62.1 94.8-62.1s78.8 25.6 94.8 62.1c5.4 12.3-8.7 21.6-21.1 16.4c-22.4-9.5-47.4-14.8-73.7-14.8s-51.3 5.3-73.7 14.8z"]
  111300. };
  111301. var faFrownOpen = faFaceFrownOpen;
  111302. var faHandPointUp = {
  111303. prefix: 'fas',
  111304. iconName: 'hand-point-up',
  111305. icon: [384, 512, [9757], "f0a6", "M32 32C32 14.3 46.3 0 64 0S96 14.3 96 32V240H32V32zM224 192c0-17.7 14.3-32 32-32s32 14.3 32 32v64c0 17.7-14.3 32-32 32s-32-14.3-32-32V192zm-64-64c17.7 0 32 14.3 32 32v48c0 17.7-14.3 32-32 32s-32-14.3-32-32V160c0-17.7 14.3-32 32-32zm160 96c0-17.7 14.3-32 32-32s32 14.3 32 32v64c0 17.7-14.3 32-32 32s-32-14.3-32-32V224zm-96 88l0-.6c9.4 5.4 20.3 8.6 32 8.6c13.2 0 25.4-4 35.6-10.8c8.7 24.9 32.5 42.8 60.4 42.8c11.7 0 22.6-3.1 32-8.6V352c0 88.4-71.6 160-160 160H162.3c-42.4 0-83.1-16.9-113.1-46.9L37.5 453.5C13.5 429.5 0 396.9 0 363V336c0-35.3 28.7-64 64-64h88c22.1 0 40 17.9 40 40s-17.9 40-40 40H96c-8.8 0-16 7.2-16 16s7.2 16 16 16h56c39.8 0 72-32.2 72-72z"]
  111306. };
  111307. var faMoneyBill = {
  111308. prefix: 'fas',
  111309. iconName: 'money-bill',
  111310. icon: [576, 512, [], "f0d6", "M64 64C28.7 64 0 92.7 0 128V384c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64H64zm64 320H64V320c35.3 0 64 28.7 64 64zM64 192V128h64c0 35.3-28.7 64-64 64zM448 384c0-35.3 28.7-64 64-64v64H448zm64-192c-35.3 0-64-28.7-64-64h64v64zM288 352c-53 0-96-43-96-96s43-96 96-96s96 43 96 96s-43 96-96 96z"]
  111311. };
  111312. var faBookmark = {
  111313. prefix: 'fas',
  111314. iconName: 'bookmark',
  111315. icon: [384, 512, [128278, 61591], "f02e", "M0 48V487.7C0 501.1 10.9 512 24.3 512c5 0 9.9-1.5 14-4.4L192 400 345.7 507.6c4.1 2.9 9 4.4 14 4.4c13.4 0 24.3-10.9 24.3-24.3V48c0-26.5-21.5-48-48-48H48C21.5 0 0 21.5 0 48z"]
  111316. };
  111317. var faAlignJustify = {
  111318. prefix: 'fas',
  111319. iconName: 'align-justify',
  111320. icon: [448, 512, [], "f039", "M448 64c0-17.7-14.3-32-32-32H32C14.3 32 0 46.3 0 64S14.3 96 32 96H416c17.7 0 32-14.3 32-32zm0 256c0-17.7-14.3-32-32-32H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H416c17.7 0 32-14.3 32-32zM0 192c0 17.7 14.3 32 32 32H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H32c-17.7 0-32 14.3-32 32zM448 448c0-17.7-14.3-32-32-32H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H416c17.7 0 32-14.3 32-32z"]
  111321. };
  111322. var faUmbrellaBeach = {
  111323. prefix: 'fas',
  111324. iconName: 'umbrella-beach',
  111325. icon: [576, 512, [127958], "f5ca", "M346.3 271.8l-60.1-21.9L214 448H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H544c17.7 0 32-14.3 32-32s-14.3-32-32-32H282.1l64.1-176.2zm121.1-.2l-3.3 9.1 67.7 24.6c18.1 6.6 38-4.2 39.6-23.4c6.5-78.5-23.9-155.5-80.8-208.5c2 8 3.2 16.3 3.4 24.8l.2 6c1.8 57-7.3 113.8-26.8 167.4zM462 99.1c-1.1-34.4-22.5-64.8-54.4-77.4c-.9-.4-1.9-.7-2.8-1.1c-33-11.7-69.8-2.4-93.1 23.8l-4 4.5C272.4 88.3 245 134.2 226.8 184l-3.3 9.1L434 269.7l3.3-9.1c18.1-49.8 26.6-102.5 24.9-155.5l-.2-6zM107.2 112.9c-11.1 15.7-2.8 36.8 15.3 43.4l71 25.8 3.3-9.1c19.5-53.6 49.1-103 87.1-145.5l4-4.5c6.2-6.9 13.1-13 20.5-18.2c-79.6 2.5-154.7 42.2-201.2 108z"]
  111326. };
  111327. var faHelmetUn = {
  111328. prefix: 'fas',
  111329. iconName: 'helmet-un',
  111330. icon: [512, 512, [], "e503", "M479.5 224C471.2 98.9 367.2 0 240 0C107.5 0 0 107.5 0 240v56.3C0 344.8 39.2 384 87.7 384H200h14.9L343.5 505.4c4.5 4.2 10.4 6.6 16.5 6.6h96c13.3 0 24-10.7 24-24s-10.7-24-24-24H369.5l-1.5-1.5V288h80 32c17.7 0 32-14.3 32-32s-14.3-32-32-32h-.5zM320 417.2l-78-73.7L274.4 288H320V417.2zM285.3 103.1l34.7 52V112c0-8.8 7.2-16 16-16s16 7.2 16 16v96c0 7.1-4.6 13.3-11.4 15.3s-14-.6-17.9-6.4l-34.7-52V208c0 8.8-7.2 16-16 16s-16-7.2-16-16V112c0-7.1 4.6-13.3 11.4-15.3s14 .6 17.9 6.4zM160 112v64c0 8.8 7.2 16 16 16s16-7.2 16-16V112c0-8.8 7.2-16 16-16s16 7.2 16 16v64c0 26.5-21.5 48-48 48s-48-21.5-48-48V112c0-8.8 7.2-16 16-16s16 7.2 16 16z"]
  111331. };
  111332. var faBullseye = {
  111333. prefix: 'fas',
  111334. iconName: 'bullseye',
  111335. icon: [512, 512, [], "f140", "M448 256c0-106-86-192-192-192S64 150 64 256s86 192 192 192s192-86 192-192zm64 0c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM256 336c44.2 0 80-35.8 80-80s-35.8-80-80-80s-80 35.8-80 80s35.8 80 80 80zm0 64c-79.5 0-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144zm32-144c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32z"]
  111336. };
  111337. var faBacon = {
  111338. prefix: 'fas',
  111339. iconName: 'bacon',
  111340. icon: [576, 512, [129363], "f7e5", "M439.2 1.2c11.2-3.2 23.2-.1 31.4 8.1L518 56.7l-26.5 7.9c-58 16.6-98.1 39.6-129.6 67.4c-31.2 27.5-53.2 59.1-75.1 90.9l-2.3 3.3C241.6 288.7 195 356.6 72.8 417.7L37.9 435.2 9.4 406.6c-7.3-7.3-10.6-17.6-9-27.8s8.1-18.9 17.3-23.5C136.1 296.2 180.9 231 223.3 169.3l2.3-3.4c21.8-31.8 44.9-64.9 77.7-93.9c33.4-29.5 75.8-53.6 135.9-70.8zM61.8 459l25.4-12.7c129.5-64.7 179.9-138.1 223.8-202l2.2-3.3c22.1-32.1 42.1-60.5 69.9-85.1c27.5-24.3 63.4-45.2 117.3-60.6l0 0 .2-.1 43.1-12.9 23 23c8 8 11.2 19.7 8.3 30.7s-11.3 19.6-22.2 22.7c-51.9 14.8-85.6 34.7-111.1 57.2c-26.1 23-45.1 49.9-67.3 82.1l-2.2 3.2C327.8 365.9 275.5 442 142.3 508.6c-12.3 6.2-27.2 3.7-36.9-6L61.8 459z"]
  111341. };
  111342. var faHandPointDown = {
  111343. prefix: 'fas',
  111344. iconName: 'hand-point-down',
  111345. icon: [384, 512, [], "f0a7", "M32 480c0 17.7 14.3 32 32 32s32-14.3 32-32V272H32V480zM224 320c0 17.7 14.3 32 32 32s32-14.3 32-32V256c0-17.7-14.3-32-32-32s-32 14.3-32 32v64zm-64 64c17.7 0 32-14.3 32-32V304c0-17.7-14.3-32-32-32s-32 14.3-32 32v48c0 17.7 14.3 32 32 32zm160-96c0 17.7 14.3 32 32 32s32-14.3 32-32V224c0-17.7-14.3-32-32-32s-32 14.3-32 32v64zm-96-88l0 .6c9.4-5.4 20.3-8.6 32-8.6c13.2 0 25.4 4 35.6 10.8c8.7-24.9 32.5-42.8 60.4-42.8c11.7 0 22.6 3.1 32 8.6V160C384 71.6 312.4 0 224 0H162.3C119.8 0 79.1 16.9 49.1 46.9L37.5 58.5C13.5 82.5 0 115.1 0 149v27c0 35.3 28.7 64 64 64h88c22.1 0 40-17.9 40-40s-17.9-40-40-40H96c-8.8 0-16-7.2-16-16s7.2-16 16-16h56c39.8 0 72 32.2 72 72z"]
  111346. };
  111347. var faArrowUpFromBracket = {
  111348. prefix: 'fas',
  111349. iconName: 'arrow-up-from-bracket',
  111350. icon: [448, 512, [], "e09a", "M246.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 109.3V320c0 17.7 14.3 32 32 32s32-14.3 32-32V109.3l73.4 73.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-128-128zM64 352c0-17.7-14.3-32-32-32s-32 14.3-32 32v64c0 53 43 96 96 96H352c53 0 96-43 96-96V352c0-17.7-14.3-32-32-32s-32 14.3-32 32v64c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V352z"]
  111351. };
  111352. var faFolder = {
  111353. prefix: 'fas',
  111354. iconName: 'folder',
  111355. icon: [512, 512, [128193, 128447, 61716, "folder-blank"], "f07b", "M64 480H448c35.3 0 64-28.7 64-64V160c0-35.3-28.7-64-64-64H298.5c-17 0-33.3-6.7-45.3-18.7L226.7 50.7c-12-12-28.3-18.7-45.3-18.7H64C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64z"]
  111356. };
  111357. var faFolderBlank = faFolder;
  111358. var faFileWaveform = {
  111359. prefix: 'fas',
  111360. iconName: 'file-waveform',
  111361. icon: [384, 512, ["file-medical-alt"], "f478", "M64 0C28.7 0 0 28.7 0 64V288H112c6.1 0 11.6 3.4 14.3 8.8L144 332.2l49.7-99.4c2.7-5.4 8.2-8.8 14.3-8.8s11.6 3.4 14.3 8.8L249.9 288H320c8.8 0 16 7.2 16 16s-7.2 16-16 16H240c-6.1 0-11.6-3.4-14.3-8.8L208 275.8l-49.7 99.4c-2.7 5.4-8.3 8.8-14.3 8.8s-11.6-3.4-14.3-8.8L102.1 320H0V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0z"]
  111362. };
  111363. var faFileMedicalAlt = faFileWaveform;
  111364. var faRadiation = {
  111365. prefix: 'fas',
  111366. iconName: 'radiation',
  111367. icon: [512, 512, [], "f7b9", "M216 186.7c-23.9 13.8-40 39.7-40 69.3L32 256C14.3 256-.2 241.6 2 224.1C10.7 154 47.8 92.7 101.3 52c14.1-10.7 33.8-5.3 42.7 10l72 124.7zM256 336c14.6 0 28.2-3.9 40-10.7l72 124.8c8.8 15.3 3.7 35.1-12.6 41.9c-30.6 12.9-64.2 20-99.4 20s-68.9-7.1-99.4-20c-16.3-6.9-21.4-26.6-12.6-41.9l72-124.8c11.8 6.8 25.4 10.7 40 10.7zm224-80l-144 0c0-29.6-16.1-55.5-40-69.3L368 62c8.8-15.3 28.6-20.7 42.7-10c53.6 40.7 90.6 102 99.4 172.1c2.2 17.5-12.4 31.9-30 31.9zM256 304c-26.5 0-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48z"]
  111368. };
  111369. var faChartSimple = {
  111370. prefix: 'fas',
  111371. iconName: 'chart-simple',
  111372. icon: [448, 512, [], "e473", "M160 80c0-26.5 21.5-48 48-48h32c26.5 0 48 21.5 48 48V432c0 26.5-21.5 48-48 48H208c-26.5 0-48-21.5-48-48V80zM0 272c0-26.5 21.5-48 48-48H80c26.5 0 48 21.5 48 48V432c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V272zM368 96h32c26.5 0 48 21.5 48 48V432c0 26.5-21.5 48-48 48H368c-26.5 0-48-21.5-48-48V144c0-26.5 21.5-48 48-48z"]
  111373. };
  111374. var faMarsStroke = {
  111375. prefix: 'fas',
  111376. iconName: 'mars-stroke',
  111377. icon: [512, 512, [9894], "f229", "M376 0c-9.7 0-18.5 5.8-22.2 14.8s-1.7 19.3 5.2 26.2l33.4 33.4L370.3 96.4 345 71c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l25.4 25.4L307.8 159c-28.4-19.5-62.7-31-99.8-31c-97.2 0-176 78.8-176 176s78.8 176 176 176s176-78.8 176-176c0-37-11.4-71.4-31-99.8l28.6-28.6L407 201c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-25.4-25.4 22.1-22.1L471 153c6.9 6.9 17.2 8.9 26.2 5.2s14.8-12.5 14.8-22.2V24c0-13.3-10.7-24-24-24H376zm88 48h0v0l0 0zM320 304c0 61.9-50.1 112-112 112s-112-50.1-112-112s50.1-112 112-112s112 50.1 112 112z"]
  111378. };
  111379. var faVial = {
  111380. prefix: 'fas',
  111381. iconName: 'vial',
  111382. icon: [512, 512, [129514], "f492", "M342.6 9.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l9.4 9.4L28.1 342.6C10.1 360.6 0 385 0 410.5V416c0 53 43 96 96 96h5.5c25.5 0 49.9-10.1 67.9-28.1L448 205.3l9.4 9.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-32-32-96-96-32-32zM205.3 256L352 109.3 402.7 160l-96 96H205.3z"]
  111383. };
  111384. var faGauge = {
  111385. prefix: 'fas',
  111386. iconName: 'gauge',
  111387. icon: [512, 512, ["dashboard", "gauge-med", "tachometer-alt-average"], "f624", "M512 256c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM320 352c0-26.9-16.5-49.9-40-59.3V88c0-13.3-10.7-24-24-24s-24 10.7-24 24V292.7c-23.5 9.5-40 32.5-40 59.3c0 35.3 28.7 64 64 64s64-28.7 64-64zM144 176c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm-16 80c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zm288 32c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zM400 144c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32z"]
  111388. };
  111389. var faDashboard = faGauge;
  111390. var faGaugeMed = faGauge;
  111391. var faTachometerAltAverage = faGauge;
  111392. var faWandMagicSparkles = {
  111393. prefix: 'fas',
  111394. iconName: 'wand-magic-sparkles',
  111395. icon: [576, 512, ["magic-wand-sparkles"], "e2ca", "M234.7 42.7L197 56.8c-3 1.1-5 4-5 7.2s2 6.1 5 7.2l37.7 14.1L248.8 123c1.1 3 4 5 7.2 5s6.1-2 7.2-5l14.1-37.7L315 71.2c3-1.1 5-4 5-7.2s-2-6.1-5-7.2L277.3 42.7 263.2 5c-1.1-3-4-5-7.2-5s-6.1 2-7.2 5L234.7 42.7zM46.1 395.4c-18.7 18.7-18.7 49.1 0 67.9l34.6 34.6c18.7 18.7 49.1 18.7 67.9 0L529.9 116.5c18.7-18.7 18.7-49.1 0-67.9L495.3 14.1c-18.7-18.7-49.1-18.7-67.9 0L46.1 395.4zM484.6 82.6l-105 105-23.3-23.3 105-105 23.3 23.3zM7.5 117.2C3 118.9 0 123.2 0 128s3 9.1 7.5 10.8L64 160l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L128 160l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L128 96 106.8 39.5C105.1 35 100.8 32 96 32s-9.1 3-10.8 7.5L64 96 7.5 117.2zm352 256c-4.5 1.7-7.5 6-7.5 10.8s3 9.1 7.5 10.8L416 416l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L480 416l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L480 352l-21.2-56.5c-1.7-4.5-6-7.5-10.8-7.5s-9.1 3-10.8 7.5L416 352l-56.5 21.2z"]
  111396. };
  111397. var faMagicWandSparkles = faWandMagicSparkles;
  111398. var faE = {
  111399. prefix: 'fas',
  111400. iconName: 'e',
  111401. icon: [320, 512, [101], "45", "M32 32C14.3 32 0 46.3 0 64V256 448c0 17.7 14.3 32 32 32H288c17.7 0 32-14.3 32-32s-14.3-32-32-32H64V288H224c17.7 0 32-14.3 32-32s-14.3-32-32-32H64V96H288c17.7 0 32-14.3 32-32s-14.3-32-32-32H32z"]
  111402. };
  111403. var faPenClip = {
  111404. prefix: 'fas',
  111405. iconName: 'pen-clip',
  111406. icon: [512, 512, ["pen-alt"], "f305", "M453.3 19.3l39.4 39.4c25 25 25 65.5 0 90.5l-52.1 52.1 0 0-1-1 0 0-16-16-96-96-17-17 52.1-52.1c25-25 65.5-25 90.5 0zM241 114.9c-9.4-9.4-24.6-9.4-33.9 0L105 217c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9L173.1 81c28.1-28.1 73.7-28.1 101.8 0L288 94.1l17 17 96 96 16 16 1 1-17 17L229.5 412.5c-48 48-109.2 80.8-175.8 94.1l-25 5c-7.9 1.6-16-.9-21.7-6.6s-8.1-13.8-6.6-21.7l5-25c13.3-66.6 46.1-127.8 94.1-175.8L254.1 128 241 114.9z"]
  111407. };
  111408. var faPenAlt = faPenClip;
  111409. var faBridgeCircleExclamation = {
  111410. prefix: 'fas',
  111411. iconName: 'bridge-circle-exclamation',
  111412. icon: [640, 512, [], "e4ca", "M64 32C46.3 32 32 46.3 32 64s14.3 32 32 32h40v64H32V288c53 0 96 43 96 96v64c0 17.7 14.3 32 32 32h32c17.7 0 32-14.3 32-32V384c0-53 43-96 96-96c6.3 0 12.4 .6 18.3 1.7C367.1 231.8 426.9 192 496 192c42.5 0 81.6 15.1 112 40.2V160H536V96h40c17.7 0 32-14.3 32-32s-14.3-32-32-32H64zM488 96v64H408V96h80zM360 96v64H280V96h80zM232 96v64H152V96h80zM496 512c79.5 0 144-64.5 144-144s-64.5-144-144-144s-144 64.5-144 144s64.5 144 144 144zm0-48c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm0-192c8.8 0 16 7.2 16 16v80c0 8.8-7.2 16-16 16s-16-7.2-16-16V288c0-8.8 7.2-16 16-16z"]
  111413. };
  111414. var faUser = {
  111415. prefix: 'fas',
  111416. iconName: 'user',
  111417. icon: [448, 512, [128100, 62144], "f007", "M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0S96 57.3 96 128s57.3 128 128 128zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H418.3c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304H178.3z"]
  111418. };
  111419. var faSchoolCircleCheck = {
  111420. prefix: 'fas',
  111421. iconName: 'school-circle-check',
  111422. icon: [640, 512, [], "e56b", "M337.8 5.4C327-1.8 313-1.8 302.2 5.4l-139 92.7L37.6 126C15.6 130.9 0 150.3 0 172.8V464c0 26.5 21.5 48 48 48H320v0H256V416c0-35.3 28.7-64 64-64l.3 0h.5c3.4-37.7 18.7-72.1 42.2-99.1C350.2 260 335.6 264 320 264c-48.6 0-88-39.4-88-88s39.4-88 88-88s88 39.4 88 88c0 18.3-5.6 35.3-15.1 49.4c29-21 64.6-33.4 103.1-33.4c59.5 0 112.1 29.6 144 74.8V172.8c0-22.5-15.6-42-37.6-46.9L476.8 98.1 337.8 5.4zM96 192h32c8.8 0 16 7.2 16 16v64c0 8.8-7.2 16-16 16H96c-8.8 0-16-7.2-16-16V208c0-8.8 7.2-16 16-16zm0 128h32c8.8 0 16 7.2 16 16v64c0 8.8-7.2 16-16 16H96c-8.8 0-16-7.2-16-16V336c0-8.8 7.2-16 16-16zM320 128c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16s-7.2-16-16-16H336V144c0-8.8-7.2-16-16-16zM640 368c0-79.5-64.5-144-144-144s-144 64.5-144 144s64.5 144 144 144s144-64.5 144-144zm-99.3-43.3c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6l-72 72c-6.2 6.2-16.4 6.2-22.6 0l-40-40c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L480 385.4l60.7-60.7z"]
  111423. };
  111424. var faDumpster = {
  111425. prefix: 'fas',
  111426. iconName: 'dumpster',
  111427. icon: [576, 512, [], "f793", "M49.7 32c-10.5 0-19.8 6.9-22.9 16.9L.9 133c-.6 2-.9 4.1-.9 6.1C0 150.7 9.3 160 20.9 160h94L140.5 32H49.7zM272 160V32H173.1L147.5 160H272zm32 0H428.5L402.9 32H304V160zm157.1 0h94c11.5 0 20.9-9.3 20.9-20.9c0-2.1-.3-4.1-.9-6.1L549.2 48.9C546.1 38.9 536.8 32 526.3 32H435.5l25.6 128zM32 192l4 32H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H44L64 448c0 17.7 14.3 32 32 32s32-14.3 32-32H448c0 17.7 14.3 32 32 32s32-14.3 32-32l20-160h12c17.7 0 32-14.3 32-32s-14.3-32-32-32h-4l4-32H32z"]
  111428. };
  111429. var faVanShuttle = {
  111430. prefix: 'fas',
  111431. iconName: 'van-shuttle',
  111432. icon: [640, 512, [128656, "shuttle-van"], "f5b6", "M64 104v88h96V96H72c-4.4 0-8 3.6-8 8zm482 88L465.1 96H384v96H546zm-226 0V96H224v96h96zM592 384H576c0 53-43 96-96 96s-96-43-96-96H256c0 53-43 96-96 96s-96-43-96-96H48c-26.5 0-48-21.5-48-48V104C0 64.2 32.2 32 72 32H192 352 465.1c18.9 0 36.8 8.3 49 22.8L625 186.5c9.7 11.5 15 26.1 15 41.2V336c0 26.5-21.5 48-48 48zm-64 0c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM160 432c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48z"]
  111433. };
  111434. var faShuttleVan = faVanShuttle;
  111435. var faBuildingUser = {
  111436. prefix: 'fas',
  111437. iconName: 'building-user',
  111438. icon: [640, 512, [], "e4da", "M48 0C21.5 0 0 21.5 0 48V464c0 26.5 21.5 48 48 48h96V432c0-26.5 21.5-48 48-48s48 21.5 48 48v80h89.9c-6.3-10.2-9.9-22.2-9.9-35.1c0-46.9 25.8-87.8 64-109.2V271.8 48c0-26.5-21.5-48-48-48H48zM64 240c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V240zm112-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V240c0-8.8 7.2-16 16-16zm80 16c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H272c-8.8 0-16-7.2-16-16V240zM80 96h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16zm80 16c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V112zM272 96h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H272c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16zM576 272c0-44.2-35.8-80-80-80s-80 35.8-80 80s35.8 80 80 80s80-35.8 80-80zM352 477.1c0 19.3 15.6 34.9 34.9 34.9H605.1c19.3 0 34.9-15.6 34.9-34.9c0-51.4-41.7-93.1-93.1-93.1H445.1c-51.4 0-93.1 41.7-93.1 93.1z"]
  111439. };
  111440. var faSquareCaretLeft = {
  111441. prefix: 'fas',
  111442. iconName: 'square-caret-left',
  111443. icon: [448, 512, ["caret-square-left"], "f191", "M0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32C28.7 32 0 60.7 0 96L0 416zM128 256c0-6.7 2.8-13 7.7-17.6l112-104c7-6.5 17.2-8.2 25.9-4.4s14.4 12.5 14.4 22l0 208c0 9.5-5.7 18.2-14.4 22s-18.9 2.1-25.9-4.4l-112-104c-4.9-4.5-7.7-10.9-7.7-17.6z"]
  111444. };
  111445. var faCaretSquareLeft = faSquareCaretLeft;
  111446. var faHighlighter = {
  111447. prefix: 'fas',
  111448. iconName: 'highlighter',
  111449. icon: [576, 512, [], "f591", "M331 315l158.4-215L460.1 70.6 245 229 331 315zm-187 5l0 0V248.3c0-15.3 7.2-29.6 19.5-38.6L436.6 8.4C444 2.9 453 0 462.2 0c11.4 0 22.4 4.5 30.5 12.6l54.8 54.8c8.1 8.1 12.6 19 12.6 30.5c0 9.2-2.9 18.2-8.4 25.6L350.4 396.5c-9 12.3-23.4 19.5-38.6 19.5H240l-25.4 25.4c-12.5 12.5-32.8 12.5-45.3 0l-50.7-50.7c-12.5-12.5-12.5-32.8 0-45.3L144 320zM23 466.3l63-63 70.6 70.6-31 31c-4.5 4.5-10.6 7-17 7H40c-13.3 0-24-10.7-24-24v-4.7c0-6.4 2.5-12.5 7-17z"]
  111450. };
  111451. var faKey = {
  111452. prefix: 'fas',
  111453. iconName: 'key',
  111454. icon: [512, 512, [128273], "f084", "M336 352c97.2 0 176-78.8 176-176S433.2 0 336 0S160 78.8 160 176c0 18.7 2.9 36.8 8.3 53.7L7 391c-4.5 4.5-7 10.6-7 17v80c0 13.3 10.7 24 24 24h80c13.3 0 24-10.7 24-24V448h40c13.3 0 24-10.7 24-24V384h40c6.4 0 12.5-2.5 17-7l33.3-33.3c16.9 5.4 35 8.3 53.7 8.3zm40-176c-22.1 0-40-17.9-40-40s17.9-40 40-40s40 17.9 40 40s-17.9 40-40 40z"]
  111455. };
  111456. var faBullhorn = {
  111457. prefix: 'fas',
  111458. iconName: 'bullhorn',
  111459. icon: [512, 512, [128226, 128363], "f0a1", "M480 32c0-12.9-7.8-24.6-19.8-29.6s-25.7-2.2-34.9 6.9L381.7 53c-48 48-113.1 75-181 75H192 160 64c-35.3 0-64 28.7-64 64v96c0 35.3 28.7 64 64 64l0 128c0 17.7 14.3 32 32 32h64c17.7 0 32-14.3 32-32V352l8.7 0c67.9 0 133 27 181 75l43.6 43.6c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6V300.4c18.6-8.8 32-32.5 32-60.4s-13.4-51.6-32-60.4V32zm-64 76.7V240 371.3C357.2 317.8 280.5 288 200.7 288H192V192h8.7c79.8 0 156.5-29.8 215.3-83.3z"]
  111460. };
  111461. var faGlobe = {
  111462. prefix: 'fas',
  111463. iconName: 'globe',
  111464. icon: [512, 512, [127760], "f0ac", "M352 256c0 22.2-1.2 43.6-3.3 64H163.3c-2.2-20.4-3.3-41.8-3.3-64s1.2-43.6 3.3-64H348.7c2.2 20.4 3.3 41.8 3.3 64zm28.8-64H503.9c5.3 20.5 8.1 41.9 8.1 64s-2.8 43.5-8.1 64H380.8c2.1-20.6 3.2-42 3.2-64s-1.1-43.4-3.2-64zm112.6-32H376.7c-10-63.9-29.8-117.4-55.3-151.6c78.3 20.7 142 77.5 171.9 151.6zm-149.1 0H167.7c6.1-36.4 15.5-68.6 27-94.7c10.5-23.6 22.2-40.7 33.5-51.5C239.4 3.2 248.7 0 256 0s16.6 3.2 27.8 13.8c11.3 10.8 23 27.9 33.5 51.5c11.6 26 21 58.2 27 94.7zm-209 0H18.6C48.6 85.9 112.2 29.1 190.6 8.4C165.1 42.6 145.3 96.1 135.3 160zM8.1 192H131.2c-2.1 20.6-3.2 42-3.2 64s1.1 43.4 3.2 64H8.1C2.8 299.5 0 278.1 0 256s2.8-43.5 8.1-64zM194.7 446.6c-11.6-26-20.9-58.2-27-94.6H344.3c-6.1 36.4-15.5 68.6-27 94.6c-10.5 23.6-22.2 40.7-33.5 51.5C272.6 508.8 263.3 512 256 512s-16.6-3.2-27.8-13.8c-11.3-10.8-23-27.9-33.5-51.5zM135.3 352c10 63.9 29.8 117.4 55.3 151.6C112.2 482.9 48.6 426.1 18.6 352H135.3zm358.1 0c-30 74.1-93.6 130.9-171.9 151.6c25.5-34.2 45.2-87.7 55.3-151.6H493.4z"]
  111465. };
  111466. var faSynagogue = {
  111467. prefix: 'fas',
  111468. iconName: 'synagogue',
  111469. icon: [640, 512, [128333], "f69b", "M309.8 3.7c5.9-4.9 14.6-4.9 20.5 0l121 100.8C469.5 119.7 480 142.2 480 166V280.1 512H464 352V416c0-17.7-14.3-32-32-32s-32 14.3-32 32v96H176 160V280.1 166c0-23.7 10.5-46.3 28.8-61.5L309.8 3.7zM512 512V244.5l28.1-31.2c3-3.4 7.4-5.3 11.9-5.3s8.9 1.9 11.9 5.3l63.8 70.9c7.9 8.8 12.3 20.3 12.3 32.1V448c0 35.3-28.7 64-64 64H512zM128 244.5V512H64c-35.3 0-64-28.7-64-64V316.3c0-11.9 4.4-23.3 12.3-32.1l63.8-70.9c3-3.4 7.4-5.3 11.9-5.3s8.9 1.9 11.9 5.3L128 244.5zM327 124.3c-3.1-5.4-10.9-5.4-13.9 0l-15.9 28.1-32.3-.3c-6.2-.1-10.1 6.7-7 12.1L274.3 192l-16.4 27.8c-3.2 5.4 .7 12.1 7 12.1l32.3-.3L313 259.7c3.1 5.4 10.9 5.4 13.9 0l15.9-28.1 32.3 .3c6.2 .1 10.1-6.7 7-12.1L365.7 192l16.4-27.8c3.2-5.4-.7-12.1-7-12.1l-32.3 .3L327 124.3z"]
  111470. };
  111471. var faPersonHalfDress = {
  111472. prefix: 'fas',
  111473. iconName: 'person-half-dress',
  111474. icon: [320, 512, [], "e548", "M160 96c-26.5 0-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48zm8 256V128h6.9c33.7 0 64.9 17.7 82.3 46.6l58.3 97c9.1 15.1 4.2 34.8-10.9 43.9s-34.8 4.2-43.9-10.9L232 256.9V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V352h0zM58.2 182.3c19.9-33.1 55.3-53.5 93.8-54.3V384h0v96c0 17.7-14.3 32-32 32s-32-14.3-32-32V384H70.2c-10.9 0-18.6-10.7-15.2-21.1L93.3 248.1 59.4 304.5c-9.1 15.1-28.8 20-43.9 10.9s-20-28.8-10.9-43.9l53.6-89.2z"]
  111475. };
  111476. var faRoadBridge = {
  111477. prefix: 'fas',
  111478. iconName: 'road-bridge',
  111479. icon: [640, 512, [], "e563", "M352 0H608c17.7 0 32 14.3 32 32V480c0 17.7-14.3 32-32 32H352c-17.7 0-32-14.3-32-32V32c0-17.7 14.3-32 32-32zM480 200c-13.3 0-24 10.7-24 24v64c0 13.3 10.7 24 24 24s24-10.7 24-24V224c0-13.3-10.7-24-24-24zm24 184c0-13.3-10.7-24-24-24s-24 10.7-24 24v64c0 13.3 10.7 24 24 24s24-10.7 24-24V384zM480 40c-13.3 0-24 10.7-24 24v64c0 13.3 10.7 24 24 24s24-10.7 24-24V64c0-13.3-10.7-24-24-24zM32 96H288v64H248v64h40v96c-53 0-96 43-96 96v64c0 17.7-14.3 32-32 32H128c-17.7 0-32-14.3-32-32V416c0-53-43-96-96-96V224H72V160H32c-17.7 0-32-14.3-32-32s14.3-32 32-32zm168 64H120v64h80V160z"]
  111480. };
  111481. var faLocationArrow = {
  111482. prefix: 'fas',
  111483. iconName: 'location-arrow',
  111484. icon: [448, 512, [], "f124", "M429.6 92.1c4.9-11.9 2.1-25.6-7-34.7s-22.8-11.9-34.7-7l-352 144c-14.2 5.8-22.2 20.8-19.3 35.8s16.1 25.8 31.4 25.8H224V432c0 15.3 10.8 28.4 25.8 31.4s30-5.1 35.8-19.3l144-352z"]
  111485. };
  111486. var faC = {
  111487. prefix: 'fas',
  111488. iconName: 'c',
  111489. icon: [384, 512, [99], "43", "M329.1 142.9c-62.5-62.5-155.8-62.5-218.3 0s-62.5 163.8 0 226.3s155.8 62.5 218.3 0c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3c-87.5 87.5-221.3 87.5-308.8 0s-87.5-229.3 0-316.8s221.3-87.5 308.8 0c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0z"]
  111490. };
  111491. var faTabletButton = {
  111492. prefix: 'fas',
  111493. iconName: 'tablet-button',
  111494. icon: [448, 512, [], "f10a", "M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H64zM224 464c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]
  111495. };
  111496. var faBuildingLock = {
  111497. prefix: 'fas',
  111498. iconName: 'building-lock',
  111499. icon: [576, 512, [], "e4d6", "M48 0C21.5 0 0 21.5 0 48V464c0 26.5 21.5 48 48 48h96V432c0-26.5 21.5-48 48-48s48 21.5 48 48v80h88.6c-5.4-9.4-8.6-20.3-8.6-32V352c0-23.7 12.9-44.4 32-55.4V272c0-30.5 12.2-58.2 32-78.4V48c0-26.5-21.5-48-48-48H48zM64 240c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V240zm112-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V240c0-8.8 7.2-16 16-16zm80 16c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H272c-8.8 0-16-7.2-16-16V240zM80 96h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16zm80 16c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V112zM272 96h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H272c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16zM464 240c17.7 0 32 14.3 32 32v48H432V272c0-17.7 14.3-32 32-32zm-80 32v48c-17.7 0-32 14.3-32 32V480c0 17.7 14.3 32 32 32H544c17.7 0 32-14.3 32-32V352c0-17.7-14.3-32-32-32V272c0-44.2-35.8-80-80-80s-80 35.8-80 80z"]
  111500. };
  111501. var faPizzaSlice = {
  111502. prefix: 'fas',
  111503. iconName: 'pizza-slice',
  111504. icon: [512, 512, [], "f818", "M169.7 .9c-22.8-1.6-41.9 14-47.5 34.7L110.4 80c.5 0 1.1 0 1.6 0c176.7 0 320 143.3 320 320c0 .5 0 1.1 0 1.6l44.4-11.8c20.8-5.5 36.3-24.7 34.7-47.5C498.5 159.5 352.5 13.5 169.7 .9zM399.8 410.2c.1-3.4 .2-6.8 .2-10.2c0-159.1-128.9-288-288-288c-3.4 0-6.8 .1-10.2 .2L.5 491.9c-1.5 5.5 .1 11.4 4.1 15.4s9.9 5.6 15.4 4.1L399.8 410.2zM176 272c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zm128 64c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zM160 384c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32z"]
  111505. };
  111506. var faMoneyBillWave = {
  111507. prefix: 'fas',
  111508. iconName: 'money-bill-wave',
  111509. icon: [576, 512, [], "f53a", "M0 112.5V422.3c0 18 10.1 35 27 41.3c87 32.5 174 10.3 261-11.9c79.8-20.3 159.6-40.7 239.3-18.9c23 6.3 48.7-9.5 48.7-33.4V89.7c0-18-10.1-35-27-41.3C462 15.9 375 38.1 288 60.3C208.2 80.6 128.4 100.9 48.7 79.1C25.6 72.8 0 88.6 0 112.5zM288 352c-44.2 0-80-43-80-96s35.8-96 80-96s80 43 80 96s-35.8 96-80 96zM64 352c35.3 0 64 28.7 64 64H64V352zm64-208c0 35.3-28.7 64-64 64V144h64zM512 304v64H448c0-35.3 28.7-64 64-64zM448 96h64v64c-35.3 0-64-28.7-64-64z"]
  111510. };
  111511. var faChartArea = {
  111512. prefix: 'fas',
  111513. iconName: 'chart-area',
  111514. icon: [512, 512, ["area-chart"], "f1fe", "M64 64c0-17.7-14.3-32-32-32S0 46.3 0 64V400c0 44.2 35.8 80 80 80H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H80c-8.8 0-16-7.2-16-16V64zm96 288H448c17.7 0 32-14.3 32-32V251.8c0-7.6-2.7-15-7.7-20.8l-65.8-76.8c-12.1-14.2-33.7-15-46.9-1.8l-21 21c-10 10-26.4 9.2-35.4-1.6l-39.2-47c-12.6-15.1-35.7-15.4-48.7-.6L135.9 215c-5.1 5.8-7.9 13.3-7.9 21.1v84c0 17.7 14.3 32 32 32z"]
  111515. };
  111516. var faAreaChart = faChartArea;
  111517. var faHouseFlag = {
  111518. prefix: 'fas',
  111519. iconName: 'house-flag',
  111520. icon: [640, 512, [], "e50d", "M480 0c-17.7 0-32 14.3-32 32V192 512h64V192H624c8.8 0 16-7.2 16-16V48c0-8.8-7.2-16-16-16H512c0-17.7-14.3-32-32-32zM416 159L276.8 39.7c-12-10.3-29.7-10.3-41.7 0l-224 192C1 240.4-2.7 254.5 2 267.1S18.6 288 32 288H64V480c0 17.7 14.3 32 32 32h64c17.7 0 32-14.3 32-32V384c0-17.7 14.3-32 32-32h64c17.7 0 32 14.3 32 32v96c0 17.7 14.3 32 32 32h64.7l.2 0h-1V159z"]
  111521. };
  111522. var faPersonCircleMinus = {
  111523. prefix: 'fas',
  111524. iconName: 'person-circle-minus',
  111525. icon: [576, 512, [], "e540", "M208 48c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zM152 352V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V256.9L59.4 304.5c-9.1 15.1-28.8 20-43.9 10.9s-20-28.8-10.9-43.9l58.3-97c17.4-28.9 48.6-46.6 82.3-46.6h29.7c33.7 0 64.9 17.7 82.3 46.6l44.9 74.7c-16.1 17.6-28.6 38.5-36.6 61.5c-1.9-1.8-3.5-3.9-4.9-6.3L232 256.9V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V352H152zm424 16c0 79.5-64.5 144-144 144s-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144zm-64 0c0-8.8-7.2-16-16-16H368c-8.8 0-16 7.2-16 16s7.2 16 16 16H496c8.8 0 16-7.2 16-16z"]
  111526. };
  111527. var faBan = {
  111528. prefix: 'fas',
  111529. iconName: 'ban',
  111530. icon: [512, 512, [128683, "cancel"], "f05e", "M367.2 412.5L99.5 144.8C77.1 176.1 64 214.5 64 256c0 106 86 192 192 192c41.5 0 79.9-13.1 111.2-35.5zm45.3-45.3C434.9 335.9 448 297.5 448 256c0-106-86-192-192-192c-41.5 0-79.9 13.1-111.2 35.5L412.5 367.2zM512 256c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256z"]
  111531. };
  111532. var faCancel = faBan;
  111533. var faCameraRotate = {
  111534. prefix: 'fas',
  111535. iconName: 'camera-rotate',
  111536. icon: [512, 512, [], "e0d8", "M149.1 64.8L138.7 96H64C28.7 96 0 124.7 0 160V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V160c0-35.3-28.7-64-64-64H373.3L362.9 64.8C356.4 45.2 338.1 32 317.4 32H194.6c-20.7 0-39 13.2-45.5 32.8zM384 256c0 8.8-7.2 16-16 16H291.3c-6.2 0-11.3-5.1-11.3-11.3c0-3 1.2-5.9 3.3-8L307 229c-13.6-13.4-31.9-21-51-21c-19.2 0-37.7 7.6-51.3 21.3L185 249c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l19.7-19.7C193.4 172.7 224 160 256 160c31.8 0 62.4 12.6 85 35l23.7-23.7c2.1-2.1 5-3.3 8-3.3c6.2 0 11.3 5.1 11.3 11.3V256zM128 320c0-8.8 7.2-16 16-16h76.7c6.2 0 11.3 5.1 11.3 11.3c0 3-1.2 5.9-3.3 8L205 347c13.6 13.4 31.9 21 51 21c19.2 0 37.7-7.6 51.3-21.3L327 327c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-19.7 19.7C318.6 403.3 288 416 256 416c-31.8 0-62.4-12.6-85-35l-23.7 23.7c-2.1 2.1-5 3.3-8 3.3c-6.2 0-11.3-5.1-11.3-11.3V320z"]
  111537. };
  111538. var faSprayCanSparkles = {
  111539. prefix: 'fas',
  111540. iconName: 'spray-can-sparkles',
  111541. icon: [512, 512, ["air-freshener"], "f5d0", "M96 32v96H224V32c0-17.7-14.3-32-32-32H128C110.3 0 96 14.3 96 32zm0 128c-53 0-96 43-96 96V464c0 26.5 21.5 48 48 48H272c26.5 0 48-21.5 48-48V256c0-53-43-96-96-96H96zm64 256c-44.2 0-80-35.8-80-80s35.8-80 80-80s80 35.8 80 80s-35.8 80-80 80zM384 48c0-1.4-1-3-2.2-3.6L352 32 339.6 2.2C339 1 337.4 0 336 0s-3 1-3.6 2.2L320 32 290.2 44.4C289 45 288 46.6 288 48c0 1.4 1 3 2.2 3.6L320 64l12.4 29.8C333 95 334.6 96 336 96s3-1 3.6-2.2L352 64l29.8-12.4C383 51 384 49.4 384 48zm76.4 45.8C461 95 462.6 96 464 96s3-1 3.6-2.2L480 64l29.8-12.4C511 51 512 49.4 512 48c0-1.4-1-3-2.2-3.6L480 32 467.6 2.2C467 1 465.4 0 464 0s-3 1-3.6 2.2L448 32 418.2 44.4C417 45 416 46.6 416 48c0 1.4 1 3 2.2 3.6L448 64l12.4 29.8zm7.2 100.4c-.6-1.2-2.2-2.2-3.6-2.2s-3 1-3.6 2.2L448 224l-29.8 12.4c-1.2 .6-2.2 2.2-2.2 3.6c0 1.4 1 3 2.2 3.6L448 256l12.4 29.8c.6 1.2 2.2 2.2 3.6 2.2s3-1 3.6-2.2L480 256l29.8-12.4c1.2-.6 2.2-2.2 2.2-3.6c0-1.4-1-3-2.2-3.6L480 224l-12.4-29.8zM448 144c0-1.4-1-3-2.2-3.6L416 128 403.6 98.2C403 97 401.4 96 400 96s-3 1-3.6 2.2L384 128l-29.8 12.4c-1.2 .6-2.2 2.2-2.2 3.6c0 1.4 1 3 2.2 3.6L384 160l12.4 29.8c.6 1.2 2.2 2.2 3.6 2.2s3-1 3.6-2.2L416 160l29.8-12.4c1.2-.6 2.2-2.2 2.2-3.6z"]
  111542. };
  111543. var faAirFreshener = faSprayCanSparkles;
  111544. var faStar = {
  111545. prefix: 'fas',
  111546. iconName: 'star',
  111547. icon: [576, 512, [11088, 61446], "f005", "M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.7 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z"]
  111548. };
  111549. var faRepeat = {
  111550. prefix: 'fas',
  111551. iconName: 'repeat',
  111552. icon: [512, 512, [128257], "f363", "M0 224c0 17.7 14.3 32 32 32s32-14.3 32-32c0-53 43-96 96-96H320v32c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l64-64c12.5-12.5 12.5-32.8 0-45.3l-64-64c-9.2-9.2-22.9-11.9-34.9-6.9S320 19.1 320 32V64H160C71.6 64 0 135.6 0 224zm512 64c0-17.7-14.3-32-32-32s-32 14.3-32 32c0 53-43 96-96 96H192V352c0-12.9-7.8-24.6-19.8-29.6s-25.7-2.2-34.9 6.9l-64 64c-12.5 12.5-12.5 32.8 0 45.3l64 64c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6V448H352c88.4 0 160-71.6 160-160z"]
  111553. };
  111554. var faCross = {
  111555. prefix: 'fas',
  111556. iconName: 'cross',
  111557. icon: [384, 512, [128327, 10013], "f654", "M176 0c-26.5 0-48 21.5-48 48v80H48c-26.5 0-48 21.5-48 48v32c0 26.5 21.5 48 48 48h80V464c0 26.5 21.5 48 48 48h32c26.5 0 48-21.5 48-48V256h80c26.5 0 48-21.5 48-48V176c0-26.5-21.5-48-48-48H256V48c0-26.5-21.5-48-48-48H176z"]
  111558. };
  111559. var faBox = {
  111560. prefix: 'fas',
  111561. iconName: 'box',
  111562. icon: [448, 512, [128230], "f466", "M50.7 58.5L0 160H208V32H93.7C75.5 32 58.9 42.3 50.7 58.5zM240 160H448L397.3 58.5C389.1 42.3 372.5 32 354.3 32H240V160zm208 32H0V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V192z"]
  111563. };
  111564. var faVenusMars = {
  111565. prefix: 'fas',
  111566. iconName: 'venus-mars',
  111567. icon: [640, 512, [9892], "f228", "M176 288c61.9 0 112-50.1 112-112s-50.1-112-112-112S64 114.1 64 176s50.1 112 112 112zM352 176c0 86.3-62.1 158.1-144 173.1V384h32c17.7 0 32 14.3 32 32s-14.3 32-32 32H208v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V448H112c-17.7 0-32-14.3-32-32s14.3-32 32-32h32V349.1C62.1 334.1 0 262.3 0 176C0 78.8 78.8 0 176 0s176 78.8 176 176zM271.9 360.6c19.3-10.1 36.9-23.1 52.1-38.4c20 18.5 46.7 29.8 76.1 29.8c61.9 0 112-50.1 112-112s-50.1-112-112-112c-7.2 0-14.3 .7-21.1 2c-4.9-21.5-13-41.7-24-60.2C369.3 66 384.4 64 400 64c37 0 71.4 11.4 99.8 31l20.6-20.6L487 41c-6.9-6.9-8.9-17.2-5.2-26.2S494.3 0 504 0H616c13.3 0 24 10.7 24 24V136c0 9.7-5.8 18.5-14.8 22.2s-19.3 1.7-26.2-5.2l-33.4-33.4L545 140.2c19.5 28.4 31 62.7 31 99.8c0 97.2-78.8 176-176 176c-50.5 0-96-21.3-128.1-55.4z"]
  111568. };
  111569. var faArrowPointer = {
  111570. prefix: 'fas',
  111571. iconName: 'arrow-pointer',
  111572. icon: [320, 512, ["mouse-pointer"], "f245", "M0 55.2V426c0 12.2 9.9 22 22 22c6.3 0 12.4-2.7 16.6-7.5L121.2 346l58.1 116.3c7.9 15.8 27.1 22.2 42.9 14.3s22.2-27.1 14.3-42.9L179.8 320H297.9c12.2 0 22.1-9.9 22.1-22.1c0-6.3-2.7-12.3-7.4-16.5L38.6 37.9C34.3 34.1 28.9 32 23.2 32C10.4 32 0 42.4 0 55.2z"]
  111573. };
  111574. var faMousePointer = faArrowPointer;
  111575. var faMaximize = {
  111576. prefix: 'fas',
  111577. iconName: 'maximize',
  111578. icon: [448, 512, ["expand-arrows-alt"], "f31e", "M168 32H24C10.7 32 0 42.7 0 56V200c0 9.7 5.8 18.5 14.8 22.2s19.3 1.7 26.2-5.2l40-40 79 79L81 335 41 295c-6.9-6.9-17.2-8.9-26.2-5.2S0 302.3 0 312V456c0 13.3 10.7 24 24 24H168c9.7 0 18.5-5.8 22.2-14.8s1.7-19.3-5.2-26.2l-40-40 79-79 79 79-40 40c-6.9 6.9-8.9 17.2-5.2 26.2s12.5 14.8 22.2 14.8H424c13.3 0 24-10.7 24-24V312c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2l-40 40-79-79 79-79 40 40c6.9 6.9 17.2 8.9 26.2 5.2s14.8-12.5 14.8-22.2V56c0-13.3-10.7-24-24-24H280c-9.7 0-18.5 5.8-22.2 14.8s-1.7 19.3 5.2 26.2l40 40-79 79-79-79 40-40c6.9-6.9 8.9-17.2 5.2-26.2S177.7 32 168 32z"]
  111579. };
  111580. var faExpandArrowsAlt = faMaximize;
  111581. var faChargingStation = {
  111582. prefix: 'fas',
  111583. iconName: 'charging-station',
  111584. icon: [576, 512, [], "f5e7", "M96 0C60.7 0 32 28.7 32 64V448c-17.7 0-32 14.3-32 32s14.3 32 32 32H320c17.7 0 32-14.3 32-32s-14.3-32-32-32V304h16c22.1 0 40 17.9 40 40v32c0 39.8 32.2 72 72 72s72-32.2 72-72V252.3c32.5-10.2 56-40.5 56-76.3V144c0-8.8-7.2-16-16-16H544V80c0-8.8-7.2-16-16-16s-16 7.2-16 16v48H480V80c0-8.8-7.2-16-16-16s-16 7.2-16 16v48H432c-8.8 0-16 7.2-16 16v32c0 35.8 23.5 66.1 56 76.3V376c0 13.3-10.7 24-24 24s-24-10.7-24-24V344c0-48.6-39.4-88-88-88H320V64c0-35.3-28.7-64-64-64H96zM216.9 82.7c6 4 8.5 11.5 6.3 18.3l-25 74.9H256c6.7 0 12.7 4.2 15 10.4s.5 13.3-4.6 17.7l-112 96c-5.5 4.7-13.4 5.1-19.3 1.1s-8.5-11.5-6.3-18.3l25-74.9H96c-6.7 0-12.7-4.2-15-10.4s-.5-13.3 4.6-17.7l112-96c5.5-4.7 13.4-5.1 19.3-1.1z"]
  111585. };
  111586. var faShapes = {
  111587. prefix: 'fas',
  111588. iconName: 'shapes',
  111589. icon: [512, 512, ["triangle-circle-square"], "f61f", "M315.4 15.5C309.7 5.9 299.2 0 288 0s-21.7 5.9-27.4 15.5l-96 160c-5.9 9.9-6.1 22.2-.4 32.2s16.3 16.2 27.8 16.2H384c11.5 0 22.2-6.2 27.8-16.2s5.5-22.3-.4-32.2l-96-160zM288 312V456c0 22.1 17.9 40 40 40H472c22.1 0 40-17.9 40-40V312c0-22.1-17.9-40-40-40H328c-22.1 0-40 17.9-40 40zM128 512c70.7 0 128-57.3 128-128s-57.3-128-128-128S0 313.3 0 384s57.3 128 128 128z"]
  111590. };
  111591. var faTriangleCircleSquare = faShapes;
  111592. var faShuffle = {
  111593. prefix: 'fas',
  111594. iconName: 'shuffle',
  111595. icon: [512, 512, [128256, "random"], "f074", "M403.8 34.4c12-5 25.7-2.2 34.9 6.9l64 64c6 6 9.4 14.1 9.4 22.6s-3.4 16.6-9.4 22.6l-64 64c-9.2 9.2-22.9 11.9-34.9 6.9s-19.8-16.6-19.8-29.6V160H352c-10.1 0-19.6 4.7-25.6 12.8L284 229.3 244 176l31.2-41.6C293.3 110.2 321.8 96 352 96h32V64c0-12.9 7.8-24.6 19.8-29.6zM164 282.7L204 336l-31.2 41.6C154.7 401.8 126.2 416 96 416H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H96c10.1 0 19.6-4.7 25.6-12.8L164 282.7zm274.6 188c-9.2 9.2-22.9 11.9-34.9 6.9s-19.8-16.6-19.8-29.6V416H352c-30.2 0-58.7-14.2-76.8-38.4L121.6 172.8c-6-8.1-15.5-12.8-25.6-12.8H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H96c30.2 0 58.7 14.2 76.8 38.4L326.4 339.2c6 8.1 15.5 12.8 25.6 12.8h32V320c0-12.9 7.8-24.6 19.8-29.6s25.7-2.2 34.9 6.9l64 64c6 6 9.4 14.1 9.4 22.6s-3.4 16.6-9.4 22.6l-64 64z"]
  111596. };
  111597. var faRandom = faShuffle;
  111598. var faPersonRunning = {
  111599. prefix: 'fas',
  111600. iconName: 'person-running',
  111601. icon: [448, 512, [127939, "running"], "f70c", "M336 48c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM141.7 175.5c9.9-9.9 23.4-15.5 37.5-15.5c1.9 0 3.8 .1 5.6 .3L153.6 254c-9.3 28 1.7 58.8 26.8 74.5l86.2 53.9-25.4 88.8c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l28.7-100.4c5.9-20.6-2.6-42.6-20.7-53.9L254 299l30.9-82.4 5.1 12.3C305 264.7 339.9 288 378.7 288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H378.7c-12.9 0-24.6-7.8-29.5-19.7l-6.3-15c-14.6-35.1-44.1-61.9-80.5-73.1l-48.7-15c-11.1-3.4-22.7-5.2-34.4-5.2c-31 0-60.8 12.3-82.7 34.3L73.4 153.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l23.1-23.1zM107.2 352H48c-17.7 0-32 14.3-32 32s14.3 32 32 32h69.6c19 0 36.2-11.2 43.9-28.5L173 361.6l-9.5-6c-17.5-10.9-30.5-26.8-37.9-44.9L107.2 352z"]
  111602. };
  111603. var faRunning = faPersonRunning;
  111604. var faMobileRetro = {
  111605. prefix: 'fas',
  111606. iconName: 'mobile-retro',
  111607. icon: [320, 512, [], "e527", "M0 64C0 28.7 28.7 0 64 0H256c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64zm64 96v64c0 17.7 14.3 32 32 32H224c17.7 0 32-14.3 32-32V160c0-17.7-14.3-32-32-32H96c-17.7 0-32 14.3-32 32zM80 352c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24zm24 56c0-13.3-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24s24-10.7 24-24zm56-56c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24zm24 56c0-13.3-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24s24-10.7 24-24zm56-56c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24zm24 56c0-13.3-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24s24-10.7 24-24zM128 48c-8.8 0-16 7.2-16 16s7.2 16 16 16h64c8.8 0 16-7.2 16-16s-7.2-16-16-16H128z"]
  111608. };
  111609. var faGripLinesVertical = {
  111610. prefix: 'fas',
  111611. iconName: 'grip-lines-vertical',
  111612. icon: [192, 512, [], "f7a5", "M64 64c0-17.7-14.3-32-32-32S0 46.3 0 64V448c0 17.7 14.3 32 32 32s32-14.3 32-32V64zm128 0c0-17.7-14.3-32-32-32s-32 14.3-32 32V448c0 17.7 14.3 32 32 32s32-14.3 32-32V64z"]
  111613. };
  111614. var faSpider = {
  111615. prefix: 'fas',
  111616. iconName: 'spider',
  111617. icon: [576, 512, [128375], "f717", "M190.4 32.6c4.8-12.4-1.4-26.3-13.8-31s-26.3 1.4-31 13.8L113.1 100c-7.9 20.7-3 44.1 12.7 59.7l57.4 57.4-80.4-26.8c-2.4-.8-4.3-2.7-5.1-5.1L78.8 128.4C74.6 115.8 61 109 48.4 113.2S29 131 33.2 143.6l18.9 56.8c5.6 16.7 18.7 29.8 35.4 35.4L148.1 256 87.6 276.2c-16.7 5.6-29.8 18.7-35.4 35.4L33.2 368.4C29 381 35.8 394.6 48.4 398.8s26.2-2.6 30.4-15.2l18.9-56.8c.8-2.4 2.7-4.3 5.1-5.1l80.4-26.8-57.4 57.4c-15.6 15.6-20.6 39-12.7 59.7l32.5 84.6c4.8 12.4 18.6 18.5 31 13.8s18.5-18.6 13.8-31l-32.5-84.6c-1.1-3-.4-6.3 1.8-8.5L192 353.9c1 52.1 43.6 94.1 96 94.1s95-41.9 96-94.1l32.3 32.3c2.2 2.2 2.9 5.6 1.8 8.5l-32.5 84.6c-4.8 12.4 1.4 26.3 13.8 31s26.3-1.4 31-13.8L462.9 412c7.9-20.7 3-44.1-12.7-59.7l-57.4-57.4 80.4 26.8c2.4 .8 4.3 2.7 5.1 5.1l18.9 56.8c4.2 12.6 17.8 19.4 30.4 15.2s19.4-17.8 15.2-30.4l-18.9-56.8c-5.6-16.7-18.7-29.8-35.4-35.4L427.9 256l60.5-20.2c16.7-5.6 29.8-18.7 35.4-35.4l18.9-56.8c4.2-12.6-2.6-26.2-15.2-30.4s-26.2 2.6-30.4 15.2l-18.9 56.8c-.8 2.4-2.7 4.3-5.1 5.1l-80.4 26.8 57.4-57.4c15.6-15.6 20.6-39 12.7-59.7L430.4 15.4C425.6 3 411.8-3.2 399.4 1.6s-18.5 18.6-13.8 31l32.5 84.6c1.1 3 .4 6.3-1.8 8.5L368 174.1V160c0-31.8-18.6-59.3-45.5-72.2c-9.1-4.4-18.5 3.3-18.5 13.4V112c0 8.8-7.2 16-16 16s-16-7.2-16-16V101.2c0-10.1-9.4-17.7-18.5-13.4C226.6 100.7 208 128.2 208 160v14.1l-48.3-48.3c-2.2-2.2-2.9-5.6-1.8-8.5l32.5-84.6z"]
  111618. };
  111619. var faHandsBound = {
  111620. prefix: 'fas',
  111621. iconName: 'hands-bound',
  111622. icon: [576, 512, [], "e4f9", "M64 32C64 14.3 49.7 0 32 0S0 14.3 0 32V96v59.1 .7V192v21.9c0 14.2 5.1 27.9 14.3 38.7L99.6 352H96c-13.3 0-24 10.7-24 24s10.7 24 24 24h32H256h64H448h32c13.3 0 24-10.7 24-24s-10.7-24-24-24h-3.6l85.3-99.5c9.2-10.8 14.3-24.5 14.3-38.7V192 155.8v-.7V96 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V96v48.8l-69.3 92.4c-5.7 7.6-16.1 9.6-24.2 4.8c-9.7-5.7-12.1-18.7-5.1-27.5L441 180c10.8-13.5 8.9-33.3-4.4-44.5s-33-9.8-44.5 3.2l-46.7 52.5C329 209.7 320 233.4 320 258.1V320v32H256V320 258.1c0-24.6-9-48.4-25.4-66.8l-46.7-52.5c-11.5-13-31.3-14.4-44.5-3.2s-15.2 30.9-4.4 44.5l27.6 34.5c7 8.8 4.7 21.8-5.1 27.5c-8.1 4.8-18.6 2.7-24.2-4.8L64 144.8V96 32zm64 448v32H256V480h64v32H448V480h32c13.3 0 24-10.7 24-24s-10.7-24-24-24H448 320 256 128 96c-13.3 0-24 10.7-24 24s10.7 24 24 24h32z"]
  111623. };
  111624. var faFileInvoiceDollar = {
  111625. prefix: 'fas',
  111626. iconName: 'file-invoice-dollar',
  111627. icon: [384, 512, [], "f571", "M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM64 80c0-8.8 7.2-16 16-16h64c8.8 0 16 7.2 16 16s-7.2 16-16 16H80c-8.8 0-16-7.2-16-16zm0 64c0-8.8 7.2-16 16-16h64c8.8 0 16 7.2 16 16s-7.2 16-16 16H80c-8.8 0-16-7.2-16-16zm128 72c8.8 0 16 7.2 16 16v17.3c8.5 1.2 16.7 3.1 24.1 5.1c8.5 2.3 13.6 11 11.3 19.6s-11 13.6-19.6 11.3c-11.1-3-22-5.2-32.1-5.3c-8.4-.1-17.4 1.8-23.6 5.5c-5.7 3.4-8.1 7.3-8.1 12.8c0 3.7 1.3 6.5 7.3 10.1c6.9 4.1 16.6 7.1 29.2 10.9l.5 .1 0 0 0 0c11.3 3.4 25.3 7.6 36.3 14.6c12.1 7.6 22.4 19.7 22.7 38.2c.3 19.3-9.6 33.3-22.9 41.6c-7.7 4.8-16.4 7.6-25.1 9.1V440c0 8.8-7.2 16-16 16s-16-7.2-16-16V422.2c-11.2-2.1-21.7-5.7-30.9-8.9l0 0c-2.1-.7-4.2-1.4-6.2-2.1c-8.4-2.8-12.9-11.9-10.1-20.2s11.9-12.9 20.2-10.1c2.5 .8 4.8 1.6 7.1 2.4l0 0 0 0 0 0c13.6 4.6 24.6 8.4 36.3 8.7c9.1 .3 17.9-1.7 23.7-5.3c5.1-3.2 7.9-7.3 7.8-14c-.1-4.6-1.8-7.8-7.7-11.6c-6.8-4.3-16.5-7.4-29-11.2l-1.6-.5 0 0c-11-3.3-24.3-7.3-34.8-13.7c-12-7.2-22.6-18.9-22.7-37.3c-.1-19.4 10.8-32.8 23.8-40.5c7.5-4.4 15.8-7.2 24.1-8.7V232c0-8.8 7.2-16 16-16z"]
  111628. };
  111629. var faPlaneCircleExclamation = {
  111630. prefix: 'fas',
  111631. iconName: 'plane-circle-exclamation',
  111632. icon: [640, 512, [], "e556", "M256 0c-35 0-64 59.5-64 93.7v84.6L8.1 283.4c-5 2.8-8.1 8.2-8.1 13.9v65.5c0 10.6 10.2 18.3 20.4 15.4l171.6-49 0 70.9-57.6 43.2c-4 3-6.4 7.8-6.4 12.8v42c0 7.8 6.3 14 14 14c1.3 0 2.6-.2 3.9-.5L256 480l110.1 31.5c1.3 .4 2.6 .5 3.9 .5c6 0 11.1-3.7 13.1-9C344.5 470.7 320 422.2 320 368c0-60.6 30.6-114 77.1-145.6L320 178.3V93.7C320 59.5 292 0 256 0zM496 512c79.5 0 144-64.5 144-144s-64.5-144-144-144s-144 64.5-144 144s64.5 144 144 144zm0-48c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm0-192c8.8 0 16 7.2 16 16v80c0 8.8-7.2 16-16 16s-16-7.2-16-16V288c0-8.8 7.2-16 16-16z"]
  111633. };
  111634. var faXRay = {
  111635. prefix: 'fas',
  111636. iconName: 'x-ray',
  111637. icon: [512, 512, [], "f497", "M0 64C0 46.3 14.3 32 32 32H480c17.7 0 32 14.3 32 32s-14.3 32-32 32V416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32V96C14.3 96 0 81.7 0 64zM256 96c-8.8 0-16 7.2-16 16v16H144c-8.8 0-16 7.2-16 16s7.2 16 16 16h96v32H112c-8.8 0-16 7.2-16 16s7.2 16 16 16H240v32H144c-8.8 0-16 7.2-16 16s7.2 16 16 16h96v32H152c-8.9 0-17 4.9-21.2 12.7s-3.7 17.3 1.2 24.6l32 48C168.5 412 176 416 184 416H328c8 0 15.5-4 20-10.7l32-48c4.9-7.4 5.4-16.8 1.2-24.6S368.9 320 360 320H272V288h96c8.8 0 16-7.2 16-16s-7.2-16-16-16H272V224H400c8.8 0 16-7.2 16-16s-7.2-16-16-16H272V160h96c8.8 0 16-7.2 16-16s-7.2-16-16-16H272V112c0-8.8-7.2-16-16-16zM208 384c-8.8 0-16-7.2-16-16s7.2-16 16-16s16 7.2 16 16s-7.2 16-16 16zm112-16c0 8.8-7.2 16-16 16s-16-7.2-16-16s7.2-16 16-16s16 7.2 16 16z"]
  111638. };
  111639. var faSpellCheck = {
  111640. prefix: 'fas',
  111641. iconName: 'spell-check',
  111642. icon: [640, 512, [], "f891", "M144 0c-12.9 0-24.6 7.8-29.5 19.7l-66.7 160-13.3 32c-6.8 16.3 .9 35 17.2 41.8s35-.9 41.8-17.2L98.7 224h90.7l5.1 12.3c6.8 16.3 25.5 24 41.8 17.2s24-25.5 17.2-41.8l-13.3-32-66.7-160C168.6 7.8 156.9 0 144 0zm18.7 160H125.3L144 115.2 162.7 160zM288 32v96 96c0 17.7 14.3 32 32 32h80c44.2 0 80-35.8 80-80c0-23.1-9.8-43.8-25.4-58.4c6-11.2 9.4-24 9.4-37.6c0-44.2-35.8-80-80-80H320c-17.7 0-32 14.3-32 32zm96 64H352V64h32c8.8 0 16 7.2 16 16s-7.2 16-16 16zm-32 64h32 16c8.8 0 16 7.2 16 16s-7.2 16-16 16H352V160zM598.6 310.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L384 434.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0l192-192z"]
  111643. };
  111644. var faSlash = {
  111645. prefix: 'fas',
  111646. iconName: 'slash',
  111647. icon: [640, 512, [], "f715", "M5.1 9.2C13.3-1.2 28.4-3.1 38.8 5.1l592 464c10.4 8.2 12.3 23.3 4.1 33.7s-23.3 12.3-33.7 4.1L9.2 42.9C-1.2 34.7-3.1 19.6 5.1 9.2z"]
  111648. };
  111649. var faComputerMouse = {
  111650. prefix: 'fas',
  111651. iconName: 'computer-mouse',
  111652. icon: [384, 512, [128433, "mouse"], "f8cc", "M0 192H176V0H160C71.6 0 0 71.6 0 160v32zm0 32V352c0 88.4 71.6 160 160 160h64c88.4 0 160-71.6 160-160V224H192 0zm384-32V160C384 71.6 312.4 0 224 0H208V192H384z"]
  111653. };
  111654. var faMouse = faComputerMouse;
  111655. var faArrowRightToBracket = {
  111656. prefix: 'fas',
  111657. iconName: 'arrow-right-to-bracket',
  111658. icon: [512, 512, ["sign-in"], "f090", "M352 96l64 0c17.7 0 32 14.3 32 32l0 256c0 17.7-14.3 32-32 32l-64 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l64 0c53 0 96-43 96-96l0-256c0-53-43-96-96-96l-64 0c-17.7 0-32 14.3-32 32s14.3 32 32 32zm-9.4 182.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L242.7 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l210.7 0-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l128-128z"]
  111659. };
  111660. var faSignIn = faArrowRightToBracket;
  111661. var faShopSlash = {
  111662. prefix: 'fas',
  111663. iconName: 'shop-slash',
  111664. icon: [640, 512, ["store-alt-slash"], "e070", "M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7l-54.8-43V224H512V376L384 275.7V224H320v1.5L277.2 192H603.2c20.3 0 36.8-16.5 36.8-36.8c0-7.3-2.2-14.4-6.2-20.4L558.2 21.4C549.3 8 534.4 0 518.3 0H121.7c-16 0-31 8-39.9 21.4L74.1 32.8 38.8 5.1zM36.8 192h85L21 112.5 6.2 134.7c-4 6.1-6.2 13.2-6.2 20.4C0 175.5 16.5 192 36.8 192zM320 384H128V224H64V384v80c0 26.5 21.5 48 48 48H336c26.5 0 48-21.5 48-48V398.5l-64-50.4V384z"]
  111665. };
  111666. var faStoreAltSlash = faShopSlash;
  111667. var faServer = {
  111668. prefix: 'fas',
  111669. iconName: 'server',
  111670. icon: [512, 512, [], "f233", "M64 32C28.7 32 0 60.7 0 96v64c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM344 152c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm96-24c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24zM64 288c-35.3 0-64 28.7-64 64v64c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V352c0-35.3-28.7-64-64-64H64zM344 408c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm104-24c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24z"]
  111671. };
  111672. var faVirusCovidSlash = {
  111673. prefix: 'fas',
  111674. iconName: 'virus-covid-slash',
  111675. icon: [640, 512, [], "e4a9", "M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L472.1 344.7c11.4-19.5 19.1-41.4 22.3-64.7H528v16c0 13.3 10.7 24 24 24s24-10.7 24-24V216c0-13.3-10.7-24-24-24s-24 10.7-24 24v16H494.4c-4.2-30.7-16.3-58.8-34.1-82.3L484 125.9l11.3 11.3c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L472.7 46.7c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9L450.1 92l-23.8 23.8C402.8 97.9 374.7 85.8 344 81.6V48h16c13.3 0 24-10.7 24-24s-10.7-24-24-24H280c-13.3 0-24 10.7-24 24s10.7 24 24 24h16V81.6c-30.7 4.2-58.8 16.3-82.3 34.1L189.9 92l11.3-11.3c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0L134.1 79.8 38.8 5.1zM149.2 213.5c-1.5 6-2.7 12.2-3.5 18.5H112V216c0-13.3-10.7-24-24-24s-24 10.7-24 24v80c0 13.3 10.7 24 24 24s24-10.7 24-24V280h33.6c4.2 30.7 16.3 58.8 34.1 82.3L156 386.1l-11.3-11.3c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l56.6 56.6c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L189.9 420l23.8-23.8c23.5 17.9 51.7 29.9 82.3 34.1V464H280c-13.3 0-24 10.7-24 24s10.7 24 24 24h80c13.3 0 24-10.7 24-24s-10.7-24-24-24H344V430.4c20.4-2.8 39.7-9.1 57.3-18.2L149.2 213.5z"]
  111676. };
  111677. var faShopLock = {
  111678. prefix: 'fas',
  111679. iconName: 'shop-lock',
  111680. icon: [640, 512, [], "e4a5", "M36.8 192H449.6c20.2-19.8 47.9-32 78.4-32c30.5 0 58.1 12.2 78.3 31.9c18.9-1.6 33.7-17.4 33.7-36.7c0-7.3-2.2-14.4-6.2-20.4L558.2 21.4C549.3 8 534.4 0 518.3 0H121.7c-16 0-31 8-39.9 21.4L6.2 134.7c-4 6.1-6.2 13.2-6.2 20.4C0 175.5 16.5 192 36.8 192zM384 224H320V384H128V224H64V384v80c0 26.5 21.5 48 48 48H336c26.5 0 48-21.5 48-48V384 352 224zm144 16c17.7 0 32 14.3 32 32v48H496V272c0-17.7 14.3-32 32-32zm-80 32v48c-17.7 0-32 14.3-32 32V480c0 17.7 14.3 32 32 32H608c17.7 0 32-14.3 32-32V352c0-17.7-14.3-32-32-32V272c0-44.2-35.8-80-80-80s-80 35.8-80 80z"]
  111681. };
  111682. var faHourglassStart = {
  111683. prefix: 'fas',
  111684. iconName: 'hourglass-start',
  111685. icon: [384, 512, ["hourglass-1"], "f251", "M32 0C14.3 0 0 14.3 0 32S14.3 64 32 64V75c0 42.4 16.9 83.1 46.9 113.1L146.7 256 78.9 323.9C48.9 353.9 32 394.6 32 437v11c-17.7 0-32 14.3-32 32s14.3 32 32 32H64 320h32c17.7 0 32-14.3 32-32s-14.3-32-32-32V437c0-42.4-16.9-83.1-46.9-113.1L237.3 256l67.9-67.9c30-30 46.9-70.7 46.9-113.1V64c17.7 0 32-14.3 32-32s-14.3-32-32-32H320 64 32zM288 437v11H96V437c0-25.5 10.1-49.9 28.1-67.9L192 301.3l67.9 67.9c18 18 28.1 42.4 28.1 67.9z"]
  111686. };
  111687. var faHourglass1 = faHourglassStart;
  111688. var faBlenderPhone = {
  111689. prefix: 'fas',
  111690. iconName: 'blender-phone',
  111691. icon: [576, 512, [], "f6b6", "M192 352V48c0-26.5 21.5-48 48-48H534.1c21.1 0 36.4 20.1 30.9 40.4L558.5 64H400c-8.8 0-16 7.2-16 16s7.2 16 16 16H549.8l-17.5 64H400c-8.8 0-16 7.2-16 16s7.2 16 16 16H523.6l-17.5 64H400c-8.8 0-16 7.2-16 16s7.2 16 16 16h97.5L480 352H192zm16 32H496c26.5 0 48 21.5 48 48v32c0 26.5-21.5 48-48 48H208c-26.5 0-48-21.5-48-48V432c0-26.5 21.5-48 48-48zm144 96c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zM147.5 30.7c10.8 6.7 15.3 21 10.6 33.4l-22 57.8c-4.2 10.9-14.5 17.6-25.3 16.4l-33.3-3.6c-13.6 42.2-13.6 88.4 0 130.7l33.3-3.6c10.9-1.2 21.2 5.5 25.3 16.4l22 57.8c4.7 12.4 .2 26.7-10.6 33.4l-44 27.2c-9.7 6-21.9 4.2-29.8-4.3C-24.6 286-24.6 114 73.7 7.8C81.6-.7 93.8-2.5 103.5 3.5l44 27.2z"]
  111692. };
  111693. var faBuildingWheat = {
  111694. prefix: 'fas',
  111695. iconName: 'building-wheat',
  111696. icon: [640, 512, [], "e4db", "M0 48C0 21.5 21.5 0 48 0H336c26.5 0 48 21.5 48 48V464c0 26.5-21.5 48-48 48H240V432c0-26.5-21.5-48-48-48s-48 21.5-48 48v80H48c-26.5 0-48-21.5-48-48V48zM80 224c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V240c0-8.8-7.2-16-16-16H80zm80 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V240c0-8.8-7.2-16-16-16H176c-8.8 0-16 7.2-16 16zm112-16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V240c0-8.8-7.2-16-16-16H272zM64 112v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V112c0-8.8-7.2-16-16-16H80c-8.8 0-16 7.2-16 16zM176 96c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V112c0-8.8-7.2-16-16-16H176zm80 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V112c0-8.8-7.2-16-16-16H272c-8.8 0-16 7.2-16 16zm384 80v16c0 44.2-35.8 80-80 80H544V272c0-44.2 35.8-80 80-80h16zm0 128c0 44.2-35.8 80-80 80H544V384c0-44.2 35.8-80 80-80h16v16zm0 112c0 44.2-35.8 80-80 80H544V496c0-44.2 35.8-80 80-80h16v16zM512 496v16H496c-44.2 0-80-35.8-80-80V416h16c44.2 0 80 35.8 80 80zm0-96H496c-44.2 0-80-35.8-80-80V304h16c44.2 0 80 35.8 80 80v16zm0-128v16H496c-44.2 0-80-35.8-80-80V192h16c44.2 0 80 35.8 80 80zM528 32c13.3 0 24 10.7 24 24V160c0 13.3-10.7 24-24 24s-24-10.7-24-24V56c0-13.3 10.7-24 24-24zm96 64v32c0 13.3-10.7 24-24 24s-24-10.7-24-24V96c0-13.3 10.7-24 24-24s24 10.7 24 24zM456 72c13.3 0 24 10.7 24 24v32c0 13.3-10.7 24-24 24s-24-10.7-24-24V96c0-13.3 10.7-24 24-24z"]
  111697. };
  111698. var faPersonBreastfeeding = {
  111699. prefix: 'fas',
  111700. iconName: 'person-breastfeeding',
  111701. icon: [512, 512, [], "e53a", "M256 160c-44.2 0-80-35.8-80-80s35.8-80 80-80s80 35.8 80 80s-35.8 80-80 80zM468.8 382.8L405.5 462c-16.6 20.7-46.8 24.1-67.5 7.5c-17.6-14.1-22.7-38.1-13.5-57.7l-.7-.1c-38.9-5.6-74.3-25.1-99.7-54.8V320c0-17.7-14.3-32-32-32s-32 14.3-32 32v48c0 .8 0 1.6 .1 2.4l101.4 50.7c23.7 11.9 33.3 40.7 21.5 64.4s-40.7 33.3-64.4 21.5L59.2 427.3c-1.1-.5-2.2-1.1-3.3-1.7c-4.9-2.8-9.2-6.4-12.6-10.6c-4.6-5.4-7.8-11.7-9.6-18.4c-3.3-12-1.9-25.2 4.8-36.6c.6-1.1 1.3-2.2 2-3.2l67.1-100.6c26.7-40.1 71.7-64.1 119.8-64.1h75.2c46.5 0 90.1 22.5 117.2 60.3l50.7 70.9c2.2 3 4 6.1 5.5 9.4c2.9 6.7 4.3 13.8 4 20.8c-.3 10.6-4.2 21-11.2 29.4zM352 332c0-24.3-19.7-44-44-44s-44 19.7-44 44s19.7 44 44 44s44-19.7 44-44z"]
  111702. };
  111703. var faRightToBracket = {
  111704. prefix: 'fas',
  111705. iconName: 'right-to-bracket',
  111706. icon: [512, 512, ["sign-in-alt"], "f2f6", "M352 96h64c17.7 0 32 14.3 32 32V384c0 17.7-14.3 32-32 32H352c-17.7 0-32 14.3-32 32s14.3 32 32 32h64c53 0 96-43 96-96V128c0-53-43-96-96-96H352c-17.7 0-32 14.3-32 32s14.3 32 32 32zm-7.5 177.4c4.8-4.5 7.5-10.8 7.5-17.4s-2.7-12.9-7.5-17.4l-144-136c-7-6.6-17.2-8.4-26-4.6s-14.5 12.5-14.5 22v72H32c-17.7 0-32 14.3-32 32v64c0 17.7 14.3 32 32 32H160v72c0 9.6 5.7 18.2 14.5 22s19 2 26-4.6l144-136z"]
  111707. };
  111708. var faSignInAlt = faRightToBracket;
  111709. var faVenus = {
  111710. prefix: 'fas',
  111711. iconName: 'venus',
  111712. icon: [384, 512, [9792], "f221", "M304 176c0 61.9-50.1 112-112 112s-112-50.1-112-112s50.1-112 112-112s112 50.1 112 112zM224 349.1c81.9-15 144-86.8 144-173.1C368 78.8 289.2 0 192 0S16 78.8 16 176c0 86.3 62.1 158.1 144 173.1V384H128c-17.7 0-32 14.3-32 32s14.3 32 32 32h32v32c0 17.7 14.3 32 32 32s32-14.3 32-32V448h32c17.7 0 32-14.3 32-32s-14.3-32-32-32H224V349.1z"]
  111713. };
  111714. var faPassport = {
  111715. prefix: 'fas',
  111716. iconName: 'passport',
  111717. icon: [448, 512, [], "f5ab", "M0 64C0 28.7 28.7 0 64 0H384c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64zM183 278.8c-27.9-13.2-48.4-39.4-53.7-70.8h39.1c1.6 30.4 7.7 53.8 14.6 70.8zm41.3 9.2l-.3 0-.3 0c-2.4-3.5-5.7-8.9-9.1-16.5c-6-13.6-12.4-34.3-14.2-63.5h47.1c-1.8 29.2-8.1 49.9-14.2 63.5c-3.4 7.6-6.7 13-9.1 16.5zm40.7-9.2c6.8-17.1 12.9-40.4 14.6-70.8h39.1c-5.3 31.4-25.8 57.6-53.7 70.8zM279.6 176c-1.6-30.4-7.7-53.8-14.6-70.8c27.9 13.2 48.4 39.4 53.7 70.8H279.6zM223.7 96l.3 0 .3 0c2.4 3.5 5.7 8.9 9.1 16.5c6 13.6 12.4 34.3 14.2 63.5H200.5c1.8-29.2 8.1-49.9 14.2-63.5c3.4-7.6 6.7-13 9.1-16.5zM183 105.2c-6.8 17.1-12.9 40.4-14.6 70.8H129.3c5.3-31.4 25.8-57.6 53.7-70.8zM352 192c0-70.7-57.3-128-128-128S96 121.3 96 192s57.3 128 128 128s128-57.3 128-128zM112 384c-8.8 0-16 7.2-16 16s7.2 16 16 16H336c8.8 0 16-7.2 16-16s-7.2-16-16-16H112z"]
  111718. };
  111719. var faHeartPulse = {
  111720. prefix: 'fas',
  111721. iconName: 'heart-pulse',
  111722. icon: [512, 512, ["heartbeat"], "f21e", "M228.3 469.1L47.6 300.4c-4.2-3.9-8.2-8.1-11.9-12.4h87c22.6 0 43-13.6 51.7-34.5l10.5-25.2 49.3 109.5c3.8 8.5 12.1 14 21.4 14.1s17.8-5 22-13.3L320 253.7l1.7 3.4c9.5 19 28.9 31 50.1 31H476.3c-3.7 4.3-7.7 8.5-11.9 12.4L283.7 469.1c-7.5 7-17.4 10.9-27.7 10.9s-20.2-3.9-27.7-10.9zM503.7 240h-132c-3 0-5.8-1.7-7.2-4.4l-23.2-46.3c-4.1-8.1-12.4-13.3-21.5-13.3s-17.4 5.1-21.5 13.3l-41.4 82.8L205.9 158.2c-3.9-8.7-12.7-14.3-22.2-14.1s-18.1 5.9-21.8 14.8l-31.8 76.3c-1.2 3-4.2 4.9-7.4 4.9H16c-2.6 0-5 .4-7.3 1.1C3 225.2 0 208.2 0 190.9v-5.8c0-69.9 50.5-129.5 119.4-141C165 36.5 211.4 51.4 244 84l12 12 12-12c32.6-32.6 79-47.5 124.6-39.9C461.5 55.6 512 115.2 512 185.1v5.8c0 16.9-2.8 33.5-8.3 49.1z"]
  111723. };
  111724. var faHeartbeat = faHeartPulse;
  111725. var faPeopleCarryBox = {
  111726. prefix: 'fas',
  111727. iconName: 'people-carry-box',
  111728. icon: [640, 512, ["people-carry"], "f4ce", "M176 48c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zM144 241.7v65.1l51 51c7.1 7.1 11.8 16.2 13.4 26.1l15.2 90.9c2.9 17.4-8.9 33.9-26.3 36.8s-33.9-8.9-36.8-26.3l-14.3-85.9L66.8 320C54.8 308 48 291.7 48 274.7V186.6c0-32.4 26.2-58.6 58.6-58.6c24.1 0 46.5 12 59.9 32l47.4 71.1 10.1 5V160c0-17.7 14.3-32 32-32H384c17.7 0 32 14.3 32 32v76.2l10.1-5L473.5 160c13.3-20 35.8-32 59.9-32c32.4 0 58.6 26.2 58.6 58.6v88.1c0 17-6.7 33.3-18.7 45.3l-79.4 79.4-14.3 85.9c-2.9 17.4-19.4 29.2-36.8 26.3s-29.2-19.4-26.3-36.8l15.2-90.9c1.6-9.9 6.3-19 13.4-26.1l51-51V241.7l-19 28.5c-4.6 7-11 12.6-18.5 16.3l-59.6 29.8c-2.4 1.3-4.9 2.2-7.6 2.8c-2.6 .6-5.3 .9-7.9 .8H256.7c-2.5 .1-5-.2-7.5-.7c-2.9-.6-5.6-1.6-8.1-3l-59.5-29.8c-7.5-3.7-13.8-9.4-18.5-16.3l-19-28.5zM2.3 468.1L50.1 348.6l49.2 49.2-37.6 94c-6.6 16.4-25.2 24.4-41.6 17.8S-4.3 484.5 2.3 468.1zM512 96c-26.5 0-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48zm77.9 252.6l47.8 119.5c6.6 16.4-1.4 35-17.8 41.6s-35-1.4-41.6-17.8l-37.6-94 49.2-49.2z"]
  111729. };
  111730. var faPeopleCarry = faPeopleCarryBox;
  111731. var faTemperatureHigh = {
  111732. prefix: 'fas',
  111733. iconName: 'temperature-high',
  111734. icon: [512, 512, [], "f769", "M416 128c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zm0 64c53 0 96-43 96-96s-43-96-96-96s-96 43-96 96s43 96 96 96zM96 112c0-26.5 21.5-48 48-48s48 21.5 48 48V276.5c0 17.3 7.1 31.9 15.3 42.5C217.8 332.6 224 349.5 224 368c0 44.2-35.8 80-80 80s-80-35.8-80-80c0-18.5 6.2-35.4 16.7-48.9C88.9 308.4 96 293.8 96 276.5V112zM144 0C82.1 0 32 50.2 32 112V276.5c0 .1-.1 .3-.2 .6c-.2 .6-.8 1.6-1.7 2.8C11.2 304.2 0 334.8 0 368c0 79.5 64.5 144 144 144s144-64.5 144-144c0-33.2-11.3-63.8-30.1-88.1c-.9-1.2-1.5-2.2-1.7-2.8c-.1-.3-.2-.5-.2-.6V112C256 50.2 205.9 0 144 0zm0 416c26.5 0 48-21.5 48-48c0-20.9-13.4-38.7-32-45.3V112c0-8.8-7.2-16-16-16s-16 7.2-16 16V322.7c-18.6 6.6-32 24.4-32 45.3c0 26.5 21.5 48 48 48z"]
  111735. };
  111736. var faMicrochip = {
  111737. prefix: 'fas',
  111738. iconName: 'microchip',
  111739. icon: [512, 512, [], "f2db", "M176 24c0-13.3-10.7-24-24-24s-24 10.7-24 24V64c-35.3 0-64 28.7-64 64H24c-13.3 0-24 10.7-24 24s10.7 24 24 24H64v56H24c-13.3 0-24 10.7-24 24s10.7 24 24 24H64v56H24c-13.3 0-24 10.7-24 24s10.7 24 24 24H64c0 35.3 28.7 64 64 64v40c0 13.3 10.7 24 24 24s24-10.7 24-24V448h56v40c0 13.3 10.7 24 24 24s24-10.7 24-24V448h56v40c0 13.3 10.7 24 24 24s24-10.7 24-24V448c35.3 0 64-28.7 64-64h40c13.3 0 24-10.7 24-24s-10.7-24-24-24H448V280h40c13.3 0 24-10.7 24-24s-10.7-24-24-24H448V176h40c13.3 0 24-10.7 24-24s-10.7-24-24-24H448c0-35.3-28.7-64-64-64V24c0-13.3-10.7-24-24-24s-24 10.7-24 24V64H280V24c0-13.3-10.7-24-24-24s-24 10.7-24 24V64H176V24zM160 128H352c17.7 0 32 14.3 32 32V352c0 17.7-14.3 32-32 32H160c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32zm192 32H160V352H352V160z"]
  111740. };
  111741. var faCrown = {
  111742. prefix: 'fas',
  111743. iconName: 'crown',
  111744. icon: [576, 512, [128081], "f521", "M309 106c11.4-7 19-19.7 19-34c0-22.1-17.9-40-40-40s-40 17.9-40 40c0 14.4 7.6 27 19 34L209.7 220.6c-9.1 18.2-32.7 23.4-48.6 10.7L72 160c5-6.7 8-15 8-24c0-22.1-17.9-40-40-40S0 113.9 0 136s17.9 40 40 40c.2 0 .5 0 .7 0L86.4 427.4c5.5 30.4 32 52.6 63 52.6H426.6c30.9 0 57.4-22.1 63-52.6L535.3 176c.2 0 .5 0 .7 0c22.1 0 40-17.9 40-40s-17.9-40-40-40s-40 17.9-40 40c0 9 3 17.3 8 24l-89.1 71.3c-15.9 12.7-39.5 7.5-48.6-10.7L309 106z"]
  111745. };
  111746. var faWeightHanging = {
  111747. prefix: 'fas',
  111748. iconName: 'weight-hanging',
  111749. icon: [512, 512, [], "f5cd", "M288 96c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zm58.5 32c3.5-10 5.5-20.8 5.5-32c0-53-43-96-96-96s-96 43-96 96c0 11.2 1.9 22 5.5 32H120c-22 0-41.2 15-46.6 36.4l-72 288c-3.6 14.3-.4 29.5 8.7 41.2S33.2 512 48 512H464c14.8 0 28.7-6.8 37.8-18.5s12.3-26.8 8.7-41.2l-72-288C433.2 143 414 128 392 128H346.5z"]
  111750. };
  111751. var faXmarksLines = {
  111752. prefix: 'fas',
  111753. iconName: 'xmarks-lines',
  111754. icon: [640, 512, [], "e59a", "M32 32C14.3 32 0 46.3 0 64S14.3 96 32 96H608c17.7 0 32-14.3 32-32s-14.3-32-32-32H32zm0 384c-17.7 0-32 14.3-32 32s14.3 32 32 32H608c17.7 0 32-14.3 32-32s-14.3-32-32-32H32zM7 167c-9.4 9.4-9.4 24.6 0 33.9l55 55L7 311c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l55-55 55 55c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-55-55 55-55c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-55 55L41 167c-9.4-9.4-24.6-9.4-33.9 0zM265 167c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l55 55-55 55c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l55-55 55 55c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-55-55 55-55c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-55 55-55-55zM455 167c-9.4 9.4-9.4 24.6 0 33.9l55 55-55 55c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l55-55 55 55c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-55-55 55-55c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-55 55-55-55c-9.4-9.4-24.6-9.4-33.9 0z"]
  111755. };
  111756. var faFilePrescription = {
  111757. prefix: 'fas',
  111758. iconName: 'file-prescription',
  111759. icon: [384, 512, [], "f572", "M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM104 196h72c33.1 0 60 26.9 60 60c0 25.5-15.9 47.2-38.3 55.9l43 40.3 33.8-31c8.1-7.5 20.8-6.9 28.3 1.2s6.9 20.8-1.2 28.3L270 379.7l31.7 29.7c8.1 7.6 8.5 20.2 .9 28.3s-20.2 8.5-28.3 .9l-33.9-31.8-34.9 32c-8.1 7.5-20.8 6.9-28.3-1.2s-6.9-20.8 1.2-28.3l32.6-29.9-64.8-60.8c-.9-.8-1.6-1.7-2.3-2.6H124v44c0 11-9 20-20 20s-20-9-20-20V296 216c0-11 9-20 20-20zm72 80c11 0 20-9 20-20s-9-20-20-20H124v40h52z"]
  111760. };
  111761. var faWeightScale = {
  111762. prefix: 'fas',
  111763. iconName: 'weight-scale',
  111764. icon: [512, 512, ["weight"], "f496", "M384 176c0 70.7-57.3 128-128 128s-128-57.3-128-128s57.3-128 128-128s128 57.3 128 128zm7.8-112C359.5 24.9 310.7 0 256 0S152.5 24.9 120.2 64H64C28.7 64 0 92.7 0 128V448c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64H391.8zM296 224c0-10.6-4.1-20.2-10.9-27.4l33.6-78.3c3.5-8.1-.3-17.5-8.4-21s-17.5 .3-21 8.4L255.7 184c-22 .1-39.7 18-39.7 40c0 22.1 17.9 40 40 40s40-17.9 40-40z"]
  111765. };
  111766. var faWeight = faWeightScale;
  111767. var faUserGroup = {
  111768. prefix: 'fas',
  111769. iconName: 'user-group',
  111770. icon: [640, 512, [128101, "user-friends"], "f500", "M352 128c0 70.7-57.3 128-128 128s-128-57.3-128-128S153.3 0 224 0s128 57.3 128 128zM0 482.3C0 383.8 79.8 304 178.3 304h91.4C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3zM609.3 512H471.4c5.4-9.4 8.6-20.3 8.6-32v-8c0-60.7-27.1-115.2-69.8-151.8c2.4-.1 4.7-.2 7.1-.2h61.4C567.8 320 640 392.2 640 481.3c0 17-13.8 30.7-30.7 30.7zM432 256c-31 0-59-12.6-79.3-32.9C372.4 196.5 384 163.6 384 128c0-26.8-6.6-52.1-18.3-74.3C384.3 40.1 407.2 32 432 32c61.9 0 112 50.1 112 112s-50.1 112-112 112z"]
  111771. };
  111772. var faUserFriends = faUserGroup;
  111773. var faArrowUpAZ = {
  111774. prefix: 'fas',
  111775. iconName: 'arrow-up-a-z',
  111776. icon: [576, 512, ["sort-alpha-up"], "f15e", "M183.6 42.4C177.5 35.8 169 32 160 32s-17.5 3.8-23.6 10.4l-88 96c-11.9 13-11.1 33.3 2 45.2s33.3 11.1 45.2-2L128 146.3V448c0 17.7 14.3 32 32 32s32-14.3 32-32V146.3l32.4 35.4c11.9 13 32.2 13.9 45.2 2s13.9-32.2 2-45.2l-88-96zM320 320c0 17.7 14.3 32 32 32h50.7l-73.4 73.4c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H429.3l73.4-73.4c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8H352c-17.7 0-32 14.3-32 32zM416 32c-12.1 0-23.2 6.8-28.6 17.7l-64 128-16 32c-7.9 15.8-1.5 35 14.3 42.9s35 1.5 42.9-14.3l7.2-14.3h88.4l7.2 14.3c7.9 15.8 27.1 22.2 42.9 14.3s22.2-27.1 14.3-42.9l-16-32-64-128C439.2 38.8 428.1 32 416 32zM395.8 176L416 135.6 436.2 176H395.8z"]
  111777. };
  111778. var faSortAlphaUp = faArrowUpAZ;
  111779. var faChessKnight = {
  111780. prefix: 'fas',
  111781. iconName: 'chess-knight',
  111782. icon: [384, 512, [9822], "f441", "M32 391.6V416H352V224c0-106-86-192-192-192H12.9C5.8 32 0 37.8 0 44.9c0 2 .5 4 1.4 5.8L16 80 9.4 86.6c-6 6-9.4 14.1-9.4 22.6V242.3c0 13.1 8 24.9 20.1 29.7l46.5 18.6c8.5 3.4 18 3 26.2-1.1l6.6-3.3c8-4 14-11.2 16.5-19.8l8.3-28.9c2.5-8.6 8.4-15.8 16.5-19.8L160 208v40.4c0 24.2-13.7 46.4-35.4 57.2L67.4 334.3C45.7 345.2 32 367.3 32 391.6zM72 148c0 11-9 20-20 20s-20-9-20-20s9-20 20-20s20 9 20 20zM352 448H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H352c17.7 0 32-14.3 32-32s-14.3-32-32-32z"]
  111783. };
  111784. var faFaceLaughSquint = {
  111785. prefix: 'fas',
  111786. iconName: 'face-laugh-squint',
  111787. icon: [512, 512, ["laugh-squint"], "f59b", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM96.8 314.1c-3.8-13.7 7.4-26.1 21.6-26.1H393.6c14.2 0 25.5 12.4 21.6 26.1C396.2 382 332.1 432 256 432s-140.2-50-159.2-117.9zm36.7-199.4l89.9 47.9c10.7 5.7 10.7 21.1 0 26.8l-89.9 47.9c-7.9 4.2-17.5-1.5-17.5-10.5c0-2.8 1-5.5 2.8-7.6l36-43.2-36-43.2c-1.8-2.1-2.8-4.8-2.8-7.6c0-9 9.6-14.7 17.5-10.5zM396 125.1c0 2.8-1 5.5-2.8 7.6l-36 43.2 36 43.2c1.8 2.1 2.8 4.8 2.8 7.6c0 9-9.6 14.7-17.5 10.5l-89.9-47.9c-10.7-5.7-10.7-21.1 0-26.8l89.9-47.9c7.9-4.2 17.5 1.5 17.5 10.5z"]
  111788. };
  111789. var faLaughSquint = faFaceLaughSquint;
  111790. var faWheelchair = {
  111791. prefix: 'fas',
  111792. iconName: 'wheelchair',
  111793. icon: [576, 512, [], "f193", "M224 96c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zM152.5 247.2c12.4-4.7 18.7-18.5 14-30.9s-18.5-18.7-30.9-14C75.1 225.1 32 283.5 32 352c0 88.4 71.6 160 160 160c61.2 0 114.3-34.3 141.2-84.7c6.2-11.7 1.8-26.2-9.9-32.5s-26.2-1.8-32.5 9.9C272 440 234.8 464 192 464c-61.9 0-112-50.1-112-112c0-47.9 30.1-88.8 72.5-104.8zM291.8 176l-1.9-9.7c-4.5-22.3-24-38.3-46.8-38.3c-30.1 0-52.7 27.5-46.8 57l23.1 115.5c6 29.9 32.2 51.4 62.8 51.4h5.1c.4 0 .8 0 1.3 0h94.1c6.7 0 12.6 4.1 15 10.4L434 459.2c6 16.1 23.8 24.6 40.1 19.1l48-16c16.8-5.6 25.8-23.7 20.2-40.5s-23.7-25.8-40.5-20.2l-18.7 6.2-25.5-68c-11.7-31.2-41.6-51.9-74.9-51.9H314.2l-9.6-48H368c17.7 0 32-14.3 32-32s-14.3-32-32-32H291.8z"]
  111794. };
  111795. var faCircleArrowUp = {
  111796. prefix: 'fas',
  111797. iconName: 'circle-arrow-up',
  111798. icon: [512, 512, ["arrow-circle-up"], "f0aa", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM385 215c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-71-71V392c0 13.3-10.7 24-24 24s-24-10.7-24-24V177.9l-71 71c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9L239 103c9.4-9.4 24.6-9.4 33.9 0L385 215z"]
  111799. };
  111800. var faArrowCircleUp = faCircleArrowUp;
  111801. var faToggleOn = {
  111802. prefix: 'fas',
  111803. iconName: 'toggle-on',
  111804. icon: [576, 512, [], "f205", "M192 64C86 64 0 150 0 256S86 448 192 448H384c106 0 192-86 192-192s-86-192-192-192H192zM384 352c-53 0-96-43-96-96s43-96 96-96s96 43 96 96s-43 96-96 96z"]
  111805. };
  111806. var faPersonWalking = {
  111807. prefix: 'fas',
  111808. iconName: 'person-walking',
  111809. icon: [320, 512, [128694, "walking"], "f554", "M256 48c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zM126.5 199.3c-1 .4-1.9 .8-2.9 1.2l-8 3.5c-16.4 7.3-29 21.2-34.7 38.2l-2.6 7.8c-5.6 16.8-23.7 25.8-40.5 20.2s-25.8-23.7-20.2-40.5l2.6-7.8c11.4-34.1 36.6-61.9 69.4-76.5l8-3.5c20.8-9.2 43.3-14 66.1-14c44.6 0 84.8 26.8 101.9 67.9L281 232.7l21.4 10.7c15.8 7.9 22.2 27.1 14.3 42.9s-27.1 22.2-42.9 14.3L247 287.3c-10.3-5.2-18.4-13.8-22.8-24.5l-9.6-23-19.3 65.5 49.5 54c5.4 5.9 9.2 13 11.2 20.8l23 92.1c4.3 17.1-6.1 34.5-23.3 38.8s-34.5-6.1-38.8-23.3l-22-88.1-70.7-77.1c-14.8-16.1-20.3-38.6-14.7-59.7l16.9-63.5zM68.7 398l25-62.4c2.1 3 4.5 5.8 7 8.6l40.7 44.4-14.5 36.2c-2.4 6-6 11.5-10.6 16.1L54.6 502.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L68.7 398z"]
  111810. };
  111811. var faWalking = faPersonWalking;
  111812. var faL = {
  111813. prefix: 'fas',
  111814. iconName: 'l',
  111815. icon: [320, 512, [108], "4c", "M64 32c17.7 0 32 14.3 32 32V416H288c17.7 0 32 14.3 32 32s-14.3 32-32 32H64c-17.7 0-32-14.3-32-32V64c0-17.7 14.3-32 32-32z"]
  111816. };
  111817. var faFire = {
  111818. prefix: 'fas',
  111819. iconName: 'fire',
  111820. icon: [448, 512, [128293], "f06d", "M159.3 5.4c7.8-7.3 19.9-7.2 27.7 .1c27.6 25.9 53.5 53.8 77.7 84c11-14.4 23.5-30.1 37-42.9c7.9-7.4 20.1-7.4 28 .1c34.6 33 63.9 76.6 84.5 118c20.3 40.8 33.8 82.5 33.8 111.9C448 404.2 348.2 512 224 512C98.4 512 0 404.1 0 276.5c0-38.4 17.8-85.3 45.4-131.7C73.3 97.7 112.7 48.6 159.3 5.4zM225.7 416c25.3 0 47.7-7 68.8-21c42.1-29.4 53.4-88.2 28.1-134.4c-2.8-5.6-5.6-11.2-9.8-16.8l-50.6 58.8s-81.4-103.6-87.1-110.6C133.1 243.8 112 273.2 112 306.8C112 375.4 162.6 416 225.7 416z"]
  111821. };
  111822. var faBedPulse = {
  111823. prefix: 'fas',
  111824. iconName: 'bed-pulse',
  111825. icon: [640, 512, ["procedures"], "f487", "M483.2 9.6L524 64h92c13.3 0 24 10.7 24 24s-10.7 24-24 24H512c-7.6 0-14.7-3.6-19.2-9.6L468.7 70.3l-47 99.9c-3.7 7.8-11.3 13.1-19.9 13.7s-16.9-3.4-21.7-10.6L339.2 112H216c-13.3 0-24-10.7-24-24s10.7-24 24-24H352c8 0 15.5 4 20 10.7l24.4 36.6 45.9-97.5C445.9 6.2 453.2 1 461.6 .1s16.6 2.7 21.6 9.5zM320 160h12.7l20.7 31.1c11.2 16.8 30.6 26.3 50.7 24.8s37.9-13.7 46.5-32L461.9 160H544c53 0 96 43 96 96V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V448H352 320 64v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V96C0 78.3 14.3 64 32 64s32 14.3 32 32V352H288V192c0-17.7 14.3-32 32-32zM176 320c-44.2 0-80-35.8-80-80s35.8-80 80-80s80 35.8 80 80s-35.8 80-80 80z"]
  111826. };
  111827. var faProcedures = faBedPulse;
  111828. var faShuttleSpace = {
  111829. prefix: 'fas',
  111830. iconName: 'shuttle-space',
  111831. icon: [640, 512, ["space-shuttle"], "f197", "M130 480c40.6 0 80.4-11 115.2-31.9L352 384l-224 0 0 96h2zM352 128L245.2 63.9C210.4 43 170.6 32 130 32h-2v96l224 0zM96 128l0-96H80C53.5 32 32 53.5 32 80v48h8c-22.1 0-40 17.9-40 40v16V328v16c0 22.1 17.9 40 40 40H32v48c0 26.5 21.5 48 48 48H96l0-96h8c26.2 0 49.4-12.6 64-32H456c69.3 0 135-22.7 179.2-81.6c6.4-8.5 6.4-20.3 0-28.8C591 182.7 525.3 160 456 160H168c-14.6-19.4-37.8-32-64-32l-8 0zM512 243.6v24.9c0 19.6-15.9 35.6-35.6 35.6c-2.5 0-4.4-2-4.4-4.4V212.4c0-2.5 2-4.4 4.4-4.4c19.6 0 35.6 15.9 35.6 35.6z"]
  111832. };
  111833. var faSpaceShuttle = faShuttleSpace;
  111834. var faFaceLaugh = {
  111835. prefix: 'fas',
  111836. iconName: 'face-laugh',
  111837. icon: [512, 512, ["laugh"], "f599", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM96.8 314.1c-3.8-13.7 7.4-26.1 21.6-26.1H393.6c14.2 0 25.5 12.4 21.6 26.1C396.2 382 332.1 432 256 432s-140.2-50-159.2-117.9zM208.4 192c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zm128 32c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]
  111838. };
  111839. var faLaugh = faFaceLaugh;
  111840. var faFolderOpen = {
  111841. prefix: 'fas',
  111842. iconName: 'folder-open',
  111843. icon: [576, 512, [128194, 128449, 61717], "f07c", "M88.7 223.8L0 375.8V96C0 60.7 28.7 32 64 32H181.5c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 28.3 18.7 45.3 18.7H416c35.3 0 64 28.7 64 64v32H144c-22.8 0-43.8 12.1-55.3 31.8zm27.6 16.1C122.1 230 132.6 224 144 224H544c11.5 0 22 6.1 27.7 16.1s5.7 22.2-.1 32.1l-112 192C453.9 474 443.4 480 432 480H32c-11.5 0-22-6.1-27.7-16.1s-5.7-22.2 .1-32.1l112-192z"]
  111844. };
  111845. var faHeartCirclePlus = {
  111846. prefix: 'fas',
  111847. iconName: 'heart-circle-plus',
  111848. icon: [576, 512, [], "e500", "M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9l2.6-2.4C267.2 438.6 256 404.6 256 368c0-97.2 78.8-176 176-176c28.3 0 55 6.7 78.7 18.5c.9-6.5 1.3-13 1.3-19.6v-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1v5.8c0 41.5 17.2 81.2 47.6 109.5zM432 512c79.5 0 144-64.5 144-144s-64.5-144-144-144s-144 64.5-144 144s64.5 144 144 144zm16-208v48h48c8.8 0 16 7.2 16 16s-7.2 16-16 16H448v48c0 8.8-7.2 16-16 16s-16-7.2-16-16V384H368c-8.8 0-16-7.2-16-16s7.2-16 16-16h48V304c0-8.8 7.2-16 16-16s16 7.2 16 16z"]
  111849. };
  111850. var faCodeFork = {
  111851. prefix: 'fas',
  111852. iconName: 'code-fork',
  111853. icon: [448, 512, [], "e13b", "M80 104c13.3 0 24-10.7 24-24s-10.7-24-24-24S56 66.7 56 80s10.7 24 24 24zm80-24c0 32.8-19.7 61-48 73.3V192c0 17.7 14.3 32 32 32H304c17.7 0 32-14.3 32-32V153.3C307.7 141 288 112.8 288 80c0-44.2 35.8-80 80-80s80 35.8 80 80c0 32.8-19.7 61-48 73.3V192c0 53-43 96-96 96H256v70.7c28.3 12.3 48 40.5 48 73.3c0 44.2-35.8 80-80 80s-80-35.8-80-80c0-32.8 19.7-61 48-73.3V288H144c-53 0-96-43-96-96V153.3C19.7 141 0 112.8 0 80C0 35.8 35.8 0 80 0s80 35.8 80 80zm208 24c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24zM248 432c0-13.3-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24s24-10.7 24-24z"]
  111854. };
  111855. var faCity = {
  111856. prefix: 'fas',
  111857. iconName: 'city',
  111858. icon: [640, 512, [127961], "f64f", "M480 48c0-26.5-21.5-48-48-48H336c-26.5 0-48 21.5-48 48V96H224V24c0-13.3-10.7-24-24-24s-24 10.7-24 24V96H112V24c0-13.3-10.7-24-24-24S64 10.7 64 24V96H48C21.5 96 0 117.5 0 144v96V464c0 26.5 21.5 48 48 48H304h32 96H592c26.5 0 48-21.5 48-48V240c0-26.5-21.5-48-48-48H480V48zm96 320v32c0 8.8-7.2 16-16 16H528c-8.8 0-16-7.2-16-16V368c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16zM240 416H208c-8.8 0-16-7.2-16-16V368c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16zM128 400c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V368c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32zM560 256c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H528c-8.8 0-16-7.2-16-16V272c0-8.8 7.2-16 16-16h32zM256 176v32c0 8.8-7.2 16-16 16H208c-8.8 0-16-7.2-16-16V176c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16zM112 160c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V176c0-8.8 7.2-16 16-16h32zM256 304c0 8.8-7.2 16-16 16H208c-8.8 0-16-7.2-16-16V272c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32zM112 320H80c-8.8 0-16-7.2-16-16V272c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16zm304-48v32c0 8.8-7.2 16-16 16H368c-8.8 0-16-7.2-16-16V272c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16zM400 64c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H368c-8.8 0-16-7.2-16-16V80c0-8.8 7.2-16 16-16h32zm16 112v32c0 8.8-7.2 16-16 16H368c-8.8 0-16-7.2-16-16V176c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16z"]
  111859. };
  111860. var faMicrophoneLines = {
  111861. prefix: 'fas',
  111862. iconName: 'microphone-lines',
  111863. icon: [384, 512, [127897, "microphone-alt"], "f3c9", "M96 96V256c0 53 43 96 96 96s96-43 96-96H208c-8.8 0-16-7.2-16-16s7.2-16 16-16h80V192H208c-8.8 0-16-7.2-16-16s7.2-16 16-16h80V128H208c-8.8 0-16-7.2-16-16s7.2-16 16-16h80c0-53-43-96-96-96S96 43 96 96zM320 240v16c0 70.7-57.3 128-128 128s-128-57.3-128-128V216c0-13.3-10.7-24-24-24s-24 10.7-24 24v40c0 89.1 66.2 162.7 152 174.4V464H120c-13.3 0-24 10.7-24 24s10.7 24 24 24h72 72c13.3 0 24-10.7 24-24s-10.7-24-24-24H216V430.4c85.8-11.7 152-85.3 152-174.4V216c0-13.3-10.7-24-24-24s-24 10.7-24 24v24z"]
  111864. };
  111865. var faMicrophoneAlt = faMicrophoneLines;
  111866. var faPepperHot = {
  111867. prefix: 'fas',
  111868. iconName: 'pepper-hot',
  111869. icon: [512, 512, [127798], "f816", "M428.3 3c11.6-6.4 26.2-2.3 32.6 9.3l4.8 8.7c19.3 34.7 19.8 75.7 3.4 110C495.8 159.6 512 197.9 512 240c0 18.5-3.1 36.3-8.9 52.8c-6.1 17.3-28.5 16.3-36.8-.1l-11.7-23.4c-4.1-8.1-12.4-13.3-21.5-13.3H360c-13.3 0-24-10.7-24-24V152c0-13.3-10.7-24-24-24l-17.1 0c-21.3 0-30-23.9-10.8-32.9C304.7 85.4 327.7 80 352 80c28.3 0 54.8 7.3 77.8 20.2c5.5-18.2 3.7-38.4-6-55.8L419 35.7c-6.4-11.6-2.3-26.2 9.3-32.6zM171.2 345.5L264 160l40 0v80c0 26.5 21.5 48 48 48h76.2l23.9 47.8C372.3 443.9 244.3 512 103.2 512H44.4C19.9 512 0 492.1 0 467.6c0-20.8 14.5-38.8 34.8-43.3l49.8-11.1c37.6-8.4 69.5-33.2 86.7-67.7z"]
  111870. };
  111871. var faUnlock = {
  111872. prefix: 'fas',
  111873. iconName: 'unlock',
  111874. icon: [448, 512, [128275], "f09c", "M144 144c0-44.2 35.8-80 80-80c31.9 0 59.4 18.6 72.3 45.7c7.6 16 26.7 22.8 42.6 15.2s22.8-26.7 15.2-42.6C331 33.7 281.5 0 224 0C144.5 0 80 64.5 80 144v48H64c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V256c0-35.3-28.7-64-64-64H144V144z"]
  111875. };
  111876. var faColonSign = {
  111877. prefix: 'fas',
  111878. iconName: 'colon-sign',
  111879. icon: [384, 512, [], "e140", "M255 39.8c4.3-17.1-6.1-34.5-23.3-38.8S197.2 7.1 193 24.2L181.9 68.6C96.1 87.8 32 164.4 32 256c0 58.1 25.8 110.2 66.7 145.4L81 472.2c-4.3 17.1 6.1 34.5 23.3 38.8s34.5-6.1 38.8-23.3l13-52.1c9 3.4 18.4 6.2 28 8.2L177 472.2c-4.3 17.1 6.1 34.5 23.3 38.8s34.5-6.1 38.8-23.3l10.4-41.4c33.4-4.4 64.1-17.4 89.8-36.7c14.1-10.6 17-30.7 6.4-44.8s-30.7-17-44.8-6.4c-10.2 7.7-21.7 13.9-34 18.3L321 160c9.4-.3 18.5-4.7 24.6-12.8c10.6-14.1 7.8-34.2-6.4-44.8c-1.1-.8-2.2-1.6-3.3-2.4L351 39.8c4.3-17.1-6.1-34.5-23.3-38.8S293.2 7.1 289 24.2L277.1 71.5c-9.3-2.7-18.8-4.6-28.6-5.9L255 39.8zM163.2 143.3L117.3 326.8C103.9 306.5 96 282.2 96 256c0-48.7 27.2-91 67.2-112.7zm8.6 229.5l61.1-244.6c9.9 .7 19.5 2.5 28.7 5.3l-62 248.1c-9.7-1.9-19-4.8-27.8-8.8z"]
  111880. };
  111881. var faHeadset = {
  111882. prefix: 'fas',
  111883. iconName: 'headset',
  111884. icon: [512, 512, [], "f590", "M256 48C141.1 48 48 141.1 48 256v40c0 13.3-10.7 24-24 24s-24-10.7-24-24V256C0 114.6 114.6 0 256 0S512 114.6 512 256V400.1c0 48.6-39.4 88-88.1 88L313.6 488c-8.3 14.3-23.8 24-41.6 24H240c-26.5 0-48-21.5-48-48s21.5-48 48-48h32c17.8 0 33.3 9.7 41.6 24l110.4 .1c22.1 0 40-17.9 40-40V256c0-114.9-93.1-208-208-208zM144 208h16c17.7 0 32 14.3 32 32V352c0 17.7-14.3 32-32 32H144c-35.3 0-64-28.7-64-64V272c0-35.3 28.7-64 64-64zm224 0c35.3 0 64 28.7 64 64v48c0 35.3-28.7 64-64 64H352c-17.7 0-32-14.3-32-32V240c0-17.7 14.3-32 32-32h16z"]
  111885. };
  111886. var faStoreSlash = {
  111887. prefix: 'fas',
  111888. iconName: 'store-slash',
  111889. icon: [640, 512, [], "e071", "M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7l-86.8-68V384 252.6c-4 1-8 1.8-12.3 2.3l-.1 0c-5.3 .7-10.7 1.1-16.2 1.1c-12.4 0-24.3-1.9-35.4-5.3V350.9L301.2 210.7c7-4.4 13.3-9.7 18.8-15.7c15.9 17.6 39.1 29 65.2 29c26.2 0 49.3-11.4 65.2-29c16 17.6 39.1 29 65.2 29c4.1 0 8.1-.3 12.1-.8c55.5-7.4 81.8-72.5 52.1-119.4L522.3 13.1C517.2 5 508.1 0 498.4 0H141.6c-9.7 0-18.8 5-23.9 13.1l-22.7 36L38.8 5.1zm73.4 218.1c4 .5 8.1 .8 12.1 .8c11 0 21.4-2 31-5.6L48.9 134.5c-6.1 40.6 19.5 82.8 63.3 88.7zM160 384V250.6c-11.2 3.5-23.2 5.4-35.6 5.4c-5.5 0-11-.4-16.3-1.1l-.1 0c-4.1-.6-8.1-1.3-12-2.3V384v64c0 35.3 28.7 64 64 64H480c12.9 0 24.8-3.8 34.9-10.3L365.5 384H160z"]
  111890. };
  111891. var faRoadCircleXmark = {
  111892. prefix: 'fas',
  111893. iconName: 'road-circle-xmark',
  111894. icon: [640, 512, [], "e566", "M213.2 32H288V96c0 17.7 14.3 32 32 32s32-14.3 32-32V32h74.8c27.1 0 51.3 17.1 60.3 42.6l42.7 120.6c-10.9-2.1-22.2-3.2-33.8-3.2c-59.5 0-112.1 29.6-144 74.8V224c0-17.7-14.3-32-32-32s-32 14.3-32 32v64c0 17.7 14.3 32 32 32c2.3 0 4.6-.3 6.8-.7c-4.5 15.5-6.8 31.8-6.8 48.7c0 5.4 .2 10.7 .7 16l-.7 0c-17.7 0-32 14.3-32 32v64H86.6C56.5 480 32 455.5 32 425.4c0-6.2 1.1-12.4 3.1-18.2L152.9 74.6C162 49.1 186.1 32 213.2 32zM496 512c-79.5 0-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144zm22.6-144l36.7-36.7c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L496 345.4l-36.7-36.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6L473.4 368l-36.7 36.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L496 390.6l36.7 36.7c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L518.6 368z"]
  111895. };
  111896. var faUserMinus = {
  111897. prefix: 'fas',
  111898. iconName: 'user-minus',
  111899. icon: [640, 512, [], "f503", "M352 128c0 70.7-57.3 128-128 128s-128-57.3-128-128S153.3 0 224 0s128 57.3 128 128zM0 482.3C0 383.8 79.8 304 178.3 304h91.4C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3zM472 200H616c13.3 0 24 10.7 24 24s-10.7 24-24 24H472c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]
  111900. };
  111901. var faMarsStrokeUp = {
  111902. prefix: 'fas',
  111903. iconName: 'mars-stroke-up',
  111904. icon: [320, 512, [9896, "mars-stroke-v"], "f22a", "M148.7 4.7c6.2-6.2 16.4-6.2 22.6 0l64 64c4.6 4.6 5.9 11.5 3.5 17.4s-8.3 9.9-14.8 9.9H184v24h32c13.3 0 24 10.7 24 24s-10.7 24-24 24H184v24c0 .6 0 1.2-.1 1.8c77 11.6 136.1 78 136.1 158.2c0 88.4-71.6 160-160 160S0 440.4 0 352c0-80.2 59.1-146.7 136.1-158.2c0-.6-.1-1.2-.1-1.8V168H104c-13.3 0-24-10.7-24-24s10.7-24 24-24h32V96H96c-6.5 0-12.3-3.9-14.8-9.9s-1.1-12.9 3.5-17.4l64-64zM256 352c0-53-43-96-96-96s-96 43-96 96s43 96 96 96s96-43 96-96z"]
  111905. };
  111906. var faMarsStrokeV = faMarsStrokeUp;
  111907. var faChampagneGlasses = {
  111908. prefix: 'fas',
  111909. iconName: 'champagne-glasses',
  111910. icon: [640, 512, [129346, "glass-cheers"], "f79f", "M320 128V49.1L186.6 .3c-11.4-4.2-24 .9-29.5 11.7L71.8 181.1c-30.8 61-8 133.8 48.1 167.4l-28 77.4L32.1 403.9C19.7 399.4 6 405.8 1.4 418.3s1.9 26.3 14.3 30.8l164.6 60.3c12.4 4.5 26.1-1.9 30.6-14.4s-1.9-26.3-14.3-30.8l-59.9-21.9 28-77.3c68.1 11.6 135.7-32.8 150.1-103.6l5.1-24.8 5.1 24.8c14.5 70.8 82 115.2 150.1 103.6l28 77.3-59.9 21.9c-12.4 4.5-18.8 18.3-14.3 30.8s18.2 18.9 30.6 14.4l164.6-60.3c12.4-4.5 18.8-18.3 14.3-30.8s-18.2-18.9-30.6-14.4l-59.9 21.9-28-77.4c56.1-33.6 78.8-106.4 48.1-167.4L482.9 12C477.4 1.1 464.7-3.9 453.4 .3L320 49.1V128h0zm-35.7 44.4L153.9 124.6l36.3-71.9L300.6 93.1l-16.2 79.3zm71.3 0L339.4 93.1 449.8 52.7l36.3 71.9L355.7 172.4z"]
  111911. };
  111912. var faGlassCheers = faChampagneGlasses;
  111913. var faClipboard = {
  111914. prefix: 'fas',
  111915. iconName: 'clipboard',
  111916. icon: [384, 512, [128203], "f328", "M192 0c-41.8 0-77.4 26.7-90.5 64H48C21.5 64 0 85.5 0 112V464c0 26.5 21.5 48 48 48H336c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48H282.5C269.4 26.7 233.8 0 192 0zm0 128c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zm-80 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]
  111917. };
  111918. var faHouseCircleExclamation = {
  111919. prefix: 'fas',
  111920. iconName: 'house-circle-exclamation',
  111921. icon: [640, 512, [], "e50a", "M320.7 351.7C329 262.1 404.3 192 496 192c8.9 0 17.6 .7 26.1 1.9L309.5 7c-6-5-14-7-21-7s-15 1-22 8L10 231.5c-7 7-10 15-10 24c0 18 14 32.1 32 32.1h32V480c0 17.7 14.3 32 32 32H192c17.7 0 32-14.3 32-32V383.7c0-17.7 14.3-32 32-32h64l.7 0zM496 512c79.5 0 144-64.5 144-144s-64.5-144-144-144s-144 64.5-144 144s64.5 144 144 144zm0-48c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm0-192c8.8 0 16 7.2 16 16v80c0 8.8-7.2 16-16 16s-16-7.2-16-16V288c0-8.8 7.2-16 16-16z"]
  111922. };
  111923. var faFileArrowUp = {
  111924. prefix: 'fas',
  111925. iconName: 'file-arrow-up',
  111926. icon: [384, 512, ["file-upload"], "f574", "M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM216 408c0 13.3-10.7 24-24 24s-24-10.7-24-24V305.9l-31 31c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l72-72c9.4-9.4 24.6-9.4 33.9 0l72 72c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-31-31V408z"]
  111927. };
  111928. var faFileUpload = faFileArrowUp;
  111929. var faWifi = {
  111930. prefix: 'fas',
  111931. iconName: 'wifi',
  111932. icon: [640, 512, ["wifi-3", "wifi-strong"], "f1eb", "M54.2 202.9C123.2 136.7 216.8 96 320 96s196.8 40.7 265.8 106.9c12.8 12.2 33 11.8 45.2-.9s11.8-33-.9-45.2C549.7 79.5 440.4 32 320 32S90.3 79.5 9.8 156.7C-2.9 169-3.3 189.2 8.9 202s32.5 13.2 45.2 .9zM320 256c56.8 0 108.6 21.1 148.2 56c13.3 11.7 33.5 10.4 45.2-2.8s10.4-33.5-2.8-45.2C459.8 219.2 393 192 320 192s-139.8 27.2-190.5 72c-13.3 11.7-14.5 31.9-2.8 45.2s31.9 14.5 45.2 2.8c39.5-34.9 91.3-56 148.2-56zm64 160c0-35.3-28.7-64-64-64s-64 28.7-64 64s28.7 64 64 64s64-28.7 64-64z"]
  111933. };
  111934. var faWifi3 = faWifi;
  111935. var faWifiStrong = faWifi;
  111936. var faBath = {
  111937. prefix: 'fas',
  111938. iconName: 'bath',
  111939. icon: [512, 512, [128705, "bathtub"], "f2cd", "M96 77.3c0-7.3 5.9-13.3 13.3-13.3c3.5 0 6.9 1.4 9.4 3.9l14.9 14.9C130 91.8 128 101.7 128 112c0 19.9 7.2 38 19.2 52c-5.3 9.2-4 21.1 3.8 29c9.4 9.4 24.6 9.4 33.9 0L289 89c9.4-9.4 9.4-24.6 0-33.9c-7.9-7.9-19.8-9.1-29-3.8C246 39.2 227.9 32 208 32c-10.3 0-20.2 2-29.2 5.5L163.9 22.6C149.4 8.1 129.7 0 109.3 0C66.6 0 32 34.6 32 77.3V256c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H96V77.3zM32 352v16c0 28.4 12.4 54 32 71.6V480c0 17.7 14.3 32 32 32s32-14.3 32-32V464H384v16c0 17.7 14.3 32 32 32s32-14.3 32-32V439.6c19.6-17.6 32-43.1 32-71.6V352H32z"]
  111940. };
  111941. var faBathtub = faBath;
  111942. var faUnderline = {
  111943. prefix: 'fas',
  111944. iconName: 'underline',
  111945. icon: [448, 512, [], "f0cd", "M16 64c0-17.7 14.3-32 32-32h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H128V224c0 53 43 96 96 96s96-43 96-96V96H304c-17.7 0-32-14.3-32-32s14.3-32 32-32h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H384V224c0 88.4-71.6 160-160 160s-160-71.6-160-160V96H48C30.3 96 16 81.7 16 64zM0 448c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32z"]
  111946. };
  111947. var faUserPen = {
  111948. prefix: 'fas',
  111949. iconName: 'user-pen',
  111950. icon: [640, 512, ["user-edit"], "f4ff", "M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0S96 57.3 96 128s57.3 128 128 128zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H322.8c-3.1-8.8-3.7-18.4-1.4-27.8l15-60.1c2.8-11.3 8.6-21.5 16.8-29.7l40.3-40.3c-32.1-31-75.7-50.1-123.9-50.1H178.3zm435.5-68.3c-15.6-15.6-40.9-15.6-56.6 0l-29.4 29.4 71 71 29.4-29.4c15.6-15.6 15.6-40.9 0-56.6l-14.4-14.4zM375.9 417c-4.1 4.1-7 9.2-8.4 14.9l-15 60.1c-1.4 5.5 .2 11.2 4.2 15.2s9.7 5.6 15.2 4.2l60.1-15c5.6-1.4 10.8-4.3 14.9-8.4L576.1 358.7l-71-71L375.9 417z"]
  111951. };
  111952. var faUserEdit = faUserPen;
  111953. var faSignature = {
  111954. prefix: 'fas',
  111955. iconName: 'signature',
  111956. icon: [640, 512, [], "f5b7", "M192 128c0-17.7 14.3-32 32-32s32 14.3 32 32v7.8c0 27.7-2.4 55.3-7.1 82.5l-84.4 25.3c-40.6 12.2-68.4 49.6-68.4 92v71.9c0 40 32.5 72.5 72.5 72.5c26 0 50-13.9 62.9-36.5l13.9-24.3c26.8-47 46.5-97.7 58.4-150.5l94.4-28.3-12.5 37.5c-3.3 9.8-1.6 20.5 4.4 28.8s15.7 13.3 26 13.3H544c17.7 0 32-14.3 32-32s-14.3-32-32-32H460.4l18-53.9c3.8-11.3 .9-23.8-7.4-32.4s-20.7-11.8-32.2-8.4L316.4 198.1c2.4-20.7 3.6-41.4 3.6-62.3V128c0-53-43-96-96-96s-96 43-96 96v32c0 17.7 14.3 32 32 32s32-14.3 32-32V128zm-9.2 177l49-14.7c-10.4 33.8-24.5 66.4-42.1 97.2l-13.9 24.3c-1.5 2.6-4.3 4.3-7.4 4.3c-4.7 0-8.5-3.8-8.5-8.5V335.6c0-14.1 9.3-26.6 22.8-30.7zM24 368c-13.3 0-24 10.7-24 24s10.7 24 24 24H64.3c-.2-2.8-.3-5.6-.3-8.5V368H24zm592 48c13.3 0 24-10.7 24-24s-10.7-24-24-24H305.9c-6.7 16.3-14.2 32.3-22.3 48H616z"]
  111957. };
  111958. var faStroopwafel = {
  111959. prefix: 'fas',
  111960. iconName: 'stroopwafel',
  111961. icon: [512, 512, [], "f551", "M256 496c132.5 0 240-107.5 240-240S388.5 16 256 16S16 123.5 16 256s107.5 240 240 240zM235.3 76.7L256 97.4l20.7-20.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6L278.6 120 324 165.4 357.4 132l-16.7-16.7c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L380 109.4l8.7-8.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6l-8.7 8.7 16.7 16.7c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L380 154.6 346.6 188 392 233.4l20.7-20.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6L414.6 256l20.7 20.7c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L392 278.6 346.6 324 380 357.4l16.7-16.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6L402.6 380l8.7 8.7c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0l-8.7-8.7-16.7 16.7c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6L357.4 380 324 346.6 278.6 392l20.7 20.7c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L256 414.6l-20.7 20.7c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6L233.4 392 188 346.6 154.6 380l16.7 16.7c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L132 402.6l-8.7 8.7c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l8.7-8.7L92.7 363.3c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L132 357.4 165.4 324 120 278.6 99.3 299.3c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6L97.4 256 76.7 235.3c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L120 233.4 165.4 188 132 154.6l-16.7 16.7c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6L109.4 132l-8.7-8.7c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0l8.7 8.7 16.7-16.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6L154.6 132 188 165.4 233.4 120 212.7 99.3c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0zM210.6 188L256 233.4 301.4 188 256 142.6 210.6 188zm68 68L324 301.4 369.4 256 324 210.6 278.6 256zM256 278.6L210.6 324 256 369.4 301.4 324 256 278.6zM233.4 256L188 210.6 142.6 256 188 301.4 233.4 256z"]
  111962. };
  111963. var faBold = {
  111964. prefix: 'fas',
  111965. iconName: 'bold',
  111966. icon: [384, 512, [], "f032", "M0 64C0 46.3 14.3 32 32 32H80 96 224c70.7 0 128 57.3 128 128c0 31.3-11.3 60.1-30 82.3c37.1 22.4 62 63.1 62 109.7c0 70.7-57.3 128-128 128H96 80 32c-17.7 0-32-14.3-32-32s14.3-32 32-32H48V256 96H32C14.3 96 0 81.7 0 64zM224 224c35.3 0 64-28.7 64-64s-28.7-64-64-64H112V224H224zM112 288V416H256c35.3 0 64-28.7 64-64s-28.7-64-64-64H224 112z"]
  111967. };
  111968. var faAnchorLock = {
  111969. prefix: 'fas',
  111970. iconName: 'anchor-lock',
  111971. icon: [640, 512, [], "e4ad", "M256 96c0-17.7 14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32s-32-14.3-32-32zm85.1 80C367 158.8 384 129.4 384 96c0-53-43-96-96-96s-96 43-96 96c0 33.4 17 62.8 42.9 80H224c-17.7 0-32 14.3-32 32s14.3 32 32 32h32V448H208c-53 0-96-43-96-96v-6.1l7 7c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L97 263c-9.4-9.4-24.6-9.4-33.9 0L7 319c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l7-7V352c0 88.4 71.6 160 160 160h80 80c8 0 15.9-.6 23.6-1.7c-4.8-9-7.6-19.3-7.6-30.3V446.7c-5.2 .9-10.5 1.3-16 1.3H320V240h32c17.7 0 32-14.3 32-32s-14.3-32-32-32H341.1zM528 240c17.7 0 32 14.3 32 32v48H496V272c0-17.7 14.3-32 32-32zm-80 32v48c-17.7 0-32 14.3-32 32V480c0 17.7 14.3 32 32 32H608c17.7 0 32-14.3 32-32V352c0-17.7-14.3-32-32-32V272c0-44.2-35.8-80-80-80s-80 35.8-80 80z"]
  111972. };
  111973. var faBuildingNgo = {
  111974. prefix: 'fas',
  111975. iconName: 'building-ngo',
  111976. icon: [384, 512, [], "e4d7", "M48 0C21.5 0 0 21.5 0 48V464c0 26.5 21.5 48 48 48h96V432c0-26.5 21.5-48 48-48s48 21.5 48 48v80h96c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48H48zM64 240c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V240zm112-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V240c0-8.8 7.2-16 16-16zm80 16c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H272c-8.8 0-16-7.2-16-16V240zM168 64h48c8.8 0 16 7.2 16 16s-7.2 16-16 16H184v64h16V144c0-8.8 7.2-16 16-16s16 7.2 16 16v24c0 13.3-10.7 24-24 24H176c-13.3 0-24-10.7-24-24V80c0-8.8 7.2-16 16-16zM304 96c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16s16-7.2 16-16V112c0-8.8-7.2-16-16-16zm-48 16c0-26.5 21.5-48 48-48s48 21.5 48 48v32c0 26.5-21.5 48-48 48s-48-21.5-48-48V112zM61.3 71.1l34.7 52V80c0-8.8 7.2-16 16-16s16 7.2 16 16v96c0 7.1-4.6 13.3-11.4 15.3s-14-.6-17.9-6.4L64 132.8V176c0 8.8-7.2 16-16 16s-16-7.2-16-16V80c0-7.1 4.6-13.3 11.4-15.3s14 .6 17.9 6.4z"]
  111977. };
  111978. var faManatSign = {
  111979. prefix: 'fas',
  111980. iconName: 'manat-sign',
  111981. icon: [384, 512, [], "e1d5", "M192 32c-17.7 0-32 14.3-32 32V98.7C69.2 113.9 0 192.9 0 288V448c0 17.7 14.3 32 32 32s32-14.3 32-32V288c0-59.6 40.8-109.8 96-124V448c0 17.7 14.3 32 32 32s32-14.3 32-32V164c55.2 14.2 96 64.3 96 124V448c0 17.7 14.3 32 32 32s32-14.3 32-32V288c0-95.1-69.2-174.1-160-189.3V64c0-17.7-14.3-32-32-32z"]
  111982. };
  111983. var faNotEqual = {
  111984. prefix: 'fas',
  111985. iconName: 'not-equal',
  111986. icon: [448, 512, [], "f53e", "M369.8 37.4c14.7 9.8 18.7 29.7 8.9 44.4L337.1 144H400c17.7 0 32 14.3 32 32s-14.3 32-32 32H294.5l-64 96H400c17.7 0 32 14.3 32 32s-14.3 32-32 32H187.8l-65.2 97.7c-9.8 14.7-29.7 18.7-44.4 8.9s-18.7-29.7-8.9-44.4L110.9 368H48c-17.7 0-32-14.3-32-32s14.3-32 32-32H153.5l64-96H48c-17.7 0-32-14.3-32-32s14.3-32 32-32H260.2l65.2-97.7c9.8-14.7 29.7-18.7 44.4-8.9z"]
  111987. };
  111988. var faBorderTopLeft = {
  111989. prefix: 'fas',
  111990. iconName: 'border-top-left',
  111991. icon: [448, 512, ["border-style"], "f853", "M0 448c0 17.7 14.3 32 32 32s32-14.3 32-32l0-336c0-8.8 7.2-16 16-16l336 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 32C35.8 32 0 67.8 0 112L0 448zm160 0c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zm192 0c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zm-96 0c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zm192 0c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zM416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm0 32c-17.7 0-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32s-14.3-32-32-32zm0-128c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32z"]
  111992. };
  111993. var faBorderStyle = faBorderTopLeft;
  111994. var faMapLocationDot = {
  111995. prefix: 'fas',
  111996. iconName: 'map-location-dot',
  111997. icon: [576, 512, ["map-marked-alt"], "f5a0", "M408 120c0 54.6-73.1 151.9-105.2 192c-7.7 9.6-22 9.6-29.6 0C241.1 271.9 168 174.6 168 120C168 53.7 221.7 0 288 0s120 53.7 120 120zm8 80.4c3.5-6.9 6.7-13.8 9.6-20.6c.5-1.2 1-2.5 1.5-3.7l116-46.4C558.9 123.4 576 135 576 152V422.8c0 9.8-6 18.6-15.1 22.3L416 503V200.4zM137.6 138.3c2.4 14.1 7.2 28.3 12.8 41.5c2.9 6.8 6.1 13.7 9.6 20.6V451.8L32.9 502.7C17.1 509 0 497.4 0 480.4V209.6c0-9.8 6-18.6 15.1-22.3l122.6-49zM327.8 332c13.9-17.4 35.7-45.7 56.2-77V504.3L192 449.4V255c20.5 31.3 42.3 59.6 56.2 77c20.5 25.6 59.1 25.6 79.6 0zM288 152c22.1 0 40-17.9 40-40s-17.9-40-40-40s-40 17.9-40 40s17.9 40 40 40z"]
  111998. };
  111999. var faMapMarkedAlt = faMapLocationDot;
  112000. var faJedi = {
  112001. prefix: 'fas',
  112002. iconName: 'jedi',
  112003. icon: [576, 512, [], "f669", "M246 315.7l-21.2-31.9c-2.1-3.2-1.7-7.4 1-10.1s6.9-3.1 10.1-1l29.5 19.7c2.1 1.4 4.9 0 5-2.6L279.7 8c.1-4.5 3.8-8 8.3-8s8.1 3.5 8.3 8l9.4 281.9c.1 2.5 2.9 3.9 5 2.6l29.5-19.7c3.2-2.1 7.4-1.7 10.1 1s3.1 6.9 1 10.1L330 315.7c-1.3 1.9-.2 4.5 2 4.9l37.6 7.5c3.7 .7 6.4 4 6.4 7.8s-2.7 7.1-6.4 7.8L332 351.4c-2.2 .4-3.3 3-2 4.9l21.2 31.9c2.1 3.2 1.7 7.4-1 10.1s-6.9 3.1-10.1 1l-26.3-17.6c-2.2-1.4-5.1 .2-5 2.8l2.1 61.5C370.6 435.2 416 382.9 416 320c0-37-15.7-70.4-40.8-93.7c-7-6.5-6.5-18.6 1-24.4C410.1 175.5 432 134.3 432 88c0-16.8-2.9-33-8.2-48c-4.6-13 10.2-30 21.4-22c53.5 38 92.7 94.8 107.8 160.7c.5 2.1-.2 4.3-1.7 5.9l-28.4 28.4c-4 4-1.2 10.9 4.5 10.9h26c3.4 0 6.2 2.6 6.3 6c.1 3.3 .2 6.6 .2 10c0 17.5-1.7 34.7-4.8 51.3c-.2 1.2-.9 2.4-1.7 3.3l-46.5 46.5c-4 4-1.2 10.9 4.5 10.9H526c4.6 0 7.7 4.8 5.7 9C487.2 450.5 394.8 512 288 512S88.8 450.5 44.3 361c-2.1-4.2 1-9 5.7-9H64.5c5.7 0 8.6-6.9 4.5-10.9L22.6 294.6c-.9-.9-1.5-2-1.7-3.3C17.7 274.7 16 257.5 16 240c0-3.3 .1-6.7 .2-10c.1-3.4 2.9-6 6.3-6h26c5.7 0 8.6-6.9 4.5-10.9L24.6 184.6c-1.5-1.5-2.2-3.8-1.7-5.9C38.1 112.8 77.3 56 130.8 18c11.3-8 26 8.9 21.4 22c-5.3 15-8.2 31.2-8.2 48c0 46.3 21.9 87.5 55.8 113.9c7.5 5.8 8 17.9 1 24.4C175.7 249.6 160 283 160 320c0 62.9 45.4 115.2 105.1 126l2.1-61.5c.1-2.6-2.8-4.2-5-2.8l-26.3 17.6c-3.2 2.1-7.4 1.7-10.1-1s-3.1-6.9-1-10.1L246 356.3c1.3-1.9 .2-4.5-2-4.9l-37.6-7.5c-3.7-.7-6.4-4-6.4-7.8s2.7-7.1 6.4-7.8l37.6-7.5c2.2-.4 3.3-3 2-4.9z"]
  112004. };
  112005. var faSquarePollVertical = {
  112006. prefix: 'fas',
  112007. iconName: 'square-poll-vertical',
  112008. icon: [448, 512, ["poll"], "f681", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm64 192c17.7 0 32 14.3 32 32v96c0 17.7-14.3 32-32 32s-32-14.3-32-32V256c0-17.7 14.3-32 32-32zm64-64c0-17.7 14.3-32 32-32s32 14.3 32 32V352c0 17.7-14.3 32-32 32s-32-14.3-32-32V160zM320 288c17.7 0 32 14.3 32 32v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V320c0-17.7 14.3-32 32-32z"]
  112009. };
  112010. var faPoll = faSquarePollVertical;
  112011. var faMugHot = {
  112012. prefix: 'fas',
  112013. iconName: 'mug-hot',
  112014. icon: [512, 512, [9749], "f7b6", "M88 0C74.7 0 64 10.7 64 24c0 38.9 23.4 59.4 39.1 73.1l1.1 1C120.5 112.3 128 119.9 128 136c0 13.3 10.7 24 24 24s24-10.7 24-24c0-38.9-23.4-59.4-39.1-73.1l-1.1-1C119.5 47.7 112 40.1 112 24c0-13.3-10.7-24-24-24zM32 192c-17.7 0-32 14.3-32 32V416c0 53 43 96 96 96H288c53 0 96-43 96-96h16c61.9 0 112-50.1 112-112s-50.1-112-112-112H352 32zm352 64h16c26.5 0 48 21.5 48 48s-21.5 48-48 48H384V256zM224 24c0-13.3-10.7-24-24-24s-24 10.7-24 24c0 38.9 23.4 59.4 39.1 73.1l1.1 1C232.5 112.3 240 119.9 240 136c0 13.3 10.7 24 24 24s24-10.7 24-24c0-38.9-23.4-59.4-39.1-73.1l-1.1-1C231.5 47.7 224 40.1 224 24z"]
  112015. };
  112016. var faCarBattery = {
  112017. prefix: 'fas',
  112018. iconName: 'car-battery',
  112019. icon: [512, 512, ["battery-car"], "f5df", "M80 96c0-17.7 14.3-32 32-32h64c17.7 0 32 14.3 32 32l96 0c0-17.7 14.3-32 32-32h64c17.7 0 32 14.3 32 32h16c35.3 0 64 28.7 64 64V384c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V160c0-35.3 28.7-64 64-64l16 0zm304 96c0-8.8-7.2-16-16-16s-16 7.2-16 16v32H320c-8.8 0-16 7.2-16 16s7.2 16 16 16h32v32c0 8.8 7.2 16 16 16s16-7.2 16-16V256h32c8.8 0 16-7.2 16-16s-7.2-16-16-16H384V192zM80 240c0 8.8 7.2 16 16 16h96c8.8 0 16-7.2 16-16s-7.2-16-16-16H96c-8.8 0-16 7.2-16 16z"]
  112020. };
  112021. var faBatteryCar = faCarBattery;
  112022. var faGift = {
  112023. prefix: 'fas',
  112024. iconName: 'gift',
  112025. icon: [512, 512, [127873], "f06b", "M190.5 68.8L225.3 128H224 152c-22.1 0-40-17.9-40-40s17.9-40 40-40h2.2c14.9 0 28.8 7.9 36.3 20.8zM64 88c0 14.4 3.5 28 9.6 40H32c-17.7 0-32 14.3-32 32v64c0 17.7 14.3 32 32 32H480c17.7 0 32-14.3 32-32V160c0-17.7-14.3-32-32-32H438.4c6.1-12 9.6-25.6 9.6-40c0-48.6-39.4-88-88-88h-2.2c-31.9 0-61.5 16.9-77.7 44.4L256 85.5l-24.1-41C215.7 16.9 186.1 0 154.2 0H152C103.4 0 64 39.4 64 88zm336 0c0 22.1-17.9 40-40 40H288h-1.3l34.8-59.2C329.1 55.9 342.9 48 357.8 48H360c22.1 0 40 17.9 40 40zM32 288V464c0 26.5 21.5 48 48 48H224V288H32zM288 512H432c26.5 0 48-21.5 48-48V288H288V512z"]
  112026. };
  112027. var faDiceTwo = {
  112028. prefix: 'fas',
  112029. iconName: 'dice-two',
  112030. icon: [448, 512, [9857], "f528", "M0 96C0 60.7 28.7 32 64 32H384c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zM352 352c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zM128 192c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32z"]
  112031. };
  112032. var faChessQueen = {
  112033. prefix: 'fas',
  112034. iconName: 'chess-queen',
  112035. icon: [512, 512, [9819], "f445", "M312 56c0-30.9-25.1-56-56-56s-56 25.1-56 56s25.1 56 56 56s56-25.1 56-56zM64 480c0 17.7 14.3 32 32 32H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H96c-17.7 0-32 14.3-32 32zM34 169.4L9.2 185.8C3.5 189.7 0 196.2 0 203.1c0 3.2 .7 6.4 2.2 9.3L104 416H408L509.8 212.4c1.4-2.9 2.2-6.1 2.2-9.3c0-6.9-3.5-13.4-9.2-17.3L478 169.4c-8.2-5.4-19-4.4-26 2.6c-12.9 12.9-30.9 21.9-48 15.5c-17.9-6.7-28.1-20.1-32.8-35.8C367.5 139 357.3 128 344 128H328c-13.3 0-23.9 11.2-29.6 23.2C292.6 163.4 280.6 176 256 176s-36.6-12.6-42.4-24.8c-5.7-12-16.3-23.2-29.6-23.2H168c-13.3 0-23.5 11-27.3 23.7c-4.7 15.6-14.9 29.1-32.8 35.8c-17 6.4-35.1-2.7-48-15.5c-6.9-6.9-17.8-8-25.9-2.6z"]
  112036. };
  112037. var faGlasses = {
  112038. prefix: 'fas',
  112039. iconName: 'glasses',
  112040. icon: [576, 512, [], "f530", "M118.6 80c-11.5 0-21.4 7.9-24 19.1L57 260.3c20.5-6.2 48.3-12.3 78.7-12.3c32.3 0 61.8 6.9 82.8 13.5c10.6 3.3 19.3 6.7 25.4 9.2c3.1 1.3 5.5 2.4 7.3 3.2c.9 .4 1.6 .7 2.1 1l.6 .3 .2 .1 .1 0 0 0 0 0s0 0-6.3 12.7h0l6.3-12.7c5.8 2.9 10.4 7.3 13.5 12.7h40.6c3.1-5.3 7.7-9.8 13.5-12.7l6.3 12.7h0c-6.3-12.7-6.3-12.7-6.3-12.7l0 0 0 0 .1 0 .2-.1 .6-.3c.5-.2 1.2-.6 2.1-1c1.8-.8 4.2-1.9 7.3-3.2c6.1-2.6 14.8-5.9 25.4-9.2c21-6.6 50.4-13.5 82.8-13.5c30.4 0 58.2 6.1 78.7 12.3L481.4 99.1c-2.6-11.2-12.6-19.1-24-19.1c-3.1 0-6.2 .6-9.2 1.8L416.9 94.3c-12.3 4.9-26.3-1.1-31.2-13.4s1.1-26.3 13.4-31.2l31.3-12.5c8.6-3.4 17.7-5.2 27-5.2c33.8 0 63.1 23.3 70.8 56.2l43.9 188c1.7 7.3 2.9 14.7 3.5 22.1c.3 1.9 .5 3.8 .5 5.7v6.7V352v16c0 61.9-50.1 112-112 112H419.7c-59.4 0-108.5-46.4-111.8-105.8L306.6 352H269.4l-1.2 22.2C264.9 433.6 215.8 480 156.3 480H112C50.1 480 0 429.9 0 368V352 310.7 304c0-1.9 .2-3.8 .5-5.7c.6-7.4 1.8-14.8 3.5-22.1l43.9-188C55.5 55.3 84.8 32 118.6 32c9.2 0 18.4 1.8 27 5.2l31.3 12.5c12.3 4.9 18.3 18.9 13.4 31.2s-18.9 18.3-31.2 13.4L127.8 81.8c-2.9-1.2-6-1.8-9.2-1.8zM64 325.4V368c0 26.5 21.5 48 48 48h44.3c25.5 0 46.5-19.9 47.9-45.3l2.5-45.6c-2.3-.8-4.9-1.7-7.5-2.5c-17.2-5.4-39.9-10.5-63.6-10.5c-23.7 0-46.2 5.1-63.2 10.5c-3.1 1-5.9 1.9-8.5 2.9zM512 368V325.4c-2.6-.9-5.5-1.9-8.5-2.9c-17-5.4-39.5-10.5-63.2-10.5c-23.7 0-46.4 5.1-63.6 10.5c-2.7 .8-5.2 1.7-7.5 2.5l2.5 45.6c1.4 25.4 22.5 45.3 47.9 45.3H464c26.5 0 48-21.5 48-48z"]
  112041. };
  112042. var faChessBoard = {
  112043. prefix: 'fas',
  112044. iconName: 'chess-board',
  112045. icon: [448, 512, [], "f43c", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm64 64v64h64V96h64v64h64V96h64v64H320v64h64v64H320v64h64v64H320V352H256v64H192V352H128v64H64V352h64V288H64V224h64V160H64V96h64zm64 128h64V160H192v64zm0 64V224H128v64h64zm64 0H192v64h64V288zm0 0h64V224H256v64z"]
  112046. };
  112047. var faBuildingCircleCheck = {
  112048. prefix: 'fas',
  112049. iconName: 'building-circle-check',
  112050. icon: [640, 512, [], "e4d2", "M48 0C21.5 0 0 21.5 0 48V464c0 26.5 21.5 48 48 48h96V432c0-26.5 21.5-48 48-48s48 21.5 48 48v80h96c15.1 0 28.5-6.9 37.3-17.8C340.4 462.2 320 417.5 320 368c0-54.7 24.9-103.5 64-135.8V48c0-26.5-21.5-48-48-48H48zM64 240c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V240zm112-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V240c0-8.8 7.2-16 16-16zm80 16c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H272c-8.8 0-16-7.2-16-16V240zM80 96h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16zm80 16c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V112zM272 96h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H272c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16zM640 368c0-79.5-64.5-144-144-144s-144 64.5-144 144s64.5 144 144 144s144-64.5 144-144zm-76.7-43.3c6.2 6.2 6.2 16.4 0 22.6l-72 72c-6.2 6.2-16.4 6.2-22.6 0l-40-40c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L480 385.4l60.7-60.7c6.2-6.2 16.4-6.2 22.6 0z"]
  112051. };
  112052. var faPersonChalkboard = {
  112053. prefix: 'fas',
  112054. iconName: 'person-chalkboard',
  112055. icon: [640, 512, [], "e53d", "M192 96c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zm-8 384V352h16V480c0 17.7 14.3 32 32 32s32-14.3 32-32V192h56 64 16c17.7 0 32-14.3 32-32s-14.3-32-32-32H384V64H576V256H384V224H320v48c0 26.5 21.5 48 48 48H592c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48H368c-26.5 0-48 21.5-48 48v80H243.1 177.1c-33.7 0-64.9 17.7-82.3 46.6l-58.3 97c-9.1 15.1-4.2 34.8 10.9 43.9s34.8 4.2 43.9-10.9L120 256.9V480c0 17.7 14.3 32 32 32s32-14.3 32-32z"]
  112056. };
  112057. var faMarsStrokeRight = {
  112058. prefix: 'fas',
  112059. iconName: 'mars-stroke-right',
  112060. icon: [640, 512, [9897, "mars-stroke-h"], "f22b", "M208 368c61.9 0 112-50.1 112-112s-50.1-112-112-112s-112 50.1-112 112s50.1 112 112 112zm174.4-88C370.7 365.8 297.1 432 208 432c-97.2 0-176-78.8-176-176s78.8-176 176-176c89.1 0 162.7 66.2 174.4 152H416V176c0-13.3 10.7-24 24-24s24 10.7 24 24v56h32V176c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2l80 80c9.4 9.4 9.4 24.6 0 33.9l-80 80c-6.9 6.9-17.2 8.9-26.2 5.2s-14.8-12.5-14.8-22.2V280H464v56c0 13.3-10.7 24-24 24s-24-10.7-24-24V280H382.4z"]
  112061. };
  112062. var faMarsStrokeH = faMarsStrokeRight;
  112063. var faHandBackFist = {
  112064. prefix: 'fas',
  112065. iconName: 'hand-back-fist',
  112066. icon: [448, 512, ["hand-rock"], "f255", "M144 0C117.5 0 96 21.5 96 48V96v28.5V176c0 8.8-7.2 16-16 16s-16-7.2-16-16V149.3l-9 7.5C40.4 169 32 187 32 206V244c0 38 16.9 74 46.1 98.3L128 384v96c0 17.7 14.3 32 32 32H320c17.7 0 32-14.3 32-32V374.7c46.9-19 80-65 80-118.7V176 160 144c0-26.5-21.5-48-48-48c-12.4 0-23.6 4.7-32.1 12.3C350 83.5 329.3 64 304 64c-12.4 0-23.6 4.7-32.1 12.3C270 51.5 249.3 32 224 32c-12.4 0-23.6 4.7-32.1 12.3C190 19.5 169.3 0 144 0z"]
  112067. };
  112068. var faHandRock = faHandBackFist;
  112069. var faSquareCaretUp = {
  112070. prefix: 'fas',
  112071. iconName: 'square-caret-up',
  112072. icon: [448, 512, ["caret-square-up"], "f151", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM224 160c6.7 0 13 2.8 17.6 7.7l104 112c6.5 7 8.2 17.2 4.4 25.9s-12.5 14.4-22 14.4H120c-9.5 0-18.2-5.7-22-14.4s-2.1-18.9 4.4-25.9l104-112c4.5-4.9 10.9-7.7 17.6-7.7z"]
  112073. };
  112074. var faCaretSquareUp = faSquareCaretUp;
  112075. var faCloudShowersWater = {
  112076. prefix: 'fas',
  112077. iconName: 'cloud-showers-water',
  112078. icon: [576, 512, [], "e4e4", "M224 0c38.6 0 71.9 22.8 87.2 55.7C325.7 41.1 345.8 32 368 32c38.7 0 71 27.5 78.4 64H448c35.3 0 64 28.7 64 64s-28.7 64-64 64H128c-35.3 0-64-28.7-64-64s28.7-64 64-64c0-53 43-96 96-96zM140.6 292.3l-48 80c-6.8 11.4-21.6 15-32.9 8.2s-15.1-21.6-8.2-32.9l48-80c6.8-11.4 21.6-15.1 32.9-8.2s15.1 21.6 8.2 32.9zm327.8-32.9c11.4 6.8 15 21.6 8.2 32.9l-48 80c-6.8 11.4-21.6 15-32.9 8.2s-15-21.6-8.2-32.9l48-80c6.8-11.4 21.6-15.1 32.9-8.2zM252.6 292.3l-48 80c-6.8 11.4-21.6 15-32.9 8.2s-15.1-21.6-8.2-32.9l48-80c6.8-11.4 21.6-15.1 32.9-8.2s15.1 21.6 8.2 32.9zm103.8-32.9c11.4 6.8 15 21.6 8.2 32.9l-48 80c-6.8 11.4-21.6 15-32.9 8.2s-15.1-21.6-8.2-32.9l48-80c6.8-11.4 21.6-15.1 32.9-8.2zM306.5 421.9C329 437.4 356.5 448 384 448c26.9 0 55.4-10.8 77.4-26.1l0 0c11.9-8.5 28.1-7.8 39.2 1.7c14.4 11.9 32.5 21 50.6 25.2c17.2 4 27.9 21.2 23.9 38.4s-21.2 27.9-38.4 23.9c-24.5-5.7-44.9-16.5-58.2-25C449.5 501.7 417 512 384 512c-31.9 0-60.6-9.9-80.4-18.9c-5.8-2.7-11.1-5.3-15.6-7.7c-4.5 2.4-9.7 5.1-15.6 7.7c-19.8 9-48.5 18.9-80.4 18.9c-33 0-65.5-10.3-94.5-25.8c-13.4 8.4-33.7 19.3-58.2 25c-17.2 4-34.4-6.7-38.4-23.9s6.7-34.4 23.9-38.4c18.1-4.2 36.2-13.3 50.6-25.2c11.1-9.4 27.3-10.1 39.2-1.7l0 0C136.7 437.2 165.1 448 192 448c27.5 0 55-10.6 77.5-26.1c11.1-7.9 25.9-7.9 37 0z"]
  112079. };
  112080. var faChartBar = {
  112081. prefix: 'fas',
  112082. iconName: 'chart-bar',
  112083. icon: [512, 512, ["bar-chart"], "f080", "M32 32c17.7 0 32 14.3 32 32V400c0 8.8 7.2 16 16 16H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H80c-44.2 0-80-35.8-80-80V64C0 46.3 14.3 32 32 32zm96 96c0-17.7 14.3-32 32-32l192 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-192 0c-17.7 0-32-14.3-32-32zm32 64H288c17.7 0 32 14.3 32 32s-14.3 32-32 32H160c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 96H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H160c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]
  112084. };
  112085. var faBarChart = faChartBar;
  112086. var faHandsBubbles = {
  112087. prefix: 'fas',
  112088. iconName: 'hands-bubbles',
  112089. icon: [512, 512, ["hands-wash"], "e05e", "M384 64c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zm80 160c-26.5 0-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48zM128 464c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zM357.1 157.5c-.3 .7-.7 1.5-1.1 2.2l-17.8 30.9c-11-12.6-27.4-19.8-44.4-19.1l20.7-35.8c6.6-11.5 21.3-15.4 32.8-8.8c10.8 6.2 14.9 19.5 9.9 30.6zm-173.6 47C112.3 227.2 64 293.3 64 368c0 1.5 0 3 .1 4.5C24.3 346.9 0 302.8 0 255.1V131.5c0-13.3 10.7-24 24-24s24 10.7 24 24l0 81.7L164.2 12c6.6-11.5 21.3-15.4 32.8-8.8s15.4 21.3 8.8 32.8l-64 110.9c-2.2 3.8-.9 8.7 2.9 10.9s8.7 .9 10.9-2.9l80-138.6c6.6-11.5 21.3-15.4 32.8-8.8s15.4 21.3 8.8 32.8l-80 138.6c-2.2 3.8-.9 8.7 2.9 10.9s8.7 .9 10.9-2.9L275 76c6.6-11.5 21.3-15.4 32.8-8.8s15.4 21.3 8.8 32.8l-44 76.2-89.1 28.3zM448 483.5c0 12.4-9.4 22.6-21.5 23.9c-.8 .1-1.6 .1-2.5 .1H223.3 216c-22.1 0-42.9-6-60.7-16.5c3-8.5 4.7-17.6 4.7-27c0-38.7-27.5-71-64-78.4c0-.6 0-1.1 0-1.7c0-1.2-.1-2.5-.1-3.7c0-68 44-128.3 108.9-148.9l83.9-26.7c12.6-4 26.1 3 30.1 15.6s-3 26.1-15.6 30.1l-53.8 17.1H456c13.3 0 24 10.7 24 24s-10.7 24-24 24H328c-4.4 0-8 3.6-8 8s3.6 8 8 8H488c13.3 0 24 10.7 24 24s-10.7 24-24 24H328c-4.4 0-8 3.6-8 8s3.6 8 8 8H456c13.3 0 24 10.7 24 24s-10.7 24-24 24H328c-4.4 0-8 3.6-8 8s3.6 8 8 8h96c13.3 0 24 10.7 24 24z"]
  112090. };
  112091. var faHandsWash = faHandsBubbles;
  112092. var faLessThanEqual = {
  112093. prefix: 'fas',
  112094. iconName: 'less-than-equal',
  112095. icon: [448, 512, [], "f537", "M395.9 93.7c16.4-6.6 24.4-25.2 17.8-41.6s-25.2-24.4-41.6-17.8l-320 128C40 167.1 32 178.9 32 192s8 24.9 20.1 29.7l320 128c16.4 6.6 35-1.4 41.6-17.8s-1.4-35-17.8-41.6L150.2 192 395.9 93.7zM32 416c-17.7 0-32 14.3-32 32s14.3 32 32 32H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H32z"]
  112096. };
  112097. var faTrain = {
  112098. prefix: 'fas',
  112099. iconName: 'train',
  112100. icon: [448, 512, [128646], "f238", "M96 0C43 0 0 43 0 96V352c0 48 35.2 87.7 81.1 94.9l-46 46C28.1 499.9 33.1 512 43 512H82.7c8.5 0 16.6-3.4 22.6-9.4L160 448H288l54.6 54.6c6 6 14.1 9.4 22.6 9.4H405c10 0 15-12.1 7.9-19.1l-46-46c46-7.1 81.1-46.9 81.1-94.9V96c0-53-43-96-96-96H96zM64 96c0-17.7 14.3-32 32-32H352c17.7 0 32 14.3 32 32v96c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V96zM224 384c-26.5 0-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48z"]
  112101. };
  112102. var faEyeLowVision = {
  112103. prefix: 'fas',
  112104. iconName: 'eye-low-vision',
  112105. icon: [640, 512, ["low-vision"], "f2a8", "M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c5.2-11.8 8-24.8 8-38.5c0-53-43-96-96-96c-2.8 0-5.6 .1-8.4 .4c5.3 9.3 8.4 20.1 8.4 31.6c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zm223.1 298L83.1 161.5c-11 14.4-20.5 28.7-28.4 42.2l339 265.7c18.7-5.5 36.2-13 52.6-21.8zM34.5 268.3c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c3.1 0 6.1-.1 9.2-.2L33.1 247.8c-1.8 6.8-1.3 14 1.4 20.5z"]
  112106. };
  112107. var faLowVision = faEyeLowVision;
  112108. var faCrow = {
  112109. prefix: 'fas',
  112110. iconName: 'crow',
  112111. icon: [640, 512, [], "f520", "M456 0c-48.6 0-88 39.4-88 88v29.2L12.5 390.6c-14 10.8-16.6 30.9-5.9 44.9s30.9 16.6 44.9 5.9L126.1 384H259.2l46.6 113.1c5 12.3 19.1 18.1 31.3 13.1s18.1-19.1 13.1-31.3L311.1 384H352c1.1 0 2.1 0 3.2 0l46.6 113.2c5 12.3 19.1 18.1 31.3 13.1s18.1-19.1 13.1-31.3l-42-102C484.9 354.1 544 280 544 192V128v-8l80.5-20.1c8.6-2.1 13.8-10.8 11.6-19.4C629 52 603.4 32 574 32H523.9C507.7 12.5 483.3 0 456 0zm0 112c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24z"]
  112112. };
  112113. var faSailboat = {
  112114. prefix: 'fas',
  112115. iconName: 'sailboat',
  112116. icon: [576, 512, [], "e445", "M256 16c0-7 4.5-13.2 11.2-15.3s13.9 .4 17.9 6.1l224 320c3.4 4.9 3.8 11.3 1.1 16.6s-8.2 8.6-14.2 8.6H272c-8.8 0-16-7.2-16-16V16zM212.1 96.5c7 1.9 11.9 8.2 11.9 15.5V336c0 8.8-7.2 16-16 16H80c-5.7 0-11-3-13.8-8s-2.9-11-.1-16l128-224c3.6-6.3 11-9.4 18-7.5zM5.7 404.3C2.8 394.1 10.5 384 21.1 384H554.9c10.6 0 18.3 10.1 15.4 20.3l-4 14.3C550.7 473.9 500.4 512 443 512H133C75.6 512 25.3 473.9 9.7 418.7l-4-14.3z"]
  112117. };
  112118. var faWindowRestore = {
  112119. prefix: 'fas',
  112120. iconName: 'window-restore',
  112121. icon: [512, 512, [], "f2d2", "M432 64H208c-8.8 0-16 7.2-16 16V96H128V80c0-44.2 35.8-80 80-80H432c44.2 0 80 35.8 80 80V304c0 44.2-35.8 80-80 80H416V320h16c8.8 0 16-7.2 16-16V80c0-8.8-7.2-16-16-16zM0 192c0-35.3 28.7-64 64-64H320c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V192zm64 32c0 17.7 14.3 32 32 32H288c17.7 0 32-14.3 32-32s-14.3-32-32-32H96c-17.7 0-32 14.3-32 32z"]
  112122. };
  112123. var faSquarePlus = {
  112124. prefix: 'fas',
  112125. iconName: 'square-plus',
  112126. icon: [448, 512, [61846, "plus-square"], "f0fe", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM200 344V280H136c-13.3 0-24-10.7-24-24s10.7-24 24-24h64V168c0-13.3 10.7-24 24-24s24 10.7 24 24v64h64c13.3 0 24 10.7 24 24s-10.7 24-24 24H248v64c0 13.3-10.7 24-24 24s-24-10.7-24-24z"]
  112127. };
  112128. var faPlusSquare = faSquarePlus;
  112129. var faToriiGate = {
  112130. prefix: 'fas',
  112131. iconName: 'torii-gate',
  112132. icon: [512, 512, [9961], "f6a1", "M0 80c0 26.5 21.5 48 48 48H64v64h64V128h96v64h64V128h96v64h64V128h16c26.5 0 48-21.5 48-48V0L440.6 23.8C424.3 29.2 407.2 32 390 32H122c-17.2 0-34.3-2.8-50.6-8.2L0 0V80zM64 288V480c0 17.7 14.3 32 32 32s32-14.3 32-32V288H384V480c0 17.7 14.3 32 32 32s32-14.3 32-32V288h32c17.7 0 32-14.3 32-32s-14.3-32-32-32H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H64z"]
  112133. };
  112134. var faFrog = {
  112135. prefix: 'fas',
  112136. iconName: 'frog',
  112137. icon: [576, 512, [], "f52e", "M368 32c41.7 0 75.9 31.8 79.7 72.5l85.6 26.3c25.4 7.8 42.8 31.3 42.8 57.9c0 21.8-11.7 41.9-30.7 52.7L400.8 323.5 493.3 416H544c17.7 0 32 14.3 32 32s-14.3 32-32 32H480c-8.5 0-16.6-3.4-22.6-9.4L346.9 360.2c11.7-36 3.2-77.1-25.4-105.7c-40.6-40.6-106.3-40.6-146.9-.1L101 324.4c-6.4 6.1-6.7 16.2-.6 22.6s16.2 6.6 22.6 .6l73.8-70.2 .1-.1 .1-.1c3.5-3.5 7.3-6.6 11.3-9.2c27.9-18.5 65.9-15.4 90.5 9.2c24.7 24.7 27.7 62.9 9 90.9c-2.6 3.8-5.6 7.5-9 10.9L261.8 416H352c17.7 0 32 14.3 32 32s-14.3 32-32 32H64c-35.3 0-64-28.7-64-64C0 249.6 127 112.9 289.3 97.5C296.2 60.2 328.8 32 368 32zm0 104c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24z"]
  112138. };
  112139. var faBucket = {
  112140. prefix: 'fas',
  112141. iconName: 'bucket',
  112142. icon: [448, 512, [], "e4cf", "M96 152v8H48v-8C48 68.1 116.1 0 200 0h48c83.9 0 152 68.1 152 152v8H352v-8c0-57.4-46.6-104-104-104H200C142.6 48 96 94.6 96 152zM0 224c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32h-5.1L388.5 469c-2.6 24.4-23.2 43-47.7 43H107.2c-24.6 0-45.2-18.5-47.7-43L37.1 256H32c-17.7 0-32-14.3-32-32z"]
  112143. };
  112144. var faImage = {
  112145. prefix: 'fas',
  112146. iconName: 'image',
  112147. icon: [512, 512, [], "f03e", "M0 96C0 60.7 28.7 32 64 32H448c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zM323.8 202.5c-4.5-6.6-11.9-10.5-19.8-10.5s-15.4 3.9-19.8 10.5l-87 127.6L170.7 297c-4.6-5.7-11.5-9-18.7-9s-14.2 3.3-18.7 9l-64 80c-5.8 7.2-6.9 17.1-2.9 25.4s12.4 13.6 21.6 13.6h96 32H424c8.9 0 17.1-4.9 21.2-12.8s3.6-17.4-1.4-24.7l-120-176zM112 192c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48z"]
  112148. };
  112149. var faMicrophone = {
  112150. prefix: 'fas',
  112151. iconName: 'microphone',
  112152. icon: [384, 512, [], "f130", "M192 0C139 0 96 43 96 96V256c0 53 43 96 96 96s96-43 96-96V96c0-53-43-96-96-96zM64 216c0-13.3-10.7-24-24-24s-24 10.7-24 24v40c0 89.1 66.2 162.7 152 174.4V464H120c-13.3 0-24 10.7-24 24s10.7 24 24 24h72 72c13.3 0 24-10.7 24-24s-10.7-24-24-24H216V430.4c85.8-11.7 152-85.3 152-174.4V216c0-13.3-10.7-24-24-24s-24 10.7-24 24v40c0 70.7-57.3 128-128 128s-128-57.3-128-128V216z"]
  112153. };
  112154. var faCow = {
  112155. prefix: 'fas',
  112156. iconName: 'cow',
  112157. icon: [640, 512, [128004], "f6c8", "M96 224v32V416c0 17.7 14.3 32 32 32h32c17.7 0 32-14.3 32-32V327.8c9.9 6.6 20.6 12 32 16.1V368c0 8.8 7.2 16 16 16s16-7.2 16-16V351.1c5.3 .6 10.6 .9 16 .9s10.7-.3 16-.9V368c0 8.8 7.2 16 16 16s16-7.2 16-16V343.8c11.4-4 22.1-9.4 32-16.1V416c0 17.7 14.3 32 32 32h32c17.7 0 32-14.3 32-32V256l32 32v49.5c0 9.5 2.8 18.7 8.1 26.6L530 427c8.8 13.1 23.5 21 39.3 21c22.5 0 41.9-15.9 46.3-38l20.3-101.6c2.6-13-.3-26.5-8-37.3l-3.9-5.5V184c0-13.3-10.7-24-24-24s-24 10.7-24 24v14.4l-52.9-74.1C496 86.5 452.4 64 405.9 64H272 256 192 144C77.7 64 24 117.7 24 184v54C9.4 249.8 0 267.8 0 288v17.6c0 8 6.4 14.4 14.4 14.4C46.2 320 72 294.2 72 262.4V256 224 184c0-24.3 12.1-45.8 30.5-58.9C98.3 135.9 96 147.7 96 160v64zM592 336c0 8.8-7.2 16-16 16s-16-7.2-16-16s7.2-16 16-16s16 7.2 16 16zM166.6 166.6c-4.2-4.2-6.6-10-6.6-16c0-12.5 10.1-22.6 22.6-22.6H361.4c12.5 0 22.6 10.1 22.6 22.6c0 6-2.4 11.8-6.6 16l-23.4 23.4C332.2 211.8 302.7 224 272 224s-60.2-12.2-81.9-33.9l-23.4-23.4z"]
  112158. };
  112159. var faCaretUp = {
  112160. prefix: 'fas',
  112161. iconName: 'caret-up',
  112162. icon: [320, 512, [], "f0d8", "M182.6 137.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8H288c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-128-128z"]
  112163. };
  112164. var faScrewdriver = {
  112165. prefix: 'fas',
  112166. iconName: 'screwdriver',
  112167. icon: [512, 512, [129691], "f54a", "M465 7c-8.5-8.5-22-9.4-31.6-2.1l-104 80c-5.9 4.5-9.4 11.6-9.4 19v54.1l-85.6 85.6c6.7 4.2 13 9.3 18.8 15.1s10.9 12.2 15.1 18.8L353.9 192H408c7.5 0 14.5-3.5 19-9.4l80-104c7.4-9.6 6.5-23.1-2.1-31.6L465 7zM121.4 281.4l-112 112c-12.5 12.5-12.5 32.8 0 45.3l64 64c12.5 12.5 32.8 12.5 45.3 0l112-112c30.2-30.2 30.2-79.1 0-109.3s-79.1-30.2-109.3 0z"]
  112168. };
  112169. var faFolderClosed = {
  112170. prefix: 'fas',
  112171. iconName: 'folder-closed',
  112172. icon: [512, 512, [], "e185", "M448 480H64c-35.3 0-64-28.7-64-64V192H512V416c0 35.3-28.7 64-64 64zm64-320H0V96C0 60.7 28.7 32 64 32H181.5c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 28.3 18.7 45.3 18.7H448c35.3 0 64 28.7 64 64z"]
  112173. };
  112174. var faHouseTsunami = {
  112175. prefix: 'fas',
  112176. iconName: 'house-tsunami',
  112177. icon: [576, 512, [], "e515", "M80.8 136.5C104.9 93.8 152.6 64 209 64c16.9 0 33.1 2.7 48.2 7.7c16.8 5.5 34.9-3.6 40.4-20.4s-3.6-34.9-20.4-40.4C255.8 3.8 232.8 0 209 0C95.2 0 0 88 0 200c0 91.6 53.5 172.1 142.2 194.1c13.4 3.8 27.5 5.9 42.2 5.9c.7 0 1.4 0 2.1-.1c1.8 0 3.7 .1 5.5 .1l0 0c31.9 0 60.6-9.9 80.4-18.9c5.8-2.7 11.1-5.3 15.6-7.7c4.5 2.4 9.7 5.1 15.6 7.7c19.8 9 48.6 18.9 80.4 18.9c33 0 65.5-10.3 94.5-25.8c13.4 8.4 33.7 19.3 58.2 25c17.2 4 34.4-6.7 38.4-23.9s-6.7-34.4-23.9-38.4c-18.1-4.2-36.2-13.3-50.6-25.2c-11.1-9.5-27.3-10.1-39.2-1.7l0 0C439.4 325.2 410.9 336 384 336c-27.5 0-55-10.6-77.5-26.1c-11.1-7.9-25.9-7.9-37 0c-22.4 15.5-49.9 26.1-77.4 26.1c0 0-.1 0-.1 0c-12.4 0-24-1.5-34.9-4.3C121.6 320.2 96 287 96 248c0-48.5 39.5-88 88.4-88c13.5 0 26.1 3 37.5 8.3c16 7.5 35.1 .6 42.5-15.5s.6-35.1-15.5-42.5C229.3 101.1 207.4 96 184.4 96c-40 0-76.4 15.4-103.6 40.5zm252-18.1c-8.1 6-12.8 15.5-12.8 25.6V265c1.6 1 3.3 2 4.8 3.1c18.4 12.7 39.6 20.3 59.2 20.3c19 0 41.2-7.9 59.2-20.3c23.8-16.7 55.8-15.3 78.1 3.4c10.6 8.8 24.2 15.6 37.3 18.6c5.8 1.4 11.2 3.4 16.2 6.2c.7-2.7 1.1-5.5 1.1-8.4l-.4-144c0-10-4.7-19.4-12.7-25.5l-95.5-72c-11.4-8.6-27.1-8.6-38.5 0l-96 72zM384 448c-27.5 0-55-10.6-77.5-26.1c-11.1-7.9-25.9-7.9-37 0C247 437.4 219.5 448 192 448c-26.9 0-55.3-10.8-77.4-26.1l0 0c-11.9-8.5-28.1-7.8-39.2 1.7c-14.4 11.9-32.5 21-50.6 25.2c-17.2 4-27.9 21.2-23.9 38.4s21.2 27.9 38.4 23.9c24.5-5.7 44.9-16.5 58.2-25C126.5 501.7 159 512 192 512c31.9 0 60.6-9.9 80.4-18.9c5.8-2.7 11.1-5.3 15.6-7.7c4.5 2.4 9.7 5.1 15.6 7.7c19.8 9 48.6 18.9 80.4 18.9c33 0 65.5-10.3 94.5-25.8c13.4 8.4 33.7 19.3 58.2 25c17.2 4 34.4-6.7 38.4-23.9s-6.7-34.4-23.9-38.4c-18.1-4.2-36.2-13.3-50.6-25.2c-11.1-9.4-27.3-10.1-39.2-1.7l0 0C439.4 437.2 410.9 448 384 448z"]
  112178. };
  112179. var faSquareNfi = {
  112180. prefix: 'fas',
  112181. iconName: 'square-nfi',
  112182. icon: [448, 512, [], "e576", "M0 96C0 60.7 28.7 32 64 32H384c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zm75.7 64.6C68.8 162.5 64 168.8 64 176V336c0 8.8 7.2 16 16 16s16-7.2 16-16V233.8l66.3 110.5c3.7 6.2 11.1 9.1 18 7.2s11.7-8.2 11.7-15.4V176c0-8.8-7.2-16-16-16s-16 7.2-16 16V278.2L93.7 167.8c-3.7-6.2-11.1-9.1-18-7.2zM224 176v64 96c0 8.8 7.2 16 16 16s16-7.2 16-16V256h48c8.8 0 16-7.2 16-16s-7.2-16-16-16H256V192h48c8.8 0 16-7.2 16-16s-7.2-16-16-16H240c-8.8 0-16 7.2-16 16zm160 0c0-8.8-7.2-16-16-16s-16 7.2-16 16V336c0 8.8 7.2 16 16 16s16-7.2 16-16V176z"]
  112183. };
  112184. var faArrowUpFromGroundWater = {
  112185. prefix: 'fas',
  112186. iconName: 'arrow-up-from-ground-water',
  112187. icon: [576, 512, [], "e4b5", "M288 352c17.7 0 32-14.3 32-32V109.3l25.4 25.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-80-80c-12.5-12.5-32.8-12.5-45.3 0l-80 80c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L256 109.3V320c0 17.7 14.3 32 32 32zm-18.5 69.9C247 437.4 219.5 448 192 448c-26.9 0-55.3-10.8-77.4-26.1l0 0c-11.9-8.5-28.1-7.8-39.2 1.7c-14.4 11.9-32.5 21-50.6 25.2c-17.2 4-27.9 21.2-23.9 38.4s21.2 27.9 38.4 23.9c24.5-5.7 44.9-16.5 58.2-25C126.5 501.7 159 512 192 512c31.9 0 60.6-9.9 80.4-18.9c5.8-2.7 11.1-5.3 15.6-7.7c4.5 2.4 9.7 5.1 15.6 7.7c19.8 9 48.6 18.9 80.4 18.9c33 0 65.5-10.3 94.5-25.8c13.4 8.4 33.7 19.3 58.2 25c17.2 4 34.4-6.7 38.4-23.9s-6.7-34.4-23.9-38.4c-18.1-4.2-36.2-13.3-50.6-25.2c-11.1-9.4-27.3-10.1-39.2-1.7l0 0C439.4 437.2 410.9 448 384 448c-27.5 0-55-10.6-77.5-26.1c-11.1-7.9-25.9-7.9-37 0zM192 192H48c-26.5 0-48 21.5-48 48V425c5.3-3.1 11.2-5.4 17.5-6.9c13.1-3.1 26.7-9.8 37.3-18.6c22.2-18.7 54.3-20.1 78.1-3.4c18 12.4 40.1 20.3 59.1 20.3V192zm384 48c0-26.5-21.5-48-48-48H384V416.5h0c19 0 41.2-7.9 59.2-20.3c23.8-16.7 55.8-15.3 78.1 3.4c10.6 8.8 24.2 15.6 37.3 18.6c6.3 1.5 12.1 3.8 17.5 6.9V240z"]
  112188. };
  112189. var faMartiniGlass = {
  112190. prefix: 'fas',
  112191. iconName: 'martini-glass',
  112192. icon: [512, 512, [127864, "glass-martini-alt"], "f57b", "M32 0C19.1 0 7.4 7.8 2.4 19.8s-2.2 25.7 6.9 34.9L224 269.3V448H160c-17.7 0-32 14.3-32 32s14.3 32 32 32h96 96c17.7 0 32-14.3 32-32s-14.3-32-32-32H288V269.3L502.6 54.6c9.2-9.2 11.9-22.9 6.9-34.9S492.9 0 480 0H32zM173.3 128l-64-64H402.7l-64 64H173.3z"]
  112193. };
  112194. var faGlassMartiniAlt = faMartiniGlass;
  112195. var faRotateLeft = {
  112196. prefix: 'fas',
  112197. iconName: 'rotate-left',
  112198. icon: [512, 512, ["rotate-back", "rotate-backward", "undo-alt"], "f2ea", "M48.5 224H40c-13.3 0-24-10.7-24-24V72c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2L98.6 96.6c87.6-86.5 228.7-86.2 315.8 1c87.5 87.5 87.5 229.3 0 316.8s-229.3 87.5-316.8 0c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0c62.5 62.5 163.8 62.5 226.3 0s62.5-163.8 0-226.3c-62.2-62.2-162.7-62.5-225.3-1L185 183c6.9 6.9 8.9 17.2 5.2 26.2s-12.5 14.8-22.2 14.8H48.5z"]
  112199. };
  112200. var faRotateBack = faRotateLeft;
  112201. var faRotateBackward = faRotateLeft;
  112202. var faUndoAlt = faRotateLeft;
  112203. var faTableColumns = {
  112204. prefix: 'fas',
  112205. iconName: 'table-columns',
  112206. icon: [512, 512, ["columns"], "f0db", "M0 96C0 60.7 28.7 32 64 32H448c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zm64 64V416H224V160H64zm384 0H288V416H448V160z"]
  112207. };
  112208. var faColumns = faTableColumns;
  112209. var faLemon = {
  112210. prefix: 'fas',
  112211. iconName: 'lemon',
  112212. icon: [448, 512, [127819], "f094", "M448 96c0-35.3-28.7-64-64-64c-6.6 0-13 1-19 2.9c-22.5 7-48.1 14.9-71 9c-75.2-19.1-156.4 11-213.7 68.3S-7.2 250.8 11.9 326c5.8 22.9-2 48.4-9 71C1 403 0 409.4 0 416c0 35.3 28.7 64 64 64c6.6 0 13-1 19.1-2.9c22.5-7 48.1-14.9 71-9c75.2 19.1 156.4-11 213.7-68.3s87.5-138.5 68.3-213.7c-5.8-22.9 2-48.4 9-71c1.9-6 2.9-12.4 2.9-19.1zM212.5 127.4c-54.6 16-101.1 62.5-117.1 117.1C92.9 253 84 257.8 75.5 255.4S62.2 244 64.6 235.5c19.1-65.1 73.7-119.8 138.9-138.9c8.5-2.5 17.4 2.4 19.9 10.9s-2.4 17.4-10.9 19.9z"]
  112213. };
  112214. var faHeadSideMask = {
  112215. prefix: 'fas',
  112216. iconName: 'head-side-mask',
  112217. icon: [512, 512, [], "e063", "M0 224.2c0-22.2 3.2-43.6 9.2-63.9l227 165.1C228.5 337.8 224 352.4 224 368V512H96c-17.7 0-32-14.3-32-32V407.3c0-16.7-6.9-32.5-17.1-45.8C16.6 322.4 0 274.1 0 224.2zm258.6 77.9L21 129.3C56.7 53 134.2 0 224 0h32c95.2 0 174.2 69.3 189.4 160.1c2.2 13 6.7 25.7 15 36.1l42 52.6c6.2 7.8 9.6 17.4 9.6 27.4c0 4.1-.6 8.1-1.6 11.9H304c-16.9 0-32.5 5.2-45.4 14.1zM352 224c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zM256 512V368c0-26.5 21.5-48 48-48H512l-16 48H336c-8.8 0-16 7.2-16 16s7.2 16 16 16H485.3l-10.7 32H336c-8.8 0-16 7.2-16 16s7.2 16 16 16H464l-1.4 4.2c-8.7 26.1-33.2 43.8-60.7 43.8H256z"]
  112218. };
  112219. var faHandshake = {
  112220. prefix: 'fas',
  112221. iconName: 'handshake',
  112222. icon: [640, 512, [], "f2b5", "M323.4 85.2l-96.8 78.4c-16.1 13-19.2 36.4-7 53.1c12.9 17.8 38 21.3 55.3 7.8l99.3-77.2c7-5.4 17-4.2 22.5 2.8s4.2 17-2.8 22.5l-20.9 16.2L512 316.8V128h-.7l-3.9-2.5L434.8 79c-15.3-9.8-33.2-15-51.4-15c-21.8 0-43 7.5-60 21.2zm22.8 124.4l-51.7 40.2C263 274.4 217.3 268 193.7 235.6c-22.2-30.5-16.6-73.1 12.7-96.8l83.2-67.3c-11.6-4.9-24.1-7.4-36.8-7.4C234 64 215.7 69.6 200 80l-72 48V352h28.2l91.4 83.4c19.6 17.9 49.9 16.5 67.8-3.1c5.5-6.1 9.2-13.2 11.1-20.6l17 15.6c19.5 17.9 49.9 16.6 67.8-2.9c4.5-4.9 7.8-10.6 9.9-16.5c19.4 13 45.8 10.3 62.1-7.5c17.9-19.5 16.6-49.9-2.9-67.8l-134.2-123zM96 128H0V352c0 17.7 14.3 32 32 32H64c17.7 0 32-14.3 32-32V128zM48 352c-8.8 0-16-7.2-16-16s7.2-16 16-16s16 7.2 16 16s-7.2 16-16 16zM544 128V352c0 17.7 14.3 32 32 32h32c17.7 0 32-14.3 32-32V128H544zm64 208c0 8.8-7.2 16-16 16s-16-7.2-16-16s7.2-16 16-16s16 7.2 16 16z"]
  112223. };
  112224. var faGem = {
  112225. prefix: 'fas',
  112226. iconName: 'gem',
  112227. icon: [512, 512, [128142], "f3a5", "M116.7 33.8c4.5-6.1 11.7-9.8 19.3-9.8H376c7.6 0 14.8 3.6 19.3 9.8l112 152c6.8 9.2 6.1 21.9-1.5 30.4l-232 256c-4.6 5-11 7.9-17.8 7.9s-13.2-2.9-17.8-7.9l-232-256c-7.7-8.5-8.3-21.2-1.5-30.4l112-152zm38.5 39.8c-3.3 2.5-4.2 7-2.1 10.5l57.4 95.6L63.3 192c-4.1 .3-7.3 3.8-7.3 8s3.2 7.6 7.3 8l192 16c.4 0 .9 0 1.3 0l192-16c4.1-.3 7.3-3.8 7.3-8s-3.2-7.6-7.3-8L301.5 179.8l57.4-95.6c2.1-3.5 1.2-8.1-2.1-10.5s-7.9-2-10.7 1L256 172.2 165.9 74.6c-2.8-3-7.4-3.4-10.7-1z"]
  112228. };
  112229. var faDolly = {
  112230. prefix: 'fas',
  112231. iconName: 'dolly',
  112232. icon: [640, 512, ["dolly-box"], "f472", "M32 32C32 14.3 46.3 0 64 0h72.9c27.5 0 52 17.6 60.7 43.8L289.7 320c30.1 .5 56.8 14.9 74 37l202.1-67.4c16.8-5.6 34.9 3.5 40.5 20.2s-3.5 34.9-20.2 40.5L384 417.7c-.9 52.2-43.5 94.3-96 94.3c-53 0-96-43-96-96c0-30.8 14.5-58.2 37-75.8L136.9 64H64C46.3 64 32 49.7 32 32zM276.8 134.5c-5.5-16.8 3.7-34.9 20.5-40.3L343 79.4l19.8 60.9 60.9-19.8L403.8 59.6l45.7-14.8c16.8-5.5 34.9 3.7 40.3 20.5l49.4 152.2c5.5 16.8-3.7 34.9-20.5 40.3L366.5 307.2c-16.8 5.5-34.9-3.7-40.3-20.5L276.8 134.5z"]
  112233. };
  112234. var faDollyBox = faDolly;
  112235. var faSmoking = {
  112236. prefix: 'fas',
  112237. iconName: 'smoking',
  112238. icon: [640, 512, [128684], "f48d", "M448 32V43c0 38.2 15.2 74.8 42.2 101.8l21 21c21 21 32.8 49.5 32.8 79.2v11c0 17.7-14.3 32-32 32s-32-14.3-32-32V245c0-12.7-5.1-24.9-14.1-33.9l-21-21C405.9 151.1 384 98.1 384 43V32c0-17.7 14.3-32 32-32s32 14.3 32 32zM576 256V245c0-38.2-15.2-74.8-42.2-101.8l-21-21c-21-21-32.8-49.5-32.8-79.2V32c0-17.7 14.3-32 32-32s32 14.3 32 32V43c0 12.7 5.1 24.9 14.1 33.9l21 21c39 39 60.9 91.9 60.9 147.1v11c0 17.7-14.3 32-32 32s-32-14.3-32-32zM0 416c0-35.3 28.7-64 64-64H416c17.7 0 32 14.3 32 32v96c0 17.7-14.3 32-32 32H64c-35.3 0-64-28.7-64-64V416zm224 0v32H384V416H224zm288-64c17.7 0 32 14.3 32 32v96c0 17.7-14.3 32-32 32s-32-14.3-32-32V384c0-17.7 14.3-32 32-32zm96 0c17.7 0 32 14.3 32 32v96c0 17.7-14.3 32-32 32s-32-14.3-32-32V384c0-17.7 14.3-32 32-32z"]
  112239. };
  112240. var faMinimize = {
  112241. prefix: 'fas',
  112242. iconName: 'minimize',
  112243. icon: [512, 512, ["compress-arrows-alt"], "f78c", "M456 224H312c-13.3 0-24-10.7-24-24V56c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2l40 40L442.3 5.7C446 2 450.9 0 456 0s10 2 13.7 5.7l36.7 36.7C510 46 512 50.9 512 56s-2 10-5.7 13.7L433 143l40 40c6.9 6.9 8.9 17.2 5.2 26.2s-12.5 14.8-22.2 14.8zm0 64c9.7 0 18.5 5.8 22.2 14.8s1.7 19.3-5.2 26.2l-40 40 73.4 73.4c3.6 3.6 5.7 8.5 5.7 13.7s-2 10-5.7 13.7l-36.7 36.7C466 510 461.1 512 456 512s-10-2-13.7-5.7L369 433l-40 40c-6.9 6.9-17.2 8.9-26.2 5.2s-14.8-12.5-14.8-22.2V312c0-13.3 10.7-24 24-24H456zm-256 0c13.3 0 24 10.7 24 24V456c0 9.7-5.8 18.5-14.8 22.2s-19.3 1.7-26.2-5.2l-40-40L69.7 506.3C66 510 61.1 512 56 512s-10-2-13.7-5.7L5.7 469.7C2 466 0 461.1 0 456s2-10 5.7-13.7L79 369 39 329c-6.9-6.9-8.9-17.2-5.2-26.2s12.5-14.8 22.2-14.8H200zM56 224c-9.7 0-18.5-5.8-22.2-14.8s-1.7-19.3 5.2-26.2l40-40L5.7 69.7C2 66 0 61.1 0 56s2-10 5.7-13.7L42.3 5.7C46 2 50.9 0 56 0s10 2 13.7 5.7L143 79l40-40c6.9-6.9 17.2-8.9 26.2-5.2s14.8 12.5 14.8 22.2V200c0 13.3-10.7 24-24 24H56z"]
  112244. };
  112245. var faCompressArrowsAlt = faMinimize;
  112246. var faMonument = {
  112247. prefix: 'fas',
  112248. iconName: 'monument',
  112249. icon: [384, 512, [], "f5a6", "M180.7 4.7c6.2-6.2 16.4-6.2 22.6 0l80 80c2.5 2.5 4.1 5.8 4.6 9.3l40.2 322H55.9L96.1 94c.4-3.5 2-6.8 4.6-9.3l80-80zM152 272c-13.3 0-24 10.7-24 24s10.7 24 24 24h80c13.3 0 24-10.7 24-24s-10.7-24-24-24H152zM32 448H352c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]
  112250. };
  112251. var faSnowplow = {
  112252. prefix: 'fas',
  112253. iconName: 'snowplow',
  112254. icon: [640, 512, [], "f7d2", "M298.9 64l68.6 160H256l-64-64V64H298.9zM445.1 242.7l-87.4-204C347.6 15.3 324.5 0 298.9 0H176c-26.5 0-48 21.5-48 48V160H96c-17.7 0-32 14.3-32 32V298.8C26.2 316.8 0 355.3 0 400c0 61.9 50.1 112 112 112H368c61.9 0 112-50.1 112-112c0-17.2-3.9-33.5-10.8-48H512v50.7c0 17 6.7 33.3 18.7 45.3l54.6 54.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L576 402.7V320 235.2L633 164c11-13.8 8.8-33.9-5-45s-33.9-8.8-45 5l-57 71.2c-9.1 11.3-14 25.4-14 40V288H448V256.7c.1-2.4-.2-4.8-.6-7.1s-1.2-4.7-2.2-6.8zM368 352c26.5 0 48 21.5 48 48s-21.5 48-48 48H112c-26.5 0-48-21.5-48-48s21.5-48 48-48H368zM144 400c0-13.3-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24s24-10.7 24-24zm216 24c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24zm-56-24c0-13.3-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24s24-10.7 24-24zM200 424c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24z"]
  112255. };
  112256. var faAnglesRight = {
  112257. prefix: 'fas',
  112258. iconName: 'angles-right',
  112259. icon: [512, 512, [187, "angle-double-right"], "f101", "M470.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 256 265.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160zm-352 160l160-160c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L210.7 256 73.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0z"]
  112260. };
  112261. var faAngleDoubleRight = faAnglesRight;
  112262. var faCannabis = {
  112263. prefix: 'fas',
  112264. iconName: 'cannabis',
  112265. icon: [512, 512, [], "f55f", "M256 0c5.3 0 10.3 2.7 13.3 7.1c15.8 23.5 36.7 63.7 49.2 109c7.2 26.4 11.8 55.2 10.4 84c11.5-8.8 23.7-16.7 35.8-23.6c41-23.3 84.4-36.9 112.2-42.5c5.2-1 10.7 .6 14.4 4.4s5.4 9.2 4.4 14.5c-5.6 27.7-19.3 70.9-42.7 111.7c-9.1 15.9-19.9 31.7-32.4 46.3c27.8 6.6 52.4 17.3 67.2 25.5c5.1 2.8 8.2 8.2 8.2 14s-3.2 11.2-8.2 14c-15.2 8.4-40.9 19.5-69.8 26.1c-20.2 4.6-42.9 7.2-65.2 4.6l8.3 33.1c1.5 6.1-.6 12.4-5.5 16.4s-11.6 4.6-17.2 1.9L280 417.2V488c0 13.3-10.7 24-24 24s-24-10.7-24-24V417.2l-58.5 29.1c-5.6 2.8-12.3 2.1-17.2-1.9s-7-10.3-5.5-16.4l8.3-33.1c-22.2 2.6-45 0-65.2-4.6c-28.9-6.6-54.6-17.6-69.8-26.1c-5.1-2.8-8.2-8.2-8.2-14s3.2-11.2 8.2-14c14.8-8.2 39.4-18.8 67.2-25.5C78.9 296.3 68.1 280.5 59 264.6c-23.4-40.8-37.1-84-42.7-111.7c-1.1-5.2 .6-10.7 4.4-14.5s9.2-5.4 14.4-4.4c27.9 5.5 71.2 19.2 112.2 42.5c12.1 6.9 24.3 14.7 35.8 23.6c-1.4-28.7 3.1-57.6 10.4-84c12.5-45.3 33.4-85.5 49.2-109c3-4.4 8-7.1 13.3-7.1z"]
  112266. };
  112267. var faCirclePlay = {
  112268. prefix: 'fas',
  112269. iconName: 'circle-play',
  112270. icon: [512, 512, [61469, "play-circle"], "f144", "M512 256c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM188.3 147.1c-7.6 4.2-12.3 12.3-12.3 20.9V344c0 8.7 4.7 16.7 12.3 20.9s16.8 4.1 24.3-.5l144-88c7.1-4.4 11.5-12.1 11.5-20.5s-4.4-16.1-11.5-20.5l-144-88c-7.4-4.5-16.7-4.7-24.3-.5z"]
  112271. };
  112272. var faPlayCircle = faCirclePlay;
  112273. var faTablets = {
  112274. prefix: 'fas',
  112275. iconName: 'tablets',
  112276. icon: [640, 512, [], "f490", "M614.3 247c16.3-25 25.7-54.9 25.7-87C640 71.6 568.4 0 480 0c-32.1 0-61.9 9.4-87 25.7c-7.9 5.2-8.5 16.2-1.8 22.9L591.4 248.8c6.7 6.7 17.8 6.2 22.9-1.8zM567 294.3c7.9-5.2 8.5-16.2 1.8-22.9L368.6 71.2c-6.7-6.7-17.8-6.2-22.9 1.8c-16.3 25-25.7 54.9-25.7 87c0 88.4 71.6 160 160 160c32.1 0 61.9-9.4 87-25.7zM301.5 368H18.5c-9.5 0-16.9 8.2-15 17.5C18.9 457.8 83.1 512 160 512s141.1-54.2 156.5-126.5c2-9.3-5.5-17.5-15-17.5zm0-32c9.5 0 16.9-8.2 15-17.5C301.1 246.2 236.9 192 160 192S18.9 246.2 3.5 318.5c-2 9.3 5.5 17.5 15 17.5H301.5z"]
  112277. };
  112278. var faEthernet = {
  112279. prefix: 'fas',
  112280. iconName: 'ethernet',
  112281. icon: [512, 512, [], "f796", "M0 224V416c0 17.7 14.3 32 32 32H96V336c0-8.8 7.2-16 16-16s16 7.2 16 16V448h64V336c0-8.8 7.2-16 16-16s16 7.2 16 16V448h64V336c0-8.8 7.2-16 16-16s16 7.2 16 16V448h64V336c0-8.8 7.2-16 16-16s16 7.2 16 16V448h64c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32H448V160c0-17.7-14.3-32-32-32H384V96c0-17.7-14.3-32-32-32H160c-17.7 0-32 14.3-32 32v32H96c-17.7 0-32 14.3-32 32v32H32c-17.7 0-32 14.3-32 32z"]
  112282. };
  112283. var faEuroSign = {
  112284. prefix: 'fas',
  112285. iconName: 'euro-sign',
  112286. icon: [320, 512, [8364, "eur", "euro"], "f153", "M48.1 240c-.1 2.7-.1 5.3-.1 8v16c0 2.7 0 5.3 .1 8H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H60.3C89.9 419.9 170 480 264 480h24c17.7 0 32-14.3 32-32s-14.3-32-32-32H264c-57.9 0-108.2-32.4-133.9-80H256c17.7 0 32-14.3 32-32s-14.3-32-32-32H112.2c-.1-2.6-.2-5.3-.2-8V248c0-2.7 .1-5.4 .2-8H256c17.7 0 32-14.3 32-32s-14.3-32-32-32H130.1c25.7-47.6 76-80 133.9-80h24c17.7 0 32-14.3 32-32s-14.3-32-32-32H264C170 32 89.9 92.1 60.3 176H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H48.1z"]
  112287. };
  112288. var faEur = faEuroSign;
  112289. var faEuro = faEuroSign;
  112290. var faChair = {
  112291. prefix: 'fas',
  112292. iconName: 'chair',
  112293. icon: [448, 512, [129681], "f6c0", "M248 48V256h48V58.7c23.9 13.8 40 39.7 40 69.3V256h48V128C384 57.3 326.7 0 256 0H192C121.3 0 64 57.3 64 128V256h48V128c0-29.6 16.1-55.5 40-69.3V256h48V48h48zM48 288c-12.1 0-23.2 6.8-28.6 17.7l-16 32c-5 9.9-4.4 21.7 1.4 31.1S20.9 384 32 384l0 96c0 17.7 14.3 32 32 32s32-14.3 32-32V384H352v96c0 17.7 14.3 32 32 32s32-14.3 32-32V384c11.1 0 21.4-5.7 27.2-15.2s6.4-21.2 1.4-31.1l-16-32C423.2 294.8 412.1 288 400 288H48z"]
  112294. };
  112295. var faCircleCheck = {
  112296. prefix: 'fas',
  112297. iconName: 'circle-check',
  112298. icon: [512, 512, [61533, "check-circle"], "f058", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]
  112299. };
  112300. var faCheckCircle = faCircleCheck;
  112301. var faCircleStop = {
  112302. prefix: 'fas',
  112303. iconName: 'circle-stop',
  112304. icon: [512, 512, [62094, "stop-circle"], "f28d", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM192 160H320c17.7 0 32 14.3 32 32V320c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V192c0-17.7 14.3-32 32-32z"]
  112305. };
  112306. var faStopCircle = faCircleStop;
  112307. var faCompassDrafting = {
  112308. prefix: 'fas',
  112309. iconName: 'compass-drafting',
  112310. icon: [512, 512, ["drafting-compass"], "f568", "M352 96c0 14.3-3.1 27.9-8.8 40.2L396 227.4c-23.7 25.3-54.2 44.1-88.5 53.6L256 192h0 0l-68 117.5c21.5 6.8 44.3 10.5 68.1 10.5c70.7 0 133.8-32.7 174.9-84c11.1-13.8 31.2-16 45-5s16 31.2 5 45C428.1 341.8 347 384 256 384c-35.4 0-69.4-6.4-100.7-18.1L98.7 463.7C94 471.8 87 478.4 78.6 482.6L23.2 510.3c-5 2.5-10.9 2.2-15.6-.7S0 501.5 0 496V440.6c0-8.4 2.2-16.7 6.5-24.1l60-103.7C53.7 301.6 41.8 289.3 31.2 276c-11.1-13.8-8.8-33.9 5-45s33.9-8.8 45 5c5.7 7.1 11.8 13.8 18.2 20.1l69.4-119.9c-5.6-12.2-8.8-25.8-8.8-40.2c0-53 43-96 96-96s96 43 96 96zm21 297.9c32.6-12.8 62.5-30.8 88.9-52.9l43.7 75.5c4.2 7.3 6.5 15.6 6.5 24.1V496c0 5.5-2.9 10.7-7.6 13.6s-10.6 3.2-15.6 .7l-55.4-27.7c-8.4-4.2-15.4-10.8-20.1-18.9L373 393.9zM256 128c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32z"]
  112311. };
  112312. var faDraftingCompass = faCompassDrafting;
  112313. var faPlateWheat = {
  112314. prefix: 'fas',
  112315. iconName: 'plate-wheat',
  112316. icon: [512, 512, [], "e55a", "M176 32c44.2 0 80 35.8 80 80v16c0 8.8-7.2 16-16 16c-44.2 0-80-35.8-80-80V48c0-8.8 7.2-16 16-16zM56 64h48c13.3 0 24 10.7 24 24s-10.7 24-24 24H56c-13.3 0-24-10.7-24-24s10.7-24 24-24zM24 136H136c13.3 0 24 10.7 24 24s-10.7 24-24 24H24c-13.3 0-24-10.7-24-24s10.7-24 24-24zm8 96c0-13.3 10.7-24 24-24h48c13.3 0 24 10.7 24 24s-10.7 24-24 24H56c-13.3 0-24-10.7-24-24zM272 48c0-8.8 7.2-16 16-16c44.2 0 80 35.8 80 80v16c0 8.8-7.2 16-16 16c-44.2 0-80-35.8-80-80V48zM400 32c44.2 0 80 35.8 80 80v16c0 8.8-7.2 16-16 16c-44.2 0-80-35.8-80-80V48c0-8.8 7.2-16 16-16zm80 160v16c0 44.2-35.8 80-80 80c-8.8 0-16-7.2-16-16V256c0-44.2 35.8-80 80-80c8.8 0 16 7.2 16 16zM352 176c8.8 0 16 7.2 16 16v16c0 44.2-35.8 80-80 80c-8.8 0-16-7.2-16-16V256c0-44.2 35.8-80 80-80zm-96 16v16c0 44.2-35.8 80-80 80c-8.8 0-16-7.2-16-16V256c0-44.2 35.8-80 80-80c8.8 0 16 7.2 16 16zM3.5 347.6C1.6 332.9 13 320 27.8 320H484.2c14.8 0 26.2 12.9 24.4 27.6C502.3 397.8 464.2 437 416 446v2c0 17.7-14.3 32-32 32H128c-17.7 0-32-14.3-32-32v-2c-48.2-9-86.3-48.2-92.5-98.4z"]
  112317. };
  112318. var faIcicles = {
  112319. prefix: 'fas',
  112320. iconName: 'icicles',
  112321. icon: [512, 512, [], "f7ad", "M75.8 304.8L1 35.7c-.7-2.5-1-5-1-7.5C0 12.6 12.6 0 28.2 0H482.4C498.8 0 512 13.2 512 29.6c0 1.6-.1 3.3-.4 4.9L434.6 496.1c-1.5 9.2-9.5 15.9-18.8 15.9c-9.2 0-17.1-6.6-18.7-15.6L336 160 307.2 303.9c-1.9 9.3-10.1 16.1-19.6 16.1c-9.2 0-17.2-6.2-19.4-15.1L240 192 210.6 368.2c-1.5 9.1-9.4 15.8-18.6 15.8s-17.1-6.7-18.6-15.8L144 192 115.9 304.3c-2.3 9.2-10.6 15.7-20.1 15.7c-9.3 0-17.5-6.2-20-15.2z"]
  112322. };
  112323. var faPersonShelter = {
  112324. prefix: 'fas',
  112325. iconName: 'person-shelter',
  112326. icon: [512, 512, [], "e54f", "M271.9 4.2c-9.8-5.6-21.9-5.6-31.8 0l-224 128C6.2 137.9 0 148.5 0 160V480c0 17.7 14.3 32 32 32s32-14.3 32-32V178.6L256 68.9 448 178.6V480c0 17.7 14.3 32 32 32s32-14.3 32-32V160c0-11.5-6.2-22.1-16.1-27.8l-224-128zM256 208c22.1 0 40-17.9 40-40s-17.9-40-40-40s-40 17.9-40 40s17.9 40 40 40zm-8 280V400h16v88c0 13.3 10.7 24 24 24s24-10.7 24-24V313.5l26.9 49.9c6.3 11.7 20.8 16 32.5 9.8s16-20.8 9.8-32.5l-37.9-70.3c-15.3-28.5-45.1-46.3-77.5-46.3H246.2c-32.4 0-62.1 17.8-77.5 46.3l-37.9 70.3c-6.3 11.7-1.9 26.2 9.8 32.5s26.2 1.9 32.5-9.8L200 313.5V488c0 13.3 10.7 24 24 24s24-10.7 24-24z"]
  112327. };
  112328. var faNeuter = {
  112329. prefix: 'fas',
  112330. iconName: 'neuter',
  112331. icon: [384, 512, [9906], "f22c", "M304 176c0 61.9-50.1 112-112 112s-112-50.1-112-112s50.1-112 112-112s112 50.1 112 112zM224 349.1c81.9-15 144-86.8 144-173.1C368 78.8 289.2 0 192 0S16 78.8 16 176c0 86.3 62.1 158.1 144 173.1V480c0 17.7 14.3 32 32 32s32-14.3 32-32V349.1z"]
  112332. };
  112333. var faIdBadge = {
  112334. prefix: 'fas',
  112335. iconName: 'id-badge',
  112336. icon: [384, 512, [], "f2c1", "M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H64zm96 320h64c44.2 0 80 35.8 80 80c0 8.8-7.2 16-16 16H96c-8.8 0-16-7.2-16-16c0-44.2 35.8-80 80-80zm96-96c0 35.3-28.7 64-64 64s-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64zM144 64h96c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]
  112337. };
  112338. var faMarker = {
  112339. prefix: 'fas',
  112340. iconName: 'marker',
  112341. icon: [512, 512, [], "f5a1", "M481 31C445.1-4.8 386.9-4.8 351 31l-15 15L322.9 33C294.8 4.9 249.2 4.9 221.1 33L135 119c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0L255 66.9c9.4-9.4 24.6-9.4 33.9 0L302.1 80 186.3 195.7 316.3 325.7 481 161c35.9-35.9 35.9-94.1 0-129.9zM293.7 348.3L163.7 218.3 99.5 282.5c-48 48-80.8 109.2-94.1 175.8l-5 25c-1.6 7.9 .9 16 6.6 21.7s13.8 8.1 21.7 6.6l25-5c66.6-13.3 127.8-46.1 175.8-94.1l64.2-64.2z"]
  112342. };
  112343. var faFaceLaughBeam = {
  112344. prefix: 'fas',
  112345. iconName: 'face-laugh-beam',
  112346. icon: [512, 512, [128513, "laugh-beam"], "f59a", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM101.6 314c-3.7-13.7 7.5-26 21.7-26H388.7c14.2 0 25.4 12.3 21.7 26C392 382 329.8 432 256 432s-136-50-154.4-118zm116-101.2l0 0 0 0-.2-.2c-.2-.2-.4-.5-.7-.9c-.6-.8-1.6-2-2.8-3.4c-2.5-2.8-6-6.6-10.2-10.3c-8.8-7.8-18.8-14-27.7-14s-18.9 6.2-27.7 14c-4.2 3.7-7.7 7.5-10.2 10.3c-1.2 1.4-2.2 2.6-2.8 3.4c-.3 .4-.6 .7-.7 .9l-.2 .2 0 0 0 0 0 0c-2.1 2.8-5.7 3.9-8.9 2.8s-5.5-4.1-5.5-7.6c0-17.9 6.7-35.6 16.6-48.8c9.8-13 23.9-23.2 39.4-23.2s29.6 10.2 39.4 23.2c9.9 13.2 16.6 30.9 16.6 48.8c0 3.4-2.2 6.5-5.5 7.6s-6.9 0-8.9-2.8l0 0 0 0zm160 0l0 0-.2-.2c-.2-.2-.4-.5-.7-.9c-.6-.8-1.6-2-2.8-3.4c-2.5-2.8-6-6.6-10.2-10.3c-8.8-7.8-18.8-14-27.7-14s-18.9 6.2-27.7 14c-4.2 3.7-7.7 7.5-10.2 10.3c-1.2 1.4-2.2 2.6-2.8 3.4c-.3 .4-.6 .7-.7 .9l-.2 .2 0 0 0 0 0 0c-2.1 2.8-5.7 3.9-8.9 2.8s-5.5-4.1-5.5-7.6c0-17.9 6.7-35.6 16.6-48.8c9.8-13 23.9-23.2 39.4-23.2s29.6 10.2 39.4 23.2c9.9 13.2 16.6 30.9 16.6 48.8c0 3.4-2.2 6.5-5.5 7.6s-6.9 0-8.9-2.8l0 0 0 0 0 0z"]
  112347. };
  112348. var faLaughBeam = faFaceLaughBeam;
  112349. var faHelicopterSymbol = {
  112350. prefix: 'fas',
  112351. iconName: 'helicopter-symbol',
  112352. icon: [512, 512, [], "e502", "M445.3 224H510C495.6 108.2 403.8 16.4 288 2V66.7C368.4 80.1 431.9 143.6 445.3 224zM510 288H445.3C431.9 368.4 368.4 431.9 288 445.4V510c115.8-14.4 207.6-106.2 222-222zM2 288C16.4 403.8 108.2 495.6 224 510V445.4C143.6 431.9 80.1 368.4 66.7 288H2zm0-64H66.7C80.1 143.6 143.6 80.1 224 66.7V2C108.2 16.4 16.4 108.2 2 224zm206-64c0-17.7-14.3-32-32-32s-32 14.3-32 32V352c0 17.7 14.3 32 32 32s32-14.3 32-32V288h96v64c0 17.7 14.3 32 32 32s32-14.3 32-32V160c0-17.7-14.3-32-32-32s-32 14.3-32 32v64H208V160z"]
  112353. };
  112354. var faUniversalAccess = {
  112355. prefix: 'fas',
  112356. iconName: 'universal-access',
  112357. icon: [512, 512, [], "f29a", "M512 256c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM161.5 169.9c-12.2-5.2-26.3 .4-31.5 12.6s.4 26.3 12.6 31.5l11.9 5.1c17.3 7.4 35.2 12.9 53.6 16.3v50.1c0 4.3-.7 8.6-2.1 12.6l-28.7 86.1c-4.2 12.6 2.6 26.2 15.2 30.4s26.2-2.6 30.4-15.2l24.4-73.2c1.3-3.8 4.8-6.4 8.8-6.4s7.6 2.6 8.8 6.4l24.4 73.2c4.2 12.6 17.8 19.4 30.4 15.2s19.4-17.8 15.2-30.4l-28.7-86.1c-1.4-4.1-2.1-8.3-2.1-12.6V235.5c18.4-3.5 36.3-8.9 53.6-16.3l11.9-5.1c12.2-5.2 17.8-19.3 12.6-31.5s-19.3-17.8-31.5-12.6L338.7 175c-26.1 11.2-54.2 17-82.7 17s-56.5-5.8-82.7-17l-11.9-5.1zM256 160c22.1 0 40-17.9 40-40s-17.9-40-40-40s-40 17.9-40 40s17.9 40 40 40z"]
  112358. };
  112359. var faCircleChevronUp = {
  112360. prefix: 'fas',
  112361. iconName: 'circle-chevron-up',
  112362. icon: [512, 512, ["chevron-circle-up"], "f139", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM377 271c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-87-87-87 87c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9L239 167c9.4-9.4 24.6-9.4 33.9 0L377 271z"]
  112363. };
  112364. var faChevronCircleUp = faCircleChevronUp;
  112365. var faLariSign = {
  112366. prefix: 'fas',
  112367. iconName: 'lari-sign',
  112368. icon: [384, 512, [], "e1c8", "M144 32c17.7 0 32 14.3 32 32V96.7c5.3-.4 10.6-.7 16-.7s10.7 .2 16 .7V64c0-17.7 14.3-32 32-32s32 14.3 32 32v49.4c54.9 25.2 95.8 75.5 108.2 136.2c3.5 17.3-7.7 34.2-25 37.7s-34.2-7.7-37.7-25c-6.1-29.9-22.5-55.9-45.4-74.3V256c0 17.7-14.3 32-32 32s-32-14.3-32-32V161c-5.2-.7-10.6-1-16-1s-10.8 .3-16 1v95c0 17.7-14.3 32-32 32s-32-14.3-32-32V188.1C82.7 211.5 64 247.6 64 288c0 70.7 57.3 128 128 128H352c17.7 0 32 14.3 32 32s-14.3 32-32 32H192 32c-17.7 0-32-14.3-32-32s14.3-32 32-32H48.9C18.5 382 0 337.2 0 288c0-77.5 45.9-144.3 112-174.6V64c0-17.7 14.3-32 32-32z"]
  112369. };
  112370. var faVolcano = {
  112371. prefix: 'fas',
  112372. iconName: 'volcano',
  112373. icon: [512, 512, [127755], "f770", "M160 144c-35.3 0-64-28.7-64-64s28.7-64 64-64c15.7 0 30 5.6 41.2 15C212.4 12.4 232.7 0 256 0s43.6 12.4 54.8 31C322 21.6 336.3 16 352 16c35.3 0 64 28.7 64 64s-28.7 64-64 64c-14.7 0-28.3-5-39.1-13.3l-32 48C275.3 187 266 192 256 192s-19.3-5-24.9-13.3l-32-48C188.3 139 174.7 144 160 144zM144 352l48.4-24.2c10.2-5.1 21.6-7.8 33-7.8c19.6 0 38.4 7.8 52.2 21.6l32.5 32.5c6.3 6.3 14.9 9.9 23.8 9.9c11.3 0 21.8-5.6 28-15l9.7-14.6-59-66.3c-9.1-10.2-22.2-16.1-35.9-16.1H235.1c-13.7 0-26.8 5.9-35.9 16.1l-59.9 67.4L144 352zm19.4-95.8c18.2-20.5 44.3-32.2 71.8-32.2h41.8c27.4 0 53.5 11.7 71.8 32.2l150.2 169c8.5 9.5 13.2 21.9 13.2 34.7c0 28.8-23.4 52.2-52.2 52.2H52.2C23.4 512 0 488.6 0 459.8c0-12.8 4.7-25.1 13.2-34.7l150.2-169z"]
  112374. };
  112375. var faPersonWalkingDashedLineArrowRight = {
  112376. prefix: 'fas',
  112377. iconName: 'person-walking-dashed-line-arrow-right',
  112378. icon: [640, 512, [], "e553", "M208 96c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zM123.7 200.5c1-.4 1.9-.8 2.9-1.2l-16.9 63.5c-5.6 21.1-.1 43.6 14.7 59.7l70.7 77.1 22 88.1c4.3 17.1 21.7 27.6 38.8 23.3s27.6-21.7 23.3-38.8l-23-92.1c-1.9-7.8-5.8-14.9-11.2-20.8l-49.5-54 19.3-65.5 9.6 23c4.4 10.6 12.5 19.3 22.8 24.5l26.7 13.3c15.8 7.9 35 1.5 42.9-14.3s1.5-35-14.3-42.9L281 232.7l-15.3-36.8C248.5 154.8 208.3 128 163.7 128c-22.8 0-45.3 4.8-66.1 14l-8 3.5c-32.9 14.6-58.1 42.4-69.4 76.5l-2.6 7.8c-5.6 16.8 3.5 34.9 20.2 40.5s34.9-3.5 40.5-20.2l2.6-7.8c5.7-17.1 18.3-30.9 34.7-38.2l8-3.5zm-30 135.1L68.7 398 9.4 457.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L116.3 441c4.6-4.6 8.2-10.1 10.6-16.1l14.5-36.2-40.7-44.4c-2.5-2.7-4.8-5.6-7-8.6zM550.6 153.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L530.7 224H384c-17.7 0-32 14.3-32 32s14.3 32 32 32H530.7l-25.4 25.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l80-80c12.5-12.5 12.5-32.8 0-45.3l-80-80zM392 0c-13.3 0-24 10.7-24 24V72c0 13.3 10.7 24 24 24s24-10.7 24-24V24c0-13.3-10.7-24-24-24zm24 152c0-13.3-10.7-24-24-24s-24 10.7-24 24v16c0 13.3 10.7 24 24 24s24-10.7 24-24V152zM392 320c-13.3 0-24 10.7-24 24v16c0 13.3 10.7 24 24 24s24-10.7 24-24V344c0-13.3-10.7-24-24-24zm24 120c0-13.3-10.7-24-24-24s-24 10.7-24 24v48c0 13.3 10.7 24 24 24s24-10.7 24-24V440z"]
  112379. };
  112380. var faSterlingSign = {
  112381. prefix: 'fas',
  112382. iconName: 'sterling-sign',
  112383. icon: [384, 512, [163, "gbp", "pound-sign"], "f154", "M144 160.4c0-35.5 28.8-64.4 64.4-64.4c6.9 0 13.8 1.1 20.4 3.3l81.2 27.1c16.8 5.6 34.9-3.5 40.5-20.2s-3.5-34.9-20.2-40.5L249 38.6c-13.1-4.4-26.8-6.6-40.6-6.6C137.5 32 80 89.5 80 160.4V224H64c-17.7 0-32 14.3-32 32s14.3 32 32 32H80v44.5c0 17.4-4.7 34.5-13.7 49.4L36.6 431.5c-5.9 9.9-6.1 22.2-.4 32.2S52.5 480 64 480H320c17.7 0 32-14.3 32-32s-14.3-32-32-32H120.5l.7-1.1C136.1 390 144 361.5 144 332.5V288H256c17.7 0 32-14.3 32-32s-14.3-32-32-32H144V160.4z"]
  112384. };
  112385. var faGbp = faSterlingSign;
  112386. var faPoundSign = faSterlingSign;
  112387. var faViruses = {
  112388. prefix: 'fas',
  112389. iconName: 'viruses',
  112390. icon: [640, 512, [], "e076", "M192 0c13.3 0 24 10.7 24 24V37.5c0 35.6 43.1 53.5 68.3 28.3l9.5-9.5c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-9.5 9.5C293 124.9 310.9 168 346.5 168H360c13.3 0 24 10.7 24 24s-10.7 24-24 24H346.5c-35.6 0-53.5 43.1-28.3 68.3l9.5 9.5c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-9.5-9.5C259.1 293 216 310.9 216 346.5V360c0 13.3-10.7 24-24 24s-24-10.7-24-24V346.5c0-35.6-43.1-53.5-68.3-28.3l-9.5 9.5c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l9.5-9.5C91 259.1 73.1 216 37.5 216H24c-13.3 0-24-10.7-24-24s10.7-24 24-24H37.5c35.6 0 53.5-43.1 28.3-68.3l-9.5-9.5c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l9.5 9.5C124.9 91 168 73.1 168 37.5V24c0-13.3 10.7-24 24-24zm48 224c8.8 0 16-7.2 16-16s-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16zm-48-64c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zm320 80c0 33 39.9 49.5 63.2 26.2c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6C574.5 312.1 591 352 624 352c8.8 0 16 7.2 16 16s-7.2 16-16 16c-33 0-49.5 39.9-26.2 63.2c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0C551.9 446.5 512 463 512 496c0 8.8-7.2 16-16 16s-16-7.2-16-16c0-33-39.9-49.5-63.2-26.2c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6C417.5 423.9 401 384 368 384c-8.8 0-16-7.2-16-16s7.2-16 16-16c33 0 49.5-39.9 26.2-63.2c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0C440.1 289.5 480 273 480 240c0-8.8 7.2-16 16-16s16 7.2 16 16zm0 112c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32z"]
  112391. };
  112392. var faSquarePersonConfined = {
  112393. prefix: 'fas',
  112394. iconName: 'square-person-confined',
  112395. icon: [448, 512, [], "e577", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM256 144c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zM240 248c0-30.9 25.1-56 56-56s56 25.1 56 56V350.1c0 36.4-29.5 65.9-65.9 65.9c-17.5 0-34.3-6.9-46.6-19.3L184.8 342l-28.1 56.3c-7.9 15.8-27.1 22.2-42.9 14.3s-22.2-27.1-14.3-42.9l48-96c4.6-9.2 13.3-15.6 23.5-17.3s20.5 1.7 27.8 9L240 306.7V248z"]
  112396. };
  112397. var faUserTie = {
  112398. prefix: 'fas',
  112399. iconName: 'user-tie',
  112400. icon: [448, 512, [], "f508", "M224 0c70.7 0 128 57.3 128 128s-57.3 128-128 128s-128-57.3-128-128S153.3 0 224 0zM209.1 359.2l-18.6-31c-6.4-10.7 1.3-24.2 13.7-24.2H224h19.7c12.4 0 20.1 13.6 13.7 24.2l-18.6 31 33.4 123.9 39.5-161.2c77.2 12 136.3 78.8 136.3 159.4c0 17-13.8 30.7-30.7 30.7H265.1 182.9 30.7C13.8 512 0 498.2 0 481.3c0-80.6 59.1-147.4 136.3-159.4l39.5 161.2 33.4-123.9z"]
  112401. };
  112402. var faArrowDownLong = {
  112403. prefix: 'fas',
  112404. iconName: 'arrow-down-long',
  112405. icon: [384, 512, ["long-arrow-down"], "f175", "M224 402.7V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V402.7L86.6 329.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 402.7z"]
  112406. };
  112407. var faLongArrowDown = faArrowDownLong;
  112408. var faTentArrowDownToLine = {
  112409. prefix: 'fas',
  112410. iconName: 'tent-arrow-down-to-line',
  112411. icon: [640, 512, [], "e57e", "M241.8 111.9c8.9 9.9 8.1 25-1.8 33.9l-80 72c-9.1 8.2-23 8.2-32.1 0l-80-72c-9.9-8.9-10.7-24-1.8-33.9s24-10.7 33.9-1.8l39.9 36L120 24c0-13.3 10.7-24 24-24s24 10.7 24 24l0 122.1 39.9-36c9.9-8.9 25-8.1 33.9 1.8zm122.8 22.6c11.5-8.7 27.3-8.7 38.8 0l168 128c6.6 5 11 12.5 12.3 20.7l24 160 .7 4.7c17.5 .2 31.6 14.4 31.6 32c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H159.6l.7-4.7 24-160c1.2-8.2 5.6-15.7 12.3-20.7l168-128zM384 448h76.8L384 320V448z"]
  112412. };
  112413. var faCertificate = {
  112414. prefix: 'fas',
  112415. iconName: 'certificate',
  112416. icon: [512, 512, [], "f0a3", "M211 7.3C205 1 196-1.4 187.6 .8s-14.9 8.9-17.1 17.3L154.7 80.6l-62-17.5c-8.4-2.4-17.4 0-23.5 6.1s-8.5 15.1-6.1 23.5l17.5 62L18.1 170.6c-8.4 2.1-15 8.7-17.3 17.1S1 205 7.3 211l46.2 45L7.3 301C1 307-1.4 316 .8 324.4s8.9 14.9 17.3 17.1l62.5 15.8-17.5 62c-2.4 8.4 0 17.4 6.1 23.5s15.1 8.5 23.5 6.1l62-17.5 15.8 62.5c2.1 8.4 8.7 15 17.1 17.3s17.3-.2 23.4-6.4l45-46.2 45 46.2c6.1 6.2 15 8.7 23.4 6.4s14.9-8.9 17.1-17.3l15.8-62.5 62 17.5c8.4 2.4 17.4 0 23.5-6.1s8.5-15.1 6.1-23.5l-17.5-62 62.5-15.8c8.4-2.1 15-8.7 17.3-17.1s-.2-17.3-6.4-23.4l-46.2-45 46.2-45c6.2-6.1 8.7-15 6.4-23.4s-8.9-14.9-17.3-17.1l-62.5-15.8 17.5-62c2.4-8.4 0-17.4-6.1-23.5s-15.1-8.5-23.5-6.1l-62 17.5L341.4 18.1c-2.1-8.4-8.7-15-17.1-17.3S307 1 301 7.3L256 53.5 211 7.3z"]
  112417. };
  112418. var faReplyAll = {
  112419. prefix: 'fas',
  112420. iconName: 'reply-all',
  112421. icon: [576, 512, ["mail-reply-all"], "f122", "M117.2 160.4L224 64.3V64c0-12.6-7.4-24.1-19-29.2s-25-3-34.4 5.4l-160 144C3.9 190.3 0 198.9 0 208s3.9 17.7 10.6 23.8l160 144c9.4 8.5 22.9 10.6 34.4 5.4s19-16.6 19-29.2v-.3L117.2 255.6C103.7 243.4 96 226.1 96 208s7.7-35.4 21.2-47.6zM352 64c0-12.6-7.4-24.1-19-29.2s-25-3-34.4 5.4l-160 144c-6.7 6.1-10.6 14.7-10.6 23.8s3.9 17.7 10.6 23.8l160 144c9.4 8.5 22.9 10.6 34.4 5.4s19-16.6 19-29.2V288h32c53 0 96 43 96 96c0 30.4-12.8 47.9-22.2 56.7c-5.5 5.1-9.8 12-9.8 19.5c0 10.9 8.8 19.7 19.7 19.7c2.8 0 5.6-.6 8.1-1.9C494.5 467.9 576 417.3 576 304c0-97.2-78.8-176-176-176H352V64z"]
  112422. };
  112423. var faMailReplyAll = faReplyAll;
  112424. var faSuitcase = {
  112425. prefix: 'fas',
  112426. iconName: 'suitcase',
  112427. icon: [512, 512, [129523], "f0f2", "M176 56V96H336V56c0-4.4-3.6-8-8-8H184c-4.4 0-8 3.6-8 8zM128 96V56c0-30.9 25.1-56 56-56H328c30.9 0 56 25.1 56 56V96v32V480H128V128 96zM64 96H96V480H64c-35.3 0-64-28.7-64-64V160c0-35.3 28.7-64 64-64zM448 480H416V96h32c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64z"]
  112428. };
  112429. var faPersonSkating = {
  112430. prefix: 'fas',
  112431. iconName: 'person-skating',
  112432. icon: [448, 512, ["skating"], "f7c5", "M448 48c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zM128 128c0-17.7 14.3-32 32-32H319.4c43.6 0 64.6 53.4 32.8 83.1l-74.4 69.4 60.2 60.2c9 9 14.1 21.2 14.1 33.9V416c0 17.7-14.3 32-32 32s-32-14.3-32-32V349.3l-77.9-77.8c-26.6-26.6-24.6-70.3 4.3-94.4l20.4-17H160c-17.7 0-32-14.3-32-32zM81.4 353.4l86.9-86.9c4.6 10 11 19.3 19.3 27.5l21.8 21.8-82.7 82.7c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3zm322.5 95.1c8.6 2.1 13.8 10.8 11.6 19.4l-.4 1.7c-6.2 24.9-28.6 42.4-54.3 42.4H272c-8.8 0-16-7.2-16-16s7.2-16 16-16h88.8c11 0 20.6-7.5 23.3-18.2l.4-1.7c2.1-8.6 10.8-13.8 19.4-11.6zM135.2 478.3l-6.2 3.1c-21.6 10.8-47.6 6.6-64.6-10.5L4.7 411.3c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0l59.6 59.6c7.3 7.3 18.5 9.1 27.7 4.5l6.2-3.1c7.9-4 17.5-.7 21.5 7.2s.7 17.5-7.2 21.5z"]
  112433. };
  112434. var faSkating = faPersonSkating;
  112435. var faFilterCircleDollar = {
  112436. prefix: 'fas',
  112437. iconName: 'filter-circle-dollar',
  112438. icon: [576, 512, ["funnel-dollar"], "f662", "M3.9 22.9C10.5 8.9 24.5 0 40 0H472c15.5 0 29.5 8.9 36.1 22.9s4.6 30.5-5.2 42.5L396.4 195.6C316.2 212.1 256 283 256 368c0 27.4 6.3 53.4 17.5 76.5c-1.6-.8-3.2-1.8-4.7-2.9l-64-48c-8.1-6-12.8-15.5-12.8-25.6V288.9L9 65.3C-.7 53.4-2.8 36.8 3.9 22.9zM576 368c0 79.5-64.5 144-144 144s-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144zM408.8 335.4c.6-.9 1.8-2.1 4.2-3.4c5.1-2.7 12.5-4.1 18.7-4c8.2 .1 17.1 1.8 26.4 4.1c8.6 2.1 17.3-3.1 19.4-11.7s-3.1-17.3-11.7-19.4c-5.6-1.4-11.6-2.7-17.9-3.7V288c0-8.8-7.2-16-16-16s-16 7.2-16 16v9.5c-6.1 1.2-12.3 3.2-18 6.3c-11.8 6.3-23 18.4-21.8 37.2c1 16 11.7 25.3 21.6 30.7c8.8 4.7 19.7 7.8 28.6 10.3l1.8 .5c10.3 2.9 17.9 5.2 23.2 8.3c4.5 2.7 4.7 4.2 4.7 5.6c.1 2.4-.5 3.7-1 4.5c-.6 1-1.8 2.2-4 3.3c-4.7 2.5-11.8 3.8-18.5 3.6c-9.5-.3-18.5-3.1-29.9-6.8c-1.9-.6-3.8-1.2-5.8-1.8c-8.4-2.6-17.4 2.1-20 10.5s2.1 17.4 10.5 20c1.6 .5 3.3 1 5 1.6l0 0 0 0c7 2.3 15.1 4.8 23.7 6.6v11.4c0 8.8 7.2 16 16 16s16-7.2 16-16V438.7c6.2-1.1 12.5-3.1 18.3-6.2c12.1-6.5 22.3-18.7 21.7-36.9c-.5-16.2-10.3-26.3-20.5-32.3c-9.4-5.6-21.2-8.9-30.5-11.5l-.2 0c-10.4-2.9-18.3-5.2-23.9-8.2c-4.8-2.6-4.8-4-4.8-4.5l0-.1c-.1-1.9 .3-2.9 .8-3.6z"]
  112439. };
  112440. var faFunnelDollar = faFilterCircleDollar;
  112441. var faCameraRetro = {
  112442. prefix: 'fas',
  112443. iconName: 'camera-retro',
  112444. icon: [512, 512, [128247], "f083", "M220.6 121.2L271.1 96 448 96v96H333.2c-21.9-15.1-48.5-24-77.2-24s-55.2 8.9-77.2 24H64V128H192c9.9 0 19.7-2.3 28.6-6.8zM0 128V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H271.1c-9.9 0-19.7 2.3-28.6 6.8L192 64H160V48c0-8.8-7.2-16-16-16H80c-8.8 0-16 7.2-16 16l0 16C28.7 64 0 92.7 0 128zM344 304c0 48.6-39.4 88-88 88s-88-39.4-88-88s39.4-88 88-88s88 39.4 88 88z"]
  112445. };
  112446. var faCircleArrowDown = {
  112447. prefix: 'fas',
  112448. iconName: 'circle-arrow-down',
  112449. icon: [512, 512, ["arrow-circle-down"], "f0ab", "M256 0C114.6 0 0 114.6 0 256S114.6 512 256 512s256-114.6 256-256S397.4 0 256 0zM127 297c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l71 71L232 120c0-13.3 10.7-24 24-24s24 10.7 24 24l0 214.1 71-71c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9L273 409c-9.4 9.4-24.6 9.4-33.9 0L127 297z"]
  112450. };
  112451. var faArrowCircleDown = faCircleArrowDown;
  112452. var faFileImport = {
  112453. prefix: 'fas',
  112454. iconName: 'file-import',
  112455. icon: [512, 512, ["arrow-right-to-file"], "f56f", "M128 64c0-35.3 28.7-64 64-64H352V128c0 17.7 14.3 32 32 32H512V448c0 35.3-28.7 64-64 64H192c-35.3 0-64-28.7-64-64V336H302.1l-39 39c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l80-80c9.4-9.4 9.4-24.6 0-33.9l-80-80c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l39 39H128V64zm0 224v48H24c-13.3 0-24-10.7-24-24s10.7-24 24-24H128zM512 128H384V0L512 128z"]
  112456. };
  112457. var faArrowRightToFile = faFileImport;
  112458. var faSquareArrowUpRight = {
  112459. prefix: 'fas',
  112460. iconName: 'square-arrow-up-right',
  112461. icon: [448, 512, ["external-link-square"], "f14c", "M384 32c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96C0 60.7 28.7 32 64 32H384zM160 144c-13.3 0-24 10.7-24 24s10.7 24 24 24h94.1L119 327c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l135-135V328c0 13.3 10.7 24 24 24s24-10.7 24-24V168c0-13.3-10.7-24-24-24H160z"]
  112462. };
  112463. var faExternalLinkSquare = faSquareArrowUpRight;
  112464. var faBoxOpen = {
  112465. prefix: 'fas',
  112466. iconName: 'box-open',
  112467. icon: [640, 512, [], "f49e", "M58.9 42.1c3-6.1 9.6-9.6 16.3-8.7L320 64 564.8 33.4c6.7-.8 13.3 2.7 16.3 8.7l41.7 83.4c9 17.9-.6 39.6-19.8 45.1L439.6 217.3c-13.9 4-28.8-1.9-36.2-14.3L320 64 236.6 203c-7.4 12.4-22.3 18.3-36.2 14.3L37.1 170.6c-19.3-5.5-28.8-27.2-19.8-45.1L58.9 42.1zM321.1 128l54.9 91.4c14.9 24.8 44.6 36.6 72.5 28.6L576 211.6v167c0 22-15 41.2-36.4 46.6l-204.1 51c-10.2 2.6-20.9 2.6-31 0l-204.1-51C79 419.7 64 400.5 64 378.5v-167L191.6 248c27.8 8 57.6-3.8 72.5-28.6L318.9 128h2.2z"]
  112468. };
  112469. var faScroll = {
  112470. prefix: 'fas',
  112471. iconName: 'scroll',
  112472. icon: [576, 512, [128220], "f70e", "M0 80v48c0 17.7 14.3 32 32 32H48 96V80c0-26.5-21.5-48-48-48S0 53.5 0 80zM112 32c10 13.4 16 30 16 48V384c0 35.3 28.7 64 64 64s64-28.7 64-64v-5.3c0-32.4 26.3-58.7 58.7-58.7H480V128c0-53-43-96-96-96H112zM464 480c61.9 0 112-50.1 112-112c0-8.8-7.2-16-16-16H314.7c-14.7 0-26.7 11.9-26.7 26.7V384c0 53-43 96-96 96H368h96z"]
  112473. };
  112474. var faSpa = {
  112475. prefix: 'fas',
  112476. iconName: 'spa',
  112477. icon: [576, 512, [], "f5bb", "M183.1 235.3c33.7 20.7 62.9 48.1 85.8 80.5c7 9.9 13.4 20.3 19.1 31c5.7-10.8 12.1-21.1 19.1-31c22.9-32.4 52.1-59.8 85.8-80.5C437.6 207.8 490.1 192 546 192h9.9c11.1 0 20.1 9 20.1 20.1C576 360.1 456.1 480 308.1 480H288 267.9C119.9 480 0 360.1 0 212.1C0 201 9 192 20.1 192H30c55.9 0 108.4 15.8 153.1 43.3zM301.5 37.6c15.7 16.9 61.1 71.8 84.4 164.6c-38 21.6-71.4 50.8-97.9 85.6c-26.5-34.8-59.9-63.9-97.9-85.6c23.2-92.8 68.6-147.7 84.4-164.6C278 33.9 282.9 32 288 32s10 1.9 13.5 5.6z"]
  112478. };
  112479. var faLocationPinLock = {
  112480. prefix: 'fas',
  112481. iconName: 'location-pin-lock',
  112482. icon: [512, 512, [], "e51f", "M215.7 499.2c11-13.8 25.1-31.7 40.3-52.3V352c0-23.7 12.9-44.4 32-55.4V272c0-55.6 40.5-101.7 93.6-110.5C367 70 287.7 0 192 0C86 0 0 86 0 192c0 87.4 117 243 168.3 307.2c12.3 15.3 35.1 15.3 47.4 0zM192 256c-35.3 0-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64s-28.7 64-64 64zm208-16c17.7 0 32 14.3 32 32v48H368V272c0-17.7 14.3-32 32-32zm-80 32v48c-17.7 0-32 14.3-32 32V480c0 17.7 14.3 32 32 32H480c17.7 0 32-14.3 32-32V352c0-17.7-14.3-32-32-32V272c0-44.2-35.8-80-80-80s-80 35.8-80 80z"]
  112483. };
  112484. var faPause = {
  112485. prefix: 'fas',
  112486. iconName: 'pause',
  112487. icon: [320, 512, [9208], "f04c", "M48 64C21.5 64 0 85.5 0 112V400c0 26.5 21.5 48 48 48H80c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48H48zm192 0c-26.5 0-48 21.5-48 48V400c0 26.5 21.5 48 48 48h32c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48H240z"]
  112488. };
  112489. var faHillAvalanche = {
  112490. prefix: 'fas',
  112491. iconName: 'hill-avalanche',
  112492. icon: [640, 512, [], "e507", "M471.7 401.9c34.2 23.1 81.1 19.5 111.4-10.8c34.4-34.4 34.4-90.1 0-124.4c-27.8-27.8-69.5-33.1-102.6-16c-11.8 6.1-16.4 20.6-10.3 32.3s20.6 16.4 32.3 10.3c15.1-7.8 34-5.3 46.6 7.3c15.6 15.6 15.6 40.9 0 56.6s-40.9 15.6-56.6 0l-81.7-81.7C433.2 261.3 448 236.4 448 208c0-33.9-21.1-62.9-50.9-74.5c1.9-6.8 2.9-14 2.9-21.5c0-44.2-35.8-80-80-80c-27.3 0-51.5 13.7-65.9 34.6C248.3 46.6 229.9 32 208 32c-26.5 0-48 21.5-48 48c0 4 .5 7.9 1.4 11.6L471.7 401.9zM512 64c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zm0 128c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zM100.3 87C75.1 61.8 32 79.7 32 115.3V432c0 44.2 35.8 80 80 80H428.7c35.6 0 53.5-43.1 28.3-68.3L100.3 87z"]
  112493. };
  112494. var faTemperatureEmpty = {
  112495. prefix: 'fas',
  112496. iconName: 'temperature-empty',
  112497. icon: [320, 512, ["temperature-0", "thermometer-0", "thermometer-empty"], "f2cb", "M112 112c0-26.5 21.5-48 48-48s48 21.5 48 48V276.5c0 17.3 7.1 31.9 15.3 42.5C233.8 332.6 240 349.5 240 368c0 44.2-35.8 80-80 80s-80-35.8-80-80c0-18.5 6.2-35.4 16.7-48.9c8.2-10.6 15.3-25.2 15.3-42.5V112zM160 0C98.1 0 48 50.2 48 112V276.5c0 .1-.1 .3-.2 .6c-.2 .6-.8 1.6-1.7 2.8C27.2 304.2 16 334.8 16 368c0 79.5 64.5 144 144 144s144-64.5 144-144c0-33.2-11.3-63.8-30.1-88.1c-.9-1.2-1.5-2.2-1.7-2.8c-.1-.3-.2-.5-.2-.6V112C272 50.2 221.9 0 160 0zm0 416c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48z"]
  112498. };
  112499. var faTemperature0 = faTemperatureEmpty;
  112500. var faThermometer0 = faTemperatureEmpty;
  112501. var faThermometerEmpty = faTemperatureEmpty;
  112502. var faBomb = {
  112503. prefix: 'fas',
  112504. iconName: 'bomb',
  112505. icon: [512, 512, [128163], "f1e2", "M459.1 52.4L442.6 6.5C440.7 2.6 436.5 0 432.1 0s-8.5 2.6-10.4 6.5L405.2 52.4l-46 16.8c-4.3 1.6-7.3 5.9-7.2 10.4c0 4.5 3 8.7 7.2 10.2l45.7 16.8 16.8 45.8c1.5 4.4 5.8 7.5 10.4 7.5s8.9-3.1 10.4-7.5l16.5-45.8 45.7-16.8c4.2-1.5 7.2-5.7 7.2-10.2c0-4.6-3-8.9-7.2-10.4L459.1 52.4zm-132.4 53c-12.5-12.5-32.8-12.5-45.3 0l-2.9 2.9C256.5 100.3 232.7 96 208 96C93.1 96 0 189.1 0 304S93.1 512 208 512s208-93.1 208-208c0-24.7-4.3-48.5-12.2-70.5l2.9-2.9c12.5-12.5 12.5-32.8 0-45.3l-80-80zM200 192c-57.4 0-104 46.6-104 104v8c0 8.8-7.2 16-16 16s-16-7.2-16-16v-8c0-75.1 60.9-136 136-136h8c8.8 0 16 7.2 16 16s-7.2 16-16 16h-8z"]
  112506. };
  112507. var faRegistered = {
  112508. prefix: 'fas',
  112509. iconName: 'registered',
  112510. icon: [512, 512, [174], "f25d", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM160 152c0-13.3 10.7-24 24-24h88c44.2 0 80 35.8 80 80c0 28-14.4 52.7-36.3 67l34.1 75.1c5.5 12.1 .1 26.3-11.9 31.8s-26.3 .1-31.8-11.9L268.9 288H208v72c0 13.3-10.7 24-24 24s-24-10.7-24-24V264 152zm48 88h64c17.7 0 32-14.3 32-32s-14.3-32-32-32H208v64z"]
  112511. };
  112512. var faAddressCard = {
  112513. prefix: 'fas',
  112514. iconName: 'address-card',
  112515. icon: [576, 512, [62140, "contact-card", "vcard"], "f2bb", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm80 256h64c44.2 0 80 35.8 80 80c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16c0-44.2 35.8-80 80-80zm96-96c0 35.3-28.7 64-64 64s-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64zm128-32H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H368c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H368c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H368c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]
  112516. };
  112517. var faContactCard = faAddressCard;
  112518. var faVcard = faAddressCard;
  112519. var faScaleUnbalancedFlip = {
  112520. prefix: 'fas',
  112521. iconName: 'scale-unbalanced-flip',
  112522. icon: [640, 512, ["balance-scale-right"], "f516", "M117.9 62.4c-16.8-5.6-25.8-23.7-20.2-40.5s23.7-25.8 40.5-20.2l113 37.7C265 15.8 290.7 0 320 0c44.2 0 80 35.8 80 80c0 3-.2 5.9-.5 8.8l122.6 40.9c16.8 5.6 25.8 23.7 20.2 40.5s-23.7 25.8-40.5 20.2L366.4 145.2c-4.5 3.2-9.3 5.9-14.4 8.2V480c0 17.7-14.3 32-32 32H128c-17.7 0-32-14.3-32-32s14.3-32 32-32H288V153.3c-21-9.2-37.2-27-44.2-49l-125.9-42zm396.3 211c-.4-.8-1.3-1.3-2.2-1.3s-1.7 .5-2.2 1.3L435.1 416H588.9L514.2 273.3zM512 224c18.8 0 36 10.4 44.7 27l77.8 148.5c3.1 5.8 6.1 14 5.5 23.8c-.7 12.1-4.8 35.2-24.8 55.1C594.9 498.6 562.2 512 512 512s-82.9-13.4-103.2-33.5c-20-20-24.2-43-24.8-55.1c-.6-9.8 2.5-18 5.5-23.8L467.3 251c8.7-16.6 25.9-27 44.7-27zM128 144c-.9 0-1.7 .5-2.2 1.3L51.1 288H204.9L130.2 145.3c-.4-.8-1.3-1.3-2.2-1.3zm44.7-21l77.8 148.5c3.1 5.8 6.1 14 5.5 23.8c-.7 12.1-4.8 35.2-24.8 55.1C210.9 370.6 178.2 384 128 384s-82.9-13.4-103.2-33.5c-20-20-24.2-43-24.8-55.1c-.6-9.8 2.5-18 5.5-23.8L83.3 123C92 106.4 109.2 96 128 96s36 10.4 44.7 27z"]
  112523. };
  112524. var faBalanceScaleRight = faScaleUnbalancedFlip;
  112525. var faSubscript = {
  112526. prefix: 'fas',
  112527. iconName: 'subscript',
  112528. icon: [512, 512, [], "f12c", "M32 64C14.3 64 0 78.3 0 96s14.3 32 32 32H47.3l89.6 128L47.3 384H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H64c10.4 0 20.2-5.1 26.2-13.6L176 311.8l85.8 122.6c6 8.6 15.8 13.6 26.2 13.6h32c17.7 0 32-14.3 32-32s-14.3-32-32-32H304.7L215.1 256l89.6-128H320c17.7 0 32-14.3 32-32s-14.3-32-32-32H288c-10.4 0-20.2 5.1-26.2 13.6L176 200.2 90.2 77.6C84.2 69.1 74.4 64 64 64H32zM480 320c0-11.1-5.7-21.4-15.2-27.2s-21.2-6.4-31.1-1.4l-32 16c-15.8 7.9-22.2 27.1-14.3 42.9C393 361.5 404.3 368 416 368v80c-17.7 0-32 14.3-32 32s14.3 32 32 32h32 32c17.7 0 32-14.3 32-32s-14.3-32-32-32V320z"]
  112529. };
  112530. var faDiamondTurnRight = {
  112531. prefix: 'fas',
  112532. iconName: 'diamond-turn-right',
  112533. icon: [512, 512, ["directions"], "f5eb", "M227.7 11.7c15.6-15.6 40.9-15.6 56.6 0l216 216c15.6 15.6 15.6 40.9 0 56.6l-216 216c-15.6 15.6-40.9 15.6-56.6 0l-216-216c-15.6-15.6-15.6-40.9 0-56.6l216-216zm87.6 137c-4.6-4.6-11.5-5.9-17.4-3.5s-9.9 8.3-9.9 14.8v56H224c-35.3 0-64 28.7-64 64v48c0 13.3 10.7 24 24 24s24-10.7 24-24V280c0-8.8 7.2-16 16-16h64v56c0 6.5 3.9 12.3 9.9 14.8s12.9 1.1 17.4-3.5l80-80c6.2-6.2 6.2-16.4 0-22.6l-80-80z"]
  112534. };
  112535. var faDirections = faDiamondTurnRight;
  112536. var faBurst = {
  112537. prefix: 'fas',
  112538. iconName: 'burst',
  112539. icon: [512, 512, [], "e4dc", "M37.6 4.2C28-2.3 15.2-1.1 7 7s-9.4 21-2.8 30.5l112 163.3L16.6 233.2C6.7 236.4 0 245.6 0 256s6.7 19.6 16.6 22.8l103.1 33.4L66.8 412.8c-4.9 9.3-3.2 20.7 4.3 28.1s18.8 9.2 28.1 4.3l100.6-52.9 33.4 103.1c3.2 9.9 12.4 16.6 22.8 16.6s19.6-6.7 22.8-16.6l33.4-103.1 100.6 52.9c9.3 4.9 20.7 3.2 28.1-4.3s9.2-18.8 4.3-28.1L392.3 312.2l103.1-33.4c9.9-3.2 16.6-12.4 16.6-22.8s-6.7-19.6-16.6-22.8L388.9 198.7l25.7-70.4c3.2-8.8 1-18.6-5.6-25.2s-16.4-8.8-25.2-5.6l-70.4 25.7L278.8 16.6C275.6 6.7 266.4 0 256 0s-19.6 6.7-22.8 16.6l-32.3 99.6L37.6 4.2z"]
  112540. };
  112541. var faHouseLaptop = {
  112542. prefix: 'fas',
  112543. iconName: 'house-laptop',
  112544. icon: [640, 512, ["laptop-house"], "e066", "M218.3 8.5c12.3-11.3 31.2-11.3 43.4 0l208 192c6.7 6.2 10.3 14.8 10.3 23.5H336c-19.1 0-36.3 8.4-48 21.7V208c0-8.8-7.2-16-16-16H208c-8.8 0-16 7.2-16 16v64c0 8.8 7.2 16 16 16h64V416H112c-26.5 0-48-21.5-48-48V256H32c-13.2 0-25-8.1-29.8-20.3s-1.6-26.2 8.1-35.2l208-192zM352 304V448H544V304H352zm-48-16c0-17.7 14.3-32 32-32H560c17.7 0 32 14.3 32 32V448h32c8.8 0 16 7.2 16 16c0 26.5-21.5 48-48 48H544 352 304c-26.5 0-48-21.5-48-48c0-8.8 7.2-16 16-16h32V288z"]
  112545. };
  112546. var faLaptopHouse = faHouseLaptop;
  112547. var faFaceTired = {
  112548. prefix: 'fas',
  112549. iconName: 'face-tired',
  112550. icon: [512, 512, [128555, "tired"], "f5c8", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM164.7 328.7c22-22 53.9-40.7 91.3-40.7s69.3 18.7 91.3 40.7c11.1 11.1 20.1 23.4 26.4 35.4c6.2 11.7 10.3 24.4 10.3 35.9c0 5.2-2.6 10.2-6.9 13.2s-9.8 3.7-14.7 1.8l-20.5-7.7c-26.9-10.1-55.5-15.3-84.3-15.3h-3.2c-28.8 0-57.3 5.2-84.3 15.3L149.6 415c-4.9 1.8-10.4 1.2-14.7-1.8s-6.9-7.9-6.9-13.2c0-11.6 4.2-24.2 10.3-35.9c6.3-12 15.3-24.3 26.4-35.4zm-31.2-182l89.9 47.9c10.7 5.7 10.7 21.1 0 26.8l-89.9 47.9c-7.9 4.2-17.5-1.5-17.5-10.5c0-2.8 1-5.5 2.8-7.6l36-43.2-36-43.2c-1.8-2.1-2.8-4.8-2.8-7.6c0-9 9.6-14.7 17.5-10.5zM396 157.1c0 2.8-1 5.5-2.8 7.6l-36 43.2 36 43.2c1.8 2.1 2.8 4.8 2.8 7.6c0 9-9.6 14.7-17.5 10.5l-89.9-47.9c-10.7-5.7-10.7-21.1 0-26.8l89.9-47.9c7.9-4.2 17.5 1.5 17.5 10.5z"]
  112551. };
  112552. var faTired = faFaceTired;
  112553. var faMoneyBills = {
  112554. prefix: 'fas',
  112555. iconName: 'money-bills',
  112556. icon: [640, 512, [], "e1f3", "M96 96V320c0 35.3 28.7 64 64 64H576c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H160c-35.3 0-64 28.7-64 64zm64 160c35.3 0 64 28.7 64 64H160V256zM224 96c0 35.3-28.7 64-64 64V96h64zM576 256v64H512c0-35.3 28.7-64 64-64zM512 96h64v64c-35.3 0-64-28.7-64-64zM448 208c0 44.2-35.8 80-80 80s-80-35.8-80-80s35.8-80 80-80s80 35.8 80 80zM48 120c0-13.3-10.7-24-24-24S0 106.7 0 120V360c0 66.3 53.7 120 120 120H520c13.3 0 24-10.7 24-24s-10.7-24-24-24H120c-39.8 0-72-32.2-72-72V120z"]
  112557. };
  112558. var faSmog = {
  112559. prefix: 'fas',
  112560. iconName: 'smog',
  112561. icon: [640, 512, [], "f75f", "M32 144c0 79.5 64.5 144 144 144H299.3c22.6 19.9 52.2 32 84.7 32s62.1-12.1 84.7-32H496c61.9 0 112-50.1 112-112s-50.1-112-112-112c-10.7 0-21 1.5-30.8 4.3C443.8 27.7 401.1 0 352 0c-32.6 0-62.4 12.2-85.1 32.3C242.1 12.1 210.5 0 176 0C96.5 0 32 64.5 32 144zM616 368H280c-13.3 0-24 10.7-24 24s10.7 24 24 24H616c13.3 0 24-10.7 24-24s-10.7-24-24-24zm-64 96H440c-13.3 0-24 10.7-24 24s10.7 24 24 24H552c13.3 0 24-10.7 24-24s-10.7-24-24-24zm-192 0H24c-13.3 0-24 10.7-24 24s10.7 24 24 24H360c13.3 0 24-10.7 24-24s-10.7-24-24-24zM224 392c0-13.3-10.7-24-24-24H96c-13.3 0-24 10.7-24 24s10.7 24 24 24H200c13.3 0 24-10.7 24-24z"]
  112562. };
  112563. var faCrutch = {
  112564. prefix: 'fas',
  112565. iconName: 'crutch',
  112566. icon: [512, 512, [], "f7f7", "M297.4 9.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0zm-96 144l-34.8 34.8c-12.9 12.9-21.9 29.2-25.8 47.1L116.8 342.9c-1.3 5.9-4.3 11.4-8.6 15.7L9.4 457.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l98.8-98.8c4.3-4.3 9.7-7.3 15.7-8.6l107.6-23.9c17.8-4 34.1-12.9 47.1-25.8l34.7-34.7c0 0 .1-.1 .1-.1s.1-.1 .1-.1l74.6-74.6-45.3-45.3L336 242.7 269.3 176l52.1-52.1L276.1 78.6l-74.7 74.7zM224 221.3L290.7 288l-12.2 12.2c-4.3 4.3-9.7 7.3-15.7 8.6l-76.7 17 17-76.7c1.3-5.9 4.3-11.4 8.6-15.7L224 221.3z"]
  112567. };
  112568. var faFontAwesome = {
  112569. prefix: 'fas',
  112570. iconName: 'font-awesome',
  112571. icon: [448, 512, [62501, 62694, "font-awesome-flag", "font-awesome-logo-full"], "f2b4", "M448 48V384c-63.1 22.5-82.3 32-119.5 32c-62.8 0-86.6-32-149.3-32c-20.6 0-36.6 3.6-51.2 8.2v-64c14.6-4.6 30.6-8.2 51.2-8.2c62.7 0 86.5 32 149.3 32c20.4 0 35.6-3 55.5-9.3v-208c-19.9 6.3-35.1 9.3-55.5 9.3c-62.8 0-86.6-32-149.3-32c-50.8 0-74.9 20.6-115.2 28.7V448c0 17.7-14.3 32-32 32s-32-14.3-32-32V64C0 46.3 14.3 32 32 32s32 14.3 32 32V76.7c40.3-8 64.4-28.7 115.2-28.7c62.7 0 86.5 32 149.3 32c37.1 0 56.4-9.5 119.5-32z"]
  112572. };
  112573. var faFontAwesomeFlag = faFontAwesome;
  112574. var faFontAwesomeLogoFull = faFontAwesome;
  112575. var faCloudArrowUp = {
  112576. prefix: 'fas',
  112577. iconName: 'cloud-arrow-up',
  112578. icon: [640, 512, [62338, "cloud-upload", "cloud-upload-alt"], "f0ee", "M144 480C64.5 480 0 415.5 0 336c0-62.8 40.2-116.2 96.2-135.9c-.1-2.7-.2-5.4-.2-8.1c0-88.4 71.6-160 160-160c59.3 0 111 32.2 138.7 80.2C409.9 102 428.3 96 448 96c53 0 96 43 96 96c0 12.2-2.3 23.8-6.4 34.6C596 238.4 640 290.1 640 352c0 70.7-57.3 128-128 128H144zm79-217c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l39-39V392c0 13.3 10.7 24 24 24s24-10.7 24-24V257.9l39 39c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-80-80c-9.4-9.4-24.6-9.4-33.9 0l-80 80z"]
  112579. };
  112580. var faCloudUpload = faCloudArrowUp;
  112581. var faCloudUploadAlt = faCloudArrowUp;
  112582. var faPalette = {
  112583. prefix: 'fas',
  112584. iconName: 'palette',
  112585. icon: [512, 512, [127912], "f53f", "M512 256c0 .9 0 1.8 0 2.7c-.4 36.5-33.6 61.3-70.1 61.3H344c-26.5 0-48 21.5-48 48c0 3.4 .4 6.7 1 9.9c2.1 10.2 6.5 20 10.8 29.9c6.1 13.8 12.1 27.5 12.1 42c0 31.8-21.6 60.7-53.4 62c-3.5 .1-7 .2-10.6 .2C114.6 512 0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM128 288c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zm0-96c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zM288 96c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zm96 96c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32z"]
  112586. };
  112587. var faArrowsTurnRight = {
  112588. prefix: 'fas',
  112589. iconName: 'arrows-turn-right',
  112590. icon: [512, 512, [], "e4c0", "M329.4 9.4c12.5-12.5 32.8-12.5 45.3 0l96 96c12.5 12.5 12.5 32.8 0 45.3l-96 96c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L370.7 160H160c-35.3 0-64 28.7-64 64v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V224C32 153.3 89.3 96 160 96H370.7L329.4 54.6c-12.5-12.5-12.5-32.8 0-45.3zm-96 256c12.5-12.5 32.8-12.5 45.3 0l96 96c12.5 12.5 12.5 32.8 0 45.3l-96 96c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L274.7 416H128c-17.7 0-32 14.3-32 32v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V448c0-53 43-96 96-96H274.7l-41.4-41.4c-12.5-12.5-12.5-32.8 0-45.3z"]
  112591. };
  112592. var faVest = {
  112593. prefix: 'fas',
  112594. iconName: 'vest',
  112595. icon: [448, 512, [], "e085", "M207.1 237.4L151.2 69.7C168.6 79.7 192.6 88 224 88s55.4-8.3 72.8-18.3L226.5 280.6c-1.6 4.9-2.5 10-2.5 15.2V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V270.5c0-9.5-2.8-18.7-8.1-26.6l-47.9-71.8c-5.3-7.9-8.1-17.1-8.1-26.6V128 54.3 48c0-26.5-21.5-48-48-48h-4.5c-.2 0-.4 0-.6 0c-.4 0-.8 0-1.2 0C311 0 295.7 9.7 285.7 18.8C276.4 27.2 257.2 40 224 40s-52.4-12.8-61.7-21.2C152.3 9.7 137 0 118.3 0c-.4 0-.8 0-1.2 0c-.2 0-.4 0-.6 0H112C85.5 0 64 21.5 64 48v6.3V128v17.5c0 9.5-2.8 18.7-8.1 26.6L8.1 243.9C2.8 251.8 0 261.1 0 270.5V464c0 26.5 21.5 48 48 48H176c9.9 0 19-3 26.7-8.1C195.9 492.2 192 478.5 192 464V295.8c0-8.6 1.4-17.1 4.1-25.3l11-33.1zM347.3 356.7l48 48c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0l-48-48c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0zm-294.6 48l48-48c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6l-48 48c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6z"]
  112596. };
  112597. var faFerry = {
  112598. prefix: 'fas',
  112599. iconName: 'ferry',
  112600. icon: [576, 512, [], "e4ea", "M224 0H352c17.7 0 32 14.3 32 32h75.1c20.6 0 31.6 24.3 18.1 39.8L456 96H120L98.8 71.8C85.3 56.3 96.3 32 116.9 32H192c0-17.7 14.3-32 32-32zM96 128H480c17.7 0 32 14.3 32 32V283.5c0 13.3-4.2 26.3-11.9 37.2l-51.4 71.9c-1.9 1.1-3.7 2.2-5.5 3.5c-15.5 10.7-34 18-51 19.9H375.6c-17.1-1.8-35-9-50.8-19.9c-22.1-15.5-51.6-15.5-73.7 0c-14.8 10.2-32.5 18-50.6 19.9H183.9c-17-1.8-35.6-9.2-51-19.9c-1.8-1.3-3.7-2.4-5.6-3.5L75.9 320.7C68.2 309.8 64 296.8 64 283.5V160c0-17.7 14.3-32 32-32zm32 64v96H448V192H128zM306.5 421.9C329 437.4 356.5 448 384 448c26.9 0 55.3-10.8 77.4-26.1l0 0c11.9-8.5 28.1-7.8 39.2 1.7c14.4 11.9 32.5 21 50.6 25.2c17.2 4 27.9 21.2 23.9 38.4s-21.2 27.9-38.4 23.9c-24.5-5.7-44.9-16.5-58.2-25C449.5 501.7 417 512 384 512c-31.9 0-60.6-9.9-80.4-18.9c-5.8-2.7-11.1-5.3-15.6-7.7c-4.5 2.4-9.7 5.1-15.6 7.7c-19.8 9-48.5 18.9-80.4 18.9c-33 0-65.5-10.3-94.5-25.8c-13.4 8.4-33.7 19.3-58.2 25c-17.2 4-34.4-6.7-38.4-23.9s6.7-34.4 23.9-38.4c18.1-4.2 36.2-13.3 50.6-25.2c11.1-9.4 27.3-10.1 39.2-1.7l0 0C136.7 437.2 165.1 448 192 448c27.5 0 55-10.6 77.5-26.1c11.1-7.9 25.9-7.9 37 0z"]
  112601. };
  112602. var faArrowsDownToPeople = {
  112603. prefix: 'fas',
  112604. iconName: 'arrows-down-to-people',
  112605. icon: [640, 512, [], "e4b9", "M144 0c-13.3 0-24 10.7-24 24V142.1L97 119c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l64 64c9.4 9.4 24.6 9.4 33.9 0l64-64c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-23 23V24c0-13.3-10.7-24-24-24zM360 200c0-22.1-17.9-40-40-40s-40 17.9-40 40s17.9 40 40 40s40-17.9 40-40zM184 296c0-22.1-17.9-40-40-40s-40 17.9-40 40s17.9 40 40 40s40-17.9 40-40zm312 40c22.1 0 40-17.9 40-40s-17.9-40-40-40s-40 17.9-40 40s17.9 40 40 40zM200 441.5l26.9 49.9c6.3 11.7 20.8 16 32.5 9.8s16-20.8 9.8-32.5l-36.3-67.5c1.7-1.7 3.2-3.6 4.3-5.8L264 345.5V400c0 17.7 14.3 32 32 32h48c17.7 0 32-14.3 32-32V345.5l26.9 49.9c1.2 2.2 2.6 4.1 4.3 5.8l-36.3 67.5c-6.3 11.7-1.9 26.2 9.8 32.5s26.2 1.9 32.5-9.8L440 441.5V480c0 17.7 14.3 32 32 32h48c17.7 0 32-14.3 32-32V441.5l26.9 49.9c6.3 11.7 20.8 16 32.5 9.8s16-20.8 9.8-32.5l-37.9-70.3c-15.3-28.5-45.1-46.3-77.5-46.3H486.2c-16.3 0-31.9 4.5-45.4 12.6l-33.6-62.3c-15.3-28.5-45.1-46.3-77.5-46.3H310.2c-32.4 0-62.1 17.8-77.5 46.3l-33.6 62.3c-13.5-8.1-29.1-12.6-45.4-12.6H134.2c-32.4 0-62.1 17.8-77.5 46.3L18.9 468.6c-6.3 11.7-1.9 26.2 9.8 32.5s26.2 1.9 32.5-9.8L88 441.5V480c0 17.7 14.3 32 32 32h48c17.7 0 32-14.3 32-32V441.5zM415 153l64 64c9.4 9.4 24.6 9.4 33.9 0l64-64c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-23 23V24c0-13.3-10.7-24-24-24s-24 10.7-24 24V142.1l-23-23c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9z"]
  112606. };
  112607. var faSeedling = {
  112608. prefix: 'fas',
  112609. iconName: 'seedling',
  112610. icon: [512, 512, [127793, "sprout"], "f4d8", "M512 64c0 113.6-84.6 207.5-194.2 222c-7.1-53.4-30.6-101.6-65.3-139.3C290.8 78.3 364 32 448 32h32c17.7 0 32 14.3 32 32zM0 128c0-17.7 14.3-32 32-32H64c123.7 0 224 100.3 224 224v32 96c0 17.7-14.3 32-32 32s-32-14.3-32-32V352C100.3 352 0 251.7 0 128z"]
  112611. };
  112612. var faSprout = faSeedling;
  112613. var faLeftRight = {
  112614. prefix: 'fas',
  112615. iconName: 'left-right',
  112616. icon: [512, 512, [8596, "arrows-alt-h"], "f337", "M504.3 273.6c4.9-4.5 7.7-10.9 7.7-17.6s-2.8-13-7.7-17.6l-112-104c-7-6.5-17.2-8.2-25.9-4.4s-14.4 12.5-14.4 22l0 56-192 0 0-56c0-9.5-5.7-18.2-14.4-22s-18.9-2.1-25.9 4.4l-112 104C2.8 243 0 249.3 0 256s2.8 13 7.7 17.6l112 104c7 6.5 17.2 8.2 25.9 4.4s14.4-12.5 14.4-22l0-56 192 0 0 56c0 9.5 5.7 18.2 14.4 22s18.9 2.1 25.9-4.4l112-104z"]
  112617. };
  112618. var faArrowsAltH = faLeftRight;
  112619. var faBoxesPacking = {
  112620. prefix: 'fas',
  112621. iconName: 'boxes-packing',
  112622. icon: [640, 512, [], "e4c7", "M256 48c0-26.5 21.5-48 48-48H592c26.5 0 48 21.5 48 48V464c0 26.5-21.5 48-48 48H381.3c1.8-5 2.7-10.4 2.7-16V253.3c18.6-6.6 32-24.4 32-45.3V176c0-26.5-21.5-48-48-48H256V48zM571.3 347.3c6.2-6.2 6.2-16.4 0-22.6l-64-64c-6.2-6.2-16.4-6.2-22.6 0l-64 64c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L480 310.6V432c0 8.8 7.2 16 16 16s16-7.2 16-16V310.6l36.7 36.7c6.2 6.2 16.4 6.2 22.6 0zM0 176c0-8.8 7.2-16 16-16H368c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H16c-8.8 0-16-7.2-16-16V176zm352 80V480c0 17.7-14.3 32-32 32H64c-17.7 0-32-14.3-32-32V256H352zM144 320c-8.8 0-16 7.2-16 16s7.2 16 16 16h96c8.8 0 16-7.2 16-16s-7.2-16-16-16H144z"]
  112623. };
  112624. var faCircleArrowLeft = {
  112625. prefix: 'fas',
  112626. iconName: 'circle-arrow-left',
  112627. icon: [512, 512, ["arrow-circle-left"], "f0a8", "M512 256C512 114.6 397.4 0 256 0S0 114.6 0 256S114.6 512 256 512s256-114.6 256-256zM215 127c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-71 71L392 232c13.3 0 24 10.7 24 24s-10.7 24-24 24l-214.1 0 71 71c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0L103 273c-9.4-9.4-9.4-24.6 0-33.9L215 127z"]
  112628. };
  112629. var faArrowCircleLeft = faCircleArrowLeft;
  112630. var faGroupArrowsRotate = {
  112631. prefix: 'fas',
  112632. iconName: 'group-arrows-rotate',
  112633. icon: [512, 512, [], "e4f6", "M201.1 71.9c16.9-5 26.6-22.9 21.5-39.8s-22.9-26.6-39.8-21.5c-21.5 6.4-41.8 15.5-60.6 27C114.3 34 105.4 32 96 32C60.7 32 32 60.7 32 96c0 9.4 2 18.3 5.6 26.3c-11.5 18.7-20.6 39-27 60.6c-5 16.9 4.6 34.8 21.5 39.8s34.8-4.6 39.8-21.5c4.3-14.6 10.4-28.5 17.9-41.4c2 .2 4.1 .3 6.1 .3c35.3 0 64-28.7 64-64c0-2.1-.1-4.1-.3-6.1c12.9-7.5 26.8-13.6 41.4-17.9zm128-61.3c-16.9-5-34.8 4.6-39.8 21.5s4.6 34.8 21.5 39.8c14.6 4.3 28.5 10.4 41.4 17.9c-.2 2-.3 4.1-.3 6.1c0 35.3 28.7 64 64 64c2.1 0 4.1-.1 6.2-.3c7.5 12.9 13.6 26.8 17.9 41.4c5 16.9 22.9 26.6 39.8 21.5s26.6-22.9 21.5-39.8c-6.4-21.5-15.5-41.8-27-60.6c3.6-8 5.6-16.9 5.6-26.3c0-35.3-28.7-64-64-64c-9.4 0-18.3 2-26.3 5.6c-18.7-11.5-39-20.6-60.6-27zM71.9 310.9c-5-16.9-22.9-26.6-39.8-21.5s-26.6 22.9-21.5 39.8c6.4 21.5 15.5 41.8 27 60.6C34 397.7 32 406.6 32 416c0 35.3 28.7 64 64 64c9.4 0 18.3-2 26.3-5.6c18.7 11.5 39 20.6 60.6 27c16.9 5 34.8-4.6 39.8-21.5s-4.6-34.8-21.5-39.8c-14.6-4.3-28.5-10.4-41.4-17.9c.2-2 .3-4.1 .3-6.2c0-35.3-28.7-64-64-64c-2.1 0-4.1 .1-6.2 .3c-7.5-12.9-13.6-26.8-17.9-41.4zm429.4 18.3c5-16.9-4.6-34.8-21.5-39.8s-34.8 4.6-39.8 21.5c-4.3 14.6-10.4 28.5-17.9 41.4c-2-.2-4.1-.3-6.2-.3c-35.3 0-64 28.7-64 64c0 2.1 .1 4.1 .3 6.2c-12.9 7.5-26.8 13.6-41.4 17.9c-16.9 5-26.6 22.9-21.5 39.8s22.9 26.6 39.8 21.5c21.5-6.4 41.8-15.5 60.6-27c8 3.6 16.9 5.6 26.3 5.6c35.3 0 64-28.7 64-64c0-9.4-2-18.3-5.6-26.3c11.5-18.7 20.6-39 27-60.6zM192.8 256.8c0-15.6 5.6-29.9 14.9-41.1L223 231c6.6 6.6 17.8 1.9 17.8-7.4V163.2c0-5.7-4.7-10.4-10.4-10.4H169.9c-9.3 0-13.9 11.2-7.4 17.8l11.2 11.2c-17.9 19.8-28.9 46.2-28.9 75.1c0 43.6 24.9 81.3 61.1 99.8c11.8 6 26.3 1.4 32.3-10.4s1.4-26.3-10.4-32.3c-20.8-10.6-34.9-32.2-34.9-57zm93.1-58.6c20.8 10.6 34.9 32.2 34.9 57c0 15.6-5.6 29.9-14.9 41.1L290.6 281c-6.6-6.6-17.8-1.9-17.8 7.4v60.5c0 5.7 4.7 10.4 10.4 10.4h60.5c9.3 0 13.9-11.2 7.4-17.8l-11.2-11.2c17.9-19.8 28.9-46.2 28.9-75.1c0-43.6-24.9-81.3-61.1-99.8c-11.8-6-26.3-1.4-32.3 10.4s-1.4 26.3 10.4 32.3z"]
  112634. };
  112635. var faBowlFood = {
  112636. prefix: 'fas',
  112637. iconName: 'bowl-food',
  112638. icon: [512, 512, [], "e4c6", "M0 192c0-35.3 28.7-64 64-64c.5 0 1.1 0 1.6 0C73 91.5 105.3 64 144 64c15 0 29 4.1 40.9 11.2C198.2 49.6 225.1 32 256 32s57.8 17.6 71.1 43.2C339 68.1 353 64 368 64c38.7 0 71 27.5 78.4 64c.5 0 1.1 0 1.6 0c35.3 0 64 28.7 64 64c0 11.7-3.1 22.6-8.6 32H8.6C3.1 214.6 0 203.7 0 192zm0 91.4C0 268.3 12.3 256 27.4 256H484.6c15.1 0 27.4 12.3 27.4 27.4c0 70.5-44.4 130.7-106.7 154.1L403.5 452c-2 16-15.6 28-31.8 28H140.2c-16.1 0-29.8-12-31.8-28l-1.8-14.4C44.4 414.1 0 353.9 0 283.4z"]
  112639. };
  112640. var faCandyCane = {
  112641. prefix: 'fas',
  112642. iconName: 'candy-cane',
  112643. icon: [512, 512, [], "f786", "M348.8 131.5c3.7-2.3 7.9-3.5 12.2-3.5c12.7 0 23 10.3 23 23v5.6c0 9.9-5.1 19.1-13.5 24.3L30.1 393.7C.1 412.5-9 451.9 9.7 481.9s58.2 39.1 88.2 20.4L438.4 289.5c45.8-28.6 73.6-78.8 73.6-132.8V151C512 67.6 444.4 0 361 0c-28.3 0-56 8-80.1 23L254.1 39.7c-30 18.7-39.1 58.2-20.4 88.2s58.2 39.1 88.2 20.4l26.8-16.8zM298.4 49.8c9.2-5.7 19.1-10.1 29.4-13.1L348 97.5c-5.7 1.4-11.2 3.7-16.3 6.8l-12.6 7.9L298.4 49.8zm88.5 52.7l46.2-46.2c8.5 6.5 16.1 14.1 22.6 22.6l-46.2 46.2c-5.1-9.6-13-17.5-22.6-22.6zm28.9 59.3l61.6 20.5c-2.2 10.5-5.8 20.7-10.5 30.2l-62-20.7c6.2-8.8 10.1-19.1 11-30.1zm-86.1 82.5l60.4 37.7-30.2 18.9-60.4-37.7 30.2-18.9zm-107.2 67l60.4 37.7-30.2 18.9-60.4-37.7 30.2-18.9zM119.3 375.7l60.4 37.7-30.2 18.9L89.1 394.6l30.2-18.9z"]
  112644. };
  112645. var faArrowDownWideShort = {
  112646. prefix: 'fas',
  112647. iconName: 'arrow-down-wide-short',
  112648. icon: [576, 512, ["sort-amount-asc", "sort-amount-down"], "f160", "M151.6 469.6C145.5 476.2 137 480 128 480s-17.5-3.8-23.6-10.4l-88-96c-11.9-13-11.1-33.3 2-45.2s33.3-11.1 45.2 2L96 365.7V64c0-17.7 14.3-32 32-32s32 14.3 32 32V365.7l32.4-35.4c11.9-13 32.2-13.9 45.2-2s13.9 32.2 2 45.2l-88 96zM320 480c-17.7 0-32-14.3-32-32s14.3-32 32-32h32c17.7 0 32 14.3 32 32s-14.3 32-32 32H320zm0-128c-17.7 0-32-14.3-32-32s14.3-32 32-32h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H320zm0-128c-17.7 0-32-14.3-32-32s14.3-32 32-32H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H320zm0-128c-17.7 0-32-14.3-32-32s14.3-32 32-32H544c17.7 0 32 14.3 32 32s-14.3 32-32 32H320z"]
  112649. };
  112650. var faSortAmountAsc = faArrowDownWideShort;
  112651. var faSortAmountDown = faArrowDownWideShort;
  112652. var faCloudBolt = {
  112653. prefix: 'fas',
  112654. iconName: 'cloud-bolt',
  112655. icon: [512, 512, [127785, "thunderstorm"], "f76c", "M0 224c0 53 43 96 96 96h47.2L290 202.5c17.6-14.1 42.6-14 60.2 .2s22.8 38.6 12.8 58.8L333.7 320H352h64c53 0 96-43 96-96s-43-96-96-96c-.5 0-1.1 0-1.6 0c1.1-5.2 1.6-10.5 1.6-16c0-44.2-35.8-80-80-80c-24.3 0-46.1 10.9-60.8 28C256.5 24.3 219.1 0 176 0C114.1 0 64 50.1 64 112c0 7.1 .7 14.1 1.9 20.8C27.6 145.4 0 181.5 0 224zm330.1 3.6c-5.8-4.7-14.2-4.7-20.1-.1l-160 128c-5.3 4.2-7.4 11.4-5.1 17.8s8.3 10.7 15.1 10.7h70.1L177.7 488.8c-3.4 6.7-1.6 14.9 4.3 19.6s14.2 4.7 20.1 .1l160-128c5.3-4.2 7.4-11.4 5.1-17.8s-8.3-10.7-15.1-10.7H281.9l52.4-104.8c3.4-6.7 1.6-14.9-4.2-19.6z"]
  112656. };
  112657. var faThunderstorm = faCloudBolt;
  112658. var faTextSlash = {
  112659. prefix: 'fas',
  112660. iconName: 'text-slash',
  112661. icon: [640, 512, ["remove-format"], "f87d", "M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L355.7 253.5 400.2 96H503L497 120.2c-4.3 17.1 6.1 34.5 23.3 38.8s34.5-6.1 38.8-23.3l16-64c2.4-9.6 .2-19.7-5.8-27.5S553.9 32 544 32H376.1h-.3H192c-14.7 0-27.5 10-31 24.2l-9.3 37.3L38.8 5.1zm168 131.7c.1-.3 .2-.7 .3-1L217 96H333.7L301.3 210.8l-94.5-74.1zM243.3 416H192c-17.7 0-32 14.3-32 32s14.3 32 32 32H352c17.7 0 32-14.3 32-32s-14.3-32-32-32H309.8l17.6-62.1L272.9 311 243.3 416z"]
  112662. };
  112663. var faRemoveFormat = faTextSlash;
  112664. var faFaceSmileWink = {
  112665. prefix: 'fas',
  112666. iconName: 'face-smile-wink',
  112667. icon: [512, 512, [128521, "smile-wink"], "f4da", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM164.1 325.5C182 346.2 212.6 368 256 368s74-21.8 91.9-42.5c5.8-6.7 15.9-7.4 22.6-1.6s7.4 15.9 1.6 22.6C349.8 372.1 311.1 400 256 400s-93.8-27.9-116.1-53.5c-5.8-6.7-5.1-16.8 1.6-22.6s16.8-5.1 22.6 1.6zM208.4 208c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zm92.4 25.6c-5.3 7.1-15.3 8.5-22.4 3.2s-8.5-15.3-3.2-22.4c30.4-40.5 91.2-40.5 121.6 0c5.3 7.1 3.9 17.1-3.2 22.4s-17.1 3.9-22.4-3.2c-17.6-23.5-52.8-23.5-70.4 0z"]
  112668. };
  112669. var faSmileWink = faFaceSmileWink;
  112670. var faFileWord = {
  112671. prefix: 'fas',
  112672. iconName: 'file-word',
  112673. icon: [384, 512, [], "f1c2", "M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM111 257.1l26.8 89.2 31.6-90.3c3.4-9.6 12.5-16.1 22.7-16.1s19.3 6.4 22.7 16.1l31.6 90.3L273 257.1c3.8-12.7 17.2-19.9 29.9-16.1s19.9 17.2 16.1 29.9l-48 160c-3 10-12.1 16.9-22.4 17.1s-19.8-6.2-23.2-16.1L192 336.6l-33.3 95.3c-3.4 9.8-12.8 16.3-23.2 16.1s-19.5-7.1-22.4-17.1l-48-160c-3.8-12.7 3.4-26.1 16.1-29.9s26.1 3.4 29.9 16.1z"]
  112674. };
  112675. var faFilePowerpoint = {
  112676. prefix: 'fas',
  112677. iconName: 'file-powerpoint',
  112678. icon: [384, 512, [], "f1c4", "M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM136 240h68c42 0 76 34 76 76s-34 76-76 76H160v32c0 13.3-10.7 24-24 24s-24-10.7-24-24V368 264c0-13.3 10.7-24 24-24zm68 104c15.5 0 28-12.5 28-28s-12.5-28-28-28H160v56h44z"]
  112679. };
  112680. var faArrowsLeftRight = {
  112681. prefix: 'fas',
  112682. iconName: 'arrows-left-right',
  112683. icon: [512, 512, ["arrows-h"], "f07e", "M406.6 374.6l96-96c12.5-12.5 12.5-32.8 0-45.3l-96-96c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 224l-293.5 0 41.4-41.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 288l293.5 0-41.4 41.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0z"]
  112684. };
  112685. var faArrowsH = faArrowsLeftRight;
  112686. var faHouseLock = {
  112687. prefix: 'fas',
  112688. iconName: 'house-lock',
  112689. icon: [640, 512, [], "e510", "M384 480c0 11.7 3.1 22.6 8.6 32H384c-17.7 0-32-14.3-32-32V383.7c0-17.7-14.3-32-32-32H256c-17.7 0-32 14.3-32 32V480c0 17.7-14.3 32-32 32H96.1c-17.7 0-32-14.3-32-32V287.6H32c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L490.7 166.3C447.2 181.7 416 223.2 416 272v24.6c-19.1 11.1-32 31.7-32 55.4V480zM528 240c-17.7 0-32 14.3-32 32v48h64V272c0-17.7-14.3-32-32-32zm-80 32c0-44.2 35.8-80 80-80s80 35.8 80 80v48c17.7 0 32 14.3 32 32V480c0 17.7-14.3 32-32 32H448c-17.7 0-32-14.3-32-32V352c0-17.7 14.3-32 32-32V272z"]
  112690. };
  112691. var faCloudArrowDown = {
  112692. prefix: 'fas',
  112693. iconName: 'cloud-arrow-down',
  112694. icon: [640, 512, [62337, "cloud-download", "cloud-download-alt"], "f0ed", "M144 480C64.5 480 0 415.5 0 336c0-62.8 40.2-116.2 96.2-135.9c-.1-2.7-.2-5.4-.2-8.1c0-88.4 71.6-160 160-160c59.3 0 111 32.2 138.7 80.2C409.9 102 428.3 96 448 96c53 0 96 43 96 96c0 12.2-2.3 23.8-6.4 34.6C596 238.4 640 290.1 640 352c0 70.7-57.3 128-128 128H144zm79-167l80 80c9.4 9.4 24.6 9.4 33.9 0l80-80c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-39 39V184c0-13.3-10.7-24-24-24s-24 10.7-24 24V318.1l-39-39c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9z"]
  112695. };
  112696. var faCloudDownload = faCloudArrowDown;
  112697. var faCloudDownloadAlt = faCloudArrowDown;
  112698. var faChildren = {
  112699. prefix: 'fas',
  112700. iconName: 'children',
  112701. icon: [640, 512, [], "e4e1", "M160 128c-35.3 0-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64s-28.7 64-64 64zM88 480V400H70.2c-10.9 0-18.6-10.7-15.2-21.1l31.1-93.4L57.5 323.3c-10.7 14.1-30.8 16.8-44.8 6.2s-16.8-30.7-6.2-44.8L65.4 207c22.4-29.6 57.5-47 94.6-47s72.2 17.4 94.6 47l58.9 77.7c10.7 14.1 7.9 34.2-6.2 44.8s-34.2 7.9-44.8-6.2l-28.6-37.8L265 378.9c3.5 10.4-4.3 21.1-15.2 21.1H232v80c0 17.7-14.3 32-32 32s-32-14.3-32-32V400H152v80c0 17.7-14.3 32-32 32s-32-14.3-32-32zM480 128c-35.3 0-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64s-28.7 64-64 64zm-8 256v96c0 17.7-14.3 32-32 32s-32-14.3-32-32V300.5L395.1 321c-9.4 15-29.2 19.4-44.1 10s-19.4-29.2-10-44.1l51.7-82.1c17.6-27.9 48.3-44.9 81.2-44.9h12.3c33 0 63.7 16.9 81.2 44.9L619.1 287c9.4 15 4.9 34.7-10 44.1s-34.7 4.9-44.1-10L552 300.5V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V384H472z"]
  112702. };
  112703. var faChalkboard = {
  112704. prefix: 'fas',
  112705. iconName: 'chalkboard',
  112706. icon: [576, 512, ["blackboard"], "f51b", "M96 32C60.7 32 32 60.7 32 96V384H96V96l384 0V384h64V96c0-35.3-28.7-64-64-64H96zM224 384v32H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H544c17.7 0 32-14.3 32-32s-14.3-32-32-32H416V384c0-17.7-14.3-32-32-32H256c-17.7 0-32 14.3-32 32z"]
  112707. };
  112708. var faBlackboard = faChalkboard;
  112709. var faUserLargeSlash = {
  112710. prefix: 'fas',
  112711. iconName: 'user-large-slash',
  112712. icon: [640, 512, ["user-alt-slash"], "f4fa", "M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L381.9 274c48.5-23.2 82.1-72.7 82.1-130C464 64.5 399.5 0 320 0C250.4 0 192.4 49.3 178.9 114.9L38.8 5.1zM284.3 320h-59C136.2 320 64 392.2 64 481.3c0 17 13.8 30.7 30.7 30.7H528L284.3 320z"]
  112713. };
  112714. var faUserAltSlash = faUserLargeSlash;
  112715. var faEnvelopeOpen = {
  112716. prefix: 'fas',
  112717. iconName: 'envelope-open',
  112718. icon: [512, 512, [62135], "f2b6", "M64 208.1L256 65.9 448 208.1v47.4L289.5 373c-9.7 7.2-21.4 11-33.5 11s-23.8-3.9-33.5-11L64 255.5V208.1zM256 0c-12.1 0-23.8 3.9-33.5 11L25.9 156.7C9.6 168.8 0 187.8 0 208.1V448c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V208.1c0-20.3-9.6-39.4-25.9-51.4L289.5 11C279.8 3.9 268.1 0 256 0z"]
  112719. };
  112720. var faHandshakeSimpleSlash = {
  112721. prefix: 'fas',
  112722. iconName: 'handshake-simple-slash',
  112723. icon: [640, 512, ["handshake-alt-slash"], "e05f", "M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7l-135-105.8c-1.1-11.4-6.3-22.3-15.3-30.7l-134.2-123-23.4 18.2-26-20.3 77.2-60.1c7-5.4 17-4.2 22.5 2.8s4.2 17-2.8 22.5l-20.9 16.2L550.2 352H592c26.5 0 48-21.5 48-48V176c0-26.5-21.5-48-48-48H516h-4-.7l-3.9-2.5L434.8 79c-15.3-9.8-33.2-15-51.4-15c-21.8 0-43 7.5-60 21.2l-89.7 72.6-25.8-20.3 81.8-66.2c-11.6-4.9-24.1-7.4-36.8-7.4C234 64 215.7 69.6 200 80l-35.5 23.7L38.8 5.1zM0 176V304c0 26.5 21.5 48 48 48H156.2l91.4 83.4c19.6 17.9 49.9 16.5 67.8-3.1c5.5-6.1 9.2-13.2 11.1-20.6l17 15.6c19.5 17.9 49.9 16.6 67.8-2.9c.8-.8 1.5-1.7 2.2-2.6L41.2 128.5C17.9 131.8 0 151.8 0 176z"]
  112724. };
  112725. var faHandshakeAltSlash = faHandshakeSimpleSlash;
  112726. var faMattressPillow = {
  112727. prefix: 'fas',
  112728. iconName: 'mattress-pillow',
  112729. icon: [640, 512, [], "e525", "M256 64H64C28.7 64 0 92.7 0 128V384c0 35.3 28.7 64 64 64H256V64zm32 384H576c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64H288V448zM64 160c0-17.7 14.3-32 32-32h64c17.7 0 32 14.3 32 32V352c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V160z"]
  112730. };
  112731. var faGuaraniSign = {
  112732. prefix: 'fas',
  112733. iconName: 'guarani-sign',
  112734. icon: [384, 512, [], "e19a", "M192 0c-17.7 0-32 14.3-32 32V66.7C69.2 81.9 0 160.9 0 256s69.2 174.1 160 189.3V480c0 17.7 14.3 32 32 32s32-14.3 32-32V445.3c90.8-15.2 160-94.2 160-189.3c0-17.7-14.3-32-32-32H224V132c22.1 5.7 41.8 17.1 57.6 32.6c12.6 12.4 32.9 12.2 45.3-.4s12.2-32.9-.5-45.3C299 92 263.5 73.3 224 66.7V32c0-17.7-14.3-32-32-32zM160 132V380c-55.2-14.2-96-64.3-96-124s40.8-109.8 96-124zM224 380V288h92c-11.6 45-47 80.4-92 92z"]
  112735. };
  112736. var faArrowsRotate = {
  112737. prefix: 'fas',
  112738. iconName: 'arrows-rotate',
  112739. icon: [512, 512, [128472, "refresh", "sync"], "f021", "M105.1 202.6c7.7-21.8 20.2-42.3 37.8-59.8c62.5-62.5 163.8-62.5 226.3 0L386.3 160H336c-17.7 0-32 14.3-32 32s14.3 32 32 32H463.5c0 0 0 0 0 0h.4c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32s-32 14.3-32 32v51.2L414.4 97.6c-87.5-87.5-229.3-87.5-316.8 0C73.2 122 55.6 150.7 44.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5zM39 289.3c-5 1.5-9.8 4.2-13.7 8.2c-4 4-6.7 8.8-8.1 14c-.3 1.2-.6 2.5-.8 3.8c-.3 1.7-.4 3.4-.4 5.1V448c0 17.7 14.3 32 32 32s32-14.3 32-32V396.9l17.6 17.5 0 0c87.5 87.4 229.3 87.4 316.7 0c24.4-24.4 42.1-53.1 52.9-83.7c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8c-62.5 62.5-163.8 62.5-226.3 0l-.1-.1L125.6 352H176c17.7 0 32-14.3 32-32s-14.3-32-32-32H48.4c-1.6 0-3.2 .1-4.8 .3s-3.1 .5-4.6 1z"]
  112740. };
  112741. var faRefresh = faArrowsRotate;
  112742. var faSync = faArrowsRotate;
  112743. var faFireExtinguisher = {
  112744. prefix: 'fas',
  112745. iconName: 'fire-extinguisher',
  112746. icon: [512, 512, [129519], "f134", "M500.3 7.3C507.7 13.3 512 22.4 512 32v96c0 9.6-4.3 18.7-11.7 24.7s-17.2 8.5-26.6 6.6l-160-32C301.5 124.9 292 115.7 289 104H224v34.8c37.8 18 64 56.5 64 101.2V384H64V240c0-44.7 26.2-83.2 64-101.2V110c-36.2 11.1-66 36.9-82.3 70.5c-5.8 11.9-20.2 16.9-32.1 11.1S-3.3 171.4 2.5 159.5C26.7 109.8 72.7 72.6 128 60.4V32c0-17.7 14.3-32 32-32h32c17.7 0 32 14.3 32 32V56h65c3-11.7 12.5-20.9 24.7-23.4l160-32c9.4-1.9 19.1 .6 26.6 6.6zM288 416v32c0 35.3-28.7 64-64 64H128c-35.3 0-64-28.7-64-64V416H288zM176 96c8.8 0 16-7.2 16-16s-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16z"]
  112747. };
  112748. var faCruzeiroSign = {
  112749. prefix: 'fas',
  112750. iconName: 'cruzeiro-sign',
  112751. icon: [448, 512, [], "e152", "M96 256c0-88.4 71.6-160 160-160c41 0 78.3 15.4 106.7 40.7c13.2 11.8 33.4 10.7 45.2-2.5s10.7-33.4-2.5-45.2c-39.6-35.5-92-57-149.3-57C132.3 32 32 132.3 32 256s100.3 224 224 224c57.4 0 109.7-21.6 149.3-57c13.2-11.8 14.3-32 2.5-45.2s-32-14.3-45.2-2.5C334.3 400.6 297 416 256 416V320v-8.7c0-12.8 10.4-23.3 23.3-23.3c4.6 0 9.1 1.4 12.9 3.9l10.1 6.7c14.7 9.8 34.6 5.8 44.4-8.9s5.8-34.6-8.9-44.4l-10.1-6.7c-14.3-9.6-31.2-14.7-48.4-14.7c-12.4 0-24.2 2.6-34.9 7.3c-5.5-4.5-12.6-7.3-20.3-7.3c-17.7 0-32 14.3-32 32v55.3V320v82.7C135.5 378 96 321.6 96 256z"]
  112752. };
  112753. var faGreaterThanEqual = {
  112754. prefix: 'fas',
  112755. iconName: 'greater-than-equal',
  112756. icon: [448, 512, [], "f532", "M52.1 93.7C35.7 87.1 27.7 68.5 34.3 52.1s25.2-24.4 41.6-17.8l320 128C408 167.1 416 178.9 416 192s-8 24.9-20.1 29.7l-320 128c-16.4 6.6-35-1.4-41.6-17.8s1.4-35 17.8-41.6L297.8 192 52.1 93.7zM416 416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416z"]
  112757. };
  112758. var faShieldHalved = {
  112759. prefix: 'fas',
  112760. iconName: 'shield-halved',
  112761. icon: [512, 512, ["shield-alt"], "f3ed", "M256 0c4.6 0 9.2 1 13.4 2.9L457.7 82.8c22 9.3 38.4 31 38.3 57.2c-.5 99.2-41.3 280.7-213.7 363.2c-16.7 8-36.1 8-52.8 0C57.3 420.7 16.5 239.2 16 140c-.1-26.2 16.3-47.9 38.3-57.2L242.7 2.9C246.8 1 251.4 0 256 0zm0 66.8V444.8C394 378 431.1 230.1 432 141.4L256 66.8l0 0z"]
  112762. };
  112763. var faShieldAlt = faShieldHalved;
  112764. var faBookAtlas = {
  112765. prefix: 'fas',
  112766. iconName: 'book-atlas',
  112767. icon: [448, 512, ["atlas"], "f558", "M0 96C0 43 43 0 96 0H384h32c17.7 0 32 14.3 32 32V352c0 17.7-14.3 32-32 32v64c17.7 0 32 14.3 32 32s-14.3 32-32 32H384 96c-53 0-96-43-96-96V96zM64 416c0 17.7 14.3 32 32 32H352V384H96c-17.7 0-32 14.3-32 32zM247.4 283.8c-3.7 3.7-6.2 4.2-7.4 4.2s-3.7-.5-7.4-4.2c-3.8-3.7-8-10-11.8-18.9c-6.2-14.5-10.8-34.3-12.2-56.9h63c-1.5 22.6-6 42.4-12.2 56.9c-3.8 8.9-8 15.2-11.8 18.9zm42.7-9.9c7.3-18.3 12-41.1 13.4-65.9h31.1c-4.7 27.9-21.4 51.7-44.5 65.9zm0-163.8c23.2 14.2 39.9 38 44.5 65.9H303.5c-1.4-24.7-6.1-47.5-13.4-65.9zM368 192c0-70.7-57.3-128-128-128s-128 57.3-128 128s57.3 128 128 128s128-57.3 128-128zM145.3 208h31.1c1.4 24.7 6.1 47.5 13.4 65.9c-23.2-14.2-39.9-38-44.5-65.9zm31.1-32H145.3c4.7-27.9 21.4-51.7 44.5-65.9c-7.3 18.3-12 41.1-13.4 65.9zm56.1-75.8c3.7-3.7 6.2-4.2 7.4-4.2s3.7 .5 7.4 4.2c3.8 3.7 8 10 11.8 18.9c6.2 14.5 10.8 34.3 12.2 56.9h-63c1.5-22.6 6-42.4 12.2-56.9c3.8-8.9 8-15.2 11.8-18.9z"]
  112768. };
  112769. var faAtlas = faBookAtlas;
  112770. var faVirus = {
  112771. prefix: 'fas',
  112772. iconName: 'virus',
  112773. icon: [512, 512, [], "e074", "M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V43.5c0 49.9-60.3 74.9-95.6 39.6L120.2 75C107.7 62.5 87.5 62.5 75 75s-12.5 32.8 0 45.3l8.2 8.2C118.4 163.7 93.4 224 43.5 224H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H43.5c49.9 0 74.9 60.3 39.6 95.6L75 391.8c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l8.2-8.2c35.3-35.3 95.6-10.3 95.6 39.6V480c0 17.7 14.3 32 32 32s32-14.3 32-32V468.5c0-49.9 60.3-74.9 95.6-39.6l8.2 8.2c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-8.2-8.2c-35.3-35.3-10.3-95.6 39.6-95.6H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H468.5c-49.9 0-74.9-60.3-39.6-95.6l8.2-8.2c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-8.2 8.2C348.3 118.4 288 93.4 288 43.5V32zM272 224c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zm32 104c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24z"]
  112774. };
  112775. var faEnvelopeCircleCheck = {
  112776. prefix: 'fas',
  112777. iconName: 'envelope-circle-check',
  112778. icon: [640, 512, [], "e4e8", "M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0l57.4-43c23.9-59.8 79.7-103.3 146.3-109.8l13.9-10.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48H48zM294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176V384c0 35.3 28.7 64 64 64H360.2C335.1 417.6 320 378.5 320 336c0-5.6 .3-11.1 .8-16.6l-26.4 19.8zM640 336c0-79.5-64.5-144-144-144s-144 64.5-144 144s64.5 144 144 144s144-64.5 144-144zm-76.7-43.3c6.2 6.2 6.2 16.4 0 22.6l-72 72c-6.2 6.2-16.4 6.2-22.6 0l-40-40c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L480 353.4l60.7-60.7c6.2-6.2 16.4-6.2 22.6 0z"]
  112779. };
  112780. var faLayerGroup = {
  112781. prefix: 'fas',
  112782. iconName: 'layer-group',
  112783. icon: [576, 512, [], "f5fd", "M264.5 5.2c14.9-6.9 32.1-6.9 47 0l218.6 101c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L45.9 149.8C37.4 145.8 32 137.3 32 128s5.4-17.9 13.9-21.8L264.5 5.2zM476.9 209.6l53.2 24.6c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L45.9 277.8C37.4 273.8 32 265.3 32 256s5.4-17.9 13.9-21.8l53.2-24.6 152 70.2c23.4 10.8 50.4 10.8 73.8 0l152-70.2zm-152 198.2l152-70.2 53.2 24.6c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L45.9 405.8C37.4 401.8 32 393.3 32 384s5.4-17.9 13.9-21.8l53.2-24.6 152 70.2c23.4 10.8 50.4 10.8 73.8 0z"]
  112784. };
  112785. var faArrowsToDot = {
  112786. prefix: 'fas',
  112787. iconName: 'arrows-to-dot',
  112788. icon: [512, 512, [], "e4be", "M256 0c17.7 0 32 14.3 32 32V64h32c12.9 0 24.6 7.8 29.6 19.8s2.2 25.7-6.9 34.9l-64 64c-12.5 12.5-32.8 12.5-45.3 0l-64-64c-9.2-9.2-11.9-22.9-6.9-34.9s16.6-19.8 29.6-19.8h32V32c0-17.7 14.3-32 32-32zM169.4 393.4l64-64c12.5-12.5 32.8-12.5 45.3 0l64 64c9.2 9.2 11.9 22.9 6.9 34.9s-16.6 19.8-29.6 19.8H288v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V448H192c-12.9 0-24.6-7.8-29.6-19.8s-2.2-25.7 6.9-34.9zM32 224H64V192c0-12.9 7.8-24.6 19.8-29.6s25.7-2.2 34.9 6.9l64 64c12.5 12.5 12.5 32.8 0 45.3l-64 64c-9.2 9.2-22.9 11.9-34.9 6.9s-19.8-16.6-19.8-29.6V288H32c-17.7 0-32-14.3-32-32s14.3-32 32-32zm297.4 54.6c-12.5-12.5-12.5-32.8 0-45.3l64-64c9.2-9.2 22.9-11.9 34.9-6.9s19.8 16.6 19.8 29.6v32h32c17.7 0 32 14.3 32 32s-14.3 32-32 32H448v32c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9l-64-64zM256 288c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]
  112789. };
  112790. var faArchway = {
  112791. prefix: 'fas',
  112792. iconName: 'archway',
  112793. icon: [512, 512, [], "f557", "M32 32C14.3 32 0 46.3 0 64S14.3 96 32 96H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H32zm0 384c-17.7 0-32 14.3-32 32s14.3 32 32 32H96h64V352c0-53 43-96 96-96s96 43 96 96V480h64 64c17.7 0 32-14.3 32-32s-14.3-32-32-32V128H32V416z"]
  112794. };
  112795. var faHeartCircleCheck = {
  112796. prefix: 'fas',
  112797. iconName: 'heart-circle-check',
  112798. icon: [576, 512, [], "e4fd", "M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9l2.6-2.4C267.2 438.6 256 404.6 256 368c0-97.2 78.8-176 176-176c28.3 0 55 6.7 78.7 18.5c.9-6.5 1.3-13 1.3-19.6v-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1v5.8c0 41.5 17.2 81.2 47.6 109.5zM576 368c0-79.5-64.5-144-144-144s-144 64.5-144 144s64.5 144 144 144s144-64.5 144-144zm-76.7-43.3c6.2 6.2 6.2 16.4 0 22.6l-72 72c-6.2 6.2-16.4 6.2-22.6 0l-40-40c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L416 385.4l60.7-60.7c6.2-6.2 16.4-6.2 22.6 0z"]
  112799. };
  112800. var faHouseChimneyCrack = {
  112801. prefix: 'fas',
  112802. iconName: 'house-chimney-crack',
  112803. icon: [576, 512, ["house-damage"], "f6f1", "M575.8 255.5c0 18-15 32.1-32 32.1h-32l.7 160.2c.2 35.5-28.5 64.3-64 64.3H326.4L288 448l80.8-67.3c7.8-6.5 7.6-18.6-.4-24.9L250.6 263.2c-14.6-11.5-33.8 7-22.8 22L288 368l-85.5 71.2c-6.1 5-7.5 13.8-3.5 20.5L230.4 512H128.1c-35.3 0-64-28.7-64-64V287.6H32c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L416 100.7V64c0-17.7 14.3-32 32-32h32c17.7 0 32 14.3 32 32V185l52.8 46.4c8 7 12 15 11 24z"]
  112804. };
  112805. var faHouseDamage = faHouseChimneyCrack;
  112806. var faFileZipper = {
  112807. prefix: 'fas',
  112808. iconName: 'file-zipper',
  112809. icon: [384, 512, ["file-archive"], "f1c6", "M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM96 48c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16zm0 64c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16zm0 64c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16zm-6.3 71.8c3.7-14 16.4-23.8 30.9-23.8h14.8c14.5 0 27.2 9.7 30.9 23.8l23.5 88.2c1.4 5.4 2.1 10.9 2.1 16.4c0 35.2-28.8 63.7-64 63.7s-64-28.5-64-63.7c0-5.5 .7-11.1 2.1-16.4l23.5-88.2zM112 336c-8.8 0-16 7.2-16 16s7.2 16 16 16h32c8.8 0 16-7.2 16-16s-7.2-16-16-16H112z"]
  112810. };
  112811. var faFileArchive = faFileZipper;
  112812. var faSquare = {
  112813. prefix: 'fas',
  112814. iconName: 'square',
  112815. icon: [448, 512, [9632, 9723, 9724, 61590], "f0c8", "M0 96C0 60.7 28.7 32 64 32H384c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96z"]
  112816. };
  112817. var faMartiniGlassEmpty = {
  112818. prefix: 'fas',
  112819. iconName: 'martini-glass-empty',
  112820. icon: [512, 512, ["glass-martini"], "f000", "M32 0C19.1 0 7.4 7.8 2.4 19.8s-2.2 25.7 6.9 34.9L224 269.3V448H160c-17.7 0-32 14.3-32 32s14.3 32 32 32h96 96c17.7 0 32-14.3 32-32s-14.3-32-32-32H288V269.3L502.6 54.6c9.2-9.2 11.9-22.9 6.9-34.9S492.9 0 480 0H32zM256 210.7L109.3 64H402.7L256 210.7z"]
  112821. };
  112822. var faGlassMartini = faMartiniGlassEmpty;
  112823. var faCouch = {
  112824. prefix: 'fas',
  112825. iconName: 'couch',
  112826. icon: [640, 512, [], "f4b8", "M64 160C64 89.3 121.3 32 192 32H448c70.7 0 128 57.3 128 128v33.6c-36.5 7.4-64 39.7-64 78.4v48H128V272c0-38.7-27.5-71-64-78.4V160zM544 272c0-20.9 13.4-38.7 32-45.3c5-1.8 10.4-2.7 16-2.7c26.5 0 48 21.5 48 48V448c0 17.7-14.3 32-32 32H576c-17.7 0-32-14.3-32-32H96c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32V272c0-26.5 21.5-48 48-48c5.6 0 11 1 16 2.7c18.6 6.6 32 24.4 32 45.3v48 32h32H512h32V320 272z"]
  112827. };
  112828. var faCediSign = {
  112829. prefix: 'fas',
  112830. iconName: 'cedi-sign',
  112831. icon: [384, 512, [], "e0df", "M256 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V66.7C101.2 81.9 32 160.9 32 256s69.2 174.1 160 189.3V480c0 17.7 14.3 32 32 32s32-14.3 32-32V445.3c30.9-5.2 59.2-17.7 83.2-35.8c14.1-10.6 17-30.7 6.4-44.8s-30.7-17-44.8-6.4c-13.2 9.9-28.3 17.3-44.8 21.6V132c16.4 4.2 31.6 11.6 44.8 21.6c14.1 10.6 34.2 7.8 44.8-6.4s7.8-34.2-6.4-44.8c-24-18-52.4-30.6-83.2-35.8V32zM192 132V380c-55.2-14.2-96-64.3-96-124s40.8-109.8 96-124z"]
  112832. };
  112833. var faItalic = {
  112834. prefix: 'fas',
  112835. iconName: 'italic',
  112836. icon: [384, 512, [], "f033", "M128 64c0-17.7 14.3-32 32-32H352c17.7 0 32 14.3 32 32s-14.3 32-32 32H293.3L160 416h64c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H90.7L224 96H160c-17.7 0-32-14.3-32-32z"]
  112837. };
  112838. var faChurch = {
  112839. prefix: 'fas',
  112840. iconName: 'church',
  112841. icon: [640, 512, [9962], "f51d", "M344 24c0-13.3-10.7-24-24-24s-24 10.7-24 24V48H264c-13.3 0-24 10.7-24 24s10.7 24 24 24h32v46.4L183.3 210c-14.5 8.7-23.3 24.3-23.3 41.2V512h96V416c0-35.3 28.7-64 64-64s64 28.7 64 64v96h96V251.2c0-16.9-8.8-32.5-23.3-41.2L344 142.4V96h32c13.3 0 24-10.7 24-24s-10.7-24-24-24H344V24zM24.9 330.3C9.5 338.8 0 354.9 0 372.4V464c0 26.5 21.5 48 48 48h80V273.6L24.9 330.3zM592 512c26.5 0 48-21.5 48-48V372.4c0-17.5-9.5-33.6-24.9-42.1L512 273.6V512h80z"]
  112842. };
  112843. var faCommentsDollar = {
  112844. prefix: 'fas',
  112845. iconName: 'comments-dollar',
  112846. icon: [640, 512, [], "f653", "M416 176c0 97.2-93.1 176-208 176c-38.2 0-73.9-8.7-104.7-23.9c-7.5 4-16 7.9-25.2 11.4C59.8 346.4 37.8 352 16 352c-6.9 0-13.1-4.5-15.2-11.1s.2-13.8 5.8-17.9l0 0 0 0 .2-.2c.2-.2 .6-.4 1.1-.8c1-.8 2.5-2 4.3-3.7c3.6-3.3 8.5-8.1 13.3-14.3c5.5-7 10.7-15.4 14.2-24.7C14.7 250.3 0 214.6 0 176C0 78.8 93.1 0 208 0S416 78.8 416 176zM231.5 383C348.9 372.9 448 288.3 448 176c0-5.2-.2-10.4-.6-15.5C555.1 167.1 640 243.2 640 336c0 38.6-14.7 74.3-39.6 103.4c3.5 9.4 8.7 17.7 14.2 24.7c4.8 6.2 9.7 11 13.3 14.3c1.8 1.6 3.3 2.9 4.3 3.7c.5 .4 .9 .7 1.1 .8l.2 .2 0 0 0 0c5.6 4.1 7.9 11.3 5.8 17.9c-2.1 6.6-8.3 11.1-15.2 11.1c-21.8 0-43.8-5.6-62.1-12.5c-9.2-3.5-17.8-7.4-25.2-11.4C505.9 503.3 470.2 512 432 512c-95.6 0-176.2-54.6-200.5-129zM228 72c0-11-9-20-20-20s-20 9-20 20V86c-7.6 1.7-15.2 4.4-22.2 8.5c-13.9 8.3-25.9 22.8-25.8 43.9c.1 20.3 12 33.1 24.7 40.7c11 6.6 24.7 10.8 35.6 14l1.7 .5c12.6 3.8 21.8 6.8 28 10.7c5.1 3.2 5.8 5.4 5.9 8.2c.1 5-1.8 8-5.9 10.5c-5 3.1-12.9 5-21.4 4.7c-11.1-.4-21.5-3.9-35.1-8.5c-2.3-.8-4.7-1.6-7.2-2.4c-10.5-3.5-21.8 2.2-25.3 12.6s2.2 21.8 12.6 25.3c1.9 .6 4 1.3 6.1 2.1l0 0 0 0c8.3 2.9 17.9 6.2 28.2 8.4V280c0 11 9 20 20 20s20-9 20-20V266.2c8-1.7 16-4.5 23.2-9c14.3-8.9 25.1-24.1 24.8-45c-.3-20.3-11.7-33.4-24.6-41.6c-11.5-7.2-25.9-11.6-37.1-15l-.7-.2c-12.8-3.9-21.9-6.7-28.3-10.5c-5.2-3.1-5.3-4.9-5.3-6.7c0-3.7 1.4-6.5 6.2-9.3c5.4-3.2 13.6-5.1 21.5-5c9.6 .1 20.2 2.2 31.2 5.2c10.7 2.8 21.6-3.5 24.5-14.2s-3.5-21.6-14.2-24.5c-6.5-1.7-13.7-3.4-21.1-4.7V72z"]
  112847. };
  112848. var faDemocrat = {
  112849. prefix: 'fas',
  112850. iconName: 'democrat',
  112851. icon: [640, 512, [], "f747", "M64 32c0-8.9 3.8-20.9 6.2-27.3C71.2 1.8 74 0 77 0c1.9 0 3.8 .7 5.2 2.1L128 45.7 173.8 2.1C175.2 .7 177.1 0 179 0c3 0 5.8 1.8 6.8 4.7c2.4 6.5 6.2 18.4 6.2 27.3c0 26.5-21.9 42-29.5 46.6l76.2 72.6c6 5.7 13.9 8.8 22.1 8.8H480c61.4 0 101.6 24 126.2 50c12 12.6 19.9 25.2 24.9 34.9c2.5 4.8 4.3 9 5.5 12.1c.6 1.5 1.1 2.8 1.4 3.8c.2 .5 .3 .9 .4 1.3l.1 .5 .1 .2 0 .1 0 0c0 0 0 0-30.2 9.1l30.2-9.1c5.1 16.9-4.5 34.8-21.5 39.8c-16.8 5-34.5-4.4-39.7-21.1l0 0c-.1-.2-.2-.6-.5-1.2c-.5-1.3-1.4-3.4-2.8-6.1c-2.8-5.4-7.4-12.8-14.4-20.1c-4.2-4.4-9.4-9-15.8-13.2V320H192l-40.4-94.3c-3.9-9.2-15.3-12.6-23.6-7l-42.1 28c-9.1 6.1-19.7 9.3-30.7 9.3h-2C23.9 256 0 232.1 0 202.7c0-12.1 4.1-23.8 11.7-33.3L87.6 74.6C78.1 67.4 64 53.2 64 32zM448 352h96v64 64c0 17.7-14.3 32-32 32H480c-17.7 0-32-14.3-32-32V416H288v64c0 17.7-14.3 32-32 32H224c-17.7 0-32-14.3-32-32V416 352h96H448zm129.4-70.8c0 0 0 0 30.6-9.2l-30.6 9.2 0 0zM260.9 210.9c-.9-1.8-2.8-2.9-4.8-2.9s-3.9 1.1-4.8 2.9l-10.5 20.5-23.5 3.3c-2 .3-3.7 1.6-4.3 3.5s-.1 3.9 1.3 5.3l17 16-4 22.6c-.3 1.9 .5 3.9 2.1 5s3.8 1.3 5.6 .4l21-10.7 21 10.7c1.8 .9 4 .8 5.6-.4s2.5-3.1 2.1-5l-4-22.6 17-16c1.5-1.4 2-3.4 1.3-5.3s-2.3-3.2-4.3-3.5l-23.5-3.3-10.5-20.5zM368.1 208c-2 0-3.9 1.1-4.8 2.9l-10.5 20.5-23.5 3.3c-2 .3-3.7 1.6-4.3 3.5s-.1 3.9 1.3 5.3l17 16-4 22.6c-.3 1.9 .5 3.9 2.1 5s3.8 1.3 5.6 .4l21-10.7 21 10.7c1.8 .9 4 .8 5.6-.4s2.5-3.1 2.1-5l-4-22.6 17-16c1.5-1.4 2-3.4 1.4-5.3s-2.3-3.2-4.3-3.5l-23.5-3.3-10.5-20.5c-.9-1.8-2.8-2.9-4.8-2.9zm116.8 2.9c-.9-1.8-2.8-2.9-4.8-2.9s-3.9 1.1-4.8 2.9l-10.5 20.5-23.5 3.3c-2 .3-3.7 1.6-4.3 3.5s-.1 3.9 1.3 5.3l17 16-4 22.6c-.3 1.9 .5 3.9 2.1 5s3.8 1.3 5.6 .4l21-10.7 21 10.7c1.8 .9 4 .8 5.6-.4s2.5-3.1 2.1-5l-4-22.6 17-16c1.5-1.4 2-3.4 1.4-5.3s-2.3-3.2-4.3-3.5l-23.5-3.3-10.5-20.5z"]
  112852. };
  112853. var faZ = {
  112854. prefix: 'fas',
  112855. iconName: 'z',
  112856. icon: [384, 512, [122], "5a", "M0 64C0 46.3 14.3 32 32 32H352c12.4 0 23.7 7.2 29 18.4s3.6 24.5-4.4 34.1L100.3 416H352c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-12.4 0-23.7-7.2-29-18.4s-3.6-24.5 4.4-34.1L283.7 96H32C14.3 96 0 81.7 0 64z"]
  112857. };
  112858. var faPersonSkiing = {
  112859. prefix: 'fas',
  112860. iconName: 'person-skiing',
  112861. icon: [576, 512, [9975, "skiing"], "f7c9", "M508.7 48c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zM34.7 268.9c6.1-11.8 20.6-16.3 32.4-10.2L264.7 361.3l46.2-69.2-75.1-75.1c-14.6-14.6-20.4-33.9-18.4-52.1l108.8 52 39.3 39.3c16.2 16.2 18.7 41.5 6 60.6L321.8 391l128.7 66.8c13.6 7.1 29.8 7.2 43.6 .3l15.2-7.6c11.9-5.9 26.3-1.1 32.2 10.7s1.1 26.3-10.7 32.2l-15.2 7.6c-27.5 13.7-59.9 13.5-87.2-.7L44.9 301.3c-11.8-6.1-16.3-20.6-10.2-32.4zM150.9 65.6L169 74.2l8.7-17.4c4-7.9 13.6-11.1 21.5-7.2s11.1 13.6 7.2 21.5l-8.5 16.9 54.7 26.2c1.5-.7 3.1-1.4 4.7-2.1l83.4-33.4c34.2-13.7 72.8 4.2 84.5 39.2l17.1 51.2 52.1 26.1c15.8 7.9 22.2 27.1 14.3 42.9s-27.1 22.2-42.9 14.3l-58.1-29c-11.4-5.7-20-15.7-24.1-27.8l-5.8-17.3-27.3 12.1-6.8 3-6.7-3.2L183.5 116.7l-9.2 18.4c-4 7.9-13.6 11.1-21.5 7.2s-11.1-13.6-7.2-21.5l9-18-17.6-8.4c-8-3.8-11.3-13.4-7.5-21.3s13.4-11.3 21.3-7.5z"]
  112862. };
  112863. var faSkiing = faPersonSkiing;
  112864. var faRoadLock = {
  112865. prefix: 'fas',
  112866. iconName: 'road-lock',
  112867. icon: [640, 512, [], "e567", "M288 32H213.2c-27.1 0-51.3 17.1-60.3 42.6L35.1 407.2c-2.1 5.9-3.1 12-3.1 18.2C32 455.5 56.5 480 86.6 480H288V416c0-17.7 14.3-32 32-32s32 14.3 32 32v64h32V352c0-23.7 12.9-44.4 32-55.4V272c0-58.3 44.6-106.2 101.5-111.5L487.1 74.6C478 49.1 453.9 32 426.8 32H352V96c0 17.7-14.3 32-32 32s-32-14.3-32-32V32zm64 192v64c0 17.7-14.3 32-32 32s-32-14.3-32-32V224c0-17.7 14.3-32 32-32s32 14.3 32 32zm176 16c17.7 0 32 14.3 32 32v48H496V272c0-17.7 14.3-32 32-32zm-80 32v48c-17.7 0-32 14.3-32 32V480c0 17.7 14.3 32 32 32H608c17.7 0 32-14.3 32-32V352c0-17.7-14.3-32-32-32V272c0-44.2-35.8-80-80-80s-80 35.8-80 80z"]
  112868. };
  112869. var faA = {
  112870. prefix: 'fas',
  112871. iconName: 'a',
  112872. icon: [448, 512, [97], "41", "M253.5 51.7C248.6 39.8 236.9 32 224 32s-24.6 7.8-29.5 19.7l-120 288-40 96c-6.8 16.3 .9 35 17.2 41.8s35-.9 41.8-17.2L125.3 384H322.7l31.8 76.3c6.8 16.3 25.5 24 41.8 17.2s24-25.5 17.2-41.8l-40-96-120-288zM296 320H152l72-172.8L296 320z"]
  112873. };
  112874. var faTemperatureArrowDown = {
  112875. prefix: 'fas',
  112876. iconName: 'temperature-arrow-down',
  112877. icon: [512, 512, ["temperature-down"], "e03f", "M96 112c0-26.5 21.5-48 48-48s48 21.5 48 48V276.5c0 17.3 7.1 31.9 15.3 42.5C217.8 332.6 224 349.5 224 368c0 44.2-35.8 80-80 80s-80-35.8-80-80c0-18.5 6.2-35.4 16.7-48.9C88.9 308.4 96 293.8 96 276.5V112zM144 0C82.1 0 32 50.1 32 112V276.4c0 .1-.1 .3-.2 .6c-.2 .6-.8 1.6-1.7 2.8C11.2 304.2 0 334.8 0 368c0 79.5 64.5 144 144 144s144-64.5 144-144c0-33.2-11.3-63.8-30.1-88.1c-.9-1.2-1.5-2.2-1.7-2.8c-.1-.3-.2-.5-.2-.6V112C256 50.1 205.9 0 144 0zm0 416c26.5 0 48-21.5 48-48c0-20.9-13.4-38.7-32-45.3V272c0-8.8-7.2-16-16-16s-16 7.2-16 16v50.7c-18.6 6.6-32 24.4-32 45.3c0 26.5 21.5 48 48 48zm336-64H448V64c0-17.7-14.3-32-32-32s-32 14.3-32 32V352H352c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l64 64c6 6 14.1 9.4 22.6 9.4s16.6-3.4 22.6-9.4l64-64c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8z"]
  112878. };
  112879. var faTemperatureDown = faTemperatureArrowDown;
  112880. var faFeatherPointed = {
  112881. prefix: 'fas',
  112882. iconName: 'feather-pointed',
  112883. icon: [512, 512, ["feather-alt"], "f56b", "M278.5 215.6L23 471c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l74.8-74.8c7.4 4.6 15.3 8.2 23.8 10.5C200.3 452.8 270 454.5 338 409.4c12.2-8.1 5.8-25.4-8.8-25.4l-16.1 0c-5.1 0-9.2-4.1-9.2-9.2c0-4.1 2.7-7.6 6.5-8.8l97.7-29.3c3.4-1 6.4-3.1 8.4-6.1c4.4-6.4 8.6-12.9 12.6-19.6c6.2-10.3-1.5-23-13.5-23l-38.6 0c-5.1 0-9.2-4.1-9.2-9.2c0-4.1 2.7-7.6 6.5-8.8l80.9-24.3c4.6-1.4 8.4-4.8 10.2-9.3C494.5 163 507.8 86.1 511.9 36.8c.8-9.9-3-19.6-10-26.6s-16.7-10.8-26.6-10C391.5 7 228.5 40.5 137.4 131.6C57.3 211.7 56.7 302.3 71.3 356.4c2.1 7.9 12 9.6 17.8 3.8L253.6 195.8c6.2-6.2 16.4-6.2 22.6 0c5.4 5.4 6.1 13.6 2.2 19.8z"]
  112884. };
  112885. var faFeatherAlt = faFeatherPointed;
  112886. var faP = {
  112887. prefix: 'fas',
  112888. iconName: 'p',
  112889. icon: [320, 512, [112], "50", "M32 32H64h96c88.4 0 160 71.6 160 160s-71.6 160-160 160H64v96c0 17.7-14.3 32-32 32s-32-14.3-32-32V352 320 288 64C0 46.3 14.3 32 32 32zM64 288h96c53 0 96-43 96-96s-43-96-96-96H64V288z"]
  112890. };
  112891. var faSnowflake = {
  112892. prefix: 'fas',
  112893. iconName: 'snowflake',
  112894. icon: [448, 512, [10052, 10054], "f2dc", "M224 0c17.7 0 32 14.3 32 32V62.1l15-15c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-49 49v70.3l61.4-35.8 17.7-66.1c3.4-12.8 16.6-20.4 29.4-17s20.4 16.6 17 29.4l-5.2 19.3 23.6-13.8c15.3-8.9 34.9-3.7 43.8 11.5s3.7 34.9-11.5 43.8l-25.3 14.8 21.7 5.8c12.8 3.4 20.4 16.6 17 29.4s-16.6 20.4-29.4 17l-67.7-18.1L287.5 256l60.9 35.5 67.7-18.1c12.8-3.4 26 4.2 29.4 17s-4.2 26-17 29.4l-21.7 5.8 25.3 14.8c15.3 8.9 20.4 28.5 11.5 43.8s-28.5 20.4-43.8 11.5l-23.6-13.8 5.2 19.3c3.4 12.8-4.2 26-17 29.4s-26-4.2-29.4-17l-17.7-66.1L256 311.7v70.3l49 49c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-15-15V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V449.9l-15 15c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l49-49V311.7l-61.4 35.8-17.7 66.1c-3.4 12.8-16.6 20.4-29.4 17s-20.4-16.6-17-29.4l5.2-19.3L48.1 395.6c-15.3 8.9-34.9 3.7-43.8-11.5s-3.7-34.9 11.5-43.8l25.3-14.8-21.7-5.8c-12.8-3.4-20.4-16.6-17-29.4s16.6-20.4 29.4-17l67.7 18.1L160.5 256 99.6 220.5 31.9 238.6c-12.8 3.4-26-4.2-29.4-17s4.2-26 17-29.4l21.7-5.8L15.9 171.6C.6 162.7-4.5 143.1 4.4 127.9s28.5-20.4 43.8-11.5l23.6 13.8-5.2-19.3c-3.4-12.8 4.2-26 17-29.4s26 4.2 29.4 17l17.7 66.1L192 200.3V129.9L143 81c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l15 15V32c0-17.7 14.3-32 32-32z"]
  112895. };
  112896. var faNewspaper = {
  112897. prefix: 'fas',
  112898. iconName: 'newspaper',
  112899. icon: [512, 512, [128240], "f1ea", "M96 96c0-35.3 28.7-64 64-64H448c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H80c-44.2 0-80-35.8-80-80V128c0-17.7 14.3-32 32-32s32 14.3 32 32V400c0 8.8 7.2 16 16 16s16-7.2 16-16V96zm64 24v80c0 13.3 10.7 24 24 24H424c13.3 0 24-10.7 24-24V120c0-13.3-10.7-24-24-24H184c-13.3 0-24 10.7-24 24zm0 184c0 8.8 7.2 16 16 16h96c8.8 0 16-7.2 16-16s-7.2-16-16-16H176c-8.8 0-16 7.2-16 16zm160 0c0 8.8 7.2 16 16 16h96c8.8 0 16-7.2 16-16s-7.2-16-16-16H336c-8.8 0-16 7.2-16 16zM160 400c0 8.8 7.2 16 16 16h96c8.8 0 16-7.2 16-16s-7.2-16-16-16H176c-8.8 0-16 7.2-16 16zm160 0c0 8.8 7.2 16 16 16h96c8.8 0 16-7.2 16-16s-7.2-16-16-16H336c-8.8 0-16 7.2-16 16z"]
  112900. };
  112901. var faRectangleAd = {
  112902. prefix: 'fas',
  112903. iconName: 'rectangle-ad',
  112904. icon: [576, 512, ["ad"], "f641", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM229.5 173.3l72 144c5.9 11.9 1.1 26.3-10.7 32.2s-26.3 1.1-32.2-10.7L253.2 328H162.8l-5.4 10.7c-5.9 11.9-20.3 16.7-32.2 10.7s-16.7-20.3-10.7-32.2l72-144c4.1-8.1 12.4-13.3 21.5-13.3s17.4 5.1 21.5 13.3zM208 237.7L186.8 280h42.3L208 237.7zM392 256c-13.3 0-24 10.7-24 24s10.7 24 24 24s24-10.7 24-24s-10.7-24-24-24zm24-43.9V184c0-13.3 10.7-24 24-24s24 10.7 24 24v96 48c0 13.3-10.7 24-24 24c-6.6 0-12.6-2.7-17-7c-9.4 4.5-19.9 7-31 7c-39.8 0-72-32.2-72-72s32.2-72 72-72c8.4 0 16.5 1.4 24 4.1z"]
  112905. };
  112906. var faAd = faRectangleAd;
  112907. var faCircleArrowRight = {
  112908. prefix: 'fas',
  112909. iconName: 'circle-arrow-right',
  112910. icon: [512, 512, ["arrow-circle-right"], "f0a9", "M0 256C0 397.4 114.6 512 256 512s256-114.6 256-256S397.4 0 256 0S0 114.6 0 256zM297 385c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l71-71L120 280c-13.3 0-24-10.7-24-24s10.7-24 24-24l214.1 0-71-71c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L409 239c9.4 9.4 9.4 24.6 0 33.9L297 385z"]
  112911. };
  112912. var faArrowCircleRight = faCircleArrowRight;
  112913. var faFilterCircleXmark = {
  112914. prefix: 'fas',
  112915. iconName: 'filter-circle-xmark',
  112916. icon: [576, 512, [], "e17b", "M3.9 22.9C10.5 8.9 24.5 0 40 0H472c15.5 0 29.5 8.9 36.1 22.9s4.6 30.5-5.2 42.5L396.4 195.6C316.2 212.1 256 283 256 368c0 27.4 6.3 53.4 17.5 76.5c-1.6-.8-3.2-1.8-4.7-2.9l-64-48c-8.1-6-12.8-15.5-12.8-25.6V288.9L9 65.3C-.7 53.4-2.8 36.8 3.9 22.9zM432 512c-79.5 0-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144zm59.3-180.7c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L432 345.4l-36.7-36.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6L409.4 368l-36.7 36.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L432 390.6l36.7 36.7c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L454.6 368l36.7-36.7z"]
  112917. };
  112918. var faLocust = {
  112919. prefix: 'fas',
  112920. iconName: 'locust',
  112921. icon: [640, 512, [], "e520", "M344 32c-13.3 0-24 10.7-24 24s10.7 24 24 24h16c98.7 0 180.6 71.4 197 165.4c-9-3.5-18.8-5.4-29-5.4H463.8l-41.8-97.5c-3.4-7.9-10.8-13.4-19.3-14.4s-17 2.7-22.1 9.6l-40.9 55.5-21.7-50.7c-3.3-7.8-10.5-13.2-18.9-14.3s-16.7 2.3-22 8.9l-240 304c-8.2 10.4-6.4 25.5 4 33.7s25.5 6.4 33.7-4l79.4-100.5 43 16.4-40.5 55c-7.9 10.7-5.6 25.7 5.1 33.6s25.7 5.6 33.6-5.1L247.1 400h74.5l-29.3 42.3c-7.5 10.9-4.8 25.8 6.1 33.4s25.8 4.8 33.4-6.1L380 400h80.4l38.8 67.9c6.6 11.5 21.2 15.5 32.7 8.9s15.5-21.2 8.9-32.7L515.6 400H528c44.1 0 79.8-35.7 80-79.7c0-.1 0-.2 0-.3V280C608 143 497 32 360 32H344zm50.5 168l17.1 40H365l29.5-40zm-87.7 38.1l-1.4 1.9H257.1l32.7-41.5 16.9 39.5zM120.8 240C89.4 240 64 265.4 64 296.8c0 15.5 6.3 30 16.9 40.4L158.7 240H120.8zM528 320c-8.8 0-16-7.2-16-16s7.2-16 16-16s16 7.2 16 16s-7.2 16-16 16z"]
  112922. };
  112923. var faSort = {
  112924. prefix: 'fas',
  112925. iconName: 'sort',
  112926. icon: [320, 512, ["unsorted"], "f0dc", "M137.4 41.4c12.5-12.5 32.8-12.5 45.3 0l128 128c9.2 9.2 11.9 22.9 6.9 34.9s-16.6 19.8-29.6 19.8H32c-12.9 0-24.6-7.8-29.6-19.8s-2.2-25.7 6.9-34.9l128-128zm0 429.3l-128-128c-9.2-9.2-11.9-22.9-6.9-34.9s16.6-19.8 29.6-19.8H288c12.9 0 24.6 7.8 29.6 19.8s2.2 25.7-6.9 34.9l-128 128c-12.5 12.5-32.8 12.5-45.3 0z"]
  112927. };
  112928. var faUnsorted = faSort;
  112929. var faListOl = {
  112930. prefix: 'fas',
  112931. iconName: 'list-ol',
  112932. icon: [512, 512, ["list-1-2", "list-numeric"], "f0cb", "M24 56c0-13.3 10.7-24 24-24H80c13.3 0 24 10.7 24 24V176h16c13.3 0 24 10.7 24 24s-10.7 24-24 24H40c-13.3 0-24-10.7-24-24s10.7-24 24-24H56V80H48C34.7 80 24 69.3 24 56zM86.7 341.2c-6.5-7.4-18.3-6.9-24 1.2L51.5 357.9c-7.7 10.8-22.7 13.3-33.5 5.6s-13.3-22.7-5.6-33.5l11.1-15.6c23.7-33.2 72.3-35.6 99.2-4.9c21.3 24.4 20.8 60.9-1.1 84.7L86.8 432H120c13.3 0 24 10.7 24 24s-10.7 24-24 24H32c-9.5 0-18.2-5.6-22-14.4s-2.1-18.9 4.3-25.9l72-78c5.3-5.8 5.4-14.6 .3-20.5zM224 64H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H224c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 160H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H224c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 160H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H224c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]
  112933. };
  112934. var faList12 = faListOl;
  112935. var faListNumeric = faListOl;
  112936. var faPersonDressBurst = {
  112937. prefix: 'fas',
  112938. iconName: 'person-dress-burst',
  112939. icon: [640, 512, [], "e544", "M528 48c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM390.2 384H408v96c0 17.7 14.3 32 32 32s32-14.3 32-32V384h16v96c0 17.7 14.3 32 32 32s32-14.3 32-32V384h17.8c10.9 0 18.6-10.7 15.2-21.1L546.7 248.1l33.9 56.3c9.1 15.1 28.8 20 43.9 10.9s20-28.8 10.9-43.9l-53.6-89.2c-20.2-33.7-56.7-54.3-96-54.3H474.2c-39.3 0-75.7 20.6-96 54.3l-53.6 89.2c-9.1 15.1-4.2 34.8 10.9 43.9s34.8 4.2 43.9-10.9l33.9-56.3L375 362.9c-3.5 10.4 4.3 21.1 15.2 21.1zM190.9 18.1C188.4 12 182.6 8 176 8s-12.4 4-14.9 10.1l-29.4 74L55.6 68.9c-6.3-1.9-13.1 .2-17.2 5.3s-4.6 12.2-1.4 17.9l39.5 69.1L10.9 206.4c-5.4 3.7-8 10.3-6.5 16.7s6.7 11.2 13.1 12.2l78.7 12.2L90.6 327c-.5 6.5 3.1 12.7 9 15.5s12.9 1.8 17.8-2.6L176 286.1l58.6 53.9c4.8 4.4 11.9 5.5 17.8 2.6s9.5-9 9-15.5l-5.6-79.4 50.5-7.8 24.4-40.5-55.2-38L315 92.2c3.3-5.7 2.7-12.8-1.4-17.9s-10.9-7.2-17.2-5.3L220.3 92.1l-29.4-74z"]
  112940. };
  112941. var faMoneyCheckDollar = {
  112942. prefix: 'fas',
  112943. iconName: 'money-check-dollar',
  112944. icon: [576, 512, ["money-check-alt"], "f53d", "M64 64C28.7 64 0 92.7 0 128V384c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64H64zM272 192H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H272c-8.8 0-16-7.2-16-16s7.2-16 16-16zM256 304c0-8.8 7.2-16 16-16H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H272c-8.8 0-16-7.2-16-16zM164.1 160v6.3c6.6 1.2 16.6 3.2 21 4.4c10.7 2.8 17 13.8 14.2 24.5s-13.8 17-24.5 14.2c-3.8-1-17.4-3.7-21.7-4.3c-12.2-1.9-22.2-.3-28.6 2.6c-6.3 2.9-7.9 6.2-8.2 8.1c-.6 3.4 0 4.7 .1 5c.3 .5 1 1.8 3.6 3.5c6.1 4.2 15.7 7.2 29.9 11.4l.8 .2c12.1 3.7 28.3 8.5 40.4 17.4c6.7 4.9 13 11.4 16.9 20.5c4 9.1 4.8 19.1 3 29.4c-3.3 19-15.9 32-31.6 38.7c-4.9 2.1-10 3.6-15.4 4.6V352c0 11.1-9 20.1-20.1 20.1s-20.1-9-20.1-20.1v-6.4c-9.5-2.2-21.9-6.4-29.8-9.1c-1.7-.6-3.2-1.1-4.4-1.5c-10.5-3.5-16.1-14.8-12.7-25.3s14.8-16.1 25.3-12.7c2 .7 4.1 1.4 6.4 2.1l0 0 0 0c9.5 3.2 20.2 6.9 26.2 7.9c12.8 2 22.7 .7 28.8-1.9c5.5-2.3 7.4-5.3 8-8.8c.7-4 .1-5.9-.2-6.7c-.4-.9-1.3-2.2-3.7-4c-5.9-4.3-15.3-7.5-29.3-11.7l-2.2-.7c-11.7-3.5-27-8.1-38.6-16c-6.6-4.5-13.2-10.7-17.3-19.5c-4.2-9-5.2-18.8-3.4-29c3.2-18.3 16.2-30.9 31.1-37.7c5-2.3 10.3-4 15.9-5.1v-6c0-11.1 9-20.1 20.1-20.1s20.1 9 20.1 20.1z"]
  112945. };
  112946. var faMoneyCheckAlt = faMoneyCheckDollar;
  112947. var faVectorSquare = {
  112948. prefix: 'fas',
  112949. iconName: 'vector-square',
  112950. icon: [448, 512, [], "f5cb", "M368 80h32v32H368V80zM352 32c-17.7 0-32 14.3-32 32H128c0-17.7-14.3-32-32-32H32C14.3 32 0 46.3 0 64v64c0 17.7 14.3 32 32 32V352c-17.7 0-32 14.3-32 32v64c0 17.7 14.3 32 32 32H96c17.7 0 32-14.3 32-32H320c0 17.7 14.3 32 32 32h64c17.7 0 32-14.3 32-32V384c0-17.7-14.3-32-32-32V160c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32H352zM96 160c17.7 0 32-14.3 32-32H320c0 17.7 14.3 32 32 32V352c-17.7 0-32 14.3-32 32H128c0-17.7-14.3-32-32-32V160zM48 400H80v32H48V400zm320 32V400h32v32H368zM48 112V80H80v32H48z"]
  112951. };
  112952. var faBreadSlice = {
  112953. prefix: 'fas',
  112954. iconName: 'bread-slice',
  112955. icon: [512, 512, [], "f7ec", "M256 32C192 32 0 64 0 192c0 35.3 28.7 64 64 64V432c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V256c35.3 0 64-28.7 64-64C512 64 320 32 256 32z"]
  112956. };
  112957. var faLanguage = {
  112958. prefix: 'fas',
  112959. iconName: 'language',
  112960. icon: [640, 512, [], "f1ab", "M0 128C0 92.7 28.7 64 64 64H256h48 16H576c35.3 0 64 28.7 64 64V384c0 35.3-28.7 64-64 64H320 304 256 64c-35.3 0-64-28.7-64-64V128zm320 0V384H576V128H320zM178.3 175.9c-3.2-7.2-10.4-11.9-18.3-11.9s-15.1 4.7-18.3 11.9l-64 144c-4.5 10.1 .1 21.9 10.2 26.4s21.9-.1 26.4-10.2l8.9-20.1h73.6l8.9 20.1c4.5 10.1 16.3 14.6 26.4 10.2s14.6-16.3 10.2-26.4l-64-144zM160 233.2L179 276H141l19-42.8zM448 164c11 0 20 9 20 20v4h44 16c11 0 20 9 20 20s-9 20-20 20h-2l-1.6 4.5c-8.9 24.4-22.4 46.6-39.6 65.4c.9 .6 1.8 1.1 2.7 1.6l18.9 11.3c9.5 5.7 12.5 18 6.9 27.4s-18 12.5-27.4 6.9l-18.9-11.3c-4.5-2.7-8.8-5.5-13.1-8.5c-10.6 7.5-21.9 14-34 19.4l-3.6 1.6c-10.1 4.5-21.9-.1-26.4-10.2s.1-21.9 10.2-26.4l3.6-1.6c6.4-2.9 12.6-6.1 18.5-9.8l-12.2-12.2c-7.8-7.8-7.8-20.5 0-28.3s20.5-7.8 28.3 0l14.6 14.6 .5 .5c12.4-13.1 22.5-28.3 29.8-45H448 376c-11 0-20-9-20-20s9-20 20-20h52v-4c0-11 9-20 20-20z"]
  112961. };
  112962. var faFaceKissWinkHeart = {
  112963. prefix: 'fas',
  112964. iconName: 'face-kiss-wink-heart',
  112965. icon: [512, 512, [128536, "kiss-wink-heart"], "f598", "M498 339.7c9.1-26.2 14-54.4 14-83.7C512 114.6 397.4 0 256 0S0 114.6 0 256S114.6 512 256 512c35.4 0 69.1-7.2 99.7-20.2c-4.8-5.5-8.5-12.2-10.4-19.7l-22.9-89.3c-10-39 11.8-80.9 51.8-92.1c37.2-10.4 73.8 10.1 87.5 44c12.7-1.6 25.1 .4 36.2 5zM296 332c0 6.9-3.1 13.2-7.3 18.3c-4.3 5.2-10.1 9.7-16.7 13.4c-2.7 1.5-5.7 3-8.7 4.3c3.1 1.3 6 2.7 8.7 4.3c6.6 3.7 12.5 8.2 16.7 13.4c4.3 5.1 7.3 11.4 7.3 18.3s-3.1 13.2-7.3 18.3c-4.3 5.2-10.1 9.7-16.7 13.4C258.7 443.1 241.4 448 224 448c-3.6 0-6.8-2.5-7.7-6s.6-7.2 3.8-9l0 0 0 0 0 0 0 0 .2-.1c.2-.1 .5-.3 .9-.5c.8-.5 2-1.2 3.4-2.1c2.8-1.9 6.5-4.5 10.2-7.6c3.7-3.1 7.2-6.6 9.6-10.1c2.5-3.5 3.5-6.4 3.5-8.6s-1-5-3.5-8.6c-2.5-3.5-5.9-6.9-9.6-10.1c-3.7-3.1-7.4-5.7-10.2-7.6c-1.4-.9-2.6-1.6-3.4-2.1l-.6-.4-.3-.2-.2-.1 0 0 0 0 0 0c-2.5-1.4-4.1-4.1-4.1-7s1.6-5.6 4.1-7l0 0 0 0 0 0 0 0 0 0 .2-.1c.2-.1 .5-.3 .9-.5c.8-.5 2-1.2 3.4-2.1c2.8-1.9 6.5-4.5 10.2-7.6c3.7-3.1 7.2-6.6 9.6-10.1c2.5-3.5 3.5-6.4 3.5-8.6s-1-5-3.5-8.6c-2.5-3.5-5.9-6.9-9.6-10.1c-3.7-3.1-7.4-5.7-10.2-7.6c-1.4-.9-2.6-1.6-3.4-2.1c-.4-.2-.7-.4-.9-.5l-.2-.1 0 0 0 0 0 0c-3.2-1.8-4.7-5.5-3.8-9s4.1-6 7.7-6c17.4 0 34.7 4.9 47.9 12.3c6.6 3.7 12.5 8.2 16.7 13.4c4.3 5.1 7.3 11.4 7.3 18.3zM176.4 240c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zm194.8-6.4c-17.6-23.5-52.8-23.5-70.4 0c-5.3 7.1-15.3 8.5-22.4 3.2s-8.5-15.3-3.2-22.4c30.4-40.5 91.2-40.5 121.6 0c5.3 7.1 3.9 17.1-3.2 22.4s-17.1 3.9-22.4-3.2zM434 352.3c-6-23.2-28.8-37-51.1-30.8s-35.4 30.1-29.5 53.4l22.9 89.3c2.2 8.7 11.2 13.9 19.8 11.4l84.9-23.8c22.2-6.2 35.4-30.1 29.5-53.4s-28.8-37-51.1-30.8l-20.2 5.6-5.4-21z"]
  112966. };
  112967. var faKissWinkHeart = faFaceKissWinkHeart;
  112968. var faFilter = {
  112969. prefix: 'fas',
  112970. iconName: 'filter',
  112971. icon: [512, 512, [], "f0b0", "M3.9 54.9C10.5 40.9 24.5 32 40 32H472c15.5 0 29.5 8.9 36.1 22.9s4.6 30.5-5.2 42.5L320 320.9V448c0 12.1-6.8 23.2-17.7 28.6s-23.8 4.3-33.5-3l-64-48c-8.1-6-12.8-15.5-12.8-25.6V320.9L9 97.3C-.7 85.4-2.8 68.8 3.9 54.9z"]
  112972. };
  112973. var faQuestion = {
  112974. prefix: 'fas',
  112975. iconName: 'question',
  112976. icon: [320, 512, [10067, 10068, 61736], "3f", "M96 96c-17.7 0-32 14.3-32 32s-14.3 32-32 32s-32-14.3-32-32C0 75 43 32 96 32h97c70.1 0 127 56.9 127 127c0 52.4-32.2 99.4-81 118.4l-63 24.5 0 18.1c0 17.7-14.3 32-32 32s-32-14.3-32-32V301.9c0-26.4 16.2-50.1 40.8-59.6l63-24.5C240 208.3 256 185 256 159c0-34.8-28.2-63-63-63H96zm48 384c-22.1 0-40-17.9-40-40s17.9-40 40-40s40 17.9 40 40s-17.9 40-40 40z"]
  112977. };
  112978. var faFileSignature = {
  112979. prefix: 'fas',
  112980. iconName: 'file-signature',
  112981. icon: [576, 512, [], "f573", "M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V428.7c-2.7 1.1-5.4 2-8.2 2.7l-60.1 15c-3 .7-6 1.2-9 1.4c-.9 .1-1.8 .2-2.7 .2H240c-6.1 0-11.6-3.4-14.3-8.8l-8.8-17.7c-1.7-3.4-5.1-5.5-8.8-5.5s-7.2 2.1-8.8 5.5l-8.8 17.7c-2.9 5.9-9.2 9.4-15.7 8.8s-12.1-5.1-13.9-11.3L144 381l-9.8 32.8c-6.1 20.3-24.8 34.2-46 34.2H80c-8.8 0-16-7.2-16-16s7.2-16 16-16h8.2c7.1 0 13.3-4.6 15.3-11.4l14.9-49.5c3.4-11.3 13.8-19.1 25.6-19.1s22.2 7.8 25.6 19.1l11.6 38.6c7.4-6.2 16.8-9.7 26.8-9.7c15.9 0 30.4 9 37.5 23.2l4.4 8.8h8.9c-3.1-8.8-3.7-18.4-1.4-27.8l15-60.1c2.8-11.3 8.6-21.5 16.8-29.7L384 203.6V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM549.8 139.7c-15.6-15.6-40.9-15.6-56.6 0l-29.4 29.4 71 71 29.4-29.4c15.6-15.6 15.6-40.9 0-56.6l-14.4-14.4zM311.9 321c-4.1 4.1-7 9.2-8.4 14.9l-15 60.1c-1.4 5.5 .2 11.2 4.2 15.2s9.7 5.6 15.2 4.2l60.1-15c5.6-1.4 10.8-4.3 14.9-8.4L512.1 262.7l-71-71L311.9 321z"]
  112982. };
  112983. var faUpDownLeftRight = {
  112984. prefix: 'fas',
  112985. iconName: 'up-down-left-right',
  112986. icon: [512, 512, ["arrows-alt"], "f0b2", "M278.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-64 64c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8h32v96H128V192c0-12.9-7.8-24.6-19.8-29.6s-25.7-2.2-34.9 6.9l-64 64c-12.5 12.5-12.5 32.8 0 45.3l64 64c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6V288h96v96H192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l64 64c12.5 12.5 32.8 12.5 45.3 0l64-64c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8H288V288h96v32c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l64-64c12.5-12.5 12.5-32.8 0-45.3l-64-64c-9.2-9.2-22.9-11.9-34.9-6.9s-19.8 16.6-19.8 29.6v32H288V128h32c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-64-64z"]
  112987. };
  112988. var faArrowsAlt = faUpDownLeftRight;
  112989. var faHouseChimneyUser = {
  112990. prefix: 'fas',
  112991. iconName: 'house-chimney-user',
  112992. icon: [576, 512, [], "e065", "M543.8 287.6c17 0 32-14 32-32.1c1-9-3-17-11-24L512 185V64c0-17.7-14.3-32-32-32H448c-17.7 0-32 14.3-32 32v36.7L309.5 7c-6-5-14-7-21-7s-15 1-22 8L10 231.5c-7 7-10 15-10 24c0 18 14 32.1 32 32.1h32V448c0 35.3 28.7 64 64 64H448.5c35.5 0 64.2-28.8 64-64.3l-.7-160.2h32zM288 288c-35.3 0-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64s-28.7 64-64 64zM176 400c0-44.2 35.8-80 80-80h64c44.2 0 80 35.8 80 80c0 8.8-7.2 16-16 16H192c-8.8 0-16-7.2-16-16z"]
  112993. };
  112994. var faHandHoldingHeart = {
  112995. prefix: 'fas',
  112996. iconName: 'hand-holding-heart',
  112997. icon: [576, 512, [], "f4be", "M148 76.6C148 34.3 182.3 0 224.6 0c20.3 0 39.8 8.1 54.1 22.4l9.3 9.3 9.3-9.3C311.6 8.1 331.1 0 351.4 0C393.7 0 428 34.3 428 76.6c0 20.3-8.1 39.8-22.4 54.1L302.1 234.1c-7.8 7.8-20.5 7.8-28.3 0L170.4 130.7C156.1 116.4 148 96.9 148 76.6zM568.2 336.3c13.1 17.8 9.3 42.8-8.5 55.9L433.1 485.5c-23.4 17.2-51.6 26.5-80.7 26.5H192 32c-17.7 0-32-14.3-32-32V416c0-17.7 14.3-32 32-32H68.8l44.9-36c22.7-18.2 50.9-28 80-28H272h16 64c17.7 0 32 14.3 32 32s-14.3 32-32 32H288 272c-8.8 0-16 7.2-16 16s7.2 16 16 16H392.6l119.7-88.2c17.8-13.1 42.8-9.3 55.9 8.5zM193.6 384l0 0-.9 0c.3 0 .6 0 .9 0z"]
  112998. };
  112999. var faPuzzlePiece = {
  113000. prefix: 'fas',
  113001. iconName: 'puzzle-piece',
  113002. icon: [512, 512, [129513], "f12e", "M192 104.8c0-9.2-5.8-17.3-13.2-22.8C167.2 73.3 160 61.3 160 48c0-26.5 28.7-48 64-48s64 21.5 64 48c0 13.3-7.2 25.3-18.8 34c-7.4 5.5-13.2 13.6-13.2 22.8c0 12.8 10.4 23.2 23.2 23.2H336c26.5 0 48 21.5 48 48v56.8c0 12.8 10.4 23.2 23.2 23.2c9.2 0 17.3-5.8 22.8-13.2c8.7-11.6 20.7-18.8 34-18.8c26.5 0 48 28.7 48 64s-21.5 64-48 64c-13.3 0-25.3-7.2-34-18.8c-5.5-7.4-13.6-13.2-22.8-13.2c-12.8 0-23.2 10.4-23.2 23.2V464c0 26.5-21.5 48-48 48H279.2c-12.8 0-23.2-10.4-23.2-23.2c0-9.2 5.8-17.3 13.2-22.8c11.6-8.7 18.8-20.7 18.8-34c0-26.5-28.7-48-64-48s-64 21.5-64 48c0 13.3 7.2 25.3 18.8 34c7.4 5.5 13.2 13.6 13.2 22.8c0 12.8-10.4 23.2-23.2 23.2H48c-26.5 0-48-21.5-48-48V343.2C0 330.4 10.4 320 23.2 320c9.2 0 17.3 5.8 22.8 13.2C54.7 344.8 66.7 352 80 352c26.5 0 48-28.7 48-64s-21.5-64-48-64c-13.3 0-25.3 7.2-34 18.8C40.5 250.2 32.4 256 23.2 256C10.4 256 0 245.6 0 232.8V176c0-26.5 21.5-48 48-48H168.8c12.8 0 23.2-10.4 23.2-23.2z"]
  113003. };
  113004. var faMoneyCheck = {
  113005. prefix: 'fas',
  113006. iconName: 'money-check',
  113007. icon: [576, 512, [], "f53c", "M64 64C28.7 64 0 92.7 0 128V384c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64H64zm48 160H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zM96 336c0-8.8 7.2-16 16-16H464c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16zM376 160h80c13.3 0 24 10.7 24 24v48c0 13.3-10.7 24-24 24H376c-13.3 0-24-10.7-24-24V184c0-13.3 10.7-24 24-24z"]
  113008. };
  113009. var faStarHalfStroke = {
  113010. prefix: 'fas',
  113011. iconName: 'star-half-stroke',
  113012. icon: [576, 512, ["star-half-alt"], "f5c0", "M288 376.4l.1-.1 26.4 14.1 85.2 45.5-16.5-97.6-4.8-28.7 20.7-20.5 70.1-69.3-96.1-14.2-29.3-4.3-12.9-26.6L288.1 86.9l-.1 .3V376.4zm175.1 98.3c2 12-3 24.2-12.9 31.3s-23 8-33.8 2.3L288.1 439.8 159.8 508.3C149 514 135.9 513.1 126 506s-14.9-19.3-12.9-31.3L137.8 329 33.6 225.9c-8.6-8.5-11.7-21.2-7.9-32.7s13.7-19.9 25.7-21.7L195 150.3 259.4 18c5.4-11 16.5-18 28.8-18s23.4 7 28.8 18l64.3 132.3 143.6 21.2c12 1.8 22 10.2 25.7 21.7s.7 24.2-7.9 32.7L438.5 329l24.6 145.7z"]
  113013. };
  113014. var faStarHalfAlt = faStarHalfStroke;
  113015. var faCode = {
  113016. prefix: 'fas',
  113017. iconName: 'code',
  113018. icon: [640, 512, [], "f121", "M392.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm80.6 120.1c-12.5 12.5-12.5 32.8 0 45.3L562.7 256l-89.4 89.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l112-112c12.5-12.5 12.5-32.8 0-45.3l-112-112c-12.5-12.5-32.8-12.5-45.3 0zm-306.7 0c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3l112 112c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256l89.4-89.4c12.5-12.5 12.5-32.8 0-45.3z"]
  113019. };
  113020. var faWhiskeyGlass = {
  113021. prefix: 'fas',
  113022. iconName: 'whiskey-glass',
  113023. icon: [512, 512, [129347, "glass-whiskey"], "f7a0", "M32 32c-9.3 0-18.1 4-24.2 11.1S-1 59.4 .3 68.6l50 342.9c5.7 39.3 39.4 68.5 79.2 68.5h253c39.7 0 73.4-29.1 79.2-68.5l50-342.9c1.3-9.2-1.4-18.5-7.5-25.5S489.3 32 480 32H32zM87.7 224L69 96H443L424.3 224H87.7z"]
  113024. };
  113025. var faGlassWhiskey = faWhiskeyGlass;
  113026. var faBuildingCircleExclamation = {
  113027. prefix: 'fas',
  113028. iconName: 'building-circle-exclamation',
  113029. icon: [640, 512, [], "e4d3", "M48 0C21.5 0 0 21.5 0 48V464c0 26.5 21.5 48 48 48h96V432c0-26.5 21.5-48 48-48s48 21.5 48 48v80h96c15.1 0 28.5-6.9 37.3-17.8C340.4 462.2 320 417.5 320 368c0-54.7 24.9-103.5 64-135.8V48c0-26.5-21.5-48-48-48H48zM64 240c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V240zm112-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V240c0-8.8 7.2-16 16-16zm80 16c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H272c-8.8 0-16-7.2-16-16V240zM80 96h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16zm80 16c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V112zM272 96h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H272c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16zM496 512c79.5 0 144-64.5 144-144s-64.5-144-144-144s-144 64.5-144 144s64.5 144 144 144zm0-48c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm0-192c8.8 0 16 7.2 16 16v80c0 8.8-7.2 16-16 16s-16-7.2-16-16V288c0-8.8 7.2-16 16-16z"]
  113030. };
  113031. var faMagnifyingGlassChart = {
  113032. prefix: 'fas',
  113033. iconName: 'magnifying-glass-chart',
  113034. icon: [512, 512, [], "e522", "M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zm-312 8v64c0 13.3 10.7 24 24 24s24-10.7 24-24l0-64c0-13.3-10.7-24-24-24s-24 10.7-24 24zm80-96V280c0 13.3 10.7 24 24 24s24-10.7 24-24V120c0-13.3-10.7-24-24-24s-24 10.7-24 24zm80 64v96c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24s-24 10.7-24 24z"]
  113035. };
  113036. var faArrowUpRightFromSquare = {
  113037. prefix: 'fas',
  113038. iconName: 'arrow-up-right-from-square',
  113039. icon: [448, 512, ["external-link"], "f08e", "M288 32c-17.7 0-32 14.3-32 32s14.3 32 32 32h50.7L169.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L384 141.3V192c0 17.7 14.3 32 32 32s32-14.3 32-32V64c0-17.7-14.3-32-32-32H288zM80 64C35.8 64 0 99.8 0 144V400c0 44.2 35.8 80 80 80H336c44.2 0 80-35.8 80-80V320c0-17.7-14.3-32-32-32s-32 14.3-32 32v80c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V144c0-8.8 7.2-16 16-16h80c17.7 0 32-14.3 32-32s-14.3-32-32-32H80z"]
  113040. };
  113041. var faExternalLink = faArrowUpRightFromSquare;
  113042. var faCubesStacked = {
  113043. prefix: 'fas',
  113044. iconName: 'cubes-stacked',
  113045. icon: [448, 512, [], "e4e6", "M192 64v64c0 17.7 14.3 32 32 32h64c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32H224c-17.7 0-32 14.3-32 32zM82.7 207c-15.3 8.8-20.5 28.4-11.7 43.7l32 55.4c8.8 15.3 28.4 20.5 43.7 11.7l55.4-32c15.3-8.8 20.5-28.4 11.7-43.7l-32-55.4c-8.8-15.3-28.4-20.5-43.7-11.7L82.7 207zM288 192c-17.7 0-32 14.3-32 32v64c0 17.7 14.3 32 32 32h64c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32H288zm64 160c-17.7 0-32 14.3-32 32v64c0 17.7 14.3 32 32 32h64c17.7 0 32-14.3 32-32V384c0-17.7-14.3-32-32-32H352zM160 384v64c0 17.7 14.3 32 32 32h64c17.7 0 32-14.3 32-32V384c0-17.7-14.3-32-32-32H192c-17.7 0-32 14.3-32 32zM32 352c-17.7 0-32 14.3-32 32v64c0 17.7 14.3 32 32 32H96c17.7 0 32-14.3 32-32V384c0-17.7-14.3-32-32-32H32z"]
  113046. };
  113047. var faWonSign = {
  113048. prefix: 'fas',
  113049. iconName: 'won-sign',
  113050. icon: [512, 512, [8361, "krw", "won"], "f159", "M62.4 53.9C56.8 37.1 38.6 28.1 21.9 33.6S-3.9 57.4 1.6 74.1L51.6 224H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H72.9l56.7 170.1c4.5 13.5 17.4 22.4 31.6 21.9s26.4-10.4 29.8-24.2L233 288h46L321 455.8c3.4 13.8 15.6 23.7 29.8 24.2s27.1-8.4 31.6-21.9L439.1 288H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H460.4l50-149.9c5.6-16.8-3.5-34.9-20.2-40.5s-34.9 3.5-40.5 20.2L392.9 224H329L287 56.2C283.5 42 270.7 32 256 32s-27.5 10-31 24.2L183 224h-64L62.4 53.9zm78 234.1H167l-11.4 45.6L140.4 288zM249 224l7-28.1 7 28.1H249zm96 64h26.6l-15.2 45.6L345 288z"]
  113051. };
  113052. var faKrw = faWonSign;
  113053. var faWon = faWonSign;
  113054. var faVirusCovid = {
  113055. prefix: 'fas',
  113056. iconName: 'virus-covid',
  113057. icon: [512, 512, [], "e4a8", "M192 24c0-13.3 10.7-24 24-24h80c13.3 0 24 10.7 24 24s-10.7 24-24 24H280V81.6c30.7 4.2 58.8 16.3 82.3 34.1L386.1 92 374.8 80.6c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l56.6 56.6c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0L420 125.9l-23.8 23.8c17.9 23.5 29.9 51.7 34.1 82.3H464V216c0-13.3 10.7-24 24-24s24 10.7 24 24v80c0 13.3-10.7 24-24 24s-24-10.7-24-24V280H430.4c-4.2 30.7-16.3 58.8-34.1 82.3L420 386.1l11.3-11.3c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-56.6 56.6c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9L386.1 420l-23.8-23.8c-23.5 17.9-51.7 29.9-82.3 34.1V464h16c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h16V430.4c-30.7-4.2-58.8-16.3-82.3-34.1L125.9 420l11.3 11.3c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0L46.7 408.7c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L92 386.1l23.8-23.8C97.9 338.8 85.8 310.7 81.6 280H48v16c0 13.3-10.7 24-24 24s-24-10.7-24-24V216c0-13.3 10.7-24 24-24s24 10.7 24 24v16H81.6c4.2-30.7 16.3-58.8 34.1-82.3L92 125.9 80.6 137.2c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l56.6-56.6c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9L125.9 92l23.8 23.8c23.5-17.9 51.7-29.9 82.3-34.1V48H216c-13.3 0-24-10.7-24-24zm48 200c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zm64 104c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24z"]
  113058. };
  113059. var faAustralSign = {
  113060. prefix: 'fas',
  113061. iconName: 'austral-sign',
  113062. icon: [448, 512, [], "e0a9", "M253.5 51.7C248.6 39.8 236.9 32 224 32s-24.6 7.8-29.5 19.7L122.7 224H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H96L82.7 320H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H56L34.5 435.7c-6.8 16.3 .9 35 17.2 41.8s35-.9 41.8-17.2L125.3 384H322.7l31.8 76.3c6.8 16.3 25.5 24 41.8 17.2s24-25.5 17.2-41.8L392 384h24c17.7 0 32-14.3 32-32s-14.3-32-32-32H365.3L352 288h64c17.7 0 32-14.3 32-32s-14.3-32-32-32H325.3L253.5 51.7zM256 224H192l32-76.8L256 224zm-90.7 64H282.7L296 320H152l13.3-32z"]
  113063. };
  113064. var faF = {
  113065. prefix: 'fas',
  113066. iconName: 'f',
  113067. icon: [320, 512, [102], "46", "M32 32C14.3 32 0 46.3 0 64V256 448c0 17.7 14.3 32 32 32s32-14.3 32-32V288H224c17.7 0 32-14.3 32-32s-14.3-32-32-32H64V96H288c17.7 0 32-14.3 32-32s-14.3-32-32-32H32z"]
  113068. };
  113069. var faLeaf = {
  113070. prefix: 'fas',
  113071. iconName: 'leaf',
  113072. icon: [512, 512, [], "f06c", "M272 96c-78.6 0-145.1 51.5-167.7 122.5c33.6-17 71.5-26.5 111.7-26.5h88c8.8 0 16 7.2 16 16s-7.2 16-16 16H288 216s0 0 0 0c-16.6 0-32.7 1.9-48.3 5.4c-25.9 5.9-49.9 16.4-71.4 30.7c0 0 0 0 0 0C38.3 298.8 0 364.9 0 440v16c0 13.3 10.7 24 24 24s24-10.7 24-24V440c0-48.7 20.7-92.5 53.8-123.2C121.6 392.3 190.3 448 272 448l1 0c132.1-.7 239-130.9 239-291.4c0-42.6-7.5-83.1-21.1-119.6c-2.6-6.9-12.7-6.6-16.2-.1C455.9 72.1 418.7 96 376 96L272 96z"]
  113073. };
  113074. var faRoad = {
  113075. prefix: 'fas',
  113076. iconName: 'road',
  113077. icon: [576, 512, [128739], "f018", "M256 32H181.2c-27.1 0-51.3 17.1-60.3 42.6L3.1 407.2C1.1 413 0 419.2 0 425.4C0 455.5 24.5 480 54.6 480H256V416c0-17.7 14.3-32 32-32s32 14.3 32 32v64H521.4c30.2 0 54.6-24.5 54.6-54.6c0-6.2-1.1-12.4-3.1-18.2L455.1 74.6C446 49.1 421.9 32 394.8 32H320V96c0 17.7-14.3 32-32 32s-32-14.3-32-32V32zm64 192v64c0 17.7-14.3 32-32 32s-32-14.3-32-32V224c0-17.7 14.3-32 32-32s32 14.3 32 32z"]
  113078. };
  113079. var faTaxi = {
  113080. prefix: 'fas',
  113081. iconName: 'taxi',
  113082. icon: [512, 512, [128662, "cab"], "f1ba", "M192 0c-17.7 0-32 14.3-32 32V64c0 .1 0 .1 0 .2c-38.6 2.2-72.3 27.3-85.2 64.1L39.6 228.8C16.4 238.4 0 261.3 0 288V432v48c0 17.7 14.3 32 32 32H64c17.7 0 32-14.3 32-32V432H416v48c0 17.7 14.3 32 32 32h32c17.7 0 32-14.3 32-32V432 288c0-26.7-16.4-49.6-39.6-59.2L437.2 128.3c-12.9-36.8-46.6-62-85.2-64.1c0-.1 0-.1 0-.2V32c0-17.7-14.3-32-32-32H192zM165.4 128H346.6c13.6 0 25.7 8.6 30.2 21.4L402.9 224H109.1l26.1-74.6c4.5-12.8 16.6-21.4 30.2-21.4zM96 352c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zm352-32c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32z"]
  113083. };
  113084. var faCab = faTaxi;
  113085. var faPersonCirclePlus = {
  113086. prefix: 'fas',
  113087. iconName: 'person-circle-plus',
  113088. icon: [576, 512, [], "e541", "M208 48c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zM152 352V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V256.9L59.4 304.5c-9.1 15.1-28.8 20-43.9 10.9s-20-28.8-10.9-43.9l58.3-97c17.4-28.9 48.6-46.6 82.3-46.6h29.7c33.7 0 64.9 17.7 82.3 46.6l44.9 74.7c-16.1 17.6-28.6 38.5-36.6 61.5c-1.9-1.8-3.5-3.9-4.9-6.3L232 256.9V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V352H152zM432 512c-79.5 0-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144zm16-208c0-8.8-7.2-16-16-16s-16 7.2-16 16v48H368c-8.8 0-16 7.2-16 16s7.2 16 16 16h48v48c0 8.8 7.2 16 16 16s16-7.2 16-16V384h48c8.8 0 16-7.2 16-16s-7.2-16-16-16H448V304z"]
  113089. };
  113090. var faChartPie = {
  113091. prefix: 'fas',
  113092. iconName: 'chart-pie',
  113093. icon: [576, 512, ["pie-chart"], "f200", "M304 240V16.6c0-9 7-16.6 16-16.6C443.7 0 544 100.3 544 224c0 9-7.6 16-16.6 16H304zM32 272C32 150.7 122.1 50.3 239 34.3c9.2-1.3 17 6.1 17 15.4V288L412.5 444.5c6.7 6.7 6.2 17.7-1.5 23.1C371.8 495.6 323.8 512 272 512C139.5 512 32 404.6 32 272zm526.4 16c9.3 0 16.6 7.8 15.4 17c-7.7 55.9-34.6 105.6-73.9 142.3c-6 5.6-15.4 5.2-21.2-.7L320 288H558.4z"]
  113094. };
  113095. var faPieChart = faChartPie;
  113096. var faBoltLightning = {
  113097. prefix: 'fas',
  113098. iconName: 'bolt-lightning',
  113099. icon: [384, 512, [], "e0b7", "M0 256L28.5 28c2-16 15.6-28 31.8-28H228.9c15 0 27.1 12.1 27.1 27.1c0 3.2-.6 6.5-1.7 9.5L208 160H347.3c20.2 0 36.7 16.4 36.7 36.7c0 7.4-2.2 14.6-6.4 20.7l-192.2 281c-5.9 8.6-15.6 13.7-25.9 13.7h-2.9c-15.7 0-28.5-12.8-28.5-28.5c0-2.3 .3-4.6 .9-6.9L176 288H32c-17.7 0-32-14.3-32-32z"]
  113100. };
  113101. var faSackXmark = {
  113102. prefix: 'fas',
  113103. iconName: 'sack-xmark',
  113104. icon: [512, 512, [], "e56a", "M192 96H320l47.4-71.1C374.5 14.2 366.9 0 354.1 0H157.9c-12.8 0-20.4 14.2-13.3 24.9L192 96zm128 32H192c-3.8 2.5-8.1 5.3-13 8.4l0 0 0 0C122.3 172.7 0 250.9 0 416c0 53 43 96 96 96H416c53 0 96-43 96-96c0-165.1-122.3-243.3-179-279.6c-4.8-3.1-9.2-5.9-13-8.4zM289.9 336l47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47z"]
  113105. };
  113106. var faFileExcel = {
  113107. prefix: 'fas',
  113108. iconName: 'file-excel',
  113109. icon: [384, 512, [], "f1c3", "M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM155.7 250.2L192 302.1l36.3-51.9c7.6-10.9 22.6-13.5 33.4-5.9s13.5 22.6 5.9 33.4L221.3 344l46.4 66.2c7.6 10.9 5 25.8-5.9 33.4s-25.8 5-33.4-5.9L192 385.8l-36.3 51.9c-7.6 10.9-22.6 13.5-33.4 5.9s-13.5-22.6-5.9-33.4L162.7 344l-46.4-66.2c-7.6-10.9-5-25.8 5.9-33.4s25.8-5 33.4 5.9z"]
  113110. };
  113111. var faFileContract = {
  113112. prefix: 'fas',
  113113. iconName: 'file-contract',
  113114. icon: [384, 512, [], "f56c", "M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM80 64h64c8.8 0 16 7.2 16 16s-7.2 16-16 16H80c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64h64c8.8 0 16 7.2 16 16s-7.2 16-16 16H80c-8.8 0-16-7.2-16-16s7.2-16 16-16zm54.2 253.8c-6.1 20.3-24.8 34.2-46 34.2H80c-8.8 0-16-7.2-16-16s7.2-16 16-16h8.2c7.1 0 13.3-4.6 15.3-11.4l14.9-49.5c3.4-11.3 13.8-19.1 25.6-19.1s22.2 7.7 25.6 19.1l11.6 38.6c7.4-6.2 16.8-9.7 26.8-9.7c15.9 0 30.4 9 37.5 23.2l4.4 8.8H304c8.8 0 16 7.2 16 16s-7.2 16-16 16H240c-6.1 0-11.6-3.4-14.3-8.8l-8.8-17.7c-1.7-3.4-5.1-5.5-8.8-5.5s-7.2 2.1-8.8 5.5l-8.8 17.7c-2.9 5.9-9.2 9.4-15.7 8.8s-12.1-5.1-13.9-11.3L144 349l-9.8 32.8z"]
  113115. };
  113116. var faFishFins = {
  113117. prefix: 'fas',
  113118. iconName: 'fish-fins',
  113119. icon: [576, 512, [], "e4f2", "M275.2 38.4c-10.6-8-25-8.5-36.3-1.5S222 57.3 224.6 70.3l9.7 48.6c-19.4 9-36.9 19.9-52.4 31.5c-15.3 11.5-29 23.9-40.7 36.3L48.1 132.4c-12.5-7.3-28.4-5.3-38.7 4.9S-3 163.3 4.2 175.9L50 256 4.2 336.1c-7.2 12.6-5 28.4 5.3 38.6s26.1 12.2 38.7 4.9l93.1-54.3c11.8 12.3 25.4 24.8 40.7 36.3c15.5 11.6 33 22.5 52.4 31.5l-9.7 48.6c-2.6 13 3.1 26.3 14.3 33.3s25.6 6.5 36.3-1.5l77.6-58.2c54.9-4 101.5-27 137.2-53.8c39.2-29.4 67.2-64.7 81.6-89.5c5.8-9.9 5.8-22.2 0-32.1c-14.4-24.8-42.5-60.1-81.6-89.5c-35.8-26.8-82.3-49.8-137.2-53.8L275.2 38.4zM448 256c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32z"]
  113120. };
  113121. var faBuildingFlag = {
  113122. prefix: 'fas',
  113123. iconName: 'building-flag',
  113124. icon: [640, 512, [], "e4d5", "M48 0C21.5 0 0 21.5 0 48V464c0 26.5 21.5 48 48 48h96V432c0-26.5 21.5-48 48-48s48 21.5 48 48v80h96c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48H48zM64 240c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V240zm112-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V240c0-8.8 7.2-16 16-16zm80 16c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H272c-8.8 0-16-7.2-16-16V240zM80 96h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16zm80 16c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V112zM272 96h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H272c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16zM448 0c-17.7 0-32 14.3-32 32V512h64V192H624c8.8 0 16-7.2 16-16V48c0-8.8-7.2-16-16-16H480c0-17.7-14.3-32-32-32z"]
  113125. };
  113126. var faFaceGrinBeam = {
  113127. prefix: 'fas',
  113128. iconName: 'face-grin-beam',
  113129. icon: [512, 512, [128516, "grin-beam"], "f582", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM383.8 317.8c12.3-3.7 24.3 7 19.2 18.7c-24.5 56.9-81.1 96.7-147 96.7s-122.5-39.8-147-96.7c-5.1-11.8 6.9-22.4 19.2-18.7C166.7 329.4 210.1 336 256 336s89.3-6.6 127.8-18.2zm-166.2-89l0 0 0 0-.2-.2c-.2-.2-.4-.5-.7-.9c-.6-.8-1.6-2-2.8-3.4c-2.5-2.8-6-6.6-10.2-10.3c-8.8-7.8-18.8-14-27.7-14s-18.9 6.2-27.7 14c-4.2 3.7-7.7 7.5-10.2 10.3c-1.2 1.4-2.2 2.6-2.8 3.4c-.3 .4-.6 .7-.7 .9l-.2 .2 0 0 0 0 0 0c-2.1 2.8-5.7 3.9-8.9 2.8s-5.5-4.1-5.5-7.6c0-17.9 6.7-35.6 16.6-48.8c9.8-13 23.9-23.2 39.4-23.2s29.6 10.2 39.4 23.2c9.9 13.2 16.6 30.9 16.6 48.8c0 3.4-2.2 6.5-5.5 7.6s-6.9 0-8.9-2.8l0 0 0 0zm160 0l0 0-.2-.2c-.2-.2-.4-.5-.7-.9c-.6-.8-1.6-2-2.8-3.4c-2.5-2.8-6-6.6-10.2-10.3c-8.8-7.8-18.8-14-27.7-14s-18.9 6.2-27.7 14c-4.2 3.7-7.7 7.5-10.2 10.3c-1.2 1.4-2.2 2.6-2.8 3.4c-.3 .4-.6 .7-.7 .9l-.2 .2 0 0 0 0 0 0c-2.1 2.8-5.7 3.9-8.9 2.8s-5.5-4.1-5.5-7.6c0-17.9 6.7-35.6 16.6-48.8c9.8-13 23.9-23.2 39.4-23.2s29.6 10.2 39.4 23.2c9.9 13.2 16.6 30.9 16.6 48.8c0 3.4-2.2 6.5-5.5 7.6s-6.9 0-8.9-2.8l0 0 0 0 0 0z"]
  113130. };
  113131. var faGrinBeam = faFaceGrinBeam;
  113132. var faObjectUngroup = {
  113133. prefix: 'fas',
  113134. iconName: 'object-ungroup',
  113135. icon: [640, 512, [], "f248", "M32 119.4C12.9 108.4 0 87.7 0 64C0 28.7 28.7 0 64 0c23.7 0 44.4 12.9 55.4 32H328.6C339.6 12.9 360.3 0 384 0c35.3 0 64 28.7 64 64c0 23.7-12.9 44.4-32 55.4V232.6c19.1 11.1 32 31.7 32 55.4c0 35.3-28.7 64-64 64c-23.7 0-44.4-12.9-55.4-32H119.4c-11.1 19.1-31.7 32-55.4 32c-35.3 0-64-28.7-64-64c0-23.7 12.9-44.4 32-55.4V119.4zM119.4 96c-5.6 9.7-13.7 17.8-23.4 23.4V232.6c9.7 5.6 17.8 13.7 23.4 23.4H328.6c5.6-9.7 13.7-17.8 23.4-23.4V119.4c-9.7-5.6-17.8-13.7-23.4-23.4H119.4zm192 384c-11.1 19.1-31.7 32-55.4 32c-35.3 0-64-28.7-64-64c0-23.7 12.9-44.4 32-55.4V352h64v40.6c9.7 5.6 17.8 13.7 23.4 23.4H520.6c5.6-9.7 13.7-17.8 23.4-23.4V279.4c-9.7-5.6-17.8-13.7-23.4-23.4h-46c-5.4-15.4-14.6-28.9-26.5-39.6V192h72.6c11.1-19.1 31.7-32 55.4-32c35.3 0 64 28.7 64 64c0 23.7-12.9 44.4-32 55.4V392.6c19.1 11.1 32 31.7 32 55.4c0 35.3-28.7 64-64 64c-23.7 0-44.4-12.9-55.4-32H311.4z"]
  113136. };
  113137. var faPoop = {
  113138. prefix: 'fas',
  113139. iconName: 'poop',
  113140. icon: [512, 512, [], "f619", "M254.4 6.6c3.5-4.3 9-6.5 14.5-5.7C315.8 7.2 352 47.4 352 96c0 11.2-1.9 22-5.5 32H352c35.3 0 64 28.7 64 64c0 19.1-8.4 36.3-21.7 48H408c39.8 0 72 32.2 72 72c0 23.2-11 43.8-28 57c34.1 5.7 60 35.3 60 71c0 39.8-32.2 72-72 72H72c-39.8 0-72-32.2-72-72c0-35.7 25.9-65.3 60-71c-17-13.2-28-33.8-28-57c0-39.8 32.2-72 72-72h13.7C104.4 228.3 96 211.1 96 192c0-35.3 28.7-64 64-64h16.2c44.1-.1 79.8-35.9 79.8-80c0-9.2-1.5-17.9-4.3-26.1c-1.8-5.2-.8-11.1 2.8-15.4z"]
  113141. };
  113142. var faLocationPin = {
  113143. prefix: 'fas',
  113144. iconName: 'location-pin',
  113145. icon: [384, 512, ["map-marker"], "f041", "M384 192c0 87.4-117 243-168.3 307.2c-12.3 15.3-35.1 15.3-47.4 0C117 435 0 279.4 0 192C0 86 86 0 192 0S384 86 384 192z"]
  113146. };
  113147. var faMapMarker = faLocationPin;
  113148. var faKaaba = {
  113149. prefix: 'fas',
  113150. iconName: 'kaaba',
  113151. icon: [576, 512, [128331], "f66b", "M60 120l228 71.2L516 120 288 48.8 60 120zM278.5 1.5c6.2-1.9 12.9-1.9 19.1 0l256 80C566.9 85.6 576 98 576 112v16 0 21.2L292.8 237.7c-3.1 1-6.4 1-9.5 0L0 149.2V128 112C0 98 9.1 85.6 22.5 81.5l256-80zm23.9 266.8L576 182.8v46.5l-52.8 16.5c-8.4 2.6-13.1 11.6-10.5 20s11.6 13.1 20 10.5L576 262.8V400c0 14-9.1 26.4-22.5 30.5l-256 80c-6.2 1.9-12.9 1.9-19.1 0l-256-80C9.1 426.4 0 414 0 400V262.8l43.2 13.5c8.4 2.6 17.4-2.1 20-10.5s-2.1-17.4-10.5-20L0 229.2V182.8l273.7 85.5c9.3 2.9 19.3 2.9 28.6 0zm-185.5-2.6c-8.4-2.6-17.4 2.1-20 10.5s2.1 17.4 10.5 20l64 20c8.4 2.6 17.4-2.1 20-10.5s-2.1-17.4-10.5-20l-64-20zm352 30.5c8.4-2.6 13.1-11.6 10.5-20s-11.6-13.1-20-10.5l-64 20c-8.4 2.6-13.1 11.6-10.5 20s11.6 13.1 20 10.5l64-20zm-224 9.5c-8.4-2.6-17.4 2.1-20 10.5s2.1 17.4 10.5 20l38.5 12c9.3 2.9 19.3 2.9 28.6 0l38.5-12c8.4-2.6 13.1-11.6 10.5-20s-11.6-13.1-20-10.5l-38.5 12c-3.1 1-6.4 1-9.5 0l-38.5-12z"]
  113152. };
  113153. var faToiletPaper = {
  113154. prefix: 'fas',
  113155. iconName: 'toilet-paper',
  113156. icon: [640, 512, [129531], "f71e", "M444.2 0C397.2 49.6 384 126.5 384 192c0 158.8-27.3 247-42.7 283.9c-10 24-33.2 36.1-55.4 36.1H48c-11.5 0-22.2-6.2-27.8-16.2s-5.6-22.3 .4-32.2c9.8-17.7 15.4-38.2 20.5-57.7C52.3 362.8 64 293.5 64 192C64 86 107 0 160 0H444.2zM512 384c-53 0-96-86-96-192S459 0 512 0s96 86 96 192s-43 192-96 192zm0-128c17.7 0 32-28.7 32-64s-14.3-64-32-64s-32 28.7-32 64s14.3 64 32 64zM144 208c0-8.8-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16s16-7.2 16-16zm64 0c0-8.8-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16s16-7.2 16-16zm48 16c8.8 0 16-7.2 16-16s-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16zm80-16c0-8.8-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16s16-7.2 16-16z"]
  113157. };
  113158. var faHelmetSafety = {
  113159. prefix: 'fas',
  113160. iconName: 'helmet-safety',
  113161. icon: [576, 512, ["hard-hat", "hat-hard"], "f807", "M256 32c-17.7 0-32 14.3-32 32v2.3 99.6c0 5.6-4.5 10.1-10.1 10.1c-3.6 0-7-1.9-8.8-5.1L157.1 87C83 123.5 32 199.8 32 288v64H544l0-66.4c-.9-87.2-51.7-162.4-125.1-198.6l-48 83.9c-1.8 3.2-5.2 5.1-8.8 5.1c-5.6 0-10.1-4.5-10.1-10.1V66.3 64c0-17.7-14.3-32-32-32H256zM16.6 384C7.4 384 0 391.4 0 400.6c0 4.7 2 9.2 5.8 11.9C27.5 428.4 111.8 480 288 480s260.5-51.6 282.2-67.5c3.8-2.8 5.8-7.2 5.8-11.9c0-9.2-7.4-16.6-16.6-16.6H16.6z"]
  113162. };
  113163. var faHardHat = faHelmetSafety;
  113164. var faHatHard = faHelmetSafety;
  113165. var faEject = {
  113166. prefix: 'fas',
  113167. iconName: 'eject',
  113168. icon: [448, 512, [9167], "f052", "M224 32c13.5 0 26.3 5.6 35.4 15.6l176 192c12.9 14 16.2 34.3 8.6 51.8S419 320 400 320H48c-19 0-36.3-11.2-43.9-28.7s-4.3-37.7 8.6-51.8l176-192C197.7 37.6 210.5 32 224 32zM0 432c0-26.5 21.5-48 48-48H400c26.5 0 48 21.5 48 48s-21.5 48-48 48H48c-26.5 0-48-21.5-48-48z"]
  113169. };
  113170. var faCircleRight = {
  113171. prefix: 'fas',
  113172. iconName: 'circle-right',
  113173. icon: [512, 512, [61838, "arrow-alt-circle-right"], "f35a", "M0 256C0 397.4 114.6 512 256 512s256-114.6 256-256S397.4 0 256 0S0 114.6 0 256zm395.3 11.3l-112 112c-4.6 4.6-11.5 5.9-17.4 3.5s-9.9-8.3-9.9-14.8l0-64-96 0c-17.7 0-32-14.3-32-32l0-32c0-17.7 14.3-32 32-32l96 0 0-64c0-6.5 3.9-12.3 9.9-14.8s12.9-1.1 17.4 3.5l112 112c6.2 6.2 6.2 16.4 0 22.6z"]
  113174. };
  113175. var faArrowAltCircleRight = faCircleRight;
  113176. var faPlaneCircleCheck = {
  113177. prefix: 'fas',
  113178. iconName: 'plane-circle-check',
  113179. icon: [640, 512, [], "e555", "M256 0c-35 0-64 59.5-64 93.7v84.6L8.1 283.4c-5 2.8-8.1 8.2-8.1 13.9v65.5c0 10.6 10.2 18.3 20.4 15.4l171.6-49 0 70.9-57.6 43.2c-4 3-6.4 7.8-6.4 12.8v42c0 7.8 6.3 14 14 14c1.3 0 2.6-.2 3.9-.5L256 480l110.1 31.5c1.3 .4 2.6 .5 3.9 .5c6 0 11.1-3.7 13.1-9C344.5 470.7 320 422.2 320 368c0-60.6 30.6-114 77.1-145.6L320 178.3V93.7C320 59.5 292 0 256 0zM640 368c0-79.5-64.5-144-144-144s-144 64.5-144 144s64.5 144 144 144s144-64.5 144-144zm-76.7-43.3c6.2 6.2 6.2 16.4 0 22.6l-72 72c-6.2 6.2-16.4 6.2-22.6 0l-40-40c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L480 385.4l60.7-60.7c6.2-6.2 16.4-6.2 22.6 0z"]
  113180. };
  113181. var faFaceRollingEyes = {
  113182. prefix: 'fas',
  113183. iconName: 'face-rolling-eyes',
  113184. icon: [512, 512, [128580, "meh-rolling-eyes"], "f5a5", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM192 368H320c8.8 0 16 7.2 16 16s-7.2 16-16 16H192c-8.8 0-16-7.2-16-16s7.2-16 16-16zm32-144c0 35.3-28.7 64-64 64s-64-28.7-64-64c0-26 15.5-48.4 37.8-58.4c-3.7 5.2-5.8 11.6-5.8 18.4c0 17.7 14.3 32 32 32s32-14.3 32-32c0-6.9-2.2-13.2-5.8-18.4C208.5 175.6 224 198 224 224zm128 64c-35.3 0-64-28.7-64-64c0-26 15.5-48.4 37.8-58.4c-3.7 5.2-5.8 11.6-5.8 18.4c0 17.7 14.3 32 32 32s32-14.3 32-32c0-6.9-2.2-13.2-5.8-18.4C400.5 175.6 416 198 416 224c0 35.3-28.7 64-64 64z"]
  113185. };
  113186. var faMehRollingEyes = faFaceRollingEyes;
  113187. var faObjectGroup = {
  113188. prefix: 'fas',
  113189. iconName: 'object-group',
  113190. icon: [576, 512, [], "f247", "M32 119.4C12.9 108.4 0 87.7 0 64C0 28.7 28.7 0 64 0c23.7 0 44.4 12.9 55.4 32H456.6C467.6 12.9 488.3 0 512 0c35.3 0 64 28.7 64 64c0 23.7-12.9 44.4-32 55.4V392.6c19.1 11.1 32 31.7 32 55.4c0 35.3-28.7 64-64 64c-23.7 0-44.4-12.9-55.4-32H119.4c-11.1 19.1-31.7 32-55.4 32c-35.3 0-64-28.7-64-64c0-23.7 12.9-44.4 32-55.4V119.4zM456.6 96H119.4c-5.6 9.7-13.7 17.8-23.4 23.4V392.6c9.7 5.6 17.8 13.7 23.4 23.4H456.6c5.6-9.7 13.7-17.8 23.4-23.4V119.4c-9.7-5.6-17.8-13.7-23.4-23.4zM128 160c0-17.7 14.3-32 32-32H288c17.7 0 32 14.3 32 32v96c0 17.7-14.3 32-32 32H160c-17.7 0-32-14.3-32-32V160zM256 320h32c35.3 0 64-28.7 64-64V224h64c17.7 0 32 14.3 32 32v96c0 17.7-14.3 32-32 32H288c-17.7 0-32-14.3-32-32V320z"]
  113191. };
  113192. var faChartLine = {
  113193. prefix: 'fas',
  113194. iconName: 'chart-line',
  113195. icon: [512, 512, ["line-chart"], "f201", "M64 64c0-17.7-14.3-32-32-32S0 46.3 0 64V400c0 44.2 35.8 80 80 80H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H80c-8.8 0-16-7.2-16-16V64zm406.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L320 210.7l-57.4-57.4c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L240 221.3l57.4 57.4c12.5 12.5 32.8 12.5 45.3 0l128-128z"]
  113196. };
  113197. var faLineChart = faChartLine;
  113198. var faMaskVentilator = {
  113199. prefix: 'fas',
  113200. iconName: 'mask-ventilator',
  113201. icon: [640, 512, [], "e524", "M159.1 176C139.4 219.2 128 264.7 128 300.8c0 15.9 2.2 31.4 6.3 46l-31.8-7.9C70.5 330.9 48 302.1 48 269V184c0-4.4 3.6-8 8-8H159.1zm26-48H56c-30.9 0-56 25.1-56 56v85c0 55.1 37.5 103.1 90.9 116.4l71.3 17.8c22.7 30.5 55.4 54.1 93.8 66.6V393.3c-19.7-16.4-32-40.3-32-66.9c0-49.5 43-134.4 96-134.4c52.5 0 96 84.9 96 134.4c0 26.7-12.4 50.4-32 66.8v76.6c38-12.6 70.6-36 93.5-66.4l71.6-17.9C602.5 372.1 640 324.1 640 269V184c0-30.9-25.1-56-56-56H454.5C419.7 73.8 372.1 32 320 32c-52.6 0-100.2 41.8-134.9 96zm295.6 48H584c4.4 0 8 3.6 8 8v85c0 33-22.5 61.8-54.5 69.9l-31.8 8c4.2-14.7 6.4-30.1 6.4-46.1c0-36.1-11.6-81.6-31.3-124.8zM288 320V512h64V320c0-17.7-14.3-32-32-32s-32 14.3-32 32z"]
  113202. };
  113203. var faArrowRight = {
  113204. prefix: 'fas',
  113205. iconName: 'arrow-right',
  113206. icon: [448, 512, [8594], "f061", "M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"]
  113207. };
  113208. var faSignsPost = {
  113209. prefix: 'fas',
  113210. iconName: 'signs-post',
  113211. icon: [512, 512, ["map-signs"], "f277", "M224 32H64C46.3 32 32 46.3 32 64v64c0 17.7 14.3 32 32 32H441.4c4.2 0 8.3-1.7 11.3-4.7l48-48c6.2-6.2 6.2-16.4 0-22.6l-48-48c-3-3-7.1-4.7-11.3-4.7H288c0-17.7-14.3-32-32-32s-32 14.3-32 32zM480 256c0-17.7-14.3-32-32-32H288V192H224v32H70.6c-4.2 0-8.3 1.7-11.3 4.7l-48 48c-6.2 6.2-6.2 16.4 0 22.6l48 48c3 3 7.1 4.7 11.3 4.7H448c17.7 0 32-14.3 32-32V256zM288 480V384H224v96c0 17.7 14.3 32 32 32s32-14.3 32-32z"]
  113212. };
  113213. var faMapSigns = faSignsPost;
  113214. var faCashRegister = {
  113215. prefix: 'fas',
  113216. iconName: 'cash-register',
  113217. icon: [512, 512, [], "f788", "M64 0C46.3 0 32 14.3 32 32V96c0 17.7 14.3 32 32 32h80v32H87c-31.6 0-58.5 23.1-63.3 54.4L1.1 364.1C.4 368.8 0 373.6 0 378.4V448c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V378.4c0-4.8-.4-9.6-1.1-14.4L488.2 214.4C483.5 183.1 456.6 160 425 160H208V128h80c17.7 0 32-14.3 32-32V32c0-17.7-14.3-32-32-32H64zM96 48H256c8.8 0 16 7.2 16 16s-7.2 16-16 16H96c-8.8 0-16-7.2-16-16s7.2-16 16-16zM64 432c0-8.8 7.2-16 16-16H432c8.8 0 16 7.2 16 16s-7.2 16-16 16H80c-8.8 0-16-7.2-16-16zm48-216c13.3 0 24 10.7 24 24s-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24zm72 24c0-13.3 10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24s-24-10.7-24-24zm-24 56c13.3 0 24 10.7 24 24s-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24zm120-56c0-13.3 10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24s-24-10.7-24-24zm-24 56c13.3 0 24 10.7 24 24s-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24zm120-56c0-13.3 10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24s-24-10.7-24-24zm-24 56c13.3 0 24 10.7 24 24s-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24z"]
  113218. };
  113219. var faPersonCircleQuestion = {
  113220. prefix: 'fas',
  113221. iconName: 'person-circle-question',
  113222. icon: [576, 512, [], "e542", "M208 48c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zM152 352V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V256.9L59.4 304.5c-9.1 15.1-28.8 20-43.9 10.9s-20-28.8-10.9-43.9l58.3-97c17.4-28.9 48.6-46.6 82.3-46.6h29.7c33.7 0 64.9 17.7 82.3 46.6l44.9 74.7c-16.1 17.6-28.6 38.5-36.6 61.5c-1.9-1.8-3.5-3.9-4.9-6.3L232 256.9V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V352H152zM432 512c-79.5 0-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144zm0-48c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24zM368 321.6V328c0 8.8 7.2 16 16 16s16-7.2 16-16v-6.4c0-5.3 4.3-9.6 9.6-9.6h40.5c7.7 0 13.9 6.2 13.9 13.9c0 5.2-2.9 9.9-7.4 12.3l-32 16.8c-5.3 2.8-8.6 8.2-8.6 14.2V384c0 8.8 7.2 16 16 16s16-7.2 16-16v-5.1l23.5-12.3c15.1-7.9 24.5-23.6 24.5-40.6c0-25.4-20.6-45.9-45.9-45.9H409.6c-23 0-41.6 18.6-41.6 41.6z"]
  113223. };
  113224. var faH = {
  113225. prefix: 'fas',
  113226. iconName: 'h',
  113227. icon: [384, 512, [104], "48", "M320 256l0 192c0 17.7 14.3 32 32 32s32-14.3 32-32l0-224V64c0-17.7-14.3-32-32-32s-32 14.3-32 32V192L64 192 64 64c0-17.7-14.3-32-32-32S0 46.3 0 64V448c0 17.7 14.3 32 32 32s32-14.3 32-32l0-192 256 0z"]
  113228. };
  113229. var faTarp = {
  113230. prefix: 'fas',
  113231. iconName: 'tarp',
  113232. icon: [576, 512, [], "e57b", "M576 128c0-35.3-28.7-64-64-64H64C28.7 64 0 92.7 0 128V384c0 35.3 28.7 64 64 64l352 0 0-128c0-17.7 14.3-32 32-32H576V128zM448 448L576 320H448l0 128zM96 192c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]
  113233. };
  113234. var faScrewdriverWrench = {
  113235. prefix: 'fas',
  113236. iconName: 'screwdriver-wrench',
  113237. icon: [512, 512, ["tools"], "f7d9", "M78.6 5C69.1-2.4 55.6-1.5 47 7L7 47c-8.5 8.5-9.4 22-2.1 31.6l80 104c4.5 5.9 11.6 9.4 19 9.4h54.1l109 109c-14.7 29-10 65.4 14.3 89.6l112 112c12.5 12.5 32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3l-112-112c-24.2-24.2-60.6-29-89.6-14.3l-109-109V104c0-7.5-3.5-14.5-9.4-19L78.6 5zM19.9 396.1C7.2 408.8 0 426.1 0 444.1C0 481.6 30.4 512 67.9 512c18 0 35.3-7.2 48-19.9L233.7 374.3c-7.8-20.9-9-43.6-3.6-65.1l-61.7-61.7L19.9 396.1zM512 144c0-10.5-1.1-20.7-3.2-30.5c-2.4-11.2-16.1-14.1-24.2-6l-63.9 63.9c-3 3-7.1 4.7-11.3 4.7H352c-8.8 0-16-7.2-16-16V102.6c0-4.2 1.7-8.3 4.7-11.3l63.9-63.9c8.1-8.1 5.2-21.8-6-24.2C388.7 1.1 378.5 0 368 0C288.5 0 224 64.5 224 144l0 .8 85.3 85.3c36-9.1 75.8 .5 104 28.7L429 274.5c49-23 83-72.8 83-130.5zM104 432c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24z"]
  113238. };
  113239. var faTools = faScrewdriverWrench;
  113240. var faArrowsToEye = {
  113241. prefix: 'fas',
  113242. iconName: 'arrows-to-eye',
  113243. icon: [640, 512, [], "e4bf", "M15 15C24.4 5.7 39.6 5.7 49 15l63 63V40c0-13.3 10.7-24 24-24s24 10.7 24 24v96c0 13.3-10.7 24-24 24H40c-13.3 0-24-10.7-24-24s10.7-24 24-24H78.1L15 49C5.7 39.6 5.7 24.4 15 15zM133.5 243.9C158.6 193.6 222.7 112 320 112s161.4 81.6 186.5 131.9c3.8 7.6 3.8 16.5 0 24.2C481.4 318.4 417.3 400 320 400s-161.4-81.6-186.5-131.9c-3.8-7.6-3.8-16.5 0-24.2zM320 320c35.3 0 64-28.7 64-64s-28.7-64-64-64s-64 28.7-64 64s28.7 64 64 64zM591 15c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-63 63H600c13.3 0 24 10.7 24 24s-10.7 24-24 24H504c-13.3 0-24-10.7-24-24V40c0-13.3 10.7-24 24-24s24 10.7 24 24V78.1l63-63zM15 497c-9.4-9.4-9.4-24.6 0-33.9l63-63H40c-13.3 0-24-10.7-24-24s10.7-24 24-24h96c13.3 0 24 10.7 24 24v96c0 13.3-10.7 24-24 24s-24-10.7-24-24V433.9L49 497c-9.4 9.4-24.6 9.4-33.9 0zm576 0l-63-63V472c0 13.3-10.7 24-24 24s-24-10.7-24-24V376c0-13.3 10.7-24 24-24h96c13.3 0 24 10.7 24 24s-10.7 24-24 24H561.9l63 63c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0z"]
  113244. };
  113245. var faPlugCircleBolt = {
  113246. prefix: 'fas',
  113247. iconName: 'plug-circle-bolt',
  113248. icon: [576, 512, [], "e55b", "M96 0C78.3 0 64 14.3 64 32v96h64V32c0-17.7-14.3-32-32-32zM288 0c-17.7 0-32 14.3-32 32v96h64V32c0-17.7-14.3-32-32-32zM32 160c-17.7 0-32 14.3-32 32s14.3 32 32 32v32c0 77.4 55 142 128 156.8V480c0 17.7 14.3 32 32 32s32-14.3 32-32V412.8c12.3-2.5 24.1-6.4 35.1-11.5c-2.1-10.8-3.1-21.9-3.1-33.3c0-80.3 53.8-148 127.3-169.2c.5-2.2 .7-4.5 .7-6.8c0-17.7-14.3-32-32-32H32zM432 512c79.5 0 144-64.5 144-144s-64.5-144-144-144s-144 64.5-144 144s64.5 144 144 144zm47.9-225c4.3 3.7 5.4 9.9 2.6 14.9L452.4 356H488c5.2 0 9.8 3.3 11.4 8.2s-.1 10.3-4.2 13.4l-96 72c-4.5 3.4-10.8 3.2-15.1-.6s-5.4-9.9-2.6-14.9L411.6 380H376c-5.2 0-9.8-3.3-11.4-8.2s.1-10.3 4.2-13.4l96-72c4.5-3.4 10.8-3.2 15.1 .6z"]
  113249. };
  113250. var faHeart = {
  113251. prefix: 'fas',
  113252. iconName: 'heart',
  113253. icon: [512, 512, [128153, 128154, 128155, 128156, 128420, 129293, 129294, 129505, 9829, 10084, 61578], "f004", "M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9L464.4 300.4c30.4-28.3 47.6-68 47.6-109.5v-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1v5.8c0 41.5 17.2 81.2 47.6 109.5z"]
  113254. };
  113255. var faMarsAndVenus = {
  113256. prefix: 'fas',
  113257. iconName: 'mars-and-venus',
  113258. icon: [512, 512, [9893], "f224", "M337.8 14.8C341.5 5.8 350.3 0 360 0H472c13.3 0 24 10.7 24 24V136c0 9.7-5.8 18.5-14.8 22.2s-19.3 1.7-26.2-5.2l-39-39-24.7 24.7C407 163.3 416 192.6 416 224c0 80.2-59.1 146.7-136.1 158.2c0 .6 .1 1.2 .1 1.8v.4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .3 .4 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3 .3h24c13.3 0 24 10.7 24 24s-10.7 24-24 24H280v.2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .2 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 .1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0l-24 0-24 0v0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1V486 486v-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1V485 485v-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1V484v-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1V483v-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1V481v-.1-.1-.1-.1-.1-.1-.1-.1V480v-.1-.1-.1-.1-.1-.1-.1V479v-.1-.1-.1-.1-.1-.1-.1V478v-.1-.1-.1-.1-.1-.1V477v-.1-.1-.1-.1-.1-.1V476v-.1-.1-.1-.1-.1-.1V475v-.1-.2-.2-.2-.2-.2V474v-.2-.2-.2-.2-.2V473v-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2V470v-.2-.2-.2-.2-.2V469v-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2V467v-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2V463v-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2-.2V459v-.2-.2-.2-.2-.2-.2-.2-.2V457v-.2-.2-.2-.2V456H208c-13.3 0-24-10.7-24-24s10.7-24 24-24h24v-.3-.3-.3-.3-.3-.3-.3-.3-.3-.3-.3-.3-.3-.3V403v-.3-.3V402v-.3-.3V401v-.3-.3V400v-.3-.3-.3-.3-.3-.3-.3-.3-.3-.3-.3-.3-.3-.4-.3-.4-.4-.4-.4V393v-.4-.4-.4-.4-.4-.4-.4-.4-.4-.4-.4-.4-.4V388v-.4-.4-.4-.4-.4-.4-.4-.4-.4-.4V384c0-.6 0-1.2 .1-1.8C155.1 370.7 96 304.2 96 224c0-88.4 71.6-160 160-160c39.6 0 75.9 14.4 103.8 38.2L382.1 80 343 41c-6.9-6.9-8.9-17.2-5.2-26.2zM448 48l0 0h0v0zM256 488h24c0 13.3-10.7 24-24 24s-24-10.7-24-24h24zm96-264c0-53-43-96-96-96s-96 43-96 96s43 96 96 96s96-43 96-96z"]
  113259. };
  113260. var faHouseUser = {
  113261. prefix: 'fas',
  113262. iconName: 'house-user',
  113263. icon: [576, 512, ["home-user"], "e1b0", "M575.8 255.5c0 18-15 32.1-32 32.1h-32l.7 160.2c.2 35.5-28.5 64.3-64 64.3H128.1c-35.3 0-64-28.7-64-64V287.6H32c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L564.8 231.5c8 7 12 15 11 24zM352 224c0-35.3-28.7-64-64-64s-64 28.7-64 64s28.7 64 64 64s64-28.7 64-64zm-96 96c-44.2 0-80 35.8-80 80c0 8.8 7.2 16 16 16H384c8.8 0 16-7.2 16-16c0-44.2-35.8-80-80-80H256z"]
  113264. };
  113265. var faHomeUser = faHouseUser;
  113266. var faDumpsterFire = {
  113267. prefix: 'fas',
  113268. iconName: 'dumpster-fire',
  113269. icon: [640, 512, [], "f794", "M49.7 32c-10.5 0-19.8 6.9-22.9 16.9L.9 133c-.6 2-.9 4.1-.9 6.1C0 150.7 9.3 160 20.9 160h94L140.5 32H49.7zM272 160V32H173.1L147.5 160H272zm32 0h58c15.1-18.1 32.1-35.7 50.5-52.1c1.5-1.4 3.2-2.6 4.8-3.8L402.9 32H304V160zm209.9-23.7c17.4-15.8 43.9-16.2 61.7-1.2c-.1-.7-.3-1.4-.5-2.1L549.2 48.9C546.1 38.9 536.8 32 526.3 32H435.5l12.8 64.2c9.6 1 19 4.9 26.6 11.8c11.7 10.6 23 21.6 33.9 33.1c1.6-1.6 3.3-3.2 5-4.8zM325.2 210.7c3.8-6.2 7.9-12.5 12.3-18.7H32l4 32H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H44L64 448c0 17.7 14.3 32 32 32s32-14.3 32-32H337.6c-31-34.7-49.6-80.6-49.6-129.9c0-35.2 16.3-73.6 37.2-107.4zm128.4-78.9c-2.8-2.5-6.3-3.7-9.8-3.8c-3.6 0-7.2 1.2-10 3.7c-33.2 29.7-61.4 63.4-81.4 95.8c-19.7 31.9-32.4 66.2-32.4 92.6C320 407.9 390.3 480 480 480c88.7 0 160-72 160-159.8c0-20.2-9.6-50.9-24.2-79c-14.8-28.5-35.7-58.5-60.4-81.1c-5.6-5.1-14.4-5.2-20 0c-9.6 8.8-18.6 19.6-26.5 29.5c-17.3-20.7-35.8-39.9-55.5-57.7zM530 401c-15 10-31 15-49 15c-45 0-81-29-81-78c0-24 15-45 45-82c4 5 62 79 62 79l36-42c3 4 5 8 7 12c18 33 10 75-20 96z"]
  113270. };
  113271. var faHouseCrack = {
  113272. prefix: 'fas',
  113273. iconName: 'house-crack',
  113274. icon: [576, 512, [], "e3b1", "M543.8 287.6c17 0 32-14 32-32.1c1-9-3-17-11-24L309.5 7c-6-5-14-7-21-7s-15 1-22 8L10 231.5c-7 7-10 15-10 24c0 18 14 32.1 32 32.1h32V448c0 35.3 28.7 64 64 64H230.4l-31.3-52.2c-4.1-6.8-2.6-15.5 3.5-20.5L288 368l-60.2-82.8c-10.9-15 8.2-33.5 22.8-22l117.9 92.6c8 6.3 8.2 18.4 .4 24.9L288 448l38.4 64H448.5c35.5 0 64.2-28.8 64-64.3l-.7-160.2h32z"]
  113275. };
  113276. var faMartiniGlassCitrus = {
  113277. prefix: 'fas',
  113278. iconName: 'martini-glass-citrus',
  113279. icon: [576, 512, ["cocktail"], "f561", "M432 240c53 0 96-43 96-96s-43-96-96-96c-35.5 0-66.6 19.3-83.2 48H296.2C316 40.1 369.3 0 432 0c79.5 0 144 64.5 144 144s-64.5 144-144 144c-27.7 0-53.5-7.8-75.5-21.3l35.4-35.4c12.2 5.6 25.8 8.7 40.1 8.7zM1.8 142.8C5.5 133.8 14.3 128 24 128H392c9.7 0 18.5 5.8 22.2 14.8s1.7 19.3-5.2 26.2l-177 177V464h64c13.3 0 24 10.7 24 24s-10.7 24-24 24H208 120c-13.3 0-24-10.7-24-24s10.7-24 24-24h64V345.9L7 169c-6.9-6.9-8.9-17.2-5.2-26.2z"]
  113280. };
  113281. var faCocktail = faMartiniGlassCitrus;
  113282. var faFaceSurprise = {
  113283. prefix: 'fas',
  113284. iconName: 'face-surprise',
  113285. icon: [512, 512, [128558, "surprise"], "f5c2", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM176.4 240c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zm192-32c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zM256 416c-35.3 0-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64s-28.7 64-64 64z"]
  113286. };
  113287. var faSurprise = faFaceSurprise;
  113288. var faBottleWater = {
  113289. prefix: 'fas',
  113290. iconName: 'bottle-water',
  113291. icon: [256, 512, [], "e4c5", "M88 0h80c13.3 0 24 10.7 24 24V64H64V24C64 10.7 74.7 0 88 0zM0 151.7c0-15.6 9-29.8 23.2-36.5l24.4-11.4c11-5.1 23-7.8 35.1-7.8h90.6c12.1 0 24.1 2.7 35.1 7.8l24.4 11.4c14.2 6.6 23.2 20.8 23.2 36.5c0 14.4-7.5 27-18.9 34.1c11.5 8.8 18.9 22.6 18.9 38.2c0 16.7-8.5 31.4-21.5 40c12.9 8.6 21.5 23.3 21.5 40s-8.5 31.4-21.5 40c12.9 8.6 21.5 23.3 21.5 40s-8.5 31.4-21.5 40c12.9 8.6 21.5 23.3 21.5 40c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48c0-16.7 8.5-31.4 21.5-40C8.5 415.4 0 400.7 0 384s8.5-31.4 21.5-40C8.5 335.4 0 320.7 0 304s8.5-31.4 21.5-40C8.5 255.4 0 240.7 0 224c0-15.6 7.4-29.4 18.9-38.2C7.5 178.7 0 166.1 0 151.7zM64 240c0 8.8 7.2 16 16 16h96c8.8 0 16-7.2 16-16s-7.2-16-16-16H80c-8.8 0-16 7.2-16 16zM80 352c-8.8 0-16 7.2-16 16s7.2 16 16 16h96c8.8 0 16-7.2 16-16s-7.2-16-16-16H80z"]
  113292. };
  113293. var faCirclePause = {
  113294. prefix: 'fas',
  113295. iconName: 'circle-pause',
  113296. icon: [512, 512, [62092, "pause-circle"], "f28b", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM224 192V320c0 17.7-14.3 32-32 32s-32-14.3-32-32V192c0-17.7 14.3-32 32-32s32 14.3 32 32zm128 0V320c0 17.7-14.3 32-32 32s-32-14.3-32-32V192c0-17.7 14.3-32 32-32s32 14.3 32 32z"]
  113297. };
  113298. var faPauseCircle = faCirclePause;
  113299. var faToiletPaperSlash = {
  113300. prefix: 'fas',
  113301. iconName: 'toilet-paper-slash',
  113302. icon: [640, 512, [], "e072", "M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7l-109.7-86C569.9 374 608 291.9 608 192C608 86 565 0 512 0s-96 86-96 192c0 49.1 9.2 93.9 24.4 127.9l-59-46.2c1.6-24.8 2.6-52 2.6-81.6c0-65.5 13.2-142.4 60.2-192H160c-24.8 0-47.4 18.8-64.4 49.6L38.8 5.1zM66.5 148.4C64.9 162.4 64 177 64 192c0 101.5-11.7 170.8-23 213.9c-5.1 19.4-10.7 39.9-20.5 57.7c-5.9 9.9-6.1 22.1-.4 32.2S36.5 512 48 512H285.9c22.3 0 45.4-12.1 55.4-36.1c7.4-17.7 17.5-47.2 26-90.6L66.5 148.4zM544 192c0 35.3-14.3 64-32 64s-32-28.7-32-64s14.3-64 32-64s32 28.7 32 64z"]
  113303. };
  113304. var faAppleWhole = {
  113305. prefix: 'fas',
  113306. iconName: 'apple-whole',
  113307. icon: [448, 512, [127822, 127823, "apple-alt"], "f5d1", "M224 112c-8.8 0-16-7.2-16-16V80c0-44.2 35.8-80 80-80h16c8.8 0 16 7.2 16 16V32c0 44.2-35.8 80-80 80H224zM0 288c0-76.3 35.7-160 112-160c27.3 0 59.7 10.3 82.7 19.3c18.8 7.3 39.9 7.3 58.7 0c22.9-8.9 55.4-19.3 82.7-19.3c76.3 0 112 83.7 112 160c0 128-80 224-160 224c-16.5 0-38.1-6.6-51.5-11.3c-8.1-2.8-16.9-2.8-25 0c-13.4 4.7-35 11.3-51.5 11.3C80 512 0 416 0 288z"]
  113308. };
  113309. var faAppleAlt = faAppleWhole;
  113310. var faKitchenSet = {
  113311. prefix: 'fas',
  113312. iconName: 'kitchen-set',
  113313. icon: [576, 512, [], "e51a", "M240 144c0-53-43-96-96-96s-96 43-96 96s43 96 96 96s96-43 96-96zm44.4 32C269.9 240.1 212.5 288 144 288C64.5 288 0 223.5 0 144S64.5 0 144 0c68.5 0 125.9 47.9 140.4 112h71.8c8.8-9.8 21.6-16 35.8-16H496c26.5 0 48 21.5 48 48s-21.5 48-48 48H392c-14.2 0-27-6.2-35.8-16H284.4zM144 208c-35.3 0-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64s-28.7 64-64 64zm256 32c13.3 0 24 10.7 24 24v8h96c13.3 0 24 10.7 24 24s-10.7 24-24 24H280c-13.3 0-24-10.7-24-24s10.7-24 24-24h96v-8c0-13.3 10.7-24 24-24zM288 464V352H512V464c0 26.5-21.5 48-48 48H336c-26.5 0-48-21.5-48-48zM48 320h80 16 32c26.5 0 48 21.5 48 48s-21.5 48-48 48H160c0 17.7-14.3 32-32 32H64c-17.7 0-32-14.3-32-32V336c0-8.8 7.2-16 16-16zm128 64c8.8 0 16-7.2 16-16s-7.2-16-16-16H160v32h16zM24 464H200c13.3 0 24 10.7 24 24s-10.7 24-24 24H24c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]
  113314. };
  113315. var faR = {
  113316. prefix: 'fas',
  113317. iconName: 'r',
  113318. icon: [320, 512, [114], "52", "M32 32C14.3 32 0 46.3 0 64V288 448c0 17.7 14.3 32 32 32s32-14.3 32-32V320h95.3L261.8 466.4c10.1 14.5 30.1 18 44.6 7.9s18-30.1 7.9-44.6L230.1 309.5C282.8 288.1 320 236.4 320 176c0-79.5-64.5-144-144-144H32zM176 256H64V96H176c44.2 0 80 35.8 80 80s-35.8 80-80 80z"]
  113319. };
  113320. var faTemperatureQuarter = {
  113321. prefix: 'fas',
  113322. iconName: 'temperature-quarter',
  113323. icon: [320, 512, ["temperature-1", "thermometer-1", "thermometer-quarter"], "f2ca", "M160 64c-26.5 0-48 21.5-48 48V276.5c0 17.3-7.1 31.9-15.3 42.5C86.2 332.6 80 349.5 80 368c0 44.2 35.8 80 80 80s80-35.8 80-80c0-18.5-6.2-35.4-16.7-48.9c-8.2-10.6-15.3-25.2-15.3-42.5V112c0-26.5-21.5-48-48-48zM48 112C48 50.2 98.1 0 160 0s112 50.1 112 112V276.5c0 .1 .1 .3 .2 .6c.2 .6 .8 1.6 1.7 2.8c18.9 24.4 30.1 55 30.1 88.1c0 79.5-64.5 144-144 144S16 447.5 16 368c0-33.2 11.2-63.8 30.1-88.1c.9-1.2 1.5-2.2 1.7-2.8c.1-.3 .2-.5 .2-.6V112zM208 368c0 26.5-21.5 48-48 48s-48-21.5-48-48c0-20.9 13.4-38.7 32-45.3V272c0-8.8 7.2-16 16-16s16 7.2 16 16v50.7c18.6 6.6 32 24.4 32 45.3z"]
  113324. };
  113325. var faTemperature1 = faTemperatureQuarter;
  113326. var faThermometer1 = faTemperatureQuarter;
  113327. var faThermometerQuarter = faTemperatureQuarter;
  113328. var faCube = {
  113329. prefix: 'fas',
  113330. iconName: 'cube',
  113331. icon: [512, 512, [], "f1b2", "M234.5 5.7c13.9-5 29.1-5 43.1 0l192 68.6C495 83.4 512 107.5 512 134.6V377.4c0 27-17 51.2-42.5 60.3l-192 68.6c-13.9 5-29.1 5-43.1 0l-192-68.6C17 428.6 0 404.5 0 377.4V134.6c0-27 17-51.2 42.5-60.3l192-68.6zM256 66L82.3 128 256 190l173.7-62L256 66zm32 368.6l160-57.1v-188L288 246.6v188z"]
  113332. };
  113333. var faBitcoinSign = {
  113334. prefix: 'fas',
  113335. iconName: 'bitcoin-sign',
  113336. icon: [320, 512, [], "e0b4", "M48 32C48 14.3 62.3 0 80 0s32 14.3 32 32V64h32V32c0-17.7 14.3-32 32-32s32 14.3 32 32V64c0 1.5-.1 3.1-.3 4.5C254.1 82.2 288 125.1 288 176c0 24.2-7.7 46.6-20.7 64.9c31.7 19.8 52.7 55 52.7 95.1c0 61.9-50.1 112-112 112v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V448H112v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V448H41.7C18.7 448 0 429.3 0 406.3V288 265.7 224 101.6C0 80.8 16.8 64 37.6 64H48V32zM64 224H176c26.5 0 48-21.5 48-48s-21.5-48-48-48H64v96zm112 64H64v96H208c26.5 0 48-21.5 48-48s-21.5-48-48-48H176z"]
  113337. };
  113338. var faShieldDog = {
  113339. prefix: 'fas',
  113340. iconName: 'shield-dog',
  113341. icon: [512, 512, [], "e573", "M269.4 2.9C265.2 1 260.7 0 256 0s-9.2 1-13.4 2.9L54.3 82.8c-22 9.3-38.4 31-38.3 57.2c.5 99.2 41.3 280.7 213.6 363.2c16.7 8 36.1 8 52.8 0C454.7 420.7 495.5 239.2 496 140c.1-26.2-16.3-47.9-38.3-57.2L269.4 2.9zM160.9 286.2c4.8 1.2 9.9 1.8 15.1 1.8c35.3 0 64-28.7 64-64V160h44.2c12.1 0 23.2 6.8 28.6 17.7L320 192h64c8.8 0 16 7.2 16 16v32c0 44.2-35.8 80-80 80H272v50.7c0 7.3-5.9 13.3-13.3 13.3c-1.8 0-3.6-.4-5.2-1.1l-98.7-42.3c-6.6-2.8-10.8-9.3-10.8-16.4c0-2.8 .6-5.5 1.9-8l15-30zM160 160h40 8v32 32c0 17.7-14.3 32-32 32s-32-14.3-32-32V176c0-8.8 7.2-16 16-16zm128 48c0-8.8-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16s16-7.2 16-16z"]
  113342. };
  113343. var faSolarPanel = {
  113344. prefix: 'fas',
  113345. iconName: 'solar-panel',
  113346. icon: [640, 512, [], "f5ba", "M96 0C80.7 0 67.6 10.8 64.6 25.7l-64 320c-1.9 9.4 .6 19.1 6.6 26.6S22.4 384 32 384H288v64H224c-17.7 0-32 14.3-32 32s14.3 32 32 32H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H352V384H608c9.6 0 18.7-4.3 24.7-11.7s8.5-17.2 6.6-26.6l-64-320C572.4 10.8 559.3 0 544 0H96zm5.4 168L122.2 64h90.4L202.3 168H101.4zm-9.6 48H197.5L187.1 320H71L91.8 216zm153.9 0H394.3l10.4 104H235.3l10.4-104zm196.8 0H548.2L569 320h-116L442.5 216zm96-48H437.7L427.3 64h90.4l20.8 104zm-149.1 0h-139L260.9 64H379.1l10.4 104z"]
  113347. };
  113348. var faLockOpen = {
  113349. prefix: 'fas',
  113350. iconName: 'lock-open',
  113351. icon: [576, 512, [], "f3c1", "M352 144c0-44.2 35.8-80 80-80s80 35.8 80 80v48c0 17.7 14.3 32 32 32s32-14.3 32-32V144C576 64.5 511.5 0 432 0S288 64.5 288 144v48H64c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V256c0-35.3-28.7-64-64-64H352V144z"]
  113352. };
  113353. var faElevator = {
  113354. prefix: 'fas',
  113355. iconName: 'elevator',
  113356. icon: [512, 512, [], "e16d", "M132.7 4.7l-64 64c-4.6 4.6-5.9 11.5-3.5 17.4s8.3 9.9 14.8 9.9H208c6.5 0 12.3-3.9 14.8-9.9s1.1-12.9-3.5-17.4l-64-64c-6.2-6.2-16.4-6.2-22.6 0zM64 128c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V192c0-35.3-28.7-64-64-64H64zm96 192c-26.5 0-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48zM80 400c0-26.5 21.5-48 48-48h64c26.5 0 48 21.5 48 48v16c0 17.7-14.3 32-32 32H112c-17.7 0-32-14.3-32-32V400zm192 0c0-26.5 21.5-48 48-48h64c26.5 0 48 21.5 48 48v16c0 17.7-14.3 32-32 32H304c-17.7 0-32-14.3-32-32V400zM400 272c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zM356.7 91.3c6.2 6.2 16.4 6.2 22.6 0l64-64c4.6-4.6 5.9-11.5 3.5-17.4S438.5 0 432 0H304c-6.5 0-12.3 3.9-14.8 9.9s-1.1 12.9 3.5 17.4l64 64z"]
  113357. };
  113358. var faMoneyBillTransfer = {
  113359. prefix: 'fas',
  113360. iconName: 'money-bill-transfer',
  113361. icon: [640, 512, [], "e528", "M535 41c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l64 64c4.5 4.5 7 10.6 7 17s-2.5 12.5-7 17l-64 64c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l23-23L384 112c-13.3 0-24-10.7-24-24s10.7-24 24-24l174.1 0L535 41zM105 377l-23 23L256 400c13.3 0 24 10.7 24 24s-10.7 24-24 24L81.9 448l23 23c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0L7 441c-4.5-4.5-7-10.6-7-17s2.5-12.5 7-17l64-64c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9zM96 64H337.9c-3.7 7.2-5.9 15.3-5.9 24c0 28.7 23.3 52 52 52l117.4 0c-4 17 .6 35.5 13.8 48.8c20.3 20.3 53.2 20.3 73.5 0L608 169.5V384c0 35.3-28.7 64-64 64H302.1c3.7-7.2 5.9-15.3 5.9-24c0-28.7-23.3-52-52-52l-117.4 0c4-17-.6-35.5-13.8-48.8c-20.3-20.3-53.2-20.3-73.5 0L32 342.5V128c0-35.3 28.7-64 64-64zm64 64H96v64c35.3 0 64-28.7 64-64zM544 320c-35.3 0-64 28.7-64 64h64V320zM320 352c53 0 96-43 96-96s-43-96-96-96s-96 43-96 96s43 96 96 96z"]
  113362. };
  113363. var faMoneyBillTrendUp = {
  113364. prefix: 'fas',
  113365. iconName: 'money-bill-trend-up',
  113366. icon: [512, 512, [], "e529", "M470.7 9.4c3 3.1 5.3 6.6 6.9 10.3s2.4 7.8 2.4 12.2l0 .1v0 96c0 17.7-14.3 32-32 32s-32-14.3-32-32V109.3L310.6 214.6c-11.8 11.8-30.8 12.6-43.5 1.7L176 138.1 84.8 216.3c-13.4 11.5-33.6 9.9-45.1-3.5s-9.9-33.6 3.5-45.1l112-96c12-10.3 29.7-10.3 41.7 0l89.5 76.7L370.7 64H352c-17.7 0-32-14.3-32-32s14.3-32 32-32h96 0c8.8 0 16.8 3.6 22.6 9.3l.1 .1zM0 304c0-26.5 21.5-48 48-48H464c26.5 0 48 21.5 48 48V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V304zM48 416v48H96c0-26.5-21.5-48-48-48zM96 304H48v48c26.5 0 48-21.5 48-48zM464 416c-26.5 0-48 21.5-48 48h48V416zM416 304c0 26.5 21.5 48 48 48V304H416zm-96 80c0-35.3-28.7-64-64-64s-64 28.7-64 64s28.7 64 64 64s64-28.7 64-64z"]
  113367. };
  113368. var faHouseFloodWaterCircleArrowRight = {
  113369. prefix: 'fas',
  113370. iconName: 'house-flood-water-circle-arrow-right',
  113371. icon: [640, 512, [], "e50f", "M288 144C288 64.5 223.5 0 144 0S0 64.5 0 144s64.5 144 144 144s144-64.5 144-144zM140.7 76.7c6.2-6.2 16.4-6.2 22.6 0l56 56c6.2 6.2 6.2 16.4 0 22.6l-56 56c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6L169.4 160H80c-8.8 0-16-7.2-16-16s7.2-16 16-16h89.4L140.7 99.3c-6.2-6.2-6.2-16.4 0-22.6zM320 144c0 57.3-27.4 108.2-69.8 140.3c11.8-3.6 23-9.4 33-16.2c22.1-15.5 51.6-15.5 73.7 0c18.4 12.7 39.6 20.3 59.2 20.3c19 0 41.2-7.9 59.2-20.3c23.8-16.7 55.8-15.4 78.1 3.4c2.1 1.7 4.2 3.3 6.5 4.9l-.3-84.4H576c13.9 0 26.1-8.9 30.4-22.1s-.4-27.6-11.6-35.8l-176-128C407.6-2 392.4-2 381.2 6.1L301 64.4c12.1 23.9 19 50.9 19 79.6zm18.5 165.9c-11.1-7.9-25.9-7.9-37 0C279 325.4 251.5 336 224 336c-26.9 0-55.3-10.8-77.4-26.1l0 0c-11.9-8.5-28.1-7.8-39.2 1.7c-14.4 11.9-32.5 21-50.6 25.2c-17.2 4-27.9 21.2-23.9 38.4s21.2 27.9 38.4 23.9c24.5-5.7 44.9-16.5 58.2-25C158.5 389.7 191 400 224 400c31.9 0 60.6-9.9 80.4-18.9c5.8-2.7 11.1-5.3 15.6-7.7c4.5 2.4 9.7 5.1 15.6 7.7c19.8 9 48.6 18.9 80.4 18.9c33 0 65.5-10.3 94.5-25.8c13.4 8.4 33.7 19.3 58.2 25c17.2 4 34.4-6.7 38.4-23.9s-6.7-34.4-23.9-38.4c-18.1-4.2-36.2-13.3-50.6-25.2c-11.1-9.5-27.3-10.1-39.2-1.7l0 0C471.4 325.2 442.9 336 416 336c-27.5 0-55-10.6-77.5-26.1zm0 112c-11.1-7.9-25.9-7.9-37 0C279 437.4 251.5 448 224 448c-26.9 0-55.3-10.8-77.4-26.1l0 0c-11.9-8.5-28.1-7.8-39.2 1.7c-14.4 11.9-32.5 21-50.6 25.2c-17.2 4-27.9 21.2-23.9 38.4s21.2 27.9 38.4 23.9c24.5-5.7 44.9-16.5 58.2-25C158.5 501.7 191 512 224 512c31.9 0 60.6-9.9 80.4-18.9c5.8-2.7 11.1-5.3 15.6-7.7c4.5 2.4 9.7 5.1 15.6 7.7c19.8 9 48.6 18.9 80.4 18.9c33 0 65.5-10.3 94.5-25.8c13.4 8.4 33.7 19.3 58.2 25c17.2 4 34.4-6.7 38.4-23.9s-6.7-34.4-23.9-38.4c-18.1-4.2-36.2-13.3-50.6-25.2c-11.1-9.4-27.3-10.1-39.2-1.7l0 0C471.4 437.2 442.9 448 416 448c-27.5 0-55-10.6-77.5-26.1z"]
  113372. };
  113373. var faSquarePollHorizontal = {
  113374. prefix: 'fas',
  113375. iconName: 'square-poll-horizontal',
  113376. icon: [448, 512, ["poll-h"], "f682", "M448 96c0-35.3-28.7-64-64-64L64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320zM256 160c0 17.7-14.3 32-32 32l-96 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l96 0c17.7 0 32 14.3 32 32zm64 64c17.7 0 32 14.3 32 32s-14.3 32-32 32l-192 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l192 0zM192 352c0 17.7-14.3 32-32 32l-32 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l32 0c17.7 0 32 14.3 32 32z"]
  113377. };
  113378. var faPollH = faSquarePollHorizontal;
  113379. var faCircle = {
  113380. prefix: 'fas',
  113381. iconName: 'circle',
  113382. icon: [512, 512, [128308, 128309, 128992, 128993, 128994, 128995, 128996, 9679, 9898, 9899, 11044, 61708, 61915], "f111", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512z"]
  113383. };
  113384. var faBackwardFast = {
  113385. prefix: 'fas',
  113386. iconName: 'backward-fast',
  113387. icon: [512, 512, [9198, "fast-backward"], "f049", "M493.6 445c-11.2 5.3-24.5 3.6-34.1-4.4L288 297.7V416c0 12.4-7.2 23.7-18.4 29s-24.5 3.6-34.1-4.4L64 297.7V416c0 17.7-14.3 32-32 32s-32-14.3-32-32V96C0 78.3 14.3 64 32 64s32 14.3 32 32V214.3L235.5 71.4c9.5-7.9 22.8-9.7 34.1-4.4S288 83.6 288 96V214.3L459.5 71.4c9.5-7.9 22.8-9.7 34.1-4.4S512 83.6 512 96V416c0 12.4-7.2 23.7-18.4 29z"]
  113388. };
  113389. var faFastBackward = faBackwardFast;
  113390. var faRecycle = {
  113391. prefix: 'fas',
  113392. iconName: 'recycle',
  113393. icon: [576, 512, [9842, 9850, 9851], "f1b8", "M206.7 45.1C224.2 17 255 0 288 0s63.8 17 81.3 45.1l38.6 61.7 27-15.6c8.4-4.9 18.9-4.2 26.6 1.7s11.1 15.9 8.6 25.3l-23.4 87.4c-3.4 12.8-16.6 20.4-29.4 17l-87.4-23.4c-9.4-2.5-16.3-10.4-17.6-20s3.4-19.1 11.8-23.9l28.4-16.4L315 79c-5.8-9.3-16-15-27-15s-21.2 5.7-27 15l-17.5 28c-9.2 14.8-28.6 19.5-43.6 10.5c-15.3-9.2-20.2-29.2-10.7-44.4l17.5-28zM461.5 251.9c15-9 34.4-4.3 43.6 10.5l24.4 39.1c9.4 15.1 14.4 32.4 14.6 50.2c.3 53.1-42.7 96.4-95.8 96.4L352 448v32c0 9.7-5.8 18.5-14.8 22.2s-19.3 1.7-26.2-5.2l-64-64c-9.4-9.4-9.4-24.6 0-33.9l64-64c6.9-6.9 17.2-8.9 26.2-5.2s14.8 12.5 14.8 22.2v32l96.2 0c17.6 0 31.9-14.4 31.8-32c0-5.9-1.7-11.7-4.8-16.7l-24.4-39.1c-9.5-15.2-4.7-35.2 10.7-44.4zm-364.6-31L68 204.2c-8.4-4.9-13.1-14.3-11.8-23.9s8.2-17.5 17.6-20l87.4-23.4c12.8-3.4 26 4.2 29.4 17L214 241.2c2.5 9.4-.9 19.3-8.6 25.3s-18.2 6.6-26.6 1.7l-26.5-15.3-51.5 82.4c-3.1 5-4.8 10.8-4.8 16.7c-.1 17.6 14.2 32 31.8 32l32.2 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-32.2 0c-53.1 0-96.1-43.2-95.8-96.4c.1-17.8 5.1-35.1 14.6-50.2l50.3-80.5z"]
  113394. };
  113395. var faUserAstronaut = {
  113396. prefix: 'fas',
  113397. iconName: 'user-astronaut',
  113398. icon: [448, 512, [], "f4fb", "M370.7 96.1C346.1 39.5 289.7 0 224 0S101.9 39.5 77.3 96.1C60.9 97.5 48 111.2 48 128v64c0 16.8 12.9 30.5 29.3 31.9C101.9 280.5 158.3 320 224 320s122.1-39.5 146.7-96.1c16.4-1.4 29.3-15.1 29.3-31.9V128c0-16.8-12.9-30.5-29.3-31.9zM336 144v16c0 53-43 96-96 96H208c-53 0-96-43-96-96V144c0-26.5 21.5-48 48-48H288c26.5 0 48 21.5 48 48zM189.3 162.7l-6-21.2c-.9-3.3-3.9-5.5-7.3-5.5s-6.4 2.2-7.3 5.5l-6 21.2-21.2 6c-3.3 .9-5.5 3.9-5.5 7.3s2.2 6.4 5.5 7.3l21.2 6 6 21.2c.9 3.3 3.9 5.5 7.3 5.5s6.4-2.2 7.3-5.5l6-21.2 21.2-6c3.3-.9 5.5-3.9 5.5-7.3s-2.2-6.4-5.5-7.3l-21.2-6zM112.7 316.5C46.7 342.6 0 407 0 482.3C0 498.7 13.3 512 29.7 512H128V448c0-17.7 14.3-32 32-32H288c17.7 0 32 14.3 32 32v64l98.3 0c16.4 0 29.7-13.3 29.7-29.7c0-75.3-46.7-139.7-112.7-165.8C303.9 338.8 265.5 352 224 352s-79.9-13.2-111.3-35.5zM176 448c-8.8 0-16 7.2-16 16v48h32V464c0-8.8-7.2-16-16-16zm96 32c8.8 0 16-7.2 16-16s-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16z"]
  113399. };
  113400. var faPlaneSlash = {
  113401. prefix: 'fas',
  113402. iconName: 'plane-slash',
  113403. icon: [640, 512, [], "e069", "M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L440.6 320h73.8c34.2 0 93.7-28 93.7-64c0-35-59.5-64-93.7-64l-116.6 0L297.2 16.1C291.5 6.2 280.9 0 269.4 0H213.2c-10.6 0-18.3 10.2-15.4 20.4l40.3 140.9L38.8 5.1zm2.7 123.6C36 130.6 32 135.9 32 142c0 1.3 .2 2.6 .5 3.9L64 256 32.5 366.1c-.4 1.3-.5 2.6-.5 3.9c0 7.8 6.3 14 14 14H88c5 0 9.8-2.4 12.8-6.4L144 320H246.9l-49 171.6c-2.9 10.2 4.8 20.4 15.4 20.4l56.2 0c11.5 0 22.1-6.2 27.8-16.1l65.3-114.3L41.5 128.7z"]
  113404. };
  113405. var faTrademark = {
  113406. prefix: 'fas',
  113407. iconName: 'trademark',
  113408. icon: [640, 512, [8482], "f25c", "M345.6 108.8c-8.3-11-22.7-15.5-35.7-11.2S288 114.2 288 128V384c0 17.7 14.3 32 32 32s32-14.3 32-32V224l86.4 115.2c6 8.1 15.5 12.8 25.6 12.8s19.6-4.7 25.6-12.8L576 224V384c0 17.7 14.3 32 32 32s32-14.3 32-32V128c0-13.8-8.8-26-21.9-30.4s-27.5 .1-35.7 11.2L464 266.7 345.6 108.8zM0 128c0 17.7 14.3 32 32 32H96V384c0 17.7 14.3 32 32 32s32-14.3 32-32V160h64c17.7 0 32-14.3 32-32s-14.3-32-32-32H32C14.3 96 0 110.3 0 128z"]
  113409. };
  113410. var faBasketball = {
  113411. prefix: 'fas',
  113412. iconName: 'basketball',
  113413. icon: [512, 512, [127936, "basketball-ball"], "f434", "M86.6 64C119 35.5 158.6 15 202.3 5.6C206 19.1 208 33.3 208 48c0 38.4-13.5 73.7-36.1 101.3L86.6 64zM64 86.6l85.2 85.2C121.7 194.5 86.4 208 48 208c-14.7 0-28.9-2-42.4-5.7C15 158.6 35.5 119 64 86.6zM256 0c64.9 0 124.2 24.2 169.4 64L256 233.4 194.6 172C222.9 138.5 240 95.3 240 48c0-16.2-2-32-5.8-47.1C241.4 .3 248.7 0 256 0zM48 240c47.3 0 90.5-17.1 124-45.4L233.4 256 64 425.4C24.2 380.2 0 320.9 0 256c0-7.3 .3-14.6 .9-21.8C16 238 31.8 240 48 240zm463.1 37.8C496 274 480.2 272 464 272c-47.3 0-90.5 17.1-124 45.4L278.6 256 448 86.6c39.8 45.1 64 104.4 64 169.4c0 7.3-.3 14.6-.9 21.8zm-4.7 31.9C497 353.4 476.5 393 448 425.4l-85.2-85.2C390.3 317.5 425.6 304 464 304c14.7 0 28.9 2 42.4 5.7zM340.1 362.7L425.4 448C393 476.5 353.4 497 309.7 506.4C306 492.9 304 478.7 304 464c0-38.4 13.5-73.7 36.1-101.3zM317.4 340C289.1 373.5 272 416.7 272 464c0 16.2 2 32 5.8 47.1c-7.2 .6-14.5 .9-21.8 .9c-64.9 0-124.2-24.2-169.4-64L256 278.6 317.4 340z"]
  113414. };
  113415. var faBasketballBall = faBasketball;
  113416. var faSatelliteDish = {
  113417. prefix: 'fas',
  113418. iconName: 'satellite-dish',
  113419. icon: [512, 512, [128225], "f7c0", "M192 32c0-17.7 14.3-32 32-32C383.1 0 512 128.9 512 288c0 17.7-14.3 32-32 32s-32-14.3-32-32C448 164.3 347.7 64 224 64c-17.7 0-32-14.3-32-32zM60.6 220.6L164.7 324.7l28.4-28.4c-.7-2.6-1.1-5.4-1.1-8.3c0-17.7 14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32c-2.9 0-5.6-.4-8.3-1.1l-28.4 28.4L291.4 451.4c14.5 14.5 11.8 38.8-7.3 46.3C260.5 506.9 234.9 512 208 512C93.1 512 0 418.9 0 304c0-26.9 5.1-52.5 14.4-76.1c7.5-19 31.8-21.8 46.3-7.3zM224 96c106 0 192 86 192 192c0 17.7-14.3 32-32 32s-32-14.3-32-32c0-70.7-57.3-128-128-128c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]
  113420. };
  113421. var faCircleUp = {
  113422. prefix: 'fas',
  113423. iconName: 'circle-up',
  113424. icon: [512, 512, [61467, "arrow-alt-circle-up"], "f35b", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zm11.3-395.3l112 112c4.6 4.6 5.9 11.5 3.5 17.4s-8.3 9.9-14.8 9.9H304v96c0 17.7-14.3 32-32 32H240c-17.7 0-32-14.3-32-32V256H144c-6.5 0-12.3-3.9-14.8-9.9s-1.1-12.9 3.5-17.4l112-112c6.2-6.2 16.4-6.2 22.6 0z"]
  113425. };
  113426. var faArrowAltCircleUp = faCircleUp;
  113427. var faMobileScreenButton = {
  113428. prefix: 'fas',
  113429. iconName: 'mobile-screen-button',
  113430. icon: [384, 512, ["mobile-alt"], "f3cd", "M16 64C16 28.7 44.7 0 80 0H304c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H80c-35.3 0-64-28.7-64-64V64zM224 448c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zM304 64H80V384H304V64z"]
  113431. };
  113432. var faMobileAlt = faMobileScreenButton;
  113433. var faVolumeHigh = {
  113434. prefix: 'fas',
  113435. iconName: 'volume-high',
  113436. icon: [640, 512, [128266, "volume-up"], "f028", "M533.6 32.5C598.5 85.3 640 165.8 640 256s-41.5 170.8-106.4 223.5c-10.3 8.4-25.4 6.8-33.8-3.5s-6.8-25.4 3.5-33.8C557.5 398.2 592 331.2 592 256s-34.5-142.2-88.7-186.3c-10.3-8.4-11.8-23.5-3.5-33.8s23.5-11.8 33.8-3.5zM473.1 107c43.2 35.2 70.9 88.9 70.9 149s-27.7 113.8-70.9 149c-10.3 8.4-25.4 6.8-33.8-3.5s-6.8-25.4 3.5-33.8C475.3 341.3 496 301.1 496 256s-20.7-85.3-53.2-111.8c-10.3-8.4-11.8-23.5-3.5-33.8s23.5-11.8 33.8-3.5zm-60.5 74.5C434.1 199.1 448 225.9 448 256s-13.9 56.9-35.4 74.5c-10.3 8.4-25.4 6.8-33.8-3.5s-6.8-25.4 3.5-33.8C393.1 284.4 400 271 400 256s-6.9-28.4-17.7-37.3c-10.3-8.4-11.8-23.5-3.5-33.8s23.5-11.8 33.8-3.5zM301.1 34.8C312.6 40 320 51.4 320 64V448c0 12.6-7.4 24-18.9 29.2s-25 3.1-34.4-5.3L131.8 352H64c-35.3 0-64-28.7-64-64V224c0-35.3 28.7-64 64-64h67.8L266.7 40.1c9.4-8.4 22.9-10.4 34.4-5.3z"]
  113437. };
  113438. var faVolumeUp = faVolumeHigh;
  113439. var faUsersRays = {
  113440. prefix: 'fas',
  113441. iconName: 'users-rays',
  113442. icon: [640, 512, [], "e593", "M41 7C31.6-2.3 16.4-2.3 7 7S-2.3 31.6 7 41l72 72c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L41 7zM599 7L527 79c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l72-72c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0zM7 505c9.4 9.4 24.6 9.4 33.9 0l72-72c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0L7 471c-9.4 9.4-9.4 24.6 0 33.9zm592 0c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-72-72c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l72 72zM320 256c35.3 0 64-28.7 64-64s-28.7-64-64-64s-64 28.7-64 64s28.7 64 64 64zM212.1 336c-2.7 7.5-4.1 15.6-4.1 24c0 13.3 10.7 24 24 24H408c13.3 0 24-10.7 24-24c0-8.4-1.4-16.5-4.1-24c-.5-1.4-1-2.7-1.6-4c-9.4-22.3-29.8-38.9-54.3-43c-3.9-.7-7.9-1-12-1H280c-4.1 0-8.1 .3-12 1c-.8 .1-1.7 .3-2.5 .5c-24.9 5.1-45.1 23-53.4 46.5zM175.8 224c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zm-26.5 32C119.9 256 96 279.9 96 309.3c0 14.7 11.9 26.7 26.7 26.7h56.1c8-34.1 32.8-61.7 65.2-73.6c-7.5-4.1-16.2-6.4-25.3-6.4H149.3zm368 80c14.7 0 26.7-11.9 26.7-26.7c0-29.5-23.9-53.3-53.3-53.3H421.3c-9.2 0-17.8 2.3-25.3 6.4c32.4 11.9 57.2 39.5 65.2 73.6h56.1zM464 224c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48z"]
  113443. };
  113444. var faWallet = {
  113445. prefix: 'fas',
  113446. iconName: 'wallet',
  113447. icon: [512, 512, [], "f555", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V192c0-35.3-28.7-64-64-64H80c-8.8 0-16-7.2-16-16s7.2-16 16-16H448c17.7 0 32-14.3 32-32s-14.3-32-32-32H64zM416 336c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]
  113448. };
  113449. var faClipboardCheck = {
  113450. prefix: 'fas',
  113451. iconName: 'clipboard-check',
  113452. icon: [384, 512, [], "f46c", "M192 0c-41.8 0-77.4 26.7-90.5 64H64C28.7 64 0 92.7 0 128V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64H282.5C269.4 26.7 233.8 0 192 0zm0 128c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zM307.8 275.8l-128 128c-10.9 10.9-28.7 10.9-39.6 0l-64-64c-10.9-10.9-10.9-28.7 0-39.6s28.7-10.9 39.6 0L160 344.4 268.2 236.2c10.9-10.9 28.7-10.9 39.6 0s10.9 28.7 0 39.6z"]
  113453. };
  113454. var faFileAudio = {
  113455. prefix: 'fas',
  113456. iconName: 'file-audio',
  113457. icon: [384, 512, [], "f1c7", "M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zm2 226.3c37.1 22.4 62 63.1 62 109.7s-24.9 87.3-62 109.7c-7.6 4.6-17.4 2.1-22-5.4s-2.1-17.4 5.4-22C269.4 401.5 288 370.9 288 336s-18.6-65.5-46.5-82.3c-7.6-4.6-10-14.4-5.4-22s14.4-10 22-5.4zm-91.9 30.9c6 2.5 9.9 8.3 9.9 14.8V400c0 6.5-3.9 12.3-9.9 14.8s-12.9 1.1-17.4-3.5L113.4 376H80c-8.8 0-16-7.2-16-16V312c0-8.8 7.2-16 16-16h33.4l35.3-35.3c4.6-4.6 11.5-5.9 17.4-3.5zm51 34.9c6.6-5.9 16.7-5.3 22.6 1.3C249.8 304.6 256 319.6 256 336s-6.2 31.4-16.3 42.7c-5.9 6.6-16 7.1-22.6 1.3s-7.1-16-1.3-22.6c5.1-5.7 8.1-13.1 8.1-21.3s-3.1-15.7-8.1-21.3c-5.9-6.6-5.3-16.7 1.3-22.6z"]
  113458. };
  113459. var faBurger = {
  113460. prefix: 'fas',
  113461. iconName: 'burger',
  113462. icon: [512, 512, ["hamburger"], "f805", "M61.1 224C45 224 32 211 32 194.9c0-1.9 .2-3.7 .6-5.6C37.9 168.3 78.8 32 256 32s218.1 136.3 223.4 157.3c.5 1.9 .6 3.7 .6 5.6c0 16.1-13 29.1-29.1 29.1H61.1zM144 128c0-8.8-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16s16-7.2 16-16zm240 16c8.8 0 16-7.2 16-16s-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16zM272 96c0-8.8-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16s16-7.2 16-16zM16 304c0-26.5 21.5-48 48-48H448c26.5 0 48 21.5 48 48s-21.5 48-48 48H64c-26.5 0-48-21.5-48-48zm16 96c0-8.8 7.2-16 16-16H464c8.8 0 16 7.2 16 16v16c0 35.3-28.7 64-64 64H96c-35.3 0-64-28.7-64-64V400z"]
  113463. };
  113464. var faHamburger = faBurger;
  113465. var faWrench = {
  113466. prefix: 'fas',
  113467. iconName: 'wrench',
  113468. icon: [512, 512, [128295], "f0ad", "M352 320c88.4 0 160-71.6 160-160c0-15.3-2.2-30.1-6.2-44.2c-3.1-10.8-16.4-13.2-24.3-5.3l-76.8 76.8c-3 3-7.1 4.7-11.3 4.7H336c-8.8 0-16-7.2-16-16V118.6c0-4.2 1.7-8.3 4.7-11.3l76.8-76.8c7.9-7.9 5.4-21.2-5.3-24.3C382.1 2.2 367.3 0 352 0C263.6 0 192 71.6 192 160c0 19.1 3.4 37.5 9.5 54.5L19.9 396.1C7.2 408.8 0 426.1 0 444.1C0 481.6 30.4 512 67.9 512c18 0 35.3-7.2 48-19.9L297.5 310.5c17 6.2 35.4 9.5 54.5 9.5zM80 456c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24z"]
  113469. };
  113470. var faBugs = {
  113471. prefix: 'fas',
  113472. iconName: 'bugs',
  113473. icon: [640, 512, [], "e4d0", "M196.5 107.4l33.4-73.5c5.5-12.1 .1-26.3-11.9-31.8s-26.3-.1-31.8 11.9L160 71.7 133.9 14.1C128.4 2 114.1-3.3 102.1 2.1S84.7 21.9 90.1 33.9l33.4 73.5c-10.2 7.1-18.2 17-22.9 28.6h-17l-4.1-20.7c-2.6-13-15.2-21.4-28.2-18.8s-21.4 15.2-18.8 28.2l8 40C42.7 175.9 52.6 184 64 184H96v23.3l-37.8 9.5c-9.5 2.4-16.6 10.2-17.9 19.9l-8 56c-1.9 13.1 7.2 25.3 20.4 27.2s25.3-7.2 27.2-20.4l5.7-40 18.4-4.6C114.7 274.6 135.8 288 160 288s45.3-13.4 56.1-33.2l18.4 4.6 5.7 40c1.9 13.1 14 22.2 27.2 20.4s22.2-14 20.4-27.2l-8-56c-1.4-9.7-8.5-17.5-17.9-19.9L224 207.3V184h32c11.4 0 21.3-8.1 23.5-19.3l8-40c2.6-13-5.8-25.6-18.8-28.2s-25.6 5.8-28.2 18.8L236.3 136h-17c-4.7-11.6-12.7-21.5-22.9-28.6zM528 286.5l65.6-47c10.8-7.7 13.3-22.7 5.6-33.5s-22.7-13.3-33.5-5.6l-51.4 36.8 6.1-62.9c1.3-13.2-8.4-24.9-21.6-26.2s-24.9 8.4-26.2 21.6L464.8 250c-12.3 1-24.2 5.6-34.1 13.3L416 254.8l6.8-20c4.2-12.6-2.5-26.2-15-30.4s-26.2 2.5-30.4 15l-13.1 38.6c-3.7 10.8 .8 22.8 10.7 28.5l27.7 16L391 322.7 353.5 312c-9.4-2.7-19.5 .6-25.5 8.3l-34.9 44.5c-8.2 10.4-6.4 25.5 4.1 33.7s25.5 6.4 33.7-4.1l25-31.8 18.2 5.2c-.5 22.6 11 44.7 32 56.8s45.9 11 65.2-.7l13.6 13.2-15.1 37.5c-4.9 12.3 1 26.3 13.3 31.2s26.3-1 31.2-13.3L535.5 440c3.6-9.1 1.4-19.4-5.6-26.2l-28-27.1 11.6-20.1 27.7 16c9.9 5.7 22.5 3.7 30-4.9L598.2 347c8.7-10 7.8-25.1-2.2-33.9s-25.1-7.8-33.9 2.2l-13.9 15.9-14.7-8.5c1.7-12.4-.2-25-5.5-36.2z"]
  113474. };
  113475. var faRupeeSign = {
  113476. prefix: 'fas',
  113477. iconName: 'rupee-sign',
  113478. icon: [448, 512, [8360, "rupee"], "f156", "M0 64C0 46.3 14.3 32 32 32h80c79.5 0 144 64.5 144 144c0 58.8-35.2 109.3-85.7 131.7l51.4 128.4c6.6 16.4-1.4 35-17.8 41.6s-35-1.4-41.6-17.8L106.3 320H64V448c0 17.7-14.3 32-32 32s-32-14.3-32-32V288 64zM64 256h48c44.2 0 80-35.8 80-80s-35.8-80-80-80H64V256zm256.5 16.4c-.9 6 0 8.7 .4 9.8c.4 1.1 1.4 2.6 4.2 4.9c7.2 5.7 18.7 10 37.9 16.8l1.3 .5c16 5.6 38.7 13.6 55.7 28.1c9.5 8.1 17.9 18.6 23.1 32.3c5.1 13.7 6.1 28.5 3.8 44c-4.2 28.1-20.5 49.3-43.8 60.9c-22.1 11-48.1 12.5-73.2 8l-.2 0 0 0c-9.3-1.8-20.5-5.7-29.3-9c-6-2.3-12.6-4.9-17.7-6.9l0 0c-2.5-1-4.6-1.8-6.3-2.5c-16.5-6.4-24.6-25-18.2-41.4s25-24.6 41.4-18.2c2.6 1 5.2 2 7.9 3.1l0 0c4.8 1.9 9.8 3.9 15.4 6c8.8 3.3 15.3 5.4 18.7 6c15.7 2.8 26.7 .8 32.9-2.3c5-2.5 8-6 9.1-13c1-6.9 .2-10.5-.5-12.3c-.6-1.7-1.8-3.6-4.5-5.9c-6.9-5.8-18.2-10.4-36.9-17l-3-1.1c-15.5-5.4-37-13-53.3-25.9c-9.5-7.5-18.3-17.6-23.7-31c-5.4-13.4-6.6-28-4.4-43.2c8.5-57.1 67-78 116.9-68.9c6.9 1.3 27.3 5.8 35.4 8.4c16.9 5.2 26.3 23.2 21.1 40.1s-23.2 26.3-40.1 21.1c-4.7-1.4-22.3-5.5-27.9-6.5c-14.6-2.7-25.8-.4-32.6 3.2c-6.3 3.3-8.9 7.6-9.5 12z"]
  113479. };
  113480. var faRupee = faRupeeSign;
  113481. var faFileImage = {
  113482. prefix: 'fas',
  113483. iconName: 'file-image',
  113484. icon: [384, 512, [128443], "f1c5", "M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM128 256c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zm88 32c5.3 0 10.2 2.6 13.2 6.9l88 128c3.4 4.9 3.7 11.3 1 16.5s-8.2 8.6-14.2 8.6H216 176 128 80c-5.8 0-11.1-3.1-13.9-8.1s-2.8-11.2 .2-16.1l48-80c2.9-4.8 8.1-7.8 13.7-7.8s10.8 2.9 13.7 7.8l12.8 21.4 48.3-70.2c3-4.3 7.9-6.9 13.2-6.9z"]
  113485. };
  113486. var faCircleQuestion = {
  113487. prefix: 'fas',
  113488. iconName: 'circle-question',
  113489. icon: [512, 512, [62108, "question-circle"], "f059", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM169.8 165.3c7.9-22.3 29.1-37.3 52.8-37.3h58.3c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24V250.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1H222.6c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM288 352c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32z"]
  113490. };
  113491. var faQuestionCircle = faCircleQuestion;
  113492. var faPlaneDeparture = {
  113493. prefix: 'fas',
  113494. iconName: 'plane-departure',
  113495. icon: [640, 512, [128747], "f5b0", "M381 114.9L186.1 41.8c-16.7-6.2-35.2-5.3-51.1 2.7L89.1 67.4C78 73 77.2 88.5 87.6 95.2l146.9 94.5L136 240 77.8 214.1c-8.7-3.9-18.8-3.7-27.3 .6L18.3 230.8c-9.3 4.7-11.8 16.8-5 24.7l73.1 85.3c6.1 7.1 15 11.2 24.3 11.2H248.4c5 0 9.9-1.2 14.3-3.4L535.6 212.2c46.5-23.3 82.5-63.3 100.8-112C645.9 75 627.2 48 600.2 48H542.8c-20.2 0-40.2 4.8-58.2 14L381 114.9zM0 480c0 17.7 14.3 32 32 32H608c17.7 0 32-14.3 32-32s-14.3-32-32-32H32c-17.7 0-32 14.3-32 32z"]
  113496. };
  113497. var faHandshakeSlash = {
  113498. prefix: 'fas',
  113499. iconName: 'handshake-slash',
  113500. icon: [640, 512, [], "e060", "M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7l-135-105.8c-1.1-11.4-6.3-22.3-15.3-30.7l-134.2-123-23.4 18.2-26-20.3 77.2-60.1c7-5.4 17-4.2 22.5 2.8s4.2 17-2.8 22.5l-20.9 16.2L512 316.8V128h-.7l-3.9-2.5L434.8 79c-15.3-9.8-33.2-15-51.4-15c-21.8 0-43 7.5-60 21.2l-89.7 72.6-25.8-20.3 81.8-66.2c-11.6-4.9-24.1-7.4-36.8-7.4C234 64 215.7 69.6 200 80l-35.5 23.7L38.8 5.1zM96 171.6L40.6 128H0V352c0 17.7 14.3 32 32 32H64c17.7 0 32-14.3 32-32V171.6zM413.6 421.9L128 196.9V352h28.2l91.4 83.4c19.6 17.9 49.9 16.5 67.8-3.1c5.5-6.1 9.2-13.2 11.1-20.6l17 15.6c19.5 17.9 49.9 16.6 67.8-2.9c.8-.8 1.5-1.7 2.2-2.6zM48 352c-8.8 0-16-7.2-16-16s7.2-16 16-16s16 7.2 16 16s-7.2 16-16 16zM544 128V352c0 17.7 14.3 32 32 32h32c17.7 0 32-14.3 32-32V128H544zm64 208c0 8.8-7.2 16-16 16s-16-7.2-16-16s7.2-16 16-16s16 7.2 16 16z"]
  113501. };
  113502. var faBookBookmark = {
  113503. prefix: 'fas',
  113504. iconName: 'book-bookmark',
  113505. icon: [448, 512, [], "e0bb", "M0 96C0 43 43 0 96 0h96V190.7c0 13.4 15.5 20.9 26 12.5L272 160l54 43.2c10.5 8.4 26 .9 26-12.5V0h32 32c17.7 0 32 14.3 32 32V352c0 17.7-14.3 32-32 32v64c17.7 0 32 14.3 32 32s-14.3 32-32 32H384 96c-53 0-96-43-96-96V96zM64 416c0 17.7 14.3 32 32 32H352V384H96c-17.7 0-32 14.3-32 32z"]
  113506. };
  113507. var faCodeBranch = {
  113508. prefix: 'fas',
  113509. iconName: 'code-branch',
  113510. icon: [448, 512, [], "f126", "M80 104c13.3 0 24-10.7 24-24s-10.7-24-24-24S56 66.7 56 80s10.7 24 24 24zm80-24c0 32.8-19.7 61-48 73.3v87.8c18.8-10.9 40.7-17.1 64-17.1h96c35.3 0 64-28.7 64-64v-6.7C307.7 141 288 112.8 288 80c0-44.2 35.8-80 80-80s80 35.8 80 80c0 32.8-19.7 61-48 73.3V160c0 70.7-57.3 128-128 128H176c-35.3 0-64 28.7-64 64v6.7c28.3 12.3 48 40.5 48 73.3c0 44.2-35.8 80-80 80s-80-35.8-80-80c0-32.8 19.7-61 48-73.3V352 153.3C19.7 141 0 112.8 0 80C0 35.8 35.8 0 80 0s80 35.8 80 80zm232 0c0-13.3-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24s24-10.7 24-24zM80 456c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24z"]
  113511. };
  113512. var faHatCowboy = {
  113513. prefix: 'fas',
  113514. iconName: 'hat-cowboy',
  113515. icon: [640, 512, [], "f8c0", "M320 64c14.4 0 22.3-7 30.8-14.4C360.4 41.1 370.7 32 392 32c49.3 0 84.4 152.2 97.9 221.9C447.8 272.1 390.9 288 320 288s-127.8-15.9-169.9-34.1C163.6 184.2 198.7 32 248 32c21.3 0 31.6 9.1 41.2 17.6C297.7 57 305.6 64 320 64zM111.1 270.7c47.2 24.5 117.5 49.3 209 49.3s161.8-24.8 208.9-49.3c24.8-12.9 49.8-28.3 70.1-47.7c7.9-7.9 20.2-9.2 29.6-3.3c9.5 5.9 13.5 17.9 9.9 28.5c-13.5 37.7-38.4 72.3-66.1 100.6C523.7 398.9 443.6 448 320 448s-203.6-49.1-252.5-99.2C39.8 320.4 14.9 285.8 1.4 248.1c-3.6-10.6 .4-22.6 9.9-28.5c9.5-5.9 21.7-4.5 29.6 3.3c20.4 19.4 45.3 34.8 70.1 47.7z"]
  113516. };
  113517. var faBridge = {
  113518. prefix: 'fas',
  113519. iconName: 'bridge',
  113520. icon: [576, 512, [], "e4c8", "M32 32C14.3 32 0 46.3 0 64S14.3 96 32 96H72v64H0V288c53 0 96 43 96 96v64c0 17.7 14.3 32 32 32h32c17.7 0 32-14.3 32-32V384c0-53 43-96 96-96s96 43 96 96v64c0 17.7 14.3 32 32 32h32c17.7 0 32-14.3 32-32V384c0-53 43-96 96-96V160H504V96h40c17.7 0 32-14.3 32-32s-14.3-32-32-32H32zM456 96v64H376V96h80zM328 96v64H248V96h80zM200 96v64H120V96h80z"]
  113521. };
  113522. var faPhoneFlip = {
  113523. prefix: 'fas',
  113524. iconName: 'phone-flip',
  113525. icon: [512, 512, [128381, "phone-alt"], "f879", "M347.1 24.6c7.7-18.6 28-28.5 47.4-23.2l88 24C499.9 30.2 512 46 512 64c0 247.4-200.6 448-448 448c-18 0-33.8-12.1-38.6-29.5l-24-88c-5.3-19.4 4.6-39.7 23.2-47.4l96-40c16.3-6.8 35.2-2.1 46.3 11.6L207.3 368c70.4-33.3 127.4-90.3 160.7-160.7L318.7 167c-13.7-11.2-18.4-30-11.6-46.3l40-96z"]
  113526. };
  113527. var faPhoneAlt = faPhoneFlip;
  113528. var faTruckFront = {
  113529. prefix: 'fas',
  113530. iconName: 'truck-front',
  113531. icon: [512, 512, [], "e2b7", "M0 80C0 35.8 35.8 0 80 0H432c44.2 0 80 35.8 80 80V368c0 26.2-12.6 49.4-32 64v48c0 17.7-14.3 32-32 32H416c-17.7 0-32-14.3-32-32V448H128v32c0 17.7-14.3 32-32 32H64c-17.7 0-32-14.3-32-32V432C12.6 417.4 0 394.2 0 368V80zm129.9 72.2L112 224H400l-17.9-71.8C378.5 138 365.7 128 351 128H161c-14.7 0-27.5 10-31 24.2zM128 320c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zm288 32c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32z"]
  113532. };
  113533. var faCat = {
  113534. prefix: 'fas',
  113535. iconName: 'cat',
  113536. icon: [512, 512, [128008], "f6be", "M288 192h17.1c22.1 38.3 63.5 64 110.9 64c11 0 21.8-1.4 32-4v4 32V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V339.2L248 448h56c17.7 0 32 14.3 32 32s-14.3 32-32 32H160c-53 0-96-43-96-96V192.5c0-16.1-12-29.8-28-31.8l-7.9-1C10.5 157.6-1.9 141.6 .2 124s18.2-30 35.7-27.8l7.9 1c48 6 84.1 46.8 84.1 95.3v85.3c34.4-51.7 93.2-85.8 160-85.8zm160 26.5v0c-10 3.5-20.8 5.5-32 5.5c-28.4 0-54-12.4-71.6-32h0c-3.7-4.1-7-8.5-9.9-13.2C325.3 164 320 146.6 320 128v0V32 12 10.7C320 4.8 324.7 .1 330.6 0h.2c3.3 0 6.4 1.6 8.4 4.2l0 .1L352 21.3l27.2 36.3L384 64h64l4.8-6.4L480 21.3 492.8 4.3l0-.1c2-2.6 5.1-4.2 8.4-4.2h.2C507.3 .1 512 4.8 512 10.7V12 32v96c0 17.3-4.6 33.6-12.6 47.6c-11.3 19.8-29.6 35.2-51.4 42.9zM400 128c0-8.8-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16s16-7.2 16-16zm48 16c8.8 0 16-7.2 16-16s-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16z"]
  113537. };
  113538. var faAnchorCircleExclamation = {
  113539. prefix: 'fas',
  113540. iconName: 'anchor-circle-exclamation',
  113541. icon: [640, 512, [], "e4ab", "M256 96c0-17.7 14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32s-32-14.3-32-32zm85.1 80C367 158.8 384 129.4 384 96c0-53-43-96-96-96s-96 43-96 96c0 33.4 17 62.8 42.9 80H224c-17.7 0-32 14.3-32 32s14.3 32 32 32h32V448H208c-53 0-96-43-96-96v-6.1l7 7c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L97 263c-9.4-9.4-24.6-9.4-33.9 0L7 319c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l7-7V352c0 88.4 71.6 160 160 160h80 80c8.2 0 16.3-.6 24.2-1.8c-22.2-16.2-40.4-37.5-53-62.2H320V368 240h32c17.7 0 32-14.3 32-32s-14.3-32-32-32H341.1zM496 512c79.5 0 144-64.5 144-144s-64.5-144-144-144s-144 64.5-144 144s64.5 144 144 144zm0-48c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm0-192c8.8 0 16 7.2 16 16v80c0 8.8-7.2 16-16 16s-16-7.2-16-16V288c0-8.8 7.2-16 16-16z"]
  113542. };
  113543. var faTruckField = {
  113544. prefix: 'fas',
  113545. iconName: 'truck-field',
  113546. icon: [640, 512, [], "e58d", "M32 96c0-35.3 28.7-64 64-64H320c23.7 0 44.4 12.9 55.4 32h51.8c25.3 0 48.2 14.9 58.5 38l52.8 118.8c.5 1.1 .9 2.1 1.3 3.2H544c35.3 0 64 28.7 64 64v32c17.7 0 32 14.3 32 32s-14.3 32-32 32H576c0 53-43 96-96 96s-96-43-96-96H256c0 53-43 96-96 96s-96-43-96-96H32c-17.7 0-32-14.3-32-32s14.3-32 32-32V288c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32V96zM384 224h85.9l-42.7-96H384v96zM160 432c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zm368-48c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48z"]
  113547. };
  113548. var faRoute = {
  113549. prefix: 'fas',
  113550. iconName: 'route',
  113551. icon: [512, 512, [], "f4d7", "M416 256s96-96 96-160c0-53-43-96-96-96s-96 43-96 96c0 29.4 20.2 65.5 42.1 96H320c-53 0-96 43-96 96s43 96 96 96h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H188.6c-6.2 9.6-12.6 18.8-19 27.2c-10.7 14.2-21.3 26.9-30 36.8H416c53 0 96-43 96-96s-43-96-96-96H320c-17.7 0-32-14.3-32-32s14.3-32 32-32h96zm0-128c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zM149.9 448c21.9-30.5 42.1-66.6 42.1-96c0-53-43-96-96-96s-96 43-96 96c0 64 96 160 96 160s3.5-3.5 9.2-9.6c.4-.4 .7-.8 1.1-1.2c3.3-3.5 7.1-7.8 11.4-12.8c.2-.2 .4-.4 .6-.6c9.4-10.8 20.7-24.6 31.6-39.8zM96 384c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]
  113552. };
  113553. var faClipboardQuestion = {
  113554. prefix: 'fas',
  113555. iconName: 'clipboard-question',
  113556. icon: [384, 512, [], "e4e3", "M192 0c-41.8 0-77.4 26.7-90.5 64H64C28.7 64 0 92.7 0 128V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64H282.5C269.4 26.7 233.8 0 192 0zm0 128c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zM105.8 229.3c7.9-22.3 29.1-37.3 52.8-37.3h58.3c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L216 328.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24V314.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1H158.6c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM224 416c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32z"]
  113557. };
  113558. var faPanorama = {
  113559. prefix: 'fas',
  113560. iconName: 'panorama',
  113561. icon: [640, 512, [], "e209", "M45.6 32C20.4 32 0 52.4 0 77.6V434.4C0 459.6 20.4 480 45.6 480c5.1 0 10-.8 14.7-2.4C74.6 472.8 177.6 440 320 440s245.4 32.8 259.6 37.6c4.7 1.6 9.7 2.4 14.7 2.4c25.2 0 45.6-20.4 45.6-45.6V77.6C640 52.4 619.6 32 594.4 32c-5 0-10 .8-14.7 2.4C565.4 39.2 462.4 72 320 72S74.6 39.2 60.4 34.4C55.6 32.8 50.7 32 45.6 32zM160 160c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zm208 0c7.9 0 15.4 3.9 19.8 10.5L512.3 353c5.4 8 5.6 18.4 .4 26.5s-14.7 12.3-24.2 10.7C442.7 382.4 385.2 376 320 376c-65.6 0-123.4 6.5-169.3 14.4c-9.8 1.7-19.7-2.9-24.7-11.5s-4.3-19.4 1.9-27.2L197.3 265c4.6-5.7 11.4-9 18.7-9s14.2 3.3 18.7 9l26.4 33.1 87-127.6c4.5-6.6 11.9-10.5 19.8-10.5z"]
  113562. };
  113563. var faCommentMedical = {
  113564. prefix: 'fas',
  113565. iconName: 'comment-medical',
  113566. icon: [512, 512, [], "f7f5", "M256 448c141.4 0 256-93.1 256-208S397.4 32 256 32S0 125.1 0 240c0 45.1 17.7 86.8 47.7 120.9c-1.9 24.5-11.4 46.3-21.4 62.9c-5.5 9.2-11.1 16.6-15.2 21.6c-2.1 2.5-3.7 4.4-4.9 5.7c-.6 .6-1 1.1-1.3 1.4l-.3 .3 0 0 0 0 0 0 0 0c-4.6 4.6-5.9 11.4-3.4 17.4c2.5 6 8.3 9.9 14.8 9.9c28.7 0 57.6-8.9 81.6-19.3c22.9-10 42.4-21.9 54.3-30.6c31.8 11.5 67 17.9 104.1 17.9zM224 160c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v48h48c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H288v48c0 8.8-7.2 16-16 16H240c-8.8 0-16-7.2-16-16V272H176c-8.8 0-16-7.2-16-16V224c0-8.8 7.2-16 16-16h48V160z"]
  113567. };
  113568. var faTeethOpen = {
  113569. prefix: 'fas',
  113570. iconName: 'teeth-open',
  113571. icon: [576, 512, [], "f62f", "M96 32C43 32 0 75 0 128v64c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V128c0-53-43-96-96-96H96zM224 96c26.5 0 48 21.5 48 48v56c0 13.3-10.7 24-24 24H200c-13.3 0-24-10.7-24-24V144c0-26.5 21.5-48 48-48zm80 48c0-26.5 21.5-48 48-48s48 21.5 48 48v56c0 13.3-10.7 24-24 24H328c-13.3 0-24-10.7-24-24V144zM96 128c26.5 0 48 21.5 48 48v24c0 13.3-10.7 24-24 24H72c-13.3 0-24-10.7-24-24V176c0-26.5 21.5-48 48-48zm336 48c0-26.5 21.5-48 48-48s48 21.5 48 48v24c0 13.3-10.7 24-24 24H456c-13.3 0-24-10.7-24-24V176zM96 480H480c53 0 96-43 96-96V352c0-35.3-28.7-64-64-64H64c-35.3 0-64 28.7-64 64v32c0 53 43 96 96 96zm0-64c-26.5 0-48-21.5-48-48V344c0-13.3 10.7-24 24-24h48c13.3 0 24 10.7 24 24v24c0 26.5-21.5 48-48 48zm80-48V344c0-13.3 10.7-24 24-24h48c13.3 0 24 10.7 24 24v24c0 26.5-21.5 48-48 48s-48-21.5-48-48zm176 48c-26.5 0-48-21.5-48-48V344c0-13.3 10.7-24 24-24h48c13.3 0 24 10.7 24 24v24c0 26.5-21.5 48-48 48zm80-48V344c0-13.3 10.7-24 24-24h48c13.3 0 24 10.7 24 24v24c0 26.5-21.5 48-48 48s-48-21.5-48-48z"]
  113572. };
  113573. var faFileCircleMinus = {
  113574. prefix: 'fas',
  113575. iconName: 'file-circle-minus',
  113576. icon: [576, 512, [], "e4ed", "M0 64C0 28.7 28.7 0 64 0H224V128c0 17.7 14.3 32 32 32H384v38.6C310.1 219.5 256 287.4 256 368c0 59.1 29.1 111.3 73.7 143.3c-3.2 .5-6.4 .7-9.7 .7H64c-35.3 0-64-28.7-64-64V64zm384 64H256V0L384 128zM576 368c0 79.5-64.5 144-144 144s-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144zm-64 0c0-8.8-7.2-16-16-16H368c-8.8 0-16 7.2-16 16s7.2 16 16 16H496c8.8 0 16-7.2 16-16z"]
  113577. };
  113578. var faTags = {
  113579. prefix: 'fas',
  113580. iconName: 'tags',
  113581. icon: [512, 512, [], "f02c", "M345 39.1L472.8 168.4c52.4 53 52.4 138.2 0 191.2L360.8 472.9c-9.3 9.4-24.5 9.5-33.9 .2s-9.5-24.5-.2-33.9L438.6 325.9c33.9-34.3 33.9-89.4 0-123.7L310.9 72.9c-9.3-9.4-9.2-24.6 .2-33.9s24.6-9.2 33.9 .2zM0 229.5V80C0 53.5 21.5 32 48 32H197.5c17 0 33.3 6.7 45.3 18.7l168 168c25 25 25 65.5 0 90.5L277.3 442.7c-25 25-65.5 25-90.5 0l-168-168C6.7 262.7 0 246.5 0 229.5zM144 144c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32z"]
  113582. };
  113583. var faWineGlass = {
  113584. prefix: 'fas',
  113585. iconName: 'wine-glass',
  113586. icon: [320, 512, [127863], "f4e3", "M64 0C47.4 0 33.5 12.8 32.1 29.3l-14 168.4c-6 72 42.5 135.2 109.9 150.6V448H80c-17.7 0-32 14.3-32 32s14.3 32 32 32h80 80c17.7 0 32-14.3 32-32s-14.3-32-32-32H192V348.4c67.4-15.4 115.9-78.6 109.9-150.6l-14-168.4C286.5 12.8 272.6 0 256 0H64zM88.1 128l5.3-64H226.6l5.3 64H88.1z"]
  113587. };
  113588. var faForwardFast = {
  113589. prefix: 'fas',
  113590. iconName: 'forward-fast',
  113591. icon: [512, 512, [9197, "fast-forward"], "f050", "M18.4 445c11.2 5.3 24.5 3.6 34.1-4.4L224 297.7V416c0 12.4 7.2 23.7 18.4 29s24.5 3.6 34.1-4.4L448 297.7V416c0 17.7 14.3 32 32 32s32-14.3 32-32V96c0-17.7-14.3-32-32-32s-32 14.3-32 32V214.3L276.5 71.4c-9.5-7.9-22.8-9.7-34.1-4.4S224 83.6 224 96V214.3L52.5 71.4c-9.5-7.9-22.8-9.7-34.1-4.4S0 83.6 0 96V416c0 12.4 7.2 23.7 18.4 29z"]
  113592. };
  113593. var faFastForward = faForwardFast;
  113594. var faFaceMehBlank = {
  113595. prefix: 'fas',
  113596. iconName: 'face-meh-blank',
  113597. icon: [512, 512, [128566, "meh-blank"], "f5a4", "M512 256c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM208.4 208c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zm128 32c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32z"]
  113598. };
  113599. var faMehBlank = faFaceMehBlank;
  113600. var faSquareParking = {
  113601. prefix: 'fas',
  113602. iconName: 'square-parking',
  113603. icon: [448, 512, [127359, "parking"], "f540", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM192 256h48c17.7 0 32-14.3 32-32s-14.3-32-32-32H192v64zm48 64H192v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V288 168c0-22.1 17.9-40 40-40h72c53 0 96 43 96 96s-43 96-96 96z"]
  113604. };
  113605. var faParking = faSquareParking;
  113606. var faHouseSignal = {
  113607. prefix: 'fas',
  113608. iconName: 'house-signal',
  113609. icon: [576, 512, [], "e012", "M314.3 8.5c12.3-11.3 31.2-11.3 43.4 0l208 192c9.7 8.9 12.9 22.9 8.1 35.2S557.2 256 544 256H512V368c0 26.5-21.5 48-48 48H278.1C259.6 350.8 216.8 295.9 160 261.7V256h-9.9c-16.5-9-34-16.2-52.3-21.6c-4.1-12-.8-25.3 8.5-34l208-192zM304 192c-8.8 0-16 7.2-16 16v64c0 8.8 7.2 16 16 16h64c8.8 0 16-7.2 16-16V208c0-8.8-7.2-16-16-16H304zM24 256c128.1 0 232 103.9 232 232c0 13.3-10.7 24-24 24s-24-10.7-24-24c0-101.6-82.4-184-184-184c-13.3 0-24-10.7-24-24s10.7-24 24-24zm8 256c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zM0 376c0-13.3 10.7-24 24-24c75.1 0 136 60.9 136 136c0 13.3-10.7 24-24 24s-24-10.7-24-24c0-48.6-39.4-88-88-88c-13.3 0-24-10.7-24-24z"]
  113610. };
  113611. var faBarsProgress = {
  113612. prefix: 'fas',
  113613. iconName: 'bars-progress',
  113614. icon: [512, 512, ["tasks-alt"], "f828", "M448 160H320V128H448v32zM48 64C21.5 64 0 85.5 0 112v64c0 26.5 21.5 48 48 48H464c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48H48zM448 352v32H192V352H448zM48 288c-26.5 0-48 21.5-48 48v64c0 26.5 21.5 48 48 48H464c26.5 0 48-21.5 48-48V336c0-26.5-21.5-48-48-48H48z"]
  113615. };
  113616. var faTasksAlt = faBarsProgress;
  113617. var faFaucetDrip = {
  113618. prefix: 'fas',
  113619. iconName: 'faucet-drip',
  113620. icon: [512, 512, [128688], "e006", "M224 0c17.7 0 32 14.3 32 32V44l96-12c17.7 0 32 14.3 32 32s-14.3 32-32 32L256 84l-31-3.9-1-.1-1 .1L192 84 96 96C78.3 96 64 81.7 64 64s14.3-32 32-32l96 12V32c0-17.7 14.3-32 32-32zM0 224c0-17.7 14.3-32 32-32h96l22.6-22.6c6-6 14.1-9.4 22.6-9.4H192V116.2l32-4 32 4V160h18.7c8.5 0 16.6 3.4 22.6 9.4L320 192h32c88.4 0 160 71.6 160 160c0 17.7-14.3 32-32 32H416c-17.7 0-32-14.3-32-32s-14.3-32-32-32H315.9c-20.2 29-53.9 48-91.9 48s-71.7-19-91.9-48H32c-17.7 0-32-14.3-32-32V224zM436.8 423.4c1.9-4.5 6.3-7.4 11.2-7.4s9.2 2.9 11.2 7.4l18.2 42.4c1.8 4.1 2.7 8.6 2.7 13.1V480c0 17.7-14.3 32-32 32s-32-14.3-32-32v-1.2c0-4.5 .9-8.9 2.7-13.1l18.2-42.4z"]
  113621. };
  113622. var faCartFlatbed = {
  113623. prefix: 'fas',
  113624. iconName: 'cart-flatbed',
  113625. icon: [640, 512, ["dolly-flatbed"], "f474", "M32 0C14.3 0 0 14.3 0 32S14.3 64 32 64H48c8.8 0 16 7.2 16 16V368c0 44.2 35.8 80 80 80h18.7c-1.8 5-2.7 10.4-2.7 16c0 26.5 21.5 48 48 48s48-21.5 48-48c0-5.6-1-11-2.7-16H450.7c-1.8 5-2.7 10.4-2.7 16c0 26.5 21.5 48 48 48s48-21.5 48-48c0-5.6-1-11-2.7-16H608c17.7 0 32-14.3 32-32s-14.3-32-32-32H144c-8.8 0-16-7.2-16-16V80C128 35.8 92.2 0 48 0H32zM192 80V272c0 26.5 21.5 48 48 48H560c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48H464V176c0 5.9-3.2 11.3-8.5 14.1s-11.5 2.5-16.4-.8L400 163.2l-39.1 26.1c-4.9 3.3-11.2 3.6-16.4 .8s-8.5-8.2-8.5-14.1V32H240c-26.5 0-48 21.5-48 48z"]
  113626. };
  113627. var faDollyFlatbed = faCartFlatbed;
  113628. var faBanSmoking = {
  113629. prefix: 'fas',
  113630. iconName: 'ban-smoking',
  113631. icon: [512, 512, [128685, "smoking-ban"], "f54d", "M99.5 144.8L178.7 224l96 96 92.5 92.5C335.9 434.9 297.5 448 256 448C150 448 64 362 64 256c0-41.5 13.1-79.9 35.5-111.2zM333.3 288l-32-32H384v32H333.3zm32 32H400c8.8 0 16-7.2 16-16V240c0-8.8-7.2-16-16-16H269.3L144.8 99.5C176.1 77.1 214.5 64 256 64c106 0 192 86 192 192c0 41.5-13.1 79.9-35.5 111.2L365.3 320zM256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM272 96c-8.8 0-16 7.2-16 16c0 26.5 21.5 48 48 48h32c8.8 0 16 7.2 16 16s7.2 16 16 16s16-7.2 16-16c0-26.5-21.5-48-48-48H304c-8.8 0-16-7.2-16-16s-7.2-16-16-16zM229.5 320l-96-96H112c-8.8 0-16 7.2-16 16v64c0 8.8 7.2 16 16 16H229.5z"]
  113632. };
  113633. var faSmokingBan = faBanSmoking;
  113634. var faTerminal = {
  113635. prefix: 'fas',
  113636. iconName: 'terminal',
  113637. icon: [640, 512, [], "f120", "M41.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 41.4 86.6zM288 416H576c17.7 0 32 14.3 32 32s-14.3 32-32 32H288c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]
  113638. };
  113639. var faMobileButton = {
  113640. prefix: 'fas',
  113641. iconName: 'mobile-button',
  113642. icon: [384, 512, [], "f10b", "M80 0C44.7 0 16 28.7 16 64V448c0 35.3 28.7 64 64 64H304c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H80zM192 464c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]
  113643. };
  113644. var faHouseMedicalFlag = {
  113645. prefix: 'fas',
  113646. iconName: 'house-medical-flag',
  113647. icon: [640, 512, [], "e514", "M480 0c17.7 0 32 14.3 32 32H624c8.8 0 16 7.2 16 16V176c0 8.8-7.2 16-16 16H512V512H448V192 32c0-17.7 14.3-32 32-32zM276.8 39.7L416 159V512h1l-.2 0H96c-17.7 0-32-14.3-32-32V288H32c-13.4 0-25.4-8.3-30-20.9s-1-26.7 9.2-35.4l224-192c12-10.3 29.7-10.3 41.7 0zM224 208v48H176c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h48v48c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V320h48c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16H288V208c0-8.8-7.2-16-16-16H240c-8.8 0-16 7.2-16 16z"]
  113648. };
  113649. var faBasketShopping = {
  113650. prefix: 'fas',
  113651. iconName: 'basket-shopping',
  113652. icon: [576, 512, ["shopping-basket"], "f291", "M253.3 35.1c6.1-11.8 1.5-26.3-10.2-32.4s-26.3-1.5-32.4 10.2L117.6 192H32c-17.7 0-32 14.3-32 32s14.3 32 32 32L83.9 463.5C91 492 116.6 512 146 512H430c29.4 0 55-20 62.1-48.5L544 256c17.7 0 32-14.3 32-32s-14.3-32-32-32H458.4L365.3 12.9C359.2 1.2 344.7-3.4 332.9 2.7s-16.3 20.6-10.2 32.4L404.3 192H171.7L253.3 35.1zM192 304v96c0 8.8-7.2 16-16 16s-16-7.2-16-16V304c0-8.8 7.2-16 16-16s16 7.2 16 16zm96-16c8.8 0 16 7.2 16 16v96c0 8.8-7.2 16-16 16s-16-7.2-16-16V304c0-8.8 7.2-16 16-16zm128 16v96c0 8.8-7.2 16-16 16s-16-7.2-16-16V304c0-8.8 7.2-16 16-16s16 7.2 16 16z"]
  113653. };
  113654. var faShoppingBasket = faBasketShopping;
  113655. var faTape = {
  113656. prefix: 'fas',
  113657. iconName: 'tape',
  113658. icon: [576, 512, [], "f4db", "M380.8 416c41.5-40.7 67.2-97.3 67.2-160C448 132.3 347.7 32 224 32S0 132.3 0 256S100.3 480 224 480H544c17.7 0 32-14.3 32-32s-14.3-32-32-32H380.8zM224 352c-53 0-96-43-96-96s43-96 96-96s96 43 96 96s-43 96-96 96zm64-96c0-35.3-28.7-64-64-64s-64 28.7-64 64s28.7 64 64 64s64-28.7 64-64z"]
  113659. };
  113660. var faBusSimple = {
  113661. prefix: 'fas',
  113662. iconName: 'bus-simple',
  113663. icon: [448, 512, ["bus-alt"], "f55e", "M224 0C348.8 0 448 35.2 448 80V96 416c0 17.7-14.3 32-32 32v32c0 17.7-14.3 32-32 32H352c-17.7 0-32-14.3-32-32V448H128v32c0 17.7-14.3 32-32 32H64c-17.7 0-32-14.3-32-32l0-32c-17.7 0-32-14.3-32-32V96 80C0 35.2 99.2 0 224 0zM64 128V256c0 17.7 14.3 32 32 32H352c17.7 0 32-14.3 32-32V128c0-17.7-14.3-32-32-32H96c-17.7 0-32 14.3-32 32zM80 400c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32z"]
  113664. };
  113665. var faBusAlt = faBusSimple;
  113666. var faEye = {
  113667. prefix: 'fas',
  113668. iconName: 'eye',
  113669. icon: [576, 512, [128065], "f06e", "M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM432 256c0 79.5-64.5 144-144 144s-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144zM288 192c0 35.3-28.7 64-64 64c-11.5 0-22.3-3-31.6-8.4c-.2 2.8-.4 5.5-.4 8.4c0 53 43 96 96 96s96-43 96-96s-43-96-96-96c-2.8 0-5.6 .1-8.4 .4c5.3 9.3 8.4 20.1 8.4 31.6z"]
  113670. };
  113671. var faFaceSadCry = {
  113672. prefix: 'fas',
  113673. iconName: 'face-sad-cry',
  113674. icon: [512, 512, [128557, "sad-cry"], "f5b3", "M352 493.4c-29.6 12-62.1 18.6-96 18.6s-66.4-6.6-96-18.6V288c0-8.8-7.2-16-16-16s-16 7.2-16 16V477.8C51.5 433.5 0 350.8 0 256C0 114.6 114.6 0 256 0S512 114.6 512 256c0 94.8-51.5 177.5-128 221.8V288c0-8.8-7.2-16-16-16s-16 7.2-16 16V493.4zM195.2 233.6c5.3 7.1 15.3 8.5 22.4 3.2s8.5-15.3 3.2-22.4c-30.4-40.5-91.2-40.5-121.6 0c-5.3 7.1-3.9 17.1 3.2 22.4s17.1 3.9 22.4-3.2c17.6-23.5 52.8-23.5 70.4 0zm121.6 0c17.6-23.5 52.8-23.5 70.4 0c5.3 7.1 15.3 8.5 22.4 3.2s8.5-15.3 3.2-22.4c-30.4-40.5-91.2-40.5-121.6 0c-5.3 7.1-3.9 17.1 3.2 22.4s17.1 3.9 22.4-3.2zM208 336v32c0 26.5 21.5 48 48 48s48-21.5 48-48V336c0-26.5-21.5-48-48-48s-48 21.5-48 48z"]
  113675. };
  113676. var faSadCry = faFaceSadCry;
  113677. var faAudioDescription = {
  113678. prefix: 'fas',
  113679. iconName: 'audio-description',
  113680. icon: [576, 512, [], "f29e", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM213.5 173.3l72 144c5.9 11.9 1.1 26.3-10.7 32.2s-26.3 1.1-32.2-10.7l-9.4-18.9H150.9l-9.4 18.9c-5.9 11.9-20.3 16.7-32.2 10.7s-16.7-20.3-10.7-32.2l72-144c4.1-8.1 12.4-13.3 21.5-13.3s17.4 5.1 21.5 13.3zm-.4 106.6L192 237.7l-21.1 42.2h42.2zM304 184c0-13.3 10.7-24 24-24h56c53 0 96 43 96 96s-43 96-96 96H328c-13.3 0-24-10.7-24-24V184zm48 24v96h32c26.5 0 48-21.5 48-48s-21.5-48-48-48H352z"]
  113681. };
  113682. var faPersonMilitaryToPerson = {
  113683. prefix: 'fas',
  113684. iconName: 'person-military-to-person',
  113685. icon: [512, 512, [], "e54c", "M71 12.5c-8.6 1-15 8.2-15 16.8c0 9.3 7.5 16.8 16.7 16.9H184.1c8.8-.1 15.9-7.2 15.9-16V16c0-9.5-8.3-17-17.8-15.9L71 12.5zM189.5 78.1H66.5C64.9 83.8 64 89.8 64 96c0 35.3 28.7 64 64 64s64-28.7 64-64c0-6.2-.9-12.2-2.5-17.9zM32 256v32c0 17.7 14.3 32 32 32H192c1.8 0 3.5-.1 5.2-.4L53 208.6C40.1 220.3 32 237.2 32 256zm190.2 42.5c1.1-3.3 1.8-6.8 1.8-10.5V256c0-35.3-28.7-64-64-64H96c-3.7 0-7.4 .3-10.9 .9L222.2 298.5zM384 160c35.3 0 64-28.7 64-64s-28.7-64-64-64s-64 28.7-64 64s28.7 64 64 64zm-32 32c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32H448c17.7 0 32-14.3 32-32V256c0-35.3-28.7-64-64-64H352zM215.8 450.1c5.2-4.6 8.2-11.1 8.2-18.1s-3-13.5-8.2-18.1l-64-56c-7.1-6.2-17.1-7.7-25.7-3.8S112 366.6 112 376v32l-88 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l88 0v32c0 9.4 5.5 18 14.1 21.9s18.6 2.4 25.7-3.8l64-56zM288 431.9c0 6.9 3 13.5 8.1 18.1l64 56.4c7.1 6.2 17.1 7.8 25.7 3.9s14.1-12.4 14.1-21.9l0-32.4 88 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-88 0 0-32c0-9.4-5.5-18-14.1-21.9s-18.6-2.4-25.7 3.8l-64 56c-5.2 4.5-8.2 11.1-8.2 18z"]
  113686. };
  113687. var faFileShield = {
  113688. prefix: 'fas',
  113689. iconName: 'file-shield',
  113690. icon: [576, 512, [], "e4f0", "M0 64C0 28.7 28.7 0 64 0H224V128c0 17.7 14.3 32 32 32H384v47l-92.8 37.1c-21.3 8.5-35.2 29.1-35.2 52c0 56.6 18.9 148 94.2 208.3c-9 4.8-19.3 7.6-30.2 7.6H64c-35.3 0-64-28.7-64-64V64zm384 64H256V0L384 128zm39.1 97.7c5.7-2.3 12.1-2.3 17.8 0l120 48C570 277.4 576 286.2 576 296c0 63.3-25.9 168.8-134.8 214.2c-5.9 2.5-12.6 2.5-18.5 0C313.9 464.8 288 359.3 288 296c0-9.8 6-18.6 15.1-22.3l120-48zM527.4 312L432 273.8V461.7c68.2-33 91.5-99 95.4-149.7z"]
  113691. };
  113692. var faUserSlash = {
  113693. prefix: 'fas',
  113694. iconName: 'user-slash',
  113695. icon: [640, 512, [], "f506", "M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L353.3 251.6C407.9 237 448 187.2 448 128C448 57.3 390.7 0 320 0C250.2 0 193.5 55.8 192 125.2L38.8 5.1zM264.3 304.3C170.5 309.4 96 387.2 96 482.3c0 16.4 13.3 29.7 29.7 29.7H514.3c3.9 0 7.6-.7 11-2.1l-261-205.6z"]
  113696. };
  113697. var faPen = {
  113698. prefix: 'fas',
  113699. iconName: 'pen',
  113700. icon: [512, 512, [128394], "f304", "M362.7 19.3L314.3 67.7 444.3 197.7l48.4-48.4c25-25 25-65.5 0-90.5L453.3 19.3c-25-25-65.5-25-90.5 0zm-71 71L58.6 323.5c-10.4 10.4-18 23.3-22.2 37.4L1 481.2C-1.5 489.7 .8 498.8 7 505s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L421.7 220.3 291.7 90.3z"]
  113701. };
  113702. var faTowerObservation = {
  113703. prefix: 'fas',
  113704. iconName: 'tower-observation',
  113705. icon: [512, 512, [], "e586", "M241.7 3.4c9-4.5 19.6-4.5 28.6 0l160 80c15.8 7.9 22.2 27.1 14.3 42.9C439 137.5 427.7 144 416 144v80c0 17.7-14.3 32-32 32h-4.9l32 192H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H384.5c-.4 0-.8 0-1.1 0H128.6c-.4 0-.8 0-1.1 0H32c-17.7 0-32-14.3-32-32s14.3-32 32-32h68.9l32-192H128c-17.7 0-32-14.3-32-32V144c-11.7 0-23-6.5-28.6-17.7c-7.9-15.8-1.5-35 14.3-42.9l160-80zM314.5 448L256 399.2 197.5 448h117zM197.8 256l-4.7 28.3L256 336.8l62.9-52.5L314.2 256H197.8zm-13.9 83.2l-11.2 67L218.5 368l-34.6-28.8zM293.5 368l45.8 38.1-11.2-67L293.5 368zM176 128c-8.8 0-16 7.2-16 16s7.2 16 16 16H336c8.8 0 16-7.2 16-16s-7.2-16-16-16H176z"]
  113706. };
  113707. var faFileCode = {
  113708. prefix: 'fas',
  113709. iconName: 'file-code',
  113710. icon: [384, 512, [], "f1c9", "M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM153 289l-31 31 31 31c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0L71 337c-9.4-9.4-9.4-24.6 0-33.9l48-48c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9zM265 255l48 48c9.4 9.4 9.4 24.6 0 33.9l-48 48c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l31-31-31-31c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0z"]
  113711. };
  113712. var faSignal = {
  113713. prefix: 'fas',
  113714. iconName: 'signal',
  113715. icon: [576, 512, [128246, "signal-5", "signal-perfect"], "f012", "M544 0c17.7 0 32 14.3 32 32V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V32c0-17.7 14.3-32 32-32zM416 96c17.7 0 32 14.3 32 32V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V128c0-17.7 14.3-32 32-32zM320 224V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V224c0-17.7 14.3-32 32-32s32 14.3 32 32zM160 288c17.7 0 32 14.3 32 32V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V320c0-17.7 14.3-32 32-32zM64 416v64c0 17.7-14.3 32-32 32s-32-14.3-32-32V416c0-17.7 14.3-32 32-32s32 14.3 32 32z"]
  113716. };
  113717. var faSignal5 = faSignal;
  113718. var faSignalPerfect = faSignal;
  113719. var faBus = {
  113720. prefix: 'fas',
  113721. iconName: 'bus',
  113722. icon: [512, 512, [128653], "f207", "M256 0C390.4 0 480 35.2 480 80V96l0 32c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32l0 160c0 17.7-14.3 32-32 32v32c0 17.7-14.3 32-32 32H384c-17.7 0-32-14.3-32-32V448H160v32c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32l0-32c-17.7 0-32-14.3-32-32l0-160c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h0V96h0V80C32 35.2 121.6 0 256 0zM96 160v96c0 17.7 14.3 32 32 32H240V128H128c-17.7 0-32 14.3-32 32zM272 288H384c17.7 0 32-14.3 32-32V160c0-17.7-14.3-32-32-32H272V288zM112 400c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zM352 80c0-8.8-7.2-16-16-16H176c-8.8 0-16 7.2-16 16s7.2 16 16 16H336c8.8 0 16-7.2 16-16z"]
  113723. };
  113724. var faHeartCircleXmark = {
  113725. prefix: 'fas',
  113726. iconName: 'heart-circle-xmark',
  113727. icon: [576, 512, [], "e501", "M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9l2.6-2.4C267.2 438.6 256 404.6 256 368c0-97.2 78.8-176 176-176c28.3 0 55 6.7 78.7 18.5c.9-6.5 1.3-13 1.3-19.6v-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1v5.8c0 41.5 17.2 81.2 47.6 109.5zM432 512c79.5 0 144-64.5 144-144s-64.5-144-144-144s-144 64.5-144 144s64.5 144 144 144zm59.3-180.7L454.6 368l36.7 36.7c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L432 390.6l-36.7 36.7c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6L409.4 368l-36.7-36.7c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L432 345.4l36.7-36.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6z"]
  113728. };
  113729. var faHouseChimney = {
  113730. prefix: 'fas',
  113731. iconName: 'house-chimney',
  113732. icon: [576, 512, [63499, "home-lg"], "e3af", "M543.8 287.6c17 0 32-14 32-32.1c1-9-3-17-11-24L512 185V64c0-17.7-14.3-32-32-32H448c-17.7 0-32 14.3-32 32v36.7L309.5 7c-6-5-14-7-21-7s-15 1-22 8L10 231.5c-7 7-10 15-10 24c0 18 14 32.1 32 32.1h32v69.7c-.1 .9-.1 1.8-.1 2.8V472c0 22.1 17.9 40 40 40h16c1.2 0 2.4-.1 3.6-.2c1.5 .1 3 .2 4.5 .2H160h24c22.1 0 40-17.9 40-40V448 384c0-17.7 14.3-32 32-32h64c17.7 0 32 14.3 32 32v64 24c0 22.1 17.9 40 40 40h24 32.5c1.4 0 2.8 0 4.2-.1c1.1 .1 2.2 .1 3.3 .1h16c22.1 0 40-17.9 40-40V455.8c.3-2.6 .5-5.3 .5-8.1l-.7-160.2h32z"]
  113733. };
  113734. var faHomeLg = faHouseChimney;
  113735. var faWindowMaximize = {
  113736. prefix: 'fas',
  113737. iconName: 'window-maximize',
  113738. icon: [512, 512, [128470], "f2d0", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM96 96H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H96c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]
  113739. };
  113740. var faFaceFrown = {
  113741. prefix: 'fas',
  113742. iconName: 'face-frown',
  113743. icon: [512, 512, [9785, "frown"], "f119", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM159.3 388.7c-2.6 8.4-11.6 13.2-20 10.5s-13.2-11.6-10.5-20C145.2 326.1 196.3 288 256 288s110.8 38.1 127.3 91.3c2.6 8.4-2.1 17.4-10.5 20s-17.4-2.1-20-10.5C340.5 349.4 302.1 320 256 320s-84.5 29.4-96.7 68.7zM208.4 208c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zm128 32c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]
  113744. };
  113745. var faFrown = faFaceFrown;
  113746. var faPrescription = {
  113747. prefix: 'fas',
  113748. iconName: 'prescription',
  113749. icon: [448, 512, [], "f5b1", "M32 0C14.3 0 0 14.3 0 32V192v96c0 17.7 14.3 32 32 32s32-14.3 32-32V224h50.7l128 128L137.4 457.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L288 397.3 393.4 502.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L333.3 352 438.6 246.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 306.7l-85.8-85.8C251.4 209.1 288 164.8 288 112C288 50.1 237.9 0 176 0H32zM176 160H64V64H176c26.5 0 48 21.5 48 48s-21.5 48-48 48z"]
  113750. };
  113751. var faShop = {
  113752. prefix: 'fas',
  113753. iconName: 'shop',
  113754. icon: [640, 512, ["store-alt"], "f54f", "M36.8 192H603.2c20.3 0 36.8-16.5 36.8-36.8c0-7.3-2.2-14.4-6.2-20.4L558.2 21.4C549.3 8 534.4 0 518.3 0H121.7c-16 0-31 8-39.9 21.4L6.2 134.7c-4 6.1-6.2 13.2-6.2 20.4C0 175.5 16.5 192 36.8 192zM64 224V384v80c0 26.5 21.5 48 48 48H336c26.5 0 48-21.5 48-48V384 224H320V384H128V224H64zm448 0V480c0 17.7 14.3 32 32 32s32-14.3 32-32V224H512z"]
  113755. };
  113756. var faStoreAlt = faShop;
  113757. var faFloppyDisk = {
  113758. prefix: 'fas',
  113759. iconName: 'floppy-disk',
  113760. icon: [448, 512, [128190, 128426, "save"], "f0c7", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V173.3c0-17-6.7-33.3-18.7-45.3L352 50.7C340 38.7 323.7 32 306.7 32H64zm0 96c0-17.7 14.3-32 32-32H288c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V128zM224 416c-35.3 0-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64s-28.7 64-64 64z"]
  113761. };
  113762. var faSave = faFloppyDisk;
  113763. var faVihara = {
  113764. prefix: 'fas',
  113765. iconName: 'vihara',
  113766. icon: [640, 512, [], "f6a7", "M281 22L305.8 4.7c1.3-.9 2.7-1.8 4.1-2.4C313.1 .7 316.6 0 320 0s6.9 .7 10.1 2.2c1.4 .7 2.8 1.5 4.1 2.4L359 22C393 45.8 430.8 63.5 470.8 74.4l23 6.3c1.8 .5 3.6 1.1 5.2 2c3.2 1.7 5.9 4 8.1 6.8c3.8 4.9 5.6 11.3 4.7 17.8c-.4 2.8-1.2 5.4-2.5 7.8c-1.7 3.2-4 5.9-6.8 8.1c-4.3 3.2-9.6 5.1-15.1 4.9H480v56.1l6.4 5.1 5.2 4.1c21.1 16.7 45 29.6 70.5 38.1l28.9 9.6c1.6 .5 3.2 1.2 4.6 2c3.1 1.7 5.8 4.1 7.8 6.9s3.5 6.1 4.1 9.6c.5 2.7 .6 5.5 .1 8.3s-1.4 5.4-2.7 7.8c-1.7 3.1-4.1 5.8-6.9 7.8s-6.1 3.5-9.6 4.1c-1.6 .3-3.3 .4-5 .4H544v65.9c20.5 22.8 47.4 39.2 77.4 46.7C632 403 640 412.6 640 424c0 13.3-10.7 24-24 24H576v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V448H352v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V448H128v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V448H24c-13.3 0-24-10.7-24-24c0-11.4 8-21 18.6-23.4c30-7.6 56.9-23.9 77.4-46.7V288H56.6c-1.7 0-3.4-.1-5-.4c-3.5-.7-6.8-2.1-9.6-4.1s-5.2-4.7-7-7.8c-1.3-2.4-2.3-5-2.7-7.8s-.4-5.6 .1-8.3c.7-3.5 2.1-6.8 4.1-9.6s4.7-5.2 7.8-6.9c1.4-.8 3-1.5 4.6-2l28.9-9.6c25.5-8.5 49.4-21.4 70.5-38.1l5.2-4.1 6.4-5.1V176 128h-7.5c-5.5 .1-10.8-1.7-15.1-4.9c-2.8-2.1-5.1-4.8-6.8-8.1c-1.2-2.4-2.1-5-2.5-7.8c-.9-6.5 .9-12.8 4.7-17.8c2.1-2.8 4.8-5.1 8.1-6.8c1.6-.8 3.4-1.5 5.2-2l23-6.3C209.2 63.5 247 45.8 281 22zM416 128H320 224v64h72 48 72V128zM160 288v64H296h24 24H480V288H344 320h0H296 160z"]
  113767. };
  113768. var faScaleUnbalanced = {
  113769. prefix: 'fas',
  113770. iconName: 'scale-unbalanced',
  113771. icon: [640, 512, ["balance-scale-left"], "f515", "M522.1 62.4c16.8-5.6 25.8-23.7 20.2-40.5S518.6-3.9 501.9 1.6l-113 37.7C375 15.8 349.3 0 320 0c-44.2 0-80 35.8-80 80c0 3 .2 5.9 .5 8.8L117.9 129.6c-16.8 5.6-25.8 23.7-20.2 40.5s23.7 25.8 40.5 20.2l135.5-45.2c4.5 3.2 9.3 5.9 14.4 8.2V480c0 17.7 14.3 32 32 32H512c17.7 0 32-14.3 32-32s-14.3-32-32-32H352V153.3c21-9.2 37.2-27 44.2-49l125.9-42zm-396.3 211c.4-.8 1.3-1.3 2.2-1.3s1.7 .5 2.2 1.3L204.9 416H51.1l74.7-142.7zM128 224c-18.8 0-36 10.4-44.7 27L5.5 399.5c-3.1 5.8-6.1 14-5.5 23.8c.7 12.1 4.8 35.2 24.8 55.1C45.1 498.6 77.8 512 128 512s82.9-13.4 103.2-33.5c20-20 24.2-43 24.8-55.1c.6-9.8-2.5-18-5.5-23.8L172.7 251c-8.7-16.6-25.9-27-44.7-27zm384-80c.9 0 1.7 .5 2.2 1.3L588.9 288H435.1l74.7-142.7c.4-.8 1.3-1.3 2.2-1.3zm-44.7-21L389.5 271.5c-3.1 5.8-6.1 14-5.5 23.8c.7 12.1 4.8 35.2 24.8 55.1C429.1 370.6 461.8 384 512 384s82.9-13.4 103.2-33.5c20-20 24.2-43 24.8-55.1c.6-9.8-2.5-18-5.5-23.8L556.7 123C548 106.4 530.8 96 512 96s-36 10.4-44.7 27z"]
  113772. };
  113773. var faBalanceScaleLeft = faScaleUnbalanced;
  113774. var faSortUp = {
  113775. prefix: 'fas',
  113776. iconName: 'sort-up',
  113777. icon: [320, 512, ["sort-asc"], "f0de", "M182.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8H288c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-128-128z"]
  113778. };
  113779. var faSortAsc = faSortUp;
  113780. var faCommentDots = {
  113781. prefix: 'fas',
  113782. iconName: 'comment-dots',
  113783. icon: [512, 512, [128172, 62075, "commenting"], "f4ad", "M256 448c141.4 0 256-93.1 256-208S397.4 32 256 32S0 125.1 0 240c0 45.1 17.7 86.8 47.7 120.9c-1.9 24.5-11.4 46.3-21.4 62.9c-5.5 9.2-11.1 16.6-15.2 21.6c-2.1 2.5-3.7 4.4-4.9 5.7c-.6 .6-1 1.1-1.3 1.4l-.3 .3 0 0 0 0 0 0 0 0c-4.6 4.6-5.9 11.4-3.4 17.4c2.5 6 8.3 9.9 14.8 9.9c28.7 0 57.6-8.9 81.6-19.3c22.9-10 42.4-21.9 54.3-30.6c31.8 11.5 67 17.9 104.1 17.9zM128 272c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zm128 0c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zm160-32c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32z"]
  113784. };
  113785. var faCommenting = faCommentDots;
  113786. var faPlantWilt = {
  113787. prefix: 'fas',
  113788. iconName: 'plant-wilt',
  113789. icon: [512, 512, [], "e5aa", "M288 120c0-30.9 25.1-56 56-56s56 25.1 56 56v13c-29.3 10-48 34.5-48 70.1c0 27.9 25.3 74.8 66 111.6c3.8 3.5 8.9 5.3 14 5.3s10.2-1.8 14-5.3c40.7-36.8 66-83.7 66-111.6c0-35.6-18.7-60.2-48-70.1V120C464 53.7 410.3 0 344 0S224 53.7 224 120v21.8C207.3 133 188.2 128 168 128c-66.3 0-120 53.7-120 120v13c-29.3 10-48 34.5-48 70.1C0 359 25.3 405.9 66 442.7c3.8 3.5 8.9 5.3 14 5.3s10.2-1.8 14-5.3c40.7-36.8 66-83.7 66-111.6c0-35.6-18.7-60.2-48-70.1V248c0-30.9 25.1-56 56-56s56 25.1 56 56v32V480c0 17.7 14.3 32 32 32s32-14.3 32-32V280 248 120z"]
  113790. };
  113791. var faDiamond = {
  113792. prefix: 'fas',
  113793. iconName: 'diamond',
  113794. icon: [512, 512, [9830], "f219", "M284.3 11.7c-15.6-15.6-40.9-15.6-56.6 0l-216 216c-15.6 15.6-15.6 40.9 0 56.6l216 216c15.6 15.6 40.9 15.6 56.6 0l216-216c15.6-15.6 15.6-40.9 0-56.6l-216-216z"]
  113795. };
  113796. var faFaceGrinSquint = {
  113797. prefix: 'fas',
  113798. iconName: 'face-grin-squint',
  113799. icon: [512, 512, [128518, "grin-squint"], "f585", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM383.8 317.8c12.3-3.7 24.3 7 19.2 18.7c-24.5 56.9-81.1 96.7-147 96.7s-122.5-39.8-147-96.7c-5.1-11.8 6.9-22.4 19.2-18.7C166.7 329.4 210.1 336 256 336s89.3-6.6 127.8-18.2zM133.5 146.7l89.9 47.9c10.7 5.7 10.7 21.1 0 26.8l-89.9 47.9c-7.9 4.2-17.5-1.5-17.5-10.5c0-2.8 1-5.5 2.8-7.6l36-43.2-36-43.2c-1.8-2.1-2.8-4.8-2.8-7.6c0-9 9.6-14.7 17.5-10.5zM396 157.1c0 2.8-1 5.5-2.8 7.6l-36 43.2 36 43.2c1.8 2.1 2.8 4.8 2.8 7.6c0 9-9.6 14.7-17.5 10.5l-89.9-47.9c-10.7-5.7-10.7-21.1 0-26.8l89.9-47.9c7.9-4.2 17.5 1.5 17.5 10.5z"]
  113800. };
  113801. var faGrinSquint = faFaceGrinSquint;
  113802. var faHandHoldingDollar = {
  113803. prefix: 'fas',
  113804. iconName: 'hand-holding-dollar',
  113805. icon: [576, 512, ["hand-holding-usd"], "f4c0", "M312 24V34.5c6.4 1.2 12.6 2.7 18.2 4.2c12.8 3.4 20.4 16.6 17 29.4s-16.6 20.4-29.4 17c-10.9-2.9-21.1-4.9-30.2-5c-7.3-.1-14.7 1.7-19.4 4.4c-2.1 1.3-3.1 2.4-3.5 3c-.3 .5-.7 1.2-.7 2.8c0 .3 0 .5 0 .6c.2 .2 .9 1.2 3.3 2.6c5.8 3.5 14.4 6.2 27.4 10.1l.9 .3 0 0c11.1 3.3 25.9 7.8 37.9 15.3c13.7 8.6 26.1 22.9 26.4 44.9c.3 22.5-11.4 38.9-26.7 48.5c-6.7 4.1-13.9 7-21.3 8.8V232c0 13.3-10.7 24-24 24s-24-10.7-24-24V220.6c-9.5-2.3-18.2-5.3-25.6-7.8c-2.1-.7-4.1-1.4-6-2c-12.6-4.2-19.4-17.8-15.2-30.4s17.8-19.4 30.4-15.2c2.6 .9 5 1.7 7.3 2.5c13.6 4.6 23.4 7.9 33.9 8.3c8 .3 15.1-1.6 19.2-4.1c1.9-1.2 2.8-2.2 3.2-2.9c.4-.6 .9-1.8 .8-4.1l0-.2c0-1 0-2.1-4-4.6c-5.7-3.6-14.3-6.4-27.1-10.3l-1.9-.6c-10.8-3.2-25-7.5-36.4-14.4c-13.5-8.1-26.5-22-26.6-44.1c-.1-22.9 12.9-38.6 27.7-47.4c6.4-3.8 13.3-6.4 20.2-8.2V24c0-13.3 10.7-24 24-24s24 10.7 24 24zM568.2 336.3c13.1 17.8 9.3 42.8-8.5 55.9L433.1 485.5c-23.4 17.2-51.6 26.5-80.7 26.5H192 32c-17.7 0-32-14.3-32-32V416c0-17.7 14.3-32 32-32H68.8l44.9-36c22.7-18.2 50.9-28 80-28H272h16 64c17.7 0 32 14.3 32 32s-14.3 32-32 32H288 272c-8.8 0-16 7.2-16 16s7.2 16 16 16H392.6l119.7-88.2c17.8-13.1 42.8-9.3 55.9 8.5zM193.6 384l0 0-.9 0c.3 0 .6 0 .9 0z"]
  113806. };
  113807. var faHandHoldingUsd = faHandHoldingDollar;
  113808. var faBacterium = {
  113809. prefix: 'fas',
  113810. iconName: 'bacterium',
  113811. icon: [576, 512, [], "e05a", "M455.1 30.6c3.6-12.7-3.7-26-16.5-29.7s-26 3.7-29.7 16.5l-4.2 14.7c-9.8-.4-19.9 .5-29.9 2.8c-12.1 2.8-23.7 5.9-34.9 9.4l-5.9-13.7c-5.2-12.2-19.3-17.8-31.5-12.6s-17.8 19.3-12.6 31.5l4.9 11.3c-22 9.4-42 20.1-60.2 31.8L228 82.7c-7.4-11-22.3-14-33.3-6.7s-14 22.3-6.7 33.3l7.8 11.6c-18 15-33.7 30.8-47.3 47.1L135 157.3c-10.4-8.3-25.5-6.6-33.7 3.7s-6.6 25.5 3.7 33.7l15 12c-2.1 3.2-4.1 6.5-6 9.7c-9.4 15.7-17 31-23.2 45.3l-9.9-3.9c-12.3-4.9-26.3 1.1-31.2 13.4s1.1 26.3 13.4 31.2l11.6 4.6c-.3 1.1-.6 2.1-.9 3.1c-3.5 12.5-5.7 23.2-7.1 31.3c-.7 4.1-1.2 7.5-1.6 10.3c-.2 1.4-.3 2.6-.4 3.6l-.1 1.4-.1 .6 0 .3 0 .1c0 0 0 .1 39.2 3.7l0 0-39.2-3.6c-.5 5-.6 10-.4 14.9l-14.7 4.2c-12.7 3.6-20.1 16.9-16.5 29.7s16.9 20.1 29.7 16.5l13.8-3.9c10.6 20.7 27.6 37.8 48.5 48.5l-3.9 13.7c-3.6 12.7 3.7 26 16.5 29.7s26-3.7 29.7-16.5l4.2-14.7c23.8 1 46.3-5.5 65.1-17.6L247 473c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-10.6-10.6c9.1-14.1 15.1-30.5 17-48.3l.1-.8c.3-1.7 1-5.1 2.3-9.8l.2-.8 12.6 5.4c12.2 5.2 26.3-.4 31.5-12.6s-.4-26.3-12.6-31.5l-11.3-4.8c9.9-14.9 24.9-31.6 48.6-46l2.1 7.5c3.6 12.7 16.9 20.1 29.7 16.5s20.1-16.9 16.5-29.7L403 259.2c6.9-2.2 14.3-4.3 22.2-6.1c12.9-3 24.7-8 35.2-14.8L471 249c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-10.6-10.6c12.2-19 18.6-41.6 17.6-65.1l14.7-4.2c12.7-3.6 20.1-16.9 16.5-29.7s-16.9-20.1-29.7-16.5l-13.7 3.9c-10.8-21.2-28-38-48.5-48.5l3.9-13.8zm-331 332.7l0 0L176 368l-51.9-4.7zM240 320c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zm32-88c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24z"]
  113812. };
  113813. var faHandPointer = {
  113814. prefix: 'fas',
  113815. iconName: 'hand-pointer',
  113816. icon: [448, 512, [], "f25a", "M128 40c0-22.1 17.9-40 40-40s40 17.9 40 40V188.2c8.5-7.6 19.7-12.2 32-12.2c25.3 0 46 19.5 47.9 44.3c8.5-7.7 19.8-12.3 32.1-12.3c25.3 0 46 19.5 47.9 44.3c8.5-7.7 19.8-12.3 32.1-12.3c26.5 0 48 21.5 48 48v32 64c0 70.7-57.3 128-128 128l-16 0H240l-.1 0h-5.2c-5 0-9.9-.3-14.7-1c-55.3-5.6-106.2-34-140-79L8 336c-13.3-17.7-9.7-42.7 8-56s42.7-9.7 56 8l56 74.7V40zM240 304c0-8.8-7.2-16-16-16s-16 7.2-16 16v96c0 8.8 7.2 16 16 16s16-7.2 16-16V304zm48-16c-8.8 0-16 7.2-16 16v96c0 8.8 7.2 16 16 16s16-7.2 16-16V304c0-8.8-7.2-16-16-16zm80 16c0-8.8-7.2-16-16-16s-16 7.2-16 16v96c0 8.8 7.2 16 16 16s16-7.2 16-16V304z"]
  113817. };
  113818. var faDrumSteelpan = {
  113819. prefix: 'fas',
  113820. iconName: 'drum-steelpan',
  113821. icon: [576, 512, [], "f56a", "M288 32c159.1 0 288 48 288 128V352c0 80-128.9 128-288 128S0 432 0 352V160C0 80 128.9 32 288 32zM528 160c0-9.9-8-29.9-55-49.8c-18.6-7.9-40.9-14.4-66-19.4l-27.8 43.6c-7.3 11.5-11.2 24.8-11.2 38.4c0 17.5 6.4 34.4 18.1 47.5l9.8 11c29.8-5.2 55.9-12.5 77.2-21.5c47.1-19.9 55-39.9 55-49.8zM349.2 237.3c-8-26.2-32.4-45.3-61.2-45.3s-53.3 19.1-61.2 45.3c19.4 1.7 39.9 2.7 61.2 2.7s41.8-.9 61.2-2.7zM169 90.8c-25.2 5-47.4 11.6-66 19.4C56 130.1 48 150.1 48 160s8 29.9 55 49.8c21.3 9 47.4 16.3 77.2 21.5l9.8-11c11.6-13.1 18.1-30 18.1-47.5c0-13.6-3.9-26.9-11.2-38.4L169 90.8zm56.3-8C224.5 87 224 91.5 224 96c0 35.3 28.7 64 64 64s64-28.7 64-64c0-4.5-.5-9-1.4-13.2C330.8 81 309.8 80 288 80s-42.8 1-62.6 2.8z"]
  113822. };
  113823. var faHandScissors = {
  113824. prefix: 'fas',
  113825. iconName: 'hand-scissors',
  113826. icon: [512, 512, [], "f257", "M40 208c-22.1 0-40 17.9-40 40s17.9 40 40 40l180.2 0c-7.6 8.5-12.2 19.7-12.2 32c0 25.3 19.5 46 44.3 47.9c-7.7 8.5-12.3 19.8-12.3 32.1c0 26.5 21.5 48 48 48l32 0 64 0c70.7 0 128-57.3 128-128l0-113.1c0-40.2-16-78.8-44.4-107.3C444.8 76.8 413.9 64 381.7 64L336 64c-21.3 0-39.3 13.9-45.6 33.1l74.5 23.7c8.4 2.7 13.1 11.7 10.4 20.1s-11.7 13.1-20.1 10.4L288 129.9l0 .1L84 65.8C62.9 59.2 40.5 70.9 33.8 92s5.1 43.5 26.2 50.2L269.5 208 40 208z"]
  113827. };
  113828. var faHandsPraying = {
  113829. prefix: 'fas',
  113830. iconName: 'hands-praying',
  113831. icon: [640, 512, ["praying-hands"], "f684", "M351.2 4.8c3.2-2 6.6-3.3 10-4.1c4.7-1 9.6-.9 14.1 .1c7.7 1.8 14.8 6.5 19.4 13.6L514.6 194.2c8.8 13.1 13.4 28.6 13.4 44.4v73.5c0 6.9 4.4 13 10.9 15.2l79.2 26.4C631.2 358 640 370.2 640 384v96c0 9.9-4.6 19.3-12.5 25.4s-18.1 8.1-27.7 5.5L431 465.9c-56-14.9-95-65.7-95-123.7V224c0-17.7 14.3-32 32-32s32 14.3 32 32v80c0 8.8 7.2 16 16 16s16-7.2 16-16V219.1c0-7-1.8-13.8-5.3-19.8L340.3 48.1c-1.7-3-2.9-6.1-3.6-9.3c-1-4.7-1-9.6 .1-14.1c1.9-8 6.8-15.2 14.3-19.9zm-62.4 0c7.5 4.6 12.4 11.9 14.3 19.9c1.1 4.6 1.2 9.4 .1 14.1c-.7 3.2-1.9 6.3-3.6 9.3L213.3 199.3c-3.5 6-5.3 12.9-5.3 19.8V304c0 8.8 7.2 16 16 16s16-7.2 16-16V224c0-17.7 14.3-32 32-32s32 14.3 32 32V342.3c0 58-39 108.7-95 123.7l-168.7 45c-9.6 2.6-19.9 .5-27.7-5.5S0 490 0 480V384c0-13.8 8.8-26 21.9-30.4l79.2-26.4c6.5-2.2 10.9-8.3 10.9-15.2V238.5c0-15.8 4.7-31.2 13.4-44.4L245.2 14.5c4.6-7.1 11.7-11.8 19.4-13.6c4.6-1.1 9.4-1.2 14.1-.1c3.5 .8 6.9 2.1 10 4.1z"]
  113832. };
  113833. var faPrayingHands = faHandsPraying;
  113834. var faArrowRotateRight = {
  113835. prefix: 'fas',
  113836. iconName: 'arrow-rotate-right',
  113837. icon: [512, 512, [8635, "arrow-right-rotate", "arrow-rotate-forward", "redo"], "f01e", "M386.3 160H336c-17.7 0-32 14.3-32 32s14.3 32 32 32H464c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32s-32 14.3-32 32v51.2L414.4 97.6c-87.5-87.5-229.3-87.5-316.8 0s-87.5 229.3 0 316.8s229.3 87.5 316.8 0c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0c-62.5 62.5-163.8 62.5-226.3 0s-62.5-163.8 0-226.3s163.8-62.5 226.3 0L386.3 160z"]
  113838. };
  113839. var faArrowRightRotate = faArrowRotateRight;
  113840. var faArrowRotateForward = faArrowRotateRight;
  113841. var faRedo = faArrowRotateRight;
  113842. var faBiohazard = {
  113843. prefix: 'fas',
  113844. iconName: 'biohazard',
  113845. icon: [576, 512, [9763], "f780", "M173.2 0c-1.8 0-3.5 .7-4.8 2C138.5 32.3 120 74 120 120c0 26.2 6 50.9 16.6 73c-22 2.4-43.8 9.1-64.2 20.5C37.9 232.8 13.3 262.4 .4 296c-.7 1.7-.5 3.7 .5 5.2c2.2 3.7 7.4 4.3 10.6 1.3C64.2 254.3 158 245.1 205 324s-8.1 153.1-77.6 173.2c-4.2 1.2-6.3 5.9-4.1 9.6c1 1.6 2.6 2.7 4.5 3c36.5 5.9 75.2 .1 109.7-19.2c20.4-11.4 37.4-26.5 50.5-43.8c13.1 17.3 30.1 32.4 50.5 43.8c34.5 19.3 73.3 25.2 109.7 19.2c1.9-.3 3.5-1.4 4.5-3c2.2-3.7 .1-8.4-4.1-9.6C379.1 477.1 324 403 371 324s140.7-69.8 193.5-21.4c3.2 2.9 8.4 2.3 10.6-1.3c1-1.6 1.1-3.5 .5-5.2c-12.9-33.6-37.5-63.2-72.1-82.5c-20.4-11.4-42.2-18.1-64.2-20.5C450 170.9 456 146.2 456 120c0-46-18.5-87.7-48.4-118c-1.3-1.3-3-2-4.8-2c-5 0-8.4 5.2-6.7 9.9C421.7 80.5 385.6 176 288 176S154.3 80.5 179.9 9.9c1.7-4.7-1.6-9.9-6.7-9.9zM336 272c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zM181.7 417.6c6.3-11.8 9.8-25.1 8.6-39.8c-19.5-18-34-41.4-41.2-67.8c-12.5-8.1-26.2-11.8-40-12.4c-9-.4-18.1 .6-27.1 2.7c7.8 57.1 38.7 106.8 82.9 139.4c6.8-6.7 12.6-14.1 16.8-22.1zM288 64c-28.8 0-56.3 5.9-81.2 16.5c2 8.3 5 16.2 9 23.5c6.8 12.4 16.7 23.1 30.1 30.3c13.3-4.1 27.5-6.3 42.2-6.3s28.8 2.2 42.2 6.3c13.4-7.2 23.3-17.9 30.1-30.3c4-7.3 7-15.2 9-23.5C344.3 69.9 316.8 64 288 64zM426.9 310c-7.2 26.4-21.7 49.7-41.2 67.8c-1.2 14.7 2.2 28.1 8.6 39.8c4.3 8 10 15.4 16.8 22.1c44.3-32.6 75.2-82.3 82.9-139.4c-9-2.2-18.1-3.1-27.1-2.7c-13.8 .6-27.5 4.4-40 12.4z"]
  113846. };
  113847. var faLocationCrosshairs = {
  113848. prefix: 'fas',
  113849. iconName: 'location-crosshairs',
  113850. icon: [512, 512, ["location"], "f601", "M256 0c17.7 0 32 14.3 32 32V66.7C368.4 80.1 431.9 143.6 445.3 224H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H445.3C431.9 368.4 368.4 431.9 288 445.3V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V445.3C143.6 431.9 80.1 368.4 66.7 288H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H66.7C80.1 143.6 143.6 80.1 224 66.7V32c0-17.7 14.3-32 32-32zM128 256c0 70.7 57.3 128 128 128s128-57.3 128-128s-57.3-128-128-128s-128 57.3-128 128zm128 80c-44.2 0-80-35.8-80-80s35.8-80 80-80s80 35.8 80 80s-35.8 80-80 80z"]
  113851. };
  113852. var faLocation = faLocationCrosshairs;
  113853. var faMarsDouble = {
  113854. prefix: 'fas',
  113855. iconName: 'mars-double',
  113856. icon: [640, 512, [9891], "f227", "M312 32c-9.7 0-18.5 5.8-22.2 14.8s-1.7 19.3 5.2 26.2l33.4 33.4L275.8 159c-28.4-19.5-62.7-31-99.8-31C78.8 128 0 206.8 0 304s78.8 176 176 176s176-78.8 176-176c0-37-11.4-71.4-31-99.8l52.6-52.6L407 185c6.9 6.9 17.2 8.9 26.2 5.2s14.8-12.5 14.8-22.2V56c0-13.3-10.7-24-24-24H312zm88 48h0v0l0 0zM288 304c0 61.9-50.1 112-112 112s-112-50.1-112-112s50.1-112 112-112s112 50.1 112 112zm80 176c97.2 0 176-78.8 176-176c0-37-11.4-71.4-31-99.8l52.6-52.6L599 185c6.9 6.9 17.2 8.9 26.2 5.2s14.8-12.5 14.8-22.2V56c0-13.3-10.7-24-24-24H504c-9.7 0-18.5 5.8-22.2 14.8c-1.2 2.9-1.8 6-1.8 9l0 .2v.2c0 6.2 2.5 12.2 7 16.8l33.4 33.4L480 146.7V168c0 22.6-13.6 43.1-34.6 51.7c-.8 .3-1.7 .7-2.5 1C465.7 241.2 480 270.9 480 304c0 61.9-50.1 112-112 112c-5.4 0-10.8-.4-16-1.1c-12.9 20.4-29.1 38.3-48.1 53.1c19.8 7.8 41.4 12 64 12z"]
  113857. };
  113858. var faChildDress = {
  113859. prefix: 'fas',
  113860. iconName: 'child-dress',
  113861. icon: [320, 512, [], "e59c", "M224 64c0-35.3-28.7-64-64-64S96 28.7 96 64s28.7 64 64 64s64-28.7 64-64zM88 400v80c0 17.7 14.3 32 32 32s32-14.3 32-32V400h16v80c0 17.7 14.3 32 32 32s32-14.3 32-32V400h17.8c10.9 0 18.6-10.7 15.2-21.1l-31.1-93.4 28.6 37.8c10.7 14.1 30.8 16.8 44.8 6.2s16.8-30.7 6.2-44.8L254.6 207c-22.4-29.6-57.5-47-94.6-47s-72.2 17.4-94.6 47L6.5 284.7c-10.7 14.1-7.9 34.2 6.2 44.8s34.2 7.9 44.8-6.2l28.7-37.8L55 378.9C51.6 389.3 59.3 400 70.2 400H88z"]
  113862. };
  113863. var faUsersBetweenLines = {
  113864. prefix: 'fas',
  113865. iconName: 'users-between-lines',
  113866. icon: [640, 512, [], "e591", "M0 24C0 10.7 10.7 0 24 0H616c13.3 0 24 10.7 24 24s-10.7 24-24 24H24C10.7 48 0 37.3 0 24zM0 488c0-13.3 10.7-24 24-24H616c13.3 0 24 10.7 24 24s-10.7 24-24 24H24c-13.3 0-24-10.7-24-24zM211.2 160c0 35.3-28.7 64-64 64s-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64zM32 320c0-35.3 28.7-64 64-64h96c12.2 0 23.7 3.4 33.4 9.4c-37.2 15.1-65.6 47.2-75.8 86.6H64c-17.7 0-32-14.3-32-32zm461.6 32c-10.3-40.1-39.6-72.6-77.7-87.4c9.4-5.5 20.4-8.6 32.1-8.6h96c35.3 0 64 28.7 64 64c0 17.7-14.3 32-32 32H493.6zM391.2 290.4c32.1 7.4 58.1 30.9 68.9 61.6c3.5 10 5.5 20.8 5.5 32c0 17.7-14.3 32-32 32h-224c-17.7 0-32-14.3-32-32c0-11.2 1.9-22 5.5-32c10.5-29.7 35.3-52.8 66.1-60.9c7.8-2.1 16-3.1 24.5-3.1h96c7.4 0 14.7 .8 21.6 2.4zM563.2 160c0 35.3-28.7 64-64 64s-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64zM321.6 256c-44.2 0-80-35.8-80-80s35.8-80 80-80s80 35.8 80 80s-35.8 80-80 80z"]
  113867. };
  113868. var faLungsVirus = {
  113869. prefix: 'fas',
  113870. iconName: 'lungs-virus',
  113871. icon: [640, 512, [], "e067", "M320 0c17.7 0 32 14.3 32 32V156.2c-8.5-7.6-19.7-12.2-32-12.2s-23.5 4.6-32 12.2V32c0-17.7 14.3-32 32-32zM444.5 195.5c-16.4-16.4-41.8-18.5-60.5-6.1V165.3C384 127 415 96 453.3 96c21.7 0 42.8 10.2 55.8 28.8c15.4 22.1 44.3 65.4 71 116.9c26.5 50.9 52.4 112.5 59.6 170.3c.2 1.3 .2 2.6 .2 4v7c0 49.1-39.8 89-89 89c-7.3 0-14.5-.9-21.6-2.7l-72.7-18.2c-20.9-5.2-38.7-17.1-51.5-32.9c14 1.5 28.5-3 39.2-13.8l-22.6-22.6 22.6 22.6c18.7-18.7 18.7-49.1 0-67.9c-1.1-1.1-1.4-2-1.5-2.5c-.1-.8-.1-1.8 .4-2.9s1.2-1.9 1.8-2.3c.5-.3 1.3-.8 2.9-.8c26.5 0 48-21.5 48-48s-21.5-48-48-48c-1.6 0-2.4-.4-2.9-.8c-.6-.4-1.3-1.2-1.8-2.3s-.5-2.2-.4-2.9c.1-.6 .4-1.4 1.5-2.5c18.7-18.7 18.7-49.1 0-67.9zM421.8 421.8c-6.2 6.2-16.4 6.2-22.6 0C375.9 398.5 336 415 336 448c0 8.8-7.2 16-16 16s-16-7.2-16-16c0-33-39.9-49.5-63.2-26.2c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6C241.5 375.9 225 336 192 336c-8.8 0-16-7.2-16-16s7.2-16 16-16c33 0 49.5-39.9 26.2-63.2c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0C264.1 241.5 304 225 304 192c0-8.8 7.2-16 16-16s16 7.2 16 16c0 33 39.9 49.5 63.2 26.2c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6C398.5 264.1 415 304 448 304c8.8 0 16 7.2 16 16s-7.2 16-16 16c-33 0-49.5 39.9-26.2 63.2c6.2 6.2 6.2 16.4 0 22.6zM183.3 491.2l-72.7 18.2c-7.1 1.8-14.3 2.7-21.6 2.7c-49.1 0-89-39.8-89-89v-7c0-1.3 .1-2.7 .2-4c7.2-57.9 33.1-119.4 59.6-170.3c26.8-51.5 55.6-94.8 71-116.9c13-18.6 34-28.8 55.8-28.8C225 96 256 127 256 165.3v24.1c-18.6-12.4-44-10.3-60.5 6.1c-18.7 18.7-18.7 49.1 0 67.9c1.1 1.1 1.4 2 1.5 2.5c.1 .8 .1 1.8-.4 2.9s-1.2 1.9-1.8 2.3c-.5 .3-1.3 .8-2.9 .8c-26.5 0-48 21.5-48 48s21.5 48 48 48c1.6 0 2.4 .4 2.9 .8c.6 .4 1.3 1.2 1.8 2.3s.5 2.2 .4 2.9c-.1 .6-.4 1.4-1.5 2.5c-18.7 18.7-18.7 49.1 0 67.9c10.7 10.7 25.3 15.3 39.2 13.8c-12.8 15.9-30.6 27.7-51.5 32.9zM296 320c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24zm72 32c0-8.8-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16s16-7.2 16-16z"]
  113872. };
  113873. var faFaceGrinTears = {
  113874. prefix: 'fas',
  113875. iconName: 'face-grin-tears',
  113876. icon: [640, 512, [128514, "grin-tears"], "f588", "M548.6 371.4C506.4 454.8 419.9 512 320 512s-186.4-57.2-228.6-140.6c4.5-2.9 8.7-6.3 12.7-10.3c8.1-8.1 13.2-18.6 16.5-26.6c3.6-8.8 6.5-18.4 8.8-27.5c4.6-18.2 7.7-37 9.3-48.2c3.9-26.5-18.8-49.2-45.2-45.4c-6.8 .9-16.2 2.4-26.6 4.4C85.3 94.5 191.6 0 320 0S554.7 94.5 573.2 217.7c-10.3-2-19.8-3.5-26.6-4.4c-26.5-3.9-49.2 18.8-45.2 45.4c1.6 11.3 4.6 30 9.3 48.2c2.3 9.1 5.2 18.8 8.8 27.5c3.3 8.1 8.4 18.5 16.5 26.6c3.9 3.9 8.2 7.4 12.7 10.3zM107 254.1c-3.1 21.5-11.4 70.2-25.5 84.4c-.9 1-1.9 1.8-2.9 2.7C60 356.7 32 355.5 14.3 337.7c-18.7-18.7-19.1-48.8-.7-67.2c8.6-8.6 30.1-15.1 50.5-19.6c13-2.8 25.5-4.8 33.9-6c5.4-.8 9.9 3.7 9 9zm454.5 87.1c-.8-.6-1.5-1.3-2.3-2c-.2-.2-.5-.4-.7-.7c-14.1-14.1-22.5-62.9-25.5-84.4c-.8-5.4 3.7-9.9 9-9c1 .1 2.2 .3 3.3 .5c8.2 1.2 19.2 3 30.6 5.5c20.4 4.4 41.9 10.9 50.5 19.6c18.4 18.4 18 48.5-.7 67.2c-17.7 17.7-45.7 19-64.2 3.4zm-90.1-9.7c5-11.8-7-22.5-19.3-18.7c-39.7 12.2-84.4 19-131.8 19s-92.1-6.8-131.8-19c-12.3-3.8-24.3 6.9-19.3 18.7c25 59.1 83.2 100.5 151.1 100.5s126.2-41.4 151.1-100.5zM281.6 228.8l0 0 0 0 0 0c2.1 2.8 5.7 3.9 8.9 2.8s5.5-4.1 5.5-7.6c0-17.9-6.7-35.6-16.6-48.8c-9.8-13-23.9-23.2-39.4-23.2s-29.6 10.2-39.4 23.2C190.7 188.4 184 206.1 184 224c0 3.4 2.2 6.5 5.5 7.6s6.9 0 8.9-2.8l0 0 0 0 0 0 .2-.2c.2-.2 .4-.5 .7-.9c.6-.8 1.6-2 2.8-3.4c2.5-2.8 6-6.6 10.2-10.3c8.8-7.8 18.8-14 27.7-14s18.9 6.2 27.7 14c4.2 3.7 7.7 7.5 10.2 10.3c1.2 1.4 2.2 2.6 2.8 3.4c.3 .4 .6 .7 .7 .9l.2 .2 0 0zm160 0l0 0 0 0c2.1 2.8 5.7 3.9 8.9 2.8s5.5-4.1 5.5-7.6c0-17.9-6.7-35.6-16.6-48.8c-9.8-13-23.9-23.2-39.4-23.2s-29.6 10.2-39.4 23.2C350.7 188.4 344 206.1 344 224c0 3.4 2.2 6.5 5.5 7.6s6.9 0 8.9-2.8l0 0 0 0 0 0 .2-.2c.2-.2 .4-.5 .7-.9c.6-.8 1.6-2 2.8-3.4c2.5-2.8 6-6.6 10.2-10.3c8.8-7.8 18.8-14 27.7-14s18.9 6.2 27.7 14c4.2 3.7 7.7 7.5 10.2 10.3c1.2 1.4 2.2 2.6 2.8 3.4c.3 .4 .6 .7 .7 .9l.2 .2 0 0 0 0z"]
  113877. };
  113878. var faGrinTears = faFaceGrinTears;
  113879. var faPhone = {
  113880. prefix: 'fas',
  113881. iconName: 'phone',
  113882. icon: [512, 512, [128222, 128379], "f095", "M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64C0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3L193.3 167c13.7-11.2 18.4-30 11.6-46.3l-40-96z"]
  113883. };
  113884. var faCalendarXmark = {
  113885. prefix: 'fas',
  113886. iconName: 'calendar-xmark',
  113887. icon: [448, 512, ["calendar-times"], "f273", "M128 0c17.7 0 32 14.3 32 32V64H288V32c0-17.7 14.3-32 32-32s32 14.3 32 32V64h48c26.5 0 48 21.5 48 48v48H0V112C0 85.5 21.5 64 48 64H96V32c0-17.7 14.3-32 32-32zM0 192H448V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V192zM305 305c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-47 47-47-47c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l47 47-47 47c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l47-47 47 47c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-47-47 47-47z"]
  113888. };
  113889. var faCalendarTimes = faCalendarXmark;
  113890. var faChildReaching = {
  113891. prefix: 'fas',
  113892. iconName: 'child-reaching',
  113893. icon: [384, 512, [], "e59d", "M256 64c0-35.3-28.7-64-64-64s-64 28.7-64 64s28.7 64 64 64s64-28.7 64-64zM152.9 169.3c-23.7-8.4-44.5-24.3-58.8-45.8L74.6 94.2C64.8 79.5 45 75.6 30.2 85.4s-18.7 29.7-8.9 44.4L40.9 159c18.1 27.1 42.8 48.4 71.1 62.4V480c0 17.7 14.3 32 32 32s32-14.3 32-32V384h32v96c0 17.7 14.3 32 32 32s32-14.3 32-32V221.6c29.1-14.2 54.4-36.2 72.7-64.2l18.2-27.9c9.6-14.8 5.4-34.6-9.4-44.3s-34.6-5.5-44.3 9.4L291 122.4c-21.8 33.4-58.9 53.6-98.8 53.6c-12.6 0-24.9-2-36.6-5.8c-.9-.3-1.8-.7-2.7-.9z"]
  113894. };
  113895. var faHeadSideVirus = {
  113896. prefix: 'fas',
  113897. iconName: 'head-side-virus',
  113898. icon: [512, 512, [], "e064", "M0 224.2C0 100.6 100.2 0 224 0h32c95.2 0 174.2 69.3 189.4 160.1c2.2 13 6.7 25.7 15 36.1l42 52.6c6.2 7.8 9.6 17.4 9.6 27.4c0 24.2-19.6 43.8-43.8 43.8H448v64c0 35.3-28.7 64-64 64H320v32c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V407.3c0-16.7-6.9-32.5-17.1-45.8C16.6 322.4 0 274.1 0 224.2zM240 80c-8.8 0-16 7.2-16 16c0 33-39.9 49.5-63.2 26.2c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6C161.5 168.1 145 208 112 208c-8.8 0-16 7.2-16 16s7.2 16 16 16c33 0 49.5 39.9 26.2 63.2c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0C184.1 302.5 224 319 224 352c0 8.8 7.2 16 16 16s16-7.2 16-16c0-33 39.9-49.5 63.2-26.2c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6C318.5 279.9 335 240 368 240c8.8 0 16-7.2 16-16s-7.2-16-16-16c-33 0-49.5-39.9-26.2-63.2c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0C295.9 145.5 256 129 256 96c0-8.8-7.2-16-16-16zM216 224c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm72 32c0 8.8-7.2 16-16 16s-16-7.2-16-16s7.2-16 16-16s16 7.2 16 16z"]
  113899. };
  113900. var faUserGear = {
  113901. prefix: 'fas',
  113902. iconName: 'user-gear',
  113903. icon: [640, 512, ["user-cog"], "f4fe", "M224 256c-70.7 0-128-57.3-128-128S153.3 0 224 0s128 57.3 128 128s-57.3 128-128 128zm-45.7 48h91.4c11.8 0 23.4 1.2 34.5 3.3c-2.1 18.5 7.4 35.6 21.8 44.8c-16.6 10.6-26.7 31.6-20 53.3c4 12.9 9.4 25.5 16.4 37.6s15.2 23.1 24.4 33c15.7 16.9 39.6 18.4 57.2 8.7v.9c0 9.2 2.7 18.5 7.9 26.3H29.7C13.3 512 0 498.7 0 482.3C0 383.8 79.8 304 178.3 304zM436 218.2c0-7 4.5-13.3 11.3-14.8c10.5-2.4 21.5-3.7 32.7-3.7s22.2 1.3 32.7 3.7c6.8 1.5 11.3 7.8 11.3 14.8v30.6c7.9 3.4 15.4 7.7 22.3 12.8l24.9-14.3c6.1-3.5 13.7-2.7 18.5 2.4c7.6 8.1 14.3 17.2 20.1 27.2s10.3 20.4 13.5 31c2.1 6.7-1.1 13.7-7.2 17.2l-25 14.4c.4 4 .7 8.1 .7 12.3s-.2 8.2-.7 12.3l25 14.4c6.1 3.5 9.2 10.5 7.2 17.2c-3.3 10.6-7.8 21-13.5 31s-12.5 19.1-20.1 27.2c-4.8 5.1-12.5 5.9-18.5 2.4l-24.9-14.3c-6.9 5.1-14.3 9.4-22.3 12.8l0 30.6c0 7-4.5 13.3-11.3 14.8c-10.5 2.4-21.5 3.7-32.7 3.7s-22.2-1.3-32.7-3.7c-6.8-1.5-11.3-7.8-11.3-14.8V454.8c-8-3.4-15.6-7.7-22.5-12.9l-24.7 14.3c-6.1 3.5-13.7 2.7-18.5-2.4c-7.6-8.1-14.3-17.2-20.1-27.2s-10.3-20.4-13.5-31c-2.1-6.7 1.1-13.7 7.2-17.2l24.8-14.3c-.4-4.1-.7-8.2-.7-12.4s.2-8.3 .7-12.4L343.8 325c-6.1-3.5-9.2-10.5-7.2-17.2c3.3-10.6 7.7-21 13.5-31s12.5-19.1 20.1-27.2c4.8-5.1 12.4-5.9 18.5-2.4l24.8 14.3c6.9-5.1 14.5-9.4 22.5-12.9V218.2zm92.1 133.5c0-26.5-21.5-48-48.1-48s-48.1 21.5-48.1 48s21.5 48 48.1 48s48.1-21.5 48.1-48z"]
  113904. };
  113905. var faUserCog = faUserGear;
  113906. var faArrowUp19 = {
  113907. prefix: 'fas',
  113908. iconName: 'arrow-up-1-9',
  113909. icon: [576, 512, ["sort-numeric-up"], "f163", "M160 32c9 0 17.5 3.8 23.6 10.4l88 96c11.9 13 11.1 33.3-2 45.2s-33.3 11.1-45.2-2L192 146.3V448c0 17.7-14.3 32-32 32s-32-14.3-32-32V146.3L95.6 181.6c-11.9 13-32.2 13.9-45.2 2s-13.9-32.2-2-45.2l88-96C142.5 35.8 151 32 160 32zM352 64c0-17.7 14.3-32 32-32h48c17.7 0 32 14.3 32 32v96h16c17.7 0 32 14.3 32 32s-14.3 32-32 32H432 384c-17.7 0-32-14.3-32-32s14.3-32 32-32h16V96H384c-17.7 0-32-14.3-32-32zm93.7 300.9c10.8-5.1 18.3-16.2 18.3-28.9c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32c4.9 0 9.6-1.1 13.7-3.1zm-40.7 54.9C369.6 408.4 344 375.2 344 336c0-48.6 39.4-88 88-88s88 39.4 88 88c0 23.5-7.5 46.3-21.5 65.2L449.7 467c-10.5 14.2-30.6 17.2-44.8 6.7s-17.2-30.6-6.7-44.8l6.8-9.2z"]
  113910. };
  113911. var faSortNumericUp = faArrowUp19;
  113912. var faDoorClosed = {
  113913. prefix: 'fas',
  113914. iconName: 'door-closed',
  113915. icon: [576, 512, [128682], "f52a", "M96 64c0-35.3 28.7-64 64-64H416c35.3 0 64 28.7 64 64V448h64c17.7 0 32 14.3 32 32s-14.3 32-32 32H432 144 32c-17.7 0-32-14.3-32-32s14.3-32 32-32H96V64zM384 288c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32z"]
  113916. };
  113917. var faShieldVirus = {
  113918. prefix: 'fas',
  113919. iconName: 'shield-virus',
  113920. icon: [512, 512, [], "e06c", "M269.4 2.9C265.2 1 260.7 0 256 0s-9.2 1-13.4 2.9L54.3 82.8c-22 9.3-38.4 31-38.3 57.2c.5 99.2 41.3 280.7 213.6 363.2c16.7 8 36.1 8 52.8 0C454.7 420.7 495.5 239.2 496 140c.1-26.2-16.3-47.9-38.3-57.2L269.4 2.9zM256 112c8.8 0 16 7.2 16 16c0 33 39.9 49.5 63.2 26.2c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6C334.5 200.1 351 240 384 240c8.8 0 16 7.2 16 16s-7.2 16-16 16c-33 0-49.5 39.9-26.2 63.2c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0C311.9 334.5 272 351 272 384c0 8.8-7.2 16-16 16s-16-7.2-16-16c0-33-39.9-49.5-63.2-26.2c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6C177.5 311.9 161 272 128 272c-8.8 0-16-7.2-16-16s7.2-16 16-16c33 0 49.5-39.9 26.2-63.2c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0C200.1 177.5 240 161 240 128c0-8.8 7.2-16 16-16zM232 256c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24zm72 32c0-8.8-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16s16-7.2 16-16z"]
  113921. };
  113922. var faDiceSix = {
  113923. prefix: 'fas',
  113924. iconName: 'dice-six',
  113925. icon: [448, 512, [9861], "f526", "M0 96C0 60.7 28.7 32 64 32H384c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zm160 64c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zM128 288c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm32 64c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zM320 192c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm32 64c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zM320 384c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32z"]
  113926. };
  113927. var faMosquitoNet = {
  113928. prefix: 'fas',
  113929. iconName: 'mosquito-net',
  113930. icon: [640, 512, [], "e52c", "M168.8 462.3c-7.9-4-11.1-13.6-7.2-21.5L192 380.2l0-44.2c0-4.2 1.7-8.3 4.7-11.3L256 265.4V242.2L139.2 344C87.8 395.3 0 358.9 0 286.3c0-41.1 30.6-75.8 71.4-80.9l159.9-23.9-49.6-41.3c-5.1-4.2-7-11.1-4.9-17.4l13.9-41.7-29-58.1c-4-7.9-.7-17.5 7.2-21.5s17.5-.7 21.5 7.2l32 64c1.9 3.8 2.2 8.2 .9 12.2l-12.5 37.6L256 160.5V137.9c0-14.9 10.1-27.3 23.8-31V63.7c0-4.5 3.7-8.2 8.2-8.2s8.2 3.7 8.2 8.2V107c13.7 3.6 23.8 16.1 23.8 31v22.6l45.4-37.8L352.8 85.1c-1.3-4-1-8.4 .9-12.2l32-64c4-7.9 13.6-11.1 21.5-7.2s11.1 13.6 7.2 21.5l-29 58.1 13.9 41.7c2.1 6.2 .1 13.1-4.9 17.4l-49.6 41.3 159.9 23.9c22.5 2.8 41.8 14.6 54.7 31.4c-2.7 2.6-5.2 5.4-7.3 8.6c-8.6-12.9-23.3-21.5-40-21.5s-31.4 8.5-40 21.5c-8.6-12.9-23.3-21.5-40-21.5c-21.7 0-40 14.3-45.9 34.1c-10.7 3.2-19.8 10.1-25.9 19.2l-40.2-35v23.1l32.4 32.4c-.3 2-.4 4.1-.4 6.2c0 16.7 8.5 31.4 21.5 40c-4 2.6-7.5 5.9-10.6 9.5L320 310.6v50c0 17.7-14.3 32-32 32s-32-14.3-32-32v-50l-32 32 0 41.4c0 2.5-.6 4.9-1.7 7.2l-32 64c-4 7.9-13.6 11.1-21.5 7.2zM512 256c8.8 0 16 7.2 16 16v16h48V272c0-8.8 7.2-16 16-16s16 7.2 16 16v16h16c8.8 0 16 7.2 16 16s-7.2 16-16 16H608v48h16c8.8 0 16 7.2 16 16s-7.2 16-16 16H608v48h16c8.8 0 16 7.2 16 16s-7.2 16-16 16H608v16c0 8.8-7.2 16-16 16s-16-7.2-16-16V480H528v16c0 8.8-7.2 16-16 16s-16-7.2-16-16V480H448v16c0 8.8-7.2 16-16 16s-16-7.2-16-16V480H400c-8.8 0-16-7.2-16-16s7.2-16 16-16h16V400H400c-8.8 0-16-7.2-16-16s7.2-16 16-16h16V320H400c-8.8 0-16-7.2-16-16s7.2-16 16-16h16V272c0-8.8 7.2-16 16-16s16 7.2 16 16v16h48V272c0-8.8 7.2-16 16-16zm16 112h48V320H528v48zm0 80h48V400H528v48zM448 320v48h48V320H448zm0 80v48h48V400H448z"]
  113931. };
  113932. var faBridgeWater = {
  113933. prefix: 'fas',
  113934. iconName: 'bridge-water',
  113935. icon: [576, 512, [], "e4ce", "M0 96C0 78.3 14.3 64 32 64H544c17.7 0 32 14.3 32 32v35.6c0 15.7-12.7 28.4-28.4 28.4c-37.3 0-67.6 30.2-67.6 67.6V352.5c-12.9 0-25.8 3.9-36.8 11.7c-18 12.4-40.1 20.3-59.2 20.3h0l0-.5V256c0-53-43-96-96-96s-96 43-96 96V384l0 .5c-19 0-41.2-7.9-59.1-20.3c-11.1-7.8-24-11.7-36.9-11.7V227.6C96 190.2 65.8 160 28.4 160C12.7 160 0 147.3 0 131.6V96zM306.5 389.9C329 405.4 356.5 416 384 416c26.9 0 55.4-10.8 77.4-26.1l0 0c11.9-8.5 28.1-7.8 39.2 1.7c14.4 11.9 32.5 21 50.6 25.2c17.2 4 27.9 21.2 23.9 38.4s-21.2 27.9-38.4 23.9c-24.5-5.7-44.9-16.5-58.2-25C449.5 469.7 417 480 384 480c-31.9 0-60.6-9.9-80.4-18.9c-5.8-2.7-11.1-5.3-15.6-7.7c-4.5 2.4-9.7 5.1-15.6 7.7c-19.8 9-48.5 18.9-80.4 18.9c-33 0-65.5-10.3-94.5-25.8c-13.4 8.4-33.7 19.3-58.2 25c-17.2 4-34.4-6.7-38.4-23.9s6.7-34.4 23.9-38.4c18.1-4.2 36.2-13.3 50.6-25.2c11.1-9.4 27.3-10.1 39.2-1.7l0 0C136.7 405.2 165.1 416 192 416c27.5 0 55-10.6 77.5-26.1c11.1-7.9 25.9-7.9 37 0z"]
  113936. };
  113937. var faPersonBooth = {
  113938. prefix: 'fas',
  113939. iconName: 'person-booth',
  113940. icon: [576, 512, [], "f756", "M256 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V192h64V32zm320 0c0-17.7-14.3-32-32-32s-32 14.3-32 32V480c0 17.7 14.3 32 32 32s32-14.3 32-32V32zM224 512c17.7 0 32-14.3 32-32V320H192V480c0 17.7 14.3 32 32 32zM320 0c-9.3 0-18.1 4-24.2 11s-8.8 16.3-7.5 25.5l31.2 218.6L288.6 409.7c-3.5 17.3 7.8 34.2 25.1 37.7s34.2-7.8 37.7-25.1l.7-3.6c1.3 16.4 15.1 29.4 31.9 29.4c17.7 0 32-14.3 32-32c0 17.7 14.3 32 32 32s32-14.3 32-32V32c0-17.7-14.3-32-32-32H320zM112 80c0-26.5-21.5-48-48-48S16 53.5 16 80s21.5 48 48 48s48-21.5 48-48zm0 261.3V269.3l4.7 4.7c9 9 21.2 14.1 33.9 14.1H224c17.7 0 32-14.3 32-32s-14.3-32-32-32H157.3l-41.6-41.6c-14.3-14.3-33.8-22.4-54-22.4C27.6 160 0 187.6 0 221.6v55.7l0 .9V480c0 17.7 14.3 32 32 32s32-14.3 32-32V384l32 42.7V480c0 17.7 14.3 32 32 32s32-14.3 32-32V421.3c0-10.4-3.4-20.5-9.6-28.8L112 341.3z"]
  113941. };
  113942. var faTextWidth = {
  113943. prefix: 'fas',
  113944. iconName: 'text-width',
  113945. icon: [448, 512, [], "f035", "M32 32C14.3 32 0 46.3 0 64v64c0 17.7 14.3 32 32 32s32-14.3 32-32V96H192l0 128H176c-17.7 0-32 14.3-32 32s14.3 32 32 32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H256l0-128H384v32c0 17.7 14.3 32 32 32s32-14.3 32-32V64c0-17.7-14.3-32-32-32H224 32zM9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3l64 64c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6V416H320v32c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l64-64c12.5-12.5 12.5-32.8 0-45.3l-64-64c-9.2-9.2-22.9-11.9-34.9-6.9s-19.8 16.6-19.8 29.6v32H128V320c0-12.9-7.8-24.6-19.8-29.6s-25.7-2.2-34.9 6.9l-64 64z"]
  113946. };
  113947. var faHatWizard = {
  113948. prefix: 'fas',
  113949. iconName: 'hat-wizard',
  113950. icon: [512, 512, [], "f6e8", "M64 416L168.6 180.7c15.3-34.4 40.3-63.5 72-83.7l146.9-94c3-1.9 6.5-2.9 10-2.9C407.7 0 416 8.3 416 18.6v1.6c0 2.6-.5 5.1-1.4 7.5L354.8 176.9c-1.9 4.7-2.8 9.7-2.8 14.7c0 5.5 1.2 11 3.4 16.1L448 416H240.9l11.8-35.4 40.4-13.5c6.5-2.2 10.9-8.3 10.9-15.2s-4.4-13-10.9-15.2l-40.4-13.5-13.5-40.4C237 276.4 230.9 272 224 272s-13 4.4-15.2 10.9l-13.5 40.4-40.4 13.5C148.4 339 144 345.1 144 352s4.4 13 10.9 15.2l40.4 13.5L207.1 416H64zM279.6 141.5c-1.1-3.3-4.1-5.5-7.6-5.5s-6.5 2.2-7.6 5.5l-6.7 20.2-20.2 6.7c-3.3 1.1-5.5 4.1-5.5 7.6s2.2 6.5 5.5 7.6l20.2 6.7 6.7 20.2c1.1 3.3 4.1 5.5 7.6 5.5s6.5-2.2 7.6-5.5l6.7-20.2 20.2-6.7c3.3-1.1 5.5-4.1 5.5-7.6s-2.2-6.5-5.5-7.6l-20.2-6.7-6.7-20.2zM32 448H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]
  113951. };
  113952. var faPenFancy = {
  113953. prefix: 'fas',
  113954. iconName: 'pen-fancy',
  113955. icon: [512, 512, [128395, 10002], "f5ac", "M373.5 27.1C388.5 9.9 410.2 0 433 0c43.6 0 79 35.4 79 79c0 22.8-9.9 44.6-27.1 59.6L277.7 319l-10.3-10.3-64-64L193 234.3 373.5 27.1zM170.3 256.9l10.4 10.4 64 64 10.4 10.4-19.2 83.4c-3.9 17.1-16.9 30.7-33.8 35.4L24.4 510.3l95.4-95.4c2.6 .7 5.4 1.1 8.3 1.1c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32c0 2.9 .4 5.6 1.1 8.3L1.7 487.6 51.5 310c4.7-16.9 18.3-29.9 35.4-33.8l83.4-19.2z"]
  113956. };
  113957. var faPersonDigging = {
  113958. prefix: 'fas',
  113959. iconName: 'person-digging',
  113960. icon: [576, 512, ["digging"], "f85e", "M304 64c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zM9.8 214.8c5.1-12.2 19.1-18 31.4-12.9L60.7 210l22.9-38.1C99.9 144.6 129.3 128 161 128c51.4 0 97 32.9 113.3 81.7l34.6 103.7 79.3 33.1 34.2-45.6c6.4-8.5 16.6-13.3 27.2-12.8s20.3 6.4 25.8 15.5l96 160c5.9 9.9 6.1 22.2 .4 32.2s-16.3 16.2-27.8 16.2H288c-11.1 0-21.4-5.7-27.2-15.2s-6.4-21.2-1.4-31.1l16-32c5.4-10.8 16.5-17.7 28.6-17.7h32l22.5-30L22.8 246.2c-12.2-5.1-18-19.1-12.9-31.4zm82.8 91.8l112 48c11.8 5 19.4 16.6 19.4 29.4v96c0 17.7-14.3 32-32 32s-32-14.3-32-32V405.1l-60.6-26-37 111c-5.6 16.8-23.7 25.8-40.5 20.2S-3.9 486.6 1.6 469.9l48-144 11-33 32 13.7z"]
  113961. };
  113962. var faDigging = faPersonDigging;
  113963. var faTrash = {
  113964. prefix: 'fas',
  113965. iconName: 'trash',
  113966. icon: [448, 512, [], "f1f8", "M135.2 17.7L128 32H32C14.3 32 0 46.3 0 64S14.3 96 32 96H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320l-7.2-14.3C307.4 6.8 296.3 0 284.2 0H163.8c-12.1 0-23.2 6.8-28.6 17.7zM416 128H32L53.2 467c1.6 25.3 22.6 45 47.9 45H346.9c25.3 0 46.3-19.7 47.9-45L416 128z"]
  113967. };
  113968. var faGaugeSimple = {
  113969. prefix: 'fas',
  113970. iconName: 'gauge-simple',
  113971. icon: [512, 512, ["gauge-simple-med", "tachometer-average"], "f629", "M512 256c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM320 352c0-26.9-16.5-49.9-40-59.3V88c0-13.3-10.7-24-24-24s-24 10.7-24 24V292.7c-23.5 9.5-40 32.5-40 59.3c0 35.3 28.7 64 64 64s64-28.7 64-64z"]
  113972. };
  113973. var faGaugeSimpleMed = faGaugeSimple;
  113974. var faTachometerAverage = faGaugeSimple;
  113975. var faBookMedical = {
  113976. prefix: 'fas',
  113977. iconName: 'book-medical',
  113978. icon: [448, 512, [], "f7e6", "M0 96C0 43 43 0 96 0H384h32c17.7 0 32 14.3 32 32V352c0 17.7-14.3 32-32 32v64c17.7 0 32 14.3 32 32s-14.3 32-32 32H384 96c-53 0-96-43-96-96V96zM64 416c0 17.7 14.3 32 32 32H352V384H96c-17.7 0-32 14.3-32 32zM208 112v48H160c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h48v48c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V224h48c8.8 0 16-7.2 16-16V176c0-8.8-7.2-16-16-16H272V112c0-8.8-7.2-16-16-16H224c-8.8 0-16 7.2-16 16z"]
  113979. };
  113980. var faPoo = {
  113981. prefix: 'fas',
  113982. iconName: 'poo',
  113983. icon: [512, 512, [128169], "f2fe", "M268.9 .9c-5.5-.7-11 1.4-14.5 5.7s-4.6 10.1-2.8 15.4c2.8 8.2 4.3 16.9 4.3 26.1c0 44.1-35.7 79.9-79.8 80H160c-35.3 0-64 28.7-64 64c0 19.1 8.4 36.3 21.7 48H104c-39.8 0-72 32.2-72 72c0 23.2 11 43.8 28 57c-34.1 5.7-60 35.3-60 71c0 39.8 32.2 72 72 72H440c39.8 0 72-32.2 72-72c0-35.7-25.9-65.3-60-71c17-13.2 28-33.8 28-57c0-39.8-32.2-72-72-72H394.3c13.3-11.7 21.7-28.9 21.7-48c0-35.3-28.7-64-64-64h-5.5c3.5-10 5.5-20.8 5.5-32c0-48.6-36.2-88.8-83.1-95.1zM192 320c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zm160-32c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zm0 108.3c0 2.4-.7 4.8-2.2 6.7c-8.2 10.5-39.5 45-93.8 45s-85.6-34.6-93.8-45c-1.5-1.9-2.2-4.3-2.2-6.7c0-6.8 5.5-12.3 12.3-12.3H339.7c6.8 0 12.3 5.5 12.3 12.3z"]
  113984. };
  113985. var faQuoteRight = {
  113986. prefix: 'fas',
  113987. iconName: 'quote-right',
  113988. icon: [448, 512, [8221, "quote-right-alt"], "f10e", "M448 296c0 66.3-53.7 120-120 120h-8c-17.7 0-32-14.3-32-32s14.3-32 32-32h8c30.9 0 56-25.1 56-56v-8H320c-35.3 0-64-28.7-64-64V160c0-35.3 28.7-64 64-64h64c35.3 0 64 28.7 64 64v32 32 72zm-256 0c0 66.3-53.7 120-120 120H64c-17.7 0-32-14.3-32-32s14.3-32 32-32h8c30.9 0 56-25.1 56-56v-8H64c-35.3 0-64-28.7-64-64V160c0-35.3 28.7-64 64-64h64c35.3 0 64 28.7 64 64v32 32 72z"]
  113989. };
  113990. var faQuoteRightAlt = faQuoteRight;
  113991. var faShirt = {
  113992. prefix: 'fas',
  113993. iconName: 'shirt',
  113994. icon: [640, 512, [128085, "t-shirt", "tshirt"], "f553", "M211.8 0c7.8 0 14.3 5.7 16.7 13.2C240.8 51.9 277.1 80 320 80s79.2-28.1 91.5-66.8C413.9 5.7 420.4 0 428.2 0h12.6c22.5 0 44.2 7.9 61.5 22.3L628.5 127.4c6.6 5.5 10.7 13.5 11.4 22.1s-2.1 17.1-7.8 23.6l-56 64c-11.4 13.1-31.2 14.6-44.6 3.5L480 197.7V448c0 35.3-28.7 64-64 64H224c-35.3 0-64-28.7-64-64V197.7l-51.5 42.9c-13.3 11.1-33.1 9.6-44.6-3.5l-56-64c-5.7-6.5-8.5-15-7.8-23.6s4.8-16.6 11.4-22.1L137.7 22.3C155 7.9 176.7 0 199.2 0h12.6z"]
  113995. };
  113996. var faTShirt = faShirt;
  113997. var faTshirt = faShirt;
  113998. var faCubes = {
  113999. prefix: 'fas',
  114000. iconName: 'cubes',
  114001. icon: [576, 512, [], "f1b3", "M290.8 48.6l78.4 29.7L288 109.5 206.8 78.3l78.4-29.7c1.8-.7 3.8-.7 5.7 0zM136 92.5V204.7c-1.3 .4-2.6 .8-3.9 1.3l-96 36.4C14.4 250.6 0 271.5 0 294.7V413.9c0 22.2 13.1 42.3 33.5 51.3l96 42.2c14.4 6.3 30.7 6.3 45.1 0L288 457.5l113.5 49.9c14.4 6.3 30.7 6.3 45.1 0l96-42.2c20.3-8.9 33.5-29.1 33.5-51.3V294.7c0-23.3-14.4-44.1-36.1-52.4l-96-36.4c-1.3-.5-2.6-.9-3.9-1.3V92.5c0-23.3-14.4-44.1-36.1-52.4l-96-36.4c-12.8-4.8-26.9-4.8-39.7 0l-96 36.4C150.4 48.4 136 69.3 136 92.5zM392 210.6l-82.4 31.2V152.6L392 121v89.6zM154.8 250.9l78.4 29.7L152 311.7 70.8 280.6l78.4-29.7c1.8-.7 3.8-.7 5.7 0zm18.8 204.4V354.8L256 323.2v95.9l-82.4 36.2zM421.2 250.9c1.8-.7 3.8-.7 5.7 0l78.4 29.7L424 311.7l-81.2-31.1 78.4-29.7zM523.2 421.2l-77.6 34.1V354.8L528 323.2v90.7c0 3.2-1.9 6-4.8 7.3z"]
  114002. };
  114003. var faDivide = {
  114004. prefix: 'fas',
  114005. iconName: 'divide',
  114006. icon: [448, 512, [10135, 247], "f529", "M272 96c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zm0 320c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM400 288c17.7 0 32-14.3 32-32s-14.3-32-32-32H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H400z"]
  114007. };
  114008. var faTengeSign = {
  114009. prefix: 'fas',
  114010. iconName: 'tenge-sign',
  114011. icon: [384, 512, [8376, "tenge"], "f7d7", "M0 64C0 46.3 14.3 32 32 32H352c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 96 0 81.7 0 64zM0 192c0-17.7 14.3-32 32-32H192 352c17.7 0 32 14.3 32 32s-14.3 32-32 32H224V448c0 17.7-14.3 32-32 32s-32-14.3-32-32V224H32c-17.7 0-32-14.3-32-32z"]
  114012. };
  114013. var faTenge = faTengeSign;
  114014. var faHeadphones = {
  114015. prefix: 'fas',
  114016. iconName: 'headphones',
  114017. icon: [512, 512, [127911], "f025", "M256 80C149.9 80 62.4 159.4 49.6 262c9.4-3.8 19.6-6 30.4-6c26.5 0 48 21.5 48 48V432c0 26.5-21.5 48-48 48c-44.2 0-80-35.8-80-80V384 336 288C0 146.6 114.6 32 256 32s256 114.6 256 256v48 48 16c0 44.2-35.8 80-80 80c-26.5 0-48-21.5-48-48V304c0-26.5 21.5-48 48-48c10.8 0 21 2.1 30.4 6C449.6 159.4 362.1 80 256 80z"]
  114018. };
  114019. var faHandsHolding = {
  114020. prefix: 'fas',
  114021. iconName: 'hands-holding',
  114022. icon: [640, 512, [], "f4c2", "M80 104c0-22.1-17.9-40-40-40S0 81.9 0 104v56 64V325.5c0 25.5 10.1 49.9 28.1 67.9L128 493.3c12 12 28.3 18.7 45.3 18.7H240c26.5 0 48-21.5 48-48V385.1c0-29.7-11.8-58.2-32.8-79.2l-25.3-25.3 0 0-15.2-15.2-32-32c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l32 32 15.2 15.2c11 11 9.2 29.2-3.7 37.8c-9.7 6.5-22.7 5.2-31-3.1L98.7 309.5c-12-12-18.7-28.3-18.7-45.3V224 144 104zm480 0v40 80 40.2c0 17-6.7 33.3-18.7 45.3l-51.1 51.1c-8.3 8.3-21.3 9.6-31 3.1c-12.9-8.6-14.7-26.9-3.7-37.8l15.2-15.2 32-32c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-32 32-15.2 15.2 0 0-25.3 25.3c-21 21-32.8 49.5-32.8 79.2V464c0 26.5 21.5 48 48 48h66.7c17 0 33.3-6.7 45.3-18.7l99.9-99.9c18-18 28.1-42.4 28.1-67.9V224 160 104c0-22.1-17.9-40-40-40s-40 17.9-40 40z"]
  114023. };
  114024. var faHandsClapping = {
  114025. prefix: 'fas',
  114026. iconName: 'hands-clapping',
  114027. icon: [576, 512, [], "e1a8", "M368 16V80c0 8.8-7.2 16-16 16s-16-7.2-16-16V16c0-8.8 7.2-16 16-16s16 7.2 16 16zm-98.7 7.1l32 48c4.9 7.4 2.9 17.3-4.4 22.2s-17.3 2.9-22.2-4.4l-32-48c-4.9-7.4-2.9-17.3 4.4-22.2s17.3-2.9 22.2 4.4zM167 119c9.4-9.4 24.6-9.4 33.9 0L324.7 242.7c10.1 10.1 27.3 2.9 27.3-11.3V192c0-17.7 14.3-32 32-32s32 14.3 32 32V345.6c0 57.1-30 110-78.9 139.4c-64 38.4-145.8 28.3-198.5-24.4L39 361c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l53 53c6.1 6.1 16 6.1 22.1 0s6.1-16 0-22.1L55 265c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l93 93c6.1 6.1 16 6.1 22.1 0s6.1-16 0-22.1L87 185c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l117 117c6.1 6.1 16 6.1 22.1 0s6.1-16 0-22.1l-93-93c-9.4-9.4-9.4-24.6 0-33.9zM465.1 484.9c-24.2 14.5-50.9 22.1-77.7 23.1c48.1-39.6 76.6-99 76.6-162.4l0-98.1c8.2-.1 16-6.4 16-16V192c0-17.7 14.3-32 32-32s32 14.3 32 32V345.6c0 57.1-30 110-78.9 139.4zM456.9 18.7c7.4 4.9 9.3 14.8 4.4 22.2l-32 48c-4.9 7.4-14.8 9.3-22.2 4.4s-9.3-14.8-4.4-22.2l32-48c4.9-7.4 14.8-9.3 22.2-4.4z"]
  114028. };
  114029. var faRepublican = {
  114030. prefix: 'fas',
  114031. iconName: 'republican',
  114032. icon: [640, 512, [], "f75e", "M0 192C0 103.6 71.6 32 160 32H384c88.4 0 160 71.6 160 160v64H0V192zm415.9-64c-2.4 0-4.7 1.3-5.7 3.4l-12.6 24.6-28.2 4c-2.4 .3-4.4 2-5.2 4.2s-.1 4.7 1.6 6.3l20.4 19.2-4.8 27.1c-.4 2.3 .6 4.7 2.5 6s4.6 1.6 6.7 .5l25.2-12.8 25.2 12.8c2.2 1.1 4.8 .9 6.7-.5s3-3.7 2.5-6l-4.8-27.1L466 170.5c1.7-1.6 2.4-4.1 1.6-6.3s-2.8-3.9-5.2-4.2l-28.2-4-12.6-24.6c-1.1-2.1-3.3-3.4-5.7-3.4zm-138.3 3.4c-1.1-2.1-3.3-3.4-5.7-3.4s-4.7 1.3-5.7 3.4l-12.6 24.6-28.2 4c-2.4 .3-4.4 2-5.2 4.2s-.1 4.7 1.6 6.3l20.4 19.2-4.8 27.1c-.4 2.3 .6 4.7 2.5 6s4.6 1.6 6.7 .5l25.2-12.8 25.2 12.8c2.2 1.1 4.8 .9 6.7-.5s3-3.7 2.5-6l-4.8-27.1L322 170.5c1.7-1.6 2.4-4.1 1.6-6.3s-2.8-3.9-5.2-4.2l-28.2-4-12.6-24.6zM127.9 128c-2.4 0-4.7 1.3-5.7 3.4l-12.6 24.6-28.2 4c-2.4 .3-4.4 2-5.2 4.2s-.1 4.7 1.6 6.3l20.4 19.2-4.8 27.1c-.4 2.3 .6 4.7 2.5 6s4.6 1.6 6.7 .5l25.2-12.8 25.2 12.8c2.2 1.1 4.8 .9 6.7-.5s3-3.7 2.5-6l-4.8-27.1L178 170.5c1.7-1.6 2.4-4.1 1.6-6.3s-2.8-3.9-5.2-4.2l-28.2-4-12.6-24.6c-1.1-2.1-3.3-3.4-5.7-3.4zm.1 160H320h96 32 64 32v32 80c0 8.8 7.2 16 16 16s16-7.2 16-16V352c0-17.7 14.3-32 32-32s32 14.3 32 32v48c0 44.2-35.8 80-80 80s-80-35.8-80-80V352H448v32 64c0 17.7-14.3 32-32 32H352c-17.7 0-32-14.3-32-32V384H128v64c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32V384 288H128z"]
  114033. };
  114034. var faArrowLeft = {
  114035. prefix: 'fas',
  114036. iconName: 'arrow-left',
  114037. icon: [448, 512, [8592], "f060", "M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]
  114038. };
  114039. var faPersonCircleXmark = {
  114040. prefix: 'fas',
  114041. iconName: 'person-circle-xmark',
  114042. icon: [576, 512, [], "e543", "M208 48c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zM152 352V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V256.9L59.4 304.5c-9.1 15.1-28.8 20-43.9 10.9s-20-28.8-10.9-43.9l58.3-97c17.4-28.9 48.6-46.6 82.3-46.6h29.7c33.7 0 64.9 17.7 82.3 46.6l44.9 74.7c-16.1 17.6-28.6 38.5-36.6 61.5c-1.9-1.8-3.5-3.9-4.9-6.3L232 256.9V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V352H152zM432 512c-79.5 0-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144zm59.3-180.7c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L432 345.4l-36.7-36.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6L409.4 368l-36.7 36.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L432 390.6l36.7 36.7c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L454.6 368l36.7-36.7z"]
  114043. };
  114044. var faRuler = {
  114045. prefix: 'fas',
  114046. iconName: 'ruler',
  114047. icon: [512, 512, [128207], "f545", "M177.9 494.1c-18.7 18.7-49.1 18.7-67.9 0L17.9 401.9c-18.7-18.7-18.7-49.1 0-67.9l50.7-50.7 48 48c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-48-48 41.4-41.4 48 48c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-48-48 41.4-41.4 48 48c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-48-48 41.4-41.4 48 48c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-48-48 50.7-50.7c18.7-18.7 49.1-18.7 67.9 0l92.1 92.1c18.7 18.7 18.7 49.1 0 67.9L177.9 494.1z"]
  114048. };
  114049. var faAlignLeft = {
  114050. prefix: 'fas',
  114051. iconName: 'align-left',
  114052. icon: [448, 512, [], "f036", "M288 64c0 17.7-14.3 32-32 32H32C14.3 96 0 81.7 0 64S14.3 32 32 32H256c17.7 0 32 14.3 32 32zm0 256c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H256c17.7 0 32 14.3 32 32zM0 192c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 448c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"]
  114053. };
  114054. var faDiceD6 = {
  114055. prefix: 'fas',
  114056. iconName: 'dice-d6',
  114057. icon: [448, 512, [], "f6d1", "M216.3 2c4.8-2.6 10.5-2.6 15.3 0L422.3 106c5.1 2.8 8.3 8.2 8.3 14s-3.2 11.2-8.3 14L231.7 238c-4.8 2.6-10.5 2.6-15.3 0L25.7 134c-5.1-2.8-8.3-8.2-8.3-14s3.2-11.2 8.3-14L216.3 2zM23.7 170l176 96c5.1 2.8 8.3 8.2 8.3 14V496c0 5.6-3 10.9-7.8 13.8s-10.9 3-15.8 .3L8.3 414C3.2 411.2 0 405.9 0 400V184c0-5.6 3-10.9 7.8-13.8s10.9-3 15.8-.3zm400.7 0c5-2.7 11-2.6 15.8 .3s7.8 8.1 7.8 13.8V400c0 5.9-3.2 11.2-8.3 14l-176 96c-5 2.7-11 2.6-15.8-.3s-7.8-8.1-7.8-13.8V280c0-5.9 3.2-11.2 8.3-14l176-96z"]
  114058. };
  114059. var faRestroom = {
  114060. prefix: 'fas',
  114061. iconName: 'restroom',
  114062. icon: [640, 512, [], "f7bd", "M176 48c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zM120 352V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V325.2c-8.1 9.2-21.1 13.2-33.5 9.4c-16.9-5.3-26.3-23.2-21-40.1l30.9-99.1C44.9 155.3 82 128 124 128h8c42 0 79.1 27.3 91.6 67.4l30.9 99.1c5.3 16.9-4.1 34.8-21 40.1c-12.4 3.9-25.4-.2-33.5-9.4V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V352H120zM320 0c13.3 0 24 10.7 24 24V488c0 13.3-10.7 24-24 24s-24-10.7-24-24V24c0-13.3 10.7-24 24-24zM560 48c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zM440 480V384H422.2c-10.9 0-18.6-10.7-15.2-21.1l9-26.9c-3.2 0-6.4-.5-9.5-1.5c-16.9-5.3-26.3-23.2-21-40.1l29.7-95.2C428.4 156.9 467.6 128 512 128s83.6 28.9 96.8 71.2l29.7 95.2c5.3 16.9-4.1 34.8-21 40.1c-3.2 1-6.4 1.5-9.5 1.5l9 26.9c3.5 10.4-4.3 21.1-15.2 21.1H584v96c0 17.7-14.3 32-32 32s-32-14.3-32-32V384H504v96c0 17.7-14.3 32-32 32s-32-14.3-32-32z"]
  114063. };
  114064. var faJ = {
  114065. prefix: 'fas',
  114066. iconName: 'j',
  114067. icon: [320, 512, [106], "4a", "M288 32c17.7 0 32 14.3 32 32V320c0 88.4-71.6 160-160 160S0 408.4 0 320V288c0-17.7 14.3-32 32-32s32 14.3 32 32v32c0 53 43 96 96 96s96-43 96-96V64c0-17.7 14.3-32 32-32z"]
  114068. };
  114069. var faUsersViewfinder = {
  114070. prefix: 'fas',
  114071. iconName: 'users-viewfinder',
  114072. icon: [640, 512, [], "e595", "M48 48h88c13.3 0 24-10.7 24-24s-10.7-24-24-24H32C14.3 0 0 14.3 0 32V136c0 13.3 10.7 24 24 24s24-10.7 24-24V48zM175.8 224c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zm-26.5 32C119.9 256 96 279.9 96 309.3c0 14.7 11.9 26.7 26.7 26.7h56.1c8-34.1 32.8-61.7 65.2-73.6c-7.5-4.1-16.2-6.4-25.3-6.4H149.3zm368 80c14.7 0 26.7-11.9 26.7-26.7c0-29.5-23.9-53.3-53.3-53.3H421.3c-9.2 0-17.8 2.3-25.3 6.4c32.4 11.9 57.2 39.5 65.2 73.6h56.1zm-89.4 0c-8.6-24.3-29.9-42.6-55.9-47c-3.9-.7-7.9-1-12-1H280c-4.1 0-8.1 .3-12 1c-26 4.4-47.3 22.7-55.9 47c-2.7 7.5-4.1 15.6-4.1 24c0 13.3 10.7 24 24 24H408c13.3 0 24-10.7 24-24c0-8.4-1.4-16.5-4.1-24zM464 224c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zm-80-32c0-35.3-28.7-64-64-64s-64 28.7-64 64s28.7 64 64 64s64-28.7 64-64zM504 48h88v88c0 13.3 10.7 24 24 24s24-10.7 24-24V32c0-17.7-14.3-32-32-32H504c-13.3 0-24 10.7-24 24s10.7 24 24 24zM48 464V376c0-13.3-10.7-24-24-24s-24 10.7-24 24V480c0 17.7 14.3 32 32 32H136c13.3 0 24-10.7 24-24s-10.7-24-24-24H48zm456 0c-13.3 0-24 10.7-24 24s10.7 24 24 24H608c17.7 0 32-14.3 32-32V376c0-13.3-10.7-24-24-24s-24 10.7-24 24v88H504z"]
  114073. };
  114074. var faFileVideo = {
  114075. prefix: 'fas',
  114076. iconName: 'file-video',
  114077. icon: [384, 512, [], "f1c8", "M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM64 288c0-17.7 14.3-32 32-32h96c17.7 0 32 14.3 32 32v96c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V288zM300.9 397.9L256 368V304l44.9-29.9c2-1.3 4.4-2.1 6.8-2.1c6.8 0 12.3 5.5 12.3 12.3V387.7c0 6.8-5.5 12.3-12.3 12.3c-2.4 0-4.8-.7-6.8-2.1z"]
  114078. };
  114079. var faUpRightFromSquare = {
  114080. prefix: 'fas',
  114081. iconName: 'up-right-from-square',
  114082. icon: [448, 512, ["external-link-alt"], "f35d", "M288 32c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9L306.7 128 169.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L352 173.3l41.4 41.4c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6V64c0-17.7-14.3-32-32-32H288zM80 64C35.8 64 0 99.8 0 144V400c0 44.2 35.8 80 80 80H336c44.2 0 80-35.8 80-80V320c0-17.7-14.3-32-32-32s-32 14.3-32 32v80c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V144c0-8.8 7.2-16 16-16h80c17.7 0 32-14.3 32-32s-14.3-32-32-32H80z"]
  114083. };
  114084. var faExternalLinkAlt = faUpRightFromSquare;
  114085. var faTableCells = {
  114086. prefix: 'fas',
  114087. iconName: 'table-cells',
  114088. icon: [512, 512, ["th"], "f00a", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm88 64v64H64V96h88zm56 0h88v64H208V96zm240 0v64H360V96h88zM64 224h88v64H64V224zm232 0v64H208V224h88zm64 0h88v64H360V224zM152 352v64H64V352h88zm56 0h88v64H208V352zm240 0v64H360V352h88z"]
  114089. };
  114090. var faTh = faTableCells;
  114091. var faFilePdf = {
  114092. prefix: 'fas',
  114093. iconName: 'file-pdf',
  114094. icon: [384, 512, [], "f1c1", "M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM64 224H88c30.9 0 56 25.1 56 56s-25.1 56-56 56H80v32c0 8.8-7.2 16-16 16s-16-7.2-16-16V320 240c0-8.8 7.2-16 16-16zm24 80c13.3 0 24-10.7 24-24s-10.7-24-24-24H80v48h8zm72-64c0-8.8 7.2-16 16-16h24c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H176c-8.8 0-16-7.2-16-16V240zm32 112h8c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16h-8v96zm96-128h48c8.8 0 16 7.2 16 16s-7.2 16-16 16H304v32h32c8.8 0 16 7.2 16 16s-7.2 16-16 16H304v48c0 8.8-7.2 16-16 16s-16-7.2-16-16V304 240c0-8.8 7.2-16 16-16z"]
  114095. };
  114096. var faBookBible = {
  114097. prefix: 'fas',
  114098. iconName: 'book-bible',
  114099. icon: [448, 512, ["bible"], "f647", "M96 0C43 0 0 43 0 96V416c0 53 43 96 96 96H384h32c17.7 0 32-14.3 32-32s-14.3-32-32-32V384c17.7 0 32-14.3 32-32V32c0-17.7-14.3-32-32-32H384 96zm0 384H352v64H96c-17.7 0-32-14.3-32-32s14.3-32 32-32zM208 80c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v48h48c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H272V304c0 8.8-7.2 16-16 16H224c-8.8 0-16-7.2-16-16V192H160c-8.8 0-16-7.2-16-16V144c0-8.8 7.2-16 16-16h48V80z"]
  114100. };
  114101. var faBible = faBookBible;
  114102. var faO = {
  114103. prefix: 'fas',
  114104. iconName: 'o',
  114105. icon: [448, 512, [111], "4f", "M224 96C135.6 96 64 167.6 64 256s71.6 160 160 160s160-71.6 160-160s-71.6-160-160-160zM0 256C0 132.3 100.3 32 224 32s224 100.3 224 224s-100.3 224-224 224S0 379.7 0 256z"]
  114106. };
  114107. var faSuitcaseMedical = {
  114108. prefix: 'fas',
  114109. iconName: 'suitcase-medical',
  114110. icon: [512, 512, ["medkit"], "f0fa", "M184 48H328c4.4 0 8 3.6 8 8V96H176V56c0-4.4 3.6-8 8-8zm-56 8V96v32V480H384V128 96 56c0-30.9-25.1-56-56-56H184c-30.9 0-56 25.1-56 56zM96 96H64C28.7 96 0 124.7 0 160V416c0 35.3 28.7 64 64 64H96V96zM416 480h32c35.3 0 64-28.7 64-64V160c0-35.3-28.7-64-64-64H416V480zM224 208c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v48h48c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H288v48c0 8.8-7.2 16-16 16H240c-8.8 0-16-7.2-16-16V320H176c-8.8 0-16-7.2-16-16V272c0-8.8 7.2-16 16-16h48V208z"]
  114111. };
  114112. var faMedkit = faSuitcaseMedical;
  114113. var faUserSecret = {
  114114. prefix: 'fas',
  114115. iconName: 'user-secret',
  114116. icon: [448, 512, [128373], "f21b", "M224 16c-6.7 0-10.8-2.8-15.5-6.1C201.9 5.4 194 0 176 0c-30.5 0-52 43.7-66 89.4C62.7 98.1 32 112.2 32 128c0 14.3 25 27.1 64.6 35.9c-.4 4-.6 8-.6 12.1c0 17 3.3 33.2 9.3 48H45.4C38 224 32 230 32 237.4c0 1.7 .3 3.4 1 5l38.8 96.9C28.2 371.8 0 423.8 0 482.3C0 498.7 13.3 512 29.7 512H418.3c16.4 0 29.7-13.3 29.7-29.7c0-58.5-28.2-110.4-71.7-143L415 242.4c.6-1.6 1-3.3 1-5c0-7.4-6-13.4-13.4-13.4H342.7c6-14.8 9.3-31 9.3-48c0-4.1-.2-8.1-.6-12.1C391 155.1 416 142.3 416 128c0-15.8-30.7-29.9-78-38.6C324 43.7 302.5 0 272 0c-18 0-25.9 5.4-32.5 9.9c-4.7 3.3-8.8 6.1-15.5 6.1zm56 208H267.6c-16.5 0-31.1-10.6-36.3-26.2c-2.3-7-12.2-7-14.5 0c-5.2 15.6-19.9 26.2-36.3 26.2H168c-22.1 0-40-17.9-40-40V169.6c28.2 4.1 61 6.4 96 6.4s67.8-2.3 96-6.4V184c0 22.1-17.9 40-40 40zm-88 96l16 32L176 480 128 288l64 32zm128-32L272 480 240 352l16-32 64-32z"]
  114117. };
  114118. var faOtter = {
  114119. prefix: 'fas',
  114120. iconName: 'otter',
  114121. icon: [640, 512, [129446], "f700", "M181.5 197.1l12.9 6.4c5.9 3 12.4 4.5 19.1 4.5c23.5 0 42.6-19.1 42.6-42.6V144c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64v21.4c0 23.5 19.1 42.6 42.6 42.6c6.6 0 13.1-1.5 19.1-4.5l12.9-6.4 8.4-4.2L135.1 185c-4.5-3-7.1-8-7.1-13.3V168c0-13.3 10.7-24 24-24h16c13.3 0 24 10.7 24 24v3.7c0 5.3-2.7 10.3-7.1 13.3l-11.8 7.9 8.4 4.2zm-8.6 49.4L160 240l-12.9 6.4c-12.6 6.3-26.5 9.6-40.5 9.6c-3.6 0-7.1-.2-10.6-.6v.6c0 35.3 28.7 64 64 64h64c17.7 0 32 14.3 32 32s-14.3 32-32 32H384V336 320c0-23.7 12.9-44.4 32-55.4c9.4-5.4 20.3-8.6 32-8.6V240c0-26.5 21.5-48 48-48c8.8 0 16 7.2 16 16v32 16 48c0 8.8 7.2 16 16 16s16-7.2 16-16V204.3c0-48.2-30.8-91-76.6-106.3l-8.5-2.8c-8-2.7-12.6-11.1-10.4-19.3s10.3-13.2 18.6-11.6l19.9 4C576 86.1 640 164.2 640 254.9l0 1.1h0c0 123.7-100.3 224-224 224h-1.1H256h-.6C132 480 32 380 32 256.6V256 216.8c-10.1-14.6-16-32.3-16-51.4V144l0-1.4C6.7 139.3 0 130.5 0 120c0-13.3 10.7-24 24-24h2.8C44.8 58.2 83.3 32 128 32h64c44.7 0 83.2 26.2 101.2 64H296c13.3 0 24 10.7 24 24c0 10.5-6.7 19.3-16 22.6l0 1.4v21.4c0 1.4 0 2.8-.1 4.3c12-6.2 25.7-9.6 40.1-9.6h8c17.7 0 32 14.3 32 32s-14.3 32-32 32h-8c-13.3 0-24 10.7-24 24v8h56.4c-15.2 17-24.4 39.4-24.4 64H320c-42.3 0-78.2-27.4-91-65.3c-5.1 .9-10.3 1.3-15.6 1.3c-14.1 0-27.9-3.3-40.5-9.6zM96 160c-8.8 0-16-7.2-16-16s7.2-16 16-16s16 7.2 16 16s-7.2 16-16 16zm144-16c0 8.8-7.2 16-16 16s-16-7.2-16-16s7.2-16 16-16s16 7.2 16 16z"]
  114122. };
  114123. var faPersonDress = {
  114124. prefix: 'fas',
  114125. iconName: 'person-dress',
  114126. icon: [320, 512, ["female"], "f182", "M160 96c-26.5 0-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48zM88 384H70.2c-10.9 0-18.6-10.7-15.2-21.1L93.3 248.1 59.4 304.5c-9.1 15.1-28.8 20-43.9 10.9s-20-28.8-10.9-43.9l53.6-89.2c20.3-33.7 56.7-54.3 96-54.3h11.6c39.3 0 75.7 20.6 96 54.3l53.6 89.2c9.1 15.1 4.2 34.8-10.9 43.9s-34.8 4.2-43.9-10.9l-33.9-56.3L265 362.9c3.5 10.4-4.3 21.1-15.2 21.1H232v96c0 17.7-14.3 32-32 32s-32-14.3-32-32V384H152v96c0 17.7-14.3 32-32 32s-32-14.3-32-32V384z"]
  114127. };
  114128. var faFemale = faPersonDress;
  114129. var faCommentDollar = {
  114130. prefix: 'fas',
  114131. iconName: 'comment-dollar',
  114132. icon: [512, 512, [], "f651", "M256 448c141.4 0 256-93.1 256-208S397.4 32 256 32S0 125.1 0 240c0 45.1 17.7 86.8 47.7 120.9c-1.9 24.5-11.4 46.3-21.4 62.9c-5.5 9.2-11.1 16.6-15.2 21.6c-2.1 2.5-3.7 4.4-4.9 5.7c-.6 .6-1 1.1-1.3 1.4l-.3 .3 0 0 0 0 0 0 0 0c-4.6 4.6-5.9 11.4-3.4 17.4c2.5 6 8.3 9.9 14.8 9.9c28.7 0 57.6-8.9 81.6-19.3c22.9-10 42.4-21.9 54.3-30.6c31.8 11.5 67 17.9 104.1 17.9zm20-312v13.9c7.5 1.2 14.6 2.9 21.1 4.7c10.7 2.8 17 13.8 14.2 24.5s-13.8 17-24.5 14.2c-11-2.9-21.6-5-31.2-5.2c-7.9-.1-16 1.8-21.5 5c-4.8 2.8-6.2 5.6-6.2 9.3c0 1.8 .1 3.5 5.3 6.7c6.3 3.8 15.5 6.7 28.3 10.5l.7 .2c11.2 3.4 25.6 7.7 37.1 15c12.9 8.1 24.3 21.3 24.6 41.6c.3 20.9-10.5 36.1-24.8 45c-7.2 4.5-15.2 7.3-23.2 9V344c0 11-9 20-20 20s-20-9-20-20V329.4c-10.3-2.2-20-5.5-28.2-8.4l0 0 0 0c-2.1-.7-4.1-1.4-6.1-2.1c-10.5-3.5-16.1-14.8-12.6-25.3s14.8-16.1 25.3-12.6c2.5 .8 4.9 1.7 7.2 2.4c13.6 4.6 24 8.1 35.1 8.5c8.6 .3 16.5-1.6 21.4-4.7c4.1-2.5 6-5.5 5.9-10.5c0-2.9-.8-5-5.9-8.2c-6.3-4-15.4-6.9-28-10.7l-1.7-.5c-10.9-3.3-24.6-7.4-35.6-14c-12.7-7.7-24.6-20.5-24.7-40.7c-.1-21.1 11.8-35.7 25.8-43.9c6.9-4.1 14.5-6.8 22.2-8.5V136c0-11 9-20 20-20s20 9 20 20z"]
  114133. };
  114134. var faBusinessTime = {
  114135. prefix: 'fas',
  114136. iconName: 'business-time',
  114137. icon: [640, 512, ["briefcase-clock"], "f64a", "M184 48H328c4.4 0 8 3.6 8 8V96H176V56c0-4.4 3.6-8 8-8zm-56 8V96H64C28.7 96 0 124.7 0 160v96H192 352h8.2c32.3-39.1 81.1-64 135.8-64c5.4 0 10.7 .2 16 .7V160c0-35.3-28.7-64-64-64H384V56c0-30.9-25.1-56-56-56H184c-30.9 0-56 25.1-56 56zM320 352H224c-17.7 0-32-14.3-32-32V288H0V416c0 35.3 28.7 64 64 64H360.2C335.1 449.6 320 410.5 320 368c0-5.4 .2-10.7 .7-16l-.7 0zm320 16c0-79.5-64.5-144-144-144s-144 64.5-144 144s64.5 144 144 144s144-64.5 144-144zM496 288c8.8 0 16 7.2 16 16v48h32c8.8 0 16 7.2 16 16s-7.2 16-16 16H496c-8.8 0-16-7.2-16-16V304c0-8.8 7.2-16 16-16z"]
  114138. };
  114139. var faBriefcaseClock = faBusinessTime;
  114140. var faTableCellsLarge = {
  114141. prefix: 'fas',
  114142. iconName: 'table-cells-large',
  114143. icon: [512, 512, ["th-large"], "f009", "M448 96V224H288V96H448zm0 192V416H288V288H448zM224 224H64V96H224V224zM64 288H224V416H64V288zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64z"]
  114144. };
  114145. var faThLarge = faTableCellsLarge;
  114146. var faBookTanakh = {
  114147. prefix: 'fas',
  114148. iconName: 'book-tanakh',
  114149. icon: [448, 512, ["tanakh"], "f827", "M352 0c53 0 96 43 96 96V416c0 53-43 96-96 96H64 32c-17.7 0-32-14.3-32-32s14.3-32 32-32V384c-17.7 0-32-14.3-32-32V32C0 14.3 14.3 0 32 0H64 352zm0 384H96v64H352c17.7 0 32-14.3 32-32s-14.3-32-32-32zM138.7 208l13.9 24H124.9l13.9-24zm-13.9-24L97.1 232c-6.2 10.7 1.5 24 13.9 24h55.4l27.7 48c6.2 10.7 21.6 10.7 27.7 0l27.7-48H305c12.3 0 20-13.3 13.9-24l-27.7-48 27.7-48c6.2-10.7-1.5-24-13.9-24H249.6L221.9 64c-6.2-10.7-21.6-10.7-27.7 0l-27.7 48H111c-12.3 0-20 13.3-13.9 24l27.7 48zm27.7 0l27.7-48h55.4l27.7 48-27.7 48H180.3l-27.7-48zm0-48l-13.9 24-13.9-24h27.7zm41.6-24L208 88l13.9 24H194.1zm69.3 24h27.7l-13.9 24-13.9-24zm13.9 72l13.9 24H263.4l13.9-24zm-55.4 48L208 280l-13.9-24h27.7z"]
  114150. };
  114151. var faTanakh = faBookTanakh;
  114152. var faPhoneVolume = {
  114153. prefix: 'fas',
  114154. iconName: 'phone-volume',
  114155. icon: [512, 512, ["volume-control-phone"], "f2a0", "M188.8 39.3c13.8 8.5 19.6 26.8 13.6 42.7L174.2 156c-5.3 14-18.5 22.5-32.4 21l-42.6-4.6c-17.4 54.1-17.4 113.2 0 167.3l42.6-4.6c13.9-1.5 27.1 7 32.4 21L202.4 430c6.1 15.9 .3 34.2-13.6 42.7l-56.4 34.8c-12.4 7.7-28 5.4-38.1-5.5C-31.4 366.1-31.4 145.9 94.3 10C104.4-.9 120.1-3.1 132.5 4.5l56.4 34.8zm218.4-5.5C471.2 86.6 512 166.6 512 256s-40.8 169.4-104.7 222.2c-10.2 8.4-25.3 7-33.8-3.2s-7-25.3 3.2-33.8C430.1 397.1 464 330.5 464 256s-33.9-141.1-87.3-185.2c-10.2-8.4-11.7-23.6-3.2-33.8s23.6-11.7 33.8-3.2zm-64.4 71.4C387.4 140.4 416 194.8 416 256s-28.6 115.6-73.1 150.8c-10.4 8.2-25.5 6.4-33.7-4s-6.4-25.5 4-33.7C346.6 342.7 368 301.8 368 256s-21.4-86.7-54.8-113.1c-10.4-8.2-12.2-23.3-4-33.7s23.3-12.2 33.7-4zm-65.4 71C303.1 193.5 320 222.8 320 256s-16.9 62.5-42.5 79.7c-11 7.4-25.9 4.5-33.3-6.5s-4.5-25.9 6.5-33.3c12.9-8.7 21.3-23.3 21.3-39.9s-8.4-31.2-21.3-39.9c-11-7.4-13.9-22.3-6.5-33.3s22.3-13.9 33.3-6.5z"]
  114156. };
  114157. var faVolumeControlPhone = faPhoneVolume;
  114158. var faHatCowboySide = {
  114159. prefix: 'fas',
  114160. iconName: 'hat-cowboy-side',
  114161. icon: [640, 512, [], "f8c1", "M463.2 71.3c-2.4-12.8-9.8-24.1-20.7-31.3s-24.2-9.7-36.9-6.8l-216 48c-19.8 4.4-34.7 20.8-37.2 40.9l-8.8 70.6c5.3-.4 10.8-.7 16.5-.7c82.9 0 141.9 55.3 197.5 107.5l0 0c3.1 3 6.3 5.9 9.4 8.8C427.1 364.5 486.9 416 576 416c0 0 64 0 64-48c0-96-112-128-144-128h-1.6L463.2 71.3zM576 448c-102.9 0-171.1-60.5-230.9-116.3l-6.5-6C279.9 270.8 229.9 224 160 224c-57.8 0-97.4 28.6-123.1 63.5C10.7 323 0 363.8 0 384c0 35.3 28.7 64 64 64H576z"]
  114162. };
  114163. var faClipboardUser = {
  114164. prefix: 'fas',
  114165. iconName: 'clipboard-user',
  114166. icon: [384, 512, [], "f7f3", "M192 0c-41.8 0-77.4 26.7-90.5 64H64C28.7 64 0 92.7 0 128V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64H282.5C269.4 26.7 233.8 0 192 0zm0 128c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zm64 128c0 35.3-28.7 64-64 64s-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64zM80 432c0-44.2 35.8-80 80-80h64c44.2 0 80 35.8 80 80c0 8.8-7.2 16-16 16H96c-8.8 0-16-7.2-16-16z"]
  114167. };
  114168. var faChild = {
  114169. prefix: 'fas',
  114170. iconName: 'child',
  114171. icon: [320, 512, [], "f1ae", "M224 64c0 35.3-28.7 64-64 64s-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64zM144 384v96c0 17.7-14.3 32-32 32s-32-14.3-32-32V287.8L59.1 321c-9.4 15-29.2 19.4-44.1 10S-4.5 301.9 4.9 287l39.9-63.3C69.7 184 113.2 160 160 160s90.3 24 115.2 63.6L315.1 287c9.4 15 4.9 34.7-10 44.1s-34.7 4.9-44.1-10L240 287.8V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V384H144z"]
  114172. };
  114173. var faLiraSign = {
  114174. prefix: 'fas',
  114175. iconName: 'lira-sign',
  114176. icon: [384, 512, [8356], "f195", "M144 160.4c0-35.5 28.8-64.4 64.4-64.4c6.9 0 13.8 1.1 20.4 3.3l81.2 27.1c16.8 5.6 34.9-3.5 40.5-20.2s-3.5-34.9-20.2-40.5L249 38.6c-13.1-4.4-26.8-6.6-40.6-6.6C137.5 32 80 89.5 80 160.4V192H64c-17.7 0-32 14.3-32 32s14.3 32 32 32H80v32H64c-17.7 0-32 14.3-32 32s14.3 32 32 32H78c-2.2 10.5-6.1 20.6-11.7 29.9L36.6 431.5c-5.9 9.9-6.1 22.2-.4 32.2S52.5 480 64 480H320c17.7 0 32-14.3 32-32s-14.3-32-32-32H120.5l.7-1.1c11.6-19.3 18.9-40.7 21.6-62.9H256c17.7 0 32-14.3 32-32s-14.3-32-32-32H144V256H256c17.7 0 32-14.3 32-32s-14.3-32-32-32H144V160.4z"]
  114177. };
  114178. var faSatellite = {
  114179. prefix: 'fas',
  114180. iconName: 'satellite',
  114181. icon: [512, 512, [128752], "f7bf", "M233 7c-9.4-9.4-24.6-9.4-33.9 0l-96 96c-9.4 9.4-9.4 24.6 0 33.9l89.4 89.4-15.5 15.5C152.3 230.4 124.9 224 96 224c-31.7 0-61.5 7.7-87.8 21.2c-9 4.7-10.3 16.7-3.1 23.8L112.7 376.7 96.3 393.1c-2.6-.7-5.4-1.1-8.3-1.1c-17.7 0-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32c0-2.9-.4-5.6-1.1-8.3l16.4-16.4L242.9 506.9c7.2 7.2 19.2 5.9 23.8-3.1C280.3 477.5 288 447.7 288 416c0-28.9-6.4-56.3-17.8-80.9l15.5-15.5L375 409c9.4 9.4 24.6 9.4 33.9 0l96-96c9.4-9.4 9.4-24.6 0-33.9l-89.4-89.4 55-55c12.5-12.5 12.5-32.8 0-45.3l-48-48c-12.5-12.5-32.8-12.5-45.3 0l-55 55L233 7zm159 351l-72.4-72.4 62.1-62.1L454.1 296 392 358.1zM226.3 192.4L153.9 120 216 57.9l72.4 72.4-62.1 62.1z"]
  114182. };
  114183. var faPlaneLock = {
  114184. prefix: 'fas',
  114185. iconName: 'plane-lock',
  114186. icon: [640, 512, [], "e558", "M192 93.7C192 59.5 221 0 256 0c36 0 64 59.5 64 93.7v84.6l101.8 58.2C418 247.6 416 259.6 416 272v24.6c-17.9 10.4-30.3 29.1-31.8 50.9L320 329.1V400l57.6 43.2c4 3 6.4 7.8 6.4 12.8v24 18c0 7.8-6.3 14-14 14c-1.3 0-2.6-.2-3.9-.5L256 480 145.9 511.5c-1.3 .4-2.6 .5-3.9 .5c-7.8 0-14-6.3-14-14V456c0-5 2.4-9.8 6.4-12.8L192 400l0-70.9-171.6 49C10.2 381.1 0 373.4 0 362.8V297.3c0-5.7 3.1-11 8.1-13.9L192 178.3V93.7zM528 240c-17.7 0-32 14.3-32 32v48h64V272c0-17.7-14.3-32-32-32zm-80 32c0-44.2 35.8-80 80-80s80 35.8 80 80v48c17.7 0 32 14.3 32 32V480c0 17.7-14.3 32-32 32H448c-17.7 0-32-14.3-32-32V352c0-17.7 14.3-32 32-32V272z"]
  114187. };
  114188. var faTag = {
  114189. prefix: 'fas',
  114190. iconName: 'tag',
  114191. icon: [448, 512, [127991], "f02b", "M0 80V229.5c0 17 6.7 33.3 18.7 45.3l176 176c25 25 65.5 25 90.5 0L418.7 317.3c25-25 25-65.5 0-90.5l-176-176c-12-12-28.3-18.7-45.3-18.7H48C21.5 32 0 53.5 0 80zm112 96c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]
  114192. };
  114193. var faComment = {
  114194. prefix: 'fas',
  114195. iconName: 'comment',
  114196. icon: [512, 512, [128489, 61669], "f075", "M512 240c0 114.9-114.6 208-256 208c-37.1 0-72.3-6.4-104.1-17.9c-11.9 8.7-31.3 20.6-54.3 30.6C73.6 471.1 44.7 480 16 480c-6.5 0-12.3-3.9-14.8-9.9c-2.5-6-1.1-12.8 3.4-17.4l0 0 0 0 0 0 0 0 .3-.3c.3-.3 .7-.7 1.3-1.4c1.1-1.2 2.8-3.1 4.9-5.7c4.1-5 9.6-12.4 15.2-21.6c10-16.6 19.5-38.4 21.4-62.9C17.7 326.8 0 285.1 0 240C0 125.1 114.6 32 256 32s256 93.1 256 208z"]
  114197. };
  114198. var faCakeCandles = {
  114199. prefix: 'fas',
  114200. iconName: 'cake-candles',
  114201. icon: [448, 512, [127874, "birthday-cake", "cake"], "f1fd", "M86.4 5.5L61.8 47.6C58 54.1 56 61.6 56 69.2V72c0 22.1 17.9 40 40 40s40-17.9 40-40V69.2c0-7.6-2-15-5.8-21.6L105.6 5.5C103.6 2.1 100 0 96 0s-7.6 2.1-9.6 5.5zm128 0L189.8 47.6c-3.8 6.5-5.8 14-5.8 21.6V72c0 22.1 17.9 40 40 40s40-17.9 40-40V69.2c0-7.6-2-15-5.8-21.6L233.6 5.5C231.6 2.1 228 0 224 0s-7.6 2.1-9.6 5.5zM317.8 47.6c-3.8 6.5-5.8 14-5.8 21.6V72c0 22.1 17.9 40 40 40s40-17.9 40-40V69.2c0-7.6-2-15-5.8-21.6L361.6 5.5C359.6 2.1 356 0 352 0s-7.6 2.1-9.6 5.5L317.8 47.6zM128 176c0-17.7-14.3-32-32-32s-32 14.3-32 32v48c-35.3 0-64 28.7-64 64v71c8.3 5.2 18.1 9 28.8 9c13.5 0 27.2-6.1 38.4-13.4c5.4-3.5 9.9-7.1 13-9.7c1.5-1.3 2.7-2.4 3.5-3.1c.4-.4 .7-.6 .8-.8l.1-.1 0 0 0 0s0 0 0 0s0 0 0 0c3.1-3.2 7.4-4.9 11.9-4.8s8.6 2.1 11.6 5.4l0 0 0 0 .1 .1c.1 .1 .4 .4 .7 .7c.7 .7 1.7 1.7 3.1 3c2.8 2.6 6.8 6.1 11.8 9.5c10.2 7.1 23 13.1 36.3 13.1s26.1-6 36.3-13.1c5-3.5 9-6.9 11.8-9.5c1.4-1.3 2.4-2.3 3.1-3c.3-.3 .6-.6 .7-.7l.1-.1c3-3.5 7.4-5.4 12-5.4s9 2 12 5.4l.1 .1c.1 .1 .4 .4 .7 .7c.7 .7 1.7 1.7 3.1 3c2.8 2.6 6.8 6.1 11.8 9.5c10.2 7.1 23 13.1 36.3 13.1s26.1-6 36.3-13.1c5-3.5 9-6.9 11.8-9.5c1.4-1.3 2.4-2.3 3.1-3c.3-.3 .6-.6 .7-.7l.1-.1c2.9-3.4 7.1-5.3 11.6-5.4s8.7 1.6 11.9 4.8l0 0 0 0 0 0 .1 .1c.2 .2 .4 .4 .8 .8c.8 .7 1.9 1.8 3.5 3.1c3.1 2.6 7.5 6.2 13 9.7c11.2 7.3 24.9 13.4 38.4 13.4c10.7 0 20.5-3.9 28.8-9V288c0-35.3-28.7-64-64-64V176c0-17.7-14.3-32-32-32s-32 14.3-32 32v48H256V176c0-17.7-14.3-32-32-32s-32 14.3-32 32v48H128V176zM448 394.6c-8.5 3.3-18.2 5.4-28.8 5.4c-22.5 0-42.4-9.9-55.8-18.6c-4.1-2.7-7.8-5.4-10.9-7.8c-2.8 2.4-6.1 5-9.8 7.5C329.8 390 310.6 400 288 400s-41.8-10-54.6-18.9c-3.5-2.4-6.7-4.9-9.4-7.2c-2.7 2.3-5.9 4.7-9.4 7.2C201.8 390 182.6 400 160 400s-41.8-10-54.6-18.9c-3.7-2.6-7-5.2-9.8-7.5c-3.1 2.4-6.8 5.1-10.9 7.8C71.2 390.1 51.3 400 28.8 400c-10.6 0-20.3-2.2-28.8-5.4V480c0 17.7 14.3 32 32 32H416c17.7 0 32-14.3 32-32V394.6z"]
  114202. };
  114203. var faBirthdayCake = faCakeCandles;
  114204. var faCake = faCakeCandles;
  114205. var faEnvelope = {
  114206. prefix: 'fas',
  114207. iconName: 'envelope',
  114208. icon: [512, 512, [128386, 9993, 61443], "f0e0", "M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48H48zM0 176V384c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V176L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z"]
  114209. };
  114210. var faAnglesUp = {
  114211. prefix: 'fas',
  114212. iconName: 'angles-up',
  114213. icon: [448, 512, ["angle-double-up"], "f102", "M246.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L224 109.3 361.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160zm160 352l-160-160c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L224 301.3 361.4 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3z"]
  114214. };
  114215. var faAngleDoubleUp = faAnglesUp;
  114216. var faPaperclip = {
  114217. prefix: 'fas',
  114218. iconName: 'paperclip',
  114219. icon: [512, 512, [128206], "f0c6", "M396.2 83.8c-24.4-24.4-64-24.4-88.4 0l-184 184c-42.1 42.1-42.1 110.3 0 152.4s110.3 42.1 152.4 0l152-152c10.9-10.9 28.7-10.9 39.6 0s10.9 28.7 0 39.6l-152 152c-64 64-167.6 64-231.6 0s-64-167.6 0-231.6l184-184c46.3-46.3 121.3-46.3 167.6 0s46.3 121.3 0 167.6l-176 176c-28.6 28.6-75 28.6-103.6 0s-28.6-75 0-103.6l144-144c10.9-10.9 28.7-10.9 39.6 0s10.9 28.7 0 39.6l-144 144c-6.7 6.7-6.7 17.7 0 24.4s17.7 6.7 24.4 0l176-176c24.4-24.4 24.4-64 0-88.4z"]
  114220. };
  114221. var faArrowRightToCity = {
  114222. prefix: 'fas',
  114223. iconName: 'arrow-right-to-city',
  114224. icon: [640, 512, [], "e4b3", "M288 48c0-26.5 21.5-48 48-48h96c26.5 0 48 21.5 48 48V192h40V120c0-13.3 10.7-24 24-24s24 10.7 24 24v72h24c26.5 0 48 21.5 48 48V464c0 26.5-21.5 48-48 48H432 336c-26.5 0-48-21.5-48-48V48zm64 32v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V80c0-8.8-7.2-16-16-16H368c-8.8 0-16 7.2-16 16zm16 80c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V176c0-8.8-7.2-16-16-16H368zM352 272v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16H368c-8.8 0-16 7.2-16 16zm176-16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16H528zM512 368v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V368c0-8.8-7.2-16-16-16H528c-8.8 0-16 7.2-16 16zM166.6 153.4l80 80c12.5 12.5 12.5 32.8 0 45.3l-80 80c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L146.7 288H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H146.7l-25.4-25.4c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0z"]
  114225. };
  114226. var faRibbon = {
  114227. prefix: 'fas',
  114228. iconName: 'ribbon',
  114229. icon: [448, 512, [127895], "f4d6", "M224 96c39.5 0 66.8 12.2 81.9 21.5L245.6 184l79.3 87.4 36.3-40c14.7-16.2 22.8-37.3 22.8-59.1v-27c0-15.6-4.1-30.8-12-44.3L337.7 42C326.4 22.7 307 6.8 282.1 3.5C267.8 1.6 248.4 0 224 0s-43.8 1.6-58 3.5C141 6.8 121.7 22.7 110.4 42L76 101c-7.8 13.4-12 28.7-12 44.3v27c0 21.9 8.1 42.9 22.8 59.1l57.9 63.8L224 382.6 334.2 504.1c6.4 7 16.3 9.7 25.4 6.6l72-24c7.7-2.6 13.6-8.8 15.6-16.7s0-16.2-5.4-22.2L303.3 295.2 224 207.8l-81.9-90.3C157.3 108.2 184.5 96 224 96zM202.4 406.5L123.2 319 6.3 447.9c-5.4 6-7.5 14.4-5.4 22.2s7.9 14.1 15.6 16.7l72 24c9 3 19 .4 25.4-6.6l88.6-97.7z"]
  114230. };
  114231. var faLungs = {
  114232. prefix: 'fas',
  114233. iconName: 'lungs',
  114234. icon: [640, 512, [129729], "f604", "M320 0c17.7 0 32 14.3 32 32V164.1c0 16.4 8.4 31.7 22.2 40.5l9.8 6.2V165.3C384 127 415 96 453.3 96c21.7 0 42.8 10.2 55.8 28.8c15.4 22.1 44.3 65.4 71 116.9c26.5 50.9 52.4 112.5 59.6 170.3c.2 1.3 .2 2.6 .2 4v7c0 49.1-39.8 89-89 89c-7.3 0-14.5-.9-21.6-2.7l-72.7-18.2C414 480.5 384 442.1 384 398V325l90.5 57.6c7.5 4.7 17.3 2.5 22.1-4.9s2.5-17.3-4.9-22.1L384 287.1v-.4l-44.1-28.1c-7.3-4.6-13.9-10.1-19.9-16.1c-5.9 6-12.6 11.5-19.9 16.1L256 286.7 161.2 347l-13.5 8.6c0 0 0 0-.1 0c-7.4 4.8-9.6 14.6-4.8 22.1c4.7 7.5 14.6 9.7 22.1 4.9l91.1-58V398c0 44.1-30 82.5-72.7 93.1l-72.7 18.2c-7.1 1.8-14.3 2.7-21.6 2.7c-49.1 0-89-39.8-89-89v-7c0-1.3 .1-2.7 .2-4c7.2-57.9 33.1-119.4 59.6-170.3c26.8-51.5 55.6-94.8 71-116.9c13-18.6 34-28.8 55.8-28.8C225 96 256 127 256 165.3v45.5l9.8-6.2c13.8-8.8 22.2-24.1 22.2-40.5V32c0-17.7 14.3-32 32-32z"]
  114235. };
  114236. var faArrowUp91 = {
  114237. prefix: 'fas',
  114238. iconName: 'arrow-up-9-1',
  114239. icon: [576, 512, ["sort-numeric-up-alt"], "f887", "M160 32c9 0 17.5 3.8 23.6 10.4l88 96c11.9 13 11.1 33.3-2 45.2s-33.3 11.1-45.2-2L192 146.3V448c0 17.7-14.3 32-32 32s-32-14.3-32-32V146.3L95.6 181.6c-11.9 13-32.2 13.9-45.2 2s-13.9-32.2-2-45.2l88-96C142.5 35.8 151 32 160 32zM352 320c0-17.7 14.3-32 32-32h48c17.7 0 32 14.3 32 32v96h16c17.7 0 32 14.3 32 32s-14.3 32-32 32H432 384c-17.7 0-32-14.3-32-32s14.3-32 32-32h16V352H384c-17.7 0-32-14.3-32-32zm93.7-171.1c10.8-5.1 18.3-16.2 18.3-28.9c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32c4.9 0 9.6-1.1 13.7-3.1zm-40.7 54.9C369.6 192.4 344 159.2 344 120c0-48.6 39.4-88 88-88s88 39.4 88 88c0 23.5-7.5 46.3-21.5 65.2L449.7 251c-10.5 14.2-30.6 17.2-44.8 6.7s-17.2-30.6-6.7-44.8l6.8-9.2z"]
  114240. };
  114241. var faSortNumericUpAlt = faArrowUp91;
  114242. var faLitecoinSign = {
  114243. prefix: 'fas',
  114244. iconName: 'litecoin-sign',
  114245. icon: [448, 512, [], "e1d3", "M160 64c0-17.7-14.3-32-32-32s-32 14.3-32 32V213.6L55.2 225.2c-17 4.9-26.8 22.6-22 39.6s22.6 26.8 39.6 22L96 280.1V448c0 17.7 14.3 32 32 32H384c17.7 0 32-14.3 32-32s-14.3-32-32-32H160V261.9l136.8-39.1c17-4.9 26.8-22.6 22-39.6s-22.6-26.8-39.6-22L160 195.3V64z"]
  114246. };
  114247. var faBorderNone = {
  114248. prefix: 'fas',
  114249. iconName: 'border-none',
  114250. icon: [448, 512, [], "f850", "M32 416c-17.7 0-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32s-14.3-32-32-32zm96 64c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm0-384c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm0 128c-17.7 0-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32s-14.3-32-32-32zM320 480c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm0-448c-17.7 0-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32s-14.3-32-32-32zm0 256c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zM224 416c-17.7 0-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32s-14.3-32-32-32zm0-320c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm0 128c-17.7 0-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32s-14.3-32-32-32zM416 480c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm0-384c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zM32 32C14.3 32 0 46.3 0 64S14.3 96 32 96s32-14.3 32-32s-14.3-32-32-32zM416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zM32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32s-14.3-32-32-32zM224 384c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm192-64c-17.7 0-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32s-14.3-32-32-32zM32 384c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zM416 128c-17.7 0-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32s-14.3-32-32-32zM32 192c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm192-64c-17.7 0-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32s-14.3-32-32-32z"]
  114251. };
  114252. var faCircleNodes = {
  114253. prefix: 'fas',
  114254. iconName: 'circle-nodes',
  114255. icon: [512, 512, [], "e4e2", "M418.4 157.9c35.3-8.3 61.6-40 61.6-77.9c0-44.2-35.8-80-80-80c-43.4 0-78.7 34.5-80 77.5L136.2 151.1C121.7 136.8 101.9 128 80 128c-44.2 0-80 35.8-80 80s35.8 80 80 80c12.2 0 23.8-2.7 34.1-7.6L259.7 407.8c-2.4 7.6-3.7 15.8-3.7 24.2c0 44.2 35.8 80 80 80s80-35.8 80-80c0-27.7-14-52.1-35.4-66.4l37.8-207.7zM156.3 232.2c2.2-6.9 3.5-14.2 3.7-21.7l183.8-73.5c3.6 3.5 7.4 6.7 11.6 9.5L317.6 354.1c-5.5 1.3-10.8 3.1-15.8 5.5L156.3 232.2z"]
  114256. };
  114257. var faParachuteBox = {
  114258. prefix: 'fas',
  114259. iconName: 'parachute-box',
  114260. icon: [512, 512, [], "f4cd", "M383.5 192c.3-5.3 .5-10.6 .5-16c0-51-15.9-96-40.2-127.6C319.5 16.9 288.2 0 256 0s-63.5 16.9-87.8 48.4C143.9 80 128 125 128 176c0 5.4 .2 10.7 .5 16H240V320H208c-7 0-13.7 1.5-19.7 4.2L68.2 192H96.5c-.3-5.3-.5-10.6-.5-16c0-64 22.2-121.2 57.1-159.3C62 49.3 18.6 122.6 4.2 173.6C1.5 183.1 9 192 18.9 192h6L165.2 346.3c-3.3 6.5-5.2 13.9-5.2 21.7v96c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48V368c0-7.8-1.9-15.2-5.2-21.7L487.1 192h6c9.9 0 17.4-8.9 14.7-18.4C493.4 122.6 450 49.3 358.9 16.7C393.8 54.8 416 112.1 416 176c0 5.4-.2 10.7-.5 16h28.3L323.7 324.2c-6-2.7-12.7-4.2-19.7-4.2H272V192H383.5z"]
  114261. };
  114262. var faIndent = {
  114263. prefix: 'fas',
  114264. iconName: 'indent',
  114265. icon: [448, 512, [], "f03c", "M0 64C0 46.3 14.3 32 32 32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 96 0 81.7 0 64zM192 192c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H224c-17.7 0-32-14.3-32-32zm32 96H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H224c-17.7 0-32-14.3-32-32s14.3-32 32-32zM0 448c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM127.8 268.6L25.8 347.9C15.3 356.1 0 348.6 0 335.3V176.7c0-13.3 15.3-20.8 25.8-12.6l101.9 79.3c8.2 6.4 8.2 18.9 0 25.3z"]
  114266. };
  114267. var faTruckFieldUn = {
  114268. prefix: 'fas',
  114269. iconName: 'truck-field-un',
  114270. icon: [640, 512, [], "e58e", "M96 32C60.7 32 32 60.7 32 96v32c-17.7 0-32 14.3-32 32v96c0 17.7 14.3 32 32 32v32c-17.7 0-32 14.3-32 32s14.3 32 32 32H64c0 53 43 96 96 96s96-43 96-96H384c0 53 43 96 96 96s96-43 96-96h32c17.7 0 32-14.3 32-32s-14.3-32-32-32V288c0-35.3-28.7-64-64-64h-4.2c-.4-1.1-.9-2.1-1.3-3.2L485.7 102c-10.3-23.1-33.2-38-58.5-38H375.4C364.4 44.9 343.7 32 320 32H96zm288 96h43.2l42.7 96H384V128zM208 384c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zm272 48c-26.5 0-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48zM253.3 135.1l34.7 52V144c0-8.8 7.2-16 16-16s16 7.2 16 16v96c0 7.1-4.6 13.3-11.4 15.3s-14-.6-17.9-6.4l-34.7-52V240c0 8.8-7.2 16-16 16s-16-7.2-16-16V144c0-7.1 4.6-13.3 11.4-15.3s14 .6 17.9 6.4zM128 144v64c0 8.8 7.2 16 16 16s16-7.2 16-16V144c0-8.8 7.2-16 16-16s16 7.2 16 16v64c0 26.5-21.5 48-48 48s-48-21.5-48-48V144c0-8.8 7.2-16 16-16s16 7.2 16 16z"]
  114271. };
  114272. var faHourglass = {
  114273. prefix: 'fas',
  114274. iconName: 'hourglass',
  114275. icon: [384, 512, [9203, 62032, "hourglass-empty"], "f254", "M0 32C0 14.3 14.3 0 32 0H64 320h32c17.7 0 32 14.3 32 32s-14.3 32-32 32V75c0 42.4-16.9 83.1-46.9 113.1L237.3 256l67.9 67.9c30 30 46.9 70.7 46.9 113.1v11c17.7 0 32 14.3 32 32s-14.3 32-32 32H320 64 32c-17.7 0-32-14.3-32-32s14.3-32 32-32V437c0-42.4 16.9-83.1 46.9-113.1L146.7 256 78.9 188.1C48.9 158.1 32 117.4 32 75V64C14.3 64 0 49.7 0 32zM96 64V75c0 25.5 10.1 49.9 28.1 67.9L192 210.7l67.9-67.9c18-18 28.1-42.4 28.1-67.9V64H96zm0 384H288V437c0-25.5-10.1-49.9-28.1-67.9L192 301.3l-67.9 67.9c-18 18-28.1 42.4-28.1 67.9v11z"]
  114276. };
  114277. var faHourglassEmpty = faHourglass;
  114278. var faMountain = {
  114279. prefix: 'fas',
  114280. iconName: 'mountain',
  114281. icon: [512, 512, [127956], "f6fc", "M256 32c12.5 0 24.1 6.4 30.7 17L503.4 394.4c5.6 8.9 8.6 19.2 8.6 29.7c0 30.9-25 55.9-55.9 55.9H55.9C25 480 0 455 0 424.1c0-10.5 3-20.8 8.6-29.7L225.2 49c6.6-10.6 18.3-17 30.8-17zm65 192L256 120.4 176.9 246.5 208 288l48-64h65z"]
  114282. };
  114283. var faUserDoctor = {
  114284. prefix: 'fas',
  114285. iconName: 'user-doctor',
  114286. icon: [448, 512, ["user-md"], "f0f0", "M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0S96 57.3 96 128s57.3 128 128 128zm-96 55.2C54 332.9 0 401.3 0 482.3C0 498.7 13.3 512 29.7 512H418.3c16.4 0 29.7-13.3 29.7-29.7c0-81-54-149.4-128-171.1V362c27.6 7.1 48 32.2 48 62v40c0 8.8-7.2 16-16 16H336c-8.8 0-16-7.2-16-16s7.2-16 16-16V424c0-17.7-14.3-32-32-32s-32 14.3-32 32v24c8.8 0 16 7.2 16 16s-7.2 16-16 16H256c-8.8 0-16-7.2-16-16V424c0-29.8 20.4-54.9 48-62V304.9c-6-.6-12.1-.9-18.3-.9H178.3c-6.2 0-12.3 .3-18.3 .9v65.4c23.1 6.9 40 28.3 40 53.7c0 30.9-25.1 56-56 56s-56-25.1-56-56c0-25.4 16.9-46.8 40-53.7V311.2zM144 448c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24z"]
  114287. };
  114288. var faUserMd = faUserDoctor;
  114289. var faCircleInfo = {
  114290. prefix: 'fas',
  114291. iconName: 'circle-info',
  114292. icon: [512, 512, ["info-circle"], "f05a", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-144c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]
  114293. };
  114294. var faInfoCircle = faCircleInfo;
  114295. var faCloudMeatball = {
  114296. prefix: 'fas',
  114297. iconName: 'cloud-meatball',
  114298. icon: [512, 512, [], "f73b", "M0 224c0 53 43 96 96 96h44.7c9.5-23.5 32.5-40 59.3-40c2 0 3.9 .1 5.8 .3C217.6 265.5 235.7 256 256 256s38.4 9.5 50.2 24.3c1.9-.2 3.9-.3 5.8-.3c26.9 0 49.9 16.5 59.3 40H416c53 0 96-43 96-96s-43-96-96-96c-.5 0-1.1 0-1.6 0c1.1-5.2 1.6-10.5 1.6-16c0-44.2-35.8-80-80-80c-24.3 0-46.1 10.9-60.8 28C256.5 24.3 219.1 0 176 0C114.1 0 64 50.1 64 112c0 7.1 .7 14.1 1.9 20.8C27.6 145.4 0 181.5 0 224zm288 96c0-17.7-14.3-32-32-32s-32 14.3-32 32c0 1 .1 2.1 .1 3.1c-.7-.8-1.4-1.6-2.1-2.3c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3c.7 .7 1.5 1.4 2.3 2.1c-1-.1-2.1-.1-3.1-.1c-17.7 0-32 14.3-32 32s14.3 32 32 32c1 0 2.1-.1 3.1-.1c-.8 .7-1.6 1.3-2.3 2.1c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0c.7-.7 1.4-1.5 2.1-2.3c-.1 1-.1 2.1-.1 3.1c0 17.7 14.3 32 32 32s32-14.3 32-32c0-1-.1-2.1-.1-3.1c.7 .8 1.3 1.6 2.1 2.3c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3c-.7-.7-1.5-1.4-2.3-2.1c1 .1 2.1 .1 3.1 .1c17.7 0 32-14.3 32-32s-14.3-32-32-32c-1 0-2.1 .1-3.1 .1c.8-.7 1.6-1.3 2.3-2.1c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0c-.7 .7-1.4 1.5-2.1 2.3c.1-1 .1-2.1 .1-3.1zM48 448c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zm416 0c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48z"]
  114299. };
  114300. var faCamera = {
  114301. prefix: 'fas',
  114302. iconName: 'camera',
  114303. icon: [512, 512, [62258, "camera-alt"], "f030", "M149.1 64.8L138.7 96H64C28.7 96 0 124.7 0 160V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V160c0-35.3-28.7-64-64-64H373.3L362.9 64.8C356.4 45.2 338.1 32 317.4 32H194.6c-20.7 0-39 13.2-45.5 32.8zM256 384c-53 0-96-43-96-96s43-96 96-96s96 43 96 96s-43 96-96 96z"]
  114304. };
  114305. var faCameraAlt = faCamera;
  114306. var faSquareVirus = {
  114307. prefix: 'fas',
  114308. iconName: 'square-virus',
  114309. icon: [448, 512, [], "e578", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM223.8 93.7c13.3 0 24 10.7 24 24c0 29.3 35.4 43.9 56.1 23.2c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9c-20.7 20.7-6 56.1 23.2 56.1c13.3 0 24 10.7 24 24s-10.7 24-24 24c-29.3 0-43.9 35.4-23.2 56.1c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0c-20.7-20.7-56.1-6-56.1 23.2c0 13.3-10.7 24-24 24s-24-10.7-24-24c0-29.3-35.4-43.9-56.1-23.2c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9c20.7-20.7 6-56.1-23.2-56.1c-13.3 0-24-10.7-24-24s10.7-24 24-24c29.3 0 43.9-35.4 23.2-56.1c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0c20.7 20.7 56.1 6 56.1-23.2c0-13.3 10.7-24 24-24zM192 256c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm88 32c0-13.3-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24s24-10.7 24-24z"]
  114310. };
  114311. var faMeteor = {
  114312. prefix: 'fas',
  114313. iconName: 'meteor',
  114314. icon: [512, 512, [9732], "f753", "M493.7 .9L299.4 75.6l2.3-29.3c1-12.8-12.8-21.5-24-15.1L101.3 133.4C38.6 169.7 0 236.6 0 309C0 421.1 90.9 512 203 512c72.4 0 139.4-38.6 175.7-101.3L480.8 234.3c6.5-11.1-2.2-25-15.1-24l-29.3 2.3L511.1 18.3c.6-1.5 .9-3.2 .9-4.8C512 6 506 0 498.5 0c-1.7 0-3.3 .3-4.8 .9zM192 448c-70.7 0-128-57.3-128-128s57.3-128 128-128s128 57.3 128 128s-57.3 128-128 128zm0-160c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zm16 96c8.8 0 16-7.2 16-16s-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16z"]
  114315. };
  114316. var faCarOn = {
  114317. prefix: 'fas',
  114318. iconName: 'car-on',
  114319. icon: [512, 512, [], "e4dd", "M280 24c0-13.3-10.7-24-24-24s-24 10.7-24 24v80c0 13.3 10.7 24 24 24s24-10.7 24-24V24zM185.8 224H326.2c6.8 0 12.8 4.3 15.1 10.6L360.3 288H151.7l19.1-53.4c2.3-6.4 8.3-10.6 15.1-10.6zm-75.3-10.9L82.2 292.4C62.1 300.9 48 320.8 48 344v40 64 32c0 17.7 14.3 32 32 32H96c17.7 0 32-14.3 32-32V448H384v32c0 17.7 14.3 32 32 32h16c17.7 0 32-14.3 32-32V448 384 344c0-23.2-14.1-43.1-34.2-51.6l-28.3-79.3C390.1 181.3 360 160 326.2 160H185.8c-33.8 0-64 21.3-75.3 53.1zM128 392c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm280-24c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24zM39 39c-9.4 9.4-9.4 24.6 0 33.9l48 48c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L73 39c-9.4-9.4-24.6-9.4-33.9 0zm400 0L391 87c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l48-48c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0z"]
  114320. };
  114321. var faSleigh = {
  114322. prefix: 'fas',
  114323. iconName: 'sleigh',
  114324. icon: [640, 512, [], "f7cc", "M32 32C14.3 32 0 46.3 0 64S14.3 96 32 96V256c0 53 43 96 96 96v32h64V352H384v32h64V352c53 0 96-43 96-96V160c17.7 0 32-14.3 32-32s-14.3-32-32-32H512 480c-17.7 0-32 14.3-32 32v41.3c0 30.2-24.5 54.7-54.7 54.7c-75.5 0-145.6-38.9-185.6-102.9l-4.3-6.9C174.2 67.6 125 37.6 70.7 32.7c-2.2-.5-4.4-.7-6.7-.7H55 32zM640 384c0-17.7-14.3-32-32-32s-32 14.3-32 32v8c0 13.3-10.7 24-24 24H64c-17.7 0-32 14.3-32 32s14.3 32 32 32H552c48.6 0 88-39.4 88-88v-8z"]
  114325. };
  114326. var faArrowDown19 = {
  114327. prefix: 'fas',
  114328. iconName: 'arrow-down-1-9',
  114329. icon: [576, 512, ["sort-numeric-asc", "sort-numeric-down"], "f162", "M352 64c0 17.7 14.3 32 32 32h16v64H384c-17.7 0-32 14.3-32 32s14.3 32 32 32h48 48c17.7 0 32-14.3 32-32s-14.3-32-32-32H464V64c0-17.7-14.3-32-32-32H384c-17.7 0-32 14.3-32 32zM160 480c9 0 17.5-3.8 23.6-10.4l88-96c11.9-13 11.1-33.3-2-45.2s-33.3-11.1-45.2 2L192 365.7V64c0-17.7-14.3-32-32-32s-32 14.3-32 32V365.7L95.6 330.4c-11.9-13-32.2-13.9-45.2-2s-13.9 32.2-2 45.2l88 96C142.5 476.2 151 480 160 480zM445.7 364.9c-4.2 2-8.8 3.1-13.7 3.1c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32c0 12.8-7.5 23.8-18.3 28.9zm-40.7 54.9l-6.8 9.2c-10.5 14.2-7.5 34.2 6.7 44.8s34.2 7.5 44.8-6.7l48.8-65.8c14-18.9 21.5-41.7 21.5-65.2c0-48.6-39.4-88-88-88s-88 39.4-88 88c0 39.2 25.6 72.4 61.1 83.8z"]
  114330. };
  114331. var faSortNumericAsc = faArrowDown19;
  114332. var faSortNumericDown = faArrowDown19;
  114333. var faHandHoldingDroplet = {
  114334. prefix: 'fas',
  114335. iconName: 'hand-holding-droplet',
  114336. icon: [576, 512, ["hand-holding-water"], "f4c1", "M275.5 6.6C278.3 2.5 283 0 288 0s9.7 2.5 12.5 6.6L366.8 103C378 119.3 384 138.6 384 158.3V160c0 53-43 96-96 96s-96-43-96-96v-1.7c0-19.8 6-39 17.2-55.3L275.5 6.6zM568.2 336.3c13.1 17.8 9.3 42.8-8.5 55.9L433.1 485.5c-23.4 17.2-51.6 26.5-80.7 26.5H192 32c-17.7 0-32-14.3-32-32V416c0-17.7 14.3-32 32-32H68.8l44.9-36c22.7-18.2 50.9-28 80-28H272h16 64c17.7 0 32 14.3 32 32s-14.3 32-32 32H288 272c-8.8 0-16 7.2-16 16s7.2 16 16 16H392.6l119.7-88.2c17.8-13.1 42.8-9.3 55.9 8.5zM193.6 384l0 0-.9 0c.3 0 .6 0 .9 0z"]
  114337. };
  114338. var faHandHoldingWater = faHandHoldingDroplet;
  114339. var faWater = {
  114340. prefix: 'fas',
  114341. iconName: 'water',
  114342. icon: [576, 512, [], "f773", "M269.5 69.9c11.1-7.9 25.9-7.9 37 0C329 85.4 356.5 96 384 96c26.9 0 55.4-10.8 77.4-26.1l0 0c11.9-8.5 28.1-7.8 39.2 1.7c14.4 11.9 32.5 21 50.6 25.2c17.2 4 27.9 21.2 23.9 38.4s-21.2 27.9-38.4 23.9c-24.5-5.7-44.9-16.5-58.2-25C449.5 149.7 417 160 384 160c-31.9 0-60.6-9.9-80.4-18.9c-5.8-2.7-11.1-5.3-15.6-7.7c-4.5 2.4-9.7 5.1-15.6 7.7c-19.8 9-48.5 18.9-80.4 18.9c-33 0-65.5-10.3-94.5-25.8c-13.4 8.4-33.7 19.3-58.2 25c-17.2 4-34.4-6.7-38.4-23.9s6.7-34.4 23.9-38.4C42.8 92.6 61 83.5 75.3 71.6c11.1-9.5 27.3-10.1 39.2-1.7l0 0C136.7 85.2 165.1 96 192 96c27.5 0 55-10.6 77.5-26.1zm37 288C329 373.4 356.5 384 384 384c26.9 0 55.4-10.8 77.4-26.1l0 0c11.9-8.5 28.1-7.8 39.2 1.7c14.4 11.9 32.5 21 50.6 25.2c17.2 4 27.9 21.2 23.9 38.4s-21.2 27.9-38.4 23.9c-24.5-5.7-44.9-16.5-58.2-25C449.5 437.7 417 448 384 448c-31.9 0-60.6-9.9-80.4-18.9c-5.8-2.7-11.1-5.3-15.6-7.7c-4.5 2.4-9.7 5.1-15.6 7.7c-19.8 9-48.5 18.9-80.4 18.9c-33 0-65.5-10.3-94.5-25.8c-13.4 8.4-33.7 19.3-58.2 25c-17.2 4-34.4-6.7-38.4-23.9s6.7-34.4 23.9-38.4c18.1-4.2 36.2-13.3 50.6-25.2c11.1-9.4 27.3-10.1 39.2-1.7l0 0C136.7 373.2 165.1 384 192 384c27.5 0 55-10.6 77.5-26.1c11.1-7.9 25.9-7.9 37 0zm0-144C329 229.4 356.5 240 384 240c26.9 0 55.4-10.8 77.4-26.1l0 0c11.9-8.5 28.1-7.8 39.2 1.7c14.4 11.9 32.5 21 50.6 25.2c17.2 4 27.9 21.2 23.9 38.4s-21.2 27.9-38.4 23.9c-24.5-5.7-44.9-16.5-58.2-25C449.5 293.7 417 304 384 304c-31.9 0-60.6-9.9-80.4-18.9c-5.8-2.7-11.1-5.3-15.6-7.7c-4.5 2.4-9.7 5.1-15.6 7.7c-19.8 9-48.5 18.9-80.4 18.9c-33 0-65.5-10.3-94.5-25.8c-13.4 8.4-33.7 19.3-58.2 25c-17.2 4-34.4-6.7-38.4-23.9s6.7-34.4 23.9-38.4c18.1-4.2 36.2-13.3 50.6-25.2c11.1-9.5 27.3-10.1 39.2-1.7l0 0C136.7 229.2 165.1 240 192 240c27.5 0 55-10.6 77.5-26.1c11.1-7.9 25.9-7.9 37 0z"]
  114343. };
  114344. var faCalendarCheck = {
  114345. prefix: 'fas',
  114346. iconName: 'calendar-check',
  114347. icon: [448, 512, [], "f274", "M128 0c17.7 0 32 14.3 32 32V64H288V32c0-17.7 14.3-32 32-32s32 14.3 32 32V64h48c26.5 0 48 21.5 48 48v48H0V112C0 85.5 21.5 64 48 64H96V32c0-17.7 14.3-32 32-32zM0 192H448V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V192zM329 305c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-95 95-47-47c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l64 64c9.4 9.4 24.6 9.4 33.9 0L329 305z"]
  114348. };
  114349. var faBraille = {
  114350. prefix: 'fas',
  114351. iconName: 'braille',
  114352. icon: [640, 512, [], "f2a1", "M128 96c0 35.3-28.7 64-64 64S0 131.3 0 96S28.7 32 64 32s64 28.7 64 64zm96 176c8.8 0 16-7.2 16-16s-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16zm0 48c-35.3 0-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64s-28.7 64-64 64zM80 416c0-8.8-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16s16-7.2 16-16zm48 0c0 35.3-28.7 64-64 64s-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64zm112 0c0-8.8-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16s16-7.2 16-16zm48 0c0 35.3-28.7 64-64 64s-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64zM64 320c-35.3 0-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64s-28.7 64-64 64zM224 160c-35.3 0-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64s-28.7 64-64 64zM480 96c0 35.3-28.7 64-64 64s-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64zm112 0c0-8.8-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16s16-7.2 16-16zm48 0c0 35.3-28.7 64-64 64s-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64zM576 272c8.8 0 16-7.2 16-16s-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16zm0 48c-35.3 0-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64s-28.7 64-64 64zm16 96c0-8.8-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16s16-7.2 16-16zm48 0c0 35.3-28.7 64-64 64s-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64zM416 272c8.8 0 16-7.2 16-16s-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16zm0 48c-35.3 0-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64s-28.7 64-64 64zm16 96c0-8.8-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16s16-7.2 16-16zm48 0c0 35.3-28.7 64-64 64s-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64z"]
  114353. };
  114354. var faPrescriptionBottleMedical = {
  114355. prefix: 'fas',
  114356. iconName: 'prescription-bottle-medical',
  114357. icon: [384, 512, ["prescription-bottle-alt"], "f486", "M0 32C0 14.3 14.3 0 32 0H352c17.7 0 32 14.3 32 32V64c0 17.7-14.3 32-32 32H32C14.3 96 0 81.7 0 64V32zm32 96H352V448c0 35.3-28.7 64-64 64H96c-35.3 0-64-28.7-64-64V128zM160 240v48H112c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h48v48c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V352h48c8.8 0 16-7.2 16-16V304c0-8.8-7.2-16-16-16H224V240c0-8.8-7.2-16-16-16H176c-8.8 0-16 7.2-16 16z"]
  114358. };
  114359. var faPrescriptionBottleAlt = faPrescriptionBottleMedical;
  114360. var faLandmark = {
  114361. prefix: 'fas',
  114362. iconName: 'landmark',
  114363. icon: [512, 512, [127963], "f66f", "M240.1 4.2c9.8-5.6 21.9-5.6 31.8 0l171.8 98.1L448 104l0 .9 47.9 27.4c12.6 7.2 18.8 22 15.1 36s-16.4 23.8-30.9 23.8H32c-14.5 0-27.2-9.8-30.9-23.8s2.5-28.8 15.1-36L64 104.9V104l4.4-1.6L240.1 4.2zM64 224h64V416h40V224h64V416h48V224h64V416h40V224h64V420.3c.6 .3 1.2 .7 1.8 1.1l48 32c11.7 7.8 17 22.4 12.9 35.9S494.1 512 480 512H32c-14.1 0-26.5-9.2-30.6-22.7s1.1-28.1 12.9-35.9l48-32c.6-.4 1.2-.7 1.8-1.1V224z"]
  114364. };
  114365. var faTruck = {
  114366. prefix: 'fas',
  114367. iconName: 'truck',
  114368. icon: [640, 512, [128666, 9951], "f0d1", "M48 0C21.5 0 0 21.5 0 48V368c0 26.5 21.5 48 48 48H64c0 53 43 96 96 96s96-43 96-96H384c0 53 43 96 96 96s96-43 96-96h32c17.7 0 32-14.3 32-32s-14.3-32-32-32V288 256 237.3c0-17-6.7-33.3-18.7-45.3L512 114.7c-12-12-28.3-18.7-45.3-18.7H416V48c0-26.5-21.5-48-48-48H48zM416 160h50.7L544 237.3V256H416V160zM208 416c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zm272 48c-26.5 0-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48z"]
  114369. };
  114370. var faCrosshairs = {
  114371. prefix: 'fas',
  114372. iconName: 'crosshairs',
  114373. icon: [512, 512, [], "f05b", "M256 0c17.7 0 32 14.3 32 32V42.4c93.7 13.9 167.7 88 181.6 181.6H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H469.6c-13.9 93.7-88 167.7-181.6 181.6V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V469.6C130.3 455.7 56.3 381.7 42.4 288H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H42.4C56.3 130.3 130.3 56.3 224 42.4V32c0-17.7 14.3-32 32-32zM107.4 288c12.5 58.3 58.4 104.1 116.6 116.6V384c0-17.7 14.3-32 32-32s32 14.3 32 32v20.6c58.3-12.5 104.1-58.4 116.6-116.6H384c-17.7 0-32-14.3-32-32s14.3-32 32-32h20.6C392.1 165.7 346.3 119.9 288 107.4V128c0 17.7-14.3 32-32 32s-32-14.3-32-32V107.4C165.7 119.9 119.9 165.7 107.4 224H128c17.7 0 32 14.3 32 32s-14.3 32-32 32H107.4zM256 288c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]
  114374. };
  114375. var faPersonCane = {
  114376. prefix: 'fas',
  114377. iconName: 'person-cane',
  114378. icon: [448, 512, [], "e53c", "M272 48c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zm-8 187.3l47.4 57.1c11.3 13.6 31.5 15.5 45.1 4.2s15.5-31.5 4.2-45.1l-73.7-88.9c-18.2-22-45.3-34.7-73.9-34.7H177.1c-33.7 0-64.9 17.7-82.3 46.6l-58.3 97c-9.1 15.1-4.2 34.8 10.9 43.9s34.8 4.2 43.9-10.9L120 256.9V480c0 17.7 14.3 32 32 32s32-14.3 32-32V352h16V480c0 17.7 14.3 32 32 32s32-14.3 32-32V235.3zM352 376c0-4.4 3.6-8 8-8s8 3.6 8 8V488c0 13.3 10.7 24 24 24s24-10.7 24-24V376c0-30.9-25.1-56-56-56s-56 25.1-56 56v8c0 13.3 10.7 24 24 24s24-10.7 24-24v-8z"]
  114379. };
  114380. var faTent = {
  114381. prefix: 'fas',
  114382. iconName: 'tent',
  114383. icon: [576, 512, [], "e57d", "M269.4 6C280.5-2 295.5-2 306.6 6l224 160c7.4 5.3 12.2 13.5 13.2 22.5l32 288c1 9-1.9 18.1-8 24.9s-14.7 10.7-23.8 10.7H416L288 288V512H32c-9.1 0-17.8-3.9-23.8-10.7s-9-15.8-8-24.9l32-288c1-9 5.8-17.2 13.2-22.5L269.4 6z"]
  114384. };
  114385. var faVestPatches = {
  114386. prefix: 'fas',
  114387. iconName: 'vest-patches',
  114388. icon: [448, 512, [], "e086", "M151.2 69.7l55.9 167.7-11 33.1c-2.7 8.2-4.1 16.7-4.1 25.3V464c0 14.5 3.9 28.2 10.7 39.9C195 509 185.9 512 176 512H48c-26.5 0-48-21.5-48-48V270.5c0-9.5 2.8-18.7 8.1-26.6l47.9-71.8c5.3-7.9 8.1-17.1 8.1-26.6V128 54.3 48C64 21.5 85.5 0 112 0h4.5c.2 0 .4 0 .6 0c.4 0 .8 0 1.2 0c18.8 0 34.1 9.7 44.1 18.8C171.6 27.2 190.8 40 224 40s52.4-12.8 61.7-21.2C295.7 9.7 311 0 329.7 0c.4 0 .8 0 1.2 0c.2 0 .4 0 .6 0H336c26.5 0 48 21.5 48 48v6.3V128v17.5c0 9.5 2.8 18.7 8.1 26.6l47.9 71.8c5.3 7.9 8.1 17.1 8.1 26.6V464c0 26.5-21.5 48-48 48H272c-26.5 0-48-21.5-48-48V295.8c0-5.2 .8-10.3 2.5-15.2L296.8 69.7C279.4 79.7 255.4 88 224 88s-55.4-8.3-72.8-18.3zM96 456c22.1 0 40-17.9 40-40s-17.9-40-40-40s-40 17.9-40 40s17.9 40 40 40zM63.5 255.5c-4.7 4.7-4.7 12.3 0 17L79 288 63.5 303.5c-4.7 4.7-4.7 12.3 0 17s12.3 4.7 17 0L96 305l15.5 15.5c4.7 4.7 12.3 4.7 17 0s4.7-12.3 0-17L113 288l15.5-15.5c4.7-4.7 4.7-12.3 0-17s-12.3-4.7-17 0L96 271 80.5 255.5c-4.7-4.7-12.3-4.7-17 0zM304 280v8 32c0 8.8 7.2 16 16 16h32 8c13.3 0 24-10.7 24-24s-10.7-24-24-24h-8v-8c0-13.3-10.7-24-24-24s-24 10.7-24 24z"]
  114389. };
  114390. var faCheckDouble = {
  114391. prefix: 'fas',
  114392. iconName: 'check-double',
  114393. icon: [512, 512, [], "f560", "M374.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 178.7l-57.4-57.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l80 80c12.5 12.5 32.8 12.5 45.3 0l160-160zm96 128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 402.7 86.6 297.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l256-256z"]
  114394. };
  114395. var faArrowDownAZ = {
  114396. prefix: 'fas',
  114397. iconName: 'arrow-down-a-z',
  114398. icon: [576, 512, ["sort-alpha-asc", "sort-alpha-down"], "f15d", "M183.6 469.6C177.5 476.2 169 480 160 480s-17.5-3.8-23.6-10.4l-88-96c-11.9-13-11.1-33.3 2-45.2s33.3-11.1 45.2 2L128 365.7V64c0-17.7 14.3-32 32-32s32 14.3 32 32V365.7l32.4-35.4c11.9-13 32.2-13.9 45.2-2s13.9 32.2 2 45.2l-88 96zM320 320c0-17.7 14.3-32 32-32H480c12.9 0 24.6 7.8 29.6 19.8s2.2 25.7-6.9 34.9L429.3 416H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H352c-12.9 0-24.6-7.8-29.6-19.8s-2.2-25.7 6.9-34.9L402.7 352H352c-17.7 0-32-14.3-32-32zM416 32c12.1 0 23.2 6.8 28.6 17.7l64 128 16 32c7.9 15.8 1.5 35-14.3 42.9s-35 1.5-42.9-14.3L460.2 224H371.8l-7.2 14.3c-7.9 15.8-27.1 22.2-42.9 14.3s-22.2-27.1-14.3-42.9l16-32 64-128C392.8 38.8 403.9 32 416 32zM395.8 176h40.4L416 135.6 395.8 176z"]
  114399. };
  114400. var faSortAlphaAsc = faArrowDownAZ;
  114401. var faSortAlphaDown = faArrowDownAZ;
  114402. var faMoneyBillWheat = {
  114403. prefix: 'fas',
  114404. iconName: 'money-bill-wheat',
  114405. icon: [512, 512, [], "e52a", "M176 0c44.2 0 80 35.8 80 80c0 8.8-7.2 16-16 16c-44.2 0-80-35.8-80-80c0-8.8 7.2-16 16-16zM56 16h48c13.3 0 24 10.7 24 24s-10.7 24-24 24H56C42.7 64 32 53.3 32 40s10.7-24 24-24zM24 88H136c13.3 0 24 10.7 24 24s-10.7 24-24 24H24c-13.3 0-24-10.7-24-24S10.7 88 24 88zm8 96c0-13.3 10.7-24 24-24h48c13.3 0 24 10.7 24 24s-10.7 24-24 24H56c-13.3 0-24-10.7-24-24zM272 16c0-8.8 7.2-16 16-16c44.2 0 80 35.8 80 80c0 8.8-7.2 16-16 16c-44.2 0-80-35.8-80-80zM400 0c44.2 0 80 35.8 80 80c0 8.8-7.2 16-16 16c-44.2 0-80-35.8-80-80c0-8.8 7.2-16 16-16zm80 144c0 44.2-35.8 80-80 80c-8.8 0-16-7.2-16-16c0-44.2 35.8-80 80-80c8.8 0 16 7.2 16 16zM352 128c8.8 0 16 7.2 16 16c0 44.2-35.8 80-80 80c-8.8 0-16-7.2-16-16c0-44.2 35.8-80 80-80zm-96 16c0 44.2-35.8 80-80 80c-8.8 0-16-7.2-16-16c0-44.2 35.8-80 80-80c8.8 0 16 7.2 16 16zM0 304c0-26.5 21.5-48 48-48H464c26.5 0 48 21.5 48 48V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V304zM48 416v48H96c0-26.5-21.5-48-48-48zM96 304H48v48c26.5 0 48-21.5 48-48zM464 416c-26.5 0-48 21.5-48 48h48V416zM416 304c0 26.5 21.5 48 48 48V304H416zm-96 80c0-35.3-28.7-64-64-64s-64 28.7-64 64s28.7 64 64 64s64-28.7 64-64z"]
  114406. };
  114407. var faCookie = {
  114408. prefix: 'fas',
  114409. iconName: 'cookie',
  114410. icon: [512, 512, [127850], "f563", "M247.2 17c-22.1-3.1-44.6 .9-64.4 11.4l-74 39.5C89.1 78.4 73.2 94.9 63.4 115L26.7 190.6c-9.8 20.1-13 42.9-9.1 64.9l14.5 82.8c3.9 22.1 14.6 42.3 30.7 57.9l60.3 58.4c16.1 15.6 36.6 25.6 58.7 28.7l83 11.7c22.1 3.1 44.6-.9 64.4-11.4l74-39.5c19.7-10.5 35.6-27 45.4-47.2l36.7-75.5c9.8-20.1 13-42.9 9.1-64.9l-14.6-82.8c-3.9-22.1-14.6-42.3-30.7-57.9L388.9 57.5c-16.1-15.6-36.6-25.6-58.7-28.7L247.2 17zM208 208c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zm0 128c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zm160 0c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]
  114411. };
  114412. var faArrowRotateLeft = {
  114413. prefix: 'fas',
  114414. iconName: 'arrow-rotate-left',
  114415. icon: [512, 512, [8634, "arrow-left-rotate", "arrow-rotate-back", "arrow-rotate-backward", "undo"], "f0e2", "M125.7 160H176c17.7 0 32 14.3 32 32s-14.3 32-32 32H48c-17.7 0-32-14.3-32-32V64c0-17.7 14.3-32 32-32s32 14.3 32 32v51.2L97.6 97.6c87.5-87.5 229.3-87.5 316.8 0s87.5 229.3 0 316.8s-229.3 87.5-316.8 0c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0c62.5 62.5 163.8 62.5 226.3 0s62.5-163.8 0-226.3s-163.8-62.5-226.3 0L125.7 160z"]
  114416. };
  114417. var faArrowLeftRotate = faArrowRotateLeft;
  114418. var faArrowRotateBack = faArrowRotateLeft;
  114419. var faArrowRotateBackward = faArrowRotateLeft;
  114420. var faUndo = faArrowRotateLeft;
  114421. var faHardDrive = {
  114422. prefix: 'fas',
  114423. iconName: 'hard-drive',
  114424. icon: [512, 512, [128436, "hdd"], "f0a0", "M0 96C0 60.7 28.7 32 64 32H448c35.3 0 64 28.7 64 64V280.4c-17-15.2-39.4-24.4-64-24.4H64c-24.6 0-47 9.2-64 24.4V96zM64 288H448c35.3 0 64 28.7 64 64v64c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V352c0-35.3 28.7-64 64-64zM320 416c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm128-32c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32z"]
  114425. };
  114426. var faHdd = faHardDrive;
  114427. var faFaceGrinSquintTears = {
  114428. prefix: 'fas',
  114429. iconName: 'face-grin-squint-tears',
  114430. icon: [512, 512, [129315, "grin-squint-tears"], "f586", "M426.8 14.2C446-5 477.5-4.6 497.1 14.9s20 51 .7 70.3c-6.8 6.8-21.4 12.4-37.4 16.7c-18.5 5-38.8 8.3-50.9 10c-4.9 .8-9.1-2.8-9.5-7.4c-.1-.7 0-1.4 .1-2.1c1.6-11.2 4.6-29.6 9-47c.3-1.3 .7-2.6 1-3.9c4.3-15.9 9.8-30.5 16.7-37.4zm-44.7 19c-1.5 4.8-2.9 9.6-4.1 14.3c-4.8 18.9-8 38.5-9.7 50.3c-4 26.8 18.9 49.7 45.7 45.8c11.9-1.6 31.5-4.8 50.4-9.7c4.7-1.2 9.5-2.5 14.3-4.1C534.2 227.5 520.2 353.8 437 437c-83.2 83.2-209.5 97.2-307.2 41.8c1.5-4.8 2.8-9.6 4-14.3c4.8-18.9 8-38.5 9.7-50.3c4-26.8-18.9-49.7-45.7-45.8c-11.9 1.6-31.5 4.8-50.4 9.7c-4.7 1.2-9.5 2.5-14.3 4.1C-22.2 284.5-8.2 158.2 75 75C158.2-8.3 284.5-22.2 382.2 33.2zM51.5 410.1c18.5-5 38.8-8.3 50.9-10c.4-.1 .7-.1 1-.1c5.1-.2 9.2 4.3 8.4 9.6c-1.7 12.1-5 32.4-10 50.9C97.6 476.4 92 491 85.2 497.8C66 517 34.5 516.6 14.9 497.1s-20-51-.7-70.3c6.8-6.8 21.4-12.4 37.4-16.7zM416.9 209c-4.7-11.9-20.8-11-26.8 .3c-19 35.5-45 70.8-77.5 103.3S244.8 371.1 209.3 390c-11.3 6-12.2 22.1-.3 26.8c57.6 22.9 125.8 11 172.3-35.5s58.4-114.8 35.5-172.3zM87.1 285.1c2 2 4.6 3.2 7.3 3.4l56.1 5.1 5.1 56.1c.3 2.8 1.5 5.4 3.4 7.3c6.3 6.3 17.2 3.6 19.8-4.9l29.7-97.4c3.5-11.6-7.3-22.5-19-19L92 265.3c-8.6 2.6-11.3 13.4-4.9 19.8zM265.3 92l-29.7 97.4c-3.5 11.6 7.3 22.5 19 19l97.4-29.7c8.6-2.6 11.3-13.4 4.9-19.8c-2-2-4.6-3.2-7.3-3.4l-56.1-5.1-5.1-56.1c-.2-2.8-1.5-5.4-3.4-7.3c-6.3-6.3-17.2-3.6-19.8 4.9z"]
  114431. };
  114432. var faGrinSquintTears = faFaceGrinSquintTears;
  114433. var faDumbbell = {
  114434. prefix: 'fas',
  114435. iconName: 'dumbbell',
  114436. icon: [640, 512, [], "f44b", "M112 96c0-17.7 14.3-32 32-32h16c17.7 0 32 14.3 32 32V224v64V416c0 17.7-14.3 32-32 32H144c-17.7 0-32-14.3-32-32V384H64c-17.7 0-32-14.3-32-32V288c-17.7 0-32-14.3-32-32s14.3-32 32-32V160c0-17.7 14.3-32 32-32h48V96zm416 0v32h48c17.7 0 32 14.3 32 32v64c17.7 0 32 14.3 32 32s-14.3 32-32 32v64c0 17.7-14.3 32-32 32H528v32c0 17.7-14.3 32-32 32H480c-17.7 0-32-14.3-32-32V288 224 96c0-17.7 14.3-32 32-32h16c17.7 0 32 14.3 32 32zM416 224v64H224V224H416z"]
  114437. };
  114438. var faRectangleList = {
  114439. prefix: 'fas',
  114440. iconName: 'rectangle-list',
  114441. icon: [576, 512, ["list-alt"], "f022", "M0 96C0 60.7 28.7 32 64 32H512c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zM128 288c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm32-128c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zM128 384c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm96-248c-13.3 0-24 10.7-24 24s10.7 24 24 24H448c13.3 0 24-10.7 24-24s-10.7-24-24-24H224zm0 96c-13.3 0-24 10.7-24 24s10.7 24 24 24H448c13.3 0 24-10.7 24-24s-10.7-24-24-24H224zm0 96c-13.3 0-24 10.7-24 24s10.7 24 24 24H448c13.3 0 24-10.7 24-24s-10.7-24-24-24H224z"]
  114442. };
  114443. var faListAlt = faRectangleList;
  114444. var faTarpDroplet = {
  114445. prefix: 'fas',
  114446. iconName: 'tarp-droplet',
  114447. icon: [576, 512, [], "e57c", "M288 160c-35.3 0-64-26.9-64-60c0-24 33.7-70.1 52.2-93.5c6.1-7.7 17.5-7.7 23.6 0C318.3 29.9 352 76 352 100c0 33.1-28.7 60-64 60zM64 128H197.5c13.2 37.3 48.7 64 90.5 64s77.4-26.7 90.5-64H512c35.3 0 64 28.7 64 64V352H448c-17.7 0-32 14.3-32 32l0 128L64 512c-35.3 0-64-28.7-64-64V192c0-35.3 28.7-64 64-64zM448 512l0-128H576L448 512zM96 256c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32z"]
  114448. };
  114449. var faHouseMedicalCircleCheck = {
  114450. prefix: 'fas',
  114451. iconName: 'house-medical-circle-check',
  114452. icon: [640, 512, [], "e511", "M320 368c0 59.5 29.5 112.1 74.8 144H128.1c-35.3 0-64-28.7-64-64V287.6H32c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L522.1 193.9c-8.5-1.3-17.3-1.9-26.1-1.9c-54.7 0-103.5 24.9-135.8 64H320V208c0-8.8-7.2-16-16-16H272c-8.8 0-16 7.2-16 16v48H208c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h48v48c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16zm320 0c0 79.5-64.5 144-144 144s-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144zm-76.7-43.3c-6.2-6.2-16.4-6.2-22.6 0L480 385.4l-28.7-28.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l40 40c6.2 6.2 16.4 6.2 22.6 0l72-72c6.2-6.2 6.2-16.4 0-22.6z"]
  114453. };
  114454. var faPersonSkiingNordic = {
  114455. prefix: 'fas',
  114456. iconName: 'person-skiing-nordic',
  114457. icon: [576, 512, ["skiing-nordic"], "f7ca", "M336 96c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zM227.2 160c1.9 0 3.8 .1 5.6 .3L201.6 254c-9.3 28 1.7 58.8 26.8 74.5l86.2 53.9L291.3 464H202.8l41.1-88.1-32.4-20.3c-7.8-4.9-14.7-10.7-20.6-17.3L132.2 464H99.7l54.2-257.6c4.6-1.5 9-4.1 12.7-7.8l23.1-23.1c9.9-9.9 23.4-15.5 37.5-15.5zM121.4 198.6c.4 .4 .8 .8 1.3 1.2L67 464H24c-13.3 0-24 10.7-24 24s10.7 24 24 24H159.3c.4 0 .9 0 1.3 0H319.3c.5 0 1 0 1.4 0H504c39.8 0 72-32.2 72-72v-8c0-13.3-10.7-24-24-24s-24 10.7-24 24v8c0 13.3-10.7 24-24 24H434.6l27.6-179.3c10.5-5.2 17.8-16.1 17.8-28.7c0-17.7-14.3-32-32-32H426.7c-12.9 0-24.6-7.8-29.5-19.7l-6.3-15c-14.6-35.1-44.1-61.9-80.5-73.1l-48.7-15c-11.1-3.4-22.7-5.2-34.4-5.2c-31 0-60.8 12.3-82.7 34.3l-23.1 23.1c-12.5 12.5-12.5 32.8 0 45.3zm308 89.4L402.3 464H357.8l21.6-75.6c5.9-20.6-2.6-42.6-20.7-53.9L302 299l30.9-82.4 5.1 12.3C353 264.7 387.9 288 426.7 288h2.7z"]
  114458. };
  114459. var faSkiingNordic = faPersonSkiingNordic;
  114460. var faCalendarPlus = {
  114461. prefix: 'fas',
  114462. iconName: 'calendar-plus',
  114463. icon: [448, 512, [], "f271", "M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 96 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192zM224 248c13.3 0 24 10.7 24 24v56h56c13.3 0 24 10.7 24 24s-10.7 24-24 24H248v56c0 13.3-10.7 24-24 24s-24-10.7-24-24V376H144c-13.3 0-24-10.7-24-24s10.7-24 24-24h56V272c0-13.3 10.7-24 24-24z"]
  114464. };
  114465. var faPlaneArrival = {
  114466. prefix: 'fas',
  114467. iconName: 'plane-arrival',
  114468. icon: [640, 512, [128748], "f5af", "M.3 166.9L0 68C0 57.7 9.5 50.1 19.5 52.3l35.6 7.9c10.6 2.3 19.2 9.9 23 20L96 128l127.3 37.6L181.8 20.4C178.9 10.2 186.6 0 197.2 0h40.1c11.6 0 22.2 6.2 27.9 16.3l109 193.8 107.2 31.7c15.9 4.7 30.8 12.5 43.7 22.8l34.4 27.6c24 19.2 18.1 57.3-10.7 68.2c-41.2 15.6-86.2 18.1-128.8 7L121.7 289.8c-11.1-2.9-21.2-8.7-29.3-16.9L9.5 189.4c-5.9-6-9.3-14-9.3-22.5zM32 448H608c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32zm160-80c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zm64 48c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]
  114469. };
  114470. var faCircleLeft = {
  114471. prefix: 'fas',
  114472. iconName: 'circle-left',
  114473. icon: [512, 512, [61840, "arrow-alt-circle-left"], "f359", "M512 256C512 114.6 397.4 0 256 0S0 114.6 0 256S114.6 512 256 512s256-114.6 256-256zM116.7 244.7l112-112c4.6-4.6 11.5-5.9 17.4-3.5s9.9 8.3 9.9 14.8l0 64 96 0c17.7 0 32 14.3 32 32l0 32c0 17.7-14.3 32-32 32l-96 0 0 64c0 6.5-3.9 12.3-9.9 14.8s-12.9 1.1-17.4-3.5l-112-112c-6.2-6.2-6.2-16.4 0-22.6z"]
  114474. };
  114475. var faArrowAltCircleLeft = faCircleLeft;
  114476. var faTrainSubway = {
  114477. prefix: 'fas',
  114478. iconName: 'train-subway',
  114479. icon: [448, 512, ["subway"], "f239", "M96 0C43 0 0 43 0 96V352c0 48 35.2 87.7 81.1 94.9l-46 46C28.1 499.9 33.1 512 43 512H82.7c8.5 0 16.6-3.4 22.6-9.4L160 448H288l54.6 54.6c6 6 14.1 9.4 22.6 9.4H405c10 0 15-12.1 7.9-19.1l-46-46c46-7.1 81.1-46.9 81.1-94.9V96c0-53-43-96-96-96H96zM64 128c0-17.7 14.3-32 32-32h80c17.7 0 32 14.3 32 32v96c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V128zM272 96h80c17.7 0 32 14.3 32 32v96c0 17.7-14.3 32-32 32H272c-17.7 0-32-14.3-32-32V128c0-17.7 14.3-32 32-32zM128 352c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zm224 32c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]
  114480. };
  114481. var faSubway = faTrainSubway;
  114482. var faChartGantt = {
  114483. prefix: 'fas',
  114484. iconName: 'chart-gantt',
  114485. icon: [512, 512, [], "e0e4", "M32 32c17.7 0 32 14.3 32 32V400c0 8.8 7.2 16 16 16H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H80c-44.2 0-80-35.8-80-80V64C0 46.3 14.3 32 32 32zm96 96c0-17.7 14.3-32 32-32l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32H160c-17.7 0-32-14.3-32-32zm96 64H352c17.7 0 32 14.3 32 32s-14.3 32-32 32H224c-17.7 0-32-14.3-32-32s14.3-32 32-32zm160 96h64c17.7 0 32 14.3 32 32s-14.3 32-32 32H384c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]
  114486. };
  114487. var faIndianRupeeSign = {
  114488. prefix: 'fas',
  114489. iconName: 'indian-rupee-sign',
  114490. icon: [320, 512, ["indian-rupee", "inr"], "e1bc", "M0 64C0 46.3 14.3 32 32 32H96h16H288c17.7 0 32 14.3 32 32s-14.3 32-32 32H231.8c9.6 14.4 16.7 30.6 20.7 48H288c17.7 0 32 14.3 32 32s-14.3 32-32 32H252.4c-13.2 58.3-61.9 103.2-122.2 110.9L274.6 422c14.4 10.3 17.7 30.3 7.4 44.6s-30.3 17.7-44.6 7.4L13.4 314C2.1 306-2.7 291.5 1.5 278.2S18.1 256 32 256h80c32.8 0 61-19.7 73.3-48H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H185.3C173 115.7 144.8 96 112 96H96 32C14.3 96 0 81.7 0 64z"]
  114491. };
  114492. var faIndianRupee = faIndianRupeeSign;
  114493. var faInr = faIndianRupeeSign;
  114494. var faCropSimple = {
  114495. prefix: 'fas',
  114496. iconName: 'crop-simple',
  114497. icon: [512, 512, ["crop-alt"], "f565", "M128 32c0-17.7-14.3-32-32-32S64 14.3 64 32V64H32C14.3 64 0 78.3 0 96s14.3 32 32 32H64V384c0 35.3 28.7 64 64 64H352V384H128V32zM384 480c0 17.7 14.3 32 32 32s32-14.3 32-32V448h32c17.7 0 32-14.3 32-32s-14.3-32-32-32H448l0-256c0-35.3-28.7-64-64-64L160 64v64l224 0 0 352z"]
  114498. };
  114499. var faCropAlt = faCropSimple;
  114500. var faMoneyBill1 = {
  114501. prefix: 'fas',
  114502. iconName: 'money-bill-1',
  114503. icon: [576, 512, ["money-bill-alt"], "f3d1", "M64 64C28.7 64 0 92.7 0 128V384c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64H64zm64 320H64V320c35.3 0 64 28.7 64 64zM64 192V128h64c0 35.3-28.7 64-64 64zM448 384c0-35.3 28.7-64 64-64v64H448zm64-192c-35.3 0-64-28.7-64-64h64v64zM400 256c0 61.9-50.1 112-112 112s-112-50.1-112-112s50.1-112 112-112s112 50.1 112 112zM252 208c0 9.7 6.9 17.7 16 19.6V276h-4c-11 0-20 9-20 20s9 20 20 20h24 24c11 0 20-9 20-20s-9-20-20-20h-4V208c0-11-9-20-20-20H272c-11 0-20 9-20 20z"]
  114504. };
  114505. var faMoneyBillAlt = faMoneyBill1;
  114506. var faLeftLong = {
  114507. prefix: 'fas',
  114508. iconName: 'left-long',
  114509. icon: [512, 512, ["long-arrow-alt-left"], "f30a", "M177.5 98c-8.8-3.8-19-2-26 4.6l-144 136C2.7 243.1 0 249.4 0 256s2.7 12.9 7.5 17.4l144 136c7 6.6 17.2 8.4 26 4.6s14.5-12.5 14.5-22l0-88 288 0c17.7 0 32-14.3 32-32l0-32c0-17.7-14.3-32-32-32l-288 0 0-88c0-9.6-5.7-18.2-14.5-22z"]
  114510. };
  114511. var faLongArrowAltLeft = faLeftLong;
  114512. var faDna = {
  114513. prefix: 'fas',
  114514. iconName: 'dna',
  114515. icon: [448, 512, [129516], "f471", "M416 0c17.7 0 32 14.3 32 32c0 59.8-30.3 107.5-69.4 146.6c-28 28-62.5 53.5-97.3 77.4l-2.5 1.7c-11.9 8.1-23.8 16.1-35.5 23.9l0 0 0 0 0 0-1.6 1c-6 4-11.9 7.9-17.8 11.9c-20.9 14-40.8 27.7-59.3 41.5H283.3c-9.8-7.4-20.1-14.7-30.7-22.1l7-4.7 3-2c15.1-10.1 30.9-20.6 46.7-31.6c25 18.1 48.9 37.3 69.4 57.7C417.7 372.5 448 420.2 448 480c0 17.7-14.3 32-32 32s-32-14.3-32-32H64c0 17.7-14.3 32-32 32s-32-14.3-32-32c0-59.8 30.3-107.5 69.4-146.6c28-28 62.5-53.5 97.3-77.4c-34.8-23.9-69.3-49.3-97.3-77.4C30.3 139.5 0 91.8 0 32C0 14.3 14.3 0 32 0S64 14.3 64 32H384c0-17.7 14.3-32 32-32zM338.6 384H109.4c-10.1 10.6-18.6 21.3-25.5 32H364.1c-6.8-10.7-15.3-21.4-25.5-32zM109.4 128H338.6c10.1-10.7 18.6-21.3 25.5-32H83.9c6.8 10.7 15.3 21.3 25.5 32zm55.4 48c18.4 13.8 38.4 27.5 59.3 41.5c20.9-14 40.8-27.7 59.3-41.5H164.7z"]
  114516. };
  114517. var faVirusSlash = {
  114518. prefix: 'fas',
  114519. iconName: 'virus-slash',
  114520. icon: [640, 512, [], "e075", "M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7l-154.3-121c-2-30.1 20.8-60.1 56-60.1H544c17.7 0 32-14.3 32-32s-14.3-32-32-32H532.5c-49.9 0-74.9-60.3-39.6-95.6l8.2-8.2c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-8.2 8.2C412.3 118.4 352 93.4 352 43.5V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V43.5c0 49.9-60.3 74.9-95.6 39.6L184.2 75c-12.5-12.5-32.8-12.5-45.3 0c-1.6 1.6-3.1 3.4-4.3 5.3L38.8 5.1zm225.8 177c6.9-3.9 14.9-6.1 23.4-6.1c26.5 0 48 21.5 48 48c0 4.4-.6 8.7-1.7 12.7l-69.7-54.6zM107.5 224H96c-17.7 0-32 14.3-32 32s14.3 32 32 32h11.5c49.9 0 74.9 60.3 39.6 95.6l-8.2 8.2c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l8.2-8.2c35.3-35.3 95.6-10.3 95.6 39.6V480c0 17.7 14.3 32 32 32s32-14.3 32-32V468.5c0-31.2 23.6-52.7 50-55.7L144.7 210c-9.5 8.5-22.2 14-37.2 14z"]
  114521. };
  114522. var faMinus = {
  114523. prefix: 'fas',
  114524. iconName: 'minus',
  114525. icon: [448, 512, [8211, 8722, 10134, "subtract"], "f068", "M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z"]
  114526. };
  114527. var faSubtract = faMinus;
  114528. var faChildRifle = {
  114529. prefix: 'fas',
  114530. iconName: 'child-rifle',
  114531. icon: [576, 512, [], "e4e0", "M176 128c35.3 0 64-28.7 64-64s-28.7-64-64-64s-64 28.7-64 64s28.7 64 64 64zm-8 352V352h16V480c0 17.7 14.3 32 32 32s32-14.3 32-32V300.5L260.9 321c9.4 15 29.2 19.4 44.1 10s19.4-29.2 10-44.1l-51.7-82.1c-17.6-27.9-48.3-44.9-81.2-44.9H169.8c-33 0-63.7 16.9-81.2 44.9L36.9 287c-9.4 15-4.9 34.7 10 44.1s34.7 4.9 44.1-10L104 300.5V480c0 17.7 14.3 32 32 32s32-14.3 32-32zM448 0H432 416c-8.8 0-16 7.2-16 16s7.2 16 16 16V132.3c-9.6 5.5-16 15.9-16 27.7v32c-17.7 0-32 14.3-32 32V368c0 17.7 14.3 32 32 32h16v96c0 8.8 7.2 16 16 16h59.5c10.4 0 18-9.8 15.5-19.9L484 400h44c8.8 0 16-7.2 16-16V368c0-8.8-7.2-16-16-16H480V325.3l53.1-17.7c6.5-2.2 10.9-8.3 10.9-15.2V208c0-8.8-7.2-16-16-16H512c-8.8 0-16 7.2-16 16v56l-16 5.3V160c0-11.8-6.4-22.2-16-27.7V16c0-8.8-7.2-16-16-16z"]
  114532. };
  114533. var faChess = {
  114534. prefix: 'fas',
  114535. iconName: 'chess',
  114536. icon: [512, 512, [], "f439", "M144 16c0-8.8-7.2-16-16-16s-16 7.2-16 16V32H96c-8.8 0-16 7.2-16 16s7.2 16 16 16h16V96H59.4C48.7 96 40 104.7 40 115.4c0 3 .7 5.9 2 8.7c6 12.4 23.8 50.8 32.8 83.9H72c-13.3 0-24 10.7-24 24s10.7 24 24 24h7.7C78 302.9 69.4 352.7 63.1 384H192.9c-6.4-31.3-14.9-81.1-16.6-128H184c13.3 0 24-10.7 24-24s-10.7-24-24-24h-2.8c9-33.2 26.8-71.5 32.8-83.9c1.3-2.7 2-5.6 2-8.7c0-10.7-8.7-19.4-19.4-19.4H144V64h16c8.8 0 16-7.2 16-16s-7.2-16-16-16H144V16zM25.2 451.4l-8.8 4.4C6.3 460.8 0 471.1 0 482.3C0 498.7 13.3 512 29.7 512H226.3c16.4 0 29.7-13.3 29.7-29.7c0-11.2-6.3-21.5-16.4-26.5l-8.8-4.4c-4.1-2.1-6.8-6.3-6.8-10.9c0-13.5-10.9-24.4-24.4-24.4H56.4C42.9 416 32 426.9 32 440.4c0 4.6-2.6 8.9-6.8 10.9zm279.2 4.4c-10.1 5-16.4 15.3-16.4 26.5c0 16.4 13.3 29.7 29.7 29.7H482.3c16.4 0 29.7-13.3 29.7-29.7c0-11.2-6.3-21.5-16.4-26.5l-8.8-4.4c-4.1-2.1-6.8-6.3-6.8-10.9c0-13.5-10.9-24.4-24.4-24.4H344.4c-13.5 0-24.4 10.9-24.4 24.4c0 4.6-2.6 8.9-6.8 10.9l-8.8 4.4zM304 259.9c0 7.8 2.8 15.3 8 21.1l18.9 21.4c5.4 6.1 8.2 14 8 22.1L337 384H462.5l-2.7-58.7c-.4-8.5 2.6-16.9 8.4-23.1l19.3-21c5.4-5.9 8.5-13.6 8.5-21.7V200c0-4.4-3.6-8-8-8H464c-4.4 0-8 3.6-8 8v16c0 4.4-3.6 8-8 8h-8c-4.4 0-8-3.6-8-8V200c0-4.4-3.6-8-8-8H376c-4.4 0-8 3.6-8 8v16c0 4.4-3.6 8-8 8h-8c-4.4 0-8-3.6-8-8V200c0-4.4-3.6-8-8-8H312c-4.4 0-8 3.6-8 8v59.9zM392 336c-4.4 0-8-3.6-8-8V304c0-8.8 7.2-16 16-16s16 7.2 16 16v24c0 4.4-3.6 8-8 8H392z"]
  114537. };
  114538. var faArrowLeftLong = {
  114539. prefix: 'fas',
  114540. iconName: 'arrow-left-long',
  114541. icon: [512, 512, ["long-arrow-left"], "f177", "M109.3 288L480 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-370.7 0 73.4-73.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-128 128c-12.5 12.5-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 288z"]
  114542. };
  114543. var faLongArrowLeft = faArrowLeftLong;
  114544. var faPlugCircleCheck = {
  114545. prefix: 'fas',
  114546. iconName: 'plug-circle-check',
  114547. icon: [576, 512, [], "e55c", "M96 0C78.3 0 64 14.3 64 32v96h64V32c0-17.7-14.3-32-32-32zM288 0c-17.7 0-32 14.3-32 32v96h64V32c0-17.7-14.3-32-32-32zM32 160c-17.7 0-32 14.3-32 32s14.3 32 32 32v32c0 77.4 55 142 128 156.8V480c0 17.7 14.3 32 32 32s32-14.3 32-32V412.8c12.3-2.5 24.1-6.4 35.1-11.5c-2.1-10.8-3.1-21.9-3.1-33.3c0-80.3 53.8-148 127.3-169.2c.5-2.2 .7-4.5 .7-6.8c0-17.7-14.3-32-32-32H32zM576 368c0-79.5-64.5-144-144-144s-144 64.5-144 144s64.5 144 144 144s144-64.5 144-144zm-76.7-43.3c6.2 6.2 6.2 16.4 0 22.6l-72 72c-6.2 6.2-16.4 6.2-22.6 0l-40-40c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L416 385.4l60.7-60.7c6.2-6.2 16.4-6.2 22.6 0z"]
  114548. };
  114549. var faStreetView = {
  114550. prefix: 'fas',
  114551. iconName: 'street-view',
  114552. icon: [512, 512, [], "f21d", "M320 64c0-35.3-28.7-64-64-64s-64 28.7-64 64s28.7 64 64 64s64-28.7 64-64zm-96 96c-35.3 0-64 28.7-64 64v48c0 17.7 14.3 32 32 32h1.8l11.1 99.5c1.8 16.2 15.5 28.5 31.8 28.5h38.7c16.3 0 30-12.3 31.8-28.5L318.2 304H320c17.7 0 32-14.3 32-32V224c0-35.3-28.7-64-64-64H224zM132.3 394.2c13-2.4 21.7-14.9 19.3-27.9s-14.9-21.7-27.9-19.3c-32.4 5.9-60.9 14.2-82 24.8c-10.5 5.3-20.3 11.7-27.8 19.6C6.4 399.5 0 410.5 0 424c0 21.4 15.5 36.1 29.1 45c14.7 9.6 34.3 17.3 56.4 23.4C130.2 504.7 190.4 512 256 512s125.8-7.3 170.4-19.6c22.1-6.1 41.8-13.8 56.4-23.4c13.7-8.9 29.1-23.6 29.1-45c0-13.5-6.4-24.5-14-32.6c-7.5-7.9-17.3-14.3-27.8-19.6c-21-10.6-49.5-18.9-82-24.8c-13-2.4-25.5 6.3-27.9 19.3s6.3 25.5 19.3 27.9c30.2 5.5 53.7 12.8 69 20.5c3.2 1.6 5.8 3.1 7.9 4.5c3.6 2.4 3.6 7.2 0 9.6c-8.8 5.7-23.1 11.8-43 17.3C374.3 457 318.5 464 256 464s-118.3-7-157.7-17.9c-19.9-5.5-34.2-11.6-43-17.3c-3.6-2.4-3.6-7.2 0-9.6c2.1-1.4 4.8-2.9 7.9-4.5c15.3-7.7 38.8-14.9 69-20.5z"]
  114553. };
  114554. var faFrancSign = {
  114555. prefix: 'fas',
  114556. iconName: 'franc-sign',
  114557. icon: [320, 512, [], "e18f", "M80 32C62.3 32 48 46.3 48 64V224v96H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H48v64c0 17.7 14.3 32 32 32s32-14.3 32-32V384h80c17.7 0 32-14.3 32-32s-14.3-32-32-32H112V256H256c17.7 0 32-14.3 32-32s-14.3-32-32-32H112V96H288c17.7 0 32-14.3 32-32s-14.3-32-32-32H80z"]
  114558. };
  114559. var faVolumeOff = {
  114560. prefix: 'fas',
  114561. iconName: 'volume-off',
  114562. icon: [320, 512, [], "f026", "M320 64c0-12.6-7.4-24-18.9-29.2s-25-3.1-34.4 5.3L131.8 160H64c-35.3 0-64 28.7-64 64v64c0 35.3 28.7 64 64 64h67.8L266.7 471.9c9.4 8.4 22.9 10.4 34.4 5.3S320 460.6 320 448V64z"]
  114563. };
  114564. var faHandsAslInterpreting = {
  114565. prefix: 'fas',
  114566. iconName: 'hands-asl-interpreting',
  114567. icon: [640, 512, ["american-sign-language-interpreting", "asl-interpreting", "hands-american-sign-language-interpreting"], "f2a3", "M156.6 46.3c7.9-15.8 1.5-35-14.3-42.9s-35-1.5-42.9 14.3L13.5 189.4C4.6 207.2 0 226.8 0 246.7V256c0 70.7 57.3 128 128 128h72 8v-.3c35.2-2.7 65.4-22.8 82.1-51.7c8.8-15.3 3.6-34.9-11.7-43.7s-34.9-3.6-43.7 11.7c-7 12-19.9 20-34.7 20c-22.1 0-40-17.9-40-40s17.9-40 40-40c14.8 0 27.7 8 34.7 20c8.8 15.3 28.4 20.5 43.7 11.7s20.5-28.4 11.7-43.7c-12.8-22.1-33.6-39.1-58.4-47.1l80.8-22c17-4.6 27.1-22.2 22.5-39.3s-22.2-27.1-39.3-22.5L194.9 124.6l81.6-68c13.6-11.3 15.4-31.5 4.1-45.1S249.1-3.9 235.5 7.4L133.6 92.3l23-46zM483.4 465.7c-7.9 15.8-1.5 35 14.3 42.9s35 1.5 42.9-14.3l85.9-171.7c8.9-17.8 13.5-37.4 13.5-57.2V256c0-70.7-57.3-128-128-128H440h-8v.3c-35.2 2.7-65.4 22.8-82.1 51.7c-8.9 15.3-3.6 34.9 11.7 43.7s34.9 3.6 43.7-11.7c7-12 19.9-20 34.7-20c22.1 0 40 17.9 40 40s-17.9 40-40 40c-14.8 0-27.7-8-34.7-20c-8.9-15.3-28.4-20.5-43.7-11.7s-20.5 28.4-11.7 43.7c12.8 22.1 33.6 39.1 58.4 47.1l-80.8 22c-17.1 4.7-27.1 22.2-22.5 39.3s22.2 27.1 39.3 22.5l100.7-27.5-81.6 68c-13.6 11.3-15.4 31.5-4.1 45.1s31.5 15.4 45.1 4.1l101.9-84.9-23 46z"]
  114568. };
  114569. var faAmericanSignLanguageInterpreting = faHandsAslInterpreting;
  114570. var faAslInterpreting = faHandsAslInterpreting;
  114571. var faHandsAmericanSignLanguageInterpreting = faHandsAslInterpreting;
  114572. var faGear = {
  114573. prefix: 'fas',
  114574. iconName: 'gear',
  114575. icon: [512, 512, [9881, "cog"], "f013", "M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336c44.2 0 80-35.8 80-80s-35.8-80-80-80s-80 35.8-80 80s35.8 80 80 80z"]
  114576. };
  114577. var faCog = faGear;
  114578. var faDropletSlash = {
  114579. prefix: 'fas',
  114580. iconName: 'droplet-slash',
  114581. icon: [640, 512, ["tint-slash"], "f5c7", "M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L491.5 359.9c3-12.8 4.5-26.2 4.5-39.9c0-74.1-102.3-230.6-150.9-300.7c-12.3-17.7-37.8-17.7-50.1 0c-20.8 30-51.4 75.8-79.6 124.1L38.8 5.1zM144 320c0 97.2 78.8 176 176 176c48.1 0 91.7-19.3 123.5-50.6L170 229.9c-15.6 34.7-26 66.6-26 90.1zm96 0c0 44.2 35.8 80 80 80c8.8 0 16 7.2 16 16s-7.2 16-16 16c-61.9 0-112-50.1-112-112c0-8.8 7.2-16 16-16s16 7.2 16 16z"]
  114582. };
  114583. var faTintSlash = faDropletSlash;
  114584. var faMosque = {
  114585. prefix: 'fas',
  114586. iconName: 'mosque',
  114587. icon: [640, 512, [128332], "f678", "M400 0c5 0 9.8 2.4 12.8 6.4c34.7 46.3 78.1 74.9 133.5 111.5l0 0 0 0c5.2 3.4 10.5 7 16 10.6c28.9 19.2 45.7 51.7 45.7 86.1c0 28.6-11.3 54.5-29.8 73.4H221.8c-18.4-19-29.8-44.9-29.8-73.4c0-34.4 16.7-66.9 45.7-86.1c5.4-3.6 10.8-7.1 16-10.6l0 0 0 0C309.1 81.3 352.5 52.7 387.2 6.4c3-4 7.8-6.4 12.8-6.4zM288 512V440c0-13.3-10.7-24-24-24s-24 10.7-24 24v72H192c-17.7 0-32-14.3-32-32V352c0-17.7 14.3-32 32-32H608c17.7 0 32 14.3 32 32V480c0 17.7-14.3 32-32 32H560V440c0-13.3-10.7-24-24-24s-24 10.7-24 24v72H448V454c0-19-8.4-37-23-49.2L400 384l-25 20.8C360.4 417 352 435 352 454v58H288zM70.4 5.2c5.7-4.3 13.5-4.3 19.2 0l16 12C139.8 42.9 160 83.2 160 126v2H0v-2C0 83.2 20.2 42.9 54.4 17.2l16-12zM0 160H160V296.6c-19.1 11.1-32 31.7-32 55.4V480c0 9.6 2.1 18.6 5.8 26.8c-6.6 3.4-14 5.2-21.8 5.2H48c-26.5 0-48-21.5-48-48V176 160z"]
  114588. };
  114589. var faMosquito = {
  114590. prefix: 'fas',
  114591. iconName: 'mosquito',
  114592. icon: [640, 512, [], "e52b", "M463.7 505.9c9.8-8.9 10.7-24.3 2.1-34.3l-42.1-49 0-54.7c0-5.5-1.8-10.8-5.1-15.1L352 266.3l0-.3L485.4 387.8C542.4 447.6 640 405.2 640 320.6c0-47.9-34-88.3-79.4-94.2l-153-23.9 40.8-40.9c7.8-7.8 9.4-20.1 3.9-29.8L428.5 90.1l38.2-50.9c8-10.6 6.1-25.9-4.3-34.1s-25.2-6.3-33.2 4.4l-48 63.9c-5.9 7.9-6.6 18.6-1.7 27.2L402.2 140 352 190.3l0-38.2c0-14.9-10.2-27.4-24-31l0-57.2c0-4.4-3.6-8-8-8s-8 3.6-8 8l0 57.2c-13.8 3.6-24 16.1-24 31l0 38.1L237.8 140l22.6-39.5c4.9-8.6 4.2-19.3-1.7-27.2l-48-63.9c-8-10.6-22.8-12.6-33.2-4.4s-12.2 23.5-4.3 34.1l38.2 50.9-23.9 41.7c-5.5 9.7-3.9 22 3.9 29.8l40.8 40.9-153 23.9C34 232.3 0 272.7 0 320.6c0 84.6 97.6 127 154.6 67.1L288 266l0 .3-66.5 86.4c-3.3 4.3-5.1 9.6-5.1 15.1l0 54.7-42.1 49c-8.6 10.1-7.7 25.5 2.1 34.3s24.7 7.9 33.4-2.1l48-55.9c3.8-4.4 5.9-10.2 5.9-16.1l0-55.4L288 344.7l0 63.1c0 17.7 14.3 32 32 32s32-14.3 32-32l0-63.1 24.3 31.6 0 55.4c0 5.9 2.1 11.7 5.9 16.1l48 55.9c8.6 10.1 23.6 11 33.4 2.1z"]
  114593. };
  114594. var faStarOfDavid = {
  114595. prefix: 'fas',
  114596. iconName: 'star-of-david',
  114597. icon: [512, 512, [10017], "f69a", "M404.2 309.5L383.1 344h42.3l-21.1-34.5zM371.4 256l-54-88H194.6l-54 88 54 88H317.4l54-88zm65.7 0l53.4 87c3.6 5.9 5.5 12.7 5.5 19.6c0 20.7-16.8 37.4-37.4 37.4H348.7l-56.2 91.5C284.8 504.3 270.9 512 256 512s-28.8-7.7-36.6-20.5L163.3 400H53.4C32.8 400 16 383.2 16 362.6c0-6.9 1.9-13.7 5.5-19.6l53.4-87L21.5 169c-3.6-5.9-5.5-12.7-5.5-19.6C16 128.8 32.8 112 53.4 112H163.3l56.2-91.5C227.2 7.7 241.1 0 256 0s28.8 7.7 36.6 20.5L348.7 112H458.6c20.7 0 37.4 16.8 37.4 37.4c0 6.9-1.9 13.7-5.5 19.6l-53.4 87zm-54-88l21.1 34.5L425.4 168H383.1zM283 112L256 68l-27 44h54zM128.9 168H86.6l21.1 34.5L128.9 168zM107.8 309.5L86.6 344h42.3l-21.1-34.5zM229 400l27 44 27-44H229z"]
  114598. };
  114599. var faPersonMilitaryRifle = {
  114600. prefix: 'fas',
  114601. iconName: 'person-military-rifle',
  114602. icon: [512, 512, [], "e54b", "M160 39c0-13 10-23.8 22.9-24.9L334.7 1.4C344 .7 352 8 352 17.4V48c0 8.8-7.2 16-16 16H185c-13.8 0-25-11.2-25-25zm17.6 57H334.4c1 5.2 1.6 10.5 1.6 16c0 44.2-35.8 80-80 80s-80-35.8-80-80c0-5.5 .6-10.8 1.6-16zm228 364.3L352 369.7V480c0 1.3-.1 2.5-.2 3.8L177.5 234.9c16.6-7.1 34.6-10.9 53.3-10.9h50.4c15.9 0 31.3 2.8 45.8 7.9L421.9 67.7c-7.7-4.4-10.3-14.2-5.9-21.9s14.2-10.3 21.9-5.9l13.9 8 13.9 8c7.7 4.4 10.3 14.2 5.9 21.9L416 173.9l1.6 .9c15.3 8.8 20.6 28.4 11.7 43.7L392.6 282c2 2.8 3.9 5.8 5.7 8.8l76.1 128.8c11.2 19 4.9 43.5-14.1 54.8s-43.5 4.9-54.8-14.1zM320 512H192c-17.7 0-32-14.3-32-32V369.7l-53.6 90.6c-11.2 19-35.8 25.3-54.8 14.1s-25.3-35.8-14.1-54.8l76.1-128.8c9.4-15.8 21.7-29.3 36-40L331.1 510c-3.5 1.3-7.2 2-11.1 2zM296 320c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24z"]
  114603. };
  114604. var faCartShopping = {
  114605. prefix: 'fas',
  114606. iconName: 'cart-shopping',
  114607. icon: [576, 512, [128722, "shopping-cart"], "f07a", "M24 0C10.7 0 0 10.7 0 24S10.7 48 24 48H76.1l60.3 316.5c2.2 11.3 12.1 19.5 23.6 19.5H488c13.3 0 24-10.7 24-24s-10.7-24-24-24H179.9l-9.1-48h317c14.3 0 26.9-9.5 30.8-23.3l54-192C578.3 52.3 563 32 541.8 32H122l-2.4-12.5C117.4 8.2 107.5 0 96 0H24zM176 512c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zm336-48c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48z"]
  114608. };
  114609. var faShoppingCart = faCartShopping;
  114610. var faVials = {
  114611. prefix: 'fas',
  114612. iconName: 'vials',
  114613. icon: [512, 512, [], "f493", "M0 64C0 46.3 14.3 32 32 32H88h48 56c17.7 0 32 14.3 32 32s-14.3 32-32 32V400c0 44.2-35.8 80-80 80s-80-35.8-80-80V96C14.3 96 0 81.7 0 64zM136 96H88V256h48V96zM288 64c0-17.7 14.3-32 32-32h56 48 56c17.7 0 32 14.3 32 32s-14.3 32-32 32V400c0 44.2-35.8 80-80 80s-80-35.8-80-80V96c-17.7 0-32-14.3-32-32zM424 96H376V256h48V96z"]
  114614. };
  114615. var faPlugCirclePlus = {
  114616. prefix: 'fas',
  114617. iconName: 'plug-circle-plus',
  114618. icon: [576, 512, [], "e55f", "M96 0C78.3 0 64 14.3 64 32v96h64V32c0-17.7-14.3-32-32-32zM288 0c-17.7 0-32 14.3-32 32v96h64V32c0-17.7-14.3-32-32-32zM32 160c-17.7 0-32 14.3-32 32s14.3 32 32 32v32c0 77.4 55 142 128 156.8V480c0 17.7 14.3 32 32 32s32-14.3 32-32V412.8c12.3-2.5 24.1-6.4 35.1-11.5c-2.1-10.8-3.1-21.9-3.1-33.3c0-80.3 53.8-148 127.3-169.2c.5-2.2 .7-4.5 .7-6.8c0-17.7-14.3-32-32-32H32zM432 512c79.5 0 144-64.5 144-144s-64.5-144-144-144s-144 64.5-144 144s64.5 144 144 144zm16-208v48h48c8.8 0 16 7.2 16 16s-7.2 16-16 16H448v48c0 8.8-7.2 16-16 16s-16-7.2-16-16V384H368c-8.8 0-16-7.2-16-16s7.2-16 16-16h48V304c0-8.8 7.2-16 16-16s16 7.2 16 16z"]
  114619. };
  114620. var faPlaceOfWorship = {
  114621. prefix: 'fas',
  114622. iconName: 'place-of-worship',
  114623. icon: [640, 512, [], "f67f", "M224 109.3V217.6L183.3 242c-14.5 8.7-23.3 24.3-23.3 41.2V512h96V416c0-35.3 28.7-64 64-64s64 28.7 64 64v96h96V283.2c0-16.9-8.8-32.5-23.3-41.2L416 217.6V109.3c0-8.5-3.4-16.6-9.4-22.6L331.3 11.3c-6.2-6.2-16.4-6.2-22.6 0L233.4 86.6c-6 6-9.4 14.1-9.4 22.6zM24.9 330.3C9.5 338.8 0 354.9 0 372.4V464c0 26.5 21.5 48 48 48h80V273.6L24.9 330.3zM592 512c26.5 0 48-21.5 48-48V372.4c0-17.5-9.5-33.6-24.9-42.1L512 273.6V512h80z"]
  114624. };
  114625. var faGripVertical = {
  114626. prefix: 'fas',
  114627. iconName: 'grip-vertical',
  114628. icon: [320, 512, [], "f58e", "M40 352c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48c0-22.1-17.9-40-40-40l-48 0zm192 0c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48c0-22.1-17.9-40-40-40l-48 0zM40 320l48 0c22.1 0 40-17.9 40-40l0-48c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40zM232 192c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48c0-22.1-17.9-40-40-40l-48 0zM40 160l48 0c22.1 0 40-17.9 40-40l0-48c0-22.1-17.9-40-40-40L40 32C17.9 32 0 49.9 0 72l0 48c0 22.1 17.9 40 40 40zM232 32c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48c0-22.1-17.9-40-40-40l-48 0z"]
  114629. };
  114630. var faArrowTurnUp = {
  114631. prefix: 'fas',
  114632. iconName: 'arrow-turn-up',
  114633. icon: [384, 512, ["level-up"], "f148", "M32 448c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0c53 0 96-43 96-96l0-306.7 73.4 73.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-128-128c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 109.3 160 416c0 17.7-14.3 32-32 32l-96 0z"]
  114634. };
  114635. var faLevelUp = faArrowTurnUp;
  114636. var faU = {
  114637. prefix: 'fas',
  114638. iconName: 'u',
  114639. icon: [384, 512, [117], "55", "M32 32c17.7 0 32 14.3 32 32V288c0 70.7 57.3 128 128 128s128-57.3 128-128V64c0-17.7 14.3-32 32-32s32 14.3 32 32V288c0 106-86 192-192 192S0 394 0 288V64C0 46.3 14.3 32 32 32z"]
  114640. };
  114641. var faSquareRootVariable = {
  114642. prefix: 'fas',
  114643. iconName: 'square-root-variable',
  114644. icon: [576, 512, ["square-root-alt"], "f698", "M289 24.2C292.5 10 305.3 0 320 0H544c17.7 0 32 14.3 32 32s-14.3 32-32 32H345L239 487.8c-3.2 13-14.2 22.6-27.6 24s-26.1-5.5-32.1-17.5L76.2 288H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H96c12.1 0 23.2 6.8 28.6 17.7l73.3 146.6L289 24.2zM393.4 233.4c12.5-12.5 32.8-12.5 45.3 0L480 274.7l41.4-41.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3L525.3 320l41.4 41.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L480 365.3l-41.4 41.4c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L434.7 320l-41.4-41.4c-12.5-12.5-12.5-32.8 0-45.3z"]
  114645. };
  114646. var faSquareRootAlt = faSquareRootVariable;
  114647. var faClock = {
  114648. prefix: 'fas',
  114649. iconName: 'clock',
  114650. icon: [512, 512, [128339, "clock-four"], "f017", "M256 512C114.6 512 0 397.4 0 256S114.6 0 256 0S512 114.6 512 256s-114.6 256-256 256zM232 120V256c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2V120c0-13.3-10.7-24-24-24s-24 10.7-24 24z"]
  114651. };
  114652. var faClockFour = faClock;
  114653. var faBackwardStep = {
  114654. prefix: 'fas',
  114655. iconName: 'backward-step',
  114656. icon: [320, 512, ["step-backward"], "f048", "M267.5 440.6c9.5 7.9 22.8 9.7 34.1 4.4s18.4-16.6 18.4-29V96c0-12.4-7.2-23.7-18.4-29s-24.5-3.6-34.1 4.4l-192 160L64 241V96c0-17.7-14.3-32-32-32S0 78.3 0 96V416c0 17.7 14.3 32 32 32s32-14.3 32-32V271l11.5 9.6 192 160z"]
  114657. };
  114658. var faStepBackward = faBackwardStep;
  114659. var faPallet = {
  114660. prefix: 'fas',
  114661. iconName: 'pallet',
  114662. icon: [640, 512, [], "f482", "M32 320c-17.7 0-32 14.3-32 32s14.3 32 32 32H64v64H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H96 320 544h64c17.7 0 32-14.3 32-32s-14.3-32-32-32H576V384h32c17.7 0 32-14.3 32-32s-14.3-32-32-32H544 320 96 32zm96 64H288v64H128V384zm224 0H512v64H352V384z"]
  114663. };
  114664. var faFaucet = {
  114665. prefix: 'fas',
  114666. iconName: 'faucet',
  114667. icon: [512, 512, [], "e005", "M192 96v12L96 96c-17.7 0-32 14.3-32 32s14.3 32 32 32l96-12 31-3.9 1-.1 1 .1 31 3.9 96 12c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 12V96c0-17.7-14.3-32-32-32s-32 14.3-32 32zM32 256c-17.7 0-32 14.3-32 32v64c0 17.7 14.3 32 32 32H132.1c20.2 29 53.9 48 91.9 48s71.7-19 91.9-48H352c17.7 0 32 14.3 32 32s14.3 32 32 32h64c17.7 0 32-14.3 32-32c0-88.4-71.6-160-160-160H320l-22.6-22.6c-6-6-14.1-9.4-22.6-9.4H256V180.2l-32-4-32 4V224H173.3c-8.5 0-16.6 3.4-22.6 9.4L128 256H32z"]
  114668. };
  114669. var faBaseballBatBall = {
  114670. prefix: 'fas',
  114671. iconName: 'baseball-bat-ball',
  114672. icon: [640, 512, [], "f432", "M550.3 0c-10.9 0-21.4 3.4-30.2 9.8L279.7 184.6c-13.9 10.1-26.8 21.4-38.7 33.8L138.7 325.3c-9.2 9.6-19.3 18.4-30.1 26.3L79.3 372.9c1.3 1.5 2.6 3 3.9 4.7l48 64c1.6 2.2 3.1 4.4 4.4 6.6l27.3-19.9c11.6-8.4 24-15.8 37-21.8l135.3-63.1c16.7-7.8 32.7-17.2 47.6-28.1L619 143.6c13.2-9.6 21-24.9 21-41.2c0-11-3.6-21.8-10.2-30.6L609.6 44.8 591.4 20.6C581.7 7.6 566.5 0 550.3 0zM496 512c44.2 0 80-35.8 80-80s-35.8-80-80-80s-80 35.8-80 80s35.8 80 80 80zM57.6 396.8c-10.6-14.1-30.7-17-44.8-6.4s-17 30.7-6.4 44.8l48 64c10.6 14.1 30.7 17 44.8 6.4s17-30.7 6.4-44.8l-48-64z"]
  114673. };
  114674. var faS = {
  114675. prefix: 'fas',
  114676. iconName: 's',
  114677. icon: [384, 512, [115], "53", "M131.1 105.4c-20.1 8.6-30.8 21.8-33.9 39.4c-2.4 14.1-.7 23.2 2 29.4c2.8 6.3 7.9 12.4 16.7 18.6c19.2 13.4 48.3 22.1 84.9 32.5c1 .3 1.9 .6 2.9 .8c32.7 9.3 72 20.6 100.9 40.7c15.7 10.9 29.9 25.5 38.6 45.1c8.8 19.8 10.8 42 6.6 66.3c-7.3 42.5-35.3 71.7-71.8 87.3c-35.4 15.2-79.1 17.9-123.7 10.9l-.2 0 0 0c-24-3.9-62.7-17.1-87.6-25.6c-4.8-1.7-9.2-3.1-12.8-4.3c-16.8-5.6-25.8-23.7-20.3-40.5s23.7-25.8 40.5-20.3c4.9 1.6 10.2 3.4 15.9 5.4c25.4 8.6 56.4 19.2 74.4 22.1c36.8 5.7 67.5 2.5 88.5-6.5c20.1-8.6 30.8-21.8 33.9-39.4c2.4-14.1 .7-23.2-2-29.4c-2.8-6.3-7.9-12.4-16.7-18.6c-19.2-13.4-48.3-22.1-84.9-32.5c-1-.3-1.9-.6-2.9-.8c-32.7-9.3-72-20.6-100.9-40.7c-15.7-10.9-29.9-25.5-38.6-45.1c-8.8-19.8-10.8-42-6.6-66.3l31.5 5.5-31.5-5.5c7.3-42.5 35.3-71.7 71.8-87.3c35.4-15.2 79.1-17.9 123.7-10.9c13 2 52.4 9.6 66.6 13.4c17.1 4.5 27.2 22.1 22.7 39.2s-22.1 27.2-39.1 22.7c-11.2-3-48.2-10.2-60.1-12l4.9-31.5-4.9 31.5c-36.9-5.8-67.5-2.5-88.6 6.5z"]
  114678. };
  114679. var faTimeline = {
  114680. prefix: 'fas',
  114681. iconName: 'timeline',
  114682. icon: [640, 512, [], "e29c", "M128 120c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm32 49.3c28.3-12.3 48-40.5 48-73.3c0-44.2-35.8-80-80-80S48 51.8 48 96c0 32.8 19.7 61 48 73.3V224H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H288v54.7c-28.3 12.3-48 40.5-48 73.3c0 44.2 35.8 80 80 80s80-35.8 80-80c0-32.8-19.7-61-48-73.3V288H608c17.7 0 32-14.3 32-32s-14.3-32-32-32H544V169.3c28.3-12.3 48-40.5 48-73.3c0-44.2-35.8-80-80-80s-80 35.8-80 80c0 32.8 19.7 61 48 73.3V224H160V169.3zM536 96c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24zM320 440c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24z"]
  114683. };
  114684. var faKeyboard = {
  114685. prefix: 'fas',
  114686. iconName: 'keyboard',
  114687. icon: [576, 512, [9000], "f11c", "M64 64C28.7 64 0 92.7 0 128V384c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64H64zm16 64h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V144c0-8.8 7.2-16 16-16zM64 240c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V240zm16 80h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V336c0-8.8 7.2-16 16-16zm80-176c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V144zm16 80h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V240c0-8.8 7.2-16 16-16zM160 336c0-8.8 7.2-16 16-16H400c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V336zM272 128h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H272c-8.8 0-16-7.2-16-16V144c0-8.8 7.2-16 16-16zM256 240c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H272c-8.8 0-16-7.2-16-16V240zM368 128h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H368c-8.8 0-16-7.2-16-16V144c0-8.8 7.2-16 16-16zM352 240c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H368c-8.8 0-16-7.2-16-16V240zM464 128h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H464c-8.8 0-16-7.2-16-16V144c0-8.8 7.2-16 16-16zM448 240c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H464c-8.8 0-16-7.2-16-16V240zm16 80h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H464c-8.8 0-16-7.2-16-16V336c0-8.8 7.2-16 16-16z"]
  114688. };
  114689. var faCaretDown = {
  114690. prefix: 'fas',
  114691. iconName: 'caret-down',
  114692. icon: [320, 512, [], "f0d7", "M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z"]
  114693. };
  114694. var faHouseChimneyMedical = {
  114695. prefix: 'fas',
  114696. iconName: 'house-chimney-medical',
  114697. icon: [576, 512, ["clinic-medical"], "f7f2", "M575.8 255.5c0 18-15 32.1-32 32.1h-32l.7 160.2c.2 35.5-28.5 64.3-64 64.3H128.1c-35.3 0-64-28.7-64-64V287.6H32c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L416 100.7V64c0-17.7 14.3-32 32-32h32c17.7 0 32 14.3 32 32V185l52.8 46.4c8 7 12 15 11 24zM272 192c-8.8 0-16 7.2-16 16v48H208c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h48v48c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V320h48c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16H320V208c0-8.8-7.2-16-16-16H272z"]
  114698. };
  114699. var faClinicMedical = faHouseChimneyMedical;
  114700. var faTemperatureThreeQuarters = {
  114701. prefix: 'fas',
  114702. iconName: 'temperature-three-quarters',
  114703. icon: [320, 512, ["temperature-3", "thermometer-3", "thermometer-three-quarters"], "f2c8", "M160 64c-26.5 0-48 21.5-48 48V276.5c0 17.3-7.1 31.9-15.3 42.5C86.2 332.6 80 349.5 80 368c0 44.2 35.8 80 80 80s80-35.8 80-80c0-18.5-6.2-35.4-16.7-48.9c-8.2-10.6-15.3-25.2-15.3-42.5V112c0-26.5-21.5-48-48-48zM48 112C48 50.2 98.1 0 160 0s112 50.1 112 112V276.5c0 .1 .1 .3 .2 .6c.2 .6 .8 1.6 1.7 2.8c18.9 24.4 30.1 55 30.1 88.1c0 79.5-64.5 144-144 144S16 447.5 16 368c0-33.2 11.2-63.8 30.1-88.1c.9-1.2 1.5-2.2 1.7-2.8c.1-.3 .2-.5 .2-.6V112zM208 368c0 26.5-21.5 48-48 48s-48-21.5-48-48c0-20.9 13.4-38.7 32-45.3V152c0-8.8 7.2-16 16-16s16 7.2 16 16V322.7c18.6 6.6 32 24.4 32 45.3z"]
  114704. };
  114705. var faTemperature3 = faTemperatureThreeQuarters;
  114706. var faThermometer3 = faTemperatureThreeQuarters;
  114707. var faThermometerThreeQuarters = faTemperatureThreeQuarters;
  114708. var faMobileScreen = {
  114709. prefix: 'fas',
  114710. iconName: 'mobile-screen',
  114711. icon: [384, 512, ["mobile-android-alt"], "f3cf", "M16 64C16 28.7 44.7 0 80 0H304c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H80c-35.3 0-64-28.7-64-64V64zM144 448c0 8.8 7.2 16 16 16h64c8.8 0 16-7.2 16-16s-7.2-16-16-16H160c-8.8 0-16 7.2-16 16zM304 64H80V384H304V64z"]
  114712. };
  114713. var faMobileAndroidAlt = faMobileScreen;
  114714. var faPlaneUp = {
  114715. prefix: 'fas',
  114716. iconName: 'plane-up',
  114717. icon: [512, 512, [], "e22d", "M192 93.7C192 59.5 221 0 256 0c36 0 64 59.5 64 93.7l0 66.3L497.8 278.5c8.9 5.9 14.2 15.9 14.2 26.6v56.7c0 10.9-10.7 18.6-21.1 15.2L320 320v80l57.6 43.2c4 3 6.4 7.8 6.4 12.8v42c0 7.8-6.3 14-14 14c-1.3 0-2.6-.2-3.9-.5L256 480 145.9 511.5c-1.3 .4-2.6 .5-3.9 .5c-7.8 0-14-6.3-14-14V456c0-5 2.4-9.8 6.4-12.8L192 400V320L21.1 377C10.7 380.4 0 372.7 0 361.8V305.1c0-10.7 5.3-20.7 14.2-26.6L192 160V93.7z"]
  114718. };
  114719. var faPiggyBank = {
  114720. prefix: 'fas',
  114721. iconName: 'piggy-bank',
  114722. icon: [576, 512, [], "f4d3", "M400 96l0 .7c-5.3-.4-10.6-.7-16-.7H256c-16.5 0-32.5 2.1-47.8 6c-.1-2-.2-4-.2-6c0-53 43-96 96-96s96 43 96 96zm-16 32c3.5 0 7 .1 10.4 .3c4.2 .3 8.4 .7 12.6 1.3C424.6 109.1 450.8 96 480 96h32l-18.8 75.1c15.8 14.8 28.7 32.8 37.5 52.9H544c17.7 0 32 14.3 32 32v96c0 17.7-14.3 32-32 32H512c-9.1 12.1-19.9 22.9-32 32v64c0 17.7-14.3 32-32 32H416c-17.7 0-32-14.3-32-32V448H256v32c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V416c-34.9-26.2-58.7-66.3-63.2-112H68c-37.6 0-68-30.4-68-68s30.4-68 68-68h4c13.3 0 24 10.7 24 24s-10.7 24-24 24H68c-11 0-20 9-20 20s9 20 20 20H99.2c12.1-59.8 57.7-107.5 116.3-122.8c12.9-3.4 26.5-5.2 40.5-5.2H384zm64 136c0-13.3-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24s24-10.7 24-24z"]
  114723. };
  114724. var faBatteryHalf = {
  114725. prefix: 'fas',
  114726. iconName: 'battery-half',
  114727. icon: [576, 512, ["battery-3"], "f242", "M0 176c0-44.2 35.8-80 80-80H464c44.2 0 80 35.8 80 80v16c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32v16c0 44.2-35.8 80-80 80H80c-44.2 0-80-35.8-80-80V176zm80-16c-8.8 0-16 7.2-16 16V336c0 8.8 7.2 16 16 16H464c8.8 0 16-7.2 16-16V176c0-8.8-7.2-16-16-16H80zm208 32V320H96V192H288z"]
  114728. };
  114729. var faBattery3 = faBatteryHalf;
  114730. var faMountainCity = {
  114731. prefix: 'fas',
  114732. iconName: 'mountain-city',
  114733. icon: [640, 512, [], "e52e", "M336 0c-26.5 0-48 21.5-48 48v92.1l71.4 118.4c2.5-1.6 5.4-2.5 8.6-2.5h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16h-3.5l73.8 122.4c12.4 20.6 12.9 46.3 1.2 67.3c-.4 .8-.9 1.6-1.4 2.3H592c26.5 0 48-21.5 48-48V240c0-26.5-21.5-48-48-48H568V120c0-13.3-10.7-24-24-24s-24 10.7-24 24v72H480V48c0-26.5-21.5-48-48-48H336zm32 64h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H368c-8.8 0-16-7.2-16-16V80c0-8.8 7.2-16 16-16zM352 176c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H368c-8.8 0-16-7.2-16-16V176zm160 96c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H528c-8.8 0-16-7.2-16-16V272zm16 80h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H528c-8.8 0-16-7.2-16-16V368c0-8.8 7.2-16 16-16zM224 188.9L283.8 288H223l-48 64-24.6-41.2L224 188.9zm29.4-44.2C247.1 134.3 236 128 224 128s-23.1 6.3-29.4 16.7L5.1 458.9c-6.5 10.8-6.7 24.3-.7 35.3S22 512 34.5 512H413.5c12.5 0 24-6.8 30.1-17.8s5.8-24.5-.7-35.3L253.4 144.7z"]
  114734. };
  114735. var faCoins = {
  114736. prefix: 'fas',
  114737. iconName: 'coins',
  114738. icon: [512, 512, [], "f51e", "M512 80c0 18-14.3 34.6-38.4 48c-29.1 16.1-72.5 27.5-122.3 30.9c-3.7-1.8-7.4-3.5-11.3-5C300.6 137.4 248.2 128 192 128c-8.3 0-16.4 .2-24.5 .6l-1.1-.6C142.3 114.6 128 98 128 80c0-44.2 86-80 192-80S512 35.8 512 80zM160.7 161.1c10.2-.7 20.7-1.1 31.3-1.1c62.2 0 117.4 12.3 152.5 31.4C369.3 204.9 384 221.7 384 240c0 4-.7 7.9-2.1 11.7c-4.6 13.2-17 25.3-35 35.5c0 0 0 0 0 0c-.1 .1-.3 .1-.4 .2l0 0 0 0c-.3 .2-.6 .3-.9 .5c-35 19.4-90.8 32-153.6 32c-59.6 0-112.9-11.3-148.2-29.1c-1.9-.9-3.7-1.9-5.5-2.9C14.3 274.6 0 258 0 240c0-34.8 53.4-64.5 128-75.4c10.5-1.5 21.4-2.7 32.7-3.5zM416 240c0-21.9-10.6-39.9-24.1-53.4c28.3-4.4 54.2-11.4 76.2-20.5c16.3-6.8 31.5-15.2 43.9-25.5V176c0 19.3-16.5 37.1-43.8 50.9c-14.6 7.4-32.4 13.7-52.4 18.5c.1-1.8 .2-3.5 .2-5.3zm-32 96c0 18-14.3 34.6-38.4 48c-1.8 1-3.6 1.9-5.5 2.9C304.9 404.7 251.6 416 192 416c-62.8 0-118.6-12.6-153.6-32C14.3 370.6 0 354 0 336V300.6c12.5 10.3 27.6 18.7 43.9 25.5C83.4 342.6 135.8 352 192 352s108.6-9.4 148.1-25.9c7.8-3.2 15.3-6.9 22.4-10.9c6.1-3.4 11.8-7.2 17.2-11.2c1.5-1.1 2.9-2.3 4.3-3.4V304v5.7V336zm32 0V304 278.1c19-4.2 36.5-9.5 52.1-16c16.3-6.8 31.5-15.2 43.9-25.5V272c0 10.5-5 21-14.9 30.9c-16.3 16.3-45 29.7-81.3 38.4c.1-1.7 .2-3.5 .2-5.3zM192 448c56.2 0 108.6-9.4 148.1-25.9c16.3-6.8 31.5-15.2 43.9-25.5V432c0 44.2-86 80-192 80S0 476.2 0 432V396.6c12.5 10.3 27.6 18.7 43.9 25.5C83.4 438.6 135.8 448 192 448z"]
  114739. };
  114740. var faKhanda = {
  114741. prefix: 'fas',
  114742. iconName: 'khanda',
  114743. icon: [576, 512, [9772], "f66d", "M277.8 3.7c5.9-4.9 14.6-4.9 20.5 0l48 40c5.9 4.9 7.5 13.2 3.8 19.9l0 0 0 0 0 0 0 0-.1 .1-.3 .6c-.3 .5-.7 1.3-1.2 2.3c-1 2-2.6 5-4.4 8.6c-.5 .9-.9 1.9-1.4 2.9C376.9 97.4 400 134 400 176s-23.1 78.6-57.3 97.8c.5 1 1 2 1.4 2.9c1.8 3.7 3.3 6.6 4.4 8.6c.5 1 .9 1.8 1.2 2.3l.3 .6 .1 .1 0 0 0 0c3.6 6.7 2 15-3.8 19.9L304 343.5v19.8l35.6-24.5 41.1-28.2c42.8-29.4 68.4-78 68.4-130c0-31.1-9.2-61.6-26.5-87.5l-2.8-4.2c-4-6-3.5-14 1.3-19.5s12.7-7 19.2-3.7L433.1 80c7.2-14.3 7.2-14.3 7.2-14.3l0 0 0 0 .1 0 .3 .2 1 .5c.8 .4 2 1.1 3.5 1.9c2.9 1.7 7 4.1 11.8 7.3c9.6 6.4 22.5 16.1 35.4 29c25.7 25.7 52.7 65.6 52.7 119.3c0 53.1-26.4 100.5-51.2 133.6c-12.6 16.7-25.1 30.3-34.5 39.7c-4.7 4.7-8.7 8.4-11.5 10.9c-1.4 1.3-2.5 2.2-3.3 2.9l-.9 .8-.3 .2-.1 .1 0 0 0 0s0 0-10.2-12.3l10.2 12.3c-5.1 4.3-12.4 4.9-18.2 1.6l-75.6-43-32.7 22.5 45.5 31.3c1.8-.4 3.7-.7 5.7-.7c13.3 0 24 10.7 24 24s-10.7 24-24 24c-12.2 0-22.3-9.1-23.8-21L304 423.4v28.9c9.6 5.5 16 15.9 16 27.7c0 17.7-14.3 32-32 32s-32-14.3-32-32c0-11.8 6.4-22.2 16-27.7V424.1l-40.3 27.7C229.8 463.3 219.9 472 208 472c-13.3 0-24-10.7-24-24s10.7-24 24-24c2.2 0 4.4 .3 6.5 .9l45.8-31.5-32.7-22.5-75.6 43c-5.8 3.3-13 2.7-18.2-1.6L144 400c-10.2 12.3-10.2 12.3-10.3 12.3l0 0 0 0-.1-.1-.3-.2-.9-.8c-.8-.7-1.9-1.7-3.3-2.9c-2.8-2.5-6.7-6.2-11.5-10.9c-9.4-9.4-21.9-23-34.5-39.7C58.4 324.5 32 277.1 32 224c0-53.7 26.9-93.6 52.7-119.3c12.9-12.9 25.8-22.6 35.4-29c4.8-3.2 8.9-5.7 11.8-7.3c1.5-.8 2.6-1.5 3.5-1.9l1-.5 .3-.2 .1 0 0 0 0 0s0 0 7.2 14.3l-7.2-14.3c6.5-3.2 14.3-1.7 19.2 3.7s5.3 13.4 1.3 19.5l-2.8 4.2C137.2 119 128 149.5 128 180.6c0 51.9 25.6 100.6 68.4 130l41.1 28.2L272 362.6V343.5l-42.2-35.2c-5.9-4.9-7.5-13.2-3.8-19.9l0 0 0 0 0 0 .1-.1 .3-.6c.3-.5 .7-1.3 1.2-2.3c1-2 2.6-5 4.4-8.6c.5-.9 .9-1.9 1.4-2.9C199.1 254.6 176 218 176 176s23.1-78.6 57.3-97.8c-.5-1-1-2-1.4-2.9c-1.8-3.7-3.3-6.6-4.4-8.6c-.5-1-.9-1.8-1.2-2.3l-.3-.6-.1-.1 0 0 0 0 0 0c-3.6-6.7-2-15 3.8-19.9l48-40zM252.2 122.9c-17 11.5-28.2 31-28.2 53.1s11.2 41.6 28.2 53.1C259 210.2 264 190.9 264 176s-5-34.2-11.8-53.1zm71.5 106.2c17-11.5 28.2-31 28.2-53.1s-11.2-41.6-28.2-53.1C317 141.8 312 161.1 312 176s5 34.2 11.8 53.1z"]
  114744. };
  114745. var faSliders = {
  114746. prefix: 'fas',
  114747. iconName: 'sliders',
  114748. icon: [512, 512, ["sliders-h"], "f1de", "M0 416c0-17.7 14.3-32 32-32l54.7 0c12.3-28.3 40.5-48 73.3-48s61 19.7 73.3 48L480 384c17.7 0 32 14.3 32 32s-14.3 32-32 32l-246.7 0c-12.3 28.3-40.5 48-73.3 48s-61-19.7-73.3-48L32 448c-17.7 0-32-14.3-32-32zm192 0c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zM384 256c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zm-32-80c32.8 0 61 19.7 73.3 48l54.7 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-54.7 0c-12.3 28.3-40.5 48-73.3 48s-61-19.7-73.3-48L32 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l246.7 0c12.3-28.3 40.5-48 73.3-48zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32s-14.3-32-32-32zm73.3 0L480 64c17.7 0 32 14.3 32 32s-14.3 32-32 32l-214.7 0c-12.3 28.3-40.5 48-73.3 48s-61-19.7-73.3-48L32 128C14.3 128 0 113.7 0 96S14.3 64 32 64l86.7 0C131 35.7 159.2 16 192 16s61 19.7 73.3 48z"]
  114749. };
  114750. var faSlidersH = faSliders;
  114751. var faFolderTree = {
  114752. prefix: 'fas',
  114753. iconName: 'folder-tree',
  114754. icon: [576, 512, [], "f802", "M64 32C64 14.3 49.7 0 32 0S0 14.3 0 32v96V384c0 35.3 28.7 64 64 64H256V384H64V160H256V96H64V32zM288 192c0 17.7 14.3 32 32 32H544c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32H445.3c-8.5 0-16.6-3.4-22.6-9.4L409.4 9.4c-6-6-14.1-9.4-22.6-9.4H320c-17.7 0-32 14.3-32 32V192zm0 288c0 17.7 14.3 32 32 32H544c17.7 0 32-14.3 32-32V352c0-17.7-14.3-32-32-32H445.3c-8.5 0-16.6-3.4-22.6-9.4l-13.3-13.3c-6-6-14.1-9.4-22.6-9.4H320c-17.7 0-32 14.3-32 32V480z"]
  114755. };
  114756. var faNetworkWired = {
  114757. prefix: 'fas',
  114758. iconName: 'network-wired',
  114759. icon: [640, 512, [], "f6ff", "M256 64H384v64H256V64zM240 0c-26.5 0-48 21.5-48 48v96c0 26.5 21.5 48 48 48h48v32H32c-17.7 0-32 14.3-32 32s14.3 32 32 32h96v32H80c-26.5 0-48 21.5-48 48v96c0 26.5 21.5 48 48 48H240c26.5 0 48-21.5 48-48V368c0-26.5-21.5-48-48-48H192V288H448v32H400c-26.5 0-48 21.5-48 48v96c0 26.5 21.5 48 48 48H560c26.5 0 48-21.5 48-48V368c0-26.5-21.5-48-48-48H512V288h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H352V192h48c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48H240zM96 448V384H224v64H96zm320-64H544v64H416V384z"]
  114760. };
  114761. var faMapPin = {
  114762. prefix: 'fas',
  114763. iconName: 'map-pin',
  114764. icon: [320, 512, [128205], "f276", "M320 144c0 79.5-64.5 144-144 144S32 223.5 32 144S96.5 0 176 0s144 64.5 144 144zM176 80c8.8 0 16-7.2 16-16s-7.2-16-16-16c-53 0-96 43-96 96c0 8.8 7.2 16 16 16s16-7.2 16-16c0-35.3 28.7-64 64-64zM144 480V317.1c10.4 1.9 21.1 2.9 32 2.9s21.6-1 32-2.9V480c0 17.7-14.3 32-32 32s-32-14.3-32-32z"]
  114765. };
  114766. var faHamsa = {
  114767. prefix: 'fas',
  114768. iconName: 'hamsa',
  114769. icon: [512, 512, [], "f665", "M34.6 288H80c8.8 0 16-7.2 16-16V72c0-22.1 17.9-40 40-40s40 17.9 40 40V204c0 11 9 20 20 20s20-9 20-20V40c0-22.1 17.9-40 40-40s40 17.9 40 40V204c0 11 9 20 20 20s20-9 20-20V72c0-22.1 17.9-40 40-40s40 17.9 40 40V272c0 8.8 7.2 16 16 16h45.4c19.1 0 34.6 15.5 34.6 34.6c0 8.6-3.2 16.9-9 23.3L416.6 441c-41.1 45.2-99.4 71-160.6 71s-119.4-25.8-160.6-71L9 345.9c-5.8-6.4-9-14.7-9-23.3C0 303.5 15.5 288 34.6 288zM256 288c-38.4 0-76.8 35.8-90.6 50.2c-3.6 3.7-5.4 8.7-5.4 13.8s1.8 10.1 5.4 13.8C179.2 380.2 217.6 416 256 416s76.8-35.8 90.6-50.2c3.6-3.7 5.4-8.7 5.4-13.8s-1.8-10.1-5.4-13.8C332.8 323.8 294.4 288 256 288zm0 96c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]
  114770. };
  114771. var faCentSign = {
  114772. prefix: 'fas',
  114773. iconName: 'cent-sign',
  114774. icon: [384, 512, [], "e3f5", "M224 0c17.7 0 32 14.3 32 32V66.7c30.9 5.2 59.2 17.7 83.2 35.8c14.1 10.6 17 30.7 6.4 44.8s-30.7 17-44.8 6.4C279.4 137.5 252.9 128 224 128c-70.7 0-128 57.3-128 128s57.3 128 128 128c28.9 0 55.4-9.5 76.8-25.6c14.1-10.6 34.2-7.8 44.8 6.4s7.8 34.2-6.4 44.8c-24 18-52.4 30.6-83.2 35.8V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V445.3C101.2 430.1 32 351.1 32 256s69.2-174.1 160-189.3V32c0-17.7 14.3-32 32-32z"]
  114775. };
  114776. var faFlask = {
  114777. prefix: 'fas',
  114778. iconName: 'flask',
  114779. icon: [448, 512, [], "f0c3", "M288 0H160 128C110.3 0 96 14.3 96 32s14.3 32 32 32V196.8c0 11.8-3.3 23.5-9.5 33.5L10.3 406.2C3.6 417.2 0 429.7 0 442.6C0 480.9 31.1 512 69.4 512H378.6c38.3 0 69.4-31.1 69.4-69.4c0-12.8-3.6-25.4-10.3-36.4L329.5 230.4c-6.2-10.1-9.5-21.7-9.5-33.5V64c17.7 0 32-14.3 32-32s-14.3-32-32-32H288zM192 196.8V64h64V196.8c0 23.7 6.6 46.9 19 67.1L309.5 320h-171L173 263.9c12.4-20.2 19-43.4 19-67.1z"]
  114780. };
  114781. var faPersonPregnant = {
  114782. prefix: 'fas',
  114783. iconName: 'person-pregnant',
  114784. icon: [384, 512, [], "e31e", "M192 96c-26.5 0-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48zM120 383c-13.8-3.6-24-16.1-24-31V296.9l-4.6 7.6c-9.1 15.1-28.8 20-43.9 10.9s-20-28.8-10.9-43.9l58.3-97c15-24.9 40.3-41.5 68.7-45.6c4.1-.6 8.2-1 12.5-1h1.1 12.5H192c1.4 0 2.8 .1 4.1 .3c35.7 2.9 65.4 29.3 72.1 65l6.1 32.5c44.3 8.6 77.7 47.5 77.7 94.3v32c0 17.7-14.3 32-32 32H304 264v96c0 17.7-14.3 32-32 32s-32-14.3-32-32V384h-8-8v96c0 17.7-14.3 32-32 32s-32-14.3-32-32V383z"]
  114785. };
  114786. var faWandSparkles = {
  114787. prefix: 'fas',
  114788. iconName: 'wand-sparkles',
  114789. icon: [512, 512, [], "f72b", "M464 6.1c9.5-8.5 24-8.1 33 .9l8 8c9 9 9.4 23.5 .9 33l-85.8 95.9c-2.6 2.9-4.1 6.7-4.1 10.7V176c0 8.8-7.2 16-16 16H384.2c-4.6 0-8.9 1.9-11.9 5.3L100.7 500.9C94.3 508 85.3 512 75.8 512c-8.8 0-17.3-3.5-23.5-9.8L9.7 459.7C3.5 453.4 0 445 0 436.2c0-9.5 4-18.5 11.1-24.8l111.6-99.8c3.4-3 5.3-7.4 5.3-11.9V272c0-8.8 7.2-16 16-16h34.6c3.9 0 7.7-1.5 10.7-4.1L464 6.1zM432 288c3.6 0 6.7 2.4 7.7 5.8l14.8 51.7 51.7 14.8c3.4 1 5.8 4.1 5.8 7.7s-2.4 6.7-5.8 7.7l-51.7 14.8-14.8 51.7c-1 3.4-4.1 5.8-7.7 5.8s-6.7-2.4-7.7-5.8l-14.8-51.7-51.7-14.8c-3.4-1-5.8-4.1-5.8-7.7s2.4-6.7 5.8-7.7l51.7-14.8 14.8-51.7c1-3.4 4.1-5.8 7.7-5.8zM87.7 69.8l14.8 51.7 51.7 14.8c3.4 1 5.8 4.1 5.8 7.7s-2.4 6.7-5.8 7.7l-51.7 14.8L87.7 218.2c-1 3.4-4.1 5.8-7.7 5.8s-6.7-2.4-7.7-5.8L57.5 166.5 5.8 151.7c-3.4-1-5.8-4.1-5.8-7.7s2.4-6.7 5.8-7.7l51.7-14.8L72.3 69.8c1-3.4 4.1-5.8 7.7-5.8s6.7 2.4 7.7 5.8zM224 0c3.7 0 6.9 2.5 7.8 6.1l6.8 27.3 27.3 6.8c3.6 .9 6.1 4.1 6.1 7.8s-2.5 6.9-6.1 7.8l-27.3 6.8-6.8 27.3c-.9 3.6-4.1 6.1-7.8 6.1s-6.9-2.5-7.8-6.1l-6.8-27.3-27.3-6.8c-3.6-.9-6.1-4.1-6.1-7.8s2.5-6.9 6.1-7.8l27.3-6.8 6.8-27.3c.9-3.6 4.1-6.1 7.8-6.1z"]
  114790. };
  114791. var faEllipsisVertical = {
  114792. prefix: 'fas',
  114793. iconName: 'ellipsis-vertical',
  114794. icon: [128, 512, ["ellipsis-v"], "f142", "M64 360c30.9 0 56 25.1 56 56s-25.1 56-56 56s-56-25.1-56-56s25.1-56 56-56zm0-160c30.9 0 56 25.1 56 56s-25.1 56-56 56s-56-25.1-56-56s25.1-56 56-56zM120 96c0 30.9-25.1 56-56 56S8 126.9 8 96S33.1 40 64 40s56 25.1 56 56z"]
  114795. };
  114796. var faEllipsisV = faEllipsisVertical;
  114797. var faTicket = {
  114798. prefix: 'fas',
  114799. iconName: 'ticket',
  114800. icon: [576, 512, [127903], "f145", "M64 64C28.7 64 0 92.7 0 128v80c26.5 0 48 21.5 48 48s-21.5 48-48 48v80c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V304c-26.5 0-48-21.5-48-48s21.5-48 48-48V128c0-35.3-28.7-64-64-64H64zm64 96l0 192H448V160H128zm-32 0c0-17.7 14.3-32 32-32H448c17.7 0 32 14.3 32 32V352c0 17.7-14.3 32-32 32H128c-17.7 0-32-14.3-32-32V160z"]
  114801. };
  114802. var faPowerOff = {
  114803. prefix: 'fas',
  114804. iconName: 'power-off',
  114805. icon: [512, 512, [9211], "f011", "M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V256c0 17.7 14.3 32 32 32s32-14.3 32-32V32zM143.5 120.6c13.6-11.3 15.4-31.5 4.1-45.1s-31.5-15.4-45.1-4.1C49.7 115.4 16 181.8 16 256c0 132.5 107.5 240 240 240s240-107.5 240-240c0-74.2-33.8-140.6-86.6-184.6c-13.6-11.3-33.8-9.4-45.1 4.1s-9.4 33.8 4.1 45.1c38.9 32.3 63.5 81 63.5 135.4c0 97.2-78.8 176-176 176s-176-78.8-176-176c0-54.4 24.7-103.1 63.5-135.4z"]
  114806. };
  114807. var faRightLong = {
  114808. prefix: 'fas',
  114809. iconName: 'right-long',
  114810. icon: [512, 512, ["long-arrow-alt-right"], "f30b", "M334.5 414c8.8 3.8 19 2 26-4.6l144-136c4.8-4.5 7.5-10.8 7.5-17.4s-2.7-12.9-7.5-17.4l-144-136c-7-6.6-17.2-8.4-26-4.6s-14.5 12.5-14.5 22l0 88L32 208c-17.7 0-32 14.3-32 32l0 32c0 17.7 14.3 32 32 32l288 0 0 88c0 9.6 5.7 18.2 14.5 22z"]
  114811. };
  114812. var faLongArrowAltRight = faRightLong;
  114813. var faFlagUsa = {
  114814. prefix: 'fas',
  114815. iconName: 'flag-usa',
  114816. icon: [512, 512, [], "f74d", "M63 23.9C59.4 10.1 46.9 0 32 0C14.3 0 0 14.3 0 32V480c0 17.7 14.3 32 32 32s32-14.3 32-32V380.1c2-.8 4.8-1.8 8.2-3c8-2.8 19.4-6.6 32.6-10.4C131.9 359 164.5 352 192 352c26.3 0 46 6.4 70 14.4l1 .3c23.8 7.9 51.9 17.3 89 17.3c36.8 0 72.5-9.1 98.1-17.6c13-4.3 23.8-8.7 31.5-11.9c3.8-1.6 6.9-3 9-4c1.1-.5 1.9-.9 2.5-1.2l.7-.4 .2-.1 .1 0 0 0 0 0s0 0-14.3-28.6l14.3 28.6c10.8-5.4 17.7-16.5 17.7-28.6V289.1c-2.2 .8-5 1.8-8.2 3c-8.8 3.1-21.1 7.2-35.5 11.3C439.8 311.5 402.1 320 368 320c-34.1 0-63.9-8.5-91.4-16.4l-.8-.2C247.5 295.3 221.4 288 192 288c-29.7 0-61.9 7.5-87.3 15.3C92.1 307.2 81.5 311 74 313.9c-3.7 1.4-6.7 2.6-8.6 3.5L64 318V283.5c7.9-3 18.7-6.9 31.3-10.8c26.6-8.2 62.4-16.7 96.7-16.7c34.3 0 64.2 8.5 91.8 16.4l.7 .2c28.3 8.1 54.2 15.4 83.5 15.4c29.6 0 63.9-7.5 91.5-15.4c13.6-3.9 25.4-7.8 33.6-10.7c4.1-1.5 7.4-2.7 9.6-3.5c1.1-.4 2-.7 2.5-1l.6-.2 .1-.1 0 0 0 0 0 0 0 0 5.9-2.4V193.1c-2.2 .8-5 1.8-8.2 3c-8.8 3.1-21.1 7.2-35.5 11.3C439.8 215.5 402.1 224 368 224c-34.1 0-63.9-8.5-91.4-16.4l-.8-.2C247.5 199.3 221.4 192 192 192c-29.7 0-61.9 7.5-87.3 15.3C92.1 211.2 81.5 215 74 217.9c-3.7 1.4-6.7 2.6-8.6 3.5L64 222V187.5c7.9-3 18.7-6.9 31.3-10.8c26.6-8.2 62.4-16.7 96.7-16.7c34.3 0 64.2 8.5 91.8 16.4l0 0 .7 .2c28.3 8.1 54.2 15.4 83.5 15.4c29.6 0 63.9-7.5 91.5-15.4c13.6-3.9 25.4-7.8 33.6-10.7c4.1-1.5 7.4-2.7 9.6-3.5c1.1-.4 2-.7 2.5-1l.6-.2 .1-.1 0 0 0 0 0 0 0 0 5.9-2.4V97.1c-2.2 .8-5 1.8-8.2 3c-8.8 3.1-21.1 7.2-35.5 11.3C439.8 119.5 402.1 128 368 128c-34.1 0-63.9-8.5-91.4-16.4l-.8-.2c-6.7-1.9-13.2-3.8-19.7-5.5V72.8c9.6 2.4 18.8 5 27.8 7.6l.7 .2C312.8 88.7 338.7 96 368 96c29.6 0 63.9-7.5 91.5-15.4c13.6-3.9 25.4-7.8 33.6-10.7c4.1-1.5 7.4-2.7 9.6-3.5c1.1-.4 2-.7 2.5-1l.6-.2 .1-.1 0 0 0 0 0 0 0 0 5.9-2.4V32c0-11.4-6.1-21.9-15.9-27.7s-22-5.8-31.9-.2l-.2 .1c-.3 .2-.7 .4-1.4 .8c-1.3 .7-3.4 1.8-6.2 3.1c-5.5 2.6-13.6 6.2-23.4 9.8c-20 7.3-46.2 14.1-73 14.1c-26.7 0-50.6-6.6-79.1-14.8l-1.3-.4C252.3 9.1 220.5 0 184 0C147.3 0 109.8 9 82.6 17.4c-7.2 2.2-13.8 4.4-19.6 6.5zM208 48c0 8.8-7.2 16-16 16s-16-7.2-16-16s7.2-16 16-16s16 7.2 16 16zm-64 8c0 8.8-7.2 16-16 16s-16-7.2-16-16s7.2-16 16-16s16 7.2 16 16zm48 72c-8.8 0-16-7.2-16-16s7.2-16 16-16s16 7.2 16 16s-7.2 16-16 16zm-48-8c0 8.8-7.2 16-16 16s-16-7.2-16-16s7.2-16 16-16s16 7.2 16 16z"]
  114817. };
  114818. var faLaptopFile = {
  114819. prefix: 'fas',
  114820. iconName: 'laptop-file',
  114821. icon: [640, 512, [], "e51d", "M192 0H48C21.5 0 0 21.5 0 48V368c0 26.5 21.5 48 48 48H162.7c6.6-18.6 24.4-32 45.3-32V272c0-44.2 35.8-80 80-80h32V128H224c-17.7 0-32-14.3-32-32V0zm96 224c-26.5 0-48 21.5-48 48v16 96 32H208c-8.8 0-16 7.2-16 16v16c0 35.3 28.7 64 64 64H576c35.3 0 64-28.7 64-64V432c0-8.8-7.2-16-16-16H592V288c0-35.3-28.7-64-64-64H320 304 288zm32 64H528V416H304V288h16zM224 0V96h96L224 0z"]
  114822. };
  114823. var faTty = {
  114824. prefix: 'fas',
  114825. iconName: 'tty',
  114826. icon: [512, 512, ["teletype"], "f1e4", "M472.7 188.8c-8.5 13.8-26.8 19.6-42.7 13.6L356 174.2c-14-5.3-22.5-18.5-21-32.4l4.6-42.6c-54.1-17.4-113.2-17.4-167.3 0l4.6 42.6c1.5 13.9-7 27.1-21 32.4L82 202.4c-15.9 6.1-34.2 .3-42.7-13.6L4.5 132.5c-7.7-12.4-5.4-28 5.5-38.1c135.9-125.8 356.1-125.8 492 0c10.9 10.1 13.2 25.7 5.5 38.1l-34.8 56.4zM32 272c0-8.8 7.2-16 16-16H80c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H48c-8.8 0-16-7.2-16-16V272zm0 192c0-8.8 7.2-16 16-16H80c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H48c-8.8 0-16-7.2-16-16V464zM96 352h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H96c-8.8 0-16-7.2-16-16V368c0-8.8 7.2-16 16-16zm32-80c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H144c-8.8 0-16-7.2-16-16V272zm64 80h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H192c-8.8 0-16-7.2-16-16V368c0-8.8 7.2-16 16-16zm32-80c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H240c-8.8 0-16-7.2-16-16V272zm64 80h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H288c-8.8 0-16-7.2-16-16V368c0-8.8 7.2-16 16-16zm80 16c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H384c-8.8 0-16-7.2-16-16V368zM336 256h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H336c-8.8 0-16-7.2-16-16V272c0-8.8 7.2-16 16-16zm80 16c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H432c-8.8 0-16-7.2-16-16V272zm16 176h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H432c-8.8 0-16-7.2-16-16V464c0-8.8 7.2-16 16-16zM128 464c0-8.8 7.2-16 16-16H368c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H144c-8.8 0-16-7.2-16-16V464z"]
  114827. };
  114828. var faTeletype = faTty;
  114829. var faDiagramNext = {
  114830. prefix: 'fas',
  114831. iconName: 'diagram-next',
  114832. icon: [512, 512, [], "e476", "M512 160c0 35.3-28.7 64-64 64H280v64h46.1c21.4 0 32.1 25.9 17 41L273 399c-9.4 9.4-24.6 9.4-33.9 0L169 329c-15.1-15.1-4.4-41 17-41H232V224H64c-35.3 0-64-28.7-64-64V96C0 60.7 28.7 32 64 32H448c35.3 0 64 28.7 64 64v64zM448 416V352H365.3l.4-.4c18.4-18.4 20.4-43.7 11-63.6l71.3 0c35.3 0 64 28.7 64 64v64c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64V352c0-35.3 28.7-64 64-64l71.3 0c-9.4 19.9-7.4 45.2 11 63.6l.4 .4H64v64H210.7l5.7 5.7c21.9 21.9 57.3 21.9 79.2 0l5.7-5.7H448z"]
  114833. };
  114834. var faPersonRifle = {
  114835. prefix: 'fas',
  114836. iconName: 'person-rifle',
  114837. icon: [576, 512, [], "e54e", "M265.2 192c25.4 0 49.8 7.1 70.8 19.9V512H144V337.7L90.4 428.3c-11.2 19-35.8 25.3-54.8 14.1s-25.3-35.8-14.1-54.8L97.7 258.8c24.5-41.4 69-66.8 117.1-66.8h50.4zM320 80c0 44.2-35.8 80-80 80s-80-35.8-80-80s35.8-80 80-80s80 35.8 80 80zM448 0c8.8 0 16 7.2 16 16V132.3c9.6 5.5 16 15.9 16 27.7V269.3l16-5.3V208c0-8.8 7.2-16 16-16h16c8.8 0 16 7.2 16 16v84.5c0 6.9-4.4 13-10.9 15.2L480 325.3V352h48c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H484l23 92.1c2.5 10.1-5.1 19.9-15.5 19.9H432c-8.8 0-16-7.2-16-16V400H400c-17.7 0-32-14.3-32-32V224c0-17.7 14.3-32 32-32V160c0-11.8 6.4-22.2 16-27.7V32c-8.8 0-16-7.2-16-16s7.2-16 16-16h16 16z"]
  114838. };
  114839. var faHouseMedicalCircleExclamation = {
  114840. prefix: 'fas',
  114841. iconName: 'house-medical-circle-exclamation',
  114842. icon: [640, 512, [], "e512", "M320 368c0 59.5 29.5 112.1 74.8 144H128.1c-35.3 0-64-28.7-64-64V287.6H32c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L522.1 193.9c-8.5-1.3-17.3-1.9-26.1-1.9c-54.7 0-103.5 24.9-135.8 64H320V208c0-8.8-7.2-16-16-16H272c-8.8 0-16 7.2-16 16v48H208c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h48v48c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16zM496 512c-79.5 0-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144zm0-48c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24zm0-192c-8.8 0-16 7.2-16 16v80c0 8.8 7.2 16 16 16s16-7.2 16-16V288c0-8.8-7.2-16-16-16z"]
  114843. };
  114844. var faClosedCaptioning = {
  114845. prefix: 'fas',
  114846. iconName: 'closed-captioning',
  114847. icon: [576, 512, [], "f20a", "M0 96C0 60.7 28.7 32 64 32H512c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zM200 208c14.2 0 27 6.1 35.8 16c8.8 9.9 24 10.7 33.9 1.9s10.7-24 1.9-33.9c-17.5-19.6-43.1-32-71.5-32c-53 0-96 43-96 96s43 96 96 96c28.4 0 54-12.4 71.5-32c8.8-9.9 8-25-1.9-33.9s-25-8-33.9 1.9c-8.8 9.9-21.6 16-35.8 16c-26.5 0-48-21.5-48-48s21.5-48 48-48zm144 48c0-26.5 21.5-48 48-48c14.2 0 27 6.1 35.8 16c8.8 9.9 24 10.7 33.9 1.9s10.7-24 1.9-33.9c-17.5-19.6-43.1-32-71.5-32c-53 0-96 43-96 96s43 96 96 96c28.4 0 54-12.4 71.5-32c8.8-9.9 8-25-1.9-33.9s-25-8-33.9 1.9c-8.8 9.9-21.6 16-35.8 16c-26.5 0-48-21.5-48-48z"]
  114848. };
  114849. var faPersonHiking = {
  114850. prefix: 'fas',
  114851. iconName: 'person-hiking',
  114852. icon: [384, 512, ["hiking"], "f6ec", "M288 48c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zM243.3 230.7L224.2 307l49.7 49.7c9 9 14.1 21.2 14.1 33.9V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V397.3l-73.9-73.9c-15.8-15.8-22.2-38.6-16.9-60.3l20.4-84c8.3-34.1 42.7-54.9 76.7-46.4c19 4.8 35.6 16.4 46.4 32.7L305.1 208H336V184c0-13.3 10.7-24 24-24s24 10.7 24 24v55.8c0 .1 0 .2 0 .2s0 .2 0 .2V488c0 13.3-10.7 24-24 24s-24-10.7-24-24V272H296.6c-16 0-31-8-39.9-21.4l-13.3-20zM81.1 471.9L117.3 334c3 4.2 6.4 8.2 10.1 11.9l41.9 41.9L142.9 488.1c-4.5 17.1-22 27.3-39.1 22.8s-27.3-22-22.8-39.1zm55.5-346L101.4 266.5c-3 12.1-14.9 19.9-27.2 17.9l-47.9-8c-14-2.3-22.9-16.3-19.2-30L31.9 155c9.5-34.8 41.1-59 77.2-59h4.2c15.6 0 27.1 14.7 23.3 29.8z"]
  114853. };
  114854. var faHiking = faPersonHiking;
  114855. var faVenusDouble = {
  114856. prefix: 'fas',
  114857. iconName: 'venus-double',
  114858. icon: [640, 512, [9890], "f226", "M192 288c61.9 0 112-50.1 112-112s-50.1-112-112-112S80 114.1 80 176s50.1 112 112 112zM368 176c0 86.3-62.1 158.1-144 173.1V384h32c17.7 0 32 14.3 32 32s-14.3 32-32 32H224v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V448H128c-17.7 0-32-14.3-32-32s14.3-32 32-32h32V349.1C78.1 334.1 16 262.3 16 176C16 78.8 94.8 0 192 0s176 78.8 176 176zM344 318c14.6-15.6 26.8-33.4 36-53c18.8 14.4 42.4 23 68 23c61.9 0 112-50.1 112-112s-50.1-112-112-112c-25.6 0-49.1 8.6-68 23c-9.3-19.5-21.5-37.4-36-53C373.1 12.6 409.1 0 448 0c97.2 0 176 78.8 176 176c0 86.3-62.1 158.1-144 173.1V384h32c17.7 0 32 14.3 32 32s-14.3 32-32 32H480v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V448H384c-17.7 0-32-14.3-32-32s14.3-32 32-32h32V349.1c-26.6-4.9-51.1-15.7-72-31.1z"]
  114859. };
  114860. var faImages = {
  114861. prefix: 'fas',
  114862. iconName: 'images',
  114863. icon: [576, 512, [], "f302", "M160 32c-35.3 0-64 28.7-64 64V320c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H160zM396 138.7l96 144c4.9 7.4 5.4 16.8 1.2 24.6S480.9 320 472 320H328 280 200c-9.2 0-17.6-5.3-21.6-13.6s-2.9-18.2 2.9-25.4l64-80c4.6-5.7 11.4-9 18.7-9s14.2 3.3 18.7 9l17.3 21.6 56-84C360.5 132 368 128 376 128s15.5 4 20 10.7zM256 128c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zM48 120c0-13.3-10.7-24-24-24S0 106.7 0 120V344c0 75.1 60.9 136 136 136H456c13.3 0 24-10.7 24-24s-10.7-24-24-24H136c-48.6 0-88-39.4-88-88V120z"]
  114864. };
  114865. var faCalculator = {
  114866. prefix: 'fas',
  114867. iconName: 'calculator',
  114868. icon: [384, 512, [128425], "f1ec", "M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H64zM96 64H288c17.7 0 32 14.3 32 32v32c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32zM64 224c0-17.7 14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32s-32-14.3-32-32zm32 64c17.7 0 32 14.3 32 32s-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32zM64 416c0-17.7 14.3-32 32-32h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H96c-17.7 0-32-14.3-32-32zM192 192c17.7 0 32 14.3 32 32s-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32zM160 320c0-17.7 14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32s-32-14.3-32-32zM288 192c17.7 0 32 14.3 32 32s-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32zM256 320c0-17.7 14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32s-32-14.3-32-32zm32 64c17.7 0 32 14.3 32 32s-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32z"]
  114869. };
  114870. var faPeoplePulling = {
  114871. prefix: 'fas',
  114872. iconName: 'people-pulling',
  114873. icon: [576, 512, [], "e535", "M80 96c26.5 0 48-21.5 48-48s-21.5-48-48-48S32 21.5 32 48s21.5 48 48 48zM64 128c-35.3 0-64 28.7-64 64V320c0 17.7 14.3 32 32 32c9.8 0 18.5-4.4 24.4-11.2L80.4 485.3c2.9 17.4 19.4 29.2 36.8 26.3s29.2-19.4 26.3-36.8L123.1 352h15.7l30 134.9c3.8 17.3 20.9 28.1 38.2 24.3s28.1-20.9 24.3-38.2l-57.3-258 116.3 53.8c.5 .3 1.1 .5 1.6 .7c8.6 3.6 18 3.1 25.9-.7c3.4-1.6 6.6-3.9 9.3-6.7c3.1-3.2 5.5-7 7.1-11.4c.1-.3 .2-.7 .3-1l2.5-7.5c5.7-17.1 18.3-30.9 34.7-38.2l8-3.5c1-.4 1.9-.8 2.9-1.2l-16.9 63.5c-5.6 21.1-.1 43.6 14.7 59.7l70.7 77.1 22 88.1c4.3 17.1 21.7 27.6 38.8 23.3s27.6-21.7 23.3-38.8l-23-92.1c-1.9-7.8-5.8-14.9-11.2-20.8l-49.5-54 19.3-65.5 9.6 23c4.4 10.6 12.5 19.3 22.8 24.5l26.7 13.3c15.8 7.9 35 1.5 42.9-14.3s1.5-35-14.3-42.9L537 232.7l-15.3-36.8C504.5 154.8 464.3 128 419.7 128c-22.8 0-45.3 4.8-66.1 14l-8 3.5c-24.4 10.9-44.6 29-58.1 51.6L157.3 136.9C144.7 131 130.9 128 117 128H64zM464 96c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zM349.7 335.6l-25 62.4-59.4 59.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L372.3 441c4.6-4.6 8.2-10.1 10.6-16.1l14.5-36.2-40.7-44.4c-2.5-2.7-4.8-5.6-7-8.6z"]
  114874. };
  114875. var faN = {
  114876. prefix: 'fas',
  114877. iconName: 'n',
  114878. icon: [384, 512, [110], "4e", "M0 448c0 17.7 14.3 32 32 32s32-14.3 32-32H0zM32 64L56.6 43.5C48 33.2 33.8 29.3 21.1 33.9S0 50.5 0 64l32 0zM352 448l-24.6 20.5c8.6 10.3 22.8 14.2 35.5 9.6s21.1-16.6 21.1-30.1H352zM384 64c0-17.7-14.3-32-32-32s-32 14.3-32 32h64zM64 448V64H0V448H64zM7.4 84.5l320 384 49.2-41-320-384L7.4 84.5zM384 448V64H320V448h64z"]
  114879. };
  114880. var faCableCar = {
  114881. prefix: 'fas',
  114882. iconName: 'cable-car',
  114883. icon: [512, 512, [128673, 57551, "tram"], "f7da", "M288 64c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zm-64-8c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zM32 288c0-35.3 28.7-64 64-64H232V157.5l-203.1 42c-13 2.7-25.7-5.7-28.4-18.6s5.7-25.7 18.6-28.4l232-48 232-48c13-2.7 25.7 5.7 28.4 18.6s-5.7 25.7-18.6 28.4L280 147.5V224H416c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H96c-35.3 0-64-28.7-64-64V288zm64 0c-8.8 0-16 7.2-16 16v64c0 8.8 7.2 16 16 16h64c8.8 0 16-7.2 16-16V304c0-8.8-7.2-16-16-16H96zm112 16v64c0 8.8 7.2 16 16 16h64c8.8 0 16-7.2 16-16V304c0-8.8-7.2-16-16-16H224c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16v64c0 8.8 7.2 16 16 16h64c8.8 0 16-7.2 16-16V304c0-8.8-7.2-16-16-16H352z"]
  114884. };
  114885. var faTram = faCableCar;
  114886. var faCloudRain = {
  114887. prefix: 'fas',
  114888. iconName: 'cloud-rain',
  114889. icon: [512, 512, [127783, 9926], "f73d", "M96 320c-53 0-96-43-96-96c0-42.5 27.6-78.6 65.9-91.2C64.7 126.1 64 119.1 64 112C64 50.1 114.1 0 176 0c43.1 0 80.5 24.3 99.2 60c14.7-17.1 36.5-28 60.8-28c44.2 0 80 35.8 80 80c0 5.5-.6 10.8-1.6 16c.5 0 1.1 0 1.6 0c53 0 96 43 96 96s-43 96-96 96H96zm-6.8 52c1.3-2.5 3.9-4 6.8-4s5.4 1.5 6.8 4l35.1 64.6c4.1 7.5 6.2 15.8 6.2 24.3v3c0 26.5-21.5 48-48 48s-48-21.5-48-48v-3c0-8.5 2.1-16.9 6.2-24.3L89.2 372zm160 0c1.3-2.5 3.9-4 6.8-4s5.4 1.5 6.8 4l35.1 64.6c4.1 7.5 6.2 15.8 6.2 24.3v3c0 26.5-21.5 48-48 48s-48-21.5-48-48v-3c0-8.5 2.1-16.9 6.2-24.3L249.2 372zm124.9 64.6L409.2 372c1.3-2.5 3.9-4 6.8-4s5.4 1.5 6.8 4l35.1 64.6c4.1 7.5 6.2 15.8 6.2 24.3v3c0 26.5-21.5 48-48 48s-48-21.5-48-48v-3c0-8.5 2.1-16.9 6.2-24.3z"]
  114890. };
  114891. var faBuildingCircleXmark = {
  114892. prefix: 'fas',
  114893. iconName: 'building-circle-xmark',
  114894. icon: [640, 512, [], "e4d4", "M48 0C21.5 0 0 21.5 0 48V464c0 26.5 21.5 48 48 48h96V432c0-26.5 21.5-48 48-48s48 21.5 48 48v80h96c15.1 0 28.5-6.9 37.3-17.8C340.4 462.2 320 417.5 320 368c0-54.7 24.9-103.5 64-135.8V48c0-26.5-21.5-48-48-48H48zM64 240c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V240zm112-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V240c0-8.8 7.2-16 16-16zm80 16c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H272c-8.8 0-16-7.2-16-16V240zM80 96h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16zm80 16c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V112zM272 96h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H272c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16zM496 512c79.5 0 144-64.5 144-144s-64.5-144-144-144s-144 64.5-144 144s64.5 144 144 144zm59.3-180.7L518.6 368l36.7 36.7c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L496 390.6l-36.7 36.7c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6L473.4 368l-36.7-36.7c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L496 345.4l36.7-36.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6z"]
  114895. };
  114896. var faShip = {
  114897. prefix: 'fas',
  114898. iconName: 'ship',
  114899. icon: [576, 512, [128674], "f21a", "M192 32c0-17.7 14.3-32 32-32H352c17.7 0 32 14.3 32 32V64h48c26.5 0 48 21.5 48 48V240l44.4 14.8c23.1 7.7 29.5 37.5 11.5 53.9l-101 92.6c-16.2 9.4-34.7 15.1-50.9 15.1c-19.6 0-40.8-7.7-59.2-20.3c-22.1-15.5-51.6-15.5-73.7 0c-17.1 11.8-38 20.3-59.2 20.3c-16.2 0-34.7-5.7-50.9-15.1l-101-92.6c-18-16.5-11.6-46.2 11.5-53.9L96 240V112c0-26.5 21.5-48 48-48h48V32zM160 218.7l107.8-35.9c13.1-4.4 27.3-4.4 40.5 0L416 218.7V128H160v90.7zM306.5 421.9C329 437.4 356.5 448 384 448c26.9 0 55.4-10.8 77.4-26.1l0 0c11.9-8.5 28.1-7.8 39.2 1.7c14.4 11.9 32.5 21 50.6 25.2c17.2 4 27.9 21.2 23.9 38.4s-21.2 27.9-38.4 23.9c-24.5-5.7-44.9-16.5-58.2-25C449.5 501.7 417 512 384 512c-31.9 0-60.6-9.9-80.4-18.9c-5.8-2.7-11.1-5.3-15.6-7.7c-4.5 2.4-9.7 5.1-15.6 7.7c-19.8 9-48.5 18.9-80.4 18.9c-33 0-65.5-10.3-94.5-25.8c-13.4 8.4-33.7 19.3-58.2 25c-17.2 4-34.4-6.7-38.4-23.9s6.7-34.4 23.9-38.4c18.1-4.2 36.2-13.3 50.6-25.2c11.1-9.4 27.3-10.1 39.2-1.7l0 0C136.7 437.2 165.1 448 192 448c27.5 0 55-10.6 77.5-26.1c11.1-7.9 25.9-7.9 37 0z"]
  114900. };
  114901. var faArrowsDownToLine = {
  114902. prefix: 'fas',
  114903. iconName: 'arrows-down-to-line',
  114904. icon: [640, 512, [], "e4b8", "M576 416L64 416c-17.7 0-32 14.3-32 32s14.3 32 32 32l512 0c17.7 0 32-14.3 32-32s-14.3-32-32-32zm22.6-137.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L512 274.7 512 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 210.7-41.4-41.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0l96-96zm-320-45.3c-12.5-12.5-32.8-12.5-45.3 0L192 274.7 192 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 210.7L86.6 233.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3z"]
  114905. };
  114906. var faDownload = {
  114907. prefix: 'fas',
  114908. iconName: 'download',
  114909. icon: [512, 512, [], "f019", "M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V274.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V416c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352H64zM432 456c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24z"]
  114910. };
  114911. var faFaceGrin = {
  114912. prefix: 'fas',
  114913. iconName: 'face-grin',
  114914. icon: [512, 512, [128512, "grin"], "f580", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM388.1 312.8c12.3-3.8 24.3 6.9 19.3 18.7C382.4 390.6 324.2 432 256.3 432s-126.2-41.4-151.1-100.5c-5-11.8 7-22.5 19.3-18.7c39.7 12.2 84.5 19 131.8 19s92.1-6.8 131.8-19zM208.4 208c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zm128 32c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]
  114915. };
  114916. var faGrin = faFaceGrin;
  114917. var faDeleteLeft = {
  114918. prefix: 'fas',
  114919. iconName: 'delete-left',
  114920. icon: [576, 512, [9003, "backspace"], "f55a", "M576 128c0-35.3-28.7-64-64-64H205.3c-17 0-33.3 6.7-45.3 18.7L9.4 233.4c-6 6-9.4 14.1-9.4 22.6s3.4 16.6 9.4 22.6L160 429.3c12 12 28.3 18.7 45.3 18.7H512c35.3 0 64-28.7 64-64V128zM271 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z"]
  114921. };
  114922. var faBackspace = faDeleteLeft;
  114923. var faEyeDropper = {
  114924. prefix: 'fas',
  114925. iconName: 'eye-dropper',
  114926. icon: [512, 512, ["eye-dropper-empty", "eyedropper"], "f1fb", "M341.6 29.2L240.1 130.8l-9.4-9.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-9.4-9.4L482.8 170.4c39-39 39-102.2 0-141.1s-102.2-39-141.1 0zM55.4 323.3c-15 15-23.4 35.4-23.4 56.6v42.4L5.4 462.2c-8.5 12.7-6.8 29.6 4 40.4s27.7 12.5 40.4 4L89.7 480h42.4c21.2 0 41.6-8.4 56.6-23.4L309.4 335.9l-45.3-45.3L143.4 411.3c-3 3-7.1 4.7-11.3 4.7H96V379.9c0-4.2 1.7-8.3 4.7-11.3L221.4 247.9l-45.3-45.3L55.4 323.3z"]
  114927. };
  114928. var faEyeDropperEmpty = faEyeDropper;
  114929. var faEyedropper = faEyeDropper;
  114930. var faFileCircleCheck = {
  114931. prefix: 'fas',
  114932. iconName: 'file-circle-check',
  114933. icon: [576, 512, [], "e5a0", "M0 64C0 28.7 28.7 0 64 0H224V128c0 17.7 14.3 32 32 32H384v38.6C310.1 219.5 256 287.4 256 368c0 59.1 29.1 111.3 73.7 143.3c-3.2 .5-6.4 .7-9.7 .7H64c-35.3 0-64-28.7-64-64V64zm384 64H256V0L384 128zM576 368c0 79.5-64.5 144-144 144s-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144zm-76.7-43.3c-6.2-6.2-16.4-6.2-22.6 0L416 385.4l-28.7-28.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l40 40c6.2 6.2 16.4 6.2 22.6 0l72-72c6.2-6.2 6.2-16.4 0-22.6z"]
  114934. };
  114935. var faForward = {
  114936. prefix: 'fas',
  114937. iconName: 'forward',
  114938. icon: [512, 512, [9193], "f04e", "M52.5 440.6c-9.5 7.9-22.8 9.7-34.1 4.4S0 428.4 0 416V96C0 83.6 7.2 72.3 18.4 67s24.5-3.6 34.1 4.4L224 214.3V256v41.7L52.5 440.6zM256 352V256 128 96c0-12.4 7.2-23.7 18.4-29s24.5-3.6 34.1 4.4l192 160c7.3 6.1 11.5 15.1 11.5 24.6s-4.2 18.5-11.5 24.6l-192 160c-9.5 7.9-22.8 9.7-34.1 4.4s-18.4-16.6-18.4-29V352z"]
  114939. };
  114940. var faMobile = {
  114941. prefix: 'fas',
  114942. iconName: 'mobile',
  114943. icon: [384, 512, [128241, "mobile-android", "mobile-phone"], "f3ce", "M80 0C44.7 0 16 28.7 16 64V448c0 35.3 28.7 64 64 64H304c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H80zm80 432h64c8.8 0 16 7.2 16 16s-7.2 16-16 16H160c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]
  114944. };
  114945. var faMobileAndroid = faMobile;
  114946. var faMobilePhone = faMobile;
  114947. var faFaceMeh = {
  114948. prefix: 'fas',
  114949. iconName: 'face-meh',
  114950. icon: [512, 512, [128528, "meh"], "f11a", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM176.4 240c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zm192-32c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zM160 336H352c8.8 0 16 7.2 16 16s-7.2 16-16 16H160c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]
  114951. };
  114952. var faMeh = faFaceMeh;
  114953. var faAlignCenter = {
  114954. prefix: 'fas',
  114955. iconName: 'align-center',
  114956. icon: [448, 512, [], "f037", "M352 64c0-17.7-14.3-32-32-32H128c-17.7 0-32 14.3-32 32s14.3 32 32 32H320c17.7 0 32-14.3 32-32zm96 128c0-17.7-14.3-32-32-32H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H416c17.7 0 32-14.3 32-32zM0 448c0 17.7 14.3 32 32 32H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H32c-17.7 0-32 14.3-32 32zM352 320c0-17.7-14.3-32-32-32H128c-17.7 0-32 14.3-32 32s14.3 32 32 32H320c17.7 0 32-14.3 32-32z"]
  114957. };
  114958. var faBookSkull = {
  114959. prefix: 'fas',
  114960. iconName: 'book-skull',
  114961. icon: [448, 512, ["book-dead"], "f6b7", "M0 96C0 43 43 0 96 0H384h32c17.7 0 32 14.3 32 32V352c0 17.7-14.3 32-32 32v64c17.7 0 32 14.3 32 32s-14.3 32-32 32H384 96c-53 0-96-43-96-96V96zM64 416c0 17.7 14.3 32 32 32H352V384H96c-17.7 0-32 14.3-32 32zM320 112c0-35.3-35.8-64-80-64s-80 28.7-80 64c0 20.9 12.6 39.5 32 51.2V176c0 8.8 7.2 16 16 16h64c8.8 0 16-7.2 16-16V163.2c19.4-11.7 32-30.3 32-51.2zM208 128c-8.8 0-16-7.2-16-16s7.2-16 16-16s16 7.2 16 16s-7.2 16-16 16zm80-16c0 8.8-7.2 16-16 16s-16-7.2-16-16s7.2-16 16-16s16 7.2 16 16zM134.3 209.3c-8.1-3.5-17.5 .3-21 8.4s.3 17.5 8.4 21L199.4 272l-77.7 33.3c-8.1 3.5-11.9 12.9-8.4 21s12.9 11.9 21 8.4L240 289.4l105.7 45.3c8.1 3.5 17.5-.3 21-8.4s-.3-17.5-8.4-21L280.6 272l77.7-33.3c8.1-3.5 11.9-12.9 8.4-21s-12.9-11.9-21-8.4L240 254.6 134.3 209.3z"]
  114962. };
  114963. var faBookDead = faBookSkull;
  114964. var faIdCard = {
  114965. prefix: 'fas',
  114966. iconName: 'id-card',
  114967. icon: [576, 512, [62147, "drivers-license"], "f2c2", "M0 96l576 0c0-35.3-28.7-64-64-64H64C28.7 32 0 60.7 0 96zm0 32V416c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V128H0zM64 405.3c0-29.5 23.9-53.3 53.3-53.3H234.7c29.5 0 53.3 23.9 53.3 53.3c0 5.9-4.8 10.7-10.7 10.7H74.7c-5.9 0-10.7-4.8-10.7-10.7zM176 320c-35.3 0-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64s-28.7 64-64 64zM352 208c0-8.8 7.2-16 16-16H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H368c-8.8 0-16-7.2-16-16zm0 64c0-8.8 7.2-16 16-16H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H368c-8.8 0-16-7.2-16-16zm0 64c0-8.8 7.2-16 16-16H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H368c-8.8 0-16-7.2-16-16z"]
  114968. };
  114969. var faDriversLicense = faIdCard;
  114970. var faOutdent = {
  114971. prefix: 'fas',
  114972. iconName: 'outdent',
  114973. icon: [512, 512, ["dedent"], "f03b", "M32 64c0-17.7 14.3-32 32-32H448c17.7 0 32 14.3 32 32s-14.3 32-32 32H64C46.3 96 32 81.7 32 64zM224 192c0-17.7 14.3-32 32-32H448c17.7 0 32 14.3 32 32s-14.3 32-32 32H256c-17.7 0-32-14.3-32-32zm32 96H448c17.7 0 32 14.3 32 32s-14.3 32-32 32H256c-17.7 0-32-14.3-32-32s14.3-32 32-32zM32 448c0-17.7 14.3-32 32-32H448c17.7 0 32 14.3 32 32s-14.3 32-32 32H64c-17.7 0-32-14.3-32-32zm.2-179.4c-8.2-6.4-8.2-18.9 0-25.3l101.9-79.3c10.5-8.2 25.8-.7 25.8 12.6V335.3c0 13.3-15.3 20.8-25.8 12.6L32.2 268.6z"]
  114974. };
  114975. var faDedent = faOutdent;
  114976. var faHeartCircleExclamation = {
  114977. prefix: 'fas',
  114978. iconName: 'heart-circle-exclamation',
  114979. icon: [576, 512, [], "e4fe", "M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9l2.6-2.4C267.2 438.6 256 404.6 256 368c0-97.2 78.8-176 176-176c28.3 0 55 6.7 78.7 18.5c.9-6.5 1.3-13 1.3-19.6v-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1v5.8c0 41.5 17.2 81.2 47.6 109.5zM432 512c79.5 0 144-64.5 144-144s-64.5-144-144-144s-144 64.5-144 144s64.5 144 144 144zm0-48c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm0-192c8.8 0 16 7.2 16 16v80c0 8.8-7.2 16-16 16s-16-7.2-16-16V288c0-8.8 7.2-16 16-16z"]
  114980. };
  114981. var faHouse = {
  114982. prefix: 'fas',
  114983. iconName: 'house',
  114984. icon: [576, 512, [127968, 63498, 63500, "home", "home-alt", "home-lg-alt"], "f015", "M575.8 255.5c0 18-15 32.1-32 32.1h-32l.7 160.2c0 2.7-.2 5.4-.5 8.1V472c0 22.1-17.9 40-40 40H456c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1H416 392c-22.1 0-40-17.9-40-40V448 384c0-17.7-14.3-32-32-32H256c-17.7 0-32 14.3-32 32v64 24c0 22.1-17.9 40-40 40H160 128.1c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2H104c-22.1 0-40-17.9-40-40V360c0-.9 0-1.9 .1-2.8V287.6H32c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L564.8 231.5c8 7 12 15 11 24z"]
  114985. };
  114986. var faHome = faHouse;
  114987. var faHomeAlt = faHouse;
  114988. var faHomeLgAlt = faHouse;
  114989. var faCalendarWeek = {
  114990. prefix: 'fas',
  114991. iconName: 'calendar-week',
  114992. icon: [448, 512, [], "f784", "M128 0c17.7 0 32 14.3 32 32V64H288V32c0-17.7 14.3-32 32-32s32 14.3 32 32V64h48c26.5 0 48 21.5 48 48v48H0V112C0 85.5 21.5 64 48 64H96V32c0-17.7 14.3-32 32-32zM0 192H448V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V192zm80 64c-8.8 0-16 7.2-16 16v64c0 8.8 7.2 16 16 16H368c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16H80z"]
  114993. };
  114994. var faLaptopMedical = {
  114995. prefix: 'fas',
  114996. iconName: 'laptop-medical',
  114997. icon: [640, 512, [], "f812", "M64 96c0-35.3 28.7-64 64-64H512c35.3 0 64 28.7 64 64V352H512V96H128V352H64V96zM0 403.2C0 392.6 8.6 384 19.2 384H620.8c10.6 0 19.2 8.6 19.2 19.2c0 42.4-34.4 76.8-76.8 76.8H76.8C34.4 480 0 445.6 0 403.2zM288 160c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v48h48c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H352v48c0 8.8-7.2 16-16 16H304c-8.8 0-16-7.2-16-16V272H240c-8.8 0-16-7.2-16-16V224c0-8.8 7.2-16 16-16h48V160z"]
  114998. };
  114999. var faB = {
  115000. prefix: 'fas',
  115001. iconName: 'b',
  115002. icon: [320, 512, [98], "42", "M32 32C14.3 32 0 46.3 0 64V256 448c0 17.7 14.3 32 32 32H192c70.7 0 128-57.3 128-128c0-46.5-24.8-87.3-62-109.7c18.7-22.3 30-51 30-82.3c0-70.7-57.3-128-128-128H32zM160 224H64V96h96c35.3 0 64 28.7 64 64s-28.7 64-64 64zM64 288h96 32c35.3 0 64 28.7 64 64s-28.7 64-64 64H64V288z"]
  115003. };
  115004. var faFileMedical = {
  115005. prefix: 'fas',
  115006. iconName: 'file-medical',
  115007. icon: [384, 512, [], "f477", "M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM160 240c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v48h48c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H224v48c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V352H112c-8.8 0-16-7.2-16-16V304c0-8.8 7.2-16 16-16h48V240z"]
  115008. };
  115009. var faDiceOne = {
  115010. prefix: 'fas',
  115011. iconName: 'dice-one',
  115012. icon: [448, 512, [9856], "f525", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM224 288c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]
  115013. };
  115014. var faKiwiBird = {
  115015. prefix: 'fas',
  115016. iconName: 'kiwi-bird',
  115017. icon: [576, 512, [], "f535", "M291.2 388.4c31.2-18.8 64.7-36.4 101.1-36.4H448c4.6 0 9.1-.2 13.6-.7l85.3 121.9c4 5.7 11.3 8.2 17.9 6.1s11.2-8.3 11.2-15.3V224c0-70.7-57.3-128-128-128H392.3c-36.4 0-69.9-17.6-101.1-36.4C262.3 42.1 228.3 32 192 32C86 32 0 118 0 224c0 71.1 38.6 133.1 96 166.3V456c0 13.3 10.7 24 24 24s24-10.7 24-24V410c15.3 3.9 31.4 6 48 6c5.4 0 10.7-.2 16-.7V456c0 13.3 10.7 24 24 24s24-10.7 24-24V405.1c12.4-4.4 24.2-10 35.2-16.7zM448 248c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24z"]
  115018. };
  115019. var faArrowRightArrowLeft = {
  115020. prefix: 'fas',
  115021. iconName: 'arrow-right-arrow-left',
  115022. icon: [576, 512, [8644, "exchange"], "f0ec", "M422.6 278.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L434.7 176H64c-17.7 0-32-14.3-32-32s14.3-32 32-32H434.7L377.4 54.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l112 112c12.5 12.5 12.5 32.8 0 45.3l-112 112zm-269.3 224l-112-112c-12.5-12.5-12.5-32.8 0-45.3l112-112c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3L141.3 336H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H141.3l57.4 57.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0z"]
  115023. };
  115024. var faExchange = faArrowRightArrowLeft;
  115025. var faRotateRight = {
  115026. prefix: 'fas',
  115027. iconName: 'rotate-right',
  115028. icon: [512, 512, ["redo-alt", "rotate-forward"], "f2f9", "M463.5 224H472c13.3 0 24-10.7 24-24V72c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2L413.4 96.6c-87.6-86.5-228.7-86.2-315.8 1c-87.5 87.5-87.5 229.3 0 316.8s229.3 87.5 316.8 0c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0c-62.5 62.5-163.8 62.5-226.3 0s-62.5-163.8 0-226.3c62.2-62.2 162.7-62.5 225.3-1L327 183c-6.9 6.9-8.9 17.2-5.2 26.2s12.5 14.8 22.2 14.8H463.5z"]
  115029. };
  115030. var faRedoAlt = faRotateRight;
  115031. var faRotateForward = faRotateRight;
  115032. var faUtensils = {
  115033. prefix: 'fas',
  115034. iconName: 'utensils',
  115035. icon: [448, 512, [127860, 61685, "cutlery"], "f2e7", "M416 0C400 0 288 32 288 176V288c0 35.3 28.7 64 64 64h32V480c0 17.7 14.3 32 32 32s32-14.3 32-32V352 240 32c0-17.7-14.3-32-32-32zM64 16C64 7.8 57.9 1 49.7 .1S34.2 4.6 32.4 12.5L2.1 148.8C.7 155.1 0 161.5 0 167.9c0 45.9 35.1 83.6 80 87.7V480c0 17.7 14.3 32 32 32s32-14.3 32-32V255.6c44.9-4.1 80-41.8 80-87.7c0-6.4-.7-12.8-2.1-19.1L191.6 12.5c-1.8-8-9.3-13.3-17.4-12.4S160 7.8 160 16V150.2c0 5.4-4.4 9.8-9.8 9.8c-5.1 0-9.3-3.9-9.8-9L127.9 14.6C127.2 6.3 120.3 0 112 0s-15.2 6.3-15.9 14.6L83.7 151c-.5 5.1-4.7 9-9.8 9c-5.4 0-9.8-4.4-9.8-9.8V16zm48.3 152l-.3 0-.3 0 .3-.7 .3 .7z"]
  115036. };
  115037. var faCutlery = faUtensils;
  115038. var faArrowUpWideShort = {
  115039. prefix: 'fas',
  115040. iconName: 'arrow-up-wide-short',
  115041. icon: [576, 512, ["sort-amount-up"], "f161", "M151.6 42.4C145.5 35.8 137 32 128 32s-17.5 3.8-23.6 10.4l-88 96c-11.9 13-11.1 33.3 2 45.2s33.3 11.1 45.2-2L96 146.3V448c0 17.7 14.3 32 32 32s32-14.3 32-32V146.3l32.4 35.4c11.9 13 32.2 13.9 45.2 2s13.9-32.2 2-45.2l-88-96zM320 480h32c17.7 0 32-14.3 32-32s-14.3-32-32-32H320c-17.7 0-32 14.3-32 32s14.3 32 32 32zm0-128h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H320c-17.7 0-32 14.3-32 32s14.3 32 32 32zm0-128H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H320c-17.7 0-32 14.3-32 32s14.3 32 32 32zm0-128H544c17.7 0 32-14.3 32-32s-14.3-32-32-32H320c-17.7 0-32 14.3-32 32s14.3 32 32 32z"]
  115042. };
  115043. var faSortAmountUp = faArrowUpWideShort;
  115044. var faMillSign = {
  115045. prefix: 'fas',
  115046. iconName: 'mill-sign',
  115047. icon: [384, 512, [], "e1ed", "M302.1 42.8c5.9-16.6-2.7-35-19.4-40.9s-35 2.7-40.9 19.4L208 116.1c-5.7 4-11.1 8.5-16 13.5C171.7 108.9 143.3 96 112 96c-19.5 0-37.8 5-53.7 13.7C52.5 101.4 42.9 96 32 96C14.3 96 0 110.3 0 128v80V416c0 17.7 14.3 32 32 32s32-14.3 32-32V208c0-26.5 21.5-48 48-48s48 21.5 48 48v42.5L81.9 469.2c-5.9 16.6 2.7 35 19.4 40.9s35-2.7 40.9-19.4l21.4-60C168.9 441 179.6 448 192 448c17.7 0 32-14.3 32-32V261.5l35.7-100c3.9-1 8.1-1.6 12.3-1.6c26.5 0 48 21.5 48 48V416c0 17.7 14.3 32 32 32s32-14.3 32-32V208c0-58.2-44.3-106-101.1-111.5l19.2-53.8z"]
  115048. };
  115049. var faBowlRice = {
  115050. prefix: 'fas',
  115051. iconName: 'bowl-rice',
  115052. icon: [512, 512, [], "e2eb", "M176 56c0-13.3 10.7-24 24-24h16c13.3 0 24 10.7 24 24s-10.7 24-24 24H200c-13.3 0-24-10.7-24-24zm24 48h16c13.3 0 24 10.7 24 24s-10.7 24-24 24H200c-13.3 0-24-10.7-24-24s10.7-24 24-24zM56 176H72c13.3 0 24 10.7 24 24s-10.7 24-24 24H56c-13.3 0-24-10.7-24-24s10.7-24 24-24zM0 283.4C0 268.3 12.3 256 27.4 256H484.6c15.1 0 27.4 12.3 27.4 27.4c0 70.5-44.4 130.7-106.7 154.1L403.5 452c-2 16-15.6 28-31.8 28H140.2c-16.1 0-29.8-12-31.8-28l-1.8-14.4C44.4 414.1 0 353.9 0 283.4zM224 200c0-13.3 10.7-24 24-24h16c13.3 0 24 10.7 24 24s-10.7 24-24 24H248c-13.3 0-24-10.7-24-24zm-96 0c0-13.3 10.7-24 24-24h16c13.3 0 24 10.7 24 24s-10.7 24-24 24H152c-13.3 0-24-10.7-24-24zm-24-96h16c13.3 0 24 10.7 24 24s-10.7 24-24 24H104c-13.3 0-24-10.7-24-24s10.7-24 24-24zm216 96c0-13.3 10.7-24 24-24h16c13.3 0 24 10.7 24 24s-10.7 24-24 24H344c-13.3 0-24-10.7-24-24zm-24-96h16c13.3 0 24 10.7 24 24s-10.7 24-24 24H296c-13.3 0-24-10.7-24-24s10.7-24 24-24zm120 96c0-13.3 10.7-24 24-24h16c13.3 0 24 10.7 24 24s-10.7 24-24 24H440c-13.3 0-24-10.7-24-24zm-24-96h16c13.3 0 24 10.7 24 24s-10.7 24-24 24H392c-13.3 0-24-10.7-24-24s10.7-24 24-24zM296 32h16c13.3 0 24 10.7 24 24s-10.7 24-24 24H296c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]
  115053. };
  115054. var faSkull = {
  115055. prefix: 'fas',
  115056. iconName: 'skull',
  115057. icon: [512, 512, [128128], "f54c", "M416 398.9c58.5-41.1 96-104.1 96-174.9C512 100.3 397.4 0 256 0S0 100.3 0 224c0 70.7 37.5 133.8 96 174.9c0 .4 0 .7 0 1.1v64c0 26.5 21.5 48 48 48h48V464c0-8.8 7.2-16 16-16s16 7.2 16 16v48h64V464c0-8.8 7.2-16 16-16s16 7.2 16 16v48h48c26.5 0 48-21.5 48-48V400c0-.4 0-.7 0-1.1zM224 256c0 35.3-28.7 64-64 64s-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64zm128 64c-35.3 0-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64s-28.7 64-64 64z"]
  115058. };
  115059. var faTowerBroadcast = {
  115060. prefix: 'fas',
  115061. iconName: 'tower-broadcast',
  115062. icon: [576, 512, ["broadcast-tower"], "f519", "M80.3 44C69.8 69.9 64 98.2 64 128s5.8 58.1 16.3 84c6.6 16.4-1.3 35-17.7 41.7s-35-1.3-41.7-17.7C7.4 202.6 0 166.1 0 128S7.4 53.4 20.9 20C27.6 3.6 46.2-4.3 62.6 2.3S86.9 27.6 80.3 44zM555.1 20C568.6 53.4 576 89.9 576 128s-7.4 74.6-20.9 108c-6.6 16.4-25.3 24.3-41.7 17.7S489.1 228.4 495.7 212c10.5-25.9 16.3-54.2 16.3-84s-5.8-58.1-16.3-84C489.1 27.6 497 9 513.4 2.3s35 1.3 41.7 17.7zM352 128c0 23.7-12.9 44.4-32 55.4V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V183.4c-19.1-11.1-32-31.7-32-55.4c0-35.3 28.7-64 64-64s64 28.7 64 64zM170.6 76.8C163.8 92.4 160 109.7 160 128s3.8 35.6 10.6 51.2c7.1 16.2-.3 35.1-16.5 42.1s-35.1-.3-42.1-16.5c-10.3-23.6-16-49.6-16-76.8s5.7-53.2 16-76.8c7.1-16.2 25.9-23.6 42.1-16.5s23.6 25.9 16.5 42.1zM464 51.2c10.3 23.6 16 49.6 16 76.8s-5.7 53.2-16 76.8c-7.1 16.2-25.9 23.6-42.1 16.5s-23.6-25.9-16.5-42.1c6.8-15.6 10.6-32.9 10.6-51.2s-3.8-35.6-10.6-51.2c-7.1-16.2 .3-35.1 16.5-42.1s35.1 .3 42.1 16.5z"]
  115063. };
  115064. var faBroadcastTower = faTowerBroadcast;
  115065. var faTruckPickup = {
  115066. prefix: 'fas',
  115067. iconName: 'truck-pickup',
  115068. icon: [640, 512, [128763], "f63c", "M368.6 96l76.8 96H288V96h80.6zM224 80V192H64c-17.7 0-32 14.3-32 32v64c-17.7 0-32 14.3-32 32s14.3 32 32 32H65.1c-.7 5.2-1.1 10.6-1.1 16c0 61.9 50.1 112 112 112s112-50.1 112-112c0-5.4-.4-10.8-1.1-16h66.3c-.7 5.2-1.1 10.6-1.1 16c0 61.9 50.1 112 112 112s112-50.1 112-112c0-5.4-.4-10.8-1.1-16H608c17.7 0 32-14.3 32-32s-14.3-32-32-32V224c0-17.7-14.3-32-32-32H527.4L418.6 56c-12.1-15.2-30.5-24-50-24H272c-26.5 0-48 21.5-48 48zM128 368c0-26.5 21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48s-48-21.5-48-48zm288 0c0-26.5 21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48s-48-21.5-48-48z"]
  115069. };
  115070. var faUpLong = {
  115071. prefix: 'fas',
  115072. iconName: 'up-long',
  115073. icon: [320, 512, ["long-arrow-alt-up"], "f30c", "M318 177.5c3.8-8.8 2-19-4.6-26l-136-144C172.9 2.7 166.6 0 160 0s-12.9 2.7-17.4 7.5l-136 144c-6.6 7-8.4 17.2-4.6 26S14.4 192 24 192h88l0 288c0 17.7 14.3 32 32 32h32c17.7 0 32-14.3 32-32l0-288h88c9.6 0 18.2-5.7 22-14.5z"]
  115074. };
  115075. var faLongArrowAltUp = faUpLong;
  115076. var faStop = {
  115077. prefix: 'fas',
  115078. iconName: 'stop',
  115079. icon: [384, 512, [9209], "f04d", "M0 128C0 92.7 28.7 64 64 64H320c35.3 0 64 28.7 64 64V384c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128z"]
  115080. };
  115081. var faCodeMerge = {
  115082. prefix: 'fas',
  115083. iconName: 'code-merge',
  115084. icon: [448, 512, [], "f387", "M80 104c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm32.4 49.2c28-12.4 47.6-40.5 47.6-73.2c0-44.2-35.8-80-80-80S0 35.8 0 80c0 32.8 19.7 61 48 73.3V358.7C19.7 371 0 399.2 0 432c0 44.2 35.8 80 80 80s80-35.8 80-80c0-32.8-19.7-61-48-73.3V272c26.7 20.1 60 32 96 32h86.7c12.3 28.3 40.5 48 73.3 48c44.2 0 80-35.8 80-80s-35.8-80-80-80c-32.8 0-61 19.7-73.3 48H208c-49.9 0-91-38.1-95.6-86.8zM80 456c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zM392 272c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24z"]
  115085. };
  115086. var faUpload = {
  115087. prefix: 'fas',
  115088. iconName: 'upload',
  115089. icon: [512, 512, [], "f093", "M288 109.3V352c0 17.7-14.3 32-32 32s-32-14.3-32-32V109.3l-73.4 73.4c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l128-128c12.5-12.5 32.8-12.5 45.3 0l128 128c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L288 109.3zM64 352H192c0 35.3 28.7 64 64 64s64-28.7 64-64H448c35.3 0 64 28.7 64 64v32c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V416c0-35.3 28.7-64 64-64zM432 456c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24z"]
  115090. };
  115091. var faHurricane = {
  115092. prefix: 'fas',
  115093. iconName: 'hurricane',
  115094. icon: [384, 512, [], "f751", "M0 208C0 104.4 75.7 18.5 174.9 2.6C184 1.2 192 8.6 192 17.9V81.2c0 8.4 6.5 15.3 14.7 16.5C307 112.5 384 199 384 303.4c0 103.6-75.7 189.5-174.9 205.4c-9.2 1.5-17.1-5.9-17.1-15.2V430.2c0-8.4-6.5-15.3-14.7-16.5C77 398.9 0 312.4 0 208zm288 48c0-53-43-96-96-96s-96 43-96 96s43 96 96 96s96-43 96-96zm-96 32c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]
  115095. };
  115096. var faMound = {
  115097. prefix: 'fas',
  115098. iconName: 'mound',
  115099. icon: [576, 512, [], "e52d", "M144.1 179.2C173.8 127.7 228.6 96 288 96s114.2 31.7 143.9 83.2L540.4 368c12.3 21.3-3.1 48-27.7 48H63.3c-24.6 0-40-26.6-27.7-48L144.1 179.2z"]
  115100. };
  115101. var faToiletPortable = {
  115102. prefix: 'fas',
  115103. iconName: 'toilet-portable',
  115104. icon: [320, 512, [], "e583", "M0 32V64H320V32c0-17.7-14.3-32-32-32H32C14.3 0 0 14.3 0 32zM24 96H0v24V488c0 13.3 10.7 24 24 24s24-10.7 24-24v-8H272v8c0 13.3 10.7 24 24 24s24-10.7 24-24V120 96H296 24zM256 240v64c0 8.8-7.2 16-16 16s-16-7.2-16-16V240c0-8.8 7.2-16 16-16s16 7.2 16 16z"]
  115105. };
  115106. var faCompactDisc = {
  115107. prefix: 'fas',
  115108. iconName: 'compact-disc',
  115109. icon: [512, 512, [128191, 128192, 128440], "f51f", "M512 256c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM256 224c17.7 0 32 14.3 32 32s-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32zm-96 32c0 53 43 96 96 96s96-43 96-96s-43-96-96-96s-96 43-96 96zM96 240c0-35 17.5-71.1 45.2-98.8S205 96 240 96c8.8 0 16-7.2 16-16s-7.2-16-16-16c-45.4 0-89.2 22.3-121.5 54.5S64 194.6 64 240c0 8.8 7.2 16 16 16s16-7.2 16-16z"]
  115110. };
  115111. var faFileArrowDown = {
  115112. prefix: 'fas',
  115113. iconName: 'file-arrow-down',
  115114. icon: [384, 512, ["file-download"], "f56d", "M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM216 232V334.1l31-31c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-72 72c-9.4 9.4-24.6 9.4-33.9 0l-72-72c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l31 31V232c0-13.3 10.7-24 24-24s24 10.7 24 24z"]
  115115. };
  115116. var faFileDownload = faFileArrowDown;
  115117. var faCaravan = {
  115118. prefix: 'fas',
  115119. iconName: 'caravan',
  115120. icon: [640, 512, [], "f8ff", "M0 112C0 67.8 35.8 32 80 32H416c88.4 0 160 71.6 160 160V352h32c17.7 0 32 14.3 32 32s-14.3 32-32 32l-32 0H288c0 53-43 96-96 96s-96-43-96-96H80c-44.2 0-80-35.8-80-80V112zM320 352H448V256H416c-8.8 0-16-7.2-16-16s7.2-16 16-16h32V160c0-17.7-14.3-32-32-32H352c-17.7 0-32 14.3-32 32V352zM96 128c-17.7 0-32 14.3-32 32v64c0 17.7 14.3 32 32 32H224c17.7 0 32-14.3 32-32V160c0-17.7-14.3-32-32-32H96zm96 336c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48z"]
  115121. };
  115122. var faShieldCat = {
  115123. prefix: 'fas',
  115124. iconName: 'shield-cat',
  115125. icon: [512, 512, [], "e572", "M269.4 2.9C265.2 1 260.7 0 256 0s-9.2 1-13.4 2.9L54.3 82.8c-22 9.3-38.4 31-38.3 57.2c.5 99.2 41.3 280.7 213.6 363.2c16.7 8 36.1 8 52.8 0C454.7 420.7 495.5 239.2 496 140c.1-26.2-16.3-47.9-38.3-57.2L269.4 2.9zM160 154.4c0-5.8 4.7-10.4 10.4-10.4h.2c3.4 0 6.5 1.6 8.5 4.3l40 53.3c3 4 7.8 6.4 12.8 6.4h48c5 0 9.8-2.4 12.8-6.4l40-53.3c2-2.7 5.2-4.3 8.5-4.3h.2c5.8 0 10.4 4.7 10.4 10.4V272c0 53-43 96-96 96s-96-43-96-96V154.4zM216 288c8.8 0 16-7.2 16-16s-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16zm96-16c0-8.8-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16s16-7.2 16-16z"]
  115126. };
  115127. var faBolt = {
  115128. prefix: 'fas',
  115129. iconName: 'bolt',
  115130. icon: [448, 512, [9889, "zap"], "f0e7", "M349.4 44.6c5.9-13.7 1.5-29.7-10.6-38.5s-28.6-8-39.9 1.8l-256 224c-10 8.8-13.6 22.9-8.9 35.3S50.7 288 64 288H175.5L98.6 467.4c-5.9 13.7-1.5 29.7 10.6 38.5s28.6 8 39.9-1.8l256-224c10-8.8 13.6-22.9 8.9-35.3s-16.6-20.7-30-20.7H272.5L349.4 44.6z"]
  115131. };
  115132. var faZap = faBolt;
  115133. var faGlassWater = {
  115134. prefix: 'fas',
  115135. iconName: 'glass-water',
  115136. icon: [448, 512, [], "e4f4", "M64 0C55.1 0 46.6 3.7 40.6 10.2s-9.1 15.2-8.5 24.1L60.9 437.7c3 41.9 37.8 74.3 79.8 74.3H307.3c42 0 76.8-32.4 79.8-74.3L415.9 34.3c.6-8.9-2.4-17.6-8.5-24.1S392.9 0 384 0H64zm41 156.5L98.4 64H349.6L343 156.5l-24.2 12.1c-19.4 9.7-42.2 9.7-61.6 0c-20.9-10.4-45.5-10.4-66.4 0c-19.4 9.7-42.2 9.7-61.6 0L105 156.5z"]
  115137. };
  115138. var faOilWell = {
  115139. prefix: 'fas',
  115140. iconName: 'oil-well',
  115141. icon: [576, 512, [], "e532", "M528.3 61.3c-11.4-42.7-55.3-68-98-56.6L414.9 8.8C397.8 13.4 387.7 31 392.3 48l24.5 91.4L308.5 167.5l-6.3-18.1C297.7 136.6 285.6 128 272 128s-25.7 8.6-30.2 21.4l-13.6 39L96 222.6V184c0-13.3-10.7-24-24-24s-24 10.7-24 24V448H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H544c17.7 0 32-14.3 32-32s-14.3-32-32-32H406.7L340 257.5l-62.2 16.1L305.3 352H238.7L265 277l-74.6 19.3L137.3 448H96V288.8l337.4-87.5 25.2 94c4.6 17.1 22.1 27.2 39.2 22.6l15.5-4.1c42.7-11.4 68-55.3 56.6-98L528.3 61.3zM205.1 448l11.2-32H327.7l11.2 32H205.1z"]
  115142. };
  115143. var faVault = {
  115144. prefix: 'fas',
  115145. iconName: 'vault',
  115146. icon: [576, 512, [], "e2c5", "M64 0C28.7 0 0 28.7 0 64V416c0 35.3 28.7 64 64 64H80l16 32h64l16-32H400l16 32h64l16-32h16c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H64zM224 320c44.2 0 80-35.8 80-80s-35.8-80-80-80s-80 35.8-80 80s35.8 80 80 80zm0 80c-88.4 0-160-71.6-160-160s71.6-160 160-160s160 71.6 160 160s-71.6 160-160 160zM480 221.3V336c0 8.8-7.2 16-16 16s-16-7.2-16-16V221.3c-18.6-6.6-32-24.4-32-45.3c0-26.5 21.5-48 48-48s48 21.5 48 48c0 20.9-13.4 38.7-32 45.3z"]
  115147. };
  115148. var faMars = {
  115149. prefix: 'fas',
  115150. iconName: 'mars',
  115151. icon: [448, 512, [9794], "f222", "M289.8 46.8c3.7-9 12.5-14.8 22.2-14.8H424c13.3 0 24 10.7 24 24V168c0 9.7-5.8 18.5-14.8 22.2s-19.3 1.7-26.2-5.2l-33.4-33.4L321 204.2c19.5 28.4 31 62.7 31 99.8c0 97.2-78.8 176-176 176S0 401.2 0 304s78.8-176 176-176c37 0 71.4 11.4 99.8 31l52.6-52.6L295 73c-6.9-6.9-8.9-17.2-5.2-26.2zM400 80l0 0h0v0zM176 416c61.9 0 112-50.1 112-112s-50.1-112-112-112s-112 50.1-112 112s50.1 112 112 112z"]
  115152. };
  115153. var faToilet = {
  115154. prefix: 'fas',
  115155. iconName: 'toilet',
  115156. icon: [448, 512, [128701], "f7d8", "M24 0C10.7 0 0 10.7 0 24S10.7 48 24 48h8V196.9c-1.9 1.4-3.8 2.9-5.6 4.4C10.9 214.5 0 232.9 0 256c0 46.9 14.3 84.1 37 112.5c14.2 17.7 31.1 31.3 48.5 41.8L65.6 469.9c-3.3 9.8-1.6 20.5 4.4 28.8s15.7 13.3 26 13.3H352c10.3 0 19.9-4.9 26-13.3s7.7-19.1 4.4-28.8l-19.8-59.5c17.4-10.5 34.3-24.1 48.5-41.8c22.7-28.4 37-65.5 37-112.5c0-23.1-10.9-41.5-26.4-54.6c-1.8-1.5-3.7-3-5.6-4.4V48h8c13.3 0 24-10.7 24-24s-10.7-24-24-24H24zM384 256.3c0 1-.3 2.6-3.8 5.6c-4.8 4.1-14 9-29.3 13.4C320.5 284 276.1 288 224 288s-96.5-4-126.9-12.8c-15.3-4.4-24.5-9.3-29.3-13.4c-3.5-3-3.8-4.6-3.8-5.6l0-.3 0-.1c0-1 0-2.5 3.8-5.8c4.8-4.1 14-9 29.3-13.4C127.5 228 171.9 224 224 224s96.5 4 126.9 12.8c15.3 4.4 24.5 9.3 29.3 13.4c3.8 3.2 3.8 4.8 3.8 5.8l0 .1 0 .3zM328.2 384l-.2 .5 0-.5h.2zM112 64h32c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]
  115157. };
  115158. var faPlaneCircleXmark = {
  115159. prefix: 'fas',
  115160. iconName: 'plane-circle-xmark',
  115161. icon: [640, 512, [], "e557", "M256 0c-35 0-64 59.5-64 93.7v84.6L8.1 283.4c-5 2.8-8.1 8.2-8.1 13.9v65.5c0 10.6 10.2 18.3 20.4 15.4l171.6-49 0 70.9-57.6 43.2c-4 3-6.4 7.8-6.4 12.8v42c0 7.8 6.3 14 14 14c1.3 0 2.6-.2 3.9-.5L256 480l110.1 31.5c1.3 .4 2.6 .5 3.9 .5c6 0 11.1-3.7 13.1-9C344.5 470.7 320 422.2 320 368c0-60.6 30.6-114 77.1-145.6L320 178.3V93.7C320 59.5 292 0 256 0zM496 512c79.5 0 144-64.5 144-144s-64.5-144-144-144s-144 64.5-144 144s64.5 144 144 144zm59.3-180.7L518.6 368l36.7 36.7c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L496 390.6l-36.7 36.7c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6L473.4 368l-36.7-36.7c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L496 345.4l36.7-36.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6z"]
  115162. };
  115163. var faYenSign = {
  115164. prefix: 'fas',
  115165. iconName: 'yen-sign',
  115166. icon: [320, 512, [165, "cny", "jpy", "rmb", "yen"], "f157", "M58.6 46.2C48.8 31.5 29 27.6 14.2 37.4S-4.4 67 5.4 81.7L100.2 224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32h80v32H48c-17.7 0-32 14.3-32 32s14.3 32 32 32h80v64c0 17.7 14.3 32 32 32s32-14.3 32-32V384h80c17.7 0 32-14.3 32-32s-14.3-32-32-32H192V288h80c17.7 0 32-14.3 32-32s-14.3-32-32-32H219.8L314.6 81.7c9.8-14.7 5.8-34.6-8.9-44.4s-34.6-5.8-44.4 8.9L160 198.3 58.6 46.2z"]
  115167. };
  115168. var faCny = faYenSign;
  115169. var faJpy = faYenSign;
  115170. var faRmb = faYenSign;
  115171. var faYen = faYenSign;
  115172. var faRubleSign = {
  115173. prefix: 'fas',
  115174. iconName: 'ruble-sign',
  115175. icon: [384, 512, [8381, "rouble", "rub", "ruble"], "f158", "M96 32C78.3 32 64 46.3 64 64V256H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H64v32H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H64v32c0 17.7 14.3 32 32 32s32-14.3 32-32V416H288c17.7 0 32-14.3 32-32s-14.3-32-32-32H128V320H240c79.5 0 144-64.5 144-144s-64.5-144-144-144H96zM240 256H128V96H240c44.2 0 80 35.8 80 80s-35.8 80-80 80z"]
  115176. };
  115177. var faRouble = faRubleSign;
  115178. var faRub = faRubleSign;
  115179. var faRuble = faRubleSign;
  115180. var faSun = {
  115181. prefix: 'fas',
  115182. iconName: 'sun',
  115183. icon: [512, 512, [9728], "f185", "M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM352 256c0 53-43 96-96 96s-96-43-96-96s43-96 96-96s96 43 96 96zm32 0c0-70.7-57.3-128-128-128s-128 57.3-128 128s57.3 128 128 128s128-57.3 128-128z"]
  115184. };
  115185. var faGuitar = {
  115186. prefix: 'fas',
  115187. iconName: 'guitar',
  115188. icon: [512, 512, [], "f7a6", "M465 7c-9.4-9.4-24.6-9.4-33.9 0L383 55c-2.4 2.4-4.3 5.3-5.5 8.5l-15.4 41-77.5 77.6c-45.1-29.4-99.3-30.2-131 1.6c-11 11-18 24.6-21.4 39.6c-3.7 16.6-19.1 30.7-36.1 31.6c-25.6 1.3-49.3 10.7-67.3 28.6C-16 328.4-7.6 409.4 47.5 464.5s136.1 63.5 180.9 18.7c17.9-17.9 27.4-41.7 28.6-67.3c.9-17 15-32.3 31.6-36.1c15-3.4 28.6-10.5 39.6-21.4c31.8-31.8 31-85.9 1.6-131l77.6-77.6 41-15.4c3.2-1.2 6.1-3.1 8.5-5.5l48-48c9.4-9.4 9.4-24.6 0-33.9L465 7zM208 352c-26.5 0-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48z"]
  115189. };
  115190. var faFaceLaughWink = {
  115191. prefix: 'fas',
  115192. iconName: 'face-laugh-wink',
  115193. icon: [512, 512, ["laugh-wink"], "f59c", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM96.8 314.1c-3.8-13.7 7.4-26.1 21.6-26.1H393.6c14.2 0 25.5 12.4 21.6 26.1C396.2 382 332.1 432 256 432s-140.2-50-159.2-117.9zM208.4 192c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zm92.4 25.6c-5.3 7.1-15.3 8.5-22.4 3.2s-8.5-15.3-3.2-22.4c30.4-40.5 91.2-40.5 121.6 0c5.3 7.1 3.9 17.1-3.2 22.4s-17.1 3.9-22.4-3.2c-17.6-23.5-52.8-23.5-70.4 0z"]
  115194. };
  115195. var faLaughWink = faFaceLaughWink;
  115196. var faHorseHead = {
  115197. prefix: 'fas',
  115198. iconName: 'horse-head',
  115199. icon: [512, 512, [], "f7ab", "M0 464V316.9C0 208.5 68.3 111.8 170.5 75.6L340.2 15.5C361.6 7.9 384 23.8 384 46.4c0 11-5.5 21.2-14.6 27.3L336 96c48.1 0 91.2 29.8 108.1 74.9l48.6 129.5c11.8 31.4 4.1 66.8-19.6 90.5c-16 16-37.8 25.1-60.5 25.1h-3.4c-26.1 0-50.9-11.6-67.6-31.7l-32.3-38.7c-11.7 4.1-24.2 6.4-37.3 6.4l-.1 0 0 0c-6.3 0-12.5-.5-18.6-1.5c-3.6-.6-7.2-1.4-10.7-2.3l0 0c-28.9-7.8-53.1-26.8-67.8-52.2c-4.4-7.6-14.2-10.3-21.9-5.8s-10.3 14.2-5.8 21.9c24 41.5 68.3 70 119.3 71.9l47.2 70.8c4 6.1 6.2 13.2 6.2 20.4c0 20.3-16.5 36.8-36.8 36.8H48c-26.5 0-48-21.5-48-48zM328 224c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24z"]
  115200. };
  115201. var faBoreHole = {
  115202. prefix: 'fas',
  115203. iconName: 'bore-hole',
  115204. icon: [512, 512, [], "e4c3", "M256 0c-17.7 0-32 14.3-32 32V296.6c-19.1 11.1-32 31.7-32 55.4c0 35.3 28.7 64 64 64s64-28.7 64-64c0-23.7-12.9-44.4-32-55.4V32c0-17.7-14.3-32-32-32zM48 128c-26.5 0-48 21.5-48 48V464c0 26.5 21.5 48 48 48H464c26.5 0 48-21.5 48-48V176c0-26.5-21.5-48-48-48H352V352c0 53-43 96-96 96s-96-43-96-96V128H48z"]
  115205. };
  115206. var faIndustry = {
  115207. prefix: 'fas',
  115208. iconName: 'industry',
  115209. icon: [512, 512, [], "f275", "M32 32C14.3 32 0 46.3 0 64V304v48 80c0 26.5 21.5 48 48 48H464c26.5 0 48-21.5 48-48V304 152.2c0-18.2-19.4-29.7-35.4-21.1L320 215.4V152.2c0-18.2-19.4-29.7-35.4-21.1L128 215.4V64c0-17.7-14.3-32-32-32H32z"]
  115210. };
  115211. var faCircleDown = {
  115212. prefix: 'fas',
  115213. iconName: 'circle-down',
  115214. icon: [512, 512, [61466, "arrow-alt-circle-down"], "f358", "M256 0C114.6 0 0 114.6 0 256S114.6 512 256 512s256-114.6 256-256S397.4 0 256 0zM244.7 395.3l-112-112c-4.6-4.6-5.9-11.5-3.5-17.4s8.3-9.9 14.8-9.9l64 0 0-96c0-17.7 14.3-32 32-32l32 0c17.7 0 32 14.3 32 32l0 96 64 0c6.5 0 12.3 3.9 14.8 9.9s1.1 12.9-3.5 17.4l-112 112c-6.2 6.2-16.4 6.2-22.6 0z"]
  115215. };
  115216. var faArrowAltCircleDown = faCircleDown;
  115217. var faArrowsTurnToDots = {
  115218. prefix: 'fas',
  115219. iconName: 'arrows-turn-to-dots',
  115220. icon: [512, 512, [], "e4c1", "M249.4 25.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3L269.3 96 416 96c53 0 96 43 96 96v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V192c0-17.7-14.3-32-32-32l-146.7 0 25.4 25.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0l-80-80c-12.5-12.5-12.5-32.8 0-45.3l80-80zm13.3 256l80 80c12.5 12.5 12.5 32.8 0 45.3l-80 80c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 416 96 416c-17.7 0-32 14.3-32 32v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V448c0-53 43-96 96-96l146.7 0-25.4-25.4c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0zM512 384c0 35.3-28.7 64-64 64s-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64zM64 64c35.3 0 64 28.7 64 64s-28.7 64-64 64s-64-28.7-64-64S28.7 64 64 64z"]
  115221. };
  115222. var faFlorinSign = {
  115223. prefix: 'fas',
  115224. iconName: 'florin-sign',
  115225. icon: [384, 512, [], "e184", "M314.7 32c-38.8 0-73.7 23.3-88.6 59.1L170.7 224H64c-17.7 0-32 14.3-32 32s14.3 32 32 32h80L98.9 396.3c-5 11.9-16.6 19.7-29.5 19.7H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H69.3c38.8 0 73.7-23.3 88.6-59.1L213.3 288H320c17.7 0 32-14.3 32-32s-14.3-32-32-32H240l45.1-108.3c5-11.9 16.6-19.7 29.5-19.7H352c17.7 0 32-14.3 32-32s-14.3-32-32-32H314.7z"]
  115226. };
  115227. var faArrowDownShortWide = {
  115228. prefix: 'fas',
  115229. iconName: 'arrow-down-short-wide',
  115230. icon: [576, 512, ["sort-amount-desc", "sort-amount-down-alt"], "f884", "M151.6 469.6C145.5 476.2 137 480 128 480s-17.5-3.8-23.6-10.4l-88-96c-11.9-13-11.1-33.3 2-45.2s33.3-11.1 45.2 2L96 365.7V64c0-17.7 14.3-32 32-32s32 14.3 32 32V365.7l32.4-35.4c11.9-13 32.2-13.9 45.2-2s13.9 32.2 2 45.2l-88 96zM320 32h32c17.7 0 32 14.3 32 32s-14.3 32-32 32H320c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 128h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H320c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 128H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H320c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 128H544c17.7 0 32 14.3 32 32s-14.3 32-32 32H320c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]
  115231. };
  115232. var faSortAmountDesc = faArrowDownShortWide;
  115233. var faSortAmountDownAlt = faArrowDownShortWide;
  115234. var faLessThan = {
  115235. prefix: 'fas',
  115236. iconName: 'less-than',
  115237. icon: [384, 512, [62774], "3c", "M380.6 81.7c7.9 15.8 1.5 35-14.3 42.9L103.6 256 366.3 387.4c15.8 7.9 22.2 27.1 14.3 42.9s-27.1 22.2-42.9 14.3l-320-160C6.8 279.2 0 268.1 0 256s6.8-23.2 17.7-28.6l320-160c15.8-7.9 35-1.5 42.9 14.3z"]
  115238. };
  115239. var faAngleDown = {
  115240. prefix: 'fas',
  115241. iconName: 'angle-down',
  115242. icon: [448, 512, [8964], "f107", "M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]
  115243. };
  115244. var faCarTunnel = {
  115245. prefix: 'fas',
  115246. iconName: 'car-tunnel',
  115247. icon: [512, 512, [], "e4de", "M256 0C114.6 0 0 114.6 0 256V448c0 35.3 28.7 64 64 64h64H384h64c35.3 0 64-28.7 64-64V256C512 114.6 397.4 0 256 0zM384 512c-17.7 0-32-14.3-32-32V448H160v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V376c0-20.8 11.3-38.9 28.1-48.6l21-64.7c7.5-23.1 29-38.7 53.3-38.7H313.6c24.3 0 45.8 15.6 53.3 38.7l21 64.7c16.8 9.7 28.2 27.8 28.2 48.6V480c0 17.7-14.3 32-32 32zM190.8 277.5L177 320H335l-13.8-42.5c-1.1-3.3-4.1-5.5-7.6-5.5H198.4c-3.5 0-6.5 2.2-7.6 5.5zM168 408c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24zm200-24c0-13.3-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24s24-10.7 24-24z"]
  115248. };
  115249. var faHeadSideCough = {
  115250. prefix: 'fas',
  115251. iconName: 'head-side-cough',
  115252. icon: [640, 512, [], "e061", "M0 201.7C0 90.3 90.3 0 201.7 0H224c95.2 0 174.2 69.3 189.4 160.1c2.2 13 6.7 25.7 15 36.1l42 52.6c6.2 7.8 9.6 17.4 9.6 27.4c0 24.2-19.6 43.8-43.8 43.8H416v32H352c-17.7 0-32 14.3-32 32s14.3 32 32 32h64c0 35.3-28.7 64-64 64H288c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V375.8c0-17-7.1-33-17.5-46.4C18.3 293.2 0 246.5 0 201.7zM336 224c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm272 88c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm-40 24c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24zm-64 48c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24zm128 0c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24zM608 504c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm-40-72c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24z"]
  115253. };
  115254. var faGripLines = {
  115255. prefix: 'fas',
  115256. iconName: 'grip-lines',
  115257. icon: [448, 512, [], "f7a4", "M32 288c-17.7 0-32 14.3-32 32s14.3 32 32 32l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 288zm0-128c-17.7 0-32 14.3-32 32s14.3 32 32 32l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 160z"]
  115258. };
  115259. var faThumbsDown = {
  115260. prefix: 'fas',
  115261. iconName: 'thumbs-down',
  115262. icon: [512, 512, [128078, 61576], "f165", "M313.4 479.1c26-5.2 42.9-30.5 37.7-56.5l-2.3-11.4c-5.3-26.7-15.1-52.1-28.8-75.2H464c26.5 0 48-21.5 48-48c0-25.3-19.5-46-44.3-47.9c7.7-8.5 12.3-19.8 12.3-32.1c0-23.4-16.8-42.9-38.9-47.1c4.4-7.3 6.9-15.8 6.9-24.9c0-21.3-13.9-39.4-33.1-45.6c.7-3.3 1.1-6.8 1.1-10.4c0-26.5-21.5-48-48-48H294.5c-19 0-37.5 5.6-53.3 16.1L202.7 73.8C176 91.6 160 121.6 160 153.7V192v48 24.9c0 29.2 13.3 56.7 36 75l7.4 5.9c26.5 21.2 44.6 51 51.2 84.2l2.3 11.4c5.2 26 30.5 42.9 56.5 37.7zM32 320H96c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32H32C14.3 32 0 46.3 0 64V288c0 17.7 14.3 32 32 32z"]
  115263. };
  115264. var faUserLock = {
  115265. prefix: 'fas',
  115266. iconName: 'user-lock',
  115267. icon: [640, 512, [], "f502", "M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0S96 57.3 96 128s57.3 128 128 128zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H392.6c-5.4-9.4-8.6-20.3-8.6-32V352c0-2.1 .1-4.2 .3-6.3c-31-26-71-41.7-114.6-41.7H178.3zM528 240c17.7 0 32 14.3 32 32v48H496V272c0-17.7 14.3-32 32-32zm-80 32v48c-17.7 0-32 14.3-32 32V480c0 17.7 14.3 32 32 32H608c17.7 0 32-14.3 32-32V352c0-17.7-14.3-32-32-32V272c0-44.2-35.8-80-80-80s-80 35.8-80 80z"]
  115268. };
  115269. var faArrowRightLong = {
  115270. prefix: 'fas',
  115271. iconName: 'arrow-right-long',
  115272. icon: [512, 512, ["long-arrow-right"], "f178", "M502.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l370.7 0-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l128-128z"]
  115273. };
  115274. var faLongArrowRight = faArrowRightLong;
  115275. var faAnchorCircleXmark = {
  115276. prefix: 'fas',
  115277. iconName: 'anchor-circle-xmark',
  115278. icon: [640, 512, [], "e4ac", "M256 96c0-17.7 14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32s-32-14.3-32-32zm85.1 80C367 158.8 384 129.4 384 96c0-53-43-96-96-96s-96 43-96 96c0 33.4 17 62.8 42.9 80H224c-17.7 0-32 14.3-32 32s14.3 32 32 32h32V448H208c-53 0-96-43-96-96v-6.1l7 7c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L97 263c-9.4-9.4-24.6-9.4-33.9 0L7 319c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l7-7V352c0 88.4 71.6 160 160 160h80 80c8.2 0 16.3-.6 24.2-1.8c-22.2-16.2-40.4-37.5-53-62.2H320V368 240h32c17.7 0 32-14.3 32-32s-14.3-32-32-32H341.1zM496 512c79.5 0 144-64.5 144-144s-64.5-144-144-144s-144 64.5-144 144s64.5 144 144 144zm59.3-180.7L518.6 368l36.7 36.7c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L496 390.6l-36.7 36.7c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6L473.4 368l-36.7-36.7c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L496 345.4l36.7-36.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6z"]
  115279. };
  115280. var faEllipsis = {
  115281. prefix: 'fas',
  115282. iconName: 'ellipsis',
  115283. icon: [448, 512, ["ellipsis-h"], "f141", "M120 256c0 30.9-25.1 56-56 56s-56-25.1-56-56s25.1-56 56-56s56 25.1 56 56zm160 0c0 30.9-25.1 56-56 56s-56-25.1-56-56s25.1-56 56-56s56 25.1 56 56zm104 56c-30.9 0-56-25.1-56-56s25.1-56 56-56s56 25.1 56 56s-25.1 56-56 56z"]
  115284. };
  115285. var faEllipsisH = faEllipsis;
  115286. var faChessPawn = {
  115287. prefix: 'fas',
  115288. iconName: 'chess-pawn',
  115289. icon: [320, 512, [9823], "f443", "M264 136c0 37.1-19.4 69.6-48.6 88H224c17.7 0 32 14.3 32 32s-14.3 32-32 32c0 96 24 128 24 128H72s24-32 24-128c-17.7 0-32-14.3-32-32s14.3-32 32-32h8.5C75.4 205.6 56 173.1 56 136C56 78.6 102.6 32 160 32s104 46.6 104 104zM32 448H288c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]
  115290. };
  115291. var faKitMedical = {
  115292. prefix: 'fas',
  115293. iconName: 'kit-medical',
  115294. icon: [576, 512, ["first-aid"], "f479", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H96V32H64zm64 0V480H448V32H128zM512 480c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H480V480h32zM256 176c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v48h48c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H320v48c0 8.8-7.2 16-16 16H272c-8.8 0-16-7.2-16-16V288H208c-8.8 0-16-7.2-16-16V240c0-8.8 7.2-16 16-16h48V176z"]
  115295. };
  115296. var faFirstAid = faKitMedical;
  115297. var faPersonThroughWindow = {
  115298. prefix: 'fas',
  115299. iconName: 'person-through-window',
  115300. icon: [640, 512, [], "e5a9", "M64 64l224 0 0 9.8c0 39-23.7 74-59.9 88.4C167.6 186.5 128 245 128 310.2l0 73.8s0 0 0 0H64V64zm288 0l224 0V384H508.3l-3.7-4.5-75.2-90.2c-9.1-10.9-22.6-17.3-36.9-17.3l-71.1 0-41-63.1c-.3-.5-.6-1-1-1.4c44.7-29 72.5-79 72.5-133.6l0-9.8zm73 320H379.2l42.7 64H592c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48H48C21.5 0 0 21.5 0 48V400c0 26.5 21.5 48 48 48H308.2l33.2 49.8c9.8 14.7 29.7 18.7 44.4 8.9s18.7-29.7 8.9-44.4L310.5 336l74.6 0 40 48zm-159.5 0H192s0 0 0 0l0-73.8c0-10.2 1.6-20.1 4.7-29.5L265.5 384zM192 128c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48z"]
  115301. };
  115302. var faToolbox = {
  115303. prefix: 'fas',
  115304. iconName: 'toolbox',
  115305. icon: [512, 512, [129520], "f552", "M176 88v40H336V88c0-4.4-3.6-8-8-8H184c-4.4 0-8 3.6-8 8zm-48 40V88c0-30.9 25.1-56 56-56H328c30.9 0 56 25.1 56 56v40h28.1c12.7 0 24.9 5.1 33.9 14.1l51.9 51.9c9 9 14.1 21.2 14.1 33.9V304H384V288c0-17.7-14.3-32-32-32s-32 14.3-32 32v16H192V288c0-17.7-14.3-32-32-32s-32 14.3-32 32v16H0V227.9c0-12.7 5.1-24.9 14.1-33.9l51.9-51.9c9-9 21.2-14.1 33.9-14.1H128zM0 416V336H128v16c0 17.7 14.3 32 32 32s32-14.3 32-32V336H320v16c0 17.7 14.3 32 32 32s32-14.3 32-32V336H512v80c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64z"]
  115306. };
  115307. var faHandsHoldingCircle = {
  115308. prefix: 'fas',
  115309. iconName: 'hands-holding-circle',
  115310. icon: [640, 512, [], "e4fb", "M320 256c-70.7 0-128-57.3-128-128S249.3 0 320 0s128 57.3 128 128s-57.3 128-128 128zM40 64c22.1 0 40 17.9 40 40v40 80 40.2c0 17 6.7 33.3 18.7 45.3l51.1 51.1c8.3 8.3 21.3 9.6 31 3.1c12.9-8.6 14.7-26.9 3.7-37.8l-15.2-15.2-32-32c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l32 32 15.2 15.2 0 0 25.3 25.3c21 21 32.8 49.5 32.8 79.2V464c0 26.5-21.5 48-48 48H173.3c-17 0-33.3-6.7-45.3-18.7L28.1 393.4C10.1 375.4 0 351 0 325.5V224 160 104C0 81.9 17.9 64 40 64zm560 0c22.1 0 40 17.9 40 40v56 64V325.5c0 25.5-10.1 49.9-28.1 67.9L512 493.3c-12 12-28.3 18.7-45.3 18.7H400c-26.5 0-48-21.5-48-48V385.1c0-29.7 11.8-58.2 32.8-79.2l25.3-25.3 0 0 15.2-15.2 32-32c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-32 32-15.2 15.2c-11 11-9.2 29.2 3.7 37.8c9.7 6.5 22.7 5.2 31-3.1l51.1-51.1c12-12 18.7-28.3 18.7-45.3V224 144 104c0-22.1 17.9-40 40-40z"]
  115311. };
  115312. var faBug = {
  115313. prefix: 'fas',
  115314. iconName: 'bug',
  115315. icon: [512, 512, [], "f188", "M256 0c53 0 96 43 96 96v3.6c0 15.7-12.7 28.4-28.4 28.4H188.4c-15.7 0-28.4-12.7-28.4-28.4V96c0-53 43-96 96-96zM41.4 105.4c12.5-12.5 32.8-12.5 45.3 0l64 64c.7 .7 1.3 1.4 1.9 2.1c14.2-7.3 30.4-11.4 47.5-11.4H312c17.1 0 33.2 4.1 47.5 11.4c.6-.7 1.2-1.4 1.9-2.1l64-64c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-64 64c-.7 .7-1.4 1.3-2.1 1.9c6.2 12 10.1 25.3 11.1 39.5H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H416c0 24.6-5.5 47.8-15.4 68.6c2.2 1.3 4.2 2.9 6 4.8l64 64c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0l-63.1-63.1c-24.5 21.8-55.8 36.2-90.3 39.6V240c0-8.8-7.2-16-16-16s-16 7.2-16 16V479.2c-34.5-3.4-65.8-17.8-90.3-39.6L86.6 502.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l64-64c1.9-1.9 3.9-3.4 6-4.8C101.5 367.8 96 344.6 96 320H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H96.3c1.1-14.1 5-27.5 11.1-39.5c-.7-.6-1.4-1.2-2.1-1.9l-64-64c-12.5-12.5-12.5-32.8 0-45.3z"]
  115316. };
  115317. var faCreditCard = {
  115318. prefix: 'fas',
  115319. iconName: 'credit-card',
  115320. icon: [576, 512, [128179, 62083, "credit-card-alt"], "f09d", "M64 32C28.7 32 0 60.7 0 96v32H576V96c0-35.3-28.7-64-64-64H64zM576 224H0V416c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V224zM112 352h64c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm112 16c0-8.8 7.2-16 16-16H368c8.8 0 16 7.2 16 16s-7.2 16-16 16H240c-8.8 0-16-7.2-16-16z"]
  115321. };
  115322. var faCreditCardAlt = faCreditCard;
  115323. var faCar = {
  115324. prefix: 'fas',
  115325. iconName: 'car',
  115326. icon: [512, 512, [128664, "automobile"], "f1b9", "M135.2 117.4L109.1 192H402.9l-26.1-74.6C372.3 104.6 360.2 96 346.6 96H165.4c-13.6 0-25.7 8.6-30.2 21.4zM39.6 196.8L74.8 96.3C88.3 57.8 124.6 32 165.4 32H346.6c40.8 0 77.1 25.8 90.6 64.3l35.2 100.5c23.2 9.6 39.6 32.5 39.6 59.2V400v48c0 17.7-14.3 32-32 32H448c-17.7 0-32-14.3-32-32V400H96v48c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32V400 256c0-26.7 16.4-49.6 39.6-59.2zM128 288c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zm288 32c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32z"]
  115327. };
  115328. var faAutomobile = faCar;
  115329. var faHandHoldingHand = {
  115330. prefix: 'fas',
  115331. iconName: 'hand-holding-hand',
  115332. icon: [576, 512, [], "e4f7", "M7.8 207.7c-13.1-17.8-9.3-42.8 8.5-55.9L142.9 58.5C166.2 41.3 194.5 32 223.5 32H384 544c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32H507.2l-44.9 36c-22.7 18.2-50.9 28-80 28H304 288 224c-17.7 0-32-14.3-32-32s14.3-32 32-32h64 16c8.8 0 16-7.2 16-16s-7.2-16-16-16H183.4L63.7 216.2c-17.8 13.1-42.8 9.3-55.9-8.5zM382.4 160l0 0 .9 0c-.3 0-.6 0-.9 0zM568.2 304.3c13.1 17.8 9.3 42.8-8.5 55.9L433.1 453.5c-23.4 17.2-51.6 26.5-80.7 26.5H192 32c-17.7 0-32-14.3-32-32V384c0-17.7 14.3-32 32-32H68.8l44.9-36c22.7-18.2 50.9-28 80-28H272h16 64c17.7 0 32 14.3 32 32s-14.3 32-32 32H288 272c-8.8 0-16 7.2-16 16s7.2 16 16 16H392.6l119.7-88.2c17.8-13.1 42.8-9.3 55.9 8.5zM193.6 352l0 0-.9 0c.3 0 .6 0 .9 0z"]
  115333. };
  115334. var faBookOpenReader = {
  115335. prefix: 'fas',
  115336. iconName: 'book-open-reader',
  115337. icon: [512, 512, ["book-reader"], "f5da", "M352 96c0 53-43 96-96 96s-96-43-96-96s43-96 96-96s96 43 96 96zM240 248V512l-48.4-24.2c-20.9-10.4-43.5-17-66.8-19.3l-96-9.6C12.5 457.2 0 443.5 0 427V224c0-17.7 14.3-32 32-32H62.3c63.6 0 125.6 19.6 177.7 56zm32 264V248c52.1-36.4 114.1-56 177.7-56H480c17.7 0 32 14.3 32 32V427c0 16.4-12.5 30.2-28.8 31.8l-96 9.6c-23.2 2.3-45.9 8.9-66.8 19.3L272 512z"]
  115338. };
  115339. var faBookReader = faBookOpenReader;
  115340. var faMountainSun = {
  115341. prefix: 'fas',
  115342. iconName: 'mountain-sun',
  115343. icon: [640, 512, [], "e52f", "M560 160c44.2 0 80-35.8 80-80s-35.8-80-80-80s-80 35.8-80 80s35.8 80 80 80zM55.9 512H381.1h75H578.9c33.8 0 61.1-27.4 61.1-61.1c0-11.2-3.1-22.2-8.9-31.8l-132-216.3C495 196.1 487.8 192 480 192s-15 4.1-19.1 10.7l-48.2 79L286.8 81c-6.6-10.6-18.3-17-30.8-17s-24.1 6.4-30.8 17L8.6 426.4C3 435.3 0 445.6 0 456.1C0 487 25 512 55.9 512z"]
  115344. };
  115345. var faArrowsLeftRightToLine = {
  115346. prefix: 'fas',
  115347. iconName: 'arrows-left-right-to-line',
  115348. icon: [640, 512, [], "e4ba", "M32 64c17.7 0 32 14.3 32 32l0 320c0 17.7-14.3 32-32 32s-32-14.3-32-32V96C0 78.3 14.3 64 32 64zm214.6 73.4c12.5 12.5 12.5 32.8 0 45.3L205.3 224l229.5 0-41.4-41.4c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l96 96c12.5 12.5 12.5 32.8 0 45.3l-96 96c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L434.7 288l-229.5 0 41.4 41.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0l-96-96c-12.5-12.5-12.5-32.8 0-45.3l96-96c12.5-12.5 32.8-12.5 45.3 0zM640 96V416c0 17.7-14.3 32-32 32s-32-14.3-32-32V96c0-17.7 14.3-32 32-32s32 14.3 32 32z"]
  115349. };
  115350. var faDiceD20 = {
  115351. prefix: 'fas',
  115352. iconName: 'dice-d20',
  115353. icon: [512, 512, [], "f6cf", "M64.7 125.8l53.2 31.9c7.8 4.7 17.8 2 22.2-5.9L217.6 12.1c3-5.4-.9-12.1-7.1-12.1c-1.6 0-3.2 .5-4.6 1.4L63.9 98.8c-9.6 6.6-9.2 20.9 .8 26.9zM32 171.7V295.3c0 8 10.4 11 14.7 4.4l60-92c5-7.6 2.6-17.8-5.2-22.5L56.2 158C45.6 151.6 32 159.3 32 171.7zM326.4 12.1l77.6 139.6c4.4 7.9 14.5 10.6 22.2 5.9l53.2-31.9c10-6 10.4-20.3 .8-26.9L338.1 1.4c-1.4-.9-3-1.4-4.6-1.4c-6.2 0-10.1 6.7-7.1 12.1zM512 171.7c0-12.4-13.6-20.1-24.2-13.7l-45.3 27.2c-7.8 4.7-10.1 14.9-5.2 22.5l60 92c4.3 6.7 14.7 3.6 14.7-4.4V171.7zm-49.3 246L302.1 436.6c-8.1 .9-14.1 7.8-14.1 15.9v52.8c0 3.7 3 6.8 6.8 6.8c.8 0 1.6-.1 2.4-.4l172.7-64c6.1-2.2 10.1-8 10.1-14.5c0-9.3-8.1-16.5-17.3-15.4zM249.2 512c3.7 0 6.8-3 6.8-6.8V452.6c0-8.1-6.1-14.9-14.1-15.9l-160.6-19c-9.2-1.1-17.3 6.1-17.3 15.4c0 6.5 4 12.3 10.1 14.5l172.7 64c.8 .3 1.6 .4 2.4 .4zM57.7 382.9l170.9 20.2c7.8 .9 13.4-7.5 9.5-14.3l-85.7-150c-5.9-10.4-20.7-10.8-27.3-.8L46.2 358.2c-6.5 9.9-.3 23.3 11.5 24.7zm439.6-24.8L418.9 238.1c-6.5-10-21.4-9.6-27.3 .8L306.2 388.5c-3.9 6.8 1.6 15.2 9.5 14.3l170.1-20c11.8-1.4 18-14.7 11.5-24.6zm-216.9 11l78.4-137.2c6.1-10.7-1.6-23.9-13.9-23.9H199.1c-12.3 0-20 13.3-13.9 23.9l78.4 137.2c3.7 6.4 13 6.4 16.7 0zM190.4 176H353.6c12.2 0 19.9-13.1 14-23.8l-80-144c-2.8-5.1-8.2-8.2-14-8.2h-3.2c-5.8 0-11.2 3.2-14 8.2l-80 144c-5.9 10.7 1.8 23.8 14 23.8z"]
  115354. };
  115355. var faTruckDroplet = {
  115356. prefix: 'fas',
  115357. iconName: 'truck-droplet',
  115358. icon: [640, 512, [], "e58c", "M0 48C0 21.5 21.5 0 48 0H368c26.5 0 48 21.5 48 48V96h50.7c17 0 33.3 6.7 45.3 18.7L589.3 192c12 12 18.7 28.3 18.7 45.3V256v32 64c17.7 0 32 14.3 32 32s-14.3 32-32 32H576c0 53-43 96-96 96s-96-43-96-96H256c0 53-43 96-96 96s-96-43-96-96H48c-26.5 0-48-21.5-48-48V48zM416 256H544V237.3L466.7 160H416v96zM160 464c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zm368-48c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM208 272c39.8 0 72-29.6 72-66c0-27-39.4-82.9-59.9-110.3c-6.1-8.2-18.1-8.2-24.2 0C175.4 123 136 179 136 206c0 36.5 32.2 66 72 66z"]
  115359. };
  115360. var faFileCircleXmark = {
  115361. prefix: 'fas',
  115362. iconName: 'file-circle-xmark',
  115363. icon: [576, 512, [], "e5a1", "M0 64C0 28.7 28.7 0 64 0H224V128c0 17.7 14.3 32 32 32H384v38.6C310.1 219.5 256 287.4 256 368c0 59.1 29.1 111.3 73.7 143.3c-3.2 .5-6.4 .7-9.7 .7H64c-35.3 0-64-28.7-64-64V64zm384 64H256V0L384 128zm48 384c-79.5 0-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144zm59.3-180.7c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L432 345.4l-36.7-36.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6L409.4 368l-36.7 36.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L432 390.6l36.7 36.7c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L454.6 368l36.7-36.7z"]
  115364. };
  115365. var faTemperatureArrowUp = {
  115366. prefix: 'fas',
  115367. iconName: 'temperature-arrow-up',
  115368. icon: [512, 512, ["temperature-up"], "e040", "M96 112c0-26.5 21.5-48 48-48s48 21.5 48 48V276.5c0 17.3 7.1 31.9 15.3 42.5C217.8 332.6 224 349.5 224 368c0 44.2-35.8 80-80 80s-80-35.8-80-80c0-18.5 6.2-35.4 16.7-48.9C88.9 308.4 96 293.8 96 276.5V112zM144 0C82.1 0 32 50.1 32 112V276.4c0 .1-.1 .3-.2 .6c-.2 .6-.8 1.6-1.7 2.8C11.2 304.2 0 334.8 0 368c0 79.5 64.5 144 144 144s144-64.5 144-144c0-33.2-11.3-63.8-30.1-88.1c-.9-1.2-1.5-2.2-1.7-2.8c-.1-.3-.2-.5-.2-.6V112C256 50.1 205.9 0 144 0zm0 416c26.5 0 48-21.5 48-48c0-20.9-13.4-38.7-32-45.3V112c0-8.8-7.2-16-16-16s-16 7.2-16 16V322.7c-18.6 6.6-32 24.4-32 45.3c0 26.5 21.5 48 48 48zM448 160h32c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-64-64c-12.5-12.5-32.8-12.5-45.3 0l-64 64c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8h32V448c0 17.7 14.3 32 32 32s32-14.3 32-32V160z"]
  115369. };
  115370. var faTemperatureUp = faTemperatureArrowUp;
  115371. var faMedal = {
  115372. prefix: 'fas',
  115373. iconName: 'medal',
  115374. icon: [512, 512, [127941], "f5a2", "M16 0H144c5.3 0 10.3 2.7 13.3 7.1l81.1 121.6c-49.5 4.1-94 25.6-127.6 58.3L2.7 24.9C-.6 20-.9 13.7 1.9 8.5S10.1 0 16 0zM509.3 24.9L401.2 187.1c-33.5-32.7-78.1-54.2-127.6-58.3L354.7 7.1c3-4.5 8-7.1 13.3-7.1H496c5.9 0 11.3 3.2 14.1 8.5s2.5 11.5-.8 16.4zM432 336c0 97.2-78.8 176-176 176s-176-78.8-176-176s78.8-176 176-176s176 78.8 176 176zM264.4 241.1c-3.4-7-13.3-7-16.8 0l-22.4 45.4c-1.4 2.8-4 4.7-7 5.1L168 298.9c-7.7 1.1-10.7 10.5-5.2 16l36.3 35.4c2.2 2.2 3.2 5.2 2.7 8.3l-8.6 49.9c-1.3 7.6 6.7 13.5 13.6 9.9l44.8-23.6c2.7-1.4 6-1.4 8.7 0l44.8 23.6c6.9 3.6 14.9-2.2 13.6-9.9l-8.6-49.9c-.5-3 .5-6.1 2.7-8.3l36.3-35.4c5.6-5.4 2.5-14.8-5.2-16l-50.1-7.3c-3-.4-5.7-2.4-7-5.1l-22.4-45.4z"]
  115375. };
  115376. var faBed = {
  115377. prefix: 'fas',
  115378. iconName: 'bed',
  115379. icon: [640, 512, [128716], "f236", "M32 32c17.7 0 32 14.3 32 32V320H288V160c0-17.7 14.3-32 32-32H544c53 0 96 43 96 96V448c0 17.7-14.3 32-32 32s-32-14.3-32-32V416H352 320 64v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V64C0 46.3 14.3 32 32 32zM176 288c-44.2 0-80-35.8-80-80s35.8-80 80-80s80 35.8 80 80s-35.8 80-80 80z"]
  115380. };
  115381. var faSquareH = {
  115382. prefix: 'fas',
  115383. iconName: 'square-h',
  115384. icon: [448, 512, ["h-square"], "f0fd", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM336 152V256 360c0 13.3-10.7 24-24 24s-24-10.7-24-24V280H160l0 80c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-208c0-13.3 10.7-24 24-24s24 10.7 24 24v80H288V152c0-13.3 10.7-24 24-24s24 10.7 24 24z"]
  115385. };
  115386. var faHSquare = faSquareH;
  115387. var faPodcast = {
  115388. prefix: 'fas',
  115389. iconName: 'podcast',
  115390. icon: [448, 512, [], "f2ce", "M319.4 372c48.5-31.3 80.6-85.9 80.6-148c0-97.2-78.8-176-176-176S48 126.8 48 224c0 62.1 32.1 116.6 80.6 148c1.2 17.3 4 38 7.2 57.1l.2 1C56 395.8 0 316.5 0 224C0 100.3 100.3 0 224 0S448 100.3 448 224c0 92.5-56 171.9-136 206.1l.2-1.1c3.1-19.2 6-39.8 7.2-57zm-2.3-38.1c-1.6-5.7-3.9-11.1-7-16.2c-5.8-9.7-13.5-17-21.9-22.4c19.5-17.6 31.8-43 31.8-71.3c0-53-43-96-96-96s-96 43-96 96c0 28.3 12.3 53.8 31.8 71.3c-8.4 5.4-16.1 12.7-21.9 22.4c-3.1 5.1-5.4 10.5-7 16.2C99.8 307.5 80 268 80 224c0-79.5 64.5-144 144-144s144 64.5 144 144c0 44-19.8 83.5-50.9 109.9zM224 312c32.9 0 64 8.6 64 43.8c0 33-12.9 104.1-20.6 132.9c-5.1 19-24.5 23.4-43.4 23.4s-38.2-4.4-43.4-23.4c-7.8-28.5-20.6-99.7-20.6-132.8c0-35.1 31.1-43.8 64-43.8zm0-32c-30.9 0-56-25.1-56-56s25.1-56 56-56s56 25.1 56 56s-25.1 56-56 56z"]
  115391. };
  115392. var faTemperatureFull = {
  115393. prefix: 'fas',
  115394. iconName: 'temperature-full',
  115395. icon: [320, 512, ["temperature-4", "thermometer-4", "thermometer-full"], "f2c7", "M160 64c-26.5 0-48 21.5-48 48V276.5c0 17.3-7.1 31.9-15.3 42.5C86.2 332.6 80 349.5 80 368c0 44.2 35.8 80 80 80s80-35.8 80-80c0-18.5-6.2-35.4-16.7-48.9c-8.2-10.6-15.3-25.2-15.3-42.5V112c0-26.5-21.5-48-48-48zM48 112C48 50.2 98.1 0 160 0s112 50.1 112 112V276.5c0 .1 .1 .3 .2 .6c.2 .6 .8 1.6 1.7 2.8c18.9 24.4 30.1 55 30.1 88.1c0 79.5-64.5 144-144 144S16 447.5 16 368c0-33.2 11.2-63.8 30.1-88.1c.9-1.2 1.5-2.2 1.7-2.8c.1-.3 .2-.5 .2-.6V112zM208 368c0 26.5-21.5 48-48 48s-48-21.5-48-48c0-20.9 13.4-38.7 32-45.3V112c0-8.8 7.2-16 16-16s16 7.2 16 16V322.7c18.6 6.6 32 24.4 32 45.3z"]
  115396. };
  115397. var faTemperature4 = faTemperatureFull;
  115398. var faThermometer4 = faTemperatureFull;
  115399. var faThermometerFull = faTemperatureFull;
  115400. var faBell = {
  115401. prefix: 'fas',
  115402. iconName: 'bell',
  115403. icon: [448, 512, [128276, 61602], "f0f3", "M224 0c-17.7 0-32 14.3-32 32V51.2C119 66 64 130.6 64 208v18.8c0 47-17.3 92.4-48.5 127.6l-7.4 8.3c-8.4 9.4-10.4 22.9-5.3 34.4S19.4 416 32 416H416c12.6 0 24-7.4 29.2-18.9s3.1-25-5.3-34.4l-7.4-8.3C401.3 319.2 384 273.9 384 226.8V208c0-77.4-55-142-128-156.8V32c0-17.7-14.3-32-32-32zm45.3 493.3c12-12 18.7-28.3 18.7-45.3H224 160c0 17 6.7 33.3 18.7 45.3s28.3 18.7 45.3 18.7s33.3-6.7 45.3-18.7z"]
  115404. };
  115405. var faSuperscript = {
  115406. prefix: 'fas',
  115407. iconName: 'superscript',
  115408. icon: [512, 512, [], "f12b", "M480 32c0-11.1-5.7-21.4-15.2-27.2s-21.2-6.4-31.1-1.4l-32 16c-15.8 7.9-22.2 27.1-14.3 42.9C393 73.5 404.3 80 416 80v80c-17.7 0-32 14.3-32 32s14.3 32 32 32h32 32c17.7 0 32-14.3 32-32s-14.3-32-32-32V32zM32 64C14.3 64 0 78.3 0 96s14.3 32 32 32H47.3l89.6 128L47.3 384H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H64c10.4 0 20.2-5.1 26.2-13.6L176 311.8l85.8 122.6c6 8.6 15.8 13.6 26.2 13.6h32c17.7 0 32-14.3 32-32s-14.3-32-32-32H304.7L215.1 256l89.6-128H320c17.7 0 32-14.3 32-32s-14.3-32-32-32H288c-10.4 0-20.2 5.1-26.2 13.6L176 200.2 90.2 77.6C84.2 69.1 74.4 64 64 64H32z"]
  115409. };
  115410. var faPlugCircleXmark = {
  115411. prefix: 'fas',
  115412. iconName: 'plug-circle-xmark',
  115413. icon: [576, 512, [], "e560", "M96 0C78.3 0 64 14.3 64 32v96h64V32c0-17.7-14.3-32-32-32zM288 0c-17.7 0-32 14.3-32 32v96h64V32c0-17.7-14.3-32-32-32zM32 160c-17.7 0-32 14.3-32 32s14.3 32 32 32v32c0 77.4 55 142 128 156.8V480c0 17.7 14.3 32 32 32s32-14.3 32-32V412.8c12.3-2.5 24.1-6.4 35.1-11.5c-2.1-10.8-3.1-21.9-3.1-33.3c0-80.3 53.8-148 127.3-169.2c.5-2.2 .7-4.5 .7-6.8c0-17.7-14.3-32-32-32H32zM432 512c79.5 0 144-64.5 144-144s-64.5-144-144-144s-144 64.5-144 144s64.5 144 144 144zm59.3-180.7L454.6 368l36.7 36.7c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L432 390.6l-36.7 36.7c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6L409.4 368l-36.7-36.7c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L432 345.4l36.7-36.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6z"]
  115414. };
  115415. var faStarOfLife = {
  115416. prefix: 'fas',
  115417. iconName: 'star-of-life',
  115418. icon: [512, 512, [], "f621", "M208 32c0-17.7 14.3-32 32-32h32c17.7 0 32 14.3 32 32V172.9l122-70.4c15.3-8.8 34.9-3.6 43.7 11.7l16 27.7c8.8 15.3 3.6 34.9-11.7 43.7L352 256l122 70.4c15.3 8.8 20.5 28.4 11.7 43.7l-16 27.7c-8.8 15.3-28.4 20.6-43.7 11.7L304 339.1V480c0 17.7-14.3 32-32 32H240c-17.7 0-32-14.3-32-32V339.1L86 409.6c-15.3 8.8-34.9 3.6-43.7-11.7l-16-27.7c-8.8-15.3-3.6-34.9 11.7-43.7L160 256 38 185.6c-15.3-8.8-20.5-28.4-11.7-43.7l16-27.7C51.1 98.8 70.7 93.6 86 102.4l122 70.4V32z"]
  115419. };
  115420. var faPhoneSlash = {
  115421. prefix: 'fas',
  115422. iconName: 'phone-slash',
  115423. icon: [640, 512, [], "f3dd", "M601.2 5.1c10.4-8.2 25.5-6.3 33.7 4.1s6.3 25.5-4.1 33.7l-592 464c-10.4 8.2-25.5 6.3-33.7-4.1s-6.3-25.5 4.1-33.7l155.6-122C101.8 270 64 171.4 64 64c0-18 12.1-33.8 29.5-38.6l88-24c19.4-5.3 39.7 4.6 47.4 23.2l40 96c6.8 16.3 2.1 35.2-11.6 46.3L208 207.3c12 25.5 27.2 49.2 45 70.7L601.2 5.1zM325.7 343.7c13.7 9.1 28 17.3 43 24.3L409 318.7c11.2-13.7 30-18.4 46.3-11.6l96 40c18.6 7.7 28.5 28 23.2 47.4l-24 88C545.8 499.9 530 512 512 512c-104.9 0-201.3-36-277.7-96.4l91.3-72z"]
  115424. };
  115425. var faPaintRoller = {
  115426. prefix: 'fas',
  115427. iconName: 'paint-roller',
  115428. icon: [512, 512, [], "f5aa", "M0 64C0 28.7 28.7 0 64 0H352c35.3 0 64 28.7 64 64v64c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64zM160 352c0-17.7 14.3-32 32-32V304c0-44.2 35.8-80 80-80H416c17.7 0 32-14.3 32-32V160 69.5c37.3 13.2 64 48.7 64 90.5v32c0 53-43 96-96 96H272c-8.8 0-16 7.2-16 16v16c17.7 0 32 14.3 32 32V480c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V352z"]
  115429. };
  115430. var faHandshakeAngle = {
  115431. prefix: 'fas',
  115432. iconName: 'handshake-angle',
  115433. icon: [640, 512, ["hands-helping"], "f4c4", "M543.9 251.4c0-1.1 .1-2.2 .1-3.4c0-48.6-39.4-88-88-88l-40 0H320l-16 0 0 0v16 72c0 22.1-17.9 40-40 40s-40-17.9-40-40V128h.4c4-36 34.5-64 71.6-64H408c2.8 0 5.6 .2 8.3 .5l40.1-40.1c21.9-21.9 57.3-21.9 79.2 0l78.1 78.1c21.9 21.9 21.9 57.3 0 79.2l-69.7 69.7zM192 128V248c0 39.8 32.2 72 72 72s72-32.2 72-72V192h80l40 0c30.9 0 56 25.1 56 56c0 27.2-19.4 49.9-45.2 55c8.2 8.6 13.2 20.2 13.2 33c0 26.5-21.5 48-48 48h-2.7c1.8 5 2.7 10.4 2.7 16c0 26.5-21.5 48-48 48H224c-.9 0-1.8 0-2.7-.1l-37.7 37.7c-21.9 21.9-57.3 21.9-79.2 0L26.3 407.6c-21.9-21.9-21.9-57.3 0-79.2L96 258.7V224c0-53 43-96 96-96z"]
  115434. };
  115435. var faHandsHelping = faHandshakeAngle;
  115436. var faLocationDot = {
  115437. prefix: 'fas',
  115438. iconName: 'location-dot',
  115439. icon: [384, 512, ["map-marker-alt"], "f3c5", "M215.7 499.2C267 435 384 279.4 384 192C384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2c12.3 15.3 35.1 15.3 47.4 0zM192 256c-35.3 0-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64s-28.7 64-64 64z"]
  115440. };
  115441. var faMapMarkerAlt = faLocationDot;
  115442. var faFile = {
  115443. prefix: 'fas',
  115444. iconName: 'file',
  115445. icon: [384, 512, [128196, 128459, 61462], "f15b", "M0 64C0 28.7 28.7 0 64 0H224V128c0 17.7 14.3 32 32 32H384V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64zm384 64H256V0L384 128z"]
  115446. };
  115447. var faGreaterThan = {
  115448. prefix: 'fas',
  115449. iconName: 'greater-than',
  115450. icon: [384, 512, [62769], "3e", "M3.4 81.7c-7.9 15.8-1.5 35 14.3 42.9L280.5 256 17.7 387.4C1.9 395.3-4.5 414.5 3.4 430.3s27.1 22.2 42.9 14.3l320-160c10.8-5.4 17.7-16.5 17.7-28.6s-6.8-23.2-17.7-28.6l-320-160c-15.8-7.9-35-1.5-42.9 14.3z"]
  115451. };
  115452. var faPersonSwimming = {
  115453. prefix: 'fas',
  115454. iconName: 'person-swimming',
  115455. icon: [576, 512, [127946, "swimmer"], "f5c4", "M309.5 178.4L447.9 297.1c-1.6 .9-3.2 2-4.8 3c-18 12.4-40.1 20.3-59.2 20.3c-19.6 0-40.8-7.7-59.2-20.3c-22.1-15.5-51.6-15.5-73.7 0c-17.1 11.8-38 20.3-59.2 20.3c-10.1 0-21.1-2.2-31.9-6.2C163.1 193.2 262.2 96 384 96h64c17.7 0 32 14.3 32 32s-14.3 32-32 32H384c-26.9 0-52.3 6.6-74.5 18.4zM32 160c0-35.3 28.7-64 64-64s64 28.7 64 64s-28.7 64-64 64s-64-28.7-64-64zM306.5 325.9C329 341.4 356.5 352 384 352c26.9 0 55.4-10.8 77.4-26.1l0 0c11.9-8.5 28.1-7.8 39.2 1.7c14.4 11.9 32.5 21 50.6 25.2c17.2 4 27.9 21.2 23.9 38.4s-21.2 27.9-38.4 23.9c-24.5-5.7-44.9-16.5-58.2-25C449.5 405.7 417 416 384 416c-31.9 0-60.6-9.9-80.4-18.9c-5.8-2.7-11.1-5.3-15.6-7.7c-4.5 2.4-9.7 5.1-15.6 7.7c-19.8 9-48.5 18.9-80.4 18.9c-33 0-65.5-10.3-94.5-25.8c-13.4 8.4-33.7 19.3-58.2 25c-17.2 4-34.4-6.7-38.4-23.9s6.7-34.4 23.9-38.4c18.1-4.2 36.2-13.3 50.6-25.2c11.1-9.4 27.3-10.1 39.2-1.7l0 0C136.7 341.2 165.1 352 192 352c27.5 0 55-10.6 77.5-26.1c11.1-7.9 25.9-7.9 37 0z"]
  115456. };
  115457. var faSwimmer = faPersonSwimming;
  115458. var faArrowDown = {
  115459. prefix: 'fas',
  115460. iconName: 'arrow-down',
  115461. icon: [384, 512, [8595], "f063", "M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 370.8 224 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 306.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]
  115462. };
  115463. var faDroplet = {
  115464. prefix: 'fas',
  115465. iconName: 'droplet',
  115466. icon: [384, 512, [128167, "tint"], "f043", "M192 496c97.2 0 176-78.8 176-176c0-74.1-102.3-230.6-150.9-300.7c-12.3-17.7-37.8-17.7-50.1 0C118.3 89.4 16 245.9 16 320c0 97.2 78.8 176 176 176zM112 320c0 44.2 35.8 80 80 80c8.8 0 16 7.2 16 16s-7.2 16-16 16c-61.9 0-112-50.1-112-112c0-8.8 7.2-16 16-16s16 7.2 16 16z"]
  115467. };
  115468. var faTint = faDroplet;
  115469. var faEraser = {
  115470. prefix: 'fas',
  115471. iconName: 'eraser',
  115472. icon: [576, 512, [], "f12d", "M290.7 57.4L57.4 290.7c-25 25-25 65.5 0 90.5l80 80c12 12 28.3 18.7 45.3 18.7H288h9.4H512c17.7 0 32-14.3 32-32s-14.3-32-32-32H387.9L518.6 285.3c25-25 25-65.5 0-90.5L381.3 57.4c-25-25-65.5-25-90.5 0zM297.4 416H288l-105.4 0-80-80L227.3 211.3 364.7 348.7 297.4 416z"]
  115473. };
  115474. var faEarthAmericas = {
  115475. prefix: 'fas',
  115476. iconName: 'earth-americas',
  115477. icon: [512, 512, [127758, "earth", "earth-america", "globe-americas"], "f57d", "M57.7 193l9.4 16.4c8.3 14.5 21.9 25.2 38 29.8L163 255.7c17.2 4.9 29 20.6 29 38.5v39.9c0 11 6.2 21 16 25.9s16 14.9 16 25.9v39c0 15.6 14.9 26.9 29.9 22.6c16.1-4.6 28.6-17.5 32.7-33.8l2.8-11.2c4.2-16.9 15.2-31.4 30.3-40l8.1-4.6c15-8.5 24.2-24.5 24.2-41.7v-8.3c0-12.7-5.1-24.9-14.1-33.9l-3.9-3.9c-9-9-21.2-14.1-33.9-14.1H257c-11.1 0-22.1-2.9-31.8-8.4l-34.5-19.7c-4.3-2.5-7.6-6.5-9.2-11.2c-3.2-9.6 1.1-20 10.2-24.5l5.9-3c6.6-3.3 14.3-3.9 21.3-1.5l23.2 7.7c8.2 2.7 17.2-.4 21.9-7.5c4.7-7 4.2-16.3-1.2-22.8l-13.6-16.3c-10-12-9.9-29.5 .3-41.3l15.7-18.3c8.8-10.3 10.2-25 3.5-36.7l-2.4-4.2c-3.5-.2-6.9-.3-10.4-.3C163.1 48 84.4 108.9 57.7 193zM464 256c0-36.8-9.6-71.4-26.4-101.5L412 164.8c-15.7 6.3-23.8 23.8-18.5 39.8l16.9 50.7c3.5 10.4 12 18.3 22.6 20.9l29.1 7.3c1.2-9 1.8-18.2 1.8-27.5zm48 0c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256z"]
  115478. };
  115479. var faEarth = faEarthAmericas;
  115480. var faEarthAmerica = faEarthAmericas;
  115481. var faGlobeAmericas = faEarthAmericas;
  115482. var faPersonBurst = {
  115483. prefix: 'fas',
  115484. iconName: 'person-burst',
  115485. icon: [640, 512, [], "e53b", "M480 96c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zm-8 384V352h16V480c0 17.7 14.3 32 32 32s32-14.3 32-32V256.9l28.6 47.5c9.1 15.1 28.8 20 43.9 10.9s20-28.8 10.9-43.9l-58.3-97c-17.4-28.9-48.6-46.6-82.3-46.6H465.1c-33.7 0-64.9 17.7-82.3 46.6l-58.3 97c-9.1 15.1-4.2 34.8 10.9 43.9s34.8 4.2 43.9-10.9L408 256.9V480c0 17.7 14.3 32 32 32s32-14.3 32-32zM190.9 18.1C188.4 12 182.6 8 176 8s-12.4 4-14.9 10.1l-29.4 74L55.6 68.9c-6.3-1.9-13.1 .2-17.2 5.3s-4.6 12.2-1.4 17.9l39.5 69.1L10.9 206.4c-5.4 3.7-8 10.3-6.5 16.7s6.7 11.2 13.1 12.2l78.7 12.2L90.6 327c-.5 6.5 3.1 12.7 9 15.5s12.9 1.8 17.8-2.6L176 286.1l58.6 53.9c4.8 4.4 11.9 5.5 17.8 2.6s9.5-9 9-15.5l-5.6-79.4 50.5-7.8 24.4-40.5-55.2-38L315 92.2c3.3-5.7 2.7-12.8-1.4-17.9s-10.9-7.2-17.2-5.3L220.3 92.1l-29.4-74z"]
  115486. };
  115487. var faDove = {
  115488. prefix: 'fas',
  115489. iconName: 'dove',
  115490. icon: [512, 512, [128330], "f4ba", "M160.8 96.5c14 17 31 30.9 49.5 42.2c25.9 15.8 53.7 25.9 77.7 31.6V138.8C265.8 108.5 250 71.5 248.6 28c-.4-11.3-7.5-21.5-18.4-24.4c-7.6-2-15.8-.2-21 5.8c-13.3 15.4-32.7 44.6-48.4 87.2zM320 144v30.6l0 0v1.3l0 0 0 32.1c-60.8-5.1-185-43.8-219.3-157.2C97.4 40 87.9 32 76.6 32c-7.9 0-15.3 3.9-18.8 11C46.8 65.9 32 112.1 32 176c0 116.9 80.1 180.5 118.4 202.8L11.8 416.6C6.7 418 2.6 421.8 .9 426.8s-.8 10.6 2.3 14.8C21.7 466.2 77.3 512 160 512c3.6 0 7.2-1.2 10-3.5L245.6 448H320c88.4 0 160-71.6 160-160V128l29.9-44.9c1.3-2 2.1-4.4 2.1-6.8c0-6.8-5.5-12.3-12.3-12.3H400c-44.2 0-80 35.8-80 80zm80 16c-8.8 0-16-7.2-16-16s7.2-16 16-16s16 7.2 16 16s-7.2 16-16 16z"]
  115491. };
  115492. var faBatteryEmpty = {
  115493. prefix: 'fas',
  115494. iconName: 'battery-empty',
  115495. icon: [576, 512, ["battery-0"], "f244", "M80 96C35.8 96 0 131.8 0 176V336c0 44.2 35.8 80 80 80H464c44.2 0 80-35.8 80-80V320c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32V176c0-44.2-35.8-80-80-80H80zM64 176c0-8.8 7.2-16 16-16H464c8.8 0 16 7.2 16 16V336c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V176z"]
  115496. };
  115497. var faBattery0 = faBatteryEmpty;
  115498. var faSocks = {
  115499. prefix: 'fas',
  115500. iconName: 'socks',
  115501. icon: [512, 512, [129510], "f696", "M175.2 476.6c-9.7-18-15.2-38.7-15.2-60.6c0-40.3 19-78.2 51.2-102.4l64-48c8.1-6 12.8-15.5 12.8-25.6V96H128V240c0 20.1-9.5 39.1-25.6 51.2l-64 48C14.2 357.3 0 385.8 0 416c0 53 43 96 96 96c20.8 0 41-6.7 57.6-19.2l21.6-16.2zM128 64H288V48c0-14.5 3.9-28.2 10.7-39.9C291 3 281.9 0 272 0H176c-26.5 0-48 21.5-48 48V64zM320 96V240c0 20.1-9.5 39.1-25.6 51.2l-64 48C206.2 357.3 192 385.8 192 416c0 53 43 96 96 96c20.8 0 41-6.7 57.6-19.2l115.2-86.4C493 382.2 512 344.3 512 304V96H320zM512 64V48c0-26.5-21.5-48-48-48H368c-26.5 0-48 21.5-48 48V64H512z"]
  115502. };
  115503. var faInbox = {
  115504. prefix: 'fas',
  115505. iconName: 'inbox',
  115506. icon: [512, 512, [], "f01c", "M121 32C91.6 32 66 52 58.9 80.5L1.9 308.4C.6 313.5 0 318.7 0 323.9V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V323.9c0-5.2-.6-10.4-1.9-15.5l-57-227.9C446 52 420.4 32 391 32H121zm0 64H391l48 192H387.8c-12.1 0-23.2 6.8-28.6 17.7l-14.3 28.6c-5.4 10.8-16.5 17.7-28.6 17.7H195.8c-12.1 0-23.2-6.8-28.6-17.7l-14.3-28.6c-5.4-10.8-16.5-17.7-28.6-17.7H73L121 96z"]
  115507. };
  115508. var faSection = {
  115509. prefix: 'fas',
  115510. iconName: 'section',
  115511. icon: [320, 512, [], "e447", "M96.9 96c2.1-11.6 8.7-19.8 21.1-25.4c13.8-6.2 34.8-8.9 61.2-4.5c8.8 1.4 36.1 7.1 44.1 9.3c17 4.8 34.7-5.1 39.5-22.2s-5.1-34.7-22.2-39.5c-11.1-3.1-41-9.2-50.9-10.8c-34.7-5.7-69.4-3.6-98 9.3c-29.8 13.5-52.2 38.6-58 74.1c-.1 .5-.2 1.1-.2 1.6c-2.2 19.7 .3 37.9 8.1 54.1c7.7 16.1 19.4 28 32 36.9c.6 .5 1.3 .9 2 1.4C54.3 194.2 38.5 215.1 33.7 243c-.1 .6-.2 1.1-.2 1.7c-2.3 19.3 .4 37.1 8.4 53c7.9 15.6 19.8 27 32.3 35.5c22.4 15.2 51.9 24 75.4 31l0 0 3.7 1.1c27.2 8.2 46.9 14.6 59.4 23.8c5.5 4 8.2 7.6 9.5 10.9c1.3 3.2 2.6 8.6 .9 18.1c-1.7 10.1-7.7 18-20.7 23.5c-14 6-35.4 8.5-62 4.4c-12.8-2.1-35.1-9.7-54.1-16.2l0 0c-4.3-1.5-8.5-2.9-12.3-4.2c-16.8-5.6-34.9 3.5-40.5 20.3s3.5 34.9 20.3 40.5c2.6 .8 5.7 1.9 9.2 3.1c18.6 6.3 48.5 16.6 67.3 19.6l0 0 .2 0c34.5 5.4 68.8 3.4 97.2-8.7c29.4-12.6 52.5-36.5 58.5-71.5c3.3-19.3 1.9-37.4-5-53.9c-6.3-15-16.4-26.4-27.6-35.2c16.5-13.9 28.5-33.2 32.6-58.2c3.2-19.8 1.9-38.3-4.8-55.1c-6.7-16.8-17.8-29.4-30.2-39c-22.8-17.6-53.6-27.4-77.7-35l-1.4-.5c-27.4-8.7-47.8-15.3-61.5-25c-6.1-4.4-9.5-8.5-11.4-12.4c-1.8-3.7-3.2-9.3-2.3-18.5zm76.7 208.5c-.2-.1-.4-.1-.6-.2l-1.4-.4c-27.4-8.2-47.9-14.5-61.7-23.8c-6.2-4.2-9.3-7.9-11-11.3c-1.5-3-2.9-7.7-2.1-15.7c1.9-9.7 7.9-17.3 20.5-22.7c14-6 35.4-8.5 62.1-4.3l16.4 2.6c6.3 2.9 11.7 6 16.2 9.5c5.5 4.2 8.4 8.2 10 12.2c1.6 4 2.8 10.4 1.1 20.9c-2.4 14.7-12.8 26.4-37.1 31l-12.4 2.3z"]
  115512. };
  115513. var faGaugeHigh = {
  115514. prefix: 'fas',
  115515. iconName: 'gauge-high',
  115516. icon: [512, 512, [62461, "tachometer-alt", "tachometer-alt-fast"], "f625", "M512 256c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM288 96c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zM256 416c35.3 0 64-28.7 64-64c0-17.4-6.9-33.1-18.1-44.6L366 161.7c5.3-12.1-.2-26.3-12.3-31.6s-26.3 .2-31.6 12.3L257.9 288c-.6 0-1.3 0-1.9 0c-35.3 0-64 28.7-64 64s28.7 64 64 64zM176 144c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zM96 288c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm352-32c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32z"]
  115517. };
  115518. var faTachometerAlt = faGaugeHigh;
  115519. var faTachometerAltFast = faGaugeHigh;
  115520. var faEnvelopeOpenText = {
  115521. prefix: 'fas',
  115522. iconName: 'envelope-open-text',
  115523. icon: [512, 512, [], "f658", "M215.4 96H144 107.8 96v8.8V144v40.4 89L.2 202.5c1.6-18.1 10.9-34.9 25.7-45.8L48 140.3V96c0-26.5 21.5-48 48-48h76.6l49.9-36.9C232.2 3.9 243.9 0 256 0s23.8 3.9 33.5 11L339.4 48H416c26.5 0 48 21.5 48 48v44.3l22.1 16.4c14.8 10.9 24.1 27.7 25.7 45.8L416 273.4v-89V144 104.8 96H404.2 368 296.6 215.4zM0 448V242.1L217.6 403.3c11.1 8.2 24.6 12.7 38.4 12.7s27.3-4.4 38.4-12.7L512 242.1V448v0c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64v0zM176 160H336c8.8 0 16 7.2 16 16s-7.2 16-16 16H176c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H336c8.8 0 16 7.2 16 16s-7.2 16-16 16H176c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]
  115524. };
  115525. var faHospital = {
  115526. prefix: 'fas',
  115527. iconName: 'hospital',
  115528. icon: [640, 512, [127973, 62589, "hospital-alt", "hospital-wide"], "f0f8", "M192 48c0-26.5 21.5-48 48-48H400c26.5 0 48 21.5 48 48V512H368V432c0-26.5-21.5-48-48-48s-48 21.5-48 48v80H192V48zM48 96H160V512H48c-26.5 0-48-21.5-48-48V320H80c8.8 0 16-7.2 16-16s-7.2-16-16-16H0V224H80c8.8 0 16-7.2 16-16s-7.2-16-16-16H0V144c0-26.5 21.5-48 48-48zm544 0c26.5 0 48 21.5 48 48v48H560c-8.8 0-16 7.2-16 16s7.2 16 16 16h80v64H560c-8.8 0-16 7.2-16 16s7.2 16 16 16h80V464c0 26.5-21.5 48-48 48H480V96H592zM312 64c-8.8 0-16 7.2-16 16v24H272c-8.8 0-16 7.2-16 16v16c0 8.8 7.2 16 16 16h24v24c0 8.8 7.2 16 16 16h16c8.8 0 16-7.2 16-16V152h24c8.8 0 16-7.2 16-16V120c0-8.8-7.2-16-16-16H344V80c0-8.8-7.2-16-16-16H312z"]
  115529. };
  115530. var faHospitalAlt = faHospital;
  115531. var faHospitalWide = faHospital;
  115532. var faWineBottle = {
  115533. prefix: 'fas',
  115534. iconName: 'wine-bottle',
  115535. icon: [512, 512, [], "f72f", "M393.4 9.4c12.5-12.5 32.8-12.5 45.3 0l64 64c12.5 12.5 12.5 32.8 0 45.3c-11.8 11.8-30.7 12.5-43.2 1.9l-9.5 9.5-48.8 48.8c-9.2 9.2-11.5 22.9-8.6 35.6c9.4 40.9-1.9 85.6-33.8 117.5L197.3 493.3c-25 25-65.5 25-90.5 0l-88-88c-25-25-25-65.5 0-90.5L180.2 153.3c31.9-31.9 76.6-43.1 117.5-33.8c12.6 2.9 26.4 .5 35.5-8.6l48.8-48.8 9.5-9.5c-10.6-12.6-10-31.4 1.9-43.2zM99.3 347.3l65.4 65.4c6.2 6.2 16.4 6.2 22.6 0l97.4-97.4c6.2-6.2 6.2-16.4 0-22.6l-65.4-65.4c-6.2-6.2-16.4-6.2-22.6 0L99.3 324.7c-6.2 6.2-6.2 16.4 0 22.6z"]
  115536. };
  115537. var faChessRook = {
  115538. prefix: 'fas',
  115539. iconName: 'chess-rook',
  115540. icon: [384, 512, [9820], "f447", "M0 204.2V48c0-8.8 7.2-16 16-16H72c8.8 0 16 7.2 16 16V88c0 4.4 3.6 8 8 8h32c4.4 0 8-3.6 8-8V48c0-8.8 7.2-16 16-16h80c8.8 0 16 7.2 16 16V88c0 4.4 3.6 8 8 8h32c4.4 0 8-3.6 8-8V48c0-8.8 7.2-16 16-16h56c8.8 0 16 7.2 16 16V204.2c0 12.1-6.8 23.2-17.7 28.6l-28.6 14.3c-10.8 5.4-17.7 16.5-17.5 28.6C322.2 360.7 336 416 336 416H48s13.8-55.3 15.8-140.2c.3-12.1-6.6-23.2-17.5-28.6L17.7 232.8C6.8 227.4 0 216.3 0 204.2zM176 320h32c8.8 0 16-7.2 16-16V256c0-17.7-14.3-32-32-32s-32 14.3-32 32v48c0 8.8 7.2 16 16 16zM32 448H352c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]
  115541. };
  115542. var faBarsStaggered = {
  115543. prefix: 'fas',
  115544. iconName: 'bars-staggered',
  115545. icon: [512, 512, ["reorder", "stream"], "f550", "M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM64 256c0-17.7 14.3-32 32-32H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H96c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"]
  115546. };
  115547. var faReorder = faBarsStaggered;
  115548. var faStream = faBarsStaggered;
  115549. var faDharmachakra = {
  115550. prefix: 'fas',
  115551. iconName: 'dharmachakra',
  115552. icon: [512, 512, [9784], "f655", "M337.8 205.7l48.6-42.5c13.8 19.3 23.4 41.9 27.4 66.2l-64.4 4.3c-2.4-10.1-6.4-19.5-11.6-28zm140.1 19.5c-5.3-38.8-20.6-74.5-43.2-104.3l.8-.7C449 108.4 449.7 87.6 437 75s-33.4-12-45.2 1.5l-.7 .8c-29.8-22.6-65.5-37.9-104.3-43.2l.1-1.1c1.2-17.9-13-33-30.9-33s-32.1 15.2-30.9 33l.1 1.1c-38.8 5.3-74.5 20.6-104.3 43.2l-.7-.8C108.4 63 87.6 62.3 75 75s-12 33.4 1.5 45.2l.8 .7c-22.6 29.8-37.9 65.5-43.2 104.3l-1.1-.1c-17.9-1.2-33 13-33 30.9s15.2 32.1 33 30.9l1.1-.1c5.3 38.8 20.6 74.5 43.2 104.3l-.8 .7C63 403.6 62.3 424.4 75 437s33.4 12 45.2-1.5l.7-.8c29.8 22.6 65.5 37.9 104.3 43.2l-.1 1.1c-1.2 17.9 13 33 30.9 33s32.1-15.2 30.9-33l-.1-1.1c38.8-5.3 74.5-20.6 104.3-43.2l.7 .8c11.8 13.5 32.5 14.2 45.2 1.5s12-33.4-1.5-45.2l-.8-.7c22.6-29.8 37.9-65.5 43.2-104.3l1.1 .1c17.9 1.2 33-13 33-30.9s-15.2-32.1-33-30.9l-1.1 .1zM163.2 125.6c19.3-13.8 41.9-23.4 66.2-27.5l4.3 64.4c-10 2.4-19.5 6.4-28 11.6l-42.5-48.6zm-65 103.8c4.1-24.4 13.7-46.9 27.5-66.2l48.6 42.5c-5.3 8.5-9.2 18-11.6 28l-64.4-4.3zm27.5 119.4c-13.8-19.3-23.4-41.9-27.5-66.2l64.4-4.3c2.4 10 6.4 19.5 11.6 28l-48.6 42.5zm103.8 65c-24.4-4.1-46.9-13.7-66.2-27.4l42.5-48.6c8.5 5.3 18 9.2 28 11.6l-4.3 64.4zm119.4-27.4c-19.3 13.8-41.9 23.4-66.2 27.4l-4.3-64.4c10-2.4 19.5-6.4 28-11.6l42.5 48.6zm65-103.8c-4.1 24.4-13.7 46.9-27.4 66.2l-48.6-42.5c5.3-8.5 9.2-18 11.6-28l64.4 4.3zm-65-156.9l-42.5 48.6c-8.6-5.3-18-9.2-28-11.6l4.3-64.4c24.4 4.1 46.9 13.7 66.2 27.5zM256 288c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]
  115553. };
  115554. var faHotdog = {
  115555. prefix: 'fas',
  115556. iconName: 'hotdog',
  115557. icon: [512, 512, [127789], "f80f", "M488.6 23.4c31.2 31.2 31.2 81.9 0 113.1l-352 352c-31.2 31.2-81.9 31.2-113.1 0s-31.2-81.9 0-113.1l352-352c31.2-31.2 81.9-31.2 113.1 0zM443.3 92.7c-6.2-6.2-16.4-6.2-22.6 0c-12.5 12.5-23.8 15.1-37.5 17.6l-2.5 .4c-13.8 2.5-31.6 5.6-48 22c-16.7 16.7-20.9 36-24.1 50.9l0 0v0l-.2 1c-3.4 15.6-6 26.4-15.7 36.1s-20.5 12.3-36.1 15.7l-1 .2c-14.9 3.2-34.2 7.4-50.9 24.1s-20.9 36-24.1 50.9l-.2 1c-3.4 15.6-6 26.4-15.7 36.1c-9.2 9.2-18 10.8-32.7 13.4l0 0-.9 .2c-15.6 2.8-34.9 6.9-54.4 26.4c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0c12.5-12.5 23.8-15.1 37.5-17.6l2.5-.4c13.8-2.5 31.6-5.6 48-22c16.7-16.7 20.9-36 24.1-50.9l.2-1c3.4-15.6 6-26.4 15.7-36.1s20.5-12.3 36.1-15.7l1-.2c14.9-3.2 34.2-7.4 50.9-24.1s20.9-36 24.1-50.9l.2-1c3.4-15.6 6-26.4 15.7-36.1c9.2-9.2 18-10.8 32.7-13.4l.9-.2c15.6-2.8 34.9-6.9 54.4-26.4c6.2-6.2 6.2-16.4 0-22.6zM191.2 479.2l288-288L495 207c10.9 10.9 17 25.6 17 41s-6.1 30.1-17 41L289 495c-10.9 10.9-25.6 17-41 17s-30.1-6.1-41-17l-15.8-15.8zM17 305C6.1 294.1 0 279.4 0 264s6.1-30.1 17-41L223 17C233.9 6.1 248.6 0 264 0s30.1 6.1 41 17l15.8 15.8-288 288L17 305z"]
  115558. };
  115559. var faPersonWalkingWithCane = {
  115560. prefix: 'fas',
  115561. iconName: 'person-walking-with-cane',
  115562. icon: [512, 512, ["blind"], "f29d", "M176 96c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zm-8.4 32c-36.4 0-69.6 20.5-85.9 53.1L35.4 273.7c-7.9 15.8-1.5 35 14.3 42.9s35 1.5 42.9-14.3L128 231.6v43.2c0 17 6.7 33.3 18.7 45.3L224 397.3V480c0 17.7 14.3 32 32 32s32-14.3 32-32V390.6c0-12.7-5.1-24.9-14.1-33.9L224 306.7V213.3l70.4 93.9c10.6 14.1 30.7 17 44.8 6.4s17-30.7 6.4-44.8L268.8 166.4C250.7 142.2 222.2 128 192 128H167.6zM128.3 346.8L97 472.2c-4.3 17.1 6.1 34.5 23.3 38.8s34.5-6.1 38.8-23.3l22-88.2-52.8-52.8zM450.8 505.1c5 7.3 15 9.1 22.3 4s9.1-15 4-22.3L358.9 316.1c-2.8 3.8-6.1 7.3-10.1 10.3c-5 3.8-10.5 6.4-16.2 7.9L450.8 505.1z"]
  115563. };
  115564. var faBlind = faPersonWalkingWithCane;
  115565. var faDrum = {
  115566. prefix: 'fas',
  115567. iconName: 'drum',
  115568. icon: [576, 512, [129345], "f569", "M533.2 76.1c11.1-7.3 14.2-22.1 6.9-33.2s-22.1-14.2-33.2-6.9L402.2 104.5C367.8 98.7 329 96 288 96C146.6 96 32 128 32 208V368c0 31.3 27.4 58.8 72 78.7V344c0-13.3 10.7-24 24-24s24 10.7 24 24V463.4c33 8.9 71.1 14.5 112 16.1V376c0-13.3 10.7-24 24-24s24 10.7 24 24V479.5c40.9-1.6 79-7.2 112-16.1V344c0-13.3 10.7-24 24-24s24 10.7 24 24V446.7c44.6-19.9 72-47.4 72-78.7V208c0-41.1-30.2-69.5-78.8-87.4l67.9-44.5zM339.4 145.6l-64.6 42.3c-11.1 7.3-14.2 22.1-6.9 33.2s22.1 14.2 33.2 6.9l111.1-72.8c14.7 3.2 27.9 7 39.4 11.5C490.4 181.8 496 197.4 496 208c0 .8-2.7 17.2-46 35.9C411.1 260.7 354 272 288 272s-123.1-11.3-162-28.1C82.7 225.2 80 208.8 80 208c0-10.6 5.6-26.2 44.4-41.3C162.6 151.9 219.8 144 288 144c18 0 35.1 .5 51.4 1.6z"]
  115569. };
  115570. var faIceCream = {
  115571. prefix: 'fas',
  115572. iconName: 'ice-cream',
  115573. icon: [384, 512, [127848], "f810", "M335.1 160c.6-5.3 .9-10.6 .9-16C336 64.5 271.5 0 192 0S48 64.5 48 144c0 5.4 .3 10.7 .9 16H48c-26.5 0-48 21.5-48 48s21.5 48 48 48h53.5 181H336c26.5 0 48-21.5 48-48s-21.5-48-48-48h-.9zM64 288L168.8 497.7c4.4 8.8 13.3 14.3 23.2 14.3s18.8-5.5 23.2-14.3L320 288H64z"]
  115574. };
  115575. var faHeartCircleBolt = {
  115576. prefix: 'fas',
  115577. iconName: 'heart-circle-bolt',
  115578. icon: [576, 512, [], "e4fc", "M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9l2.6-2.4C267.2 438.6 256 404.6 256 368c0-97.2 78.8-176 176-176c28.3 0 55 6.7 78.7 18.5c.9-6.5 1.3-13 1.3-19.6v-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1v5.8c0 41.5 17.2 81.2 47.6 109.5zM432 512c79.5 0 144-64.5 144-144s-64.5-144-144-144s-144 64.5-144 144s64.5 144 144 144zm47.9-225c4.3 3.7 5.4 9.9 2.6 14.9L452.4 356H488c5.2 0 9.8 3.3 11.4 8.2s-.1 10.3-4.2 13.4l-96 72c-4.5 3.4-10.8 3.2-15.1-.6s-5.4-9.9-2.6-14.9L411.6 380H376c-5.2 0-9.8-3.3-11.4-8.2s.1-10.3 4.2-13.4l96-72c4.5-3.4 10.8-3.2 15.1 .6z"]
  115579. };
  115580. var faFax = {
  115581. prefix: 'fas',
  115582. iconName: 'fax',
  115583. icon: [512, 512, [128224, 128439], "f1ac", "M128 64v96h64V64H386.7L416 93.3V160h64V93.3c0-17-6.7-33.3-18.7-45.3L432 18.7C420 6.7 403.7 0 386.7 0H192c-35.3 0-64 28.7-64 64zM0 160V480c0 17.7 14.3 32 32 32H64c17.7 0 32-14.3 32-32V160c0-17.7-14.3-32-32-32H32c-17.7 0-32 14.3-32 32zm480 32H128V480c0 17.7 14.3 32 32 32H480c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM256 320c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zm160-32c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zM384 448c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zm-96-32c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32z"]
  115584. };
  115585. var faParagraph = {
  115586. prefix: 'fas',
  115587. iconName: 'paragraph',
  115588. icon: [448, 512, [182], "f1dd", "M192 32h64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H384l0 352c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-352H288V448c0 17.7-14.3 32-32 32s-32-14.3-32-32V352H192c-88.4 0-160-71.6-160-160s71.6-160 160-160z"]
  115589. };
  115590. var faCheckToSlot = {
  115591. prefix: 'fas',
  115592. iconName: 'check-to-slot',
  115593. icon: [576, 512, ["vote-yea"], "f772", "M96 80c0-26.5 21.5-48 48-48H432c26.5 0 48 21.5 48 48V384H96V80zm313 47c-9.4-9.4-24.6-9.4-33.9 0l-111 111-47-47c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l64 64c9.4 9.4 24.6 9.4 33.9 0L409 161c9.4-9.4 9.4-24.6 0-33.9zM0 336c0-26.5 21.5-48 48-48H64V416H512V288h16c26.5 0 48 21.5 48 48v96c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V336z"]
  115594. };
  115595. var faVoteYea = faCheckToSlot;
  115596. var faStarHalf = {
  115597. prefix: 'fas',
  115598. iconName: 'star-half',
  115599. icon: [576, 512, [61731], "f089", "M288 0c-12.2 .1-23.3 7-28.6 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3L288 439.8V0zM429.9 512c1.1 .1 2.1 .1 3.2 0h-3.2z"]
  115600. };
  115601. var faBoxesStacked = {
  115602. prefix: 'fas',
  115603. iconName: 'boxes-stacked',
  115604. icon: [576, 512, [62625, "boxes", "boxes-alt"], "f468", "M160 48c0-26.5 21.5-48 48-48h48V80c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V0h48c26.5 0 48 21.5 48 48V176c0 26.5-21.5 48-48 48H208c-26.5 0-48-21.5-48-48V48zM48 288H96v80c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V288h48c26.5 0 48 21.5 48 48V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V336c0-26.5 21.5-48 48-48zm320 0h48v80c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V288h48c26.5 0 48 21.5 48 48V464c0 26.5-21.5 48-48 48H368c-26.5 0-48-21.5-48-48V336c0-26.5 21.5-48 48-48z"]
  115605. };
  115606. var faBoxes = faBoxesStacked;
  115607. var faBoxesAlt = faBoxesStacked;
  115608. var faLink = {
  115609. prefix: 'fas',
  115610. iconName: 'link',
  115611. icon: [640, 512, [128279, "chain"], "f0c1", "M579.8 267.7c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114L422.3 334.8c-31.5 31.5-82.5 31.5-114 0c-27.9-27.9-31.5-71.8-8.6-103.8l1.1-1.6c10.3-14.4 6.9-34.4-7.4-44.6s-34.4-6.9-44.6 7.4l-1.1 1.6C206.5 251.2 213 330 263 380c56.5 56.5 148 56.5 204.5 0L579.8 267.7zM60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5L217.7 177.2c31.5-31.5 82.5-31.5 114 0c27.9 27.9 31.5 71.8 8.6 103.9l-1.1 1.6c-10.3 14.4-6.9 34.4 7.4 44.6s34.4 6.9 44.6-7.4l1.1-1.6C433.5 260.8 427 182 377 132c-56.5-56.5-148-56.5-204.5 0L60.2 244.3z"]
  115612. };
  115613. var faChain = faLink;
  115614. var faEarListen = {
  115615. prefix: 'fas',
  115616. iconName: 'ear-listen',
  115617. icon: [512, 512, ["assistive-listening-systems"], "f2a2", "M398.3 3.4c-15.8-7.9-35-1.5-42.9 14.3c-7.9 15.8-1.5 34.9 14.2 42.9l.4 .2c.4 .2 1.1 .6 2.1 1.2c2 1.2 5 3 8.7 5.6c7.5 5.2 17.6 13.2 27.7 24.2C428.5 113.4 448 146 448 192c0 17.7 14.3 32 32 32s32-14.3 32-32c0-66-28.5-113.4-56.5-143.7C441.6 33.2 427.7 22.2 417.3 15c-5.3-3.7-9.7-6.4-13-8.3c-1.6-1-3-1.7-4-2.2c-.5-.3-.9-.5-1.2-.7l-.4-.2-.2-.1-.1 0 0 0c0 0 0 0-14.3 28.6L398.3 3.4zM128.7 227.5c6.2-56 53.7-99.5 111.3-99.5c61.9 0 112 50.1 112 112c0 29.3-11.2 55.9-29.6 75.9c-17 18.4-34.4 45.1-34.4 78V400c0 26.5-21.5 48-48 48c-17.7 0-32 14.3-32 32s14.3 32 32 32c61.9 0 112-50.1 112-112v-6.1c0-9.8 5.4-21.7 17.4-34.7C398.3 327.9 416 286 416 240c0-97.2-78.8-176-176-176C149.4 64 74.8 132.5 65.1 220.5c-1.9 17.6 10.7 33.4 28.3 35.3s33.4-10.7 35.3-28.3zM32 512c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zM192 352c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zM41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3l64 64c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-64-64c-12.5-12.5-32.8-12.5-45.3 0zM208 240c0-17.7 14.3-32 32-32s32 14.3 32 32c0 13.3 10.7 24 24 24s24-10.7 24-24c0-44.2-35.8-80-80-80s-80 35.8-80 80c0 13.3 10.7 24 24 24s24-10.7 24-24z"]
  115618. };
  115619. var faAssistiveListeningSystems = faEarListen;
  115620. var faTreeCity = {
  115621. prefix: 'fas',
  115622. iconName: 'tree-city',
  115623. icon: [640, 512, [], "e587", "M288 48c0-26.5 21.5-48 48-48h96c26.5 0 48 21.5 48 48V192h40V120c0-13.3 10.7-24 24-24s24 10.7 24 24v72h24c26.5 0 48 21.5 48 48V464c0 26.5-21.5 48-48 48H432 336c-26.5 0-48-21.5-48-48V48zm64 32v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V80c0-8.8-7.2-16-16-16H368c-8.8 0-16 7.2-16 16zm16 80c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V176c0-8.8-7.2-16-16-16H368zM352 272v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16H368c-8.8 0-16 7.2-16 16zm176-16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16H528zM512 368v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V368c0-8.8-7.2-16-16-16H528c-8.8 0-16 7.2-16 16zM224 160c0 6-1 11-2 16c20 14 34 38 34 64c0 45-36 80-80 80H160V480c0 18-15 32-32 32c-18 0-32-14-32-32V320H80c-45 0-80-35-80-80c0-26 13-50 33-64c-1-5-1-10-1-16c0-53 42-96 96-96c53 0 96 43 96 96z"]
  115624. };
  115625. var faPlay = {
  115626. prefix: 'fas',
  115627. iconName: 'play',
  115628. icon: [384, 512, [9654], "f04b", "M73 39c-14.8-9.1-33.4-9.4-48.5-.9S0 62.6 0 80V432c0 17.4 9.4 33.4 24.5 41.9s33.7 8.1 48.5-.9L361 297c14.3-8.7 23-24.2 23-41s-8.7-32.2-23-41L73 39z"]
  115629. };
  115630. var faFont = {
  115631. prefix: 'fas',
  115632. iconName: 'font',
  115633. icon: [448, 512, [], "f031", "M254 52.8C249.3 40.3 237.3 32 224 32s-25.3 8.3-30 20.8L57.8 416H32c-17.7 0-32 14.3-32 32s14.3 32 32 32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32h-1.8l18-48H303.8l18 48H320c-17.7 0-32 14.3-32 32s14.3 32 32 32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H390.2L254 52.8zM279.8 304H168.2L224 155.1 279.8 304z"]
  115634. };
  115635. var faRupiahSign = {
  115636. prefix: 'fas',
  115637. iconName: 'rupiah-sign',
  115638. icon: [512, 512, [], "e23d", "M0 64C0 46.3 14.3 32 32 32h80c79.5 0 144 64.5 144 144c0 58.8-35.2 109.3-85.7 131.7l51.4 128.4c6.6 16.4-1.4 35-17.8 41.6s-35-1.4-41.6-17.8L106.3 320H64V448c0 17.7-14.3 32-32 32s-32-14.3-32-32V288 64zM64 256h48c44.2 0 80-35.8 80-80s-35.8-80-80-80H64V256zm256-96h80c61.9 0 112 50.1 112 112s-50.1 112-112 112H352v96c0 17.7-14.3 32-32 32s-32-14.3-32-32V352 192c0-17.7 14.3-32 32-32zm80 160c26.5 0 48-21.5 48-48s-21.5-48-48-48H352v96h48z"]
  115639. };
  115640. var faMagnifyingGlass = {
  115641. prefix: 'fas',
  115642. iconName: 'magnifying-glass',
  115643. icon: [512, 512, [128269, "search"], "f002", "M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352c79.5 0 144-64.5 144-144s-64.5-144-144-144S64 128.5 64 208s64.5 144 144 144z"]
  115644. };
  115645. var faSearch = faMagnifyingGlass;
  115646. var faTableTennisPaddleBall = {
  115647. prefix: 'fas',
  115648. iconName: 'table-tennis-paddle-ball',
  115649. icon: [512, 512, [127955, "ping-pong-paddle-ball", "table-tennis"], "f45d", "M416 288c-50.1 0-93.6 28.8-114.6 70.8L68.9 126.3l.6-.6 60.1-60.1c87.5-87.5 229.3-87.5 316.8 0c67.1 67.1 82.7 166.3 46.8 248.3C471.8 297.6 445 288 416 288zM49.3 151.9L290.1 392.7c-1.4 7.5-2.1 15.3-2.1 23.3c0 23.2 6.2 44.9 16.9 63.7c-3 .2-6.1 .3-9.2 .3H293c-33.9 0-66.5-13.5-90.5-37.5l-9.8-9.8c-13.1-13.1-34.6-12.4-46.8 1.7L88.2 501c-5.8 6.7-14.2 10.7-23 11s-17.5-3.1-23.8-9.4l-32-32C3.1 464.3-.3 455.7 0 446.9s4.3-17.2 11-23l66.6-57.7c14-12.2 14.8-33.7 1.7-46.8l-9.8-9.8C45.5 285.5 32 252.9 32 219v-2.7c0-22.8 6.1-44.9 17.3-64.3zM416 512c-53 0-96-43-96-96s43-96 96-96s96 43 96 96s-43 96-96 96z"]
  115650. };
  115651. var faPingPongPaddleBall = faTableTennisPaddleBall;
  115652. var faTableTennis = faTableTennisPaddleBall;
  115653. var faPersonDotsFromLine = {
  115654. prefix: 'fas',
  115655. iconName: 'person-dots-from-line',
  115656. icon: [576, 512, ["diagnoses"], "f470", "M288 176c48.6 0 88-39.4 88-88s-39.4-88-88-88s-88 39.4-88 88s39.4 88 88 88zM78.7 372.9c15-12.5 50-34.4 97.3-50.1V432H400V322.7c47.3 15.8 82.3 37.7 97.3 50.1c20.4 17 50.6 14.2 67.6-6.1s14.2-50.6-6.1-67.6c-12-10-30.1-22.5-53.2-35C497.2 278.4 481.7 288 464 288c-26.5 0-48-21.5-48-48c0-4.3 .6-8.4 1.6-12.4C379.1 215.9 335.3 208 288 208c-60.2 0-114.9 12.9-160 29.9c0 .7 0 1.4 0 2.1c0 26.5-21.5 48-48 48c-11.8 0-22.7-4.3-31-11.4c-13.1 8.1-23.7 15.9-31.7 22.5c-20.4 17-23.1 47.2-6.1 67.6s47.2 23.1 67.6 6.1zM24 464c-13.3 0-24 10.7-24 24s10.7 24 24 24H552c13.3 0 24-10.7 24-24s-10.7-24-24-24H24zM272 280c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24zm56 104c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zM96 240c0-8.8-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16s16-7.2 16-16zm368 16c8.8 0 16-7.2 16-16s-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16z"]
  115657. };
  115658. var faDiagnoses = faPersonDotsFromLine;
  115659. var faTrashCanArrowUp = {
  115660. prefix: 'fas',
  115661. iconName: 'trash-can-arrow-up',
  115662. icon: [448, 512, ["trash-restore-alt"], "f82a", "M163.8 0H284.2c12.1 0 23.2 6.8 28.6 17.7L320 32h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 96 0 81.7 0 64S14.3 32 32 32h96l7.2-14.3C140.6 6.8 151.7 0 163.8 0zM32 128H416V448c0 35.3-28.7 64-64 64H96c-35.3 0-64-28.7-64-64V128zm192 64c-6.4 0-12.5 2.5-17 7l-80 80c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l39-39V408c0 13.3 10.7 24 24 24s24-10.7 24-24V273.9l39 39c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-80-80c-4.5-4.5-10.6-7-17-7z"]
  115663. };
  115664. var faTrashRestoreAlt = faTrashCanArrowUp;
  115665. var faNairaSign = {
  115666. prefix: 'fas',
  115667. iconName: 'naira-sign',
  115668. icon: [448, 512, [], "e1f6", "M122.6 46.3c-7.8-11.7-22.4-17-35.9-12.9S64 49.9 64 64V256H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H64V448c0 17.7 14.3 32 32 32s32-14.3 32-32V320H228.2l97.2 145.8c7.8 11.7 22.4 17 35.9 12.9s22.7-16.5 22.7-30.6V320h32c17.7 0 32-14.3 32-32s-14.3-32-32-32H384V64c0-17.7-14.3-32-32-32s-32 14.3-32 32V256H262.5L122.6 46.3zM305.1 320H320v22.3L305.1 320zM185.5 256H128V169.7L185.5 256z"]
  115669. };
  115670. var faCartArrowDown = {
  115671. prefix: 'fas',
  115672. iconName: 'cart-arrow-down',
  115673. icon: [576, 512, [], "f218", "M0 24C0 10.7 10.7 0 24 0H96c11.5 0 21.4 8.2 23.6 19.5L122 32H312V134.1l-23-23c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l64 64c9.4 9.4 24.6 9.4 33.9 0l64-64c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-23 23V32H541.8c21.2 0 36.5 20.3 30.8 40.7l-54 192c-3.9 13.8-16.5 23.3-30.8 23.3h-317l9.1 48H488c13.3 0 24 10.7 24 24s-10.7 24-24 24H160c-11.5 0-21.4-8.2-23.6-19.5L76.1 48H24C10.7 48 0 37.3 0 24zM224 464c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zm240 48c-26.5 0-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48z"]
  115674. };
  115675. var faWalkieTalkie = {
  115676. prefix: 'fas',
  115677. iconName: 'walkie-talkie',
  115678. icon: [384, 512, [], "f8ef", "M112 24c0-13.3-10.7-24-24-24S64 10.7 64 24V96H48C21.5 96 0 117.5 0 144V300.1c0 12.7 5.1 24.9 14.1 33.9l3.9 3.9c9 9 14.1 21.2 14.1 33.9V464c0 26.5 21.5 48 48 48H304c26.5 0 48-21.5 48-48V371.9c0-12.7 5.1-24.9 14.1-33.9l3.9-3.9c9-9 14.1-21.2 14.1-33.9V144c0-26.5-21.5-48-48-48H320c0-17.7-14.3-32-32-32s-32 14.3-32 32H224c0-17.7-14.3-32-32-32s-32 14.3-32 32H112V24zm0 136H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]
  115679. };
  115680. var faFilePen = {
  115681. prefix: 'fas',
  115682. iconName: 'file-pen',
  115683. icon: [576, 512, [128221, "file-edit"], "f31c", "M0 64C0 28.7 28.7 0 64 0H224V128c0 17.7 14.3 32 32 32H384V285.7l-86.8 86.8c-10.3 10.3-17.5 23.1-21 37.2l-18.7 74.9c-2.3 9.2-1.8 18.8 1.3 27.5H64c-35.3 0-64-28.7-64-64V64zm384 64H256V0L384 128zM549.8 235.7l14.4 14.4c15.6 15.6 15.6 40.9 0 56.6l-29.4 29.4-71-71 29.4-29.4c15.6-15.6 40.9-15.6 56.6 0zM311.9 417L441.1 287.8l71 71L382.9 487.9c-4.1 4.1-9.2 7-14.9 8.4l-60.1 15c-5.5 1.4-11.2-.2-15.2-4.2s-5.6-9.7-4.2-15.2l15-60.1c1.4-5.6 4.3-10.8 8.4-14.9z"]
  115684. };
  115685. var faFileEdit = faFilePen;
  115686. var faReceipt = {
  115687. prefix: 'fas',
  115688. iconName: 'receipt',
  115689. icon: [384, 512, [129534], "f543", "M14 2.2C22.5-1.7 32.5-.3 39.6 5.8L80 40.4 120.4 5.8c9-7.7 22.3-7.7 31.2 0L192 40.4 232.4 5.8c9-7.7 22.2-7.7 31.2 0L304 40.4 344.4 5.8c7.1-6.1 17.1-7.5 25.6-3.6s14 12.4 14 21.8V488c0 9.4-5.5 17.9-14 21.8s-18.5 2.5-25.6-3.6L304 471.6l-40.4 34.6c-9 7.7-22.2 7.7-31.2 0L192 471.6l-40.4 34.6c-9 7.7-22.3 7.7-31.2 0L80 471.6 39.6 506.2c-7.1 6.1-17.1 7.5-25.6 3.6S0 497.4 0 488V24C0 14.6 5.5 6.1 14 2.2zM96 144c-8.8 0-16 7.2-16 16s7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96zM80 352c0 8.8 7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96c-8.8 0-16 7.2-16 16zM96 240c-8.8 0-16 7.2-16 16s7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96z"]
  115690. };
  115691. var faSquarePen = {
  115692. prefix: 'fas',
  115693. iconName: 'square-pen',
  115694. icon: [448, 512, ["pen-square", "pencil-square"], "f14b", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM325.8 139.7l14.4 14.4c15.6 15.6 15.6 40.9 0 56.6l-21.4 21.4-71-71 21.4-21.4c15.6-15.6 40.9-15.6 56.6 0zM119.9 289L225.1 183.8l71 71L190.9 359.9c-4.1 4.1-9.2 7-14.9 8.4l-60.1 15c-5.5 1.4-11.2-.2-15.2-4.2s-5.6-9.7-4.2-15.2l15-60.1c1.4-5.6 4.3-10.8 8.4-14.9z"]
  115695. };
  115696. var faPenSquare = faSquarePen;
  115697. var faPencilSquare = faSquarePen;
  115698. var faSuitcaseRolling = {
  115699. prefix: 'fas',
  115700. iconName: 'suitcase-rolling',
  115701. icon: [384, 512, [], "f5c1", "M144 56c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v72H144V56zm176 72H288V56c0-30.9-25.1-56-56-56H152C121.1 0 96 25.1 96 56v72H64c-35.3 0-64 28.7-64 64V416c0 35.3 28.7 64 64 64c0 17.7 14.3 32 32 32s32-14.3 32-32H256c0 17.7 14.3 32 32 32s32-14.3 32-32c35.3 0 64-28.7 64-64V192c0-35.3-28.7-64-64-64zM112 224H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 128H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]
  115702. };
  115703. var faPersonCircleExclamation = {
  115704. prefix: 'fas',
  115705. iconName: 'person-circle-exclamation',
  115706. icon: [576, 512, [], "e53f", "M208 48c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zM152 352V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V256.9L59.4 304.5c-9.1 15.1-28.8 20-43.9 10.9s-20-28.8-10.9-43.9l58.3-97c17.4-28.9 48.6-46.6 82.3-46.6h29.7c33.7 0 64.9 17.7 82.3 46.6l44.9 74.7c-16.1 17.6-28.6 38.5-36.6 61.5c-1.9-1.8-3.5-3.9-4.9-6.3L232 256.9V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V352H152zM432 512c-79.5 0-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144zm0-48c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24zm0-192c-8.8 0-16 7.2-16 16v80c0 8.8 7.2 16 16 16s16-7.2 16-16V288c0-8.8-7.2-16-16-16z"]
  115707. };
  115708. var faChevronDown = {
  115709. prefix: 'fas',
  115710. iconName: 'chevron-down',
  115711. icon: [512, 512, [], "f078", "M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]
  115712. };
  115713. var faBatteryFull = {
  115714. prefix: 'fas',
  115715. iconName: 'battery-full',
  115716. icon: [576, 512, [128267, "battery", "battery-5"], "f240", "M0 176c0-44.2 35.8-80 80-80H464c44.2 0 80 35.8 80 80v16c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32v16c0 44.2-35.8 80-80 80H80c-44.2 0-80-35.8-80-80V176zm80-16c-8.8 0-16 7.2-16 16V336c0 8.8 7.2 16 16 16H464c8.8 0 16-7.2 16-16V176c0-8.8-7.2-16-16-16H80zm368 32V320H96V192H448z"]
  115717. };
  115718. var faBattery = faBatteryFull;
  115719. var faBattery5 = faBatteryFull;
  115720. var faSkullCrossbones = {
  115721. prefix: 'fas',
  115722. iconName: 'skull-crossbones',
  115723. icon: [512, 512, [128369, 9760], "f714", "M400 128c0 44.4-25.4 83.5-64 106.4V256c0 17.7-14.3 32-32 32H208c-17.7 0-32-14.3-32-32V234.4c-38.6-23-64-62.1-64-106.4C112 57.3 176.5 0 256 0s144 57.3 144 128zM200 176c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm144-32c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zM35.4 273.7c7.9-15.8 27.1-22.2 42.9-14.3L256 348.2l177.7-88.8c15.8-7.9 35-1.5 42.9 14.3s1.5 35-14.3 42.9L327.6 384l134.8 67.4c15.8 7.9 22.2 27.1 14.3 42.9s-27.1 22.2-42.9 14.3L256 419.8 78.3 508.6c-15.8 7.9-35 1.5-42.9-14.3s-1.5-35 14.3-42.9L184.4 384 49.7 316.6c-15.8-7.9-22.2-27.1-14.3-42.9z"]
  115724. };
  115725. var faCodeCompare = {
  115726. prefix: 'fas',
  115727. iconName: 'code-compare',
  115728. icon: [512, 512, [], "e13a", "M320 488c0 9.5-5.6 18.1-14.2 21.9s-18.8 2.3-25.8-4.1l-80-72c-5.1-4.6-7.9-11-7.9-17.8s2.9-13.3 7.9-17.8l80-72c7-6.3 17.2-7.9 25.8-4.1s14.2 12.4 14.2 21.9v40h16c35.3 0 64-28.7 64-64V153.3C371.7 141 352 112.8 352 80c0-44.2 35.8-80 80-80s80 35.8 80 80c0 32.8-19.7 61-48 73.3V320c0 70.7-57.3 128-128 128H320v40zM456 80c0-13.3-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24s24-10.7 24-24zM192 24c0-9.5 5.6-18.1 14.2-21.9s18.8-2.3 25.8 4.1l80 72c5.1 4.6 7.9 11 7.9 17.8s-2.9 13.3-7.9 17.8l-80 72c-7 6.3-17.2 7.9-25.8 4.1s-14.2-12.4-14.2-21.9V128H176c-35.3 0-64 28.7-64 64V358.7c28.3 12.3 48 40.5 48 73.3c0 44.2-35.8 80-80 80s-80-35.8-80-80c0-32.8 19.7-61 48-73.3V192c0-70.7 57.3-128 128-128h16V24zM56 432c0 13.3 10.7 24 24 24s24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24z"]
  115729. };
  115730. var faListUl = {
  115731. prefix: 'fas',
  115732. iconName: 'list-ul',
  115733. icon: [512, 512, ["list-dots"], "f0ca", "M64 144c26.5 0 48-21.5 48-48s-21.5-48-48-48S16 69.5 16 96s21.5 48 48 48zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zM64 464c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zm48-208c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48z"]
  115734. };
  115735. var faListDots = faListUl;
  115736. var faSchoolLock = {
  115737. prefix: 'fas',
  115738. iconName: 'school-lock',
  115739. icon: [640, 512, [], "e56f", "M302.2 5.4c10.7-7.2 24.8-7.2 35.5 0l139 92.7L602.4 126c22 4.9 37.6 24.4 37.6 46.9V272c0-61.9-50.1-112-112-112s-112 50.1-112 112v24.6c-19.1 11.1-32 31.7-32 55.4H320.3l-.3 0c-35.3 0-64 28.7-64 64v96h64v0H48c-26.5 0-48-21.5-48-48V172.8c0-22.5 15.6-42 37.6-46.9L163.2 98.1l139-92.7zM80 208v64c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V208c0-8.8-7.2-16-16-16H96c-8.8 0-16 7.2-16 16zm0 128v64c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V336c0-8.8-7.2-16-16-16H96c-8.8 0-16 7.2-16 16zm240-72c48.6 0 88-39.4 88-88s-39.4-88-88-88s-88 39.4-88 88s39.4 88 88 88zm16-120v16h16c8.8 0 16 7.2 16 16s-7.2 16-16 16H320c-8.8 0-16-7.2-16-16V144c0-8.8 7.2-16 16-16s16 7.2 16 16zm192 96c-17.7 0-32 14.3-32 32v48h64V272c0-17.7-14.3-32-32-32zm-80 32c0-44.2 35.8-80 80-80s80 35.8 80 80v48c17.7 0 32 14.3 32 32V480c0 17.7-14.3 32-32 32H448c-17.7 0-32-14.3-32-32V352c0-17.7 14.3-32 32-32V272z"]
  115740. };
  115741. var faTowerCell = {
  115742. prefix: 'fas',
  115743. iconName: 'tower-cell',
  115744. icon: [576, 512, [], "e585", "M62.6 2.3C46.2-4.3 27.6 3.6 20.9 20C7.4 53.4 0 89.9 0 128s7.4 74.6 20.9 108c6.6 16.4 25.3 24.3 41.7 17.7S86.9 228.4 80.3 212C69.8 186.1 64 157.8 64 128s5.8-58.1 16.3-84C86.9 27.6 79 9 62.6 2.3zm450.8 0C497 9 489.1 27.6 495.7 44C506.2 69.9 512 98.2 512 128s-5.8 58.1-16.3 84c-6.6 16.4 1.3 35 17.7 41.7s35-1.3 41.7-17.7c13.5-33.4 20.9-69.9 20.9-108s-7.4-74.6-20.9-108C548.4 3.6 529.8-4.3 513.4 2.3zM340.1 165.2c7.5-10.5 11.9-23.3 11.9-37.2c0-35.3-28.7-64-64-64s-64 28.7-64 64c0 13.9 4.4 26.7 11.9 37.2L98.9 466.8c-7.3 16.1-.2 35.1 15.9 42.4s35.1 .2 42.4-15.9L177.7 448H398.3l20.6 45.2c7.3 16.1 26.3 23.2 42.4 15.9s23.2-26.3 15.9-42.4L340.1 165.2zM369.2 384H206.8l14.5-32H354.7l14.5 32zM288 205.3L325.6 288H250.4L288 205.3zM163.3 73.6c5.3-12.1-.2-26.3-12.4-31.6s-26.3 .2-31.6 12.4C109.5 77 104 101.9 104 128s5.5 51 15.3 73.6c5.3 12.1 19.5 17.7 31.6 12.4s17.7-19.5 12.4-31.6C156 165.8 152 147.4 152 128s4-37.8 11.3-54.4zM456.7 54.4c-5.3-12.1-19.5-17.7-31.6-12.4s-17.7 19.5-12.4 31.6C420 90.2 424 108.6 424 128s-4 37.8-11.3 54.4c-5.3 12.1 .2 26.3 12.4 31.6s26.3-.2 31.6-12.4C466.5 179 472 154.1 472 128s-5.5-51-15.3-73.6z"]
  115745. };
  115746. var faDownLong = {
  115747. prefix: 'fas',
  115748. iconName: 'down-long',
  115749. icon: [320, 512, ["long-arrow-alt-down"], "f309", "M318 334.5c3.8 8.8 2 19-4.6 26l-136 144c-4.5 4.8-10.8 7.5-17.4 7.5s-12.9-2.7-17.4-7.5l-136-144c-6.6-7-8.4-17.2-4.6-26S14.4 320 24 320h88l0-288c0-17.7 14.3-32 32-32h32c17.7 0 32 14.3 32 32l0 288h88c9.6 0 18.2 5.7 22 14.5z"]
  115750. };
  115751. var faLongArrowAltDown = faDownLong;
  115752. var faRankingStar = {
  115753. prefix: 'fas',
  115754. iconName: 'ranking-star',
  115755. icon: [640, 512, [], "e561", "M353.8 54.1L330.2 6.3c-3.9-8.3-16.1-8.6-20.4 0L286.2 54.1l-52.3 7.5c-9.3 1.4-13.3 12.9-6.4 19.8l38 37-9 52.1c-1.4 9.3 8.2 16.5 16.8 12.2l46.9-24.8 46.6 24.4c8.6 4.3 18.3-2.9 16.8-12.2l-9-52.1 38-36.6c6.8-6.8 2.9-18.3-6.4-19.8l-52.3-7.5zM256 256c-17.7 0-32 14.3-32 32V480c0 17.7 14.3 32 32 32H384c17.7 0 32-14.3 32-32V288c0-17.7-14.3-32-32-32H256zM32 320c-17.7 0-32 14.3-32 32V480c0 17.7 14.3 32 32 32H160c17.7 0 32-14.3 32-32V352c0-17.7-14.3-32-32-32H32zm416 96v64c0 17.7 14.3 32 32 32H608c17.7 0 32-14.3 32-32V416c0-17.7-14.3-32-32-32H480c-17.7 0-32 14.3-32 32z"]
  115756. };
  115757. var faChessKing = {
  115758. prefix: 'fas',
  115759. iconName: 'chess-king',
  115760. icon: [448, 512, [9818], "f43f", "M224 0c17.7 0 32 14.3 32 32V48h16c17.7 0 32 14.3 32 32s-14.3 32-32 32H256v48H416c10.3 0 19.9 4.9 26 13.3s7.7 19.1 4.4 28.8L375.1 416H72.9L1.6 202.1C-1.6 192.4 0 181.6 6 173.3s15.7-13.3 26-13.3H192V112H176c-17.7 0-32-14.3-32-32s14.3-32 32-32h16V32c0-17.7 14.3-32 32-32zM32 480c0-17.7 14.3-32 32-32H83.6 364.4 384c17.7 0 32 14.3 32 32s-14.3 32-32 32H320 128 64c-17.7 0-32-14.3-32-32z"]
  115761. };
  115762. var faPersonHarassing = {
  115763. prefix: 'fas',
  115764. iconName: 'person-harassing',
  115765. icon: [576, 512, [], "e549", "M192 96c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zM59.4 304.5L88 256.9V480c0 17.7 14.3 32 32 32s32-14.3 32-32V352h16V480c0 17.7 14.3 32 32 32s32-14.3 32-32V235.3l47.4 57.1c11.3 13.6 31.5 15.5 45.1 4.2s15.5-31.5 4.2-45.1l-73.7-88.9c-18.2-22-45.3-34.7-73.9-34.7H145.1c-33.7 0-64.9 17.7-82.3 46.6l-58.3 97c-9.1 15.1-4.2 34.8 10.9 43.9s34.8 4.2 43.9-10.9zM480 240c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM464 344v58.7l-41.4-41.4c-7.3-7.3-17.6-10.6-27.8-9s-18.9 8.1-23.5 17.3l-48 96c-7.9 15.8-1.5 35 14.3 42.9s35 1.5 42.9-14.3L408.8 438l54.7 54.7c12.4 12.4 29.1 19.3 46.6 19.3c36.4 0 65.9-29.5 65.9-65.9V344c0-30.9-25.1-56-56-56s-56 25.1-56 56zM288 48c0 8.8 7.2 16 16 16h56c8.8 0 16-7.2 16-16s-7.2-16-16-16H304c-8.8 0-16 7.2-16 16zm-.8 49.7c-7.9-4-17.5-.7-21.5 7.2s-.7 17.5 7.2 21.5l48 24c7.9 4 17.5 .7 21.5-7.2s.7-17.5-7.2-21.5l-48-24z"]
  115766. };
  115767. var faBrazilianRealSign = {
  115768. prefix: 'fas',
  115769. iconName: 'brazilian-real-sign',
  115770. icon: [512, 512, [], "e46c", "M400 0c17.7 0 32 14.3 32 32V50.2c12.5 2.3 24.7 6.4 36.2 12.1l10.1 5.1c15.8 7.9 22.2 27.1 14.3 42.9s-27.1 22.2-42.9 14.3l-10.2-5.1c-9.9-5-20.9-7.5-32-7.5h-1.7c-29.8 0-53.9 24.1-53.9 53.9c0 22 13.4 41.8 33.9 50l52 20.8c44.7 17.9 74.1 61.2 74.1 109.4v3.4c0 51.2-33.6 94.6-80 109.2V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V460.6c-15-3.5-29.4-9.7-42.3-18.3l-23.4-15.6c-14.7-9.8-18.7-29.7-8.9-44.4s29.7-18.7 44.4-8.9L361.2 389c10.8 7.2 23.4 11 36.3 11c27.9 0 50.5-22.6 50.5-50.5v-3.4c0-22-13.4-41.8-33.9-50l-52-20.8C317.3 257.4 288 214.1 288 165.9C288 114 321.5 70 368 54.2V32c0-17.7 14.3-32 32-32zM0 64C0 46.3 14.3 32 32 32h80c79.5 0 144 64.5 144 144c0 58.8-35.2 109.3-85.7 131.7l51.4 128.4c6.6 16.4-1.4 35-17.8 41.6s-35-1.4-41.6-17.8L106.3 320H64V448c0 17.7-14.3 32-32 32s-32-14.3-32-32V288 64zM64 256h48c44.2 0 80-35.8 80-80s-35.8-80-80-80H64V256z"]
  115771. };
  115772. var faLandmarkDome = {
  115773. prefix: 'fas',
  115774. iconName: 'landmark-dome',
  115775. icon: [512, 512, ["landmark-alt"], "f752", "M248 0h16c13.3 0 24 10.7 24 24V34.7C368.4 48.1 431.9 111.6 445.3 192H448c17.7 0 32 14.3 32 32s-14.3 32-32 32H64c-17.7 0-32-14.3-32-32s14.3-32 32-32h2.7C80.1 111.6 143.6 48.1 224 34.7V24c0-13.3 10.7-24 24-24zM64 288h64V416h40V288h64V416h48V288h64V416h40V288h64V420.3c.6 .3 1.2 .7 1.7 1.1l48 32c11.7 7.8 17 22.4 12.9 35.9S494.1 512 480 512H32c-14.1 0-26.5-9.2-30.6-22.7s1.1-28.1 12.9-35.9l48-32c.6-.4 1.2-.7 1.8-1.1V288z"]
  115776. };
  115777. var faLandmarkAlt = faLandmarkDome;
  115778. var faArrowUp = {
  115779. prefix: 'fas',
  115780. iconName: 'arrow-up',
  115781. icon: [384, 512, [8593], "f062", "M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.2L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"]
  115782. };
  115783. var faTv = {
  115784. prefix: 'fas',
  115785. iconName: 'tv',
  115786. icon: [640, 512, [63717, "television", "tv-alt"], "f26c", "M64 64V352H576V64H64zM0 64C0 28.7 28.7 0 64 0H576c35.3 0 64 28.7 64 64V352c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64zM128 448H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H128c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]
  115787. };
  115788. var faTelevision = faTv;
  115789. var faTvAlt = faTv;
  115790. var faShrimp = {
  115791. prefix: 'fas',
  115792. iconName: 'shrimp',
  115793. icon: [512, 512, [129424], "e448", "M64 32C28.7 32 0 60.7 0 96s28.7 64 64 64h1c3.7 88.9 77 160 167 160h56V128H264 88.8 64c-17.7 0-32-14.3-32-32s14.3-32 32-32H464c8.8 0 16-7.2 16-16s-7.2-16-16-16H64zM224 456c0 13.3 10.7 24 24 24h72V407.8l-64.1-22.4c-12.5-4.4-26.2 2.2-30.6 14.7s2.2 26.2 14.7 30.6l4.5 1.6C233 433.9 224 443.9 224 456zm128 23.3c36.4-3.3 69.5-17.6 96.1-39.6l-86.5-34.6c-3 1.8-6.2 3.2-9.6 4.3v69.9zM472.6 415c24.6-30.3 39.4-68.9 39.4-111c0-12.3-1.3-24.3-3.7-35.9L382.8 355.1c.8 3.4 1.2 7 1.2 10.6c0 4.6-.7 9-1.9 13.1L472.6 415zM336 128H320V320h18.3c9.9 0 19.1 3.2 26.6 8.5l133.5-92.4C471.8 172.6 409.1 128 336 128zM216 192c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24z"]
  115794. };
  115795. var faListCheck = {
  115796. prefix: 'fas',
  115797. iconName: 'list-check',
  115798. icon: [576, 512, ["tasks"], "f0ae", "M184.1 38.2c9.9 8.9 10.7 24 1.8 33.9l-72 80c-4.4 4.9-10.6 7.8-17.2 7.9s-12.9-2.4-17.6-7L39 113c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l22.1 22.1 55.1-61.2c8.9-9.9 24-10.7 33.9-1.8zm0 160c9.9 8.9 10.7 24 1.8 33.9l-72 80c-4.4 4.9-10.6 7.8-17.2 7.9s-12.9-2.4-17.6-7L39 273c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l22.1 22.1 55.1-61.2c8.9-9.9 24-10.7 33.9-1.8zM256 96c0-17.7 14.3-32 32-32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H288c-17.7 0-32-14.3-32-32zm0 160c0-17.7 14.3-32 32-32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H288c-17.7 0-32-14.3-32-32zM192 416c0-17.7 14.3-32 32-32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H224c-17.7 0-32-14.3-32-32zM80 464c-26.5 0-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48z"]
  115799. };
  115800. var faTasks = faListCheck;
  115801. var faJugDetergent = {
  115802. prefix: 'fas',
  115803. iconName: 'jug-detergent',
  115804. icon: [384, 512, [], "e519", "M96 24c0-13.3 10.7-24 24-24h80c13.3 0 24 10.7 24 24V48h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H88C74.7 96 64 85.3 64 72s10.7-24 24-24h8V24zM0 256c0-70.7 57.3-128 128-128H256c70.7 0 128 57.3 128 128V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V256zm256 0v96c0 17.7 14.3 32 32 32s32-14.3 32-32V256c0-17.7-14.3-32-32-32s-32 14.3-32 32z"]
  115805. };
  115806. var faCircleUser = {
  115807. prefix: 'fas',
  115808. iconName: 'circle-user',
  115809. icon: [512, 512, [62142, "user-circle"], "f2bd", "M399 384.2C376.9 345.8 335.4 320 288 320H224c-47.4 0-88.9 25.8-111 64.2c35.2 39.2 86.2 63.8 143 63.8s107.8-24.7 143-63.8zM512 256c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM256 272c39.8 0 72-32.2 72-72s-32.2-72-72-72s-72 32.2-72 72s32.2 72 72 72z"]
  115810. };
  115811. var faUserCircle = faCircleUser;
  115812. var faUserShield = {
  115813. prefix: 'fas',
  115814. iconName: 'user-shield',
  115815. icon: [640, 512, [], "f505", "M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0S96 57.3 96 128s57.3 128 128 128zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H418.3c1.8 0 3.5-.2 5.3-.5c-76.3-55.1-99.8-141-103.1-200.2c-16.1-4.8-33.1-7.3-50.7-7.3H178.3zm308.8-78.3l-120 48C358 277.4 352 286.2 352 296c0 63.3 25.9 168.8 134.8 214.2c5.9 2.5 12.6 2.5 18.5 0C614.1 464.8 640 359.3 640 296c0-9.8-6-18.6-15.1-22.3l-120-48c-5.7-2.3-12.1-2.3-17.8 0zM591.4 312c-3.9 50.7-27.2 116.7-95.4 149.7V273.8L591.4 312z"]
  115816. };
  115817. var faWind = {
  115818. prefix: 'fas',
  115819. iconName: 'wind',
  115820. icon: [512, 512, [], "f72e", "M288 32c0 17.7 14.3 32 32 32h32c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H352c53 0 96-43 96-96s-43-96-96-96H320c-17.7 0-32 14.3-32 32zm64 352c0 17.7 14.3 32 32 32h32c53 0 96-43 96-96s-43-96-96-96H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H384c-17.7 0-32 14.3-32 32zM128 512h32c53 0 96-43 96-96s-43-96-96-96H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H160c17.7 0 32 14.3 32 32s-14.3 32-32 32H128c-17.7 0-32 14.3-32 32s14.3 32 32 32z"]
  115821. };
  115822. var faCarBurst = {
  115823. prefix: 'fas',
  115824. iconName: 'car-burst',
  115825. icon: [640, 512, ["car-crash"], "f5e1", "M176 8c-6.6 0-12.4 4-14.9 10.1l-29.4 74L55.6 68.9c-6.3-1.9-13.1 .2-17.2 5.3s-4.6 12.2-1.4 17.9l39.5 69.1L10.9 206.4c-5.4 3.7-8 10.3-6.5 16.7s6.7 11.2 13.1 12.2l78.7 12.2L90.6 327c-.5 6.5 3.1 12.7 9 15.5s12.9 1.8 17.8-2.6l35.3-32.5 9.5-35.4 10.4-38.6c8-29.9 30.5-52.1 57.9-60.9l41-59.2c11.3-16.3 26.4-28.9 43.5-37.2c-.4-.6-.8-1.2-1.3-1.8c-4.1-5.1-10.9-7.2-17.2-5.3L220.3 92.1l-29.4-74C188.4 12 182.6 8 176 8zM367.7 161.5l135.6 36.3c6.5 1.8 11.3 7.4 11.8 14.2l4.6 56.5-201.5-54 32.2-46.6c3.8-5.6 10.8-8.1 17.3-6.4zm-69.9-30l-47.9 69.3c-21.6 3-40.3 18.6-46.3 41l-10.4 38.6-16.6 61.8-8.3 30.9c-4.6 17.1 5.6 34.6 22.6 39.2l15.5 4.1c17.1 4.6 34.6-5.6 39.2-22.6l8.3-30.9 247.3 66.3-8.3 30.9c-4.6 17.1 5.6 34.6 22.6 39.2l15.5 4.1c17.1 4.6 34.6-5.6 39.2-22.6l8.3-30.9L595 388l10.4-38.6c6-22.4-2.5-45.2-19.6-58.7l-6.8-84c-2.7-33.7-26.4-62-59-70.8L384.2 99.7c-32.7-8.8-67.3 4-86.5 31.8zM268.3 308.8c-12.8-3.4-20.4-16.6-17-29.4s16.6-20.4 29.4-17s20.4 16.6 17 29.4s-16.6 20.4-29.4 17zM545 358.1c-3.4 12.8-16.6 20.4-29.4 17s-20.4-16.6-17-29.4s16.6-20.4 29.4-17s20.4 16.6 17 29.4z"]
  115826. };
  115827. var faCarCrash = faCarBurst;
  115828. var faY = {
  115829. prefix: 'fas',
  115830. iconName: 'y',
  115831. icon: [384, 512, [121], "59", "M58 45.4C47.8 31 27.8 27.7 13.4 38S-4.3 68.2 6 82.6L160 298.3V448c0 17.7 14.3 32 32 32s32-14.3 32-32V298.3L378 82.6c10.3-14.4 6.9-34.4-7.4-44.6S336.2 31 326 45.4L192 232.9 58 45.4z"]
  115832. };
  115833. var faPersonSnowboarding = {
  115834. prefix: 'fas',
  115835. iconName: 'person-snowboarding',
  115836. icon: [576, 512, [127938, "snowboarding"], "f7ce", "M241.7 3.4c15.8-7.9 35-1.5 42.9 14.3l25 50 42.4 8.5c19.5 3.9 37.8 12.3 53.5 24.5l126.1 98.1c14 10.9 16.5 31 5.6 44.9s-31 16.5-44.9 5.6l-72.1-56.1-71.5 31.8 33.1 27.6c23.2 19.3 33.5 50 26.7 79.4l-17.4 75.2c-2.2 9.4-8.2 16.8-16.1 21l86.5 33.1c4.6 1.8 9.4 2.6 14.3 2.6H504c13.3 0 24 10.7 24 24s-10.7 24-24 24H475.8c-10.8 0-21.4-2-31.5-5.8L92.1 371.3c-11.5-4.4-22-11.2-30.8-20L39 329c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l22.4 22.4c4 4 8.7 7.1 14 9.1l22.4 8.6c-.8-1.6-1.5-3.2-2.1-4.9c-5.6-16.8 3.5-34.9 20.2-40.5L224 264.9l0-53.2c0-24.2 13.7-46.4 35.4-57.2l45.2-22.6-7.5-1.5c-19.4-3.9-35.9-16.5-44.7-34.1l-25-50c-7.9-15.8-1.5-35 14.3-42.9zM171 350.1l159 60.9c-2.1-5.6-2.6-11.9-1.1-18.2l17.4-75.2c1.4-5.9-.7-12-5.4-15.9l-52.8-44 0 18.8c0 20.7-13.2 39-32.8 45.5L171 350.1zM464 96c-26.5 0-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48z"]
  115837. };
  115838. var faSnowboarding = faPersonSnowboarding;
  115839. var faTruckFast = {
  115840. prefix: 'fas',
  115841. iconName: 'truck-fast',
  115842. icon: [640, 512, ["shipping-fast"], "f48b", "M112 0C85.5 0 64 21.5 64 48V96H16c-8.8 0-16 7.2-16 16s7.2 16 16 16H64 272c8.8 0 16 7.2 16 16s-7.2 16-16 16H64 48c-8.8 0-16 7.2-16 16s7.2 16 16 16H64 240c8.8 0 16 7.2 16 16s-7.2 16-16 16H64 16c-8.8 0-16 7.2-16 16s7.2 16 16 16H64 208c8.8 0 16 7.2 16 16s-7.2 16-16 16H64V416c0 53 43 96 96 96s96-43 96-96H384c0 53 43 96 96 96s96-43 96-96h32c17.7 0 32-14.3 32-32s-14.3-32-32-32V288 256 237.3c0-17-6.7-33.3-18.7-45.3L512 114.7c-12-12-28.3-18.7-45.3-18.7H416V48c0-26.5-21.5-48-48-48H112zM544 237.3V256H416V160h50.7L544 237.3zM160 464c-26.5 0-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48zm368-48c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48z"]
  115843. };
  115844. var faShippingFast = faTruckFast;
  115845. var faFish = {
  115846. prefix: 'fas',
  115847. iconName: 'fish',
  115848. icon: [576, 512, [128031], "f578", "M180.5 141.5C219.7 108.5 272.6 80 336 80s116.3 28.5 155.5 61.5c39.1 33 66.9 72.4 81 99.8c4.7 9.2 4.7 20.1 0 29.3c-14.1 27.4-41.9 66.8-81 99.8C452.3 403.5 399.4 432 336 432s-116.3-28.5-155.5-61.5c-16.2-13.7-30.5-28.5-42.7-43.1L48.1 379.6c-12.5 7.3-28.4 5.3-38.7-4.9S-3 348.7 4.2 336.1L50 256 4.2 175.9c-7.2-12.6-5-28.4 5.3-38.6s26.1-12.2 38.7-4.9l89.7 52.3c12.2-14.6 26.5-29.4 42.7-43.1zM448 256c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32z"]
  115849. };
  115850. var faUserGraduate = {
  115851. prefix: 'fas',
  115852. iconName: 'user-graduate',
  115853. icon: [448, 512, [], "f501", "M219.3 .5c3.1-.6 6.3-.6 9.4 0l200 40C439.9 42.7 448 52.6 448 64s-8.1 21.3-19.3 23.5L352 102.9V160c0 70.7-57.3 128-128 128s-128-57.3-128-128V102.9L48 93.3v65.1l15.7 78.4c.9 4.7-.3 9.6-3.3 13.3s-7.6 5.9-12.4 5.9H16c-4.8 0-9.3-2.1-12.4-5.9s-4.3-8.6-3.3-13.3L16 158.4V86.6C6.5 83.3 0 74.3 0 64C0 52.6 8.1 42.7 19.3 40.5l200-40zM129.1 323.2l83.2 88.4c6.3 6.7 17 6.7 23.3 0l83.2-88.4c73.7 14.9 129.1 80 129.1 158.1c0 17-13.8 30.7-30.7 30.7H30.7C13.8 512 0 498.2 0 481.3c0-78.1 55.5-143.2 129.1-158.1z"]
  115854. };
  115855. var faCircleHalfStroke = {
  115856. prefix: 'fas',
  115857. iconName: 'circle-half-stroke',
  115858. icon: [512, 512, [9680, "adjust"], "f042", "M448 256c0-106-86-192-192-192V448c106 0 192-86 192-192zm64 0c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256z"]
  115859. };
  115860. var faAdjust = faCircleHalfStroke;
  115861. var faClapperboard = {
  115862. prefix: 'fas',
  115863. iconName: 'clapperboard',
  115864. icon: [512, 512, [], "e131", "M448 32H361.9l-1 1-127 127h92.1l1-1L453.8 32.3c-1.9-.2-3.8-.3-5.8-.3zm64 128V96c0-15.1-5.3-29.1-14-40l-104 104H512zM294.1 32H201.9l-1 1L73.9 160h92.1l1-1 127-127zM64 32C28.7 32 0 60.7 0 96v64H6.1l1-1 127-127H64zM512 192H0V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V192z"]
  115865. };
  115866. var faCircleRadiation = {
  115867. prefix: 'fas',
  115868. iconName: 'circle-radiation',
  115869. icon: [512, 512, [9762, "radiation-alt"], "f7ba", "M256 448C150 448 64 362 64 256S150 64 256 64s192 86 192 192s-86 192-192 192zm0 64c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM200 256c0-20.7 11.3-38.8 28-48.5l-36-62.3c-8.8-15.3-28.7-20.8-42-9c-25.6 22.6-43.9 53.3-50.9 88.1C95.7 241.5 110.3 256 128 256l72 0zm28 48.5l-36 62.4c-8.8 15.3-3.6 35.2 13.1 40.8c16 5.4 33.1 8.3 50.9 8.3s34.9-2.9 50.9-8.3c16.7-5.6 21.9-25.5 13.1-40.8l-36-62.4c-8.2 4.8-17.8 7.5-28 7.5s-19.8-2.7-28-7.5zM312 256l72 0c17.7 0 32.3-14.5 28.8-31.8c-7-34.8-25.3-65.5-50.9-88.1c-13.2-11.7-33.1-6.3-42 9l-36 62.3c16.7 9.7 28 27.8 28 48.5zm-56 32c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32z"]
  115870. };
  115871. var faRadiationAlt = faCircleRadiation;
  115872. var faBaseball = {
  115873. prefix: 'fas',
  115874. iconName: 'baseball',
  115875. icon: [512, 512, [129358, 9918, "baseball-ball"], "f433", "M62.7 223.4c-4.8 .4-9.7 .6-14.7 .6c-15.6 0-30.8-2-45.2-5.9C19.2 107.1 107.1 19.2 218.1 2.8C222 17.2 224 32.4 224 48c0 4.9-.2 9.8-.6 14.7c-.7 8.8 5.8 16.5 14.6 17.3s16.5-5.8 17.3-14.6c.5-5.7 .7-11.5 .7-17.3c0-16.5-1.9-32.6-5.6-47.9c1.8 0 3.7-.1 5.6-.1C397.4 0 512 114.6 512 256c0 1.9 0 3.7-.1 5.6c-15.4-3.6-31.4-5.6-47.9-5.6c-5.8 0-11.6 .2-17.3 .7c-8.8 .7-15.4 8.5-14.6 17.3s8.5 15.4 17.3 14.6c4.8-.4 9.7-.6 14.7-.6c15.6 0 30.8 2 45.2 5.9C492.8 404.9 404.9 492.8 293.9 509.2C290 494.8 288 479.6 288 464c0-4.9 .2-9.8 .6-14.7c.7-8.8-5.8-16.5-14.6-17.3s-16.5 5.8-17.3 14.6c-.5 5.7-.7 11.5-.7 17.3c0 16.5 1.9 32.6 5.6 47.9c-1.8 0-3.7 .1-5.6 .1C114.6 512 0 397.4 0 256c0-1.9 0-3.7 .1-5.6C15.4 254.1 31.5 256 48 256c5.8 0 11.6-.2 17.3-.7c8.8-.7 15.4-8.5 14.6-17.3s-8.5-15.4-17.3-14.6zM121.3 208c-8 3.7-11.6 13.2-7.9 21.2s13.2 11.6 21.2 7.9c45.2-20.8 81.7-57.2 102.5-102.5c3.7-8 .2-17.5-7.9-21.2s-17.5-.2-21.2 7.9c-17.6 38.3-48.5 69.2-86.7 86.7zm277.2 74.7c-3.7-8-13.2-11.6-21.2-7.9c-45.2 20.8-81.7 57.2-102.5 102.5c-3.7 8-.2 17.5 7.9 21.2s17.5 .2 21.2-7.9c17.6-38.3 48.5-69.2 86.7-86.7c8-3.7 11.6-13.2 7.9-21.2z"]
  115876. };
  115877. var faBaseballBall = faBaseball;
  115878. var faJetFighterUp = {
  115879. prefix: 'fas',
  115880. iconName: 'jet-fighter-up',
  115881. icon: [512, 512, [], "e518", "M270.7 9.7C268.2 3.8 262.4 0 256 0s-12.2 3.8-14.7 9.7L197.2 112.6c-3.4 8-5.2 16.5-5.2 25.2v77l-144 84V280c0-13.3-10.7-24-24-24s-24 10.7-24 24v56 32 24c0 13.3 10.7 24 24 24s24-10.7 24-24v-8H192v32.7L133.5 468c-3.5 3-5.5 7.4-5.5 12v16c0 8.8 7.2 16 16 16h96V448c0-8.8 7.2-16 16-16s16 7.2 16 16v64h96c8.8 0 16-7.2 16-16V480c0-4.6-2-9-5.5-12L320 416.7V384H464v8c0 13.3 10.7 24 24 24s24-10.7 24-24V368 336 280c0-13.3-10.7-24-24-24s-24 10.7-24 24v18.8l-144-84v-77c0-8.7-1.8-17.2-5.2-25.2L270.7 9.7z"]
  115882. };
  115883. var faDiagramProject = {
  115884. prefix: 'fas',
  115885. iconName: 'diagram-project',
  115886. icon: [576, 512, ["project-diagram"], "f542", "M0 80C0 53.5 21.5 32 48 32h96c26.5 0 48 21.5 48 48V96H384V80c0-26.5 21.5-48 48-48h96c26.5 0 48 21.5 48 48v96c0 26.5-21.5 48-48 48H432c-26.5 0-48-21.5-48-48V160H192v16c0 1.7-.1 3.4-.3 5L272 288h96c26.5 0 48 21.5 48 48v96c0 26.5-21.5 48-48 48H272c-26.5 0-48-21.5-48-48V336c0-1.7 .1-3.4 .3-5L144 224H48c-26.5 0-48-21.5-48-48V80z"]
  115887. };
  115888. var faProjectDiagram = faDiagramProject;
  115889. var faCopy = {
  115890. prefix: 'fas',
  115891. iconName: 'copy',
  115892. icon: [512, 512, [], "f0c5", "M224 0c-35.3 0-64 28.7-64 64V288c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H224zM64 160c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H288c35.3 0 64-28.7 64-64V384H288v64H64V224h64V160H64z"]
  115893. };
  115894. var faVolumeXmark = {
  115895. prefix: 'fas',
  115896. iconName: 'volume-xmark',
  115897. icon: [576, 512, ["volume-mute", "volume-times"], "f6a9", "M301.1 34.8C312.6 40 320 51.4 320 64V448c0 12.6-7.4 24-18.9 29.2s-25 3.1-34.4-5.3L131.8 352H64c-35.3 0-64-28.7-64-64V224c0-35.3 28.7-64 64-64h67.8L266.7 40.1c9.4-8.4 22.9-10.4 34.4-5.3zM425 167l55 55 55-55c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-55 55 55 55c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-55-55-55 55c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l55-55-55-55c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0z"]
  115898. };
  115899. var faVolumeMute = faVolumeXmark;
  115900. var faVolumeTimes = faVolumeXmark;
  115901. var faHandSparkles = {
  115902. prefix: 'fas',
  115903. iconName: 'hand-sparkles',
  115904. icon: [640, 512, [], "e05d", "M320 0c17.7 0 32 14.3 32 32V240c0 8.8 7.2 16 16 16s16-7.2 16-16V64c0-17.7 14.3-32 32-32s32 14.3 32 32V240c0 8.8 7.2 16 16 16s16-7.2 16-16V128c0-17.7 14.3-32 32-32s32 14.3 32 32V323.1c-11.9 4.8-21.3 14.9-25 27.8l-8.9 31.2L478.9 391C460.6 396.3 448 413 448 432c0 18.9 12.5 35.6 30.6 40.9C448.4 497.4 409.9 512 368 512H348.8c-59.6 0-116.9-22.9-160-64L76.4 341c-16-15.2-16.6-40.6-1.4-56.6s40.6-16.6 56.6-1.4l60.5 57.6c0-1.5-.1-3.1-.1-4.6V64c0-17.7 14.3-32 32-32s32 14.3 32 32V240c0 8.8 7.2 16 16 16s16-7.2 16-16V32c0-17.7 14.3-32 32-32zm-7.3 326.6c-1.1-3.9-4.7-6.6-8.7-6.6s-7.6 2.7-8.7 6.6L288 352l-25.4 7.3c-3.9 1.1-6.6 4.7-6.6 8.7s2.7 7.6 6.6 8.7L288 384l7.3 25.4c1.1 3.9 4.7 6.6 8.7 6.6s7.6-2.7 8.7-6.6L320 384l25.4-7.3c3.9-1.1 6.6-4.7 6.6-8.7s-2.7-7.6-6.6-8.7L320 352l-7.3-25.4zM104 120l48.3 13.8c4.6 1.3 7.7 5.5 7.7 10.2s-3.1 8.9-7.7 10.2L104 168 90.2 216.3c-1.3 4.6-5.5 7.7-10.2 7.7s-8.9-3.1-10.2-7.7L56 168 7.7 154.2C3.1 152.9 0 148.7 0 144s3.1-8.9 7.7-10.2L56 120 69.8 71.7C71.1 67.1 75.3 64 80 64s8.9 3.1 10.2 7.7L104 120zM584 408l48.3 13.8c4.6 1.3 7.7 5.5 7.7 10.2s-3.1 8.9-7.7 10.2L584 456l-13.8 48.3c-1.3 4.6-5.5 7.7-10.2 7.7s-8.9-3.1-10.2-7.7L536 456l-48.3-13.8c-4.6-1.3-7.7-5.5-7.7-10.2s3.1-8.9 7.7-10.2L536 408l13.8-48.3c1.3-4.6 5.5-7.7 10.2-7.7s8.9 3.1 10.2 7.7L584 408z"]
  115905. };
  115906. var faGrip = {
  115907. prefix: 'fas',
  115908. iconName: 'grip',
  115909. icon: [448, 512, ["grip-horizontal"], "f58d", "M128 136c0-22.1-17.9-40-40-40L40 96C17.9 96 0 113.9 0 136l0 48c0 22.1 17.9 40 40 40H88c22.1 0 40-17.9 40-40V136zm0 192c0-22.1-17.9-40-40-40H40c-22.1 0-40 17.9-40 40v48c0 22.1 17.9 40 40 40H88c22.1 0 40-17.9 40-40V328zm32-192v48c0 22.1 17.9 40 40 40h48c22.1 0 40-17.9 40-40V136c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40zM288 328c0-22.1-17.9-40-40-40H200c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40h48c22.1 0 40-17.9 40-40V328zm32-192v48c0 22.1 17.9 40 40 40h48c22.1 0 40-17.9 40-40V136c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40zM448 328c0-22.1-17.9-40-40-40H360c-22.1 0-40 17.9-40 40v48c0 22.1 17.9 40 40 40h48c22.1 0 40-17.9 40-40V328z"]
  115910. };
  115911. var faGripHorizontal = faGrip;
  115912. var faShareFromSquare = {
  115913. prefix: 'fas',
  115914. iconName: 'share-from-square',
  115915. icon: [576, 512, [61509, "share-square"], "f14d", "M384 24c0-9.6 5.7-18.2 14.5-22s19-2 26 4.6l144 136c4.8 4.5 7.5 10.8 7.5 17.4s-2.7 12.9-7.5 17.4l-144 136c-7 6.6-17.2 8.4-26 4.6s-14.5-12.5-14.5-22V224H352 337.5c-45 0-81.5 36.5-81.5 81.5c0 22.3 10.3 34.3 19.2 40.5c6.8 4.7 12.8 12 12.8 20.3c0 9.8-8 17.8-17.8 17.8h-2.5c-2.4 0-4.8-.4-7.1-1.4C242.8 374.8 160 333.4 160 240c0-79.5 64.5-144 144-144h80V24zM0 144C0 99.8 35.8 64 80 64H96c17.7 0 32 14.3 32 32s-14.3 32-32 32H80c-8.8 0-16 7.2-16 16V432c0 8.8 7.2 16 16 16H368c8.8 0 16-7.2 16-16V416c0-17.7 14.3-32 32-32s32 14.3 32 32v16c0 44.2-35.8 80-80 80H80c-44.2 0-80-35.8-80-80V144z"]
  115916. };
  115917. var faShareSquare = faShareFromSquare;
  115918. var faGun = {
  115919. prefix: 'fas',
  115920. iconName: 'gun',
  115921. icon: [576, 512, [], "e19b", "M528 56c0-13.3-10.7-24-24-24s-24 10.7-24 24v8H32C14.3 64 0 78.3 0 96V208c0 17.7 14.3 32 32 32H42c20.8 0 36.1 19.6 31 39.8L33 440.2c-2.4 9.6-.2 19.7 5.8 27.5S54.1 480 64 480h96c14.7 0 27.5-10 31-24.2L217 352H321.4c23.7 0 44.8-14.9 52.7-37.2L400.9 240H432c8.5 0 16.6-3.4 22.6-9.4L477.3 208H544c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32H528V56zM321.4 304H229l16-64h105l-21 58.7c-1.1 3.2-4.2 5.3-7.5 5.3zM80 128H464c8.8 0 16 7.2 16 16s-7.2 16-16 16H80c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]
  115922. };
  115923. var faSquarePhone = {
  115924. prefix: 'fas',
  115925. iconName: 'square-phone',
  115926. icon: [448, 512, ["phone-square"], "f098", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm90.7 96.7c9.7-2.6 19.9 2.3 23.7 11.6l20 48c3.4 8.2 1 17.6-5.8 23.2L168 231.7c16.6 35.2 45.1 63.7 80.3 80.3l20.2-24.7c5.6-6.8 15-9.2 23.2-5.8l48 20c9.3 3.9 14.2 14 11.6 23.7l-12 44C336.9 378 329 384 320 384C196.3 384 96 283.7 96 160c0-9 6-16.9 14.7-19.3l44-12z"]
  115927. };
  115928. var faPhoneSquare = faSquarePhone;
  115929. var faPlus = {
  115930. prefix: 'fas',
  115931. iconName: 'plus',
  115932. icon: [448, 512, [10133, 61543, "add"], "2b", "M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z"]
  115933. };
  115934. var faAdd = faPlus;
  115935. var faExpand = {
  115936. prefix: 'fas',
  115937. iconName: 'expand',
  115938. icon: [448, 512, [], "f065", "M32 32C14.3 32 0 46.3 0 64v96c0 17.7 14.3 32 32 32s32-14.3 32-32V96h64c17.7 0 32-14.3 32-32s-14.3-32-32-32H32zM64 352c0-17.7-14.3-32-32-32s-32 14.3-32 32v96c0 17.7 14.3 32 32 32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H64V352zM320 32c-17.7 0-32 14.3-32 32s14.3 32 32 32h64v64c0 17.7 14.3 32 32 32s32-14.3 32-32V64c0-17.7-14.3-32-32-32H320zM448 352c0-17.7-14.3-32-32-32s-32 14.3-32 32v64H320c-17.7 0-32 14.3-32 32s14.3 32 32 32h96c17.7 0 32-14.3 32-32V352z"]
  115939. };
  115940. var faComputer = {
  115941. prefix: 'fas',
  115942. iconName: 'computer',
  115943. icon: [640, 512, [], "e4e5", "M384 96V320H64L64 96H384zM64 32C28.7 32 0 60.7 0 96V320c0 35.3 28.7 64 64 64H181.3l-10.7 32H96c-17.7 0-32 14.3-32 32s14.3 32 32 32H352c17.7 0 32-14.3 32-32s-14.3-32-32-32H277.3l-10.7-32H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm464 0c-26.5 0-48 21.5-48 48V432c0 26.5 21.5 48 48 48h64c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48H528zm16 64h32c8.8 0 16 7.2 16 16s-7.2 16-16 16H544c-8.8 0-16-7.2-16-16s7.2-16 16-16zm-16 80c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16s-7.2 16-16 16H544c-8.8 0-16-7.2-16-16zm32 224c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]
  115944. };
  115945. var faXmark = {
  115946. prefix: 'fas',
  115947. iconName: 'xmark',
  115948. icon: [320, 512, [128473, 10005, 10006, 10060, 215, "close", "multiply", "remove", "times"], "f00d", "M310.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 210.7 54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L114.7 256 9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 301.3 265.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L205.3 256 310.6 150.6z"]
  115949. };
  115950. var faClose = faXmark;
  115951. var faMultiply = faXmark;
  115952. var faRemove = faXmark;
  115953. var faTimes = faXmark;
  115954. var faArrowsUpDownLeftRight = {
  115955. prefix: 'fas',
  115956. iconName: 'arrows-up-down-left-right',
  115957. icon: [512, 512, ["arrows"], "f047", "M278.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-64 64c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l9.4-9.4V224H109.3l9.4-9.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-64 64c-12.5 12.5-12.5 32.8 0 45.3l64 64c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-9.4-9.4H224V402.7l-9.4-9.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l64 64c12.5 12.5 32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-9.4 9.4V288H402.7l-9.4 9.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3l-64-64c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l9.4 9.4H288V109.3l9.4 9.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-64-64z"]
  115958. };
  115959. var faArrows = faArrowsUpDownLeftRight;
  115960. var faChalkboardUser = {
  115961. prefix: 'fas',
  115962. iconName: 'chalkboard-user',
  115963. icon: [640, 512, ["chalkboard-teacher"], "f51c", "M160 64c0-35.3 28.7-64 64-64H576c35.3 0 64 28.7 64 64V352c0 35.3-28.7 64-64 64H336.8c-11.8-25.5-29.9-47.5-52.4-64H384V320c0-17.7 14.3-32 32-32h64c17.7 0 32 14.3 32 32v32h64V64L224 64v49.1C205.2 102.2 183.3 96 160 96V64zm0 256c-53 0-96-43-96-96s43-96 96-96s96 43 96 96s-43 96-96 96zm-26.7 32h53.3C260.3 352 320 411.7 320 485.3c0 14.7-11.9 26.7-26.7 26.7H26.7C11.9 512 0 500.1 0 485.3C0 411.7 59.7 352 133.3 352z"]
  115964. };
  115965. var faChalkboardTeacher = faChalkboardUser;
  115966. var faPesoSign = {
  115967. prefix: 'fas',
  115968. iconName: 'peso-sign',
  115969. icon: [384, 512, [], "e222", "M64 32C46.3 32 32 46.3 32 64v64c-17.7 0-32 14.3-32 32s14.3 32 32 32l0 32c-17.7 0-32 14.3-32 32s14.3 32 32 32l0 64v96c0 17.7 14.3 32 32 32s32-14.3 32-32V384h80c68.4 0 127.7-39 156.8-96H352c17.7 0 32-14.3 32-32s-14.3-32-32-32h-.7c.5-5.3 .7-10.6 .7-16s-.2-10.7-.7-16h.7c17.7 0 32-14.3 32-32s-14.3-32-32-32H332.8C303.7 71 244.4 32 176 32H64zm190.4 96H96V96h80c30.5 0 58.2 12.2 78.4 32zM96 192H286.9c.7 5.2 1.1 10.6 1.1 16s-.4 10.8-1.1 16H96V192zm158.4 96c-20.2 19.8-47.9 32-78.4 32H96V288H254.4z"]
  115970. };
  115971. var faBuildingShield = {
  115972. prefix: 'fas',
  115973. iconName: 'building-shield',
  115974. icon: [576, 512, [], "e4d8", "M0 48C0 21.5 21.5 0 48 0H336c26.5 0 48 21.5 48 48V207l-42.4 17H304 272c-8.8 0-16 7.2-16 16v32 24.2V304c0 .9 .1 1.7 .2 2.6c2.3 58.1 24.1 144.8 98.7 201.5c-5.8 2.5-12.2 3.9-18.9 3.9H240V432c0-26.5-21.5-48-48-48s-48 21.5-48 48v80H48c-26.5 0-48-21.5-48-48V48zM80 224c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V240c0-8.8-7.2-16-16-16H80zm80 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V240c0-8.8-7.2-16-16-16H176c-8.8 0-16 7.2-16 16zM64 112v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V112c0-8.8-7.2-16-16-16H80c-8.8 0-16 7.2-16 16zM176 96c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V112c0-8.8-7.2-16-16-16H176zm80 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V112c0-8.8-7.2-16-16-16H272c-8.8 0-16 7.2-16 16zM423.1 225.7c5.7-2.3 12.1-2.3 17.8 0l120 48C570 277.4 576 286.2 576 296c0 63.3-25.9 168.8-134.8 214.2c-5.9 2.5-12.6 2.5-18.5 0C313.9 464.8 288 359.3 288 296c0-9.8 6-18.6 15.1-22.3l120-48zM527.4 312L432 273.8V461.7c68.2-33 91.5-99 95.4-149.7z"]
  115975. };
  115976. var faBaby = {
  115977. prefix: 'fas',
  115978. iconName: 'baby',
  115979. icon: [448, 512, [], "f77c", "M296 88c0 39.8-32.2 72-72 72s-72-32.2-72-72s32.2-72 72-72s72 32.2 72 72zM39.7 144.5c13-17.9 38-21.8 55.9-8.8L131.8 162c26.8 19.5 59.1 30 92.2 30s65.4-10.5 92.2-30l36.2-26.4c17.9-13 42.9-9 55.9 8.8s9 42.9-8.8 55.9l-36.2 26.4c-13.6 9.9-28.1 18.2-43.3 25V288H128V251.7c-15.2-6.7-29.7-15.1-43.3-25L48.5 200.3c-17.9-13-21.8-38-8.8-55.9zm89.8 184.8l60.6 53-26 37.2 24.3 24.3c15.6 15.6 15.6 40.9 0 56.6s-40.9 15.6-56.6 0l-48-48C70 438.6 68.1 417 79.2 401.1l50.2-71.8zm128.5 53l60.6-53 50.2 71.8c11.1 15.9 9.2 37.5-4.5 51.2l-48 48c-15.6 15.6-40.9 15.6-56.6 0s-15.6-40.9 0-56.6L284 419.4l-26-37.2z"]
  115980. };
  115981. var faUsersLine = {
  115982. prefix: 'fas',
  115983. iconName: 'users-line',
  115984. icon: [640, 512, [], "e592", "M211.2 96c0-35.3-28.7-64-64-64s-64 28.7-64 64s28.7 64 64 64s64-28.7 64-64zM32 256c0 17.7 14.3 32 32 32h85.6c10.1-39.4 38.6-71.5 75.8-86.6c-9.7-6-21.2-9.4-33.4-9.4H96c-35.3 0-64 28.7-64 64zm461.6 32H576c17.7 0 32-14.3 32-32c0-35.3-28.7-64-64-64H448c-11.7 0-22.7 3.1-32.1 8.6c38.1 14.8 67.4 47.3 77.7 87.4zM391.2 226.4c-6.9-1.6-14.2-2.4-21.6-2.4h-96c-8.5 0-16.7 1.1-24.5 3.1c-30.8 8.1-55.6 31.1-66.1 60.9c-3.5 10-5.5 20.8-5.5 32c0 17.7 14.3 32 32 32h224c17.7 0 32-14.3 32-32c0-11.2-1.9-22-5.5-32c-10.8-30.7-36.8-54.2-68.9-61.6zM563.2 96c0-35.3-28.7-64-64-64s-64 28.7-64 64s28.7 64 64 64s64-28.7 64-64zM321.6 192c44.2 0 80-35.8 80-80s-35.8-80-80-80s-80 35.8-80 80s35.8 80 80 80zM32 416c-17.7 0-32 14.3-32 32s14.3 32 32 32H608c17.7 0 32-14.3 32-32s-14.3-32-32-32H32z"]
  115985. };
  115986. var faQuoteLeft = {
  115987. prefix: 'fas',
  115988. iconName: 'quote-left',
  115989. icon: [448, 512, [8220, "quote-left-alt"], "f10d", "M0 216C0 149.7 53.7 96 120 96h8c17.7 0 32 14.3 32 32s-14.3 32-32 32h-8c-30.9 0-56 25.1-56 56v8h64c35.3 0 64 28.7 64 64v64c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V320 288 216zm256 0c0-66.3 53.7-120 120-120h8c17.7 0 32 14.3 32 32s-14.3 32-32 32h-8c-30.9 0-56 25.1-56 56v8h64c35.3 0 64 28.7 64 64v64c0 35.3-28.7 64-64 64H320c-35.3 0-64-28.7-64-64V320 288 216z"]
  115990. };
  115991. var faQuoteLeftAlt = faQuoteLeft;
  115992. var faTractor = {
  115993. prefix: 'fas',
  115994. iconName: 'tractor',
  115995. icon: [640, 512, [128668], "f722", "M96 64c0-35.3 28.7-64 64-64H266.3c26.2 0 49.7 15.9 59.4 40.2L373.7 160H480V126.2c0-24.8 5.8-49.3 16.9-71.6l2.5-5c7.9-15.8 27.1-22.2 42.9-14.3s22.2 27.1 14.3 42.9l-2.5 5c-6.7 13.3-10.1 28-10.1 42.9V160h56c22.1 0 40 17.9 40 40v45.4c0 16.5-8.5 31.9-22.6 40.7l-43.3 27.1c-14.2-5.9-29.8-9.2-46.1-9.2c-39.3 0-74.1 18.9-96 48H352c0 17.7-14.3 32-32 32h-8.2c-1.7 4.8-3.7 9.5-5.8 14.1l5.8 5.8c12.5 12.5 12.5 32.8 0 45.3l-22.6 22.6c-12.5 12.5-32.8 12.5-45.3 0l-5.8-5.8c-4.6 2.2-9.3 4.1-14.1 5.8V480c0 17.7-14.3 32-32 32H160c-17.7 0-32-14.3-32-32v-8.2c-4.8-1.7-9.5-3.7-14.1-5.8l-5.8 5.8c-12.5 12.5-32.8 12.5-45.3 0L40.2 449.1c-12.5-12.5-12.5-32.8 0-45.3l5.8-5.8c-2.2-4.6-4.1-9.3-5.8-14.1H32c-17.7 0-32-14.3-32-32V320c0-17.7 14.3-32 32-32h8.2c1.7-4.8 3.7-9.5 5.8-14.1l-5.8-5.8c-12.5-12.5-12.5-32.8 0-45.3l22.6-22.6c9-9 21.9-11.5 33.1-7.6V192 160 64zm170.3 0H160v96h32H304.7L266.3 64zM176 256c-44.2 0-80 35.8-80 80s35.8 80 80 80s80-35.8 80-80s-35.8-80-80-80zM528 448c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24zm0 64c-48.6 0-88-39.4-88-88c0-29.8 14.8-56.1 37.4-72c14.3-10.1 31.8-16 50.6-16c2.7 0 5.3 .1 7.9 .3c44.9 4 80.1 41.7 80.1 87.7c0 48.6-39.4 88-88 88z"]
  115996. };
  115997. var faTrashArrowUp = {
  115998. prefix: 'fas',
  115999. iconName: 'trash-arrow-up',
  116000. icon: [448, 512, ["trash-restore"], "f829", "M163.8 0H284.2c12.1 0 23.2 6.8 28.6 17.7L320 32h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 96 0 81.7 0 64S14.3 32 32 32h96l7.2-14.3C140.6 6.8 151.7 0 163.8 0zM32 128H416L394.8 467c-1.6 25.3-22.6 45-47.9 45H101.1c-25.3 0-46.3-19.7-47.9-45L32 128zm192 64c-6.4 0-12.5 2.5-17 7l-80 80c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l39-39V408c0 13.3 10.7 24 24 24s24-10.7 24-24V273.9l39 39c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-80-80c-4.5-4.5-10.6-7-17-7z"]
  116001. };
  116002. var faTrashRestore = faTrashArrowUp;
  116003. var faArrowDownUpLock = {
  116004. prefix: 'fas',
  116005. iconName: 'arrow-down-up-lock',
  116006. icon: [640, 512, [], "e4b0", "M150.6 502.6l96-96c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 402.7V288H416V272c0-17.2 3.9-33.5 10.8-48H352V109.3l41.4 41.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-96-96c-6-6-14.1-9.4-22.6-9.4s-16.6 3.4-22.6 9.4l-96 96c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L288 109.3V224l-128 0H96l-64 0c-17.7 0-32 14.3-32 32s14.3 32 32 32H96V402.7L54.6 361.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0zM160 192V64c0-17.7-14.3-32-32-32s-32 14.3-32 32V192h64zM288 320V448c0 17.7 14.3 32 32 32s32-14.3 32-32V320H288zm240-80c17.7 0 32 14.3 32 32v48H496V272c0-17.7 14.3-32 32-32zm-80 32v48c-17.7 0-32 14.3-32 32V480c0 17.7 14.3 32 32 32H608c17.7 0 32-14.3 32-32V352c0-17.7-14.3-32-32-32V272c0-44.2-35.8-80-80-80s-80 35.8-80 80z"]
  116007. };
  116008. var faLinesLeaning = {
  116009. prefix: 'fas',
  116010. iconName: 'lines-leaning',
  116011. icon: [448, 512, [], "e51e", "M222.4 74.1c5.6-16.8-3.5-34.9-20.2-40.5s-34.9 3.5-40.5 20.2l-128 384c-5.6 16.8 3.5 34.9 20.2 40.5s34.9-3.5 40.5-20.2l128-384zm70.9-41.7c-17.4-2.9-33.9 8.9-36.8 26.3l-64 384c-2.9 17.4 8.9 33.9 26.3 36.8s33.9-8.9 36.8-26.3l64-384c2.9-17.4-8.9-33.9-26.3-36.8zM384 32c-17.7 0-32 14.3-32 32V448c0 17.7 14.3 32 32 32s32-14.3 32-32V64c0-17.7-14.3-32-32-32z"]
  116012. };
  116013. var faRulerCombined = {
  116014. prefix: 'fas',
  116015. iconName: 'ruler-combined',
  116016. icon: [512, 512, [], "f546", "M.2 468.9C2.7 493.1 23.1 512 48 512l96 0 320 0c26.5 0 48-21.5 48-48l0-96c0-26.5-21.5-48-48-48l-48 0 0 80c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-80-64 0 0 80c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-80-64 0 0 80c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-80-80 0c-8.8 0-16-7.2-16-16s7.2-16 16-16l80 0 0-64-80 0c-8.8 0-16-7.2-16-16s7.2-16 16-16l80 0 0-64-80 0c-8.8 0-16-7.2-16-16s7.2-16 16-16l80 0 0-48c0-26.5-21.5-48-48-48L48 0C21.5 0 0 21.5 0 48L0 368l0 96c0 1.7 .1 3.3 .2 4.9z"]
  116017. };
  116018. var faCopyright = {
  116019. prefix: 'fas',
  116020. iconName: 'copyright',
  116021. icon: [512, 512, [169], "f1f9", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM199.4 312.6c31.2 31.2 81.9 31.2 113.1 0c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9c-50 50-131 50-181 0s-50-131 0-181s131-50 181 0c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0c-31.2-31.2-81.9-31.2-113.1 0s-31.2 81.9 0 113.1z"]
  116022. };
  116023. var faEquals = {
  116024. prefix: 'fas',
  116025. iconName: 'equals',
  116026. icon: [448, 512, [62764], "3d", "M48 128c-17.7 0-32 14.3-32 32s14.3 32 32 32H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H48zm0 192c-17.7 0-32 14.3-32 32s14.3 32 32 32H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H48z"]
  116027. };
  116028. var faBlender = {
  116029. prefix: 'fas',
  116030. iconName: 'blender',
  116031. icon: [512, 512, [], "f517", "M0 64C0 28.7 28.7 0 64 0h64 32H470.1c21.1 0 36.4 20.1 30.9 40.4L494.5 64H336c-8.8 0-16 7.2-16 16s7.2 16 16 16H485.8l-17.5 64H336c-8.8 0-16 7.2-16 16s7.2 16 16 16H459.6l-17.5 64H336c-8.8 0-16 7.2-16 16s7.2 16 16 16h97.5L416 352H160l-8.7-96H64c-35.3 0-64-28.7-64-64V64zM145.5 192L133.8 64H64V192h81.5zM144 384H432c26.5 0 48 21.5 48 48v32c0 26.5-21.5 48-48 48H144c-26.5 0-48-21.5-48-48V432c0-26.5 21.5-48 48-48zm144 96c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zM0 64C0 28.7 28.7 0 64 0h64 32H470.1c21.1 0 36.4 20.1 30.9 40.4L494.5 64H336c-8.8 0-16 7.2-16 16s7.2 16 16 16H485.8l-17.5 64H336c-8.8 0-16 7.2-16 16s7.2 16 16 16H459.6l-17.5 64H336c-8.8 0-16 7.2-16 16s7.2 16 16 16h97.5L416 352H160l-8.7-96H64c-35.3 0-64-28.7-64-64V64zM145.5 192L133.8 64H64V192h81.5zM144 384H432c26.5 0 48 21.5 48 48v32c0 26.5-21.5 48-48 48H144c-26.5 0-48-21.5-48-48V432c0-26.5 21.5-48 48-48zm144 96c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32z"]
  116032. };
  116033. var faTeeth = {
  116034. prefix: 'fas',
  116035. iconName: 'teeth',
  116036. icon: [576, 512, [], "f62e", "M0 128C0 75 43 32 96 32H480c53 0 96 43 96 96V384c0 53-43 96-96 96H96c-53 0-96-43-96-96V128zm176 48v56c0 13.3 10.7 24 24 24h48c13.3 0 24-10.7 24-24V176c0-26.5-21.5-48-48-48s-48 21.5-48 48zm176-48c-26.5 0-48 21.5-48 48v56c0 13.3 10.7 24 24 24h48c13.3 0 24-10.7 24-24V176c0-26.5-21.5-48-48-48zM48 208v24c0 13.3 10.7 24 24 24h48c13.3 0 24-10.7 24-24V208c0-26.5-21.5-48-48-48s-48 21.5-48 48zM96 384c26.5 0 48-21.5 48-48V312c0-13.3-10.7-24-24-24H72c-13.3 0-24 10.7-24 24v24c0 26.5 21.5 48 48 48zm80-48c0 26.5 21.5 48 48 48s48-21.5 48-48V312c0-13.3-10.7-24-24-24H200c-13.3 0-24 10.7-24 24v24zm176 48c26.5 0 48-21.5 48-48V312c0-13.3-10.7-24-24-24H328c-13.3 0-24 10.7-24 24v24c0 26.5 21.5 48 48 48zm80-176v24c0 13.3 10.7 24 24 24h48c13.3 0 24-10.7 24-24V208c0-26.5-21.5-48-48-48s-48 21.5-48 48zm48 176c26.5 0 48-21.5 48-48V312c0-13.3-10.7-24-24-24H456c-13.3 0-24 10.7-24 24v24c0 26.5 21.5 48 48 48z"]
  116037. };
  116038. var faShekelSign = {
  116039. prefix: 'fas',
  116040. iconName: 'shekel-sign',
  116041. icon: [448, 512, [8362, "ils", "shekel", "sheqel", "sheqel-sign"], "f20b", "M32 32C14.3 32 0 46.3 0 64V448c0 17.7 14.3 32 32 32s32-14.3 32-32V96H192c35.3 0 64 28.7 64 64V320c0 17.7 14.3 32 32 32s32-14.3 32-32V160c0-70.7-57.3-128-128-128H32zM320 480c70.7 0 128-57.3 128-128V64c0-17.7-14.3-32-32-32s-32 14.3-32 32V352c0 35.3-28.7 64-64 64H192V192c0-17.7-14.3-32-32-32s-32 14.3-32 32V448c0 17.7 14.3 32 32 32H320z"]
  116042. };
  116043. var faIls = faShekelSign;
  116044. var faShekel = faShekelSign;
  116045. var faSheqel = faShekelSign;
  116046. var faSheqelSign = faShekelSign;
  116047. var faMap = {
  116048. prefix: 'fas',
  116049. iconName: 'map',
  116050. icon: [576, 512, [128506, 62072], "f279", "M384 476.1L192 421.2V35.9L384 90.8V476.1zm32-1.2V88.4L543.1 37.5c15.8-6.3 32.9 5.3 32.9 22.3V394.6c0 9.8-6 18.6-15.1 22.3L416 474.8zM15.1 95.1L160 37.2V423.6L32.9 474.5C17.1 480.8 0 469.2 0 452.2V117.4c0-9.8 6-18.6 15.1-22.3z"]
  116051. };
  116052. var faRocket = {
  116053. prefix: 'fas',
  116054. iconName: 'rocket',
  116055. icon: [512, 512, [], "f135", "M156.6 384.9L125.7 354c-8.5-8.5-11.5-20.8-7.7-32.2c3-8.9 7-20.5 11.8-33.8L24 288c-8.6 0-16.6-4.6-20.9-12.1s-4.2-16.7 .2-24.1l52.5-88.5c13-21.9 36.5-35.3 61.9-35.3l82.3 0c2.4-4 4.8-7.7 7.2-11.3C289.1-4.1 411.1-8.1 483.9 5.3c11.6 2.1 20.6 11.2 22.8 22.8c13.4 72.9 9.3 194.8-111.4 276.7c-3.5 2.4-7.3 4.8-11.3 7.2v82.3c0 25.4-13.4 49-35.3 61.9l-88.5 52.5c-7.4 4.4-16.6 4.5-24.1 .2s-12.1-12.2-12.1-20.9V380.8c-14.1 4.9-26.4 8.9-35.7 11.9c-11.2 3.6-23.4 .5-31.8-7.8zM384 168c22.1 0 40-17.9 40-40s-17.9-40-40-40s-40 17.9-40 40s17.9 40 40 40z"]
  116056. };
  116057. var faPhotoFilm = {
  116058. prefix: 'fas',
  116059. iconName: 'photo-film',
  116060. icon: [640, 512, ["photo-video"], "f87c", "M256 0H576c35.3 0 64 28.7 64 64V288c0 35.3-28.7 64-64 64H256c-35.3 0-64-28.7-64-64V64c0-35.3 28.7-64 64-64zM476 106.7C471.5 100 464 96 456 96s-15.5 4-20 10.7l-56 84L362.7 169c-4.6-5.7-11.5-9-18.7-9s-14.2 3.3-18.7 9l-64 80c-5.8 7.2-6.9 17.1-2.9 25.4s12.4 13.6 21.6 13.6h80 48H552c8.9 0 17-4.9 21.2-12.7s3.7-17.3-1.2-24.6l-96-144zM336 96c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zM64 128h96V384v32c0 17.7 14.3 32 32 32H320c17.7 0 32-14.3 32-32V384H512v64c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V192c0-35.3 28.7-64 64-64zm8 64c-8.8 0-16 7.2-16 16v16c0 8.8 7.2 16 16 16H88c8.8 0 16-7.2 16-16V208c0-8.8-7.2-16-16-16H72zm0 104c-8.8 0-16 7.2-16 16v16c0 8.8 7.2 16 16 16H88c8.8 0 16-7.2 16-16V312c0-8.8-7.2-16-16-16H72zm0 104c-8.8 0-16 7.2-16 16v16c0 8.8 7.2 16 16 16H88c8.8 0 16-7.2 16-16V416c0-8.8-7.2-16-16-16H72zm336 16v16c0 8.8 7.2 16 16 16h16c8.8 0 16-7.2 16-16V416c0-8.8-7.2-16-16-16H424c-8.8 0-16 7.2-16 16z"]
  116061. };
  116062. var faPhotoVideo = faPhotoFilm;
  116063. var faFolderMinus = {
  116064. prefix: 'fas',
  116065. iconName: 'folder-minus',
  116066. icon: [512, 512, [], "f65d", "M448 480H64c-35.3 0-64-28.7-64-64V96C0 60.7 28.7 32 64 32H181.5c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 28.3 18.7 45.3 18.7H448c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64zM184 272c-13.3 0-24 10.7-24 24s10.7 24 24 24H328c13.3 0 24-10.7 24-24s-10.7-24-24-24H184z"]
  116067. };
  116068. var faStore = {
  116069. prefix: 'fas',
  116070. iconName: 'store',
  116071. icon: [576, 512, [], "f54e", "M547.6 103.8L490.3 13.1C485.2 5 476.1 0 466.4 0H109.6C99.9 0 90.8 5 85.7 13.1L28.3 103.8c-29.6 46.8-3.4 111.9 51.9 119.4c4 .5 8.1 .8 12.1 .8c26.1 0 49.3-11.4 65.2-29c15.9 17.6 39.1 29 65.2 29c26.1 0 49.3-11.4 65.2-29c15.9 17.6 39.1 29 65.2 29c26.2 0 49.3-11.4 65.2-29c16 17.6 39.1 29 65.2 29c4.1 0 8.1-.3 12.1-.8c55.5-7.4 81.8-72.5 52.1-119.4zM499.7 254.9l-.1 0c-5.3 .7-10.7 1.1-16.2 1.1c-12.4 0-24.3-1.9-35.4-5.3V384H128V250.6c-11.2 3.5-23.2 5.4-35.6 5.4c-5.5 0-11-.4-16.3-1.1l-.1 0c-4.1-.6-8.1-1.3-12-2.3V384v64c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V384 252.6c-4 1-8 1.8-12.3 2.3z"]
  116072. };
  116073. var faArrowTrendUp = {
  116074. prefix: 'fas',
  116075. iconName: 'arrow-trend-up',
  116076. icon: [576, 512, [], "e098", "M384 160c-17.7 0-32-14.3-32-32s14.3-32 32-32H544c17.7 0 32 14.3 32 32V288c0 17.7-14.3 32-32 32s-32-14.3-32-32V205.3L342.6 374.6c-12.5 12.5-32.8 12.5-45.3 0L192 269.3 54.6 406.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l160-160c12.5-12.5 32.8-12.5 45.3 0L320 306.7 466.7 160H384z"]
  116077. };
  116078. var faPlugCircleMinus = {
  116079. prefix: 'fas',
  116080. iconName: 'plug-circle-minus',
  116081. icon: [576, 512, [], "e55e", "M96 0C78.3 0 64 14.3 64 32v96h64V32c0-17.7-14.3-32-32-32zM288 0c-17.7 0-32 14.3-32 32v96h64V32c0-17.7-14.3-32-32-32zM32 160c-17.7 0-32 14.3-32 32s14.3 32 32 32v32c0 77.4 55 142 128 156.8V480c0 17.7 14.3 32 32 32s32-14.3 32-32V412.8c12.3-2.5 24.1-6.4 35.1-11.5c-2.1-10.8-3.1-21.9-3.1-33.3c0-80.3 53.8-148 127.3-169.2c.5-2.2 .7-4.5 .7-6.8c0-17.7-14.3-32-32-32H32zM576 368c0-79.5-64.5-144-144-144s-144 64.5-144 144s64.5 144 144 144s144-64.5 144-144zm-64 0c0 8.8-7.2 16-16 16l-128 0c-8.8 0-16-7.2-16-16s7.2-16 16-16H496c8.8 0 16 7.2 16 16z"]
  116082. };
  116083. var faSignHanging = {
  116084. prefix: 'fas',
  116085. iconName: 'sign-hanging',
  116086. icon: [512, 512, ["sign"], "f4d9", "M96 0c17.7 0 32 14.3 32 32V64l352 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-352 0V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V128H32C14.3 128 0 113.7 0 96S14.3 64 32 64H64V32C64 14.3 78.3 0 96 0zm96 160H448c17.7 0 32 14.3 32 32V352c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V192c0-17.7 14.3-32 32-32z"]
  116087. };
  116088. var faSign = faSignHanging;
  116089. var faBezierCurve = {
  116090. prefix: 'fas',
  116091. iconName: 'bezier-curve',
  116092. icon: [640, 512, [], "f55b", "M296 136V88h48v48H296zM288 32c-26.5 0-48 21.5-48 48v4H121.6C111.2 62.7 89.3 48 64 48C28.7 48 0 76.7 0 112s28.7 64 64 64c25.3 0 47.2-14.7 57.6-36h66.9c-58.9 39.6-98.9 105-104 180H80c-26.5 0-48 21.5-48 48v64c0 26.5 21.5 48 48 48h64c26.5 0 48-21.5 48-48V368c0-26.5-21.5-48-48-48h-3.3c5.9-67 48.5-123.4 107.5-149.1c8.6 12.7 23.2 21.1 39.8 21.1h64c16.6 0 31.1-8.4 39.8-21.1c59 25.7 101.6 82.1 107.5 149.1H496c-26.5 0-48 21.5-48 48v64c0 26.5 21.5 48 48 48h64c26.5 0 48-21.5 48-48V368c0-26.5-21.5-48-48-48h-4.5c-5-75-45.1-140.4-104-180h66.9c10.4 21.3 32.3 36 57.6 36c35.3 0 64-28.7 64-64s-28.7-64-64-64c-25.3 0-47.2 14.7-57.6 36H400V80c0-26.5-21.5-48-48-48H288zM88 376h48v48H88V376zm416 48V376h48v48H504z"]
  116093. };
  116094. var faBellSlash = {
  116095. prefix: 'fas',
  116096. iconName: 'bell-slash',
  116097. icon: [640, 512, [128277, 61943], "f1f6", "M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7l-87.5-68.6c.5-1.7 .7-3.5 .7-5.4c0-27.6-11-54.1-30.5-73.7L512 320c-20.5-20.5-32-48.3-32-77.3V208c0-77.4-55-142-128-156.8V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V51.2c-42.6 8.6-79 34.2-102 69.3L38.8 5.1zM160 242.7c0 29-11.5 56.8-32 77.3l-1.5 1.5C107 341 96 367.5 96 395.2c0 11.5 9.3 20.8 20.8 20.8H406.2L160 222.1v20.7zM384 448H320 256c0 17 6.7 33.3 18.7 45.3s28.3 18.7 45.3 18.7s33.3-6.7 45.3-18.7s18.7-28.3 18.7-45.3z"]
  116098. };
  116099. var faTablet = {
  116100. prefix: 'fas',
  116101. iconName: 'tablet',
  116102. icon: [448, 512, ["tablet-android"], "f3fb", "M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H64zM176 432h96c8.8 0 16 7.2 16 16s-7.2 16-16 16H176c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]
  116103. };
  116104. var faTabletAndroid = faTablet;
  116105. var faSchoolFlag = {
  116106. prefix: 'fas',
  116107. iconName: 'school-flag',
  116108. icon: [576, 512, [], "e56e", "M288 0H400c8.8 0 16 7.2 16 16V64c0 8.8-7.2 16-16 16H320V95.5L410.3 160H512c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H336V400c0-26.5-21.5-48-48-48s-48 21.5-48 48V512H64c-35.3 0-64-28.7-64-64V224c0-35.3 28.7-64 64-64H165.7L256 95.5V32c0-17.7 14.3-32 32-32zm48 240c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM80 224c-8.8 0-16 7.2-16 16v64c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V240c0-8.8-7.2-16-16-16H80zm368 16v64c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V240c0-8.8-7.2-16-16-16H464c-8.8 0-16 7.2-16 16zM80 352c-8.8 0-16 7.2-16 16v64c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V368c0-8.8-7.2-16-16-16H80zm384 0c-8.8 0-16 7.2-16 16v64c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V368c0-8.8-7.2-16-16-16H464z"]
  116109. };
  116110. var faFill = {
  116111. prefix: 'fas',
  116112. iconName: 'fill',
  116113. icon: [576, 512, [], "f575", "M118.6 9.4C106.1-3.1 85.9-3.1 73.4 9.4s-12.5 32.8 0 45.3L154.7 136 62.6 228.1c-37.5 37.5-37.5 98.3 0 135.8L180.1 481.4c37.5 37.5 98.3 37.5 135.8 0L506.3 290.9c28.1-28.1 28.1-73.7 0-101.8L354.9 37.7c-28.1-28.1-73.7-28.1-101.8 0L200 90.7 118.6 9.4zM200 181.3l49.4 49.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L245.3 136l53.1-53.1c3.1-3.1 8.2-3.1 11.3 0L461.1 234.3c3.1 3.1 3.1 8.2 0 11.3L418.7 288H99.5c1.4-5.4 4.2-10.4 8.4-14.6L200 181.3z"]
  116114. };
  116115. var faAngleUp = {
  116116. prefix: 'fas',
  116117. iconName: 'angle-up',
  116118. icon: [448, 512, [8963], "f106", "M201.4 137.4c12.5-12.5 32.8-12.5 45.3 0l160 160c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 205.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l160-160z"]
  116119. };
  116120. var faDrumstickBite = {
  116121. prefix: 'fas',
  116122. iconName: 'drumstick-bite',
  116123. icon: [512, 512, [], "f6d7", "M160 265.2c0 8.5-3.4 16.6-9.4 22.6l-26.8 26.8c-12.3 12.3-32.5 11.4-49.4 7.2C69.8 320.6 65 320 60 320c-33.1 0-60 26.9-60 60s26.9 60 60 60c6.3 0 12 5.7 12 12c0 33.1 26.9 60 60 60s60-26.9 60-60c0-5-.6-9.8-1.8-14.5c-4.2-16.9-5.2-37.1 7.2-49.4l26.8-26.8c6-6 14.1-9.4 22.6-9.4H336c6.3 0 12.4-.3 18.5-1c11.9-1.2 16.4-15.5 10.8-26c-8.5-15.8-13.3-33.8-13.3-53c0-61.9 50.1-112 112-112c8 0 15.7 .8 23.2 2.4c11.7 2.5 24.1-5.9 22-17.6C494.5 62.5 422.5 0 336 0C238.8 0 160 78.8 160 176v89.2z"]
  116124. };
  116125. var faHollyBerry = {
  116126. prefix: 'fas',
  116127. iconName: 'holly-berry',
  116128. icon: [512, 512, [], "f7aa", "M256 96c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zm-80 96c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zM276.8 383.8c1 .1 2.1 .2 3.2 .2c39.8 0 72 32.2 72 72v22.7c0 16.4 16 27.9 31.6 22.8l12.8-4.3c18-6 37.3-6.5 55.6-1.5l19.4 5.3c17.9 4.9 34.4-11.6 29.5-29.5L495.6 452c-5-18.3-4.4-37.6 1.5-55.6l4.3-12.8c5.2-15.5-6.4-31.6-22.8-31.6c-34.6 0-62.7-28.1-62.7-62.7v-32c0-16.4-16-27.9-31.6-22.8l-12.8 4.3c-18 6-37.3 6.5-55.6 1.5l-29.6-8.1c-2.9-.8-5.9-1-8.7-.7c4.2 9.7 5.8 20.8 3.7 32.3L275 298.7c-1.5 8.4-1.4 17 .5 25.3l5.3 23.9c2.8 12.7 1.1 25.2-4 35.9zM127.6 234.5c-15.5-5.2-31.6 6.4-31.6 22.8v32C96 323.9 67.9 352 33.3 352c-16.4 0-27.9 16-22.8 31.6l4.3 12.8c6 18 6.5 37.3 1.5 55.6l-5.3 19.4C6.2 489.4 22.6 505.8 40.5 501L60 495.6c18.3-5 37.6-4.5 55.6 1.5l12.8 4.3c15.5 5.2 31.6-6.4 31.6-22.8v-32c0-34.6 28.1-62.7 62.7-62.7c16.4 0 27.9-16 22.8-31.6l-4.3-12.8c-6-18-6.5-37.3-1.5-55.6l5.3-19.4c4.9-17.9-11.6-34.4-29.5-29.5L196 240.4c-18.3 5-37.6 4.4-55.6-1.5l-12.8-4.3zM384 144c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48z"]
  116129. };
  116130. var faChevronLeft = {
  116131. prefix: 'fas',
  116132. iconName: 'chevron-left',
  116133. icon: [384, 512, [9001], "f053", "M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 278.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z"]
  116134. };
  116135. var faBacteria = {
  116136. prefix: 'fas',
  116137. iconName: 'bacteria',
  116138. icon: [640, 512, [], "e059", "M304.9 .7c-9.6-2.7-19.5 2.8-22.3 12.4l-3.1 11c-7.4-.3-14.9 .4-22.4 2.1c-9 2.1-17.8 4.4-26.2 7l-4.4-10.3c-3.9-9.1-14.5-13.4-23.6-9.5s-13.4 14.5-9.5 23.6l3.6 8.5c-16.5 7.1-31.5 15.1-45.2 23.9L147 62c-5.5-8.3-16.7-10.5-25-5s-10.5 16.7-5 25l5.8 8.7c-13.5 11.2-25.3 23.1-35.5 35.3l-10.1-8.1c-7.8-6.2-19.1-5-25.3 2.8s-5 19.1 2.8 25.3L66 155c-1.6 2.4-3.1 4.8-4.5 7.3c-7.1 11.8-12.8 23.2-17.4 34l-7.4-3c-9.2-3.7-19.7 .8-23.4 10s.8 19.7 10 23.4l8.7 3.5c-.2 .8-.4 1.6-.7 2.3c-2.6 9.4-4.2 17.4-5.3 23.5c-.5 3.1-.9 5.7-1.2 7.7c-.1 1-.2 2-.3 2.7l-.1 1.1 0 .5 0 .2 0 .1c0 0 0 .1 29.4 2.8l0 0-29.4-2.7c-.3 3.8-.4 7.5-.3 11.2l-11 3.1C3.5 285.4-2 295.4 .7 304.9s12.7 15.1 22.3 12.4l10.3-2.9c8 15.5 20.7 28.3 36.4 36.4L66.7 361c-2.7 9.6 2.8 19.5 12.4 22.3s19.5-2.8 22.3-12.4l3.1-11c17.8 .8 34.7-4.1 48.8-13.2l8 8c7 7 18.4 7 25.5 0s7-18.4 0-25.5l-8-8c6.8-10.6 11.3-22.9 12.7-36.2l.1-.6c.2-1.3 .7-3.8 1.7-7.4l.2-.6 9.4 4c9.1 3.9 19.7-.3 23.6-9.5s-.3-19.7-9.5-23.6l-8.5-3.6c7.5-11.1 18.7-23.7 36.5-34.5l1.6 5.6c2.7 9.6 12.7 15.1 22.3 12.4s15.1-12.7 12.4-22.3l-3-10.6c5.2-1.7 10.7-3.2 16.6-4.6c9.7-2.2 18.5-6 26.4-11.1l8 8c7 7 18.4 7 25.5 0s7-18.4 0-25.5l-8-8c9.1-14.3 14-31.2 13.2-48.8l11-3.1c9.6-2.7 15.1-12.7 12.4-22.3S370.6 64 361 66.7l-10.3 2.9c-8.1-15.9-21-28.5-36.4-36.4l2.9-10.3c2.7-9.6-2.8-19.5-12.4-22.3zM106.2 275.8l-37.1-3.4 0 0 37.1 3.4zM128 256c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zm96-112c0 8.8-7.2 16-16 16s-16-7.2-16-16s7.2-16 16-16s16 7.2 16 16zm98.7 345c-2.7 9.6 2.8 19.5 12.4 22.3s19.5-2.8 22.2-12.4l3.1-11c7.4 .3 14.9-.4 22.4-2.1c9-2.1 17.8-4.4 26.2-7l4.4 10.3c3.9 9.1 14.5 13.4 23.6 9.5s13.4-14.5 9.5-23.6l-3.6-8.5c16.5-7.1 31.5-15.1 45.2-23.9L493 450c5.5 8.3 16.7 10.5 25 5s10.5-16.7 5-25l-5.8-8.7c13.5-11.2 25.3-23.1 35.5-35.3l10.1 8.1c7.8 6.2 19.1 5 25.3-2.8s5-19.1-2.8-25.3L574 357c1.6-2.4 3.1-4.8 4.5-7.3c7.1-11.8 12.8-23.2 17.4-34l7.4 3c9.2 3.7 19.7-.8 23.4-10s-.8-19.7-10-23.4l-8.7-3.5c.2-.8 .4-1.6 .7-2.3c2.6-9.4 4.2-17.4 5.3-23.5c.5-3.1 .9-5.7 1.2-7.7c.1-1 .2-2 .3-2.7l.1-1.1 0-.5 0-.2 0-.1c0 0 0-.1-29.4-2.8l0 0 29.4 2.7c.3-3.8 .4-7.5 .3-11.2l11-3.1c9.6-2.7 15.1-12.7 12.4-22.3s-12.7-15.1-22.3-12.4l-10.3 2.9c-8-15.5-20.7-28.3-36.4-36.4l2.9-10.3c2.7-9.6-2.8-19.5-12.4-22.3s-19.5 2.8-22.2 12.4l-3.1 11c-17.8-.8-34.7 4.1-48.8 13.2l-8-8c-7-7-18.4-7-25.5 0s-7 18.4 0 25.5l8 8c-6.8 10.6-11.3 22.9-12.7 36.2l-.1 .6c-.2 1.3-.7 3.8-1.7 7.4l-.2 .6-9.4-4c-9.1-3.9-19.7 .3-23.6 9.5s.3 19.7 9.5 23.6l8.5 3.6c-7.5 11.1-18.7 23.7-36.5 34.5l-1.6-5.6c-2.7-9.6-12.7-15.1-22.3-12.4s-15.1 12.7-12.4 22.3l3 10.6c-5.2 1.7-10.7 3.2-16.6 4.6c-9.7 2.2-18.5 6-26.4 11.1l-8-8c-7-7-18.4-7-25.5 0s-7 18.4 0 25.5l8 8c-9.1 14.2-14 31.2-13.2 48.8l-11 3.1c-9.6 2.7-15.1 12.7-12.4 22.2s12.7 15.1 22.3 12.4l10.3-2.9c8.1 15.9 21 28.5 36.4 36.4l-3 10.3zM570.9 239.5l0 0-37.1-3.4 37.1 3.4zM384 384c0-17.7 14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32s-32-14.3-32-32z"]
  116139. };
  116140. var faHandLizard = {
  116141. prefix: 'fas',
  116142. iconName: 'hand-lizard',
  116143. icon: [512, 512, [], "f258", "M0 112C0 85.5 21.5 64 48 64H160h80 46.5c36.8 0 71.2 18 92.1 48.2l113.5 164c13 18.7 19.9 41 19.9 63.8v12 16 48c0 17.7-14.3 32-32 32H384c-17.7 0-32-14.3-32-32V402.2L273.9 352H240 160 112c-26.5 0-48-21.5-48-48s21.5-48 48-48h48 80c26.5 0 48-21.5 48-48s-21.5-48-48-48H160 48c-26.5 0-48-21.5-48-48z"]
  116144. };
  116145. var faDisease = {
  116146. prefix: 'fas',
  116147. iconName: 'disease',
  116148. icon: [512, 512, [], "f7fa", "M238.5 53.1C251 39.6 268.6 32 287 32c28.9 0 54.5 18.7 63.2 46.3L366 128.6c7.3 23 25.2 41 48.2 48.3l62.2 19.9c21.2 6.8 35.6 26.5 35.6 48.7c0 17.5-8.9 33.7-23.6 43.1l-85.9 54.8c-10.6 6.8-16.6 18.8-15.7 31.3l2.5 33.9c2.8 38.5-27.7 71.4-66.4 71.4c-13.6 0-26.9-4.2-38.1-12l-48.2-33.6c-14.8-10.3-32.3-15.8-50.3-15.8H170.2c-4.9 0-9.9 .4-14.8 1.2L83.9 432.1c-21.3 3.6-42.8-5.7-54.6-23.9c-11.8-18.1-11.8-41.4 0-59.4L56.5 307c4.9-7.5 7.5-16.3 7.5-25.3c0-9.9-3.2-19.5-9-27.4L11.3 194.6C-6.5 170.3-.7 136.2 24.2 119.2c9.7-6.6 21.2-9.8 32.9-9.1l80.6 4.6c26.1 1.5 51.5-8.7 69.4-27.9l31.5-33.8zM160 256c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm160-48c0-8.8-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16s16-7.2 16-16zM288 352c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32z"]
  116149. };
  116150. var faBriefcaseMedical = {
  116151. prefix: 'fas',
  116152. iconName: 'briefcase-medical',
  116153. icon: [512, 512, [], "f469", "M184 48H328c4.4 0 8 3.6 8 8V96H176V56c0-4.4 3.6-8 8-8zm-56 8V96H64C28.7 96 0 124.7 0 160V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V160c0-35.3-28.7-64-64-64H384V56c0-30.9-25.1-56-56-56H184c-30.9 0-56 25.1-56 56zm96 152c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v48h48c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H288v48c0 8.8-7.2 16-16 16H240c-8.8 0-16-7.2-16-16V320H176c-8.8 0-16-7.2-16-16V272c0-8.8 7.2-16 16-16h48V208z"]
  116154. };
  116155. var faGenderless = {
  116156. prefix: 'fas',
  116157. iconName: 'genderless',
  116158. icon: [384, 512, [], "f22d", "M192 368c-61.9 0-112-50.1-112-112s50.1-112 112-112s112 50.1 112 112s-50.1 112-112 112zm0 64c97.2 0 176-78.8 176-176s-78.8-176-176-176S16 158.8 16 256s78.8 176 176 176z"]
  116159. };
  116160. var faChevronRight = {
  116161. prefix: 'fas',
  116162. iconName: 'chevron-right',
  116163. icon: [384, 512, [9002], "f054", "M342.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L274.7 256 105.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"]
  116164. };
  116165. var faRetweet = {
  116166. prefix: 'fas',
  116167. iconName: 'retweet',
  116168. icon: [576, 512, [], "f079", "M272 416c17.7 0 32-14.3 32-32s-14.3-32-32-32H160c-17.7 0-32-14.3-32-32V192h32c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-64-64c-12.5-12.5-32.8-12.5-45.3 0l-64 64c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8l32 0 0 128c0 53 43 96 96 96H272zM304 96c-17.7 0-32 14.3-32 32s14.3 32 32 32l112 0c17.7 0 32 14.3 32 32l0 128H416c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l64 64c12.5 12.5 32.8 12.5 45.3 0l64-64c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8l-32 0V192c0-53-43-96-96-96L304 96z"]
  116169. };
  116170. var faCarRear = {
  116171. prefix: 'fas',
  116172. iconName: 'car-rear',
  116173. icon: [512, 512, ["car-alt"], "f5de", "M165.4 96H346.6c13.6 0 25.7 8.6 30.2 21.4L402.9 192H109.1l26.1-74.6c4.5-12.8 16.6-21.4 30.2-21.4zm-90.6 .3L39.6 196.8C16.4 206.4 0 229.3 0 256v80c0 23.7 12.9 44.4 32 55.4V448c0 17.7 14.3 32 32 32H96c17.7 0 32-14.3 32-32V400H384v48c0 17.7 14.3 32 32 32h32c17.7 0 32-14.3 32-32V391.4c19.1-11.1 32-31.7 32-55.4V256c0-26.7-16.4-49.6-39.6-59.2L437.2 96.3C423.7 57.8 387.4 32 346.6 32H165.4c-40.8 0-77.1 25.8-90.6 64.3zM208 272h96c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H208c-8.8 0-16-7.2-16-16V288c0-8.8 7.2-16 16-16zM48 280c0-13.3 10.7-24 24-24h32c13.3 0 24 10.7 24 24s-10.7 24-24 24H72c-13.3 0-24-10.7-24-24zm360-24h32c13.3 0 24 10.7 24 24s-10.7 24-24 24H408c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]
  116174. };
  116175. var faCarAlt = faCarRear;
  116176. var faPumpSoap = {
  116177. prefix: 'fas',
  116178. iconName: 'pump-soap',
  116179. icon: [448, 512, [], "e06b", "M128 32v96H256V96h60.1c4.2 0 8.3 1.7 11.3 4.7l33.9 33.9c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L372.7 55.4c-15-15-35.4-23.4-56.6-23.4H256c0-17.7-14.3-32-32-32H160c-17.7 0-32 14.3-32 32zM117.4 160c-33.3 0-61 25.5-63.8 58.7L35 442.7C31.9 480 61.3 512 98.8 512H285.2c37.4 0 66.9-32 63.8-69.3l-18.7-224c-2.8-33.2-30.5-58.7-63.8-58.7H117.4zM256 360c0 35.3-28.7 56-64 56s-64-20.7-64-56c0-32.5 37-80.9 50.9-97.9c3.2-3.9 8.1-6.1 13.1-6.1s9.9 2.2 13.1 6.1C219 279.1 256 327.5 256 360z"]
  116180. };
  116181. var faVideoSlash = {
  116182. prefix: 'fas',
  116183. iconName: 'video-slash',
  116184. icon: [640, 512, [], "f4e2", "M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7l-86.4-67.7 13.8 9.2c9.8 6.5 22.4 7.2 32.9 1.6s16.9-16.4 16.9-28.2V128c0-11.8-6.5-22.6-16.9-28.2s-23-5-32.9 1.6l-96 64L448 174.9V192 320v5.8l-32-25.1V128c0-35.3-28.7-64-64-64H113.9L38.8 5.1zM32 128V384c0 35.3 28.7 64 64 64H352c23.4 0 43.9-12.6 55-31.3L32.3 121.5c-.2 2.1-.3 4.3-.3 6.5z"]
  116185. };
  116186. var faBatteryQuarter = {
  116187. prefix: 'fas',
  116188. iconName: 'battery-quarter',
  116189. icon: [576, 512, ["battery-2"], "f243", "M0 176c0-44.2 35.8-80 80-80H464c44.2 0 80 35.8 80 80v16c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32v16c0 44.2-35.8 80-80 80H80c-44.2 0-80-35.8-80-80V176zm80-16c-8.8 0-16 7.2-16 16V336c0 8.8 7.2 16 16 16H464c8.8 0 16-7.2 16-16V176c0-8.8-7.2-16-16-16H80zm112 32V320H96V192h96z"]
  116190. };
  116191. var faBattery2 = faBatteryQuarter;
  116192. var faRadio = {
  116193. prefix: 'fas',
  116194. iconName: 'radio',
  116195. icon: [512, 512, [128251], "f8d7", "M494.8 47c12.7-3.7 20-17.1 16.3-29.8S494-2.8 481.2 1L51.7 126.9c-9.4 2.7-17.9 7.3-25.1 13.2C10.5 151.7 0 170.6 0 192v4V304 448c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V192c0-35.3-28.7-64-64-64H218.5L494.8 47zM368 400c-44.2 0-80-35.8-80-80s35.8-80 80-80s80 35.8 80 80s-35.8 80-80 80zM80 256c0-8.8 7.2-16 16-16h96c8.8 0 16 7.2 16 16s-7.2 16-16 16H96c-8.8 0-16-7.2-16-16zM64 320c0-8.8 7.2-16 16-16H208c8.8 0 16 7.2 16 16s-7.2 16-16 16H80c-8.8 0-16-7.2-16-16zm16 64c0-8.8 7.2-16 16-16h96c8.8 0 16 7.2 16 16s-7.2 16-16 16H96c-8.8 0-16-7.2-16-16z"]
  116196. };
  116197. var faBabyCarriage = {
  116198. prefix: 'fas',
  116199. iconName: 'baby-carriage',
  116200. icon: [512, 512, ["carriage-baby"], "f77d", "M256 192H.1C2.7 117.9 41.3 52.9 99 14.1c13.3-8.9 30.8-4.3 39.9 8.8L256 192zm128-32c0-35.3 28.7-64 64-64h32c17.7 0 32 14.3 32 32s-14.3 32-32 32l-32 0v64c0 25.2-5.8 50.2-17 73.5s-27.8 44.5-48.6 62.3s-45.5 32-72.7 41.6S253.4 416 224 416s-58.5-5-85.7-14.6s-51.9-23.8-72.7-41.6s-37.3-39-48.6-62.3S0 249.2 0 224l224 0 160 0V160zM80 512c-26.5 0-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48zm336-48c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48z"]
  116201. };
  116202. var faCarriageBaby = faBabyCarriage;
  116203. var faTrafficLight = {
  116204. prefix: 'fas',
  116205. iconName: 'traffic-light',
  116206. icon: [320, 512, [128678], "f637", "M64 0C28.7 0 0 28.7 0 64V352c0 88.4 71.6 160 160 160s160-71.6 160-160V64c0-35.3-28.7-64-64-64H64zm96 320c26.5 0 48 21.5 48 48s-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48zm-48-80c0-26.5 21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48s-48-21.5-48-48zM160 64c26.5 0 48 21.5 48 48s-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48z"]
  116207. };
  116208. var faThermometer = {
  116209. prefix: 'fas',
  116210. iconName: 'thermometer',
  116211. icon: [512, 512, [], "f491", "M96 382.1V293.3c0-14.9 5.9-29.1 16.4-39.6l27.3-27.3 57 57c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-57-57 41.4-41.4 57 57c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-57-57 41.4-41.4 57 57c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-57-57 45.5-45.5C355.2 10.9 381.4 0 408.8 0C465.8 0 512 46.2 512 103.2c0 27.4-10.9 53.6-30.2 73L258.3 399.6c-10.5 10.5-24.7 16.4-39.6 16.4H129.9L41 505c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l89-89z"]
  116212. };
  116213. var faVrCardboard = {
  116214. prefix: 'fas',
  116215. iconName: 'vr-cardboard',
  116216. icon: [640, 512, [], "f729", "M576 64H64C28.7 64 0 92.7 0 128V384c0 35.3 28.7 64 64 64H184.4c24.2 0 46.4-13.7 57.2-35.4l32-64c8.8-17.5 26.7-28.6 46.3-28.6s37.5 11.1 46.3 28.6l32 64c10.8 21.7 33 35.4 57.2 35.4H576c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64zM224 240c0 35.3-28.7 64-64 64s-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64zm256 64c-35.3 0-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64s-28.7 64-64 64z"]
  116217. };
  116218. var faHandMiddleFinger = {
  116219. prefix: 'fas',
  116220. iconName: 'hand-middle-finger',
  116221. icon: [448, 512, [128405], "f806", "M232 0c-22.1 0-40 17.9-40 40V204.2c-8.5-7.6-19.7-12.2-32-12.2c-26.5 0-48 21.5-48 48v7 73c0 8.8-7.2 16-16 16s-16-7.2-16-16V264.3c-2 1.4-3.9 3-5.8 4.5L55 284.8C40.4 297 32 315 32 334V372c0 38 16.9 74 46.1 98.3l5.4 4.5c28.8 24 65 37.1 102.4 37.1H304c70.7 0 128-57.3 128-128V320 288c0-26.5-21.5-48-48-48c-12.4 0-23.6 4.7-32.1 12.3C350 227.5 329.3 208 304 208c-12.3 0-23.5 4.6-32 12.2V40c0-22.1-17.9-40-40-40z"]
  116222. };
  116223. var faPercent = {
  116224. prefix: 'fas',
  116225. iconName: 'percent',
  116226. icon: [384, 512, [62101, 62785, "percentage"], "25", "M374.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-320 320c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l320-320zM128 128c0-35.3-28.7-64-64-64S0 92.7 0 128s28.7 64 64 64s64-28.7 64-64zM384 384c0-35.3-28.7-64-64-64s-64 28.7-64 64s28.7 64 64 64s64-28.7 64-64z"]
  116227. };
  116228. var faPercentage = faPercent;
  116229. var faTruckMoving = {
  116230. prefix: 'fas',
  116231. iconName: 'truck-moving',
  116232. icon: [640, 512, [], "f4df", "M64 32C28.7 32 0 60.7 0 96V304v80 16c0 44.2 35.8 80 80 80c26.2 0 49.4-12.6 64-32c14.6 19.4 37.8 32 64 32c44.2 0 80-35.8 80-80c0-5.5-.6-10.8-1.6-16H416h33.6c-1 5.2-1.6 10.5-1.6 16c0 44.2 35.8 80 80 80s80-35.8 80-80c0-5.5-.6-10.8-1.6-16H608c17.7 0 32-14.3 32-32V288 272 261.7c0-9.2-3.2-18.2-9-25.3l-58.8-71.8c-10.6-13-26.5-20.5-43.3-20.5H480V96c0-35.3-28.7-64-64-64H64zM585 256H480V192h48.8c2.4 0 4.7 1.1 6.2 2.9L585 256zM528 432c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zM240 400c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zM80 432c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]
  116233. };
  116234. var faGlassWaterDroplet = {
  116235. prefix: 'fas',
  116236. iconName: 'glass-water-droplet',
  116237. icon: [448, 512, [], "e4f5", "M64 0C55.1 0 46.6 3.7 40.6 10.2s-9.1 15.2-8.5 24.1L60.9 437.7c3 41.9 37.8 74.3 79.8 74.3H307.3c42 0 76.8-32.4 79.8-74.3L415.9 34.3c.6-8.9-2.4-17.6-8.5-24.1S392.9 0 384 0H64zm51 297.5L98.4 64H349.6L333 297.5 320 304c-20.1 10.1-43.9 10.1-64 0s-43.9-10.1-64 0s-43.9 10.1-64 0l-13-6.5zM288 196c0-24-33.7-70.1-52.2-93.5c-6.1-7.7-17.5-7.7-23.6 0C193.7 125.9 160 172 160 196c0 33.1 28.7 60 64 60s64-26.9 64-60z"]
  116238. };
  116239. var faDisplay = {
  116240. prefix: 'fas',
  116241. iconName: 'display',
  116242. icon: [576, 512, [], "e163", "M64 0C28.7 0 0 28.7 0 64V352c0 35.3 28.7 64 64 64H240l-10.7 32H160c-17.7 0-32 14.3-32 32s14.3 32 32 32H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H346.7L336 416H512c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H64zM512 64V352H64V64H512z"]
  116243. };
  116244. var faFaceSmile = {
  116245. prefix: 'fas',
  116246. iconName: 'face-smile',
  116247. icon: [512, 512, [128578, "smile"], "f118", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM164.1 325.5C182 346.2 212.6 368 256 368s74-21.8 91.9-42.5c5.8-6.7 15.9-7.4 22.6-1.6s7.4 15.9 1.6 22.6C349.8 372.1 311.1 400 256 400s-93.8-27.9-116.1-53.5c-5.8-6.7-5.1-16.8 1.6-22.6s16.8-5.1 22.6 1.6zM208.4 208c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zm128 32c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]
  116248. };
  116249. var faSmile = faFaceSmile;
  116250. var faThumbtack = {
  116251. prefix: 'fas',
  116252. iconName: 'thumbtack',
  116253. icon: [384, 512, [128204, 128392, "thumb-tack"], "f08d", "M32 32C32 14.3 46.3 0 64 0H320c17.7 0 32 14.3 32 32s-14.3 32-32 32H290.5l11.4 148.2c36.7 19.9 65.7 53.2 79.5 94.7l1 3c3.3 9.8 1.6 20.5-4.4 28.8s-15.7 13.3-26 13.3H32c-10.3 0-19.9-4.9-26-13.3s-7.7-19.1-4.4-28.8l1-3c13.8-41.5 42.8-74.8 79.5-94.7L93.5 64H64C46.3 64 32 49.7 32 32zM160 384h64v96c0 17.7-14.3 32-32 32s-32-14.3-32-32V384z"]
  116254. };
  116255. var faThumbTack = faThumbtack;
  116256. var faTrophy = {
  116257. prefix: 'fas',
  116258. iconName: 'trophy',
  116259. icon: [576, 512, [127942], "f091", "M400 0H176c-26.5 0-48.1 21.8-47.1 48.2c.2 5.3 .4 10.6 .7 15.8H24C10.7 64 0 74.7 0 88c0 92.6 33.5 157 78.5 200.7c44.3 43.1 98.3 64.8 138.1 75.8c23.4 6.5 39.4 26 39.4 45.6c0 20.9-17 37.9-37.9 37.9H192c-17.7 0-32 14.3-32 32s14.3 32 32 32H384c17.7 0 32-14.3 32-32s-14.3-32-32-32H357.9C337 448 320 431 320 410.1c0-19.6 15.9-39.2 39.4-45.6c39.9-11 93.9-32.7 138.2-75.8C542.5 245 576 180.6 576 88c0-13.3-10.7-24-24-24H446.4c.3-5.2 .5-10.4 .7-15.8C448.1 21.8 426.5 0 400 0zM48.9 112h84.4c9.1 90.1 29.2 150.3 51.9 190.6c-24.9-11-50.8-26.5-73.2-48.3c-32-31.1-58-76-63-142.3zM464.1 254.3c-22.4 21.8-48.3 37.3-73.2 48.3c22.7-40.3 42.8-100.5 51.9-190.6h84.4c-5.1 66.3-31.1 111.2-63 142.3z"]
  116260. };
  116261. var faPersonPraying = {
  116262. prefix: 'fas',
  116263. iconName: 'person-praying',
  116264. icon: [448, 512, [128720, "pray"], "f683", "M352 64c0-35.3-28.7-64-64-64s-64 28.7-64 64s28.7 64 64 64s64-28.7 64-64zM232.7 264l22.9 31.5c6.5 8.9 16.3 14.7 27.2 16.1s21.9-1.7 30.4-8.7l88-72c17.1-14 19.6-39.2 5.6-56.3s-39.2-19.6-56.3-5.6l-55.2 45.2-26.2-36C253.6 156.7 228.6 144 202 144c-30.9 0-59.2 17.1-73.6 44.4L79.8 280.9c-20.2 38.5-9.4 85.9 25.6 111.8L158.6 432H72c-22.1 0-40 17.9-40 40s17.9 40 40 40H280c17.3 0 32.6-11.1 38-27.5s-.3-34.4-14.2-44.7L187.7 354l45-90z"]
  116265. };
  116266. var faPray = faPersonPraying;
  116267. var faHammer = {
  116268. prefix: 'fas',
  116269. iconName: 'hammer',
  116270. icon: [576, 512, [128296], "f6e3", "M413.5 237.5c-28.2 4.8-58.2-3.6-80-25.4l-38.1-38.1C280.4 159 272 138.8 272 117.6V105.5L192.3 62c-5.3-2.9-8.6-8.6-8.3-14.7s3.9-11.5 9.5-14l47.2-21C259.1 4.2 279 0 299.2 0h18.1c36.7 0 72 14 98.7 39.1l44.6 42c24.2 22.8 33.2 55.7 26.6 86L503 183l8-8c9.4-9.4 24.6-9.4 33.9 0l24 24c9.4 9.4 9.4 24.6 0 33.9l-88 88c-9.4 9.4-24.6 9.4-33.9 0l-24-24c-9.4-9.4-9.4-24.6 0-33.9l8-8-17.5-17.5zM27.4 377.1L260.9 182.6c3.5 4.9 7.5 9.6 11.8 14l38.1 38.1c6 6 12.4 11.2 19.2 15.7L134.9 484.6c-14.5 17.4-36 27.4-58.6 27.4C34.1 512 0 477.8 0 435.7c0-22.6 10.1-44.1 27.4-58.6z"]
  116271. };
  116272. var faHandPeace = {
  116273. prefix: 'fas',
  116274. iconName: 'hand-peace',
  116275. icon: [512, 512, [9996], "f25b", "M224 0c17.7 0 32 14.3 32 32V240H192V32c0-17.7 14.3-32 32-32zm96 160c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32s-32-14.3-32-32V192c0-17.7 14.3-32 32-32zm64 64c0-17.7 14.3-32 32-32s32 14.3 32 32v64c0 17.7-14.3 32-32 32s-32-14.3-32-32V224zM93.3 51.2L175.9 240H106.1L34.7 76.8C27.6 60.6 35 41.8 51.2 34.7s35.1 .3 42.1 16.5zm27 221.3l-.2-.5h69.9H216c22.1 0 40 17.9 40 40s-17.9 40-40 40H160c-8.8 0-16 7.2-16 16s7.2 16 16 16h56c39.8 0 72-32.2 72-72l0-.6c9.4 5.4 20.3 8.6 32 8.6c13.2 0 25.4-4 35.6-10.8c8.7 24.9 32.5 42.8 60.4 42.8c11.7 0 22.6-3.1 32-8.6V352c0 88.4-71.6 160-160 160H226.3c-42.4 0-83.1-16.9-113.1-46.9l-11.6-11.6C77.5 429.5 64 396.9 64 363V336c0-32.7 24.6-59.7 56.3-63.5z"]
  116276. };
  116277. var faRotate = {
  116278. prefix: 'fas',
  116279. iconName: 'rotate',
  116280. icon: [512, 512, [128260, "sync-alt"], "f2f1", "M142.9 142.9c62.2-62.2 162.7-62.5 225.3-1L327 183c-6.9 6.9-8.9 17.2-5.2 26.2s12.5 14.8 22.2 14.8H463.5c0 0 0 0 0 0H472c13.3 0 24-10.7 24-24V72c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2L413.4 96.6c-87.6-86.5-228.7-86.2-315.8 1C73.2 122 55.6 150.7 44.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5c7.7-21.8 20.2-42.3 37.8-59.8zM16 312v7.6 .7V440c0 9.7 5.8 18.5 14.8 22.2s19.3 1.7 26.2-5.2l41.6-41.6c87.6 86.5 228.7 86.2 315.8-1c24.4-24.4 42.1-53.1 52.9-83.7c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8c-62.2 62.2-162.7 62.5-225.3 1L185 329c6.9-6.9 8.9-17.2 5.2-26.2s-12.5-14.8-22.2-14.8H48.4h-.7H40c-13.3 0-24 10.7-24 24z"]
  116281. };
  116282. var faSyncAlt = faRotate;
  116283. var faSpinner = {
  116284. prefix: 'fas',
  116285. iconName: 'spinner',
  116286. icon: [512, 512, [], "f110", "M304 48c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zm0 416c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM48 304c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zm464-48c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM142.9 437c18.7-18.7 18.7-49.1 0-67.9s-49.1-18.7-67.9 0s-18.7 49.1 0 67.9s49.1 18.7 67.9 0zm0-294.2c18.7-18.7 18.7-49.1 0-67.9S93.7 56.2 75 75s-18.7 49.1 0 67.9s49.1 18.7 67.9 0zM369.1 437c18.7 18.7 49.1 18.7 67.9 0s18.7-49.1 0-67.9s-49.1-18.7-67.9 0s-18.7 49.1 0 67.9z"]
  116287. };
  116288. var faRobot = {
  116289. prefix: 'fas',
  116290. iconName: 'robot',
  116291. icon: [640, 512, [129302], "f544", "M320 0c17.7 0 32 14.3 32 32V96H480c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H160c-35.3 0-64-28.7-64-64V160c0-35.3 28.7-64 64-64H288V32c0-17.7 14.3-32 32-32zM208 384c-8.8 0-16 7.2-16 16s7.2 16 16 16h32c8.8 0 16-7.2 16-16s-7.2-16-16-16H208zm96 0c-8.8 0-16 7.2-16 16s7.2 16 16 16h32c8.8 0 16-7.2 16-16s-7.2-16-16-16H304zm96 0c-8.8 0-16 7.2-16 16s7.2 16 16 16h32c8.8 0 16-7.2 16-16s-7.2-16-16-16H400zM264 256c0-22.1-17.9-40-40-40s-40 17.9-40 40s17.9 40 40 40s40-17.9 40-40zm152 40c22.1 0 40-17.9 40-40s-17.9-40-40-40s-40 17.9-40 40s17.9 40 40 40zM48 224H64V416H48c-26.5 0-48-21.5-48-48V272c0-26.5 21.5-48 48-48zm544 0c26.5 0 48 21.5 48 48v96c0 26.5-21.5 48-48 48H576V224h16z"]
  116292. };
  116293. var faPeace = {
  116294. prefix: 'fas',
  116295. iconName: 'peace',
  116296. icon: [512, 512, [9774], "f67c", "M224 445.3V323.5l-94.3 77.1c26.1 22.8 58.5 38.7 94.3 44.7zM89.2 351.1L224 240.8V66.7C133.2 81.9 64 160.9 64 256c0 34.6 9.2 67.1 25.2 95.1zm293.1 49.5L288 323.5V445.3c35.7-6 68.1-21.9 94.3-44.7zm40.6-49.5c16-28 25.2-60.5 25.2-95.1c0-95.1-69.2-174.1-160-189.3V240.8L422.8 351.1zM512 256c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256z"]
  116297. };
  116298. var faGears = {
  116299. prefix: 'fas',
  116300. iconName: 'gears',
  116301. icon: [640, 512, ["cogs"], "f085", "M308.5 135.3c7.1-6.3 9.9-16.2 6.2-25c-2.3-5.3-4.8-10.5-7.6-15.5L304 89.4c-3-5-6.3-9.9-9.8-14.6c-5.7-7.6-15.7-10.1-24.7-7.1l-28.2 9.3c-10.7-8.8-23-16-36.2-20.9L199 27.1c-1.9-9.3-9.1-16.7-18.5-17.8C173.7 8.4 166.9 8 160 8s-13.7 .4-20.4 1.2c-9.4 1.1-16.6 8.6-18.5 17.8L115 56.1c-13.3 5-25.5 12.1-36.2 20.9L50.5 67.8c-9-3-19-.5-24.7 7.1c-3.5 4.7-6.8 9.6-9.9 14.6l-3 5.3c-2.8 5-5.3 10.2-7.6 15.6c-3.7 8.7-.9 18.6 6.2 25l22.2 19.8C32.6 161.9 32 168.9 32 176s.6 14.1 1.7 20.9L11.5 216.7c-7.1 6.3-9.9 16.2-6.2 25c2.3 5.3 4.8 10.5 7.6 15.6l3 5.2c3 5.1 6.3 9.9 9.9 14.6c5.7 7.6 15.7 10.1 24.7 7.1l28.2-9.3c10.7 8.8 23 16 36.2 20.9l6.1 29.1c1.9 9.3 9.1 16.7 18.5 17.8c6.7 .8 13.5 1.2 20.4 1.2s13.7-.4 20.4-1.2c9.4-1.1 16.6-8.6 18.5-17.8l6.1-29.1c13.3-5 25.5-12.1 36.2-20.9l28.2 9.3c9 3 19 .5 24.7-7.1c3.5-4.7 6.8-9.5 9.8-14.6l3.1-5.4c2.8-5 5.3-10.2 7.6-15.5c3.7-8.7 .9-18.6-6.2-25l-22.2-19.8c1.1-6.8 1.7-13.8 1.7-20.9s-.6-14.1-1.7-20.9l22.2-19.8zM208 176c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zM504.7 500.5c6.3 7.1 16.2 9.9 25 6.2c5.3-2.3 10.5-4.8 15.5-7.6l5.4-3.1c5-3 9.9-6.3 14.6-9.8c7.6-5.7 10.1-15.7 7.1-24.7l-9.3-28.2c8.8-10.7 16-23 20.9-36.2l29.1-6.1c9.3-1.9 16.7-9.1 17.8-18.5c.8-6.7 1.2-13.5 1.2-20.4s-.4-13.7-1.2-20.4c-1.1-9.4-8.6-16.6-17.8-18.5L583.9 307c-5-13.3-12.1-25.5-20.9-36.2l9.3-28.2c3-9 .5-19-7.1-24.7c-4.7-3.5-9.6-6.8-14.6-9.9l-5.3-3c-5-2.8-10.2-5.3-15.6-7.6c-8.7-3.7-18.6-.9-25 6.2l-19.8 22.2c-6.8-1.1-13.8-1.7-20.9-1.7s-14.1 .6-20.9 1.7l-19.8-22.2c-6.3-7.1-16.2-9.9-25-6.2c-5.3 2.3-10.5 4.8-15.6 7.6l-5.2 3c-5.1 3-9.9 6.3-14.6 9.9c-7.6 5.7-10.1 15.7-7.1 24.7l9.3 28.2c-8.8 10.7-16 23-20.9 36.2L315.1 313c-9.3 1.9-16.7 9.1-17.8 18.5c-.8 6.7-1.2 13.5-1.2 20.4s.4 13.7 1.2 20.4c1.1 9.4 8.6 16.6 17.8 18.5l29.1 6.1c5 13.3 12.1 25.5 20.9 36.2l-9.3 28.2c-3 9-.5 19 7.1 24.7c4.7 3.5 9.5 6.8 14.6 9.8l5.4 3.1c5 2.8 10.2 5.3 15.5 7.6c8.7 3.7 18.6 .9 25-6.2l19.8-22.2c6.8 1.1 13.8 1.7 20.9 1.7s14.1-.6 20.9-1.7l19.8 22.2zM464 400c-26.5 0-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48z"]
  116302. };
  116303. var faCogs = faGears;
  116304. var faWarehouse = {
  116305. prefix: 'fas',
  116306. iconName: 'warehouse',
  116307. icon: [640, 512, [], "f494", "M0 488V171.3c0-26.2 15.9-49.7 40.2-59.4L308.1 4.8c7.6-3.1 16.1-3.1 23.8 0L599.8 111.9c24.3 9.7 40.2 33.3 40.2 59.4V488c0 13.3-10.7 24-24 24H568c-13.3 0-24-10.7-24-24V224c0-17.7-14.3-32-32-32H128c-17.7 0-32 14.3-32 32V488c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24zm488 24l-336 0c-13.3 0-24-10.7-24-24V432H512l0 56c0 13.3-10.7 24-24 24zM128 400V336H512v64H128zm0-96V224H512l0 80H128z"]
  116308. };
  116309. var faArrowUpRightDots = {
  116310. prefix: 'fas',
  116311. iconName: 'arrow-up-right-dots',
  116312. icon: [576, 512, [], "e4b7", "M160 0c-17.7 0-32 14.3-32 32s14.3 32 32 32h50.7L9.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L256 109.3V160c0 17.7 14.3 32 32 32s32-14.3 32-32V32c0-17.7-14.3-32-32-32H160zM576 80c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM448 208c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM400 384c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zm48 80c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zm128 0c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM272 384c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zm48 80c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM144 512c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zM576 336c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zm-48-80c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48z"]
  116313. };
  116314. var faSplotch = {
  116315. prefix: 'fas',
  116316. iconName: 'splotch',
  116317. icon: [512, 512, [], "f5bc", "M287.6 .1c-19.7 0-38.3 9.1-50.4 24.6L205.9 64.9c-17.9 23-46 35.6-75.1 33.7L59.1 94c-13.5-.9-26.9 3.2-37.7 11.6C-1.3 123.2-6.7 155.2 8.8 179.4l44.5 69.2c7.1 11 10.8 23.8 10.8 36.8c0 11.9-3.1 23.5-9 33.8L27.4 367.7c-10 17.5-10 39.1 0 56.6c12.1 21.2 36.4 32.3 60.4 27.7l67-13c5.5-1.1 11.2-1.6 16.8-1.6H180c20.9 0 41 7.4 56.9 20.9l45 38.2c11.8 10 26.9 15.6 42.4 15.6c37.8 0 67.7-31.9 65.4-69.6l-3.1-50.6c-1-16.8 6.6-32.9 20.1-42.8l82.5-60.2c14.2-10.4 22.7-27 22.7-44.6c0-23.2-14.5-43.9-36.3-51.8l-58.2-21.2c-24.4-8.9-42.9-29.1-49.7-54.2L349.3 47.4C341.8 19.5 316.5 .1 287.6 .1z"]
  116318. };
  116319. var faFaceGrinHearts = {
  116320. prefix: 'fas',
  116321. iconName: 'face-grin-hearts',
  116322. icon: [512, 512, [128525, "grin-hearts"], "f584", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM383.8 317.8c12.3-3.7 24.3 7 19.2 18.7c-24.5 56.9-81.1 96.7-147 96.7s-122.5-39.8-147-96.7c-5.1-11.8 6.9-22.4 19.2-18.7C166.7 329.4 210.1 336 256 336s89.3-6.6 127.8-18.2zM199.3 129.1c17.8 4.8 28.4 23.1 23.6 40.8l-17.4 65c-2.3 8.5-11.1 13.6-19.6 11.3l-65.1-17.4c-17.8-4.8-28.4-23.1-23.6-40.8s23.1-28.4 40.8-23.6l16.1 4.3 4.3-16.1c4.8-17.8 23.1-28.4 40.8-23.6zm154.3 23.6l4.3 16.1 16.1-4.3c17.8-4.8 36.1 5.8 40.8 23.6s-5.8 36.1-23.6 40.8l-65.1 17.4c-8.5 2.3-17.3-2.8-19.6-11.3l-17.4-65c-4.8-17.8 5.8-36.1 23.6-40.8s36.1 5.8 40.9 23.6z"]
  116323. };
  116324. var faGrinHearts = faFaceGrinHearts;
  116325. var faDiceFour = {
  116326. prefix: 'fas',
  116327. iconName: 'dice-four',
  116328. icon: [448, 512, [9859], "f524", "M0 96C0 60.7 28.7 32 64 32H384c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zm160 64c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zM128 384c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zM352 160c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zM320 384c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32z"]
  116329. };
  116330. var faSimCard = {
  116331. prefix: 'fas',
  116332. iconName: 'sim-card',
  116333. icon: [384, 512, [], "f7c4", "M64 0H242.7c17 0 33.3 6.7 45.3 18.7L365.3 96c12 12 18.7 28.3 18.7 45.3V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64C0 28.7 28.7 0 64 0zM96 192c-17.7 0-32 14.3-32 32v32h64V192H96zM64 352h80 96 80V288H240 144 64v64zM320 224c0-17.7-14.3-32-32-32H256v64h64V224zM160 192v64h64V192H160zM288 448c17.7 0 32-14.3 32-32V384H256v64h32zM160 384v64h64V384H160zM64 416c0 17.7 14.3 32 32 32h32V384H64v32z"]
  116334. };
  116335. var faTransgender = {
  116336. prefix: 'fas',
  116337. iconName: 'transgender',
  116338. icon: [512, 512, [9895, "transgender-alt"], "f225", "M112 0c6.5 0 12.3 3.9 14.8 9.9s1.1 12.9-3.5 17.4l-31 31L112 78.1l7-7c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-7 7 15.2 15.2C187.7 107.6 220.5 96 256 96s68.3 11.6 94.9 31.2l68.8-68.8-31-31c-4.6-4.6-5.9-11.5-3.5-17.4s8.3-9.9 14.8-9.9h96c8.8 0 16 7.2 16 16v96c0 6.5-3.9 12.3-9.9 14.8s-12.9 1.1-17.4-3.5l-31-31-68.8 68.8C404.4 187.7 416 220.5 416 256c0 80.2-59 146.6-136 158.2V432h16c13.3 0 24 10.7 24 24s-10.7 24-24 24H280v8c0 13.3-10.7 24-24 24s-24-10.7-24-24v-8H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h16V414.2C155 402.6 96 336.2 96 256c0-35.5 11.6-68.3 31.2-94.9L112 145.9l-7 7c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l7-7L58.3 92.3l-31 31c-4.6 4.6-11.5 5.9-17.4 3.5S0 118.5 0 112V16C0 7.2 7.2 0 16 0h96zM352 256c0-53-43-96-96-96s-96 43-96 96s43 96 96 96s96-43 96-96z"]
  116339. };
  116340. var faTransgenderAlt = faTransgender;
  116341. var faMercury = {
  116342. prefix: 'fas',
  116343. iconName: 'mercury',
  116344. icon: [384, 512, [9791], "f223", "M72.1 7C85.8-4 106-1.8 117 12c17.6 22 44.7 36 75 36s57.3-14 75-36c11.1-13.8 31.2-16 45-5s16 31.2 5 45c-7.8 9.7-16.6 18.4-26.4 26.1C337.3 109.7 368 163.3 368 224c0 89.1-66.2 162.7-152 174.4V424h32c13.3 0 24 10.7 24 24s-10.7 24-24 24H216v16c0 13.3-10.7 24-24 24s-24-10.7-24-24V472H136c-13.3 0-24-10.7-24-24s10.7-24 24-24h32V398.4C82.2 386.7 16 313.1 16 224c0-60.7 30.7-114.3 77.5-145.9C83.7 70.5 74.9 61.7 67.1 52c-11.1-13.8-8.8-33.9 5-45zM80 224c0 61.9 50.1 112 112 112s112-50.1 112-112s-50.1-112-112-112s-112 50.1-112 112z"]
  116345. };
  116346. var faArrowTurnDown = {
  116347. prefix: 'fas',
  116348. iconName: 'arrow-turn-down',
  116349. icon: [384, 512, ["level-down"], "f149", "M32 64C14.3 64 0 49.7 0 32S14.3 0 32 0l96 0c53 0 96 43 96 96l0 306.7 73.4-73.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-128 128c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 402.7 160 96c0-17.7-14.3-32-32-32L32 64z"]
  116350. };
  116351. var faLevelDown = faArrowTurnDown;
  116352. var faPersonFallingBurst = {
  116353. prefix: 'fas',
  116354. iconName: 'person-falling-burst',
  116355. icon: [640, 512, [], "e547", "M256 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 9.8c0 39-23.7 74-59.9 88.4C71.6 154.5 32 213 32 278.2V352c0 17.7 14.3 32 32 32s32-14.3 32-32l0-73.8c0-10 1.6-19.8 4.5-29L261.1 497.4c9.6 14.8 29.4 19.1 44.3 9.5s19.1-29.4 9.5-44.3L222.6 320H224l80 0 38.4 51.2c10.6 14.1 30.7 17 44.8 6.4s17-30.7 6.4-44.8l-43.2-57.6C341.3 263.1 327.1 256 312 256l-71.5 0-56.8-80.2-.2-.3c44.7-29 72.5-79 72.5-133.6l0-9.8zM96 80c0-26.5-21.5-48-48-48S0 53.5 0 80s21.5 48 48 48s48-21.5 48-48zM464 286.1l58.6 53.9c4.8 4.4 11.9 5.5 17.8 2.6s9.5-9 9-15.5l-5.6-79.4 78.7-12.2c6.5-1 11.7-5.9 13.1-12.2s-1.1-13-6.5-16.7l-65.6-45.1L603 92.2c3.3-5.7 2.7-12.8-1.4-17.9s-10.9-7.2-17.2-5.3L508.3 92.1l-29.4-74C476.4 12 470.6 8 464 8s-12.4 4-14.9 10.1l-29.4 74L343.6 68.9c-6.3-1.9-13.1 .2-17.2 5.3s-4.6 12.2-1.4 17.9l39.5 69.1-65.6 45.1c-5.4 3.7-8 10.3-6.5 16.7c.1 .3 .1 .6 .2 .8l19.4 0c20.1 0 39.2 7.5 53.8 20.8l18.4 2.9L383 265.3l36.2 48.3c2.1 2.8 3.9 5.7 5.5 8.6L464 286.1z"]
  116356. };
  116357. var faAward = {
  116358. prefix: 'fas',
  116359. iconName: 'award',
  116360. icon: [384, 512, [], "f559", "M173.8 5.5c11-7.3 25.4-7.3 36.4 0L228 17.2c6 3.9 13 5.8 20.1 5.4l21.3-1.3c13.2-.8 25.6 6.4 31.5 18.2l9.6 19.1c3.2 6.4 8.4 11.5 14.7 14.7L344.5 83c11.8 5.9 19 18.3 18.2 31.5l-1.3 21.3c-.4 7.1 1.5 14.2 5.4 20.1l11.8 17.8c7.3 11 7.3 25.4 0 36.4L366.8 228c-3.9 6-5.8 13-5.4 20.1l1.3 21.3c.8 13.2-6.4 25.6-18.2 31.5l-19.1 9.6c-6.4 3.2-11.5 8.4-14.7 14.7L301 344.5c-5.9 11.8-18.3 19-31.5 18.2l-21.3-1.3c-7.1-.4-14.2 1.5-20.1 5.4l-17.8 11.8c-11 7.3-25.4 7.3-36.4 0L156 366.8c-6-3.9-13-5.8-20.1-5.4l-21.3 1.3c-13.2 .8-25.6-6.4-31.5-18.2l-9.6-19.1c-3.2-6.4-8.4-11.5-14.7-14.7L39.5 301c-11.8-5.9-19-18.3-18.2-31.5l1.3-21.3c.4-7.1-1.5-14.2-5.4-20.1L5.5 210.2c-7.3-11-7.3-25.4 0-36.4L17.2 156c3.9-6 5.8-13 5.4-20.1l-1.3-21.3c-.8-13.2 6.4-25.6 18.2-31.5l19.1-9.6C65 70.2 70.2 65 73.4 58.6L83 39.5c5.9-11.8 18.3-19 31.5-18.2l21.3 1.3c7.1 .4 14.2-1.5 20.1-5.4L173.8 5.5zM272 192c0-44.2-35.8-80-80-80s-80 35.8-80 80s35.8 80 80 80s80-35.8 80-80zM1.3 441.8L44.4 339.3c.2 .1 .3 .2 .4 .4l9.6 19.1c11.7 23.2 36 37.3 62 35.8l21.3-1.3c.2 0 .5 0 .7 .2l17.8 11.8c5.1 3.3 10.5 5.9 16.1 7.7l-37.6 89.3c-2.3 5.5-7.4 9.2-13.3 9.7s-11.6-2.2-14.8-7.2L74.4 455.5l-56.1 8.3c-5.7 .8-11.4-1.5-15-6s-4.3-10.7-2.1-16zm248 60.4L211.7 413c5.6-1.8 11-4.3 16.1-7.7l17.8-11.8c.2-.1 .4-.2 .7-.2l21.3 1.3c26 1.5 50.3-12.6 62-35.8l9.6-19.1c.1-.2 .2-.3 .4-.4l43.2 102.5c2.2 5.3 1.4 11.4-2.1 16s-9.3 6.9-15 6l-56.1-8.3-32.2 49.2c-3.2 5-8.9 7.7-14.8 7.2s-11-4.3-13.3-9.7z"]
  116361. };
  116362. var faTicketSimple = {
  116363. prefix: 'fas',
  116364. iconName: 'ticket-simple',
  116365. icon: [576, 512, ["ticket-alt"], "f3ff", "M0 128C0 92.7 28.7 64 64 64H512c35.3 0 64 28.7 64 64v80c-26.5 0-48 21.5-48 48s21.5 48 48 48v80c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V304c26.5 0 48-21.5 48-48s-21.5-48-48-48V128z"]
  116366. };
  116367. var faTicketAlt = faTicketSimple;
  116368. var faBuilding = {
  116369. prefix: 'fas',
  116370. iconName: 'building',
  116371. icon: [384, 512, [127970, 61687], "f1ad", "M48 0C21.5 0 0 21.5 0 48V464c0 26.5 21.5 48 48 48h96V432c0-26.5 21.5-48 48-48s48 21.5 48 48v80h96c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48H48zM64 240c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V240zm112-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V240c0-8.8 7.2-16 16-16zm80 16c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H272c-8.8 0-16-7.2-16-16V240zM80 96h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16zm80 16c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V112zM272 96h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H272c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16z"]
  116372. };
  116373. var faAnglesLeft = {
  116374. prefix: 'fas',
  116375. iconName: 'angles-left',
  116376. icon: [512, 512, [171, "angle-double-left"], "f100", "M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160zm352-160l-160 160c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L301.3 256 438.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0z"]
  116377. };
  116378. var faAngleDoubleLeft = faAnglesLeft;
  116379. var faQrcode = {
  116380. prefix: 'fas',
  116381. iconName: 'qrcode',
  116382. icon: [448, 512, [], "f029", "M48 32C21.5 32 0 53.5 0 80v96c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48H48zm80 64v64H64V96h64zM48 288c-26.5 0-48 21.5-48 48v96c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48V336c0-26.5-21.5-48-48-48H48zm80 64v64H64V352h64zM256 80v96c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48H304c-26.5 0-48 21.5-48 48zm64 16h64v64H320V96zm32 352v32h32V448H352zm96 0H416v32h32V448zM416 288v32H352V288H256v96 96h64V384h32v32h96V352 320 288H416z"]
  116383. };
  116384. var faClockRotateLeft = {
  116385. prefix: 'fas',
  116386. iconName: 'clock-rotate-left',
  116387. icon: [512, 512, ["history"], "f1da", "M75 75L41 41C25.9 25.9 0 36.6 0 57.9V168c0 13.3 10.7 24 24 24H134.1c21.4 0 32.1-25.9 17-41l-30.8-30.8C155 85.5 203 64 256 64c106 0 192 86 192 192s-86 192-192 192c-40.8 0-78.6-12.7-109.7-34.4c-14.5-10.1-34.4-6.6-44.6 7.9s-6.6 34.4 7.9 44.6C151.2 495 201.7 512 256 512c141.4 0 256-114.6 256-256S397.4 0 256 0C185.3 0 121.3 28.7 75 75zm181 53c-13.3 0-24 10.7-24 24V256c0 6.4 2.5 12.5 7 17l72 72c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-65-65V152c0-13.3-10.7-24-24-24z"]
  116388. };
  116389. var faHistory = faClockRotateLeft;
  116390. var faFaceGrinBeamSweat = {
  116391. prefix: 'fas',
  116392. iconName: 'face-grin-beam-sweat',
  116393. icon: [512, 512, [128517, "grin-beam-sweat"], "f583", "M476.8 126.3c-4.1 1.1-8.4 1.7-12.8 1.7c-26.5 0-48-21-48-47c0-5 1.8-11.3 4.6-18.1c.3-.7 .6-1.4 .9-2.1c9-20.2 26.5-44.9 36-57.5c3.2-4.4 9.6-4.4 12.8 0C483.4 20.6 512 61 512 81c0 21.7-14.9 39.8-35.2 45.3zM256 0c51.4 0 99.3 15.2 139.4 41.2c-1.5 3.1-3 6.2-4.3 9.3c-3.4 8-7.1 19-7.1 30.5c0 44.3 36.6 79 80 79c9.6 0 18.8-1.7 27.4-4.8c13.3 30.9 20.6 65 20.6 100.8c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0zM383.8 317.8C345.3 329.4 301.9 336 256 336s-89.3-6.6-127.8-18.2c-12.3-3.7-24.3 7-19.2 18.7c24.5 56.9 81.1 96.7 147 96.7s122.5-39.8 147-96.7c5.1-11.8-6.9-22.4-19.2-18.7zm-166.2-89l0 0 0 0c2.1 2.8 5.7 3.9 8.9 2.8s5.5-4.1 5.5-7.6c0-17.9-6.7-35.6-16.6-48.8c-9.8-13-23.9-23.2-39.4-23.2s-29.6 10.2-39.4 23.2C126.7 188.4 120 206.1 120 224c0 3.4 2.2 6.5 5.5 7.6s6.9 0 8.9-2.8l0 0 0 0 0 0 .2-.2c.2-.2 .4-.5 .7-.9c.6-.8 1.6-2 2.8-3.4c2.5-2.8 6-6.6 10.2-10.3c8.8-7.8 18.8-14 27.7-14s18.9 6.2 27.7 14c4.2 3.7 7.7 7.5 10.2 10.3c1.2 1.4 2.2 2.6 2.8 3.4c.3 .4 .6 .7 .7 .9l.2 .2 0 0 0 0zm160 0l0 0 0 0 0 0c2.1 2.8 5.7 3.9 8.9 2.8s5.5-4.1 5.5-7.6c0-17.9-6.7-35.6-16.6-48.8c-9.8-13-23.9-23.2-39.4-23.2s-29.6 10.2-39.4 23.2C286.7 188.4 280 206.1 280 224c0 3.4 2.2 6.5 5.5 7.6s6.9 0 8.9-2.8l0 0 0 0 0 0 .2-.2c.2-.2 .4-.5 .7-.9c.6-.8 1.6-2 2.8-3.4c2.5-2.8 6-6.6 10.2-10.3c8.8-7.8 18.8-14 27.7-14s18.9 6.2 27.7 14c4.2 3.7 7.7 7.5 10.2 10.3c1.2 1.4 2.2 2.6 2.8 3.4c.3 .4 .6 .7 .7 .9l.2 .2 0 0z"]
  116394. };
  116395. var faGrinBeamSweat = faFaceGrinBeamSweat;
  116396. var faFileExport = {
  116397. prefix: 'fas',
  116398. iconName: 'file-export',
  116399. icon: [640, 512, ["arrow-right-from-file"], "f56e", "M32 64C32 28.7 60.7 0 96 0H256V128c0 17.7 14.3 32 32 32H416V288H248c-13.3 0-24 10.7-24 24s10.7 24 24 24H416V448c0 35.3-28.7 64-64 64H96c-35.3 0-64-28.7-64-64V64zM416 336V288H526.1l-39-39c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l80 80c9.4 9.4 9.4 24.6 0 33.9l-80 80c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l39-39H416zm0-208H288V0L416 128z"]
  116400. };
  116401. var faArrowRightFromFile = faFileExport;
  116402. var faShield = {
  116403. prefix: 'fas',
  116404. iconName: 'shield',
  116405. icon: [512, 512, [128737, "shield-blank"], "f132", "M256 0c4.6 0 9.2 1 13.4 2.9L457.7 82.8c22 9.3 38.4 31 38.3 57.2c-.5 99.2-41.3 280.7-213.7 363.2c-16.7 8-36.1 8-52.8 0C57.3 420.7 16.5 239.2 16 140c-.1-26.2 16.3-47.9 38.3-57.2L242.7 2.9C246.8 1 251.4 0 256 0z"]
  116406. };
  116407. var faShieldBlank = faShield;
  116408. var faArrowUpShortWide = {
  116409. prefix: 'fas',
  116410. iconName: 'arrow-up-short-wide',
  116411. icon: [576, 512, ["sort-amount-up-alt"], "f885", "M151.6 42.4C145.5 35.8 137 32 128 32s-17.5 3.8-23.6 10.4l-88 96c-11.9 13-11.1 33.3 2 45.2s33.3 11.1 45.2-2L96 146.3V448c0 17.7 14.3 32 32 32s32-14.3 32-32V146.3l32.4 35.4c11.9 13 32.2 13.9 45.2 2s13.9-32.2 2-45.2l-88-96zM320 32c-17.7 0-32 14.3-32 32s14.3 32 32 32h32c17.7 0 32-14.3 32-32s-14.3-32-32-32H320zm0 128c-17.7 0-32 14.3-32 32s14.3 32 32 32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H320zm0 128c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H320zm0 128c-17.7 0-32 14.3-32 32s14.3 32 32 32H544c17.7 0 32-14.3 32-32s-14.3-32-32-32H320z"]
  116412. };
  116413. var faSortAmountUpAlt = faArrowUpShortWide;
  116414. var faHouseMedical = {
  116415. prefix: 'fas',
  116416. iconName: 'house-medical',
  116417. icon: [576, 512, [], "e3b2", "M543.8 287.6c17 0 32-14 32-32.1c1-9-3-17-11-24L309.5 7c-6-5-14-7-21-7s-15 1-22 8L10 231.5c-7 7-10 15-10 24c0 18 14 32.1 32 32.1h32V448c0 35.3 28.7 64 64 64H448.5c35.5 0 64.2-28.8 64-64.3l-.7-160.2h32zM256 208c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v48h48c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H320v48c0 8.8-7.2 16-16 16H272c-8.8 0-16-7.2-16-16V320H208c-8.8 0-16-7.2-16-16V272c0-8.8 7.2-16 16-16h48V208z"]
  116418. };
  116419. var faGolfBallTee = {
  116420. prefix: 'fas',
  116421. iconName: 'golf-ball-tee',
  116422. icon: [384, 512, ["golf-ball"], "f450", "M384 192c0 66.8-34.1 125.6-85.8 160H85.8C34.1 317.6 0 258.8 0 192C0 86 86 0 192 0S384 86 384 192zM242.1 256.6c0 18.5-15 33.5-33.5 33.5c-4.9 0-9.6-1.1-13.8-3c5.3 11.6 16.9 19.7 30.5 19.7c18.5 0 33.5-15 33.5-33.5c0-13.6-8.1-25.3-19.7-30.5c1.9 4.2 3 8.9 3 13.8zm-52.3-49.3c-4.9 0-9.6-1.1-13.8-3c5.3 11.6 16.9 19.7 30.5 19.7c18.5 0 33.5-15 33.5-33.5c0-13.6-8.1-25.3-19.7-30.5c1.9 4.2 3 8.9 3 13.8c0 18.5-15 33.5-33.5 33.5zm113.5-17.5c0 18.5-15 33.5-33.5 33.5c-4.9 0-9.6-1.1-13.8-3c5.3 11.6 16.9 19.7 30.5 19.7c18.5 0 33.5-15 33.5-33.5c0-13.6-8.1-25.3-19.7-30.5c1.9 4.2 3 8.9 3 13.8zM96 416c0-17.7 14.3-32 32-32h64 64c17.7 0 32 14.3 32 32s-14.3 32-32 32H240c-8.8 0-16 7.2-16 16v16c0 17.7-14.3 32-32 32s-32-14.3-32-32V464c0-8.8-7.2-16-16-16H128c-17.7 0-32-14.3-32-32z"]
  116423. };
  116424. var faGolfBall = faGolfBallTee;
  116425. var faCircleChevronLeft = {
  116426. prefix: 'fas',
  116427. iconName: 'circle-chevron-left',
  116428. icon: [512, 512, ["chevron-circle-left"], "f137", "M512 256C512 114.6 397.4 0 256 0S0 114.6 0 256S114.6 512 256 512s256-114.6 256-256zM271 135c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-87 87 87 87c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0L167 273c-9.4-9.4-9.4-24.6 0-33.9L271 135z"]
  116429. };
  116430. var faChevronCircleLeft = faCircleChevronLeft;
  116431. var faHouseChimneyWindow = {
  116432. prefix: 'fas',
  116433. iconName: 'house-chimney-window',
  116434. icon: [576, 512, [], "e00d", "M575.8 255.5c0 18-15 32.1-32 32.1h-32l.7 160.2c.2 35.5-28.5 64.3-64 64.3H128.1c-35.3 0-64-28.7-64-64V287.6H32c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L416 100.7V64c0-17.7 14.3-32 32-32h32c17.7 0 32 14.3 32 32V185l52.8 46.4c8 7 12 15 11 24zM248 192c-13.3 0-24 10.7-24 24v80c0 13.3 10.7 24 24 24h80c13.3 0 24-10.7 24-24V216c0-13.3-10.7-24-24-24H248z"]
  116435. };
  116436. var faPenNib = {
  116437. prefix: 'fas',
  116438. iconName: 'pen-nib',
  116439. icon: [512, 512, [10001], "f5ad", "M368.4 18.3L312.7 74.1 437.9 199.3l55.7-55.7c21.9-21.9 21.9-57.3 0-79.2L447.6 18.3c-21.9-21.9-57.3-21.9-79.2 0zM288 94.6l-9.2 2.8L134.7 140.6c-19.9 6-35.7 21.2-42.3 41L3.8 445.8c-3.8 11.3-1 23.9 7.3 32.4L164.7 324.7c-3-6.3-4.7-13.3-4.7-20.7c0-26.5 21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48c-7.4 0-14.4-1.7-20.7-4.7L33.7 500.9c8.6 8.3 21.1 11.2 32.4 7.3l264.3-88.6c19.7-6.6 35-22.4 41-42.3l43.2-144.1 2.8-9.2L288 94.6z"]
  116440. };
  116441. var faTentArrowTurnLeft = {
  116442. prefix: 'fas',
  116443. iconName: 'tent-arrow-turn-left',
  116444. icon: [640, 512, [], "e580", "M152.1 41.8c9.9-8.9 10.7-24 1.8-33.9s-24-10.7-33.9-1.8l-80 72C34.9 82.7 32 89.2 32 96s2.9 13.3 7.9 17.8l80 72c9.9 8.9 25 8.1 33.9-1.8s8.1-25-1.8-33.9L118.5 120 488 120c39.8 0 72 32.2 72 72v40c0 13.3 10.7 24 24 24s24-10.7 24-24V192c0-66.3-53.7-120-120-120L118.5 72l33.5-30.2zM339.4 166.5c-11.5-8.7-27.3-8.7-38.8 0l-168 128c-6.6 5-11 12.5-12.3 20.7l-24 160c-1.4 9.2 1.3 18.6 7.4 25.6s14.9 11.1 24.2 11.1H320V352l96 160h96c9.3 0 18.2-4.1 24.2-11.1s8.8-16.4 7.4-25.6l-24-160c-1.2-8.2-5.6-15.7-12.3-20.7l-168-128z"]
  116445. };
  116446. var faTents = {
  116447. prefix: 'fas',
  116448. iconName: 'tents',
  116449. icon: [640, 512, [], "e582", "M396.6 6.5L235.8 129.1c9.6 1.8 18.9 5.8 27 12l168 128c13.2 10.1 22 24.9 24.5 41.4l6.2 41.5H608c9.3 0 18.2-4.1 24.2-11.1s8.8-16.4 7.4-25.6l-24-160c-1.2-8.2-5.6-15.7-12.3-20.7l-168-128c-11.5-8.7-27.3-8.7-38.8 0zm-153.2 160c-11.5-8.7-27.3-8.7-38.8 0l-168 128c-6.6 5-11 12.5-12.3 20.7l-24 160c-1.4 9.2 1.3 18.6 7.4 25.6S22.7 512 32 512H224V352l96 160h96c9.3 0 18.2-4.1 24.2-11.1s8.8-16.4 7.4-25.6l-24-160c-1.2-8.2-5.6-15.7-12.3-20.7l-168-128z"]
  116450. };
  116451. var faWandMagic = {
  116452. prefix: 'fas',
  116453. iconName: 'wand-magic',
  116454. icon: [512, 512, ["magic"], "f0d0", "M14.1 463.3c-18.7-18.7-18.7-49.1 0-67.9L395.4 14.1c18.7-18.7 49.1-18.7 67.9 0l34.6 34.6c18.7 18.7 18.7 49.1 0 67.9L116.5 497.9c-18.7 18.7-49.1 18.7-67.9 0L14.1 463.3zM347.6 187.6l105-105L429.4 59.3l-105 105 23.3 23.3z"]
  116455. };
  116456. var faMagic = faWandMagic;
  116457. var faDog = {
  116458. prefix: 'fas',
  116459. iconName: 'dog',
  116460. icon: [576, 512, [128021], "f6d3", "M309.6 158.5L332.7 19.8C334.6 8.4 344.5 0 356.1 0c7.5 0 14.5 3.5 19 9.5L392 32h52.1c12.7 0 24.9 5.1 33.9 14.1L496 64h56c13.3 0 24 10.7 24 24v24c0 44.2-35.8 80-80 80H464 448 426.7l-5.1 30.5-112-64zM416 256.1L416 480c0 17.7-14.3 32-32 32H352c-17.7 0-32-14.3-32-32V364.8c-24 12.3-51.2 19.2-80 19.2s-56-6.9-80-19.2V480c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V249.8c-28.8-10.9-51.4-35.3-59.2-66.5L1 167.8c-4.3-17.1 6.1-34.5 23.3-38.8s34.5 6.1 38.8 23.3l3.9 15.5C70.5 182 83.3 192 98 192h30 16H303.8L416 256.1zM464 80c0-8.8-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16s16-7.2 16-16z"]
  116461. };
  116462. var faCarrot = {
  116463. prefix: 'fas',
  116464. iconName: 'carrot',
  116465. icon: [512, 512, [129365], "f787", "M346.7 6C337.6 17 320 42.3 320 72c0 40 15.3 55.3 40 80s40 40 80 40c29.7 0 55-17.6 66-26.7c4-3.3 6-8.2 6-13.3s-2-10-6-13.2c-11.4-9.1-38.3-26.8-74-26.8c-32 0-40 8-40 8s8-8 8-40c0-35.7-17.7-62.6-26.8-74C370 2 365.1 0 360 0s-10 2-13.3 6zM244.6 136c-40 0-77.1 18.1-101.7 48.2l60.5 60.5c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0l-55.3-55.3 0 .1L2.2 477.9C-2 487-.1 497.8 7 505s17.9 9 27.1 4.8l134.7-62.4-52.1-52.1c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L199.7 433l100.2-46.4c46.4-21.5 76.2-68 76.2-119.2C376 194.8 317.2 136 244.6 136z"]
  116466. };
  116467. var faMoon = {
  116468. prefix: 'fas',
  116469. iconName: 'moon',
  116470. icon: [384, 512, [127769, 9214], "f186", "M223.5 32C100 32 0 132.3 0 256S100 480 223.5 480c60.6 0 115.5-24.2 155.8-63.4c5-4.9 6.3-12.5 3.1-18.7s-10.1-9.7-17-8.5c-9.8 1.7-19.8 2.6-30.1 2.6c-96.9 0-175.5-78.8-175.5-176c0-65.8 36-123.1 89.3-153.3c6.1-3.5 9.2-10.5 7.7-17.3s-7.3-11.9-14.3-12.5c-6.3-.5-12.6-.8-19-.8z"]
  116471. };
  116472. var faWineGlassEmpty = {
  116473. prefix: 'fas',
  116474. iconName: 'wine-glass-empty',
  116475. icon: [320, 512, ["wine-glass-alt"], "f5ce", "M64 0C47.4 0 33.5 12.8 32.1 29.3l-14 168.4c-6 72 42.5 135.2 109.9 150.6V448H80c-17.7 0-32 14.3-32 32s14.3 32 32 32h80 80c17.7 0 32-14.3 32-32s-14.3-32-32-32H192V348.4c67.4-15.4 115.9-78.6 109.9-150.6l-14-168.4C286.5 12.8 272.6 0 256 0H64zM81.9 203.1L93.4 64H226.6l11.6 139.1C242 248.8 205.9 288 160 288s-82-39.2-78.1-84.9z"]
  116476. };
  116477. var faWineGlassAlt = faWineGlassEmpty;
  116478. var faCheese = {
  116479. prefix: 'fas',
  116480. iconName: 'cheese',
  116481. icon: [512, 512, [], "f7ef", "M512 240.2V256H0c0-20 10-38.7 26.6-49.8L274.9 40.7c8.6-5.7 18.6-8.7 28.9-8.7C418.8 32 512 125.2 512 240.2zm0 47.8V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V288H512z"]
  116482. };
  116483. var faYinYang = {
  116484. prefix: 'fas',
  116485. iconName: 'yin-yang',
  116486. icon: [512, 512, [9775], "f6ad", "M256 64c53 0 96 43 96 96s-43 96-96 96s-96 43-96 96s43 96 96 96C150 448 64 362 64 256S150 64 256 64zm0 448c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zm32-352c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zm0 192c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32z"]
  116487. };
  116488. var faMusic = {
  116489. prefix: 'fas',
  116490. iconName: 'music',
  116491. icon: [512, 512, [127925], "f001", "M499.1 6.3c8.1 6 12.9 15.6 12.9 25.7v72V368c0 44.2-43 80-96 80s-96-35.8-96-80s43-80 96-80c11.2 0 22 1.6 32 4.6V147L192 223.8V432c0 44.2-43 80-96 80s-96-35.8-96-80s43-80 96-80c11.2 0 22 1.6 32 4.6V200 128c0-14.1 9.3-26.6 22.8-30.7l320-96c9.7-2.9 20.2-1.1 28.3 5z"]
  116492. };
  116493. var faCodeCommit = {
  116494. prefix: 'fas',
  116495. iconName: 'code-commit',
  116496. icon: [640, 512, [], "f386", "M320 336c44.2 0 80-35.8 80-80s-35.8-80-80-80s-80 35.8-80 80s35.8 80 80 80zm156.8-48C462 361 397.4 416 320 416s-142-55-156.8-128H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H163.2C178 151 242.6 96 320 96s142 55 156.8 128H608c17.7 0 32 14.3 32 32s-14.3 32-32 32H476.8z"]
  116497. };
  116498. var faTemperatureLow = {
  116499. prefix: 'fas',
  116500. iconName: 'temperature-low',
  116501. icon: [512, 512, [], "f76b", "M448 96c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zm64 0c0 53-43 96-96 96s-96-43-96-96s43-96 96-96s96 43 96 96zM144 64c-26.5 0-48 21.5-48 48V276.5c0 17.3-7.1 31.9-15.3 42.5C70.2 332.6 64 349.5 64 368c0 44.2 35.8 80 80 80s80-35.8 80-80c0-18.5-6.2-35.4-16.7-48.9c-8.2-10.6-15.3-25.2-15.3-42.5V112c0-26.5-21.5-48-48-48zM32 112C32 50.2 82.1 0 144 0s112 50.1 112 112V276.5c0 .1 .1 .3 .2 .6c.2 .6 .8 1.6 1.7 2.8c18.9 24.4 30.1 55 30.1 88.1c0 79.5-64.5 144-144 144S0 447.5 0 368c0-33.2 11.2-63.8 30.1-88.1c.9-1.2 1.5-2.2 1.7-2.8c.1-.3 .2-.5 .2-.6V112zM192 368c0 26.5-21.5 48-48 48s-48-21.5-48-48c0-20.9 13.4-38.7 32-45.3V272c0-8.8 7.2-16 16-16s16 7.2 16 16v50.7c18.6 6.6 32 24.4 32 45.3z"]
  116502. };
  116503. var faPersonBiking = {
  116504. prefix: 'fas',
  116505. iconName: 'person-biking',
  116506. icon: [640, 512, [128692, "biking"], "f84a", "M400 96c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zm27.2 64l-61.8-48.8c-17.3-13.6-41.7-13.8-59.1-.3l-83.1 64.2c-30.7 23.8-28.5 70.8 4.3 91.6L288 305.1V416c0 17.7 14.3 32 32 32s32-14.3 32-32V288c0-10.7-5.3-20.7-14.2-26.6L295 232.9l60.3-48.5L396 217c5.7 4.5 12.7 7 20 7h64c17.7 0 32-14.3 32-32s-14.3-32-32-32H427.2zM200 384c0 39.8-32.2 72-72 72s-72-32.2-72-72s32.2-72 72-72s72 32.2 72 72zm56 0c0-70.7-57.3-128-128-128S0 313.3 0 384s57.3 128 128 128s128-57.3 128-128zm328 0c0 39.8-32.2 72-72 72s-72-32.2-72-72s32.2-72 72-72s72 32.2 72 72zm56 0c0-70.7-57.3-128-128-128s-128 57.3-128 128s57.3 128 128 128s128-57.3 128-128z"]
  116507. };
  116508. var faBiking = faPersonBiking;
  116509. var faBroom = {
  116510. prefix: 'fas',
  116511. iconName: 'broom',
  116512. icon: [640, 512, [129529], "f51a", "M627.6 57.3c14-10.9 16.5-31 5.6-44.9s-31-16.5-44.9-5.6l-144 112-72 56-8.7 6.8-30.8-39.4c-3.7-4.8-9.8-7-15.8-5.8s-10.7 5.7-12.3 11.5l-12.5 46.3L371.1 295l48-.9c6.1-.1 11.5-3.7 14.1-9.1s1.9-11.9-1.8-16.7L403 231.9l8.6-6.7 72-56 144-112zM16.7 507.7c37.4 2.8 196.8 12 252.3-31.4c57.7-45.1 76.8-161.5 76.8-161.5L267.1 213.9s-117.6-9.6-175.3 35.5C69 267.1 50.5 304.1 36.3 344c-2.4 6.7 4.7 12.8 11 9.4L86.2 333c4.1-2.2 9.2-1.1 12 2.6s2.7 8.8-.4 12.3L24.4 430.4C13.2 442.9 5.5 458.1 2.4 474.5c-.9 4.8-1.6 8.9-2.2 12.1c-.9 5 .5 10.1 3.6 14.1s7.7 6.6 12.8 7z"]
  116513. };
  116514. var faShieldHeart = {
  116515. prefix: 'fas',
  116516. iconName: 'shield-heart',
  116517. icon: [512, 512, [], "e574", "M269.4 2.9C265.2 1 260.7 0 256 0s-9.2 1-13.4 2.9L54.3 82.8c-22 9.3-38.4 31-38.3 57.2c.5 99.2 41.3 280.7 213.6 363.2c16.7 8 36.1 8 52.8 0C454.7 420.7 495.5 239.2 496 140c.1-26.2-16.3-47.9-38.3-57.2L269.4 2.9zM144 221.3c0-33.8 27.4-61.3 61.3-61.3c16.2 0 31.8 6.5 43.3 17.9l7.4 7.4 7.4-7.4c11.5-11.5 27.1-17.9 43.3-17.9c33.8 0 61.3 27.4 61.3 61.3c0 16.2-6.5 31.8-17.9 43.3l-82.7 82.7c-6.2 6.2-16.4 6.2-22.6 0l-82.7-82.7c-11.5-11.5-17.9-27.1-17.9-43.3z"]
  116518. };
  116519. var faGopuram = {
  116520. prefix: 'fas',
  116521. iconName: 'gopuram',
  116522. icon: [512, 512, [], "f664", "M120 0c13.3 0 24 10.7 24 24v8h40V24c0-13.3 10.7-24 24-24s24 10.7 24 24v8h48V24c0-13.3 10.7-24 24-24s24 10.7 24 24v8h40V24c0-13.3 10.7-24 24-24s24 10.7 24 24v8V64v64c17.7 0 32 14.3 32 32v64c17.7 0 32 14.3 32 32v96c17.7 0 32 14.3 32 32v96c0 17.7-14.3 32-32 32H416V352H384V224H352V128H320v96h32V352h32V512H304V464c0-26.5-21.5-48-48-48s-48 21.5-48 48v48H128V352h32V224h32V128H160v96H128V352H96V512H32c-17.7 0-32-14.3-32-32V384c0-17.7 14.3-32 32-32V256c0-17.7 14.3-32 32-32V160c0-17.7 14.3-32 32-32V64 32 24c0-13.3 10.7-24 24-24zM256 272c-17.7 0-32 14.3-32 32v48h64V304c0-17.7-14.3-32-32-32zm-32-80v32h64V192c0-17.7-14.3-32-32-32s-32 14.3-32 32z"]
  116523. };
  116524. var faEarthOceania = {
  116525. prefix: 'fas',
  116526. iconName: 'earth-oceania',
  116527. icon: [512, 512, ["globe-oceania"], "e47b", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM208.6 357.3l-39-13.5c-6.5-2.2-13.6-2.3-20.1-.3l-15.3 4.9c-18.5 5.9-38.5-2.4-47.5-19.5l-3.3-6.2c-10.6-20.1-2.3-45 18.2-54.7l35.3-16.8c2.3-1.1 4.4-2.8 5.9-4.8l5.3-7c7.2-9.6 18.6-15.3 30.6-15.3s23.4 5.7 30.6 15.3l4.6 6.1c2 2.6 4.9 4.5 8.1 5.1c7.8 1.6 15.7-1.5 20.4-7.9l10.4-14.2c2-2.8 5.3-4.4 8.7-4.4c4.4 0 8.4 2.7 10 6.8l10.1 25.9c2.8 7.2 6.7 14 11.5 20.2L311 299.8c5.8 7.4 9 16.6 9 26s-3.2 18.6-9 26L299 367.2c-8.3 10.6-21 16.8-34.4 16.8c-8.4 0-16.6-2.4-23.7-7l-25.4-16.4c-2.2-1.4-4.5-2.5-6.9-3.4zm65.2-214.8L296 164.7c10.1 10.1 2.9 27.3-11.3 27.3H254.8c-5.6 0-11.1-1.2-16.2-3.4l-42.8-19c-14.3-6.3-11.9-27.3 3.4-30.3l38.5-7.7c13.1-2.6 26.7 1.5 36.1 10.9zM248 432c0-8.8 7.2-16 16-16h16c8.8 0 16 7.2 16 16s-7.2 16-16 16H264c-8.8 0-16-7.2-16-16zM431.2 298.9l8 24c2.8 8.4-1.7 17.4-10.1 20.2s-17.4-1.7-20.2-10.1l-8-24c-2.8-8.4 1.7-17.4 10.1-20.2s17.4 1.7 20.2 10.1zm-19.9 80.4l-32 32c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l32-32c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6z"]
  116528. };
  116529. var faGlobeOceania = faEarthOceania;
  116530. var faSquareXmark = {
  116531. prefix: 'fas',
  116532. iconName: 'square-xmark',
  116533. icon: [448, 512, [10062, "times-square", "xmark-square"], "f2d3", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm79 143c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z"]
  116534. };
  116535. var faTimesSquare = faSquareXmark;
  116536. var faXmarkSquare = faSquareXmark;
  116537. var faHashtag = {
  116538. prefix: 'fas',
  116539. iconName: 'hashtag',
  116540. icon: [448, 512, [62098], "23", "M181.3 32.4c17.4 2.9 29.2 19.4 26.3 36.8L197.8 128h95.1l11.5-69.3c2.9-17.4 19.4-29.2 36.8-26.3s29.2 19.4 26.3 36.8L357.8 128H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H347.1L325.8 320H384c17.7 0 32 14.3 32 32s-14.3 32-32 32H315.1l-11.5 69.3c-2.9 17.4-19.4 29.2-36.8 26.3s-29.2-19.4-26.3-36.8l9.8-58.7H155.1l-11.5 69.3c-2.9 17.4-19.4 29.2-36.8 26.3s-29.2-19.4-26.3-36.8L90.2 384H32c-17.7 0-32-14.3-32-32s14.3-32 32-32h68.9l21.3-128H64c-17.7 0-32-14.3-32-32s14.3-32 32-32h68.9l11.5-69.3c2.9-17.4 19.4-29.2 36.8-26.3zM187.1 192L165.8 320h95.1l21.3-128H187.1z"]
  116541. };
  116542. var faUpRightAndDownLeftFromCenter = {
  116543. prefix: 'fas',
  116544. iconName: 'up-right-and-down-left-from-center',
  116545. icon: [512, 512, ["expand-alt"], "f424", "M344 0H488c13.3 0 24 10.7 24 24V168c0 9.7-5.8 18.5-14.8 22.2s-19.3 1.7-26.2-5.2l-39-39-87 87c-9.4 9.4-24.6 9.4-33.9 0l-32-32c-9.4-9.4-9.4-24.6 0-33.9l87-87L327 41c-6.9-6.9-8.9-17.2-5.2-26.2S334.3 0 344 0zM184 496H40c-13.3 0-24-10.7-24-24V328c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2l39 39 87-87c9.4-9.4 24.6-9.4 33.9 0l32 32c9.4 9.4 9.4 24.6 0 33.9l-87 87 39 39c6.9 6.9 8.9 17.2 5.2 26.2s-12.5 14.8-22.2 14.8z"]
  116546. };
  116547. var faExpandAlt = faUpRightAndDownLeftFromCenter;
  116548. var faOilCan = {
  116549. prefix: 'fas',
  116550. iconName: 'oil-can',
  116551. icon: [640, 512, [], "f613", "M320 128c17.7 0 32-14.3 32-32s-14.3-32-32-32H192c-17.7 0-32 14.3-32 32s14.3 32 32 32h32v32H144 96 48c-26.5 0-48 21.5-48 48v64.8c0 19 11.2 36.2 28.5 43.9l67.5 30V368c0 26.5 21.5 48 48 48H403.1c18.4 0 35.8-7.9 48-21.7L633.5 187.7c12.3-13.9-.3-35.4-18.4-31.5L448 192l-50.5-25.2c-8.9-4.4-18.7-6.8-28.6-6.8H288V128h32zM96 208v86.1L48 272.8V208H96z"]
  116552. };
  116553. var faT = {
  116554. prefix: 'fas',
  116555. iconName: 't',
  116556. icon: [384, 512, [116], "54", "M32 32C14.3 32 0 46.3 0 64S14.3 96 32 96H160V448c0 17.7 14.3 32 32 32s32-14.3 32-32V96H352c17.7 0 32-14.3 32-32s-14.3-32-32-32H192 32z"]
  116557. };
  116558. var faHippo = {
  116559. prefix: 'fas',
  116560. iconName: 'hippo',
  116561. icon: [640, 512, [129435], "f6ed", "M407 47c9.4-9.4 24.6-9.4 33.9 0l17.2 17.2c1.9-.1 3.9-.2 5.8-.2h32c11.2 0 21.9 2.3 31.6 6.5L543 55c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9L564 101.9c7.6 12.2 12 26.7 12 42.1c0 10.2 7.4 18.8 16.7 23c27.9 12.5 47.3 40.5 47.3 73c0 26.2-12.6 49.4-32 64v32c0 8.8-7.2 16-16 16H560c-8.8 0-16-7.2-16-16V320H480v16c0 8.8-7.2 16-16 16H432c-8.8 0-16-7.2-16-16V318.4c-11.8-2.4-22.7-7.4-32-14.4c-1.5-1.1-2.9-2.3-4.3-3.5c-17-14.7-27.7-36.4-27.7-60.5c0-8.8-7.2-16-16-16s-16 7.2-16 16c0 44.7 26.2 83.2 64 101.2V352c0 17.7 14.3 32 32 32h32v64c0 17.7-14.3 32-32 32H352c-17.7 0-32-14.3-32-32V372c-19.8 7.7-41.4 12-64 12s-44.2-4.3-64-12v76c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V329.1L45.9 369.7c-5.4 12.1-19.6 17.6-31.7 12.2S-3.3 362.4 2.1 350.3L24 300.9c5.3-11.9 8-24.7 8-37.7C32 155.7 117.2 68 223.8 64.1l.2-.1h7.2H256h32c41.7 0 83.4 12.1 117.2 25.7c1.7-1.8 3.5-3.6 5.3-5.2L407 81c-9.4-9.4-9.4-24.6 0-33.9zm73 185c0-13.3-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24s24-10.7 24-24zm88 24c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24zM480 144c0-8.8-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16s16-7.2 16-16zm48 16c8.8 0 16-7.2 16-16s-7.2-16-16-16s-16 7.2-16 16s7.2 16 16 16z"]
  116562. };
  116563. var faChartColumn = {
  116564. prefix: 'fas',
  116565. iconName: 'chart-column',
  116566. icon: [512, 512, [], "e0e3", "M32 32c17.7 0 32 14.3 32 32V400c0 8.8 7.2 16 16 16H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H80c-44.2 0-80-35.8-80-80V64C0 46.3 14.3 32 32 32zM160 224c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32s-32-14.3-32-32V256c0-17.7 14.3-32 32-32zm128-64V320c0 17.7-14.3 32-32 32s-32-14.3-32-32V160c0-17.7 14.3-32 32-32s32 14.3 32 32zm64 32c17.7 0 32 14.3 32 32v96c0 17.7-14.3 32-32 32s-32-14.3-32-32V224c0-17.7 14.3-32 32-32zM480 96V320c0 17.7-14.3 32-32 32s-32-14.3-32-32V96c0-17.7 14.3-32 32-32s32 14.3 32 32z"]
  116567. };
  116568. var faInfinity = {
  116569. prefix: 'fas',
  116570. iconName: 'infinity',
  116571. icon: [640, 512, [8734, 9854], "f534", "M0 241.1C0 161 65 96 145.1 96c38.5 0 75.4 15.3 102.6 42.5L320 210.7l72.2-72.2C419.5 111.3 456.4 96 494.9 96C575 96 640 161 640 241.1v29.7C640 351 575 416 494.9 416c-38.5 0-75.4-15.3-102.6-42.5L320 301.3l-72.2 72.2C220.5 400.7 183.6 416 145.1 416C65 416 0 351 0 270.9V241.1zM274.7 256l-72.2-72.2c-15.2-15.2-35.9-23.8-57.4-23.8C100.3 160 64 196.3 64 241.1v29.7c0 44.8 36.3 81.1 81.1 81.1c21.5 0 42.2-8.5 57.4-23.8L274.7 256zm90.5 0l72.2 72.2c15.2 15.2 35.9 23.8 57.4 23.8c44.8 0 81.1-36.3 81.1-81.1V241.1c0-44.8-36.3-81.1-81.1-81.1c-21.5 0-42.2 8.5-57.4 23.8L365.3 256z"]
  116572. };
  116573. var faVialCircleCheck = {
  116574. prefix: 'fas',
  116575. iconName: 'vial-circle-check',
  116576. icon: [512, 512, [], "e596", "M0 64C0 46.3 14.3 32 32 32H96h64 64c17.7 0 32 14.3 32 32s-14.3 32-32 32V266.8c-20.2 28.6-32 63.5-32 101.2c0 25.2 5.3 49.1 14.8 70.8C189.5 463.7 160.6 480 128 480c-53 0-96-43-96-96V96C14.3 96 0 81.7 0 64zM96 96v96h64V96H96zM512 368c0 79.5-64.5 144-144 144s-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144zm-76.7-43.3c-6.2-6.2-16.4-6.2-22.6 0L352 385.4l-28.7-28.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l40 40c6.2 6.2 16.4 6.2 22.6 0l72-72c6.2-6.2 6.2-16.4 0-22.6z"]
  116577. };
  116578. var faPersonArrowDownToLine = {
  116579. prefix: 'fas',
  116580. iconName: 'person-arrow-down-to-line',
  116581. icon: [640, 512, [], "e538", "M192 96c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zm-8 352V352h16v96H184zm-64 0H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H152h80H608c17.7 0 32-14.3 32-32s-14.3-32-32-32H264V256.9l28.6 47.5c9.1 15.1 28.8 20 43.9 10.9s20-28.8 10.9-43.9l-58.3-97c-17.4-28.9-48.6-46.6-82.3-46.6H177.1c-33.7 0-64.9 17.7-82.3 46.6l-58.3 97c-9.1 15.1-4.2 34.8 10.9 43.9s34.8 4.2 43.9-10.9L120 256.9V448zM464 64V306.7l-25.4-25.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l80 80c12.5 12.5 32.8 12.5 45.3 0l80-80c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L528 306.7V64c0-17.7-14.3-32-32-32s-32 14.3-32 32z"]
  116582. };
  116583. var faVoicemail = {
  116584. prefix: 'fas',
  116585. iconName: 'voicemail',
  116586. icon: [640, 512, [], "f897", "M144 160c44.2 0 80 35.8 80 80s-35.8 80-80 80s-80-35.8-80-80s35.8-80 80-80zM263.8 320c15.3-22.9 24.2-50.4 24.2-80c0-79.5-64.5-144-144-144S0 160.5 0 240s64.5 144 144 144H496c79.5 0 144-64.5 144-144s-64.5-144-144-144s-144 64.5-144 144c0 29.6 8.9 57.1 24.2 80H263.8zM496 320c-44.2 0-80-35.8-80-80s35.8-80 80-80s80 35.8 80 80s-35.8 80-80 80z"]
  116587. };
  116588. var faFan = {
  116589. prefix: 'fas',
  116590. iconName: 'fan',
  116591. icon: [512, 512, [], "f863", "M258.6 0c-1.7 0-3.4 .1-5.1 .5C168 17 115.6 102.3 130.5 189.3c2.9 17 8.4 32.9 15.9 47.4L32 224H29.4C13.2 224 0 237.2 0 253.4c0 1.7 .1 3.4 .5 5.1C17 344 102.3 396.4 189.3 381.5c17-2.9 32.9-8.4 47.4-15.9L224 480v2.6c0 16.2 13.2 29.4 29.4 29.4c1.7 0 3.4-.1 5.1-.5C344 495 396.4 409.7 381.5 322.7c-2.9-17-8.4-32.9-15.9-47.4L480 288h2.6c16.2 0 29.4-13.2 29.4-29.4c0-1.7-.1-3.4-.5-5.1C495 168 409.7 115.6 322.7 130.5c-17 2.9-32.9 8.4-47.4 15.9L288 32V29.4C288 13.2 274.8 0 258.6 0zM256 288c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]
  116592. };
  116593. var faPersonWalkingLuggage = {
  116594. prefix: 'fas',
  116595. iconName: 'person-walking-luggage',
  116596. icon: [576, 512, [], "e554", "M432 96c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zM347.7 200.5c1-.4 1.9-.8 2.9-1.2l-16.9 63.5c-5.6 21.1-.1 43.6 14.7 59.7l70.7 77.1 22 88.1c4.3 17.1 21.7 27.6 38.8 23.3s27.6-21.7 23.3-38.8l-23-92.1c-1.9-7.8-5.8-14.9-11.2-20.8l-49.5-54 19.3-65.5 9.6 23c4.4 10.6 12.5 19.3 22.8 24.5l26.7 13.3c15.8 7.9 35 1.5 42.9-14.3s1.5-35-14.3-42.9L505 232.7l-15.3-36.8C472.5 154.8 432.3 128 387.7 128c-22.8 0-45.3 4.8-66.1 14l-8 3.5c-32.9 14.6-58.1 42.4-69.4 76.5l-2.6 7.8c-5.6 16.8 3.5 34.9 20.2 40.5s34.9-3.5 40.5-20.2l2.6-7.8c5.7-17.1 18.3-30.9 34.7-38.2l8-3.5zm-30 135.1l-25 62.4-59.4 59.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L340.3 441c4.6-4.6 8.2-10.1 10.6-16.1l14.5-36.2-40.7-44.4c-2.5-2.7-4.8-5.6-7-8.6zM256 274.1c-7.7-4.4-17.4-1.8-21.9 5.9l-32 55.4L147.7 304c-15.3-8.8-34.9-3.6-43.7 11.7L40 426.6c-8.8 15.3-3.6 34.9 11.7 43.7l55.4 32c15.3 8.8 34.9 3.6 43.7-11.7l64-110.9c1.5-2.6 2.6-5.2 3.3-8L261.9 296c4.4-7.7 1.8-17.4-5.9-21.9z"]
  116597. };
  116598. var faUpDown = {
  116599. prefix: 'fas',
  116600. iconName: 'up-down',
  116601. icon: [256, 512, [8597, 11021, "arrows-alt-v"], "f338", "M145.6 7.7C141 2.8 134.7 0 128 0s-13 2.8-17.6 7.7l-104 112c-6.5 7-8.2 17.2-4.4 25.9S14.5 160 24 160H80V352H24c-9.5 0-18.2 5.7-22 14.4s-2.1 18.9 4.4 25.9l104 112c4.5 4.9 10.9 7.7 17.6 7.7s13-2.8 17.6-7.7l104-112c6.5-7 8.2-17.2 4.4-25.9s-12.5-14.4-22-14.4H176V160h56c9.5 0 18.2-5.7 22-14.4s2.1-18.9-4.4-25.9l-104-112z"]
  116602. };
  116603. var faArrowsAltV = faUpDown;
  116604. var faCloudMoonRain = {
  116605. prefix: 'fas',
  116606. iconName: 'cloud-moon-rain',
  116607. icon: [640, 512, [], "f73c", "M513.2 0C449 0 395.5 46.5 385.7 107.6c35.4 17.6 60.2 53.3 62.1 95.1c23.2 11 42 29.7 53.1 52.7c4 .4 8.1 .6 12.3 .6c34.9 0 66.7-13.8 89.9-36.1c5.1-4.9 6.4-12.5 3.2-18.7s-10.1-9.7-17-8.6c-4.9 .8-10 1.3-15.2 1.3c-49 0-88.4-39.3-88.4-87.4c0-32.6 18-61.1 44.9-76.1c6.1-3.4 9.3-10.5 7.8-17.4s-7.3-12-14.3-12.6c-3.6-.3-7.3-.5-10.9-.5zM399.9 383.9c44.2 0 80-35.8 80-80c0-39.3-28.4-72.1-65.8-78.7c1.2-5.6 1.9-11.3 1.9-17.2c0-44.2-35.8-80-80-80c-17 0-32.8 5.3-45.8 14.4C273.3 114.6 242.8 96 208 96c-53 0-96 43-96 96l0 1.3c-45.4 7.6-80 47.1-80 94.6c0 53 43 96 96 96H399.9zM117.4 420.1c-11-7.4-25.9-4.4-33.3 6.7l-32 48c-7.4 11-4.4 25.9 6.7 33.3s25.9 4.4 33.3-6.7l32-48c7.4-11 4.4-25.9-6.7-33.3zm96 0c-11-7.4-25.9-4.4-33.3 6.7l-32 48c-7.4 11-4.4 25.9 6.7 33.3s25.9 4.4 33.3-6.7l32-48c7.4-11 4.4-25.9-6.7-33.3zm96 0c-11-7.4-25.9-4.4-33.3 6.7l-32 48c-7.4 11-4.4 25.9 6.7 33.3s25.9 4.4 33.3-6.7l32-48c7.4-11 4.4-25.9-6.7-33.3zm96 0c-11-7.4-25.9-4.4-33.3 6.7l-32 48c-7.4 11-4.4 25.9 6.7 33.3s25.9 4.4 33.3-6.7l32-48c7.4-11 4.4-25.9-6.7-33.3z"]
  116608. };
  116609. var faCalendar = {
  116610. prefix: 'fas',
  116611. iconName: 'calendar',
  116612. icon: [448, 512, [128197, 128198], "f133", "M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 96 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192z"]
  116613. };
  116614. var faTrailer = {
  116615. prefix: 'fas',
  116616. iconName: 'trailer',
  116617. icon: [640, 512, [], "e041", "M48 32C21.5 32 0 53.5 0 80V336c0 26.5 21.5 48 48 48H65.1c7.8-54.3 54.4-96 110.9-96s103.1 41.7 110.9 96H488h8H608c17.7 0 32-14.3 32-32s-14.3-32-32-32H544V80c0-26.5-21.5-48-48-48H48zM80 96c8.8 0 16 7.2 16 16l0 131.2c-11.4 5.9-22.2 12.9-32 21V112c0-8.8 7.2-16 16-16zm96 128c-5.4 0-10.7 .2-16 .7L160 112c0-8.8 7.2-16 16-16s16 7.2 16 16l0 112.7c-5.3-.5-10.6-.7-16-.7zm80 19.2L256 112c0-8.8 7.2-16 16-16s16 7.2 16 16l0 152.2c-9.8-8.1-20.6-15.2-32-21zM368 96c8.8 0 16 7.2 16 16l0 192c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-192c0-8.8 7.2-16 16-16zm112 16l0 192c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-192c0-8.8 7.2-16 16-16s16 7.2 16 16zM176 480c44.2 0 80-35.8 80-80s-35.8-80-80-80s-80 35.8-80 80s35.8 80 80 80zm0-48c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]
  116618. };
  116619. var faBahai = {
  116620. prefix: 'fas',
  116621. iconName: 'bahai',
  116622. icon: [576, 512, ["haykal"], "f666", "M288 0c14.5 0 27.2 9.7 30.9 23.8l23.9 89.6 75.9-53.3c11.9-8.3 27.8-7.6 39 1.7s14.6 24.9 8.4 38.1l-39.3 84 92.4 8c14.4 1.2 26.2 12 28.8 26.3s-4.9 28.5-18 34.6l-84.1 39.1 65.7 65.5c10.3 10.2 12.4 26.1 5.1 38.7s-22 18.7-36 14.9L391 386.8l8.2 92.4c1.3 14.4-7.3 27.9-20.9 32.9s-28.9 .1-37.2-11.7l-53.1-76-53.1 76c-8.3 11.9-23.6 16.7-37.2 11.7s-22.2-18.5-20.9-32.9l8.2-92.4L95.4 410.9c-14 3.8-28.8-2.3-36-14.9s-5.2-28.4 5.1-38.7l65.7-65.5L46 252.7c-13.1-6.1-20.5-20.3-18-34.6s14.3-25.1 28.8-26.3l92.4-8-39.3-84c-6.1-13.1-2.7-28.8 8.4-38.1s27.1-10 39-1.7l75.9 53.3 23.9-89.6C260.8 9.7 273.5 0 288 0zm0 156.2l-4.8 18c-2.7 10.1-10.2 18.2-20 21.8s-20.8 2.1-29.3-3.9l-15.2-10.7 7.9 16.8c4.4 9.5 4 20.5-1.3 29.6s-14.5 15-25 15.9l-18.5 1.6 16.8 7.8c9.5 4.4 16.2 13.2 18 23.5s-1.5 20.8-8.9 28.2l-13.2 13.1 17.9-4.8c10.1-2.7 20.9-.3 28.9 6.4s12.2 16.9 11.3 27.3l-1.6 18.5 10.6-15.2c6-8.6 15.8-13.7 26.2-13.7s20.2 5.1 26.2 13.7l10.6 15.2-1.6-18.5c-.9-10.4 3.3-20.6 11.3-27.3s18.8-9.1 28.9-6.4l17.9 4.8-13.2-13.1c-7.4-7.4-10.7-17.9-8.9-28.2s8.5-19.1 18-23.5l16.8-7.8-18.5-1.6c-10.4-.9-19.7-6.8-25-15.9s-5.7-20.1-1.3-29.6l7.9-16.8-15.2 10.7c-8.6 6-19.5 7.5-29.3 3.9s-17.3-11.7-20-21.8l-4.8-18z"]
  116623. };
  116624. var faHaykal = faBahai;
  116625. var faSdCard = {
  116626. prefix: 'fas',
  116627. iconName: 'sd-card',
  116628. icon: [384, 512, [], "f7c2", "M320 0H141.3C124.3 0 108 6.7 96 18.7L18.7 96C6.7 108 0 124.3 0 141.3V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64zM160 88v48c0 13.3-10.7 24-24 24s-24-10.7-24-24V88c0-13.3 10.7-24 24-24s24 10.7 24 24zm80 0v48c0 13.3-10.7 24-24 24s-24-10.7-24-24V88c0-13.3 10.7-24 24-24s24 10.7 24 24zm80 0v48c0 13.3-10.7 24-24 24s-24-10.7-24-24V88c0-13.3 10.7-24 24-24s24 10.7 24 24z"]
  116629. };
  116630. var faDragon = {
  116631. prefix: 'fas',
  116632. iconName: 'dragon',
  116633. icon: [640, 512, [128009], "f6d5", "M352 124.5l-51.9-13c-6.5-1.6-11.3-7.1-12-13.8s2.8-13.1 8.7-16.1l40.8-20.4L294.4 28.8c-5.5-4.1-7.8-11.3-5.6-17.9S297.1 0 304 0H416h32 16c30.2 0 58.7 14.2 76.8 38.4l57.6 76.8c6.2 8.3 9.6 18.4 9.6 28.8c0 26.5-21.5 48-48 48H538.5c-17 0-33.3-6.7-45.3-18.7L480 160H448v21.5c0 24.8 12.8 47.9 33.8 61.1l106.6 66.6c32.1 20.1 51.6 55.2 51.6 93.1C640 462.9 590.9 512 530.2 512H496 432 32.3c-3.3 0-6.6-.4-9.6-1.4C13.5 507.8 6 501 2.4 492.1C1 488.7 .2 485.2 0 481.4c-.2-3.7 .3-7.3 1.3-10.7c2.8-9.2 9.6-16.7 18.6-20.4c3-1.2 6.2-2 9.5-2.2L433.3 412c8.3-.7 14.7-7.7 14.7-16.1c0-4.3-1.7-8.4-4.7-11.4l-44.4-44.4c-30-30-46.9-70.7-46.9-113.1V181.5v-57zM512 72.3c0-.1 0-.2 0-.3s0-.2 0-.3v.6zm-1.3 7.4L464.3 68.1c-.2 1.3-.3 2.6-.3 3.9c0 13.3 10.7 24 24 24c10.6 0 19.5-6.8 22.7-16.3zM130.9 116.5c16.3-14.5 40.4-16.2 58.5-4.1l130.6 87V227c0 32.8 8.4 64.8 24 93H112c-6.7 0-12.7-4.2-15-10.4s-.5-13.3 4.6-17.7L171 232.3 18.4 255.8c-7 1.1-13.9-2.6-16.9-9s-1.5-14.1 3.8-18.8L130.9 116.5z"]
  116634. };
  116635. var faShoePrints = {
  116636. prefix: 'fas',
  116637. iconName: 'shoe-prints',
  116638. icon: [640, 512, [], "f54b", "M416 0C352.3 0 256 32 256 32V160c48 0 76 16 104 32s56 32 104 32c56.4 0 176-16 176-96S512 0 416 0zM128 96c0 35.3 28.7 64 64 64h32V32H192c-35.3 0-64 28.7-64 64zM288 512c96 0 224-48 224-128s-119.6-96-176-96c-48 0-76 16-104 32s-56 32-104 32V480s96.3 32 160 32zM0 416c0 35.3 28.7 64 64 64H96V352H64c-35.3 0-64 28.7-64 64z"]
  116639. };
  116640. var faCirclePlus = {
  116641. prefix: 'fas',
  116642. iconName: 'circle-plus',
  116643. icon: [512, 512, ["plus-circle"], "f055", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM232 344V280H168c-13.3 0-24-10.7-24-24s10.7-24 24-24h64V168c0-13.3 10.7-24 24-24s24 10.7 24 24v64h64c13.3 0 24 10.7 24 24s-10.7 24-24 24H280v64c0 13.3-10.7 24-24 24s-24-10.7-24-24z"]
  116644. };
  116645. var faPlusCircle = faCirclePlus;
  116646. var faFaceGrinTongueWink = {
  116647. prefix: 'fas',
  116648. iconName: 'face-grin-tongue-wink',
  116649. icon: [512, 512, [128540, "grin-tongue-wink"], "f58b", "M174.5 498.8C73.1 464.7 0 368.9 0 256C0 114.6 114.6 0 256 0S512 114.6 512 256c0 112.9-73.1 208.7-174.5 242.8C346.7 484 352 466.6 352 448V401.1c24.3-17.5 43.6-41.6 55.4-69.6c5-11.8-7-22.5-19.3-18.7c-39.7 12.2-84.5 19-131.8 19s-92.1-6.8-131.8-19c-12.3-3.8-24.3 6.9-19.3 18.7c11.7 27.8 30.8 51.7 54.8 69.2V448c0 18.6 5.3 36 14.5 50.8zm20.7-265.2c5.3 7.1 15.3 8.5 22.4 3.2s8.5-15.3 3.2-22.4c-30.4-40.5-91.2-40.5-121.6 0c-5.3 7.1-3.9 17.1 3.2 22.4s17.1 3.9 22.4-3.2c17.6-23.5 52.8-23.5 70.4 0zM336 272c35.3 0 64-28.7 64-64s-28.7-64-64-64s-64 28.7-64 64s28.7 64 64 64zM320 402.6V448c0 35.3-28.7 64-64 64s-64-28.7-64-64V402.6c0-14.7 11.9-26.6 26.6-26.6h2c11.3 0 21.1 7.9 23.6 18.9c2.8 12.6 20.8 12.6 23.6 0c2.5-11.1 12.3-18.9 23.6-18.9h2c14.7 0 26.6 11.9 26.6 26.6zM336 232c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24z"]
  116650. };
  116651. var faGrinTongueWink = faFaceGrinTongueWink;
  116652. var faHandHolding = {
  116653. prefix: 'fas',
  116654. iconName: 'hand-holding',
  116655. icon: [576, 512, [], "f4bd", "M559.7 392.2c17.8-13.1 21.6-38.1 8.5-55.9s-38.1-21.6-55.9-8.5L392.6 416H272c-8.8 0-16-7.2-16-16s7.2-16 16-16h16 64c17.7 0 32-14.3 32-32s-14.3-32-32-32H288 272 193.7c-29.1 0-57.3 9.9-80 28L68.8 384H32c-17.7 0-32 14.3-32 32v64c0 17.7 14.3 32 32 32H192 352.5c29 0 57.3-9.3 80.7-26.5l126.6-93.3zm-367-8.2c.3 0 .6 0 .9 0c0 0 0 0 0 0c-.3 0-.6 0-.9 0z"]
  116656. };
  116657. var faPlugCircleExclamation = {
  116658. prefix: 'fas',
  116659. iconName: 'plug-circle-exclamation',
  116660. icon: [576, 512, [], "e55d", "M96 0C78.3 0 64 14.3 64 32v96h64V32c0-17.7-14.3-32-32-32zM288 0c-17.7 0-32 14.3-32 32v96h64V32c0-17.7-14.3-32-32-32zM32 160c-17.7 0-32 14.3-32 32s14.3 32 32 32v32c0 77.4 55 142 128 156.8V480c0 17.7 14.3 32 32 32s32-14.3 32-32V412.8c12.3-2.5 24.1-6.4 35.1-11.5c-2.1-10.8-3.1-21.9-3.1-33.3c0-80.3 53.8-148 127.3-169.2c.5-2.2 .7-4.5 .7-6.8c0-17.7-14.3-32-32-32H32zM432 512c79.5 0 144-64.5 144-144s-64.5-144-144-144s-144 64.5-144 144s64.5 144 144 144zm0-48c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm0-192c8.8 0 16 7.2 16 16v80c0 8.8-7.2 16-16 16s-16-7.2-16-16V288c0-8.8 7.2-16 16-16z"]
  116661. };
  116662. var faLinkSlash = {
  116663. prefix: 'fas',
  116664. iconName: 'link-slash',
  116665. icon: [640, 512, ["chain-broken", "chain-slash", "unlink"], "f127", "M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L489.3 358.2l90.5-90.5c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114l-96 96-31.9-25C430.9 239.6 420.1 175.1 377 132c-52.2-52.3-134.5-56.2-191.3-11.7L38.8 5.1zM239 162c30.1-14.9 67.7-9.9 92.8 15.3c20 20 27.5 48.3 21.7 74.5L239 162zM406.6 416.4L220.9 270c-2.1 39.8 12.2 80.1 42.2 110c38.9 38.9 94.4 51 143.6 36.3zm-290-228.5L60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5l61.8-61.8-50.6-39.9z"]
  116666. };
  116667. var faChainBroken = faLinkSlash;
  116668. var faChainSlash = faLinkSlash;
  116669. var faUnlink = faLinkSlash;
  116670. var faClone = {
  116671. prefix: 'fas',
  116672. iconName: 'clone',
  116673. icon: [512, 512, [], "f24d", "M0 448c0 35.3 28.7 64 64 64H288c35.3 0 64-28.7 64-64V384H224c-53 0-96-43-96-96V160H64c-35.3 0-64 28.7-64 64V448zm224-96H448c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H224c-35.3 0-64 28.7-64 64V288c0 35.3 28.7 64 64 64z"]
  116674. };
  116675. var faPersonWalkingArrowLoopLeft = {
  116676. prefix: 'fas',
  116677. iconName: 'person-walking-arrow-loop-left',
  116678. icon: [640, 512, [], "e551", "M208 96c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zM123.7 200.5c1-.4 1.9-.8 2.9-1.2l-16.9 63.5c-5.6 21.1-.1 43.6 14.7 59.7l70.7 77.1 22 88.1c4.3 17.1 21.7 27.6 38.8 23.3s27.6-21.7 23.3-38.8l-23-92.1c-1.9-7.8-5.8-14.9-11.2-20.8l-49.5-54 19.3-65.5 9.6 23c4.4 10.6 12.5 19.3 22.8 24.5l26.7 13.3c15.8 7.9 35 1.5 42.9-14.3s1.5-35-14.3-42.9L281 232.7l-15.3-36.8C248.5 154.8 208.3 128 163.7 128c-22.8 0-45.3 4.8-66.1 14l-8 3.5c-32.9 14.6-58.1 42.4-69.4 76.5l-2.6 7.8c-5.6 16.8 3.5 34.9 20.2 40.5s34.9-3.5 40.5-20.2l2.6-7.8c5.7-17.1 18.3-30.9 34.7-38.2l8-3.5zm-30 135.1L68.7 398 9.4 457.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L116.3 441c4.6-4.6 8.2-10.1 10.6-16.1l14.5-36.2-40.7-44.4c-2.5-2.7-4.8-5.6-7-8.6zm347.7 119c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L461.3 384H480c88.4 0 160-71.6 160-160s-71.6-160-160-160L352 64c-17.7 0-32 14.3-32 32s14.3 32 32 32l128 0c53 0 96 43 96 96s-43 96-96 96H461.3l25.4-25.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-80 80c-12.5 12.5-12.5 32.8 0 45.3l80 80z"]
  116679. };
  116680. var faArrowUpZA = {
  116681. prefix: 'fas',
  116682. iconName: 'arrow-up-z-a',
  116683. icon: [576, 512, ["sort-alpha-up-alt"], "f882", "M183.6 42.4C177.5 35.8 169 32 160 32s-17.5 3.8-23.6 10.4l-88 96c-11.9 13-11.1 33.3 2 45.2s33.3 11.1 45.2-2L128 146.3V448c0 17.7 14.3 32 32 32s32-14.3 32-32V146.3l32.4 35.4c11.9 13 32.2 13.9 45.2 2s13.9-32.2 2-45.2l-88-96zM320 64c0 17.7 14.3 32 32 32h50.7l-73.4 73.4c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H429.3l73.4-73.4c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8H352c-17.7 0-32 14.3-32 32zm96 192c-12.1 0-23.2 6.8-28.6 17.7l-64 128-16 32c-7.9 15.8-1.5 35 14.3 42.9s35 1.5 42.9-14.3l7.2-14.3h88.4l7.2 14.3c7.9 15.8 27.1 22.2 42.9 14.3s22.2-27.1 14.3-42.9l-16-32-64-128C439.2 262.8 428.1 256 416 256zM395.8 400L416 359.6 436.2 400H395.8z"]
  116684. };
  116685. var faSortAlphaUpAlt = faArrowUpZA;
  116686. var faFireFlameCurved = {
  116687. prefix: 'fas',
  116688. iconName: 'fire-flame-curved',
  116689. icon: [384, 512, ["fire-alt"], "f7e4", "M153.6 29.9l16-21.3C173.6 3.2 180 0 186.7 0C198.4 0 208 9.6 208 21.3V43.5c0 13.1 5.4 25.7 14.9 34.7L307.6 159C356.4 205.6 384 270.2 384 337.7C384 434 306 512 209.7 512H192C86 512 0 426 0 320v-3.8c0-48.8 19.4-95.6 53.9-130.1l3.5-3.5c4.2-4.2 10-6.6 16-6.6C85.9 176 96 186.1 96 198.6V288c0 35.3 28.7 64 64 64s64-28.7 64-64v-3.9c0-18-7.2-35.3-19.9-48l-38.6-38.6c-24-24-37.5-56.7-37.5-90.7c0-27.7 9-54.8 25.6-76.9z"]
  116690. };
  116691. var faFireAlt = faFireFlameCurved;
  116692. var faTornado = {
  116693. prefix: 'fas',
  116694. iconName: 'tornado',
  116695. icon: [448, 512, [127786], "f76f", "M0 32V45.6C0 62.7 1.7 79.6 5 96H357.8c3.2-6.9 7.5-13.3 13-18.8l38.6-38.6c4.2-4.2 6.6-10 6.6-16C416 10.1 405.9 0 393.4 0H32C14.3 0 0 14.3 0 32zm352.2 96H13.6c12.2 35.9 32.3 68.7 58.8 96H412l-47.2-62.9c-7.3-9.7-11.6-21.2-12.6-33.1zm-226 138.2l116.4 68.5c8.2 4.8 15.8 10.7 22.5 17.3H445c2-9.8 3-19.9 3-30.1c0-23-5.3-45.5-15.3-65.9H110.2c5.2 3.6 10.5 7 16 10.2zM288 384c10.3 21.4 13.8 45.5 9.9 69l-5.9 35.7c-2 12.2 7.4 23.4 19.8 23.4c5.3 0 10.4-2.1 14.2-5.9l78.2-78.2c12.8-12.8 23.1-27.7 30.4-43.9H288z"]
  116696. };
  116697. var faFileCirclePlus = {
  116698. prefix: 'fas',
  116699. iconName: 'file-circle-plus',
  116700. icon: [576, 512, [58606], "e494", "M0 64C0 28.7 28.7 0 64 0H224V128c0 17.7 14.3 32 32 32H384v38.6C310.1 219.5 256 287.4 256 368c0 59.1 29.1 111.3 73.7 143.3c-3.2 .5-6.4 .7-9.7 .7H64c-35.3 0-64-28.7-64-64V64zm384 64H256V0L384 128zm48 384c-79.5 0-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144zm16-208c0-8.8-7.2-16-16-16s-16 7.2-16 16v48H368c-8.8 0-16 7.2-16 16s7.2 16 16 16h48v48c0 8.8 7.2 16 16 16s16-7.2 16-16V384h48c8.8 0 16-7.2 16-16s-7.2-16-16-16H448V304z"]
  116701. };
  116702. var faBookQuran = {
  116703. prefix: 'fas',
  116704. iconName: 'book-quran',
  116705. icon: [448, 512, ["quran"], "f687", "M352 0c53 0 96 43 96 96V416c0 53-43 96-96 96H64 32c-17.7 0-32-14.3-32-32s14.3-32 32-32V384c-17.7 0-32-14.3-32-32V32C0 14.3 14.3 0 32 0H64 352zm0 384H96v64H352c17.7 0 32-14.3 32-32s-14.3-32-32-32zM274.1 150.2l-8.9 21.4-23.1 1.9c-5.7 .5-8 7.5-3.7 11.2L256 199.8l-5.4 22.6c-1.3 5.5 4.7 9.9 9.6 6.9L280 217.2l19.8 12.1c4.9 3 10.9-1.4 9.6-6.9L304 199.8l17.6-15.1c4.3-3.7 2-10.8-3.7-11.2l-23.1-1.9-8.9-21.4c-2.2-5.3-9.6-5.3-11.8 0zM96 192c0 70.7 57.3 128 128 128c25.6 0 49.5-7.5 69.5-20.5c3.2-2.1 4.5-6.2 3.1-9.7s-5.2-5.6-9-4.8c-6.1 1.2-12.5 1.9-19 1.9c-52.4 0-94.9-42.5-94.9-94.9s42.5-94.9 94.9-94.9c6.5 0 12.8 .7 19 1.9c3.8 .8 7.5-1.3 9-4.8s.2-7.6-3.1-9.7C273.5 71.5 249.6 64 224 64C153.3 64 96 121.3 96 192z"]
  116706. };
  116707. var faQuran = faBookQuran;
  116708. var faAnchor = {
  116709. prefix: 'fas',
  116710. iconName: 'anchor',
  116711. icon: [576, 512, [9875], "f13d", "M256 96c0-17.7 14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32s-32-14.3-32-32zm85.1 80C367 158.8 384 129.4 384 96c0-53-43-96-96-96s-96 43-96 96c0 33.4 17 62.8 42.9 80H224c-17.7 0-32 14.3-32 32s14.3 32 32 32h32V448H208c-53 0-96-43-96-96v-6.1l7 7c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L97 263c-9.4-9.4-24.6-9.4-33.9 0L7 319c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l7-7V352c0 88.4 71.6 160 160 160h80 80c88.4 0 160-71.6 160-160v-6.1l7 7c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-56-56c-9.4-9.4-24.6-9.4-33.9 0l-56 56c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l7-7V352c0 53-43 96-96 96H320V240h32c17.7 0 32-14.3 32-32s-14.3-32-32-32H341.1z"]
  116712. };
  116713. var faBorderAll = {
  116714. prefix: 'fas',
  116715. iconName: 'border-all',
  116716. icon: [448, 512, [], "f84c", "M384 96V224H256V96H384zm0 192V416H256V288H384zM192 224H64V96H192V224zM64 288H192V416H64V288zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64z"]
  116717. };
  116718. var faFaceAngry = {
  116719. prefix: 'fas',
  116720. iconName: 'face-angry',
  116721. icon: [512, 512, [128544, "angry"], "f556", "M512 256c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM161.3 382.1c-5.4 12.3 8.7 21.6 21.1 16.4c22.4-9.5 47.4-14.8 73.7-14.8s51.3 5.3 73.7 14.8c12.4 5.2 26.5-4.1 21.1-16.4c-16-36.6-52.4-62.1-94.8-62.1s-78.8 25.6-94.8 62.1zM176.4 272c17.7 0 32-14.3 32-32c0-1.5-.1-3-.3-4.4l10.9 3.6c8.4 2.8 17.4-1.7 20.2-10.1s-1.7-17.4-10.1-20.2l-96-32c-8.4-2.8-17.4 1.7-20.2 10.1s1.7 17.4 10.1 20.2l30.7 10.2c-5.8 5.8-9.3 13.8-9.3 22.6c0 17.7 14.3 32 32 32zm192-32c0-8.9-3.6-17-9.5-22.8l30.2-10.1c8.4-2.8 12.9-11.9 10.1-20.2s-11.9-12.9-20.2-10.1l-96 32c-8.4 2.8-12.9 11.9-10.1 20.2s11.9 12.9 20.2 10.1l11.7-3.9c-.2 1.5-.3 3.1-.3 4.7c0 17.7 14.3 32 32 32s32-14.3 32-32z"]
  116722. };
  116723. var faAngry = faFaceAngry;
  116724. var faCookieBite = {
  116725. prefix: 'fas',
  116726. iconName: 'cookie-bite',
  116727. icon: [512, 512, [], "f564", "M257.5 27.6c-.8-5.4-4.9-9.8-10.3-10.6c-22.1-3.1-44.6 .9-64.4 11.4l-74 39.5C89.1 78.4 73.2 94.9 63.4 115L26.7 190.6c-9.8 20.1-13 42.9-9.1 64.9l14.5 82.8c3.9 22.1 14.6 42.3 30.7 57.9l60.3 58.4c16.1 15.6 36.6 25.6 58.7 28.7l83 11.7c22.1 3.1 44.6-.9 64.4-11.4l74-39.5c19.7-10.5 35.6-27 45.4-47.2l36.7-75.5c9.8-20.1 13-42.9 9.1-64.9c-.9-5.3-5.3-9.3-10.6-10.1c-51.5-8.2-92.8-47.1-104.5-97.4c-1.8-7.6-8-13.4-15.7-14.6c-54.6-8.7-97.7-52-106.2-106.8zM208 208c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zm0 128c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zm160 0c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]
  116728. };
  116729. var faArrowTrendDown = {
  116730. prefix: 'fas',
  116731. iconName: 'arrow-trend-down',
  116732. icon: [576, 512, [], "e097", "M384 352c-17.7 0-32 14.3-32 32s14.3 32 32 32H544c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32s-32 14.3-32 32v82.7L342.6 137.4c-12.5-12.5-32.8-12.5-45.3 0L192 242.7 54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0L320 205.3 466.7 352H384z"]
  116733. };
  116734. var faRss = {
  116735. prefix: 'fas',
  116736. iconName: 'rss',
  116737. icon: [448, 512, ["feed"], "f09e", "M0 64C0 46.3 14.3 32 32 32c229.8 0 416 186.2 416 416c0 17.7-14.3 32-32 32s-32-14.3-32-32C384 253.6 226.4 96 32 96C14.3 96 0 81.7 0 64zM128 416c0 35.3-28.7 64-64 64s-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64zM32 160c159.1 0 288 128.9 288 288c0 17.7-14.3 32-32 32s-32-14.3-32-32c0-123.7-100.3-224-224-224c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]
  116738. };
  116739. var faFeed = faRss;
  116740. var faDrawPolygon = {
  116741. prefix: 'fas',
  116742. iconName: 'draw-polygon',
  116743. icon: [448, 512, [], "f5ee", "M96 151.4V360.6c9.7 5.6 17.8 13.7 23.4 23.4H328.6c0-.1 .1-.2 .1-.3l-4.5-7.9-32-56 0 0c-1.4 .1-2.8 .1-4.2 .1c-35.3 0-64-28.7-64-64s28.7-64 64-64c1.4 0 2.8 0 4.2 .1l0 0 32-56 4.5-7.9-.1-.3H119.4c-5.6 9.7-13.7 17.8-23.4 23.4zM384.3 352c35.2 .2 63.7 28.7 63.7 64c0 35.3-28.7 64-64 64c-23.7 0-44.4-12.9-55.4-32H119.4c-11.1 19.1-31.7 32-55.4 32c-35.3 0-64-28.7-64-64c0-23.7 12.9-44.4 32-55.4V151.4C12.9 140.4 0 119.7 0 96C0 60.7 28.7 32 64 32c23.7 0 44.4 12.9 55.4 32H328.6c11.1-19.1 31.7-32 55.4-32c35.3 0 64 28.7 64 64c0 35.3-28.5 63.8-63.7 64l-4.5 7.9-32 56-2.3 4c4.2 8.5 6.5 18 6.5 28.1s-2.3 19.6-6.5 28.1l2.3 4 32 56 4.5 7.9z"]
  116744. };
  116745. var faScaleBalanced = {
  116746. prefix: 'fas',
  116747. iconName: 'scale-balanced',
  116748. icon: [640, 512, [9878, "balance-scale"], "f24e", "M384 32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H398.4c-5.2 25.8-22.9 47.1-46.4 57.3V448H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H320 128c-17.7 0-32-14.3-32-32s14.3-32 32-32H288V153.3c-23.5-10.3-41.2-31.6-46.4-57.3H128c-17.7 0-32-14.3-32-32s14.3-32 32-32H256c14.6-19.4 37.8-32 64-32s49.4 12.6 64 32zM125.8 177.3L51.1 320H204.9L130.2 177.3c-.4-.8-1.3-1.3-2.2-1.3s-1.7 .5-2.2 1.3zM128 128c18.8 0 36 10.4 44.7 27l77.8 148.5c3.1 5.8 6.1 14 5.5 23.8c-.7 12.1-4.8 35.2-24.8 55.1C210.9 402.6 178.2 416 128 416s-82.9-13.4-103.2-33.5c-20-20-24.2-43-24.8-55.1c-.6-9.8 2.5-18 5.5-23.8L83.3 155c8.7-16.6 25.9-27 44.7-27zm384 48c-.9 0-1.7 .5-2.2 1.3L435.1 320H588.9L514.2 177.3c-.4-.8-1.3-1.3-2.2-1.3zm-44.7-21c8.7-16.6 25.9-27 44.7-27s36 10.4 44.7 27l77.8 148.5c3.1 5.8 6.1 14 5.5 23.8c-.7 12.1-4.8 35.2-24.8 55.1C594.9 402.6 562.2 416 512 416s-82.9-13.4-103.2-33.5c-20-20-24.2-43-24.8-55.1c-.6-9.8 2.5-18 5.5-23.8L467.3 155z"]
  116749. };
  116750. var faBalanceScale = faScaleBalanced;
  116751. var faGaugeSimpleHigh = {
  116752. prefix: 'fas',
  116753. iconName: 'gauge-simple-high',
  116754. icon: [512, 512, [61668, "tachometer", "tachometer-fast"], "f62a", "M512 256c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM320 352c0-15.9-5.8-30.4-15.3-41.6l76.6-147.4c6.1-11.8 1.5-26.3-10.2-32.4s-26.2-1.5-32.4 10.2L262.1 288.3c-2-.2-4-.3-6.1-.3c-35.3 0-64 28.7-64 64s28.7 64 64 64s64-28.7 64-64z"]
  116755. };
  116756. var faTachometer = faGaugeSimpleHigh;
  116757. var faTachometerFast = faGaugeSimpleHigh;
  116758. var faShower = {
  116759. prefix: 'fas',
  116760. iconName: 'shower',
  116761. icon: [512, 512, [128703], "f2cc", "M64 131.9C64 112.1 80.1 96 99.9 96c9.5 0 18.6 3.8 25.4 10.5l16.2 16.2c-21 38.9-17.4 87.5 10.9 123L151 247c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0L345 121c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-1.3 1.3c-35.5-28.3-84.1-31.9-123-10.9L170.5 61.3C151.8 42.5 126.4 32 99.9 32C44.7 32 0 76.7 0 131.9V448c0 17.7 14.3 32 32 32s32-14.3 32-32V131.9zM256 352c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm64 64c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zm0-128c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm64 64c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zm0-128c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm64 64c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zm32-32c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32z"]
  116762. };
  116763. var faDesktop = {
  116764. prefix: 'fas',
  116765. iconName: 'desktop',
  116766. icon: [576, 512, [128421, 61704, "desktop-alt"], "f390", "M64 0C28.7 0 0 28.7 0 64V352c0 35.3 28.7 64 64 64H240l-10.7 32H160c-17.7 0-32 14.3-32 32s14.3 32 32 32H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H346.7L336 416H512c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H64zM512 64V288H64V64H512z"]
  116767. };
  116768. var faDesktopAlt = faDesktop;
  116769. var faM = {
  116770. prefix: 'fas',
  116771. iconName: 'm',
  116772. icon: [448, 512, [109], "4d", "M0 448c0 17.7 14.3 32 32 32s32-14.3 32-32H0zM32 64L58.6 46.2c-7.8-11.7-22.4-17-35.9-12.9S0 49.9 0 64l32 0zM224 352l-26.6 17.8c5.9 8.9 15.9 14.2 26.6 14.2s20.7-5.3 26.6-14.2L224 352zM416 64h32c0-14.1-9.2-26.5-22.7-30.6s-28.1 1.1-35.9 12.9L416 64zM384 448c0 17.7 14.3 32 32 32s32-14.3 32-32H384zM64 448V64H0V448H64zM5.4 81.8l192 288 53.3-35.5-192-288L5.4 81.8zm245.3 288l192-288L389.4 46.2l-192 288 53.3 35.5zM384 64V448h64V64H384z"]
  116773. };
  116774. var faTableList = {
  116775. prefix: 'fas',
  116776. iconName: 'table-list',
  116777. icon: [512, 512, ["th-list"], "f00b", "M0 96C0 60.7 28.7 32 64 32H448c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zm64 0v64h64V96H64zm384 0H192v64H448V96zM64 224v64h64V224H64zm384 0H192v64H448V224zM64 352v64h64V352H64zm384 0H192v64H448V352z"]
  116778. };
  116779. var faThList = faTableList;
  116780. var faCommentSms = {
  116781. prefix: 'fas',
  116782. iconName: 'comment-sms',
  116783. icon: [512, 512, ["sms"], "f7cd", "M256 448c141.4 0 256-93.1 256-208S397.4 32 256 32S0 125.1 0 240c0 45.1 17.7 86.8 47.7 120.9c-1.9 24.5-11.4 46.3-21.4 62.9c-5.5 9.2-11.1 16.6-15.2 21.6c-2.1 2.5-3.7 4.4-4.9 5.7c-.6 .6-1 1.1-1.3 1.4l-.3 .3 0 0 0 0 0 0 0 0c-4.6 4.6-5.9 11.4-3.4 17.4c2.5 6 8.3 9.9 14.8 9.9c28.7 0 57.6-8.9 81.6-19.3c22.9-10 42.4-21.9 54.3-30.6c31.8 11.5 67 17.9 104.1 17.9zM202.9 176.8c6.5-2.2 13.7 .1 17.9 5.6L256 229.3l35.2-46.9c4.1-5.5 11.3-7.8 17.9-5.6s10.9 8.3 10.9 15.2v96c0 8.8-7.2 16-16 16s-16-7.2-16-16V240l-19.2 25.6c-3 4-7.8 6.4-12.8 6.4s-9.8-2.4-12.8-6.4L224 240v48c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-6.9 4.4-13 10.9-15.2zm173.1 38c0 .2 0 .4 0 .4c.1 .1 .6 .8 2.2 1.7c3.9 2.3 9.6 4.1 18.3 6.8l.6 .2c7.4 2.2 17.3 5.2 25.2 10.2c9.1 5.7 17.4 15.2 17.6 29.9c.2 15-7.6 26-17.8 32.3c-9.5 5.9-20.9 7.9-30.7 7.6c-12.2-.4-23.7-4.4-32.6-7.4l0 0 0 0c-1.4-.5-2.7-.9-4-1.4c-8.4-2.8-12.9-11.9-10.1-20.2s11.9-12.9 20.2-10.1c1.7 .6 3.3 1.1 4.9 1.6l0 0 0 0c9.1 3.1 15.6 5.3 22.6 5.5c5.3 .2 10-1 12.8-2.8c1.2-.8 1.8-1.5 2.1-2c.2-.4 .6-1.2 .6-2.7l0-.2c0-.7 0-1.4-2.7-3.1c-3.8-2.4-9.6-4.3-18-6.9l-1.2-.4c-7.2-2.2-16.7-5-24.3-9.6c-9-5.4-17.7-14.7-17.7-29.4c-.1-15.2 8.6-25.7 18.5-31.6c9.4-5.5 20.5-7.5 29.7-7.4c10 .2 19.7 2.3 27.9 4.4c8.5 2.3 13.6 11 11.3 19.6s-11 13.6-19.6 11.3c-7.3-1.9-14.1-3.3-20.1-3.4c-4.9-.1-9.8 1.1-12.9 2.9c-1.4 .8-2.1 1.6-2.4 2c-.2 .3-.4 .8-.4 1.9zm-272 0c0 .2 0 .4 0 .4c.1 .1 .6 .8 2.2 1.7c3.9 2.3 9.6 4.1 18.3 6.8l.6 .2c7.4 2.2 17.3 5.2 25.2 10.2c9.1 5.7 17.4 15.2 17.6 29.9c.2 15-7.6 26-17.8 32.3c-9.5 5.9-20.9 7.9-30.7 7.6c-12.3-.4-24.2-4.5-33.2-7.6l0 0 0 0c-1.3-.4-2.5-.8-3.6-1.2c-8.4-2.8-12.9-11.9-10.1-20.2s11.9-12.9 20.2-10.1c1.4 .5 2.7 .9 4 1.4l0 0 0 0 0 0c9.5 3.2 16.5 5.6 23.7 5.8c5.3 .2 10-1 12.8-2.8c1.2-.8 1.8-1.5 2.1-2c.2-.4 .6-1.2 .6-2.7l0-.2c0-.7 0-1.4-2.7-3.1c-3.8-2.4-9.6-4.3-18-6.9l-1.2-.4 0 0c-7.2-2.2-16.7-5-24.3-9.6C80.8 239 72.1 229.7 72 215c-.1-15.2 8.6-25.7 18.5-31.6c9.4-5.5 20.5-7.5 29.7-7.4c9.5 .1 22.2 2.1 31.1 4.4c8.5 2.3 13.6 11 11.3 19.6s-11 13.6-19.6 11.3c-6.6-1.8-16.8-3.3-23.3-3.4c-4.9-.1-9.8 1.1-12.9 2.9c-1.4 .8-2.1 1.6-2.4 2c-.2 .3-.4 .8-.4 1.9z"]
  116784. };
  116785. var faSms = faCommentSms;
  116786. var faBook = {
  116787. prefix: 'fas',
  116788. iconName: 'book',
  116789. icon: [448, 512, [128212], "f02d", "M96 0C43 0 0 43 0 96V416c0 53 43 96 96 96H384h32c17.7 0 32-14.3 32-32s-14.3-32-32-32V384c17.7 0 32-14.3 32-32V32c0-17.7-14.3-32-32-32H384 96zm0 384H352v64H96c-17.7 0-32-14.3-32-32s14.3-32 32-32zm32-240c0-8.8 7.2-16 16-16H336c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16zm16 48H336c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]
  116790. };
  116791. var faUserPlus = {
  116792. prefix: 'fas',
  116793. iconName: 'user-plus',
  116794. icon: [640, 512, [], "f234", "M352 128c0 70.7-57.3 128-128 128s-128-57.3-128-128S153.3 0 224 0s128 57.3 128 128zM0 482.3C0 383.8 79.8 304 178.3 304h91.4C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3zM504 312V248H440c-13.3 0-24-10.7-24-24s10.7-24 24-24h64V136c0-13.3 10.7-24 24-24s24 10.7 24 24v64h64c13.3 0 24 10.7 24 24s-10.7 24-24 24H552v64c0 13.3-10.7 24-24 24s-24-10.7-24-24z"]
  116795. };
  116796. var faCheck = {
  116797. prefix: 'fas',
  116798. iconName: 'check',
  116799. icon: [512, 512, [10003, 10004], "f00c", "M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7 425.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]
  116800. };
  116801. var faBatteryThreeQuarters = {
  116802. prefix: 'fas',
  116803. iconName: 'battery-three-quarters',
  116804. icon: [576, 512, ["battery-4"], "f241", "M0 176c0-44.2 35.8-80 80-80H464c44.2 0 80 35.8 80 80v16c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32v16c0 44.2-35.8 80-80 80H80c-44.2 0-80-35.8-80-80V176zm80-16c-8.8 0-16 7.2-16 16V336c0 8.8 7.2 16 16 16H464c8.8 0 16-7.2 16-16V176c0-8.8-7.2-16-16-16H80zm272 32V320H96V192H352z"]
  116805. };
  116806. var faBattery4 = faBatteryThreeQuarters;
  116807. var faHouseCircleCheck = {
  116808. prefix: 'fas',
  116809. iconName: 'house-circle-check',
  116810. icon: [640, 512, [], "e509", "M320.7 351.7C329 262.1 404.3 192 496 192c8.9 0 17.6 .7 26.1 1.9L309.5 7c-6-5-14-7-21-7s-15 1-22 8L10 231.5c-7 7-10 15-10 24c0 18 14 32.1 32 32.1h32V480c0 17.7 14.3 32 32 32H192c17.7 0 32-14.3 32-32V383.7c0-17.7 14.3-32 32-32h64l.7 0zM640 368c0-79.5-64.5-144-144-144s-144 64.5-144 144s64.5 144 144 144s144-64.5 144-144zm-76.7-43.3c6.2 6.2 6.2 16.4 0 22.6l-72 72c-6.2 6.2-16.4 6.2-22.6 0l-40-40c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L480 385.4l60.7-60.7c6.2-6.2 16.4-6.2 22.6 0z"]
  116811. };
  116812. var faAngleLeft = {
  116813. prefix: 'fas',
  116814. iconName: 'angle-left',
  116815. icon: [320, 512, [8249], "f104", "M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]
  116816. };
  116817. var faDiagramSuccessor = {
  116818. prefix: 'fas',
  116819. iconName: 'diagram-successor',
  116820. icon: [512, 512, [], "e47a", "M512 416l0-64c0-35.3-28.7-64-64-64L64 288c-35.3 0-64 28.7-64 64l0 64c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64zM64 160l0-64 144 0 16 0 0 64L64 160zm224 0l0-64 80 0c8.8 0 16 7.2 16 16l0 16-38.1 0c-21.4 0-32.1 25.9-17 41L399 239c9.4 9.4 24.6 9.4 33.9 0L503 169c15.1-15.1 4.4-41-17-41L448 128l0-16c0-44.2-35.8-80-80-80L224 32l-16 0L64 32C28.7 32 0 60.7 0 96l0 64c0 35.3 28.7 64 64 64l160 0c35.3 0 64-28.7 64-64z"]
  116821. };
  116822. var faTruckArrowRight = {
  116823. prefix: 'fas',
  116824. iconName: 'truck-arrow-right',
  116825. icon: [640, 512, [], "e58b", "M0 48C0 21.5 21.5 0 48 0H368c26.5 0 48 21.5 48 48V96h50.7c17 0 33.3 6.7 45.3 18.7L589.3 192c12 12 18.7 28.3 18.7 45.3V256v32 64c17.7 0 32 14.3 32 32s-14.3 32-32 32H576c0 53-43 96-96 96s-96-43-96-96H256c0 53-43 96-96 96s-96-43-96-96H48c-26.5 0-48-21.5-48-48V48zM416 256H544V237.3L466.7 160H416v96zM160 464c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zm368-48c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM257 95c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l39 39H96c-13.3 0-24 10.7-24 24s10.7 24 24 24H262.1l-39 39c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l80-80c9.4-9.4 9.4-24.6 0-33.9L257 95z"]
  116826. };
  116827. var faArrowsSplitUpAndLeft = {
  116828. prefix: 'fas',
  116829. iconName: 'arrows-split-up-and-left',
  116830. icon: [512, 512, [], "e4bc", "M246.6 150.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l96-96c12.5-12.5 32.8-12.5 45.3 0l96 96c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L352 109.3V384c0 35.3 28.7 64 64 64h64c17.7 0 32 14.3 32 32s-14.3 32-32 32H416c-70.7 0-128-57.3-128-128c0-35.3-28.7-64-64-64H109.3l41.4 41.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0l-96-96c-12.5-12.5-12.5-32.8 0-45.3l96-96c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3L109.3 256H224c23.3 0 45.2 6.2 64 17.1V109.3l-41.4 41.4z"]
  116831. };
  116832. var faHandFist = {
  116833. prefix: 'fas',
  116834. iconName: 'hand-fist',
  116835. icon: [384, 512, [9994, "fist-raised"], "f6de", "M160 0c17.7 0 32 14.3 32 32V144H128V32c0-17.7 14.3-32 32-32zM32 64c0-17.7 14.3-32 32-32s32 14.3 32 32v80H32V64zm192 0c0-17.7 14.3-32 32-32s32 14.3 32 32v96c0 17.7-14.3 32-32 32s-32-14.3-32-32V64zm96 64c0-17.7 14.3-32 32-32s32 14.3 32 32v64c0 17.7-14.3 32-32 32s-32-14.3-32-32V128zm-96 88l0-.6c9.4 5.4 20.3 8.6 32 8.6c13.2 0 25.4-4 35.6-10.8c8.7 24.9 32.5 42.8 60.4 42.8c11.7 0 22.6-3.1 32-8.6V256c0 52.3-25.1 98.8-64 128v96c0 17.7-14.3 32-32 32H128c-17.7 0-32-14.3-32-32V401.6c-17.3-7.9-33.2-18.8-46.9-32.5L37.5 357.5C13.5 333.5 0 300.9 0 267V240c0-35.3 28.7-64 64-64h88c22.1 0 40 17.9 40 40s-17.9 40-40 40H96c-8.8 0-16 7.2-16 16s7.2 16 16 16h56c39.8 0 72-32.2 72-72z"]
  116836. };
  116837. var faFistRaised = faHandFist;
  116838. var faCloudMoon = {
  116839. prefix: 'fas',
  116840. iconName: 'cloud-moon',
  116841. icon: [640, 512, [], "f6c3", "M495.8 0c5.5 0 10.9 .2 16.3 .7c7 .6 12.8 5.7 14.3 12.5s-1.6 13.9-7.7 17.3c-44.4 25.2-74.4 73-74.4 127.8c0 81 65.5 146.6 146.2 146.6c8.6 0 17-.7 25.1-2.1c6.9-1.2 13.8 2.2 17 8.5s1.9 13.8-3.1 18.7c-34.5 33.6-81.7 54.4-133.6 54.4c-9.3 0-18.4-.7-27.4-1.9c-11.2-22.6-29.8-40.9-52.6-51.7c-2.7-58.5-50.3-105.3-109.2-106.7c-1.7-10.4-2.6-21-2.6-31.8C304 86.1 389.8 0 495.8 0zM447.9 431.9c0 44.2-35.8 80-80 80H96c-53 0-96-43-96-96c0-47.6 34.6-87 80-94.6l0-1.3c0-53 43-96 96-96c34.9 0 65.4 18.6 82.2 46.4c13-9.1 28.8-14.4 45.8-14.4c44.2 0 80 35.8 80 80c0 5.9-.6 11.7-1.9 17.2c37.4 6.7 65.8 39.4 65.8 78.7z"]
  116842. };
  116843. var faBriefcase = {
  116844. prefix: 'fas',
  116845. iconName: 'briefcase',
  116846. icon: [512, 512, [128188], "f0b1", "M184 48H328c4.4 0 8 3.6 8 8V96H176V56c0-4.4 3.6-8 8-8zm-56 8V96H64C28.7 96 0 124.7 0 160v96H192 320 512V160c0-35.3-28.7-64-64-64H384V56c0-30.9-25.1-56-56-56H184c-30.9 0-56 25.1-56 56zM512 288H320v32c0 17.7-14.3 32-32 32H224c-17.7 0-32-14.3-32-32V288H0V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V288z"]
  116847. };
  116848. var faPersonFalling = {
  116849. prefix: 'fas',
  116850. iconName: 'person-falling',
  116851. icon: [512, 512, [], "e546", "M288 0c17.7 0 32 14.3 32 32l0 9.8c0 54.6-27.9 104.6-72.5 133.6l.2 .3L304.5 256l87.5 0c15.1 0 29.3 7.1 38.4 19.2l43.2 57.6c10.6 14.1 7.7 34.2-6.4 44.8s-34.2 7.7-44.8-6.4L384 320l-96 0h-1.4l92.3 142.6c9.6 14.8 5.4 34.6-9.5 44.3s-34.6 5.4-44.3-9.5L164.5 249.2c-2.9 9.2-4.5 19-4.5 29l0 73.8c0 17.7-14.3 32-32 32s-32-14.3-32-32V278.2c0-65.1 39.6-123.7 100.1-147.9C232.3 115.8 256 80.8 256 41.8l0-9.8c0-17.7 14.3-32 32-32zM112 128c-26.5 0-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48z"]
  116852. };
  116853. var faImagePortrait = {
  116854. prefix: 'fas',
  116855. iconName: 'image-portrait',
  116856. icon: [384, 512, ["portrait"], "f3e0", "M384 64c0-35.3-28.7-64-64-64H64C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64l0-384zM256 192c0 35.3-28.7 64-64 64s-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64zM80 356.6c0-37.9 30.7-68.6 68.6-68.6h86.9c37.9 0 68.6 30.7 68.6 68.6c0 15.1-12.3 27.4-27.4 27.4H107.4C92.3 384 80 371.7 80 356.6z"]
  116857. };
  116858. var faPortrait = faImagePortrait;
  116859. var faUserTag = {
  116860. prefix: 'fas',
  116861. iconName: 'user-tag',
  116862. icon: [640, 512, [], "f507", "M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0S96 57.3 96 128s57.3 128 128 128zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H418.3c10 0 18.8-4.9 24.2-12.5l-99.2-99.2c-14.9-14.9-23.3-35.1-23.3-56.1v-33c-15.9-4.7-32.8-7.2-50.3-7.2H178.3zM384 224c-17.7 0-32 14.3-32 32v82.7c0 17 6.7 33.3 18.7 45.3L478.1 491.3c18.7 18.7 49.1 18.7 67.9 0l73.4-73.4c18.7-18.7 18.7-49.1 0-67.9L512 242.7c-12-12-28.3-18.7-45.3-18.7H384zm72 80c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24z"]
  116863. };
  116864. var faRug = {
  116865. prefix: 'fas',
  116866. iconName: 'rug',
  116867. icon: [640, 512, [], "e569", "M24 64H56 80V88v88 80 80 88 24H56 24c-13.3 0-24-10.7-24-24s10.7-24 24-24h8V360H24c-13.3 0-24-10.7-24-24s10.7-24 24-24h8V280H24c-13.3 0-24-10.7-24-24s10.7-24 24-24h8V200H24c-13.3 0-24-10.7-24-24s10.7-24 24-24h8V112H24C10.7 112 0 101.3 0 88S10.7 64 24 64zm88 0H528V448H112V64zM640 88c0 13.3-10.7 24-24 24h-8v40h8c13.3 0 24 10.7 24 24s-10.7 24-24 24h-8v32h8c13.3 0 24 10.7 24 24s-10.7 24-24 24h-8v32h8c13.3 0 24 10.7 24 24s-10.7 24-24 24h-8v40h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H584 560V424 336 256 176 88 64h24 32c13.3 0 24 10.7 24 24z"]
  116868. };
  116869. var faEarthEurope = {
  116870. prefix: 'fas',
  116871. iconName: 'earth-europe',
  116872. icon: [512, 512, ["globe-europe"], "f7a2", "M266.3 48.3L232.5 73.6c-5.4 4-8.5 10.4-8.5 17.1v9.1c0 6.8 5.5 12.3 12.3 12.3c2.4 0 4.8-.7 6.8-2.1l41.8-27.9c2-1.3 4.4-2.1 6.8-2.1h1c6.2 0 11.3 5.1 11.3 11.3c0 3-1.2 5.9-3.3 8l-19.9 19.9c-5.8 5.8-12.9 10.2-20.7 12.8l-26.5 8.8c-5.8 1.9-9.6 7.3-9.6 13.4c0 3.7-1.5 7.3-4.1 10l-17.9 17.9c-6.4 6.4-9.9 15-9.9 24v4.3c0 16.4 13.6 29.7 29.9 29.7c11 0 21.2-6.2 26.1-16l4-8.1c2.4-4.8 7.4-7.9 12.8-7.9c4.5 0 8.7 2.1 11.4 5.7l16.3 21.7c2.1 2.9 5.5 4.5 9.1 4.5c8.4 0 13.9-8.9 10.1-16.4l-1.1-2.3c-3.5-7 0-15.5 7.5-18l21.2-7.1c7.6-2.5 12.7-9.6 12.7-17.6c0-10.3 8.3-18.6 18.6-18.6H400c8.8 0 16 7.2 16 16s-7.2 16-16 16H379.3c-7.2 0-14.2 2.9-19.3 8l-4.7 4.7c-2.1 2.1-3.3 5-3.3 8c0 6.2 5.1 11.3 11.3 11.3h11.3c6 0 11.8 2.4 16 6.6l6.5 6.5c1.8 1.8 2.8 4.3 2.8 6.8s-1 5-2.8 6.8l-7.5 7.5C386 262 384 266.9 384 272s2 10 5.7 13.7L408 304c10.2 10.2 24.1 16 38.6 16H454c6.5-20.2 10-41.7 10-64c0-111.4-87.6-202.4-197.7-207.7zm172 307.9c-3.7-2.6-8.2-4.1-13-4.1c-6 0-11.8-2.4-16-6.6L396 332c-7.7-7.7-18-12-28.9-12c-9.7 0-19.2-3.5-26.6-9.8L314 287.4c-11.6-9.9-26.4-15.4-41.6-15.4H251.4c-12.6 0-25 3.7-35.5 10.7L188.5 301c-17.8 11.9-28.5 31.9-28.5 53.3v3.2c0 17 6.7 33.3 18.7 45.3l16 16c8.5 8.5 20 13.3 32 13.3H248c13.3 0 24 10.7 24 24c0 2.5 .4 5 1.1 7.3c71.3-5.8 132.5-47.6 165.2-107.2zM512 256c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM187.3 100.7c-6.2-6.2-16.4-6.2-22.6 0l-32 32c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l32-32c6.2-6.2 6.2-16.4 0-22.6z"]
  116873. };
  116874. var faGlobeEurope = faEarthEurope;
  116875. var faCartFlatbedSuitcase = {
  116876. prefix: 'fas',
  116877. iconName: 'cart-flatbed-suitcase',
  116878. icon: [640, 512, ["luggage-cart"], "f59d", "M0 32C0 14.3 14.3 0 32 0H48c44.2 0 80 35.8 80 80V368c0 8.8 7.2 16 16 16H608c17.7 0 32 14.3 32 32s-14.3 32-32 32H541.3c1.8 5 2.7 10.4 2.7 16c0 26.5-21.5 48-48 48s-48-21.5-48-48c0-5.6 1-11 2.7-16H253.3c1.8 5 2.7 10.4 2.7 16c0 26.5-21.5 48-48 48s-48-21.5-48-48c0-5.6 1-11 2.7-16H144c-44.2 0-80-35.8-80-80V80c0-8.8-7.2-16-16-16H32C14.3 64 0 49.7 0 32zM432 96V56c0-4.4-3.6-8-8-8H344c-4.4 0-8 3.6-8 8V96h96zM288 96V56c0-30.9 25.1-56 56-56h80c30.9 0 56 25.1 56 56V96 320H288V96zM512 320V96h16c26.5 0 48 21.5 48 48V272c0 26.5-21.5 48-48 48H512zM240 96h16V320H240c-26.5 0-48-21.5-48-48V144c0-26.5 21.5-48 48-48z"]
  116879. };
  116880. var faLuggageCart = faCartFlatbedSuitcase;
  116881. var faRectangleXmark = {
  116882. prefix: 'fas',
  116883. iconName: 'rectangle-xmark',
  116884. icon: [512, 512, [62164, "rectangle-times", "times-rectangle", "window-close"], "f410", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM175 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z"]
  116885. };
  116886. var faRectangleTimes = faRectangleXmark;
  116887. var faTimesRectangle = faRectangleXmark;
  116888. var faWindowClose = faRectangleXmark;
  116889. var faBahtSign = {
  116890. prefix: 'fas',
  116891. iconName: 'baht-sign',
  116892. icon: [320, 512, [], "e0ac", "M144 0c-17.7 0-32 14.3-32 32V64H37.6C16.8 64 0 80.8 0 101.6V224v41.7V288 406.3c0 23 18.7 41.7 41.7 41.7H112v32c0 17.7 14.3 32 32 32s32-14.3 32-32V448h32c61.9 0 112-50.1 112-112c0-40.1-21.1-75.3-52.7-95.1C280.3 222.6 288 200.2 288 176c0-61.9-50.1-112-112-112V32c0-17.7-14.3-32-32-32zM112 128v96H64V128h48zm64 96V128c26.5 0 48 21.5 48 48s-21.5 48-48 48zm-64 64v96H64V288h48zm64 96V288h32c26.5 0 48 21.5 48 48s-21.5 48-48 48H176z"]
  116893. };
  116894. var faBookOpen = {
  116895. prefix: 'fas',
  116896. iconName: 'book-open',
  116897. icon: [576, 512, [128214, 128366], "f518", "M249.6 471.5c10.8 3.8 22.4-4.1 22.4-15.5V78.6c0-4.2-1.6-8.4-5-11C247.4 52 202.4 32 144 32C87.5 32 35.1 48.6 9 59.9c-5.6 2.4-9 8-9 14V454.1c0 11.9 12.8 20.2 24.1 16.5C55.6 460.1 105.5 448 144 448c33.9 0 79 14 105.6 23.5zm76.8 0C353 462 398.1 448 432 448c38.5 0 88.4 12.1 119.9 22.6c11.3 3.8 24.1-4.6 24.1-16.5V73.9c0-6.1-3.4-11.6-9-14C540.9 48.6 488.5 32 432 32c-58.4 0-103.4 20-123 35.6c-3.3 2.6-5 6.8-5 11V456c0 11.4 11.7 19.3 22.4 15.5z"]
  116898. };
  116899. var faBookJournalWhills = {
  116900. prefix: 'fas',
  116901. iconName: 'book-journal-whills',
  116902. icon: [448, 512, ["journal-whills"], "f66a", "M0 96C0 43 43 0 96 0H384h32c17.7 0 32 14.3 32 32V352c0 17.7-14.3 32-32 32v64c17.7 0 32 14.3 32 32s-14.3 32-32 32H384 96c-53 0-96-43-96-96V96zM64 416c0 17.7 14.3 32 32 32H352V384H96c-17.7 0-32 14.3-32 32zm90.4-234.4l-21.2-21.2c-3 10.1-5.1 20.6-5.1 31.6c0 .2 0 .5 .1 .8s.1 .5 .1 .8L165.2 226c2.5 2.1 3.4 5.8 2.3 8.9c-1.3 3-4.1 5.1-7.5 5.1c-1.9-.1-3.8-.8-5.2-2l-23.6-20.6C142.8 267 186.9 304 240 304s97.3-37 108.9-86.6L325.3 238c-1.4 1.2-3.3 2-5.3 2c-2.2-.1-4.4-1.1-6-2.8c-1.3-1.5-1.9-3.4-2-5.2c.1-2.2 1.1-4.4 2.7-6l37.1-32.5c0-.3 0-.5 .1-.8s.1-.5 .1-.8c0-11-2.1-21.5-5.1-31.6l-21.2 21.2c-3.1 3.1-8.1 3.1-11.3 0s-3.1-8.1 0-11.2l26.4-26.5c-10-20.7-26.1-38-46.4-49.2c17 27.1 11 62.8-14 82.6c14.1 14.6 19.1 35.9 13.1 55.2c-5.9 19.4-22 34.1-41.9 38.3l-1.4-34.3 12.6 8.6c.6 .4 1.5 .6 2.3 .6c1.5 0 2.7-.8 3.5-2s.6-2.8-.1-4L260 225.4l18-3.6c1.8-.4 3.1-2.1 3.1-4s-1.4-3.5-3.1-3.9l-18-3.7 8.5-14.3c.8-1.2 .9-2.9 .1-4.1s-2-2-3.5-2l-.1 0c-.7 .1-1.5 .3-2.1 .7l-14.1 9.6L244 87.9c-.1-2.2-1.9-3.9-4-3.9s-3.9 1.6-4 3.9l-4.6 110.8-12-8.1c-1.5-1.1-3.6-.9-5 .4s-1.6 3.4-.8 5l8.6 14.3-18 3.7c-1.8 .4-3.1 2-3.1 3.9s1.4 3.6 3.1 4l18 3.8-8.6 14.2c-.2 .6-.5 1.4-.5 2c0 1.1 .5 2.1 1.2 3c.8 .6 1.8 1 2.8 1c.7 0 1.6-.2 2.2-.6l10.4-7.1-1.4 32.8c-19.9-4.1-36-18.9-41.9-38.3c-6-19.4-1-40.5 13.1-55.2c-25-19.9-31-55.5-14-82.6c-20.1 11.2-36.4 28.5-46.4 49.2l26.4 26.5c3.1 3.1 3.1 8.1 0 11.2s-8.1 3.1-11.2 0z"]
  116903. };
  116904. var faJournalWhills = faBookJournalWhills;
  116905. var faHandcuffs = {
  116906. prefix: 'fas',
  116907. iconName: 'handcuffs',
  116908. icon: [640, 512, [], "e4f8", "M304 32c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zM192 112c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zm-32 16c17.7 0 32 14.3 32 32h8c13.3 0 24 10.7 24 24v16c0 1.7-.2 3.4-.5 5.1C280.3 229.6 320 286.2 320 352c0 88.4-71.6 160-160 160S0 440.4 0 352c0-65.8 39.7-122.4 96.5-146.9c-.4-1.6-.5-3.3-.5-5.1V184c0-13.3 10.7-24 24-24h8c0-17.7 14.3-32 32-32zm0 320c53 0 96-43 96-96s-43-96-96-96s-96 43-96 96s43 96 96 96zm192-96c0-25.9-5.1-50.5-14.4-73.1c16.9-32.9 44.8-59.1 78.9-73.9c-.4-1.6-.5-3.3-.5-5.1V184c0-13.3 10.7-24 24-24h8c0-17.7 14.3-32 32-32s32 14.3 32 32h8c13.3 0 24 10.7 24 24v16c0 1.7-.2 3.4-.5 5.1C600.3 229.6 640 286.2 640 352c0 88.4-71.6 160-160 160c-62 0-115.8-35.3-142.4-86.9c9.3-22.5 14.4-47.2 14.4-73.1zm224 0c0-53-43-96-96-96s-96 43-96 96s43 96 96 96s96-43 96-96zM368 64c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zm80 48c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]
  116909. };
  116910. var faTriangleExclamation = {
  116911. prefix: 'fas',
  116912. iconName: 'triangle-exclamation',
  116913. icon: [512, 512, [9888, "exclamation-triangle", "warning"], "f071", "M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32z"]
  116914. };
  116915. var faExclamationTriangle = faTriangleExclamation;
  116916. var faWarning = faTriangleExclamation;
  116917. var faDatabase = {
  116918. prefix: 'fas',
  116919. iconName: 'database',
  116920. icon: [448, 512, [], "f1c0", "M448 80v48c0 44.2-100.3 80-224 80S0 172.2 0 128V80C0 35.8 100.3 0 224 0S448 35.8 448 80zM393.2 214.7c20.8-7.4 39.9-16.9 54.8-28.6V288c0 44.2-100.3 80-224 80S0 332.2 0 288V186.1c14.9 11.8 34 21.2 54.8 28.6C99.7 230.7 159.5 240 224 240s124.3-9.3 169.2-25.3zM0 346.1c14.9 11.8 34 21.2 54.8 28.6C99.7 390.7 159.5 400 224 400s124.3-9.3 169.2-25.3c20.8-7.4 39.9-16.9 54.8-28.6V432c0 44.2-100.3 80-224 80S0 476.2 0 432V346.1z"]
  116921. };
  116922. var faShare = {
  116923. prefix: 'fas',
  116924. iconName: 'share',
  116925. icon: [512, 512, ["arrow-turn-right", "mail-forward"], "f064", "M307 34.8c-11.5 5.1-19 16.6-19 29.2v64H176C78.8 128 0 206.8 0 304C0 417.3 81.5 467.9 100.2 478.1c2.5 1.4 5.3 1.9 8.1 1.9c10.9 0 19.7-8.9 19.7-19.7c0-7.5-4.3-14.4-9.8-19.5C108.8 431.9 96 414.4 96 384c0-53 43-96 96-96h96v64c0 12.6 7.4 24.1 19 29.2s25 3 34.4-5.4l160-144c6.7-6.1 10.6-14.7 10.6-23.8s-3.8-17.7-10.6-23.8l-160-144c-9.4-8.5-22.9-10.6-34.4-5.4z"]
  116926. };
  116927. var faArrowTurnRight = faShare;
  116928. var faMailForward = faShare;
  116929. var faBottleDroplet = {
  116930. prefix: 'fas',
  116931. iconName: 'bottle-droplet',
  116932. icon: [256, 512, [], "e4c4", "M64 0C50.7 0 40 10.7 40 24s10.7 24 24 24c4.4 0 8 3.6 8 8v64.9c0 12.2-7.2 23.1-17.2 30.1C21.7 174.1 0 212.5 0 256V448c0 35.3 28.7 64 64 64H192c35.3 0 64-28.7 64-64V256c0-43.5-21.7-81.9-54.8-105c-10-7-17.2-17.9-17.2-30.1V56c0-4.4 3.6-8 8-8c13.3 0 24-10.7 24-24s-10.7-24-24-24l-8 0 0 0 0 0H72l0 0 0 0L64 0zm64 382c-26.5 0-48-20.1-48-45c0-16.8 22.1-48.1 36.3-66.4c6-7.8 17.5-7.8 23.5 0C153.9 288.9 176 320.2 176 337c0 24.9-21.5 45-48 45z"]
  116933. };
  116934. var faMaskFace = {
  116935. prefix: 'fas',
  116936. iconName: 'mask-face',
  116937. icon: [640, 512, [], "e1d7", "M320 64c-27.2 0-53.8 8-76.4 23.1l-37.1 24.8c-15.8 10.5-34.3 16.1-53.3 16.1H144 128 56c-30.9 0-56 25.1-56 56v85c0 55.1 37.5 103.1 90.9 116.4l108 27C233.8 435 275.4 448 320 448s86.2-13 121.1-35.5l108-27C602.5 372.1 640 324.1 640 269V184c0-30.9-25.1-56-56-56H512 496h-9.2c-19 0-37.5-5.6-53.3-16.1L396.4 87.1C373.8 72 347.2 64 320 64zM132.3 346.3l-29.8-7.4C70.5 330.9 48 302.1 48 269V184c0-4.4 3.6-8 8-8H96v48c0 45.1 13.4 87.2 36.3 122.3zm405.1-7.4l-29.8 7.4c23-35.2 36.3-77.2 36.3-122.3V176h40c4.4 0 8 3.6 8 8v85c0 33-22.5 61.8-54.5 69.9zM192 208c0-8.8 7.2-16 16-16H432c8.8 0 16 7.2 16 16s-7.2 16-16 16H208c-8.8 0-16-7.2-16-16zm16 48H432c8.8 0 16 7.2 16 16s-7.2 16-16 16H208c-8.8 0-16-7.2-16-16s7.2-16 16-16zm16 80c0-8.8 7.2-16 16-16H400c8.8 0 16 7.2 16 16s-7.2 16-16 16H240c-8.8 0-16-7.2-16-16z"]
  116938. };
  116939. var faHillRockslide = {
  116940. prefix: 'fas',
  116941. iconName: 'hill-rockslide',
  116942. icon: [576, 512, [], "e508", "M252.4 103.8l27 48c2.8 5 8.2 8.2 13.9 8.2l53.3 0c5.8 0 11.1-3.1 13.9-8.2l27-48c2.7-4.9 2.7-10.8 0-15.7l-27-48c-2.8-5-8.2-8.2-13.9-8.2H293.4c-5.8 0-11.1 3.1-13.9 8.2l-27 48c-2.7 4.9-2.7 10.8 0 15.7zM68.3 87C43.1 61.8 0 79.7 0 115.3V432c0 44.2 35.8 80 80 80H396.7c35.6 0 53.5-43.1 28.3-68.3L68.3 87zM504.2 403.6c4.9 2.7 10.8 2.7 15.7 0l48-27c5-2.8 8.2-8.2 8.2-13.9V309.4c0-5.8-3.1-11.1-8.2-13.9l-48-27c-4.9-2.7-10.8-2.7-15.7 0l-48 27c-5 2.8-8.2 8.2-8.2 13.9v53.3c0 5.8 3.1 11.1 8.2 13.9l48 27zM192 64c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zM384 288c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32z"]
  116943. };
  116944. var faRightLeft = {
  116945. prefix: 'fas',
  116946. iconName: 'right-left',
  116947. icon: [512, 512, ["exchange-alt"], "f362", "M32 96l320 0V32c0-12.9 7.8-24.6 19.8-29.6s25.7-2.2 34.9 6.9l96 96c6 6 9.4 14.1 9.4 22.6s-3.4 16.6-9.4 22.6l-96 96c-9.2 9.2-22.9 11.9-34.9 6.9s-19.8-16.6-19.8-29.6V160L32 160c-17.7 0-32-14.3-32-32s14.3-32 32-32zM480 352c17.7 0 32 14.3 32 32s-14.3 32-32 32H160v64c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9l-96-96c-6-6-9.4-14.1-9.4-22.6s3.4-16.6 9.4-22.6l96-96c9.2-9.2 22.9-11.9 34.9-6.9s19.8 16.6 19.8 29.6l0 64H480z"]
  116948. };
  116949. var faExchangeAlt = faRightLeft;
  116950. var faPaperPlane = {
  116951. prefix: 'fas',
  116952. iconName: 'paper-plane',
  116953. icon: [512, 512, [61913], "f1d8", "M498.1 5.6c10.1 7 15.4 19.1 13.5 31.2l-64 416c-1.5 9.7-7.4 18.2-16 23s-18.9 5.4-28 1.6L277.3 424.9l-40.1 74.5c-5.2 9.7-16.3 14.6-27 11.9S192 499 192 488V392c0-5.3 1.8-10.5 5.1-14.7L362.4 164.7c2.5-7.1-6.5-14.3-13-8.4L170.4 318.2l-32 28.9 0 0c-9.2 8.3-22.3 10.6-33.8 5.8l-85-35.4C8.4 312.8 .8 302.2 .1 290s5.5-23.7 16.1-29.8l448-256c10.7-6.1 23.9-5.5 34 1.4z"]
  116954. };
  116955. var faRoadCircleExclamation = {
  116956. prefix: 'fas',
  116957. iconName: 'road-circle-exclamation',
  116958. icon: [640, 512, [], "e565", "M213.2 32H288V96c0 17.7 14.3 32 32 32s32-14.3 32-32V32h74.8c27.1 0 51.3 17.1 60.3 42.6l42.7 120.6c-10.9-2.1-22.2-3.2-33.8-3.2c-59.5 0-112.1 29.6-144 74.8V224c0-17.7-14.3-32-32-32s-32 14.3-32 32v64c0 17.7 14.3 32 32 32c2.3 0 4.6-.3 6.8-.7c-4.5 15.5-6.8 31.8-6.8 48.7c0 5.4 .2 10.7 .7 16l-.7 0c-17.7 0-32 14.3-32 32v64H86.6C56.5 480 32 455.5 32 425.4c0-6.2 1.1-12.4 3.1-18.2L152.9 74.6C162 49.1 186.1 32 213.2 32zM496 512c-79.5 0-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144zm0-48c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24zm0-192c-8.8 0-16 7.2-16 16v80c0 8.8 7.2 16 16 16s16-7.2 16-16V288c0-8.8-7.2-16-16-16z"]
  116959. };
  116960. var faDungeon = {
  116961. prefix: 'fas',
  116962. iconName: 'dungeon',
  116963. icon: [512, 512, [], "f6d9", "M336.6 156.5c1.3 1.1 2.7 2.2 3.9 3.3c9.3 8.2 23 10.5 33.4 3.6l67.6-45.1c11.4-7.6 14.2-23.2 5.1-33.4C430 66.6 410.9 50.6 389.7 37.6c-11.9-7.3-26.9-1.4-32.1 11.6l-30.5 76.2c-4.5 11.1 .2 23.6 9.5 31.2zM328 36.8c5.1-12.8-1.6-27.4-15-30.5C294.7 2.2 275.6 0 256 0s-38.7 2.2-57 6.4C185.5 9.4 178.8 24 184 36.8l30.3 75.8c4.5 11.3 16.8 17.2 29 16c4.2-.4 8.4-.6 12.7-.6s8.6 .2 12.7 .6c12.1 1.2 24.4-4.7 29-16L328 36.8zM65.5 85c-9.1 10.2-6.3 25.8 5.1 33.4l67.6 45.1c10.3 6.9 24.1 4.6 33.4-3.6c1.3-1.1 2.6-2.3 4-3.3c9.3-7.5 13.9-20.1 9.5-31.2L154.4 49.2c-5.2-12.9-20.3-18.8-32.1-11.6C101.1 50.6 82 66.6 65.5 85zm314 137.1c.9 3.3 1.7 6.6 2.3 10c2.5 13 13 23.9 26.2 23.9h80c13.3 0 24.1-10.8 22.9-24c-2.5-27.2-9.3-53.2-19.7-77.3c-5.5-12.9-21.4-16.6-33.1-8.9l-68.6 45.7c-9.8 6.5-13.2 19.2-10 30.5zM53.9 145.8c-11.6-7.8-27.6-4-33.1 8.9C10.4 178.8 3.6 204.8 1.1 232c-1.2 13.2 9.6 24 22.9 24h80c13.3 0 23.8-10.8 26.2-23.9c.6-3.4 1.4-6.7 2.3-10c3.1-11.4-.2-24-10-30.5L53.9 145.8zM104 288H24c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h80c13.3 0 24-10.7 24-24V312c0-13.3-10.7-24-24-24zm304 0c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h80c13.3 0 24-10.7 24-24V312c0-13.3-10.7-24-24-24H408zM24 416c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h80c13.3 0 24-10.7 24-24V440c0-13.3-10.7-24-24-24H24zm384 0c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h80c13.3 0 24-10.7 24-24V440c0-13.3-10.7-24-24-24H408zM272 192c0-8.8-7.2-16-16-16s-16 7.2-16 16V464c0 8.8 7.2 16 16 16s16-7.2 16-16V192zm-64 32c0-8.8-7.2-16-16-16s-16 7.2-16 16V464c0 8.8 7.2 16 16 16s16-7.2 16-16V224zm128 0c0-8.8-7.2-16-16-16s-16 7.2-16 16V464c0 8.8 7.2 16 16 16s16-7.2 16-16V224z"]
  116964. };
  116965. var faAlignRight = {
  116966. prefix: 'fas',
  116967. iconName: 'align-right',
  116968. icon: [448, 512, [], "f038", "M448 64c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32zm0 256c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32zM0 192c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 448c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"]
  116969. };
  116970. var faMoneyBill1Wave = {
  116971. prefix: 'fas',
  116972. iconName: 'money-bill-1-wave',
  116973. icon: [576, 512, ["money-bill-wave-alt"], "f53b", "M0 112.5V422.3c0 18 10.1 35 27 41.3c87 32.5 174 10.3 261-11.9c79.8-20.3 159.6-40.7 239.3-18.9c23 6.3 48.7-9.5 48.7-33.4V89.7c0-18-10.1-35-27-41.3C462 15.9 375 38.1 288 60.3C208.2 80.6 128.4 100.9 48.7 79.1C25.6 72.8 0 88.6 0 112.5zM128 416H64V352c35.3 0 64 28.7 64 64zM64 224V160h64c0 35.3-28.7 64-64 64zM448 352c0-35.3 28.7-64 64-64v64H448zm64-192c-35.3 0-64-28.7-64-64h64v64zM384 256c0 61.9-43 112-96 112s-96-50.1-96-112s43-112 96-112s96 50.1 96 112zM252 208c0 9.7 6.9 17.7 16 19.6V276h-4c-11 0-20 9-20 20s9 20 20 20h24 24c11 0 20-9 20-20s-9-20-20-20h-4V208c0-11-9-20-20-20H272c-11 0-20 9-20 20z"]
  116974. };
  116975. var faMoneyBillWaveAlt = faMoneyBill1Wave;
  116976. var faLifeRing = {
  116977. prefix: 'fas',
  116978. iconName: 'life-ring',
  116979. icon: [512, 512, [], "f1cd", "M367.2 412.5C335.9 434.9 297.5 448 256 448s-79.9-13.1-111.2-35.5l58-58c15.8 8.6 34 13.5 53.3 13.5s37.4-4.9 53.3-13.5l58 58zm91 .5c33.7-43.3 53.8-97.8 53.8-157s-20.1-113.6-53.8-157l12.4-12.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L413 53.8C369.6 20.1 315.2 0 256 0S142.4 20.1 99 53.8L86.6 41.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L53.8 99C20.1 142.4 0 196.8 0 256s20.1 113.6 53.8 157L41.4 425.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L99 458.2c43.3 33.7 97.8 53.8 157 53.8s113.6-20.1 157-53.8l12.4 12.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L458.2 413zm-45.7-45.7l-58-58c8.6-15.8 13.5-34 13.5-53.3s-4.9-37.4-13.5-53.3l58-58C434.9 176.1 448 214.5 448 256s-13.1 79.9-35.5 111.2zM367.2 99.5l-58 58c-15.8-8.6-34-13.5-53.3-13.5s-37.4 4.9-53.3 13.5l-58-58C176.1 77.1 214.5 64 256 64s79.9 13.1 111.2 35.5zM157.5 309.3l-58 58C77.1 335.9 64 297.5 64 256s13.1-79.9 35.5-111.2l58 58c-8.6 15.8-13.5 34-13.5 53.3s4.9 37.4 13.5 53.3zM304 256c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48z"]
  116980. };
  116981. var faHands = {
  116982. prefix: 'fas',
  116983. iconName: 'hands',
  116984. icon: [512, 512, ["sign-language", "signing"], "f2a7", "M154.9 162c.3 .7 .7 1.5 1.1 2.2l17.8 30.9c11.1-12.6 27.4-19.8 44.4-19.1l-20.7-35.8c-6.6-11.5-21.3-15.4-32.8-8.8c-10.8 6.2-14.9 19.5-9.9 30.6zm173.6 47C399.7 231.7 448 297.8 448 372.5c0 1.5 0 3-.1 4.5c39.7-25.6 64.1-69.7 64.1-117.4V136c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 81.7L347.8 16.5C341.2 5 326.5 1.1 315.1 7.7s-15.4 21.3-8.8 32.8l64 110.9c2.2 3.8 .9 8.7-2.9 10.9s-8.7 .9-10.9-2.9l-80-138.6C269.8 9.3 255.1 5.4 243.6 12s-15.4 21.3-8.8 32.8l80 138.6c2.2 3.8 .9 8.7-2.9 10.9s-8.7 .9-10.9-2.9L237 80.5c-6.6-11.5-21.3-15.4-32.8-8.8s-15.4 21.3-8.8 32.8l44 76.2L328.5 209zM64 488c0 12.4 9.4 22.6 21.5 23.9c.8 .1 1.6 .1 2.5 .1H288.7 296c66.3 0 120-53.7 120-120c0-1.2 0-2.4-.1-3.6c0-1.2 .1-2.5 .1-3.7c0-68-44-128.2-108.9-148.9l-83.9-26.7c-12.6-4-26.1 3-30.1 15.6s3 26.1 15.6 30.1L262.6 272H56c-13.3 0-24 10.7-24 24s10.7 24 24 24H184c4.4 0 8 3.6 8 8s-3.6 8-8 8H24c-13.3 0-24 10.7-24 24s10.7 24 24 24H184c4.4 0 8 3.6 8 8s-3.6 8-8 8H56c-13.3 0-24 10.7-24 24s10.7 24 24 24H184c4.4 0 8 3.6 8 8s-3.6 8-8 8H88c-13.3 0-24 10.7-24 24z"]
  116985. };
  116986. var faSignLanguage = faHands;
  116987. var faSigning = faHands;
  116988. var faCalendarDay = {
  116989. prefix: 'fas',
  116990. iconName: 'calendar-day',
  116991. icon: [448, 512, [], "f783", "M128 0c17.7 0 32 14.3 32 32V64H288V32c0-17.7 14.3-32 32-32s32 14.3 32 32V64h48c26.5 0 48 21.5 48 48v48H0V112C0 85.5 21.5 64 48 64H96V32c0-17.7 14.3-32 32-32zM0 192H448V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V192zm80 64c-8.8 0-16 7.2-16 16v96c0 8.8 7.2 16 16 16h96c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16H80z"]
  116992. };
  116993. var faWaterLadder = {
  116994. prefix: 'fas',
  116995. iconName: 'water-ladder',
  116996. icon: [576, 512, ["ladder-water", "swimming-pool"], "f5c5", "M128 127.7C128 74.9 170.9 32 223.7 32c48.3 0 89 36 95 83.9l1 8.2c2.2 17.5-10.2 33.5-27.8 35.7s-33.5-10.2-35.7-27.8l-1-8.2c-2-15.9-15.5-27.8-31.5-27.8c-17.5 0-31.7 14.2-31.7 31.7V224H384V127.7C384 74.9 426.9 32 479.7 32c48.3 0 89 36 95 83.9l1 8.2c2.2 17.5-10.2 33.5-27.8 35.7s-33.5-10.2-35.7-27.8l-1-8.2c-2-15.9-15.5-27.8-31.5-27.8c-17.5 0-31.7 14.2-31.7 31.7V361c-1.6 1-3.3 2-4.8 3.1c-18 12.4-40.1 20.3-59.2 20.3h0V288H192v96.5c-19 0-41.2-7.9-59.1-20.3c-1.6-1.1-3.2-2.2-4.9-3.1V127.7zM306.5 389.9C329 405.4 356.5 416 384 416c26.9 0 55.4-10.8 77.4-26.1l0 0c11.9-8.5 28.1-7.8 39.2 1.7c14.4 11.9 32.5 21 50.6 25.2c17.2 4 27.9 21.2 23.9 38.4s-21.2 27.9-38.4 23.9c-24.5-5.7-44.9-16.5-58.2-25C449.5 469.7 417 480 384 480c-31.9 0-60.6-9.9-80.4-18.9c-5.8-2.7-11.1-5.3-15.6-7.7c-4.5 2.4-9.7 5.1-15.6 7.7c-19.8 9-48.5 18.9-80.4 18.9c-33 0-65.5-10.3-94.5-25.8c-13.4 8.4-33.7 19.3-58.2 25c-17.2 4-34.4-6.7-38.4-23.9s6.7-34.4 23.9-38.4c18.1-4.2 36.2-13.3 50.6-25.2c11.1-9.4 27.3-10.1 39.2-1.7l0 0C136.7 405.2 165.1 416 192 416c27.5 0 55-10.6 77.5-26.1c11.1-7.9 25.9-7.9 37 0z"]
  116997. };
  116998. var faLadderWater = faWaterLadder;
  116999. var faSwimmingPool = faWaterLadder;
  117000. var faArrowsUpDown = {
  117001. prefix: 'fas',
  117002. iconName: 'arrows-up-down',
  117003. icon: [320, 512, ["arrows-v"], "f07d", "M182.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L128 109.3V402.7L86.6 361.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 402.7V109.3l41.4 41.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-96-96z"]
  117004. };
  117005. var faArrowsV = faArrowsUpDown;
  117006. var faFaceGrimace = {
  117007. prefix: 'fas',
  117008. iconName: 'face-grimace',
  117009. icon: [512, 512, [128556, "grimace"], "f57f", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zm96-112h-8V360l55.3 0c-3.8 22.7-23.6 40-47.3 40zm47.3-56L344 344V304h8c23.8 0 43.5 17.3 47.3 40zM328 344H264V304h64v40zm0 56H264V360h64v40zm-80-96v40l-64 0V304h64zm0 56v40H184V360l64 0zm-80-16H112.7c3.8-22.7 23.6-40 47.3-40h8v40zm0 56h-8c-23.8 0-43.5-17.3-47.3-40H168v40zm40.4-192c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zm128 32c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]
  117010. };
  117011. var faGrimace = faFaceGrimace;
  117012. var faWheelchairMove = {
  117013. prefix: 'fas',
  117014. iconName: 'wheelchair-move',
  117015. icon: [448, 512, ["wheelchair-alt"], "e2ce", "M416 48c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zM204.5 121.3c-5.4-2.5-11.7-1.9-16.4 1.7l-40.9 30.7c-14.1 10.6-34.2 7.7-44.8-6.4s-7.7-34.2 6.4-44.8l40.9-30.7c23.7-17.8 55.3-21 82.1-8.4l90.4 42.5c29.1 13.7 36.8 51.6 15.2 75.5L299.1 224h97.4c30.3 0 53 27.7 47.1 57.4L415.4 422.3c-3.5 17.3-20.3 28.6-37.7 25.1s-28.6-20.3-25.1-37.7L377 288H306.7c8.6 19.6 13.3 41.2 13.3 64c0 88.4-71.6 160-160 160S0 440.4 0 352s71.6-160 160-160c11.1 0 22 1.1 32.4 3.3l54.2-54.2-42.1-19.8zM160 448c53 0 96-43 96-96s-43-96-96-96s-96 43-96 96s43 96 96 96z"]
  117016. };
  117017. var faWheelchairAlt = faWheelchairMove;
  117018. var faTurnDown = {
  117019. prefix: 'fas',
  117020. iconName: 'turn-down',
  117021. icon: [384, 512, [10549, "level-down-alt"], "f3be", "M178.3 506.3L40.3 368.3C35 363 32 355.8 32 348.3C32 332.7 44.7 320 60.3 320H144V112c0-8.8-7.2-16-16-16H32C14.3 96 0 81.7 0 64V32C0 14.3 14.3 0 32 0h96c61.9 0 112 50.1 112 112V320h83.7c15.6 0 28.3 12.7 28.3 28.3c0 7.5-3 14.7-8.3 20L205.7 506.3C202 510 197.1 512 192 512s-10-2-13.7-5.7z"]
  117022. };
  117023. var faLevelDownAlt = faTurnDown;
  117024. var faPersonWalkingArrowRight = {
  117025. prefix: 'fas',
  117026. iconName: 'person-walking-arrow-right',
  117027. icon: [640, 512, [], "e552", "M208 96c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zM123.7 200.5c1-.4 1.9-.8 2.9-1.2l-16.9 63.5c-5.6 21.1-.1 43.6 14.7 59.7l70.7 77.1 22 88.1c4.3 17.1 21.7 27.6 38.8 23.3s27.6-21.7 23.3-38.8l-23-92.1c-1.9-7.8-5.8-14.9-11.2-20.8l-49.5-54 19.3-65.5 9.6 23c4.4 10.6 12.5 19.3 22.8 24.5l26.7 13.3c15.8 7.9 35 1.5 42.9-14.3s1.5-35-14.3-42.9L281 232.7l-15.3-36.8C248.5 154.8 208.3 128 163.7 128c-22.8 0-45.3 4.8-66.1 14l-8 3.5c-32.9 14.6-58.1 42.4-69.4 76.5l-2.6 7.8c-5.6 16.8 3.5 34.9 20.2 40.5s34.9-3.5 40.5-20.2l2.6-7.8c5.7-17.1 18.3-30.9 34.7-38.2l8-3.5zm-30 135.1L68.7 398 9.4 457.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L116.3 441c4.6-4.6 8.2-10.1 10.6-16.1l14.5-36.2-40.7-44.4c-2.5-2.7-4.8-5.6-7-8.6zM550.6 153.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L530.7 224H384c-17.7 0-32 14.3-32 32s14.3 32 32 32H530.7l-25.4 25.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l80-80c12.5-12.5 12.5-32.8 0-45.3l-80-80z"]
  117028. };
  117029. var faSquareEnvelope = {
  117030. prefix: 'fas',
  117031. iconName: 'square-envelope',
  117032. icon: [448, 512, ["envelope-square"], "f199", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM218 271.7L64.2 172.4C66 156.4 79.5 144 96 144H352c16.5 0 30 12.4 31.8 28.4L230 271.7c-1.8 1.2-3.9 1.8-6 1.8s-4.2-.6-6-1.8zm29.4 26.9L384 210.4V336c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V210.4l136.6 88.2c7 4.5 15.1 6.9 23.4 6.9s16.4-2.4 23.4-6.9z"]
  117033. };
  117034. var faEnvelopeSquare = faSquareEnvelope;
  117035. var faDice = {
  117036. prefix: 'fas',
  117037. iconName: 'dice',
  117038. icon: [640, 512, [127922], "f522", "M252.3 11.7c-15.6-15.6-40.9-15.6-56.6 0l-184 184c-15.6 15.6-15.6 40.9 0 56.6l184 184c15.6 15.6 40.9 15.6 56.6 0l184-184c15.6-15.6 15.6-40.9 0-56.6l-184-184zM248 224c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24zM96 248c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm128 80c13.3 0 24 10.7 24 24s-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24zm128-80c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zM224 72c13.3 0 24 10.7 24 24s-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24zm96 392c0 26.5 21.5 48 48 48H592c26.5 0 48-21.5 48-48V240c0-26.5-21.5-48-48-48H472.5c13.4 26.9 8.8 60.5-13.6 82.9L320 413.8V464zm160-88c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24z"]
  117039. };
  117040. var faBowlingBall = {
  117041. prefix: 'fas',
  117042. iconName: 'bowling-ball',
  117043. icon: [512, 512, [], "f436", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM240 144c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zm32 64c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zm-128 0c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]
  117044. };
  117045. var faBrain = {
  117046. prefix: 'fas',
  117047. iconName: 'brain',
  117048. icon: [512, 512, [129504], "f5dc", "M184 0c30.9 0 56 25.1 56 56V456c0 30.9-25.1 56-56 56c-28.9 0-52.7-21.9-55.7-50.1c-5.2 1.4-10.7 2.1-16.3 2.1c-35.3 0-64-28.7-64-64c0-7.4 1.3-14.6 3.6-21.2C21.4 367.4 0 338.2 0 304c0-31.9 18.7-59.5 45.8-72.3C37.1 220.8 32 207 32 192c0-30.7 21.6-56.3 50.4-62.6C80.8 123.9 80 118 80 112c0-29.9 20.6-55.1 48.3-62.1C131.3 21.9 155.1 0 184 0zM328 0c28.9 0 52.6 21.9 55.7 49.9c27.8 7 48.3 32.1 48.3 62.1c0 6-.8 11.9-2.4 17.4c28.8 6.2 50.4 31.9 50.4 62.6c0 15-5.1 28.8-13.8 39.7C493.3 244.5 512 272.1 512 304c0 34.2-21.4 63.4-51.6 74.8c2.3 6.6 3.6 13.8 3.6 21.2c0 35.3-28.7 64-64 64c-5.6 0-11.1-.7-16.3-2.1c-3 28.2-26.8 50.1-55.7 50.1c-30.9 0-56-25.1-56-56V56c0-30.9 25.1-56 56-56z"]
  117049. };
  117050. var faBandage = {
  117051. prefix: 'fas',
  117052. iconName: 'bandage',
  117053. icon: [640, 512, [129657, "band-aid"], "f462", "M480 416h96c35.3 0 64-28.7 64-64V160c0-35.3-28.7-64-64-64H480V416zM448 96H192V416H448V96zM64 96C28.7 96 0 124.7 0 160V352c0 35.3 28.7 64 64 64h96V96H64zM296 208c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24zm72 24c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm-72 72c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24zm72 24c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24z"]
  117054. };
  117055. var faBandAid = faBandage;
  117056. var faCalendarMinus = {
  117057. prefix: 'fas',
  117058. iconName: 'calendar-minus',
  117059. icon: [448, 512, [], "f272", "M128 0c17.7 0 32 14.3 32 32V64H288V32c0-17.7 14.3-32 32-32s32 14.3 32 32V64h48c26.5 0 48 21.5 48 48v48H0V112C0 85.5 21.5 64 48 64H96V32c0-17.7 14.3-32 32-32zM0 192H448V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V192zM312 376c13.3 0 24-10.7 24-24s-10.7-24-24-24H136c-13.3 0-24 10.7-24 24s10.7 24 24 24H312z"]
  117060. };
  117061. var faCircleXmark = {
  117062. prefix: 'fas',
  117063. iconName: 'circle-xmark',
  117064. icon: [512, 512, [61532, "times-circle", "xmark-circle"], "f057", "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM175 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z"]
  117065. };
  117066. var faTimesCircle = faCircleXmark;
  117067. var faXmarkCircle = faCircleXmark;
  117068. var faGifts = {
  117069. prefix: 'fas',
  117070. iconName: 'gifts',
  117071. icon: [640, 512, [], "f79c", "M200.6 32C205 19.5 198.5 5.8 186 1.4S159.8 3.5 155.4 16L144.7 46.2l-9.9-29.8C130.6 3.8 117-3 104.4 1.2S85 19 89.2 31.6l8.3 25-27.4-20c-10.7-7.8-25.7-5.4-33.5 5.3s-5.4 25.7 5.3 33.5L70.2 96H48C21.5 96 0 117.5 0 144V464c0 26.5 21.5 48 48 48H200.6c-5.4-9.4-8.6-20.3-8.6-32V256c0-29.9 20.5-55 48.2-62c1.8-31 17.1-58.2 40.1-76.1C271.7 104.7 256.9 96 240 96H217.8l28.3-20.6c10.7-7.8 13.1-22.8 5.3-33.5s-22.8-13.1-33.5-5.3L192.5 55.1 200.6 32zM363.5 185.5L393.1 224H344c-13.3 0-24-10.7-24-24c0-13.1 10.8-24 24.2-24c7.6 0 14.7 3.5 19.3 9.5zM272 200c0 8.4 1.4 16.5 4.1 24H272c-26.5 0-48 21.5-48 48v80H416V256h32v96H640V272c0-26.5-21.5-48-48-48h-4.1c2.7-7.5 4.1-15.6 4.1-24c0-39.9-32.5-72-72.2-72c-22.4 0-43.6 10.4-57.3 28.2L432 195.8l-30.5-39.6c-13.7-17.8-35-28.2-57.3-28.2c-39.7 0-72.2 32.1-72.2 72zM224 464c0 26.5 21.5 48 48 48H416V384H224v80zm224 48H592c26.5 0 48-21.5 48-48V384H448V512zm96-312c0 13.3-10.7 24-24 24H470.9l29.6-38.5c4.6-5.9 11.7-9.5 19.3-9.5c13.4 0 24.2 10.9 24.2 24z"]
  117072. };
  117073. var faHotel = {
  117074. prefix: 'fas',
  117075. iconName: 'hotel',
  117076. icon: [512, 512, [127976], "f594", "M32 0C14.3 0 0 14.3 0 32S14.3 64 32 64V448c-17.7 0-32 14.3-32 32s14.3 32 32 32H208V448h96v64H480c17.7 0 32-14.3 32-32s-14.3-32-32-32V64c17.7 0 32-14.3 32-32s-14.3-32-32-32H32zm80 96h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H112c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16zm112 16c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H240c-8.8 0-16-7.2-16-16V112zM368 96h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H368c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16zM96 208c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H112c-8.8 0-16-7.2-16-16V208zm144-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H240c-8.8 0-16-7.2-16-16V208c0-8.8 7.2-16 16-16zm112 16c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H368c-8.8 0-16-7.2-16-16V208zm-3 152.2c3.3 12.8-7.8 23.8-21 23.8H184c-13.3 0-24.3-10.9-21-23.8c10.6-41.5 48.2-72.2 93-72.2s82.5 30.7 93 72.2z"]
  117077. };
  117078. var faEarthAsia = {
  117079. prefix: 'fas',
  117080. iconName: 'earth-asia',
  117081. icon: [512, 512, [127759, "globe-asia"], "f57e", "M51.7 295.1l31.7 6.3c7.9 1.6 16-.9 21.7-6.6l15.4-15.4c11.6-11.6 31.1-8.4 38.4 6.2l9.3 18.5c4.8 9.6 14.6 15.7 25.4 15.7c15.2 0 26.1-14.6 21.7-29.2l-6-19.9c-4.6-15.4 6.9-30.9 23-30.9h2.3c13.4 0 25.9-6.7 33.3-17.8l10.7-16.1c5.6-8.5 5.3-19.6-.8-27.7l-16.1-21.5c-10.3-13.7-3.3-33.5 13.4-37.7l17-4.3c7.5-1.9 13.6-7.2 16.5-14.4l16.4-40.9C303.4 52.1 280.2 48 256 48C141.1 48 48 141.1 48 256c0 13.4 1.3 26.5 3.7 39.1zm407.7 4.6c-3-.3-6-.1-9 .8l-15.8 4.4c-6.7 1.9-13.8-.9-17.5-6.7l-2-3.1c-6-9.4-16.4-15.1-27.6-15.1s-21.6 5.7-27.6 15.1l-6.1 9.5c-1.4 2.2-3.4 4.1-5.7 5.3L312 330.1c-18.1 10.1-25.5 32.4-17 51.3l5.5 12.4c8.6 19.2 30.7 28.5 50.5 21.1l2.6-1c10-3.7 21.3-2.2 29.9 4.1l1.5 1.1c37.2-29.5 64.1-71.4 74.4-119.5zM512 256c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM144.5 348.1c-2.1 8.6 3.1 17.3 11.6 19.4l32 8c8.6 2.1 17.3-3.1 19.4-11.6s-3.1-17.3-11.6-19.4l-32-8c-8.6-2.1-17.3 3.1-19.4 11.6zm92-20c-2.1 8.6 3.1 17.3 11.6 19.4s17.3-3.1 19.4-11.6l8-32c2.1-8.6-3.1-17.3-11.6-19.4s-17.3 3.1-19.4 11.6l-8 32zM343.2 113.7c-7.9-4-17.5-.7-21.5 7.2l-16 32c-4 7.9-.7 17.5 7.2 21.5s17.5 .7 21.5-7.2l16-32c4-7.9 .7-17.5-7.2-21.5z"]
  117082. };
  117083. var faGlobeAsia = faEarthAsia;
  117084. var faIdCardClip = {
  117085. prefix: 'fas',
  117086. iconName: 'id-card-clip',
  117087. icon: [576, 512, ["id-card-alt"], "f47f", "M256 0h64c17.7 0 32 14.3 32 32V96c0 17.7-14.3 32-32 32H256c-17.7 0-32-14.3-32-32V32c0-17.7 14.3-32 32-32zM64 64H192v48c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48V64H512c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128C0 92.7 28.7 64 64 64zM176 437.3c0 5.9 4.8 10.7 10.7 10.7H389.3c5.9 0 10.7-4.8 10.7-10.7c0-29.5-23.9-53.3-53.3-53.3H229.3c-29.5 0-53.3 23.9-53.3 53.3zM288 352c35.3 0 64-28.7 64-64s-28.7-64-64-64s-64 28.7-64 64s28.7 64 64 64z"]
  117088. };
  117089. var faIdCardAlt = faIdCardClip;
  117090. var faMagnifyingGlassPlus = {
  117091. prefix: 'fas',
  117092. iconName: 'magnifying-glass-plus',
  117093. icon: [512, 512, ["search-plus"], "f00e", "M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM184 296c0 13.3 10.7 24 24 24s24-10.7 24-24V232h64c13.3 0 24-10.7 24-24s-10.7-24-24-24H232V120c0-13.3-10.7-24-24-24s-24 10.7-24 24v64H120c-13.3 0-24 10.7-24 24s10.7 24 24 24h64v64z"]
  117094. };
  117095. var faSearchPlus = faMagnifyingGlassPlus;
  117096. var faThumbsUp = {
  117097. prefix: 'fas',
  117098. iconName: 'thumbs-up',
  117099. icon: [512, 512, [128077, 61575], "f164", "M313.4 32.9c26 5.2 42.9 30.5 37.7 56.5l-2.3 11.4c-5.3 26.7-15.1 52.1-28.8 75.2H464c26.5 0 48 21.5 48 48c0 25.3-19.5 46-44.3 47.9c7.7 8.5 12.3 19.8 12.3 32.1c0 23.4-16.8 42.9-38.9 47.1c4.4 7.2 6.9 15.8 6.9 24.9c0 21.3-13.9 39.4-33.1 45.6c.7 3.3 1.1 6.8 1.1 10.4c0 26.5-21.5 48-48 48H294.5c-19 0-37.5-5.6-53.3-16.1l-38.5-25.7C176 420.4 160 390.4 160 358.3V320 272 247.1c0-29.2 13.3-56.7 36-75l7.4-5.9c26.5-21.2 44.6-51 51.2-84.2l2.3-11.4c5.2-26 30.5-42.9 56.5-37.7zM32 192H96c17.7 0 32 14.3 32 32V448c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32V224c0-17.7 14.3-32 32-32z"]
  117100. };
  117101. var faUserClock = {
  117102. prefix: 'fas',
  117103. iconName: 'user-clock',
  117104. icon: [640, 512, [], "f4fd", "M224 256c-70.7 0-128-57.3-128-128S153.3 0 224 0s128 57.3 128 128s-57.3 128-128 128zm-45.7 48h91.4c20.6 0 40.4 3.5 58.8 9.9C323 331 320 349.1 320 368c0 59.5 29.5 112.1 74.8 144H29.7C13.3 512 0 498.7 0 482.3C0 383.8 79.8 304 178.3 304zM640 368c0 79.5-64.5 144-144 144s-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144zM496 288c-8.8 0-16 7.2-16 16v64c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16s-7.2-16-16-16H512V304c0-8.8-7.2-16-16-16z"]
  117105. };
  117106. var faHandDots = {
  117107. prefix: 'fas',
  117108. iconName: 'hand-dots',
  117109. icon: [512, 512, ["allergies"], "f461", "M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V240c0 8.8-7.2 16-16 16s-16-7.2-16-16V64c0-17.7-14.3-32-32-32s-32 14.3-32 32V336c0 1.5 0 3.1 .1 4.6L67.6 283c-16-15.2-41.3-14.6-56.6 1.4s-14.6 41.3 1.4 56.6L124.8 448c43.1 41.1 100.4 64 160 64H304c97.2 0 176-78.8 176-176V128c0-17.7-14.3-32-32-32s-32 14.3-32 32V240c0 8.8-7.2 16-16 16s-16-7.2-16-16V64c0-17.7-14.3-32-32-32s-32 14.3-32 32V240c0 8.8-7.2 16-16 16s-16-7.2-16-16V32zM272 336c0 8.8-7.2 16-16 16s-16-7.2-16-16s7.2-16 16-16s16 7.2 16 16zm48 48c-8.8 0-16-7.2-16-16s7.2-16 16-16s16 7.2 16 16s-7.2 16-16 16zm80-48c0 8.8-7.2 16-16 16s-16-7.2-16-16s7.2-16 16-16s16 7.2 16 16zM352 448c-8.8 0-16-7.2-16-16s7.2-16 16-16s16 7.2 16 16s-7.2 16-16 16zm-80-16c0 8.8-7.2 16-16 16s-16-7.2-16-16s7.2-16 16-16s16 7.2 16 16zm-80-16c-8.8 0-16-7.2-16-16s7.2-16 16-16s16 7.2 16 16s-7.2 16-16 16z"]
  117110. };
  117111. var faAllergies = faHandDots;
  117112. var faFileInvoice = {
  117113. prefix: 'fas',
  117114. iconName: 'file-invoice',
  117115. icon: [384, 512, [], "f570", "M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM80 64h64c8.8 0 16 7.2 16 16s-7.2 16-16 16H80c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64h64c8.8 0 16 7.2 16 16s-7.2 16-16 16H80c-8.8 0-16-7.2-16-16s7.2-16 16-16zm16 96H288c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V256c0-17.7 14.3-32 32-32zm0 32v64H288V256H96zM240 416h64c8.8 0 16 7.2 16 16s-7.2 16-16 16H240c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]
  117116. };
  117117. var faWindowMinimize = {
  117118. prefix: 'fas',
  117119. iconName: 'window-minimize',
  117120. icon: [512, 512, [128469], "f2d1", "M32 416c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H32z"]
  117121. };
  117122. var faMugSaucer = {
  117123. prefix: 'fas',
  117124. iconName: 'mug-saucer',
  117125. icon: [640, 512, ["coffee"], "f0f4", "M96 64c0-17.7 14.3-32 32-32H448h64c70.7 0 128 57.3 128 128s-57.3 128-128 128H480c0 53-43 96-96 96H192c-53 0-96-43-96-96V64zM480 224h32c35.3 0 64-28.7 64-64s-28.7-64-64-64H480V224zM32 416H544c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]
  117126. };
  117127. var faCoffee = faMugSaucer;
  117128. var faBrush = {
  117129. prefix: 'fas',
  117130. iconName: 'brush',
  117131. icon: [384, 512, [], "f55d", "M192 64L160 0H128L96 64 64 0H48C21.5 0 0 21.5 0 48V256H384V48c0-26.5-21.5-48-48-48H224L192 64zM0 288v32c0 35.3 28.7 64 64 64h64v64c0 35.3 28.7 64 64 64s64-28.7 64-64V384h64c35.3 0 64-28.7 64-64V288H0zM192 464c-8.8 0-16-7.2-16-16s7.2-16 16-16s16 7.2 16 16s-7.2 16-16 16z"]
  117132. };
  117133. var faMask = {
  117134. prefix: 'fas',
  117135. iconName: 'mask',
  117136. icon: [576, 512, [], "f6fa", "M288 64C64 64 0 160 0 272S80 448 176 448h8.4c24.2 0 46.4-13.7 57.2-35.4l23.2-46.3c4.4-8.8 13.3-14.3 23.2-14.3s18.8 5.5 23.2 14.3l23.2 46.3c10.8 21.7 33 35.4 57.2 35.4H400c96 0 176-64 176-176s-64-208-288-208zM224 256c0 35.3-28.7 64-64 64s-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64zm192 64c-35.3 0-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64s-28.7 64-64 64z"]
  117137. };
  117138. var faMagnifyingGlassMinus = {
  117139. prefix: 'fas',
  117140. iconName: 'magnifying-glass-minus',
  117141. icon: [512, 512, ["search-minus"], "f010", "M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM136 184c-13.3 0-24 10.7-24 24s10.7 24 24 24H280c13.3 0 24-10.7 24-24s-10.7-24-24-24H136z"]
  117142. };
  117143. var faSearchMinus = faMagnifyingGlassMinus;
  117144. var faRulerVertical = {
  117145. prefix: 'fas',
  117146. iconName: 'ruler-vertical',
  117147. icon: [256, 512, [], "f548", "M0 48C0 21.5 21.5 0 48 0H208c26.5 0 48 21.5 48 48V96H176c-8.8 0-16 7.2-16 16s7.2 16 16 16h80v64H176c-8.8 0-16 7.2-16 16s7.2 16 16 16h80v64H176c-8.8 0-16 7.2-16 16s7.2 16 16 16h80v64H176c-8.8 0-16 7.2-16 16s7.2 16 16 16h80v48c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V48z"]
  117148. };
  117149. var faUserLarge = {
  117150. prefix: 'fas',
  117151. iconName: 'user-large',
  117152. icon: [512, 512, ["user-alt"], "f406", "M256 288c79.5 0 144-64.5 144-144S335.5 0 256 0S112 64.5 112 144s64.5 144 144 144zm-94.7 32C72.2 320 0 392.2 0 481.3c0 17 13.8 30.7 30.7 30.7H481.3c17 0 30.7-13.8 30.7-30.7C512 392.2 439.8 320 350.7 320H161.3z"]
  117153. };
  117154. var faUserAlt = faUserLarge;
  117155. var faTrainTram = {
  117156. prefix: 'fas',
  117157. iconName: 'train-tram',
  117158. icon: [448, 512, [128650], "e5b4", "M86.8 48c-12.2 0-23.6 5.5-31.2 15L42.7 79C34.5 89.3 19.4 91 9 82.7S-3 59.4 5.3 49L18 33C34.7 12.2 60 0 86.8 0H361.2c26.7 0 52 12.2 68.7 33l12.8 16c8.3 10.4 6.6 25.5-3.7 33.7s-25.5 6.6-33.7-3.7L392.5 63c-7.6-9.5-19.1-15-31.2-15H248V96h40c53 0 96 43 96 96V352c0 30.6-14.3 57.8-36.6 75.4l65.5 65.5c7.1 7.1 2.1 19.1-7.9 19.1H365.3c-8.5 0-16.6-3.4-22.6-9.4L288 448H160l-54.6 54.6c-6 6-14.1 9.4-22.6 9.4H43c-10 0-15-12.1-7.9-19.1l65.5-65.5C78.3 409.8 64 382.6 64 352V192c0-53 43-96 96-96h40V48H86.8zM160 160c-17.7 0-32 14.3-32 32v32c0 17.7 14.3 32 32 32H288c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32H160zm32 192c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zm96 32c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32z"]
  117159. };
  117160. var faUserNurse = {
  117161. prefix: 'fas',
  117162. iconName: 'user-nurse',
  117163. icon: [448, 512, [], "f82f", "M96 128V70.2c0-13.3 8.3-25.3 20.8-30l96-36c7.2-2.7 15.2-2.7 22.5 0l96 36c12.5 4.7 20.8 16.6 20.8 30V128h-.3c.2 2.6 .3 5.3 .3 8v40c0 70.7-57.3 128-128 128s-128-57.3-128-128V136c0-2.7 .1-5.4 .3-8H96zm48 48c0 44.2 35.8 80 80 80s80-35.8 80-80V160H144v16zM129.1 323.2l83.2 88.4c6.3 6.7 17 6.7 23.3 0l83.2-88.4c73.7 14.9 129.1 80 129.1 158.1c0 17-13.8 30.7-30.7 30.7H30.7C13.8 512 0 498.2 0 481.3c0-78.1 55.5-143.2 129.1-158.1zM208 48V64H192c-4.4 0-8 3.6-8 8V88c0 4.4 3.6 8 8 8h16v16c0 4.4 3.6 8 8 8h16c4.4 0 8-3.6 8-8V96h16c4.4 0 8-3.6 8-8V72c0-4.4-3.6-8-8-8H240V48c0-4.4-3.6-8-8-8H216c-4.4 0-8 3.6-8 8z"]
  117164. };
  117165. var faSyringe = {
  117166. prefix: 'fas',
  117167. iconName: 'syringe',
  117168. icon: [512, 512, [128137], "f48e", "M441 7l32 32 32 32c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-15-15L417.9 128l55 55c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-72-72L295 73c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l55 55L422.1 56 407 41c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0zM210.3 155.7l61.1-61.1c.3 .3 .6 .7 1 1l16 16 56 56 56 56 16 16c.3 .3 .6 .6 1 1l-191 191c-10.5 10.5-24.7 16.4-39.6 16.4H97.9L41 505c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l57-57V325.3c0-14.9 5.9-29.1 16.4-39.6l43.3-43.3 57 57c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-57-57 41.4-41.4 57 57c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-57-57z"]
  117169. };
  117170. var faCloudSun = {
  117171. prefix: 'fas',
  117172. iconName: 'cloud-sun',
  117173. icon: [640, 512, [9925], "f6c4", "M122.4 1.2C127.6-.9 133.4-.2 137.9 3l70.3 50.3L278.5 3c4.5-3.2 10.3-3.9 15.4-1.8s8.8 6.7 9.7 12.2l14.1 85.3L403 112.8c5.4 .9 10.1 4.6 12.2 9.7s1.4 10.9-1.8 15.4l-38.8 54.3c-2.2-.1-4.3-.2-6.5-.2c-23.2 0-45 6.2-63.8 17c.1-12.5-2.2-25.3-7.3-37.6c-20.3-49-76.4-72.2-125.4-52s-72.2 76.4-52 125.4c18.3 44.3 66 67.5 111.1 56.6c-36.3 18.2-62.8 53.3-69.1 94.9l-23.6 16.9c-4.5 3.2-10.3 3.9-15.4 1.8s-8.8-6.7-9.7-12.2L98.7 317.7 13.4 303.6c-5.5-.9-10.1-4.6-12.2-9.7S-.2 282.9 3 278.5l50.3-70.3L3 137.9c-3.2-4.5-3.9-10.3-1.8-15.4s6.7-8.8 12.2-9.7L98.7 98.7l14.1-85.3c.9-5.5 4.6-10.1 9.7-12.2zM149 232.7c-13.5-32.7 2-70.1 34.6-83.6s70.1 2 83.6 34.6s-2 70.1-34.6 83.6s-70.1-2-83.6-34.6zM639.9 431.9c0 44.2-35.8 80-80 80H288c-53 0-96-43-96-96c0-47.6 34.6-87 80-94.6l0-1.3c0-53 43-96 96-96c34.9 0 65.4 18.6 82.2 46.4c13-9.1 28.8-14.4 45.8-14.4c44.2 0 80 35.8 80 80c0 5.9-.6 11.7-1.9 17.2c37.4 6.7 65.8 39.4 65.8 78.7z"]
  117174. };
  117175. var faStopwatch20 = {
  117176. prefix: 'fas',
  117177. iconName: 'stopwatch-20',
  117178. icon: [448, 512, [], "e06f", "M176 0c-17.7 0-32 14.3-32 32s14.3 32 32 32h16V98.4C92.3 113.8 16 200 16 304c0 114.9 93.1 208 208 208s208-93.1 208-208c0-41.8-12.3-80.7-33.5-113.2l24.1-24.1c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L355.7 143c-28.1-23-62.2-38.8-99.7-44.6V64h16c17.7 0 32-14.3 32-32s-14.3-32-32-32H176zM288 204c28.7 0 52 23.3 52 52v96c0 28.7-23.3 52-52 52s-52-23.3-52-52V256c0-28.7 23.3-52 52-52zm-12 52v96c0 6.6 5.4 12 12 12s12-5.4 12-12V256c0-6.6-5.4-12-12-12s-12 5.4-12 12zM159.5 244c-5.4 0-10.2 3.5-11.9 8.6l-.6 1.7c-3.5 10.5-14.8 16.1-25.3 12.6s-16.1-14.8-12.6-25.3l.6-1.7c7.2-21.5 27.2-35.9 49.8-35.9c29 0 52.5 23.5 52.5 52.5v2.2c0 13.4-4.9 26.4-13.8 36.4l-39 43.9c-6.2 7-10 15.7-10.9 24.9H192c11 0 20 9 20 20s-9 20-20 20H128c-11 0-20-9-20-20V368.3c0-20.6 7.5-40.4 21.2-55.8l39-43.9c2.4-2.7 3.7-6.2 3.7-9.8v-2.2c0-6.9-5.6-12.5-12.5-12.5z"]
  117179. };
  117180. var faSquareFull = {
  117181. prefix: 'fas',
  117182. iconName: 'square-full',
  117183. icon: [512, 512, [128997, 128998, 128999, 129000, 129001, 129002, 129003, 11035, 11036], "f45c", "M0 0H512V512H0V0z"]
  117184. };
  117185. var faMagnet = {
  117186. prefix: 'fas',
  117187. iconName: 'magnet',
  117188. icon: [448, 512, [129522], "f076", "M0 160v96C0 379.7 100.3 480 224 480s224-100.3 224-224V160H320v96c0 53-43 96-96 96s-96-43-96-96V160H0zm0-32H128V64c0-17.7-14.3-32-32-32H32C14.3 32 0 46.3 0 64v64zm320 0H448V64c0-17.7-14.3-32-32-32H352c-17.7 0-32 14.3-32 32v64z"]
  117189. };
  117190. var faJar = {
  117191. prefix: 'fas',
  117192. iconName: 'jar',
  117193. icon: [320, 512, [], "e516", "M32 32C32 14.3 46.3 0 64 0H256c17.7 0 32 14.3 32 32s-14.3 32-32 32H64C46.3 64 32 49.7 32 32zM0 160c0-35.3 28.7-64 64-64H256c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V160zm96 64c-17.7 0-32 14.3-32 32v96c0 17.7 14.3 32 32 32H224c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32H96z"]
  117194. };
  117195. var faNoteSticky = {
  117196. prefix: 'fas',
  117197. iconName: 'note-sticky',
  117198. icon: [448, 512, [62026, "sticky-note"], "f249", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H290.7c17 0 33.3-6.7 45.3-18.7L429.3 368c12-12 18.7-28.3 18.7-45.3V96c0-35.3-28.7-64-64-64H64zm0 64H384V320H320c-17.7 0-32 14.3-32 32v64H64V96z"]
  117199. };
  117200. var faStickyNote = faNoteSticky;
  117201. var faBugSlash = {
  117202. prefix: 'fas',
  117203. iconName: 'bug-slash',
  117204. icon: [640, 512, [], "e490", "M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L477.4 348.9c1.7-9.4 2.6-19 2.6-28.9h64c17.7 0 32-14.3 32-32s-14.3-32-32-32H479.7c-1.1-14.1-5-27.5-11.1-39.5c.7-.6 1.4-1.2 2.1-1.9l64-64c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-64 64c-.7 .7-1.3 1.4-1.9 2.1C409.2 164.1 393.1 160 376 160H264c-8.3 0-16.3 1-24 2.8L38.8 5.1zM320 0c-53 0-96 43-96 96v3.6c0 15.7 12.7 28.4 28.4 28.4H387.6c15.7 0 28.4-12.7 28.4-28.4V96c0-53-43-96-96-96zM160.3 256H96c-17.7 0-32 14.3-32 32s14.3 32 32 32h64c0 24.6 5.5 47.8 15.4 68.6c-2.2 1.3-4.2 2.9-6 4.8l-64 64c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l63.1-63.1c24.5 21.8 55.8 36.2 90.3 39.6V335.5L166.7 227.3c-3.4 9-5.6 18.7-6.4 28.7zM336 479.2c36.6-3.6 69.7-19.6 94.8-43.8L336 360.7V479.2z"]
  117205. };
  117206. var faArrowUpFromWaterPump = {
  117207. prefix: 'fas',
  117208. iconName: 'arrow-up-from-water-pump',
  117209. icon: [576, 512, [], "e4b6", "M112 0C85.5 0 64 21.5 64 48V256H48c-26.5 0-48 21.5-48 48v96c0 8 2 15.6 5.4 22.2c3.8-1.7 7.8-3.1 12-4.1c13.1-3.1 26.7-9.8 37.3-18.6c22.2-18.7 54.3-20.1 78.1-3.4c18 12.4 40.1 20.3 59.2 20.3c21.1 0 42-8.5 59.2-20.3c22.1-15.5 51.6-15.5 73.7 0c18.4 12.7 39.6 20.3 59.2 20.3c19 0 41.2-7.9 59.2-20.3c23.8-16.7 55.8-15.3 78.1 3.4c10.6 8.8 24.2 15.6 37.3 18.6c4.2 1 8.2 2.4 12 4.1C574 415.6 576 408 576 400V304c0-26.5-21.5-48-48-48H480l0-146.7 25.4 25.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-80-80c-12.5-12.5-32.8-12.5-45.3 0l-80 80c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L416 109.3 416 256H288V48c0-26.5-21.5-48-48-48H112zM306.5 421.9c-11.1-7.9-25.9-7.9-37 0C247 437.4 219.5 448 192 448c-26.9 0-55.3-10.8-77.4-26.1l0 0c-11.9-8.5-28.1-7.8-39.2 1.7c-14.4 11.9-32.5 21-50.6 25.2c-17.2 4-27.9 21.2-23.9 38.4s21.2 27.9 38.4 23.9c24.5-5.7 44.9-16.5 58.2-25C126.5 501.7 159 512 192 512c31.9 0 60.6-9.9 80.4-18.9c5.8-2.7 11.1-5.3 15.6-7.7c4.5 2.4 9.7 5.1 15.6 7.7c19.8 9 48.6 18.9 80.4 18.9c33 0 65.5-10.3 94.5-25.8c13.4 8.4 33.7 19.3 58.2 25c17.2 4 34.4-6.7 38.4-23.9s-6.7-34.4-23.9-38.4c-18.1-4.2-36.2-13.3-50.6-25.2c-11.1-9.4-27.3-10.1-39.2-1.7l0 0C439.4 437.2 410.9 448 384 448c-27.5 0-55-10.6-77.5-26.1z"]
  117210. };
  117211. var faBone = {
  117212. prefix: 'fas',
  117213. iconName: 'bone',
  117214. icon: [576, 512, [129460], "f5d7", "M153.7 144.8c6.9 16.3 20.6 31.2 38.3 31.2H384c17.7 0 31.4-14.9 38.3-31.2C434.4 116.1 462.9 96 496 96c44.2 0 80 35.8 80 80c0 30.4-17 56.9-42 70.4c-3.6 1.9-6 5.5-6 9.6s2.4 7.7 6 9.6c25 13.5 42 40 42 70.4c0 44.2-35.8 80-80 80c-33.1 0-61.6-20.1-73.7-48.8C415.4 350.9 401.7 336 384 336H192c-17.7 0-31.4 14.9-38.3 31.2C141.6 395.9 113.1 416 80 416c-44.2 0-80-35.8-80-80c0-30.4 17-56.9 42-70.4c3.6-1.9 6-5.5 6-9.6s-2.4-7.7-6-9.6C17 232.9 0 206.4 0 176c0-44.2 35.8-80 80-80c33.1 0 61.6 20.1 73.7 48.8z"]
  117215. };
  117216. var faUserInjured = {
  117217. prefix: 'fas',
  117218. iconName: 'user-injured',
  117219. icon: [448, 512, [], "f728", "M240 80H342.7c-7.9-19.5-20.4-36.5-36.2-49.9L240 80zm37.7-68.2C261.3 4.2 243.2 0 224 0c-53.7 0-99.7 33.1-118.7 80h81.4l91-68.2zM224 256c70.7 0 128-57.3 128-128c0-5.4-.3-10.8-1-16H97c-.7 5.2-1 10.6-1 16c0 70.7 57.3 128 128 128zM124 312.4c-9.7 3.1-19.1 7-28 11.7V512H243.7L181.5 408.2 124 312.4zm33-7.2L204.3 384H272c44.2 0 80 35.8 80 80c0 18-6 34.6-16 48h82.3c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304H178.3c-7.2 0-14.3 .4-21.3 1.3zM0 482.3C0 498.7 13.3 512 29.7 512H64V345.4C24.9 378.1 0 427.3 0 482.3zM320 464c0-26.5-21.5-48-48-48H223.5l57.1 95.2C303 507.2 320 487.6 320 464z"]
  117220. };
  117221. var faFaceSadTear = {
  117222. prefix: 'fas',
  117223. iconName: 'face-sad-tear',
  117224. icon: [512, 512, [128546, "sad-tear"], "f5b4", "M0 256C0 397.4 114.6 512 256 512s256-114.6 256-256S397.4 0 256 0S0 114.6 0 256zm240 80c0-8.8 7.2-16 16-16c45 0 85.6 20.5 115.7 53.1c6 6.5 5.6 16.6-.9 22.6s-16.6 5.6-22.6-.9c-25-27.1-57.4-42.9-92.3-42.9c-8.8 0-16-7.2-16-16zm-80 80c-26.5 0-48-21-48-47c0-20 28.6-60.4 41.6-77.7c3.2-4.4 9.6-4.4 12.8 0C179.6 308.6 208 349 208 369c0 26-21.5 47-48 47zM303.6 208c0-17.7 14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32s-32-14.3-32-32zm-128 32c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]
  117225. };
  117226. var faSadTear = faFaceSadTear;
  117227. var faPlane = {
  117228. prefix: 'fas',
  117229. iconName: 'plane',
  117230. icon: [576, 512, [], "f072", "M482.3 192c34.2 0 93.7 29 93.7 64c0 36-59.5 64-93.7 64l-116.6 0L265.2 495.9c-5.7 10-16.3 16.1-27.8 16.1l-56.2 0c-10.6 0-18.3-10.2-15.4-20.4l49-171.6L112 320 68.8 377.6c-3 4-7.8 6.4-12.8 6.4l-42 0c-7.8 0-14-6.3-14-14c0-1.3 .2-2.6 .5-3.9L32 256 .5 145.9c-.4-1.3-.5-2.6-.5-3.9c0-7.8 6.3-14 14-14l42 0c5 0 9.8 2.4 12.8 6.4L112 192l102.9 0-49-171.6C162.9 10.2 170.6 0 181.2 0l56.2 0c11.5 0 22.1 6.2 27.8 16.1L365.7 192l116.6 0z"]
  117231. };
  117232. var faTentArrowsDown = {
  117233. prefix: 'fas',
  117234. iconName: 'tent-arrows-down',
  117235. icon: [576, 512, [], "e581", "M209.8 111.9c-8.9-9.9-24-10.7-33.9-1.8l-39.9 36L136 24c0-13.3-10.7-24-24-24S88 10.7 88 24l0 122.1-39.9-36c-9.9-8.9-25-8.1-33.9 1.8s-8.1 25 1.8 33.9l80 72c9.1 8.2 23 8.2 32.1 0l80-72c9.9-8.9 10.7-24 1.8-33.9zm352 0c-8.9-9.9-24-10.7-33.9-1.8l-39.9 36V24c0-13.3-10.7-24-24-24s-24 10.7-24 24V146.1l-39.9-36c-9.9-8.9-25-8.1-33.9 1.8s-8.1 25 1.8 33.9l80 72c9.1 8.2 23 8.2 32.1 0l80-72c9.9-8.9 10.7-24 1.8-33.9zM307.4 166.5c-11.5-8.7-27.3-8.7-38.8 0l-168 128c-6.6 5-11 12.5-12.3 20.7l-24 160c-1.4 9.2 1.3 18.6 7.4 25.6S86.7 512 96 512H288V352l96 160h96c9.3 0 18.2-4.1 24.2-11.1s8.8-16.4 7.4-25.6l-24-160c-1.2-8.2-5.6-15.7-12.3-20.7l-168-128z"]
  117236. };
  117237. var faExclamation = {
  117238. prefix: 'fas',
  117239. iconName: 'exclamation',
  117240. icon: [128, 512, [10069, 10071, 61738], "21", "M96 64c0-17.7-14.3-32-32-32S32 46.3 32 64V320c0 17.7 14.3 32 32 32s32-14.3 32-32V64zM64 480c22.1 0 40-17.9 40-40s-17.9-40-40-40s-40 17.9-40 40s17.9 40 40 40z"]
  117241. };
  117242. var faArrowsSpin = {
  117243. prefix: 'fas',
  117244. iconName: 'arrows-spin',
  117245. icon: [448, 512, [], "e4bb", "M224 96c38.4 0 73.7 13.5 101.3 36.1l-32.6 32.6c-4.6 4.6-5.9 11.5-3.5 17.4s8.3 9.9 14.8 9.9H416c8.8 0 16-7.2 16-16V64c0-6.5-3.9-12.3-9.9-14.8s-12.9-1.1-17.4 3.5l-34 34C331.4 52.6 280.1 32 224 32c-10.9 0-21.5 .8-32 2.3V99.2c10.3-2.1 21-3.2 32-3.2zM100.1 154.7l32.6 32.6c4.6 4.6 11.5 5.9 17.4 3.5s9.9-8.3 9.9-14.8V64c0-8.8-7.2-16-16-16H32c-6.5 0-12.3 3.9-14.8 9.9s-1.1 12.9 3.5 17.4l34 34C20.6 148.6 0 199.9 0 256c0 10.9 .8 21.5 2.3 32H67.2c-2.1-10.3-3.2-21-3.2-32c0-38.4 13.5-73.7 36.1-101.3zM445.7 224H380.8c2.1 10.3 3.2 21 3.2 32c0 38.4-13.5 73.7-36.1 101.3l-32.6-32.6c-4.6-4.6-11.5-5.9-17.4-3.5s-9.9 8.3-9.9 14.8V448c0 8.8 7.2 16 16 16H416c6.5 0 12.3-3.9 14.8-9.9s1.1-12.9-3.5-17.4l-34-34C427.4 363.4 448 312.1 448 256c0-10.9-.8-21.5-2.3-32zM224 416c-38.4 0-73.7-13.5-101.3-36.1l32.6-32.6c4.6-4.6 5.9-11.5 3.5-17.4s-8.3-9.9-14.8-9.9H32c-8.8 0-16 7.2-16 16l0 112c0 6.5 3.9 12.3 9.9 14.8s12.9 1.1 17.4-3.5l34-34C116.6 459.4 167.9 480 224 480c10.9 0 21.5-.8 32-2.3V412.8c-10.3 2.1-21 3.2-32 3.2z"]
  117246. };
  117247. var faPrint = {
  117248. prefix: 'fas',
  117249. iconName: 'print',
  117250. icon: [512, 512, [128424, 128438, 9113], "f02f", "M128 0C92.7 0 64 28.7 64 64v96h64V64H354.7L384 93.3V160h64V93.3c0-17-6.7-33.3-18.7-45.3L400 18.7C388 6.7 371.7 0 354.7 0H128zM384 352v32 64H128V384 368 352H384zm64 32h32c17.7 0 32-14.3 32-32V256c0-35.3-28.7-64-64-64H64c-35.3 0-64 28.7-64 64v96c0 17.7 14.3 32 32 32H64v64c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V384zm-16-88c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24z"]
  117251. };
  117252. var faTurkishLiraSign = {
  117253. prefix: 'fas',
  117254. iconName: 'turkish-lira-sign',
  117255. icon: [448, 512, ["try", "turkish-lira"], "e2bb", "M128 32c17.7 0 32 14.3 32 32V99.3L279.2 65.2c17-4.9 34.7 5 39.6 22s-5 34.7-22 39.6L160 165.9v29.4l119.2-34.1c17-4.9 34.7 5 39.6 22s-5 34.7-22 39.6L160 261.9V416h63.8c68.2 0 124.4-53.5 127.8-121.6l.4-8c.9-17.7 15.9-31.2 33.6-30.4s31.2 15.9 30.4 33.6l-.4 8C410.5 399.8 326.1 480 223.8 480H128c-17.7 0-32-14.3-32-32V280.1l-23.2 6.6c-17 4.9-34.7-5-39.6-22s5-34.7 22-39.6L96 213.6V184.1l-23.2 6.6c-17 4.9-34.7-5-39.6-22s5-34.7 22-39.6L96 117.6V64c0-17.7 14.3-32 32-32z"]
  117256. };
  117257. var faTry = faTurkishLiraSign;
  117258. var faTurkishLira = faTurkishLiraSign;
  117259. var faDollarSign = {
  117260. prefix: 'fas',
  117261. iconName: 'dollar-sign',
  117262. icon: [320, 512, [128178, 61781, "dollar", "usd"], "24", "M160 0c17.7 0 32 14.3 32 32V67.7c1.6 .2 3.1 .4 4.7 .7c10.6 1.6 42.1 6.7 55.1 10c17.1 4.3 27.5 21.7 23.2 38.9s-21.7 27.5-38.9 23.2c-9.3-2.4-37.6-7-48.9-8.7c-32.1-4.8-59.6-2.4-78.5 4.9c-18.3 7-25.9 16.9-27.9 28c-1.9 10.7-.5 16.8 1.3 20.6c1.9 4 5.6 8.5 12.9 13.4c16.2 10.8 41.1 17.9 73.3 26.7l2.8 .8c28.4 7.7 63.2 17.2 89 34.3c14.1 9.4 27.3 22.1 35.5 39.7c8.3 17.8 10.1 37.8 6.3 59.1c-6.9 38-33.1 63.4-65.6 76.7c-13.7 5.6-28.6 9.2-44.4 11V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V445.1c-.4-.1-.9-.1-1.3-.2l-.2 0 0 0c-24.4-3.8-64.5-14.3-91.5-26.3c-16.2-7.2-23.4-26.1-16.2-42.2s26.1-23.4 42.2-16.2c20.9 9.3 55.3 18.4 75.2 21.6c31.9 4.7 58.2 2 76-5.3c16.9-6.9 24.6-16.9 26.8-28.9c1.9-10.7 .5-16.8-1.3-20.6c-1.9-4-5.6-8.5-12.9-13.4c-16.2-10.8-41.1-17.9-73.3-26.7l-2.8-.8c-28.4-7.7-63.2-17.2-89-34.3c-14.1-9.4-27.3-22.1-35.5-39.7c-8.3-17.8-10.1-37.8-6.3-59.1C25 114.1 53 89.3 86 76.7c13-5 27.2-8.2 42-10V32c0-17.7 14.3-32 32-32z"]
  117263. };
  117264. var faDollar = faDollarSign;
  117265. var faUsd = faDollarSign;
  117266. var faX = {
  117267. prefix: 'fas',
  117268. iconName: 'x',
  117269. icon: [384, 512, [120], "58", "M376.6 84.5c11.3-13.6 9.5-33.8-4.1-45.1s-33.8-9.5-45.1 4.1L192 206 56.6 43.5C45.3 29.9 25.1 28.1 11.5 39.4S-3.9 70.9 7.4 84.5L150.3 256 7.4 427.5c-11.3 13.6-9.5 33.8 4.1 45.1s33.8 9.5 45.1-4.1L192 306 327.4 468.5c11.3 13.6 31.5 15.4 45.1 4.1s15.4-31.5 4.1-45.1L233.7 256 376.6 84.5z"]
  117270. };
  117271. var faMagnifyingGlassDollar = {
  117272. prefix: 'fas',
  117273. iconName: 'magnifying-glass-dollar',
  117274. icon: [512, 512, ["search-dollar"], "f688", "M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM228 104c0-11-9-20-20-20s-20 9-20 20v14c-7.6 1.7-15.2 4.4-22.2 8.5c-13.9 8.3-25.9 22.8-25.8 43.9c.1 20.3 12 33.1 24.7 40.7c11 6.6 24.7 10.8 35.6 14l1.7 .5c12.6 3.8 21.8 6.8 28 10.7c5.1 3.2 5.8 5.4 5.9 8.2c.1 5-1.8 8-5.9 10.5c-5 3.1-12.9 5-21.4 4.7c-11.1-.4-21.5-3.9-35.1-8.5c-2.3-.8-4.7-1.6-7.2-2.4c-10.5-3.5-21.8 2.2-25.3 12.6s2.2 21.8 12.6 25.3c1.9 .6 4 1.3 6.1 2.1l0 0 0 0c8.3 2.9 17.9 6.2 28.2 8.4V312c0 11 9 20 20 20s20-9 20-20V298.2c8-1.7 16-4.5 23.2-9c14.3-8.9 25.1-24.1 24.8-45c-.3-20.3-11.7-33.4-24.6-41.6c-11.5-7.2-25.9-11.6-37.1-15l-.7-.2c-12.8-3.9-21.9-6.7-28.3-10.5c-5.2-3.1-5.3-4.9-5.3-6.7c0-3.7 1.4-6.5 6.2-9.3c5.4-3.2 13.6-5.1 21.5-5c9.6 .1 20.2 2.2 31.2 5.2c10.7 2.8 21.6-3.5 24.5-14.2s-3.5-21.6-14.2-24.5c-6.5-1.7-13.7-3.4-21.1-4.7V104z"]
  117275. };
  117276. var faSearchDollar = faMagnifyingGlassDollar;
  117277. var faUsersGear = {
  117278. prefix: 'fas',
  117279. iconName: 'users-gear',
  117280. icon: [640, 512, ["users-cog"], "f509", "M144 160c44.2 0 80-35.8 80-80s-35.8-80-80-80S64 35.8 64 80s35.8 80 80 80zm368 0c44.2 0 80-35.8 80-80s-35.8-80-80-80s-80 35.8-80 80s35.8 80 80 80zM0 298.7C0 310.4 9.6 320 21.3 320H234.7c.2 0 .4 0 .7 0c-26.6-23.5-43.3-57.8-43.3-96c0-7.6 .7-15 1.9-22.3c-13.6-6.3-28.7-9.7-44.6-9.7H106.7C47.8 192 0 239.8 0 298.7zM320 320c24 0 45.9-8.8 62.7-23.3c2.5-3.7 5.2-7.3 8-10.7c2.7-3.3 5.7-6.1 9-8.3C410 262.3 416 243.9 416 224c0-53-43-96-96-96s-96 43-96 96s43 96 96 96zm65.4 60.2c-10.3-5.9-18.1-16.2-20.8-28.2H261.3C187.7 352 128 411.7 128 485.3c0 14.7 11.9 26.7 26.7 26.7H455.2c-2.1-5.2-3.2-10.9-3.2-16.4v-3c-1.3-.7-2.7-1.5-4-2.3l-2.6 1.5c-16.8 9.7-40.5 8-54.7-9.7c-4.5-5.6-8.6-11.5-12.4-17.6l-.1-.2-.1-.2-2.4-4.1-.1-.2-.1-.2c-3.4-6.2-6.4-12.6-9-19.3c-8.2-21.2 2.2-42.6 19-52.3l2.7-1.5c0-.8 0-1.5 0-2.3s0-1.5 0-2.3l-2.7-1.5zM533.3 192H490.7c-15.9 0-31 3.5-44.6 9.7c1.3 7.2 1.9 14.7 1.9 22.3c0 17.4-3.5 33.9-9.7 49c2.5 .9 4.9 2 7.1 3.3l2.6 1.5c1.3-.8 2.6-1.6 4-2.3v-3c0-19.4 13.3-39.1 35.8-42.6c7.9-1.2 16-1.9 24.2-1.9s16.3 .6 24.2 1.9c22.5 3.5 35.8 23.2 35.8 42.6v3c1.3 .7 2.7 1.5 4 2.3l2.6-1.5c16.8-9.7 40.5-8 54.7 9.7c2.3 2.8 4.5 5.8 6.6 8.7c-2.1-57.1-49-102.7-106.6-102.7zm91.3 163.9c6.3-3.6 9.5-11.1 6.8-18c-2.1-5.5-4.6-10.8-7.4-15.9l-2.3-4c-3.1-5.1-6.5-9.9-10.2-14.5c-4.6-5.7-12.7-6.7-19-3L574.4 311c-8.9-7.6-19.1-13.6-30.4-17.6v-21c0-7.3-4.9-13.8-12.1-14.9c-6.5-1-13.1-1.5-19.9-1.5s-13.4 .5-19.9 1.5c-7.2 1.1-12.1 7.6-12.1 14.9v21c-11.2 4-21.5 10-30.4 17.6l-18.2-10.5c-6.3-3.6-14.4-2.6-19 3c-3.7 4.6-7.1 9.5-10.2 14.6l-2.3 3.9c-2.8 5.1-5.3 10.4-7.4 15.9c-2.6 6.8 .5 14.3 6.8 17.9l18.2 10.5c-1 5.7-1.6 11.6-1.6 17.6s.6 11.9 1.6 17.5l-18.2 10.5c-6.3 3.6-9.5 11.1-6.8 17.9c2.1 5.5 4.6 10.7 7.4 15.8l2.4 4.1c3 5.1 6.4 9.9 10.1 14.5c4.6 5.7 12.7 6.7 19 3L449.6 457c8.9 7.6 19.2 13.6 30.4 17.6v21c0 7.3 4.9 13.8 12.1 14.9c6.5 1 13.1 1.5 19.9 1.5s13.4-.5 19.9-1.5c7.2-1.1 12.1-7.6 12.1-14.9v-21c11.2-4 21.5-10 30.4-17.6l18.2 10.5c6.3 3.6 14.4 2.6 19-3c3.7-4.6 7.1-9.4 10.1-14.5l2.4-4.2c2.8-5.1 5.3-10.3 7.4-15.8c2.6-6.8-.5-14.3-6.8-17.9l-18.2-10.5c1-5.7 1.6-11.6 1.6-17.5s-.6-11.9-1.6-17.6l18.2-10.5zM552 384c0 22.1-17.9 40-40 40s-40-17.9-40-40s17.9-40 40-40s40 17.9 40 40z"]
  117281. };
  117282. var faUsersCog = faUsersGear;
  117283. var faPersonMilitaryPointing = {
  117284. prefix: 'fas',
  117285. iconName: 'person-military-pointing',
  117286. icon: [576, 512, [], "e54a", "M246.9 14.1C234 15.2 224 26 224 39c0 13.8 11.2 25 25 25H400c8.8 0 16-7.2 16-16V17.4C416 8 408 .7 398.7 1.4L246.9 14.1zM240 112c0 44.2 35.8 80 80 80s80-35.8 80-80c0-5.5-.6-10.8-1.6-16H241.6c-1 5.2-1.6 10.5-1.6 16zM72 224c-22.1 0-40 17.9-40 40s17.9 40 40 40H224v89.4L386.8 230.5c-13.3-4.3-27.3-6.5-41.6-6.5H240 72zm345.7 20.9L246.6 416H416V369.7l53.6 90.6c11.2 19 35.8 25.3 54.8 14.1s25.3-35.8 14.1-54.8L462.3 290.8c-11.2-18.9-26.6-34.5-44.6-45.9zM224 448v32c0 17.7 14.3 32 32 32H384c17.7 0 32-14.3 32-32V448H224z"]
  117287. };
  117288. var faBuildingColumns = {
  117289. prefix: 'fas',
  117290. iconName: 'building-columns',
  117291. icon: [512, 512, ["bank", "institution", "museum", "university"], "f19c", "M243.4 2.6l-224 96c-14 6-21.8 21-18.7 35.8S16.8 160 32 160v8c0 13.3 10.7 24 24 24H456c13.3 0 24-10.7 24-24v-8c15.2 0 28.3-10.7 31.3-25.6s-4.8-29.9-18.7-35.8l-224-96c-8.1-3.4-17.2-3.4-25.2 0zM128 224H64V420.3c-.6 .3-1.2 .7-1.8 1.1l-48 32c-11.7 7.8-17 22.4-12.9 35.9S17.9 512 32 512H480c14.1 0 26.5-9.2 30.6-22.7s-1.1-28.1-12.9-35.9l-48-32c-.6-.4-1.2-.7-1.8-1.1V224H384V416H344V224H280V416H232V224H168V416H128V224zm128-96c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]
  117292. };
  117293. var faBank = faBuildingColumns;
  117294. var faInstitution = faBuildingColumns;
  117295. var faMuseum = faBuildingColumns;
  117296. var faUniversity = faBuildingColumns;
  117297. var faUmbrella = {
  117298. prefix: 'fas',
  117299. iconName: 'umbrella',
  117300. icon: [640, 512, [], "f0e9", "M320 0c17.7 0 32 14.3 32 32V49.7C483.8 63.4 589.7 161 605.9 285.9c2 15.6-17.3 24.4-27.8 12.7C564.1 283 536.8 272 512 272c-38.7 0-71 27.5-78.4 64.1c-1.7 8.7-8.7 15.9-17.6 15.9s-15.8-7.2-17.6-15.9C391 299.5 358.7 272 320 272s-71 27.5-78.4 64.1c-1.7 8.7-8.7 15.9-17.6 15.9s-15.8-7.2-17.6-15.9C199 299.5 166.7 272 128 272c-24.8 0-52.1 11-66.1 26.7c-10.5 11.7-29.8 2.9-27.8-12.7C50.3 161 156.2 63.4 288 49.7V32c0-17.7 14.3-32 32-32zm0 304c12.3 0 23.5 4.6 32 12.2V430.6c0 45-36.5 81.4-81.4 81.4c-30.8 0-59-17.4-72.8-45l-2.3-4.7c-7.9-15.8-1.5-35 14.3-42.9s35-1.5 42.9 14.3l2.3 4.7c3 5.9 9 9.6 15.6 9.6c9.6 0 17.4-7.8 17.4-17.4V316.2c8.5-7.6 19.7-12.2 32-12.2z"]
  117301. };
  117302. var faTrowel = {
  117303. prefix: 'fas',
  117304. iconName: 'trowel',
  117305. icon: [512, 512, [], "e589", "M343.9 213.4L245.3 312l65.4 65.4c7.9 7.9 11.1 19.4 8.4 30.3s-10.8 19.6-21.5 22.9l-256 80c-11.4 3.5-23.8 .5-32.2-7.9S-2.1 481.8 1.5 470.5l80-256c3.3-10.7 12-18.9 22.9-21.5s22.4 .5 30.3 8.4L200 266.7l98.6-98.6c-14.3-14.6-14.2-38 .3-52.5l95.4-95.4c26.9-26.9 70.5-26.9 97.5 0s26.9 70.5 0 97.5l-95.4 95.4c-14.5 14.5-37.9 14.6-52.5 .3z"]
  117306. };
  117307. var faD = {
  117308. prefix: 'fas',
  117309. iconName: 'd',
  117310. icon: [384, 512, [100], "44", "M0 64C0 46.3 14.3 32 32 32H160c123.7 0 224 100.3 224 224s-100.3 224-224 224H32c-17.7 0-32-14.3-32-32V64zM64 96V416h96c88.4 0 160-71.6 160-160s-71.6-160-160-160H64z"]
  117311. };
  117312. var faStapler = {
  117313. prefix: 'fas',
  117314. iconName: 'stapler',
  117315. icon: [640, 512, [], "e5af", "M640 299.3V304 432c0 26.5-21.5 48-48 48H512 448 64c-17.7 0-32-14.3-32-32s14.3-32 32-32H448V368H96c-17.7 0-32-14.3-32-32V219.4L33.8 214C14.2 210.5 0 193.5 0 173.7c0-8.9 2.9-17.5 8.2-24.6l35.6-47.5C76.7 57.8 128.2 32 182.9 32c27 0 53.6 6.3 77.8 18.4L586.9 213.5C619.5 229.7 640 263 640 299.3zM448 304V288L128 230.9V304H448z"]
  117316. };
  117317. var faMasksTheater = {
  117318. prefix: 'fas',
  117319. iconName: 'masks-theater',
  117320. icon: [640, 512, [127917, "theater-masks"], "f630", "M399.3 509.7c-58.2-8.8-108.2-72.8-137.6-119.7c-20-31.9-25.1-70.3-19.6-107.7L266.3 118c1.4-9.8 5.1-19.2 12.9-25.2c20.2-15.6 72.4-41.5 185.1-24.5s155.2 57.4 170 78.3c5.7 8 6.5 18.1 5.1 27.9L615.2 338.8c-5.5 37.3-21.5 72.6-49.8 97.2c-41.7 36.1-108 82.5-166.1 73.7zm17.1-277.7c.1-.5 .2-1.1 .3-1.6c3.2-21.8-11.6-42-33.1-45.3s-41.5 11.8-44.7 33.5c-.1 .5-.1 1.1-.2 1.6c-.6 5.4 5.2 8.4 10.3 6.7c9-3 18.8-3.9 28.7-2.4s19.1 5.3 26.8 10.8c4.4 3.1 10.8 2 11.8-3.3zm112.6 22.2c4.4 3.1 10.8 2 11.8-3.3c.1-.5 .2-1.1 .3-1.6c3.2-21.8-11.6-42-33.1-45.3s-41.5 11.8-44.7 33.5c-.1 .5-.1 1.1-.2 1.6c-.6 5.4 5.2 8.4 10.3 6.7c9-3 18.8-3.9 28.7-2.4s19.1 5.3 26.8 10.8zm-11.5 85.2c-28.8 12.8-61.4 17.8-94.9 12.8s-63.2-19.5-87-40.3c-6.3-5.5-16.2-1.7-15.2 6.7c5.9 48.5 43 89.1 93 96.7s97.2-20.2 116.8-64.9c3.4-7.7-5-14.3-12.6-10.9zM240.7 446.9c-58.2 8.8-124.5-37.5-166.1-73.7c-28.3-24.5-44.3-59.8-49.8-97.2L.6 111.8C-.8 102 0 91.9 5.7 83.9C20.5 63 63 22.7 175.7 5.6s164.9 8.9 185.1 24.5c.9 .7 1.7 1.4 2.4 2.1c-52.8 4.8-85.1 21-103.6 35.3c-17 13.1-23 32-25 45.9L215.3 244.7c-2.6 .1-5.2 .4-7.9 .8c-35.2 5.3-61.8 32.7-68.2 66.3c-1.6 8.2 8.3 12.2 14.8 7c15.6-12.4 34.1-21.3 54.7-25.4c-3 38.4 4 78.7 25.9 113.6c6.9 11 15 23.1 24.2 35.4c-5.9 2.1-11.9 3.6-18 4.5zM174.1 157c-1-5.3-7.4-6.4-11.8-3.3c-7.7 5.5-16.8 9.3-26.8 10.8s-19.8 .6-28.7-2.4c-5.1-1.7-10.9 1.3-10.3 6.7c.1 .5 .1 1.1 .2 1.6c3.2 21.8 23.2 36.8 44.7 33.5s36.3-23.5 33.1-45.3c-.1-.5-.2-1.1-.3-1.6z"]
  117321. };
  117322. var faTheaterMasks = faMasksTheater;
  117323. var faKipSign = {
  117324. prefix: 'fas',
  117325. iconName: 'kip-sign',
  117326. icon: [384, 512, [], "e1c4", "M340.8 88.3c13.4-11.5 15-31.7 3.5-45.1s-31.7-15-45.1-3.5L128 186.4V64c0-17.7-14.3-32-32-32S64 46.3 64 64V224H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H64V448c0 17.7 14.3 32 32 32s32-14.3 32-32V325.6L299.2 472.3c13.4 11.5 33.6 9.9 45.1-3.5s9.9-33.6-3.5-45.1L182.5 288H352c17.7 0 32-14.3 32-32s-14.3-32-32-32H182.5L340.8 88.3z"]
  117327. };
  117328. var faHandPointLeft = {
  117329. prefix: 'fas',
  117330. iconName: 'hand-point-left',
  117331. icon: [512, 512, [], "f0a5", "M32 96C14.3 96 0 110.3 0 128s14.3 32 32 32l208 0V96L32 96zM192 288c-17.7 0-32 14.3-32 32s14.3 32 32 32h64c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm-64-64c0 17.7 14.3 32 32 32h48c17.7 0 32-14.3 32-32s-14.3-32-32-32H160c-17.7 0-32 14.3-32 32zm96 160c-17.7 0-32 14.3-32 32s14.3 32 32 32h64c17.7 0 32-14.3 32-32s-14.3-32-32-32H224zm88-96l-.6 0c5.4 9.4 8.6 20.3 8.6 32c0 13.2-4 25.4-10.8 35.6c24.9 8.7 42.8 32.5 42.8 60.4c0 11.7-3.1 22.6-8.6 32H352c88.4 0 160-71.6 160-160V226.3c0-42.4-16.9-83.1-46.9-113.1l-11.6-11.6C429.5 77.5 396.9 64 363 64l-27 0c-35.3 0-64 28.7-64 64v88c0 22.1 17.9 40 40 40s40-17.9 40-40V160c0-8.8 7.2-16 16-16s16 7.2 16 16v56c0 39.8-32.2 72-72 72z"]
  117332. };
  117333. var faHandshakeSimple = {
  117334. prefix: 'fas',
  117335. iconName: 'handshake-simple',
  117336. icon: [640, 512, [129309, "handshake-alt"], "f4c6", "M323.4 85.2l-96.8 78.4c-16.1 13-19.2 36.4-7 53.1c12.9 17.8 38 21.3 55.3 7.8l99.3-77.2c7-5.4 17-4.2 22.5 2.8s4.2 17-2.8 22.5l-20.9 16.2L550.2 352H592c26.5 0 48-21.5 48-48V176c0-26.5-21.5-48-48-48H516h-4-.7l-3.9-2.5L434.8 79c-15.3-9.8-33.2-15-51.4-15c-21.8 0-43 7.5-60 21.2zm22.8 124.4l-51.7 40.2C263 274.4 217.3 268 193.7 235.6c-22.2-30.5-16.6-73.1 12.7-96.8l83.2-67.3c-11.6-4.9-24.1-7.4-36.8-7.4C234 64 215.7 69.6 200 80l-72 48H48c-26.5 0-48 21.5-48 48V304c0 26.5 21.5 48 48 48H156.2l91.4 83.4c19.6 17.9 49.9 16.5 67.8-3.1c5.5-6.1 9.2-13.2 11.1-20.6l17 15.6c19.5 17.9 49.9 16.6 67.8-2.9c4.5-4.9 7.8-10.6 9.9-16.5c19.4 13 45.8 10.3 62.1-7.5c17.9-19.5 16.6-49.9-2.9-67.8l-134.2-123z"]
  117337. };
  117338. var faHandshakeAlt = faHandshakeSimple;
  117339. var faJetFighter = {
  117340. prefix: 'fas',
  117341. iconName: 'jet-fighter',
  117342. icon: [640, 512, ["fighter-jet"], "f0fb", "M160 24c0-13.3 10.7-24 24-24H296c13.3 0 24 10.7 24 24s-10.7 24-24 24H280L384 192H500.4c7.7 0 15.3 1.4 22.5 4.1L625 234.4c9 3.4 15 12 15 21.6s-6 18.2-15 21.6L522.9 315.9c-7.2 2.7-14.8 4.1-22.5 4.1H384L280 464h16c13.3 0 24 10.7 24 24s-10.7 24-24 24H184c-13.3 0-24-10.7-24-24s10.7-24 24-24h8V320H160l-54.6 54.6c-6 6-14.1 9.4-22.6 9.4H64c-17.7 0-32-14.3-32-32V288c-17.7 0-32-14.3-32-32s14.3-32 32-32V160c0-17.7 14.3-32 32-32H82.7c8.5 0 16.6 3.4 22.6 9.4L160 192h32V48h-8c-13.3 0-24-10.7-24-24zM80 240c-8.8 0-16 7.2-16 16s7.2 16 16 16h64c8.8 0 16-7.2 16-16s-7.2-16-16-16H80z"]
  117343. };
  117344. var faFighterJet = faJetFighter;
  117345. var faSquareShareNodes = {
  117346. prefix: 'fas',
  117347. iconName: 'square-share-nodes',
  117348. icon: [448, 512, ["share-alt-square"], "f1e1", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM384 160c0 35.3-28.7 64-64 64c-15.4 0-29.5-5.4-40.6-14.5L194.1 256l85.3 46.5c11-9.1 25.2-14.5 40.6-14.5c35.3 0 64 28.7 64 64s-28.7 64-64 64s-64-28.7-64-64c0-2.5 .1-4.9 .4-7.3L174.5 300c-11.7 12.3-28.2 20-46.5 20c-35.3 0-64-28.7-64-64s28.7-64 64-64c18.3 0 34.8 7.7 46.5 20l81.9-44.7c-.3-2.4-.4-4.9-.4-7.3c0-35.3 28.7-64 64-64s64 28.7 64 64z"]
  117349. };
  117350. var faShareAltSquare = faSquareShareNodes;
  117351. var faBarcode = {
  117352. prefix: 'fas',
  117353. iconName: 'barcode',
  117354. icon: [512, 512, [], "f02a", "M24 32C10.7 32 0 42.7 0 56V456c0 13.3 10.7 24 24 24H40c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24H24zm88 0c-8.8 0-16 7.2-16 16V464c0 8.8 7.2 16 16 16s16-7.2 16-16V48c0-8.8-7.2-16-16-16zm72 0c-13.3 0-24 10.7-24 24V456c0 13.3 10.7 24 24 24h16c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24H184zm96 0c-13.3 0-24 10.7-24 24V456c0 13.3 10.7 24 24 24h16c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24H280zM448 56V456c0 13.3 10.7 24 24 24h16c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24H472c-13.3 0-24 10.7-24 24zm-64-8V464c0 8.8 7.2 16 16 16s16-7.2 16-16V48c0-8.8-7.2-16-16-16s-16 7.2-16 16z"]
  117355. };
  117356. var faPlusMinus = {
  117357. prefix: 'fas',
  117358. iconName: 'plus-minus',
  117359. icon: [384, 512, [], "e43c", "M224 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V144H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H160V320c0 17.7 14.3 32 32 32s32-14.3 32-32V208H336c17.7 0 32-14.3 32-32s-14.3-32-32-32H224V32zM0 480c0 17.7 14.3 32 32 32H352c17.7 0 32-14.3 32-32s-14.3-32-32-32H32c-17.7 0-32 14.3-32 32z"]
  117360. };
  117361. var faVideo = {
  117362. prefix: 'fas',
  117363. iconName: 'video',
  117364. icon: [576, 512, ["video-camera"], "f03d", "M0 128C0 92.7 28.7 64 64 64H320c35.3 0 64 28.7 64 64V384c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128zM559.1 99.8c10.4 5.6 16.9 16.4 16.9 28.2V384c0 11.8-6.5 22.6-16.9 28.2s-23 5-32.9-1.6l-96-64L416 337.1V320 192 174.9l14.2-9.5 96-64c9.8-6.5 22.4-7.2 32.9-1.6z"]
  117365. };
  117366. var faVideoCamera = faVideo;
  117367. var faGraduationCap = {
  117368. prefix: 'fas',
  117369. iconName: 'graduation-cap',
  117370. icon: [640, 512, [127891, "mortar-board"], "f19d", "M320 32c-8.1 0-16.1 1.4-23.7 4.1L15.8 137.4C6.3 140.9 0 149.9 0 160s6.3 19.1 15.8 22.6l57.9 20.9C57.3 229.3 48 259.8 48 291.9v28.1c0 28.4-10.8 57.7-22.3 80.8c-6.5 13-13.9 25.8-22.5 37.6C0 442.7-.9 448.3 .9 453.4s6 8.9 11.2 10.2l64 16c4.2 1.1 8.7 .3 12.4-2s6.3-6.1 7.1-10.4c8.6-42.8 4.3-81.2-2.1-108.7C90.3 344.3 86 329.8 80 316.5V291.9c0-30.2 10.2-58.7 27.9-81.5c12.9-15.5 29.6-28 49.2-35.7l157-61.7c8.2-3.2 17.5 .8 20.7 9s-.8 17.5-9 20.7l-157 61.7c-12.4 4.9-23.3 12.4-32.2 21.6l159.6 57.6c7.6 2.7 15.6 4.1 23.7 4.1s16.1-1.4 23.7-4.1L624.2 182.6c9.5-3.4 15.8-12.5 15.8-22.6s-6.3-19.1-15.8-22.6L343.7 36.1C336.1 33.4 328.1 32 320 32zM128 408c0 35.3 86 72 192 72s192-36.7 192-72L496.7 262.6 354.5 314c-11.1 4-22.8 6-34.5 6s-23.5-2-34.5-6L143.3 262.6 128 408z"]
  117371. };
  117372. var faMortarBoard = faGraduationCap;
  117373. var faHandHoldingMedical = {
  117374. prefix: 'fas',
  117375. iconName: 'hand-holding-medical',
  117376. icon: [576, 512, [], "e05c", "M224 24V80H168c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h56v56c0 13.3 10.7 24 24 24h48c13.3 0 24-10.7 24-24V176h56c13.3 0 24-10.7 24-24V104c0-13.3-10.7-24-24-24H320V24c0-13.3-10.7-24-24-24H248c-13.3 0-24 10.7-24 24zM559.7 392.2c17.8-13.1 21.6-38.1 8.5-55.9s-38.1-21.6-55.9-8.5L392.6 416H272c-8.8 0-16-7.2-16-16s7.2-16 16-16h16 64c17.7 0 32-14.3 32-32s-14.3-32-32-32H288 272 193.7c-29.1 0-57.3 9.9-80 28L68.8 384H32c-17.7 0-32 14.3-32 32v64c0 17.7 14.3 32 32 32H192 352.5c29 0 57.3-9.3 80.7-26.5l126.6-93.3zm-367-8.2l.9 0 0 0c-.3 0-.6 0-.9 0z"]
  117377. };
  117378. var faPersonCircleCheck = {
  117379. prefix: 'fas',
  117380. iconName: 'person-circle-check',
  117381. icon: [576, 512, [], "e53e", "M208 48c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zM152 352V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V256.9L59.4 304.5c-9.1 15.1-28.8 20-43.9 10.9s-20-28.8-10.9-43.9l58.3-97c17.4-28.9 48.6-46.6 82.3-46.6h29.7c33.7 0 64.9 17.7 82.3 46.6l44.9 74.7c-16.1 17.6-28.6 38.5-36.6 61.5c-1.9-1.8-3.5-3.9-4.9-6.3L232 256.9V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V352H152zm424 16c0 79.5-64.5 144-144 144s-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144zm-76.7-43.3c-6.2-6.2-16.4-6.2-22.6 0L416 385.4l-28.7-28.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l40 40c6.2 6.2 16.4 6.2 22.6 0l72-72c6.2-6.2 6.2-16.4 0-22.6z"]
  117382. };
  117383. var faTurnUp = {
  117384. prefix: 'fas',
  117385. iconName: 'turn-up',
  117386. icon: [384, 512, [10548, "level-up-alt"], "f3bf", "M178.3 5.7L40.3 143.7C35 149 32 156.2 32 163.7C32 179.3 44.7 192 60.3 192H144V400c0 8.8-7.2 16-16 16H32c-17.7 0-32 14.3-32 32v32c0 17.7 14.3 32 32 32h96c61.9 0 112-50.1 112-112V192h83.7c15.6 0 28.3-12.7 28.3-28.3c0-7.5-3-14.7-8.3-20L205.7 5.7C202 2 197.1 0 192 0s-10 2-13.7 5.7z"]
  117387. };
  117388. var faLevelUpAlt = faTurnUp;
  117389. var icons = {
  117390. fa0: fa0,
  117391. fa1: fa1,
  117392. fa2: fa2,
  117393. fa3: fa3,
  117394. fa4: fa4,
  117395. fa5: fa5,
  117396. fa6: fa6,
  117397. fa7: fa7,
  117398. fa8: fa8,
  117399. fa9: fa9,
  117400. faFillDrip: faFillDrip,
  117401. faArrowsToCircle: faArrowsToCircle,
  117402. faCircleChevronRight: faCircleChevronRight,
  117403. faChevronCircleRight: faChevronCircleRight,
  117404. faAt: faAt,
  117405. faTrashCan: faTrashCan,
  117406. faTrashAlt: faTrashAlt,
  117407. faTextHeight: faTextHeight,
  117408. faUserXmark: faUserXmark,
  117409. faUserTimes: faUserTimes,
  117410. faStethoscope: faStethoscope,
  117411. faMessage: faMessage,
  117412. faCommentAlt: faCommentAlt,
  117413. faInfo: faInfo,
  117414. faDownLeftAndUpRightToCenter: faDownLeftAndUpRightToCenter,
  117415. faCompressAlt: faCompressAlt,
  117416. faExplosion: faExplosion,
  117417. faFileLines: faFileLines,
  117418. faFileAlt: faFileAlt,
  117419. faFileText: faFileText,
  117420. faWaveSquare: faWaveSquare,
  117421. faRing: faRing,
  117422. faBuildingUn: faBuildingUn,
  117423. faDiceThree: faDiceThree,
  117424. faCalendarDays: faCalendarDays,
  117425. faCalendarAlt: faCalendarAlt,
  117426. faAnchorCircleCheck: faAnchorCircleCheck,
  117427. faBuildingCircleArrowRight: faBuildingCircleArrowRight,
  117428. faVolleyball: faVolleyball,
  117429. faVolleyballBall: faVolleyballBall,
  117430. faArrowsUpToLine: faArrowsUpToLine,
  117431. faSortDown: faSortDown,
  117432. faSortDesc: faSortDesc,
  117433. faCircleMinus: faCircleMinus,
  117434. faMinusCircle: faMinusCircle,
  117435. faDoorOpen: faDoorOpen,
  117436. faRightFromBracket: faRightFromBracket,
  117437. faSignOutAlt: faSignOutAlt,
  117438. faAtom: faAtom,
  117439. faSoap: faSoap,
  117440. faIcons: faIcons,
  117441. faHeartMusicCameraBolt: faHeartMusicCameraBolt,
  117442. faMicrophoneLinesSlash: faMicrophoneLinesSlash,
  117443. faMicrophoneAltSlash: faMicrophoneAltSlash,
  117444. faBridgeCircleCheck: faBridgeCircleCheck,
  117445. faPumpMedical: faPumpMedical,
  117446. faFingerprint: faFingerprint,
  117447. faHandPointRight: faHandPointRight,
  117448. faMagnifyingGlassLocation: faMagnifyingGlassLocation,
  117449. faSearchLocation: faSearchLocation,
  117450. faForwardStep: faForwardStep,
  117451. faStepForward: faStepForward,
  117452. faFaceSmileBeam: faFaceSmileBeam,
  117453. faSmileBeam: faSmileBeam,
  117454. faFlagCheckered: faFlagCheckered,
  117455. faFootball: faFootball,
  117456. faFootballBall: faFootballBall,
  117457. faSchoolCircleExclamation: faSchoolCircleExclamation,
  117458. faCrop: faCrop,
  117459. faAnglesDown: faAnglesDown,
  117460. faAngleDoubleDown: faAngleDoubleDown,
  117461. faUsersRectangle: faUsersRectangle,
  117462. faPeopleRoof: faPeopleRoof,
  117463. faPeopleLine: faPeopleLine,
  117464. faBeerMugEmpty: faBeerMugEmpty,
  117465. faBeer: faBeer,
  117466. faDiagramPredecessor: faDiagramPredecessor,
  117467. faArrowUpLong: faArrowUpLong,
  117468. faLongArrowUp: faLongArrowUp,
  117469. faFireFlameSimple: faFireFlameSimple,
  117470. faBurn: faBurn,
  117471. faPerson: faPerson,
  117472. faMale: faMale,
  117473. faLaptop: faLaptop,
  117474. faFileCsv: faFileCsv,
  117475. faMenorah: faMenorah,
  117476. faTruckPlane: faTruckPlane,
  117477. faRecordVinyl: faRecordVinyl,
  117478. faFaceGrinStars: faFaceGrinStars,
  117479. faGrinStars: faGrinStars,
  117480. faBong: faBong,
  117481. faSpaghettiMonsterFlying: faSpaghettiMonsterFlying,
  117482. faPastafarianism: faPastafarianism,
  117483. faArrowDownUpAcrossLine: faArrowDownUpAcrossLine,
  117484. faSpoon: faSpoon,
  117485. faUtensilSpoon: faUtensilSpoon,
  117486. faJarWheat: faJarWheat,
  117487. faEnvelopesBulk: faEnvelopesBulk,
  117488. faMailBulk: faMailBulk,
  117489. faFileCircleExclamation: faFileCircleExclamation,
  117490. faCircleH: faCircleH,
  117491. faHospitalSymbol: faHospitalSymbol,
  117492. faPager: faPager,
  117493. faAddressBook: faAddressBook,
  117494. faContactBook: faContactBook,
  117495. faStrikethrough: faStrikethrough,
  117496. faK: faK,
  117497. faLandmarkFlag: faLandmarkFlag,
  117498. faPencil: faPencil,
  117499. faPencilAlt: faPencilAlt,
  117500. faBackward: faBackward,
  117501. faCaretRight: faCaretRight,
  117502. faComments: faComments,
  117503. faPaste: faPaste,
  117504. faFileClipboard: faFileClipboard,
  117505. faCodePullRequest: faCodePullRequest,
  117506. faClipboardList: faClipboardList,
  117507. faTruckRampBox: faTruckRampBox,
  117508. faTruckLoading: faTruckLoading,
  117509. faUserCheck: faUserCheck,
  117510. faVialVirus: faVialVirus,
  117511. faSheetPlastic: faSheetPlastic,
  117512. faBlog: faBlog,
  117513. faUserNinja: faUserNinja,
  117514. faPersonArrowUpFromLine: faPersonArrowUpFromLine,
  117515. faScrollTorah: faScrollTorah,
  117516. faTorah: faTorah,
  117517. faBroomBall: faBroomBall,
  117518. faQuidditch: faQuidditch,
  117519. faQuidditchBroomBall: faQuidditchBroomBall,
  117520. faToggleOff: faToggleOff,
  117521. faBoxArchive: faBoxArchive,
  117522. faArchive: faArchive,
  117523. faPersonDrowning: faPersonDrowning,
  117524. faArrowDown91: faArrowDown91,
  117525. faSortNumericDesc: faSortNumericDesc,
  117526. faSortNumericDownAlt: faSortNumericDownAlt,
  117527. faFaceGrinTongueSquint: faFaceGrinTongueSquint,
  117528. faGrinTongueSquint: faGrinTongueSquint,
  117529. faSprayCan: faSprayCan,
  117530. faTruckMonster: faTruckMonster,
  117531. faW: faW,
  117532. faEarthAfrica: faEarthAfrica,
  117533. faGlobeAfrica: faGlobeAfrica,
  117534. faRainbow: faRainbow,
  117535. faCircleNotch: faCircleNotch,
  117536. faTabletScreenButton: faTabletScreenButton,
  117537. faTabletAlt: faTabletAlt,
  117538. faPaw: faPaw,
  117539. faCloud: faCloud,
  117540. faTrowelBricks: faTrowelBricks,
  117541. faFaceFlushed: faFaceFlushed,
  117542. faFlushed: faFlushed,
  117543. faHospitalUser: faHospitalUser,
  117544. faTentArrowLeftRight: faTentArrowLeftRight,
  117545. faGavel: faGavel,
  117546. faLegal: faLegal,
  117547. faBinoculars: faBinoculars,
  117548. faMicrophoneSlash: faMicrophoneSlash,
  117549. faBoxTissue: faBoxTissue,
  117550. faMotorcycle: faMotorcycle,
  117551. faBellConcierge: faBellConcierge,
  117552. faConciergeBell: faConciergeBell,
  117553. faPenRuler: faPenRuler,
  117554. faPencilRuler: faPencilRuler,
  117555. faPeopleArrows: faPeopleArrows,
  117556. faPeopleArrowsLeftRight: faPeopleArrowsLeftRight,
  117557. faMarsAndVenusBurst: faMarsAndVenusBurst,
  117558. faSquareCaretRight: faSquareCaretRight,
  117559. faCaretSquareRight: faCaretSquareRight,
  117560. faScissors: faScissors,
  117561. faCut: faCut,
  117562. faSunPlantWilt: faSunPlantWilt,
  117563. faToiletsPortable: faToiletsPortable,
  117564. faHockeyPuck: faHockeyPuck,
  117565. faTable: faTable,
  117566. faMagnifyingGlassArrowRight: faMagnifyingGlassArrowRight,
  117567. faTachographDigital: faTachographDigital,
  117568. faDigitalTachograph: faDigitalTachograph,
  117569. faUsersSlash: faUsersSlash,
  117570. faClover: faClover,
  117571. faReply: faReply,
  117572. faMailReply: faMailReply,
  117573. faStarAndCrescent: faStarAndCrescent,
  117574. faHouseFire: faHouseFire,
  117575. faSquareMinus: faSquareMinus,
  117576. faMinusSquare: faMinusSquare,
  117577. faHelicopter: faHelicopter,
  117578. faCompass: faCompass,
  117579. faSquareCaretDown: faSquareCaretDown,
  117580. faCaretSquareDown: faCaretSquareDown,
  117581. faFileCircleQuestion: faFileCircleQuestion,
  117582. faLaptopCode: faLaptopCode,
  117583. faSwatchbook: faSwatchbook,
  117584. faPrescriptionBottle: faPrescriptionBottle,
  117585. faBars: faBars,
  117586. faNavicon: faNavicon,
  117587. faPeopleGroup: faPeopleGroup,
  117588. faHourglassEnd: faHourglassEnd,
  117589. faHourglass3: faHourglass3,
  117590. faHeartCrack: faHeartCrack,
  117591. faHeartBroken: faHeartBroken,
  117592. faSquareUpRight: faSquareUpRight,
  117593. faExternalLinkSquareAlt: faExternalLinkSquareAlt,
  117594. faFaceKissBeam: faFaceKissBeam,
  117595. faKissBeam: faKissBeam,
  117596. faFilm: faFilm,
  117597. faRulerHorizontal: faRulerHorizontal,
  117598. faPeopleRobbery: faPeopleRobbery,
  117599. faLightbulb: faLightbulb,
  117600. faCaretLeft: faCaretLeft,
  117601. faCircleExclamation: faCircleExclamation,
  117602. faExclamationCircle: faExclamationCircle,
  117603. faSchoolCircleXmark: faSchoolCircleXmark,
  117604. faArrowRightFromBracket: faArrowRightFromBracket,
  117605. faSignOut: faSignOut,
  117606. faCircleChevronDown: faCircleChevronDown,
  117607. faChevronCircleDown: faChevronCircleDown,
  117608. faUnlockKeyhole: faUnlockKeyhole,
  117609. faUnlockAlt: faUnlockAlt,
  117610. faCloudShowersHeavy: faCloudShowersHeavy,
  117611. faHeadphonesSimple: faHeadphonesSimple,
  117612. faHeadphonesAlt: faHeadphonesAlt,
  117613. faSitemap: faSitemap,
  117614. faCircleDollarToSlot: faCircleDollarToSlot,
  117615. faDonate: faDonate,
  117616. faMemory: faMemory,
  117617. faRoadSpikes: faRoadSpikes,
  117618. faFireBurner: faFireBurner,
  117619. faFlag: faFlag,
  117620. faHanukiah: faHanukiah,
  117621. faFeather: faFeather,
  117622. faVolumeLow: faVolumeLow,
  117623. faVolumeDown: faVolumeDown,
  117624. faCommentSlash: faCommentSlash,
  117625. faCloudSunRain: faCloudSunRain,
  117626. faCompress: faCompress,
  117627. faWheatAwn: faWheatAwn,
  117628. faWheatAlt: faWheatAlt,
  117629. faAnkh: faAnkh,
  117630. faHandsHoldingChild: faHandsHoldingChild,
  117631. faAsterisk: faAsterisk,
  117632. faSquareCheck: faSquareCheck,
  117633. faCheckSquare: faCheckSquare,
  117634. faPesetaSign: faPesetaSign,
  117635. faHeading: faHeading,
  117636. faHeader: faHeader,
  117637. faGhost: faGhost,
  117638. faList: faList,
  117639. faListSquares: faListSquares,
  117640. faSquarePhoneFlip: faSquarePhoneFlip,
  117641. faPhoneSquareAlt: faPhoneSquareAlt,
  117642. faCartPlus: faCartPlus,
  117643. faGamepad: faGamepad,
  117644. faCircleDot: faCircleDot,
  117645. faDotCircle: faDotCircle,
  117646. faFaceDizzy: faFaceDizzy,
  117647. faDizzy: faDizzy,
  117648. faEgg: faEgg,
  117649. faHouseMedicalCircleXmark: faHouseMedicalCircleXmark,
  117650. faCampground: faCampground,
  117651. faFolderPlus: faFolderPlus,
  117652. faFutbol: faFutbol,
  117653. faFutbolBall: faFutbolBall,
  117654. faSoccerBall: faSoccerBall,
  117655. faPaintbrush: faPaintbrush,
  117656. faPaintBrush: faPaintBrush,
  117657. faLock: faLock,
  117658. faGasPump: faGasPump,
  117659. faHotTubPerson: faHotTubPerson,
  117660. faHotTub: faHotTub,
  117661. faMapLocation: faMapLocation,
  117662. faMapMarked: faMapMarked,
  117663. faHouseFloodWater: faHouseFloodWater,
  117664. faTree: faTree,
  117665. faBridgeLock: faBridgeLock,
  117666. faSackDollar: faSackDollar,
  117667. faPenToSquare: faPenToSquare,
  117668. faEdit: faEdit,
  117669. faCarSide: faCarSide,
  117670. faShareNodes: faShareNodes,
  117671. faShareAlt: faShareAlt,
  117672. faHeartCircleMinus: faHeartCircleMinus,
  117673. faHourglassHalf: faHourglassHalf,
  117674. faHourglass2: faHourglass2,
  117675. faMicroscope: faMicroscope,
  117676. faSink: faSink,
  117677. faBagShopping: faBagShopping,
  117678. faShoppingBag: faShoppingBag,
  117679. faArrowDownZA: faArrowDownZA,
  117680. faSortAlphaDesc: faSortAlphaDesc,
  117681. faSortAlphaDownAlt: faSortAlphaDownAlt,
  117682. faMitten: faMitten,
  117683. faPersonRays: faPersonRays,
  117684. faUsers: faUsers,
  117685. faEyeSlash: faEyeSlash,
  117686. faFlaskVial: faFlaskVial,
  117687. faHand: faHand,
  117688. faHandPaper: faHandPaper,
  117689. faOm: faOm,
  117690. faWorm: faWorm,
  117691. faHouseCircleXmark: faHouseCircleXmark,
  117692. faPlug: faPlug,
  117693. faChevronUp: faChevronUp,
  117694. faHandSpock: faHandSpock,
  117695. faStopwatch: faStopwatch,
  117696. faFaceKiss: faFaceKiss,
  117697. faKiss: faKiss,
  117698. faBridgeCircleXmark: faBridgeCircleXmark,
  117699. faFaceGrinTongue: faFaceGrinTongue,
  117700. faGrinTongue: faGrinTongue,
  117701. faChessBishop: faChessBishop,
  117702. faFaceGrinWink: faFaceGrinWink,
  117703. faGrinWink: faGrinWink,
  117704. faEarDeaf: faEarDeaf,
  117705. faDeaf: faDeaf,
  117706. faDeafness: faDeafness,
  117707. faHardOfHearing: faHardOfHearing,
  117708. faRoadCircleCheck: faRoadCircleCheck,
  117709. faDiceFive: faDiceFive,
  117710. faSquareRss: faSquareRss,
  117711. faRssSquare: faRssSquare,
  117712. faLandMineOn: faLandMineOn,
  117713. faICursor: faICursor,
  117714. faStamp: faStamp,
  117715. faStairs: faStairs,
  117716. faI: faI,
  117717. faHryvniaSign: faHryvniaSign,
  117718. faHryvnia: faHryvnia,
  117719. faPills: faPills,
  117720. faFaceGrinWide: faFaceGrinWide,
  117721. faGrinAlt: faGrinAlt,
  117722. faTooth: faTooth,
  117723. faV: faV,
  117724. faBicycle: faBicycle,
  117725. faStaffSnake: faStaffSnake,
  117726. faRodAsclepius: faRodAsclepius,
  117727. faRodSnake: faRodSnake,
  117728. faStaffAesculapius: faStaffAesculapius,
  117729. faHeadSideCoughSlash: faHeadSideCoughSlash,
  117730. faTruckMedical: faTruckMedical,
  117731. faAmbulance: faAmbulance,
  117732. faWheatAwnCircleExclamation: faWheatAwnCircleExclamation,
  117733. faSnowman: faSnowman,
  117734. faMortarPestle: faMortarPestle,
  117735. faRoadBarrier: faRoadBarrier,
  117736. faSchool: faSchool,
  117737. faIgloo: faIgloo,
  117738. faJoint: faJoint,
  117739. faAngleRight: faAngleRight,
  117740. faHorse: faHorse,
  117741. faQ: faQ,
  117742. faG: faG,
  117743. faNotesMedical: faNotesMedical,
  117744. faTemperatureHalf: faTemperatureHalf,
  117745. faTemperature2: faTemperature2,
  117746. faThermometer2: faThermometer2,
  117747. faThermometerHalf: faThermometerHalf,
  117748. faDongSign: faDongSign,
  117749. faCapsules: faCapsules,
  117750. faPooStorm: faPooStorm,
  117751. faPooBolt: faPooBolt,
  117752. faFaceFrownOpen: faFaceFrownOpen,
  117753. faFrownOpen: faFrownOpen,
  117754. faHandPointUp: faHandPointUp,
  117755. faMoneyBill: faMoneyBill,
  117756. faBookmark: faBookmark,
  117757. faAlignJustify: faAlignJustify,
  117758. faUmbrellaBeach: faUmbrellaBeach,
  117759. faHelmetUn: faHelmetUn,
  117760. faBullseye: faBullseye,
  117761. faBacon: faBacon,
  117762. faHandPointDown: faHandPointDown,
  117763. faArrowUpFromBracket: faArrowUpFromBracket,
  117764. faFolder: faFolder,
  117765. faFolderBlank: faFolderBlank,
  117766. faFileWaveform: faFileWaveform,
  117767. faFileMedicalAlt: faFileMedicalAlt,
  117768. faRadiation: faRadiation,
  117769. faChartSimple: faChartSimple,
  117770. faMarsStroke: faMarsStroke,
  117771. faVial: faVial,
  117772. faGauge: faGauge,
  117773. faDashboard: faDashboard,
  117774. faGaugeMed: faGaugeMed,
  117775. faTachometerAltAverage: faTachometerAltAverage,
  117776. faWandMagicSparkles: faWandMagicSparkles,
  117777. faMagicWandSparkles: faMagicWandSparkles,
  117778. faE: faE,
  117779. faPenClip: faPenClip,
  117780. faPenAlt: faPenAlt,
  117781. faBridgeCircleExclamation: faBridgeCircleExclamation,
  117782. faUser: faUser,
  117783. faSchoolCircleCheck: faSchoolCircleCheck,
  117784. faDumpster: faDumpster,
  117785. faVanShuttle: faVanShuttle,
  117786. faShuttleVan: faShuttleVan,
  117787. faBuildingUser: faBuildingUser,
  117788. faSquareCaretLeft: faSquareCaretLeft,
  117789. faCaretSquareLeft: faCaretSquareLeft,
  117790. faHighlighter: faHighlighter,
  117791. faKey: faKey,
  117792. faBullhorn: faBullhorn,
  117793. faGlobe: faGlobe,
  117794. faSynagogue: faSynagogue,
  117795. faPersonHalfDress: faPersonHalfDress,
  117796. faRoadBridge: faRoadBridge,
  117797. faLocationArrow: faLocationArrow,
  117798. faC: faC,
  117799. faTabletButton: faTabletButton,
  117800. faBuildingLock: faBuildingLock,
  117801. faPizzaSlice: faPizzaSlice,
  117802. faMoneyBillWave: faMoneyBillWave,
  117803. faChartArea: faChartArea,
  117804. faAreaChart: faAreaChart,
  117805. faHouseFlag: faHouseFlag,
  117806. faPersonCircleMinus: faPersonCircleMinus,
  117807. faBan: faBan,
  117808. faCancel: faCancel,
  117809. faCameraRotate: faCameraRotate,
  117810. faSprayCanSparkles: faSprayCanSparkles,
  117811. faAirFreshener: faAirFreshener,
  117812. faStar: faStar,
  117813. faRepeat: faRepeat,
  117814. faCross: faCross,
  117815. faBox: faBox,
  117816. faVenusMars: faVenusMars,
  117817. faArrowPointer: faArrowPointer,
  117818. faMousePointer: faMousePointer,
  117819. faMaximize: faMaximize,
  117820. faExpandArrowsAlt: faExpandArrowsAlt,
  117821. faChargingStation: faChargingStation,
  117822. faShapes: faShapes,
  117823. faTriangleCircleSquare: faTriangleCircleSquare,
  117824. faShuffle: faShuffle,
  117825. faRandom: faRandom,
  117826. faPersonRunning: faPersonRunning,
  117827. faRunning: faRunning,
  117828. faMobileRetro: faMobileRetro,
  117829. faGripLinesVertical: faGripLinesVertical,
  117830. faSpider: faSpider,
  117831. faHandsBound: faHandsBound,
  117832. faFileInvoiceDollar: faFileInvoiceDollar,
  117833. faPlaneCircleExclamation: faPlaneCircleExclamation,
  117834. faXRay: faXRay,
  117835. faSpellCheck: faSpellCheck,
  117836. faSlash: faSlash,
  117837. faComputerMouse: faComputerMouse,
  117838. faMouse: faMouse,
  117839. faArrowRightToBracket: faArrowRightToBracket,
  117840. faSignIn: faSignIn,
  117841. faShopSlash: faShopSlash,
  117842. faStoreAltSlash: faStoreAltSlash,
  117843. faServer: faServer,
  117844. faVirusCovidSlash: faVirusCovidSlash,
  117845. faShopLock: faShopLock,
  117846. faHourglassStart: faHourglassStart,
  117847. faHourglass1: faHourglass1,
  117848. faBlenderPhone: faBlenderPhone,
  117849. faBuildingWheat: faBuildingWheat,
  117850. faPersonBreastfeeding: faPersonBreastfeeding,
  117851. faRightToBracket: faRightToBracket,
  117852. faSignInAlt: faSignInAlt,
  117853. faVenus: faVenus,
  117854. faPassport: faPassport,
  117855. faHeartPulse: faHeartPulse,
  117856. faHeartbeat: faHeartbeat,
  117857. faPeopleCarryBox: faPeopleCarryBox,
  117858. faPeopleCarry: faPeopleCarry,
  117859. faTemperatureHigh: faTemperatureHigh,
  117860. faMicrochip: faMicrochip,
  117861. faCrown: faCrown,
  117862. faWeightHanging: faWeightHanging,
  117863. faXmarksLines: faXmarksLines,
  117864. faFilePrescription: faFilePrescription,
  117865. faWeightScale: faWeightScale,
  117866. faWeight: faWeight,
  117867. faUserGroup: faUserGroup,
  117868. faUserFriends: faUserFriends,
  117869. faArrowUpAZ: faArrowUpAZ,
  117870. faSortAlphaUp: faSortAlphaUp,
  117871. faChessKnight: faChessKnight,
  117872. faFaceLaughSquint: faFaceLaughSquint,
  117873. faLaughSquint: faLaughSquint,
  117874. faWheelchair: faWheelchair,
  117875. faCircleArrowUp: faCircleArrowUp,
  117876. faArrowCircleUp: faArrowCircleUp,
  117877. faToggleOn: faToggleOn,
  117878. faPersonWalking: faPersonWalking,
  117879. faWalking: faWalking,
  117880. faL: faL,
  117881. faFire: faFire,
  117882. faBedPulse: faBedPulse,
  117883. faProcedures: faProcedures,
  117884. faShuttleSpace: faShuttleSpace,
  117885. faSpaceShuttle: faSpaceShuttle,
  117886. faFaceLaugh: faFaceLaugh,
  117887. faLaugh: faLaugh,
  117888. faFolderOpen: faFolderOpen,
  117889. faHeartCirclePlus: faHeartCirclePlus,
  117890. faCodeFork: faCodeFork,
  117891. faCity: faCity,
  117892. faMicrophoneLines: faMicrophoneLines,
  117893. faMicrophoneAlt: faMicrophoneAlt,
  117894. faPepperHot: faPepperHot,
  117895. faUnlock: faUnlock,
  117896. faColonSign: faColonSign,
  117897. faHeadset: faHeadset,
  117898. faStoreSlash: faStoreSlash,
  117899. faRoadCircleXmark: faRoadCircleXmark,
  117900. faUserMinus: faUserMinus,
  117901. faMarsStrokeUp: faMarsStrokeUp,
  117902. faMarsStrokeV: faMarsStrokeV,
  117903. faChampagneGlasses: faChampagneGlasses,
  117904. faGlassCheers: faGlassCheers,
  117905. faClipboard: faClipboard,
  117906. faHouseCircleExclamation: faHouseCircleExclamation,
  117907. faFileArrowUp: faFileArrowUp,
  117908. faFileUpload: faFileUpload,
  117909. faWifi: faWifi,
  117910. faWifi3: faWifi3,
  117911. faWifiStrong: faWifiStrong,
  117912. faBath: faBath,
  117913. faBathtub: faBathtub,
  117914. faUnderline: faUnderline,
  117915. faUserPen: faUserPen,
  117916. faUserEdit: faUserEdit,
  117917. faSignature: faSignature,
  117918. faStroopwafel: faStroopwafel,
  117919. faBold: faBold,
  117920. faAnchorLock: faAnchorLock,
  117921. faBuildingNgo: faBuildingNgo,
  117922. faManatSign: faManatSign,
  117923. faNotEqual: faNotEqual,
  117924. faBorderTopLeft: faBorderTopLeft,
  117925. faBorderStyle: faBorderStyle,
  117926. faMapLocationDot: faMapLocationDot,
  117927. faMapMarkedAlt: faMapMarkedAlt,
  117928. faJedi: faJedi,
  117929. faSquarePollVertical: faSquarePollVertical,
  117930. faPoll: faPoll,
  117931. faMugHot: faMugHot,
  117932. faCarBattery: faCarBattery,
  117933. faBatteryCar: faBatteryCar,
  117934. faGift: faGift,
  117935. faDiceTwo: faDiceTwo,
  117936. faChessQueen: faChessQueen,
  117937. faGlasses: faGlasses,
  117938. faChessBoard: faChessBoard,
  117939. faBuildingCircleCheck: faBuildingCircleCheck,
  117940. faPersonChalkboard: faPersonChalkboard,
  117941. faMarsStrokeRight: faMarsStrokeRight,
  117942. faMarsStrokeH: faMarsStrokeH,
  117943. faHandBackFist: faHandBackFist,
  117944. faHandRock: faHandRock,
  117945. faSquareCaretUp: faSquareCaretUp,
  117946. faCaretSquareUp: faCaretSquareUp,
  117947. faCloudShowersWater: faCloudShowersWater,
  117948. faChartBar: faChartBar,
  117949. faBarChart: faBarChart,
  117950. faHandsBubbles: faHandsBubbles,
  117951. faHandsWash: faHandsWash,
  117952. faLessThanEqual: faLessThanEqual,
  117953. faTrain: faTrain,
  117954. faEyeLowVision: faEyeLowVision,
  117955. faLowVision: faLowVision,
  117956. faCrow: faCrow,
  117957. faSailboat: faSailboat,
  117958. faWindowRestore: faWindowRestore,
  117959. faSquarePlus: faSquarePlus,
  117960. faPlusSquare: faPlusSquare,
  117961. faToriiGate: faToriiGate,
  117962. faFrog: faFrog,
  117963. faBucket: faBucket,
  117964. faImage: faImage,
  117965. faMicrophone: faMicrophone,
  117966. faCow: faCow,
  117967. faCaretUp: faCaretUp,
  117968. faScrewdriver: faScrewdriver,
  117969. faFolderClosed: faFolderClosed,
  117970. faHouseTsunami: faHouseTsunami,
  117971. faSquareNfi: faSquareNfi,
  117972. faArrowUpFromGroundWater: faArrowUpFromGroundWater,
  117973. faMartiniGlass: faMartiniGlass,
  117974. faGlassMartiniAlt: faGlassMartiniAlt,
  117975. faRotateLeft: faRotateLeft,
  117976. faRotateBack: faRotateBack,
  117977. faRotateBackward: faRotateBackward,
  117978. faUndoAlt: faUndoAlt,
  117979. faTableColumns: faTableColumns,
  117980. faColumns: faColumns,
  117981. faLemon: faLemon,
  117982. faHeadSideMask: faHeadSideMask,
  117983. faHandshake: faHandshake,
  117984. faGem: faGem,
  117985. faDolly: faDolly,
  117986. faDollyBox: faDollyBox,
  117987. faSmoking: faSmoking,
  117988. faMinimize: faMinimize,
  117989. faCompressArrowsAlt: faCompressArrowsAlt,
  117990. faMonument: faMonument,
  117991. faSnowplow: faSnowplow,
  117992. faAnglesRight: faAnglesRight,
  117993. faAngleDoubleRight: faAngleDoubleRight,
  117994. faCannabis: faCannabis,
  117995. faCirclePlay: faCirclePlay,
  117996. faPlayCircle: faPlayCircle,
  117997. faTablets: faTablets,
  117998. faEthernet: faEthernet,
  117999. faEuroSign: faEuroSign,
  118000. faEur: faEur,
  118001. faEuro: faEuro,
  118002. faChair: faChair,
  118003. faCircleCheck: faCircleCheck,
  118004. faCheckCircle: faCheckCircle,
  118005. faCircleStop: faCircleStop,
  118006. faStopCircle: faStopCircle,
  118007. faCompassDrafting: faCompassDrafting,
  118008. faDraftingCompass: faDraftingCompass,
  118009. faPlateWheat: faPlateWheat,
  118010. faIcicles: faIcicles,
  118011. faPersonShelter: faPersonShelter,
  118012. faNeuter: faNeuter,
  118013. faIdBadge: faIdBadge,
  118014. faMarker: faMarker,
  118015. faFaceLaughBeam: faFaceLaughBeam,
  118016. faLaughBeam: faLaughBeam,
  118017. faHelicopterSymbol: faHelicopterSymbol,
  118018. faUniversalAccess: faUniversalAccess,
  118019. faCircleChevronUp: faCircleChevronUp,
  118020. faChevronCircleUp: faChevronCircleUp,
  118021. faLariSign: faLariSign,
  118022. faVolcano: faVolcano,
  118023. faPersonWalkingDashedLineArrowRight: faPersonWalkingDashedLineArrowRight,
  118024. faSterlingSign: faSterlingSign,
  118025. faGbp: faGbp,
  118026. faPoundSign: faPoundSign,
  118027. faViruses: faViruses,
  118028. faSquarePersonConfined: faSquarePersonConfined,
  118029. faUserTie: faUserTie,
  118030. faArrowDownLong: faArrowDownLong,
  118031. faLongArrowDown: faLongArrowDown,
  118032. faTentArrowDownToLine: faTentArrowDownToLine,
  118033. faCertificate: faCertificate,
  118034. faReplyAll: faReplyAll,
  118035. faMailReplyAll: faMailReplyAll,
  118036. faSuitcase: faSuitcase,
  118037. faPersonSkating: faPersonSkating,
  118038. faSkating: faSkating,
  118039. faFilterCircleDollar: faFilterCircleDollar,
  118040. faFunnelDollar: faFunnelDollar,
  118041. faCameraRetro: faCameraRetro,
  118042. faCircleArrowDown: faCircleArrowDown,
  118043. faArrowCircleDown: faArrowCircleDown,
  118044. faFileImport: faFileImport,
  118045. faArrowRightToFile: faArrowRightToFile,
  118046. faSquareArrowUpRight: faSquareArrowUpRight,
  118047. faExternalLinkSquare: faExternalLinkSquare,
  118048. faBoxOpen: faBoxOpen,
  118049. faScroll: faScroll,
  118050. faSpa: faSpa,
  118051. faLocationPinLock: faLocationPinLock,
  118052. faPause: faPause,
  118053. faHillAvalanche: faHillAvalanche,
  118054. faTemperatureEmpty: faTemperatureEmpty,
  118055. faTemperature0: faTemperature0,
  118056. faThermometer0: faThermometer0,
  118057. faThermometerEmpty: faThermometerEmpty,
  118058. faBomb: faBomb,
  118059. faRegistered: faRegistered,
  118060. faAddressCard: faAddressCard,
  118061. faContactCard: faContactCard,
  118062. faVcard: faVcard,
  118063. faScaleUnbalancedFlip: faScaleUnbalancedFlip,
  118064. faBalanceScaleRight: faBalanceScaleRight,
  118065. faSubscript: faSubscript,
  118066. faDiamondTurnRight: faDiamondTurnRight,
  118067. faDirections: faDirections,
  118068. faBurst: faBurst,
  118069. faHouseLaptop: faHouseLaptop,
  118070. faLaptopHouse: faLaptopHouse,
  118071. faFaceTired: faFaceTired,
  118072. faTired: faTired,
  118073. faMoneyBills: faMoneyBills,
  118074. faSmog: faSmog,
  118075. faCrutch: faCrutch,
  118076. faFontAwesome: faFontAwesome,
  118077. faFontAwesomeFlag: faFontAwesomeFlag,
  118078. faFontAwesomeLogoFull: faFontAwesomeLogoFull,
  118079. faCloudArrowUp: faCloudArrowUp,
  118080. faCloudUpload: faCloudUpload,
  118081. faCloudUploadAlt: faCloudUploadAlt,
  118082. faPalette: faPalette,
  118083. faArrowsTurnRight: faArrowsTurnRight,
  118084. faVest: faVest,
  118085. faFerry: faFerry,
  118086. faArrowsDownToPeople: faArrowsDownToPeople,
  118087. faSeedling: faSeedling,
  118088. faSprout: faSprout,
  118089. faLeftRight: faLeftRight,
  118090. faArrowsAltH: faArrowsAltH,
  118091. faBoxesPacking: faBoxesPacking,
  118092. faCircleArrowLeft: faCircleArrowLeft,
  118093. faArrowCircleLeft: faArrowCircleLeft,
  118094. faGroupArrowsRotate: faGroupArrowsRotate,
  118095. faBowlFood: faBowlFood,
  118096. faCandyCane: faCandyCane,
  118097. faArrowDownWideShort: faArrowDownWideShort,
  118098. faSortAmountAsc: faSortAmountAsc,
  118099. faSortAmountDown: faSortAmountDown,
  118100. faCloudBolt: faCloudBolt,
  118101. faThunderstorm: faThunderstorm,
  118102. faTextSlash: faTextSlash,
  118103. faRemoveFormat: faRemoveFormat,
  118104. faFaceSmileWink: faFaceSmileWink,
  118105. faSmileWink: faSmileWink,
  118106. faFileWord: faFileWord,
  118107. faFilePowerpoint: faFilePowerpoint,
  118108. faArrowsLeftRight: faArrowsLeftRight,
  118109. faArrowsH: faArrowsH,
  118110. faHouseLock: faHouseLock,
  118111. faCloudArrowDown: faCloudArrowDown,
  118112. faCloudDownload: faCloudDownload,
  118113. faCloudDownloadAlt: faCloudDownloadAlt,
  118114. faChildren: faChildren,
  118115. faChalkboard: faChalkboard,
  118116. faBlackboard: faBlackboard,
  118117. faUserLargeSlash: faUserLargeSlash,
  118118. faUserAltSlash: faUserAltSlash,
  118119. faEnvelopeOpen: faEnvelopeOpen,
  118120. faHandshakeSimpleSlash: faHandshakeSimpleSlash,
  118121. faHandshakeAltSlash: faHandshakeAltSlash,
  118122. faMattressPillow: faMattressPillow,
  118123. faGuaraniSign: faGuaraniSign,
  118124. faArrowsRotate: faArrowsRotate,
  118125. faRefresh: faRefresh,
  118126. faSync: faSync,
  118127. faFireExtinguisher: faFireExtinguisher,
  118128. faCruzeiroSign: faCruzeiroSign,
  118129. faGreaterThanEqual: faGreaterThanEqual,
  118130. faShieldHalved: faShieldHalved,
  118131. faShieldAlt: faShieldAlt,
  118132. faBookAtlas: faBookAtlas,
  118133. faAtlas: faAtlas,
  118134. faVirus: faVirus,
  118135. faEnvelopeCircleCheck: faEnvelopeCircleCheck,
  118136. faLayerGroup: faLayerGroup,
  118137. faArrowsToDot: faArrowsToDot,
  118138. faArchway: faArchway,
  118139. faHeartCircleCheck: faHeartCircleCheck,
  118140. faHouseChimneyCrack: faHouseChimneyCrack,
  118141. faHouseDamage: faHouseDamage,
  118142. faFileZipper: faFileZipper,
  118143. faFileArchive: faFileArchive,
  118144. faSquare: faSquare,
  118145. faMartiniGlassEmpty: faMartiniGlassEmpty,
  118146. faGlassMartini: faGlassMartini,
  118147. faCouch: faCouch,
  118148. faCediSign: faCediSign,
  118149. faItalic: faItalic,
  118150. faChurch: faChurch,
  118151. faCommentsDollar: faCommentsDollar,
  118152. faDemocrat: faDemocrat,
  118153. faZ: faZ,
  118154. faPersonSkiing: faPersonSkiing,
  118155. faSkiing: faSkiing,
  118156. faRoadLock: faRoadLock,
  118157. faA: faA,
  118158. faTemperatureArrowDown: faTemperatureArrowDown,
  118159. faTemperatureDown: faTemperatureDown,
  118160. faFeatherPointed: faFeatherPointed,
  118161. faFeatherAlt: faFeatherAlt,
  118162. faP: faP,
  118163. faSnowflake: faSnowflake,
  118164. faNewspaper: faNewspaper,
  118165. faRectangleAd: faRectangleAd,
  118166. faAd: faAd,
  118167. faCircleArrowRight: faCircleArrowRight,
  118168. faArrowCircleRight: faArrowCircleRight,
  118169. faFilterCircleXmark: faFilterCircleXmark,
  118170. faLocust: faLocust,
  118171. faSort: faSort,
  118172. faUnsorted: faUnsorted,
  118173. faListOl: faListOl,
  118174. faList12: faList12,
  118175. faListNumeric: faListNumeric,
  118176. faPersonDressBurst: faPersonDressBurst,
  118177. faMoneyCheckDollar: faMoneyCheckDollar,
  118178. faMoneyCheckAlt: faMoneyCheckAlt,
  118179. faVectorSquare: faVectorSquare,
  118180. faBreadSlice: faBreadSlice,
  118181. faLanguage: faLanguage,
  118182. faFaceKissWinkHeart: faFaceKissWinkHeart,
  118183. faKissWinkHeart: faKissWinkHeart,
  118184. faFilter: faFilter,
  118185. faQuestion: faQuestion,
  118186. faFileSignature: faFileSignature,
  118187. faUpDownLeftRight: faUpDownLeftRight,
  118188. faArrowsAlt: faArrowsAlt,
  118189. faHouseChimneyUser: faHouseChimneyUser,
  118190. faHandHoldingHeart: faHandHoldingHeart,
  118191. faPuzzlePiece: faPuzzlePiece,
  118192. faMoneyCheck: faMoneyCheck,
  118193. faStarHalfStroke: faStarHalfStroke,
  118194. faStarHalfAlt: faStarHalfAlt,
  118195. faCode: faCode,
  118196. faWhiskeyGlass: faWhiskeyGlass,
  118197. faGlassWhiskey: faGlassWhiskey,
  118198. faBuildingCircleExclamation: faBuildingCircleExclamation,
  118199. faMagnifyingGlassChart: faMagnifyingGlassChart,
  118200. faArrowUpRightFromSquare: faArrowUpRightFromSquare,
  118201. faExternalLink: faExternalLink,
  118202. faCubesStacked: faCubesStacked,
  118203. faWonSign: faWonSign,
  118204. faKrw: faKrw,
  118205. faWon: faWon,
  118206. faVirusCovid: faVirusCovid,
  118207. faAustralSign: faAustralSign,
  118208. faF: faF,
  118209. faLeaf: faLeaf,
  118210. faRoad: faRoad,
  118211. faTaxi: faTaxi,
  118212. faCab: faCab,
  118213. faPersonCirclePlus: faPersonCirclePlus,
  118214. faChartPie: faChartPie,
  118215. faPieChart: faPieChart,
  118216. faBoltLightning: faBoltLightning,
  118217. faSackXmark: faSackXmark,
  118218. faFileExcel: faFileExcel,
  118219. faFileContract: faFileContract,
  118220. faFishFins: faFishFins,
  118221. faBuildingFlag: faBuildingFlag,
  118222. faFaceGrinBeam: faFaceGrinBeam,
  118223. faGrinBeam: faGrinBeam,
  118224. faObjectUngroup: faObjectUngroup,
  118225. faPoop: faPoop,
  118226. faLocationPin: faLocationPin,
  118227. faMapMarker: faMapMarker,
  118228. faKaaba: faKaaba,
  118229. faToiletPaper: faToiletPaper,
  118230. faHelmetSafety: faHelmetSafety,
  118231. faHardHat: faHardHat,
  118232. faHatHard: faHatHard,
  118233. faEject: faEject,
  118234. faCircleRight: faCircleRight,
  118235. faArrowAltCircleRight: faArrowAltCircleRight,
  118236. faPlaneCircleCheck: faPlaneCircleCheck,
  118237. faFaceRollingEyes: faFaceRollingEyes,
  118238. faMehRollingEyes: faMehRollingEyes,
  118239. faObjectGroup: faObjectGroup,
  118240. faChartLine: faChartLine,
  118241. faLineChart: faLineChart,
  118242. faMaskVentilator: faMaskVentilator,
  118243. faArrowRight: faArrowRight,
  118244. faSignsPost: faSignsPost,
  118245. faMapSigns: faMapSigns,
  118246. faCashRegister: faCashRegister,
  118247. faPersonCircleQuestion: faPersonCircleQuestion,
  118248. faH: faH,
  118249. faTarp: faTarp,
  118250. faScrewdriverWrench: faScrewdriverWrench,
  118251. faTools: faTools,
  118252. faArrowsToEye: faArrowsToEye,
  118253. faPlugCircleBolt: faPlugCircleBolt,
  118254. faHeart: faHeart,
  118255. faMarsAndVenus: faMarsAndVenus,
  118256. faHouseUser: faHouseUser,
  118257. faHomeUser: faHomeUser,
  118258. faDumpsterFire: faDumpsterFire,
  118259. faHouseCrack: faHouseCrack,
  118260. faMartiniGlassCitrus: faMartiniGlassCitrus,
  118261. faCocktail: faCocktail,
  118262. faFaceSurprise: faFaceSurprise,
  118263. faSurprise: faSurprise,
  118264. faBottleWater: faBottleWater,
  118265. faCirclePause: faCirclePause,
  118266. faPauseCircle: faPauseCircle,
  118267. faToiletPaperSlash: faToiletPaperSlash,
  118268. faAppleWhole: faAppleWhole,
  118269. faAppleAlt: faAppleAlt,
  118270. faKitchenSet: faKitchenSet,
  118271. faR: faR,
  118272. faTemperatureQuarter: faTemperatureQuarter,
  118273. faTemperature1: faTemperature1,
  118274. faThermometer1: faThermometer1,
  118275. faThermometerQuarter: faThermometerQuarter,
  118276. faCube: faCube,
  118277. faBitcoinSign: faBitcoinSign,
  118278. faShieldDog: faShieldDog,
  118279. faSolarPanel: faSolarPanel,
  118280. faLockOpen: faLockOpen,
  118281. faElevator: faElevator,
  118282. faMoneyBillTransfer: faMoneyBillTransfer,
  118283. faMoneyBillTrendUp: faMoneyBillTrendUp,
  118284. faHouseFloodWaterCircleArrowRight: faHouseFloodWaterCircleArrowRight,
  118285. faSquarePollHorizontal: faSquarePollHorizontal,
  118286. faPollH: faPollH,
  118287. faCircle: faCircle,
  118288. faBackwardFast: faBackwardFast,
  118289. faFastBackward: faFastBackward,
  118290. faRecycle: faRecycle,
  118291. faUserAstronaut: faUserAstronaut,
  118292. faPlaneSlash: faPlaneSlash,
  118293. faTrademark: faTrademark,
  118294. faBasketball: faBasketball,
  118295. faBasketballBall: faBasketballBall,
  118296. faSatelliteDish: faSatelliteDish,
  118297. faCircleUp: faCircleUp,
  118298. faArrowAltCircleUp: faArrowAltCircleUp,
  118299. faMobileScreenButton: faMobileScreenButton,
  118300. faMobileAlt: faMobileAlt,
  118301. faVolumeHigh: faVolumeHigh,
  118302. faVolumeUp: faVolumeUp,
  118303. faUsersRays: faUsersRays,
  118304. faWallet: faWallet,
  118305. faClipboardCheck: faClipboardCheck,
  118306. faFileAudio: faFileAudio,
  118307. faBurger: faBurger,
  118308. faHamburger: faHamburger,
  118309. faWrench: faWrench,
  118310. faBugs: faBugs,
  118311. faRupeeSign: faRupeeSign,
  118312. faRupee: faRupee,
  118313. faFileImage: faFileImage,
  118314. faCircleQuestion: faCircleQuestion,
  118315. faQuestionCircle: faQuestionCircle,
  118316. faPlaneDeparture: faPlaneDeparture,
  118317. faHandshakeSlash: faHandshakeSlash,
  118318. faBookBookmark: faBookBookmark,
  118319. faCodeBranch: faCodeBranch,
  118320. faHatCowboy: faHatCowboy,
  118321. faBridge: faBridge,
  118322. faPhoneFlip: faPhoneFlip,
  118323. faPhoneAlt: faPhoneAlt,
  118324. faTruckFront: faTruckFront,
  118325. faCat: faCat,
  118326. faAnchorCircleExclamation: faAnchorCircleExclamation,
  118327. faTruckField: faTruckField,
  118328. faRoute: faRoute,
  118329. faClipboardQuestion: faClipboardQuestion,
  118330. faPanorama: faPanorama,
  118331. faCommentMedical: faCommentMedical,
  118332. faTeethOpen: faTeethOpen,
  118333. faFileCircleMinus: faFileCircleMinus,
  118334. faTags: faTags,
  118335. faWineGlass: faWineGlass,
  118336. faForwardFast: faForwardFast,
  118337. faFastForward: faFastForward,
  118338. faFaceMehBlank: faFaceMehBlank,
  118339. faMehBlank: faMehBlank,
  118340. faSquareParking: faSquareParking,
  118341. faParking: faParking,
  118342. faHouseSignal: faHouseSignal,
  118343. faBarsProgress: faBarsProgress,
  118344. faTasksAlt: faTasksAlt,
  118345. faFaucetDrip: faFaucetDrip,
  118346. faCartFlatbed: faCartFlatbed,
  118347. faDollyFlatbed: faDollyFlatbed,
  118348. faBanSmoking: faBanSmoking,
  118349. faSmokingBan: faSmokingBan,
  118350. faTerminal: faTerminal,
  118351. faMobileButton: faMobileButton,
  118352. faHouseMedicalFlag: faHouseMedicalFlag,
  118353. faBasketShopping: faBasketShopping,
  118354. faShoppingBasket: faShoppingBasket,
  118355. faTape: faTape,
  118356. faBusSimple: faBusSimple,
  118357. faBusAlt: faBusAlt,
  118358. faEye: faEye,
  118359. faFaceSadCry: faFaceSadCry,
  118360. faSadCry: faSadCry,
  118361. faAudioDescription: faAudioDescription,
  118362. faPersonMilitaryToPerson: faPersonMilitaryToPerson,
  118363. faFileShield: faFileShield,
  118364. faUserSlash: faUserSlash,
  118365. faPen: faPen,
  118366. faTowerObservation: faTowerObservation,
  118367. faFileCode: faFileCode,
  118368. faSignal: faSignal,
  118369. faSignal5: faSignal5,
  118370. faSignalPerfect: faSignalPerfect,
  118371. faBus: faBus,
  118372. faHeartCircleXmark: faHeartCircleXmark,
  118373. faHouseChimney: faHouseChimney,
  118374. faHomeLg: faHomeLg,
  118375. faWindowMaximize: faWindowMaximize,
  118376. faFaceFrown: faFaceFrown,
  118377. faFrown: faFrown,
  118378. faPrescription: faPrescription,
  118379. faShop: faShop,
  118380. faStoreAlt: faStoreAlt,
  118381. faFloppyDisk: faFloppyDisk,
  118382. faSave: faSave,
  118383. faVihara: faVihara,
  118384. faScaleUnbalanced: faScaleUnbalanced,
  118385. faBalanceScaleLeft: faBalanceScaleLeft,
  118386. faSortUp: faSortUp,
  118387. faSortAsc: faSortAsc,
  118388. faCommentDots: faCommentDots,
  118389. faCommenting: faCommenting,
  118390. faPlantWilt: faPlantWilt,
  118391. faDiamond: faDiamond,
  118392. faFaceGrinSquint: faFaceGrinSquint,
  118393. faGrinSquint: faGrinSquint,
  118394. faHandHoldingDollar: faHandHoldingDollar,
  118395. faHandHoldingUsd: faHandHoldingUsd,
  118396. faBacterium: faBacterium,
  118397. faHandPointer: faHandPointer,
  118398. faDrumSteelpan: faDrumSteelpan,
  118399. faHandScissors: faHandScissors,
  118400. faHandsPraying: faHandsPraying,
  118401. faPrayingHands: faPrayingHands,
  118402. faArrowRotateRight: faArrowRotateRight,
  118403. faArrowRightRotate: faArrowRightRotate,
  118404. faArrowRotateForward: faArrowRotateForward,
  118405. faRedo: faRedo,
  118406. faBiohazard: faBiohazard,
  118407. faLocationCrosshairs: faLocationCrosshairs,
  118408. faLocation: faLocation,
  118409. faMarsDouble: faMarsDouble,
  118410. faChildDress: faChildDress,
  118411. faUsersBetweenLines: faUsersBetweenLines,
  118412. faLungsVirus: faLungsVirus,
  118413. faFaceGrinTears: faFaceGrinTears,
  118414. faGrinTears: faGrinTears,
  118415. faPhone: faPhone,
  118416. faCalendarXmark: faCalendarXmark,
  118417. faCalendarTimes: faCalendarTimes,
  118418. faChildReaching: faChildReaching,
  118419. faHeadSideVirus: faHeadSideVirus,
  118420. faUserGear: faUserGear,
  118421. faUserCog: faUserCog,
  118422. faArrowUp19: faArrowUp19,
  118423. faSortNumericUp: faSortNumericUp,
  118424. faDoorClosed: faDoorClosed,
  118425. faShieldVirus: faShieldVirus,
  118426. faDiceSix: faDiceSix,
  118427. faMosquitoNet: faMosquitoNet,
  118428. faBridgeWater: faBridgeWater,
  118429. faPersonBooth: faPersonBooth,
  118430. faTextWidth: faTextWidth,
  118431. faHatWizard: faHatWizard,
  118432. faPenFancy: faPenFancy,
  118433. faPersonDigging: faPersonDigging,
  118434. faDigging: faDigging,
  118435. faTrash: faTrash,
  118436. faGaugeSimple: faGaugeSimple,
  118437. faGaugeSimpleMed: faGaugeSimpleMed,
  118438. faTachometerAverage: faTachometerAverage,
  118439. faBookMedical: faBookMedical,
  118440. faPoo: faPoo,
  118441. faQuoteRight: faQuoteRight,
  118442. faQuoteRightAlt: faQuoteRightAlt,
  118443. faShirt: faShirt,
  118444. faTShirt: faTShirt,
  118445. faTshirt: faTshirt,
  118446. faCubes: faCubes,
  118447. faDivide: faDivide,
  118448. faTengeSign: faTengeSign,
  118449. faTenge: faTenge,
  118450. faHeadphones: faHeadphones,
  118451. faHandsHolding: faHandsHolding,
  118452. faHandsClapping: faHandsClapping,
  118453. faRepublican: faRepublican,
  118454. faArrowLeft: faArrowLeft,
  118455. faPersonCircleXmark: faPersonCircleXmark,
  118456. faRuler: faRuler,
  118457. faAlignLeft: faAlignLeft,
  118458. faDiceD6: faDiceD6,
  118459. faRestroom: faRestroom,
  118460. faJ: faJ,
  118461. faUsersViewfinder: faUsersViewfinder,
  118462. faFileVideo: faFileVideo,
  118463. faUpRightFromSquare: faUpRightFromSquare,
  118464. faExternalLinkAlt: faExternalLinkAlt,
  118465. faTableCells: faTableCells,
  118466. faTh: faTh,
  118467. faFilePdf: faFilePdf,
  118468. faBookBible: faBookBible,
  118469. faBible: faBible,
  118470. faO: faO,
  118471. faSuitcaseMedical: faSuitcaseMedical,
  118472. faMedkit: faMedkit,
  118473. faUserSecret: faUserSecret,
  118474. faOtter: faOtter,
  118475. faPersonDress: faPersonDress,
  118476. faFemale: faFemale,
  118477. faCommentDollar: faCommentDollar,
  118478. faBusinessTime: faBusinessTime,
  118479. faBriefcaseClock: faBriefcaseClock,
  118480. faTableCellsLarge: faTableCellsLarge,
  118481. faThLarge: faThLarge,
  118482. faBookTanakh: faBookTanakh,
  118483. faTanakh: faTanakh,
  118484. faPhoneVolume: faPhoneVolume,
  118485. faVolumeControlPhone: faVolumeControlPhone,
  118486. faHatCowboySide: faHatCowboySide,
  118487. faClipboardUser: faClipboardUser,
  118488. faChild: faChild,
  118489. faLiraSign: faLiraSign,
  118490. faSatellite: faSatellite,
  118491. faPlaneLock: faPlaneLock,
  118492. faTag: faTag,
  118493. faComment: faComment,
  118494. faCakeCandles: faCakeCandles,
  118495. faBirthdayCake: faBirthdayCake,
  118496. faCake: faCake,
  118497. faEnvelope: faEnvelope,
  118498. faAnglesUp: faAnglesUp,
  118499. faAngleDoubleUp: faAngleDoubleUp,
  118500. faPaperclip: faPaperclip,
  118501. faArrowRightToCity: faArrowRightToCity,
  118502. faRibbon: faRibbon,
  118503. faLungs: faLungs,
  118504. faArrowUp91: faArrowUp91,
  118505. faSortNumericUpAlt: faSortNumericUpAlt,
  118506. faLitecoinSign: faLitecoinSign,
  118507. faBorderNone: faBorderNone,
  118508. faCircleNodes: faCircleNodes,
  118509. faParachuteBox: faParachuteBox,
  118510. faIndent: faIndent,
  118511. faTruckFieldUn: faTruckFieldUn,
  118512. faHourglass: faHourglass,
  118513. faHourglassEmpty: faHourglassEmpty,
  118514. faMountain: faMountain,
  118515. faUserDoctor: faUserDoctor,
  118516. faUserMd: faUserMd,
  118517. faCircleInfo: faCircleInfo,
  118518. faInfoCircle: faInfoCircle,
  118519. faCloudMeatball: faCloudMeatball,
  118520. faCamera: faCamera,
  118521. faCameraAlt: faCameraAlt,
  118522. faSquareVirus: faSquareVirus,
  118523. faMeteor: faMeteor,
  118524. faCarOn: faCarOn,
  118525. faSleigh: faSleigh,
  118526. faArrowDown19: faArrowDown19,
  118527. faSortNumericAsc: faSortNumericAsc,
  118528. faSortNumericDown: faSortNumericDown,
  118529. faHandHoldingDroplet: faHandHoldingDroplet,
  118530. faHandHoldingWater: faHandHoldingWater,
  118531. faWater: faWater,
  118532. faCalendarCheck: faCalendarCheck,
  118533. faBraille: faBraille,
  118534. faPrescriptionBottleMedical: faPrescriptionBottleMedical,
  118535. faPrescriptionBottleAlt: faPrescriptionBottleAlt,
  118536. faLandmark: faLandmark,
  118537. faTruck: faTruck,
  118538. faCrosshairs: faCrosshairs,
  118539. faPersonCane: faPersonCane,
  118540. faTent: faTent,
  118541. faVestPatches: faVestPatches,
  118542. faCheckDouble: faCheckDouble,
  118543. faArrowDownAZ: faArrowDownAZ,
  118544. faSortAlphaAsc: faSortAlphaAsc,
  118545. faSortAlphaDown: faSortAlphaDown,
  118546. faMoneyBillWheat: faMoneyBillWheat,
  118547. faCookie: faCookie,
  118548. faArrowRotateLeft: faArrowRotateLeft,
  118549. faArrowLeftRotate: faArrowLeftRotate,
  118550. faArrowRotateBack: faArrowRotateBack,
  118551. faArrowRotateBackward: faArrowRotateBackward,
  118552. faUndo: faUndo,
  118553. faHardDrive: faHardDrive,
  118554. faHdd: faHdd,
  118555. faFaceGrinSquintTears: faFaceGrinSquintTears,
  118556. faGrinSquintTears: faGrinSquintTears,
  118557. faDumbbell: faDumbbell,
  118558. faRectangleList: faRectangleList,
  118559. faListAlt: faListAlt,
  118560. faTarpDroplet: faTarpDroplet,
  118561. faHouseMedicalCircleCheck: faHouseMedicalCircleCheck,
  118562. faPersonSkiingNordic: faPersonSkiingNordic,
  118563. faSkiingNordic: faSkiingNordic,
  118564. faCalendarPlus: faCalendarPlus,
  118565. faPlaneArrival: faPlaneArrival,
  118566. faCircleLeft: faCircleLeft,
  118567. faArrowAltCircleLeft: faArrowAltCircleLeft,
  118568. faTrainSubway: faTrainSubway,
  118569. faSubway: faSubway,
  118570. faChartGantt: faChartGantt,
  118571. faIndianRupeeSign: faIndianRupeeSign,
  118572. faIndianRupee: faIndianRupee,
  118573. faInr: faInr,
  118574. faCropSimple: faCropSimple,
  118575. faCropAlt: faCropAlt,
  118576. faMoneyBill1: faMoneyBill1,
  118577. faMoneyBillAlt: faMoneyBillAlt,
  118578. faLeftLong: faLeftLong,
  118579. faLongArrowAltLeft: faLongArrowAltLeft,
  118580. faDna: faDna,
  118581. faVirusSlash: faVirusSlash,
  118582. faMinus: faMinus,
  118583. faSubtract: faSubtract,
  118584. faChildRifle: faChildRifle,
  118585. faChess: faChess,
  118586. faArrowLeftLong: faArrowLeftLong,
  118587. faLongArrowLeft: faLongArrowLeft,
  118588. faPlugCircleCheck: faPlugCircleCheck,
  118589. faStreetView: faStreetView,
  118590. faFrancSign: faFrancSign,
  118591. faVolumeOff: faVolumeOff,
  118592. faHandsAslInterpreting: faHandsAslInterpreting,
  118593. faAmericanSignLanguageInterpreting: faAmericanSignLanguageInterpreting,
  118594. faAslInterpreting: faAslInterpreting,
  118595. faHandsAmericanSignLanguageInterpreting: faHandsAmericanSignLanguageInterpreting,
  118596. faGear: faGear,
  118597. faCog: faCog,
  118598. faDropletSlash: faDropletSlash,
  118599. faTintSlash: faTintSlash,
  118600. faMosque: faMosque,
  118601. faMosquito: faMosquito,
  118602. faStarOfDavid: faStarOfDavid,
  118603. faPersonMilitaryRifle: faPersonMilitaryRifle,
  118604. faCartShopping: faCartShopping,
  118605. faShoppingCart: faShoppingCart,
  118606. faVials: faVials,
  118607. faPlugCirclePlus: faPlugCirclePlus,
  118608. faPlaceOfWorship: faPlaceOfWorship,
  118609. faGripVertical: faGripVertical,
  118610. faArrowTurnUp: faArrowTurnUp,
  118611. faLevelUp: faLevelUp,
  118612. faU: faU,
  118613. faSquareRootVariable: faSquareRootVariable,
  118614. faSquareRootAlt: faSquareRootAlt,
  118615. faClock: faClock,
  118616. faClockFour: faClockFour,
  118617. faBackwardStep: faBackwardStep,
  118618. faStepBackward: faStepBackward,
  118619. faPallet: faPallet,
  118620. faFaucet: faFaucet,
  118621. faBaseballBatBall: faBaseballBatBall,
  118622. faS: faS,
  118623. faTimeline: faTimeline,
  118624. faKeyboard: faKeyboard,
  118625. faCaretDown: faCaretDown,
  118626. faHouseChimneyMedical: faHouseChimneyMedical,
  118627. faClinicMedical: faClinicMedical,
  118628. faTemperatureThreeQuarters: faTemperatureThreeQuarters,
  118629. faTemperature3: faTemperature3,
  118630. faThermometer3: faThermometer3,
  118631. faThermometerThreeQuarters: faThermometerThreeQuarters,
  118632. faMobileScreen: faMobileScreen,
  118633. faMobileAndroidAlt: faMobileAndroidAlt,
  118634. faPlaneUp: faPlaneUp,
  118635. faPiggyBank: faPiggyBank,
  118636. faBatteryHalf: faBatteryHalf,
  118637. faBattery3: faBattery3,
  118638. faMountainCity: faMountainCity,
  118639. faCoins: faCoins,
  118640. faKhanda: faKhanda,
  118641. faSliders: faSliders,
  118642. faSlidersH: faSlidersH,
  118643. faFolderTree: faFolderTree,
  118644. faNetworkWired: faNetworkWired,
  118645. faMapPin: faMapPin,
  118646. faHamsa: faHamsa,
  118647. faCentSign: faCentSign,
  118648. faFlask: faFlask,
  118649. faPersonPregnant: faPersonPregnant,
  118650. faWandSparkles: faWandSparkles,
  118651. faEllipsisVertical: faEllipsisVertical,
  118652. faEllipsisV: faEllipsisV,
  118653. faTicket: faTicket,
  118654. faPowerOff: faPowerOff,
  118655. faRightLong: faRightLong,
  118656. faLongArrowAltRight: faLongArrowAltRight,
  118657. faFlagUsa: faFlagUsa,
  118658. faLaptopFile: faLaptopFile,
  118659. faTty: faTty,
  118660. faTeletype: faTeletype,
  118661. faDiagramNext: faDiagramNext,
  118662. faPersonRifle: faPersonRifle,
  118663. faHouseMedicalCircleExclamation: faHouseMedicalCircleExclamation,
  118664. faClosedCaptioning: faClosedCaptioning,
  118665. faPersonHiking: faPersonHiking,
  118666. faHiking: faHiking,
  118667. faVenusDouble: faVenusDouble,
  118668. faImages: faImages,
  118669. faCalculator: faCalculator,
  118670. faPeoplePulling: faPeoplePulling,
  118671. faN: faN,
  118672. faCableCar: faCableCar,
  118673. faTram: faTram,
  118674. faCloudRain: faCloudRain,
  118675. faBuildingCircleXmark: faBuildingCircleXmark,
  118676. faShip: faShip,
  118677. faArrowsDownToLine: faArrowsDownToLine,
  118678. faDownload: faDownload,
  118679. faFaceGrin: faFaceGrin,
  118680. faGrin: faGrin,
  118681. faDeleteLeft: faDeleteLeft,
  118682. faBackspace: faBackspace,
  118683. faEyeDropper: faEyeDropper,
  118684. faEyeDropperEmpty: faEyeDropperEmpty,
  118685. faEyedropper: faEyedropper,
  118686. faFileCircleCheck: faFileCircleCheck,
  118687. faForward: faForward,
  118688. faMobile: faMobile,
  118689. faMobileAndroid: faMobileAndroid,
  118690. faMobilePhone: faMobilePhone,
  118691. faFaceMeh: faFaceMeh,
  118692. faMeh: faMeh,
  118693. faAlignCenter: faAlignCenter,
  118694. faBookSkull: faBookSkull,
  118695. faBookDead: faBookDead,
  118696. faIdCard: faIdCard,
  118697. faDriversLicense: faDriversLicense,
  118698. faOutdent: faOutdent,
  118699. faDedent: faDedent,
  118700. faHeartCircleExclamation: faHeartCircleExclamation,
  118701. faHouse: faHouse,
  118702. faHome: faHome,
  118703. faHomeAlt: faHomeAlt,
  118704. faHomeLgAlt: faHomeLgAlt,
  118705. faCalendarWeek: faCalendarWeek,
  118706. faLaptopMedical: faLaptopMedical,
  118707. faB: faB,
  118708. faFileMedical: faFileMedical,
  118709. faDiceOne: faDiceOne,
  118710. faKiwiBird: faKiwiBird,
  118711. faArrowRightArrowLeft: faArrowRightArrowLeft,
  118712. faExchange: faExchange,
  118713. faRotateRight: faRotateRight,
  118714. faRedoAlt: faRedoAlt,
  118715. faRotateForward: faRotateForward,
  118716. faUtensils: faUtensils,
  118717. faCutlery: faCutlery,
  118718. faArrowUpWideShort: faArrowUpWideShort,
  118719. faSortAmountUp: faSortAmountUp,
  118720. faMillSign: faMillSign,
  118721. faBowlRice: faBowlRice,
  118722. faSkull: faSkull,
  118723. faTowerBroadcast: faTowerBroadcast,
  118724. faBroadcastTower: faBroadcastTower,
  118725. faTruckPickup: faTruckPickup,
  118726. faUpLong: faUpLong,
  118727. faLongArrowAltUp: faLongArrowAltUp,
  118728. faStop: faStop,
  118729. faCodeMerge: faCodeMerge,
  118730. faUpload: faUpload,
  118731. faHurricane: faHurricane,
  118732. faMound: faMound,
  118733. faToiletPortable: faToiletPortable,
  118734. faCompactDisc: faCompactDisc,
  118735. faFileArrowDown: faFileArrowDown,
  118736. faFileDownload: faFileDownload,
  118737. faCaravan: faCaravan,
  118738. faShieldCat: faShieldCat,
  118739. faBolt: faBolt,
  118740. faZap: faZap,
  118741. faGlassWater: faGlassWater,
  118742. faOilWell: faOilWell,
  118743. faVault: faVault,
  118744. faMars: faMars,
  118745. faToilet: faToilet,
  118746. faPlaneCircleXmark: faPlaneCircleXmark,
  118747. faYenSign: faYenSign,
  118748. faCny: faCny,
  118749. faJpy: faJpy,
  118750. faRmb: faRmb,
  118751. faYen: faYen,
  118752. faRubleSign: faRubleSign,
  118753. faRouble: faRouble,
  118754. faRub: faRub,
  118755. faRuble: faRuble,
  118756. faSun: faSun,
  118757. faGuitar: faGuitar,
  118758. faFaceLaughWink: faFaceLaughWink,
  118759. faLaughWink: faLaughWink,
  118760. faHorseHead: faHorseHead,
  118761. faBoreHole: faBoreHole,
  118762. faIndustry: faIndustry,
  118763. faCircleDown: faCircleDown,
  118764. faArrowAltCircleDown: faArrowAltCircleDown,
  118765. faArrowsTurnToDots: faArrowsTurnToDots,
  118766. faFlorinSign: faFlorinSign,
  118767. faArrowDownShortWide: faArrowDownShortWide,
  118768. faSortAmountDesc: faSortAmountDesc,
  118769. faSortAmountDownAlt: faSortAmountDownAlt,
  118770. faLessThan: faLessThan,
  118771. faAngleDown: faAngleDown,
  118772. faCarTunnel: faCarTunnel,
  118773. faHeadSideCough: faHeadSideCough,
  118774. faGripLines: faGripLines,
  118775. faThumbsDown: faThumbsDown,
  118776. faUserLock: faUserLock,
  118777. faArrowRightLong: faArrowRightLong,
  118778. faLongArrowRight: faLongArrowRight,
  118779. faAnchorCircleXmark: faAnchorCircleXmark,
  118780. faEllipsis: faEllipsis,
  118781. faEllipsisH: faEllipsisH,
  118782. faChessPawn: faChessPawn,
  118783. faKitMedical: faKitMedical,
  118784. faFirstAid: faFirstAid,
  118785. faPersonThroughWindow: faPersonThroughWindow,
  118786. faToolbox: faToolbox,
  118787. faHandsHoldingCircle: faHandsHoldingCircle,
  118788. faBug: faBug,
  118789. faCreditCard: faCreditCard,
  118790. faCreditCardAlt: faCreditCardAlt,
  118791. faCar: faCar,
  118792. faAutomobile: faAutomobile,
  118793. faHandHoldingHand: faHandHoldingHand,
  118794. faBookOpenReader: faBookOpenReader,
  118795. faBookReader: faBookReader,
  118796. faMountainSun: faMountainSun,
  118797. faArrowsLeftRightToLine: faArrowsLeftRightToLine,
  118798. faDiceD20: faDiceD20,
  118799. faTruckDroplet: faTruckDroplet,
  118800. faFileCircleXmark: faFileCircleXmark,
  118801. faTemperatureArrowUp: faTemperatureArrowUp,
  118802. faTemperatureUp: faTemperatureUp,
  118803. faMedal: faMedal,
  118804. faBed: faBed,
  118805. faSquareH: faSquareH,
  118806. faHSquare: faHSquare,
  118807. faPodcast: faPodcast,
  118808. faTemperatureFull: faTemperatureFull,
  118809. faTemperature4: faTemperature4,
  118810. faThermometer4: faThermometer4,
  118811. faThermometerFull: faThermometerFull,
  118812. faBell: faBell,
  118813. faSuperscript: faSuperscript,
  118814. faPlugCircleXmark: faPlugCircleXmark,
  118815. faStarOfLife: faStarOfLife,
  118816. faPhoneSlash: faPhoneSlash,
  118817. faPaintRoller: faPaintRoller,
  118818. faHandshakeAngle: faHandshakeAngle,
  118819. faHandsHelping: faHandsHelping,
  118820. faLocationDot: faLocationDot,
  118821. faMapMarkerAlt: faMapMarkerAlt,
  118822. faFile: faFile,
  118823. faGreaterThan: faGreaterThan,
  118824. faPersonSwimming: faPersonSwimming,
  118825. faSwimmer: faSwimmer,
  118826. faArrowDown: faArrowDown,
  118827. faDroplet: faDroplet,
  118828. faTint: faTint,
  118829. faEraser: faEraser,
  118830. faEarthAmericas: faEarthAmericas,
  118831. faEarth: faEarth,
  118832. faEarthAmerica: faEarthAmerica,
  118833. faGlobeAmericas: faGlobeAmericas,
  118834. faPersonBurst: faPersonBurst,
  118835. faDove: faDove,
  118836. faBatteryEmpty: faBatteryEmpty,
  118837. faBattery0: faBattery0,
  118838. faSocks: faSocks,
  118839. faInbox: faInbox,
  118840. faSection: faSection,
  118841. faGaugeHigh: faGaugeHigh,
  118842. faTachometerAlt: faTachometerAlt,
  118843. faTachometerAltFast: faTachometerAltFast,
  118844. faEnvelopeOpenText: faEnvelopeOpenText,
  118845. faHospital: faHospital,
  118846. faHospitalAlt: faHospitalAlt,
  118847. faHospitalWide: faHospitalWide,
  118848. faWineBottle: faWineBottle,
  118849. faChessRook: faChessRook,
  118850. faBarsStaggered: faBarsStaggered,
  118851. faReorder: faReorder,
  118852. faStream: faStream,
  118853. faDharmachakra: faDharmachakra,
  118854. faHotdog: faHotdog,
  118855. faPersonWalkingWithCane: faPersonWalkingWithCane,
  118856. faBlind: faBlind,
  118857. faDrum: faDrum,
  118858. faIceCream: faIceCream,
  118859. faHeartCircleBolt: faHeartCircleBolt,
  118860. faFax: faFax,
  118861. faParagraph: faParagraph,
  118862. faCheckToSlot: faCheckToSlot,
  118863. faVoteYea: faVoteYea,
  118864. faStarHalf: faStarHalf,
  118865. faBoxesStacked: faBoxesStacked,
  118866. faBoxes: faBoxes,
  118867. faBoxesAlt: faBoxesAlt,
  118868. faLink: faLink,
  118869. faChain: faChain,
  118870. faEarListen: faEarListen,
  118871. faAssistiveListeningSystems: faAssistiveListeningSystems,
  118872. faTreeCity: faTreeCity,
  118873. faPlay: faPlay,
  118874. faFont: faFont,
  118875. faRupiahSign: faRupiahSign,
  118876. faMagnifyingGlass: faMagnifyingGlass,
  118877. faSearch: faSearch,
  118878. faTableTennisPaddleBall: faTableTennisPaddleBall,
  118879. faPingPongPaddleBall: faPingPongPaddleBall,
  118880. faTableTennis: faTableTennis,
  118881. faPersonDotsFromLine: faPersonDotsFromLine,
  118882. faDiagnoses: faDiagnoses,
  118883. faTrashCanArrowUp: faTrashCanArrowUp,
  118884. faTrashRestoreAlt: faTrashRestoreAlt,
  118885. faNairaSign: faNairaSign,
  118886. faCartArrowDown: faCartArrowDown,
  118887. faWalkieTalkie: faWalkieTalkie,
  118888. faFilePen: faFilePen,
  118889. faFileEdit: faFileEdit,
  118890. faReceipt: faReceipt,
  118891. faSquarePen: faSquarePen,
  118892. faPenSquare: faPenSquare,
  118893. faPencilSquare: faPencilSquare,
  118894. faSuitcaseRolling: faSuitcaseRolling,
  118895. faPersonCircleExclamation: faPersonCircleExclamation,
  118896. faChevronDown: faChevronDown,
  118897. faBatteryFull: faBatteryFull,
  118898. faBattery: faBattery,
  118899. faBattery5: faBattery5,
  118900. faSkullCrossbones: faSkullCrossbones,
  118901. faCodeCompare: faCodeCompare,
  118902. faListUl: faListUl,
  118903. faListDots: faListDots,
  118904. faSchoolLock: faSchoolLock,
  118905. faTowerCell: faTowerCell,
  118906. faDownLong: faDownLong,
  118907. faLongArrowAltDown: faLongArrowAltDown,
  118908. faRankingStar: faRankingStar,
  118909. faChessKing: faChessKing,
  118910. faPersonHarassing: faPersonHarassing,
  118911. faBrazilianRealSign: faBrazilianRealSign,
  118912. faLandmarkDome: faLandmarkDome,
  118913. faLandmarkAlt: faLandmarkAlt,
  118914. faArrowUp: faArrowUp,
  118915. faTv: faTv,
  118916. faTelevision: faTelevision,
  118917. faTvAlt: faTvAlt,
  118918. faShrimp: faShrimp,
  118919. faListCheck: faListCheck,
  118920. faTasks: faTasks,
  118921. faJugDetergent: faJugDetergent,
  118922. faCircleUser: faCircleUser,
  118923. faUserCircle: faUserCircle,
  118924. faUserShield: faUserShield,
  118925. faWind: faWind,
  118926. faCarBurst: faCarBurst,
  118927. faCarCrash: faCarCrash,
  118928. faY: faY,
  118929. faPersonSnowboarding: faPersonSnowboarding,
  118930. faSnowboarding: faSnowboarding,
  118931. faTruckFast: faTruckFast,
  118932. faShippingFast: faShippingFast,
  118933. faFish: faFish,
  118934. faUserGraduate: faUserGraduate,
  118935. faCircleHalfStroke: faCircleHalfStroke,
  118936. faAdjust: faAdjust,
  118937. faClapperboard: faClapperboard,
  118938. faCircleRadiation: faCircleRadiation,
  118939. faRadiationAlt: faRadiationAlt,
  118940. faBaseball: faBaseball,
  118941. faBaseballBall: faBaseballBall,
  118942. faJetFighterUp: faJetFighterUp,
  118943. faDiagramProject: faDiagramProject,
  118944. faProjectDiagram: faProjectDiagram,
  118945. faCopy: faCopy,
  118946. faVolumeXmark: faVolumeXmark,
  118947. faVolumeMute: faVolumeMute,
  118948. faVolumeTimes: faVolumeTimes,
  118949. faHandSparkles: faHandSparkles,
  118950. faGrip: faGrip,
  118951. faGripHorizontal: faGripHorizontal,
  118952. faShareFromSquare: faShareFromSquare,
  118953. faShareSquare: faShareSquare,
  118954. faGun: faGun,
  118955. faSquarePhone: faSquarePhone,
  118956. faPhoneSquare: faPhoneSquare,
  118957. faPlus: faPlus,
  118958. faAdd: faAdd,
  118959. faExpand: faExpand,
  118960. faComputer: faComputer,
  118961. faXmark: faXmark,
  118962. faClose: faClose,
  118963. faMultiply: faMultiply,
  118964. faRemove: faRemove,
  118965. faTimes: faTimes,
  118966. faArrowsUpDownLeftRight: faArrowsUpDownLeftRight,
  118967. faArrows: faArrows,
  118968. faChalkboardUser: faChalkboardUser,
  118969. faChalkboardTeacher: faChalkboardTeacher,
  118970. faPesoSign: faPesoSign,
  118971. faBuildingShield: faBuildingShield,
  118972. faBaby: faBaby,
  118973. faUsersLine: faUsersLine,
  118974. faQuoteLeft: faQuoteLeft,
  118975. faQuoteLeftAlt: faQuoteLeftAlt,
  118976. faTractor: faTractor,
  118977. faTrashArrowUp: faTrashArrowUp,
  118978. faTrashRestore: faTrashRestore,
  118979. faArrowDownUpLock: faArrowDownUpLock,
  118980. faLinesLeaning: faLinesLeaning,
  118981. faRulerCombined: faRulerCombined,
  118982. faCopyright: faCopyright,
  118983. faEquals: faEquals,
  118984. faBlender: faBlender,
  118985. faTeeth: faTeeth,
  118986. faShekelSign: faShekelSign,
  118987. faIls: faIls,
  118988. faShekel: faShekel,
  118989. faSheqel: faSheqel,
  118990. faSheqelSign: faSheqelSign,
  118991. faMap: faMap,
  118992. faRocket: faRocket,
  118993. faPhotoFilm: faPhotoFilm,
  118994. faPhotoVideo: faPhotoVideo,
  118995. faFolderMinus: faFolderMinus,
  118996. faStore: faStore,
  118997. faArrowTrendUp: faArrowTrendUp,
  118998. faPlugCircleMinus: faPlugCircleMinus,
  118999. faSignHanging: faSignHanging,
  119000. faSign: faSign,
  119001. faBezierCurve: faBezierCurve,
  119002. faBellSlash: faBellSlash,
  119003. faTablet: faTablet,
  119004. faTabletAndroid: faTabletAndroid,
  119005. faSchoolFlag: faSchoolFlag,
  119006. faFill: faFill,
  119007. faAngleUp: faAngleUp,
  119008. faDrumstickBite: faDrumstickBite,
  119009. faHollyBerry: faHollyBerry,
  119010. faChevronLeft: faChevronLeft,
  119011. faBacteria: faBacteria,
  119012. faHandLizard: faHandLizard,
  119013. faDisease: faDisease,
  119014. faBriefcaseMedical: faBriefcaseMedical,
  119015. faGenderless: faGenderless,
  119016. faChevronRight: faChevronRight,
  119017. faRetweet: faRetweet,
  119018. faCarRear: faCarRear,
  119019. faCarAlt: faCarAlt,
  119020. faPumpSoap: faPumpSoap,
  119021. faVideoSlash: faVideoSlash,
  119022. faBatteryQuarter: faBatteryQuarter,
  119023. faBattery2: faBattery2,
  119024. faRadio: faRadio,
  119025. faBabyCarriage: faBabyCarriage,
  119026. faCarriageBaby: faCarriageBaby,
  119027. faTrafficLight: faTrafficLight,
  119028. faThermometer: faThermometer,
  119029. faVrCardboard: faVrCardboard,
  119030. faHandMiddleFinger: faHandMiddleFinger,
  119031. faPercent: faPercent,
  119032. faPercentage: faPercentage,
  119033. faTruckMoving: faTruckMoving,
  119034. faGlassWaterDroplet: faGlassWaterDroplet,
  119035. faDisplay: faDisplay,
  119036. faFaceSmile: faFaceSmile,
  119037. faSmile: faSmile,
  119038. faThumbtack: faThumbtack,
  119039. faThumbTack: faThumbTack,
  119040. faTrophy: faTrophy,
  119041. faPersonPraying: faPersonPraying,
  119042. faPray: faPray,
  119043. faHammer: faHammer,
  119044. faHandPeace: faHandPeace,
  119045. faRotate: faRotate,
  119046. faSyncAlt: faSyncAlt,
  119047. faSpinner: faSpinner,
  119048. faRobot: faRobot,
  119049. faPeace: faPeace,
  119050. faGears: faGears,
  119051. faCogs: faCogs,
  119052. faWarehouse: faWarehouse,
  119053. faArrowUpRightDots: faArrowUpRightDots,
  119054. faSplotch: faSplotch,
  119055. faFaceGrinHearts: faFaceGrinHearts,
  119056. faGrinHearts: faGrinHearts,
  119057. faDiceFour: faDiceFour,
  119058. faSimCard: faSimCard,
  119059. faTransgender: faTransgender,
  119060. faTransgenderAlt: faTransgenderAlt,
  119061. faMercury: faMercury,
  119062. faArrowTurnDown: faArrowTurnDown,
  119063. faLevelDown: faLevelDown,
  119064. faPersonFallingBurst: faPersonFallingBurst,
  119065. faAward: faAward,
  119066. faTicketSimple: faTicketSimple,
  119067. faTicketAlt: faTicketAlt,
  119068. faBuilding: faBuilding,
  119069. faAnglesLeft: faAnglesLeft,
  119070. faAngleDoubleLeft: faAngleDoubleLeft,
  119071. faQrcode: faQrcode,
  119072. faClockRotateLeft: faClockRotateLeft,
  119073. faHistory: faHistory,
  119074. faFaceGrinBeamSweat: faFaceGrinBeamSweat,
  119075. faGrinBeamSweat: faGrinBeamSweat,
  119076. faFileExport: faFileExport,
  119077. faArrowRightFromFile: faArrowRightFromFile,
  119078. faShield: faShield,
  119079. faShieldBlank: faShieldBlank,
  119080. faArrowUpShortWide: faArrowUpShortWide,
  119081. faSortAmountUpAlt: faSortAmountUpAlt,
  119082. faHouseMedical: faHouseMedical,
  119083. faGolfBallTee: faGolfBallTee,
  119084. faGolfBall: faGolfBall,
  119085. faCircleChevronLeft: faCircleChevronLeft,
  119086. faChevronCircleLeft: faChevronCircleLeft,
  119087. faHouseChimneyWindow: faHouseChimneyWindow,
  119088. faPenNib: faPenNib,
  119089. faTentArrowTurnLeft: faTentArrowTurnLeft,
  119090. faTents: faTents,
  119091. faWandMagic: faWandMagic,
  119092. faMagic: faMagic,
  119093. faDog: faDog,
  119094. faCarrot: faCarrot,
  119095. faMoon: faMoon,
  119096. faWineGlassEmpty: faWineGlassEmpty,
  119097. faWineGlassAlt: faWineGlassAlt,
  119098. faCheese: faCheese,
  119099. faYinYang: faYinYang,
  119100. faMusic: faMusic,
  119101. faCodeCommit: faCodeCommit,
  119102. faTemperatureLow: faTemperatureLow,
  119103. faPersonBiking: faPersonBiking,
  119104. faBiking: faBiking,
  119105. faBroom: faBroom,
  119106. faShieldHeart: faShieldHeart,
  119107. faGopuram: faGopuram,
  119108. faEarthOceania: faEarthOceania,
  119109. faGlobeOceania: faGlobeOceania,
  119110. faSquareXmark: faSquareXmark,
  119111. faTimesSquare: faTimesSquare,
  119112. faXmarkSquare: faXmarkSquare,
  119113. faHashtag: faHashtag,
  119114. faUpRightAndDownLeftFromCenter: faUpRightAndDownLeftFromCenter,
  119115. faExpandAlt: faExpandAlt,
  119116. faOilCan: faOilCan,
  119117. faT: faT,
  119118. faHippo: faHippo,
  119119. faChartColumn: faChartColumn,
  119120. faInfinity: faInfinity,
  119121. faVialCircleCheck: faVialCircleCheck,
  119122. faPersonArrowDownToLine: faPersonArrowDownToLine,
  119123. faVoicemail: faVoicemail,
  119124. faFan: faFan,
  119125. faPersonWalkingLuggage: faPersonWalkingLuggage,
  119126. faUpDown: faUpDown,
  119127. faArrowsAltV: faArrowsAltV,
  119128. faCloudMoonRain: faCloudMoonRain,
  119129. faCalendar: faCalendar,
  119130. faTrailer: faTrailer,
  119131. faBahai: faBahai,
  119132. faHaykal: faHaykal,
  119133. faSdCard: faSdCard,
  119134. faDragon: faDragon,
  119135. faShoePrints: faShoePrints,
  119136. faCirclePlus: faCirclePlus,
  119137. faPlusCircle: faPlusCircle,
  119138. faFaceGrinTongueWink: faFaceGrinTongueWink,
  119139. faGrinTongueWink: faGrinTongueWink,
  119140. faHandHolding: faHandHolding,
  119141. faPlugCircleExclamation: faPlugCircleExclamation,
  119142. faLinkSlash: faLinkSlash,
  119143. faChainBroken: faChainBroken,
  119144. faChainSlash: faChainSlash,
  119145. faUnlink: faUnlink,
  119146. faClone: faClone,
  119147. faPersonWalkingArrowLoopLeft: faPersonWalkingArrowLoopLeft,
  119148. faArrowUpZA: faArrowUpZA,
  119149. faSortAlphaUpAlt: faSortAlphaUpAlt,
  119150. faFireFlameCurved: faFireFlameCurved,
  119151. faFireAlt: faFireAlt,
  119152. faTornado: faTornado,
  119153. faFileCirclePlus: faFileCirclePlus,
  119154. faBookQuran: faBookQuran,
  119155. faQuran: faQuran,
  119156. faAnchor: faAnchor,
  119157. faBorderAll: faBorderAll,
  119158. faFaceAngry: faFaceAngry,
  119159. faAngry: faAngry,
  119160. faCookieBite: faCookieBite,
  119161. faArrowTrendDown: faArrowTrendDown,
  119162. faRss: faRss,
  119163. faFeed: faFeed,
  119164. faDrawPolygon: faDrawPolygon,
  119165. faScaleBalanced: faScaleBalanced,
  119166. faBalanceScale: faBalanceScale,
  119167. faGaugeSimpleHigh: faGaugeSimpleHigh,
  119168. faTachometer: faTachometer,
  119169. faTachometerFast: faTachometerFast,
  119170. faShower: faShower,
  119171. faDesktop: faDesktop,
  119172. faDesktopAlt: faDesktopAlt,
  119173. faM: faM,
  119174. faTableList: faTableList,
  119175. faThList: faThList,
  119176. faCommentSms: faCommentSms,
  119177. faSms: faSms,
  119178. faBook: faBook,
  119179. faUserPlus: faUserPlus,
  119180. faCheck: faCheck,
  119181. faBatteryThreeQuarters: faBatteryThreeQuarters,
  119182. faBattery4: faBattery4,
  119183. faHouseCircleCheck: faHouseCircleCheck,
  119184. faAngleLeft: faAngleLeft,
  119185. faDiagramSuccessor: faDiagramSuccessor,
  119186. faTruckArrowRight: faTruckArrowRight,
  119187. faArrowsSplitUpAndLeft: faArrowsSplitUpAndLeft,
  119188. faHandFist: faHandFist,
  119189. faFistRaised: faFistRaised,
  119190. faCloudMoon: faCloudMoon,
  119191. faBriefcase: faBriefcase,
  119192. faPersonFalling: faPersonFalling,
  119193. faImagePortrait: faImagePortrait,
  119194. faPortrait: faPortrait,
  119195. faUserTag: faUserTag,
  119196. faRug: faRug,
  119197. faEarthEurope: faEarthEurope,
  119198. faGlobeEurope: faGlobeEurope,
  119199. faCartFlatbedSuitcase: faCartFlatbedSuitcase,
  119200. faLuggageCart: faLuggageCart,
  119201. faRectangleXmark: faRectangleXmark,
  119202. faRectangleTimes: faRectangleTimes,
  119203. faTimesRectangle: faTimesRectangle,
  119204. faWindowClose: faWindowClose,
  119205. faBahtSign: faBahtSign,
  119206. faBookOpen: faBookOpen,
  119207. faBookJournalWhills: faBookJournalWhills,
  119208. faJournalWhills: faJournalWhills,
  119209. faHandcuffs: faHandcuffs,
  119210. faTriangleExclamation: faTriangleExclamation,
  119211. faExclamationTriangle: faExclamationTriangle,
  119212. faWarning: faWarning,
  119213. faDatabase: faDatabase,
  119214. faShare: faShare,
  119215. faArrowTurnRight: faArrowTurnRight,
  119216. faMailForward: faMailForward,
  119217. faBottleDroplet: faBottleDroplet,
  119218. faMaskFace: faMaskFace,
  119219. faHillRockslide: faHillRockslide,
  119220. faRightLeft: faRightLeft,
  119221. faExchangeAlt: faExchangeAlt,
  119222. faPaperPlane: faPaperPlane,
  119223. faRoadCircleExclamation: faRoadCircleExclamation,
  119224. faDungeon: faDungeon,
  119225. faAlignRight: faAlignRight,
  119226. faMoneyBill1Wave: faMoneyBill1Wave,
  119227. faMoneyBillWaveAlt: faMoneyBillWaveAlt,
  119228. faLifeRing: faLifeRing,
  119229. faHands: faHands,
  119230. faSignLanguage: faSignLanguage,
  119231. faSigning: faSigning,
  119232. faCalendarDay: faCalendarDay,
  119233. faWaterLadder: faWaterLadder,
  119234. faLadderWater: faLadderWater,
  119235. faSwimmingPool: faSwimmingPool,
  119236. faArrowsUpDown: faArrowsUpDown,
  119237. faArrowsV: faArrowsV,
  119238. faFaceGrimace: faFaceGrimace,
  119239. faGrimace: faGrimace,
  119240. faWheelchairMove: faWheelchairMove,
  119241. faWheelchairAlt: faWheelchairAlt,
  119242. faTurnDown: faTurnDown,
  119243. faLevelDownAlt: faLevelDownAlt,
  119244. faPersonWalkingArrowRight: faPersonWalkingArrowRight,
  119245. faSquareEnvelope: faSquareEnvelope,
  119246. faEnvelopeSquare: faEnvelopeSquare,
  119247. faDice: faDice,
  119248. faBowlingBall: faBowlingBall,
  119249. faBrain: faBrain,
  119250. faBandage: faBandage,
  119251. faBandAid: faBandAid,
  119252. faCalendarMinus: faCalendarMinus,
  119253. faCircleXmark: faCircleXmark,
  119254. faTimesCircle: faTimesCircle,
  119255. faXmarkCircle: faXmarkCircle,
  119256. faGifts: faGifts,
  119257. faHotel: faHotel,
  119258. faEarthAsia: faEarthAsia,
  119259. faGlobeAsia: faGlobeAsia,
  119260. faIdCardClip: faIdCardClip,
  119261. faIdCardAlt: faIdCardAlt,
  119262. faMagnifyingGlassPlus: faMagnifyingGlassPlus,
  119263. faSearchPlus: faSearchPlus,
  119264. faThumbsUp: faThumbsUp,
  119265. faUserClock: faUserClock,
  119266. faHandDots: faHandDots,
  119267. faAllergies: faAllergies,
  119268. faFileInvoice: faFileInvoice,
  119269. faWindowMinimize: faWindowMinimize,
  119270. faMugSaucer: faMugSaucer,
  119271. faCoffee: faCoffee,
  119272. faBrush: faBrush,
  119273. faMask: faMask,
  119274. faMagnifyingGlassMinus: faMagnifyingGlassMinus,
  119275. faSearchMinus: faSearchMinus,
  119276. faRulerVertical: faRulerVertical,
  119277. faUserLarge: faUserLarge,
  119278. faUserAlt: faUserAlt,
  119279. faTrainTram: faTrainTram,
  119280. faUserNurse: faUserNurse,
  119281. faSyringe: faSyringe,
  119282. faCloudSun: faCloudSun,
  119283. faStopwatch20: faStopwatch20,
  119284. faSquareFull: faSquareFull,
  119285. faMagnet: faMagnet,
  119286. faJar: faJar,
  119287. faNoteSticky: faNoteSticky,
  119288. faStickyNote: faStickyNote,
  119289. faBugSlash: faBugSlash,
  119290. faArrowUpFromWaterPump: faArrowUpFromWaterPump,
  119291. faBone: faBone,
  119292. faUserInjured: faUserInjured,
  119293. faFaceSadTear: faFaceSadTear,
  119294. faSadTear: faSadTear,
  119295. faPlane: faPlane,
  119296. faTentArrowsDown: faTentArrowsDown,
  119297. faExclamation: faExclamation,
  119298. faArrowsSpin: faArrowsSpin,
  119299. faPrint: faPrint,
  119300. faTurkishLiraSign: faTurkishLiraSign,
  119301. faTry: faTry,
  119302. faTurkishLira: faTurkishLira,
  119303. faDollarSign: faDollarSign,
  119304. faDollar: faDollar,
  119305. faUsd: faUsd,
  119306. faX: faX,
  119307. faMagnifyingGlassDollar: faMagnifyingGlassDollar,
  119308. faSearchDollar: faSearchDollar,
  119309. faUsersGear: faUsersGear,
  119310. faUsersCog: faUsersCog,
  119311. faPersonMilitaryPointing: faPersonMilitaryPointing,
  119312. faBuildingColumns: faBuildingColumns,
  119313. faBank: faBank,
  119314. faInstitution: faInstitution,
  119315. faMuseum: faMuseum,
  119316. faUniversity: faUniversity,
  119317. faUmbrella: faUmbrella,
  119318. faTrowel: faTrowel,
  119319. faD: faD,
  119320. faStapler: faStapler,
  119321. faMasksTheater: faMasksTheater,
  119322. faTheaterMasks: faTheaterMasks,
  119323. faKipSign: faKipSign,
  119324. faHandPointLeft: faHandPointLeft,
  119325. faHandshakeSimple: faHandshakeSimple,
  119326. faHandshakeAlt: faHandshakeAlt,
  119327. faJetFighter: faJetFighter,
  119328. faFighterJet: faFighterJet,
  119329. faSquareShareNodes: faSquareShareNodes,
  119330. faShareAltSquare: faShareAltSquare,
  119331. faBarcode: faBarcode,
  119332. faPlusMinus: faPlusMinus,
  119333. faVideo: faVideo,
  119334. faVideoCamera: faVideoCamera,
  119335. faGraduationCap: faGraduationCap,
  119336. faMortarBoard: faMortarBoard,
  119337. faHandHoldingMedical: faHandHoldingMedical,
  119338. faPersonCircleCheck: faPersonCircleCheck,
  119339. faTurnUp: faTurnUp,
  119340. faLevelUpAlt: faLevelUpAlt
  119341. };
  119342. /***/ }),
  119343. /***/ 1670:
  119344. /*!*********************************************************************!*\
  119345. !*** ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js ***!
  119346. \*********************************************************************/
  119347. /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
  119348. __webpack_require__.r(__webpack_exports__);
  119349. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  119350. /* harmony export */ "default": () => (/* binding */ _asyncToGenerator)
  119351. /* harmony export */ });
  119352. function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
  119353. try {
  119354. var info = gen[key](arg);
  119355. var value = info.value;
  119356. } catch (error) {
  119357. reject(error);
  119358. return;
  119359. }
  119360. if (info.done) {
  119361. resolve(value);
  119362. } else {
  119363. Promise.resolve(value).then(_next, _throw);
  119364. }
  119365. }
  119366. function _asyncToGenerator(fn) {
  119367. return function () {
  119368. var self = this,
  119369. args = arguments;
  119370. return new Promise(function (resolve, reject) {
  119371. var gen = fn.apply(self, args);
  119372. function _next(value) {
  119373. asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
  119374. }
  119375. function _throw(err) {
  119376. asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
  119377. }
  119378. _next(undefined);
  119379. });
  119380. };
  119381. }
  119382. /***/ })
  119383. }]);
  119384. //# sourceMappingURL=vendor.js.map
tum/whitesports - Gogs: Simplico Git Service

Няма описание

Tum d01d7cf85d first commit преди 4 години
..
about.php d01d7cf85d first commit преди 4 години
admin.php d01d7cf85d first commit преди 4 години
credits.php d01d7cf85d first commit преди 4 години
edit.php d01d7cf85d first commit преди 4 години
freedoms.php d01d7cf85d first commit преди 4 години
index.php d01d7cf85d first commit преди 4 години
menu.php d01d7cf85d first commit преди 4 години
plugin-editor.php d01d7cf85d first commit преди 4 години
plugin-install.php d01d7cf85d first commit преди 4 години
plugins.php d01d7cf85d first commit преди 4 години
privacy.php d01d7cf85d first commit преди 4 години
profile.php d01d7cf85d first commit преди 4 години
settings.php d01d7cf85d first commit преди 4 години
setup.php d01d7cf85d first commit преди 4 години
site-info.php d01d7cf85d first commit преди 4 години
site-new.php d01d7cf85d first commit преди 4 години
site-settings.php d01d7cf85d first commit преди 4 години
site-themes.php d01d7cf85d first commit преди 4 години
site-users.php d01d7cf85d first commit преди 4 години
sites.php d01d7cf85d first commit преди 4 години
theme-editor.php d01d7cf85d first commit преди 4 години
theme-install.php d01d7cf85d first commit преди 4 години
themes.php d01d7cf85d first commit преди 4 години
update-core.php d01d7cf85d first commit преди 4 години
update.php d01d7cf85d first commit преди 4 години
upgrade.php d01d7cf85d first commit преди 4 години
user-edit.php d01d7cf85d first commit преди 4 години
user-new.php d01d7cf85d first commit преди 4 години
users.php d01d7cf85d first commit преди 4 години